diff --git a/.gitignore b/.gitignore index 15df4dc..d50a622 100644 --- a/.gitignore +++ b/.gitignore @@ -24,3 +24,4 @@ dist-ssr *.sw? .env *storybook.log +.vercel diff --git a/storybook-static/assets/Button-B2efaGtC.css b/storybook-static/assets/Button-B2efaGtC.css new file mode 100644 index 0000000..af901a3 --- /dev/null +++ b/storybook-static/assets/Button-B2efaGtC.css @@ -0,0 +1 @@ +.storybook-button{display:inline-block;cursor:pointer;border:0;border-radius:3em;font-weight:700;line-height:1;font-family:Nunito Sans,Helvetica Neue,Helvetica,Arial,sans-serif}.storybook-button--primary{background-color:#555ab9;color:#fff}.storybook-button--secondary{box-shadow:#00000026 0 0 0 1px inset;background-color:transparent;color:#333}.storybook-button--small{padding:10px 16px;font-size:12px}.storybook-button--medium{padding:11px 20px;font-size:14px}.storybook-button--large{padding:12px 24px;font-size:16px} diff --git a/storybook-static/assets/Button-DOAMjGti.js b/storybook-static/assets/Button-DOAMjGti.js new file mode 100644 index 0000000..5cf17cf --- /dev/null +++ b/storybook-static/assets/Button-DOAMjGti.js @@ -0,0 +1 @@ +import{j as s}from"./jsx-runtime-SKoiH9zj.js";const i=({primary:e=!1,size:t="medium",backgroundColor:o,label:a,...n})=>{const r=e?"storybook-button--primary":"storybook-button--secondary";return s.jsx("button",{type:"button",className:["storybook-button",`storybook-button--${t}`,r].join(" "),style:{backgroundColor:o},...n,children:a})};i.__docgenInfo={description:"Primary UI component for user interaction",methods:[],displayName:"Button",props:{primary:{required:!1,tsType:{name:"boolean"},description:"Is this the principal call to action on the page?",defaultValue:{value:"false",computed:!1}},backgroundColor:{required:!1,tsType:{name:"string"},description:"What background color to use"},size:{required:!1,tsType:{name:"union",raw:"'small' | 'medium' | 'large'",elements:[{name:"literal",value:"'small'"},{name:"literal",value:"'medium'"},{name:"literal",value:"'large'"}]},description:"How large should the button be?",defaultValue:{value:"'medium'",computed:!1}},label:{required:!0,tsType:{name:"string"},description:"Button contents"},onClick:{required:!1,tsType:{name:"signature",type:"function",raw:"() => void",signature:{arguments:[],return:{name:"void"}}},description:"Optional click handler"}}};export{i as B}; diff --git a/storybook-static/assets/Button.stories-CsH6fT5H.js b/storybook-static/assets/Button.stories-CsH6fT5H.js new file mode 100644 index 0000000..630d1e7 --- /dev/null +++ b/storybook-static/assets/Button.stories-CsH6fT5H.js @@ -0,0 +1,20 @@ +import{fn as b}from"./index-D5sgrwUF.js";import{B as y}from"./Button-DOAMjGti.js";import"./jsx-runtime-SKoiH9zj.js";import"./index-DJO9vBfz.js";const k={title:"Example/Button",component:y,parameters:{layout:"centered"},tags:["autodocs"],argTypes:{backgroundColor:{control:"color"}},args:{onClick:b()}},r={args:{primary:!0,label:"Button"}},a={args:{label:"Button"}},e={args:{size:"large",label:"Button"}},o={args:{size:"small",label:"Button"}};var s,t,n;r.parameters={...r.parameters,docs:{...(s=r.parameters)==null?void 0:s.docs,source:{originalSource:`{ + args: { + primary: true, + label: 'Button' + } +}`,...(n=(t=r.parameters)==null?void 0:t.docs)==null?void 0:n.source}}};var c,l,m;a.parameters={...a.parameters,docs:{...(c=a.parameters)==null?void 0:c.docs,source:{originalSource:`{ + args: { + label: 'Button' + } +}`,...(m=(l=a.parameters)==null?void 0:l.docs)==null?void 0:m.source}}};var p,u,i;e.parameters={...e.parameters,docs:{...(p=e.parameters)==null?void 0:p.docs,source:{originalSource:`{ + args: { + size: 'large', + label: 'Button' + } +}`,...(i=(u=e.parameters)==null?void 0:u.docs)==null?void 0:i.source}}};var d,g,B;o.parameters={...o.parameters,docs:{...(d=o.parameters)==null?void 0:d.docs,source:{originalSource:`{ + args: { + size: 'small', + label: 'Button' + } +}`,...(B=(g=o.parameters)==null?void 0:g.docs)==null?void 0:B.source}}};const C=["Primary","Secondary","Large","Small"];export{e as Large,r as Primary,a as Secondary,o as Small,C as __namedExportsOrder,k as default}; diff --git a/storybook-static/assets/Color-YHDXOIA2-De_nbePX.js b/storybook-static/assets/Color-YHDXOIA2-De_nbePX.js new file mode 100644 index 0000000..6a87eb4 --- /dev/null +++ b/storybook-static/assets/Color-YHDXOIA2-De_nbePX.js @@ -0,0 +1 @@ +import{d as ce,v as M,q as J,g as he,n as fe,Y as de,M as ge,_ as be,a as H}from"./index-B6FmI-p2.js";import{r as p,R as m}from"./index-DJO9vBfz.js";import"./iframe-SyD4S7-2.js";import"./jsx-runtime-SKoiH9zj.js";import"./index-CFN9ZEHn.js";import"./index-DSAa9q1k.js";import"./index-DrFu-skq.js";var me=H({"../../node_modules/color-name/index.js"(n,o){o.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]}}}),Q=H({"../../node_modules/color-convert/conversions.js"(n,o){var c=me(),h={};for(let e of Object.keys(c))h[c[e]]=e;var i={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"]}};o.exports=i;for(let e of Object.keys(i)){if(!("channels"in i[e]))throw new Error("missing channels property: "+e);if(!("labels"in i[e]))throw new Error("missing channel labels property: "+e);if(i[e].labels.length!==i[e].channels)throw new Error("channel and label counts mismatch: "+e);let{channels:t,labels:r}=i[e];delete i[e].channels,delete i[e].labels,Object.defineProperty(i[e],"channels",{value:t}),Object.defineProperty(i[e],"labels",{value:r})}i.rgb.hsl=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,l=Math.min(t,r,a),u=Math.max(t,r,a),s=u-l,f,g;u===l?f=0:t===u?f=(r-a)/s:r===u?f=2+(a-t)/s:a===u&&(f=4+(t-r)/s),f=Math.min(f*60,360),f<0&&(f+=360);let b=(l+u)/2;return u===l?g=0:b<=.5?g=s/(u+l):g=s/(2-u-l),[f,g*100,b*100]},i.rgb.hsv=function(e){let t,r,a,l,u,s=e[0]/255,f=e[1]/255,g=e[2]/255,b=Math.max(s,f,g),y=b-Math.min(s,f,g),v=function(w){return(b-w)/6/y+1/2};return y===0?(l=0,u=0):(u=y/b,t=v(s),r=v(f),a=v(g),s===b?l=a-r:f===b?l=1/3+t-a:g===b&&(l=2/3+r-t),l<0?l+=1:l>1&&(l-=1)),[l*360,u*100,b*100]},i.rgb.hwb=function(e){let t=e[0],r=e[1],a=e[2],l=i.rgb.hsl(e)[0],u=1/255*Math.min(t,Math.min(r,a));return a=1-1/255*Math.max(t,Math.max(r,a)),[l,u*100,a*100]},i.rgb.cmyk=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,l=Math.min(1-t,1-r,1-a),u=(1-t-l)/(1-l)||0,s=(1-r-l)/(1-l)||0,f=(1-a-l)/(1-l)||0;return[u*100,s*100,f*100,l*100]};function d(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}i.rgb.keyword=function(e){let t=h[e];if(t)return t;let r=1/0,a;for(let l of Object.keys(c)){let u=c[l],s=d(e,u);s.04045?((t+.055)/1.055)**2.4:t/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,a=a>.04045?((a+.055)/1.055)**2.4:a/12.92;let l=t*.4124+r*.3576+a*.1805,u=t*.2126+r*.7152+a*.0722,s=t*.0193+r*.1192+a*.9505;return[l*100,u*100,s*100]},i.rgb.lab=function(e){let t=i.rgb.xyz(e),r=t[0],a=t[1],l=t[2];r/=95.047,a/=100,l/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,a=a>.008856?a**(1/3):7.787*a+16/116,l=l>.008856?l**(1/3):7.787*l+16/116;let u=116*a-16,s=500*(r-a),f=200*(a-l);return[u,s,f]},i.hsl.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100,l,u,s;if(r===0)return s=a*255,[s,s,s];a<.5?l=a*(1+r):l=a+r-a*r;let f=2*a-l,g=[0,0,0];for(let b=0;b<3;b++)u=t+1/3*-(b-1),u<0&&u++,u>1&&u--,6*u<1?s=f+(l-f)*6*u:2*u<1?s=l:3*u<2?s=f+(l-f)*(2/3-u)*6:s=f,g[b]=s*255;return g},i.hsl.hsv=function(e){let t=e[0],r=e[1]/100,a=e[2]/100,l=r,u=Math.max(a,.01);a*=2,r*=a<=1?a:2-a,l*=u<=1?u:2-u;let s=(a+r)/2,f=a===0?2*l/(u+l):2*r/(a+r);return[t,f*100,s*100]},i.hsv.rgb=function(e){let t=e[0]/60,r=e[1]/100,a=e[2]/100,l=Math.floor(t)%6,u=t-Math.floor(t),s=255*a*(1-r),f=255*a*(1-r*u),g=255*a*(1-r*(1-u));switch(a*=255,l){case 0:return[a,g,s];case 1:return[f,a,s];case 2:return[s,a,g];case 3:return[s,f,a];case 4:return[g,s,a];case 5:return[a,s,f]}},i.hsv.hsl=function(e){let t=e[0],r=e[1]/100,a=e[2]/100,l=Math.max(a,.01),u,s;s=(2-r)*a;let f=(2-r)*l;return u=r*l,u/=f<=1?f:2-f,u=u||0,s/=2,[t,u*100,s*100]},i.hwb.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100,l=r+a,u;l>1&&(r/=l,a/=l);let s=Math.floor(6*t),f=1-a;u=6*t-s,s&1&&(u=1-u);let g=r+u*(f-r),b,y,v;switch(s){default:case 6:case 0:b=f,y=g,v=r;break;case 1:b=g,y=f,v=r;break;case 2:b=r,y=f,v=g;break;case 3:b=r,y=g,v=f;break;case 4:b=g,y=r,v=f;break;case 5:b=f,y=r,v=g;break}return[b*255,y*255,v*255]},i.cmyk.rgb=function(e){let t=e[0]/100,r=e[1]/100,a=e[2]/100,l=e[3]/100,u=1-Math.min(1,t*(1-l)+l),s=1-Math.min(1,r*(1-l)+l),f=1-Math.min(1,a*(1-l)+l);return[u*255,s*255,f*255]},i.xyz.rgb=function(e){let t=e[0]/100,r=e[1]/100,a=e[2]/100,l,u,s;return l=t*3.2406+r*-1.5372+a*-.4986,u=t*-.9689+r*1.8758+a*.0415,s=t*.0557+r*-.204+a*1.057,l=l>.0031308?1.055*l**(1/2.4)-.055:l*12.92,u=u>.0031308?1.055*u**(1/2.4)-.055:u*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,l=Math.min(Math.max(0,l),1),u=Math.min(Math.max(0,u),1),s=Math.min(Math.max(0,s),1),[l*255,u*255,s*255]},i.xyz.lab=function(e){let t=e[0],r=e[1],a=e[2];t/=95.047,r/=100,a/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,a=a>.008856?a**(1/3):7.787*a+16/116;let l=116*r-16,u=500*(t-r),s=200*(r-a);return[l,u,s]},i.lab.xyz=function(e){let t=e[0],r=e[1],a=e[2],l,u,s;u=(t+16)/116,l=r/500+u,s=u-a/200;let f=u**3,g=l**3,b=s**3;return u=f>.008856?f:(u-16/116)/7.787,l=g>.008856?g:(l-16/116)/7.787,s=b>.008856?b:(s-16/116)/7.787,l*=95.047,u*=100,s*=108.883,[l,u,s]},i.lab.lch=function(e){let t=e[0],r=e[1],a=e[2],l;l=Math.atan2(a,r)*360/2/Math.PI,l<0&&(l+=360);let u=Math.sqrt(r*r+a*a);return[t,u,l]},i.lch.lab=function(e){let t=e[0],r=e[1],a=e[2]/360*2*Math.PI,l=r*Math.cos(a),u=r*Math.sin(a);return[t,l,u]},i.rgb.ansi16=function(e,t=null){let[r,a,l]=e,u=t===null?i.rgb.hsv(e)[2]:t;if(u=Math.round(u/50),u===0)return 30;let s=30+(Math.round(l/255)<<2|Math.round(a/255)<<1|Math.round(r/255));return u===2&&(s+=60),s},i.hsv.ansi16=function(e){return i.rgb.ansi16(i.hsv.rgb(e),e[2])},i.rgb.ansi256=function(e){let t=e[0],r=e[1],a=e[2];return t===r&&r===a?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(a/255*5)},i.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,a=(t&1)*r*255,l=(t>>1&1)*r*255,u=(t>>2&1)*r*255;return[a,l,u]},i.ansi256.rgb=function(e){if(e>=232){let u=(e-232)*10+8;return[u,u,u]}e-=16;let t,r=Math.floor(e/36)/5*255,a=Math.floor((t=e%36)/6)/5*255,l=t%6/5*255;return[r,a,l]},i.rgb.hex=function(e){let t=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(t.length)+t},i.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(f=>f+f).join(""));let a=parseInt(r,16),l=a>>16&255,u=a>>8&255,s=a&255;return[l,u,s]},i.rgb.hcg=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,l=Math.max(Math.max(t,r),a),u=Math.min(Math.min(t,r),a),s=l-u,f,g;return s<1?f=u/(1-s):f=0,s<=0?g=0:l===t?g=(r-a)/s%6:l===r?g=2+(a-t)/s:g=4+(t-r)/s,g/=6,g%=1,[g*360,s*100,f*100]},i.hsl.hcg=function(e){let t=e[1]/100,r=e[2]/100,a=r<.5?2*t*r:2*t*(1-r),l=0;return a<1&&(l=(r-.5*a)/(1-a)),[e[0],a*100,l*100]},i.hsv.hcg=function(e){let t=e[1]/100,r=e[2]/100,a=t*r,l=0;return a<1&&(l=(r-a)/(1-a)),[e[0],a*100,l*100]},i.hcg.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100;if(r===0)return[a*255,a*255,a*255];let l=[0,0,0],u=t%1*6,s=u%1,f=1-s,g=0;switch(Math.floor(u)){case 0:l[0]=1,l[1]=s,l[2]=0;break;case 1:l[0]=f,l[1]=1,l[2]=0;break;case 2:l[0]=0,l[1]=1,l[2]=s;break;case 3:l[0]=0,l[1]=f,l[2]=1;break;case 4:l[0]=s,l[1]=0,l[2]=1;break;default:l[0]=1,l[1]=0,l[2]=f}return g=(1-r)*a,[(r*l[0]+g)*255,(r*l[1]+g)*255,(r*l[2]+g)*255]},i.hcg.hsv=function(e){let t=e[1]/100,r=e[2]/100,a=t+r*(1-t),l=0;return a>0&&(l=t/a),[e[0],l*100,a*100]},i.hcg.hsl=function(e){let t=e[1]/100,r=e[2]/100*(1-t)+.5*t,a=0;return r>0&&r<.5?a=t/(2*r):r>=.5&&r<1&&(a=t/(2*(1-r))),[e[0],a*100,r*100]},i.hcg.hwb=function(e){let t=e[1]/100,r=e[2]/100,a=t+r*(1-t);return[e[0],(a-t)*100,(1-a)*100]},i.hwb.hcg=function(e){let t=e[1]/100,r=1-e[2]/100,a=r-t,l=0;return a<1&&(l=(r-a)/(1-a)),[e[0],a*100,l*100]},i.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},i.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},i.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},i.gray.hsl=function(e){return[0,0,e[0]]},i.gray.hsv=i.gray.hsl,i.gray.hwb=function(e){return[0,100,e[0]]},i.gray.cmyk=function(e){return[0,0,0,e[0]]},i.gray.lab=function(e){return[e[0],0,0]},i.gray.hex=function(e){let t=Math.round(e[0]/100*255)&255,r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r},i.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}}),ve=H({"../../node_modules/color-convert/route.js"(n,o){var c=Q();function h(){let t={},r=Object.keys(c);for(let a=r.length,l=0;l1&&(l=u),r(l))};return"conversion"in r&&(a.conversion=r.conversion),a}function t(r){let a=function(...l){let u=l[0];if(u==null)return u;u.length>1&&(l=u);let s=r(l);if(typeof s=="object")for(let f=s.length,g=0;g{i[r]={},Object.defineProperty(i[r],"channels",{value:c[r].channels}),Object.defineProperty(i[r],"labels",{value:c[r].labels});let a=h(r);Object.keys(a).forEach(l=>{let u=a[l];i[r][l]=t(u),i[r][l].raw=e(u)})}),o.exports=i}}),_=be(pe());function C(){return(C=Object.assign||function(n){for(var o=1;o=0||(i[c]=n[c]);return i}function L(n){var o=p.useRef(n),c=p.useRef(function(h){o.current&&o.current(h)});return o.current=n,c.current}var O=function(n,o,c){return o===void 0&&(o=0),c===void 0&&(c=1),n>c?c:n0:y.buttons>0)&&i.current?d(F(i.current,y,t.current)):b(!1)},g=function(){return b(!1)};function b(y){var v=r.current,w=B(i.current),E=y?w.addEventListener:w.removeEventListener;E(v?"touchmove":"mousemove",f),E(v?"touchend":"mouseup",g)}return[function(y){var v=y.nativeEvent,w=i.current;if(w&&(W(v),!function(k,P){return P&&!S(k)}(v,r.current)&&w)){if(S(v)){r.current=!0;var E=v.changedTouches||[];E.length&&(t.current=E[0].identifier)}w.focus(),d(F(w,v,t.current)),b(!0)}},function(y){var v=y.which||y.keyCode;v<37||v>40||(y.preventDefault(),e({left:v===39?.05:v===37?-.05:0,top:v===40?.05:v===38?-.05:0}))},b]},[e,d]),l=a[0],u=a[1],s=a[2];return p.useEffect(function(){return s},[s]),m.createElement("div",C({},h,{onTouchStart:l,onMouseDown:l,className:"react-colorful__interactive",ref:i,onKeyDown:u,tabIndex:0,role:"slider"}))}),N=function(n){return n.filter(Boolean).join(" ")},T=function(n){var o=n.color,c=n.left,h=n.top,i=h===void 0?.5:h,d=N(["react-colorful__pointer",n.className]);return m.createElement("div",{className:d,style:{top:100*i+"%",left:100*c+"%"}},m.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:o}}))},x=function(n,o,c){return o===void 0&&(o=0),c===void 0&&(c=Math.pow(10,o)),Math.round(c*n)/c},ye={grad:.9,turn:360,rad:360/(2*Math.PI)},xe=function(n){return re(X(n))},X=function(n){return n[0]==="#"&&(n=n.substring(1)),n.length<6?{r:parseInt(n[0]+n[0],16),g:parseInt(n[1]+n[1],16),b:parseInt(n[2]+n[2],16),a:n.length===4?x(parseInt(n[3]+n[3],16)/255,2):1}:{r:parseInt(n.substring(0,2),16),g:parseInt(n.substring(2,4),16),b:parseInt(n.substring(4,6),16),a:n.length===8?x(parseInt(n.substring(6,8),16)/255,2):1}},we=function(n,o){return o===void 0&&(o="deg"),Number(n)*(ye[o]||1)},ke=function(n){var o=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(n);return o?_e({h:we(o[1],o[2]),s:Number(o[3]),l:Number(o[4]),a:o[5]===void 0?1:Number(o[5])/(o[6]?100:1)}):{h:0,s:0,v:0,a:1}},_e=function(n){var o=n.s,c=n.l;return{h:n.h,s:(o*=(c<50?c:100-c)/100)>0?2*o/(c+o)*100:0,v:c+o,a:n.a}},Ee=function(n){return Ce(ee(n))},Z=function(n){var o=n.s,c=n.v,h=n.a,i=(200-o)*c/100;return{h:x(n.h),s:x(i>0&&i<200?o*c/100/(i<=100?i:200-i)*100:0),l:x(i/2),a:x(h,2)}},K=function(n){var o=Z(n);return"hsl("+o.h+", "+o.s+"%, "+o.l+"%)"},I=function(n){var o=Z(n);return"hsla("+o.h+", "+o.s+"%, "+o.l+"%, "+o.a+")"},ee=function(n){var o=n.h,c=n.s,h=n.v,i=n.a;o=o/360*6,c/=100,h/=100;var d=Math.floor(o),e=h*(1-c),t=h*(1-(o-d)*c),r=h*(1-(1-o+d)*c),a=d%6;return{r:x(255*[h,t,e,e,r,h][a]),g:x(255*[r,h,h,t,e,e][a]),b:x(255*[e,e,r,h,h,t][a]),a:x(i,2)}},Me=function(n){var o=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(n);return o?re({r:Number(o[1])/(o[2]?100/255:1),g:Number(o[3])/(o[4]?100/255:1),b:Number(o[5])/(o[6]?100/255:1),a:o[7]===void 0?1:Number(o[7])/(o[8]?100:1)}):{h:0,s:0,v:0,a:1}},j=function(n){var o=n.toString(16);return o.length<2?"0"+o:o},Ce=function(n){var o=n.r,c=n.g,h=n.b,i=n.a,d=i<1?j(x(255*i)):"";return"#"+j(o)+j(c)+j(h)+d},re=function(n){var o=n.r,c=n.g,h=n.b,i=n.a,d=Math.max(o,c,h),e=d-Math.min(o,c,h),t=e?d===o?(c-h)/e:d===c?2+(h-o)/e:4+(o-c)/e:0;return{h:x(60*(t<0?t+6:t)),s:x(d?e/d*100:0),v:x(d/255*100),a:i}},te=m.memo(function(n){var o=n.hue,c=n.onChange,h=N(["react-colorful__hue",n.className]);return m.createElement("div",{className:h},m.createElement(G,{onMove:function(i){c({h:360*i.left})},onKey:function(i){c({h:O(o+360*i.left,0,360)})},"aria-label":"Hue","aria-valuenow":x(o),"aria-valuemax":"360","aria-valuemin":"0"},m.createElement(T,{className:"react-colorful__hue-pointer",left:o/360,color:K({h:o,s:100,v:100,a:1})})))}),ne=m.memo(function(n){var o=n.hsva,c=n.onChange,h={backgroundColor:K({h:o.h,s:100,v:100,a:1})};return m.createElement("div",{className:"react-colorful__saturation",style:h},m.createElement(G,{onMove:function(i){c({s:100*i.left,v:100-100*i.top})},onKey:function(i){c({s:O(o.s+100*i.left,0,100),v:O(o.v-100*i.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+x(o.s)+"%, Brightness "+x(o.v)+"%"},m.createElement(T,{className:"react-colorful__saturation-pointer",top:1-o.v/100,left:o.s/100,color:K(o)})))}),ae=function(n,o){if(n===o)return!0;for(var c in n)if(n[c]!==o[c])return!1;return!0},le=function(n,o){return n.replace(/\s/g,"")===o.replace(/\s/g,"")},$e=function(n,o){return n.toLowerCase()===o.toLowerCase()||ae(X(n),X(o))};function oe(n,o,c){var h=L(c),i=p.useState(function(){return n.toHsva(o)}),d=i[0],e=i[1],t=p.useRef({color:o,hsva:d});p.useEffect(function(){if(!n.equal(o,t.current.color)){var a=n.toHsva(o);t.current={hsva:a,color:o},e(a)}},[o,n]),p.useEffect(function(){var a;ae(d,t.current.hsva)||n.equal(a=n.fromHsva(d),t.current.color)||(t.current={hsva:d,color:a},h(a))},[d,n,h]);var r=p.useCallback(function(a){e(function(l){return Object.assign({},l,a)})},[]);return[d,r]}var Oe=typeof window<"u"?p.useLayoutEffect:p.useEffect,Se=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},Y=new Map,ue=function(n){Oe(function(){var o=n.current?n.current.ownerDocument:document;if(o!==void 0&&!Y.has(o)){var c=o.createElement("style");c.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}`,Y.set(o,c);var h=Se();h&&c.setAttribute("nonce",h),o.head.appendChild(c)}},[])},Ne=function(n){var o=n.className,c=n.colorModel,h=n.color,i=h===void 0?c.defaultColor:h,d=n.onChange,e=V(n,["className","colorModel","color","onChange"]),t=p.useRef(null);ue(t);var r=oe(c,i,d),a=r[0],l=r[1],u=N(["react-colorful",o]);return m.createElement("div",C({},e,{ref:t,className:u}),m.createElement(ne,{hsva:a,onChange:l}),m.createElement(te,{hue:a.h,onChange:l,className:"react-colorful__last-control"}))},je={defaultColor:"000",toHsva:xe,fromHsva:function(n){return Ee({h:n.h,s:n.s,v:n.v,a:1})},equal:$e},Re=function(n){return m.createElement(Ne,C({},n,{colorModel:je}))},ze=function(n){var o=n.className,c=n.hsva,h=n.onChange,i={backgroundImage:"linear-gradient(90deg, "+I(Object.assign({},c,{a:0}))+", "+I(Object.assign({},c,{a:1}))+")"},d=N(["react-colorful__alpha",o]),e=x(100*c.a);return m.createElement("div",{className:d},m.createElement("div",{className:"react-colorful__alpha-gradient",style:i}),m.createElement(G,{onMove:function(t){h({a:t.left})},onKey:function(t){h({a:O(c.a+t.left)})},"aria-label":"Alpha","aria-valuetext":e+"%","aria-valuenow":e,"aria-valuemin":"0","aria-valuemax":"100"},m.createElement(T,{className:"react-colorful__alpha-pointer",left:c.a,color:I(c)})))},ie=function(n){var o=n.className,c=n.colorModel,h=n.color,i=h===void 0?c.defaultColor:h,d=n.onChange,e=V(n,["className","colorModel","color","onChange"]),t=p.useRef(null);ue(t);var r=oe(c,i,d),a=r[0],l=r[1],u=N(["react-colorful",o]);return m.createElement("div",C({},e,{ref:t,className:u}),m.createElement(ne,{hsva:a,onChange:l}),m.createElement(te,{hue:a.h,onChange:l}),m.createElement(ze,{hsva:a,onChange:l,className:"react-colorful__last-control"}))},Ie={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:ke,fromHsva:I,equal:le},qe=function(n){return m.createElement(ie,C({},n,{colorModel:Ie}))},He={defaultColor:"rgba(0, 0, 0, 1)",toHsva:Me,fromHsva:function(n){var o=ee(n);return"rgba("+o.r+", "+o.g+", "+o.b+", "+o.a+")"},equal:le},Pe=function(n){return m.createElement(ie,C({},n,{colorModel:He}))},Le=M.div({position:"relative",maxWidth:250,'&[aria-readonly="true"]':{opacity:.5}}),Be=M(J)({position:"absolute",zIndex:1,top:4,left:4,"[aria-readonly=true] &":{cursor:"not-allowed"}}),Xe=M.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"}}),Ke=M(fe)(({theme:n})=>({fontFamily:n.typography.fonts.base})),De=M.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),Ve=M.div(({theme:n,active:o})=>({width:16,height:16,boxShadow:o?`${n.appBorderColor} 0 0 0 1px inset, ${n.textMutedColor}50 0 0 0 4px`:`${n.appBorderColor} 0 0 0 1px inset`,borderRadius:n.appBorderRadius})),Ge=`url('data:image/svg+xml;charset=utf-8,')`,A=({value:n,style:o,...c})=>{let h=`linear-gradient(${n}, ${n}), ${Ge}, linear-gradient(#fff, #fff)`;return m.createElement(Ve,{...c,style:{...o,backgroundImage:h}})},Te=M(de.Input)(({theme:n,readOnly:o})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:n.typography.fonts.base})),Fe=M(ge)(({theme:n})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:n.input.color})),se=(n=>(n.RGB="rgb",n.HSL="hsl",n.HEX="hex",n))(se||{}),R=Object.values(se),We=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,Ye=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,Ae=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,D=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,Ue=/^\s*#?([0-9a-f]{3})\s*$/i,Je={hex:Re,rgb:Pe,hsl:qe},z={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},U=n=>{let o=n==null?void 0:n.match(We);if(!o)return[0,0,0,1];let[,c,h,i,d=1]=o;return[c,h,i,d].map(Number)},$=n=>{if(!n)return;let o=!0;if(Ye.test(n)){let[e,t,r,a]=U(n),[l,u,s]=_.default.rgb.hsl([e,t,r])||[0,0,0];return{valid:o,value:n,keyword:_.default.rgb.keyword([e,t,r]),colorSpace:"rgb",rgb:n,hsl:`hsla(${l}, ${u}%, ${s}%, ${a})`,hex:`#${_.default.rgb.hex([e,t,r]).toLowerCase()}`}}if(Ae.test(n)){let[e,t,r,a]=U(n),[l,u,s]=_.default.hsl.rgb([e,t,r])||[0,0,0];return{valid:o,value:n,keyword:_.default.hsl.keyword([e,t,r]),colorSpace:"hsl",rgb:`rgba(${l}, ${u}, ${s}, ${a})`,hsl:n,hex:`#${_.default.hsl.hex([e,t,r]).toLowerCase()}`}}let c=n.replace("#",""),h=_.default.keyword.rgb(c)||_.default.hex.rgb(c),i=_.default.rgb.hsl(h),d=n;if(/[^#a-f0-9]/i.test(n)?d=c:D.test(n)&&(d=`#${c}`),d.startsWith("#"))o=D.test(d);else try{_.default.keyword.hex(d)}catch{o=!1}return{valid:o,value:d,keyword:_.default.rgb.keyword(h),colorSpace:"hex",rgb:`rgba(${h[0]}, ${h[1]}, ${h[2]}, 1)`,hsl:`hsla(${i[0]}, ${i[1]}%, ${i[2]}%, 1)`,hex:d}},Qe=(n,o,c)=>{if(!n||!(o!=null&&o.valid))return z[c];if(c!=="hex")return(o==null?void 0:o[c])||z[c];if(!o.hex.startsWith("#"))try{return`#${_.default.keyword.hex(o.hex)}`}catch{return z.hex}let h=o.hex.match(Ue);if(!h)return D.test(o.hex)?o.hex:z.hex;let[i,d,e]=h[1].split("");return`#${i}${i}${d}${d}${e}${e}`},Ze=(n,o)=>{let[c,h]=p.useState(n||""),[i,d]=p.useState(()=>$(c)),[e,t]=p.useState((i==null?void 0:i.colorSpace)||"hex");p.useEffect(()=>{let u=n||"",s=$(u);h(u),d(s),t((s==null?void 0:s.colorSpace)||"hex")},[n]);let r=p.useMemo(()=>Qe(c,i,e).toLowerCase(),[c,i,e]),a=p.useCallback(u=>{let s=$(u),f=(s==null?void 0:s.value)||u||"";h(f),f===""&&(d(void 0),o(void 0)),s&&(d(s),t(s.colorSpace),o(s.value))},[o]),l=p.useCallback(()=>{let u=R.indexOf(e)+1;u>=R.length&&(u=0),t(R[u]);let s=(i==null?void 0:i[R[u]])||"";h(s),o(s)},[i,e,o]);return{value:c,realValue:r,updateValue:a,color:i,colorSpace:e,cycleColorSpace:l}},q=n=>n.replace(/\s*/,"").toLowerCase(),er=(n,o,c)=>{let[h,i]=p.useState(o!=null&&o.valid?[o]:[]);p.useEffect(()=>{o===void 0&&i([])},[o]);let d=p.useMemo(()=>(n||[]).map(t=>typeof t=="string"?$(t):t.title?{...$(t.color),keyword:t.title}:$(t.color)).concat(h).filter(Boolean).slice(-27),[n,h]),e=p.useCallback(t=>{t!=null&&t.valid&&(d.some(r=>q(r[c])===q(t[c]))||i(r=>r.concat(t)))},[c,d]);return{presets:d,addPreset:e}},rr=({name:n,value:o,onChange:c,onFocus:h,onBlur:i,presetColors:d,startOpen:e=!1,argType:t})=>{var E;let r=p.useCallback(ce(c,200),[c]),{value:a,realValue:l,updateValue:u,color:s,colorSpace:f,cycleColorSpace:g}=Ze(o,r),{presets:b,addPreset:y}=er(d,s,f),v=Je[f],w=!!((E=t==null?void 0:t.table)!=null&&E.readonly);return m.createElement(Le,{"aria-readonly":w},m.createElement(Be,{startOpen:e,trigger:w?[null]:void 0,closeOnOutsideClick:!0,onVisibleChange:()=>y(s),tooltip:m.createElement(Xe,null,m.createElement(v,{color:l==="transparent"?"#000000":l,onChange:u,onFocus:h,onBlur:i}),b.length>0&&m.createElement(De,null,b.map((k,P)=>m.createElement(J,{key:`${k.value}-${P}`,hasChrome:!1,tooltip:m.createElement(Ke,{note:k.keyword||k.value})},m.createElement(A,{value:k[f],active:s&&q(k[f])===q(s[f]),onClick:()=>u(k.value)})))))},m.createElement(A,{value:l,style:{margin:4}})),m.createElement(Te,{id:he(n),value:a,onChange:k=>u(k.target.value),onFocus:k=>k.target.select(),readOnly:w,placeholder:"Choose color..."}),a?m.createElement(Fe,{onClick:g}):null)},sr=rr;export{rr as ColorControl,sr as default}; diff --git a/storybook-static/assets/Configure-Er8gSaE9.js b/storybook-static/assets/Configure-Er8gSaE9.js new file mode 100644 index 0000000..12d224c --- /dev/null +++ b/storybook-static/assets/Configure-Er8gSaE9.js @@ -0,0 +1,165 @@ +import{j as e}from"./jsx-runtime-SKoiH9zj.js";import{useMDXComponents as o}from"./index-BrnU7xv7.js";import{b as a}from"./index-B6FmI-p2.js";import"./index-DJO9vBfz.js";import"./iframe-SyD4S7-2.js";import"./index-CFN9ZEHn.js";import"./index-DSAa9q1k.js";import"./index-DrFu-skq.js";const n="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20fill='none'%20viewBox='0%200%2032%2032'%3e%3cpath%20fill='%23161614'%20d='M16.0001%200C7.16466%200%200%207.17472%200%2016.0256C0%2023.1061%204.58452%2029.1131%2010.9419%2031.2322C11.7415%2031.3805%2012.0351%2030.8845%2012.0351%2030.4613C12.0351%2030.0791%2012.0202%2028.8167%2012.0133%2027.4776C7.56209%2028.447%206.62283%2025.5868%206.62283%2025.5868C5.89499%2023.7345%204.8463%2023.2419%204.8463%2023.2419C3.39461%2022.2473%204.95573%2022.2678%204.95573%2022.2678C6.56242%2022.3808%207.40842%2023.9192%207.40842%2023.9192C8.83547%2026.3691%2011.1514%2025.6609%2012.0645%2025.2514C12.2081%2024.2156%2012.6227%2023.5087%2013.0803%2023.1085C9.52648%2022.7032%205.7906%2021.3291%205.7906%2015.1886C5.7906%2013.4389%206.41563%2012.0094%207.43916%2010.8871C7.27303%2010.4834%206.72537%208.85349%207.59415%206.64609C7.59415%206.64609%208.93774%206.21539%2011.9953%208.28877C13.2716%207.9337%2014.6404%207.75563%2016.0001%207.74953C17.3599%207.75563%2018.7297%207.9337%2020.0084%208.28877C23.0623%206.21539%2024.404%206.64609%2024.404%206.64609C25.2749%208.85349%2024.727%2010.4834%2024.5608%2010.8871C25.5868%2012.0094%2026.2075%2013.4389%2026.2075%2015.1886C26.2075%2021.3437%2022.4645%2022.699%2018.9017%2023.0957C19.4756%2023.593%2019.9869%2024.5683%2019.9869%2026.0634C19.9869%2028.2077%2019.9684%2029.9334%2019.9684%2030.4613C19.9684%2030.8877%2020.2564%2031.3874%2021.0674%2031.2301C27.4213%2029.1086%2032%2023.1037%2032%2016.0256C32%207.17472%2024.8364%200%2016.0001%200ZM5.99257%2022.8288C5.95733%2022.9084%205.83227%2022.9322%205.71834%2022.8776C5.60229%2022.8253%205.53711%2022.7168%205.57474%2022.6369C5.60918%2022.5549%205.7345%2022.5321%205.85029%2022.587C5.9666%2022.6393%206.03284%2022.7489%205.99257%2022.8288ZM6.7796%2023.5321C6.70329%2023.603%206.55412%2023.5701%206.45291%2023.4581C6.34825%2023.3464%206.32864%2023.197%206.40601%2023.125C6.4847%2023.0542%206.62937%2023.0874%206.73429%2023.1991C6.83895%2023.3121%206.85935%2023.4605%206.7796%2023.5321ZM7.31953%2024.4321C7.2215%2024.5003%207.0612%2024.4363%206.96211%2024.2938C6.86407%2024.1513%206.86407%2023.9804%206.96422%2023.9119C7.06358%2023.8435%207.2215%2023.905%207.32191%2024.0465C7.41968%2024.1914%207.41968%2024.3623%207.31953%2024.4321ZM8.23267%2025.4743C8.14497%2025.5712%207.95818%2025.5452%207.82146%2025.413C7.68156%2025.2838%207.64261%2025.1004%207.73058%2025.0035C7.81934%2024.9064%208.00719%2024.9337%208.14497%2025.0648C8.28381%2025.1938%208.3262%2025.3785%208.23267%2025.4743ZM9.41281%2025.8262C9.37413%2025.9517%209.19423%2026.0088%209.013%2025.9554C8.83203%2025.9005%208.7136%2025.7535%208.75016%2025.6266C8.78778%2025.5003%208.96848%2025.4408%209.15104%2025.4979C9.33174%2025.5526%209.45044%2025.6985%209.41281%2025.8262ZM10.7559%2025.9754C10.7604%2026.1076%2010.6067%2026.2172%2010.4165%2026.2196C10.2252%2026.2238%2010.0704%2026.1169%2010.0683%2025.9868C10.0683%2025.8534%2010.2185%2025.7448%2010.4098%2025.7416C10.6001%2025.7379%2010.7559%2025.8441%2010.7559%2025.9754ZM12.0753%2025.9248C12.0981%2026.0537%2011.9658%2026.1862%2011.7769%2026.2215C11.5912%2026.2554%2011.4192%2026.1758%2011.3957%2026.0479C11.3726%2025.9157%2011.5072%2025.7833%2011.6927%2025.7491C11.8819%2025.7162%2012.0512%2025.7937%2012.0753%2025.9248Z'/%3e%3c/svg%3e",c="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='33'%20height='32'%20fill='none'%20viewBox='0%200%2033%2032'%3e%3cg%20clip-path='url(%23clip0_10031_177575)'%3e%3cmask%20id='mask0_10031_177575'%20style='mask-type:luminance'%20width='33'%20height='25'%20x='0'%20y='4'%20maskUnits='userSpaceOnUse'%3e%3cpath%20fill='%23fff'%20d='M32.5034%204.00195H0.503906V28.7758H32.5034V4.00195Z'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_10031_177575)'%3e%3cpath%20fill='%235865F2'%20d='M27.5928%206.20817C25.5533%205.27289%2023.3662%204.58382%2021.0794%204.18916C21.0378%204.18154%2020.9962%204.20057%2020.9747%204.23864C20.6935%204.73863%2020.3819%205.3909%2020.1637%205.90358C17.7042%205.53558%2015.2573%205.53558%2012.8481%205.90358C12.6299%205.37951%2012.307%204.73863%2012.0245%204.23864C12.003%204.20184%2011.9614%204.18281%2011.9198%204.18916C9.63431%204.58255%207.44721%205.27163%205.40641%206.20817C5.38874%206.21578%205.3736%206.22848%205.36355%206.24497C1.21508%2012.439%200.078646%2018.4809%200.636144%2024.4478C0.638667%2024.477%200.655064%2024.5049%200.677768%2024.5227C3.41481%2026.5315%206.06609%2027.7511%208.66815%2028.5594C8.70979%2028.5721%208.75392%2028.5569%208.78042%2028.5226C9.39594%2027.6826%209.94461%2026.7968%2010.4151%2025.8653C10.4428%2025.8107%2010.4163%2025.746%2010.3596%2025.7244C9.48927%2025.3945%208.66058%2024.9922%207.86343%2024.5354C7.80038%2024.4986%207.79533%2024.4084%207.85333%2024.3653C8.02108%2024.2397%208.18888%2024.109%208.34906%2023.977C8.37804%2023.9529%208.41842%2023.9478%208.45249%2023.963C13.6894%2026.3526%2019.359%2026.3526%2024.5341%2023.963C24.5682%2023.9465%2024.6086%2023.9516%2024.6388%2023.9757C24.799%2024.1077%2024.9668%2024.2397%2025.1358%2024.3653C25.1938%2024.4084%2025.19%2024.4986%2025.127%2024.5354C24.3298%2025.0011%2023.5011%2025.3945%2022.6296%2025.7232C22.5728%2025.7447%2022.5476%2025.8107%2022.5754%2025.8653C23.0559%2026.7955%2023.6046%2027.6812%2024.2087%2028.5213C24.234%2028.5569%2024.2794%2028.5721%2024.321%2028.5594C26.9357%2027.7511%2029.5869%2026.5315%2032.324%2024.5227C32.348%2024.5049%2032.3631%2024.4783%2032.3656%2024.4491C33.0328%2017.5506%2031.2481%2011.5584%2027.6344%206.24623C27.6256%206.22848%2027.6105%206.21578%2027.5928%206.20817ZM11.1971%2020.8146C9.62043%2020.8146%208.32129%2019.3679%208.32129%2017.5913C8.32129%2015.8146%209.59523%2014.368%2011.1971%2014.368C12.8115%2014.368%2014.0981%2015.8273%2014.0729%2017.5913C14.0729%2019.3679%2012.7989%2020.8146%2011.1971%2020.8146ZM21.8299%2020.8146C20.2533%2020.8146%2018.9541%2019.3679%2018.9541%2017.5913C18.9541%2015.8146%2020.228%2014.368%2021.8299%2014.368C23.4444%2014.368%2024.7309%2015.8273%2024.7057%2017.5913C24.7057%2019.3679%2023.4444%2020.8146%2021.8299%2020.8146Z'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_10031_177575'%3e%3crect%20width='32'%20height='32'%20fill='%23fff'%20transform='translate(0.5)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",l="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20fill='none'%20viewBox='0%200%2032%2032'%3e%3cpath%20fill='%23ED1D24'%20d='M31.3313%208.44657C30.9633%207.08998%2029.8791%206.02172%2028.5022%205.65916C26.0067%205.00026%2016%205.00026%2016%205.00026C16%205.00026%205.99333%205.00026%203.4978%205.65916C2.12102%206.02172%201.03665%207.08998%200.668678%208.44657C0%2010.9053%200%2016.0353%200%2016.0353C0%2016.0353%200%2021.1652%200.668678%2023.6242C1.03665%2024.9806%202.12102%2026.0489%203.4978%2026.4116C5.99333%2027.0703%2016%2027.0703%2016%2027.0703C16%2027.0703%2026.0067%2027.0703%2028.5022%2026.4116C29.8791%2026.0489%2030.9633%2024.9806%2031.3313%2023.6242C32%2021.1652%2032%2016.0353%2032%2016.0353C32%2016.0353%2032%2010.9053%2031.3313%208.44657Z'/%3e%3cpath%20fill='%23fff'%20d='M12.7266%2020.6934L21.0902%2016.036L12.7266%2011.3781V20.6934Z'/%3e%3c/svg%3e",d="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='33'%20height='32'%20fill='none'%20viewBox='0%200%2033%2032'%3e%3cg%20clip-path='url(%23clip0_10031_177597)'%3e%3cpath%20fill='%23B7F0EF'%20fill-rule='evenodd'%20d='M17%207.87059C17%206.48214%2017.9812%205.28722%2019.3431%205.01709L29.5249%202.99755C31.3238%202.64076%2033%204.01717%2033%205.85105V22.1344C33%2023.5229%2032.0188%2024.7178%2030.6569%2024.9879L20.4751%2027.0074C18.6762%2027.3642%2017%2025.9878%2017%2024.1539L17%207.87059Z'%20clip-rule='evenodd'%20opacity='.7'/%3e%3cpath%20fill='%2387E6E5'%20fill-rule='evenodd'%20d='M1%205.85245C1%204.01857%202.67623%202.64215%204.47507%202.99895L14.6569%205.01848C16.0188%205.28861%2017%206.48354%2017%207.87198V24.1553C17%2025.9892%2015.3238%2027.3656%2013.5249%2027.0088L3.34311%2024.9893C1.98119%2024.7192%201%2023.5242%201%2022.1358V5.85245Z'%20clip-rule='evenodd'/%3e%3cpath%20fill='%2361C1FD'%20fill-rule='evenodd'%20d='M15.543%205.71289C15.543%205.71289%2016.8157%205.96289%2017.4002%206.57653C17.9847%207.19016%2018.4521%209.03107%2018.4521%209.03107C18.4521%209.03107%2018.4521%2025.1106%2018.4521%2026.9629C18.4521%2028.8152%2019.3775%2031.4174%2019.3775%2031.4174L17.4002%2028.8947L16.2575%2031.4174C16.2575%2031.4174%2015.543%2029.0765%2015.543%2027.122C15.543%2025.1674%2015.543%205.71289%2015.543%205.71289Z'%20clip-rule='evenodd'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_10031_177597'%3e%3crect%20width='32'%20height='32'%20fill='%23fff'%20transform='translate(0.5)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",g=""+new URL("styling-Bk6zjRzU.png",import.meta.url).href,h=""+new URL("context-C0qIqeS4.png",import.meta.url).href,m="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAkQAAAEECAMAAAD+jtuZAAAA1VBMVEUAAAC97a687K687K697K697a687a697K+87K6/76+87K7///831dPd9ddmvzyc24PE7riR1XWH0GdxxUru+utxxEr3/fXl+OHN9fTA7bNQ2tn7/vrm+vri99xE19Z8yllp396n4ZG07++o7ezz/Pz9/v2O6ObN8cKb6umC5eTf9tnZ9NHq+ebV883y/O/s+unJ8L7y/fzR8sex56Da9/dd3dtE2NZ24+GM027B8vFrwkO36qeW2HxrwkSm4ZGBzWB3yFHC7bTe9tas5Jih3orA8vJc3dy6weW4AAAACnRSTlMA3694YO/PkFAQwrWpKAAADgtJREFUeNrs2d1qg0AQQGGTNH+zCF4siixeBqHGIL5B3v+lGrbU3rQ0uhsGt+d7hsMww2TeebfdCDDLYfuWfTvtBVhgM2V0FGChXebtBFjsmD28CRDg9IiIjRpB9mcGEcLXoq0AQbbZQYAgm0yAQEQEIoI+IgIRQR8RgYigj4hARNBHRCAi6CMiEBH0ERGICPqICEQEfUQEIoI+IgIRQR8RgYigj4hARNBHRCCiZ9R9c7XWNmMhiO4fRFSPTWkmFRlFl3pEbW6NR0avk3JERWed+UFJRXGlGlHdV878xg2CiFKMqG6bm5kwi14uuYja3DrzJyuIJ6mIiu7qzHN6QTTJRFT3TWmeVwqiSSIivwTN1ApiWX9ErT/kZ6sEsaw7oqKrnFnGCWJZb0T+mxGAKz+adUZU+29GmE4QiWJE9b1YZPBLUDBbPNxrQTCtiIY+X+L9eruYOC75p34gpEA6EY2LAqqsMxFV+ZeRjIJoRDTk81W2NJHZfNLxkf1g196WEgeCAAzv9XQSTpEECXIMJxFUdEUX3FPVvv8jLUnEzWCsmnHSw7jT35UIxQ1/9TQJSvRHNHEldVbNGMrXdHPo2qMC/RFN5JcgJHOqqBzaI7qWWoKagChw8+hEU6A3otal+BIUAy7fzaPrRgr0RnQrvATha7ucW0Y+RnNELYElyG+DJnOXw8jHaI7oWmIJwrdwXdqtS6A5oiv3XUFyhum1dDn0a8cP0hzRu0vQMgb9Yvd/Wq3Xmwo7Db0RtaTuZuALXM7nvvvR8LxndhJ6I/opdTcD38rl/GSfmed5JxpFeiOqSi1B+Jou53P/Ts26iNK7GacXzymiEuiPKFuCDBFQRCXQHFG6BBnEp4hKoDOi6uXKhDMsr0kRlUBbRJOOUSPoYE4RqdMU0ZWRBe0FFJE6LRFVfTCVTxGp0xHRtaljaK9NEanTEFHV4IYAOhSRMuyITG8IVhSRMvyIAjDakiJShh5RFcwWU0TKkCMyfhABBBSRKuyIWmC6FUWkCjuiWzBdkyJShR1RB0wXzykiRdgRmXut+lVQekQVZM/sLYropPzSI/KQ1dlbFNFJtSkiRdgRLcB8c4pIDS3WAAuEiPoMS9e+iK7AfD5FpIYuNgK0KSJVXxgqs+/hZzoUkRL0iDqgXxRGIGNFESlBj2gCekXDhwvHcc4HIK6JH9Hv7eb72ZmXU2MFat4/T2fd79vj97EzohboMxrMzp2DMQiLkSNab568lFBEvEZ9zXLsjIj5oMUoHN87nCEICxAjysqQi4iXz8jSiH4BvnDYu3By0nn0dQSifMSIvnW9xO5HvbatHOzej+ipclDbdHfZwbZlB5ZGNAFc0XDGBzR+vIEw+dcARDURI/qRDpM+45y9H1GD5fXr/NiyNCLWBjSjx/G5k3MxG0SQmu0fzUDYHC2iTbLX/GYcwYgy67qXy8PWiBaAIF2CelxAveEdvBok5xkIC7AiqiQNrRlPOKLMNjnRXt7D1oguoXx3R0tQbxze8Ik5e3cgyseKqFHUkFxEWYldlrI1oiqUazQ4XoIGN/DGvdT3szZSRJXCT1YyouxMfGYJWyNibcQl6GEY5fOaTh9fHo+T+QTC5jgRNQqjkI7o2+4wiqyNKIByhNPjJSjkAptmA2qavVjuS/4CJaJ+8QcrHRGrHUaRtRFdgbroaAm6P16CYPTn9blR8jB5eQiiligR1YubkI0oG0UbtmdtRK2Sl6CLWdESNHNePcBeLx1KomKUiHbFH7h0ROlW9MT2rI2ILZXvZvBLUJEwy+vBSYQAMJVbijoIEfXTPwrIR/T8cp7ZG1Hn40sQ/0V+GgKPH0TnEUCULN7jQ1UjELVCiKiWjI8i8hGxl/PM3oj+sndHTWkDQQDHed67YAaZACGIxVJAUKlg1aLVtvb7f6UmzUBNe7F3m+PY9Pb30gfGmc70P9ziLc0Ev9KxE+dDUKmb7T3HWTYViVT24/dCV2Q/ouzf+wkUMBHd5a/4G1GvbzoEfYjVQ1C5eDtHd7PiROrWaB9kvIeInktSwUSU/cZpBeBvRGbrIN3S24x/vRNNC78gOstr0tWxHFH+5wsoYCLa5I14HNFc6JsWh6CPBj/2aSTEj91CWiJTidDVthrR83A4fC6bqzERZT9yPEx99jWiidB2Vljp0JfIzMmJ/J1ObHTzEdmMaGcFCqiIWv5+eTFncPMR50PQ9oM8or7dr4c+GK6D7CMiUEFF9OB9RAuh6V6mRgJjumsIuQ5iLaLWb6CCimjV2lG14kFEc5MSbgXO6FSmTruFdZCuwVAUghsaERnzIKLQJKKZwPrYXb+eo07N1kE4IrQGuBAJLcUjCA+1DjLgiHBcRTQQeopHEB5qHYQjwnEV0YXQoDiC8BDrIBwRjquIeogjqLpTs5sPjgirAU608UcQXn4Zq20JbnBESAP8EYS3NlsHmYMbHBHSpPoRtO6+fyO+tao8sy/CtsENjgip1694BHWzC5FpUvZTaS7xVPxpZjQU9XvgBEeE1a52BCXyl3gkVEaKVxHrIBNwgiPCmgsV7SMo3t3ur4Uof/U2EVuIdZABOMERYS2Fmt4RNJK/zf6qYqp8dbcOQm8o4oiQTIaiWBS9j+VrU+VRJxVn2gezC90euMARoXVM1suSsrca1fAz+/PVe7F1b3YXdw0ucERoc6FBfQQl8i83SXEUL5olhbs4ckMRR4QUCg3qI2gmc+pQYqkwTV81/yJsBC5wRHiR0KA6grpSKZ4WZm7FiWf+RdgQHOCI0PDrILGU5aEk5a+ut3dx5G4+OCKsa6FBcQSNZLnb5IPMlZ14ZndxHXCAI8LrCU3FIyiJJd7UcB2kDw5wRGjYdZCZrCLOIrqhdvPBEaF9E1qKR1AiK6K4DsIRISHXQWayKoLrIBwRHmIdZCRtmBFbB+GIsFDrILG04ROxoYgjwsKsg5zJ6giug3BEWIbrILNqH++xz626hL3jiKoIx4ZfhJ1JS05prYNwRHjhpcnNR5J/vHc9FF3AvnFEVYQLs3WQG2kHuZsPjggvPDf6IuxIWkJuHYQjwguDvsnNRyztuSW1DsIR4YVBW3sosuxUULr54IjwwqCjf/Nh10xoW8CecURVhMG5/jqIVSeJoLQOwhHhhUEQaQ9FeOolR0o3HxwRWhZR2+TmA0/xXBl9AewXR1RFGOgPRbcST/1cGULrIBwRWhZRMNZeB8FTP1eG0M0HR4QXBvpDUSKx1M+VITUUcURYeURXexqKNJ4rQ2cdhCPCyiMa6K+DmNB5rgydmw+OCC8MUn3tdRAz6ufK0ByKOCK0PCLtdRDrQxCddRCOCC2PaCE03egPQZof5Mmsg3BEaHlE+usgmkOQ9gd5OjcfZRE9cET/kEdk8eYjf0q+ATL/L/pjyT/4UfYQdBTfItJeBzl5M6DsNsMQmXWQkkcMZxE1AcW3iCysg9wYDkHEbj6+548YVr+wAgzfIjrXvvkwuc2o01D0kv6Db0Bhgy7Bt4gqDEUnp2ZDENGbj1az+Qwq2cTdAgzvIkLefFQcguisg6weS1O5SyfrDSB4F1FHaDozus2ozVD0VD75fElfegIE7yIKxkLTFDME0b75WD0cN0vfiPLAjo9WYMq/iC6FrmQ0WouDuAarvrcyT8+fm5nj0ko2x83M5+GwldHOwr+IrgR9A7DqXfOV5xWUWmUV7bRAk38RDQR9EVhUiGh4BG86GnJE5bKIcn1BXwj25BGlJ9Tdw8sG/mnz7uGu9TR85IgUdhG1BX0XYE8eERgackQKu4gWgr4O2MMR2bOL6FzQtwB7OCJ7wmArEuS1wR6OyJ4wqNFQZDsibfwR/w2vI+oI8jgiXYeK6HwsqBuAPRyRPWFQo6HoGmzaHKF8AU1eRkT/5iOEevEwIvI3Hx2oGQ8jCqgPRXV7I/IyoktBWu3eiLyMiPbNR1S7NyIvIyI9FPXr15CXEVFeB4mWUD9eRkT35qNdw/chTyOiOhRFF1BLXkZEch0kGkygpryMiNzNx/hqXstz7BdfIyI1FEXtTlDnhHyNiMw6SL/dOU//PhwRkvuIiN18jC8XvwLiiPBcR0RqKBpHV4Mg9X9E9NhsvoODcBtRL0gRWQfJhqDU/xPRy/ABDsN9RBRuPvIh6C89YDgNcCg4/FA0vkzPMDVgKI4juggKLgUafggqVdPfVFPgNKJlULAQDkX5GVaujreuRDiNqBcUnAtH+u3FHwHxSGRTA1y6dv4hPz/DNFwDw3EdUS9wevMxzj7I65nzGxFeA5xaIm4+bA1BPBHtSwPcmiCGIuRthonaboCQ0ADHJoihCDMEcUPuNMC15RwxFGFuM/gsc6UBzvWuEUMR8jaDP5e50IAD6C0vgtzY5hCEccEnWXUNOJDe1zB1ZeUdaL4MUb7y53orGnBQc1FR+9uESzisg0f0s317x20YBqIoOvr4N2pUEFIhqE5jp8gSsv9FJQICBDBgwyKLNzTuWcMtnkRyLHub8UVAEZhrTUOeZa76bcZ7Mdda80YQczgSc62PYafPlREUjbnYtGsE3QgoIHlEt+E1y5URFJU8Ik+vjKBvRlBg+ojGiRFUOX1EzypaZkZQBQJE9KCiJTGCKhEhIh/n4Q4jqCYhItoy4jSjXkEi2m4ZrSmlK3+CKhQmItSLiEBE0CMiEBH0iAhEBD0iAhFBj4hARNAjIhAR9IgIRAQ9IgIRQY+IQETQIyIQEfSICEQEPSICEUGPiEBE0CMiFLPGgSJHax0o0lrnQJHeLgcHCjRmdnagQG+/Tg5k62zDLEK+k/3p+c5HlsPZ/vXt0YFdmra72OYHk2xFNYF+8mMAAAAASUVORK5CYII=",p=""+new URL("docs---vsFbMi.png",import.meta.url).href,x=""+new URL("share-DGA-UcQf.png",import.meta.url).href,b=""+new URL("figma-plugin-CH2hELiO.png",import.meta.url).href,C=""+new URL("testing-cbzR9l9r.png",import.meta.url).href,f=""+new URL("accessibility-W_h2acOZ.png",import.meta.url).href,u=""+new URL("theming-D6WJLNoW.png",import.meta.url).href,j=""+new URL("addon-library-BWUCAmyN.png",import.meta.url).href,s=()=>{const t={path:"path",svg:"svg",...o()};return e.jsx(t.svg,{viewBox:"0 0 14 14",width:"8px",height:"14px",style:{marginLeft:"4px",display:"inline-block",shapeRendering:"inherit",verticalAlign:"middle",fill:"currentColor","path fill":"currentColor"},children:e.jsx(t.path,{d:"m11.1 7.35-5.5 5.5a.5.5 0 0 1-.7-.7L10.04 7 4.9 1.85a.5.5 0 1 1 .7-.7l5.5 5.5c.2.2.2.5 0 .7Z"})})};function r(t){const i={code:"code",h1:"h1",p:"p",...o(),...t.components};return e.jsxs(e.Fragment,{children:[e.jsx(a,{title:"Configure your project"}),` +`,e.jsxs("div",{className:"sb-container",children:[e.jsxs("div",{className:"sb-section-title",children:[e.jsx(i.h1,{id:"configure-your-project",children:"Configure your project"}),e.jsx(i.p,{children:"Because Storybook works separately from your app, you'll need to configure it for your specific stack and setup. Below, explore guides for configuring Storybook with popular frameworks and tools. If you get stuck, learn how you can ask for help from our community."})]}),e.jsxs("div",{className:"sb-section",children:[e.jsxs("div",{className:"sb-section-item",children:[e.jsx("img",{src:g,alt:"A wall of logos representing different styling technologies"}),e.jsx("h4",{className:"sb-section-item-heading",children:"Add styling and CSS"}),e.jsx("p",{className:"sb-section-item-paragraph",children:"Like with web applications, there are many ways to include CSS within Storybook. Learn more about setting up styling within Storybook."}),e.jsxs("a",{href:"https://storybook.js.org/docs/configure/styling-and-css/?renderer=react",target:"_blank",children:["Learn more",e.jsx(s,{})]})]}),e.jsxs("div",{className:"sb-section-item",children:[e.jsx("img",{src:h,alt:"An abstraction representing the composition of data for a component"}),e.jsx("h4",{className:"sb-section-item-heading",children:"Provide context and mocking"}),e.jsx("p",{className:"sb-section-item-paragraph",children:"Often when a story doesn't render, it's because your component is expecting a specific environment or context (like a theme provider) to be available."}),e.jsxs("a",{href:"https://storybook.js.org/docs/writing-stories/decorators/?renderer=react#context-for-mocking",target:"_blank",children:["Learn more",e.jsx(s,{})]})]}),e.jsxs("div",{className:"sb-section-item",children:[e.jsx("img",{src:m,alt:"A representation of typography and image assets"}),e.jsxs("div",{children:[e.jsx("h4",{className:"sb-section-item-heading",children:"Load assets and resources"}),e.jsxs("p",{className:"sb-section-item-paragraph",children:[`To link static files (like fonts) to your projects and stories, use the +`,e.jsx(i.code,{children:"staticDirs"}),` configuration option to specify folders to load when +starting Storybook.`]}),e.jsxs("a",{href:"https://storybook.js.org/docs/configure/images-and-assets/?renderer=react",target:"_blank",children:["Learn more",e.jsx(s,{})]})]})]})]})]}),` +`,e.jsxs("div",{className:"sb-container",children:[e.jsxs("div",{className:"sb-section-title",children:[e.jsx(i.h1,{id:"do-more-with-storybook",children:"Do more with Storybook"}),e.jsx(i.p,{children:"Now that you know the basics, let's explore other parts of Storybook that will improve your experience. This list is just to get you started. You can customise Storybook in many ways to fit your needs."})]}),e.jsx("div",{className:"sb-section",children:e.jsxs("div",{className:"sb-features-grid",children:[e.jsxs("div",{className:"sb-grid-item",children:[e.jsx("img",{src:p,alt:"A screenshot showing the autodocs tag being set, pointing a docs page being generated"}),e.jsx("h4",{className:"sb-section-item-heading",children:"Autodocs"}),e.jsx("p",{className:"sb-section-item-paragraph",children:`Auto-generate living, +interactive reference documentation from your components and stories.`}),e.jsxs("a",{href:"https://storybook.js.org/docs/writing-docs/autodocs/?renderer=react",target:"_blank",children:["Learn more",e.jsx(s,{})]})]}),e.jsxs("div",{className:"sb-grid-item",children:[e.jsx("img",{src:x,alt:"A browser window showing a Storybook being published to a chromatic.com URL"}),e.jsx("h4",{className:"sb-section-item-heading",children:"Publish to Chromatic"}),e.jsx("p",{className:"sb-section-item-paragraph",children:"Publish your Storybook to review and collaborate with your entire team."}),e.jsxs("a",{href:"https://storybook.js.org/docs/sharing/publish-storybook/?renderer=react#publish-storybook-with-chromatic",target:"_blank",children:["Learn more",e.jsx(s,{})]})]}),e.jsxs("div",{className:"sb-grid-item",children:[e.jsx("img",{src:b,alt:"Windows showing the Storybook plugin in Figma"}),e.jsx("h4",{className:"sb-section-item-heading",children:"Figma Plugin"}),e.jsx("p",{className:"sb-section-item-paragraph",children:`Embed your stories into Figma to cross-reference the design and live +implementation in one place.`}),e.jsxs("a",{href:"https://storybook.js.org/docs/sharing/design-integrations/?renderer=react#embed-storybook-in-figma-with-the-plugin",target:"_blank",children:["Learn more",e.jsx(s,{})]})]}),e.jsxs("div",{className:"sb-grid-item",children:[e.jsx("img",{src:C,alt:"Screenshot of tests passing and failing"}),e.jsx("h4",{className:"sb-section-item-heading",children:"Testing"}),e.jsx("p",{className:"sb-section-item-paragraph",children:`Use stories to test a component in all its variations, no matter how +complex.`}),e.jsxs("a",{href:"https://storybook.js.org/docs/writing-tests/?renderer=react",target:"_blank",children:["Learn more",e.jsx(s,{})]})]}),e.jsxs("div",{className:"sb-grid-item",children:[e.jsx("img",{src:f,alt:"Screenshot of accessibility tests passing and failing"}),e.jsx("h4",{className:"sb-section-item-heading",children:"Accessibility"}),e.jsx("p",{className:"sb-section-item-paragraph",children:"Automatically test your components for a11y issues as you develop."}),e.jsxs("a",{href:"https://storybook.js.org/docs/writing-tests/accessibility-testing/?renderer=react",target:"_blank",children:["Learn more",e.jsx(s,{})]})]}),e.jsxs("div",{className:"sb-grid-item",children:[e.jsx("img",{src:u,alt:"Screenshot of Storybook in light and dark mode"}),e.jsx("h4",{className:"sb-section-item-heading",children:"Theming"}),e.jsx("p",{className:"sb-section-item-paragraph",children:"Theme Storybook's UI to personalize it to your project."}),e.jsxs("a",{href:"https://storybook.js.org/docs/configure/theming/?renderer=react",target:"_blank",children:["Learn more",e.jsx(s,{})]})]})]})})]}),` +`,e.jsxs("div",{className:"sb-addon",children:[e.jsxs("div",{className:"sb-addon-text",children:[e.jsx("h4",{children:"Addons"}),e.jsx("p",{className:"sb-section-item-paragraph",children:"Integrate your tools with Storybook to connect workflows."}),e.jsxs("a",{href:"https://storybook.js.org/addons/",target:"_blank",children:["Discover all addons",e.jsx(s,{})]})]}),e.jsx("div",{className:"sb-addon-img",children:e.jsx("img",{src:j,alt:"Integrate your tools with Storybook to connect workflows."})})]}),` +`,e.jsxs("div",{className:"sb-section sb-socials",children:[e.jsxs("div",{className:"sb-section-item",children:[e.jsx("img",{src:n,alt:"Github logo",className:"sb-explore-image"}),e.jsx(i.p,{children:"Join our contributors building the future of UI development."}),e.jsxs("a",{href:"https://github.com/storybookjs/storybook",target:"_blank",children:["Star on GitHub",e.jsx(s,{})]})]}),e.jsxs("div",{className:"sb-section-item",children:[e.jsx("img",{src:c,alt:"Discord logo",className:"sb-explore-image"}),e.jsxs("div",{children:[e.jsx(i.p,{children:"Get support and chat with frontend developers."}),e.jsxs("a",{href:"https://discord.gg/storybook",target:"_blank",children:["Join Discord server",e.jsx(s,{})]})]})]}),e.jsxs("div",{className:"sb-section-item",children:[e.jsx("img",{src:l,alt:"Youtube logo",className:"sb-explore-image"}),e.jsxs("div",{children:[e.jsx(i.p,{children:"Watch tutorials, feature previews and interviews."}),e.jsxs("a",{href:"https://www.youtube.com/@chromaticui",target:"_blank",children:["Watch on YouTube",e.jsx(s,{})]})]})]}),e.jsxs("div",{className:"sb-section-item",children:[e.jsx("img",{src:d,alt:"A book",className:"sb-explore-image"}),e.jsx("p",{children:"Follow guided walkthroughs on for key workflows."}),e.jsxs("a",{href:"https://storybook.js.org/tutorials/",target:"_blank",children:["Discover tutorials",e.jsx(s,{})]})]})]}),` +`,e.jsx("style",{children:` + .sb-container { + margin-bottom: 48px; + } + + .sb-section { + width: 100%; + display: flex; + flex-direction: row; + gap: 20px; + } + + img { + object-fit: cover; + } + + .sb-section-title { + margin-bottom: 32px; + } + + .sb-section a:not(h1 a, h2 a, h3 a) { + font-size: 14px; + } + + .sb-section-item, .sb-grid-item { + flex: 1; + display: flex; + flex-direction: column; + } + + .sb-section-item-heading { + padding-top: 20px !important; + padding-bottom: 5px !important; + margin: 0 !important; + } + .sb-section-item-paragraph { + margin: 0; + padding-bottom: 10px; + } + + .sb-chevron { + margin-left: 5px; + } + + .sb-features-grid { + display: grid; + grid-template-columns: repeat(2, 1fr); + grid-gap: 32px 20px; + } + + .sb-socials { + display: grid; + grid-template-columns: repeat(4, 1fr); + } + + .sb-socials p { + margin-bottom: 10px; + } + + .sb-explore-image { + max-height: 32px; + align-self: flex-start; + } + + .sb-addon { + width: 100%; + display: flex; + align-items: center; + position: relative; + background-color: #EEF3F8; + border-radius: 5px; + border: 1px solid rgba(0, 0, 0, 0.05); + background: #EEF3F8; + height: 180px; + margin-bottom: 48px; + overflow: hidden; + } + + .sb-addon-text { + padding-left: 48px; + max-width: 240px; + } + + .sb-addon-text h4 { + padding-top: 0px; + } + + .sb-addon-img { + position: absolute; + left: 345px; + top: 0; + height: 100%; + width: 200%; + overflow: hidden; + } + + .sb-addon-img img { + width: 650px; + transform: rotate(-15deg); + margin-left: 40px; + margin-top: -72px; + box-shadow: 0 0 1px rgba(255, 255, 255, 0); + backface-visibility: hidden; + } + + @media screen and (max-width: 800px) { + .sb-addon-img { + left: 300px; + } + } + + @media screen and (max-width: 600px) { + .sb-section { + flex-direction: column; + } + + .sb-features-grid { + grid-template-columns: repeat(1, 1fr); + } + + .sb-socials { + grid-template-columns: repeat(2, 1fr); + } + + .sb-addon { + height: 280px; + align-items: flex-start; + padding-top: 32px; + overflow: hidden; + } + + .sb-addon-text { + padding-left: 24px; + } + + .sb-addon-img { + right: 0; + left: 0; + top: 130px; + bottom: 0; + overflow: hidden; + height: auto; + width: 124%; + } + + .sb-addon-img img { + width: 1200px; + transform: rotate(-12deg); + margin-left: 0; + margin-top: 48px; + margin-bottom: -40px; + margin-left: -24px; + } + } + `})]})}function N(t={}){const{wrapper:i}={...o(),...t.components};return i?e.jsx(i,{...t,children:e.jsx(r,{...t})}):r(t)}export{s as RightArrow,N as default}; diff --git a/storybook-static/assets/ConfirmButton.stories-DyrtO96u.js b/storybook-static/assets/ConfirmButton.stories-DyrtO96u.js new file mode 100644 index 0000000..5881da8 --- /dev/null +++ b/storybook-static/assets/ConfirmButton.stories-DyrtO96u.js @@ -0,0 +1,35 @@ +import{j as Xe}from"./jsx-runtime-SKoiH9zj.js";import{R as nt,r as ve}from"./index-DJO9vBfz.js";var _=function(){return _=Object.assign||function(e){for(var r,n=1,o=arguments.length;n0?E(J,--P):0,V--,A===10&&(V=1,At--),A}function D(){return A=P2||Bt(A)>3?"":" "}function ur(t,e){for(;--e&&D()&&!(A<48||A>102||A>57&&A<65||A>70&&A<97););return Et(t,mt()+(e<6&&L()==32&&D()==32))}function zt(t){for(;D();)switch(A){case t:return P;case 34:case 39:t!==34&&t!==39&&zt(A);break;case 40:t===41&&zt(t);break;case 92:D();break}return P}function fr(t,e){for(;D()&&t+A!==57;)if(t+A===84&&L()===47)break;return"/*"+Et(e,P-1)+"*"+Yt(t===47?t:D())}function pr(t){for(;!Bt(L());)D();return Et(t,P)}function dr(t){return ir(yt("",null,null,null,[""],t=ar(t),0,[0],t))}function yt(t,e,r,n,o,s,a,i,c){for(var h=0,l=0,g=a,m=0,p=0,w=0,C=1,$=1,k=1,S=0,v="",x=o,I=s,y=n,f=v;$;)switch(w=S,S=D()){case 40:if(w!=108&&E(f,g-1)==58){gt(f+=u(Ot(S),"&","&\f"),"&\f",xe(h?i[h-1]:0))!=-1&&(k=-1);break}case 34:case 39:case 91:f+=Ot(S);break;case 9:case 10:case 13:case 32:f+=cr(w);break;case 92:f+=ur(mt()-1,7);continue;case 47:switch(L()){case 42:case 47:et(lr(fr(D(),mt()),e,r,c),c);break;default:f+="/"}break;case 123*C:i[h++]=O(f)*k;case 125*C:case 59:case 0:switch(S){case 0:case 125:$=0;case 59+l:k==-1&&(f=u(f,/\f/g,"")),p>0&&O(f)-g&&et(p>32?Xt(f+";",n,r,g-1,c):Xt(u(f," ","")+";",n,r,g-2,c),c);break;case 59:f+=";";default:if(et(y=Qt(f,e,r,h,l,o,i,v,x=[],I=[],g,s),s),S===123)if(l===0)yt(f,e,y,y,x,s,g,i,I);else switch(m===99&&E(f,3)===110?100:m){case 100:case 108:case 109:case 115:yt(t,y,y,n&&et(Qt(t,y,y,0,0,o,i,v,o,x=[],g,I),I),o,I,g,i,n?x:I);break;default:yt(f,y,y,y,[""],I,0,i,I)}}h=l=p=0,C=k=1,v=f="",g=a;break;case 58:g=1+O(f),p=w;default:if(C<1){if(S==123)--C;else if(S==125&&C++==0&&sr()==125)continue}switch(f+=Yt(S),S*C){case 38:k=l>0?1:(f+="\f",-1);break;case 44:i[h++]=(O(f)-1)*k,k=1;break;case 64:L()===45&&(f+=Ot(D())),m=L(),l=g=O(v=f+=pr(mt())),S++;break;case 45:w===45&&O(f)==2&&(C=0)}}return s}function Qt(t,e,r,n,o,s,a,i,c,h,l,g){for(var m=o-1,p=o===0?s:[""],w=ke(p),C=0,$=0,k=0;C0?p[S]+" "+v:u(v,/&\f/g,p[S])))&&(c[k++]=x);return It(t,e,r,o===0?kt:i,c,h,l,g)}function lr(t,e,r,n){return It(t,e,r,we,Yt(or()),H(t,2,-2),0,n)}function Xt(t,e,r,n,o){return It(t,e,r,Wt,H(t,0,n),H(t,n+1,-1),n,o)}function Ie(t,e,r){switch(rr(t,e)){case 5103:return d+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return d+t+t;case 4789:return rt+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return d+t+rt+t+b+t+t;case 5936:switch(E(t,e+11)){case 114:return d+t+b+u(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return d+t+b+u(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return d+t+b+u(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return d+t+b+t+t;case 6165:return d+t+b+"flex-"+t+t;case 5187:return d+t+u(t,/(\w+).+(:[^]+)/,d+"box-$1$2"+b+"flex-$1$2")+t;case 5443:return d+t+b+"flex-item-"+u(t,/flex-|-self/g,"")+(T(t,/flex-|baseline/)?"":b+"grid-row-"+u(t,/flex-|-self/g,""))+t;case 4675:return d+t+b+"flex-line-pack"+u(t,/align-content|flex-|-self/g,"")+t;case 5548:return d+t+b+u(t,"shrink","negative")+t;case 5292:return d+t+b+u(t,"basis","preferred-size")+t;case 6060:return d+"box-"+u(t,"-grow","")+d+t+b+u(t,"grow","positive")+t;case 4554:return d+u(t,/([^-])(transform)/g,"$1"+d+"$2")+t;case 6187:return u(u(u(t,/(zoom-|grab)/,d+"$1"),/(image-set)/,d+"$1"),t,"")+t;case 5495:case 3959:return u(t,/(image-set\([^]*)/,d+"$1$`$1");case 4968:return u(u(t,/(.+:)(flex-)?(.*)/,d+"box-pack:$3"+b+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+d+t+t;case 4200:if(!T(t,/flex-|baseline/))return b+"grid-column-align"+H(t,e)+t;break;case 2592:case 3360:return b+u(t,"template-","")+t;case 4384:case 3616:return r&&r.some(function(n,o){return e=o,T(n.props,/grid-\w+-end/)})?~gt(t+(r=r[e].value),"span",0)?t:b+u(t,"-start","")+t+b+"grid-row-span:"+(~gt(r,"span",0)?T(r,/\d+/):+T(r,/\d+/)-+T(t,/\d+/))+";":b+u(t,"-start","")+t;case 4896:case 4128:return r&&r.some(function(n){return T(n.props,/grid-\w+-start/)})?t:b+u(u(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return u(t,/(.+)-inline(.+)/,d+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(O(t)-1-e>6)switch(E(t,e+1)){case 109:if(E(t,e+4)!==45)break;case 102:return u(t,/(.+:)(.+)-([^]+)/,"$1"+d+"$2-$3$1"+rt+(E(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~gt(t,"stretch",0)?Ie(u(t,"stretch","fill-available"),e,r)+t:t}break;case 5152:case 5920:return u(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(n,o,s,a,i,c,h){return b+o+":"+s+h+(a?b+o+"-span:"+(i?c:+c-+s)+h:"")+t});case 4949:if(E(t,e+6)===121)return u(t,":",":"+d)+t;break;case 6444:switch(E(t,E(t,14)===45?18:11)){case 120:return u(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+d+(E(t,14)===45?"inline-":"")+"box$3$1"+d+"$2$3$1"+b+"$2box$3")+t;case 100:return u(t,":",":"+b)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return u(t,"scroll-","scroll-snap-")+t}return t}function St(t,e){for(var r="",n=0;n-1&&!t.return)switch(t.type){case Wt:t.return=Ie(t.value,t.length,r);return;case Se:return St([B(t,{value:u(t.value,"@","@"+d)})],n);case kt:if(t.length)return nr(r=t.props,function(o){switch(T(o,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":W(B(t,{props:[u(o,/:(read-\w+)/,":"+rt+"$1")]})),W(B(t,{props:[o]})),Ft(t,{props:Jt(r,n)});break;case"::placeholder":W(B(t,{props:[u(o,/:(plac\w+)/,":"+d+"input-$1")]})),W(B(t,{props:[u(o,/:(plac\w+)/,":"+rt+"$1")]})),W(B(t,{props:[u(o,/:(plac\w+)/,b+"input-$1")]})),W(B(t,{props:[o]})),Ft(t,{props:Jt(r,n)});break}return""})}}var br={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},R={},K=typeof process<"u"&&R!==void 0&&(R.REACT_APP_SC_ATTR||R.SC_ATTR)||"data-styled",Ee="active",_e="data-styled-version",_t="6.1.15",Ht=`/*!sc*/ +`,xt=typeof window<"u"&&"HTMLElement"in window,vr=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&R!==void 0&&R.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&R.REACT_APP_SC_DISABLE_SPEEDY!==""?R.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&R.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&R!==void 0&&R.SC_DISABLE_SPEEDY!==void 0&&R.SC_DISABLE_SPEEDY!==""&&R.SC_DISABLE_SPEEDY!=="false"&&R.SC_DISABLE_SPEEDY),$t=Object.freeze([]),U=Object.freeze({});function wr(t,e,r){return r===void 0&&(r=U),t.theme!==r.theme&&t.theme||e||r.theme}var $e=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),Sr=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,xr=/(^-|-$)/g;function te(t){return t.replace(Sr,"-").replace(xr,"")}var Cr=/(a)(d)/gi,pt=52,ee=function(t){return String.fromCharCode(t+(t>25?39:97))};function Gt(t){var e,r="";for(e=Math.abs(t);e>pt;e=e/pt|0)r=ee(e%pt)+r;return(ee(e%pt)+r).replace(Cr,"$1-$2")}var Nt,Re=5381,Y=function(t,e){for(var r=e.length;r;)t=33*t^e.charCodeAt(--r);return t},Pe=function(t){return Y(Re,t)};function kr(t){return Gt(Pe(t)>>>0)}function Ar(t){return t.displayName||t.name||"Component"}function Tt(t){return typeof t=="string"&&!0}var De=typeof Symbol=="function"&&Symbol.for,Oe=De?Symbol.for("react.memo"):60115,Ir=De?Symbol.for("react.forward_ref"):60112,Er={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},_r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Ne={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},$r=((Nt={})[Ir]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Nt[Oe]=Ne,Nt);function re(t){return("type"in(e=t)&&e.type.$$typeof)===Oe?Ne:"$$typeof"in t?$r[t.$$typeof]:Er;var e}var Rr=Object.defineProperty,Pr=Object.getOwnPropertyNames,ne=Object.getOwnPropertySymbols,Dr=Object.getOwnPropertyDescriptor,Or=Object.getPrototypeOf,oe=Object.prototype;function Te(t,e,r){if(typeof e!="string"){if(oe){var n=Or(e);n&&n!==oe&&Te(t,n,r)}var o=Pr(e);ne&&(o=o.concat(ne(e)));for(var s=re(t),a=re(e),i=0;i0?" Args: ".concat(e.join(", ")):""))}var Nr=function(){function t(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return t.prototype.indexOfGroup=function(e){for(var r=0,n=0;n=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,s=o;e>=s;)if((s<<=1)<0)throw st(16,"".concat(e));this.groupSizes=new Uint32Array(s),this.groupSizes.set(n),this.length=s;for(var a=o;a=this.length||this.groupSizes[e]===0)return r;for(var n=this.groupSizes[e],o=this.indexOfGroup(e),s=o+n,a=o;a=0){var n=document.createTextNode(r);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},t.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.prototype.getRule=function(e){return e0&&($+="".concat(k,","))}),c+="".concat(w).concat(C,'{content:"').concat($,'"}').concat(Ht)},l=0;l0?".".concat(e):m},l=c.slice();l.push(function(m){m.type===kt&&m.value.includes("&")&&(m.props[0]=m.props[0].replace(Yr,r).replace(n,h))}),a.prefix&&l.push(yr),l.push(hr);var g=function(m,p,w,C){p===void 0&&(p=""),w===void 0&&(w=""),C===void 0&&(C="&"),e=C,r=p,n=new RegExp("\\".concat(r,"\\b"),"g");var $=m.replace(Hr,""),k=dr(w||p?"".concat(w," ").concat(p," { ").concat($," }"):$);a.namespace&&(k=Be(k,a.namespace));var S=[];return St(k,gr(l.concat(mr(function(v){return S.push(v)})))),S};return g.hash=c.length?c.reduce(function(m,p){return p.name||st(15),Y(m,p.name)},Re).toString():"",g}var Kr=new Fe,Mt=Vr(),ze=nt.createContext({shouldForwardProp:void 0,styleSheet:Kr,stylis:Mt});ze.Consumer;nt.createContext(void 0);function ce(){return ve.useContext(ze)}var Ur=function(){function t(e,r){var n=this;this.inject=function(o,s){s===void 0&&(s=Mt);var a=n.name+s.hash;o.hasNameForId(n.id,a)||o.insertRules(n.id,a,s(n.rules,a,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=r,Kt(this,function(){throw st(12,String(n.name))})}return t.prototype.getName=function(e){return e===void 0&&(e=Mt),this.name+e.hash},t}(),Zr=function(t){return t>="A"&&t<="Z"};function ue(t){for(var e="",r=0;r>>0);if(!r.hasNameForId(this.componentId,a)){var i=n(s,".".concat(a),void 0,this.componentId);r.insertRules(this.componentId,a,i)}o=G(o,a),this.staticRulesId=a}else{for(var c=Y(this.baseHash,n.hash),h="",l=0;l>>0);r.hasNameForId(this.componentId,p)||r.insertRules(this.componentId,p,n(h,".".concat(p),void 0,this.componentId)),o=G(o,p)}}return o},t}(),Me=nt.createContext(void 0);Me.Consumer;var jt={};function tn(t,e,r){var n=Vt(t),o=t,s=!Tt(t),a=e.attrs,i=a===void 0?$t:a,c=e.componentId,h=c===void 0?function(x,I){var y=typeof x!="string"?"sc":te(x);jt[y]=(jt[y]||0)+1;var f="".concat(y,"-").concat(kr(_t+y+jt[y]));return I?"".concat(I,"-").concat(f):f}(e.displayName,e.parentComponentId):c,l=e.displayName,g=l===void 0?function(x){return Tt(x)?"styled.".concat(x):"Styled(".concat(Ar(x),")")}(t):l,m=e.displayName&&e.componentId?"".concat(te(e.displayName),"-").concat(e.componentId):e.componentId||h,p=n&&o.attrs?o.attrs.concat(i).filter(Boolean):i,w=e.shouldForwardProp;if(n&&o.shouldForwardProp){var C=o.shouldForwardProp;if(e.shouldForwardProp){var $=e.shouldForwardProp;w=function(x,I){return C(x,I)&&$(x,I)}}else w=C}var k=new Xr(r,m,n?o.componentStyle:void 0);function S(x,I){return function(y,f,q){var at=y.attrs,He=y.componentStyle,Ve=y.defaultProps,Ke=y.foldedComponentIds,Ue=y.styledComponentId,Ze=y.target,Je=nt.useContext(Me),Qe=ce(),Rt=y.shouldForwardProp||Qe.shouldForwardProp,Ut=wr(f,Je,Ve)||U,N=function(ct,X,ut){for(var tt,z=_(_({},X),{className:void 0,theme:ut}),Dt=0;DtXe.jsx(rn,{width:t,height:e,textcolor:n,backgroundcolor:o,borderradius:s,border:a,onClick:i,children:r}),rn=We.button` + width: ${t=>t.width}; + max-width: 398px; + height: ${t=>t.height}; + color: ${t=>t.textcolor}; + background-color: ${t=>t.backgroundcolor}; + border-radius: ${t=>t.borderradius}; + border: ${t=>t.border}; + cursor: pointer; + display: block; + text-align: center; + padding: 14px 0; + margin-top: auto; +`;Ye.__docgenInfo={description:"",methods:[],displayName:"ConfirmButton",props:{width:{required:!1,tsType:{name:"string"},description:"",defaultValue:{value:"'100%'",computed:!1}},height:{required:!1,tsType:{name:"string"},description:"",defaultValue:{value:"'52px'",computed:!1}},text:{required:!1,tsType:{name:"string"},description:"",defaultValue:{value:"'확인'",computed:!1}},textcolor:{required:!1,tsType:{name:"string"},description:""},backgroundcolor:{required:!1,tsType:{name:"string"},description:""},borderradius:{required:!1,tsType:{name:"string"},description:"",defaultValue:{value:"'50px'",computed:!1}},border:{required:!1,tsType:{name:"string"},description:"",defaultValue:{value:"'none'",computed:!1}},onClick:{required:!1,tsType:{name:"signature",type:"function",raw:"() => void",signature:{arguments:[],return:{name:"void"}}},description:""}}};const sn={title:"Components/ConfirmButton",component:Ye,argTypes:{text:{control:"text"},textcolor:{control:"color"},backgroundcolor:{control:"color"},width:{control:"text"},height:{control:"text"},borderradius:{control:"text"},border:{control:"text"},onClick:{action:"clicked"}}},lt={args:{text:"확인",textcolor:"#ffffff",backgroundcolor:"#FF4B4B",width:"327px",height:"52px",borderradius:"50px",border:"none"}},ht={args:{text:"취소",textcolor:"#000000",backgroundcolor:"#DDDDDD",width:"100%",height:"42px",borderradius:"50px",border:"1px solid #000"}};var le,he,ge;lt.parameters={...lt.parameters,docs:{...(le=lt.parameters)==null?void 0:le.docs,source:{originalSource:`{ + args: { + text: "확인", + textcolor: "#ffffff", + backgroundcolor: "#FF4B4B", + width: "327px", + height: "52px", + borderradius: "50px", + border: "none" + } +}`,...(ge=(he=lt.parameters)==null?void 0:he.docs)==null?void 0:ge.source}}};var me,ye,be;ht.parameters={...ht.parameters,docs:{...(me=ht.parameters)==null?void 0:me.docs,source:{originalSource:`{ + args: { + text: "취소", + textcolor: "#000000", + backgroundcolor: "#DDDDDD", + width: "100%", + height: "42px", + borderradius: "50px", + border: "1px solid #000" + } +}`,...(be=(ye=ht.parameters)==null?void 0:ye.docs)==null?void 0:be.source}}};const an=["Default","Secondary"];export{lt as Default,ht as Secondary,an as __namedExportsOrder,sn as default}; diff --git a/storybook-static/assets/DocsRenderer-CFRXHY34-Cihn6GWF.js b/storybook-static/assets/DocsRenderer-CFRXHY34-Cihn6GWF.js new file mode 100644 index 0000000..cb6336f --- /dev/null +++ b/storybook-static/assets/DocsRenderer-CFRXHY34-Cihn6GWF.js @@ -0,0 +1,2 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-BrnU7xv7.js","./index-DJO9vBfz.js"])))=>i.map(i=>d[i]); +import{_ as c}from"./iframe-SyD4S7-2.js";import{R as e,r as p}from"./index-DJO9vBfz.js";import{H as l,A as u,C as h,D as E}from"./index-B6FmI-p2.js";import{renderElement as d,unmountElement as x}from"./react-18-DHyDu7pi.js";import"./jsx-runtime-SKoiH9zj.js";import"./index-CFN9ZEHn.js";import"./index-DSAa9q1k.js";import"./index-DrFu-skq.js";var D={code:h,a:u,...l},_=class extends p.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(t){let{showException:r}=this.props;r(t)}render(){let{hasError:t}=this.state,{children:r}=this.props;return t?null:e.createElement(e.Fragment,null,r)}},A=class{constructor(){this.render=async(t,r,n)=>{let s={...D,...r==null?void 0:r.components},a=E;return new Promise((m,i)=>{c(async()=>{const{MDXProvider:o}=await import("./index-BrnU7xv7.js");return{MDXProvider:o}},__vite__mapDeps([0,1]),import.meta.url).then(({MDXProvider:o})=>d(e.createElement(_,{showException:i,key:Math.random()},e.createElement(o,{components:s},e.createElement(a,{context:t,docsParameter:r}))),n)).then(()=>m())})},this.unmount=t=>{x(t)}}};export{A as DocsRenderer,D as defaultComponents}; diff --git a/storybook-static/assets/Header-Ck-SSN7O.css b/storybook-static/assets/Header-Ck-SSN7O.css new file mode 100644 index 0000000..f7dc3bb --- /dev/null +++ b/storybook-static/assets/Header-Ck-SSN7O.css @@ -0,0 +1 @@ +.storybook-header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid rgba(0,0,0,.1);padding:15px 20px;font-family:Nunito Sans,Helvetica Neue,Helvetica,Arial,sans-serif}.storybook-header svg{display:inline-block;vertical-align:top}.storybook-header h1{display:inline-block;vertical-align:top;margin:6px 0 6px 10px;font-weight:700;font-size:20px;line-height:1}.storybook-header button+button{margin-left:10px}.storybook-header .welcome{margin-right:10px;color:#333;font-size:14px} diff --git a/storybook-static/assets/Header-DY8Qp02P.js b/storybook-static/assets/Header-DY8Qp02P.js new file mode 100644 index 0000000..1eea8e5 --- /dev/null +++ b/storybook-static/assets/Header-DY8Qp02P.js @@ -0,0 +1,3 @@ +import{j as e}from"./jsx-runtime-SKoiH9zj.js";import{B as s}from"./Button-DOAMjGti.js";const t=({user:n,onLogin:i,onLogout:r,onCreateAccount:a})=>e.jsx("header",{children:e.jsxs("div",{className:"storybook-header",children:[e.jsxs("div",{children:[e.jsx("svg",{width:"32",height:"32",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",children:e.jsxs("g",{fill:"none",fillRule:"evenodd",children:[e.jsx("path",{d:"M10 0h12a10 10 0 0110 10v12a10 10 0 01-10 10H10A10 10 0 010 22V10A10 10 0 0110 0z",fill:"#FFF"}),e.jsx("path",{d:"M5.3 10.6l10.4 6v11.1l-10.4-6v-11zm11.4-6.2l9.7 5.5-9.7 5.6V4.4z",fill:"#555AB9"}),e.jsx("path",{d:"M27.2 10.6v11.2l-10.5 6V16.5l10.5-6zM15.7 4.4v11L6 10l9.7-5.5z",fill:"#91BAF8"})]})}),e.jsx("h1",{children:"Acme"})]}),e.jsx("div",{children:n?e.jsxs(e.Fragment,{children:[e.jsxs("span",{className:"welcome",children:["Welcome, ",e.jsx("b",{children:n.name}),"!"]}),e.jsx(s,{size:"small",onClick:r,label:"Log out"})]}):e.jsxs(e.Fragment,{children:[e.jsx(s,{size:"small",onClick:i,label:"Log in"}),e.jsx(s,{primary:!0,size:"small",onClick:a,label:"Sign up"})]})})]})});t.__docgenInfo={description:"",methods:[],displayName:"Header",props:{user:{required:!1,tsType:{name:"signature",type:"object",raw:`{ + name: string; +}`,signature:{properties:[{key:"name",value:{name:"string",required:!0}}]}},description:""},onLogin:{required:!1,tsType:{name:"signature",type:"function",raw:"() => void",signature:{arguments:[],return:{name:"void"}}},description:""},onLogout:{required:!1,tsType:{name:"signature",type:"function",raw:"() => void",signature:{arguments:[],return:{name:"void"}}},description:""},onCreateAccount:{required:!1,tsType:{name:"signature",type:"function",raw:"() => void",signature:{arguments:[],return:{name:"void"}}},description:""}}};export{t as H}; diff --git a/storybook-static/assets/Header.stories-BP_x00oS.js b/storybook-static/assets/Header.stories-BP_x00oS.js new file mode 100644 index 0000000..2ec0a9a --- /dev/null +++ b/storybook-static/assets/Header.stories-BP_x00oS.js @@ -0,0 +1,7 @@ +import{fn as o}from"./index-D5sgrwUF.js";import{H as p}from"./Header-DY8Qp02P.js";import"./jsx-runtime-SKoiH9zj.js";import"./index-DJO9vBfz.js";import"./Button-DOAMjGti.js";const f={title:"Example/Header",component:p,tags:["autodocs"],parameters:{layout:"fullscreen"},args:{onLogin:o(),onLogout:o(),onCreateAccount:o()}},e={args:{user:{name:"Jane Doe"}}},r={};var a,s,t;e.parameters={...e.parameters,docs:{...(a=e.parameters)==null?void 0:a.docs,source:{originalSource:`{ + args: { + user: { + name: 'Jane Doe' + } + } +}`,...(t=(s=e.parameters)==null?void 0:s.docs)==null?void 0:t.source}}};var n,m,c;r.parameters={...r.parameters,docs:{...(n=r.parameters)==null?void 0:n.docs,source:{originalSource:"{}",...(c=(m=r.parameters)==null?void 0:m.docs)==null?void 0:c.source}}};const L=["LoggedIn","LoggedOut"];export{e as LoggedIn,r as LoggedOut,L as __namedExportsOrder,f as default}; diff --git a/storybook-static/assets/Page-CeeQJVdd.css b/storybook-static/assets/Page-CeeQJVdd.css new file mode 100644 index 0000000..a29cad7 --- /dev/null +++ b/storybook-static/assets/Page-CeeQJVdd.css @@ -0,0 +1 @@ +.storybook-page{margin:0 auto;padding:48px 20px;max-width:600px;color:#333;font-size:14px;line-height:24px;font-family:Nunito Sans,Helvetica Neue,Helvetica,Arial,sans-serif}.storybook-page h2{display:inline-block;vertical-align:top;margin:0 0 4px;font-weight:700;font-size:32px;line-height:1}.storybook-page p{margin:1em 0}.storybook-page a{color:inherit}.storybook-page ul{margin:1em 0;padding-left:30px}.storybook-page li{margin-bottom:8px}.storybook-page .tip{display:inline-block;vertical-align:top;margin-right:10px;border-radius:1em;background:#e7fdd8;padding:4px 12px;color:#357a14;font-weight:700;font-size:11px;line-height:12px}.storybook-page .tip-wrapper{margin-top:40px;margin-bottom:40px;font-size:13px;line-height:20px}.storybook-page .tip-wrapper svg{display:inline-block;vertical-align:top;margin-top:3px;margin-right:4px;width:12px;height:12px}.storybook-page .tip-wrapper svg path{fill:#1ea7fd} diff --git a/storybook-static/assets/Page.stories-DJbfVDNt.js b/storybook-static/assets/Page.stories-DJbfVDNt.js new file mode 100644 index 0000000..5220ae1 --- /dev/null +++ b/storybook-static/assets/Page.stories-DJbfVDNt.js @@ -0,0 +1,17 @@ +import{within as u,expect as r,userEvent as x}from"./index-D5sgrwUF.js";import{j as e}from"./jsx-runtime-SKoiH9zj.js";import{R as v}from"./index-DJO9vBfz.js";import{H as w}from"./Header-DY8Qp02P.js";import"./Button-DOAMjGti.js";const h=()=>{const[a,t]=v.useState();return e.jsxs("article",{children:[e.jsx(w,{user:a,onLogin:()=>t({name:"Jane Doe"}),onLogout:()=>t(void 0),onCreateAccount:()=>t({name:"Jane Doe"})}),e.jsxs("section",{className:"storybook-page",children:[e.jsx("h2",{children:"Pages in Storybook"}),e.jsxs("p",{children:["We recommend building UIs with a"," ",e.jsx("a",{href:"https://componentdriven.org",target:"_blank",rel:"noopener noreferrer",children:e.jsx("strong",{children:"component-driven"})})," ","process starting with atomic components and ending with pages."]}),e.jsx("p",{children:"Render pages with mock data. This makes it easy to build and review page states without needing to navigate to them in your app. Here are some handy patterns for managing page data in Storybook:"}),e.jsxs("ul",{children:[e.jsx("li",{children:'Use a higher-level connected component. Storybook helps you compose such data from the "args" of child component stories'}),e.jsx("li",{children:"Assemble data in the page component from your services. You can mock these services out using Storybook."})]}),e.jsxs("p",{children:["Get a guided tutorial on component-driven development at"," ",e.jsx("a",{href:"https://storybook.js.org/tutorials/",target:"_blank",rel:"noopener noreferrer",children:"Storybook tutorials"}),". Read more in the"," ",e.jsx("a",{href:"https://storybook.js.org/docs",target:"_blank",rel:"noopener noreferrer",children:"docs"}),"."]}),e.jsxs("div",{className:"tip-wrapper",children:[e.jsx("span",{className:"tip",children:"Tip"})," Adjust the width of the canvas with the"," ",e.jsx("svg",{width:"10",height:"10",viewBox:"0 0 12 12",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("g",{fill:"none",fillRule:"evenodd",children:e.jsx("path",{d:"M1.5 5.2h4.8c.3 0 .5.2.5.4v5.1c-.1.2-.3.3-.4.3H1.4a.5.5 0 01-.5-.4V5.7c0-.3.2-.5.5-.5zm0-2.1h6.9c.3 0 .5.2.5.4v7a.5.5 0 01-1 0V4H1.5a.5.5 0 010-1zm0-2.1h9c.3 0 .5.2.5.4v9.1a.5.5 0 01-1 0V2H1.5a.5.5 0 010-1zm4.3 5.2H2V10h3.8V6.2z",id:"a",fill:"#999"})})}),"Viewports addon in the toolbar"]})]})]})};h.__docgenInfo={description:"",methods:[],displayName:"Page"};const k={title:"Example/Page",component:h,parameters:{layout:"fullscreen"}},o={},n={play:async({canvasElement:a})=>{const t=u(a),s=t.getByRole("button",{name:/Log in/i});await r(s).toBeInTheDocument(),await x.click(s),await r(s).not.toBeInTheDocument();const g=t.getByRole("button",{name:/Log out/i});await r(g).toBeInTheDocument()}};var i,c,l;o.parameters={...o.parameters,docs:{...(i=o.parameters)==null?void 0:i.docs,source:{originalSource:"{}",...(l=(c=o.parameters)==null?void 0:c.docs)==null?void 0:l.source}}};var d,m,p;n.parameters={...n.parameters,docs:{...(d=n.parameters)==null?void 0:d.docs,source:{originalSource:`{ + play: async ({ + canvasElement + }) => { + const canvas = within(canvasElement); + const loginButton = canvas.getByRole('button', { + name: /Log in/i + }); + await expect(loginButton).toBeInTheDocument(); + await userEvent.click(loginButton); + await expect(loginButton).not.toBeInTheDocument(); + const logoutButton = canvas.getByRole('button', { + name: /Log out/i + }); + await expect(logoutButton).toBeInTheDocument(); + } +}`,...(p=(m=n.parameters)==null?void 0:m.docs)==null?void 0:p.source}}};const I=["LoggedOut","LoggedIn"];export{n as LoggedIn,o as LoggedOut,I as __namedExportsOrder,k as default}; diff --git a/storybook-static/assets/accessibility-W_h2acOZ.png b/storybook-static/assets/accessibility-W_h2acOZ.png new file mode 100644 index 0000000..6ffe6fe Binary files /dev/null and b/storybook-static/assets/accessibility-W_h2acOZ.png differ diff --git a/storybook-static/assets/addon-library-BWUCAmyN.png b/storybook-static/assets/addon-library-BWUCAmyN.png new file mode 100644 index 0000000..95deb38 Binary files /dev/null and b/storybook-static/assets/addon-library-BWUCAmyN.png differ diff --git a/storybook-static/assets/chunk-XP5HYGXS-D5tuasO7.js b/storybook-static/assets/chunk-XP5HYGXS-D5tuasO7.js new file mode 100644 index 0000000..86cf007 --- /dev/null +++ b/storybook-static/assets/chunk-XP5HYGXS-D5tuasO7.js @@ -0,0 +1 @@ +var u=Object.create,a=Object.defineProperty,s=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,c=Object.getPrototypeOf,O=Object.prototype.hasOwnProperty,l=(e,r)=>function(){return e&&(r=(0,e[o(e)[0]])(e=0)),r},v=(e,r)=>function(){return r||(0,e[o(e)[0]])((r={exports:{}}).exports,r),r.exports},b=(e,r)=>{for(var t in r)a(e,t,{get:r[t],enumerable:!0})},n=(e,r,t,p)=>{if(r&&typeof r=="object"||typeof r=="function")for(let _ of o(r))!O.call(e,_)&&_!==t&&a(e,_,{get:()=>r[_],enumerable:!(p=s(r,_))||p.enumerable});return e},P=(e,r,t)=>(t=e!=null?u(c(e)):{},n(!e||!e.__esModule?a(t,"default",{value:e,enumerable:!0}):t,e)),y=e=>n(a({},"__esModule",{value:!0}),e);export{P as _,v as a,l as b,y as c,b as d}; diff --git a/storybook-static/assets/context-C0qIqeS4.png b/storybook-static/assets/context-C0qIqeS4.png new file mode 100644 index 0000000..e5cd249 Binary files /dev/null and b/storybook-static/assets/context-C0qIqeS4.png differ diff --git a/storybook-static/assets/docs---vsFbMi.png b/storybook-static/assets/docs---vsFbMi.png new file mode 100644 index 0000000..a749629 Binary files /dev/null and b/storybook-static/assets/docs---vsFbMi.png differ diff --git a/storybook-static/assets/entry-preview-docs-ys20Qm2A.js b/storybook-static/assets/entry-preview-docs-ys20Qm2A.js new file mode 100644 index 0000000..6df0f88 --- /dev/null +++ b/storybook-static/assets/entry-preview-docs-ys20Qm2A.js @@ -0,0 +1,46 @@ +import{_ as nt,a as K,b as gi,c as Mr,d as yn}from"./chunk-XP5HYGXS-D5tuasO7.js";import{c as Di,n as Ai,y as Ci,g as Vr,z as Ei,o as yi,j as qr,l as ee,B as Fi,a as Dt,Y as Ur}from"./index-DSAa9q1k.js";import{r as Ge,R as ft}from"./index-DJO9vBfz.js";const{logger:vt}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{defaultDecorateStory:xi,addons:vi,useEffect:_i}=__STORYBOOK_MODULE_PREVIEW_API__;var Si=K({"../../node_modules/prop-types/lib/ReactPropTypesSecret.js"(e,t){var r="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";t.exports=r}}),bi=K({"../../node_modules/prop-types/factoryWithThrowingShims.js"(e,t){var r=Si();function n(){}function s(){}s.resetWarningCache=n,t.exports=function(){function o(p,m,g,F,A,C){if(C!==r){var D=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw D.name="Invariant Violation",D}}o.isRequired=o;function u(){return o}var h={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:u,element:o,elementType:o,instanceOf:u,node:o,objectOf:u,oneOf:u,oneOfType:u,shape:u,exact:u,checkPropTypes:s,resetWarningCache:n};return h.PropTypes=h,h}}}),Bi=K({"../../node_modules/prop-types/index.js"(e,t){t.exports=bi()()}}),wi=K({"../../node_modules/html-tags/html-tags.json"(e,t){t.exports=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","search","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"]}}),ki=K({"../../node_modules/html-tags/index.js"(e,t){t.exports=wi()}}),Ii=K({"../../node_modules/estraverse/estraverse.js"(e){(function t(r){var n,s,o,u,h,p;function m(x){var y={},v,B;for(v in x)x.hasOwnProperty(v)&&(B=x[v],typeof B=="object"&&B!==null?y[v]=m(B):y[v]=B);return y}function g(x,y){var v,B,P,j;for(B=x.length,P=0;B;)v=B>>>1,j=P+v,y(x[j])?B=v:(P=j+1,B-=v+1);return P}n={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ChainExpression:"ChainExpression",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",PrivateIdentifier:"PrivateIdentifier",Program:"Program",Property:"Property",PropertyDefinition:"PropertyDefinition",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"},o={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],PrivateIdentifier:[],Program:["body"],Property:["key","value"],PropertyDefinition:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]},u={},h={},p={},s={Break:u,Skip:h,Remove:p};function F(x,y){this.parent=x,this.key=y}F.prototype.replace=function(x){this.parent[this.key]=x},F.prototype.remove=function(){return Array.isArray(this.parent)?(this.parent.splice(this.key,1),!0):(this.replace(null),!1)};function A(x,y,v,B){this.node=x,this.path=y,this.wrap=v,this.ref=B}function C(){}C.prototype.path=function(){var x,y,v,B,P,j;function M(V,U){if(Array.isArray(U))for(v=0,B=U.length;v=0;--v)if(x[v].node===y)return!0;return!1}C.prototype.traverse=function(x,y){var v,B,P,j,M,V,U,H,ne,se,ue,Z;for(this.__initialize(x,y),Z={},v=this.__worklist,B=this.__leavelist,v.push(new A(x,null,null,null)),B.push(new A(null,null,null,null));v.length;){if(P=v.pop(),P===Z){if(P=B.pop(),V=this.__execute(y.leave,P),this.__state===u||V===u)return;continue}if(P.node){if(V=this.__execute(y.enter,P),this.__state===u||V===u)return;if(v.push(Z),B.push(P),this.__state===h||V===h)continue;if(j=P.node,M=j.type||P.wrap,se=this.__keys[M],!se)if(this.__fallback)se=this.__fallback(j);else throw new Error("Unknown node type "+M+".");for(H=se.length;(H-=1)>=0;)if(U=se[H],ue=j[U],!!ue){if(Array.isArray(ue)){for(ne=ue.length;(ne-=1)>=0;)if(ue[ne]&&!w(B,ue[ne])){if(E(M,se[H]))P=new A(ue[ne],[U,ne],"Property",null);else if(D(ue[ne]))P=new A(ue[ne],[U,ne],null,null);else continue;v.push(P)}}else if(D(ue)){if(w(B,ue))continue;v.push(new A(ue,U,null,null))}}}}},C.prototype.replace=function(x,y){var v,B,P,j,M,V,U,H,ne,se,ue,Z,we;function st(Re){var R,Je,je,ut;if(Re.ref.remove()){for(Je=Re.ref.key,ut=Re.ref.parent,R=v.length;R--;)if(je=v[R],je.ref&&je.ref.parent===ut){if(je.ref.key=0;)if(we=ne[U],se=P[we],!!se)if(Array.isArray(se)){for(H=se.length;(H-=1)>=0;)if(se[H]){if(E(j,ne[U]))V=new A(se[H],[we,H],"Property",new F(se,H));else if(D(se[H]))V=new A(se[H],[we,H],null,new F(se,H));else continue;v.push(V)}}else D(se)&&v.push(new A(se,we,null,new F(P,we)))}}return Z.root};function b(x,y){var v=new C;return v.traverse(x,y)}function S(x,y){var v=new C;return v.replace(x,y)}function L(x,y){var v;return v=g(y,function(B){return B.range[0]>x.range[0]}),x.extendedRange=[x.range[0],x.range[1]],v!==y.length&&(x.extendedRange[1]=y[v].range[0]),v-=1,v>=0&&(x.extendedRange[0]=y[v].range[1]),x}function _(x,y,v){var B=[],P,j,M,V;if(!x.range)throw new Error("attachComments needs range information");if(!v.length){if(y.length){for(M=0,j=y.length;MU.range[0]));)H.extendedRange[1]===U.range[0]?(U.leadingComments||(U.leadingComments=[]),U.leadingComments.push(H),B.splice(V,1)):V+=1;if(V===B.length)return s.Break;if(B[V].extendedRange[0]>U.range[1])return s.Skip}}),V=0,b(x,{leave:function(U){for(var H;VU.range[1])return s.Skip}}),x}return r.Syntax=n,r.traverse=b,r.replace=S,r.attachComments=_,r.VisitorKeys=o,r.VisitorOption=s,r.Controller=C,r.cloneEnvironment=function(){return t({})},r})(e)}}),Ti=K({"../../node_modules/esutils/lib/ast.js"(e,t){(function(){function r(p){if(p==null)return!1;switch(p.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 n(p){if(p==null)return!1;switch(p.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function s(p){if(p==null)return!1;switch(p.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 o(p){return s(p)||p!=null&&p.type==="FunctionDeclaration"}function u(p){switch(p.type){case"IfStatement":return p.alternate!=null?p.alternate:p.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return p.body}return null}function h(p){var m;if(p.type!=="IfStatement"||p.alternate==null)return!1;m=p.consequent;do{if(m.type==="IfStatement"&&m.alternate==null)return!0;m=u(m)}while(m);return!1}t.exports={isExpression:r,isStatement:s,isIterationStatement:n,isSourceElement:o,isProblematicIfStatement:h,trailingStatement:u}})()}}),Fn=K({"../../node_modules/esutils/lib/code.js"(e,t){(function(){var r,n,s,o,u,h;n={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]/},r={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 p(S){return 48<=S&&S<=57}function m(S){return 48<=S&&S<=57||97<=S&&S<=102||65<=S&&S<=70}function g(S){return S>=48&&S<=55}s=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function F(S){return S===32||S===9||S===11||S===12||S===160||S>=5760&&s.indexOf(S)>=0}function A(S){return S===10||S===13||S===8232||S===8233}function C(S){if(S<=65535)return String.fromCharCode(S);var L=String.fromCharCode(Math.floor((S-65536)/1024)+55296),_=String.fromCharCode((S-65536)%1024+56320);return L+_}for(o=new Array(128),h=0;h<128;++h)o[h]=h>=97&&h<=122||h>=65&&h<=90||h===36||h===95;for(u=new Array(128),h=0;h<128;++h)u[h]=h>=97&&h<=122||h>=65&&h<=90||h>=48&&h<=57||h===36||h===95;function D(S){return S<128?o[S]:n.NonAsciiIdentifierStart.test(C(S))}function E(S){return S<128?u[S]:n.NonAsciiIdentifierPart.test(C(S))}function w(S){return S<128?o[S]:r.NonAsciiIdentifierStart.test(C(S))}function b(S){return S<128?u[S]:r.NonAsciiIdentifierPart.test(C(S))}t.exports={isDecimalDigit:p,isHexDigit:m,isOctalDigit:g,isWhiteSpace:F,isLineTerminator:A,isIdentifierStartES5:D,isIdentifierPartES5:E,isIdentifierStartES6:w,isIdentifierPartES6:b}})()}}),Pi=K({"../../node_modules/esutils/lib/keyword.js"(e,t){(function(){var r=Fn();function n(D){switch(D){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function s(D,E){return!E&&D==="yield"?!1:o(D,E)}function o(D,E){if(E&&n(D))return!0;switch(D.length){case 2:return D==="if"||D==="in"||D==="do";case 3:return D==="var"||D==="for"||D==="new"||D==="try";case 4:return D==="this"||D==="else"||D==="case"||D==="void"||D==="with"||D==="enum";case 5:return D==="while"||D==="break"||D==="catch"||D==="throw"||D==="const"||D==="yield"||D==="class"||D==="super";case 6:return D==="return"||D==="typeof"||D==="delete"||D==="switch"||D==="export"||D==="import";case 7:return D==="default"||D==="finally"||D==="extends";case 8:return D==="function"||D==="continue"||D==="debugger";case 10:return D==="instanceof";default:return!1}}function u(D,E){return D==="null"||D==="true"||D==="false"||s(D,E)}function h(D,E){return D==="null"||D==="true"||D==="false"||o(D,E)}function p(D){return D==="eval"||D==="arguments"}function m(D){var E,w,b;if(D.length===0||(b=D.charCodeAt(0),!r.isIdentifierStartES5(b)))return!1;for(E=1,w=D.length;E=w||(S=D.charCodeAt(E),!(56320<=S&&S<=57343)))return!1;b=g(b,S)}if(!L(b))return!1;L=r.isIdentifierPartES6}return!0}function A(D,E){return m(D)&&!u(D,E)}function C(D,E){return F(D)&&!h(D,E)}t.exports={isKeywordES5:s,isKeywordES6:o,isReservedWordES5:u,isReservedWordES6:h,isRestrictedWord:p,isIdentifierNameES5:m,isIdentifierNameES6:F,isIdentifierES5:A,isIdentifierES6:C}})()}}),Ni=K({"../../node_modules/esutils/lib/utils.js"(e){(function(){e.ast=Ti(),e.code=Fn(),e.keyword=Pi()})()}}),Li=K({"../../node_modules/escodegen/node_modules/source-map/lib/base64.js"(e){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");e.encode=function(r){if(0<=r&&r>1;return m?-g:g}e.encode=function(p){var m="",g,F=u(p);do g=F&s,F>>>=r,F>0&&(g|=o),m+=t.encode(g);while(F>0);return m},e.decode=function(p,m,g){var F=p.length,A=0,C=0,D,E;do{if(m>=F)throw new Error("Expected more digits in base 64 VLQ value.");if(E=t.decode(p.charCodeAt(m++)),E===-1)throw new Error("Invalid base64 digit: "+p.charAt(m-1));D=!!(E&o),E&=s,A=A+(E<=0;M--)P=B[M],P==="."?B.splice(M,1):P===".."?j++:j>0&&(P===""?(B.splice(M+1,j),j=0):(B.splice(M,2),j--));return x=B.join("/"),x===""&&(x=v?"/":"."),y?(y.path=x,o(y)):x}e.normalize=u;function h(_,x){_===""&&(_="."),x===""&&(x=".");var y=s(x),v=s(_);if(v&&(_=v.path||"/"),y&&!y.scheme)return v&&(y.scheme=v.scheme),o(y);if(y||x.match(n))return x;if(v&&!v.host&&!v.path)return v.host=x,o(v);var B=x.charAt(0)==="/"?x:u(_.replace(/\/+$/,"")+"/"+x);return v?(v.path=B,o(v)):B}e.join=h,e.isAbsolute=function(_){return _.charAt(0)==="/"||r.test(_)};function p(_,x){_===""&&(_="."),_=_.replace(/\/$/,"");for(var y=0;x.indexOf(_+"/")!==0;){var v=_.lastIndexOf("/");if(v<0||(_=_.slice(0,v),_.match(/^([^\/]+:\/)?\/*$/)))return x;++y}return Array(y+1).join("../")+x.substr(_.length+1)}e.relative=p;var m=function(){var _=Object.create(null);return!("__proto__"in _)}();function g(_){return _}function F(_){return C(_)?"$"+_:_}e.toSetString=m?g:F;function A(_){return C(_)?_.slice(1):_}e.fromSetString=m?g:A;function C(_){if(!_)return!1;var x=_.length;if(x<9||_.charCodeAt(x-1)!==95||_.charCodeAt(x-2)!==95||_.charCodeAt(x-3)!==111||_.charCodeAt(x-4)!==116||_.charCodeAt(x-5)!==111||_.charCodeAt(x-6)!==114||_.charCodeAt(x-7)!==112||_.charCodeAt(x-8)!==95||_.charCodeAt(x-9)!==95)return!1;for(var y=x-10;y>=0;y--)if(_.charCodeAt(y)!==36)return!1;return!0}function D(_,x,y){var v=w(_.source,x.source);return v!==0||(v=_.originalLine-x.originalLine,v!==0)||(v=_.originalColumn-x.originalColumn,v!==0||y)||(v=_.generatedColumn-x.generatedColumn,v!==0)||(v=_.generatedLine-x.generatedLine,v!==0)?v:w(_.name,x.name)}e.compareByOriginalPositions=D;function E(_,x,y){var v=_.generatedLine-x.generatedLine;return v!==0||(v=_.generatedColumn-x.generatedColumn,v!==0||y)||(v=w(_.source,x.source),v!==0)||(v=_.originalLine-x.originalLine,v!==0)||(v=_.originalColumn-x.originalColumn,v!==0)?v:w(_.name,x.name)}e.compareByGeneratedPositionsDeflated=E;function w(_,x){return _===x?0:_===null?1:x===null?-1:_>x?1:-1}function b(_,x){var y=_.generatedLine-x.generatedLine;return y!==0||(y=_.generatedColumn-x.generatedColumn,y!==0)||(y=w(_.source,x.source),y!==0)||(y=_.originalLine-x.originalLine,y!==0)||(y=_.originalColumn-x.originalColumn,y!==0)?y:w(_.name,x.name)}e.compareByGeneratedPositionsInflated=b;function S(_){return JSON.parse(_.replace(/^\)]}'[^\n]*\n/,""))}e.parseSourceMapInput=S;function L(_,x,y){if(x=x||"",_&&(_[_.length-1]!=="/"&&x[0]!=="/"&&(_+="/"),x=_+x),y){var v=s(y);if(!v)throw new Error("sourceMapURL could not be parsed");if(v.path){var B=v.path.lastIndexOf("/");B>=0&&(v.path=v.path.substring(0,B+1))}x=h(o(v),x)}return u(x)}e.computeSourceURL=L}}),vn=K({"../../node_modules/escodegen/node_modules/source-map/lib/array-set.js"(e){var t=At(),r=Object.prototype.hasOwnProperty,n=typeof Map<"u";function s(){this._array=[],this._set=n?new Map:Object.create(null)}s.fromArray=function(o,u){for(var h=new s,p=0,m=o.length;p=0)return u}else{var h=t.toSetString(o);if(r.call(this._set,h))return this._set[h]}throw new Error('"'+o+'" is not in the set.')},s.prototype.at=function(o){if(o>=0&&ou||h==u&&m>=p||t.compareByGeneratedPositionsInflated(s,o)<=0}function n(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}n.prototype.unsortedForEach=function(s,o){this._array.forEach(s,o)},n.prototype.add=function(s){r(this._last,s)?(this._last=s,this._array.push(s)):(this._sorted=!1,this._array.push(s))},n.prototype.toArray=function(){return this._sorted||(this._array.sort(t.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},e.MappingList=n}}),_n=K({"../../node_modules/escodegen/node_modules/source-map/lib/source-map-generator.js"(e){var t=xn(),r=At(),n=vn().ArraySet,s=Oi().MappingList;function o(u){u||(u={}),this._file=r.getArg(u,"file",null),this._sourceRoot=r.getArg(u,"sourceRoot",null),this._skipValidation=r.getArg(u,"skipValidation",!1),this._sources=new n,this._names=new n,this._mappings=new s,this._sourcesContents=null}o.prototype._version=3,o.fromSourceMap=function(u){var h=u.sourceRoot,p=new o({file:u.file,sourceRoot:h});return u.eachMapping(function(m){var g={generated:{line:m.generatedLine,column:m.generatedColumn}};m.source!=null&&(g.source=m.source,h!=null&&(g.source=r.relative(h,g.source)),g.original={line:m.originalLine,column:m.originalColumn},m.name!=null&&(g.name=m.name)),p.addMapping(g)}),u.sources.forEach(function(m){var g=m;h!==null&&(g=r.relative(h,m)),p._sources.has(g)||p._sources.add(g);var F=u.sourceContentFor(m);F!=null&&p.setSourceContent(m,F)}),p},o.prototype.addMapping=function(u){var h=r.getArg(u,"generated"),p=r.getArg(u,"original",null),m=r.getArg(u,"source",null),g=r.getArg(u,"name",null);this._skipValidation||this._validateMapping(h,p,m,g),m!=null&&(m=String(m),this._sources.has(m)||this._sources.add(m)),g!=null&&(g=String(g),this._names.has(g)||this._names.add(g)),this._mappings.add({generatedLine:h.line,generatedColumn:h.column,originalLine:p!=null&&p.line,originalColumn:p!=null&&p.column,source:m,name:g})},o.prototype.setSourceContent=function(u,h){var p=u;this._sourceRoot!=null&&(p=r.relative(this._sourceRoot,p)),h!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[r.toSetString(p)]=h):this._sourcesContents&&(delete this._sourcesContents[r.toSetString(p)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},o.prototype.applySourceMap=function(u,h,p){var m=h;if(h==null){if(u.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);m=u.file}var g=this._sourceRoot;g!=null&&(m=r.relative(g,m));var F=new n,A=new n;this._mappings.unsortedForEach(function(C){if(C.source===m&&C.originalLine!=null){var D=u.originalPositionFor({line:C.originalLine,column:C.originalColumn});D.source!=null&&(C.source=D.source,p!=null&&(C.source=r.join(p,C.source)),g!=null&&(C.source=r.relative(g,C.source)),C.originalLine=D.line,C.originalColumn=D.column,D.name!=null&&(C.name=D.name))}var E=C.source;E!=null&&!F.has(E)&&F.add(E);var w=C.name;w!=null&&!A.has(w)&&A.add(w)},this),this._sources=F,this._names=A,u.sources.forEach(function(C){var D=u.sourceContentFor(C);D!=null&&(p!=null&&(C=r.join(p,C)),g!=null&&(C=r.relative(g,C)),this.setSourceContent(C,D))},this)},o.prototype._validateMapping=function(u,h,p,m){if(h&&typeof h.line!="number"&&typeof h.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(u&&"line"in u&&"column"in u&&u.line>0&&u.column>=0&&!h&&!p&&!m)){if(u&&"line"in u&&"column"in u&&h&&"line"in h&&"column"in h&&u.line>0&&u.column>=0&&h.line>0&&h.column>=0&&p)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:u,source:p,original:h,name:m}))}},o.prototype._serializeMappings=function(){for(var u=0,h=1,p=0,m=0,g=0,F=0,A="",C,D,E,w,b=this._mappings.toArray(),S=0,L=b.length;S0){if(!r.compareByGeneratedPositionsInflated(D,b[S-1]))continue;C+=","}C+=t.encode(D.generatedColumn-u),u=D.generatedColumn,D.source!=null&&(w=this._sources.indexOf(D.source),C+=t.encode(w-F),F=w,C+=t.encode(D.originalLine-1-m),m=D.originalLine-1,C+=t.encode(D.originalColumn-p),p=D.originalColumn,D.name!=null&&(E=this._names.indexOf(D.name),C+=t.encode(E-g),g=E)),A+=C}return A},o.prototype._generateSourcesContent=function(u,h){return u.map(function(p){if(!this._sourcesContents)return null;h!=null&&(p=r.relative(h,p));var m=r.toSetString(p);return Object.prototype.hasOwnProperty.call(this._sourcesContents,m)?this._sourcesContents[m]:null},this)},o.prototype.toJSON=function(){var u={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(u.file=this._file),this._sourceRoot!=null&&(u.sourceRoot=this._sourceRoot),this._sourcesContents&&(u.sourcesContent=this._generateSourcesContent(u.sources,u.sourceRoot)),u},o.prototype.toString=function(){return JSON.stringify(this.toJSON())},e.SourceMapGenerator=o}}),Ri=K({"../../node_modules/escodegen/node_modules/source-map/lib/binary-search.js"(e){e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2;function t(r,n,s,o,u,h){var p=Math.floor((n-r)/2)+r,m=u(s,o[p],!0);return m===0?p:m>0?n-p>1?t(p,n,s,o,u,h):h==e.LEAST_UPPER_BOUND?n1?t(r,p,s,o,u,h):h==e.LEAST_UPPER_BOUND?p:r<0?-1:r}e.search=function(r,n,s,o){if(n.length===0)return-1;var u=t(-1,n.length,r,n,s,o||e.GREATEST_LOWER_BOUND);if(u<0)return-1;for(;u-1>=0&&s(n[u],n[u-1],!0)===0;)--u;return u}}}),ji=K({"../../node_modules/escodegen/node_modules/source-map/lib/quick-sort.js"(e){function t(s,o,u){var h=s[o];s[o]=s[u],s[u]=h}function r(s,o){return Math.round(s+Math.random()*(o-s))}function n(s,o,u,h){if(u=0){var E=this._originalMappings[D];if(g.column===void 0)for(var w=E.originalLine;E&&E.originalLine===w;)C.push({line:t.getArg(E,"generatedLine",null),column:t.getArg(E,"generatedColumn",null),lastColumn:t.getArg(E,"lastGeneratedColumn",null)}),E=this._originalMappings[++D];else for(var b=E.originalColumn;E&&E.originalLine===F&&E.originalColumn==b;)C.push({line:t.getArg(E,"generatedLine",null),column:t.getArg(E,"generatedColumn",null),lastColumn:t.getArg(E,"lastGeneratedColumn",null)}),E=this._originalMappings[++D]}return C},e.SourceMapConsumer=u;function h(g,F){var A=g;typeof g=="string"&&(A=t.parseSourceMapInput(g));var C=t.getArg(A,"version"),D=t.getArg(A,"sources"),E=t.getArg(A,"names",[]),w=t.getArg(A,"sourceRoot",null),b=t.getArg(A,"sourcesContent",null),S=t.getArg(A,"mappings"),L=t.getArg(A,"file",null);if(C!=this._version)throw new Error("Unsupported version: "+C);w&&(w=t.normalize(w)),D=D.map(String).map(t.normalize).map(function(_){return w&&t.isAbsolute(w)&&t.isAbsolute(_)?t.relative(w,_):_}),this._names=n.fromArray(E.map(String),!0),this._sources=n.fromArray(D,!0),this._absoluteSources=this._sources.toArray().map(function(_){return t.computeSourceURL(w,_,F)}),this.sourceRoot=w,this.sourcesContent=b,this._mappings=S,this._sourceMapURL=F,this.file=L}h.prototype=Object.create(u.prototype),h.prototype.consumer=u,h.prototype._findSourceIndex=function(g){var F=g;if(this.sourceRoot!=null&&(F=t.relative(this.sourceRoot,F)),this._sources.has(F))return this._sources.indexOf(F);var A;for(A=0;A1&&(B.source=w+j[1],w+=j[1],B.originalLine=D+j[2],D=B.originalLine,B.originalLine+=1,B.originalColumn=E+j[3],E=B.originalColumn,j.length>4&&(B.name=b+j[4],b+=j[4])),v.push(B),typeof B.originalLine=="number"&&y.push(B)}o(v,t.compareByGeneratedPositionsDeflated),this.__generatedMappings=v,o(y,t.compareByOriginalPositions),this.__originalMappings=y},h.prototype._findMapping=function(g,F,A,C,D,E){if(g[A]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+g[A]);if(g[C]<0)throw new TypeError("Column must be greater than or equal to 0, got "+g[C]);return r.search(g,F,D,E)},h.prototype.computeColumnSpans=function(){for(var g=0;g=0){var C=this._generatedMappings[A];if(C.generatedLine===F.generatedLine){var D=t.getArg(C,"source",null);D!==null&&(D=this._sources.at(D),D=t.computeSourceURL(this.sourceRoot,D,this._sourceMapURL));var E=t.getArg(C,"name",null);return E!==null&&(E=this._names.at(E)),{source:D,line:t.getArg(C,"originalLine",null),column:t.getArg(C,"originalColumn",null),name:E}}}return{source:null,line:null,column:null,name:null}},h.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(g){return g==null}):!1},h.prototype.sourceContentFor=function(g,F){if(!this.sourcesContent)return null;var A=this._findSourceIndex(g);if(A>=0)return this.sourcesContent[A];var C=g;this.sourceRoot!=null&&(C=t.relative(this.sourceRoot,C));var D;if(this.sourceRoot!=null&&(D=t.urlParse(this.sourceRoot))){var E=C.replace(/^file:\/\//,"");if(D.scheme=="file"&&this._sources.has(E))return this.sourcesContent[this._sources.indexOf(E)];if((!D.path||D.path=="/")&&this._sources.has("/"+C))return this.sourcesContent[this._sources.indexOf("/"+C)]}if(F)return null;throw new Error('"'+C+'" is not in the SourceMap.')},h.prototype.generatedPositionFor=function(g){var F=t.getArg(g,"source");if(F=this._findSourceIndex(F),F<0)return{line:null,column:null,lastColumn:null};var A={source:F,originalLine:t.getArg(g,"line"),originalColumn:t.getArg(g,"column")},C=this._findMapping(A,this._originalMappings,"originalLine","originalColumn",t.compareByOriginalPositions,t.getArg(g,"bias",u.GREATEST_LOWER_BOUND));if(C>=0){var D=this._originalMappings[C];if(D.source===A.source)return{line:t.getArg(D,"generatedLine",null),column:t.getArg(D,"generatedColumn",null),lastColumn:t.getArg(D,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},e.BasicSourceMapConsumer=h;function m(g,F){var A=g;typeof g=="string"&&(A=t.parseSourceMapInput(g));var C=t.getArg(A,"version"),D=t.getArg(A,"sections");if(C!=this._version)throw new Error("Unsupported version: "+C);this._sources=new n,this._names=new n;var E={line:-1,column:0};this._sections=D.map(function(w){if(w.url)throw new Error("Support for url field in sections not implemented.");var b=t.getArg(w,"offset"),S=t.getArg(b,"line"),L=t.getArg(b,"column");if(S=0;p--)this.prepend(h[p]);else if(h[o]||typeof h=="string")this.children.unshift(h);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+h);return this},u.prototype.walk=function(h){for(var p,m=0,g=this.children.length;m0){for(p=[],m=0;m=6.0"},maintainers:[{name:"Yusuke Suzuki",email:"utatane.tea@gmail.com",web:"http://github.com/Constellation"}],repository:{type:"git",url:"http://github.com/estools/escodegen.git"},dependencies:{estraverse:"^5.2.0",esutils:"^2.0.2",esprima:"^4.0.1"},optionalDependencies:{"source-map":"~0.6.1"},devDependencies:{acorn:"^8.0.4",bluebird:"^3.4.7","bower-registry-client":"^1.0.0",chai:"^4.2.0","chai-exclude":"^2.0.2","commonjs-everywhere":"^0.9.7",gulp:"^4.0.2","gulp-eslint":"^6.0.0","gulp-mocha":"^7.0.2",minimist:"^1.2.5",optionator:"^0.9.1",semver:"^7.3.4"},license:"BSD-2-Clause",scripts:{test:"gulp travis","unit-test":"gulp test",lint:"gulp lint",release:"node tools/release.js","build-min":"./node_modules/.bin/cjsify -ma path: tools/entry-point.js > escodegen.browser.min.js",build:"./node_modules/.bin/cjsify -a path: tools/entry-point.js > escodegen.browser.js"}}}}),Wi=K({"../../node_modules/escodegen/escodegen.js"(e){(function(){var t,r,n,s,o,u,h,p,m,g,F,A,C,D,E,w,b,S,L,_,x,y,v,B,P,j;o=Ii(),u=Ni(),t=o.Syntax;function M(i){return oe.Expression.hasOwnProperty(i.type)}function V(i){return oe.Statement.hasOwnProperty(i.type)}r={Sequence:0,Yield:1,Assignment:1,Conditional:2,ArrowFunction:2,Coalesce:3,LogicalOR:4,LogicalAND:5,BitwiseOR:6,BitwiseXOR:7,BitwiseAND:8,Equality:9,Relational:10,BitwiseSHIFT:11,Additive:12,Multiplicative:13,Exponentiation:14,Await:15,Unary:15,Postfix:16,OptionalChaining:17,Call:18,New:19,TaggedTemplate:20,Member:21,Primary:22},n={"??":r.Coalesce,"||":r.LogicalOR,"&&":r.LogicalAND,"|":r.BitwiseOR,"^":r.BitwiseXOR,"&":r.BitwiseAND,"==":r.Equality,"!=":r.Equality,"===":r.Equality,"!==":r.Equality,is:r.Equality,isnt:r.Equality,"<":r.Relational,">":r.Relational,"<=":r.Relational,">=":r.Relational,in:r.Relational,instanceof:r.Relational,"<<":r.BitwiseSHIFT,">>":r.BitwiseSHIFT,">>>":r.BitwiseSHIFT,"+":r.Additive,"-":r.Additive,"*":r.Multiplicative,"%":r.Multiplicative,"/":r.Multiplicative,"**":r.Exponentiation};var U=1,H=2,ne=4,se=8,ue=16,Z=32,we=64,st=H|ne,Re=U|H,R=U|H|ne,Je=U,je=ne,ut=U|ne,re=U,xe=U|Z,yt=0,ri=U|ue,ni=U|se;function kr(){return{indent:null,base:null,parse:null,comment:!1,format:{indent:{style:" ",base:0,adjustMultilineComment:!1},newline:` +`,space:" ",json:!1,renumber:!1,hexadecimal:!1,quotes:"single",escapeless:!1,compact:!1,parentheses:!0,semicolons:!0,safeConcatenation:!1,preserveBlankLines:!1},moz:{comprehensionExpressionStartsWithAssignment:!1,starlessGenerator:!1},sourceMap:null,sourceMapRoot:null,sourceMapWithCode:!1,directive:!1,raw:!0,verbatim:null,sourceCode:null}}function Me(i,l){var a="";for(l|=0;l>0;l>>>=1,i+=i)l&1&&(a+=i);return a}function ii(i){return/[\r\n]/g.test(i)}function he(i){var l=i.length;return l&&u.code.isLineTerminator(i.charCodeAt(l-1))}function Ir(i,l){var a;for(a in l)l.hasOwnProperty(a)&&(i[a]=l[a]);return i}function Ft(i,l){var a,c;function d(k){return typeof k=="object"&&k instanceof Object&&!(k instanceof RegExp)}for(a in l)l.hasOwnProperty(a)&&(c=l[a],d(c)?d(i[a])?Ft(i[a],c):i[a]=Ft({},c):i[a]=c);return i}function si(i){var l,a,c,d,k;if(i!==i)throw new Error("Numeric literal whose value is NaN");if(i<0||i===0&&1/i<0)throw new Error("Numeric literal whose value is negative");if(i===1/0)return m?"null":g?"1e400":"1e+400";if(l=""+i,!g||l.length<3)return l;for(a=l.indexOf("."),!m&&l.charCodeAt(0)===48&&a===1&&(a=0,l=l.slice(1)),c=l,l=l.replace("e+","e"),d=0,(k=c.indexOf("e"))>0&&(d=+c.slice(k+1),c=c.slice(0,k)),a>=0&&(d-=c.length-a-1,c=+(c.slice(0,a)+c.slice(a+1))+""),k=0;c.charCodeAt(c.length+k-1)===48;)--k;return k!==0&&(d-=k,c=c.slice(0,k)),d!==0&&(c+="e"+d),(c.length1e12&&Math.floor(i)===i&&(c="0x"+i.toString(16)).length255?"\\u"+"0000".slice(a.length)+a:i===0&&!u.code.isDecimalDigit(l)?"\\0":i===11?"\\x0B":"\\x"+"00".slice(a.length)+a)}function oi(i){if(i===92)return"\\\\";if(i===10)return"\\n";if(i===13)return"\\r";if(i===8232)return"\\u2028";if(i===8233)return"\\u2029";throw new Error("Incorrectly classified character")}function li(i){var l,a,c,d;for(d=A==="double"?'"':"'",l=0,a=i.length;l126))){l+=ai(d,i.charCodeAt(a+1));continue}l+=String.fromCharCode(d)}if(T=!(A==="double"||A==="auto"&&I=0&&!u.code.isLineTerminator(i.charCodeAt(l));--l);return i.length-1-l}function pi(i,l){var a,c,d,k,I,T,O,J;for(a=i.split(/\r\n|[\r\n]/),T=Number.MAX_VALUE,c=1,d=a.length;cI&&(T=I)}for(typeof l<"u"?(O=h,a[1][T]==="*"&&(l+=" "),h=l):(T&1&&--T,O=h),c=1,d=a.length;c0){if(k=l,B){for(d=i.leadingComments[0],l=[],J=d.extendedRange,ce=d.range,He=v.substring(J[0],ce[0]),ve=(He.match(/\n/g)||[]).length,ve>0?(l.push(Me(` +`,ve)),l.push(fe(ke(d)))):(l.push(He),l.push(ke(d))),Ve=ce,a=1,c=i.leadingComments.length;a0?(l.push(Me(` +`,ve)),l.push(fe(ke(d)))):(l.push(He),l.push(ke(d)));else for(I=!he(Y(l).toString()),T=Me(" ",hi(Y([h,l,p]).toString())),a=0,c=i.trailingComments.length;a")),i.expression?(l.push(E),a=this.generateExpression(i.body,r.Assignment,R),a.toString().charAt(0)==="{"&&(a=["(",a,")"]),l.push(a)):l.push(this.maybeBlock(i.body,ni)),l},oe.prototype.generateIterationForStatement=function(i,l,a){var c=["for"+(l.await?pe()+"await":"")+E+"("],d=this;return ae(function(){l.left.type===t.VariableDeclaration?ae(function(){c.push(l.left.kind+pe()),c.push(d.generateStatement(l.left.declarations[0],yt))}):c.push(d.generateExpression(l.left,r.Call,R)),c=W(c,i),c=[W(c,d.generateExpression(l.right,r.Assignment,R)),")"]}),c.push(this.maybeBlock(l.body,a)),c},oe.prototype.generatePropertyKey=function(i,l){var a=[];return l&&a.push("["),a.push(this.generateExpression(i,r.Assignment,R)),l&&a.push("]"),a},oe.prototype.generateAssignment=function(i,l,a,c,d){return r.Assignment2&&(c=v.substring(a[0]+1,a[1]-1),c[0]===` +`&&(d=["{"]),d.push(c)));var I,T,O,J;for(J=re,l&se&&(J|=ue),I=0,T=i.body.length;I0&&!i.body[I-1].trailingComments&&!i.body[I].leadingComments&&Xe(i.body[I-1].range[1],i.body[I].range[0],d)),I===T-1&&(J|=Z),i.body[I].leadingComments&&B?O=k.generateStatement(i.body[I],J):O=fe(k.generateStatement(i.body[I],J)),d.push(O),he(Y(O).toString())||B&&I1?ae(O):O(),a.push(this.semicolon(l)),a},ThrowStatement:function(i,l){return[W("throw",this.generateExpression(i.argument,r.Sequence,R)),this.semicolon(l)]},TryStatement:function(i,l){var a,c,d,k;if(a=["try",this.maybeBlock(i.block,re)],a=this.maybeBlockSuffix(i.block,a),i.handlers)for(c=0,d=i.handlers.length;c0?` +`:""],I=ri,d=0;d0&&!i.body[d-1].trailingComments&&!i.body[d].leadingComments&&Xe(i.body[d-1].range[1],i.body[d].range[0],a)),c=fe(this.generateStatement(i.body[d],I)),a.push(c),d+10){for(c.push("("),k=0,I=d;k=2&&d.charCodeAt(0)===48)&&c.push(" ")),c.push(i.optional?"?.":"."),c.push(Ae(i.property))),le(c,r.Member,l)},MetaProperty:function(i,l,a){var c;return c=[],c.push(typeof i.meta=="string"?i.meta:Ae(i.meta)),c.push("."),c.push(typeof i.property=="string"?i.property:Ae(i.property)),le(c,r.Member,l)},UnaryExpression:function(i,l,a){var c,d,k,I,T;return d=this.generateExpression(i.argument,r.Unary,R),E===""?c=W(i.operator,d):(c=[i.operator],i.operator.length>2?c=W(c,d):(I=Y(c).toString(),T=I.charCodeAt(I.length-1),k=d.toString().charCodeAt(0),((T===43||T===45)&&T===k||u.code.isIdentifierPartES5(T)&&u.code.isIdentifierPartES5(k))&&c.push(pe()),c.push(d))),le(c,r.Unary,l)},YieldExpression:function(i,l,a){var c;return i.delegate?c="yield*":c="yield",i.argument&&(c=W(c,this.generateExpression(i.argument,r.Yield,R))),le(c,r.Yield,l)},AwaitExpression:function(i,l,a){var c=W(i.all?"await*":"await",this.generateExpression(i.argument,r.Await,R));return le(c,r.Await,l)},UpdateExpression:function(i,l,a){return i.prefix?le([i.operator,this.generateExpression(i.argument,r.Unary,R)],r.Unary,l):le([this.generateExpression(i.argument,r.Postfix,R),i.operator],r.Postfix,l)},FunctionExpression:function(i,l,a){var c=[at(i,!0),"function"];return i.id?(c.push(xt(i)||pe()),c.push(Ae(i.id))):c.push(xt(i)||E),c.push(this.generateFunctionBody(i)),c},ArrayPattern:function(i,l,a){return this.ArrayExpression(i,l,a,!0)},ArrayExpression:function(i,l,a,c){var d,k,I=this;return i.elements.length?(k=c?!1:i.elements.length>1,d=["[",k?D:""],ae(function(T){var O,J;for(O=0,J=i.elements.length;O1,ae(function(){k=I.generateExpression(i.properties[0],r.Sequence,R)}),!c&&!ii(Y(k).toString())?["{",E,k,E,"}"]:(ae(function(T){var O,J;if(d=["{",D,T,k],c)for(d.push(","+D),O=1,J=i.properties.length;O0||_.moz.comprehensionExpressionStartsWithAssignment?c=W(c,I):c.push(I)}),i.filter&&(c=W(c,"if"+E),I=this.generateExpression(i.filter,r.Sequence,R),c=W(c,["(",I,")"])),_.moz.comprehensionExpressionStartsWithAssignment||(I=this.generateExpression(i.body,r.Assignment,R),c=W(c,I)),c.push(i.type===t.GeneratorExpression?")":"]"),c},ComprehensionBlock:function(i,l,a){var c;return i.left.type===t.VariableDeclaration?c=[i.left.kind,pe(),this.generateStatement(i.left.declarations[0],yt)]:c=this.generateExpression(i.left,r.Call,R),c=W(c,i.of?"of":"in"),c=W(c,this.generateExpression(i.right,r.Sequence,R)),["for"+E+"(",c,")"]},SpreadElement:function(i,l,a){return["...",this.generateExpression(i.argument,r.Assignment,R)]},TaggedTemplateExpression:function(i,l,a){var c=Re;a&H||(c=Je);var d=[this.generateExpression(i.tag,r.Call,c),this.generateExpression(i.quasi,r.Primary,je)];return le(d,r.TaggedTemplate,l)},TemplateElement:function(i,l,a){return i.value.raw},TemplateLiteral:function(i,l,a){var c,d,k;for(c=["`"],d=0,k=i.quasis.length;dht,Parser:()=>te,Position:()=>Ue,SourceLocation:()=>et,TokContext:()=>ye,Token:()=>pt,TokenType:()=>Q,defaultOptions:()=>mt,getLineInfo:()=>lr,isIdentifierChar:()=>qe,isIdentifierStart:()=>Te,isNewLine:()=>Ke,keywordTypes:()=>dt,lineBreak:()=>De,lineBreakG:()=>ze,nonASCIIwhitespace:()=>Ot,parse:()=>Ki,parseExpressionAt:()=>Zi,tokContexts:()=>ie,tokTypes:()=>f,tokenizer:()=>es,version:()=>mr});function or(e,t){for(var r=65536,n=0;ne)return!1;if(r+=t[n+1],r>=e)return!0}}function Te(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&Bn.test(String.fromCharCode(e)):t===!1?!1:or(e,xr)}function qe(e,t){return e<48?e===36:e<58?!0:e<65?!1:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&wn.test(String.fromCharCode(e)):t===!1?!1:or(e,xr)||or(e,kn)}function Fe(e,t){return new Q(e,{beforeExpr:!0,binop:t})}function X(e,t){return t===void 0&&(t={}),t.keyword=e,dt[e]=new Q(e,t)}function Ke(e,t){return e===10||e===13||!t&&(e===8232||e===8233)}function Nt(e,t){return In.call(e,t)}function We(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}function lr(e,t){for(var r=1,n=0;;){ze.lastIndex=n;var s=ze.exec(e);if(s&&s.index=2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),cr(t.onToken)){var n=t.onToken;t.onToken=function(s){return n.push(s)}}return cr(t.onComment)&&(t.onComment=Gi(t,t.onComment)),t}function Gi(e,t){return function(r,n,s,o,u,h){var p={type:r?"Block":"Line",value:n,start:s,end:o};e.locations&&(p.loc=new et(this,u,h)),e.ranges&&(p.range=[s,o]),t.push(p)}}function Vt(e,t){return Ze|(e?hr:0)|(t?pr:0)}function _t(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}function Wr(e,t,r,n){return e.type=t,e.end=r,this.options.locations&&(e.loc.end=n),this.options.ranges&&(e.range[1]=r),e}function qt(e){var t=dr[e]={binary:We(Tn[e]+" "+fr),nonBinary:{General_Category:We(fr),Script:We(Pn[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}function St(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}function zr(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}function $i(e){return Te(e,!0)||e===36||e===95}function Ji(e){return qe(e,!0)||e===36||e===95||e===8204||e===8205}function Sn(e){return e>=65&&e<=90||e>=97&&e<=122}function Xi(e){return e>=0&&e<=1114111}function Hi(e){return e===100||e===68||e===115||e===83||e===119||e===87}function bn(e){return Sn(e)||e===95}function Qi(e){return bn(e)||Lt(e)}function Lt(e){return e>=48&&e<=57}function Gr(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function $r(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}function Jr(e){return e>=48&&e<=55}function Yi(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function Xr(e){return typeof BigInt!="function"?null:BigInt(e.replace(/_/g,""))}function Ut(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}function Ki(e,t){return te.parse(e,t)}function Zi(e,t,r){return te.parseExpressionAt(e,t,r)}function es(e,t){return te.tokenizer(e,t)}var bt,Bt,Hr,Qr,wt,Wt,Bn,wn,xr,kn,Q,Ce,ge,dt,f,De,ze,Ot,Ee,zt,In,Yr,cr,Ue,et,mt,Qe,Ze,kt,hr,pr,Gt,$t,Jt,Xt,Ht,It,_e,Qt,Yt,Kt,te,Ne,de,Kr,z,Tt,Zr,en,Ye,Pt,Zt,Se,G,tn,ot,Ie,rn,ht,lt,ye,ie,ct,er,tr,nn,Tn,fr,rr,nr,sn,Pn,dr,q,be,pt,$,ir,mr,gr=gi({"../../node_modules/acorn/dist/acorn.mjs"(){bt={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},Bt="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",Hr={5:Bt,"5module":Bt+" export import",6:Bt+" const class extends export import super"},Qr=/^in(stanceof)?$/,wt="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",Wt="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",Bn=new RegExp("["+wt+"]"),wn=new RegExp("["+wt+Wt+"]"),wt=Wt=null,xr=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938],kn=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239],Q=function(e,t){t===void 0&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null},Ce={beforeExpr:!0},ge={startsExpr:!0},dt={},f={num:new Q("num",ge),regexp:new Q("regexp",ge),string:new Q("string",ge),name:new Q("name",ge),eof:new Q("eof"),bracketL:new Q("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new Q("]"),braceL:new Q("{",{beforeExpr:!0,startsExpr:!0}),braceR:new Q("}"),parenL:new Q("(",{beforeExpr:!0,startsExpr:!0}),parenR:new Q(")"),comma:new Q(",",Ce),semi:new Q(";",Ce),colon:new Q(":",Ce),dot:new Q("."),question:new Q("?",Ce),questionDot:new Q("?."),arrow:new Q("=>",Ce),template:new Q("template"),invalidTemplate:new Q("invalidTemplate"),ellipsis:new Q("...",Ce),backQuote:new Q("`",ge),dollarBraceL:new Q("${",{beforeExpr:!0,startsExpr:!0}),eq:new Q("=",{beforeExpr:!0,isAssign:!0}),assign:new Q("_=",{beforeExpr:!0,isAssign:!0}),incDec:new Q("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new Q("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:Fe("||",1),logicalAND:Fe("&&",2),bitwiseOR:Fe("|",3),bitwiseXOR:Fe("^",4),bitwiseAND:Fe("&",5),equality:Fe("==/!=/===/!==",6),relational:Fe("/<=/>=",7),bitShift:Fe("<>/>>>",8),plusMin:new Q("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:Fe("%",10),star:Fe("*",10),slash:Fe("/",10),starstar:new Q("**",{beforeExpr:!0}),coalesce:Fe("??",1),_break:X("break"),_case:X("case",Ce),_catch:X("catch"),_continue:X("continue"),_debugger:X("debugger"),_default:X("default",Ce),_do:X("do",{isLoop:!0,beforeExpr:!0}),_else:X("else",Ce),_finally:X("finally"),_for:X("for",{isLoop:!0}),_function:X("function",ge),_if:X("if"),_return:X("return",Ce),_switch:X("switch"),_throw:X("throw",Ce),_try:X("try"),_var:X("var"),_const:X("const"),_while:X("while",{isLoop:!0}),_with:X("with"),_new:X("new",{beforeExpr:!0,startsExpr:!0}),_this:X("this",ge),_super:X("super",ge),_class:X("class",ge),_extends:X("extends",Ce),_export:X("export"),_import:X("import",ge),_null:X("null",ge),_true:X("true",ge),_false:X("false",ge),_in:X("in",{beforeExpr:!0,binop:7}),_instanceof:X("instanceof",{beforeExpr:!0,binop:7}),_typeof:X("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:X("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:X("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},De=/\r\n?|\n|\u2028|\u2029/,ze=new RegExp(De.source,"g"),Ot=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,Ee=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,zt=Object.prototype,In=zt.hasOwnProperty,Yr=zt.toString,cr=Array.isArray||function(e){return Yr.call(e)==="[object Array]"},Ue=function(e,t){this.line=e,this.column=t},Ue.prototype.offset=function(e){return new Ue(this.line,this.column+e)},et=function(e,t,r){this.start=t,this.end=r,e.sourceFile!==null&&(this.source=e.sourceFile)},mt={ecmaVersion:10,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:!1,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},Qe=1,Ze=2,kt=Qe|Ze,hr=4,pr=8,Gt=16,$t=32,Jt=64,Xt=128,Ht=0,It=1,_e=2,Qt=3,Yt=4,Kt=5,te=function(e,t,r){this.options=e=zi(e),this.sourceFile=e.sourceFile,this.keywords=We(Hr[e.ecmaVersion>=6?6:e.sourceType==="module"?"5module":5]);var n="";if(e.allowReserved!==!0){for(var s=e.ecmaVersion;!(n=bt[s]);s--);e.sourceType==="module"&&(n+=" await")}this.reservedWords=We(n);var o=(n?n+" ":"")+bt.strict;this.reservedWordsStrict=We(o),this.reservedWordsStrictBind=We(o+" "+bt.strictBind),this.input=String(t),this.containsEsc=!1,r?(this.pos=r,this.lineStart=this.input.lastIndexOf(` +`,r-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(De).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=f.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=e.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports={},this.pos===0&&e.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(Qe),this.regexpState=null},Ne={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0}},te.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)},Ne.inFunction.get=function(){return(this.currentVarScope().flags&Ze)>0},Ne.inGenerator.get=function(){return(this.currentVarScope().flags&pr)>0},Ne.inAsync.get=function(){return(this.currentVarScope().flags&hr)>0},Ne.allowSuper.get=function(){return(this.currentThisScope().flags&Jt)>0},Ne.allowDirectSuper.get=function(){return(this.currentThisScope().flags&Xt)>0},Ne.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},te.prototype.inNonArrowFunction=function(){return(this.currentThisScope().flags&Ze)>0},te.extend=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var r=this,n=0;n=,?^&]/.test(s)||s==="!"&&this.input.charAt(n+1)==="=")}e+=t[0].length,Ee.lastIndex=e,e+=Ee.exec(this.input)[0].length,this.input[e]===";"&&e++}},de.eat=function(e){return this.type===e?(this.next(),!0):!1},de.isContextual=function(e){return this.type===f.name&&this.value===e&&!this.containsEsc},de.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1},de.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},de.canInsertSemicolon=function(){return this.type===f.eof||this.type===f.braceR||De.test(this.input.slice(this.lastTokEnd,this.start))},de.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},de.semicolon=function(){!this.eat(f.semi)&&!this.insertSemicolon()&&this.unexpected()},de.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},de.expect=function(e){this.eat(e)||this.unexpected()},de.unexpected=function(e){this.raise(e??this.start,"Unexpected token")},de.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var r=t?e.parenthesizedAssign:e.parenthesizedBind;r>-1&&this.raiseRecoverable(r,"Parenthesized pattern")}},de.checkExpressionErrors=function(e,t){if(!e)return!1;var r=e.shorthandAssign,n=e.doubleProto;if(!t)return r>=0||n>=0;r>=0&&this.raise(r,"Shorthand property assignments are valid only in destructuring patterns"),n>=0&&this.raiseRecoverable(n,"Redefinition of __proto__ property")},de.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos=6&&this.unexpected(),this.parseFunctionStatement(s,!1,!e);case f._class:return e&&this.unexpected(),this.parseClass(s,!0);case f._if:return this.parseIfStatement(s);case f._return:return this.parseReturnStatement(s);case f._switch:return this.parseSwitchStatement(s);case f._throw:return this.parseThrowStatement(s);case f._try:return this.parseTryStatement(s);case f._const:case f._var:return o=o||this.value,e&&o!=="var"&&this.unexpected(),this.parseVarStatement(s,o);case f._while:return this.parseWhileStatement(s);case f._with:return this.parseWithStatement(s);case f.braceL:return this.parseBlock(!0,s);case f.semi:return this.parseEmptyStatement(s);case f._export:case f._import:if(this.options.ecmaVersion>10&&n===f._import){Ee.lastIndex=this.pos;var u=Ee.exec(this.input),h=this.pos+u[0].length,p=this.input.charCodeAt(h);if(p===40||p===46)return this.parseExpressionStatement(s,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),n===f._import?this.parseImport(s):this.parseExport(s,r);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(s,!0,!e);var m=this.value,g=this.parseExpression();return n===f.name&&g.type==="Identifier"&&this.eat(f.colon)?this.parseLabeledStatement(s,m,g,e):this.parseExpressionStatement(s,g)}},z.parseBreakContinueStatement=function(e,t){var r=t==="break";this.next(),this.eat(f.semi)||this.insertSemicolon()?e.label=null:this.type!==f.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var n=0;n=6?this.eat(f.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},z.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Tt),this.enterScope(0),this.expect(f.parenL),this.type===f.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var r=this.isLet();if(this.type===f._var||this.type===f._const||r){var n=this.startNode(),s=r?"let":this.value;return this.next(),this.parseVar(n,!0,s),this.finishNode(n,"VariableDeclaration"),(this.type===f._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&n.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===f._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,n)):(t>-1&&this.unexpected(t),this.parseFor(e,n))}var o=new _t,u=this.parseExpression(!0,o);return this.type===f._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===f._in?t>-1&&this.unexpected(t):e.await=t>-1),this.toAssignable(u,!1,o),this.checkLVal(u),this.parseForIn(e,u)):(this.checkExpressionErrors(o,!0),t>-1&&this.unexpected(t),this.parseFor(e,u))},z.parseFunctionStatement=function(e,t,r){return this.next(),this.parseFunction(e,Ye|(r?0:Pt),!1,t)},z.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(f._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")},z.parseReturnStatement=function(e){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(f.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},z.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(f.braceL),this.labels.push(Zr),this.enterScope(0);for(var t,r=!1;this.type!==f.braceR;)if(this.type===f._case||this.type===f._default){var n=this.type===f._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),n?t.test=this.parseExpression():(r&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),r=!0,t.test=null),this.expect(f.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},z.parseThrowStatement=function(e){return this.next(),De.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")},en=[],z.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===f._catch){var t=this.startNode();if(this.next(),this.eat(f.parenL)){t.param=this.parseBindingAtom();var r=t.param.type==="Identifier";this.enterScope(r?$t:0),this.checkLVal(t.param,r?Yt:_e),this.expect(f.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0);t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(f._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},z.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},z.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(Tt),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")},z.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")},z.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},z.parseLabeledStatement=function(e,t,r,n){for(var s=0,o=this.labels;s=0;p--){var m=this.labels[p];if(m.statementStart===e.start)m.statementStart=this.start,m.kind=h;else break}return this.labels.push({name:t,kind:h,statementStart:this.start}),e.body=this.parseStatement(n?n.indexOf("label")===-1?n+"label":n:"label"),this.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")},z.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},z.parseBlock=function(e,t,r){for(e===void 0&&(e=!0),t===void 0&&(t=this.startNode()),t.body=[],this.expect(f.braceL),e&&this.enterScope(0);this.type!==f.braceR;){var n=this.parseStatement(null);t.body.push(n)}return r&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")},z.parseFor=function(e,t){return e.init=t,this.expect(f.semi),e.test=this.type===f.semi?null:this.parseExpression(),this.expect(f.semi),e.update=this.type===f.parenR?null:this.parseExpression(),this.expect(f.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")},z.parseForIn=function(e,t){var r=this.type===f._in;return this.next(),t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!r||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")?this.raise(t.start,(r?"for-in":"for-of")+" loop variable declaration may not have an initializer"):t.type==="AssignmentPattern"&&this.raise(t.start,"Invalid left-hand side in for-loop"),e.left=t,e.right=r?this.parseExpression():this.parseMaybeAssign(),this.expect(f.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")},z.parseVar=function(e,t,r){for(e.declarations=[],e.kind=r;;){var n=this.startNode();if(this.parseVarId(n,r),this.eat(f.eq)?n.init=this.parseMaybeAssign(t):r==="const"&&!(this.type===f._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():n.id.type!=="Identifier"&&!(t&&(this.type===f._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):n.init=null,e.declarations.push(this.finishNode(n,"VariableDeclarator")),!this.eat(f.comma))break}return e},z.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLVal(e.id,t==="var"?It:_e,!1)},Ye=1,Pt=2,Zt=4,z.parseFunction=function(e,t,r,n){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!n)&&(this.type===f.star&&t&Pt&&this.unexpected(),e.generator=this.eat(f.star)),this.options.ecmaVersion>=8&&(e.async=!!n),t&Ye&&(e.id=t&Zt&&this.type!==f.name?null:this.parseIdent(),e.id&&!(t&Pt)&&this.checkLVal(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?It:_e:Qt));var s=this.yieldPos,o=this.awaitPos,u=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Vt(e.async,e.generator)),t&Ye||(e.id=this.type===f.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,r,!1),this.yieldPos=s,this.awaitPos=o,this.awaitIdentPos=u,this.finishNode(e,t&Ye?"FunctionDeclaration":"FunctionExpression")},z.parseFunctionParams=function(e){this.expect(f.parenL),e.params=this.parseBindingList(f.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},z.parseClass=function(e,t){this.next();var r=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var n=this.startNode(),s=!1;for(n.body=[],this.expect(f.braceL);this.type!==f.braceR;){var o=this.parseClassElement(e.superClass!==null);o&&(n.body.push(o),o.type==="MethodDefinition"&&o.kind==="constructor"&&(s&&this.raise(o.start,"Duplicate constructor in the same class"),s=!0))}return this.strict=r,this.next(),e.body=this.finishNode(n,"ClassBody"),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},z.parseClassElement=function(e){var t=this;if(this.eat(f.semi))return null;var r=this.startNode(),n=function(p,m){m===void 0&&(m=!1);var g=t.start,F=t.startLoc;return t.eatContextual(p)?t.type!==f.parenL&&(!m||!t.canInsertSemicolon())?!0:(r.key&&t.unexpected(),r.computed=!1,r.key=t.startNodeAt(g,F),r.key.name=p,t.finishNode(r.key,"Identifier"),!1):!1};r.kind="method",r.static=n("static");var s=this.eat(f.star),o=!1;s||(this.options.ecmaVersion>=8&&n("async",!0)?(o=!0,s=this.options.ecmaVersion>=9&&this.eat(f.star)):n("get")?r.kind="get":n("set")&&(r.kind="set")),r.key||this.parsePropertyName(r);var u=r.key,h=!1;return!r.computed&&!r.static&&(u.type==="Identifier"&&u.name==="constructor"||u.type==="Literal"&&u.value==="constructor")?(r.kind!=="method"&&this.raise(u.start,"Constructor can't have get/set modifier"),s&&this.raise(u.start,"Constructor can't be a generator"),o&&this.raise(u.start,"Constructor can't be an async method"),r.kind="constructor",h=e):r.static&&u.type==="Identifier"&&u.name==="prototype"&&this.raise(u.start,"Classes may not have a static property named prototype"),this.parseClassMethod(r,s,o,h),r.kind==="get"&&r.value.params.length!==0&&this.raiseRecoverable(r.value.start,"getter should have no params"),r.kind==="set"&&r.value.params.length!==1&&this.raiseRecoverable(r.value.start,"setter should have exactly one param"),r.kind==="set"&&r.value.params[0].type==="RestElement"&&this.raiseRecoverable(r.value.params[0].start,"Setter cannot use rest params"),r},z.parseClassMethod=function(e,t,r,n){return e.value=this.parseMethod(t,r,n),this.finishNode(e,"MethodDefinition")},z.parseClassId=function(e,t){this.type===f.name?(e.id=this.parseIdent(),t&&this.checkLVal(e.id,_e,!1)):(t===!0&&this.unexpected(),e.id=null)},z.parseClassSuper=function(e){e.superClass=this.eat(f._extends)?this.parseExprSubscripts():null},z.parseExport=function(e,t){if(this.next(),this.eat(f.star))return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseIdent(!0),this.checkExport(t,e.exported.name,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==f.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(f._default)){this.checkExport(t,"default",this.lastTokStart);var r;if(this.type===f._function||(r=this.isAsyncFunction())){var n=this.startNode();this.next(),r&&this.next(),e.declaration=this.parseFunction(n,Ye|Zt,!1,r)}else if(this.type===f._class){var s=this.startNode();e.declaration=this.parseClass(s,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(null),e.declaration.type==="VariableDeclaration"?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==f.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var o=0,u=e.specifiers;o=6&&e)switch(e.type){case"Identifier":this.inAsync&&e.name==="await"&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",r&&this.checkPatternErrors(r,!0);for(var n=0,s=e.properties;n=8&&!o&&u.name==="async"&&!this.canInsertSemicolon()&&this.eat(f._function))return this.parseFunction(this.startNodeAt(n,s),0,!1,!0);if(r&&!this.canInsertSemicolon()){if(this.eat(f.arrow))return this.parseArrowExpression(this.startNodeAt(n,s),[u],!1);if(this.options.ecmaVersion>=8&&u.name==="async"&&this.type===f.name&&!o)return u=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(f.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(n,s),[u],!0)}return u;case f.regexp:var h=this.value;return t=this.parseLiteral(h.value),t.regex={pattern:h.pattern,flags:h.flags},t;case f.num:case f.string:return this.parseLiteral(this.value);case f._null:case f._true:case f._false:return t=this.startNode(),t.value=this.type===f._null?null:this.type===f._true,t.raw=this.type.keyword,this.next(),this.finishNode(t,"Literal");case f.parenL:var p=this.start,m=this.parseParenAndDistinguishExpression(r);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(m)&&(e.parenthesizedAssign=p),e.parenthesizedBind<0&&(e.parenthesizedBind=p)),m;case f.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(f.bracketR,!0,!0,e),this.finishNode(t,"ArrayExpression");case f.braceL:return this.parseObj(!1,e);case f._function:return t=this.startNode(),this.next(),this.parseFunction(t,0);case f._class:return this.parseClass(this.startNode(),!1);case f._new:return this.parseNew();case f.backQuote:return this.parseTemplate();case f._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}},G.parseExprImport=function(){var e=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var t=this.parseIdent(!0);switch(this.type){case f.parenL:return this.parseDynamicImport(e);case f.dot:return e.meta=t,this.parseImportMeta(e);default:this.unexpected()}},G.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),!this.eat(f.parenR)){var t=this.start;this.eat(f.comma)&&this.eat(f.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")},G.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="meta"&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")},G.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),t.raw.charCodeAt(t.raw.length-1)===110&&(t.bigint=t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")},G.parseParenExpression=function(){this.expect(f.parenL);var e=this.parseExpression();return this.expect(f.parenR),e},G.parseParenAndDistinguishExpression=function(e){var t=this.start,r=this.startLoc,n,s=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var o=this.start,u=this.startLoc,h=[],p=!0,m=!1,g=new _t,F=this.yieldPos,A=this.awaitPos,C;for(this.yieldPos=0,this.awaitPos=0;this.type!==f.parenR;)if(p?p=!1:this.expect(f.comma),s&&this.afterTrailingComma(f.parenR,!0)){m=!0;break}else if(this.type===f.ellipsis){C=this.start,h.push(this.parseParenItem(this.parseRestBinding())),this.type===f.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}else h.push(this.parseMaybeAssign(!1,g,this.parseParenItem));var D=this.start,E=this.startLoc;if(this.expect(f.parenR),e&&!this.canInsertSemicolon()&&this.eat(f.arrow))return this.checkPatternErrors(g,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=F,this.awaitPos=A,this.parseParenArrowList(t,r,h);(!h.length||m)&&this.unexpected(this.lastTokStart),C&&this.unexpected(C),this.checkExpressionErrors(g,!0),this.yieldPos=F||this.yieldPos,this.awaitPos=A||this.awaitPos,h.length>1?(n=this.startNodeAt(o,u),n.expressions=h,this.finishNodeAt(n,"SequenceExpression",D,E)):n=h[0]}else n=this.parseParenExpression();if(this.options.preserveParens){var w=this.startNodeAt(t,r);return w.expression=n,this.finishNode(w,"ParenthesizedExpression")}else return n},G.parseParenItem=function(e){return e},G.parseParenArrowList=function(e,t,r){return this.parseArrowExpression(this.startNodeAt(e,t),r)},tn=[],G.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(f.dot)){e.meta=t;var r=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="target"&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),r&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.inNonArrowFunction()||this.raiseRecoverable(e.start,"'new.target' can only be used in functions"),this.finishNode(e,"MetaProperty")}var n=this.start,s=this.startLoc,o=this.type===f._import;return e.callee=this.parseSubscripts(this.parseExprAtom(),n,s,!0),o&&e.callee.type==="ImportExpression"&&this.raise(n,"Cannot use new with import()"),this.eat(f.parenL)?e.arguments=this.parseExprList(f.parenR,this.options.ecmaVersion>=8,!1):e.arguments=tn,this.finishNode(e,"NewExpression")},G.parseTemplateElement=function(e){var t=e.isTagged,r=this.startNode();return this.type===f.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),r.value={raw:this.value,cooked:null}):r.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,` +`),cooked:this.value},this.next(),r.tail=this.type===f.backQuote,this.finishNode(r,"TemplateElement")},G.parseTemplate=function(e){e===void 0&&(e={});var t=e.isTagged;t===void 0&&(t=!1);var r=this.startNode();this.next(),r.expressions=[];var n=this.parseTemplateElement({isTagged:t});for(r.quasis=[n];!n.tail;)this.type===f.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(f.dollarBraceL),r.expressions.push(this.parseExpression()),this.expect(f.braceR),r.quasis.push(n=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(r,"TemplateLiteral")},G.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===f.name||this.type===f.num||this.type===f.string||this.type===f.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===f.star)&&!De.test(this.input.slice(this.lastTokEnd,this.start))},G.parseObj=function(e,t){var r=this.startNode(),n=!0,s={};for(r.properties=[],this.next();!this.eat(f.braceR);){if(n)n=!1;else if(this.expect(f.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(f.braceR))break;var o=this.parseProperty(e,t);e||this.checkPropClash(o,s,t),r.properties.push(o)}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")},G.parseProperty=function(e,t){var r=this.startNode(),n,s,o,u;if(this.options.ecmaVersion>=9&&this.eat(f.ellipsis))return e?(r.argument=this.parseIdent(!1),this.type===f.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(r,"RestElement")):(this.type===f.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),r.argument=this.parseMaybeAssign(!1,t),this.type===f.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(r,"SpreadElement"));this.options.ecmaVersion>=6&&(r.method=!1,r.shorthand=!1,(e||t)&&(o=this.start,u=this.startLoc),e||(n=this.eat(f.star)));var h=this.containsEsc;return this.parsePropertyName(r),!e&&!h&&this.options.ecmaVersion>=8&&!n&&this.isAsyncProp(r)?(s=!0,n=this.options.ecmaVersion>=9&&this.eat(f.star),this.parsePropertyName(r,t)):s=!1,this.parsePropertyValue(r,e,n,s,o,u,t,h),this.finishNode(r,"Property")},G.parsePropertyValue=function(e,t,r,n,s,o,u,h){if((r||n)&&this.type===f.colon&&this.unexpected(),this.eat(f.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,u),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===f.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(r,n);else if(!t&&!h&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.type!==f.comma&&this.type!==f.braceR&&this.type!==f.eq){(r||n)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var p=e.kind==="get"?0:1;if(e.value.params.length!==p){var m=e.value.start;e.kind==="get"?this.raiseRecoverable(m,"getter should have no params"):this.raiseRecoverable(m,"setter should have exactly one param")}else e.kind==="set"&&e.value.params[0].type==="RestElement"&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}else this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"?((r||n)&&this.unexpected(),this.checkUnreserved(e.key),e.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=s),e.kind="init",t?e.value=this.parseMaybeDefault(s,o,e.key):this.type===f.eq&&u?(u.shorthandAssign<0&&(u.shorthandAssign=this.start),e.value=this.parseMaybeDefault(s,o,e.key)):e.value=e.key,e.shorthand=!0):this.unexpected()},G.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(f.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(f.bracketR),e.key;e.computed=!1}return e.key=this.type===f.num||this.type===f.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")},G.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},G.parseMethod=function(e,t,r){var n=this.startNode(),s=this.yieldPos,o=this.awaitPos,u=this.awaitIdentPos;return this.initFunction(n),this.options.ecmaVersion>=6&&(n.generator=e),this.options.ecmaVersion>=8&&(n.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Vt(t,n.generator)|Jt|(r?Xt:0)),this.expect(f.parenL),n.params=this.parseBindingList(f.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(n,!1,!0),this.yieldPos=s,this.awaitPos=o,this.awaitIdentPos=u,this.finishNode(n,"FunctionExpression")},G.parseArrowExpression=function(e,t,r){var n=this.yieldPos,s=this.awaitPos,o=this.awaitIdentPos;return this.enterScope(Vt(r,!1)|Gt),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!r),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1),this.yieldPos=n,this.awaitPos=s,this.awaitIdentPos=o,this.finishNode(e,"ArrowFunctionExpression")},G.parseFunctionBody=function(e,t,r){var n=t&&this.type!==f.braceL,s=this.strict,o=!1;if(n)e.body=this.parseMaybeAssign(),e.expression=!0,this.checkParams(e,!1);else{var u=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!s||u)&&(o=this.strictDirective(this.end),o&&u&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var h=this.labels;this.labels=[],o&&(this.strict=!0),this.checkParams(e,!s&&!o&&!t&&!r&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLVal(e.id,Kt),e.body=this.parseBlock(!1,void 0,o&&!s),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=h}this.exitScope()},G.isSimpleParamList=function(e){for(var t=0,r=e;t-1||s.functions.indexOf(e)>-1||s.var.indexOf(e)>-1,s.lexical.push(e),this.inModule&&s.flags&Qe&&delete this.undefinedExports[e]}else if(t===Yt){var o=this.currentScope();o.lexical.push(e)}else if(t===Qt){var u=this.currentScope();this.treatFunctionsAsVar?n=u.lexical.indexOf(e)>-1:n=u.lexical.indexOf(e)>-1||u.var.indexOf(e)>-1,u.functions.push(e)}else for(var h=this.scopeStack.length-1;h>=0;--h){var p=this.scopeStack[h];if(p.lexical.indexOf(e)>-1&&!(p.flags&$t&&p.lexical[0]===e)||!this.treatFunctionsAsVarInScope(p)&&p.functions.indexOf(e)>-1){n=!0;break}if(p.var.push(e),this.inModule&&p.flags&Qe&&delete this.undefinedExports[e],p.flags&kt)break}n&&this.raiseRecoverable(r,"Identifier '"+e+"' has already been declared")},Ie.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)},Ie.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},Ie.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&kt)return t}},Ie.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&kt&&!(t.flags&Gt))return t}},ht=function(e,t,r){this.type="",this.start=t,this.end=0,e.options.locations&&(this.loc=new et(e,r)),e.options.directSourceFile&&(this.sourceFile=e.options.directSourceFile),e.options.ranges&&(this.range=[t,0])},lt=te.prototype,lt.startNode=function(){return new ht(this,this.start,this.startLoc)},lt.startNodeAt=function(e,t){return new ht(this,e,t)},lt.finishNode=function(e,t){return Wr.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},lt.finishNodeAt=function(e,t,r,n){return Wr.call(this,e,t,r,n)},ye=function(e,t,r,n,s){this.token=e,this.isExpr=!!t,this.preserveSpace=!!r,this.override=n,this.generator=!!s},ie={b_stat:new ye("{",!1),b_expr:new ye("{",!0),b_tmpl:new ye("${",!1),p_stat:new ye("(",!1),p_expr:new ye("(",!0),q_tmpl:new ye("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new ye("function",!1),f_expr:new ye("function",!0),f_expr_gen:new ye("function",!0,!1,null,!0),f_gen:new ye("function",!1,!1,null,!0)},ct=te.prototype,ct.initialContext=function(){return[ie.b_stat]},ct.braceIsBlock=function(e){var t=this.curContext();return t===ie.f_expr||t===ie.f_stat?!0:e===f.colon&&(t===ie.b_stat||t===ie.b_expr)?!t.isExpr:e===f._return||e===f.name&&this.exprAllowed?De.test(this.input.slice(this.lastTokEnd,this.start)):e===f._else||e===f.semi||e===f.eof||e===f.parenR||e===f.arrow?!0:e===f.braceL?t===ie.b_stat:e===f._var||e===f._const||e===f.name?!1:!this.exprAllowed},ct.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token==="function")return t.generator}return!1},ct.updateContext=function(e){var t,r=this.type;r.keyword&&e===f.dot?this.exprAllowed=!1:(t=r.updateContext)?t.call(this,e):this.exprAllowed=r.beforeExpr},f.parenR.updateContext=f.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var e=this.context.pop();e===ie.b_stat&&this.curContext().token==="function"&&(e=this.context.pop()),this.exprAllowed=!e.isExpr},f.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?ie.b_stat:ie.b_expr),this.exprAllowed=!0},f.dollarBraceL.updateContext=function(){this.context.push(ie.b_tmpl),this.exprAllowed=!0},f.parenL.updateContext=function(e){var t=e===f._if||e===f._for||e===f._with||e===f._while;this.context.push(t?ie.p_stat:ie.p_expr),this.exprAllowed=!0},f.incDec.updateContext=function(){},f._function.updateContext=f._class.updateContext=function(e){e.beforeExpr&&e!==f.semi&&e!==f._else&&!(e===f._return&&De.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===f.colon||e===f.braceL)&&this.curContext()===ie.b_stat)?this.context.push(ie.f_expr):this.context.push(ie.f_stat),this.exprAllowed=!1},f.backQuote.updateContext=function(){this.curContext()===ie.q_tmpl?this.context.pop():this.context.push(ie.q_tmpl),this.exprAllowed=!1},f.star.updateContext=function(e){if(e===f._function){var t=this.context.length-1;this.context[t]===ie.f_expr?this.context[t]=ie.f_expr_gen:this.context[t]=ie.f_gen}this.exprAllowed=!0},f.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==f.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t},er="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",tr=er+" Extended_Pictographic",nn=tr,Tn={9:er,10:tr,11:nn},fr="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",rr="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",nr=rr+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",sn=nr+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",Pn={9:rr,10:nr,11:sn},dr={},qt(9),qt(10),qt(11),q=te.prototype,be=function(e){this.parser=e,this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":""),this.unicodeProperties=dr[e.options.ecmaVersion>=11?11:e.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]},be.prototype.reset=function(e,t,r){var n=r.indexOf("u")!==-1;this.start=e|0,this.source=t+"",this.flags=r,this.switchU=n&&this.parser.options.ecmaVersion>=6,this.switchN=n&&this.parser.options.ecmaVersion>=9},be.prototype.raise=function(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)},be.prototype.at=function(e,t){t===void 0&&(t=!1);var r=this.source,n=r.length;if(e>=n)return-1;var s=r.charCodeAt(e);if(!(t||this.switchU)||s<=55295||s>=57344||e+1>=n)return s;var o=r.charCodeAt(e+1);return o>=56320&&o<=57343?(s<<10)+o-56613888:s},be.prototype.nextIndex=function(e,t){t===void 0&&(t=!1);var r=this.source,n=r.length;if(e>=n)return n;var s=r.charCodeAt(e),o;return!(t||this.switchU)||s<=55295||s>=57344||e+1>=n||(o=r.charCodeAt(e+1))<56320||o>57343?e+1:e+2},be.prototype.current=function(e){return e===void 0&&(e=!1),this.at(this.pos,e)},be.prototype.lookahead=function(e){return e===void 0&&(e=!1),this.at(this.nextIndex(this.pos,e),e)},be.prototype.advance=function(e){e===void 0&&(e=!1),this.pos=this.nextIndex(this.pos,e)},be.prototype.eat=function(e,t){return t===void 0&&(t=!1),this.current(t)===e?(this.advance(t),!0):!1},q.validateRegExpFlags=function(e){for(var t=e.validFlags,r=e.flags,n=0;n-1&&this.raise(e.start,"Duplicate regular expression flag")}},q.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))},q.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames.length=0,e.backReferenceNames.length=0,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,r=e.backReferenceNames;t=9&&(r=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!r,!0}return e.pos=t,!1},q.regexp_eatQuantifier=function(e,t){return t===void 0&&(t=!1),this.regexp_eatQuantifierPrefix(e,t)?(e.eat(63),!0):!1},q.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},q.regexp_eatBracedQuantifier=function(e,t){var r=e.pos;if(e.eat(123)){var n=0,s=-1;if(this.regexp_eatDecimalDigits(e)&&(n=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(s=e.lastIntValue),e.eat(125)))return s!==-1&&s=9?this.regexp_groupSpecifier(e):e.current()===63&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1},q.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)},q.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},q.regexp_eatSyntaxCharacter=function(e){var t=e.current();return zr(t)?(e.lastIntValue=t,e.advance(),!0):!1},q.regexp_eatPatternCharacters=function(e){for(var t=e.pos,r=0;(r=e.current())!==-1&&!zr(r);)e.advance();return e.pos!==t},q.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124?(e.advance(),!0):!1},q.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e)){e.groupNames.indexOf(e.lastStringValue)!==-1&&e.raise("Duplicate capture group name"),e.groupNames.push(e.lastStringValue);return}e.raise("Invalid group")}},q.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1},q.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=St(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=St(e.lastIntValue);return!0}return!1},q.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,n=e.current(r);return e.advance(r),n===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(n=e.lastIntValue),$i(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)},q.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,n=e.current(r);return e.advance(r),n===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(n=e.lastIntValue),Ji(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)},q.regexp_eatAtomEscape=function(e){return this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)?!0:(e.switchU&&(e.current()===99&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)},q.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var r=e.lastIntValue;if(e.switchU)return r>e.maxBackReference&&(e.maxBackReference=r),!0;if(r<=e.numCapturingParens)return!0;e.pos=t}return!1},q.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1},q.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},q.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},q.regexp_eatZero=function(e){return e.current()===48&&!Lt(e.lookahead())?(e.lastIntValue=0,e.advance(),!0):!1},q.regexp_eatControlEscape=function(e){var t=e.current();return t===116?(e.lastIntValue=9,e.advance(),!0):t===110?(e.lastIntValue=10,e.advance(),!0):t===118?(e.lastIntValue=11,e.advance(),!0):t===102?(e.lastIntValue=12,e.advance(),!0):t===114?(e.lastIntValue=13,e.advance(),!0):!1},q.regexp_eatControlLetter=function(e){var t=e.current();return Sn(t)?(e.lastIntValue=t%32,e.advance(),!0):!1},q.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){t===void 0&&(t=!1);var r=e.pos,n=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var s=e.lastIntValue;if(n&&s>=55296&&s<=56319){var o=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var u=e.lastIntValue;if(u>=56320&&u<=57343)return e.lastIntValue=(s-55296)*1024+(u-56320)+65536,!0}e.pos=o,e.lastIntValue=s}return!0}if(n&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&Xi(e.lastIntValue))return!0;n&&e.raise("Invalid unicode escape"),e.pos=r}return!1},q.regexp_eatIdentityEscape=function(e){if(e.switchU)return this.regexp_eatSyntaxCharacter(e)?!0:e.eat(47)?(e.lastIntValue=47,!0):!1;var t=e.current();return t!==99&&(!e.switchN||t!==107)?(e.lastIntValue=t,e.advance(),!0):!1},q.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do e.lastIntValue=10*e.lastIntValue+(t-48),e.advance();while((t=e.current())>=48&&t<=57);return!0}return!1},q.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(Hi(t))return e.lastIntValue=-1,e.advance(),!0;if(e.switchU&&this.options.ecmaVersion>=9&&(t===80||t===112)){if(e.lastIntValue=-1,e.advance(),e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125))return!0;e.raise("Invalid property name")}return!1},q.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var r=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var n=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,r,n),!0}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var s=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,s),!0}return!1},q.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){Nt(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(r)||e.raise("Invalid property value")},q.regexp_validateUnicodePropertyNameOrValue=function(e,t){e.unicodeProperties.binary.test(t)||e.raise("Invalid property name")},q.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";bn(t=e.current());)e.lastStringValue+=St(t),e.advance();return e.lastStringValue!==""},q.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";Qi(t=e.current());)e.lastStringValue+=St(t),e.advance();return e.lastStringValue!==""},q.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},q.regexp_eatCharacterClass=function(e){if(e.eat(91)){if(e.eat(94),this.regexp_classRanges(e),e.eat(93))return!0;e.raise("Unterminated character class")}return!1},q.regexp_classRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var r=e.lastIntValue;e.switchU&&(t===-1||r===-1)&&e.raise("Invalid character class"),t!==-1&&r!==-1&&t>r&&e.raise("Range out of order in character class")}}},q.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var r=e.current();(r===99||Jr(r))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var n=e.current();return n!==93?(e.lastIntValue=n,e.advance(),!0):!1},q.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)},q.regexp_eatClassControlLetter=function(e){var t=e.current();return Lt(t)||t===95?(e.lastIntValue=t%32,e.advance(),!0):!1},q.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1},q.regexp_eatDecimalDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;Lt(r=e.current());)e.lastIntValue=10*e.lastIntValue+(r-48),e.advance();return e.pos!==t},q.regexp_eatHexDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;Gr(r=e.current());)e.lastIntValue=16*e.lastIntValue+$r(r),e.advance();return e.pos!==t},q.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var r=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=t*64+r*8+e.lastIntValue:e.lastIntValue=t*8+r}else e.lastIntValue=t;return!0}return!1},q.regexp_eatOctalDigit=function(e){var t=e.current();return Jr(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)},q.regexp_eatFixedHexDigits=function(e,t){var r=e.pos;e.lastIntValue=0;for(var n=0;n=this.input.length)return this.finishToken(f.eof);if(e.override)return e.override(this);this.readToken(this.fullCharCodeAtPos())},$.readToken=function(e){return Te(e,this.options.ecmaVersion>=6)||e===92?this.readWord():this.getTokenFromCode(e)},$.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=57344)return e;var t=this.input.charCodeAt(this.pos+1);return(e<<10)+t-56613888},$.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(r===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations){ze.lastIndex=t;for(var n;(n=ze.exec(this.input))&&n.index8&&e<14||e>=5760&&Ot.test(String.fromCharCode(e)))++this.pos;else break e}}},$.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var r=this.type;this.type=e,this.value=t,this.updateContext(r)},$.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&e===46&&t===46?(this.pos+=3,this.finishToken(f.ellipsis)):(++this.pos,this.finishToken(f.dot))},$.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):e===61?this.finishOp(f.assign,2):this.finishOp(f.slash,1)},$.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),r=1,n=e===42?f.star:f.modulo;return this.options.ecmaVersion>=7&&e===42&&t===42&&(++r,n=f.starstar,t=this.input.charCodeAt(this.pos+2)),t===61?this.finishOp(f.assign,r+1):this.finishOp(n,r)},$.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var r=this.input.charCodeAt(this.pos+2);if(r===61)return this.finishOp(f.assign,3)}return this.finishOp(e===124?f.logicalOR:f.logicalAND,2)}return t===61?this.finishOp(f.assign,2):this.finishOp(e===124?f.bitwiseOR:f.bitwiseAND,1)},$.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);return e===61?this.finishOp(f.assign,2):this.finishOp(f.bitwiseXOR,1)},$.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||De.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(f.incDec,2):t===61?this.finishOp(f.assign,2):this.finishOp(f.plusMin,1)},$.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),r=1;return t===e?(r=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+r)===61?this.finishOp(f.assign,r+1):this.finishOp(f.bitShift,r)):t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(t===61&&(r=2),this.finishOp(f.relational,r))},$.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return t===61?this.finishOp(f.equality,this.input.charCodeAt(this.pos+2)===61?3:2):e===61&&t===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(f.arrow)):this.finishOp(e===61?f.eq:f.prefix,1)},$.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var r=this.input.charCodeAt(this.pos+2);if(r<48||r>57)return this.finishOp(f.questionDot,2)}if(t===63){if(e>=12){var n=this.input.charCodeAt(this.pos+2);if(n===61)return this.finishOp(f.assign,3)}return this.finishOp(f.coalesce,2)}}return this.finishOp(f.question,1)},$.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(f.parenL);case 41:return++this.pos,this.finishToken(f.parenR);case 59:return++this.pos,this.finishToken(f.semi);case 44:return++this.pos,this.finishToken(f.comma);case 91:return++this.pos,this.finishToken(f.bracketL);case 93:return++this.pos,this.finishToken(f.bracketR);case 123:return++this.pos,this.finishToken(f.braceL);case 125:return++this.pos,this.finishToken(f.braceR);case 58:return++this.pos,this.finishToken(f.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(f.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(t===111||t===79)return this.readRadixNumber(8);if(t===98||t===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(f.prefix,1)}this.raise(this.pos,"Unexpected character '"+Ut(e)+"'")},$.finishOp=function(e,t){var r=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,r)},$.readRegexp=function(){for(var e,t,r=this.pos;;){this.pos>=this.input.length&&this.raise(r,"Unterminated regular expression");var n=this.input.charAt(this.pos);if(De.test(n)&&this.raise(r,"Unterminated regular expression"),e)e=!1;else{if(n==="[")t=!0;else if(n==="]"&&t)t=!1;else if(n==="/"&&!t)break;e=n==="\\"}++this.pos}var s=this.input.slice(r,this.pos);++this.pos;var o=this.pos,u=this.readWord1();this.containsEsc&&this.unexpected(o);var h=this.regexpState||(this.regexpState=new be(this));h.reset(r,s,u),this.validateRegExpFlags(h),this.validateRegExpPattern(h);var p=null;try{p=new RegExp(s,u)}catch{}return this.finishToken(f.regexp,{pattern:s,flags:u,value:p})},$.readInt=function(e,t,r){for(var n=this.options.ecmaVersion>=12&&t===void 0,s=r&&this.input.charCodeAt(this.pos)===48,o=this.pos,u=0,h=0,p=0,m=t??1/0;p=97?F=g-97+10:g>=65?F=g-65+10:g>=48&&g<=57?F=g-48:F=1/0,F>=e)break;h=g,u=u*e+F}return n&&h===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===o||t!=null&&this.pos-o!==t?null:u},$.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var r=this.readInt(e);return r==null&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(r=Xr(this.input.slice(t,this.pos)),++this.pos):Te(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(f.num,r)},$.readNumber=function(e){var t=this.pos;!e&&this.readInt(10,void 0,!0)===null&&this.raise(t,"Invalid number");var r=this.pos-t>=2&&this.input.charCodeAt(t)===48;r&&this.strict&&this.raise(t,"Invalid number");var n=this.input.charCodeAt(this.pos);if(!r&&!e&&this.options.ecmaVersion>=11&&n===110){var s=Xr(this.input.slice(t,this.pos));return++this.pos,Te(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(f.num,s)}r&&/[89]/.test(this.input.slice(t,this.pos))&&(r=!1),n===46&&!r&&(++this.pos,this.readInt(10),n=this.input.charCodeAt(this.pos)),(n===69||n===101)&&!r&&(n=this.input.charCodeAt(++this.pos),(n===43||n===45)&&++this.pos,this.readInt(10)===null&&this.raise(t,"Invalid number")),Te(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var o=Yi(this.input.slice(t,this.pos),r);return this.finishToken(f.num,o)},$.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){this.options.ecmaVersion<6&&this.unexpected();var r=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(r,"Code point out of bounds")}else t=this.readHexChar(4);return t},$.readString=function(e){for(var t="",r=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var n=this.input.charCodeAt(this.pos);if(n===e)break;n===92?(t+=this.input.slice(r,this.pos),t+=this.readEscapedChar(!1),r=this.pos):(Ke(n,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(r,this.pos++),this.finishToken(f.string,t)},ir={},$.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===ir)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1},$.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw ir;this.raise(e,t)},$.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var r=this.input.charCodeAt(this.pos);if(r===96||r===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===f.template||this.type===f.invalidTemplate)?r===36?(this.pos+=2,this.finishToken(f.dollarBraceL)):(++this.pos,this.finishToken(f.backQuote)):(e+=this.input.slice(t,this.pos),this.finishToken(f.template,e));if(r===92)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(Ke(r)){switch(e+=this.input.slice(t,this.pos),++this.pos,r){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:e+=` +`;break;default:e+=String.fromCharCode(r);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},$.readInvalidTemplateToken=function(){for(;this.pos=48&&t<=55){var n=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],s=parseInt(n,8);return s>255&&(n=n.slice(0,-1),s=parseInt(n,8)),this.pos+=n.length-1,t=this.input.charCodeAt(this.pos),(n!=="0"||t===56||t===57)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-n.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(s)}return Ke(t)?"":String.fromCharCode(t)}},$.readHexChar=function(e){var t=this.pos,r=this.readInt(16,e);return r===null&&this.invalidStringToken(t,"Bad character escape sequence"),r},$.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,r=this.pos,n=this.options.ecmaVersion>=6;this.pos",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"}}}),rs=K({"../../node_modules/acorn-jsx/index.js"(e,t){var r=ts(),n=/^[\da-fA-F]+$/,s=/^\d+$/,o=new WeakMap;function u(m){m=m.Parser.acorn||m;let g=o.get(m);if(!g){let F=m.tokTypes,A=m.TokContext,C=m.TokenType,D=new A("...",!0,!0),b={tc_oTag:D,tc_cTag:E,tc_expr:w},S={jsxName:new C("jsxName"),jsxText:new C("jsxText",{beforeExpr:!0}),jsxTagStart:new C("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new C("jsxTagEnd")};S.jsxTagStart.updateContext=function(){this.context.push(w),this.context.push(D),this.exprAllowed=!1},S.jsxTagEnd.updateContext=function(L){let _=this.context.pop();_===D&&L===F.slash||_===E?(this.context.pop(),this.exprAllowed=this.curContext()===w):this.exprAllowed=!0},g={tokContexts:b,tokTypes:S},o.set(m,g)}return g}function h(m){if(!m)return m;if(m.type==="JSXIdentifier")return m.name;if(m.type==="JSXNamespacedName")return m.namespace.name+":"+m.name.name;if(m.type==="JSXMemberExpression")return h(m.object)+"."+h(m.property)}t.exports=function(m){return m=m||{},function(g){return p({allowNamespaces:m.allowNamespaces!==!1,allowNamespacedObjects:!!m.allowNamespacedObjects},g)}},Object.defineProperty(t.exports,"tokTypes",{get:function(){return u((gr(),Mr(ar))).tokTypes},configurable:!0,enumerable:!0});function p(m,g){let F=g.acorn||(gr(),Mr(ar)),A=u(F),C=F.tokTypes,D=A.tokTypes,E=F.tokContexts,w=A.tokContexts.tc_oTag,b=A.tokContexts.tc_cTag,S=A.tokContexts.tc_expr,L=F.isNewLine,_=F.isIdentifierStart,x=F.isIdentifierChar;return class extends g{static get acornJsx(){return A}jsx_readToken(){let y="",v=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let B=this.input.charCodeAt(this.pos);switch(B){case 60:case 123:return this.pos===this.start?B===60&&this.exprAllowed?(++this.pos,this.finishToken(D.jsxTagStart)):this.getTokenFromCode(B):(y+=this.input.slice(v,this.pos),this.finishToken(D.jsxText,y));case 38:y+=this.input.slice(v,this.pos),y+=this.jsx_readEntity(),v=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(B===62?">":"}")+'` or `{"'+this.input[this.pos]+'"}`?');default:L(B)?(y+=this.input.slice(v,this.pos),y+=this.jsx_readNewLine(!0),v=this.pos):++this.pos}}}jsx_readNewLine(y){let v=this.input.charCodeAt(this.pos),B;return++this.pos,v===13&&this.input.charCodeAt(this.pos)===10?(++this.pos,B=y?` +`:`\r +`):B=String.fromCharCode(v),this.options.locations&&(++this.curLine,this.lineStart=this.pos),B}jsx_readString(y){let v="",B=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let P=this.input.charCodeAt(this.pos);if(P===y)break;P===38?(v+=this.input.slice(B,this.pos),v+=this.jsx_readEntity(),B=this.pos):L(P)?(v+=this.input.slice(B,this.pos),v+=this.jsx_readNewLine(!1),B=this.pos):++this.pos}return v+=this.input.slice(B,this.pos++),this.finishToken(C.string,v)}jsx_readEntity(){let y="",v=0,B,P=this.input[this.pos];P!=="&"&&this.raise(this.pos,"Entity must start with an ampersand");let j=++this.pos;for(;this.pos")}let V=j.name?"Element":"Fragment";return B["opening"+V]=j,B["closing"+V]=M,B.children=P,this.type===C.relational&&this.value==="<"&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(B,"JSX"+V)}jsx_parseText(){let y=this.parseLiteral(this.value);return y.type="JSXText",y}jsx_parseElement(){let y=this.start,v=this.startLoc;return this.next(),this.jsx_parseElementAt(y,v)}parseExprAtom(y){return this.type===D.jsxText?this.jsx_parseText():this.type===D.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(y)}readToken(y){let v=this.curContext();if(v===S)return this.jsx_readToken();if(v===w||v===b){if(_(y))return this.jsx_readWord();if(y==62)return++this.pos,this.finishToken(D.jsxTagEnd);if((y===34||y===39)&&v==w)return this.jsx_readString(y)}return y===60&&this.exprAllowed&&this.input.charCodeAt(this.pos+1)!==33?(++this.pos,this.finishToken(D.jsxTagStart)):super.readToken(y)}updateContext(y){if(this.type==C.braceL){var v=this.curContext();v==w?this.context.push(E.b_expr):v==S?this.context.push(E.b_tmpl):super.updateContext(y),this.exprAllowed=!0}else if(this.type===C.slash&&y===D.jsxTagStart)this.context.length-=2,this.context.push(b),this.exprAllowed=!1;else return super.updateContext(y)}}}}}),ns=K({"../../node_modules/@base2/pretty-print-object/dist/index.js"(e){var t=e&&e.__assign||function(){return t=Object.assign||function(p){for(var m,g=1,F=arguments.length;gta,argTypesEnhancers:()=>ia,decorators:()=>na,parameters:()=>ra});var un=nt(Bi()),Dr="custom",Ct="object",vr="array",as="class",tt="func",it="element",os=nt(ki());function _r(e){return os.default.includes(e.toLowerCase())}var ls=nt(Wi());function cs(e){for(var t=[],r=1;re.$$typeof===Symbol.for("react.memo"),gs=e=>e.$$typeof===Symbol.for("react.forward_ref");gr();var Ds=nt(rs());function On(e,t,r,n,s){r||(r=N),function o(u,h,p){var m=p||u.type,g=t[m];r[m](u,h,o),g&&g(u,h)}(e,n,s)}function As(e,t,r,n,s){var o=[];r||(r=N),function u(h,p,m){var g=m||h.type,F=t[g],A=h!==o[o.length-1];A&&o.push(h),r[g](h,p,u),F&&F(h,p||o,o),A&&o.pop()}(e,n,s)}function Sr(e,t,r){r(e,t)}function $e(e,t,r){}var N={};N.Program=N.BlockStatement=function(e,t,r){for(var n=0,s=e.body;n{}},Cs=te.extend((0,Ds.default)());function Et(e){return e!=null?e.name:null}function on(e){return e.filter(t=>t.type==="ObjectExpression"||t.type==="ArrayExpression")}function Rn(e){let t=[];return As(e,{ObjectExpression(r,n){t.push(on(n).length)},ArrayExpression(r,n){t.push(on(n).length)}},br),Math.max(...t)}function Es(e){return{inferredType:{type:"Identifier",identifier:Et(e)},ast:e}}function ys(e){return{inferredType:{type:"Literal"},ast:e}}function Fs(e){let t;On(e.body,{JSXElement(s){t=s}},br);let r={type:t!=null?"Element":"Function",params:e.params,hasParams:e.params.length!==0},n=Et(e.id);return n!=null&&(r.identifier=n),{inferredType:r,ast:e}}function xs(e){let t;return On(e.body,{JSXElement(r){t=r}},br),{inferredType:{type:t!=null?"Element":"Class",identifier:Et(e.id)},ast:e}}function vs(e){let t={type:"Element"},r=Et(e.openingElement.name);return r!=null&&(t.identifier=r),{inferredType:t,ast:e}}function _s(e){let t=e.callee.type==="MemberExpression"?e.callee.property:e.callee;return Et(t)==="shape"?jn(e.arguments[0]):null}function jn(e){return{inferredType:{type:"Object",depth:Rn(e)},ast:e}}function Ss(e){return{inferredType:{type:"Array",depth:Rn(e)},ast:e}}function bs(e){switch(e.type){case"Identifier":return Es(e);case"Literal":return ys(e);case"FunctionExpression":case"ArrowFunctionExpression":return Fs(e);case"ClassExpression":return xs(e);case"JSXElement":return vs(e);case"CallExpression":return _s(e);case"ObjectExpression":return jn(e);case"ArrayExpression":return Ss(e);default:return null}}function Bs(e){let t=Cs.parse(`(${e})`,{ecmaVersion:2020}),r={inferredType:{type:"Unknown"},ast:t};if(t.body[0]!=null){let n=t.body[0];switch(n.type){case"ExpressionStatement":{let s=bs(n.expression);s!=null&&(r=s);break}}}return r}function Oe(e){try{return{...Bs(e)}}catch{}return{inferredType:{type:"Unknown"}}}function Mn({inferredType:e,ast:t}){let{depth:r}=e;if(r<=2){let n=an(t,!0);if(!Dt(n))return ee(n)}return ee(vr,an(t))}function Vn({inferredType:e,ast:t}){let{depth:r}=e;if(r===1){let n=Ar(t,!0);if(!Dt(n))return ee(n)}return ee(Ct,Ar(t))}function Br(e,t){return t?`${e}( ... )`:`${e}()`}function jt(e){return`<${e} />`}function qn(e){let{type:t,identifier:r}=e;switch(t){case"Function":return Br(r,e.hasParams);case"Element":return jt(r);default:return r}}function ws({inferredType:e,ast:t}){let{identifier:r}=e;if(r!=null)return ee(qn(e),Le(t));let n=Le(t,!0);return Dt(n)?ee(tt,Le(t)):ee(n)}function ks(e,t){let{inferredType:r}=t,{identifier:n}=r;if(n!=null&&!_r(n)){let s=qn(r);return ee(s,e)}return Dt(e)?ee(it,e):ee(e)}function Un(e){try{let t=Oe(e);switch(t.inferredType.type){case"Object":return Vn(t);case"Function":return ws(t);case"Element":return ks(e,t);case"Array":return Mn(t);default:return null}}catch(t){console.error(t)}return null}function ln(e){return typeof e=="function"}function Is(e){return typeof e=="string"||e instanceof String}function Ts(e){var r;if(typeof e!="object"||e==null)return!1;if(Object.getPrototypeOf(e)===null)return!0;if(Object.prototype.toString.call(e)!=="[object Object]"){let n=e[Symbol.toStringTag];return n==null||!((r=Object.getOwnPropertyDescriptor(e,Symbol.toStringTag))!=null&&r.writable)?!1:e.toString()===`[object ${n}]`}let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function cn(e){return Object.prototype.toString.call(e)==="[object Object]"}function Ps(e){var t,r;return cn(e)===!1?!1:(t=e.constructor,t===void 0?!0:(r=t.prototype,!(cn(r)===!1||r.hasOwnProperty("isPrototypeOf")===!1)))}var Ns=nt(ns()),Be=nt(ss()),Pe=function(e,t){return e===0?"":new Array(e*t).fill(" ").join("")};function gt(e){"@babel/helpers - typeof";return gt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},gt(e)}function Ls(e){return Os(e)||Rs(e)||js(e)||Ms()}function Os(e){if(Array.isArray(e))return Cr(e)}function Rs(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function js(e,t){if(e){if(typeof e=="string")return Cr(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Cr(e,t)}}function Cr(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0?e.length-1:0),n=e[e.length-1];return n&&(t.type==="string"||t.type==="number")&&(n.type==="string"||n.type==="number")?r.push(Wn(String(n.value)+String(t.value))):(n&&r.push(n),r.push(t)),r},tu=function(e){return["key","ref"].includes(e)},ru=function(e){return function(t){var r=t.includes("key"),n=t.includes("ref"),s=t.filter(function(u){return!tu(u)}),o=Ls(e?s.sort():s);return n&&o.unshift("ref"),r&&o.unshift("key"),o}};function nu(e,t){return Array.isArray(t)?function(r){return t.indexOf(r)===-1}:function(r){return t(e[r],r)}}var iu=function(e,t,r,n,s){var o=s.tabStop;return e.type==="string"?t.split(` +`).map(function(u,h){return h===0?u:"".concat(Pe(n,o)).concat(u)}).join(` +`):t},su=function(e,t,r){return function(n){return iu(n,Mt(n,e,t,r),e,t,r)}},uu=function(e,t){return function(r){var n=Object.keys(e).includes(r);return!n||n&&e[r]!==t[r]}},$n=function(e,t,r,n,s){return s?Pe(r,n).length+t.length>s:e.length>1},au=function(e,t,r,n,s,o,u){return($n(e,t,s,o,u)||r)&&!n},Jn=function(e,t,r,n){var s=e.type,o=e.displayName,u=o===void 0?"":o,h=e.childrens,p=e.props,m=p===void 0?{}:p,g=e.defaultProps,F=g===void 0?{}:g;if(s!=="ReactElement")throw new Error('The "formatReactElementNode" function could only format node of type "ReactElement". Given: '.concat(s));var A=n.filterProps,C=n.maxInlineAttributesLineLength,D=n.showDefaultProps,E=n.sortProps,w=n.tabStop,b="<".concat(u),S=b,L=b,_=!1,x=[],y=nu(m,A);Object.keys(m).filter(y).filter(uu(F,m)).forEach(function(P){return x.push(P)}),Object.keys(F).filter(y).filter(function(){return D}).filter(function(P){return!x.includes(P)}).forEach(function(P){return x.push(P)});var v=ru(E)(x);if(v.forEach(function(P){var j=Zs(P,Object.keys(m).includes(P),m[P],Object.keys(F).includes(P),F[P],t,r,n),M=j.attributeFormattedInline,V=j.attributeFormattedMultiline,U=j.isMultilineAttribute;U&&(_=!0),S+=M,L+=V}),L+=` +`.concat(Pe(r,w)),au(v,S,_,t,r,w,C)?b=L:b=S,h&&h.length>0){var B=r+1;b+=">",t||(b+=` +`,b+=Pe(B,w)),b+=h.reduce(eu,[]).map(su(t,B,n)).join(t?"":` +`.concat(Pe(B,w))),t||(b+=` +`,b+=Pe(B-1,w)),b+="")}else $n(v,S,r,w,C)||(b+=" "),b+="/>";return b},ou="",dn="React.Fragment",lu=function(e,t,r){var n={};return t&&(n={key:t}),{type:"ReactElement",displayName:e,props:n,defaultProps:{},childrens:r}},cu=function(e){var t=e.key;return!!t},hu=function(e){var t=e.childrens;return t.length===0},pu=function(e,t,r,n){var s=e.type,o=e.key,u=e.childrens;if(s!=="ReactFragment")throw new Error('The "formatReactFragmentNode" function could only format node of type "ReactFragment". Given: '.concat(s));var h=n.useFragmentShortSyntax,p;return h?hu(e)||cu(e)?p=dn:p=ou:p=dn,Jn(lu(p,o,u),t,r,n)},fu=["<",">","{","}"],du=function(e){return fu.some(function(t){return e.includes(t)})},mu=function(e){return du(e)?"{`".concat(e,"`}"):e},gu=function(e){var t=e;return t.endsWith(" ")&&(t=t.replace(/^(.*?)(\s+)$/,"$1{'$2'}")),t.startsWith(" ")&&(t=t.replace(/^(\s+)(.*)$/,"{'$1'}$2")),t},Mt=function(e,t,r,n){if(e.type==="number")return String(e.value);if(e.type==="string")return e.value?"".concat(gu(mu(String(e.value)))):"";if(e.type==="ReactElement")return Jn(e,t,r,n);if(e.type==="ReactFragment")return pu(e,t,r,n);throw new TypeError('Unknow format type "'.concat(e.type,'"'))},Du=function(e,t){return Mt(e,!1,0,t)},Xn=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.filterProps,n=r===void 0?[]:r,s=t.showDefaultProps,o=s===void 0?!0:s,u=t.showFunctions,h=u===void 0?!1:u,p=t.functionValue,m=t.tabStop,g=m===void 0?2:m,F=t.useBooleanShorthandSyntax,A=F===void 0?!0:F,C=t.useFragmentShortSyntax,D=C===void 0?!0:C,E=t.sortProps,w=E===void 0?!0:E,b=t.maxInlineAttributesLineLength,S=t.displayName;if(!e)throw new Error("react-element-to-jsx-string: Expected a ReactElement");var L={filterProps:n,showDefaultProps:o,showFunctions:h,functionValue:p,tabStop:g,useBooleanShorthandSyntax:A,useFragmentShortSyntax:D,sortProps:w,maxInlineAttributesLineLength:b,displayName:S};return Du(wr(e,L),L)},mn=Xn;function Hn(e){return e.$$typeof!=null}function Qn(e,t){let{name:r}=e;return r!==""&&r!=="anonymous"&&r!==t?r:null}var Au=e=>ee(JSON.stringify(e));function Cu(e){let{type:t}=e,{displayName:r}=t,n=mn(e,{});if(r!=null){let s=jt(r);return ee(s,n)}if(Is(t)&&_r(t)){let s=mn(e,{tabStop:0}).replace(/\r?\n|\r/g,"");if(!Dt(s))return ee(s)}return ee(it,n)}var Eu=e=>{if(Hn(e)&&e.type!=null)return Cu(e);if(Ts(e)){let t=Oe(JSON.stringify(e));return Vn(t)}if(Array.isArray(e)){let t=Oe(JSON.stringify(e));return Mn(t)}return ee(Ct)},yu=(e,t)=>{let r=!1,n;if(ln(e.render))r=!0;else if(e.prototype!=null&&ln(e.prototype.render))r=!0;else{let o;try{n=Oe(e.toString());let{hasParams:u,params:h}=n.inferredType;u?h.length===1&&h[0].type==="ObjectPattern"&&(o=e({})):o=e(),o!=null&&Hn(o)&&(r=!0)}catch{}}let s=Qn(e,t.name);if(s!=null){if(r)return ee(jt(s));n!=null&&(n=Oe(e.toString()));let{hasParams:o}=n.inferredType;return ee(Br(s,o))}return ee(r?it:tt)},Fu=e=>ee(e.toString()),Yn={string:Au,object:Eu,function:yu,default:Fu};function xu(e={}){return{...Yn,...e}}function vu(e,t,r=Yn){try{switch(typeof e){case"string":return r.string(e,t);case"object":return r.object(e,t);case"function":return r.function(e,t);default:return r.default(e,t)}}catch(n){console.error(n)}return null}function _u(e,t){let r=e!=null,n=t!=null;if(!r&&!n)return"";let s=[];if(r){let o=e.map(u=>{let h=u.getPrettyName(),p=u.getTypeName();return p!=null?`${h}: ${p}`:h});s.push(`(${o.join(", ")})`)}else s.push("()");return n&&s.push(`=> ${t.getTypeName()}`),s.join(" ")}function Su(e,t){let r=e!=null,n=t!=null;if(!r&&!n)return"";let s=[];return r?s.push("( ... )"):s.push("()"),n&&s.push(`=> ${t.getTypeName()}`),s.join(" ")}function bu(e){return e.replace(/,/g,`,\r +`)}var Bu=150;function me({name:e,short:t,compact:r,full:n,inferredType:s}){return{name:e,short:t,compact:r,full:n??t,inferredType:s}}function Kn(e){return e.replace(/PropTypes./g,"").replace(/.isRequired/g,"")}function gn(e){return e.split(/\r?\n/)}function Rt(e,t=!1){return Kn(Ar(e,t))}function Dn(e,t=!1){return Kn(Le(e,t))}function wu(e){switch(e){case"Object":return Ct;case"Array":return vr;case"Class":return as;case"Function":return tt;case"Element":return it;default:return Dr}}function Zn(e,t){let{inferredType:r,ast:n}=Oe(e),{type:s}=r,o,u,h;switch(s){case"Identifier":case"Literal":o=e,u=e;break;case"Object":{let{depth:p}=r;o=Ct,u=p===1?Rt(n,!0):null,h=Rt(n);break}case"Element":{let{identifier:p}=r;o=p!=null&&!_r(p)?p:it,u=gn(e).length===1?e:null,h=e;break}case"Array":{let{depth:p}=r;o=vr,u=p<=2?Dn(n,!0):null,h=Dn(n);break}default:o=wu(s),u=gn(e).length===1?e:null,h=e;break}return me({name:t,short:o,compact:u,full:h,inferredType:s})}function ku({raw:e}){return e!=null?Zn(e,"custom"):me({name:"custom",short:Dr,compact:Dr})}function Iu(e){let{jsDocTags:t}=e;return t!=null&&(t.params!=null||t.returns!=null)?me({name:"func",short:Su(t.params,t.returns),compact:null,full:_u(t.params,t.returns)}):me({name:"func",short:tt,compact:tt})}function Tu(e,t){let r=Object.keys(e.value).map(u=>`${u}: ${rt(e.value[u],t).full}`).join(", "),{inferredType:n,ast:s}=Oe(`{ ${r} }`),{depth:o}=n;return me({name:"shape",short:Ct,compact:o===1&&s?Rt(s,!0):null,full:s?Rt(s):null})}function sr(e){return`objectOf(${e})`}function Pu(e,t){let{short:r,compact:n,full:s}=rt(e.value,t);return me({name:"objectOf",short:sr(r),compact:n!=null?sr(n):null,full:s&&sr(s)})}function Nu(e,t){if(Array.isArray(e.value)){let r=e.value.reduce((n,s)=>{let{short:o,compact:u,full:h}=rt(s,t);return n.short.push(o),n.compact.push(u),n.full.push(h),n},{short:[],compact:[],full:[]});return me({name:"union",short:r.short.join(" | "),compact:r.compact.every(n=>n!=null)?r.compact.join(" | "):null,full:r.full.join(" | ")})}return me({name:"union",short:e.value,compact:null})}function Lu({value:e,computed:t}){return t?Zn(e,"enumvalue"):me({name:"enumvalue",short:e,compact:e})}function Ou(e){if(Array.isArray(e.value)){let t=e.value.reduce((r,n)=>{let{short:s,compact:o,full:u}=Lu(n);return r.short.push(s),r.compact.push(o),r.full.push(u),r},{short:[],compact:[],full:[]});return me({name:"enum",short:t.short.join(" | "),compact:t.compact.every(r=>r!=null)?t.compact.join(" | "):null,full:t.full.join(" | ")})}return me({name:"enum",short:e.value,compact:e.value})}function yr(e){return`${e}[]`}function An(e){return`[${e}]`}function Cn(e,t,r){return me({name:"arrayOf",short:yr(e),compact:t!=null?An(t):null,full:r&&An(r)})}function Ru(e,t){let{name:r,short:n,compact:s,full:o,inferredType:u}=rt(e.value,t);if(r==="custom"){if(u==="Object")return Cn(n,s,o)}else if(r==="shape")return Cn(n,s,o);return me({name:"arrayOf",short:yr(n),compact:yr(n)})}function rt(e,t){try{switch(e.name){case"custom":return ku(e);case"func":return Iu(t);case"shape":return Tu(e,t);case"instanceOf":return me({name:"instanceOf",short:e.value,compact:e.value});case"objectOf":return Pu(e,t);case"union":return Nu(e,t);case"enum":return Ou(e);case"arrayOf":return Ru(e,t);default:return me({name:e.name,short:e.name,compact:e.name})}}catch(r){console.error(r)}return me({name:"unknown",short:"unknown",compact:"unknown"})}function ju(e){let{type:t}=e.docgenInfo;if(t==null)return null;try{switch(t.name){case"custom":case"shape":case"instanceOf":case"objectOf":case"union":case"enum":case"arrayOf":{let{short:r,compact:n,full:s}=rt(t,e);return n!=null&&!Fi(n)?ee(n):s?ee(r,s):ee(r)}case"func":{let{short:r,full:n}=rt(t,e),s=r,o;return n&&n.length{let n=(r==null?void 0:r.summary)==="element"||(r==null?void 0:r.summary)==="elementType",s=Qn(e,t);if(s!=null){if(n)return ee(jt(s));let{hasParams:o}=Oe(e.toString()).inferredType;return ee(Br(s,o))}return ee(n?it:tt)},Vu=xu({function:Mu});function qu(e,t){let{propTypes:r}=t;return r!=null?Object.keys(r).map(n=>e.find(s=>s.name===n)).filter(Boolean):e}function Uu(e,t){let{propDef:r}=e,n=ju(e);n!=null&&(r.type=n);let{defaultValue:s}=e.docgenInfo;if(s!=null&&s.value!=null){let o=Un(s.value);o!=null&&(r.defaultValue=o)}else if(t!=null){let o=vu(t,r,Vu);o!=null&&(r.defaultValue=o)}return r}function Wu(e,t){let r=t.defaultProps!=null?t.defaultProps:{},n=e.map(s=>Uu(s,r[s.propDef.name]));return qu(n,t)}function zu(e,t){let{propDef:r}=e,{defaultValue:n}=e.docgenInfo;if(n!=null&&n.value!=null){let s=Un(n.value);s!=null&&(r.defaultValue=s)}return r}function Gu(e){return e.map(t=>zu(t))}var En=new Map;Object.keys(un.default).forEach(e=>{let t=un.default[e];En.set(t,e),En.set(t.isRequired,e)});function $u(e,t){let r=e;!Ei(e)&&!e.propTypes&&Ln(e)&&(r=e.type);let n=yi(r,t);if(n.length===0)return[];switch(n[0].typeSystem){case qr.JAVASCRIPT:return Wu(n,e);case qr.TYPESCRIPT:return Gu(n);default:return n.map(s=>s.propDef)}}var Ju=e=>({rows:$u(e,"props")}),Xu=e=>{if(e){let{rows:t}=Ju(e);if(t)return t.reduce((r,n)=>{let{name:s,description:o,type:u,sbType:h,defaultValue:p,jsDocTags:m,required:g}=n;return r[s]={name:s,description:o,type:{required:g,...h},table:{type:u??void 0,jsDocTags:m,defaultValue:p??void 0}},r},{})}return null},ur=Xn,Hu=e=>e.charAt(0).toUpperCase()+e.slice(1),Qu=e=>(e.$$typeof||e).toString().replace(/^Symbol\((.*)\)$/,"$1").split(".").map(t=>t.split("_").map(Hu).join("")).join(".");function Fr(e){if(Ge.isValidElement(e)){let t=Object.keys(e.props).reduce((r,n)=>(r[n]=Fr(e.props[n]),r),{});return{...e,props:t,_owner:null}}return Array.isArray(e)?e.map(Fr):e}var Yu=(e,t)=>{if(typeof e>"u")return vt.warn("Too many skip or undefined component"),null;let r=e,n=r.type;for(let u=0;u<(t==null?void 0:t.skip);u+=1){if(typeof r>"u")return vt.warn("Cannot skip undefined element"),null;if(ft.Children.count(r)>1)return vt.warn("Trying to skip an array of elements"),null;typeof r.props.children>"u"?(vt.warn("Not enough children to skip elements."),typeof r.type=="function"&&r.type.name===""&&(r=ft.createElement(n,{...r.props}))):typeof r.props.children=="function"?r=r.props.children():r=r.props.children}let s;typeof(t==null?void 0:t.displayName)=="string"?s={showFunctions:!0,displayName:()=>t.displayName}:s={displayName:u=>{var h;return u.type.displayName?u.type.displayName:Ur(u.type,"displayName")?Ur(u.type,"displayName"):(h=u.type.render)!=null&&h.displayName?u.type.render.displayName:typeof u.type=="symbol"||u.type.$$typeof&&typeof u.type.$$typeof=="symbol"?Qu(u.type):u.type.name&&u.type.name!=="_default"?u.type.name:typeof u.type=="function"?"No Display Name":gs(u.type)?u.type.render.name:Ln(u.type)?u.type.type.name:u.type}};let o={...s,filterProps:(u,h)=>u!==void 0,...t};return ft.Children.map(e,u=>{let h=typeof u=="number"?u.toString():u,p=(typeof ur=="function"?ur:ur.default)(Fr(h),o);if(p.indexOf(""")>-1){let m=p.match(/\S+=\\"([^"]*)\\"/g);m&&m.forEach(g=>{p=p.replace(g,g.replace(/"/g,"'"))})}return p}).join(` +`).replace(/function\s+noRefCheck\(\)\s*\{\}/g,"() => {}")},Ku={skip:0,showFunctions:!1,enableBeautify:!0,showDefaultProps:!1},Zu=e=>{var n;let t=(n=e==null?void 0:e.parameters.docs)==null?void 0:n.source,r=e==null?void 0:e.parameters.__isArgsStory;return(t==null?void 0:t.type)===Vr.DYNAMIC?!1:!r||(t==null?void 0:t.code)||(t==null?void 0:t.type)===Vr.CODE},ea=e=>{var t,r;return((t=e.type)==null?void 0:t.displayName)==="MDXCreateElement"&&!!((r=e.props)!=null&&r.mdxType)},ei=e=>{if(!ea(e))return e;let{mdxType:t,originalType:r,children:n,...s}=e.props,o=[];return n&&(o=(Array.isArray(n)?n:[n]).map(ei)),Ge.createElement(r,s,...o)},ti=(e,t)=>{var g,F;let r=vi.getChannel(),n=Zu(t),s="";_i(()=>{if(!n){let{id:A,unmappedArgs:C}=t;r.emit(Ci,{id:A,source:s,args:C})}});let o=e();if(n)return o;let u={...Ku,...(t==null?void 0:t.parameters.jsx)||{}},h=(F=(g=t==null?void 0:t.parameters.docs)==null?void 0:g.source)!=null&&F.excludeDecorators?t.originalStoryFn(t.args,t):o,p=ei(h),m=Yu(p,u);return m&&(s=m),o},ta=(e,t)=>{let r=t.findIndex(s=>s.originalFn===ti),n=r===-1?t:[...t.splice(r,1),...t];return xi(e,n)},ra={docs:{story:{inline:!0},extractArgTypes:Xu,extractComponentDescription:Ai}},na=[ti],ia=[Di];export{ta as applyDecorators,ia as argTypesEnhancers,na as decorators,ra as parameters}; diff --git a/storybook-static/assets/entry-preview-yLns5Mcv.js b/storybook-static/assets/entry-preview-yLns5Mcv.js new file mode 100644 index 0000000..7518bc3 --- /dev/null +++ b/storybook-static/assets/entry-preview-yLns5Mcv.js @@ -0,0 +1,10 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./react-18-DHyDu7pi.js","./index-DJO9vBfz.js","./index-CFN9ZEHn.js"])))=>i.map(i=>d[i]); +import{_ as He}from"./iframe-SyD4S7-2.js";import{_ as lr,a as T,d as ur}from"./chunk-XP5HYGXS-D5tuasO7.js";import{r as Y,R as re}from"./index-DJO9vBfz.js";import{r as pr}from"./index-CFN9ZEHn.js";var b={};/** + * @license React + * react-dom-test-utils.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var K=Y,xe=pr;function Ke(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(r=t.return),e=t.return;while(e)}return t.tag===3?r:null}function Me(e){if(Ke(e)!==e)throw Error("Unable to find node on an unmounted component.")}function cr(e){var t=e.alternate;if(!t){if(t=Ke(e),t===null)throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var r=e,n=t;;){var i=r.return;if(i===null)break;var a=i.alternate;if(a===null){if(n=i.return,n!==null){r=n;continue}break}if(i.child===a.child){for(a=i.child;a;){if(a===r)return Me(i),e;if(a===n)return Me(i),t;a=a.sibling}throw Error("Unable to find node on an unmounted component.")}if(r.return!==n.return)r=i,n=a;else{for(var l=!1,h=i.child;h;){if(h===r){l=!0,r=i,n=a;break}if(h===n){l=!0,n=i,r=a;break}h=h.sibling}if(!l){for(h=a.child;h;){if(h===r){l=!0,r=a,n=i;break}if(h===n){l=!0,n=a,r=i;break}h=h.sibling}if(!l)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(r.alternate!==n)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(r.tag!==3)throw Error("Unable to find node on an unmounted component.");return r.stateNode.current===r?e:t}var F=Object.assign;function Te(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function ie(){return!0}function Xe(){return!1}function q(e){function t(r,n,i,a,l){this._reactName=r,this._targetInst=i,this.type=n,this.nativeEvent=a,this.target=l,this.currentTarget=null;for(var h in e)e.hasOwnProperty(h)&&(r=e[h],this[h]=r?r(a):a[h]);return this.isDefaultPrevented=(a.defaultPrevented!=null?a.defaultPrevented:a.returnValue===!1)?ie:Xe,this.isPropagationStopped=Xe,this}return F(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=ie)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=ie)},persist:function(){},isPersistent:ie}),t}var z={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},mr=q(z),se=F({},z,{view:0,detail:0});q(se);var we,Le,ee,ce=F({},se,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:De,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ee&&(ee&&e.type==="mousemove"?(we=e.screenX-ee.screenX,Le=e.screenY-ee.screenY):Le=we=0,ee=e),we)},movementY:function(e){return"movementY"in e?e.movementY:Le}});q(ce);var hr=F({},ce,{dataTransfer:0});q(hr);var fr=F({},se,{relatedTarget:0});q(fr);var dr=F({},z,{animationName:0,elapsedTime:0,pseudoElement:0});q(dr);var Er=F({},z,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}});q(Er);var vr=F({},z,{data:0});q(vr);var Rr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},gr={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"},Ir={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function $r(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Ir[e])?!!t[e]:!1}function De(){return $r}var _r=F({},se,{key:function(e){if(e.key){var t=Rr[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Te(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?gr[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:De,charCode:function(e){return e.type==="keypress"?Te(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Te(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}});q(_r);var Tr=F({},ce,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0});q(Tr);var wr=F({},se,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:De});q(wr);var Lr=F({},z,{propertyName:0,elapsedTime:0,pseudoElement:0});q(Lr);var yr=F({},ce,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0});q(yr);function Nr(e,t,r,n,i,a,l,h,s){var o=Array.prototype.slice.call(arguments,3);try{t.apply(r,o)}catch(I){this.onError(I)}}var te=!1,le=null,ue=!1,Se=null,Or={onError:function(e){te=!0,le=e}};function Sr(e,t,r,n,i,a,l,h,s){te=!1,le=null,Nr.apply(Or,arguments)}function Ar(e,t,r,n,i,a,l,h,s){if(Sr.apply(this,arguments),te){if(te){var o=le;te=!1,le=null}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.");ue||(ue=!0,Se=o)}}var Pe=Array.isArray,ne=xe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events,Cr=ne[0],xr=ne[1],Dr=ne[2],Pr=ne[3],jr=ne[4],br=K.unstable_act;function Ur(){}function kr(e,t){if(!e)return[];if(e=cr(e),!e)return[];for(var r=e,n=[];;){if(r.tag===5||r.tag===6||r.tag===1||r.tag===0){var i=r.stateNode;t(i)&&n.push(i)}if(r.child)r.child.return=r,r=r.child;else{if(r===e)return n;for(;!r.sibling;){if(!r.return||r.return===e)return n;r=r.return}r.sibling.return=r.return,r=r.sibling}}}function B(e,t){if(e&&!e._reactInternals){var r=String(e);throw e=Pe(e)?"an array":e&&e.nodeType===1&&e.tagName?"a DOM node":r==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":r,Error(t+"(...): the first argument must be a React class instance. Instead received: "+(e+"."))}}function me(e){return!(!e||e.nodeType!==1||!e.tagName)}function je(e){return me(e)?!1:e!=null&&typeof e.render=="function"&&typeof e.setState=="function"}function ze(e,t){return je(e)?e._reactInternals.type===t:!1}function he(e,t){return B(e,"findAllInRenderedTree"),e?kr(e._reactInternals,t):[]}function Ze(e,t){return B(e,"scryRenderedDOMComponentsWithClass"),he(e,function(r){if(me(r)){var n=r.className;typeof n!="string"&&(n=r.getAttribute("class")||"");var i=n.split(/\s+/);if(!Pe(t)){if(t===void 0)throw Error("TestUtils.scryRenderedDOMComponentsWithClass expects a className as a second argument.");t=t.split(/\s+/)}return t.every(function(a){return i.indexOf(a)!==-1})}return!1})}function Qe(e,t){return B(e,"scryRenderedDOMComponentsWithTag"),he(e,function(r){return me(r)&&r.tagName.toUpperCase()===t.toUpperCase()})}function Je(e,t){return B(e,"scryRenderedComponentsWithType"),he(e,function(r){return ze(r,t)})}function Ve(e,t,r){var n=e.type||"unknown-event";e.currentTarget=xr(r),Ar(n,t,void 0,e),e.currentTarget=null}function er(e,t,r){for(var n=[];e;){n.push(e);do e=e.return;while(e&&e.tag!==5);e=e||null}for(e=n.length;0console.error("SEMVER",...n):()=>{};t.exports=r}}),ae=T({"../../node_modules/semver/internal/re.js"(e,t){var{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:n,MAX_LENGTH:i}=fe(),a=de();e=t.exports={};var l=e.re=[],h=e.safeRe=[],s=e.src=[],o=e.t={},I=0,u="[a-zA-Z0-9-]",c=[["\\s",1],["\\d",i],[u,n]],m=d=>{for(let[L,y]of c)d=d.split(`${L}*`).join(`${L}{0,${y}}`).split(`${L}+`).join(`${L}{1,${y}}`);return d},p=(d,L,y)=>{let O=m(L),x=I++;a(d,x,L),o[d]=x,s[x]=L,l[x]=new RegExp(L,y?"g":void 0),h[x]=new RegExp(O,y?"g":void 0)};p("NUMERICIDENTIFIER","0|[1-9]\\d*"),p("NUMERICIDENTIFIERLOOSE","\\d+"),p("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${u}*`),p("MAINVERSION",`(${s[o.NUMERICIDENTIFIER]})\\.(${s[o.NUMERICIDENTIFIER]})\\.(${s[o.NUMERICIDENTIFIER]})`),p("MAINVERSIONLOOSE",`(${s[o.NUMERICIDENTIFIERLOOSE]})\\.(${s[o.NUMERICIDENTIFIERLOOSE]})\\.(${s[o.NUMERICIDENTIFIERLOOSE]})`),p("PRERELEASEIDENTIFIER",`(?:${s[o.NUMERICIDENTIFIER]}|${s[o.NONNUMERICIDENTIFIER]})`),p("PRERELEASEIDENTIFIERLOOSE",`(?:${s[o.NUMERICIDENTIFIERLOOSE]}|${s[o.NONNUMERICIDENTIFIER]})`),p("PRERELEASE",`(?:-(${s[o.PRERELEASEIDENTIFIER]}(?:\\.${s[o.PRERELEASEIDENTIFIER]})*))`),p("PRERELEASELOOSE",`(?:-?(${s[o.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${s[o.PRERELEASEIDENTIFIERLOOSE]})*))`),p("BUILDIDENTIFIER",`${u}+`),p("BUILD",`(?:\\+(${s[o.BUILDIDENTIFIER]}(?:\\.${s[o.BUILDIDENTIFIER]})*))`),p("FULLPLAIN",`v?${s[o.MAINVERSION]}${s[o.PRERELEASE]}?${s[o.BUILD]}?`),p("FULL",`^${s[o.FULLPLAIN]}$`),p("LOOSEPLAIN",`[v=\\s]*${s[o.MAINVERSIONLOOSE]}${s[o.PRERELEASELOOSE]}?${s[o.BUILD]}?`),p("LOOSE",`^${s[o.LOOSEPLAIN]}$`),p("GTLT","((?:<|>)?=?)"),p("XRANGEIDENTIFIERLOOSE",`${s[o.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),p("XRANGEIDENTIFIER",`${s[o.NUMERICIDENTIFIER]}|x|X|\\*`),p("XRANGEPLAIN",`[v=\\s]*(${s[o.XRANGEIDENTIFIER]})(?:\\.(${s[o.XRANGEIDENTIFIER]})(?:\\.(${s[o.XRANGEIDENTIFIER]})(?:${s[o.PRERELEASE]})?${s[o.BUILD]}?)?)?`),p("XRANGEPLAINLOOSE",`[v=\\s]*(${s[o.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[o.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[o.XRANGEIDENTIFIERLOOSE]})(?:${s[o.PRERELEASELOOSE]})?${s[o.BUILD]}?)?)?`),p("XRANGE",`^${s[o.GTLT]}\\s*${s[o.XRANGEPLAIN]}$`),p("XRANGELOOSE",`^${s[o.GTLT]}\\s*${s[o.XRANGEPLAINLOOSE]}$`),p("COERCEPLAIN",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?`),p("COERCE",`${s[o.COERCEPLAIN]}(?:$|[^\\d])`),p("COERCEFULL",s[o.COERCEPLAIN]+`(?:${s[o.PRERELEASE]})?(?:${s[o.BUILD]})?(?:$|[^\\d])`),p("COERCERTL",s[o.COERCE],!0),p("COERCERTLFULL",s[o.COERCEFULL],!0),p("LONETILDE","(?:~>?)"),p("TILDETRIM",`(\\s*)${s[o.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",p("TILDE",`^${s[o.LONETILDE]}${s[o.XRANGEPLAIN]}$`),p("TILDELOOSE",`^${s[o.LONETILDE]}${s[o.XRANGEPLAINLOOSE]}$`),p("LONECARET","(?:\\^)"),p("CARETTRIM",`(\\s*)${s[o.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",p("CARET",`^${s[o.LONECARET]}${s[o.XRANGEPLAIN]}$`),p("CARETLOOSE",`^${s[o.LONECARET]}${s[o.XRANGEPLAINLOOSE]}$`),p("COMPARATORLOOSE",`^${s[o.GTLT]}\\s*(${s[o.LOOSEPLAIN]})$|^$`),p("COMPARATOR",`^${s[o.GTLT]}\\s*(${s[o.FULLPLAIN]})$|^$`),p("COMPARATORTRIM",`(\\s*)${s[o.GTLT]}\\s*(${s[o.LOOSEPLAIN]}|${s[o.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",p("HYPHENRANGE",`^\\s*(${s[o.XRANGEPLAIN]})\\s+-\\s+(${s[o.XRANGEPLAIN]})\\s*$`),p("HYPHENRANGELOOSE",`^\\s*(${s[o.XRANGEPLAINLOOSE]})\\s+-\\s+(${s[o.XRANGEPLAINLOOSE]})\\s*$`),p("STAR","(<|>)?=?\\s*\\*"),p("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),p("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),be=T({"../../node_modules/semver/internal/parse-options.js"(e,t){var r=Object.freeze({loose:!0}),n=Object.freeze({}),i=a=>a?typeof a!="object"?r:a:n;t.exports=i}}),sr=T({"../../node_modules/semver/internal/identifiers.js"(e,t){var r=/^[0-9]+$/,n=(a,l)=>{let h=r.test(a),s=r.test(l);return h&&s&&(a=+a,l=+l),a===l?0:h&&!s?-1:s&&!h?1:an(l,a);t.exports={compareIdentifiers:n,rcompareIdentifiers:i}}}),U=T({"../../node_modules/semver/classes/semver.js"(e,t){var r=de(),{MAX_LENGTH:n,MAX_SAFE_INTEGER:i}=fe(),{safeRe:a,t:l}=ae(),h=be(),{compareIdentifiers:s}=sr(),o=class V{constructor(u,c){if(c=h(c),u instanceof V){if(u.loose===!!c.loose&&u.includePrerelease===!!c.includePrerelease)return u;u=u.version}else if(typeof u!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof u}".`);if(u.length>n)throw new TypeError(`version is longer than ${n} characters`);r("SemVer",u,c),this.options=c,this.loose=!!c.loose,this.includePrerelease=!!c.includePrerelease;let m=u.trim().match(c.loose?a[l.LOOSE]:a[l.FULL]);if(!m)throw new TypeError(`Invalid Version: ${u}`);if(this.raw=u,this.major=+m[1],this.minor=+m[2],this.patch=+m[3],this.major>i||this.major<0)throw new TypeError("Invalid major version");if(this.minor>i||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>i||this.patch<0)throw new TypeError("Invalid patch version");m[4]?this.prerelease=m[4].split(".").map(p=>{if(/^[0-9]+$/.test(p)){let d=+p;if(d>=0&&d=0;)typeof this.prerelease[d]=="number"&&(this.prerelease[d]++,d=-2);if(d===-1){if(c===this.prerelease.join(".")&&m===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(p)}}if(c){let d=[c,p];m===!1&&(d=[c]),s(this.prerelease[0],c)===0?isNaN(this.prerelease[1])&&(this.prerelease=d):this.prerelease=d}break}default:throw new Error(`invalid increment argument: ${u}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};t.exports=o}}),Z=T({"../../node_modules/semver/functions/parse.js"(e,t){var r=U(),n=(i,a,l=!1)=>{if(i instanceof r)return i;try{return new r(i,a)}catch(h){if(!l)return null;throw h}};t.exports=n}}),Vr=T({"../../node_modules/semver/functions/valid.js"(e,t){var r=Z(),n=(i,a)=>{let l=r(i,a);return l?l.version:null};t.exports=n}}),Wr=T({"../../node_modules/semver/functions/clean.js"(e,t){var r=Z(),n=(i,a)=>{let l=r(i.trim().replace(/^[=v]+/,""),a);return l?l.version:null};t.exports=n}}),Yr=T({"../../node_modules/semver/functions/inc.js"(e,t){var r=U(),n=(i,a,l,h,s)=>{typeof l=="string"&&(s=h,h=l,l=void 0);try{return new r(i instanceof r?i.version:i,l).inc(a,h,s).version}catch{return null}};t.exports=n}}),Br=T({"../../node_modules/semver/functions/diff.js"(e,t){var r=Z(),n=(i,a)=>{let l=r(i,null,!0),h=r(a,null,!0),s=l.compare(h);if(s===0)return null;let o=s>0,I=o?l:h,u=o?h:l,c=!!I.prerelease.length;if(u.prerelease.length&&!c)return!u.patch&&!u.minor?"major":I.patch?"patch":I.minor?"minor":"major";let m=c?"pre":"";return l.major!==h.major?m+"major":l.minor!==h.minor?m+"minor":l.patch!==h.patch?m+"patch":"prerelease"};t.exports=n}}),Hr=T({"../../node_modules/semver/functions/major.js"(e,t){var r=U(),n=(i,a)=>new r(i,a).major;t.exports=n}}),Kr=T({"../../node_modules/semver/functions/minor.js"(e,t){var r=U(),n=(i,a)=>new r(i,a).minor;t.exports=n}}),zr=T({"../../node_modules/semver/functions/patch.js"(e,t){var r=U(),n=(i,a)=>new r(i,a).patch;t.exports=n}}),Zr=T({"../../node_modules/semver/functions/prerelease.js"(e,t){var r=Z(),n=(i,a)=>{let l=r(i,a);return l&&l.prerelease.length?l.prerelease:null};t.exports=n}}),M=T({"../../node_modules/semver/functions/compare.js"(e,t){var r=U(),n=(i,a,l)=>new r(i,l).compare(new r(a,l));t.exports=n}}),Qr=T({"../../node_modules/semver/functions/rcompare.js"(e,t){var r=M(),n=(i,a,l)=>r(a,i,l);t.exports=n}}),Jr=T({"../../node_modules/semver/functions/compare-loose.js"(e,t){var r=M(),n=(i,a)=>r(i,a,!0);t.exports=n}}),Ue=T({"../../node_modules/semver/functions/compare-build.js"(e,t){var r=U(),n=(i,a,l)=>{let h=new r(i,l),s=new r(a,l);return h.compare(s)||h.compareBuild(s)};t.exports=n}}),et=T({"../../node_modules/semver/functions/sort.js"(e,t){var r=Ue(),n=(i,a)=>i.sort((l,h)=>r(l,h,a));t.exports=n}}),rt=T({"../../node_modules/semver/functions/rsort.js"(e,t){var r=Ue(),n=(i,a)=>i.sort((l,h)=>r(h,l,a));t.exports=n}}),Ee=T({"../../node_modules/semver/functions/gt.js"(e,t){var r=M(),n=(i,a,l)=>r(i,a,l)>0;t.exports=n}}),ke=T({"../../node_modules/semver/functions/lt.js"(e,t){var r=M(),n=(i,a,l)=>r(i,a,l)<0;t.exports=n}}),nr=T({"../../node_modules/semver/functions/eq.js"(e,t){var r=M(),n=(i,a,l)=>r(i,a,l)===0;t.exports=n}}),ar=T({"../../node_modules/semver/functions/neq.js"(e,t){var r=M(),n=(i,a,l)=>r(i,a,l)!==0;t.exports=n}}),Fe=T({"../../node_modules/semver/functions/gte.js"(e,t){var r=M(),n=(i,a,l)=>r(i,a,l)>=0;t.exports=n}}),qe=T({"../../node_modules/semver/functions/lte.js"(e,t){var r=M(),n=(i,a,l)=>r(i,a,l)<=0;t.exports=n}}),ir=T({"../../node_modules/semver/functions/cmp.js"(e,t){var r=nr(),n=ar(),i=Ee(),a=Fe(),l=ke(),h=qe(),s=(o,I,u,c)=>{switch(I){case"===":return typeof o=="object"&&(o=o.version),typeof u=="object"&&(u=u.version),o===u;case"!==":return typeof o=="object"&&(o=o.version),typeof u=="object"&&(u=u.version),o!==u;case"":case"=":case"==":return r(o,u,c);case"!=":return n(o,u,c);case">":return i(o,u,c);case">=":return a(o,u,c);case"<":return l(o,u,c);case"<=":return h(o,u,c);default:throw new TypeError(`Invalid operator: ${I}`)}};t.exports=s}}),tt=T({"../../node_modules/semver/functions/coerce.js"(e,t){var r=U(),n=Z(),{safeRe:i,t:a}=ae(),l=(h,s)=>{if(h instanceof r)return h;if(typeof h=="number"&&(h=String(h)),typeof h!="string")return null;s=s||{};let o=null;if(!s.rtl)o=h.match(s.includePrerelease?i[a.COERCEFULL]:i[a.COERCE]);else{let d=s.includePrerelease?i[a.COERCERTLFULL]:i[a.COERCERTL],L;for(;(L=d.exec(h))&&(!o||o.index+o[0].length!==h.length);)(!o||L.index+L[0].length!==o.index+o[0].length)&&(o=L),d.lastIndex=L.index+L[1].length+L[2].length;d.lastIndex=-1}if(o===null)return null;let I=o[2],u=o[3]||"0",c=o[4]||"0",m=s.includePrerelease&&o[5]?`-${o[5]}`:"",p=s.includePrerelease&&o[6]?`+${o[6]}`:"";return n(`${I}.${u}.${c}${m}${p}`,s)};t.exports=l}}),st=T({"../../node_modules/semver/internal/lrucache.js"(e,t){var r=class{constructor(){this.max=1e3,this.map=new Map}get(n){let i=this.map.get(n);if(i!==void 0)return this.map.delete(n),this.map.set(n,i),i}delete(n){return this.map.delete(n)}set(n,i){if(!this.delete(n)&&i!==void 0){if(this.map.size>=this.max){let a=this.map.keys().next().value;this.delete(a)}this.map.set(n,i)}return this}};t.exports=r}}),X=T({"../../node_modules/semver/classes/range.js"(e,t){var r=/\s+/g,n=class oe{constructor(f,g){if(g=l(g),f instanceof oe)return f.loose===!!g.loose&&f.includePrerelease===!!g.includePrerelease?f:new oe(f.raw,g);if(f instanceof h)return this.raw=f.value,this.set=[[f]],this.formatted=void 0,this;if(this.options=g,this.loose=!!g.loose,this.includePrerelease=!!g.includePrerelease,this.raw=f.trim().replace(r," "),this.set=this.raw.split("||").map(v=>this.parseRange(v.trim())).filter(v=>v.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let v=this.set[0];if(this.set=this.set.filter($=>!y($[0])),this.set.length===0)this.set=[v];else if(this.set.length>1){for(let $ of this.set)if($.length===1&&O($[0])){this.set=[$];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let f=0;f0&&(this.formatted+="||");let g=this.set[f];for(let v=0;v0&&(this.formatted+=" "),this.formatted+=g[v].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(f){let g=((this.options.includePrerelease&&d)|(this.options.loose&&L))+":"+f,v=a.get(g);if(v)return v;let $=this.options.loose,R=$?I[u.HYPHENRANGELOOSE]:I[u.HYPHENRANGE];f=f.replace(R,$e(this.options.includePrerelease)),s("hyphen replace",f),f=f.replace(I[u.COMPARATORTRIM],c),s("comparator trim",f),f=f.replace(I[u.TILDETRIM],m),s("tilde trim",f),f=f.replace(I[u.CARETTRIM],p),s("caret trim",f);let _=f.split(" ").map(C=>G(C,this.options)).join(" ").split(/\s+/).map(C=>Ie(C,this.options));$&&(_=_.filter(C=>(s("loose invalid filter",C,this.options),!!C.match(I[u.COMPARATORLOOSE])))),s("range list",_);let S=new Map,N=_.map(C=>new h(C,this.options));for(let C of N){if(y(C))return[C];S.set(C.value,C)}S.size>1&&S.has("")&&S.delete("");let A=[...S.values()];return a.set(g,A),A}intersects(f,g){if(!(f instanceof oe))throw new TypeError("a Range is required");return this.set.some(v=>x(v,g)&&f.set.some($=>x($,g)&&v.every(R=>$.every(_=>R.intersects(_,g)))))}test(f){if(!f)return!1;if(typeof f=="string")try{f=new o(f,this.options)}catch{return!1}for(let g=0;gE.value==="<0.0.0-0",O=E=>E.value==="",x=(E,f)=>{let g=!0,v=E.slice(),$=v.pop();for(;g&&v.length;)g=v.every(R=>$.intersects(R,f)),$=v.pop();return g},G=(E,f)=>(s("comp",E,f),E=P(E,f),s("caret",E),E=W(E,f),s("tildes",E),E=w(E,f),s("xrange",E),E=ge(E,f),s("stars",E),E),D=E=>!E||E.toLowerCase()==="x"||E==="*",W=(E,f)=>E.trim().split(/\s+/).map(g=>k(g,f)).join(" "),k=(E,f)=>{let g=f.loose?I[u.TILDELOOSE]:I[u.TILDE];return E.replace(g,(v,$,R,_,S)=>{s("tilde",E,v,$,R,_,S);let N;return D($)?N="":D(R)?N=`>=${$}.0.0 <${+$+1}.0.0-0`:D(_)?N=`>=${$}.${R}.0 <${$}.${+R+1}.0-0`:S?(s("replaceTilde pr",S),N=`>=${$}.${R}.${_}-${S} <${$}.${+R+1}.0-0`):N=`>=${$}.${R}.${_} <${$}.${+R+1}.0-0`,s("tilde return",N),N})},P=(E,f)=>E.trim().split(/\s+/).map(g=>j(g,f)).join(" "),j=(E,f)=>{s("caret",E,f);let g=f.loose?I[u.CARETLOOSE]:I[u.CARET],v=f.includePrerelease?"-0":"";return E.replace(g,($,R,_,S,N)=>{s("caret",E,$,R,_,S,N);let A;return D(R)?A="":D(_)?A=`>=${R}.0.0${v} <${+R+1}.0.0-0`:D(S)?R==="0"?A=`>=${R}.${_}.0${v} <${R}.${+_+1}.0-0`:A=`>=${R}.${_}.0${v} <${+R+1}.0.0-0`:N?(s("replaceCaret pr",N),R==="0"?_==="0"?A=`>=${R}.${_}.${S}-${N} <${R}.${_}.${+S+1}-0`:A=`>=${R}.${_}.${S}-${N} <${R}.${+_+1}.0-0`:A=`>=${R}.${_}.${S}-${N} <${+R+1}.0.0-0`):(s("no pr"),R==="0"?_==="0"?A=`>=${R}.${_}.${S}${v} <${R}.${_}.${+S+1}-0`:A=`>=${R}.${_}.${S}${v} <${R}.${+_+1}.0-0`:A=`>=${R}.${_}.${S} <${+R+1}.0.0-0`),s("caret return",A),A})},w=(E,f)=>(s("replaceXRanges",E,f),E.split(/\s+/).map(g=>Q(g,f)).join(" ")),Q=(E,f)=>{E=E.trim();let g=f.loose?I[u.XRANGELOOSE]:I[u.XRANGE];return E.replace(g,(v,$,R,_,S,N)=>{s("xRange",E,v,$,R,_,S,N);let A=D(R),C=A||D(_),H=C||D(S),J=H;return $==="="&&J&&($=""),N=f.includePrerelease?"-0":"",A?$===">"||$==="<"?v="<0.0.0-0":v="*":$&&J?(C&&(_=0),S=0,$===">"?($=">=",C?(R=+R+1,_=0,S=0):(_=+_+1,S=0)):$==="<="&&($="<",C?R=+R+1:_=+_+1),$==="<"&&(N="-0"),v=`${$+R}.${_}.${S}${N}`):C?v=`>=${R}.0.0${N} <${+R+1}.0.0-0`:H&&(v=`>=${R}.${_}.0${N} <${R}.${+_+1}.0-0`),s("xRange return",v),v})},ge=(E,f)=>(s("replaceStars",E,f),E.trim().replace(I[u.STAR],"")),Ie=(E,f)=>(s("replaceGTE0",E,f),E.trim().replace(I[f.includePrerelease?u.GTE0PRE:u.GTE0],"")),$e=E=>(f,g,v,$,R,_,S,N,A,C,H,J)=>(D(v)?g="":D($)?g=`>=${v}.0.0${E?"-0":""}`:D(R)?g=`>=${v}.${$}.0${E?"-0":""}`:_?g=`>=${g}`:g=`>=${g}${E?"-0":""}`,D(A)?N="":D(C)?N=`<${+A+1}.0.0-0`:D(H)?N=`<${A}.${+C+1}.0-0`:J?N=`<=${A}.${C}.${H}-${J}`:E?N=`<${A}.${C}.${+H+1}-0`:N=`<=${N}`,`${g} ${N}`.trim()),_e=(E,f,g)=>{for(let v=0;v0){let $=E[v].semver;if($.major===f.major&&$.minor===f.minor&&$.patch===f.patch)return!0}return!1}return!0}}}),ve=T({"../../node_modules/semver/classes/comparator.js"(e,t){var r=Symbol("SemVer ANY"),n=class Ae{static get ANY(){return r}constructor(c,m){if(m=i(m),c instanceof Ae){if(c.loose===!!m.loose)return c;c=c.value}c=c.trim().split(/\s+/).join(" "),s("comparator",c,m),this.options=m,this.loose=!!m.loose,this.parse(c),this.semver===r?this.value="":this.value=this.operator+this.semver.version,s("comp",this)}parse(c){let m=this.options.loose?a[l.COMPARATORLOOSE]:a[l.COMPARATOR],p=c.match(m);if(!p)throw new TypeError(`Invalid comparator: ${c}`);this.operator=p[1]!==void 0?p[1]:"",this.operator==="="&&(this.operator=""),p[2]?this.semver=new o(p[2],this.options.loose):this.semver=r}toString(){return this.value}test(c){if(s("Comparator.test",c,this.options.loose),this.semver===r||c===r)return!0;if(typeof c=="string")try{c=new o(c,this.options)}catch{return!1}return h(c,this.operator,this.semver,this.options)}intersects(c,m){if(!(c instanceof Ae))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new I(c.value,m).test(this.value):c.operator===""?c.value===""?!0:new I(this.value,m).test(c.semver):(m=i(m),m.includePrerelease&&(this.value==="<0.0.0-0"||c.value==="<0.0.0-0")||!m.includePrerelease&&(this.value.startsWith("<0.0.0")||c.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&c.operator.startsWith(">")||this.operator.startsWith("<")&&c.operator.startsWith("<")||this.semver.version===c.semver.version&&this.operator.includes("=")&&c.operator.includes("=")||h(this.semver,"<",c.semver,m)&&this.operator.startsWith(">")&&c.operator.startsWith("<")||h(this.semver,">",c.semver,m)&&this.operator.startsWith("<")&&c.operator.startsWith(">")))}};t.exports=n;var i=be(),{safeRe:a,t:l}=ae(),h=ir(),s=de(),o=U(),I=X()}}),Re=T({"../../node_modules/semver/functions/satisfies.js"(e,t){var r=X(),n=(i,a,l)=>{try{a=new r(a,l)}catch{return!1}return a.test(i)};t.exports=n}}),nt=T({"../../node_modules/semver/ranges/to-comparators.js"(e,t){var r=X(),n=(i,a)=>new r(i,a).set.map(l=>l.map(h=>h.value).join(" ").trim().split(" "));t.exports=n}}),at=T({"../../node_modules/semver/ranges/max-satisfying.js"(e,t){var r=U(),n=X(),i=(a,l,h)=>{let s=null,o=null,I=null;try{I=new n(l,h)}catch{return null}return a.forEach(u=>{I.test(u)&&(!s||o.compare(u)===-1)&&(s=u,o=new r(s,h))}),s};t.exports=i}}),it=T({"../../node_modules/semver/ranges/min-satisfying.js"(e,t){var r=U(),n=X(),i=(a,l,h)=>{let s=null,o=null,I=null;try{I=new n(l,h)}catch{return null}return a.forEach(u=>{I.test(u)&&(!s||o.compare(u)===1)&&(s=u,o=new r(s,h))}),s};t.exports=i}}),ot=T({"../../node_modules/semver/ranges/min-version.js"(e,t){var r=U(),n=X(),i=Ee(),a=(l,h)=>{l=new n(l,h);let s=new r("0.0.0");if(l.test(s)||(s=new r("0.0.0-0"),l.test(s)))return s;s=null;for(let o=0;o{let m=new r(c.semver.version);switch(c.operator){case">":m.prerelease.length===0?m.patch++:m.prerelease.push(0),m.raw=m.format();case"":case">=":(!u||i(m,u))&&(u=m);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${c.operator}`)}}),u&&(!s||i(s,u))&&(s=u)}return s&&l.test(s)?s:null};t.exports=a}}),lt=T({"../../node_modules/semver/ranges/valid.js"(e,t){var r=X(),n=(i,a)=>{try{return new r(i,a).range||"*"}catch{return null}};t.exports=n}}),Ge=T({"../../node_modules/semver/ranges/outside.js"(e,t){var r=U(),n=ve(),{ANY:i}=n,a=X(),l=Re(),h=Ee(),s=ke(),o=qe(),I=Fe(),u=(c,m,p,d)=>{c=new r(c,d),m=new a(m,d);let L,y,O,x,G;switch(p){case">":L=h,y=o,O=s,x=">",G=">=";break;case"<":L=s,y=I,O=h,x="<",G="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(l(c,m,d))return!1;for(let D=0;D{j.semver===i&&(j=new n(">=0.0.0")),k=k||j,P=P||j,L(j.semver,k.semver,d)?k=j:O(j.semver,P.semver,d)&&(P=j)}),k.operator===x||k.operator===G||(!P.operator||P.operator===x)&&y(c,P.semver)||P.operator===G&&O(c,P.semver))return!1}return!0};t.exports=u}}),ut=T({"../../node_modules/semver/ranges/gtr.js"(e,t){var r=Ge(),n=(i,a,l)=>r(i,a,">",l);t.exports=n}}),pt=T({"../../node_modules/semver/ranges/ltr.js"(e,t){var r=Ge(),n=(i,a,l)=>r(i,a,"<",l);t.exports=n}}),ct=T({"../../node_modules/semver/ranges/intersects.js"(e,t){var r=X(),n=(i,a,l)=>(i=new r(i,l),a=new r(a,l),i.intersects(a,l));t.exports=n}}),mt=T({"../../node_modules/semver/ranges/simplify.js"(e,t){var r=Re(),n=M();t.exports=(i,a,l)=>{let h=[],s=null,o=null,I=i.sort((p,d)=>n(p,d,l));for(let p of I)r(p,a,l)?(o=p,s||(s=p)):(o&&h.push([s,o]),o=null,s=null);s&&h.push([s,null]);let u=[];for(let[p,d]of h)p===d?u.push(p):!d&&p===I[0]?u.push("*"):d?p===I[0]?u.push(`<=${d}`):u.push(`${p} - ${d}`):u.push(`>=${p}`);let c=u.join(" || "),m=typeof a.raw=="string"?a.raw:String(a);return c.length{if(m===p)return!0;m=new r(m,d),p=new r(p,d);let L=!1;e:for(let y of m.set){for(let O of p.set){let x=I(y,O,d);if(L=L||x!==null,x)continue e}if(L)return!1}return!0},s=[new n(">=0.0.0-0")],o=[new n(">=0.0.0")],I=(m,p,d)=>{if(m===p)return!0;if(m.length===1&&m[0].semver===i){if(p.length===1&&p[0].semver===i)return!0;d.includePrerelease?m=s:m=o}if(p.length===1&&p[0].semver===i){if(d.includePrerelease)return!0;p=o}let L=new Set,y,O;for(let w of m)w.operator===">"||w.operator===">="?y=u(y,w,d):w.operator==="<"||w.operator==="<="?O=c(O,w,d):L.add(w.semver);if(L.size>1)return null;let x;if(y&&O&&(x=l(y.semver,O.semver,d),x>0||x===0&&(y.operator!==">="||O.operator!=="<=")))return null;for(let w of L){if(y&&!a(w,String(y),d)||O&&!a(w,String(O),d))return null;for(let Q of p)if(!a(w,String(Q),d))return!1;return!0}let G,D,W,k,P=O&&!d.includePrerelease&&O.semver.prerelease.length?O.semver:!1,j=y&&!d.includePrerelease&&y.semver.prerelease.length?y.semver:!1;P&&P.prerelease.length===1&&O.operator==="<"&&P.prerelease[0]===0&&(P=!1);for(let w of p){if(k=k||w.operator===">"||w.operator===">=",W=W||w.operator==="<"||w.operator==="<=",y){if(j&&w.semver.prerelease&&w.semver.prerelease.length&&w.semver.major===j.major&&w.semver.minor===j.minor&&w.semver.patch===j.patch&&(j=!1),w.operator===">"||w.operator===">="){if(G=u(y,w,d),G===w&&G!==y)return!1}else if(y.operator===">="&&!a(y.semver,String(w),d))return!1}if(O){if(P&&w.semver.prerelease&&w.semver.prerelease.length&&w.semver.major===P.major&&w.semver.minor===P.minor&&w.semver.patch===P.patch&&(P=!1),w.operator==="<"||w.operator==="<="){if(D=c(O,w,d),D===w&&D!==O)return!1}else if(O.operator==="<="&&!a(O.semver,String(w),d))return!1}if(!w.operator&&(O||y)&&x!==0)return!1}return!(y&&W&&!O&&x!==0||O&&k&&!y&&x!==0||j||P)},u=(m,p,d)=>{if(!m)return p;let L=l(m.semver,p.semver,d);return L>0?m:L<0||p.operator===">"&&m.operator===">="?p:m},c=(m,p,d)=>{if(!m)return p;let L=l(m.semver,p.semver,d);return L<0?m:L>0||p.operator==="<"&&m.operator==="<="?p:m};t.exports=h}}),ft=T({"../../node_modules/semver/index.js"(e,t){var r=ae(),n=fe(),i=U(),a=sr(),l=Z(),h=Vr(),s=Wr(),o=Yr(),I=Br(),u=Hr(),c=Kr(),m=zr(),p=Zr(),d=M(),L=Qr(),y=Jr(),O=Ue(),x=et(),G=rt(),D=Ee(),W=ke(),k=nr(),P=ar(),j=Fe(),w=qe(),Q=ir(),ge=tt(),Ie=ve(),$e=X(),_e=Re(),E=nt(),f=at(),g=it(),v=ot(),$=lt(),R=Ge(),_=ut(),S=pt(),N=ct(),A=mt(),C=ht();t.exports={parse:l,valid:h,clean:s,inc:o,diff:I,major:u,minor:c,patch:m,prerelease:p,compare:d,rcompare:L,compareLoose:y,compareBuild:O,sort:x,rsort:G,gt:D,lt:W,eq:k,neq:P,gte:j,lte:w,cmp:Q,coerce:ge,Comparator:Ie,Range:$e,satisfies:_e,toComparators:E,maxSatisfying:f,minSatisfying:g,minVersion:v,validRange:$,outside:R,gtr:_,ltr:S,intersects:N,simplifyRange:A,subset:C,SemVer:i,re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:n.SEMVER_SPEC_VERSION,RELEASE_TYPES:n.RELEASE_TYPES,compareIdentifiers:a.compareIdentifiers,rcompareIdentifiers:a.rcompareIdentifiers}}}),dt={};ur(dt,{beforeAll:()=>Tt,decorators:()=>_t,mount:()=>It,parameters:()=>$t,render:()=>vt,renderToCanvas:()=>gt});var We=lr(ft());function Ye(e){globalThis.IS_REACT_ACT_ENVIRONMENT=e}function Et(){return globalThis.IS_REACT_ACT_ENVIRONMENT}var pe=e=>e(),vt=(e,t)=>{let{id:r,component:n}=t;if(!n)throw new Error(`Unable to render story ${r} as the component annotation is missing from the default export`);return re.createElement(n,{...e})},{FRAMEWORK_OPTIONS:Ne}=Xr,Rt=class extends Y.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidMount(){let{hasError:e}=this.state,{showMain:t}=this.props;e||t()}componentDidCatch(e){let{showException:t}=this.props;t(e)}render(){let{hasError:e}=this.state,{children:t}=this.props;return e?null:t}},Be=Ne!=null&&Ne.strictMode?Y.StrictMode:Y.Fragment,Ce=[],Oe=!1,or=async()=>{if(Oe||Ce.length===0)return;Oe=!0;let e=Ce.shift();e&&await e(),Oe=!1,or()};async function gt({storyContext:e,unboundStoryFn:t,showMain:r,showException:n,forceRemount:i},a){let{renderElement:l,unmountElement:h}=await He(async()=>{const{renderElement:u,unmountElement:c}=await import("./react-18-DHyDu7pi.js");return{renderElement:u,unmountElement:c}},__vite__mapDeps([0,1,2]),import.meta.url),s=t,o=e.parameters.__isPortableStory?re.createElement(s,{...e}):re.createElement(Rt,{showMain:r,showException:n},re.createElement(s,{...e})),I=Be?re.createElement(Be,null,o):o;return i&&h(a),await new Promise(async(u,c)=>{Ce.push(async()=>{try{await pe(async()=>{var m,p;await l(I,a,(p=(m=e==null?void 0:e.parameters)==null?void 0:m.react)==null?void 0:p.rootOptions)}),u()}catch(m){c(m)}}),or()}),async()=>{await pe(()=>{h(a)})}}var It=e=>async t=>(t!=null&&(e.originalStoryFn=()=>t),await e.renderToCanvas(),e.canvas),$t={renderer:"react"},_t=[(e,t)=>{var i,a;if(!((a=(i=t.parameters)==null?void 0:i.react)!=null&&a.rsc))return e();let r=We.default.major(Y.version),n=We.default.minor(Y.version);if(r<18||r===18&&n<3)throw new Error("React Server Components require React >= 18.3");return Y.createElement(Y.Suspense,null,e())}],Tt=async()=>{try{let{configure:e}=await He(async()=>{const{configure:t}=await import("./index-D5sgrwUF.js");return{configure:t}},[],import.meta.url);e({unstable_advanceTimersWrapper:t=>pe(t),asyncWrapper:async t=>{let r=Et();Ye(!1);try{let n=await t();return await new Promise(i=>{setTimeout(()=>{i()},0),wt()&&jest.advanceTimersByTime(0)}),n}finally{Ye(r)}},eventWrapper:t=>{let r;return pe(()=>(r=t(),r)),r}})}catch{}};function wt(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}export{Tt as beforeAll,_t as decorators,It as mount,$t as parameters,vt as render,gt as renderToCanvas}; diff --git a/storybook-static/assets/figma-plugin-CH2hELiO.png b/storybook-static/assets/figma-plugin-CH2hELiO.png new file mode 100644 index 0000000..8f79b08 Binary files /dev/null and b/storybook-static/assets/figma-plugin-CH2hELiO.png differ diff --git a/storybook-static/assets/iframe-SyD4S7-2.js b/storybook-static/assets/iframe-SyD4S7-2.js new file mode 100644 index 0000000..9b68ac8 --- /dev/null +++ b/storybook-static/assets/iframe-SyD4S7-2.js @@ -0,0 +1,211 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Button.stories-CsH6fT5H.js","./index-D5sgrwUF.js","./Button-DOAMjGti.js","./jsx-runtime-SKoiH9zj.js","./index-DJO9vBfz.js","./Button-B2efaGtC.css","./Configure-Er8gSaE9.js","./index-BrnU7xv7.js","./index-B6FmI-p2.js","./index-CFN9ZEHn.js","./index-DSAa9q1k.js","./index-DrFu-skq.js","./ConfirmButton.stories-DyrtO96u.js","./Header.stories-BP_x00oS.js","./Header-DY8Qp02P.js","./Header-Ck-SSN7O.css","./Page.stories-DJbfVDNt.js","./Page-CeeQJVdd.css","./entry-preview-yLns5Mcv.js","./chunk-XP5HYGXS-D5tuasO7.js","./entry-preview-docs-ys20Qm2A.js","./preview-B8lJiyuQ.js","./preview-BWzBA1C2.js"])))=>i.map(i=>d[i]); +(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))o(a);new MutationObserver(a=>{for(const i of a)if(i.type==="childList")for(const u of i.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&o(u)}).observe(document,{childList:!0,subtree:!0});function r(a){const i={};return a.integrity&&(i.integrity=a.integrity),a.referrerPolicy&&(i.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?i.credentials="include":a.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function o(a){if(a.ep)return;a.ep=!0;const i=r(a);fetch(a.href,i)}})();const scriptRel="modulepreload",assetsURL=function(t,e){return new URL(t,e).href},seen={},__vitePreload=function(e,r,o){let a=Promise.resolve();if(r&&r.length>0){const u=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),c=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));a=Promise.allSettled(r.map(d=>{if(d=assetsURL(d,o),d in seen)return;seen[d]=!0;const m=d.endsWith(".css"),h=m?'[rel="stylesheet"]':"";if(!!o)for(let ne=u.length-1;ne>=0;ne--){const le=u[ne];if(le.href===d&&(!m||le.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${d}"]${h}`))return;const J=document.createElement("link");if(J.rel=m?"stylesheet":scriptRel,m||(J.as="script"),J.crossOrigin="",J.href=d,c&&J.setAttribute("nonce",c),document.head.appendChild(J),m)return new Promise((ne,le)=>{J.addEventListener("load",ne),J.addEventListener("error",()=>le(new Error(`Unable to preload CSS for ${d}`)))})}))}function i(u){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=u,window.dispatchEvent(l),!l.defaultPrevented)throw u}return a.then(u=>{for(const l of u||[])l.status==="rejected"&&i(l.reason);return e().catch(i)})};var tl=Object.create,et=Object.defineProperty,ol=Object.getOwnPropertyDescriptor,nl=Object.getOwnPropertyNames,sl=Object.getPrototypeOf,il=Object.prototype.hasOwnProperty,n=(t,e)=>et(t,"name",{value:e,configurable:!0}),cr=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(e,r)=>(typeof require<"u"?require:e)[r]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')}),q=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),_e=(t,e)=>{for(var r in e)et(t,r,{get:e[r],enumerable:!0})},al=(t,e,r,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of nl(e))!il.call(t,a)&&a!==r&&et(t,a,{get:()=>e[a],enumerable:!(o=ol(e,a))||o.enumerable});return t},ue=(t,e,r)=>(r=t!=null?tl(sl(t)):{},al(et(r,"default",{value:t,enumerable:!0}),t)),it=q((t,e)=>{(function(r){if(typeof t=="object"&&typeof e<"u")e.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var o;typeof window<"u"?o=window:typeof global<"u"?o=global:typeof self<"u"?o=self:o=this,o.memoizerific=r()}})(function(){return n(function r(o,a,i){function u(d,m){if(!a[d]){if(!o[d]){var h=typeof cr=="function"&&cr;if(!m&&h)return h(d,!0);if(l)return l(d,!0);var g=new Error("Cannot find module '"+d+"'");throw g.code="MODULE_NOT_FOUND",g}var J=a[d]={exports:{}};o[d][0].call(J.exports,function(ne){var le=o[d][1][ne];return u(le||ne)},J,J.exports,r,o,a,i)}return a[d].exports}n(u,"s");for(var l=typeof cr=="function"&&cr,c=0;c=0)return this.lastItem=this.list[l],this.list[l].val},i.prototype.set=function(u,l){var c;return this.lastItem&&this.isEqual(this.lastItem.key,u)?(this.lastItem.val=l,this):(c=this.indexOf(u),c>=0?(this.lastItem=this.list[c],this.list[c].val=l,this):(this.lastItem={key:u,val:l},this.list.push(this.lastItem),this.size++,this))},i.prototype.delete=function(u){var l;if(this.lastItem&&this.isEqual(this.lastItem.key,u)&&(this.lastItem=void 0),l=this.indexOf(u),l>=0)return this.size--,this.list.splice(l,1)[0]},i.prototype.has=function(u){var l;return this.lastItem&&this.isEqual(this.lastItem.key,u)?!0:(l=this.indexOf(u),l>=0?(this.lastItem=this.list[l],!0):!1)},i.prototype.forEach=function(u,l){var c;for(c=0;c0&&(F[ce]={cacheItem:ne,arg:arguments[ce]},se?u(h,F):h.push(F),h.length>d&&l(h.shift())),J.wasMemoized=se,J.numArgs=ce+1,re},"memoizerific");return J.limit=d,J.wasMemoized=!1,J.cache=m,J.lru=h,J}};function u(d,m){var h=d.length,g=m.length,J,ne,le;for(ne=0;ne=0&&(h=d[J],g=h.cacheItem.get(h.arg),!g||!g.size);J--)h.cacheItem.delete(h.arg)}n(l,"removeCachedResult");function c(d,m){return d===m||d!==d&&m!==m}n(c,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})}),wi=q(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isEqual=function(){var e=Object.prototype.toString,r=Object.getPrototypeOf,o=Object.getOwnPropertySymbols?function(a){return Object.keys(a).concat(Object.getOwnPropertySymbols(a))}:Object.keys;return function(a,i){return n(function u(l,c,d){var m,h,g,J=e.call(l),ne=e.call(c);if(l===c)return!0;if(l==null||c==null)return!1;if(d.indexOf(l)>-1&&d.indexOf(c)>-1)return!0;if(d.push(l,c),J!=ne||(m=o(l),h=o(c),m.length!=h.length||m.some(function(le){return!u(l[le],c[le],d)})))return!1;switch(J.slice(8,-1)){case"Symbol":return l.valueOf()==c.valueOf();case"Date":case"Number":return+l==+c||+l!=+l&&+c!=+c;case"RegExp":case"Function":case"String":case"Boolean":return""+l==""+c;case"Set":case"Map":m=l.entries(),h=c.entries();do if(!u((g=m.next()).value,h.next().value,d))return!1;while(!g.done);return!0;case"ArrayBuffer":l=new Uint8Array(l),c=new Uint8Array(c);case"DataView":l=new Uint8Array(l.buffer),c=new Uint8Array(c.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(l.length!=c.length)return!1;for(g=0;g{Object.defineProperty(t,"__esModule",{value:!0}),t.encodeString=o;var e=Array.from({length:256},(a,i)=>"%"+((i<16?"0":"")+i.toString(16)).toUpperCase()),r=new Int8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,1,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,0]);function o(a){let i=a.length;if(i===0)return"";let u="",l=0,c=0;e:for(;c>6]+e[128|d&63];continue}if(d<55296||d>=57344){l=c+1,u+=e[224|d>>12]+e[128|d>>6&63]+e[128|d&63];continue}if(++c,c>=i)throw new Error("URI malformed");let m=a.charCodeAt(c)&1023;l=c+1,d=65536+((d&1023)<<10|m),u+=e[240|d>>18]+e[128|d>>12&63]+e[128|d>>6&63]+e[128|d&63]}return l===0?a:l{Object.defineProperty(t,"__esModule",{value:!0}),t.defaultOptions=t.defaultShouldSerializeObject=t.defaultValueSerializer=void 0;var e=qn(),r=n(i=>{switch(typeof i){case"string":return(0,e.encodeString)(i);case"bigint":case"boolean":return""+i;case"number":if(Number.isFinite(i))return i<1e21?""+i:(0,e.encodeString)(""+i);break}return i instanceof Date?(0,e.encodeString)(i.toISOString()):""},"defaultValueSerializer");t.defaultValueSerializer=r;var o=n(i=>i instanceof Date,"defaultShouldSerializeObject");t.defaultShouldSerializeObject=o;var a=n(i=>i,"identityFunc");t.defaultOptions={nesting:!0,nestingSyntax:"dot",arrayRepeat:!1,arrayRepeatSyntax:"repeat",delimiter:38,valueDeserializer:a,valueSerializer:t.defaultValueSerializer,keyDeserializer:a,shouldSerializeObject:t.defaultShouldSerializeObject}}),Vn=q(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getDeepObject=a,t.stringifyObject=m;var e=It(),r=qn();function o(h){return h==="__proto__"||h==="constructor"||h==="prototype"}n(o,"isPrototypeKey");function a(h,g,J,ne,le){if(o(g))return h;let re=h[g];return typeof re=="object"&&re!==null?re:!ne&&(le||typeof J=="number"||typeof J=="string"&&J*0===0&&J.indexOf(".")===-1)?h[g]=[]:h[g]={}}n(a,"getDeepObject");var i=20,u="[]",l="[",c="]",d=".";function m(h,g,J=0,ne,le){let{nestingSyntax:re=e.defaultOptions.nestingSyntax,arrayRepeat:ce=e.defaultOptions.arrayRepeat,arrayRepeatSyntax:F=e.defaultOptions.arrayRepeatSyntax,nesting:se=e.defaultOptions.nesting,delimiter:he=e.defaultOptions.delimiter,valueSerializer:Ve=e.defaultOptions.valueSerializer,shouldSerializeObject:ve=e.defaultOptions.shouldSerializeObject}=g,we=typeof he=="number"?String.fromCharCode(he):he,Nt=le===!0&&ce,Bt=re==="dot"||re==="js"&&!le;if(J>i)return"";let Ft="",jt=!0,qe=!1;for(let Dt in h){let p=h[Dt],A;ne?(A=ne,Nt?F==="bracket"&&(A+=u):Bt?(A+=d,A+=Dt):(A+=l,A+=Dt,A+=c)):A=Dt,jt||(Ft+=we),typeof p=="object"&&p!==null&&!ve(p)?(qe=p.pop!==void 0,(se||ce&&qe)&&(Ft+=m(p,g,J+1,A,qe))):(Ft+=(0,r.encodeString)(A),Ft+="=",Ft+=Ve(p,Dt)),jt&&(jt=!1)}return Ft}n(m,"stringifyObject")}),na=q((t,e)=>{var r=12,o=0,a=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,7,7,7,7,7,7,7,7,7,7,7,7,8,7,7,10,9,9,9,11,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,24,36,48,60,72,84,96,0,12,12,12,0,0,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0,0,24,24,24,0,0,0,0,0,0,0,0,0,24,24,0,0,0,0,0,0,0,0,0,0,48,48,48,0,0,0,0,0,0,0,0,0,0,48,48,0,0,0,0,0,0,0,0,0,48,0,0,0,0,0,0,0,0,0,0,127,63,63,63,0,31,15,15,15,7,7,7];function i(c){var d=c.indexOf("%");if(d===-1)return c;for(var m=c.length,h="",g=0,J=0,ne=d,le=r;d>-1&&d>10),56320+(J&1023)),J=0,g=d+3,d=ne=c.indexOf("%",g);else{if(le===o)return null;if(d+=3,d{var e=t&&t.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(t,"__esModule",{value:!0}),t.numberValueDeserializer=t.numberKeyDeserializer=void 0,t.parse=m;var r=Vn(),o=It(),a=e(na()),i=n(h=>{let g=Number(h);return Number.isNaN(g)?h:g},"numberKeyDeserializer");t.numberKeyDeserializer=i;var u=n(h=>{let g=Number(h);return Number.isNaN(g)?h:g},"numberValueDeserializer");t.numberValueDeserializer=u;var l=/\+/g,c=n(function(){},"Empty");c.prototype=Object.create(null);function d(h,g,J,ne,le){let re=h.substring(g,J);return ne&&(re=re.replace(l," ")),le&&(re=(0,a.default)(re)||re),re}n(d,"computeKeySlice");function m(h,g){let{valueDeserializer:J=o.defaultOptions.valueDeserializer,keyDeserializer:ne=o.defaultOptions.keyDeserializer,arrayRepeatSyntax:le=o.defaultOptions.arrayRepeatSyntax,nesting:re=o.defaultOptions.nesting,arrayRepeat:ce=o.defaultOptions.arrayRepeat,nestingSyntax:F=o.defaultOptions.nestingSyntax,delimiter:se=o.defaultOptions.delimiter}=g??{},he=typeof se=="string"?se.charCodeAt(0):se,Ve=F==="js",ve=new c;if(typeof h!="string")return ve;let we=h.length,Nt="",Bt=-1,Ft=-1,jt=-1,qe=ve,Dt,p="",A="",B=!1,de=!1,pe=!1,Lt=!1,qt=!1,Ut=!1,Mt=!1,Gt=0,lr=-1,zr=-1,Qr=-1;for(let Vt=0;VtBt,Mt||(Ft=Vt),jt!==Ft-1&&(A=d(h,jt+1,lr>-1?lr:Ft,pe,B),p=ne(A),Dt!==void 0&&(qe=(0,r.getDeepObject)(qe,Dt,p,Ve&&qt,Ve&&Ut))),Mt||p!==""){Mt&&(Nt=h.slice(Ft+1,Vt),Lt&&(Nt=Nt.replace(l," ")),de&&(Nt=(0,a.default)(Nt)||Nt));let Jr=J(Nt,p);if(ce){let Zr=qe[p];Zr===void 0?lr>-1?qe[p]=[Jr]:qe[p]=Jr:Zr.pop?Zr.push(Jr):qe[p]=[Zr,Jr]}else qe[p]=Jr}Nt="",Bt=Vt,Ft=Vt,B=!1,de=!1,pe=!1,Lt=!1,qt=!1,Ut=!1,lr=-1,jt=Vt,qe=ve,Dt=void 0,p=""}else Gt===93?(ce&&le==="bracket"&&Qr===91&&(lr=zr),re&&(F==="index"||Ve)&&Ft<=Bt&&(jt!==zr&&(A=d(h,jt+1,Vt,pe,B),p=ne(A),Dt!==void 0&&(qe=(0,r.getDeepObject)(qe,Dt,p,void 0,Ve)),Dt=p,pe=!1,B=!1),jt=Vt,Ut=!0,qt=!1)):Gt===46?re&&(F==="dot"||Ve)&&Ft<=Bt&&(jt!==zr&&(A=d(h,jt+1,Vt,pe,B),p=ne(A),Dt!==void 0&&(qe=(0,r.getDeepObject)(qe,Dt,p,Ve)),Dt=p,pe=!1,B=!1),qt=!0,Ut=!1,jt=Vt):Gt===91?re&&(F==="index"||Ve)&&Ft<=Bt&&(jt!==zr&&(A=d(h,jt+1,Vt,pe,B),p=ne(A),Ve&&Dt!==void 0&&(qe=(0,r.getDeepObject)(qe,Dt,p,Ve)),Dt=p,pe=!1,B=!1,qt=!1,Ut=!0),jt=Vt):Gt===61?Ft<=Bt?Ft=Vt:de=!0:Gt===43?Ft>Bt?Lt=!0:pe=!0:Gt===37&&(Ft>Bt?de=!0:B=!0);zr=Vt,Qr=Gt}return ve}n(m,"parse")}),ca=q(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.stringify=r;var e=Vn();function r(o,a){if(o===null||typeof o!="object")return"";let i=a??{};return(0,e.stringifyObject)(o,i)}n(r,"stringify")}),kt=q(t=>{var e=t&&t.__createBinding||(Object.create?function(i,u,l,c){c===void 0&&(c=l);var d=Object.getOwnPropertyDescriptor(u,l);(!d||("get"in d?!u.__esModule:d.writable||d.configurable))&&(d={enumerable:!0,get:n(function(){return u[l]},"get")}),Object.defineProperty(i,c,d)}:function(i,u,l,c){c===void 0&&(c=l),i[c]=u[l]}),r=t&&t.__exportStar||function(i,u){for(var l in i)l!=="default"&&!Object.prototype.hasOwnProperty.call(u,l)&&e(u,i,l)};Object.defineProperty(t,"__esModule",{value:!0}),t.stringify=t.parse=void 0;var o=la();Object.defineProperty(t,"parse",{enumerable:!0,get:n(function(){return o.parse},"get")});var a=ca();Object.defineProperty(t,"stringify",{enumerable:!0,get:n(function(){return a.stringify},"get")}),r(It(),t)}),Kn=q((t,e)=>{e.exports={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:` +`,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}}),ha=q((t,e)=>{e.exports={Aacute:"Á",aacute:"á",Acirc:"Â",acirc:"â",acute:"´",AElig:"Æ",aelig:"æ",Agrave:"À",agrave:"à",amp:"&",AMP:"&",Aring:"Å",aring:"å",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",brvbar:"¦",Ccedil:"Ç",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",Eacute:"É",eacute:"é",Ecirc:"Ê",ecirc:"ê",Egrave:"È",egrave:"è",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",Iacute:"Í",iacute:"í",Icirc:"Î",icirc:"î",iexcl:"¡",Igrave:"Ì",igrave:"ì",iquest:"¿",Iuml:"Ï",iuml:"ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",Ntilde:"Ñ",ntilde:"ñ",Oacute:"Ó",oacute:"ó",Ocirc:"Ô",ocirc:"ô",Ograve:"Ò",ograve:"ò",ordf:"ª",ordm:"º",Oslash:"Ø",oslash:"ø",Otilde:"Õ",otilde:"õ",Ouml:"Ö",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",THORN:"Þ",thorn:"þ",times:"×",Uacute:"Ú",uacute:"ú",Ucirc:"Û",ucirc:"û",Ugrave:"Ù",ugrave:"ù",uml:"¨",Uuml:"Ü",uuml:"ü",Yacute:"Ý",yacute:"ý",yen:"¥",yuml:"ÿ"}}),Xn=q((t,e)=>{e.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}}),ga=q((t,e)=>{e.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}}),ba=q(t=>{var e=t&&t.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(t,"__esModule",{value:!0});var r=e(ga()),o=String.fromCodePoint||function(i){var u="";return i>65535&&(i-=65536,u+=String.fromCharCode(i>>>10&1023|55296),i=56320|i&1023),u+=String.fromCharCode(i),u};function a(i){return i>=55296&&i<=57343||i>1114111?"�":(i in r.default&&(i=r.default[i]),o(i))}n(a,"decodeCodePoint"),t.default=a}),Qn=q(t=>{var e=t&&t.__importDefault||function(m){return m&&m.__esModule?m:{default:m}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeHTML=t.decodeHTMLStrict=t.decodeXML=void 0;var r=e(Kn()),o=e(ha()),a=e(Xn()),i=e(ba()),u=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;t.decodeXML=l(a.default),t.decodeHTMLStrict=l(r.default);function l(m){var h=d(m);return function(g){return String(g).replace(u,h)}}n(l,"getStrictDecoder");var c=n(function(m,h){return m{var e=t&&t.__importDefault||function(F){return F&&F.__esModule?F:{default:F}};Object.defineProperty(t,"__esModule",{value:!0}),t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=void 0;var r=e(Xn()),o=c(r.default),a=d(o);t.encodeXML=ce(o);var i=e(Kn()),u=c(i.default),l=d(u);t.encodeHTML=J(u,l),t.encodeNonAsciiHTML=ce(u);function c(F){return Object.keys(F).sort().reduce(function(se,he){return se[F[he]]="&"+he+";",se},{})}n(c,"getInverseObj");function d(F){for(var se=[],he=[],Ve=0,ve=Object.keys(F);Ve1?h(F):F.charCodeAt(0)).toString(16).toUpperCase()+";"}n(g,"singleCharReplacer");function J(F,se){return function(he){return he.replace(se,function(Ve){return F[Ve]}).replace(m,g)}}n(J,"getInverse");var ne=new RegExp(a.source+"|"+m.source,"g");function le(F){return F.replace(ne,g)}n(le,"escape"),t.escape=le;function re(F){return F.replace(a,g)}n(re,"escapeUTF8"),t.escapeUTF8=re;function ce(F){return function(se){return se.replace(ne,function(he){return F[he]||g(he)})}}n(ce,"getASCIIEncoder")}),Da=q(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.encodeHTML5=t.encodeHTML4=t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=t.encode=t.decodeStrict=t.decode=void 0;var e=Qn(),r=es();function o(c,d){return(!d||d<=0?e.decodeXML:e.decodeHTML)(c)}n(o,"decode"),t.decode=o;function a(c,d){return(!d||d<=0?e.decodeXML:e.decodeHTMLStrict)(c)}n(a,"decodeStrict"),t.decodeStrict=a;function i(c,d){return(!d||d<=0?r.encodeXML:r.encodeHTML)(c)}n(i,"encode"),t.encode=i;var u=es();Object.defineProperty(t,"encodeXML",{enumerable:!0,get:n(function(){return u.encodeXML},"get")}),Object.defineProperty(t,"encodeHTML",{enumerable:!0,get:n(function(){return u.encodeHTML},"get")}),Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:!0,get:n(function(){return u.encodeNonAsciiHTML},"get")}),Object.defineProperty(t,"escape",{enumerable:!0,get:n(function(){return u.escape},"get")}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:n(function(){return u.escapeUTF8},"get")}),Object.defineProperty(t,"encodeHTML4",{enumerable:!0,get:n(function(){return u.encodeHTML},"get")}),Object.defineProperty(t,"encodeHTML5",{enumerable:!0,get:n(function(){return u.encodeHTML},"get")});var l=Qn();Object.defineProperty(t,"decodeXML",{enumerable:!0,get:n(function(){return l.decodeXML},"get")}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:n(function(){return l.decodeHTML},"get")}),Object.defineProperty(t,"decodeHTMLStrict",{enumerable:!0,get:n(function(){return l.decodeHTMLStrict},"get")}),Object.defineProperty(t,"decodeHTML4",{enumerable:!0,get:n(function(){return l.decodeHTML},"get")}),Object.defineProperty(t,"decodeHTML5",{enumerable:!0,get:n(function(){return l.decodeHTML},"get")}),Object.defineProperty(t,"decodeHTML4Strict",{enumerable:!0,get:n(function(){return l.decodeHTMLStrict},"get")}),Object.defineProperty(t,"decodeHTML5Strict",{enumerable:!0,get:n(function(){return l.decodeHTMLStrict},"get")}),Object.defineProperty(t,"decodeXMLStrict",{enumerable:!0,get:n(function(){return l.decodeXML},"get")})}),Ha=q((t,e)=>{function r(p,A){if(!(p instanceof A))throw new TypeError("Cannot call a class as a function")}n(r,"_classCallCheck");function o(p,A){for(var B=0;B=p.length?{done:!0}:{done:!1,value:p[de++]}},"n"),e:n(function(Mt){throw Mt},"e"),f:pe}}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 Lt=!0,qt=!1,Ut;return{s:n(function(){B=B.call(p)},"s"),n:n(function(){var Mt=B.next();return Lt=Mt.done,Mt},"n"),e:n(function(Mt){qt=!0,Ut=Mt},"e"),f:n(function(){try{!Lt&&B.return!=null&&B.return()}finally{if(qt)throw Ut}},"f")}}n(i,"_createForOfIteratorHelper");function u(p,A){if(p){if(typeof p=="string")return l(p,A);var B=Object.prototype.toString.call(p).slice(8,-1);if(B==="Object"&&p.constructor&&(B=p.constructor.name),B==="Map"||B==="Set")return Array.from(p);if(B==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(B))return l(p,A)}}n(u,"_unsupportedIterableToArray");function l(p,A){(A==null||A>p.length)&&(A=p.length);for(var B=0,de=new Array(A);B0?p*40+55:0,qt=A>0?A*40+55:0,Ut=B>0?B*40+55:0;de[pe]=J([Lt,qt,Ut])}n(h,"setStyleColor");function g(p){for(var A=p.toString(16);A.length<2;)A="0"+A;return A}n(g,"toHexString");function J(p){var A=[],B=i(p),de;try{for(B.s();!(de=B.n()).done;){var pe=de.value;A.push(g(pe))}}catch(Lt){B.e(Lt)}finally{B.f()}return"#"+A.join("")}n(J,"toColorHexString");function ne(p,A,B,de){var pe;return A==="text"?pe=Ve(B,de):A==="display"?pe=re(p,B,de):A==="xterm256Foreground"?pe=Nt(p,de.colors[B]):A==="xterm256Background"?pe=Bt(p,de.colors[B]):A==="rgb"&&(pe=le(p,B)),pe}n(ne,"generateOutput");function le(p,A){A=A.substring(2).slice(0,-1);var B=+A.substr(0,2),de=A.substring(5).split(";"),pe=de.map(function(Lt){return("0"+Number(Lt).toString(16)).substr(-2)}).join("");return we(p,(B===38?"color:#":"background-color:#")+pe)}n(le,"handleRgb");function re(p,A,B){A=parseInt(A,10);var de={"-1":n(function(){return"
"},"_"),0:n(function(){return p.length&&ce(p)},"_"),1:n(function(){return ve(p,"b")},"_"),3:n(function(){return ve(p,"i")},"_"),4:n(function(){return ve(p,"u")},"_"),8:n(function(){return we(p,"display:none")},"_"),9:n(function(){return ve(p,"strike")},"_"),22:n(function(){return we(p,"font-weight:normal;text-decoration:none;font-style:normal")},"_"),23:n(function(){return Ft(p,"i")},"_"),24:n(function(){return Ft(p,"u")},"_"),39:n(function(){return Nt(p,B.fg)},"_"),49:n(function(){return Bt(p,B.bg)},"_"),53:n(function(){return we(p,"text-decoration:overline")},"_")},pe;return de[A]?pe=de[A]():4"}).join("")}n(ce,"resetStyles");function F(p,A){for(var B=[],de=p;de<=A;de++)B.push(de);return B}n(F,"range");function se(p){return function(A){return(p===null||A.category!==p)&&p!=="all"}}n(se,"notCategory");function he(p){p=parseInt(p,10);var A=null;return p===0?A="all":p===1?A="bold":2")}n(ve,"pushTag");function we(p,A){return ve(p,"span",A)}n(we,"pushStyle");function Nt(p,A){return ve(p,"span","color:"+A)}n(Nt,"pushForegroundColor");function Bt(p,A){return ve(p,"span","background-color:"+A)}n(Bt,"pushBackgroundColor");function Ft(p,A){var B;if(p.slice(-1)[0]===A&&(B=p.pop()),B)return""}n(Ft,"closeTag");function jt(p,A,B){var de=!1,pe=3;function Lt(){return""}n(Lt,"remove");function qt(Kr,Xr){return B("xterm256Foreground",Xr),""}n(qt,"removeXterm256Foreground");function Ut(Kr,Xr){return B("xterm256Background",Xr),""}n(Ut,"removeXterm256Background");function Mt(Kr){return A.newline?B("display",-1):B("text",Kr),""}n(Mt,"newline");function Gt(Kr,Xr){de=!0,Xr.trim().length===0&&(Xr="0"),Xr=Xr.trimRight(";").split(";");var Bn=i(Xr),zn;try{for(Bn.s();!(zn=Bn.n()).done;){var is=zn.value;B("display",is)}}catch(ys){Bn.e(ys)}finally{Bn.f()}return""}n(Gt,"ansiMess");function lr(Kr){return B("text",Kr),""}n(lr,"realText");function zr(Kr){return B("rgb",Kr),""}n(zr,"rgb");var Qr=[{pattern:/^\x08+/,sub:Lt},{pattern:/^\x1b\[[012]?K/,sub:Lt},{pattern:/^\x1b\[\(B/,sub:Lt},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:zr},{pattern:/^\x1b\[38;5;(\d+)m/,sub:qt},{pattern:/^\x1b\[48;5;(\d+)m/,sub:Ut},{pattern:/^\n/,sub:Mt},{pattern:/^\r+\n/,sub:Mt},{pattern:/^\r/,sub:Mt},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:Gt},{pattern:/^\x1b\[\d?J/,sub:Lt},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:Lt},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:Lt},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:lr}];function Vt(Kr,Xr){Xr>pe&&de||(de=!1,p=p.replace(Kr.pattern,Kr.sub))}n(Vt,"process");var Jr=[],Zr=p,Tn=Zr.length;e:for(;Tn>0;){for(var Gn=0,Hn=0,So=Qr.length;Hn{(function(r,o){typeof t=="object"&&typeof e<"u"?e.exports=o():typeof define=="function"&&define.amd?define(o):(r=typeof globalThis<"u"?globalThis:r||self).BrowserDetector=o()})(t,function(){function r(c,d){for(var m=0;m1&&arguments[1]!==void 0?arguments[1]:-1,"})?")),m=Number(c).toString().match(d);return m?m[0]:null},"n"),u=n(function(){return typeof window<"u"?window.navigator:null},"i"),l=function(){function c(g){var J;(function(ne,le){if(!(ne instanceof le))throw new TypeError("Cannot call a class as a function")})(this,c),this.userAgent=g||((J=u())===null||J===void 0?void 0:J.userAgent)||null}n(c,"t");var d,m,h;return d=c,m=[{key:"parseUserAgent",value:n(function(g){var J,ne,le,re={},ce=g||this.userAgent||"",F=ce.toLowerCase().replace(/\s\s+/g," "),se=/(edge)\/([\w.]+)/.exec(F)||/(edg)[/]([\w.]+)/.exec(F)||/(opr)[/]([\w.]+)/.exec(F)||/(opt)[/]([\w.]+)/.exec(F)||/(fxios)[/]([\w.]+)/.exec(F)||/(edgios)[/]([\w.]+)/.exec(F)||/(jsdom)[/]([\w.]+)/.exec(F)||/(samsungbrowser)[/]([\w.]+)/.exec(F)||/(electron)[/]([\w.]+)/.exec(F)||/(chrome)[/]([\w.]+)/.exec(F)||/(crios)[/]([\w.]+)/.exec(F)||/(opios)[/]([\w.]+)/.exec(F)||/(version)(applewebkit)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(F)||/(webkit)[/]([\w.]+).*(version)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(F)||/(applewebkit)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(F)||/(webkit)[/]([\w.]+)/.exec(F)||/(opera)(?:.*version|)[/]([\w.]+)/.exec(F)||/(msie) ([\w.]+)/.exec(F)||/(fennec)[/]([\w.]+)/.exec(F)||F.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(F)||F.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(F)||[],he=/(ipad)/.exec(F)||/(ipod)/.exec(F)||/(iphone)/.exec(F)||/(jsdom)/.exec(F)||/(windows phone)/.exec(F)||/(xbox)/.exec(F)||/(win)/.exec(F)||/(tablet)/.exec(F)||/(android)/.test(F)&&/(mobile)/.test(F)===!1&&["androidTablet"]||/(android)/.exec(F)||/(mac)/.exec(F)||/(linux)/.exec(F)||/(cros)/.exec(F)||[],Ve=se[5]||se[3]||se[1]||null,ve=he[0]||null,we=se[4]||se[2]||null,Nt=u();Ve==="chrome"&&typeof(Nt==null||(J=Nt.brave)===null||J===void 0?void 0:J.isBrave)=="function"&&(Ve="brave"),Ve&&(re[Ve]=!0),ve&&(re[ve]=!0);var Bt=!!(re.tablet||re.android||re.androidTablet),Ft=!!(re.ipad||re.tablet||re.androidTablet),jt=!!(re.android||re.androidTablet||re.tablet||re.ipad||re.ipod||re.iphone||re["windows phone"]),qe=!!(re.cros||re.mac||re.linux||re.win),Dt=!!(re.brave||re.chrome||re.crios||re.opr||re.safari||re.edg||re.electron),p=!!(re.msie||re.rv);return{name:(ne=o[Ve])!==null&&ne!==void 0?ne:null,platform:(le=a[ve])!==null&&le!==void 0?le:null,userAgent:ce,version:we,shortVersion:we?i(parseFloat(we),2):null,isAndroid:Bt,isTablet:Ft,isMobile:jt,isDesktop:qe,isWebkit:Dt,isIE:p}},"value")},{key:"getBrowserInfo",value:n(function(){var g=this.parseUserAgent();return{name:g.name,platform:g.platform,userAgent:g.userAgent,version:g.version,shortVersion:g.shortVersion}},"value")}],h=[{key:"VERSION",get:n(function(){return"3.4.0"},"get")}],m&&r(d.prototype,m),h&&r(d,h),Object.defineProperty(d,"prototype",{writable:!1}),c}();return l})}),Ht={};_e(Ht,{global:()=>E$1});var E$1=(()=>{let t;return typeof window<"u"?t=window:typeof globalThis<"u"?t=globalThis:typeof global<"u"?t=global:typeof self<"u"?t=self:t={},t})(),ge={};_e(ge,{ARGTYPES_INFO_REQUEST:()=>fo,ARGTYPES_INFO_RESPONSE:()=>nt,CHANNEL_CREATED:()=>cl,CHANNEL_WS_DISCONNECT:()=>Wt,CONFIG_ERROR:()=>$t,CREATE_NEW_STORYFILE_REQUEST:()=>pl,CREATE_NEW_STORYFILE_RESPONSE:()=>dl,CURRENT_STORY_WAS_SET:()=>rt,DOCS_PREPARED:()=>Yt,DOCS_RENDERED:()=>pr,FILE_COMPONENT_SEARCH_REQUEST:()=>ul,FILE_COMPONENT_SEARCH_RESPONSE:()=>fl,FORCE_REMOUNT:()=>Kt,FORCE_RE_RENDER:()=>dr,GLOBALS_UPDATED:()=>Ce,NAVIGATE_URL:()=>yl,PLAY_FUNCTION_THREW_EXCEPTION:()=>Xt,PRELOAD_ENTRIES:()=>Qt,PREVIEW_BUILDER_PROGRESS:()=>ml,PREVIEW_KEYDOWN:()=>Zt,REGISTER_SUBSCRIPTION:()=>hl,REQUEST_WHATS_NEW_DATA:()=>wl,RESET_STORY_ARGS:()=>ur,RESULT_WHATS_NEW_DATA:()=>_l,SAVE_STORY_REQUEST:()=>Ol,SAVE_STORY_RESPONSE:()=>Il,SELECT_STORY:()=>gl,SET_CONFIG:()=>Sl,SET_CURRENT_STORY:()=>eo,SET_FILTER:()=>bl,SET_GLOBALS:()=>ro,SET_INDEX:()=>Tl,SET_STORIES:()=>El,SET_WHATS_NEW_CACHE:()=>Cl,SHARED_STATE_CHANGED:()=>Rl,SHARED_STATE_SET:()=>Al,STORIES_COLLAPSE_ALL:()=>xl,STORIES_EXPAND_ALL:()=>vl,STORY_ARGS_UPDATED:()=>to,STORY_CHANGED:()=>oo,STORY_ERRORED:()=>no,STORY_FINISHED:()=>ot,STORY_INDEX_INVALIDATED:()=>so,STORY_MISSING:()=>tt,STORY_PREPARED:()=>io,STORY_RENDERED:()=>We,STORY_RENDER_PHASE_CHANGED:()=>Pe,STORY_SPECIFIED:()=>ao,STORY_THREW_EXCEPTION:()=>lo,STORY_UNCHANGED:()=>co,TELEMETRY_ERROR:()=>uo,TESTING_MODULE_CANCEL_TEST_RUN_REQUEST:()=>Ll,TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE:()=>jl,TESTING_MODULE_CRASH_REPORT:()=>Fl,TESTING_MODULE_PROGRESS_REPORT:()=>Dl,TESTING_MODULE_RUN_ALL_REQUEST:()=>kl,TESTING_MODULE_RUN_REQUEST:()=>Nl,TOGGLE_WHATS_NEW_NOTIFICATIONS:()=>Pl,UNHANDLED_ERRORS_WHILE_PLAYING:()=>Jt,UPDATE_GLOBALS:()=>fr,UPDATE_QUERY_PARAMS:()=>po,UPDATE_STORY_ARGS:()=>yr,default:()=>ll});var zt=(t=>(t.CHANNEL_WS_DISCONNECT="channelWSDisconnect",t.CHANNEL_CREATED="channelCreated",t.CONFIG_ERROR="configError",t.STORY_INDEX_INVALIDATED="storyIndexInvalidated",t.STORY_SPECIFIED="storySpecified",t.SET_CONFIG="setConfig",t.SET_STORIES="setStories",t.SET_INDEX="setIndex",t.SET_CURRENT_STORY="setCurrentStory",t.CURRENT_STORY_WAS_SET="currentStoryWasSet",t.FORCE_RE_RENDER="forceReRender",t.FORCE_REMOUNT="forceRemount",t.PRELOAD_ENTRIES="preloadStories",t.STORY_PREPARED="storyPrepared",t.DOCS_PREPARED="docsPrepared",t.STORY_CHANGED="storyChanged",t.STORY_UNCHANGED="storyUnchanged",t.STORY_RENDERED="storyRendered",t.STORY_FINISHED="storyFinished",t.STORY_MISSING="storyMissing",t.STORY_ERRORED="storyErrored",t.STORY_THREW_EXCEPTION="storyThrewException",t.STORY_RENDER_PHASE_CHANGED="storyRenderPhaseChanged",t.PLAY_FUNCTION_THREW_EXCEPTION="playFunctionThrewException",t.UNHANDLED_ERRORS_WHILE_PLAYING="unhandledErrorsWhilePlaying",t.UPDATE_STORY_ARGS="updateStoryArgs",t.STORY_ARGS_UPDATED="storyArgsUpdated",t.RESET_STORY_ARGS="resetStoryArgs",t.SET_FILTER="setFilter",t.SET_GLOBALS="setGlobals",t.UPDATE_GLOBALS="updateGlobals",t.GLOBALS_UPDATED="globalsUpdated",t.REGISTER_SUBSCRIPTION="registerSubscription",t.PREVIEW_KEYDOWN="previewKeydown",t.PREVIEW_BUILDER_PROGRESS="preview_builder_progress",t.SELECT_STORY="selectStory",t.STORIES_COLLAPSE_ALL="storiesCollapseAll",t.STORIES_EXPAND_ALL="storiesExpandAll",t.DOCS_RENDERED="docsRendered",t.SHARED_STATE_CHANGED="sharedStateChanged",t.SHARED_STATE_SET="sharedStateSet",t.NAVIGATE_URL="navigateUrl",t.UPDATE_QUERY_PARAMS="updateQueryParams",t.REQUEST_WHATS_NEW_DATA="requestWhatsNewData",t.RESULT_WHATS_NEW_DATA="resultWhatsNewData",t.SET_WHATS_NEW_CACHE="setWhatsNewCache",t.TOGGLE_WHATS_NEW_NOTIFICATIONS="toggleWhatsNewNotifications",t.TELEMETRY_ERROR="telemetryError",t.FILE_COMPONENT_SEARCH_REQUEST="fileComponentSearchRequest",t.FILE_COMPONENT_SEARCH_RESPONSE="fileComponentSearchResponse",t.SAVE_STORY_REQUEST="saveStoryRequest",t.SAVE_STORY_RESPONSE="saveStoryResponse",t.ARGTYPES_INFO_REQUEST="argtypesInfoRequest",t.ARGTYPES_INFO_RESPONSE="argtypesInfoResponse",t.CREATE_NEW_STORYFILE_REQUEST="createNewStoryfileRequest",t.CREATE_NEW_STORYFILE_RESPONSE="createNewStoryfileResponse",t.TESTING_MODULE_CRASH_REPORT="testingModuleCrashReport",t.TESTING_MODULE_PROGRESS_REPORT="testingModuleProgressReport",t.TESTING_MODULE_RUN_REQUEST="testingModuleRunRequest",t.TESTING_MODULE_RUN_ALL_REQUEST="testingModuleRunAllRequest",t.TESTING_MODULE_CANCEL_TEST_RUN_REQUEST="testingModuleCancelTestRunRequest",t.TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE="testingModuleCancelTestRunResponse",t))(zt||{}),ll=zt,{CHANNEL_WS_DISCONNECT:Wt,CHANNEL_CREATED:cl,CONFIG_ERROR:$t,CREATE_NEW_STORYFILE_REQUEST:pl,CREATE_NEW_STORYFILE_RESPONSE:dl,CURRENT_STORY_WAS_SET:rt,DOCS_PREPARED:Yt,DOCS_RENDERED:pr,FILE_COMPONENT_SEARCH_REQUEST:ul,FILE_COMPONENT_SEARCH_RESPONSE:fl,FORCE_RE_RENDER:dr,FORCE_REMOUNT:Kt,GLOBALS_UPDATED:Ce,NAVIGATE_URL:yl,PLAY_FUNCTION_THREW_EXCEPTION:Xt,UNHANDLED_ERRORS_WHILE_PLAYING:Jt,PRELOAD_ENTRIES:Qt,PREVIEW_BUILDER_PROGRESS:ml,PREVIEW_KEYDOWN:Zt,REGISTER_SUBSCRIPTION:hl,RESET_STORY_ARGS:ur,SELECT_STORY:gl,SET_CONFIG:Sl,SET_CURRENT_STORY:eo,SET_FILTER:bl,SET_GLOBALS:ro,SET_INDEX:Tl,SET_STORIES:El,SHARED_STATE_CHANGED:Rl,SHARED_STATE_SET:Al,STORIES_COLLAPSE_ALL:xl,STORIES_EXPAND_ALL:vl,STORY_ARGS_UPDATED:to,STORY_CHANGED:oo,STORY_ERRORED:no,STORY_INDEX_INVALIDATED:so,STORY_MISSING:tt,STORY_PREPARED:io,STORY_RENDER_PHASE_CHANGED:Pe,STORY_RENDERED:We,STORY_FINISHED:ot,STORY_SPECIFIED:ao,STORY_THREW_EXCEPTION:lo,STORY_UNCHANGED:co,UPDATE_GLOBALS:fr,UPDATE_QUERY_PARAMS:po,UPDATE_STORY_ARGS:yr,REQUEST_WHATS_NEW_DATA:wl,RESULT_WHATS_NEW_DATA:_l,SET_WHATS_NEW_CACHE:Cl,TOGGLE_WHATS_NEW_NOTIFICATIONS:Pl,TELEMETRY_ERROR:uo,SAVE_STORY_REQUEST:Ol,SAVE_STORY_RESPONSE:Il,ARGTYPES_INFO_REQUEST:fo,ARGTYPES_INFO_RESPONSE:nt,TESTING_MODULE_CRASH_REPORT:Fl,TESTING_MODULE_PROGRESS_REPORT:Dl,TESTING_MODULE_RUN_REQUEST:Nl,TESTING_MODULE_RUN_ALL_REQUEST:kl,TESTING_MODULE_CANCEL_TEST_RUN_REQUEST:Ll,TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE:jl}=zt,yo={"@storybook/global":"__STORYBOOK_MODULE_GLOBAL__","storybook/internal/channels":"__STORYBOOK_MODULE_CHANNELS__","@storybook/channels":"__STORYBOOK_MODULE_CHANNELS__","@storybook/core/channels":"__STORYBOOK_MODULE_CHANNELS__","storybook/internal/client-logger":"__STORYBOOK_MODULE_CLIENT_LOGGER__","@storybook/client-logger":"__STORYBOOK_MODULE_CLIENT_LOGGER__","@storybook/core/client-logger":"__STORYBOOK_MODULE_CLIENT_LOGGER__","storybook/internal/core-events":"__STORYBOOK_MODULE_CORE_EVENTS__","@storybook/core-events":"__STORYBOOK_MODULE_CORE_EVENTS__","@storybook/core/core-events":"__STORYBOOK_MODULE_CORE_EVENTS__","storybook/internal/preview-errors":"__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__","@storybook/core-events/preview-errors":"__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__","@storybook/core/preview-errors":"__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__","storybook/internal/preview-api":"__STORYBOOK_MODULE_PREVIEW_API__","@storybook/preview-api":"__STORYBOOK_MODULE_PREVIEW_API__","@storybook/core/preview-api":"__STORYBOOK_MODULE_PREVIEW_API__","storybook/internal/types":"__STORYBOOK_MODULE_TYPES__","@storybook/types":"__STORYBOOK_MODULE_TYPES__","@storybook/core/types":"__STORYBOOK_MODULE_TYPES__"},cs=Object.keys(yo),br={};_e(br,{Channel:()=>ie,HEARTBEAT_INTERVAL:()=>Po,HEARTBEAT_MAX_LATENCY:()=>Oo,PostMessageTransport:()=>Qe,WebsocketTransport:()=>Ze,createBrowserChannel:()=>kd,default:()=>Nd});function _$1(t){for(var e=[],r=1;r(this.debug("getState",{state:this.state}),this.state),"getState"),this.subscribe=n((o,a)=>{let i=typeof o=="function",u=i?"*":o,l=i?o:a;if(this.debug("subscribe",{eventType:u,listener:l}),!l)throw new TypeError(`Missing first subscribe argument, or second if first is the event type, when subscribing to a UniversalStore with id '${this.id}'`);return this.listeners.has(u)||this.listeners.set(u,new Set),this.listeners.get(u).add(l),()=>{var c;this.debug("unsubscribe",{eventType:u,listener:l}),this.listeners.has(u)&&(this.listeners.get(u).delete(l),((c=this.listeners.get(u))==null?void 0:c.size)===0&&this.listeners.delete(u))}},"subscribe"),this.send=n(o=>{if(this.debug("send",{event:o}),this.status!==Ge.Status.READY)throw new TypeError(_$1`Cannot send event before store is ready. You can get the current status with store.status, + or await store.readyPromise to wait for the store to be ready before sending events. + ${JSON.stringify({event:o,id:this.id,actor:this.actor,environment:this.environment},null,2)}`);this.emitToListeners(o,{actor:this.actor}),this.emitToChannel(o,{actor:this.actor})},"send"),this.debugging=e.debug??!1,!Ge.isInternalConstructing)throw new TypeError("UniversalStore is not constructable - use UniversalStore.create() instead");if(Ge.isInternalConstructing=!1,this.id=e.id,this.actorId=globalThis.crypto?globalThis.crypto.randomUUID():Date.now().toString(36)+Math.random().toString(36).substring(2),this.actorType=e.leader?Ge.ActorType.LEADER:Ge.ActorType.FOLLOWER,this.state=e.initialState,this.channelEventName=`${Ml}${this.id}`,this.debug("constructor",{options:e,environmentOverrides:r,channelEventName:this.channelEventName}),this.actor.type===Ge.ActorType.LEADER)this.syncing={state:ee.RESOLVED,promise:Promise.resolve()};else{let o,a,i=new Promise((u,l)=>{o=n(()=>{this.syncing.state===ee.PENDING&&(this.syncing.state=ee.RESOLVED,u())},"syncingResolve"),a=n(c=>{this.syncing.state===ee.PENDING&&(this.syncing.state=ee.REJECTED,l(c))},"syncingReject")});this.syncing={state:ee.PENDING,promise:i,resolve:o,reject:a}}this.getState=this.getState.bind(this),this.setState=this.setState.bind(this),this.subscribe=this.subscribe.bind(this),this.onStateChange=this.onStateChange.bind(this),this.send=this.send.bind(this),this.emitToChannel=this.emitToChannel.bind(this),this.prepareThis=this.prepareThis.bind(this),this.emitToListeners=this.emitToListeners.bind(this),this.handleChannelEvents=this.handleChannelEvents.bind(this),this.debug=this.debug.bind(this),this.channel=(r==null?void 0:r.channel)??Ge.preparation.channel,this.environment=(r==null?void 0:r.environment)??Ge.preparation.environment,this.channel&&this.environment?this.prepareThis({channel:this.channel,environment:this.environment}):Ge.preparation.promise.then(this.prepareThis)}static setupPreparationPromise(){let e,r,o=new Promise((a,i)=>{e=n(u=>{a(u)},"resolveRef"),r=n((...u)=>{i(u)},"rejectRef")});Ge.preparation={resolve:e,reject:r,promise:o}}get actor(){return Object.freeze({id:this.actorId,type:this.actorType,environment:this.environment??Ge.Environment.UNKNOWN})}get status(){var e;if(!this.channel||!this.environment)return Ge.Status.UNPREPARED;switch((e=this.syncing)==null?void 0:e.state){case ee.PENDING:case void 0:return Ge.Status.SYNCING;case ee.REJECTED:return Ge.Status.ERROR;case ee.RESOLVED:default:return Ge.Status.READY}}untilReady(){var e;return Promise.all([Ge.preparation.promise,(e=this.syncing)==null?void 0:e.promise])}static create(e){if(!e||typeof(e==null?void 0:e.id)!="string")throw new TypeError("id is required and must be a string, when creating a UniversalStore");e.debug&&console.debug(_$1`[UniversalStore] + create`,{options:e});let r=mo.get(e.id);if(r)return console.warn(_$1`UniversalStore with id "${e.id}" already exists in this environment, re-using existing. + You should reuse the existing instance instead of trying to create a new one.`),r;Ge.isInternalConstructing=!0;let o=new Ge(e);return mo.set(e.id,o),o}static __prepare(e,r){Ge.preparation.channel=e,Ge.preparation.environment=r,Ge.preparation.resolve({channel:e,environment:r})}setState(e){let r=this.state,o=typeof e=="function"?e(r):e;if(this.debug("setState",{newState:o,previousState:r,updater:e}),this.status!==Ge.Status.READY)throw new TypeError(_$1`Cannot set state before store is ready. You can get the current status with store.status, + or await store.readyPromise to wait for the store to be ready before sending events. + ${JSON.stringify({newState:o,id:this.id,actor:this.actor,environment:this.environment},null,2)}`);this.state=o;let a={type:Ge.InternalEventType.SET_STATE,payload:{state:o,previousState:r}};this.emitToChannel(a,{actor:this.actor}),this.emitToListeners(a,{actor:this.actor})}onStateChange(e){return this.debug("onStateChange",{listener:e}),this.subscribe(Ge.InternalEventType.SET_STATE,({payload:r},o)=>{e(r.state,r.previousState,o)})}emitToChannel(e,r){var o;this.debug("emitToChannel",{event:e,eventInfo:r,channel:this.channel}),(o=this.channel)==null||o.emit(this.channelEventName,{event:e,eventInfo:r})}prepareThis({channel:e,environment:r}){this.channel=e,this.environment=r,this.debug("prepared",{channel:e,environment:r}),this.channel.on(this.channelEventName,this.handleChannelEvents),this.actor.type===Ge.ActorType.LEADER?this.emitToChannel({type:Ge.InternalEventType.LEADER_CREATED},{actor:this.actor}):(this.emitToChannel({type:Ge.InternalEventType.FOLLOWER_CREATED},{actor:this.actor}),this.emitToChannel({type:Ge.InternalEventType.EXISTING_STATE_REQUEST},{actor:this.actor}),setTimeout(()=>{this.syncing.reject(new TypeError(`No existing state found for follower with id: '${this.id}'. Make sure a leader with the same id exists before creating a follower.`))},1e3))}emitToListeners(e,r){let o=this.listeners.get(e.type),a=this.listeners.get("*");this.debug("emitToListeners",{event:e,eventInfo:r,eventTypeListeners:o,everythingListeners:a}),[...o??[],...a??[]].forEach(i=>i(e,r))}handleChannelEvents(e){var a,i,u,l,c;let{event:r,eventInfo:o}=e;if([o.actor.id,(a=o.forwardingActor)==null?void 0:a.id].includes(this.actor.id)){this.debug("handleChannelEvents: Ignoring event from self",{channelEvent:e});return}else if(((i=this.syncing)==null?void 0:i.state)===ee.PENDING&&r.type!==Ge.InternalEventType.EXISTING_STATE_RESPONSE){this.debug("handleChannelEvents: Ignoring event while syncing",{channelEvent:e});return}if(this.debug("handleChannelEvents",{channelEvent:e}),this.actor.type===Ge.ActorType.LEADER){let d=!0;switch(r.type){case Ge.InternalEventType.EXISTING_STATE_REQUEST:d=!1;let m={type:Ge.InternalEventType.EXISTING_STATE_RESPONSE,payload:this.state};this.debug("handleChannelEvents: responding to existing state request",{responseEvent:m}),this.emitToChannel(m,{actor:this.actor});break;case Ge.InternalEventType.LEADER_CREATED:d=!1,this.syncing.state=ee.REJECTED,this.debug("handleChannelEvents: erroring due to second leader being created",{event:r}),console.error(_$1`Detected multiple UniversalStore leaders created with the same id "${this.id}". + Only one leader can exists at a time, your stores are now in an invalid state. + Leaders detected: + this: ${JSON.stringify(this.actor,null,2)} + other: ${JSON.stringify(o.actor,null,2)}`);break}d&&(this.debug("handleChannelEvents: forwarding event",{channelEvent:e}),this.emitToChannel(r,{actor:o.actor,forwardingActor:this.actor}))}if(this.actor.type===Ge.ActorType.FOLLOWER)switch(r.type){case Ge.InternalEventType.EXISTING_STATE_RESPONSE:if(this.debug("handleChannelEvents: Setting state from leader's existing state response",{event:r}),((u=this.syncing)==null?void 0:u.state)!==ee.PENDING)break;(c=(l=this.syncing).resolve)==null||c.call(l);let d={type:Ge.InternalEventType.SET_STATE,payload:{state:r.payload,previousState:this.state}};this.state=r.payload,this.emitToListeners(d,o);break}switch(r.type){case Ge.InternalEventType.SET_STATE:this.debug("handleChannelEvents: Setting state",{event:r}),this.state=r.payload.state;break}this.emitToListeners(r,{actor:o.actor})}debug(e,r){this.debugging&&console.debug(_$1`[UniversalStore::${this.id}::${this.environment??Ge.Environment.UNKNOWN}] + ${e}`,JSON.stringify({data:r,actor:this.actor,state:this.state,status:this.status},null,2))}static __reset(){Ge.preparation.reject(new Error("reset")),Ge.setupPreparationPromise(),Ge.isInternalConstructing=!1}};n(w,"UniversalStore"),w.ActorType={LEADER:"LEADER",FOLLOWER:"FOLLOWER"},w.Environment={SERVER:"SERVER",MANAGER:"MANAGER",PREVIEW:"PREVIEW",UNKNOWN:"UNKNOWN",MOCK:"MOCK"},w.InternalEventType={EXISTING_STATE_REQUEST:"__EXISTING_STATE_REQUEST",EXISTING_STATE_RESPONSE:"__EXISTING_STATE_RESPONSE",SET_STATE:"__SET_STATE",LEADER_CREATED:"__LEADER_CREATED",FOLLOWER_CREATED:"__FOLLOWER_CREATED"},w.Status={UNPREPARED:"UNPREPARED",SYNCING:"SYNCING",READY:"READY",ERROR:"ERROR"},w.isInternalConstructing=!1,w.setupPreparationPromise();var Q=w,Ul=n(t=>t.transports!==void 0,"isMulti"),Gl=n(()=>Math.random().toString(16).slice(2),"generateRandomId"),ho=class{constructor(e={}){this.sender=Gl(),this.events={},this.data={},this.transports=[],this.isAsync=e.async||!1,Ul(e)?(this.transports=e.transports||[],this.transports.forEach(r=>{r.setHandler(o=>this.handleEvent(o))})):this.transports=e.transport?[e.transport]:[],this.transports.forEach(r=>{r.setHandler(o=>this.handleEvent(o))})}get hasTransport(){return this.transports.length>0}addListener(e,r){this.events[e]=this.events[e]||[],this.events[e].push(r)}emit(e,...r){let o={type:e,args:r,from:this.sender},a={};r.length>=1&&r[0]&&r[0].options&&(a=r[0].options);let i=n(()=>{this.transports.forEach(u=>{u.send(o,a)}),this.handleEvent(o)},"handler");this.isAsync?setImmediate(i):i()}last(e){return this.data[e]}eventNames(){return Object.keys(this.events)}listenerCount(e){let r=this.listeners(e);return r?r.length:0}listeners(e){return this.events[e]||void 0}once(e,r){let o=this.onceListener(e,r);this.addListener(e,o)}removeAllListeners(e){e?this.events[e]&&delete this.events[e]:this.events={}}removeListener(e,r){let o=this.listeners(e);o&&(this.events[e]=o.filter(a=>a!==r))}on(e,r){this.addListener(e,r)}off(e,r){this.removeListener(e,r)}handleEvent(e){let r=this.listeners(e.type);r&&r.length&&r.forEach(o=>{o.apply(e,e.args)}),this.data[e.type]=e.args}onceListener(e,r){let o=n((...a)=>(this.removeListener(e,o),r(...a)),"onceListener");return o}};n(ho,"Channel");var ie=ho,mr={};_e(mr,{deprecate:()=>ae,logger:()=>I$1,once:()=>j$1,pretty:()=>X});var{LOGLEVEL:ql}=E$1,Se={trace:1,debug:2,info:3,warn:4,error:5,silent:10},Bl=ql,$e=Se[Bl]||Se.info,I$1={trace:n((t,...e)=>{$e<=Se.trace&&console.trace(t,...e)},"trace"),debug:n((t,...e)=>{$e<=Se.debug&&console.debug(t,...e)},"debug"),info:n((t,...e)=>{$e<=Se.info&&console.info(t,...e)},"info"),warn:n((t,...e)=>{$e<=Se.warn&&console.warn(t,...e)},"warn"),error:n((t,...e)=>{$e<=Se.error&&console.error(t,...e)},"error"),log:n((t,...e)=>{$e(e,...r)=>{if(!go.has(e))return go.add(e),I$1[t](e,...r)},"once");j$1.clear=()=>go.clear();j$1.trace=j$1("trace");j$1.debug=j$1("debug");j$1.info=j$1("info");j$1.warn=j$1("warn");j$1.error=j$1("error");j$1.log=j$1("log");var ae=j$1("warn"),X=n(t=>(...e)=>{let r=[];if(e.length){let o=//gi,a=/<\/span>/gi,i;for(r.push(e[0].replace(o,"%c").replace(a,"%c"));i=o.exec(e[0]);)r.push(i[2]),r.push("");for(let u=1;un(function(){return e||(0,t[us(t)[0]])((e={exports:{}}).exports,e),e.exports},"__require"),"__commonJS"),$l=n((t,e,r,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of us(e))!Wl.call(t,a)&&a!==r&&ds(t,a,{get:n(()=>e[a],"get"),enumerable:!(o=Hl(e,a))||o.enumerable});return t},"__copyProps"),st=n((t,e,r)=>(r=t!=null?Vl(zl(t)):{},$l(e||!t||!t.__esModule?ds(r,"default",{value:t,enumerable:!0}):r,t)),"__toESM"),Yl=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],Kl=["detail"];function fs(t){let e=Yl.filter(r=>t[r]!==void 0).reduce((r,o)=>({...r,[o]:t[o]}),{});return t instanceof CustomEvent&&Kl.filter(r=>t[r]!==void 0).forEach(r=>{e[r]=t[r]}),e}n(fs,"extractEventHiddenProperties");var Ps=ue(it()),Ts=Z({"node_modules/has-symbols/shams.js"(t,e){e.exports=n(function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},o=Symbol("test"),a=Object(o);if(typeof o=="string"||Object.prototype.toString.call(o)!=="[object Symbol]"||Object.prototype.toString.call(a)!=="[object Symbol]")return!1;var i=42;r[o]=i;for(o in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var u=Object.getOwnPropertySymbols(r);if(u.length!==1||u[0]!==o||!Object.prototype.propertyIsEnumerable.call(r,o))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var l=Object.getOwnPropertyDescriptor(r,o);if(l.value!==i||l.enumerable!==!0)return!1}return!0},"hasSymbols")}}),Es=Z({"node_modules/has-symbols/index.js"(t,e){var r=typeof Symbol<"u"&&Symbol,o=Ts();e.exports=n(function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:o()},"hasNativeSymbols")}}),Xl=Z({"node_modules/function-bind/implementation.js"(t,e){var r="Function.prototype.bind called on incompatible ",o=Array.prototype.slice,a=Object.prototype.toString,i="[object Function]";e.exports=n(function(u){var l=this;if(typeof l!="function"||a.call(l)!==i)throw new TypeError(r+l);for(var c=o.call(arguments,1),d,m=n(function(){if(this instanceof d){var le=l.apply(this,c.concat(o.call(arguments)));return Object(le)===le?le:this}else return l.apply(u,c.concat(o.call(arguments)))},"binder"),h=Math.max(0,l.length-c.length),g=[],J=0;J"u"?r:h(Uint8Array),ne={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":m?h([][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%":m?h(h([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!m?r:h(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"||!m?r:h(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":m?h(""[Symbol.iterator]()):r,"%Symbol%":m?Symbol:r,"%SyntaxError%":o,"%ThrowTypeError%":d,"%TypedArray%":J,"%TypeError%":i,"%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},le=n(function qe(Dt){var p;if(Dt==="%AsyncFunction%")p=u("async function () {}");else if(Dt==="%GeneratorFunction%")p=u("function* () {}");else if(Dt==="%AsyncGeneratorFunction%")p=u("async function* () {}");else if(Dt==="%AsyncGenerator%"){var A=qe("%AsyncGeneratorFunction%");A&&(p=A.prototype)}else if(Dt==="%AsyncIteratorPrototype%"){var B=qe("%AsyncGenerator%");B&&(p=h(B.prototype))}return ne[Dt]=p,p},"doEval2"),re={"%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"]},ce=To(),F=Jl(),se=ce.call(Function.call,Array.prototype.concat),he=ce.call(Function.apply,Array.prototype.splice),Ve=ce.call(Function.call,String.prototype.replace),ve=ce.call(Function.call,String.prototype.slice),we=ce.call(Function.call,RegExp.prototype.exec),Nt=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Bt=/\\(\\)?/g,Ft=n(function(qe){var Dt=ve(qe,0,1),p=ve(qe,-1);if(Dt==="%"&&p!=="%")throw new o("invalid intrinsic syntax, expected closing `%`");if(p==="%"&&Dt!=="%")throw new o("invalid intrinsic syntax, expected opening `%`");var A=[];return Ve(qe,Nt,function(B,de,pe,Lt){A[A.length]=pe?Ve(Lt,Bt,"$1"):de||B}),A},"stringToPath3"),jt=n(function(qe,Dt){var p=qe,A;if(F(re,p)&&(A=re[p],p="%"+A[0]+"%"),F(ne,p)){var B=ne[p];if(B===g&&(B=le(p)),typeof B>"u"&&!Dt)throw new i("intrinsic "+qe+" exists, but is not available. Please file an issue!");return{alias:A,name:p,value:B}}throw new o("intrinsic "+qe+" does not exist!")},"getBaseIntrinsic2");e.exports=n(function(qe,Dt){if(typeof qe!="string"||qe.length===0)throw new i("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof Dt!="boolean")throw new i('"allowMissing" argument must be a boolean');if(we(/^%?[^%]*%?$/,qe)===null)throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var p=Ft(qe),A=p.length>0?p[0]:"",B=jt("%"+A+"%",Dt),de=B.name,pe=B.value,Lt=!1,qt=B.alias;qt&&(A=qt[0],he(p,se([0,1],qt)));for(var Ut=1,Mt=!0;Ut=p.length){var Qr=l(pe,Gt);Mt=!!Qr,Mt&&"get"in Qr&&!("originalValue"in Qr.get)?pe=Qr.get:pe=pe[Gt]}else Mt=F(pe,Gt),pe=pe[Gt];Mt&&!Lt&&(ne[de]=pe)}}return pe},"GetIntrinsic")}}),Ql=Z({"node_modules/call-bind/index.js"(t,e){var r=To(),o=Rs(),a=o("%Function.prototype.apply%"),i=o("%Function.prototype.call%"),u=o("%Reflect.apply%",!0)||r.call(i,a),l=o("%Object.getOwnPropertyDescriptor%",!0),c=o("%Object.defineProperty%",!0),d=o("%Math.max%");if(c)try{c({},"a",{value:1})}catch{c=null}e.exports=n(function(h){var g=u(r,i,arguments);if(l&&c){var J=l(g,"length");J.configurable&&c(g,"length",{value:1+d(0,h.length-(arguments.length-1))})}return g},"callBind");var m=n(function(){return u(r,a,arguments)},"applyBind2");c?c(e.exports,"apply",{value:m}):e.exports.apply=m}}),Zl=Z({"node_modules/call-bind/callBound.js"(t,e){var r=Rs(),o=Ql(),a=o(r("String.prototype.indexOf"));e.exports=n(function(i,u){var l=r(i,!!u);return typeof l=="function"&&a(i,".prototype.")>-1?o(l):l},"callBoundIntrinsic")}}),ec=Z({"node_modules/has-tostringtag/shams.js"(t,e){var r=Ts();e.exports=n(function(){return r()&&!!Symbol.toStringTag},"hasToStringTagShams")}}),rc=Z({"node_modules/is-regex/index.js"(t,e){var r=Zl(),o=ec()(),a,i,u,l;o&&(a=r("Object.prototype.hasOwnProperty"),i=r("RegExp.prototype.exec"),u={},c=n(function(){throw u},"throwRegexMarker"),l={toString:c,valueOf:c},typeof Symbol.toPrimitive=="symbol"&&(l[Symbol.toPrimitive]=c));var c,d=r("Object.prototype.toString"),m=Object.getOwnPropertyDescriptor,h="[object RegExp]";e.exports=n(o?function(g){if(!g||typeof g!="object")return!1;var J=m(g,"lastIndex"),ne=J&&a(J,"value");if(!ne)return!1;try{i(g,l)}catch(le){return le===u}}:function(g){return!g||typeof g!="object"&&typeof g!="function"?!1:d(g)===h},"isRegex")}}),tc=Z({"node_modules/is-function/index.js"(t,e){e.exports=o;var r=Object.prototype.toString;function o(a){if(!a)return!1;var i=r.call(a);return i==="[object Function]"||typeof a=="function"&&i!=="[object RegExp]"||typeof window<"u"&&(a===window.setTimeout||a===window.alert||a===window.confirm||a===window.prompt)}n(o,"isFunction3")}}),oc=Z({"node_modules/is-symbol/index.js"(t,e){var r=Object.prototype.toString,o=Es()();o?(a=Symbol.prototype.toString,i=/^Symbol\(.*\)$/,u=n(function(l){return typeof l.valueOf()!="symbol"?!1:i.test(a.call(l))},"isRealSymbolObject"),e.exports=n(function(l){if(typeof l=="symbol")return!0;if(r.call(l)!=="[object Symbol]")return!1;try{return u(l)}catch{return!1}},"isSymbol3")):e.exports=n(function(l){return!1},"isSymbol3");var a,i,u}}),nc=st(rc()),sc=st(tc()),ic=st(oc());function ac(t){return t!=null&&typeof t=="object"&&Array.isArray(t)===!1}n(ac,"isObject");var lc=typeof global=="object"&&global&&global.Object===Object&&global,cc=lc,pc=typeof self=="object"&&self&&self.Object===Object&&self,dc=cc||pc||Function("return this")(),Eo=dc,uc=Eo.Symbol,Ye=uc,As=Object.prototype,fc=As.hasOwnProperty,yc=As.toString,hr=Ye?Ye.toStringTag:void 0;function mc(t){var e=fc.call(t,hr),r=t[hr];try{t[hr]=void 0;var o=!0}catch{}var a=yc.call(t);return o&&(e?t[hr]=r:delete t[hr]),a}n(mc,"getRawTag");var hc=mc,gc=Object.prototype,Sc=gc.toString;function bc(t){return Sc.call(t)}n(bc,"objectToString");var Tc=bc,Ec="[object Null]",Rc="[object Undefined]",ms=Ye?Ye.toStringTag:void 0;function Ac(t){return t==null?t===void 0?Rc:Ec:ms&&ms in Object(t)?hc(t):Tc(t)}n(Ac,"baseGetTag");var xs=Ac;function xc(t){return t!=null&&typeof t=="object"}n(xc,"isObjectLike");var vc=xc,wc="[object Symbol]";function _c(t){return typeof t=="symbol"||vc(t)&&xs(t)==wc}n(_c,"isSymbol");var Ro=_c;function Cc(t,e){for(var r=-1,o=t==null?0:t.length,a=Array(o);++r-1}n(jp,"listCacheHas");var Mp=jp;function Up(t,e){var r=this.__data__,o=lt(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}n(Up,"listCacheSet");var Gp=Up;function Xe(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e{let e=null,r=!1,o=!1,a=!1,i="";if(t.indexOf("//")>=0||t.indexOf("/*")>=0)for(let u=0;uAd(t).replace(/\n\s*/g,"").trim()),vd=n(function(t,e){let r=e.slice(0,e.indexOf("{")),o=e.slice(e.indexOf("{"));if(r.includes("=>")||r.includes("function"))return e;let a=r;return a=a.replace(t,"function"),a+o},"convertShorthandMethods2"),wd=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/,Sr=n(t=>t.match(/^[\[\{\"\}].*[\]\}\"]$/),"isJSON");function Os(t){if(!at(t))return t;let e=t,r=!1;return typeof Event<"u"&&t instanceof Event&&(e=fs(e),r=!0),e=Object.keys(e).reduce((o,a)=>{try{e[a]&&e[a].toJSON,o[a]=e[a]}catch{r=!0}return o},{}),r?e:t}n(Os,"convertUnconventionalData");var _d=n(function(t){let e,r,o,a;return n(function(i,u){try{if(i==="")return a=[],e=new Map([[u,"[]"]]),r=new Map,o=[],u;let l=r.get(this)||this;for(;o.length&&l!==o[0];)o.shift(),a.pop();if(typeof u=="boolean")return u;if(u===void 0)return t.allowUndefined?"_undefined_":void 0;if(u===null)return null;if(typeof u=="number")return u===-1/0?"_-Infinity_":u===1/0?"_Infinity_":Number.isNaN(u)?"_NaN_":u;if(typeof u=="bigint")return`_bigint_${u.toString()}`;if(typeof u=="string")return wd.test(u)?t.allowDate?`_date_${u}`:void 0:u;if((0,nc.default)(u))return t.allowRegExp?`_regexp_${u.flags}|${u.source}`:void 0;if((0,sc.default)(u)){if(!t.allowFunction)return;let{name:d}=u,m=u.toString();return m.match(/(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)?`_function_${d}|${(()=>{}).toString()}`:`_function_${d}|${xd(vd(i,m))}`}if((0,ic.default)(u)){if(!t.allowSymbol)return;let d=Symbol.keyFor(u);return d!==void 0?`_gsymbol_${d}`:`_symbol_${u.toString().slice(7,-1)}`}if(o.length>=t.maxDepth)return Array.isArray(u)?`[Array(${u.length})]`:"[Object]";if(u===this)return`_duplicate_${JSON.stringify(a)}`;if(u instanceof Error&&t.allowError)return{__isConvertedError__:!0,errorProperties:{...u.cause?{cause:u.cause}:{},...u,name:u.name,message:u.message,stack:u.stack,"_constructor-name_":u.constructor.name}};if(u.constructor&&u.constructor.name&&u.constructor.name!=="Object"&&!Array.isArray(u)&&!t.allowClass)return;let c=e.get(u);if(!c){let d=Array.isArray(u)?u:Os(u);if(u.constructor&&u.constructor.name&&u.constructor.name!=="Object"&&!Array.isArray(u)&&t.allowClass)try{Object.assign(d,{"_constructor-name_":u.constructor.name})}catch{}return a.push(i),o.unshift(d),e.set(u,JSON.stringify(a)),u!==d&&r.set(u,d),d}return`_duplicate_${c}`}catch{return}},"replace")},"replacer2"),Cd=n(function reviver(options){let refs=[],root;return n(function revive(key,value){if(key===""&&(root=value,refs.forEach(({target:t,container:e,replacement:r})=>{let o=Sr(r)?JSON.parse(r):r.split(".");o.length===0?e[t]=root:e[t]=Rd(root,o)})),key==="_constructor-name_")return value;if(at(value)&&value.__isConvertedError__){let{message:t,...e}=value.errorProperties,r=new Error(t);return Object.assign(r,e),r}if(at(value)&&value["_constructor-name_"]&&options.allowFunction){let t=value["_constructor-name_"];if(t!=="Object"){let e=new Function(`return function ${t.replace(/[^a-zA-Z0-9$_]+/g,"")}(){}`)();Object.setPrototypeOf(value,new e)}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=n((...args)=>{let f=eval(`(${sourceSanitized})`);return f(...args)},"result");return Object.defineProperty(result,"toString",{value:n(()=>sourceSanitized,"value")}),Object.defineProperty(result,"name",{value:name}),result}if(typeof value=="string"&&value.startsWith("_regexp_")&&options.allowRegExp){let[,t,e]=value.match(/_regexp_([^|]*)\|(.*)/)||[];return new RegExp(e,t)}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},"revive")},"reviver"),Is={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},pt=n((t,e={})=>{let r={...Is,...e};return JSON.stringify(Os(t),_d(r),e.space)},"stringify"),Pd=n(()=>{let t=new Map;return n(function e(r){at(r)&&Object.entries(r).forEach(([o,a])=>{a==="_undefined_"?r[o]=void 0:t.get(a)||(t.set(a,!0),e(a))}),Array.isArray(r)&&r.forEach((o,a)=>{o==="_undefined_"?(t.set(o,!0),r[a]=void 0):t.get(o)||(t.set(o,!0),e(o))})},"mutateUndefined")},"mutator"),dt=n((t,e={})=>{let r={...Is,...e},o=JSON.parse(t,Cd(r));return Pd()(o),o},"parse"),vo="Invariant failed";function fe(t,e){if(!t)throw new Error(vo)}n(fe,"invariant");var Fs=n(t=>{let e=Array.from(document.querySelectorAll("iframe[data-is-storybook]")),[r,...o]=e.filter(i=>{var c,d;try{return((c=i.contentWindow)==null?void 0:c.location.origin)===t.source.location.origin&&((d=i.contentWindow)==null?void 0:d.location.pathname)===t.source.location.pathname}catch{}try{return i.contentWindow===t.source}catch{}let u=i.getAttribute("src"),l;try{if(!u)return!1;({origin:l}=new URL(u,document.location.toString()))}catch{return!1}return l===t.origin}),a=r==null?void 0:r.getAttribute("src");if(a&&o.length===0){let{protocol:i,host:u,pathname:l}=new URL(a,document.location.toString());return`${i}//${u}${l}`}return o.length>0&&I$1.error("found multiple candidates for event source"),null},"getEventSourceUrl"),{document:wo,location:_o}=E$1,Ds="storybook-channel",Id={allowFunction:!1,maxDepth:25},Co=class{constructor(e){if(this.config=e,this.connected=!1,this.buffer=[],typeof(E$1==null?void 0:E$1.addEventListener)=="function"&&E$1.addEventListener("message",this.handleEvent.bind(this),!1),e.page!=="manager"&&e.page!=="preview")throw new Error(`postmsg-channel: "config.page" cannot be "${e.page}"`)}setHandler(e){this.handler=(...r)=>{e.apply(this,r),!this.connected&&this.getLocalFrame().length&&(this.flush(),this.connected=!0)}}send(e,r){let{target:o,allowRegExp:a,allowFunction:i,allowSymbol:u,allowDate:l,allowError:c,allowUndefined:d,allowClass:m,maxDepth:h,space:g,lazyEval:J}=r||{},ne=Object.fromEntries(Object.entries({allowRegExp:a,allowFunction:i,allowSymbol:u,allowDate:l,allowError:c,allowUndefined:d,allowClass:m,maxDepth:h,space:g,lazyEval:J}).filter(([se,he])=>typeof he<"u")),le={...Id,...E$1.CHANNEL_OPTIONS||{},...ne},re=this.getFrames(o),ce=new URLSearchParams((_o==null?void 0:_o.search)||""),F=pt({key:Ds,event:e,refId:ce.get("refId")},le);return re.length?(this.buffer.length&&this.flush(),re.forEach(se=>{try{se.postMessage(F,"*")}catch{I$1.error("sending over postmessage fail")}}),Promise.resolve(null)):new Promise((se,he)=>{this.buffer.push({event:e,resolve:se,reject:he})})}flush(){let{buffer:e}=this;this.buffer=[],e.forEach(r=>{this.send(r.event).then(r.resolve).catch(r.reject)})}getFrames(e){if(this.config.page==="manager"){let r=Array.from(wo.querySelectorAll("iframe[data-is-storybook][data-is-loaded]")).flatMap(o=>{try{return o.contentWindow&&o.dataset.isStorybook!==void 0&&o.id===e?[o.contentWindow]:[]}catch{return[]}});return r!=null&&r.length?r:this.getCurrentFrames()}return E$1&&E$1.parent&&E$1.parent!==E$1.self?[E$1.parent]:[]}getCurrentFrames(){return this.config.page==="manager"?Array.from(wo.querySelectorAll('[data-is-storybook="true"]')).flatMap(e=>e.contentWindow?[e.contentWindow]:[]):E$1&&E$1.parent?[E$1.parent]:[]}getLocalFrame(){return this.config.page==="manager"?Array.from(wo.querySelectorAll("#storybook-preview-iframe")).flatMap(e=>e.contentWindow?[e.contentWindow]:[]):E$1&&E$1.parent?[E$1.parent]:[]}handleEvent(e){try{let{data:r}=e,{key:o,event:a,refId:i}=typeof r=="string"&&Sr(r)?dt(r,E$1.CHANNEL_OPTIONS||{}):r;if(o===Ds){let u=this.config.page==="manager"?' manager ':' preview ',l=Object.values(ge).includes(a.type)?`${a.type}`:`${a.type}`;if(i&&(a.refId=i),a.source=this.config.page==="preview"?e.origin:Fs(e),!a.source){X.error(`${u} received ${l} but was unable to determine the source of the event`);return}let c=`${u} received ${l} (${r.length})`;X.debug(_o.origin!==a.source?c:`${c} (on ${_o.origin} from ${a.source})`,...a.args),fe(this.handler,"ChannelHandler should be set"),this.handler(a)}}catch(r){I$1.error(r)}}};n(Co,"PostMessageTransport");var Qe=Co,{WebSocket:Fd}=E$1,Po=15e3,Oo=5e3,Io=class{constructor({url:e,onError:r,page:o}){this.buffer=[],this.isReady=!1,this.isClosed=!1,this.pingTimeout=0,this.socket=new Fd(e),this.socket.onopen=()=>{this.isReady=!0,this.heartbeat(),this.flush()},this.socket.onmessage=({data:a})=>{let i=typeof a=="string"&&Sr(a)?dt(a):a;fe(this.handler),this.handler(i),i.type==="ping"&&(this.heartbeat(),this.send({type:"pong"}))},this.socket.onerror=a=>{r&&r(a)},this.socket.onclose=a=>{fe(this.handler),this.handler({type:Wt,args:[{reason:a.reason,code:a.code}],from:o||"preview"}),this.isClosed=!0,clearTimeout(this.pingTimeout)}}heartbeat(){clearTimeout(this.pingTimeout),this.pingTimeout=setTimeout(()=>{this.socket.close(3008,"timeout")},Po+Oo)}setHandler(e){this.handler=e}send(e){this.isClosed||(this.isReady?this.sendNow(e):this.sendLater(e))}sendLater(e){this.buffer.push(e)}sendNow(e){let r=pt(e,{maxDepth:15,allowFunction:!1,...E$1.CHANNEL_OPTIONS});this.socket.send(r)}flush(){let{buffer:e}=this;this.buffer=[],e.forEach(r=>this.send(r))}};n(Io,"WebsocketTransport");var Ze=Io,{CONFIG_TYPE:Dd}=E$1,Nd=ie;function kd({page:t,extraTransports:e=[]}){let r=[new Qe({page:t}),...e];if(Dd==="DEVELOPMENT"){let a=window.location.protocol==="http:"?"ws":"wss",{hostname:i,port:u}=window.location,l=`${a}://${i}:${u}/storybook-server-channel`;r.push(new Ze({url:l,onError:n(()=>{},"onError"),page:t}))}let o=new ie({transports:r});return Q.__prepare(o,t==="manager"?Q.Environment.MANAGER:Q.Environment.PREVIEW),o}n(kd,"createBrowserChannel");var Tr={};_e(Tr,{Addon_TypesEnum:()=>Ns});var Ns=(t=>(t.TAB="tab",t.PANEL="panel",t.TOOL="tool",t.TOOLEXTRA="toolextra",t.PREVIEW="preview",t.experimental_PAGE="page",t.experimental_SIDEBAR_BOTTOM="sidebar-bottom",t.experimental_SIDEBAR_TOP="sidebar-top",t.experimental_TEST_PROVIDER="test-provider",t))(Ns||{}),Yr={};_e(Yr,{DocsContext:()=>me,HooksContext:()=>be,Preview:()=>Me,PreviewWeb:()=>Wr,PreviewWithSelection:()=>Ue,ReporterAPI:()=>Ee,StoryStore:()=>Le,UrlStore:()=>Be,WebView:()=>He,addons:()=>te$1,applyHooks:()=>ft,combineArgs:()=>tr,combineParameters:()=>Y,composeConfigs:()=>ke,composeStepRunners:()=>Ct,composeStories:()=>qi,composeStory:()=>Pn,createPlaywrightTest:()=>Bi,decorateStory:()=>xn,defaultDecorateStory:()=>vt,definePreview:()=>ks,experimental_MockUniversalStore:()=>gt,experimental_UniversalStore:()=>Q,experimental_useUniversalStore:()=>Si,filterArgTypes:()=>Mr,getCsfFactoryAnnotations:()=>Pt,inferControls:()=>ir,makeDecorator:()=>$s,mockChannel:()=>ut,normalizeProjectAnnotations:()=>Ne,normalizeStory:()=>De,prepareMeta:()=>wt,prepareStory:()=>sr,sanitizeStoryContextUpdate:()=>vn,setDefaultProjectAnnotations:()=>Ui,setProjectAnnotations:()=>Gi,simulateDOMContentLoaded:()=>$r,simulatePageLoad:()=>ss,sortStoriesV7:()=>Ki,useArgs:()=>zs,useCallback:()=>er,useChannel:()=>Vs,useEffect:()=>Er,useGlobals:()=>Ws,useMemo:()=>Ms,useParameter:()=>Hs,useReducer:()=>Bs,useRef:()=>Gs,useState:()=>mt,useStoryContext:()=>Rr,userOrAutoTitle:()=>Wi,userOrAutoTitleFromSpecifier:()=>Fn});function ut(){let t={setHandler:n(()=>{},"setHandler"),send:n(()=>{},"send")};return new ie({transport:t})}n(ut,"mockChannel");var No=class{constructor(){this.getChannel=n(()=>{if(!this.channel){let e=ut();return this.setChannel(e),e}return this.channel},"getChannel"),this.ready=n(()=>this.promise,"ready"),this.hasChannel=n(()=>!!this.channel,"hasChannel"),this.setChannel=n(e=>{this.channel=e,this.resolve()},"setChannel"),this.promise=new Promise(e=>{this.resolve=()=>e(this.getChannel())})}};n(No,"AddonStore");var Do=No,Fo="__STORYBOOK_ADDONS_PREVIEW";function Ld(){return E$1[Fo]||(E$1[Fo]=new Do),E$1[Fo]}n(Ld,"getAddonsStore");var te$1=Ld();function ks(t){return t}n(ks,"definePreview");var Mo=class{constructor(){this.hookListsMap=void 0,this.mountedDecorators=void 0,this.prevMountedDecorators=void 0,this.currentHooks=void 0,this.nextHookIndex=void 0,this.currentPhase=void 0,this.currentEffects=void 0,this.prevEffects=void 0,this.currentDecoratorName=void 0,this.hasUpdates=void 0,this.currentContext=void 0,this.renderListener=n(e=>{var r;e===((r=this.currentContext)==null?void 0:r.id)&&(this.triggerEffects(),this.currentContext=null,this.removeRenderListeners())},"renderListener"),this.init()}init(){this.hookListsMap=new WeakMap,this.mountedDecorators=new Set,this.prevMountedDecorators=new Set,this.currentHooks=[],this.nextHookIndex=0,this.currentPhase="NONE",this.currentEffects=[],this.prevEffects=[],this.currentDecoratorName=null,this.hasUpdates=!1,this.currentContext=null}clean(){this.prevEffects.forEach(e=>{e.destroy&&e.destroy()}),this.init(),this.removeRenderListeners()}getNextHook(){let e=this.currentHooks[this.nextHookIndex];return this.nextHookIndex+=1,e}triggerEffects(){this.prevEffects.forEach(e=>{!this.currentEffects.includes(e)&&e.destroy&&e.destroy()}),this.currentEffects.forEach(e=>{this.prevEffects.includes(e)||(e.destroy=e.create())}),this.prevEffects=this.currentEffects,this.currentEffects=[]}addRenderListeners(){this.removeRenderListeners(),te$1.getChannel().on(We,this.renderListener)}removeRenderListeners(){te$1.getChannel().removeListener(We,this.renderListener)}};n(Mo,"HooksContext");var be=Mo;function Ls(t){let e=n((...r)=>{let{hooks:o}=typeof r[0]=="function"?r[1]:r[0],a=o.currentPhase,i=o.currentHooks,u=o.nextHookIndex,l=o.currentDecoratorName;o.currentDecoratorName=t.name,o.prevMountedDecorators.has(t)?(o.currentPhase="UPDATE",o.currentHooks=o.hookListsMap.get(t)||[]):(o.currentPhase="MOUNT",o.currentHooks=[],o.hookListsMap.set(t,o.currentHooks),o.prevMountedDecorators.add(t)),o.nextHookIndex=0;let c=E$1.STORYBOOK_HOOKS_CONTEXT;E$1.STORYBOOK_HOOKS_CONTEXT=o;let d=t(...r);if(E$1.STORYBOOK_HOOKS_CONTEXT=c,o.currentPhase==="UPDATE"&&o.getNextHook()!=null)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return o.currentPhase=a,o.currentHooks=i,o.nextHookIndex=u,o.currentDecoratorName=l,d},"hookified");return e.originalFn=t,e}n(Ls,"hookify");var ko=0,jd=25,ft=n(t=>(e,r)=>{let o=t(Ls(e),r.map(a=>Ls(a)));return a=>{let{hooks:i}=a;i.prevMountedDecorators??(i.prevMountedDecorators=new Set),i.mountedDecorators=new Set([e,...r]),i.currentContext=a,i.hasUpdates=!1;let u=o(a);for(ko=1;i.hasUpdates;)if(i.hasUpdates=!1,i.currentEffects=[],u=o(a),ko+=1,ko>jd)throw new Error("Too many re-renders. Storybook limits the number of renders to prevent an infinite loop.");return i.addRenderListeners(),u}},"applyHooks"),Md=n((t,e)=>t.length===e.length&&t.every((r,o)=>r===e[o]),"areDepsEqual"),Lo=n(()=>new Error("Storybook preview hooks can only be called inside decorators and story functions."),"invalidHooksError");function js(){return E$1.STORYBOOK_HOOKS_CONTEXT||null}n(js,"getHooksContextOrNull");function jo(){let t=js();if(t==null)throw Lo();return t}n(jo,"getHooksContextOrThrow");function Ud(t,e,r){let o=jo();if(o.currentPhase==="MOUNT"){r!=null&&!Array.isArray(r)&&I$1.warn(`${t} received a final argument that is not an array (instead, received ${r}). When specified, the final argument must be an array.`);let a={name:t,deps:r};return o.currentHooks.push(a),e(a),a}if(o.currentPhase==="UPDATE"){let a=o.getNextHook();if(a==null)throw new Error("Rendered more hooks than during the previous render.");return a.name!==t&&I$1.warn(`Storybook has detected a change in the order of Hooks${o.currentDecoratorName?` called by ${o.currentDecoratorName}`:""}. This will lead to bugs and errors if not fixed.`),r!=null&&a.deps==null&&I$1.warn(`${t} received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.`),r!=null&&a.deps!=null&&r.length!==a.deps.length&&I$1.warn(`The final argument passed to ${t} changed size between renders. The order and size of this array must remain constant. +Previous: ${a.deps} +Incoming: ${r}`),(r==null||a.deps==null||!Md(r,a.deps))&&(e(a),a.deps=r),a}throw Lo()}n(Ud,"useHook");function yt(t,e,r){let{memoizedState:o}=Ud(t,a=>{a.memoizedState=e()},r);return o}n(yt,"useMemoLike");function Ms(t,e){return yt("useMemo",t,e)}n(Ms,"useMemo");function er(t,e){return yt("useCallback",()=>t,e)}n(er,"useCallback");function Us(t,e){return yt(t,()=>({current:e}),[])}n(Us,"useRefLike");function Gs(t){return Us("useRef",t)}n(Gs,"useRef");function Gd(){let t=js();if(t!=null&&t.currentPhase!=="NONE")t.hasUpdates=!0;else try{te$1.getChannel().emit(dr)}catch{I$1.warn("State updates of Storybook preview hooks work only in browser")}}n(Gd,"triggerUpdate");function qs(t,e){let r=Us(t,typeof e=="function"?e():e),o=n(a=>{r.current=typeof a=="function"?a(r.current):a,Gd()},"setState");return[r.current,o]}n(qs,"useStateLike");function mt(t){return qs("useState",t)}n(mt,"useState");function Bs(t,e,r){let o=r!=null?()=>r(e):e,[a,i]=qs("useReducer",o);return[a,n(u=>i(l=>t(l,u)),"dispatch")]}n(Bs,"useReducer");function Er(t,e){let r=jo(),o=yt("useEffect",()=>({create:t}),e);r.currentEffects.includes(o)||r.currentEffects.push(o)}n(Er,"useEffect");function Vs(t,e=[]){let r=te$1.getChannel();return Er(()=>(Object.entries(t).forEach(([o,a])=>r.on(o,a)),()=>{Object.entries(t).forEach(([o,a])=>r.removeListener(o,a))}),[...Object.keys(t),...e]),er(r.emit.bind(r),[r])}n(Vs,"useChannel");function Rr(){let{currentContext:t}=jo();if(t==null)throw Lo();return t}n(Rr,"useStoryContext");function Hs(t,e){let{parameters:r}=Rr();if(t)return r[t]??e}n(Hs,"useParameter");function zs(){let t=te$1.getChannel(),{id:e,args:r}=Rr(),o=er(i=>t.emit(yr,{storyId:e,updatedArgs:i}),[t,e]),a=er(i=>t.emit(ur,{storyId:e,argNames:i}),[t,e]);return[r,o,a]}n(zs,"useArgs");function Ws(){let t=te$1.getChannel(),{globals:e}=Rr(),r=er(o=>t.emit(fr,{globals:o}),[t]);return[e,r]}n(Ws,"useGlobals");var $s=n(({name:t,parameterName:e,wrapper:r,skipIfNoParametersOrOptions:o=!1})=>{let a=n(i=>(u,l)=>{let c=l.parameters&&l.parameters[e];return c&&c.disable||o&&!i&&!c?u(l):r(u,l,{options:i,parameters:c})},"decorator");return(...i)=>typeof i[0]=="function"?a()(...i):(...u)=>{if(u.length>1)return i.length>1?a(i)(...u):a(...i)(...u);throw new Error(`Passing stories directly into ${t}() is not allowed, + instead use addDecorator(${t}) and pass options with the '${e}' parameter`)}},"makeDecorator");function Uo(t,e){let r={},o=Object.entries(t);for(let a=0;aObject.prototype.propertyIsEnumerable.call(t,e))}n(Vo,"getSymbols");function Ho(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}n(Ho,"getTag");function Ar(t,e){if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":return t===e;case"number":return t===e||Object.is(t,e);case"function":return t===e;case"object":return ye(t,e)}return ye(t,e)}n(Ar,"isEqual");function ye(t,e,r){if(Object.is(t,e))return!0;let o=Ho(t),a=Ho(e);if(o===Bo&&(o=ht),a===Bo&&(a=ht),o!==a)return!1;switch(o){case Ks:return t.toString()===e.toString();case Xs:{let l=t.valueOf(),c=e.valueOf();return l===c||Number.isNaN(l)&&Number.isNaN(c)}case Js:case Zs:case Qs:return Object.is(t.valueOf(),e.valueOf());case Ys:return t.source===e.source&&t.flags===e.flags;case oi:return t===e}r=r??new Map;let i=r.get(t),u=r.get(e);if(i!=null&&u!=null)return i===e;r.set(t,e),r.set(e,t);try{switch(o){case ei:{if(t.size!==e.size)return!1;for(let[l,c]of t.entries())if(!e.has(l)||!ye(c,e.get(l),r))return!1;return!0}case ri:{if(t.size!==e.size)return!1;let l=Array.from(t.values()),c=Array.from(e.values());for(let d=0;dye(m,g,r));if(h===-1)return!1;c.splice(h,1)}return!0}case ti:case ai:case li:case ci:case pi:case di:case ui:case fi:case yi:case mi:case hi:case gi:{if(typeof Buffer<"u"&&Buffer.isBuffer(t)!==Buffer.isBuffer(e)||t.length!==e.length)return!1;for(let l=0;l{let[r,o]=mt(e?e(t.getState()):t.getState());return Er(()=>t.onStateChange((a,i)=>{if(!e){o(a);return}let u=e(a),l=e(i);!Ar(u,l)&&o(u)}),[t,o,e]),[r,t.setState]},"useUniversalStore"),St=class Jn extends Q{constructor(e,r){Q.isInternalConstructing=!0,super({...e,leader:!0},{channel:new ie({}),environment:Q.Environment.MOCK}),Q.isInternalConstructing=!1,typeof(r==null?void 0:r.fn)=="function"&&(this.testUtils=r,this.getState=r.fn(this.getState),this.setState=r.fn(this.setState),this.subscribe=r.fn(this.subscribe),this.onStateChange=r.fn(this.onStateChange),this.send=r.fn(this.send))}static create(e,r){return new Jn(e,r)}unsubscribeAll(){var r,o;if(!this.testUtils)throw new Error(ps`Cannot call unsubscribeAll on a store that does not have testUtils. + Please provide testUtils as the second argument when creating the store.`);let e=n(a=>{try{a.value()}catch{}},"callReturnedUnsubscribeFn");(r=this.subscribe.mock)==null||r.results.forEach(e),(o=this.onStateChange.mock)==null||o.results.forEach(e)}};n(St,"MockUniversalStore");var gt=St,kr={};_e(kr,{CalledExtractOnStoreError:()=>vr,CalledPreviewMethodBeforeInitializationError:()=>V,Category:()=>Ti,EmptyIndexError:()=>Pr,ImplicitActionsDuringRendering:()=>zo,MdxFileWithNoCsfReferencesError:()=>Cr,MissingRenderToCanvasError:()=>wr,MissingStoryAfterHmrError:()=>xr,MissingStoryFromCsfFileError:()=>Ir,MountMustBeDestructuredError:()=>Oe,NextJsSharpError:()=>Wo,NextjsRouterMocksNotAvailable:()=>$o,NoRenderFunctionError:()=>Dr,NoStoryMatchError:()=>Or,NoStoryMountedError:()=>Nr,StoryIndexFetchError:()=>_r,StoryStoreAccessedBeforeInitializationError:()=>Fr,UnknownArgTypesError:()=>Yo,UnsupportedViewportDimensionError:()=>Ko});function bi({code:t,category:e}){let r=String(t).padStart(4,"0");return`SB_${e}_${r}`}n(bi,"parseErrorCode");var bt=class Zn extends Error{constructor(e){super(Zn.getFullMessage(e)),this.data={},this.fromStorybook=!0,this.category=e.category,this.documentation=e.documentation??!1,this.code=e.code}get fullErrorCode(){return bi({code:this.code,category:this.category})}get name(){let e=this.constructor.name;return`${this.fullErrorCode} (${e})`}static getFullMessage({documentation:e,code:r,category:o,message:a}){let i;return e===!0?i=`https://storybook.js.org/error/${bi({code:r,category:o})}`:typeof e=="string"?i=e:Array.isArray(e)&&(i=` +${e.map(u=>` - ${u}`).join(` +`)}`),`${a}${i!=null?` + +More info: ${i} +`:""}`}};n(bt,"StorybookError");var G=bt,Ti=(t=>(t.BLOCKS="BLOCKS",t.DOCS_TOOLS="DOCS-TOOLS",t.PREVIEW_CLIENT_LOGGER="PREVIEW_CLIENT-LOGGER",t.PREVIEW_CHANNELS="PREVIEW_CHANNELS",t.PREVIEW_CORE_EVENTS="PREVIEW_CORE-EVENTS",t.PREVIEW_INSTRUMENTER="PREVIEW_INSTRUMENTER",t.PREVIEW_API="PREVIEW_API",t.PREVIEW_REACT_DOM_SHIM="PREVIEW_REACT-DOM-SHIM",t.PREVIEW_ROUTER="PREVIEW_ROUTER",t.PREVIEW_THEMING="PREVIEW_THEMING",t.RENDERER_HTML="RENDERER_HTML",t.RENDERER_PREACT="RENDERER_PREACT",t.RENDERER_REACT="RENDERER_REACT",t.RENDERER_SERVER="RENDERER_SERVER",t.RENDERER_SVELTE="RENDERER_SVELTE",t.RENDERER_VUE="RENDERER_VUE",t.RENDERER_VUE3="RENDERER_VUE3",t.RENDERER_WEB_COMPONENTS="RENDERER_WEB-COMPONENTS",t.FRAMEWORK_NEXTJS="FRAMEWORK_NEXTJS",t.ADDON_VITEST="ADDON_VITEST",t))(Ti||{}),Xo=class extends G{constructor(e){super({category:"PREVIEW_API",code:1,message:_$1` + Couldn't find story matching id '${e.storyId}' after HMR. + - Did you just rename a story? + - Did you remove it from your CSF file? + - Are you sure a story with the id '${e.storyId}' exists? + - Please check the values in the stories field of your main.js config and see if they would match your CSF File. + - Also check the browser console and terminal for potential error messages.`}),this.data=e}};n(Xo,"MissingStoryAfterHmrError");var xr=Xo,Jo=class extends G{constructor(e){super({category:"PREVIEW_API",code:2,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function",message:_$1` + We detected that you use an implicit action arg while ${e.phase} of your story. + ${e.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: { + ${e.name}: fn() + }`}),this.data=e}};n(Jo,"ImplicitActionsDuringRendering");var zo=Jo,Qo=class extends G{constructor(){super({category:"PREVIEW_API",code:3,message:_$1` + Cannot call \`storyStore.extract()\` without calling \`storyStore.cacheAllCsfFiles()\` first. + + You probably meant to call \`await preview.extract()\` which does the above for you.`})}};n(Qo,"CalledExtractOnStoreError");var vr=Qo,Zo=class extends G{constructor(){super({category:"PREVIEW_API",code:4,message:_$1` + Expected your framework's preset to export a \`renderToCanvas\` field. + + Perhaps it needs to be upgraded for Storybook 7.0?`,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#mainjs-framework-field"})}};n(Zo,"MissingRenderToCanvasError");var wr=Zo,en=class extends G{constructor(e){super({category:"PREVIEW_API",code:5,message:_$1` + Called \`Preview.${e.methodName}()\` before initialization. + + The preview needs to load the story index before most methods can be called. If you want + to call \`${e.methodName}\`, try \`await preview.initializationPromise;\` first. + + If you didn't call the above code, then likely it was called by an addon that needs to + do the above.`}),this.data=e}};n(en,"CalledPreviewMethodBeforeInitializationError");var V=en,rn=class extends G{constructor(e){super({category:"PREVIEW_API",code:6,message:_$1` + Error fetching \`/index.json\`: + + ${e.text} + + If you are in development, this likely indicates a problem with your Storybook process, + check the terminal for errors. + + If you are in a deployed Storybook, there may have been an issue deploying the full Storybook + build.`}),this.data=e}};n(rn,"StoryIndexFetchError");var _r=rn,tn=class extends G{constructor(e){super({category:"PREVIEW_API",code:7,message:_$1` + Tried to render docs entry ${e.storyId} but it is a MDX file that has no CSF + references, or autodocs for a CSF file that some doesn't refer to itself. + + This likely is an internal error in Storybook's indexing, or you've attached the + \`attached-mdx\` tag to an MDX file that is not attached.`}),this.data=e}};n(tn,"MdxFileWithNoCsfReferencesError");var Cr=tn,on=class extends G{constructor(){super({category:"PREVIEW_API",code:8,message:_$1` + Couldn't find any stories in your Storybook. + + - Please check your stories field of your main.js config: does it match correctly? + - Also check the browser console and terminal for error messages.`})}};n(on,"EmptyIndexError");var Pr=on,nn=class extends G{constructor(e){super({category:"PREVIEW_API",code:9,message:_$1` + Couldn't find story matching '${e.storySpecifier}'. + + - Are you sure a story with that id exists? + - Please check your stories field of your main.js config. + - Also check the browser console and terminal for error messages.`}),this.data=e}};n(nn,"NoStoryMatchError");var Or=nn,sn=class extends G{constructor(e){super({category:"PREVIEW_API",code:10,message:_$1` + Couldn't find story matching id '${e.storyId}' after importing a CSF file. + + The file was indexed as if the story was there, but then after importing the file in the browser + we didn't find the story. Possible reasons: + - You are using a custom story indexer that is misbehaving. + - You have a custom file loader that is removing or renaming exports. + + Please check your browser console and terminal for errors that may explain the issue.`}),this.data=e}};n(sn,"MissingStoryFromCsfFileError");var Ir=sn,an=class extends G{constructor(){super({category:"PREVIEW_API",code:11,message:_$1` + Cannot access the Story Store until the index is ready. + + It is not recommended to use methods directly on the Story Store anyway, in Storybook 9 we will + remove access to the store entirely`})}};n(an,"StoryStoreAccessedBeforeInitializationError");var Fr=an,ln=class extends G{constructor(e){super({category:"PREVIEW_API",code:12,message:_$1` + Incorrect use of mount in the play function. + + To use mount in the play function, you must satisfy the following two requirements: + + 1. You *must* destructure the mount property from the \`context\` (the argument passed to your play function). + This makes sure that Storybook does not start rendering the story before the play function begins. + + 2. Your Storybook framework or builder must be configured to transpile to ES2017 or newer. + This is because destructuring statements and async/await usages are otherwise transpiled away, + which prevents Storybook from recognizing your usage of \`mount\`. + + Note that Angular is not supported. As async/await is transpiled to support the zone.js polyfill. + + More info: https://storybook.js.org/docs/writing-tests/interaction-testing#run-code-before-the-component-gets-rendered + + Received the following play function: + ${e.playFunction}`}),this.data=e}};n(ln,"MountMustBeDestructuredError");var Oe=ln,cn=class extends G{constructor(e){super({category:"PREVIEW_API",code:14,message:_$1` + No render function available for storyId '${e.id}' + `}),this.data=e}};n(cn,"NoRenderFunctionError");var Dr=cn,pn=class extends G{constructor(){super({category:"PREVIEW_API",code:15,message:_$1` + No component is mounted in your story. + + This usually occurs when you destructure mount in the play function, but forget to call it. + + For example: + + async play({ mount, canvasElement }) { + // 👈 mount should be called: await mount(); + const canvas = within(canvasElement); + const button = await canvas.findByRole('button'); + await userEvent.click(button); + }; + + Make sure to either remove it or call mount in your play function. + `})}};n(pn,"NoStoryMountedError");var Nr=pn,dn=class extends G{constructor(){super({category:"FRAMEWORK_NEXTJS",code:1,documentation:"https://storybook.js.org/docs/get-started/nextjs#faq",message:_$1` + You are importing avif images, but you don't have sharp installed. + + You have to install sharp in order to use image optimization features in Next.js. + `})}};n(dn,"NextJsSharpError");var Wo=dn,un=class extends G{constructor(e){super({category:"FRAMEWORK_NEXTJS",code:2,message:_$1` + Tried to access router mocks from "${e.importType}" but they were not created yet. You might be running code in an unsupported environment. + `}),this.data=e}};n(un,"NextjsRouterMocksNotAvailable");var $o=un,fn=class extends G{constructor(e){super({category:"DOCS-TOOLS",code:1,documentation:"https://github.com/storybookjs/storybook/issues/26606",message:_$1` + There was a failure when generating detailed ArgTypes in ${e.language} for: + ${JSON.stringify(e.type,null,2)} + + Storybook will fall back to use a generic type description instead. + + This type is either not supported or it is a bug in the docgen generation in Storybook. + If you think this is a bug, please detail it as much as possible in the Github issue. + `}),this.data=e}};n(fn,"UnknownArgTypesError");var Yo=fn,yn=class extends G{constructor(e){super({category:"ADDON_VITEST",code:1,message:_$1` + Encountered an unsupported value "${e.value}" when setting the viewport ${e.dimension} dimension. + + The Storybook plugin only supports values in the following units: + - px, vh, vw, em, rem and %. + + You can either change the viewport for this story to use one of the supported units or skip the test by adding '!test' to the story's tags per https://storybook.js.org/docs/writing-stories/tags + `}),this.data=e}};n(yn,"UnsupportedViewportDimensionError");var Ko=yn,Ot=ue(it()),rr=Symbol("incompatible"),mn=n((t,e)=>{let r=e.type;if(t==null||!r||e.mapping)return t;switch(r.name){case"string":return String(t);case"enum":return t;case"number":return Number(t);case"boolean":return String(t)==="true";case"array":return!r.value||!Array.isArray(t)?rr:t.reduce((o,a,i)=>{let u=mn(a,{type:r.value});return u!==rr&&(o[i]=u),o},new Array(t.length));case"object":return typeof t=="string"||typeof t=="number"?t:!r.value||typeof t!="object"?rr:Object.entries(t).reduce((o,[a,i])=>{let u=mn(i,{type:r.value[a]});return u===rr?o:Object.assign(o,{[a]:u})},{});default:return rr}},"map"),Ei=n((t,e)=>Object.entries(t).reduce((r,[o,a])=>{if(!e[o])return r;let i=mn(a,e[o]);return i===rr?r:Object.assign(r,{[o]:i})},{}),"mapArgsToTypes"),tr=n((t,e)=>Array.isArray(t)&&Array.isArray(e)?e.reduce((r,o,a)=>(r[a]=tr(t[a],e[a]),r),[...t]).filter(r=>r!==void 0):!$$1(t)||!$$1(e)?e:Object.keys({...t,...e}).reduce((r,o)=>{if(o in e){let a=tr(t[o],e[o]);a!==void 0&&(r[o]=a)}else r[o]=t[o];return r},{}),"combineArgs"),Ri=n((t,e)=>Object.entries(e).reduce((r,[o,{options:a}])=>{function i(){return o in t&&(r[o]=t[o]),r}if(n(i,"allowArg"),!a)return i();if(!Array.isArray(a))return j$1.error(_$1` + Invalid argType: '${o}.options' should be an array. + + More info: https://storybook.js.org/docs/api/arg-types + `),i();if(a.some(h=>h&&["object","function"].includes(typeof h)))return j$1.error(_$1` + Invalid argType: '${o}.options' should only contain primitives. Use a 'mapping' for complex values. + + More info: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values + `),i();let u=Array.isArray(t[o]),l=u&&t[o].findIndex(h=>!a.includes(h)),c=u&&l===-1;if(t[o]===void 0||a.includes(t[o])||c)return i();let d=u?`${o}[${l}]`:o,m=a.map(h=>typeof h=="string"?`'${h}'`:String(h)).join(", ");return j$1.warn(`Received illegal value for '${d}'. Supported options: ${m}`),r},{}),"validateOptions"),Ie=Symbol("Deeply equal"),or=n((t,e)=>{if(typeof t!=typeof e)return e;if(Ar(t,e))return Ie;if(Array.isArray(t)&&Array.isArray(e)){let r=e.reduce((o,a,i)=>{let u=or(t[i],a);return u!==Ie&&(o[i]=u),o},new Array(e.length));return e.length>=t.length?r:r.concat(new Array(t.length-e.length).fill(void 0))}return $$1(t)&&$$1(e)?Object.keys({...t,...e}).reduce((r,o)=>{let a=or(t==null?void 0:t[o],e==null?void 0:e[o]);return a===Ie?r:Object.assign(r,{[o]:a})},{}):e},"deepDiff"),hn="UNTARGETED";function Ai({args:t,argTypes:e}){let r={};return Object.entries(t).forEach(([o,a])=>{let{target:i=hn}=e[o]||{};r[i]=r[i]||{},r[i][o]=a}),r}n(Ai,"groupArgsByTarget");function qd(t){return Object.keys(t).forEach(e=>t[e]===void 0&&delete t[e]),t}n(qd,"deleteUndefined");var gn=class{constructor(){this.initialArgsByStoryId={},this.argsByStoryId={}}get(e){if(!(e in this.argsByStoryId))throw new Error(`No args known for ${e} -- has it been rendered yet?`);return this.argsByStoryId[e]}setInitial(e){if(!this.initialArgsByStoryId[e.id])this.initialArgsByStoryId[e.id]=e.initialArgs,this.argsByStoryId[e.id]=e.initialArgs;else if(this.initialArgsByStoryId[e.id]!==e.initialArgs){let r=or(this.initialArgsByStoryId[e.id],this.argsByStoryId[e.id]);this.initialArgsByStoryId[e.id]=e.initialArgs,this.argsByStoryId[e.id]=e.initialArgs,r!==Ie&&this.updateFromDelta(e,r)}}updateFromDelta(e,r){let o=Ri(r,e.argTypes);this.argsByStoryId[e.id]=tr(this.argsByStoryId[e.id],o)}updateFromPersisted(e,r){let o=Ei(r,e.argTypes);return this.updateFromDelta(e,o)}update(e,r){if(!(e in this.argsByStoryId))throw new Error(`No args known for ${e} -- has it been rendered yet?`);this.argsByStoryId[e]=qd({...this.argsByStoryId[e],...r})}};n(gn,"ArgsStore");var Tt=gn,Et=n((t={})=>Object.entries(t).reduce((e,[r,{defaultValue:o}])=>(typeof o<"u"&&(e[r]=o),e),{}),"getValuesFromArgTypes"),Sn=class{constructor({globals:e={},globalTypes:r={}}){this.set({globals:e,globalTypes:r})}set({globals:e={},globalTypes:r={}}){let o=this.initialGlobals&&or(this.initialGlobals,this.globals);this.allowedGlobalNames=new Set([...Object.keys(e),...Object.keys(r)]);let a=Et(r);this.initialGlobals={...a,...e},this.globals=this.initialGlobals,o&&o!==Ie&&this.updateFromPersisted(o)}filterAllowedGlobals(e){return Object.entries(e).reduce((r,[o,a])=>(this.allowedGlobalNames.has(o)?r[o]=a:I$1.warn(`Attempted to set a global (${o}) that is not defined in initial globals or globalTypes`),r),{})}updateFromPersisted(e){let r=this.filterAllowedGlobals(e);this.globals={...this.globals,...r}}get(){return this.globals}update(e){this.globals={...this.globals,...this.filterAllowedGlobals(e)}}};n(Sn,"GlobalsStore");var Rt=Sn,xi=ue(it()),Bd=(0,xi.default)(1)(t=>Object.values(t).reduce((e,r)=>(e[r.importPath]=e[r.importPath]||r,e),{})),bn=class{constructor({entries:e}={v:5,entries:{}}){this.entries=e}entryFromSpecifier(e){let r=Object.values(this.entries);if(e==="*")return r[0];if(typeof e=="string")return this.entries[e]?this.entries[e]:r.find(i=>i.id.startsWith(e));let{name:o,title:a}=e;return r.find(i=>i.name===o&&i.title===a)}storyIdToEntry(e){let r=this.entries[e];if(!r)throw new xr({storyId:e});return r}importPathToEntry(e){return Bd(this.entries)[e]}};n(bn,"StoryIndexStore");var At=bn,Vd=n(t=>typeof t=="string"?{name:t}:t,"normalizeType"),Hd=n(t=>typeof t=="string"?{type:t}:t,"normalizeControl"),zd=n((t,e)=>{let{type:r,control:o,...a}=t,i={name:e,...a};return r&&(i.type=Vd(r)),o?i.control=Hd(o):o===!1&&(i.control={disable:!0}),i},"normalizeInputType"),Fe=n(t=>oe(t,zd),"normalizeInputTypes");function vi(t){return t.replace(/_/g," ").replace(/-/g," ").replace(/\./g," ").replace(/([^\n])([A-Z])([a-z])/g,(e,r,o,a)=>`${r} ${o}${a}`).replace(/([a-z])([A-Z])/g,(e,r,o)=>`${r} ${o}`).replace(/([a-z])([0-9])/gi,(e,r,o)=>`${r} ${o}`).replace(/([0-9])([a-z])/gi,(e,r,o)=>`${r} ${o}`).replace(/(\s|^)(\w)/g,(e,r,o)=>`${r}${o.toUpperCase()}`).replace(/ +/g," ").trim()}n(vi,"toStartCaseStr");var En=ue(wi()),_i=n(t=>t.map(e=>typeof e<"u").filter(Boolean).length,"count"),Wd=n((t,e)=>{let{exists:r,eq:o,neq:a,truthy:i}=t;if(_i([r,o,a,i])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:r,eq:o,neq:a})}`);if(typeof o<"u")return(0,En.isEqual)(e,o);if(typeof a<"u")return!(0,En.isEqual)(e,a);if(typeof r<"u"){let u=typeof e<"u";return r?u:!u}return typeof i>"u"||i?!!e:!e},"testValue"),Rn=n((t,e,r)=>{if(!t.if)return!0;let{arg:o,global:a}=t.if;if(_i([o,a])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:o,global:a})}`);let i=o?e[o]:r[a];return Wd(t.if,i)},"includeConditionalArg");function nr(t){return t!=null&&typeof t=="object"&&"_tag"in t&&(t==null?void 0:t._tag)==="Story"}n(nr,"isStory");var An=n(t=>t.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,""),"sanitize"),Ci=n((t,e)=>{let r=An(t);if(r==="")throw new Error(`Invalid ${e} '${t}', must include alphanumeric characters`);return r},"sanitizeSafe"),Oi=n((t,e)=>`${Ci(t,"kind")}${e?`--${Ci(e,"name")}`:""}`,"toId"),Ii=n(t=>vi(t),"storyNameFromExport");function Pi(t,e){return Array.isArray(e)?e.includes(t):t.match(e)}n(Pi,"matches");function Lr(t,{includeStories:e,excludeStories:r}){return t!=="__esModule"&&(!e||Pi(t,e))&&(!r||!Pi(t,r))}n(Lr,"isExportStory");var Fi=n((...t)=>{let e=t.reduce((r,o)=>(o.startsWith("!")?r.delete(o.slice(1)):r.add(o),r),new Set);return Array.from(e)},"combineTags"),k=n(t=>Array.isArray(t)?t:t?[t]:[],"normalizeArrays"),$d=_$1` +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. +`;function De(t,e,r){let o=e,a=typeof e=="function"?e:null,{story:i}=o;i&&(I$1.debug("deprecated story",i),ae($d));let u=Ii(t),l=typeof o!="function"&&o.name||o.storyName||(i==null?void 0:i.name)||u,c=[...k(o.decorators),...k(i==null?void 0:i.decorators)],d={...i==null?void 0:i.parameters,...o.parameters},m={...i==null?void 0:i.args,...o.args},h={...i==null?void 0:i.argTypes,...o.argTypes},g=[...k(o.loaders),...k(i==null?void 0:i.loaders)],J=[...k(o.beforeEach),...k(i==null?void 0:i.beforeEach)],ne=[...k(o.experimental_afterEach),...k(i==null?void 0:i.experimental_afterEach)],{render:le,play:re,tags:ce=[],globals:F={}}=o,se=d.__id||Oi(r.id,u);return{moduleExport:e,id:se,name:l,tags:ce,decorators:c,parameters:d,args:m,argTypes:Fe(h),loaders:g,beforeEach:J,experimental_afterEach:ne,globals:F,...le&&{render:le},...a&&{userStoryFn:a},...re&&{play:re}}}n(De,"normalizeStory");function jr(t,e=t.title,r){let{id:o,argTypes:a}=t;return{id:An(o||e),...t,title:e,...a&&{argTypes:Fe(a)},parameters:{fileName:r,...t.parameters}}}n(jr,"normalizeComponentAnnotations");var Yd=n(t=>{let{globals:e,globalTypes:r}=t;(e||r)&&I$1.error("Global args/argTypes can only be set globally",JSON.stringify({globals:e,globalTypes:r}))},"checkGlobals"),Kd=n(t=>{let{options:e}=t;e!=null&&e.storySort&&I$1.error("The storySort option parameter can only be set globally")},"checkStorySort"),xt=n(t=>{t&&(Yd(t),Kd(t))},"checkDisallowedParameters");function Di(t,e,r){let{default:o,__namedExportsOrder:a,...i}=t,u=Object.values(i)[0];if(nr(u)){let d=jr(u.meta.input,r,e);xt(d.parameters);let m={meta:d,stories:{},moduleExports:t};return Object.keys(i).forEach(h=>{if(Lr(h,d)){let g=De(h,i[h].input,d);xt(g.parameters),m.stories[g.id]=g}}),m.projectAnnotations=u.meta.preview.composed,m}let l=jr(o,r,e);xt(l.parameters);let c={meta:l,stories:{},moduleExports:t};return Object.keys(i).forEach(d=>{if(Lr(d,l)){let m=De(d,i[d],l);xt(m.parameters),c.stories[m.id]=m}}),c}n(Di,"processCSFFile");function ki(t){return t!=null&&Xd(t).includes("mount")}n(ki,"mountDestructured");function Xd(t){let e=t.toString().match(/[^(]*\(([^)]*)/);if(!e)return[];let r=Ni(e[1]);if(!r.length)return[];let o=r[0];return o.startsWith("{")&&o.endsWith("}")?Ni(o.slice(1,-1).replace(/\s/g,"")).map(a=>a.replace(/:.*|=.*/g,"")):[]}n(Xd,"getUsedProps");function Ni(t){let e=[],r=[],o=0;for(let i=0;ie(o,a)}n(xn,"decorateStory");function vn({componentId:t,title:e,kind:r,id:o,name:a,story:i,parameters:u,initialArgs:l,argTypes:c,...d}={}){return d}n(vn,"sanitizeStoryContextUpdate");function vt(t,e){let r={},o=n(i=>u=>{if(!r.value)throw new Error("Decorated function called without init");return r.value={...r.value,...vn(u)},i(r.value)},"bindWithContext"),a=e.reduce((i,u)=>xn(i,u,o),t);return i=>(r.value=i,a(i))}n(vt,"defaultDecorateStory");var Y=n((...t)=>{let e={},r=t.filter(Boolean),o=r.reduce((a,i)=>(Object.entries(i).forEach(([u,l])=>{let c=a[u];Array.isArray(l)||typeof c>"u"?a[u]=l:$$1(l)&&$$1(c)?e[u]=!0:typeof l<"u"&&(a[u]=l)}),a),{});return Object.keys(e).forEach(a=>{let i=r.filter(Boolean).map(u=>u[a]).filter(u=>typeof u<"u");i.every(u=>$$1(u))?o[a]=Y(...i):o[a]=i[i.length-1]}),o},"combineParameters");function sr(t,e,r){let{moduleExport:o,id:a,name:i}=t||{},u=Li(t,e,r),l=n(async ve=>{let we={};for(let Nt of[..."__STORYBOOK_TEST_LOADERS__"in E$1&&Array.isArray(E$1.__STORYBOOK_TEST_LOADERS__)?[E$1.__STORYBOOK_TEST_LOADERS__]:[],k(r.loaders),k(e.loaders),k(t.loaders)]){if(ve.abortSignal.aborted)return we;let Bt=await Promise.all(Nt.map(Ft=>Ft(ve)));Object.assign(we,...Bt)}return we},"applyLoaders"),c=n(async ve=>{let we=new Array;for(let Nt of[...k(r.beforeEach),...k(e.beforeEach),...k(t.beforeEach)]){if(ve.abortSignal.aborted)return we;let Bt=await Nt(ve);Bt&&we.push(Bt)}return we},"applyBeforeEach"),d=n(async ve=>{let we=[...k(r.experimental_afterEach),...k(e.experimental_afterEach),...k(t.experimental_afterEach)].reverse();for(let Nt of we){if(ve.abortSignal.aborted)return;await Nt(ve)}},"applyAfterEach"),m=n(ve=>ve.originalStoryFn(ve.args,ve),"undecoratedStoryFn"),{applyDecorators:h=vt,runStep:g}=r,J=[...k(t==null?void 0:t.decorators),...k(e==null?void 0:e.decorators),...k(r==null?void 0:r.decorators)],ne=(t==null?void 0:t.userStoryFn)||(t==null?void 0:t.render)||e.render||r.render,le=ft(h)(m,J),re=n(ve=>le(ve),"unboundStoryFn"),ce=(t==null?void 0:t.play)??(e==null?void 0:e.play),F=ki(ce);if(!ne&&!F)throw new Dr({id:a});let se=n(ve=>async()=>(await ve.renderToCanvas(),ve.canvas),"defaultMount"),he=t.mount??e.mount??r.mount??se,Ve=r.testingLibraryRender;return{storyGlobals:{},...u,moduleExport:o,id:a,name:i,story:i,originalStoryFn:ne,undecoratedStoryFn:m,unboundStoryFn:re,applyLoaders:l,applyBeforeEach:c,applyAfterEach:d,playFunction:ce,runStep:g,mount:he,testingLibraryRender:Ve,renderToCanvas:r.renderToCanvas,usesMount:F}}n(sr,"prepareStory");function wt(t,e,r){return{...Li(void 0,t,e),moduleExport:r}}n(wt,"prepareMeta");function Li(t,e,r){var ce;let o=["dev","test"],a=((ce=E$1.DOCS_OPTIONS)==null?void 0:ce.autodocs)===!0?["autodocs"]:[],i=Fi(...o,...a,...r.tags??[],...e.tags??[],...(t==null?void 0:t.tags)??[]),u=Y(r.parameters,e.parameters,t==null?void 0:t.parameters),{argTypesEnhancers:l=[],argsEnhancers:c=[]}=r,d=Y(r.argTypes,e.argTypes,t==null?void 0:t.argTypes);if(t){let F=(t==null?void 0:t.userStoryFn)||(t==null?void 0:t.render)||e.render||r.render;u.__isArgsStory=F&&F.length>0}let m={...r.args,...e.args,...t==null?void 0:t.args},h={...e.globals,...t==null?void 0:t.globals},g={componentId:e.id,title:e.title,kind:e.title,id:(t==null?void 0:t.id)||e.id,name:(t==null?void 0:t.name)||"__meta",story:(t==null?void 0:t.name)||"__meta",component:e.component,subcomponents:e.subcomponents,tags:i,parameters:u,initialArgs:m,argTypes:d,storyGlobals:h};g.argTypes=l.reduce((F,se)=>se({...g,argTypes:F}),g.argTypes);let J={...m};g.initialArgs=c.reduce((F,se)=>({...F,...se({...g,initialArgs:F})}),J);let{name:ne,story:le,...re}=g;return re}n(Li,"preparePartialAnnotations");function _t(t){var i;let{args:e}=t,r={...t,allArgs:void 0,argsByTarget:void 0};if((i=E$1.FEATURES)!=null&&i.argTypeTargetsV7){let u=Ai(t);r={...t,allArgs:t.args,argsByTarget:u,args:u[hn]||{}}}let o=Object.entries(r.args).reduce((u,[l,c])=>{var m;if(!((m=r.argTypes[l])!=null&&m.mapping))return u[l]=c,u;let d=n(h=>{let g=r.argTypes[l].mapping;return g&&h in g?g[h]:h},"mappingFn");return u[l]=Array.isArray(c)?c.map(d):d(c),u},{}),a=Object.entries(o).reduce((u,[l,c])=>{let d=r.argTypes[l]||{};return Rn(d,o,r.globals)&&(u[l]=c),u},{});return{...r,unmappedArgs:e,args:a}}n(_t,"prepareContext");var wn=n((t,e,r)=>{let o=typeof t;switch(o){case"boolean":case"string":case"number":case"function":case"symbol":return{name:o}}return t?r.has(t)?(I$1.warn(_$1` + We've detected a cycle in arg '${e}'. Args should be JSON-serializable. + + Consider using the mapping feature or fully custom args: + - Mapping: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values + - Custom args: https://storybook.js.org/docs/essentials/controls#fully-custom-args + `),{name:"other",value:"cyclic object"}):(r.add(t),Array.isArray(t)?{name:"array",value:t.length>0?wn(t[0],e,new Set(r)):{name:"other",value:"unknown"}}:{name:"object",value:oe(t,a=>wn(a,e,new Set(r)))}):{name:"object",value:{}}},"inferType"),_n=n(t=>{let{id:e,argTypes:r={},initialArgs:o={}}=t,a=oe(o,(u,l)=>({name:l,type:wn(u,`${e}.${l}`,new Set)})),i=oe(r,(u,l)=>({name:l}));return Y(a,i,r)},"inferArgTypes");_n.secondPass=!0;var ji=n((t,e)=>Array.isArray(e)?e.includes(t):t.match(e),"matches"),Mr=n((t,e,r)=>!e&&!r?t:t&&qo(t,(o,a)=>{let i=o.name||a.toString();return!!(!e||ji(i,e))&&(!r||!ji(i,r))}),"filterArgTypes"),Jd=n((t,e,r)=>{let{type:o,options:a}=t;if(o){if(r.color&&r.color.test(e)){let i=o.name;if(i==="string")return{control:{type:"color"}};i!=="enum"&&I$1.warn(`Addon controls: Control of type color only supports string, received "${i}" instead`)}if(r.date&&r.date.test(e))return{control:{type:"date"}};switch(o.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:i}=o;return{control:{type:(i==null?void 0:i.length)<=5?"radio":"select"},options:i}}case"function":case"symbol":return null;default:return{control:{type:a?"select":"object"}}}}},"inferControl"),ir=n(t=>{let{argTypes:e,parameters:{__isArgsStory:r,controls:{include:o=null,exclude:a=null,matchers:i={}}={}}}=t;if(!r)return e;let u=Mr(e,o,a),l=oe(u,(c,d)=>(c==null?void 0:c.type)&&Jd(c,d.toString(),i));return Y(l,u)},"inferControls");ir.secondPass=!0;function Ne({argTypes:t,globalTypes:e,argTypesEnhancers:r,decorators:o,loaders:a,beforeEach:i,experimental_afterEach:u,globals:l,initialGlobals:c,...d}){return l&&Object.keys(l).length>0&&ae(_$1` + The preview.js 'globals' field is deprecated and will be removed in Storybook 9.0. + Please use 'initialGlobals' instead. Learn more: + + https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#previewjs-globals-renamed-to-initialglobals + `),{...t&&{argTypes:Fe(t)},...e&&{globalTypes:Fe(e)},decorators:k(o),loaders:k(a),beforeEach:k(i),experimental_afterEach:k(u),argTypesEnhancers:[...r||[],_n,ir],initialGlobals:Y(c,l),...d}}n(Ne,"normalizeProjectAnnotations");var Mi=n(t=>async()=>{let e=[];for(let r of t){let o=await r();o&&e.unshift(o)}return async()=>{for(let r of e)await r()}},"composeBeforeAllHooks");function Ct(t){return async(e,r,o)=>{await t.reduceRight((a,i)=>async()=>i(e,a,o),async()=>r(o))()}}n(Ct,"composeStepRunners");function Gr(t,e){return t.map(r=>{var o;return((o=r.default)==null?void 0:o[e])??r[e]}).filter(Boolean)}n(Gr,"getField");function Te(t,e,r={}){return Gr(t,e).reduce((o,a)=>{let i=k(a);return r.reverseFileOrder?[...i,...o]:[...o,...i]},[])}n(Te,"getArrayField");function Ur(t,e){return Object.assign({},...Gr(t,e))}n(Ur,"getObjectField");function ar(t,e){return Gr(t,e).pop()}n(ar,"getSingletonField");function ke(t){var a;let e=Te(t,"argTypesEnhancers"),r=Gr(t,"runStep"),o=Te(t,"beforeAll");return{parameters:Y(...Gr(t,"parameters")),decorators:Te(t,"decorators",{reverseFileOrder:!(((a=E$1.FEATURES)==null?void 0:a.legacyDecoratorFileOrder)??!1)}),args:Ur(t,"args"),argsEnhancers:Te(t,"argsEnhancers"),argTypes:Ur(t,"argTypes"),argTypesEnhancers:[...e.filter(i=>!i.secondPass),...e.filter(i=>i.secondPass)],globals:Ur(t,"globals"),initialGlobals:Ur(t,"initialGlobals"),globalTypes:Ur(t,"globalTypes"),loaders:Te(t,"loaders"),beforeAll:Mi(o),beforeEach:Te(t,"beforeEach"),experimental_afterEach:Te(t,"experimental_afterEach"),render:ar(t,"render"),renderToCanvas:ar(t,"renderToCanvas"),renderToDOM:ar(t,"renderToDOM"),applyDecorators:ar(t,"applyDecorators"),runStep:Ct(r),tags:Te(t,"tags"),mount:ar(t,"mount"),testingLibraryRender:ar(t,"testingLibraryRender")}}n(ke,"composeConfigs");var Cn=class{constructor(){this.reports=[]}async addReport(e){this.reports.push(e)}};n(Cn,"ReporterAPI");var Ee=Cn;function Pt(t,e,r){return nr(t)?{story:t.input,meta:t.meta.input,preview:t.meta.preview.composed}:{story:t,meta:e,preview:r}}n(Pt,"getCsfFactoryAnnotations");function Ui(t){globalThis.defaultProjectAnnotations=t}n(Ui,"setDefaultProjectAnnotations");var Qd="ComposedStory",Zd="Unnamed Story";function eu(t){return t?ke([t]):{}}n(eu,"extractAnnotation");function Gi(t){let e=Array.isArray(t)?t:[t];return globalThis.globalProjectAnnotations=ke([globalThis.defaultProjectAnnotations??{},ke(e.map(eu))]),globalThis.globalProjectAnnotations??{}}n(Gi,"setProjectAnnotations");var Re=[];function Pn(t,e,r,o,a){var ce;if(t===void 0)throw new Error("Expected a story but received undefined.");e.title=e.title??Qd;let i=jr(e),u=a||t.storyName||((ce=t.story)==null?void 0:ce.name)||t.name||Zd,l=De(u,t,i),c=Ne(ke([o??globalThis.globalProjectAnnotations??{},r??{}])),d=sr(l,i,c),m={...Et(c.globalTypes),...c.initialGlobals,...d.storyGlobals},h=new Ee,g=n(()=>{let F=_t({hooks:new be,globals:m,args:{...d.initialArgs},viewMode:"story",reporting:h,loaded:{},abortSignal:new AbortController().signal,step:n((se,he)=>d.runStep(se,he,F),"step"),canvasElement:null,canvas:{},globalTypes:c.globalTypes,...d,context:null,mount:null});return F.parameters.__isPortableStory=!0,F.context=F,d.renderToCanvas&&(F.renderToCanvas=async()=>{var he;let se=await((he=d.renderToCanvas)==null?void 0:he.call(d,{componentId:d.componentId,title:d.title,id:d.id,name:d.name,tags:d.tags,showMain:n(()=>{},"showMain"),showError:n(Ve=>{throw new Error(`${Ve.title} +${Ve.description}`)},"showError"),showException:n(Ve=>{throw Ve},"showException"),forceRemount:!0,storyContext:F,storyFn:n(()=>d.unboundStoryFn(F),"storyFn"),unboundStoryFn:d.unboundStoryFn},F.canvasElement));se&&Re.push(se)}),F.mount=d.mount(F),F},"initializeContext"),J,ne=n(async F=>{var he;let se=g();return se.canvasElement??(se.canvasElement=(he=globalThis==null?void 0:globalThis.document)==null?void 0:he.body),J&&(se.loaded=J.loaded),Object.assign(se,F),d.playFunction(se)},"play"),le=n(F=>{let se=g();return Object.assign(se,F),tu(d,se)},"run"),re=d.playFunction?ne:void 0;return Object.assign(n(function(F){let se=g();return J&&(se.loaded=J.loaded),se.args={...se.initialArgs,...F},d.unboundStoryFn(se)},"storyFn"),{id:d.id,storyName:u,load:n(async()=>{for(let se of[...Re].reverse())await se();Re.length=0;let F=g();F.loaded=await d.applyLoaders(F),Re.push(...(await d.applyBeforeEach(F)).filter(Boolean)),J=F},"load"),globals:m,args:d.initialArgs,parameters:d.parameters,argTypes:d.argTypes,play:re,run:le,reporting:h,tags:d.tags})}n(Pn,"composeStory");var ru=n((t,e,r,o)=>Pn(t,e,r,{},o),"defaultComposeStory");function qi(t,e,r=ru){let{default:o,__esModule:a,__namedExportsOrder:i,...u}=t,l=o;return Object.entries(u).reduce((c,[d,m])=>{let{story:h,meta:g}=Pt(m);return!l&&g&&(l=g),Lr(d,l)?Object.assign(c,{[d]:r(h,l,e,d)}):c},{})}n(qi,"composeStories");function Bi(t){return t.extend({mount:n(async({mount:e,page:r},o)=>{await o(async(a,...i)=>{if(!("__pw_type"in a)||"__pw_type"in a&&a.__pw_type!=="jsx")throw new Error(_$1` + Portable stories in Playwright CT only work when referencing JSX elements. + Please use JSX format for your components such as: + + instead of: + await mount(MyComponent, { props: { foo: 'bar' } }) + + do: + await mount() + + More info: https://storybook.js.org/docs/api/portable-stories-playwright + `);await r.evaluate(async l=>{var d,m,h;let c=await((d=globalThis.__pwUnwrapObject)==null?void 0:d.call(globalThis,l));return(h=(m="__pw_type"in c?c.type:c)==null?void 0:m.load)==null?void 0:h.call(m)},a);let u=await e(a,...i);return await r.evaluate(async l=>{var h,g;let c=await((h=globalThis.__pwUnwrapObject)==null?void 0:h.call(globalThis,l)),d="__pw_type"in c?c.type:c,m=document.querySelector("#root");return(g=d==null?void 0:d.play)==null?void 0:g.call(d,{canvasElement:m})},a),u})},"mount")})}n(Bi,"createPlaywrightTest");async function tu(t,e){var a,i;for(let u of[...Re].reverse())await u();if(Re.length=0,!e.canvasElement){let u=document.createElement("div");(i=(a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body)==null||i.appendChild(u),e.canvasElement=u,Re.push(()=>{var l,c,d,m;(c=(l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body)!=null&&c.contains(u)&&((m=(d=globalThis==null?void 0:globalThis.document)==null?void 0:d.body)==null||m.removeChild(u))})}if(e.loaded=await t.applyLoaders(e),e.abortSignal.aborted)return;Re.push(...(await t.applyBeforeEach(e)).filter(Boolean));let r=t.playFunction,o=t.usesMount;o||await e.mount(),!e.abortSignal.aborted&&(r&&(o||(e.mount=async()=>{throw new Oe({playFunction:r.toString()})}),await r(e)),await t.applyAfterEach(e))}n(tu,"runStory");function Vi(t,e){return Uo(Go(t,e),r=>r===void 0)}n(Vi,"picky");var Hi=1e3,ou=1e4,On=class{constructor(e,r,o){this.importFn=r,this.getStoriesJsonData=n(()=>{let u=this.getSetStoriesPayload(),l=["fileName","docsOnly","framework","__id","__isArgsStory"];return{v:3,stories:oe(u.stories,c=>{let{importPath:d}=this.storyIndex.entries[c.id];return{...Vi(c,["id","name","title"]),importPath:d,kind:c.title,story:c.name,parameters:{...Vi(c.parameters,l),fileName:d}}})}},"getStoriesJsonData"),this.storyIndex=new At(e),this.projectAnnotations=Ne(o);let{initialGlobals:a,globalTypes:i}=this.projectAnnotations;this.args=new Tt,this.userGlobals=new Rt({globals:a,globalTypes:i}),this.hooks={},this.cleanupCallbacks={},this.processCSFFileWithCache=(0,Ot.default)(Hi)(Di),this.prepareMetaWithCache=(0,Ot.default)(Hi)(wt),this.prepareStoryWithCache=(0,Ot.default)(ou)(sr)}setProjectAnnotations(e){this.projectAnnotations=Ne(e);let{initialGlobals:r,globalTypes:o}=e;this.userGlobals.set({globals:r,globalTypes:o})}async onStoriesChanged({importFn:e,storyIndex:r}){e&&(this.importFn=e),r&&(this.storyIndex.entries=r.entries),this.cachedCSFFiles&&await this.cacheAllCSFFiles()}async storyIdToEntry(e){return this.storyIndex.storyIdToEntry(e)}async loadCSFFileByStoryId(e){let{importPath:r,title:o}=this.storyIndex.storyIdToEntry(e),a=await this.importFn(r);return this.processCSFFileWithCache(a,r,o)}async loadAllCSFFiles(){let e={};return Object.entries(this.storyIndex.entries).forEach(([r,{importPath:o}])=>{e[o]=r}),(await Promise.all(Object.entries(e).map(async([r,o])=>({importPath:r,csfFile:await this.loadCSFFileByStoryId(o)})))).reduce((r,{importPath:o,csfFile:a})=>(r[o]=a,r),{})}async cacheAllCSFFiles(){this.cachedCSFFiles=await this.loadAllCSFFiles()}preparedMetaFromCSFFile({csfFile:e}){let r=e.meta;return this.prepareMetaWithCache(r,this.projectAnnotations,e.moduleExports.default)}async loadStory({storyId:e}){let r=await this.loadCSFFileByStoryId(e);return this.storyFromCSFFile({storyId:e,csfFile:r})}storyFromCSFFile({storyId:e,csfFile:r}){let o=r.stories[e];if(!o)throw new Ir({storyId:e});let a=r.meta,i=this.prepareStoryWithCache(o,a,r.projectAnnotations??this.projectAnnotations);return this.args.setInitial(i),this.hooks[i.id]=this.hooks[i.id]||new be,i}componentStoriesFromCSFFile({csfFile:e}){return Object.keys(this.storyIndex.entries).filter(r=>!!e.stories[r]).map(r=>this.storyFromCSFFile({storyId:r,csfFile:e}))}async loadEntry(e){let r=await this.storyIdToEntry(e),o=r.type==="docs"?r.storiesImports:[],[a,...i]=await Promise.all([this.importFn(r.importPath),...o.map(u=>{let l=this.storyIndex.importPathToEntry(u);return this.loadCSFFileByStoryId(l.id)})]);return{entryExports:a,csfFiles:i}}getStoryContext(e,{forceInitialArgs:r=!1}={}){let o=this.userGlobals.get(),{initialGlobals:a}=this.userGlobals,i=new Ee;return _t({...e,args:r?e.initialArgs:this.args.get(e.id),initialGlobals:a,globalTypes:this.projectAnnotations.globalTypes,userGlobals:o,reporting:i,globals:{...o,...e.storyGlobals},hooks:this.hooks[e.id]})}addCleanupCallbacks(e,r){this.cleanupCallbacks[e.id]=r}async cleanupStory(e){this.hooks[e.id].clean();let r=this.cleanupCallbacks[e.id];if(r)for(let o of[...r].reverse())await o();delete this.cleanupCallbacks[e.id]}extract(e={includeDocsOnly:!1}){let{cachedCSFFiles:r}=this;if(!r)throw new vr;return Object.entries(this.storyIndex.entries).reduce((o,[a,{type:i,importPath:u}])=>{if(i==="docs")return o;let l=r[u],c=this.storyFromCSFFile({storyId:a,csfFile:l});return!e.includeDocsOnly&&c.parameters.docsOnly||(o[a]=Object.entries(c).reduce((d,[m,h])=>m==="moduleExport"||typeof h=="function"?d:Array.isArray(h)?Object.assign(d,{[m]:h.slice().sort()}):Object.assign(d,{[m]:h}),{args:c.initialArgs,globals:{...this.userGlobals.initialGlobals,...this.userGlobals.globals,...c.storyGlobals}})),o},{})}getSetStoriesPayload(){let e=this.extract({includeDocsOnly:!0}),r=Object.values(e).reduce((o,{title:a})=>(o[a]={},o),{});return{v:2,globals:this.userGlobals.get(),globalParameters:{},kindParameters:r,stories:e}}raw(){return ae("StoryStore.raw() is deprecated and will be removed in 9.0, please use extract() instead"),Object.values(this.extract()).map(({id:e})=>this.fromId(e)).filter(Boolean)}fromId(e){if(ae("StoryStore.fromId() is deprecated and will be removed in 9.0, please use loadStory() instead"),!this.cachedCSFFiles)throw new Error("Cannot call fromId/raw() unless you call cacheAllCSFFiles() first.");let r;try{({importPath:r}=this.storyIndex.storyIdToEntry(e))}catch{return null}let o=this.cachedCSFFiles[r],a=this.storyFromCSFFile({storyId:e,csfFile:o});return{...a,storyFn:n(i=>{let u={...this.getStoryContext(a),abortSignal:new AbortController().signal,canvasElement:null,loaded:{},step:n((l,c)=>a.runStep(l,c,u),"step"),context:null,mount:null,canvas:{},viewMode:"story"};return a.unboundStoryFn({...u,...i})},"storyFn")}}};n(On,"StoryStore");var Le=On;function In(t){return t.startsWith("\\\\?\\")?t:t.replace(/\\/g,"/")}n(In,"slash");var nu=n(t=>{if(t.length===0)return t;let e=t[t.length-1],r=e==null?void 0:e.replace(/(?:[.](?:story|stories))?([.][^.]+)$/i,"");if(t.length===1)return[r];let o=t[t.length-2];return r&&o&&r.toLowerCase()===o.toLowerCase()?[...t.slice(0,-2),r]:r&&(/^(story|stories)([.][^.]+)$/i.test(e)||/^index$/i.test(r))?t.slice(0,-1):[...t.slice(0,-1),r]},"sanitize");function zi(t){return t.flatMap(e=>e.split("/")).filter(Boolean).join("/")}n(zi,"pathJoin");var Fn=n((t,e,r)=>{let{directory:o,importPathMatcher:a,titlePrefix:i=""}=e||{};typeof t=="number"&&j$1.warn(_$1` + CSF Auto-title received a numeric fileName. This typically happens when + webpack is mis-configured in production mode. To force webpack to produce + filenames, set optimization.moduleIds = "named" in your webpack config. + `);let u=In(String(t));if(a.exec(u)){if(!r){let l=u.replace(o,""),c=zi([i,l]).split("/");return c=nu(c),c.join("/")}return i?zi([i,r]):r}},"userOrAutoTitleFromSpecifier"),Wi=n((t,e,r)=>{for(let o=0;o(e,r)=>{if(e.title===r.title&&!t.includeNames)return 0;let o=t.method||"configure",a=t.order||[],i=e.title.trim().split($i),u=r.title.trim().split($i);t.includeNames&&(i.push(e.name),u.push(r.name));let l=0;for(;i[l]||u[l];){if(!i[l])return-1;if(!u[l])return 1;let c=i[l],d=u[l];if(c!==d){let h=a.indexOf(c),g=a.indexOf(d),J=a.indexOf("*");return h!==-1||g!==-1?(h===-1&&(J!==-1?h=J:h=a.length),g===-1&&(J!==-1?g=J:g=a.length),h-g):o==="configure"?0:c.localeCompare(d,t.locales?t.locales:void 0,{numeric:!0,sensitivity:"accent"})}let m=a.indexOf(c);m===-1&&(m=a.indexOf("*")),a=m!==-1&&Array.isArray(a[m+1])?a[m+1]:[],l+=1}return 0},"storySort"),su=n((t,e,r)=>{if(e){let o;typeof e=="function"?o=e:o=Yi(e),t.sort(o)}else t.sort((o,a)=>r.indexOf(o.importPath)-r.indexOf(a.importPath));return t},"sortStoriesCommon"),Ki=n((t,e,r)=>{try{return su(t,e,r)}catch(o){throw new Error(_$1` + Error sorting stories with sort parameter ${e}: + + > ${o.message} + + Are you using a V6-style sort function in V7 mode? + + More info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#v7-style-story-sort + `)}},"sortStoriesV7"),Ae=new Error("prepareAborted"),{AbortController:Xi}=globalThis;function Ji(t){try{let{name:e="Error",message:r=String(t),stack:o}=t;return{name:e,message:r,stack:o}}catch{return{name:"Error",message:String(t)}}}n(Ji,"serializeError");var Dn=class{constructor(e,r,o,a,i,u,l={autoplay:!0,forceInitialArgs:!1},c){this.channel=e,this.store=r,this.renderToScreen=o,this.callbacks=a,this.id=i,this.viewMode=u,this.renderOptions=l,this.type="story",this.notYetRendered=!0,this.rerenderEnqueued=!1,this.disableKeyListeners=!1,this.teardownRender=n(()=>{},"teardownRender"),this.torndown=!1,this.abortController=new Xi,c&&(this.story=c,this.phase="preparing")}async runPhase(e,r,o){this.phase=r,this.channel.emit(Pe,{newPhase:this.phase,storyId:this.id}),o&&(await o(),this.checkIfAborted(e))}checkIfAborted(e){return e.aborted?(this.phase="aborted",this.channel.emit(Pe,{newPhase:this.phase,storyId:this.id}),!0):!1}async prepare(){if(await this.runPhase(this.abortController.signal,"preparing",async()=>{this.story=await this.store.loadStory({storyId:this.id})}),this.abortController.signal.aborted)throw await this.store.cleanupStory(this.story),Ae}isEqual(e){return!!(this.id===e.id&&this.story&&this.story===e.story)}isPreparing(){return["preparing"].includes(this.phase)}isPending(){return["loading","beforeEach","rendering","playing","afterEach"].includes(this.phase)}async renderToElement(e){return this.canvasElement=e,this.render({initial:!0,forceRemount:!0})}storyContext(){if(!this.story)throw new Error("Cannot call storyContext before preparing");let{forceInitialArgs:e}=this.renderOptions;return this.store.getStoryContext(this.story,{forceInitialArgs:e})}async render({initial:e=!1,forceRemount:r=!1}={}){var se,he,Ve,ve;let{canvasElement:o}=this;if(!this.story)throw new Error("cannot render when not prepared");let a=this.story;if(!o)throw new Error("cannot render when canvasElement is unset");let{id:i,componentId:u,title:l,name:c,tags:d,applyLoaders:m,applyBeforeEach:h,applyAfterEach:g,unboundStoryFn:J,playFunction:ne,runStep:le}=a;r&&!e&&(this.cancelRender(),this.abortController=new Xi);let re=this.abortController.signal,ce=!1,F=a.usesMount;try{let we={...this.storyContext(),viewMode:this.viewMode,abortSignal:re,canvasElement:o,loaded:{},step:n((B,de)=>le(B,de,we),"step"),context:null,canvas:{},renderToCanvas:n(async()=>{let B=await this.renderToScreen(Nt,o);this.teardownRender=B||(()=>{}),ce=!0},"renderToCanvas"),mount:n(async(...B)=>{var pe,Lt;(Lt=(pe=this.callbacks).showStoryDuringRender)==null||Lt.call(pe);let de=null;return await this.runPhase(re,"rendering",async()=>{de=await a.mount(we)(...B)}),F&&await this.runPhase(re,"playing"),de},"mount")};we.context=we;let Nt={componentId:u,title:l,kind:l,id:i,name:c,story:c,tags:d,...this.callbacks,showError:n(B=>(this.phase="errored",this.callbacks.showError(B)),"showError"),showException:n(B=>(this.phase="errored",this.callbacks.showException(B)),"showException"),forceRemount:r||this.notYetRendered,storyContext:we,storyFn:n(()=>J(we),"storyFn"),unboundStoryFn:J};if(await this.runPhase(re,"loading",async()=>{we.loaded=await m(we)}),re.aborted)return;let Bt=await h(we);if(this.store.addCleanupCallbacks(a,Bt),this.checkIfAborted(re)||(!ce&&!F&&await we.mount(),this.notYetRendered=!1,re.aborted))return;let Ft=((he=(se=this.story.parameters)==null?void 0:se.test)==null?void 0:he.dangerouslyIgnoreUnhandledErrors)===!0,jt=new Set,qe=n(B=>jt.add("error"in B?B.error:B.reason),"onError");if(this.renderOptions.autoplay&&r&&ne&&this.phase!=="errored"){window.addEventListener("error",qe),window.addEventListener("unhandledrejection",qe),this.disableKeyListeners=!0;try{if(F?await ne(we):(we.mount=async()=>{throw new Oe({playFunction:ne.toString()})},await this.runPhase(re,"playing",async()=>ne(we))),!ce)throw new Nr;this.checkIfAborted(re),!Ft&&jt.size>0?await this.runPhase(re,"errored"):await this.runPhase(re,"played")}catch(B){if((ve=(Ve=this.callbacks).showStoryDuringRender)==null||ve.call(Ve),await this.runPhase(re,"errored",async()=>{this.channel.emit(Xt,Ji(B))}),this.story.parameters.throwPlayFunctionExceptions!==!1)throw B;console.error(B)}if(!Ft&&jt.size>0&&this.channel.emit(Jt,Array.from(jt).map(Ji)),this.disableKeyListeners=!1,window.removeEventListener("unhandledrejection",qe),window.removeEventListener("error",qe),re.aborted)return}await this.runPhase(re,"completed",async()=>this.channel.emit(We,i)),this.phase!=="errored"&&await this.runPhase(re,"afterEach",async()=>{await g(we)});let Dt=!Ft&&jt.size>0,p=we.reporting.reports.some(B=>B.status==="failed"),A=Dt||p;await this.runPhase(re,"finished",async()=>this.channel.emit(ot,{storyId:i,status:A?"error":"success",reporters:we.reporting.reports}))}catch(we){this.phase="errored",this.callbacks.showException(we),await this.runPhase(re,"finished",async()=>this.channel.emit(ot,{storyId:i,status:"error",reporters:[]}))}this.rerenderEnqueued&&(this.rerenderEnqueued=!1,this.render())}async rerender(){if(this.isPending()&&this.phase!=="playing")this.rerenderEnqueued=!0;else return this.render()}async remount(){return await this.teardown(),this.render({forceRemount:!0})}cancelRender(){var e;(e=this.abortController)==null||e.abort()}async teardown(){this.torndown=!0,this.cancelRender(),this.story&&await this.store.cleanupStory(this.story);for(let e=0;e<3;e+=1){if(!this.isPending()){await this.teardownRender();return}await new Promise(r=>setTimeout(r,0))}window.location.reload(),await new Promise(()=>{})}};n(Dn,"StoryRender");var je=Dn,{fetch:iu}=E$1,au="./index.json",Nn=class{constructor(e,r,o=te$1.getChannel(),a=!0){this.importFn=e,this.getProjectAnnotations=r,this.channel=o,this.storyRenders=[],this.storeInitializationPromise=new Promise((i,u)=>{this.resolveStoreInitializationPromise=i,this.rejectStoreInitializationPromise=u}),a&&this.initialize()}get storyStore(){return new Proxy({},{get:n((e,r)=>{if(this.storyStoreValue)return ae("Accessing the Story Store is deprecated and will be removed in 9.0"),this.storyStoreValue[r];throw new Fr},"get")})}async initialize(){this.setupListeners();try{let e=await this.getProjectAnnotationsOrRenderError();await this.runBeforeAllHook(e),await this.initializeWithProjectAnnotations(e)}catch(e){this.rejectStoreInitializationPromise(e)}}ready(){return this.storeInitializationPromise}setupListeners(){this.channel.on(so,this.onStoryIndexChanged.bind(this)),this.channel.on(fr,this.onUpdateGlobals.bind(this)),this.channel.on(yr,this.onUpdateArgs.bind(this)),this.channel.on(fo,this.onRequestArgTypesInfo.bind(this)),this.channel.on(ur,this.onResetArgs.bind(this)),this.channel.on(dr,this.onForceReRender.bind(this)),this.channel.on(Kt,this.onForceRemount.bind(this))}async getProjectAnnotationsOrRenderError(){try{let e=await this.getProjectAnnotations();if(this.renderToCanvas=e.renderToCanvas,!this.renderToCanvas)throw new wr;return e}catch(e){throw this.renderPreviewEntryError("Error reading preview.js:",e),e}}async initializeWithProjectAnnotations(e){this.projectAnnotationsBeforeInitialization=e;try{let r=await this.getStoryIndexFromServer();return this.initializeWithStoryIndex(r)}catch(r){throw this.renderPreviewEntryError("Error loading story index:",r),r}}async runBeforeAllHook(e){var r,o;try{await((r=this.beforeAllCleanup)==null?void 0:r.call(this)),this.beforeAllCleanup=await((o=e.beforeAll)==null?void 0:o.call(e))}catch(a){throw this.renderPreviewEntryError("Error in beforeAll hook:",a),a}}async getStoryIndexFromServer(){let e=await iu(au);if(e.status===200)return e.json();throw new _r({text:await e.text()})}initializeWithStoryIndex(e){if(!this.projectAnnotationsBeforeInitialization)throw new Error("Cannot call initializeWithStoryIndex until project annotations resolve");this.storyStoreValue=new Le(e,this.importFn,this.projectAnnotationsBeforeInitialization),delete this.projectAnnotationsBeforeInitialization,this.setInitialGlobals(),this.resolveStoreInitializationPromise()}async setInitialGlobals(){this.emitGlobals()}emitGlobals(){if(!this.storyStoreValue)throw new V({methodName:"emitGlobals"});let e={globals:this.storyStoreValue.userGlobals.get()||{},globalTypes:this.storyStoreValue.projectAnnotations.globalTypes||{}};this.channel.emit(ro,e)}async onGetProjectAnnotationsChanged({getProjectAnnotations:e}){delete this.previewEntryError,this.getProjectAnnotations=e;let r=await this.getProjectAnnotationsOrRenderError();if(await this.runBeforeAllHook(r),!this.storyStoreValue){await this.initializeWithProjectAnnotations(r);return}this.storyStoreValue.setProjectAnnotations(r),this.emitGlobals()}async onStoryIndexChanged(){if(delete this.previewEntryError,!(!this.storyStoreValue&&!this.projectAnnotationsBeforeInitialization))try{let e=await this.getStoryIndexFromServer();if(this.projectAnnotationsBeforeInitialization){this.initializeWithStoryIndex(e);return}await this.onStoriesChanged({storyIndex:e})}catch(e){throw this.renderPreviewEntryError("Error loading story index:",e),e}}async onStoriesChanged({importFn:e,storyIndex:r}){if(!this.storyStoreValue)throw new V({methodName:"onStoriesChanged"});await this.storyStoreValue.onStoriesChanged({importFn:e,storyIndex:r})}async onUpdateGlobals({globals:e,currentStory:r}){if(this.storyStoreValue||await this.storeInitializationPromise,!this.storyStoreValue)throw new V({methodName:"onUpdateGlobals"});if(this.storyStoreValue.userGlobals.update(e),r){let{initialGlobals:o,storyGlobals:a,userGlobals:i,globals:u}=this.storyStoreValue.getStoryContext(r);this.channel.emit(Ce,{initialGlobals:o,userGlobals:i,storyGlobals:a,globals:u})}else{let{initialGlobals:o,globals:a}=this.storyStoreValue.userGlobals;this.channel.emit(Ce,{initialGlobals:o,userGlobals:a,storyGlobals:{},globals:a})}await Promise.all(this.storyRenders.map(o=>o.rerender()))}async onUpdateArgs({storyId:e,updatedArgs:r}){if(!this.storyStoreValue)throw new V({methodName:"onUpdateArgs"});this.storyStoreValue.args.update(e,r),await Promise.all(this.storyRenders.filter(o=>o.id===e&&!o.renderOptions.forceInitialArgs).map(o=>o.story&&o.story.usesMount?o.remount():o.rerender())),this.channel.emit(to,{storyId:e,args:this.storyStoreValue.args.get(e)})}async onRequestArgTypesInfo({id:e,payload:r}){var o;try{await this.storeInitializationPromise;let a=await((o=this.storyStoreValue)==null?void 0:o.loadStory(r));this.channel.emit(nt,{id:e,success:!0,payload:{argTypes:(a==null?void 0:a.argTypes)||{}},error:null})}catch(a){this.channel.emit(nt,{id:e,success:!1,error:a==null?void 0:a.message})}}async onResetArgs({storyId:e,argNames:r}){var i;if(!this.storyStoreValue)throw new V({methodName:"onResetArgs"});let o=((i=this.storyRenders.find(u=>u.id===e))==null?void 0:i.story)||await this.storyStoreValue.loadStory({storyId:e}),a=(r||[...new Set([...Object.keys(o.initialArgs),...Object.keys(this.storyStoreValue.args.get(e))])]).reduce((u,l)=>(u[l]=o.initialArgs[l],u),{});await this.onUpdateArgs({storyId:e,updatedArgs:a})}async onForceReRender(){await Promise.all(this.storyRenders.map(e=>e.rerender()))}async onForceRemount({storyId:e}){await Promise.all(this.storyRenders.filter(r=>r.id===e).map(r=>r.remount()))}renderStoryToElement(e,r,o,a){if(!this.renderToCanvas||!this.storyStoreValue)throw new V({methodName:"renderStoryToElement"});let i=new je(this.channel,this.storyStoreValue,this.renderToCanvas,o,e.id,"docs",a,e);return i.renderToElement(r),this.storyRenders.push(i),async()=>{await this.teardownRender(i)}}async teardownRender(e,{viewModeChanged:r}={}){var o;this.storyRenders=this.storyRenders.filter(a=>a!==e),await((o=e==null?void 0:e.teardown)==null?void 0:o.call(e,{viewModeChanged:r}))}async loadStory({storyId:e}){if(!this.storyStoreValue)throw new V({methodName:"loadStory"});return this.storyStoreValue.loadStory({storyId:e})}getStoryContext(e,{forceInitialArgs:r=!1}={}){if(!this.storyStoreValue)throw new V({methodName:"getStoryContext"});return this.storyStoreValue.getStoryContext(e,{forceInitialArgs:r})}async extract(e){if(!this.storyStoreValue)throw new V({methodName:"extract"});if(this.previewEntryError)throw this.previewEntryError;return await this.storyStoreValue.cacheAllCSFFiles(),this.storyStoreValue.extract(e)}renderPreviewEntryError(e,r){this.previewEntryError=r,I$1.error(e),I$1.error(r),this.channel.emit($t,r)}};n(Nn,"Preview");var Me=Nn,kn=class{constructor(e,r,o,a){this.channel=e,this.store=r,this.renderStoryToElement=o,this.storyIdByName=n(i=>{let u=this.nameToStoryId.get(i);if(u)return u;throw new Error(`No story found with that name: ${i}`)},"storyIdByName"),this.componentStories=n(()=>this.componentStoriesValue,"componentStories"),this.componentStoriesFromCSFFile=n(i=>this.store.componentStoriesFromCSFFile({csfFile:i}),"componentStoriesFromCSFFile"),this.storyById=n(i=>{if(!i){if(!this.primaryStory)throw new Error("No primary story defined for docs entry. Did you forget to use ``?");return this.primaryStory}let u=this.storyIdToCSFFile.get(i);if(!u)throw new Error(`Called \`storyById\` for story that was never loaded: ${i}`);return this.store.storyFromCSFFile({storyId:i,csfFile:u})},"storyById"),this.getStoryContext=n(i=>({...this.store.getStoryContext(i),loaded:{},viewMode:"docs"}),"getStoryContext"),this.loadStory=n(i=>this.store.loadStory({storyId:i}),"loadStory"),this.componentStoriesValue=[],this.storyIdToCSFFile=new Map,this.exportToStory=new Map,this.exportsToCSFFile=new Map,this.nameToStoryId=new Map,this.attachedCSFFiles=new Set,a.forEach((i,u)=>{this.referenceCSFFile(i)})}referenceCSFFile(e){this.exportsToCSFFile.set(e.moduleExports,e),this.exportsToCSFFile.set(e.moduleExports.default,e),this.store.componentStoriesFromCSFFile({csfFile:e}).forEach(r=>{let o=e.stories[r.id];this.storyIdToCSFFile.set(o.id,e),this.exportToStory.set(o.moduleExport,r)})}attachCSFFile(e){if(!this.exportsToCSFFile.has(e.moduleExports))throw new Error("Cannot attach a CSF file that has not been referenced");this.attachedCSFFiles.has(e)||(this.attachedCSFFiles.add(e),this.store.componentStoriesFromCSFFile({csfFile:e}).forEach(r=>{this.nameToStoryId.set(r.name,r.id),this.componentStoriesValue.push(r),this.primaryStory||(this.primaryStory=r)}))}referenceMeta(e,r){let o=this.resolveModuleExport(e);if(o.type!=="meta")throw new Error(" must reference a CSF file module export or meta export. Did you mistakenly reference your component instead of your CSF file?");r&&this.attachCSFFile(o.csfFile)}get projectAnnotations(){let{projectAnnotations:e}=this.store;if(!e)throw new Error("Can't get projectAnnotations from DocsContext before they are initialized");return e}resolveAttachedModuleExportType(e){if(e==="story"){if(!this.primaryStory)throw new Error("No primary story attached to this docs file, did you forget to use ?");return{type:"story",story:this.primaryStory}}if(this.attachedCSFFiles.size===0)throw new Error("No CSF file attached to this docs file, did you forget to use ?");let r=Array.from(this.attachedCSFFiles)[0];if(e==="meta")return{type:"meta",csfFile:r};let{component:o}=r.meta;if(!o)throw new Error("Attached CSF file does not defined a component, did you forget to export one?");return{type:"component",component:o}}resolveModuleExport(e){let r=this.exportsToCSFFile.get(e);if(r)return{type:"meta",csfFile:r};let o=this.exportToStory.get(nr(e)?e.input:e);return o?{type:"story",story:o}:{type:"component",component:e}}resolveOf(e,r=[]){let o;if(["component","meta","story"].includes(e)){let a=e;o=this.resolveAttachedModuleExportType(a)}else o=this.resolveModuleExport(e);if(r.length&&!r.includes(o.type)){let a=o.type==="component"?"component or unknown":o.type;throw new Error(_$1`Invalid value passed to the 'of' prop. The value was resolved to a '${a}' type but the only types for this block are: ${r.join(", ")}. + - Did you pass a component to the 'of' prop when the block only supports a story or a meta? + - ... or vice versa? + - Did you pass a story, CSF file or meta to the 'of' prop that is not indexed, ie. is not targeted by the 'stories' globs in the main configuration?`)}switch(o.type){case"component":return{...o,projectAnnotations:this.projectAnnotations};case"meta":return{...o,preparedMeta:this.store.preparedMetaFromCSFFile({csfFile:o.csfFile})};case"story":default:return o}}};n(kn,"DocsContext");var me=kn,Ln=class{constructor(e,r,o,a){this.channel=e,this.store=r,this.entry=o,this.callbacks=a,this.type="docs",this.subtype="csf",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=o.id}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:e,csfFiles:r=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw Ae;let{importPath:o,title:a}=this.entry,i=this.store.processCSFFileWithCache(e,o,a),u=Object.keys(i.stories)[0];this.story=this.store.storyFromCSFFile({storyId:u,csfFile:i}),this.csfFiles=[i,...r],this.preparing=!1}isEqual(e){return!!(this.id===e.id&&this.story&&this.story===e.story)}docsContext(e){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");let r=new me(this.channel,this.store,e,this.csfFiles);return this.csfFiles.forEach(o=>r.attachCSFFile(o)),r}async renderToElement(e,r){if(!this.story||!this.csfFiles)throw new Error("Cannot render docs before preparing");let o=this.docsContext(r),{docs:a}=this.story.parameters||{};if(!a)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let i=await a.renderer(),{render:u}=i,l=n(async()=>{try{await u(o,a,e),this.channel.emit(pr,this.id)}catch(c){this.callbacks.showException(c)}},"renderDocs");return this.rerender=async()=>l(),this.teardownRender=async({viewModeChanged:c})=>{!c||!e||i.unmount(e)},l()}async teardown({viewModeChanged:e}={}){var r;(r=this.teardownRender)==null||r.call(this,{viewModeChanged:e}),this.torndown=!0}};n(Ln,"CsfDocsRender");var qr=Ln,jn=class{constructor(e,r,o,a){this.channel=e,this.store=r,this.entry=o,this.callbacks=a,this.type="docs",this.subtype="mdx",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=o.id}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:e,csfFiles:r=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw Ae;this.csfFiles=r,this.exports=e,this.preparing=!1}isEqual(e){return!!(this.id===e.id&&this.exports&&this.exports===e.exports)}docsContext(e){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");return new me(this.channel,this.store,e,this.csfFiles)}async renderToElement(e,r){if(!this.exports||!this.csfFiles||!this.store.projectAnnotations)throw new Error("Cannot render docs before preparing");let o=this.docsContext(r),{docs:a}=this.store.projectAnnotations.parameters||{};if(!a)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let i={...a,page:this.exports.default},u=await a.renderer(),{render:l}=u,c=n(async()=>{try{await l(o,i,e),this.channel.emit(pr,this.id)}catch(d){this.callbacks.showException(d)}},"renderDocs");return this.rerender=async()=>c(),this.teardownRender=async({viewModeChanged:d}={})=>{!d||!e||(u.unmount(e),this.torndown=!0)},c()}async teardown({viewModeChanged:e}={}){var r;(r=this.teardownRender)==null||r.call(this,{viewModeChanged:e}),this.torndown=!0}};n(jn,"MdxDocsRender");var Br=jn,lu=globalThis;function cu(t){let e=t.composedPath&&t.composedPath()[0]||t.target;return/input|textarea/i.test(e.tagName)||e.getAttribute("contenteditable")!==null}n(cu,"focusInInput");var Qi="attached-mdx",pu="unattached-mdx";function du({tags:t}){return(t==null?void 0:t.includes(pu))||(t==null?void 0:t.includes(Qi))}n(du,"isMdxEntry");function Mn(t){return t.type==="story"}n(Mn,"isStoryRender");function uu(t){return t.type==="docs"}n(uu,"isDocsRender");function fu(t){return uu(t)&&t.subtype==="csf"}n(fu,"isCsfDocsRender");var Un=class extends Me{constructor(e,r,o,a){super(e,r,void 0,!1),this.importFn=e,this.getProjectAnnotations=r,this.selectionStore=o,this.view=a,this.initialize()}setupListeners(){super.setupListeners(),lu.onkeydown=this.onKeydown.bind(this),this.channel.on(eo,this.onSetCurrentStory.bind(this)),this.channel.on(po,this.onUpdateQueryParams.bind(this)),this.channel.on(Qt,this.onPreloadStories.bind(this))}async setInitialGlobals(){if(!this.storyStoreValue)throw new V({methodName:"setInitialGlobals"});let{globals:e}=this.selectionStore.selectionSpecifier||{};e&&this.storyStoreValue.userGlobals.updateFromPersisted(e),this.emitGlobals()}async initializeWithStoryIndex(e){return await super.initializeWithStoryIndex(e),this.selectSpecifiedStory()}async selectSpecifiedStory(){if(!this.storyStoreValue)throw new V({methodName:"selectSpecifiedStory"});if(this.selectionStore.selection){await this.renderSelection();return}if(!this.selectionStore.selectionSpecifier){this.renderMissingStory();return}let{storySpecifier:e,args:r}=this.selectionStore.selectionSpecifier,o=this.storyStoreValue.storyIndex.entryFromSpecifier(e);if(!o){e==="*"?this.renderStoryLoadingException(e,new Pr):this.renderStoryLoadingException(e,new Or({storySpecifier:e.toString()}));return}let{id:a,type:i}=o;this.selectionStore.setSelection({storyId:a,viewMode:i}),this.channel.emit(ao,this.selectionStore.selection),this.channel.emit(rt,this.selectionStore.selection),await this.renderSelection({persistedArgs:r})}async onGetProjectAnnotationsChanged({getProjectAnnotations:e}){await super.onGetProjectAnnotationsChanged({getProjectAnnotations:e}),this.selectionStore.selection&&this.renderSelection()}async onStoriesChanged({importFn:e,storyIndex:r}){await super.onStoriesChanged({importFn:e,storyIndex:r}),this.selectionStore.selection?await this.renderSelection():await this.selectSpecifiedStory()}onKeydown(e){if(!this.storyRenders.find(r=>r.disableKeyListeners)&&!cu(e)){let{altKey:r,ctrlKey:o,metaKey:a,shiftKey:i,key:u,code:l,keyCode:c}=e;this.channel.emit(Zt,{event:{altKey:r,ctrlKey:o,metaKey:a,shiftKey:i,key:u,code:l,keyCode:c}})}}async onSetCurrentStory(e){this.selectionStore.setSelection({viewMode:"story",...e}),await this.storeInitializationPromise,this.channel.emit(rt,this.selectionStore.selection),this.renderSelection()}onUpdateQueryParams(e){this.selectionStore.setQueryParams(e)}async onUpdateGlobals({globals:e}){var o,a;let r=this.currentRender instanceof je&&this.currentRender.story||void 0;super.onUpdateGlobals({globals:e,currentStory:r}),(this.currentRender instanceof Br||this.currentRender instanceof qr)&&await((a=(o=this.currentRender).rerender)==null?void 0:a.call(o))}async onUpdateArgs({storyId:e,updatedArgs:r}){super.onUpdateArgs({storyId:e,updatedArgs:r})}async onPreloadStories({ids:e}){await this.storeInitializationPromise,this.storyStoreValue&&await Promise.allSettled(e.map(r=>{var o;return(o=this.storyStoreValue)==null?void 0:o.loadEntry(r)}))}async renderSelection({persistedArgs:e}={}){var g,J,ne,le;let{renderToCanvas:r}=this;if(!this.storyStoreValue||!r)throw new V({methodName:"renderSelection"});let{selection:o}=this.selectionStore;if(!o)throw new Error("Cannot call renderSelection as no selection was made");let{storyId:a}=o,i;try{i=await this.storyStoreValue.storyIdToEntry(a)}catch(re){this.currentRender&&await this.teardownRender(this.currentRender),this.renderStoryLoadingException(a,re);return}let u=((g=this.currentSelection)==null?void 0:g.storyId)!==a,l=((J=this.currentRender)==null?void 0:J.type)!==i.type;i.type==="story"?this.view.showPreparingStory({immediate:l}):this.view.showPreparingDocs({immediate:l}),(ne=this.currentRender)!=null&&ne.isPreparing()&&await this.teardownRender(this.currentRender);let c;i.type==="story"?c=new je(this.channel,this.storyStoreValue,r,this.mainStoryCallbacks(a),a,"story"):du(i)?c=new Br(this.channel,this.storyStoreValue,i,this.mainStoryCallbacks(a)):c=new qr(this.channel,this.storyStoreValue,i,this.mainStoryCallbacks(a));let d=this.currentSelection;this.currentSelection=o;let m=this.currentRender;this.currentRender=c;try{await c.prepare()}catch(re){m&&await this.teardownRender(m),re!==Ae&&this.renderStoryLoadingException(a,re);return}let h=!u&&m&&!c.isEqual(m);if(e&&Mn(c)&&(fe(!!c.story),this.storyStoreValue.args.updateFromPersisted(c.story,e)),m&&!m.torndown&&!u&&!h&&!l){this.currentRender=m,this.channel.emit(co,a),this.view.showMain();return}if(m&&await this.teardownRender(m,{viewModeChanged:l}),d&&(u||l)&&this.channel.emit(oo,a),Mn(c)){fe(!!c.story);let{parameters:re,initialArgs:ce,argTypes:F,unmappedArgs:se,initialGlobals:he,userGlobals:Ve,storyGlobals:ve,globals:we}=this.storyStoreValue.getStoryContext(c.story);this.channel.emit(io,{id:a,parameters:re,initialArgs:ce,argTypes:F,args:se}),this.channel.emit(Ce,{userGlobals:Ve,storyGlobals:ve,globals:we,initialGlobals:he})}else{let{parameters:re}=this.storyStoreValue.projectAnnotations,{initialGlobals:ce,globals:F}=this.storyStoreValue.userGlobals;if(this.channel.emit(Ce,{globals:F,initialGlobals:ce,storyGlobals:{},userGlobals:F}),fu(c)||((le=c.entry.tags)==null?void 0:le.includes(Qi))){if(!c.csfFiles)throw new Cr({storyId:a});({parameters:re}=this.storyStoreValue.preparedMetaFromCSFFile({csfFile:c.csfFiles[0]}))}this.channel.emit(Yt,{id:a,parameters:re})}Mn(c)?(fe(!!c.story),this.storyRenders.push(c),this.currentRender.renderToElement(this.view.prepareForStory(c.story))):this.currentRender.renderToElement(this.view.prepareForDocs(),this.renderStoryToElement.bind(this))}async teardownRender(e,{viewModeChanged:r=!1}={}){var o;this.storyRenders=this.storyRenders.filter(a=>a!==e),await((o=e==null?void 0:e.teardown)==null?void 0:o.call(e,{viewModeChanged:r}))}mainStoryCallbacks(e){return{showStoryDuringRender:n(()=>this.view.showStoryDuringRender(),"showStoryDuringRender"),showMain:n(()=>this.view.showMain(),"showMain"),showError:n(r=>this.renderError(e,r),"showError"),showException:n(r=>this.renderException(e,r),"showException")}}renderPreviewEntryError(e,r){super.renderPreviewEntryError(e,r),this.view.showErrorDisplay(r)}renderMissingStory(){this.view.showNoPreview(),this.channel.emit(tt)}renderStoryLoadingException(e,r){I$1.error(r),this.view.showErrorDisplay(r),this.channel.emit(tt,e)}renderException(e,r){let{name:o="Error",message:a=String(r),stack:i}=r;this.channel.emit(lo,{name:o,message:a,stack:i}),this.channel.emit(Pe,{newPhase:"errored",storyId:e}),this.view.showErrorDisplay(r),I$1.error(`Error rendering story '${e}':`),I$1.error(r)}renderError(e,{title:r,description:o}){I$1.error(`Error rendering story ${r}: ${o}`),this.channel.emit(no,{title:r,description:o}),this.channel.emit(Pe,{newPhase:"errored",storyId:e}),this.view.showErrorDisplay({message:r,stack:o})}};n(Un,"PreviewWithSelection");var Ue=Un,Hr=ue(kt()),da=ue(kt()),pa=/^[a-zA-Z0-9 _-]*$/,ua=/^-?[0-9]+(\.[0-9]+)?$/,Uu=/^#([a-f0-9]{3,4}|[a-f0-9]{6}|[a-f0-9]{8})$/i,fa=/^(rgba?|hsla?)\(([0-9]{1,3}),\s?([0-9]{1,3})%?,\s?([0-9]{1,3})%?,?\s?([0-9](\.[0-9]{1,2})?)?\)$/i,Wn=n((t="",e)=>t===null||t===""||!pa.test(t)?!1:e==null||e instanceof Date||typeof e=="number"||typeof e=="boolean"?!0:typeof e=="string"?pa.test(e)||ua.test(e)||Uu.test(e)||fa.test(e):Array.isArray(e)?e.every(r=>Wn(t,r)):$$1(e)?Object.entries(e).every(([r,o])=>Wn(r,o)):!1,"validateArgs"),Gu={delimiter:";",nesting:!0,arrayRepeat:!0,arrayRepeatSyntax:"bracket",nestingSyntax:"js",valueDeserializer(t){if(t.startsWith("!")){if(t==="!undefined")return;if(t==="!null")return null;if(t==="!true")return!0;if(t==="!false")return!1;if(t.startsWith("!date(")&&t.endsWith(")"))return new Date(t.replaceAll(" ","+").slice(6,-1));if(t.startsWith("!hex(")&&t.endsWith(")"))return`#${t.slice(5,-1)}`;let e=t.slice(1).match(fa);if(e)return t.startsWith("!rgba")||t.startsWith("!RGBA")?`${e[1]}(${e[2]}, ${e[3]}, ${e[4]}, ${e[5]})`:t.startsWith("!hsla")||t.startsWith("!HSLA")?`${e[1]}(${e[2]}, ${e[3]}%, ${e[4]}%, ${e[5]})`:t.startsWith("!rgb")||t.startsWith("!RGB")?`${e[1]}(${e[2]}, ${e[3]}, ${e[4]})`:`${e[1]}(${e[2]}, ${e[3]}%, ${e[4]}%)`}return ua.test(t)?Number(t):t}},$n=n(t=>{let e=t.split(";").map(r=>r.replace("=","~").replace(":","="));return Object.entries((0,da.parse)(e.join(";"),Gu)).reduce((r,[o,a])=>Wn(o,a)?Object.assign(r,{[o]:a}):(j$1.warn(_$1` + Omitted potentially unsafe URL args. + + More info: https://storybook.js.org/docs/writing-stories/args#setting-args-through-the-url + `),r),{})},"parseArgsParam"),{history:ya,document:xe}=E$1;function qu(t){let e=(t||"").match(/^\/story\/(.+)/);if(!e)throw new Error(`Invalid path '${t}', must start with '/story/'`);return e[1]}n(qu,"pathToId");var ma=n(({selection:t,extraParams:e})=>{let r=xe==null?void 0:xe.location.search.slice(1),{path:o,selectedKind:a,selectedStory:i,...u}=(0,Hr.parse)(r);return`?${(0,Hr.stringify)({...u,...e,...t&&{id:t.storyId,viewMode:t.viewMode}})}`},"getQueryString"),Bu=n(t=>{if(!t)return;let e=ma({selection:t}),{hash:r=""}=xe.location;xe.title=t.storyId,ya.replaceState({},"",`${xe.location.pathname}${e}${r}`)},"setPath"),Vu=n(t=>t!=null&&typeof t=="object"&&Array.isArray(t)===!1,"isObject"),Vr=n(t=>{if(t!==void 0){if(typeof t=="string")return t;if(Array.isArray(t))return Vr(t[0]);if(Vu(t))return Vr(Object.values(t).filter(Boolean))}},"getFirstString"),Hu=n(()=>{if(typeof xe<"u"){let t=xe.location.search.slice(1),e=(0,Hr.parse)(t),r=typeof e.args=="string"?$n(e.args):void 0,o=typeof e.globals=="string"?$n(e.globals):void 0,a=Vr(e.viewMode);(typeof a!="string"||!a.match(/docs|story/))&&(a="story");let i=Vr(e.path),u=i?qu(i):Vr(e.id);if(u)return{storySpecifier:u,args:r,globals:o,viewMode:a}}return null},"getSelectionSpecifierFromPath"),Yn=class{constructor(){this.selectionSpecifier=Hu()}setSelection(e){this.selection=e,Bu(this.selection)}setQueryParams(e){let r=ma({extraParams:e}),{hash:o=""}=xe.location;ya.replaceState({},"",`${xe.location.pathname}${r}${o}`)}};n(Yn,"UrlStore");var Be=Yn,$a=ue(Ha()),Ya=ue(kt()),{document:z$1}=E$1,za=100,Ka=(t=>(t.MAIN="MAIN",t.NOPREVIEW="NOPREVIEW",t.PREPARING_STORY="PREPARING_STORY",t.PREPARING_DOCS="PREPARING_DOCS",t.ERROR="ERROR",t))(Ka||{}),rs={PREPARING_STORY:"sb-show-preparing-story",PREPARING_DOCS:"sb-show-preparing-docs",MAIN:"sb-show-main",NOPREVIEW:"sb-show-nopreview",ERROR:"sb-show-errordisplay"},ts={centered:"sb-main-centered",fullscreen:"sb-main-fullscreen",padded:"sb-main-padded"},Wa=new $a.default({escapeXML:!0}),os=class{constructor(){if(this.testing=!1,typeof z$1<"u"){let{__SPECIAL_TEST_PARAMETER__:e}=(0,Ya.parse)(z$1.location.search.slice(1));switch(e){case"preparing-story":{this.showPreparingStory(),this.testing=!0;break}case"preparing-docs":{this.showPreparingDocs(),this.testing=!0;break}}}}prepareForStory(e){return this.showStory(),this.applyLayout(e.parameters.layout),z$1.documentElement.scrollTop=0,z$1.documentElement.scrollLeft=0,this.storyRoot()}storyRoot(){return z$1.getElementById("storybook-root")}prepareForDocs(){return this.showMain(),this.showDocs(),this.applyLayout("fullscreen"),z$1.documentElement.scrollTop=0,z$1.documentElement.scrollLeft=0,this.docsRoot()}docsRoot(){return z$1.getElementById("storybook-docs")}applyLayout(e="padded"){if(e==="none"){z$1.body.classList.remove(this.currentLayoutClass),this.currentLayoutClass=null;return}this.checkIfLayoutExists(e);let r=ts[e];z$1.body.classList.remove(this.currentLayoutClass),z$1.body.classList.add(r),this.currentLayoutClass=r}checkIfLayoutExists(e){ts[e]||I$1.warn(_$1` + The desired layout: ${e} is not a valid option. + The possible options are: ${Object.keys(ts).join(", ")}, none. + `)}showMode(e){clearTimeout(this.preparingTimeout),Object.keys(Ka).forEach(r=>{r===e?z$1.body.classList.add(rs[r]):z$1.body.classList.remove(rs[r])})}showErrorDisplay({message:e="",stack:r=""}){let o=e,a=r,i=e.split(` +`);i.length>1&&([o]=i,a=i.slice(1).join(` +`).replace(/^\n/,"")),z$1.getElementById("error-message").innerHTML=Wa.toHtml(o),z$1.getElementById("error-stack").innerHTML=Wa.toHtml(a),this.showMode("ERROR")}showNoPreview(){var e,r;this.testing||(this.showMode("NOPREVIEW"),(e=this.storyRoot())==null||e.setAttribute("hidden","true"),(r=this.docsRoot())==null||r.setAttribute("hidden","true"))}showPreparingStory({immediate:e=!1}={}){clearTimeout(this.preparingTimeout),e?this.showMode("PREPARING_STORY"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_STORY"),za)}showPreparingDocs({immediate:e=!1}={}){clearTimeout(this.preparingTimeout),e?this.showMode("PREPARING_DOCS"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_DOCS"),za)}showMain(){this.showMode("MAIN")}showDocs(){this.storyRoot().setAttribute("hidden","true"),this.docsRoot().removeAttribute("hidden")}showStory(){this.docsRoot().setAttribute("hidden","true"),this.storyRoot().removeAttribute("hidden")}showStoryDuringRender(){z$1.body.classList.add(rs.MAIN)}};n(os,"WebView");var He=os,ns=class extends Ue{constructor(e,r){super(e,r,new Be,new He),this.importFn=e,this.getProjectAnnotations=r,E$1.__STORYBOOK_PREVIEW__=this}};n(ns,"PreviewWeb");var Wr=ns,{document:ze}=E$1,wf=["application/javascript","application/ecmascript","application/x-ecmascript","application/x-javascript","text/ecmascript","text/javascript","text/javascript1.0","text/javascript1.1","text/javascript1.2","text/javascript1.3","text/javascript1.4","text/javascript1.5","text/jscript","text/livescript","text/x-ecmascript","text/x-javascript","module"],_f="script",Xa="scripts-root";function $r(){let t=ze.createEvent("Event");t.initEvent("DOMContentLoaded",!0,!0),ze.dispatchEvent(t)}n($r,"simulateDOMContentLoaded");function Cf(t,e,r){let o=ze.createElement("script");o.type=t.type==="module"?"module":"text/javascript",t.src?(o.onload=e,o.onerror=e,o.src=t.src):o.textContent=t.innerText,r?r.appendChild(o):ze.head.appendChild(o),t.parentNode.removeChild(t),t.src||e()}n(Cf,"insertScript");function Ja(t,e,r=0){t[r](()=>{r++,r===t.length?e():Ja(t,e,r)})}n(Ja,"insertScriptsSequentially");function ss(t){let e=ze.getElementById(Xa);e?e.innerHTML="":(e=ze.createElement("div"),e.id=Xa,ze.body.appendChild(e));let r=Array.from(t.querySelectorAll(_f));if(r.length){let o=[];r.forEach(a=>{let i=a.getAttribute("type");(!i||wf.includes(i))&&o.push(u=>Cf(a,u,e))}),o.length&&Ja(o,$r,void 0)}else $r()}n(ss,"simulatePageLoad");var Qa={"@storybook/global":Ht,"storybook/internal/channels":br,"@storybook/channels":br,"@storybook/core/channels":br,"storybook/internal/client-logger":mr,"@storybook/client-logger":mr,"@storybook/core/client-logger":mr,"storybook/internal/core-events":ge,"@storybook/core-events":ge,"@storybook/core/core-events":ge,"storybook/internal/preview-errors":kr,"@storybook/core-events/preview-errors":kr,"@storybook/core/preview-errors":kr,"storybook/internal/preview-api":Yr,"@storybook/preview-api":Yr,"@storybook/core/preview-api":Yr,"storybook/internal/types":Tr,"@storybook/types":Tr,"@storybook/core/types":Tr},el=ue(Za()),ls;function Pf(){var t;return ls||(ls=new el.default((t=E$1.navigator)==null?void 0:t.userAgent).getBrowserInfo()),ls}n(Pf,"getBrowserInfo");function rl(t){return t.browserInfo=Pf(),t}n(rl,"prepareForTelemetry");function Of(t){let e=t.error||t;e.fromStorybook&&E$1.sendTelemetryError(e)}n(Of,"errorListener");function If({reason:t}){t.fromStorybook&&E$1.sendTelemetryError(t)}n(If,"unhandledRejectionListener");function Ff(){cs.forEach(t=>{E$1[yo[t]]=Qa[t]}),E$1.sendTelemetryError=t=>{E$1.__STORYBOOK_ADDONS_CHANNEL__.emit(uo,rl(t))},E$1.addEventListener("error",Of),E$1.addEventListener("unhandledrejection",If)}n(Ff,"setup");Ff();const{createBrowserChannel}=__STORYBOOK_MODULE_CHANNELS__,{addons}=__STORYBOOK_MODULE_PREVIEW_API__,channel=createBrowserChannel({page:"preview"});addons.setChannel(channel);window.__STORYBOOK_ADDONS_CHANNEL__=channel;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=channel);var b=Object.create,f=Object.defineProperty,v=Object.getOwnPropertyDescriptor,P=Object.getOwnPropertyNames,O=Object.getPrototypeOf,_=Object.prototype.hasOwnProperty,s=(t,e)=>f(t,"name",{value:e,configurable:!0}),$=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),j=(t,e,r,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of P(e))!_.call(t,a)&&a!==r&&f(t,a,{get:()=>e[a],enumerable:!(o=v(e,a))||o.enumerable});return t},C=(t,e,r)=>(r=t!=null?b(O(t)):{},j(f(r,"default",{value:t,enumerable:!0}),t)),T=$(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isEqual=function(){var e=Object.prototype.toString,r=Object.getPrototypeOf,o=Object.getOwnPropertySymbols?function(a){return Object.keys(a).concat(Object.getOwnPropertySymbols(a))}:Object.keys;return function(a,i){return s(function u(l,c,d){var m,h,g,J=e.call(l),ne=e.call(c);if(l===c)return!0;if(l==null||c==null)return!1;if(d.indexOf(l)>-1&&d.indexOf(c)>-1)return!0;if(d.push(l,c),J!=ne||(m=o(l),h=o(c),m.length!=h.length||m.some(function(le){return!u(l[le],c[le],d)})))return!1;switch(J.slice(8,-1)){case"Symbol":return l.valueOf()==c.valueOf();case"Date":case"Number":return+l==+c||+l!=+l&&+c!=+c;case"RegExp":case"Function":case"String":case"Boolean":return""+l==""+c;case"Set":case"Map":m=l.entries(),h=c.entries();do if(!u((g=m.next()).value,h.next().value,d))return!1;while(!g.done);return!0;case"ArrayBuffer":l=new Uint8Array(l),c=new Uint8Array(c);case"DataView":l=new Uint8Array(l.buffer),c=new Uint8Array(c.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(l.length!=c.length)return!1;for(g=0;g`${r} ${o}${a}`).replace(/([a-z])([A-Z])/g,(e,r,o)=>`${r} ${o}`).replace(/([a-z])([0-9])/gi,(e,r,o)=>`${r} ${o}`).replace(/([0-9])([a-z])/gi,(e,r,o)=>`${r} ${o}`).replace(/(\s|^)(\w)/g,(e,r,o)=>`${r}${o.toUpperCase()}`).replace(/ +/g," ").trim()}s(R,"toStartCaseStr");var y=C(T()),x=s(t=>t.map(e=>typeof e<"u").filter(Boolean).length,"count"),E=s((t,e)=>{let{exists:r,eq:o,neq:a,truthy:i}=t;if(x([r,o,a,i])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:r,eq:o,neq:a})}`);if(typeof o<"u")return(0,y.isEqual)(e,o);if(typeof a<"u")return!(0,y.isEqual)(e,a);if(typeof r<"u"){let u=typeof e<"u";return r?u:!u}return typeof i>"u"||i?!!e:!e},"testValue"),z=s((t,e,r)=>{if(!t.if)return!0;let{arg:o,global:a}=t.if;if(x([o,a])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:o,global:a})}`);let i=o?e[o]:r[a];return E(t.if,i)},"includeConditionalArg");const{composeConfigs:M,normalizeProjectAnnotations:N}=__STORYBOOK_MODULE_PREVIEW_API__;function L(t){let e,r={_tag:"Preview",input:t,get composed(){if(e)return e;let{addons:o,...a}=t;return e=N(M([...o??[],a])),e},meta(o){return I(o,this)}};return globalThis.globalProjectAnnotations=r.composed,r}s(L,"__definePreview");function W(t){return t!=null&&typeof t=="object"&&"_tag"in t&&(t==null?void 0:t._tag)==="Preview"}s(W,"isPreview");function H(t){return t!=null&&typeof t=="object"&&"_tag"in t&&(t==null?void 0:t._tag)==="Meta"}s(H,"isMeta");function I(t,e){return{_tag:"Meta",input:t,preview:e,get composed(){throw new Error("Not implemented")},story(r){return U(r,this)}}}s(I,"defineMeta");function U(t,e){return{_tag:"Story",input:t,meta:e,get composed(){throw new Error("Not implemented")}}}s(U,"defineStory");function K(t){return t!=null&&typeof t=="object"&&"_tag"in t&&(t==null?void 0:t._tag)==="Story"}s(K,"isStory");var D=s(t=>t.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,""),"sanitize");function S(t,e){return Array.isArray(e)?e.includes(t):t.match(e)}s(S,"matches");function te(t,{includeStories:e,excludeStories:r}){return t!=="__esModule"&&(!e||S(t,e))&&(!r||!S(t,r))}s(te,"isExportStory");const importers={"./src/stories/Button.stories.ts":()=>__vitePreload(()=>import("./Button.stories-CsH6fT5H.js"),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url),"./src/stories/Configure.mdx":()=>__vitePreload(()=>import("./Configure-Er8gSaE9.js"),__vite__mapDeps([6,3,4,7,8,9,10,11]),import.meta.url),"./src/stories/ConfirmButton.stories.tsx":()=>__vitePreload(()=>import("./ConfirmButton.stories-DyrtO96u.js"),__vite__mapDeps([12,3,4]),import.meta.url),"./src/stories/Header.stories.ts":()=>__vitePreload(()=>import("./Header.stories-BP_x00oS.js"),__vite__mapDeps([13,1,14,3,4,2,5,15]),import.meta.url),"./src/stories/Page.stories.ts":()=>__vitePreload(()=>import("./Page.stories-DJbfVDNt.js"),__vite__mapDeps([16,1,3,4,14,2,5,15,17]),import.meta.url)};async function importFn(t){return await importers[t]()}Ff();const{composeConfigs,PreviewWeb}=__STORYBOOK_MODULE_PREVIEW_API__,getProjectAnnotations=async(t=[])=>{const e=await __vitePreload(()=>import("./preview-CNabefhq.js"),[],import.meta.url);if(W(e.default))return e.default.composed;const r=await Promise.all([t[0]??__vitePreload(()=>import("./entry-preview-yLns5Mcv.js"),__vite__mapDeps([18,19,4,9]),import.meta.url),t[1]??__vitePreload(()=>import("./entry-preview-docs-ys20Qm2A.js"),__vite__mapDeps([20,19,10,4]),import.meta.url),t[2]??__vitePreload(()=>import("./preview-DD_OYowb.js"),[],import.meta.url),t[3]??__vitePreload(()=>import("./preview-DBFD-GLz.js"),[],import.meta.url),t[4]??__vitePreload(()=>import("./preview-B8lJiyuQ.js"),__vite__mapDeps([21,11]),import.meta.url),t[5]??__vitePreload(()=>import("./preview-CvbIS5ZJ.js"),[],import.meta.url),t[6]??__vitePreload(()=>import("./preview-BBWR9nbA.js"),[],import.meta.url),t[7]??__vitePreload(()=>import("./preview-BWzBA1C2.js"),__vite__mapDeps([22,11]),import.meta.url),t[8]??__vitePreload(()=>import("./preview-DGUiP6tS.js"),[],import.meta.url)]);return composeConfigs([...r,e])};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new PreviewWeb(importFn,getProjectAnnotations);window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;export{D,__vitePreload as _,z}; diff --git a/storybook-static/assets/index-B6FmI-p2.js b/storybook-static/assets/index-B6FmI-p2.js new file mode 100644 index 0000000..cd55a66 --- /dev/null +++ b/storybook-static/assets/index-B6FmI-p2.js @@ -0,0 +1,571 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Color-YHDXOIA2-De_nbePX.js","./index-DJO9vBfz.js","./iframe-SyD4S7-2.js","./jsx-runtime-SKoiH9zj.js","./index-CFN9ZEHn.js","./index-DSAa9q1k.js","./index-DrFu-skq.js"])))=>i.map(i=>d[i]); +var UC=Object.defineProperty;var qC=(e,t,r)=>t in e?UC(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var _n=(e,t,r)=>qC(e,typeof t!="symbol"?t+"":t,r);import{D as j4,_ as V4,z as WC}from"./iframe-SyD4S7-2.js";import{r as l,R as y}from"./index-DJO9vBfz.js";import{j as N}from"./jsx-runtime-SKoiH9zj.js";import{G as U4,r as O1}from"./index-CFN9ZEHn.js";import{y as wh,g as bu}from"./index-DSAa9q1k.js";import{d as GC}from"./index-DrFu-skq.js";var KC=Object.create,q4=Object.defineProperty,YC=Object.getOwnPropertyDescriptor,W4=Object.getOwnPropertyNames,JC=Object.getPrototypeOf,ZC=Object.prototype.hasOwnProperty,xi=(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')}),mn=(e,t)=>function(){return t||(0,e[W4(e)[0]])((t={exports:{}}).exports,t),t.exports},XC=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of W4(t))!ZC.call(e,a)&&a!==r&&q4(e,a,{get:()=>t[a],enumerable:!(n=YC(t,a))||n.enumerable});return e},P1=(e,t,r)=>(r=e!=null?KC(JC(e)):{},XC(t||!e||!e.__esModule?q4(r,"default",{value:e,enumerable:!0}):r,e));function QC(e,t,{signal:r,edges:n}={}){let a,o=null,i=n!=null&&n.includes("leading"),s=n==null||n.includes("trailing"),c=()=>{o!==null&&(e.apply(a,o),a=void 0,o=null)},d=()=>{s&&c(),h()},f=null,m=()=>{f!=null&&clearTimeout(f),f=setTimeout(()=>{f=null,d()},t)},p=()=>{f!==null&&(clearTimeout(f),f=null)},h=()=>{p(),a=void 0,o=null},g=()=>{p(),c()},v=function(...b){if(r!=null&&r.aborted)return;a=this,o=b;let D=f==null;m(),i&&D&&c()};return v.schedule=m,v.cancel=h,v.flush=g,r==null||r.addEventListener("abort",h,{once:!0}),v}function fj(e,t=0,r={}){typeof r!="object"&&(r={});let{signal:n,leading:a=!1,trailing:o=!0,maxWait:i}=r,s=Array(2);a&&(s[0]="leading"),o&&(s[1]="trailing");let c,d=null,f=QC(function(...h){c=e.apply(this,h),d=null},t,{signal:n,edges:s}),m=function(...h){if(i!=null){if(d===null)d=Date.now();else if(Date.now()-d>=i)return c=e.apply(this,h),d=Date.now(),f.cancel(),f.schedule(),c}return f.apply(this,h),c},p=()=>(f.flush(),c);return m.cancel=f.cancel,m.flush=p,m}function e9(e){return Array.from(new Set(e))}function t9(e,t){let r={},n=Object.entries(e);for(let a=0;a`control-${e.replace(/\s+/g,"-")}`,ps=e=>`set-${e.replace(/\s+/g,"-")}`,u9=Object.create,N1=Object.defineProperty,c9=Object.getOwnPropertyDescriptor,d9=Object.getOwnPropertyNames,p9=Object.getPrototypeOf,f9=Object.prototype.hasOwnProperty,B=(e,t)=>N1(e,"name",{value:t,configurable:!0}),Si=(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')}),fs=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),h9=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of d9(t))!f9.call(e,a)&&a!==r&&N1(e,a,{get:()=>t[a],enumerable:!(n=c9(t,a))||n.enumerable});return e},H1=(e,t,r)=>(r=e!=null?u9(p9(e)):{},h9(t||!e||!e.__esModule?N1(r,"default",{value:e,enumerable:!0}):r,e)),m9=fs(e=>{(function(){var t=typeof Symbol=="function"&&Symbol.for,r=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,a=t?Symbol.for("react.fragment"):60107,o=t?Symbol.for("react.strict_mode"):60108,i=t?Symbol.for("react.profiler"):60114,s=t?Symbol.for("react.provider"):60109,c=t?Symbol.for("react.context"):60110,d=t?Symbol.for("react.async_mode"):60111,f=t?Symbol.for("react.concurrent_mode"):60111,m=t?Symbol.for("react.forward_ref"):60112,p=t?Symbol.for("react.suspense"):60113,h=t?Symbol.for("react.suspense_list"):60120,g=t?Symbol.for("react.memo"):60115,v=t?Symbol.for("react.lazy"):60116,b=t?Symbol.for("react.block"):60121,D=t?Symbol.for("react.fundamental"):60117,E=t?Symbol.for("react.responder"):60118,C=t?Symbol.for("react.scope"):60119;function w(H){return typeof H=="string"||typeof H=="function"||H===a||H===f||H===i||H===o||H===p||H===h||typeof H=="object"&&H!==null&&(H.$$typeof===v||H.$$typeof===g||H.$$typeof===s||H.$$typeof===c||H.$$typeof===m||H.$$typeof===D||H.$$typeof===E||H.$$typeof===C||H.$$typeof===b)}B(w,"isValidElementType");function x(H){if(typeof H=="object"&&H!==null){var it=H.$$typeof;switch(it){case r:var kt=H.type;switch(kt){case d:case f:case a:case i:case o:case p:return kt;default:var Or=kt&&kt.$$typeof;switch(Or){case c:case m:case v:case g:case s:return Or;default:return it}}case n:return it}}}B(x,"typeOf");var S=d,F=f,A=c,_=s,R=r,I=m,z=a,L=v,O=g,M=n,P=i,V=o,W=p,q=!1;function Y(H){return q||(q=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),Q(H)||x(H)===d}B(Y,"isAsyncMode");function Q(H){return x(H)===f}B(Q,"isConcurrentMode");function ne(H){return x(H)===c}B(ne,"isContextConsumer");function X(H){return x(H)===s}B(X,"isContextProvider");function le(H){return typeof H=="object"&&H!==null&&H.$$typeof===r}B(le,"isElement");function $(H){return x(H)===m}B($,"isForwardRef");function Z(H){return x(H)===a}B(Z,"isFragment");function re(H){return x(H)===v}B(re,"isLazy");function fe(H){return x(H)===g}B(fe,"isMemo");function xe(H){return x(H)===n}B(xe,"isPortal");function At(H){return x(H)===i}B(At,"isProfiler");function We(H){return x(H)===o}B(We,"isStrictMode");function ot(H){return x(H)===p}B(ot,"isSuspense"),e.AsyncMode=S,e.ConcurrentMode=F,e.ContextConsumer=A,e.ContextProvider=_,e.Element=R,e.ForwardRef=I,e.Fragment=z,e.Lazy=L,e.Memo=O,e.Portal=M,e.Profiler=P,e.StrictMode=V,e.Suspense=W,e.isAsyncMode=Y,e.isConcurrentMode=Q,e.isContextConsumer=ne,e.isContextProvider=X,e.isElement=le,e.isForwardRef=$,e.isFragment=Z,e.isLazy=re,e.isMemo=fe,e.isPortal=xe,e.isProfiler=At,e.isStrictMode=We,e.isSuspense=ot,e.isValidElementType=w,e.typeOf=x})()}),g9=fs((e,t)=>{t.exports=m9()}),G4=fs((e,t)=>{var r=g9(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[r.ForwardRef]=o,s[r.Memo]=i;function c(b){return r.isMemo(b)?i:s[b.$$typeof]||n}B(c,"getStatics");var d=Object.defineProperty,f=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,g=Object.prototype;function v(b,D,E){if(typeof D!="string"){if(g){var C=h(D);C&&C!==g&&v(b,C,E)}var w=f(D);m&&(w=w.concat(m(D)));for(var x=c(b),S=c(D),F=0;F{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return B(function r(n,a,o){function i(d,f){if(!a[d]){if(!n[d]){var m=typeof Si=="function"&&Si;if(!f&&m)return m(d,!0);if(s)return s(d,!0);var p=new Error("Cannot find module '"+d+"'");throw p.code="MODULE_NOT_FOUND",p}var h=a[d]={exports:{}};n[d][0].call(h.exports,function(g){var v=n[d][1][g];return i(v||g)},h,h.exports,r,n,a,o)}return a[d].exports}B(i,"s");for(var s=typeof Si=="function"&&Si,c=0;c=0)return this.lastItem=this.list[s],this.list[s].val},o.prototype.set=function(i,s){var c;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=s,this):(c=this.indexOf(i),c>=0?(this.lastItem=this.list[c],this.list[c].val=s,this):(this.lastItem={key:i,val:s},this.list.push(this.lastItem),this.size++,this))},o.prototype.delete=function(i){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),s=this.indexOf(i),s>=0)return this.size--,this.list.splice(s,1)[0]},o.prototype.has=function(i){var s;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(s=this.indexOf(i),s>=0?(this.lastItem=this.list[s],!0):!1)},o.prototype.forEach=function(i,s){var c;for(c=0;c0&&(E[D]={cacheItem:g,arg:arguments[D]},C?i(m,E):m.push(E),m.length>d&&s(m.shift())),h.wasMemoized=C,h.numArgs=D+1,b},"memoizerific");return h.limit=d,h.wasMemoized=!1,h.cache=f,h.lru=m,h}};function i(d,f){var m=d.length,p=f.length,h,g,v;for(g=0;g=0&&(m=d[h],p=m.cacheItem.get(m.arg),!p||!p.size);h--)m.cacheItem.delete(m.arg)}B(s,"removeCachedResult");function c(d,f){return d===f||d!==d&&f!==f}B(c,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})});function qt(){return qt=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?we(Ca,--Ue):0,oa--,de===10&&(oa=1,gs--),de}B(ny,"prev");function $e(){return de=Ue2||ia(de)>3?"":" "}B(ay,"whitespace");function oy(e,t){for(;--t&&$e()&&!(de<48||de>102||de>57&&de<65||de>70&&de<97););return xa(e,yo()+(t<6&>()==32&&$e()==32))}B(oy,"escaping");function Fl(e){for(;$e();)switch(de){case e:return Ue;case 34:case 39:e!==34&&e!==39&&Fl(de);break;case 40:e===41&&Fl(e);break;case 92:$e();break}return Ue}B(Fl,"delimiter");function iy(e,t){for(;$e()&&e+de!==57&&!(e+de===84&>()===47););return"/*"+xa(t,Ue-1)+"*"+hs(e===47?e:$e())}B(iy,"commenter");function ly(e){for(;!ia(gt());)$e();return xa(e,Ue)}B(ly,"identifier");function sy(e){return q1(wo("",null,null,null,[""],e=U1(e),0,[0],e))}B(sy,"compile");function wo(e,t,r,n,a,o,i,s,c){for(var d=0,f=0,m=i,p=0,h=0,g=0,v=1,b=1,D=1,E=0,C="",w=a,x=o,S=n,F=C;b;)switch(g=E,E=$e()){case 40:if(g!=108&&we(F,m-1)==58){Sl(F+=ee(bo(E),"&","&\f"),"&\f")!=-1&&(D=-1);break}case 34:case 39:case 91:F+=bo(E);break;case 9:case 10:case 13:case 32:F+=ay(g);break;case 92:F+=oy(yo()-1,7);continue;case 47:switch(gt()){case 42:case 47:ao(uy(iy($e(),yo()),t,r),c);break;default:F+="/"}break;case 123*v:s[d++]=dt(F)*D;case 125*v:case 59:case 0:switch(E){case 0:case 125:b=0;case 59+f:D==-1&&(F=ee(F,/\f/g,"")),h>0&&dt(F)-m&&ao(h>32?G0(F+";",n,r,m-1):G0(ee(F," ","")+";",n,r,m-2),c);break;case 59:F+=";";default:if(ao(S=W0(F,t,r,d,f,a,s,C,w=[],x=[],m),o),E===123)if(f===0)wo(F,t,S,S,w,o,m,s,x);else switch(p===99&&we(F,3)===110?100:p){case 100:case 108:case 109:case 115:wo(e,S,S,n&&ao(W0(e,S,S,0,0,a,s,C,a,w=[],m),x),a,x,m,s,n?w:x);break;default:wo(F,S,S,S,[""],x,0,s,x)}}d=f=h=0,v=D=1,C=F="",m=i;break;case 58:m=1+dt(F),h=g;default:if(v<1){if(E==123)--v;else if(E==125&&v++==0&&ny()==125)continue}switch(F+=hs(E),E*v){case 38:D=f>0?1:(F+="\f",-1);break;case 44:s[d++]=(dt(F)-1)*D,D=1;break;case 64:gt()===45&&(F+=bo($e())),p=gt(),f=m=dt(C=F+=ly(yo())),E++;break;case 45:g===45&&dt(F)==2&&(v=0)}}return o}B(wo,"parse");function W0(e,t,r,n,a,o,i,s,c,d,f){for(var m=a-1,p=a===0?o:[""],h=ms(p),g=0,v=0,b=0;g0?p[D]+" "+E:ee(E,/&\f/g,p[D])))&&(c[b++]=C);return Yo(e,t,r,a===0?$1:s,c,d,f)}B(W0,"ruleset");function uy(e,t,r){return Yo(e,t,r,J4,hs(ry()),aa(e,2,-2),0)}B(uy,"comment");function G0(e,t,r,n){return Yo(e,t,r,j1,aa(e,0,n),aa(e,n+1,-1),n)}B(G0,"declaration");function an(e,t){for(var r="",n=ms(e),a=0;a6)switch(we(e,t+1)){case 109:if(we(e,t+4)!==45)break;case 102:return ee(e,/(.+:)(.+)-([^]+)/,"$1"+te+"$2-$3$1"+xl+(we(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Sl(e,"stretch")?G1(ee(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(we(e,t+1)!==115)break;case 6444:switch(we(e,dt(e)-3-(~Sl(e,"!important")&&10))){case 107:return ee(e,":",":"+te)+e;case 101:return ee(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+te+(we(e,14)===45?"inline-":"")+"box$3$1"+te+"$2$3$1"+_e+"$2box$3")+e}break;case 5936:switch(we(e,t+11)){case 114:return te+e+_e+ee(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return te+e+_e+ee(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return te+e+_e+ee(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return te+e+_e+e+e}return e}B(G1,"prefix");var k9=B(function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case j1:e.return=G1(e.value,e.length);break;case Z4:return an([On(e,{value:ee(e.value,"@","@"+te)})],n);case $1:if(e.length)return ey(e.props,function(a){switch(Q4(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return an([On(e,{props:[ee(a,/:(read-\w+)/,":"+xl+"$1")]})],n);case"::placeholder":return an([On(e,{props:[ee(a,/:(plac\w+)/,":"+te+"input-$1")]}),On(e,{props:[ee(a,/:(plac\w+)/,":"+xl+"$1")]}),On(e,{props:[ee(a,/:(plac\w+)/,_e+"input-$1")]})],n)}return""})}},"prefixer"),_9=[k9],B9=B(function(e){var t=e.key;if(t==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(g){var v=g.getAttribute("data-emotion");v.indexOf(" ")!==-1&&(document.head.appendChild(g),g.setAttribute("data-s",""))})}var n=e.stylisPlugins||_9,a={},o,i=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(g){for(var v=g.getAttribute("data-emotion").split(" "),b=1;b=4;++n,a-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(a){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}B(hy,"murmur2");var z9={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},L9=/[A-Z]|^ms/g,M9=/_EMO_([^_]+?)_([^]*?)_EMO_/g,my=B(function(e){return e.charCodeAt(1)===45},"isCustomProperty"),xh=B(function(e){return e!=null&&typeof e!="boolean"},"isProcessableValue"),wu=W1(function(e){return my(e)?e:e.replace(L9,"-$&").toLowerCase()}),Sh=B(function(e,t){switch(e){case"animation":case"animationName":if(typeof t=="string")return t.replace(M9,function(r,n,a){return Ot={name:n,styles:a,next:Ot},n})}return z9[e]!==1&&!my(e)&&typeof t=="number"&&t!==0?t+"px":t},"processStyleValue");function la(e,t,r){if(r==null)return"";var n=r;if(n.__emotion_styles!==void 0)return n;switch(typeof r){case"boolean":return"";case"object":{var a=r;if(a.anim===1)return Ot={name:a.name,styles:a.styles,next:Ot},a.name;var o=r;if(o.styles!==void 0){var i=o.next;if(i!==void 0)for(;i!==void 0;)Ot={name:i.name,styles:i.styles,next:Ot},i=i.next;var s=o.styles+";";return s}return gy(e,t,r)}case"function":{if(e!==void 0){var c=Ot,d=r(e);return Ot=c,la(e,t,d)}break}}var f=r;if(t==null)return f;var m=t[f];return m!==void 0?m:f}B(la,"handleInterpolation");function gy(e,t,r){var n="";if(Array.isArray(r))for(var a=0;a96?K9:Y9},"getDefaultShouldForwardProp"),_h=B(function(e,t,r){var n;if(t){var a=t.shouldForwardProp;n=e.__emotion_forwardProp&&a?function(o){return e.__emotion_forwardProp(o)&&a(o)}:a}return typeof n!="function"&&r&&(n=e.__emotion_forwardProp),n},"composeShouldForwardProps"),J9=B(function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return K1(t,r,n),vy(function(){return fy(t,r,n)}),null},"Insertion"),Z9=B(function e(t,r){var n=t.__emotion_real===t,a=n&&t.__emotion_base||t,o,i;r!==void 0&&(o=r.label,i=r.target);var s=_h(t,r,n),c=s||kh(a),d=!c("as");return function(){var f=arguments,m=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&m.push("label:"+o+";"),f[0]==null||f[0].raw===void 0)m.push.apply(m,f);else{var p=f[0];m.push(p[0]);for(var h=f.length,g=1;g1?a-1:0),i=1;i=0&&a<1?(s=o,c=i):a>=1&&a<2?(s=i,c=o):a>=2&&a<3?(c=o,d=i):a>=3&&a<4?(c=i,d=o):a>=4&&a<5?(s=i,d=o):a>=5&&a<6&&(s=o,d=i);var f=r-o/2,m=s+f,p=c+f,h=d+f;return n(m,p,h)}B(ca,"hslToRgb");var Bh={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 ky(e){if(typeof e!="string")return e;var t=e.toLowerCase();return Bh[t]?"#"+Bh[t]:e}B(ky,"nameToHex");var ex=/^#[a-fA-F0-9]{6}$/,tx=/^#[a-fA-F0-9]{8}$/,rx=/^#[a-fA-F0-9]{3}$/,nx=/^#[a-fA-F0-9]{4}$/,Du=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,ax=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,ox=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,ix=/^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 Jo(e){if(typeof e!="string")throw new Nt(3);var t=ky(e);if(t.match(ex))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(tx)){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(rx))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(nx)){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=Du.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=ax.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=ox.exec(t);if(i){var s=parseInt(""+i[1],10),c=parseInt(""+i[2],10)/100,d=parseInt(""+i[3],10)/100,f="rgb("+ca(s,c,d)+")",m=Du.exec(f);if(!m)throw new Nt(4,t,f);return{red:parseInt(""+m[1],10),green:parseInt(""+m[2],10),blue:parseInt(""+m[3],10)}}var p=ix.exec(t.substring(0,50));if(p){var h=parseInt(""+p[1],10),g=parseInt(""+p[2],10)/100,v=parseInt(""+p[3],10)/100,b="rgb("+ca(h,g,v)+")",D=Du.exec(b);if(!D)throw new Nt(4,t,b);return{red:parseInt(""+D[1],10),green:parseInt(""+D[2],10),blue:parseInt(""+D[3],10),alpha:parseFloat(""+p[4])>1?parseFloat(""+p[4])/100:parseFloat(""+p[4])}}throw new Nt(5)}B(Jo,"parseToRgb");function _y(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 s,c=a-o,d=i>.5?c/(2-a-o):c/(a+o);switch(a){case t:s=(r-n)/c+(r=1?Ro(e,t,r):"rgba("+ca(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Ro(e.hue,e.saturation,e.lightness):"rgba("+ca(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Nt(2)}B(Iy,"hsla");function _l(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return Y0("#"+yr(e)+yr(t)+yr(r));if(typeof e=="object"&&t===void 0&&r===void 0)return Y0("#"+yr(e.red)+yr(e.green)+yr(e.blue));throw new Nt(6)}B(_l,"rgb");function da(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=Jo(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?_l(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?_l(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Nt(7)}B(da,"rgba");var sx=B(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isRgb"),ux=B(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},"isRgba"),cx=B(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isHsl"),dx=B(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"},"isHsla");function Q1(e){if(typeof e!="object")throw new Nt(8);if(ux(e))return da(e);if(sx(e))return _l(e);if(dx(e))return Iy(e);if(cx(e))return Ry(e);throw new Nt(8)}B(Q1,"toColorString");function ep(e,t,r){return B(function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):ep(e,t,n)},"fn")}B(ep,"curried");function Zo(e){return ep(e,e.length,[])}B(Zo,"curry");function Xo(e,t,r){return Math.max(e,Math.min(t,r))}B(Xo,"guard");function Ty(e,t){if(t==="transparent")return t;var r=X1(t);return Q1(qt({},r,{lightness:Xo(0,1,r.lightness-parseFloat(e))}))}B(Ty,"darken");var px=Zo(Ty),fx=px;function zy(e,t){if(t==="transparent")return t;var r=X1(t);return Q1(qt({},r,{lightness:Xo(0,1,r.lightness+parseFloat(e))}))}B(zy,"lighten");var hx=Zo(zy),mx=hx;function Ly(e,t){if(t==="transparent")return t;var r=Jo(t),n=typeof r.alpha=="number"?r.alpha:1,a=qt({},r,{alpha:Xo(0,1,(n*100+parseFloat(e)*100)/100)});return da(a)}B(Ly,"opacify");var gx=Zo(Ly),vx=gx;function My(e,t){if(t==="transparent")return t;var r=Jo(t),n=typeof r.alpha=="number"?r.alpha:1,a=qt({},r,{alpha:Xo(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return da(a)}B(My,"transparentize");var yx=Zo(My),bx=yx,U={secondary:"#029CFD",tertiary:"#FAFBFC",ancillary:"#22a699",orange:"#FC521F",gold:"#FFAE00",green:"#66BF3C",seafoam:"#37D5D3",purple:"#6F2CAC",ultraviolet:"#2A0481",lightest:"#FFFFFF",lighter:"#F7FAFC",light:"#EEF3F6",mediumlight:"#ECF4F9",medium:"#D9E8F2",mediumdark:"#73828C",dark:"#5C6870",darker:"#454E54",darkest:"#2E3438",border:"hsla(203, 50%, 30%, 0.15)",positive:"#66BF3C",negative:"#FF4400",warning:"#E69D00",critical:"#FFFFFF",positiveText:"#448028",negativeText:"#D43900",warningText:"#A15C20"},br={app:"#F6F9FC",gridCellSize:10,hoverable:bx(.9,U.secondary),positive:"#E1FFD4",negative:"#FEDED2",warning:"#FFF5CF",critical:"#FF4400"},Ht={fonts:{base:['"Nunito Sans"',"-apple-system",'".SFNSText-Regular"','"San Francisco"',"BlinkMacSystemFont",'"Segoe UI"','"Helvetica Neue"',"Helvetica","Arial","sans-serif"].join(", "),mono:["ui-monospace","Menlo","Monaco",'"Roboto Mono"','"Oxygen Mono"','"Ubuntu Monospace"','"Source Code Pro"','"Droid Sans Mono"','"Courier New"',"monospace"].join(", ")},weight:{regular:400,bold:700},size:{s1:12,s2:14,s3:16,m1:20,m2:24,m3:28,l1:32,l2:40,l3:48,code:90}},Oy=H1(v9(),1),wx=(0,Oy.default)(1)(({typography:e})=>({body:{fontFamily:e.fonts.base,fontSize:e.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},"*":{boxSizing:"border-box"},"h1, h2, h3, h4, h5, h6":{fontWeight:e.weight.regular,margin:0,padding:0},"button, input, textarea, select":{fontFamily:"inherit",fontSize:"inherit",boxSizing:"border-box"},sub:{fontSize:"0.8em",bottom:"-0.2em"},sup:{fontSize:"0.8em",top:"-0.2em"},"b, strong":{fontWeight:e.weight.bold},hr:{border:"none",borderTop:"1px solid silver",clear:"both",marginBottom:"1.25rem"},code:{fontFamily:e.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"},pre:{fontFamily:e.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0"}}));(0,Oy.default)(1)(({color:e,background:t,typography:r})=>{let n=wx({typography:r});return{...n,body:{...n.body,color:e.defaultText,background:t.app,overflow:"hidden"},hr:{...n.hr,borderTop:`1px solid ${e.border}`}}});var Dx={base:"dark",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:"#222425",appContentBg:"#1B1C1D",appPreviewBg:U.lightest,appBorderColor:"rgba(255,255,255,.1)",appBorderRadius:4,fontBase:Ht.fonts.base,fontCode:Ht.fonts.mono,textColor:"#C9CDCF",textInverseColor:"#222425",textMutedColor:"#798186",barTextColor:U.mediumdark,barHoverColor:U.secondary,barSelectedColor:U.secondary,barBg:"#292C2E",buttonBg:"#222425",buttonBorder:"rgba(255,255,255,.1)",booleanBg:"#222425",booleanSelectedBg:"#2E3438",inputBg:"#1B1C1D",inputBorder:"rgba(255,255,255,.1)",inputTextColor:U.lightest,inputBorderRadius:4},Ex=Dx,Cx={base:"light",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:br.app,appContentBg:U.lightest,appPreviewBg:U.lightest,appBorderColor:U.border,appBorderRadius:4,fontBase:Ht.fonts.base,fontCode:Ht.fonts.mono,textColor:U.darkest,textInverseColor:U.lightest,textMutedColor:U.dark,barTextColor:U.mediumdark,barHoverColor:U.secondary,barSelectedColor:U.secondary,barBg:U.lightest,buttonBg:br.app,buttonBorder:U.medium,booleanBg:U.mediumlight,booleanSelectedBg:U.lightest,inputBg:U.lightest,inputBorder:U.border,inputTextColor:U.darkest,inputBorderRadius:4},Bl=Cx,xx=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})();const{logger:Sx}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var{window:Eu}=xx,Fx=B(e=>({color:e}),"mkColor"),Ax=B(e=>typeof e!="string"?(Sx.warn(`Color passed to theme object should be a string. Instead ${e}(${typeof e}) was passed.`),!1):!0,"isColorString"),kx=B(e=>!/(gradient|var|calc)/.test(e),"isValidColorForPolished"),_x=B((e,t)=>e==="darken"?da(`${fx(1,t)}`,.95):e==="lighten"?da(`${mx(1,t)}`,.95):t,"applyPolished"),Py=B(e=>t=>{if(!Ax(t)||!kx(t))return t;try{return _x(e,t)}catch{return t}},"colorFactory"),Na=Py("lighten");Py("darken");var Ny=B(()=>!Eu||!Eu.matchMedia?"light":Eu.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light","getPreferredColorScheme"),J0={light:Bl,dark:Ex,normal:Bl};Ny();var Bx={rubber:"cubic-bezier(0.175, 0.885, 0.335, 1.05)"},Rx=Ct` + from { + transform: rotate(0deg); + } + to { + transform: rotate(360deg); + } +`,Hy=Ct` + 0%, 100% { opacity: 1; } + 50% { opacity: .4; } +`,Ix=Ct` + 0% { transform: translateY(1px); } + 25% { transform: translateY(0px); } + 50% { transform: translateY(-3px); } + 100% { transform: translateY(1px); } +`,Tx=Ct` + 0%, 100% { transform:translate3d(0,0,0); } + 12.5%, 62.5% { transform:translate3d(-4px,0,0); } + 37.5%, 87.5% { transform: translate3d(4px,0,0); } +`,zx=bs` + animation: ${Hy} 1.5s ease-in-out infinite; + color: transparent; + cursor: progress; +`,Lx=bs` + transition: all 150ms ease-out; + transform: translate3d(0, 0, 0); + + &:hover { + transform: translate3d(0, -2px, 0); + } + + &:active { + transform: translate3d(0, 0, 0); + } +`,Mx={rotate360:Rx,glow:Hy,float:Ix,jiggle:Tx,inlineGlow:zx,hoverable:Lx},Ox={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"},Px={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"},Nx=B(e=>Object.entries(e).reduce((t,[r,n])=>({...t,[r]:Fx(n)}),{}),"convertColors"),Hx=B(({colors:e,mono:t})=>{let r=Nx(e);return{token:{fontFamily:t,WebkitFontSmoothing:"antialiased","&.tag":r.red3,"&.comment":{...r.green1,fontStyle:"italic"},"&.prolog":{...r.green1,fontStyle:"italic"},"&.doctype":{...r.green1,fontStyle:"italic"},"&.cdata":{...r.green1,fontStyle:"italic"},"&.string":r.red1,"&.url":r.cyan1,"&.symbol":r.cyan1,"&.number":r.cyan1,"&.boolean":r.cyan1,"&.variable":r.cyan1,"&.constant":r.cyan1,"&.inserted":r.cyan1,"&.atrule":r.blue1,"&.keyword":r.blue1,"&.attr-value":r.blue1,"&.punctuation":r.gray1,"&.operator":r.gray1,"&.function":r.gray1,"&.deleted":r.red2,"&.important":{fontWeight:"bold"},"&.bold":{fontWeight:"bold"},"&.italic":{fontStyle:"italic"},"&.class-name":r.cyan2,"&.selector":r.red3,"&.attr-name":r.red4,"&.property":r.red4,"&.regex":r.red4,"&.entity":r.red4,"&.directive.tag .tag":{background:"#ffff00",...r.gray1}},"language-json .token.boolean":r.blue1,"language-json .token.number":r.blue1,"language-json .token.property":r.cyan2,namespace:{opacity:.7}}},"create"),$x={green1:"#008000",red1:"#A31515",red2:"#9a050f",red3:"#800000",red4:"#ff0000",gray1:"#393A34",cyan1:"#36acaa",cyan2:"#2B91AF",blue1:"#0000ff",blue2:"#00009f"},jx={green1:"#7C7C7C",red1:"#92C379",red2:"#9a050f",red3:"#A8FF60",red4:"#96CBFE",gray1:"#EDEDED",cyan1:"#C6C5FE",cyan2:"#FFFFB6",blue1:"#B474DD",blue2:"#00009f"},Vx=B(e=>({primary:e.colorPrimary,secondary:e.colorSecondary,tertiary:U.tertiary,ancillary:U.ancillary,orange:U.orange,gold:U.gold,green:U.green,seafoam:U.seafoam,purple:U.purple,ultraviolet:U.ultraviolet,lightest:U.lightest,lighter:U.lighter,light:U.light,mediumlight:U.mediumlight,medium:U.medium,mediumdark:U.mediumdark,dark:U.dark,darker:U.darker,darkest:U.darkest,border:U.border,positive:U.positive,negative:U.negative,warning:U.warning,critical:U.critical,defaultText:e.textColor||U.darkest,inverseText:e.textInverseColor||U.lightest,positiveText:U.positiveText,negativeText:U.negativeText,warningText:U.warningText}),"createColors"),Z0=B((e=J0[Ny()])=>{let{base:t,colorPrimary:r,colorSecondary:n,appBg:a,appContentBg:o,appPreviewBg:i,appBorderColor:s,appBorderRadius:c,fontBase:d,fontCode:f,textColor:m,textInverseColor:p,barTextColor:h,barHoverColor:g,barSelectedColor:v,barBg:b,buttonBg:D,buttonBorder:E,booleanBg:C,booleanSelectedBg:w,inputBg:x,inputBorder:S,inputTextColor:F,inputBorderRadius:A,brandTitle:_,brandUrl:R,brandImage:I,brandTarget:z,gridCellSize:L,...O}=e;return{...O,base:t,color:Vx(e),background:{app:a,bar:b,content:o,preview:i,gridCellSize:L||br.gridCellSize,hoverable:br.hoverable,positive:br.positive,negative:br.negative,warning:br.warning,critical:br.critical},typography:{fonts:{base:d,mono:f},weight:Ht.weight,size:Ht.size},animation:Mx,easing:Bx,input:{background:x,border:S,borderRadius:A,color:F},button:{background:D||x,border:E||S},boolean:{background:C||S,selectedBackground:w||x},layoutMargin:10,appBorderColor:s,appBorderRadius:c,barTextColor:h,barHoverColor:g||n,barSelectedColor:v||n,barBg:b,brand:{title:_,url:R,image:I||(_?null:void 0),target:z},code:Hx({colors:t==="light"?$x:jx,mono:f}),addonActionsTheme:{...t==="light"?Px:Ox,BASE_FONT_FAMILY:f,BASE_FONT_SIZE:Ht.size.s2-1,BASE_LINE_HEIGHT:"18px",BASE_BACKGROUND_COLOR:"transparent",BASE_COLOR:m,ARROW_COLOR:vx(.2,s),ARROW_MARGIN_RIGHT:4,ARROW_FONT_SIZE:8,TREENODE_FONT_FAMILY:f,TREENODE_FONT_SIZE:Ht.size.s2-1,TREENODE_LINE_HEIGHT:"18px",TREENODE_PADDING_LEFT:12}}},"convert");const{logger:Ux}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var qx=B(e=>Object.keys(e).length===0,"isEmpty"),Cu=B(e=>e!=null&&typeof e=="object","isObject"),Wx=B((e,...t)=>Object.prototype.hasOwnProperty.call(e,...t),"hasOwnProperty"),Gx=B(()=>Object.create(null),"makeObjectWithoutPrototype"),$y=B((e,t)=>e===t||!Cu(e)||!Cu(t)?{}:Object.keys(e).reduce((r,n)=>{if(Wx(t,n)){let a=$y(e[n],t[n]);return Cu(a)&&qx(a)||(r[n]=a),r}return r[n]=void 0,r},Gx()),"deletedDiff"),Kx=$y;function jy(e){for(var t=[],r=1;r{if(!e)return Z0(Bl);let t=Kx(Bl,e);return Object.keys(t).length&&Ux.warn(jy` + Your theme is missing properties, you should update your theme! + + theme-data missing: + `,t),Z0(e)},"ensure"),X0="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */",Jx=Object.create,ws=Object.defineProperty,Zx=Object.getOwnPropertyDescriptor,Xx=Object.getOwnPropertyNames,Qx=Object.getPrototypeOf,eS=Object.prototype.hasOwnProperty,u=(e,t)=>ws(e,"name",{value:t,configurable:!0}),Fi=(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')}),T=(e,t)=>()=>(e&&(t=e(e=0)),t),G=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Sa=(e,t)=>{for(var r in t)ws(e,r,{get:t[r],enumerable:!0})},tS=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Xx(t))!eS.call(e,a)&&a!==r&&ws(e,a,{get:()=>t[a],enumerable:!(n=Zx(t,a))||n.enumerable});return e},Ce=(e,t,r)=>(r=e!=null?Jx(Qx(e)):{},tS(t||!e||!e.__esModule?ws(r,"default",{value:e,enumerable:!0}):r,e));function ze(){return ze=Object.assign?Object.assign.bind():function(e){for(var t=1;t{u(ze,"_extends")});function Vy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var rS=T(()=>{u(Vy,"_assertThisInitialized")});function pa(e,t){return pa=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},pa(e,t)}var tp=T(()=>{u(pa,"_setPrototypeOf")});function Rl(e){return Rl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Rl(e)}var nS=T(()=>{u(Rl,"_getPrototypeOf")}),Es,rp=T(()=>{Es=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})()}),Cs=G((e,t)=>{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return u(function r(n,a,o){function i(d,f){if(!a[d]){if(!n[d]){var m=typeof Fi=="function"&&Fi;if(!f&&m)return m(d,!0);if(s)return s(d,!0);var p=new Error("Cannot find module '"+d+"'");throw p.code="MODULE_NOT_FOUND",p}var h=a[d]={exports:{}};n[d][0].call(h.exports,function(g){var v=n[d][1][g];return i(v||g)},h,h.exports,r,n,a,o)}return a[d].exports}u(i,"s");for(var s=typeof Fi=="function"&&Fi,c=0;c=0)return this.lastItem=this.list[s],this.list[s].val},o.prototype.set=function(i,s){var c;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=s,this):(c=this.indexOf(i),c>=0?(this.lastItem=this.list[c],this.list[c].val=s,this):(this.lastItem={key:i,val:s},this.list.push(this.lastItem),this.size++,this))},o.prototype.delete=function(i){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),s=this.indexOf(i),s>=0)return this.size--,this.list.splice(s,1)[0]},o.prototype.has=function(i){var s;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(s=this.indexOf(i),s>=0?(this.lastItem=this.list[s],!0):!1)},o.prototype.forEach=function(i,s){var c;for(c=0;c0&&(E[D]={cacheItem:g,arg:arguments[D]},C?i(m,E):m.push(E),m.length>d&&s(m.shift())),h.wasMemoized=C,h.numArgs=D+1,b},"memoizerific");return h.limit=d,h.wasMemoized=!1,h.cache=f,h.lru=m,h}};function i(d,f){var m=d.length,p=f.length,h,g,v;for(g=0;g=0&&(m=d[h],p=m.cacheItem.get(m.arg),!p||!p.size);h--)m.cacheItem.delete(m.arg)}u(s,"removeCachedResult");function c(d,f){return d===f||d!==d&&f!==f}u(c,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})});function xs(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}var np=T(()=>{u(xs,"_objectWithoutPropertiesLoose")});function Uy(e,t){if(e==null)return{};var r,n,a=xs(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||{}.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var aS=T(()=>{np(),u(Uy,"_objectWithoutProperties")});function Il(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{u(Il,"_arrayLikeToArray")});function Wy(e){if(Array.isArray(e))return Il(e)}var oS=T(()=>{qy(),u(Wy,"_arrayWithoutHoles")});function Gy(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}var iS=T(()=>{u(Gy,"_iterableToArray")});function Ky(e,t){if(e){if(typeof e=="string")return Il(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Il(e,t):void 0}}var lS=T(()=>{qy(),u(Ky,"_unsupportedIterableToArray")});function Yy(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var sS=T(()=>{u(Yy,"_nonIterableSpread")});function Jy(e){return Wy(e)||Gy(e)||Ky(e)||Yy()}var uS=T(()=>{oS(),iS(),lS(),sS(),u(Jy,"_toConsumableArray")});function fa(e){"@babel/helpers - typeof";return fa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},fa(e)}var Zy=T(()=>{u(fa,"_typeof")});function Xy(e,t){if(fa(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(fa(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var cS=T(()=>{Zy(),u(Xy,"toPrimitive")});function Qy(e){var t=Xy(e,"string");return fa(t)=="symbol"?t:t+""}var dS=T(()=>{Zy(),cS(),u(Qy,"toPropertyKey")});function ap(e,t,r){return(t=Qy(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var e3=T(()=>{dS(),u(ap,"_defineProperty")});function Q0(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Xr(e){for(var t=1;t=4)return[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]}function r3(e){if(e.length===0||e.length===1)return e;var t=e.join(".");return al[t]||(al[t]=t3(e)),al[t]}function n3(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=e.filter(function(o){return o!=="token"}),a=r3(n);return a.reduce(function(o,i){return Xr(Xr({},o),r[i])},t)}function ed(e){return e.join(" ")}function a3(e,t){var r=0;return function(n){return r+=1,n.map(function(a,o){return Ss({node:a,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(r,"-").concat(o)})})}}function Ss(e){var t=e.node,r=e.stylesheet,n=e.style,a=n===void 0?{}:n,o=e.useInlineStyles,i=e.key,s=t.properties,c=t.type,d=t.tagName,f=t.value;if(c==="text")return f;if(d){var m=a3(r,o),p;if(!o)p=Xr(Xr({},s),{},{className:ed(s.className)});else{var h=Object.keys(r).reduce(function(D,E){return E.split(".").forEach(function(C){D.includes(C)||D.push(C)}),D},[]),g=s.className&&s.className.includes("token")?["token"]:[],v=s.className&&g.concat(s.className.filter(function(D){return!h.includes(D)}));p=Xr(Xr({},s),{},{className:ed(v)||void 0,style:n3(s.className,Object.assign({},s.style,a),r)})}var b=m(t.children);return y.createElement(d,ze({key:i},p),b)}}var al,o3=T(()=>{Ds(),e3(),u(Q0,"ownKeys"),u(Xr,"_objectSpread"),u(t3,"powerSetPermutations"),al={},u(r3,"getClassNameCombinations"),u(n3,"createStyleObject"),u(ed,"createClassNameString"),u(a3,"createChildren"),u(Ss,"createElement")}),i3,pS=T(()=>{i3=u(function(e,t){var r=e.listLanguages();return r.indexOf(t)!==-1},"default")});function td(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function pt(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],n=0;n2&&arguments[2]!==void 0?arguments[2]:[];return Do({children:x,lineNumber:S,lineNumberStyle:s,largestLineNumber:i,showInlineLineNumbers:a,lineProps:r,className:F,showLineNumbers:n,wrapLongLines:c})}u(g,"createWrappedLine");function v(x,S){if(n&&S&&a){var F=ip(s,S,i);x.unshift(op(S,F))}return x}u(v,"createUnwrappedLine");function b(x,S){var F=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||F.length>0?g(x,S,F):v(x,S)}u(b,"createLine");for(var D=u(function(){var x=f[h],S=x.children[0].value,F=l3(S);if(F){var A=S.split(` +`);A.forEach(function(_,R){var I=n&&m.length+o,z={type:"text",value:"".concat(_,` +`)};if(R===0){var L=f.slice(p+1,h).concat(Do({children:[z],className:x.properties.className})),O=b(L,I);m.push(O)}else if(R===A.length-1){var M=f[h+1]&&f[h+1].children&&f[h+1].children[0],P={type:"text",value:"".concat(_)};if(M){var V=Do({children:[P],className:x.properties.className});f.splice(h+1,0,V)}else{var W=[P],q=b(W,I,x.properties.className);m.push(q)}}else{var Y=[z],Q=b(Y,I,x.properties.className);m.push(Q)}}),p=h}h++},"_loop");h{aS(),uS(),e3(),o3(),pS(),m3=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"],u(td,"ownKeys"),u(pt,"_objectSpread"),g3=/\n/g,u(l3,"getNewLines"),u(s3,"getAllLineNumbers"),u(u3,"AllLineNumbers"),u(c3,"getEmWidthOfNumber"),u(op,"getInlineLineNumber"),u(ip,"assembleLineNumberStyles"),u(Do,"createLineElement"),u(lp,"flattenCodeTree"),u(d3,"processLines"),u(p3,"defaultRenderer"),u(sp,"isHighlightJs"),u(f3,"getCodeTree"),u(h3,"default")}),hS=G((e,t)=>{t.exports=n;var r=Object.prototype.hasOwnProperty;function n(){for(var a={},o=0;o{t.exports=n;var r=n.prototype;r.space=null,r.normal={},r.property={};function n(a,o,i){this.property=a,this.normal=o,i&&(this.space=i)}u(n,"Schema")}),mS=G((e,t)=>{var r=hS(),n=v3();t.exports=a;function a(o){for(var i=o.length,s=[],c=[],d=-1,f,m;++d{t.exports=r;function r(n){return n.toLowerCase()}u(r,"normalize")}),y3=G((e,t)=>{t.exports=n;var r=n.prototype;r.space=null,r.attribute=null,r.property=null,r.boolean=!1,r.booleanish=!1,r.overloadedBoolean=!1,r.number=!1,r.commaSeparated=!1,r.spaceSeparated=!1,r.commaOrSpaceSeparated=!1,r.mustUseProperty=!1,r.defined=!1;function n(a,o){this.property=a,this.attribute=o}u(n,"Info")}),cp=G(e=>{var t=0;e.boolean=r(),e.booleanish=r(),e.overloadedBoolean=r(),e.number=r(),e.spaceSeparated=r(),e.commaSeparated=r(),e.commaOrSpaceSeparated=r();function r(){return Math.pow(2,++t)}u(r,"increment")}),b3=G((e,t)=>{var r=y3(),n=cp();t.exports=i,i.prototype=new r,i.prototype.defined=!0;var a=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],o=a.length;function i(c,d,f,m){var p=-1,h;for(s(this,"space",m),r.call(this,c,d);++p{var r=up(),n=v3(),a=b3();t.exports=o;function o(i){var s=i.space,c=i.mustUseProperty||[],d=i.attributes||{},f=i.properties,m=i.transform,p={},h={},g,v;for(g in f)v=new a(g,m(d,g),f[g],s),c.indexOf(g)!==-1&&(v.mustUseProperty=!0),p[g]=v,h[r(g)]=g,h[r(v.attribute)]=g;return new n(p,h,s)}u(o,"create")}),gS=G((e,t)=>{var r=Qo();t.exports=r({space:"xlink",transform:n,properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}});function n(a,o){return"xlink:"+o.slice(5).toLowerCase()}u(n,"xlinkTransform")}),vS=G((e,t)=>{var r=Qo();t.exports=r({space:"xml",transform:n,properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function n(a,o){return"xml:"+o.slice(3).toLowerCase()}u(n,"xmlTransform")}),yS=G((e,t)=>{t.exports=r;function r(n,a){return a in n?n[a]:a}u(r,"caseSensitiveTransform")}),w3=G((e,t)=>{var r=yS();t.exports=n;function n(a,o){return r(a,o.toLowerCase())}u(n,"caseInsensitiveTransform")}),bS=G((e,t)=>{var r=Qo(),n=w3();t.exports=r({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:n,properties:{xmlns:null,xmlnsXLink:null}})}),wS=G((e,t)=>{var r=cp(),n=Qo(),a=r.booleanish,o=r.number,i=r.spaceSeparated;t.exports=n({transform:s,properties:{ariaActiveDescendant:null,ariaAtomic:a,ariaAutoComplete:null,ariaBusy:a,ariaChecked:a,ariaColCount:o,ariaColIndex:o,ariaColSpan:o,ariaControls:i,ariaCurrent:null,ariaDescribedBy:i,ariaDetails:null,ariaDisabled:a,ariaDropEffect:i,ariaErrorMessage:null,ariaExpanded:a,ariaFlowTo:i,ariaGrabbed:a,ariaHasPopup:null,ariaHidden:a,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:i,ariaLevel:o,ariaLive:null,ariaModal:a,ariaMultiLine:a,ariaMultiSelectable:a,ariaOrientation:null,ariaOwns:i,ariaPlaceholder:null,ariaPosInSet:o,ariaPressed:a,ariaReadOnly:a,ariaRelevant:null,ariaRequired:a,ariaRoleDescription:i,ariaRowCount:o,ariaRowIndex:o,ariaRowSpan:o,ariaSelected:a,ariaSetSize:o,ariaSort:null,ariaValueMax:o,ariaValueMin:o,ariaValueNow:o,ariaValueText:null,role:null}});function s(c,d){return d==="role"?d:"aria-"+d.slice(4).toLowerCase()}u(s,"ariaTransform")}),DS=G((e,t)=>{var r=cp(),n=Qo(),a=w3(),o=r.boolean,i=r.overloadedBoolean,s=r.booleanish,c=r.number,d=r.spaceSeparated,f=r.commaSeparated;t.exports=n({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:a,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:f,acceptCharset:d,accessKey:d,action:null,allow:null,allowFullScreen:o,allowPaymentRequest:o,allowUserMedia:o,alt:null,as:null,async:o,autoCapitalize:null,autoComplete:d,autoFocus:o,autoPlay:o,capture:o,charSet:null,checked:o,cite:null,className:d,cols:c,colSpan:null,content:null,contentEditable:s,controls:o,controlsList:d,coords:c|f,crossOrigin:null,data:null,dateTime:null,decoding:null,default:o,defer:o,dir:null,dirName:null,disabled:o,download:i,draggable:s,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:o,formTarget:null,headers:d,height:c,hidden:o,high:c,href:null,hrefLang:null,htmlFor:d,httpEquiv:d,id:null,imageSizes:null,imageSrcSet:f,inputMode:null,integrity:null,is:null,isMap:o,itemId:null,itemProp:d,itemRef:d,itemScope:o,itemType:d,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:o,low:c,manifest:null,max:null,maxLength:c,media:null,method:null,min:null,minLength:c,multiple:o,muted:o,name:null,nonce:null,noModule:o,noValidate:o,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:o,optimum:c,pattern:null,ping:d,placeholder:null,playsInline:o,poster:null,preload:null,readOnly:o,referrerPolicy:null,rel:d,required:o,reversed:o,rows:c,rowSpan:c,sandbox:d,scope:null,scoped:o,seamless:o,selected:o,shape:null,size:c,sizes:null,slot:null,span:c,spellCheck:s,src:null,srcDoc:null,srcLang:null,srcSet:f,start:c,step:null,style:null,tabIndex:c,target:null,title:null,translate:null,type:null,typeMustMatch:o,useMap:null,value:s,width:c,wrap:null,align:null,aLink:null,archive:d,axis:null,background:null,bgColor:null,border:c,borderColor:null,bottomMargin:c,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:o,declare:o,event:null,face:null,frame:null,frameBorder:null,hSpace:c,leftMargin:c,link:null,longDesc:null,lowSrc:null,marginHeight:c,marginWidth:c,noResize:o,noHref:o,noShade:o,noWrap:o,object:null,profile:null,prompt:null,rev:null,rightMargin:c,rules:null,scheme:null,scrolling:s,standby:null,summary:null,text:null,topMargin:c,valueType:null,version:null,vAlign:null,vLink:null,vSpace:c,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:o,disableRemotePlayback:o,prefix:null,property:null,results:c,security:null,unselectable:null}})}),ES=G((e,t)=>{var r=mS(),n=gS(),a=vS(),o=bS(),i=wS(),s=DS();t.exports=r([a,n,o,i,s])}),CS=G((e,t)=>{var r=up(),n=b3(),a=y3(),o="data";t.exports=d;var i=/^data[-\w.:]+$/i,s=/-[a-z]/g,c=/[A-Z]/g;function d(g,v){var b=r(v),D=v,E=a;return b in g.normal?g.property[g.normal[b]]:(b.length>4&&b.slice(0,4)===o&&i.test(v)&&(v.charAt(4)==="-"?D=f(v):v=m(v),E=n),new E(D,v))}u(d,"find");function f(g){var v=g.slice(5).replace(s,h);return o+v.charAt(0).toUpperCase()+v.slice(1)}u(f,"datasetToProperty");function m(g){var v=g.slice(4);return s.test(v)?g:(v=v.replace(c,p),v.charAt(0)!=="-"&&(v="-"+v),o+v)}u(m,"datasetToAttribute");function p(g){return"-"+g.toLowerCase()}u(p,"kebab");function h(g){return g.charAt(1).toUpperCase()}u(h,"camelcase")}),xS=G((e,t)=>{t.exports=n;var r=/[#.]/g;function n(a,o){for(var i=a||"",s=o||"div",c={},d=0,f,m,p;d{e.parse=a,e.stringify=o;var t="",r=" ",n=/[ \t\n\r\f]+/g;function a(i){var s=String(i||t).trim();return s===t?[]:s.split(n)}u(a,"parse");function o(i){return i.join(r).trim()}u(o,"stringify")}),FS=G(e=>{e.parse=a,e.stringify=o;var t=",",r=" ",n="";function a(i){for(var s=[],c=String(i||n),d=c.indexOf(t),f=0,m=!1,p;!m;)d===-1&&(d=c.length,m=!0),p=c.slice(f,d).trim(),(p||!m)&&s.push(p),f=d+1,d=c.indexOf(t,f);return s}u(a,"parse");function o(i,s){var c=s||{},d=c.padLeft===!1?n:r,f=c.padRight?r:n;return i[i.length-1]===n&&(i=i.concat(n)),i.join(f+t+d).trim()}u(o,"stringify")}),AS=G((e,t)=>{var r=CS(),n=up(),a=xS(),o=SS().parse,i=FS().parse;t.exports=c;var s={}.hasOwnProperty;function c(b,D,E){var C=E?v(E):null;return w;function w(S,F){var A=a(S,D),_=Array.prototype.slice.call(arguments,2),R=A.tagName.toLowerCase(),I;if(A.tagName=C&&s.call(C,R)?C[R]:R,F&&d(F,A)&&(_.unshift(F),F=null),F)for(I in F)x(A.properties,I,F[I]);return m(A.children,_),A.tagName==="template"&&(A.content={type:"root",children:A.children},A.children=[]),A}function x(S,F,A){var _,R,I;A==null||A!==A||(_=r(b,F),R=_.property,I=A,typeof I=="string"&&(_.spaceSeparated?I=o(I):_.commaSeparated?I=i(I):_.commaOrSpaceSeparated&&(I=o(i(I).join(" ")))),R==="style"&&typeof A!="string"&&(I=g(I)),R==="className"&&S.className&&(I=S.className.concat(I)),S[R]=p(_,R,I))}}u(c,"factory");function d(b,D){return typeof b=="string"||"length"in b||f(D.tagName,b)}u(d,"isChildren");function f(b,D){var E=D.type;return b==="input"||!E||typeof E!="string"?!1:typeof D.children=="object"&&"length"in D.children?!0:(E=E.toLowerCase(),b==="button"?E!=="menu"&&E!=="submit"&&E!=="reset"&&E!=="button":"value"in D)}u(f,"isNode");function m(b,D){var E,C;if(typeof D=="string"||typeof D=="number"){b.push({type:"text",value:String(D)});return}if(typeof D=="object"&&"length"in D){for(E=-1,C=D.length;++E{var r=ES(),n=AS(),a=n(r,"div");a.displayName="html",t.exports=a}),_S=G((e,t)=>{t.exports=kS()}),BS=G((e,t)=>{t.exports={AElig:"Æ",AMP:"&",Aacute:"Á",Acirc:"Â",Agrave:"À",Aring:"Å",Atilde:"Ã",Auml:"Ä",COPY:"©",Ccedil:"Ç",ETH:"Ð",Eacute:"É",Ecirc:"Ê",Egrave:"È",Euml:"Ë",GT:">",Iacute:"Í",Icirc:"Î",Igrave:"Ì",Iuml:"Ï",LT:"<",Ntilde:"Ñ",Oacute:"Ó",Ocirc:"Ô",Ograve:"Ò",Oslash:"Ø",Otilde:"Õ",Ouml:"Ö",QUOT:'"',REG:"®",THORN:"Þ",Uacute:"Ú",Ucirc:"Û",Ugrave:"Ù",Uuml:"Ü",Yacute:"Ý",aacute:"á",acirc:"â",acute:"´",aelig:"æ",agrave:"à",amp:"&",aring:"å",atilde:"ã",auml:"ä",brvbar:"¦",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",ecirc:"ê",egrave:"è",eth:"ð",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",iacute:"í",icirc:"î",iexcl:"¡",igrave:"ì",iquest:"¿",iuml:"ï",laquo:"«",lt:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",oacute:"ó",ocirc:"ô",ograve:"ò",ordf:"ª",ordm:"º",oslash:"ø",otilde:"õ",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',raquo:"»",reg:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",times:"×",uacute:"ú",ucirc:"û",ugrave:"ù",uml:"¨",uuml:"ü",yacute:"ý",yen:"¥",yuml:"ÿ"}}),RS=G((e,t)=>{t.exports={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"}}),D3=G((e,t)=>{t.exports=r;function r(n){var a=typeof n=="string"?n.charCodeAt(0):n;return a>=48&&a<=57}u(r,"decimal")}),IS=G((e,t)=>{t.exports=r;function r(n){var a=typeof n=="string"?n.charCodeAt(0):n;return a>=97&&a<=102||a>=65&&a<=70||a>=48&&a<=57}u(r,"hexadecimal")}),TS=G((e,t)=>{t.exports=r;function r(n){var a=typeof n=="string"?n.charCodeAt(0):n;return a>=97&&a<=122||a>=65&&a<=90}u(r,"alphabetical")}),zS=G((e,t)=>{var r=TS(),n=D3();t.exports=a;function a(o){return r(o)||n(o)}u(a,"alphanumerical")}),LS=G((e,t)=>{var r,n=59;t.exports=a;function a(o){var i="&"+o+";",s;return r=r||document.createElement("i"),r.innerHTML=i,s=r.textContent,s.charCodeAt(s.length-1)===n&&o!=="semi"||s===i?!1:s}u(a,"decodeEntity")}),MS=G((e,t)=>{var r=BS(),n=RS(),a=D3(),o=IS(),i=zS(),s=LS();t.exports=Q;var c={}.hasOwnProperty,d=String.fromCharCode,f=Function.prototype,m={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},p=9,h=10,g=12,v=32,b=38,D=59,E=60,C=61,w=35,x=88,S=120,F=65533,A="named",_="hexadecimal",R="decimal",I={};I[_]=16,I[R]=10;var z={};z[A]=i,z[R]=a,z[_]=o;var L=1,O=2,M=3,P=4,V=5,W=6,q=7,Y={};Y[L]="Named character references must be terminated by a semicolon",Y[O]="Numeric character references must be terminated by a semicolon",Y[M]="Named character references cannot be empty",Y[P]="Numeric character references cannot be empty",Y[V]="Named character references must be known",Y[W]="Numeric character references cannot be disallowed",Y[q]="Numeric character references cannot be outside the permissible Unicode range";function Q($,Z){var re={},fe,xe;Z||(Z={});for(xe in m)fe=Z[xe],re[xe]=fe??m[xe];return(re.position.indent||re.position.start)&&(re.indent=re.position.indent||[],re.position=re.position.start),ne($,re)}u(Q,"parseEntities");function ne($,Z){var re=Z.additional,fe=Z.nonTerminated,xe=Z.text,At=Z.reference,We=Z.warning,ot=Z.textContext,H=Z.referenceContext,it=Z.warningContext,kt=Z.position,Or=Z.indent||[],Fn=$.length,_t=0,Di=-1,Re=kt.column||1,Pr=kt.line||1,Bt="",An=[],Rt,kn,It,Se,lt,ye,ce,Tt,Ei,vu,Nr,Ma,Hr,er,gh,Oa,Ci,zt,be;for(typeof re=="string"&&(re=re.charCodeAt(0)),Oa=Pa(),Tt=We?VC:f,_t--,Fn++;++_t65535&&(ye-=65536,vu+=d(ye>>>10|55296),ye=56320|ye&1023),ye=vu+d(ye))):er!==A&&Tt(P,zt)),ye?(vh(),Oa=Pa(),_t=be-1,Re+=be-Hr+1,An.push(ye),Ci=Pa(),Ci.offset++,At&&At.call(H,ye,{start:Oa,end:Ci},$.slice(Hr-1,be)),Oa=Ci):(Se=$.slice(Hr-1,be),Bt+=Se,Re+=Se.length,_t=be-1)}else lt===10&&(Pr++,Di++,Re=0),lt===lt?(Bt+=d(lt),Re++):vh();return An.join("");function Pa(){return{line:Pr,column:Re,offset:_t+(kt.offset||0)}}function VC(yh,bh){var yu=Pa();yu.column+=bh,yu.offset+=bh,We.call(it,Y[yh],yu,yh)}function vh(){Bt&&(An.push(Bt),xe&&xe.call(ot,Bt,{start:Oa,end:Pa()}),Bt="")}}u(ne,"parse");function X($){return $>=55296&&$<=57343||$>1114111}u(X,"prohibited");function le($){return $>=1&&$<=8||$===11||$>=13&&$<=31||$>=127&&$<=159||$>=64976&&$<=65007||($&65535)===65535||($&65535)===65534}u(le,"disallowed")}),OS=G((e,t)=>{var r=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{},n=function(a){var o=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,i=0,s={},c={manual:a.Prism&&a.Prism.manual,disableWorkerMessageHandler:a.Prism&&a.Prism.disableWorkerMessageHandler,util:{encode:u(function C(w){return w instanceof d?new d(w.type,C(w.content),w.alias):Array.isArray(w)?w.map(C):w.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(S){var C=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(S.stack)||[])[1];if(C){var w=document.getElementsByTagName("script");for(var x in w)if(w[x].src==C)return w[x]}return null}},"currentScript"),isActive:u(function(C,w,x){for(var S="no-"+w;C;){var F=C.classList;if(F.contains(w))return!0;if(F.contains(S))return!1;C=C.parentElement}return!!x},"isActive")},languages:{plain:s,plaintext:s,text:s,txt:s,extend:u(function(C,w){var x=c.util.clone(c.languages[C]);for(var S in w)x[S]=w[S];return x},"extend"),insertBefore:u(function(C,w,x,S){S=S||c.languages;var F=S[C],A={};for(var _ in F)if(F.hasOwnProperty(_)){if(_==w)for(var R in x)x.hasOwnProperty(R)&&(A[R]=x[R]);x.hasOwnProperty(_)||(A[_]=F[_])}var I=S[C];return S[C]=A,c.languages.DFS(c.languages,function(z,L){L===I&&z!=C&&(this[z]=A)}),A},"insertBefore"),DFS:u(function C(w,x,S,F){F=F||{};var A=c.util.objId;for(var _ in w)if(w.hasOwnProperty(_)){x.call(w,_,w[_],S||_);var R=w[_],I=c.util.type(R);I==="Object"&&!F[A(R)]?(F[A(R)]=!0,C(R,x,null,F)):I==="Array"&&!F[A(R)]&&(F[A(R)]=!0,C(R,x,_,F))}},"DFS")},plugins:{},highlightAll:u(function(C,w){c.highlightAllUnder(document,C,w)},"highlightAll"),highlightAllUnder:u(function(C,w,x){var S={callback:x,container:C,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};c.hooks.run("before-highlightall",S),S.elements=Array.prototype.slice.apply(S.container.querySelectorAll(S.selector)),c.hooks.run("before-all-elements-highlight",S);for(var F=0,A;A=S.elements[F++];)c.highlightElement(A,w===!0,S.callback)},"highlightAllUnder"),highlightElement:u(function(C,w,x){var S=c.util.getLanguage(C),F=c.languages[S];c.util.setLanguage(C,S);var A=C.parentElement;A&&A.nodeName.toLowerCase()==="pre"&&c.util.setLanguage(A,S);var _=C.textContent,R={element:C,language:S,grammar:F,code:_};function I(L){R.highlightedCode=L,c.hooks.run("before-insert",R),R.element.innerHTML=R.highlightedCode,c.hooks.run("after-highlight",R),c.hooks.run("complete",R),x&&x.call(R.element)}if(u(I,"insertHighlightedCode"),c.hooks.run("before-sanity-check",R),A=R.element.parentElement,A&&A.nodeName.toLowerCase()==="pre"&&!A.hasAttribute("tabindex")&&A.setAttribute("tabindex","0"),!R.code){c.hooks.run("complete",R),x&&x.call(R.element);return}if(c.hooks.run("before-highlight",R),!R.grammar){I(c.util.encode(R.code));return}if(w&&a.Worker){var z=new Worker(c.filename);z.onmessage=function(L){I(L.data)},z.postMessage(JSON.stringify({language:R.language,code:R.code,immediateClose:!0}))}else I(c.highlight(R.code,R.grammar,R.language))},"highlightElement"),highlight:u(function(C,w,x){var S={code:C,grammar:w,language:x};if(c.hooks.run("before-tokenize",S),!S.grammar)throw new Error('The language "'+S.language+'" has no grammar.');return S.tokens=c.tokenize(S.code,S.grammar),c.hooks.run("after-tokenize",S),d.stringify(c.util.encode(S.tokens),S.language)},"highlight"),tokenize:u(function(C,w){var x=w.rest;if(x){for(var S in x)w[S]=x[S];delete w.rest}var F=new p;return h(F,F.head,C),m(C,F,w,F.head,0),v(F)},"tokenize"),hooks:{all:{},add:u(function(C,w){var x=c.hooks.all;x[C]=x[C]||[],x[C].push(w)},"add"),run:u(function(C,w){var x=c.hooks.all[C];if(!(!x||!x.length))for(var S=0,F;F=x[S++];)F(w)},"run")},Token:d};a.Prism=c;function d(C,w,x,S){this.type=C,this.content=w,this.alias=x,this.length=(S||"").length|0}u(d,"Token"),d.stringify=u(function C(w,x){if(typeof w=="string")return w;if(Array.isArray(w)){var S="";return w.forEach(function(I){S+=C(I,x)}),S}var F={type:w.type,content:C(w.content,x),tag:"span",classes:["token",w.type],attributes:{},language:x},A=w.alias;A&&(Array.isArray(A)?Array.prototype.push.apply(F.classes,A):F.classes.push(A)),c.hooks.run("wrap",F);var _="";for(var R in F.attributes)_+=" "+R+'="'+(F.attributes[R]||"").replace(/"/g,""")+'"';return"<"+F.tag+' class="'+F.classes.join(" ")+'"'+_+">"+F.content+""},"stringify");function f(C,w,x,S){C.lastIndex=w;var F=C.exec(x);if(F&&S&&F[1]){var A=F[1].length;F.index+=A,F[0]=F[0].slice(A)}return F}u(f,"matchPattern");function m(C,w,x,S,F,A){for(var _ in x)if(!(!x.hasOwnProperty(_)||!x[_])){var R=x[_];R=Array.isArray(R)?R:[R];for(var I=0;I=A.reach);Y+=q.value.length,q=q.next){var Q=q.value;if(w.length>C.length)return;if(!(Q instanceof d)){var ne=1,X;if(M){if(X=f(W,Y,C,O),!X||X.index>=C.length)break;var re=X.index,le=X.index+X[0].length,$=Y;for($+=q.value.length;re>=$;)q=q.next,$+=q.value.length;if($-=q.value.length,Y=$,q.value instanceof d)continue;for(var Z=q;Z!==w.tail&&($A.reach&&(A.reach=We);var ot=q.prev;xe&&(ot=h(w,ot,xe),Y+=xe.length),g(w,ot,ne);var H=new d(_,L?c.tokenize(fe,L):fe,P,fe);if(q=h(w,ot,H),At&&h(w,q,At),ne>1){var it={cause:_+","+I,reach:We};m(C,w,x,q.prev,Y,it),A&&it.reach>A.reach&&(A.reach=it.reach)}}}}}}u(m,"matchGrammar");function p(){var C={value:null,prev:null,next:null},w={value:null,prev:C,next:null};C.next=w,this.head=C,this.tail=w,this.length=0}u(p,"LinkedList");function h(C,w,x){var S=w.next,F={value:x,prev:w,next:S};return w.next=F,S.prev=F,C.length++,F}u(h,"addAfter");function g(C,w,x){for(var S=w.next,F=0;F{t.exports=r,r.displayName="markup",r.aliases=["html","mathml","svg","xml","ssml","atom","rss"];function r(n){n.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},n.languages.markup.tag.inside["attr-value"].inside.entity=n.languages.markup.entity,n.languages.markup.doctype.inside["internal-subset"].inside=n.languages.markup,n.hooks.add("wrap",function(a){a.type==="entity"&&(a.attributes.title=a.content.value.replace(/&/,"&"))}),Object.defineProperty(n.languages.markup.tag,"addInlined",{value:u(function(a,o){var i={};i["language-"+o]={pattern:/(^$)/i,lookbehind:!0,inside:n.languages[o]},i.cdata=/^$/i;var s={"included-cdata":{pattern://i,inside:i}};s["language-"+o]={pattern:/[\s\S]+/,inside:n.languages[o]};var c={};c[a]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return a}),"i"),lookbehind:!0,greedy:!0,inside:s},n.languages.insertBefore("markup","cdata",c)},"addInlined")}),Object.defineProperty(n.languages.markup.tag,"addAttribute",{value:u(function(a,o){n.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+a+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[o,"language-"+o],inside:n.languages[o]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})},"value")}),n.languages.html=n.languages.markup,n.languages.mathml=n.languages.markup,n.languages.svg=n.languages.markup,n.languages.xml=n.languages.extend("markup",{}),n.languages.ssml=n.languages.xml,n.languages.atom=n.languages.xml,n.languages.rss=n.languages.xml}u(r,"markup")}),C3=G((e,t)=>{t.exports=r,r.displayName="css",r.aliases=[];function r(n){(function(a){var o=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;a.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+o.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+o.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+o.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:o,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},a.languages.css.atrule.inside.rest=a.languages.css;var i=a.languages.markup;i&&(i.tag.addInlined("style","css"),i.tag.addAttribute("style","css"))})(n)}u(r,"css")}),PS=G((e,t)=>{t.exports=r,r.displayName="clike",r.aliases=[];function r(n){n.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}u(r,"clike")}),NS=G((e,t)=>{t.exports=r,r.displayName="javascript",r.aliases=["js"];function r(n){n.languages.javascript=n.languages.extend("clike",{"class-name":[n.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),n.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,n.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:n.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:n.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:n.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:n.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:n.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),n.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:n.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),n.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),n.languages.markup&&(n.languages.markup.tag.addInlined("script","javascript"),n.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),n.languages.js=n.languages.javascript}u(r,"javascript")}),HS=G((e,t)=>{var r=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof global=="object"?global:{},n=F();r.Prism={manual:!0,disableWorkerMessageHandler:!0};var a=_S(),o=MS(),i=OS(),s=E3(),c=C3(),d=PS(),f=NS();n();var m={}.hasOwnProperty;function p(){}u(p,"Refractor"),p.prototype=i;var h=new p;t.exports=h,h.highlight=b,h.register=g,h.alias=v,h.registered=D,h.listLanguages=E,g(s),g(c),g(d),g(f),h.util.encode=x,h.Token.stringify=C;function g(A){if(typeof A!="function"||!A.displayName)throw new Error("Expected `function` for `grammar`, got `"+A+"`");h.languages[A.displayName]===void 0&&A(h)}u(g,"register");function v(A,_){var R=h.languages,I=A,z,L,O,M;_&&(I={},I[A]=_);for(z in I)for(L=I[z],L=typeof L=="string"?[L]:L,O=L.length,M=-1;++M{fS(),Ai=Ce(HS()),ki=h3(Ai.default,{}),ki.registerLanguage=function(e,t){return Ai.default.register(t)},ki.alias=function(e,t){return Ai.default.alias(e,t)},ol=ki}),jS=T(()=>{o3()}),VS=G((e,t)=>{t.exports=r,r.displayName="bash",r.aliases=["shell"];function r(n){(function(a){var o="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",i={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},s={bash:i,environment:{pattern:RegExp("\\$"+o),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+o),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};a.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+o),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:s},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:i}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:s},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:s.entity}}],environment:{pattern:RegExp("\\$?"+o),alias:"constant"},variable:s.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},i.inside=a.languages.bash;for(var c=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],d=s.variable[1].inside,f=0;f{Rh=Ce(VS()),x3=Rh.default}),Ih,S3,qS=T(()=>{Ih=Ce(C3()),S3=Ih.default}),WS=G((e,t)=>{t.exports=r,r.displayName="graphql",r.aliases=[];function r(n){n.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:n.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},n.hooks.add("after-tokenize",u(function(a){if(a.language!=="graphql")return;var o=a.tokens.filter(function(E){return typeof E!="string"&&E.type!=="comment"&&E.type!=="scalar"}),i=0;function s(E){return o[i+E]}u(s,"getToken");function c(E,C){C=C||0;for(var w=0;w0)){var v=d(/^\{$/,/^\}$/);if(v===-1)continue;for(var b=i;b=0&&f(D,"variable-input")}}}}},"afterTokenizeGraphql"))}u(r,"graphql")}),Th,F3,GS=T(()=>{Th=Ce(WS()),F3=Th.default}),KS=G((e,t)=>{t.exports=r,r.displayName="jsExtras",r.aliases=[];function r(n){(function(a){a.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+a.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),a.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+a.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),a.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]});function o(m,p){return RegExp(m.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),p)}u(o,"withId"),a.languages.insertBefore("javascript","keyword",{imports:{pattern:o(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:a.languages.javascript},exports:{pattern:o(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:a.languages.javascript}}),a.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),a.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),a.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:o(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var i=["function","function-variable","method","method-variable","property-access"],s=0;s{zh=Ce(KS()),A3=zh.default}),JS=G((e,t)=>{t.exports=r,r.displayName="json",r.aliases=["webmanifest"];function r(n){n.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},n.languages.webmanifest=n.languages.json}u(r,"json")}),Lh,k3,ZS=T(()=>{Lh=Ce(JS()),k3=Lh.default}),_3=G((e,t)=>{t.exports=r,r.displayName="jsx",r.aliases=[];function r(n){(function(a){var o=a.util.clone(a.languages.javascript),i=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,s=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,c=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function d(p,h){return p=p.replace(//g,function(){return i}).replace(//g,function(){return s}).replace(//g,function(){return c}),RegExp(p,h)}u(d,"re"),c=d(c).source,a.languages.jsx=a.languages.extend("markup",o),a.languages.jsx.tag.pattern=d(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),a.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,a.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,a.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,a.languages.jsx.tag.inside.comment=o.comment,a.languages.insertBefore("inside","attr-name",{spread:{pattern:d(//.source),inside:a.languages.jsx}},a.languages.jsx.tag),a.languages.insertBefore("inside","special-attr",{script:{pattern:d(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:a.languages.jsx}}},a.languages.jsx.tag);var f=u(function(p){return p?typeof p=="string"?p:typeof p.content=="string"?p.content:p.content.map(f).join(""):""},"stringifyToken"),m=u(function(p){for(var h=[],g=0;g0&&h[h.length-1].tagName===f(v.content[0].content[1])&&h.pop():v.content[v.content.length-1].content==="/>"||h.push({tagName:f(v.content[0].content[1]),openedBraces:0}):h.length>0&&v.type==="punctuation"&&v.content==="{"?h[h.length-1].openedBraces++:h.length>0&&h[h.length-1].openedBraces>0&&v.type==="punctuation"&&v.content==="}"?h[h.length-1].openedBraces--:b=!0),(b||typeof v=="string")&&h.length>0&&h[h.length-1].openedBraces===0){var D=f(v);g0&&(typeof p[g-1]=="string"||p[g-1].type==="plain-text")&&(D=f(p[g-1])+D,p.splice(g-1,1),g--),p[g]=new a.Token("plain-text",D,null,D)}v.content&&typeof v.content!="string"&&m(v.content)}},"walkTokens");a.hooks.add("after-tokenize",function(p){p.language!=="jsx"&&p.language!=="tsx"||m(p.tokens)})})(n)}u(r,"jsx")}),Mh,B3,XS=T(()=>{Mh=Ce(_3()),B3=Mh.default}),QS=G((e,t)=>{t.exports=r,r.displayName="markdown",r.aliases=["md"];function r(n){(function(a){var o=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function i(g){return g=g.replace(//g,function(){return o}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+g+")")}u(i,"createInline");var s=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,c=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return s}),d=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;a.languages.markdown=a.languages.extend("markup",{}),a.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:a.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+c+d+"(?:"+c+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+c+d+")(?:"+c+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(s),inside:a.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+c+")"+d+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+c+"$"),inside:{"table-header":{pattern:RegExp(s),alias:"important",inside:a.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:i(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:i(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:i(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:i(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(g){["url","bold","italic","strike","code-snippet"].forEach(function(v){g!==v&&(a.languages.markdown[g].inside.content.inside[v]=a.languages.markdown[v])})}),a.hooks.add("after-tokenize",function(g){if(g.language!=="markdown"&&g.language!=="md")return;function v(b){if(!(!b||typeof b=="string"))for(var D=0,E=b.length;D",quot:'"'},p=String.fromCodePoint||String.fromCharCode;function h(g){var v=g.replace(f,"");return v=v.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(b,D){if(D=D.toLowerCase(),D[0]==="#"){var E;return D[1]==="x"?E=parseInt(D.slice(2),16):E=Number(D.slice(1)),p(E)}else{var C=m[D];return C||b}}),v}u(h,"textContent"),a.languages.md=a.languages.markdown})(n)}u(r,"markdown")}),Oh,R3,eF=T(()=>{Oh=Ce(QS()),R3=Oh.default}),Ph,I3,tF=T(()=>{Ph=Ce(E3()),I3=Ph.default}),T3=G((e,t)=>{t.exports=r,r.displayName="typescript",r.aliases=["ts"];function r(n){(function(a){a.languages.typescript=a.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),a.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete a.languages.typescript.parameter,delete a.languages.typescript["literal-property"];var o=a.languages.extend("typescript",{});delete o["class-name"],a.languages.typescript["class-name"].inside=o,a.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:o}}}}),a.languages.ts=a.languages.typescript})(n)}u(r,"typescript")}),rF=G((e,t)=>{var r=_3(),n=T3();t.exports=a,a.displayName="tsx",a.aliases=[];function a(o){o.register(r),o.register(n),function(i){var s=i.util.clone(i.languages.typescript);i.languages.tsx=i.languages.extend("jsx",s),delete i.languages.tsx.parameter,delete i.languages.tsx["literal-property"];var c=i.languages.tsx.tag;c.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+c.pattern.source+")",c.pattern.flags),c.lookbehind=!0}(o)}u(a,"tsx")}),Nh,z3,nF=T(()=>{Nh=Ce(rF()),z3=Nh.default}),Hh,L3,aF=T(()=>{Hh=Ce(T3()),L3=Hh.default}),oF=G((e,t)=>{t.exports=r,r.displayName="yaml",r.aliases=["yml"];function r(n){(function(a){var o=/[*&][^\s[\]{},]+/,i=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,s="(?:"+i.source+"(?:[ ]+"+o.source+")?|"+o.source+"(?:[ ]+"+i.source+")?)",c=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),d=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function f(m,p){p=(p||"").replace(/m/g,"")+"m";var h=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return s}).replace(/<>/g,function(){return m});return RegExp(h,p)}u(f,"createValuePattern"),a.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return s})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return s}).replace(/<>/g,function(){return"(?:"+c+"|"+d+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:f(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:f(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:f(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:f(d),lookbehind:!0,greedy:!0},number:{pattern:f(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:i,important:o,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},a.languages.yml=a.languages.yaml})(n)}u(r,"yaml")}),$h,M3,iF=T(()=>{$h=Ce(oF()),M3=$h.default}),jh,xu,Fs,O3=T(()=>{jh=k.div(({theme:e})=>({position:"absolute",bottom:0,right:0,maxWidth:"100%",display:"flex",background:e.background.content,zIndex:1})),xu=k.button(({theme:e})=>({margin:0,border:"0 none",padding:"4px 10px",cursor:"pointer",display:"flex",alignItems:"center",color:e.color.defaultText,background:e.background.content,fontSize:12,lineHeight:"16px",fontFamily:e.typography.fonts.base,fontWeight:e.typography.weight.bold,borderTop:`1px solid ${e.appBorderColor}`,borderLeft:`1px solid ${e.appBorderColor}`,marginLeft:-1,borderRadius:"4px 0 0 0","&:not(:last-child)":{borderRight:`1px solid ${e.appBorderColor}`},"& + *":{borderLeft:`1px solid ${e.appBorderColor}`,borderRadius:0},"&:focus":{boxShadow:`${e.color.secondary} 0 -3px 0 0 inset`,outline:"0 none"}}),({disabled:e})=>e&&{cursor:"not-allowed",opacity:.5}),xu.displayName="ActionButton",Fs=u(({actionItems:e,...t})=>y.createElement(jh,{...t},e.map(({title:r,className:n,onClick:a,disabled:o},i)=>y.createElement(xu,{key:i,className:n,onClick:a,disabled:!!o},r))),"ActionBar")});function P3(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function dp(...e){return t=>e.forEach(r=>P3(r,t))}function Le(...e){return l.useCallback(dp(...e),e)}var gn=T(()=>{u(P3,"setRef"),u(dp,"composeRefs"),u(Le,"useComposedRefs")});function Vh(e){return l.isValidElement(e)&&e.type===N3}function Uh(e,t){let r={...t};for(let n in t){let a=e[n],o=t[n];/^on[A-Z]/.test(n)?a&&o?r[n]=(...i)=>{o(...i),a(...i)}:a&&(r[n]=a):n==="style"?r[n]={...a,...o}:n==="className"&&(r[n]=[a,o].filter(Boolean).join(" "))}return{...e,...r}}function qh(e){var n,a;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var Io,_i,N3,pp=T(()=>{gn(),Io=l.forwardRef((e,t)=>{let{children:r,...n}=e,a=l.Children.toArray(r),o=a.find(Vh);if(o){let i=o.props.children,s=a.map(c=>c===o?l.Children.count(i)>1?l.Children.only(null):l.isValidElement(i)?i.props.children:null:c);return N.jsx(_i,{...n,ref:t,children:l.isValidElement(i)?l.cloneElement(i,void 0,s):null})}return N.jsx(_i,{...n,ref:t,children:r})}),Io.displayName="Slot",_i=l.forwardRef((e,t)=>{let{children:r,...n}=e;if(l.isValidElement(r)){let a=qh(r);return l.cloneElement(r,{...Uh(n,r.props),ref:t?dp(t,a):a})}return l.Children.count(r)>1?l.Children.only(null):null}),_i.displayName="SlotClone",N3=u(({children:e})=>N.jsx(N.Fragment,{children:e}),"Slottable"),u(Vh,"isSlottable"),u(Uh,"mergeProps"),u(qh,"getElementRef")});function H3(e,t){e&&O1.flushSync(()=>e.dispatchEvent(t))}var Wh,Me,ei=T(()=>{pp(),Wh=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Me=Wh.reduce((e,t)=>{let r=l.forwardRef((n,a)=>{let{asChild:o,...i}=n,s=o?Io:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),N.jsx(s,{...i,ref:a})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),u(H3,"dispatchDiscreteCustomEvent")}),Fr,ti=T(()=>{Fr=globalThis!=null&&globalThis.document?l.useLayoutEffect:()=>{}});function $3(e,t){return l.useReducer((r,n)=>t[r][n]??r,e)}function Gh(e){let[t,r]=l.useState(),n=l.useRef({}),a=l.useRef(e),o=l.useRef("none"),i=e?"mounted":"unmounted",[s,c]=$3(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return l.useEffect(()=>{let d=oo(n.current);o.current=s==="mounted"?d:"none"},[s]),Fr(()=>{let d=n.current,f=a.current;if(f!==e){let m=o.current,p=oo(d);e?c("MOUNT"):p==="none"||(d==null?void 0:d.display)==="none"?c("UNMOUNT"):c(f&&m!==p?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,c]),Fr(()=>{if(t){let d=u(m=>{let p=oo(n.current).includes(m.animationName);m.target===t&&p&&O1.flushSync(()=>c("ANIMATION_END"))},"handleAnimationEnd"),f=u(m=>{m.target===t&&(o.current=oo(n.current))},"handleAnimationStart");return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:l.useCallback(d=>{d&&(n.current=getComputedStyle(d)),r(d)},[])}}function oo(e){return(e==null?void 0:e.animationName)||"none"}function Kh(e){var n,a;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var Un,lF=T(()=>{"use client";gn(),ti(),u($3,"useStateMachine"),Un=u(e=>{let{present:t,children:r}=e,n=Gh(t),a=typeof r=="function"?r({present:n.isPresent}):l.Children.only(r),o=Le(n.ref,Kh(a));return typeof r=="function"||n.isPresent?l.cloneElement(a,{ref:o}):null},"Presence"),Un.displayName="Presence",u(Gh,"usePresence"),u(oo,"getAnimationName"),u(Kh,"getElementRef")});function j3(e,t=[]){let r=[];function n(o,i){let s=l.createContext(i),c=r.length;r=[...r,i];function d(m){let{scope:p,children:h,...g}=m,v=(p==null?void 0:p[e][c])||s,b=l.useMemo(()=>g,Object.values(g));return N.jsx(v.Provider,{value:b,children:h})}u(d,"Provider");function f(m,p){let h=(p==null?void 0:p[e][c])||s,g=l.useContext(h);if(g)return g;if(i!==void 0)return i;throw new Error(`\`${m}\` must be used within \`${o}\``)}return u(f,"useContext2"),d.displayName=o+"Provider",[d,f]}u(n,"createContext3");let a=u(()=>{let o=r.map(i=>l.createContext(i));return u(function(i){let s=(i==null?void 0:i[e])||o;return l.useMemo(()=>({[`__scope${e}`]:{...i,[e]:s}}),[i,s])},"useScope")},"createScope");return a.scopeName=e,[n,V3(a,...t)]}function V3(...e){let t=e[0];if(e.length===1)return t;let r=u(()=>{let n=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return u(function(a){let o=n.reduce((i,{useScope:s,scopeName:c})=>{let d=s(a)[`__scope${c}`];return{...i,...d}},{});return l.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])},"useComposedScopes")},"createScope");return r.scopeName=t.scopeName,r}var sF=T(()=>{u(j3,"createContextScope"),u(V3,"composeContextScopes")});function Oe(e){let t=l.useRef(e);return l.useEffect(()=>{t.current=e}),l.useMemo(()=>(...r)=>{var n;return(n=t.current)==null?void 0:n.call(t,...r)},[])}var ri=T(()=>{u(Oe,"useCallbackRef")});function U3(e){let t=l.useContext(q3);return e||t||"ltr"}var q3,uF=T(()=>{q3=l.createContext(void 0),u(U3,"useDirection")});function W3(e,[t,r]){return Math.min(r,Math.max(t,e))}var cF=T(()=>{u(W3,"clamp")});function Be(e,t,{checkForDefaultPrevented:r=!0}={}){return u(function(n){if(e==null||e(n),r===!1||!n.defaultPrevented)return t==null?void 0:t(n)},"handleEvent")}var fp=T(()=>{u(Be,"composeEventHandlers")});function Yh(e,t){return l.useReducer((r,n)=>t[r][n]??r,e)}function Ha(e){return e?parseInt(e,10):0}function rd(e,t){let r=e/t;return isNaN(r)?0:r}function Eo(e){let t=rd(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,n=(e.scrollbar.size-r)*t;return Math.max(n,18)}function Jh(e,t,r,n="ltr"){let a=Eo(r),o=a/2,i=t||o,s=a-i,c=r.scrollbar.paddingStart+i,d=r.scrollbar.size-r.scrollbar.paddingEnd-s,f=r.content-r.viewport,m=n==="ltr"?[0,f]:[f*-1,0];return hp([c,d],m)(e)}function Su(e,t,r="ltr"){let n=Eo(t),a=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,o=t.scrollbar.size-a,i=t.content-t.viewport,s=o-n,c=r==="ltr"?[0,i]:[i*-1,0],d=W3(e,c);return hp([0,i],[0,s])(d)}function hp(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let n=(t[1]-t[0])/(e[1]-e[0]);return t[0]+n*(r-e[0])}}function Fu(e,t){return e>0&&e()=>window.clearTimeout(n.current),[]),l.useCallback(()=>{window.clearTimeout(n.current),n.current=window.setTimeout(r,t)},[r,t])}function $r(e,t){let r=Oe(t);Fr(()=>{let n=0;if(e){let a=new ResizeObserver(()=>{cancelAnimationFrame(n),n=window.requestAnimationFrame(r)});return a.observe(e),()=>{window.cancelAnimationFrame(n),a.unobserve(e)}}},[e,r])}function Zh(e,t){let{asChild:r,children:n}=e;if(!r)return typeof t=="function"?t(n):t;let a=l.Children.only(n);return l.cloneElement(a,{children:typeof t=="function"?t(a.props.children):t})}var Bi,Au,dF,Xh,Ge,ku,_u,Bu,st,Ru,Qh,em,Iu,Ri,tm,rm,nm,Tu,zu,ja,Lu,am,Ii,Mu,om,im,G3,K3,Y3,J3,Z3,pF=T(()=>{"use client";ei(),lF(),sF(),gn(),ri(),uF(),ti(),cF(),fp(),u(Yh,"useStateMachine"),Bi="ScrollArea",[Au,dF]=j3(Bi),[Xh,Ge]=Au(Bi),ku=l.forwardRef((e,t)=>{let{__scopeScrollArea:r,type:n="hover",dir:a,scrollHideDelay:o=600,...i}=e,[s,c]=l.useState(null),[d,f]=l.useState(null),[m,p]=l.useState(null),[h,g]=l.useState(null),[v,b]=l.useState(null),[D,E]=l.useState(0),[C,w]=l.useState(0),[x,S]=l.useState(!1),[F,A]=l.useState(!1),_=Le(t,I=>c(I)),R=U3(a);return N.jsx(Xh,{scope:r,type:n,dir:R,scrollHideDelay:o,scrollArea:s,viewport:d,onViewportChange:f,content:m,onContentChange:p,scrollbarX:h,onScrollbarXChange:g,scrollbarXEnabled:x,onScrollbarXEnabledChange:S,scrollbarY:v,onScrollbarYChange:b,scrollbarYEnabled:F,onScrollbarYEnabledChange:A,onCornerWidthChange:E,onCornerHeightChange:w,children:N.jsx(Me.div,{dir:R,...i,ref:_,style:{position:"relative","--radix-scroll-area-corner-width":D+"px","--radix-scroll-area-corner-height":C+"px",...e.style}})})}),ku.displayName=Bi,_u="ScrollAreaViewport",Bu=l.forwardRef((e,t)=>{let{__scopeScrollArea:r,children:n,asChild:a,nonce:o,...i}=e,s=Ge(_u,r),c=l.useRef(null),d=Le(t,c,s.onViewportChange);return N.jsxs(N.Fragment,{children:[N.jsx("style",{dangerouslySetInnerHTML:{__html:` +[data-radix-scroll-area-viewport] { + scrollbar-width: none; + -ms-overflow-style: none; + -webkit-overflow-scrolling: touch; +} +[data-radix-scroll-area-viewport]::-webkit-scrollbar { + display: none; +} +:where([data-radix-scroll-area-viewport]) { + display: flex; + flex-direction: column; + align-items: stretch; +} +:where([data-radix-scroll-area-content]) { + flex-grow: 1; +} +`},nonce:o}),N.jsx(Me.div,{"data-radix-scroll-area-viewport":"",...i,asChild:a,ref:d,style:{overflowX:s.scrollbarXEnabled?"scroll":"hidden",overflowY:s.scrollbarYEnabled?"scroll":"hidden",...e.style},children:Zh({asChild:a,children:n},f=>N.jsx("div",{"data-radix-scroll-area-content":"",ref:s.onContentChange,style:{minWidth:s.scrollbarXEnabled?"fit-content":void 0},children:f}))})]})}),Bu.displayName=_u,st="ScrollAreaScrollbar",Ru=l.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=Ge(st,e.__scopeScrollArea),{onScrollbarXEnabledChange:o,onScrollbarYEnabledChange:i}=a,s=e.orientation==="horizontal";return l.useEffect(()=>(s?o(!0):i(!0),()=>{s?o(!1):i(!1)}),[s,o,i]),a.type==="hover"?N.jsx(Qh,{...n,ref:t,forceMount:r}):a.type==="scroll"?N.jsx(em,{...n,ref:t,forceMount:r}):a.type==="auto"?N.jsx(Iu,{...n,ref:t,forceMount:r}):a.type==="always"?N.jsx(Ri,{...n,ref:t}):null}),Ru.displayName=st,Qh=l.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=Ge(st,e.__scopeScrollArea),[o,i]=l.useState(!1);return l.useEffect(()=>{let s=a.scrollArea,c=0;if(s){let d=u(()=>{window.clearTimeout(c),i(!0)},"handlePointerEnter"),f=u(()=>{c=window.setTimeout(()=>i(!1),a.scrollHideDelay)},"handlePointerLeave");return s.addEventListener("pointerenter",d),s.addEventListener("pointerleave",f),()=>{window.clearTimeout(c),s.removeEventListener("pointerenter",d),s.removeEventListener("pointerleave",f)}}},[a.scrollArea,a.scrollHideDelay]),N.jsx(Un,{present:r||o,children:N.jsx(Iu,{"data-state":o?"visible":"hidden",...n,ref:t})})}),em=l.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=Ge(st,e.__scopeScrollArea),o=e.orientation==="horizontal",i=$a(()=>c("SCROLL_END"),100),[s,c]=Yh("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return l.useEffect(()=>{if(s==="idle"){let d=window.setTimeout(()=>c("HIDE"),a.scrollHideDelay);return()=>window.clearTimeout(d)}},[s,a.scrollHideDelay,c]),l.useEffect(()=>{let d=a.viewport,f=o?"scrollLeft":"scrollTop";if(d){let m=d[f],p=u(()=>{let h=d[f];m!==h&&(c("SCROLL"),i()),m=h},"handleScroll");return d.addEventListener("scroll",p),()=>d.removeEventListener("scroll",p)}},[a.viewport,o,c,i]),N.jsx(Un,{present:r||s!=="hidden",children:N.jsx(Ri,{"data-state":s==="hidden"?"hidden":"visible",...n,ref:t,onPointerEnter:Be(e.onPointerEnter,()=>c("POINTER_ENTER")),onPointerLeave:Be(e.onPointerLeave,()=>c("POINTER_LEAVE"))})})}),Iu=l.forwardRef((e,t)=>{let r=Ge(st,e.__scopeScrollArea),{forceMount:n,...a}=e,[o,i]=l.useState(!1),s=e.orientation==="horizontal",c=$a(()=>{if(r.viewport){let d=r.viewport.offsetWidth{let{orientation:r="vertical",...n}=e,a=Ge(st,e.__scopeScrollArea),o=l.useRef(null),i=l.useRef(0),[s,c]=l.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),d=rd(s.viewport,s.content),f={...n,sizes:s,onSizesChange:c,hasThumb:d>0&&d<1,onThumbChange:u(p=>o.current=p,"onThumbChange"),onThumbPointerUp:u(()=>i.current=0,"onThumbPointerUp"),onThumbPointerDown:u(p=>i.current=p,"onThumbPointerDown")};function m(p,h){return Jh(p,i.current,s,h)}return u(m,"getScrollPosition"),r==="horizontal"?N.jsx(tm,{...f,ref:t,onThumbPositionChange:u(()=>{if(a.viewport&&o.current){let p=a.viewport.scrollLeft,h=Su(p,s,a.dir);o.current.style.transform=`translate3d(${h}px, 0, 0)`}},"onThumbPositionChange"),onWheelScroll:u(p=>{a.viewport&&(a.viewport.scrollLeft=p)},"onWheelScroll"),onDragScroll:u(p=>{a.viewport&&(a.viewport.scrollLeft=m(p,a.dir))},"onDragScroll")}):r==="vertical"?N.jsx(rm,{...f,ref:t,onThumbPositionChange:u(()=>{if(a.viewport&&o.current){let p=a.viewport.scrollTop,h=Su(p,s);o.current.style.transform=`translate3d(0, ${h}px, 0)`}},"onThumbPositionChange"),onWheelScroll:u(p=>{a.viewport&&(a.viewport.scrollTop=p)},"onWheelScroll"),onDragScroll:u(p=>{a.viewport&&(a.viewport.scrollTop=m(p))},"onDragScroll")}):null}),tm=l.forwardRef((e,t)=>{let{sizes:r,onSizesChange:n,...a}=e,o=Ge(st,e.__scopeScrollArea),[i,s]=l.useState(),c=l.useRef(null),d=Le(t,c,o.onScrollbarXChange);return l.useEffect(()=>{c.current&&s(getComputedStyle(c.current))},[c]),N.jsx(zu,{"data-orientation":"horizontal",...a,ref:d,sizes:r,style:{bottom:0,left:o.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:o.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":Eo(r)+"px",...e.style},onThumbPointerDown:u(f=>e.onThumbPointerDown(f.x),"onThumbPointerDown"),onDragScroll:u(f=>e.onDragScroll(f.x),"onDragScroll"),onWheelScroll:u((f,m)=>{if(o.viewport){let p=o.viewport.scrollLeft+f.deltaX;e.onWheelScroll(p),Fu(p,m)&&f.preventDefault()}},"onWheelScroll"),onResize:u(()=>{c.current&&o.viewport&&i&&n({content:o.viewport.scrollWidth,viewport:o.viewport.offsetWidth,scrollbar:{size:c.current.clientWidth,paddingStart:Ha(i.paddingLeft),paddingEnd:Ha(i.paddingRight)}})},"onResize")})}),rm=l.forwardRef((e,t)=>{let{sizes:r,onSizesChange:n,...a}=e,o=Ge(st,e.__scopeScrollArea),[i,s]=l.useState(),c=l.useRef(null),d=Le(t,c,o.onScrollbarYChange);return l.useEffect(()=>{c.current&&s(getComputedStyle(c.current))},[c]),N.jsx(zu,{"data-orientation":"vertical",...a,ref:d,sizes:r,style:{top:0,right:o.dir==="ltr"?0:void 0,left:o.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":Eo(r)+"px",...e.style},onThumbPointerDown:u(f=>e.onThumbPointerDown(f.y),"onThumbPointerDown"),onDragScroll:u(f=>e.onDragScroll(f.y),"onDragScroll"),onWheelScroll:u((f,m)=>{if(o.viewport){let p=o.viewport.scrollTop+f.deltaY;e.onWheelScroll(p),Fu(p,m)&&f.preventDefault()}},"onWheelScroll"),onResize:u(()=>{c.current&&o.viewport&&i&&n({content:o.viewport.scrollHeight,viewport:o.viewport.offsetHeight,scrollbar:{size:c.current.clientHeight,paddingStart:Ha(i.paddingTop),paddingEnd:Ha(i.paddingBottom)}})},"onResize")})}),[nm,Tu]=Au(st),zu=l.forwardRef((e,t)=>{let{__scopeScrollArea:r,sizes:n,hasThumb:a,onThumbChange:o,onThumbPointerUp:i,onThumbPointerDown:s,onThumbPositionChange:c,onDragScroll:d,onWheelScroll:f,onResize:m,...p}=e,h=Ge(st,r),[g,v]=l.useState(null),b=Le(t,_=>v(_)),D=l.useRef(null),E=l.useRef(""),C=h.viewport,w=n.content-n.viewport,x=Oe(f),S=Oe(c),F=$a(m,10);function A(_){if(D.current){let R=_.clientX-D.current.left,I=_.clientY-D.current.top;d({x:R,y:I})}}return u(A,"handleDragScroll"),l.useEffect(()=>{let _=u(R=>{let I=R.target;g!=null&&g.contains(I)&&x(R,w)},"handleWheel");return document.addEventListener("wheel",_,{passive:!1}),()=>document.removeEventListener("wheel",_,{passive:!1})},[C,g,w,x]),l.useEffect(S,[n,S]),$r(g,F),$r(h.content,F),N.jsx(nm,{scope:r,scrollbar:g,hasThumb:a,onThumbChange:Oe(o),onThumbPointerUp:Oe(i),onThumbPositionChange:S,onThumbPointerDown:Oe(s),children:N.jsx(Me.div,{...p,ref:b,style:{position:"absolute",...p.style},onPointerDown:Be(e.onPointerDown,_=>{_.button===0&&(_.target.setPointerCapture(_.pointerId),D.current=g.getBoundingClientRect(),E.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",h.viewport&&(h.viewport.style.scrollBehavior="auto"),A(_))}),onPointerMove:Be(e.onPointerMove,A),onPointerUp:Be(e.onPointerUp,_=>{let R=_.target;R.hasPointerCapture(_.pointerId)&&R.releasePointerCapture(_.pointerId),document.body.style.webkitUserSelect=E.current,h.viewport&&(h.viewport.style.scrollBehavior=""),D.current=null})})})}),ja="ScrollAreaThumb",Lu=l.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=Tu(ja,e.__scopeScrollArea);return N.jsx(Un,{present:r||a.hasThumb,children:N.jsx(am,{ref:t,...n})})}),am=l.forwardRef((e,t)=>{let{__scopeScrollArea:r,style:n,...a}=e,o=Ge(ja,r),i=Tu(ja,r),{onThumbPositionChange:s}=i,c=Le(t,m=>i.onThumbChange(m)),d=l.useRef(),f=$a(()=>{d.current&&(d.current(),d.current=void 0)},100);return l.useEffect(()=>{let m=o.viewport;if(m){let p=u(()=>{if(f(),!d.current){let h=im(m,s);d.current=h,s()}},"handleScroll");return s(),m.addEventListener("scroll",p),()=>m.removeEventListener("scroll",p)}},[o.viewport,f,s]),N.jsx(Me.div,{"data-state":i.hasThumb?"visible":"hidden",...a,ref:c,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...n},onPointerDownCapture:Be(e.onPointerDownCapture,m=>{let p=m.target.getBoundingClientRect(),h=m.clientX-p.left,g=m.clientY-p.top;i.onThumbPointerDown({x:h,y:g})}),onPointerUp:Be(e.onPointerUp,i.onThumbPointerUp)})}),Lu.displayName=ja,Ii="ScrollAreaCorner",Mu=l.forwardRef((e,t)=>{let r=Ge(Ii,e.__scopeScrollArea),n=!!(r.scrollbarX&&r.scrollbarY);return r.type!=="scroll"&&n?N.jsx(om,{...e,ref:t}):null}),Mu.displayName=Ii,om=l.forwardRef((e,t)=>{let{__scopeScrollArea:r,...n}=e,a=Ge(Ii,r),[o,i]=l.useState(0),[s,c]=l.useState(0),d=!!(o&&s);return $r(a.scrollbarX,()=>{var m;let f=((m=a.scrollbarX)==null?void 0:m.offsetHeight)||0;a.onCornerHeightChange(f),c(f)}),$r(a.scrollbarY,()=>{var m;let f=((m=a.scrollbarY)==null?void 0:m.offsetWidth)||0;a.onCornerWidthChange(f),i(f)}),d?N.jsx(Me.div,{...n,ref:t,style:{width:o,height:s,position:"absolute",right:a.dir==="ltr"?0:void 0,left:a.dir==="rtl"?0:void 0,bottom:0,...e.style}}):null}),u(Ha,"toInt"),u(rd,"getThumbRatio"),u(Eo,"getThumbSize"),u(Jh,"getScrollPositionFromPointer"),u(Su,"getThumbOffsetFromScroll"),u(hp,"linearScale"),u(Fu,"isScrollingWithinScrollbarBounds"),im=u((e,t=()=>{})=>{let r={left:e.scrollLeft,top:e.scrollTop},n=0;return u(function a(){let o={left:e.scrollLeft,top:e.scrollTop},i=r.left!==o.left,s=r.top!==o.top;(i||s)&&t(),r=o,n=window.requestAnimationFrame(a)},"loop")(),()=>window.cancelAnimationFrame(n)},"addUnlinkedScrollListener"),u($a,"useDebounceCallback"),u($r,"useResizeObserver"),u(Zh,"getSubtree"),G3=ku,K3=Bu,Y3=Ru,J3=Lu,Z3=Mu}),lm,sm,Ou,Pu,To,mp=T(()=>{pF(),lm=k(G3)(({scrollbarsize:e,offset:t})=>({width:"100%",height:"100%",overflow:"hidden","--scrollbar-size":`${e+t}px`,"--radix-scroll-area-thumb-width":`${e}px`})),sm=k(K3)({width:"100%",height:"100%"}),Ou=k(Y3)(({offset:e,horizontal:t,vertical:r})=>({display:"flex",userSelect:"none",touchAction:"none",background:"transparent",transition:"all 0.2s ease-out",borderRadius:"var(--scrollbar-size)",zIndex:1,'&[data-orientation="vertical"]':{width:"var(--scrollbar-size)",paddingRight:e,marginTop:e,marginBottom:t==="true"&&r==="true"?0:e},'&[data-orientation="horizontal"]':{flexDirection:"column",height:"var(--scrollbar-size)",paddingBottom:e,marginLeft:e,marginRight:t==="true"&&r==="true"?0:e}})),Pu=k(J3)(({theme:e})=>({flex:1,background:e.textMutedColor,opacity:.5,borderRadius:"var(--scrollbar-size)",position:"relative",transition:"opacity 0.2s ease-out","&:hover":{opacity:.8},"::before":{content:'""',position:"absolute",top:"50%",left:"50%",transform:"translate(-50%,-50%)",width:"100%",height:"100%"}})),To=l.forwardRef(({children:e,horizontal:t=!1,vertical:r=!1,offset:n=2,scrollbarSize:a=6,className:o},i)=>y.createElement(lm,{scrollbarsize:a,offset:n,className:o},y.createElement(sm,{ref:i},e),t&&y.createElement(Ou,{orientation:"horizontal",offset:n,horizontal:t.toString(),vertical:r.toString()},y.createElement(Pu,null)),r&&y.createElement(Ou,{orientation:"vertical",offset:n,horizontal:t.toString(),vertical:r.toString()},y.createElement(Pu,null)),t&&r&&y.createElement(Z3,null))),To.displayName="ScrollArea"}),gp={};Sa(gp,{SyntaxHighlighter:()=>Co,createCopyToClipboardFunction:()=>Tl,default:()=>X3,supportedLanguages:()=>nd});const{logger:fF}=__STORYBOOK_MODULE_CLIENT_LOGGER__;function Tl(){return io!=null&&io.clipboard?e=>io.clipboard.writeText(e):async e=>{let t=Pn.createElement("TEXTAREA"),r=Pn.activeElement;t.value=e,Pn.body.appendChild(t),t.select(),Pn.execCommand("copy"),Pn.body.removeChild(t),r.focus()}}var um,io,Pn,cm,nd,dm,pm,fm,hm,mm,gm,vm,Nu,ym,bm,Co,X3,As=T(()=>{rp(),um=Ce(Cs(),1),jS(),US(),qS(),GS(),YS(),ZS(),XS(),eF(),tF(),nF(),aF(),iF(),$S(),O3(),mp(),{navigator:io,document:Pn,window:cm}=Es,nd={jsextra:A3,jsx:B3,json:k3,yml:M3,md:R3,bash:x3,css:S3,html:I3,tsx:z3,typescript:L3,graphql:F3},Object.entries(nd).forEach(([e,t])=>{ol.registerLanguage(e,t)}),dm=(0,um.default)(2)(e=>Object.entries(e.code||{}).reduce((t,[r,n])=>({...t,[`* .${r}`]:n}),{})),pm=Tl(),u(Tl,"createCopyToClipboardFunction"),fm=k.div(({theme:e})=>({position:"relative",overflow:"hidden",color:e.color.defaultText}),({theme:e,bordered:t})=>t?{border:`1px solid ${e.appBorderColor}`,borderRadius:e.borderRadius,background:e.background.content}:{},({showLineNumbers:e})=>e?{".react-syntax-highlighter-line-number::before":{content:"attr(data-line-number)"}}:{}),hm=u(({children:e,className:t})=>y.createElement(To,{horizontal:!0,vertical:!0,className:t},e),"UnstyledScroller"),mm=k(hm)({position:"relative"},({theme:e})=>dm(e)),gm=k.pre(({theme:e,padded:t})=>({display:"flex",justifyContent:"flex-start",margin:0,padding:t?e.layoutMargin:0})),vm=k.div(({theme:e})=>({flex:1,paddingLeft:2,paddingRight:e.layoutMargin,opacity:1,fontFamily:e.typography.fonts.mono})),Nu=u(e=>{let t=[...e.children],r=t[0],n=r.children[0].value,a={...r,children:[],properties:{...r.properties,"data-line-number":n,style:{...r.properties.style,userSelect:"auto"}}};return t[0]=a,{...e,children:t}},"processLineNumber"),ym=u(({rows:e,stylesheet:t,useInlineStyles:r})=>e.map((n,a)=>Ss({node:Nu(n),stylesheet:t,useInlineStyles:r,key:`code-segement${a}`})),"defaultRenderer"),bm=u((e,t)=>t?e?({rows:r,...n})=>e({rows:r.map(a=>Nu(a)),...n}):ym:e,"wrapRenderer"),Co=u(({children:e,language:t="jsx",copyable:r=!1,bordered:n=!1,padded:a=!1,format:o=!0,formatter:i=void 0,className:s=void 0,showLineNumbers:c=!1,...d})=>{if(typeof e!="string"||!e.trim())return null;let[f,m]=l.useState("");l.useEffect(()=>{i?i(o,e).then(m):m(e.trim())},[e,o,i]);let[p,h]=l.useState(!1),g=l.useCallback(b=>{b.preventDefault(),pm(f).then(()=>{h(!0),cm.setTimeout(()=>h(!1),1500)}).catch(fF.error)},[f]),v=bm(d.renderer,c);return y.createElement(fm,{bordered:n,padded:a,showLineNumbers:c,className:s},y.createElement(mm,null,y.createElement(ol,{padded:a||n,language:t,showLineNumbers:c,showInlineLineNumbers:c,useInlineStyles:!1,PreTag:gm,CodeTag:vm,lineNumberContainerStyle:{},...d,renderer:v},f)),r?y.createElement(Fs,{actionItems:[{title:p?"Copied":"Copy",onClick:g}]}):null)},"SyntaxHighlighter"),Co.registerLanguage=(...e)=>ol.registerLanguage(...e),X3=Co});function wm(e){if(typeof e=="string")return Ls;if(Array.isArray(e))return Ms;if(!e)return;let{type:t}=e;if(Pp.has(t))return t}function Dm(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}', +Expected it to be 'string' or 'object'.`;if(Os(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=i7([...Pp].map(a=>`'${a}'`));return`Unexpected doc.type '${e.type}'. +Expected it to be ${n}.`}function xt(e){return Br(e),{type:Mo,contents:e}}function vp(e,t){return Br(t),{type:Oo,contents:t,n:e}}function pe(e,t={}){return Br(e),Ps(t.expandedStates,!0),{type:ma,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function Q3(e){return vp(Number.NEGATIVE_INFINITY,e)}function eb(e){return vp({type:"root"},e)}function yp(e){return Ps(e),{type:Po,parts:e}}function zo(e,t="",r={}){return Br(e),t!==""&&Br(t),{type:No,breakContents:e,flatContents:t,groupId:r.groupId}}function tb(e,t){return Br(e),{type:Ho,contents:e,groupId:t.groupId,negate:t.negate}}function vn(e,t){Br(e),Ps(t);let r=[];for(let n=0;nt===""))return"";break;case ma:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===ma&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case Oo:case Mo:case Ho:case Hl:if(!e.contents)return"";break;case No:if(!e.flatContents&&!e.breakContents)return"";break;case Ms:{let t=[];for(let r of e){if(!r)continue;let[n,...a]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof ga(!1,t,-1)=="string"?t[t.length-1]+=n:t.push(n),t.push(...a)}return t.length===0?"":t.length===1?t[0]:t}case Ls:case Pl:case Nl:case $l:case wr:case jl:case Fo:break;default:throw new Np(e)}return e}function nb(e){return ks(e,t=>rb(t))}function et(e,t=l7){return ks(e,r=>typeof r=="string"?vn(t,r.split(` +`)):r)}function Em(e,t){let r=t===!0||t===po?po:dd,n=r===po?dd:po,a=0,o=0;for(let i of e)i===r?a++:i===n&&o++;return a>o?n:r}function Cm(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function xm(e){return(e==null?void 0:e.type)==="front-matter"}function Hu(e,t){var r;if(e.type==="text"||e.type==="comment"||ci(e)||e.type==="yaml"||e.type==="toml")return null;if(e.type==="attribute"&&delete t.value,e.type==="docType"&&delete t.value,e.type==="angularControlFlowBlock"&&(r=e.parameters)!=null&&r.children)for(let n of t.parameters.children)c7.has(e.name)?delete n.expression:n.expression=n.expression.trim();e.type==="angularIcuExpression"&&(t.switchValue=e.switchValue.trim()),e.type==="angularLetDeclarationInitializer"&&delete t.value}async function Sm(e,t){if(e.language==="yaml"){let r=e.value.trim(),n=r?await t(r,{parser:"yaml"}):"";return eb([e.startDelimiter,e.explicitLanguage,ae,n,n?ae:"",e.endDelimiter])}}function ni(e,t=!0){return[xt([Ee,e]),t?Ee:""]}function yn(e,t){let r=e.type==="NGRoot"?e.node.type==="NGMicrosyntax"&&e.node.body.length===1&&e.node.body[0].type==="NGMicrosyntaxExpression"?e.node.body[0].expression:e.node:e.type==="JsExpressionRoot"?e.node:e;return r&&(r.type==="ObjectExpression"||r.type==="ArrayExpression"||(t.parser==="__vue_expression"||t.parser==="__vue_ts_expression")&&(r.type==="TemplateLiteral"||r.type==="StringLiteral"))}async function tt(e,t,r,n){r={__isInHtmlAttribute:!0,__embeddedInHtml:!0,...r};let a=!0;n&&(r.__onHtmlBindingRoot=(i,s)=>{a=n(i,s)});let o=await t(e,r,t);return a?pe(o):ni(o)}function Fm(e,t,r,n){let{node:a}=r,o=n.originalText.slice(a.sourceSpan.start.offset,a.sourceSpan.end.offset);return/^\s*$/u.test(o)?"":tt(o,e,{parser:"__ng_directive",__isInHtmlAttribute:!1},yn)}function ad(e,t){if(!t)return;let r=f7(t).toLowerCase();return e.find(({filenames:n})=>n==null?void 0:n.some(a=>a.toLowerCase()===r))??e.find(({extensions:n})=>n==null?void 0:n.some(a=>r.endsWith(a)))}function ab(e,t){if(t)return e.find(({name:r})=>r.toLowerCase()===t)??e.find(({aliases:r})=>r==null?void 0:r.includes(t))??e.find(({extensions:r})=>r==null?void 0:r.includes(`.${t}`))}function Am(e,t){let r=e.plugins.flatMap(a=>a.languages??[]),n=ab(r,t.language)??ad(r,t.physicalFile)??ad(r,t.file)??(t.physicalFile,void 0);return n==null?void 0:n.parsers[0]}function km(e){return e.type==="element"&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}function bp(e,t){return!!(e.type==="ieConditionalComment"&&e.lastChild&&!e.lastChild.isSelfClosing&&!e.lastChild.endSourceSpan||e.type==="ieConditionalComment"&&!e.complete||sn(e)&&e.children.some(r=>r.type!=="text"&&r.type!=="interpolation")||Bs(e,t)&&!Wt(e)&&e.type!=="interpolation")}function ai(e){return e.type==="attribute"||!e.parent||!e.prev?!1:ob(e.prev)}function ob(e){return e.type==="comment"&&e.value.trim()==="prettier-ignore"}function Ye(e){return e.type==="text"||e.type==="comment"}function Wt(e){return e.type==="element"&&(e.fullName==="script"||e.fullName==="style"||e.fullName==="svg:style"||e.fullName==="svg:script"||va(e)&&(e.name==="script"||e.name==="style"))}function ib(e){return e.children&&!Wt(e)}function lb(e){return Wt(e)||e.type==="interpolation"||wp(e)}function wp(e){return Ap(e).startsWith("pre")}function sb(e,t){var r,n;let a=o();if(a&&!e.prev&&(n=(r=e.parent)==null?void 0:r.tagDefinition)!=null&&n.ignoreFirstLf)return e.type==="interpolation";return a;function o(){return ci(e)||e.type==="angularControlFlowBlock"?!1:(e.type==="text"||e.type==="interpolation")&&e.prev&&(e.prev.type==="text"||e.prev.type==="interpolation")?!0:!e.parent||e.parent.cssDisplay==="none"?!1:sn(e.parent)?!0:!(!e.prev&&(e.parent.type==="root"||sn(e)&&e.parent||Wt(e.parent)||oi(e.parent,t)||!vb(e.parent.cssDisplay))||e.prev&&!wb(e.prev.cssDisplay))}}function ub(e,t){return ci(e)||e.type==="angularControlFlowBlock"?!1:(e.type==="text"||e.type==="interpolation")&&e.next&&(e.next.type==="text"||e.next.type==="interpolation")?!0:!e.parent||e.parent.cssDisplay==="none"?!1:sn(e.parent)?!0:!(!e.next&&(e.parent.type==="root"||sn(e)&&e.parent||Wt(e.parent)||oi(e.parent,t)||!yb(e.parent.cssDisplay))||e.next&&!bb(e.next.cssDisplay))}function cb(e){return Db(e.cssDisplay)&&!Wt(e)}function lo(e){return ci(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+10&&(["body","script","style"].includes(e.name)||e.children.some(t=>fb(t)))||e.firstChild&&e.firstChild===e.lastChild&&e.firstChild.type!=="text"&&Cp(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||xp(e.lastChild))}function Dp(e){return e.type==="element"&&e.children.length>0&&(["html","head","ul","ol","select"].includes(e.name)||e.cssDisplay.startsWith("table")&&e.cssDisplay!=="table-cell")}function il(e){return Sp(e)||e.prev&&pb(e.prev)||Ep(e)}function pb(e){return Sp(e)||e.type==="element"&&e.fullName==="br"||Ep(e)}function Ep(e){return Cp(e)&&xp(e)}function Cp(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.linee.sourceSpan.end.line:e.parent.type==="root"||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function Sp(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function _s(e){return e.lastChild?_s(e.lastChild):e}function fb(e){var t;return(t=e.children)==null?void 0:t.some(r=>r.type!=="text")}function Fp(e){if(e)switch(e){case"module":case"text/javascript":case"text/babel":case"application/javascript":return"babel";case"application/x-typescript":return"typescript";case"text/markdown":return"markdown";case"text/html":return"html";case"text/x-handlebars-template":return"glimmer";default:if(e.endsWith("json")||e.endsWith("importmap")||e==="speculationrules")return"json"}}function hb(e,t){let{name:r,attrMap:n}=e;if(r!=="script"||Object.prototype.hasOwnProperty.call(n,"src"))return;let{type:a,lang:o}=e.attrMap;return!o&&!a?"babel":di(t,{language:o})??Fp(a)}function mb(e,t){if(!Bs(e,t))return;let{attrMap:r}=e;if(Object.prototype.hasOwnProperty.call(r,"src"))return;let{type:n,lang:a}=r;return di(t,{language:a})??Fp(n)}function gb(e,t){if(e.name!=="style")return;let{lang:r}=e.attrMap;return r?di(t,{language:r}):"css"}function od(e,t){return hb(e,t)??gb(e,t)??mb(e,t)}function Fa(e){return e==="block"||e==="list-item"||e.startsWith("table")}function vb(e){return!Fa(e)&&e!=="inline-block"}function yb(e){return!Fa(e)&&e!=="inline-block"}function bb(e){return!Fa(e)}function wb(e){return!Fa(e)}function Db(e){return!Fa(e)&&e!=="inline-block"}function sn(e){return Ap(e).startsWith("pre")}function Eb(e,t){let r=e;for(;r;){if(t(r))return!0;r=r.parent}return!1}function Cb(e,t){var r;if(bn(e,t))return"block";if(((r=e.prev)==null?void 0:r.type)==="comment"){let a=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/u);if(a)return a[1]}let n=!1;if(e.type==="element"&&e.namespace==="svg")if(Eb(e,a=>a.fullName==="svg:foreignObject"))n=!0;else return e.name==="svg"?"inline-block":"block";switch(t.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return e.type==="element"&&(!e.namespace||n||va(e))&&m7[e.name]||h7}}function Ap(e){return e.type==="element"&&(!e.namespace||va(e))&&v7[e.name]||g7}function xb(e){let t=Number.POSITIVE_INFINITY;for(let r of e.split(` +`)){if(r.length===0)continue;let n=ht.getLeadingWhitespaceCount(r);if(n===0)return 0;r.length!==n&&nr.slice(t)).join(` +`)}function _p(e){return je(!1,je(!1,e,"'","'"),""",'"')}function dr(e){return _p(e.value)}function oi(e,t){return bn(e,t)&&!b7.has(e.fullName)}function bn(e,t){return t.parser==="vue"&&e.type==="element"&&e.parent.type==="root"&&e.fullName.toLowerCase()!=="html"}function Bs(e,t){return bn(e,t)&&(oi(e,t)||e.attrMap.lang&&e.attrMap.lang!=="html")}function Sb(e){let t=e.fullName;return t.charAt(0)==="#"||t==="slot-scope"||t==="v-slot"||t.startsWith("v-slot:")}function Fb(e,t){let r=e.parent;if(!bn(r,t))return!1;let n=r.fullName,a=e.fullName;return n==="script"&&a==="setup"||n==="style"&&a==="vars"}function Bp(e,t=e.value){return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?et(t):et(kp(Hp(t)),ae):vn(ve,ht.split(t))}function Rp(e,t){return bn(e,t)&&e.name==="script"}async function Ab(e,t){let r=[];for(let[n,a]of e.split($p).entries())if(n%2===0)r.push(et(a));else try{r.push(pe(["{{",xt([ve,await tt(a,t,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),ve,"}}"]))}catch{r.push("{{",et(a),"}}")}return r}function Ti({parser:e}){return(t,r,n)=>tt(dr(n.node),t,{parser:e},yn)}function _m(e,t){if(t.parser!=="angular")return;let{node:r}=e,n=r.fullName;if(n.startsWith("(")&&n.endsWith(")")||n.startsWith("on-"))return w7;if(n.startsWith("[")&&n.endsWith("]")||/^bind(?:on)?-/u.test(n)||/^ng-(?:if|show|hide|class|style)$/u.test(n))return D7;if(n.startsWith("*"))return E7;let a=dr(r);if(/^i18n(?:-.+)?$/u.test(n))return()=>ni(yp(Bp(r,a.trim())),!a.includes("@@"));if($p.test(a))return o=>Ab(a,o)}function Bm(e,t){let{node:r}=e,n=dr(r);if(r.fullName==="class"&&!t.parentParser&&!n.includes("{{"))return()=>n.trim().split(/\s+/u).join(" ")}function id(e){return e===" "||e===` +`||e==="\f"||e==="\r"||e===" "}function Rm(e){let t=e.length,r,n,a,o,i,s=0,c;function d(h){let g,v=h.exec(e.substring(s));if(v)return[g]=v,s+=g.length,g}u(d,"p");let f=[];for(;;){if(d(F7),s>=t){if(f.length===0)throw new Error("Must contain one or more image candidate strings.");return f}c=s,r=d(A7),n=[],r.slice(-1)===","?(r=r.replace(k7,""),p()):m()}function m(){for(d(S7),a="",o="in descriptor";;){if(i=e.charAt(s),o==="in descriptor")if(id(i))a&&(n.push(a),a="",o="after descriptor");else if(i===","){s+=1,a&&n.push(a),p();return}else if(i==="(")a+=i,o="in parens";else if(i===""){a&&n.push(a),p();return}else a+=i;else if(o==="in parens")if(i===")")a+=i,o="in descriptor";else if(i===""){n.push(a),p();return}else a+=i;else if(o==="after descriptor"&&!id(i))if(i===""){p();return}else o="in descriptor",s-=1;s+=1}}u(m,"f");function p(){let h=!1,g,v,b,D,E={},C,w,x,S,F;for(D=0;Dkb(dr(e.node))}function kb(e){let t=B7(e),r=R7.filter(f=>t.some(m=>Object.prototype.hasOwnProperty.call(m,f)));if(r.length>1)throw new Error("Mixed descriptor in srcset is not supported");let[n]=r,a=fd[n],o=t.map(f=>f.source.value),i=Math.max(...o.map(f=>f.length)),s=t.map(f=>f[n]?String(f[n].value):""),c=s.map(f=>{let m=f.indexOf(".");return m===-1?f.length:m}),d=Math.max(...c);return ni(vn([",",ve],o.map((f,m)=>{let p=[f],h=s[m];if(h){let g=i-f.length+1,v=d-c[m],b=" ".repeat(g+v);p.push(zo(b," "),h+a)}return p})))}function _b(e,t){let{node:r}=e,n=dr(e.node).trim();if(r.fullName==="style"&&!t.parentParser&&!n.includes("{{"))return async a=>ni(await a(n,{parser:"css",__isHTMLStyleAttribute:!0}))}function Tm(e,t){let{root:r}=e;return ll.has(r)||ll.set(r,r.children.some(n=>Rp(n,t)&&["ts","typescript"].includes(n.attrMap.lang))),ll.get(r)}function Bb(e,t,r){let{node:n}=r,a=dr(n);return tt(`type T<${a}> = any`,e,{parser:"babel-ts",__isEmbeddedTypescriptGenericParameters:!0},yn)}function Rb(e,t,{parseWithTs:r}){return tt(`function _(${e}) {}`,t,{parser:r?"babel-ts":"babel",__isVueBindings:!0})}function Ib(e){let t=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/u,r=/^[$_a-z][\w$]*(?:\.[$_a-z][\w$]*|\['[^']*'\]|\["[^"]*"\]|\[\d+\]|\[[$_a-z][\w$]*\])*$/iu,n=e.trim();return t.test(n)||r.test(n)}async function Tb(e,t,r,n){let a=dr(r.node),{left:o,operator:i,right:s}=zb(a),c=Ns(r,n);return[pe(await tt(`function _(${o}) {}`,e,{parser:c?"babel-ts":"babel",__isVueForBindingLeft:!0}))," ",i," ",await tt(s,e,{parser:c?"__ts_expression":"__js_expression"})]}function zb(e){let t=/(.*?)\s+(in|of)\s+(.*)/su,r=/,([^,\]}]*)(?:,([^,\]}]*))?$/u,n=/^\(|\)$/gu,a=e.match(t);if(!a)return;let o={};if(o.for=a[3].trim(),!o.for)return;let i=je(!1,a[1].trim(),n,""),s=i.match(r);s?(o.alias=i.replace(r,""),o.iterator1=s[1].trim(),s[2]&&(o.iterator2=s[2].trim())):o.alias=i;let c=[o.alias,o.iterator1,o.iterator2];if(!c.some((d,f)=>!d&&(f===0||c.slice(f+1).some(Boolean))))return{left:c.filter(Boolean).join(","),operator:a[2],right:o.for}}function zm(e,t){if(t.parser!=="vue")return;let{node:r}=e,n=r.fullName;if(n==="v-for")return Tb;if(n==="generic"&&Rp(r.parent,t))return Bb;let a=dr(r),o=Ns(e,t);if(Sb(r)||Fb(r,t))return i=>Rb(a,i,{parseWithTs:o});if(n.startsWith("@")||n.startsWith("v-on:"))return i=>Lb(a,i,{parseWithTs:o});if(n.startsWith(":")||n.startsWith("v-bind:"))return i=>Mb(a,i,{parseWithTs:o});if(n.startsWith("v-"))return i=>Ip(a,i,{parseWithTs:o})}function Lb(e,t,{parseWithTs:r}){return Ib(e)?Ip(e,t,{parseWithTs:r}):tt(e,t,{parser:r?"__vue_ts_event_binding":"__vue_event_binding"},yn)}function Mb(e,t,{parseWithTs:r}){return tt(e,t,{parser:r?"__vue_ts_expression":"__vue_expression"},yn)}function Ip(e,t,{parseWithTs:r}){return tt(e,t,{parser:r?"__ts_expression":"__js_expression"},yn)}function Lm(e,t){let{node:r}=e;if(r.value){if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/u.test(t.originalText.slice(r.valueSpan.start.offset,r.valueSpan.end.offset))||t.parser==="lwc"&&r.value.startsWith("{")&&r.value.endsWith("}"))return[r.rawName,"=",r.value];for(let n of[I7,_b,x7,T7,C7]){let a=n(e,t);if(a)return Ob(a)}}}function Ob(e){return async(t,r,n,a)=>{let o=await e(t,r,n,a);if(o)return o=ks(o,i=>typeof i=="string"?je(!1,i,'"',"""):i),[n.node.rawName,'="',pe(o),'"']}}function Mm(e){return Array.isArray(e)&&e.length>0}function ii(e){return e.sourceSpan.start.offset}function li(e){return e.sourceSpan.end.offset}function zl(e,t){return[e.isSelfClosing?"":Pb(e,t),Wn(e,t)]}function Pb(e,t){return e.lastChild&&ha(e.lastChild)?"":[Nb(e,t),Rs(e,t)]}function Wn(e,t){return(e.next?kr(e.next):ka(e.parent))?"":[Aa(e,t),Ar(e,t)]}function Nb(e,t){return ka(e)?Aa(e.lastChild,t):""}function Ar(e,t){return ha(e)?Rs(e.parent,t):si(e)?Is(e.next):""}function Rs(e,t){if(jp(!e.isSelfClosing),Tp(e,t))return"";switch(e.type){case"ieConditionalComment":return"";case"ieConditionalStartComment":return"]>";case"interpolation":return"}}";case"angularIcuExpression":return"}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function Tp(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(ai(e)||bp(e.parent,t))}function kr(e){return e.prev&&e.prev.type!=="docType"&&e.type!=="angularControlFlowBlock"&&!Ye(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function ka(e){var t;return((t=e.lastChild)==null?void 0:t.isTrailingSpaceSensitive)&&!e.lastChild.hasTrailingSpaces&&!Ye(_s(e.lastChild))&&!sn(e)}function ha(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&Ye(_s(e))}function si(e){return e.next&&!Ye(e.next)&&Ye(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function Hb(e){let t=e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/su);return t?t[1]?t[1].split(/\s+/u):!0:!1}function ui(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function $b(e,t,r){var n;let{node:a}=e;if(!Hs(a.attrs))return a.isSelfClosing?" ":"";let o=((n=a.prev)==null?void 0:n.type)==="comment"&&Hb(a.prev.value),i=typeof o=="boolean"?()=>o:Array.isArray(o)?m=>o.includes(m.rawName):()=>!1,s=e.map(({node:m})=>i(m)?et(t.originalText.slice(ii(m),li(m))):r(),"attrs"),c=a.type==="element"&&a.fullName==="script"&&a.attrs.length===1&&a.attrs[0].fullName==="src"&&a.children.length===0,d=t.singleAttributePerLine&&a.attrs.length>1&&!bn(a,t)?ae:ve,f=[xt([c?" ":ve,vn(d,s)])];return a.firstChild&&ui(a.firstChild)||a.isSelfClosing&&ka(a.parent)||c?f.push(a.isSelfClosing?" ":""):f.push(t.bracketSameLine?a.isSelfClosing?" ":"":a.isSelfClosing?ve:Ee),f}function jb(e){return e.firstChild&&ui(e.firstChild)?"":Ts(e)}function Ll(e,t,r){let{node:n}=e;return[Gn(n,t),$b(e,t,r),n.isSelfClosing?"":jb(n)]}function Gn(e,t){return e.prev&&si(e.prev)?"":[_r(e,t),Is(e)]}function _r(e,t){return ui(e)?Ts(e.parent):kr(e)?Aa(e.prev,t):""}function Is(e){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return`<${e.rawName}`;default:return`<${e.rawName}`}}function Ts(e){switch(jp(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">";default:return">"}}function Om(e,t){if(!e.endSourceSpan)return"";let r=e.startSourceSpan.end.offset;e.firstChild&&ui(e.firstChild)&&(r-=Ts(e).length);let n=e.endSourceSpan.start.offset;return e.lastChild&&ha(e.lastChild)?n+=Rs(e,t).length:ka(e)&&(n-=Aa(e.lastChild,t).length),t.originalText.slice(r,n)}function Pm(e,t){let{node:r}=e;switch(r.type){case"element":if(Wt(r)||r.type==="interpolation")return;if(!r.isSelfClosing&&Bs(r,t)){let n=od(r,t);return n?async(a,o)=>{let i=Vp(r,t),s=/^\s*$/u.test(i),c="";return s||(c=await a(Hp(i),{parser:n,__embeddedInHtml:!0}),s=c===""),[_r(r,t),pe(Ll(e,t,o)),s?"":ae,c,s?"":ae,zl(r,t),Ar(r,t)]}:void 0}break;case"text":if(Wt(r.parent)){let n=od(r.parent,t);if(n)return async a=>{let o=n==="markdown"?kp(r.value.replace(/^[^\S\n]*\n/u,"")):r.value,i={parser:n,__embeddedInHtml:!0};if(t.parser==="html"&&n==="babel"){let s="script",{attrMap:c}=r.parent;c&&(c.type==="module"||c.type==="text/babel"&&c["data-type"]==="module")&&(s="module"),i.__babelSourceType=s}return[Yn,_r(r,t),await a(o,i),Ar(r,t)]}}else if(r.parent.type==="interpolation")return async n=>{let a={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return t.parser==="angular"?a.parser="__ng_interpolation":t.parser==="vue"?a.parser=Ns(e,t)?"__vue_ts_expression":"__vue_expression":a.parser="__js_expression",[xt([ve,await n(r.value,a)]),r.parent.next&&kr(r.parent.next)?" ":ve]};break;case"attribute":return z7(e,t);case"front-matter":return n=>d7(r,n);case"angularControlFlowBlockParameters":return L7.has(e.parent.name)?p7:void 0;case"angularLetDeclarationInitializer":return n=>tt(r.value,n,{parser:"__ng_binding",__isInHtmlAttribute:!1})}}function Kn(e){if(Hn!==null&&typeof Hn.property){let t=Hn;return Hn=Kn.prototype=null,t}return Hn=Kn.prototype=e??Object.create(null),new Kn}function Vb(e){return Kn(e)}function Nm(e,t="type"){Vb(e);function r(n){let a=n[t],o=e[a];if(!Array.isArray(o))throw Object.assign(new Error(`Missing visitor keys for '${a}'.`),{node:n});return o}return u(r,"r"),r}function Ub(e){return/^\s*/u.test(e)}function Hm(e){return` + +`+e}function zp(e){let t=li(e);return e.type==="element"&&!e.endSourceSpan&&Hs(e.children)?Math.max(t,zp(ga(!1,e.children,-1))):t}function Nn(e,t,r){let n=e.node;if(ai(n)){let a=zp(n);return[_r(n,t),et(ht.trimEnd(t.originalText.slice(ii(n)+(n.prev&&si(n.prev)?Is(n).length:0),a-(n.next&&kr(n.next)?Aa(n,t).length:0)))),Ar(n,t)]}return r()}function so(e,t){return Ye(e)&&Ye(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?il(t)?ae:ve:"":il(t)?ae:Ee:si(e)&&(ai(t)||t.firstChild||t.isSelfClosing||t.type==="element"&&t.attrs.length>0)||e.type==="element"&&e.isSelfClosing&&kr(t)?"":!t.isLeadingSpaceSensitive||il(t)||kr(t)&&e.lastChild&&ha(e.lastChild)&&e.lastChild.lastChild&&ha(e.lastChild.lastChild)?ae:t.hasLeadingSpaces?ve:Ee}function zs(e,t,r){let{node:n}=e;if(Dp(n))return[Yn,...e.map(o=>{let i=o.node,s=i.prev?so(i.prev,i):"";return[s?[s,lo(i.prev)?ae:""]:"",Nn(o,t,r)]},"children")];let a=n.children.map(()=>Symbol(""));return e.map((o,i)=>{let s=o.node;if(Ye(s)){if(s.prev&&Ye(s.prev)){let g=so(s.prev,s);if(g)return lo(s.prev)?[ae,ae,Nn(o,t,r)]:[g,Nn(o,t,r)]}return Nn(o,t,r)}let c=[],d=[],f=[],m=[],p=s.prev?so(s.prev,s):"",h=s.next?so(s,s.next):"";return p&&(lo(s.prev)?c.push(ae,ae):p===ae?c.push(ae):Ye(s.prev)?d.push(p):d.push(zo("",Ee,{groupId:a[i-1]}))),h&&(lo(s)?Ye(s.next)&&m.push(ae,ae):h===ae?Ye(s.next)&&m.push(ae):f.push(h)),[...c,pe([...d,pe([Nn(o,t,r),...f],{id:a[i]})]),...m]},"children")}function qb(e,t,r){let{node:n}=e,a=[];Wb(e)&&a.push("} "),a.push("@",n.name),n.parameters&&a.push(" (",pe(r("parameters")),")"),a.push(" {");let o=Lp(n);return n.children.length>0?(n.firstChild.hasLeadingSpaces=!0,n.lastChild.hasTrailingSpaces=!0,a.push(xt([ae,zs(e,t,r)])),o&&a.push(ae,"}")):o&&a.push("}"),pe(a,{shouldBreak:!0})}function Lp(e){var t,r;return!(((t=e.next)==null?void 0:t.type)==="angularControlFlowBlock"&&(r=M7.get(e.name))!=null&&r.has(e.next.name))}function Wb(e){let{previous:t}=e;return(t==null?void 0:t.type)==="angularControlFlowBlock"&&!ai(t)&&!Lp(t)}function Gb(e,t,r){return[xt([Ee,vn([";",ve],e.map(r,"children"))]),Ee]}function Kb(e,t,r){let{node:n}=e;return[Gn(n,t),pe([n.switchValue.trim(),", ",n.clause,n.cases.length>0?[",",xt([ve,vn(ve,e.map(r,"cases"))])]:"",Ee]),Wn(n,t)]}function Yb(e,t,r){let{node:n}=e;return[n.value," {",pe([xt([Ee,e.map(({node:a})=>a.type==="text"&&!ht.trim(a.value)?"":r(),"expression")]),Ee]),"}"]}function Jb(e,t,r){let{node:n}=e;if(bp(n,t))return[_r(n,t),pe(Ll(e,t,r)),et(Vp(n,t)),...zl(n,t),Ar(n,t)];let a=n.children.length===1&&(n.firstChild.type==="interpolation"||n.firstChild.type==="angularIcuExpression")&&n.firstChild.isLeadingSpaceSensitive&&!n.firstChild.hasLeadingSpaces&&n.lastChild.isTrailingSpaceSensitive&&!n.lastChild.hasTrailingSpaces,o=Symbol("element-attr-group-id"),i=u(f=>pe([pe(Ll(e,t,r),{id:o}),f,zl(n,t)]),"a"),s=u(f=>a?tb(f,{groupId:o}):(Wt(n)||oi(n,t))&&n.parent.type==="root"&&t.parser==="vue"&&!t.vueIndentScriptAndStyle?f:xt(f),"o"),c=u(()=>a?zo(Ee,"",{groupId:o}):n.firstChild.hasLeadingSpaces&&n.firstChild.isLeadingSpaceSensitive?ve:n.firstChild.type==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive?Q3(Ee):Ee,"u"),d=u(()=>(n.next?kr(n.next):ka(n.parent))?n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?" ":"":a?zo(Ee,"",{groupId:o}):n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?ve:(n.lastChild.type==="comment"||n.lastChild.type==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${t.tabWidth*(e.ancestors.length-1)}}$`,"u").test(n.lastChild.value)?"":Ee,"p");return n.children.length===0?i(n.hasDanglingSpaces&&n.isDanglingSpaceSensitive?ve:""):i([db(n)?Yn:"",s([c(),zs(e,t,r)]),d()])}function xo(e){return e>=9&&e<=32||e==160}function Ml(e){return 48<=e&&e<=57}function So(e){return e>=97&&e<=122||e>=65&&e<=90}function Zb(e){return e>=97&&e<=102||e>=65&&e<=70||Ml(e)}function zi(e){return e===10||e===13}function $u(e){return 48<=e&&e<=55}function Li(e){return e===39||e===34||e===96}function $m(e){return e.replace(O7,(...t)=>t[1].toUpperCase())}function jm(e,t){for(let r of P7)r(e,t);return e}function Vm(e){e.walk(t=>{if(t.type==="element"&&t.tagDefinition.ignoreFirstLf&&t.children.length>0&&t.children[0].type==="text"&&t.children[0].value[0]===` +`){let r=t.children[0];r.value.length===1?t.removeChild(r):r.value=r.value.slice(1)}})}function Um(e){let t=u(r=>{var n,a;return r.type==="element"&&((n=r.prev)==null?void 0:n.type)==="ieConditionalStartComment"&&r.prev.sourceSpan.end.offset===r.startSourceSpan.start.offset&&((a=r.firstChild)==null?void 0:a.type)==="ieConditionalEndComment"&&r.firstChild.sourceSpan.start.offset===r.startSourceSpan.end.offset},"e");e.walk(r=>{if(r.children)for(let n=0;n{if(n.children)for(let a=0;at.type==="cdata",t=>``)}function Wm(e){let t=u(r=>{var n,a;return r.type==="element"&&r.attrs.length===0&&r.children.length===1&&r.firstChild.type==="text"&&!ht.hasWhitespaceCharacter(r.children[0].value)&&!r.firstChild.hasLeadingSpaces&&!r.firstChild.hasTrailingSpaces&&r.isLeadingSpaceSensitive&&!r.hasLeadingSpaces&&r.isTrailingSpaceSensitive&&!r.hasTrailingSpaces&&((n=r.prev)==null?void 0:n.type)==="text"&&((a=r.next)==null?void 0:a.type)==="text"},"e");e.walk(r=>{if(r.children)for(let n=0;n`+a.firstChild.value+``+i.value,o.sourceSpan=new J(o.sourceSpan.start,i.sourceSpan.end),o.isTrailingSpaceSensitive=i.isTrailingSpaceSensitive,o.hasTrailingSpaces=i.hasTrailingSpaces,r.removeChild(a),n--,r.removeChild(i)}})}function Gm(e,t){if(t.parser==="html")return;let r=/\{\{(.+?)\}\}/su;e.walk(n=>{if(ib(n))for(let a of n.children){if(a.type!=="text")continue;let o=a.sourceSpan.start,i=null,s=a.value.split(r);for(let c=0;c0&&n.insertChildBefore(a,{type:"text",value:d,sourceSpan:new J(o,i)});continue}i=o.moveBy(d.length+4),n.insertChildBefore(a,{type:"interpolation",sourceSpan:new J(o,i),children:d.length===0?[]:[{type:"text",value:d,sourceSpan:new J(o.moveBy(2),i.moveBy(-2))}]})}n.removeChild(a)}})}function Km(e){e.walk(t=>{if(!t.children)return;if(t.children.length===0||t.children.length===1&&t.children[0].type==="text"&&ht.trim(t.children[0].value).length===0){t.hasDanglingSpaces=t.children.length>0,t.children=[];return}let r=lb(t),n=wp(t);if(!r)for(let a=0;a{t.isSelfClosing=!t.children||t.type==="element"&&(t.tagDefinition.isVoid||t.endSourceSpan&&t.startSourceSpan.start===t.endSourceSpan.start&&t.startSourceSpan.end===t.endSourceSpan.end)})}function Jm(e,t){e.walk(r=>{r.type==="element"&&(r.hasHtmComponentClosingTag=r.endSourceSpan&&/^<\s*\/\s*\/\s*>$/u.test(t.originalText.slice(r.endSourceSpan.start.offset,r.endSourceSpan.end.offset)))})}function Zm(e,t){e.walk(r=>{r.cssDisplay=Cb(r,t)})}function Xm(e,t){e.walk(r=>{let{children:n}=r;if(n){if(n.length===0){r.isDanglingSpaceSensitive=cb(r);return}for(let a of n)a.isLeadingSpaceSensitive=sb(a,t),a.isTrailingSpaceSensitive=ub(a,t);for(let a=0;a{!qa[t]&&uo(t)===null&&(qa[t]=new K({canSelfClose:!1}))})),qa[e]??t5}function ld(e,t,r=null){let n=[],a=e.visit?o=>e.visit(o,r)||o.visit(e,r):o=>o.visit(e,r);return t.forEach(o=>{let i=a(o);i&&n.push(i)}),n}function tg(e,t){if(t!=null&&!(Array.isArray(t)&&t.length==2))throw new Error(`Expected '${e}' to be an array, [start, end].`);if(t!=null){let r=t[0],n=t[1];$7.forEach(a=>{if(a.test(r)||a.test(n))throw new Error(`['${r}', '${n}'] contains unusable interpolation symbol.`)})}}function rg(e,t,r,n={}){let a=new V7(new Up(e,t),r,n);return a.tokenize(),new j7(Qb(a.tokens),a.errors,a.nonNormalizedIcuExpressions)}function jr(e){return`Unexpected character "${e===0?"EOF":String.fromCharCode(e)}"`}function qu(e){return`Unknown entity "${e}" - use the "&#;" or "&#x;" syntax`}function ng(e,t){return`Unable to parse entity "${t}" - ${e} character reference entities must end with ";"`}function ue(e){return!xo(e)||e===0}function Wu(e){return xo(e)||e===62||e===60||e===47||e===39||e===34||e===61||e===0}function ag(e){return(e<97||12257)}function og(e){return e===59||e===0||!Zb(e)}function ig(e){return e===59||e===0||!So(e)}function lg(e){return e!==125}function sg(e,t){return sd(e)===sd(t)}function sd(e){return e>=97&&e<=122?e-97+65:e}function Gu(e){return So(e)||Ml(e)||e===95}function Ku(e){return e!==59&&ue(e)}function Qb(e){let t=[],r;for(let n=0;n0&&e[e.length-1]===t}function Ju(e,t){return Ao[t]!==void 0?Ao[t]||e:/^#x[a-f0-9]+$/i.test(t)?String.fromCodePoint(parseInt(t.slice(2),16)):/^#\d+$/.test(t)?String.fromCodePoint(parseInt(t.slice(1),10)):e}function ud(e,t={}){let{canSelfClose:r=!1,allowHtmComponentClosingTags:n=!1,isTagNameCaseSensitive:a=!1,getTagContentType:o,tokenizeAngularBlocks:i=!1,tokenizeAngularLetDeclaration:s=!1}=t;return U7().parse(e,"angular-html-parser",{tokenizeExpansionForms:i,interpolationConfig:void 0,canSelfClose:r,allowHtmComponentClosingTags:n,tokenizeBlocks:i,tokenizeLet:s},a,o)}function ug(e,t){let r=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(r,t)}function e7(e){let t=e.slice(0,$n);if(t!=="---"&&t!=="+++")return;let r=e.indexOf(` +`,$n);if(r===-1)return;let n=e.slice($n,r).trim(),a=e.indexOf(` +${t}`,r),o=n;if(o||(o=t==="+++"?"toml":"yaml"),a===-1&&t==="---"&&o==="yaml"&&(a=e.indexOf(` +...`,r)),a===-1)return;let i=a+1+$n,s=e.charAt(i+1);if(!/\s?/u.test(s))return;let c=e.slice(0,i);return{type:"front-matter",language:o,explicitLanguage:n,value:e.slice(r+1,a),startDelimiter:t,endDelimiter:c.slice(-$n),raw:c}}function cg(e){let t=e7(e);if(!t)return{content:e};let{raw:r}=t;return{frontMatter:t,content:je(!1,r,/[^\n]/gu," ")+e.slice(r.length)}}function dg(e,t){let r=e.map(t);return r.some((n,a)=>n!==e[a])?r:e}function t7(e,t){if(e.value)for(let{regex:r,parse:n}of K7){let a=e.value.match(r);if(a)return n(e,t,a)}return null}function pg(e,t,r){let[,n,a,o]=r,i=4+n.length,s=e.sourceSpan.start.moveBy(i),c=s.moveBy(o.length),[d,f]=(()=>{try{return[!0,t(o,s).children]}catch{return[!1,[{type:"text",value:o,sourceSpan:new J(s,c)}]]}})();return{type:"ieConditionalComment",complete:d,children:f,condition:je(!1,a.trim(),/\s+/gu," "),sourceSpan:e.sourceSpan,startSourceSpan:new J(e.sourceSpan.start,s),endSourceSpan:new J(c,e.sourceSpan.end)}}function fg(e,t,r){let[,n]=r;return{type:"ieConditionalStartComment",condition:je(!1,n.trim(),/\s+/gu," "),sourceSpan:e.sourceSpan}}function hg(e){return{type:"ieConditionalEndComment",sourceSpan:e.sourceSpan}}function r7(e){if(e.type==="block"){if(e.name=je(!1,e.name.toLowerCase(),/\s+/gu," ").trim(),e.type="angularControlFlowBlock",!Hs(e.parameters)){delete e.parameters;return}for(let t of e.parameters)t.type="angularControlFlowBlockParameter";e.parameters={type:"angularControlFlowBlockParameters",children:e.parameters,sourceSpan:new J(e.parameters[0].sourceSpan.start,ga(!1,e.parameters,-1).sourceSpan.end)}}}function n7(e){e.type==="letDeclaration"&&(e.type="angularLetDeclaration",e.id=e.name,e.init={type:"angularLetDeclarationInitializer",sourceSpan:new J(e.valueSpan.start,e.valueSpan.end),value:e.value},delete e.name,delete e.value)}function a7(e){(e.type==="plural"||e.type==="select")&&(e.clause=e.type,e.type="angularIcuExpression"),e.type==="expansionCase"&&(e.type="angularIcuCase")}function Mp(e,t,r){let{name:n,canSelfClose:a=!0,normalizeTagName:o=!1,normalizeAttributeName:i=!1,allowHtmComponentClosingTags:s=!1,isTagNameCaseSensitive:c=!1,shouldParseAsRawText:d}=t,{rootNodes:f,errors:m}=ud(e,{canSelfClose:a,allowHtmComponentClosingTags:s,isTagNameCaseSensitive:c,getTagContentType:d?(...E)=>d(...E)?ft.RAW_TEXT:void 0:void 0,tokenizeAngularBlocks:n==="angular"?!0:void 0,tokenizeAngularLetDeclaration:n==="angular"?!0:void 0});if(n==="vue"){if(f.some(x=>x.type==="docType"&&x.value==="html"||x.type==="element"&&x.name.toLowerCase()==="html"))return Mp(e,hd,r);let E,C=u(()=>E??(E=ud(e,{canSelfClose:a,allowHtmComponentClosingTags:s,isTagNameCaseSensitive:c})),"y"),w=u(x=>C().rootNodes.find(({startSourceSpan:S})=>S&&S.start.offset===x.startSourceSpan.start.offset)??x,"M");for(let[x,S]of f.entries()){let{endSourceSpan:F,startSourceSpan:A}=S;if(F===null)m=C().errors,f[x]=w(S);else if(o7(S,r)){let _=C().errors.find(R=>R.span.start.offset>A.start.offset&&R.span.start.offset0&&cd(m[0]);let p=u(E=>{let C=E.name.startsWith(":")?E.name.slice(1).split(":")[0]:null,w=E.nameSpan.toString(),x=C!==null&&w.startsWith(`${C}:`),S=x?w.slice(C.length+1):w;E.name=S,E.namespace=C,E.hasExplicitNamespace=x},"d"),h=u(E=>{switch(E.type){case"element":p(E);for(let C of E.attrs)p(C),C.valueSpan?(C.value=C.valueSpan.toString(),/["']/u.test(C.value[0])&&(C.value=C.value.slice(1,-1))):C.value=null;break;case"comment":E.value=E.sourceSpan.toString().slice(4,-3);break;case"text":E.value=E.sourceSpan.toString();break}},"C"),g=u((E,C)=>{let w=E.toLowerCase();return C(w)?w:E},"A"),v=u(E=>{if(E.type==="element"&&(o&&(!E.namespace||E.namespace===E.tagDefinition.implicitNamespacePrefix||va(E))&&(E.name=g(E.name,C=>Y7.has(C))),i))for(let C of E.attrs)C.namespace||(C.name=g(C.name,w=>ul.has(E.name)&&(ul.get("*").has(w)||ul.get(E.name).has(w))))},"D"),b=u(E=>{E.sourceSpan&&E.endSourceSpan&&(E.sourceSpan=new J(E.sourceSpan.start,E.endSourceSpan.end))},"R"),D=u(E=>{if(E.type==="element"){let C=Ol(c?E.name:E.name.toLowerCase());!E.namespace||E.namespace===C.implicitNamespacePrefix||va(E)?E.tagDefinition=C:E.tagDefinition=Ol("")}},"F");return ld(new class extends H7{visitExpansionCase(E,C){n==="angular"&&this.visitChildren(C,w=>{w(E.expression)})}visit(E){h(E),D(E),v(E),b(E)}},f),f}function o7(e,t){var r;if(e.type!=="element"||e.name!=="template")return!1;let n=(r=e.attrs.find(a=>a.name==="lang"))==null?void 0:r.value;return!n||di(t,{language:n})==="html"}function cd(e){let{msg:t,span:{start:r,end:n}}=e;throw q7(t,{loc:{start:{line:r.line+1,column:r.col+1},end:{line:n.line+1,column:n.col+1}},cause:e})}function Op(e,t,r={},n=!0){let{frontMatter:a,content:o}=n?W7(e):{frontMatter:null,content:e},i=new Up(e,r.filepath),s=new Vl(i,0,0,0),c=s.moveBy(e.length),d={type:"root",sourceSpan:new J(s,c),children:Mp(o,t,r)};if(a){let p=new Vl(i,0,0,0),h=p.moveBy(a.raw.length);a.sourceSpan=new J(p,h),d.children.unshift(a)}let f=new G7(d),m=u((p,h)=>{let{offset:g}=h,v=je(!1,e.slice(0,g),/[^\n\r]/gu," "),b=Op(v+p,t,r,!1);b.sourceSpan=new J(h,ga(!1,b.children,-1).sourceSpan.end);let D=b.children[0];return D.length===g?b.children.shift():(D.sourceSpan=new J(D.sourceSpan.start.moveBy(g),D.sourceSpan.end),D.value=D.value.slice(g)),b},"f");return f.walk(p=>{if(p.type==="comment"){let h=t7(p,m);h&&p.parent.replaceChild(p,h)}r7(p),n7(p),a7(p)}),f}function Ua(e){return{parse:u((t,r)=>Op(t,e,r),"parse"),hasPragma:Ub,astFormat:"html",locStart:ii,locEnd:li}}var mg,Zu,Xu,Qu,tr,gg,vg,ec,yg,je,Ls,Ms,Pl,Mo,Oo,Nl,ma,Po,No,Ho,Hl,$l,wr,jl,Fo,Pp,Os,i7,tc,bg,Np,rc,Br,Ps,Yn,wg,Dg,ve,Ee,ae,l7,Eg,ga,po,dd,s7,ut,nc,Cg,xg,Sg,Fg,ht,ac,Ag,u7,ci,kg,c7,_g,d7,p7,f7,di,h7,m7,g7,v7,va,Bg,Hp,y7,b7,$p,w7,D7,E7,C7,x7,S7,F7,A7,k7,pd,_7,B7,fd,R7,I7,ll,Ns,T7,z7,oc,jp,Hs,Vp,L7,Rg,Hn,Ig,Tg,zg,Lg,Mg,Og,M7,O7,Mi,Vl,ic,Up,lc,J,Oi,sc,uc,P7,Pg,Ng,Hg,$g,cc,dc,jg,Vg,pc,Ug,qg,Wg,fc,hc,Qr,Gg,ft,sl,mc,Kg,Yg,Jg,Zg,Xg,Qg,gc,e5,vc,N7,yc,K,t5,qa,bc,Vr,wc,r5,Dc,n5,Ec,a5,Cc,o5,xc,i5,Sc,rr,Fc,l5,Ac,s5,kc,Ur,_c,Bc,Rc,Ic,Tc,H7,Ao,u5,$7,Pi,c5,zc,Lc,Ni,Mc,j7,d5,Hi,Oc,$i,Pc,V7,Wa,Nc,Ga,p5,Hc,ji,Vi,Fe,$c,f5,jc,h5,Ui,m5,Vc,g5,qi,U7,q7,$n,W7,Ka,Uc,qr,G7,K7,ul,Y7,hd,v5,y5,b5,w5,D5,J7,hF=T(()=>{mg=Object.defineProperty,Zu=u(e=>{throw TypeError(e)},"Xr"),Xu=u((e,t)=>{for(var r in t)mg(e,r,{get:t[r],enumerable:!0})},"Jr"),Qu=u((e,t,r)=>t.has(e)||Zu("Cannot "+r),"Zr"),tr=u((e,t,r)=>(Qu(e,t,"read from private field"),r?r.call(e):t.get(e)),"Q"),gg=u((e,t,r)=>t.has(e)?Zu("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),"en"),vg=u((e,t,r,n)=>(Qu(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),"tn"),ec={},Xu(ec,{languages:u(()=>$g,"languages"),options:u(()=>Vg,"options"),parsers:u(()=>pc,"parsers"),printers:u(()=>D5,"printers")}),yg=u((e,t,r,n)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(r,n):r.global?t.replace(r,n):t.split(r).join(n)},"si"),je=yg,Ls="string",Ms="array",Pl="cursor",Mo="indent",Oo="align",Nl="trim",ma="group",Po="fill",No="if-break",Ho="indent-if-break",Hl="line-suffix",$l="line-suffix-boundary",wr="line",jl="label",Fo="break-parent",Pp=new Set([Pl,Mo,Oo,Nl,ma,Po,No,Ho,Hl,$l,wr,jl,Fo]),u(wm,"ii"),Os=wm,i7=u(e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e),"ai"),u(Dm,"oi"),bg=(tc=class extends Error{constructor(t){super(Dm(t));_n(this,"name","InvalidDocError");this.doc=t}},u(tc,"lr"),tc),Np=bg,rc=u(()=>{},"rn"),Br=rc,Ps=rc,u(xt,"k"),u(vp,"nn"),u(pe,"_"),u(Q3,"sn"),u(eb,"an"),u(yp,"At"),u(zo,"ge"),u(tb,"on"),Yn={type:Fo},wg={type:wr,hard:!0},Dg={type:wr,hard:!0,literal:!0},ve={type:wr},Ee={type:wr,soft:!0},ae=[wg,Yn],l7=[Dg,Yn],u(vn,"q"),Eg=u((e,t,r)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},"ci"),ga=Eg,u(ks,"Dt"),u(rb,"pi"),u(nb,"ln"),u(et,"B"),po="'",dd='"',u(Em,"hi"),s7=Em,u(Cm,"cr"),Cg=(nc=class{constructor(e){gg(this,ut),vg(this,ut,new Set(e))}getLeadingWhitespaceCount(e){let t=tr(this,ut),r=0;for(let n=0;n=0&&t.has(e.charAt(n));n--)r++;return r}getLeadingWhitespace(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(0,t)}getTrailingWhitespace(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(e.length-t)}hasLeadingWhitespace(e){return tr(this,ut).has(e.charAt(0))}hasTrailingWhitespace(e){return tr(this,ut).has(ga(!1,e,-1))}trimStart(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(t)}trimEnd(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(0,e.length-t)}trim(e){return this.trimEnd(this.trimStart(e))}split(e,t=!1){let r=`[${Cm([...tr(this,ut)].join(""))}]+`,n=new RegExp(t?`(${r})`:r,"u");return e.split(n)}hasWhitespaceCharacter(e){let t=tr(this,ut);return Array.prototype.some.call(e,r=>t.has(r))}hasNonWhitespaceCharacter(e){let t=tr(this,ut);return Array.prototype.some.call(e,r=>!t.has(r))}isWhitespaceOnly(e){let t=tr(this,ut);return Array.prototype.every.call(e,r=>t.has(r))}},u(nc,"pr"),nc),ut=new WeakMap,xg=Cg,Sg=[" ",` +`,"\f","\r"," "],Fg=new xg(Sg),ht=Fg,Ag=(ac=class extends Error{constructor(t,r,n="type"){super(`Unexpected ${r} node ${n}: ${JSON.stringify(t[n])}.`);_n(this,"name","UnexpectedNodeError");this.node=t}},u(ac,"hr"),ac),u7=Ag,u(xm,"di"),ci=xm,kg=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan","keySpan","tagDefinition","tokens","valueTokens","switchValueSourceSpan","expSourceSpan","valueSourceSpan"]),c7=new Set(["if","else if","for","switch","case"]),u(Hu,"fn"),Hu.ignoredProperties=kg,_g=Hu,u(Sm,"Si"),d7=Sm,u(ni,"Ce"),u(yn,"j"),u(tt,"T"),u(Fm,"_i"),p7=Fm,f7=u(e=>String(e).split(/[/\\]/u).pop(),"Ei"),u(ad,"Sn"),u(ab,"Ai"),u(Am,"Di"),di=Am,h7="inline",m7={area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",style:"none",template:"inline",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",dialog:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",search:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",menu:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",input:"inline-block",button:"inline-block",fieldset:"block",marquee:"inline-block",source:"block",track:"block",details:"block",summary:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},g7="normal",v7={listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},u(km,"vi"),va=km,Bg=u(e=>je(!1,e,/^[\t\f\r ]*\n/gu,""),"yi"),Hp=u(e=>Bg(ht.trimEnd(e)),"mr"),y7=u(e=>{let t=e,r=ht.getLeadingWhitespace(t);r&&(t=t.slice(r.length));let n=ht.getTrailingWhitespace(t);return n&&(t=t.slice(0,-n.length)),{leadingWhitespace:r,trailingWhitespace:n,text:t}},"vn"),u(bp,"yt"),u(ai,"Ee"),u(ob,"wi"),u(Ye,"$"),u(Wt,"U"),u(ib,"yn"),u(lb,"wn"),u(wp,"fr"),u(sb,"bn"),u(ub,"Tn"),u(cb,"xn"),u(lo,"Qe"),u(db,"kn"),u(Dp,"dr"),u(il,"wt"),u(pb,"bi"),u(Ep,"Bn"),u(Cp,"Ln"),u(xp,"Fn"),u(Sp,"Nn"),u(_s,"bt"),u(fb,"Ti"),u(Fp,"Pn"),u(hb,"xi"),u(mb,"ki"),u(gb,"Bi"),u(od,"gr"),u(Fa,"Xe"),u(vb,"Li"),u(yb,"Fi"),u(bb,"Ni"),u(wb,"Pi"),u(Db,"Ii"),u(sn,"_e"),u(Eb,"Ri"),u(Cb,"In"),u(Ap,"Rn"),u(xb,"$i"),u(kp,"Cr"),u(_p,"Sr"),u(dr,"P"),b7=new Set(["template","style","script"]),u(oi,"Je"),u(bn,"Ae"),u(Bs,"Tt"),u(Sb,"$n"),u(Fb,"On"),u(Bp,"xt"),u(Rp,"kt"),$p=/\{\{(.+?)\}\}/su,u(Ab,"Mn"),u(Ti,"Er"),w7=Ti({parser:"__ng_action"}),D7=Ti({parser:"__ng_binding"}),E7=Ti({parser:"__ng_directive"}),u(_m,"Vi"),C7=_m,u(Bm,"Ui"),x7=Bm,u(id,"Vn"),S7=/^[ \t\n\r\u000c]+/,F7=/^[, \t\n\r\u000c]+/,A7=/^[^ \t\n\r\u000c]+/,k7=/[,]+$/,pd=/^\d+$/,_7=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,u(Rm,"Ki"),B7=Rm,u(Im,"Qi"),fd={width:"w",height:"h",density:"x"},R7=Object.keys(fd),u(kb,"Ji"),I7=Im,u(_b,"Yn"),ll=new WeakMap,u(Tm,"Zi"),Ns=Tm,u(Bb,"jn"),u(Rb,"Kn"),u(Ib,"Qn"),u(Tb,"Xn"),u(zb,"ea"),u(zm,"ta"),u(Lb,"ra"),u(Mb,"na"),u(Ip,"Jn"),T7=zm,u(Lm,"sa"),u(Ob,"ia"),z7=Lm,oc=new Proxy(()=>{},{get:u(()=>oc,"get")}),jp=oc,u(Mm,"aa"),Hs=Mm,u(ii,"se"),u(li,"ie"),u(zl,"Ze"),u(Pb,"oa"),u(Wn,"De"),u(Nb,"ua"),u(Ar,"W"),u(Rs,"Bt"),u(Aa,"ve"),u(Tp,"rs"),u(kr,"K"),u(ka,"ye"),u(ha,"we"),u(si,"et"),u(Hb,"la"),u(ui,"tt"),u($b,"ca"),u(jb,"pa"),u(Ll,"rt"),u(Gn,"be"),u(_r,"z"),u(Is,"Lt"),u(Ts,"Ft"),u(Om,"ha"),Vp=Om,L7=new Set(["if","else if","for","switch","case"]),u(Pm,"fa"),Rg=Pm,Hn=null,u(Kn,"st"),Ig=10;for(let e=0;e<=Ig;e++)Kn();u(Vb,"vr"),u(Nm,"ga"),Tg=Nm,zg={"front-matter":[],root:["children"],element:["attrs","children"],ieConditionalComment:["children"],ieConditionalStartComment:[],ieConditionalEndComment:[],interpolation:["children"],text:["children"],docType:[],comment:[],attribute:[],cdata:[],angularControlFlowBlock:["children","parameters"],angularControlFlowBlockParameters:["children"],angularControlFlowBlockParameter:[],angularLetDeclaration:["init"],angularLetDeclarationInitializer:[],angularIcuExpression:["cases"],angularIcuCase:["expression"]},Lg=zg,Mg=Tg(Lg),Og=Mg,u(Ub,"os"),u(Hm,"us"),M7=new Map([["if",new Set(["else if","else"])],["else if",new Set(["else if","else"])],["for",new Set(["empty"])],["defer",new Set(["placeholder","error","loading"])],["placeholder",new Set(["placeholder","error","loading"])],["error",new Set(["placeholder","error","loading"])],["loading",new Set(["placeholder","error","loading"])]]),u(zp,"cs"),u(Nn,"it"),u(so,"Pt"),u(zs,"He"),u(qb,"ps"),u(Lp,"hs"),u(Wb,"_a"),u(Gb,"ms"),u(Kb,"fs"),u(Yb,"ds"),u(Jb,"gs"),u(xo,"at"),u(Ml,"It"),u(So,"ot"),u(Zb,"Cs"),u(zi,"Rt"),u($u,"yr"),u(Li,"$t"),O7=/-+([a-z0-9])/g,u($m,"_s"),Vl=(Mi=class{constructor(e,t,r,n){this.file=e,this.offset=t,this.line=r,this.col=n}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(e){let t=this.file.content,r=t.length,n=this.offset,a=this.line,o=this.col;for(;n>0&&e<0;)if(n--,e++,t.charCodeAt(n)==10){a--;let i=t.substring(0,n-1).lastIndexOf(` +`);o=i>0?n-i:n}else o--;for(;n0;){let i=t.charCodeAt(n);n++,e--,i==10?(a++,o=0):o++}return new Mi(this.file,n,a,o)}getContext(e,t){let r=this.file.content,n=this.offset;if(n!=null){n>r.length-1&&(n=r.length-1);let a=n,o=0,i=0;for(;o0&&(n--,o++,!(r[n]==` +`&&++i==t)););for(o=0,i=0;o]${e.after}")`:this.msg}toString(){let e=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}},u(sc,"Ue"),sc),P7=[Vm,Um,qm,Gm,Km,Zm,Ym,Jm,Xm,Wm],u(jm,"Da"),u(Vm,"va"),u(Um,"ya"),u(Xb,"wa"),u(qm,"ba"),u(Wm,"Ta"),u(Gm,"xa"),u(Km,"ka"),u(Ym,"Ba"),u(Jm,"La"),u(Zm,"Fa"),u(Xm,"Na"),Pg=jm,u(Qm,"Pa"),Ng={preprocess:Pg,print:Qm,insertPragma:Hm,massageAstNode:_g,embed:Rg,getVisitorKeys:Og},Hg=Ng,$g=[{linguistLanguageId:146,name:"Angular",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".component.html"],parsers:["angular"],vscodeLanguageIds:["html"],filenames:[]},{linguistLanguageId:146,name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".hta",".htm",".html.hl",".inc",".xht",".xhtml",".mjml"],parsers:["html"],vscodeLanguageIds:["html"]},{linguistLanguageId:146,name:"Lightning Web Components",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[],parsers:["lwc"],vscodeLanguageIds:["html"],filenames:[]},{linguistLanguageId:391,name:"Vue",type:"markup",color:"#41b883",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",parsers:["vue"],vscodeLanguageIds:["vue"]}],cc={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}},dc="HTML",jg={bracketSameLine:cc.bracketSameLine,htmlWhitespaceSensitivity:{category:dc,type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]},singleAttributePerLine:cc.singleAttributePerLine,vueIndentScriptAndStyle:{category:dc,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},Vg=jg,pc={},Xu(pc,{angular:u(()=>y5,"angular"),html:u(()=>v5,"html"),lwc:u(()=>w5,"lwc"),vue:u(()=>b5,"vue")}),function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(Ug||(Ug={})),function(e){e[e.OnPush=0]="OnPush",e[e.Default=1]="Default"}(qg||(qg={})),function(e){e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform"}(Wg||(Wg={})),fc={name:"custom-elements"},hc={name:"no-errors-schema"},function(e){e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL"}(Qr||(Qr={})),function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore"}(Gg||(Gg={})),function(e){e[e.RAW_TEXT=0]="RAW_TEXT",e[e.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",e[e.PARSABLE_DATA=2]="PARSABLE_DATA"}(ft||(ft={})),u(Lo,"ut"),u(ju,"xr"),u(Vu,"kr"),u(uo,"We"),u(Va,"ze"),u(Uu,"Br"),u(co,"Mt"),Kg=(mc=class{},u(mc,"Ht"),mc),Yg="boolean",Jg="number",Zg="string",Xg="object",Qg=["[Element]|textContent,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColSpan,%ariaCurrent,%ariaDescription,%ariaDisabled,%ariaExpanded,%ariaHasPopup,%ariaHidden,%ariaKeyShortcuts,%ariaLabel,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored","[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,!inert,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcaption,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume",":svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":svg:graphics^:svg:|",":svg:animation^:svg:|*begin,*end,*repeat",":svg:geometry^:svg:|",":svg:componentTransferFunction^:svg:|",":svg:gradient^:svg:|",":svg:textContent^:svg:graphics|",":svg:textPositioning^:svg:textContent|","a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,rev,search,shape,target,text,type,username","area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username","audio^media|","br^[HTMLElement]|clear","base^[HTMLElement]|href,target","body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink","button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value","canvas^[HTMLElement]|#height,#width","content^[HTMLElement]|select","dl^[HTMLElement]|!compact","data^[HTMLElement]|value","datalist^[HTMLElement]|","details^[HTMLElement]|!open","dialog^[HTMLElement]|!open,returnValue","dir^[HTMLElement]|!compact","div^[HTMLElement]|align","embed^[HTMLElement]|align,height,name,src,type,width","fieldset^[HTMLElement]|!disabled,name","font^[HTMLElement]|color,face,size","form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target","frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src","frameset^[HTMLElement]|cols,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows","hr^[HTMLElement]|align,color,!noShade,size,width","head^[HTMLElement]|","h1,h2,h3,h4,h5,h6^[HTMLElement]|align","html^[HTMLElement]|version","iframe^[HTMLElement]|align,allow,!allowFullscreen,!allowPaymentRequest,csp,frameBorder,height,loading,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width","img^[HTMLElement]|align,alt,border,%crossOrigin,decoding,#height,#hspace,!isMap,loading,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width","input^[HTMLElement]|accept,align,alt,autocomplete,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width","li^[HTMLElement]|type,#value","label^[HTMLElement]|htmlFor","legend^[HTMLElement]|align","link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,imageSizes,imageSrcset,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type","map^[HTMLElement]|name","marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width","menu^[HTMLElement]|!compact","meta^[HTMLElement]|content,httpEquiv,media,name,scheme","meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value","ins,del^[HTMLElement]|cite,dateTime","ol^[HTMLElement]|!compact,!reversed,#start,type","object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width","optgroup^[HTMLElement]|!disabled,label","option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value","output^[HTMLElement]|defaultValue,%htmlFor,name,value","p^[HTMLElement]|align","param^[HTMLElement]|name,type,value,valueType","picture^[HTMLElement]|","pre^[HTMLElement]|#width","progress^[HTMLElement]|#max,#value","q,blockquote,cite^[HTMLElement]|","script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,!noModule,%referrerPolicy,src,text,type","select^[HTMLElement]|autocomplete,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value","slot^[HTMLElement]|name","source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width","span^[HTMLElement]|","style^[HTMLElement]|!disabled,media,type","caption^[HTMLElement]|align","th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width","col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width","table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width","tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign","tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign","template^[HTMLElement]|","textarea^[HTMLElement]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap","time^[HTMLElement]|dateTime","title^[HTMLElement]|text","track^[HTMLElement]|!default,kind,label,src,srclang","ul^[HTMLElement]|!compact,type","unknown^[HTMLElement]|","video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,poster,#width",":svg:a^:svg:graphics|",":svg:animate^:svg:animation|",":svg:animateMotion^:svg:animation|",":svg:animateTransform^:svg:animation|",":svg:circle^:svg:geometry|",":svg:clipPath^:svg:graphics|",":svg:defs^:svg:graphics|",":svg:desc^:svg:|",":svg:discard^:svg:|",":svg:ellipse^:svg:geometry|",":svg:feBlend^:svg:|",":svg:feColorMatrix^:svg:|",":svg:feComponentTransfer^:svg:|",":svg:feComposite^:svg:|",":svg:feConvolveMatrix^:svg:|",":svg:feDiffuseLighting^:svg:|",":svg:feDisplacementMap^:svg:|",":svg:feDistantLight^:svg:|",":svg:feDropShadow^:svg:|",":svg:feFlood^:svg:|",":svg:feFuncA^:svg:componentTransferFunction|",":svg:feFuncB^:svg:componentTransferFunction|",":svg:feFuncG^:svg:componentTransferFunction|",":svg:feFuncR^:svg:componentTransferFunction|",":svg:feGaussianBlur^:svg:|",":svg:feImage^:svg:|",":svg:feMerge^:svg:|",":svg:feMergeNode^:svg:|",":svg:feMorphology^:svg:|",":svg:feOffset^:svg:|",":svg:fePointLight^:svg:|",":svg:feSpecularLighting^:svg:|",":svg:feSpotLight^:svg:|",":svg:feTile^:svg:|",":svg:feTurbulence^:svg:|",":svg:filter^:svg:|",":svg:foreignObject^:svg:graphics|",":svg:g^:svg:graphics|",":svg:image^:svg:graphics|decoding",":svg:line^:svg:geometry|",":svg:linearGradient^:svg:gradient|",":svg:mpath^:svg:|",":svg:marker^:svg:|",":svg:mask^:svg:|",":svg:metadata^:svg:|",":svg:path^:svg:geometry|",":svg:pattern^:svg:|",":svg:polygon^:svg:geometry|",":svg:polyline^:svg:geometry|",":svg:radialGradient^:svg:gradient|",":svg:rect^:svg:geometry|",":svg:svg^:svg:graphics|#currentScale,#zoomAndPan",":svg:script^:svg:|type",":svg:set^:svg:animation|",":svg:stop^:svg:|",":svg:style^:svg:|!disabled,media,title,type",":svg:switch^:svg:graphics|",":svg:symbol^:svg:|",":svg:tspan^:svg:textPositioning|",":svg:text^:svg:textPositioning|",":svg:textPath^:svg:textContent|",":svg:title^:svg:|",":svg:use^:svg:graphics|",":svg:view^:svg:|#zoomAndPan","data^[HTMLElement]|value","keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name","menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default","summary^[HTMLElement]|","time^[HTMLElement]|dateTime",":svg:cursor^:svg:|",":math:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforeinput,*beforematch,*beforetoggle,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contentvisibilityautostatechange,*contextlost,*contextmenu,*contextrestored,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*scrollend,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":math:math^:math:|",":math:maction^:math:|",":math:menclose^:math:|",":math:merror^:math:|",":math:mfenced^:math:|",":math:mfrac^:math:|",":math:mi^:math:|",":math:mmultiscripts^:math:|",":math:mn^:math:|",":math:mo^:math:|",":math:mover^:math:|",":math:mpadded^:math:|",":math:mphantom^:math:|",":math:mroot^:math:|",":math:mrow^:math:|",":math:ms^:math:|",":math:mspace^:math:|",":math:msqrt^:math:|",":math:mstyle^:math:|",":math:msub^:math:|",":math:msubsup^:math:|",":math:msup^:math:|",":math:mtable^:math:|",":math:mtd^:math:|",":math:mtext^:math:|",":math:mtr^:math:|",":math:munder^:math:|",":math:munderover^:math:|",":math:semantics^:math:|"],gc=new Map(Object.entries({class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"})),e5=Array.from(gc).reduce((e,[t,r])=>(e.set(t,r),e),new Map),N7=(vc=class extends Kg{constructor(){super(),this._schema=new Map,this._eventSchema=new Map,Qg.forEach(e=>{let t=new Map,r=new Set,[n,a]=e.split("|"),o=a.split(","),[i,s]=n.split("^");i.split(",").forEach(d=>{this._schema.set(d.toLowerCase(),t),this._eventSchema.set(d.toLowerCase(),r)});let c=s&&this._schema.get(s.toLowerCase());if(c){for(let[d,f]of c)t.set(d,f);for(let d of this._eventSchema.get(s.toLowerCase()))r.add(d)}o.forEach(d=>{if(d.length>0)switch(d[0]){case"*":r.add(d.substring(1));break;case"!":t.set(d.substring(1),Yg);break;case"#":t.set(d.substring(1),Jg);break;case"%":t.set(d.substring(1),Xg);break;default:t.set(d,Zg)}})})}hasProperty(e,t,r){if(r.some(n=>n.name===hc.name))return!0;if(e.indexOf("-")>-1){if(ju(e)||Vu(e))return!1;if(r.some(n=>n.name===fc.name))return!0}return(this._schema.get(e.toLowerCase())||this._schema.get("unknown")).has(t)}hasElement(e,t){return t.some(r=>r.name===hc.name)||e.indexOf("-")>-1&&(ju(e)||Vu(e)||t.some(r=>r.name===fc.name))?!0:this._schema.has(e.toLowerCase())}securityContext(e,t,r){r&&(t=this.getMappedPropName(t)),e=e.toLowerCase(),t=t.toLowerCase();let n=Uu()[e+"|"+t];return n||(n=Uu()["*|"+t],n||Qr.NONE)}getMappedPropName(e){return gc.get(e)??e}getDefaultComponentElementName(){return"ng-component"}validateProperty(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event property '${e}' is disallowed for security reasons, please use (${e.slice(2)})=... +If '${e}' is a directive input, make sure the directive is imported by the current module.`}:{error:!1}}validateAttribute(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event attribute '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...`}:{error:!1}}allKnownElementNames(){return Array.from(this._schema.keys())}allKnownAttributesOfElement(e){let t=this._schema.get(e.toLowerCase())||this._schema.get("unknown");return Array.from(t.keys()).map(r=>e5.get(r)??r)}allKnownEventsOfElement(e){return Array.from(this._eventSchema.get(e.toLowerCase())??[])}normalizeAnimationStyleProperty(e){return $m(e)}normalizeAnimationStyleValue(e,t,r){let n="",a=r.toString().trim(),o=null;if(eg(e)&&r!==0&&r!=="0")if(typeof r=="number")n="px";else{let i=r.match(/^[+-]?[\d\.]+([a-z]*)$/);i&&i[1].length==0&&(o=`Please provide a CSS unit value for ${t}:${r}`)}return{error:o,value:a+n}}},u(vc,"Vt"),vc),u(eg,"Ua"),K=(yc=class{constructor({closedByChildren:e,implicitNamespacePrefix:t,contentType:r=ft.PARSABLE_DATA,closedByParent:n=!1,isVoid:a=!1,ignoreFirstLf:o=!1,preventNamespaceInheritance:i=!1,canSelfClose:s=!1}={}){this.closedByChildren={},this.closedByParent=!1,e&&e.length>0&&e.forEach(c=>this.closedByChildren[c]=!0),this.isVoid=a,this.closedByParent=n||a,this.implicitNamespacePrefix=t||null,this.contentType=r,this.ignoreFirstLf=o,this.preventNamespaceInheritance=i,this.canSelfClose=s??a}isClosedByChild(e){return this.isVoid||e.toLowerCase()in this.closedByChildren}getContentType(e){return typeof this.contentType=="object"?(e===void 0?void 0:this.contentType[e])??this.contentType.default:this.contentType}},u(yc,"m"),yc),u(Ol,"Ge"),Vr=(bc=class{constructor(e,t){this.sourceSpan=e,this.i18n=t}},u(bc,"oe"),bc),r5=(wc=class extends Vr{constructor(e,t,r,n){super(t,n),this.value=e,this.tokens=r,this.type="text"}visit(e,t){return e.visitText(this,t)}},u(wc,"Ut"),wc),n5=(Dc=class extends Vr{constructor(e,t,r,n){super(t,n),this.value=e,this.tokens=r,this.type="cdata"}visit(e,t){return e.visitCdata(this,t)}},u(Dc,"Wt"),Dc),a5=(Ec=class extends Vr{constructor(e,t,r,n,a,o){super(n,o),this.switchValue=e,this.type=t,this.cases=r,this.switchValueSourceSpan=a}visit(e,t){return e.visitExpansion(this,t)}},u(Ec,"zt"),Ec),o5=(Cc=class{constructor(e,t,r,n,a){this.value=e,this.expression=t,this.sourceSpan=r,this.valueSourceSpan=n,this.expSourceSpan=a,this.type="expansionCase"}visit(e,t){return e.visitExpansionCase(this,t)}},u(Cc,"Gt"),Cc),i5=(xc=class extends Vr{constructor(e,t,r,n,a,o,i){super(r,i),this.name=e,this.value=t,this.keySpan=n,this.valueSpan=a,this.valueTokens=o,this.type="attribute"}visit(e,t){return e.visitAttribute(this,t)}get nameSpan(){return this.keySpan}},u(xc,"Yt"),xc),rr=(Sc=class extends Vr{constructor(e,t,r,n,a,o=null,i=null,s){super(n,s),this.name=e,this.attrs=t,this.children=r,this.startSourceSpan=a,this.endSourceSpan=o,this.nameSpan=i,this.type="element"}visit(e,t){return e.visitElement(this,t)}},u(Sc,"G"),Sc),l5=(Fc=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="comment"}visit(e,t){return e.visitComment(this,t)}},u(Fc,"jt"),Fc),s5=(Ac=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="docType"}visit(e,t){return e.visitDocType(this,t)}},u(Ac,"Kt"),Ac),Ur=(kc=class extends Vr{constructor(e,t,r,n,a,o,i=null,s){super(n,s),this.name=e,this.parameters=t,this.children=r,this.nameSpan=a,this.startSourceSpan=o,this.endSourceSpan=i,this.type="block"}visit(e,t){return e.visitBlock(this,t)}},u(kc,"Z"),kc),Bc=(_c=class{constructor(e,t){this.expression=e,this.sourceSpan=t,this.type="blockParameter",this.startSourceSpan=null,this.endSourceSpan=null}visit(e,t){return e.visitBlockParameter(this,t)}},u(_c,"ct"),_c),Ic=(Rc=class{constructor(e,t,r,n,a){this.name=e,this.value=t,this.sourceSpan=r,this.nameSpan=n,this.valueSpan=a,this.type="letDeclaration",this.startSourceSpan=null,this.endSourceSpan=null}visit(e,t){return e.visitLetDeclaration(this,t)}},u(Rc,"pt"),Rc),u(ld,"Qt"),H7=(Tc=class{constructor(){}visitElement(e,t){this.visitChildren(t,r=>{r(e.attrs),r(e.children)})}visitAttribute(e,t){}visitText(e,t){}visitCdata(e,t){}visitComment(e,t){}visitDocType(e,t){}visitExpansion(e,t){return this.visitChildren(t,r=>{r(e.cases)})}visitExpansionCase(e,t){}visitBlock(e,t){this.visitChildren(t,r=>{r(e.parameters),r(e.children)})}visitBlockParameter(e,t){}visitLetDeclaration(e,t){}visitChildren(e,t){let r=[],n=this;function a(o){o&&r.push(ld(n,o,e))}return u(a,"i"),t(a),Array.prototype.concat.apply([],r)}},u(Tc,"ht"),Tc),Ao={AElig:"Æ",AMP:"&",amp:"&",Aacute:"Á",Abreve:"Ă",Acirc:"Â",Acy:"А",Afr:"𝔄",Agrave:"À",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"𝔸",ApplyFunction:"⁡",af:"⁡",Aring:"Å",angst:"Å",Ascr:"𝒜",Assign:"≔",colone:"≔",coloneq:"≔",Atilde:"Ã",Auml:"Ä",Backslash:"∖",setminus:"∖",setmn:"∖",smallsetminus:"∖",ssetmn:"∖",Barv:"⫧",Barwed:"⌆",doublebarwedge:"⌆",Bcy:"Б",Because:"∵",becaus:"∵",because:"∵",Bernoullis:"ℬ",Bscr:"ℬ",bernou:"ℬ",Beta:"Β",Bfr:"𝔅",Bopf:"𝔹",Breve:"˘",breve:"˘",Bumpeq:"≎",HumpDownHump:"≎",bump:"≎",CHcy:"Ч",COPY:"©",copy:"©",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",DD:"ⅅ",Cayleys:"ℭ",Cfr:"ℭ",Ccaron:"Č",Ccedil:"Ç",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"¸",cedil:"¸",CenterDot:"·",centerdot:"·",middot:"·",Chi:"Χ",CircleDot:"⊙",odot:"⊙",CircleMinus:"⊖",ominus:"⊖",CirclePlus:"⊕",oplus:"⊕",CircleTimes:"⊗",otimes:"⊗",ClockwiseContourIntegral:"∲",cwconint:"∲",CloseCurlyDoubleQuote:"”",rdquo:"”",rdquor:"”",CloseCurlyQuote:"’",rsquo:"’",rsquor:"’",Colon:"∷",Proportion:"∷",Colone:"⩴",Congruent:"≡",equiv:"≡",Conint:"∯",DoubleContourIntegral:"∯",ContourIntegral:"∮",conint:"∮",oint:"∮",Copf:"ℂ",complexes:"ℂ",Coproduct:"∐",coprod:"∐",CounterClockwiseContourIntegral:"∳",awconint:"∳",Cross:"⨯",Cscr:"𝒞",Cup:"⋓",CupCap:"≍",asympeq:"≍",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",ddagger:"‡",Darr:"↡",Dashv:"⫤",DoubleLeftTee:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",nabla:"∇",Delta:"Δ",Dfr:"𝔇",DiacriticalAcute:"´",acute:"´",DiacriticalDot:"˙",dot:"˙",DiacriticalDoubleAcute:"˝",dblac:"˝",DiacriticalGrave:"`",grave:"`",DiacriticalTilde:"˜",tilde:"˜",Diamond:"⋄",diam:"⋄",diamond:"⋄",DifferentialD:"ⅆ",dd:"ⅆ",Dopf:"𝔻",Dot:"¨",DoubleDot:"¨",die:"¨",uml:"¨",DotDot:"⃜",DotEqual:"≐",doteq:"≐",esdot:"≐",DoubleDownArrow:"⇓",Downarrow:"⇓",dArr:"⇓",DoubleLeftArrow:"⇐",Leftarrow:"⇐",lArr:"⇐",DoubleLeftRightArrow:"⇔",Leftrightarrow:"⇔",hArr:"⇔",iff:"⇔",DoubleLongLeftArrow:"⟸",Longleftarrow:"⟸",xlArr:"⟸",DoubleLongLeftRightArrow:"⟺",Longleftrightarrow:"⟺",xhArr:"⟺",DoubleLongRightArrow:"⟹",Longrightarrow:"⟹",xrArr:"⟹",DoubleRightArrow:"⇒",Implies:"⇒",Rightarrow:"⇒",rArr:"⇒",DoubleRightTee:"⊨",vDash:"⊨",DoubleUpArrow:"⇑",Uparrow:"⇑",uArr:"⇑",DoubleUpDownArrow:"⇕",Updownarrow:"⇕",vArr:"⇕",DoubleVerticalBar:"∥",par:"∥",parallel:"∥",shortparallel:"∥",spar:"∥",DownArrow:"↓",ShortDownArrow:"↓",darr:"↓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",duarr:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",leftharpoondown:"↽",lhard:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",rhard:"⇁",rightharpoondown:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",top:"⊤",DownTeeArrow:"↧",mapstodown:"↧",Dscr:"𝒟",Dstrok:"Đ",ENG:"Ŋ",ETH:"Ð",Eacute:"É",Ecaron:"Ě",Ecirc:"Ê",Ecy:"Э",Edot:"Ė",Efr:"𝔈",Egrave:"È",Element:"∈",in:"∈",isin:"∈",isinv:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"𝔼",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",eqsim:"≂",esim:"≂",Equilibrium:"⇌",rightleftharpoons:"⇌",rlhar:"⇌",Escr:"ℰ",expectation:"ℰ",Esim:"⩳",Eta:"Η",Euml:"Ë",Exists:"∃",exist:"∃",ExponentialE:"ⅇ",ee:"ⅇ",exponentiale:"ⅇ",Fcy:"Ф",Ffr:"𝔉",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",blacksquare:"▪",squarf:"▪",squf:"▪",Fopf:"𝔽",ForAll:"∀",forall:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",GT:">",gt:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",ggg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",ge:"≥",geq:"≥",GreaterEqualLess:"⋛",gel:"⋛",gtreqless:"⋛",GreaterFullEqual:"≧",gE:"≧",geqq:"≧",GreaterGreater:"⪢",GreaterLess:"≷",gl:"≷",gtrless:"≷",GreaterSlantEqual:"⩾",geqslant:"⩾",ges:"⩾",GreaterTilde:"≳",gsim:"≳",gtrsim:"≳",Gscr:"𝒢",Gt:"≫",NestedGreaterGreater:"≫",gg:"≫",HARDcy:"Ъ",Hacek:"ˇ",caron:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",Poincareplane:"ℌ",HilbertSpace:"ℋ",Hscr:"ℋ",hamilt:"ℋ",Hopf:"ℍ",quaternions:"ℍ",HorizontalLine:"─",boxh:"─",Hstrok:"Ħ",HumpEqual:"≏",bumpe:"≏",bumpeq:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacute:"Í",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Im:"ℑ",image:"ℑ",imagpart:"ℑ",Igrave:"Ì",Imacr:"Ī",ImaginaryI:"ⅈ",ii:"ⅈ",Int:"∬",Integral:"∫",int:"∫",Intersection:"⋂",bigcap:"⋂",xcap:"⋂",InvisibleComma:"⁣",ic:"⁣",InvisibleTimes:"⁢",it:"⁢",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",imagline:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",LT:"<",lt:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Lscr:"ℒ",lagran:"ℒ",Larr:"↞",twoheadleftarrow:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",lang:"⟨",langle:"⟨",LeftArrow:"←",ShortLeftArrow:"←",larr:"←",leftarrow:"←",slarr:"←",LeftArrowBar:"⇤",larrb:"⇤",LeftArrowRightArrow:"⇆",leftrightarrows:"⇆",lrarr:"⇆",LeftCeiling:"⌈",lceil:"⌈",LeftDoubleBracket:"⟦",lobrk:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",dharl:"⇃",downharpoonleft:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",lfloor:"⌊",LeftRightArrow:"↔",harr:"↔",leftrightarrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",dashv:"⊣",LeftTeeArrow:"↤",mapstoleft:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",vartriangleleft:"⊲",vltri:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",ltrie:"⊴",trianglelefteq:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",uharl:"↿",upharpoonleft:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",leftharpoonup:"↼",lharu:"↼",LeftVectorBar:"⥒",LessEqualGreater:"⋚",leg:"⋚",lesseqgtr:"⋚",LessFullEqual:"≦",lE:"≦",leqq:"≦",LessGreater:"≶",lessgtr:"≶",lg:"≶",LessLess:"⪡",LessSlantEqual:"⩽",leqslant:"⩽",les:"⩽",LessTilde:"≲",lesssim:"≲",lsim:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",lAarr:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",longleftarrow:"⟵",xlarr:"⟵",LongLeftRightArrow:"⟷",longleftrightarrow:"⟷",xharr:"⟷",LongRightArrow:"⟶",longrightarrow:"⟶",xrarr:"⟶",Lopf:"𝕃",LowerLeftArrow:"↙",swarr:"↙",swarrow:"↙",LowerRightArrow:"↘",searr:"↘",searrow:"↘",Lsh:"↰",lsh:"↰",Lstrok:"Ł",Lt:"≪",NestedLessLess:"≪",ll:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mscr:"ℳ",phmmat:"ℳ",Mfr:"𝔐",MinusPlus:"∓",mnplus:"∓",mp:"∓",Mopf:"𝕄",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",ZeroWidthSpace:"​",NewLine:` +`,Nfr:"𝔑",NoBreak:"⁠",NonBreakingSpace:" ",nbsp:" ",Nopf:"ℕ",naturals:"ℕ",Not:"⫬",NotCongruent:"≢",nequiv:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",npar:"∦",nparallel:"∦",nshortparallel:"∦",nspar:"∦",NotElement:"∉",notin:"∉",notinva:"∉",NotEqual:"≠",ne:"≠",NotEqualTilde:"≂̸",nesim:"≂̸",NotExists:"∄",nexist:"∄",nexists:"∄",NotGreater:"≯",ngt:"≯",ngtr:"≯",NotGreaterEqual:"≱",nge:"≱",ngeq:"≱",NotGreaterFullEqual:"≧̸",ngE:"≧̸",ngeqq:"≧̸",NotGreaterGreater:"≫̸",nGtv:"≫̸",NotGreaterLess:"≹",ntgl:"≹",NotGreaterSlantEqual:"⩾̸",ngeqslant:"⩾̸",nges:"⩾̸",NotGreaterTilde:"≵",ngsim:"≵",NotHumpDownHump:"≎̸",nbump:"≎̸",NotHumpEqual:"≏̸",nbumpe:"≏̸",NotLeftTriangle:"⋪",nltri:"⋪",ntriangleleft:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",nltrie:"⋬",ntrianglelefteq:"⋬",NotLess:"≮",nless:"≮",nlt:"≮",NotLessEqual:"≰",nle:"≰",nleq:"≰",NotLessGreater:"≸",ntlg:"≸",NotLessLess:"≪̸",nLtv:"≪̸",NotLessSlantEqual:"⩽̸",nleqslant:"⩽̸",nles:"⩽̸",NotLessTilde:"≴",nlsim:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",npr:"⊀",nprec:"⊀",NotPrecedesEqual:"⪯̸",npre:"⪯̸",npreceq:"⪯̸",NotPrecedesSlantEqual:"⋠",nprcue:"⋠",NotReverseElement:"∌",notni:"∌",notniva:"∌",NotRightTriangle:"⋫",nrtri:"⋫",ntriangleright:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",nrtrie:"⋭",ntrianglerighteq:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",nsqsube:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",nsqsupe:"⋣",NotSubset:"⊂⃒",nsubset:"⊂⃒",vnsub:"⊂⃒",NotSubsetEqual:"⊈",nsube:"⊈",nsubseteq:"⊈",NotSucceeds:"⊁",nsc:"⊁",nsucc:"⊁",NotSucceedsEqual:"⪰̸",nsce:"⪰̸",nsucceq:"⪰̸",NotSucceedsSlantEqual:"⋡",nsccue:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",nsupset:"⊃⃒",vnsup:"⊃⃒",NotSupersetEqual:"⊉",nsupe:"⊉",nsupseteq:"⊉",NotTilde:"≁",nsim:"≁",NotTildeEqual:"≄",nsime:"≄",nsimeq:"≄",NotTildeFullEqual:"≇",ncong:"≇",NotTildeTilde:"≉",nap:"≉",napprox:"≉",NotVerticalBar:"∤",nmid:"∤",nshortmid:"∤",nsmid:"∤",Nscr:"𝒩",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacute:"Ó",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",ohm:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",ldquo:"“",OpenCurlyQuote:"‘",lsquo:"‘",Or:"⩔",Oscr:"𝒪",Oslash:"Ø",Otilde:"Õ",Otimes:"⨷",Ouml:"Ö",OverBar:"‾",oline:"‾",OverBrace:"⏞",OverBracket:"⎴",tbrk:"⎴",OverParenthesis:"⏜",PartialD:"∂",part:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",plusmn:"±",pm:"±",Popf:"ℙ",primes:"ℙ",Pr:"⪻",Precedes:"≺",pr:"≺",prec:"≺",PrecedesEqual:"⪯",pre:"⪯",preceq:"⪯",PrecedesSlantEqual:"≼",prcue:"≼",preccurlyeq:"≼",PrecedesTilde:"≾",precsim:"≾",prsim:"≾",Prime:"″",Product:"∏",prod:"∏",Proportional:"∝",prop:"∝",propto:"∝",varpropto:"∝",vprop:"∝",Pscr:"𝒫",Psi:"Ψ",QUOT:'"',quot:'"',Qfr:"𝔔",Qopf:"ℚ",rationals:"ℚ",Qscr:"𝒬",RBarr:"⤐",drbkarow:"⤐",REG:"®",circledR:"®",reg:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",twoheadrightarrow:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",Rfr:"ℜ",real:"ℜ",realpart:"ℜ",ReverseElement:"∋",SuchThat:"∋",ni:"∋",niv:"∋",ReverseEquilibrium:"⇋",leftrightharpoons:"⇋",lrhar:"⇋",ReverseUpEquilibrium:"⥯",duhar:"⥯",Rho:"Ρ",RightAngleBracket:"⟩",rang:"⟩",rangle:"⟩",RightArrow:"→",ShortRightArrow:"→",rarr:"→",rightarrow:"→",srarr:"→",RightArrowBar:"⇥",rarrb:"⇥",RightArrowLeftArrow:"⇄",rightleftarrows:"⇄",rlarr:"⇄",RightCeiling:"⌉",rceil:"⌉",RightDoubleBracket:"⟧",robrk:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",dharr:"⇂",downharpoonright:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rfloor:"⌋",RightTee:"⊢",vdash:"⊢",RightTeeArrow:"↦",map:"↦",mapsto:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",vartriangleright:"⊳",vrtri:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",rtrie:"⊵",trianglerighteq:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",uharr:"↾",upharpoonright:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",rharu:"⇀",rightharpoonup:"⇀",RightVectorBar:"⥓",Ropf:"ℝ",reals:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",rAarr:"⇛",Rscr:"ℛ",realine:"ℛ",Rsh:"↱",rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortUpArrow:"↑",UpArrow:"↑",uarr:"↑",uparrow:"↑",Sigma:"Σ",SmallCircle:"∘",compfn:"∘",Sopf:"𝕊",Sqrt:"√",radic:"√",Square:"□",squ:"□",square:"□",SquareIntersection:"⊓",sqcap:"⊓",SquareSubset:"⊏",sqsub:"⊏",sqsubset:"⊏",SquareSubsetEqual:"⊑",sqsube:"⊑",sqsubseteq:"⊑",SquareSuperset:"⊐",sqsup:"⊐",sqsupset:"⊐",SquareSupersetEqual:"⊒",sqsupe:"⊒",sqsupseteq:"⊒",SquareUnion:"⊔",sqcup:"⊔",Sscr:"𝒮",Star:"⋆",sstarf:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",sube:"⊆",subseteq:"⊆",Succeeds:"≻",sc:"≻",succ:"≻",SucceedsEqual:"⪰",sce:"⪰",succeq:"⪰",SucceedsSlantEqual:"≽",sccue:"≽",succcurlyeq:"≽",SucceedsTilde:"≿",scsim:"≿",succsim:"≿",Sum:"∑",sum:"∑",Sup:"⋑",Supset:"⋑",Superset:"⊃",sup:"⊃",supset:"⊃",SupersetEqual:"⊇",supe:"⊇",supseteq:"⊇",THORN:"Þ",TRADE:"™",trade:"™",TSHcy:"Ћ",TScy:"Ц",Tab:" ",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",there4:"∴",therefore:"∴",Theta:"Θ",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",Tilde:"∼",sim:"∼",thicksim:"∼",thksim:"∼",TildeEqual:"≃",sime:"≃",simeq:"≃",TildeFullEqual:"≅",cong:"≅",TildeTilde:"≈",ap:"≈",approx:"≈",asymp:"≈",thickapprox:"≈",thkap:"≈",Topf:"𝕋",TripleDot:"⃛",tdot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",lowbar:"_",UnderBrace:"⏟",UnderBracket:"⎵",bbrk:"⎵",UnderParenthesis:"⏝",Union:"⋃",bigcup:"⋃",xcup:"⋃",UnionPlus:"⊎",uplus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",udarr:"⇅",UpDownArrow:"↕",updownarrow:"↕",varr:"↕",UpEquilibrium:"⥮",udhar:"⥮",UpTee:"⊥",bot:"⊥",bottom:"⊥",perp:"⊥",UpTeeArrow:"↥",mapstoup:"↥",UpperLeftArrow:"↖",nwarr:"↖",nwarrow:"↖",UpperRightArrow:"↗",nearr:"↗",nearrow:"↗",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",bigvee:"⋁",xvee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",mid:"∣",shortmid:"∣",smid:"∣",VerticalLine:"|",verbar:"|",vert:"|",VerticalSeparator:"❘",VerticalTilde:"≀",wr:"≀",wreath:"≀",VeryThinSpace:" ",hairsp:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",bigwedge:"⋀",xwedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",Zeta:"Ζ",Zfr:"ℨ",zeetrf:"ℨ",Zopf:"ℤ",integers:"ℤ",Zscr:"𝒵",aacute:"á",abreve:"ă",ac:"∾",mstpos:"∾",acE:"∾̳",acd:"∿",acirc:"â",acy:"а",aelig:"æ",afr:"𝔞",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",and:"∧",wedge:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",angle:"∠",ange:"⦤",angmsd:"∡",measuredangle:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angzarr:"⍼",aogon:"ą",aopf:"𝕒",apE:"⩰",apacir:"⩯",ape:"≊",approxeq:"≊",apid:"≋",apos:"'",aring:"å",ascr:"𝒶",ast:"*",midast:"*",atilde:"ã",auml:"ä",awint:"⨑",bNot:"⫭",backcong:"≌",bcong:"≌",backepsilon:"϶",bepsi:"϶",backprime:"‵",bprime:"‵",backsim:"∽",bsim:"∽",backsimeq:"⋍",bsime:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrktbrk:"⎶",bcy:"б",bdquo:"„",ldquor:"„",bemptyv:"⦰",beta:"β",beth:"ℶ",between:"≬",twixt:"≬",bfr:"𝔟",bigcirc:"◯",xcirc:"◯",bigodot:"⨀",xodot:"⨀",bigoplus:"⨁",xoplus:"⨁",bigotimes:"⨂",xotime:"⨂",bigsqcup:"⨆",xsqcup:"⨆",bigstar:"★",starf:"★",bigtriangledown:"▽",xdtri:"▽",bigtriangleup:"△",xutri:"△",biguplus:"⨄",xuplus:"⨄",bkarow:"⤍",rbarr:"⤍",blacklozenge:"⧫",lozf:"⧫",blacktriangle:"▴",utrif:"▴",blacktriangledown:"▾",dtrif:"▾",blacktriangleleft:"◂",ltrif:"◂",blacktriangleright:"▸",rtrif:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"𝕓",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",minusb:"⊟",boxplus:"⊞",plusb:"⊞",boxtimes:"⊠",timesb:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bumpE:"⪮",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",ccaps:"⩍",ccaron:"č",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cemptyv:"⦲",cent:"¢",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",cire:"≗",circlearrowleft:"↺",olarr:"↺",circlearrowright:"↻",orarr:"↻",circledS:"Ⓢ",oS:"Ⓢ",circledast:"⊛",oast:"⊛",circledcirc:"⊚",ocir:"⊚",circleddash:"⊝",odash:"⊝",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",comma:",",commat:"@",comp:"∁",complement:"∁",congdot:"⩭",copf:"𝕔",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",curlyeqprec:"⋞",cuesc:"⋟",curlyeqsucc:"⋟",cularr:"↶",curvearrowleft:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curvearrowright:"↷",curarrm:"⤼",curlyvee:"⋎",cuvee:"⋎",curlywedge:"⋏",cuwed:"⋏",curren:"¤",cwint:"∱",cylcty:"⌭",dHar:"⥥",dagger:"†",daleth:"ℸ",dash:"‐",hyphen:"‐",dbkarow:"⤏",rBarr:"⤏",dcaron:"ď",dcy:"д",ddarr:"⇊",downdownarrows:"⇊",ddotseq:"⩷",eDDot:"⩷",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",diamondsuit:"♦",diams:"♦",digamma:"ϝ",gammad:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",llcorner:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",doteqdot:"≑",eDot:"≑",dotminus:"∸",minusd:"∸",dotplus:"∔",plusdo:"∔",dotsquare:"⊡",sdotb:"⊡",drcorn:"⌟",lrcorner:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",triangledown:"▿",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"≖",eqcirc:"≖",ecirc:"ê",ecolon:"≕",eqcolon:"≕",ecy:"э",edot:"ė",efDot:"≒",fallingdotseq:"≒",efr:"𝔢",eg:"⪚",egrave:"è",egs:"⪖",eqslantgtr:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",eqslantless:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",varnothing:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",straightepsilon:"ϵ",varepsilon:"ϵ",equals:"=",equest:"≟",questeq:"≟",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",risingdotseq:"≓",erarr:"⥱",escr:"ℯ",eta:"η",eth:"ð",euml:"ë",euro:"€",excl:"!",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",fork:"⋔",pitchfork:"⋔",forkv:"⫙",fpartint:"⨍",frac12:"½",half:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",sfrown:"⌢",fscr:"𝒻",gEl:"⪌",gtreqqless:"⪌",gacute:"ǵ",gamma:"γ",gap:"⪆",gtrapprox:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gimel:"ℷ",gjcy:"ѓ",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gneqq:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gnsim:"⋧",gopf:"𝕘",gscr:"ℊ",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtrdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrarr:"⥸",gvertneqq:"≩︀",gvnE:"≩︀",hardcy:"ъ",harrcir:"⥈",harrw:"↭",leftrightsquigarrow:"↭",hbar:"ℏ",hslash:"ℏ",planck:"ℏ",plankv:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",mldr:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",searhk:"⤥",hkswarow:"⤦",swarhk:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",larrhk:"↩",hookrightarrow:"↪",rarrhk:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hstrok:"ħ",hybull:"⁃",iacute:"í",icirc:"î",icy:"и",iecy:"е",iexcl:"¡",ifr:"𝔦",igrave:"ì",iiiint:"⨌",qint:"⨌",iiint:"∭",tint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",imath:"ı",inodot:"ı",imof:"⊷",imped:"Ƶ",incare:"℅",infin:"∞",infintie:"⧝",intcal:"⊺",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iquest:"¿",iscr:"𝒾",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",itilde:"ĩ",iukcy:"і",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",varkappa:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAtail:"⤛",lBarr:"⤎",lEg:"⪋",lesseqqgtr:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lambda:"λ",langd:"⦑",lap:"⪅",lessapprox:"⪅",laquo:"«",larrbfs:"⤟",larrfs:"⤝",larrlp:"↫",looparrowleft:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",leftarrowtail:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lcub:"{",lbrack:"[",lsqb:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lcy:"л",ldca:"⤶",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leq:"≤",leftleftarrows:"⇇",llarr:"⇇",leftthreetimes:"⋋",lthree:"⋋",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessdot:"⋖",ltdot:"⋖",lfisht:"⥼",lfr:"𝔩",lgE:"⪑",lharul:"⥪",lhblk:"▄",ljcy:"љ",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lneqq:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lnsim:"⋦",loang:"⟬",loarr:"⇽",longmapsto:"⟼",xmap:"⟼",looparrowright:"↬",rarrlp:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",loz:"◊",lozenge:"◊",lpar:"(",lparlt:"⦓",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",lsime:"⪍",lsimg:"⪏",lsquor:"‚",sbquo:"‚",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",triangleleft:"◃",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",macr:"¯",strns:"¯",male:"♂",malt:"✠",maltese:"✠",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",mfr:"𝔪",mho:"℧",micro:"µ",midcir:"⫰",minus:"−",minusdu:"⨪",mlcp:"⫛",models:"⊧",mopf:"𝕞",mscr:"𝓂",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nLeftarrow:"⇍",nlArr:"⇍",nLeftrightarrow:"⇎",nhArr:"⇎",nLl:"⋘̸",nLt:"≪⃒",nRightarrow:"⇏",nrArr:"⇏",nVDash:"⊯",nVdash:"⊮",nacute:"ń",nang:"∠⃒",napE:"⩰̸",napid:"≋̸",napos:"ʼn",natur:"♮",natural:"♮",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",neArr:"⇗",nearhk:"⤤",nedot:"≐̸",nesear:"⤨",toea:"⤨",nfr:"𝔫",nharr:"↮",nleftrightarrow:"↮",nhpar:"⫲",nis:"⋼",nisd:"⋺",njcy:"њ",nlE:"≦̸",nleqq:"≦̸",nlarr:"↚",nleftarrow:"↚",nldr:"‥",nopf:"𝕟",not:"¬",notinE:"⋹̸",notindot:"⋵̸",notinvb:"⋷",notinvc:"⋶",notnivb:"⋾",notnivc:"⋽",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",nrarr:"↛",nrightarrow:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nscr:"𝓃",nsub:"⊄",nsubE:"⫅̸",nsubseteqq:"⫅̸",nsup:"⊅",nsupE:"⫆̸",nsupseteqq:"⫆̸",ntilde:"ñ",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwnear:"⤧",oacute:"ó",ocirc:"ô",ocy:"о",odblac:"ő",odiv:"⨸",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograve:"ò",ogt:"⧁",ohbar:"⦵",olcir:"⦾",olcross:"⦻",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",oopf:"𝕠",opar:"⦷",operp:"⦹",or:"∨",vee:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",oscr:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oslash:"ø",osol:"⊘",otilde:"õ",otimesas:"⨶",ouml:"ö",ovbar:"⌽",para:"¶",parsim:"⫳",parsl:"⫽",pcy:"п",percnt:"%",period:".",permil:"‰",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",straightphi:"ϕ",varphi:"ϕ",phone:"☎",pi:"π",piv:"ϖ",varpi:"ϖ",planckh:"ℎ",plus:"+",plusacir:"⨣",pluscir:"⨢",plusdu:"⨥",pluse:"⩲",plussim:"⨦",plustwo:"⨧",pointint:"⨕",popf:"𝕡",pound:"£",prE:"⪳",prap:"⪷",precapprox:"⪷",precnapprox:"⪹",prnap:"⪹",precneqq:"⪵",prnE:"⪵",precnsim:"⋨",prnsim:"⋨",prime:"′",profalar:"⌮",profline:"⌒",profsurf:"⌓",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:" ",qfr:"𝔮",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quatint:"⨖",quest:"?",rAtail:"⤜",rHar:"⥤",race:"∽̱",racute:"ŕ",raemptyv:"⦳",rangd:"⦒",range:"⦥",raquo:"»",rarrap:"⥵",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rightarrowtail:"↣",rarrw:"↝",rightsquigarrow:"↝",ratail:"⤚",ratio:"∶",rbbrk:"❳",rbrace:"}",rcub:"}",rbrack:"]",rsqb:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdsh:"↳",rect:"▭",rfisht:"⥽",rfr:"𝔯",rharul:"⥬",rho:"ρ",rhov:"ϱ",varrho:"ϱ",rightrightarrows:"⇉",rrarr:"⇉",rightthreetimes:"⋌",rthree:"⋌",ring:"˚",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rsaquo:"›",rscr:"𝓇",rtimes:"⋊",rtri:"▹",triangleright:"▹",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",scE:"⪴",scap:"⪸",succapprox:"⪸",scaron:"š",scedil:"ş",scirc:"ŝ",scnE:"⪶",succneqq:"⪶",scnap:"⪺",succnapprox:"⪺",scnsim:"⋩",succnsim:"⋩",scpolint:"⨓",scy:"с",sdot:"⋅",sdote:"⩦",seArr:"⇘",sect:"§",semi:";",seswar:"⤩",tosa:"⤩",sext:"✶",sfr:"𝔰",sharp:"♯",shchcy:"щ",shcy:"ш",shy:"­",sigma:"σ",sigmaf:"ς",sigmav:"ς",varsigma:"ς",simdot:"⩪",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",smashp:"⨳",smeparsl:"⧤",smile:"⌣",ssmile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",sqcaps:"⊓︀",sqcups:"⊔︀",sscr:"𝓈",star:"☆",sub:"⊂",subset:"⊂",subE:"⫅",subseteqq:"⫅",subdot:"⪽",subedot:"⫃",submult:"⫁",subnE:"⫋",subsetneqq:"⫋",subne:"⊊",subsetneq:"⊊",subplus:"⪿",subrarr:"⥹",subsim:"⫇",subsub:"⫕",subsup:"⫓",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",supE:"⫆",supseteqq:"⫆",supdot:"⪾",supdsub:"⫘",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supsetneqq:"⫌",supne:"⊋",supsetneq:"⊋",supplus:"⫀",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swnwar:"⤪",szlig:"ß",target:"⌖",tau:"τ",tcaron:"ť",tcedil:"ţ",tcy:"т",telrec:"⌕",tfr:"𝔱",theta:"θ",thetasym:"ϑ",thetav:"ϑ",vartheta:"ϑ",thorn:"þ",times:"×",timesbar:"⨱",timesd:"⨰",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tprime:"‴",triangle:"▵",utri:"▵",triangleq:"≜",trie:"≜",tridot:"◬",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",uHar:"⥣",uacute:"ú",ubrcy:"ў",ubreve:"ŭ",ucirc:"û",ucy:"у",udblac:"ű",ufisht:"⥾",ufr:"𝔲",ugrave:"ù",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",uogon:"ų",uopf:"𝕦",upsi:"υ",upsilon:"υ",upuparrows:"⇈",uuarr:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",uuml:"ü",uwangle:"⦧",vBar:"⫨",vBarv:"⫩",vangrt:"⦜",varsubsetneq:"⊊︀",vsubne:"⊊︀",varsubsetneqq:"⫋︀",vsubnE:"⫋︀",varsupsetneq:"⊋︀",vsupne:"⊋︀",varsupsetneqq:"⫌︀",vsupnE:"⫌︀",vcy:"в",veebar:"⊻",veeeq:"≚",vellip:"⋮",vfr:"𝔳",vopf:"𝕧",vscr:"𝓋",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedgeq:"≙",weierp:"℘",wp:"℘",wfr:"𝔴",wopf:"𝕨",wscr:"𝓌",xfr:"𝔵",xi:"ξ",xnis:"⋻",xopf:"𝕩",xscr:"𝓍",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"‍",zwnj:"‌"},u5="",Ao.ngsp=u5,$7=[/@/,/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//],u(tg,"Ls"),c5=(Pi=class{static fromArray(e){return e?(tg("interpolation",e),new Pi(e[0],e[1])):zc}constructor(e,t){this.start=e,this.end=t}},u(Pi,"t"),Pi),zc=new c5("{{","}}"),Ni=(Lc=class extends uc{constructor(e,t,r){super(r,e),this.tokenType=t}},u(Lc,"ft"),Lc),j7=(Mc=class{constructor(e,t,r){this.tokens=e,this.errors=t,this.nonNormalizedIcuExpressions=r}},u(Mc,"$r"),Mc),u(rg,"Ws"),d5=/\r\n?/g,u(jr,"je"),u(qu,"Rs"),u(ng,"ho"),function(e){e.HEX="hexadecimal",e.DEC="decimal"}(Hi||(Hi={})),$i=(Oc=class{constructor(e){this.error=e}},u(Oc,"dt"),Oc),V7=(Pc=class{constructor(e,t,r){this._getTagContentType=t,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this.nonNormalizedIcuExpressions=[],this._tokenizeIcu=r.tokenizeExpansionForms||!1,this._interpolationConfig=r.interpolationConfig||zc,this._leadingTriviaCodePoints=r.leadingTriviaChars&&r.leadingTriviaChars.map(a=>a.codePointAt(0)||0),this._canSelfClose=r.canSelfClose||!1,this._allowHtmComponentClosingTags=r.allowHtmComponentClosingTags||!1;let n=r.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=r.escapedString?new p5(e,n):new Nc(e,n),this._preserveLineEndings=r.preserveLineEndings||!1,this._i18nNormalizeLineEndingsInICUs=r.i18nNormalizeLineEndingsInICUs||!1,this._tokenizeBlocks=r.tokenizeBlocks??!0,this._tokenizeLet=r.tokenizeLet??!0;try{this._cursor.init()}catch(a){this.handleError(a)}}_processCarriageReturns(e){return this._preserveLineEndings?e:e.replace(d5,` +`)}tokenize(){for(;this._cursor.peek()!==0;){let e=this._cursor.clone();try{if(this._attemptCharCode(60))if(this._attemptCharCode(33))this._attemptStr("[CDATA[")?this._consumeCdata(e):this._attemptStr("--")?this._consumeComment(e):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(e):this._consumeBogusComment(e);else if(this._attemptCharCode(47))this._consumeTagClose(e);else{let t=this._cursor.clone();this._attemptCharCode(63)?(this._cursor=t,this._consumeBogusComment(e)):this._consumeTagOpen(e)}else this._tokenizeLet&&this._cursor.peek()===64&&!this._inInterpolation&&this._attemptStr("@let")?this._consumeLetDeclaration(e):this._tokenizeBlocks&&this._attemptCharCode(64)?this._consumeBlockStart(e):this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansionCase()&&!this._isInExpansionForm()&&this._attemptCharCode(125)?this._consumeBlockEnd(e):this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeWithInterpolation(5,8,()=>this._isTextEnd(),()=>this._isTagStart())}catch(t){this.handleError(t)}}this._beginToken(34),this._endToken([])}_getBlockName(){let e=!1,t=this._cursor.clone();return this._attemptCharCodeUntilFn(r=>xo(r)?!e:Gu(r)?(e=!0,!1):!0),this._cursor.getChars(t).trim()}_consumeBlockStart(e){this._beginToken(25,e);let t=this._endToken([this._getBlockName()]);if(this._cursor.peek()===40)if(this._cursor.advance(),this._consumeBlockParameters(),this._attemptCharCodeUntilFn(ue),this._attemptCharCode(41))this._attemptCharCodeUntilFn(ue);else{t.type=29;return}this._attemptCharCode(123)?(this._beginToken(26),this._endToken([])):t.type=29}_consumeBlockEnd(e){this._beginToken(27,e),this._endToken([])}_consumeBlockParameters(){for(this._attemptCharCodeUntilFn(Ku);this._cursor.peek()!==41&&this._cursor.peek()!==0;){this._beginToken(28);let e=this._cursor.clone(),t=null,r=0;for(;this._cursor.peek()!==59&&this._cursor.peek()!==0||t!==null;){let n=this._cursor.peek();if(n===92)this._cursor.advance();else if(n===t)t=null;else if(t===null&&Li(n))t=n;else if(n===40&&t===null)r++;else if(n===41&&t===null){if(r===0)break;r>0&&r--}this._cursor.advance()}this._endToken([this._cursor.getChars(e)]),this._attemptCharCodeUntilFn(Ku)}}_consumeLetDeclaration(e){if(this._beginToken(30,e),xo(this._cursor.peek()))this._attemptCharCodeUntilFn(ue);else{let r=this._endToken([this._cursor.getChars(e)]);r.type=33;return}let t=this._endToken([this._getLetDeclarationName()]);if(this._attemptCharCodeUntilFn(ue),!this._attemptCharCode(61)){t.type=33;return}this._attemptCharCodeUntilFn(r=>ue(r)&&!zi(r)),this._consumeLetDeclarationValue(),this._cursor.peek()===59?(this._beginToken(32),this._endToken([]),this._cursor.advance()):(t.type=33,t.sourceSpan=this._cursor.getSpan(e))}_getLetDeclarationName(){let e=this._cursor.clone(),t=!1;return this._attemptCharCodeUntilFn(r=>So(r)||r==36||r===95||t&&Ml(r)?(t=!0,!1):!0),this._cursor.getChars(e).trim()}_consumeLetDeclarationValue(){let e=this._cursor.clone();for(this._beginToken(31,e);this._cursor.peek()!==0;){let t=this._cursor.peek();if(t===59)break;Li(t)&&(this._cursor.advance(),this._attemptCharCodeUntilFn(r=>r===92?(this._cursor.advance(),!1):r===t)),this._cursor.advance()}this._endToken([this._cursor.getChars(e)])}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(lg(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===125){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(e,t=this._cursor.clone()){this._currentTokenStart=t,this._currentTokenType=e}_endToken(e,t){if(this._currentTokenStart===null)throw new Ni("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(t));if(this._currentTokenType===null)throw new Ni("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));let r={type:this._currentTokenType,parts:e,sourceSpan:(t??this._cursor).getSpan(this._currentTokenStart,this._leadingTriviaCodePoints)};return this.tokens.push(r),this._currentTokenStart=null,this._currentTokenType=null,r}_createError(e,t){this._isInExpansionForm()&&(e+=` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);let r=new Ni(e,this._currentTokenType,t);return this._currentTokenStart=null,this._currentTokenType=null,new $i(r)}handleError(e){if(e instanceof ji&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),e instanceof $i)this.errors.push(e.error);else throw e}_attemptCharCode(e){return this._cursor.peek()===e?(this._cursor.advance(),!0):!1}_attemptCharCodeCaseInsensitive(e){return sg(this._cursor.peek(),e)?(this._cursor.advance(),!0):!1}_requireCharCode(e){let t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(jr(this._cursor.peek()),this._cursor.getSpan(t))}_attemptStr(e){let t=e.length;if(this._cursor.charsLeft()this._attemptStr("-->")),this._beginToken(11),this._requireStr("-->"),this._endToken([])}_consumeBogusComment(e){this._beginToken(10,e),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(11),this._cursor.advance(),this._endToken([])}_consumeCdata(e){this._beginToken(12,e),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("]]>")),this._beginToken(13),this._requireStr("]]>"),this._endToken([])}_consumeDocType(e){this._beginToken(18,e),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(19),this._cursor.advance(),this._endToken([])}_consumePrefixAndName(){let e=this._cursor.clone(),t="";for(;this._cursor.peek()!==58&&!ag(this._cursor.peek());)this._cursor.advance();let r;this._cursor.peek()===58?(t=this._cursor.getChars(e),this._cursor.advance(),r=this._cursor.clone()):r=e,this._requireCharCodeUntilFn(Wu,t===""?0:1);let n=this._cursor.getChars(r);return[t,n]}_consumeTagOpen(e){let t,r,n,a=[];try{if(!So(this._cursor.peek()))throw this._createError(jr(this._cursor.peek()),this._cursor.getSpan(e));for(n=this._consumeTagOpenStart(e),r=n.parts[0],t=n.parts[1],this._attemptCharCodeUntilFn(ue);this._cursor.peek()!==47&&this._cursor.peek()!==62&&this._cursor.peek()!==60&&this._cursor.peek()!==0;){let[i,s]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(ue),this._attemptCharCode(61)){this._attemptCharCodeUntilFn(ue);let c=this._consumeAttributeValue();a.push({prefix:i,name:s,value:c})}else a.push({prefix:i,name:s});this._attemptCharCodeUntilFn(ue)}this._consumeTagOpenEnd()}catch(i){if(i instanceof $i){n?n.type=4:(this._beginToken(5,e),this._endToken(["<"]));return}throw i}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===2)return;let o=this._getTagContentType(t,r,this._fullNameStack.length>0,a);this._handleFullNameStackForTagOpen(r,t),o===ft.RAW_TEXT?this._consumeRawTextWithTagClose(r,t,!1):o===ft.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(r,t,!0)}_consumeRawTextWithTagClose(e,t,r){this._consumeRawText(r,()=>!this._attemptCharCode(60)||!this._attemptCharCode(47)||(this._attemptCharCodeUntilFn(ue),!this._attemptStrCaseInsensitive(e?`${e}:${t}`:t))?!1:(this._attemptCharCodeUntilFn(ue),this._attemptCharCode(62))),this._beginToken(3),this._requireCharCodeUntilFn(n=>n===62,3),this._cursor.advance(),this._endToken([e,t]),this._handleFullNameStackForTagClose(e,t)}_consumeTagOpenStart(e){this._beginToken(0,e);let t=this._consumePrefixAndName();return this._endToken(t)}_consumeAttributeName(){let e=this._cursor.peek();if(e===39||e===34)throw this._createError(jr(e),this._cursor.getSpan());this._beginToken(14);let t=this._consumePrefixAndName();return this._endToken(t),t}_consumeAttributeValue(){let e;if(this._cursor.peek()===39||this._cursor.peek()===34){let t=this._cursor.peek();this._consumeQuote(t);let r=u(()=>this._cursor.peek()===t,"n");e=this._consumeWithInterpolation(16,17,r,r),this._consumeQuote(t)}else{let t=u(()=>Wu(this._cursor.peek()),"r");e=this._consumeWithInterpolation(16,17,t,t)}return e}_consumeQuote(e){this._beginToken(15),this._requireCharCode(e),this._endToken([String.fromCodePoint(e)])}_consumeTagOpenEnd(){let e=this._attemptCharCode(47)?2:1;this._beginToken(e),this._requireCharCode(62),this._endToken([])}_consumeTagClose(e){if(this._beginToken(3,e),this._attemptCharCodeUntilFn(ue),this._allowHtmComponentClosingTags&&this._attemptCharCode(47))this._attemptCharCodeUntilFn(ue),this._requireCharCode(62),this._endToken([]);else{let[t,r]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(ue),this._requireCharCode(62),this._endToken([t,r]),this._handleFullNameStackForTagClose(t,r)}}_consumeExpansionFormStart(){this._beginToken(20),this._requireCharCode(123),this._endToken([]),this._expansionCaseStack.push(20),this._beginToken(7);let e=this._readUntil(44),t=this._processCarriageReturns(e);if(this._i18nNormalizeLineEndingsInICUs)this._endToken([t]);else{let n=this._endToken([e]);t!==e&&this.nonNormalizedIcuExpressions.push(n)}this._requireCharCode(44),this._attemptCharCodeUntilFn(ue),this._beginToken(7);let r=this._readUntil(44);this._endToken([r]),this._requireCharCode(44),this._attemptCharCodeUntilFn(ue)}_consumeExpansionCaseStart(){this._beginToken(21);let e=this._readUntil(123).trim();this._endToken([e]),this._attemptCharCodeUntilFn(ue),this._beginToken(22),this._requireCharCode(123),this._endToken([]),this._attemptCharCodeUntilFn(ue),this._expansionCaseStack.push(22)}_consumeExpansionCaseEnd(){this._beginToken(23),this._requireCharCode(125),this._endToken([]),this._attemptCharCodeUntilFn(ue),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(24),this._requireCharCode(125),this._endToken([]),this._expansionCaseStack.pop()}_consumeWithInterpolation(e,t,r,n){this._beginToken(e);let a=[];for(;!r();){let i=this._cursor.clone();this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(this._endToken([this._processCarriageReturns(a.join(""))],i),a.length=0,this._consumeInterpolation(t,i,n),this._beginToken(e)):this._cursor.peek()===38?(this._endToken([this._processCarriageReturns(a.join(""))]),a.length=0,this._consumeEntity(e),this._beginToken(e)):a.push(this._readChar())}this._inInterpolation=!1;let o=this._processCarriageReturns(a.join(""));return this._endToken([o]),o}_consumeInterpolation(e,t,r){let n=[];this._beginToken(e,t),n.push(this._interpolationConfig.start);let a=this._cursor.clone(),o=null,i=!1;for(;this._cursor.peek()!==0&&(r===null||!r());){let s=this._cursor.clone();if(this._isTagStart()){this._cursor=s,n.push(this._getProcessedChars(a,s)),this._endToken(n);return}if(o===null)if(this._attemptStr(this._interpolationConfig.end)){n.push(this._getProcessedChars(a,s)),n.push(this._interpolationConfig.end),this._endToken(n);return}else this._attemptStr("//")&&(i=!0);let c=this._cursor.peek();this._cursor.advance(),c===92?this._cursor.advance():c===o?o=null:!i&&o===null&&Li(c)&&(o=c)}n.push(this._getProcessedChars(a,this._cursor)),this._endToken(n)}_getProcessedChars(e,t){return this._processCarriageReturns(t.getChars(e))}_isTextEnd(){return!!(this._isTagStart()||this._cursor.peek()===0||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===125&&this._isInExpansionCase())||this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansion()&&(this._isBlockStart()||this._cursor.peek()===64||this._cursor.peek()===125))}_isTagStart(){if(this._cursor.peek()===60){let e=this._cursor.clone();e.advance();let t=e.peek();if(97<=t&&t<=122||65<=t&&t<=90||t===47||t===33)return!0}return!1}_isBlockStart(){if(this._tokenizeBlocks&&this._cursor.peek()===64){let e=this._cursor.clone();if(e.advance(),Gu(e.peek()))return!0}return!1}_readUntil(e){let t=this._cursor.clone();return this._attemptUntilChar(e),this._cursor.getChars(t)}_isInExpansion(){return this._isInExpansionCase()||this._isInExpansionForm()}_isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===22}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===20}isExpansionFormStart(){if(this._cursor.peek()!==123)return!1;if(this._interpolationConfig){let e=this._cursor.clone(),t=this._attemptStr(this._interpolationConfig.start);return this._cursor=e,!t}return!0}_handleFullNameStackForTagOpen(e,t){let r=Va(e,t);(this._fullNameStack.length===0||this._fullNameStack[this._fullNameStack.length-1]===r)&&this._fullNameStack.push(r)}_handleFullNameStackForTagClose(e,t){let r=Va(e,t);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]===r&&this._fullNameStack.pop()}},u(Pc,"Or"),Pc),u(ue,"b"),u(Wu,"$s"),u(ag,"mo"),u(og,"fo"),u(ig,"go"),u(lg,"Co"),u(sg,"So"),u(sd,"Os"),u(Gu,"Ms"),u(Ku,"qs"),u(Qb,"_o"),Nc=(Wa=class{constructor(e,t){if(e instanceof Wa){this.file=e.file,this.input=e.input,this.end=e.end;let r=e.state;this.state={peek:r.peek,offset:r.offset,line:r.line,column:r.column}}else{if(!t)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=e,this.input=e.content,this.end=t.endPos,this.state={peek:-1,offset:t.startPos,line:t.startLine,column:t.startCol}}}clone(){return new Wa(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(e){return this.state.offset-e.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(e,t){e=e||this;let r=e;if(t)for(;this.diff(e)>0&&t.indexOf(e.peek())!==-1;)r===e&&(e=e.clone()),e.advance();let n=this.locationFromCursor(e),a=this.locationFromCursor(this),o=r!==e?this.locationFromCursor(r):n;return new J(n,a,o)}getChars(e){return this.input.substring(e.state.offset,this.state.offset)}charAt(e){return this.input.charCodeAt(e)}advanceState(e){if(e.offset>=this.end)throw this.state=e,new ji('Unexpected character "EOF"',this);let t=this.charAt(e.offset);t===10?(e.line++,e.column=0):zi(t)||e.column++,e.offset++,this.updatePeek(e)}updatePeek(e){e.peek=e.offset>=this.end?0:this.charAt(e.offset)}locationFromCursor(e){return new Vl(e.file,e.state.offset,e.state.line,e.state.column)}},u(Wa,"t"),Wa),p5=(Ga=class extends Nc{constructor(e,t){e instanceof Ga?(super(e),this.internalState={...e.internalState}):(super(e,t),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new Ga(this)}getChars(e){let t=e.clone(),r="";for(;t.internalState.offsetthis.internalState.peek,"e");if(e()===92)if(this.internalState={...this.state},this.advanceState(this.internalState),e()===110)this.state.peek=10;else if(e()===114)this.state.peek=13;else if(e()===118)this.state.peek=11;else if(e()===116)this.state.peek=9;else if(e()===98)this.state.peek=8;else if(e()===102)this.state.peek=12;else if(e()===117)if(this.advanceState(this.internalState),e()===123){this.advanceState(this.internalState);let t=this.clone(),r=0;for(;e()!==125;)this.advanceState(this.internalState),r++;this.state.peek=this.decodeHexDigits(t,r)}else{let t=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(t,4)}else if(e()===120){this.advanceState(this.internalState);let t=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(t,2)}else if($u(e())){let t="",r=0,n=this.clone();for(;$u(e())&&r<3;)n=this.clone(),t+=String.fromCodePoint(e()),this.advanceState(this.internalState),r++;this.state.peek=parseInt(t,8),this.internalState=n.internalState}else zi(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(e,t){let r=this.input.slice(e.internalState.offset,e.internalState.offset+t),n=parseInt(r,16);if(isNaN(n))throw e.state=e.internalState,new ji("Invalid hexadecimal escape sequence",e);return n}},u(Ga,"t"),Ga),ji=(Hc=class{constructor(e,t){this.msg=e,this.cursor=t}},u(Hc,"gt"),Hc),Fe=(Vi=class extends uc{static create(e,t,r){return new Vi(e,t,r)}constructor(e,t,r){super(t,r),this.elementName=e}},u(Vi,"t"),Vi),f5=($c=class{constructor(e,t){this.rootNodes=e,this.errors=t}},u($c,"Vr"),$c),h5=(jc=class{constructor(e){this.getTagDefinition=e}parse(e,t,r,n=!1,a){let o=u(h=>(g,...v)=>h(g.toLowerCase(),...v),"a"),i=n?this.getTagDefinition:o(this.getTagDefinition),s=u(h=>i(h).getContentType(),"u"),c=n?a:o(a),d=rg(e,t,a?(h,g,v,b)=>{let D=c(h,g,v,b);return D!==void 0?D:s(h)}:s,r),f=r&&r.canSelfClose||!1,m=r&&r.allowHtmComponentClosingTags||!1,p=new m5(d.tokens,i,f,m,n);return p.build(),new f5(p.rootNodes,d.errors.concat(p.errors))}},u(jc,"nr"),jc),m5=(Ui=class{constructor(e,t,r,n,a){this.tokens=e,this.getTagDefinition=t,this.canSelfClose=r,this.allowHtmComponentClosingTags=n,this.isTagNameCaseSensitive=a,this._index=-1,this._containerStack=[],this.rootNodes=[],this.errors=[],this._advance()}build(){for(;this._peek.type!==34;)this._peek.type===0||this._peek.type===4?this._consumeStartTag(this._advance()):this._peek.type===3?(this._closeVoidElement(),this._consumeEndTag(this._advance())):this._peek.type===12?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===10?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===5||this._peek.type===7||this._peek.type===6?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===20?this._consumeExpansion(this._advance()):this._peek.type===25?(this._closeVoidElement(),this._consumeBlockOpen(this._advance())):this._peek.type===27?(this._closeVoidElement(),this._consumeBlockClose(this._advance())):this._peek.type===29?(this._closeVoidElement(),this._consumeIncompleteBlock(this._advance())):this._peek.type===30?(this._closeVoidElement(),this._consumeLet(this._advance())):this._peek.type===18?this._consumeDocType(this._advance()):this._peek.type===33?(this._closeVoidElement(),this._consumeIncompleteLet(this._advance())):this._advance();for(let e of this._containerStack)e instanceof Ur&&this.errors.push(Fe.create(e.name,e.sourceSpan,`Unclosed block "${e.name}"`))}_advance(){let e=this._peek;return this._index0)return this.errors=this.errors.concat(a.errors),null;let o=new J(e.sourceSpan.start,n.sourceSpan.end,e.sourceSpan.fullStart),i=new J(t.sourceSpan.start,n.sourceSpan.end,t.sourceSpan.fullStart);return new o5(e.parts[0],a.rootNodes,o,e.sourceSpan,i)}_collectExpansionExpTokens(e){let t=[],r=[22];for(;;){if((this._peek.type===20||this._peek.type===22)&&r.push(this._peek.type),this._peek.type===23)if(Yu(r,22)){if(r.pop(),r.length===0)return t}else return this.errors.push(Fe.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===24)if(Yu(r,20))r.pop();else return this.errors.push(Fe.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===34)return this.errors.push(Fe.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;t.push(this._advance())}}_getText(e){let t=e.parts[0];if(t.length>0&&t[0]==` +`){let r=this._getClosestParentElement();r!=null&&r.children.length==0&&this.getTagDefinition(r.name).ignoreFirstLf&&(t=t.substring(1))}return t}_consumeText(e){let t=[e],r=e.sourceSpan,n=e.parts[0];if(n.length>0&&n[0]===` +`){let a=this._getContainer();a!=null&&a.children.length===0&&this.getTagDefinition(a.name).ignoreFirstLf&&(n=n.substring(1),t[0]={type:e.type,sourceSpan:e.sourceSpan,parts:[n]})}for(;this._peek.type===8||this._peek.type===5||this._peek.type===9;)e=this._advance(),t.push(e),e.type===8?n+=e.parts.join("").replace(/&([^;]+);/g,Ju):e.type===9?n+=e.parts[0]:n+=e.parts.join("");if(n.length>0){let a=e.sourceSpan;this._addToParent(new r5(n,new J(r.start,a.end,r.fullStart,r.details),t))}}_closeVoidElement(){let e=this._getContainer();e instanceof rr&&this.getTagDefinition(e.name).isVoid&&this._containerStack.pop()}_consumeStartTag(e){let[t,r]=e.parts,n=[];for(;this._peek.type===14;)n.push(this._consumeAttr(this._advance()));let a=this._getElementFullName(t,r,this._getClosestParentElement()),o=!1;if(this._peek.type===2){this._advance(),o=!0;let p=this.getTagDefinition(a);this.canSelfClose||p.canSelfClose||uo(a)!==null||p.isVoid||this.errors.push(Fe.create(a,e.sourceSpan,`Only void, custom and foreign elements can be self closed "${e.parts[1]}"`))}else this._peek.type===1&&(this._advance(),o=!1);let i=this._peek.sourceSpan.fullStart,s=new J(e.sourceSpan.start,i,e.sourceSpan.fullStart),c=new J(e.sourceSpan.start,i,e.sourceSpan.fullStart),d=new J(e.sourceSpan.start.moveBy(1),e.sourceSpan.end),f=new rr(a,n,[],s,c,void 0,d),m=this._getContainer();this._pushContainer(f,m instanceof rr&&this.getTagDefinition(m.name).isClosedByChild(f.name)),o?this._popContainer(a,rr,s):e.type===4&&(this._popContainer(a,rr,null),this.errors.push(Fe.create(a,s,`Opening tag "${a}" not terminated.`)))}_pushContainer(e,t){t&&this._containerStack.pop(),this._addToParent(e),this._containerStack.push(e)}_consumeEndTag(e){let t=this.allowHtmComponentClosingTags&&e.parts.length===0?null:this._getElementFullName(e.parts[0],e.parts[1],this._getClosestParentElement());if(t&&this.getTagDefinition(t).isVoid)this.errors.push(Fe.create(t,e.sourceSpan,`Void elements do not have end tags "${e.parts[1]}"`));else if(!this._popContainer(t,rr,e.sourceSpan)){let r=`Unexpected closing tag "${t}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;this.errors.push(Fe.create(t,e.sourceSpan,r))}}_popContainer(e,t,r){let n=!1;for(let a=this._containerStack.length-1;a>=0;a--){let o=this._containerStack[a];if(uo(o.name)?o.name===e:(e==null||o.name.toLowerCase()===e.toLowerCase())&&o instanceof t)return o.endSourceSpan=r,o.sourceSpan.end=r!==null?r.end:o.sourceSpan.end,this._containerStack.splice(a,this._containerStack.length-a),!n;(o instanceof Ur||o instanceof rr&&!this.getTagDefinition(o.name).closedByParent)&&(n=!0)}return!1}_consumeAttr(e){let t=Va(e.parts[0],e.parts[1]),r=e.sourceSpan.end,n;this._peek.type===15&&(n=this._advance());let a="",o=[],i,s;if(this._peek.type===16)for(i=this._peek.sourceSpan,s=this._peek.sourceSpan.end;this._peek.type===16||this._peek.type===17||this._peek.type===9;){let d=this._advance();o.push(d),d.type===17?a+=d.parts.join("").replace(/&([^;]+);/g,Ju):d.type===9?a+=d.parts[0]:a+=d.parts.join(""),s=r=d.sourceSpan.end}this._peek.type===15&&(s=r=this._advance().sourceSpan.end);let c=i&&s&&new J((n==null?void 0:n.sourceSpan.start)??i.start,s,(n==null?void 0:n.sourceSpan.fullStart)??i.fullStart);return new i5(t,a,new J(e.sourceSpan.start,r,e.sourceSpan.fullStart),e.sourceSpan,c,o.length>0?o:void 0,void 0)}_consumeBlockOpen(e){let t=[];for(;this._peek.type===28;){let i=this._advance();t.push(new Bc(i.parts[0],i.sourceSpan))}this._peek.type===26&&this._advance();let r=this._peek.sourceSpan.fullStart,n=new J(e.sourceSpan.start,r,e.sourceSpan.fullStart),a=new J(e.sourceSpan.start,r,e.sourceSpan.fullStart),o=new Ur(e.parts[0],t,[],n,e.sourceSpan,a);this._pushContainer(o,!1)}_consumeBlockClose(e){this._popContainer(null,Ur,e.sourceSpan)||this.errors.push(Fe.create(null,e.sourceSpan,'Unexpected closing block. The block may have been closed earlier. If you meant to write the } character, you should use the "}" HTML entity instead.'))}_consumeIncompleteBlock(e){let t=[];for(;this._peek.type===28;){let i=this._advance();t.push(new Bc(i.parts[0],i.sourceSpan))}let r=this._peek.sourceSpan.fullStart,n=new J(e.sourceSpan.start,r,e.sourceSpan.fullStart),a=new J(e.sourceSpan.start,r,e.sourceSpan.fullStart),o=new Ur(e.parts[0],t,[],n,e.sourceSpan,a);this._pushContainer(o,!1),this._popContainer(null,Ur,null),this.errors.push(Fe.create(e.parts[0],n,`Incomplete block "${e.parts[0]}". If you meant to write the @ character, you should use the "@" HTML entity instead.`))}_consumeLet(e){let t=e.parts[0],r,n;if(this._peek.type!==31){this.errors.push(Fe.create(e.parts[0],e.sourceSpan,`Invalid @let declaration "${t}". Declaration must have a value.`));return}else r=this._advance();if(this._peek.type!==32){this.errors.push(Fe.create(e.parts[0],e.sourceSpan,`Unterminated @let declaration "${t}". Declaration must be terminated with a semicolon.`));return}else n=this._advance();let a=n.sourceSpan.fullStart,o=new J(e.sourceSpan.start,a,e.sourceSpan.fullStart),i=e.sourceSpan.toString().lastIndexOf(t),s=e.sourceSpan.start.moveBy(i),c=new J(s,e.sourceSpan.end),d=new Ic(t,r.parts[0],o,c,r.sourceSpan);this._addToParent(d)}_consumeIncompleteLet(e){let t=e.parts[0]??"",r=t?` "${t}"`:"";if(t.length>0){let n=e.sourceSpan.toString().lastIndexOf(t),a=e.sourceSpan.start.moveBy(n),o=new J(a,e.sourceSpan.end),i=new J(e.sourceSpan.start,e.sourceSpan.start.moveBy(0)),s=new Ic(t,"",e.sourceSpan,o,i);this._addToParent(s)}this.errors.push(Fe.create(e.parts[0],e.sourceSpan,`Incomplete @let declaration${r}. @let declarations must be written as \`@let = ;\``))}_getContainer(){return this._containerStack.length>0?this._containerStack[this._containerStack.length-1]:null}_getClosestParentElement(){for(let e=this._containerStack.length-1;e>-1;e--)if(this._containerStack[e]instanceof rr)return this._containerStack[e];return null}_addToParent(e){let t=this._getContainer();t===null?this.rootNodes.push(e):t.children.push(e)}_getElementFullName(e,t,r){if(e===""&&(e=this.getTagDefinition(t).implicitNamespacePrefix||"",e===""&&r!=null)){let n=Lo(r.name)[1];this.getTagDefinition(n).preventNamespaceInheritance||(e=uo(r.name))}return Va(e,t)}},u(Ui,"t"),Ui),u(Yu,"zs"),u(Ju,"Gs"),g5=(Vc=class extends h5{constructor(){super(Ol)}parse(e,t,r,n=!1,a){return super.parse(e,t,r,n,a)}},u(Vc,"sr"),Vc),qi=null,U7=u(()=>(qi||(qi=new g5),qi),"Eo"),u(ud,"zr"),u(ug,"Ao"),q7=ug,$n=3,u(e7,"Do"),u(cg,"vo"),W7=cg,Ka={attrs:!0,children:!0,cases:!0,expression:!0},Uc=new Set(["parent"]),G7=(qr=class{constructor(e={}){for(let t of new Set([...Uc,...Object.keys(e)]))this.setProperty(t,e[t])}setProperty(e,t){if(this[e]!==t){if(e in Ka&&(t=t.map(r=>this.createChild(r))),!Uc.has(e)){this[e]=t;return}Object.defineProperty(this,e,{value:t,enumerable:!1,configurable:!0})}}map(e){let t;for(let r in Ka){let n=this[r];if(n){let a=dg(n,o=>o.map(e));t!==n&&(t||(t=new qr({parent:this.parent})),t.setProperty(r,a))}}if(t)for(let r in this)r in Ka||(t[r]=this[r]);return e(t||this)}walk(e){for(let t in Ka){let r=this[t];if(r)for(let n=0;n[e.fullName,e.value]))}},u(qr,"t"),qr),u(dg,"yo"),K7=[{regex:/^(\[if([^\]]*)\]>)(.*?)a==="lang"&&o!=="html"&&o!==""&&o!==void 0))}}),w5=Ua({name:"lwc",canSelfClose:!1}),D5={html:Hg},J7=ec});function nr(){}function E5(e,t,r,n,a){for(var o=[],i;t;)o.push(t),i=t.previousComponent,delete t.previousComponent,t=i;o.reverse();for(var s=0,c=o.length,d=0,f=0;sv.length?D:v}),m.value=e.join(h)}else m.value=e.join(r.slice(d,d+m.count));d+=m.count,m.added||(f+=m.count)}}var g=o[c-1];return c>1&&typeof g.value=="string"&&(g.added||g.removed)&&e.equals("",g.value)&&(o[c-2].value+=g.value,o.pop()),o}function ko(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ko=u(function(t){return typeof t},"$e"):ko=u(function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},"$e"),ko(e)}function Ul(e,t,r,n,a){t=t||[],r=r||[],n&&(e=n(a,e));var o;for(o=0;o=0?e.charAt(t+1)===` +`?"crlf":"cr":"lf"}function $s(e){switch(e){case"cr":return"\r";case"crlf":return`\r +`;default:return` +`}}function qp(e,t){let r;switch(t){case` +`:r=/\n/gu;break;case"\r":r=/\r/gu;break;case`\r +`:r=/\r\n/gu;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(t)}.`)}let n=e.match(r);return n?n.length:0}function Q7(e){return fi(!1,e,/\r\n?/gu,` +`)}function C5(e){if(typeof e=="string")return Tr;if(Array.isArray(e))return Gt;if(!e)return;let{type:t}=e;if(nf.has(t))return t}function x5(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}', +Expected it to be 'string' or 'object'.`;if(zr(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=$w([...nf].map(a=>`'${a}'`));return`Unexpected doc.type '${e.type}'. +Expected it to be ${n}.`}function S5(e,t,r,n){let a=[e];for(;a.length>0;){let o=a.pop();if(o===Md){r(a.pop());continue}r&&a.push(o,Md);let i=zr(o);if(!i)throw new cn(o);if((t==null?void 0:t(o))!==!1)switch(i){case Gt:case yt:{let s=i===Gt?o:o.parts;for(let c=s.length,d=c-1;d>=0;--d)a.push(s[d]);break}case Ve:a.push(o.flatContents,o.breakContents);break;case He:if(n&&o.expandedStates)for(let s=o.expandedStates.length,c=s-1;c>=0;--c)a.push(o.expandedStates[c]);else a.push(o.contents);break;case Yt:case Kt:case Jt:case bt:case Zt:a.push(o.contents);break;case Tr:case Er:case Vt:case Ut:case De:case Je:break;default:throw new cn(o)}}}function $o(e){return wt(e),{type:Kt,contents:e}}function un(e,t){return wt(t),{type:Yt,contents:t,n:e}}function md(e,t={}){return wt(e),Us(t.expandedStates,!0),{type:He,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function F5(e){return un(Number.NEGATIVE_INFINITY,e)}function A5(e){return un({type:"root"},e)}function k5(e){return un(-1,e)}function _5(e,t){return md(e[0],{...t,expandedStates:e})}function gd(e){return Us(e),{type:yt,parts:e}}function B5(e,t="",r={}){return wt(e),t!==""&&wt(t),{type:Ve,breakContents:e,flatContents:t,groupId:r.groupId}}function R5(e,t){return wt(e),{type:Jt,contents:e,groupId:t.groupId,negate:t.negate}}function ql(e){return wt(e),{type:Zt,contents:e}}function vd(e,t){wt(e),Us(t);let r=[];for(let n=0;n0){for(let a=0;a0?`, { ${f.join(", ")} }`:"";return`indentIfBreak(${n(o.contents)}${m})`}if(o.type===He){let f=[];o.break&&o.break!=="propagated"&&f.push("shouldBreak: true"),o.id&&f.push(`id: ${a(o.id)}`);let m=f.length>0?`, { ${f.join(", ")} }`:"";return o.expandedStates?`conditionalGroup([${o.expandedStates.map(p=>n(p)).join(",")}]${m})`:`group(${n(o.contents)}${m})`}if(o.type===yt)return`fill([${o.parts.map(f=>n(f)).join(", ")}])`;if(o.type===Zt)return"lineSuffix("+n(o.contents)+")";if(o.type===Ut)return"lineSuffixBoundary";if(o.type===bt)return`label(${JSON.stringify(o.label)}, ${n(o.contents)})`;throw new Error("Unknown doc type "+o.type)}function a(o){if(typeof o!="symbol")return JSON.stringify(String(o));if(o in t)return t[o];let i=o.description||"symbol";for(let s=0;;s++){let c=i+(s>0?` #${s}`:"");if(!r.has(c))return r.add(c),t[o]=`Symbol.for(${JSON.stringify(c)})`}}}function T5(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}function z5(e){return e>=4352&&e<=4447||e===8986||e===8987||e===9001||e===9002||e>=9193&&e<=9196||e===9200||e===9203||e===9725||e===9726||e===9748||e===9749||e>=9800&&e<=9811||e===9855||e===9875||e===9889||e===9898||e===9899||e===9917||e===9918||e===9924||e===9925||e===9934||e===9940||e===9962||e===9970||e===9971||e===9973||e===9978||e===9981||e===9989||e===9994||e===9995||e===10024||e===10060||e===10062||e>=10067&&e<=10069||e===10071||e>=10133&&e<=10135||e===10160||e===10175||e===11035||e===11036||e===11088||e===11093||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12771||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=19903||e>=19968&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||e===94192||e===94193||e>=94208&&e<=100343||e>=100352&&e<=101589||e>=101632&&e<=101640||e>=110576&&e<=110579||e>=110581&&e<=110587||e===110589||e===110590||e>=110592&&e<=110882||e===110898||e>=110928&&e<=110930||e===110933||e>=110948&&e<=110951||e>=110960&&e<=111355||e===126980||e===127183||e===127374||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||e===127568||e===127569||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||e===127988||e>=127992&&e<=128062||e===128064||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||e===128378||e===128405||e===128406||e===128420||e>=128507&&e<=128591||e>=128640&&e<=128709||e===128716||e>=128720&&e<=128722||e>=128725&&e<=128727||e>=128732&&e<=128735||e===128747||e===128748||e>=128756&&e<=128764||e>=128992&&e<=129003||e===129008||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129672||e>=129680&&e<=129725||e>=129727&&e<=129733||e>=129742&&e<=129755||e>=129760&&e<=129768||e>=129776&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}function L5(e){if(!e)return 0;if(!Uw.test(e))return e.length;e=e.replace(jw()," ");let t=0;for(let r of e){let n=r.codePointAt(0);n<=31||n>=127&&n<=159||n>=768&&n<=879||(t+=Vw(n)?1:2)}return t}function jo(e,t){if(typeof e=="string")return t(e);let r=new Map;return n(e);function n(o){if(r.has(o))return r.get(o);let i=a(o);return r.set(o,i),i}function a(o){switch(zr(o)){case Gt:return t(o.map(n));case yt:return t({...o,parts:o.parts.map(n)});case Ve:return t({...o,breakContents:n(o.breakContents),flatContents:n(o.flatContents)});case He:{let{expandedStates:i,contents:s}=o;return i?(i=i.map(n),s=i[0]):s=n(s),t({...o,contents:s,expandedStates:i})}case Yt:case Kt:case Jt:case bt:case Zt:return t({...o,contents:n(o.contents)});case Tr:case Er:case Vt:case Ut:case De:case Je:return t(o);default:throw new cn(o)}}}function Wl(e,t,r){let n=r,a=!1;function o(i){if(a)return!1;let s=t(i);s!==void 0&&(a=!0,n=s)}return u(o,"u"),Jl(e,o),n}function tw(e){if(e.type===He&&e.break||e.type===De&&e.hard||e.type===Je)return!0}function M5(e){return Wl(e,tw,!1)}function bd(e){if(e.length>0){let t=ge(!1,e,-1);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function rw(e){let t=new Set,r=[];function n(o){if(o.type===Je&&bd(r),o.type===He){if(r.push(o),t.has(o))return!1;t.add(o)}}u(n,"n");function a(o){o.type===He&&r.pop().break&&bd(r)}u(a,"o"),Jl(e,n,a,!0)}function nw(e){return e.type===De&&!e.hard?e.soft?"":" ":e.type===Ve?e.flatContents:e}function O5(e){return jo(e,nw)}function wd(e){for(e=[...e];e.length>=2&&ge(!1,e,-2).type===De&&ge(!1,e,-1).type===Je;)e.length-=2;if(e.length>0){let t=Jn(ge(!1,e,-1));e[e.length-1]=t}return e}function Jn(e){switch(zr(e)){case Kt:case Jt:case He:case Zt:case bt:{let t=Jn(e.contents);return{...e,contents:t}}case Ve:return{...e,breakContents:Jn(e.breakContents),flatContents:Jn(e.flatContents)};case yt:return{...e,parts:wd(e.parts)};case Gt:return wd(e);case Tr:return e.replace(/[\n\r]*$/u,"");case Yt:case Er:case Vt:case Ut:case De:case Je:break;default:throw new cn(e)}return e}function Dd(e){return Jn(ow(e))}function aw(e){switch(zr(e)){case yt:if(e.parts.every(t=>t===""))return"";break;case He:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===He&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case Yt:case Kt:case Jt:case Zt:if(!e.contents)return"";break;case Ve:if(!e.flatContents&&!e.breakContents)return"";break;case Gt:{let t=[];for(let r of e){if(!r)continue;let[n,...a]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof ge(!1,t,-1)=="string"?t[t.length-1]+=n:t.push(n),t.push(...a)}return t.length===0?"":t.length===1?t[0]:t}case Tr:case Er:case Vt:case Ut:case De:case bt:case Je:break;default:throw new cn(e)}return e}function ow(e){return jo(e,t=>aw(t))}function P5(e,t=Pd){return jo(e,r=>typeof r=="string"?vd(t,r.split(` +`)):r)}function iw(e){if(e.type===De)return!0}function N5(e){return Wl(e,iw,!1)}function Wp(e,t){return e.type===bt?{...e,contents:t(e.contents)}:t(e)}function Gp(){return{value:"",length:0,queue:[]}}function lw(e,t){return Gl(e,{type:"indent"},t)}function sw(e,t,r){return t===Number.NEGATIVE_INFINITY?e.root||Gp():t<0?Gl(e,{type:"dedent"},r):t?t.type==="root"?{...e,root:e}:Gl(e,{type:typeof t=="string"?"stringAlign":"numberAlign",n:t},r):e}function Gl(e,t,r){let n=t.type==="dedent"?e.queue.slice(0,-1):[...e.queue,t],a="",o=0,i=0,s=0;for(let g of n)switch(g.type){case"indent":f(),r.useTabs?c(1):d(r.tabWidth);break;case"stringAlign":f(),a+=g.n,o+=g.n.length;break;case"numberAlign":i+=1,s+=g.n;break;default:throw new Error(`Unexpected type '${g.type}'`)}return p(),{...e,value:a,length:o,queue:n};function c(g){a+=" ".repeat(g),o+=r.tabWidth*g}function d(g){a+=" ".repeat(g),o+=g}function f(){r.useTabs?m():p()}function m(){i>0&&c(i),h()}function p(){s>0&&d(s),h()}function h(){i=0,s=0}}function Kl(e){let t=0,r=0,n=e.length;e:for(;n--;){let a=e[n];if(a===Zn){r++;continue}for(let o=a.length-1;o>=0;o--){let i=a[o];if(i===" "||i===" ")t++;else{e[n]=a.slice(0,o+1);break e}}}if(t>0||r>0)for(e.length=n+1;r-- >0;)e.push(Zn);return t}function fo(e,t,r,n,a,o){if(r===Number.POSITIVE_INFINITY)return!0;let i=t.length,s=[e],c=[];for(;r>=0;){if(s.length===0){if(i===0)return!0;s.push(t[--i]);continue}let{mode:d,doc:f}=s.pop(),m=zr(f);switch(m){case Tr:c.push(f),r-=Xl(f);break;case Gt:case yt:{let p=m===Gt?f:f.parts;for(let h=p.length-1;h>=0;h--)s.push({mode:d,doc:p[h]});break}case Kt:case Yt:case Jt:case bt:s.push({mode:d,doc:f.contents});break;case Vt:r+=Kl(c);break;case He:{if(o&&f.break)return!1;let p=f.break?Te:d,h=f.expandedStates&&p===Te?ge(!1,f.expandedStates,-1):f.contents;s.push({mode:p,doc:h});break}case Ve:{let p=(f.groupId?a[f.groupId]||ct:d)===Te?f.breakContents:f.flatContents;p&&s.push({mode:d,doc:p});break}case De:if(d===Te||f.hard)return!0;f.soft||(c.push(" "),r--);break;case Zt:n=!0;break;case Ut:if(n)return!1;break}}return!1}function Vo(e,t){let r={},n=t.printWidth,a=$s(t.endOfLine),o=0,i=[{ind:Gp(),mode:Te,doc:e}],s=[],c=!1,d=[],f=0;for(rw(e);i.length>0;){let{ind:p,mode:h,doc:g}=i.pop();switch(zr(g)){case Tr:{let v=a!==` +`?fi(!1,g,` +`,a):g;s.push(v),i.length>0&&(o+=Xl(v));break}case Gt:for(let v=g.length-1;v>=0;v--)i.push({ind:p,mode:h,doc:g[v]});break;case Er:if(f>=2)throw new Error("There are too many 'cursor' in doc.");s.push(Zn),f++;break;case Kt:i.push({ind:lw(p,t),mode:h,doc:g.contents});break;case Yt:i.push({ind:sw(p,g.n,t),mode:h,doc:g.contents});break;case Vt:o-=Kl(s);break;case He:switch(h){case ct:if(!c){i.push({ind:p,mode:g.break?Te:ct,doc:g.contents});break}case Te:{c=!1;let v={ind:p,mode:ct,doc:g.contents},b=n-o,D=d.length>0;if(!g.break&&fo(v,i,b,D,r))i.push(v);else if(g.expandedStates){let E=ge(!1,g.expandedStates,-1);if(g.break){i.push({ind:p,mode:Te,doc:E});break}else for(let C=1;C=g.expandedStates.length){i.push({ind:p,mode:Te,doc:E});break}else{let w=g.expandedStates[C],x={ind:p,mode:ct,doc:w};if(fo(x,i,b,D,r)){i.push(x);break}}}else i.push({ind:p,mode:Te,doc:g.contents});break}}g.id&&(r[g.id]=ge(!1,i,-1).mode);break;case yt:{let v=n-o,{parts:b}=g;if(b.length===0)break;let[D,E]=b,C={ind:p,mode:ct,doc:D},w={ind:p,mode:Te,doc:D},x=fo(C,[],v,d.length>0,r,!0);if(b.length===1){x?i.push(C):i.push(w);break}let S={ind:p,mode:ct,doc:E},F={ind:p,mode:Te,doc:E};if(b.length===2){x?i.push(S,C):i.push(F,w);break}b.splice(0,2);let A={ind:p,mode:h,doc:gd(b)},_=b[0];fo({ind:p,mode:ct,doc:[D,E,_]},[],v,d.length>0,r,!0)?i.push(A,S,C):x?i.push(A,F,C):i.push(A,F,w);break}case Ve:case Jt:{let v=g.groupId?r[g.groupId]:h;if(v===Te){let b=g.type===Ve?g.breakContents:g.negate?g.contents:$o(g.contents);b&&i.push({ind:p,mode:h,doc:b})}if(v===ct){let b=g.type===Ve?g.flatContents:g.negate?$o(g.contents):g.contents;b&&i.push({ind:p,mode:h,doc:b})}break}case Zt:d.push({ind:p,mode:h,doc:g.contents});break;case Ut:d.length>0&&i.push({ind:p,mode:h,doc:fl});break;case De:switch(h){case ct:if(g.hard)c=!0;else{g.soft||(s.push(" "),o+=1);break}case Te:if(d.length>0){i.push({ind:p,mode:h,doc:g},...d.reverse()),d.length=0;break}g.literal?p.root?(s.push(a,p.root.value),o=p.root.length):(s.push(a),o=0):(o-=Kl(s),s.push(a+p.value),o=p.length);break}break;case bt:i.push({ind:p,mode:h,doc:g.contents});break;case Je:break;default:throw new cn(g)}i.length===0&&d.length>0&&(i.push(...d.reverse()),d.length=0)}let m=s.indexOf(Zn);if(m!==-1){let p=s.indexOf(Zn,m+1),h=s.slice(0,m).join(""),g=s.slice(m+1,p).join(""),v=s.slice(p+1).join("");return{formatted:h+g+v,cursorNodeStart:h.length,cursorNodeText:g}}return{formatted:s.join("")}}function H5(e,t,r=0){let n=0;for(let a=r;a!0,"n")}=t,a=u(o=>Ww(o)&&n(o),"o");for(let o of r(e)){let i=e[o];if(Array.isArray(i))for(let s of i)a(s)&&(yield s);else a(i)&&(yield i)}}function*uw(e,t){let r=[e];for(let n=0;n{let a=!!(n!=null&&n.backwards);if(r===!1)return!1;let{length:o}=t,i=r;for(;i>=0&&i0}function q5(e){return e?t=>e(t,$d):Kw}function cw(e){let t=e.type||e.kind||"(unknown type)",r=String(e.name||e.id&&(typeof e.id=="object"?e.id.name:e.id)||e.key&&(typeof e.key=="object"?e.key.name:e.key)||e.value&&(typeof e.value=="object"?"":String(e.value))||e.operator||"");return r.length>20&&(r=r.slice(0,19)+"…"),t+(r?" "+r:"")}function js(e,t){(e.comments??(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=cw(e)}function en(e,t){t.leading=!0,t.trailing=!1,js(e,t)}function _o(e,t,r){t.leading=!1,t.trailing=!1,r&&(t.marker=r),js(e,t)}function tn(e,t){t.leading=!1,t.trailing=!0,js(e,t)}function Vs(e,t){if(hl.has(e))return hl.get(e);let{printer:{getCommentChildNodes:r,canAttachComment:n,getVisitorKeys:a},locStart:o,locEnd:i}=t;if(!n)return[];let s=((r==null?void 0:r(e,t))??[...Kp(e,{getVisitorKeys:hi(a)})]).flatMap(c=>n(c)?[c]:Vs(c,t));return s.sort((c,d)=>o(c)-o(d)||i(c)-i(d)),hl.set(e,s),s}function Yp(e,t,r,n){let{locStart:a,locEnd:o}=r,i=a(t),s=o(t),c=Vs(e,r),d,f,m=0,p=c.length;for(;m>1,g=c[h],v=a(g),b=o(g);if(v<=i&&s<=b)return Yp(g,t,r,g);if(b<=i){d=g,m=h+1;continue}if(s<=v){f=g,p=h;continue}throw new Error("Comment location overlaps with node location")}if((n==null?void 0:n.type)==="TemplateLiteral"){let{quasis:h}=n,g=cl(h,t,r);d&&cl(h,d,r)!==g&&(d=null),f&&cl(h,f,r)!==g&&(f=null)}return{enclosingNode:n,precedingNode:d,followingNode:f}}function dw(e,t){let{comments:r}=e;if(delete e.comments,!Gw(r)||!t.printer.canAttachComment)return;let n=[],{locStart:a,locEnd:o,printer:{experimentalFeatures:{avoidAstMutation:i=!1}={},handleComments:s={}},originalText:c}=t,{ownLine:d=ml,endOfLine:f=ml,remaining:m=ml}=s,p=r.map((h,g)=>({...Yp(e,h,t),comment:h,text:c,options:t,ast:e,isLastComment:r.length-1===g}));for(let[h,g]of p.entries()){let{comment:v,precedingNode:b,enclosingNode:D,followingNode:E,text:C,options:w,ast:x,isLastComment:S}=g;if(w.parser==="json"||w.parser==="json5"||w.parser==="jsonc"||w.parser==="__js_expression"||w.parser==="__ts_expression"||w.parser==="__vue_expression"||w.parser==="__vue_ts_expression"){if(a(v)-a(x)<=0){en(x,v);continue}if(o(v)-o(x)>=0){tn(x,v);continue}}let F;if(i?F=[g]:(v.enclosingNode=D,v.precedingNode=b,v.followingNode=E,F=[v,C,w,x,S]),pw(C,w,p,h))v.placement="ownLine",d(...F)||(E?en(E,v):b?tn(b,v):_o(D||x,v));else if(fw(C,w,p,h))v.placement="endOfLine",f(...F)||(b?tn(b,v):E?en(E,v):_o(D||x,v));else if(v.placement="remaining",!m(...F))if(b&&E){let A=n.length;A>0&&n[A-1].followingNode!==E&&Ed(n,w),n.push(g)}else b?tn(b,v):E?en(E,v):_o(D||x,v)}if(Ed(n,t),!i)for(let h of r)delete h.precedingNode,delete h.enclosingNode,delete h.followingNode}function pw(e,t,r,n){let{comment:a,precedingNode:o}=r[n],{locStart:i,locEnd:s}=t,c=i(a);if(o)for(let d=n-1;d>=0;d--){let{comment:f,precedingNode:m}=r[d];if(m!==o||!af(e.slice(s(f),c)))break;c=i(f)}return ur(e,c,{backwards:!0})}function fw(e,t,r,n){let{comment:a,followingNode:o}=r[n],{locStart:i,locEnd:s}=t,c=s(a);if(o)for(let d=n+1;d0;--c){let{comment:d,precedingNode:f,followingNode:m}=e[c-1];es.strictEqual(f,o),es.strictEqual(m,i);let p=t.originalText.slice(t.locEnd(d),s);if(((n=(r=t.printer).isGap)==null?void 0:n.call(r,p,t))??/^[\s(]*$/u.test(p))s=t.locStart(d);else break}for(let[d,{comment:f}]of e.entries())d1&&d.comments.sort((f,m)=>t.locStart(f)-t.locStart(m));e.length=0}function cl(e,t,r){let n=r.locStart(t)-1;for(let a=1;a!n.has(s)).length===0)return{leading:"",trailing:""};let a=[],o=[],i;return e.each(()=>{let s=e.node;if(n!=null&&n.has(s))return;let{leading:c,trailing:d}=s;c?a.push(hw(e,t)):d&&(i=mw(e,t,i),o.push(i.doc))},"comments"),{leading:a,trailing:o}}function vw(e,t,r){let{leading:n,trailing:a}=gw(e,r);return!n&&!a?t:Wp(t,o=>[n,o,a])}function yw(e){let{[Symbol.for("comments")]:t,[Symbol.for("printedComments")]:r}=e;for(let n of t){if(!n.printed&&!r.has(n))throw new Error('Comment "'+n.value.trim()+'" was not printed. Please report this error!');delete n.printed}}function G5(e){return()=>{}}function Cd({plugins:e=[],showDeprecated:t=!1}={}){let r=e.flatMap(a=>a.languages??[]),n=[];for(let a of ww(Object.assign({},...e.map(({options:o})=>o),Jw)))!t&&a.deprecated||(Array.isArray(a.choices)&&(t||(a.choices=a.choices.filter(o=>!o.deprecated)),a.name==="parser"&&(a.choices=[...a.choices,...bw(a.choices,r,e)])),a.pluginDefaults=Object.fromEntries(e.filter(o=>{var i;return((i=o.defaultOptions)==null?void 0:i[a.name])!==void 0}).map(o=>[o.name,o.defaultOptions[a.name]])),n.push(a));return{languages:r,options:n}}function*bw(e,t,r){let n=new Set(e.map(a=>a.value));for(let a of t)if(a.parsers){for(let o of a.parsers)if(!n.has(o)){n.add(o);let i=r.find(c=>c.parsers&&Object.prototype.hasOwnProperty.call(c.parsers,o)),s=a.name;i!=null&&i.name&&(s+=` (plugin: ${i.name})`),yield{value:o,description:s}}}}function ww(e){let t=[];for(let[r,n]of Object.entries(e)){let a={name:r,...n};Array.isArray(a.default)&&(a.default=ge(!1,a.default,-1).value),t.push(a)}return t}function xd(e,t){if(!t)return;let r=Zw(t).toLowerCase();return e.find(({filenames:n})=>n==null?void 0:n.some(a=>a.toLowerCase()===r))??e.find(({extensions:n})=>n==null?void 0:n.some(a=>r.endsWith(a)))}function Dw(e,t){if(t)return e.find(({name:r})=>r.toLowerCase()===t)??e.find(({aliases:r})=>r==null?void 0:r.includes(t))??e.find(({extensions:r})=>r==null?void 0:r.includes(`.${t}`))}function K5(e,t){let r=e.plugins.flatMap(a=>a.languages??[]),n=Dw(r,t.language)??xd(r,t.physicalFile)??xd(r,t.file)??(t.physicalFile,void 0);return n==null?void 0:n.parsers[0]}function qc(e,t,r,n){return[`Invalid ${rn.default.red(n.key(e))} value.`,`Expected ${rn.default.blue(r)},`,`but received ${t===Vd?rn.default.gray("nothing"):rn.default.red(n.value(t))}.`].join(" ")}function Sd({text:e,list:t},r){let n=[];return e&&n.push(`- ${rn.default.blue(e)}`),t&&n.push([`- ${rn.default.blue(t.title)}:`].concat(t.values.map(a=>Sd(a,r-Ud.length).replace(/^|\n/g,`$&${Ud}`))).join(` +`)),Fd(n,r)}function Fd(e,t){if(e.length===1)return e[0];let[r,n]=e,[a,o]=e.map(i=>i.split(` +`,1)[0].length);return a>t&&a>o?n:r}function Y5(e,t){if(e===t)return 0;let r=e;e.length>t.length&&(e=t,t=r);let n=e.length,a=t.length;for(;n>0&&e.charCodeAt(~-n)===t.charCodeAt(~-a);)n--,a--;let o=0;for(;os?d>s?s+1:d:d>c?c+1:d;return s}function J5(e,t){let r=new e(t),n=Object.create(r);for(let a of Qw)a in t&&(n[a]=Ew(t[a],r,ir.prototype[a].length));return n}function Ew(e,t,r){return typeof e=="function"?(...n)=>e(...n.slice(0,r-1),t,...n.slice(r-1)):()=>e}function Wc({from:e,to:t}){return{from:[e],to:t}}function Z5(e,t){let r=Object.create(null);for(let n of e){let a=n[t];if(r[a])throw new Error(`Duplicate ${t} ${JSON.stringify(a)}`);r[a]=n}return r}function X5(e,t){let r=new Map;for(let n of e){let a=n[t];if(r.has(a))throw new Error(`Duplicate ${t} ${JSON.stringify(a)}`);r.set(a,n)}return r}function Q5(){let e=Object.create(null);return t=>{let r=JSON.stringify(t);return e[r]?!0:(e[r]=!0,!1)}}function e2(e,t){let r=[],n=[];for(let a of e)t(a)?r.push(a):n.push(a);return[r,n]}function t2(e){return e===Math.floor(e)}function r2(e,t){if(e===t)return 0;let r=typeof e,n=typeof t,a=["undefined","object","boolean","number","string"];return r!==n?a.indexOf(r)-a.indexOf(n):r!=="string"?Number(e)-Number(t):e.localeCompare(t)}function n2(e){return(...t)=>{let r=e(...t);return typeof r=="string"?new Error(r):r}}function Gc(e){return e===void 0?{}:e}function Ad(e){if(typeof e=="string")return{text:e};let{text:t,list:r}=e;return Cw((t||r)!==void 0,"Unexpected `expected` result, there should be at least one field."),r?{text:t,list:{title:r.title,values:r.values.map(Ad)}}:{text:t}}function Kc(e,t){return e===!0?!0:e===!1?{value:t}:e}function Yc(e,t,r=!1){return e===!1?!1:e===!0?r?!0:[{value:t}]:"value"in e?[e]:e.length===0?!1:e}function kd(e,t){return typeof e=="string"||"key"in e?{from:t,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t,to:e.to}}function dl(e,t){return e===void 0?[]:Array.isArray(e)?e.map(r=>kd(r,t)):[kd(e,t)]}function Jc(e,t){let r=dl(typeof e=="object"&&"redirect"in e?e.redirect:e,t);return r.length===0?{remain:t,redirect:r}:typeof e=="object"&&"remain"in e?{remain:e.remain,redirect:r}:{redirect:r}}function Cw(e,t){if(!e)throw new Error(t)}function a2(e,t,{logger:r=!1,isCLI:n=!1,passThrough:a=!1,FlagSchema:o,descriptor:i}={}){if(n){if(!o)throw new Error("'FlagSchema' option is required.");if(!i)throw new Error("'descriptor' option is required.")}else i=Gr;let s=a?Array.isArray(a)?(p,h)=>a.includes(p)?{[p]:h}:void 0:(p,h)=>({[p]:h}):(p,h,g)=>{let{_:v,...b}=g.schemas;return Wd(p,h,{...g,schemas:b})},c=xw(t,{isCLI:n,FlagSchema:o}),d=new iD(c,{logger:r,unknown:s,descriptor:i}),f=r!==!1;f&&S0&&(d._hasDeprecationWarned=S0);let m=d.normalize(e);return f&&(S0=d._hasDeprecationWarned),m}function xw(e,{isCLI:t,FlagSchema:r}){let n=[];t&&n.push(tD.create({name:"_"}));for(let a of e)n.push(Sw(a,{isCLI:t,optionInfos:e,FlagSchema:r})),a.alias&&t&&n.push(eD.create({name:a.alias,sourceName:a.name}));return n}function Sw(e,{isCLI:t,optionInfos:r,FlagSchema:n}){let{name:a}=e,o={name:a},i,s={};switch(e.type){case"int":i=oD,t&&(o.preprocess=Number);break;case"string":i=Gd;break;case"choice":i=aD,o.choices=e.choices.map(c=>c!=null&&c.redirect?{...c,redirect:{to:{key:e.name,value:c.redirect}}}:c);break;case"boolean":i=nD;break;case"flag":i=n,o.flags=r.flatMap(c=>[c.alias,c.description&&c.name,c.oppositeDescription&&`no-${c.name}`].filter(Boolean));break;case"path":i=Gd;break;default:throw new Error(`Unexpected type ${e.type}`)}if(e.exception?o.validate=(c,d,f)=>e.exception(c)||d.validate(c,f):o.validate=(c,d,f)=>c===void 0||d.validate(c,f),e.redirect&&(s.redirect=c=>c?{to:typeof e.redirect=="string"?e.redirect:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(s.deprecated=!0),t&&!e.array){let c=o.preprocess||(d=>d);o.preprocess=(d,f,m)=>f.preprocess(c(Array.isArray(d)?ge(!1,d,-1):d),m)}return e.array?rD.create({...t?{preprocess:u(c=>Array.isArray(c)?c:[c],"preprocess")}:{},...s,valueSchema:i.create(o)}):i.create({...o,...s})}function Zp(e,t){if(!t)throw new Error("parserName is required.");let r=lf(!1,e,a=>a.parsers&&Object.prototype.hasOwnProperty.call(a.parsers,t));if(r)return r;let n=`Couldn't resolve parser "${t}".`;throw n+=" Plugins must be explicitly added to the standalone bundle.",new of(n)}function Fw(e,t){if(!t)throw new Error("astFormat is required.");let r=lf(!1,e,a=>a.printers&&Object.prototype.hasOwnProperty.call(a.printers,t));if(r)return r;let n=`Couldn't find plugin for AST format "${t}".`;throw n+=" Plugins must be explicitly added to the standalone bundle.",new of(n)}function Xp({plugins:e,parser:t}){let r=Zp(e,t);return Qp(r,t)}function Qp(e,t){let r=e.parsers[t];return typeof r=="function"?r():r}function Aw(e,t){let r=e.printers[t];return typeof r=="function"?r():r}async function o2(e,t={}){var r;let n={...e};if(!n.parser)if(n.filepath){if(n.parser=Xw(n,{physicalFile:n.filepath}),!n.parser)throw new jd(`No parser could be inferred for file "${n.filepath}".`)}else throw new jd("No parser and no file path given, couldn't infer a parser.");let a=Cd({plugins:e.plugins,showDeprecated:!0}).options,o={...Kd,...Object.fromEntries(a.filter(p=>p.default!==void 0).map(p=>[p.name,p.default]))},i=Zp(n.plugins,n.parser),s=await Qp(i,n.parser);n.astFormat=s.astFormat,n.locEnd=s.locEnd,n.locStart=s.locStart;let c=(r=i.printers)!=null&&r[s.astFormat]?i:Fw(n.plugins,s.astFormat),d=await Aw(c,s.astFormat);n.printer=d;let f=c.defaultOptions?Object.fromEntries(Object.entries(c.defaultOptions).filter(([,p])=>p!==void 0)):{},m={...o,...f};for(let[p,h]of Object.entries(m))(n[p]===null||n[p]===void 0)&&(n[p]=h);return n.parser==="json"&&(n.trailingComma="none"),lD(n,a,{passThrough:Object.keys(Kd),...t})}async function i2(e,t){let r=await Xp(t),n=r.preprocess?r.preprocess(e,t):e;t.originalText=n;let a;try{a=await r.parse(n,t,t)}catch(o){kw(o,e)}return{text:n,ast:a}}function kw(e,t){let{loc:r}=e;if(r){let n=(0,sD.codeFrameColumns)(t,r,{highlightCode:!0});throw e.message+=` +`+n,e.codeFrame=n,e}throw e}async function _w(e,t,r,n,a){let{embeddedLanguageFormatting:o,printer:{embed:i,hasPrettierIgnore:s=u(()=>!1,"s"),getVisitorKeys:c}}=r;if(!i||o!=="auto")return;if(i.length>2)throw new Error("printer.embed has too many parameters. The API changed in Prettier v3. Please update your plugin. See https://prettier.io/docs/en/plugins.html#optional-embed");let d=hi(i.getVisitorKeys??c),f=[];h();let m=e.stack;for(let{print:g,node:v,pathStack:b}of f)try{e.stack=b;let D=await g(p,t,e,r);D&&a.set(v,D)}catch(D){if(globalThis.PRETTIER_DEBUG)throw D}e.stack=m;function p(g,v){return Bw(g,v,r,n)}u(p,"f");function h(){let{node:g}=e;if(g===null||typeof g!="object"||s(e))return;for(let b of d(g))Array.isArray(g[b])?e.each(h,b):e.call(h,b);let v=i(e,r);if(v){if(typeof v=="function"){f.push({print:v,node:g,pathStack:[...e.stack]});return}a.set(g,v)}}u(h,"p")}async function Bw(e,t,r,n){let a=await wn({...r,...t,parentParser:r.parser,originalText:e},{passThrough:!0}),{ast:o}=await _a(e,a),i=await n(o,a);return Dd(i)}function l2(e,t){let{originalText:r,[Symbol.for("comments")]:n,locStart:a,locEnd:o,[Symbol.for("printedComments")]:i}=t,{node:s}=e,c=a(s),d=o(s);for(let f of n)a(f)>=c&&o(f)<=d&&i.add(f);return r.slice(c,d)}async function pi(e,t){({ast:e}=await ef(e,t));let r=new Map,n=new qw(e),a=Yw(t),o=new Map;await _w(n,s,t,pi,o);let i=await _d(n,t,s,void 0,o);return yw(t),i;function s(d,f){return d===void 0||d===n?c(f):Array.isArray(d)?n.call(()=>c(f),...d):n.call(()=>c(f),d)}function c(d){a(n);let f=n.node;if(f==null)return"";let m=f&&typeof f=="object"&&d===void 0;if(m&&r.has(f))return r.get(f);let p=_d(n,t,s,d,o);return m&&r.set(f,p),p}}function _d(e,t,r,n,a){var o;let{node:i}=e,{printer:s}=t,c;return(o=s.hasPrettierIgnore)!=null&&o.call(s,e)?c=uD(e,t):a.has(i)?c=a.get(i):c=s.print(e,t,r,n),i===t.cursorNode&&(c=Wp(c,d=>[Zl,d,Zl])),s.printComment&&(!s.willPrintOwnComments||!s.willPrintOwnComments(e,t))&&(c=vw(e,c,t)),c}async function ef(e,t){let r=e.comments??[];t[Symbol.for("comments")]=r,t[Symbol.for("tokens")]=e.tokens??[],t[Symbol.for("printedComments")]=new Set,dw(e,t);let{printer:{preprocess:n}}=t;return e=n?await n(e,t):e,{ast:e,comments:r}}function s2(e,t){let{cursorOffset:r,locStart:n,locEnd:a}=t,o=hi(t.printer.getVisitorKeys),i=u(c=>n(c)<=r&&a(c)>=r,"i"),s=e;for(let c of uw(e,{getVisitorKeys:o,filter:i}))s=c;return s}function u2(e,t){let{printer:{massageAstNode:r,getVisitorKeys:n}}=t;if(!r)return e;let a=hi(n),o=r.ignoredProperties??new Set;return i(e);function i(s,c){if(!(s!==null&&typeof s=="object"))return s;if(Array.isArray(s))return s.map(p=>i(p,c)).filter(Boolean);let d={},f=new Set(a(s));for(let p in s)!Object.prototype.hasOwnProperty.call(s,p)||o.has(p)||(f.has(p)?d[p]=i(s[p],s):d[p]=s[p]);let m=r(s,d,c);if(m!==null)return m??d}}function Rw(e,t){let r=[e.node,...e.parentNodes],n=new Set([t.node,...t.parentNodes]);return r.find(a=>sf.has(a.type)&&n.has(a))}function Bd(e){let t=pD(!1,e,r=>r.type!=="Program"&&r.type!=="File");return t===-1?e:e.slice(0,t+1)}function Iw(e,t,{locStart:r,locEnd:n}){let a=e.node,o=t.node;if(a===o)return{startNode:a,endNode:o};let i=r(e.node);for(let c of Bd(t.parentNodes))if(r(c)>=i)o=c;else break;let s=n(t.node);for(let c of Bd(e.parentNodes)){if(n(c)<=s)a=c;else break;if(a===o)break}return{startNode:a,endNode:o}}function Yl(e,t,r,n,a=[],o){let{locStart:i,locEnd:s}=r,c=i(e),d=s(e);if(!(t>d||tn);let s=e.slice(n,a).search(/\S/u),c=s===-1;if(!c)for(n+=s;a>n&&!/\S/u.test(e[a-1]);--a);let d=Yl(r,n,t,(h,g)=>Rd(t,h,g),[],"rangeStart"),f=c?d:Yl(r,a,t,h=>Rd(t,h),[],"rangeEnd");if(!d||!f)return{rangeStart:0,rangeEnd:0};let m,p;if(fD(t)){let h=Rw(d,f);m=h,p=h}else({startNode:m,endNode:p}=Iw(d,f,t));return{rangeStart:Math.min(o(m),o(p)),rangeEnd:Math.max(i(m),i(p))}}async function tf(e,t,r=0){if(!e||e.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:n,text:a}=await _a(e,t);t.cursorOffset>=0&&(t.cursorNode=cD(n,t));let o=await pi(n,t);r>0&&(o=yd([Cr,o],r,t.tabWidth));let i=Vo(o,t);if(r>0){let c=i.formatted.trim();i.cursorNodeStart!==void 0&&(i.cursorNodeStart-=i.formatted.indexOf(c)),i.formatted=c+$s(t.endOfLine)}let s=t[Symbol.for("comments")];if(t.cursorOffset>=0){let c,d,f,m,p;if(t.cursorNode&&i.cursorNodeText?(c=t.locStart(t.cursorNode),d=a.slice(c,t.locEnd(t.cursorNode)),f=t.cursorOffset-c,m=i.cursorNodeStart,p=i.cursorNodeText):(c=0,d=a,f=t.cursorOffset,m=0,p=i.formatted),d===p)return{formatted:i.formatted,cursorOffset:m+f,comments:s};let h=d.split("");h.splice(f,0,Yd);let g=p.split(""),v=Z7(h,g),b=m;for(let D of v)if(D.removed){if(D.value.includes(Yd))break}else b+=D.count;return{formatted:i.formatted,cursorOffset:b,comments:s}}return{formatted:i.formatted,cursorOffset:-1,comments:s}}async function Lw(e,t){let{ast:r,text:n}=await _a(e,t),{rangeStart:a,rangeEnd:o}=zw(n,t,r),i=n.slice(a,o),s=Math.min(a,n.lastIndexOf(` +`,a)+1),c=n.slice(s,a).match(/^\s*/u)[0],d=Ql(c,t.tabWidth),f=await tf(i,{...t,rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:t.cursorOffset>a&&t.cursorOffset<=o?t.cursorOffset-a:-1,endOfLine:"lf"},d),m=f.formatted.trimEnd(),{cursorOffset:p}=t;p>o?p+=m.length-i.length:f.cursorOffset>=0&&(p=f.cursorOffset+a);let h=n.slice(0,a)+m+n.slice(o);if(t.endOfLine!=="lf"){let g=$s(t.endOfLine);p>=0&&g===`\r +`&&(p+=qp(h.slice(0,p),` +`)),h=fi(!1,h,` +`,g)}return{formatted:h,cursorOffset:p,comments:f.comments}}function pl(e,t,r){return typeof t!="number"||Number.isNaN(t)||t<0||t>e.length?r:t}function Id(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:a}=t;return r=pl(e,r,-1),n=pl(e,n,0),a=pl(e,a,e.length),{...t,cursorOffset:r,rangeStart:n,rangeEnd:a}}function rf(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:a,endOfLine:o}=Id(e,t),i=e.charAt(0)===uf;if(i&&(e=e.slice(1),r--,n--,a--),o==="auto"&&(o=X7(e)),e.includes("\r")){let s=u(c=>qp(e.slice(0,Math.max(c,0)),`\r +`),"s");r-=s(r),n-=s(n),a-=s(a),e=Q7(e)}return{hasBOM:i,text:e,options:Id(e,{...t,cursorOffset:r,rangeStart:n,rangeEnd:a,endOfLine:o})}}async function Td(e,t){let r=await Xp(t);return!r.hasPragma||r.hasPragma(e)}async function zd(e,t){let{hasBOM:r,text:n,options:a}=rf(e,await wn(t));if(a.rangeStart>=a.rangeEnd&&n!==""||a.requirePragma&&!await Td(n,a))return{formatted:e,cursorOffset:t.cursorOffset,comments:[]};let o;return a.rangeStart>0||a.rangeEnd=0&&o.cursorOffset++),o}async function c2(e,t,r){let{text:n,options:a}=rf(e,await wn(t)),o=await _a(n,a);return r&&(r.preprocessForPrint&&(o.ast=await ef(o.ast,a)),r.massage&&(o.ast=dD(o.ast,a))),o}async function d2(e,t){t=await wn(t);let r=await pi(e,t);return Vo(r,t)}async function p2(e,t){let r=ew(e),{formatted:n}=await zd(r,{...t,parser:"__js_expression"});return n}async function f2(e,t){t=await wn(t);let{ast:r}=await _a(e,t);return pi(r,t)}async function h2(e,t){return Vo(e,await wn(t))}function m2(e,t){if(t===!1)return!1;if(e.charAt(t)==="/"&&e.charAt(t+1)==="*"){for(let r=t+2;rMath.max(n,a.length/t.length),0)}function D2(e,t){let r=Ws(e,t);return r===!1?"":e.charAt(r)}function E2(e,t,r){for(let n=t;ni===n?i:s===t?"\\"+s:s||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/u.test(i)?i:"\\"+i));return t+a+t}function Ow(e,t,r){return Ws(e,r(t))}function S2(e,t){return arguments.length===2||typeof t=="number"?Ws(e,t):Ow(...arguments)}function Pw(e,t,r){return qs(e,r(t))}function F2(e,t){return arguments.length===2||typeof t=="number"?qs(e,t):Pw(...arguments)}function Nw(e,t,r){return ns(e,r(t))}function A2(e,t){return arguments.length===2||typeof t=="number"?ns(e,t):Nw(...arguments)}function hr(e,t=1){return async(...r)=>{let n=r[t]??{},a=n.plugins??[];return r[t]={...n,plugins:Array.isArray(a)?a:Object.values(a)},e(...r)}}async function Ld(e,t){let{formatted:r}=await Jd(e,{...t,cursorOffset:-1});return r}async function k2(e,t){return await Ld(e,t)===e}var _2,Ya,B2,R2,I2,T2,Zc,z2,Wi,Ja,Xc,Za,L2,M2,O2,Rn,Gi,Qc,P2,N2,H2,$2,j2,e0,V2,fi,t0,r0,n0,a0,U2,q2,Hw,In,ho,Tr,Gt,Er,Kt,Yt,Vt,He,yt,Ve,Jt,Zt,Ut,De,bt,Je,nf,zr,$w,o0,W2,cn,Md,Jl,i0,wt,Us,G2,mo,K2,fl,l0,Od,Y2,Cr,Pd,Zl,J2,ge,jw,Vw,Uw,Xl,Te,ct,Zn,Ql,Wr,s0,Ki,u0,Z2,qw,c0,es,Ww,X2,cr,Nd,Hd,Rr,ur,Gw,$d,Kw,hi,hl,ml,af,qs,Yw,d0,of,p0,jd,Jw,Zw,Xw,Gr,f0,Q2,rn,Vd,Xa,Ud,ev,h0,gl,qd,Wd,Qw,m0,ir,g0,eD,v0,tD,y0,rD,b0,nD,w0,aD,D0,tv,E0,oD,C0,Gd,rv,nv,av,ov,x0,iD,S0,lD,iv,lf,Kd,wn,sD,_a,uD,cD,dD,lv,pD,fD,sf,hD,uf,Yd,F0,sv,uv,cv,dv,A0,ts,rs,Ws,ns,pv,fv,hv,mv,gv,vv,Jd,yv,bv,mD,mF=T(()=>{_2=Object.create,Ya=Object.defineProperty,B2=Object.getOwnPropertyDescriptor,R2=Object.getOwnPropertyNames,I2=Object.getPrototypeOf,T2=Object.prototype.hasOwnProperty,Zc=u(e=>{throw TypeError(e)},"sr"),z2=u((e,t)=>()=>(e&&(t=e(e=0)),t),"_u"),Wi=u((e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),"At"),Ja=u((e,t)=>{for(var r in t)Ya(e,r,{get:t[r],enumerable:!0})},"We"),Xc=u((e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of R2(t))!T2.call(e,a)&&a!==r&&Ya(e,a,{get:u(()=>t[a],"get"),enumerable:!(n=B2(t,a))||n.enumerable});return e},"ar"),Za=u((e,t,r)=>(r=e!=null?_2(I2(e)):{},Xc(t||!e||!e.__esModule?Ya(r,"default",{value:e,enumerable:!0}):r,e)),"Me"),L2=u(e=>Xc(Ya({},"__esModule",{value:!0}),e),"vu"),M2=u((e,t,r)=>t.has(e)||Zc("Cannot "+r),"bu"),O2=u((e,t,r)=>t.has(e)?Zc("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),"Dr"),Rn=u((e,t,r)=>(M2(e,t,"access private method"),r),"pe"),Gi=Wi((e,t)=>{var r=new Proxy(String,{get:u(()=>r,"get")});t.exports=r}),Qc={},Ja(Qc,{default:u(()=>N2,"default"),shouldHighlight:u(()=>P2,"shouldHighlight")}),H2=z2(()=>{P2=u(()=>!1,"xo"),N2=String}),$2=Wi((e,t)=>{var r=String,n=u(function(){return{isColorSupported:!1,reset:r,bold:r,dim:r,italic:r,underline:r,inverse:r,hidden:r,strikethrough:r,black:r,red:r,green:r,yellow:r,blue:r,magenta:r,cyan:r,white:r,gray:r,bgBlack:r,bgRed:r,bgGreen:r,bgYellow:r,bgBlue:r,bgMagenta:r,bgCyan:r,bgWhite:r}},"Ln");t.exports=n(),t.exports.createColors=n}),j2=Wi(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.codeFrameColumns=h,e.default=g;var t=(H2(),L2(Qc)),r=a($2(),!0);function n(v){if(typeof WeakMap!="function")return null;var b=new WeakMap,D=new WeakMap;return(n=u(function(E){return E?D:b},"Wn"))(v)}u(n,"Wn");function a(v,b){if(!b&&v&&v.__esModule)return v;if(v===null||typeof v!="object"&&typeof v!="function")return{default:v};var D=n(b);if(D&&D.has(v))return D.get(v);var E={__proto__:null},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var w in v)if(w!=="default"&&{}.hasOwnProperty.call(v,w)){var x=C?Object.getOwnPropertyDescriptor(v,w):null;x&&(x.get||x.set)?Object.defineProperty(E,w,x):E[w]=v[w]}return E.default=v,D&&D.set(v,E),E}u(a,"vo");var o=r.default,i=u((v,b)=>D=>v(b(D)),"Rn"),s;function c(v){return v?(s!=null||(s=(0,r.createColors)(!0)),s):o}u(c,"Oo");var d=!1;function f(v){return{gutter:v.gray,marker:i(v.red,v.bold),message:i(v.red,v.bold)}}u(f,"So");var m=/\r\n|[\n\r\u2028\u2029]/;function p(v,b,D){let E=Object.assign({column:0,line:-1},v.start),C=Object.assign({},E,v.end),{linesAbove:w=2,linesBelow:x=3}=D||{},S=E.line,F=E.column,A=C.line,_=C.column,R=Math.max(S-(w+1),0),I=Math.min(b.length,A+x);S===-1&&(R=0),A===-1&&(I=b.length);let z=A-S,L={};if(z)for(let O=0;O<=z;O++){let M=O+S;if(!F)L[M]=!0;else if(O===0){let P=b[M-1].length;L[M]=[F,P-F+1]}else if(O===z)L[M]=[0,_];else{let P=b[M-O].length;L[M]=[0,P]}}else F===_?F?L[S]=[F,0]:L[S]=!0:L[S]=[F,_-F];return{start:R,end:I,markerLines:L}}u(p,"No");function h(v,b,D={}){let E=(D.highlightCode||D.forceColor)&&(0,t.shouldHighlight)(D),C=c(D.forceColor),w=f(C),x=u((L,O)=>E?L(O):O,"i"),S=v.split(m),{start:F,end:A,markerLines:_}=p(b,S,D),R=b.start&&typeof b.start.column=="number",I=String(A).length,z=(E?(0,t.default)(v,D):v).split(m,A).slice(F,A).map((L,O)=>{let M=F+1+O,P=` ${` ${M}`.slice(-I)} |`,V=_[M],W=!_[M+1];if(V){let q="";if(Array.isArray(V)){let Y=L.slice(0,Math.max(V[0]-1,0)).replace(/[^\t]/g," "),Q=V[1]||1;q=[` + `,x(w.gutter,P.replace(/\d/g," "))," ",Y,x(w.marker,"^").repeat(Q)].join(""),W&&D.message&&(q+=" "+x(w.message,D.message))}return[x(w.marker,">"),x(w.gutter,P),L.length>0?` ${L}`:"",q].join("")}else return` ${x(w.gutter,P)}${L.length>0?` ${L}`:""}`}).join(` +`);return D.message&&!R&&(z=`${" ".repeat(I+1)}${D.message} +${z}`),E?C.reset(z):z}u(h,"Mn");function g(v,b,D,E={}){if(!d){d=!0;let C="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";{let w=new Error(C);w.name="DeprecationWarning",console.warn(new Error(C))}}return D=Math.max(D,0),h(v,{start:{column:D,line:b}},E)}u(g,"To")}),e0={},Ja(e0,{__debug:u(()=>bv,"__debug"),check:u(()=>k2,"check"),doc:u(()=>F0,"doc"),format:u(()=>Ld,"format"),formatWithCursor:u(()=>Jd,"formatWithCursor"),getSupportInfo:u(()=>yv,"getSupportInfo"),util:u(()=>A0,"util"),version:u(()=>dv,"version")}),V2=u((e,t,r,n)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(r,n):r.global?t.replace(r,n):t.split(r).join(n)},"Ou"),fi=V2,u(nr,"Z"),nr.prototype={diff:u(function(e,t){var r,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=n.callback;typeof n=="function"&&(a=n,n={}),this.options=n;var o=this;function i(C){return a?(setTimeout(function(){a(void 0,C)},0),!0):C}u(i,"s"),e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e)),t=this.removeEmpty(this.tokenize(t));var s=t.length,c=e.length,d=1,f=s+c;n.maxEditLength&&(f=Math.min(f,n.maxEditLength));var m=(r=n.timeout)!==null&&r!==void 0?r:1/0,p=Date.now()+m,h=[{oldPos:-1,lastComponent:void 0}],g=this.extractCommon(h[0],t,e,0);if(h[0].oldPos+1>=c&&g+1>=s)return i([{value:this.join(t),count:t.length}]);var v=-1/0,b=1/0;function D(){for(var C=Math.max(v,-d);C<=Math.min(b,d);C+=2){var w=void 0,x=h[C-1],S=h[C+1];x&&(h[C-1]=void 0);var F=!1;if(S){var A=S.oldPos-C;F=S&&0<=A&&A=c&&g+1>=s)return i(E5(o,w.lastComponent,t,e,o.useLongestToken));h[C]=w,w.oldPos+1>=c&&(b=Math.min(b,C-1)),g+1>=s&&(v=Math.max(v,C+1))}d++}if(u(D,"A"),a)u(function C(){setTimeout(function(){if(d>f||Date.now()>p)return a();D()||C()},0)},"h")();else for(;d<=f&&Date.now()<=p;){var E=D();if(E)return E}},"diff"),addToPath:u(function(e,t,r,n){var a=e.lastComponent;return a&&a.added===t&&a.removed===r?{oldPos:e.oldPos+n,lastComponent:{count:a.count+1,added:t,removed:r,previousComponent:a.previousComponent}}:{oldPos:e.oldPos+n,lastComponent:{count:1,added:t,removed:r,previousComponent:a}}},"addToPath"),extractCommon:u(function(e,t,r,n){for(var a=t.length,o=r.length,i=e.oldPos,s=i-n,c=0;s+1"u"?r:i}:n;return typeof e=="string"?e:JSON.stringify(Ul(e,null,null,a),a," ")},In.equals=function(e,t){return nr.prototype.equals.call(In,e.replace(/,([\r\n])/g,"$1"),t.replace(/,([\r\n])/g,"$1"))},u(Ul,"Bt"),ho=new nr,ho.tokenize=function(e){return e.slice()},ho.join=ho.removeEmpty=function(e){return e},u(Z7,"dr"),u(X7,"Fr"),u($s,"Be"),u(qp,"wt"),u(Q7,"mr"),Tr="string",Gt="array",Er="cursor",Kt="indent",Yt="align",Vt="trim",He="group",yt="fill",Ve="if-break",Jt="indent-if-break",Zt="line-suffix",Ut="line-suffix-boundary",De="line",bt="label",Je="break-parent",nf=new Set([Er,Kt,Yt,Vt,He,yt,Ve,Jt,Zt,Ut,De,bt,Je]),u(C5,"Lu"),zr=C5,$w=u(e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e),"Pu"),u(x5,"Iu"),W2=(o0=class extends Error{constructor(t){super(x5(t));_n(this,"name","InvalidDocError");this.doc=t}},u(o0,"xt"),o0),cn=W2,Md={},u(S5,"Ru"),Jl=S5,i0=u(()=>{},"hr"),wt=i0,Us=i0,u($o,"De"),u(un,"ae"),u(md,"_t"),u(F5,"Cr"),u(A5,"gr"),u(k5,"yr"),u(_5,"Ar"),u(gd,"Ge"),u(B5,"Br"),u(R5,"wr"),u(ql,"xe"),G2={type:Ut},mo={type:Je},K2={type:Vt},fl={type:De,hard:!0},l0={type:De,hard:!0,literal:!0},Od={type:De},Y2={type:De,soft:!0},Cr=[fl,mo],Pd=[l0,mo],Zl={type:Er},u(vd,"be"),u(yd,"Je"),u(I5,"br"),u(Lt,"ee"),u(ew,"Or"),J2=u((e,t,r)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},"Yu"),ge=J2,jw=u(()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g,"Sr"),u(T5,"Nr"),u(z5,"Tr"),Vw=u(e=>!(T5(e)||z5(e)),"kr"),Uw=/[^\x20-\x7F]/u,u(L5,"Hu"),Xl=L5,u(jo,"Ne"),u(Wl,"Xe"),u(tw,"Wu"),u(M5,"Ir"),u(bd,"Lr"),u(rw,"Rr"),u(nw,"Mu"),u(O5,"Yr"),u(wd,"Pr"),u(Jn,"Se"),u(Dd,"Ze"),u(aw,"$u"),u(ow,"Vu"),u(P5,"jr"),u(iw,"Uu"),u(N5,"Hr"),u(Wp,"Qe"),Te=Symbol("MODE_BREAK"),ct=Symbol("MODE_FLAT"),Zn=Symbol("cursor"),u(Gp,"Wr"),u(lw,"zu"),u(sw,"Gu"),u(Gl,"bt"),u(Kl,"Ot"),u(fo,"et"),u(Vo,"Fe"),u(H5,"Ku"),Ql=H5,Z2=(u0=class{constructor(e){O2(this,Wr),this.stack=[e]}get key(){let{stack:e,siblings:t}=this;return ge(!1,e,t===null?-2:-4)??null}get index(){return this.siblings===null?null:ge(!1,this.stack,-2)}get node(){return ge(!1,this.stack,-1)}get parent(){return this.getNode(1)}get grandparent(){return this.getNode(2)}get isInArray(){return this.siblings!==null}get siblings(){let{stack:e}=this,t=ge(!1,e,-3);return Array.isArray(t)?t:null}get next(){let{siblings:e}=this;return e===null?null:e[this.index+1]}get previous(){let{siblings:e}=this;return e===null?null:e[this.index-1]}get isFirst(){return this.index===0}get isLast(){let{siblings:e,index:t}=this;return e!==null&&t===e.length-1}get isRoot(){return this.stack.length===1}get root(){return this.stack[0]}get ancestors(){return[...Rn(this,Wr,Ki).call(this)]}getName(){let{stack:e}=this,{length:t}=e;return t>1?ge(!1,e,-2):null}getValue(){return ge(!1,this.stack,-1)}getNode(e=0){let t=Rn(this,Wr,s0).call(this,e);return t===-1?null:this.stack[t]}getParentNode(e=0){return this.getNode(e+1)}call(e,...t){let{stack:r}=this,{length:n}=r,a=ge(!1,r,-1);for(let o of t)a=a[o],r.push(o,a);try{return e(this)}finally{r.length=n}}callParent(e,t=0){let r=Rn(this,Wr,s0).call(this,t+1),n=this.stack.splice(r+1);try{return e(this)}finally{this.stack.push(...n)}}each(e,...t){let{stack:r}=this,{length:n}=r,a=ge(!1,r,-1);for(let o of t)a=a[o],r.push(o,a);try{for(let o=0;o{r[a]=e(n,a,o)},...t),r}match(...e){let t=this.stack.length-1,r=null,n=this.stack[t--];for(let a of e){if(n===void 0)return!1;let o=null;if(typeof r=="number"&&(o=r,r=this.stack[t--],n=this.stack[t--]),a&&!a(n,r,o))return!1;r=this.stack[t--],n=this.stack[t--]}return!0}findAncestor(e){for(let t of Rn(this,Wr,Ki).call(this))if(e(t))return t}hasAncestor(e){for(let t of Rn(this,Wr,Ki).call(this))if(e(t))return!0;return!1}},u(u0,"St"),u0),Wr=new WeakSet,s0=u(function(e){let{stack:t}=this;for(let r=t.length-1;r>=0;r-=2)if(!Array.isArray(t[r])&&--e<0)return r;return-1},"Nt"),Ki=u(function*(){let{stack:e}=this;for(let t=e.length-3;t>=0;t-=2){let r=e[t];Array.isArray(r)||(yield r)}},"tt"),qw=Z2,c0=new Proxy(()=>{},{get:u(()=>c0,"get")}),es=c0,u($5,"qu"),Ww=$5,u(Kp,"Tt"),u(uw,"Ur"),u(Bn,"Ee"),X2=Bn(/\s/u),cr=Bn(" "),Nd=Bn(",; "),Hd=Bn(/[^\n\r]/u),u(j5,"Ju"),Rr=j5,u(V5,"Xu"),ur=V5,u(U5,"Zu"),Gw=U5,$d=new Set(["tokens","comments","parent","enclosingNode","precedingNode","followingNode"]),Kw=u(e=>Object.keys(e).filter(t=>!$d.has(t)),"Qu"),u(q5,"eo"),hi=q5,u(cw,"to"),u(js,"Lt"),u(en,"ue"),u(_o,"re"),u(tn,"oe"),hl=new WeakMap,u(Vs,"ut"),u(Yp,"qr"),ml=u(()=>!1,"It"),u(dw,"Jr"),af=u(e=>!/[\S\n\u2028\u2029]/u.test(e),"Xr"),u(pw,"ro"),u(fw,"no"),u(Ed,"Kr"),u(cl,"Rt"),u(W5,"uo"),qs=W5,u(Jp,"Zr"),u(hw,"oo"),u(mw,"io"),u(gw,"so"),u(vw,"Qr"),u(yw,"en"),u(G5,"ao"),Yw=G5,of=(d0=class extends Error{constructor(){super(...arguments);_n(this,"name","ConfigError")}},u(d0,"Pe"),d0),jd=(p0=class extends Error{constructor(){super(...arguments);_n(this,"name","UndefinedParserError")}},u(p0,"Ie"),p0),Jw={cursorOffset:{category:"Special",type:"int",default:-1,range:{start:-1,end:1/0,step:1},description:"Print (to stderr) where a cursor at the given position would move to after formatting.",cliCategory:"Editor"},endOfLine:{category:"Global",type:"choice",default:"lf",description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:`Maintain existing +(mixed values within one file are normalised by looking at what's used after the first line)`}]},filepath:{category:"Special",type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:"Other",cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{category:"Special",type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:"Other"},parser:{category:"Global",type:"choice",default:void 0,description:"Which parser to use.",exception:u(e=>typeof e=="string"||typeof e=="function","exception"),choices:[{value:"flow",description:"Flow"},{value:"babel",description:"JavaScript"},{value:"babel-flow",description:"Flow"},{value:"babel-ts",description:"TypeScript"},{value:"typescript",description:"TypeScript"},{value:"acorn",description:"JavaScript"},{value:"espree",description:"JavaScript"},{value:"meriyah",description:"JavaScript"},{value:"css",description:"CSS"},{value:"less",description:"Less"},{value:"scss",description:"SCSS"},{value:"json",description:"JSON"},{value:"json5",description:"JSON5"},{value:"jsonc",description:"JSON with Comments"},{value:"json-stringify",description:"JSON.stringify"},{value:"graphql",description:"GraphQL"},{value:"markdown",description:"Markdown"},{value:"mdx",description:"MDX"},{value:"vue",description:"Vue"},{value:"yaml",description:"YAML"},{value:"glimmer",description:"Ember / Handlebars"},{value:"html",description:"HTML"},{value:"angular",description:"Angular"},{value:"lwc",description:"Lightning Web Components"}]},plugins:{type:"path",array:!0,default:[{value:[]}],category:"Global",description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:u(e=>typeof e=="string"||typeof e=="object","exception"),cliName:"plugin",cliCategory:"Config"},printWidth:{category:"Global",type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:1/0,step:1}},rangeEnd:{category:"Special",type:"int",default:1/0,range:{start:0,end:1/0,step:1},description:`Format code ending at a given character offset (exclusive). +The range will extend forwards to the end of the selected statement.`,cliCategory:"Editor"},rangeStart:{category:"Special",type:"int",default:0,range:{start:0,end:1/0,step:1},description:`Format code starting at a given character offset. +The range will extend backwards to the start of the first line containing the selected statement.`,cliCategory:"Editor"},requirePragma:{category:"Special",type:"boolean",default:!1,description:`Require either '@prettier' or '@format' to be present in the file's first docblock comment +in order for it to be formatted.`,cliCategory:"Other"},tabWidth:{type:"int",category:"Global",default:2,description:"Number of spaces per indentation level.",range:{start:0,end:1/0,step:1}},useTabs:{category:"Global",type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{category:"Global",type:"choice",default:"auto",description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}},u(Cd,"ot"),u(bw,"Do"),u(ww,"lo"),Zw=u(e=>String(e).split(/[/\\]/u).pop(),"co"),u(xd,"nn"),u(Dw,"fo"),u(K5,"po"),Xw=K5,Gr={key:u(e=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),"key"),value(e){if(e===null||typeof e!="object")return JSON.stringify(e);if(Array.isArray(e))return`[${e.map(r=>Gr.value(r)).join(", ")}]`;let t=Object.keys(e);return t.length===0?"{}":`{ ${t.map(r=>`${Gr.key(r)}: ${Gr.value(e[r])}`).join(", ")} }`},pair:u(({key:e,value:t})=>Gr.value({[e]:t}),"pair")},f0=Za(Gi(),1),Q2=u((e,t,{descriptor:r})=>{let n=[`${f0.default.yellow(typeof e=="string"?r.key(e):r.pair(e))} is deprecated`];return t&&n.push(`we now treat it as ${f0.default.blue(typeof t=="string"?r.key(t):r.pair(t))}`),n.join("; ")+"."},"an"),rn=Za(Gi(),1),Vd=Symbol.for("vnopts.VALUE_NOT_EXIST"),Xa=Symbol.for("vnopts.VALUE_UNCHANGED"),Ud=" ".repeat(2),ev=u((e,t,r)=>{let{text:n,list:a}=r.normalizeExpectedResult(r.schemas[e].expected(r)),o=[];return n&&o.push(qc(e,t,n,r.descriptor)),a&&o.push([qc(e,t,a.title,r.descriptor)].concat(a.values.map(i=>Sd(i,r.loggerPrintWidth))).join(` +`)),Fd(o,r.loggerPrintWidth)},"cn"),u(qc,"ln"),u(Sd,"fn"),u(Fd,"pn"),h0=Za(Gi(),1),gl=[],qd=[],u(Y5,"Ht"),Wd=u((e,t,{descriptor:r,logger:n,schemas:a})=>{let o=[`Ignored unknown option ${h0.default.yellow(r.pair({key:e,value:t}))}.`],i=Object.keys(a).sort().find(s=>Y5(e,s)<3);i&&o.push(`Did you mean ${h0.default.blue(r.key(i))}?`),n.warn(o.join(" "))},"at"),Qw=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"],u(J5,"mo"),ir=(m0=class{static create(e){return J5(this,e)}constructor(e){this.name=e.name}default(e){}expected(e){return"nothing"}validate(e,t){return!1}deprecated(e,t){return!1}forward(e,t){}redirect(e,t){}overlap(e,t,r){return e}preprocess(e,t){return e}postprocess(e,t){return Xa}},u(m0,"O"),m0),u(Ew,"Eo"),eD=(g0=class extends ir{constructor(e){super(e),this._sourceName=e.sourceName}expected(e){return e.schemas[this._sourceName].expected(e)}validate(e,t){return t.schemas[this._sourceName].validate(e,t)}redirect(e,t){return this._sourceName}},u(g0,"Dt"),g0),tD=(v0=class extends ir{expected(){return"anything"}validate(){return!0}},u(v0,"lt"),v0),rD=(y0=class extends ir{constructor({valueSchema:e,name:t=e.name,...r}){super({...r,name:t}),this._valueSchema=e}expected(e){let{text:t,list:r}=e.normalizeExpectedResult(this._valueSchema.expected(e));return{text:t&&`an array of ${t}`,list:r&&{title:"an array of the following values",values:[{list:r}]}}}validate(e,t){if(!Array.isArray(e))return!1;let r=[];for(let n of e){let a=t.normalizeValidateResult(this._valueSchema.validate(n,t),n);a!==!0&&r.push(a.value)}return r.length===0?!0:{value:r}}deprecated(e,t){let r=[];for(let n of e){let a=t.normalizeDeprecatedResult(this._valueSchema.deprecated(n,t),n);a!==!1&&r.push(...a.map(({value:o})=>({value:[o]})))}return r}forward(e,t){let r=[];for(let n of e){let a=t.normalizeForwardResult(this._valueSchema.forward(n,t),n);r.push(...a.map(Wc))}return r}redirect(e,t){let r=[],n=[];for(let a of e){let o=t.normalizeRedirectResult(this._valueSchema.redirect(a,t),a);"remain"in o&&r.push(o.remain),n.push(...o.redirect.map(Wc))}return r.length===0?{redirect:n}:{redirect:n,remain:r}}overlap(e,t){return e.concat(t)}},u(y0,"ct"),y0),u(Wc,"Fn"),nD=(b0=class extends ir{expected(){return"true or false"}validate(e){return typeof e=="boolean"}},u(b0,"ft"),b0),u(Z5,"En"),u(X5,"hn"),u(Q5,"Cn"),u(e2,"gn"),u(t2,"yn"),u(r2,"An"),u(n2,"Bn"),u(Gc,"Mt"),u(Ad,"$t"),u(Kc,"Vt"),u(Yc,"Ut"),u(kd,"mn"),u(dl,"pt"),u(Jc,"zt"),u(Cw,"ho"),aD=(w0=class extends ir{constructor(e){super(e),this._choices=X5(e.choices.map(t=>t&&typeof t=="object"?t:{value:t}),"value")}expected({descriptor:e}){let t=Array.from(this._choices.keys()).map(a=>this._choices.get(a)).filter(({hidden:a})=>!a).map(a=>a.value).sort(r2).map(e.value),r=t.slice(0,-2),n=t.slice(-2);return{text:r.concat(n.join(" or ")).join(", "),list:{title:"one of the following values",values:t}}}validate(e){return this._choices.has(e)}deprecated(e){let t=this._choices.get(e);return t&&t.deprecated?{value:e}:!1}forward(e){let t=this._choices.get(e);return t?t.forward:void 0}redirect(e){let t=this._choices.get(e);return t?t.redirect:void 0}},u(w0,"dt"),w0),tv=(D0=class extends ir{expected(){return"a number"}validate(e,t){return typeof e=="number"}},u(D0,"Ft"),D0),oD=(E0=class extends tv{expected(){return"an integer"}validate(e,t){return t.normalizeValidateResult(super.validate(e,t),e)===!0&&t2(e)}},u(E0,"mt"),E0),Gd=(C0=class extends ir{expected(){return"a string"}validate(e){return typeof e=="string"}},u(C0,"Re"),C0),rv=Gr,nv=Wd,av=ev,ov=Q2,iD=(x0=class{constructor(e,t){let{logger:r=console,loggerPrintWidth:n=80,descriptor:a=rv,unknown:o=nv,invalid:i=av,deprecated:s=ov,missing:c=u(()=>!1,"D"),required:d=u(()=>!1,"l"),preprocess:f=u(p=>p,"d"),postprocess:m=u(()=>Xa,"f")}=t||{};this._utils={descriptor:a,logger:r||{warn:u(()=>{},"warn")},loggerPrintWidth:n,schemas:Z5(e,"name"),normalizeDefaultResult:Gc,normalizeExpectedResult:Ad,normalizeDeprecatedResult:Yc,normalizeForwardResult:dl,normalizeRedirectResult:Jc,normalizeValidateResult:Kc},this._unknownHandler=o,this._invalidHandler=n2(i),this._deprecatedHandler=s,this._identifyMissing=(p,h)=>!(p in h)||c(p,h),this._identifyRequired=d,this._preprocess=f,this._postprocess=m,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=Q5()}normalize(e){let t={},r=[this._preprocess(e,this._utils)],n=u(()=>{for(;r.length!==0;){let a=r.shift(),o=this._applyNormalization(a,t);r.push(...o)}},"u");n();for(let a of Object.keys(this._utils.schemas)){let o=this._utils.schemas[a];if(!(a in t)){let i=Gc(o.default(this._utils));"value"in i&&r.push({[a]:i.value})}}n();for(let a of Object.keys(this._utils.schemas)){if(!(a in t))continue;let o=this._utils.schemas[a],i=t[a],s=o.postprocess(i,this._utils);s!==Xa&&(this._applyValidation(s,a,o),t[a]=s)}return this._applyPostprocess(t),this._applyRequiredCheck(t),t}_applyNormalization(e,t){let r=[],{knownKeys:n,unknownKeys:a}=this._partitionOptionKeys(e);for(let o of n){let i=this._utils.schemas[o],s=i.preprocess(e[o],this._utils);this._applyValidation(s,o,i);let c=u(({from:m,to:p})=>{r.push(typeof p=="string"?{[p]:m}:{[p.key]:p.value})},"D"),d=u(({value:m,redirectTo:p})=>{let h=Yc(i.deprecated(m,this._utils),s,!0);if(h!==!1)if(h===!0)this._hasDeprecationWarned(o)||this._utils.logger.warn(this._deprecatedHandler(o,p,this._utils));else for(let{value:g}of h){let v={key:o,value:g};if(!this._hasDeprecationWarned(v)){let b=typeof p=="string"?{key:p,value:g}:p;this._utils.logger.warn(this._deprecatedHandler(v,b,this._utils))}}},"l");dl(i.forward(s,this._utils),s).forEach(c);let f=Jc(i.redirect(s,this._utils),s);if(f.redirect.forEach(c),"remain"in f){let m=f.remain;t[o]=o in t?i.overlap(t[o],m,this._utils):m,d({value:m})}for(let{from:m,to:p}of f.redirect)d({value:m,redirectTo:p})}for(let o of a){let i=e[o];this._applyUnknownHandler(o,i,t,(s,c)=>{r.push({[s]:c})})}return r}_applyRequiredCheck(e){for(let t of Object.keys(this._utils.schemas))if(this._identifyMissing(t,e)&&this._identifyRequired(t))throw this._invalidHandler(t,Vd,this._utils)}_partitionOptionKeys(e){let[t,r]=e2(Object.keys(e).filter(n=>!this._identifyMissing(n,e)),n=>n in this._utils.schemas);return{knownKeys:t,unknownKeys:r}}_applyValidation(e,t,r){let n=Kc(r.validate(e,this._utils),e);if(n!==!0)throw this._invalidHandler(t,n.value,this._utils)}_applyUnknownHandler(e,t,r,n){let a=this._unknownHandler(e,t,this._utils);if(a)for(let o of Object.keys(a)){if(this._identifyMissing(o,a))continue;let i=a[o];o in this._utils.schemas?n(o,i):r[o]=i}}_applyPostprocess(e){let t=this._postprocess(e,this._utils);if(t!==Xa){if(t.delete)for(let r of t.delete)delete e[r];if(t.override){let{knownKeys:r,unknownKeys:n}=this._partitionOptionKeys(t.override);for(let a of r){let o=t.override[a];this._applyValidation(o,a,this._utils.schemas[a]),e[a]=o}for(let a of n){let o=t.override[a];this._applyUnknownHandler(a,o,e,(i,s)=>{let c=this._utils.schemas[i];this._applyValidation(s,i,c),e[i]=s})}}}}},u(x0,"Et"),x0),u(a2,"go"),u(xw,"yo"),u(Sw,"Ao"),lD=a2,iv=u((e,t,r)=>{if(!(e&&t==null)){if(t.findLast)return t.findLast(r);for(let n=t.length-1;n>=0;n--){let a=t[n];if(r(a,n,t))return a}}},"Bo"),lf=iv,u(Zp,"qt"),u(Fw,"On"),u(Xp,"ht"),u(Qp,"Jt"),u(Aw,"Sn"),Kd={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null},u(o2,"wo"),wn=o2,sD=Za(j2(),1),u(i2,"ko"),u(kw,"Lo"),_a=i2,u(_w,"Un"),u(Bw,"Po"),u(l2,"Io"),uD=l2,u(pi,"Ye"),u(_d,"Gn"),u(ef,"Qt"),u(s2,"Ro"),cD=s2,u(u2,"Yo"),dD=u2,lv=u((e,t,r)=>{if(!(e&&t==null)){if(t.findLastIndex)return t.findLastIndex(r);for(let n=t.length-1;n>=0;n--){let a=t[n];if(r(a,n,t))return n}return-1}},"jo"),pD=lv,fD=u(({parser:e})=>e==="json"||e==="json5"||e==="jsonc"||e==="json-stringify","Ho"),u(Rw,"Wo"),u(Bd,"Xn"),u(Iw,"Mo"),u(Yl,"er"),u(Tw,"$o"),sf=new Set(["JsonRoot","ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),hD=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]),u(Rd,"Zn"),u(zw,"eu"),uf="\uFEFF",Yd=Symbol("cursor"),u(tf,"ou"),u(Lw,"Uo"),u(pl,"tr"),u(Id,"ru"),u(rf,"iu"),u(Td,"nu"),u(zd,"rr"),u(c2,"su"),u(d2,"au"),u(p2,"Du"),u(f2,"lu"),u(h2,"cu"),F0={},Ja(F0,{builders:u(()=>sv,"builders"),printer:u(()=>uv,"printer"),utils:u(()=>cv,"utils")}),sv={join:vd,line:Od,softline:Y2,hardline:Cr,literalline:Pd,group:md,conditionalGroup:_5,fill:gd,lineSuffix:ql,lineSuffixBoundary:G2,cursor:Zl,breakParent:mo,ifBreak:B5,trim:K2,indent:$o,indentIfBreak:R5,align:un,addAlignmentToDoc:yd,markAsRoot:A5,dedentToRoot:F5,dedent:k5,hardlineWithoutBreakParent:fl,literallineWithoutBreakParent:l0,label:I5,concat:u(e=>e,"concat")},uv={printDocToString:Vo},cv={willBreak:M5,traverseDoc:Jl,findInDoc:Wl,mapDoc:jo,removeLines:O5,stripTrailingHardline:Dd,replaceEndOfLine:P5,canBreak:N5},dv="3.3.3",A0={},Ja(A0,{addDanglingComment:u(()=>_o,"addDanglingComment"),addLeadingComment:u(()=>en,"addLeadingComment"),addTrailingComment:u(()=>tn,"addTrailingComment"),getAlignmentSize:u(()=>Ql,"getAlignmentSize"),getIndentSize:u(()=>pv,"getIndentSize"),getMaxContinuousCount:u(()=>fv,"getMaxContinuousCount"),getNextNonSpaceNonCommentCharacter:u(()=>hv,"getNextNonSpaceNonCommentCharacter"),getNextNonSpaceNonCommentCharacterIndex:u(()=>S2,"getNextNonSpaceNonCommentCharacterIndex"),getStringWidth:u(()=>Xl,"getStringWidth"),hasNewline:u(()=>ur,"hasNewline"),hasNewlineInRange:u(()=>mv,"hasNewlineInRange"),hasSpaces:u(()=>gv,"hasSpaces"),isNextLineEmpty:u(()=>A2,"isNextLineEmpty"),isNextLineEmptyAfterIndex:u(()=>ns,"isNextLineEmptyAfterIndex"),isPreviousLineEmpty:u(()=>F2,"isPreviousLineEmpty"),makeString:u(()=>vv,"makeString"),skip:u(()=>Bn,"skip"),skipEverythingButNewLine:u(()=>Hd,"skipEverythingButNewLine"),skipInlineComment:u(()=>ts,"skipInlineComment"),skipNewline:u(()=>Rr,"skipNewline"),skipSpaces:u(()=>cr,"skipSpaces"),skipToLineEnd:u(()=>Nd,"skipToLineEnd"),skipTrailingComment:u(()=>rs,"skipTrailingComment"),skipWhitespace:u(()=>X2,"skipWhitespace")}),u(m2,"Jo"),ts=m2,u(g2,"Xo"),rs=g2,u(v2,"Zo"),Ws=v2,u(y2,"Qo"),ns=y2,u(b2,"ei"),pv=b2,u(Mw,"ur"),u(w2,"ti"),fv=w2,u(D2,"ri"),hv=D2,u(E2,"ni"),mv=E2,u(C2,"ui"),gv=C2,u(x2,"oi"),vv=x2,u(Ow,"ii"),u(S2,"si"),u(Pw,"ai"),u(F2,"Di"),u(Nw,"li"),u(A2,"ci"),u(hr,"fe"),Jd=hr(zd),u(Ld,"gu"),u(k2,"fi"),yv=hr(Cd,0),bv={parse:hr(c2),formatAST:hr(d2),formatDoc:hr(p2),printToDoc:hr(f2),printDocToString:hr(h2)},mD=e0});function gD(e){for(var t=[],r=1;r{u(gD,"dedent")}),vD={};Sa(vD,{formatter:()=>yD});var wv,yD,vF=T(()=>{wv=Ce(Cs(),1),hF(),mF(),gF(),yD=(0,wv.default)(2)(async(e,t)=>e===!1?t:e==="dedent"||e===!0?gD(t):(await mD.format(t,{parser:e,plugins:[J7],htmlWhitespaceSensitivity:"ignore"})).trim())}),Zd,Xd,yF=T(()=>{Zd=u(function(e){return e.reduce(function(t,r){var n=r[0],a=r[1];return t[n]=a,t},{})},"fromEntries"),Xd=typeof window<"u"&&window.document&&window.document.createElement?l.useLayoutEffect:l.useEffect}),Pe,Xe,Qe,Ne,as,Xn,on,Qn,bD,cf,jn,wD,Qd,df,Dv,Ev,Cv,xv,Sv,Fv,Av,kv,_v,DD,rt=T(()=>{Pe="top",Xe="bottom",Qe="right",Ne="left",as="auto",Xn=[Pe,Xe,Qe,Ne],on="start",Qn="end",bD="clippingParents",cf="viewport",jn="popper",wD="reference",Qd=Xn.reduce(function(e,t){return e.concat([t+"-"+on,t+"-"+Qn])},[]),df=[].concat(Xn,[as]).reduce(function(e,t){return e.concat([t,t+"-"+on,t+"-"+Qn])},[]),Dv="beforeRead",Ev="read",Cv="afterRead",xv="beforeMain",Sv="main",Fv="afterMain",Av="beforeWrite",kv="write",_v="afterWrite",DD=[Dv,Ev,Cv,xv,Sv,Fv,Av,kv,_v]});function Dt(e){return e?(e.nodeName||"").toLowerCase():null}var Dn=T(()=>{u(Dt,"getNodeName")});function qe(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}var Qt=T(()=>{u(qe,"getWindow")});function Ir(e){var t=qe(e).Element;return e instanceof t||e instanceof Element}function Ze(e){var t=qe(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Gs(e){if(typeof ShadowRoot>"u")return!1;var t=qe(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var nt=T(()=>{Qt(),u(Ir,"isElement"),u(Ze,"isHTMLElement"),u(Gs,"isShadowRoot")});function Bv(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},a=t.attributes[r]||{},o=t.elements[r];!Ze(o)||!Dt(o)||(Object.assign(o.style,n),Object.keys(a).forEach(function(i){var s=a[i];s===!1?o.removeAttribute(i):o.setAttribute(i,s===!0?"":s)}))})}function Rv(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var a=t.elements[n],o=t.attributes[n]||{},i=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),s=i.reduce(function(c,d){return c[d]="",c},{});!Ze(a)||!Dt(a)||(Object.assign(a.style,s),Object.keys(o).forEach(function(c){a.removeAttribute(c)}))})}}var ED,bF=T(()=>{Dn(),nt(),u(Bv,"applyStyles"),u(Rv,"effect"),ED={name:"applyStyles",enabled:!0,phase:"write",fn:Bv,effect:Rv,requires:["computeStyles"]}});function vt(e){return e.split("-")[0]}var En=T(()=>{u(vt,"getBasePlacement")}),xr,Uo,dn,Cn=T(()=>{xr=Math.max,Uo=Math.min,dn=Math.round});function os(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}var CD=T(()=>{u(os,"getUAString")});function pf(){return!/^((?!chrome|android).)*safari/i.test(os())}var xD=T(()=>{CD(),u(pf,"isLayoutViewport")});function pn(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),a=1,o=1;t&&Ze(e)&&(a=e.offsetWidth>0&&dn(n.width)/e.offsetWidth||1,o=e.offsetHeight>0&&dn(n.height)/e.offsetHeight||1);var i=Ir(e)?qe(e):window,s=i.visualViewport,c=!pf()&&r,d=(n.left+(c&&s?s.offsetLeft:0))/a,f=(n.top+(c&&s?s.offsetTop:0))/o,m=n.width/a,p=n.height/o;return{width:m,height:p,top:f,right:d+m,bottom:f+p,left:d,x:d,y:f}}var mi=T(()=>{nt(),Cn(),Qt(),xD(),u(pn,"getBoundingClientRect")});function Ks(e){var t=pn(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}var ff=T(()=>{mi(),u(Ks,"getLayoutRect")});function hf(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Gs(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}var SD=T(()=>{nt(),u(hf,"contains")});function Xt(e){return qe(e).getComputedStyle(e)}var gi=T(()=>{Qt(),u(Xt,"getComputedStyle")});function FD(e){return["table","td","th"].indexOf(Dt(e))>=0}var wF=T(()=>{Dn(),u(FD,"isTableElement")});function pr(e){return((Ir(e)?e.ownerDocument:e.document)||window.document).documentElement}var Lr=T(()=>{nt(),u(pr,"getDocumentElement")});function vi(e){return Dt(e)==="html"?e:e.assignedSlot||e.parentNode||(Gs(e)?e.host:null)||pr(e)}var Ys=T(()=>{Dn(),Lr(),nt(),u(vi,"getParentNode")});function e1(e){return!Ze(e)||Xt(e).position==="fixed"?null:e.offsetParent}function AD(e){var t=/firefox/i.test(os()),r=/Trident/i.test(os());if(r&&Ze(e)){var n=Xt(e);if(n.position==="fixed")return null}var a=vi(e);for(Gs(a)&&(a=a.host);Ze(a)&&["html","body"].indexOf(Dt(a))<0;){var o=Xt(a);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return a;a=a.parentNode}return null}function Ba(e){for(var t=qe(e),r=e1(e);r&&FD(r)&&Xt(r).position==="static";)r=e1(r);return r&&(Dt(r)==="html"||Dt(r)==="body"&&Xt(r).position==="static")?t:r||AD(e)||t}var yi=T(()=>{Qt(),Dn(),gi(),nt(),wF(),Ys(),CD(),u(e1,"getTrueOffsetParent"),u(AD,"getContainingBlock"),u(Ba,"getOffsetParent")});function Js(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}var mf=T(()=>{u(Js,"getMainAxisFromPlacement")});function ea(e,t,r){return xr(e,Uo(t,r))}function kD(e,t,r){var n=ea(e,t,r);return n>r?r:n}var _D=T(()=>{Cn(),u(ea,"within"),u(kD,"withinMaxClamp")});function gf(){return{top:0,right:0,bottom:0,left:0}}var BD=T(()=>{u(gf,"getFreshSideObject")});function vf(e){return Object.assign({},gf(),e)}var RD=T(()=>{BD(),u(vf,"mergePaddingObject")});function yf(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var ID=T(()=>{u(yf,"expandToHashMap")});function Iv(e){var t,r=e.state,n=e.name,a=e.options,o=r.elements.arrow,i=r.modifiersData.popperOffsets,s=vt(r.placement),c=Js(s),d=[Ne,Qe].indexOf(s)>=0,f=d?"height":"width";if(!(!o||!i)){var m=TD(a.padding,r),p=Ks(o),h=c==="y"?Pe:Ne,g=c==="y"?Xe:Qe,v=r.rects.reference[f]+r.rects.reference[c]-i[c]-r.rects.popper[f],b=i[c]-r.rects.reference[c],D=Ba(o),E=D?c==="y"?D.clientHeight||0:D.clientWidth||0:0,C=v/2-b/2,w=m[h],x=E-p[f]-m[g],S=E/2-p[f]/2+C,F=ea(w,S,x),A=c;r.modifiersData[n]=(t={},t[A]=F,t.centerOffset=F-S,t)}}function Tv(e){var t=e.state,r=e.options,n=r.element,a=n===void 0?"[data-popper-arrow]":n;a!=null&&(typeof a=="string"&&(a=t.elements.popper.querySelector(a),!a)||hf(t.elements.popper,a)&&(t.elements.arrow=a))}var TD,zD,DF=T(()=>{En(),ff(),SD(),yi(),mf(),_D(),RD(),ID(),rt(),TD=u(function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,vf(typeof e!="number"?e:yf(e,Xn))},"toPaddingObject"),u(Iv,"arrow"),u(Tv,"effect"),zD={name:"arrow",enabled:!0,phase:"main",fn:Iv,effect:Tv,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}});function fn(e){return e.split("-")[1]}var bi=T(()=>{u(fn,"getVariation")});function LD(e,t){var r=e.x,n=e.y,a=t.devicePixelRatio||1;return{x:dn(r*a)/a||0,y:dn(n*a)/a||0}}function t1(e){var t,r=e.popper,n=e.popperRect,a=e.placement,o=e.variation,i=e.offsets,s=e.position,c=e.gpuAcceleration,d=e.adaptive,f=e.roundOffsets,m=e.isFixed,p=i.x,h=p===void 0?0:p,g=i.y,v=g===void 0?0:g,b=typeof f=="function"?f({x:h,y:v}):{x:h,y:v};h=b.x,v=b.y;var D=i.hasOwnProperty("x"),E=i.hasOwnProperty("y"),C=Ne,w=Pe,x=window;if(d){var S=Ba(r),F="clientHeight",A="clientWidth";if(S===qe(r)&&(S=pr(r),Xt(S).position!=="static"&&s==="absolute"&&(F="scrollHeight",A="scrollWidth")),S=S,a===Pe||(a===Ne||a===Qe)&&o===Qn){w=Xe;var _=m&&S===x&&x.visualViewport?x.visualViewport.height:S[F];v-=_-n.height,v*=c?1:-1}if(a===Ne||(a===Pe||a===Xe)&&o===Qn){C=Qe;var R=m&&S===x&&x.visualViewport?x.visualViewport.width:S[A];h-=R-n.width,h*=c?1:-1}}var I=Object.assign({position:s},d&&MD),z=f===!0?LD({x:h,y:v},qe(r)):{x:h,y:v};if(h=z.x,v=z.y,c){var L;return Object.assign({},I,(L={},L[w]=E?"0":"",L[C]=D?"0":"",L.transform=(x.devicePixelRatio||1)<=1?"translate("+h+"px, "+v+"px)":"translate3d("+h+"px, "+v+"px, 0)",L))}return Object.assign({},I,(t={},t[w]=E?v+"px":"",t[C]=D?h+"px":"",t.transform="",t))}function zv(e){var t=e.state,r=e.options,n=r.gpuAcceleration,a=n===void 0?!0:n,o=r.adaptive,i=o===void 0?!0:o,s=r.roundOffsets,c=s===void 0?!0:s,d={placement:vt(t.placement),variation:fn(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,t1(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,t1(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var MD,OD,EF=T(()=>{rt(),yi(),Qt(),Lr(),gi(),En(),bi(),Cn(),MD={top:"auto",right:"auto",bottom:"auto",left:"auto"},u(LD,"roundOffsetsByDPR"),u(t1,"mapToStyles"),u(zv,"computeStyles"),OD={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:zv,data:{}}});function Lv(e){var t=e.state,r=e.instance,n=e.options,a=n.scroll,o=a===void 0?!0:a,i=n.resize,s=i===void 0?!0:i,c=qe(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&d.forEach(function(f){f.addEventListener("scroll",r.update,go)}),s&&c.addEventListener("resize",r.update,go),function(){o&&d.forEach(function(f){f.removeEventListener("scroll",r.update,go)}),s&&c.removeEventListener("resize",r.update,go)}}var go,PD,CF=T(()=>{Qt(),go={passive:!0},u(Lv,"effect"),PD={name:"eventListeners",enabled:!0,phase:"write",fn:u(function(){},"fn"),effect:Lv,data:{}}});function Bo(e){return e.replace(/left|right|bottom|top/g,function(t){return ND[t]})}var ND,xF=T(()=>{ND={left:"right",right:"left",bottom:"top",top:"bottom"},u(Bo,"getOppositePlacement")});function r1(e){return e.replace(/start|end/g,function(t){return HD[t]})}var HD,SF=T(()=>{HD={start:"end",end:"start"},u(r1,"getOppositeVariationPlacement")});function Zs(e){var t=qe(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}var bf=T(()=>{Qt(),u(Zs,"getWindowScroll")});function Xs(e){return pn(pr(e)).left+Zs(e).scrollLeft}var wf=T(()=>{mi(),Lr(),bf(),u(Xs,"getWindowScrollBarX")});function $D(e,t){var r=qe(e),n=pr(e),a=r.visualViewport,o=n.clientWidth,i=n.clientHeight,s=0,c=0;if(a){o=a.width,i=a.height;var d=pf();(d||!d&&t==="fixed")&&(s=a.offsetLeft,c=a.offsetTop)}return{width:o,height:i,x:s+Xs(e),y:c}}var FF=T(()=>{Qt(),Lr(),wf(),xD(),u($D,"getViewportRect")});function jD(e){var t,r=pr(e),n=Zs(e),a=(t=e.ownerDocument)==null?void 0:t.body,o=xr(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),i=xr(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),s=-n.scrollLeft+Xs(e),c=-n.scrollTop;return Xt(a||r).direction==="rtl"&&(s+=xr(r.clientWidth,a?a.clientWidth:0)-o),{width:o,height:i,x:s,y:c}}var AF=T(()=>{Lr(),gi(),wf(),bf(),Cn(),u(jD,"getDocumentRect")});function Qs(e){var t=Xt(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}var Df=T(()=>{gi(),u(Qs,"isScrollParent")});function Ef(e){return["html","body","#document"].indexOf(Dt(e))>=0?e.ownerDocument.body:Ze(e)&&Qs(e)?e:Ef(vi(e))}var kF=T(()=>{Ys(),Df(),Dn(),nt(),u(Ef,"getScrollParent")});function ta(e,t){var r;t===void 0&&(t=[]);var n=Ef(e),a=n===((r=e.ownerDocument)==null?void 0:r.body),o=qe(n),i=a?[o].concat(o.visualViewport||[],Qs(n)?n:[]):n,s=t.concat(i);return a?s:s.concat(ta(vi(i)))}var VD=T(()=>{kF(),Ys(),Qt(),Df(),u(ta,"listScrollParents")});function is(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}var UD=T(()=>{u(is,"rectToClientRect")});function qD(e,t){var r=pn(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function n1(e,t,r){return t===cf?is($D(e,r)):Ir(t)?qD(t,r):is(jD(pr(e)))}function WD(e){var t=ta(vi(e)),r=["absolute","fixed"].indexOf(Xt(e).position)>=0,n=r&&Ze(e)?Ba(e):e;return Ir(n)?t.filter(function(a){return Ir(a)&&hf(a,n)&&Dt(a)!=="body"}):[]}function GD(e,t,r,n){var a=t==="clippingParents"?WD(e):[].concat(t),o=[].concat(a,[r]),i=o[0],s=o.reduce(function(c,d){var f=n1(e,d,n);return c.top=xr(f.top,c.top),c.right=Uo(f.right,c.right),c.bottom=Uo(f.bottom,c.bottom),c.left=xr(f.left,c.left),c},n1(e,i,n));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}var _F=T(()=>{rt(),FF(),AF(),VD(),yi(),Lr(),gi(),nt(),mi(),Ys(),SD(),Dn(),UD(),Cn(),u(qD,"getInnerBoundingClientRect"),u(n1,"getClientRectFromMixedType"),u(WD,"getClippingParents"),u(GD,"getClippingRect")});function Cf(e){var t=e.reference,r=e.element,n=e.placement,a=n?vt(n):null,o=n?fn(n):null,i=t.x+t.width/2-r.width/2,s=t.y+t.height/2-r.height/2,c;switch(a){case Pe:c={x:i,y:t.y-r.height};break;case Xe:c={x:i,y:t.y+t.height};break;case Qe:c={x:t.x+t.width,y:s};break;case Ne:c={x:t.x-r.width,y:s};break;default:c={x:t.x,y:t.y}}var d=a?Js(a):null;if(d!=null){var f=d==="y"?"height":"width";switch(o){case on:c[d]=c[d]-(t[f]/2-r[f]/2);break;case Qn:c[d]=c[d]+(t[f]/2-r[f]/2);break}}return c}var KD=T(()=>{En(),bi(),mf(),rt(),u(Cf,"computeOffsets")});function ya(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=n===void 0?e.placement:n,o=r.strategy,i=o===void 0?e.strategy:o,s=r.boundary,c=s===void 0?bD:s,d=r.rootBoundary,f=d===void 0?cf:d,m=r.elementContext,p=m===void 0?jn:m,h=r.altBoundary,g=h===void 0?!1:h,v=r.padding,b=v===void 0?0:v,D=vf(typeof b!="number"?b:yf(b,Xn)),E=p===jn?wD:jn,C=e.rects.popper,w=e.elements[g?E:p],x=GD(Ir(w)?w:w.contextElement||pr(e.elements.popper),c,f,i),S=pn(e.elements.reference),F=Cf({reference:S,element:C,placement:a}),A=is(Object.assign({},C,F)),_=p===jn?A:S,R={top:x.top-_.top+D.top,bottom:_.bottom-x.bottom+D.bottom,left:x.left-_.left+D.left,right:_.right-x.right+D.right},I=e.modifiersData.offset;if(p===jn&&I){var z=I[a];Object.keys(R).forEach(function(L){var O=[Qe,Xe].indexOf(L)>=0?1:-1,M=[Pe,Xe].indexOf(L)>=0?"y":"x";R[L]+=z[M]*O})}return R}var eu=T(()=>{_F(),Lr(),mi(),KD(),UD(),rt(),nt(),RD(),ID(),u(ya,"detectOverflow")});function YD(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=r.boundary,o=r.rootBoundary,i=r.padding,s=r.flipVariations,c=r.allowedAutoPlacements,d=c===void 0?df:c,f=fn(n),m=f?s?Qd:Qd.filter(function(g){return fn(g)===f}):Xn,p=m.filter(function(g){return d.indexOf(g)>=0});p.length===0&&(p=m);var h=p.reduce(function(g,v){return g[v]=ya(e,{placement:v,boundary:a,rootBoundary:o,padding:i})[vt(v)],g},{});return Object.keys(h).sort(function(g,v){return h[g]-h[v]})}var BF=T(()=>{bi(),rt(),eu(),En(),u(YD,"computeAutoPlacement")});function JD(e){if(vt(e)===as)return[];var t=Bo(e);return[r1(e),t,r1(t)]}function Mv(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var a=r.mainAxis,o=a===void 0?!0:a,i=r.altAxis,s=i===void 0?!0:i,c=r.fallbackPlacements,d=r.padding,f=r.boundary,m=r.rootBoundary,p=r.altBoundary,h=r.flipVariations,g=h===void 0?!0:h,v=r.allowedAutoPlacements,b=t.options.placement,D=vt(b),E=D===b,C=c||(E||!g?[Bo(b)]:JD(b)),w=[b].concat(C).reduce(function(le,$){return le.concat(vt($)===as?YD(t,{placement:$,boundary:f,rootBoundary:m,padding:d,flipVariations:g,allowedAutoPlacements:v}):$)},[]),x=t.rects.reference,S=t.rects.popper,F=new Map,A=!0,_=w[0],R=0;R=0,M=O?"width":"height",P=ya(t,{placement:I,boundary:f,rootBoundary:m,altBoundary:p,padding:d}),V=O?L?Qe:Ne:L?Xe:Pe;x[M]>S[M]&&(V=Bo(V));var W=Bo(V),q=[];if(o&&q.push(P[z]<=0),s&&q.push(P[V]<=0,P[W]<=0),q.every(function(le){return le})){_=I,A=!1;break}F.set(I,q)}if(A)for(var Y=g?3:1,Q=u(function(le){var $=w.find(function(Z){var re=F.get(Z);if(re)return re.slice(0,le).every(function(fe){return fe})});if($)return _=$,"break"},"_loop"),ne=Y;ne>0;ne--){var X=Q(ne);if(X==="break")break}t.placement!==_&&(t.modifiersData[n]._skip=!0,t.placement=_,t.reset=!0)}}var ZD,RF=T(()=>{xF(),En(),SF(),eu(),BF(),rt(),bi(),u(JD,"getExpandedFallbackPlacements"),u(Mv,"flip"),ZD={name:"flip",enabled:!0,phase:"main",fn:Mv,requiresIfExists:["offset"],data:{_skip:!1}}});function a1(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function o1(e){return[Pe,Qe,Xe,Ne].some(function(t){return e[t]>=0})}function Ov(e){var t=e.state,r=e.name,n=t.rects.reference,a=t.rects.popper,o=t.modifiersData.preventOverflow,i=ya(t,{elementContext:"reference"}),s=ya(t,{altBoundary:!0}),c=a1(i,n),d=a1(s,a,o),f=o1(c),m=o1(d);t.modifiersData[r]={referenceClippingOffsets:c,popperEscapeOffsets:d,isReferenceHidden:f,hasPopperEscaped:m},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":m})}var XD,IF=T(()=>{rt(),eu(),u(a1,"getSideOffsets"),u(o1,"isAnySideFullyClipped"),u(Ov,"hide"),XD={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Ov}});function QD(e,t,r){var n=vt(e),a=[Ne,Pe].indexOf(n)>=0?-1:1,o=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,i=o[0],s=o[1];return i=i||0,s=(s||0)*a,[Ne,Qe].indexOf(n)>=0?{x:s,y:i}:{x:i,y:s}}function Pv(e){var t=e.state,r=e.options,n=e.name,a=r.offset,o=a===void 0?[0,0]:a,i=df.reduce(function(f,m){return f[m]=QD(m,t.rects,o),f},{}),s=i[t.placement],c=s.x,d=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=d),t.modifiersData[n]=i}var e6,TF=T(()=>{En(),rt(),u(QD,"distanceAndSkiddingToXY"),u(Pv,"offset"),e6={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Pv}});function Nv(e){var t=e.state,r=e.name;t.modifiersData[r]=Cf({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}var t6,zF=T(()=>{KD(),u(Nv,"popperOffsets"),t6={name:"popperOffsets",enabled:!0,phase:"read",fn:Nv,data:{}}});function r6(e){return e==="x"?"y":"x"}var LF=T(()=>{u(r6,"getAltAxis")});function Hv(e){var t=e.state,r=e.options,n=e.name,a=r.mainAxis,o=a===void 0?!0:a,i=r.altAxis,s=i===void 0?!1:i,c=r.boundary,d=r.rootBoundary,f=r.altBoundary,m=r.padding,p=r.tether,h=p===void 0?!0:p,g=r.tetherOffset,v=g===void 0?0:g,b=ya(t,{boundary:c,rootBoundary:d,padding:m,altBoundary:f}),D=vt(t.placement),E=fn(t.placement),C=!E,w=Js(D),x=r6(w),S=t.modifiersData.popperOffsets,F=t.rects.reference,A=t.rects.popper,_=typeof v=="function"?v(Object.assign({},t.rects,{placement:t.placement})):v,R=typeof _=="number"?{mainAxis:_,altAxis:_}:Object.assign({mainAxis:0,altAxis:0},_),I=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,z={x:0,y:0};if(S){if(o){var L,O=w==="y"?Pe:Ne,M=w==="y"?Xe:Qe,P=w==="y"?"height":"width",V=S[w],W=V+b[O],q=V-b[M],Y=h?-A[P]/2:0,Q=E===on?F[P]:A[P],ne=E===on?-A[P]:-F[P],X=t.elements.arrow,le=h&&X?Ks(X):{width:0,height:0},$=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:gf(),Z=$[O],re=$[M],fe=ea(0,F[P],le[P]),xe=C?F[P]/2-Y-fe-Z-R.mainAxis:Q-fe-Z-R.mainAxis,At=C?-F[P]/2+Y+fe+re+R.mainAxis:ne+fe+re+R.mainAxis,We=t.elements.arrow&&Ba(t.elements.arrow),ot=We?w==="y"?We.clientTop||0:We.clientLeft||0:0,H=(L=I==null?void 0:I[w])!=null?L:0,it=V+xe-H-ot,kt=V+At-H,Or=ea(h?Uo(W,it):W,V,h?xr(q,kt):q);S[w]=Or,z[w]=Or-V}if(s){var Fn,_t=w==="x"?Pe:Ne,Di=w==="x"?Xe:Qe,Re=S[x],Pr=x==="y"?"height":"width",Bt=Re+b[_t],An=Re-b[Di],Rt=[Pe,Ne].indexOf(D)!==-1,kn=(Fn=I==null?void 0:I[x])!=null?Fn:0,It=Rt?Bt:Re-F[Pr]-A[Pr]-kn+R.altAxis,Se=Rt?Re+F[Pr]+A[Pr]-kn-R.altAxis:An,lt=h&&Rt?kD(It,Re,Se):ea(h?It:Bt,Re,h?Se:An);S[x]=lt,z[x]=lt-Re}t.modifiersData[n]=z}}var n6,MF=T(()=>{rt(),En(),mf(),LF(),_D(),ff(),yi(),eu(),bi(),BD(),Cn(),u(Hv,"preventOverflow"),n6={name:"preventOverflow",enabled:!0,phase:"main",fn:Hv,requiresIfExists:["offset"]}}),a6=T(()=>{});function o6(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}var OF=T(()=>{u(o6,"getHTMLElementScroll")});function i6(e){return e===qe(e)||!Ze(e)?Zs(e):o6(e)}var PF=T(()=>{bf(),Qt(),nt(),OF(),u(i6,"getNodeScroll")});function l6(e){var t=e.getBoundingClientRect(),r=dn(t.width)/e.offsetWidth||1,n=dn(t.height)/e.offsetHeight||1;return r!==1||n!==1}function s6(e,t,r){r===void 0&&(r=!1);var n=Ze(t),a=Ze(t)&&l6(t),o=pr(t),i=pn(e,a,r),s={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(n||!n&&!r)&&((Dt(t)!=="body"||Qs(o))&&(s=i6(t)),Ze(t)?(c=pn(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):o&&(c.x=Xs(o))),{x:i.left+s.scrollLeft-c.x,y:i.top+s.scrollTop-c.y,width:i.width,height:i.height}}var NF=T(()=>{mi(),PF(),Dn(),nt(),wf(),Lr(),Df(),Cn(),u(l6,"isElementScaled"),u(s6,"getCompositeRect")});function u6(e){var t=new Map,r=new Set,n=[];e.forEach(function(o){t.set(o.name,o)});function a(o){r.add(o.name);var i=[].concat(o.requires||[],o.requiresIfExists||[]);i.forEach(function(s){if(!r.has(s)){var c=t.get(s);c&&a(c)}}),n.push(o)}return u(a,"sort"),e.forEach(function(o){r.has(o.name)||a(o)}),n}function c6(e){var t=u6(e);return DD.reduce(function(r,n){return r.concat(t.filter(function(a){return a.phase===n}))},[])}var HF=T(()=>{rt(),u(u6,"order"),u(c6,"orderModifiers")});function d6(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}var $F=T(()=>{u(d6,"debounce")});function p6(e){var t=e.reduce(function(r,n){var a=r[n.name];return r[n.name]=a?Object.assign({},a,n,{options:Object.assign({},a.options,n.options),data:Object.assign({},a.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var jF=T(()=>{u(p6,"mergeByName")});function i1(){for(var e=arguments.length,t=new Array(e),r=0;r{NF(),ff(),VD(),yi(),HF(),$F(),jF(),nt(),l1={placement:"bottom",modifiers:[],strategy:"absolute"},u(i1,"areValidElements"),u(f6,"popperGenerator")}),$v,h6,UF=T(()=>{VF(),CF(),zF(),EF(),bF(),TF(),RF(),MF(),DF(),IF(),a6(),$v=[PD,t6,OD,ED,e6,ZD,n6,zD,XD],h6=f6({defaultModifiers:$v})}),qF=T(()=>{rt(),a6(),UF()}),WF=G((e,t)=>{var r=typeof Element<"u",n=typeof Map=="function",a=typeof Set=="function",o=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function i(s,c){if(s===c)return!0;if(s&&c&&typeof s=="object"&&typeof c=="object"){if(s.constructor!==c.constructor)return!1;var d,f,m;if(Array.isArray(s)){if(d=s.length,d!=c.length)return!1;for(f=d;f--!==0;)if(!i(s[f],c[f]))return!1;return!0}var p;if(n&&s instanceof Map&&c instanceof Map){if(s.size!==c.size)return!1;for(p=s.entries();!(f=p.next()).done;)if(!c.has(f.value[0]))return!1;for(p=s.entries();!(f=p.next()).done;)if(!i(f.value[1],c.get(f.value[0])))return!1;return!0}if(a&&s instanceof Set&&c instanceof Set){if(s.size!==c.size)return!1;for(p=s.entries();!(f=p.next()).done;)if(!c.has(f.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(s)&&ArrayBuffer.isView(c)){if(d=s.length,d!=c.length)return!1;for(f=d;f--!==0;)if(s[f]!==c[f])return!1;return!0}if(s.constructor===RegExp)return s.source===c.source&&s.flags===c.flags;if(s.valueOf!==Object.prototype.valueOf&&typeof s.valueOf=="function"&&typeof c.valueOf=="function")return s.valueOf()===c.valueOf();if(s.toString!==Object.prototype.toString&&typeof s.toString=="function"&&typeof c.toString=="function")return s.toString()===c.toString();if(m=Object.keys(s),d=m.length,d!==Object.keys(c).length)return!1;for(f=d;f--!==0;)if(!Object.prototype.hasOwnProperty.call(c,m[f]))return!1;if(r&&s instanceof Element)return!1;for(f=d;f--!==0;)if(!((m[f]==="_owner"||m[f]==="__v"||m[f]==="__o")&&s.$$typeof)&&!i(s[m[f]],c[m[f]]))return!1;return!0}return s!==s&&c!==c}u(i,"equal"),t.exports=u(function(s,c){try{return i(s,c)}catch(d){if((d.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw d}},"isEqual")}),jv,Vv,m6,GF=T(()=>{qF(),jv=Ce(WF()),yF(),Vv=[],m6=u(function(e,t,r){r===void 0&&(r={});var n=l.useRef(null),a={onFirstUpdate:r.onFirstUpdate,placement:r.placement||"bottom",strategy:r.strategy||"absolute",modifiers:r.modifiers||Vv},o=l.useState({styles:{popper:{position:a.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),i=o[0],s=o[1],c=l.useMemo(function(){return{name:"updateState",enabled:!0,phase:"write",fn:u(function(m){var p=m.state,h=Object.keys(p.elements);O1.flushSync(function(){s({styles:Zd(h.map(function(g){return[g,p.styles[g]||{}]})),attributes:Zd(h.map(function(g){return[g,p.attributes[g]]}))})})},"fn"),requires:["computeStyles"]}},[]),d=l.useMemo(function(){var m={onFirstUpdate:a.onFirstUpdate,placement:a.placement,strategy:a.strategy,modifiers:[].concat(a.modifiers,[c,{name:"applyStyles",enabled:!1}])};return(0,jv.default)(n.current,m)?n.current||m:(n.current=m,m)},[a.onFirstUpdate,a.placement,a.strategy,a.modifiers,c]),f=l.useRef();return Xd(function(){f.current&&f.current.setOptions(d)},[d]),Xd(function(){if(!(e==null||t==null)){var m=r.createPopper||h6,p=m(e,t,d);return f.current=p,function(){p.destroy(),f.current=null}}},[e,t,r.createPopper]),{state:f.current?f.current.state:null,styles:i.styles,attributes:i.attributes,update:f.current?f.current.update:null,forceUpdate:f.current?f.current.forceUpdate:null}},"usePopper")}),KF=T(()=>{GF()});function xf(e){var t=l.useRef(e);return t.current=e,l.useCallback(function(){return t.current},[])}function g6(e){var t=e.initial,r=e.value,n=e.onChange,a=n===void 0?y6:n;if(t===void 0&&r===void 0)throw new TypeError('Either "value" or "initial" variable must be set. Now both are undefined');var o=l.useState(t),i=o[0],s=o[1],c=xf(i),d=l.useCallback(function(m){var p=c(),h=typeof m=="function"?m(p):m;typeof h.persist=="function"&&h.persist(),s(h),typeof a=="function"&&a(h)},[c,a]),f=r!==void 0;return[f?r:i,f?a:d]}function s1(e,t){return e===void 0&&(e=0),t===void 0&&(t=0),function(){return{width:0,height:0,top:t,right:e,bottom:t,left:e,x:0,y:0,toJSON:u(function(){return null},"toJSON")}}}function v6(e,t){var r,n,a;e===void 0&&(e={}),t===void 0&&(t={});var o=Object.keys(c1).reduce(function(M,P){var V;return ze({},M,(V={},V[P]=M[P]!==void 0?M[P]:c1[P],V))},e),i=l.useMemo(function(){return[{name:"offset",options:{offset:o.offset}}]},Array.isArray(o.offset)?o.offset:[]),s=ze({},t,{placement:t.placement||o.placement,modifiers:t.modifiers||i}),c=l.useState(null),d=c[0],f=c[1],m=l.useState(null),p=m[0],h=m[1],g=g6({initial:o.defaultVisible,value:o.visible,onChange:o.onVisibleChange}),v=g[0],b=g[1],D=l.useRef();l.useEffect(function(){return function(){return clearTimeout(D.current)}},[]);var E=m6(o.followCursor?u1:d,p,s),C=E.styles,w=E.attributes,x=xs(E,b6),S=x.update,F=xf({visible:v,triggerRef:d,tooltipRef:p,finalConfig:o}),A=l.useCallback(function(M){return Array.isArray(o.trigger)?o.trigger.includes(M):o.trigger===M},Array.isArray(o.trigger)?o.trigger:[o.trigger]),_=l.useCallback(function(){clearTimeout(D.current),D.current=window.setTimeout(function(){return b(!1)},o.delayHide)},[o.delayHide,b]),R=l.useCallback(function(){clearTimeout(D.current),D.current=window.setTimeout(function(){return b(!0)},o.delayShow)},[o.delayShow,b]),I=l.useCallback(function(){F().visible?_():R()},[F,_,R]);l.useEffect(function(){if(F().finalConfig.closeOnOutsideClick){var M=u(function(P){var V,W=F(),q=W.tooltipRef,Y=W.triggerRef,Q=(P.composedPath==null||(V=P.composedPath())==null?void 0:V[0])||P.target;Q instanceof Node&&q!=null&&Y!=null&&!q.contains(Q)&&!Y.contains(Q)&&_()},"handleClickOutside");return document.addEventListener("mousedown",M),function(){return document.removeEventListener("mousedown",M)}}},[F,_]),l.useEffect(function(){if(!(d==null||!A("click")))return d.addEventListener("click",I),function(){return d.removeEventListener("click",I)}},[d,A,I]),l.useEffect(function(){if(!(d==null||!A("double-click")))return d.addEventListener("dblclick",I),function(){return d.removeEventListener("dblclick",I)}},[d,A,I]),l.useEffect(function(){if(!(d==null||!A("right-click"))){var M=u(function(P){P.preventDefault(),I()},"preventDefaultAndToggle");return d.addEventListener("contextmenu",M),function(){return d.removeEventListener("contextmenu",M)}}},[d,A,I]),l.useEffect(function(){if(!(d==null||!A("focus")))return d.addEventListener("focus",R),d.addEventListener("blur",_),function(){d.removeEventListener("focus",R),d.removeEventListener("blur",_)}},[d,A,R,_]),l.useEffect(function(){if(!(d==null||!A("hover")))return d.addEventListener("mouseenter",R),d.addEventListener("mouseleave",_),function(){d.removeEventListener("mouseenter",R),d.removeEventListener("mouseleave",_)}},[d,A,R,_]),l.useEffect(function(){if(!(p==null||!A("hover")||!F().finalConfig.interactive))return p.addEventListener("mouseenter",R),p.addEventListener("mouseleave",_),function(){p.removeEventListener("mouseenter",R),p.removeEventListener("mouseleave",_)}},[p,A,R,_,F]);var z=x==null||(r=x.state)==null||(n=r.modifiersData)==null||(a=n.hide)==null?void 0:a.isReferenceHidden;l.useEffect(function(){o.closeOnTriggerHidden&&z&&_()},[o.closeOnTriggerHidden,_,z]),l.useEffect(function(){if(!o.followCursor||d==null)return;function M(P){var V=P.clientX,W=P.clientY;u1.getBoundingClientRect=s1(V,W),S==null||S()}return u(M,"setMousePosition"),d.addEventListener("mousemove",M),function(){return d.removeEventListener("mousemove",M)}},[o.followCursor,d,S]),l.useEffect(function(){if(!(p==null||S==null||o.mutationObserverOptions==null)){var M=new MutationObserver(S);return M.observe(p,o.mutationObserverOptions),function(){return M.disconnect()}}},[o.mutationObserverOptions,p,S]);var L=u(function(M){return M===void 0&&(M={}),ze({},M,{style:ze({},M.style,C.popper)},w.popper,{"data-popper-interactive":o.interactive})},"getTooltipProps"),O=u(function(M){return M===void 0&&(M={}),ze({},M,w.arrow,{style:ze({},M.style,C.arrow),"data-popper-arrow":!0})},"getArrowProps");return ze({getArrowProps:O,getTooltipProps:L,setTooltipRef:h,setTriggerRef:f,tooltipRef:p,triggerRef:d,visible:v},x)}var y6,b6,u1,c1,YF=T(()=>{np(),Ds(),KF(),u(xf,"useGetLatest"),y6=u(function(){},"noop"),u(g6,"useControlledState"),u(s1,"generateBoundingClientRect"),b6=["styles","attributes"],u1={getBoundingClientRect:s1()},c1={closeOnOutsideClick:!0,closeOnTriggerHidden:!1,defaultVisible:!1,delayHide:0,delayShow:0,followCursor:!1,interactive:!1,mutationObserverOptions:{attributes:!0,childList:!0,subtree:!0},offset:[0,6],trigger:"hover"},u(v6,"usePopperTooltip")}),Uv,Ke,ar,qv,Wv,d1,JF=T(()=>{Uv=Ce(Cs(),1),Ke=(0,Uv.default)(1e3)((e,t,r,n=0)=>t.split("-")[0]===e?r:n),ar=8,qv=k.div({position:"absolute",borderStyle:"solid"},({placement:e})=>{let t=0,r=0;switch(!0){case(e.startsWith("left")||e.startsWith("right")):{r=8;break}case(e.startsWith("top")||e.startsWith("bottom")):{t=8;break}}return{transform:`translate3d(${t}px, ${r}px, 0px)`}},({theme:e,color:t,placement:r})=>({bottom:`${Ke("top",r,`${ar*-1}px`,"auto")}`,top:`${Ke("bottom",r,`${ar*-1}px`,"auto")}`,right:`${Ke("left",r,`${ar*-1}px`,"auto")}`,left:`${Ke("right",r,`${ar*-1}px`,"auto")}`,borderBottomWidth:`${Ke("top",r,"0",ar)}px`,borderTopWidth:`${Ke("bottom",r,"0",ar)}px`,borderRightWidth:`${Ke("left",r,"0",ar)}px`,borderLeftWidth:`${Ke("right",r,"0",ar)}px`,borderTopColor:Ke("top",r,e.color[t]||t||e.base==="light"?Na(e.background.app):e.background.app,"transparent"),borderBottomColor:Ke("bottom",r,e.color[t]||t||e.base==="light"?Na(e.background.app):e.background.app,"transparent"),borderLeftColor:Ke("left",r,e.color[t]||t||e.base==="light"?Na(e.background.app):e.background.app,"transparent"),borderRightColor:Ke("right",r,e.color[t]||t||e.base==="light"?Na(e.background.app):e.background.app,"transparent")})),Wv=k.div(({hidden:e})=>({display:e?"none":"inline-block",zIndex:2147483647}),({theme:e,color:t,hasChrome:r})=>r?{background:t&&e.color[t]||t||e.base==="light"?Na(e.background.app):e.background.app,filter:` + drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) + drop-shadow(0 1px 3px rgba(0,0,0,0.1)) + `,borderRadius:e.appBorderRadius+2,fontSize:e.typography.size.s1}:{}),d1=y.forwardRef(({placement:e="top",hasChrome:t=!0,children:r,arrowProps:n={},tooltipRef:a,color:o,withArrows:i,...s},c)=>y.createElement(Wv,{"data-testid":"tooltip",hasChrome:t,ref:c,...s,color:o},t&&i&&y.createElement(qv,{placement:e,...n,color:o}),r)),d1.displayName="Tooltip"}),Sf={};Sa(Sf,{WithToolTipState:()=>ls,WithTooltip:()=>ls,WithTooltipPure:()=>p1});var Qa,Gv,Kv,p1,ls,Ff=T(()=>{rp(),YF(),JF(),{document:Qa}=Es,Gv=k.div` + display: inline-block; + cursor: ${e=>e.trigger==="hover"||e.trigger.includes("hover")?"default":"pointer"}; +`,Kv=k.g` + cursor: ${e=>e.trigger==="hover"||e.trigger.includes("hover")?"default":"pointer"}; +`,p1=u(({svg:e=!1,trigger:t="click",closeOnOutsideClick:r=!1,placement:n="top",modifiers:a=[{name:"preventOverflow",options:{padding:8}},{name:"offset",options:{offset:[8,8]}},{name:"arrow",options:{padding:8}}],hasChrome:o=!0,defaultVisible:i=!1,withArrows:s,offset:c,tooltip:d,children:f,closeOnTriggerHidden:m,mutationObserverOptions:p,delayHide:h,visible:g,interactive:v,delayShow:b,strategy:D,followCursor:E,onVisibleChange:C,...w})=>{let x=e?Kv:Gv,{getArrowProps:S,getTooltipProps:F,setTooltipRef:A,setTriggerRef:_,visible:R,state:I}=v6({trigger:t,placement:n,defaultVisible:i,delayHide:h,interactive:v,closeOnOutsideClick:r,closeOnTriggerHidden:m,onVisibleChange:C,delayShow:b,followCursor:E,mutationObserverOptions:p,visible:g,offset:c},{modifiers:a,strategy:D}),z=R?y.createElement(d1,{placement:I==null?void 0:I.placement,ref:A,hasChrome:o,arrowProps:S(),withArrows:s,...F()},typeof d=="function"?d({onHide:u(()=>C(!1),"onHide")}):d):null;return y.createElement(y.Fragment,null,y.createElement(x,{trigger:t,ref:_,...w},f),R&&U4.createPortal(z,Qa.body))},"WithTooltipPure"),ls=u(({startOpen:e=!1,onVisibleChange:t,...r})=>{let[n,a]=l.useState(e),o=l.useCallback(i=>{t&&t(i)===!1||a(i)},[t]);return l.useEffect(()=>{let i=u(()=>o(!1),"hide");Qa.addEventListener("keydown",i,!1);let s=Array.from(Qa.getElementsByTagName("iframe")),c=[];return s.forEach(d=>{let f=u(()=>{try{d.contentWindow.document&&(d.contentWindow.document.addEventListener("click",i),c.push(()=>{try{d.contentWindow.document.removeEventListener("click",i)}catch{}}))}catch{}},"bind");f(),d.addEventListener("load",f),c.push(()=>{d.removeEventListener("load",f)})}),()=>{Qa.removeEventListener("keydown",i),c.forEach(d=>{d()})}}),y.createElement(p1,{...r,visible:n,onVisibleChange:o})},"WithToolTipState")}),ie=u(({...e},t)=>{let r=[e.class,e.className];return delete e.class,e.className=["sbdocs",`sbdocs-${t}`,...r].filter(Boolean).join(" "),e},"nameSpaceClassNames");Ds();rS();tp();function w6(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,pa(e,t)}u(w6,"_inheritsLoose");nS();tp();function D6(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}u(D6,"_isNativeFunction");function Af(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Af=u(function(){return!!e},"_isNativeReflectConstruct"))()}u(Af,"_isNativeReflectConstruct");tp();function E6(e,t,r){if(Af())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var a=new(e.bind.apply(e,n));return r&&pa(a,r.prototype),a}u(E6,"_construct");function ss(e){var t=typeof Map=="function"?new Map:void 0;return ss=u(function(r){if(r===null||!D6(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(r))return t.get(r);t.set(r,n)}function n(){return E6(r,arguments,Rl(this).constructor)}return u(n,"Wrapper"),n.prototype=Object.create(r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),pa(n,r)},"_wrapNativeSuper"),ss(e)}u(ss,"_wrapNativeSuper");var ZF={1:`Passed invalid arguments to hsl, please pass multiple numbers e.g. hsl(360, 0.75, 0.4) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75 }). + +`,2:`Passed invalid arguments to hsla, please pass multiple numbers e.g. hsla(360, 0.75, 0.4, 0.7) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75, alpha: 0.7 }). + +`,3:`Passed an incorrect argument to a color function, please pass a string representation of a color. + +`,4:`Couldn't generate valid rgb string from %s, it returned %s. + +`,5:`Couldn't parse the color string. Please provide the color as a string in hex, rgb, rgba, hsl or hsla notation. + +`,6:`Passed invalid arguments to rgb, please pass multiple numbers e.g. rgb(255, 205, 100) or an object e.g. rgb({ red: 255, green: 205, blue: 100 }). + +`,7:`Passed invalid arguments to rgba, please pass multiple numbers e.g. rgb(255, 205, 100, 0.75) or an object e.g. rgb({ red: 255, green: 205, blue: 100, alpha: 0.75 }). + +`,8:`Passed invalid argument to toColorString, please pass a RgbColor, RgbaColor, HslColor or HslaColor object. + +`,9:`Please provide a number of steps to the modularScale helper. + +`,10:`Please pass a number or one of the predefined scales to the modularScale helper as the ratio. + +`,11:`Invalid value passed as base to modularScale, expected number or em string but got "%s" + +`,12:`Expected a string ending in "px" or a number passed as the first argument to %s(), got "%s" instead. + +`,13:`Expected a string ending in "px" or a number passed as the second argument to %s(), got "%s" instead. + +`,14:`Passed invalid pixel value ("%s") to %s(), please pass a value like "12px" or 12. + +`,15:`Passed invalid base value ("%s") to %s(), please pass a value like "12px" or 12. + +`,16:`You must provide a template to this method. + +`,17:`You passed an unsupported selector state to this method. + +`,18:`minScreen and maxScreen must be provided as stringified numbers with the same units. + +`,19:`fromSize and toSize must be provided as stringified numbers with the same units. + +`,20:`expects either an array of objects or a single object with the properties prop, fromSize, and toSize. + +`,21:"expects the objects in the first argument array to have the properties `prop`, `fromSize`, and `toSize`.\n\n",22:"expects the first argument object to have the properties `prop`, `fromSize`, and `toSize`.\n\n",23:`fontFace expects a name of a font-family. + +`,24:`fontFace expects either the path to the font file(s) or a name of a local copy. + +`,25:`fontFace expects localFonts to be an array. + +`,26:`fontFace expects fileFormats to be an array. + +`,27:`radialGradient requries at least 2 color-stops to properly render. + +`,28:`Please supply a filename to retinaImage() as the first argument. + +`,29:`Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'. + +`,30:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",31:`The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation + +`,32:`To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s']) +To pass a single animation please supply them in simple values, e.g. animation('rotate', '2s') + +`,33:`The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation + +`,34:`borderRadius expects a radius value as a string or number as the second argument. + +`,35:`borderRadius expects one of "top", "bottom", "left" or "right" as the first argument. + +`,36:`Property must be a string value. + +`,37:`Syntax Error at %s. + +`,38:`Formula contains a function that needs parentheses at %s. + +`,39:`Formula is missing closing parenthesis at %s. + +`,40:`Formula has too many closing parentheses at %s. + +`,41:`All values in a formula must have the same unit or be unitless. + +`,42:`Please provide a number of steps to the modularScale helper. + +`,43:`Please pass a number or one of the predefined scales to the modularScale helper as the ratio. + +`,44:`Invalid value passed as base to modularScale, expected number or em/rem string but got %s. + +`,45:`Passed invalid argument to hslToColorString, please pass a HslColor or HslaColor object. + +`,46:`Passed invalid argument to rgbToColorString, please pass a RgbColor or RgbaColor object. + +`,47:`minScreen and maxScreen must be provided as stringified numbers with the same units. + +`,48:`fromSize and toSize must be provided as stringified numbers with the same units. + +`,49:`Expects either an array of objects or a single object with the properties prop, fromSize, and toSize. + +`,50:`Expects the objects in the first argument array to have the properties prop, fromSize, and toSize. + +`,51:`Expects the first argument object to have the properties prop, fromSize, and toSize. + +`,52:`fontFace expects either the path to the font file(s) or a name of a local copy. + +`,53:`fontFace expects localFonts to be an array. + +`,54:`fontFace expects fileFormats to be an array. + +`,55:`fontFace expects a name of a font-family. + +`,56:`linearGradient requries at least 2 color-stops to properly render. + +`,57:`radialGradient requries at least 2 color-stops to properly render. + +`,58:`Please supply a filename to retinaImage() as the first argument. + +`,59:`Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'. + +`,60:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",61:`Property must be a string value. + +`,62:`borderRadius expects a radius value as a string or number as the second argument. + +`,63:`borderRadius expects one of "top", "bottom", "left" or "right" as the first argument. + +`,64:`The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation. + +`,65:`To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s'])\\nTo pass a single animation please supply them in simple values, e.g. animation('rotate', '2s'). + +`,66:`The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation. + +`,67:`You must provide a template to this method. + +`,68:`You passed an unsupported selector state to this method. + +`,69:`Expected a string ending in "px" or a number passed as the first argument to %s(), got %s instead. + +`,70:`Expected a string ending in "px" or a number passed as the second argument to %s(), got %s instead. + +`,71:`Passed invalid pixel value %s to %s(), please pass a value like "12px" or 12. + +`,72:`Passed invalid base value %s to %s(), please pass a value like "12px" or 12. + +`,73:`Please provide a valid CSS variable. + +`,74:`CSS variable not found and no default was provided. + +`,75:`important requires a valid style object, got a %s instead. + +`,76:`fromSize and toSize must be provided as stringified numbers with the same units as minScreen and maxScreen. + +`,77:`remToPx expects a value in "rem" but you provided it in "%s". + +`,78:`base must be set in "px" or "%" but you set it in "%s". +`};function C6(){for(var e=arguments.length,t=new Array(e),r=0;r1?a-1:0),i=1;i=0&&a<1?(s=o,c=i):a>=1&&a<2?(s=i,c=o):a>=2&&a<3?(c=o,d=i):a>=3&&a<4?(c=i,d=o):a>=4&&a<5?(s=i,d=o):a>=5&&a<6&&(s=o,d=i);var f=r-o/2,m=s+f,p=c+f,h=d+f;return n(m,p,h)}u(ba,"hslToRgb");var Yv={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 S6(e){if(typeof e!="string")return e;var t=e.toLowerCase();return Yv[t]?"#"+Yv[t]:e}u(S6,"nameToHex");var XF=/^#[a-fA-F0-9]{6}$/,QF=/^#[a-fA-F0-9]{8}$/,eA=/^#[a-fA-F0-9]{3}$/,tA=/^#[a-fA-F0-9]{4}$/,k0=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,rA=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,nA=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,aA=/^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 tu(e){if(typeof e!="string")throw new $t(3);var t=S6(e);if(t.match(XF))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(QF)){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(eA))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(tA)){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=k0.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=rA.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=nA.exec(t);if(i){var s=parseInt(""+i[1],10),c=parseInt(""+i[2],10)/100,d=parseInt(""+i[3],10)/100,f="rgb("+ba(s,c,d)+")",m=k0.exec(f);if(!m)throw new $t(4,t,f);return{red:parseInt(""+m[1],10),green:parseInt(""+m[2],10),blue:parseInt(""+m[3],10)}}var p=aA.exec(t.substring(0,50));if(p){var h=parseInt(""+p[1],10),g=parseInt(""+p[2],10)/100,v=parseInt(""+p[3],10)/100,b="rgb("+ba(h,g,v)+")",D=k0.exec(b);if(!D)throw new $t(4,t,b);return{red:parseInt(""+D[1],10),green:parseInt(""+D[2],10),blue:parseInt(""+D[3],10),alpha:parseFloat(""+p[4])>1?parseFloat(""+p[4])/100:parseFloat(""+p[4])}}throw new $t(5)}u(tu,"parseToRgb");function F6(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 s,c=a-o,d=i>.5?c/(2-a-o):c/(a+o);switch(a){case t:s=(r-n)/c+(r=1?qo(e,t,r):"rgba("+ba(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?qo(e.hue,e.saturation,e.lightness):"rgba("+ba(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new $t(2)}u(_6,"hsla");function us(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return f1("#"+Dr(e)+Dr(t)+Dr(r));if(typeof e=="object"&&t===void 0&&r===void 0)return f1("#"+Dr(e.red)+Dr(e.green)+Dr(e.blue));throw new $t(6)}u(us,"rgb");function Wo(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=tu(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?us(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?us(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new $t(7)}u(Wo,"rgba");var iA=u(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isRgb"),lA=u(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},"isRgba"),sA=u(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isHsl"),uA=u(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"},"isHsla");function _f(e){if(typeof e!="object")throw new $t(8);if(lA(e))return Wo(e);if(iA(e))return us(e);if(uA(e))return _6(e);if(sA(e))return k6(e);throw new $t(8)}u(_f,"toColorString");function Bf(e,t,r){return u(function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):Bf(e,t,n)},"fn")}u(Bf,"curried");function ru(e){return Bf(e,e.length,[])}u(ru,"curry");function nu(e,t,r){return Math.max(e,Math.min(t,r))}u(nu,"guard");function B6(e,t){if(t==="transparent")return t;var r=kf(t);return _f(ze({},r,{lightness:nu(0,1,r.lightness-parseFloat(e))}))}u(B6,"darken");var cA=ru(B6),qn=cA;function R6(e,t){if(t==="transparent")return t;var r=kf(t);return _f(ze({},r,{lightness:nu(0,1,r.lightness+parseFloat(e))}))}u(R6,"lighten");var dA=ru(R6),Jv=dA;function I6(e,t){if(t==="transparent")return t;var r=tu(t),n=typeof r.alpha=="number"?r.alpha:1,a=ze({},r,{alpha:nu(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return Wo(a)}u(I6,"transparentize");var pA=ru(I6),mt=pA,Ra=u(({theme:e})=>({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"},"& tt, & code":{fontSize:"inherit"}}),"headerCommon"),fr=u(({theme:e})=>({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"?mt(.1,e.color.defaultText):mt(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border}),"codeCommon"),se=u(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"}),"withReset"),xn={margin:"16px 0"},Rf=k.div(se),fA=u(({href:e="",...t})=>{let r=/^\//.test(e)?`./?path=${e}`:e,n=/^#.*/.test(e)?"_self":"_top";return y.createElement("a",{href:r,target:n,...t})},"Link"),T6=k(fA)(se,({theme:e})=>({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}})),z6=k.blockquote(se,xn,({theme:e})=>({borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}}));As();var hA=u(e=>typeof e=="string","isReactChildString"),mA=/[\n\r]/g,gA=k.code(({theme:e})=>({fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"}),fr),vA=k(Co)(({theme:e})=>({fontFamily:e.typography.fonts.mono,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"}})),If=u(({className:e,children:t,...r})=>{let n=(e||"").match(/lang-(\S+)/),a=l.Children.toArray(t);return a.filter(hA).some(o=>o.match(mA))?y.createElement(vA,{bordered:!0,copyable:!0,language:(n==null?void 0:n[1])??"text",format:!1,...r},t):y.createElement(gA,{...r,className:e},a)},"Code"),L6=k.dl(se,xn,{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}}),M6=k.div(se),O6=k.h1(se,Ra,({theme:e})=>({fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold})),Tf=k.h2(se,Ra,({theme:e})=>({fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`})),zf=k.h3(se,Ra,({theme:e})=>({fontSize:`${e.typography.size.m1}px`})),P6=k.h4(se,Ra,({theme:e})=>({fontSize:`${e.typography.size.s3}px`})),N6=k.h5(se,Ra,({theme:e})=>({fontSize:`${e.typography.size.s2}px`})),H6=k.h6(se,Ra,({theme:e})=>({fontSize:`${e.typography.size.s2}px`,color:e.color.dark})),$6=k.hr(({theme:e})=>({border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0})),j6=k.img({maxWidth:"100%"}),V6=k.li(se,({theme:e})=>({fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":fr({theme:e})})),yA={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},U6=k.ol(se,xn,yA,{listStyle:"decimal"}),q6=k.p(se,xn,({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":fr({theme:e})})),W6=k.pre(se,xn,({theme:e})=>({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"}})),G6=k.span(se,({theme:e})=>({"&.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"}}})),K6=k.title(fr),Y6=k.table(se,xn,({theme:e})=>({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}})),bA={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},J6=k.ul(se,xn,bA,{listStyle:"disc"}),Z6={h1:u(e=>y.createElement(O6,{...ie(e,"h1")}),"h1"),h2:u(e=>y.createElement(Tf,{...ie(e,"h2")}),"h2"),h3:u(e=>y.createElement(zf,{...ie(e,"h3")}),"h3"),h4:u(e=>y.createElement(P6,{...ie(e,"h4")}),"h4"),h5:u(e=>y.createElement(N6,{...ie(e,"h5")}),"h5"),h6:u(e=>y.createElement(H6,{...ie(e,"h6")}),"h6"),pre:u(e=>y.createElement(W6,{...ie(e,"pre")}),"pre"),a:u(e=>y.createElement(T6,{...ie(e,"a")}),"a"),hr:u(e=>y.createElement($6,{...ie(e,"hr")}),"hr"),dl:u(e=>y.createElement(L6,{...ie(e,"dl")}),"dl"),blockquote:u(e=>y.createElement(z6,{...ie(e,"blockquote")}),"blockquote"),table:u(e=>y.createElement(Y6,{...ie(e,"table")}),"table"),img:u(e=>y.createElement(j6,{...ie(e,"img")}),"img"),div:u(e=>y.createElement(M6,{...ie(e,"div")}),"div"),span:u(e=>y.createElement(G6,{...ie(e,"span")}),"span"),li:u(e=>y.createElement(V6,{...ie(e,"li")}),"li"),ul:u(e=>y.createElement(J6,{...ie(e,"ul")}),"ul"),ol:u(e=>y.createElement(U6,{...ie(e,"ol")}),"ol"),p:u(e=>y.createElement(q6,{...ie(e,"p")}),"p"),code:u(e=>y.createElement(If,{...ie(e,"code")}),"code"),tt:u(e=>y.createElement(K6,{...ie(e,"tt")}),"tt"),resetwrapper:u(e=>y.createElement(Rf,{...ie(e,"resetwrapper")}),"resetwrapper")};k.div(({theme:e})=>({display:"inline-block",fontSize:11,lineHeight:"12px",alignSelf:"center",padding:"4px 12px",borderRadius:"3em",fontWeight:e.typography.weight.bold}),{svg:{height:12,width:12,marginRight:4,marginTop:-2,path:{fill:"currentColor"}}},({theme:e,status:t})=>{switch(t){case"critical":return{color:e.color.critical,background:e.background.critical};case"negative":return{color:e.color.negativeText,background:e.background.negative,boxShadow:e.base==="light"?`inset 0 0 0 1px ${mt(.9,e.color.negativeText)}`:"none"};case"warning":return{color:e.color.warningText,background:e.background.warning,boxShadow:e.base==="light"?`inset 0 0 0 1px ${mt(.9,e.color.warningText)}`:"none"};case"neutral":return{color:e.color.dark,background:e.color.mediumlight,boxShadow:e.base==="light"?`inset 0 0 0 1px ${mt(.9,e.color.dark)}`:"none"};case"positive":return{color:e.color.positiveText,background:e.background.positive,boxShadow:e.base==="light"?`inset 0 0 0 1px ${mt(.9,e.color.positiveText)}`:"none"};default:return{}}});var wA={};Sa(wA,{AccessibilityAltIcon:()=>$R,AccessibilityIcon:()=>HR,AddIcon:()=>M_,AdminIcon:()=>BR,AlertAltIcon:()=>cB,AlertIcon:()=>uB,AlignLeftIcon:()=>fk,AlignRightIcon:()=>hk,AppleIcon:()=>Tk,ArrowBottomLeftIcon:()=>rR,ArrowBottomRightIcon:()=>nR,ArrowDownIcon:()=>ZB,ArrowLeftIcon:()=>XB,ArrowRightIcon:()=>QB,ArrowSolidDownIcon:()=>oR,ArrowSolidLeftIcon:()=>iR,ArrowSolidRightIcon:()=>lR,ArrowSolidUpIcon:()=>aR,ArrowTopLeftIcon:()=>eR,ArrowTopRightIcon:()=>tR,ArrowUpIcon:()=>JB,AzureDevOpsIcon:()=>Nk,BackIcon:()=>bR,BasketIcon:()=>TB,BatchAcceptIcon:()=>__,BatchDenyIcon:()=>k_,BeakerIcon:()=>zB,BellIcon:()=>mB,BitbucketIcon:()=>Hk,BoldIcon:()=>Dk,BookIcon:()=>ak,BookmarkHollowIcon:()=>EB,BookmarkIcon:()=>CB,BottomBarIcon:()=>p_,BottomBarToggleIcon:()=>f_,BoxIcon:()=>y_,BranchIcon:()=>Bk,BrowserIcon:()=>a_,ButtonIcon:()=>eB,CPUIcon:()=>h_,CalendarIcon:()=>dk,CameraIcon:()=>jA,CategoryIcon:()=>lk,CertificateIcon:()=>_B,ChangedIcon:()=>$_,ChatIcon:()=>K_,CheckIcon:()=>F_,ChevronDownIcon:()=>UB,ChevronLeftIcon:()=>qB,ChevronRightIcon:()=>eE,ChevronSmallDownIcon:()=>GB,ChevronSmallLeftIcon:()=>KB,ChevronSmallRightIcon:()=>YB,ChevronSmallUpIcon:()=>WB,ChevronUpIcon:()=>VB,ChromaticIcon:()=>$k,ChromeIcon:()=>Ok,CircleHollowIcon:()=>wB,CircleIcon:()=>DB,ClearIcon:()=>V_,CloseAltIcon:()=>I_,CloseIcon:()=>P_,CloudHollowIcon:()=>OB,CloudIcon:()=>PB,CogIcon:()=>D_,CollapseIcon:()=>uR,CommandIcon:()=>aB,CommentAddIcon:()=>q_,CommentIcon:()=>U_,CommentsIcon:()=>G_,CommitIcon:()=>_k,CompassIcon:()=>CR,ComponentDrivenIcon:()=>jk,ComponentIcon:()=>CA,ContrastIcon:()=>LA,ControlsIcon:()=>B_,CopyIcon:()=>ik,CreditIcon:()=>Q_,CrossIcon:()=>Q6,DashboardIcon:()=>AR,DatabaseIcon:()=>m_,DeleteIcon:()=>N_,DiamondIcon:()=>xB,DirectionIcon:()=>RR,DiscordIcon:()=>Vk,DocChartIcon:()=>gk,DocListIcon:()=>vk,DocumentIcon:()=>ok,DownloadIcon:()=>yR,DragIcon:()=>yk,EditIcon:()=>w_,EllipsisIcon:()=>x_,EmailIcon:()=>dB,ExpandAltIcon:()=>sR,ExpandIcon:()=>cR,EyeCloseIcon:()=>TA,EyeIcon:()=>IA,FaceHappyIcon:()=>OR,FaceNeutralIcon:()=>PR,FaceSadIcon:()=>NR,FacebookIcon:()=>Uk,FailedIcon:()=>j_,FastForwardIcon:()=>YA,FigmaIcon:()=>qk,FilterIcon:()=>mk,FlagIcon:()=>MB,FolderIcon:()=>sk,FormIcon:()=>A_,GDriveIcon:()=>Wk,GithubIcon:()=>Gk,GitlabIcon:()=>Kk,GlobeIcon:()=>ER,GoogleIcon:()=>Yk,GraphBarIcon:()=>pk,GraphLineIcon:()=>ck,GraphqlIcon:()=>Jk,GridAltIcon:()=>AA,GridIcon:()=>xA,GrowIcon:()=>PA,HeartHollowIcon:()=>SB,HeartIcon:()=>FB,HomeIcon:()=>_R,HourglassIcon:()=>LB,InfoIcon:()=>iB,ItalicIcon:()=>Ek,JumpToIcon:()=>bB,KeyIcon:()=>Z_,LightningIcon:()=>zA,LightningOffIcon:()=>X6,LinkBrokenIcon:()=>hB,LinkIcon:()=>fB,LinkedinIcon:()=>r_,LinuxIcon:()=>zk,ListOrderedIcon:()=>xk,ListUnorderedIcon:()=>Sk,LocationIcon:()=>xR,LockIcon:()=>Y_,MarkdownIcon:()=>Ak,MarkupIcon:()=>wk,MediumIcon:()=>Zk,MemoryIcon:()=>g_,MenuIcon:()=>bk,MergeIcon:()=>Ik,MirrorIcon:()=>OA,MobileIcon:()=>i_,MoonIcon:()=>nk,NutIcon:()=>E_,OutboxIcon:()=>X_,OutlineIcon:()=>SA,PaintBrushIcon:()=>NA,PaperClipIcon:()=>Ck,ParagraphIcon:()=>Fk,PassedIcon:()=>H_,PhoneIcon:()=>pB,PhotoDragIcon:()=>FA,PhotoIcon:()=>EA,PinAltIcon:()=>z_,PinIcon:()=>SR,PlayAllHollowIcon:()=>QA,PlayBackIcon:()=>WA,PlayHollowIcon:()=>XA,PlayIcon:()=>qA,PlayNextIcon:()=>GA,PlusIcon:()=>R_,PointerDefaultIcon:()=>rB,PointerHandIcon:()=>nB,PowerIcon:()=>b_,PrintIcon:()=>uk,ProceedIcon:()=>wR,ProfileIcon:()=>MR,PullRequestIcon:()=>Rk,QuestionIcon:()=>lB,RSSIcon:()=>gB,RedirectIcon:()=>fR,ReduxIcon:()=>Xk,RefreshIcon:()=>DR,ReplyIcon:()=>mR,RepoIcon:()=>kk,RequestChangeIcon:()=>W_,RewindIcon:()=>KA,RulerIcon:()=>HA,SaveIcon:()=>oB,SearchIcon:()=>kA,ShareAltIcon:()=>vB,ShareIcon:()=>yB,ShieldIcon:()=>IB,SideBySideIcon:()=>ek,SidebarAltIcon:()=>u_,SidebarAltToggleIcon:()=>c_,SidebarIcon:()=>s_,SidebarToggleIcon:()=>d_,SpeakerIcon:()=>UA,StackedIcon:()=>tk,StarHollowIcon:()=>AB,StarIcon:()=>kB,StatusFailIcon:()=>HB,StatusPassIcon:()=>jB,StatusWarnIcon:()=>$B,StickerIcon:()=>NB,StopAltHollowIcon:()=>ZA,StopAltIcon:()=>JA,StopIcon:()=>$A,StorybookIcon:()=>Pk,StructureIcon:()=>v_,SubtractIcon:()=>O_,SunIcon:()=>rk,SupportIcon:()=>sB,SwitchAltIcon:()=>MA,SyncIcon:()=>gR,TabletIcon:()=>o_,ThumbsUpIcon:()=>RB,TimeIcon:()=>FR,TimerIcon:()=>kR,TransferIcon:()=>pR,TrashIcon:()=>T_,TwitterIcon:()=>Qk,TypeIcon:()=>tB,UbuntuIcon:()=>Lk,UndoIcon:()=>hR,UnfoldIcon:()=>dR,UnlockIcon:()=>J_,UnpinIcon:()=>L_,UploadIcon:()=>vR,UserAddIcon:()=>zR,UserAltIcon:()=>TR,UserIcon:()=>IR,UsersIcon:()=>LR,VSCodeIcon:()=>t_,VerifiedIcon:()=>BB,VideoIcon:()=>VA,WandIcon:()=>S_,WatchIcon:()=>l_,WindowsIcon:()=>Mk,WrenchIcon:()=>C_,XIcon:()=>n_,YoutubeIcon:()=>e_,ZoomIcon:()=>_A,ZoomOutIcon:()=>BA,ZoomResetIcon:()=>RA,iconList:()=>DA});var DA=[{name:"Images",icons:["PhotoIcon","ComponentIcon","GridIcon","OutlineIcon","PhotoDragIcon","GridAltIcon","SearchIcon","ZoomIcon","ZoomOutIcon","ZoomResetIcon","EyeIcon","EyeCloseIcon","LightningIcon","LightningOffIcon","ContrastIcon","SwitchAltIcon","MirrorIcon","GrowIcon","PaintBrushIcon","RulerIcon","StopIcon","CameraIcon","VideoIcon","SpeakerIcon","PlayIcon","PlayBackIcon","PlayNextIcon","RewindIcon","FastForwardIcon","StopAltIcon","StopAltHollowIcon","PlayHollowIcon","PlayAllHollowIcon","SideBySideIcon","StackedIcon","SunIcon","MoonIcon"]},{name:"Documents",icons:["BookIcon","DocumentIcon","CopyIcon","CategoryIcon","FolderIcon","PrintIcon","GraphLineIcon","CalendarIcon","GraphBarIcon","AlignLeftIcon","AlignRightIcon","FilterIcon","DocChartIcon","DocListIcon","DragIcon","MenuIcon"]},{name:"Editing",icons:["MarkupIcon","BoldIcon","ItalicIcon","PaperClipIcon","ListOrderedIcon","ListUnorderedIcon","ParagraphIcon","MarkdownIcon"]},{name:"Git",icons:["RepoIcon","CommitIcon","BranchIcon","PullRequestIcon","MergeIcon"]},{name:"OS",icons:["AppleIcon","LinuxIcon","UbuntuIcon","WindowsIcon","ChromeIcon"]},{name:"Logos",icons:["StorybookIcon","AzureDevOpsIcon","BitbucketIcon","ChromaticIcon","ComponentDrivenIcon","DiscordIcon","FacebookIcon","FigmaIcon","GDriveIcon","GithubIcon","GitlabIcon","GoogleIcon","GraphqlIcon","MediumIcon","ReduxIcon","TwitterIcon","YoutubeIcon","VSCodeIcon","LinkedinIcon","XIcon"]},{name:"Devices",icons:["BrowserIcon","TabletIcon","MobileIcon","WatchIcon","SidebarIcon","SidebarAltIcon","SidebarAltToggleIcon","SidebarToggleIcon","BottomBarIcon","BottomBarToggleIcon","CPUIcon","DatabaseIcon","MemoryIcon","StructureIcon","BoxIcon","PowerIcon"]},{name:"CRUD",icons:["EditIcon","CogIcon","NutIcon","WrenchIcon","EllipsisIcon","WandIcon","CheckIcon","FormIcon","BatchDenyIcon","BatchAcceptIcon","ControlsIcon","PlusIcon","CloseAltIcon","CrossIcon","TrashIcon","PinAltIcon","UnpinIcon","AddIcon","SubtractIcon","CloseIcon","DeleteIcon","PassedIcon","ChangedIcon","FailedIcon","ClearIcon","CommentIcon","CommentAddIcon","RequestChangeIcon","CommentsIcon","ChatIcon","LockIcon","UnlockIcon","KeyIcon","OutboxIcon","CreditIcon","ButtonIcon","TypeIcon","PointerDefaultIcon","PointerHandIcon","CommandIcon","SaveIcon"]},{name:"Communicate",icons:["InfoIcon","QuestionIcon","SupportIcon","AlertIcon","AlertAltIcon","EmailIcon","PhoneIcon","LinkIcon","LinkBrokenIcon","BellIcon","RSSIcon","ShareAltIcon","ShareIcon","JumpToIcon","CircleHollowIcon","CircleIcon","BookmarkHollowIcon","BookmarkIcon","DiamondIcon","HeartHollowIcon","HeartIcon","StarHollowIcon","StarIcon","CertificateIcon","VerifiedIcon","ThumbsUpIcon","ShieldIcon","BasketIcon","BeakerIcon","HourglassIcon","FlagIcon","CloudHollowIcon","CloudIcon","StickerIcon","StatusFailIcon","StatusWarnIcon","StatusPassIcon"]},{name:"Wayfinding",icons:["ChevronUpIcon","ChevronDownIcon","ChevronLeftIcon","ChevronRightIcon","ChevronSmallUpIcon","ChevronSmallDownIcon","ChevronSmallLeftIcon","ChevronSmallRightIcon","ArrowUpIcon","ArrowDownIcon","ArrowLeftIcon","ArrowRightIcon","ArrowTopLeftIcon","ArrowTopRightIcon","ArrowBottomLeftIcon","ArrowBottomRightIcon","ArrowSolidUpIcon","ArrowSolidDownIcon","ArrowSolidLeftIcon","ArrowSolidRightIcon","ExpandAltIcon","CollapseIcon","ExpandIcon","UnfoldIcon","TransferIcon","RedirectIcon","UndoIcon","ReplyIcon","SyncIcon","UploadIcon","DownloadIcon","BackIcon","ProceedIcon","RefreshIcon","GlobeIcon","CompassIcon","LocationIcon","PinIcon","TimeIcon","DashboardIcon","TimerIcon","HomeIcon","AdminIcon","DirectionIcon"]},{name:"People",icons:["UserIcon","UserAltIcon","UserAddIcon","UsersIcon","ProfileIcon","FaceHappyIcon","FaceNeutralIcon","FaceSadIcon","AccessibilityIcon","AccessibilityAltIcon"]}],EA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.25 4.254a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0zm-.5 0a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 1.504v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5zM2 9.297V2.004h10v5.293L9.854 5.15a.5.5 0 00-.708 0L6.5 7.797 5.354 6.65a.5.5 0 00-.708 0L2 9.297zM9.5 6.21l2.5 2.5v3.293H2V10.71l3-3 3.146 3.146a.5.5 0 00.708-.707L7.207 8.504 9.5 6.21z",fill:e}))),CA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 1.004a2.5 2.5 0 00-2.5 2.5v7a2.5 2.5 0 002.5 2.5h7a2.5 2.5 0 002.5-2.5v-7a2.5 2.5 0 00-2.5-2.5h-7zm8.5 5.5H7.5v-4.5h3a1.5 1.5 0 011.5 1.5v3zm0 1v3a1.5 1.5 0 01-1.5 1.5h-3v-4.5H12zm-5.5 4.5v-4.5H2v3a1.5 1.5 0 001.5 1.5h3zM2 6.504h4.5v-4.5h-3a1.5 1.5 0 00-1.5 1.5v3z",fill:e}))),xA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5H6a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H1.5a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5h3.5v3.5H2zM7.5 1.504a.5.5 0 01.5-.5h4.5a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H8a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5H12v3.5H8.5zM1.5 7.504a.5.5 0 00-.5.5v4.5a.5.5 0 00.5.5H6a.5.5 0 00.5-.5v-4.5a.5.5 0 00-.5-.5H1.5zm.5 1v3.5h3.5v-3.5H2zM7.5 8.004a.5.5 0 01.5-.5h4.5a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H8a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5H12v3.5H8.5z",fill:e}))),SA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2 2.004v2H1v-2.5a.5.5 0 01.5-.5H4v1H2zM1 9.004v-4h1v4H1zM1 10.004v2.5a.5.5 0 00.5.5H4v-1H2v-2H1zM10 13.004h2.5a.5.5 0 00.5-.5v-2.5h-1v2h-2v1zM12 4.004h1v-2.5a.5.5 0 00-.5-.5H10v1h2v2zM9 12.004v1H5v-1h4zM9 1.004v1H5v-1h4zM13 9.004h-1v-4h1v4zM7 8.004a1 1 0 100-2 1 1 0 000 2z",fill:e}))),FA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.25 3.254a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0zm-.5 0a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7.003v-6.5a.5.5 0 00-.5-.5h-10a.5.5 0 00-.5.5v2.5H.5a.5.5 0 00-.5.5v2.5h1v-2h2v6.5a.5.5 0 00.5.5H10v2H8v1h2.5a.5.5 0 00.5-.5v-2.5h2.5a.5.5 0 00.5-.5v-3.5zm-10-6v5.794L5.646 5.15a.5.5 0 01.708 0L7.5 6.297l2.646-2.647a.5.5 0 01.708 0L13 5.797V1.004H4zm9 6.208l-2.5-2.5-2.293 2.293L9.354 8.15a.5.5 0 11-.708.707L6 6.211l-2 2v1.793h9V7.21z",fill:e}),l.createElement("path",{d:"M0 10.004v-3h1v3H0zM0 13.504v-2.5h1v2h2v1H.5a.5.5 0 01-.5-.5zM7 14.004H4v-1h3v1z",fill:e}))),AA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4 3V1h1v2H4zM4 6v2h1V6H4zM4 11v2h1v-2H4zM9 11v2h1v-2H9zM9 8V6h1v2H9zM9 1v2h1V1H9zM13 5h-2V4h2v1zM11 10h2V9h-2v1zM3 10H1V9h2v1zM1 5h2V4H1v1zM8 5H6V4h2v1zM6 10h2V9H6v1zM4 4h1v1H4V4zM10 4H9v1h1V4zM9 9h1v1H9V9zM5 9H4v1h1V9z",fill:e}))),kA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z",fill:e}))),_A=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M6 3.5a.5.5 0 01.5.5v1.5H8a.5.5 0 010 1H6.5V8a.5.5 0 01-1 0V6.5H4a.5.5 0 010-1h1.5V4a.5.5 0 01.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z",fill:e}))),BA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4 5.5a.5.5 0 000 1h4a.5.5 0 000-1H4z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 11.5c1.35 0 2.587-.487 3.544-1.294a.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 106 11.5zm0-1a4.5 4.5 0 100-9 4.5 4.5 0 000 9z",fill:e}))),RA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5 2.837V1.5a.5.5 0 00-1 0V4a.5.5 0 00.5.5h2.5a.5.5 0 000-1H2.258a4.5 4.5 0 11-.496 4.016.5.5 0 10-.942.337 5.502 5.502 0 008.724 2.353.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 101.5 2.837z",fill:e}))),IA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 9.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7l-.21.293C13.669 7.465 10.739 11.5 7 11.5S.332 7.465.21 7.293L0 7l.21-.293C.331 6.536 3.261 2.5 7 2.5s6.668 4.036 6.79 4.207L14 7zM2.896 5.302A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5c1.518 0 2.958-.83 4.104-1.802A12.72 12.72 0 0012.755 7c-.297-.37-.875-1.04-1.65-1.698C9.957 4.33 8.517 3.5 7 3.5c-1.519 0-2.958.83-4.104 1.802z",fill:e}))),TA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11zM11.104 8.698c-.177.15-.362.298-.553.439l.714.714a13.25 13.25 0 002.526-2.558L14 7l-.21-.293C13.669 6.536 10.739 2.5 7 2.5c-.89 0-1.735.229-2.506.58l.764.763A4.859 4.859 0 017 3.5c1.518 0 2.958.83 4.104 1.802A12.724 12.724 0 0112.755 7a12.72 12.72 0 01-1.65 1.698zM.21 6.707c.069-.096 1.03-1.42 2.525-2.558l.714.714c-.191.141-.376.288-.553.439A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5a4.86 4.86 0 001.742-.344l.764.764c-.772.351-1.616.58-2.506.58C3.262 11.5.332 7.465.21 7.293L0 7l.21-.293z",fill:e}),l.createElement("path",{d:"M4.5 7c0-.322.061-.63.172-.914l3.242 3.242A2.5 2.5 0 014.5 7zM9.328 7.914L6.086 4.672a2.5 2.5 0 013.241 3.241z",fill:e}))),zA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.522 6.6a.566.566 0 00-.176.544.534.534 0 00.382.41l2.781.721-1.493 5.013a.563.563 0 00.216.627.496.496 0 00.63-.06l6.637-6.453a.568.568 0 00.151-.54.534.534 0 00-.377-.396l-2.705-.708 2.22-4.976a.568.568 0 00-.15-.666.497.497 0 00-.648.008L2.522 6.6zm7.72.63l-3.067-.804L9.02 2.29 3.814 6.803l2.95.764-1.277 4.285 4.754-4.622zM4.51 13.435l.037.011-.037-.011z",fill:e}))),X6=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M10.139 8.725l1.36-1.323a.568.568 0 00.151-.54.534.534 0 00-.377-.396l-2.705-.708 2.22-4.976a.568.568 0 00-.15-.666.497.497 0 00-.648.008L5.464 4.05l.708.71 2.848-2.47-1.64 3.677.697.697 2.164.567-.81.787.708.708zM2.523 6.6a.566.566 0 00-.177.544.534.534 0 00.382.41l2.782.721-1.494 5.013a.563.563 0 00.217.627.496.496 0 00.629-.06l3.843-3.736-.708-.707-2.51 2.44 1.137-3.814-.685-.685-2.125-.55.844-.731-.71-.71L2.524 6.6zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11z",fill:e}))),LA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 3.004H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h10a.5.5 0 00.5-.5v-2.5h2.5a.5.5 0 00.5-.5v-10a.5.5 0 00-.5-.5h-10a.5.5 0 00-.5.5v2.5zm1 1v2.293l2.293-2.293H4zm-1 0v6.5a.499.499 0 00.497.5H10v2H1v-9h2zm1-1h6.5a.499.499 0 01.5.5v6.5h2v-9H4v2zm6 7V7.71l-2.293 2.293H10zm0-3.707V4.71l-5.293 5.293h1.586L10 6.297zm-.707-2.293H7.707L4 7.71v1.586l5.293-5.293z",fill:e}))),MA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 3.004v-2.5a.5.5 0 01.5-.5h10a.5.5 0 01.5.5v10a.5.5 0 01-.5.5H11v2.5a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-10a.5.5 0 01.5-.5H3zm1 0v-2h9v9h-2v-6.5a.5.5 0 00-.5-.5H4zm6 8v2H1v-9h2v6.5a.5.5 0 00.5.5H10zm0-1H4v-6h6v6z",fill:e}))),OA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zm1 10.5h10v-10l-10 10z",fill:e}))),PA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5 1.004a.5.5 0 100 1H12v10.5a.5.5 0 001 0v-10.5a1 1 0 00-1-1H1.5z",fill:e}),l.createElement("path",{d:"M1 3.504a.5.5 0 01.5-.5H10a1 1 0 011 1v8.5a.5.5 0 01-1 0v-8.5H1.5a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 5.004a.5.5 0 00-.5.5v7a.5.5 0 00.5.5h7a.5.5 0 00.5-.5v-7a.5.5 0 00-.5-.5h-7zm.5 1v6h6v-6H2z",fill:e}))),NA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.854.146a.5.5 0 00-.708 0L2.983 8.31a2.24 2.24 0 00-1.074.6C.677 10.14.24 11.902.085 12.997 0 13.6 0 14 0 14s.4 0 1.002-.085c1.095-.155 2.857-.592 4.089-1.824a2.24 2.24 0 00.6-1.074l8.163-8.163a.5.5 0 000-.708l-2-2zM5.6 9.692l.942-.942L5.25 7.457l-.942.943A2.242 2.242 0 015.6 9.692zm1.649-1.65L12.793 2.5 11.5 1.207 5.957 6.75 7.25 8.043zM4.384 9.617a1.25 1.25 0 010 1.768c-.767.766-1.832 1.185-2.78 1.403-.17.04-.335.072-.49.098.027-.154.06-.318.099-.49.219-.947.637-2.012 1.403-2.779a1.25 1.25 0 011.768 0z",fill:e}))),HA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5 1.004a.5.5 0 01.5.5v.5h10v-.5a.5.5 0 011 0v2a.5.5 0 01-1 0v-.5H2v.5a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 6a.5.5 0 00-.5.5v6a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-6a.5.5 0 00-.5-.5h-11zM2 7v5h10V7h-1v2.5a.5.5 0 01-1 0V7h-.75v1a.5.5 0 01-1 0V7H7.5v2.5a.5.5 0 01-1 0V7h-.75v1a.5.5 0 01-1 0V7H4v2.5a.5.5 0 01-1 0V7H2z",fill:e}))),$A=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4.5 4a.5.5 0 00-.5.5v5a.5.5 0 00.5.5h5a.5.5 0 00.5-.5v-5a.5.5 0 00-.5-.5h-5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),jA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 7a3 3 0 11-6 0 3 3 0 016 0zM9 7a2 2 0 11-4 0 2 2 0 014 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.5 1a.5.5 0 00-.5.5v.504H.5a.5.5 0 00-.5.5v9a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H6V1.5a.5.5 0 00-.5-.5h-3zM1 3.004v8h12v-8H1z",fill:e}))),VA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.5 10a.5.5 0 100-1 .5.5 0 000 1z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 4a2 2 0 012-2h6a2 2 0 012 2v.5l3.189-2.391A.5.5 0 0114 2.5v9a.5.5 0 01-.804.397L10 9.5v.5a2 2 0 01-2 2H2a2 2 0 01-2-2V4zm9 0v1.5a.5.5 0 00.8.4L13 3.5v7L9.8 8.1a.5.5 0 00-.8.4V10a1 1 0 01-1 1H2a1 1 0 01-1-1V4a1 1 0 011-1h6a1 1 0 011 1z",fill:e}))),UA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 4.5v5a.5.5 0 00.5.5H4l3.17 2.775a.5.5 0 00.83-.377V1.602a.5.5 0 00-.83-.376L4 4H1.5a.5.5 0 00-.5.5zM4 9V5H2v4h2zm.998.545A.504.504 0 005 9.5v-5c0-.015 0-.03-.002-.044L7 2.704v8.592L4.998 9.545z",fill:e}),l.createElement("path",{d:"M10.15 1.752a.5.5 0 00-.3.954 4.502 4.502 0 010 8.588.5.5 0 00.3.954 5.502 5.502 0 000-10.496z",fill:e}),l.createElement("path",{d:"M10.25 3.969a.5.5 0 00-.5.865 2.499 2.499 0 010 4.332.5.5 0 10.5.866 3.499 3.499 0 000-6.063z",fill:e}))),qA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M12.813 7.425l-9.05 5.603A.5.5 0 013 12.603V1.398a.5.5 0 01.763-.425l9.05 5.602a.5.5 0 010 .85z",fill:e}))),WA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.24 12.035L3.697 7.427A.494.494 0 013.5 7.2v4.05a.75.75 0 01-1.5 0v-8.5a.75.75 0 011.5 0V6.8a.494.494 0 01.198-.227l7.541-4.608A.5.5 0 0112 2.39v9.217a.5.5 0 01-.76.427z",fill:e}))),GA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.76 12.035l7.542-4.608A.495.495 0 0010.5 7.2v4.05a.75.75 0 001.5 0v-8.5a.75.75 0 00-1.5 0V6.8a.495.495 0 00-.198-.227L2.76 1.965A.5.5 0 002 2.39v9.217a.5.5 0 00.76.427z",fill:e}))),KA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M9 2.42v2.315l4.228-2.736a.5.5 0 01.772.42v9.162a.5.5 0 01-.772.42L9 9.263v2.317a.5.5 0 01-.772.42L1.5 7.647v3.603a.75.75 0 01-1.5 0v-8.5a.75.75 0 011.5 0v3.603L8.228 2A.5.5 0 019 2.42z",fill:e}))),YA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5 2.42v2.315L.772 1.999a.5.5 0 00-.772.42v9.162a.5.5 0 00.772.42L5 9.263v2.317a.5.5 0 00.772.42L12.5 7.647v3.603a.75.75 0 001.5 0v-8.5a.75.75 0 00-1.5 0v3.603L5.772 2A.5.5 0 005 2.42z",fill:e}))),JA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11z",fill:e}))),ZA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.2 2.204v9.6h9.6v-9.6H2.2zm-.7-1.2a.5.5 0 00-.5.5v11a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-11a.5.5 0 00-.5-.5h-11z",fill:e}))),XA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.2 10.88L10.668 7 4.2 3.12v7.76zM3 2.414v9.174a.8.8 0 001.212.686l7.645-4.587a.8.8 0 000-1.372L4.212 1.727A.8.8 0 003 2.413z",fill:e}))),QA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.2 10.88L11.668 7 5.2 3.12v7.76zM4 2.414v9.174a.8.8 0 001.212.686l7.645-4.587a.8.8 0 000-1.372L5.212 1.727A.8.8 0 004 2.413zM1.5 1.6a.6.6 0 01.6.6v9.6a.6.6 0 11-1.2 0V2.2a.6.6 0 01.6-.6z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.963 1.932a.6.6 0 01.805-.268l1 .5a.6.6 0 01-.536 1.073l-1-.5a.6.6 0 01-.269-.805zM3.037 11.132a.6.6 0 01-.269.805l-1 .5a.6.6 0 01-.536-1.073l1-.5a.6.6 0 01.805.268z",fill:e}))),ek=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zm1 10.5v-10h5v10H2z",fill:e}))),tk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5 1.004a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11zm-10.5 1h10v5H2v-5z",fill:e}))),rk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3492)",fill:e},l.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0V2a.5.5 0 001 0V.5z"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 10a3 3 0 100-6 3 3 0 000 6zm0-1a2 2 0 100-4 2 2 0 000 4z"}),l.createElement("path",{d:"M7 11.5a.5.5 0 01.5.5v1.5a.5.5 0 01-1 0V12a.5.5 0 01.5-.5zM11.5 7a.5.5 0 01.5-.5h1.5a.5.5 0 010 1H12a.5.5 0 01-.5-.5zM.5 6.5a.5.5 0 000 1H2a.5.5 0 000-1H.5zM3.818 10.182a.5.5 0 010 .707l-1.06 1.06a.5.5 0 11-.708-.706l1.06-1.06a.5.5 0 01.708 0zM11.95 2.757a.5.5 0 10-.707-.707l-1.061 1.061a.5.5 0 10.707.707l1.06-1.06zM10.182 10.182a.5.5 0 01.707 0l1.06 1.06a.5.5 0 11-.706.708l-1.061-1.06a.5.5 0 010-.708zM2.757 2.05a.5.5 0 10-.707.707l1.06 1.061a.5.5 0 00.708-.707l-1.06-1.06z"})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3492"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),nk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3493)"},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.335.047l-.15-.015a7.499 7.499 0 106.14 10.577c.103-.229-.156-.447-.386-.346a5.393 5.393 0 01-.771.27A5.356 5.356 0 019.153.691C9.37.568 9.352.23 9.106.175a7.545 7.545 0 00-.77-.128zM6.977 1.092a6.427 6.427 0 005.336 10.671A6.427 6.427 0 116.977 1.092z",fill:e})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3493"},l.createElement("path",{fill:"#fff",transform:"scale(1.07124)",d:"M0 0h14.001v14.002H0z"}))))),ak=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 2a2 2 0 00-2-2H1.5a.5.5 0 00-.5.5v13a.5.5 0 00.5.5H11a2 2 0 002-2V2zM3 13h8a1 1 0 001-1V2a1 1 0 00-1-1H7v6.004a.5.5 0 01-.856.352l-.002-.002L5.5 6.71l-.645.647A.5.5 0 014 7.009V1H3v12zM5 1v4.793l.146-.146a.5.5 0 01.743.039l.111.11V1H5z",fill:e}))),ok=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4 5.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zM4.5 7.5a.5.5 0 000 1h5a.5.5 0 000-1h-5zM4 10.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 0a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h11a.5.5 0 00.5-.5V3.207a.5.5 0 00-.146-.353L10.146.146A.5.5 0 009.793 0H1.5zM2 1h7.5v2a.5.5 0 00.5.5h2V13H2V1z",fill:e}))),ik=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.746.07A.5.5 0 0011.5.003h-6a.5.5 0 00-.5.5v2.5H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h8a.5.5 0 00.5-.5v-2.5h4.5a.5.5 0 00.5-.5v-8a.498.498 0 00-.15-.357L11.857.154a.506.506 0 00-.11-.085zM9 10.003h4v-7h-1.5a.5.5 0 01-.5-.5v-1.5H6v2h.5a.5.5 0 01.357.15L8.85 5.147c.093.09.15.217.15.357v4.5zm-8-6v9h7v-7H6.5a.5.5 0 01-.5-.5v-1.5H1z",fill:e}))),lk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3 1.5a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5zM2 3.504a.5.5 0 01.5-.5h9a.5.5 0 010 1h-9a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 5.5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v7a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-7zM2 12V6h10v6H2z",fill:e}))),sk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.586 3.504l-1.5-1.5H1v9h12v-7.5H6.586zm.414-1L5.793 1.297a1 1 0 00-.707-.293H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-8.5a.5.5 0 00-.5-.5H7z",fill:e}))),uk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4.5 8.004a.5.5 0 100 1h5a.5.5 0 000-1h-5zM4.5 10.004a.5.5 0 000 1h5a.5.5 0 000-1h-5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 1.504a.5.5 0 01.5-.5h8a.498.498 0 01.357.15l.993.993c.093.09.15.217.15.357v1.5h1.5a.5.5 0 01.5.5v5a.5.5 0 01-.5.5H12v2.5a.5.5 0 01-.5.5h-9a.5.5 0 01-.5-.5v-2.5H.5a.5.5 0 01-.5-.5v-5a.5.5 0 01.5-.5H2v-2.5zm11 7.5h-1v-2.5a.5.5 0 00-.5-.5h-9a.5.5 0 00-.5.5v2.5H1v-4h12v4zm-2-6v1H3v-2h7v.5a.5.5 0 00.5.5h.5zm-8 9h8v-5H3v5z",fill:e}))),ck=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.146 6.15a.5.5 0 01.708 0L7 7.297 9.146 5.15a.5.5 0 01.708 0l1 1a.5.5 0 01-.708.707L9.5 6.211 7.354 8.357a.5.5 0 01-.708 0L5.5 7.211 3.854 8.857a.5.5 0 11-.708-.707l2-2z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 1.004a.5.5 0 00-.5.5v11a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-11a.5.5 0 00-.5-.5h-11zm.5 1v10h10v-10H2z",fill:e}))),dk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 0a.5.5 0 01.5.5V1h6V.5a.5.5 0 011 0V1h1.5a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5H3V.5a.5.5 0 01.5-.5zM2 4v2.3h3V4H2zm0 5.2V6.8h3v2.4H2zm0 .5V12h3V9.7H2zm3.5 0V12h3V9.7h-3zm3.5 0V12h3V9.7H9zm3-.5H9V6.8h3v2.4zm-3.5 0h-3V6.8h3v2.4zM9 4v2.3h3V4H9zM5.5 6.3h3V4h-3v2.3z",fill:e}))),pk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M12 2.5a.5.5 0 00-1 0v10a.5.5 0 001 0v-10zM9 4.5a.5.5 0 00-1 0v8a.5.5 0 001 0v-8zM5.5 7a.5.5 0 01.5.5v5a.5.5 0 01-1 0v-5a.5.5 0 01.5-.5zM3 10.5a.5.5 0 00-1 0v2a.5.5 0 001 0v-2z",fill:e}))),fk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M13 2a.5.5 0 010 1H1a.5.5 0 010-1h12zM10 5a.5.5 0 010 1H1a.5.5 0 010-1h9zM11.5 8.5A.5.5 0 0011 8H1a.5.5 0 000 1h10a.5.5 0 00.5-.5zM7.5 11a.5.5 0 010 1H1a.5.5 0 010-1h6.5z",fill:e}))),hk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1 2a.5.5 0 000 1h12a.5.5 0 000-1H1zM4 5a.5.5 0 000 1h9a.5.5 0 000-1H4zM2.5 8.5A.5.5 0 013 8h10a.5.5 0 010 1H3a.5.5 0 01-.5-.5zM6.5 11a.5.5 0 000 1H13a.5.5 0 000-1H6.5z",fill:e}))),mk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1 2a.5.5 0 000 1h12a.5.5 0 000-1H1zM3 5a.5.5 0 000 1h8a.5.5 0 000-1H3zM4.5 8.5A.5.5 0 015 8h4a.5.5 0 010 1H5a.5.5 0 01-.5-.5zM6.5 11a.5.5 0 000 1h1a.5.5 0 000-1h-1z",fill:e}))),gk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zM2 4v2.3h3V4H2zm0 5.2V6.8h3v2.4H2zm0 .5V12h3V9.7H2zm3.5 0V12h3V9.7h-3zm3.5 0V12h3V9.7H9zm3-.5H9V6.8h3v2.4zm-3.5 0h-3V6.8h3v2.4zM9 6.3h3V4H9v2.3zm-3.5 0h3V4h-3v2.3z",fill:e}))),vk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.5 6.5A.5.5 0 014 6h6a.5.5 0 010 1H4a.5.5 0 01-.5-.5zM4 9a.5.5 0 000 1h6a.5.5 0 000-1H4z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zM2 4v8h10V4H2z",fill:e}))),yk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M13 4a.5.5 0 010 1H1a.5.5 0 010-1h12zM13.5 9.5A.5.5 0 0013 9H1a.5.5 0 000 1h12a.5.5 0 00.5-.5z",fill:e}))),bk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M13 3.5a.5.5 0 010 1H1a.5.5 0 010-1h12zM13.5 10a.5.5 0 00-.5-.5H1a.5.5 0 000 1h12a.5.5 0 00.5-.5zM13 6.5a.5.5 0 010 1H1a.5.5 0 010-1h12z",fill:e}))),wk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M8.982 1.632a.5.5 0 00-.964-.263l-3 11a.5.5 0 10.964.263l3-11zM3.32 3.616a.5.5 0 01.064.704L1.151 7l2.233 2.68a.5.5 0 11-.768.64l-2.5-3a.5.5 0 010-.64l2.5-3a.5.5 0 01.704-.064zM10.68 3.616a.5.5 0 00-.064.704L12.849 7l-2.233 2.68a.5.5 0 00.768.64l2.5-3a.5.5 0 000-.64l-2.5-3a.5.5 0 00-.704-.064z",fill:e}))),Dk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 2v1.5h1v7H3V12h5a3 3 0 001.791-5.407A2.75 2.75 0 008 2.011V2H3zm5 5.5H5.5v3H8a1.5 1.5 0 100-3zm-.25-4H5.5V6h2.25a1.25 1.25 0 100-2.5z",fill:e}))),Ek=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5 2h6v1H8.5l-2 8H9v1H3v-1h2.5l2-8H5V2z",fill:e}))),Ck=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M10.553 2.268a1.5 1.5 0 00-2.12 0L2.774 7.925a2.5 2.5 0 003.536 3.535l3.535-3.535a.5.5 0 11.707.707l-3.535 3.536-.002.002a3.5 3.5 0 01-4.959-4.941l.011-.011L7.725 1.56l.007-.008a2.5 2.5 0 013.53 3.541l-.002.002-5.656 5.657-.003.003a1.5 1.5 0 01-2.119-2.124l3.536-3.536a.5.5 0 11.707.707L4.189 9.34a.5.5 0 00.707.707l5.657-5.657a1.5 1.5 0 000-2.121z",fill:e}))),xk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5 2.5a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5zM5 7a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7A.5.5 0 015 7zM5.5 11a.5.5 0 000 1h7a.5.5 0 000-1h-7zM2.5 2H1v1h1v3h1V2.5a.5.5 0 00-.5-.5zM3 8.5v1a.5.5 0 01-1 0V9h-.5a.5.5 0 010-1h1a.5.5 0 01.5.5zM2 10.5a.5.5 0 00-1 0V12h2v-1H2v-.5z",fill:e}))),Sk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.75 2.5a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM5.5 2a.5.5 0 000 1h7a.5.5 0 000-1h-7zM5.5 11a.5.5 0 000 1h7a.5.5 0 000-1h-7zM2 12.25a.75.75 0 100-1.5.75.75 0 000 1.5zM5 7a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7A.5.5 0 015 7zM2 7.75a.75.75 0 100-1.5.75.75 0 000 1.5z",fill:e}))),Fk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M6 7a3 3 0 110-6h5.5a.5.5 0 010 1H10v10.5a.5.5 0 01-1 0V2H7v10.5a.5.5 0 01-1 0V7z",fill:e}))),Ak=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2 4.5h1.5L5 6.375 6.5 4.5H8v5H6.5V7L5 8.875 3.5 7v2.5H2v-5zM9.75 4.5h1.5V7h1.25l-2 2.5-2-2.5h1.25V4.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.5 2a.5.5 0 00-.5.5v9a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H.5zM1 3v8h12V3H1z",fill:e}))),kk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5 2.5a.5.5 0 11-1 0 .5.5 0 011 0zM4.5 5a.5.5 0 100-1 .5.5 0 000 1zM5 6.5a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 0a2 2 0 012 2v10a2 2 0 01-2 2H1.5a.5.5 0 01-.5-.5V.5a.5.5 0 01.5-.5H11zm0 1H3v12h8a1 1 0 001-1V2a1 1 0 00-1-1z",fill:e}))),_k=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.031 7.5a4 4 0 007.938 0H13.5a.5.5 0 000-1h-2.53a4 4 0 00-7.94 0H.501a.5.5 0 000 1h2.531zM7 10a3 3 0 100-6 3 3 0 000 6z",fill:e}))),Bk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 2.5a1.5 1.5 0 01-1 1.415v4.053C5.554 7.4 6.367 7 7.5 7c.89 0 1.453-.252 1.812-.557.218-.184.374-.4.482-.62a1.5 1.5 0 111.026.143c-.155.423-.425.87-.86 1.24C9.394 7.685 8.59 8 7.5 8c-1.037 0-1.637.42-1.994.917a2.81 2.81 0 00-.472 1.18A1.5 1.5 0 114 10.086v-6.17A1.5 1.5 0 116 2.5zm-2 9a.5.5 0 111 0 .5.5 0 01-1 0zm1-9a.5.5 0 11-1 0 .5.5 0 011 0zm6 2a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}))),Rk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.354 1.354L7.707 2H8.5A2.5 2.5 0 0111 4.5v5.585a1.5 1.5 0 11-1 0V4.5A1.5 1.5 0 008.5 3h-.793l.647.646a.5.5 0 11-.708.708l-1.5-1.5a.5.5 0 010-.708l1.5-1.5a.5.5 0 11.708.708zM11 11.5a.5.5 0 11-1 0 .5.5 0 011 0zM4 3.915a1.5 1.5 0 10-1 0v6.17a1.5 1.5 0 101 0v-6.17zM3.5 11a.5.5 0 100 1 .5.5 0 000-1zm0-8a.5.5 0 100-1 .5.5 0 000 1z",fill:e}))),Ik=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.108 3.872A1.5 1.5 0 103 3.915v6.17a1.5 1.5 0 101 0V6.41c.263.41.573.77.926 1.083 1.108.98 2.579 1.433 4.156 1.5A1.5 1.5 0 109.09 7.99c-1.405-.065-2.62-.468-3.5-1.248-.723-.64-1.262-1.569-1.481-2.871zM3.5 11a.5.5 0 100 1 .5.5 0 000-1zM4 2.5a.5.5 0 11-1 0 .5.5 0 011 0zm7 6a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}))),Tk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.03 8.103a3.044 3.044 0 01-.202-1.744 2.697 2.697 0 011.4-1.935c-.749-1.18-1.967-1.363-2.35-1.403-.835-.086-2.01.56-2.648.57h-.016c-.639-.01-1.814-.656-2.649-.57-.415.044-1.741.319-2.541 1.593-.281.447-.498 1.018-.586 1.744a6.361 6.361 0 00-.044.85c.005.305.028.604.07.895.09.62.259 1.207.477 1.744.242.595.543 1.13.865 1.585.712 1.008 1.517 1.59 1.971 1.6.934.021 1.746-.61 2.416-.594.006.002.014.003.02.002h.017c.007 0 .014 0 .021-.002.67-.017 1.481.615 2.416.595.453-.011 1.26-.593 1.971-1.6a7.95 7.95 0 00.97-1.856c-.697-.217-1.27-.762-1.578-1.474zm-2.168-5.97c.717-.848.69-2.07.624-2.125-.065-.055-1.25.163-1.985.984-.735.82-.69 2.071-.624 2.125.064.055 1.268-.135 1.985-.984z",fill:e}))),zk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0a3 3 0 013 3v1.24c.129.132.25.27.362.415.113.111.283.247.515.433l.194.155c.325.261.711.582 1.095.966.765.765 1.545 1.806 1.823 3.186a.501.501 0 01-.338.581 3.395 3.395 0 01-1.338.134 2.886 2.886 0 01-1.049-.304 5.535 5.535 0 01-.17.519 2 2 0 11-2.892 2.55A5.507 5.507 0 017 13c-.439 0-.838-.044-1.201-.125a2 2 0 11-2.892-2.55 5.553 5.553 0 01-.171-.519c-.349.182-.714.27-1.05.304A3.395 3.395 0 01.35 9.977a.497.497 0 01-.338-.582c.278-1.38 1.058-2.42 1.823-3.186.384-.384.77-.705 1.095-.966l.194-.155c.232-.186.402-.322.515-.433.112-.145.233-.283.362-.414V3a3 3 0 013-3zm1.003 11.895a2 2 0 012.141-1.89c.246-.618.356-1.322.356-2.005 0-.514-.101-1.07-.301-1.599l-.027-.017a6.387 6.387 0 00-.857-.42 6.715 6.715 0 00-1.013-.315l-.852.638a.75.75 0 01-.9 0l-.852-.638a6.716 6.716 0 00-1.693.634 4.342 4.342 0 00-.177.101l-.027.017A4.6 4.6 0 003.501 8c0 .683.109 1.387.355 2.005a2 2 0 012.142 1.89c.295.067.627.105 1.002.105s.707-.038 1.003-.105zM5 12a1 1 0 11-2 0 1 1 0 012 0zm6 0a1 1 0 11-2 0 1 1 0 012 0zM6.1 4.3a1.5 1.5 0 011.8 0l.267.2L7 5.375 5.833 4.5l.267-.2zM8.5 2a.5.5 0 01.5.5V3a.5.5 0 01-1 0v-.5a.5.5 0 01.5-.5zM6 2.5a.5.5 0 00-1 0V3a.5.5 0 001 0v-.5z",fill:e}))),Lk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3497)",fill:e},l.createElement("path",{d:"M12.261 2.067c0 1.142-.89 2.068-1.988 2.068-1.099 0-1.99-.926-1.99-2.068C8.283.926 9.174 0 10.273 0c1.098 0 1.989.926 1.989 2.067zM3.978 6.6c0 1.142-.89 2.068-1.989 2.068C.891 8.668 0 7.742 0 6.601c0-1.142.89-2.068 1.989-2.068 1.099 0 1.989.926 1.989 2.068zM6.475 11.921A4.761 4.761 0 014.539 11a4.993 4.993 0 01-1.367-1.696 2.765 2.765 0 01-1.701.217 6.725 6.725 0 001.844 2.635 6.379 6.379 0 004.23 1.577 3.033 3.033 0 01-.582-1.728 4.767 4.767 0 01-.488-.083zM11.813 11.933c0 1.141-.89 2.067-1.989 2.067-1.098 0-1.989-.926-1.989-2.067 0-1.142.891-2.068 1.99-2.068 1.098 0 1.989.926 1.989 2.068zM12.592 11.173a6.926 6.926 0 001.402-3.913 6.964 6.964 0 00-1.076-4.023A2.952 2.952 0 0111.8 4.6c.398.78.592 1.656.564 2.539a5.213 5.213 0 01-.724 2.495c.466.396.8.935.952 1.54zM1.987 3.631c-.05 0-.101.002-.151.004C3.073 1.365 5.504.024 8.005.23a3.07 3.07 0 00-.603 1.676 4.707 4.707 0 00-2.206.596 4.919 4.919 0 00-1.7 1.576 2.79 2.79 0 00-1.509-.447z"})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3497"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),Mk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M6.5 1H1v5.5h5.5V1zM13 1H7.5v5.5H13V1zM7.5 7.5H13V13H7.5V7.5zM6.5 7.5H1V13h5.5V7.5z",fill:e}))),Ok=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3496)"},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.023 3.431a.115.115 0 01-.099.174H7.296A3.408 3.408 0 003.7 6.148a.115.115 0 01-.21.028l-1.97-3.413a.115.115 0 01.01-.129A6.97 6.97 0 017 0a6.995 6.995 0 016.023 3.431zM7 9.615A2.619 2.619 0 014.384 7 2.62 2.62 0 017 4.383 2.619 2.619 0 019.616 7 2.619 2.619 0 017 9.615zm1.034.71a.115.115 0 00-.121-.041 3.4 3.4 0 01-.913.124 3.426 3.426 0 01-3.091-1.973L1.098 3.567a.115.115 0 00-.2.001 7.004 7.004 0 005.058 10.354l.017.001c.04 0 .078-.021.099-.057l1.971-3.414a.115.115 0 00-.009-.128zm1.43-5.954h3.947c.047 0 .09.028.107.072.32.815.481 1.675.481 2.557a6.957 6.957 0 01-2.024 4.923A6.957 6.957 0 017.08 14h-.001a.115.115 0 01-.1-.172L9.794 8.95A3.384 3.384 0 0010.408 7c0-.921-.364-1.785-1.024-2.433a.115.115 0 01.08-.196z",fill:e})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3496"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),Pk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.042.616a.704.704 0 00-.66.729L1.816 12.9c.014.367.306.66.672.677l9.395.422h.032a.704.704 0 00.704-.703V.704c0-.015 0-.03-.002-.044a.704.704 0 00-.746-.659l-.773.049.057 1.615a.105.105 0 01-.17.086l-.52-.41-.617.468a.105.105 0 01-.168-.088L9.746.134 2.042.616zm8.003 4.747c-.247.192-2.092.324-2.092.05.04-1.045-.429-1.091-.689-1.091-.247 0-.662.075-.662.634 0 .57.607.893 1.32 1.27 1.014.538 2.24 1.188 2.24 2.823 0 1.568-1.273 2.433-2.898 2.433-1.676 0-3.141-.678-2.976-3.03.065-.275 2.197-.21 2.197 0-.026.971.195 1.256.753 1.256.43 0 .624-.236.624-.634 0-.602-.633-.958-1.361-1.367-.987-.554-2.148-1.205-2.148-2.7 0-1.494 1.027-2.489 2.86-2.489 1.832 0 2.832.98 2.832 2.845z",fill:e}))),Nk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3503)"},l.createElement("path",{d:"M0 5.176l1.31-1.73 4.902-1.994V.014l4.299 3.144-8.78 1.706v4.8L0 9.162V5.176zm14-2.595v8.548l-3.355 2.857-5.425-1.783v1.783L1.73 9.661l8.784 1.047v-7.55L14 2.581z",fill:e})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3503"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),Hk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.522a.411.411 0 00-.412.476l1.746 10.597a.56.56 0 00.547.466h8.373a.411.411 0 00.412-.345l1.017-6.248h-3.87L8.35 9.18H5.677l-.724-3.781h7.904L13.412 2A.411.411 0 0013 1.524L1 1.522z",fill:e}))),$k=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7a7 7 0 1014 0A7 7 0 000 7zm5.215-3.869a1.967 1.967 0 013.747.834v1.283l-3.346-1.93a2.486 2.486 0 00-.401-.187zm3.484 2.58l-3.346-1.93a1.968 1.968 0 00-2.685.72 1.954 1.954 0 00.09 2.106 2.45 2.45 0 01.362-.254l1.514-.873a.27.27 0 01.268 0l2.1 1.21 1.697-.978zm-.323 4.972L6.86 9.81a.268.268 0 01-.134-.231V7.155l-1.698-.98v3.86a1.968 1.968 0 003.747.835 2.488 2.488 0 01-.4-.187zm.268-.464a1.967 1.967 0 002.685-.719 1.952 1.952 0 00-.09-2.106c-.112.094-.233.18-.361.253L7.53 9.577l1.113.642zm-4.106.257a1.974 1.974 0 01-1.87-.975A1.95 1.95 0 012.47 8.01c.136-.507.461-.93.916-1.193L4.5 6.175v3.86c0 .148.013.295.039.44zM11.329 4.5a1.973 1.973 0 00-1.87-.976c.025.145.039.292.039.44v1.747a.268.268 0 01-.135.232l-2.1 1.211v1.96l3.346-1.931a1.966 1.966 0 00.72-2.683z",fill:e}))),jk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M10.847 2.181L8.867.201a.685.685 0 00-.97 0l-4.81 4.81a.685.685 0 000 .969l2.466 2.465-2.405 2.404a.685.685 0 000 .97l1.98 1.98a.685.685 0 00.97 0l4.81-4.81a.685.685 0 000-.969L8.441 5.555l2.405-2.404a.685.685 0 000-.97z",fill:e}))),Vk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.852 2.885c-.893-.41-1.85-.712-2.85-.884a.043.043 0 00-.046.021c-.123.22-.26.505-.355.73a10.658 10.658 0 00-3.2 0 7.377 7.377 0 00-.36-.73.045.045 0 00-.046-.021c-1 .172-1.957.474-2.85.884a.04.04 0 00-.019.016C.311 5.612-.186 8.257.058 10.869a.048.048 0 00.018.033 11.608 11.608 0 003.496 1.767.045.045 0 00.049-.016c.27-.368.51-.755.715-1.163a.044.044 0 00-.024-.062 7.661 7.661 0 01-1.092-.52.045.045 0 01-.005-.075c.074-.055.147-.112.217-.17a.043.043 0 01.046-.006c2.29 1.046 4.771 1.046 7.035 0a.043.043 0 01.046.006c.07.057.144.115.218.17a.045.045 0 01-.004.075 7.186 7.186 0 01-1.093.52.045.045 0 00-.024.062c.21.407.45.795.715 1.162.011.016.03.023.05.017a11.57 11.57 0 003.5-1.767.045.045 0 00.019-.032c.292-3.02-.49-5.643-2.07-7.969a.036.036 0 00-.018-.016zM4.678 9.279c-.69 0-1.258-.634-1.258-1.411 0-.778.558-1.411 1.258-1.411.707 0 1.27.639 1.259 1.41 0 .778-.558 1.412-1.259 1.412zm4.652 0c-.69 0-1.258-.634-1.258-1.411 0-.778.557-1.411 1.258-1.411.707 0 1.27.639 1.258 1.41 0 .778-.551 1.412-1.258 1.412z",fill:e}))),Uk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.399 14H5.06V7H3.5V4.588l1.56-.001-.002-1.421C5.058 1.197 5.533 0 7.6 0h1.721v2.413H8.246c-.805 0-.844.337-.844.966l-.003 1.208h1.934l-.228 2.412L7.401 7l-.002 7z",fill:e}))),qk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.2 0H4.803A2.603 2.603 0 003.41 4.802a2.603 2.603 0 000 4.396 2.602 2.602 0 103.998 2.199v-2.51a2.603 2.603 0 103.187-4.085A2.604 2.604 0 009.2 0zM7.407 7a1.793 1.793 0 103.586 0 1.793 1.793 0 00-3.586 0zm-.81 2.603H4.803a1.793 1.793 0 101.794 1.794V9.603zM4.803 4.397h1.794V.81H4.803a1.793 1.793 0 000 3.587zm0 .81a1.793 1.793 0 000 3.586h1.794V5.207H4.803zm4.397-.81H7.407V.81H9.2a1.794 1.794 0 010 3.587z",fill:e}))),Wk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M6.37 8.768l-2.042 3.537h6.755l2.042-3.537H6.37zm6.177-1.003l-3.505-6.07H4.96l3.504 6.07h4.084zM4.378 2.7L.875 8.77l2.042 3.536L6.42 6.236 4.378 2.7z",fill:e}))),Gk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0C3.132 0 0 3.132 0 7a6.996 6.996 0 004.786 6.641c.35.062.482-.149.482-.332 0-.166-.01-.718-.01-1.304-1.758.324-2.213-.429-2.353-.823-.079-.2-.42-.822-.717-.988-.246-.132-.596-.455-.01-.464.552-.009.946.508 1.077.717.63 1.06 1.636.762 2.039.578.061-.455.245-.761.446-.936-1.558-.175-3.185-.779-3.185-3.457 0-.76.271-1.39.717-1.88-.07-.176-.314-.893.07-1.856 0 0 .587-.183 1.925.718a6.495 6.495 0 011.75-.236c.595 0 1.19.078 1.75.236 1.34-.91 1.926-.718 1.926-.718.385.963.14 1.68.07 1.855.446.49.717 1.111.717 1.881 0 2.687-1.636 3.282-3.194 3.457.254.218.473.638.473 1.295 0 .936-.009 1.688-.009 1.925 0 .184.131.402.481.332A7.012 7.012 0 0014 7c0-3.868-3.133-7-7-7z",fill:e}))),Kk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.068 5.583l1.487-4.557a.256.256 0 01.487 0L4.53 5.583H1.068L7 13.15 4.53 5.583h4.941l-2.47 7.565 5.931-7.565H9.471l1.488-4.557a.256.256 0 01.486 0l1.488 4.557.75 2.3a.508.508 0 01-.185.568L7 13.148v.001H7L.503 8.452a.508.508 0 01-.186-.57l.75-2.299z",fill:e}))),Yk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M10.925 1.094H7.262c-1.643 0-3.189 1.244-3.189 2.685 0 1.473 1.12 2.661 2.791 2.661.116 0 .23-.002.34-.01a1.49 1.49 0 00-.186.684c0 .41.22.741.498 1.012-.21 0-.413.006-.635.006-2.034 0-3.6 1.296-3.6 2.64 0 1.323 1.717 2.15 3.75 2.15 2.32 0 3.6-1.315 3.6-2.639 0-1.06-.313-1.696-1.28-2.38-.331-.235-.965-.805-.965-1.14 0-.392.112-.586.703-1.047.606-.474 1.035-1.14 1.035-1.914 0-.92-.41-1.819-1.18-2.115h1.161l.82-.593zm-1.335 8.96c.03.124.045.25.045.378 0 1.07-.688 1.905-2.665 1.905-1.406 0-2.421-.89-2.421-1.96 0-1.047 1.259-1.92 2.665-1.904.328.004.634.057.911.146.764.531 1.311.832 1.465 1.436zM7.34 6.068c-.944-.028-1.841-1.055-2.005-2.295-.162-1.24.47-2.188 1.415-2.16.943.029 1.84 1.023 2.003 2.262.163 1.24-.47 2.222-1.414 2.193z",fill:e}))),Jk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.873 11.608a1.167 1.167 0 00-1.707-.027L3.46 10.018l.01-.04h7.072l.022.076-2.69 1.554zM6.166 2.42l.031.03-3.535 6.124a1.265 1.265 0 00-.043-.012V5.438a1.166 1.166 0 00.84-1.456L6.167 2.42zm4.387 1.562a1.165 1.165 0 00.84 1.456v3.124l-.043.012-3.536-6.123a1.2 1.2 0 00.033-.032l2.706 1.563zM3.473 9.42a1.168 1.168 0 00-.327-.568L6.68 2.73a1.17 1.17 0 00.652 0l3.536 6.123a1.169 1.169 0 00-.327.567H3.473zm8.79-.736a1.169 1.169 0 00-.311-.124V5.44a1.17 1.17 0 10-1.122-1.942L8.13 1.938a1.168 1.168 0 00-1.122-1.5 1.17 1.17 0 00-1.121 1.5l-2.702 1.56a1.168 1.168 0 00-1.86.22 1.17 1.17 0 00.739 1.722v3.12a1.168 1.168 0 00-.74 1.721 1.17 1.17 0 001.861.221l2.701 1.56a1.169 1.169 0 102.233-.035l2.687-1.552a1.168 1.168 0 101.457-1.791z",fill:e}))),Zk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M0 0v14h14V0H0zm11.63 3.317l-.75.72a.22.22 0 00-.083.212v-.001 5.289a.22.22 0 00.083.21l.733.72v.159H7.925v-.158l.76-.738c.074-.074.074-.096.074-.21V5.244l-2.112 5.364h-.285l-2.46-5.364V8.84a.494.494 0 00.136.413h.001l.988 1.198v.158H2.226v-.158l.988-1.198a.477.477 0 00.126-.416v.003-4.157a.363.363 0 00-.118-.307l-.878-1.058v-.158h2.727l2.107 4.622L9.031 3.16h2.6v.158z",fill:e}))),Xk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.06 9.689c.016.49.423.88.912.88h.032a.911.911 0 00.88-.945.916.916 0 00-.912-.88h-.033c-.033 0-.08 0-.113.016-.669-1.108-.946-2.314-.848-3.618.065-.978.391-1.825.961-2.526.473-.603 1.386-.896 2.005-.913 1.728-.032 2.461 2.119 2.51 2.983.212.049.57.163.815.244C10.073 2.29 8.444.92 6.88.92c-1.467 0-2.82 1.06-3.357 2.625-.75 2.086-.261 4.09.651 5.671a.74.74 0 00-.114.473zm8.279-2.298c-1.239-1.45-3.064-2.249-5.15-2.249h-.261a.896.896 0 00-.798-.489h-.033A.912.912 0 006.13 6.48h.031a.919.919 0 00.8-.554h.293c1.239 0 2.412.358 3.472 1.059.814.538 1.401 1.238 1.727 2.086.277.684.261 1.353-.033 1.923-.456.864-1.222 1.337-2.232 1.337a4.16 4.16 0 01-1.597-.343 9.58 9.58 0 01-.734.587c.7.326 1.418.505 2.102.505 1.565 0 2.722-.863 3.162-1.727.473-.946.44-2.575-.782-3.961zm-7.433 5.51a4.005 4.005 0 01-.977.113c-1.206 0-2.298-.505-2.836-1.32C.376 10.603.13 8.289 2.494 6.577c.05.261.147.62.212.832-.31.228-.798.685-1.108 1.303-.44.864-.391 1.729.13 2.527.359.537.93.864 1.663.962.896.114 1.793-.05 2.657-.505 1.271-.669 2.119-1.467 2.672-2.56a.944.944 0 01-.26-.603.913.913 0 01.88-.945h.033a.915.915 0 01.098 1.825c-.897 1.842-2.478 3.08-4.565 3.488z",fill:e}))),Qk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 2.547a5.632 5.632 0 01-1.65.464 2.946 2.946 0 001.263-1.63 5.67 5.67 0 01-1.823.715 2.837 2.837 0 00-2.097-.93c-1.586 0-2.872 1.319-2.872 2.946 0 .23.025.456.074.67C4.508 4.66 2.392 3.488.975 1.706c-.247.435-.389.941-.389 1.481 0 1.022.507 1.923 1.278 2.452a2.806 2.806 0 01-1.3-.368l-.001.037c0 1.427.99 2.617 2.303 2.888a2.82 2.82 0 01-1.297.05c.366 1.17 1.427 2.022 2.683 2.045A5.671 5.671 0 010 11.51a7.985 7.985 0 004.403 1.323c5.283 0 8.172-4.488 8.172-8.38 0-.128-.003-.255-.009-.38A5.926 5.926 0 0014 2.546z",fill:e}))),e_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.99 8.172c.005-.281.007-.672.007-1.172 0-.5-.002-.89-.007-1.172a14.952 14.952 0 00-.066-1.066 9.638 9.638 0 00-.169-1.153c-.083-.38-.264-.7-.542-.96a1.667 1.667 0 00-.972-.454C11.084 2.065 9.337 2 6.999 2s-4.085.065-5.241.195a1.65 1.65 0 00-.969.453c-.276.26-.455.58-.539.961a8.648 8.648 0 00-.176 1.153c-.039.43-.061.785-.066 1.066C.002 6.11 0 6.5 0 7c0 .5.002.89.008 1.172.005.281.027.637.066 1.067.04.43.095.813.168 1.152.084.38.265.7.543.96.279.261.603.412.973.453 1.156.13 2.902.196 5.24.196 2.34 0 4.087-.065 5.243-.196a1.65 1.65 0 00.967-.453c.276-.26.456-.58.54-.96.077-.339.136-.722.175-1.152.04-.43.062-.786.067-1.067zM9.762 6.578A.45.45 0 019.997 7a.45.45 0 01-.235.422l-3.998 2.5a.442.442 0 01-.266.078.538.538 0 01-.242-.063.465.465 0 01-.258-.437v-5c0-.197.086-.343.258-.437a.471.471 0 01.508.016l3.998 2.5z",fill:e}))),t_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.243.04a.87.87 0 01.38.087l2.881 1.386a.874.874 0 01.496.79V11.713a.875.875 0 01-.496.775l-2.882 1.386a.872.872 0 01-.994-.17L4.11 8.674l-2.404 1.823a.583.583 0 01-.744-.034l-.771-.7a.583.583 0 010-.862L2.274 7 .19 5.1a.583.583 0 010-.862l.772-.701a.583.583 0 01.744-.033L4.11 5.327 9.628.296a.871.871 0 01.615-.255zm.259 3.784L6.315 7l4.187 3.176V3.824z",fill:e}))),r_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.667 13H2.333A1.333 1.333 0 011 11.667V2.333C1 1.597 1.597 1 2.333 1h9.334C12.403 1 13 1.597 13 2.333v9.334c0 .736-.597 1.333-1.333 1.333zm-2.114-1.667h1.78V7.675c0-1.548-.877-2.296-2.102-2.296-1.226 0-1.742.955-1.742.955v-.778H5.773v5.777h1.716V8.3c0-.812.374-1.296 1.09-1.296.658 0 .974.465.974 1.296v3.033zm-6.886-7.6c0 .589.474 1.066 1.058 1.066.585 0 1.058-.477 1.058-1.066 0-.589-.473-1.066-1.058-1.066-.584 0-1.058.477-1.058 1.066zm1.962 7.6h-1.79V5.556h1.79v5.777z",fill:e}))),n_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.02.446h2.137L8.49 5.816l5.51 7.28H9.67L6.298 8.683l-3.88 4.413H.282l5.004-5.735L0 .446h4.442l3.064 4.048L11.02.446zm-.759 11.357h1.18L3.796 1.655H2.502l7.759 10.148z",fill:e}))),a_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h13a.5.5 0 01.5.5v11a.5.5 0 01-.5.5H.5zm.5-1v-8h12v8H1zm1-9.5a.5.5 0 11-1 0 .5.5 0 011 0zm2 0a.5.5 0 11-1 0 .5.5 0 011 0zm2 0a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}))),o_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5.004a1.5 1.5 0 00-1.5 1.5v11a1.5 1.5 0 001.5 1.5h7a1.5 1.5 0 001.5-1.5v-11a1.5 1.5 0 00-1.5-1.5h-7zm0 1h7a.5.5 0 01.5.5v9.5H3v-9.5a.5.5 0 01.5-.5zm2.5 11a.5.5 0 000 1h2a.5.5 0 000-1H6z",fill:e}))),i_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 1.504a1.5 1.5 0 011.5-1.5h5a1.5 1.5 0 011.5 1.5v11a1.5 1.5 0 01-1.5 1.5h-5a1.5 1.5 0 01-1.5-1.5v-11zm1 10.5v-10h6v10H4z",fill:e}))),l_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 .504a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zm5.5 2.5h-5a.5.5 0 00-.5.5v7a.5.5 0 00.5.5h5a.5.5 0 00.5-.5v-7a.5.5 0 00-.5-.5zm-5-1a1.5 1.5 0 00-1.5 1.5v7a1.5 1.5 0 001.5 1.5h5a1.5 1.5 0 001.5-1.5v-7a1.5 1.5 0 00-1.5-1.5h-5zm2.5 2a.5.5 0 01.5.5v2h1a.5.5 0 110 1H7a.5.5 0 01-.5-.5v-2.5a.5.5 0 01.5-.5zm-2.5 9a.5.5 0 000 1h5a.5.5 0 000-1h-5z",fill:e}))),s_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H3a.5.5 0 01-.5-.5zM3 6.004a.5.5 0 100 1h1a.5.5 0 000-1H3zM2.5 8.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H3a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm.5-1v-10h3v10H2zm4-10h6v10H6v-10z",fill:e}))),u_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M9.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM10 6.004a.5.5 0 100 1h1a.5.5 0 000-1h-1zM9.5 8.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm.5-1v-10h6v10H2zm7-10h3v10H9v-10z",fill:e}))),c_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.5 4.504a.5.5 0 00-.5-.5h-1a.5.5 0 100 1h1a.5.5 0 00.5-.5zM11 6.004a.5.5 0 010 1h-1a.5.5 0 010-1h1zM11.5 8.504a.5.5 0 00-.5-.5h-1a.5.5 0 100 1h1a.5.5 0 00.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm7.5-1h3v-10H9v10zm-1 0H2v-10h6v4.5H5.207l.65-.65a.5.5 0 10-.707-.708L3.646 6.65a.5.5 0 000 .707l1.497 1.497a.5.5 0 10.707-.708l-.643-.642H8v4.5z",fill:e}))),d_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H2a.5.5 0 01-.5-.5zM2 6.004a.5.5 0 100 1h1a.5.5 0 000-1H2zM1.5 8.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H2a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5H.5zm.5-1v-10h3v10H1zm4 0v-4.5h2.793l-.643.642a.5.5 0 10.707.708l1.497-1.497a.5.5 0 000-.707L7.85 5.146a.5.5 0 10-.707.708l.65.65H5v-4.5h6v10H5z",fill:e}))),p_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM6.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1zM9 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zm1 6.5v-6h10v6H2zm10 1v3H2v-3h10z",fill:e}))),f_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1zM6 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM9.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 12.504v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5zm1-.5v-3h10v3H2zm4.5-4H2v-6h10v6H7.5V5.21l.646.646a.5.5 0 10.708-.707l-1.5-1.5a.5.5 0 00-.708 0l-1.5 1.5a.5.5 0 10.708.707l.646-.646v2.793z",fill:e}))),h_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 5.504a.5.5 0 01.5-.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5v-3zm1 2.5v-2h2v2H6z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5.004a.5.5 0 01.5.5v1.5h2v-1.5a.5.5 0 011 0v1.5h2.5a.5.5 0 01.5.5v2.5h1.5a.5.5 0 010 1H12v2h1.5a.5.5 0 010 1H12v2.5a.5.5 0 01-.5.5H9v1.5a.5.5 0 01-1 0v-1.5H6v1.5a.5.5 0 01-1 0v-1.5H2.5a.5.5 0 01-.5-.5v-2.5H.5a.5.5 0 010-1H2v-2H.5a.5.5 0 010-1H2v-2.5a.5.5 0 01.5-.5H5v-1.5a.5.5 0 01.5-.5zm5.5 3H3v8h8v-8z",fill:e}))),m_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3c0-1.105-2.239-2-5-2s-5 .895-5 2v8c0 .426.26.752.544.977.29.228.68.413 1.116.558.878.293 2.059.465 3.34.465 1.281 0 2.462-.172 3.34-.465.436-.145.825-.33 1.116-.558.285-.225.544-.551.544-.977V3zm-1.03 0a.787.787 0 00-.05-.052c-.13-.123-.373-.28-.756-.434C9.404 2.21 8.286 2 7 2c-1.286 0-2.404.21-3.164.514-.383.153-.625.31-.756.434A.756.756 0 003.03 3a.756.756 0 00.05.052c.13.123.373.28.756.434C4.596 3.79 5.714 4 7 4c1.286 0 2.404-.21 3.164-.514.383-.153.625-.31.756-.434A.787.787 0 0010.97 3zM11 5.75V4.2c-.912.486-2.364.8-4 .8-1.636 0-3.088-.314-4-.8v1.55l.002.008a.147.147 0 00.016.033.618.618 0 00.145.15c.165.13.435.27.813.395.751.25 1.82.414 3.024.414s2.273-.163 3.024-.414c.378-.126.648-.265.813-.395a.62.62 0 00.146-.15.149.149 0 00.015-.033A.03.03 0 0011 5.75zM3 7.013c.2.103.423.193.66.272.878.293 2.059.465 3.34.465 1.281 0 2.462-.172 3.34-.465.237-.079.46-.17.66-.272V8.5l-.002.008a.149.149 0 01-.015.033.62.62 0 01-.146.15c-.165.13-.435.27-.813.395-.751.25-1.82.414-3.024.414s-2.273-.163-3.024-.414c-.378-.126-.648-.265-.813-.395a.618.618 0 01-.145-.15.147.147 0 01-.016-.033A.027.027 0 013 8.5V7.013zm0 2.75V11l.002.008a.147.147 0 00.016.033.617.617 0 00.145.15c.165.13.435.27.813.395.751.25 1.82.414 3.024.414s2.273-.163 3.024-.414c.378-.126.648-.265.813-.395a.619.619 0 00.146-.15.148.148 0 00.015-.033L11 11V9.763c-.2.103-.423.193-.66.272-.878.293-2.059.465-3.34.465-1.281 0-2.462-.172-3.34-.465A4.767 4.767 0 013 9.763z",fill:e}))),g_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5 3a.5.5 0 00-1 0v3a.5.5 0 001 0V3zM7 2.5a.5.5 0 01.5.5v3a.5.5 0 01-1 0V3a.5.5 0 01.5-.5zM10 4.504a.5.5 0 10-1 0V6a.5.5 0 001 0V4.504z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3.54l-.001-.002a.499.499 0 00-.145-.388l-3-3a.499.499 0 00-.388-.145L8.464.004H2.5a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h9a.5.5 0 00.5-.5V3.54zM3 1.004h5.293L11 3.71v5.293H3v-8zm0 9v3h8v-3H3z",fill:e}))),v_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.164 3.446a1.5 1.5 0 10-2.328 0L1.81 10.032A1.503 1.503 0 000 11.5a1.5 1.5 0 002.915.5h8.17a1.5 1.5 0 101.104-1.968L8.164 3.446zm-1.475.522a1.506 1.506 0 00.622 0l4.025 6.586a1.495 1.495 0 00-.25.446H2.914a1.497 1.497 0 00-.25-.446l4.024-6.586z",fill:e}))),y_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.21.046l6.485 2.994A.5.5 0 0114 3.51v6.977a.495.495 0 01-.23.432.481.481 0 01-.071.038L7.23 13.944a.499.499 0 01-.46 0L.3 10.958a.498.498 0 01-.3-.47V3.511a.497.497 0 01.308-.473L6.78.051a.499.499 0 01.43-.005zM1 4.282v5.898l5.5 2.538V6.82L1 4.282zm6.5 8.436L13 10.18V4.282L7.5 6.82v5.898zM12.307 3.5L7 5.95 1.693 3.5 7 1.05l5.307 2.45z",fill:e}))),b_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0v6a.5.5 0 001 0v-6z",fill:e}),l.createElement("path",{d:"M4.273 2.808a.5.5 0 00-.546-.837 6 6 0 106.546 0 .5.5 0 00-.546.837 5 5 0 11-5.454 0z",fill:e}))),w_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.854 2.146l-2-2a.5.5 0 00-.708 0l-1.5 1.5-8.995 8.995a.499.499 0 00-.143.268L.012 13.39a.495.495 0 00.135.463.5.5 0 00.462.134l2.482-.496a.495.495 0 00.267-.143l8.995-8.995 1.5-1.5a.5.5 0 000-.708zM12 3.293l.793-.793L11.5 1.207 10.707 2 12 3.293zm-2-.586L1.707 11 3 12.293 11.293 4 10 2.707zM1.137 12.863l.17-.849.679.679-.849.17z",fill:e}))),D_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.586 5.586A2 2 0 018.862 7.73a.5.5 0 10.931.365 3 3 0 10-1.697 1.697.5.5 0 10-.365-.93 2 2 0 01-2.145-3.277z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.939 6.527c.127.128.19.297.185.464a.635.635 0 01-.185.465L0 8.395a7.099 7.099 0 001.067 2.572h1.32c.182 0 .345.076.46.197a.635.635 0 01.198.46v1.317A7.097 7.097 0 005.602 14l.94-.94a.634.634 0 01.45-.186H7.021c.163 0 .326.061.45.186l.939.938a7.098 7.098 0 002.547-1.057V11.61c0-.181.075-.344.197-.46a.634.634 0 01.46-.197h1.33c.507-.76.871-1.622 1.056-2.55l-.946-.946a.635.635 0 01-.186-.465.635.635 0 01.186-.464l.943-.944a7.099 7.099 0 00-1.044-2.522h-1.34a.635.635 0 01-.46-.197.635.635 0 01-.196-.46V1.057A7.096 7.096 0 008.413.002l-.942.942a.634.634 0 01-.45.186H6.992a.634.634 0 01-.45-.186L5.598 0a7.097 7.097 0 00-2.553 1.058v1.33c0 .182-.076.345-.197.46a.635.635 0 01-.46.198h-1.33A7.098 7.098 0 00.003 5.591l.936.936zm.707 1.636c.324-.324.482-.752.479-1.172a1.634 1.634 0 00-.48-1.171l-.538-.539c.126-.433.299-.847.513-1.235h.768c.459 0 .873-.19 1.167-.49.3-.295.49-.708.49-1.167v-.77c.39-.215.807-.388 1.243-.515l.547.547c.32.32.742.48 1.157.48l.015-.001h.014c.415 0 .836-.158 1.157-.479l.545-.544c.433.126.846.299 1.234.512v.784c0 .46.19.874.49 1.168.294.3.708.49 1.167.49h.776c.209.382.378.788.502 1.213l-.545.546a1.635 1.635 0 00-.48 1.17c-.003.421.155.849.48 1.173l.549.55c-.126.434-.3.85-.513 1.239h-.77c-.458 0-.872.19-1.166.49-.3.294-.49.708-.49 1.167v.77a6.09 6.09 0 01-1.238.514l-.54-.54a1.636 1.636 0 00-1.158-.48H6.992c-.415 0-.837.159-1.157.48l-.543.543a6.091 6.091 0 01-1.247-.516v-.756c0-.459-.19-.873-.49-1.167-.294-.3-.708-.49-1.167-.49h-.761a6.094 6.094 0 01-.523-1.262l.542-.542z",fill:e}))),E_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.585 8.414a2 2 0 113.277-.683.5.5 0 10.931.365 3 3 0 10-1.697 1.697.5.5 0 00-.365-.93 2 2 0 01-2.146-.449z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.5.289a1 1 0 011 0l5.062 2.922a1 1 0 01.5.866v5.846a1 1 0 01-.5.866L7.5 13.71a1 1 0 01-1 0L1.437 10.79a1 1 0 01-.5-.866V4.077a1 1 0 01.5-.866L6.5.29zm.5.866l5.062 2.922v5.846L7 12.845 1.937 9.923V4.077L7 1.155z",fill:e}))),C_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5 1c.441 0 .564.521.252.833l-.806.807a.51.51 0 000 .72l.694.694a.51.51 0 00.72 0l.807-.806c.312-.312.833-.19.833.252a2.5 2.5 0 01-3.414 2.328l-6.879 6.88a1 1 0 01-1.414-1.415l6.88-6.88A2.5 2.5 0 0110.5 1zM2 12.5a.5.5 0 100-1 .5.5 0 000 1z",fill:e}))),x_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4 7a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM13 7a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM7 8.5a1.5 1.5 0 100-3 1.5 1.5 0 000 3z",fill:e}))),S_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.903.112a.107.107 0 01.194 0l.233.505.552.066c.091.01.128.123.06.185l-.408.377.109.546a.107.107 0 01-.158.114L6 1.634l-.485.271a.107.107 0 01-.158-.114l.108-.546-.408-.377a.107.107 0 01.06-.185L5.67.617l.233-.505zM2.194.224a.214.214 0 00-.389 0l-.466 1.01-1.104.131a.214.214 0 00-.12.37l.816.755-.217 1.091a.214.214 0 00.315.23L2 3.266l.971.543c.16.09.35-.05.315-.229l-.216-1.09.816-.756a.214.214 0 00-.12-.37L2.66 1.234 2.194.224zM12.194 8.224a.214.214 0 00-.389 0l-.466 1.01-1.104.13a.214.214 0 00-.12.371l.816.755-.217 1.091a.214.214 0 00.315.23l.97-.544.971.543c.16.09.35-.05.315-.229l-.216-1.09.816-.756a.214.214 0 00-.12-.37l-1.105-.131-.466-1.01z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.5 12.797l-1.293-1.293 6.758-6.758L9.258 6.04 2.5 12.797zm7.465-7.465l2.828-2.828L11.5 1.211 8.672 4.04l1.293 1.293zM.147 11.857a.5.5 0 010-.707l11-11a.5.5 0 01.706 0l2 2a.5.5 0 010 .708l-11 11a.5.5 0 01-.706 0l-2-2z",fill:e}))),F_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M13.854 3.354a.5.5 0 00-.708-.708L5 10.793.854 6.646a.5.5 0 10-.708.708l4.5 4.5a.5.5 0 00.708 0l8.5-8.5z",fill:e}))),A_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1V6.393a.5.5 0 00-1 0v5.61H2v-10h7.5a.5.5 0 000-1H2z",fill:e}),l.createElement("path",{d:"M6.354 9.857l7.5-7.5a.5.5 0 00-.708-.707L6 8.797 3.854 6.65a.5.5 0 10-.708.707l2.5 2.5a.5.5 0 00.708 0z",fill:e}))),k_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.5 2a.5.5 0 000 1h2a.5.5 0 000-1h-2zM8.854 2.646a.5.5 0 010 .708L5.207 7l3.647 3.646a.5.5 0 01-.708.708L4.5 7.707.854 11.354a.5.5 0 01-.708-.708L3.793 7 .146 3.354a.5.5 0 11.708-.708L4.5 6.293l3.646-3.647a.5.5 0 01.708 0zM11 7a.5.5 0 01.5-.5h2a.5.5 0 010 1h-2A.5.5 0 0111 7zM11.5 11a.5.5 0 000 1h2a.5.5 0 000-1h-2z",fill:e}))),__=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.5 2a.5.5 0 000 1h2a.5.5 0 000-1h-2zM9.3 2.6a.5.5 0 01.1.7l-5.995 7.993a.505.505 0 01-.37.206.5.5 0 01-.395-.152L.146 8.854a.5.5 0 11.708-.708l2.092 2.093L8.6 2.7a.5.5 0 01.7-.1zM11 7a.5.5 0 01.5-.5h2a.5.5 0 010 1h-2A.5.5 0 0111 7zM11.5 11a.5.5 0 000 1h2a.5.5 0 000-1h-2z",fill:e}))),B_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M10.5 1a.5.5 0 01.5.5V2h1.5a.5.5 0 010 1H11v.5a.5.5 0 01-1 0V3H1.5a.5.5 0 010-1H10v-.5a.5.5 0 01.5-.5zM1.5 11a.5.5 0 000 1H10v.5a.5.5 0 001 0V12h1.5a.5.5 0 000-1H11v-.5a.5.5 0 00-1 0v.5H1.5zM1 7a.5.5 0 01.5-.5H3V6a.5.5 0 011 0v.5h8.5a.5.5 0 010 1H4V8a.5.5 0 01-1 0v-.5H1.5A.5.5 0 011 7z",fill:e}))),R_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0v6h-6a.5.5 0 000 1h6v6a.5.5 0 001 0v-6h6a.5.5 0 000-1h-6v-6z",fill:e}))),I_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.03.97A.75.75 0 00.97 2.03L5.94 7 .97 11.97a.75.75 0 101.06 1.06L7 8.06l4.97 4.97a.75.75 0 101.06-1.06L8.06 7l4.97-4.97A.75.75 0 0011.97.97L7 5.94 2.03.97z",fill:e}))),Q6=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708L6.293 7l-5.147 5.146a.5.5 0 00.708.708L7 7.707l5.146 5.147a.5.5 0 00.708-.708L7.707 7l5.147-5.146a.5.5 0 00-.708-.708L7 6.293 1.854 1.146z",fill:e}))),T_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.5 4.5A.5.5 0 016 5v5a.5.5 0 01-1 0V5a.5.5 0 01.5-.5zM9 5a.5.5 0 00-1 0v5a.5.5 0 001 0V5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5.5A.5.5 0 015 0h4a.5.5 0 01.5.5V2h3a.5.5 0 010 1H12v8a2 2 0 01-2 2H4a2 2 0 01-2-2V3h-.5a.5.5 0 010-1h3V.5zM3 3v8a1 1 0 001 1h6a1 1 0 001-1V3H3zm2.5-2h3v1h-3V1z",fill:e}))),z_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3502)"},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.44 4.44L9.56.56a1.5 1.5 0 00-2.12 0L7 1a1.415 1.415 0 000 2L5 5H3.657A4 4 0 00.828 6.17l-.474.475a.5.5 0 000 .707l2.793 2.793-3 3a.5.5 0 00.707.708l3-3 2.792 2.792a.5.5 0 00.708 0l.474-.475A4 4 0 009 10.343V9l2-2a1.414 1.414 0 002 0l.44-.44a1.5 1.5 0 000-2.12zM11 5.585l-3 3v1.757a3 3 0 01-.879 2.121L7 12.586 1.414 7l.122-.122A3 3 0 013.656 6h1.758l3-3-.707-.707a.414.414 0 010-.586l.44-.44a.5.5 0 01.707 0l3.878 3.88a.5.5 0 010 .706l-.44.44a.414.414 0 01-.585 0L11 5.586z",fill:e})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3502"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),L_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3501)",fill:e},l.createElement("path",{d:"M13.44 4.44L9.56.56a1.5 1.5 0 00-2.12 0L7 1a1.415 1.415 0 000 2L5.707 4.293 6.414 5l2-2-.707-.707a.414.414 0 010-.586l.44-.44a.5.5 0 01.707 0l3.878 3.88a.5.5 0 010 .706l-.44.44a.414.414 0 01-.585 0L11 5.586l-2 2 .707.707L11 7a1.414 1.414 0 002 0l.44-.44a1.5 1.5 0 000-2.12zM.828 6.171a4 4 0 012.758-1.17l1 .999h-.93a3 3 0 00-2.12.878L1.414 7 7 12.586l.121-.122A3 3 0 008 10.343v-.929l1 1a4 4 0 01-1.172 2.757l-.474.475a.5.5 0 01-.708 0l-2.792-2.792-3 3a.5.5 0 01-.708-.708l3-3L.355 7.353a.5.5 0 010-.707l.474-.475zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11z"})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3501"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),M_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 3a.5.5 0 01.5.5v3h3a.5.5 0 010 1h-3v3a.5.5 0 01-1 0v-3h-3a.5.5 0 010-1h3v-3A.5.5 0 017 3z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),O_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),P_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M9.854 4.146a.5.5 0 010 .708L7.707 7l2.147 2.146a.5.5 0 01-.708.708L7 7.707 4.854 9.854a.5.5 0 01-.708-.708L6.293 7 4.146 4.854a.5.5 0 11.708-.708L7 6.293l2.146-2.147a.5.5 0 01.708 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),N_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0a6 6 0 01-9.874 4.582l8.456-8.456A5.976 5.976 0 0113 7zM2.418 10.874l8.456-8.456a6 6 0 00-8.456 8.456z",fill:e}))),H_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm3.854-9.354a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.708 0l-2.5-2.5a.5.5 0 11.708-.708L6 8.793l4.146-4.147a.5.5 0 01.708 0z",fill:e}))),$_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zM3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}))),j_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm2.854-9.854a.5.5 0 010 .708L7.707 7l2.147 2.146a.5.5 0 01-.708.708L7 7.707 4.854 9.854a.5.5 0 01-.708-.708L6.293 7 4.146 4.854a.5.5 0 11.708-.708L7 6.293l2.146-2.147a.5.5 0 01.708 0z",fill:e}))),V_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 2h7a2 2 0 012 2v6a2 2 0 01-2 2H5a1.994 1.994 0 01-1.414-.586l-3-3a2 2 0 010-2.828l3-3A1.994 1.994 0 015 2zm1.146 3.146a.5.5 0 01.708 0L8 6.293l1.146-1.147a.5.5 0 11.708.708L8.707 7l1.147 1.146a.5.5 0 01-.708.708L8 7.707 6.854 8.854a.5.5 0 11-.708-.708L7.293 7 6.146 5.854a.5.5 0 010-.708z",fill:e}))),U_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.5 5.004a.5.5 0 100 1h7a.5.5 0 000-1h-7zM3 8.504a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5 12.004H5.707l-1.853 1.854a.5.5 0 01-.351.146h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.5 0 01-.5.5zm-10.5-1v-8h10v8H2z",fill:e}))),q_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.5 5.004a.5.5 0 10-1 0v1.5H5a.5.5 0 100 1h1.5v1.5a.5.5 0 001 0v-1.5H9a.5.5 0 000-1H7.5v-1.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.691 13.966a.498.498 0 01-.188.038h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.5 0 01-.5.5H5.707l-1.853 1.854a.5.5 0 01-.163.108zM2 3.004v8h10v-8H2z",fill:e}))),W_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M9.854 6.65a.5.5 0 010 .707l-2 2a.5.5 0 11-.708-.707l1.15-1.15-3.796.004a.5.5 0 010-1L8.29 6.5 7.145 5.357a.5.5 0 11.708-.707l2 2z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.691 13.966a.498.498 0 01-.188.038h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.5 0 01-.5.5H5.707l-1.853 1.854a.5.5 0 01-.163.108zM2 3.004v8h10v-8H2z",fill:e}))),G_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M8.5 7.004a.5.5 0 000-1h-5a.5.5 0 100 1h5zM9 8.504a.5.5 0 01-.5.5h-5a.5.5 0 010-1h5a.5.5 0 01.5.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 11.504v-1.5h1.5a.5.5 0 00.5-.5v-8a.5.5 0 00-.5-.5h-11a.5.5 0 00-.5.5v1.5H.5a.5.5 0 00-.5.5v8a.5.5 0 00.5.5H2v1.5a.499.499 0 00.497.5h.006a.498.498 0 00.35-.146l1.854-1.854H11.5a.5.5 0 00.5-.5zm-9-8.5v-1h10v7h-1v-5.5a.5.5 0 00-.5-.5H3zm-2 8v-7h10v7H1z",fill:e}))),K_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 2a2 2 0 012-2h8a2 2 0 012 2v8a2 2 0 01-2 2H6.986a.444.444 0 01-.124.103l-3.219 1.84A.43.43 0 013 13.569V12a2 2 0 01-2-2V2zm3.42 4.78a.921.921 0 110-1.843.921.921 0 010 1.842zm1.658-.922a.921.921 0 101.843 0 .921.921 0 00-1.843 0zm2.58 0a.921.921 0 101.842 0 .921.921 0 00-1.843 0z",fill:e}))),Y_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M8 8.004a1 1 0 01-.5.866v1.634a.5.5 0 01-1 0V8.87A1 1 0 118 8.004z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 4.004a4 4 0 118 0v1h1.5a.5.5 0 01.5.5v8a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-8a.5.5 0 01.5-.5H3v-1zm7 1v-1a3 3 0 10-6 0v1h6zm2 1H2v7h10v-7z",fill:e}))),J_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3614)",fill:e},l.createElement("path",{d:"M6.5 8.87a1 1 0 111 0v1.634a.5.5 0 01-1 0V8.87z"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 1a3 3 0 00-3 3v1.004h8.5a.5.5 0 01.5.5v8a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-8a.5.5 0 01.5-.5H3V4a4 4 0 017.755-1.381.5.5 0 01-.939.345A3.001 3.001 0 007 1zM2 6.004h10v7H2v-7z"})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3614"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),Z_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11 4a1 1 0 11-2 0 1 1 0 012 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.5 8.532V9.5a.5.5 0 01-.5.5H5.5v1.5a.5.5 0 01-.5.5H3.5v1.5a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-2a.5.5 0 01.155-.362l5.11-5.11A4.5 4.5 0 117.5 8.532zM6 4.5a3.5 3.5 0 111.5 2.873c-.29-.203-1-.373-1 .481V9H5a.5.5 0 00-.5.5V11H3a.5.5 0 00-.5.5V13H1v-1.293l5.193-5.193a.552.552 0 00.099-.613A3.473 3.473 0 016 4.5z",fill:e}))),X_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.354.15a.5.5 0 00-.708 0l-2 2a.5.5 0 10.708.707L6.5 1.711v6.793a.5.5 0 001 0V1.71l1.146 1.146a.5.5 0 10.708-.707l-2-2z",fill:e}),l.createElement("path",{d:"M2 7.504a.5.5 0 10-1 0v5a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-5a.5.5 0 00-1 0v4.5H2v-4.5z",fill:e}))),Q_=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.5 8.004a.5.5 0 100 1h3a.5.5 0 000-1h-3z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 11.504a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H.5a.5.5 0 00-.5.5v9zm1-8.5v1h12v-1H1zm0 8h12v-5H1v5z",fill:e}))),eB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1 3.004a1 1 0 00-1 1v5a1 1 0 001 1h3.5a.5.5 0 100-1H1v-5h12v5h-1a.5.5 0 000 1h1a1 1 0 001-1v-5a1 1 0 00-1-1H1z",fill:e}),l.createElement("path",{d:"M6.45 7.006a.498.498 0 01.31.07L10.225 9.1a.5.5 0 01-.002.873l-1.074.621.75 1.3a.75.75 0 01-1.3.75l-.75-1.3-1.074.62a.497.497 0 01-.663-.135.498.498 0 01-.095-.3L6 7.515a.497.497 0 01.45-.509z",fill:e}))),tB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4 1.504a.5.5 0 01.5-.5h5a.5.5 0 110 1h-2v10h2a.5.5 0 010 1h-5a.5.5 0 010-1h2v-10h-2a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{d:"M0 4.504a.5.5 0 01.5-.5h4a.5.5 0 110 1H1v4h3.5a.5.5 0 110 1h-4a.5.5 0 01-.5-.5v-5zM9.5 4.004a.5.5 0 100 1H13v4H9.5a.5.5 0 100 1h4a.5.5 0 00.5-.5v-5a.5.5 0 00-.5-.5h-4z",fill:e}))),rB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.943 12.457a.27.27 0 00.248-.149L7.77 9.151l2.54 2.54a.257.257 0 00.188.073c.082 0 .158-.03.21-.077l.788-.79a.27.27 0 000-.392L8.891 7.9l3.416-1.708a.29.29 0 00.117-.106.222.222 0 00.033-.134.332.332 0 00-.053-.161.174.174 0 00-.092-.072l-.02-.007-10.377-4.15a.274.274 0 00-.355.354l4.15 10.372a.275.275 0 00.233.169zm-.036 1l-.02-.002c-.462-.03-.912-.31-1.106-.796L.632 2.287A1.274 1.274 0 012.286.633l10.358 4.143c.516.182.782.657.81 1.114a1.25 1.25 0 01-.7 1.197L10.58 8.174l1.624 1.624a1.27 1.27 0 010 1.807l-.8.801-.008.007c-.491.46-1.298.48-1.792-.014l-1.56-1.56-.957 1.916a1.27 1.27 0 01-1.142.702h-.037z",fill:e}))),nB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.87 6.008a.505.505 0 00-.003-.028v-.002c-.026-.27-.225-.48-.467-.498a.5.5 0 00-.53.5v1.41c0 .25-.22.47-.47.47a.48.48 0 01-.47-.47V5.17a.6.6 0 00-.002-.05c-.023-.268-.223-.49-.468-.5a.5.5 0 00-.52.5v1.65a.486.486 0 01-.47.47.48.48 0 01-.47-.47V4.62a.602.602 0 00-.002-.05v-.002c-.023-.266-.224-.48-.468-.498a.5.5 0 00-.53.5v2.2c0 .25-.22.47-.47.47a.49.49 0 01-.47-.47V1.8c0-.017 0-.034-.002-.05-.022-.268-.214-.49-.468-.5a.5.5 0 00-.52.5v6.78c0 .25-.22.47-.47.47a.48.48 0 01-.47-.47l.001-.1c.001-.053.002-.104 0-.155a.775.775 0 00-.06-.315.65.65 0 00-.16-.22 29.67 29.67 0 01-.21-.189c-.2-.182-.4-.365-.617-.532l-.003-.003A6.366 6.366 0 003.06 7l-.01-.007c-.433-.331-.621-.243-.69-.193-.26.14-.29.5-.13.74l1.73 2.6v.01h-.016l-.035.023.05-.023s1.21 2.6 3.57 2.6c3.54 0 4.2-1.9 4.31-4.42.039-.591.036-1.189.032-1.783l-.002-.507v-.032zm.969 2.376c-.057 1.285-.254 2.667-1.082 3.72-.88 1.118-2.283 1.646-4.227 1.646-1.574 0-2.714-.87-3.406-1.623a6.958 6.958 0 01-1.046-1.504l-.006-.012-1.674-2.516a1.593 1.593 0 01-.25-1.107 1.44 1.44 0 01.69-1.041c.195-.124.485-.232.856-.186.357.044.681.219.976.446.137.106.272.22.4.331V1.75A1.5 1.5 0 015.63.25c.93.036 1.431.856 1.431 1.55v1.335a1.5 1.5 0 01.53-.063h.017c.512.04.915.326 1.153.71a1.5 1.5 0 01.74-.161c.659.025 1.115.458 1.316.964a1.493 1.493 0 01.644-.103h.017c.856.067 1.393.814 1.393 1.558l.002.48c.004.596.007 1.237-.033 1.864z",fill:e}))),aB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 6A2.5 2.5 0 116 3.5V5h2V3.5A2.5 2.5 0 1110.5 6H9v2h1.5A2.5 2.5 0 118 10.5V9H6v1.5A2.5 2.5 0 113.5 8H5V6H3.5zM2 3.5a1.5 1.5 0 113 0V5H3.5A1.5 1.5 0 012 3.5zM6 6v2h2V6H6zm3-1h1.5A1.5 1.5 0 109 3.5V5zM3.5 9H5v1.5A1.5 1.5 0 113.5 9zM9 9v1.5A1.5 1.5 0 1010.5 9H9z",fill:e}))),oB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.083 12.25H2.917a1.167 1.167 0 01-1.167-1.167V2.917A1.167 1.167 0 012.917 1.75h6.416l2.917 2.917v6.416a1.167 1.167 0 01-1.167 1.167z",stroke:e,strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("path",{d:"M9.917 12.25V7.583H4.083v4.667M4.083 1.75v2.917H8.75",stroke:e,strokeLinecap:"round",strokeLinejoin:"round"}))),iB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 5.5a.5.5 0 01.5.5v4a.5.5 0 01-1 0V6a.5.5 0 01.5-.5zM7 4.5A.75.75 0 107 3a.75.75 0 000 1.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),lB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.25 5.25A1.75 1.75 0 117 7a.5.5 0 00-.5.5V9a.5.5 0 001 0V7.955A2.75 2.75 0 104.25 5.25a.5.5 0 001 0zM7 11.5A.75.75 0 107 10a.75.75 0 000 1.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),sB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-3.524 4.89A5.972 5.972 0 017 13a5.972 5.972 0 01-3.477-1.11l1.445-1.444C5.564 10.798 6.258 11 7 11s1.436-.202 2.032-.554l1.444 1.445zm-.03-2.858l1.445 1.444A5.972 5.972 0 0013 7c0-1.296-.41-2.496-1.11-3.477l-1.444 1.445C10.798 5.564 11 6.258 11 7s-.202 1.436-.554 2.032zM9.032 3.554l1.444-1.445A5.972 5.972 0 007 1c-1.296 0-2.496.41-3.477 1.11l1.445 1.444A3.981 3.981 0 017 3c.742 0 1.436.202 2.032.554zM3.554 4.968L2.109 3.523A5.973 5.973 0 001 7c0 1.296.41 2.496 1.11 3.476l1.444-1.444A3.981 3.981 0 013 7c0-.742.202-1.436.554-2.032zM10 7a3 3 0 11-6 0 3 3 0 016 0z",fill:e}))),uB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 4.5a.5.5 0 01.5.5v3.5a.5.5 0 11-1 0V5a.5.5 0 01.5-.5zM7.75 10.5a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.206 1.045a.498.498 0 01.23.209l6.494 10.992a.5.5 0 01-.438.754H.508a.497.497 0 01-.506-.452.498.498 0 01.072-.31l6.49-10.984a.497.497 0 01.642-.21zM7 2.483L1.376 12h11.248L7 2.483z",fill:e}))),cB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zM6.5 8a.5.5 0 001 0V4a.5.5 0 00-1 0v4zm-.25 2.25a.75.75 0 111.5 0 .75.75 0 01-1.5 0z",fill:e}))),dB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 2.504a.5.5 0 01.5-.5h13a.5.5 0 01.5.5v9a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-9zm1 1.012v7.488h12V3.519L7.313 7.894a.496.496 0 01-.526.062.497.497 0 01-.1-.062L1 3.516zm11.03-.512H1.974L7 6.874l5.03-3.87z",fill:e}))),pB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.76 8.134l-.05.05a.2.2 0 01-.28.03 6.76 6.76 0 01-1.63-1.65.21.21 0 01.04-.27l.05-.05c.23-.2.54-.47.71-.96.17-.47-.02-1.04-.66-1.94-.26-.38-.72-.96-1.22-1.46-.68-.69-1.2-1-1.65-1a.98.98 0 00-.51.13A3.23 3.23 0 00.9 3.424c-.13 1.1.26 2.37 1.17 3.78a16.679 16.679 0 004.55 4.6 6.57 6.57 0 003.53 1.32 3.2 3.2 0 002.85-1.66c.14-.24.24-.64-.07-1.18a7.803 7.803 0 00-1.73-1.81c-.64-.5-1.52-1.11-2.13-1.11a.97.97 0 00-.34.06c-.472.164-.74.458-.947.685l-.023.025zm4.32 2.678a6.801 6.801 0 00-1.482-1.54l-.007-.005-.006-.005a8.418 8.418 0 00-.957-.662 2.7 2.7 0 00-.4-.193.683.683 0 00-.157-.043l-.004.002-.009.003c-.224.078-.343.202-.56.44l-.014.016-.046.045a1.2 1.2 0 01-1.602.149A7.76 7.76 0 014.98 7.134l-.013-.019-.013-.02a1.21 1.21 0 01.195-1.522l.06-.06.026-.024c.219-.19.345-.312.422-.533l.003-.01v-.008a.518.518 0 00-.032-.142c-.06-.178-.203-.453-.502-.872l-.005-.008-.005-.007A10.18 10.18 0 004.013 2.59l-.005-.005c-.31-.314-.543-.5-.716-.605-.147-.088-.214-.096-.222-.097h-.016l-.006.003-.01.006a2.23 2.23 0 00-1.145 1.656c-.09.776.175 1.806 1.014 3.108a15.68 15.68 0 004.274 4.32l.022.014.022.016a5.57 5.57 0 002.964 1.117 2.2 2.2 0 001.935-1.141l.006-.012.004-.007a.182.182 0 00-.007-.038.574.574 0 00-.047-.114z",fill:e}))),fB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.841 2.159a2.25 2.25 0 00-3.182 0l-2.5 2.5a2.25 2.25 0 000 3.182.5.5 0 01-.707.707 3.25 3.25 0 010-4.596l2.5-2.5a3.25 3.25 0 014.596 4.596l-2.063 2.063a4.27 4.27 0 00-.094-1.32l1.45-1.45a2.25 2.25 0 000-3.182z",fill:e}),l.createElement("path",{d:"M3.61 7.21c-.1-.434-.132-.88-.095-1.321L1.452 7.952a3.25 3.25 0 104.596 4.596l2.5-2.5a3.25 3.25 0 000-4.596.5.5 0 00-.707.707 2.25 2.25 0 010 3.182l-2.5 2.5A2.25 2.25 0 112.159 8.66l1.45-1.45z",fill:e}))),hB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.452 7.952l1.305-1.305.708.707-1.306 1.305a2.25 2.25 0 103.182 3.182l1.306-1.305.707.707-1.306 1.305a3.25 3.25 0 01-4.596-4.596zM12.548 6.048l-1.305 1.306-.707-.708 1.305-1.305a2.25 2.25 0 10-3.182-3.182L7.354 3.464l-.708-.707 1.306-1.305a3.25 3.25 0 014.596 4.596zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.707-.707l-11-11z",fill:e}))),mB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.994 1.11a1 1 0 10-1.988 0A4.502 4.502 0 002.5 5.5v3.882l-.943 1.885a.497.497 0 00-.053.295.5.5 0 00.506.438h3.575a1.5 1.5 0 102.83 0h3.575a.5.5 0 00.453-.733L11.5 9.382V5.5a4.502 4.502 0 00-3.506-4.39zM2.81 11h8.382l-.5-1H3.31l-.5 1zM10.5 9V5.5a3.5 3.5 0 10-7 0V9h7zm-4 3.5a.5.5 0 111 0 .5.5 0 01-1 0z",fill:e}))),gB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5.5A.5.5 0 012 0c6.627 0 12 5.373 12 12a.5.5 0 01-1 0C13 5.925 8.075 1 2 1a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{d:"M1.5 4.5A.5.5 0 012 4a8 8 0 018 8 .5.5 0 01-1 0 7 7 0 00-7-7 .5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 11a2 2 0 11-4 0 2 2 0 014 0zm-1 0a1 1 0 11-2 0 1 1 0 012 0z",fill:e}))),vB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1v-4.5a.5.5 0 00-1 0v4.5H2v-10h4.5a.5.5 0 000-1H2z",fill:e}),l.createElement("path",{d:"M7.354 7.357L12 2.711v1.793a.5.5 0 001 0v-3a.5.5 0 00-.5-.5h-3a.5.5 0 100 1h1.793L6.646 6.65a.5.5 0 10.708.707z",fill:e}))),yB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M6.646.15a.5.5 0 01.708 0l2 2a.5.5 0 11-.708.707L7.5 1.711v6.793a.5.5 0 01-1 0V1.71L5.354 2.857a.5.5 0 11-.708-.707l2-2z",fill:e}),l.createElement("path",{d:"M2 4.004a1 1 0 00-1 1v7a1 1 0 001 1h10a1 1 0 001-1v-7a1 1 0 00-1-1H9.5a.5.5 0 100 1H12v7H2v-7h2.5a.5.5 0 000-1H2z",fill:e}))),bB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M13.854 6.646a.5.5 0 010 .708l-2 2a.5.5 0 01-.708-.708L12.293 7.5H5.5a.5.5 0 010-1h6.793l-1.147-1.146a.5.5 0 01.708-.708l2 2z",fill:e}),l.createElement("path",{d:"M10 2a1 1 0 00-1-1H2a1 1 0 00-1 1v10a1 1 0 001 1h7a1 1 0 001-1V9.5a.5.5 0 00-1 0V12H2V2h7v2.5a.5.5 0 001 0V2z",fill:e}))),wB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 13A6 6 0 107 1a6 6 0 000 12zm0 1A7 7 0 107 0a7 7 0 000 14z",fill:e}))),DB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M14 7A7 7 0 110 7a7 7 0 0114 0z",fill:e}))),EB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 0h7a.5.5 0 01.5.5v13a.5.5 0 01-.454.498.462.462 0 01-.371-.118L7 11.159l-3.175 2.72a.46.46 0 01-.379.118A.5.5 0 013 13.5V.5a.5.5 0 01.5-.5zM4 12.413l2.664-2.284a.454.454 0 01.377-.128.498.498 0 01.284.12L10 12.412V1H4v11.413z",fill:e}))),CB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 0h7a.5.5 0 01.5.5v13a.5.5 0 01-.454.498.462.462 0 01-.371-.118L7 11.159l-3.175 2.72a.46.46 0 01-.379.118A.5.5 0 013 13.5V.5a.5.5 0 01.5-.5z",fill:e}))),xB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1449_588)"},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.414 1.586a2 2 0 00-2.828 0l-4 4a2 2 0 000 2.828l4 4a2 2 0 002.828 0l4-4a2 2 0 000-2.828l-4-4zm.707-.707a3 3 0 00-4.242 0l-4 4a3 3 0 000 4.242l4 4a3 3 0 004.242 0l4-4a3 3 0 000-4.242l-4-4z",fill:e})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1449_588"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),SB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.814 1.846c.06.05.116.101.171.154l.001.002a3.254 3.254 0 01.755 1.168c.171.461.259.974.259 1.538 0 .332-.046.656-.143.976a4.546 4.546 0 01-.397.937c-.169.302-.36.589-.58.864a7.627 7.627 0 01-.674.746l-4.78 4.596a.585.585 0 01-.427.173.669.669 0 01-.44-.173L1.78 8.217a7.838 7.838 0 01-.677-.748 6.124 6.124 0 01-.572-.855 4.975 4.975 0 01-.388-.931A3.432 3.432 0 010 4.708C0 4.144.09 3.63.265 3.17c.176-.459.429-.85.757-1.168a3.432 3.432 0 011.193-.74c.467-.176.99-.262 1.57-.262.304 0 .608.044.907.137.301.092.586.215.855.367.27.148.526.321.771.512.244.193.471.386.682.584.202-.198.427-.391.678-.584.248-.19.507-.364.78-.512a4.65 4.65 0 01.845-.367c.294-.093.594-.137.9-.137.585 0 1.115.086 1.585.262.392.146.734.34 1.026.584zM1.2 3.526c.128-.333.304-.598.52-.806.218-.212.497-.389.849-.522m-1.37 1.328A3.324 3.324 0 001 4.708c0 .225.032.452.101.686.082.265.183.513.307.737.135.246.294.484.479.716.188.237.386.454.59.652l.001.002 4.514 4.355 4.519-4.344c.2-.193.398-.41.585-.648l.003-.003c.184-.23.345-.472.486-.726l.004-.007c.131-.23.232-.474.31-.732v-.002c.068-.224.101-.45.101-.686 0-.457-.07-.849-.195-1.185a2.177 2.177 0 00-.515-.802l.007-.012-.008.009a2.383 2.383 0 00-.85-.518l-.003-.001C11.1 2.072 10.692 2 10.203 2c-.21 0-.406.03-.597.09h-.001c-.22.07-.443.167-.663.289l-.007.003c-.22.12-.434.262-.647.426-.226.174-.42.341-.588.505l-.684.672-.7-.656a9.967 9.967 0 00-.615-.527 4.82 4.82 0 00-.635-.422l-.01-.005a3.289 3.289 0 00-.656-.281l-.008-.003A2.014 2.014 0 003.785 2c-.481 0-.881.071-1.217.198",fill:e}))),FB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M12.814 1.846c.06.05.116.101.171.154l.001.002a3.254 3.254 0 01.755 1.168c.171.461.259.974.259 1.538 0 .332-.046.656-.143.976a4.546 4.546 0 01-.397.937c-.169.302-.36.589-.58.864a7.627 7.627 0 01-.674.746l-4.78 4.596a.585.585 0 01-.427.173.669.669 0 01-.44-.173L1.78 8.217a7.838 7.838 0 01-.677-.748 6.124 6.124 0 01-.572-.855 4.975 4.975 0 01-.388-.931A3.432 3.432 0 010 4.708C0 4.144.09 3.63.265 3.17c.176-.459.429-.85.757-1.168a3.432 3.432 0 011.193-.74c.467-.176.99-.262 1.57-.262.304 0 .608.044.907.137.301.092.586.215.855.367.27.148.526.321.771.512.244.193.471.386.682.584.202-.198.427-.391.678-.584.248-.19.507-.364.78-.512a4.65 4.65 0 01.845-.367c.294-.093.594-.137.9-.137.585 0 1.115.086 1.585.262.392.146.734.34 1.026.584z",fill:e}))),AB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.319.783a.75.75 0 011.362 0l1.63 3.535 3.867.458a.75.75 0 01.42 1.296L10.74 8.715l.76 3.819a.75.75 0 01-1.103.8L7 11.434l-3.398 1.902a.75.75 0 01-1.101-.801l.758-3.819L.401 6.072a.75.75 0 01.42-1.296l3.867-.458L6.318.783zm.68.91l-1.461 3.17a.75.75 0 01-.593.431l-3.467.412 2.563 2.37a.75.75 0 01.226.697l-.68 3.424 3.046-1.705a.75.75 0 01.733 0l3.047 1.705-.68-3.424a.75.75 0 01.226-.697l2.563-2.37-3.467-.412a.75.75 0 01-.593-.43L7 1.694z",fill:e}))),kB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.68.783a.75.75 0 00-1.361 0l-1.63 3.535-3.867.458A.75.75 0 00.4 6.072l2.858 2.643-.758 3.819a.75.75 0 001.101.8L7 11.434l3.397 1.902a.75.75 0 001.102-.801l-.759-3.819L13.6 6.072a.75.75 0 00-.421-1.296l-3.866-.458L7.68.783z",fill:e}))),_B=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 7.854a4.5 4.5 0 10-6 0V13a.5.5 0 00.497.5h.006c.127 0 .254-.05.35-.146L7 11.207l2.146 2.147A.5.5 0 0010 13V7.854zM7 8a3.5 3.5 0 100-7 3.5 3.5 0 000 7zm-.354 2.146a.5.5 0 01.708 0L9 11.793v-3.26C8.398 8.831 7.718 9 7 9a4.481 4.481 0 01-2-.468v3.26l1.646-1.646z",fill:e}))),BB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.565 13.123a.991.991 0 01.87 0l.987.482a.991.991 0 001.31-.426l.515-.97a.991.991 0 01.704-.511l1.082-.19a.99.99 0 00.81-1.115l-.154-1.087a.991.991 0 01.269-.828l.763-.789a.991.991 0 000-1.378l-.763-.79a.991.991 0 01-.27-.827l.155-1.087a.99.99 0 00-.81-1.115l-1.082-.19a.991.991 0 01-.704-.511L9.732.82a.99.99 0 00-1.31-.426l-.987.482a.991.991 0 01-.87 0L5.578.395a.99.99 0 00-1.31.426l-.515.97a.99.99 0 01-.704.511l-1.082.19a.99.99 0 00-.81 1.115l.154 1.087a.99.99 0 01-.269.828L.28 6.31a.99.99 0 000 1.378l.763.79a.99.99 0 01.27.827l-.155 1.087a.99.99 0 00.81 1.115l1.082.19a.99.99 0 01.704.511l.515.97c.25.473.83.661 1.31.426l.987-.482zm4.289-8.477a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.708 0l-2.5-2.5a.5.5 0 11.708-.708L6 8.793l4.146-4.147a.5.5 0 01.708 0z",fill:e}))),RB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 12.02c-.4.37-.91.56-1.56.56h-.88a5.493 5.493 0 01-1.3-.16c-.42-.1-.91-.25-1.47-.45a5.056 5.056 0 00-.95-.27H2.88a.84.84 0 01-.62-.26.84.84 0 01-.26-.61V6.45c0-.24.09-.45.26-.62a.84.84 0 01.62-.25h1.87c.16-.11.47-.47.93-1.06.27-.35.51-.64.74-.88.1-.11.19-.3.24-.58.05-.28.12-.57.2-.87.1-.3.24-.55.43-.74a.87.87 0 01.62-.25c.38 0 .72.07 1.03.22.3.15.54.38.7.7.15.31.23.73.23 1.27a3 3 0 01-.32 1.31h1.2c.47 0 .88.17 1.23.52s.52.8.52 1.22c0 .29-.04.66-.34 1.12.05.15.07.3.07.47 0 .35-.09.68-.26.98a2.05 2.05 0 01-.4 1.51 1.9 1.9 0 01-.57 1.5zm.473-5.33a.965.965 0 00.027-.25.742.742 0 00-.227-.513.683.683 0 00-.523-.227H7.927l.73-1.45a2 2 0 00.213-.867c0-.444-.068-.695-.127-.822a.53.53 0 00-.245-.244 1.296 1.296 0 00-.539-.116.989.989 0 00-.141.28 9.544 9.544 0 00-.174.755c-.069.387-.213.779-.484 1.077l-.009.01-.009.01c-.195.202-.41.46-.67.798l-.003.004c-.235.3-.44.555-.613.753-.151.173-.343.381-.54.516l-.255.176H5v4.133l.018.003c.384.07.76.176 1.122.318.532.189.98.325 1.352.413l.007.002a4.5 4.5 0 001.063.131h.878c.429 0 .683-.115.871-.285a.9.9 0 00.262-.702l-.028-.377.229-.3a1.05 1.05 0 00.205-.774l-.044-.333.165-.292a.969.969 0 00.13-.487.457.457 0 00-.019-.154l-.152-.458.263-.404a1.08 1.08 0 00.152-.325zM3.5 10.8a.5.5 0 100-1 .5.5 0 000 1z",fill:e}))),IB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.765 2.076A.5.5 0 0112 2.5v6.009a.497.497 0 01-.17.366L7.337 12.87a.497.497 0 01-.674 0L2.17 8.875l-.009-.007a.498.498 0 01-.16-.358L2 8.5v-6a.5.5 0 01.235-.424l.018-.011c.016-.01.037-.024.065-.04.056-.032.136-.077.24-.128a6.97 6.97 0 01.909-.371C4.265 1.26 5.443 1 7 1s2.735.26 3.533.526c.399.133.702.267.91.37a4.263 4.263 0 01.304.169l.018.01zM3 2.793v5.482l1.068.95 6.588-6.588a6.752 6.752 0 00-.44-.163C9.517 2.24 8.444 2 7 2c-1.443 0-2.515.24-3.217.474-.351.117-.61.233-.778.317L3 2.793zm4 9.038l-2.183-1.94L11 3.706v4.568l-4 3.556z",fill:e}))),TB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M10.354 2.854a.5.5 0 10-.708-.708l-3 3a.5.5 0 10.708.708l3-3z",fill:e}),l.createElement("path",{d:"M2.09 6H4.5a.5.5 0 000-1H1.795a.75.75 0 00-.74.873l.813 4.874A1.5 1.5 0 003.348 12h7.305a1.5 1.5 0 001.48-1.253l.812-4.874a.75.75 0 00-.74-.873H10a.5.5 0 000 1h1.91l-.764 4.582a.5.5 0 01-.493.418H3.347a.5.5 0 01-.493-.418L2.09 6z",fill:e}),l.createElement("path",{d:"M4.5 7a.5.5 0 01.5.5v2a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5zM10 7.5a.5.5 0 00-1 0v2a.5.5 0 001 0v-2zM6.5 9.5v-2a.5.5 0 011 0v2a.5.5 0 01-1 0z",fill:e}))),zB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5 2h.75v3.866l-3.034 5.26A1.25 1.25 0 003.299 13H10.7a1.25 1.25 0 001.083-1.875L8.75 5.866V2h.75a.5.5 0 100-1h-5a.5.5 0 000 1zm1.75 4V2h1.5v4.134l.067.116L8.827 8H5.173l1.01-1.75.067-.116V6zM4.597 9l-1.515 2.625A.25.25 0 003.3 12H10.7a.25.25 0 00.217-.375L9.404 9H4.597z",fill:e}))),LB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.5 10.5a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 1a.5.5 0 00-.5.5c0 1.063.137 1.892.678 2.974.346.692.858 1.489 1.598 2.526-.89 1.247-1.455 2.152-1.798 2.956-.377.886-.477 1.631-.478 2.537v.007a.5.5 0 00.5.5h7c.017 0 .034 0 .051-.003A.5.5 0 0011 12.5v-.007c0-.906-.1-1.65-.478-2.537-.343-.804-.909-1.709-1.798-2.956.74-1.037 1.252-1.834 1.598-2.526C10.863 3.392 11 2.563 11 1.5a.5.5 0 00-.5-.5h-7zm6.487 11a4.675 4.675 0 00-.385-1.652c-.277-.648-.735-1.407-1.499-2.494-.216.294-.448.606-.696.937a.497.497 0 01-.195.162.5.5 0 01-.619-.162c-.248-.331-.48-.643-.696-.937-.764 1.087-1.222 1.846-1.499 2.494A4.675 4.675 0 004.013 12h5.974zM6.304 6.716c.212.293.443.609.696.948a90.058 90.058 0 00.709-.965c.48-.664.86-1.218 1.163-1.699H5.128a32.672 32.672 0 001.176 1.716zM4.559 4h4.882c.364-.735.505-1.312.546-2H4.013c.04.688.182 1.265.546 2z",fill:e}))),MB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.5 1h-9a.5.5 0 00-.5.5v11a.5.5 0 001 0V8h8.5a.5.5 0 00.354-.854L9.207 4.5l2.647-2.646A.499.499 0 0011.5 1zM8.146 4.146L10.293 2H3v5h7.293L8.146 4.854a.5.5 0 010-.708z",fill:e}))),OB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 7V6a3 3 0 00-5.91-.736l-.17.676-.692.075A2.5 2.5 0 003.5 11h3c.063 0 .125-.002.187-.007l.076-.005.076.006c.053.004.106.006.161.006h4a2 2 0 100-4h-1zM3.12 5.02A3.5 3.5 0 003.5 12h3c.087 0 .174-.003.26-.01.079.007.16.01.24.01h4a3 3 0 100-6 4 4 0 00-7.88-.98z",fill:e}))),PB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 2a4 4 0 014 4 3 3 0 110 6H7c-.08 0-.161-.003-.24-.01-.086.007-.173.01-.26.01h-3a3.5 3.5 0 01-.38-6.98A4.002 4.002 0 017 2z",fill:e}))),NB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 7a4 4 0 11-8 0 4 4 0 018 0zm-1 0a3 3 0 11-6 0 3 3 0 016 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.268 13.18c.25.472.83.66 1.31.425l.987-.482a.991.991 0 01.87 0l.987.482a.991.991 0 001.31-.426l.515-.97a.991.991 0 01.704-.511l1.082-.19a.99.99 0 00.81-1.115l-.154-1.087a.991.991 0 01.269-.828l.763-.789a.991.991 0 000-1.378l-.763-.79a.991.991 0 01-.27-.827l.155-1.087a.99.99 0 00-.81-1.115l-1.082-.19a.991.991 0 01-.704-.511L9.732.82a.99.99 0 00-1.31-.426l-.987.482a.991.991 0 01-.87 0L5.578.395a.99.99 0 00-1.31.426l-.515.97a.99.99 0 01-.704.511l-1.082.19a.99.99 0 00-.81 1.115l.154 1.087a.99.99 0 01-.269.828L.28 6.31a.99.99 0 000 1.378l.763.79a.99.99 0 01.27.827l-.155 1.087a.99.99 0 00.81 1.115l1.082.19a.99.99 0 01.704.511l.515.97zm5.096-1.44l-.511.963-.979-.478a1.99 1.99 0 00-1.748 0l-.979.478-.51-.962a1.991 1.991 0 00-1.415-1.028l-1.073-.188.152-1.079a1.991 1.991 0 00-.54-1.663L1.004 7l.757-.783a1.991 1.991 0 00.54-1.663L2.15 3.475l1.073-.188A1.991 1.991 0 004.636 2.26l.511-.962.979.478a1.99 1.99 0 001.748 0l.979-.478.51.962c.288.543.81.922 1.415 1.028l1.073.188-.152 1.079a1.99 1.99 0 00.54 1.663l.757.783-.757.783a1.99 1.99 0 00-.54 1.663l.152 1.079-1.073.188a1.991 1.991 0 00-1.414 1.028z",fill:e}))),HB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 4a3 3 0 100 6 3 3 0 000-6zM3 7a4 4 0 118 0 4 4 0 01-8 0z",fill:e}))),$B=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.206 3.044a.498.498 0 01.23.212l3.492 5.985a.494.494 0 01.006.507.497.497 0 01-.443.252H3.51a.499.499 0 01-.437-.76l3.492-5.984a.497.497 0 01.642-.212zM7 4.492L4.37 9h5.26L7 4.492z",fill:e}))),jB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.854 4.146a.5.5 0 010 .708l-5 5a.5.5 0 01-.708 0l-2-2a.5.5 0 11.708-.708L5.5 8.793l4.646-4.647a.5.5 0 01.708 0z",fill:e}))),VB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.354 3.896l5.5 5.5a.5.5 0 01-.708.708L7 4.957l-5.146 5.147a.5.5 0 01-.708-.708l5.5-5.5a.5.5 0 01.708 0z",fill:e}))),UB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.146 4.604l5.5 5.5a.5.5 0 00.708 0l5.5-5.5a.5.5 0 00-.708-.708L7 9.043 1.854 3.896a.5.5 0 10-.708.708z",fill:e}))),qB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.76 7.096a.498.498 0 00.136.258l5.5 5.5a.5.5 0 00.707-.708L3.958 7l5.147-5.146a.5.5 0 10-.708-.708l-5.5 5.5a.5.5 0 00-.137.45z",fill:e}))),eE=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.104 7.354l-5.5 5.5a.5.5 0 01-.708-.708L10.043 7 4.896 1.854a.5.5 0 11.708-.708l5.5 5.5a.5.5 0 010 .708z",fill:e}))),WB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.854 9.104a.5.5 0 11-.708-.708l3.5-3.5a.5.5 0 01.708 0l3.5 3.5a.5.5 0 01-.708.708L7 5.957 3.854 9.104z",fill:e}))),GB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.854 4.896a.5.5 0 10-.708.708l3.5 3.5a.5.5 0 00.708 0l3.5-3.5a.5.5 0 00-.708-.708L7 8.043 3.854 4.896z",fill:e}))),KB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.104 10.146a.5.5 0 01-.708.708l-3.5-3.5a.5.5 0 010-.708l3.5-3.5a.5.5 0 11.708.708L5.957 7l3.147 3.146z",fill:e}))),YB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.896 10.146a.5.5 0 00.708.708l3.5-3.5a.5.5 0 000-.708l-3.5-3.5a.5.5 0 10-.708.708L8.043 7l-3.147 3.146z",fill:e}))),JB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.854 4.646l-4.5-4.5a.5.5 0 00-.708 0l-4.5 4.5a.5.5 0 10.708.708L6.5 1.707V13.5a.5.5 0 001 0V1.707l3.646 3.647a.5.5 0 00.708-.708z",fill:e}))),ZB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0v11.793L2.854 8.646a.5.5 0 10-.708.708l4.5 4.5a.5.5 0 00.351.146h.006c.127 0 .254-.05.35-.146l4.5-4.5a.5.5 0 00-.707-.708L7.5 12.293V.5z",fill:e}))),XB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.354 2.146a.5.5 0 010 .708L1.707 6.5H13.5a.5.5 0 010 1H1.707l3.647 3.646a.5.5 0 01-.708.708l-4.5-4.5a.5.5 0 010-.708l4.5-4.5a.5.5 0 01.708 0z",fill:e}))),QB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M8.646 2.146a.5.5 0 01.708 0l4.5 4.5a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.708-.708L12.293 7.5H.5a.5.5 0 010-1h11.793L8.646 2.854a.5.5 0 010-.708z",fill:e}))),eR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.904 8.768V2.404a.5.5 0 01.5-.5h6.364a.5.5 0 110 1H3.61l8.339 8.339a.5.5 0 01-.707.707l-8.34-8.34v5.158a.5.5 0 01-1 0z",fill:e}))),tR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M12.096 8.768V2.404a.5.5 0 00-.5-.5H5.232a.5.5 0 100 1h5.157L2.05 11.243a.5.5 0 10.707.707l8.34-8.34v5.158a.5.5 0 101 0z",fill:e}))),rR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.904 5.232v6.364a.5.5 0 00.5.5h6.364a.5.5 0 000-1H3.61l8.339-8.339a.5.5 0 00-.707-.707l-8.34 8.34V5.231a.5.5 0 00-1 0z",fill:e}))),nR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M12.096 5.232v6.364a.5.5 0 01-.5.5H5.232a.5.5 0 010-1h5.157L2.05 2.757a.5.5 0 01.707-.707l8.34 8.34V5.231a.5.5 0 111 0z",fill:e}))),aR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.772 3.59c.126-.12.33-.12.456 0l5.677 5.387c.203.193.06.523-.228.523H1.323c-.287 0-.431-.33-.228-.523L6.772 3.59z",fill:e}))),oR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.228 10.41a.335.335 0 01-.456 0L1.095 5.023c-.203-.193-.06-.523.228-.523h11.354c.287 0 .431.33.228.523L7.228 10.41z",fill:e}))),iR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.712 7.212a.3.3 0 010-.424l5.276-5.276a.3.3 0 01.512.212v10.552a.3.3 0 01-.512.212L3.712 7.212z",fill:e}))),lR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.288 7.212a.3.3 0 000-.424L5.012 1.512a.3.3 0 00-.512.212v10.552a.3.3 0 00.512.212l5.276-5.276z",fill:e}))),sR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.354.146l4 4a.5.5 0 01-.708.708L7 1.207 3.354 4.854a.5.5 0 11-.708-.708l4-4a.5.5 0 01.708 0zM11.354 9.146a.5.5 0 010 .708l-4 4a.5.5 0 01-.708 0l-4-4a.5.5 0 11.708-.708L7 12.793l3.646-3.647a.5.5 0 01.708 0z",fill:e}))),uR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.354.146a.5.5 0 10-.708.708l4 4a.5.5 0 00.708 0l4-4a.5.5 0 00-.708-.708L7 3.793 3.354.146zM6.646 9.146a.5.5 0 01.708 0l4 4a.5.5 0 01-.708.708L7 10.207l-3.646 3.647a.5.5 0 01-.708-.708l4-4z",fill:e}))),cR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5 1h2a.5.5 0 010 1h-.793l3.147 3.146a.5.5 0 11-.708.708L2 2.707V3.5a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5zM10 1.5a.5.5 0 01.5-.5h2a.5.5 0 01.5.5v2a.5.5 0 01-1 0v-.793L8.854 5.854a.5.5 0 11-.708-.708L11.293 2H10.5a.5.5 0 01-.5-.5zM12.5 10a.5.5 0 01.5.5v2a.5.5 0 01-.5.5h-2a.5.5 0 010-1h.793L8.146 8.854a.5.5 0 11.708-.708L12 11.293V10.5a.5.5 0 01.5-.5zM2 11.293V10.5a.5.5 0 00-1 0v2a.5.5 0 00.5.5h2a.5.5 0 000-1h-.793l3.147-3.146a.5.5 0 10-.708-.708L2 11.293z",fill:e}))),dR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M6.646.147l-1.5 1.5a.5.5 0 10.708.707l.646-.647V5a.5.5 0 001 0V1.707l.646.647a.5.5 0 10.708-.707l-1.5-1.5a.5.5 0 00-.708 0z",fill:e}),l.createElement("path",{d:"M1.309 4.038a.498.498 0 00-.16.106l-.005.005a.498.498 0 00.002.705L3.293 7 1.146 9.146A.498.498 0 001.5 10h3a.5.5 0 000-1H2.707l1.5-1.5h5.586l2.353 2.354a.5.5 0 00.708-.708L10.707 7l2.146-2.146.11-.545-.107.542A.499.499 0 0013 4.503v-.006a.5.5 0 00-.144-.348l-.005-.005A.498.498 0 0012.5 4h-3a.5.5 0 000 1h1.793l-1.5 1.5H4.207L2.707 5H4.5a.5.5 0 000-1h-3a.498.498 0 00-.191.038z",fill:e}),l.createElement("path",{d:"M7 8.5a.5.5 0 01.5.5v3.293l.646-.647a.5.5 0 01.708.708l-1.5 1.5a.5.5 0 01-.708 0l-1.5-1.5a.5.5 0 01.708-.708l.646.647V9a.5.5 0 01.5-.5zM9 9.5a.5.5 0 01.5-.5h3a.5.5 0 010 1h-3a.5.5 0 01-.5-.5z",fill:e}))),pR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M10.646 2.646a.5.5 0 01.708 0l1.5 1.5a.5.5 0 010 .708l-1.5 1.5a.5.5 0 01-.708-.708L11.293 5H1.5a.5.5 0 010-1h9.793l-.647-.646a.5.5 0 010-.708zM3.354 8.354L2.707 9H12.5a.5.5 0 010 1H2.707l.647.646a.5.5 0 01-.708.708l-1.5-1.5a.5.5 0 010-.708l1.5-1.5a.5.5 0 11.708.708z",fill:e}))),fR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5 1a.5.5 0 01.5.5V10a2 2 0 004 0V4a3 3 0 016 0v7.793l1.146-1.147a.5.5 0 01.708.708l-2 2a.5.5 0 01-.708 0l-2-2a.5.5 0 01.708-.708L11 11.793V4a2 2 0 10-4 0v6.002a3 3 0 01-6 0V1.5a.5.5 0 01.5-.5z",fill:e}))),hR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.146 3.854a.5.5 0 010-.708l2-2a.5.5 0 11.708.708L2.707 3h6.295A4 4 0 019 11H3a.5.5 0 010-1h6a3 3 0 100-6H2.707l1.147 1.146a.5.5 0 11-.708.708l-2-2z",fill:e}))),mR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4.354 2.146a.5.5 0 010 .708L1.707 5.5H9.5A4.5 4.5 0 0114 10v1.5a.5.5 0 01-1 0V10a3.5 3.5 0 00-3.5-3.5H1.707l2.647 2.646a.5.5 0 11-.708.708l-3.5-3.5a.5.5 0 010-.708l3.5-3.5a.5.5 0 01.708 0z",fill:e}))),gR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.5 1A.5.5 0 005 .5H2a.5.5 0 000 1h1.535a6.502 6.502 0 002.383 11.91.5.5 0 10.165-.986A5.502 5.502 0 014.5 2.1V4a.5.5 0 001 0V1.353a.5.5 0 000-.023V1zM7.507 1a.5.5 0 01.576-.41 6.502 6.502 0 012.383 11.91H12a.5.5 0 010 1H9a.5.5 0 01-.5-.5v-3a.5.5 0 011 0v1.9A5.5 5.5 0 007.917 1.576.5.5 0 017.507 1z",fill:e}))),vR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M8.646 5.854L7.5 4.707V10.5a.5.5 0 01-1 0V4.707L5.354 5.854a.5.5 0 11-.708-.708l2-2a.5.5 0 01.708 0l2 2a.5.5 0 11-.708.708z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),yR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.354 8.146L6.5 9.293V3.5a.5.5 0 011 0v5.793l1.146-1.147a.5.5 0 11.708.708l-2 2a.5.5 0 01-.708 0l-2-2a.5.5 0 11.708-.708z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7a7 7 0 1114 0A7 7 0 010 7zm1 0a6 6 0 1112 0A6 6 0 011 7z",fill:e}))),bR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.854 5.354L4.707 6.5H10.5a.5.5 0 010 1H4.707l1.147 1.146a.5.5 0 11-.708.708l-2-2a.5.5 0 010-.708l2-2a.5.5 0 11.708.708z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0a7 7 0 110 14A7 7 0 017 0zm0 1a6 6 0 110 12A6 6 0 017 1z",fill:e}))),wR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.5 6.5h5.793L8.146 5.354a.5.5 0 11.708-.708l2 2a.5.5 0 010 .708l-2 2a.5.5 0 11-.708-.708L9.293 7.5H3.5a.5.5 0 010-1z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 117 0a7 7 0 010 14zm0-1A6 6 0 117 1a6 6 0 010 12z",fill:e}))),DR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.092.5H7a6.5 6.5 0 106.41 7.583.5.5 0 10-.986-.166A5.495 5.495 0 017 12.5a5.5 5.5 0 010-11h.006a5.5 5.5 0 014.894 3H10a.5.5 0 000 1h3a.5.5 0 00.5-.5V2a.5.5 0 00-1 0v1.535A6.495 6.495 0 007.092.5z",fill:e}))),ER=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 100 7a7 7 0 0014 0zm-6.535 5.738c-.233.23-.389.262-.465.262-.076 0-.232-.032-.465-.262-.238-.234-.497-.623-.737-1.182-.434-1.012-.738-2.433-.79-4.056h3.984c-.052 1.623-.356 3.043-.79 4.056-.24.56-.5.948-.737 1.182zM8.992 6.5H5.008c.052-1.623.356-3.044.79-4.056.24-.56.5-.948.737-1.182C6.768 1.032 6.924 1 7 1c.076 0 .232.032.465.262.238.234.497.623.737 1.182.434 1.012.738 2.433.79 4.056zm1 1c-.065 2.176-.558 4.078-1.282 5.253A6.005 6.005 0 0012.98 7.5H9.992zm2.987-1H9.992c-.065-2.176-.558-4.078-1.282-5.253A6.005 6.005 0 0112.98 6.5zm-8.971 0c.065-2.176.558-4.078 1.282-5.253A6.005 6.005 0 001.02 6.5h2.988zm-2.987 1a6.005 6.005 0 004.27 5.253C4.565 11.578 4.072 9.676 4.007 7.5H1.02z",fill:e}))),CR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.087 3.397L5.95 5.793a.374.374 0 00-.109.095.377.377 0 00-.036.052l-2.407 4.147a.374.374 0 00-.004.384c.104.179.334.24.513.136l4.142-2.404a.373.373 0 00.148-.143l2.406-4.146a.373.373 0 00-.037-.443.373.373 0 00-.478-.074zM4.75 9.25l2.847-1.652-1.195-1.195L4.75 9.25z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),xR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7a7 7 0 1114 0A7 7 0 010 7zm6.5 3.5v2.48A6.001 6.001 0 011.02 7.5H3.5a.5.5 0 000-1H1.02A6.001 6.001 0 016.5 1.02V3.5a.5.5 0 001 0V1.02a6.001 6.001 0 015.48 5.48H10.5a.5.5 0 000 1h2.48a6.002 6.002 0 01-5.48 5.48V10.5a.5.5 0 00-1 0z",fill:e}))),SR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 5a2 2 0 11-4 0 2 2 0 014 0zM8 5a1 1 0 11-2 0 1 1 0 012 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 5A5 5 0 002 5c0 2.633 2.273 6.154 4.65 8.643.192.2.508.2.7 0C9.726 11.153 12 7.633 12 5zM7 1a4 4 0 014 4c0 1.062-.471 2.42-1.303 3.88-.729 1.282-1.69 2.562-2.697 3.67-1.008-1.108-1.968-2.388-2.697-3.67C3.47 7.42 3 6.063 3 5a4 4 0 014-4z",fill:e}))),FR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 2a.5.5 0 01.5.5v4H10a.5.5 0 010 1H7a.5.5 0 01-.5-.5V2.5A.5.5 0 017 2z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),AR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M9.79 4.093a.5.5 0 01.117.698L7.91 7.586a1 1 0 11-.814-.581l1.997-2.796a.5.5 0 01.698-.116z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.069 12.968a7 7 0 119.863 0A12.962 12.962 0 007 12c-1.746 0-3.41.344-4.931.968zm9.582-1.177a6 6 0 10-9.301 0A13.98 13.98 0 017 11c1.629 0 3.194.279 4.65.791z",fill:e}))),kR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.5 4.5a.5.5 0 00-1 0v2.634a1 1 0 101 0V4.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5.5A.5.5 0 016 0h2a.5.5 0 010 1h-.5v1.02a5.973 5.973 0 013.374 1.398l.772-.772a.5.5 0 01.708.708l-.772.772A6 6 0 116.5 2.02V1H6a.5.5 0 01-.5-.5zM7 3a5 5 0 100 10A5 5 0 007 3z",fill:e}))),_R=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.354 1.146l5.5 5.5a.5.5 0 01-.708.708L12 7.207V12.5a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V9H6v3.5a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V7.207l-.146.147a.5.5 0 11-.708-.708l1-1 4.5-4.5a.5.5 0 01.708 0zM3 6.207V12h2V8.5a.5.5 0 01.5-.5h3a.5.5 0 01.5.5V12h2V6.207l-4-4-4 4z",fill:e}))),BR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.213 4.094a.5.5 0 01.056-.034l5.484-2.995a.498.498 0 01.494 0L12.73 4.06a.507.507 0 01.266.389.498.498 0 01-.507.555H1.51a.5.5 0 01-.297-.91zm2.246-.09h7.082L7 2.07 3.459 4.004z",fill:e}),l.createElement("path",{d:"M4 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM11 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM5.75 5.5a.5.5 0 01.5.5v5a.5.5 0 01-1 0V6a.5.5 0 01.5-.5zM8.75 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM1.5 12.504a.5.5 0 01.5-.5h10a.5.5 0 010 1H2a.5.5 0 01-.5-.5z",fill:e}))),RR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3594)"},l.createElement("path",{d:"M11.451.537l.01 12.922h0L7.61 8.946a1.077 1.077 0 00-.73-.374L.964 8.087 11.45.537h0z",stroke:e,strokeWidth:1.077})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3594"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),IR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zM2.671 11.155c.696-1.006 2.602-1.816 3.194-1.91.226-.036.232-.658.232-.658s-.665-.658-.81-1.544c-.39 0-.63-.94-.241-1.272a2.578 2.578 0 00-.012-.13c-.066-.607-.28-2.606 1.965-2.606 2.246 0 2.031 2 1.966 2.606l-.012.13c.39.331.149 1.272-.24 1.272-.146.886-.81 1.544-.81 1.544s.004.622.23.658c.593.094 2.5.904 3.195 1.91a6 6 0 10-8.657 0z",fill:e}))),TR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.275 13.16a11.388 11.388 0 005.175-1.232v-.25c0-1.566-3.237-2.994-4.104-3.132-.27-.043-.276-.783-.276-.783s.791-.783.964-1.836c.463 0 .75-1.119.286-1.513C9.34 4 9.916 1.16 6.997 1.16c-2.92 0-2.343 2.84-2.324 3.254-.463.394-.177 1.513.287 1.513.172 1.053.963 1.836.963 1.836s-.006.74-.275.783c-.858.136-4.036 1.536-4.103 3.082a11.388 11.388 0 005.73 1.532z",fill:e}))),zR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.183 11.906a10.645 10.645 0 01-1.181-.589c.062-1.439 3.02-2.74 3.818-2.868.25-.04.256-.728.256-.728s-.736-.729-.896-1.709c-.432 0-.698-1.041-.267-1.408A2.853 2.853 0 002.9 4.46c-.072-.672-.31-2.884 2.175-2.884 2.486 0 2.248 2.212 2.176 2.884-.007.062-.012.112-.014.144.432.367.165 1.408-.266 1.408-.16.98-.896 1.709-.896 1.709s.005.688.256.728c.807.129 3.82 1.457 3.82 2.915v.233a10.598 10.598 0 01-4.816 1.146c-1.441 0-2.838-.282-4.152-.837zM11.5 2.16a.5.5 0 01.5.5v1.5h1.5a.5.5 0 010 1H12v1.5a.5.5 0 01-1 0v-1.5H9.5a.5.5 0 110-1H11v-1.5a.5.5 0 01.5-.5z",fill:e}))),LR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M9.21 11.623a10.586 10.586 0 01-4.031.787A10.585 10.585 0 010 11.07c.06-1.354 2.933-2.578 3.708-2.697.243-.038.249-.685.249-.685s-.715-.685-.87-1.607c-.42 0-.679-.979-.26-1.323a2.589 2.589 0 00-.013-.136c-.07-.632-.3-2.712 2.113-2.712 2.414 0 2.183 2.08 2.113 2.712-.007.059-.012.105-.013.136.419.344.16 1.323-.259 1.323-.156.922-.87 1.607-.87 1.607s.005.647.248.685c.784.12 3.71 1.37 3.71 2.74v.22c-.212.103-.427.2-.646.29z",fill:e}),l.createElement("path",{d:"M8.81 8.417a9.643 9.643 0 00-.736-.398c.61-.42 1.396-.71 1.7-.757.167-.026.171-.471.171-.471s-.491-.471-.598-1.104c-.288 0-.466-.674-.178-.91-.001-.022-.005-.053-.01-.094-.048-.434-.206-1.864 1.453-1.864 1.66 0 1.5 1.43 1.453 1.864l-.01.094c.289.236.11.91-.178.91-.107.633-.598 1.104-.598 1.104s.004.445.171.47c.539.084 2.55.942 2.55 1.884v.628a10.604 10.604 0 01-3.302.553 2.974 2.974 0 00-.576-.879c-.375-.408-.853-.754-1.312-1.03z",fill:e}))),MR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M9.106 7.354c-.627.265-1.295.4-1.983.4a5.062 5.062 0 01-2.547-.681c.03-.688 1.443-1.31 1.824-1.37.12-.02.122-.348.122-.348s-.351-.348-.428-.816c-.206 0-.333-.498-.127-.673 0-.016-.003-.04-.007-.07C5.926 3.477 5.812 2.42 7 2.42c1.187 0 1.073 1.057 1.039 1.378l-.007.069c.207.175.08.673-.127.673-.076.468-.428.816-.428.816s.003.329.122.348c.386.06 1.825.696 1.825 1.392v.111c-.104.053-.21.102-.318.148zM3.75 11.25A.25.25 0 014 11h6a.25.25 0 110 .5H4a.25.25 0 01-.25-.25zM4 9a.25.25 0 000 .5h6a.25.25 0 100-.5H4z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 .5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v13a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5V.5zM2 13V1h10v12H2z",fill:e}))),OR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.968 8.75a.5.5 0 00-.866.5A4.498 4.498 0 007 11.5c1.666 0 3.12-.906 3.898-2.25a.5.5 0 10-.866-.5A3.498 3.498 0 017 10.5a3.498 3.498 0 01-3.032-1.75zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),PR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4.5 9a.5.5 0 000 1h5a.5.5 0 000-1h-5zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),NR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.968 10.25a.5.5 0 01-.866-.5A4.498 4.498 0 017 7.5c1.666 0 3.12.906 3.898 2.25a.5.5 0 11-.866.5A3.498 3.498 0 007 8.5a3.498 3.498 0 00-3.032 1.75zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),HR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.526 4.842a.5.5 0 01.632-.316l2.051.684a2.5 2.5 0 001.582 0l2.05-.684a.5.5 0 01.317.948l-2.453.818a.3.3 0 00-.205.285v.243a4.5 4.5 0 00.475 2.012l.972 1.944a.5.5 0 11-.894.448L7 9.118l-1.053 2.106a.5.5 0 11-.894-.447l.972-1.945A4.5 4.5 0 006.5 6.82v-.243a.3.3 0 00-.205-.285l-2.453-.818a.5.5 0 01-.316-.632z",fill:e}),l.createElement("path",{d:"M7 4.5a1 1 0 100-2 1 1 0 000 2z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),$R=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zM8 3.5a1 1 0 11-2 0 1 1 0 012 0zM3.526 4.842a.5.5 0 01.632-.316l2.051.684a2.5 2.5 0 001.582 0l2.05-.684a.5.5 0 01.317.948l-2.453.818a.3.3 0 00-.205.285v.243a4.5 4.5 0 00.475 2.012l.972 1.944a.5.5 0 11-.894.448L7 9.118l-1.053 2.106a.5.5 0 11-.894-.447l.972-1.945A4.5 4.5 0 006.5 6.82v-.243a.3.3 0 00-.205-.285l-2.453-.818a.5.5 0 01-.316-.632z",fill:e}))),jR=0,VR=u(e=>e.button===jR&&!e.altKey&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey,"isPlainLeftClick"),UR=u((e,t)=>{VR(e)&&(e.preventDefault(),t(e))},"cancelled"),qR=k.span(({withArrow:e})=>e?{"> svg:last-of-type":{height:"0.7em",width:"0.7em",marginRight:0,marginLeft:"0.25em",bottom:"auto",verticalAlign:"inherit"}}:{},({containsIcon:e})=>e?{svg:{height:"1em",width:"1em",verticalAlign:"middle",position:"relative",bottom:0,marginRight:0}}:{}),WR=k.a(({theme:e})=>({display:"inline-block",transition:"all 150ms ease-out",textDecoration:"none",color:e.color.secondary,"&:hover, &:focus":{cursor:"pointer",color:qn(.07,e.color.secondary),"svg path:not([fill])":{fill:qn(.07,e.color.secondary)}},"&:active":{color:qn(.1,e.color.secondary),"svg path:not([fill])":{fill:qn(.1,e.color.secondary)}},svg:{display:"inline-block",height:"1em",width:"1em",verticalAlign:"text-top",position:"relative",bottom:"-0.125em",marginRight:"0.4em","& path":{fill:e.color.secondary}}}),({theme:e,secondary:t,tertiary:r})=>{let n;return t&&(n=[e.textMutedColor,e.color.dark,e.color.darker]),r&&(n=[e.color.dark,e.color.darkest,e.textMutedColor]),n?{color:n[0],"svg path:not([fill])":{fill:n[0]},"&:hover":{color:n[1],"svg path:not([fill])":{fill:n[1]}},"&:active":{color:n[2],"svg path:not([fill])":{fill:n[2]}}}:{}},({nochrome:e})=>e?{color:"inherit","&:hover, &:active":{color:"inherit",textDecoration:"underline"}}:{},({theme:e,inverse:t})=>t?{color:e.color.lightest,":not([fill])":{fill:e.color.lightest},"&:hover":{color:e.color.lighter,"svg path:not([fill])":{fill:e.color.lighter}},"&:active":{color:e.color.light,"svg path:not([fill])":{fill:e.color.light}}}:{},({isButton:e})=>e?{border:0,borderRadius:0,background:"none",padding:0,fontSize:"inherit"}:{}),ra=u(({cancel:e=!0,children:t,onClick:r=void 0,withArrow:n=!1,containsIcon:a=!1,className:o=void 0,style:i=void 0,...s})=>y.createElement(WR,{...s,onClick:r&&e?c=>UR(c,r):r,className:o},y.createElement(qR,{withArrow:n,containsIcon:a},t,n&&y.createElement(eE,null))),"Link");k.div(({theme:e})=>({fontSize:`${e.typography.size.s2}px`,lineHeight:"1.6",h1:{fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},h2:{fontSize:`${e.typography.size.m2}px`,borderBottom:`1px solid ${e.appBorderColor}`},h3:{fontSize:`${e.typography.size.m1}px`},h4:{fontSize:`${e.typography.size.s3}px`},h5:{fontSize:`${e.typography.size.s2}px`},h6:{fontSize:`${e.typography.size.s2}px`,color:e.color.dark},"pre:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"pre pre, pre.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px"},"pre pre code, pre.prismjs code":{color:"inherit",fontSize:"inherit"},"pre code":{margin:0,padding:0,whiteSpace:"pre",border:"none",background:"transparent"},"pre code, pre tt":{backgroundColor:"transparent",border:"none"},"body > *:first-of-type":{marginTop:"0 !important"},"body > *:last-child":{marginBottom:"0 !important"},a:{color:e.color.secondary,textDecoration:"none"},"a.absent":{color:"#cc0000"},"a.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0},"h1, h2, h3, h4, h5, h6":{margin:"20px 0 10px",padding:0,cursor:"text",position:"relative","&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}},"h1:first-of-type + h2":{marginTop:0,paddingTop:0},"p, blockquote, ul, ol, dl, li, table, pre":{margin:"15px 0"},hr:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},"body > h1:first-of-type, body > h2:first-of-type, body > h3:first-of-type, body > h4:first-of-type, body > h5:first-of-type, body > h6:first-of-type":{marginTop:0,paddingTop:0},"body > h1:first-of-type + h2":{marginTop:0,paddingTop:0},"a:first-of-type h1, a:first-of-type h2, a:first-of-type h3, a:first-of-type h4, a:first-of-type h5, a:first-of-type h6":{marginTop:0,paddingTop:0},"h1 p, h2 p, h3 p, h4 p, h5 p, h6 p":{marginTop:0},"li p.first":{display:"inline-block"},"ul, ol":{paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},dl:{padding:0},"dl dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",margin:"0 0 15px",padding:"0 15px","&:first-of-type":{padding:0},"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},blockquote:{borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},table:{padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:"white",margin:0,padding:0,"& th":{fontWeight:"bold",border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"& td":{border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"&:nth-of-type(2n)":{backgroundColor:e.color.lighter},"& th :first-of-type, & td :first-of-type":{marginTop:0},"& th :last-child, & td :last-child":{marginBottom:0}}},img:{maxWidth:"100%"},"span.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"}},"span.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"}},"span.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"}},"span.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"span.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}},"code, tt":{margin:"0 2px",padding:"0 5px",whiteSpace:"nowrap",border:`1px solid ${e.color.mediumlight}`,backgroundColor:e.color.lighter,borderRadius:3,color:e.base==="dark"?e.color.darkest:e.color.dark}}));var ln=[],wa=null,GR=l.lazy(async()=>{let{SyntaxHighlighter:e}=await Promise.resolve().then(()=>(As(),gp));return ln.length>0&&(ln.forEach(t=>{e.registerLanguage(...t)}),ln=[]),wa===null&&(wa=e),{default:u(t=>y.createElement(e,{...t}),"default")}}),KR=l.lazy(async()=>{let[{SyntaxHighlighter:e},{formatter:t}]=await Promise.all([Promise.resolve().then(()=>(As(),gp)),Promise.resolve().then(()=>(vF(),vD))]);return ln.length>0&&(ln.forEach(r=>{e.registerLanguage(...r)}),ln=[]),wa===null&&(wa=e),{default:u(r=>y.createElement(e,{...r,formatter:t}),"default")}}),au=u(e=>y.createElement(l.Suspense,{fallback:y.createElement("div",null)},e.format!==!1?y.createElement(KR,{...e}):y.createElement(GR,{...e})),"SyntaxHighlighter");au.registerLanguage=(...e)=>{if(wa!==null){wa.registerLanguage(...e);return}ln.push(e)};As();O3();var tE={};Sa(tE,{Close:()=>a8,Content:()=>t8,Description:()=>n8,Dialog:()=>Nf,DialogClose:()=>Kf,DialogContent:()=>Uf,DialogDescription:()=>Gf,DialogOverlay:()=>Vf,DialogPortal:()=>jf,DialogTitle:()=>Wf,DialogTrigger:()=>Hf,Overlay:()=>e8,Portal:()=>QE,Root:()=>XE,Title:()=>r8,Trigger:()=>jI,WarningProvider:()=>PI,createDialogScope:()=>II});fp();gn();function rE(e,t){let r=l.createContext(t),n=u(o=>{let{children:i,...s}=o,c=l.useMemo(()=>s,Object.values(s));return N.jsx(r.Provider,{value:c,children:i})},"Provider");n.displayName=e+"Provider";function a(o){let i=l.useContext(r);if(i)return i;if(t!==void 0)return t;throw new Error(`\`${o}\` must be used within \`${e}\``)}return u(a,"useContext2"),[n,a]}u(rE,"createContext2");function nE(e,t=[]){let r=[];function n(o,i){let s=l.createContext(i),c=r.length;r=[...r,i];let d=u(m=>{var D;let{scope:p,children:h,...g}=m,v=((D=p==null?void 0:p[e])==null?void 0:D[c])||s,b=l.useMemo(()=>g,Object.values(g));return N.jsx(v.Provider,{value:b,children:h})},"Provider");d.displayName=o+"Provider";function f(m,p){var v;let h=((v=p==null?void 0:p[e])==null?void 0:v[c])||s,g=l.useContext(h);if(g)return g;if(i!==void 0)return i;throw new Error(`\`${m}\` must be used within \`${o}\``)}return u(f,"useContext2"),[d,f]}u(n,"createContext3");let a=u(()=>{let o=r.map(i=>l.createContext(i));return u(function(i){let s=(i==null?void 0:i[e])||o;return l.useMemo(()=>({[`__scope${e}`]:{...i,[e]:s}}),[i,s])},"useScope")},"createScope");return a.scopeName=e,[n,aE(a,...t)]}u(nE,"createContextScope");function aE(...e){let t=e[0];if(e.length===1)return t;let r=u(()=>{let n=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return u(function(a){let o=n.reduce((i,{useScope:s,scopeName:c})=>{let d=s(a)[`__scope${c}`];return{...i,...d}},{});return l.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])},"useComposedScopes")},"createScope");return r.scopeName=t.scopeName,r}u(aE,"composeContextScopes");ti();var YR=l.useId||(()=>{}),JR=0;function bl(e){let[t,r]=l.useState(YR());return Fr(()=>{e||r(n=>n??String(JR++))},[e]),e||(t?`radix-${t}`:"")}u(bl,"useId");ri();function oE({prop:e,defaultProp:t,onChange:r=u(()=>{},"onChange")}){let[n,a]=iE({defaultProp:t,onChange:r}),o=e!==void 0,i=o?e:n,s=Oe(r),c=l.useCallback(d=>{if(o){let f=typeof d=="function"?d(e):d;f!==e&&s(f)}else a(d)},[o,e,a,s]);return[i,c]}u(oE,"useControllableState");function iE({defaultProp:e,onChange:t}){let r=l.useState(e),[n]=r,a=l.useRef(n),o=Oe(t);return l.useEffect(()=>{a.current!==n&&(o(n),a.current=n)},[n,a,o]),r}u(iE,"useUncontrolledState");fp();ei();gn();ri();ri();function lE(e,t=globalThis==null?void 0:globalThis.document){let r=Oe(e);l.useEffect(()=>{let n=u(a=>{a.key==="Escape"&&r(a)},"handleKeyDown");return t.addEventListener("keydown",n,{capture:!0}),()=>t.removeEventListener("keydown",n,{capture:!0})},[r,t])}u(lE,"useEscapeKeydown");var ZR="DismissableLayer",h1="dismissableLayer.update",XR="dismissableLayer.pointerDownOutside",QR="dismissableLayer.focusOutside",Zv,sE=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),uE=l.forwardRef((e,t)=>{let{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:a,onFocusOutside:o,onInteractOutside:i,onDismiss:s,...c}=e,d=l.useContext(sE),[f,m]=l.useState(null),p=(f==null?void 0:f.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,h]=l.useState({}),g=Le(t,F=>m(F)),v=Array.from(d.layers),[b]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),D=v.indexOf(b),E=f?v.indexOf(f):-1,C=d.layersWithOutsidePointerEventsDisabled.size>0,w=E>=D,x=cE(F=>{let A=F.target,_=[...d.branches].some(R=>R.contains(A));!w||_||(a==null||a(F),i==null||i(F),F.defaultPrevented||(s==null||s()))},p),S=dE(F=>{let A=F.target;[...d.branches].some(_=>_.contains(A))||(o==null||o(F),i==null||i(F),F.defaultPrevented||(s==null||s()))},p);return lE(F=>{E===d.layers.size-1&&(n==null||n(F),!F.defaultPrevented&&s&&(F.preventDefault(),s()))},p),l.useEffect(()=>{if(f)return r&&(d.layersWithOutsidePointerEventsDisabled.size===0&&(Zv=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(f)),d.layers.add(f),m1(),()=>{r&&d.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=Zv)}},[f,p,r,d]),l.useEffect(()=>()=>{f&&(d.layers.delete(f),d.layersWithOutsidePointerEventsDisabled.delete(f),m1())},[f,d]),l.useEffect(()=>{let F=u(()=>h({}),"handleUpdate");return document.addEventListener(h1,F),()=>document.removeEventListener(h1,F)},[]),N.jsx(Me.div,{...c,ref:g,style:{pointerEvents:C?w?"auto":"none":void 0,...e.style},onFocusCapture:Be(e.onFocusCapture,S.onFocusCapture),onBlurCapture:Be(e.onBlurCapture,S.onBlurCapture),onPointerDownCapture:Be(e.onPointerDownCapture,x.onPointerDownCapture)})});uE.displayName=ZR;var eI="DismissableLayerBranch",tI=l.forwardRef((e,t)=>{let r=l.useContext(sE),n=l.useRef(null),a=Le(t,n);return l.useEffect(()=>{let o=n.current;if(o)return r.branches.add(o),()=>{r.branches.delete(o)}},[r.branches]),N.jsx(Me.div,{...e,ref:a})});tI.displayName=eI;function cE(e,t=globalThis==null?void 0:globalThis.document){let r=Oe(e),n=l.useRef(!1),a=l.useRef(()=>{});return l.useEffect(()=>{let o=u(s=>{if(s.target&&!n.current){let c=u(function(){Lf(XR,r,d,{discrete:!0})},"handleAndDispatchPointerDownOutsideEvent2"),d={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",a.current),a.current=c,t.addEventListener("click",a.current,{once:!0})):c()}else t.removeEventListener("click",a.current);n.current=!1},"handlePointerDown"),i=window.setTimeout(()=>{t.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",o),t.removeEventListener("click",a.current)}},[t,r]),{onPointerDownCapture:u(()=>n.current=!0,"onPointerDownCapture")}}u(cE,"usePointerDownOutside");function dE(e,t=globalThis==null?void 0:globalThis.document){let r=Oe(e),n=l.useRef(!1);return l.useEffect(()=>{let a=u(o=>{o.target&&!n.current&&Lf(QR,r,{originalEvent:o},{discrete:!1})},"handleFocus");return t.addEventListener("focusin",a),()=>t.removeEventListener("focusin",a)},[t,r]),{onFocusCapture:u(()=>n.current=!0,"onFocusCapture"),onBlurCapture:u(()=>n.current=!1,"onBlurCapture")}}u(dE,"useFocusOutside");function m1(){let e=new CustomEvent(h1);document.dispatchEvent(e)}u(m1,"dispatchUpdate");function Lf(e,t,r,{discrete:n}){let a=r.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&a.addEventListener(e,t,{once:!0}),n?H3(a,o):a.dispatchEvent(o)}u(Lf,"handleAndDispatchCustomEvent");gn();ei();ri();var _0="focusScope.autoFocusOnMount",B0="focusScope.autoFocusOnUnmount",Xv={bubbles:!1,cancelable:!0},rI="FocusScope",pE=l.forwardRef((e,t)=>{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:a,onUnmountAutoFocus:o,...i}=e,[s,c]=l.useState(null),d=Oe(a),f=Oe(o),m=l.useRef(null),p=Le(t,v=>c(v)),h=l.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;l.useEffect(()=>{if(n){let v=u(function(C){if(h.paused||!s)return;let w=C.target;s.contains(w)?m.current=w:lr(m.current,{select:!0})},"handleFocusIn2"),b=u(function(C){if(h.paused||!s)return;let w=C.relatedTarget;w!==null&&(s.contains(w)||lr(m.current,{select:!0}))},"handleFocusOut2"),D=u(function(C){if(document.activeElement===document.body)for(let w of C)w.removedNodes.length>0&&lr(s)},"handleMutations2");document.addEventListener("focusin",v),document.addEventListener("focusout",b);let E=new MutationObserver(D);return s&&E.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",v),document.removeEventListener("focusout",b),E.disconnect()}}},[n,s,h.paused]),l.useEffect(()=>{if(s){Qv.add(h);let v=document.activeElement;if(!s.contains(v)){let b=new CustomEvent(_0,Xv);s.addEventListener(_0,d),s.dispatchEvent(b),b.defaultPrevented||(fE(yE(Mf(s)),{select:!0}),document.activeElement===v&&lr(s))}return()=>{s.removeEventListener(_0,d),setTimeout(()=>{let b=new CustomEvent(B0,Xv);s.addEventListener(B0,f),s.dispatchEvent(b),b.defaultPrevented||lr(v??document.body,{select:!0}),s.removeEventListener(B0,f),Qv.remove(h)},0)}}},[s,d,f,h]);let g=l.useCallback(v=>{if(!r&&!n||h.paused)return;let b=v.key==="Tab"&&!v.altKey&&!v.ctrlKey&&!v.metaKey,D=document.activeElement;if(b&&D){let E=v.currentTarget,[C,w]=hE(E);C&&w?!v.shiftKey&&D===w?(v.preventDefault(),r&&lr(C,{select:!0})):v.shiftKey&&D===C&&(v.preventDefault(),r&&lr(w,{select:!0})):D===E&&v.preventDefault()}},[r,n,h.paused]);return N.jsx(Me.div,{tabIndex:-1,...i,ref:p,onKeyDown:g})});pE.displayName=rI;function fE(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(lr(n,{select:t}),document.activeElement!==r)return}u(fE,"focusFirst");function hE(e){let t=Mf(e),r=g1(t,e),n=g1(t.reverse(),e);return[r,n]}u(hE,"getTabbableEdges");function Mf(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:u(n=>{let a=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||a?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;r.nextNode();)t.push(r.currentNode);return t}u(Mf,"getTabbableCandidates");function g1(e,t){for(let r of e)if(!mE(r,{upTo:t}))return r}u(g1,"findVisible");function mE(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}u(mE,"isHidden");function gE(e){return e instanceof HTMLInputElement&&"select"in e}u(gE,"isSelectableInput");function lr(e,{select:t=!1}={}){if(e&&e.focus){let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&gE(e)&&t&&e.select()}}u(lr,"focus");var Qv=vE();function vE(){let e=[];return{add(t){let r=e[0];t!==r&&(r==null||r.pause()),e=v1(e,t),e.unshift(t)},remove(t){var r;e=v1(e,t),(r=e[0])==null||r.resume()}}}u(vE,"createFocusScopesStack");function v1(e,t){let r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}u(v1,"arrayRemove");function yE(e){return e.filter(t=>t.tagName!=="A")}u(yE,"removeLinks");ei();ti();var nI="Portal",bE=l.forwardRef((e,t)=>{var s;let{container:r,...n}=e,[a,o]=l.useState(!1);Fr(()=>o(!0),[]);let i=r||a&&((s=globalThis==null?void 0:globalThis.document)==null?void 0:s.body);return i?U4.createPortal(N.jsx(Me.div,{...n,ref:t}),i):null});bE.displayName=nI;gn();ti();function wE(e,t){return l.useReducer((r,n)=>t[r][n]??r,e)}u(wE,"useStateMachine");var ou=u(e=>{let{present:t,children:r}=e,n=DE(t),a=typeof r=="function"?r({present:n.isPresent}):l.Children.only(r),o=Le(n.ref,EE(a));return typeof r=="function"||n.isPresent?l.cloneElement(a,{ref:o}):null},"Presence");ou.displayName="Presence";function DE(e){let[t,r]=l.useState(),n=l.useRef({}),a=l.useRef(e),o=l.useRef("none"),i=e?"mounted":"unmounted",[s,c]=wE(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return l.useEffect(()=>{let d=vo(n.current);o.current=s==="mounted"?d:"none"},[s]),Fr(()=>{let d=n.current,f=a.current;if(f!==e){let m=o.current,p=vo(d);e?c("MOUNT"):p==="none"||(d==null?void 0:d.display)==="none"?c("UNMOUNT"):c(f&&m!==p?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,c]),Fr(()=>{if(t){let d,f=t.ownerDocument.defaultView??window,m=u(h=>{let g=vo(n.current).includes(h.animationName);if(h.target===t&&g&&(c("ANIMATION_END"),!a.current)){let v=t.style.animationFillMode;t.style.animationFillMode="forwards",d=f.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=v)})}},"handleAnimationEnd"),p=u(h=>{h.target===t&&(o.current=vo(n.current))},"handleAnimationStart");return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",m),t.addEventListener("animationend",m),()=>{f.clearTimeout(d),t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",m),t.removeEventListener("animationend",m)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:l.useCallback(d=>{d&&(n.current=getComputedStyle(d)),r(d)},[])}}u(DE,"usePresence");function vo(e){return(e==null?void 0:e.animationName)||"none"}u(vo,"getAnimationName");function EE(e){var n,a;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}u(EE,"getElementRef");ei();var R0=0;function CE(){l.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??y1()),document.body.insertAdjacentElement("beforeend",e[1]??y1()),R0++,()=>{R0===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),R0--}},[])}u(CE,"useFocusGuards");function y1(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}u(y1,"createFocusGuard");var Pt=u(function(){return Pt=Object.assign||u(function(e){for(var t,r=1,n=arguments.length;r"u")return uI;var t=cI(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},"getGapWidth"),pI=ME(),na="data-scroll-locked",fI=u(function(e,t,r,n){var a=e.left,o=e.top,i=e.right,s=e.gap;return r===void 0&&(r="margin"),` + .`.concat(aI,` { + overflow: hidden `).concat(n,`; + padding-right: `).concat(s,"px ").concat(n,`; + } + body[`).concat(na,`] { + overflow: hidden `).concat(n,`; + overscroll-behavior: contain; + `).concat([t&&"position: relative ".concat(n,";"),r==="margin"&&` + padding-left: `.concat(a,`px; + padding-top: `).concat(o,`px; + padding-right: `).concat(i,`px; + margin-left:0; + margin-top:0; + margin-right: `).concat(s,"px ").concat(n,`; + `),r==="padding"&&"padding-right: ".concat(s,"px ").concat(n,";")].filter(Boolean).join(""),` + } + + .`).concat(wl,` { + right: `).concat(s,"px ").concat(n,`; + } + + .`).concat(Dl,` { + margin-right: `).concat(s,"px ").concat(n,`; + } + + .`).concat(wl," .").concat(wl,` { + right: 0 `).concat(n,`; + } + + .`).concat(Dl," .").concat(Dl,` { + margin-right: 0 `).concat(n,`; + } + + body[`).concat(na,`] { + `).concat(oI,": ").concat(s,`px; + } +`)},"getStyles"),t4=u(function(){var e=parseInt(document.body.getAttribute(na)||"0",10);return isFinite(e)?e:0},"getCurrentUseCounter"),hI=u(function(){l.useEffect(function(){return document.body.setAttribute(na,(t4()+1).toString()),function(){var e=t4()-1;e<=0?document.body.removeAttribute(na):document.body.setAttribute(na,e.toString())}},[])},"useLockAttribute"),mI=u(function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,a=n===void 0?"margin":n;hI();var o=l.useMemo(function(){return dI(a)},[a]);return l.createElement(pI,{styles:fI(o,!t,a,r?"":"!important")})},"RemoveScrollBar"),b1=!1;if(typeof window<"u")try{eo=Object.defineProperty({},"passive",{get:u(function(){return b1=!0,!0},"get")}),window.addEventListener("test",eo,eo),window.removeEventListener("test",eo,eo)}catch{b1=!1}var eo,Tn=b1?{passive:!1}:!1,gI=u(function(e){return e.tagName==="TEXTAREA"},"alwaysContainsScroll"),OE=u(function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!gI(e)&&r[t]==="visible")},"elementCanBeScrolled"),vI=u(function(e){return OE(e,"overflowY")},"elementCouldBeVScrolled"),yI=u(function(e){return OE(e,"overflowX")},"elementCouldBeHScrolled"),r4=u(function(e,t){var r=t.ownerDocument,n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var a=PE(e,n);if(a){var o=NE(e,n),i=o[1],s=o[2];if(i>s)return!0}n=n.parentNode}while(n&&n!==r.body);return!1},"locationCouldBeScrolled"),bI=u(function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},"getVScrollVariables"),wI=u(function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},"getHScrollVariables"),PE=u(function(e,t){return e==="v"?vI(t):yI(t)},"elementCouldBeScrolled"),NE=u(function(e,t){return e==="v"?bI(t):wI(t)},"getScrollVariables"),DI=u(function(e,t){return e==="h"&&t==="rtl"?-1:1},"getDirectionFactor"),EI=u(function(e,t,r,n,a){var o=DI(e,window.getComputedStyle(t).direction),i=o*n,s=r.target,c=t.contains(s),d=!1,f=i>0,m=0,p=0;do{var h=NE(e,s),g=h[0],v=h[1],b=h[2],D=v-b-o*g;(g||D)&&PE(e,s)&&(m+=D,p+=g),s instanceof ShadowRoot?s=s.host:s=s.parentNode}while(!c&&s!==document.body||c&&(t.contains(s)||t===s));return(f&&(a&&Math.abs(m)<1||!a&&i>m)||!f&&(a&&Math.abs(p)<1||!a&&-i>p))&&(d=!0),d},"handleScroll"),Yi=u(function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},"getTouchXY"),n4=u(function(e){return[e.deltaX,e.deltaY]},"getDeltaXY"),a4=u(function(e){return e&&"current"in e?e.current:e},"extractRef"),CI=u(function(e,t){return e[0]===t[0]&&e[1]===t[1]},"deltaCompare"),xI=u(function(e){return` + .block-interactivity-`.concat(e,` {pointer-events: none;} + .allow-interactivity-`).concat(e,` {pointer-events: all;} +`)},"generateStyle"),SI=0,zn=[];function HE(e){var t=l.useRef([]),r=l.useRef([0,0]),n=l.useRef(),a=l.useState(SI++)[0],o=l.useState(ME)[0],i=l.useRef(e);l.useEffect(function(){i.current=e},[e]),l.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var v=xE([e.lockRef.current],(e.shards||[]).map(a4),!0).filter(Boolean);return v.forEach(function(b){return b.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),v.forEach(function(b){return b.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var s=l.useCallback(function(v,b){if("touches"in v&&v.touches.length===2||v.type==="wheel"&&v.ctrlKey)return!i.current.allowPinchZoom;var D=Yi(v),E=r.current,C="deltaX"in v?v.deltaX:E[0]-D[0],w="deltaY"in v?v.deltaY:E[1]-D[1],x,S=v.target,F=Math.abs(C)>Math.abs(w)?"h":"v";if("touches"in v&&F==="h"&&S.type==="range")return!1;var A=r4(F,S);if(!A)return!0;if(A?x=F:(x=F==="v"?"h":"v",A=r4(F,S)),!A)return!1;if(!n.current&&"changedTouches"in v&&(C||w)&&(n.current=x),!x)return!0;var _=n.current||x;return EI(_,b,v,_==="h"?C:w,!0)},[]),c=l.useCallback(function(v){var b=v;if(!(!zn.length||zn[zn.length-1]!==o)){var D="deltaY"in b?n4(b):Yi(b),E=t.current.filter(function(x){return x.name===b.type&&(x.target===b.target||b.target===x.shadowParent)&&CI(x.delta,D)})[0];if(E&&E.should){b.cancelable&&b.preventDefault();return}if(!E){var C=(i.current.shards||[]).map(a4).filter(Boolean).filter(function(x){return x.contains(b.target)}),w=C.length>0?s(b,C[0]):!i.current.noIsolation;w&&b.cancelable&&b.preventDefault()}}},[]),d=l.useCallback(function(v,b,D,E){var C={name:v,delta:b,target:D,should:E,shadowParent:$E(D)};t.current.push(C),setTimeout(function(){t.current=t.current.filter(function(w){return w!==C})},1)},[]),f=l.useCallback(function(v){r.current=Yi(v),n.current=void 0},[]),m=l.useCallback(function(v){d(v.type,n4(v),v.target,s(v,e.lockRef.current))},[]),p=l.useCallback(function(v){d(v.type,Yi(v),v.target,s(v,e.lockRef.current))},[]);l.useEffect(function(){return zn.push(o),e.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:p}),document.addEventListener("wheel",c,Tn),document.addEventListener("touchmove",c,Tn),document.addEventListener("touchstart",f,Tn),function(){zn=zn.filter(function(v){return v!==o}),document.removeEventListener("wheel",c,Tn),document.removeEventListener("touchmove",c,Tn),document.removeEventListener("touchstart",f,Tn)}},[]);var h=e.removeScrollBar,g=e.inert;return l.createElement(l.Fragment,null,g?l.createElement(o,{styles:xI(a)}):null,h?l.createElement(mI,{gapMode:e.gapMode}):null)}u(HE,"RemoveScrollSideCar");function $E(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}u($E,"getOutermostShadowParent");var FI=RE(IE,HE),jE=l.forwardRef(function(e,t){return l.createElement(iu,Pt({},e,{ref:t,sideCar:FI}))});jE.classNames=iu.classNames;var AI=jE,kI=u(function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},"getDefaultParent"),Ln=new WeakMap,Ji=new WeakMap,Zi={},z0=0,VE=u(function(e){return e&&(e.host||VE(e.parentNode))},"unwrapHost"),_I=u(function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=VE(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},"correctTargets"),BI=u(function(e,t,r,n){var a=_I(t,Array.isArray(e)?e:[e]);Zi[r]||(Zi[r]=new WeakMap);var o=Zi[r],i=[],s=new Set,c=new Set(a),d=u(function(m){!m||s.has(m)||(s.add(m),d(m.parentNode))},"keep");a.forEach(d);var f=u(function(m){!m||c.has(m)||Array.prototype.forEach.call(m.children,function(p){if(s.has(p))f(p);else{var h=p.getAttribute(n),g=h!==null&&h!=="false",v=(Ln.get(p)||0)+1,b=(o.get(p)||0)+1;Ln.set(p,v),o.set(p,b),i.push(p),v===1&&g&&Ji.set(p,!0),b===1&&p.setAttribute(r,"true"),g||p.setAttribute(n,"true")}})},"deep");return f(t),s.clear(),z0++,function(){i.forEach(function(m){var p=Ln.get(m)-1,h=o.get(m)-1;Ln.set(m,p),o.set(m,h),p||(Ji.has(m)||m.removeAttribute(n),Ji.delete(m)),h||m.removeAttribute(r)}),z0--,z0||(Ln=new WeakMap,Ln=new WeakMap,Ji=new WeakMap,Zi={})}},"applyAttributeToOthers"),RI=u(function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),a=t||kI(e);return a?(n.push.apply(n,Array.from(a.querySelectorAll("[aria-live]"))),BI(n,a,r,"aria-hidden")):function(){return null}},"hideOthers");pp();var Pf="Dialog",[UE,II]=nE(Pf),[TI,St]=UE(Pf),Nf=u(e=>{let{__scopeDialog:t,children:r,open:n,defaultOpen:a,onOpenChange:o,modal:i=!0}=e,s=l.useRef(null),c=l.useRef(null),[d=!1,f]=oE({prop:n,defaultProp:a,onChange:o});return N.jsx(TI,{scope:t,triggerRef:s,contentRef:c,contentId:bl(),titleId:bl(),descriptionId:bl(),open:d,onOpenChange:f,onOpenToggle:l.useCallback(()=>f(m=>!m),[f]),modal:i,children:r})},"Dialog");Nf.displayName=Pf;var qE="DialogTrigger",Hf=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=St(qE,r),o=Le(t,a.triggerRef);return N.jsx(Me.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":lu(a.open),...n,ref:o,onClick:Be(e.onClick,a.onOpenToggle)})});Hf.displayName=qE;var $f="DialogPortal",[zI,WE]=UE($f,{forceMount:void 0}),jf=u(e=>{let{__scopeDialog:t,forceMount:r,children:n,container:a}=e,o=St($f,t);return N.jsx(zI,{scope:t,forceMount:r,children:l.Children.map(n,i=>N.jsx(ou,{present:r||o.open,children:N.jsx(bE,{asChild:!0,container:a,children:i})}))})},"DialogPortal");jf.displayName=$f;var cs="DialogOverlay",Vf=l.forwardRef((e,t)=>{let r=WE(cs,e.__scopeDialog),{forceMount:n=r.forceMount,...a}=e,o=St(cs,e.__scopeDialog);return o.modal?N.jsx(ou,{present:n||o.open,children:N.jsx(LI,{...a,ref:t})}):null});Vf.displayName=cs;var LI=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=St(cs,r);return N.jsx(AI,{as:Io,allowPinchZoom:!0,shards:[a.contentRef],children:N.jsx(Me.div,{"data-state":lu(a.open),...n,ref:t,style:{pointerEvents:"auto",...n.style}})})}),hn="DialogContent",Uf=l.forwardRef((e,t)=>{let r=WE(hn,e.__scopeDialog),{forceMount:n=r.forceMount,...a}=e,o=St(hn,e.__scopeDialog);return N.jsx(ou,{present:n||o.open,children:o.modal?N.jsx(MI,{...a,ref:t}):N.jsx(OI,{...a,ref:t})})});Uf.displayName=hn;var MI=l.forwardRef((e,t)=>{let r=St(hn,e.__scopeDialog),n=l.useRef(null),a=Le(t,r.contentRef,n);return l.useEffect(()=>{let o=n.current;if(o)return RI(o)},[]),N.jsx(GE,{...e,ref:a,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Be(e.onCloseAutoFocus,o=>{var i;o.preventDefault(),(i=r.triggerRef.current)==null||i.focus()}),onPointerDownOutside:Be(e.onPointerDownOutside,o=>{let i=o.detail.originalEvent,s=i.button===0&&i.ctrlKey===!0;(i.button===2||s)&&o.preventDefault()}),onFocusOutside:Be(e.onFocusOutside,o=>o.preventDefault())})}),OI=l.forwardRef((e,t)=>{let r=St(hn,e.__scopeDialog),n=l.useRef(!1),a=l.useRef(!1);return N.jsx(GE,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:u(o=>{var i,s;(i=e.onCloseAutoFocus)==null||i.call(e,o),o.defaultPrevented||(n.current||((s=r.triggerRef.current)==null||s.focus()),o.preventDefault()),n.current=!1,a.current=!1},"onCloseAutoFocus"),onInteractOutside:u(o=>{var s,c;(s=e.onInteractOutside)==null||s.call(e,o),o.defaultPrevented||(n.current=!0,o.detail.originalEvent.type==="pointerdown"&&(a.current=!0));let i=o.target;(c=r.triggerRef.current)!=null&&c.contains(i)&&o.preventDefault(),o.detail.originalEvent.type==="focusin"&&a.current&&o.preventDefault()},"onInteractOutside")})}),GE=l.forwardRef((e,t)=>{let{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:a,onCloseAutoFocus:o,...i}=e,s=St(hn,r),c=l.useRef(null),d=Le(t,c);return CE(),N.jsxs(N.Fragment,{children:[N.jsx(pE,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:a,onUnmountAutoFocus:o,children:N.jsx(uE,{role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":lu(s.open),...i,ref:d,onDismiss:u(()=>s.onOpenChange(!1),"onDismiss")})}),N.jsxs(N.Fragment,{children:[N.jsx(NI,{titleId:s.titleId}),N.jsx($I,{contentRef:c,descriptionId:s.descriptionId})]})]})}),qf="DialogTitle",Wf=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=St(qf,r);return N.jsx(Me.h2,{id:a.titleId,...n,ref:t})});Wf.displayName=qf;var KE="DialogDescription",Gf=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=St(KE,r);return N.jsx(Me.p,{id:a.descriptionId,...n,ref:t})});Gf.displayName=KE;var YE="DialogClose",Kf=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=St(YE,r);return N.jsx(Me.button,{type:"button",...n,ref:t,onClick:Be(e.onClick,()=>a.onOpenChange(!1))})});Kf.displayName=YE;function lu(e){return e?"open":"closed"}u(lu,"getState");var JE="DialogTitleWarning",[PI,ZE]=rE(JE,{contentName:hn,titleName:qf,docsSlug:"dialog"}),NI=u(({titleId:e})=>{let t=ZE(JE),r=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users. + +If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component. + +For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return l.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},"TitleWarning"),HI="DialogDescriptionWarning",$I=u(({contentRef:e,descriptionId:t})=>{let r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${ZE(HI).contentName}}.`;return l.useEffect(()=>{var a;let n=(a=e.current)==null?void 0:a.getAttribute("aria-describedby");t&&n&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},"DescriptionWarning"),XE=Nf,jI=Hf,QE=jf,e8=Vf,t8=Uf,r8=Wf,n8=Gf,a8=Kf,o8={};Sa(o8,{Actions:()=>ZI,CloseButton:()=>u8,Col:()=>d8,Container:()=>s8,Content:()=>GI,Description:()=>JI,Error:()=>XI,ErrorWrapper:()=>p8,Header:()=>KI,Overlay:()=>l8,Row:()=>c8,Title:()=>YI});pp();const{deprecate:VI}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var Mr=l.forwardRef(({asChild:e=!1,animation:t="none",size:r="small",variant:n="outline",padding:a="medium",disabled:o=!1,active:i=!1,onClick:s,...c},d)=>{let f="button";c.isLink&&(f="a"),e&&(f=Io);let m=n,p=r,[h,g]=l.useState(!1),v=u(b=>{s&&s(b),t!=="none"&&g(!0)},"handleClick");if(l.useEffect(()=>{let b=setTimeout(()=>{h&&g(!1)},1e3);return()=>clearTimeout(b)},[h]),c.primary&&(m="solid",p="medium"),(c.secondary||c.tertiary||c.gray||c.outline||c.inForm)&&(m="outline",p="medium"),c.small||c.isLink||c.primary||c.secondary||c.tertiary||c.gray||c.outline||c.inForm||c.containsIcon){let b=y.Children.toArray(c.children).filter(D=>typeof D=="string"&&D!=="");VI(`Use of deprecated props in the button ${b.length>0?`"${b.join(" ")}"`:"component"} detected, see the migration notes at https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#new-ui-and-props-for-button-and-iconbutton-components`)}return y.createElement(UI,{as:f,ref:d,variant:m,size:p,padding:a,disabled:o,active:i,animating:h,animation:t,onClick:v,...c})});Mr.displayName="Button";var UI=k("button",{shouldForwardProp:u(e=>J1(e),"shouldForwardProp")})(({theme:e,variant:t,size:r,disabled:n,active:a,animating:o,animation:i="none",padding:s})=>({border:0,cursor:n?"not-allowed":"pointer",display:"inline-flex",gap:"6px",alignItems:"center",justifyContent:"center",overflow:"hidden",padding:s==="none"?0:s==="small"&&r==="small"?"0 7px":s==="small"&&r==="medium"?"0 9px":r==="small"?"0 10px":r==="medium"?"0 12px":0,height:r==="small"?"28px":"32px",position:"relative",textAlign:"center",textDecoration:"none",transitionProperty:"background, box-shadow",transitionDuration:"150ms",transitionTimingFunction:"ease-out",verticalAlign:"top",whiteSpace:"nowrap",userSelect:"none",opacity:n?.5:1,margin:0,fontSize:`${e.typography.size.s1}px`,fontWeight:e.typography.weight.bold,lineHeight:"1",background:t==="solid"?e.color.secondary:t==="outline"?e.button.background:t==="ghost"&&a?e.background.hoverable:"transparent",...t==="ghost"?{".sb-bar &":{background:a?mt(.9,e.barTextColor):"transparent",color:a?e.barSelectedColor:e.barTextColor,"&:hover":{color:e.barHoverColor,background:mt(.86,e.barHoverColor)},"&:active":{color:e.barSelectedColor,background:mt(.9,e.barSelectedColor)},"&:focus":{boxShadow:`${Wo(e.barHoverColor,1)} 0 0 0 1px inset`,outline:"none"}}}:{},color:t==="solid"?e.color.lightest:t==="outline"?e.input.color:t==="ghost"&&a?e.color.secondary:t==="ghost"?e.color.mediumdark:e.input.color,boxShadow:t==="outline"?`${e.button.border} 0 0 0 1px inset`:"none",borderRadius:e.input.borderRadius,flexShrink:0,"&:hover":{color:t==="ghost"?e.color.secondary:void 0,background:(()=>{let c=e.color.secondary;return t==="solid"&&(c=e.color.secondary),t==="outline"&&(c=e.button.background),t==="ghost"?mt(.86,e.color.secondary):e.base==="light"?qn(.02,c):Jv(.03,c)})()},"&:active":{color:t==="ghost"?e.color.secondary:void 0,background:(()=>{let c=e.color.secondary;return t==="solid"&&(c=e.color.secondary),t==="outline"&&(c=e.button.background),t==="ghost"?e.background.hoverable:e.base==="light"?qn(.02,c):Jv(.03,c)})()},"&:focus":{boxShadow:`${Wo(e.color.secondary,1)} 0 0 0 1px inset`,outline:"none"},"> svg":{animation:o&&i!=="none"?`${e.animation[i]} 1000ms ease-out`:""}})),Sr=l.forwardRef(({padding:e="small",variant:t="ghost",...r},n)=>y.createElement(Mr,{padding:e,variant:t,ref:n,...r}));Sr.displayName="IconButton";var i8=Ct({from:{opacity:0},to:{opacity:1}}),qI=Ct({from:{maxHeight:0},to:{}}),WI=Ct({from:{opacity:0,transform:"translate(-50%, -50%) scale(0.9)"},to:{opacity:1,transform:"translate(-50%, -50%) scale(1)"}}),l8=k.div({backdropFilter:"blur(24px)",position:"fixed",inset:0,width:"100%",height:"100%",zIndex:10,animation:`${i8} 200ms`}),s8=k.div(({theme:e,width:t,height:r})=>({backgroundColor:e.background.bar,borderRadius:6,boxShadow:"0px 4px 67px 0px #00000040",position:"fixed",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:t??740,height:r??"auto",maxWidth:"calc(100% - 40px)",maxHeight:"85vh",overflow:"hidden",zIndex:11,animation:`${WI} 200ms`,"&:focus-visible":{outline:"none"}})),u8=u(e=>y.createElement(a8,{asChild:!0},y.createElement(Sr,{...e},y.createElement(Q6,null))),"CloseButton"),GI=k.div({display:"flex",flexDirection:"column",margin:16,gap:16}),c8=k.div({display:"flex",justifyContent:"space-between",gap:16}),d8=k.div({display:"flex",flexDirection:"column",gap:4}),KI=u(e=>y.createElement(c8,null,y.createElement(d8,{...e}),y.createElement(u8,null)),"Header"),YI=k(r8)(({theme:e})=>({margin:0,fontSize:e.typography.size.s3,fontWeight:e.typography.weight.bold})),JI=k(n8)(({theme:e})=>({position:"relative",zIndex:1,margin:0,fontSize:e.typography.size.s2})),ZI=k.div({display:"flex",flexDirection:"row-reverse",gap:8}),p8=k.div(({theme:e})=>({maxHeight:100,overflow:"auto",animation:`${qI} 300ms, ${i8} 300ms`,backgroundColor:e.background.critical,color:e.color.lightest,fontSize:e.typography.size.s2,"& > div":{position:"relative",padding:"8px 16px"}})),XI=u(({children:e,...t})=>y.createElement(p8,{...t},y.createElement("div",null,e)),"Error");function f8({children:e,width:t,height:r,onEscapeKeyDown:n,onInteractOutside:a=u(c=>c.preventDefault(),"onInteractOutside"),className:o,container:i,...s}){return y.createElement(XE,{...s},y.createElement(QE,{container:i},y.createElement(e8,{asChild:!0},y.createElement(l8,null)),y.createElement(t8,{asChild:!0,onInteractOutside:a,onEscapeKeyDown:n},y.createElement(s8,{className:o,width:t,height:r},e))))}u(f8,"BaseModal");Object.assign(f8,o8,{Dialog:tE});k.div(({theme:e,col:t,row:r=1})=>t?{display:"inline-block",verticalAlign:"inherit","& > *":{marginLeft:t*e.layoutMargin,verticalAlign:"inherit"},[`& > *:first-child${X0}`]:{marginLeft:0}}:{"& > *":{marginTop:r*e.layoutMargin},[`& > *:first-child${X0}`]:{marginTop:0}},({theme:e,outer:t,col:r,row:n})=>{switch(!0){case!!(t&&r):return{marginLeft:t*e.layoutMargin,marginRight:t*e.layoutMargin};case!!(t&&n):return{marginTop:t*e.layoutMargin,marginBottom:t*e.layoutMargin};default:return{}}});k.div(({theme:e})=>({fontWeight:e.typography.weight.bold}));k.div();k.div(({theme:e})=>({padding:30,textAlign:"center",color:e.color.defaultText,fontSize:e.typography.size.s2-1}));mp();function h8(e,t){var r=l.useRef(null),n=l.useRef(null);n.current=t;var a=l.useRef(null);l.useEffect(function(){o()});var o=l.useCallback(function(){var i=a.current,s=n.current,c=i||(s?s instanceof Element?s:s.current:null);r.current&&r.current.element===c&&r.current.subscriber===e||(r.current&&r.current.cleanup&&r.current.cleanup(),r.current={element:c,subscriber:e,cleanup:c?e(c):void 0})},[e]);return l.useEffect(function(){return function(){r.current&&r.current.cleanup&&(r.current.cleanup(),r.current=null)}},[]),l.useCallback(function(i){a.current=i,o()},[o])}u(h8,"useResolvedElement");function w1(e,t,r){return e[t]?e[t][0]?e[t][0][r]:e[t][r]:t==="contentBoxSize"?e.contentRect[r==="inlineSize"?"width":"height"]:void 0}u(w1,"extractSize");function Yf(e){e===void 0&&(e={});var t=e.onResize,r=l.useRef(void 0);r.current=t;var n=e.round||Math.round,a=l.useRef(),o=l.useState({width:void 0,height:void 0}),i=o[0],s=o[1],c=l.useRef(!1);l.useEffect(function(){return c.current=!1,function(){c.current=!0}},[]);var d=l.useRef({width:void 0,height:void 0}),f=h8(l.useCallback(function(m){return(!a.current||a.current.box!==e.box||a.current.round!==n)&&(a.current={box:e.box,round:n,instance:new ResizeObserver(function(p){var h=p[0],g=e.box==="border-box"?"borderBoxSize":e.box==="device-pixel-content-box"?"devicePixelContentBoxSize":"contentBoxSize",v=w1(h,g,"inlineSize"),b=w1(h,g,"blockSize"),D=v?n(v):void 0,E=b?n(b):void 0;if(d.current.width!==D||d.current.height!==E){var C={width:D,height:E};d.current.width=D,d.current.height=E,r.current?r.current(C):c.current||s(C)}})}),a.current.instance.observe(m,{box:e.box}),function(){a.current&&a.current.instance.unobserve(m)}},[e.box,n]),e.ref);return l.useMemo(function(){return{ref:f,width:i.width,height:i.height}},[f,i.width,i.height])}u(Yf,"useResizeObserver");var QI=k.div(({scale:e=1,elementHeight:t})=>({height:t||"auto",transformOrigin:"top left",transform:`scale(${1/e})`}));function m8({scale:e,children:t}){let r=l.useRef(null),[n,a]=l.useState(0),o=l.useCallback(({height:i})=>{i&&a(i/e)},[e]);return l.useEffect(()=>{r.current&&a(r.current.getBoundingClientRect().height)},[e]),Yf({ref:r,onResize:o}),y.createElement(QI,{scale:e,elementHeight:n},y.createElement("div",{ref:r,className:"innerZoomElementWrapper"},t))}u(m8,"ZoomElement");var eT=class extends l.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{iFrameRef:t}=this.props;this.iframe=t.current}shouldComponentUpdate(t){let{scale:r,active:n}=this.props;return r!==t.scale&&this.setIframeInnerZoom(t.scale),n!==t.active&&this.iframe.setAttribute("data-is-storybook",t.active?"true":"false"),t.children.props.src!==this.props.children.props.src}setIframeInnerZoom(t){try{Object.assign(this.iframe.contentDocument.body.style,{width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"})}catch{this.setIframeZoom(t)}}setIframeZoom(t){Object.assign(this.iframe.style,{width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"})}render(){let{children:t}=this.props;return y.createElement(y.Fragment,null,t)}};u(eT,"ZoomIFrame");var g8={Element:m8};rp();var{document:tT}=Es,rT=k.strong(({theme:e})=>({color:e.color.orange})),nT=k.strong(({theme:e})=>({color:e.color.ancillary,textDecoration:"underline"})),o4=k.em(({theme:e})=>({color:e.textMutedColor})),aT=/(Error): (.*)\n/,oT=/at (?:(.*) )?\(?(.+)\)?/,iT=/([^@]+)?(?:\/<)?@(.+)?/,lT=/([^@]+)?@(.+)?/,v8=u(({error:e})=>{if(!e)return y.createElement(l.Fragment,null,"This error has no stack or message");if(!e.stack)return y.createElement(l.Fragment,null,e.message||"This error has no stack or message");let t=e.stack.toString();t&&e.message&&!t.includes(e.message)&&(t=`Error: ${e.message} + +${t}`);let r=t.match(aT);if(!r)return y.createElement(l.Fragment,null,t);let[,n,a]=r,o=t.split(/\n/).slice(1),[,...i]=o.map(s=>{let c=s.match(oT)||s.match(iT)||s.match(lT);return c?{name:(c[1]||"").replace("/<",""),location:c[2].replace(tT.location.origin,"")}:null}).filter(Boolean);return y.createElement(l.Fragment,null,y.createElement("span",null,n),": ",y.createElement(rT,null,a),y.createElement("br",null),i.map((s,c)=>s!=null&&s.name?y.createElement(l.Fragment,{key:c}," ","at ",y.createElement(nT,null,s.name)," (",y.createElement(o4,null,s.location),")",y.createElement("br",null)):y.createElement(l.Fragment,{key:c}," ","at ",y.createElement(o4,null,s==null?void 0:s.location),y.createElement("br",null))))},"ErrorFormatter"),sT=k.label(({theme:e})=>({display:"flex",borderBottom:`1px solid ${e.appBorderColor}`,margin:"0 15px",padding:"8px 0","&:last-child":{marginBottom:"3rem"}})),uT=k.span(({theme:e})=>({minWidth:100,fontWeight:e.typography.weight.bold,marginRight:15,display:"flex",justifyContent:"flex-start",alignItems:"center",lineHeight:"16px"})),cT=u(({label:e,children:t,...r})=>y.createElement(sT,{...r},e?y.createElement(uT,null,y.createElement("span",null,e)):null,t),"Field");Ds();np();var dT=l.useLayoutEffect,pT=dT,fT=u(function(e){var t=l.useRef(e);return pT(function(){t.current=e}),t},"useLatest"),i4=u(function(e,t){if(typeof e=="function"){e(t);return}e.current=t},"updateRef"),hT=u(function(e,t){var r=l.useRef();return l.useCallback(function(n){e.current=n,r.current&&i4(r.current,null),r.current=t,t&&i4(t,n)},[t])},"useComposedRef"),mT=hT,l4={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},gT=u(function(e){Object.keys(l4).forEach(function(t){e.style.setProperty(t,l4[t],"important")})},"forceHiddenStyles"),s4=gT,Ie=null,u4=u(function(e,t){var r=e.scrollHeight;return t.sizingStyle.boxSizing==="border-box"?r+t.borderSize:r-t.paddingSize},"getHeight");function y8(e,t,r,n){r===void 0&&(r=1),n===void 0&&(n=1/0),Ie||(Ie=document.createElement("textarea"),Ie.setAttribute("tabindex","-1"),Ie.setAttribute("aria-hidden","true"),s4(Ie)),Ie.parentNode===null&&document.body.appendChild(Ie);var a=e.paddingSize,o=e.borderSize,i=e.sizingStyle,s=i.boxSizing;Object.keys(i).forEach(function(p){var h=p;Ie.style[h]=i[h]}),s4(Ie),Ie.value=t;var c=u4(Ie,e);Ie.value=t,c=u4(Ie,e),Ie.value="x";var d=Ie.scrollHeight-a,f=d*r;s==="border-box"&&(f=f+a+o),c=Math.max(f,c);var m=d*n;return s==="border-box"&&(m=m+a+o),c=Math.min(m,c),[c,d]}u(y8,"calculateNodeHeight");var c4=u(function(){},"noop"),vT=u(function(e,t){return e.reduce(function(r,n){return r[n]=t[n],r},{})},"pick"),yT=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak"],bT=!!document.documentElement.currentStyle,wT=u(function(e){var t=window.getComputedStyle(e);if(t===null)return null;var r=vT(yT,t),n=r.boxSizing;if(n==="")return null;bT&&n==="border-box"&&(r.width=parseFloat(r.width)+parseFloat(r.borderRightWidth)+parseFloat(r.borderLeftWidth)+parseFloat(r.paddingRight)+parseFloat(r.paddingLeft)+"px");var a=parseFloat(r.paddingBottom)+parseFloat(r.paddingTop),o=parseFloat(r.borderBottomWidth)+parseFloat(r.borderTopWidth);return{sizingStyle:r,paddingSize:a,borderSize:o}},"getSizingData"),DT=wT;function Jf(e,t,r){var n=fT(r);l.useLayoutEffect(function(){var a=u(function(o){return n.current(o)},"handler");if(e)return e.addEventListener(t,a),function(){return e.removeEventListener(t,a)}},[])}u(Jf,"useListener");var ET=u(function(e){Jf(window,"resize",e)},"useWindowResizeListener"),CT=u(function(e){Jf(document.fonts,"loadingdone",e)},"useFontsLoadedListener"),xT=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],ST=u(function(e,t){var r=e.cacheMeasurements,n=e.maxRows,a=e.minRows,o=e.onChange,i=o===void 0?c4:o,s=e.onHeightChange,c=s===void 0?c4:s,d=xs(e,xT),f=d.value!==void 0,m=l.useRef(null),p=mT(m,t),h=l.useRef(0),g=l.useRef(),v=u(function(){var D=m.current,E=r&&g.current?g.current:DT(D);if(E){g.current=E;var C=y8(E,D.value||D.placeholder||"x",a,n),w=C[0],x=C[1];h.current!==w&&(h.current=w,D.style.setProperty("height",w+"px","important"),c(w,{rowHeight:x}))}},"resizeTextarea"),b=u(function(D){f||v(),i(D)},"handleChange");return l.useLayoutEffect(v),ET(v),CT(v),l.createElement("textarea",ze({},d,{onChange:b,ref:p}))},"TextareaAutosize"),FT=l.forwardRef(ST),AT={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},Zf=u(({theme:e})=>({...AT,transition:"box-shadow 200ms ease-out, opacity 200ms ease-out",color:e.input.color||"inherit",background:e.input.background,boxShadow:`${e.input.border} 0 0 0 1px inset`,borderRadius:e.input.borderRadius,fontSize:e.typography.size.s2-1,lineHeight:"20px",padding:"6px 10px",boxSizing:"border-box",height:32,'&[type="file"]':{height:"auto"},"&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"&:-webkit-autofill":{WebkitBoxShadow:`0 0 0 3em ${e.color.lightest} inset`},"&::placeholder":{color:e.textMutedColor,opacity:1}}),"styles"),Xf=u(({size:e})=>{switch(e){case"100%":return{width:"100%"};case"flex":return{flex:1};case"auto":default:return{display:"inline"}}},"sizes"),b8=u(({align:e})=>{switch(e){case"end":return{textAlign:"right"};case"center":return{textAlign:"center"};case"start":default:return{textAlign:"left"}}},"alignment"),Qf=u(({valid:e,theme:t})=>{switch(e){case"valid":return{boxShadow:`${t.color.positive} 0 0 0 1px inset !important`};case"error":return{boxShadow:`${t.color.negative} 0 0 0 1px inset !important`};case"warn":return{boxShadow:`${t.color.warning} 0 0 0 1px inset`};case void 0:case null:default:return{}}},"validation"),kT=Object.assign(k(l.forwardRef(u(function({size:e,valid:t,align:r,...n},a){return y.createElement("input",{...n,ref:a})},"Input")))(Zf,Xf,b8,Qf,{minHeight:32}),{displayName:"Input"}),_T=Object.assign(k(l.forwardRef(u(function({size:e,valid:t,align:r,...n},a){return y.createElement("select",{...n,ref:a})},"Select")))(Zf,Xf,Qf,{height:32,userSelect:"none",paddingRight:20,appearance:"menulist"}),{displayName:"Select"}),BT=Object.assign(k(l.forwardRef(u(function({size:e,valid:t,align:r,...n},a){return y.createElement(FT,{...n,ref:a})},"Textarea")))(Zf,Xf,b8,Qf,({height:e=400})=>({overflow:"visible",maxHeight:e})),{displayName:"Textarea"}),Ia=Object.assign(k.form({boxSizing:"border-box",width:"100%"}),{Field:cT,Input:kT,Select:_T,Textarea:BT,Button:Mr}),RT=l.lazy(()=>Promise.resolve().then(()=>(Ff(),Sf)).then(e=>({default:e.WithTooltip}))),IT=u(e=>y.createElement(l.Suspense,{fallback:y.createElement("div",null)},y.createElement(RT,{...e})),"WithTooltip"),TT=l.lazy(()=>Promise.resolve().then(()=>(Ff(),Sf)).then(e=>({default:e.WithTooltipPure}))),w8=u(e=>y.createElement(l.Suspense,{fallback:y.createElement("div",null)},y.createElement(TT,{...e})),"WithTooltipPure");k.div(({theme:e})=>({fontWeight:e.typography.weight.bold}));k.span();k.div(({theme:e})=>({marginTop:8,textAlign:"center","> *":{margin:"0 8px",fontWeight:e.typography.weight.bold}}));k.div(({theme:e})=>({color:e.color.defaultText,lineHeight:"18px"}));k.div({padding:15,width:280,boxSizing:"border-box"});var zT=k.div(({theme:e})=>({padding:"2px 6px",lineHeight:"16px",fontSize:10,fontWeight:e.typography.weight.bold,color:e.color.lightest,boxShadow:"0 0 5px 0 rgba(0, 0, 0, 0.3)",borderRadius:4,whiteSpace:"nowrap",pointerEvents:"none",zIndex:-1,background:e.base==="light"?"rgba(60, 60, 60, 0.9)":"rgba(0, 0, 0, 0.95)",margin:6})),LT=u(({note:e,...t})=>y.createElement(zT,{...t},e),"TooltipNote"),MT=Ce(Cs(),1),OT=k(({active:e,loading:t,disabled:r,...n})=>y.createElement("span",{...n}))(({theme:e})=>({color:e.color.defaultText,fontWeight:e.typography.weight.regular}),({active:e,theme:t})=>e?{color:t.color.secondary,fontWeight:t.typography.weight.bold}:{},({loading:e,theme:t})=>e?{display:"inline-block",flex:"none",...t.animation.inlineGlow}:{},({disabled:e,theme:t})=>e?{color:t.textMutedColor}:{}),PT=k.span({display:"flex","& svg":{height:12,width:12,margin:"3px 0",verticalAlign:"top"},"& path":{fill:"inherit"}}),NT=k.span({flex:1,textAlign:"left",display:"flex",flexDirection:"column"},({isIndented:e})=>e?{marginLeft:24}:{}),HT=k.span(({theme:e})=>({fontSize:"11px",lineHeight:"14px"}),({active:e,theme:t})=>e?{color:t.color.secondary}:{},({theme:e,disabled:t})=>t?{color:e.textMutedColor}:{}),$T=k.span(({active:e,theme:t})=>e?{color:t.color.secondary}:{},()=>({display:"flex",maxWidth:14})),jT=k.div(({theme:e})=>({width:"100%",border:"none",borderRadius:e.appBorderRadius,background:"none",fontSize:e.typography.size.s1,transition:"all 150ms ease-out",color:e.color.dark,textDecoration:"none",justifyContent:"space-between",lineHeight:"18px",padding:"7px 10px",display:"flex",alignItems:"center","& > * + *":{paddingLeft:10}}),({theme:e,href:t,onClick:r})=>(t||r)&&{cursor:"pointer","&:hover":{background:e.background.hoverable},"&:hover svg":{opacity:1}},({theme:e,as:t})=>t==="label"&&{"&:has(input:not(:disabled))":{cursor:"pointer","&:hover":{background:e.background.hoverable}}},({disabled:e})=>e&&{cursor:"not-allowed"}),VT=(0,MT.default)(100)((e,t,r)=>({...e&&{as:"button",onClick:e},...t&&{as:"a",href:t,...r&&{as:r,to:t}}})),UT=u(({loading:e=!1,title:t=y.createElement("span",null,"Loading state"),center:r=null,right:n=null,active:a=!1,disabled:o=!1,isIndented:i,href:s=void 0,onClick:c=void 0,icon:d,LinkWrapper:f=void 0,...m})=>{let p={active:a,disabled:o},h=VT(c,s,f);return y.createElement(jT,{...m,...p,...h},y.createElement(y.Fragment,null,d&&y.createElement($T,{...p},d),t||r?y.createElement(NT,{isIndented:!!(!d&&i)},t&&y.createElement(OT,{...p,loading:e},t),r&&y.createElement(HT,{...p},r)):null,n&&y.createElement(PT,{...p},n)))},"ListItem"),D8=UT,qT=k.div({minWidth:180,overflow:"hidden",overflowY:"auto",maxHeight:15.5*32+8},({theme:e})=>({borderRadius:e.appBorderRadius+2}),({theme:e})=>e.base==="dark"?{background:e.background.content}:{}),WT=k.div(({theme:e})=>({padding:4,"& + &":{borderTop:`1px solid ${e.appBorderColor}`}})),GT=u(({id:e,onClick:t,...r})=>{let{active:n,disabled:a,title:o,href:i}=r,s=l.useCallback(c=>t==null?void 0:t(c,{id:e,active:n,disabled:a,title:o,href:i}),[t,e,n,a,o,i]);return y.createElement(D8,{id:`list-item-${e}`,...r,...t&&{onClick:s}})},"Item"),E8=u(({links:e,LinkWrapper:t,...r})=>{let n=Array.isArray(e[0])?e:[e],a=n.some(o=>o.some(i=>"icon"in i&&i.icon));return y.createElement(qT,{...r},n.filter(o=>o.length).map((o,i)=>y.createElement(WT,{key:o.map(s=>s.id).join(`~${i}~`)},o.map(s=>"content"in s?y.createElement(l.Fragment,{key:s.id},s.content):y.createElement(GT,{key:s.id,isIndented:a,LinkWrapper:t,...s})))))},"TooltipLinkList");mp();var D1=k.div({display:"flex",whiteSpace:"nowrap",flexBasis:"auto",marginLeft:3,marginRight:3},({scrollable:e})=>e?{flexShrink:0}:{},({left:e})=>e?{"& > *":{marginLeft:4}}:{},({right:e})=>e?{marginLeft:30,"& > *":{marginRight:4}}:{});D1.displayName="Side";var KT=u(({children:e,className:t,scrollable:r})=>r?y.createElement(To,{vertical:!1,className:t},e):y.createElement("div",{className:t},e),"UnstyledBar"),eh=k(KT)(({theme:e,scrollable:t=!0})=>({color:e.barTextColor,width:"100%",height:40,flexShrink:0,overflow:t?"auto":"hidden",overflowY:"hidden"}),({theme:e,border:t=!1})=>t?{boxShadow:`${e.appBorderColor} 0 -1px 0 0 inset`,background:e.barBg}:{});eh.displayName="Bar";var YT=k.div(({bgColor:e})=>({display:"flex",justifyContent:"space-between",position:"relative",flexWrap:"nowrap",flexShrink:0,height:40,backgroundColor:e||""})),su=u(({children:e,backgroundColor:t,className:r,...n})=>{let[a,o]=l.Children.toArray(e);return y.createElement(eh,{className:`sb-bar ${r}`,...n},y.createElement(YT,{bgColor:t},y.createElement(D1,{scrollable:n.scrollable,left:!0},a),o?y.createElement(D1,{right:!0},o):null))},"FlexBar");su.displayName="FlexBar";var JT=u(e=>typeof e.props.href=="string","isLink"),ZT=u(e=>typeof e.props.href!="string","isButton");function C8({children:e,...t},r){let n={props:t,ref:r};if(JT(n))return y.createElement("a",{ref:n.ref,...n.props},e);if(ZT(n))return y.createElement("button",{ref:n.ref,type:"button",...n.props},e);throw new Error("invalid props")}u(C8,"ForwardRefFunction");var x8=l.forwardRef(C8);x8.displayName="ButtonOrLink";var wi=k(x8,{shouldForwardProp:J1})({whiteSpace:"normal",display:"inline-flex",overflow:"hidden",verticalAlign:"top",justifyContent:"center",alignItems:"center",textAlign:"center",textDecoration:"none","&:empty":{display:"none"},"&[hidden]":{display:"none"}},({theme:e})=>({padding:"0 15px",transition:"color 0.2s linear, border-bottom-color 0.2s linear",height:40,lineHeight:"12px",cursor:"pointer",background:"transparent",border:"0 solid transparent",borderTop:"3px solid transparent",borderBottom:"3px solid transparent",fontWeight:"bold",fontSize:13,"&:focus":{outline:"0 none",borderBottomColor:e.barSelectedColor}}),({active:e,textColor:t,theme:r})=>e?{color:t||r.barSelectedColor,borderBottomColor:r.barSelectedColor}:{color:t||r.barTextColor,borderBottomColor:"transparent","&:hover":{color:r.barHoverColor}});wi.displayName="TabButton";k.div(({theme:e})=>({width:14,height:14,backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`}));k.div({marginTop:6,padding:7,height:28});var XT=k.div(({theme:e})=>({height:"100%",display:"flex",padding:30,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:e.background.content})),QT=k.div({display:"flex",flexDirection:"column",gap:4,maxWidth:415}),ez=k.div(({theme:e})=>({fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textColor})),tz=k.div(({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textMutedColor})),th=u(({title:e,description:t,footer:r})=>y.createElement(XT,null,y.createElement(QT,null,y.createElement(ez,null,e),t&&y.createElement(tz,null,t)),r),"EmptyTabContent"),rz=k.div(({active:e})=>e?{display:"block"}:{display:"none"}),nz=u(e=>l.Children.toArray(e).map(({props:{title:t,id:r,color:n,children:a}})=>{let o=Array.isArray(a)?a[0]:a;return{title:t,id:r,...n?{color:n}:{},render:typeof o=="function"?o:({active:i})=>y.createElement(rz,{active:i,role:"tabpanel"},o)}}),"childrenToList");Ff();var az=k.span(({theme:e,isActive:t})=>({display:"inline-block",width:0,height:0,marginLeft:8,color:t?e.color.secondary:e.color.mediumdark,borderRight:"3px solid transparent",borderLeft:"3px solid transparent",borderTop:"3px solid",transition:"transform .1s ease-out"})),oz=k(wi)(({active:e,theme:t,preActive:r})=>` + color: ${r||e?t.barSelectedColor:t.barTextColor}; + .addon-collapsible-icon { + color: ${r||e?t.barSelectedColor:t.barTextColor}; + } + &:hover { + color: ${t.barHoverColor}; + .addon-collapsible-icon { + color: ${t.barHoverColor}; + } + } + `);function S8(e){let t=l.useRef(),r=l.useRef(),n=l.useRef(new Map),{width:a=1}=Yf({ref:t}),[o,i]=l.useState(e),[s,c]=l.useState([]),d=l.useRef(e),f=l.useCallback(({menuName:p,actions:h})=>{let g=s.some(({active:D})=>D),[v,b]=l.useState(!1);return y.createElement(y.Fragment,null,y.createElement(ls,{interactive:!0,visible:v,onVisibleChange:b,placement:"bottom",delayHide:100,tooltip:y.createElement(E8,{links:s.map(({title:D,id:E,color:C,active:w})=>({id:E,title:D,color:C,active:w,onClick:u(x=>{x.preventDefault(),h.onSelect(E)},"onClick")}))})},y.createElement(oz,{ref:r,active:g,preActive:v,style:{visibility:s.length?"visible":"hidden"},"aria-hidden":!s.length,className:"tabbutton",type:"button",role:"tab"},p,y.createElement(az,{className:"addon-collapsible-icon",isActive:g||v}))),s.map(({title:D,id:E,color:C},w)=>{let x=`index-${w}`;return y.createElement(wi,{id:`tabbutton-${j4(E)??x}`,style:{visibility:"hidden"},"aria-hidden":!0,tabIndex:-1,ref:S=>{n.current.set(E,S)},className:"tabbutton",type:"button",key:E,textColor:C,role:"tab"},D)}))},[s]),m=l.useCallback(()=>{if(!t.current||!r.current)return;let{x:p,width:h}=t.current.getBoundingClientRect(),{width:g}=r.current.getBoundingClientRect(),v=s.length?p+h-g:p+h,b=[],D=0,E=e.filter(C=>{let{id:w}=C,x=n.current.get(w),{width:S=0}=(x==null?void 0:x.getBoundingClientRect())||{},F=p+D+S>v;return(!F||!x)&&b.push(C),D+=S,F});(b.length!==o.length||d.current!==e)&&(i(b),c(E),d.current=e)},[s.length,e,o]);return l.useLayoutEffect(m,[m,a]),{tabRefs:n,addonsRef:r,tabBarRef:t,visibleList:o,invisibleList:s,AddonTab:f}}u(S8,"useList");var iz="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */",lz=k.div(({theme:e,bordered:t})=>t?{backgroundClip:"padding-box",border:`1px solid ${e.appBorderColor}`,borderRadius:e.appBorderRadius,overflow:"hidden",boxSizing:"border-box"}:{},({absolute:e})=>e?{width:"100%",height:"100%",boxSizing:"border-box",display:"flex",flexDirection:"column"}:{display:"block"}),rh=k.div({overflow:"hidden","&:first-of-type":{marginLeft:-3},whiteSpace:"nowrap",flexGrow:1});rh.displayName="TabBar";var sz=k.div({display:"block",position:"relative"},({theme:e})=>({fontSize:e.typography.size.s2-1,background:e.background.content}),({bordered:e,theme:t})=>e?{borderRadius:`0 0 ${t.appBorderRadius-1}px ${t.appBorderRadius-1}px`}:{},({absolute:e,bordered:t})=>e?{height:`calc(100% - ${t?42:40}px)`,position:"absolute",left:0+(t?1:0),right:0+(t?1:0),bottom:0+(t?1:0),top:40+(t?1:0),overflow:"auto",[`& > *:first-child${iz}`]:{position:"absolute",left:0+(t?1:0),right:0+(t?1:0),bottom:0+(t?1:0),top:0+(t?1:0),height:`calc(100% - ${t?2:0}px)`,overflow:"auto"}}:{}),nh=l.memo(({children:e,selected:t=null,actions:r,absolute:n=!1,bordered:a=!1,tools:o=null,backgroundColor:i,id:s=null,menuName:c="Tabs",emptyState:d,showToolsWhenEmpty:f})=>{let m=l.useMemo(()=>nz(e).map((D,E)=>({...D,active:t?D.id===t:E===0})),[e,t]),{visibleList:p,tabBarRef:h,tabRefs:g,AddonTab:v}=S8(m),b=d??y.createElement(th,{title:"Nothing found"});return!f&&m.length===0?b:y.createElement(lz,{absolute:n,bordered:a,id:s},y.createElement(su,{scrollable:!1,border:!0,backgroundColor:i},y.createElement(rh,{style:{whiteSpace:"normal"},ref:h,role:"tablist"},p.map(({title:D,id:E,active:C,color:w},x)=>{let S=`index-${x}`;return y.createElement(wi,{id:`tabbutton-${j4(E)??S}`,ref:F=>{g.current.set(E,F)},className:`tabbutton ${C?"tabbutton-active":""}`,type:"button",key:E,active:C,textColor:w,onClick:F=>{F.preventDefault(),r.onSelect(E)},role:"tab"},typeof D=="function"?y.createElement("title",null):D)}),y.createElement(v,{menuName:c,actions:r})),o),y.createElement(sz,{id:"panel-tab-content",bordered:a,absolute:n},m.length?m.map(({id:D,active:E,render:C})=>y.createElement(C,{key:D,active:E},null)):b))});nh.displayName="Tabs";var E1=class extends l.Component{constructor(t){super(t),this.handlers={onSelect:u(r=>this.setState({selected:r}),"onSelect")},this.state={selected:t.initial}}render(){let{bordered:t=!1,absolute:r=!1,children:n,backgroundColor:a,menuName:o}=this.props,{selected:i}=this.state;return y.createElement(nh,{bordered:t,absolute:r,selected:i,backgroundColor:a,menuName:o,actions:this.handlers},n)}};u(E1,"TabsState"),E1.defaultProps={children:[],initial:null,absolute:!1,bordered:!1,backgroundColor:"",menuName:void 0};var F8=E1,A8=k.span(({theme:e})=>({width:1,height:20,background:e.appBorderColor,marginLeft:2,marginRight:2}),({force:e})=>e?{}:{"& + &":{display:"none"}});A8.displayName="Separator";const{deprecate:gj,logger:vj}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var uz=k.svg` + display: inline-block; + shape-rendering: inherit; + vertical-align: middle; + fill: currentColor; + path { + fill: currentColor; + } +`;l.memo(u(function({icons:e=Object.keys(C1)}){return y.createElement(uz,{viewBox:"0 0 14 14",style:{position:"absolute",width:0,height:0},"data-chromatic":"ignore"},e.map(t=>y.createElement("symbol",{id:`icon--${t}`,key:t},C1[t])))},"Symbols"));var C1={user:"UserIcon",useralt:"UserAltIcon",useradd:"UserAddIcon",users:"UsersIcon",profile:"ProfileIcon",facehappy:"FaceHappyIcon",faceneutral:"FaceNeutralIcon",facesad:"FaceSadIcon",accessibility:"AccessibilityIcon",accessibilityalt:"AccessibilityAltIcon",arrowup:"ChevronUpIcon",arrowdown:"ChevronDownIcon",arrowleft:"ChevronLeftIcon",arrowright:"ChevronRightIcon",arrowupalt:"ArrowUpIcon",arrowdownalt:"ArrowDownIcon",arrowleftalt:"ArrowLeftIcon",arrowrightalt:"ArrowRightIcon",expandalt:"ExpandAltIcon",collapse:"CollapseIcon",expand:"ExpandIcon",unfold:"UnfoldIcon",transfer:"TransferIcon",redirect:"RedirectIcon",undo:"UndoIcon",reply:"ReplyIcon",sync:"SyncIcon",upload:"UploadIcon",download:"DownloadIcon",back:"BackIcon",proceed:"ProceedIcon",refresh:"RefreshIcon",globe:"GlobeIcon",compass:"CompassIcon",location:"LocationIcon",pin:"PinIcon",time:"TimeIcon",dashboard:"DashboardIcon",timer:"TimerIcon",home:"HomeIcon",admin:"AdminIcon",info:"InfoIcon",question:"QuestionIcon",support:"SupportIcon",alert:"AlertIcon",email:"EmailIcon",phone:"PhoneIcon",link:"LinkIcon",unlink:"LinkBrokenIcon",bell:"BellIcon",rss:"RSSIcon",sharealt:"ShareAltIcon",share:"ShareIcon",circle:"CircleIcon",circlehollow:"CircleHollowIcon",bookmarkhollow:"BookmarkHollowIcon",bookmark:"BookmarkIcon",hearthollow:"HeartHollowIcon",heart:"HeartIcon",starhollow:"StarHollowIcon",star:"StarIcon",certificate:"CertificateIcon",verified:"VerifiedIcon",thumbsup:"ThumbsUpIcon",shield:"ShieldIcon",basket:"BasketIcon",beaker:"BeakerIcon",hourglass:"HourglassIcon",flag:"FlagIcon",cloudhollow:"CloudHollowIcon",edit:"EditIcon",cog:"CogIcon",nut:"NutIcon",wrench:"WrenchIcon",ellipsis:"EllipsisIcon",check:"CheckIcon",form:"FormIcon",batchdeny:"BatchDenyIcon",batchaccept:"BatchAcceptIcon",controls:"ControlsIcon",plus:"PlusIcon",closeAlt:"CloseAltIcon",cross:"CrossIcon",trash:"TrashIcon",pinalt:"PinAltIcon",unpin:"UnpinIcon",add:"AddIcon",subtract:"SubtractIcon",close:"CloseIcon",delete:"DeleteIcon",passed:"PassedIcon",changed:"ChangedIcon",failed:"FailedIcon",clear:"ClearIcon",comment:"CommentIcon",commentadd:"CommentAddIcon",requestchange:"RequestChangeIcon",comments:"CommentsIcon",lock:"LockIcon",unlock:"UnlockIcon",key:"KeyIcon",outbox:"OutboxIcon",credit:"CreditIcon",button:"ButtonIcon",type:"TypeIcon",pointerdefault:"PointerDefaultIcon",pointerhand:"PointerHandIcon",browser:"BrowserIcon",tablet:"TabletIcon",mobile:"MobileIcon",watch:"WatchIcon",sidebar:"SidebarIcon",sidebaralt:"SidebarAltIcon",sidebaralttoggle:"SidebarAltToggleIcon",sidebartoggle:"SidebarToggleIcon",bottombar:"BottomBarIcon",bottombartoggle:"BottomBarToggleIcon",cpu:"CPUIcon",database:"DatabaseIcon",memory:"MemoryIcon",structure:"StructureIcon",box:"BoxIcon",power:"PowerIcon",photo:"PhotoIcon",component:"ComponentIcon",grid:"GridIcon",outline:"OutlineIcon",photodrag:"PhotoDragIcon",search:"SearchIcon",zoom:"ZoomIcon",zoomout:"ZoomOutIcon",zoomreset:"ZoomResetIcon",eye:"EyeIcon",eyeclose:"EyeCloseIcon",lightning:"LightningIcon",lightningoff:"LightningOffIcon",contrast:"ContrastIcon",switchalt:"SwitchAltIcon",mirror:"MirrorIcon",grow:"GrowIcon",paintbrush:"PaintBrushIcon",ruler:"RulerIcon",stop:"StopIcon",camera:"CameraIcon",video:"VideoIcon",speaker:"SpeakerIcon",play:"PlayIcon",playback:"PlayBackIcon",playnext:"PlayNextIcon",rewind:"RewindIcon",fastforward:"FastForwardIcon",stopalt:"StopAltIcon",sidebyside:"SideBySideIcon",stacked:"StackedIcon",sun:"SunIcon",moon:"MoonIcon",book:"BookIcon",document:"DocumentIcon",copy:"CopyIcon",category:"CategoryIcon",folder:"FolderIcon",print:"PrintIcon",graphline:"GraphLineIcon",calendar:"CalendarIcon",graphbar:"GraphBarIcon",menu:"MenuIcon",menualt:"MenuIcon",filter:"FilterIcon",docchart:"DocChartIcon",doclist:"DocListIcon",markup:"MarkupIcon",bold:"BoldIcon",paperclip:"PaperClipIcon",listordered:"ListOrderedIcon",listunordered:"ListUnorderedIcon",paragraph:"ParagraphIcon",markdown:"MarkdownIcon",repository:"RepoIcon",commit:"CommitIcon",branch:"BranchIcon",pullrequest:"PullRequestIcon",merge:"MergeIcon",apple:"AppleIcon",linux:"LinuxIcon",ubuntu:"UbuntuIcon",windows:"WindowsIcon",storybook:"StorybookIcon",azuredevops:"AzureDevOpsIcon",bitbucket:"BitbucketIcon",chrome:"ChromeIcon",chromatic:"ChromaticIcon",componentdriven:"ComponentDrivenIcon",discord:"DiscordIcon",facebook:"FacebookIcon",figma:"FigmaIcon",gdrive:"GDriveIcon",github:"GithubIcon",gitlab:"GitlabIcon",google:"GoogleIcon",graphql:"GraphqlIcon",medium:"MediumIcon",redux:"ReduxIcon",twitter:"TwitterIcon",youtube:"YoutubeIcon",vscode:"VSCodeIcon"},cz=Ct` + from { + transform: rotate(0deg); + } + to { + transform: rotate(360deg); + } +`,dz=k.div(({size:e=32})=>({borderRadius:"50%",cursor:"progress",display:"inline-block",overflow:"hidden",position:"absolute",transition:"all 200ms ease-out",verticalAlign:"top",top:"50%",left:"50%",marginTop:-(e/2),marginLeft:-(e/2),height:e,width:e,zIndex:4,borderWidth:2,borderStyle:"solid",borderColor:"rgba(97, 97, 97, 0.29)",borderTopColor:"rgb(100,100,100)",animation:`${cz} 0.7s linear infinite`,mixBlendMode:"difference"})),d4=k.div({position:"absolute",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"}),pz=k.div(({theme:e})=>({position:"relative",width:"80%",marginBottom:"0.75rem",maxWidth:300,height:5,borderRadius:5,background:mt(.8,e.color.secondary),overflow:"hidden",cursor:"progress"})),fz=k.div(({theme:e})=>({position:"absolute",top:0,left:0,height:"100%",background:e.color.secondary})),p4=k.div(({theme:e})=>({minHeight:"2em",fontSize:`${e.typography.size.s1}px`,color:e.textMutedColor})),hz=k(X6)(({theme:e})=>({width:20,height:20,marginBottom:"0.5rem",color:e.textMutedColor})),mz=Ct` + from { content: "..." } + 33% { content: "." } + 66% { content: ".." } + to { content: "..." } +`,gz=k.span({"&::after":{content:"'...'",animation:`${mz} 1s linear infinite`,animationDelay:"1s",display:"inline-block",width:"1em",height:"auto"}}),k8=u(({progress:e,error:t,size:r,...n})=>{if(t)return y.createElement(d4,{"aria-label":t.toString(),"aria-live":"polite",role:"status",...n},y.createElement(hz,null),y.createElement(p4,null,t.message));if(e){let{value:a,modules:o}=e,{message:i}=e;return o&&(i+=` ${o.complete} / ${o.total} modules`),y.createElement(d4,{"aria-label":"Content is loading...","aria-live":"polite","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":a*100,"aria-valuetext":i,role:"progressbar",...n},y.createElement(pz,null,y.createElement(fz,{style:{width:`${a*100}%`}})),y.createElement(p4,null,i,a<1&&y.createElement(gz,{key:i})))}return y.createElement(dz,{"aria-label":"Content is loading...","aria-live":"polite",role:"status",size:r,...n})},"Loader"),vz=Ct({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}});k.div(({size:e})=>({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",minWidth:e,minHeight:e}));k.svg(({size:e,width:t})=>({position:"absolute",width:`${e}px!important`,height:`${e}px!important`,transform:"rotate(-90deg)",circle:{r:(e-Math.ceil(t))/2,cx:e/2,cy:e/2,opacity:.15,fill:"transparent",stroke:"currentColor",strokeWidth:t,strokeLinecap:"round",strokeDasharray:Math.PI*(e-Math.ceil(t))}}),({progress:e})=>e&&{circle:{opacity:.75}},({spinner:e})=>e&&{animation:`${vz} 1s linear infinite`,circle:{opacity:.25}});function _8(e){let t={},r=e.split("&");for(let n=0;n{let[n,a]=e.split("?"),o=a?{..._8(a),...r,id:t}:{...r,id:t};return`${n}?${Object.entries(o).map(i=>`${i[0]}=${i[1]}`).join("&")}`},"getStoryHref");k.pre` + line-height: 18px; + padding: 11px 1rem; + white-space: pre-wrap; + background: rgba(0, 0, 0, 0.05); + color: ${U.darkest}; + border-radius: 3px; + margin: 1rem 0; + width: 100%; + display: block; + overflow: hidden; + font-family: ${Ht.fonts.mono}; + font-size: ${Ht.size.s2-1}px; +`;var R8=Z6;Object.keys(Z6).forEach(e=>{l.forwardRef((t,r)=>l.createElement(e,{...t,ref:r}))});const yz=Object.freeze(Object.defineProperty({__proto__:null,A:T6,get ActionBar(){return Fs},Bar:eh,Blockquote:z6,Button:Mr,Code:If,DL:L6,Div:M6,EmptyTabContent:th,ErrorFormatter:v8,FlexBar:su,Form:Ia,H1:O6,H2:Tf,H3:zf,H4:P6,H5:N6,H6,HR:$6,IconButton:Sr,Img:j6,LI:V6,Link:ra,ListItem:D8,Loader:k8,OL:U6,P:q6,Pre:W6,ResetWrapper:Rf,get ScrollArea(){return To},Separator:A8,Span:G6,SyntaxHighlighter:au,TT:K6,TabBar:rh,TabButton:wi,Table:Y6,Tabs:nh,TabsState:F8,TooltipLinkList:E8,TooltipNote:LT,UL:J6,WithTooltip:IT,WithTooltipPure:w8,Zoom:g8,codeCommon:fr,components:R8,createCopyToClipboardFunction:Tl,getStoryHref:B8,icons:C1,nameSpaceClassNames:ie,withReset:se},Symbol.toStringTag,{value:"Module"}));var bz=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M6 3.5a.5.5 0 01.5.5v1.5H8a.5.5 0 010 1H6.5V8a.5.5 0 01-1 0V6.5H4a.5.5 0 010-1h1.5V4a.5.5 0 01.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z",fill:e}))),wz=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4 5.5a.5.5 0 000 1h4a.5.5 0 000-1H4z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 11.5c1.35 0 2.587-.487 3.544-1.294a.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 106 11.5zm0-1a4.5 4.5 0 100-9 4.5 4.5 0 000 9z",fill:e}))),Dz=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5 2.837V1.5a.5.5 0 00-1 0V4a.5.5 0 00.5.5h2.5a.5.5 0 000-1H2.258a4.5 4.5 0 11-.496 4.016.5.5 0 10-.942.337 5.502 5.502 0 008.724 2.353.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 101.5 2.837z",fill:e}))),Ez=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 9.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7l-.21.293C13.669 7.465 10.739 11.5 7 11.5S.332 7.465.21 7.293L0 7l.21-.293C.331 6.536 3.261 2.5 7 2.5s6.668 4.036 6.79 4.207L14 7zM2.896 5.302A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5c1.518 0 2.958-.83 4.104-1.802A12.72 12.72 0 0012.755 7c-.297-.37-.875-1.04-1.65-1.698C9.957 4.33 8.517 3.5 7 3.5c-1.519 0-2.958.83-4.104 1.802z",fill:e}))),Cz=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11zM11.104 8.698c-.177.15-.362.298-.553.439l.714.714a13.25 13.25 0 002.526-2.558L14 7l-.21-.293C13.669 6.536 10.739 2.5 7 2.5c-.89 0-1.735.229-2.506.58l.764.763A4.859 4.859 0 017 3.5c1.518 0 2.958.83 4.104 1.802A12.724 12.724 0 0112.755 7a12.72 12.72 0 01-1.65 1.698zM.21 6.707c.069-.096 1.03-1.42 2.525-2.558l.714.714c-.191.141-.376.288-.553.439A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5a4.86 4.86 0 001.742-.344l.764.764c-.772.351-1.616.58-2.506.58C3.262 11.5.332 7.465.21 7.293L0 7l.21-.293z",fill:e}),l.createElement("path",{d:"M4.5 7c0-.322.061-.63.172-.914l3.242 3.242A2.5 2.5 0 014.5 7zM9.328 7.914L6.086 4.672a2.5 2.5 0 013.241 3.241z",fill:e}))),xz=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.5 10a.5.5 0 100-1 .5.5 0 000 1z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 4a2 2 0 012-2h6a2 2 0 012 2v.5l3.189-2.391A.5.5 0 0114 2.5v9a.5.5 0 01-.804.397L10 9.5v.5a2 2 0 01-2 2H2a2 2 0 01-2-2V4zm9 0v1.5a.5.5 0 00.8.4L13 3.5v7L9.8 8.1a.5.5 0 00-.8.4V10a1 1 0 01-1 1H2a1 1 0 01-1-1V4a1 1 0 011-1h6a1 1 0 011 1z",fill:e}))),x1=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4 5.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zM4.5 7.5a.5.5 0 000 1h5a.5.5 0 000-1h-5zM4 10.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 0a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h11a.5.5 0 00.5-.5V3.207a.5.5 0 00-.146-.353L10.146.146A.5.5 0 009.793 0H1.5zM2 1h7.5v2a.5.5 0 00.5.5h2V13H2V1z",fill:e}))),yj=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M8.982 1.632a.5.5 0 00-.964-.263l-3 11a.5.5 0 10.964.263l3-11zM3.32 3.616a.5.5 0 01.064.704L1.151 7l2.233 2.68a.5.5 0 11-.768.64l-2.5-3a.5.5 0 010-.64l2.5-3a.5.5 0 01.704-.064zM10.68 3.616a.5.5 0 00-.064.704L12.849 7l-2.233 2.68a.5.5 0 00.768.64l2.5-3a.5.5 0 000-.64l-2.5-3a.5.5 0 00-.704-.064z",fill:e}))),Sz=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 3a.5.5 0 01.5.5v3h3a.5.5 0 010 1h-3v3a.5.5 0 01-1 0v-3h-3a.5.5 0 010-1h3v-3A.5.5 0 017 3z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),Fz=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),Az=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.841 2.159a2.25 2.25 0 00-3.182 0l-2.5 2.5a2.25 2.25 0 000 3.182.5.5 0 01-.707.707 3.25 3.25 0 010-4.596l2.5-2.5a3.25 3.25 0 014.596 4.596l-2.063 2.063a4.27 4.27 0 00-.094-1.32l1.45-1.45a2.25 2.25 0 000-3.182z",fill:e}),l.createElement("path",{d:"M3.61 7.21c-.1-.434-.132-.88-.095-1.321L1.452 7.952a3.25 3.25 0 104.596 4.596l2.5-2.5a3.25 3.25 0 000-4.596.5.5 0 00-.707.707 2.25 2.25 0 010 3.182l-2.5 2.5A2.25 2.25 0 112.159 8.66l1.45-1.45z",fill:e}))),kz=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.146 4.604l5.5 5.5a.5.5 0 00.708 0l5.5-5.5a.5.5 0 00-.708-.708L7 9.043 1.854 3.896a.5.5 0 10-.708.708z",fill:e}))),_z=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.104 7.354l-5.5 5.5a.5.5 0 01-.708-.708L10.043 7 4.896 1.854a.5.5 0 11.708-.708l5.5 5.5a.5.5 0 010 .708z",fill:e}))),Bz=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.854 9.104a.5.5 0 11-.708-.708l3.5-3.5a.5.5 0 01.708 0l3.5 3.5a.5.5 0 01-.708.708L7 5.957 3.854 9.104z",fill:e}))),I8=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.854 4.896a.5.5 0 10-.708.708l3.5 3.5a.5.5 0 00.708 0l3.5-3.5a.5.5 0 00-.708-.708L7 8.043 3.854 4.896z",fill:e}))),Rz=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.146 3.854a.5.5 0 010-.708l2-2a.5.5 0 11.708.708L2.707 3h6.295A4 4 0 019 11H3a.5.5 0 010-1h6a3 3 0 100-6H2.707l1.147 1.146a.5.5 0 11-.708.708l-2-2z",fill:e})));const{deprecate:Iz,once:Tz,logger:ah}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{filterArgTypes:f4,composeConfigs:bj,Preview:wj,DocsContext:Dj}=__STORYBOOK_MODULE_PREVIEW_API__,{STORY_ARGS_UPDATED:h4,UPDATE_STORY_ARGS:zz,RESET_STORY_ARGS:Lz,GLOBALS_UPDATED:m4,NAVIGATE_URL:T8}=__STORYBOOK_MODULE_CORE_EVENTS__,{Channel:Ej}=__STORYBOOK_MODULE_CHANNELS__;var z8=mn({"../../node_modules/memoizerific/memoizerific.js"(e,t){(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return function r(n,a,o){function i(d,f){if(!a[d]){if(!n[d]){var m=typeof xi=="function"&ξif(!f&&m)return m(d,!0);if(s)return s(d,!0);var p=new Error("Cannot find module '"+d+"'");throw p.code="MODULE_NOT_FOUND",p}var h=a[d]={exports:{}};n[d][0].call(h.exports,function(g){var v=n[d][1][g];return i(v||g)},h,h.exports,r,n,a,o)}return a[d].exports}for(var s=typeof xi=="function"&&xi,c=0;c=0)return this.lastItem=this.list[s],this.list[s].val},o.prototype.set=function(i,s){var c;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=s,this):(c=this.indexOf(i),c>=0?(this.lastItem=this.list[c],this.list[c].val=s,this):(this.lastItem={key:i,val:s},this.list.push(this.lastItem),this.size++,this))},o.prototype.delete=function(i){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),s=this.indexOf(i),s>=0)return this.size--,this.list.splice(s,1)[0]},o.prototype.has=function(i){var s;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(s=this.indexOf(i),s>=0?(this.lastItem=this.list[s],!0):!1)},o.prototype.forEach=function(i,s){var c;for(c=0;c0&&(E[D]={cacheItem:g,arg:arguments[D]},C?i(m,E):m.push(E),m.length>d&&s(m.shift())),h.wasMemoized=C,h.numArgs=D+1,b};return h.limit=d,h.wasMemoized=!1,h.cache=f,h.lru=m,h}};function i(d,f){var m=d.length,p=f.length,h,g,v;for(g=0;g=0&&(m=d[h],p=m.cacheItem.get(m.arg),!p||!p.size);h--)m.cacheItem.delete(m.arg)}function c(d,f){return d===f||d!==d&&f!==f}},{"map-or-similar":1}]},{},[3])(3)})}}),Mz=mn({"../../node_modules/tocbot/src/js/default-options.js"(e,t){t.exports={tocSelector:".js-toc",contentSelector:".js-toc-content",headingSelector:"h1, h2, h3",ignoreSelector:".js-toc-ignore",hasInnerContainers:!1,linkClass:"toc-link",extraLinkClasses:"",activeLinkClass:"is-active-link",listClass:"toc-list",extraListClasses:"",isCollapsedClass:"is-collapsed",collapsibleClass:"is-collapsible",listItemClass:"toc-list-item",activeListItemClass:"is-active-li",collapseDepth:0,scrollSmooth:!0,scrollSmoothDuration:420,scrollSmoothOffset:0,scrollEndCallback:function(r){},headingsOffset:1,throttleTimeout:50,positionFixedSelector:null,positionFixedClass:"is-position-fixed",fixedSidebarOffset:"auto",includeHtml:!1,includeTitleTags:!1,onClick:function(r){},orderedList:!0,scrollContainer:null,skipRendering:!1,headingLabelCallback:!1,ignoreHiddenElements:!1,headingObjectCallback:null,basePath:"",disableTocScrollSync:!1,tocScrollOffset:0}}}),Oz=mn({"../../node_modules/tocbot/src/js/build-html.js"(e,t){t.exports=function(r){var n=[].forEach,a=[].some,o=document.body,i,s=!0,c=" ";function d(w,x){var S=x.appendChild(m(w));if(w.children.length){var F=p(w.isCollapsed);w.children.forEach(function(A){d(A,F)}),S.appendChild(F)}}function f(w,x){var S=!1,F=p(S);if(x.forEach(function(A){d(A,F)}),i=w||i,i!==null)return i.firstChild&&i.removeChild(i.firstChild),x.length===0?i:i.appendChild(F)}function m(w){var x=document.createElement("li"),S=document.createElement("a");return r.listItemClass&&x.setAttribute("class",r.listItemClass),r.onClick&&(S.onclick=r.onClick),r.includeTitleTags&&S.setAttribute("title",w.textContent),r.includeHtml&&w.childNodes.length?n.call(w.childNodes,function(F){S.appendChild(F.cloneNode(!0))}):S.textContent=w.textContent,S.setAttribute("href",r.basePath+"#"+w.id),S.setAttribute("class",r.linkClass+c+"node-name--"+w.nodeName+c+r.extraLinkClasses),x.appendChild(S),x}function p(w){var x=r.orderedList?"ol":"ul",S=document.createElement(x),F=r.listClass+c+r.extraListClasses;return w&&(F=F+c+r.collapsibleClass,F=F+c+r.isCollapsedClass),S.setAttribute("class",F),S}function h(){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var w;w=document.querySelector(r.scrollContainer).scrollTop}else w=document.documentElement.scrollTop||o.scrollTop;var x=document.querySelector(r.positionFixedSelector);r.fixedSidebarOffset==="auto"&&(r.fixedSidebarOffset=i.offsetTop),w>r.fixedSidebarOffset?x.className.indexOf(r.positionFixedClass)===-1&&(x.className+=c+r.positionFixedClass):x.className=x.className.replace(c+r.positionFixedClass,"")}function g(w){var x=0;return w!==null&&(x=w.offsetTop,r.hasInnerContainers&&(x+=g(w.offsetParent))),x}function v(w,x){return w&&w.className!==x&&(w.className=x),w}function b(w){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var x;x=document.querySelector(r.scrollContainer).scrollTop}else x=document.documentElement.scrollTop||o.scrollTop;r.positionFixedSelector&&h();var S=w,F;if(s&&i!==null&&S.length>0){a.call(S,function(O,M){if(g(O)>x+r.headingsOffset+10){var P=M===0?M:M-1;return F=S[P],!0}else if(M===S.length-1)return F=S[S.length-1],!0});var A=i.querySelector("."+r.activeLinkClass),_=i.querySelector("."+r.linkClass+".node-name--"+F.nodeName+'[href="'+r.basePath+"#"+F.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/\\@])/g,"\\$1")+'"]');if(A===_)return;var R=i.querySelectorAll("."+r.linkClass);n.call(R,function(O){v(O,O.className.replace(c+r.activeLinkClass,""))});var I=i.querySelectorAll("."+r.listItemClass);n.call(I,function(O){v(O,O.className.replace(c+r.activeListItemClass,""))}),_&&_.className.indexOf(r.activeLinkClass)===-1&&(_.className+=c+r.activeLinkClass);var z=_&&_.parentNode;z&&z.className.indexOf(r.activeListItemClass)===-1&&(z.className+=c+r.activeListItemClass);var L=i.querySelectorAll("."+r.listClass+"."+r.collapsibleClass);n.call(L,function(O){O.className.indexOf(r.isCollapsedClass)===-1&&(O.className+=c+r.isCollapsedClass)}),_&&_.nextSibling&&_.nextSibling.className.indexOf(r.isCollapsedClass)!==-1&&v(_.nextSibling,_.nextSibling.className.replace(c+r.isCollapsedClass,"")),D(_&&_.parentNode.parentNode)}}function D(w){return w&&w.className.indexOf(r.collapsibleClass)!==-1&&w.className.indexOf(r.isCollapsedClass)!==-1?(v(w,w.className.replace(c+r.isCollapsedClass,"")),D(w.parentNode.parentNode)):w}function E(w){var x=w.target||w.srcElement;typeof x.className!="string"||x.className.indexOf(r.linkClass)===-1||(s=!1)}function C(){s=!0}return{enableTocAnimation:C,disableTocAnimation:E,render:f,updateToc:b}}}}),Pz=mn({"../../node_modules/tocbot/src/js/parse-content.js"(e,t){t.exports=function(r){var n=[].reduce;function a(m){return m[m.length-1]}function o(m){return+m.nodeName.toUpperCase().replace("H","")}function i(m){try{return m instanceof window.HTMLElement||m instanceof window.parent.HTMLElement}catch{return m instanceof window.HTMLElement}}function s(m){if(!i(m))return m;if(r.ignoreHiddenElements&&(!m.offsetHeight||!m.offsetParent))return null;let p=m.getAttribute("data-heading-label")||(r.headingLabelCallback?String(r.headingLabelCallback(m.innerText)):(m.innerText||m.textContent).trim());var h={id:m.id,children:[],nodeName:m.nodeName,headingLevel:o(m),textContent:p};return r.includeHtml&&(h.childNodes=m.childNodes),r.headingObjectCallback?r.headingObjectCallback(h,m):h}function c(m,p){for(var h=s(m),g=h.headingLevel,v=p,b=a(v),D=b?b.headingLevel:0,E=g-D;E>0&&(b=a(v),!(b&&g===b.headingLevel));)b&&b.children!==void 0&&(v=b.children),E--;return g>=r.collapseDepth&&(h.isCollapsed=!0),v.push(h),v}function d(m,p){var h=p;r.ignoreSelector&&(h=p.split(",").map(function(g){return g.trim()+":not("+r.ignoreSelector+")"}));try{return m.querySelectorAll(h)}catch{return console.warn("Headers not found with selector: "+h),null}}function f(m){return n.call(m,function(p,h){var g=s(h);return g&&c(g,p.nest),p},{nest:[]})}return{nestHeadingsArray:f,selectHeadings:d}}}}),Nz=mn({"../../node_modules/tocbot/src/js/update-toc-scroll.js"(e,t){t.exports=function(r){var n=r.tocElement||document.querySelector(r.tocSelector);if(n&&n.scrollHeight>n.clientHeight){var a=n.querySelector("."+r.activeListItemClass);a&&(n.scrollTop=a.offsetTop-r.tocScrollOffset)}}}}),Hz=mn({"../../node_modules/tocbot/src/js/scroll-smooth/index.js"(e){e.initSmoothScrolling=t;function t(n){var a=n.duration,o=n.offset,i=location.hash?d(location.href):location.href;s();function s(){document.body.addEventListener("click",m,!1);function m(p){!c(p.target)||p.target.className.indexOf("no-smooth-scroll")>-1||p.target.href.charAt(p.target.href.length-2)==="#"&&p.target.href.charAt(p.target.href.length-1)==="!"||p.target.className.indexOf(n.linkClass)===-1||r(p.target.hash,{duration:a,offset:o,callback:function(){f(p.target.hash)}})}}function c(m){return m.tagName.toLowerCase()==="a"&&(m.hash.length>0||m.href.charAt(m.href.length-1)==="#")&&(d(m.href)===i||d(m.href)+"#"===i)}function d(m){return m.slice(0,m.lastIndexOf("#"))}function f(m){var p=document.getElementById(m.substring(1));p&&(/^(?:a|select|input|button|textarea)$/i.test(p.tagName)||(p.tabIndex=-1),p.focus())}}function r(n,a){var o=window.pageYOffset,i={duration:a.duration,offset:a.offset||0,callback:a.callback,easing:a.easing||g},s=document.querySelector('[id="'+decodeURI(n).split("#").join("")+'"]')||document.querySelector('[id="'+n.split("#").join("")+'"]'),c=typeof n=="string"?i.offset+(n?s&&s.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):n,d=typeof i.duration=="function"?i.duration(c):i.duration,f,m;requestAnimationFrame(function(v){f=v,p(v)});function p(v){m=v-f,window.scrollTo(0,i.easing(m,o,c,d)),m"u"&&!m)return;var p,h=Object.prototype.hasOwnProperty;function g(){for(var E={},C=0;C=0&&a<1?(s=o,c=i):a>=1&&a<2?(s=i,c=o):a>=2&&a<3?(c=o,d=i):a>=3&&a<4?(c=i,d=o):a>=4&&a<5?(s=i,d=o):a>=5&&a<6&&(s=o,d=i);var f=r-o/2,m=s+f,p=c+f,h=d+f;return n(m,p,h)}var g4={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 Gz(e){if(typeof e!="string")return e;var t=e.toLowerCase();return g4[t]?"#"+g4[t]:e}var Kz=/^#[a-fA-F0-9]{6}$/,Yz=/^#[a-fA-F0-9]{8}$/,Jz=/^#[a-fA-F0-9]{3}$/,Zz=/^#[a-fA-F0-9]{4}$/,M0=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,Xz=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,Qz=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,eL=/^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 uu(e){if(typeof e!="string")throw new jt(3);var t=Gz(e);if(t.match(Kz))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(Yz)){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(Jz))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(Zz)){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=M0.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=Xz.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=Qz.exec(t);if(i){var s=parseInt(""+i[1],10),c=parseInt(""+i[2],10)/100,d=parseInt(""+i[3],10)/100,f="rgb("+ds(s,c,d)+")",m=M0.exec(f);if(!m)throw new jt(4,t,f);return{red:parseInt(""+m[1],10),green:parseInt(""+m[2],10),blue:parseInt(""+m[3],10)}}var p=eL.exec(t.substring(0,50));if(p){var h=parseInt(""+p[1],10),g=parseInt(""+p[2],10)/100,v=parseInt(""+p[3],10)/100,b="rgb("+ds(h,g,v)+")",D=M0.exec(b);if(!D)throw new jt(4,t,b);return{red:parseInt(""+D[1],10),green:parseInt(""+D[2],10),blue:parseInt(""+D[3],10),alpha:parseFloat(""+p[4])>1?parseFloat(""+p[4])/100:parseFloat(""+p[4])}}throw new jt(5)}function tL(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 s,c=a-o,d=i>.5?c/(2-a-o):c/(a+o);switch(a){case t:s=(r-n)/c+(r=1?O8(e.hue,e.saturation,e.lightness):"rgba("+ds(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new jt(2)}function P8(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return A1("#"+Kr(e)+Kr(t)+Kr(r));if(typeof e=="object"&&t===void 0&&r===void 0)return A1("#"+Kr(e.red)+Kr(e.green)+Kr(e.blue));throw new jt(6)}function sr(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=uu(e);return"rgba("+a.red+","+a.green+","+a.blue+","+t+")"}else if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?P8(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")";throw new jt(7)}var iL=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},lL=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},sL=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},uL=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function N8(e){if(typeof e!="object")throw new jt(8);if(lL(e))return sr(e);if(iL(e))return P8(e);if(uL(e))return oL(e);if(sL(e))return aL(e);throw new jt(8)}function H8(e,t,r){return function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):H8(e,t,n)}}function cu(e){return H8(e,e.length,[])}function du(e,t,r){return Math.max(e,Math.min(t,r))}function cL(e,t){if(t==="transparent")return t;var r=M8(t);return N8(Da({},r,{lightness:du(0,1,r.lightness-parseFloat(e))}))}var dL=cu(cL),Mt=dL;function pL(e,t){if(t==="transparent")return t;var r=M8(t);return N8(Da({},r,{lightness:du(0,1,r.lightness+parseFloat(e))}))}var fL=cu(pL),Yr=fL;function hL(e,t){if(t==="transparent")return t;var r=uu(t),n=typeof r.alpha=="number"?r.alpha:1,a=Da({},r,{alpha:du(0,1,(n*100+parseFloat(e)*100)/100)});return sr(a)}var mL=cu(hL),Xi=mL;function gL(e,t){if(t==="transparent")return t;var r=uu(t),n=typeof r.alpha=="number"?r.alpha:1,a=Da({},r,{alpha:du(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return sr(a)}var vL=cu(gL),oe=vL,yL=k.div(se,({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:oe(.3,e.color.defaultText),fontSize:e.typography.size.s2})),$8=e=>y.createElement(yL,{...e,className:"docblock-emptyblock sb-unstyled"}),bL=k(au)(({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"}})),wL=k.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"})),Qi=k.div(({theme:e})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,height:17,marginTop:1,width:"60%",[`&:first-child${X0}`]:{margin:0}})),DL=()=>y.createElement(wL,null,y.createElement(Qi,null),y.createElement(Qi,{style:{width:"80%"}}),y.createElement(Qi,{style:{width:"30%"}}),y.createElement(Qi,{style:{width:"80%"}})),j8=({isLoading:e,error:t,language:r,code:n,dark:a,format:o=!1,...i})=>{let{typography:s}=wy();if(e)return y.createElement(DL,null);if(t)return y.createElement($8,null,t);let c=y.createElement(bL,{bordered:!0,copyable:!0,format:o,language:r,className:"docblock-source sb-unstyled",...i},n);if(typeof a>"u")return c;let d=a?J0.dark:J0.light;return y.createElement(Dy,{theme:Z0({...d,fontCode:s.fonts.mono,fontBase:s.fonts.base})},c)},he=e=>`& :where(${e}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${e}))`,oh=600,EL=k.h1(se,({theme:e})=>({color:e.color.defaultText,fontSize:e.typography.size.m3,fontWeight:e.typography.weight.bold,lineHeight:"32px",[`@media (min-width: ${oh}px)`]:{fontSize:e.typography.size.l1,lineHeight:"36px",marginBottom:"16px"}})),CL=k.h2(se,({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:15,[`@media (min-width: ${oh}px)`]:{fontSize:e.typography.size.m1,lineHeight:"28px",marginBottom:24},color:oe(.25,e.color.defaultText)})),xL=k.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"?oe(.1,e.color.defaultText):oe(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border};return{maxWidth:1e3,width:"100%",[he("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}},[he("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}},[he("div")]:t,[he("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}},[he("h1")]:{...t,...r,fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},[he("h2")]:{...t,...r,fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`},[he("h3")]:{...t,...r,fontSize:`${e.typography.size.m1}px`,fontWeight:e.typography.weight.bold},[he("h4")]:{...t,...r,fontSize:`${e.typography.size.s3}px`},[he("h5")]:{...t,...r,fontSize:`${e.typography.size.s2}px`},[he("h6")]:{...t,...r,fontSize:`${e.typography.size.s2}px`,color:e.color.dark},[he("hr")]:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},[he("img")]:{maxWidth:"100%"},[he("li")]:{...t,fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":n},[he("ol")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},[he("p")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":n},[he("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"}},[he("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"}}},[he("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}},[he("ul")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0},listStyle:"disc"}}}),SL=k.div(({theme:e})=>({background:e.background.content,display:"flex",justifyContent:"center",padding:"4rem 20px",minHeight:"100vh",boxSizing:"border-box",gap:"3rem",[`@media (min-width: ${oh}px)`]:{}})),FL=({children:e,toc:t})=>y.createElement(SL,{className:"sbdocs sbdocs-wrapper"},y.createElement(xL,{className:"sbdocs sbdocs-content"},e),t),pu=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}`}),{window:AL}=globalThis,kL=class extends l.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{id:e}=this.props;this.iframe=AL.document.getElementById(e)}shouldComponentUpdate(e){let{scale:t}=e;return t!==this.props.scale&&this.setIframeBodyStyle({width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"}),!1}setIframeBodyStyle(e){return Object.assign(this.iframe.contentDocument.body.style,e)}render(){let{id:e,title:t,src:r,allowFullScreen:n,scale:a,...o}=this.props;return y.createElement("iframe",{id:e,title:t,src:r,...n?{allow:"fullscreen"}:{},loading:"lazy",...o})}},V8=l.createContext({scale:1}),{PREVIEW_URL:_L}=globalThis,BL=_L||"iframe.html",k1=({story:e,primary:t})=>`story--${e.id}${t?"--primary":""}`,RL=e=>{let t=l.useRef(),[r,n]=l.useState(!0),[a,o]=l.useState(),{story:i,height:s,autoplay:c,forceInitialArgs:d,renderStoryToElement:f}=e;return l.useEffect(()=>{if(!(i&&t.current))return()=>{};let m=t.current,p=f(i,m,{showMain:()=>{},showError:({title:h,description:g})=>o(new Error(`${h} - ${g}`)),showException:h=>o(h)},{autoplay:c,forceInitialArgs:d});return n(!1),()=>{Promise.resolve().then(()=>p())}},[c,f,i]),a?y.createElement("pre",null,y.createElement(v8,{error:a})):y.createElement(y.Fragment,null,s?y.createElement("style",null,`#${k1(e)} { min-height: ${s}; transform: translateZ(0); overflow: auto }`):null,r&&y.createElement(U8,null),y.createElement("div",{ref:t,id:`${k1(e)}-inner`,"data-name":i.name}))},IL=({story:e,height:t="500px"})=>y.createElement("div",{style:{width:"100%",height:t}},y.createElement(V8.Consumer,null,({scale:r})=>y.createElement(kL,{key:"iframe",id:`iframe--${e.id}`,title:e.name,src:B8(BL,e.id,{viewMode:"story"}),allowFullScreen:!0,scale:r,style:{width:"100%",height:"100%",border:"0 none"}}))),TL=k.strong(({theme:e})=>({color:e.color.orange})),zL=e=>{let{inline:t,story:r}=e;return t&&!e.autoplay&&r.usesMount?y.createElement(TL,null,"This story mounts inside of play. Set"," ",y.createElement("a",{href:"https://storybook.js.org/docs/api/doc-blocks/doc-block-story#autoplay"},"autoplay")," ","to true to view this story."):y.createElement("div",{id:k1(e),className:"sb-story sb-unstyled","data-story-block":"true"},t?y.createElement(RL,{...e}):y.createElement(IL,{...e}))},U8=()=>y.createElement(k8,null),LL=k(su)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"}),ML=k.div({display:"flex",alignItems:"center",gap:4}),OL=k.div(({theme:e})=>({width:14,height:14,borderRadius:2,margin:"0 7px",backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),PL=({isLoading:e,storyId:t,baseUrl:r,zoom:n,resetZoom:a,...o})=>y.createElement(LL,{...o},y.createElement(ML,{key:"left"},e?[1,2,3].map(i=>y.createElement(OL,{key:i})):y.createElement(y.Fragment,null,y.createElement(Sr,{key:"zoomin",onClick:i=>{i.preventDefault(),n(.8)},title:"Zoom in"},y.createElement(bz,null)),y.createElement(Sr,{key:"zoomout",onClick:i=>{i.preventDefault(),n(1.25)},title:"Zoom out"},y.createElement(wz,null)),y.createElement(Sr,{key:"zoomreset",onClick:i=>{i.preventDefault(),a()},title:"Reset zoom"},y.createElement(Dz,null))))),NL=k.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)`}}:{}),v4=k(j8)(({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)":Mt(.05,e.background.content),color:e.color.lightest,button:{background:e.base==="light"?"rgba(0, 0, 0, 0.85)":Mt(.05,e.background.content)}})),HL=k.div(({theme:e,withSource:t,isExpanded:r})=>({position:"relative",overflow:"hidden",margin:"25px 0 40px",...pu(e),borderBottomLeftRadius:t&&r&&0,borderBottomRightRadius:t&&r&&0,borderBottomWidth:r&&0,"h3 + &":{marginTop:"16px"}}),({withToolbar:e})=>e&&{paddingTop:40}),$L=(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:y.createElement(v4,{...e,dark:!0}),actionItem:{title:"Hide code",className:"docblock-code-toggle docblock-code-toggle--expanded",onClick:()=>r(!1)}};default:return{source:y.createElement(v4,{...e,dark:!0}),actionItem:{title:"Show code",className:"docblock-code-toggle",onClick:()=>r(!0)}}}};function jL(e){if(l.Children.count(e)===1){let t=e;if(t.props)return t.props.id}return null}var VL=k(PL)({position:"absolute",top:0,left:0,right:0,height:40}),UL=k.div({overflow:"hidden",position:"relative"}),q8=({isLoading:e,isColumn:t,columns:r,children:n,withSource:a,withToolbar:o=!1,isExpanded:i=!1,additionalActions:s,className:c,layout:d="padded",...f})=>{let[m,p]=l.useState(i),{source:h,actionItem:g}=$L(a,m,p),[v,b]=l.useState(1),D=[c].concat(["sbdocs","sbdocs-preview","sb-unstyled"]),E=a?[g]:[],[C,w]=l.useState(s?[...s]:[]),x=[...E,...C],{window:S}=globalThis,F=l.useCallback(async _=>{let{createCopyToClipboardFunction:R}=await V4(async()=>{const{createCopyToClipboardFunction:I}=await Promise.resolve().then(()=>yz);return{createCopyToClipboardFunction:I}},void 0,import.meta.url);R()},[]),A=_=>{let R=S.getSelection();R&&R.type==="Range"||(_.preventDefault(),C.filter(I=>I.title==="Copied").length===0&&F(h.props.code).then(()=>{w([...C,{title:"Copied",onClick:()=>{}}]),S.setTimeout(()=>w(C.filter(I=>I.title!=="Copied")),1500)}))};return y.createElement(HL,{withSource:a,withToolbar:o,...f,className:D.join(" ")},o&&y.createElement(VL,{isLoading:e,border:!0,zoom:_=>b(v*_),resetZoom:()=>b(1),storyId:jL(n),baseUrl:"./iframe.html"}),y.createElement(V8.Provider,{value:{scale:v}},y.createElement(UL,{className:"docs-story",onCopyCapture:a&&A},y.createElement(NL,{isColumn:t||!Array.isArray(n),columns:r,layout:d},y.createElement(g8.Element,{scale:v},Array.isArray(n)?n.map((_,R)=>y.createElement("div",{key:R},_)):y.createElement("div",null,n))),y.createElement(Fs,{actionItems:x}))),a&&m&&h)};k(q8)(()=>({".docs-story":{paddingTop:32,paddingBottom:40}}));function Zr(){return Zr=Object.assign?Object.assign.bind():function(e){for(var t=1;t(e[t.toLowerCase()]=t,e),{class:"className",for:"htmlFor"}),w4={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},WL=["style","script"],GL=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,KL=/mailto:/i,YL=/\n{2,}$/,W8=/^(\s*>[\s\S]*?)(?=\n\n|$)/,JL=/^ *> ?/gm,ZL=/^(?:\[!([^\]]*)\]\n)?([\s\S]*)/,XL=/^ {2,}\n/,QL=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,G8=/^(?: {1,3})?(`{3,}|~{3,}) *(\S+)? *([^\n]*?)?\n([\s\S]*?)(?:\1\n?|$)/,K8=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,eM=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,tM=/^(?:\n *)*\n/,rM=/\r\n?/g,nM=/^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/,aM=/^\[\^([^\]]+)]/,oM=/\f/g,iM=/^---[ \t]*\n(.|\n)*\n---[ \t]*\n/,lM=/^\s*?\[(x|\s)\]/,Y8=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,J8=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,Z8=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,_1=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?((?:[^>]*[^/])?)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i,sM=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,X8=/^)/,uM=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,B1=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,cM=/^\{.*\}$/,dM=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,pM=/^<([^ >]+@[^ >]+)>/,fM=/^<([^ >]+:\/[^ >]+)>/,hM=/-([a-z])?/gi,Q8=/^(\|.*)\n(?: *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*))?\n?/,mM=/^\[([^\]]*)\]:\s+]+)>?\s*("([^"]*)")?/,gM=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,vM=/^\[([^\]]*)\] ?\[([^\]]*)\]/,yM=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,bM=/\t/g,wM=/(^ *\||\| *$)/g,DM=/^ *:-+: *$/,EM=/^ *:-+ *$/,CM=/^ *-+: *$/,fu="((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~~.*?~~|==.*?==|.|\\n)*?)",xM=new RegExp(`^([*_])\\1${fu}\\1\\1(?!\\1)`),SM=new RegExp(`^([*_])${fu}\\1(?!\\1|\\w)`),FM=new RegExp(`^==${fu}==`),AM=new RegExp(`^~~${fu}~~`),kM=/^\\([^0-9A-Za-z\s])/,_M=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,BM=/^\n+/,RM=/^([ \t]*)/,IM=/\\([^\\])/g,D4=/ *\n+$/,TM=/(?:^|\n)( *)$/,ih="(?:\\d+\\.)",lh="(?:[*+-])";function eC(e){return"( *)("+(e===1?ih:lh)+") +"}var tC=eC(1),rC=eC(2);function nC(e){return new RegExp("^"+(e===1?tC:rC))}var zM=nC(1),LM=nC(2);function aC(e){return new RegExp("^"+(e===1?tC:rC)+"[^\\n]*(?:\\n(?!\\1"+(e===1?ih:lh)+" )[^\\n]*)*(\\n|$)","gm")}var oC=aC(1),iC=aC(2);function lC(e){let t=e===1?ih:lh;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}var sC=lC(1),uC=lC(2);function E4(e,t){let r=t===1,n=r?sC:uC,a=r?oC:iC,o=r?zM:LM;return{match(i,s){let c=TM.exec(s.prevCapture);return c&&(s.list||!s.inline&&!s.simple)?n.exec(i=c[1]+i):null},order:1,parse(i,s,c){let d=r?+i[2]:void 0,f=i[0].replace(YL,` +`).match(a),m=!1;return{items:f.map(function(p,h){let g=o.exec(p)[0].length,v=new RegExp("^ {1,"+g+"}","gm"),b=p.replace(v,"").replace(o,""),D=h===f.length-1,E=b.indexOf(` + +`)!==-1||D&&m;m=E;let C=c.inline,w=c.list,x;c.list=!0,E?(c.inline=!1,x=b.replace(D4,` + +`)):(c.inline=!0,x=b.replace(D4,""));let S=s(x,c);return c.inline=C,c.list=w,S}),ordered:r,start:d}},render:(i,s,c)=>e(i.ordered?"ol":"ul",{key:c.key,start:i.type===j.orderedList?i.start:void 0},i.items.map(function(d,f){return e("li",{key:f},s(d,c))}))}}var MM=new RegExp(`^\\[((?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*)\\]\\(\\s*?(?:\\s+['"]([\\s\\S]*?)['"])?\\s*\\)`),OM=/^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,cC=[W8,G8,K8,Y8,Z8,J8,X8,Q8,oC,sC,iC,uC],PM=[...cC,/^[^\n]+(?: \n|\n{2,})/,_1,B1];function to(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 NM(e){return CM.test(e)?"right":DM.test(e)?"center":EM.test(e)?"left":null}function C4(e,t,r,n){let a=r.inTable;r.inTable=!0;let o=e.trim().split(/( *(?:`[^`]*`|\\\||\|) *)/).reduce((s,c)=>(c.trim()==="|"?s.push(n?{type:j.tableSeparator}:{type:j.text,text:c}):c!==""&&s.push.apply(s,t(c,r)),s),[]);r.inTable=a;let i=[[]];return o.forEach(function(s,c){s.type===j.tableSeparator?c!==0&&c!==o.length-1&&i.push([]):(s.type!==j.text||o[c+1]!=null&&o[c+1].type!==j.tableSeparator||(s.text=s.text.trimEnd()),i[i.length-1].push(s))}),i}function HM(e,t,r){r.inline=!0;let n=e[2]?e[2].replace(wM,"").split("|").map(NM):[],a=e[3]?function(i,s,c){return i.trim().split(` +`).map(function(d){return C4(d,s,c,!0)})}(e[3],t,r):[],o=C4(e[1],t,r,!!a.length);return r.inline=!1,a.length?{align:n,cells:a,header:o,type:j.table}:{children:o,type:j.paragraph}}function x4(e,t){return e.align[t]==null?{}:{textAlign:e.align[t]}}function mr(e){return function(t,r){return r.inline?e.exec(t):null}}function gr(e){return function(t,r){return r.inline||r.simple?e.exec(t):null}}function or(e){return function(t,r){return r.inline||r.simple?null:e.exec(t)}}function ro(e){return function(t){return e.exec(t)}}function $M(e,t){if(t.inline||t.simple)return null;let r="";e.split(` +`).every(a=>!cC.some(o=>o.test(a))&&(r+=a+` +`,a.trim()));let n=r.trimEnd();return n==""?null:[r,n]}function jM(e){try{if(decodeURIComponent(e).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data(?!:image)):/i))return null}catch{return null}return e}function S4(e){return e.replace(IM,"$1")}function Cl(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 VM(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 UM(e,t,r){let n=r.inline||!1;r.inline=!1;let a=e(t,r);return r.inline=n,a}var P0=(e,t,r)=>({children:Cl(t,e[1],r)});function N0(){return{}}function H0(){return null}function qM(...e){return e.filter(Boolean).join(" ")}function $0(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 WM(e="",t={}){function r(p,h,...g){let v=$0(t.overrides,`${p}.props`,{});return t.createElement(function(b,D){let E=$0(D,b);return E?typeof E=="function"||typeof E=="object"&&"render"in E?E:$0(D,`${b}.component`,b):b}(p,t.overrides),Zr({},h,v,{className:qM(h==null?void 0:h.className,v.className)||void 0}),...g)}function n(p){p=p.replace(iM,"");let h=!1;t.forceInline?h=!0:t.forceBlock||(h=yM.test(p)===!1);let g=d(c(h?p:`${p.trimEnd().replace(BM,"")} + +`,{inline:h}));for(;typeof g[g.length-1]=="string"&&!g[g.length-1].trim();)g.pop();if(t.wrapper===null)return g;let v=t.wrapper||(h?"span":"div"),b;if(g.length>1||t.forceWrapper)b=g;else{if(g.length===1)return b=g[0],typeof b=="string"?r("span",{key:"outer"},b):b;b=null}return t.createElement(v,{key:"outer"},b)}function a(p,h){let g=h.match(GL);return g?g.reduce(function(v,b){let D=b.indexOf("=");if(D!==-1){let E=function(S){return S.indexOf("-")!==-1&&S.match(uM)===null&&(S=S.replace(hM,function(F,A){return A.toUpperCase()})),S}(b.slice(0,D)).trim(),C=function(S){let F=S[0];return(F==='"'||F==="'")&&S.length>=2&&S[S.length-1]===F?S.slice(1,-1):S}(b.slice(D+1).trim()),w=b4[E]||E;if(w==="ref")return v;let x=v[w]=function(S,F,A,_){return F==="style"?A.split(/;\s?/).reduce(function(R,I){let z=I.slice(0,I.indexOf(":"));return R[z.trim().replace(/(-[a-z])/g,L=>L[1].toUpperCase())]=I.slice(z.length+1).trim(),R},{}):F==="href"||F==="src"?_(A,S,F):(A.match(cM)&&(A=A.slice(1,A.length-1)),A==="true"||A!=="false"&&A)}(p,E,C,t.sanitizer);typeof x=="string"&&(_1.test(x)||B1.test(x))&&(v[w]=n(x.trim()))}else b!=="style"&&(v[b4[b]||b]=!0);return v},{}):null}t.overrides=t.overrides||{},t.sanitizer=t.sanitizer||jM,t.slugify=t.slugify||to,t.namedCodesToUnicode=t.namedCodesToUnicode?Zr({},w4,t.namedCodesToUnicode):w4,t.createElement=t.createElement||l.createElement;let o=[],i={},s={[j.blockQuote]:{match:or(W8),order:1,parse(p,h,g){let[,v,b]=p[0].replace(JL,"").match(ZL);return{alert:v,children:h(b,g)}},render(p,h,g){let v={key:g.key};return p.alert&&(v.className="markdown-alert-"+t.slugify(p.alert.toLowerCase(),to),p.children.unshift({attrs:{},children:[{type:j.text,text:p.alert}],noInnerParse:!0,type:j.htmlBlock,tag:"header"})),r("blockquote",v,h(p.children,g))}},[j.breakLine]:{match:ro(XL),order:1,parse:N0,render:(p,h,g)=>r("br",{key:g.key})},[j.breakThematic]:{match:or(QL),order:1,parse:N0,render:(p,h,g)=>r("hr",{key:g.key})},[j.codeBlock]:{match:or(K8),order:0,parse:p=>({lang:void 0,text:p[0].replace(/^ {4}/gm,"").replace(/\n+$/,"")}),render:(p,h,g)=>r("pre",{key:g.key},r("code",Zr({},p.attrs,{className:p.lang?`lang-${p.lang}`:""}),p.text))},[j.codeFenced]:{match:or(G8),order:0,parse:p=>({attrs:a("code",p[3]||""),lang:p[2]||void 0,text:p[4],type:j.codeBlock})},[j.codeInline]:{match:gr(eM),order:3,parse:p=>({text:p[2]}),render:(p,h,g)=>r("code",{key:g.key},p.text)},[j.footnote]:{match:or(nM),order:0,parse:p=>(o.push({footnote:p[2],identifier:p[1]}),{}),render:H0},[j.footnoteReference]:{match:mr(aM),order:1,parse:p=>({target:`#${t.slugify(p[1],to)}`,text:p[1]}),render:(p,h,g)=>r("a",{key:g.key,href:t.sanitizer(p.target,"a","href")},r("sup",{key:g.key},p.text))},[j.gfmTask]:{match:mr(lM),order:1,parse:p=>({completed:p[1].toLowerCase()==="x"}),render:(p,h,g)=>r("input",{checked:p.completed,key:g.key,readOnly:!0,type:"checkbox"})},[j.heading]:{match:or(t.enforceAtxHeadings?J8:Y8),order:1,parse:(p,h,g)=>({children:Cl(h,p[2],g),id:t.slugify(p[2],to),level:p[1].length}),render:(p,h,g)=>r(`h${p.level}`,{id:p.id,key:g.key},h(p.children,g))},[j.headingSetext]:{match:or(Z8),order:0,parse:(p,h,g)=>({children:Cl(h,p[1],g),level:p[2]==="="?1:2,type:j.heading})},[j.htmlBlock]:{match:ro(_1),order:1,parse(p,h,g){let[,v]=p[3].match(RM),b=new RegExp(`^${v}`,"gm"),D=p[3].replace(b,""),E=(C=D,PM.some(A=>A.test(C))?UM:Cl);var C;let w=p[1].toLowerCase(),x=WL.indexOf(w)!==-1,S=(x?w:p[1]).trim(),F={attrs:a(S,p[2]),noInnerParse:x,tag:S};return g.inAnchor=g.inAnchor||w==="a",x?F.text=p[3]:F.children=E(h,D,g),g.inAnchor=!1,F},render:(p,h,g)=>r(p.tag,Zr({key:g.key},p.attrs),p.text||(p.children?h(p.children,g):""))},[j.htmlSelfClosing]:{match:ro(B1),order:1,parse(p){let h=p[1].trim();return{attrs:a(h,p[2]||""),tag:h}},render:(p,h,g)=>r(p.tag,Zr({},p.attrs,{key:g.key}))},[j.htmlComment]:{match:ro(X8),order:1,parse:()=>({}),render:H0},[j.image]:{match:gr(OM),order:1,parse:p=>({alt:p[1],target:S4(p[2]),title:p[3]}),render:(p,h,g)=>r("img",{key:g.key,alt:p.alt||void 0,title:p.title||void 0,src:t.sanitizer(p.target,"img","src")})},[j.link]:{match:mr(MM),order:3,parse:(p,h,g)=>({children:VM(h,p[1],g),target:S4(p[2]),title:p[3]}),render:(p,h,g)=>r("a",{key:g.key,href:t.sanitizer(p.target,"a","href"),title:p.title},h(p.children,g))},[j.linkAngleBraceStyleDetector]:{match:mr(fM),order:0,parse:p=>({children:[{text:p[1],type:j.text}],target:p[1],type:j.link})},[j.linkBareUrlDetector]:{match:(p,h)=>h.inAnchor||t.disableAutoLink?null:mr(dM)(p,h),order:0,parse:p=>({children:[{text:p[1],type:j.text}],target:p[1],title:void 0,type:j.link})},[j.linkMailtoDetector]:{match:mr(pM),order:0,parse(p){let h=p[1],g=p[1];return KL.test(g)||(g="mailto:"+g),{children:[{text:h.replace("mailto:",""),type:j.text}],target:g,type:j.link}}},[j.orderedList]:E4(r,1),[j.unorderedList]:E4(r,2),[j.newlineCoalescer]:{match:or(tM),order:3,parse:N0,render:()=>` +`},[j.paragraph]:{match:$M,order:3,parse:P0,render:(p,h,g)=>r("p",{key:g.key},h(p.children,g))},[j.ref]:{match:mr(mM),order:0,parse:p=>(i[p[1]]={target:p[2],title:p[4]},{}),render:H0},[j.refImage]:{match:gr(gM),order:0,parse:p=>({alt:p[1]||void 0,ref:p[2]}),render:(p,h,g)=>i[p.ref]?r("img",{key:g.key,alt:p.alt,src:t.sanitizer(i[p.ref].target,"img","src"),title:i[p.ref].title}):null},[j.refLink]:{match:mr(vM),order:0,parse:(p,h,g)=>({children:h(p[1],g),fallbackChildren:p[0],ref:p[2]}),render:(p,h,g)=>i[p.ref]?r("a",{key:g.key,href:t.sanitizer(i[p.ref].target,"a","href"),title:i[p.ref].title},h(p.children,g)):r("span",{key:g.key},p.fallbackChildren)},[j.table]:{match:or(Q8),order:1,parse:HM,render(p,h,g){let v=p;return r("table",{key:g.key},r("thead",null,r("tr",null,v.header.map(function(b,D){return r("th",{key:D,style:x4(v,D)},h(b,g))}))),r("tbody",null,v.cells.map(function(b,D){return r("tr",{key:D},b.map(function(E,C){return r("td",{key:C,style:x4(v,C)},h(E,g))}))})))}},[j.text]:{match:ro(_M),order:4,parse:p=>({text:p[0].replace(sM,(h,g)=>t.namedCodesToUnicode[g]?t.namedCodesToUnicode[g]:h)}),render:p=>p.text},[j.textBolded]:{match:gr(xM),order:2,parse:(p,h,g)=>({children:h(p[2],g)}),render:(p,h,g)=>r("strong",{key:g.key},h(p.children,g))},[j.textEmphasized]:{match:gr(SM),order:3,parse:(p,h,g)=>({children:h(p[2],g)}),render:(p,h,g)=>r("em",{key:g.key},h(p.children,g))},[j.textEscaped]:{match:gr(kM),order:1,parse:p=>({text:p[1],type:j.text})},[j.textMarked]:{match:gr(FM),order:3,parse:P0,render:(p,h,g)=>r("mark",{key:g.key},h(p.children,g))},[j.textStrikethroughed]:{match:gr(AM),order:3,parse:P0,render:(p,h,g)=>r("del",{key:g.key},h(p.children,g))}};t.disableParsingRawHTML===!0&&(delete s[j.htmlBlock],delete s[j.htmlSelfClosing]);let c=function(p){let h=Object.keys(p);function g(v,b){let D=[];for(b.prevCapture=b.prevCapture||"";v;){let E=0;for(;ED(g,v,b),g,v,b):D(g,v,b)}}(s,t.renderRule),function p(h,g={}){if(Array.isArray(h)){let v=g.key,b=[],D=!1;for(let E=0;E{let{children:t="",options:r}=e,n=function(a,o){if(a==null)return{};var i,s,c={},d=Object.keys(a);for(s=0;s=0||(c[i]=a[i]);return c}(e,qL);return l.cloneElement(WM(t,r),n)},GM=k.label(({theme:e})=>({lineHeight:"18px",alignItems:"center",marginBottom:8,display:"inline-block",position:"relative",whiteSpace:"nowrap",background:e.boolean.background,borderRadius:"3em",padding:1,'&[aria-disabled="true"]':{opacity:.5,input:{cursor:"not-allowed"}},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:oe(.5,e.color.defaultText),background:"transparent","&:hover":{boxShadow:`${Xi(.3,e.appBorderColor)} 0 0 0 1px inset`},"&:active":{boxShadow:`${Xi(.05,e.appBorderColor)} 0 0 0 2px inset`,color:Xi(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"?`${Xi(.1,e.appBorderColor)} 0 0 2px`:`${e.appBorderColor} 0 0 0 1px`,color:e.color.defaultText,padding:"7px 15px"}})),KM=e=>e==="true",YM=({name:e,value:t,onChange:r,onBlur:n,onFocus:a,argType:o})=>{var f;let i=l.useCallback(()=>r(!1),[r]),s=!!((f=o==null?void 0:o.table)!=null&&f.readonly);if(t===void 0)return y.createElement(Mr,{variant:"outline",size:"medium",id:ps(e),onClick:i,disabled:s},"Set boolean");let c=Et(e),d=typeof t=="string"?KM(t):t;return y.createElement(GM,{"aria-disabled":s,htmlFor:c,"aria-label":e},y.createElement("input",{id:c,type:"checkbox",onChange:m=>r(m.target.checked),checked:d,role:"switch",disabled:s,name:e,onBlur:n,onFocus:a}),y.createElement("span",{"aria-hidden":"true"},"False"),y.createElement("span",{"aria-hidden":"true"},"True"))},JM=e=>{let[t,r,n]=e.split("-"),a=new Date;return a.setFullYear(parseInt(t,10),parseInt(r,10)-1,parseInt(n,10)),a},ZM=e=>{let[t,r]=e.split(":"),n=new Date;return n.setHours(parseInt(t,10)),n.setMinutes(parseInt(r,10)),n},XM=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}`},QM=e=>{let t=new Date(e),r=`0${t.getHours()}`.slice(-2),n=`0${t.getMinutes()}`.slice(-2);return`${r}:${n}`},F4=k(Ia.Input)(({readOnly:e})=>({opacity:e?.5:1})),eO=k.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}})),tO=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,argType:o})=>{var g;let[i,s]=l.useState(!0),c=l.useRef(),d=l.useRef(),f=!!((g=o==null?void 0:o.table)!=null&&g.readonly);l.useEffect(()=>{i!==!1&&(c&&c.current&&(c.current.value=t?XM(t):""),d&&d.current&&(d.current.value=t?QM(t):""))},[t]);let m=v=>{if(!v.target.value)return r();let b=JM(v.target.value),D=new Date(t);D.setFullYear(b.getFullYear(),b.getMonth(),b.getDate());let E=D.getTime();E&&r(E),s(!!E)},p=v=>{if(!v.target.value)return r();let b=ZM(v.target.value),D=new Date(t);D.setHours(b.getHours()),D.setMinutes(b.getMinutes());let E=D.getTime();E&&r(E),s(!!E)},h=Et(e);return y.createElement(eO,null,y.createElement(F4,{type:"date",max:"9999-12-31",ref:c,id:`${h}-date`,name:`${h}-date`,readOnly:f,onChange:m,onFocus:n,onBlur:a}),y.createElement(F4,{type:"time",id:`${h}-time`,name:`${h}-time`,ref:d,onChange:p,readOnly:f,onFocus:n,onBlur:a}),i?null:y.createElement("div",null,"invalid"))},rO=k.label({display:"flex"}),nO=e=>{let t=parseFloat(e);return Number.isNaN(t)?void 0:t},aO=k(Ia.Input)(({readOnly:e})=>({opacity:e?.5:1})),oO=({name:e,value:t,onChange:r,min:n,max:a,step:o,onBlur:i,onFocus:s,argType:c})=>{var C;let[d,f]=l.useState(typeof t=="number"?t:""),[m,p]=l.useState(!1),[h,g]=l.useState(null),v=!!((C=c==null?void 0:c.table)!=null&&C.readonly),b=l.useCallback(w=>{f(w.target.value);let x=parseFloat(w.target.value);Number.isNaN(x)?g(new Error(`'${w.target.value}' is not a number`)):(r(x),g(null))},[r,g]),D=l.useCallback(()=>{f("0"),r(0),p(!0)},[p]),E=l.useRef(null);return l.useEffect(()=>{m&&E.current&&E.current.select()},[m]),l.useEffect(()=>{d!==(typeof t=="number"?t:"")&&f(t)},[t]),t===void 0?y.createElement(Mr,{variant:"outline",size:"medium",id:ps(e),onClick:D,disabled:v},"Set number"):y.createElement(rO,null,y.createElement(aO,{ref:E,id:Et(e),type:"number",onChange:b,size:"flex",placeholder:"Edit number...",value:d,valid:h?"error":null,autoFocus:m,readOnly:v,name:e,min:n,max:a,step:o,onFocus:s,onBlur:i}))},pC=(e,t)=>{let r=t&&Object.entries(t).find(([n,a])=>a===e);return r?r[0]:void 0},R1=(e,t)=>e&&t?Object.entries(t).filter(r=>e.includes(r[1])).map(r=>r[0]):[],fC=(e,t)=>e&&t&&e.map(r=>t[r]),iO=k.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),lO=k.span({"[aria-readonly=true] &":{opacity:.5}}),sO=k.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),A4=({name:e,options:t,value:r,onChange:n,isInline:a,argType:o})=>{var p;if(!t)return ah.warn(`Checkbox with no options: ${e}`),y.createElement(y.Fragment,null,"-");let i=R1(r,t),[s,c]=l.useState(i),d=!!((p=o==null?void 0:o.table)!=null&&p.readonly),f=h=>{let g=h.target.value,v=[...s];v.includes(g)?v.splice(v.indexOf(g),1):v.push(g),n(fC(v,t)),c(v)};l.useEffect(()=>{c(R1(r,t))},[r]);let m=Et(e);return y.createElement(iO,{"aria-readonly":d,isInline:a},Object.keys(t).map((h,g)=>{let v=`${m}-${g}`;return y.createElement(sO,{key:v,htmlFor:v},y.createElement("input",{type:"checkbox",disabled:d,id:v,name:v,value:h,onChange:f,checked:s==null?void 0:s.includes(h)}),y.createElement(lO,null,h))}))},uO=k.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),cO=k.span({"[aria-readonly=true] &":{opacity:.5}}),dO=k.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),k4=({name:e,options:t,value:r,onChange:n,isInline:a,argType:o})=>{var d;if(!t)return ah.warn(`Radio with no options: ${e}`),y.createElement(y.Fragment,null,"-");let i=pC(r,t),s=Et(e),c=!!((d=o==null?void 0:o.table)!=null&&d.readonly);return y.createElement(uO,{"aria-readonly":c,isInline:a},Object.keys(t).map((f,m)=>{let p=`${s}-${m}`;return y.createElement(dO,{key:p,htmlFor:p},y.createElement("input",{type:"radio",id:p,name:s,disabled:c,value:f,onChange:h=>n(t[h.currentTarget.value]),checked:f===i}),y.createElement(cO,null,f))}))},pO={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},hC=k.select(pO,({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}}})),mC=k.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}}})),_4="Choose option...",fO=({name:e,value:t,options:r,onChange:n,argType:a})=>{var d;let o=f=>{n(r[f.currentTarget.value])},i=pC(t,r)||_4,s=Et(e),c=!!((d=a==null?void 0:a.table)!=null&&d.readonly);return y.createElement(mC,null,y.createElement(I8,null),y.createElement(hC,{disabled:c,id:s,value:i,onChange:o},y.createElement("option",{key:"no-selection",disabled:!0},_4),Object.keys(r).map(f=>y.createElement("option",{key:f,value:f},f))))},hO=({name:e,value:t,options:r,onChange:n,argType:a})=>{var d;let o=f=>{let m=Array.from(f.currentTarget.options).filter(p=>p.selected).map(p=>p.value);n(fC(m,r))},i=R1(t,r),s=Et(e),c=!!((d=a==null?void 0:a.table)!=null&&d.readonly);return y.createElement(mC,null,y.createElement(hC,{disabled:c,id:s,multiple:!0,value:i,onChange:o},Object.keys(r).map(f=>y.createElement("option",{key:f,value:f},f))))},B4=e=>{let{name:t,options:r}=e;return r?e.isMulti?y.createElement(hO,{...e}):y.createElement(fO,{...e}):(ah.warn(`Select with no options: ${t}`),y.createElement(y.Fragment,null,"-"))},mO=(e,t)=>Array.isArray(e)?e.reduce((r,n)=>(r[(t==null?void 0:t[n])||String(n)]=n,r),{}):e,gO={check:A4,"inline-check":A4,radio:k4,"inline-radio":k4,select:B4,"multi-select":B4},Mn=e=>{let{type:t="select",labels:r,argType:n}=e,a={...e,argType:n,options:n?mO(n.options,r):{},isInline:t.includes("inline"),isMulti:t.includes("multi")},o=gO[t];if(o)return y.createElement(o,{...a});throw new Error(`Unknown options type: ${t}`)},vO="Error",yO="Object",bO="Array",wO="String",DO="Number",EO="Boolean",CO="Date",xO="Null",SO="Undefined",FO="Function",AO="Symbol",gC="ADD_DELTA_TYPE",vC="REMOVE_DELTA_TYPE",yC="UPDATE_DELTA_TYPE",sh="value",kO="key";function nn(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 bC(e,t){let r=nn(e),n=nn(t);return(r==="Function"||n==="Function")&&n!==r}var uh=class extends l.Component{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,s={};if(!t){if(!o.value)return;s.key=o.value}s.newValue=r(!1,n,a,s.key,i.value),e(s)}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,s=l.cloneElement(r,{onClick:this.onSubmit}),c=l.cloneElement(n,{onClick:e}),d=a(sh,o,i),f=l.cloneElement(d,{placeholder:"Value",ref:this.refInputValue}),m=null;if(!t){let p=a(kO,o,i);m=l.cloneElement(p,{placeholder:"Key",ref:this.refInputKey})}return y.createElement("span",{className:"rejt-add-value-node"},m,f,c,s)}};uh.defaultProps={onlyValue:!1,addButtonElement:y.createElement("button",null,"+"),cancelButtonElement:y.createElement("button",null,"c")};var wC=class extends l.Component{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 s={keyPath:a,deep:o,key:e,oldValue:i,type:vC};n.splice(e,1),this.setState({data:n});let{onUpdate:c,onDeltaUpdate:d}=this.props;c(a[a.length-1],n),d(s)}).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:s,onDeltaUpdate:c}=this.props;s(r[r.length-1],i),c({type:gC,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:s}=this.state,c=o[e];a(e,i,s,c,t).then(()=>{o[e]=t,this.setState({data:o});let{onUpdate:d,onDeltaUpdate:f}=this.props;d(i[i.length-1],o),f({type:yC,keyPath:i,deep:s,key:e,newValue:t,oldValue:c}),r(void 0)}).catch(n)})}renderCollapsed(){let{name:e,data:t,keyPath:r,deep:n}=this.state,{handleRemove:a,readOnly:o,getStyle:i,dataType:s,minusMenuElement:c}=this.props,{minus:d,collapsed:f}=i(e,t,r,n,s),m=o(e,t,r,n,s),p=l.cloneElement(c,{onClick:a,className:"rejt-minus-menu",style:d});return y.createElement("span",{className:"rejt-collapsed"},y.createElement("span",{className:"rejt-collapsed-text",style:f,onClick:this.handleCollapseMode},"[...] ",t.length," ",t.length===1?"item":"items"),!m&&p)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,addFormVisible:a,nextDeep:o}=this.state,{isCollapsed:i,handleRemove:s,onDeltaUpdate:c,readOnly:d,getStyle:f,dataType:m,addButtonElement:p,cancelButtonElement:h,editButtonElement:g,inputElementGenerator:v,textareaElementGenerator:b,minusMenuElement:D,plusMenuElement:E,beforeRemoveAction:C,beforeAddAction:w,beforeUpdateAction:x,logger:S,onSubmitValueParser:F}=this.props,{minus:A,plus:_,delimiter:R,ul:I,addForm:z}=f(e,t,r,n,m),L=d(e,t,r,n,m),O=l.cloneElement(E,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:_}),M=l.cloneElement(D,{onClick:s,className:"rejt-minus-menu",style:A});return y.createElement("span",{className:"rejt-not-collapsed"},y.createElement("span",{className:"rejt-not-collapsed-delimiter",style:R},"["),!a&&O,y.createElement("ul",{className:"rejt-not-collapsed-list",style:I},t.map((P,V)=>y.createElement(hu,{key:V,name:V.toString(),data:P,keyPath:r,deep:o,isCollapsed:i,handleRemove:this.handleRemoveItem(V),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:c,readOnly:d,getStyle:f,addButtonElement:p,cancelButtonElement:h,editButtonElement:g,inputElementGenerator:v,textareaElementGenerator:b,minusMenuElement:D,plusMenuElement:E,beforeRemoveAction:C,beforeAddAction:w,beforeUpdateAction:x,logger:S,onSubmitValueParser:F}))),!L&&a&&y.createElement("div",{className:"rejt-add-form",style:z},y.createElement(uh,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,onlyValue:!0,addButtonElement:p,cancelButtonElement:h,inputElementGenerator:v,keyPath:r,deep:n,onSubmitValueParser:F})),y.createElement("span",{className:"rejt-not-collapsed-delimiter",style:R},"]"),!L&&M)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:a}=this.state,{dataType:o,getStyle:i}=this.props,s=t?this.renderCollapsed():this.renderNotCollapsed(),c=i(e,r,n,a,o);return y.createElement("div",{className:"rejt-array-node"},y.createElement("span",{onClick:this.handleCollapseMode},y.createElement("span",{className:"rejt-name",style:c.name},e," :"," ")),s)}};wC.defaultProps={keyPath:[],deep:0,minusMenuElement:y.createElement("span",null," - "),plusMenuElement:y.createElement("span",null," + ")};var DC=class extends l.Component{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:s}=this.props,c=i(r,n,a,o,s);e&&!c&&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:s}=this.state;if(!o)return;let c=n(!0,a,s,i,o.value);e({value:c,key:i}).then(()=>{bC(t,c)||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:s,dataType:c,getStyle:d,editButtonElement:f,cancelButtonElement:m,textareaElementGenerator:p,minusMenuElement:h,keyPath:g}=this.props,v=d(e,i,n,a,c),b=null,D=null,E=s(e,i,n,a,c);if(r&&!E){let C=p(sh,g,a,e,i,c),w=l.cloneElement(f,{onClick:this.handleEdit}),x=l.cloneElement(m,{onClick:this.handleCancelEdit}),S=l.cloneElement(C,{ref:this.refInput,defaultValue:i});b=y.createElement("span",{className:"rejt-edit-form",style:v.editForm},S," ",x,w),D=null}else{b=y.createElement("span",{className:"rejt-value",style:v.value,onClick:E?null:this.handleEditMode},t);let C=l.cloneElement(h,{onClick:o,className:"rejt-minus-menu",style:v.minus});D=E?null:C}return y.createElement("li",{className:"rejt-function-value-node",style:v.li},y.createElement("span",{className:"rejt-name",style:v.name},e," :"," "),b,D)}};DC.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>{},editButtonElement:y.createElement("button",null,"e"),cancelButtonElement:y.createElement("button",null,"c"),minusMenuElement:y.createElement("span",null," - ")};var hu=class extends l.Component{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:s,onDeltaUpdate:c,readOnly:d,getStyle:f,addButtonElement:m,cancelButtonElement:p,editButtonElement:h,inputElementGenerator:g,textareaElementGenerator:v,minusMenuElement:b,plusMenuElement:D,beforeRemoveAction:E,beforeAddAction:C,beforeUpdateAction:w,logger:x,onSubmitValueParser:S}=this.props,F=()=>!0,A=nn(e);switch(A){case vO:return y.createElement(I1,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:s,onDeltaUpdate:c,readOnly:F,dataType:A,getStyle:f,addButtonElement:m,cancelButtonElement:p,editButtonElement:h,inputElementGenerator:g,textareaElementGenerator:v,minusMenuElement:b,plusMenuElement:D,beforeRemoveAction:E,beforeAddAction:C,beforeUpdateAction:w,logger:x,onSubmitValueParser:S});case yO:return y.createElement(I1,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:s,onDeltaUpdate:c,readOnly:d,dataType:A,getStyle:f,addButtonElement:m,cancelButtonElement:p,editButtonElement:h,inputElementGenerator:g,textareaElementGenerator:v,minusMenuElement:b,plusMenuElement:D,beforeRemoveAction:E,beforeAddAction:C,beforeUpdateAction:w,logger:x,onSubmitValueParser:S});case bO:return y.createElement(wC,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:s,onDeltaUpdate:c,readOnly:d,dataType:A,getStyle:f,addButtonElement:m,cancelButtonElement:p,editButtonElement:h,inputElementGenerator:g,textareaElementGenerator:v,minusMenuElement:b,plusMenuElement:D,beforeRemoveAction:E,beforeAddAction:C,beforeUpdateAction:w,logger:x,onSubmitValueParser:S});case wO:return y.createElement(vr,{name:t,value:`"${e}"`,originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:A,getStyle:f,cancelButtonElement:p,editButtonElement:h,inputElementGenerator:g,minusMenuElement:b,logger:x,onSubmitValueParser:S});case DO:return y.createElement(vr,{name:t,value:e,originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:A,getStyle:f,cancelButtonElement:p,editButtonElement:h,inputElementGenerator:g,minusMenuElement:b,logger:x,onSubmitValueParser:S});case EO:return y.createElement(vr,{name:t,value:e?"true":"false",originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:A,getStyle:f,cancelButtonElement:p,editButtonElement:h,inputElementGenerator:g,minusMenuElement:b,logger:x,onSubmitValueParser:S});case CO:return y.createElement(vr,{name:t,value:e.toISOString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:F,dataType:A,getStyle:f,cancelButtonElement:p,editButtonElement:h,inputElementGenerator:g,minusMenuElement:b,logger:x,onSubmitValueParser:S});case xO:return y.createElement(vr,{name:t,value:"null",originalValue:"null",keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:A,getStyle:f,cancelButtonElement:p,editButtonElement:h,inputElementGenerator:g,minusMenuElement:b,logger:x,onSubmitValueParser:S});case SO:return y.createElement(vr,{name:t,value:"undefined",originalValue:"undefined",keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:A,getStyle:f,cancelButtonElement:p,editButtonElement:h,inputElementGenerator:g,minusMenuElement:b,logger:x,onSubmitValueParser:S});case FO:return y.createElement(DC,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:A,getStyle:f,cancelButtonElement:p,editButtonElement:h,textareaElementGenerator:v,minusMenuElement:b,logger:x,onSubmitValueParser:S});case AO:return y.createElement(vr,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:F,dataType:A,getStyle:f,cancelButtonElement:p,editButtonElement:h,inputElementGenerator:g,minusMenuElement:b,logger:x,onSubmitValueParser:S});default:return null}}};hu.defaultProps={keyPath:[],deep:0};var I1=class extends l.Component{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:s,onDeltaUpdate:c}=this.props;s(n[n.length-1],r),c({type:gC,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 s={keyPath:a,deep:o,key:e,oldValue:i,type:vC};delete n[e],this.setState({data:n});let{onUpdate:c,onDeltaUpdate:d}=this.props;c(a[a.length-1],n),d(s)}).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:s}=this.state,c=o[e];a(e,i,s,c,t).then(()=>{o[e]=t,this.setState({data:o});let{onUpdate:d,onDeltaUpdate:f}=this.props;d(i[i.length-1],o),f({type:yC,keyPath:i,deep:s,key:e,newValue:t,oldValue:c}),r()}).catch(n)})}renderCollapsed(){let{name:e,keyPath:t,deep:r,data:n}=this.state,{handleRemove:a,readOnly:o,dataType:i,getStyle:s,minusMenuElement:c}=this.props,{minus:d,collapsed:f}=s(e,n,t,r,i),m=Object.getOwnPropertyNames(n),p=o(e,n,t,r,i),h=l.cloneElement(c,{onClick:a,className:"rejt-minus-menu",style:d});return y.createElement("span",{className:"rejt-collapsed"},y.createElement("span",{className:"rejt-collapsed-text",style:f,onClick:this.handleCollapseMode},"{...}"," ",m.length," ",m.length===1?"key":"keys"),!p&&h)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,nextDeep:a,addFormVisible:o}=this.state,{isCollapsed:i,handleRemove:s,onDeltaUpdate:c,readOnly:d,getStyle:f,dataType:m,addButtonElement:p,cancelButtonElement:h,editButtonElement:g,inputElementGenerator:v,textareaElementGenerator:b,minusMenuElement:D,plusMenuElement:E,beforeRemoveAction:C,beforeAddAction:w,beforeUpdateAction:x,logger:S,onSubmitValueParser:F}=this.props,{minus:A,plus:_,addForm:R,ul:I,delimiter:z}=f(e,t,r,n,m),L=Object.getOwnPropertyNames(t),O=d(e,t,r,n,m),M=l.cloneElement(E,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:_}),P=l.cloneElement(D,{onClick:s,className:"rejt-minus-menu",style:A}),V=L.map(W=>y.createElement(hu,{key:W,name:W,data:t[W],keyPath:r,deep:a,isCollapsed:i,handleRemove:this.handleRemoveValue(W),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:c,readOnly:d,getStyle:f,addButtonElement:p,cancelButtonElement:h,editButtonElement:g,inputElementGenerator:v,textareaElementGenerator:b,minusMenuElement:D,plusMenuElement:E,beforeRemoveAction:C,beforeAddAction:w,beforeUpdateAction:x,logger:S,onSubmitValueParser:F}));return y.createElement("span",{className:"rejt-not-collapsed"},y.createElement("span",{className:"rejt-not-collapsed-delimiter",style:z},"{"),!O&&M,y.createElement("ul",{className:"rejt-not-collapsed-list",style:I},V),!O&&o&&y.createElement("div",{className:"rejt-add-form",style:R},y.createElement(uh,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,addButtonElement:p,cancelButtonElement:h,inputElementGenerator:v,keyPath:r,deep:n,onSubmitValueParser:F})),y.createElement("span",{className:"rejt-not-collapsed-delimiter",style:z},"}"),!O&&P)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:a}=this.state,{getStyle:o,dataType:i}=this.props,s=t?this.renderCollapsed():this.renderNotCollapsed(),c=o(e,r,n,a,i);return y.createElement("div",{className:"rejt-object-node"},y.createElement("span",{onClick:this.handleCollapseMode},y.createElement("span",{className:"rejt-name",style:c.name},e," :"," ")),s)}};I1.defaultProps={keyPath:[],deep:0,minusMenuElement:y.createElement("span",null," - "),plusMenuElement:y.createElement("span",null," + ")};var vr=class extends l.Component{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:s}=this.props,c=i(r,n,a,o,s);e&&!c&&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:s}=this.state;if(!o)return;let c=n(!0,a,s,i,o.value);e({value:c,key:i}).then(()=>{bC(t,c)||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:s,dataType:c,getStyle:d,editButtonElement:f,cancelButtonElement:m,inputElementGenerator:p,minusMenuElement:h,keyPath:g}=this.props,v=d(e,i,n,a,c),b=s(e,i,n,a,c),D=r&&!b,E=p(sh,g,a,e,i,c),C=l.cloneElement(f,{onClick:this.handleEdit}),w=l.cloneElement(m,{onClick:this.handleCancelEdit}),x=l.cloneElement(E,{ref:this.refInput,defaultValue:JSON.stringify(i)}),S=l.cloneElement(h,{onClick:o,className:"rejt-minus-menu",style:v.minus});return y.createElement("li",{className:"rejt-value-node",style:v.li},y.createElement("span",{className:"rejt-name",style:v.name},e," : "),D?y.createElement("span",{className:"rejt-edit-form",style:v.editForm},x," ",w,C):y.createElement("span",{className:"rejt-value",style:v.value,onClick:b?null:this.handleEditMode},String(t)),!b&&!D&&S)}};vr.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>Promise.resolve(),editButtonElement:y.createElement("button",null,"e"),cancelButtonElement:y.createElement("button",null,"c"),minusMenuElement:y.createElement("span",null," - ")};function _O(e){let t=e;if(t.indexOf("function")===0)return(0,eval)(`(${t})`);try{t=JSON.parse(e)}catch{}return t}var BO={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},RO={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},IO={minus:{color:"red"},editForm:{},value:{color:"#7bba3d"},li:{minHeight:"22px",lineHeight:"22px",outline:"0px"},name:{color:"#2287CD"}},EC=class extends l.Component{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:s,editButtonElement:c,inputElement:d,textareaElement:f,minusMenuElement:m,plusMenuElement:p,beforeRemoveAction:h,beforeAddAction:g,beforeUpdateAction:v,logger:b,onSubmitValueParser:D,fallback:E=null}=this.props,C=nn(e),w=a;nn(a)==="Boolean"&&(w=()=>a);let x=d;d&&nn(d)!=="Function"&&(x=()=>d);let S=f;return f&&nn(f)!=="Function"&&(S=()=>f),C==="Object"||C==="Array"?y.createElement("div",{className:"rejt-tree"},y.createElement(hu,{data:e,name:t,deep:-1,isCollapsed:r,onUpdate:this.onUpdate,onDeltaUpdate:n,readOnly:w,getStyle:o,addButtonElement:i,cancelButtonElement:s,editButtonElement:c,inputElementGenerator:x,textareaElementGenerator:S,minusMenuElement:m,plusMenuElement:p,handleRemove:this.removeRoot,beforeRemoveAction:h,beforeAddAction:g,beforeUpdateAction:v,logger:b,onSubmitValueParser:D})):E}};EC.defaultProps={rootName:"root",isCollapsed:(e,t)=>t!==-1,getStyle:(e,t,r,n,a)=>{switch(a){case"Object":case"Error":return BO;case"Array":return RO;default:return IO}},readOnly:()=>!1,onFullyUpdate:()=>{},onDeltaUpdate:()=>{},beforeRemoveAction:()=>Promise.resolve(),beforeAddAction:()=>Promise.resolve(),beforeUpdateAction:()=>Promise.resolve(),logger:{error:()=>{}},onSubmitValueParser:(e,t,r,n,a)=>_O(a),inputElement:()=>y.createElement("input",null),textareaElement:()=>y.createElement("textarea",null),fallback:null};var{window:TO}=globalThis,zO=k.div(({theme:e})=>({position:"relative",display:"flex",'&[aria-readonly="true"]':{opacity:.5},".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}})),j0=k.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})),LO=k(Sz)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.ancillary},"svg + &":{marginLeft:0}})),MO=k(Fz)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.negative},"svg + &":{marginLeft:0}})),R4=k.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}`}})),OO=k(Sr)(({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}})),PO=k(Ia.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"}})),NO={bubbles:!0,cancelable:!0,key:"Enter",code:"Enter",keyCode:13},HO=e=>{e.currentTarget.dispatchEvent(new TO.KeyboardEvent("keydown",NO))},$O=e=>{e.currentTarget.select()},jO=e=>()=>({name:{color:e.color.secondary},collapsed:{color:e.color.dark},ul:{listStyle:"none",margin:"0 0 0 1rem",padding:0},li:{outline:0}}),I4=({name:e,value:t,onChange:r,argType:n})=>{var C;let a=wy(),o=l.useMemo(()=>t&&s9(t),[t]),i=o!=null,[s,c]=l.useState(!i),[d,f]=l.useState(null),m=!!((C=n==null?void 0:n.table)!=null&&C.readonly),p=l.useCallback(w=>{try{w&&r(JSON.parse(w)),f(void 0)}catch(x){f(x)}},[r]),[h,g]=l.useState(!1),v=l.useCallback(()=>{r({}),g(!0)},[g]),b=l.useRef(null);if(l.useEffect(()=>{h&&b.current&&b.current.select()},[h]),!i)return y.createElement(Mr,{disabled:m,id:ps(e),onClick:v},"Set object");let D=y.createElement(PO,{ref:b,id:Et(e),name:e,defaultValue:t===null?"":JSON.stringify(t,null,2),onBlur:w=>p(w.target.value),placeholder:"Edit JSON string...",autoFocus:h,valid:d?"error":null,readOnly:m}),E=Array.isArray(t)||typeof t=="object"&&(t==null?void 0:t.constructor)===Object;return y.createElement(zO,{"aria-readonly":m},E&&y.createElement(OO,{onClick:w=>{w.preventDefault(),c(x=>!x)}},s?y.createElement(Cz,null):y.createElement(Ez,null),y.createElement("span",null,"RAW")),s?D:y.createElement(EC,{readOnly:m||!E,isCollapsed:E?void 0:()=>!0,data:o,rootName:e,onFullyUpdate:r,getStyle:jO(a),cancelButtonElement:y.createElement(j0,{type:"button"},"Cancel"),editButtonElement:y.createElement(j0,{type:"submit"},"Save"),addButtonElement:y.createElement(j0,{type:"submit",primary:!0},"Save"),plusMenuElement:y.createElement(LO,null),minusMenuElement:y.createElement(MO,null),inputElement:(w,x,S,F)=>F?y.createElement(R4,{onFocus:$O,onBlur:HO}):y.createElement(R4,null),fallback:D}))},VO=k.input(({theme:e,min:t,max:r,value:n,disabled:a})=>({"&":{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}%, + ${Mt(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${Mt(.02,e.input.background)} 100%)`:`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, + ${Yr(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${Yr(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:a?"not-allowed":"pointer"},"&::-webkit-slider-thumb":{marginTop:"-6px",width:16,height:16,border:`1px solid ${sr(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${sr(e.appBorderColor,.2)}`,cursor:a?"not-allowed":"grab",appearance:"none",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${Mt(.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:a?"not-allowed":"grab"}},"&:focus":{outline:"none","&::-webkit-slider-runnable-track":{borderColor:sr(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}%, + ${Mt(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${Mt(.02,e.input.background)} 100%)`:`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, + ${Yr(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${Yr(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:a?"not-allowed":"pointer",outline:"none"},"&::-moz-range-thumb":{width:16,height:16,border:`1px solid ${sr(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${sr(e.appBorderColor,.2)}`,cursor:a?"not-allowed":"grap",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${Mt(.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}%, + ${Mt(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${Mt(.02,e.input.background)} 100%)`:`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, + ${Yr(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${Yr(.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 ${sr(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),CC=k.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums","[aria-readonly=true] &":{opacity:.5}}),UO=k(CC)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),qO=k.div({display:"flex",alignItems:"center",width:"100%"});function WO(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 GO=({name:e,value:t,onChange:r,min:n=0,max:a=100,step:o=1,onBlur:i,onFocus:s,argType:c})=>{var h;let d=g=>{r(nO(g.target.value))},f=t!==void 0,m=l.useMemo(()=>WO(o),[o]),p=!!((h=c==null?void 0:c.table)!=null&&h.readonly);return y.createElement(qO,{"aria-readonly":p},y.createElement(CC,null,n),y.createElement(VO,{id:Et(e),type:"range",disabled:p,onChange:d,name:e,value:t,min:n,max:a,step:o,onFocus:s,onBlur:i}),y.createElement(UO,{numberOFDecimalsPlaces:m,max:a},f?t.toFixed(m):"--"," / ",a))},KO=k.label({display:"flex"}),YO=k.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),JO=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,maxLength:o,argType:i})=>{var h;let s=g=>{r(g.target.value)},c=!!((h=i==null?void 0:i.table)!=null&&h.readonly),[d,f]=l.useState(!1),m=l.useCallback(()=>{r(""),f(!0)},[f]);if(t===void 0)return y.createElement(Mr,{variant:"outline",size:"medium",disabled:c,id:ps(e),onClick:m},"Set string");let p=typeof t=="string";return y.createElement(KO,null,y.createElement(Ia.Textarea,{id:Et(e),maxLength:o,onChange:s,disabled:c,size:"flex",placeholder:"Edit string...",autoFocus:d,valid:p?null:"error",name:e,value:p?t:"",onFocus:n,onBlur:a}),o&&y.createElement(YO,{isMaxed:(t==null?void 0:t.length)===o},(t==null?void 0:t.length)??0," / ",o))},ZO=k(Ia.Input)({padding:10});function XO(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var QO=({onChange:e,name:t,accept:r="image/*",value:n,argType:a})=>{var c;let o=l.useRef(null),i=(c=a==null?void 0:a.control)==null?void 0:c.readOnly;function s(d){if(!d.target.files)return;let f=Array.from(d.target.files).map(m=>URL.createObjectURL(m));e(f),XO(n)}return l.useEffect(()=>{n==null&&o.current&&(o.current.value=null)},[n,t]),y.createElement(ZO,{ref:o,id:Et(t),type:"file",name:t,multiple:!0,disabled:i,onChange:s,accept:r,size:"flex"})},eP=l.lazy(()=>V4(()=>import("./Color-YHDXOIA2-De_nbePX.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url)),tP=e=>y.createElement(l.Suspense,{fallback:y.createElement("div",null)},y.createElement(eP,{...e})),rP={array:I4,object:I4,boolean:YM,color:tP,date:tO,number:oO,check:Mn,"inline-check":Mn,radio:Mn,"inline-radio":Mn,select:Mn,"multi-select":Mn,range:GO,text:JO,file:QO},T4=()=>y.createElement(y.Fragment,null,"-"),nP=({row:e,arg:t,updateArgs:r,isHovered:n})=>{var v;let{key:a,control:o}=e,[i,s]=l.useState(!1),[c,d]=l.useState({value:t});l.useEffect(()=>{i||d({value:t})},[i,t]);let f=l.useCallback(b=>(d({value:b}),r({[a]:b}),b),[r,a]),m=l.useCallback(()=>s(!1),[]),p=l.useCallback(()=>s(!0),[]);if(!o||o.disable){let b=(o==null?void 0:o.disable)!==!0&&((v=e==null?void 0:e.type)==null?void 0:v.name)!=="function";return n&&b?y.createElement(ra,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):y.createElement(T4,null)}let h={name:a,argType:e,value:c.value,onChange:f,onBlur:m,onFocus:p},g=rP[o.type]||T4;return y.createElement(g,{...h,...o,controlType:o.type})},aP=k.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:fr({theme:e}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:e.typography.size.s1}}})),oP=({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:y.createElement(y.Fragment,null,y.createElement(aP,null,y.createElement("tbody",null,n&&y.createElement("tr",{key:"deprecated"},y.createElement("td",{colSpan:2},y.createElement("strong",null,"Deprecated"),": ",e.deprecated.toString())),r&&t.map(o=>y.createElement("tr",{key:o.name},y.createElement("td",null,y.createElement("code",null,o.name)),y.createElement("td",null,o.description))),a&&y.createElement("tr",{key:"returns"},y.createElement("td",null,y.createElement("code",null,"Returns")),y.createElement("td",null,e.returns.description)))))},iP=P1(z8()),T1=8,z4=k.div(({isExpanded:e})=>({display:"flex",flexDirection:e?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100})),lP=k.span(fr,({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}})),sP=k.button(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,marginBottom:"4px",background:"none",border:"none"})),uP=k.div(fr,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"})),cP=k.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"}})),dP=k(Bz)({marginLeft:4}),pP=k(I8)({marginLeft:4}),fP=()=>y.createElement("span",null,"-"),xC=({text:e,simple:t})=>y.createElement(lP,{simple:t},e),hP=(0,iP.default)(1e3)(e=>{let t=e.split(/\r?\n/);return`${Math.max(...t.map(r=>r.length))}ch`}),mP=e=>{if(!e)return[e];let t=e.split("|").map(r=>r.trim());return e9(t)},L4=(e,t=!0)=>{let r=e;return t||(r=e.slice(0,T1)),r.map(n=>y.createElement(xC,{key:n,text:n===""?'""':n}))},gP=({value:e,initialExpandedArgs:t})=>{let{summary:r,detail:n}=e,[a,o]=l.useState(!1),[i,s]=l.useState(t||!1);if(r==null)return null;let c=typeof r.toString=="function"?r.toString():r;if(n==null){if(/[(){}[\]<>]/.test(c))return y.createElement(xC,{text:c});let d=mP(c),f=d.length;return f>T1?y.createElement(z4,{isExpanded:i},L4(d,i),y.createElement(sP,{onClick:()=>s(!i)},i?"Show less...":`Show ${f-T1} more...`)):y.createElement(z4,null,L4(d))}return y.createElement(w8,{closeOnOutsideClick:!0,placement:"bottom",visible:a,onVisibleChange:d=>{o(d)},tooltip:y.createElement(cP,{width:hP(n)},y.createElement(au,{language:"jsx",format:!1},n))},y.createElement(uP,{className:"sbdocs-expandable"},y.createElement("span",null,c),a?y.createElement(dP,null):y.createElement(pP,null)))},V0=({value:e,initialExpandedArgs:t})=>e==null?y.createElement(fP,null):y.createElement(gP,{value:e,initialExpandedArgs:t}),vP=k.span({fontWeight:"bold"}),yP=k.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),bP=k.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...fr({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),wP=k.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?oe(.1,e.color.defaultText):oe(.2,e.color.defaultText),marginTop:t?4:0})),DP=k.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?oe(.1,e.color.defaultText):oe(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),EP=k.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),CP=e=>e&&{summary:typeof e=="string"?e:e.name},el=e=>{var v;let[t,r]=l.useState(!1),{row:n,updateArgs:a,compact:o,expandable:i,initialExpandedArgs:s}=e,{name:c,description:d}=n,f=n.table||{},m=f.type||CP(n.type),p=f.defaultValue||n.defaultValue,h=(v=n.type)==null?void 0:v.required,g=d!=null&&d!=="";return y.createElement("tr",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},y.createElement(EP,{expandable:i},y.createElement(vP,null,c),h?y.createElement(yP,{title:"Required"},"*"):null),o?null:y.createElement("td",null,g&&y.createElement(bP,null,y.createElement(dC,null,d)),f.jsDocTags!=null?y.createElement(y.Fragment,null,y.createElement(DP,{hasDescription:g},y.createElement(V0,{value:m,initialExpandedArgs:s})),y.createElement(oP,{tags:f.jsDocTags})):y.createElement(wP,{hasDescription:g},y.createElement(V0,{value:m,initialExpandedArgs:s}))),o?null:y.createElement("td",null,y.createElement(V0,{value:p,initialExpandedArgs:s})),a?y.createElement("td",null,y.createElement(nP,{...e,isHovered:t})):null)},xP=k.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"})),SP=k.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),FP=k.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),AP=({inAddonPanel:e})=>{let[t,r]=l.useState(!0);return l.useEffect(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:y.createElement(xP,{inAddonPanel:e},y.createElement(th,{title:e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated",description:y.createElement(y.Fragment,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."),footer:y.createElement(SP,null,e&&y.createElement(y.Fragment,null,y.createElement(ra,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},y.createElement(xz,null)," Watch 5m video"),y.createElement(FP,null),y.createElement(ra,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},y.createElement(x1,null)," Read docs")),!e&&y.createElement(ra,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},y.createElement(x1,null)," Learn how to set that up"))}))},kP=k(kz)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?oe(.25,e.color.defaultText):oe(.3,e.color.defaultText),border:"none",display:"inline-block"})),_P=k(_z)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?oe(.25,e.color.defaultText):oe(.3,e.color.defaultText),border:"none",display:"inline-block"})),BP=k.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),RP=k.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"?oe(.4,e.color.defaultText):oe(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),IP=k.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),TP=k.td({position:"relative"}),zP=k.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${Yr(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),M4=k.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"}),U0=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:a=3})=>{let[o,i]=l.useState(n),s=e==="subsection"?IP:RP,c=(r==null?void 0:r.length)||0,d=e==="subsection"?`${c} item${c!==1?"s":""}`:"",f=`${o?"Hide":"Show"} ${e==="subsection"?c:t} item${c!==1?"s":""}`;return y.createElement(y.Fragment,null,y.createElement(zP,{title:f},y.createElement(s,{colSpan:1},y.createElement(M4,{onClick:m=>i(!o),tabIndex:0},f),y.createElement(BP,null,o?y.createElement(kP,null):y.createElement(_P,null),t)),y.createElement(TP,{colSpan:a-1},y.createElement(M4,{onClick:m=>i(!o),tabIndex:-1,style:{outline:"none"}},f),o?null:d)),o?r:null)},tl=k.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),Ae=k.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),me=k.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})),ke=[2,4,2,2],LP=()=>y.createElement(y.Fragment,null,y.createElement(tl,null,y.createElement(Ae,{numColumn:ke[0]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:ke[1]},y.createElement(me,{width:"30%"})),y.createElement(Ae,{numColumn:ke[2]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:ke[3]},y.createElement(me,{width:"60%"}))),y.createElement(tl,null,y.createElement(Ae,{numColumn:ke[0]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:ke[1]},y.createElement(me,{width:"80%"}),y.createElement(me,{width:"30%"})),y.createElement(Ae,{numColumn:ke[2]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:ke[3]},y.createElement(me,{width:"60%"}))),y.createElement(tl,null,y.createElement(Ae,{numColumn:ke[0]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:ke[1]},y.createElement(me,{width:"80%"}),y.createElement(me,{width:"30%"})),y.createElement(Ae,{numColumn:ke[2]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:ke[3]},y.createElement(me,{width:"60%"}))),y.createElement(tl,null,y.createElement(Ae,{numColumn:ke[0]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:ke[1]},y.createElement(me,{width:"80%"}),y.createElement(me,{width:"30%"})),y.createElement(Ae,{numColumn:ke[2]},y.createElement(me,{width:"60%"})),y.createElement(Ae,{numColumn:ke[3]},y.createElement(me,{width:"60%"})))),MP=k.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"?oe(.25,e.color.defaultText):oe(.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}}}}})),OP=k(Sr)(({theme:e})=>({margin:"-4px -12px -4px 0"})),PP=k.span({display:"flex",justifyContent:"space-between"}),NP={alpha:(e,t)=>e.name.localeCompare(t.name),requiredFirst:(e,t)=>{var r,n;return+!!((r=t.type)!=null&&r.required)-+!!((n=e.type)!=null&&n.required)||e.name.localeCompare(t.name)},none:void 0},HP=(e,t)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([o,i])=>{let{category:s,subcategory:c}=(i==null?void 0:i.table)||{};if(s){let d=r.sections[s]||{ungrouped:[],subsections:{}};if(!c)d.ungrouped.push({key:o,...i});else{let f=d.subsections[c]||[];f.push({key:o,...i}),d.subsections[c]=f}r.sections[s]=d}else if(c){let d=r.ungroupedSubsections[c]||[];d.push({key:o,...i}),r.ungroupedSubsections[c]=d}else r.ungrouped.push({key:o,...i})});let n=NP[t],a=o=>n?Object.keys(o).reduce((i,s)=>({...i,[s]:o[s].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)}}),{})}},$P=(e,t,r)=>{try{return WC(e,t,r)}catch(n){return Tz.warn(n.message),!1}},z1=e=>{let{updateArgs:t,resetArgs:r,compact:n,inAddonPanel:a,initialExpandedArgs:o,sort:i="none",isLoading:s}=e;if("error"in e){let{error:E}=e;return y.createElement($8,null,E," ",y.createElement(ra,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},y.createElement(x1,null)," Read the docs"))}if(s)return y.createElement(LP,null);let{rows:c,args:d,globals:f}="rows"in e&&e,m=HP(t9(c||{},E=>{var C;return!((C=E==null?void 0:E.table)!=null&&C.disable)&&$P(E,d||{},f||{})}),i),p=m.ungrouped.length===0,h=Object.entries(m.sections).length===0,g=Object.entries(m.ungroupedSubsections).length===0;if(p&&h&&g)return y.createElement(AP,{inAddonPanel:a});let v=1;t&&(v+=1),n||(v+=2);let b=Object.keys(m.sections).length>0,D={updateArgs:t,compact:n,inAddonPanel:a,initialExpandedArgs:o};return y.createElement(Rf,null,y.createElement(MP,{compact:n,inAddonPanel:a,className:"docblock-argstable sb-unstyled"},y.createElement("thead",{className:"docblock-argstable-head"},y.createElement("tr",null,y.createElement("th",null,y.createElement("span",null,"Name")),n?null:y.createElement("th",null,y.createElement("span",null,"Description")),n?null:y.createElement("th",null,y.createElement("span",null,"Default")),t?y.createElement("th",null,y.createElement(PP,null,"Control"," ",!s&&r&&y.createElement(OP,{onClick:()=>r(),title:"Reset controls"},y.createElement(Rz,{"aria-hidden":!0})))):null)),y.createElement("tbody",{className:"docblock-argstable-body"},m.ungrouped.map(E=>y.createElement(el,{key:E.key,row:E,arg:d&&d[E.key],...D})),Object.entries(m.ungroupedSubsections).map(([E,C])=>y.createElement(U0,{key:E,label:E,level:"subsection",colSpan:v},C.map(w=>y.createElement(el,{key:w.key,row:w,arg:d&&d[w.key],expandable:b,...D})))),Object.entries(m.sections).map(([E,C])=>y.createElement(U0,{key:E,label:E,level:"section",colSpan:v},C.ungrouped.map(w=>y.createElement(el,{key:w.key,row:w,arg:d&&d[w.key],...D})),Object.entries(C.subsections).map(([w,x])=>y.createElement(U0,{key:w,label:w,level:"subsection",colSpan:v},x.map(S=>y.createElement(el,{key:S.key,row:S,arg:d&&d[S.key],expandable:b,...D})))))))))},jP=({tabs:e,...t})=>{let r=Object.entries(e);return r.length===1?y.createElement(z1,{...r[0][1],...t}):y.createElement(F8,null,r.map((n,a)=>{let[o,i]=n,s=`prop_table_div_${o}`,c="div",d=a===0?t:{sort:t.sort};return y.createElement(c,{key:s,id:s,title:o},({active:f})=>f?y.createElement(z1,{key:`prop_table_${o}`,...i,...d}):null)}))};k.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?oe(.4,e.color.defaultText):oe(.6,e.color.defaultText)}));k.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});k.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}});k.div(se,({theme:e})=>({...pu(e),margin:"25px 0 40px",padding:"30px 20px"}));k.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText}));k.div(({theme:e})=>({color:e.base==="light"?oe(.2,e.color.defaultText):oe(.6,e.color.defaultText)}));k.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5});k.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"?oe(.4,e.color.defaultText):oe(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}}));k.div({display:"flex",flexDirection:"row"});k.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}}));k.div(({theme:e})=>({...pu(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"}));k.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30});k.div({flex:1,display:"flex",flexDirection:"row"});k.div({display:"flex",alignItems:"flex-start"});k.div({flex:"0 0 30%"});k.div({flex:1});k.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?oe(.4,e.color.defaultText):oe(.6,e.color.defaultText)}));k.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));k.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2}));k.div(({theme:e})=>({...pu(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}}));k.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"});k.div({display:"flex",flexFlow:"row wrap"});var VP=e=>`anchor--${e}`,SC=({storyId:e,children:t})=>y.createElement("div",{id:VP(e),className:"sb-anchor"},t);globalThis&&globalThis.__DOCS_CONTEXT__===void 0&&(globalThis.__DOCS_CONTEXT__=l.createContext(null),globalThis.__DOCS_CONTEXT__.displayName="DocsContext");var Ft=globalThis?globalThis.__DOCS_CONTEXT__:l.createContext(null),Sn=(e,t)=>l.useContext(Ft).resolveOf(e,t),UP=e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""),qP=e=>{if(e)return typeof e=="string"?e.includes("-")?UP(e):e:e.__docgenInfo&&e.__docgenInfo.displayName?e.__docgenInfo.displayName:e.name};function WP(e,t="start"){e.scrollIntoView({behavior:"smooth",block:t,inline:"nearest"})}var GP=Object.create,FC=Object.defineProperty,KP=Object.getOwnPropertyDescriptor,AC=Object.getOwnPropertyNames,YP=Object.getPrototypeOf,JP=Object.prototype.hasOwnProperty,at=(e,t)=>function(){return t||(0,e[AC(e)[0]])((t={exports:{}}).exports,t),t.exports},ZP=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of AC(t))!JP.call(e,a)&&a!==r&&FC(e,a,{get:()=>t[a],enumerable:!(n=KP(t,a))||n.enumerable});return e},ch=(e,t,r)=>(r=e!=null?GP(YP(e)):{},ZP(!e||!e.__esModule?FC(r,"default",{value:e,enumerable:!0}):r,e)),XP=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],QP=["detail"];function eN(e){let t=XP.filter(r=>e[r]!==void 0).reduce((r,n)=>({...r,[n]:e[n]}),{});return e instanceof CustomEvent&&QP.filter(r=>e[r]!==void 0).forEach(r=>{t[r]=e[r]}),t}var tN=P1(z8(),1),kC=at({"node_modules/has-symbols/shams.js"(e,t){t.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},n=Symbol("test"),a=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(a)!=="[object Symbol]")return!1;var o=42;r[n]=o;for(n in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var i=Object.getOwnPropertySymbols(r);if(i.length!==1||i[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(r,n);if(s.value!==o||s.enumerable!==!0)return!1}return!0}}}),_C=at({"node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=kC();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}}),rN=at({"node_modules/function-bind/implementation.js"(e,t){var r="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,a=Object.prototype.toString,o="[object Function]";t.exports=function(i){var s=this;if(typeof s!="function"||a.call(s)!==o)throw new TypeError(r+s);for(var c=n.call(arguments,1),d,f=function(){if(this instanceof d){var v=s.apply(this,c.concat(n.call(arguments)));return Object(v)===v?v:this}else return s.apply(i,c.concat(n.call(arguments)))},m=Math.max(0,s.length-c.length),p=[],h=0;h"u"?r:m(Uint8Array),g={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":f?m([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":p,"%AsyncGenerator%":p,"%AsyncGeneratorFunction%":p,"%AsyncIteratorPrototype%":p,"%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%":p,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":f?m(m([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!f?r:m(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"||!f?r:m(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f?m(""[Symbol.iterator]()):r,"%Symbol%":f?Symbol:r,"%SyntaxError%":n,"%ThrowTypeError%":d,"%TypedArray%":h,"%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},v=function z(L){var O;if(L==="%AsyncFunction%")O=i("async function () {}");else if(L==="%GeneratorFunction%")O=i("function* () {}");else if(L==="%AsyncGeneratorFunction%")O=i("async function* () {}");else if(L==="%AsyncGenerator%"){var M=z("%AsyncGeneratorFunction%");M&&(O=M.prototype)}else if(L==="%AsyncIteratorPrototype%"){var P=z("%AsyncGenerator%");P&&(O=m(P.prototype))}return g[L]=O,O},b={"%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"]},D=dh(),E=nN(),C=D.call(Function.call,Array.prototype.concat),w=D.call(Function.apply,Array.prototype.splice),x=D.call(Function.call,String.prototype.replace),S=D.call(Function.call,String.prototype.slice),F=D.call(Function.call,RegExp.prototype.exec),A=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,_=/\\(\\)?/g,R=function(z){var L=S(z,0,1),O=S(z,-1);if(L==="%"&&O!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if(O==="%"&&L!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var M=[];return x(z,A,function(P,V,W,q){M[M.length]=W?x(q,_,"$1"):V||P}),M},I=function(z,L){var O=z,M;if(E(b,O)&&(M=b[O],O="%"+M[0]+"%"),E(g,O)){var P=g[O];if(P===p&&(P=v(O)),typeof P>"u"&&!L)throw new o("intrinsic "+z+" exists, but is not available. Please file an issue!");return{alias:M,name:O,value:P}}throw new n("intrinsic "+z+" does not exist!")};t.exports=function(z,L){if(typeof z!="string"||z.length===0)throw new o("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof L!="boolean")throw new o('"allowMissing" argument must be a boolean');if(F(/^%?[^%]*%?$/,z)===null)throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var O=R(z),M=O.length>0?O[0]:"",P=I("%"+M+"%",L),V=P.name,W=P.value,q=!1,Y=P.alias;Y&&(M=Y[0],w(O,C([0,1],Y)));for(var Q=1,ne=!0;Q=O.length){var Z=s(W,X);ne=!!Z,ne&&"get"in Z&&!("originalValue"in Z.get)?W=Z.get:W=W[X]}else ne=E(W,X),W=W[X];ne&&!q&&(g[V]=W)}}return W}}}),aN=at({"node_modules/call-bind/index.js"(e,t){var r=dh(),n=BC(),a=n("%Function.prototype.apply%"),o=n("%Function.prototype.call%"),i=n("%Reflect.apply%",!0)||r.call(o,a),s=n("%Object.getOwnPropertyDescriptor%",!0),c=n("%Object.defineProperty%",!0),d=n("%Math.max%");if(c)try{c({},"a",{value:1})}catch{c=null}t.exports=function(m){var p=i(r,o,arguments);if(s&&c){var h=s(p,"length");h.configurable&&c(p,"length",{value:1+d(0,m.length-(arguments.length-1))})}return p};var f=function(){return i(r,a,arguments)};c?c(t.exports,"apply",{value:f}):t.exports.apply=f}}),oN=at({"node_modules/call-bind/callBound.js"(e,t){var r=BC(),n=aN(),a=n(r("String.prototype.indexOf"));t.exports=function(o,i){var s=r(o,!!i);return typeof s=="function"&&a(o,".prototype.")>-1?n(s):s}}}),iN=at({"node_modules/has-tostringtag/shams.js"(e,t){var r=kC();t.exports=function(){return r()&&!!Symbol.toStringTag}}}),lN=at({"node_modules/is-regex/index.js"(e,t){var r=oN(),n=iN()(),a,o,i,s;n&&(a=r("Object.prototype.hasOwnProperty"),o=r("RegExp.prototype.exec"),i={},c=function(){throw i},s={toString:c,valueOf:c},typeof Symbol.toPrimitive=="symbol"&&(s[Symbol.toPrimitive]=c));var c,d=r("Object.prototype.toString"),f=Object.getOwnPropertyDescriptor,m="[object RegExp]";t.exports=n?function(p){if(!p||typeof p!="object")return!1;var h=f(p,"lastIndex"),g=h&&a(h,"value");if(!g)return!1;try{o(p,s)}catch(v){return v===i}}:function(p){return!p||typeof p!="object"&&typeof p!="function"?!1:d(p)===m}}}),sN=at({"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)}}}),uN=at({"node_modules/is-symbol/index.js"(e,t){var r=Object.prototype.toString,n=_C()();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}}),cN=ch(lN()),dN=ch(sN()),pN=ch(uN());function fN(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}var hN=typeof global=="object"&&global&&global.Object===Object&&global,mN=hN,gN=typeof self=="object"&&self&&self.Object===Object&&self,vN=mN||gN||Function("return this")(),ph=vN,yN=ph.Symbol,Ea=yN,RC=Object.prototype,bN=RC.hasOwnProperty,wN=RC.toString,no=Ea?Ea.toStringTag:void 0;function DN(e){var t=bN.call(e,no),r=e[no];try{e[no]=void 0;var n=!0}catch{}var a=wN.call(e);return n&&(t?e[no]=r:delete e[no]),a}var EN=DN,CN=Object.prototype,xN=CN.toString;function SN(e){return xN.call(e)}var FN=SN,AN="[object Null]",kN="[object Undefined]",O4=Ea?Ea.toStringTag:void 0;function _N(e){return e==null?e===void 0?kN:AN:O4&&O4 in Object(e)?EN(e):FN(e)}var BN=_N,P4=Ea?Ea.prototype:void 0;P4&&P4.toString;function RN(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var IC=RN,IN="[object AsyncFunction]",TN="[object Function]",zN="[object GeneratorFunction]",LN="[object Proxy]";function MN(e){if(!IC(e))return!1;var t=BN(e);return t==TN||t==zN||t==IN||t==LN}var ON=MN,PN=ph["__core-js_shared__"],q0=PN,N4=function(){var e=/[^.]+$/.exec(q0&&q0.keys&&q0.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function NN(e){return!!N4&&N4 in e}var HN=NN,$N=Function.prototype,jN=$N.toString;function VN(e){if(e!=null){try{return jN.call(e)}catch{}try{return e+""}catch{}}return""}var UN=VN,qN=/[\\^$.*+?()[\]{}|]/g,WN=/^\[object .+?Constructor\]$/,GN=Function.prototype,KN=Object.prototype,YN=GN.toString,JN=KN.hasOwnProperty,ZN=RegExp("^"+YN.call(JN).replace(qN,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function XN(e){if(!IC(e)||HN(e))return!1;var t=ON(e)?ZN:WN;return t.test(UN(e))}var QN=XN;function eH(e,t){return e==null?void 0:e[t]}var tH=eH;function rH(e,t){var r=tH(e,t);return QN(r)?r:void 0}var TC=rH;function nH(e,t){return e===t||e!==e&&t!==t}var aH=nH,oH=TC(Object,"create"),Ko=oH;function iH(){this.__data__=Ko?Ko(null):{},this.size=0}var lH=iH;function sH(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var uH=sH,cH="__lodash_hash_undefined__",dH=Object.prototype,pH=dH.hasOwnProperty;function fH(e){var t=this.__data__;if(Ko){var r=t[e];return r===cH?void 0:r}return pH.call(t,e)?t[e]:void 0}var hH=fH,mH=Object.prototype,gH=mH.hasOwnProperty;function vH(e){var t=this.__data__;return Ko?t[e]!==void 0:gH.call(t,e)}var yH=vH,bH="__lodash_hash_undefined__";function wH(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Ko&&t===void 0?bH:t,this}var DH=wH;function Ta(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t-1}var IH=RH;function TH(e,t){var r=this.__data__,n=mu(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var zH=TH;function za(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;io$(e).replace(/\n\s*/g,"").trim()),l$=function(e,t){let r=t.slice(0,t.indexOf("{")),n=t.slice(t.indexOf("{"));if(r.includes("=>")||r.includes("function"))return t;let a=r;return a=a.replace(e,"function"),a+n},s$=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/;function LC(e){if(!a$(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=eN(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 u$=function(e){let t,r,n,a;return function(o,i){try{if(o==="")return a=[],t=new Map([[i,"[]"]]),r=new Map,n=[],i;let s=r.get(this)||this;for(;n.length&&s!==n[0];)n.shift(),a.pop();if(typeof i=="boolean")return i;if(i===void 0)return e.allowUndefined?"_undefined_":void 0;if(i===null)return null;if(typeof i=="number")return i===-1/0?"_-Infinity_":i===1/0?"_Infinity_":Number.isNaN(i)?"_NaN_":i;if(typeof i=="bigint")return`_bigint_${i.toString()}`;if(typeof i=="string")return s$.test(i)?e.allowDate?`_date_${i}`:void 0:i;if((0,cN.default)(i))return e.allowRegExp?`_regexp_${i.flags}|${i.source}`:void 0;if((0,dN.default)(i)){if(!e.allowFunction)return;let{name:d}=i,f=i.toString();return f.match(/(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)?`_function_${d}|${(()=>{}).toString()}`:`_function_${d}|${i$(l$(o,f))}`}if((0,pN.default)(i)){if(!e.allowSymbol)return;let d=Symbol.keyFor(i);return d!==void 0?`_gsymbol_${d}`:`_symbol_${i.toString().slice(7,-1)}`}if(n.length>=e.maxDepth)return Array.isArray(i)?`[Array(${i.length})]`:"[Object]";if(i===this)return`_duplicate_${JSON.stringify(a)}`;if(i instanceof Error&&e.allowError)return{__isConvertedError__:!0,errorProperties:{...i.cause?{cause:i.cause}:{},...i,name:i.name,message:i.message,stack:i.stack,"_constructor-name_":i.constructor.name}};if(i.constructor&&i.constructor.name&&i.constructor.name!=="Object"&&!Array.isArray(i)&&!e.allowClass)return;let c=t.get(i);if(!c){let d=Array.isArray(i)?i:LC(i);if(i.constructor&&i.constructor.name&&i.constructor.name!=="Object"&&!Array.isArray(i)&&e.allowClass)try{Object.assign(d,{"_constructor-name_":i.constructor.name})}catch{}return a.push(o),n.unshift(d),t.set(i,JSON.stringify(a)),i!==d&&r.set(i,d),d}return`_duplicate_${c}`}catch{return}}},c$={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},d$=(e,t={})=>{let r={...c$,...t};return JSON.stringify(LC(e),u$(r),t.space)};function MC(e){return d$(e,{allowFunction:!1})}var OC=l.createContext({sources:{}}),PC="--unknown--",p$=({children:e,channel:t})=>{let[r,n]=l.useState({});return l.useEffect(()=>{let a=(o,i=null,s=!1)=>{let{id:c,args:d=void 0,source:f,format:m}=typeof o=="string"?{id:o,source:i,format:s}:o,p=d?MC(d):PC;n(h=>({...h,[c]:{...h[c],[p]:{code:f,format:m}}}))};return t.on(wh,a),()=>t.off(wh,a)},[]),y.createElement(OC.Provider,{value:{sources:r}},e)},f$=(e,t,r)=>{let{sources:n}=r,a=n==null?void 0:n[e];return(a==null?void 0:a[MC(t)])||(a==null?void 0:a[PC])||{code:""}},h$=({snippet:e,storyContext:t,typeFromProps:r,transformFromProps:n})=>{var c,d;let{__isArgsStory:a}=t.parameters,o=((c=t.parameters.docs)==null?void 0:c.source)||{},i=r||o.type||bu.AUTO;if(o.code!==void 0)return o.code;let s=i===bu.DYNAMIC||i===bu.AUTO&&e&&a?e:o.originalSource||"";return((d=n??o.transform)==null?void 0:d(s,t))||s},m$=(e,t,r)=>{var h,g,v,b;let n,{of:a}=e;if("of"in e&&a===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");if(a)n=t.resolveOf(a,["story"]).story;else try{n=t.storyById()}catch{}let o=((g=(h=n==null?void 0:n.parameters)==null?void 0:h.docs)==null?void 0:g.source)||{},{code:i}=e,s=e.format??o.format,c=e.language??o.language??"jsx",d=e.dark??o.dark??!1;if(!i&&!n)return{error:"Oh no! The source is not available."};if(i)return{code:i,format:s,language:c,dark:d};let f=t.getStoryContext(n),m=e.__forceInitialArgs?f.initialArgs:f.unmappedArgs,p=f$(n.id,m,r);return s=p.format??((b=(v=n.parameters.docs)==null?void 0:v.source)==null?void 0:b.format)??!1,{code:h$({snippet:p.code,storyContext:{...f,args:m},typeFromProps:e.type,transformFromProps:e.transform}),format:s,language:c,dark:d}};function g$(e,t){let r=v$([e],t);return r&&r[0]}function v$(e,t){let[r,n]=l.useState({});return l.useEffect(()=>{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 y$=(e,t)=>{let{of:r,meta:n}=e;if("of"in e&&r===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");return n&&t.referenceMeta(n,!1),t.resolveOf(r||"story",["story"]).story.id},b$=(e,t,r)=>{let{parameters:n={}}=t||{},{docs:a={}}=n,o=a.story||{};if(a.disable)return null;if(e.inline??o.inline??!1){let s=e.height??o.height,c=e.autoplay??o.autoplay??!1;return{story:t,inline:!0,height:s,autoplay:c,forceInitialArgs:!!e.__forceInitialArgs,primary:!!e.__primary,renderStoryToElement:r.renderStoryToElement}}let i=e.height??o.height??o.iframeHeight??"100px";return{story:t,inline:!1,height:i,primary:!!e.__primary}},w$=(e={__forceInitialArgs:!1,__primary:!1})=>{let t=l.useContext(Ft),r=y$(e,t),n=g$(r,t);if(!n)return y.createElement(U8,null);let a=b$(e,n,t);return a?y.createElement(zL,{...a}):null},D$=e=>{var p,h,g,v,b,D,E,C,w,x;let t=l.useContext(Ft),r=l.useContext(OC),{of:n,source:a}=e;if("of"in e&&n===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let{story:o}=Sn(n||"story",["story"]),i=m$({...a,...n&&{of:n}},t,r),s=e.layout??o.parameters.layout??((h=(p=o.parameters.docs)==null?void 0:p.canvas)==null?void 0:h.layout)??"padded",c=e.withToolbar??((v=(g=o.parameters.docs)==null?void 0:g.canvas)==null?void 0:v.withToolbar)??!1,d=e.additionalActions??((D=(b=o.parameters.docs)==null?void 0:b.canvas)==null?void 0:D.additionalActions),f=e.sourceState??((C=(E=o.parameters.docs)==null?void 0:E.canvas)==null?void 0:C.sourceState)??"hidden",m=e.className??((x=(w=o.parameters.docs)==null?void 0:w.canvas)==null?void 0:x.className);return y.createElement(q8,{withSource:f==="none"?void 0:i,isExpanded:f==="shown",withToolbar:c,additionalActions:d,className:m,layout:s},y.createElement(w$,{of:n||o.moduleExport,meta:e.meta,...e.story}))},E$=(e,t)=>{let r=C$(e,t);if(!r)throw new Error("No result when story was defined");return r},C$=(e,t)=>{let r=e?t.getStoryContext(e):{args:{}},{id:n}=e||{id:"none"},[a,o]=l.useState(r.args);l.useEffect(()=>{let c=d=>{d.storyId===n&&o(d.args)};return t.channel.on(h4,c),()=>t.channel.off(h4,c)},[n,t.channel]);let i=l.useCallback(c=>t.channel.emit(zz,{storyId:n,updatedArgs:c}),[n,t.channel]),s=l.useCallback(c=>t.channel.emit(Lz,{storyId:n,argNames:c}),[n,t.channel]);return e&&[a,i,s]},x$=(e,t)=>{let r=t.getStoryContext(e),[n,a]=l.useState(r.globals);return l.useEffect(()=>{let o=i=>{a(i.globals)};return t.channel.on(m4,o),()=>t.channel.off(m4,o)},[t.channel]),[n]};function S$(e,t){let{extractArgTypes:r}=t.docs||{};if(!r)throw new Error("Args unsupported. See Args documentation for your framework.");return r(e)}var F$=e=>{var w;let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let r=l.useContext(Ft),{story:n}=r.resolveOf(t||"story",["story"]),{parameters:a,argTypes:o,component:i,subcomponents:s}=n,c=((w=a.docs)==null?void 0:w.controls)||{},d=e.include??c.include,f=e.exclude??c.exclude,m=e.sort??c.sort,[p,h,g]=E$(n,r),[v]=x$(n,r),b=f4(o,d,f);if(!(s&&Object.keys(s).length>0))return Object.keys(b).length>0||Object.keys(p).length>0?y.createElement(z1,{rows:b,sort:m,args:p,globals:v,updateArgs:h,resetArgs:g}):null;let D=qP(i),E=Object.fromEntries(Object.entries(s).map(([x,S])=>[x,{rows:f4(S$(S,a),d,f),sort:m}])),C={[D]:{rows:b,sort:m},...E};return y.createElement(jP,{tabs:C,sort:m,args:p,globals:v,updateArgs:h,resetArgs:g})},{document:NC}=globalThis,A$=({className:e,children:t,...r})=>{if(typeof e!="string"&&(typeof t!="string"||!t.match(/[\n\r]/g)))return y.createElement(If,null,t);let n=e&&e.split("-");return y.createElement(j8,{language:n&&n[1]||"text",format:!1,code:t,...r})};function hh(e,t){e.channel.emit(T8,t)}var L1=R8.a,k$=({hash:e,children:t})=>{let r=l.useContext(Ft);return y.createElement(L1,{href:e,target:"_self",onClick:n=>{let a=e.substring(1);NC.getElementById(a)&&hh(r,e)}},t)},_$=e=>{let{href:t,target:r,children:n,...a}=e,o=l.useContext(Ft);return!t||r==="_blank"||/^https?:\/\//.test(t)?y.createElement(L1,{...e}):t.startsWith("#")?y.createElement(k$,{hash:t},n):y.createElement(L1,{href:t,onClick:i=>{i.button===0&&!i.altKey&&!i.ctrlKey&&!i.metaKey&&!i.shiftKey&&(i.preventDefault(),hh(o,i.currentTarget.getAttribute("href")))},target:r,...a},n)},HC=["h1","h2","h3","h4","h5","h6"],B$=HC.reduce((e,t)=>({...e,[t]:k(t)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})}),{}),R$=k.a(()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"})),I$=({as:e,id:t,children:r,...n})=>{let a=l.useContext(Ft),o=B$[e],i=`#${t}`;return y.createElement(o,{id:t,...n},y.createElement(R$,{"aria-hidden":"true",href:i,tabIndex:-1,target:"_self",onClick:s=>{NC.getElementById(t)&&hh(a,i)}},y.createElement(Az,null)),r)},mh=e=>{let{as:t,id:r,children:n,...a}=e;if(r)return y.createElement(I$,{as:t,id:r,...a},n);let o=t,{as:i,...s}=e;return y.createElement(o,{...ie(s,t)})},T$=HC.reduce((e,t)=>({...e,[t]:r=>y.createElement(mh,{as:t,...r})}),{}),z$=e=>{var t;if(!e.children)return null;if(typeof e.children!="string")throw new Error(GC`The Markdown block only accepts children as a single string, but children were of type: '${typeof e.children}' + This is often caused by not wrapping the child in a template string. + + This is invalid: + + # Some heading + A paragraph + + + Instead do: + + {\` + # Some heading + A paragraph + \`} + + `);return y.createElement(dC,{...e,options:{forceBlock:!0,overrides:{code:A$,a:_$,...T$,...(t=e==null?void 0:e.options)==null?void 0:t.overrides},...e==null?void 0:e.options}})},L$=(e=>(e.INFO="info",e.NOTES="notes",e.DOCGEN="docgen",e.AUTO="auto",e))(L$||{}),M$=e=>{var t,r,n,a,o,i,s,c;switch(e.type){case"story":return((r=(t=e.story.parameters.docs)==null?void 0:t.description)==null?void 0:r.story)||null;case"meta":{let{parameters:d,component:f}=e.preparedMeta;return((a=(n=d.docs)==null?void 0:n.description)==null?void 0:a.component)||((i=(o=d.docs)==null?void 0:o.extractComponentDescription)==null?void 0:i.call(o,f,{component:f,parameters:d}))||null}case"component":{let{component:d,projectAnnotations:{parameters:f}}=e;return((c=(s=f.docs)==null?void 0:s.extractComponentDescription)==null?void 0:c.call(s,d,{component:d,parameters:f}))||null}default:throw new Error(`Unrecognized module type resolved from 'useOf', got: ${e.type}`)}},M1=e=>{let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let r=Sn(t||"meta"),n=M$(r);return n?y.createElement(z$,null,n):null},$4=P1($z()),O$=k.div(({theme:e})=>({width:"10rem","@media (max-width: 768px)":{display:"none"}})),P$=k.div(({theme:e})=>({position:"fixed",bottom:0,top:0,width:"10rem",paddingTop:"4rem",paddingBottom:"2rem",overflowY:"auto",fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch","& *":{boxSizing:"border-box"},"& > .toc-wrapper > .toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`}}},"& .toc-list-item":{position:"relative",listStyleType:"none",marginLeft:20,paddingTop:3,paddingBottom:3},"& .toc-list-item::before":{content:'""',position:"absolute",height:"100%",top:0,left:0,transform:"translateX(calc(-2px - 20px))",borderLeft:`solid 2px ${e.color.mediumdark}`,opacity:0,transition:"opacity 0.2s"},"& .toc-list-item.is-active-li::before":{opacity:1},"& .toc-list-item > a":{color:e.color.defaultText,textDecoration:"none"},"& .toc-list-item.is-active-li > a":{fontWeight:600,color:e.color.secondary,textDecoration:"none"}})),N$=k.p(({theme:e})=>({fontWeight:600,fontSize:"0.875em",color:e.textColor,textTransform:"uppercase",marginBottom:10})),H$=({title:e})=>e===null?null:typeof e=="string"?y.createElement(N$,null,e):e,$$=({title:e,disable:t,headingSelector:r,contentsSelector:n,ignoreSelector:a,unsafeTocbotOptions:o,channel:i})=>(l.useEffect(()=>{if(t)return()=>{};let s={tocSelector:".toc-wrapper",contentSelector:n??".sbdocs-content",headingSelector:r??"h3",ignoreSelector:a??".docs-story *, .skip-toc",headingsOffset:40,scrollSmoothOffset:-40,orderedList:!1,onClick:d=>{if(d.preventDefault(),d.currentTarget instanceof HTMLAnchorElement){let[,f]=d.currentTarget.href.split("#");f&&i.emit(T8,`#${f}`)}},...o},c=setTimeout(()=>$4.init(s),100);return()=>{clearTimeout(c),$4.destroy()}},[i,t,a,n,r,o]),y.createElement(y.Fragment,null,y.createElement(O$,null,t?null:y.createElement(P$,null,y.createElement(H$,{title:e||null}),y.createElement("div",{className:"toc-wrapper"}))))),{document:j$,window:V$}=globalThis,U$=({context:e,theme:t,children:r})=>{var a,o,i,s,c;let n;try{n=(o=(a=e.resolveOf("meta",["meta"]).preparedMeta.parameters)==null?void 0:a.docs)==null?void 0:o.toc}catch{n=(c=(s=(i=e==null?void 0:e.projectAnnotations)==null?void 0:i.parameters)==null?void 0:s.docs)==null?void 0:c.toc}return l.useEffect(()=>{let d;try{if(d=new URL(V$.parent.location.toString()),d.hash){let f=j$.getElementById(decodeURIComponent(d.hash.substring(1)));f&&setTimeout(()=>{WP(f)},200)}}catch{}}),y.createElement(Ft.Provider,{value:e},y.createElement(p$,{channel:e.channel},y.createElement(Dy,{theme:Yx(t)},y.createElement(FL,{toc:n?y.createElement($$,{className:"sbdocs sbdocs-toc--custom",channel:e.channel,...n}):null},r))))},q$=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g,W$=Object.hasOwnProperty,G$=class{constructor(){this.occurrences,this.reset()}slug(e,t){let r=this,n=K$(e,t===!0),a=n;for(;W$.call(r.occurrences,n);)r.occurrences[a]++,n=a+"-"+r.occurrences[a];return r.occurrences[n]=0,n}reset(){this.occurrences=Object.create(null)}};function K$(e,t){return typeof e!="string"?"":(t||(e=e.toLowerCase()),e.replace(q$,"").replace(/ /g,"-"))}var $C=new G$,Y$=({children:e,disableAnchor:t,...r})=>{if(t||typeof e!="string")return y.createElement(Tf,null,e);let n=$C.slug(e.toLowerCase());return y.createElement(mh,{as:"h2",id:n,...r},e)},J$=({children:e,disableAnchor:t})=>{if(t||typeof e!="string")return y.createElement(zf,null,e);let r=$C.slug(e.toLowerCase());return y.createElement(mh,{as:"h3",id:r},e)},jC=({of:e,expanded:t=!0,withToolbar:r=!1,__forceInitialArgs:n=!1,__primary:a=!1})=>{var s,c;let{story:o}=Sn(e||"story",["story"]),i=((c=(s=o.parameters.docs)==null?void 0:s.canvas)==null?void 0:c.withToolbar)??r;return y.createElement(SC,{storyId:o.id},t&&y.createElement(y.Fragment,null,y.createElement(J$,null,o.name),y.createElement(M1,{of:e})),y.createElement(D$,{of:e,withToolbar:i,story:{__forceInitialArgs:n,__primary:a},source:{__forceInitialArgs:n}}))},Z$=e=>{let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let{csfFile:r}=Sn(t||"meta",["meta"]),n=l.useContext(Ft).componentStoriesFromCSFFile(r)[0];return n?y.createElement(jC,{of:n.moduleExport,expanded:!1,__primary:!0,withToolbar:!0}):null},X$=k(Y$)(({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"}})),Q$=({title:e="Stories",includePrimary:t=!0})=>{var s;let{componentStories:r,projectAnnotations:n,getStoryContext:a}=l.useContext(Ft),o=r(),{stories:{filter:i}={filter:void 0}}=((s=n.parameters)==null?void 0:s.docs)||{};return i&&(o=o.filter(c=>i(c,a(c)))),o.some(c=>{var d;return(d=c.tags)==null?void 0:d.includes("autodocs")})&&(o=o.filter(c=>{var d;return((d=c.tags)==null?void 0:d.includes("autodocs"))&&!c.usesMount})),t||(o=o.slice(1)),!o||o.length===0?null:y.createElement(y.Fragment,null,y.createElement(X$,null,e),o.map(c=>c&&y.createElement(jC,{key:c.id,of:c.moduleExport,expanded:!0,__forceInitialArgs:!0})))},ej="https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#subtitle-block-and-parameterscomponentsubtitle",tj=e=>{let{of:t,children:r}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let n;try{n=Sn(t||"meta",["meta"]).preparedMeta}catch(s){if(r&&!s.message.includes("did you forget to use ?"))throw s}let{componentSubtitle:a,docs:o}=(n==null?void 0:n.parameters)||{};a&&Iz(`Using 'parameters.componentSubtitle' property to subtitle stories is deprecated. See ${ej}`);let i=r||(o==null?void 0:o.subtitle)||a;return i?y.createElement(CL,{className:"sbdocs-subtitle sb-unstyled"},i):null},rj=/\s*\/\s*/,nj=e=>{let t=e.trim().split(rj);return(t==null?void 0:t[(t==null?void 0:t.length)-1])||e},aj=e=>{let{children:t,of:r}=e;if("of"in e&&r===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let n;try{n=Sn(r||"meta",["meta"]).preparedMeta}catch(o){if(t&&!o.message.includes("did you forget to use ?"))throw o}let a=t||nj(n==null?void 0:n.title);return a?y.createElement(EL,{className:"sbdocs-title sb-unstyled"},a):null},oj=()=>{let e=Sn("meta",["meta"]),{stories:t}=e.csfFile,r=Object.keys(t).length===1;return y.createElement(y.Fragment,null,y.createElement(aj,null),y.createElement(tj,null),y.createElement(M1,{of:"meta"}),r?y.createElement(M1,{of:"story"}):null,y.createElement(Z$,null),y.createElement(F$,null),r?null:y.createElement(Q$,null))};function Cj({context:e,docsParameter:t}){let r=t.container||U$,n=t.page||oj;return y.createElement(r,{context:e,theme:t.theme},y.createElement(n,null))}var xj=({of:e})=>{let t=l.useContext(Ft);e&&t.referenceMeta(e,!0);try{let r=t.storyById();return y.createElement(SC,{storyId:r.id})}catch{return null}};export{_$ as A,A$ as C,Cj as D,T$ as H,yj as M,Ia as Y,P1 as _,mn as a,xj as b,fj as d,Et as g,LT as n,IT as q,k as v}; diff --git a/storybook-static/assets/index-BrnU7xv7.js b/storybook-static/assets/index-BrnU7xv7.js new file mode 100644 index 0000000..095b5e3 --- /dev/null +++ b/storybook-static/assets/index-BrnU7xv7.js @@ -0,0 +1 @@ +import{R as e}from"./index-DJO9vBfz.js";const o={},c=e.createContext(o);function u(n){const t=e.useContext(c);return e.useMemo(function(){return typeof n=="function"?n(t):{...t,...n}},[t,n])}function m(n){let t;return n.disableParentContext?t=typeof n.components=="function"?n.components(o):n.components||o:t=u(n.components),e.createElement(c.Provider,{value:t},n.children)}export{m as MDXProvider,u as useMDXComponents}; diff --git a/storybook-static/assets/index-CFN9ZEHn.js b/storybook-static/assets/index-CFN9ZEHn.js new file mode 100644 index 0000000..5f490cc --- /dev/null +++ b/storybook-static/assets/index-CFN9ZEHn.js @@ -0,0 +1,24 @@ +import{r as _a,g as Na}from"./index-DJO9vBfz.js";var Co={exports:{}},ve={},xo={exports:{}},_o={};/** + * @license React + * scheduler.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */(function(e){function n(C,z){var P=C.length;C.push(z);e:for(;0>>1,Y=C[H];if(0>>1;Hl(sl,P))mnl(Xt,sl)?(C[H]=Xt,C[mn]=P,H=mn):(C[H]=sl,C[pn]=P,H=pn);else if(mnl(Xt,P))C[H]=Xt,C[mn]=P,H=mn;else break e}}return z}function l(C,z){var P=C.sortIndex-z.sortIndex;return P!==0?P:C.id-z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var u=performance;e.unstable_now=function(){return u.now()}}else{var i=Date,o=i.now();e.unstable_now=function(){return i.now()-o}}var s=[],d=[],v=1,m=null,p=3,g=!1,w=!1,k=!1,O=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,a=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function c(C){for(var z=t(d);z!==null;){if(z.callback===null)r(d);else if(z.startTime<=C)r(d),z.sortIndex=z.expirationTime,n(s,z);else break;z=t(d)}}function h(C){if(k=!1,c(C),!w)if(t(s)!==null)w=!0,il(E);else{var z=t(d);z!==null&&ol(h,z.startTime-C)}}function E(C,z){w=!1,k&&(k=!1,f(N),N=-1),g=!0;var P=p;try{for(c(z),m=t(s);m!==null&&(!(m.expirationTime>z)||C&&!Ce());){var H=m.callback;if(typeof H=="function"){m.callback=null,p=m.priorityLevel;var Y=H(m.expirationTime<=z);z=e.unstable_now(),typeof Y=="function"?m.callback=Y:m===t(s)&&r(s),c(z)}else r(s);m=t(s)}if(m!==null)var Yt=!0;else{var pn=t(d);pn!==null&&ol(h,pn.startTime-z),Yt=!1}return Yt}finally{m=null,p=P,g=!1}}var x=!1,_=null,N=-1,B=5,T=-1;function Ce(){return!(e.unstable_now()-TC||125H?(C.sortIndex=P,n(d,C),t(s)===null&&C===t(d)&&(k?(f(N),N=-1):k=!0,ol(h,P-H))):(C.sortIndex=Y,n(s,C),w||g||(w=!0,il(E))),C},e.unstable_shouldYield=Ce,e.unstable_wrapCallback=function(C){var z=p;return function(){var P=p;p=z;try{return C.apply(this,arguments)}finally{p=P}}}})(_o);xo.exports=_o;var za=xo.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Pa=_a,me=za;function y(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Fl=Object.prototype.hasOwnProperty,Ta=/^[: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]*$/,yi={},gi={};function La(e){return Fl.call(gi,e)?!0:Fl.call(yi,e)?!1:Ta.test(e)?gi[e]=!0:(yi[e]=!0,!1)}function Ma(e,n,t,r){if(t!==null&&t.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return r?!1:t!==null?!t.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Da(e,n,t,r){if(n===null||typeof n>"u"||Ma(e,n,t,r))return!0;if(r)return!1;if(t!==null)switch(t.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function ue(e,n,t,r,l,u,i){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=t,this.propertyName=e,this.type=n,this.sanitizeURL=u,this.removeEmptyString=i}var q={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){q[e]=new ue(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];q[n]=new ue(n,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){q[e]=new ue(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){q[e]=new ue(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){q[e]=new ue(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){q[e]=new ue(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){q[e]=new ue(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){q[e]=new ue(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){q[e]=new ue(e,5,!1,e.toLowerCase(),null,!1,!1)});var Nu=/[\-:]([a-z])/g;function zu(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var n=e.replace(Nu,zu);q[n]=new ue(n,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(Nu,zu);q[n]=new ue(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(Nu,zu);q[n]=new ue(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){q[e]=new ue(e,1,!1,e.toLowerCase(),null,!1,!1)});q.xlinkHref=new ue("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){q[e]=new ue(e,1,!1,e.toLowerCase(),null,!0,!0)});function Pu(e,n,t,r){var l=q.hasOwnProperty(n)?q[n]:null;(l!==null?l.type!==0:r||!(2o||l[i]!==u[o]){var s=` +`+l[i].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=i&&0<=o);break}}}finally{fl=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?pt(e):""}function Ra(e){switch(e.tag){case 5:return pt(e.type);case 16:return pt("Lazy");case 13:return pt("Suspense");case 19:return pt("SuspenseList");case 0:case 2:case 15:return e=cl(e.type,!1),e;case 11:return e=cl(e.type.render,!1),e;case 1:return e=cl(e.type,!0),e;default:return""}}function Ul(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Mn:return"Fragment";case Ln:return"Portal";case Ol:return"Profiler";case Tu:return"StrictMode";case Il:return"Suspense";case jl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Po:return(e.displayName||"Context")+".Consumer";case zo:return(e._context.displayName||"Context")+".Provider";case Lu:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Mu:return n=e.displayName||null,n!==null?n:Ul(e.type)||"Memo";case Ye:n=e._payload,e=e._init;try{return Ul(e(n))}catch{}}return null}function Fa(e){var n=e.type;switch(e.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=n.render,e=e.displayName||e.name||"",n.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Ul(n);case 8:return n===Tu?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n}return null}function sn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Lo(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function Oa(e){var n=Lo(e)?"checked":"value",t=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),r=""+e[n];if(!e.hasOwnProperty(n)&&typeof t<"u"&&typeof t.get=="function"&&typeof t.set=="function"){var l=t.get,u=t.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return l.call(this)},set:function(i){r=""+i,u.call(this,i)}}),Object.defineProperty(e,n,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function Zt(e){e._valueTracker||(e._valueTracker=Oa(e))}function Mo(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),r="";return e&&(r=Lo(e)?e.checked?"true":"false":e.value),e=r,e!==t?(n.setValue(e),!0):!1}function Sr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Vl(e,n){var t=n.checked;return V({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t??e._wrapperState.initialChecked})}function ki(e,n){var t=n.defaultValue==null?"":n.defaultValue,r=n.checked!=null?n.checked:n.defaultChecked;t=sn(n.value!=null?n.value:t),e._wrapperState={initialChecked:r,initialValue:t,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function Do(e,n){n=n.checked,n!=null&&Pu(e,"checked",n,!1)}function Al(e,n){Do(e,n);var t=sn(n.value),r=n.type;if(t!=null)r==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+t):e.value!==""+t&&(e.value=""+t);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}n.hasOwnProperty("value")?Bl(e,n.type,t):n.hasOwnProperty("defaultValue")&&Bl(e,n.type,sn(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function Si(e,n,t){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var r=n.type;if(!(r!=="submit"&&r!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+e._wrapperState.initialValue,t||n===e.value||(e.value=n),e.defaultValue=n}t=e.name,t!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,t!==""&&(e.name=t)}function Bl(e,n,t){(n!=="number"||Sr(e.ownerDocument)!==e)&&(t==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}var mt=Array.isArray;function Hn(e,n,t,r){if(e=e.options,n){n={};for(var l=0;l"+n.valueOf().toString()+"",n=Jt.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function zt(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&t.nodeType===3){t.nodeValue=n;return}}e.textContent=n}var yt={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Ia=["Webkit","ms","Moz","O"];Object.keys(yt).forEach(function(e){Ia.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),yt[n]=yt[e]})});function Io(e,n,t){return n==null||typeof n=="boolean"||n===""?"":t||typeof n!="number"||n===0||yt.hasOwnProperty(e)&&yt[e]?(""+n).trim():n+"px"}function jo(e,n){e=e.style;for(var t in n)if(n.hasOwnProperty(t)){var r=t.indexOf("--")===0,l=Io(t,n[t],r);t==="float"&&(t="cssFloat"),r?e.setProperty(t,l):e[t]=l}}var ja=V({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Wl(e,n){if(n){if(ja[e]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(y(137,e));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(y(60));if(typeof n.dangerouslySetInnerHTML!="object"||!("__html"in n.dangerouslySetInnerHTML))throw Error(y(61))}if(n.style!=null&&typeof n.style!="object")throw Error(y(62))}}function $l(e,n){if(e.indexOf("-")===-1)return typeof n.is=="string";switch(e){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!1;default:return!0}}var Kl=null;function Du(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Yl=null,Qn=null,Wn=null;function xi(e){if(e=$t(e)){if(typeof Yl!="function")throw Error(y(280));var n=e.stateNode;n&&(n=Gr(n),Yl(e.stateNode,e.type,n))}}function Uo(e){Qn?Wn?Wn.push(e):Wn=[e]:Qn=e}function Vo(){if(Qn){var e=Qn,n=Wn;if(Wn=Qn=null,xi(e),n)for(e=0;e>>=0,e===0?32:31-(Xa(e)/Ga|0)|0}var qt=64,bt=4194304;function vt(e){switch(e&-e){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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function _r(e,n){var t=e.pendingLanes;if(t===0)return 0;var r=0,l=e.suspendedLanes,u=e.pingedLanes,i=t&268435455;if(i!==0){var o=i&~l;o!==0?r=vt(o):(u&=i,u!==0&&(r=vt(u)))}else i=t&~l,i!==0?r=vt(i):u!==0&&(r=vt(u));if(r===0)return 0;if(n!==0&&n!==r&&!(n&l)&&(l=r&-r,u=n&-n,l>=u||l===16&&(u&4194240)!==0))return n;if(r&4&&(r|=t&16),n=e.entangledLanes,n!==0)for(e=e.entanglements,n&=r;0t;t++)n.push(e);return n}function Qt(e,n,t){e.pendingLanes|=n,n!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,n=31-Pe(n),e[n]=t}function ba(e,n){var t=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n,n=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=wt),Ri=" ",Fi=!1;function us(e,n){switch(e){case"keyup":return Pf.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function is(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Dn=!1;function Lf(e,n){switch(e){case"compositionend":return is(n);case"keypress":return n.which!==32?null:(Fi=!0,Ri);case"textInput":return e=n.data,e===Ri&&Fi?null:e;default:return null}}function Mf(e,n){if(Dn)return e==="compositionend"||!Au&&us(e,n)?(e=rs(),dr=ju=Je=null,Dn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1=n)return{node:t,offset:n-e};e=r}e:{for(;t;){if(t.nextSibling){t=t.nextSibling;break e}t=t.parentNode}t=void 0}t=Ui(t)}}function fs(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?fs(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function cs(){for(var e=window,n=Sr();n instanceof e.HTMLIFrameElement;){try{var t=typeof n.contentWindow.location.href=="string"}catch{t=!1}if(t)e=n.contentWindow;else break;n=Sr(e.document)}return n}function Bu(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}function Af(e){var n=cs(),t=e.focusedElem,r=e.selectionRange;if(n!==t&&t&&t.ownerDocument&&fs(t.ownerDocument.documentElement,t)){if(r!==null&&Bu(t)){if(n=r.start,e=r.end,e===void 0&&(e=n),"selectionStart"in t)t.selectionStart=n,t.selectionEnd=Math.min(e,t.value.length);else if(e=(n=t.ownerDocument||document)&&n.defaultView||window,e.getSelection){e=e.getSelection();var l=t.textContent.length,u=Math.min(r.start,l);r=r.end===void 0?u:Math.min(r.end,l),!e.extend&&u>r&&(l=r,r=u,u=l),l=Vi(t,u);var i=Vi(t,r);l&&i&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(n=n.createRange(),n.setStart(l.node,l.offset),e.removeAllRanges(),u>r?(e.addRange(n),e.extend(i.node,i.offset)):(n.setEnd(i.node,i.offset),e.addRange(n)))}}for(n=[],e=t;e=e.parentNode;)e.nodeType===1&&n.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof t.focus=="function"&&t.focus(),t=0;t=document.documentMode,Rn=null,bl=null,St=null,eu=!1;function Ai(e,n,t){var r=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;eu||Rn==null||Rn!==Sr(r)||(r=Rn,"selectionStart"in r&&Bu(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),St&&Rt(St,r)||(St=r,r=Pr(bl,"onSelect"),0In||(e.current=iu[In],iu[In]=null,In--)}function D(e,n){In++,iu[In]=e.current,e.current=n}var an={},te=cn(an),se=cn(!1),En=an;function Gn(e,n){var t=e.type.contextTypes;if(!t)return an;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===n)return r.__reactInternalMemoizedMaskedChildContext;var l={},u;for(u in t)l[u]=n[u];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=l),l}function ae(e){return e=e.childContextTypes,e!=null}function Lr(){F(se),F(te)}function Yi(e,n,t){if(te.current!==an)throw Error(y(168));D(te,n),D(se,t)}function ks(e,n,t){var r=e.stateNode;if(n=n.childContextTypes,typeof r.getChildContext!="function")return t;r=r.getChildContext();for(var l in r)if(!(l in n))throw Error(y(108,Fa(e)||"Unknown",l));return V({},t,r)}function Mr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||an,En=te.current,D(te,e),D(se,se.current),!0}function Xi(e,n,t){var r=e.stateNode;if(!r)throw Error(y(169));t?(e=ks(e,n,En),r.__reactInternalMemoizedMergedChildContext=e,F(se),F(te),D(te,e)):F(se),D(se,t)}var je=null,Zr=!1,_l=!1;function Ss(e){je===null?je=[e]:je.push(e)}function qf(e){Zr=!0,Ss(e)}function dn(){if(!_l&&je!==null){_l=!0;var e=0,n=M;try{var t=je;for(M=1;e>=i,l-=i,Ue=1<<32-Pe(n)+l|t<N?(B=_,_=null):B=_.sibling;var T=p(f,_,c[N],h);if(T===null){_===null&&(_=B);break}e&&_&&T.alternate===null&&n(f,_),a=u(T,a,N),x===null?E=T:x.sibling=T,x=T,_=B}if(N===c.length)return t(f,_),I&&vn(f,N),E;if(_===null){for(;NN?(B=_,_=null):B=_.sibling;var Ce=p(f,_,T.value,h);if(Ce===null){_===null&&(_=B);break}e&&_&&Ce.alternate===null&&n(f,_),a=u(Ce,a,N),x===null?E=Ce:x.sibling=Ce,x=Ce,_=B}if(T.done)return t(f,_),I&&vn(f,N),E;if(_===null){for(;!T.done;N++,T=c.next())T=m(f,T.value,h),T!==null&&(a=u(T,a,N),x===null?E=T:x.sibling=T,x=T);return I&&vn(f,N),E}for(_=r(f,_);!T.done;N++,T=c.next())T=g(_,f,N,T.value,h),T!==null&&(e&&T.alternate!==null&&_.delete(T.key===null?N:T.key),a=u(T,a,N),x===null?E=T:x.sibling=T,x=T);return e&&_.forEach(function(rt){return n(f,rt)}),I&&vn(f,N),E}function O(f,a,c,h){if(typeof c=="object"&&c!==null&&c.type===Mn&&c.key===null&&(c=c.props.children),typeof c=="object"&&c!==null){switch(c.$$typeof){case Gt:e:{for(var E=c.key,x=a;x!==null;){if(x.key===E){if(E=c.type,E===Mn){if(x.tag===7){t(f,x.sibling),a=l(x,c.props.children),a.return=f,f=a;break e}}else if(x.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===Ye&&Ji(E)===x.type){t(f,x.sibling),a=l(x,c.props),a.ref=ft(f,x,c),a.return=f,f=a;break e}t(f,x);break}else n(f,x);x=x.sibling}c.type===Mn?(a=Sn(c.props.children,f.mode,h,c.key),a.return=f,f=a):(h=kr(c.type,c.key,c.props,null,f.mode,h),h.ref=ft(f,a,c),h.return=f,f=h)}return i(f);case Ln:e:{for(x=c.key;a!==null;){if(a.key===x)if(a.tag===4&&a.stateNode.containerInfo===c.containerInfo&&a.stateNode.implementation===c.implementation){t(f,a.sibling),a=l(a,c.children||[]),a.return=f,f=a;break e}else{t(f,a);break}else n(f,a);a=a.sibling}a=Rl(c,f.mode,h),a.return=f,f=a}return i(f);case Ye:return x=c._init,O(f,a,x(c._payload),h)}if(mt(c))return w(f,a,c,h);if(ut(c))return k(f,a,c,h);ir(f,c)}return typeof c=="string"&&c!==""||typeof c=="number"?(c=""+c,a!==null&&a.tag===6?(t(f,a.sibling),a=l(a,c),a.return=f,f=a):(t(f,a),a=Dl(c,f.mode,h),a.return=f,f=a),i(f)):t(f,a)}return O}var Jn=_s(!0),Ns=_s(!1),Fr=cn(null),Or=null,Vn=null,$u=null;function Ku(){$u=Vn=Or=null}function Yu(e){var n=Fr.current;F(Fr),e._currentValue=n}function au(e,n,t){for(;e!==null;){var r=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,r!==null&&(r.childLanes|=n)):r!==null&&(r.childLanes&n)!==n&&(r.childLanes|=n),e===t)break;e=e.return}}function Kn(e,n){Or=e,$u=Vn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&n&&(oe=!0),e.firstContext=null)}function Se(e){var n=e._currentValue;if($u!==e)if(e={context:e,memoizedValue:n,next:null},Vn===null){if(Or===null)throw Error(y(308));Vn=e,Or.dependencies={lanes:0,firstContext:e}}else Vn=Vn.next=e;return n}var gn=null;function Xu(e){gn===null?gn=[e]:gn.push(e)}function zs(e,n,t,r){var l=n.interleaved;return l===null?(t.next=t,Xu(n)):(t.next=l.next,l.next=t),n.interleaved=t,Qe(e,r)}function Qe(e,n){e.lanes|=n;var t=e.alternate;for(t!==null&&(t.lanes|=n),t=e,e=e.return;e!==null;)e.childLanes|=n,t=e.alternate,t!==null&&(t.childLanes|=n),t=e,e=e.return;return t.tag===3?t.stateNode:null}var Xe=!1;function Gu(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ps(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ae(e,n){return{eventTime:e,lane:n,tag:0,payload:null,callback:null,next:null}}function rn(e,n,t){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,L&2){var l=r.pending;return l===null?n.next=n:(n.next=l.next,l.next=n),r.pending=n,Qe(e,t)}return l=r.interleaved,l===null?(n.next=n,Xu(r)):(n.next=l.next,l.next=n),r.interleaved=n,Qe(e,t)}function mr(e,n,t){if(n=n.updateQueue,n!==null&&(n=n.shared,(t&4194240)!==0)){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,Fu(e,t)}}function qi(e,n){var t=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,t===r)){var l=null,u=null;if(t=t.firstBaseUpdate,t!==null){do{var i={eventTime:t.eventTime,lane:t.lane,tag:t.tag,payload:t.payload,callback:t.callback,next:null};u===null?l=u=i:u=u.next=i,t=t.next}while(t!==null);u===null?l=u=n:u=u.next=n}else l=u=n;t={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:u,shared:r.shared,effects:r.effects},e.updateQueue=t;return}e=t.lastBaseUpdate,e===null?t.firstBaseUpdate=n:e.next=n,t.lastBaseUpdate=n}function Ir(e,n,t,r){var l=e.updateQueue;Xe=!1;var u=l.firstBaseUpdate,i=l.lastBaseUpdate,o=l.shared.pending;if(o!==null){l.shared.pending=null;var s=o,d=s.next;s.next=null,i===null?u=d:i.next=d,i=s;var v=e.alternate;v!==null&&(v=v.updateQueue,o=v.lastBaseUpdate,o!==i&&(o===null?v.firstBaseUpdate=d:o.next=d,v.lastBaseUpdate=s))}if(u!==null){var m=l.baseState;i=0,v=d=s=null,o=u;do{var p=o.lane,g=o.eventTime;if((r&p)===p){v!==null&&(v=v.next={eventTime:g,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var w=e,k=o;switch(p=n,g=t,k.tag){case 1:if(w=k.payload,typeof w=="function"){m=w.call(g,m,p);break e}m=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=k.payload,p=typeof w=="function"?w.call(g,m,p):w,p==null)break e;m=V({},m,p);break e;case 2:Xe=!0}}o.callback!==null&&o.lane!==0&&(e.flags|=64,p=l.effects,p===null?l.effects=[o]:p.push(o))}else g={eventTime:g,lane:p,tag:o.tag,payload:o.payload,callback:o.callback,next:null},v===null?(d=v=g,s=m):v=v.next=g,i|=p;if(o=o.next,o===null){if(o=l.shared.pending,o===null)break;p=o,o=p.next,p.next=null,l.lastBaseUpdate=p,l.shared.pending=null}}while(!0);if(v===null&&(s=m),l.baseState=s,l.firstBaseUpdate=d,l.lastBaseUpdate=v,n=l.shared.interleaved,n!==null){l=n;do i|=l.lane,l=l.next;while(l!==n)}else u===null&&(l.shared.lanes=0);_n|=i,e.lanes=i,e.memoizedState=m}}function bi(e,n,t){if(e=n.effects,n.effects=null,e!==null)for(n=0;nt?t:4,e(!0);var r=zl.transition;zl.transition={};try{e(!1),n()}finally{M=t,zl.transition=r}}function $s(){return Ee().memoizedState}function tc(e,n,t){var r=un(e);if(t={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null},Ks(e))Ys(n,t);else if(t=zs(e,n,t,r),t!==null){var l=le();Te(t,e,r,l),Xs(t,n,r)}}function rc(e,n,t){var r=un(e),l={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null};if(Ks(e))Ys(n,l);else{var u=e.alternate;if(e.lanes===0&&(u===null||u.lanes===0)&&(u=n.lastRenderedReducer,u!==null))try{var i=n.lastRenderedState,o=u(i,t);if(l.hasEagerState=!0,l.eagerState=o,Le(o,i)){var s=n.interleaved;s===null?(l.next=l,Xu(n)):(l.next=s.next,s.next=l),n.interleaved=l;return}}catch{}finally{}t=zs(e,n,l,r),t!==null&&(l=le(),Te(t,e,r,l),Xs(t,n,r))}}function Ks(e){var n=e.alternate;return e===U||n!==null&&n===U}function Ys(e,n){Et=Ur=!0;var t=e.pending;t===null?n.next=n:(n.next=t.next,t.next=n),e.pending=n}function Xs(e,n,t){if(t&4194240){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,Fu(e,t)}}var Vr={readContext:Se,useCallback:b,useContext:b,useEffect:b,useImperativeHandle:b,useInsertionEffect:b,useLayoutEffect:b,useMemo:b,useReducer:b,useRef:b,useState:b,useDebugValue:b,useDeferredValue:b,useTransition:b,useMutableSource:b,useSyncExternalStore:b,useId:b,unstable_isNewReconciler:!1},lc={readContext:Se,useCallback:function(e,n){return De().memoizedState=[e,n===void 0?null:n],e},useContext:Se,useEffect:no,useImperativeHandle:function(e,n,t){return t=t!=null?t.concat([e]):null,hr(4194308,4,As.bind(null,n,e),t)},useLayoutEffect:function(e,n){return hr(4194308,4,e,n)},useInsertionEffect:function(e,n){return hr(4,2,e,n)},useMemo:function(e,n){var t=De();return n=n===void 0?null:n,e=e(),t.memoizedState=[e,n],e},useReducer:function(e,n,t){var r=De();return n=t!==void 0?t(n):n,r.memoizedState=r.baseState=n,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},r.queue=e,e=e.dispatch=tc.bind(null,U,e),[r.memoizedState,e]},useRef:function(e){var n=De();return e={current:e},n.memoizedState=e},useState:eo,useDebugValue:ri,useDeferredValue:function(e){return De().memoizedState=e},useTransition:function(){var e=eo(!1),n=e[0];return e=nc.bind(null,e[1]),De().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,t){var r=U,l=De();if(I){if(t===void 0)throw Error(y(407));t=t()}else{if(t=n(),G===null)throw Error(y(349));xn&30||Ds(r,n,t)}l.memoizedState=t;var u={value:t,getSnapshot:n};return l.queue=u,no(Fs.bind(null,r,u,e),[e]),r.flags|=2048,Bt(9,Rs.bind(null,r,u,t,n),void 0,null),t},useId:function(){var e=De(),n=G.identifierPrefix;if(I){var t=Ve,r=Ue;t=(r&~(1<<32-Pe(r)-1)).toString(32)+t,n=":"+n+"R"+t,t=Vt++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(t,{is:r.is}):(e=i.createElement(t),t==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,t),e[Re]=n,e[It]=r,la(e,n,!1,!1),n.stateNode=e;e:{switch(i=$l(t,r),t){case"dialog":R("cancel",e),R("close",e),l=r;break;case"iframe":case"object":case"embed":R("load",e),l=r;break;case"video":case"audio":for(l=0;let&&(n.flags|=128,r=!0,ct(u,!1),n.lanes=4194304)}else{if(!r)if(e=jr(i),e!==null){if(n.flags|=128,r=!0,t=e.updateQueue,t!==null&&(n.updateQueue=t,n.flags|=4),ct(u,!0),u.tail===null&&u.tailMode==="hidden"&&!i.alternate&&!I)return ee(n),null}else 2*Q()-u.renderingStartTime>et&&t!==1073741824&&(n.flags|=128,r=!0,ct(u,!1),n.lanes=4194304);u.isBackwards?(i.sibling=n.child,n.child=i):(t=u.last,t!==null?t.sibling=i:n.child=i,u.last=i)}return u.tail!==null?(n=u.tail,u.rendering=n,u.tail=n.sibling,u.renderingStartTime=Q(),n.sibling=null,t=j.current,D(j,r?t&1|2:t&1),n):(ee(n),null);case 22:case 23:return ai(),r=n.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(n.flags|=8192),r&&n.mode&1?ce&1073741824&&(ee(n),n.subtreeFlags&6&&(n.flags|=8192)):ee(n),null;case 24:return null;case 25:return null}throw Error(y(156,n.tag))}function dc(e,n){switch(Qu(n),n.tag){case 1:return ae(n.type)&&Lr(),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return qn(),F(se),F(te),qu(),e=n.flags,e&65536&&!(e&128)?(n.flags=e&-65537|128,n):null;case 5:return Ju(n),null;case 13:if(F(j),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(y(340));Zn()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return F(j),null;case 4:return qn(),null;case 10:return Yu(n.type._context),null;case 22:case 23:return ai(),null;case 24:return null;default:return null}}var sr=!1,ne=!1,pc=typeof WeakSet=="function"?WeakSet:Set,S=null;function An(e,n){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){A(e,n,r)}else t.current=null}function gu(e,n,t){try{t()}catch(r){A(e,n,r)}}var po=!1;function mc(e,n){if(nu=Nr,e=cs(),Bu(e)){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{t=(t=e.ownerDocument)&&t.defaultView||window;var r=t.getSelection&&t.getSelection();if(r&&r.rangeCount!==0){t=r.anchorNode;var l=r.anchorOffset,u=r.focusNode;r=r.focusOffset;try{t.nodeType,u.nodeType}catch{t=null;break e}var i=0,o=-1,s=-1,d=0,v=0,m=e,p=null;n:for(;;){for(var g;m!==t||l!==0&&m.nodeType!==3||(o=i+l),m!==u||r!==0&&m.nodeType!==3||(s=i+r),m.nodeType===3&&(i+=m.nodeValue.length),(g=m.firstChild)!==null;)p=m,m=g;for(;;){if(m===e)break n;if(p===t&&++d===l&&(o=i),p===u&&++v===r&&(s=i),(g=m.nextSibling)!==null)break;m=p,p=m.parentNode}m=g}t=o===-1||s===-1?null:{start:o,end:s}}else t=null}t=t||{start:0,end:0}}else t=null;for(tu={focusedElem:e,selectionRange:t},Nr=!1,S=n;S!==null;)if(n=S,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,S=e;else for(;S!==null;){n=S;try{var w=n.alternate;if(n.flags&1024)switch(n.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var k=w.memoizedProps,O=w.memoizedState,f=n.stateNode,a=f.getSnapshotBeforeUpdate(n.elementType===n.type?k:_e(n.type,k),O);f.__reactInternalSnapshotBeforeUpdate=a}break;case 3:var c=n.stateNode.containerInfo;c.nodeType===1?c.textContent="":c.nodeType===9&&c.documentElement&&c.removeChild(c.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(y(163))}}catch(h){A(n,n.return,h)}if(e=n.sibling,e!==null){e.return=n.return,S=e;break}S=n.return}return w=po,po=!1,w}function Ct(e,n,t){var r=n.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var u=l.destroy;l.destroy=void 0,u!==void 0&&gu(n,t,u)}l=l.next}while(l!==r)}}function br(e,n){if(n=n.updateQueue,n=n!==null?n.lastEffect:null,n!==null){var t=n=n.next;do{if((t.tag&e)===e){var r=t.create;t.destroy=r()}t=t.next}while(t!==n)}}function wu(e){var n=e.ref;if(n!==null){var t=e.stateNode;switch(e.tag){case 5:e=t;break;default:e=t}typeof n=="function"?n(e):n.current=e}}function oa(e){var n=e.alternate;n!==null&&(e.alternate=null,oa(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&(delete n[Re],delete n[It],delete n[uu],delete n[Zf],delete n[Jf])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function sa(e){return e.tag===5||e.tag===3||e.tag===4}function mo(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||sa(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function ku(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.nodeType===8?t.parentNode.insertBefore(e,n):t.insertBefore(e,n):(t.nodeType===8?(n=t.parentNode,n.insertBefore(e,t)):(n=t,n.appendChild(e)),t=t._reactRootContainer,t!=null||n.onclick!==null||(n.onclick=Tr));else if(r!==4&&(e=e.child,e!==null))for(ku(e,n,t),e=e.sibling;e!==null;)ku(e,n,t),e=e.sibling}function Su(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.insertBefore(e,n):t.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Su(e,n,t),e=e.sibling;e!==null;)Su(e,n,t),e=e.sibling}var Z=null,Ne=!1;function Ke(e,n,t){for(t=t.child;t!==null;)aa(e,n,t),t=t.sibling}function aa(e,n,t){if(Fe&&typeof Fe.onCommitFiberUnmount=="function")try{Fe.onCommitFiberUnmount($r,t)}catch{}switch(t.tag){case 5:ne||An(t,n);case 6:var r=Z,l=Ne;Z=null,Ke(e,n,t),Z=r,Ne=l,Z!==null&&(Ne?(e=Z,t=t.stateNode,e.nodeType===8?e.parentNode.removeChild(t):e.removeChild(t)):Z.removeChild(t.stateNode));break;case 18:Z!==null&&(Ne?(e=Z,t=t.stateNode,e.nodeType===8?xl(e.parentNode,t):e.nodeType===1&&xl(e,t),Mt(e)):xl(Z,t.stateNode));break;case 4:r=Z,l=Ne,Z=t.stateNode.containerInfo,Ne=!0,Ke(e,n,t),Z=r,Ne=l;break;case 0:case 11:case 14:case 15:if(!ne&&(r=t.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var u=l,i=u.destroy;u=u.tag,i!==void 0&&(u&2||u&4)&&gu(t,n,i),l=l.next}while(l!==r)}Ke(e,n,t);break;case 1:if(!ne&&(An(t,n),r=t.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=t.memoizedProps,r.state=t.memoizedState,r.componentWillUnmount()}catch(o){A(t,n,o)}Ke(e,n,t);break;case 21:Ke(e,n,t);break;case 22:t.mode&1?(ne=(r=ne)||t.memoizedState!==null,Ke(e,n,t),ne=r):Ke(e,n,t);break;default:Ke(e,n,t)}}function vo(e){var n=e.updateQueue;if(n!==null){e.updateQueue=null;var t=e.stateNode;t===null&&(t=e.stateNode=new pc),n.forEach(function(r){var l=Cc.bind(null,e,r);t.has(r)||(t.add(r),r.then(l,l))})}}function xe(e,n){var t=n.deletions;if(t!==null)for(var r=0;rl&&(l=i),r&=~u}if(r=l,r=Q()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*hc(r/1960))-r,10e?16:e,qe===null)var r=!1;else{if(e=qe,qe=null,Hr=0,L&6)throw Error(y(331));var l=L;for(L|=4,S=e.current;S!==null;){var u=S,i=u.child;if(S.flags&16){var o=u.deletions;if(o!==null){for(var s=0;sQ()-oi?kn(e,0):ii|=t),fe(e,n)}function ya(e,n){n===0&&(e.mode&1?(n=bt,bt<<=1,!(bt&130023424)&&(bt=4194304)):n=1);var t=le();e=Qe(e,n),e!==null&&(Qt(e,n,t),fe(e,t))}function Ec(e){var n=e.memoizedState,t=0;n!==null&&(t=n.retryLane),ya(e,t)}function Cc(e,n){var t=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(t=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(y(314))}r!==null&&r.delete(n),ya(e,t)}var ga;ga=function(e,n,t){if(e!==null)if(e.memoizedProps!==n.pendingProps||se.current)oe=!0;else{if(!(e.lanes&t)&&!(n.flags&128))return oe=!1,fc(e,n,t);oe=!!(e.flags&131072)}else oe=!1,I&&n.flags&1048576&&Es(n,Rr,n.index);switch(n.lanes=0,n.tag){case 2:var r=n.type;yr(e,n),e=n.pendingProps;var l=Gn(n,te.current);Kn(n,t),l=ei(null,n,r,e,l,t);var u=ni();return n.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(n.tag=1,n.memoizedState=null,n.updateQueue=null,ae(r)?(u=!0,Mr(n)):u=!1,n.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Gu(n),l.updater=qr,n.stateNode=l,l._reactInternals=n,cu(n,r,e,t),n=mu(null,n,r,!0,u,t)):(n.tag=0,I&&u&&Hu(n),re(null,n,l,t),n=n.child),n;case 16:r=n.elementType;e:{switch(yr(e,n),e=n.pendingProps,l=r._init,r=l(r._payload),n.type=r,l=n.tag=_c(r),e=_e(r,e),l){case 0:n=pu(null,n,r,e,t);break e;case 1:n=ao(null,n,r,e,t);break e;case 11:n=oo(null,n,r,e,t);break e;case 14:n=so(null,n,r,_e(r.type,e),t);break e}throw Error(y(306,r,""))}return n;case 0:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:_e(r,l),pu(e,n,r,l,t);case 1:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:_e(r,l),ao(e,n,r,l,t);case 3:e:{if(na(n),e===null)throw Error(y(387));r=n.pendingProps,u=n.memoizedState,l=u.element,Ps(e,n),Ir(n,r,null,t);var i=n.memoizedState;if(r=i.element,u.isDehydrated)if(u={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},n.updateQueue.baseState=u,n.memoizedState=u,n.flags&256){l=bn(Error(y(423)),n),n=fo(e,n,r,t,l);break e}else if(r!==l){l=bn(Error(y(424)),n),n=fo(e,n,r,t,l);break e}else for(de=tn(n.stateNode.containerInfo.firstChild),pe=n,I=!0,ze=null,t=Ns(n,null,r,t),n.child=t;t;)t.flags=t.flags&-3|4096,t=t.sibling;else{if(Zn(),r===l){n=We(e,n,t);break e}re(e,n,r,t)}n=n.child}return n;case 5:return Ts(n),e===null&&su(n),r=n.type,l=n.pendingProps,u=e!==null?e.memoizedProps:null,i=l.children,ru(r,l)?i=null:u!==null&&ru(r,u)&&(n.flags|=32),ea(e,n),re(e,n,i,t),n.child;case 6:return e===null&&su(n),null;case 13:return ta(e,n,t);case 4:return Zu(n,n.stateNode.containerInfo),r=n.pendingProps,e===null?n.child=Jn(n,null,r,t):re(e,n,r,t),n.child;case 11:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:_e(r,l),oo(e,n,r,l,t);case 7:return re(e,n,n.pendingProps,t),n.child;case 8:return re(e,n,n.pendingProps.children,t),n.child;case 12:return re(e,n,n.pendingProps.children,t),n.child;case 10:e:{if(r=n.type._context,l=n.pendingProps,u=n.memoizedProps,i=l.value,D(Fr,r._currentValue),r._currentValue=i,u!==null)if(Le(u.value,i)){if(u.children===l.children&&!se.current){n=We(e,n,t);break e}}else for(u=n.child,u!==null&&(u.return=n);u!==null;){var o=u.dependencies;if(o!==null){i=u.child;for(var s=o.firstContext;s!==null;){if(s.context===r){if(u.tag===1){s=Ae(-1,t&-t),s.tag=2;var d=u.updateQueue;if(d!==null){d=d.shared;var v=d.pending;v===null?s.next=s:(s.next=v.next,v.next=s),d.pending=s}}u.lanes|=t,s=u.alternate,s!==null&&(s.lanes|=t),au(u.return,t,n),o.lanes|=t;break}s=s.next}}else if(u.tag===10)i=u.type===n.type?null:u.child;else if(u.tag===18){if(i=u.return,i===null)throw Error(y(341));i.lanes|=t,o=i.alternate,o!==null&&(o.lanes|=t),au(i,t,n),i=u.sibling}else i=u.child;if(i!==null)i.return=u;else for(i=u;i!==null;){if(i===n){i=null;break}if(u=i.sibling,u!==null){u.return=i.return,i=u;break}i=i.return}u=i}re(e,n,l.children,t),n=n.child}return n;case 9:return l=n.type,r=n.pendingProps.children,Kn(n,t),l=Se(l),r=r(l),n.flags|=1,re(e,n,r,t),n.child;case 14:return r=n.type,l=_e(r,n.pendingProps),l=_e(r.type,l),so(e,n,r,l,t);case 15:return qs(e,n,n.type,n.pendingProps,t);case 17:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:_e(r,l),yr(e,n),n.tag=1,ae(r)?(e=!0,Mr(n)):e=!1,Kn(n,t),Gs(n,r,l),cu(n,r,l,t),mu(null,n,r,!0,e,t);case 19:return ra(e,n,t);case 22:return bs(e,n,t)}throw Error(y(156,n.tag))};function wa(e,n){return Ko(e,n)}function xc(e,n,t,r){this.tag=e,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function we(e,n,t,r){return new xc(e,n,t,r)}function ci(e){return e=e.prototype,!(!e||!e.isReactComponent)}function _c(e){if(typeof e=="function")return ci(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Lu)return 11;if(e===Mu)return 14}return 2}function on(e,n){var t=e.alternate;return t===null?(t=we(e.tag,n,e.key,e.mode),t.elementType=e.elementType,t.type=e.type,t.stateNode=e.stateNode,t.alternate=e,e.alternate=t):(t.pendingProps=n,t.type=e.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=e.flags&14680064,t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,n=e.dependencies,t.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t}function kr(e,n,t,r,l,u){var i=2;if(r=e,typeof e=="function")ci(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case Mn:return Sn(t.children,l,u,n);case Tu:i=8,l|=8;break;case Ol:return e=we(12,t,n,l|2),e.elementType=Ol,e.lanes=u,e;case Il:return e=we(13,t,n,l),e.elementType=Il,e.lanes=u,e;case jl:return e=we(19,t,n,l),e.elementType=jl,e.lanes=u,e;case To:return nl(t,l,u,n);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case zo:i=10;break e;case Po:i=9;break e;case Lu:i=11;break e;case Mu:i=14;break e;case Ye:i=16,r=null;break e}throw Error(y(130,e==null?e:typeof e,""))}return n=we(i,t,n,l),n.elementType=e,n.type=r,n.lanes=u,n}function Sn(e,n,t,r){return e=we(7,e,r,n),e.lanes=t,e}function nl(e,n,t,r){return e=we(22,e,r,n),e.elementType=To,e.lanes=t,e.stateNode={isHidden:!1},e}function Dl(e,n,t){return e=we(6,e,null,n),e.lanes=t,e}function Rl(e,n,t){return n=we(4,e.children!==null?e.children:[],e.key,n),n.lanes=t,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function Nc(e,n,t,r,l){this.tag=n,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=pl(0),this.expirationTimes=pl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=pl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function di(e,n,t,r,l,u,i,o,s){return e=new Nc(e,n,t,o,s),n===1?(n=1,u===!0&&(n|=8)):n=0,u=we(3,null,null,n),e.current=u,u.stateNode=e,u.memoizedState={element:r,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},Gu(u),e}function zc(e,n,t){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Ca)}catch(e){console.error(e)}}Ca(),Co.exports=ve;var Dc=Co.exports;const Fc=Na(Dc);export{Fc as G,Dc as r}; diff --git a/storybook-static/assets/index-D5sgrwUF.js b/storybook-static/assets/index-D5sgrwUF.js new file mode 100644 index 0000000..a1194f7 --- /dev/null +++ b/storybook-static/assets/index-D5sgrwUF.js @@ -0,0 +1,240 @@ +var cy=Object.defineProperty;var dy=(e,t,r)=>t in e?cy(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var he=(e,t,r)=>dy(e,typeof t!="symbol"?t+"":t,r);const{once:py}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{FORCE_REMOUNT:As,STORY_RENDER_PHASE_CHANGED:fy,SET_CURRENT_STORY:my}=__STORYBOOK_MODULE_CORE_EVENTS__,{addons:hy}=__STORYBOOK_MODULE_PREVIEW_API__,{global:$e}=__STORYBOOK_MODULE_GLOBAL__;var by=(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')}),yy={reset:[0,0],bold:[1,22,"\x1B[22m\x1B[1m"],dim:[2,22,"\x1B[22m\x1B[2m"],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]},gy=Object.entries(yy);function Jl(e){return String(e)}Jl.open="";Jl.close="";function vy(e=!1){let t=typeof process<"u"?process:void 0,r=(t==null?void 0:t.env)||{},n=(t==null?void 0:t.argv)||[];return!("NO_COLOR"in r||n.includes("--no-color"))&&("FORCE_COLOR"in r||n.includes("--color")||(t==null?void 0:t.platform)==="win32"||e&&r.TERM!=="dumb"||"CI"in r)||typeof window<"u"&&!!window.chrome}function _y(e=!1){let t=vy(e),r=(l,i,u,c)=>{let s="",d=0;do s+=l.substring(d,c)+u,d=c+i.length,c=l.indexOf(i,d);while(~c);return s+l.substring(d)},n=(l,i,u=l)=>{let c=s=>{let d=String(s),f=d.indexOf(i,l.length);return~f?l+r(d,i,u,f)+i:l+d+i};return c.open=l,c.close=i,c},a={isColorSupported:t},o=l=>`\x1B[${l}m`;for(let[l,i]of gy)a[l]=t?n(o(i[0]),o(i[1]),i[2]):Jl;return a}var mt=_y(!1);function Ry(e,t){let r=Object.keys(e),n=t===null?r:r.sort(t);if(Object.getOwnPropertySymbols)for(let a of Object.getOwnPropertySymbols(e))Object.getOwnPropertyDescriptor(e,a).enumerable&&n.push(a);return n}function ia(e,t,r,n,a,o,l=": "){let i="",u=0,c=e.next();if(!c.done){i+=t.spacingOuter;let s=r+t.indent;for(;!c.done;){if(i+=s,u++===t.maxWidth){i+="…";break}let d=o(c.value[0],t,s,n,a),f=o(c.value[1],t,s,n,a);i+=d+l+f,c=e.next(),c.done?t.min||(i+=","):i+=`,${t.spacingInner}`}i+=t.spacingOuter+r}return i}function Xl(e,t,r,n,a,o){let l="",i=0,u=e.next();if(!u.done){l+=t.spacingOuter;let c=r+t.indent;for(;!u.done;){if(l+=c,i++===t.maxWidth){l+="…";break}l+=o(u.value,t,c,n,a),u=e.next(),u.done?t.min||(l+=","):l+=`,${t.spacingInner}`}l+=t.spacingOuter+r}return l}function Fn(e,t,r,n,a,o){let l="";e=e instanceof ArrayBuffer?new DataView(e):e;let i=c=>c instanceof DataView,u=i(e)?e.byteLength:e.length;if(u>0){l+=t.spacingOuter;let c=r+t.indent;for(let s=0;s0){l+=t.spacingOuter;let u=r+t.indent;for(let c=0;c{let l=e.toString();if(l==="ArrayContaining"||l==="ArrayNotContaining")return++n>t.maxDepth?`[${l}]`:`${l+bo}[${Fn(e.sample,t,r,n,a,o)}]`;if(l==="ObjectContaining"||l==="ObjectNotContaining")return++n>t.maxDepth?`[${l}]`:`${l+bo}{${Ql(e.sample,t,r,n,a,o)}}`;if(l==="StringMatching"||l==="StringNotMatching"||l==="StringContaining"||l==="StringNotContaining")return l+bo+o(e.sample,t,r,n,a);if(typeof e.toAsymmetricMatcher!="function")throw new TypeError(`Asymmetric matcher ${e.constructor.name} does not implement toAsymmetricMatcher()`);return e.toAsymmetricMatcher()},qy=e=>e&&e.$$typeof===wy,Ey={serialize:Cy,test:qy},Py=" ",wd=new Set(["DOMStringMap","NamedNodeMap"]),Oy=/^(?:HTML\w*Collection|NodeList)$/;function Ty(e){return wd.has(e)||Oy.test(e)}var Sy=e=>e&&e.constructor&&!!e.constructor.name&&Ty(e.constructor.name);function Ay(e){return e.constructor.name==="NamedNodeMap"}var My=(e,t,r,n,a,o)=>{let l=e.constructor.name;return++n>t.maxDepth?`[${l}]`:(t.min?"":l+Py)+(wd.has(l)?`{${Ql(Ay(e)?[...e].reduce((i,u)=>(i[u.name]=u.value,i),{}):{...e},t,r,n,a,o)}}`:`[${Fn([...e],t,r,n,a,o)}]`)},xy={serialize:My,test:Sy};function Cd(e){return e.replaceAll("<","<").replaceAll(">",">")}function Zl(e,t,r,n,a,o,l){let i=n+r.indent,u=r.colors;return e.map(c=>{let s=t[c],d=l(s,r,i,a,o);return typeof s!="string"&&(d.includes(` +`)&&(d=r.spacingOuter+i+d+r.spacingOuter+n),d=`{${d}}`),`${r.spacingInner+n+u.prop.open+c+u.prop.close}=${u.value.open}${d}${u.value.close}`}).join("")}function ei(e,t,r,n,a,o){return e.map(l=>t.spacingOuter+r+(typeof l=="string"?qd(l,t):o(l,t,r,n,a))).join("")}function qd(e,t){let r=t.colors.content;return r.open+Cd(e)+r.close}function jy(e,t){let r=t.colors.comment;return`${r.open}${r.close}`}function ti(e,t,r,n,a){let o=n.colors.tag;return`${o.open}<${e}${t&&o.close+t+n.spacingOuter+a+o.open}${r?`>${o.close}${r}${n.spacingOuter}${a}${o.open}${o.close}`}function ri(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} …${r.open} />${r.close}`}var Ny=1,Ed=3,Pd=8,Od=11,$y=/^(?:(?:HTML|SVG)\w*)?Element$/;function Iy(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}}function By(e){let t=e.constructor.name,{nodeType:r,tagName:n}=e,a=typeof n=="string"&&n.includes("-")||Iy(e);return r===Ny&&($y.test(t)||a)||r===Ed&&t==="Text"||r===Pd&&t==="Comment"||r===Od&&t==="DocumentFragment"}var ky=e=>{var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.name)&&By(e)};function Ly(e){return e.nodeType===Ed}function Dy(e){return e.nodeType===Pd}function yo(e){return e.nodeType===Od}var Fy=(e,t,r,n,a,o)=>{if(Ly(e))return qd(e.data,t);if(Dy(e))return jy(e.data,t);let l=yo(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?ri(l,t):ti(l,Zl(yo(e)?[]:Array.from(e.attributes,i=>i.name).sort(),yo(e)?{}:[...e.attributes].reduce((i,u)=>(i[u.name]=u.value,i),{}),t,r+t.indent,n,a,o),ei(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,a,o),t,r)},Hy={serialize:Fy,test:ky},Uy="@@__IMMUTABLE_ITERABLE__@@",Vy="@@__IMMUTABLE_LIST__@@",zy="@@__IMMUTABLE_KEYED__@@",Gy="@@__IMMUTABLE_MAP__@@",Ms="@@__IMMUTABLE_ORDERED__@@",Wy="@@__IMMUTABLE_RECORD__@@",Ky="@@__IMMUTABLE_SEQ__@@",Yy="@@__IMMUTABLE_SET__@@",Jy="@@__IMMUTABLE_STACK__@@",hr=e=>`Immutable.${e}`,sa=e=>`[${e}]`,Gr=" ",xs="…";function Xy(e,t,r,n,a,o,l){return++n>t.maxDepth?sa(hr(l)):`${hr(l)+Gr}{${ia(e.entries(),t,r,n,a,o)}}`}function Qy(e){let t=0;return{next(){if(tt.maxDepth?sa(l):`${l+Gr}{${ia(Qy(e),t,r,n,a,o)}}`}function eg(e,t,r,n,a,o){let l=hr("Seq");return++n>t.maxDepth?sa(l):e[zy]?`${l+Gr}{${e._iter||e._object?ia(e.entries(),t,r,n,a,o):xs}}`:`${l+Gr}[${e._iter||e._array||e._collection||e._iterable?Xl(e.values(),t,r,n,a,o):xs}]`}function go(e,t,r,n,a,o,l){return++n>t.maxDepth?sa(hr(l)):`${hr(l)+Gr}[${Xl(e.values(),t,r,n,a,o)}]`}var tg=(e,t,r,n,a,o)=>e[Gy]?Xy(e,t,r,n,a,o,e[Ms]?"OrderedMap":"Map"):e[Vy]?go(e,t,r,n,a,o,"List"):e[Yy]?go(e,t,r,n,a,o,e[Ms]?"OrderedSet":"Set"):e[Jy]?go(e,t,r,n,a,o,"Stack"):e[Ky]?eg(e,t,r,n,a,o):Zy(e,t,r,n,a,o),rg=e=>e&&(e[Uy]===!0||e[Wy]===!0),ng={serialize:tg,test:rg},js={exports:{}},ne={},Ns;function ag(){if(Ns)return ne;Ns=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),l=Symbol.for("react.context"),i=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),s=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),m;m=Symbol.for("react.module.reference");function b(h){if(typeof h=="object"&&h!==null){var y=h.$$typeof;switch(y){case e:switch(h=h.type,h){case r:case a:case n:case c:case s:return h;default:switch(h=h&&h.$$typeof,h){case i:case l:case u:case f:case d:case o:return h;default:return y}}case t:return y}}}return ne.ContextConsumer=l,ne.ContextProvider=o,ne.Element=e,ne.ForwardRef=u,ne.Fragment=r,ne.Lazy=f,ne.Memo=d,ne.Portal=t,ne.Profiler=a,ne.StrictMode=n,ne.Suspense=c,ne.SuspenseList=s,ne.isAsyncMode=function(){return!1},ne.isConcurrentMode=function(){return!1},ne.isContextConsumer=function(h){return b(h)===l},ne.isContextProvider=function(h){return b(h)===o},ne.isElement=function(h){return typeof h=="object"&&h!==null&&h.$$typeof===e},ne.isForwardRef=function(h){return b(h)===u},ne.isFragment=function(h){return b(h)===r},ne.isLazy=function(h){return b(h)===f},ne.isMemo=function(h){return b(h)===d},ne.isPortal=function(h){return b(h)===t},ne.isProfiler=function(h){return b(h)===a},ne.isStrictMode=function(h){return b(h)===n},ne.isSuspense=function(h){return b(h)===c},ne.isSuspenseList=function(h){return b(h)===s},ne.isValidElementType=function(h){return typeof h=="string"||typeof h=="function"||h===r||h===a||h===n||h===c||h===s||h===p||typeof h=="object"&&h!==null&&(h.$$typeof===f||h.$$typeof===d||h.$$typeof===o||h.$$typeof===l||h.$$typeof===u||h.$$typeof===m||h.getModuleId!==void 0)},ne.typeOf=b,ne}var $s;function og(){return $s||($s=1,js.exports=ag()),js.exports}var Ft=og();function Td(e,t=[]){if(Array.isArray(e))for(let r of e)Td(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}function Is(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(Ft.isFragment(e))return"React.Fragment";if(Ft.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(Ft.isContextProvider(e))return"Context.Provider";if(Ft.isContextConsumer(e))return"Context.Consumer";if(Ft.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(Ft.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}function lg(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}var ig=(e,t,r,n,a,o)=>++n>t.maxDepth?ri(Is(e),t):ti(Is(e),Zl(lg(e),e.props,t,r+t.indent,n,a,o),ei(Td(e.props.children),t,r+t.indent,n,a,o),t,r),sg=e=>e!=null&&Ft.isElement(e),ug={serialize:ig,test:sg},cg=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function dg(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}var pg=(e,t,r,n,a,o)=>++n>t.maxDepth?ri(e.type,t):ti(e.type,e.props?Zl(dg(e),e.props,t,r+t.indent,n,a,o):"",e.children?ei(e.children,t,r+t.indent,n,a,o):"",t,r),fg=e=>e&&e.$$typeof===cg,mg={serialize:pg,test:fg},Sd=Object.prototype.toString,hg=Date.prototype.toISOString,bg=Error.prototype.toString,Bs=RegExp.prototype.toString;function vo(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}function yg(e){return typeof window<"u"&&e===window}var gg=/^Symbol\((.*)\)(.*)$/,vg=/\n/g,Ad=class extends Error{constructor(t,r){super(t),this.stack=r,this.name=this.constructor.name}};function _g(e){return e==="[object Array]"||e==="[object ArrayBuffer]"||e==="[object DataView]"||e==="[object Float32Array]"||e==="[object Float64Array]"||e==="[object Int8Array]"||e==="[object Int16Array]"||e==="[object Int32Array]"||e==="[object Uint8Array]"||e==="[object Uint8ClampedArray]"||e==="[object Uint16Array]"||e==="[object Uint32Array]"}function Rg(e){return Object.is(e,-0)?"-0":String(e)}function wg(e){return`${e}n`}function ks(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}function Ls(e){return String(e).replace(gg,"Symbol($1)")}function Ds(e){return`[${bg.call(e)}]`}function Md(e,t,r,n){if(e===!0||e===!1)return`${e}`;if(e===void 0)return"undefined";if(e===null)return"null";let a=typeof e;if(a==="number")return Rg(e);if(a==="bigint")return wg(e);if(a==="string")return n?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(a==="function")return ks(e,t);if(a==="symbol")return Ls(e);let o=Sd.call(e);return o==="[object WeakMap]"?"WeakMap {}":o==="[object WeakSet]"?"WeakSet {}":o==="[object Function]"||o==="[object GeneratorFunction]"?ks(e,t):o==="[object Symbol]"?Ls(e):o==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":hg.call(e):o==="[object Error]"?Ds(e):o==="[object RegExp]"?r?Bs.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):Bs.call(e):e instanceof Error?Ds(e):null}function xd(e,t,r,n,a,o){if(a.includes(e))return"[Circular]";a=[...a],a.push(e);let l=++n>t.maxDepth,i=t.min;if(t.callToJSON&&!l&&e.toJSON&&typeof e.toJSON=="function"&&!o)return St(e.toJSON(),t,r,n,a,!0);let u=Sd.call(e);return u==="[object Arguments]"?l?"[Arguments]":`${i?"":"Arguments "}[${Fn(e,t,r,n,a,St)}]`:_g(u)?l?`[${e.constructor.name}]`:`${i||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${Fn(e,t,r,n,a,St)}]`:u==="[object Map]"?l?"[Map]":`Map {${ia(e.entries(),t,r,n,a,St," => ")}}`:u==="[object Set]"?l?"[Set]":`Set {${Xl(e.values(),t,r,n,a,St)}}`:l||yg(e)?`[${vo(e)}]`:`${i||!t.printBasicPrototype&&vo(e)==="Object"?"":`${vo(e)} `}{${Ql(e,t,r,n,a,St)}}`}function Cg(e){return e.serialize!=null}function jd(e,t,r,n,a,o){let l;try{l=Cg(e)?e.serialize(t,r,n,a,o,St):e.print(t,i=>St(i,r,n,a,o),i=>{let u=n+r.indent;return u+i.replaceAll(vg,` +${u}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(i){throw new Ad(i.message,i.stack)}if(typeof l!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof l}".`);return l}function Nd(e,t){for(let r of e)try{if(r.test(t))return r}catch(n){throw new Ad(n.message,n.stack)}return null}function St(e,t,r,n,a,o){let l=Nd(t.plugins,e);if(l!==null)return jd(l,e,t,r,n,a);let i=Md(e,t.printFunctionName,t.escapeRegex,t.escapeString);return i!==null?i:xd(e,t,r,n,a,o)}var ni={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},$d=Object.keys(ni),Ke={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:Number.POSITIVE_INFINITY,maxWidth:Number.POSITIVE_INFINITY,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:ni};function qg(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(Ke,t))throw new Error(`pretty-format: Unknown option "${t}".`);if(e.min&&e.indent!==void 0&&e.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.')}function Eg(){return $d.reduce((e,t)=>{let r=ni[t],n=r&&mt[r];if(n&&typeof n.close=="string"&&typeof n.open=="string")e[t]=n;else throw new Error(`pretty-format: Option "theme" has a key "${t}" whose value "${r}" is undefined in ansi-styles.`);return e},Object.create(null))}function Pg(){return $d.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}function Id(e){return(e==null?void 0:e.printFunctionName)??Ke.printFunctionName}function Bd(e){return(e==null?void 0:e.escapeRegex)??Ke.escapeRegex}function kd(e){return(e==null?void 0:e.escapeString)??Ke.escapeString}function Fs(e){return{callToJSON:(e==null?void 0:e.callToJSON)??Ke.callToJSON,colors:e!=null&&e.highlight?Eg():Pg(),compareKeys:typeof(e==null?void 0:e.compareKeys)=="function"||(e==null?void 0:e.compareKeys)===null?e.compareKeys:Ke.compareKeys,escapeRegex:Bd(e),escapeString:kd(e),indent:e!=null&&e.min?"":Og((e==null?void 0:e.indent)??Ke.indent),maxDepth:(e==null?void 0:e.maxDepth)??Ke.maxDepth,maxWidth:(e==null?void 0:e.maxWidth)??Ke.maxWidth,min:(e==null?void 0:e.min)??Ke.min,plugins:(e==null?void 0:e.plugins)??Ke.plugins,printBasicPrototype:(e==null?void 0:e.printBasicPrototype)??!0,printFunctionName:Id(e),spacingInner:e!=null&&e.min?" ":` +`,spacingOuter:e!=null&&e.min?"":` +`}}function Og(e){return Array.from({length:e+1}).join(" ")}function nt(e,t){if(t&&(qg(t),t.plugins)){let n=Nd(t.plugins,e);if(n!==null)return jd(n,e,Fs(t),"",0,[])}let r=Md(e,Id(t),Bd(t),kd(t));return r!==null?r:xd(e,Fs(t),"",0,[])}var Ld={AsymmetricMatcher:Ey,DOMCollection:xy,DOMElement:Hy,Immutable:ng,ReactElement:ug,ReactTestComponent:mg},Hs={bold:["1","22"],dim:["2","22"],italic:["3","23"],underline:["4","24"],inverse:["7","27"],hidden:["8","28"],strike:["9","29"],black:["30","39"],red:["31","39"],green:["32","39"],yellow:["33","39"],blue:["34","39"],magenta:["35","39"],cyan:["36","39"],white:["37","39"],brightblack:["30;1","39"],brightred:["31;1","39"],brightgreen:["32;1","39"],brightyellow:["33;1","39"],brightblue:["34;1","39"],brightmagenta:["35;1","39"],brightcyan:["36;1","39"],brightwhite:["37;1","39"],grey:["90","39"]},Tg={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},br="…";function Sg(e,t){let r=Hs[Tg[t]]||Hs[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}function Ag({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:a=!1,maxArrayLength:o=1/0,breakLength:l=1/0,seen:i=[],truncate:u=1/0,stylize:c=String}={},s){let d={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!a,maxArrayLength:Number(o),breakLength:Number(l),truncate:Number(u),seen:i,inspect:s,stylize:c};return d.colors&&(d.stylize=Sg),d}function Mg(e){return e>="\uD800"&&e<="\uDBFF"}function Bt(e,t,r=br){e=String(e);let n=r.length,a=e.length;if(n>t&&a>n)return r;if(a>t&&a>n){let o=t-n;return o>0&&Mg(e[o-1])&&(o=o-1),`${e.slice(0,o)}${r}`}return e}function Ze(e,t,r,n=", "){r=r||t.inspect;let a=e.length;if(a===0)return"";let o=t.truncate,l="",i="",u="";for(let c=0;co&&l.length+u.length<=o||!s&&!d&&b>o||(i=s?"":r(e[c+1],t)+(d?"":n),!s&&d&&b>o&&m+i.length>o))break;if(l+=p,!s&&!d&&m+i.length>=o){u=`${br}(${e.length-c-1})`;break}u=""}return`${l}${u}`}function xg(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}function Wr([e,t],r){return r.truncate-=2,typeof e=="string"?e=xg(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}function jg(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=Ze(e,t);t.truncate-=n.length;let a="";return r.length&&(a=Ze(r.map(o=>[o,e[o]]),t,Wr)),`[ ${n}${a?`, ${a}`:""} ]`}var Ng=e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name;function ct(e,t){let r=Ng(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let a="";for(let l=0;l[l,e[l]]),t,Wr)),`${r}[ ${a}${o?`, ${o}`:""} ]`}function $g(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),a=n[0];return t.stylize(`${a}T${Bt(n[1],t.truncate-a.length-1)}`,"date")}function Us(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${Bt(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}function Ig([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}function Bg(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}function kg(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${Ze(Bg(e),t,Ig)} }`)}var Lg=Number.isNaN||(e=>e!==e);function Vs(e,t){return Lg(e)?t.stylize("NaN","number"):e===1/0?t.stylize("Infinity","number"):e===-1/0?t.stylize("-Infinity","number"):e===0?t.stylize(1/e===1/0?"+0":"-0","number"):t.stylize(Bt(String(e),t.truncate),"number")}function zs(e,t){let r=Bt(e.toString(),t.truncate-1);return r!==br&&(r+="n"),t.stylize(r,"bigint")}function Dg(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),a=e.source;return t.stylize(`/${Bt(a,n)}/${r}`,"regexp")}function Fg(e){let t=[];return e.forEach(r=>{t.push(r)}),t}function Hg(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${Ze(Fg(e),t)} }`)}var Gs=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),Ug={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},Vg=16;function zg(e){return Ug[e]||`\\u${`0000${e.charCodeAt(0).toString(Vg)}`.slice(-4)}`}function Ws(e,t){return Gs.test(e)&&(e=e.replace(Gs,zg)),t.stylize(`'${Bt(e,t.truncate-2)}'`,"string")}function Ks(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}var Dd=()=>"Promise{…}";try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(Dd=(n,a)=>{let[o,l]=e(n);return o===t?"Promise{}":`Promise${o===r?"!":""}{${a.inspect(l,a)}}`})}catch{}var Gg=Dd;function xn(e,t){let r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&n.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let a=Ze(r.map(i=>[i,e[i]]),t,Wr),o=Ze(n.map(i=>[i,e[i]]),t,Wr);t.seen.pop();let l="";return a&&o&&(l=", "),`{ ${a}${l}${o} }`}var _o=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function Wg(e,t){let r="";return _o&&_o in e&&(r=e[_o]),r=r||e.constructor.name,(!r||r==="_class")&&(r=""),t.truncate-=r.length,`${r}${xn(e,t)}`}function Kg(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${Ze(e,t)} ]`)}var Yg=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function Jg(e,t){let r=Object.getOwnPropertyNames(e).filter(l=>Yg.indexOf(l)===-1),n=e.name;t.truncate-=n.length;let a="";if(typeof e.message=="string"?a=Bt(e.message,t.truncate):r.unshift("message"),a=a?`: ${a}`:"",t.truncate-=a.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let o=Ze(r.map(l=>[l,e[l]]),t,Wr);return`${n}${a}${o?` { ${o} }`:""}`}function Xg([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}function zo(e,t){return Ze(e,t,Fd,` +`)}function Fd(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),a=t.stylize(`<${n}`,"special"),o=t.stylize(">","special"),l=t.stylize(``,"special");t.truncate-=n.length*2+5;let i="";r.length>0&&(i+=" ",i+=Ze(r.map(s=>[s,e.getAttribute(s)]),t,Xg," ")),t.truncate-=i.length;let u=t.truncate,c=zo(e.children,t);return c&&c.length>u&&(c=`${br}(${e.children.length})`),`${a}${i}${o}${c}${l}`}var Qg=typeof Symbol=="function"&&typeof Symbol.for=="function",Ro=Qg?Symbol.for("chai/inspect"):"@@chai/inspect",nr=!1;try{let e=by("util");nr=e.inspect?e.inspect.custom:!1}catch{nr=!1}var Ys=new WeakMap,Js={},Xs={undefined:(e,t)=>t.stylize("undefined","undefined"),null:(e,t)=>t.stylize("null","null"),boolean:(e,t)=>t.stylize(String(e),"boolean"),Boolean:(e,t)=>t.stylize(String(e),"boolean"),number:Vs,Number:Vs,bigint:zs,BigInt:zs,string:Ws,String:Ws,function:Us,Function:Us,symbol:Ks,Symbol:Ks,Array:jg,Date:$g,Map:kg,Set:Hg,RegExp:Dg,Promise:Gg,WeakSet:(e,t)=>t.stylize("WeakSet{…}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{…}","special"),Arguments:Kg,Int8Array:ct,Uint8Array:ct,Uint8ClampedArray:ct,Int16Array:ct,Uint16Array:ct,Int32Array:ct,Uint32Array:ct,Float32Array:ct,Float64Array:ct,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:Jg,HTMLCollection:zo,NodeList:zo},Zg=(e,t,r)=>Ro in e&&typeof e[Ro]=="function"?e[Ro](t):nr&&nr in e&&typeof e[nr]=="function"?e[nr](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&Ys.has(e.constructor)?Ys.get(e.constructor)(e,t):Js[r]?Js[r](e,t):"",ev=Object.prototype.toString;function Go(e,t={}){let r=Ag(t,Go),{customInspect:n}=r,a=e===null?"null":typeof e;if(a==="object"&&(a=ev.call(e).slice(8,-1)),a in Xs)return Xs[a](e,r);if(n&&e){let l=Zg(e,r,a);if(l)return typeof l=="string"?l:Go(l,r)}let o=e?Object.getPrototypeOf(e):!1;return o===Object.prototype||o===null?xn(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?Fd(e,r):"constructor"in e?e.constructor!==Object?Wg(e,r):xn(e,r):e===Object(e)?xn(e,r):r.stylize(String(e),a)}var{AsymmetricMatcher:tv,DOMCollection:rv,DOMElement:nv,Immutable:av,ReactElement:ov,ReactTestComponent:lv}=Ld,Qs=[lv,ov,nv,rv,av,tv];function Kr(e,t=10,{maxLength:r,...n}={}){let a=r??1e4,o;try{o=nt(e,{maxDepth:t,escapeString:!1,plugins:Qs,...n})}catch{o=nt(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:Qs,...n})}return o.length>=a&&t>1?Kr(e,Math.floor(t/2)):o}var iv=/%[sdjifoOc%]/g;function sv(...e){if(typeof e[0]!="string"){let o=[];for(let l=0;l{if(o==="%%")return"%";if(r>=t)return o;switch(o){case"%s":{let l=e[r++];return typeof l=="bigint"?`${l.toString()}n`:typeof l=="number"&&l===0&&1/l<0?"-0":typeof l=="object"&&l!==null?Nr(l,{depth:0,colors:!1}):String(l)}case"%d":{let l=e[r++];return typeof l=="bigint"?`${l.toString()}n`:Number(l).toString()}case"%i":{let l=e[r++];return typeof l=="bigint"?`${l.toString()}n`:Number.parseInt(String(l)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return Nr(e[r++],{showHidden:!0,showProxy:!0});case"%O":return Nr(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(l){let i=l.message;if(i.includes("circular structure")||i.includes("cyclic structures")||i.includes("cyclic object"))return"[Circular]";throw l}default:return o}});for(let o=e[r];rt.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}function Hd(e){let t=new Set;return cv(e)?[]:(dv(e,t),Array.from(t))}var Ud={forceWritable:!1};function Zs(e,t=Ud){return Ko(e,new WeakMap,t)}function Ko(e,t,r=Ud){let n,a;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(a=Array.from({length:n=e.length}),t.set(e,a);n--;)a[n]=Ko(e[n],t,r);return a}if(Object.prototype.toString.call(e)==="[object Object]"){a=Object.create(Object.getPrototypeOf(e)),t.set(e,a);let o=Hd(e);for(let l of o){let i=Object.getOwnPropertyDescriptor(e,l);if(!i)continue;let u=Ko(e[l],t,r);r.forceWritable?Object.defineProperty(a,l,{enumerable:i.enumerable,configurable:!0,writable:!0,value:u}):"get"in i?Object.defineProperty(a,l,{...i,get(){return u}}):Object.defineProperty(a,l,{...i,value:u})}return a}return e}function eu(e){if(e===void 0)return"undefined";if(e===null)return"null";if(Array.isArray(e))return"array";if(typeof e=="boolean")return"boolean";if(typeof e=="function")return"function";if(typeof e=="number")return"number";if(typeof e=="string")return"string";if(typeof e=="bigint")return"bigint";if(typeof e=="object"){if(e!=null){if(e.constructor===RegExp)return"regexp";if(e.constructor===Map)return"map";if(e.constructor===Set)return"set";if(e.constructor===Date)return"date"}return"object"}else if(typeof e=="symbol")return"symbol";throw new Error(`value of unknown type: ${e}`)}var Se=-1,Pe=1,ye=0,fe=class{constructor(t,r){he(this,0);he(this,1);this[0]=t,this[1]=r}},pv=function(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let r=0,n=Math.min(e.length,t.length),a=n,o=0;for(;rn?e=e.substring(r-n):r0?r[n-1]:-1,l=0,i=0,u=0,c=0,a=null,t=!0)),o++;for(t&&zd(e),bv(e),o=1;o=p?(f>=s.length/2||f>=d.length/2)&&(e.splice(o,0,new fe(ye,d.substring(0,f))),e[o-1][1]=s.substring(0,s.length-f),e[o+1][1]=d.substring(f),o++):(p>=s.length/2||p>=d.length/2)&&(e.splice(o,0,new fe(ye,s.substring(0,p))),e[o-1][0]=Pe,e[o-1][1]=d.substring(0,d.length-p),e[o+1][0]=Se,e[o+1][1]=s.substring(p),o++),o++}o++}},ru=/[^a-z0-9]/i,nu=/\s/,au=/[\r\n]/,mv=/\n\r?\n$/,hv=/^\r?\n\r?\n/;function bv(e){let t=1;for(;t=c&&(c=s,l=r,i=n,u=a)}e[t-1][1]!==l&&(l?e[t-1][1]=l:(e.splice(t-1,1),t--),e[t][1]=i,u?e[t+1][1]=u:(e.splice(t+1,1),t--))}t++}}function zd(e){e.push(new fe(ye,""));let t=0,r=0,n=0,a="",o="",l;for(;t1?(r!==0&&n!==0&&(l=pv(o,a),l!==0&&(t-r-n>0&&e[t-r-n-1][0]===ye?e[t-r-n-1][1]+=o.substring(0,l):(e.splice(0,0,new fe(ye,o.substring(0,l))),t++),o=o.substring(l),a=a.substring(l)),l=Vd(o,a),l!==0&&(e[t][1]=o.substring(o.length-l)+e[t][1],o=o.substring(0,o.length-l),a=a.substring(0,a.length-l))),t-=r+n,e.splice(t,r+n),a.length&&(e.splice(t,0,new fe(Se,a)),t++),o.length&&(e.splice(t,0,new fe(Pe,o)),t++),t++):t!==0&&e[t-1][0]===ye?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,n=0,r=0,a="",o="";break}e[e.length-1][1]===""&&e.pop();let i=!1;for(t=1;t{let g=0;for(;p{let g=0;for(;p<=m&&b<=h&&y(m,h);)m-=1,h-=1,g+=1;return g},a=(p,m,b,h,y,g,E)=>{let C=0,q=-p,_=g[C],v=_;g[C]+=r(_+1,m,h+_-q+1,b,y);let w=p{let C=0,q=p,_=g[C],v=_;g[C]-=n(m,_-1,b,h+_-q-1,y);let w=p{let w=h-m,P=b-m,j=y-h-P,$=-j-(p-1),B=-j+(p-1),I=t,A=p{let w=y-b,P=b-m,j=y-h-P,$=j-p,B=j+p,I=t,A=p<_?p:_;for(let k=0,U=p;k<=A;k+=1,U-=2){let W=k===0||k!==p&&q[k]{let _=h-m,v=y-b,w=b-m,P=y-h,j=P-w,$=w,B=w;if(E[0]=m-1,C[0]=b,j%2===0){let I=(p||j)/2,A=(w+P)/2;for(let k=1;k<=A;k+=1)if($=a(k,b,y,_,g,E,$),k{if(y-h{L(z,oe,H)},isCommon:(z,H)=>D(H,z)}}let pe=m,F=b;m=h,b=y,h=pe,y=F}let{foundSubsequence:v,isCommon:w}=E[g?1:0];u(p,m,b,h,y,w,C,q,_);let{nChangePreceding:P,aEndPreceding:j,bEndPreceding:$,nCommonPreceding:B,aCommonPreceding:I,bCommonPreceding:A,nCommonFollowing:k,aCommonFollowing:U,bCommonFollowing:W,nChangeFollowing:G,aStartFollowing:se,bStartFollowing:ve}=_;m{if(typeof m!="number")throw new TypeError(`${e}: ${p} typeof ${typeof m} is not a number`);if(!Number.isSafeInteger(m))throw new RangeError(`${e}: ${p} value ${m} is not a safe integer`);if(m<0)throw new RangeError(`${e}: ${p} value ${m} is a negative integer`)},d=(p,m)=>{let b=typeof m;if(b!=="function")throw new TypeError(`${e}: ${p} typeof ${b} is not a function`)};function f(p,m,b,h){s("aLength",p),s("bLength",m),d("isCommon",b),d("foundSubsequence",h);let y=r(0,p,0,m,b);if(y!==0&&h(y,0,0),p!==y||m!==y){let g=y,E=y,C=n(g,p-1,E,m-1,b),q=p-C,_=m-C,v=y+C;p!==v&&m!==v&&c(0,g,q,E,_,!1,[{foundSubsequence:h,isCommon:b}],[t],[t],{aCommonFollowing:t,aCommonPreceding:t,aEndPreceding:t,aStartFollowing:t,bCommonFollowing:t,bCommonPreceding:t,bEndPreceding:t,bStartFollowing:t,nChangeFollowing:t,nChangePreceding:t,nCommonFollowing:t,nCommonPreceding:t}),C!==0&&h(C,q,_)}}return qn}var vv=gv(),Wd=uv(vv);function _v(e,t){return e.replace(/\s+$/,r=>t(r))}function ai(e,t,r,n,a,o){return e.length!==0?r(`${n} ${_v(e,a)}`):n!==" "?r(n):t&&o.length!==0?r(`${n} ${o}`):""}function Kd(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:o}){return ai(e,t,r,n,a,o)}function Yd(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:o}){return ai(e,t,r,n,a,o)}function Jd(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:o}){return ai(e,t,r,n,a,o)}function lu(e,t,r,n,{patchColor:a}){return a(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}function Rv(e,t){let r=e.length,n=t.contextLines,a=n+n,o=r,l=!1,i=0,u=0;for(;u!==r;){let C=u;for(;u!==r&&e[u][0]===ye;)u+=1;if(C!==u)if(C===0)u>n&&(o-=u-n,l=!0);else if(u===r){let q=u-C;q>n&&(o-=q-n,l=!0)}else{let q=u-C;q>a&&(o-=q-a,i+=1)}for(;u!==r&&e[u][0]!==ye;)u+=1}let c=i!==0||l;i!==0?o+=i+1:l&&(o+=1);let s=o-1,d=[],f=0;c&&d.push("");let p=0,m=0,b=0,h=0,y=C=>{let q=d.length;d.push(Jd(C,q===0||q===s,t)),b+=1,h+=1},g=C=>{let q=d.length;d.push(Kd(C,q===0||q===s,t)),b+=1},E=C=>{let q=d.length;d.push(Yd(C,q===0||q===s,t)),h+=1};for(u=0;u!==r;){let C=u;for(;u!==r&&e[u][0]===ye;)u+=1;if(C!==u)if(C===0){u>n&&(C=u-n,p=C,m=C,b=p,h=m);for(let q=C;q!==u;q+=1)y(e[q][1])}else if(u===r){let q=u-C>n?C+n:u;for(let _=C;_!==q;_+=1)y(e[_][1])}else{let q=u-C;if(q>a){let _=C+n;for(let w=C;w!==_;w+=1)y(e[w][1]);d[f]=lu(p,b,m,h,t),f=d.length,d.push("");let v=q-a;p=b+v,m=h+v,b=p,h=m;for(let w=u-n;w!==u;w+=1)y(e[w][1])}else for(let _=C;_!==u;_+=1)y(e[_][1])}for(;u!==r&&e[u][0]===Se;)g(e[u][1]),u+=1;for(;u!==r&&e[u][0]===Pe;)E(e[u][1]),u+=1}return c&&(d[f]=lu(p,b,m,h,t)),d.join(` +`)}function wv(e,t){return e.map((r,n,a)=>{let o=r[1],l=n===0||n===a.length-1;switch(r[0]){case Se:return Kd(o,l,t);case Pe:return Yd(o,l,t);default:return Jd(o,l,t)}}).join(` +`)}var wo=e=>e,Xd=5,Cv=0;function qv(){return{aAnnotation:"Expected",aColor:mt.green,aIndicator:"-",bAnnotation:"Received",bColor:mt.red,bIndicator:"+",changeColor:mt.inverse,changeLineTrailingSpaceColor:wo,commonColor:mt.dim,commonIndicator:" ",commonLineTrailingSpaceColor:wo,compareKeys:void 0,contextLines:Xd,emptyFirstOrLastLinePlaceholder:"",expand:!0,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:mt.yellow,truncateThreshold:Cv,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:wo}}function Ev(e){return e&&typeof e=="function"?e:void 0}function Pv(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:Xd}function Jt(e={}){return{...qv(),...e,compareKeys:Ev(e.compareKeys),contextLines:Pv(e.contextLines)}}function ar(e){return e.length===1&&e[0].length===0}function Ov(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case Se:t+=1;break;case Pe:r+=1;break}}),{a:t,b:r}}function Tv({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:n,bColor:a,bIndicator:o,includeChangeCounts:l,omitAnnotationLines:i},u){if(i)return"";let c="",s="";if(l){let p=String(u.a),m=String(u.b),b=n.length-e.length,h=" ".repeat(Math.max(0,b)),y=" ".repeat(Math.max(0,-b)),g=m.length-p.length,E=" ".repeat(Math.max(0,g)),C=" ".repeat(Math.max(0,-g));c=`${h} ${r} ${E}${p}`,s=`${y} ${o} ${C}${m}`}let d=`${r} ${e}${c}`,f=`${o} ${n}${s}`;return`${t(d)} +${a(f)} + +`}function oi(e,t,r){return Tv(r,Ov(e))+(r.expand?wv(e,r):Rv(e,r))+(t?r.truncateAnnotationColor(` +${r.truncateAnnotation}`):"")}function ua(e,t,r){let n=Jt(r),[a,o]=Qd(ar(e)?[]:e,ar(t)?[]:t,n);return oi(a,o,n)}function Sv(e,t,r,n,a){if(ar(e)&&ar(r)&&(e=[],r=[]),ar(t)&&ar(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return ua(e,t,a);let[o,l]=Qd(r,n,a),i=0,u=0;return o.forEach(c=>{switch(c[0]){case Se:c[1]=e[i],i+=1;break;case Pe:c[1]=t[u],u+=1;break;default:c[1]=t[u],i+=1,u+=1}}),oi(o,l,Jt(a))}function Qd(e,t,r){let n=(r==null?void 0:r.truncateThreshold)??!1,a=Math.max(Math.floor((r==null?void 0:r.truncateThreshold)??0),0),o=n?Math.min(e.length,a):e.length,l=n?Math.min(t.length,a):t.length,i=o!==e.length||l!==t.length,u=(f,p)=>e[f]===t[p],c=[],s=0,d=0;for(Wd(o,l,u,(f,p,m)=>{for(;s!==p;s+=1)c.push(new fe(Se,e[s]));for(;d!==m;d+=1)c.push(new fe(Pe,t[d]));for(;f!==0;f-=1,s+=1,d+=1)c.push(new fe(ye,t[d]))});s!==o;s+=1)c.push(new fe(Se,e[s]));for(;d!==l;d+=1)c.push(new fe(Pe,t[d]));return[c,i]}function iu(e){return e.includes(`\r +`)?`\r +`:` +`}function Av(e,t,r){let n=(r==null?void 0:r.truncateThreshold)??!1,a=Math.max(Math.floor((r==null?void 0:r.truncateThreshold)??0),0),o=e.length,l=t.length;if(n){let f=e.includes(` +`),p=t.includes(` +`),m=iu(e),b=iu(t),h=f?`${e.split(m,a).join(m)} +`:e,y=p?`${t.split(b,a).join(b)} +`:t;o=h.length,l=y.length}let i=o!==e.length||l!==t.length,u=(f,p)=>e[f]===t[p],c=0,s=0,d=[];return Wd(o,l,u,(f,p,m)=>{c!==p&&d.push(new fe(Se,e.slice(c,p))),s!==m&&d.push(new fe(Pe,t.slice(s,m))),c=p+f,s=m+f,d.push(new fe(ye,t.slice(m,s)))}),c!==o&&d.push(new fe(Se,e.slice(c))),s!==l&&d.push(new fe(Pe,t.slice(s))),[d,i]}function Mv(e,t,r){return t.reduce((n,a)=>n+(a[0]===ye?a[1]:a[0]===e&&a[1].length!==0?r(a[1]):""),"")}var su=class{constructor(t,r){he(this,"op");he(this,"line");he(this,"lines");he(this,"changeColor");this.op=t,this.line=[],this.lines=[],this.changeColor=r}pushSubstring(t){this.pushDiff(new fe(this.op,t))}pushLine(){this.lines.push(this.line.length!==1?new fe(this.op,Mv(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new fe(this.op,this.line[0][1])),this.line.length=0}isLineEmpty(){return this.line.length===0}pushDiff(t){this.line.push(t)}align(t){let r=t[1];if(r.includes(` +`)){let n=r.split(` +`),a=n.length-1;n.forEach((o,l)=>{l{if(i===0){let u=new fe(r,l);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(u)):(this.pushDiffChangeLines(u),this.flushChangeLines())}else i{switch(o[0]){case Se:r.align(o);break;case Pe:n.align(o);break;default:a.align(o)}}),a.getLines()}function Nv(e,t){if(t){let r=e.length-1;return e.some((n,a)=>n[0]===ye&&(a!==r||n[1]!==` +`))}return e.some(r=>r[0]===ye)}function $v(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){let n=e.includes(` +`)||t.includes(` +`),[a,o]=Zd(n?`${e} +`:e,n?`${t} +`:t,!0,r);if(Nv(a,n)){let l=Jt(r),i=jv(a,l.changeColor);return oi(i,o,l)}}return ua(e.split(` +`),t.split(` +`),r)}function Zd(e,t,r,n){let[a,o]=Av(e,t,n);return fv(a),[a,o]}function Yo(e,t){let{commonColor:r}=Jt(t);return r(e)}var{AsymmetricMatcher:Iv,DOMCollection:Bv,DOMElement:kv,Immutable:Lv,ReactElement:Dv,ReactTestComponent:Fv}=Ld,ep=[Fv,Dv,kv,Bv,Lv,Iv],Jo={plugins:ep},tp={callToJSON:!1,maxDepth:10,plugins:ep};function Hv(e,t,r){if(Object.is(e,t))return"";let n=eu(e),a=n,o=!1;if(n==="object"&&typeof e.asymmetricMatch=="function"){if(e.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof e.getExpectedType!="function")return;a=e.getExpectedType(),o=a==="string"}if(a!==eu(t)){let{aAnnotation:l,aColor:i,aIndicator:u,bAnnotation:c,bColor:s,bIndicator:d}=Jt(r),f=Xo(tp,r),p=nt(e,f),m=nt(t,f),b=`${i(`${u} ${l}:`)} +${p}`,h=`${s(`${d} ${c}:`)} +${m}`;return`${b} + +${h}`}if(!o)switch(n){case"string":return ua(e.split(` +`),t.split(` +`),r);case"boolean":case"number":return Uv(e,t,r);case"map":return Co(uu(e),uu(t),r);case"set":return Co(cu(e),cu(t),r);default:return Co(e,t,r)}}function Uv(e,t,r){let n=nt(e,Jo),a=nt(t,Jo);return n===a?"":ua(n.split(` +`),a.split(` +`),r)}function uu(e){return new Map(Array.from(e.entries()).sort())}function cu(e){return new Set(Array.from(e.values()).sort())}function Co(e,t,r){let n,a=!1;try{let l=Xo(Jo,r);n=du(e,t,l,r)}catch{a=!0}let o=Yo(Gd,r);if(n===void 0||n===o){let l=Xo(tp,r);n=du(e,t,l,r),n!==o&&!a&&(n=`${Yo(yv,r)} + +${n}`)}return n}function Xo(e,t){let{compareKeys:r}=Jt(t);return{...e,compareKeys:r}}function du(e,t,r,n){let a={...r,indent:0},o=nt(e,a),l=nt(t,a);if(o===l)return Yo(Gd,n);{let i=nt(e,r),u=nt(t,r);return Sv(i.split(` +`),u.split(` +`),o.split(` +`),l.split(` +`),n)}}var pu=2e4;function fu(e){return Wo(e)==="Object"&&typeof e.asymmetricMatch=="function"}function mu(e,t){let r=Wo(e),n=Wo(t);return r===n&&(r==="Object"||r==="Array")}function Vv(e,t,r){let{aAnnotation:n,bAnnotation:a}=Jt(r);if(typeof e=="string"&&typeof t=="string"&&e.length>0&&t.length>0&&e.length<=pu&&t.length<=pu&&e!==t){if(e.includes(` +`)||t.includes(` +`))return $v(t,e,r);let[c]=Zd(t,e),s=c.some(m=>m[0]===ye),d=zv(n,a),f=d(n)+Kv(hu(c,Se,s)),p=d(a)+Wv(hu(c,Pe,s));return`${f} +${p}`}let o=Zs(e,{forceWritable:!0}),l=Zs(t,{forceWritable:!0}),{replacedExpected:i,replacedActual:u}=rp(o,l);return Hv(i,u,r)}function rp(e,t,r=new WeakSet,n=new WeakSet){return mu(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),Hd(t).forEach(a=>{let o=t[a],l=e[a];if(fu(o))o.asymmetricMatch(l)&&(e[a]=o);else if(fu(l))l.asymmetricMatch(o)&&(t[a]=l);else if(mu(l,o)){let i=rp(l,o,r,n);e[a]=i.replacedActual,t[a]=i.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}function zv(...e){let t=e.reduce((r,n)=>n.length>r?n.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}var Gv="·";function np(e){return e.replace(/\s+$/gm,t=>Gv.repeat(t.length))}function Wv(e){return mt.red(np(Kr(e)))}function Kv(e){return mt.green(np(Kr(e)))}function hu(e,t,r){return e.reduce((n,a)=>n+(a[0]===ye?a[1]:a[0]===t?r?mt.inverse(a[1]):a[1]:""),"")}var Yv="@@__IMMUTABLE_RECORD__@@",Jv="@@__IMMUTABLE_ITERABLE__@@";function Xv(e){return e&&(e[Jv]||e[Yv])}var Qv=Object.getPrototypeOf({});function bu(e){return e instanceof Error?`: ${e.message}`:typeof e=="string"?`: ${e}`:""}function or(e,t=new WeakMap){if(!e||typeof e=="string")return e;if(typeof e=="function")return`Function<${e.name||"anonymous"}>`;if(typeof e=="symbol")return e.toString();if(typeof e!="object")return e;if(Xv(e))return or(e.toJSON(),t);if(e instanceof Promise||e.constructor&&e.constructor.prototype==="AsyncFunction")return"Promise";if(typeof Element<"u"&&e instanceof Element)return e.tagName;if(typeof e.asymmetricMatch=="function")return`${e.toString()} ${sv(e.sample)}`;if(typeof e.toJSON=="function")return or(e.toJSON(),t);if(t.has(e))return t.get(e);if(Array.isArray(e)){let r=new Array(e.length);return t.set(e,r),e.forEach((n,a)=>{try{r[a]=or(n,t)}catch(o){r[a]=bu(o)}}),r}else{let r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==Qv;)Object.getOwnPropertyNames(n).forEach(a=>{if(!(a in r))try{r[a]=or(e[a],t)}catch(o){delete r[a],r[a]=bu(o)}}),n=Object.getPrototypeOf(n);return r}}function Zv(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}function ap(e,t,r=new WeakSet){if(!e||typeof e!="object")return{message:String(e)};let n=e;n.stack&&(n.stackStr=String(n.stack)),n.name&&(n.nameStr=String(n.name)),(n.showDiff||n.showDiff===void 0&&n.expected!==void 0&&n.actual!==void 0)&&(n.diff=Vv(n.actual,n.expected,{...t,...n.diffOptions})),typeof n.expected!="string"&&(n.expected=Kr(n.expected,10)),typeof n.actual!="string"&&(n.actual=Kr(n.actual,10));try{typeof n.message=="string"&&(n.message=Zv(n.message))}catch{}try{!r.has(n)&&typeof n.cause=="object"&&(r.add(n),n.cause=ap(n.cause,t,r))}catch{}try{return or(n)}catch(a){return or(new Error(`Failed to fully serialize error: ${a==null?void 0:a.message} +Inner error message: ${n==null?void 0:n.message}`))}}var e_=(e=>(e.DONE="done",e.ERROR="error",e.ACTIVE="active",e.WAITING="waiting",e))(e_||{}),dt={CALL:"storybook/instrumenter/call",SYNC:"storybook/instrumenter/sync",START:"storybook/instrumenter/start",BACK:"storybook/instrumenter/back",GOTO:"storybook/instrumenter/goto",NEXT:"storybook/instrumenter/next",END:"storybook/instrumenter/end"},yu={start:!1,back:!1,goto:!1,next:!1,end:!1},t_=new Error("This function ran after the play function completed. Did you forget to `await` it?"),gu=e=>Object.prototype.toString.call(e)==="[object Object]",r_=e=>Object.prototype.toString.call(e)==="[object Module]",n_=e=>{if(!gu(e)&&!r_(e))return!1;if(e.constructor===void 0)return!0;let t=e.constructor.prototype;return!!gu(t)},a_=e=>{try{return new e.constructor}catch{return{}}},qo=()=>({renderPhase:void 0,isDebugging:!1,isPlaying:!1,isLocked:!1,cursor:0,calls:[],shadowCalls:[],callRefsByResult:new Map,chainedCallIds:new Set,ancestors:[],playUntil:void 0,resolvers:{},syncTimeout:void 0}),vu=(e,t=!1)=>{let r=(t?e.shadowCalls:e.calls).filter(a=>a.retain);if(!r.length)return;let n=new Map(Array.from(e.callRefsByResult.entries()).filter(([,a])=>a.retain));return{cursor:r.length,calls:r,callRefsByResult:n}},o_=class{constructor(){var l;this.initialized=!1,this.channel=hy.getChannel(),this.state=((l=$e.window)==null?void 0:l.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__)||{};let e=({storyId:i,isPlaying:u=!0,isDebugging:c=!1})=>{let s=this.getState(i);this.setState(i,{...qo(),...vu(s,c),shadowCalls:c?s.shadowCalls:[],chainedCallIds:c?s.chainedCallIds:new Set,playUntil:c?s.playUntil:void 0,isPlaying:u,isDebugging:c}),this.sync(i)};this.channel.on(As,e),this.channel.on(fy,({storyId:i,newPhase:u})=>{let{isDebugging:c}=this.getState(i);this.setState(i,{renderPhase:u}),u==="preparing"&&c&&e({storyId:i}),u==="playing"&&e({storyId:i,isDebugging:c}),u==="played"&&this.setState(i,{isLocked:!1,isPlaying:!1,isDebugging:!1}),u==="errored"&&this.setState(i,{isLocked:!1,isPlaying:!1})}),this.channel.on(my,()=>{this.initialized?this.cleanup():this.initialized=!0});let t=({storyId:i,playUntil:u})=>{this.getState(i).isDebugging||this.setState(i,({calls:s})=>({calls:[],shadowCalls:s.map(d=>({...d,status:"waiting"})),isDebugging:!0}));let c=this.getLog(i);this.setState(i,({shadowCalls:s})=>{var f;if(u||!c.length)return{playUntil:u};let d=s.findIndex(p=>p.id===c[0].callId);return{playUntil:(f=s.slice(0,d).filter(p=>{var m;return p.interceptable&&!((m=p.ancestors)!=null&&m.length)}).slice(-1)[0])==null?void 0:f.id}}),this.channel.emit(As,{storyId:i,isDebugging:!0})},r=({storyId:i})=>{var s;let u=this.getLog(i).filter(d=>{var f;return!((f=d.ancestors)!=null&&f.length)}),c=u.reduceRight((d,f,p)=>d>=0||f.status==="waiting"?d:p,-1);t({storyId:i,playUntil:(s=u[c-1])==null?void 0:s.callId})},n=({storyId:i,callId:u})=>{var m;let{calls:c,shadowCalls:s,resolvers:d}=this.getState(i),f=c.find(({id:b})=>b===u),p=s.find(({id:b})=>b===u);if(!f&&p&&Object.values(d).length>0){let b=(m=this.getLog(i).find(h=>h.status==="waiting"))==null?void 0:m.callId;p.id!==b&&this.setState(i,{playUntil:p.id}),Object.values(d).forEach(h=>h())}else t({storyId:i,playUntil:u})},a=({storyId:i})=>{var c;let{resolvers:u}=this.getState(i);if(Object.values(u).length>0)Object.values(u).forEach(s=>s());else{let s=(c=this.getLog(i).find(d=>d.status==="waiting"))==null?void 0:c.callId;s?t({storyId:i,playUntil:s}):o({storyId:i})}},o=({storyId:i})=>{this.setState(i,{playUntil:void 0,isDebugging:!1}),Object.values(this.getState(i).resolvers).forEach(u=>u())};this.channel.on(dt.START,t),this.channel.on(dt.BACK,r),this.channel.on(dt.GOTO,n),this.channel.on(dt.NEXT,a),this.channel.on(dt.END,o)}getState(e){return this.state[e]||qo()}setState(e,t){var a;let r=this.getState(e),n=typeof t=="function"?t(r):t;this.state={...this.state,[e]:{...r,...n}},(a=$e.window)!=null&&a.parent&&($e.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state)}cleanup(){var t;this.state=Object.entries(this.state).reduce((r,[n,a])=>{let o=vu(a);return o&&(r[n]=Object.assign(qo(),o)),r},{});let e={controlStates:yu,logItems:[]};this.channel.emit(dt.SYNC,e),(t=$e.window)!=null&&t.parent&&($e.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state)}getLog(e){let{calls:t,shadowCalls:r}=this.getState(e),n=[...r];t.forEach((o,l)=>{n[l]=o});let a=new Set;return n.reduceRight((o,l)=>(l.args.forEach(i=>{i!=null&&i.__callId__&&a.add(i.__callId__)}),l.path.forEach(i=>{i.__callId__&&a.add(i.__callId__)}),(l.interceptable||l.exception)&&!a.has(l.id)&&(o.unshift({callId:l.id,status:l.status,ancestors:l.ancestors}),a.add(l.id)),o),[])}instrument(e,t,r=0){if(!n_(e))return e;let{mutate:n=!1,path:a=[]}=t,o=t.getKeys?t.getKeys(e,r):Object.keys(e);return r+=1,o.reduce((l,i)=>{let u=l_(e,i);if(typeof(u==null?void 0:u.get)=="function"){let s=()=>{var d,f;return(f=(d=u==null?void 0:u.get)==null?void 0:d.bind(e))==null?void 0:f()};return Object.defineProperty(l,i,{get:()=>this.instrument(s(),{...t,path:a.concat(i)},r)}),l}let c=e[i];return typeof c!="function"?(l[i]=this.instrument(c,{...t,path:a.concat(i)},r),l):"__originalFn__"in c&&typeof c.__originalFn__=="function"?(l[i]=c,l):(l[i]=(...s)=>this.track(i,c,e,s,t),l[i].__originalFn__=c,Object.defineProperty(l[i],"name",{value:i,writable:!1}),Object.keys(c).length>0&&Object.assign(l[i],this.instrument({...c},{...t,path:a.concat(i)},r)),l)},n?e:a_(e))}track(e,t,r,n,a){var b,h,y,g;let o=((b=n==null?void 0:n[0])==null?void 0:b.__storyId__)||((g=(y=(h=$e.__STORYBOOK_PREVIEW__)==null?void 0:h.selectionStore)==null?void 0:y.selection)==null?void 0:g.storyId),{cursor:l,ancestors:i}=this.getState(o);this.setState(o,{cursor:l+1});let u=`${i.slice(-1)[0]||o} [${l}] ${e}`,{path:c=[],intercept:s=!1,retain:d=!1}=a,f=typeof s=="function"?s(e,c):s,p={id:u,cursor:l,storyId:o,ancestors:i,path:c,method:e,args:n,interceptable:f,retain:d},m=(f&&!i.length?this.intercept:this.invoke).call(this,t,r,p,a);return this.instrument(m,{...a,mutate:!0,path:[{__callId__:p.id}]})}intercept(e,t,r,n){let{chainedCallIds:a,isDebugging:o,playUntil:l}=this.getState(r.storyId),i=a.has(r.id);return!o||i||l?(l===r.id&&this.setState(r.storyId,{playUntil:void 0}),this.invoke(e,t,r,n)):new Promise(u=>{this.setState(r.storyId,({resolvers:c})=>({isLocked:!1,resolvers:{...c,[r.id]:u}}))}).then(()=>(this.setState(r.storyId,u=>{let{[r.id]:c,...s}=u.resolvers;return{isLocked:!0,resolvers:s}}),this.invoke(e,t,r,n)))}invoke(e,t,r,n){let{callRefsByResult:a,renderPhase:o}=this.getState(r.storyId),l=25,i=(s,d,f)=>{var p,m,b;if(f.includes(s))return"[Circular]";if(f=[...f,s],d>l)return"...";if(a.has(s))return a.get(s);if(s instanceof Array)return s.map(h=>i(h,++d,f));if(s instanceof Date)return{__date__:{value:s.toISOString()}};if(s instanceof Error){let{name:h,message:y,stack:g}=s;return{__error__:{name:h,message:y,stack:g}}}if(s instanceof RegExp){let{flags:h,source:y}=s;return{__regexp__:{flags:h,source:y}}}if(s instanceof((p=$e.window)==null?void 0:p.HTMLElement)){let{prefix:h,localName:y,id:g,classList:E,innerText:C}=s,q=Array.from(E);return{__element__:{prefix:h,localName:y,id:g,classNames:q,innerText:C}}}return typeof s=="function"?{__function__:{name:"getMockName"in s?s.getMockName():s.name}}:typeof s=="symbol"?{__symbol__:{description:s.description}}:typeof s=="object"&&((m=s==null?void 0:s.constructor)!=null&&m.name)&&((b=s==null?void 0:s.constructor)==null?void 0:b.name)!=="Object"?{__class__:{name:s.constructor.name}}:Object.prototype.toString.call(s)==="[object Object]"?Object.fromEntries(Object.entries(s).map(([h,y])=>[h,i(y,++d,f)])):s},u={...r,args:r.args.map(s=>i(s,0,[]))};r.path.forEach(s=>{s!=null&&s.__callId__&&this.setState(r.storyId,({chainedCallIds:d})=>({chainedCallIds:new Set(Array.from(d).concat(s.__callId__))}))});let c=s=>{var d;if(s instanceof Error){let{name:f,message:p,stack:m,callId:b=r.id}=s,{showDiff:h=void 0,diff:y=void 0,actual:g=void 0,expected:E=void 0}=s.name==="AssertionError"?ap(s):s,C={name:f,message:p,stack:m,callId:b,showDiff:h,diff:y,actual:g,expected:E};if(this.update({...u,status:"error",exception:C}),this.setState(r.storyId,q=>({callRefsByResult:new Map([...Array.from(q.callRefsByResult.entries()),[s,{__callId__:r.id,retain:r.retain}]])})),(d=r.ancestors)==null?void 0:d.length)throw Object.prototype.hasOwnProperty.call(s,"callId")||Object.defineProperty(s,"callId",{value:r.id}),s}throw s};try{if(o==="played"&&!r.retain)throw t_;let s=(n.getArgs?n.getArgs(r,this.getState(r.storyId)):r.args).map(f=>typeof f!="function"||Object.keys(f).length?f:(...p)=>{let{cursor:m,ancestors:b}=this.getState(r.storyId);this.setState(r.storyId,{cursor:0,ancestors:[...b,r.id]});let h=()=>this.setState(r.storyId,{cursor:m,ancestors:b}),y=!1;try{let g=f(...p);return g instanceof Promise?(y=!0,g.finally(h)):g}finally{y||h()}}),d=e.apply(t,s);return d&&["object","function","symbol"].includes(typeof d)&&this.setState(r.storyId,f=>({callRefsByResult:new Map([...Array.from(f.callRefsByResult.entries()),[d,{__callId__:r.id,retain:r.retain}]])})),this.update({...u,status:d instanceof Promise?"active":"done"}),d instanceof Promise?d.then(f=>(this.update({...u,status:"done"}),f),c):d}catch(s){return c(s)}}update(e){this.channel.emit(dt.CALL,e),this.setState(e.storyId,({calls:t})=>{let r=t.concat(e).reduce((n,a)=>Object.assign(n,{[a.id]:a}),{});return{calls:Object.values(r).sort((n,a)=>n.id.localeCompare(a.id,void 0,{numeric:!0}))}}),this.sync(e.storyId)}sync(e){let t=()=>{var c;let{isLocked:r,isPlaying:n}=this.getState(e),a=this.getLog(e),o=(c=a.filter(({ancestors:s})=>!s.length).find(s=>s.status==="waiting"))==null?void 0:c.callId,l=a.some(s=>s.status==="active");if(r||l||a.length===0){let s={controlStates:yu,logItems:a};this.channel.emit(dt.SYNC,s);return}let i=a.some(s=>s.status==="done"||s.status==="error"),u={controlStates:{start:i,back:i,goto:!0,next:n,end:n},logItems:a,pausedAt:o};this.channel.emit(dt.SYNC,u)};this.setState(e,({syncTimeout:r})=>(clearTimeout(r),{syncTimeout:setTimeout(t,0)}))}};function li(e,t={}){var r,n,a,o,l,i,u,c;try{let s=!1,d=!1;return(a=(n=(r=$e.window)==null?void 0:r.location)==null?void 0:n.search)!=null&&a.includes("instrument=true")?s=!0:(i=(l=(o=$e.window)==null?void 0:o.location)==null?void 0:l.search)!=null&&i.includes("instrument=false")&&(d=!0),((u=$e.window)==null?void 0:u.parent)===$e.window&&!s||d?e:($e.window&&!$e.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__&&($e.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__=new o_),((c=$e.window)==null?void 0:c.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__).instrument(e,t))}catch(s){return py.warn(s),e}}function l_(e,t){let r=e;for(;r!=null;){let n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}var Qo={};const{global:op}=__STORYBOOK_MODULE_GLOBAL__,{once:i_}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var s_=Object.create,ii=Object.defineProperty,u_=Object.getOwnPropertyDescriptor,lp=Object.getOwnPropertyNames,c_=Object.getPrototypeOf,d_=Object.prototype.hasOwnProperty,p_=(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')}),R=(e,t)=>function(){return t||(0,e[lp(e)[0]])((t={exports:{}}).exports,t),t.exports},si=(e,t)=>{for(var r in t)ii(e,r,{get:t[r],enumerable:!0})},f_=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of lp(t))!d_.call(e,a)&&a!==r&&ii(e,a,{get:()=>t[a],enumerable:!(n=u_(t,a))||n.enumerable});return e},Fe=(e,t,r)=>(r=e!=null?s_(c_(e)):{},f_(t||!e||!e.__esModule?ii(r,"default",{value:e,enumerable:!0}):r,e)),m_=R({"../../node_modules/min-indent/index.js"(e,t){t.exports=r=>{let n=r.match(/^[ \t]*(?=\S)/gm);return n?n.reduce((a,o)=>Math.min(a,o.length),1/0):0}}}),h_=R({"../../node_modules/strip-indent/index.js"(e,t){var r=m_();t.exports=n=>{let a=r(n);if(a===0)return n;let o=new RegExp(`^[ \\t]{${a}}`,"gm");return n.replace(o,"")}}}),b_=R({"../../node_modules/indent-string/index.js"(e,t){t.exports=(r,n=1,a)=>{if(a={indent:" ",includeEmptyLines:!1,...a},typeof r!="string")throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof r}\``);if(typeof n!="number")throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof n}\``);if(typeof a.indent!="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof a.indent}\``);if(n===0)return r;let o=a.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return r.replace(o,a.indent.repeat(n))}}}),ip=R({"../../node_modules/redent/index.js"(e,t){var r=h_(),n=b_();t.exports=(a,o=0,l)=>n(r(a),o,l)}}),y_=R({"../../node_modules/aria-query/lib/util/iteratorProxy.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var r=this,n=0,a={"@@iterator":function(){return a},next:function(){if(nd.length)&&(f=d.length);for(var p=0,m=Array(f);p1&&arguments[1]!==void 0?arguments[1]:null,p=0,m=c;pd.length)&&(f=d.length);for(var p=0,m=Array(f);p1&&arguments[1]!==void 0?arguments[1]:null,p=0,m=c;p1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}}),fR=R({"../../node_modules/aria-query/lib/etc/roles/literal/listitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),mR=R({"../../node_modules/aria-query/lib/etc/roles/literal/logRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),hR=R({"../../node_modules/aria-query/lib/etc/roles/literal/mainRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),bR=R({"../../node_modules/aria-query/lib/etc/roles/literal/markRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),yR=R({"../../node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),gR=R({"../../node_modules/aria-query/lib/etc/roles/literal/mathRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),vR=R({"../../node_modules/aria-query/lib/etc/roles/literal/menuRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}}),_R=R({"../../node_modules/aria-query/lib/etc/roles/literal/menubarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]};e.default=t}}),RR=R({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}}),wR=R({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]};e.default=t}}),CR=R({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]};e.default=t}}),qR=R({"../../node_modules/aria-query/lib/etc/roles/literal/meterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]};e.default=t}}),ER=R({"../../node_modules/aria-query/lib/etc/roles/literal/navigationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),PR=R({"../../node_modules/aria-query/lib/etc/roles/literal/noneRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};e.default=t}}),OR=R({"../../node_modules/aria-query/lib/etc/roles/literal/noteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),TR=R({"../../node_modules/aria-query/lib/etc/roles/literal/optionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]};e.default=t}}),SR=R({"../../node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),AR=R({"../../node_modules/aria-query/lib/etc/roles/literal/presentationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),MR=R({"../../node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]};e.default=t}}),xR=R({"../../node_modules/aria-query/lib/etc/roles/literal/radioRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]};e.default=t}}),jR=R({"../../node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}}),NR=R({"../../node_modules/aria-query/lib/etc/roles/literal/regionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),$R=R({"../../node_modules/aria-query/lib/etc/roles/literal/rowRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]};e.default=t}}),IR=R({"../../node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),BR=R({"../../node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]};e.default=t}}),kR=R({"../../node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]};e.default=t}}),LR=R({"../../node_modules/aria-query/lib/etc/roles/literal/searchRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),DR=R({"../../node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]};e.default=t}}),FR=R({"../../node_modules/aria-query/lib/etc/roles/literal/separatorRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),HR=R({"../../node_modules/aria-query/lib/etc/roles/literal/sliderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]};e.default=t}}),UR=R({"../../node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]};e.default=t}}),VR=R({"../../node_modules/aria-query/lib/etc/roles/literal/statusRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),zR=R({"../../node_modules/aria-query/lib/etc/roles/literal/strongRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),GR=R({"../../node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),WR=R({"../../node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),KR=R({"../../node_modules/aria-query/lib/etc/roles/literal/switchRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]};e.default=t}}),YR=R({"../../node_modules/aria-query/lib/etc/roles/literal/tabRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]};e.default=t}}),JR=R({"../../node_modules/aria-query/lib/etc/roles/literal/tableRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),XR=R({"../../node_modules/aria-query/lib/etc/roles/literal/tablistRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]};e.default=t}}),QR=R({"../../node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),ZR=R({"../../node_modules/aria-query/lib/etc/roles/literal/termRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),ew=R({"../../node_modules/aria-query/lib/etc/roles/literal/textboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]};e.default=t}}),tw=R({"../../node_modules/aria-query/lib/etc/roles/literal/timeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),rw=R({"../../node_modules/aria-query/lib/etc/roles/literal/timerRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]};e.default=t}}),nw=R({"../../node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};e.default=t}}),aw=R({"../../node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),ow=R({"../../node_modules/aria-query/lib/etc/roles/literal/treeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}}),lw=R({"../../node_modules/aria-query/lib/etc/roles/literal/treegridRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]};e.default=t}}),iw=R({"../../node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]};e.default=t}}),sw=R({"../../node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=x(j_()),r=x(N_()),n=x($_()),a=x(I_()),o=x(B_()),l=x(k_()),i=x(L_()),u=x(D_()),c=x(F_()),s=x(H_()),d=x(U_()),f=x(V_()),p=x(z_()),m=x(G_()),b=x(W_()),h=x(K_()),y=x(Y_()),g=x(J_()),E=x(X_()),C=x(Q_()),q=x(Z_()),_=x(eR()),v=x(tR()),w=x(rR()),P=x(nR()),j=x(aR()),$=x(oR()),B=x(lR()),I=x(iR()),A=x(sR()),k=x(uR()),U=x(cR()),W=x(dR()),G=x(pR()),se=x(fR()),ve=x(mR()),pe=x(hR()),F=x(bR()),L=x(yR()),D=x(gR()),z=x(vR()),H=x(_R()),oe=x(RR()),ue=x(wR()),ut=x(CR()),M=x(qR()),V=x(ER()),J=x(PR()),re=x(OR()),te=x(TR()),Re=x(SR()),we=x(AR()),Ee=x(MR()),We=x(xR()),La=x(jR()),Da=x(NR()),Fa=x($R()),Ha=x(IR()),Ua=x(BR()),Va=x(kR()),za=x(LR()),Ga=x(DR()),Wa=x(FR()),Ka=x(HR()),Ya=x(UR()),Ja=x(VR()),Xa=x(zR()),Qa=x(GR()),Za=x(WR()),eo=x(KR()),to=x(YR()),ro=x(JR()),no=x(XR()),ao=x(QR()),oo=x(ZR()),lo=x(ew()),io=x(tw()),so=x(rw()),uo=x(nw()),co=x(aw()),po=x(ow()),fo=x(lw()),mo=x(iw());function x(tr){return tr&&tr.__esModule?tr:{default:tr}}var ho=[["alert",t.default],["alertdialog",r.default],["application",n.default],["article",a.default],["banner",o.default],["blockquote",l.default],["button",i.default],["caption",u.default],["cell",c.default],["checkbox",s.default],["code",d.default],["columnheader",f.default],["combobox",p.default],["complementary",m.default],["contentinfo",b.default],["definition",h.default],["deletion",y.default],["dialog",g.default],["directory",E.default],["document",C.default],["emphasis",q.default],["feed",_.default],["figure",v.default],["form",w.default],["generic",P.default],["grid",j.default],["gridcell",$.default],["group",B.default],["heading",I.default],["img",A.default],["insertion",k.default],["link",U.default],["list",W.default],["listbox",G.default],["listitem",se.default],["log",ve.default],["main",pe.default],["mark",F.default],["marquee",L.default],["math",D.default],["menu",z.default],["menubar",H.default],["menuitem",oe.default],["menuitemcheckbox",ue.default],["menuitemradio",ut.default],["meter",M.default],["navigation",V.default],["none",J.default],["note",re.default],["option",te.default],["paragraph",Re.default],["presentation",we.default],["progressbar",Ee.default],["radio",We.default],["radiogroup",La.default],["region",Da.default],["row",Fa.default],["rowgroup",Ha.default],["rowheader",Ua.default],["scrollbar",Va.default],["search",za.default],["searchbox",Ga.default],["separator",Wa.default],["slider",Ka.default],["spinbutton",Ya.default],["status",Ja.default],["strong",Xa.default],["subscript",Qa.default],["superscript",Za.default],["switch",eo.default],["tab",to.default],["table",ro.default],["tablist",no.default],["tabpanel",ao.default],["term",oo.default],["textbox",lo.default],["time",io.default],["timer",so.default],["toolbar",uo.default],["tooltip",co.default],["tree",po.default],["treegrid",fo.default],["treeitem",mo.default]];e.default=ho}}),uw=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),cw=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),dw=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),pw=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),fw=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}}),mw=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};e.default=t}}),hw=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),bw=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}}),yw=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),gw=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),vw=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),_w=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};e.default=t}}),Rw=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),ww=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Cw=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),qw=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};e.default=t}}),Ew=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Pw=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Ow=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Tw=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Sw=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Aw=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Mw=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),xw=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),jw=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}}),Nw=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}}),$w=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Iw=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}}),Bw=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};e.default=t}}),kw=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]};e.default=t}}),Lw=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagefooterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Dw=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docPageheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Fw=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}}),Hw=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Uw=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),Vw=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),zw=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]};e.default=t}}),Gw=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),Ww=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]};e.default=t}}),Kw=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};e.default=t}}),Yw=R({"../../node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}}),Jw=R({"../../node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=H(uw()),r=H(cw()),n=H(dw()),a=H(pw()),o=H(fw()),l=H(mw()),i=H(hw()),u=H(bw()),c=H(yw()),s=H(gw()),d=H(vw()),f=H(_w()),p=H(Rw()),m=H(ww()),b=H(Cw()),h=H(qw()),y=H(Ew()),g=H(Pw()),E=H(Ow()),C=H(Tw()),q=H(Sw()),_=H(Aw()),v=H(Mw()),w=H(xw()),P=H(jw()),j=H(Nw()),$=H($w()),B=H(Iw()),I=H(Bw()),A=H(kw()),k=H(Lw()),U=H(Dw()),W=H(Fw()),G=H(Hw()),se=H(Uw()),ve=H(Vw()),pe=H(zw()),F=H(Gw()),L=H(Ww()),D=H(Kw()),z=H(Yw());function H(ue){return ue&&ue.__esModule?ue:{default:ue}}var oe=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",n.default],["doc-appendix",a.default],["doc-backlink",o.default],["doc-biblioentry",l.default],["doc-bibliography",i.default],["doc-biblioref",u.default],["doc-chapter",c.default],["doc-colophon",s.default],["doc-conclusion",d.default],["doc-cover",f.default],["doc-credit",p.default],["doc-credits",m.default],["doc-dedication",b.default],["doc-endnote",h.default],["doc-endnotes",y.default],["doc-epigraph",g.default],["doc-epilogue",E.default],["doc-errata",C.default],["doc-example",q.default],["doc-footnote",_.default],["doc-foreword",v.default],["doc-glossary",w.default],["doc-glossref",P.default],["doc-index",j.default],["doc-introduction",$.default],["doc-noteref",B.default],["doc-notice",I.default],["doc-pagebreak",A.default],["doc-pagefooter",k.default],["doc-pageheader",U.default],["doc-pagelist",W.default],["doc-part",G.default],["doc-preface",se.default],["doc-prologue",ve.default],["doc-pullquote",pe.default],["doc-qna",F.default],["doc-subtitle",L.default],["doc-tip",D.default],["doc-toc",z.default]];e.default=oe}}),Xw=R({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]};e.default=t}}),Qw=R({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};e.default=t}}),Zw=R({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};e.default=t}}),e0=R({"../../node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=a(Xw()),r=a(Qw()),n=a(Zw());function a(l){return l&&l.__esModule?l:{default:l}}var o=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]];e.default=o}}),ui=R({"../../node_modules/aria-query/lib/rolesMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=l(x_()),r=l(sw()),n=l(Jw()),a=l(e0()),o=l(pn());function l(h){return h&&h.__esModule?h:{default:h}}function i(h,y){var g=typeof Symbol<"u"&&h[Symbol.iterator]||h["@@iterator"];if(!g){if(Array.isArray(h)||(g=s(h))||y){g&&(h=g);var E=0,C=function(){};return{s:C,n:function(){return E>=h.length?{done:!0}:{done:!1,value:h[E++]}},e:function(w){throw w},f:C}}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 q,_=!0,v=!1;return{s:function(){g=g.call(h)},n:function(){var w=g.next();return _=w.done,w},e:function(w){v=!0,q=w},f:function(){try{_||g.return==null||g.return()}finally{if(v)throw q}}}}function u(h,y){return p(h)||f(h,y)||s(h,y)||c()}function c(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function s(h,y){if(h){if(typeof h=="string")return d(h,y);var g={}.toString.call(h).slice(8,-1);return g==="Object"&&h.constructor&&(g=h.constructor.name),g==="Map"||g==="Set"?Array.from(h):g==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g)?d(h,y):void 0}}function d(h,y){(y==null||y>h.length)&&(y=h.length);for(var g=0,E=Array(y);g1&&arguments[1]!==void 0?arguments[1]:null,g=i(m),E;try{for(g.s();!(E=g.n()).done;){var C=u(E.value,2),q=C[0],_=C[1];h.call(y,_,q,m)}}catch(v){g.e(v)}finally{g.f()}},get:function(h){var y=m.filter(function(g){return g[0]===h})[0];return y&&y[1]},has:function(h){return!!b.get(h)},keys:function(){return m.map(function(h){var y=u(h,1),g=y[0];return g})},values:function(){return m.map(function(h){var y=u(h,2),g=y[1];return g})}};e.default=(0,o.default)(b,b.entries())}}),t0=R({"../../node_modules/aria-query/lib/elementRoleMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(pn()),r=n(ui());function n(_){return _&&_.__esModule?_:{default:_}}function a(_,v){return c(_)||u(_,v)||l(_,v)||o()}function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function l(_,v){if(_){if(typeof _=="string")return i(_,v);var w={}.toString.call(_).slice(8,-1);return w==="Object"&&_.constructor&&(w=_.constructor.name),w==="Map"||w==="Set"?Array.from(_):w==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(w)?i(_,v):void 0}}function i(_,v){(v==null||v>_.length)&&(v=_.length);for(var w=0,P=Array(v);w1&&arguments[1]!==void 0?arguments[1]:null,w=0,P=s;wq.length)&&(_=q.length);for(var v=0,w=Array(_);v<_;v++)w[v]=q[v];return w}function u(q,_){var v=q==null?null:typeof Symbol<"u"&&q[Symbol.iterator]||q["@@iterator"];if(v!=null){var w,P,j,$,B=[],I=!0,A=!1;try{if(j=(v=v.call(q)).next,_===0){if(Object(v)!==v)return;I=!1}else for(;!(I=(w=j.call(v)).done)&&(B.push(w.value),B.length!==_);I=!0);}catch(k){A=!0,P=k}finally{try{if(!I&&v.return!=null&&($=v.return(),Object($)!==$))return}finally{if(A)throw P}}return B}}function c(q){if(Array.isArray(q))return q}var s=[],d=r.default.keys();for(E=0;E0&&s.push([f,m])}var f,p,m,b,h,y,g,E,C={entries:function(){return s},forEach:function(q){for(var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,v=0,w=s;v1&&(s-=1)),[s*360,d*100,b*100]},a.rgb.hwb=function(l){let i=l[0],u=l[1],c=l[2],s=a.rgb.hsl(l)[0],d=1/255*Math.min(i,Math.min(u,c));return c=1-1/255*Math.max(i,Math.max(u,c)),[s,d*100,c*100]},a.rgb.cmyk=function(l){let i=l[0]/255,u=l[1]/255,c=l[2]/255,s=Math.min(1-i,1-u,1-c),d=(1-i-s)/(1-s)||0,f=(1-u-s)/(1-s)||0,p=(1-c-s)/(1-s)||0;return[d*100,f*100,p*100,s*100]};function o(l,i){return(l[0]-i[0])**2+(l[1]-i[1])**2+(l[2]-i[2])**2}a.rgb.keyword=function(l){let i=n[l];if(i)return i;let u=1/0,c;for(let s of Object.keys(r)){let d=r[s],f=o(l,d);f.04045?((i+.055)/1.055)**2.4:i/12.92,u=u>.04045?((u+.055)/1.055)**2.4:u/12.92,c=c>.04045?((c+.055)/1.055)**2.4:c/12.92;let s=i*.4124+u*.3576+c*.1805,d=i*.2126+u*.7152+c*.0722,f=i*.0193+u*.1192+c*.9505;return[s*100,d*100,f*100]},a.rgb.lab=function(l){let i=a.rgb.xyz(l),u=i[0],c=i[1],s=i[2];u/=95.047,c/=100,s/=108.883,u=u>.008856?u**(1/3):7.787*u+16/116,c=c>.008856?c**(1/3):7.787*c+16/116,s=s>.008856?s**(1/3):7.787*s+16/116;let d=116*c-16,f=500*(u-c),p=200*(c-s);return[d,f,p]},a.hsl.rgb=function(l){let i=l[0]/360,u=l[1]/100,c=l[2]/100,s,d,f;if(u===0)return f=c*255,[f,f,f];c<.5?s=c*(1+u):s=c+u-c*u;let p=2*c-s,m=[0,0,0];for(let b=0;b<3;b++)d=i+1/3*-(b-1),d<0&&d++,d>1&&d--,6*d<1?f=p+(s-p)*6*d:2*d<1?f=s:3*d<2?f=p+(s-p)*(2/3-d)*6:f=p,m[b]=f*255;return m},a.hsl.hsv=function(l){let i=l[0],u=l[1]/100,c=l[2]/100,s=u,d=Math.max(c,.01);c*=2,u*=c<=1?c:2-c,s*=d<=1?d:2-d;let f=(c+u)/2,p=c===0?2*s/(d+s):2*u/(c+u);return[i,p*100,f*100]},a.hsv.rgb=function(l){let i=l[0]/60,u=l[1]/100,c=l[2]/100,s=Math.floor(i)%6,d=i-Math.floor(i),f=255*c*(1-u),p=255*c*(1-u*d),m=255*c*(1-u*(1-d));switch(c*=255,s){case 0:return[c,m,f];case 1:return[p,c,f];case 2:return[f,c,m];case 3:return[f,p,c];case 4:return[m,f,c];case 5:return[c,f,p]}},a.hsv.hsl=function(l){let i=l[0],u=l[1]/100,c=l[2]/100,s=Math.max(c,.01),d,f;f=(2-u)*c;let p=(2-u)*s;return d=u*s,d/=p<=1?p:2-p,d=d||0,f/=2,[i,d*100,f*100]},a.hwb.rgb=function(l){let i=l[0]/360,u=l[1]/100,c=l[2]/100,s=u+c,d;s>1&&(u/=s,c/=s);let f=Math.floor(6*i),p=1-c;d=6*i-f,f&1&&(d=1-d);let m=u+d*(p-u),b,h,y;switch(f){default:case 6:case 0:b=p,h=m,y=u;break;case 1:b=m,h=p,y=u;break;case 2:b=u,h=p,y=m;break;case 3:b=u,h=m,y=p;break;case 4:b=m,h=u,y=p;break;case 5:b=p,h=u,y=m;break}return[b*255,h*255,y*255]},a.cmyk.rgb=function(l){let i=l[0]/100,u=l[1]/100,c=l[2]/100,s=l[3]/100,d=1-Math.min(1,i*(1-s)+s),f=1-Math.min(1,u*(1-s)+s),p=1-Math.min(1,c*(1-s)+s);return[d*255,f*255,p*255]},a.xyz.rgb=function(l){let i=l[0]/100,u=l[1]/100,c=l[2]/100,s,d,f;return s=i*3.2406+u*-1.5372+c*-.4986,d=i*-.9689+u*1.8758+c*.0415,f=i*.0557+u*-.204+c*1.057,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,d=d>.0031308?1.055*d**(1/2.4)-.055:d*12.92,f=f>.0031308?1.055*f**(1/2.4)-.055:f*12.92,s=Math.min(Math.max(0,s),1),d=Math.min(Math.max(0,d),1),f=Math.min(Math.max(0,f),1),[s*255,d*255,f*255]},a.xyz.lab=function(l){let i=l[0],u=l[1],c=l[2];i/=95.047,u/=100,c/=108.883,i=i>.008856?i**(1/3):7.787*i+16/116,u=u>.008856?u**(1/3):7.787*u+16/116,c=c>.008856?c**(1/3):7.787*c+16/116;let s=116*u-16,d=500*(i-u),f=200*(u-c);return[s,d,f]},a.lab.xyz=function(l){let i=l[0],u=l[1],c=l[2],s,d,f;d=(i+16)/116,s=u/500+d,f=d-c/200;let p=d**3,m=s**3,b=f**3;return d=p>.008856?p:(d-16/116)/7.787,s=m>.008856?m:(s-16/116)/7.787,f=b>.008856?b:(f-16/116)/7.787,s*=95.047,d*=100,f*=108.883,[s,d,f]},a.lab.lch=function(l){let i=l[0],u=l[1],c=l[2],s;s=Math.atan2(c,u)*360/2/Math.PI,s<0&&(s+=360);let d=Math.sqrt(u*u+c*c);return[i,d,s]},a.lch.lab=function(l){let i=l[0],u=l[1],c=l[2]/360*2*Math.PI,s=u*Math.cos(c),d=u*Math.sin(c);return[i,s,d]},a.rgb.ansi16=function(l,i=null){let[u,c,s]=l,d=i===null?a.rgb.hsv(l)[2]:i;if(d=Math.round(d/50),d===0)return 30;let f=30+(Math.round(s/255)<<2|Math.round(c/255)<<1|Math.round(u/255));return d===2&&(f+=60),f},a.hsv.ansi16=function(l){return a.rgb.ansi16(a.hsv.rgb(l),l[2])},a.rgb.ansi256=function(l){let i=l[0],u=l[1],c=l[2];return i===u&&u===c?i<8?16:i>248?231:Math.round((i-8)/247*24)+232:16+36*Math.round(i/255*5)+6*Math.round(u/255*5)+Math.round(c/255*5)},a.ansi16.rgb=function(l){let i=l%10;if(i===0||i===7)return l>50&&(i+=3.5),i=i/10.5*255,[i,i,i];let u=(~~(l>50)+1)*.5,c=(i&1)*u*255,s=(i>>1&1)*u*255,d=(i>>2&1)*u*255;return[c,s,d]},a.ansi256.rgb=function(l){if(l>=232){let d=(l-232)*10+8;return[d,d,d]}l-=16;let i,u=Math.floor(l/36)/5*255,c=Math.floor((i=l%36)/6)/5*255,s=i%6/5*255;return[u,c,s]},a.rgb.hex=function(l){let i=(((Math.round(l[0])&255)<<16)+((Math.round(l[1])&255)<<8)+(Math.round(l[2])&255)).toString(16).toUpperCase();return"000000".substring(i.length)+i},a.hex.rgb=function(l){let i=l.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!i)return[0,0,0];let u=i[0];i[0].length===3&&(u=u.split("").map(p=>p+p).join(""));let c=parseInt(u,16),s=c>>16&255,d=c>>8&255,f=c&255;return[s,d,f]},a.rgb.hcg=function(l){let i=l[0]/255,u=l[1]/255,c=l[2]/255,s=Math.max(Math.max(i,u),c),d=Math.min(Math.min(i,u),c),f=s-d,p,m;return f<1?p=d/(1-f):p=0,f<=0?m=0:s===i?m=(u-c)/f%6:s===u?m=2+(c-i)/f:m=4+(i-u)/f,m/=6,m%=1,[m*360,f*100,p*100]},a.hsl.hcg=function(l){let i=l[1]/100,u=l[2]/100,c=u<.5?2*i*u:2*i*(1-u),s=0;return c<1&&(s=(u-.5*c)/(1-c)),[l[0],c*100,s*100]},a.hsv.hcg=function(l){let i=l[1]/100,u=l[2]/100,c=i*u,s=0;return c<1&&(s=(u-c)/(1-c)),[l[0],c*100,s*100]},a.hcg.rgb=function(l){let i=l[0]/360,u=l[1]/100,c=l[2]/100;if(u===0)return[c*255,c*255,c*255];let s=[0,0,0],d=i%1*6,f=d%1,p=1-f,m=0;switch(Math.floor(d)){case 0:s[0]=1,s[1]=f,s[2]=0;break;case 1:s[0]=p,s[1]=1,s[2]=0;break;case 2:s[0]=0,s[1]=1,s[2]=f;break;case 3:s[0]=0,s[1]=p,s[2]=1;break;case 4:s[0]=f,s[1]=0,s[2]=1;break;default:s[0]=1,s[1]=0,s[2]=p}return m=(1-u)*c,[(u*s[0]+m)*255,(u*s[1]+m)*255,(u*s[2]+m)*255]},a.hcg.hsv=function(l){let i=l[1]/100,u=l[2]/100,c=i+u*(1-i),s=0;return c>0&&(s=i/c),[l[0],s*100,c*100]},a.hcg.hsl=function(l){let i=l[1]/100,u=l[2]/100*(1-i)+.5*i,c=0;return u>0&&u<.5?c=i/(2*u):u>=.5&&u<1&&(c=i/(2*(1-u))),[l[0],c*100,u*100]},a.hcg.hwb=function(l){let i=l[1]/100,u=l[2]/100,c=i+u*(1-i);return[l[0],(c-i)*100,(1-c)*100]},a.hwb.hcg=function(l){let i=l[1]/100,u=1-l[2]/100,c=u-i,s=0;return c<1&&(s=(u-c)/(1-c)),[l[0],c*100,s*100]},a.apple.rgb=function(l){return[l[0]/65535*255,l[1]/65535*255,l[2]/65535*255]},a.rgb.apple=function(l){return[l[0]/255*65535,l[1]/255*65535,l[2]/255*65535]},a.gray.rgb=function(l){return[l[0]/100*255,l[0]/100*255,l[0]/100*255]},a.gray.hsl=function(l){return[0,0,l[0]]},a.gray.hsv=a.gray.hsl,a.gray.hwb=function(l){return[0,100,l[0]]},a.gray.cmyk=function(l){return[0,0,0,l[0]]},a.gray.lab=function(l){return[l[0],0,0]},a.gray.hex=function(l){let i=Math.round(l[0]/100*255)&255,u=((i<<16)+(i<<8)+i).toString(16).toUpperCase();return"000000".substring(u.length)+u},a.rgb.gray=function(l){return[(l[0]+l[1]+l[2])/3/255*100]}}}),a0=R({"../../node_modules/color-convert/route.js"(e,t){var r=up();function n(){let i={},u=Object.keys(r);for(let c=u.length,s=0;s1&&(s=d),u(s))};return"conversion"in u&&(c.conversion=u.conversion),c}function i(u){let c=function(...s){let d=s[0];if(d==null)return d;d.length>1&&(s=d);let f=u(s);if(typeof f=="object")for(let p=f.length,m=0;m{a[u]={},Object.defineProperty(a[u],"channels",{value:r[u].channels}),Object.defineProperty(a[u],"labels",{value:r[u].labels});let c=n(u);Object.keys(c).forEach(s=>{let d=c[s];a[u][s]=i(d),a[u][s].raw=l(d)})}),t.exports=a}}),l0=R({"../../node_modules/ansi-styles/index.js"(e,t){var r=(d,f)=>(...p)=>`\x1B[${d(...p)+f}m`,n=(d,f)=>(...p)=>{let m=d(...p);return`\x1B[${38+f};5;${m}m`},a=(d,f)=>(...p)=>{let m=d(...p);return`\x1B[${38+f};2;${m[0]};${m[1]};${m[2]}m`},o=d=>d,l=(d,f,p)=>[d,f,p],i=(d,f,p)=>{Object.defineProperty(d,f,{get:()=>{let m=p();return Object.defineProperty(d,f,{value:m,enumerable:!0,configurable:!0}),m},enumerable:!0,configurable:!0})},u,c=(d,f,p,m)=>{u===void 0&&(u=o0());let b=m?10:0,h={};for(let[y,g]of Object.entries(u)){let E=y==="ansi16"?"ansi":y;y===f?h[E]=d(p,b):typeof g=="object"&&(h[E]=d(g[f],b))}return h};function s(){let d=new Map,f={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};f.color.gray=f.color.blackBright,f.bgColor.bgGray=f.bgColor.bgBlackBright,f.color.grey=f.color.blackBright,f.bgColor.bgGrey=f.bgColor.bgBlackBright;for(let[p,m]of Object.entries(f)){for(let[b,h]of Object.entries(m))f[b]={open:`\x1B[${h[0]}m`,close:`\x1B[${h[1]}m`},m[b]=f[b],d.set(h[0],h[1]);Object.defineProperty(f,p,{value:m,enumerable:!1})}return Object.defineProperty(f,"codes",{value:d,enumerable:!1}),f.color.close="\x1B[39m",f.bgColor.close="\x1B[49m",i(f.color,"ansi",()=>c(r,"ansi16",o,!1)),i(f.color,"ansi256",()=>c(n,"ansi256",o,!1)),i(f.color,"ansi16m",()=>c(a,"rgb",l,!1)),i(f.bgColor,"ansi",()=>c(r,"ansi16",o,!0)),i(f.bgColor,"ansi256",()=>c(n,"ansi256",o,!0)),i(f.bgColor,"ansi16m",()=>c(a,"rgb",l,!0)),f}Object.defineProperty(t,"exports",{enumerable:!0,get:s})}}),i0=R({"../../node_modules/supports-color/browser.js"(e,t){t.exports={stdout:!1,stderr:!1}}}),s0=R({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/util.js"(e,t){var r=(a,o,l)=>{let i=a.indexOf(o);if(i===-1)return a;let u=o.length,c=0,s="";do s+=a.substr(c,i-c)+o+l,c=i+u,i=a.indexOf(o,c);while(i!==-1);return s+=a.substr(c),s},n=(a,o,l,i)=>{let u=0,c="";do{let s=a[i-1]==="\r";c+=a.substr(u,(s?i-1:i)-u)+o+(s?`\r +`:` +`)+l,u=i+1,i=a.indexOf(` +`,u)}while(i!==-1);return c+=a.substr(u),c};t.exports={stringReplaceAll:r,stringEncaseCRLFWithFirstIndex:n}}}),u0=R({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/templates.js"(e,t){var r=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,n=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,a=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,o=/\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.)|([^\\])/gi,l=new Map([["n",` +`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function i(d){let f=d[0]==="u",p=d[1]==="{";return f&&!p&&d.length===5||d[0]==="x"&&d.length===3?String.fromCharCode(parseInt(d.slice(1),16)):f&&p?String.fromCodePoint(parseInt(d.slice(2,-1),16)):l.get(d)||d}function u(d,f){let p=[],m=f.trim().split(/\s*,\s*/g),b;for(let h of m){let y=Number(h);if(!Number.isNaN(y))p.push(y);else if(b=h.match(a))p.push(b[2].replace(o,(g,E,C)=>E?i(E):C));else throw new Error(`Invalid Chalk template style argument: ${h} (in style '${d}')`)}return p}function c(d){n.lastIndex=0;let f=[],p;for(;(p=n.exec(d))!==null;){let m=p[1];if(p[2]){let b=u(m,p[2]);f.push([m].concat(b))}else f.push([m])}return f}function s(d,f){let p={};for(let b of f)for(let h of b.styles)p[h[0]]=b.inverse?null:h.slice(1);let m=d;for(let[b,h]of Object.entries(p))if(Array.isArray(h)){if(!(b in m))throw new Error(`Unknown Chalk style: ${b}`);m=h.length>0?m[b](...h):m[b]}return m}t.exports=(d,f)=>{let p=[],m=[],b=[];if(f.replace(r,(h,y,g,E,C,q)=>{if(y)b.push(i(y));else if(E){let _=b.join("");b=[],m.push(p.length===0?_:s(d,p)(_)),p.push({inverse:g,styles:c(E)})}else if(C){if(p.length===0)throw new Error("Found extraneous } in Chalk template literal");m.push(s(d,p)(b.join(""))),b=[],p.pop()}else b.push(q)}),m.push(b.join("")),p.length>0){let h=`Chalk template literal is missing ${p.length} closing bracket${p.length===1?"":"s"} (\`}\`)`;throw new Error(h)}return m.join("")}}}),cp=R({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/index.js"(e,t){var r=l0(),{stdout:n,stderr:a}=i0(),{stringReplaceAll:o,stringEncaseCRLFWithFirstIndex:l}=s0(),i=["ansi","ansi","ansi256","ansi16m"],u=Object.create(null),c=(q,_={})=>{if(_.level>3||_.level<0)throw new Error("The `level` option should be an integer from 0 to 3");let v=n?n.level:0;q.level=_.level===void 0?v:_.level},s=class{constructor(q){return d(q)}},d=q=>{let _={};return c(_,q),_.template=(...v)=>E(_.template,...v),Object.setPrototypeOf(_,f.prototype),Object.setPrototypeOf(_.template,_),_.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},_.template.Instance=s,_.template};function f(q){return d(q)}for(let[q,_]of Object.entries(r))u[q]={get(){let v=h(this,b(_.open,_.close,this._styler),this._isEmpty);return Object.defineProperty(this,q,{value:v}),v}};u.visible={get(){let q=h(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:q}),q}};var p=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let q of p)u[q]={get(){let{level:_}=this;return function(...v){let w=b(r.color[i[_]][q](...v),r.color.close,this._styler);return h(this,w,this._isEmpty)}}};for(let q of p){let _="bg"+q[0].toUpperCase()+q.slice(1);u[_]={get(){let{level:v}=this;return function(...w){let P=b(r.bgColor[i[v]][q](...w),r.bgColor.close,this._styler);return h(this,P,this._isEmpty)}}}}var m=Object.defineProperties(()=>{},{...u,level:{enumerable:!0,get(){return this._generator.level},set(q){this._generator.level=q}}}),b=(q,_,v)=>{let w,P;return v===void 0?(w=q,P=_):(w=v.openAll+q,P=_+v.closeAll),{open:q,close:_,openAll:w,closeAll:P,parent:v}},h=(q,_,v)=>{let w=(...P)=>y(w,P.length===1?""+P[0]:P.join(" "));return w.__proto__=m,w._generator=q,w._styler=_,w._isEmpty=v,w},y=(q,_)=>{if(q.level<=0||!_)return q._isEmpty?"":_;let v=q._styler;if(v===void 0)return _;let{openAll:w,closeAll:P}=v;if(_.indexOf("\x1B")!==-1)for(;v!==void 0;)_=o(_,v.close,v.open),v=v.parent;let j=_.indexOf(` +`);return j!==-1&&(_=l(_,P,w,j)),w+_+P},g,E=(q,..._)=>{let[v]=_;if(!Array.isArray(v))return _.join(" ");let w=_.slice(1),P=[v.raw[0]];for(let j=1;j-1}t.exports=n}}),m0=R({"../../node_modules/lodash/_listCacheSet.js"(e,t){var r=ca();function n(a,o){var l=this.__data__,i=r(l,a);return i<0?(++this.size,l.push([a,o])):l[i][1]=o,this}t.exports=n}}),da=R({"../../node_modules/lodash/_ListCache.js"(e,t){var r=c0(),n=d0(),a=p0(),o=f0(),l=m0();function i(u){var c=-1,s=u==null?0:u.length;for(this.clear();++cb))return!1;var y=p.get(u),g=p.get(c);if(y&&g)return y==c&&g==u;var E=-1,C=!0,q=s&l?new r:void 0;for(p.set(u,c),p.set(c,u);++E-1&&o%1==0&&o-1&&a%1==0&&a<=r}t.exports=n}}),aC=R({"../../node_modules/lodash/_baseIsTypedArray.js"(e,t){var r=pa(),n=vp(),a=ha(),o="[object Arguments]",l="[object Array]",i="[object Boolean]",u="[object Date]",c="[object Error]",s="[object Function]",d="[object Map]",f="[object Number]",p="[object Object]",m="[object RegExp]",b="[object Set]",h="[object String]",y="[object WeakMap]",g="[object ArrayBuffer]",E="[object DataView]",C="[object Float32Array]",q="[object Float64Array]",_="[object Int8Array]",v="[object Int16Array]",w="[object Int32Array]",P="[object Uint8Array]",j="[object Uint8ClampedArray]",$="[object Uint16Array]",B="[object Uint32Array]",I={};I[C]=I[q]=I[_]=I[v]=I[w]=I[P]=I[j]=I[$]=I[B]=!0,I[o]=I[l]=I[g]=I[i]=I[E]=I[u]=I[c]=I[s]=I[d]=I[f]=I[p]=I[m]=I[b]=I[h]=I[y]=!1;function A(k){return a(k)&&n(k.length)&&!!I[r(k)]}t.exports=A}}),oC=R({"../../node_modules/lodash/_baseUnary.js"(e,t){function r(n){return function(a){return n(a)}}t.exports=r}}),lC=R({"../../node_modules/lodash/_nodeUtil.js"(e,t){var r=pp(),n=typeof e=="object"&&e&&!e.nodeType&&e,a=n&&typeof t=="object"&&t&&!t.nodeType&&t,o=a&&a.exports===n,l=o&&r.process,i=function(){try{var u=a&&a.require&&a.require("util").types;return u||l&&l.binding&&l.binding("util")}catch{}}();t.exports=i}}),_p=R({"../../node_modules/lodash/isTypedArray.js"(e,t){var r=aC(),n=oC(),a=lC(),o=a&&a.isTypedArray,l=o?n(o):r;t.exports=l}}),iC=R({"../../node_modules/lodash/_arrayLikeKeys.js"(e,t){var r=Z0(),n=tC(),a=pi(),o=gp(),l=nC(),i=_p(),u=Object.prototype,c=u.hasOwnProperty;function s(d,f){var p=a(d),m=!p&&n(d),b=!p&&!m&&o(d),h=!p&&!m&&!b&&i(d),y=p||m||b||h,g=y?r(d.length,String):[],E=g.length;for(var C in d)(f||c.call(d,C))&&!(y&&(C=="length"||b&&(C=="offset"||C=="parent")||h&&(C=="buffer"||C=="byteLength"||C=="byteOffset")||l(C,E)))&&g.push(C);return g}t.exports=s}}),sC=R({"../../node_modules/lodash/_isPrototype.js"(e,t){var r=Object.prototype;function n(a){var o=a&&a.constructor,l=typeof o=="function"&&o.prototype||r;return a===l}t.exports=n}}),uC=R({"../../node_modules/lodash/_overArg.js"(e,t){function r(n,a){return function(o){return n(a(o))}}t.exports=r}}),cC=R({"../../node_modules/lodash/_nativeKeys.js"(e,t){var r=uC(),n=r(Object.keys,Object);t.exports=n}}),dC=R({"../../node_modules/lodash/_baseKeys.js"(e,t){var r=sC(),n=cC(),a=Object.prototype,o=a.hasOwnProperty;function l(i){if(!r(i))return n(i);var u=[];for(var c in Object(i))o.call(i,c)&&c!="constructor"&&u.push(c);return u}t.exports=l}}),pC=R({"../../node_modules/lodash/isArrayLike.js"(e,t){var r=mp(),n=vp();function a(o){return o!=null&&n(o.length)&&!r(o)}t.exports=a}}),fC=R({"../../node_modules/lodash/keys.js"(e,t){var r=iC(),n=dC(),a=pC();function o(l){return a(l)?r(l):n(l)}t.exports=o}}),mC=R({"../../node_modules/lodash/_getAllKeys.js"(e,t){var r=Y0(),n=Q0(),a=fC();function o(l){return r(l,a,n)}t.exports=o}}),hC=R({"../../node_modules/lodash/_equalObjects.js"(e,t){var r=mC(),n=1,a=Object.prototype,o=a.hasOwnProperty;function l(i,u,c,s,d,f){var p=c&n,m=r(i),b=m.length,h=r(u),y=h.length;if(b!=y&&!p)return!1;for(var g=b;g--;){var E=m[g];if(!(p?E in u:o.call(u,E)))return!1}var C=f.get(i),q=f.get(u);if(C&&q)return C==u&&q==i;var _=!0;f.set(i,u),f.set(u,i);for(var v=p;++g=1&&u<=31||u==127||i==0&&u>=48&&u<=57||i==1&&u>=48&&u<=57&&s==45){c+="\\"+u.toString(16)+" ";continue}if(i==0&&l==1&&u==45){c+="\\"+o.charAt(i);continue}if(u>=128||u==45||u==95||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122){c+=o.charAt(i);continue}c+="\\"+o.charAt(i)}return c};return r.CSS||(r.CSS={}),r.CSS.escape=n,n})}}),Cp=R({"../../node_modules/@testing-library/dom/node_modules/ansi-styles/index.js"(e,t){var r=(o=0)=>l=>`\x1B[${38+o};5;${l}m`,n=(o=0)=>(l,i,u)=>`\x1B[${38+o};2;${l};${i};${u}m`;function a(){let o=new Map,l={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};l.color.gray=l.color.blackBright,l.bgColor.bgGray=l.bgColor.bgBlackBright,l.color.grey=l.color.blackBright,l.bgColor.bgGrey=l.bgColor.bgBlackBright;for(let[i,u]of Object.entries(l)){for(let[c,s]of Object.entries(u))l[c]={open:`\x1B[${s[0]}m`,close:`\x1B[${s[1]}m`},u[c]=l[c],o.set(s[0],s[1]);Object.defineProperty(l,i,{value:u,enumerable:!1})}return Object.defineProperty(l,"codes",{value:o,enumerable:!1}),l.color.close="\x1B[39m",l.bgColor.close="\x1B[49m",l.color.ansi256=r(),l.color.ansi16m=n(),l.bgColor.ansi256=r(10),l.bgColor.ansi16m=n(10),Object.defineProperties(l,{rgbToAnsi256:{value:(i,u,c)=>i===u&&u===c?i<8?16:i>248?231:Math.round((i-8)/247*24)+232:16+36*Math.round(i/255*5)+6*Math.round(u/255*5)+Math.round(c/255*5),enumerable:!1},hexToRgb:{value:i=>{let u=/(?[a-f\d]{6}|[a-f\d]{3})/i.exec(i.toString(16));if(!u)return[0,0,0];let{colorString:c}=u.groups;c.length===3&&(c=c.split("").map(d=>d+d).join(""));let s=Number.parseInt(c,16);return[s>>16&255,s>>8&255,s&255]},enumerable:!1},hexToAnsi256:{value:i=>l.rgbToAnsi256(...l.hexToRgb(i)),enumerable:!1}}),l}Object.defineProperty(t,"exports",{enumerable:!0,get:a})}}),ba=R({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/collections.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.printIteratorEntries=r,e.printIteratorValues=n,e.printListItems=a,e.printObjectProperties=o;var t=(l,i)=>{let u=Object.keys(l).sort(i);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(l).forEach(c=>{Object.getOwnPropertyDescriptor(l,c).enumerable&&u.push(c)}),u};function r(l,i,u,c,s,d,f=": "){let p="",m=l.next();if(!m.done){p+=i.spacingOuter;let b=u+i.indent;for(;!m.done;){let h=d(m.value[0],i,b,c,s),y=d(m.value[1],i,b,c,s);p+=b+h+f+y,m=l.next(),m.done?i.min||(p+=","):p+=","+i.spacingInner}p+=i.spacingOuter+u}return p}function n(l,i,u,c,s,d){let f="",p=l.next();if(!p.done){f+=i.spacingOuter;let m=u+i.indent;for(;!p.done;)f+=m+d(p.value,i,m,c,s),p=l.next(),p.done?i.min||(f+=","):f+=","+i.spacingInner;f+=i.spacingOuter+u}return f}function a(l,i,u,c,s,d){let f="";if(l.length){f+=i.spacingOuter;let p=u+i.indent;for(let m=0;m{let h=s.toString();return h==="ArrayContaining"||h==="ArrayNotContaining"?++p>d.maxDepth?"["+h+"]":h+o+"["+(0,t.printListItems)(s.sample,d,f,p,m,b)+"]":h==="ObjectContaining"||h==="ObjectNotContaining"?++p>d.maxDepth?"["+h+"]":h+o+"{"+(0,t.printObjectProperties)(s.sample,d,f,p,m,b)+"}":h==="StringMatching"||h==="StringNotMatching"||h==="StringContaining"||h==="StringNotContaining"?h+o+b(s.sample,d,f,p,m):s.toAsymmetricMatcher()};e.serialize=l;var i=s=>s&&s.$$typeof===a;e.test=i;var u={serialize:l,test:i},c=u;e.default=c}}),qC=R({"../../node_modules/@testing-library/dom/node_modules/ansi-regex/index.js"(e,t){t.exports=({onlyFirst:r=!1}={})=>{let n=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(n,r?void 0:"g")}}}),EC=R({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/ConvertAnsi.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=n(qC()),r=n(Cp());function n(c){return c&&c.__esModule?c:{default:c}}var a=c=>c.replace((0,t.default)(),s=>{switch(s){case r.default.red.close:case r.default.green.close:case r.default.cyan.close:case r.default.gray.close:case r.default.white.close:case r.default.yellow.close:case r.default.bgRed.close:case r.default.bgGreen.close:case r.default.bgYellow.close:case r.default.inverse.close:case r.default.dim.close:case r.default.bold.close:case r.default.reset.open:case r.default.reset.close:return"";case r.default.red.open:return"";case r.default.green.open:return"";case r.default.cyan.open:return"";case r.default.gray.open:return"";case r.default.white.open:return"";case r.default.yellow.open:return"";case r.default.bgRed.open:return"";case r.default.bgGreen.open:return"";case r.default.bgYellow.open:return"";case r.default.inverse.open:return"";case r.default.dim.open:return"";case r.default.bold.open:return"";default:return""}}),o=c=>typeof c=="string"&&!!c.match((0,t.default)());e.test=o;var l=(c,s,d,f,p,m)=>m(a(c),s,d,f,p);e.serialize=l;var i={serialize:l,test:o},u=i;e.default=u}}),PC=R({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/DOMCollection.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=ba(),r=" ",n=["DOMStringMap","NamedNodeMap"],a=/^(HTML\w*Collection|NodeList)$/,o=d=>n.indexOf(d)!==-1||a.test(d),l=d=>d&&d.constructor&&!!d.constructor.name&&o(d.constructor.name);e.test=l;var i=d=>d.constructor.name==="NamedNodeMap",u=(d,f,p,m,b,h)=>{let y=d.constructor.name;return++m>f.maxDepth?"["+y+"]":(f.min?"":y+r)+(n.indexOf(y)!==-1?"{"+(0,t.printObjectProperties)(i(d)?Array.from(d).reduce((g,E)=>(g[E.name]=E.value,g),{}):{...d},f,p,m,b,h)+"}":"["+(0,t.printListItems)(Array.from(d),f,p,m,b,h)+"]")};e.serialize=u;var c={serialize:u,test:l},s=c;e.default=s}}),OC=R({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/lib/escapeHTML.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return r.replace(//g,">")}}}),fi=R({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/lib/markup.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.printText=e.printProps=e.printElementAsLeaf=e.printElement=e.printComment=e.printChildren=void 0;var t=r(OC());function r(c){return c&&c.__esModule?c:{default:c}}var n=(c,s,d,f,p,m,b)=>{let h=f+d.indent,y=d.colors;return c.map(g=>{let E=s[g],C=b(E,d,h,p,m);return typeof E!="string"&&(C.indexOf(` +`)!==-1&&(C=d.spacingOuter+h+C+d.spacingOuter+f),C="{"+C+"}"),d.spacingInner+f+y.prop.open+g+y.prop.close+"="+y.value.open+C+y.value.close}).join("")};e.printProps=n;var a=(c,s,d,f,p,m)=>c.map(b=>s.spacingOuter+d+(typeof b=="string"?o(b,s):m(b,s,d,f,p))).join("");e.printChildren=a;var o=(c,s)=>{let d=s.colors.content;return d.open+(0,t.default)(c)+d.close};e.printText=o;var l=(c,s)=>{let d=s.colors.comment;return d.open+""+d.close};e.printComment=l;var i=(c,s,d,f,p)=>{let m=f.colors.tag;return m.open+"<"+c+(s&&m.close+s+f.spacingOuter+p+m.open)+(d?">"+m.close+d+f.spacingOuter+p+m.open+""+m.close};e.printElement=i;var u=(c,s)=>{let d=s.colors.tag;return d.open+"<"+c+d.close+" …"+d.open+" />"+d.close};e.printElementAsLeaf=u}}),TC=R({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/DOMElement.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=fi(),r=1,n=3,a=8,o=11,l=/^((HTML|SVG)\w*)?Element$/,i=h=>{try{return typeof h.hasAttribute=="function"&&h.hasAttribute("is")}catch{return!1}},u=h=>{let y=h.constructor.name,{nodeType:g,tagName:E}=h,C=typeof E=="string"&&E.includes("-")||i(h);return g===r&&(l.test(y)||C)||g===n&&y==="Text"||g===a&&y==="Comment"||g===o&&y==="DocumentFragment"},c=h=>{var y;return(h==null||(y=h.constructor)===null||y===void 0?void 0:y.name)&&u(h)};e.test=c;function s(h){return h.nodeType===n}function d(h){return h.nodeType===a}function f(h){return h.nodeType===o}var p=(h,y,g,E,C,q)=>{if(s(h))return(0,t.printText)(h.data,y);if(d(h))return(0,t.printComment)(h.data,y);let _=f(h)?"DocumentFragment":h.tagName.toLowerCase();return++E>y.maxDepth?(0,t.printElementAsLeaf)(_,y):(0,t.printElement)(_,(0,t.printProps)(f(h)?[]:Array.from(h.attributes).map(v=>v.name).sort(),f(h)?{}:Array.from(h.attributes).reduce((v,w)=>(v[w.name]=w.value,v),{}),y,g+y.indent,E,C,q),(0,t.printChildren)(Array.prototype.slice.call(h.childNodes||h.children),y,g+y.indent,E,C,q),y,g)};e.serialize=p;var m={serialize:p,test:c},b=m;e.default=b}}),SC=R({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/Immutable.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=ba(),r="@@__IMMUTABLE_ITERABLE__@@",n="@@__IMMUTABLE_LIST__@@",a="@@__IMMUTABLE_KEYED__@@",o="@@__IMMUTABLE_MAP__@@",l="@@__IMMUTABLE_ORDERED__@@",i="@@__IMMUTABLE_RECORD__@@",u="@@__IMMUTABLE_SEQ__@@",c="@@__IMMUTABLE_SET__@@",s="@@__IMMUTABLE_STACK__@@",d=w=>"Immutable."+w,f=w=>"["+w+"]",p=" ",m="…",b=(w,P,j,$,B,I,A)=>++$>P.maxDepth?f(d(A)):d(A)+p+"{"+(0,t.printIteratorEntries)(w.entries(),P,j,$,B,I)+"}";function h(w){let P=0;return{next(){if(P{let A=d(w._name||"Record");return++$>P.maxDepth?f(A):A+p+"{"+(0,t.printIteratorEntries)(h(w),P,j,$,B,I)+"}"},g=(w,P,j,$,B,I)=>{let A=d("Seq");return++$>P.maxDepth?f(A):w[a]?A+p+"{"+(w._iter||w._object?(0,t.printIteratorEntries)(w.entries(),P,j,$,B,I):m)+"}":A+p+"["+(w._iter||w._array||w._collection||w._iterable?(0,t.printIteratorValues)(w.values(),P,j,$,B,I):m)+"]"},E=(w,P,j,$,B,I,A)=>++$>P.maxDepth?f(d(A)):d(A)+p+"["+(0,t.printIteratorValues)(w.values(),P,j,$,B,I)+"]",C=(w,P,j,$,B,I)=>w[o]?b(w,P,j,$,B,I,w[l]?"OrderedMap":"Map"):w[n]?E(w,P,j,$,B,I,"List"):w[c]?E(w,P,j,$,B,I,w[l]?"OrderedSet":"Set"):w[s]?E(w,P,j,$,B,I,"Stack"):w[u]?g(w,P,j,$,B,I):y(w,P,j,$,B,I);e.serialize=C;var q=w=>w&&(w[r]===!0||w[i]===!0);e.test=q;var _={serialize:C,test:q},v=_;e.default=v}}),AC=R({"../../node_modules/@testing-library/dom/node_modules/react-is/cjs/react-is.production.min.js"(e){var t=60103,r=60106,n=60107,a=60108,o=60114,l=60109,i=60110,u=60112,c=60113,s=60120,d=60115,f=60116,p=60121,m=60122,b=60117,h=60129,y=60131;typeof Symbol=="function"&&Symbol.for&&(g=Symbol.for,t=g("react.element"),r=g("react.portal"),n=g("react.fragment"),a=g("react.strict_mode"),o=g("react.profiler"),l=g("react.provider"),i=g("react.context"),u=g("react.forward_ref"),c=g("react.suspense"),s=g("react.suspense_list"),d=g("react.memo"),f=g("react.lazy"),p=g("react.block"),m=g("react.server.block"),b=g("react.fundamental"),h=g("react.debug_trace_mode"),y=g("react.legacy_hidden"));var g;function E(A){if(typeof A=="object"&&A!==null){var k=A.$$typeof;switch(k){case t:switch(A=A.type,A){case n:case o:case a:case c:case s:return A;default:switch(A=A&&A.$$typeof,A){case i:case u:case f:case d:case l:return A;default:return k}}case r:return k}}}var C=l,q=t,_=u,v=n,w=f,P=d,j=r,$=o,B=a,I=c;e.ContextConsumer=i,e.ContextProvider=C,e.Element=q,e.ForwardRef=_,e.Fragment=v,e.Lazy=w,e.Memo=P,e.Portal=j,e.Profiler=$,e.StrictMode=B,e.Suspense=I,e.isAsyncMode=function(){return!1},e.isConcurrentMode=function(){return!1},e.isContextConsumer=function(A){return E(A)===i},e.isContextProvider=function(A){return E(A)===l},e.isElement=function(A){return typeof A=="object"&&A!==null&&A.$$typeof===t},e.isForwardRef=function(A){return E(A)===u},e.isFragment=function(A){return E(A)===n},e.isLazy=function(A){return E(A)===f},e.isMemo=function(A){return E(A)===d},e.isPortal=function(A){return E(A)===r},e.isProfiler=function(A){return E(A)===o},e.isStrictMode=function(A){return E(A)===a},e.isSuspense=function(A){return E(A)===c},e.isValidElementType=function(A){return typeof A=="string"||typeof A=="function"||A===n||A===o||A===h||A===a||A===c||A===s||A===y||typeof A=="object"&&A!==null&&(A.$$typeof===f||A.$$typeof===d||A.$$typeof===l||A.$$typeof===i||A.$$typeof===u||A.$$typeof===b||A.$$typeof===p||A[0]===m)},e.typeOf=E}}),MC=R({"../../node_modules/@testing-library/dom/node_modules/react-is/index.js"(e,t){t.exports=AC()}}),xC=R({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/ReactElement.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=a(MC()),r=fi();function n(f){if(typeof WeakMap!="function")return null;var p=new WeakMap,m=new WeakMap;return(n=function(b){return b?m:p})(f)}function a(f,p){if(f&&f.__esModule)return f;if(f===null||typeof f!="object"&&typeof f!="function")return{default:f};var m=n(p);if(m&&m.has(f))return m.get(f);var b={},h=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var y in f)if(y!=="default"&&Object.prototype.hasOwnProperty.call(f,y)){var g=h?Object.getOwnPropertyDescriptor(f,y):null;g&&(g.get||g.set)?Object.defineProperty(b,y,g):b[y]=f[y]}return b.default=f,m&&m.set(f,b),b}var o=(f,p=[])=>(Array.isArray(f)?f.forEach(m=>{o(m,p)}):f!=null&&f!==!1&&p.push(f),p),l=f=>{let p=f.type;if(typeof p=="string")return p;if(typeof p=="function")return p.displayName||p.name||"Unknown";if(t.isFragment(f))return"React.Fragment";if(t.isSuspense(f))return"React.Suspense";if(typeof p=="object"&&p!==null){if(t.isContextProvider(f))return"Context.Provider";if(t.isContextConsumer(f))return"Context.Consumer";if(t.isForwardRef(f)){if(p.displayName)return p.displayName;let m=p.render.displayName||p.render.name||"";return m!==""?"ForwardRef("+m+")":"ForwardRef"}if(t.isMemo(f)){let m=p.displayName||p.type.displayName||p.type.name||"";return m!==""?"Memo("+m+")":"Memo"}}return"UNDEFINED"},i=f=>{let{props:p}=f;return Object.keys(p).filter(m=>m!=="children"&&p[m]!==void 0).sort()},u=(f,p,m,b,h,y)=>++b>p.maxDepth?(0,r.printElementAsLeaf)(l(f),p):(0,r.printElement)(l(f),(0,r.printProps)(i(f),f.props,p,m+p.indent,b,h,y),(0,r.printChildren)(o(f.props.children),p,m+p.indent,b,h,y),p,m);e.serialize=u;var c=f=>f!=null&&t.isElement(f);e.test=c;var s={serialize:u,test:c},d=s;e.default=d}}),jC=R({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/ReactTestComponent.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=fi(),r=function(){return typeof globalThis<"u"?globalThis:typeof r<"u"?r:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()}(),n=r["jest-symbol-do-not-touch"]||r.Symbol,a=typeof n=="function"&&n.for?n.for("react.test.json"):245830487,o=s=>{let{props:d}=s;return d?Object.keys(d).filter(f=>d[f]!==void 0).sort():[]},l=(s,d,f,p,m,b)=>++p>d.maxDepth?(0,t.printElementAsLeaf)(s.type,d):(0,t.printElement)(s.type,s.props?(0,t.printProps)(o(s),s.props,d,f+d.indent,p,m,b):"",s.children?(0,t.printChildren)(s.children,d,f+d.indent,p,m,b):"",d,f);e.serialize=l;var i=s=>s&&s.$$typeof===a;e.test=i;var u={serialize:l,test:i},c=u;e.default=c}}),NC=R({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DEFAULT_OPTIONS=void 0,e.format=oe,e.plugins=void 0;var t=s(Cp()),r=ba(),n=s(CC()),a=s(EC()),o=s(PC()),l=s(TC()),i=s(SC()),u=s(xC()),c=s(jC());function s(M){return M&&M.__esModule?M:{default:M}}var d=Object.prototype.toString,f=Date.prototype.toISOString,p=Error.prototype.toString,m=RegExp.prototype.toString,b=M=>typeof M.constructor=="function"&&M.constructor.name||"Object",h=M=>typeof window<"u"&&M===window,y=/^Symbol\((.*)\)(.*)$/,g=/\n/gi,E=class extends Error{constructor(M,V){super(M),this.stack=V,this.name=this.constructor.name}};function C(M){return M==="[object Array]"||M==="[object ArrayBuffer]"||M==="[object DataView]"||M==="[object Float32Array]"||M==="[object Float64Array]"||M==="[object Int8Array]"||M==="[object Int16Array]"||M==="[object Int32Array]"||M==="[object Uint8Array]"||M==="[object Uint8ClampedArray]"||M==="[object Uint16Array]"||M==="[object Uint32Array]"}function q(M){return Object.is(M,-0)?"-0":String(M)}function _(M){return`${M}n`}function v(M,V){return V?"[Function "+(M.name||"anonymous")+"]":"[Function]"}function w(M){return String(M).replace(y,"Symbol($1)")}function P(M){return"["+p.call(M)+"]"}function j(M,V,J,re){if(M===!0||M===!1)return""+M;if(M===void 0)return"undefined";if(M===null)return"null";let te=typeof M;if(te==="number")return q(M);if(te==="bigint")return _(M);if(te==="string")return re?'"'+M.replace(/"|\\/g,"\\$&")+'"':'"'+M+'"';if(te==="function")return v(M,V);if(te==="symbol")return w(M);let Re=d.call(M);return Re==="[object WeakMap]"?"WeakMap {}":Re==="[object WeakSet]"?"WeakSet {}":Re==="[object Function]"||Re==="[object GeneratorFunction]"?v(M,V):Re==="[object Symbol]"?w(M):Re==="[object Date]"?isNaN(+M)?"Date { NaN }":f.call(M):Re==="[object Error]"?P(M):Re==="[object RegExp]"?J?m.call(M).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):m.call(M):M instanceof Error?P(M):null}function $(M,V,J,re,te,Re){if(te.indexOf(M)!==-1)return"[Circular]";te=te.slice(),te.push(M);let we=++re>V.maxDepth,Ee=V.min;if(V.callToJSON&&!we&&M.toJSON&&typeof M.toJSON=="function"&&!Re)return k(M.toJSON(),V,J,re,te,!0);let We=d.call(M);return We==="[object Arguments]"?we?"[Arguments]":(Ee?"":"Arguments ")+"["+(0,r.printListItems)(M,V,J,re,te,k)+"]":C(We)?we?"["+M.constructor.name+"]":(Ee||!V.printBasicPrototype&&M.constructor.name==="Array"?"":M.constructor.name+" ")+"["+(0,r.printListItems)(M,V,J,re,te,k)+"]":We==="[object Map]"?we?"[Map]":"Map {"+(0,r.printIteratorEntries)(M.entries(),V,J,re,te,k," => ")+"}":We==="[object Set]"?we?"[Set]":"Set {"+(0,r.printIteratorValues)(M.values(),V,J,re,te,k)+"}":we||h(M)?"["+b(M)+"]":(Ee||!V.printBasicPrototype&&b(M)==="Object"?"":b(M)+" ")+"{"+(0,r.printObjectProperties)(M,V,J,re,te,k)+"}"}function B(M){return M.serialize!=null}function I(M,V,J,re,te,Re){let we;try{we=B(M)?M.serialize(V,J,re,te,Re,k):M.print(V,Ee=>k(Ee,J,re,te,Re),Ee=>{let We=re+J.indent;return We+Ee.replace(g,` +`+We)},{edgeSpacing:J.spacingOuter,min:J.min,spacing:J.spacingInner},J.colors)}catch(Ee){throw new E(Ee.message,Ee.stack)}if(typeof we!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof we}".`);return we}function A(M,V){for(let J=0;J{if(!G.hasOwnProperty(V))throw new Error(`pretty-format: Unknown option "${V}".`)}),M.min&&M.indent!==void 0&&M.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(M.theme!==void 0){if(M.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof M.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof M.theme}".`)}}var ve=M=>W.reduce((V,J)=>{let re=M.theme&&M.theme[J]!==void 0?M.theme[J]:U[J],te=re&&t.default[re];if(te&&typeof te.close=="string"&&typeof te.open=="string")V[J]=te;else throw new Error(`pretty-format: Option "theme" has a key "${J}" whose value "${re}" is undefined in ansi-styles.`);return V},Object.create(null)),pe=()=>W.reduce((M,V)=>(M[V]={close:"",open:""},M),Object.create(null)),F=M=>M&&M.printFunctionName!==void 0?M.printFunctionName:G.printFunctionName,L=M=>M&&M.escapeRegex!==void 0?M.escapeRegex:G.escapeRegex,D=M=>M&&M.escapeString!==void 0?M.escapeString:G.escapeString,z=M=>{var V;return{callToJSON:M&&M.callToJSON!==void 0?M.callToJSON:G.callToJSON,colors:M&&M.highlight?ve(M):pe(),compareKeys:M&&typeof M.compareKeys=="function"?M.compareKeys:G.compareKeys,escapeRegex:L(M),escapeString:D(M),indent:M&&M.min?"":H(M&&M.indent!==void 0?M.indent:G.indent),maxDepth:M&&M.maxDepth!==void 0?M.maxDepth:G.maxDepth,min:M&&M.min!==void 0?M.min:G.min,plugins:M&&M.plugins!==void 0?M.plugins:G.plugins,printBasicPrototype:(V=M==null?void 0:M.printBasicPrototype)!==null&&V!==void 0?V:!0,printFunctionName:F(M),spacingInner:M&&M.min?" ":` +`,spacingOuter:M&&M.min?"":` +`}};function H(M){return new Array(M+1).join(" ")}function oe(M,V){if(V&&(se(V),V.plugins)){let re=A(V.plugins,M);if(re!==null)return I(re,M,z(V),"",0,[])}let J=j(M,F(V),L(V),D(V));return J!==null?J:$(M,z(V),"",0,[])}var ue={AsymmetricMatcher:n.default,ConvertAnsi:a.default,DOMCollection:o.default,DOMElement:l.default,Immutable:i.default,ReactElement:u.default,ReactTestComponent:c.default};e.plugins=ue;var ut=oe;e.default=ut}}),$C=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/util/iteratorProxy.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var n=this,a=0,o={"@@iterator":function(){return o},next:function(){if(a=p.length?{done:!0}:{done:!1,value:p[h++]}},e:function(q){throw q},f:y}}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=!0,E=!1,C;return{s:function(){b=b.call(p)},n:function(){var q=b.next();return g=q.done,q},e:function(q){E=!0,C=q},f:function(){try{!g&&b.return!=null&&b.return()}finally{if(E)throw C}}}}function u(p,m){if(p){if(typeof p=="string")return c(p,m);var b=Object.prototype.toString.call(p).slice(8,-1);if(b==="Object"&&p.constructor&&(b=p.constructor.name),b==="Map"||b==="Set")return Array.from(p);if(b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b))return c(p,m)}}function c(p,m){(m==null||m>p.length)&&(m=p.length);for(var b=0,h=new Array(m);b1&&arguments[1]!==void 0?arguments[1]:null,b=i(s),h;try{for(b.s();!(h=b.n()).done;){var y=n(h.value,2),g=y[0],E=y[1];p.call(m,E,g,s)}}catch(C){b.e(C)}finally{b.f()}},get:function(p){var m=s.find(function(b){return b[0]===p});return m&&m[1]},has:function(p){return!!d.get(p)},keys:function(){return s.map(function(p){var m=n(p,1),b=m[0];return b})},values:function(){return s.map(function(p){var m=n(p,2),b=m[1];return b})}},f=(0,t.default)(d,d.entries());e.default=f}}),BC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/domMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(fn());function r(p){return p&&p.__esModule?p:{default:p}}function n(p,m){return l(p)||o(p,m)||u(p,m)||a()}function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function o(p,m){var b=p==null?null:typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(b!=null){var h=[],y=!0,g=!1,E,C;try{for(b=b.call(p);!(y=(E=b.next()).done)&&(h.push(E.value),!(m&&h.length===m));y=!0);}catch(q){g=!0,C=q}finally{try{!y&&b.return!=null&&b.return()}finally{if(g)throw C}}return h}}function l(p){if(Array.isArray(p))return p}function i(p,m){var b=typeof Symbol<"u"&&p[Symbol.iterator]||p["@@iterator"];if(!b){if(Array.isArray(p)||(b=u(p))||m){b&&(p=b);var h=0,y=function(){};return{s:y,n:function(){return h>=p.length?{done:!0}:{done:!1,value:p[h++]}},e:function(q){throw q},f:y}}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=!0,E=!1,C;return{s:function(){b=b.call(p)},n:function(){var q=b.next();return g=q.done,q},e:function(q){E=!0,C=q},f:function(){try{!g&&b.return!=null&&b.return()}finally{if(E)throw C}}}}function u(p,m){if(p){if(typeof p=="string")return c(p,m);var b=Object.prototype.toString.call(p).slice(8,-1);if(b==="Object"&&p.constructor&&(b=p.constructor.name),b==="Map"||b==="Set")return Array.from(p);if(b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b))return c(p,m)}}function c(p,m){(m==null||m>p.length)&&(m=p.length);for(var b=0,h=new Array(m);b1&&arguments[1]!==void 0?arguments[1]:null,b=i(s),h;try{for(b.s();!(h=b.n()).done;){var y=n(h.value,2),g=y[0],E=y[1];p.call(m,E,g,s)}}catch(C){b.e(C)}finally{b.f()}},get:function(p){var m=s.find(function(b){return b[0]===p});return m&&m[1]},has:function(p){return!!d.get(p)},keys:function(){return s.map(function(p){var m=n(p,1),b=m[0];return b})},values:function(){return s.map(function(p){var m=n(p,2),b=m[1];return b})}},f=(0,t.default)(d,d.entries());e.default=f}}),kC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/commandRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}}),LC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}}),DC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/inputRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}}),FC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),HC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),UC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},r=t;e.default=r}}),VC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),zC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),GC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/selectRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]},r=t;e.default=r}}),WC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/structureRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}}),KC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}}),YC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/windowRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}}),JC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=p(kC()),r=p(LC()),n=p(DC()),a=p(FC()),o=p(HC()),l=p(UC()),i=p(VC()),u=p(zC()),c=p(GC()),s=p(WC()),d=p(KC()),f=p(YC());function p(h){return h&&h.__esModule?h:{default:h}}var m=[["command",t.default],["composite",r.default],["input",n.default],["landmark",a.default],["range",o.default],["roletype",l.default],["section",i.default],["sectionhead",u.default],["select",c.default],["structure",s.default],["widget",d.default],["window",f.default]],b=m;e.default=b}}),XC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/alertRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),QC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]},r=t;e.default=r}}),ZC=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/applicationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),eq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/articleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},r=t;e.default=r}}),tq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/bannerRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),rq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),nq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/buttonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}}),aq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/captionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),oq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/cellRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),lq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),iq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/codeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),sq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},r=t;e.default=r}}),uq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),cq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),dq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),pq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/definitionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),fq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/deletionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),mq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/dialogRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},r=t;e.default=r}}),hq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/directoryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},r=t;e.default=r}}),bq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/documentRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),yq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),gq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/feedRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]},r=t;e.default=r}}),vq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/figureRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),_q=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/formRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Rq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/genericRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),wq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/gridRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]},r=t;e.default=r}}),Cq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]},r=t;e.default=r}}),qq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/groupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Eq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/headingRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]},r=t;e.default=r}}),Pq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/imgRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Oq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/insertionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Tq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/linkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}}),Sq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/listRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Aq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/listboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}}),Mq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/listitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),xq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/logRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),jq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/mainRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Nq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/markRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),$q=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Iq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/mathRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Bq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menuRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}}),kq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menubarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]},r=t;e.default=r}}),Lq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}}),Dq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]},r=t;e.default=r}}),Fq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]},r=t;e.default=r}}),Hq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/meterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]},r=t;e.default=r}}),Uq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/navigationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Vq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/noneRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},r=t;e.default=r}}),zq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/noteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Gq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/optionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),Wq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Kq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/presentationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),Yq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]},r=t;e.default=r}}),Jq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/radioRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),Xq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}}),Qq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/regionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Zq=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/rowRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]},r=t;e.default=r}}),eE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),tE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},r=t;e.default=r}}),rE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]},r=t;e.default=r}}),nE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/searchRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),aE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]},r=t;e.default=r}}),oE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/separatorRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),lE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/sliderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]},r=t;e.default=r}}),iE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]},r=t;e.default=r}}),sE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/statusRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),uE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/strongRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),cE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),dE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),pE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/switchRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]},r=t;e.default=r}}),fE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tabRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]},r=t;e.default=r}}),mE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tableRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),hE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tablistRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]},r=t;e.default=r}}),bE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),yE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/termRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),gE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/textboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),vE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/timeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),_E=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/timerRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]},r=t;e.default=r}}),RE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},r=t;e.default=r}}),wE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),CE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/treeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}}),qE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/treegridRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]},r=t;e.default=r}}),EE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]},r=t;e.default=r}}),PE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=x(XC()),r=x(QC()),n=x(ZC()),a=x(eq()),o=x(tq()),l=x(rq()),i=x(nq()),u=x(aq()),c=x(oq()),s=x(lq()),d=x(iq()),f=x(sq()),p=x(uq()),m=x(cq()),b=x(dq()),h=x(pq()),y=x(fq()),g=x(mq()),E=x(hq()),C=x(bq()),q=x(yq()),_=x(gq()),v=x(vq()),w=x(_q()),P=x(Rq()),j=x(wq()),$=x(Cq()),B=x(qq()),I=x(Eq()),A=x(Pq()),k=x(Oq()),U=x(Tq()),W=x(Sq()),G=x(Aq()),se=x(Mq()),ve=x(xq()),pe=x(jq()),F=x(Nq()),L=x($q()),D=x(Iq()),z=x(Bq()),H=x(kq()),oe=x(Lq()),ue=x(Dq()),ut=x(Fq()),M=x(Hq()),V=x(Uq()),J=x(Vq()),re=x(zq()),te=x(Gq()),Re=x(Wq()),we=x(Kq()),Ee=x(Yq()),We=x(Jq()),La=x(Xq()),Da=x(Qq()),Fa=x(Zq()),Ha=x(eE()),Ua=x(tE()),Va=x(rE()),za=x(nE()),Ga=x(aE()),Wa=x(oE()),Ka=x(lE()),Ya=x(iE()),Ja=x(sE()),Xa=x(uE()),Qa=x(cE()),Za=x(dE()),eo=x(pE()),to=x(fE()),ro=x(mE()),no=x(hE()),ao=x(bE()),oo=x(yE()),lo=x(gE()),io=x(vE()),so=x(_E()),uo=x(RE()),co=x(wE()),po=x(CE()),fo=x(qE()),mo=x(EE());function x(wn){return wn&&wn.__esModule?wn:{default:wn}}var ho=[["alert",t.default],["alertdialog",r.default],["application",n.default],["article",a.default],["banner",o.default],["blockquote",l.default],["button",i.default],["caption",u.default],["cell",c.default],["checkbox",s.default],["code",d.default],["columnheader",f.default],["combobox",p.default],["complementary",m.default],["contentinfo",b.default],["definition",h.default],["deletion",y.default],["dialog",g.default],["directory",E.default],["document",C.default],["emphasis",q.default],["feed",_.default],["figure",v.default],["form",w.default],["generic",P.default],["grid",j.default],["gridcell",$.default],["group",B.default],["heading",I.default],["img",A.default],["insertion",k.default],["link",U.default],["list",W.default],["listbox",G.default],["listitem",se.default],["log",ve.default],["main",pe.default],["mark",F.default],["marquee",L.default],["math",D.default],["menu",z.default],["menubar",H.default],["menuitem",oe.default],["menuitemcheckbox",ue.default],["menuitemradio",ut.default],["meter",M.default],["navigation",V.default],["none",J.default],["note",re.default],["option",te.default],["paragraph",Re.default],["presentation",we.default],["progressbar",Ee.default],["radio",We.default],["radiogroup",La.default],["region",Da.default],["row",Fa.default],["rowgroup",Ha.default],["rowheader",Ua.default],["scrollbar",Va.default],["search",za.default],["searchbox",Ga.default],["separator",Wa.default],["slider",Ka.default],["spinbutton",Ya.default],["status",Ja.default],["strong",Xa.default],["subscript",Qa.default],["superscript",Za.default],["switch",eo.default],["tab",to.default],["table",ro.default],["tablist",no.default],["tabpanel",ao.default],["term",oo.default],["textbox",lo.default],["time",io.default],["timer",so.default],["toolbar",uo.default],["tooltip",co.default],["tree",po.default],["treegrid",fo.default],["treeitem",mo.default]],tr=ho;e.default=tr}}),OE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),TE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),SE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),AE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),ME=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}}),xE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},r=t;e.default=r}}),jE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),NE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}}),$E=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),IE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),BE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),kE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},r=t;e.default=r}}),LE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),DE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),FE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),HE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},r=t;e.default=r}}),UE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),VE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),zE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),GE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),WE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),KE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),YE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),JE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),XE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}}),QE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}}),ZE=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),eP=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}}),tP=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},r=t;e.default=r}}),rP=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]},r=t;e.default=r}}),nP=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}}),aP=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),oP=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),lP=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),iP=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]},r=t;e.default=r}}),sP=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),uP=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]},r=t;e.default=r}}),cP=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},r=t;e.default=r}}),dP=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}}),pP=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=D(OE()),r=D(TE()),n=D(SE()),a=D(AE()),o=D(ME()),l=D(xE()),i=D(jE()),u=D(NE()),c=D($E()),s=D(IE()),d=D(BE()),f=D(kE()),p=D(LE()),m=D(DE()),b=D(FE()),h=D(HE()),y=D(UE()),g=D(VE()),E=D(zE()),C=D(GE()),q=D(WE()),_=D(KE()),v=D(YE()),w=D(JE()),P=D(XE()),j=D(QE()),$=D(ZE()),B=D(eP()),I=D(tP()),A=D(rP()),k=D(nP()),U=D(aP()),W=D(oP()),G=D(lP()),se=D(iP()),ve=D(sP()),pe=D(uP()),F=D(cP()),L=D(dP());function D(oe){return oe&&oe.__esModule?oe:{default:oe}}var z=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",n.default],["doc-appendix",a.default],["doc-backlink",o.default],["doc-biblioentry",l.default],["doc-bibliography",i.default],["doc-biblioref",u.default],["doc-chapter",c.default],["doc-colophon",s.default],["doc-conclusion",d.default],["doc-cover",f.default],["doc-credit",p.default],["doc-credits",m.default],["doc-dedication",b.default],["doc-endnote",h.default],["doc-endnotes",y.default],["doc-epigraph",g.default],["doc-epilogue",E.default],["doc-errata",C.default],["doc-example",q.default],["doc-footnote",_.default],["doc-foreword",v.default],["doc-glossary",w.default],["doc-glossref",P.default],["doc-index",j.default],["doc-introduction",$.default],["doc-noteref",B.default],["doc-notice",I.default],["doc-pagebreak",A.default],["doc-pagelist",k.default],["doc-part",U.default],["doc-preface",W.default],["doc-prologue",G.default],["doc-pullquote",se.default],["doc-qna",ve.default],["doc-subtitle",pe.default],["doc-tip",F.default],["doc-toc",L.default]],H=z;e.default=H}}),fP=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},r=t;e.default=r}}),mP=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},r=t;e.default=r}}),hP=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},r=t;e.default=r}}),bP=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=a(fP()),r=a(mP()),n=a(hP());function a(i){return i&&i.__esModule?i:{default:i}}var o=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]],l=o;e.default=l}}),mi=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/rolesMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=l(JC()),r=l(PE()),n=l(pP()),a=l(bP()),o=l(fn());function l(g){return g&&g.__esModule?g:{default:g}}function i(g,E,C){return E in g?Object.defineProperty(g,E,{value:C,enumerable:!0,configurable:!0,writable:!0}):g[E]=C,g}function u(g,E){var C=typeof Symbol<"u"&&g[Symbol.iterator]||g["@@iterator"];if(!C){if(Array.isArray(g)||(C=d(g))||E){C&&(g=C);var q=0,_=function(){};return{s:_,n:function(){return q>=g.length?{done:!0}:{done:!1,value:g[q++]}},e:function(j){throw j},f:_}}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 v=!0,w=!1,P;return{s:function(){C=C.call(g)},n:function(){var j=C.next();return v=j.done,j},e:function(j){w=!0,P=j},f:function(){try{!v&&C.return!=null&&C.return()}finally{if(w)throw P}}}}function c(g,E){return m(g)||p(g,E)||d(g,E)||s()}function s(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function d(g,E){if(g){if(typeof g=="string")return f(g,E);var C=Object.prototype.toString.call(g).slice(8,-1);if(C==="Object"&&g.constructor&&(C=g.constructor.name),C==="Map"||C==="Set")return Array.from(g);if(C==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(C))return f(g,E)}}function f(g,E){(E==null||E>g.length)&&(E=g.length);for(var C=0,q=new Array(E);C1&&arguments[1]!==void 0?arguments[1]:null,C=u(b),q;try{for(C.s();!(q=C.n()).done;){var _=c(q.value,2),v=_[0],w=_[1];g.call(E,w,v,b)}}catch(P){C.e(P)}finally{C.f()}},get:function(g){var E=b.find(function(C){return C[0]===g});return E&&E[1]},has:function(g){return!!h.get(g)},keys:function(){return b.map(function(g){var E=c(g,1),C=E[0];return C})},values:function(){return b.map(function(g){var E=c(g,2),C=E[1];return C})}},y=(0,o.default)(h,h.entries());e.default=y}}),yP=R({"../../node_modules/dequal/lite/index.js"(e){var t=Object.prototype.hasOwnProperty;function r(n,a){var o,l;if(n===a)return!0;if(n&&a&&(o=n.constructor)===a.constructor){if(o===Date)return n.getTime()===a.getTime();if(o===RegExp)return n.toString()===a.toString();if(o===Array){if((l=n.length)===a.length)for(;l--&&r(n[l],a[l]););return l===-1}if(!o||typeof n=="object"){l=0;for(o in n)if(t.call(n,o)&&++l&&!t.call(a,o)||!(o in a)||!r(n[o],a[o]))return!1;return Object.keys(a).length===l}}return n!==n&&a!==a}e.dequal=r}}),gP=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/elementRoleMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=yP(),r=a(fn()),n=a(mi());function a(_){return _&&_.__esModule?_:{default:_}}function o(_,v){return u(_)||i(_,v)||s(_,v)||l()}function l(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function i(_,v){var w=_==null?null:typeof Symbol<"u"&&_[Symbol.iterator]||_["@@iterator"];if(w!=null){var P=[],j=!0,$=!1,B,I;try{for(w=w.call(_);!(j=(B=w.next()).done)&&(P.push(B.value),!(v&&P.length===v));j=!0);}catch(A){$=!0,I=A}finally{try{!j&&w.return!=null&&w.return()}finally{if($)throw I}}return P}}function u(_){if(Array.isArray(_))return _}function c(_,v){var w=typeof Symbol<"u"&&_[Symbol.iterator]||_["@@iterator"];if(!w){if(Array.isArray(_)||(w=s(_))||v){w&&(_=w);var P=0,j=function(){};return{s:j,n:function(){return P>=_.length?{done:!0}:{done:!1,value:_[P++]}},e:function(A){throw A},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 $=!0,B=!1,I;return{s:function(){w=w.call(_)},n:function(){var A=w.next();return $=A.done,A},e:function(A){B=!0,I=A},f:function(){try{!$&&w.return!=null&&w.return()}finally{if(B)throw I}}}}function s(_,v){if(_){if(typeof _=="string")return d(_,v);var w=Object.prototype.toString.call(_).slice(8,-1);if(w==="Object"&&_.constructor&&(w=_.constructor.name),w==="Map"||w==="Set")return Array.from(_);if(w==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(w))return d(_,v)}}function d(_,v){(v==null||v>_.length)&&(v=_.length);for(var w=0,P=new Array(v);w1&&arguments[1]!==void 0?arguments[1]:null,w=c(f),P;try{for(w.s();!(P=w.n()).done;){var j=o(P.value,2),$=j[0],B=j[1];_.call(v,B,$,f)}}catch(I){w.e(I)}finally{w.f()}},get:function(_){var v=f.find(function(w){return _.name===w[0].name&&(0,t.dequal)(_.attributes,w[0].attributes)});return v&&v[1]},has:function(_){return!!C.get(_)},keys:function(){return f.map(function(_){var v=o(_,1),w=v[0];return w})},values:function(){return f.map(function(_){var v=o(_,2),w=v[1];return w})}},q=(0,r.default)(C,C.entries());e.default=q}}),vP=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/roleElementMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(fn()),r=n(mi());function n(v){return v&&v.__esModule?v:{default:v}}function a(v,w){return i(v)||l(v,w)||c(v,w)||o()}function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function l(v,w){var P=v==null?null:typeof Symbol<"u"&&v[Symbol.iterator]||v["@@iterator"];if(P!=null){var j=[],$=!0,B=!1,I,A;try{for(P=P.call(v);!($=(I=P.next()).done)&&(j.push(I.value),!(w&&j.length===w));$=!0);}catch(k){B=!0,A=k}finally{try{!$&&P.return!=null&&P.return()}finally{if(B)throw A}}return j}}function i(v){if(Array.isArray(v))return v}function u(v,w){var P=typeof Symbol<"u"&&v[Symbol.iterator]||v["@@iterator"];if(!P){if(Array.isArray(v)||(P=c(v))||w){P&&(v=P);var j=0,$=function(){};return{s:$,n:function(){return j>=v.length?{done:!0}:{done:!1,value:v[j++]}},e:function(k){throw k},f:$}}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 B=!0,I=!1,A;return{s:function(){P=P.call(v)},n:function(){var k=P.next();return B=k.done,k},e:function(k){I=!0,A=k},f:function(){try{!B&&P.return!=null&&P.return()}finally{if(I)throw A}}}}function c(v,w){if(v){if(typeof v=="string")return s(v,w);var P=Object.prototype.toString.call(v).slice(8,-1);if(P==="Object"&&v.constructor&&(P=v.constructor.name),P==="Map"||P==="Set")return Array.from(v);if(P==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(P))return s(v,w)}}function s(v,w){(w==null||w>v.length)&&(w=v.length);for(var P=0,j=new Array(w);P0&&d.push([p,b])}var p,m,b,h,y,g,E,C,q={entries:function(){return d},forEach:function(v){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,P=u(d),j;try{for(P.s();!(j=P.n()).done;){var $=a(j.value,2),B=$[0],I=$[1];v.call(w,I,B,d)}}catch(A){P.e(A)}finally{P.f()}},get:function(v){var w=d.find(function(P){return P[0]===v});return w&&w[1]},has:function(v){return!!q.get(v)},keys:function(){return d.map(function(v){var w=a(v,1),P=w[0];return P})},values:function(){return d.map(function(v){var w=a(v,2),P=w[1];return P})}},_=(0,t.default)(q,q.entries());e.default=_}}),_P=R({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.roles=e.roleElements=e.elementRoles=e.dom=e.aria=void 0;var t=l(IC()),r=l(BC()),n=l(mi()),a=l(gP()),o=l(vP());function l(f){return f&&f.__esModule?f:{default:f}}var i=t.default;e.aria=i;var u=r.default;e.dom=u;var c=n.default;e.roles=c;var s=a.default;e.elementRoles=s;var d=o.default;e.roleElements=d}}),RP=R({"../../node_modules/lz-string/libs/lz-string.js"(e,t){var r=function(){var n=String.fromCharCode,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",l={};function i(c,s){if(!l[c]){l[c]={};for(var d=0;d>>8,d[f*2+1]=m%256}return d},decompressFromUint8Array:function(c){if(c==null)return u.decompress(c);for(var s=new Array(c.length/2),d=0,f=s.length;d>1}else{for(p=1,f=0;f>1}E--,E==0&&(E=Math.pow(2,q),q++),delete b[g]}else for(p=m[g],f=0;f>1;E--,E==0&&(E=Math.pow(2,q),q++),m[y]=C++,g=String(h)}if(g!==""){if(Object.prototype.hasOwnProperty.call(b,g)){if(g.charCodeAt(0)<256){for(f=0;f>1}else{for(p=1,f=0;f>1}E--,E==0&&(E=Math.pow(2,q),q++),delete b[g]}else for(p=m[g],f=0;f>1;E--,E==0&&(E=Math.pow(2,q),q++)}for(p=2,f=0;f>1;for(;;)if(v=v<<1,w==s-1){_.push(d(v));break}else w++;return _.join("")},decompress:function(c){return c==null?"":c==""?null:u._decompress(c.length,32768,function(s){return c.charCodeAt(s)})},_decompress:function(c,s,d){var f=[],p=4,m=4,b=3,h="",y=[],g,E,C,q,_,v,w,P={val:d(0),position:s,index:1};for(g=0;g<3;g+=1)f[g]=g;for(C=0,_=Math.pow(2,2),v=1;v!=_;)q=P.val&P.position,P.position>>=1,P.position==0&&(P.position=s,P.val=d(P.index++)),C|=(q>0?1:0)*v,v<<=1;switch(C){case 0:for(C=0,_=Math.pow(2,8),v=1;v!=_;)q=P.val&P.position,P.position>>=1,P.position==0&&(P.position=s,P.val=d(P.index++)),C|=(q>0?1:0)*v,v<<=1;w=n(C);break;case 1:for(C=0,_=Math.pow(2,16),v=1;v!=_;)q=P.val&P.position,P.position>>=1,P.position==0&&(P.position=s,P.val=d(P.index++)),C|=(q>0?1:0)*v,v<<=1;w=n(C);break;case 2:return""}for(f[3]=w,E=w,y.push(w);;){if(P.index>c)return"";for(C=0,_=Math.pow(2,b),v=1;v!=_;)q=P.val&P.position,P.position>>=1,P.position==0&&(P.position=s,P.val=d(P.index++)),C|=(q>0?1:0)*v,v<<=1;switch(w=C){case 0:for(C=0,_=Math.pow(2,8),v=1;v!=_;)q=P.val&P.position,P.position>>=1,P.position==0&&(P.position=s,P.val=d(P.index++)),C|=(q>0?1:0)*v,v<<=1;f[m++]=n(C),w=m-1,p--;break;case 1:for(C=0,_=Math.pow(2,16),v=1;v!=_;)q=P.val&P.position,P.position>>=1,P.position==0&&(P.position=s,P.val=d(P.index++)),C|=(q>0?1:0)*v,v<<=1;f[m++]=n(C),w=m-1,p--;break;case 2:return y.join("")}if(p==0&&(p=Math.pow(2,b),b++),f[w])h=f[w];else if(w===m)h=E+E.charAt(0);else return null;y.push(h),f[m++]=E+h.charAt(0),p--,E=h,p==0&&(p=Math.pow(2,b),b++)}}};return u}();typeof define=="function"&&define.amd?define(function(){return r}):typeof t<"u"&&t!=null?t.exports=r:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return r})}}),qp=Object.defineProperty,wP=Object.getOwnPropertyNames,N=(e,t)=>qp(e,"name",{value:t,configurable:!0}),CP=(e,t)=>function(){return t||(0,e[wP(e)[0]])((t={exports:{}}).exports,t),t.exports},hi=(e,t)=>{for(var r in t)qp(e,r,{get:t[r],enumerable:!0})},qP=CP({"(disabled):util"(){}}),at={};hi(at,{addChainableMethod:()=>Oi,addLengthGuard:()=>bn,addMethod:()=>qi,addProperty:()=>Ci,checkError:()=>Le,compareByInspect:()=>zn,eql:()=>Xp,expectTypes:()=>Mp,flag:()=>K,getActual:()=>ga,getMessage:()=>gi,getName:()=>_a,getOperator:()=>Mi,getOwnEnumerableProperties:()=>Ai,getOwnEnumerablePropertySymbols:()=>Si,getPathInfo:()=>wi,hasProperty:()=>va,inspect:()=>Q,isNaN:()=>Gn,isNumeric:()=>qe,isProxyEnabled:()=>hn,isRegExp:()=>Wn,objDisplay:()=>Ut,overwriteChainableMethod:()=>Ti,overwriteMethod:()=>Pi,overwriteProperty:()=>Ei,proxify:()=>Mr,test:()=>bi,transferFlags:()=>et,type:()=>ie});var Le={};hi(Le,{compatibleConstructor:()=>Op,compatibleInstance:()=>Pp,compatibleMessage:()=>Tp,getConstructorName:()=>Sp,getMessage:()=>Ap});function ya(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}N(ya,"isErrorInstance");function Ep(e){return Object.prototype.toString.call(e)==="[object RegExp]"}N(Ep,"isRegExp");function Pp(e,t){return ya(t)&&e===t}N(Pp,"compatibleInstance");function Op(e,t){return ya(t)?e.constructor===t.constructor||e instanceof t.constructor:(typeof t=="object"||typeof t=="function")&&t.prototype?e.constructor===t||e instanceof t:!1}N(Op,"compatibleConstructor");function Tp(e,t){let r=typeof e=="string"?e:e.message;return Ep(t)?t.test(r):typeof t=="string"?r.indexOf(t)!==-1:!1}N(Tp,"compatibleMessage");function Sp(e){let t=e;return ya(e)?t=e.constructor.name:typeof e=="function"&&(t=e.name,t===""&&(t=new e().name||t)),t}N(Sp,"getConstructorName");function Ap(e){let t="";return e&&e.message?t=e.message:typeof e=="string"&&(t=e),t}N(Ap,"getMessage");function K(e,t,r){var n=e.__flags||(e.__flags=Object.create(null));if(arguments.length===3)n[t]=r;else return n[t]}N(K,"flag");function bi(e,t){var r=K(e,"negate"),n=t[0];return r?!n:n}N(bi,"test");function ie(e){if(typeof e>"u")return"undefined";if(e===null)return"null";let t=e[Symbol.toStringTag];return typeof t=="string"?t:Object.prototype.toString.call(e).slice(8,-1)}N(ie,"type");var EP="captureStackTrace"in Error,En,ee=(En=class extends Error{constructor(t="Unspecified AssertionError",r,n){super(t);he(this,"message");this.message=t,EP&&Error.captureStackTrace(this,n||En);for(let a in r)a in this||(this[a]=r[a])}get name(){return"AssertionError"}get ok(){return!1}toJSON(t){return{...this,name:this.name,message:this.message,ok:!1,stack:t!==!1?this.stack:void 0}}},N(En,"AssertionError"),En);function Mp(e,t){var r=K(e,"message"),n=K(e,"ssfi");r=r?r+": ":"",e=K(e,"object"),t=t.map(function(l){return l.toLowerCase()}),t.sort();var a=t.map(function(l,i){var u=~["a","e","i","o","u"].indexOf(l.charAt(0))?"an":"a",c=t.length>1&&i===t.length-1?"or ":"";return c+u+" "+l}).join(", "),o=ie(e).toLowerCase();if(!t.some(function(l){return o===l}))throw new ee(r+"object tested must be "+a+", but "+o+" given",void 0,n)}N(Mp,"expectTypes");function ga(e,t){return t.length>4?t[4]:e._obj}N(ga,"getActual");var _u={bold:["1","22"],dim:["2","22"],italic:["3","23"],underline:["4","24"],inverse:["7","27"],hidden:["8","28"],strike:["9","29"],black:["30","39"],red:["31","39"],green:["32","39"],yellow:["33","39"],blue:["34","39"],magenta:["35","39"],cyan:["36","39"],white:["37","39"],brightblack:["30;1","39"],brightred:["31;1","39"],brightgreen:["32;1","39"],brightyellow:["33;1","39"],brightblue:["34;1","39"],brightmagenta:["35;1","39"],brightcyan:["36;1","39"],brightwhite:["37;1","39"],grey:["90","39"]},PP={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},yr="…";function xp(e,t){let r=_u[PP[t]]||_u[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}N(xp,"colorise");function jp({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:a=!1,maxArrayLength:o=1/0,breakLength:l=1/0,seen:i=[],truncate:u=1/0,stylize:c=String}={},s){let d={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!a,maxArrayLength:Number(o),breakLength:Number(l),truncate:Number(u),seen:i,inspect:s,stylize:c};return d.colors&&(d.stylize=xp),d}N(jp,"normaliseOptions");function Np(e){return e>="\uD800"&&e<="\uDBFF"}N(Np,"isHighSurrogate");function Rt(e,t,r=yr){e=String(e);let n=r.length,a=e.length;if(n>t&&a>n)return r;if(a>t&&a>n){let o=t-n;return o>0&&Np(e[o-1])&&(o=o-1),`${e.slice(0,o)}${r}`}return e}N(Rt,"truncate");function ze(e,t,r,n=", "){r=r||t.inspect;let a=e.length;if(a===0)return"";let o=t.truncate,l="",i="",u="";for(let c=0;co&&l.length+u.length<=o||!s&&!d&&b>o||(i=s?"":r(e[c+1],t)+(d?"":n),!s&&d&&b>o&&m+i.length>o))break;if(l+=p,!s&&!d&&m+i.length>=o){u=`${yr}(${e.length-c-1})`;break}u=""}return`${l}${u}`}N(ze,"inspectList");function $p(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}N($p,"quoteComplexKey");function gr([e,t],r){return r.truncate-=2,typeof e=="string"?e=$p(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}N(gr,"inspectProperty");function Ip(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=ze(e,t);t.truncate-=n.length;let a="";return r.length&&(a=ze(r.map(o=>[o,e[o]]),t,gr)),`[ ${n}${a?`, ${a}`:""} ]`}N(Ip,"inspectArray");var OP=N(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function rt(e,t){let r=OP(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let a="";for(let l=0;l[l,e[l]]),t,gr)),`${r}[ ${a}${o?`, ${o}`:""} ]`}N(rt,"inspectTypedArray");function Bp(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),a=n[0];return t.stylize(`${a}T${Rt(n[1],t.truncate-a.length-1)}`,"date")}N(Bp,"inspectDate");function Zo(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${Rt(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}N(Zo,"inspectFunction");function kp([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}N(kp,"inspectMapEntry");function Lp(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}N(Lp,"mapToEntries");function Dp(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${ze(Lp(e),t,kp)} }`)}N(Dp,"inspectMap");var TP=Number.isNaN||(e=>e!==e);function el(e,t){return TP(e)?t.stylize("NaN","number"):e===1/0?t.stylize("Infinity","number"):e===-1/0?t.stylize("-Infinity","number"):e===0?t.stylize(1/e===1/0?"+0":"-0","number"):t.stylize(Rt(String(e),t.truncate),"number")}N(el,"inspectNumber");function tl(e,t){let r=Rt(e.toString(),t.truncate-1);return r!==yr&&(r+="n"),t.stylize(r,"bigint")}N(tl,"inspectBigInt");function Fp(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),a=e.source;return t.stylize(`/${Rt(a,n)}/${r}`,"regexp")}N(Fp,"inspectRegExp");function Hp(e){let t=[];return e.forEach(r=>{t.push(r)}),t}N(Hp,"arrayFromSet");function Up(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${ze(Hp(e),t)} }`)}N(Up,"inspectSet");var Ru=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),SP={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},AP=16;function Vp(e){return SP[e]||`\\u${`0000${e.charCodeAt(0).toString(AP)}`.slice(-4)}`}N(Vp,"escape");function rl(e,t){return Ru.test(e)&&(e=e.replace(Ru,Vp)),t.stylize(`'${Rt(e,t.truncate-2)}'`,"string")}N(rl,"inspectString");function nl(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}N(nl,"inspectSymbol");var zp=N(()=>"Promise{…}","getPromiseValue");try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(zp=N((n,a)=>{let[o,l]=e(n);return o===t?"Promise{}":`Promise${o===r?"!":""}{${a.inspect(l,a)}}`},"getPromiseValue"))}catch{}var MP=zp;function Fr(e,t){let r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&n.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let a=ze(r.map(i=>[i,e[i]]),t,gr),o=ze(n.map(i=>[i,e[i]]),t,gr);t.seen.pop();let l="";return a&&o&&(l=", "),`{ ${a}${l}${o} }`}N(Fr,"inspectObject");var Eo=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function Gp(e,t){let r="";return Eo&&Eo in e&&(r=e[Eo]),r=r||e.constructor.name,(!r||r==="_class")&&(r=""),t.truncate-=r.length,`${r}${Fr(e,t)}`}N(Gp,"inspectClass");function Wp(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${ze(e,t)} ]`)}N(Wp,"inspectArguments");var xP=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function Kp(e,t){let r=Object.getOwnPropertyNames(e).filter(l=>xP.indexOf(l)===-1),n=e.name;t.truncate-=n.length;let a="";if(typeof e.message=="string"?a=Rt(e.message,t.truncate):r.unshift("message"),a=a?`: ${a}`:"",t.truncate-=a.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let o=ze(r.map(l=>[l,e[l]]),t,gr);return`${n}${a}${o?` { ${o} }`:""}`}N(Kp,"inspectObject");function Yp([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}N(Yp,"inspectAttribute");function Hn(e,t){return ze(e,t,yi,` +`)}N(Hn,"inspectHTMLCollection");function yi(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),a=t.stylize(`<${n}`,"special"),o=t.stylize(">","special"),l=t.stylize(``,"special");t.truncate-=n.length*2+5;let i="";r.length>0&&(i+=" ",i+=ze(r.map(s=>[s,e.getAttribute(s)]),t,Yp," ")),t.truncate-=i.length;let u=t.truncate,c=Hn(e.children,t);return c&&c.length>u&&(c=`${yr}(${e.children.length})`),`${a}${i}${o}${c}${l}`}N(yi,"inspectHTML");var jP=typeof Symbol=="function"&&typeof Symbol.for=="function",Po=jP?Symbol.for("chai/inspect"):"@@chai/inspect",lr=!1;try{let e=qP();lr=e.inspect?e.inspect.custom:!1}catch{lr=!1}var wu=new WeakMap,Cu={},qu={undefined:(e,t)=>t.stylize("undefined","undefined"),null:(e,t)=>t.stylize("null","null"),boolean:(e,t)=>t.stylize(String(e),"boolean"),Boolean:(e,t)=>t.stylize(String(e),"boolean"),number:el,Number:el,bigint:tl,BigInt:tl,string:rl,String:rl,function:Zo,Function:Zo,symbol:nl,Symbol:nl,Array:Ip,Date:Bp,Map:Dp,Set:Up,RegExp:Fp,Promise:MP,WeakSet:(e,t)=>t.stylize("WeakSet{…}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{…}","special"),Arguments:Wp,Int8Array:rt,Uint8Array:rt,Uint8ClampedArray:rt,Int16Array:rt,Uint16Array:rt,Int32Array:rt,Uint32Array:rt,Float32Array:rt,Float64Array:rt,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:Kp,HTMLCollection:Hn,NodeList:Hn},NP=N((e,t,r)=>Po in e&&typeof e[Po]=="function"?e[Po](t):lr&&lr in e&&typeof e[lr]=="function"?e[lr](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&wu.has(e.constructor)?wu.get(e.constructor)(e,t):Cu[r]?Cu[r](e,t):"","inspectCustom"),$P=Object.prototype.toString;function Un(e,t={}){let r=jp(t,Un),{customInspect:n}=r,a=e===null?"null":typeof e;if(a==="object"&&(a=$P.call(e).slice(8,-1)),a in qu)return qu[a](e,r);if(n&&e){let l=NP(e,r,a);if(l)return typeof l=="string"?l:Un(l,r)}let o=e?Object.getPrototypeOf(e):!1;return o===Object.prototype||o===null?Fr(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?yi(e,r):"constructor"in e?e.constructor!==Object?Gp(e,r):Fr(e,r):e===Object(e)?Fr(e,r):r.stylize(String(e),a)}N(Un,"inspect");var Be={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null};function Q(e,t,r,n){var a={colors:n,depth:typeof r>"u"?2:r,showHidden:t,truncate:Be.truncateThreshold?Be.truncateThreshold:1/0};return Un(e,a)}N(Q,"inspect");function Ut(e){var t=Q(e),r=Object.prototype.toString.call(e);if(Be.truncateThreshold&&t.length>=Be.truncateThreshold){if(r==="[object Function]")return!e.name||e.name===""?"[Function]":"[Function: "+e.name+"]";if(r==="[object Array]")return"[ Array("+e.length+") ]";if(r==="[object Object]"){var n=Object.keys(e),a=n.length>2?n.splice(0,2).join(", ")+", ...":n.join(", ");return"{ Object ("+a+") }"}else return t}else return t}N(Ut,"objDisplay");function gi(e,t){var r=K(e,"negate"),n=K(e,"object"),a=t[3],o=ga(e,t),l=r?t[2]:t[1],i=K(e,"message");return typeof l=="function"&&(l=l()),l=l||"",l=l.replace(/#\{this\}/g,function(){return Ut(n)}).replace(/#\{act\}/g,function(){return Ut(o)}).replace(/#\{exp\}/g,function(){return Ut(a)}),i?i+": "+l:l}N(gi,"getMessage");function et(e,t,r){var n=e.__flags||(e.__flags=Object.create(null));t.__flags||(t.__flags=Object.create(null)),r=arguments.length===3?r:!0;for(var a in n)(r||a!=="object"&&a!=="ssfi"&&a!=="lockSsfi"&&a!="message")&&(t.__flags[a]=n[a])}N(et,"transferFlags");function al(e){if(typeof e>"u")return"undefined";if(e===null)return"null";let t=e[Symbol.toStringTag];return typeof t=="string"?t:Object.prototype.toString.call(e).slice(8,-1)}N(al,"type");function vi(){this._key="chai/deep-eql__"+Math.random()+Date.now()}N(vi,"FakeMap");vi.prototype={get:N(function(e){return e[this._key]},"get"),set:N(function(e,t){Object.isExtensible(e)&&Object.defineProperty(e,this._key,{value:t,configurable:!0})},"set")};var Jp=typeof WeakMap=="function"?WeakMap:vi;function ol(e,t,r){if(!r||Gt(e)||Gt(t))return null;var n=r.get(e);if(n){var a=n.get(t);if(typeof a=="boolean")return a}return null}N(ol,"memoizeCompare");function Br(e,t,r,n){if(!(!r||Gt(e)||Gt(t))){var a=r.get(e);a?a.set(t,n):(a=new Jp,a.set(t,n),r.set(e,a))}}N(Br,"memoizeSet");var Xp=mn;function mn(e,t,r){if(r&&r.comparator)return ll(e,t,r);var n=_i(e,t);return n!==null?n:ll(e,t,r)}N(mn,"deepEqual");function _i(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t?!0:Gt(e)||Gt(t)?!1:null}N(_i,"simpleEqual");function ll(e,t,r){r=r||{},r.memoize=r.memoize===!1?!1:r.memoize||new Jp;var n=r&&r.comparator,a=ol(e,t,r.memoize);if(a!==null)return a;var o=ol(t,e,r.memoize);if(o!==null)return o;if(n){var l=n(e,t);if(l===!1||l===!0)return Br(e,t,r.memoize,l),l;var i=_i(e,t);if(i!==null)return i}var u=al(e);if(u!==al(t))return Br(e,t,r.memoize,!1),!1;Br(e,t,r.memoize,!0);var c=Qp(e,t,u,r);return Br(e,t,r.memoize,c),c}N(ll,"extensiveDeepEqual");function Qp(e,t,r,n){switch(r){case"String":case"Number":case"Boolean":case"Date":return mn(e.valueOf(),t.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return e===t;case"Error":return Ri(e,t,["name","message","code"],n);case"Arguments":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"Array":return xt(e,t,n);case"RegExp":return Zp(e,t);case"Generator":return ef(e,t,n);case"DataView":return xt(new Uint8Array(e.buffer),new Uint8Array(t.buffer),n);case"ArrayBuffer":return xt(new Uint8Array(e),new Uint8Array(t),n);case"Set":return il(e,t,n);case"Map":return il(e,t,n);case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.Instant":case"Temporal.ZonedDateTime":case"Temporal.PlainYearMonth":case"Temporal.PlainMonthDay":return e.equals(t);case"Temporal.Duration":return e.total("nanoseconds")===t.total("nanoseconds");case"Temporal.TimeZone":case"Temporal.Calendar":return e.toString()===t.toString();default:return rf(e,t,n)}}N(Qp,"extensiveDeepEqualByType");function Zp(e,t){return e.toString()===t.toString()}N(Zp,"regexpEqual");function il(e,t,r){try{if(e.size!==t.size)return!1;if(e.size===0)return!0}catch{return!1}var n=[],a=[];return e.forEach(N(function(o,l){n.push([o,l])},"gatherEntries")),t.forEach(N(function(o,l){a.push([o,l])},"gatherEntries")),xt(n.sort(),a.sort(),r)}N(il,"entriesEqual");function xt(e,t,r){var n=e.length;if(n!==t.length)return!1;if(n===0)return!0;for(var a=-1;++a"u"||e===null?!1:t in Object(e)}N(va,"hasProperty");function nf(e){return e.replace(/([^\\])\[/g,"$1.[").match(/(\\\.|[^.]+?)+/g).map(t=>{if(t==="constructor"||t==="__proto__"||t==="prototype")return{};let r=/^\[(\d+)\]$/.exec(t),n=null;return r?n={i:parseFloat(r[1])}:n={p:t.replace(/\\([.[\]])/g,"$1")},n})}N(nf,"parsePath");function pl(e,t,r){let n=e,a=null;r=typeof r>"u"?t.length:r;for(let o=0;o"u"?n=n[l.i]:n=n[l.p],o===r-1&&(a=n))}return a}N(pl,"internalGetPathValue");function wi(e,t){let r=nf(t),n=r[r.length-1],a={parent:r.length>1?pl(e,r,r.length-1):e,name:n.p||n.i,value:pl(e,r)};return a.exists=va(a.parent,a.name),a}N(wi,"getPathInfo");function T(e,t,r,n){return K(this,"ssfi",r||T),K(this,"lockSsfi",n),K(this,"object",e),K(this,"message",t),K(this,"eql",Be.deepEqual||Xp),Mr(this)}N(T,"Assertion");Object.defineProperty(T,"includeStack",{get:function(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),Be.includeStack},set:function(e){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),Be.includeStack=e}});Object.defineProperty(T,"showDiff",{get:function(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),Be.showDiff},set:function(e){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),Be.showDiff=e}});T.addProperty=function(e,t){Ci(this.prototype,e,t)};T.addMethod=function(e,t){qi(this.prototype,e,t)};T.addChainableMethod=function(e,t,r){Oi(this.prototype,e,t,r)};T.overwriteProperty=function(e,t){Ei(this.prototype,e,t)};T.overwriteMethod=function(e,t){Pi(this.prototype,e,t)};T.overwriteChainableMethod=function(e,t,r){Ti(this.prototype,e,t,r)};T.prototype.assert=function(e,t,r,n,a,o){var l=bi(this,arguments);if(o!==!1&&(o=!0),n===void 0&&a===void 0&&(o=!1),Be.showDiff!==!0&&(o=!1),!l){t=gi(this,arguments);var i=ga(this,arguments),u={actual:i,expected:n,showDiff:o},c=Mi(this,arguments);throw c&&(u.operator=c),new ee(t,u,Be.includeStack?this.assert:K(this,"ssfi"))}};Object.defineProperty(T.prototype,"_obj",{get:function(){return K(this,"object")},set:function(e){K(this,"object",e)}});function hn(){return Be.useProxy&&typeof Proxy<"u"&&typeof Reflect<"u"}N(hn,"isProxyEnabled");function Ci(e,t,r){r=r===void 0?function(){}:r,Object.defineProperty(e,t,{get:N(function n(){!hn()&&!K(this,"lockSsfi")&&K(this,"ssfi",n);var a=r.call(this);if(a!==void 0)return a;var o=new T;return et(this,o),o},"propertyGetter"),configurable:!0})}N(Ci,"addProperty");var IP=Object.getOwnPropertyDescriptor(function(){},"length");function bn(e,t,r){return IP.configurable&&Object.defineProperty(e,"length",{get:function(){throw Error(r?"Invalid Chai property: "+t+'.length. Due to a compatibility issue, "length" cannot directly follow "'+t+'". Use "'+t+'.lengthOf" instead.':"Invalid Chai property: "+t+'.length. See docs for proper usage of "'+t+'".')}}),e}N(bn,"addLengthGuard");function af(e){var t=Object.getOwnPropertyNames(e);function r(a){t.indexOf(a)===-1&&t.push(a)}N(r,"addProperty");for(var n=Object.getPrototypeOf(e);n!==null;)Object.getOwnPropertyNames(n).forEach(r),n=Object.getPrototypeOf(n);return t}N(af,"getProperties");var Eu=["__flags","__methods","_obj","assert"];function Mr(e,t){return hn()?new Proxy(e,{get:N(function r(n,a){if(typeof a=="string"&&Be.proxyExcludedKeys.indexOf(a)===-1&&!Reflect.has(n,a)){if(t)throw Error("Invalid Chai property: "+t+"."+a+'. See docs for proper usage of "'+t+'".');var o=null,l=4;throw af(n).forEach(function(i){if(!Object.prototype.hasOwnProperty(i)&&Eu.indexOf(i)===-1){var u=of(a,i,l);u=r)return r;for(var n=[],a=0;a<=e.length;a++)n[a]=Array(t.length+1).fill(0),n[a][0]=a;for(var o=0;o=r){n[a][o]=r;continue}n[a][o]=Math.min(n[a-1][o]+1,n[a][o-1]+1,n[a-1][o-1]+(l===t.charCodeAt(o-1)?0:1))}return n[e.length][t.length]}N(of,"stringDistanceCapped");function qi(e,t,r){var n=N(function(){K(this,"lockSsfi")||K(this,"ssfi",n);var a=r.apply(this,arguments);if(a!==void 0)return a;var o=new T;return et(this,o),o},"methodWrapper");bn(n,t,!1),e[t]=Mr(n,t)}N(qi,"addMethod");function Ei(e,t,r){var n=Object.getOwnPropertyDescriptor(e,t),a=N(function(){},"_super");n&&typeof n.get=="function"&&(a=n.get),Object.defineProperty(e,t,{get:N(function o(){!hn()&&!K(this,"lockSsfi")&&K(this,"ssfi",o);var l=K(this,"lockSsfi");K(this,"lockSsfi",!0);var i=r(a).call(this);if(K(this,"lockSsfi",l),i!==void 0)return i;var u=new T;return et(this,u),u},"overwritingPropertyGetter"),configurable:!0})}N(Ei,"overwriteProperty");function Pi(e,t,r){var n=e[t],a=N(function(){throw new Error(t+" is not a function")},"_super");n&&typeof n=="function"&&(a=n);var o=N(function(){K(this,"lockSsfi")||K(this,"ssfi",o);var l=K(this,"lockSsfi");K(this,"lockSsfi",!0);var i=r(a).apply(this,arguments);if(K(this,"lockSsfi",l),i!==void 0)return i;var u=new T;return et(this,u),u},"overwritingMethodWrapper");bn(o,t,!1),e[t]=Mr(o,t)}N(Pi,"overwriteMethod");var BP=typeof Object.setPrototypeOf=="function",Pu=N(function(){},"testFn"),kP=Object.getOwnPropertyNames(Pu).filter(function(e){var t=Object.getOwnPropertyDescriptor(Pu,e);return typeof t!="object"?!0:!t.configurable}),LP=Function.prototype.call,DP=Function.prototype.apply;function Oi(e,t,r,n){typeof n!="function"&&(n=N(function(){},"chainingBehavior"));var a={method:r,chainingBehavior:n};e.__methods||(e.__methods={}),e.__methods[t]=a,Object.defineProperty(e,t,{get:N(function(){a.chainingBehavior.call(this);var o=N(function(){K(this,"lockSsfi")||K(this,"ssfi",o);var u=a.method.apply(this,arguments);if(u!==void 0)return u;var c=new T;return et(this,c),c},"chainableMethodWrapper");if(bn(o,t,!0),BP){var l=Object.create(this);l.call=LP,l.apply=DP,Object.setPrototypeOf(o,l)}else{var i=Object.getOwnPropertyNames(e);i.forEach(function(u){if(kP.indexOf(u)===-1){var c=Object.getOwnPropertyDescriptor(e,u);Object.defineProperty(o,u,c)}})}return et(this,o),Mr(o)},"chainableMethodGetter"),configurable:!0})}N(Oi,"addChainableMethod");function Ti(e,t,r,n){var a=e.__methods[t],o=a.chainingBehavior;a.chainingBehavior=N(function(){var i=n(o).call(this);if(i!==void 0)return i;var u=new T;return et(this,u),u},"overwritingChainableMethodGetter");var l=a.method;a.method=N(function(){var i=r(l).apply(this,arguments);if(i!==void 0)return i;var u=new T;return et(this,u),u},"overwritingChainableMethodWrapper")}N(Ti,"overwriteChainableMethod");function zn(e,t){return Q(e)1&&p===d.length)throw f;return}this.assert(s,"expected #{this} to "+u+"include "+Q(e),"expected #{this} to not "+u+"include "+Q(e))}N(gn,"include");T.addChainableMethod("include",gn,yn);T.addChainableMethod("contain",gn,yn);T.addChainableMethod("contains",gn,yn);T.addChainableMethod("includes",gn,yn);T.addProperty("ok",function(){this.assert(S(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")});T.addProperty("true",function(){this.assert(S(this,"object")===!0,"expected #{this} to be true","expected #{this} to be false",!S(this,"negate"))});T.addProperty("numeric",function(){let e=S(this,"object");this.assert(["Number","BigInt"].includes(ie(e)),"expected #{this} to be numeric","expected #{this} to not be numeric",!S(this,"negate"))});T.addProperty("callable",function(){let e=S(this,"object"),t=S(this,"ssfi"),r=S(this,"message"),n=r?`${r}: `:"",a=S(this,"negate"),o=a?`${n}expected ${Q(e)} not to be a callable function`:`${n}expected ${Q(e)} to be a callable function`,l=["Function","AsyncFunction","GeneratorFunction","AsyncGeneratorFunction"].includes(ie(e));if(l&&a||!l&&!a)throw new ee(o,void 0,t)});T.addProperty("false",function(){this.assert(S(this,"object")===!1,"expected #{this} to be false","expected #{this} to be true",!!S(this,"negate"))});T.addProperty("null",function(){this.assert(S(this,"object")===null,"expected #{this} to be null","expected #{this} not to be null")});T.addProperty("undefined",function(){this.assert(S(this,"object")===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined")});T.addProperty("NaN",function(){this.assert(Gn(S(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")});function ji(){var e=S(this,"object");this.assert(e!=null,"expected #{this} to exist","expected #{this} to not exist")}N(ji,"assertExist");T.addProperty("exist",ji);T.addProperty("exists",ji);T.addProperty("empty",function(){var e=S(this,"object"),t=S(this,"ssfi"),r=S(this,"message"),n;switch(r=r?r+": ":"",ie(e).toLowerCase()){case"array":case"string":n=e.length;break;case"map":case"set":n=e.size;break;case"weakmap":case"weakset":throw new ee(r+".empty was passed a weak collection",void 0,t);case"function":var a=r+".empty was passed a function "+_a(e);throw new ee(a.trim(),void 0,t);default:if(e!==Object(e))throw new ee(r+".empty was passed non-string primitive "+Q(e),void 0,t);n=Object.keys(e).length}this.assert(n===0,"expected #{this} to be empty","expected #{this} not to be empty")});function Ni(){var e=S(this,"object"),t=ie(e);this.assert(t==="Arguments","expected #{this} to be arguments but got "+t,"expected #{this} to not be arguments")}N(Ni,"checkArguments");T.addProperty("arguments",Ni);T.addProperty("Arguments",Ni);function Ra(e,t){t&&S(this,"message",t);var r=S(this,"object");if(S(this,"deep")){var n=S(this,"lockSsfi");S(this,"lockSsfi",!0),this.eql(e),S(this,"lockSsfi",n)}else this.assert(e===r,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",e,this._obj,!0)}N(Ra,"assertEqual");T.addMethod("equal",Ra);T.addMethod("equals",Ra);T.addMethod("eq",Ra);function $i(e,t){t&&S(this,"message",t);var r=S(this,"eql");this.assert(r(e,S(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",e,this._obj,!0)}N($i,"assertEql");T.addMethod("eql",$i);T.addMethod("eqls",$i);function wa(e,t){t&&S(this,"message",t);var r=S(this,"object"),n=S(this,"doLength"),a=S(this,"message"),o=a?a+": ":"",l=S(this,"ssfi"),i=ie(r).toLowerCase(),u=ie(e).toLowerCase();if(n&&i!=="map"&&i!=="set"&&new T(r,a,l,!0).to.have.property("length"),!n&&i==="date"&&u!=="date")throw new ee(o+"the argument to above must be a date",void 0,l);if(!qe(e)&&(n||qe(r)))throw new ee(o+"the argument to above must be a number",void 0,l);if(!n&&i!=="date"&&!qe(r)){var c=i==="string"?"'"+r+"'":r;throw new ee(o+"expected "+c+" to be a number or a date",void 0,l)}if(n){var s="length",d;i==="map"||i==="set"?(s="size",d=r.size):d=r.length,this.assert(d>e,"expected #{this} to have a "+s+" above #{exp} but got #{act}","expected #{this} to not have a "+s+" above #{exp}",e,d)}else this.assert(r>e,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",e)}N(wa,"assertAbove");T.addMethod("above",wa);T.addMethod("gt",wa);T.addMethod("greaterThan",wa);function Ca(e,t){t&&S(this,"message",t);var r=S(this,"object"),n=S(this,"doLength"),a=S(this,"message"),o=a?a+": ":"",l=S(this,"ssfi"),i=ie(r).toLowerCase(),u=ie(e).toLowerCase(),c,s=!0;if(n&&i!=="map"&&i!=="set"&&new T(r,a,l,!0).to.have.property("length"),!n&&i==="date"&&u!=="date")c=o+"the argument to least must be a date";else if(!qe(e)&&(n||qe(r)))c=o+"the argument to least must be a number";else if(!n&&i!=="date"&&!qe(r)){var d=i==="string"?"'"+r+"'":r;c=o+"expected "+d+" to be a number or a date"}else s=!1;if(s)throw new ee(c,void 0,l);if(n){var f="length",p;i==="map"||i==="set"?(f="size",p=r.size):p=r.length,this.assert(p>=e,"expected #{this} to have a "+f+" at least #{exp} but got #{act}","expected #{this} to have a "+f+" below #{exp}",e,p)}else this.assert(r>=e,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",e)}N(Ca,"assertLeast");T.addMethod("least",Ca);T.addMethod("gte",Ca);T.addMethod("greaterThanOrEqual",Ca);function qa(e,t){t&&S(this,"message",t);var r=S(this,"object"),n=S(this,"doLength"),a=S(this,"message"),o=a?a+": ":"",l=S(this,"ssfi"),i=ie(r).toLowerCase(),u=ie(e).toLowerCase(),c,s=!0;if(n&&i!=="map"&&i!=="set"&&new T(r,a,l,!0).to.have.property("length"),!n&&i==="date"&&u!=="date")c=o+"the argument to below must be a date";else if(!qe(e)&&(n||qe(r)))c=o+"the argument to below must be a number";else if(!n&&i!=="date"&&!qe(r)){var d=i==="string"?"'"+r+"'":r;c=o+"expected "+d+" to be a number or a date"}else s=!1;if(s)throw new ee(c,void 0,l);if(n){var f="length",p;i==="map"||i==="set"?(f="size",p=r.size):p=r.length,this.assert(p=e&&h<=t,"expected #{this} to have a "+b+" within "+p,"expected #{this} to not have a "+b+" within "+p)}else this.assert(n>=e&&n<=t,"expected #{this} to be within "+p,"expected #{this} to not be within "+p)});function Ii(e,t){t&&S(this,"message",t);var r=S(this,"object"),n=S(this,"ssfi"),a=S(this,"message");try{var o=r instanceof e}catch(i){throw i instanceof TypeError?(a=a?a+": ":"",new ee(a+"The instanceof assertion needs a constructor but "+ie(e)+" was given.",void 0,n)):i}var l=_a(e);l==null&&(l="an unnamed constructor"),this.assert(o,"expected #{this} to be an instance of "+l,"expected #{this} to not be an instance of "+l)}N(Ii,"assertInstanceOf");T.addMethod("instanceof",Ii);T.addMethod("instanceOf",Ii);function Bi(e,t,r){r&&S(this,"message",r);var n=S(this,"nested"),a=S(this,"own"),o=S(this,"message"),l=S(this,"object"),i=S(this,"ssfi"),u=typeof e;if(o=o?o+": ":"",n){if(u!=="string")throw new ee(o+"the argument to property must be a string when using nested syntax",void 0,i)}else if(u!=="string"&&u!=="number"&&u!=="symbol")throw new ee(o+"the argument to property must be a string, number, or symbol",void 0,i);if(n&&a)throw new ee(o+'The "nested" and "own" flags cannot be combined.',void 0,i);if(l==null)throw new ee(o+"Target cannot be null or undefined.",void 0,i);var c=S(this,"deep"),s=S(this,"negate"),d=n?wi(l,e):null,f=n?d.value:l[e],p=c?S(this,"eql"):(h,y)=>h===y,m="";c&&(m+="deep "),a&&(m+="own "),n&&(m+="nested "),m+="property ";var b;a?b=Object.prototype.hasOwnProperty.call(l,e):n?b=d.exists:b=va(l,e),(!s||arguments.length===1)&&this.assert(b,"expected #{this} to have "+m+Q(e),"expected #{this} to not have "+m+Q(e)),arguments.length>1&&this.assert(b&&p(t,f),"expected #{this} to have "+m+Q(e)+" of #{exp}, but got #{act}","expected #{this} to not have "+m+Q(e)+" of #{act}",t,f),S(this,"object",f)}N(Bi,"assertProperty");T.addMethod("property",Bi);function ki(e,t,r){S(this,"own",!0),Bi.apply(this,arguments)}N(ki,"assertOwnProperty");T.addMethod("ownProperty",ki);T.addMethod("haveOwnProperty",ki);function Li(e,t,r){typeof t=="string"&&(r=t,t=null),r&&S(this,"message",r);var n=S(this,"object"),a=Object.getOwnPropertyDescriptor(Object(n),e),o=S(this,"eql");a&&t?this.assert(o(t,a),"expected the own property descriptor for "+Q(e)+" on #{this} to match "+Q(t)+", got "+Q(a),"expected the own property descriptor for "+Q(e)+" on #{this} to not match "+Q(t),t,a,!0):this.assert(a,"expected #{this} to have an own property descriptor for "+Q(e),"expected #{this} to not have an own property descriptor for "+Q(e)),S(this,"object",a)}N(Li,"assertOwnPropertyDescriptor");T.addMethod("ownPropertyDescriptor",Li);T.addMethod("haveOwnPropertyDescriptor",Li);function Di(){S(this,"doLength",!0)}N(Di,"assertLengthChain");function Fi(e,t){t&&S(this,"message",t);var r=S(this,"object"),n=ie(r).toLowerCase(),a=S(this,"message"),o=S(this,"ssfi"),l="length",i;switch(n){case"map":case"set":l="size",i=r.size;break;default:new T(r,a,o,!0).to.have.property("length"),i=r.length}this.assert(i==e,"expected #{this} to have a "+l+" of #{exp} but got #{act}","expected #{this} to not have a "+l+" of #{act}",e,i)}N(Fi,"assertLength");T.addChainableMethod("length",Fi,Di);T.addChainableMethod("lengthOf",Fi,Di);function Hi(e,t){t&&S(this,"message",t);var r=S(this,"object");this.assert(e.exec(r),"expected #{this} to match "+e,"expected #{this} not to match "+e)}N(Hi,"assertMatch");T.addMethod("match",Hi);T.addMethod("matches",Hi);T.addMethod("string",function(e,t){t&&S(this,"message",t);var r=S(this,"object"),n=S(this,"message"),a=S(this,"ssfi");new T(r,n,a,!0).is.a("string"),this.assert(~r.indexOf(e),"expected #{this} to contain "+Q(e),"expected #{this} to not contain "+Q(e))});function Ui(e){var t=S(this,"object"),r=ie(t),n=ie(e),a=S(this,"ssfi"),o=S(this,"deep"),l,i="",u,c=!0,s=S(this,"message");s=s?s+": ":"";var d=s+"when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String arguments";if(r==="Map"||r==="Set")i=o?"deeply ":"",u=[],t.forEach(function(g,E){u.push(E)}),n!=="Array"&&(e=Array.prototype.slice.call(arguments));else{switch(u=Ai(t),n){case"Array":if(arguments.length>1)throw new ee(d,void 0,a);break;case"Object":if(arguments.length>1)throw new ee(d,void 0,a);e=Object.keys(e);break;default:e=Array.prototype.slice.call(arguments)}e=e.map(function(g){return typeof g=="symbol"?g:String(g)})}if(!e.length)throw new ee(s+"keys required",void 0,a);var f=e.length,p=S(this,"any"),m=S(this,"all"),b=e,h=o?S(this,"eql"):(g,E)=>g===E;if(!p&&!m&&(m=!0),p&&(c=b.some(function(g){return u.some(function(E){return h(g,E)})})),m&&(c=b.every(function(g){return u.some(function(E){return h(g,E)})}),S(this,"contains")||(c=c&&e.length==u.length)),f>1){e=e.map(function(g){return Q(g)});var y=e.pop();m&&(l=e.join(", ")+", and "+y),p&&(l=e.join(", ")+", or "+y)}else l=Q(e[0]);l=(f>1?"keys ":"key ")+l,l=(S(this,"contains")?"contain ":"have ")+l,this.assert(c,"expected #{this} to "+i+l,"expected #{this} to not "+i+l,b.slice(0).sort(zn),u.sort(zn),!0)}N(Ui,"assertKeys");T.addMethod("keys",Ui);T.addMethod("key",Ui);function Pa(e,t,r){r&&S(this,"message",r);var n=S(this,"object"),a=S(this,"ssfi"),o=S(this,"message"),l=S(this,"negate")||!1;new T(n,o,a,!0).is.a("function"),(Wn(e)||typeof e=="string")&&(t=e,e=null);let i,u=!1;try{n()}catch(g){u=!0,i=g}var c=e===void 0&&t===void 0,s=!!(e&&t),d=!1,f=!1;if(c||!c&&!l){var p="an error";e instanceof Error?p="#{exp}":e&&(p=Le.getConstructorName(e));let g=i;if(i instanceof Error)g=i.toString();else if(typeof i=="string")g=i;else if(i&&(typeof i=="object"||typeof i=="function"))try{g=Le.getConstructorName(i)}catch{}this.assert(u,"expected #{this} to throw "+p,"expected #{this} to not throw an error but #{act} was thrown",e&&e.toString(),g)}if(e&&i){if(e instanceof Error){var m=Le.compatibleInstance(i,e);m===l&&(s&&l?d=!0:this.assert(l,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(i&&!l?" but #{act} was thrown":""),e.toString(),i.toString()))}var b=Le.compatibleConstructor(i,e);b===l&&(s&&l?d=!0:this.assert(l,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(i?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&Le.getConstructorName(e),i instanceof Error?i.toString():i&&Le.getConstructorName(i)))}if(i&&t!==void 0&&t!==null){var h="including";Wn(t)&&(h="matching");var y=Le.compatibleMessage(i,t);y===l&&(s&&l?f=!0:this.assert(l,"expected #{this} to throw error "+h+" #{exp} but got #{act}","expected #{this} to throw error not "+h+" #{exp}",t,Le.getMessage(i)))}d&&f&&this.assert(l,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(i?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&Le.getConstructorName(e),i instanceof Error?i.toString():i&&Le.getConstructorName(i)),S(this,"object",i)}N(Pa,"assertThrows");T.addMethod("throw",Pa);T.addMethod("throws",Pa);T.addMethod("Throw",Pa);function Vi(e,t){t&&S(this,"message",t);var r=S(this,"object"),n=S(this,"itself"),a=typeof r=="function"&&!n?r.prototype[e]:r[e];this.assert(typeof a=="function","expected #{this} to respond to "+Q(e),"expected #{this} to not respond to "+Q(e))}N(Vi,"respondTo");T.addMethod("respondTo",Vi);T.addMethod("respondsTo",Vi);T.addProperty("itself",function(){S(this,"itself",!0)});function zi(e,t){t&&S(this,"message",t);var r=S(this,"object"),n=e(r);this.assert(n,"expected #{this} to satisfy "+Ut(e),"expected #{this} to not satisfy"+Ut(e),!S(this,"negate"),n)}N(zi,"satisfy");T.addMethod("satisfy",zi);T.addMethod("satisfies",zi);function Gi(e,t,r){r&&S(this,"message",r);var n=S(this,"object"),a=S(this,"message"),o=S(this,"ssfi");new T(n,a,o,!0).is.numeric;let l="A `delta` value is required for `closeTo`";if(t==null)throw new ee(a?`${a}: ${l}`:l,void 0,o);if(new T(t,a,o,!0).is.numeric,l="A `expected` value is required for `closeTo`",e==null)throw new ee(a?`${a}: ${l}`:l,void 0,o);new T(e,a,o,!0).is.numeric;let i=N(u=>u<0n?-u:u,"abs");this.assert(i(n-e)<=t,"expected #{this} to be close to "+e+" +/- "+t,"expected #{this} not to be close to "+e+" +/- "+t)}N(Gi,"closeTo");T.addMethod("closeTo",Gi);T.addMethod("approximately",Gi);function cf(e,t,r,n,a){let o=Array.from(t),l=Array.from(e);if(!n){if(l.length!==o.length)return!1;o=o.slice()}return l.every(function(i,u){if(a)return r?r(i,o[u]):i===o[u];if(!r){var c=o.indexOf(i);return c===-1?!1:(n||o.splice(c,1),!0)}return o.some(function(s,d){return r(i,s)?(n||o.splice(d,1),!0):!1})})}N(cf,"isSubsetOf");T.addMethod("members",function(e,t){t&&S(this,"message",t);var r=S(this,"object"),n=S(this,"message"),a=S(this,"ssfi");new T(r,n,a,!0).to.be.iterable,new T(e,n,a,!0).to.be.iterable;var o=S(this,"contains"),l=S(this,"ordered"),i,u,c;o?(i=l?"an ordered superset":"a superset",u="expected #{this} to be "+i+" of #{exp}",c="expected #{this} to not be "+i+" of #{exp}"):(i=l?"ordered members":"members",u="expected #{this} to have the same "+i+" as #{exp}",c="expected #{this} to not have the same "+i+" as #{exp}");var s=S(this,"deep")?S(this,"eql"):void 0;this.assert(cf(e,r,s,o,l),u,c,e,r,!0)});T.addProperty("iterable",function(e){e&&S(this,"message",e);var t=S(this,"object");this.assert(t!=null&&t[Symbol.iterator],"expected #{this} to be an iterable","expected #{this} to not be an iterable",t)});function df(e,t){t&&S(this,"message",t);var r=S(this,"object"),n=S(this,"message"),a=S(this,"ssfi"),o=S(this,"contains"),l=S(this,"deep"),i=S(this,"eql");new T(e,n,a,!0).to.be.an("array"),o?this.assert(e.some(function(u){return r.indexOf(u)>-1}),"expected #{this} to contain one of #{exp}","expected #{this} to not contain one of #{exp}",e,r):l?this.assert(e.some(function(u){return i(r,u)}),"expected #{this} to deeply equal one of #{exp}","expected #{this} to deeply equal one of #{exp}",e,r):this.assert(e.indexOf(r)>-1,"expected #{this} to be one of #{exp}","expected #{this} to not be one of #{exp}",e,r)}N(df,"oneOf");T.addMethod("oneOf",df);function Wi(e,t,r){r&&S(this,"message",r);var n=S(this,"object"),a=S(this,"message"),o=S(this,"ssfi");new T(n,a,o,!0).is.a("function");var l;t?(new T(e,a,o,!0).to.have.property(t),l=e[t]):(new T(e,a,o,!0).is.a("function"),l=e()),n();var i=t==null?e():e[t],u=t==null?l:"."+t;S(this,"deltaMsgObj",u),S(this,"initialDeltaValue",l),S(this,"finalDeltaValue",i),S(this,"deltaBehavior","change"),S(this,"realDelta",i!==l),this.assert(l!==i,"expected "+u+" to change","expected "+u+" to not change")}N(Wi,"assertChanges");T.addMethod("change",Wi);T.addMethod("changes",Wi);function Ki(e,t,r){r&&S(this,"message",r);var n=S(this,"object"),a=S(this,"message"),o=S(this,"ssfi");new T(n,a,o,!0).is.a("function");var l;t?(new T(e,a,o,!0).to.have.property(t),l=e[t]):(new T(e,a,o,!0).is.a("function"),l=e()),new T(l,a,o,!0).is.a("number"),n();var i=t==null?e():e[t],u=t==null?l:"."+t;S(this,"deltaMsgObj",u),S(this,"initialDeltaValue",l),S(this,"finalDeltaValue",i),S(this,"deltaBehavior","increase"),S(this,"realDelta",i-l),this.assert(i-l>0,"expected "+u+" to increase","expected "+u+" to not increase")}N(Ki,"assertIncreases");T.addMethod("increase",Ki);T.addMethod("increases",Ki);function Yi(e,t,r){r&&S(this,"message",r);var n=S(this,"object"),a=S(this,"message"),o=S(this,"ssfi");new T(n,a,o,!0).is.a("function");var l;t?(new T(e,a,o,!0).to.have.property(t),l=e[t]):(new T(e,a,o,!0).is.a("function"),l=e()),new T(l,a,o,!0).is.a("number"),n();var i=t==null?e():e[t],u=t==null?l:"."+t;S(this,"deltaMsgObj",u),S(this,"initialDeltaValue",l),S(this,"finalDeltaValue",i),S(this,"deltaBehavior","decrease"),S(this,"realDelta",l-i),this.assert(i-l<0,"expected "+u+" to decrease","expected "+u+" to not decrease")}N(Yi,"assertDecreases");T.addMethod("decrease",Yi);T.addMethod("decreases",Yi);function pf(e,t){t&&S(this,"message",t);var r=S(this,"deltaMsgObj"),n=S(this,"initialDeltaValue"),a=S(this,"finalDeltaValue"),o=S(this,"deltaBehavior"),l=S(this,"realDelta"),i;o==="change"?i=Math.abs(a-n)===Math.abs(e):i=l===Math.abs(e),this.assert(i,"expected "+r+" to "+o+" by "+e,"expected "+r+" to not "+o+" by "+e)}N(pf,"assertDelta");T.addMethod("by",pf);T.addProperty("extensible",function(){var e=S(this,"object"),t=e===Object(e)&&Object.isExtensible(e);this.assert(t,"expected #{this} to be extensible","expected #{this} to not be extensible")});T.addProperty("sealed",function(){var e=S(this,"object"),t=e===Object(e)?Object.isSealed(e):!0;this.assert(t,"expected #{this} to be sealed","expected #{this} to not be sealed")});T.addProperty("frozen",function(){var e=S(this,"object"),t=e===Object(e)?Object.isFrozen(e):!0;this.assert(t,"expected #{this} to be frozen","expected #{this} to not be frozen")});T.addProperty("finite",function(e){var t=S(this,"object");this.assert(typeof t=="number"&&isFinite(t),"expected #{this} to be a finite number","expected #{this} to not be a finite number")});function Vt(e,t){return new T(e,t)}N(Vt,"expect");Vt.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"expect.fail()",new ee(r,{actual:e,expected:t,operator:n},Vt.fail)};var ff={};hi(ff,{Should:()=>HP,should:()=>FP});function Ji(){function e(){return this instanceof String||this instanceof Number||this instanceof Boolean||typeof Symbol=="function"&&this instanceof Symbol||typeof BigInt=="function"&&this instanceof BigInt?new T(this.valueOf(),null,e):new T(this,null,e)}N(e,"shouldGetter");function t(n){Object.defineProperty(this,"should",{value:n,enumerable:!0,configurable:!0,writable:!0})}N(t,"shouldSetter"),Object.defineProperty(Object.prototype,"should",{set:t,get:e,configurable:!0});var r={};return r.fail=function(n,a,o,l){throw arguments.length<2&&(o=n,n=void 0),o=o||"should.fail()",new ee(o,{actual:n,expected:a,operator:l},r.fail)},r.equal=function(n,a,o){new T(n,o).to.equal(a)},r.Throw=function(n,a,o,l){new T(n,l).to.Throw(a,o)},r.exist=function(n,a){new T(n,a).to.exist},r.not={},r.not.equal=function(n,a,o){new T(n,o).to.not.equal(a)},r.not.Throw=function(n,a,o,l){new T(n,l).to.not.Throw(a,o)},r.not.exist=function(n,a){new T(n,a).to.not.exist},r.throw=r.Throw,r.not.throw=r.not.Throw,r}N(Ji,"loadShould");var FP=Ji,HP=Ji;function O(e,t){var r=new T(null,null,O,!0);r.assert(e,t,"[ negation message unavailable ]")}N(O,"assert");O.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"assert.fail()",new ee(r,{actual:e,expected:t,operator:n},O.fail)};O.isOk=function(e,t){new T(e,t,O.isOk,!0).is.ok};O.isNotOk=function(e,t){new T(e,t,O.isNotOk,!0).is.not.ok};O.equal=function(e,t,r){var n=new T(e,r,O.equal,!0);n.assert(t==K(n,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",t,e,!0)};O.notEqual=function(e,t,r){var n=new T(e,r,O.notEqual,!0);n.assert(t!=K(n,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",t,e,!0)};O.strictEqual=function(e,t,r){new T(e,r,O.strictEqual,!0).to.equal(t)};O.notStrictEqual=function(e,t,r){new T(e,r,O.notStrictEqual,!0).to.not.equal(t)};O.deepEqual=O.deepStrictEqual=function(e,t,r){new T(e,r,O.deepEqual,!0).to.eql(t)};O.notDeepEqual=function(e,t,r){new T(e,r,O.notDeepEqual,!0).to.not.eql(t)};O.isAbove=function(e,t,r){new T(e,r,O.isAbove,!0).to.be.above(t)};O.isAtLeast=function(e,t,r){new T(e,r,O.isAtLeast,!0).to.be.least(t)};O.isBelow=function(e,t,r){new T(e,r,O.isBelow,!0).to.be.below(t)};O.isAtMost=function(e,t,r){new T(e,r,O.isAtMost,!0).to.be.most(t)};O.isTrue=function(e,t){new T(e,t,O.isTrue,!0).is.true};O.isNotTrue=function(e,t){new T(e,t,O.isNotTrue,!0).to.not.equal(!0)};O.isFalse=function(e,t){new T(e,t,O.isFalse,!0).is.false};O.isNotFalse=function(e,t){new T(e,t,O.isNotFalse,!0).to.not.equal(!1)};O.isNull=function(e,t){new T(e,t,O.isNull,!0).to.equal(null)};O.isNotNull=function(e,t){new T(e,t,O.isNotNull,!0).to.not.equal(null)};O.isNaN=function(e,t){new T(e,t,O.isNaN,!0).to.be.NaN};O.isNotNaN=function(e,t){new T(e,t,O.isNotNaN,!0).not.to.be.NaN};O.exists=function(e,t){new T(e,t,O.exists,!0).to.exist};O.notExists=function(e,t){new T(e,t,O.notExists,!0).to.not.exist};O.isUndefined=function(e,t){new T(e,t,O.isUndefined,!0).to.equal(void 0)};O.isDefined=function(e,t){new T(e,t,O.isDefined,!0).to.not.equal(void 0)};O.isCallable=function(e,t){new T(e,t,O.isCallable,!0).is.callable};O.isNotCallable=function(e,t){new T(e,t,O.isNotCallable,!0).is.not.callable};O.isObject=function(e,t){new T(e,t,O.isObject,!0).to.be.a("object")};O.isNotObject=function(e,t){new T(e,t,O.isNotObject,!0).to.not.be.a("object")};O.isArray=function(e,t){new T(e,t,O.isArray,!0).to.be.an("array")};O.isNotArray=function(e,t){new T(e,t,O.isNotArray,!0).to.not.be.an("array")};O.isString=function(e,t){new T(e,t,O.isString,!0).to.be.a("string")};O.isNotString=function(e,t){new T(e,t,O.isNotString,!0).to.not.be.a("string")};O.isNumber=function(e,t){new T(e,t,O.isNumber,!0).to.be.a("number")};O.isNotNumber=function(e,t){new T(e,t,O.isNotNumber,!0).to.not.be.a("number")};O.isNumeric=function(e,t){new T(e,t,O.isNumeric,!0).is.numeric};O.isNotNumeric=function(e,t){new T(e,t,O.isNotNumeric,!0).is.not.numeric};O.isFinite=function(e,t){new T(e,t,O.isFinite,!0).to.be.finite};O.isBoolean=function(e,t){new T(e,t,O.isBoolean,!0).to.be.a("boolean")};O.isNotBoolean=function(e,t){new T(e,t,O.isNotBoolean,!0).to.not.be.a("boolean")};O.typeOf=function(e,t,r){new T(e,r,O.typeOf,!0).to.be.a(t)};O.notTypeOf=function(e,t,r){new T(e,r,O.notTypeOf,!0).to.not.be.a(t)};O.instanceOf=function(e,t,r){new T(e,r,O.instanceOf,!0).to.be.instanceOf(t)};O.notInstanceOf=function(e,t,r){new T(e,r,O.notInstanceOf,!0).to.not.be.instanceOf(t)};O.include=function(e,t,r){new T(e,r,O.include,!0).include(t)};O.notInclude=function(e,t,r){new T(e,r,O.notInclude,!0).not.include(t)};O.deepInclude=function(e,t,r){new T(e,r,O.deepInclude,!0).deep.include(t)};O.notDeepInclude=function(e,t,r){new T(e,r,O.notDeepInclude,!0).not.deep.include(t)};O.nestedInclude=function(e,t,r){new T(e,r,O.nestedInclude,!0).nested.include(t)};O.notNestedInclude=function(e,t,r){new T(e,r,O.notNestedInclude,!0).not.nested.include(t)};O.deepNestedInclude=function(e,t,r){new T(e,r,O.deepNestedInclude,!0).deep.nested.include(t)};O.notDeepNestedInclude=function(e,t,r){new T(e,r,O.notDeepNestedInclude,!0).not.deep.nested.include(t)};O.ownInclude=function(e,t,r){new T(e,r,O.ownInclude,!0).own.include(t)};O.notOwnInclude=function(e,t,r){new T(e,r,O.notOwnInclude,!0).not.own.include(t)};O.deepOwnInclude=function(e,t,r){new T(e,r,O.deepOwnInclude,!0).deep.own.include(t)};O.notDeepOwnInclude=function(e,t,r){new T(e,r,O.notDeepOwnInclude,!0).not.deep.own.include(t)};O.match=function(e,t,r){new T(e,r,O.match,!0).to.match(t)};O.notMatch=function(e,t,r){new T(e,r,O.notMatch,!0).to.not.match(t)};O.property=function(e,t,r){new T(e,r,O.property,!0).to.have.property(t)};O.notProperty=function(e,t,r){new T(e,r,O.notProperty,!0).to.not.have.property(t)};O.propertyVal=function(e,t,r,n){new T(e,n,O.propertyVal,!0).to.have.property(t,r)};O.notPropertyVal=function(e,t,r,n){new T(e,n,O.notPropertyVal,!0).to.not.have.property(t,r)};O.deepPropertyVal=function(e,t,r,n){new T(e,n,O.deepPropertyVal,!0).to.have.deep.property(t,r)};O.notDeepPropertyVal=function(e,t,r,n){new T(e,n,O.notDeepPropertyVal,!0).to.not.have.deep.property(t,r)};O.ownProperty=function(e,t,r){new T(e,r,O.ownProperty,!0).to.have.own.property(t)};O.notOwnProperty=function(e,t,r){new T(e,r,O.notOwnProperty,!0).to.not.have.own.property(t)};O.ownPropertyVal=function(e,t,r,n){new T(e,n,O.ownPropertyVal,!0).to.have.own.property(t,r)};O.notOwnPropertyVal=function(e,t,r,n){new T(e,n,O.notOwnPropertyVal,!0).to.not.have.own.property(t,r)};O.deepOwnPropertyVal=function(e,t,r,n){new T(e,n,O.deepOwnPropertyVal,!0).to.have.deep.own.property(t,r)};O.notDeepOwnPropertyVal=function(e,t,r,n){new T(e,n,O.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(t,r)};O.nestedProperty=function(e,t,r){new T(e,r,O.nestedProperty,!0).to.have.nested.property(t)};O.notNestedProperty=function(e,t,r){new T(e,r,O.notNestedProperty,!0).to.not.have.nested.property(t)};O.nestedPropertyVal=function(e,t,r,n){new T(e,n,O.nestedPropertyVal,!0).to.have.nested.property(t,r)};O.notNestedPropertyVal=function(e,t,r,n){new T(e,n,O.notNestedPropertyVal,!0).to.not.have.nested.property(t,r)};O.deepNestedPropertyVal=function(e,t,r,n){new T(e,n,O.deepNestedPropertyVal,!0).to.have.deep.nested.property(t,r)};O.notDeepNestedPropertyVal=function(e,t,r,n){new T(e,n,O.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(t,r)};O.lengthOf=function(e,t,r){new T(e,r,O.lengthOf,!0).to.have.lengthOf(t)};O.hasAnyKeys=function(e,t,r){new T(e,r,O.hasAnyKeys,!0).to.have.any.keys(t)};O.hasAllKeys=function(e,t,r){new T(e,r,O.hasAllKeys,!0).to.have.all.keys(t)};O.containsAllKeys=function(e,t,r){new T(e,r,O.containsAllKeys,!0).to.contain.all.keys(t)};O.doesNotHaveAnyKeys=function(e,t,r){new T(e,r,O.doesNotHaveAnyKeys,!0).to.not.have.any.keys(t)};O.doesNotHaveAllKeys=function(e,t,r){new T(e,r,O.doesNotHaveAllKeys,!0).to.not.have.all.keys(t)};O.hasAnyDeepKeys=function(e,t,r){new T(e,r,O.hasAnyDeepKeys,!0).to.have.any.deep.keys(t)};O.hasAllDeepKeys=function(e,t,r){new T(e,r,O.hasAllDeepKeys,!0).to.have.all.deep.keys(t)};O.containsAllDeepKeys=function(e,t,r){new T(e,r,O.containsAllDeepKeys,!0).to.contain.all.deep.keys(t)};O.doesNotHaveAnyDeepKeys=function(e,t,r){new T(e,r,O.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(t)};O.doesNotHaveAllDeepKeys=function(e,t,r){new T(e,r,O.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(t)};O.throws=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null);var a=new T(e,n,O.throws,!0).to.throw(t,r);return K(a,"object")};O.doesNotThrow=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null),new T(e,n,O.doesNotThrow,!0).to.not.throw(t,r)};O.operator=function(e,t,r,n){var a;switch(t){case"==":a=e==r;break;case"===":a=e===r;break;case">":a=e>r;break;case">=":a=e>=r;break;case"<":a=erm,toBeDisabled:()=>Kf,toBeEmpty:()=>jf,toBeEmptyDOMElement:()=>Nf,toBeEnabled:()=>Yf,toBeInTheDOM:()=>hl,toBeInTheDocument:()=>xf,toBeInvalid:()=>Qf,toBePartiallyChecked:()=>am,toBeRequired:()=>Jf,toBeValid:()=>Zf,toBeVisible:()=>Uf,toContainElement:()=>bl,toContainHTML:()=>$f,toHaveAccessibleDescription:()=>yl,toHaveAccessibleErrorMessage:()=>Bf,toHaveAccessibleName:()=>vl,toHaveAttribute:()=>kf,toHaveClass:()=>Lf,toHaveDescription:()=>om,toHaveDisplayValue:()=>tm,toHaveErrorMessage:()=>lm,toHaveFocus:()=>Df,toHaveFormValues:()=>Ff,toHaveRole:()=>gl,toHaveStyle:()=>_l,toHaveTextContent:()=>If,toHaveValue:()=>em});var Su=Fe(ip(),1);function hf(e){Object.defineProperty(e,"__esModule",{value:!0,configurable:!0})}function Xi(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var bf={};hf(bf);Xi(bf,"default",()=>yf);var yf=class extends Error{constructor(e,t,r,n,a){super(e+":"+r+":"+n+": "+t),this.reason=t,this.filename=e,this.line=r,this.column=n,this.source=a}},gf={};hf(gf);Xi(gf,"default",()=>vf);var vf=class{constructor(e,t,r){this.start=e,this.end=t,this.source=r}},UP={};Xi(UP,"CssTypes",()=>_e);var _e;(function(e){e.stylesheet="stylesheet",e.rule="rule",e.declaration="declaration",e.comment="comment",e.container="container",e.charset="charset",e.document="document",e.customMedia="custom-media",e.fontFace="font-face",e.host="host",e.import="import",e.keyframes="keyframes",e.keyframe="keyframe",e.layer="layer",e.media="media",e.namespace="namespace",e.page="page",e.startingStyle="starting-style",e.supports="supports"})(_e||(_e={}));var Oo=/\/\*[^]*?(?:\*\/|$)/g,VP=(e,t)=>{t=t||{};let r=1,n=1;function a(F){let L=F.match(/\n/g);L&&(r+=L.length);let D=F.lastIndexOf(` +`);n=~D?F.length-D:n+F.length}function o(){let F={line:r,column:n};return function(L){return L.position=new vf(F,{line:r,column:n},(t==null?void 0:t.source)||""),p(),L}}let l=[];function i(F){let L=new yf((t==null?void 0:t.source)||"",F,r,n,e);if(t!=null&&t.silent)l.push(L);else throw L}function u(){let F=d();return{type:_e.stylesheet,stylesheet:{source:t==null?void 0:t.source,rules:F,parsingErrors:l}}}function c(){return f(/^{\s*/)}function s(){return f(/^}/)}function d(){let F,L=[];for(p(),m(L);e.length&&e.charAt(0)!=="}"&&(F=ve()||pe());)F&&(L.push(F),m(L));return L}function f(F){let L=F.exec(e);if(!L)return;let D=L[0];return a(D),e=e.slice(D.length),L}function p(){f(/^\s*/)}function m(F){let L;for(F=F||[];L=b();)L&&F.push(L);return F}function b(){let F=o();if(e.charAt(0)!=="/"||e.charAt(1)!=="*")return;let L=f(/^\/\*[^]*?\*\//);return L?F({type:_e.comment,comment:L[0].slice(2,-2)}):i("End of comment missing")}function h(F,L,D){let z=L+1,H=!1,oe=F.indexOf(")",z);for(;!H&&oe!==-1;){let ue=F.indexOf("(",z);ue!==-1&&ueH.replace(/,/g,"‌")),L.split(",").map(H=>He(H.replace(/\u200C/g,",")))}function g(){let F=o(),L=f(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(!L)return;let D=He(L[0]);if(!f(/^:\s*/))return i("property missing ':'");let z=f(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/),H=F({type:_e.declaration,property:D.replace(Oo,""),value:z?He(z[0]).replace(Oo,""):""});return f(/^[;\s]*/),H}function E(){let F=[];if(!c())return i("missing '{'");m(F);let L;for(;L=g();)L&&(F.push(L),m(F));return s()?F:i("missing '}'")}function C(){let F,L=[],D=o();for(;F=f(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)L.push(F[1]),f(/^,\s*/);if(L.length)return D({type:_e.keyframe,values:L,declarations:E()||[]})}function q(){let F=o(),L=f(/^@([-\w]+)?keyframes\s*/);if(!L)return;let D=L[1],z=f(/^([-\w]+)\s*/);if(!z)return i("@keyframes missing name");let H=z[1];if(!c())return i("@keyframes missing '{'");let oe,ue=m();for(;oe=C();)ue.push(oe),ue=ue.concat(m());return s()?F({type:_e.keyframes,name:H,vendor:D,keyframes:ue}):i("@keyframes missing '}'")}function _(){let F=o(),L=f(/^@supports *([^{]+)/);if(!L)return;let D=He(L[1]);if(!c())return i("@supports missing '{'");let z=m().concat(d());return s()?F({type:_e.supports,supports:D,rules:z}):i("@supports missing '}'")}function v(){let F=o();if(!f(/^@host\s*/))return;if(!c())return i("@host missing '{'");let L=m().concat(d());return s()?F({type:_e.host,rules:L}):i("@host missing '}'")}function w(){let F=o(),L=f(/^@container *([^{]+)/);if(!L)return;let D=He(L[1]);if(!c())return i("@container missing '{'");let z=m().concat(d());return s()?F({type:_e.container,container:D,rules:z}):i("@container missing '}'")}function P(){let F=o(),L=f(/^@layer *([^{;@]+)/);if(!L)return;let D=He(L[1]);if(!c())return f(/^[;\s]*/),F({type:_e.layer,layer:D});let z=m().concat(d());return s()?F({type:_e.layer,layer:D,rules:z}):i("@layer missing '}'")}function j(){let F=o(),L=f(/^@media *([^{]+)/);if(!L)return;let D=He(L[1]);if(!c())return i("@media missing '{'");let z=m().concat(d());return s()?F({type:_e.media,media:D,rules:z}):i("@media missing '}'")}function $(){let F=o(),L=f(/^@custom-media\s+(--\S+)\s*([^{;\s][^{;]*);/);if(L)return F({type:_e.customMedia,name:He(L[1]),media:He(L[2])})}function B(){let F=o();if(!f(/^@page */))return;let L=y()||[];if(!c())return i("@page missing '{'");let D=m(),z;for(;z=g();)D.push(z),D=D.concat(m());return s()?F({type:_e.page,selectors:L,declarations:D}):i("@page missing '}'")}function I(){let F=o(),L=f(/^@([-\w]+)?document *([^{]+)/);if(!L)return;let D=He(L[1]),z=He(L[2]);if(!c())return i("@document missing '{'");let H=m().concat(d());return s()?F({type:_e.document,document:z,vendor:D,rules:H}):i("@document missing '}'")}function A(){let F=o();if(!f(/^@font-face\s*/))return;if(!c())return i("@font-face missing '{'");let L=m(),D;for(;D=g();)L.push(D),L=L.concat(m());return s()?F({type:_e.fontFace,declarations:L}):i("@font-face missing '}'")}function k(){let F=o();if(!f(/^@starting-style\s*/))return;if(!c())return i("@starting-style missing '{'");let L=m().concat(d());return s()?F({type:_e.startingStyle,rules:L}):i("@starting-style missing '}'")}let U=se("import"),W=se("charset"),G=se("namespace");function se(F){let L=new RegExp("^@"+F+`\\s*((?::?[^;'"]|"(?:\\\\"|[^"])*?"|'(?:\\\\'|[^'])*?')+)(?:;|$)`);return function(){let D=o(),z=f(L);if(!z)return;let H={type:F};return H[F]=z[1].trim(),D(H)}}function ve(){if(e[0]==="@")return q()||j()||$()||_()||U()||W()||G()||I()||B()||v()||A()||w()||k()||P()}function pe(){let F=o(),L=y();return L?(m(),F({type:_e.rule,selectors:L,declarations:E()||[]})):i("selector missing")}return fl(u())};function He(e){return e?e.trim():""}function fl(e,t){let r=e&&typeof e.type=="string",n=r?e:t;for(let a in e){let o=e[a];Array.isArray(o)?o.forEach(l=>{fl(l,n)}):o&&typeof o=="object"&&fl(o,n)}return r&&Object.defineProperty(e,"parent",{configurable:!0,writable:!0,enumerable:!1,value:t||null}),e}var zP=VP,GP=zP,WP=Object.prototype.toString;function KP(e){return typeof e=="function"||WP.call(e)==="[object Function]"}function YP(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var JP=Math.pow(2,53)-1;function XP(e){var t=YP(e);return Math.min(Math.max(t,0),JP)}function Je(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");for(var a=XP(n.length),o=KP(r)?Object(new r(a)):new Array(a),l=0,i;l0&&arguments[0]!==void 0?arguments[0]:[];QP(this,e),t1(this,"items",void 0),this.items=t}return e1(e,[{key:"add",value:function(t){return this.has(t)===!1&&this.items.push(t),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(t){var r=this.items.length;return this.items=this.items.filter(function(n){return n!==t}),r!==this.items.length}},{key:"forEach",value:function(t){var r=this;this.items.forEach(function(n){t(n,n,r)})}},{key:"has",value:function(t){return this.items.indexOf(t)!==-1}},{key:"size",get:function(){return this.items.length}}]),e}(),a1=typeof Set>"u"?Set:n1;function xe(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var o1={article:"article",aside:"complementary",button:"button",datalist:"listbox",dd:"definition",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",form:"form",footer:"contentinfo",h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:"banner",hr:"separator",html:"document",legend:"legend",li:"listitem",math:"math",main:"main",menu:"list",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",section:"region",summary:"button",table:"table",tbody:"rowgroup",textarea:"textbox",tfoot:"rowgroup",td:"cell",th:"columnheader",thead:"rowgroup",tr:"row",ul:"list"},l1={caption:new Set(["aria-label","aria-labelledby"]),code:new Set(["aria-label","aria-labelledby"]),deletion:new Set(["aria-label","aria-labelledby"]),emphasis:new Set(["aria-label","aria-labelledby"]),generic:new Set(["aria-label","aria-labelledby","aria-roledescription"]),insertion:new Set(["aria-label","aria-labelledby"]),none:new Set(["aria-label","aria-labelledby"]),paragraph:new Set(["aria-label","aria-labelledby"]),presentation:new Set(["aria-label","aria-labelledby"]),strong:new Set(["aria-label","aria-labelledby"]),subscript:new Set(["aria-label","aria-labelledby"]),superscript:new Set(["aria-label","aria-labelledby"])};function i1(e,t){return["aria-atomic","aria-busy","aria-controls","aria-current","aria-description","aria-describedby","aria-details","aria-dropeffect","aria-flowto","aria-grabbed","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"].some(function(r){var n;return e.hasAttribute(r)&&!((n=l1[t])!==null&&n!==void 0&&n.has(r))})}function Rf(e,t){return i1(e,t)}function s1(e){var t=c1(e);if(t===null||ml.indexOf(t)!==-1){var r=u1(e);if(ml.indexOf(t||"")===-1||Rf(e,r||""))return r}return t}function u1(e){var t=o1[xe(e)];if(t!==void 0)return t;switch(xe(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!Rf(e,"img")?"presentation":"img";case"input":{var r=e,n=r.type;switch(n){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return n;case"range":return"slider";case"email":case"tel":case"text":case"url":return e.hasAttribute("list")?"combobox":"textbox";case"search":return e.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}}case"select":return e.hasAttribute("multiple")||e.size>1?"listbox":"combobox"}return null}function c1(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}var ml=["presentation","none"];function ce(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function wf(e){return ce(e)&&xe(e)==="caption"}function jn(e){return ce(e)&&xe(e)==="input"}function d1(e){return ce(e)&&xe(e)==="optgroup"}function p1(e){return ce(e)&&xe(e)==="select"}function f1(e){return ce(e)&&xe(e)==="table"}function m1(e){return ce(e)&&xe(e)==="textarea"}function h1(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function b1(e){return ce(e)&&xe(e)==="fieldset"}function y1(e){return ce(e)&&xe(e)==="legend"}function g1(e){return ce(e)&&xe(e)==="slot"}function v1(e){return ce(e)&&e.ownerSVGElement!==void 0}function _1(e){return ce(e)&&xe(e)==="svg"}function R1(e){return v1(e)&&xe(e)==="title"}function Kn(e,t){if(ce(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(a){return n.getElementById(a)}).filter(function(a){return a!==null})}return[]}function ht(e,t){return ce(e)?t.indexOf(s1(e))!==-1:!1}function w1(e){return e.trim().replace(/\s\s+/g," ")}function C1(e,t){if(!ce(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}function q1(e){return ht(e,["button","combobox","listbox","textbox"])||Cf(e,"range")}function Cf(e,t){if(!ce(e))return!1;switch(t){case"range":return ht(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}function Au(e,t){var r=Je(e.querySelectorAll(t));return Kn(e,"aria-owns").forEach(function(n){r.push.apply(r,Je(n.querySelectorAll(t)))}),r}function E1(e){return p1(e)?e.selectedOptions||Au(e,"[selected]"):Au(e,'[aria-selected="true"]')}function P1(e){return ht(e,ml)}function O1(e){return wf(e)}function T1(e){return ht(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function S1(e){return!1}function A1(e){return jn(e)||m1(e)?e.value:e.textContent||""}function Mu(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function qf(e){var t=xe(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function Ef(e){if(qf(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&ce(r)){var n=Ef(r);n!==null&&(t=n)}}),t}function M1(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):Ef(e)}function x1(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return Je(t);if(!qf(e))return null;var r=e.ownerDocument;return Je(r.querySelectorAll("label")).filter(function(n){return M1(n)===e})}function j1(e){var t=e.assignedNodes();return t.length===0?Je(e.childNodes):t}function Pf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new a1,n=h1(e),a=t.compute,o=a===void 0?"name":a,l=t.computedStyleSupportsPseudoElements,i=l===void 0?t.getComputedStyle!==void 0:l,u=t.getComputedStyle,c=u===void 0?n.getComputedStyle.bind(n):u,s=t.hidden,d=s===void 0?!1:s;function f(y,g){var E="";if(ce(y)&&i){var C=c(y,"::before"),q=Mu(C);E="".concat(q," ").concat(E)}var _=g1(y)?j1(y):Je(y.childNodes).concat(Kn(y,"aria-owns"));if(_.forEach(function(P){var j=h(P,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),$=ce(P)?c(P).getPropertyValue("display"):"inline",B=$!=="inline"?" ":"";E+="".concat(B).concat(j).concat(B)}),ce(y)&&i){var v=c(y,"::after"),w=Mu(v);E="".concat(E," ").concat(w)}return E.trim()}function p(y,g){var E=y.getAttributeNode(g);return E!==null&&!r.has(E)&&E.value.trim()!==""?(r.add(E),E.value):null}function m(y){return ce(y)?p(y,"title"):null}function b(y){if(!ce(y))return null;if(b1(y)){r.add(y);for(var g=Je(y.childNodes),E=0;E0}).join(" ");if(jn(y)&&y.type==="image"){var k=p(y,"alt");if(k!==null)return k;var U=p(y,"title");return U!==null?U:"Submit Query"}if(ht(y,["button"])){var W=f(y,{isEmbeddedInLabel:!1});if(W!=="")return W}return null}function h(y,g){if(r.has(y))return"";if(!d&&C1(y,c)&&!g.isReferenced)return r.add(y),"";var E=ce(y)?y.getAttributeNode("aria-labelledby"):null,C=E!==null&&!r.has(E)?Kn(y,"aria-labelledby"):[];if(o==="name"&&!g.isReferenced&&C.length>0)return r.add(E),C.map(function($){return h($,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var q=g.recursion&&q1(y)&&o==="name";if(!q){var _=(ce(y)&&y.getAttribute("aria-label")||"").trim();if(_!==""&&o==="name")return r.add(y),_;if(!P1(y)){var v=b(y);if(v!==null)return r.add(y),v}}if(ht(y,["menu"]))return r.add(y),"";if(q||g.isEmbeddedInLabel||g.isReferenced){if(ht(y,["combobox","listbox"])){r.add(y);var w=E1(y);return w.length===0?jn(y)?y.value:"":Je(w).map(function($){return h($,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(Cf(y,"range"))return r.add(y),y.hasAttribute("aria-valuetext")?y.getAttribute("aria-valuetext"):y.hasAttribute("aria-valuenow")?y.getAttribute("aria-valuenow"):y.getAttribute("value")||"";if(ht(y,["textbox"]))return r.add(y),A1(y)}if(T1(y)||ce(y)&&g.isReferenced||O1(y)||S1()){var P=f(y,{isEmbeddedInLabel:g.isEmbeddedInLabel});if(P!=="")return r.add(y),P}if(y.nodeType===y.TEXT_NODE)return r.add(y),y.textContent||"";if(g.recursion)return r.add(y),f(y,{isEmbeddedInLabel:g.isEmbeddedInLabel});var j=m(y);return j!==null?(r.add(y),j):(r.add(y),"")}return w1(h(e,{isEmbeddedInLabel:!1,isReferenced:o==="description",recursion:!1}))}function Jr(e){"@babel/helpers - typeof";return Jr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Jr(e)}function xu(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function ju(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:{},r=Kn(e,"aria-describedby").map(function(o){return Pf(o,ju(ju({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("aria-description");r=n===null?"":n}if(r===""){var a=e.getAttribute("title");r=a===null?"":a}return r}function k1(e){return ht(e,["caption","code","deletion","emphasis","generic","insertion","none","paragraph","presentation","strong","subscript","superscript"])}function L1(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return k1(e)?"":Pf(e,t)}var Qi=Fe(sp(),1),D1=Fe(cp(),1),Of=Fe(Rp(),1),F1=Fe(wp(),1),Tf=class extends Error{constructor(e,t,r,n){super(),Error.captureStackTrace&&Error.captureStackTrace(this,r);let a="";try{a=n.utils.printWithType("Received",t,n.utils.printReceived)}catch{}this.message=[n.utils.matcherHint(`${n.isNot?".not":""}.${r.name}`,"received",""),"",`${n.utils.RECEIVED_COLOR("received")} value must ${e}.`,a].join(` +`)}},Nu=class extends Tf{constructor(...e){super("be an HTMLElement or an SVGElement",...e)}},$u=class extends Tf{constructor(...e){super("be a Node",...e)}};function Sf(e,t,...r){if(!e||!e.ownerDocument||!e.ownerDocument.defaultView)throw new t(e,...r)}function H1(e,...t){Sf(e,$u,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.Node))throw new $u(e,...t)}function le(e,...t){Sf(e,Nu,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.HTMLElement)&&!(e instanceof r.SVGElement))throw new Nu(e,...t)}var U1=class extends Error{constructor(e,t,r){super(),Error.captureStackTrace&&Error.captureStackTrace(this,t),this.message=[e.message,"",r.utils.RECEIVED_COLOR("Failing css:"),r.utils.RECEIVED_COLOR(`${e.css}`)].join(` +`)}};function V1(e,...t){let r=GP(`selector { ${e} }`,{silent:!0}).stylesheet;if(r.parsingErrors&&r.parsingErrors.length>0){let{reason:n,line:a}=r.parsingErrors[0];throw new U1({css:e,message:`Syntax error parsing expected css: ${n} on line: ${a}`},...t)}return r.rules[0].declarations.filter(n=>n.type==="declaration").reduce((n,{property:a,value:o})=>Object.assign(n,{[a]:o}),{})}function Iu(e,t){return typeof t=="string"?t:e.utils.stringify(t)}function Ae(e,t,r,n,a,o){return[`${t} +`,`${r}: +${e.utils.EXPECTED_COLOR((0,Su.default)(Iu(e,n),2))}`,`${a}: +${e.utils.RECEIVED_COLOR((0,Su.default)(Iu(e,o),2))}`].join(` +`)}function z1(e,t){return t instanceof RegExp?t.test(e):e.includes(String(t))}function Oa(e,t){console.warn(`Warning: ${e} has been deprecated and will be removed in future updates.`,t)}function Ta(e){return e.replace(/\s+/g," ").trim()}function jt(e){return e.tagName&&e.tagName.toLowerCase()}function G1({multiple:e,options:t}){let r=[...t].filter(n=>n.selected);if(e)return[...r].map(n=>n.value);if(r.length!==0)return r[0].value}function W1(e){switch(e.type){case"number":return e.value===""?null:Number(e.value);case"checkbox":return e.checked;default:return e.value}}var K1=["meter","progressbar","slider","spinbutton"];function Y1(e){if(K1.includes(e.getAttribute("role")))return Number(e.getAttribute("aria-valuenow"))}function Af(e){if(e)switch(e.tagName.toLowerCase()){case"input":return W1(e);case"select":return G1(e);default:return e.value??Y1(e)}}function J1(e,{wordConnector:t=", ",lastWordConnector:r=" and "}={}){return[e.slice(0,-1).join(t),e[e.length-1]].join(e.length>1?r:"")}function Mf(e,t){if(Array.isArray(e)&&Array.isArray(t))return[...new Set(e)].every(r=>new Set(t).has(r))}function hl(e,t){return Oa("toBeInTheDOM","Please use toBeInTheDocument for searching the entire document and toContainElement for searching a specific container."),e&&le(e,hl,this),t&&le(t,hl,this),{pass:t?t.contains(e):!!e,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDOM`,"element",""),"","Received:",` ${this.utils.printReceived(e&&e.cloneNode(!1))}`].join(` +`)}}function xf(e){(e!==null||!this.isNot)&&le(e,xf,this);let t=e===null?!1:e.ownerDocument===e.getRootNode({composed:!0}),r=()=>`expected document not to contain element, found ${this.utils.stringify(e.cloneNode(!0))} instead`,n=()=>"element could not be found in the document";return{pass:t,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDocument`,"element",""),"",this.utils.RECEIVED_COLOR(this.isNot?r():n())].join(` +`)}}function jf(e){return Oa("toBeEmpty","Please use instead toBeEmptyDOMElement for finding empty nodes in the DOM."),le(e,jf,this),{pass:e.innerHTML==="",message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmpty`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(` +`)}}function Nf(e){return le(e,Nf,this),{pass:X1(e),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmptyDOMElement`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(` +`)}}function X1(e){return[...e.childNodes].filter(t=>t.nodeType!==8).length===0}function bl(e,t){return le(e,bl,this),t!==null&&le(t,bl,this),{pass:e.contains(t),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toContainElement`,"element","element"),"",this.utils.RECEIVED_COLOR(`${this.utils.stringify(e.cloneNode(!1))} ${this.isNot?"contains:":"does not contain:"} ${this.utils.stringify(t&&t.cloneNode(!1))} + `)].join(` +`)}}function Q1(e,t){let r=e.ownerDocument.createElement("div");return r.innerHTML=t,r.innerHTML}function $f(e,t){if(le(e,$f,this),typeof t!="string")throw new Error(`.toContainHTML() expects a string value, got ${t}`);return{pass:e.outerHTML.includes(Q1(e,t)),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toContainHTML`,"element",""),"Expected:",` ${this.utils.EXPECTED_COLOR(t)}`,"Received:",` ${this.utils.printReceived(e.cloneNode(!0))}`].join(` +`)}}function If(e,t,r={normalizeWhitespace:!0}){H1(e,If,this);let n=r.normalizeWhitespace?Ta(e.textContent):e.textContent.replace(/\u00a0/g," "),a=n!==""&&t==="";return{pass:!a&&z1(n,t),message:()=>{let o=this.isNot?"not to":"to";return Ae(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveTextContent`,"element",""),a?"Checking with empty string will always match, use .toBeEmptyDOMElement() instead":`Expected element ${o} have text content`,t,"Received",n)}}}function yl(e,t){le(e,yl,this);let r=B1(e),n=arguments.length===1,a=!1;return n?a=r!=="":a=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:a,message:()=>{let o=this.isNot?"not to":"to";return Ae(this,this.utils.matcherHint(`${this.isNot?".not":""}.${yl.name}`,"element",""),`Expected element ${o} have accessible description`,t,"Received",r)}}}var $r="aria-invalid",Z1=["false"];function Bf(e,t){var i;le(e,Bf,this);let r=this.isNot?"not to":"to",n=this.isNot?".not.toHaveAccessibleErrorMessage":".toHaveAccessibleErrorMessage",a=e.getAttribute("aria-errormessage");if(a&&/\s+/.test(a))return{pass:!1,message:()=>Ae(this,this.utils.matcherHint(n,"element"),"Expected element's `aria-errormessage` attribute to be empty or a single, valid ID","","Received",`aria-errormessage="${a}"`)};let o=e.getAttribute($r);if(!e.hasAttribute($r)||Z1.includes(o))return{pass:!1,message:()=>Ae(this,this.utils.matcherHint(n,"element"),"Expected element to be marked as invalid with attribute",`${$r}="${String(!0)}"`,"Received",e.hasAttribute("aria-invalid")?`${$r}="${e.getAttribute($r)}`:null)};let l=Ta(((i=e.ownerDocument.getElementById(a))==null?void 0:i.textContent)??"");return{pass:t===void 0?!!l:t instanceof RegExp?t.test(l):this.equals(l,t),message:()=>Ae(this,this.utils.matcherHint(n,"element"),`Expected element ${r} have accessible error message`,t??"","Received",l)}}var eO=nO(Qi.elementRoles);function gl(e,t){le(e,gl,this);let r=tO(e);return{pass:r.some(n=>n===t),message:()=>{let n=this.isNot?"not to":"to";return Ae(this,this.utils.matcherHint(`${this.isNot?".not":""}.${gl.name}`,"element",""),`Expected element ${n} have role`,t,"Received",r.join(", "))}}}function tO(e){return e.hasAttribute("role")?e.getAttribute("role").split(" ").filter(Boolean):rO(e)}function rO(e){for(let{match:t,roles:r}of eO)if(t(e))return[...r];return[]}function nO(e){function t({name:l,attributes:i}){return`${l}${i.map(({name:u,value:c,constraints:s=[]})=>s.indexOf("undefined")!==-1?`:not([${u}])`:c?`[${u}="${c}"]`:`[${u}]`).join("")}`}function r({attributes:l=[]}){return l.length}function n({specificity:l},{specificity:i}){return i-l}function a(l){let{attributes:i=[]}=l,u=i.findIndex(s=>s.value&&s.name==="type"&&s.value==="text");u>=0&&(i=[...i.slice(0,u),...i.slice(u+1)]);let c=t({...l,attributes:i});return s=>u>=0&&s.type!=="text"?!1:s.matches(c)}let o=[];for(let[l,i]of e.entries())o=[...o,{match:a(l),roles:Array.from(i),specificity:r(l)}];return o.sort(n)}function vl(e,t){le(e,vl,this);let r=L1(e),n=arguments.length===1,a=!1;return n?a=r!=="":a=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:a,message:()=>{let o=this.isNot?"not to":"to";return Ae(this,this.utils.matcherHint(`${this.isNot?".not":""}.${vl.name}`,"element",""),`Expected element ${o} have accessible name`,t,"Received",r)}}}function Bu(e,t,r){return r===void 0?t:`${t}=${e(r)}`}function aO(e,t,r){return r===void 0?`element.hasAttribute(${e(t)})`:`element.getAttribute(${e(t)}) === ${e(r)}`}function kf(e,t,r){le(e,kf,this);let n=r!==void 0,a=e.hasAttribute(t),o=e.getAttribute(t);return{pass:n?a&&this.equals(o,r):a,message:()=>{let l=this.isNot?"not to":"to",i=a?Bu(this.utils.stringify,t,o):null,u=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveAttribute`,"element",this.utils.printExpected(t),{secondArgument:n?this.utils.printExpected(r):void 0,comment:aO(this.utils.stringify,t,r)});return Ae(this,u,`Expected the element ${l} have attribute`,Bu(this.utils.stringify,t,r),"Received",i)}}}function oO(e){let t=e.pop(),r,n;return typeof t=="object"&&!(t instanceof RegExp)?(r=e,n=t):(r=e.concat(t),n={exact:!1}),{expectedClassNames:r,options:n}}function ku(e){return e?e.split(/\s+/).filter(t=>t.length>0):[]}function Lu(e,t){return e.every(r=>typeof r=="string"?t.includes(r):t.some(n=>r.test(n)))}function Lf(e,...t){le(e,Lf,this);let{expectedClassNames:r,options:n}=oO(t),a=ku(e.getAttribute("class")),o=r.reduce((i,u)=>i.concat(typeof u=="string"||!u?ku(u):u),[]),l=o.some(i=>i instanceof RegExp);if(n.exact&&l)throw new Error("Exact option does not support RegExp expected class names");return n.exact?{pass:Lu(o,a)&&o.length===a.length,message:()=>{let i=this.isNot?"not to":"to";return Ae(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(o.join(" "))),`Expected the element ${i} have EXACTLY defined classes`,o.join(" "),"Received",a.join(" "))}}:o.length>0?{pass:Lu(o,a),message:()=>{let i=this.isNot?"not to":"to";return Ae(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(o.join(" "))),`Expected the element ${i} have class`,o.join(" "),"Received",a.join(" "))}}:{pass:this.isNot?a.length>0:!1,message:()=>this.isNot?Ae(this,this.utils.matcherHint(".not.toHaveClass","element",""),"Expected the element to have classes","(none)","Received",a.join(" ")):[this.utils.matcherHint(".toHaveClass","element"),"At least one expected class must be provided."].join(` +`)}}function lO(e,t){let r={},n=e.createElement("div");return Object.keys(t).forEach(a=>{n.style[a]=t[a],r[a]=n.style[a]}),r}function iO(e,t){return!!Object.keys(e).length&&Object.entries(e).every(([r,n])=>{let a=r.startsWith("--"),o=[r];return a||o.push(r.toLowerCase()),o.some(l=>t[l]===n||t.getPropertyValue(l)===n)})}function Du(e){return Object.keys(e).sort().map(t=>`${t}: ${e[t]};`).join(` +`)}function sO(e,t,r){let n=Array.from(r).filter(a=>t[a]!==void 0).reduce((a,o)=>Object.assign(a,{[o]:r.getPropertyValue(o)}),{});return e(Du(t),Du(n)).replace(`${D1.default.red("+ Received")} +`,"")}function _l(e,t){le(e,_l,this);let r=typeof t=="object"?t:V1(t,_l,this),{getComputedStyle:n}=e.ownerDocument.defaultView,a=lO(e.ownerDocument,r),o=n(e);return{pass:iO(a,o),message:()=>{let l=`${this.isNot?".not":""}.toHaveStyle`;return[this.utils.matcherHint(l,"element",""),sO(this.utils.diff,a,o)].join(` + +`)}}}function Df(e){return le(e,Df,this),{pass:e.ownerDocument.activeElement===e,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toHaveFocus`,"element",""),"",...this.isNot?["Received element is focused:",` ${this.utils.printReceived(e)}`]:["Expected element with focus:",` ${this.utils.printExpected(e)}`,"Received element with focus:",` ${this.utils.printReceived(e.ownerDocument.activeElement)}`]].join(` +`)}}function uO(e){let t=[...new Set(e.map(r=>r.type))];if(t.length!==1)throw new Error("Multiple form elements with the same name must be of the same type");switch(t[0]){case"radio":{let r=e.find(n=>n.checked);return r?r.value:void 0}case"checkbox":return e.filter(r=>r.checked).map(r=>r.value);default:return e.map(r=>r.value)}}function cO(e,t){let r=[...e.querySelectorAll(`[name="${(0,F1.default)(t)}"]`)];if(r.length!==0)switch(r.length){case 1:return Af(r[0]);default:return uO(r)}}function dO(e){return/\[\]$/.test(e)?e.slice(0,-2):e}function pO(e){return Array.from(e.elements).map(t=>t.name).reduce((t,r)=>({...t,[dO(r)]:cO(e,r)}),{})}function Ff(e,t){if(le(e,Ff,this),!e.elements)throw new Error("toHaveFormValues must be called on a form or a fieldset");let r=pO(e);return{pass:Object.entries(t).every(([n,a])=>(0,Of.default)(r[n],a,Mf)),message:()=>{let n=this.isNot?"not to":"to",a=`${this.isNot?".not":""}.toHaveFormValues`,o=Object.keys(r).filter(l=>t.hasOwnProperty(l)).reduce((l,i)=>({...l,[i]:r[i]}),{});return[this.utils.matcherHint(a,"element",""),`Expected the element ${n} have form values`,this.utils.diff(t,o)].join(` + +`)}}}function fO(e){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:r,visibility:n,opacity:a}=t(e);return r!=="none"&&n!=="hidden"&&n!=="collapse"&&a!=="0"&&a!==0}function mO(e,t){let r;return t?r=e.nodeName==="DETAILS"&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0:r=e.nodeName==="DETAILS"?e.hasAttribute("open"):!0,!e.hasAttribute("hidden")&&r}function Hf(e,t){return fO(e)&&mO(e,t)&&(!e.parentElement||Hf(e.parentElement,e))}function Uf(e){le(e,Uf,this);let t=e.ownerDocument===e.getRootNode({composed:!0}),r=t&&Hf(e);return{pass:r,message:()=>{let n=r?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeVisible`,"element",""),"",`Received element ${n} visible${t?"":" (element is not in the document)"}:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(` +`)}}}var hO=["fieldset","input","select","optgroup","option","button","textarea"];function bO(e,t){return jt(e)==="legend"&&jt(t)==="fieldset"&&e.isSameNode(Array.from(t.children).find(r=>jt(r)==="legend"))}function yO(e,t){return zf(t)&&!bO(e,t)}function gO(e){return e.includes("-")}function Vf(e){let t=jt(e);return hO.includes(t)||gO(t)}function zf(e){return Vf(e)&&e.hasAttribute("disabled")}function Gf(e){let t=e.parentElement;return!!t&&(yO(e,t)||Gf(t))}function Wf(e){return Vf(e)&&(zf(e)||Gf(e))}function Kf(e){le(e,Kf,this);let t=Wf(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeDisabled`,"element",""),"",`Received element ${r} disabled:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(` +`)}}}function Yf(e){le(e,Yf,this);let t=!Wf(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEnabled`,"element",""),"",`Received element ${r} enabled:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(` +`)}}}var vO=["select","textarea"],_O=["input","select","textarea"],RO=["color","hidden","range","submit","image","reset"],wO=["checkbox","combobox","gridcell","listbox","radiogroup","spinbutton","textbox","tree"];function CO(e){return vO.includes(jt(e))&&e.hasAttribute("required")}function qO(e){return jt(e)==="input"&&e.hasAttribute("required")&&(e.hasAttribute("type")&&!RO.includes(e.getAttribute("type"))||!e.hasAttribute("type"))}function EO(e){return e.hasAttribute("aria-required")&&e.getAttribute("aria-required")==="true"&&(_O.includes(jt(e))||e.hasAttribute("role")&&wO.includes(e.getAttribute("role")))}function Jf(e){le(e,Jf,this);let t=CO(e)||qO(e)||EO(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeRequired`,"element",""),"",`Received element ${r} required:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(` +`)}}}var PO=["form","input","select","textarea"];function OO(e){return e.hasAttribute("aria-invalid")&&e.getAttribute("aria-invalid")!=="false"}function TO(e){return PO.includes(jt(e))}function Xf(e){let t=OO(e);return TO(e)?t||!e.checkValidity():t}function Qf(e){le(e,Qf,this);let t=Xf(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInvalid`,"element",""),"",`Received element ${r} currently invalid:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(` +`)}}}function Zf(e){le(e,Zf,this);let t=!Xf(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeValid`,"element",""),"",`Received element ${r} currently valid:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(` +`)}}}function em(e,t){if(le(e,em,this),e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type))throw new Error("input with type=checkbox or type=radio cannot be used with .toHaveValue(). Use .toBeChecked() for type=checkbox or .toHaveFormValues() instead");let r=Af(e),n=t!==void 0,a=t,o=r;return t==r&&t!==r&&(a=`${t} (${typeof t})`,o=`${r} (${typeof r})`),{pass:n?(0,Of.default)(r,t,Mf):!!r,message:()=>{let l=this.isNot?"not to":"to",i=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveValue`,"element",t);return Ae(this,i,`Expected the element ${l} have value`,n?a:"(any)","Received",o)}}}function tm(e,t){le(e,tm,this);let r=e.tagName.toLowerCase();if(!["select","input","textarea"].includes(r))throw new Error(".toHaveDisplayValue() currently supports only input, textarea or select elements, try with another matcher instead.");if(r==="input"&&["radio","checkbox"].includes(e.type))throw new Error(`.toHaveDisplayValue() currently does not support input[type="${e.type}"], try with another matcher instead.`);let n=SO(r,e),a=AO(t),o=a.filter(u=>n.some(c=>u instanceof RegExp?u.test(c):this.equals(c,String(u)))).length,l=o===n.length,i=o===a.length;return{pass:l&&i,message:()=>Ae(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDisplayValue`,"element",""),`Expected element ${this.isNot?"not ":""}to have display value`,t,"Received",n)}}function SO(e,t){return e==="select"?Array.from(t).filter(r=>r.selected).map(r=>r.textContent):[t.value]}function AO(e){return e instanceof Array?e:[e]}function rm(e){le(e,rm,this);let t=()=>e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type),r=()=>nm(e.getAttribute("role"))&&["true","false"].includes(e.getAttribute("aria-checked"));if(!t()&&!r())return{pass:!1,message:()=>`only inputs with type="checkbox" or type="radio" or elements with ${MO()} and a valid aria-checked attribute can be used with .toBeChecked(). Use .toHaveValue() instead`};let n=()=>t()?e.checked:e.getAttribute("aria-checked")==="true";return{pass:n(),message:()=>{let a=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeChecked`,"element",""),"",`Received element ${a} checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(` +`)}}}function MO(){return J1(xO().map(e=>`role="${e}"`),{lastWordConnector:" or "})}function xO(){return Qi.roles.keys().filter(nm)}function nm(e){var t;return((t=Qi.roles.get(e))==null?void 0:t.props["aria-checked"])!==void 0}function am(e){le(e,am,this);let t=()=>e.tagName.toLowerCase()==="input"&&e.type==="checkbox",r=()=>e.getAttribute("role")==="checkbox";if(!t()&&!r())return{pass:!1,message:()=>'only inputs with type="checkbox" or elements with role="checkbox" and a valid aria-checked attribute can be used with .toBePartiallyChecked(). Use .toHaveValue() instead'};let n=()=>{let a=e.getAttribute("aria-checked")==="mixed";return t()&&e.indeterminate||a};return{pass:n(),message:()=>{let a=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBePartiallyChecked`,"element",""),"",`Received element ${a} partially checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(` +`)}}}function om(e,t){Oa("toHaveDescription","Please use toHaveAccessibleDescription."),le(e,om,this);let r=t!==void 0,n=(e.getAttribute("aria-describedby")||"").split(/\s+/).filter(Boolean),a="";if(n.length>0){let o=e.ownerDocument,l=n.map(i=>o.getElementById(i)).filter(Boolean);a=Ta(l.map(i=>i.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(a):this.equals(a,t):!!a,message:()=>{let o=this.isNot?"not to":"to";return Ae(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDescription`,"element",""),`Expected the element ${o} have description`,this.utils.printExpected(t),"Received",this.utils.printReceived(a))}}}function lm(e,t){if(Oa("toHaveErrorMessage","Please use toHaveAccessibleErrorMessage."),le(e,lm,this),!e.hasAttribute("aria-invalid")||e.getAttribute("aria-invalid")==="false"){let o=this.isNot?".not":"";return{pass:!1,message:()=>Ae(this,this.utils.matcherHint(`${o}.toHaveErrorMessage`,"element",""),"Expected the element to have invalid state indicated by",'aria-invalid="true"',"Received",e.hasAttribute("aria-invalid")?`aria-invalid="${e.getAttribute("aria-invalid")}"`:this.utils.printReceived(""))}}let r=t!==void 0,n=(e.getAttribute("aria-errormessage")||"").split(/\s+/).filter(Boolean),a="";if(n.length>0){let o=e.ownerDocument,l=n.map(i=>o.getElementById(i)).filter(Boolean);a=Ta(l.map(i=>i.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(a):this.equals(a,t):!!a,message:()=>{let o=this.isNot?"not to":"to";return Ae(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveErrorMessage`,"element",""),`Expected the element ${o} have error message`,this.utils.printExpected(t),"Received",this.utils.printReceived(a))}}}Fe(ip(),1);Fe(sp(),1);Fe(cp(),1);Fe(Rp(),1);Fe(wp(),1);function pt(e,t,r){let n=typeof e;if(!r.includes(n))throw new TypeError(`${t} value must be ${r.join(" or ")}, received "${n}"`)}function Nn(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}function jO(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}function Rl(e){return Object.prototype.toString.apply(e).slice(8,-1)}function NO(e,t){let r=typeof t=="function"?t:n=>t.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}function im(e){let t=new Set;return jO(e)?[]:(NO(e,t),Array.from(t))}var sm={forceWritable:!1};function Fu(e,t=sm){return wl(e,new WeakMap,t)}function wl(e,t,r=sm){let n,a;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(a=Array(n=e.length),t.set(e,a);n--;)a[n]=wl(e[n],t,r);return a}if(Object.prototype.toString.call(e)==="[object Object]"){a=Object.create(Object.getPrototypeOf(e)),t.set(e,a);let o=im(e);for(let l of o){let i=Object.getOwnPropertyDescriptor(e,l);if(!i)continue;let u=wl(e[l],t,r);r.forceWritable?Object.defineProperty(a,l,{enumerable:i.enumerable,configurable:!0,writable:!0,value:u}):"get"in i?Object.defineProperty(a,l,{...i,get(){return u}}):Object.defineProperty(a,l,{...i,value:u})}return a}return e}var Hu={bold:["1","22"],dim:["2","22"],italic:["3","23"],underline:["4","24"],inverse:["7","27"],hidden:["8","28"],strike:["9","29"],black:["30","39"],red:["31","39"],green:["32","39"],yellow:["33","39"],blue:["34","39"],magenta:["35","39"],cyan:["36","39"],white:["37","39"],brightblack:["30;1","39"],brightred:["31;1","39"],brightgreen:["32;1","39"],brightyellow:["33;1","39"],brightblue:["34;1","39"],brightmagenta:["35;1","39"],brightcyan:["36;1","39"],brightwhite:["37;1","39"],grey:["90","39"]},$O={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},vr="…";function IO(e,t){let r=Hu[$O[t]]||Hu[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}function BO({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:a=!1,maxArrayLength:o=1/0,breakLength:l=1/0,seen:i=[],truncate:u=1/0,stylize:c=String}={},s){let d={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!a,maxArrayLength:Number(o),breakLength:Number(l),truncate:Number(u),seen:i,inspect:s,stylize:c};return d.colors&&(d.stylize=IO),d}function kO(e){return e>="\uD800"&&e<="\uDBFF"}function kt(e,t,r=vr){e=String(e);let n=r.length,a=e.length;if(n>t&&a>n)return r;if(a>t&&a>n){let o=t-n;return o>0&&kO(e[o-1])&&(o=o-1),`${e.slice(0,o)}${r}`}return e}function tt(e,t,r,n=", "){r=r||t.inspect;let a=e.length;if(a===0)return"";let o=t.truncate,l="",i="",u="";for(let c=0;co&&l.length+u.length<=o||!s&&!d&&b>o||(i=s?"":r(e[c+1],t)+(d?"":n),!s&&d&&b>o&&m+i.length>o))break;if(l+=p,!s&&!d&&m+i.length>=o){u=`${vr}(${e.length-c-1})`;break}u=""}return`${l}${u}`}function LO(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}function Xr([e,t],r){return r.truncate-=2,typeof e=="string"?e=LO(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}function DO(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=tt(e,t);t.truncate-=n.length;let a="";return r.length&&(a=tt(r.map(o=>[o,e[o]]),t,Xr)),`[ ${n}${a?`, ${a}`:""} ]`}var FO=e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name;function ft(e,t){let r=FO(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let a="";for(let l=0;l[l,e[l]]),t,Xr)),`${r}[ ${a}${o?`, ${o}`:""} ]`}function HO(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),a=n[0];return t.stylize(`${a}T${kt(n[1],t.truncate-a.length-1)}`,"date")}function Uu(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${kt(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}function UO([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}function VO(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}function zO(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${tt(VO(e),t,UO)} }`)}var GO=Number.isNaN||(e=>e!==e);function Vu(e,t){return GO(e)?t.stylize("NaN","number"):e===1/0?t.stylize("Infinity","number"):e===-1/0?t.stylize("-Infinity","number"):e===0?t.stylize(1/e===1/0?"+0":"-0","number"):t.stylize(kt(String(e),t.truncate),"number")}function zu(e,t){let r=kt(e.toString(),t.truncate-1);return r!==vr&&(r+="n"),t.stylize(r,"bigint")}function WO(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),a=e.source;return t.stylize(`/${kt(a,n)}/${r}`,"regexp")}function KO(e){let t=[];return e.forEach(r=>{t.push(r)}),t}function YO(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${tt(KO(e),t)} }`)}var Gu=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),JO={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},XO=16;function QO(e){return JO[e]||`\\u${`0000${e.charCodeAt(0).toString(XO)}`.slice(-4)}`}function Wu(e,t){return Gu.test(e)&&(e=e.replace(Gu,QO)),t.stylize(`'${kt(e,t.truncate-2)}'`,"string")}function Ku(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}var um=()=>"Promise{…}";try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(um=(n,a)=>{let[o,l]=e(n);return o===t?"Promise{}":`Promise${o===r?"!":""}{${a.inspect(l,a)}}`})}catch{}var ZO=um;function $n(e,t){let r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&n.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let a=tt(r.map(i=>[i,e[i]]),t,Xr),o=tt(n.map(i=>[i,e[i]]),t,Xr);t.seen.pop();let l="";return a&&o&&(l=", "),`{ ${a}${l}${o} }`}var To=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function eT(e,t){let r="";return To&&To in e&&(r=e[To]),r=r||e.constructor.name,(!r||r==="_class")&&(r=""),t.truncate-=r.length,`${r}${$n(e,t)}`}function tT(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${tt(e,t)} ]`)}var rT=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function nT(e,t){let r=Object.getOwnPropertyNames(e).filter(l=>rT.indexOf(l)===-1),n=e.name;t.truncate-=n.length;let a="";if(typeof e.message=="string"?a=kt(e.message,t.truncate):r.unshift("message"),a=a?`: ${a}`:"",t.truncate-=a.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let o=tt(r.map(l=>[l,e[l]]),t,Xr);return`${n}${a}${o?` { ${o} }`:""}`}function aT([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}function Cl(e,t){return tt(e,t,cm,` +`)}function cm(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),a=t.stylize(`<${n}`,"special"),o=t.stylize(">","special"),l=t.stylize(``,"special");t.truncate-=n.length*2+5;let i="";r.length>0&&(i+=" ",i+=tt(r.map(s=>[s,e.getAttribute(s)]),t,aT," ")),t.truncate-=i.length;let u=t.truncate,c=Cl(e.children,t);return c&&c.length>u&&(c=`${vr}(${e.children.length})`),`${a}${i}${o}${c}${l}`}var oT=typeof Symbol=="function"&&typeof Symbol.for=="function",So=oT?Symbol.for("chai/inspect"):"@@chai/inspect",ir=!1;try{let e=p_("util");ir=e.inspect?e.inspect.custom:!1}catch{ir=!1}var Yu=new WeakMap,Ju={},Xu={undefined:(e,t)=>t.stylize("undefined","undefined"),null:(e,t)=>t.stylize("null","null"),boolean:(e,t)=>t.stylize(String(e),"boolean"),Boolean:(e,t)=>t.stylize(String(e),"boolean"),number:Vu,Number:Vu,bigint:zu,BigInt:zu,string:Wu,String:Wu,function:Uu,Function:Uu,symbol:Ku,Symbol:Ku,Array:DO,Date:HO,Map:zO,Set:YO,RegExp:WO,Promise:ZO,WeakSet:(e,t)=>t.stylize("WeakSet{…}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{…}","special"),Arguments:tT,Int8Array:ft,Uint8Array:ft,Uint8ClampedArray:ft,Int16Array:ft,Uint16Array:ft,Int32Array:ft,Uint32Array:ft,Float32Array:ft,Float64Array:ft,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:nT,HTMLCollection:Cl,NodeList:Cl},lT=(e,t,r)=>So in e&&typeof e[So]=="function"?e[So](t):ir&&ir in e&&typeof e[ir]=="function"?e[ir](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&Yu.has(e.constructor)?Yu.get(e.constructor)(e,t):Ju[r]?Ju[r](e,t):"",iT=Object.prototype.toString;function ql(e,t={}){let r=BO(t,ql),{customInspect:n}=r,a=e===null?"null":typeof e;if(a==="object"&&(a=iT.call(e).slice(8,-1)),a in Xu)return Xu[a](e,r);if(n&&e){let l=lT(e,r,a);if(l)return typeof l=="string"?l:ql(l,r)}let o=e?Object.getPrototypeOf(e):!1;return o===Object.prototype||o===null?$n(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?cm(e,r):"constructor"in e?e.constructor!==Object?eT(e,r):$n(e,r):e===Object(e)?$n(e,r):r.stylize(String(e),a)}var sT={reset:[0,0],bold:[1,22,"\x1B[22m\x1B[1m"],dim:[2,22,"\x1B[22m\x1B[2m"],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]},uT=Object.entries(sT);function Zi(e){return String(e)}Zi.open="";Zi.close="";function cT(e=!1){let t=typeof process<"u"?process:void 0,r=(t==null?void 0:t.env)||{},n=(t==null?void 0:t.argv)||[];return!("NO_COLOR"in r||n.includes("--no-color"))&&("FORCE_COLOR"in r||n.includes("--color")||(t==null?void 0:t.platform)==="win32"||e&&r.TERM!=="dumb"||"CI"in r)||typeof window<"u"&&!!window.chrome}function dT(e=!1){let t=cT(e),r=(l,i,u,c)=>{let s="",d=0;do s+=l.substring(d,c)+u,d=c+i.length,c=l.indexOf(i,d);while(~c);return s+l.substring(d)},n=(l,i,u=l)=>{let c=s=>{let d=String(s),f=d.indexOf(i,l.length);return~f?l+r(d,i,u,f)+i:l+d+i};return c.open=l,c.close=i,c},a={isColorSupported:t},o=l=>`\x1B[${l}m`;for(let[l,i]of uT)a[l]=t?n(o(i[0]),o(i[1]),i[2]):Zi;return a}var be=dT(!1);function pT(e,t){let r=Object.keys(e),n=t===null?r:r.sort(t);if(Object.getOwnPropertySymbols)for(let a of Object.getOwnPropertySymbols(e))Object.getOwnPropertyDescriptor(e,a).enumerable&&n.push(a);return n}function Sa(e,t,r,n,a,o,l=": "){let i="",u=0,c=e.next();if(!c.done){i+=t.spacingOuter;let s=r+t.indent;for(;!c.done;){if(i+=s,u++===t.maxWidth){i+="…";break}let d=o(c.value[0],t,s,n,a),f=o(c.value[1],t,s,n,a);i+=d+l+f,c=e.next(),c.done?t.min||(i+=","):i+=`,${t.spacingInner}`}i+=t.spacingOuter+r}return i}function es(e,t,r,n,a,o){let l="",i=0,u=e.next();if(!u.done){l+=t.spacingOuter;let c=r+t.indent;for(;!u.done;){if(l+=c,i++===t.maxWidth){l+="…";break}l+=o(u.value,t,c,n,a),u=e.next(),u.done?t.min||(l+=","):l+=`,${t.spacingInner}`}l+=t.spacingOuter+r}return l}function Yn(e,t,r,n,a,o){let l="";e=e instanceof ArrayBuffer?new DataView(e):e;let i=c=>c instanceof DataView,u=i(e)?e.byteLength:e.length;if(u>0){l+=t.spacingOuter;let c=r+t.indent;for(let s=0;s0){l+=t.spacingOuter;let u=r+t.indent;for(let c=0;c{let l=e.toString();if(l==="ArrayContaining"||l==="ArrayNotContaining")return++n>t.maxDepth?`[${l}]`:`${l+Ao}[${Yn(e.sample,t,r,n,a,o)}]`;if(l==="ObjectContaining"||l==="ObjectNotContaining")return++n>t.maxDepth?`[${l}]`:`${l+Ao}{${ts(e.sample,t,r,n,a,o)}}`;if(l==="StringMatching"||l==="StringNotMatching"||l==="StringContaining"||l==="StringNotContaining")return l+Ao+o(e.sample,t,r,n,a);if(typeof e.toAsymmetricMatcher!="function")throw new TypeError(`Asymmetric matcher ${e.constructor.name} does not implement toAsymmetricMatcher()`);return e.toAsymmetricMatcher()},hT=e=>e&&e.$$typeof===fT,bT={serialize:mT,test:hT},yT=" ",dm=new Set(["DOMStringMap","NamedNodeMap"]),gT=/^(?:HTML\w*Collection|NodeList)$/;function vT(e){return dm.has(e)||gT.test(e)}var _T=e=>e&&e.constructor&&!!e.constructor.name&&vT(e.constructor.name);function RT(e){return e.constructor.name==="NamedNodeMap"}var wT=(e,t,r,n,a,o)=>{let l=e.constructor.name;return++n>t.maxDepth?`[${l}]`:(t.min?"":l+yT)+(dm.has(l)?`{${ts(RT(e)?[...e].reduce((i,u)=>(i[u.name]=u.value,i),{}):{...e},t,r,n,a,o)}}`:`[${Yn([...e],t,r,n,a,o)}]`)},CT={serialize:wT,test:_T};function pm(e){return e.replaceAll("<","<").replaceAll(">",">")}function rs(e,t,r,n,a,o,l){let i=n+r.indent,u=r.colors;return e.map(c=>{let s=t[c],d=l(s,r,i,a,o);return typeof s!="string"&&(d.includes(` +`)&&(d=r.spacingOuter+i+d+r.spacingOuter+n),d=`{${d}}`),`${r.spacingInner+n+u.prop.open+c+u.prop.close}=${u.value.open}${d}${u.value.close}`}).join("")}function ns(e,t,r,n,a,o){return e.map(l=>t.spacingOuter+r+(typeof l=="string"?fm(l,t):o(l,t,r,n,a))).join("")}function fm(e,t){let r=t.colors.content;return r.open+pm(e)+r.close}function qT(e,t){let r=t.colors.comment;return`${r.open}${r.close}`}function as(e,t,r,n,a){let o=n.colors.tag;return`${o.open}<${e}${t&&o.close+t+n.spacingOuter+a+o.open}${r?`>${o.close}${r}${n.spacingOuter}${a}${o.open}${o.close}`}function os(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} …${r.open} />${r.close}`}var ET=1,mm=3,hm=8,bm=11,PT=/^(?:(?:HTML|SVG)\w*)?Element$/;function OT(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}}function TT(e){let t=e.constructor.name,{nodeType:r,tagName:n}=e,a=typeof n=="string"&&n.includes("-")||OT(e);return r===ET&&(PT.test(t)||a)||r===mm&&t==="Text"||r===hm&&t==="Comment"||r===bm&&t==="DocumentFragment"}var ST=e=>{var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.name)&&TT(e)};function AT(e){return e.nodeType===mm}function MT(e){return e.nodeType===hm}function Mo(e){return e.nodeType===bm}var xT=(e,t,r,n,a,o)=>{if(AT(e))return fm(e.data,t);if(MT(e))return qT(e.data,t);let l=Mo(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?os(l,t):as(l,rs(Mo(e)?[]:Array.from(e.attributes,i=>i.name).sort(),Mo(e)?{}:[...e.attributes].reduce((i,u)=>(i[u.name]=u.value,i),{}),t,r+t.indent,n,a,o),ns(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,a,o),t,r)},jT={serialize:xT,test:ST},NT="@@__IMMUTABLE_ITERABLE__@@",$T="@@__IMMUTABLE_LIST__@@",IT="@@__IMMUTABLE_KEYED__@@",BT="@@__IMMUTABLE_MAP__@@",Qu="@@__IMMUTABLE_ORDERED__@@",kT="@@__IMMUTABLE_RECORD__@@",LT="@@__IMMUTABLE_SEQ__@@",DT="@@__IMMUTABLE_SET__@@",FT="@@__IMMUTABLE_STACK__@@",_r=e=>`Immutable.${e}`,Aa=e=>`[${e}]`,Qr=" ",Zu="…";function HT(e,t,r,n,a,o,l){return++n>t.maxDepth?Aa(_r(l)):`${_r(l)+Qr}{${Sa(e.entries(),t,r,n,a,o)}}`}function UT(e){let t=0;return{next(){if(tt.maxDepth?Aa(l):`${l+Qr}{${Sa(UT(e),t,r,n,a,o)}}`}function zT(e,t,r,n,a,o){let l=_r("Seq");return++n>t.maxDepth?Aa(l):e[IT]?`${l+Qr}{${e._iter||e._object?Sa(e.entries(),t,r,n,a,o):Zu}}`:`${l+Qr}[${e._iter||e._array||e._collection||e._iterable?es(e.values(),t,r,n,a,o):Zu}]`}function xo(e,t,r,n,a,o,l){return++n>t.maxDepth?Aa(_r(l)):`${_r(l)+Qr}[${es(e.values(),t,r,n,a,o)}]`}var GT=(e,t,r,n,a,o)=>e[BT]?HT(e,t,r,n,a,o,e[Qu]?"OrderedMap":"Map"):e[$T]?xo(e,t,r,n,a,o,"List"):e[DT]?xo(e,t,r,n,a,o,e[Qu]?"OrderedSet":"Set"):e[FT]?xo(e,t,r,n,a,o,"Stack"):e[LT]?zT(e,t,r,n,a,o):VT(e,t,r,n,a,o),WT=e=>e&&(e[NT]===!0||e[kT]===!0),KT={serialize:GT,test:WT},ym={exports:{}},ae={},ec;function YT(){if(ec)return ae;ec=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),l=Symbol.for("react.context"),i=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),s=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),m;m=Symbol.for("react.module.reference");function b(h){if(typeof h=="object"&&h!==null){var y=h.$$typeof;switch(y){case e:switch(h=h.type,h){case r:case a:case n:case c:case s:return h;default:switch(h=h&&h.$$typeof,h){case i:case l:case u:case f:case d:case o:return h;default:return y}}case t:return y}}}return ae.ContextConsumer=l,ae.ContextProvider=o,ae.Element=e,ae.ForwardRef=u,ae.Fragment=r,ae.Lazy=f,ae.Memo=d,ae.Portal=t,ae.Profiler=a,ae.StrictMode=n,ae.Suspense=c,ae.SuspenseList=s,ae.isAsyncMode=function(){return!1},ae.isConcurrentMode=function(){return!1},ae.isContextConsumer=function(h){return b(h)===l},ae.isContextProvider=function(h){return b(h)===o},ae.isElement=function(h){return typeof h=="object"&&h!==null&&h.$$typeof===e},ae.isForwardRef=function(h){return b(h)===u},ae.isFragment=function(h){return b(h)===r},ae.isLazy=function(h){return b(h)===f},ae.isMemo=function(h){return b(h)===d},ae.isPortal=function(h){return b(h)===t},ae.isProfiler=function(h){return b(h)===a},ae.isStrictMode=function(h){return b(h)===n},ae.isSuspense=function(h){return b(h)===c},ae.isSuspenseList=function(h){return b(h)===s},ae.isValidElementType=function(h){return typeof h=="string"||typeof h=="function"||h===r||h===a||h===n||h===c||h===s||h===p||typeof h=="object"&&h!==null&&(h.$$typeof===f||h.$$typeof===d||h.$$typeof===o||h.$$typeof===l||h.$$typeof===u||h.$$typeof===m||h.getModuleId!==void 0)},ae.typeOf=b,ae}ym.exports=YT();var Ht=ym.exports;function gm(e,t=[]){if(Array.isArray(e))for(let r of e)gm(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}function tc(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(Ht.isFragment(e))return"React.Fragment";if(Ht.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(Ht.isContextProvider(e))return"Context.Provider";if(Ht.isContextConsumer(e))return"Context.Consumer";if(Ht.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(Ht.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}function JT(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}var XT=(e,t,r,n,a,o)=>++n>t.maxDepth?os(tc(e),t):as(tc(e),rs(JT(e),e.props,t,r+t.indent,n,a,o),ns(gm(e.props.children),t,r+t.indent,n,a,o),t,r),QT=e=>e!=null&&Ht.isElement(e),ZT={serialize:XT,test:QT},eS=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function tS(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}var rS=(e,t,r,n,a,o)=>++n>t.maxDepth?os(e.type,t):as(e.type,e.props?rs(tS(e),e.props,t,r+t.indent,n,a,o):"",e.children?ns(e.children,t,r+t.indent,n,a,o):"",t,r),nS=e=>e&&e.$$typeof===eS,aS={serialize:rS,test:nS},vm=Object.prototype.toString,oS=Date.prototype.toISOString,lS=Error.prototype.toString,rc=RegExp.prototype.toString;function jo(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}function iS(e){return typeof window<"u"&&e===window}var sS=/^Symbol\((.*)\)(.*)$/,uS=/\n/g,_m=class extends Error{constructor(e,t){super(e),this.stack=t,this.name=this.constructor.name}};function cS(e){return e==="[object Array]"||e==="[object ArrayBuffer]"||e==="[object DataView]"||e==="[object Float32Array]"||e==="[object Float64Array]"||e==="[object Int8Array]"||e==="[object Int16Array]"||e==="[object Int32Array]"||e==="[object Uint8Array]"||e==="[object Uint8ClampedArray]"||e==="[object Uint16Array]"||e==="[object Uint32Array]"}function dS(e){return Object.is(e,-0)?"-0":String(e)}function pS(e){return`${e}n`}function nc(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}function ac(e){return String(e).replace(sS,"Symbol($1)")}function oc(e){return`[${lS.call(e)}]`}function Rm(e,t,r,n){if(e===!0||e===!1)return`${e}`;if(e===void 0)return"undefined";if(e===null)return"null";let a=typeof e;if(a==="number")return dS(e);if(a==="bigint")return pS(e);if(a==="string")return n?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(a==="function")return nc(e,t);if(a==="symbol")return ac(e);let o=vm.call(e);return o==="[object WeakMap]"?"WeakMap {}":o==="[object WeakSet]"?"WeakSet {}":o==="[object Function]"||o==="[object GeneratorFunction]"?nc(e,t):o==="[object Symbol]"?ac(e):o==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":oS.call(e):o==="[object Error]"?oc(e):o==="[object RegExp]"?r?rc.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):rc.call(e):e instanceof Error?oc(e):null}function wm(e,t,r,n,a,o){if(a.includes(e))return"[Circular]";a=[...a],a.push(e);let l=++n>t.maxDepth,i=t.min;if(t.callToJSON&&!l&&e.toJSON&&typeof e.toJSON=="function"&&!o)return At(e.toJSON(),t,r,n,a,!0);let u=vm.call(e);return u==="[object Arguments]"?l?"[Arguments]":`${i?"":"Arguments "}[${Yn(e,t,r,n,a,At)}]`:cS(u)?l?`[${e.constructor.name}]`:`${i||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${Yn(e,t,r,n,a,At)}]`:u==="[object Map]"?l?"[Map]":`Map {${Sa(e.entries(),t,r,n,a,At," => ")}}`:u==="[object Set]"?l?"[Set]":`Set {${es(e.values(),t,r,n,a,At)}}`:l||iS(e)?`[${jo(e)}]`:`${i||!t.printBasicPrototype&&jo(e)==="Object"?"":`${jo(e)} `}{${ts(e,t,r,n,a,At)}}`}function fS(e){return e.serialize!=null}function Cm(e,t,r,n,a,o){let l;try{l=fS(e)?e.serialize(t,r,n,a,o,At):e.print(t,i=>At(i,r,n,a,o),i=>{let u=n+r.indent;return u+i.replaceAll(uS,` +${u}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(i){throw new _m(i.message,i.stack)}if(typeof l!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof l}".`);return l}function qm(e,t){for(let r of e)try{if(r.test(t))return r}catch(n){throw new _m(n.message,n.stack)}return null}function At(e,t,r,n,a,o){let l=qm(t.plugins,e);if(l!==null)return Cm(l,e,t,r,n,a);let i=Rm(e,t.printFunctionName,t.escapeRegex,t.escapeString);return i!==null?i:wm(e,t,r,n,a,o)}var ls={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},Em=Object.keys(ls),Ye={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:Number.POSITIVE_INFINITY,maxWidth:Number.POSITIVE_INFINITY,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:ls};function mS(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(Ye,t))throw new Error(`pretty-format: Unknown option "${t}".`);if(e.min&&e.indent!==void 0&&e.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.')}function hS(){return Em.reduce((e,t)=>{let r=ls[t],n=r&&be[r];if(n&&typeof n.close=="string"&&typeof n.open=="string")e[t]=n;else throw new Error(`pretty-format: Option "theme" has a key "${t}" whose value "${r}" is undefined in ansi-styles.`);return e},Object.create(null))}function bS(){return Em.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}function Pm(e){return(e==null?void 0:e.printFunctionName)??Ye.printFunctionName}function Om(e){return(e==null?void 0:e.escapeRegex)??Ye.escapeRegex}function Tm(e){return(e==null?void 0:e.escapeString)??Ye.escapeString}function lc(e){return{callToJSON:(e==null?void 0:e.callToJSON)??Ye.callToJSON,colors:e!=null&&e.highlight?hS():bS(),compareKeys:typeof(e==null?void 0:e.compareKeys)=="function"||(e==null?void 0:e.compareKeys)===null?e.compareKeys:Ye.compareKeys,escapeRegex:Om(e),escapeString:Tm(e),indent:e!=null&&e.min?"":yS((e==null?void 0:e.indent)??Ye.indent),maxDepth:(e==null?void 0:e.maxDepth)??Ye.maxDepth,maxWidth:(e==null?void 0:e.maxWidth)??Ye.maxWidth,min:(e==null?void 0:e.min)??Ye.min,plugins:(e==null?void 0:e.plugins)??Ye.plugins,printBasicPrototype:(e==null?void 0:e.printBasicPrototype)??!0,printFunctionName:Pm(e),spacingInner:e!=null&&e.min?" ":` +`,spacingOuter:e!=null&&e.min?"":` +`}}function yS(e){return Array.from({length:e+1}).join(" ")}function ot(e,t){if(t&&(mS(t),t.plugins)){let n=qm(t.plugins,e);if(n!==null)return Cm(n,e,lc(t),"",0,[])}let r=Rm(e,Pm(t),Om(t),Tm(t));return r!==null?r:wm(e,lc(t),"",0,[])}var Sm={AsymmetricMatcher:bT,DOMCollection:CT,DOMElement:jT,Immutable:KT,ReactElement:ZT,ReactTestComponent:aS},{AsymmetricMatcher:gS,DOMCollection:vS,DOMElement:_S,Immutable:RS,ReactElement:wS,ReactTestComponent:CS}=Sm,ic=[CS,wS,_S,vS,RS,gS];function Ge(e,t=10,{maxLength:r,...n}={}){let a=r??1e4,o;try{o=ot(e,{maxDepth:t,escapeString:!1,plugins:ic,...n})}catch{o=ot(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:ic,...n})}return o.length>=a&&t>1?Ge(e,Math.floor(t/2)):o}var qS=/%[sdjifoOc%]/g;function ES(...e){if(typeof e[0]!="string"){let o=[];for(let l=0;l{if(o==="%%")return"%";if(r>=t)return o;switch(o){case"%s":{let l=e[r++];return typeof l=="bigint"?`${l.toString()}n`:typeof l=="number"&&l===0&&1/l<0?"-0":typeof l=="object"&&l!==null?Ir(l,{depth:0,colors:!1}):String(l)}case"%d":{let l=e[r++];return typeof l=="bigint"?`${l.toString()}n`:Number(l).toString()}case"%i":{let l=e[r++];return typeof l=="bigint"?`${l.toString()}n`:Number.parseInt(String(l)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return Ir(e[r++],{showHidden:!0,showProxy:!0});case"%O":return Ir(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(l){let i=l.message;if(i.includes("circular structure")||i.includes("cyclic structures")||i.includes("cyclic object"))return"[Circular]";throw l}default:return o}});for(let o=e[r];rn?e=e.substring(r-n):r0?r[n-1]:-1,l=0,i=0,u=0,c=0,a=null,t=!0)),o++;for(t&&jm(e),AS(e),o=1;o=p?(f>=s.length/2||f>=d.length/2)&&(e.splice(o,0,new me(ge,d.substring(0,f))),e[o-1][1]=s.substring(0,s.length-f),e[o+1][1]=d.substring(f),o++):(p>=s.length/2||p>=d.length/2)&&(e.splice(o,0,new me(ge,s.substring(0,p))),e[o-1][0]=Oe,e[o-1][1]=d.substring(0,d.length-p),e[o+1][0]=Me,e[o+1][1]=s.substring(p),o++),o++}o++}},cc=/[^a-z0-9]/i,dc=/\s/,pc=/[\r\n]/,TS=/\n\r?\n$/,SS=/^\r?\n\r?\n/;function AS(e){function t(n,a){if(!n||!a)return 6;let o=n.charAt(n.length-1),l=a.charAt(0),i=o.match(cc),u=l.match(cc),c=i&&o.match(dc),s=u&&l.match(dc),d=c&&o.match(pc),f=s&&l.match(pc),p=d&&n.match(TS),m=f&&a.match(SS);return p||m?5:d||f?4:i&&!c&&s?3:c||s?2:i||u?1:0}let r=1;for(;r=s&&(s=d,i=n,u=a,c=o)}e[r-1][1]!==i&&(i?e[r-1][1]=i:(e.splice(r-1,1),r--),e[r][1]=u,c?e[r+1][1]=c:(e.splice(r+1,1),r--))}r++}}function jm(e){e.push(new me(ge,""));let t=0,r=0,n=0,a="",o="",l;for(;t1?(r!==0&&n!==0&&(l=PS(o,a),l!==0&&(t-r-n>0&&e[t-r-n-1][0]===ge?e[t-r-n-1][1]+=o.substring(0,l):(e.splice(0,0,new me(ge,o.substring(0,l))),t++),o=o.substring(l),a=a.substring(l)),l=xm(o,a),l!==0&&(e[t][1]=o.substring(o.length-l)+e[t][1],o=o.substring(0,o.length-l),a=a.substring(0,a.length-l))),t-=r+n,e.splice(t,r+n),a.length&&(e.splice(t,0,new me(Me,a)),t++),o.length&&(e.splice(t,0,new me(Oe,o)),t++),t++):t!==0&&e[t-1][0]===ge?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,n=0,r=0,a="",o="";break}e[e.length-1][1]===""&&e.pop();let i=!1;for(t=1;t{let o=0;for(;e{let o=0;for(;e<=t&&r<=n&&a(t,n);)t-=1,n-=1,o+=1;return o},No=(e,t,r,n,a,o,l)=>{let i=0,u=-e,c=o[i],s=c;o[i]+=Zr(c+1,t,n+c-u+1,r,a);let d=e{let i=0,u=e,c=o[i],s=c;o[i]-=en(t,c-1,r,n+c-u-1,a);let d=e{let d=n-t,f=r-t,p=a-n-f,m=-p-(e-1),b=-p+(e-1),h=Te,y=e{let d=a-r,f=r-t,p=a-n-f,m=p-e,b=p+e,h=Te,y=e{let c=n-t,s=a-r,d=r-t,f=a-n,p=f-d,m=d,b=d;if(l[0]=t-1,i[0]=r,p%2===0){let h=(e||p)/2,y=(d+f)/2;for(let g=1;g<=y;g+=1)if(m=No(g,r,a,c,o,l,m),g{if(a-n{j(B,A,I)},isCommon:(B,I)=>$(I,B)}}let w=t,P=r;t=n,r=a,n=w,a=P}let{foundSubsequence:s,isCommon:d}=l[o?1:0];NS(e,t,r,n,a,d,i,u,c);let{nChangePreceding:f,aEndPreceding:p,bEndPreceding:m,nCommonPreceding:b,aCommonPreceding:h,bCommonPreceding:y,nCommonFollowing:g,aCommonFollowing:E,bCommonFollowing:C,nChangeFollowing:q,aStartFollowing:_,bStartFollowing:v}=c;t{if(typeof t!="number")throw new TypeError(`${Ur}: ${e} typeof ${typeof t} is not a number`);if(!Number.isSafeInteger(t))throw new RangeError(`${Ur}: ${e} value ${t} is not a safe integer`);if(t<0)throw new RangeError(`${Ur}: ${e} value ${t} is a negative integer`)},hc=(e,t)=>{let r=typeof t;if(r!=="function")throw new TypeError(`${Ur}: ${e} typeof ${r} is not a function`)};function $S(e,t,r,n){mc("aLength",e),mc("bLength",t),hc("isCommon",r),hc("foundSubsequence",n);let a=Zr(0,e,0,t,r);if(a!==0&&n(a,0,0),e!==a||t!==a){let o=a,l=a,i=en(o,e-1,l,t-1,r),u=e-i,c=t-i,s=a+i;e!==s&&t!==s&&El(0,o,u,l,c,!1,[{foundSubsequence:n,isCommon:r}],[Te],[Te],{aCommonFollowing:Te,aCommonPreceding:Te,aEndPreceding:Te,aStartFollowing:Te,bCommonFollowing:Te,bCommonPreceding:Te,bEndPreceding:Te,bStartFollowing:Te,nChangeFollowing:Te,nChangePreceding:Te,nCommonFollowing:Te,nCommonPreceding:Te}),i!==0&&n(i,u,c)}}function IS(e,t){return e.replace(/\s+$/,r=>t(r))}function is(e,t,r,n,a,o){return e.length!==0?r(`${n} ${IS(e,a)}`):n!==" "?r(n):t&&o.length!==0?r(`${n} ${o}`):""}function Bm(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:o}){return is(e,t,r,n,a,o)}function km(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:o}){return is(e,t,r,n,a,o)}function Lm(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:o}){return is(e,t,r,n,a,o)}function bc(e,t,r,n,{patchColor:a}){return a(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}function BS(e,t){let r=e.length,n=t.contextLines,a=n+n,o=r,l=!1,i=0,u=0;for(;u!==r;){let C=u;for(;u!==r&&e[u][0]===ge;)u+=1;if(C!==u)if(C===0)u>n&&(o-=u-n,l=!0);else if(u===r){let q=u-C;q>n&&(o-=q-n,l=!0)}else{let q=u-C;q>a&&(o-=q-a,i+=1)}for(;u!==r&&e[u][0]!==ge;)u+=1}let c=i!==0||l;i!==0?o+=i+1:l&&(o+=1);let s=o-1,d=[],f=0;c&&d.push("");let p=0,m=0,b=0,h=0,y=C=>{let q=d.length;d.push(Lm(C,q===0||q===s,t)),b+=1,h+=1},g=C=>{let q=d.length;d.push(Bm(C,q===0||q===s,t)),b+=1},E=C=>{let q=d.length;d.push(km(C,q===0||q===s,t)),h+=1};for(u=0;u!==r;){let C=u;for(;u!==r&&e[u][0]===ge;)u+=1;if(C!==u)if(C===0){u>n&&(C=u-n,p=C,m=C,b=p,h=m);for(let q=C;q!==u;q+=1)y(e[q][1])}else if(u===r){let q=u-C>n?C+n:u;for(let _=C;_!==q;_+=1)y(e[_][1])}else{let q=u-C;if(q>a){let _=C+n;for(let w=C;w!==_;w+=1)y(e[w][1]);d[f]=bc(p,b,m,h,t),f=d.length,d.push("");let v=q-a;p=b+v,m=h+v,b=p,h=m;for(let w=u-n;w!==u;w+=1)y(e[w][1])}else for(let _=C;_!==u;_+=1)y(e[_][1])}for(;u!==r&&e[u][0]===Me;)g(e[u][1]),u+=1;for(;u!==r&&e[u][0]===Oe;)E(e[u][1]),u+=1}return c&&(d[f]=bc(p,b,m,h,t)),d.join(` +`)}function kS(e,t){return e.map((r,n,a)=>{let o=r[1],l=n===0||n===a.length-1;switch(r[0]){case Me:return Bm(o,l,t);case Oe:return km(o,l,t);default:return Lm(o,l,t)}}).join(` +`)}var $o=e=>e,Dm=5,LS=0;function DS(){return{aAnnotation:"Expected",aColor:be.green,aIndicator:"-",bAnnotation:"Received",bColor:be.red,bIndicator:"+",changeColor:be.inverse,changeLineTrailingSpaceColor:$o,commonColor:be.dim,commonIndicator:" ",commonLineTrailingSpaceColor:$o,compareKeys:void 0,contextLines:Dm,emptyFirstOrLastLinePlaceholder:"",expand:!0,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:be.yellow,truncateThreshold:LS,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:$o}}function FS(e){return e&&typeof e=="function"?e:void 0}function HS(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:Dm}function Xt(e={}){return{...DS(),...e,compareKeys:FS(e.compareKeys),contextLines:HS(e.contextLines)}}function sr(e){return e.length===1&&e[0].length===0}function US(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case Me:t+=1;break;case Oe:r+=1;break}}),{a:t,b:r}}function VS({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:n,bColor:a,bIndicator:o,includeChangeCounts:l,omitAnnotationLines:i},u){if(i)return"";let c="",s="";if(l){let p=String(u.a),m=String(u.b),b=n.length-e.length,h=" ".repeat(Math.max(0,b)),y=" ".repeat(Math.max(0,-b)),g=m.length-p.length,E=" ".repeat(Math.max(0,g)),C=" ".repeat(Math.max(0,-g));c=`${h} ${r} ${E}${p}`,s=`${y} ${o} ${C}${m}`}let d=`${r} ${e}${c}`,f=`${o} ${n}${s}`;return`${t(d)} +${a(f)} + +`}function ss(e,t,r){return VS(r,US(e))+(r.expand?kS(e,r):BS(e,r))+(t?r.truncateAnnotationColor(` +${r.truncateAnnotation}`):"")}function Ma(e,t,r){let n=Xt(r),[a,o]=Fm(sr(e)?[]:e,sr(t)?[]:t,n);return ss(a,o,n)}function zS(e,t,r,n,a){if(sr(e)&&sr(r)&&(e=[],r=[]),sr(t)&&sr(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return Ma(e,t,a);let[o,l]=Fm(r,n,a),i=0,u=0;return o.forEach(c=>{switch(c[0]){case Me:c[1]=e[i],i+=1;break;case Oe:c[1]=t[u],u+=1;break;default:c[1]=t[u],i+=1,u+=1}}),ss(o,l,Xt(a))}function Fm(e,t,r){let n=(r==null?void 0:r.truncateThreshold)??!1,a=Math.max(Math.floor((r==null?void 0:r.truncateThreshold)??0),0),o=n?Math.min(e.length,a):e.length,l=n?Math.min(t.length,a):t.length,i=o!==e.length||l!==t.length,u=(f,p)=>e[f]===t[p],c=[],s=0,d=0;for(Im(o,l,u,(f,p,m)=>{for(;s!==p;s+=1)c.push(new me(Me,e[s]));for(;d!==m;d+=1)c.push(new me(Oe,t[d]));for(;f!==0;f-=1,s+=1,d+=1)c.push(new me(ge,t[d]))});s!==o;s+=1)c.push(new me(Me,e[s]));for(;d!==l;d+=1)c.push(new me(Oe,t[d]));return[c,i]}function yc(e){return e.includes(`\r +`)?`\r +`:` +`}function GS(e,t,r){let n=(r==null?void 0:r.truncateThreshold)??!1,a=Math.max(Math.floor((r==null?void 0:r.truncateThreshold)??0),0),o=e.length,l=t.length;if(n){let f=e.includes(` +`),p=t.includes(` +`),m=yc(e),b=yc(t),h=f?`${e.split(m,a).join(m)} +`:e,y=p?`${t.split(b,a).join(b)} +`:t;o=h.length,l=y.length}let i=o!==e.length||l!==t.length,u=(f,p)=>e[f]===t[p],c=0,s=0,d=[];return Im(o,l,u,(f,p,m)=>{c!==p&&d.push(new me(Me,e.slice(c,p))),s!==m&&d.push(new me(Oe,t.slice(s,m))),c=p+f,s=m+f,d.push(new me(ge,t.slice(m,s)))}),c!==o&&d.push(new me(Me,e.slice(c))),s!==l&&d.push(new me(Oe,t.slice(s))),[d,i]}function WS(e,t,r){return t.reduce((n,a)=>n+(a[0]===ge?a[1]:a[0]===e&&a[1].length!==0?r(a[1]):""),"")}var gc=class{constructor(e,t){he(this,"op");he(this,"line");he(this,"lines");he(this,"changeColor");this.op=e,this.line=[],this.lines=[],this.changeColor=t}pushSubstring(e){this.pushDiff(new me(this.op,e))}pushLine(){this.lines.push(this.line.length!==1?new me(this.op,WS(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new me(this.op,this.line[0][1])),this.line.length=0}isLineEmpty(){return this.line.length===0}pushDiff(e){this.line.push(e)}align(e){let t=e[1];if(t.includes(` +`)){let r=t.split(` +`),n=r.length-1;r.forEach((a,o)=>{o{if(l===0){let i=new me(t,o);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(i)):(this.pushDiffChangeLines(i),this.flushChangeLines())}else l{switch(o[0]){case Me:r.align(o);break;case Oe:n.align(o);break;default:a.align(o)}}),a.getLines()}function JS(e,t){if(t){let r=e.length-1;return e.some((n,a)=>n[0]===ge&&(a!==r||n[1]!==` +`))}return e.some(r=>r[0]===ge)}function XS(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){let n=e.includes(` +`)||t.includes(` +`),[a,o]=Hm(n?`${e} +`:e,n?`${t} +`:t,!0,r);if(JS(a,n)){let l=Xt(r),i=YS(a,l.changeColor);return ss(i,o,l)}}return Ma(e.split(` +`),t.split(` +`),r)}function Hm(e,t,r,n){let[a,o]=GS(e,t,n);return OS(a),[a,o]}function Pl(e,t){let{commonColor:r}=Xt(t);return r(e)}var{AsymmetricMatcher:QS,DOMCollection:ZS,DOMElement:eA,Immutable:tA,ReactElement:rA,ReactTestComponent:nA}=Sm,Um=[nA,rA,eA,ZS,tA,QS],Ol={plugins:Um},Vm={callToJSON:!1,maxDepth:10,plugins:Um};function Rr(e,t,r){if(Object.is(e,t))return"";let n=sc(e),a=n,o=!1;if(n==="object"&&typeof e.asymmetricMatch=="function"){if(e.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof e.getExpectedType!="function")return;a=e.getExpectedType(),o=a==="string"}if(a!==sc(t)){let{aAnnotation:l,aColor:i,aIndicator:u,bAnnotation:c,bColor:s,bIndicator:d}=Xt(r),f=Tl(Vm,r),p=ot(e,f),m=ot(t,f),b=`${i(`${u} ${l}:`)} +${p}`,h=`${s(`${d} ${c}:`)} +${m}`;return`${b} + +${h}`}if(!o)switch(n){case"string":return Ma(e.split(` +`),t.split(` +`),r);case"boolean":case"number":return aA(e,t,r);case"map":return Io(vc(e),vc(t),r);case"set":return Io(_c(e),_c(t),r);default:return Io(e,t,r)}}function aA(e,t,r){let n=ot(e,Ol),a=ot(t,Ol);return n===a?"":Ma(n.split(` +`),a.split(` +`),r)}function vc(e){return new Map(Array.from(e.entries()).sort())}function _c(e){return new Set(Array.from(e.values()).sort())}function Io(e,t,r){let n,a=!1;try{let l=Tl(Ol,r);n=Rc(e,t,l,r)}catch{a=!0}let o=Pl(Nm,r);if(n===void 0||n===o){let l=Tl(Vm,r);n=Rc(e,t,l,r),n!==o&&!a&&(n=`${Pl(MS,r)} + +${n}`)}return n}function Tl(e,t){let{compareKeys:r}=Xt(t);return{...e,compareKeys:r}}function Rc(e,t,r,n){let a={...r,indent:0},o=ot(e,a),l=ot(t,a);if(o===l)return Pl(Nm,n);{let i=ot(e,r),u=ot(t,r);return zS(i.split(` +`),u.split(` +`),o.split(` +`),l.split(` +`),n)}}var wc=2e4;function Cc(e){return Rl(e)==="Object"&&typeof e.asymmetricMatch=="function"}function qc(e,t){let r=Rl(e),n=Rl(t);return r===n&&(r==="Object"||r==="Array")}function zm(e,t,r){let{aAnnotation:n,bAnnotation:a}=Xt(r);if(typeof e=="string"&&typeof t=="string"&&e.length>0&&t.length>0&&e.length<=wc&&t.length<=wc&&e!==t){if(e.includes(` +`)||t.includes(` +`))return XS(t,e,r);let[c]=Hm(t,e),s=c.some(m=>m[0]===ge),d=oA(n,a),f=d(n)+sA(Ec(c,Me,s)),p=d(a)+iA(Ec(c,Oe,s));return`${f} +${p}`}let o=Fu(e,{forceWritable:!0}),l=Fu(t,{forceWritable:!0}),{replacedExpected:i,replacedActual:u}=Gm(o,l);return Rr(i,u,r)}function Gm(e,t,r=new WeakSet,n=new WeakSet){return qc(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),im(t).forEach(a=>{let o=t[a],l=e[a];if(Cc(o))o.asymmetricMatch(l)&&(e[a]=o);else if(Cc(l))l.asymmetricMatch(o)&&(t[a]=l);else if(qc(l,o)){let i=Gm(l,o,r,n);e[a]=i.replacedActual,t[a]=i.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}function oA(...e){let t=e.reduce((r,n)=>n.length>r?n.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}var lA="·";function Wm(e){return e.replace(/\s+$/gm,t=>lA.repeat(t.length))}function iA(e){return be.red(Wm(Ge(e)))}function sA(e){return be.green(Wm(Ge(e)))}function Ec(e,t,r){return e.reduce((n,a)=>n+(a[0]===ge?a[1]:a[0]===t?r?be.inverse(a[1]):a[1]:""),"")}function In(e,t){if(!e)throw new Error(t)}function ur(e,t){return typeof t===e}function uA(e){return e instanceof Promise}function Sl(e,t,r){Object.defineProperty(e,t,r)}function pr(e,t,r){Object.defineProperty(e,t,{value:r})}var Vr=Symbol.for("tinyspy:spy"),cA=new Set,dA=e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.resolves=[],e.next=[]},pA=e=>(Sl(e,Vr,{value:{reset:()=>dA(e[Vr])}}),e[Vr]),Jn=e=>e[Vr]||pA(e);function fA(e){In(ur("function",e)||ur("undefined",e),"cannot spy on a non-function value");let t=function(...n){let a=Jn(t);a.called=!0,a.callCount++,a.calls.push(n);let o=a.next.shift();if(o){a.results.push(o);let[s,d]=o;if(s==="ok")return d;throw d}let l,i="ok",u=a.results.length;if(a.impl)try{new.target?l=Reflect.construct(a.impl,n,new.target):l=a.impl.apply(this,n),i="ok"}catch(s){throw l=s,i="error",a.results.push([i,s]),s}let c=[i,l];return uA(l)&&l.then(s=>a.resolves[u]=["ok",s],s=>a.resolves[u]=["error",s]),a.results.push(c),l};pr(t,"_isMockFunction",!0),pr(t,"length",e?e.length:0),pr(t,"name",e&&e.name||"spy");let r=Jn(t);return r.reset(),r.impl=e,t}var Pc=(e,t)=>Object.getOwnPropertyDescriptor(e,t),Oc=(e,t)=>{t!=null&&typeof t=="function"&&t.prototype!=null&&Object.setPrototypeOf(e.prototype,t.prototype)};function mA(e,t,r){In(!ur("undefined",e),"spyOn could not find an object to spy upon"),In(ur("object",e)||ur("function",e),"cannot spyOn on a primitive value");let[n,a]=(()=>{if(!ur("object",t))return[t,"value"];if("getter"in t&&"setter"in t)throw new Error("cannot spy on both getter and setter");if("getter"in t)return[t.getter,"get"];if("setter"in t)return[t.setter,"set"];throw new Error("specify getter or setter to spy on")})(),o=Pc(e,n),l=Object.getPrototypeOf(e),i=l&&Pc(l,n),u=o||i;In(u||n in e,`${String(n)} does not exist`);let c=!1;a==="value"&&u&&!u.value&&u.get&&(a="get",c=!0,r=u.get());let s;u?s=u[a]:a!=="value"?s=()=>e[n]:s=e[n];let d=b=>{let{value:h,...y}=u||{configurable:!0,writable:!0};a!=="value"&&delete y.writable,y[a]=b,Sl(e,n,y)},f=()=>u?Sl(e,n,u):d(s);r||(r=s);let p=fA(r);a==="value"&&Oc(p,s);let m=p[Vr];return pr(m,"restore",f),pr(m,"getOriginal",()=>c?s():s),pr(m,"willCall",b=>(m.impl=b,p)),d(c?()=>(Oc(p,r),p):p),cA.add(p),p}var xa=new Set;function Km(e){return typeof e=="function"&&"_isMockFunction"in e&&e._isMockFunction}var hA=0;function bA(e){let t=e,r,n=[],a=[],o=[],l=Jn(e),i={get calls(){return l.calls},get contexts(){return a},get instances(){return n},get invocationCallOrder(){return o},get results(){return l.results.map(([p,m])=>({type:p==="error"?"throw":"return",value:m}))},get settledResults(){return l.resolves.map(([p,m])=>({type:p==="error"?"rejected":"fulfilled",value:m}))},get lastCall(){return l.calls[l.calls.length-1]}},u=[],c=!1;function s(...p){return n.push(this),a.push(this),o.push(++hA),(c?r:u.shift()||r||l.getOriginal()||(()=>{})).apply(this,p)}let d=t.name;t.getMockName=()=>d||"vi.fn()",t.mockName=p=>(d=p,t),t.mockClear=()=>(l.reset(),n=[],a=[],o=[],t),t.mockReset=()=>(t.mockClear(),r=()=>{},u=[],t),t.mockRestore=()=>(t.mockReset(),l.restore(),r=void 0,t),t.getMockImplementation=()=>r,t.mockImplementation=p=>(r=p,l.willCall(s),t),t.mockImplementationOnce=p=>(u.push(p),t);function f(p,m){let b=r;r=p,l.willCall(s),c=!0;let h=()=>{r=b,c=!1},y=m();return y instanceof Promise?y.then(()=>(h(),t)):(h(),t)}return t.withImplementation=f,t.mockReturnThis=()=>t.mockImplementation(function(){return this}),t.mockReturnValue=p=>t.mockImplementation(()=>p),t.mockReturnValueOnce=p=>t.mockImplementationOnce(()=>p),t.mockResolvedValue=p=>t.mockImplementation(()=>Promise.resolve(p)),t.mockResolvedValueOnce=p=>t.mockImplementationOnce(()=>Promise.resolve(p)),t.mockRejectedValue=p=>t.mockImplementation(()=>Promise.reject(p)),t.mockRejectedValueOnce=p=>t.mockImplementationOnce(()=>Promise.reject(p)),Object.defineProperty(t,"mock",{get:()=>i}),l.willCall(s),xa.add(t),t}function Tc(e){let t=bA(mA({spy:e||function(){}},"spy"));return e&&t.mockImplementation(e),t}var yA="@@__IMMUTABLE_RECORD__@@",gA="@@__IMMUTABLE_ITERABLE__@@";function vA(e){return e&&(e[gA]||e[yA])}var _A=Object.getPrototypeOf({});function Sc(e){return e instanceof Error?`: ${e.message}`:typeof e=="string"?`: ${e}`:""}function cr(e,t=new WeakMap){if(!e||typeof e=="string")return e;if(typeof e=="function")return`Function<${e.name||"anonymous"}>`;if(typeof e=="symbol")return e.toString();if(typeof e!="object")return e;if(vA(e))return cr(e.toJSON(),t);if(e instanceof Promise||e.constructor&&e.constructor.prototype==="AsyncFunction")return"Promise";if(typeof Element<"u"&&e instanceof Element)return e.tagName;if(typeof e.asymmetricMatch=="function")return`${e.toString()} ${ES(e.sample)}`;if(typeof e.toJSON=="function")return cr(e.toJSON(),t);if(t.has(e))return t.get(e);if(Array.isArray(e)){let r=new Array(e.length);return t.set(e,r),e.forEach((n,a)=>{try{r[a]=cr(n,t)}catch(o){r[a]=Sc(o)}}),r}else{let r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==_A;)Object.getOwnPropertyNames(n).forEach(a=>{if(!(a in r))try{r[a]=cr(e[a],t)}catch(o){delete r[a],r[a]=Sc(o)}}),n=Object.getPrototypeOf(n);return r}}function RA(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}function Ym(e,t,r=new WeakSet){if(!e||typeof e!="object")return{message:String(e)};let n=e;n.stack&&(n.stackStr=String(n.stack)),n.name&&(n.nameStr=String(n.name)),(n.showDiff||n.showDiff===void 0&&n.expected!==void 0&&n.actual!==void 0)&&(n.diff=zm(n.actual,n.expected,{...t,...n.diffOptions})),typeof n.expected!="string"&&(n.expected=Ge(n.expected,10)),typeof n.actual!="string"&&(n.actual=Ge(n.actual,10));try{typeof n.message=="string"&&(n.message=RA(n.message))}catch{}try{!r.has(n)&&typeof n.cause=="object"&&(r.add(n),n.cause=Ym(n.cause,t,r))}catch{}try{return cr(n)}catch(a){return cr(new Error(`Failed to fully serialize error: ${a==null?void 0:a.message} +Inner error message: ${n==null?void 0:n.message}`))}}var tn=Symbol.for("matchers-object"),rn=Symbol.for("$$jest-matchers-object-storybook"),us=Symbol.for("expect-global"),Al=Symbol.for("asymmetric-matchers-object");if(!Object.prototype.hasOwnProperty.call(globalThis,tn)){let e=new WeakMap;Object.defineProperty(globalThis,tn,{get:()=>e})}if(!Object.prototype.hasOwnProperty.call(globalThis,rn)){let e=Object.create(null),t=[];Object.defineProperty(globalThis,rn,{configurable:!0,get:()=>({state:globalThis[tn].get(globalThis[us]),matchers:e,customEqualityTesters:t})})}if(!Object.prototype.hasOwnProperty.call(globalThis,Al)){let e=Object.create(null);Object.defineProperty(globalThis,Al,{get:()=>e})}function Xn(e){return globalThis[tn].get(e)}function Bo(e,t){let r=globalThis[tn],n=r.get(t)||{};Object.assign(n,e),r.set(t,n)}var Qn=be.green,cs=be.red,wA=be.inverse,CA=be.bold,Tt=be.dim;function qA(e,t="received",r="expected",n={}){let{comment:a="",isDirectExpectCall:o=!1,isNot:l=!1,promise:i="",secondArgument:u="",expectedColor:c=Qn,receivedColor:s=cs,secondArgumentColor:d=Qn}=n,f="",p="expect";return!o&&t!==""&&(f+=Tt(`${p}(`)+s(t),p=")"),i!==""&&(f+=Tt(`${p}.`)+i,p=""),l&&(f+=`${Tt(`${p}.`)}not`,p=""),e.includes(".")?p+=e:(f+=Tt(`${p}.`)+e,p=""),r===""?p+="()":(f+=Tt(`${p}(`)+c(r),u&&(f+=Tt(", ")+d(u)),p=")"),a!==""&&(p+=` // ${a}`),p!==""&&(f+=Tt(p)),f}var EA="·";function Jm(e){return e.replace(/\s+$/gm,t=>EA.repeat(t.length))}function PA(e){return cs(Jm(Ge(e)))}function OA(e){return Qn(Jm(Ge(e)))}function Xm(){return{EXPECTED_COLOR:Qn,RECEIVED_COLOR:cs,INVERTED_COLOR:wA,BOLD_WEIGHT:CA,DIM_COLOR:Tt,diff:Rr,matcherHint:qA,printReceived:PA,printExpected:OA,printDiffOrStringify:zm}}function ds(){return globalThis[rn].customEqualityTesters}function Z(e,t,r,n){return r=r||[],Qm(e,t,[],[],r,n?Zm:SA)}function Ac(e){return!!e&&typeof e=="object"&&"asymmetricMatch"in e&&Qe("Function",e.asymmetricMatch)}function TA(e,t){let r=Ac(e),n=Ac(t);if(!(r&&n)){if(r)return e.asymmetricMatch(t);if(n)return t.asymmetricMatch(e)}}function Qm(e,t,r,n,a,o){let l=!0,i=TA(e,t);if(i!==void 0)return i;let u={equals:Z};for(let m=0;mObject.getOwnPropertyDescriptor(e,n).enumerable))}function SA(e,t){return Zm(e,t)&&e[t]!==void 0}function Zm(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Qe(e,t){return Object.prototype.toString.apply(t)===`[object ${e}]`}function xc(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"&&"nodeName"in e&&typeof e.nodeName=="string"&&"isEqualNode"in e&&typeof e.isEqualNode=="function"}var eh="@@__IMMUTABLE_KEYED__@@",th="@@__IMMUTABLE_SET__@@",AA="@@__IMMUTABLE_LIST__@@",ja="@@__IMMUTABLE_ORDERED__@@",MA="@@__IMMUTABLE_RECORD__@@";function xA(e){return!!(e&&e[eh]&&!e[ja])}function jA(e){return!!(e&&e[th]&&!e[ja])}function Na(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}function NA(e){return!!(e&&Na(e)&&e[AA])}function $A(e){return!!(e&&Na(e)&&e[eh]&&e[ja])}function IA(e){return!!(e&&Na(e)&&e[th]&&e[ja])}function BA(e){return!!(e&&Na(e)&&e[MA])}var rh=Symbol.iterator;function jc(e){return!!(e!=null&&e[rh])}function De(e,t,r=[],n=[],a=[]){if(typeof e!="object"||typeof t!="object"||Array.isArray(e)||Array.isArray(t)||!jc(e)||!jc(t))return;if(e.constructor!==t.constructor)return!1;let o=n.length;for(;o--;)if(n[o]===e)return a[o]===t;n.push(e),a.push(t);let l=[...r.filter(c=>c!==De),i];function i(c,s){return De(c,s,[...r],[...n],[...a])}if(e.size!==void 0){if(e.size!==t.size)return!1;if(Qe("Set",e)||jA(e)){let c=!0;for(let s of e)if(!t.has(s)){let d=!1;for(let f of t)Z(s,f,l)===!0&&(d=!0);if(d===!1){c=!1;break}}return n.pop(),a.pop(),c}else if(Qe("Map",e)||xA(e)){let c=!0;for(let s of e)if(!t.has(s[0])||!Z(s[1],t.get(s[0]),l)){let d=!1;for(let f of t){let p=Z(s[0],f[0],l),m=!1;p===!0&&(m=Z(s[1],f[1],l)),m===!0&&(d=!0)}if(d===!1){c=!1;break}}return n.pop(),a.pop(),c}}let u=t[rh]();for(let c of e){let s=u.next();if(s.done||!Z(c,s.value,l))return!1}if(!u.next().done)return!1;if(!NA(e)&&!$A(e)&&!IA(e)&&!BA(e)){let c=Object.entries(e),s=Object.entries(t);if(!Z(c,s))return!1}return n.pop(),a.pop(),!0}function ps(e,t){return!e||typeof e!="object"||e===Object.prototype?!1:Object.prototype.hasOwnProperty.call(e,t)||ps(Object.getPrototypeOf(e),t)}function kA(e){return Nn(e)&&!(e instanceof Error)&&!Array.isArray(e)&&!(e instanceof Date)}function vn(e,t,r=[]){let n=r.filter(o=>o!==vn),a=(o=new WeakMap)=>(l,i)=>{if(kA(i))return Object.keys(i).every(u=>{if(i[u]!=null&&typeof i[u]=="object"){if(o.has(i[u]))return Z(l[u],i[u],n);o.set(i[u],!0)}let c=l!=null&&ps(l,u)&&Z(l[u],i[u],[...n,a(o)]);return o.delete(i[u]),c})};return a()(e,t)}function Nc(e,t){if(!(e==null||t==null||e.constructor===t.constructor))return!1}function $c(e,t){let r=e,n=t;if(!(e instanceof DataView&&t instanceof DataView)){if(!(e instanceof ArrayBuffer)||!(t instanceof ArrayBuffer))return;try{r=new DataView(e),n=new DataView(t)}catch{return}}if(r.byteLength!==n.byteLength)return!1;for(let a=0;al!==Ml);return Z(e,t,o,!0)&&Z(n,a)}function LA(e,t="#{this}",r="#{exp}"){let n=`expected ${t} to be ${r} // Object.is equality`;return["toStrictEqual","toEqual"].includes(e)?`${n} + +If it should pass with deep equality, replace "toBe" with "${e}" + +Expected: ${t} +Received: serializes to the same string +`:n}function DA(e,t){return`${t} ${e}${t===1?"":"s"}`}function ko(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e).filter(t=>{var r;return(r=Object.getOwnPropertyDescriptor(e,t))==null?void 0:r.enumerable})]}function FA(e,t,r=[]){let n=0,a=(o=new WeakMap)=>(l,i)=>{if(Array.isArray(l)){if(Array.isArray(i)&&i.length===l.length)return i.map((u,c)=>a(o)(l[c],u))}else{if(l instanceof Date)return l;if(Nn(l)&&Nn(i)){if(Z(l,i,[...r,De,vn]))return i;let u={};o.set(l,u);for(let c of ko(l))ps(i,c)?u[c]=o.has(l[c])?o.get(l[c]):a(o)(l[c],i[c]):o.has(l[c])||(n+=1,Nn(l[c])&&(n+=ko(l[c]).length),a(o)(l[c],i[c]));if(ko(u).length>0)return u}}return l};return{subset:a()(e,t),stripped:n}}var Lt=class{constructor(e,t=!1){he(this,"$$typeof",Symbol.for("jest.asymmetricMatcher"));this.sample=e,this.inverse=t}getMatcherContext(e){return{...Xn(e||globalThis[us]),equals:Z,isNot:this.inverse,customTesters:ds(),utils:{...Xm(),diff:Rr,stringify:Ge,iterableEquality:De,subsetEquality:vn}}}[Symbol.for("chai/inspect")](e){let t=Ge(this,e.depth,{min:!0});return t.length<=e.truncate?t:`${this.toString()}{…}`}},Ic=class extends Lt{constructor(e,t=!1){if(!Qe("String",e))throw new Error("Expected is not a string");super(e,t)}asymmetricMatch(e){let t=Qe("String",e)&&e.includes(this.sample);return this.inverse?!t:t}toString(){return`String${this.inverse?"Not":""}Containing`}getExpectedType(){return"string"}},HA=class extends Lt{asymmetricMatch(e){return e!=null}toString(){return"Anything"}toAsymmetricMatcher(){return"Anything"}},Bc=class extends Lt{constructor(e,t=!1){super(e,t)}getPrototype(e){return Object.getPrototypeOf?Object.getPrototypeOf(e):e.constructor.prototype===e?null:e.constructor.prototype}hasProperty(e,t){return e?Object.prototype.hasOwnProperty.call(e,t)?!0:this.hasProperty(this.getPrototype(e),t):!1}asymmetricMatch(e){if(typeof this.sample!="object")throw new TypeError(`You must provide an object to ${this.toString()}, not '${typeof this.sample}'.`);let t=!0,r=this.getMatcherContext();for(let n in this.sample)if(!this.hasProperty(e,n)||!Z(this.sample[n],e[n],r.customTesters)){t=!1;break}return this.inverse?!t:t}toString(){return`Object${this.inverse?"Not":""}Containing`}getExpectedType(){return"object"}},kc=class extends Lt{constructor(e,t=!1){super(e,t)}asymmetricMatch(e){if(!Array.isArray(this.sample))throw new TypeError(`You must provide an array to ${this.toString()}, not '${typeof this.sample}'.`);let t=this.getMatcherContext(),r=this.sample.length===0||Array.isArray(e)&&this.sample.every(n=>e.some(a=>Z(n,a,t.customTesters)));return this.inverse?!r:r}toString(){return`Array${this.inverse?"Not":""}Containing`}getExpectedType(){return"array"}},UA=class extends Lt{constructor(e){if(typeof e>"u")throw new TypeError("any() expects to be passed a constructor function. Please pass one or use anything() to match any object.");super(e)}fnNameFor(e){if(e.name)return e.name;let t=Function.prototype.toString.call(e).match(/^(?:async)?\s*function\s*(?:\*\s*)?([\w$]+)\s*\(/);return t?t[1]:""}asymmetricMatch(e){return this.sample===String?typeof e=="string"||e instanceof String:this.sample===Number?typeof e=="number"||e instanceof Number:this.sample===Function?typeof e=="function"||e instanceof Function:this.sample===Boolean?typeof e=="boolean"||e instanceof Boolean:this.sample===BigInt?typeof e=="bigint"||e instanceof BigInt:this.sample===Symbol?typeof e=="symbol"||e instanceof Symbol:this.sample===Object?typeof e=="object":e instanceof this.sample}toString(){return"Any"}getExpectedType(){return this.sample===String?"string":this.sample===Number?"number":this.sample===Function?"function":this.sample===Object?"object":this.sample===Boolean?"boolean":this.fnNameFor(this.sample)}toAsymmetricMatcher(){return`Any<${this.fnNameFor(this.sample)}>`}},Lc=class extends Lt{constructor(e,t=!1){if(!Qe("String",e)&&!Qe("RegExp",e))throw new Error("Expected is not a String or a RegExp");super(new RegExp(e),t)}asymmetricMatch(e){let t=Qe("String",e)&&this.sample.test(e);return this.inverse?!t:t}toString(){return`String${this.inverse?"Not":""}Matching`}getExpectedType(){return"string"}},Dc=class extends Lt{constructor(t,r=2,n=!1){if(!Qe("Number",t))throw new Error("Expected is not a Number");if(!Qe("Number",r))throw new Error("Precision is not a Number");super(t);he(this,"precision");this.inverse=n,this.precision=r}asymmetricMatch(t){if(!Qe("Number",t))return!1;let r=!1;return t===Number.POSITIVE_INFINITY&&this.sample===Number.POSITIVE_INFINITY||t===Number.NEGATIVE_INFINITY&&this.sample===Number.NEGATIVE_INFINITY?r=!0:r=Math.abs(this.sample-t)<10**-this.precision/2,this.inverse?!r:r}toString(){return`Number${this.inverse?"Not":""}CloseTo`}getExpectedType(){return"number"}toAsymmetricMatcher(){return[this.toString(),this.sample,`(${DA("digit",this.precision)})`].join(" ")}},VA=(e,t)=>{t.addMethod(e.expect,"anything",()=>new HA),t.addMethod(e.expect,"any",r=>new UA(r)),t.addMethod(e.expect,"stringContaining",r=>new Ic(r)),t.addMethod(e.expect,"objectContaining",r=>new Bc(r)),t.addMethod(e.expect,"arrayContaining",r=>new kc(r)),t.addMethod(e.expect,"stringMatching",r=>new Lc(r)),t.addMethod(e.expect,"closeTo",(r,n)=>new Dc(r,n)),e.expect.not={stringContaining:r=>new Ic(r,!0),objectContaining:r=>new Bc(r,!0),arrayContaining:r=>new kc(r,!0),stringMatching:r=>new Lc(r,!0),closeTo:(r,n)=>new Dc(r,n,!0)}};function Fc(e,t){return e&&t instanceof Promise&&(t=t.finally(()=>{let r=e.promises.indexOf(t);r!==-1&&e.promises.splice(r,1)}),e.promises||(e.promises=[]),e.promises.push(t)),t}function nh(e,t){return function(...r){var n;if(!e.flag(this,"soft"))return t.apply(this,r);let a=e.flag(this,"vitest-test");if(!a)throw new Error("expect.soft() can only be used inside a test");try{return t.apply(this,r)}catch(o){a.result||(a.result={state:"fail"}),a.result.state="fail",(n=a.result).errors||(n.errors=[]),a.result.errors.push(Ym(o))}}}var zA=(e,t)=>{let{AssertionError:r}=e,n=ds();function a(s,d){let f=p=>{let m=nh(t,d);t.addMethod(e.Assertion.prototype,p,m),t.addMethod(globalThis[rn].matchers,p,m)};Array.isArray(s)?s.forEach(p=>f(p)):f(s)}["throw","throws","Throw"].forEach(s=>{t.overwriteMethod(e.Assertion.prototype,s,d=>function(...f){let p=t.flag(this,"promise"),m=t.flag(this,"object"),b=t.flag(this,"negate");if(p==="rejects")t.flag(this,"object",()=>{throw m});else if(p==="resolves"&&typeof m!="function"){if(b)return;{let h=t.flag(this,"message")||"expected promise to throw an error, but it didn't",y={showDiff:!1};throw new r(h,y,t.flag(this,"ssfi"))}}d.apply(this,f)})}),a("withTest",function(s){return t.flag(this,"vitest-test",s),this}),a("toEqual",function(s){let d=t.flag(this,"object"),f=Z(d,s,[...n,De]);return this.assert(f,"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",s,d)}),a("toStrictEqual",function(s){let d=t.flag(this,"object"),f=Z(d,s,[...n,De,Nc,Ml,$c],!0);return this.assert(f,"expected #{this} to strictly equal #{exp}","expected #{this} to not strictly equal #{exp}",s,d)}),a("toBe",function(s){let d=this._obj,f=Object.is(d,s),p="";return f||(Z(d,s,[...n,De,Nc,Ml,$c],!0)?p="toStrictEqual":Z(d,s,[...n,De])&&(p="toEqual")),this.assert(f,LA(p),"expected #{this} not to be #{exp} // Object.is equality",s,d)}),a("toMatchObject",function(s){let d=this._obj,f=Z(d,s,[...n,De,vn]),p=t.flag(this,"negate"),{subset:m,stripped:b}=FA(d,s);if(f&&p||!f&&!p){let h=t.getMessage(this,[f,"expected #{this} to match object #{exp}","expected #{this} to not match object #{exp}",s,m,!1]),y=b===0?h:`${h} +(${b} matching ${b===1?"property":"properties"} omitted from actual)`;throw new r(y,{showDiff:!0,expected:s,actual:m})}}),a("toMatch",function(s){let d=this._obj;if(typeof d!="string")throw new TypeError(`.toMatch() expects to receive a string, but got ${typeof d}`);return this.assert(typeof s=="string"?d.includes(s):d.match(s),"expected #{this} to match #{exp}","expected #{this} not to match #{exp}",s,d)}),a("toContain",function(s){let d=this._obj;if(typeof Node<"u"&&d instanceof Node){if(!(s instanceof Node))throw new TypeError(`toContain() expected a DOM node as the argument, but got ${typeof s}`);return this.assert(d.contains(s),"expected #{this} to contain element #{exp}","expected #{this} not to contain element #{exp}",s,d)}if(typeof DOMTokenList<"u"&&d instanceof DOMTokenList){pt(s,"class name",["string"]);let f=t.flag(this,"negate")?d.value.replace(s,"").trim():`${d.value} ${s}`;return this.assert(d.contains(s),`expected "${d.value}" to contain "${s}"`,`expected "${d.value}" not to contain "${s}"`,f,d.value)}return typeof d=="string"&&typeof s=="string"?this.assert(d.includes(s),"expected #{this} to contain #{exp}","expected #{this} not to contain #{exp}",s,d):(d!=null&&typeof d!="string"&&t.flag(this,"object",Array.from(d)),this.contain(s))}),a("toContainEqual",function(s){let d=t.flag(this,"object"),f=Array.from(d).findIndex(p=>Z(p,s,n));this.assert(f!==-1,"expected #{this} to deep equally contain #{exp}","expected #{this} to not deep equally contain #{exp}",s)}),a("toBeTruthy",function(){let s=t.flag(this,"object");this.assert(!!s,"expected #{this} to be truthy","expected #{this} to not be truthy",s,!1)}),a("toBeFalsy",function(){let s=t.flag(this,"object");this.assert(!s,"expected #{this} to be falsy","expected #{this} to not be falsy",s,!1)}),a("toBeGreaterThan",function(s){let d=this._obj;return pt(d,"actual",["number","bigint"]),pt(s,"expected",["number","bigint"]),this.assert(d>s,`expected ${d} to be greater than ${s}`,`expected ${d} to be not greater than ${s}`,d,s,!1)}),a("toBeGreaterThanOrEqual",function(s){let d=this._obj;return pt(d,"actual",["number","bigint"]),pt(s,"expected",["number","bigint"]),this.assert(d>=s,`expected ${d} to be greater than or equal to ${s}`,`expected ${d} to be not greater than or equal to ${s}`,d,s,!1)}),a("toBeLessThan",function(s){let d=this._obj;return pt(d,"actual",["number","bigint"]),pt(s,"expected",["number","bigint"]),this.assert(dString(E).replace(/([.[\]])/g,"\\$1")).join("."));let d=this._obj,[f,p]=s,m=()=>Object.prototype.hasOwnProperty.call(d,f)?{value:d[f],exists:!0}:t.getPathInfo(d,f),{value:b,exists:h}=m(),y=h&&(s.length===1||Z(p,b,n)),g=s.length===1?"":` with value ${t.objDisplay(p)}`;return this.assert(y,`expected #{this} to have property "${f}"${g}`,`expected #{this} to not have property "${f}"${g}`,p,h?b:void 0)}),a("toBeCloseTo",function(s,d=2){let f=this._obj,p=!1,m=0,b=0;return s===Number.POSITIVE_INFINITY&&f===Number.POSITIVE_INFINITY||s===Number.NEGATIVE_INFINITY&&f===Number.NEGATIVE_INFINITY?p=!0:(m=10**-d/2,b=Math.abs(f-s),p=b{if(!Km(s._obj))throw new TypeError(`${t.inspect(s._obj)} is not a spy or a call to a spy!`)},l=s=>(o(s),s._obj),i=s=>{let d=s%10,f=s%100;return d===1&&f!==11?`${s}st`:d===2&&f!==12?`${s}nd`:d===3&&f!==13?`${s}rd`:`${s}th`},u=(s,d,f)=>(s.mock.calls&&(d+=be.gray(` + +Received: + +${s.mock.calls.map((p,m)=>{let b=be.bold(` ${i(m+1)} ${s.getMockName()} call: + +`);return f?b+=Rr(f,p,{omitAnnotationLines:!0}):b+=Ge(p).split(` +`).map(h=>` ${h}`).join(` +`),b+=` +`,b}).join(` +`)}`)),d+=be.gray(` + +Number of calls: ${be.bold(s.mock.calls.length)} +`),d),c=(s,d,f,p)=>(f+=be.gray(` + +Received: + +${d.map((m,b)=>{let h=be.bold(` ${i(b+1)} ${s.getMockName()} call return: + +`);return p?h+=Rr(p,m.value,{omitAnnotationLines:!0}):h+=Ge(m).split(` +`).map(y=>` ${y}`).join(` +`),h+=` +`,h}).join(` +`)}`),f+=be.gray(` + +Number of calls: ${be.bold(s.mock.calls.length)} +`),f);a(["toHaveBeenCalledTimes","toBeCalledTimes"],function(s){let d=l(this),f=d.getMockName(),p=d.mock.calls.length;return this.assert(p===s,`expected "${f}" to be called #{exp} times, but got ${p} times`,`expected "${f}" to not be called #{exp} times`,s,p,!1)}),a("toHaveBeenCalledOnce",function(){let s=l(this),d=s.getMockName(),f=s.mock.calls.length;return this.assert(f===1,`expected "${d}" to be called once, but got ${f} times`,`expected "${d}" to not be called once`,1,f,!1)}),a(["toHaveBeenCalled","toBeCalled"],function(){let s=l(this),d=s.getMockName(),f=s.mock.calls.length,p=f>0,m=t.flag(this,"negate"),b=t.getMessage(this,[p,`expected "${d}" to be called at least once`,`expected "${d}" to not be called at all, but actually been called ${f} times`,!0,p]);if(p&&m&&(b=u(s,b)),p&&m||!p&&!m)throw new r(b)}),a(["toHaveBeenCalledWith","toBeCalledWith"],function(...s){let d=l(this),f=d.getMockName(),p=d.mock.calls.some(h=>Z(h,s,[...n,De])),m=t.flag(this,"negate"),b=t.getMessage(this,[p,`expected "${f}" to be called with arguments: #{exp}`,`expected "${f}" to not be called with arguments: #{exp}`,s]);if(p&&m||!p&&!m)throw new r(u(d,b,s))}),a(["toHaveBeenNthCalledWith","nthCalledWith"],function(s,...d){let f=l(this),p=f.getMockName(),m=f.mock.calls[s-1],b=f.mock.calls.length,h=s<=b;this.assert(Z(m,d,[...n,De]),`expected ${i(s)} "${p}" call to have been called with #{exp}${h?"":`, but called only ${b} times`}`,`expected ${i(s)} "${p}" call to not have been called with #{exp}`,d,m,h)}),a(["toHaveBeenLastCalledWith","lastCalledWith"],function(...s){let d=l(this),f=d.getMockName(),p=d.mock.calls[d.mock.calls.length-1];this.assert(Z(p,s,[...n,De]),`expected last "${f}" call to have been called with #{exp}`,`expected last "${f}" call to not have been called with #{exp}`,s,p)}),a(["toThrow","toThrowError"],function(s){if(typeof s=="string"||typeof s>"u"||s instanceof RegExp)return this.throws(s);let d=this._obj,f=t.flag(this,"promise"),p=t.flag(this,"negate"),m=null;if(f==="rejects")m=d;else if(f==="resolves"&&typeof d!="function"){if(p)return;{let b=t.flag(this,"message")||"expected promise to throw an error, but it didn't",h={showDiff:!1};throw new r(b,h,t.flag(this,"ssfi"))}}else{let b=!1;try{d()}catch(h){b=!0,m=h}if(!b&&!p){let h=t.flag(this,"message")||"expected function to throw an error, but it didn't",y={showDiff:!1};throw new r(h,y,t.flag(this,"ssfi"))}}if(typeof s=="function"){let b=s.name||s.prototype.constructor.name;return this.assert(m&&m instanceof s,`expected error to be instance of ${b}`,`expected error not to be instance of ${b}`,s,m)}if(s instanceof Error)return this.assert(m&&s.message===m.message,`expected error to have message: ${s.message}`,`expected error not to have message: ${s.message}`,s.message,m&&m.message);if(typeof s=="object"&&"asymmetricMatch"in s&&typeof s.asymmetricMatch=="function"){let b=s;return this.assert(m&&b.asymmetricMatch(m),"expected error to match asymmetric matcher","expected error not to match asymmetric matcher",b,m)}throw new Error(`"toThrow" expects string, RegExp, function, Error instance or asymmetric matcher, got "${typeof s}"`)}),[{name:"toHaveResolved",condition:s=>s.mock.settledResults.length>0&&s.mock.settledResults.some(({type:d})=>d==="fulfilled"),action:"resolved"},{name:["toHaveReturned","toReturn"],condition:s=>s.mock.calls.length>0&&s.mock.results.some(({type:d})=>d!=="throw"),action:"called"}].forEach(({name:s,condition:d,action:f})=>{a(s,function(){let p=l(this),m=p.getMockName(),b=d(p);this.assert(b,`expected "${m}" to be successfully ${f} at least once`,`expected "${m}" to not be successfully ${f}`,b,!b,!1)})}),[{name:"toHaveResolvedTimes",condition:(s,d)=>s.mock.settledResults.reduce((f,{type:p})=>p==="fulfilled"?++f:f,0)===d,action:"resolved"},{name:["toHaveReturnedTimes","toReturnTimes"],condition:(s,d)=>s.mock.results.reduce((f,{type:p})=>p==="throw"?f:++f,0)===d,action:"called"}].forEach(({name:s,condition:d,action:f})=>{a(s,function(p){let m=l(this),b=m.getMockName(),h=d(m,p);this.assert(h,`expected "${b}" to be successfully ${f} ${p} times`,`expected "${b}" to not be successfully ${f} ${p} times`,`expected resolved times: ${p}`,`received resolved times: ${h}`,!1)})}),[{name:"toHaveResolvedWith",condition:(s,d)=>s.mock.settledResults.some(({type:f,value:p})=>f==="fulfilled"&&Z(d,p)),action:"resolve"},{name:["toHaveReturnedWith","toReturnWith"],condition:(s,d)=>s.mock.results.some(({type:f,value:p})=>f==="return"&&Z(d,p)),action:"return"}].forEach(({name:s,condition:d,action:f})=>{a(s,function(p){let m=l(this),b=d(m,p),h=t.flag(this,"negate");if(b&&h||!b&&!h){let y=m.getMockName(),g=t.getMessage(this,[b,`expected "${y}" to ${f} with: #{exp} at least once`,`expected "${y}" to not ${f} with: #{exp}`,p]),E=f==="return"?m.mock.results:m.mock.settledResults;throw new r(c(m,E,g,p))}})}),[{name:"toHaveLastResolvedWith",condition:(s,d)=>{let f=s.mock.settledResults[s.mock.settledResults.length-1];return f&&f.type==="fulfilled"&&Z(f.value,d)},action:"resolve"},{name:["toHaveLastReturnedWith","lastReturnedWith"],condition:(s,d)=>{let f=s.mock.results[s.mock.results.length-1];return f&&f.type==="return"&&Z(f.value,d)},action:"return"}].forEach(({name:s,condition:d,action:f})=>{a(s,function(p){let m=l(this),b=f==="return"?m.mock.results:m.mock.settledResults,h=b[b.length-1],y=m.getMockName();this.assert(d(m,p),`expected last "${y}" call to ${f} #{exp}`,`expected last "${y}" call to not ${f} #{exp}`,p,h==null?void 0:h.value)})}),[{name:"toHaveNthResolvedWith",condition:(s,d,f)=>{let p=s.mock.settledResults[d-1];return p&&p.type==="fulfilled"&&Z(p.value,f)},action:"resolve"},{name:["toHaveNthReturnedWith","nthReturnedWith"],condition:(s,d,f)=>{let p=s.mock.results[d-1];return p&&p.type==="return"&&Z(p.value,f)},action:"return"}].forEach(({name:s,condition:d,action:f})=>{a(s,function(p,m){let b=l(this),h=b.getMockName(),y=(f==="return"?b.mock.results:b.mock.settledResults)[p-1],g=`${i(p)} call`;this.assert(d(b,p,m),`expected ${g} "${h}" call to ${f} #{exp}`,`expected ${g} "${h}" call to not ${f} #{exp}`,m,y==null?void 0:y.value)})}),a("toSatisfy",function(s,d){return this.be.satisfy(s,d)}),a("withContext",function(s){for(let d in s)t.flag(this,d,s[d]);return this}),t.addProperty(e.Assertion.prototype,"resolves",function(){let s=new Error("resolves");t.flag(this,"promise","resolves"),t.flag(this,"error",s);let d=t.flag(this,"vitest-test"),f=t.flag(this,"object");if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .resolves");if(typeof(f==null?void 0:f.then)!="function")throw new TypeError(`You must provide a Promise to expect() when using .resolves, not '${typeof f}'.`);let p=new Proxy(this,{get:(m,b,h)=>{let y=Reflect.get(m,b,h);return typeof y!="function"?y instanceof e.Assertion?p:y:async(...g)=>{let E=f.then(C=>(t.flag(this,"object",C),y.call(this,...g)),C=>{let q=new r(`promise rejected "${t.inspect(C)}" instead of resolving`,{showDiff:!1});throw q.cause=C,q.stack=s.stack.replace(s.message,q.message),q});return Fc(d,E)}}});return p}),t.addProperty(e.Assertion.prototype,"rejects",function(){let s=new Error("rejects");t.flag(this,"promise","rejects"),t.flag(this,"error",s);let d=t.flag(this,"vitest-test"),f=t.flag(this,"object"),p=typeof f=="function"?f():f;if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .rejects");if(typeof(p==null?void 0:p.then)!="function")throw new TypeError(`You must provide a Promise to expect() when using .rejects, not '${typeof p}'.`);let m=new Proxy(this,{get:(b,h,y)=>{let g=Reflect.get(b,h,y);return typeof g!="function"?g instanceof e.Assertion?m:g:async(...E)=>{let C=p.then(q=>{let _=new r(`promise resolved "${t.inspect(q)}" instead of rejecting`,{showDiff:!0,expected:new Error("rejected promise"),actual:q});throw _.stack=s.stack.replace(s.message,_.message),_},q=>(t.flag(this,"object",q),g.call(this,...E)));return Fc(d,C)}}});return m})};function GA(e,t){let r=e._obj,n=at.flag(e,"negate"),a=at.flag(e,"promise")||"",o={...Xm(),diff:Rr,stringify:Ge,iterableEquality:De,subsetEquality:vn};return{state:{...Xn(t),customTesters:ds(),isNot:n,utils:o,promise:a,equals:Z,suppressedErrors:[],soft:at.flag(e,"soft"),poll:at.flag(e,"poll")},isNot:n,obj:r}}var Hc=class extends Error{constructor(e,t,r){super(e),this.actual=t,this.expected=r}};function WA(e,t,r){return(n,a)=>{Object.entries(r).forEach(([o,l])=>{function i(...d){let{state:f,isNot:p,obj:m}=GA(this,t),b=l.call(f,m,...d);if(b&&typeof b=="object"&&b instanceof Promise)return b.then(({pass:C,message:q,actual:_,expected:v})=>{if(C&&p||!C&&!p)throw new Hc(q(),_,v)});let{pass:h,message:y,actual:g,expected:E}=b;if(h&&p||!h&&!p)throw new Hc(y(),g,E)}let u=nh(a,i);a.addMethod(globalThis[rn].matchers,o,u),a.addMethod(e.Assertion.prototype,o,u);class c extends Lt{constructor(f=!1,...p){super(p,f)}asymmetricMatch(f){let{pass:p}=l.call(this.getMatcherContext(t),f,...this.sample);return this.inverse?!p:p}toString(){return`${this.inverse?"not.":""}${o}`}getExpectedType(){return"any"}toAsymmetricMatcher(){return`${this.toString()}<${this.sample.map(String).join(", ")}>`}}let s=(...d)=>new c(!1,...d);Object.defineProperty(t,o,{configurable:!0,enumerable:!0,value:s,writable:!0}),Object.defineProperty(t.not,o,{configurable:!0,enumerable:!0,value:(...d)=>new c(!0,...d),writable:!0}),Object.defineProperty(globalThis[Al],o,{configurable:!0,enumerable:!0,value:s,writable:!0})})}}var KA=(e,t)=>{t.addMethod(e.expect,"extend",(r,n)=>{Hr(WA(e,r,n))})};function YA(){Hr(KA),Hr(zA),Hr(VA);let e=(n,a)=>{let{assertionCalls:o}=Xn(e);return Bo({assertionCalls:o+1,soft:!1},e),Vt(n,a)};Object.assign(e,Vt),e.getState=()=>Xn(e),e.setState=n=>Bo(n,e),e.extend=n=>Vt.extend(e,n),e.soft=(...n)=>{let a=e(...n);return e.setState({soft:!0}),a},e.unreachable=n=>{O.fail(`expected${n?` "${n}" `:" "}not to be reached`)};function t(n){let a=()=>new Error(`expected number of assertions to be ${n}, but got ${e.getState().assertionCalls}`);"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(a(),t),e.setState({expectedAssertionsNumber:n,expectedAssertionsNumberErrorGen:a})}function r(){let n=new Error("expected any number of assertion, but got none");"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(n,r),e.setState({isExpectingAssertions:!0,isExpectingAssertionsError:n})}return Bo({assertionCalls:0,isExpectingAssertions:!1,isExpectingAssertionsError:null,expectedAssertionsNumber:null,expectedAssertionsNumberErrorGen:null},e),at.addMethod(e,"assertions",t),at.addMethod(e,"hasAssertions",r),e.extend(mf),e}var ah=YA();Object.defineProperty(globalThis,us,{value:ah,writable:!0,configurable:!0});var xl=new Set;function JA(e){return xl.add(e),()=>void xl.delete(e)}function XA(e){let t=e?Tc(e):Tc();return QA(t)}function QA(e){let t=Uc(e),r=t.mockImplementation.bind(null);return t.mockImplementation=n=>Uc(r(n)),t}function Uc(e){let t=Jn(e),r=t.impl;return t.willCall(function(...n){return xl.forEach(a=>a(e,n)),r==null?void 0:r.apply(this,n)}),e}function ZA(){xa.forEach(e=>e.mockClear())}function eM(){xa.forEach(e=>e.mockReset())}function tM(){xa.forEach(e=>e.mockRestore())}var oh={};si(oh,{buildQueries:()=>Ct,configure:()=>mx,createEvent:()=>kn,findAllByAltText:()=>ub,findAllByDisplayValue:()=>nb,findAllByLabelText:()=>Ih,findAllByPlaceholderText:()=>zh,findAllByRole:()=>wb,findAllByTestId:()=>Tb,findAllByText:()=>Xh,findAllByTitle:()=>hb,findByAltText:()=>cb,findByDisplayValue:()=>ab,findByLabelText:()=>Bh,findByPlaceholderText:()=>Gh,findByRole:()=>Cb,findByTestId:()=>Sb,findByText:()=>Qh,findByTitle:()=>bb,fireEvent:()=>sn,getAllByAltText:()=>ib,getAllByDisplayValue:()=>tb,getAllByLabelText:()=>kh,getAllByPlaceholderText:()=>Uh,getAllByRole:()=>_b,getAllByTestId:()=>Pb,getAllByText:()=>Yh,getAllByTitle:()=>fb,getByAltText:()=>sb,getByDisplayValue:()=>rb,getByLabelText:()=>Lh,getByPlaceholderText:()=>Vh,getByRole:()=>Rb,getByTestId:()=>Ob,getByText:()=>Jh,getByTitle:()=>mb,getConfig:()=>X,getDefaultNormalizer:()=>gs,getElementError:()=>Ia,getMultipleElementsFoundError:()=>Ba,getNodeText:()=>_n,getQueriesForElement:()=>Hl,getRoles:()=>Sh,getSuggestedQuery:()=>ea,isInaccessible:()=>$a,logDOM:()=>jl,logRoles:()=>vx,makeFindQuery:()=>Cr,makeGetAllQuery:()=>Rs,makeSingleQuery:()=>wr,prettyDOM:()=>on,prettyFormat:()=>fs,queries:()=>ta,queryAllByAltText:()=>ob,queryAllByAttribute:()=>Zt,queryAllByDisplayValue:()=>Zh,queryAllByLabelText:()=>Dh,queryAllByPlaceholderText:()=>Fh,queryAllByRole:()=>gb,queryAllByTestId:()=>qb,queryAllByText:()=>Wh,queryAllByTitle:()=>db,queryByAltText:()=>lb,queryByAttribute:()=>Mh,queryByDisplayValue:()=>eb,queryByLabelText:()=>Nh,queryByPlaceholderText:()=>Hh,queryByRole:()=>vb,queryByTestId:()=>Eb,queryByText:()=>Kh,queryByTitle:()=>pb,queryHelpers:()=>jx,screen:()=>ij,waitFor:()=>_s,waitForElementToBeRemoved:()=>ej,within:()=>Hl,wrapAllByQueryWithSuggestion:()=>ke,wrapSingleQueryWithSuggestion:()=>Nt});var fs=Fe(NC()),rM=Object.prototype.toString;function nM(e){return typeof e=="function"||rM.call(e)==="[object Function]"}function aM(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var oM=Math.pow(2,53)-1;function lM(e){var t=aM(e);return Math.min(Math.max(t,0),oM)}function Xe(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");for(var a=lM(n.length),o=nM(r)?Object(new r(a)):new Array(a),l=0,i;l0&&arguments[0]!==void 0?arguments[0]:[];iM(this,e),cM(this,"items",void 0),this.items=t}return uM(e,[{key:"add",value:function(t){return this.has(t)===!1&&this.items.push(t),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(t){var r=this.items.length;return this.items=this.items.filter(function(n){return n!==t}),r!==this.items.length}},{key:"forEach",value:function(t){var r=this;this.items.forEach(function(n){t(n,n,r)})}},{key:"has",value:function(t){return this.items.indexOf(t)!==-1}},{key:"size",get:function(){return this.items.length}}]),e}(),fM=typeof Set>"u"?Set:pM;function je(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var mM={article:"article",aside:"complementary",button:"button",datalist:"listbox",dd:"definition",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",form:"form",footer:"contentinfo",h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:"banner",hr:"separator",html:"document",legend:"legend",li:"listitem",math:"math",main:"main",menu:"list",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",section:"region",summary:"button",table:"table",tbody:"rowgroup",textarea:"textbox",tfoot:"rowgroup",td:"cell",th:"columnheader",thead:"rowgroup",tr:"row",ul:"list"},hM={caption:new Set(["aria-label","aria-labelledby"]),code:new Set(["aria-label","aria-labelledby"]),deletion:new Set(["aria-label","aria-labelledby"]),emphasis:new Set(["aria-label","aria-labelledby"]),generic:new Set(["aria-label","aria-labelledby","aria-roledescription"]),insertion:new Set(["aria-label","aria-labelledby"]),paragraph:new Set(["aria-label","aria-labelledby"]),presentation:new Set(["aria-label","aria-labelledby"]),strong:new Set(["aria-label","aria-labelledby"]),subscript:new Set(["aria-label","aria-labelledby"]),superscript:new Set(["aria-label","aria-labelledby"])};function bM(e,t){return["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-details","aria-dropeffect","aria-flowto","aria-grabbed","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"].some(function(r){var n;return e.hasAttribute(r)&&!((n=hM[t])!==null&&n!==void 0&&n.has(r))})}function ih(e,t){return bM(e,t)}function yM(e){var t=vM(e);if(t===null||t==="presentation"){var r=gM(e);if(t!=="presentation"||ih(e,r||""))return r}return t}function gM(e){var t=mM[je(e)];if(t!==void 0)return t;switch(je(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!ih(e,"img")?"presentation":"img";case"input":{var r=e,n=r.type;switch(n){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return n;case"range":return"slider";case"email":case"tel":case"text":case"url":return e.hasAttribute("list")?"combobox":"textbox";case"search":return e.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}}case"select":return e.hasAttribute("multiple")||e.size>1?"listbox":"combobox"}return null}function vM(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}function de(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function sh(e){return de(e)&&je(e)==="caption"}function Bn(e){return de(e)&&je(e)==="input"}function _M(e){return de(e)&&je(e)==="optgroup"}function RM(e){return de(e)&&je(e)==="select"}function wM(e){return de(e)&&je(e)==="table"}function CM(e){return de(e)&&je(e)==="textarea"}function qM(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function EM(e){return de(e)&&je(e)==="fieldset"}function PM(e){return de(e)&&je(e)==="legend"}function OM(e){return de(e)&&je(e)==="slot"}function TM(e){return de(e)&&e.ownerSVGElement!==void 0}function SM(e){return de(e)&&je(e)==="svg"}function AM(e){return TM(e)&&je(e)==="title"}function Zn(e,t){if(de(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(a){return n.getElementById(a)}).filter(function(a){return a!==null})}return[]}function bt(e,t){return de(e)?t.indexOf(yM(e))!==-1:!1}function MM(e){return e.trim().replace(/\s\s+/g," ")}function xM(e,t){if(!de(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}function jM(e){return bt(e,["button","combobox","listbox","textbox"])||uh(e,"range")}function uh(e,t){if(!de(e))return!1;switch(t){case"range":return bt(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}function Vc(e,t){var r=Xe(e.querySelectorAll(t));return Zn(e,"aria-owns").forEach(function(n){r.push.apply(r,Xe(n.querySelectorAll(t)))}),r}function NM(e){return RM(e)?e.selectedOptions||Vc(e,"[selected]"):Vc(e,'[aria-selected="true"]')}function $M(e){return bt(e,["none","presentation"])}function IM(e){return sh(e)}function BM(e){return bt(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function kM(e){return!1}function LM(e){return Bn(e)||CM(e)?e.value:e.textContent||""}function zc(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function ch(e){var t=je(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function dh(e){if(ch(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&de(r)){var n=dh(r);n!==null&&(t=n)}}),t}function DM(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):dh(e)}function FM(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return Xe(t);if(!ch(e))return null;var r=e.ownerDocument;return Xe(r.querySelectorAll("label")).filter(function(n){return DM(n)===e})}function HM(e){var t=e.assignedNodes();return t.length===0?Xe(e.childNodes):t}function ph(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new fM,n=qM(e),a=t.compute,o=a===void 0?"name":a,l=t.computedStyleSupportsPseudoElements,i=l===void 0?t.getComputedStyle!==void 0:l,u=t.getComputedStyle,c=u===void 0?n.getComputedStyle.bind(n):u,s=t.hidden,d=s===void 0?!1:s;function f(y,g){var E="";if(de(y)&&i){var C=c(y,"::before"),q=zc(C);E="".concat(q," ").concat(E)}var _=OM(y)?HM(y):Xe(y.childNodes).concat(Zn(y,"aria-owns"));if(_.forEach(function(P){var j=h(P,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),$=de(P)?c(P).getPropertyValue("display"):"inline",B=$!=="inline"?" ":"";E+="".concat(B).concat(j).concat(B)}),de(y)&&i){var v=c(y,"::after"),w=zc(v);E="".concat(E," ").concat(w)}return E.trim()}function p(y,g){var E=y.getAttributeNode(g);return E!==null&&!r.has(E)&&E.value.trim()!==""?(r.add(E),E.value):null}function m(y){return de(y)?p(y,"title"):null}function b(y){if(!de(y))return null;if(EM(y)){r.add(y);for(var g=Xe(y.childNodes),E=0;E0}).join(" ");if(Bn(y)&&y.type==="image"){var k=p(y,"alt");if(k!==null)return k;var U=p(y,"title");return U!==null?U:"Submit Query"}if(bt(y,["button"])){var W=f(y,{isEmbeddedInLabel:!1});if(W!=="")return W}return null}function h(y,g){if(r.has(y))return"";if(!d&&xM(y,c)&&!g.isReferenced)return r.add(y),"";var E=de(y)?y.getAttributeNode("aria-labelledby"):null,C=E!==null&&!r.has(E)?Zn(y,"aria-labelledby"):[];if(o==="name"&&!g.isReferenced&&C.length>0)return r.add(E),C.map(function($){return h($,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var q=g.recursion&&jM(y)&&o==="name";if(!q){var _=(de(y)&&y.getAttribute("aria-label")||"").trim();if(_!==""&&o==="name")return r.add(y),_;if(!$M(y)){var v=b(y);if(v!==null)return r.add(y),v}}if(bt(y,["menu"]))return r.add(y),"";if(q||g.isEmbeddedInLabel||g.isReferenced){if(bt(y,["combobox","listbox"])){r.add(y);var w=NM(y);return w.length===0?Bn(y)?y.value:"":Xe(w).map(function($){return h($,{isEmbeddedInLabel:g.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(uh(y,"range"))return r.add(y),y.hasAttribute("aria-valuetext")?y.getAttribute("aria-valuetext"):y.hasAttribute("aria-valuenow")?y.getAttribute("aria-valuenow"):y.getAttribute("value")||"";if(bt(y,["textbox"]))return r.add(y),LM(y)}if(BM(y)||de(y)&&g.isReferenced||IM(y)||kM()){var P=f(y,{isEmbeddedInLabel:g.isEmbeddedInLabel});if(P!=="")return r.add(y),P}if(y.nodeType===y.TEXT_NODE)return r.add(y),y.textContent||"";if(g.recursion)return r.add(y),f(y,{isEmbeddedInLabel:g.isEmbeddedInLabel});var j=m(y);return j!==null?(r.add(y),j):(r.add(y),"")}return MM(h(e,{isEmbeddedInLabel:!1,isReferenced:o==="description",recursion:!1}))}function an(e){"@babel/helpers - typeof";return an=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},an(e)}function Gc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Wc(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:{},r=Zn(e,"aria-describedby").map(function(a){return ph(a,Wc(Wc({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}function GM(e){return bt(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}function ms(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return GM(e)?"":ph(e,t)}var Ue=Fe(_P()),WM=Fe(RP());function mh(e){return e.replace(//g,">")}var KM=(e,t,r,n,a,o,l)=>{let i=n+r.indent,u=r.colors;return e.map(c=>{let s=t[c],d=l(s,r,i,a,o);return typeof s!="string"&&(d.indexOf(` +`)!==-1&&(d=r.spacingOuter+i+d+r.spacingOuter+n),d="{"+d+"}"),r.spacingInner+n+u.prop.open+c+u.prop.close+"="+u.value.open+d+u.value.close}).join("")},YM=3,JM=(e,t,r,n,a,o)=>e.map(l=>{let i=typeof l=="string"?hh(l,t):o(l,t,r,n,a);return i===""&&typeof l=="object"&&l!==null&&l.nodeType!==YM?"":t.spacingOuter+r+i}).join(""),hh=(e,t)=>{let r=t.colors.content;return r.open+mh(e)+r.close},XM=(e,t)=>{let r=t.colors.comment;return r.open+""+r.close},QM=(e,t,r,n,a)=>{let o=n.colors.tag;return o.open+"<"+e+(t&&o.close+t+n.spacingOuter+a+o.open)+(r?">"+o.close+r+n.spacingOuter+a+o.open+""+o.close},ZM=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close},ex=1,bh=3,yh=8,gh=11,tx=/^((HTML|SVG)\w*)?Element$/,vh=e=>{let{tagName:t}=e;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},rx=e=>{let t=e.constructor.name,{nodeType:r}=e;return r===ex&&(tx.test(t)||vh(e))||r===bh&&t==="Text"||r===yh&&t==="Comment"||r===gh&&t==="DocumentFragment"};function nx(e){return e.nodeType===bh}function ax(e){return e.nodeType===yh}function Lo(e){return e.nodeType===gh}function ox(e){return{test:t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||vh(t))&&rx(t)},serialize:(t,r,n,a,o,l)=>{if(nx(t))return hh(t.data,r);if(ax(t))return XM(t.data,r);let i=Lo(t)?"DocumentFragment":t.tagName.toLowerCase();return++a>r.maxDepth?ZM(i,r):QM(i,KM(Lo(t)?[]:Array.from(t.attributes).map(u=>u.name).sort(),Lo(t)?{}:Array.from(t.attributes).reduce((u,c)=>(u[c.name]=c.value,u),{}),r,n+r.indent,a,o,l),JM(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,a,o,l),r,n)}}}var _h=null,hs=null,bs=null;try{let e=module&&module.require;hs=e.call(module,"fs").readFileSync,bs=e.call(module,"@babel/code-frame").codeFrameColumns,_h=e.call(module,"chalk")}catch{}function lx(e){let t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.slice(t,r),a=n.split(":"),[o,l,i]=[a[0],parseInt(a[1],10),parseInt(a[2],10)],u="";try{u=hs(o,"utf-8")}catch{return""}let c=bs(u,{start:{line:l,column:i}},{highlightCode:!0,linesBelow:0});return _h.dim(n)+` +`+c+` +`}function ix(){if(!hs||!bs)return"";let e=new Error().stack.split(` +`).slice(1).find(t=>!t.includes("node_modules/"));return lx(e)}var Rh=3;function Do(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function ys(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function wh(e){if(e.defaultView)return e.defaultView;if(e.ownerDocument&&e.ownerDocument.defaultView)return e.ownerDocument.defaultView;if(e.window)return e.window;throw e.ownerDocument&&e.ownerDocument.defaultView===null?new Error("It looks like the window object is not available for the provided node."):e.then instanceof Function?new Error("It looks like you passed a Promise object instead of a DOM node. Did you do something like `fireEvent.click(screen.findBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`, or await the findBy query `fireEvent.click(await screen.findBy...`?"):Array.isArray(e)?new Error("It looks like you passed an Array instead of a DOM node. Did you do something like `fireEvent.click(screen.getAllBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`?"):typeof e.debug=="function"&&typeof e.logTestingPlaygroundURL=="function"?new Error("It looks like you passed a `screen` object. Did you do something like `fireEvent.click(screen, ...` when you meant to use a query, e.g. `fireEvent.click(screen.getBy..., `?"):new Error("The given node is not an Element, the node type is: "+typeof e+".")}function wt(e){if(!e||typeof e.querySelector!="function"||typeof e.querySelectorAll!="function")throw new TypeError("Expected container to be an Element, a Document or a DocumentFragment but got "+t(e)+".");function t(r){return typeof r=="object"?r===null?"null":r.constructor.name:typeof r}}var sx=()=>{if(typeof process>"u")return!1;let e;try{var t;let r=(t=Qo)==null?void 0:t.COLORS;r&&(e=JSON.parse(r))}catch{}return typeof e=="boolean"?e:process.versions!==void 0&&process.versions.node!==void 0},{DOMCollection:ux}=fs.plugins,cx=1,dx=8;function px(e){return e.nodeType!==dx&&(e.nodeType!==cx||!e.matches(X().defaultIgnore))}function on(e,t,r){if(r===void 0&&(r={}),e||(e=ys().body),typeof t!="number"&&(t=typeof process<"u"&&typeof Qo<"u"&&Qo.DEBUG_PRINT_LIMIT||7e3),t===0)return"";e.documentElement&&(e=e.documentElement);let n=typeof e;if(n==="object"?n=e.constructor.name:e={},!("outerHTML"in e))throw new TypeError("Expected an element or document but got "+n);let{filterNode:a=px,...o}=r,l=fs.format(e,{plugins:[ox(a),ux],printFunctionName:!1,highlight:sx(),...o});return t!==void 0&&e.outerHTML.length>t?l.slice(0,t)+"...":l}var jl=function(){let e=ix();console.log(e?on(...arguments)+` + +`+e:on(...arguments))},zt={testIdAttribute:"data-testid",asyncUtilTimeout:1e3,asyncWrapper:e=>e(),unstable_advanceTimersWrapper:e=>e(),eventWrapper:e=>e(),defaultHidden:!1,defaultIgnore:"script, style",showOriginalStackTrace:!1,throwSuggestions:!1,getElementError(e,t){let r=on(t),n=new Error([e,"Ignored nodes: comments, "+zt.defaultIgnore+` +`+r].filter(Boolean).join(` + +`));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function fx(e){try{return zt._disableExpensiveErrorDiagnostics=!0,e()}finally{zt._disableExpensiveErrorDiagnostics=!1}}function mx(e){typeof e=="function"&&(e=e(zt)),zt={...zt,...e}}function X(){return zt}var hx=["button","meter","output","progress","select","textarea","input"];function Ch(e){return hx.includes(e.nodeName.toLowerCase())?"":e.nodeType===Rh?e.textContent:Array.from(e.childNodes).map(t=>Ch(t)).join("")}function Nl(e){let t;return e.tagName.toLowerCase()==="label"?t=Ch(e):t=e.value||e.textContent,t}function qh(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!bx(e))return[];let r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}function bx(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function Eh(e,t,r){let{selector:n="*"}=r===void 0?{}:r,a=t.getAttribute("aria-labelledby"),o=a?a.split(" "):[];return o.length?o.map(l=>{let i=e.querySelector('[id="'+l+'"]');return i?{content:Nl(i),formControl:null}:{content:"",formControl:null}}):Array.from(qh(t)).map(l=>{let i=Nl(l),u=Array.from(l.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(c=>c.matches(n))[0];return{content:i,formControl:u}})}function Ph(e){if(e==null)throw new Error("It looks like "+e+" was passed instead of a matcher. Did you do something like getByText("+e+")?")}function xr(e,t,r,n){if(typeof e!="string")return!1;Ph(r);let a=n(e);return typeof r=="string"||typeof r=="number"?a.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(a,t):Oh(r,a)}function gt(e,t,r,n){if(typeof e!="string")return!1;Ph(r);let a=n(e);return r instanceof Function?r(a,t):r instanceof RegExp?Oh(r,a):a===String(r)}function gs(e){let{trim:t=!0,collapseWhitespace:r=!0}=e===void 0?{}:e;return n=>{let a=n;return a=t?a.trim():a,a=r?a.replace(/\s+/g," "):a,a}}function Qt(e){let{trim:t,collapseWhitespace:r,normalizer:n}=e;if(!n)return gs({trim:t,collapseWhitespace:r});if(typeof t<"u"||typeof r<"u")throw new Error('trim and collapseWhitespace are not supported with a normalizer. If you want to use the default trim and collapseWhitespace logic in your normalizer, use "getDefaultNormalizer({trim, collapseWhitespace})" and compose that into your normalizer');return n}function Oh(e,t){let r=e.test(t);return e.global&&e.lastIndex!==0&&(console.warn("To match all elements we had to reset the lastIndex of the RegExp because the global flag is enabled. We encourage to remove the global flag from the RegExp."),e.lastIndex=0),r}function _n(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===Rh&&!!t.textContent).map(t=>t.textContent).join("")}var yx=gx(Ue.elementRoles);function Th(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}function $a(e,t){t===void 0&&(t={});let{isSubtreeInaccessible:r=Th}=t;if(e.ownerDocument.defaultView.getComputedStyle(e).visibility==="hidden")return!0;let n=e;for(;n;){if(r(n))return!0;n=n.parentElement}return!1}function vs(e){for(let{match:t,roles:r}of yx)if(t(e))return[...r];return[]}function gx(e){function t(l){let{name:i,attributes:u}=l;return""+i+u.map(c=>{let{name:s,value:d,constraints:f=[]}=c,p=f.indexOf("undefined")!==-1,m=f.indexOf("set")!==-1;return typeof d<"u"?"["+s+'="'+d+'"]':p?":not(["+s+"])":m?"["+s+"]:not(["+s+'=""])':"["+s+"]"}).join("")}function r(l){let{attributes:i=[]}=l;return i.length}function n(l,i){let{specificity:u}=l,{specificity:c}=i;return c-u}function a(l){let{attributes:i=[]}=l,u=i.findIndex(s=>s.value&&s.name==="type"&&s.value==="text");u>=0&&(i=[...i.slice(0,u),...i.slice(u+1)]);let c=t({...l,attributes:i});return s=>u>=0&&s.type!=="text"?!1:s.matches(c)}let o=[];for(let[l,i]of e.entries())o=[...o,{match:a(l),roles:Array.from(i),specificity:r(l)}];return o.sort(n)}function Sh(e,t){let{hidden:r=!1}=t===void 0?{}:t;function n(a){return[a,...Array.from(a.children).reduce((o,l)=>[...o,...n(l)],[])]}return n(e).filter(a=>r===!1?$a(a)===!1:!0).reduce((a,o)=>{let l=[];return o.hasAttribute("role")?l=o.getAttribute("role").split(" ").slice(0,1):l=vs(o),l.reduce((i,u)=>Array.isArray(i[u])?{...i,[u]:[...i[u],o]}:{...i,[u]:[o]},a)},{})}function Ah(e,t){let{hidden:r,includeDescription:n}=t,a=Sh(e,{hidden:r});return Object.entries(a).filter(o=>{let[l]=o;return l!=="generic"}).map(o=>{let[l,i]=o,u="-".repeat(50),c=i.map(s=>{let d='Name "'+ms(s,{computedStyleSupportsPseudoElements:X().computedStyleSupportsPseudoElements})+`": +`,f=on(s.cloneNode(!1));if(n){let p='Description "'+fh(s,{computedStyleSupportsPseudoElements:X().computedStyleSupportsPseudoElements})+`": +`;return""+d+p+f}return""+d+f}).join(` + +`);return l+`: + +`+c+` + +`+u}).join(` +`)}var vx=function(e,t){let{hidden:r=!1}=t===void 0?{}:t;return console.log(Ah(e,{hidden:r}))};function _x(e){return e.tagName==="OPTION"?e.selected:Rn(e,"aria-selected")}function Rx(e){return e.getAttribute("aria-busy")==="true"}function wx(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:Rn(e,"aria-checked")}function Cx(e){return Rn(e,"aria-pressed")}function qx(e){var t,r;return(t=(r=Rn(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function Ex(e){return Rn(e,"aria-expanded")}function Rn(e,t){let r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}function Px(e){let t={H1:1,H2:2,H3:3,H4:4,H5:5,H6:6};return e.getAttribute("aria-level")&&Number(e.getAttribute("aria-level"))||t[e.tagName]}function Ox(e){let t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function Tx(e){let t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function Sx(e){let t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function Ax(e){let t=e.getAttribute("aria-valuetext");return t===null?void 0:t}var Kc=gs();function Mx(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function Yc(e){return new RegExp(Mx(e.toLowerCase()),"i")}function qt(e,t,r,n){let{variant:a,name:o}=n,l="",i={},u=[["Role","TestId"].includes(e)?r:Yc(r)];o&&(i.name=Yc(o)),e==="Role"&&$a(t)&&(i.hidden=!0,l=`Element is inaccessible. This means that the element and all its children are invisible to screen readers. + If you are using the aria-hidden prop, make sure this is the right choice for your case. + `),Object.keys(i).length>0&&u.push(i);let c=a+"By"+e;return{queryName:e,queryMethod:c,queryArgs:u,variant:a,warning:l,toString(){l&&console.warn(l);let[s,d]=u;return s=typeof s=="string"?"'"+s+"'":s,d=d?", { "+Object.entries(d).map(f=>{let[p,m]=f;return p+": "+m}).join(", ")+" }":"",c+"("+s+d+")"}}}function Et(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}function ea(e,t,r){var n,a;if(t===void 0&&(t="get"),e.matches(X().defaultIgnore))return;let o=(n=e.getAttribute("role"))!=null?n:(a=vs(e))==null?void 0:a[0];if(o!=="generic"&&Et("Role",r,o))return qt("Role",e,o,{variant:t,name:ms(e,{computedStyleSupportsPseudoElements:X().computedStyleSupportsPseudoElements})});let l=Eh(document,e).map(f=>f.content).join(" ");if(Et("LabelText",r,l))return qt("LabelText",e,l,{variant:t});let i=e.getAttribute("placeholder");if(Et("PlaceholderText",r,i))return qt("PlaceholderText",e,i,{variant:t});let u=Kc(_n(e));if(Et("Text",r,u))return qt("Text",e,u,{variant:t});if(Et("DisplayValue",r,e.value))return qt("DisplayValue",e,Kc(e.value),{variant:t});let c=e.getAttribute("alt");if(Et("AltText",r,c))return qt("AltText",e,c,{variant:t});let s=e.getAttribute("title");if(Et("Title",r,s))return qt("Title",e,s,{variant:t});let d=e.getAttribute(X().testIdAttribute);if(Et("TestId",r,d))return qt("TestId",e,d,{variant:t})}function Pn(e,t){e.stack=t.stack.replace(t.message,e.message)}function xx(e,t){let{container:r=ys(),timeout:n=X().asyncUtilTimeout,showOriginalStackTrace:a=X().showOriginalStackTrace,stackTraceError:o,interval:l=50,onTimeout:i=c=>(Object.defineProperty(c,"message",{value:X().getElementError(c.message,r).message}),c),mutationObserverOptions:u={subtree:!0,childList:!0,attributes:!0,characterData:!0}}=t;if(typeof e!="function")throw new TypeError("Received `callback` arg must be a function");return new Promise(async(c,s)=>{let d,f,p,m=!1,b="idle",h=setTimeout(q,n),y=Do();if(y){let{unstable_advanceTimersWrapper:_}=X();for(C();!m;){if(!Do()){let v=new Error("Changed from using fake timers to real timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to real timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");a||Pn(v,o),s(v);return}if(await _(async()=>{jest.advanceTimersByTime(l)}),m)break;C()}}else{try{wt(r)}catch(v){s(v);return}f=setInterval(E,l);let{MutationObserver:_}=wh(r);p=new _(E),p.observe(r,u),C()}function g(_,v){m=!0,clearTimeout(h),y||(clearInterval(f),p.disconnect()),_?s(_):c(v)}function E(){if(Do()){let _=new Error("Changed from using real timers to fake timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to fake timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");return a||Pn(_,o),s(_)}else return C()}function C(){if(b!=="pending")try{let _=fx(e);typeof(_==null?void 0:_.then)=="function"?(b="pending",_.then(v=>{b="resolved",g(null,v)},v=>{b="rejected",d=v})):g(null,_)}catch(_){d=_}}function q(){let _;d?(_=d,!a&&_.name==="TestingLibraryElementError"&&Pn(_,o)):(_=new Error("Timed out in waitFor."),a||Pn(_,o)),g(i(_),null)}})}function _s(e,t){let r=new Error("STACK_TRACE_MESSAGE");return X().asyncWrapper(()=>xx(e,{stackTraceError:r,...t}))}function Ia(e,t){return X().getElementError(e,t)}function Ba(e,t){return Ia(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}function Zt(e,t,r,n){let{exact:a=!0,collapseWhitespace:o,trim:l,normalizer:i}=n===void 0?{}:n,u=a?gt:xr,c=Qt({collapseWhitespace:o,trim:l,normalizer:i});return Array.from(t.querySelectorAll("["+e+"]")).filter(s=>u(s.getAttribute(e),s,r,c))}function Mh(e,t,r,n){let a=Zt(e,t,r,n);if(a.length>1)throw Ba("Found multiple elements by ["+e+"="+r+"]",t);return a[0]||null}function wr(e,t){return function(r){for(var n=arguments.length,a=new Array(n>1?n-1:0),o=1;o1){let i=l.map(u=>Ia(null,u).message).join(` + +`);throw Ba(t(r,...a)+` + +Here are the matching elements: + +`+i,r)}return l[0]||null}}function xh(e,t){return X().getElementError(`A better query is available, try this: +`+e.toString()+` +`,t)}function Rs(e,t){return function(r){for(var n=arguments.length,a=new Array(n>1?n-1:0),o=1;o_s(()=>e(t,r,n),{container:t,...a})}var Nt=(e,t,r)=>function(n){for(var a=arguments.length,o=new Array(a>1?a-1:0),l=1;lfunction(n){for(var a=arguments.length,o=new Array(a>1?a-1:0),l=1;l{var d;return(d=ea(s,r))==null?void 0:d.toString()}))];if(c.length===1&&!t.endsWith(ea(i[0],r).queryName))throw xh(c[0],n)}return i};function Ct(e,t,r){let n=Nt(wr(e,t),e.name,"query"),a=Rs(e,r),o=wr(a,t),l=Nt(o,e.name,"get"),i=ke(a,e.name.replace("query","get"),"getAll"),u=Cr(ke(a,e.name,"findAll")),c=Cr(Nt(o,e.name,"find"));return[n,i,l,u,c]}var jx=Object.freeze({__proto__:null,getElementError:Ia,wrapAllByQueryWithSuggestion:ke,wrapSingleQueryWithSuggestion:Nt,getMultipleElementsFoundError:Ba,queryAllByAttribute:Zt,queryByAttribute:Mh,makeSingleQuery:wr,makeGetAllQuery:Rs,makeFindQuery:Cr,buildQueries:Ct});function Nx(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:Nl(t)})).filter(t=>{let{textToMatch:r}=t;return r!==null})}var $x=function(e,t,r){let{exact:n=!0,trim:a,collapseWhitespace:o,normalizer:l}=r===void 0?{}:r,i=n?gt:xr,u=Qt({collapseWhitespace:o,trim:a,normalizer:l});return Nx(e).filter(c=>{let{node:s,textToMatch:d}=c;return i(d,s,t,u)}).map(c=>{let{node:s}=c;return s})},ln=function(e,t,r){let{selector:n="*",exact:a=!0,collapseWhitespace:o,trim:l,normalizer:i}=r===void 0?{}:r;wt(e);let u=a?gt:xr,c=Qt({collapseWhitespace:o,trim:l,normalizer:i}),s=Array.from(e.querySelectorAll("*")).filter(d=>qh(d).length||d.hasAttribute("aria-labelledby")).reduce((d,f)=>{let p=Eh(e,f,{selector:n});p.filter(b=>!!b.formControl).forEach(b=>{u(b.content,b.formControl,t,c)&&b.formControl&&d.push(b.formControl)});let m=p.filter(b=>!!b.content).map(b=>b.content);return u(m.join(" "),f,t,c)&&d.push(f),m.length>1&&m.forEach((b,h)=>{u(b,f,t,c)&&d.push(f);let y=[...m];y.splice(h,1),y.length>1&&u(y.join(" "),f,t,c)&&d.push(f)}),d},[]).concat(Zt("aria-label",e,t,{exact:a,normalizer:c}));return Array.from(new Set(s)).filter(d=>d.matches(n))},Wt=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),a=2;aIx(e,u)).filter(u=>!!u);throw i.length?X().getElementError(i.map(u=>"Found a label with the text of: "+t+", however the element associated with this label (<"+u+" />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <"+u+" />, you can use aria-label or aria-labelledby instead.").join(` + +`),e):X().getElementError("Found a label with the text of: "+t+`, however no form control was found associated to that label. Make sure you're using the "for" attribute or "aria-labelledby" attribute correctly.`,e)}else throw X().getElementError("Unable to find a label with the text of: "+t,e)}return o};function Ix(e,t){let r=t.getAttribute("for");if(!r)return null;let n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}var jh=(e,t)=>"Found multiple elements with the text of: "+t,Nh=Nt(wr(ln,jh),ln.name,"query"),$h=wr(Wt,jh),Ih=Cr(ke(Wt,Wt.name,"findAll")),Bh=Cr(Nt($h,Wt.name,"find")),kh=ke(Wt,Wt.name,"getAll"),Lh=Nt($h,Wt.name,"get"),Dh=ke(ln,ln.name,"queryAll"),$l=function(){for(var e=arguments.length,t=new Array(e),r=0;r"Found multiple elements with the placeholder text of: "+t,kx=(e,t)=>"Unable to find an element with the placeholder text of: "+t,Fh=ke($l,$l.name,"queryAll"),[Hh,Uh,Vh,zh,Gh]=Ct($l,Bx,kx),Il=function(e,t,r){let{selector:n="*",exact:a=!0,collapseWhitespace:o,trim:l,ignore:i=X().defaultIgnore,normalizer:u}=r===void 0?{}:r;wt(e);let c=a?gt:xr,s=Qt({collapseWhitespace:o,trim:l,normalizer:u}),d=[];return typeof e.matches=="function"&&e.matches(n)&&(d=[e]),[...d,...Array.from(e.querySelectorAll(n))].filter(f=>!i||!f.matches(i)).filter(f=>c(_n(f),f,t,s))},Lx=(e,t)=>"Found multiple elements with the text: "+t,Dx=function(e,t,r){r===void 0&&(r={});let{collapseWhitespace:n,trim:a,normalizer:o,selector:l}=r,i=Qt({collapseWhitespace:n,trim:a,normalizer:o})(t.toString()),u=i!==t.toString(),c=(l??"*")!=="*";return"Unable to find an element with the text: "+(u?i+" (normalized from '"+t+"')":t)+(c?", which matches selector '"+l+"'":"")+". This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible."},Wh=ke(Il,Il.name,"queryAll"),[Kh,Yh,Jh,Xh,Qh]=Ct(Il,Lx,Dx),Bl=function(e,t,r){let{exact:n=!0,collapseWhitespace:a,trim:o,normalizer:l}=r===void 0?{}:r;wt(e);let i=n?gt:xr,u=Qt({collapseWhitespace:a,trim:o,normalizer:l});return Array.from(e.querySelectorAll("input,textarea,select")).filter(c=>c.tagName==="SELECT"?Array.from(c.options).filter(s=>s.selected).some(s=>i(_n(s),s,t,u)):i(c.value,c,t,u))},Fx=(e,t)=>"Found multiple elements with the display value: "+t+".",Hx=(e,t)=>"Unable to find an element with the display value: "+t+".",Zh=ke(Bl,Bl.name,"queryAll"),[eb,tb,rb,nb,ab]=Ct(Bl,Fx,Hx),Ux=/^(img|input|area|.+-.+)$/i,kl=function(e,t,r){return r===void 0&&(r={}),wt(e),Zt("alt",e,t,r).filter(n=>Ux.test(n.tagName))},Vx=(e,t)=>"Found multiple elements with the alt text: "+t,zx=(e,t)=>"Unable to find an element with the alt text: "+t,ob=ke(kl,kl.name,"queryAll"),[lb,ib,sb,ub,cb]=Ct(kl,Vx,zx),Gx=e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},Ll=function(e,t,r){let{exact:n=!0,collapseWhitespace:a,trim:o,normalizer:l}=r===void 0?{}:r;wt(e);let i=n?gt:xr,u=Qt({collapseWhitespace:a,trim:o,normalizer:l});return Array.from(e.querySelectorAll("[title], svg > title")).filter(c=>i(c.getAttribute("title"),c,t,u)||Gx(c)&&i(_n(c),c,t,u))},Wx=(e,t)=>"Found multiple elements with the title: "+t+".",Kx=(e,t)=>"Unable to find an element with the title: "+t+".",db=ke(Ll,Ll.name,"queryAll"),[pb,fb,mb,hb,bb]=Ct(Ll,Wx,Kx),Dl=function(e,t,r){let{hidden:n=X().defaultHidden,name:a,description:o,queryFallbacks:l=!1,selected:i,busy:u,checked:c,pressed:s,current:d,level:f,expanded:p,value:{now:m,min:b,max:h,text:y}={}}=r===void 0?{}:r;if(wt(e),i!==void 0){var g;if(((g=Ue.roles.get(t))==null?void 0:g.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(u!==void 0){var E;if(((E=Ue.roles.get(t))==null?void 0:E.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(c!==void 0){var C;if(((C=Ue.roles.get(t))==null?void 0:C.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(s!==void 0){var q;if(((q=Ue.roles.get(t))==null?void 0:q.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(d!==void 0){var _;if(((_=Ue.roles.get(t))==null?void 0:_.props["aria-current"])===void 0)throw new Error('"aria-current" is not supported on role "'+t+'".')}if(f!==void 0&&t!=="heading")throw new Error('Role "'+t+'" cannot have "level" property.');if(m!==void 0){var v;if(((v=Ue.roles.get(t))==null?void 0:v.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(h!==void 0){var w;if(((w=Ue.roles.get(t))==null?void 0:w.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(b!==void 0){var P;if(((P=Ue.roles.get(t))==null?void 0:P.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(y!==void 0){var j;if(((j=Ue.roles.get(t))==null?void 0:j.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(p!==void 0){var $;if((($=Ue.roles.get(t))==null?void 0:$.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}let B=new WeakMap;function I(A){return B.has(A)||B.set(A,Th(A)),B.get(A)}return Array.from(e.querySelectorAll(Yx(t))).filter(A=>{if(A.hasAttribute("role")){let k=A.getAttribute("role");if(l)return k.split(" ").filter(Boolean).some(W=>W===t);let[U]=k.split(" ");return U===t}return vs(A).some(k=>k===t)}).filter(A=>{if(i!==void 0)return i===_x(A);if(u!==void 0)return u===Rx(A);if(c!==void 0)return c===wx(A);if(s!==void 0)return s===Cx(A);if(d!==void 0)return d===qx(A);if(p!==void 0)return p===Ex(A);if(f!==void 0)return f===Px(A);if(m!==void 0||h!==void 0||b!==void 0||y!==void 0){let U=!0;if(m!==void 0&&U&&(U=m===Ox(A)),h!==void 0&&U&&(U=h===Tx(A)),b!==void 0&&U&&(U=b===Sx(A)),y!==void 0){var k;U&&(U=gt((k=Ax(A))!=null?k:null,A,y,W=>W))}return U}return!0}).filter(A=>a===void 0?!0:gt(ms(A,{computedStyleSupportsPseudoElements:X().computedStyleSupportsPseudoElements}),A,a,k=>k)).filter(A=>o===void 0?!0:gt(fh(A,{computedStyleSupportsPseudoElements:X().computedStyleSupportsPseudoElements}),A,o,k=>k)).filter(A=>n===!1?$a(A,{isSubtreeInaccessible:I})===!1:!0)};function Yx(e){var t;let r='*[role~="'+e+'"]',n=(t=Ue.roleElements.get(e))!=null?t:new Set,a=new Set(Array.from(n).map(o=>{let{name:l}=o;return l}));return[r].concat(Array.from(a)).join(",")}var yb=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},Jx=function(e,t,r){let{name:n}=r===void 0?{}:r;return'Found multiple elements with the role "'+t+'"'+yb(n)},Xx=function(e,t,r){let{hidden:n=X().defaultHidden,name:a,description:o}=r===void 0?{}:r;if(X()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+yb(a);let l="";Array.from(e.children).forEach(s=>{l+=Ah(s,{hidden:n,includeDescription:o!==void 0})});let i;l.length===0?n===!1?i="There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole":i="There are no available roles.":i=(` +Here are the `+(n===!1?"accessible":"available")+` roles: + + `+l.replace(/\n/g,` + `).replace(/\n\s\s\n/g,` + +`)+` +`).trim();let u="";a===void 0?u="":typeof a=="string"?u=' and name "'+a+'"':u=" and name `"+a+"`";let c="";return o===void 0?c="":typeof o=="string"?c=' and description "'+o+'"':c=" and description `"+o+"`",(` +Unable to find an `+(n===!1?"accessible ":"")+'element with the role "'+t+'"'+u+c+` + +`+i).trim()},gb=ke(Dl,Dl.name,"queryAll"),[vb,_b,Rb,wb,Cb]=Ct(Dl,Jx,Xx),ws=()=>X().testIdAttribute,Fl=function(){for(var e=arguments.length,t=new Array(e),r=0;r"Found multiple elements by: ["+ws()+'="'+t+'"]',Zx=(e,t)=>"Unable to find an element by: ["+ws()+'="'+t+'"]',qb=ke(Fl,Fl.name,"queryAll"),[Eb,Pb,Ob,Tb,Sb]=Ct(Fl,Qx,Zx),ta=Object.freeze({__proto__:null,queryAllByLabelText:Dh,queryByLabelText:Nh,getAllByLabelText:kh,getByLabelText:Lh,findAllByLabelText:Ih,findByLabelText:Bh,queryByPlaceholderText:Hh,queryAllByPlaceholderText:Fh,getByPlaceholderText:Vh,getAllByPlaceholderText:Uh,findAllByPlaceholderText:zh,findByPlaceholderText:Gh,queryByText:Kh,queryAllByText:Wh,getByText:Jh,getAllByText:Yh,findAllByText:Xh,findByText:Qh,queryByDisplayValue:eb,queryAllByDisplayValue:Zh,getByDisplayValue:rb,getAllByDisplayValue:tb,findAllByDisplayValue:nb,findByDisplayValue:ab,queryByAltText:lb,queryAllByAltText:ob,getByAltText:sb,getAllByAltText:ib,findAllByAltText:ub,findByAltText:cb,queryByTitle:pb,queryAllByTitle:db,getByTitle:mb,getAllByTitle:fb,findAllByTitle:hb,findByTitle:bb,queryByRole:vb,queryAllByRole:gb,getAllByRole:_b,getByRole:Rb,findAllByRole:wb,findByRole:Cb,queryByTestId:Eb,queryAllByTestId:qb,getByTestId:Ob,getAllByTestId:Pb,findAllByTestId:Tb,findByTestId:Sb});function Hl(e,t,r){return t===void 0&&(t=ta),r===void 0&&(r={}),Object.keys(t).reduce((n,a)=>{let o=t[a];return n[a]=o.bind(null,e),n},r)}var Ab=e=>!e||Array.isArray(e)&&!e.length;function Jc(e){if(Ab(e))throw new Error("The element(s) given to waitForElementToBeRemoved are already removed. waitForElementToBeRemoved requires that the element(s) exist(s) before waiting for removal.")}async function ej(e,t){let r=new Error("Timed out in waitForElementToBeRemoved.");if(typeof e!="function"){Jc(e);let n=(Array.isArray(e)?e:[e]).map(a=>{let o=a.parentElement;if(o===null)return()=>null;for(;o.parentElement;)o=o.parentElement;return()=>o.contains(a)?a:null});e=()=>n.map(a=>a()).filter(Boolean)}return Jc(e()),_s(()=>{let n;try{n=e()}catch(a){if(a.name==="TestingLibraryElementError")return;throw a}if(!Ab(n))throw r},t)}var Xc={copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionEnd:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionStart:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionUpdate:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyDown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyPress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyUp:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},focus:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},blur:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},focusIn:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},focusOut:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},invalid:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!0}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},reset:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},click:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,button:0,composed:!0}},contextMenu:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblClick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drag:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragEnd:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragEnter:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragExit:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragLeave:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragOver:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragStart:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drop:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseDown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseEnter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseLeave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseMove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOut:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOver:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseUp:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},select:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},touchCancel:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},touchEnd:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchMove:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchStart:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},resize:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},scroll:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},wheel:{EventType:"WheelEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},abort:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlay:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlayThrough:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},durationChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},emptied:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},encrypted:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},ended:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedData:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedMetadata:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadStart:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},pause:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},play:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},playing:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},progress:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},rateChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeked:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeking:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},stalled:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},suspend:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},timeUpdate:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},volumeChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},waiting:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},load:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},error:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},animationStart:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationEnd:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationIteration:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionCancel:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionEnd:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},transitionRun:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionStart:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},pointerOver:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerEnter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerDown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerMove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerUp:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerCancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerOut:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerLeave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},gotPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},lostPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},popState:{EventType:"PopStateEvent",defaultInit:{bubbles:!0,cancelable:!1}},offline:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},online:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},pageHide:{EventType:"PageTransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},pageShow:{EventType:"PageTransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}}},Qc={doubleClick:"dblClick"};function sn(e,t){return X().eventWrapper(()=>{if(!t)throw new Error("Unable to fire an event - please provide an event object.");if(!e)throw new Error('Unable to fire a "'+t.type+'" event - please provide a DOM element.');return e.dispatchEvent(t)})}function kn(e,t,r,n){let{EventType:a="Event",defaultInit:o={}}=n===void 0?{}:n;if(!t)throw new Error('Unable to fire a "'+e+'" event - please provide a DOM element.');let l={...o,...r},{target:{value:i,files:u,...c}={}}=l;i!==void 0&&tj(t,i),u!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:u}),Object.assign(t,c);let s=wh(t),d=s[a]||s.Event,f;if(typeof d=="function")f=new d(e,l);else{f=s.document.createEvent(a);let{bubbles:p,cancelable:m,detail:b,...h}=l;f.initEvent(e,p,m,b),Object.keys(h).forEach(y=>{f[y]=h[y]})}return["dataTransfer","clipboardData"].forEach(p=>{let m=l[p];typeof m=="object"&&(typeof s.DataTransfer=="function"?Object.defineProperty(f,p,{value:Object.getOwnPropertyNames(m).reduce((b,h)=>(Object.defineProperty(b,h,{value:m[h]}),b),new s.DataTransfer)}):Object.defineProperty(f,p,{value:m}))}),f}Object.keys(Xc).forEach(e=>{let{EventType:t,defaultInit:r}=Xc[e],n=e.toLowerCase();kn[e]=(a,o)=>kn(n,a,o,{EventType:t,defaultInit:r}),sn[e]=(a,o)=>sn(a,kn[e](a,o))});function tj(e,t){let{set:r}=Object.getOwnPropertyDescriptor(e,"value")||{},n=Object.getPrototypeOf(e),{set:a}=Object.getOwnPropertyDescriptor(n,"value")||{};if(a&&r!==a)a.call(e,t);else if(r)r.call(e,t);else throw new Error("The given element does not have a value setter")}Object.keys(Qc).forEach(e=>{let t=Qc[e];sn[e]=function(){return sn[t](...arguments)}});function rj(e){return e.replace(/[ \t]*[\n][ \t]*/g,` +`)}function nj(e){return WM.default.compressToEncodedURIComponent(rj(e))}function aj(e){return"https://testing-playground.com/#markup="+nj(e)}var oj=(e,t,r)=>Array.isArray(e)?e.forEach(n=>jl(n,t,r)):jl(e,t,r),lj=function(e){if(e===void 0&&(e=ys().body),!e||!("innerHTML"in e)){console.log("The element you're providing isn't a valid DOM element.");return}if(!e.innerHTML){console.log("The provided element doesn't have any children.");return}let t=aj(e.innerHTML);return console.log(`Open this URL in your browser + +`+t),t},Zc={debug:oj,logTestingPlaygroundURL:lj},ij=typeof document<"u"&&document.body?Hl(document.body,ta,Zc):Object.keys(ta).reduce((e,t)=>(e[t]=()=>{throw new TypeError("For queries bound to document.body a global document has to be available... Learn more: https://testing-library.com/s/screen-global-error")},e),Zc);function Y(e,t,r){return e.namespaceURI&&e.namespaceURI!=="http://www.w3.org/1999/xhtml"||(t=Array.isArray(t)?t:[t],!t.includes(e.tagName.toLowerCase()))?!1:r?Object.entries(r).every(([n,a])=>e[n]===a):!0}var Ul;(function(e){e.button="button",e.color="color",e.file="file",e.image="image",e.reset="reset",e.submit="submit",e.checkbox="checkbox",e.radio="radio"})(Ul||(Ul={}));function Mb(e){return Y(e,"button")||Y(e,"input")&&e.type in Ul}function lt(e){var t;if(sj(e)&&e.defaultView)return e.defaultView;if(!((t=e.ownerDocument)===null||t===void 0)&&t.defaultView)return e.ownerDocument.defaultView;throw new Error(`Could not determine window of node. Node was ${uj(e)}`)}function sj(e){return e.nodeType===9}function uj(e){return typeof e=="function"?`function ${e.name}`:e===null?"null":String(e)}function xb(e,t){return new Promise((r,n)=>{let a=new t;a.onerror=n,a.onabort=n,a.onload=()=>{r(String(a.result))},a.readAsText(e)})}function Cs(e,t){let r={...t,length:t.length,item:n=>r[n],[Symbol.iterator]:function*(){for(let n=0;nt?o.type===(a?r:e):a?o.type.startsWith(`${r}/`):o.type===r}function dj(e){return new class{getData(t){var r;let n=(r=this.items.find(On(t,!0)))!==null&&r!==void 0?r:this.items.find(On(t,!1)),a="";return n==null||n.getAsString(o=>{a=o}),a}setData(t,r){let n=this.items.findIndex(On(t,!0)),a=new jb(r,t);n>=0?this.items.splice(n,1,a):this.items.push(a)}clearData(t){if(t){let r=this.items.findIndex(On(t,!0));r>=0&&this.items.remove(r)}else this.items.clear()}get types(){let t=[];return this.files.length&&t.push("Files"),this.items.forEach(r=>t.push(r.type)),Object.freeze(t),t}setDragImage(){}constructor(){Mt(this,"dropEffect","none"),Mt(this,"effectAllowed","uninitialized"),Mt(this,"items",new cj),Mt(this,"files",Cs(e,[]))}}}function qs(e,t=[]){let r=typeof e.DataTransfer>"u"?dj(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:()=>Cs(e,t)}),r}function pj(e,t){if(t.kind==="file")return t.getAsFile();let r="";return t.getAsString(n=>{r=n}),new e.Blob([r],{type:t.type})}function Nb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $b(e,...t){let r=Object.fromEntries(t.map(n=>[typeof n=="string"?"text/plain":n.type,Promise.resolve(n)]));return typeof e.ClipboardItem<"u"?new e.ClipboardItem(r):new class{get types(){return Array.from(Object.keys(this.data))}async getType(n){let a=await this.data[n];if(!a)throw new Error(`${n} is not one of the available MIME types on this item.`);return a instanceof e.Blob?a:new e.Blob([a],{type:n})}constructor(n){Nb(this,"data",void 0),this.data=n}}(r)}var qr=Symbol("Manage ClipboardSub");function ed(e,t){return Object.assign(new class extends e.EventTarget{async read(){return Array.from(this.items)}async readText(){let r="";for(let n of this.items){let a=n.types.includes("text/plain")?"text/plain":n.types.find(o=>o.startsWith("text/"));a&&(r+=await n.getType(a).then(o=>xb(o,e.FileReader)))}return r}async write(r){this.items=r}async writeText(r){this.items=[$b(e,r)]}constructor(...r){super(...r),Nb(this,"items",[])}},{[qr]:t})}function Es(e){return!!(e!=null&&e[qr])}function fj(e){if(Es(e.navigator.clipboard))return e.navigator.clipboard[qr];let t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard"),r,n={resetClipboardStub:()=>{r=ed(e,n)},detachClipboardStub:()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0})}};return r=ed(e,n),Object.defineProperty(e.navigator,"clipboard",{get:()=>r,configurable:!0}),r[qr]}function mj(e){Es(e.navigator.clipboard)&&e.navigator.clipboard[qr].resetClipboardStub()}function hj(e){Es(e.navigator.clipboard)&&e.navigator.clipboard[qr].detachClipboardStub()}async function bj(e){let t=e.defaultView,r=t==null?void 0:t.navigator.clipboard,n=r&&await r.read();if(!n)throw new Error("The Clipboard API is unavailable.");let a=qs(t);for(let o of n)for(let l of o.types)a.setData(l,await o.getType(l).then(i=>xb(i,t.FileReader)));return a}async function Ib(e,t){let r=lt(e),n=r.navigator.clipboard,a=[];for(let o=0;o!0,()=>!1)))throw new Error("The Clipboard API is unavailable.")}var ra=globalThis;typeof ra.afterEach=="function"&&ra.afterEach(()=>mj(globalThis.window));typeof ra.afterAll=="function"&&ra.afterAll(()=>hj(globalThis.window));function Kt(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}function un(e){let t=yj(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}function yj(e){return e.nodeType===1?e:e.parentElement}function Er(e){return Bb(e)&&!e.readOnly||Kt(e)}var Vl;(function(e){e.text="text",e.date="date",e["datetime-local"]="datetime-local",e.email="email",e.month="month",e.number="number",e.password="password",e.search="search",e.tel="tel",e.time="time",e.url="url",e.week="week"})(Vl||(Vl={}));function Bb(e){return Y(e,"textarea")||Y(e,"input")&&e.type in Vl}var zl;(function(e){e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url"})(zl||(zl={}));function gj(e){var t;let r=(t=e.getAttribute("maxlength"))!==null&&t!==void 0?t:"";return/^\d+$/.test(r)&&Number(r)>=0?Number(r):void 0}function vj(e){return Y(e,"textarea")||Y(e,"input")&&e.type in zl}var kb=["input:not([type=hidden]):not([disabled])","button:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[contenteditable=""]','[contenteditable="true"]',"a[href]","[tabindex]:not([disabled])"].join(", ");function Ps(e){return e.matches(kb)}var na;(function(e){e["{"]="}",e["["]="]"})(na||(na={}));function Lb(e,t){let r=0,n=e[r]in na?e[r]:"";r+=n.length;let a=new RegExp(`^\\${n}{2}`).test(e)?"":n;return{type:a,...a===""?_j(e,r,t):Rj(e,r,a,t)}}function _j(e,t,r){let n=e[t];return Db(n,e,t,r),t+=n.length,{consumedLength:t,descriptor:n,releasePrevious:!1,releaseSelf:!0,repeat:1}}function Rj(e,t,r,n){var a,o;let l=e[t]==="/"?"/":"";t+=l.length;let i=r==="{"&&e[t]==="\\";t+=Number(i);let u=i?e[t]:(a=e.slice(t).match(r==="{"?/^\w+|^[^}>/]/:/^\w+/))===null||a===void 0?void 0:a[0];Db(u,e,t,n),t+=u.length;var c;let s=(c=(o=e.slice(t).match(/^>\d+/))===null||o===void 0?void 0:o[0])!==null&&c!==void 0?c:"";t+=s.length;let d=e[t]==="/"||!s&&e[t]===">"?e[t]:"";t+=d.length;let f=na[r],p=e[t]===f?f:"";if(!p)throw new Error(Fb([!s&&"repeat modifier",!d&&"release modifier",`"${f}"`].filter(Boolean).join(" or "),e[t],e,n));return t+=p.length,{consumedLength:t,descriptor:u,releasePrevious:!!l,repeat:s?Math.max(Number(s.substr(1)),1):1,releaseSelf:wj(d,s)}}function Db(e,t,r,n){if(!e)throw new Error(Fb("key descriptor",t[r],t,n))}function wj(e,t){if(e)return e==="/";if(t)return!1}function Fb(e,t,r,n){return`Expected ${e} but found "${t??""}" in "${r}" + See ${n==="pointer"?"https://testing-library.com/docs/user-event/pointer#pressing-a-button-or-touching-the-screen":"https://testing-library.com/docs/user-event/keyboard"} + for more information about how userEvent parses your input.`}function Cj(e){return new e.constructor(e.type,e)}var Ie;(function(e){e[e.Trigger=2]="Trigger",e[e.Call=1]="Call"})(Ie||(Ie={}));function kr(e,t){e.levelRefs[t]={}}function Tn(e,t){return e.levelRefs[t]}var fr;(function(e){e[e.EachTrigger=4]="EachTrigger",e[e.EachApiCall=2]="EachApiCall",e[e.EachTarget=1]="EachTarget",e[e.Never=0]="Never"})(fr||(fr={}));function vt(e){for(let r=e;r;r=r.parentElement)if(Y(r,["button","input","select","textarea","optgroup","option"])){if(r.hasAttribute("disabled"))return!0}else if(Y(r,"fieldset")){var t;if(r.hasAttribute("disabled")&&!(!((t=r.querySelector(":scope > legend"))===null||t===void 0)&&t.contains(e)))return!0}else if(r.tagName.includes("-")&&r.constructor.formAssociated&&r.hasAttribute("disabled"))return!0;return!1}function ka(e){let t=e.activeElement;return t!=null&&t.shadowRoot?ka(t.shadowRoot):vt(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}function Fo(e){var t;return(t=ka(e))!==null&&t!==void 0?t:e.body}function qj(e,t){let r=e;do{if(t(r))return r;r=r.parentElement}while(r&&r!==e.ownerDocument.body)}function it(e){return Hb(e)&&Bb(e)}function Ej(e){return Hb(e)&&Mb(e)}function Hb(e){return e.nodeType===1}function Pj(e){let t=e.ownerDocument.getSelection();if(t!=null&&t.focusNode&&it(e)){let n=un(t.focusNode);if(n){if(!t.isCollapsed){var r;let a=((r=n.firstChild)===null||r===void 0?void 0:r.nodeType)===3?n.firstChild:n;t.setBaseAndExtent(a,0,a,0)}}else t.setBaseAndExtent(e,0,e,0)}}function Pr(e,t){return X().eventWrapper(e)}function $t(e){let t=qj(e,Ps),r=ka(e.ownerDocument);(t??e.ownerDocument.body)!==r&&(Pr(t?()=>t.focus():()=>r==null?void 0:r.blur()),Pj(t??e.ownerDocument.body))}function Oj(e){!Ps(e)||ka(e.ownerDocument)!==e||Pr(()=>e.blur())}var It={};It.click=(e,t,r)=>{let n=t.closest("button,input,label,select,textarea"),a=n&&Y(n,"label")&&n.control;if(a)return()=>{Ps(a)&&$t(a),r.dispatchEvent(a,Cj(e))};if(Y(t,"input",{type:"file"}))return()=>{Oj(t),t.dispatchEvent(new(lt(t)).Event("fileDialog")),$t(t)}};var Or=Symbol("Displayed value in UI"),yt=Symbol("Displayed selection in UI"),aa=Symbol("Initial value to compare on blur");function Tj(e){return typeof e=="object"&&Or in e}function Sj(e){return!!e&&typeof e=="object"&&yt in e}function Aj(e,t){e[aa]===void 0&&(e[aa]=e.value),e[Or]=t,e.value=Object.assign(new String(t),{[Or]:!0})}function st(e){return e[Or]===void 0?e.value:String(e[Or])}function Os(e){e[Or]=void 0}function Ub(e){e[aa]=void 0}function Mj(e){return e[aa]}function xj(e,t){e[yt]=t}function jr(e,{focusOffset:t,anchorOffset:r=t},n="replace"){let a=st(e).length,o=d=>Math.max(0,Math.min(a,d)),l=n==="replace"||e[yt]===void 0?o(r):e[yt].anchorOffset,i=o(t),u=Math.min(l,i),c=Math.max(l,i);if(e[yt]={anchorOffset:l,focusOffset:i},e.selectionStart===u&&e.selectionEnd===c)return;let s=Object.assign(new Number(u),{[yt]:!0});try{e.setSelectionRange(s,c)}catch{}}function cn(e){var t,r,n;let a=(n=e[yt])!==null&&n!==void 0?n:{anchorOffset:(t=e.selectionStart)!==null&&t!==void 0?t:0,focusOffset:(r=e.selectionEnd)!==null&&r!==void 0?r:0};return{...a,startOffset:Math.min(a.anchorOffset,a.focusOffset),endOffset:Math.max(a.anchorOffset,a.focusOffset)}}function jj(e){return!!e[yt]}function Ln(e){e[yt]=void 0}var oa=globalThis.parseInt;function Nj(e){let t=e.replace(/\D/g,"");if(t.length<2)return e;let r=oa(t[0],10),n=oa(t[1],10);if(r>=3||r===2&&n>=4){let a;return r>=3?a=1:a=2,td(t,a)}return e.length===2?e:td(t,2)}function td(e,t){let r=e.slice(0,t),n=Math.min(oa(r,10),23),a=e.slice(t),o=oa(a,10),l=Math.min(o,59);return`${n.toString().padStart(2,"0")}:${l.toString().padStart(2,"0")}`}function Vb(e,t){let r=e.cloneNode();return r.value=t,r.value===t}function zb(e,t,r,n){if(Dn(e)&&t+r>=0&&t+r<=e.nodeValue.length)return{node:e,offset:t+r};let a=rd(e,t,r);if(a){if(Dn(a))return{node:a,offset:r>0?Math.min(1,a.nodeValue.length):Math.max(a.nodeValue.length-1,0)};if(Y(a,"br")){let o=rd(a,void 0,r);return o?Dn(o)?{node:o,offset:r>0?0:o.nodeValue.length}:r<0&&Y(o,"br")?{node:a.parentNode,offset:Sn(a)}:{node:o.parentNode,offset:Sn(o)+(r>0?0:1)}:r<0&&n==="deleteContentBackward"?{node:a.parentNode,offset:Sn(a)}:void 0}else return{node:a.parentNode,offset:Sn(a)+(r>0?1:0)}}}function rd(e,t,r){let n=Number(t)+(r<0?-1:0);return t!==void 0&&Ts(e)&&n>=0&&nt.startsWith("__react"))&<(e).REACT_VERSION===17}function Lj(e){kj(e)&&(e[dn]={previousValue:String(e.value),tracked:[]})}function Dj(e,t){var r,n;(n=e[dn])===null||n===void 0||(r=n.tracked)===null||r===void 0||r.push(t),e[dn]||(Os(e),jr(e,{focusOffset:t.length}))}function Fj(e,t){var r;let n=e[dn];if(e[dn]=void 0,!(!(n==null||(r=n.tracked)===null||r===void 0)&&r.length))return;let a=n.tracked.length===2&&n.tracked[0]===n.previousValue&&n.tracked[1]===e.value;a||Os(e),jj(e)&&jr(e,{focusOffset:a?t:e.value.length})}function Gb(e){let t=Hj(e);if(t&&it(t))return{type:"input",selection:cn(t)};let r=t==null?void 0:t.ownerDocument.getSelection();return{type:un(e)&&(r!=null&&r.anchorNode)&&un(r.anchorNode)?"contenteditable":"default",selection:r}}function Hj(e){return e.nodeType===1?e:e.parentElement}function Uj(e){let t=Gb(e);if(t.type==="input")return t.selection;if(t.type==="contenteditable"){var r;return(r=t.selection)===null||r===void 0?void 0:r.getRangeAt(0)}}function Yt({focusNode:e,focusOffset:t,anchorNode:r=e,anchorOffset:n=t}){var a,o;if(Gb(e).type==="input")return jr(e,{anchorOffset:n,focusOffset:t});(o=r.ownerDocument)===null||o===void 0||(a=o.getSelection())===null||a===void 0||a.setBaseAndExtent(r,n,e,t)}function Wb(e){return Y(e,"input")&&["date","time"].includes(e.type)}function Tr(e,t,r,n="insertText"){let a=Uj(t);a&&(!Wb(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:n,data:r})||("startContainer"in a?Vj(e,t,a,r,n):zj(e,t,a,r,n)))}function Vj(e,t,r,n,a){let o=!1;if(!r.collapsed)o=!0,r.deleteContents();else if(["deleteContentBackward","deleteContentForward"].includes(a)){let l=zb(r.startContainer,r.startOffset,a==="deleteContentBackward"?-1:1,a);if(l){o=!0;let i=r.cloneRange();i.comparePoint(l.node,l.offset)<0?i.setStart(l.node,l.offset):i.setEnd(l.node,l.offset),i.deleteContents()}}if(n)if(r.endContainer.nodeType===3){let l=r.endOffset;r.endContainer.insertData(l,n),r.setStart(r.endContainer,l+n.length),r.setEnd(r.endContainer,l+n.length)}else{let l=t.ownerDocument.createTextNode(n);r.insertNode(l),r.setStart(l,n.length),r.setEnd(l,n.length)}(o||n)&&e.dispatchUIEvent(t,"input",{inputType:a})}function zj(e,t,r,n,a){let o=n;if(vj(t)){let c=gj(t);if(c!==void 0&&n.length>0){let s=c-t.value.length;if(s>0)o=n.substring(0,s);else return}}let{newValue:l,newOffset:i,oldValue:u}=Gj(o,t,r,a);l===u&&i===r.startOffset&&i===r.endOffset||Y(t,"input",{type:"number"})&&!Wj(l)||(Aj(t,l),Yt({focusNode:t,anchorOffset:i,focusOffset:i}),Wb(t)?Vb(t,l)&&(nd(e,t,i,{}),e.dispatchUIEvent(t,"change"),Ub(t)):nd(e,t,i,{data:n,inputType:a}))}function Gj(e,t,{startOffset:r,endOffset:n},a){let o=st(t),l=Math.max(0,r===n&&a==="deleteContentBackward"?r-1:r),i=o.substring(0,l),u=Math.min(o.length,r===n&&a==="deleteContentForward"?r+1:n),c=o.substring(u,o.length),s=`${i}${e}${c}`,d=l+e.length;if(Y(t,"input",{type:"time"})){let f=Nj(s);f!==""&&Vb(t,f)&&(s=f,d=f.length)}return{oldValue:o,newValue:s,newOffset:d}}function nd(e,t,r,n){e.dispatchUIEvent(t,"input",n),Fj(t,r)}function Wj(e){var t,r;let n=e.split("e",2);return!(/[^\d.\-e]/.test(e)||Number((t=e.match(/-/g))===null||t===void 0?void 0:t.length)>2||Number((r=e.match(/\./g))===null||r===void 0?void 0:r.length)>1||n[1]&&!/^-?\d*$/.test(n[1]))}It.cut=(e,t,r)=>()=>{Er(t)&&Tr(r,t,"","deleteByCut")};function Kj(e){return e?Kt(e)?e.textContent:st(e):null}function Yj(e){let t=lt(e);for(let r=e;r!=null&&r.ownerDocument;r=r.parentElement){let{display:n,visibility:a}=t.getComputedStyle(r);if(n==="none"||a==="hidden")return!1}return!0}function Jj(e,t){let r=e.ownerDocument,n=r.querySelectorAll(kb),a=Array.from(n).filter(u=>u===e||!(Number(u.getAttribute("tabindex"))<0||vt(u)));Number(e.getAttribute("tabindex"))>=0&&a.sort((u,c)=>{let s=Number(u.getAttribute("tabindex")),d=Number(c.getAttribute("tabindex"));return s===d?0:s===0?1:d===0?-1:s-d});let o={},l=[r.body],i=Y(e,"input",{type:"radio"})?e.name:void 0;a.forEach(u=>{let c=u;if(Y(c,"input",{type:"radio"})&&c.name){if(c===e){l.push(c);return}else if(c.name===i)return;if(c.checked){l=l.filter(s=>!Y(s,"input",{type:"radio",name:c.name})),l.push(c),o[c.name]=c;return}if(typeof o[c.name]<"u")return}l.push(c)});for(let u=l.findIndex(c=>c===e);;)if(u+=t?-1:1,u===l.length?u=0:u===-1&&(u=l.length-1),l[u]===e||l[u]===r.body||Yj(l[u]))return l[u]}function ad(e,t){if(it(e)){let r=cn(e);Yt({focusNode:e,focusOffset:r.startOffset===r.endOffset?r.focusOffset+t:t<0?r.startOffset:r.endOffset})}else{let r=e.ownerDocument.getSelection();if(!(r!=null&&r.focusNode))return;if(r.isCollapsed){let n=zb(r.focusNode,r.focusOffset,t);n&&Yt({focusNode:n.node,focusOffset:n.offset})}else r[t<0?"collapseToStart":"collapseToEnd"]()}}function Kb(e){if(it(e))return Yt({focusNode:e,anchorOffset:0,focusOffset:st(e).length});var t;let r=(t=un(e))!==null&&t!==void 0?t:e.ownerDocument.body;Yt({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}function Xj(e){if(it(e))return cn(e).startOffset===0&&cn(e).endOffset===st(e).length;var t;let r=(t=un(e))!==null&&t!==void 0?t:e.ownerDocument.body,n=e.ownerDocument.getSelection();return(n==null?void 0:n.anchorNode)===r&&n.focusNode===r&&n.anchorOffset===0&&n.focusOffset===r.childNodes.length}function Lr(e,t,r){var n;if(it(e))return Yt({focusNode:e,anchorOffset:t,focusOffset:r});if(Kt(e)&&((n=e.firstChild)===null||n===void 0?void 0:n.nodeType)===3)return Yt({focusNode:e.firstChild,anchorOffset:t,focusOffset:r});throw new Error("Not implemented. The result of this interaction is unreliable.")}function An(e,t,r){let n=lt(t),a=Array.from(t.ownerDocument.querySelectorAll(t.name?`input[type="radio"][name="${n.CSS.escape(t.name)}"]`:'input[type="radio"][name=""], input[type="radio"]:not([name])'));for(let o=a.findIndex(l=>l===t)+r;;o+=r){if(a[o]||(o=r>0?0:a.length-1),a[o]===t)return;vt(a[o])||($t(a[o]),e.dispatchUIEvent(a[o],"click"))}}It.keydown=(e,t,r)=>{var n,a;return(a=(n=od[e.key])===null||n===void 0?void 0:n.call(od,e,t,r))!==null&&a!==void 0?a:Qj(e,t,r)};var od={ArrowDown:(e,t,r)=>{if(Y(t,"input",{type:"radio"}))return()=>An(r,t,-1)},ArrowLeft:(e,t,r)=>Y(t,"input",{type:"radio"})?()=>An(r,t,-1):()=>ad(t,-1),ArrowRight:(e,t,r)=>Y(t,"input",{type:"radio"})?()=>An(r,t,1):()=>ad(t,1),ArrowUp:(e,t,r)=>{if(Y(t,"input",{type:"radio"}))return()=>An(r,t,1)},Backspace:(e,t,r)=>{if(Er(t))return()=>{Tr(r,t,"","deleteContentBackward")}},Delete:(e,t,r)=>{if(Er(t))return()=>{Tr(r,t,"","deleteContentForward")}},End:(e,t)=>{if(Y(t,["input","textarea"])||Kt(t))return()=>{var r,n;let a=(n=(r=Kj(t))===null||r===void 0?void 0:r.length)!==null&&n!==void 0?n:0;Lr(t,a,a)}},Home:(e,t)=>{if(Y(t,["input","textarea"])||Kt(t))return()=>{Lr(t,0,0)}},PageDown:(e,t)=>{if(Y(t,["input"]))return()=>{let r=st(t).length;Lr(t,r,r)}},PageUp:(e,t)=>{if(Y(t,["input"]))return()=>{Lr(t,0,0)}},Tab:(e,t,r)=>()=>{let n=Jj(t,r.system.keyboard.modifiers.Shift);$t(n),it(n)&&jr(n,{anchorOffset:0,focusOffset:n.value.length})}},Qj=(e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return()=>Kb(t)};It.keypress=(e,t,r)=>{if(e.key==="Enter"){if(Y(t,"button")||Y(t,"input")&&Zj.includes(t.type)||Y(t,"a")&&t.href)return()=>{r.dispatchUIEvent(t,"click")};if(Y(t,"input")){let n=t.form,a=n==null?void 0:n.querySelector('input[type="submit"], button:not([type]), button[type="submit"]');return a?()=>r.dispatchUIEvent(a,"click"):n&&eN.includes(t.type)&&n.querySelectorAll("input").length===1?()=>r.dispatchUIEvent(n,"submit"):void 0}}if(Er(t)){let n=e.key==="Enter"?Kt(t)&&!r.system.keyboard.modifiers.Shift?"insertParagraph":"insertLineBreak":"insertText",a=e.key==="Enter"?` +`:e.key;return()=>Tr(r,t,a,n)}};var Zj=["button","color","file","image","reset","submit"],eN=["email","month","password","search","tel","text","url","week"];It.keyup=(e,t,r)=>{var n;return(n=ld[e.key])===null||n===void 0?void 0:n.call(ld,e,t,r)};var ld={" ":(e,t,r)=>{if(Mb(t))return()=>r.dispatchUIEvent(t,"click")}};It.paste=(e,t,r)=>{if(Er(t))return()=>{var n;let a=(n=e.clipboardData)===null||n===void 0?void 0:n.getData("text");a&&Tr(r,t,a,"insertFromPaste")}};var Yb={auxclick:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},beforeinput:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},click:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},contextmenu:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblclick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keydown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keypress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyup:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},mousedown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseenter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseleave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mousemove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseout:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseover:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseup:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerover:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerenter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerdown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointermove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerup:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointercancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerout:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerleave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}}};function Jb(e){return Yb[e].EventType}var tN=["MouseEvent","PointerEvent"];function rN(e){return tN.includes(Jb(e))}function nN(e){return Jb(e)==="KeyboardEvent"}var aN={ClipboardEvent:[lN],Event:[],InputEvent:[Mn,iN],MouseEvent:[Mn,Ho,id],PointerEvent:[Mn,Ho,id,uN],KeyboardEvent:[Mn,Ho,sN]};function Xb(e,t,r){let n=lt(t),{EventType:a,defaultInit:o}=Yb[e],l=new(oN(n))[a](e,o);return aN[a].forEach(i=>i(l,r??{})),l}function oN(e){var t;let r=(t=e.Event)!==null&&t!==void 0?t:class{};var n;let a=(n=e.AnimationEvent)!==null&&n!==void 0?n:class extends r{};var o;let l=(o=e.ClipboardEvent)!==null&&o!==void 0?o:class extends r{};var i;let u=(i=e.PopStateEvent)!==null&&i!==void 0?i:class extends r{};var c;let s=(c=e.ProgressEvent)!==null&&c!==void 0?c:class extends r{};var d;let f=(d=e.TransitionEvent)!==null&&d!==void 0?d:class extends r{};var p;let m=(p=e.UIEvent)!==null&&p!==void 0?p:class extends r{};var b;let h=(b=e.CompositionEvent)!==null&&b!==void 0?b:class extends m{};var y;let g=(y=e.FocusEvent)!==null&&y!==void 0?y:class extends m{};var E;let C=(E=e.InputEvent)!==null&&E!==void 0?E:class extends m{};var q;let _=(q=e.KeyboardEvent)!==null&&q!==void 0?q:class extends m{};var v;let w=(v=e.MouseEvent)!==null&&v!==void 0?v:class extends m{};var P;let j=(P=e.DragEvent)!==null&&P!==void 0?P:class extends w{};var $;let B=($=e.PointerEvent)!==null&&$!==void 0?$:class extends w{};var I;let A=(I=e.TouchEvent)!==null&&I!==void 0?I:class extends m{};return{Event:r,AnimationEvent:a,ClipboardEvent:l,PopStateEvent:u,ProgressEvent:s,TransitionEvent:f,UIEvent:m,CompositionEvent:h,FocusEvent:g,InputEvent:C,KeyboardEvent:_,MouseEvent:w,DragEvent:j,PointerEvent:B,TouchEvent:A}}function er(e,t){for(let[r,n]of Object.entries(t))Object.defineProperty(e,r,{get:()=>n??null})}function Ce(e){return Number(e??0)}function lN(e,{clipboardData:t}){er(e,{clipboardData:t})}function iN(e,{data:t,inputType:r,isComposing:n}){er(e,{data:t,isComposing:!!n,inputType:String(r)})}function Mn(e,{view:t,detail:r}){er(e,{view:t,detail:Ce(r??0)})}function Ho(e,{altKey:t,ctrlKey:r,metaKey:n,shiftKey:a,modifierAltGraph:o,modifierCapsLock:l,modifierFn:i,modifierFnLock:u,modifierNumLock:c,modifierScrollLock:s,modifierSymbol:d,modifierSymbolLock:f}){er(e,{altKey:!!t,ctrlKey:!!r,metaKey:!!n,shiftKey:!!a,getModifierState(p){return!!{Alt:t,AltGraph:o,CapsLock:l,Control:r,Fn:i,FnLock:u,Meta:n,NumLock:c,ScrollLock:s,Shift:a,Symbol:d,SymbolLock:f}[p]}})}function sN(e,{key:t,code:r,location:n,repeat:a,isComposing:o,charCode:l}){er(e,{key:String(t),code:String(r),location:Ce(n),repeat:!!a,isComposing:!!o,charCode:l})}function id(e,{x:t,y:r,screenX:n,screenY:a,clientX:o=t,clientY:l=r,button:i,buttons:u,relatedTarget:c}){er(e,{screenX:Ce(n),screenY:Ce(a),clientX:Ce(o),x:Ce(o),clientY:Ce(l),y:Ce(l),button:Ce(i),buttons:Ce(u),relatedTarget:c})}function uN(e,{pointerId:t,width:r,height:n,pressure:a,tangentialPressure:o,tiltX:l,tiltY:i,twist:u,pointerType:c,isPrimary:s}){er(e,{pointerId:Ce(t),width:Ce(r),height:Ce(n),pressure:Ce(a),tangentialPressure:Ce(o),tiltX:Ce(l),tiltY:Ce(i),twist:Ce(u),pointerType:String(c),isPrimary:!!s})}function cN(e,t,r,n=!1){(rN(t)||nN(t))&&(r={...r,...this.system.getUIEventModifiers()});let a=Xb(t,e,r);return Qb.call(this,e,a,n)}function Qb(e,t,r=!1){var n;let a=t.type,o=r?()=>{}:(n=It[a])===null||n===void 0?void 0:n.call(It,t,e,this);if(o){t.preventDefault();let l=!1;return Object.defineProperty(t,"defaultPrevented",{get:()=>l}),Object.defineProperty(t,"preventDefault",{value:()=>{l=t.cancelable}}),Pr(()=>e.dispatchEvent(t)),l||o(),!l}return Pr(()=>e.dispatchEvent(t))}function dN(e,t,r){let n=Xb(t,e,r);Pr(()=>e.dispatchEvent(n))}var Uo=Symbol("Interceptor for programmatical calls");function dr(e,t,r){let n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),a=Object.getOwnPropertyDescriptor(e,t),o=n!=null&&n.set?"set":"value";if(typeof(n==null?void 0:n[o])!="function"||n[o][Uo])throw new Error(`Element ${e.tagName} does not implement "${String(t)}".`);function l(...i){let{applyNative:u=!1,realArgs:c,then:s}=r.call(this,...i),d=(!u&&a||n)[o];o==="set"?d.call(this,c):d.call(this,...c),s==null||s()}l[Uo]=Uo,Object.defineProperty(e,t,{...a??n,[o]:l})}function pN(e){dr(e,"value",function(t){let r=Tj(t);return r&&Lj(this),{applyNative:!!r,realArgs:fN(this,t),then:r?void 0:()=>Dj(this,String(t))}})}function fN(e,t){return Y(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}function mN(e){dr(e,"setSelectionRange",function(t,...r){let n=Sj(t);return{applyNative:!!n,realArgs:[Number(t),...r],then:()=>n?void 0:Ln(e)}}),dr(e,"selectionStart",function(t){return{realArgs:t,then:()=>Ln(e)}}),dr(e,"selectionEnd",function(t){return{realArgs:t,then:()=>Ln(e)}}),dr(e,"select",function(){return{realArgs:[],then:()=>xj(e,{anchorOffset:0,focusOffset:st(e).length})}})}function hN(e){dr(e,"setRangeText",function(...t){return{realArgs:t,then:()=>{Os(e),Ln(e)}}})}var mr=Symbol("Node prepared with document state workarounds");function Zb(e){e[mr]||(e.addEventListener("focus",t=>{let r=t.target;sd(r)},{capture:!0,passive:!0}),e.activeElement&&sd(e.activeElement),e.addEventListener("blur",t=>{let r=t.target,n=Mj(r);n!==void 0&&(r.value!==n&&dN(r,"change"),Ub(r))},{capture:!0,passive:!0}),e[mr]=mr)}function sd(e){e[mr]||(Y(e,["input","textarea"])&&(pN(e),mN(e),hN(e)),e[mr]=mr)}function bN(e){return yN(e)?e:e.ownerDocument}function yN(e){return e.nodeType===9}function Sr(e){let t=e.delay;if(typeof t=="number")return Promise.all([new Promise(r=>globalThis.setTimeout(()=>r(),t)),e.advanceTimers(t)])}function rr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ve;(function(e){e[e.STANDARD=0]="STANDARD",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.NUMPAD=3]="NUMPAD"})(Ve||(Ve={}));var gN=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function ud(e){return gN.includes(e)}var vN=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function cd(e){return vN.includes(e)}var _N=class{isKeyPressed(e){return!!this.pressed[String(e.code)]}getPressedKeys(){return Object.values(this.pressed).map(e=>e.keyDef)}async keydown(e,t){var r,n,a;let o=String(t.key),l=String(t.code),i=Fo(e.config.document);this.setKeydownTarget(i);var u;(u=(r=this.pressed)[n=l])!==null&&u!==void 0||(r[n]={keyDef:t,unpreventedDefault:!1}),ud(o)&&(this.modifiers[o]=!0);let c=e.dispatchUIEvent(i,"keydown",{key:o,code:l});cd(o)&&!this.modifiers[o]&&(this.modifiers[o]=!0,this.modifierLockStart[o]=!0),(a=this.pressed[l]).unpreventedDefault||(a.unpreventedDefault=c),c&&this.hasKeyPress(o)&&e.dispatchUIEvent(Fo(e.config.document),"keypress",{key:o,code:l,charCode:t.key==="Enter"?13:String(t.key).charCodeAt(0)})}async keyup(e,t){let r=String(t.key),n=String(t.code),a=this.pressed[n].unpreventedDefault;delete this.pressed[n],ud(r)&&!Object.values(this.pressed).find(o=>o.keyDef.key===r)&&(this.modifiers[r]=!1),e.dispatchUIEvent(Fo(e.config.document),"keyup",{key:r,code:n},!a),cd(r)&&this.modifiers[r]&&(this.modifierLockStart[r]?this.modifierLockStart[r]=!1:this.modifiers[r]=!1)}setKeydownTarget(e){e!==this.lastKeydownTarget&&(this.carryChar=""),this.lastKeydownTarget=e}hasKeyPress(e){return(e.length===1||e==="Enter")&&!this.modifiers.Control&&!this.modifiers.Alt}constructor(e){rr(this,"system",void 0),rr(this,"modifiers",{Alt:!1,AltGraph:!1,CapsLock:!1,Control:!1,Fn:!1,FnLock:!1,Meta:!1,NumLock:!1,ScrollLock:!1,Shift:!1,Symbol:!1,SymbolLock:!1}),rr(this,"pressed",{}),rr(this,"carryChar",""),rr(this,"lastKeydownTarget",void 0),rr(this,"modifierLockStart",{}),this.system=e}},RN=[..."0123456789".split("").map(e=>({code:`Digit${e}`,key:e})),...")!@#$%^&*(".split("").map((e,t)=>({code:`Digit${t}`,key:e,shiftKey:!0})),..."abcdefghijklmnopqrstuvwxyz".split("").map(e=>({code:`Key${e.toUpperCase()}`,key:e})),..."ABCDEFGHIJKLMNOPQRSTUVWXYZ".split("").map(e=>({code:`Key${e}`,key:e,shiftKey:!0})),{code:"Space",key:" "},{code:"AltLeft",key:"Alt",location:Ve.LEFT},{code:"AltRight",key:"Alt",location:Ve.RIGHT},{code:"ShiftLeft",key:"Shift",location:Ve.LEFT},{code:"ShiftRight",key:"Shift",location:Ve.RIGHT},{code:"ControlLeft",key:"Control",location:Ve.LEFT},{code:"ControlRight",key:"Control",location:Ve.RIGHT},{code:"MetaLeft",key:"Meta",location:Ve.LEFT},{code:"MetaRight",key:"Meta",location:Ve.RIGHT},{code:"OSLeft",key:"OS",location:Ve.LEFT},{code:"OSRight",key:"OS",location:Ve.RIGHT},{code:"Tab",key:"Tab"},{code:"CapsLock",key:"CapsLock"},{code:"Backspace",key:"Backspace"},{code:"Enter",key:"Enter"},{code:"Escape",key:"Escape"},{code:"ArrowUp",key:"ArrowUp"},{code:"ArrowDown",key:"ArrowDown"},{code:"ArrowLeft",key:"ArrowLeft"},{code:"ArrowRight",key:"ArrowRight"},{code:"Home",key:"Home"},{code:"End",key:"End"},{code:"Delete",key:"Delete"},{code:"PageUp",key:"PageUp"},{code:"PageDown",key:"PageDown"},{code:"Fn",key:"Fn"},{code:"Symbol",key:"Symbol"},{code:"AltRight",key:"AltGraph"}],wN=[{name:"MouseLeft",pointerType:"mouse",button:"primary"},{name:"MouseRight",pointerType:"mouse",button:"secondary"},{name:"MouseMiddle",pointerType:"mouse",button:"auxiliary"},{name:"TouchA",pointerType:"touch"},{name:"TouchB",pointerType:"touch"},{name:"TouchC",pointerType:"touch"}];function CN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ey=class{getButtons(){let e=0;for(let t of Object.keys(this.pressed))e|=2**Number(t);return e}down(e){let t=Gl(e.button);if(t in this.pressed){this.pressed[t].push(e);return}return this.pressed[t]=[e],t}up(e){let t=Gl(e.button);if(t in this.pressed&&(this.pressed[t]=this.pressed[t].filter(r=>r.name!==e.name),this.pressed[t].length===0))return delete this.pressed[t],t}constructor(){CN(this,"pressed",{})}},dd={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function Gl(e=0){return e in dd?dd[e]:Number(e)}var pd={1:2,2:1};function fd(e){return e=Gl(e),e in pd?pd[e]:e}function qN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var EN=class{get countPressed(){return this.pressedKeys.size}isPressed(e){return this.pressedKeys.has(e.name)}addPressed(e){return this.pressedKeys.add(e.name)}removePressed(e){return this.pressedKeys.delete(e.name)}constructor(){qN(this,"pressedKeys",new Set)}};function zr(e,t){let r=[];for(let o=e;o;o=o.parentElement)r.push(o);let n=[];for(let o=t;o;o=o.parentElement)n.push(o);let a=0;for(;!(a>=r.length||a>=n.length||r[r.length-1-a]!==n[n.length-1-a]);a++);return[r.slice(0,r.length-a),n.slice(0,n.length-a),n.slice(n.length-a)]}function Wl({target:e,node:t,offset:r}){return it(e)?{node:e,offset:r??st(e).length}:t?{node:t,offset:r??(t.nodeType===3?t.nodeValue.length:t.childNodes.length)}:ty(e,r)}function ty(e,t,r=!0){let n=t===void 0?e.childNodes.length-1:0,a=t===void 0?-1:1;for(;t===void 0?n>=(r?Math.max(e.childNodes.length-1,0):0):n<=e.childNodes.length;){if(t&&n===e.childNodes.length)throw new Error("The given offset is out of bounds.");let o=e.childNodes.item(n),l=String(o.textContent);if(l.length)if(t!==void 0&&l.lengthe.end||o.offset0&&l.setEnd(o.node,o.offset);let u=t.getSelection();u==null||u.removeAllRanges(),u==null||u.addRange(l.cloneRange())}}function ry(e,t){var r,n,a,o,l,i,u,c;return e.target!==t.target||((r=e.coords)===null||r===void 0?void 0:r.x)!==((n=t.coords)===null||n===void 0?void 0:n.y)||((a=e.coords)===null||a===void 0?void 0:a.y)!==((o=t.coords)===null||o===void 0?void 0:o.y)||((l=e.caret)===null||l===void 0?void 0:l.node)!==((i=t.caret)===null||i===void 0?void 0:i.node)||((u=e.caret)===null||u===void 0?void 0:u.offset)!==((c=t.caret)===null||c===void 0?void 0:c.offset)}function Dt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var SN=class{move(e,t){let r=this.position,n=this.getTarget(e);if(this.position=t,!ry(r,t))return;let a=this.getTarget(e),o=this.getEventInit("mousemove"),[l,i]=zr(n,a);return{leave:()=>{n!==a&&(e.dispatchUIEvent(n,"mouseout",o),l.forEach(u=>e.dispatchUIEvent(u,"mouseleave",o)))},enter:()=>{n!==a&&(e.dispatchUIEvent(a,"mouseover",o),i.forEach(u=>e.dispatchUIEvent(u,"mouseenter",o)))},move:()=>{e.dispatchUIEvent(a,"mousemove",o),this.modifySelecting(e)}}}down(e,t,r){let n=this.buttons.down(t);if(n===void 0)return;let a=this.getTarget(e);this.buttonDownTarget[n]=a;let o=vt(a),l=this.getEventInit("mousedown",t.button);(o||e.dispatchUIEvent(a,"mousedown",l))&&(this.startSelecting(e,l.detail),$t(a)),!o&&fd(t.button)===2&&e.dispatchUIEvent(a,"contextmenu",this.getEventInit("contextmenu",t.button,r))}up(e,t,r){let n=this.buttons.up(t);if(n===void 0)return;let a=this.getTarget(e);if(!vt(a)){e.dispatchUIEvent(a,"mouseup",this.getEventInit("mouseup",t.button)),this.endSelecting();let o=zr(this.buttonDownTarget[n],a)[2][0];if(o){let l=this.getEventInit("click",t.button,r);l.detail&&(e.dispatchUIEvent(o,l.button===0?"click":"auxclick",l),l.button===0&&l.detail===2&&e.dispatchUIEvent(o,"dblclick",{...this.getEventInit("dblclick",t.button),detail:l.detail}))}}}resetClickCount(){this.clickCount.reset()}getEventInit(e,t,r){let n={...this.position.coords};return r&&(n.pointerId=r.pointerId,n.pointerType=r.pointerType,n.isPrimary=r.isPrimary),n.button=fd(t),n.buttons=this.buttons.getButtons(),e==="mousedown"?n.detail=this.clickCount.getOnDown(n.button):e==="mouseup"?n.detail=this.clickCount.getOnUp(n.button):(e==="click"||e==="auxclick")&&(n.detail=this.clickCount.incOnClick(n.button)),n}getTarget(e){var t;return(t=this.position.target)!==null&&t!==void 0?t:e.config.document.body}startSelecting(e,t){var r,n;this.selecting=PN({document:e.config.document,target:this.getTarget(e),node:(r=this.position.caret)===null||r===void 0?void 0:r.node,offset:(n=this.position.caret)===null||n===void 0?void 0:n.offset,clickCount:t})}modifySelecting(e){var t,r;this.selecting&&TN(this.selecting,{document:e.config.document,target:this.getTarget(e),node:(t=this.position.caret)===null||t===void 0?void 0:t.node,offset:(r=this.position.caret)===null||r===void 0?void 0:r.offset})}endSelecting(){this.selecting=void 0}constructor(){Dt(this,"position",{}),Dt(this,"buttons",new ey),Dt(this,"selecting",void 0),Dt(this,"buttonDownTarget",{}),Dt(this,"clickCount",new class{incOnClick(e){let t=this.down[e]===void 0?void 0:Number(this.down[e])+1;return this.count=this.count[e]===void 0?{}:{[e]:Number(this.count[e])+1},t}getOnDown(e){var t;this.down={[e]:(t=this.count[e])!==null&&t!==void 0?t:0};var r;return this.count={[e]:(r=this.count[e])!==null&&r!==void 0?r:0},Number(this.count[e])+1}getOnUp(e){return this.down[e]===void 0?void 0:Number(this.down[e])+1}reset(){this.count={}}constructor(){Dt(this,"down",{}),Dt(this,"count",{})}})}};function la(e,t){var r;return((r=ny(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}function AN(e){let t=lt(e);for(let r=e,n=[];r!=null&&r.ownerDocument;r=r.parentElement){n.push(r);let a=t.getComputedStyle(r).pointerEvents;if(a&&!["inherit","unset"].includes(a))return{pointerEvents:a,tree:n}}}var md=Symbol("Last check for pointer-events");function ny(e,t){let r=t[md];if(!(e.config.pointerEventsCheck!==fr.Never&&(!r||hd(e.config.pointerEventsCheck,fr.EachApiCall)&&r[Ie.Call]!==Tn(e,Ie.Call)||hd(e.config.pointerEventsCheck,fr.EachTrigger)&&r[Ie.Trigger]!==Tn(e,Ie.Trigger))))return r==null?void 0:r.result;let n=AN(t);return t[md]={[Ie.Call]:Tn(e,Ie.Call),[Ie.Trigger]:Tn(e,Ie.Trigger),result:n},n}function Dr(e,t){let r=ny(e,t);if((r==null?void 0:r.pointerEvents)==="none")throw new Error([`Unable to perform pointer interaction as the element ${r.tree.length>1?"inherits":"has"} \`pointer-events: none\`:`,"",MN(r.tree)].join(` +`))}function MN(e){return e.reverse().map((t,r)=>["".padEnd(r),t.tagName,t.id&&`#${t.id}`,t.hasAttribute("data-testid")&&`(testId=${t.getAttribute("data-testid")})`,xN(t),e.length>1&&r===0&&" <-- This element declared `pointer-events: none`",e.length>1&&r===e.length-1&&" <-- Asserted pointer events here"].filter(Boolean).join("")).join(` +`)}function xN(e){var t;let r;if(e.hasAttribute("aria-label"))r=e.getAttribute("aria-label");else if(e.hasAttribute("aria-labelledby")){var n,a;r=(a=e.ownerDocument.getElementById(e.getAttribute("aria-labelledby")))===null||a===void 0||(n=a.textContent)===null||n===void 0?void 0:n.trim()}else if(Y(e,["button","input","meter","output","progress","select","textarea"])&&!((t=e.labels)===null||t===void 0)&&t.length)r=Array.from(e.labels).map(l=>{var i;return(i=l.textContent)===null||i===void 0?void 0:i.trim()}).join("|");else if(Y(e,"button")){var o;r=(o=e.textContent)===null||o===void 0?void 0:o.trim()}return r=r==null?void 0:r.replace(/\n/g," "),Number(r==null?void 0:r.length)>30&&(r=`${r==null?void 0:r.substring(0,29)}…`),r?`(label=${r})`:""}function hd(e,t){return(e&t)>0}function Pt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var bd=class{init(e,t){this.position=t;let r=this.getTarget(e),[,n]=zr(null,r),a=this.getEventInit();return Dr(e,r),e.dispatchUIEvent(r,"pointerover",a),n.forEach(o=>e.dispatchUIEvent(o,"pointerenter",a)),this}move(e,t){let r=this.position,n=this.getTarget(e);if(this.position=t,!ry(r,t))return;let a=this.getTarget(e),o=this.getEventInit(),[l,i]=zr(n,a);return{leave:()=>{la(e,n)&&n!==a&&(e.dispatchUIEvent(n,"pointerout",o),l.forEach(u=>e.dispatchUIEvent(u,"pointerleave",o)))},enter:()=>{Dr(e,a),n!==a&&(e.dispatchUIEvent(a,"pointerover",o),i.forEach(u=>e.dispatchUIEvent(u,"pointerenter",o)))},move:()=>{e.dispatchUIEvent(a,"pointermove",o)}}}down(e,t){if(this.isDown)return;let r=this.getTarget(e);Dr(e,r),this.isDown=!0,this.isPrevented=!e.dispatchUIEvent(r,"pointerdown",this.getEventInit())}up(e,t){if(!this.isDown)return;let r=this.getTarget(e);Dr(e,r),this.isDown=!1,e.dispatchUIEvent(r,"pointerup",this.getEventInit())}release(e){let t=this.getTarget(e),[r]=zr(t,null),n=this.getEventInit();la(e,t)&&(e.dispatchUIEvent(t,"pointerout",n),r.forEach(a=>e.dispatchUIEvent(a,"pointerleave",n))),this.isCancelled=!0}getTarget(e){var t;return(t=this.position.target)!==null&&t!==void 0?t:e.config.document.body}getEventInit(){return{...this.position.coords,pointerId:this.pointerId,pointerType:this.pointerType,isPrimary:this.isPrimary}}constructor({pointerId:e,pointerType:t,isPrimary:r}){Pt(this,"pointerId",void 0),Pt(this,"pointerType",void 0),Pt(this,"isPrimary",void 0),Pt(this,"isMultitouch",!1),Pt(this,"isCancelled",!1),Pt(this,"isDown",!1),Pt(this,"isPrevented",!1),Pt(this,"position",{}),this.pointerId=e,this.pointerType=t,this.isPrimary=r,this.isMultitouch=!r}};function Ot(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var jN=class{isKeyPressed(e){return this.devices.get(e.pointerType).isPressed(e)}async press(e,t,r){let n=this.getPointerName(t),a=t.pointerType==="touch"?this.pointers.new(n,t).init(e,r):this.pointers.get(n);a.position=r,a.pointerType!=="touch"&&(this.mouse.position=r),this.devices.get(t.pointerType).addPressed(t),this.buttons.down(t),a.down(e,t),a.pointerType!=="touch"&&!a.isPrevented&&this.mouse.down(e,t,a)}async move(e,t,r){let n=this.pointers.get(t),a=n.move(e,r),o=n.pointerType==="touch"||n.isPrevented&&n.isDown?void 0:this.mouse.move(e,r);a==null||a.leave(),o==null||o.leave(),a==null||a.enter(),o==null||o.enter(),a==null||a.move(),o==null||o.move()}async release(e,t,r){let n=this.devices.get(t.pointerType);n.removePressed(t),this.buttons.up(t);let a=this.pointers.get(this.getPointerName(t));if(a.position=r,a.pointerType!=="touch"&&(this.mouse.position=r),n.countPressed===0&&a.up(e,t),a.pointerType==="touch"&&a.release(e),!a.isPrevented){if(a.pointerType==="touch"&&!a.isMultitouch){let o=this.mouse.move(e,a.position);o==null||o.leave(),o==null||o.enter(),o==null||o.move(),this.mouse.down(e,t,a)}if(!a.isMultitouch){let o=this.mouse.move(e,a.position);o==null||o.leave(),o==null||o.enter(),o==null||o.move(),this.mouse.up(e,t,a)}}}getPointerName(e){return e.pointerType==="touch"?e.name:e.pointerType}getPreviousPosition(e){return this.pointers.has(e)?this.pointers.get(e).position:void 0}resetClickCount(){this.mouse.resetClickCount()}getMouseTarget(e){var t;return(t=this.mouse.position.target)!==null&&t!==void 0?t:e.config.document.body}setMousePosition(e){this.mouse.position=e,this.pointers.get("mouse").position=e}constructor(e){Ot(this,"system",void 0),Ot(this,"mouse",void 0),Ot(this,"buttons",void 0),Ot(this,"devices",new class{get(t){var r,n,a;return(a=(r=this.registry)[n=t])!==null&&a!==void 0||(r[n]=new EN),this.registry[t]}constructor(){Ot(this,"registry",{})}}),Ot(this,"pointers",new class{new(t,r){let n=r.pointerType!=="touch"||!Object.values(this.registry).some(a=>a.pointerType==="touch"&&!a.isCancelled);return n||Object.values(this.registry).forEach(a=>{a.pointerType===r.pointerType&&!a.isCancelled&&(a.isMultitouch=!0)}),this.registry[t]=new bd({pointerId:this.nextId++,pointerType:r.pointerType,isPrimary:n}),this.registry[t]}get(t){if(!this.has(t))throw new Error(`Trying to access pointer "${t}" which does not exist.`);return this.registry[t]}has(t){return t in this.registry}constructor(){Ot(this,"registry",{mouse:new bd({pointerId:1,pointerType:"mouse",isPrimary:!0})}),Ot(this,"nextId",2)}}),this.system=e,this.buttons=new ey,this.mouse=new SN}};function yd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ay=class{getUIEventModifiers(){return{altKey:this.keyboard.modifiers.Alt,ctrlKey:this.keyboard.modifiers.Control,metaKey:this.keyboard.modifiers.Meta,shiftKey:this.keyboard.modifiers.Shift,modifierAltGraph:this.keyboard.modifiers.AltGraph,modifierCapsLock:this.keyboard.modifiers.CapsLock,modifierFn:this.keyboard.modifiers.Fn,modifierFnLock:this.keyboard.modifiers.FnLock,modifierNumLock:this.keyboard.modifiers.NumLock,modifierScrollLock:this.keyboard.modifiers.ScrollLock,modifierSymbol:this.keyboard.modifiers.Symbol,modifierSymbolLock:this.keyboard.modifiers.SymbolLock}}constructor(){yd(this,"keyboard",new _N(this)),yd(this,"pointer",new jN(this))}};async function NN(e){let t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}async function $N(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}async function IN(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}async function BN(e){return this.pointer({target:e})}async function kN(e){return Dr(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}async function LN({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}function DN(e,t){let r=[];do{let{type:a,descriptor:o,consumedLength:l,releasePrevious:i,releaseSelf:u=!0,repeat:c}=Lb(t,"keyboard");var n;let s=(n=e.find(d=>{if(a==="["){var f;return((f=d.code)===null||f===void 0?void 0:f.toLowerCase())===o.toLowerCase()}else if(a==="{"){var p;return((p=d.key)===null||p===void 0?void 0:p.toLowerCase())===o.toLowerCase()}return d.key===o}))!==null&&n!==void 0?n:{key:"Unknown",code:"Unknown",[a==="["?"code":"key"]:o};r.push({keyDef:s,releasePrevious:i,releaseSelf:u,repeat:c}),t=t.slice(l)}while(t);return r}async function FN(e){let t=DN(this.config.keyboardMap,e);for(let r=0;r{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(n,"paste",{clipboardData:o})}function KN(e,t){let r=qs(lt(e));return r.setData("text",t),r}function gd(e,t){let r=[];do{let{descriptor:n,consumedLength:a,releasePrevious:o,releaseSelf:l=!0}=Lb(t,"pointer"),i=e.find(u=>u.name===n);i&&r.push({keyDef:i,releasePrevious:o,releaseSelf:l}),t=t.slice(a)}while(t);return r}async function YN(e){let{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="string"?r.push(...gd(t,n)):"keys"in n?r.push(...gd(t,n.keys).map(a=>({...n,...a}))):r.push(n)});for(let n=0;n{if(typeof i!="string"&&a.includes(i))return i;{let u=a.find(c=>c.value===i||c.innerHTML===i);if(u)return u;throw X().getElementError(`Value "${String(i)}" not found in options`,t)}}).filter(i=>!vt(i));if(vt(t)||!o.length)return;let l=i=>{i.selected=e,this.dispatchUIEvent(t,"input",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(t,"change")};if(Y(t,"select"))if(t.multiple)for(let i of o){let u=this.config.pointerEventsCheck===0?!0:la(this,i);u&&(this.dispatchUIEvent(i,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(i,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(i,"pointermove"),this.dispatchUIEvent(i,"mousemove"),this.dispatchUIEvent(i,"pointerdown"),this.dispatchUIEvent(i,"mousedown")),$t(t),u&&(this.dispatchUIEvent(i,"pointerup"),this.dispatchUIEvent(i,"mouseup")),l(i),u&&this.dispatchUIEvent(i,"click"),await Sr(this.config)}else if(o.length===1){let i=this.config.pointerEventsCheck===0?!0:la(this,t);i?await this.click(t):$t(t),l(o[0]),i&&(this.dispatchUIEvent(t,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(t,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(t,"pointerup"),this.dispatchUIEvent(t,"mouseup"),this.dispatchUIEvent(t,"click")),await Sr(this.config)}else throw X().getElementError("Cannot select multiple options on a non-multiple select",t);else if(t.getAttribute("role")==="listbox")for(let i of o)await this.click(i),await this.unhover(i);else throw X().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}async function t$(e,t,{skipClick:r=this.config.skipClick,skipAutoClose:n=this.config.skipAutoClose,initialSelectionStart:a,initialSelectionEnd:o}={}){e.disabled||(r||await this.click(e),a!==void 0&&Lr(e,a,o??a),await this.keyboard(t),n||await UN(this))}var _d=Symbol("files and value properties are mocked");function Vo(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}function r$(e,t){var r;(r=e[_d])===null||r===void 0||r.restore();let n=Object.getOwnPropertyDescriptor(e,"type"),a=Object.getOwnPropertyDescriptor(e,"value"),o=Object.getOwnPropertyDescriptor(e,"files");function l(){Vo(e,"type",n),Vo(e,"value",a),Vo(e,"files",o)}e[_d]={restore:l},Object.defineProperties(e,{files:{configurable:!0,get:()=>t},value:{configurable:!0,get:()=>t.length?`C:\\fakepath\\${t[0].name}`:"",set(i){if(i==="")l();else{var u;a==null||(u=a.set)===null||u===void 0||u.call(e,i)}}},type:{configurable:!0,get:()=>"file",set(i){i!=="file"&&(l(),e.type=i)}}})}async function n$(e,t){let r=Y(e,"label")?e.control:e;if(!r||!Y(r,"input",{type:"file"}))throw new TypeError(`The ${r===e?"given":"associated"} ${r==null?void 0:r.tagName} element does not accept file uploads`);if(vt(e))return;let n=(Array.isArray(t)?t:[t]).filter(o=>!this.config.applyAccept||a$(o,r.accept)).slice(0,r.multiple?void 0:1),a=()=>{var o;n.length===((o=r.files)===null||o===void 0?void 0:o.length)&&n.every((l,i)=>{var u;return l===((u=r.files)===null||u===void 0?void 0:u.item(i))})||(r$(r,Cs(lt(e),n)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))};r.addEventListener("fileDialog",a),await this.click(e),r.removeEventListener("fileDialog",a)}function a$(e,t){if(!t)return!0;let r=["audio/*","image/*","video/*"];return t.split(",").some(n=>n.startsWith(".")?e.name.endsWith(n):r.includes(n)?e.type.startsWith(n.substr(0,n.length-1)):e.type===n)}var Rd={click:NN,dblClick:$N,tripleClick:IN,hover:BN,unhover:kN,tab:LN,keyboard:FN,copy:zN,cut:GN,paste:WN,pointer:YN,clear:QN,deselectOptions:e$,selectOptions:ZN,type:t$,upload:n$};function o$(e){return X().asyncWrapper(e)}var iy={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:RN,pointerMap:wN,pointerEventsCheck:fr.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:()=>Promise.resolve()},l$={...iy,writeToClipboard:!0};function sy(e={},t=l$,r){let n=c$(e,r,t);return{...t,...e,document:n}}function i$(e={}){let t=sy(e);Zb(t.document);var r;let n=(r=t.document.defaultView)!==null&&r!==void 0?r:globalThis.window;return fj(n),Ss(t).api}function Ne({keyboardState:e,pointerState:t,...r}={},n){let a=sy(r,iy,n);Zb(a.document);var o;let l=(o=t??e)!==null&&o!==void 0?o:new ay;return{api:Ss(a,l).api,system:l}}function s$(e){return Ss({...this.config,...e},this.system).api}function u$(e,t){function r(...n){return kr(e,Ie.Call),o$(()=>t.apply(e,n).then(async a=>(await Sr(e.config),a)))}return Object.defineProperty(r,"name",{get:()=>t.name}),r}function Ss(e,t=new ay){let r={};return Object.assign(r,{config:e,dispatchEvent:Qb.bind(r),dispatchUIEvent:cN.bind(r),system:t,levelRefs:{},...Rd}),{instance:r,api:{...Object.fromEntries(Object.entries(Rd).map(([n,a])=>[n,u$(r,a)])),setup:s$.bind(r)}}}function c$(e,t,r){var n,a;return(a=(n=e.document)!==null&&n!==void 0?n:t&&bN(t))!==null&&a!==void 0?a:r.document}var uy={};si(uy,{clear:()=>d$,click:()=>p$,copy:()=>f$,cut:()=>m$,dblClick:()=>h$,deselectOptions:()=>b$,hover:()=>y$,keyboard:()=>g$,paste:()=>_$,pointer:()=>v$,selectOptions:()=>R$,tab:()=>P$,tripleClick:()=>w$,type:()=>C$,unhover:()=>q$,upload:()=>E$});function d$(e){return Ne().api.clear(e)}function p$(e,t={}){return Ne(t,e).api.click(e)}function f$(e={}){return Ne(e).api.copy()}function m$(e={}){return Ne(e).api.cut()}function h$(e,t={}){return Ne(t).api.dblClick(e)}function b$(e,t,r={}){return Ne(r).api.deselectOptions(e,t)}function y$(e,t={}){return Ne(t).api.hover(e)}async function g$(e,t={}){let{api:r,system:n}=Ne(t);return r.keyboard(e).then(()=>n)}async function v$(e,t={}){let{api:r,system:n}=Ne(t);return r.pointer(e).then(()=>n)}function _$(e,t){return Ne(t).api.paste(e)}function R$(e,t,r={}){return Ne(r).api.selectOptions(e,t)}function w$(e,t={}){return Ne(t).api.tripleClick(e)}function C$(e,t,r={}){return Ne(r,e).api.type(e,t,r)}function q$(e,t={}){let{api:r,system:n}=Ne(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}function E$(e,t,r={}){return Ne(r).api.upload(e,t)}function P$(e={}){return Ne().api.tab(e)}var O$={...uy,setup:i$};function T$(e){for(var t=[],r=1;rt[0]==="fireEvent"||e.startsWith("find")||e.startsWith("waitFor")});Kl.screen=new Proxy(Kl.screen,{get(e,t,r){return i_.warn(S$` + You are using Testing Library's \`screen\` object. Use \`within(canvasElement)\` instead. + More info: https://storybook.js.org/docs/essentials/interactions + `),Reflect.get(e,t,r)}});var{buildQueries:L$,configure:D$,createEvent:F$,fireEvent:H$,findAllByAltText:U$,findAllByDisplayValue:V$,findAllByLabelText:z$,findAllByPlaceholderText:G$,findAllByRole:W$,findAllByTestId:K$,findAllByText:Y$,findAllByTitle:J$,findByAltText:X$,findByDisplayValue:Q$,findByLabelText:Z$,findByPlaceholderText:eI,findByRole:tI,findByTestId:rI,findByText:nI,findByTitle:aI,getAllByAltText:oI,getAllByDisplayValue:lI,getAllByLabelText:iI,getAllByPlaceholderText:sI,getAllByRole:uI,getAllByTestId:cI,getAllByText:dI,getAllByTitle:pI,getByAltText:fI,getByDisplayValue:mI,getByLabelText:hI,getByPlaceholderText:bI,getByRole:yI,getByTestId:gI,getByText:vI,getByTitle:_I,getConfig:RI,getDefaultNormalizer:wI,getElementError:CI,getNodeText:qI,getQueriesForElement:EI,getRoles:PI,getSuggestedQuery:OI,isInaccessible:TI,logDOM:SI,logRoles:AI,prettyDOM:MI,queries:xI,queryAllByAltText:jI,queryAllByAttribute:NI,queryAllByDisplayValue:$I,queryAllByLabelText:II,queryAllByPlaceholderText:BI,queryAllByRole:kI,queryAllByTestId:LI,queryAllByText:DI,queryAllByTitle:FI,queryByAltText:HI,queryByAttribute:UI,queryByDisplayValue:VI,queryByLabelText:zI,queryByPlaceholderText:GI,queryByRole:WI,queryByTestId:KI,queryByText:YI,queryByTitle:JI,queryHelpers:XI,screen:QI,waitFor:ZI,waitForElementToBeRemoved:e2,within:A$,prettyFormat:t2}=Kl,{userEvent:r2}=li({userEvent:O$},{intercept:!0}),{expect:n2}=li({expect:ah},{getKeys:(e,t)=>{let r=["assert","__methods","__flags","_obj"];if(e.constructor===T){let n=Object.keys(Object.getPrototypeOf(e)).filter(a=>!r.includes(a));return t>2?n:[...n,"not"]}return Object.keys(e)},intercept:e=>e!=="expect"}),M$=({parameters:e})=>{var t,r,n;((t=e==null?void 0:e.test)==null?void 0:t.mockReset)===!0?eM():((r=e==null?void 0:e.test)==null?void 0:r.clearMocks)===!0?ZA():((n=e==null?void 0:e.test)==null?void 0:n.restoreMocks)!==!1&&tM()},Yl=(e,t=0,r)=>{var n;if(t>5||e==null)return e;if(Km(e))return r&&e.mockName(r),e;if(typeof e=="function"&&"isAction"in e&&e.isAction&&!("implicit"in e&&e.implicit)){let a=XA(e);return r&&a.mockName(r),a}if(Array.isArray(e))return t++,e.map(a=>Yl(a,t));if(typeof e=="object"&&e.constructor===Object){t++;for(let[a,o]of Object.entries(e))(n=Object.getOwnPropertyDescriptor(e,a))!=null&&n.writable&&(e[a]=Yl(o,t,a));return e}return e},x$=({initialArgs:e})=>{Yl(e)},j$=e=>{globalThis.HTMLElement&&e.canvasElement instanceof globalThis.HTMLElement&&(e.canvas=A$(e.canvasElement))};op.__STORYBOOK_TEST_LOADERS__=[M$,x$,j$];op.__STORYBOOK_TEST_ON_MOCK_CALL__=JA;export{L$ as buildQueries,ZA as clearAllMocks,D$ as configure,F$ as createEvent,n2 as expect,U$ as findAllByAltText,V$ as findAllByDisplayValue,z$ as findAllByLabelText,G$ as findAllByPlaceholderText,W$ as findAllByRole,K$ as findAllByTestId,Y$ as findAllByText,J$ as findAllByTitle,X$ as findByAltText,Q$ as findByDisplayValue,Z$ as findByLabelText,eI as findByPlaceholderText,tI as findByRole,rI as findByTestId,nI as findByText,aI as findByTitle,H$ as fireEvent,XA as fn,oI as getAllByAltText,lI as getAllByDisplayValue,iI as getAllByLabelText,sI as getAllByPlaceholderText,uI as getAllByRole,cI as getAllByTestId,dI as getAllByText,pI as getAllByTitle,fI as getByAltText,mI as getByDisplayValue,hI as getByLabelText,bI as getByPlaceholderText,yI as getByRole,gI as getByTestId,vI as getByText,_I as getByTitle,RI as getConfig,wI as getDefaultNormalizer,CI as getElementError,qI as getNodeText,EI as getQueriesForElement,PI as getRoles,OI as getSuggestedQuery,TI as isInaccessible,Km as isMockFunction,SI as logDOM,AI as logRoles,xa as mocks,JA as onMockCall,MI as prettyDOM,t2 as prettyFormat,xI as queries,jI as queryAllByAltText,NI as queryAllByAttribute,$I as queryAllByDisplayValue,II as queryAllByLabelText,BI as queryAllByPlaceholderText,kI as queryAllByRole,LI as queryAllByTestId,DI as queryAllByText,FI as queryAllByTitle,HI as queryByAltText,UI as queryByAttribute,VI as queryByDisplayValue,zI as queryByLabelText,GI as queryByPlaceholderText,WI as queryByRole,KI as queryByTestId,YI as queryByText,JI as queryByTitle,XI as queryHelpers,eM as resetAllMocks,tM as restoreAllMocks,QI as screen,Yl as traverseArgs,r2 as userEvent,ZI as waitFor,e2 as waitForElementToBeRemoved,A$ as within}; diff --git a/storybook-static/assets/index-DJO9vBfz.js b/storybook-static/assets/index-DJO9vBfz.js new file mode 100644 index 0000000..5e71ffd --- /dev/null +++ b/storybook-static/assets/index-DJO9vBfz.js @@ -0,0 +1,9 @@ +var X=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function D(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var $={exports:{}},r={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var y=Symbol.for("react.element"),V=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),F=Symbol.for("react.strict_mode"),U=Symbol.for("react.profiler"),q=Symbol.for("react.provider"),L=Symbol.for("react.context"),M=Symbol.for("react.forward_ref"),N=Symbol.for("react.suspense"),z=Symbol.for("react.memo"),B=Symbol.for("react.lazy"),b=Symbol.iterator;function H(e){return e===null||typeof e!="object"?null:(e=b&&e[b]||e["@@iterator"],typeof e=="function"?e:null)}var C={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,j={};function p(e,t,n){this.props=e,this.context=t,this.refs=j,this.updater=n||C}p.prototype.isReactComponent={};p.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};p.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function O(){}O.prototype=p.prototype;function m(e,t,n){this.props=e,this.context=t,this.refs=j,this.updater=n||C}var S=m.prototype=new O;S.constructor=m;g(S,p.prototype);S.isPureReactComponent=!0;var R=Array.isArray,x=Object.prototype.hasOwnProperty,w={current:null},P={key:!0,ref:!0,__self:!0,__source:!0};function I(e,t,n){var u,o={},c=null,s=null;if(t!=null)for(u in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(c=""+t.key),t)x.call(t,u)&&!P.hasOwnProperty(u)&&(o[u]=t[u]);var f=arguments.length-2;if(f===1)o.children=n;else if(1t.startsWith(e)?{type:e,text:e}:null}function h(e){let t=0,r;const s=e[0];let c=!1;if(s!=="'"&&s!=='"')return null;for(;t{const t=ae(e);return t==null?null:{type:"Identifier",text:t}};function P(e){return t=>{if(!t.startsWith(e))return null;const r=t[e.length];return r!==void 0&&N.test(r)?null:{type:e,text:e}}}const oe=e=>{const t=h(e);return t==null?null:{type:"StringValue",text:t}},Ut=e=>e.length>0?null:{type:"EOF",text:""},Vt=e=>{const t=W(e);return t===null?null:{type:"Number",text:t}},Kt=[Ut,m("=>"),m("("),m(")"),m("{"),m("}"),m("["),m("]"),m("|"),m("&"),m("<"),m(">"),m(","),m(";"),m("*"),m("?"),m("!"),m("="),m(":"),m("..."),m("."),m("#"),m("~"),m("/"),m("@"),P("undefined"),P("null"),P("function"),P("this"),P("new"),P("module"),P("event"),P("external"),P("typeof"),P("keyof"),P("readonly"),P("import"),P("is"),P("in"),P("asserts"),Vt,X,oe],Dt=/^\s*\n\s*/;class D{static create(t){const r=this.read(t);t=r.text;const s=this.read(t);return t=s.text,new D(t,void 0,r.token,s.token)}constructor(t,r,s,c){this.text="",this.text=t,this.previous=r,this.current=s,this.next=c}static read(t,r=!1){r=r||Dt.test(t),t=t.trim();for(const s of Kt){const c=s(t);if(c!==null){const d=Object.assign(Object.assign({},c),{startOfLine:r});return t=t.slice(d.text.length),{text:t,token:d}}}throw new Error("Unexpected Token "+t)}advance(){const t=D.read(this.text);return new D(t.text,this.current,this.next,t.token)}}function w(e){if(e===void 0)throw new Error("Unexpected undefined");if(e.type==="JsdocTypeKeyValue"||e.type==="JsdocTypeParameterList"||e.type==="JsdocTypeProperty"||e.type==="JsdocTypeReadonlyProperty"||e.type==="JsdocTypeObjectField"||e.type==="JsdocTypeJsdocObjectField"||e.type==="JsdocTypeIndexSignature"||e.type==="JsdocTypeMappedType")throw new y(e);return e}function se(e){return e.type==="JsdocTypeKeyValue"?Q(e):w(e)}function $t(e){return e.type==="JsdocTypeName"?e:Q(e)}function Q(e){if(e.type!=="JsdocTypeKeyValue")throw new y(e);return e}function qt(e){var t;if(e.type==="JsdocTypeVariadic"){if(((t=e.element)===null||t===void 0?void 0:t.type)==="JsdocTypeName")return e;throw new y(e)}if(e.type!=="JsdocTypeNumber"&&e.type!=="JsdocTypeName")throw new y(e);return e}function ie(e){return e.type==="JsdocTypeIndexSignature"||e.type==="JsdocTypeMappedType"}var f;(function(e){e[e.ALL=0]="ALL",e[e.PARAMETER_LIST=1]="PARAMETER_LIST",e[e.OBJECT=2]="OBJECT",e[e.KEY_VALUE=3]="KEY_VALUE",e[e.INDEX_BRACKETS=4]="INDEX_BRACKETS",e[e.UNION=5]="UNION",e[e.INTERSECTION=6]="INTERSECTION",e[e.PREFIX=7]="PREFIX",e[e.INFIX=8]="INFIX",e[e.TUPLE=9]="TUPLE",e[e.SYMBOL=10]="SYMBOL",e[e.OPTIONAL=11]="OPTIONAL",e[e.NULLABLE=12]="NULLABLE",e[e.KEY_OF_TYPE_OF=13]="KEY_OF_TYPE_OF",e[e.FUNCTION=14]="FUNCTION",e[e.ARROW=15]="ARROW",e[e.ARRAY_BRACKETS=16]="ARRAY_BRACKETS",e[e.GENERIC=17]="GENERIC",e[e.NAME_PATH=18]="NAME_PATH",e[e.PARENTHESIS=19]="PARENTHESIS",e[e.SPECIAL_TYPES=20]="SPECIAL_TYPES"})(f||(f={}));class U{constructor(t,r,s){this.grammar=t,typeof r=="string"?this._lexer=D.create(r):this._lexer=r,this.baseParser=s}get lexer(){return this._lexer}parse(){const t=this.parseType(f.ALL);if(this.lexer.current.type!=="EOF")throw new u(this.lexer.current);return t}parseType(t){return w(this.parseIntermediateType(t))}parseIntermediateType(t){const r=this.tryParslets(null,t);if(r===null)throw new p(this.lexer.current);return this.parseInfixIntermediateType(r,t)}parseInfixIntermediateType(t,r){let s=this.tryParslets(t,r);for(;s!==null;)t=s,s=this.tryParslets(t,r);return t}tryParslets(t,r){for(const s of this.grammar){const c=s(this,r,t);if(c!==null)return c}return null}consume(t){return Array.isArray(t)||(t=[t]),t.includes(this.lexer.current.type)?(this._lexer=this.lexer.advance(),!0):!1}acceptLexerState(t){this._lexer=t.lexer}}function Ae(e){return e==="EOF"||e==="|"||e===","||e===")"||e===">"}const le=(e,t,r)=>{const s=e.lexer.current.type,c=e.lexer.next.type;return r==null&&s==="?"&&!Ae(c)||r!=null&&s==="?"?(e.consume("?"),r==null?{type:"JsdocTypeNullable",element:e.parseType(f.NULLABLE),meta:{position:"prefix"}}:{type:"JsdocTypeNullable",element:w(r),meta:{position:"suffix"}}):null};function g(e){const t=(r,s,c)=>{const d=r.lexer.current.type,T=r.lexer.next.type;if(c===null){if("parsePrefix"in e&&e.accept(d,T))return e.parsePrefix(r)}else if("parseInfix"in e&&e.precedence>s&&e.accept(d,T))return e.parseInfix(r,c);return null};return Object.defineProperty(t,"name",{value:e.name}),t}const H=g({name:"optionalParslet",accept:e=>e==="=",precedence:f.OPTIONAL,parsePrefix:e=>(e.consume("="),{type:"JsdocTypeOptional",element:e.parseType(f.OPTIONAL),meta:{position:"prefix"}}),parseInfix:(e,t)=>(e.consume("="),{type:"JsdocTypeOptional",element:w(t),meta:{position:"suffix"}})}),z=g({name:"numberParslet",accept:e=>e==="Number",parsePrefix:e=>{const t=parseFloat(e.lexer.current.text);return e.consume("Number"),{type:"JsdocTypeNumber",value:t}}}),Mt=g({name:"parenthesisParslet",accept:e=>e==="(",parsePrefix:e=>{if(e.consume("("),e.consume(")"))return{type:"JsdocTypeParameterList",elements:[]};const t=e.parseIntermediateType(f.ALL);if(!e.consume(")"))throw new Error("Unterminated parenthesis");return t.type==="JsdocTypeParameterList"?t:t.type==="JsdocTypeKeyValue"?{type:"JsdocTypeParameterList",elements:[t]}:{type:"JsdocTypeParenthesis",element:w(t)}}}),Bt=g({name:"specialTypesParslet",accept:(e,t)=>e==="?"&&Ae(t)||e==="null"||e==="undefined"||e==="*",parsePrefix:e=>{if(e.consume("null"))return{type:"JsdocTypeNull"};if(e.consume("undefined"))return{type:"JsdocTypeUndefined"};if(e.consume("*"))return{type:"JsdocTypeAny"};if(e.consume("?"))return{type:"JsdocTypeUnknown"};throw new Error("Unacceptable token: "+e.lexer.current.text)}}),Ct=g({name:"notNullableParslet",accept:e=>e==="!",precedence:f.NULLABLE,parsePrefix:e=>(e.consume("!"),{type:"JsdocTypeNotNullable",element:e.parseType(f.NULLABLE),meta:{position:"prefix"}}),parseInfix:(e,t)=>(e.consume("!"),{type:"JsdocTypeNotNullable",element:w(t),meta:{position:"suffix"}})});function Yt({allowTrailingComma:e}){return g({name:"parameterListParslet",accept:t=>t===",",precedence:f.PARAMETER_LIST,parseInfix:(t,r)=>{const s=[se(r)];t.consume(",");do try{const c=t.parseIntermediateType(f.PARAMETER_LIST);s.push(se(c))}catch(c){if(c instanceof p)break;throw c}while(t.consume(","));if(s.length>0&&s.slice(0,-1).some(c=>c.type==="JsdocTypeVariadic"))throw new Error("Only the last parameter may be a rest parameter");return{type:"JsdocTypeParameterList",elements:s}}})}const Gt=g({name:"genericParslet",accept:(e,t)=>e==="<"||e==="."&&t==="<",precedence:f.GENERIC,parseInfix:(e,t)=>{const r=e.consume(".");e.consume("<");const s=[];do s.push(e.parseType(f.PARAMETER_LIST));while(e.consume(","));if(!e.consume(">"))throw new Error("Unterminated generic parameter list");return{type:"JsdocTypeGeneric",left:w(t),elements:s,meta:{brackets:"angle",dot:r}}}}),Wt=g({name:"unionParslet",accept:e=>e==="|",precedence:f.UNION,parseInfix:(e,t)=>{e.consume("|");const r=[];do r.push(e.parseType(f.UNION));while(e.consume("|"));return{type:"JsdocTypeUnion",elements:[w(t),...r]}}}),ce=[le,H,z,Mt,Bt,Ct,Yt({allowTrailingComma:!0}),Gt,Wt,H];function Z({allowSquareBracketsOnAnyType:e,allowJsdocNamePaths:t,pathGrammar:r}){return function(c,d,T){if(T==null||d>=f.NAME_PATH)return null;const J=c.lexer.current.type,k=c.lexer.next.type;if(!(J==="."&&k!=="<"||J==="["&&(e||T.type==="JsdocTypeName")||t&&(J==="~"||J==="#")))return null;let x,ne=!1;c.consume(".")?x="property":c.consume("[")?(x="property-brackets",ne=!0):c.consume("~")?x="inner":(c.consume("#"),x="instance");const $e=r!==null?new U(r,c.lexer,c):c,O=$e.parseIntermediateType(f.NAME_PATH);c.acceptLexerState($e);let M;switch(O.type){case"JsdocTypeName":M={type:"JsdocTypeProperty",value:O.value,meta:{quote:void 0}};break;case"JsdocTypeNumber":M={type:"JsdocTypeProperty",value:O.value.toString(10),meta:{quote:void 0}};break;case"JsdocTypeStringValue":M={type:"JsdocTypeProperty",value:O.value,meta:{quote:O.meta.quote}};break;case"JsdocTypeSpecialNamePath":if(O.specialType==="event")M=O;else throw new y(O,"Type 'JsdocTypeSpecialNamePath' is only allowed with specialType 'event'");break;default:throw new y(O,"Expecting 'JsdocTypeName', 'JsdocTypeNumber', 'JsdocStringValue' or 'JsdocTypeSpecialNamePath'")}if(ne&&!c.consume("]")){const qe=c.lexer.current;throw new Error(`Unterminated square brackets. Next token is '${qe.type}' with text '${qe.text}'`)}return{type:"JsdocTypeNamePath",left:w(T),right:M,pathType:x}}}function I({allowedAdditionalTokens:e}){return g({name:"nameParslet",accept:t=>t==="Identifier"||t==="this"||t==="new"||e.includes(t),parsePrefix:t=>{const{type:r,text:s}=t.lexer.current;return t.consume(r),{type:"JsdocTypeName",value:s}}})}const $=g({name:"stringValueParslet",accept:e=>e==="StringValue",parsePrefix:e=>{const t=e.lexer.current.text;return e.consume("StringValue"),{type:"JsdocTypeStringValue",value:t.slice(1,-1),meta:{quote:t[0]==="'"?"single":"double"}}}});function ee({pathGrammar:e,allowedTypes:t}){return g({name:"specialNamePathParslet",accept:r=>t.includes(r),parsePrefix:r=>{const s=r.lexer.current.type;if(r.consume(s),!r.consume(":"))return{type:"JsdocTypeName",value:s};let c,d=r.lexer.current;if(r.consume("StringValue"))c={type:"JsdocTypeSpecialNamePath",value:d.text.slice(1,-1),specialType:s,meta:{quote:d.text[0]==="'"?"single":"double"}};else{let k="";const v=["Identifier","@","/"];for(;v.some(x=>r.consume(x));)k+=d.text,d=r.lexer.current;c={type:"JsdocTypeSpecialNamePath",value:k,specialType:s,meta:{quote:void 0}}}const T=new U(e,r.lexer,r),J=T.parseInfixIntermediateType(c,f.ALL);return r.acceptLexerState(T),w(J)}})}const Re=[I({allowedAdditionalTokens:["external","module"]}),$,z,Z({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:null})],V=[...Re,ee({allowedTypes:["event"],pathGrammar:Re})];function pe(e){let t;if(e.type==="JsdocTypeParameterList")t=e.elements;else if(e.type==="JsdocTypeParenthesis")t=[e.element];else throw new y(e);return t.map(r=>se(r))}function Xt(e){const t=pe(e);if(t.some(r=>r.type==="JsdocTypeKeyValue"))throw new Error("No parameter should be named");return t}function ue({allowNamedParameters:e,allowNoReturnType:t,allowWithoutParenthesis:r,allowNewAsFunctionKeyword:s}){return g({name:"functionParslet",accept:(c,d)=>c==="function"||s&&c==="new"&&d==="(",parsePrefix:c=>{const d=c.consume("new");c.consume("function");const T=c.lexer.current.type==="(";if(!T){if(!r)throw new Error("function is missing parameter list");return{type:"JsdocTypeName",value:"function"}}let J={type:"JsdocTypeFunction",parameters:[],arrow:!1,constructor:d,parenthesis:T};const k=c.parseIntermediateType(f.FUNCTION);if(e===void 0)J.parameters=Xt(k);else{if(d&&k.type==="JsdocTypeFunction"&&k.arrow)return J=k,J.constructor=!0,J;J.parameters=pe(k);for(const v of J.parameters)if(v.type==="JsdocTypeKeyValue"&&!e.includes(v.key))throw new Error(`only allowed named parameters are ${e.join(", ")} but got ${v.type}`)}if(c.consume(":"))J.returnType=c.parseType(f.PREFIX);else if(!t)throw new Error("function is missing return type");return J}})}function ye({allowPostfix:e,allowEnclosingBrackets:t}){return g({name:"variadicParslet",accept:r=>r==="...",precedence:f.PREFIX,parsePrefix:r=>{r.consume("...");const s=t&&r.consume("[");try{const c=r.parseType(f.PREFIX);if(s&&!r.consume("]"))throw new Error("Unterminated variadic type. Missing ']'");return{type:"JsdocTypeVariadic",element:w(c),meta:{position:"prefix",squareBrackets:s}}}catch(c){if(c instanceof p){if(s)throw new Error("Empty square brackets for variadic are not allowed.");return{type:"JsdocTypeVariadic",meta:{position:void 0,squareBrackets:!1}}}else throw c}},parseInfix:e?(r,s)=>(r.consume("..."),{type:"JsdocTypeVariadic",element:w(s),meta:{position:"suffix",squareBrackets:!1}}):void 0})}const _e=g({name:"symbolParslet",accept:e=>e==="(",precedence:f.SYMBOL,parseInfix:(e,t)=>{if(t.type!=="JsdocTypeName")throw new Error("Symbol expects a name on the left side. (Reacting on '(')");e.consume("(");const r={type:"JsdocTypeSymbol",value:t.value};if(!e.consume(")")){const s=e.parseIntermediateType(f.SYMBOL);if(r.element=qt(s),!e.consume(")"))throw new Error("Symbol does not end after value")}return r}}),Fe=g({name:"arrayBracketsParslet",precedence:f.ARRAY_BRACKETS,accept:(e,t)=>e==="["&&t==="]",parseInfix:(e,t)=>(e.consume("["),e.consume("]"),{type:"JsdocTypeGeneric",left:{type:"JsdocTypeName",value:"Array"},elements:[w(t)],meta:{brackets:"square",dot:!1}})});function de({objectFieldGrammar:e,allowKeyTypes:t}){return g({name:"objectParslet",accept:r=>r==="{",parsePrefix:r=>{r.consume("{");const s={type:"JsdocTypeObject",meta:{separator:"comma"},elements:[]};if(!r.consume("}")){let c;const d=new U(e,r.lexer,r);for(;;){d.acceptLexerState(r);let T=d.parseIntermediateType(f.OBJECT);r.acceptLexerState(d),T===void 0&&t&&(T=r.parseIntermediateType(f.OBJECT));let J=!1;if(T.type==="JsdocTypeNullable"&&(J=!0,T=T.element),T.type==="JsdocTypeNumber"||T.type==="JsdocTypeName"||T.type==="JsdocTypeStringValue"){let v;T.type==="JsdocTypeStringValue"&&(v=T.meta.quote),s.elements.push({type:"JsdocTypeObjectField",key:T.value.toString(),right:void 0,optional:J,readonly:!1,meta:{quote:v}})}else if(T.type==="JsdocTypeObjectField"||T.type==="JsdocTypeJsdocObjectField")s.elements.push(T);else throw new y(T);if(r.lexer.current.startOfLine)c="linebreak";else if(r.consume(","))c="comma";else if(r.consume(";"))c="semicolon";else break;if(r.lexer.current.type==="}")break}if(s.meta.separator=c??"comma",!r.consume("}"))throw new Error("Unterminated record type. Missing '}'")}return s}})}function me({allowSquaredProperties:e,allowKeyTypes:t,allowReadonly:r,allowOptional:s}){return g({name:"objectFieldParslet",precedence:f.KEY_VALUE,accept:c=>c===":",parseInfix:(c,d)=>{var T;let J=!1,k=!1;s&&d.type==="JsdocTypeNullable"&&(J=!0,d=d.element),r&&d.type==="JsdocTypeReadonlyProperty"&&(k=!0,d=d.element);const v=(T=c.baseParser)!==null&&T!==void 0?T:c;if(v.acceptLexerState(c),d.type==="JsdocTypeNumber"||d.type==="JsdocTypeName"||d.type==="JsdocTypeStringValue"||ie(d)){if(ie(d)&&!e)throw new y(d);v.consume(":");let x;d.type==="JsdocTypeStringValue"&&(x=d.meta.quote);const ne=v.parseType(f.KEY_VALUE);return c.acceptLexerState(v),{type:"JsdocTypeObjectField",key:ie(d)?d:d.value.toString(),right:ne,optional:J,readonly:k,meta:{quote:x}}}else{if(!t)throw new y(d);v.consume(":");const x=v.parseType(f.KEY_VALUE);return c.acceptLexerState(v),{type:"JsdocTypeJsdocObjectField",left:w(d),right:x}}}})}function fe({allowOptional:e,allowVariadic:t}){return g({name:"keyValueParslet",precedence:f.KEY_VALUE,accept:r=>r===":",parseInfix:(r,s)=>{let c=!1,d=!1;if(e&&s.type==="JsdocTypeNullable"&&(c=!0,s=s.element),t&&s.type==="JsdocTypeVariadic"&&s.element!==void 0&&(d=!0,s=s.element),s.type!=="JsdocTypeName")throw new y(s);r.consume(":");const T=r.parseType(f.KEY_VALUE);return{type:"JsdocTypeKeyValue",key:s.value,right:T,optional:c,variadic:d}}})}const je=[...ce,ue({allowWithoutParenthesis:!0,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),$,ee({allowedTypes:["module","external","event"],pathGrammar:V}),ye({allowEnclosingBrackets:!0,allowPostfix:!0}),I({allowedAdditionalTokens:["keyof"]}),_e,Fe,Z({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:V})],Qt=[...je,de({objectFieldGrammar:[I({allowedAdditionalTokens:["module","in"]}),me({allowSquaredProperties:!1,allowKeyTypes:!0,allowOptional:!1,allowReadonly:!1}),...je],allowKeyTypes:!0}),fe({allowOptional:!0,allowVariadic:!0})],Le=g({name:"typeOfParslet",accept:e=>e==="typeof",parsePrefix:e=>(e.consume("typeof"),{type:"JsdocTypeTypeof",element:w(e.parseType(f.KEY_OF_TYPE_OF))})}),Ht=[I({allowedAdditionalTokens:["module","keyof","event","external","in"]}),le,H,$,z,me({allowSquaredProperties:!1,allowKeyTypes:!1,allowOptional:!1,allowReadonly:!1})],zt=[...ce,de({allowKeyTypes:!1,objectFieldGrammar:Ht}),I({allowedAdditionalTokens:["event","external","in"]}),Le,ue({allowWithoutParenthesis:!1,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),ye({allowEnclosingBrackets:!1,allowPostfix:!1}),I({allowedAdditionalTokens:["keyof"]}),ee({allowedTypes:["module"],pathGrammar:V}),Z({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:V}),fe({allowOptional:!1,allowVariadic:!1}),_e],Zt=g({name:"assertsParslet",accept:e=>e==="asserts",parsePrefix:e=>{e.consume("asserts");const t=e.parseIntermediateType(f.SYMBOL);if(t.type!=="JsdocTypeName")throw new y(t,"A typescript asserts always has to have a name on the left side.");return e.consume("is"),{type:"JsdocTypeAsserts",left:t,right:w(e.parseIntermediateType(f.INFIX))}}});function en({allowQuestionMark:e}){return g({name:"tupleParslet",accept:t=>t==="[",parsePrefix:t=>{t.consume("[");const r={type:"JsdocTypeTuple",elements:[]};if(t.consume("]"))return r;const s=t.parseIntermediateType(f.ALL);if(s.type==="JsdocTypeParameterList"?s.elements[0].type==="JsdocTypeKeyValue"?r.elements=s.elements.map(Q):r.elements=s.elements.map(w):s.type==="JsdocTypeKeyValue"?r.elements=[Q(s)]:r.elements=[w(s)],!t.consume("]"))throw new Error("Unterminated '['");if(r.elements.some(c=>c.type==="JsdocTypeUnknown"))throw new Error("Question mark in tuple not allowed");return r}})}const tn=g({name:"keyOfParslet",accept:e=>e==="keyof",parsePrefix:e=>(e.consume("keyof"),{type:"JsdocTypeKeyof",element:w(e.parseType(f.KEY_OF_TYPE_OF))})}),nn=g({name:"importParslet",accept:e=>e==="import",parsePrefix:e=>{if(e.consume("import"),!e.consume("("))throw new Error("Missing parenthesis after import keyword");const t=e.parseType(f.PREFIX);if(t.type!=="JsdocTypeStringValue")throw new Error("Only string values are allowed as paths for imports");if(!e.consume(")"))throw new Error("Missing closing parenthesis after import keyword");return{type:"JsdocTypeImport",element:t}}}),rn=g({name:"readonlyPropertyParslet",accept:e=>e==="readonly",parsePrefix:e=>(e.consume("readonly"),{type:"JsdocTypeReadonlyProperty",element:e.parseType(f.KEY_VALUE)})}),an=g({name:"arrowFunctionParslet",precedence:f.ARROW,accept:e=>e==="=>",parseInfix:(e,t)=>(e.consume("=>"),{type:"JsdocTypeFunction",parameters:pe(t).map($t),arrow:!0,constructor:!1,parenthesis:!0,returnType:e.parseType(f.OBJECT)})}),on=g({name:"intersectionParslet",accept:e=>e==="&",precedence:f.INTERSECTION,parseInfix:(e,t)=>{e.consume("&");const r=[];do r.push(e.parseType(f.INTERSECTION));while(e.consume("&"));return{type:"JsdocTypeIntersection",elements:[w(t),...r]}}}),sn=g({name:"predicateParslet",precedence:f.INFIX,accept:e=>e==="is",parseInfix:(e,t)=>{if(t.type!=="JsdocTypeName")throw new y(t,"A typescript predicate always has to have a name on the left side.");return e.consume("is"),{type:"JsdocTypePredicate",left:t,right:w(e.parseIntermediateType(f.INFIX))}}}),ln=g({name:"objectSquareBracketPropertyParslet",accept:e=>e==="[",parsePrefix:e=>{if(e.baseParser===void 0)throw new Error("Only allowed inside object grammar");e.consume("[");const t=e.lexer.current.text;e.consume("Identifier");let r;if(e.consume(":")){const s=e.baseParser;s.acceptLexerState(e),r={type:"JsdocTypeIndexSignature",key:t,right:s.parseType(f.INDEX_BRACKETS)},e.acceptLexerState(s)}else if(e.consume("in")){const s=e.baseParser;s.acceptLexerState(e),r={type:"JsdocTypeMappedType",key:t,right:s.parseType(f.ARRAY_BRACKETS)},e.acceptLexerState(s)}else throw new Error("Missing ':' or 'in' inside square bracketed property.");if(!e.consume("]"))throw new Error("Unterminated square brackets");return r}}),cn=[rn,I({allowedAdditionalTokens:["module","event","keyof","event","external","in"]}),le,H,$,z,me({allowSquaredProperties:!0,allowKeyTypes:!1,allowOptional:!0,allowReadonly:!0}),ln],pn=[...ce,de({allowKeyTypes:!1,objectFieldGrammar:cn}),Le,tn,nn,$,ue({allowWithoutParenthesis:!0,allowNoReturnType:!1,allowNamedParameters:["this","new","args"],allowNewAsFunctionKeyword:!0}),en({allowQuestionMark:!1}),ye({allowEnclosingBrackets:!1,allowPostfix:!1}),Zt,I({allowedAdditionalTokens:["event","external","in"]}),ee({allowedTypes:["module"],pathGrammar:V}),Fe,an,Z({allowSquareBracketsOnAnyType:!0,allowJsdocNamePaths:!1,pathGrammar:V}),on,sn,fe({allowVariadic:!0,allowOptional:!0})];function Ue(e,t){switch(t){case"closure":return new U(zt,e).parse();case"jsdoc":return new U(Qt,e).parse();case"typescript":return new U(pn,e).parse()}}function un(e,t=["typescript","closure","jsdoc"]){let r;for(const s of t)try{return Ue(e,s)}catch(c){r=c}throw r}function q(e,t){const r=e[t.type];if(r===void 0)throw new Error(`In this set of transform rules exists no rule for type ${t.type}.`);return r(t,s=>q(e,s))}function S(e){throw new Error("This transform is not available. Are you trying the correct parsing mode?")}function Ve(e){const t={params:[]};for(const r of e.parameters)r.type==="JsdocTypeKeyValue"?r.key==="this"?t.this=r.right:r.key==="new"?t.new=r.right:t.params.push(r):t.params.push(r);return t}function te(e,t,r){return e==="prefix"?r+t:t+r}function A(e,t){switch(t){case"double":return`"${e}"`;case"single":return`'${e}'`;case void 0:return e}}function Ke(){return{JsdocTypeParenthesis:(e,t)=>`(${e.element!==void 0?t(e.element):""})`,JsdocTypeKeyof:(e,t)=>`keyof ${t(e.element)}`,JsdocTypeFunction:(e,t)=>{if(e.arrow){if(e.returnType===void 0)throw new Error("Arrow function needs a return type.");let r=`(${e.parameters.map(t).join(", ")}) => ${t(e.returnType)}`;return e.constructor&&(r="new "+r),r}else{let r=e.constructor?"new":"function";return e.parenthesis&&(r+=`(${e.parameters.map(t).join(", ")})`,e.returnType!==void 0&&(r+=`: ${t(e.returnType)}`)),r}},JsdocTypeName:e=>e.value,JsdocTypeTuple:(e,t)=>`[${e.elements.map(t).join(", ")}]`,JsdocTypeVariadic:(e,t)=>e.meta.position===void 0?"...":te(e.meta.position,t(e.element),"..."),JsdocTypeNamePath:(e,t)=>{const r=t(e.left),s=t(e.right);switch(e.pathType){case"inner":return`${r}~${s}`;case"instance":return`${r}#${s}`;case"property":return`${r}.${s}`;case"property-brackets":return`${r}[${s}]`}},JsdocTypeStringValue:e=>A(e.value,e.meta.quote),JsdocTypeAny:()=>"*",JsdocTypeGeneric:(e,t)=>{if(e.meta.brackets==="square"){const r=e.elements[0],s=t(r);return r.type==="JsdocTypeUnion"||r.type==="JsdocTypeIntersection"?`(${s})[]`:`${s}[]`}else return`${t(e.left)}${e.meta.dot?".":""}<${e.elements.map(t).join(", ")}>`},JsdocTypeImport:(e,t)=>`import(${t(e.element)})`,JsdocTypeObjectField:(e,t)=>{let r="";return e.readonly&&(r+="readonly "),typeof e.key=="string"?r+=A(e.key,e.meta.quote):r+=t(e.key),e.optional&&(r+="?"),e.right===void 0?r:r+`: ${t(e.right)}`},JsdocTypeJsdocObjectField:(e,t)=>`${t(e.left)}: ${t(e.right)}`,JsdocTypeKeyValue:(e,t)=>{let r=e.key;return e.optional&&(r+="?"),e.variadic&&(r="..."+r),e.right===void 0?r:r+`: ${t(e.right)}`},JsdocTypeSpecialNamePath:e=>`${e.specialType}:${A(e.value,e.meta.quote)}`,JsdocTypeNotNullable:(e,t)=>te(e.meta.position,t(e.element),"!"),JsdocTypeNull:()=>"null",JsdocTypeNullable:(e,t)=>te(e.meta.position,t(e.element),"?"),JsdocTypeNumber:e=>e.value.toString(),JsdocTypeObject:(e,t)=>`{${e.elements.map(t).join((e.meta.separator==="comma"?",":";")+" ")}}`,JsdocTypeOptional:(e,t)=>te(e.meta.position,t(e.element),"="),JsdocTypeSymbol:(e,t)=>`${e.value}(${e.element!==void 0?t(e.element):""})`,JsdocTypeTypeof:(e,t)=>`typeof ${t(e.element)}`,JsdocTypeUndefined:()=>"undefined",JsdocTypeUnion:(e,t)=>e.elements.map(t).join(" | "),JsdocTypeUnknown:()=>"?",JsdocTypeIntersection:(e,t)=>e.elements.map(t).join(" & "),JsdocTypeProperty:e=>A(e.value,e.meta.quote),JsdocTypePredicate:(e,t)=>`${t(e.left)} is ${t(e.right)}`,JsdocTypeIndexSignature:(e,t)=>`[${e.key}: ${t(e.right)}]`,JsdocTypeMappedType:(e,t)=>`[${e.key} in ${t(e.right)}]`,JsdocTypeAsserts:(e,t)=>`asserts ${t(e.left)} is ${t(e.right)}`}}const yn=Ke();function dn(e){return q(yn,e)}const mn=["null","true","false","break","case","catch","class","const","continue","debugger","default","delete","do","else","export","extends","finally","for","function","if","import","in","instanceof","new","return","super","switch","this","throw","try","typeof","var","void","while","with","yield"];function R(e){const t={type:"NameExpression",name:e};return mn.includes(e)&&(t.reservedWord=!0),t}const fn={JsdocTypeOptional:(e,t)=>{const r=t(e.element);return r.optional=!0,r},JsdocTypeNullable:(e,t)=>{const r=t(e.element);return r.nullable=!0,r},JsdocTypeNotNullable:(e,t)=>{const r=t(e.element);return r.nullable=!1,r},JsdocTypeVariadic:(e,t)=>{if(e.element===void 0)throw new Error("dots without value are not allowed in catharsis mode");const r=t(e.element);return r.repeatable=!0,r},JsdocTypeAny:()=>({type:"AllLiteral"}),JsdocTypeNull:()=>({type:"NullLiteral"}),JsdocTypeStringValue:e=>R(A(e.value,e.meta.quote)),JsdocTypeUndefined:()=>({type:"UndefinedLiteral"}),JsdocTypeUnknown:()=>({type:"UnknownLiteral"}),JsdocTypeFunction:(e,t)=>{const r=Ve(e),s={type:"FunctionType",params:r.params.map(t)};return r.this!==void 0&&(s.this=t(r.this)),r.new!==void 0&&(s.new=t(r.new)),e.returnType!==void 0&&(s.result=t(e.returnType)),s},JsdocTypeGeneric:(e,t)=>({type:"TypeApplication",applications:e.elements.map(r=>t(r)),expression:t(e.left)}),JsdocTypeSpecialNamePath:e=>R(e.specialType+":"+A(e.value,e.meta.quote)),JsdocTypeName:e=>e.value!=="function"?R(e.value):{type:"FunctionType",params:[]},JsdocTypeNumber:e=>R(e.value.toString()),JsdocTypeObject:(e,t)=>{const r={type:"RecordType",fields:[]};for(const s of e.elements)s.type!=="JsdocTypeObjectField"&&s.type!=="JsdocTypeJsdocObjectField"?r.fields.push({type:"FieldType",key:t(s),value:void 0}):r.fields.push(t(s));return r},JsdocTypeObjectField:(e,t)=>{if(typeof e.key!="string")throw new Error("Index signatures and mapped types are not supported");return{type:"FieldType",key:R(A(e.key,e.meta.quote)),value:e.right===void 0?void 0:t(e.right)}},JsdocTypeJsdocObjectField:(e,t)=>({type:"FieldType",key:t(e.left),value:t(e.right)}),JsdocTypeUnion:(e,t)=>({type:"TypeUnion",elements:e.elements.map(r=>t(r))}),JsdocTypeKeyValue:(e,t)=>({type:"FieldType",key:R(e.key),value:e.right===void 0?void 0:t(e.right)}),JsdocTypeNamePath:(e,t)=>{const r=t(e.left);let s;e.right.type==="JsdocTypeSpecialNamePath"?s=t(e.right).name:s=A(e.right.value,e.right.meta.quote);const c=e.pathType==="inner"?"~":e.pathType==="instance"?"#":".";return R(`${r.name}${c}${s}`)},JsdocTypeSymbol:e=>{let t="",r=e.element,s=!1;return(r==null?void 0:r.type)==="JsdocTypeVariadic"&&(r.meta.position==="prefix"?t="...":s=!0,r=r.element),(r==null?void 0:r.type)==="JsdocTypeName"?t+=r.value:(r==null?void 0:r.type)==="JsdocTypeNumber"&&(t+=r.value.toString()),s&&(t+="..."),R(`${e.value}(${t})`)},JsdocTypeParenthesis:(e,t)=>t(w(e.element)),JsdocTypeMappedType:S,JsdocTypeIndexSignature:S,JsdocTypeImport:S,JsdocTypeKeyof:S,JsdocTypeTuple:S,JsdocTypeTypeof:S,JsdocTypeIntersection:S,JsdocTypeProperty:S,JsdocTypePredicate:S,JsdocTypeAsserts:S};function Tn(e){return q(fn,e)}function j(e){switch(e){case void 0:return"none";case"single":return"single";case"double":return"double"}}function hn(e){switch(e){case"inner":return"INNER_MEMBER";case"instance":return"INSTANCE_MEMBER";case"property":return"MEMBER";case"property-brackets":return"MEMBER"}}function Te(e,t){return t.length===2?{type:e,left:t[0],right:t[1]}:{type:e,left:t[0],right:Te(e,t.slice(1))}}const gn={JsdocTypeOptional:(e,t)=>({type:"OPTIONAL",value:t(e.element),meta:{syntax:e.meta.position==="prefix"?"PREFIX_EQUAL_SIGN":"SUFFIX_EQUALS_SIGN"}}),JsdocTypeNullable:(e,t)=>({type:"NULLABLE",value:t(e.element),meta:{syntax:e.meta.position==="prefix"?"PREFIX_QUESTION_MARK":"SUFFIX_QUESTION_MARK"}}),JsdocTypeNotNullable:(e,t)=>({type:"NOT_NULLABLE",value:t(e.element),meta:{syntax:e.meta.position==="prefix"?"PREFIX_BANG":"SUFFIX_BANG"}}),JsdocTypeVariadic:(e,t)=>{const r={type:"VARIADIC",meta:{syntax:e.meta.position==="prefix"?"PREFIX_DOTS":e.meta.position==="suffix"?"SUFFIX_DOTS":"ONLY_DOTS"}};return e.element!==void 0&&(r.value=t(e.element)),r},JsdocTypeName:e=>({type:"NAME",name:e.value}),JsdocTypeTypeof:(e,t)=>({type:"TYPE_QUERY",name:t(e.element)}),JsdocTypeTuple:(e,t)=>({type:"TUPLE",entries:e.elements.map(t)}),JsdocTypeKeyof:(e,t)=>({type:"KEY_QUERY",value:t(e.element)}),JsdocTypeImport:e=>({type:"IMPORT",path:{type:"STRING_VALUE",quoteStyle:j(e.element.meta.quote),string:e.element.value}}),JsdocTypeUndefined:()=>({type:"NAME",name:"undefined"}),JsdocTypeAny:()=>({type:"ANY"}),JsdocTypeFunction:(e,t)=>{const r=Ve(e),s={type:e.arrow?"ARROW":"FUNCTION",params:r.params.map(c=>{if(c.type==="JsdocTypeKeyValue"){if(c.right===void 0)throw new Error("Function parameter without ':' is not expected to be 'KEY_VALUE'");return{type:"NAMED_PARAMETER",name:c.key,typeName:t(c.right)}}else return t(c)}),new:null,returns:null};return r.this!==void 0?s.this=t(r.this):e.arrow||(s.this=null),r.new!==void 0&&(s.new=t(r.new)),e.returnType!==void 0&&(s.returns=t(e.returnType)),s},JsdocTypeGeneric:(e,t)=>{const r={type:"GENERIC",subject:t(e.left),objects:e.elements.map(t),meta:{syntax:e.meta.brackets==="square"?"SQUARE_BRACKET":e.meta.dot?"ANGLE_BRACKET_WITH_DOT":"ANGLE_BRACKET"}};return e.meta.brackets==="square"&&e.elements[0].type==="JsdocTypeFunction"&&!e.elements[0].parenthesis&&(r.objects[0]={type:"NAME",name:"function"}),r},JsdocTypeObjectField:(e,t)=>{if(typeof e.key!="string")throw new Error("Index signatures and mapped types are not supported");if(e.right===void 0)return{type:"RECORD_ENTRY",key:e.key,quoteStyle:j(e.meta.quote),value:null,readonly:!1};let r=t(e.right);return e.optional&&(r={type:"OPTIONAL",value:r,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:e.key.toString(),quoteStyle:j(e.meta.quote),value:r,readonly:!1}},JsdocTypeJsdocObjectField:()=>{throw new Error("Keys may not be typed in jsdoctypeparser.")},JsdocTypeKeyValue:(e,t)=>{if(e.right===void 0)return{type:"RECORD_ENTRY",key:e.key,quoteStyle:"none",value:null,readonly:!1};let r=t(e.right);return e.optional&&(r={type:"OPTIONAL",value:r,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:e.key,quoteStyle:"none",value:r,readonly:!1}},JsdocTypeObject:(e,t)=>{const r=[];for(const s of e.elements)(s.type==="JsdocTypeObjectField"||s.type==="JsdocTypeJsdocObjectField")&&r.push(t(s));return{type:"RECORD",entries:r}},JsdocTypeSpecialNamePath:e=>{if(e.specialType!=="module")throw new Error(`jsdoctypeparser does not support type ${e.specialType} at this point.`);return{type:"MODULE",value:{type:"FILE_PATH",quoteStyle:j(e.meta.quote),path:e.value}}},JsdocTypeNamePath:(e,t)=>{let r=!1,s,c;e.right.type==="JsdocTypeSpecialNamePath"&&e.right.specialType==="event"?(r=!0,s=e.right.value,c=j(e.right.meta.quote)):(s=e.right.value,c=j(e.right.meta.quote));const d={type:hn(e.pathType),owner:t(e.left),name:s,quoteStyle:c,hasEventPrefix:r};if(d.owner.type==="MODULE"){const T=d.owner;return d.owner=d.owner.value,T.value=d,T}else return d},JsdocTypeUnion:(e,t)=>Te("UNION",e.elements.map(t)),JsdocTypeParenthesis:(e,t)=>({type:"PARENTHESIS",value:t(w(e.element))}),JsdocTypeNull:()=>({type:"NAME",name:"null"}),JsdocTypeUnknown:()=>({type:"UNKNOWN"}),JsdocTypeStringValue:e=>({type:"STRING_VALUE",quoteStyle:j(e.meta.quote),string:e.value}),JsdocTypeIntersection:(e,t)=>Te("INTERSECTION",e.elements.map(t)),JsdocTypeNumber:e=>({type:"NUMBER_VALUE",number:e.value.toString()}),JsdocTypeSymbol:S,JsdocTypeProperty:S,JsdocTypePredicate:S,JsdocTypeMappedType:S,JsdocTypeIndexSignature:S,JsdocTypeAsserts:S};function Jn(e){return q(gn,e)}function wn(){return{JsdocTypeIntersection:(e,t)=>({type:"JsdocTypeIntersection",elements:e.elements.map(t)}),JsdocTypeGeneric:(e,t)=>({type:"JsdocTypeGeneric",left:t(e.left),elements:e.elements.map(t),meta:{dot:e.meta.dot,brackets:e.meta.brackets}}),JsdocTypeNullable:e=>e,JsdocTypeUnion:(e,t)=>({type:"JsdocTypeUnion",elements:e.elements.map(t)}),JsdocTypeUnknown:e=>e,JsdocTypeUndefined:e=>e,JsdocTypeTypeof:(e,t)=>({type:"JsdocTypeTypeof",element:t(e.element)}),JsdocTypeSymbol:(e,t)=>{const r={type:"JsdocTypeSymbol",value:e.value};return e.element!==void 0&&(r.element=t(e.element)),r},JsdocTypeOptional:(e,t)=>({type:"JsdocTypeOptional",element:t(e.element),meta:{position:e.meta.position}}),JsdocTypeObject:(e,t)=>({type:"JsdocTypeObject",meta:{separator:"comma"},elements:e.elements.map(t)}),JsdocTypeNumber:e=>e,JsdocTypeNull:e=>e,JsdocTypeNotNullable:(e,t)=>({type:"JsdocTypeNotNullable",element:t(e.element),meta:{position:e.meta.position}}),JsdocTypeSpecialNamePath:e=>e,JsdocTypeObjectField:(e,t)=>({type:"JsdocTypeObjectField",key:e.key,right:e.right===void 0?void 0:t(e.right),optional:e.optional,readonly:e.readonly,meta:e.meta}),JsdocTypeJsdocObjectField:(e,t)=>({type:"JsdocTypeJsdocObjectField",left:t(e.left),right:t(e.right)}),JsdocTypeKeyValue:(e,t)=>({type:"JsdocTypeKeyValue",key:e.key,right:e.right===void 0?void 0:t(e.right),optional:e.optional,variadic:e.variadic}),JsdocTypeImport:(e,t)=>({type:"JsdocTypeImport",element:t(e.element)}),JsdocTypeAny:e=>e,JsdocTypeStringValue:e=>e,JsdocTypeNamePath:e=>e,JsdocTypeVariadic:(e,t)=>{const r={type:"JsdocTypeVariadic",meta:{position:e.meta.position,squareBrackets:e.meta.squareBrackets}};return e.element!==void 0&&(r.element=t(e.element)),r},JsdocTypeTuple:(e,t)=>({type:"JsdocTypeTuple",elements:e.elements.map(t)}),JsdocTypeName:e=>e,JsdocTypeFunction:(e,t)=>{const r={type:"JsdocTypeFunction",arrow:e.arrow,parameters:e.parameters.map(t),constructor:e.constructor,parenthesis:e.parenthesis};return e.returnType!==void 0&&(r.returnType=t(e.returnType)),r},JsdocTypeKeyof:(e,t)=>({type:"JsdocTypeKeyof",element:t(e.element)}),JsdocTypeParenthesis:(e,t)=>({type:"JsdocTypeParenthesis",element:t(e.element)}),JsdocTypeProperty:e=>e,JsdocTypePredicate:(e,t)=>({type:"JsdocTypePredicate",left:t(e.left),right:t(e.right)}),JsdocTypeIndexSignature:(e,t)=>({type:"JsdocTypeIndexSignature",key:e.key,right:t(e.right)}),JsdocTypeMappedType:(e,t)=>({type:"JsdocTypeMappedType",key:e.key,right:t(e.right)}),JsdocTypeAsserts:(e,t)=>({type:"JsdocTypeAsserts",left:t(e.left),right:t(e.right)})}}const De={JsdocTypeAny:[],JsdocTypeFunction:["parameters","returnType"],JsdocTypeGeneric:["left","elements"],JsdocTypeImport:[],JsdocTypeIndexSignature:["right"],JsdocTypeIntersection:["elements"],JsdocTypeKeyof:["element"],JsdocTypeKeyValue:["right"],JsdocTypeMappedType:["right"],JsdocTypeName:[],JsdocTypeNamePath:["left","right"],JsdocTypeNotNullable:["element"],JsdocTypeNull:[],JsdocTypeNullable:["element"],JsdocTypeNumber:[],JsdocTypeObject:["elements"],JsdocTypeObjectField:["right"],JsdocTypeJsdocObjectField:["left","right"],JsdocTypeOptional:["element"],JsdocTypeParenthesis:["element"],JsdocTypeSpecialNamePath:[],JsdocTypeStringValue:[],JsdocTypeSymbol:["element"],JsdocTypeTuple:["elements"],JsdocTypeTypeof:["element"],JsdocTypeUndefined:[],JsdocTypeUnion:["elements"],JsdocTypeUnknown:[],JsdocTypeVariadic:["element"],JsdocTypeProperty:[],JsdocTypePredicate:["left","right"],JsdocTypeAsserts:["left","right"]};function he(e,t,r,s,c){s==null||s(e,t,r);const d=De[e.type];for(const T of d){const J=e[T];if(J!==void 0)if(Array.isArray(J))for(const k of J)he(k,e,T,s,c);else he(J,e,T,s,c)}c==null||c(e,t,r)}function Nn(e,t,r){he(e,void 0,void 0,t,r)}o.catharsisTransform=Tn,o.identityTransformRules=wn,o.jtpTransform=Jn,o.parse=Ue,o.stringify=dn,o.stringifyRules=Ke,o.transform=q,o.traverse=Nn,o.tryParse=un,o.visitorKeys=De})})(ge,ge.exports);var Je=ge.exports,En=Object.defineProperty,l=(n,a)=>En(n,"name",{value:a,configurable:!0});const{UnknownArgTypesError:Pn}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__;var vn=l(n=>n.name==="literal","isLiteral"),Sn=l(n=>n.value.replace(/['|"]/g,""),"toEnumOption"),kn=l(n=>{switch(n.type){case"function":return{name:"function"};case"object":let a={};return n.signature.properties.forEach(o=>{a[o.key]=C(o.value)}),{name:"object",value:a};default:throw new Pn({type:n,language:"Flow"})}},"convertSig"),C=l(n=>{var p,u,y,m;let{name:a,raw:o}=n,i={};switch(typeof o<"u"&&(i.raw=o),n.name){case"literal":return{...i,name:"other",value:n.value};case"string":case"number":case"symbol":case"boolean":return{...i,name:a};case"Array":return{...i,name:"array",value:n.elements.map(C)};case"signature":return{...i,...kn(n)};case"union":return(p=n.elements)!=null&&p.every(vn)?{...i,name:"enum",value:(u=n.elements)==null?void 0:u.map(Sn)}:{...i,name:a,value:(y=n.elements)==null?void 0:y.map(C)};case"intersection":return{...i,name:a,value:(m=n.elements)==null?void 0:m.map(C)};default:return{...i,name:"other",value:a}}},"convert");function Me(n,a){let o={},i=Object.keys(n);for(let p=0;pn.replace(Be,""),"trimQuotes"),On=l(n=>Be.test(n),"includesQuotes"),Ce=l(n=>{let a=xn(n);return On(n)||Number.isNaN(Number(a))?a:Number(a)},"parseLiteral"),In=/^\(.*\) => /,B=l(n=>{let{name:a,raw:o,computed:i,value:p}=n,u={};switch(typeof o<"u"&&(u.raw=o),a){case"enum":{let m=i?p:p.map(h=>Ce(h.value));return{...u,name:a,value:m}}case"string":case"number":case"symbol":return{...u,name:a};case"func":return{...u,name:"function"};case"bool":case"boolean":return{...u,name:"boolean"};case"arrayOf":case"array":return{...u,name:"array",value:p&&B(p)};case"object":return{...u,name:a};case"objectOf":return{...u,name:a,value:B(p)};case"shape":case"exact":let y=Me(p,m=>B(m));return{...u,name:"object",value:y};case"union":return{...u,name:"union",value:p.map(m=>B(m))};case"instanceOf":case"element":case"elementType":default:{if((a==null?void 0:a.indexOf("|"))>0)try{let E=a.split("|").map(N=>JSON.parse(N));return{...u,name:"enum",value:E}}catch{}let m=p?`${a}(${p})`:a,h=In.test(a)?"function":"other";return{...u,name:h,value:m}}}},"convert");const{UnknownArgTypesError:An}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__;var Rn=l(n=>{switch(n.type){case"function":return{name:"function"};case"object":let a={};return n.signature.properties.forEach(o=>{a[o.key]=Y(o.value)}),{name:"object",value:a};default:throw new An({type:n,language:"Typescript"})}},"convertSig"),Y=l(n=>{var p,u,y,m;let{name:a,raw:o}=n,i={};switch(typeof o<"u"&&(i.raw=o),n.name){case"string":case"number":case"symbol":case"boolean":return{...i,name:a};case"Array":return{...i,name:"array",value:n.elements.map(Y)};case"signature":return{...i,...Rn(n)};case"union":let h;return(p=n.elements)!=null&&p.every(E=>E.name==="literal")?h={...i,name:"enum",value:(u=n.elements)==null?void 0:u.map(E=>Ce(E.value))}:h={...i,name:a,value:(y=n.elements)==null?void 0:y.map(Y)},h;case"intersection":return{...i,name:a,value:(m=n.elements)==null?void 0:m.map(Y)};default:return{...i,name:"other",value:a}}},"convert"),we=l(n=>{let{type:a,tsType:o,flowType:i}=n;try{if(a!=null)return B(a);if(o!=null)return Y(o);if(i!=null)return C(i)}catch(p){console.error(p)}return null},"convert"),_n=(n=>(n.JAVASCRIPT="JavaScript",n.FLOW="Flow",n.TYPESCRIPT="TypeScript",n.UNKNOWN="Unknown",n))(_n||{}),Fn=["null","undefined"];function re(n){return Fn.some(a=>a===n)}l(re,"isDefaultValueBlacklisted");var jn=l(n=>{if(!n)return"";if(typeof n=="string")return n;throw new Error(`Description: expected string, got: ${JSON.stringify(n)}`)},"str");function Ne(n){return!!n.__docgenInfo}l(Ne,"hasDocgen");function Ye(n){return n!=null&&Object.keys(n).length>0}l(Ye,"isValidDocgenSection");function Ge(n,a){return Ne(n)?n.__docgenInfo[a]:null}l(Ge,"getDocgenSection");function We(n){return Ne(n)?jn(n.__docgenInfo.description):""}l(We,"getDocgenDescription");var _;(function(n){n.start="/**",n.nostart="/***",n.delim="*",n.end="*/"})(_=_||(_={}));function Xe(n){return/^\s+$/.test(n)}l(Xe,"isSpace");function Qe(n){let a=n.match(/\r+$/);return a==null?["",n]:[n.slice(-a[0].length),n.slice(0,-a[0].length)]}l(Qe,"splitCR");function L(n){let a=n.match(/^\s+/);return a==null?["",n]:[n.slice(0,a[0].length),n.slice(a[0].length)]}l(L,"splitSpace");function He(n){return n.split(/\n/)}l(He,"splitLines");function ze(n={}){return Object.assign({tag:"",name:"",type:"",optional:!1,description:"",problems:[],source:[]},n)}l(ze,"seedSpec");function Ze(n={}){return Object.assign({start:"",delimiter:"",postDelimiter:"",tag:"",postTag:"",name:"",postName:"",type:"",postType:"",description:"",end:"",lineEnd:""},n)}l(Ze,"seedTokens");var Ln=/^@\S+/;function et({fence:n="```"}={}){let a=tt(n),o=l((i,p)=>a(i)?!p:p,"toggleFence");return l(function(i){let p=[[]],u=!1;for(let y of i)Ln.test(y.tokens.description)&&!u?p.push([y]):p[p.length-1].push(y),u=o(y.tokens.description,u);return p},"parseBlock")}l(et,"getParser");function tt(n){return typeof n=="string"?a=>a.split(n).length%2===0:n}l(tt,"getFencer");function nt({startLine:n=0,markers:a=_}={}){let o=null,i=n;return l(function(p){let u=p,y=Ze();if([y.lineEnd,u]=Qe(u),[y.start,u]=L(u),o===null&&u.startsWith(a.start)&&!u.startsWith(a.nostart)&&(o=[],y.delimiter=u.slice(0,a.start.length),u=u.slice(a.start.length),[y.postDelimiter,u]=L(u)),o===null)return i++,null;let m=u.trimRight().endsWith(a.end);if(y.delimiter===""&&u.startsWith(a.delim)&&!u.startsWith(a.end)&&(y.delimiter=a.delim,u=u.slice(a.delim.length),[y.postDelimiter,u]=L(u)),m){let h=u.trimRight();y.end=u.slice(h.length-a.end.length),u=h.slice(0,-a.end.length)}if(y.description=u,o.push({number:i,source:p,tokens:y}),i++,m){let h=o.slice();return o=null,h}return null},"parseSource")}l(nt,"getParser");function rt({tokenizers:n}){return l(function(a){var o;let i=ze({source:a});for(let p of n)if(i=p(i),!((o=i.problems[i.problems.length-1])===null||o===void 0)&&o.critical)break;return i},"parseSpec")}l(rt,"getParser");function at(){return n=>{let{tokens:a}=n.source[0],o=a.description.match(/\s*(@(\S+))(\s*)/);return o===null?(n.problems.push({code:"spec:tag:prefix",message:'tag should start with "@" symbol',line:n.source[0].number,critical:!0}),n):(a.tag=o[1],a.postTag=o[3],a.description=a.description.slice(o[0].length),n.tag=o[2],n)}}l(at,"tagTokenizer");function ot(n="compact"){let a=st(n);return o=>{let i=0,p=[];for(let[m,{tokens:h}]of o.source.entries()){let E="";if(m===0&&h.description[0]!=="{")return o;for(let N of h.description)if(N==="{"&&i++,N==="}"&&i--,E+=N,i===0)break;if(p.push([h,E]),i===0)break}if(i!==0)return o.problems.push({code:"spec:type:unpaired-curlies",message:"unpaired curlies",line:o.source[0].number,critical:!0}),o;let u=[],y=p[0][0].postDelimiter.length;for(let[m,[h,E]]of p.entries())h.type=E,m>0&&(h.type=h.postDelimiter.slice(y)+E,h.postDelimiter=h.postDelimiter.slice(0,y)),[h.postType,h.description]=L(h.description.slice(E.length)),u.push(h.type);return u[0]=u[0].slice(1),u[u.length-1]=u[u.length-1].slice(0,-1),o.type=a(u),o}}l(ot,"typeTokenizer");var Un=l(n=>n.trim(),"trim");function st(n){return n==="compact"?a=>a.map(Un).join(""):n==="preserve"?a=>a.join(` +`):n}l(st,"getJoiner");var Vn=l(n=>n&&n.startsWith('"')&&n.endsWith('"'),"isQuoted");function it(){let n=l((a,{tokens:o},i)=>o.type===""?a:i,"typeEnd");return a=>{let{tokens:o}=a.source[a.source.reduce(n,0)],i=o.description.trimLeft(),p=i.split('"');if(p.length>1&&p[0]===""&&p.length%2===1)return a.name=p[1],o.name=`"${p[1]}"`,[o.postName,o.description]=L(i.slice(o.name.length)),a;let u=0,y="",m=!1,h;for(let N of i){if(u===0&&Xe(N))break;N==="["&&u++,N==="]"&&u--,y+=N}if(u!==0)return a.problems.push({code:"spec:name:unpaired-brackets",message:"unpaired brackets",line:a.source[0].number,critical:!0}),a;let E=y;if(y[0]==="["&&y[y.length-1]==="]"){m=!0,y=y.slice(1,-1);let N=y.split("=");if(y=N[0].trim(),N[1]!==void 0&&(h=N.slice(1).join("=").trim()),y==="")return a.problems.push({code:"spec:name:empty-name",message:"empty name",line:a.source[0].number,critical:!0}),a;if(h==="")return a.problems.push({code:"spec:name:empty-default",message:"empty default value",line:a.source[0].number,critical:!0}),a;if(!Vn(h)&&/=(?!>)/.test(h))return a.problems.push({code:"spec:name:invalid-default",message:"invalid default value syntax",line:a.source[0].number,critical:!0}),a}return a.optional=m,a.name=y,o.name=E,h!==void 0&&(a.default=h),[o.postName,o.description]=L(i.slice(o.name.length)),a}}l(it,"nameTokenizer");function lt(n="compact",a=_){let o=be(n);return i=>(i.description=o(i.source,a),i)}l(lt,"descriptionTokenizer");function be(n){return n==="compact"?ct:n==="preserve"?pt:n}l(be,"getJoiner");function ct(n,a=_){return n.map(({tokens:{description:o}})=>o.trim()).filter(o=>o!=="").join(" ")}l(ct,"compactJoiner");var Kn=l((n,{tokens:a},o)=>a.type===""?n:o,"lineNo"),Dn=l(({tokens:n})=>(n.delimiter===""?n.start:n.postDelimiter.slice(1))+n.description,"getDescription");function pt(n,a=_){if(n.length===0)return"";n[0].tokens.description===""&&n[0].tokens.delimiter===a.start&&(n=n.slice(1));let o=n[n.length-1];return o!==void 0&&o.tokens.description===""&&o.tokens.end.endsWith(a.end)&&(n=n.slice(0,-1)),n=n.slice(n.reduce(Kn,0)),n.map(Dn).join(` +`)}l(pt,"preserveJoiner");function ut({startLine:n=0,fence:a="```",spacing:o="compact",markers:i=_,tokenizers:p=[at(),ot(o),it(),lt(o)]}={}){if(n<0||n%1>0)throw new Error("Invalid startLine");let u=nt({startLine:n,markers:i}),y=et({fence:a}),m=rt({tokenizers:p}),h=be(o);return function(E){let N=[];for(let ae of He(E)){let K=u(ae);if(K===null)continue;let W=y(K),X=W.slice(1).map(m);N.push({description:h(W[0],i),tags:X,source:K,problems:X.reduce((P,oe)=>P.concat(oe.problems),[])})}return N}}l(ut,"getParser");function yt(n){return n.start+n.delimiter+n.postDelimiter+n.tag+n.postTag+n.type+n.postType+n.name+n.postName+n.description+n.end+n.lineEnd}l(yt,"join");function $n(){return n=>n.source.map(({tokens:a})=>yt(a)).join(` +`)}l($n,"getStringifier");function dt(n,a={}){return ut(a)(n)}l(dt,"parse");function mt(n){return n!=null&&n.includes("@")}l(mt,"containsJsDoc");function ft(n){let a=`/** +`+(n??"").split(` +`).map(i=>` * ${i}`).join(` +`)+` +*/`,o=dt(a,{spacing:"preserve"});if(!o||o.length===0)throw new Error("Cannot parse JSDoc tags.");return o[0]}l(ft,"parse");var qn={tags:["param","arg","argument","returns","ignore","deprecated"]},Mn=l((n,a=qn)=>{if(!mt(n))return{includesJsDoc:!1,ignore:!1};let o=ft(n),i=Tt(o,a.tags);return i.ignore?{includesJsDoc:!0,ignore:!0}:{includesJsDoc:!0,ignore:!1,description:o.description.trim(),extractedTags:i}},"parseJsDoc");function Tt(n,a){let o={params:null,deprecated:null,returns:null,ignore:!1};for(let i of n.tags)if(!(a!==void 0&&!a.includes(i.tag)))if(i.tag==="ignore"){o.ignore=!0;break}else switch(i.tag){case"param":case"arg":case"argument":{let p=gt(i);p!=null&&(o.params==null&&(o.params=[]),o.params.push(p));break}case"deprecated":{let p=Jt(i);p!=null&&(o.deprecated=p);break}case"returns":{let p=wt(i);p!=null&&(o.returns=p);break}}return o}l(Tt,"extractJsDocTags");function ht(n){return n.replace(/[\.-]$/,"")}l(ht,"normaliseParamName");function gt(n){if(!n.name||n.name==="-")return null;let a=ve(n.type);return{name:n.name,type:a,description:Pe(n.description),getPrettyName:l(()=>ht(n.name),"getPrettyName"),getTypeName:l(()=>a?Se(a):null,"getTypeName")}}l(gt,"extractParam");function Jt(n){return n.name?Ee(n.name,n.description):null}l(Jt,"extractDeprecated");function Ee(n,a){let o=n===""?a:`${n} ${a}`;return Pe(o)}l(Ee,"joinNameAndDescription");function Pe(n){let a=n.replace(/^- /g,"").trim();return a===""?null:a}l(Pe,"normaliseDescription");function wt(n){let a=ve(n.type);return a?{type:a,description:Ee(n.name,n.description),getTypeName:l(()=>Se(a),"getTypeName")}:null}l(wt,"extractReturns");var F=Je.stringifyRules(),Bn=F.JsdocTypeObject;F.JsdocTypeAny=()=>"any";F.JsdocTypeObject=(n,a)=>`(${Bn(n,a)})`;F.JsdocTypeOptional=(n,a)=>a(n.element);F.JsdocTypeNullable=(n,a)=>a(n.element);F.JsdocTypeNotNullable=(n,a)=>a(n.element);F.JsdocTypeUnion=(n,a)=>n.elements.map(a).join("|");function ve(n){try{return Je.parse(n,"typescript")}catch{return null}}l(ve,"extractType");function Se(n){return Je.transform(F,n)}l(Se,"extractTypeName");function ke(n){return n.length>90}l(ke,"isTooLongForTypeSummary");function Nt(n){return n.length>50}l(Nt,"isTooLongForDefaultValueSummary");function b(n,a){return n===a?{summary:n}:{summary:n,detail:a}}l(b,"createSummaryValue");function bt(n,a){if(n!=null){let{value:o}=n;if(!re(o))return Nt(o)?b(a==null?void 0:a.name,o):b(o)}return null}l(bt,"createDefaultValue");function xe({name:n,value:a,elements:o,raw:i}){return a??(o!=null?o.map(xe).join(" | "):i??n)}l(xe,"generateUnionElement");function Et({name:n,raw:a,elements:o}){return o!=null?b(o.map(xe).join(" | ")):a!=null?b(a.replace(/^\|\s*/,"")):b(n)}l(Et,"generateUnion");function Pt({type:n,raw:a}){return a!=null?b(a):b(n)}l(Pt,"generateFuncSignature");function vt({type:n,raw:a}){return a!=null?ke(a)?b(n,a):b(a):b(n)}l(vt,"generateObjectSignature");function St(n){let{type:a}=n;return a==="object"?vt(n):Pt(n)}l(St,"generateSignature");function kt({name:n,raw:a}){return a!=null?ke(a)?b(n,a):b(a):b(n)}l(kt,"generateDefault");function xt(n){if(n==null)return null;switch(n.name){case"union":return Et(n);case"signature":return St(n);default:return kt(n)}}l(xt,"createType");var Cn=l((n,a)=>{let{flowType:o,description:i,required:p,defaultValue:u}=a;return{name:n,type:xt(o),required:p,description:i,defaultValue:bt(u??null,o??null)}},"createFlowPropDef");function Ot({defaultValue:n}){if(n!=null){let{value:a}=n;if(!re(a))return b(a)}return null}l(Ot,"createDefaultValue");function It({tsType:n,required:a}){if(n==null)return null;let o=n.name;return a||(o=o.replace(" | undefined","")),b(["Array","Record","signature"].includes(n.name)?n.raw:o)}l(It,"createType");var Yn=l((n,a)=>{let{description:o,required:i}=a;return{name:n,type:It(a),required:i,description:o,defaultValue:Ot(a)}},"createTsPropDef");function At(n){return n!=null?b(n.name):null}l(At,"createType");function Rt(n){let{computed:a,func:o}=n;return typeof a>"u"&&typeof o>"u"}l(Rt,"isReactDocgenTypescript");function _t(n){return n?n.name==="string"?!0:n.name==="enum"?Array.isArray(n.value)&&n.value.every(({value:a})=>typeof a=="string"&&a[0]==='"'&&a[a.length-1]==='"'):!1:!1}l(_t,"isStringValued");function Ft(n,a){if(n!=null){let{value:o}=n;if(!re(o))return Rt(n)&&_t(a)?b(JSON.stringify(o)):b(o)}return null}l(Ft,"createDefaultValue");function Oe(n,a,o){let{description:i,required:p,defaultValue:u}=o;return{name:n,type:At(a),required:p,description:i,defaultValue:Ft(u,a)}}l(Oe,"createBasicPropDef");function G(n,a){var o;if(a!=null&&a.includesJsDoc){let{description:i,extractedTags:p}=a;i!=null&&(n.description=a.description);let u={...p,params:(o=p==null?void 0:p.params)==null?void 0:o.map(y=>({name:y.getPrettyName(),description:y.description}))};Object.values(u).filter(Boolean).length>0&&(n.jsDocTags=u)}return n}l(G,"applyJsDocResult");var Gn=l((n,a,o)=>{let i=Oe(n,a.type,a);return i.sbType=we(a),G(i,o)},"javaScriptFactory"),Wn=l((n,a,o)=>{let i=Yn(n,a);return i.sbType=we(a),G(i,o)},"tsFactory"),Xn=l((n,a,o)=>{let i=Cn(n,a);return i.sbType=we(a),G(i,o)},"flowFactory"),Qn=l((n,a,o)=>{let i=Oe(n,{name:"unknown"},a);return G(i,o)},"unknownFactory"),jt=l(n=>{switch(n){case"JavaScript":return Gn;case"TypeScript":return Wn;case"Flow":return Xn;default:return Qn}},"getPropDefFactory"),Lt=l(n=>n.type!=null?"JavaScript":n.flowType!=null?"Flow":n.tsType!=null?"TypeScript":"Unknown","getTypeSystem"),Hn=l(n=>{let a=Lt(n[0]),o=jt(a);return n.map(i=>{var u;let p=i;return(u=i.type)!=null&&u.elements&&(p={...i,type:{...i.type,value:i.type.elements}}),Ie(p.name,p,a,o)})},"extractComponentSectionArray"),zn=l(n=>{let a=Object.keys(n),o=Lt(n[a[0]]),i=jt(o);return a.map(p=>{let u=n[p];return u!=null?Ie(p,u,o,i):null}).filter(Boolean)},"extractComponentSectionObject"),ar=l((n,a)=>{let o=Ge(n,a);return Ye(o)?Array.isArray(o)?Hn(o):zn(o):[]},"extractComponentProps");function Ie(n,a,o,i){let p=Mn(a.description);return p.includesJsDoc&&p.ignore?null:{propDef:i(n,a,p),jsDocTags:p.extractedTags,docgenInfo:a,typeSystem:o}}l(Ie,"extractProp");function Zn(n){return n!=null?We(n):""}l(Zn,"extractComponentDescription");const{combineParameters:er}=__STORYBOOK_MODULE_PREVIEW_API__;var or=l(n=>{let{component:a,argTypes:o,parameters:{docs:i={}}}=n,{extractArgTypes:p}=i,u=p&&a?p(a):{};return u?er(u,o):o},"enhanceArgTypes"),tr="storybook/docs",sr=`${tr}/snippet-rendered`,nr=(n=>(n.AUTO="auto",n.CODE="code",n.DYNAMIC="dynamic",n))(nr||{});export{ke as B,Ge as Y,Nt as a,or as c,nr as g,_n as j,b as l,Zn as n,ar as o,sr as y,Ne as z}; diff --git a/storybook-static/assets/index-DrFu-skq.js b/storybook-static/assets/index-DrFu-skq.js new file mode 100644 index 0000000..37c96b4 --- /dev/null +++ b/storybook-static/assets/index-DrFu-skq.js @@ -0,0 +1,6 @@ +function l(o){for(var f=[],i=1;i{var r;return!!((r=O==null?void 0:O.matchMedia("(prefers-reduced-motion: reduce)"))!=null&&r.matches)},A=r=>{(Array.isArray(r)?r:[r]).forEach(N)},N=r=>{var t;let e=b.getElementById(r);e&&((t=e.parentElement)==null||t.removeChild(e))},F=(r,e)=>{let t=b.getElementById(r);if(t)t.innerHTML!==e&&(t.innerHTML=e);else{let o=b.createElement("style");o.setAttribute("id",r),o.innerHTML=e,b.head.appendChild(o)}},Y=(r,e,t)=>{var a;let o=b.getElementById(r);if(o)o.innerHTML!==e&&(o.innerHTML=e);else{let d=b.createElement("style");d.setAttribute("id",r),d.innerHTML=e;let i=`addon-backgrounds-grid${t?`-docs-${t}`:""}`,n=b.getElementById(i);n?(a=n.parentElement)==null||a.insertBefore(d,n):b.head.appendChild(d)}},W={cellSize:100,cellAmount:10,opacity:.8},w="addon-backgrounds",R="addon-backgrounds-grid",q=D()?"":"transition: background-color 0.3s;",J=(r,e)=>{let{globals:t,parameters:o,viewMode:a,id:d}=e,{options:i=U,disable:n,grid:s=W}=o[p]||{},c=t[p]||{},u=c.value,l=u?i[u]:void 0,$=(l==null?void 0:l.value)||"transparent",f=c.grid||!1,y=!!l&&!n,m=a==="docs"?`#anchor--${d} .docs-story`:".sb-show-main",E=a==="docs"?`#anchor--${d} .docs-story`:".sb-show-main",H=o.layout===void 0||o.layout==="padded",L=a==="docs"?20:H?16:0,{cellAmount:k,cellSize:g,opacity:x,offsetX:v=L,offsetY:S=L}=s,B=a==="docs"?`${w}-docs-${d}`:`${w}-color`,G=a==="docs"?d:null;_(()=>{let M=` + ${m} { + background: ${$} !important; + ${q} + }`;if(!y){A(B);return}Y(B,M,G)},[m,B,G,y,$]);let T=a==="docs"?`${R}-docs-${d}`:`${R}`;return _(()=>{if(!f){A(T);return}let M=[`${g*k}px ${g*k}px`,`${g*k}px ${g*k}px`,`${g}px ${g}px`,`${g}px ${g}px`].join(", "),K=` + ${E} { + background-size: ${M} !important; + background-position: ${v}px ${S}px, ${v}px ${S}px, ${v}px ${S}px, ${v}px ${S}px !important; + background-blend-mode: difference !important; + background-image: linear-gradient(rgba(130, 130, 130, ${x}) 1px, transparent 1px), + linear-gradient(90deg, rgba(130, 130, 130, ${x}) 1px, transparent 1px), + linear-gradient(rgba(130, 130, 130, ${x/2}) 1px, transparent 1px), + linear-gradient(90deg, rgba(130, 130, 130, ${x/2}) 1px, transparent 1px) !important; + } + `;F(T,K)},[k,g,E,T,f,v,S,x]),r()},Q=(r,e=[],t)=>{if(r==="transparent")return"transparent";if(e.find(a=>a.value===r)||r)return r;let o=e.find(a=>a.name===t);if(o)return o.value;if(t){let a=e.map(d=>d.name).join(", ");X.warn(P` + Backgrounds Addon: could not find the default color "${t}". + These are the available colors for your story based on your configuration: + ${a}. + `)}return"transparent"},Z=(r,e)=>{var u;let{globals:t,parameters:o}=e,a=(u=t[p])==null?void 0:u.value,d=o[p],i=h(()=>d.disable?"transparent":Q(a,d.values,d.default),[d,a]),n=h(()=>i&&i!=="transparent",[i]),s=e.viewMode==="docs"?`#anchor--${e.id} .docs-story`:".sb-show-main",c=h(()=>` + ${s} { + background: ${i} !important; + ${D()?"":"transition: background-color 0.3s;"} + } + `,[i,s]);return _(()=>{let l=e.viewMode==="docs"?`addon-backgrounds-docs-${e.id}`:"addon-backgrounds-color";if(!n){A(l);return}Y(l,c,e.viewMode==="docs"?e.id:null)},[n,c,e]),r()},V=(r,e)=>{var y;let{globals:t,parameters:o}=e,a=o[p].grid,d=((y=t[p])==null?void 0:y.grid)===!0&&a.disable!==!0,{cellAmount:i,cellSize:n,opacity:s}=a,c=e.viewMode==="docs",u=o.layout===void 0||o.layout==="padded"?16:0,l=a.offsetX??(c?20:u),$=a.offsetY??(c?20:u),f=h(()=>{let m=e.viewMode==="docs"?`#anchor--${e.id} .docs-story`:".sb-show-main",E=[`${n*i}px ${n*i}px`,`${n*i}px ${n*i}px`,`${n}px ${n}px`,`${n}px ${n}px`].join(", ");return` + ${m} { + background-size: ${E} !important; + background-position: ${l}px ${$}px, ${l}px ${$}px, ${l}px ${$}px, ${l}px ${$}px !important; + background-blend-mode: difference !important; + background-image: linear-gradient(rgba(130, 130, 130, ${s}) 1px, transparent 1px), + linear-gradient(90deg, rgba(130, 130, 130, ${s}) 1px, transparent 1px), + linear-gradient(rgba(130, 130, 130, ${s/2}) 1px, transparent 1px), + linear-gradient(90deg, rgba(130, 130, 130, ${s/2}) 1px, transparent 1px) !important; + } + `},[n]);return _(()=>{let m=e.viewMode==="docs"?`addon-backgrounds-grid-docs-${e.id}`:"addon-backgrounds-grid";if(!d){A(m);return}F(m,f)},[d,f,e]),r()},C,ae=(C=globalThis.FEATURES)!=null&&C.backgroundsStoryGlobals?[J]:[V,Z],I,oe={[p]:{grid:{cellSize:20,opacity:.5,cellAmount:5},disable:!1,...!((I=globalThis.FEATURES)!=null&&I.backgroundsStoryGlobals)&&{values:Object.values(U)}}},ee={[p]:{value:void 0,grid:!1}},z,de=(z=globalThis.FEATURES)!=null&&z.backgroundsStoryGlobals?ee:{[p]:null};export{ae as decorators,de as initialGlobals,oe as parameters}; diff --git a/storybook-static/assets/preview-BBWR9nbA.js b/storybook-static/assets/preview-BBWR9nbA.js new file mode 100644 index 0000000..93b2346 --- /dev/null +++ b/storybook-static/assets/preview-BBWR9nbA.js @@ -0,0 +1 @@ +var j="Invariant failed";function S(e,t){if(!e)throw new Error(j)}const{useEffect:T}=__STORYBOOK_MODULE_PREVIEW_API__,{global:d}=__STORYBOOK_MODULE_GLOBAL__;var K="measureEnabled";function Y(){let e=d.document.documentElement,t=Math.max(e.scrollHeight,e.offsetHeight);return{width:Math.max(e.scrollWidth,e.offsetWidth),height:t}}function G(){let e=d.document.createElement("canvas");e.id="storybook-addon-measure";let t=e.getContext("2d");S(t!=null);let{width:o,height:l}=Y();return A(e,t,{width:o,height:l}),e.style.position="absolute",e.style.left="0",e.style.top="0",e.style.zIndex="2147483647",e.style.pointerEvents="none",d.document.body.appendChild(e),{canvas:e,context:t,width:o,height:l}}function A(e,t,{width:o,height:l}){e.style.width=`${o}px`,e.style.height=`${l}px`;let i=d.window.devicePixelRatio;e.width=Math.floor(o*i),e.height=Math.floor(l*i),t.scale(i,i)}var h={};function U(){h.canvas||(h=G())}function H(){h.context&&h.context.clearRect(0,0,h.width??0,h.height??0)}function V(e){H(),e(h.context)}function Z(){S(h.canvas),S(h.context),A(h.canvas,h.context,{width:0,height:0});let{width:e,height:t}=Y();A(h.canvas,h.context,{width:e,height:t}),h.width=e,h.height=t}function J(){var e;h.canvas&&(H(),(e=h.canvas.parentNode)==null||e.removeChild(h.canvas),h={})}var w={margin:"#f6b26b",border:"#ffe599",padding:"#93c47d",content:"#6fa8dc",text:"#232020"},c=6;function W(e,{x:t,y:o,w:l,h:i,r:n}){t=t-l/2,o=o-i/2,l<2*n&&(n=l/2),i<2*n&&(n=i/2),e.beginPath(),e.moveTo(t+n,o),e.arcTo(t+l,o,t+l,o+i,n),e.arcTo(t+l,o+i,t,o+i,n),e.arcTo(t,o+i,t,o,n),e.arcTo(t,o,t+l,o,n),e.closePath()}function Q(e,{padding:t,border:o,width:l,height:i,top:n,left:r}){let f=l-o.left-o.right-t.left-t.right,a=i-t.top-t.bottom-o.top-o.bottom,s=r+o.left+t.left,u=n+o.top+t.top;return e==="top"?s+=f/2:e==="right"?(s+=f,u+=a/2):e==="bottom"?(s+=f/2,u+=a):e==="left"?u+=a/2:e==="center"&&(s+=f/2,u+=a/2),{x:s,y:u}}function x(e,t,{margin:o,border:l,padding:i},n,r){let f=m=>0,a=0,s=0,u=r?1:.5,g=r?n*2:0;return e==="padding"?f=m=>i[m]*u+g:e==="border"?f=m=>i[m]+l[m]*u+g:e==="margin"&&(f=m=>i[m]+l[m]+o[m]*u+g),t==="top"?s=-f("top"):t==="right"?a=f("right"):t==="bottom"?s=f("bottom"):t==="left"&&(a=-f("left")),{offsetX:a,offsetY:s}}function tt(e,t){return Math.abs(e.x-t.x){let f=l&&n.position==="center"?lt(e,t,n):ot(e,t,n,i[r-1],l);i[r]=f})}function nt(e,t,o,l){let i=o.reduce((n,r)=>{var f;return Object.prototype.hasOwnProperty.call(n,r.position)||(n[r.position]=[]),(f=n[r.position])==null||f.push(r),n},{});i.top&&E(e,t,i.top,l),i.right&&E(e,t,i.right,l),i.bottom&&E(e,t,i.bottom,l),i.left&&E(e,t,i.left,l),i.center&&E(e,t,i.center,l)}var L={margin:"#f6b26ba8",border:"#ffe599a8",padding:"#93c47d8c",content:"#6fa8dca8"},B=30;function p(e){return parseInt(e.replace("px",""),10)}function b(e){return Number.isInteger(e)?e:e.toFixed(2)}function P(e){return e.filter(t=>t.text!==0&&t.text!=="0")}function ft(e){let t={top:d.window.scrollY,bottom:d.window.scrollY+d.window.innerHeight,left:d.window.scrollX,right:d.window.scrollX+d.window.innerWidth},o={top:Math.abs(t.top-e.top),bottom:Math.abs(t.bottom-e.bottom),left:Math.abs(t.left-e.left),right:Math.abs(t.right-e.right)};return{x:o.left>o.right?"left":"right",y:o.top>o.bottom?"top":"bottom"}}function rt(e){let t=d.getComputedStyle(e),{top:o,left:l,right:i,bottom:n,width:r,height:f}=e.getBoundingClientRect(),{marginTop:a,marginBottom:s,marginLeft:u,marginRight:g,paddingTop:m,paddingBottom:v,paddingLeft:k,paddingRight:F,borderBottomWidth:I,borderTopWidth:D,borderLeftWidth:$,borderRightWidth:N}=t;o=o+d.window.scrollY,l=l+d.window.scrollX,n=n+d.window.scrollY,i=i+d.window.scrollX;let y={top:p(a),bottom:p(s),left:p(u),right:p(g)},q={top:p(m),bottom:p(v),left:p(k),right:p(F)},z={top:p(D),bottom:p(I),left:p($),right:p(N)},_={top:o-y.top,bottom:n+y.bottom,left:l-y.left,right:i+y.right};return{margin:y,padding:q,border:z,top:o,left:l,bottom:n,right:i,width:r,height:f,extremities:_,floatingAlignment:ft(_)}}function at(e,{margin:t,width:o,height:l,top:i,left:n,bottom:r,right:f}){let a=l+t.bottom+t.top;e.fillStyle=L.margin,e.fillRect(n,i-t.top,o,t.top),e.fillRect(f,i-t.top,t.right,a),e.fillRect(n,r,o,t.bottom),e.fillRect(n-t.left,i-t.top,t.left,a);let s=[{type:"margin",text:b(t.top),position:"top"},{type:"margin",text:b(t.right),position:"right"},{type:"margin",text:b(t.bottom),position:"bottom"},{type:"margin",text:b(t.left),position:"left"}];return P(s)}function st(e,{padding:t,border:o,width:l,height:i,top:n,left:r,bottom:f,right:a}){let s=l-o.left-o.right,u=i-t.top-t.bottom-o.top-o.bottom;e.fillStyle=L.padding,e.fillRect(r+o.left,n+o.top,s,t.top),e.fillRect(a-t.right-o.right,n+t.top+o.top,t.right,u),e.fillRect(r+o.left,f-t.bottom-o.bottom,s,t.bottom),e.fillRect(r+o.left,n+t.top+o.top,t.left,u);let g=[{type:"padding",text:t.top,position:"top"},{type:"padding",text:t.right,position:"right"},{type:"padding",text:t.bottom,position:"bottom"},{type:"padding",text:t.left,position:"left"}];return P(g)}function ht(e,{border:t,width:o,height:l,top:i,left:n,bottom:r,right:f}){let a=l-t.top-t.bottom;e.fillStyle=L.border,e.fillRect(n,i,o,t.top),e.fillRect(n,r-t.bottom,o,t.bottom),e.fillRect(n,i+t.top,t.left,a),e.fillRect(f-t.right,i+t.top,t.right,a);let s=[{type:"border",text:t.top,position:"top"},{type:"border",text:t.right,position:"right"},{type:"border",text:t.bottom,position:"bottom"},{type:"border",text:t.left,position:"left"}];return P(s)}function ut(e,{padding:t,border:o,width:l,height:i,top:n,left:r}){let f=l-o.left-o.right-t.left-t.right,a=i-t.top-t.bottom-o.top-o.bottom;return e.fillStyle=L.content,e.fillRect(r+o.left+t.left,n+o.top+t.top,f,a),[{type:"content",position:"center",text:`${b(f)} x ${b(a)}`}]}function dt(e){return t=>{if(e&&t){let o=rt(e),l=at(t,o),i=st(t,o),n=ht(t,o),r=ut(t,o),f=o.width<=B*3||o.height<=B;nt(t,o,[...r,...i,...n,...l],f)}}}function mt(e){V(dt(e))}var gt=(e,t)=>{let o=d.document.elementFromPoint(e,t),l=i=>{if(i&&i.shadowRoot){let n=i.shadowRoot.elementFromPoint(e,t);return i.isEqualNode(n)?i:n.shadowRoot?l(n):n}return i};return l(o)||o},O,M={x:0,y:0};function R(e,t){O=gt(e,t),mt(O)}var pt=(e,t)=>{let{measureEnabled:o}=t.globals;return T(()=>{let l=i=>{window.requestAnimationFrame(()=>{i.stopPropagation(),M.x=i.clientX,M.y=i.clientY})};return document.addEventListener("pointermove",l),()=>{document.removeEventListener("pointermove",l)}},[]),T(()=>{let l=n=>{window.requestAnimationFrame(()=>{n.stopPropagation(),R(n.clientX,n.clientY)})},i=()=>{window.requestAnimationFrame(()=>{Z()})};return t.viewMode==="story"&&o&&(document.addEventListener("pointerover",l),U(),window.addEventListener("resize",i),R(M.x,M.y)),()=>{window.removeEventListener("resize",i),J()}},[o,t.viewMode]),e()},ct=[pt],wt={[K]:!1};export{ct as decorators,wt as initialGlobals}; diff --git a/storybook-static/assets/preview-BWzBA1C2.js b/storybook-static/assets/preview-BWzBA1C2.js new file mode 100644 index 0000000..38fec57 --- /dev/null +++ b/storybook-static/assets/preview-BWzBA1C2.js @@ -0,0 +1,396 @@ +import{d as $}from"./index-DrFu-skq.js";const{useMemo:x,useEffect:f}=__STORYBOOK_MODULE_PREVIEW_API__,{global:p}=__STORYBOOK_MODULE_GLOBAL__;var m="outline",u=i=>{(Array.isArray(i)?i:[i]).forEach(r)},r=i=>{let t=typeof i=="string"?i:i.join(""),o=p.document.getElementById(t);o&&o.parentElement&&o.parentElement.removeChild(o)},b=(i,t)=>{let o=p.document.getElementById(i);if(o)o.innerHTML!==t&&(o.innerHTML=t);else{let n=p.document.createElement("style");n.setAttribute("id",i),n.innerHTML=t,p.document.head.appendChild(n)}};function s(i){return $` + ${i} body { + outline: 1px solid #2980b9 !important; + } + + ${i} article { + outline: 1px solid #3498db !important; + } + + ${i} nav { + outline: 1px solid #0088c3 !important; + } + + ${i} aside { + outline: 1px solid #33a0ce !important; + } + + ${i} section { + outline: 1px solid #66b8da !important; + } + + ${i} header { + outline: 1px solid #99cfe7 !important; + } + + ${i} footer { + outline: 1px solid #cce7f3 !important; + } + + ${i} h1 { + outline: 1px solid #162544 !important; + } + + ${i} h2 { + outline: 1px solid #314e6e !important; + } + + ${i} h3 { + outline: 1px solid #3e5e85 !important; + } + + ${i} h4 { + outline: 1px solid #449baf !important; + } + + ${i} h5 { + outline: 1px solid #c7d1cb !important; + } + + ${i} h6 { + outline: 1px solid #4371d0 !important; + } + + ${i} main { + outline: 1px solid #2f4f90 !important; + } + + ${i} address { + outline: 1px solid #1a2c51 !important; + } + + ${i} div { + outline: 1px solid #036cdb !important; + } + + ${i} p { + outline: 1px solid #ac050b !important; + } + + ${i} hr { + outline: 1px solid #ff063f !important; + } + + ${i} pre { + outline: 1px solid #850440 !important; + } + + ${i} blockquote { + outline: 1px solid #f1b8e7 !important; + } + + ${i} ol { + outline: 1px solid #ff050c !important; + } + + ${i} ul { + outline: 1px solid #d90416 !important; + } + + ${i} li { + outline: 1px solid #d90416 !important; + } + + ${i} dl { + outline: 1px solid #fd3427 !important; + } + + ${i} dt { + outline: 1px solid #ff0043 !important; + } + + ${i} dd { + outline: 1px solid #e80174 !important; + } + + ${i} figure { + outline: 1px solid #ff00bb !important; + } + + ${i} figcaption { + outline: 1px solid #bf0032 !important; + } + + ${i} table { + outline: 1px solid #00cc99 !important; + } + + ${i} caption { + outline: 1px solid #37ffc4 !important; + } + + ${i} thead { + outline: 1px solid #98daca !important; + } + + ${i} tbody { + outline: 1px solid #64a7a0 !important; + } + + ${i} tfoot { + outline: 1px solid #22746b !important; + } + + ${i} tr { + outline: 1px solid #86c0b2 !important; + } + + ${i} th { + outline: 1px solid #a1e7d6 !important; + } + + ${i} td { + outline: 1px solid #3f5a54 !important; + } + + ${i} col { + outline: 1px solid #6c9a8f !important; + } + + ${i} colgroup { + outline: 1px solid #6c9a9d !important; + } + + ${i} button { + outline: 1px solid #da8301 !important; + } + + ${i} datalist { + outline: 1px solid #c06000 !important; + } + + ${i} fieldset { + outline: 1px solid #d95100 !important; + } + + ${i} form { + outline: 1px solid #d23600 !important; + } + + ${i} input { + outline: 1px solid #fca600 !important; + } + + ${i} keygen { + outline: 1px solid #b31e00 !important; + } + + ${i} label { + outline: 1px solid #ee8900 !important; + } + + ${i} legend { + outline: 1px solid #de6d00 !important; + } + + ${i} meter { + outline: 1px solid #e8630c !important; + } + + ${i} optgroup { + outline: 1px solid #b33600 !important; + } + + ${i} option { + outline: 1px solid #ff8a00 !important; + } + + ${i} output { + outline: 1px solid #ff9619 !important; + } + + ${i} progress { + outline: 1px solid #e57c00 !important; + } + + ${i} select { + outline: 1px solid #e26e0f !important; + } + + ${i} textarea { + outline: 1px solid #cc5400 !important; + } + + ${i} details { + outline: 1px solid #33848f !important; + } + + ${i} summary { + outline: 1px solid #60a1a6 !important; + } + + ${i} command { + outline: 1px solid #438da1 !important; + } + + ${i} menu { + outline: 1px solid #449da6 !important; + } + + ${i} del { + outline: 1px solid #bf0000 !important; + } + + ${i} ins { + outline: 1px solid #400000 !important; + } + + ${i} img { + outline: 1px solid #22746b !important; + } + + ${i} iframe { + outline: 1px solid #64a7a0 !important; + } + + ${i} embed { + outline: 1px solid #98daca !important; + } + + ${i} object { + outline: 1px solid #00cc99 !important; + } + + ${i} param { + outline: 1px solid #37ffc4 !important; + } + + ${i} video { + outline: 1px solid #6ee866 !important; + } + + ${i} audio { + outline: 1px solid #027353 !important; + } + + ${i} source { + outline: 1px solid #012426 !important; + } + + ${i} canvas { + outline: 1px solid #a2f570 !important; + } + + ${i} track { + outline: 1px solid #59a600 !important; + } + + ${i} map { + outline: 1px solid #7be500 !important; + } + + ${i} area { + outline: 1px solid #305900 !important; + } + + ${i} a { + outline: 1px solid #ff62ab !important; + } + + ${i} em { + outline: 1px solid #800b41 !important; + } + + ${i} strong { + outline: 1px solid #ff1583 !important; + } + + ${i} i { + outline: 1px solid #803156 !important; + } + + ${i} b { + outline: 1px solid #cc1169 !important; + } + + ${i} u { + outline: 1px solid #ff0430 !important; + } + + ${i} s { + outline: 1px solid #f805e3 !important; + } + + ${i} small { + outline: 1px solid #d107b2 !important; + } + + ${i} abbr { + outline: 1px solid #4a0263 !important; + } + + ${i} q { + outline: 1px solid #240018 !important; + } + + ${i} cite { + outline: 1px solid #64003c !important; + } + + ${i} dfn { + outline: 1px solid #b4005a !important; + } + + ${i} sub { + outline: 1px solid #dba0c8 !important; + } + + ${i} sup { + outline: 1px solid #cc0256 !important; + } + + ${i} time { + outline: 1px solid #d6606d !important; + } + + ${i} code { + outline: 1px solid #e04251 !important; + } + + ${i} kbd { + outline: 1px solid #5e001f !important; + } + + ${i} samp { + outline: 1px solid #9c0033 !important; + } + + ${i} var { + outline: 1px solid #d90047 !important; + } + + ${i} mark { + outline: 1px solid #ff0053 !important; + } + + ${i} bdi { + outline: 1px solid #bf3668 !important; + } + + ${i} bdo { + outline: 1px solid #6f1400 !important; + } + + ${i} ruby { + outline: 1px solid #ff7b93 !important; + } + + ${i} rt { + outline: 1px solid #ff2f54 !important; + } + + ${i} rp { + outline: 1px solid #803e49 !important; + } + + ${i} span { + outline: 1px solid #cc2643 !important; + } + + ${i} br { + outline: 1px solid #db687d !important; + } + + ${i} wbr { + outline: 1px solid #db175b !important; + }`}var e=(i,t)=>{let{globals:o}=t,n=[!0,"true"].includes(o[m]),d=t.viewMode==="docs",l=x(()=>s(d?'[data-story-block="true"]':".sb-show-main"),[t]);return f(()=>{let a=d?`addon-outline-docs-${t.id}`:"addon-outline";return n?b(a,l):u(a),()=>{u(a)}},[n,l,t]),i()},h=[e],g={[m]:!1};export{h as decorators,g as initialGlobals}; diff --git a/storybook-static/assets/preview-CNabefhq.js b/storybook-static/assets/preview-CNabefhq.js new file mode 100644 index 0000000..086d0ab --- /dev/null +++ b/storybook-static/assets/preview-CNabefhq.js @@ -0,0 +1 @@ +const e={parameters:{controls:{matchers:{date:/Date$/i}}}};export{e as default}; diff --git a/storybook-static/assets/preview-CvbIS5ZJ.js b/storybook-static/assets/preview-CvbIS5ZJ.js new file mode 100644 index 0000000..9c72315 --- /dev/null +++ b/storybook-static/assets/preview-CvbIS5ZJ.js @@ -0,0 +1 @@ +var o="viewport",a={[o]:{value:void 0,isRotated:!1}},t={viewport:"reset",viewportRotated:!1},e,l=(e=globalThis.FEATURES)!=null&&e.viewportStoryGlobals?a:t;export{l as initialGlobals}; diff --git a/storybook-static/assets/preview-DBFD-GLz.js b/storybook-static/assets/preview-DBFD-GLz.js new file mode 100644 index 0000000..eca1fec --- /dev/null +++ b/storybook-static/assets/preview-DBFD-GLz.js @@ -0,0 +1,2 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DocsRenderer-CFRXHY34-Cihn6GWF.js","./iframe-SyD4S7-2.js","./index-DJO9vBfz.js","./index-B6FmI-p2.js","./jsx-runtime-SKoiH9zj.js","./index-CFN9ZEHn.js","./index-DSAa9q1k.js","./index-DrFu-skq.js","./react-18-DHyDu7pi.js"])))=>i.map(i=>d[i]); +import{_ as a}from"./iframe-SyD4S7-2.js";var i=Object.defineProperty,s=(e,r)=>{for(var t in r)i(e,t,{get:r[t],enumerable:!0})},_={};s(_,{parameters:()=>d});var p=Object.entries(globalThis.TAGS_OPTIONS??{}).reduce((e,r)=>{let[t,o]=r;return o.excludeFromDocsStories&&(e[t]=!0),e},{}),d={docs:{renderer:async()=>{let{DocsRenderer:e}=await a(()=>import("./DocsRenderer-CFRXHY34-Cihn6GWF.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8]),import.meta.url);return new e},stories:{filter:e=>{var r;return(e.tags||[]).filter(t=>p[t]).length===0&&!((r=e.parameters.docs)!=null&&r.disable)}}}};export{d as parameters}; diff --git a/storybook-static/assets/preview-DD_OYowb.js b/storybook-static/assets/preview-DD_OYowb.js new file mode 100644 index 0000000..7386589 --- /dev/null +++ b/storybook-static/assets/preview-DD_OYowb.js @@ -0,0 +1 @@ +let p;const S=new Uint8Array(16);function A(){if(!p&&(p=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!p))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return p(S)}const o=[];for(let e=0;e<256;++e)o.push((e+256).toString(16).slice(1));function D(e,t=0){return o[e[t+0]]+o[e[t+1]]+o[e[t+2]]+o[e[t+3]]+"-"+o[e[t+4]]+o[e[t+5]]+"-"+o[e[t+6]]+o[e[t+7]]+"-"+o[e[t+8]]+o[e[t+9]]+"-"+o[e[t+10]]+o[e[t+11]]+o[e[t+12]]+o[e[t+13]]+o[e[t+14]]+o[e[t+15]]}const I=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),h={randomUUID:I};function f(e,t,r){if(h.randomUUID&&!e)return h.randomUUID();e=e||{};const n=e.random||(e.rng||A)();return n[6]=n[6]&15|64,n[8]=n[8]&63|128,D(n)}const{addons:v}=__STORYBOOK_MODULE_PREVIEW_API__,{ImplicitActionsDuringRendering:U}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__,{global:d}=__STORYBOOK_MODULE_GLOBAL__;var w="storybook/actions",j=`${w}/action-event`,V={depth:10,clearOnStoryChange:!0,limit:50},E=(e,t)=>{let r=Object.getPrototypeOf(e);return!r||t(r)?r:E(r,t)},C=e=>!!(typeof e=="object"&&e&&E(e,t=>/^Synthetic(?:Base)?Event$/.test(t.constructor.name))&&typeof e.persist=="function"),K=e=>{if(C(e)){let t=Object.create(e.constructor.prototype,Object.getOwnPropertyDescriptors(e));t.persist();let r=Object.getOwnPropertyDescriptor(t,"view"),n=r==null?void 0:r.value;return typeof n=="object"&&(n==null?void 0:n.constructor.name)==="Window"&&Object.defineProperty(t,"view",{...r,value:Object.create(n.constructor.prototype)}),t}return e},L=()=>typeof crypto=="object"&&typeof crypto.getRandomValues=="function"?f():Date.now().toString(36)+Math.random().toString(36).substring(2);function _(e,t={}){let r={...V,...t},n=function(...s){var g,O;if(t.implicit){let y=(g="__STORYBOOK_PREVIEW__"in d?d.__STORYBOOK_PREVIEW__:void 0)==null?void 0:g.storyRenders.find(l=>l.phase==="playing"||l.phase==="rendering");if(y){let l=!((O=globalThis==null?void 0:globalThis.FEATURES)!=null&&O.disallowImplicitActionsInRenderV8),R=new U({phase:y.phase,name:e,deprecated:l});if(l)console.warn(R);else throw R}}let i=v.getChannel(),c=L(),a=5,u=s.map(K),b=s.length>1?u:u[0],x={id:c,count:0,data:{name:e,args:b},options:{...r,maxDepth:a+(r.depth||3),allowFunction:r.allowFunction||!1}};i.emit(j,x)};return n.isAction=!0,n.implicit=t.implicit,n}var T=(e,t)=>typeof t[e]>"u"&&!(e in t),B=e=>{let{initialArgs:t,argTypes:r,id:n,parameters:{actions:s}}=e;if(!s||s.disable||!s.argTypesRegex||!r)return{};let i=new RegExp(s.argTypesRegex);return Object.entries(r).filter(([c])=>!!i.test(c)).reduce((c,[a,u])=>(T(a,t)&&(c[a]=_(a,{implicit:!0,id:n})),c),{})},M=e=>{let{initialArgs:t,argTypes:r,parameters:{actions:n}}=e;return n!=null&&n.disable||!r?{}:Object.entries(r).filter(([s,i])=>!!i.action).reduce((s,[i,c])=>(T(i,t)&&(s[i]=_(typeof c.action=="string"?c.action:i)),s),{})},Y=[M,B],m=!1,P=e=>{let{parameters:{actions:t}}=e;if(!(t!=null&&t.disable)&&!m&&"__STORYBOOK_TEST_ON_MOCK_CALL__"in d&&typeof d.__STORYBOOK_TEST_ON_MOCK_CALL__=="function"){let r=d.__STORYBOOK_TEST_ON_MOCK_CALL__;r((n,s)=>{let i=n.getMockName();i!=="spy"&&(!/^next\/.*::/.test(i)||["next/router::useRouter()","next/navigation::useRouter()","next/navigation::redirect","next/cache::","next/headers::cookies().set","next/headers::cookies().delete","next/headers::headers().set","next/headers::headers().delete"].some(c=>i.startsWith(c)))&&_(i)(s)}),m=!0}},N=[P];export{Y as argsEnhancers,N as loaders}; diff --git a/storybook-static/assets/preview-DGUiP6tS.js b/storybook-static/assets/preview-DGUiP6tS.js new file mode 100644 index 0000000..61e8931 --- /dev/null +++ b/storybook-static/assets/preview-DGUiP6tS.js @@ -0,0 +1,7 @@ +const{STORY_CHANGED:r}=__STORYBOOK_MODULE_CORE_EVENTS__,{addons:s}=__STORYBOOK_MODULE_PREVIEW_API__,{global:O}=__STORYBOOK_MODULE_GLOBAL__;var d="storybook/highlight",i="storybookHighlight",g=`${d}/add`,E=`${d}/reset`,{document:l}=O,H=(e="#FF4785",t="dashed")=>` + outline: 2px ${t} ${e}; + outline-offset: 2px; + box-shadow: 0 0 0 6px rgba(255,255,255,0.6); +`,h=s.getChannel(),T=e=>{let t=i;n();let o=Array.from(new Set(e.elements)),_=l.createElement("style");_.setAttribute("id",t),_.innerHTML=o.map(a=>`${a}{ + ${H(e.color,e.style)} + }`).join(" "),l.head.appendChild(_)},n=()=>{var o;let e=i,t=l.getElementById(e);t&&((o=t.parentNode)==null||o.removeChild(t))};h.on(r,n);h.on(E,n);h.on(g,T); diff --git a/storybook-static/assets/react-18-DHyDu7pi.js b/storybook-static/assets/react-18-DHyDu7pi.js new file mode 100644 index 0000000..c3e38c1 --- /dev/null +++ b/storybook-static/assets/react-18-DHyDu7pi.js @@ -0,0 +1 @@ +import{r as s}from"./index-DJO9vBfz.js";import{r as l}from"./index-CFN9ZEHn.js";var u,a=l;u=a.createRoot,a.hydrateRoot;var n=new Map;function c(){return globalThis.IS_REACT_ACT_ENVIRONMENT}var R=({callback:e,children:t})=>{let r=s.useRef();return s.useLayoutEffect(()=>{r.current!==e&&(r.current=e,e())},[e]),t};typeof Promise.withResolvers>"u"&&(Promise.withResolvers=()=>{let e=null,t=null;return{promise:new Promise((r,o)=>{e=r,t=o}),resolve:e,reject:t}});var f=async(e,t,r)=>{let o=await v(t,r);if(c()){o.render(e);return}let{promise:i,resolve:m}=Promise.withResolvers();return o.render(s.createElement(R,{callback:m},e)),i},h=(e,t)=>{let r=n.get(e);r&&(r.unmount(),n.delete(e))},v=async(e,t)=>{let r=n.get(e);return r||(r=u(e,t),n.set(e,r)),r};export{f as renderElement,h as unmountElement}; diff --git a/storybook-static/assets/share-DGA-UcQf.png b/storybook-static/assets/share-DGA-UcQf.png new file mode 100644 index 0000000..8097a37 Binary files /dev/null and b/storybook-static/assets/share-DGA-UcQf.png differ diff --git a/storybook-static/assets/styling-Bk6zjRzU.png b/storybook-static/assets/styling-Bk6zjRzU.png new file mode 100644 index 0000000..d341e82 Binary files /dev/null and b/storybook-static/assets/styling-Bk6zjRzU.png differ diff --git a/storybook-static/assets/testing-cbzR9l9r.png b/storybook-static/assets/testing-cbzR9l9r.png new file mode 100644 index 0000000..d4ac39a Binary files /dev/null and b/storybook-static/assets/testing-cbzR9l9r.png differ diff --git a/storybook-static/assets/theming-D6WJLNoW.png b/storybook-static/assets/theming-D6WJLNoW.png new file mode 100644 index 0000000..1535eb9 Binary files /dev/null and b/storybook-static/assets/theming-D6WJLNoW.png differ diff --git a/storybook-static/favicon.svg b/storybook-static/favicon.svg new file mode 100644 index 0000000..571f90f --- /dev/null +++ b/storybook-static/favicon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/storybook-static/iframe.html b/storybook-static/iframe.html new file mode 100644 index 0000000..102ec4e --- /dev/null +++ b/storybook-static/iframe.html @@ -0,0 +1,666 @@ + + + + + + Storybook + + + + + + + + + + + + + + + +
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+

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. +

+
+
+ +
+
+

+

+ The component failed to render properly, likely due to a configuration issue in Storybook. + Here are some common causes and how you can address them: +

+
    +
  1. + Missing Context/Providers: You can use decorators to supply specific + contexts or providers, which are sometimes necessary for components to render correctly. For + detailed instructions on using decorators, please visit the + Decorators documentation. +
  2. +
  3. + Misconfigured Webpack or Vite: Verify that Storybook picks up all necessary + settings for loaders, plugins, and other relevant parameters. You can find step-by-step + guides for configuring + Webpack or + Vite + with Storybook. +
  4. +
  5. + Missing Environment Variables: Your Storybook may require specific + environment variables to function as intended. You can set up custom environment variables + as outlined in the + Environment Variables documentation. +
  6. +
+
+
+
+ +
+
+ + + diff --git a/storybook-static/index.html b/storybook-static/index.html new file mode 100644 index 0000000..48766ea --- /dev/null +++ b/storybook-static/index.html @@ -0,0 +1,177 @@ + + + + + + @storybook/core - Storybook + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + \ No newline at end of file diff --git a/storybook-static/index.json b/storybook-static/index.json new file mode 100644 index 0000000..49316a3 --- /dev/null +++ b/storybook-static/index.json @@ -0,0 +1 @@ +{"v":5,"entries":{"configure-your-project--docs":{"id":"configure-your-project--docs","title":"Configure your project","name":"Docs","importPath":"./src/stories/Configure.mdx","storiesImports":[],"type":"docs","tags":["dev","test","unattached-mdx"]},"example-button--docs":{"id":"example-button--docs","title":"Example/Button","name":"Docs","importPath":"./src/stories/Button.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"example-button--primary":{"type":"story","id":"example-button--primary","name":"Primary","title":"Example/Button","importPath":"./src/stories/Button.stories.ts","componentPath":"./src/stories/Button.tsx","tags":["dev","test","autodocs"]},"example-button--secondary":{"type":"story","id":"example-button--secondary","name":"Secondary","title":"Example/Button","importPath":"./src/stories/Button.stories.ts","componentPath":"./src/stories/Button.tsx","tags":["dev","test","autodocs"]},"example-button--large":{"type":"story","id":"example-button--large","name":"Large","title":"Example/Button","importPath":"./src/stories/Button.stories.ts","componentPath":"./src/stories/Button.tsx","tags":["dev","test","autodocs"]},"example-button--small":{"type":"story","id":"example-button--small","name":"Small","title":"Example/Button","importPath":"./src/stories/Button.stories.ts","componentPath":"./src/stories/Button.tsx","tags":["dev","test","autodocs"]},"components-confirmbutton--default":{"type":"story","id":"components-confirmbutton--default","name":"Default","title":"Components/ConfirmButton","importPath":"./src/stories/ConfirmButton.stories.tsx","componentPath":"./src/components/button/confirmButton.tsx","tags":["dev","test"]},"components-confirmbutton--secondary":{"type":"story","id":"components-confirmbutton--secondary","name":"Secondary","title":"Components/ConfirmButton","importPath":"./src/stories/ConfirmButton.stories.tsx","componentPath":"./src/components/button/confirmButton.tsx","tags":["dev","test"]},"example-header--docs":{"id":"example-header--docs","title":"Example/Header","name":"Docs","importPath":"./src/stories/Header.stories.ts","type":"docs","tags":["dev","test","autodocs"],"storiesImports":[]},"example-header--logged-in":{"type":"story","id":"example-header--logged-in","name":"Logged In","title":"Example/Header","importPath":"./src/stories/Header.stories.ts","componentPath":"./src/stories/Header.tsx","tags":["dev","test","autodocs"]},"example-header--logged-out":{"type":"story","id":"example-header--logged-out","name":"Logged Out","title":"Example/Header","importPath":"./src/stories/Header.stories.ts","componentPath":"./src/stories/Header.tsx","tags":["dev","test","autodocs"]},"example-page--logged-out":{"type":"story","id":"example-page--logged-out","name":"Logged Out","title":"Example/Page","importPath":"./src/stories/Page.stories.ts","componentPath":"./src/stories/Page.tsx","tags":["dev","test"]},"example-page--logged-in":{"type":"story","id":"example-page--logged-in","name":"Logged In","title":"Example/Page","importPath":"./src/stories/Page.stories.ts","componentPath":"./src/stories/Page.tsx","tags":["dev","test","play-fn"]}}} \ No newline at end of file diff --git a/storybook-static/nunito-sans-bold-italic.woff2 b/storybook-static/nunito-sans-bold-italic.woff2 new file mode 100644 index 0000000..33563d8 Binary files /dev/null and b/storybook-static/nunito-sans-bold-italic.woff2 differ diff --git a/storybook-static/nunito-sans-bold.woff2 b/storybook-static/nunito-sans-bold.woff2 new file mode 100644 index 0000000..19fcc94 Binary files /dev/null and b/storybook-static/nunito-sans-bold.woff2 differ diff --git a/storybook-static/nunito-sans-italic.woff2 b/storybook-static/nunito-sans-italic.woff2 new file mode 100644 index 0000000..827096d Binary files /dev/null and b/storybook-static/nunito-sans-italic.woff2 differ diff --git a/storybook-static/nunito-sans-regular.woff2 b/storybook-static/nunito-sans-regular.woff2 new file mode 100644 index 0000000..c527ba4 Binary files /dev/null and b/storybook-static/nunito-sans-regular.woff2 differ diff --git a/storybook-static/project.json b/storybook-static/project.json new file mode 100644 index 0000000..ecaf318 --- /dev/null +++ b/storybook-static/project.json @@ -0,0 +1 @@ +{"generatedAt":1740982875314,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":false,"hasStorybookEslint":false,"refCount":0,"testPackages":{"vitest":"2.1.9"},"hasRouterPackage":true,"packageManager":{"type":"yarn","version":"1.22.19"},"preview":{"usesGlobals":false},"framework":{"name":"@storybook/react-vite","options":{}},"builder":"@storybook/builder-vite","renderer":"@storybook/react","portableStoriesFileCount":0,"applicationFileCount":12,"language":"typescript","storybookPackages":{},"addons":{"@storybook/addon-essentials":{"version":"8.6.3"},"@storybook/addon-onboarding":{"version":"8.6.3"},"@chromatic-com/storybook":{"version":"3.2.5"}}} \ No newline at end of file diff --git a/storybook-static/sb-addons/chromatic-com-storybook-10/manager-bundle.js b/storybook-static/sb-addons/chromatic-com-storybook-10/manager-bundle.js new file mode 100644 index 0000000..0be67f4 --- /dev/null +++ b/storybook-static/sb-addons/chromatic-com-storybook-10/manager-bundle.js @@ -0,0 +1,331 @@ +try{ +(()=>{var dc=Object.create;var Aa=Object.defineProperty;var uc=Object.getOwnPropertyDescriptor;var mc=Object.getOwnPropertyNames;var pc=Object.getPrototypeOf,hc=Object.prototype.hasOwnProperty;var Ht=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,n)=>(typeof require<"u"?require:t)[n]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var Fa=(e,t)=>()=>(e&&(t=e(e=0)),t);var Gr=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),ql=(e,t)=>{for(var n in t)Aa(e,n,{get:t[n],enumerable:!0})},Yl=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of mc(t))!hc.call(e,i)&&i!==n&&Aa(e,i,{get:()=>t[i],enumerable:!(r=uc(t,i))||r.enumerable});return e};var Ql=(e,t,n)=>(n=e!=null?dc(pc(e)):{},Yl(t||!e||!e.__esModule?Aa(n,"default",{value:e,enumerable:!0}):n,e)),fc=e=>Yl(Aa({},"__esModule",{value:!0}),e);var ne=Fa(()=>{});var xe,ae=Fa(()=>{xe={NODE_ENV:"production",NODE_PATH:[],STORYBOOK:"true",PUBLIC_URL:".",VITE_API_BASE_URL:"https://www.api-sejongpeer.shop/api/v1",REACT_APP_KAKAO_KEY:"db8fc2fdb921546fe8005a3ed06be634",REACT_APP_GOOGLE_ANALYTICS_TRACKING_ID:"G-QMJVXJXGH0"}});var re=Fa(()=>{});var Qr={};ql(Qr,{Children:()=>vc,Component:()=>At,Fragment:()=>yc,Profiler:()=>Ec,PureComponent:()=>bc,StrictMode:()=>kc,Suspense:()=>wc,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>Cc,cloneElement:()=>Sc,createContext:()=>je,createElement:()=>S,createFactory:()=>xc,createRef:()=>Nc,default:()=>a,forwardRef:()=>$,isValidElement:()=>qr,lazy:()=>_c,memo:()=>Mc,startTransition:()=>Tc,unstable_act:()=>Ac,useCallback:()=>H,useContext:()=>Ft,useDebugValue:()=>Fc,useDeferredValue:()=>Oc,useEffect:()=>K,useId:()=>Lc,useImperativeHandle:()=>Rc,useInsertionEffect:()=>Ic,useLayoutEffect:()=>Zc,useMemo:()=>ct,useReducer:()=>Yr,useRef:()=>Ne,useState:()=>_e,useSyncExternalStore:()=>Bc,useTransition:()=>Pc,version:()=>Vc});var a,vc,At,yc,Ec,bc,kc,wc,Cc,Sc,je,S,xc,Nc,$,qr,_c,Mc,Tc,Ac,H,Ft,Fc,Oc,K,Lc,Rc,Ic,Zc,ct,Yr,Ne,_e,Bc,Pc,Vc,Ln=Fa(()=>{ne();ae();re();a=__REACT__,{Children:vc,Component:At,Fragment:yc,Profiler:Ec,PureComponent:bc,StrictMode:kc,Suspense:wc,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Cc,cloneElement:Sc,createContext:je,createElement:S,createFactory:xc,createRef:Nc,forwardRef:$,isValidElement:qr,lazy:_c,memo:Mc,startTransition:Tc,unstable_act:Ac,useCallback:H,useContext:Ft,useDebugValue:Fc,useDeferredValue:Oc,useEffect:K,useId:Lc,useImperativeHandle:Rc,useInsertionEffect:Ic,useLayoutEffect:Zc,useMemo:ct,useReducer:Yr,useRef:Ne,useState:_e,useSyncExternalStore:Bc,useTransition:Pc,version:Vc}=__REACT__});var ho=Gr(La=>{"use strict";ne();ae();re();var m5=(Ln(),fc(Qr)),p5=Symbol.for("react.element"),h5=Symbol.for("react.fragment"),f5=Object.prototype.hasOwnProperty,g5=m5.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,v5={key:!0,ref:!0,__self:!0,__source:!0};function po(e,t,n){var r,i={},l=null,o=null;n!==void 0&&(l=""+n),t.key!==void 0&&(l=""+t.key),t.ref!==void 0&&(o=t.ref);for(r in t)f5.call(t,r)&&!v5.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:p5,type:e,key:l,ref:o,props:i,_owner:g5.current}}La.Fragment=h5;La.jsx=po;La.jsxs=po});var go=Gr((wv,fo)=>{"use strict";ne();ae();re();fo.exports=ho()});var yo=Gr((Nv,vo)=>{"use strict";ne();ae();re();var Ra={linear:function(e,t,n,r){var i=n-t;return i*e/r+t},easeInQuad:function(e,t,n,r){var i=n-t;return i*(e/=r)*e+t},easeOutQuad:function(e,t,n,r){var i=n-t;return-i*(e/=r)*(e-2)+t},easeInOutQuad:function(e,t,n,r){var i=n-t;return(e/=r/2)<1?i/2*e*e+t:-i/2*(--e*(e-2)-1)+t},easeInCubic:function(e,t,n,r){var i=n-t;return i*(e/=r)*e*e+t},easeOutCubic:function(e,t,n,r){var i=n-t;return i*((e=e/r-1)*e*e+1)+t},easeInOutCubic:function(e,t,n,r){var i=n-t;return(e/=r/2)<1?i/2*e*e*e+t:i/2*((e-=2)*e*e+2)+t},easeInQuart:function(e,t,n,r){var i=n-t;return i*(e/=r)*e*e*e+t},easeOutQuart:function(e,t,n,r){var i=n-t;return-i*((e=e/r-1)*e*e*e-1)+t},easeInOutQuart:function(e,t,n,r){var i=n-t;return(e/=r/2)<1?i/2*e*e*e*e+t:-i/2*((e-=2)*e*e*e-2)+t},easeInQuint:function(e,t,n,r){var i=n-t;return i*(e/=r)*e*e*e*e+t},easeOutQuint:function(e,t,n,r){var i=n-t;return i*((e=e/r-1)*e*e*e*e+1)+t},easeInOutQuint:function(e,t,n,r){var i=n-t;return(e/=r/2)<1?i/2*e*e*e*e*e+t:i/2*((e-=2)*e*e*e*e+2)+t},easeInSine:function(e,t,n,r){var i=n-t;return-i*Math.cos(e/r*(Math.PI/2))+i+t},easeOutSine:function(e,t,n,r){var i=n-t;return i*Math.sin(e/r*(Math.PI/2))+t},easeInOutSine:function(e,t,n,r){var i=n-t;return-i/2*(Math.cos(Math.PI*e/r)-1)+t},easeInExpo:function(e,t,n,r){var i=n-t;return e==0?t:i*Math.pow(2,10*(e/r-1))+t},easeOutExpo:function(e,t,n,r){var i=n-t;return e==r?t+i:i*(-Math.pow(2,-10*e/r)+1)+t},easeInOutExpo:function(e,t,n,r){var i=n-t;return e===0?t:e===r?t+i:(e/=r/2)<1?i/2*Math.pow(2,10*(e-1))+t:i/2*(-Math.pow(2,-10*--e)+2)+t},easeInCirc:function(e,t,n,r){var i=n-t;return-i*(Math.sqrt(1-(e/=r)*e)-1)+t},easeOutCirc:function(e,t,n,r){var i=n-t;return i*Math.sqrt(1-(e=e/r-1)*e)+t},easeInOutCirc:function(e,t,n,r){var i=n-t;return(e/=r/2)<1?-i/2*(Math.sqrt(1-e*e)-1)+t:i/2*(Math.sqrt(1-(e-=2)*e)+1)+t},easeInElastic:function(e,t,n,r){var i=n-t,l,o,s;return s=1.70158,o=0,l=i,e===0?t:(e/=r)===1?t+i:(o||(o=r*.3),lHc,ARGTYPES_INFO_RESPONSE:()=>jc,CHANNEL_CREATED:()=>zc,CHANNEL_WS_DISCONNECT:()=>Uc,CONFIG_ERROR:()=>$c,CREATE_NEW_STORYFILE_REQUEST:()=>Wc,CREATE_NEW_STORYFILE_RESPONSE:()=>Gc,CURRENT_STORY_WAS_SET:()=>qc,DOCS_PREPARED:()=>Yc,DOCS_RENDERED:()=>Qc,FILE_COMPONENT_SEARCH_REQUEST:()=>Kc,FILE_COMPONENT_SEARCH_RESPONSE:()=>Jc,FORCE_REMOUNT:()=>Xc,FORCE_RE_RENDER:()=>ed,GLOBALS_UPDATED:()=>td,NAVIGATE_URL:()=>nd,PLAY_FUNCTION_THREW_EXCEPTION:()=>ad,PRELOAD_ENTRIES:()=>rd,PREVIEW_BUILDER_PROGRESS:()=>id,PREVIEW_KEYDOWN:()=>ld,REGISTER_SUBSCRIPTION:()=>od,REQUEST_WHATS_NEW_DATA:()=>sd,RESET_STORY_ARGS:()=>cd,RESULT_WHATS_NEW_DATA:()=>dd,SAVE_STORY_REQUEST:()=>ud,SAVE_STORY_RESPONSE:()=>md,SELECT_STORY:()=>pd,SET_CONFIG:()=>hd,SET_CURRENT_STORY:()=>fd,SET_FILTER:()=>gd,SET_GLOBALS:()=>vd,SET_INDEX:()=>yd,SET_STORIES:()=>Ed,SET_WHATS_NEW_CACHE:()=>bd,SHARED_STATE_CHANGED:()=>kd,SHARED_STATE_SET:()=>wd,STORIES_COLLAPSE_ALL:()=>Cd,STORIES_EXPAND_ALL:()=>Sd,STORY_ARGS_UPDATED:()=>xd,STORY_CHANGED:()=>Nd,STORY_ERRORED:()=>_d,STORY_FINISHED:()=>Md,STORY_INDEX_INVALIDATED:()=>Td,STORY_MISSING:()=>Ad,STORY_PREPARED:()=>Fd,STORY_RENDERED:()=>Od,STORY_RENDER_PHASE_CHANGED:()=>Ld,STORY_SPECIFIED:()=>Rd,STORY_THREW_EXCEPTION:()=>Id,STORY_UNCHANGED:()=>Zd,TELEMETRY_ERROR:()=>Bd,TESTING_MODULE_CANCEL_TEST_RUN_REQUEST:()=>Pd,TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE:()=>Vd,TESTING_MODULE_CRASH_REPORT:()=>Dd,TESTING_MODULE_PROGRESS_REPORT:()=>Hd,TESTING_MODULE_RUN_ALL_REQUEST:()=>jd,TESTING_MODULE_RUN_REQUEST:()=>zd,TOGGLE_WHATS_NEW_NOTIFICATIONS:()=>Ud,UNHANDLED_ERRORS_WHILE_PLAYING:()=>$d,UPDATE_GLOBALS:()=>Wd,UPDATE_QUERY_PARAMS:()=>Gd,UPDATE_STORY_ARGS:()=>qd,default:()=>Dc});ne();ae();re();var Dc=__STORYBOOK_CORE_EVENTS__,{ARGTYPES_INFO_REQUEST:Hc,ARGTYPES_INFO_RESPONSE:jc,CHANNEL_CREATED:zc,CHANNEL_WS_DISCONNECT:Uc,CONFIG_ERROR:$c,CREATE_NEW_STORYFILE_REQUEST:Wc,CREATE_NEW_STORYFILE_RESPONSE:Gc,CURRENT_STORY_WAS_SET:qc,DOCS_PREPARED:Yc,DOCS_RENDERED:Qc,FILE_COMPONENT_SEARCH_REQUEST:Kc,FILE_COMPONENT_SEARCH_RESPONSE:Jc,FORCE_REMOUNT:Xc,FORCE_RE_RENDER:ed,GLOBALS_UPDATED:td,NAVIGATE_URL:nd,PLAY_FUNCTION_THREW_EXCEPTION:ad,PRELOAD_ENTRIES:rd,PREVIEW_BUILDER_PROGRESS:id,PREVIEW_KEYDOWN:ld,REGISTER_SUBSCRIPTION:od,REQUEST_WHATS_NEW_DATA:sd,RESET_STORY_ARGS:cd,RESULT_WHATS_NEW_DATA:dd,SAVE_STORY_REQUEST:ud,SAVE_STORY_RESPONSE:md,SELECT_STORY:pd,SET_CONFIG:hd,SET_CURRENT_STORY:fd,SET_FILTER:gd,SET_GLOBALS:vd,SET_INDEX:yd,SET_STORIES:Ed,SET_WHATS_NEW_CACHE:bd,SHARED_STATE_CHANGED:kd,SHARED_STATE_SET:wd,STORIES_COLLAPSE_ALL:Cd,STORIES_EXPAND_ALL:Sd,STORY_ARGS_UPDATED:xd,STORY_CHANGED:Nd,STORY_ERRORED:_d,STORY_FINISHED:Md,STORY_INDEX_INVALIDATED:Td,STORY_MISSING:Ad,STORY_PREPARED:Fd,STORY_RENDERED:Od,STORY_RENDER_PHASE_CHANGED:Ld,STORY_SPECIFIED:Rd,STORY_THREW_EXCEPTION:Id,STORY_UNCHANGED:Zd,TELEMETRY_ERROR:Bd,TESTING_MODULE_CANCEL_TEST_RUN_REQUEST:Pd,TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE:Vd,TESTING_MODULE_CRASH_REPORT:Dd,TESTING_MODULE_PROGRESS_REPORT:Hd,TESTING_MODULE_RUN_ALL_REQUEST:jd,TESTING_MODULE_RUN_REQUEST:zd,TOGGLE_WHATS_NEW_NOTIFICATIONS:Ud,UNHANDLED_ERRORS_WHILE_PLAYING:$d,UPDATE_GLOBALS:Wd,UPDATE_QUERY_PARAMS:Gd,UPDATE_STORY_ARGS:qd}=__STORYBOOK_CORE_EVENTS__;ne();ae();re();var W9=__STORYBOOK_COMPONENTS__,{A:G9,ActionBar:q9,AddonPanel:Y9,Badge:Jr,Bar:Q9,Blockquote:K9,Button:Xr,ClipboardCode:J9,Code:to,DL:X9,Div:eg,DocumentWrapper:tg,EmptyTabContent:ng,ErrorFormatter:ag,FlexBar:rg,Form:ig,H1:lg,H2:og,H3:sg,H4:cg,H5:dg,H6:ug,HR:mg,IconButton:no,IconButtonSkeleton:pg,Icons:hg,Img:fg,LI:gg,Link:Ut,ListItem:vg,Loader:ei,Modal:yg,OL:Eg,P:bg,Placeholder:kg,Pre:wg,ProgressSpinner:Cg,ResetWrapper:Sg,ScrollArea:xg,Separator:Ng,Spaced:_g,Span:Mg,StorybookIcon:Tg,StorybookLogo:Ag,Symbols:Fg,SyntaxHighlighter:Og,TT:Lg,TabBar:Rg,TabButton:Ig,TabWrapper:Zg,Table:Bg,Tabs:Pg,TabsState:Vg,TooltipLinkList:ao,TooltipMessage:ro,TooltipNote:io,UL:Dg,WithTooltip:we,WithTooltipPure:Hg,Zoom:jg,codeCommon:zg,components:Ug,createCopyToClipboardFunction:$g,getStoryHref:Wg,icons:Gg,interleaveSeparators:qg,nameSpaceClassNames:Yg,resetComponents:Qg,withReset:Kg}=__STORYBOOK_COMPONENTS__;ne();ae();re();var Yd="array",Qd="bit",lo="bits",Kd="byte",oo="bytes",cn="",Jd="exponent",Xd="function",so="iec",e5="Invalid number",t5="Invalid rounding method",ti="jedec",n5="object",co=".",a5="round",r5="s",i5="si",l5="kbit",o5="kB",s5=" ",c5="string",d5="0",ni={symbol:{iec:{bits:["bit","Kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],bytes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},jedec:{bits:["bit","Kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],bytes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}},fullform:{iec:["","kibi","mebi","gibi","tebi","pebi","exbi","zebi","yobi"],jedec:["","kilo","mega","giga","tera","peta","exa","zetta","yotta"]}};function ai(e,{bits:t=!1,pad:n=!1,base:r=-1,round:i=2,locale:l=cn,localeOptions:o={},separator:s=cn,spacer:c=s5,symbols:d={},standard:m=cn,output:u=c5,fullform:p=!1,fullforms:f=[],exponent:g=-1,roundingMethod:y=a5,precision:k=0}={}){let E=g,h=Number(e),v=[],b=0,C=cn;m===i5?(r=10,m=ti):m===so||m===ti?r=2:r===2?m=so:(r=10,m=ti);let O=r===10?1e3:1024,I=p===!0,U=h<0,G=Math[y];if(typeof e!="bigint"&&isNaN(e))throw new TypeError(e5);if(typeof G!==Xd)throw new TypeError(t5);if(U&&(h=-h),(E===-1||isNaN(E))&&(E=Math.floor(Math.log(h)/Math.log(O)),E<0&&(E=0)),E>8&&(k>0&&(k+=8-E),E=8),u===Jd)return E;if(h===0)v[0]=0,C=v[1]=ni.symbol[m][t?lo:oo][E];else{b=h/(r===2?Math.pow(2,E*10):Math.pow(1e3,E)),t&&(b=b*8,b>=O&&E<8&&(b=b/O,E++));let oe=Math.pow(10,E>0?i:0);v[0]=G(b*oe)/oe,v[0]===O&&E<8&&g===-1&&(v[0]=1,E++),C=v[1]=r===10&&E===1?t?l5:o5:ni.symbol[m][t?lo:oo][E]}if(U&&(v[0]=-v[0]),k>0&&(v[0]=v[0].toPrecision(k)),v[1]=d[v[1]]||v[1],l===!0?v[0]=v[0].toLocaleString():l.length>0?v[0]=v[0].toLocaleString(l,o):s.length>0&&(v[0]=v[0].toString().replace(co,s)),n&&i>0){let oe=v[0].toString(),ee=s||(oe.match(/(\D)/g)||[]).pop()||co,ke=oe.toString().split(ee),ye=ke[1]||cn,pe=ye.length,ie=i-pe;v[0]=`${ke[0]}${ee}${ye.padEnd(pe+ie,d5)}`}return I&&(v[1]=f[E]?f[E]:ni.fullform[m][E]+(t?Qd:Kd)+(v[0]===1?cn:r5)),u===Yd?v:u===n5?{value:v[0],symbol:v[1],exponent:E,unit:C}:v.join(c)}ne();ae();re();var Rn=__REACT_DOM__,{__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:lv,createPortal:In,createRoot:ov,findDOMNode:sv,flushSync:cv,hydrate:dv,hydrateRoot:uv,render:mv,unmountComponentAtNode:uo,unstable_batchedUpdates:pv,unstable_renderSubtreeIntoContainer:mo,version:hv}=__REACT_DOM__;ne();ae();re();var si=Ql(go(),1);Ln();var Eo=Ql(yo(),1);function y5(e){return e*Math.PI/180}function ze(e,t){return e+Math.random()*(t-e)}function E5(e,t){return Math.floor(e+Math.random()*(t-e+1))}var Zn;(function(e){e[e.Circle=0]="Circle",e[e.Square=1]="Square",e[e.Strip=2]="Strip"})(Zn||(Zn={}));var Lt;(function(e){e[e.Positive=1]="Positive",e[e.Negative=-1]="Negative"})(Lt||(Lt={}));var b5=1e3/60,ii=class{constructor(t,n,r,i){this.getOptions=n;let{colors:l,initialVelocityX:o,initialVelocityY:s}=this.getOptions();this.context=t,this.x=r,this.y=i,this.w=ze(5,20),this.h=ze(5,20),this.radius=ze(5,10),this.vx=typeof o=="number"?ze(-o,o):ze(o.min,o.max),this.vy=typeof s=="number"?ze(-s,0):ze(s.min,s.max),this.shape=E5(0,2),this.angle=y5(ze(0,360)),this.angularSpin=ze(-.2,.2),this.color=l[Math.floor(Math.random()*l.length)],this.rotateY=ze(0,1),this.rotationDirection=ze(0,1)?Lt.Positive:Lt.Negative}update(t){let{gravity:n,wind:r,friction:i,opacity:l,drawShape:o}=this.getOptions(),s=t/b5;this.x+=this.vx*s,this.y+=this.vy*s,this.vy+=n*s,this.vx+=r*s,this.vx*=i**s,this.vy*=i**s,this.rotateY>=1&&this.rotationDirection===Lt.Positive?this.rotationDirection=Lt.Negative:this.rotateY<=-1&&this.rotationDirection===Lt.Negative&&(this.rotationDirection=Lt.Positive);let c=.1*this.rotationDirection*s;if(this.rotateY+=c,this.angle+=this.angularSpin,this.context.save(),this.context.translate(this.x,this.y),this.context.rotate(this.angle),this.context.scale(1,this.rotateY),this.context.rotate(this.angle),this.context.beginPath(),this.context.fillStyle=this.color,this.context.strokeStyle=this.color,this.context.globalAlpha=l,this.context.lineCap="round",this.context.lineWidth=2,o&&typeof o=="function")o.call(this,this.context);else switch(this.shape){case Zn.Circle:{this.context.beginPath(),this.context.arc(0,0,this.radius,0,2*Math.PI),this.context.fill();break}case Zn.Square:{this.context.fillRect(-this.w/2,-this.h/2,this.w,this.h);break}case Zn.Strip:{this.context.fillRect(-this.w/6,-this.h/2,this.w/3,this.h);break}}this.context.closePath(),this.context.restore()}},li=class{constructor(t,n){this.x=0,this.y=0,this.w=0,this.h=0,this.lastNumberOfPieces=0,this.tweenInitTime=0,this.particles=[],this.particlesGenerated=0,this.removeParticleAt=i=>{this.particles.splice(i,1)},this.getParticle=()=>{let i=ze(this.x,this.w+this.x),l=ze(this.y,this.h+this.y);return new ii(this.context,this.getOptions,i,l)},this.animate=i=>{let{canvas:l,context:o,particlesGenerated:s,lastNumberOfPieces:c}=this,{run:d,recycle:m,numberOfPieces:u,debug:p,tweenFunction:f,tweenDuration:g}=this.getOptions();if(!d)return!1;let y=this.particles.length,k=m?y:s;if(k=0;E--){let h=this.particles[E];h.update(i),(h.y>l.height||h.y<-100||h.x>l.width+100||h.x<-100)&&(m&&k<=u?this.particles[E]=this.getParticle():this.removeParticleAt(E))}return y>0||k{let l={confettiSource:{x:0,y:0,w:this.canvas.width,h:0}};this._options={...l,...ci,...i},Object.assign(this,i.confettiSource)},this.update=(i=0)=>{let{options:{run:l,onConfettiComplete:o,frameRate:s},canvas:c,context:d}=this,m=Math.min(i-this.lastFrameTime,50);if(s&&m<1e3/s){this.rafId=requestAnimationFrame(this.update);return}this.lastFrameTime=i-(s?m%s:0),l&&(d.fillStyle="white",d.clearRect(0,0,c.width,c.height)),this.generator.animate(m)?this.rafId=requestAnimationFrame(this.update):(o&&typeof o=="function"&&this.generator.particlesGenerated>0&&o.call(this,this),this._options.run=!1)},this.reset=()=>{this.generator&&this.generator.particlesGenerated>0&&(this.generator.particlesGenerated=0,this.generator.particles=[],this.generator.lastNumberOfPieces=0)},this.stop=()=>{this.options={run:!1},this.rafId&&(cancelAnimationFrame(this.rafId),this.rafId=void 0)},this.canvas=t;let r=this.canvas.getContext("2d");if(!r)throw new Error("Could not get canvas context");this.context=r,this.generator=new li(this.canvas,()=>this.options),this.options=n,this.update()}get options(){return this._options}set options(t){let n=this._options?.run,r=this._options?.recycle;this.setOptionsWithDefaults(t),this.generator&&(Object.assign(this.generator,this.options.confettiSource),typeof t.recycle=="boolean"&&t.recycle&&r===!1&&(this.generator.lastNumberOfPieces=this.generator.particles.length)),typeof t.run=="boolean"&&t.run&&n===!1&&this.update()}},k5=a.createRef(),Bn=class extends a.Component{constructor(t){super(t),this.canvas=a.createRef(),this.canvas=t.canvasRef||k5}componentDidMount(){if(this.canvas.current){let t=ri(this.props)[0];this.confetti=new oi(this.canvas.current,t)}}componentDidUpdate(){let t=ri(this.props)[0];this.confetti&&(this.confetti.options=t)}componentWillUnmount(){this.confetti&&this.confetti.stop(),this.confetti=void 0}render(){let[t,n]=ri(this.props),r={zIndex:2,position:"absolute",pointerEvents:"none",top:0,left:0,bottom:0,right:0,...n.style};return(0,si.jsx)("canvas",{width:t.width,height:t.height,ref:this.canvas,...n,style:r})}};Bn.defaultProps={...ci};Bn.displayName="ReactConfetti";function ri(e){let t={},n={},r={},i=[...Object.keys(ci),"confettiSource","drawShape","onConfettiComplete","frameRate"],l=["canvasRef"];for(let o in e){let s=e[o];i.includes(o)?t[o]=s:l.includes(o)?l[o]=s:r[o]=s}return[t,r,n]}var bo=a.forwardRef((e,t)=>(0,si.jsx)(Bn,{canvasRef:t,...e}));ne();ae();re();ne();ae();re();function di({onlyFirst:e=!1}={}){let n=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?(?:\\u0007|\\u001B\\u005C|\\u009C))","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))"].join("|");return new RegExp(n,e?void 0:"g")}var w5=di();function ui(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(w5,"")}var C5=Object.create,ns=Object.defineProperty,S5=Object.getOwnPropertyDescriptor,x5=Object.getOwnPropertyNames,N5=Object.getPrototypeOf,_5=Object.prototype.hasOwnProperty,M5=(e=>typeof Ht<"u"?Ht:typeof Proxy<"u"?new Proxy(e,{get:(t,n)=>(typeof Ht<"u"?Ht:t)[n]}):e)(function(e){if(typeof Ht<"u")return Ht.apply(this,arguments);throw new Error('Dynamic require of "'+e+'" is not supported')}),Dt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),T5=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of x5(t))!_5.call(e,i)&&i!==n&&ns(e,i,{get:()=>t[i],enumerable:!(r=S5(t,i))||r.enumerable});return e},et=(e,t,n)=>(n=e!=null?C5(N5(e)):{},T5(t||!e||!e.__esModule?ns(n,"default",{value:e,enumerable:!0}):n,e)),ya=Dt((e,t)=>{(function(n,r){typeof M5=="function"&&typeof e=="object"&&typeof t=="object"?t.exports=r():typeof define=="function"&&define.amd?define(function(){return r()}):n.pluralize=r()})(e,function(){var n=[],r=[],i={},l={},o={};function s(y){return typeof y=="string"?new RegExp("^"+y+"$","i"):y}function c(y,k){return y===k?k:y===y.toLowerCase()?k.toLowerCase():y===y.toUpperCase()?k.toUpperCase():y[0]===y[0].toUpperCase()?k.charAt(0).toUpperCase()+k.substr(1).toLowerCase():k.toLowerCase()}function d(y,k){return y.replace(/\$(\d{1,2})/g,function(E,h){return k[h]||""})}function m(y,k){return y.replace(k[0],function(E,h){var v=d(k[1],arguments);return c(E===""?y[h-1]:E,v)})}function u(y,k,E){if(!y.length||i.hasOwnProperty(y))return k;for(var h=E.length;h--;){var v=E[h];if(v[0].test(k))return m(k,v)}return k}function p(y,k,E){return function(h){var v=h.toLowerCase();return k.hasOwnProperty(v)?c(h,v):y.hasOwnProperty(v)?c(h,y[v]):u(v,h,E)}}function f(y,k,E,h){return function(v){var b=v.toLowerCase();return k.hasOwnProperty(b)?!0:y.hasOwnProperty(b)?!1:u(b,b,E)===b}}function g(y,k,E){var h=k===1?g.singular(y):g.plural(y);return(E?k+" ":"")+h}return g.plural=p(o,l,n),g.isPlural=f(o,l,n),g.singular=p(l,o,r),g.isSingular=f(l,o,r),g.addPluralRule=function(y,k){n.push([s(y),k])},g.addSingularRule=function(y,k){r.push([s(y),k])},g.addUncountableRule=function(y){if(typeof y=="string"){i[y.toLowerCase()]=!0;return}g.addPluralRule(y,"$0"),g.addSingularRule(y,"$0")},g.addIrregularRule=function(y,k){k=k.toLowerCase(),y=y.toLowerCase(),o[y]=k,l[k]=y},[["I","we"],["me","us"],["he","they"],["she","they"],["them","them"],["myself","ourselves"],["yourself","yourselves"],["itself","themselves"],["herself","themselves"],["himself","themselves"],["themself","themselves"],["is","are"],["was","were"],["has","have"],["this","these"],["that","those"],["echo","echoes"],["dingo","dingoes"],["volcano","volcanoes"],["tornado","tornadoes"],["torpedo","torpedoes"],["genus","genera"],["viscus","viscera"],["stigma","stigmata"],["stoma","stomata"],["dogma","dogmata"],["lemma","lemmata"],["schema","schemata"],["anathema","anathemata"],["ox","oxen"],["axe","axes"],["die","dice"],["yes","yeses"],["foot","feet"],["eave","eaves"],["goose","geese"],["tooth","teeth"],["quiz","quizzes"],["human","humans"],["proof","proofs"],["carve","carves"],["valve","valves"],["looey","looies"],["thief","thieves"],["groove","grooves"],["pickaxe","pickaxes"],["passerby","passersby"]].forEach(function(y){return g.addIrregularRule(y[0],y[1])}),[[/s?$/i,"s"],[/[^\u0000-\u007F]$/i,"$0"],[/([^aeiou]ese)$/i,"$1"],[/(ax|test)is$/i,"$1es"],[/(alias|[^aou]us|t[lm]as|gas|ris)$/i,"$1es"],[/(e[mn]u)s?$/i,"$1s"],[/([^l]ias|[aeiou]las|[ejzr]as|[iu]am)$/i,"$1"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1i"],[/(alumn|alg|vertebr)(?:a|ae)$/i,"$1ae"],[/(seraph|cherub)(?:im)?$/i,"$1im"],[/(her|at|gr)o$/i,"$1oes"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|automat|quor)(?:a|um)$/i,"$1a"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)(?:a|on)$/i,"$1a"],[/sis$/i,"ses"],[/(?:(kni|wi|li)fe|(ar|l|ea|eo|oa|hoo)f)$/i,"$1$2ves"],[/([^aeiouy]|qu)y$/i,"$1ies"],[/([^ch][ieo][ln])ey$/i,"$1ies"],[/(x|ch|ss|sh|zz)$/i,"$1es"],[/(matr|cod|mur|sil|vert|ind|append)(?:ix|ex)$/i,"$1ices"],[/\b((?:tit)?m|l)(?:ice|ouse)$/i,"$1ice"],[/(pe)(?:rson|ople)$/i,"$1ople"],[/(child)(?:ren)?$/i,"$1ren"],[/eaux$/i,"$0"],[/m[ae]n$/i,"men"],["thou","you"]].forEach(function(y){return g.addPluralRule(y[0],y[1])}),[[/s$/i,""],[/(ss)$/i,"$1"],[/(wi|kni|(?:after|half|high|low|mid|non|night|[^\w]|^)li)ves$/i,"$1fe"],[/(ar|(?:wo|[ae])l|[eo][ao])ves$/i,"$1f"],[/ies$/i,"y"],[/\b([pl]|zomb|(?:neck|cross)?t|coll|faer|food|gen|goon|group|lass|talk|goal|cut)ies$/i,"$1ie"],[/\b(mon|smil)ies$/i,"$1ey"],[/\b((?:tit)?m|l)ice$/i,"$1ouse"],[/(seraph|cherub)im$/i,"$1"],[/(x|ch|ss|sh|zz|tto|go|cho|alias|[^aou]us|t[lm]as|gas|(?:her|at|gr)o|[aeiou]ris)(?:es)?$/i,"$1"],[/(analy|diagno|parenthe|progno|synop|the|empha|cri|ne)(?:sis|ses)$/i,"$1sis"],[/(movie|twelve|abuse|e[mn]u)s$/i,"$1"],[/(test)(?:is|es)$/i,"$1is"],[/(alumn|syllab|vir|radi|nucle|fung|cact|stimul|termin|bacill|foc|uter|loc|strat)(?:us|i)$/i,"$1us"],[/(agend|addend|millenni|dat|extrem|bacteri|desiderat|strat|candelabr|errat|ov|symposi|curricul|quor)a$/i,"$1um"],[/(apheli|hyperbat|periheli|asyndet|noumen|phenomen|criteri|organ|prolegomen|hedr|automat)a$/i,"$1on"],[/(alumn|alg|vertebr)ae$/i,"$1a"],[/(cod|mur|sil|vert|ind)ices$/i,"$1ex"],[/(matr|append)ices$/i,"$1ix"],[/(pe)(rson|ople)$/i,"$1rson"],[/(child)ren$/i,"$1"],[/(eau)x?$/i,"$1"],[/men$/i,"man"]].forEach(function(y){return g.addSingularRule(y[0],y[1])}),["adulthood","advice","agenda","aid","aircraft","alcohol","ammo","analytics","anime","athletics","audio","bison","blood","bream","buffalo","butter","carp","cash","chassis","chess","clothing","cod","commerce","cooperation","corps","debris","diabetes","digestion","elk","energy","equipment","excretion","expertise","firmware","flounder","fun","gallows","garbage","graffiti","hardware","headquarters","health","herpes","highjinks","homework","housework","information","jeans","justice","kudos","labour","literature","machinery","mackerel","mail","media","mews","moose","music","mud","manga","news","only","personnel","pike","plankton","pliers","police","pollution","premises","rain","research","rice","salmon","scissors","series","sewage","shambles","shrimp","software","species","staff","swine","tennis","traffic","transportation","trout","tuna","wealth","welfare","whiting","wildebeest","wildlife","you",/pok[eé]mon$/i,/[^aeiou]ese$/i,/deer$/i,/fish$/i,/measles$/i,/o[iu]s$/i,/pox$/i,/sheep$/i].forEach(g.addUncountableRule),g})}),A5=Dt((e,t)=>{var n=new Error("Element already at target scroll position"),r=new Error("Scroll cancelled"),i=Math.min,l=Date.now;t.exports={left:o("scrollLeft"),top:o("scrollTop")};function o(d){return function(m,u,p,f){p=p||{},typeof p=="function"&&(f=p,p={}),typeof f!="function"&&(f=c);var g=l(),y=m[d],k=p.ease||s,E=isNaN(p.duration)?350:+p.duration,h=!1;return y===u?f(n,m[d]):requestAnimationFrame(b),v;function v(){h=!0}function b(C){if(h)return f(r,m[d]);var O=l(),I=i(1,(O-g)/E),U=k(I);m[d]=U*(u-y)+y,I<1?requestAnimationFrame(b):requestAnimationFrame(function(){f(null,m[d])})}}}function s(d){return .5*(1-Math.cos(Math.PI*d))}function c(){}}),F5=Dt((e,t)=>{(function(n,r){typeof define=="function"&&define.amd?define([],r):typeof t=="object"&&t.exports?t.exports=r():n.Scrollparent=r()})(e,function(){function n(i){var l=getComputedStyle(i,null).getPropertyValue("overflow");return l.indexOf("scroll")>-1||l.indexOf("auto")>-1}function r(i){if(i instanceof HTMLElement||i instanceof SVGElement){for(var l=i.parentNode;l.parentNode;){if(n(l))return l;l=l.parentNode}return document.scrollingElement||document.documentElement}}return r})}),ml=Dt((e,t)=>{var n=function(v){return r(v)&&!i(v)};function r(v){return!!v&&typeof v=="object"}function i(v){var b=Object.prototype.toString.call(v);return b==="[object RegExp]"||b==="[object Date]"||s(v)}var l=typeof Symbol=="function"&&Symbol.for,o=l?Symbol.for("react.element"):60103;function s(v){return v.$$typeof===o}function c(v){return Array.isArray(v)?[]:{}}function d(v,b){return b.clone!==!1&&b.isMergeableObject(v)?E(c(v),v,b):v}function m(v,b,C){return v.concat(b).map(function(O){return d(O,C)})}function u(v,b){if(!b.customMerge)return E;var C=b.customMerge(v);return typeof C=="function"?C:E}function p(v){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(v).filter(function(b){return Object.propertyIsEnumerable.call(v,b)}):[]}function f(v){return Object.keys(v).concat(p(v))}function g(v,b){try{return b in v}catch{return!1}}function y(v,b){return g(v,b)&&!(Object.hasOwnProperty.call(v,b)&&Object.propertyIsEnumerable.call(v,b))}function k(v,b,C){var O={};return C.isMergeableObject(v)&&f(v).forEach(function(I){O[I]=d(v[I],C)}),f(b).forEach(function(I){y(v,I)||(g(v,I)&&C.isMergeableObject(b[I])?O[I]=u(I,C)(v[I],b[I],C):O[I]=d(b[I],C))}),O}function E(v,b,C){C=C||{},C.arrayMerge=C.arrayMerge||m,C.isMergeableObject=C.isMergeableObject||n,C.cloneUnlessOtherwiseSpecified=d;var O=Array.isArray(b),I=Array.isArray(v),U=O===I;return U?O?C.arrayMerge(v,b,C):k(v,b,C):d(b,C)}E.all=function(v,b){if(!Array.isArray(v))throw new Error("first argument should be an array");return v.reduce(function(C,O){return E(C,O,b)},{})};var h=E;t.exports=h}),O5=Dt((e,t)=>{var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";t.exports=n}),L5=Dt((e,t)=>{var n=O5();function r(){}function i(){}i.resetWarningCache=r,t.exports=function(){function l(c,d,m,u,p,f){if(f!==n){var g=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw g.name="Invariant Violation",g}}l.isRequired=l;function o(){return l}var s={array:l,bigint:l,bool:l,func:l,number:l,object:l,string:l,symbol:l,any:l,arrayOf:o,element:l,elementType:l,instanceOf:o,node:l,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:i,resetWarningCache:r};return s.PropTypes=s,s}}),R5=Dt((e,t)=>{t.exports=L5()()}),I5=Dt((e,t)=>{var n=function(l){return Object.prototype.hasOwnProperty.call(l,"props")},r=function(l,o){return l+i(o)},i=function(l){return l===null||typeof l=="boolean"||typeof l>"u"?"":typeof l=="number"?l.toString():typeof l=="string"?l:Array.isArray(l)?l.reduce(r,""):n(l)&&Object.prototype.hasOwnProperty.call(l.props,"children")?i(l.props.children):""};i.default=i,t.exports=i}),{CHROMATIC_INDEX_URL:Z5,CHROMATIC_BASE_URL:Tr=Z5||"https://www.chromatic.com",CHROMATIC_API_URL:B5=`${Tr}/api`}=xe,Z="chromaui/addon-visual-tests",nn=`${Z}/panel`,qa=`${Z}/test-provider`,P5=`${Z}/sidebarTop`,V5=`${Z}/sidebarBottom`,Li=`${Z}/access-token/${Tr}`,Ar=`${Z}/configInfo`,ko=`${Z}/configInfoDismissed`,D5=`${Z}/gitInfo`,pl=`${Z}/gitInfoError`,as=`${Z}/projectInfo`,hl=`${Z}/isOffline`,Ja=`${Z}/isOutdated`,H5=`${Z}/startBuild`,j5=`${Z}/stopBuild`,fl=`${Z}/localBuildProgress`,z5=`${Z}/selectedModeName`,U5=`${Z}/selectedBrowserId`,$5=`${Z}/telemetry`,Ri=`${Z}/enableFilter`,rs=`${Z}/removeAddon`,W5="chromatic",G5=`${Z}/ChannelFetch/aborted`,q5=`${Z}ChannelFetch/request`,Y5=`${Z}ChannelFetch/response`,{TESTING_MODULE_CRASH_REPORT:Xv="testingModuleCrashReport",TESTING_MODULE_PROGRESS_REPORT:Q5="testingModuleProgressReport",TESTING_MODULE_RUN_REQUEST:ey="testingModuleRunRequest",TESTING_MODULE_RUN_ALL_REQUEST:K5="testingModuleRunAllRequest",TESTING_MODULE_CANCEL_TEST_RUN_REQUEST:J5="testingModuleCancelTestRunRequest",TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE:ty="testingModuleCancelTestRunResponse",TESTING_MODULE_WATCH_MODE_REQUEST:ny="testingModuleWatchModeRequest"}=Kr,X5={autoAcceptChanges:!1,exitOnceUploaded:!1,exitZeroOnChanges:!0,forceRebuild:!0,fromCI:!1,interactive:!1,isLocalBuild:!0,skip:!1,skipUpdateCheck:!0,storybookBuildDir:void 0},is="https://www.chromatic.com/docs/visual-tests-addon",eu=et(ya()),tu=(e,t)=>t&&{positive:{color:e.color.positiveText},warning:{color:e.color.warningText}}[t]||{},Je=w(no)(({active:e,variant:t,theme:n})=>({display:"inline-flex",alignItems:"center",verticalAlign:"top",gap:6,margin:0,color:e||t==="outline"?n.color.secondary:n.color.mediumdark,fontWeight:"normal","& > svg":{width:"auto"}}),({active:e,status:t,theme:n})=>!e&&tu(n,t),({active:e,theme:t})=>{let n=t.background.content===t.color.lightest,r=n?"rgb(241,248,255)":"rgb(28,37,45)",i=n?"rgb(229,243,255)":"rgb(29,44,56)";return{"--bg-color":e?r:t.background.content,"&:hover":{"--bg-color":i,color:t.color.secondary}}}),nu=w(Jr)(({theme:e})=>({padding:"4px 8px",fontSize:e.typography.size.s1})),au=w(Je)(({theme:e})=>({fontSize:e.typography.size.s2,"&:hover [data-badge][data-status=warning], [data-badge=true][data-status=warning]":{background:"#E3F3FF",borderColor:"rgba(2, 113, 182, 0.1)",color:"#0271B6"},"&:hover [data-badge][data-status=critical], [data-badge=true][data-status=critical]":{background:e.background.negative,boxShadow:"inset 0 0 0 1px rgba(182, 2, 2, 0.1)",color:e.color.negativeText}}),({active:e,theme:t})=>!e&&ue({"&:hover":{color:t.base==="light"?t.color.defaultText:t.color.light}})),ru=w.span(({theme:e})=>({color:e.base==="light"?e.color.defaultText:e.color.light})),wo=({active:e,count:t,label:n,status:r,...i})=>a.createElement(au,{active:e,...i},a.createElement(nu,{status:r,"data-badge":e,"data-status":r},t),a.createElement(ru,null,(0,eu.default)(n,t))),iu=()=>!0,lu=({status:e})=>e?.[Z]?.status==="warn",ou=({status:e})=>e?.[Z]?.status==="error",su=({status:e})=>e?.[Z]?.status==="warn"||e?.[Z]?.status==="error",cu=(e=!1,t=!1)=>e&&t?su:e?lu:t?ou:iu,du=w.div({display:"flex",gap:5}),uu=({api:e,status:t})=>{let[n,r]=a.useState(!1),[i,l]=a.useState(!1),o=Object.values(t).filter(p=>p[Z]?.status==="warn"),s=Object.values(t).filter(p=>p[Z]?.status==="error"),c=o.length>0,d=s.length>0,m=H(()=>r(p=>!p),[]),u=H(()=>l(p=>!p),[]);return K(()=>{let p=cu(c&&n,d&&i);e.experimental_setFilter(Z,p),e.emit(Ri,p)},[e,c,d,n,i]),!c&&!d?null:a.createElement(du,{id:"sidebar-bottom-wrapper"},c&&a.createElement(wo,{id:"warnings-found-filter",active:n,count:o.length,label:"Change",status:"warning",onClick:m}),d&&a.createElement(wo,{id:"errors-found-filter",active:i,count:s.length,label:"Error",status:"critical",onClick:u}))},mu=e=>{let{status:t}=jt();return a.createElement(uu,{...e,status:t})},pu=$(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.25 4.254a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0zm-.5 0a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),S("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 1.504v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5zM2 9.297V2.004h10v5.293L9.854 5.15a.5.5 0 00-.708 0L6.5 7.797 5.354 6.65a.5.5 0 00-.708 0L2 9.297zM9.5 6.21l2.5 2.5v3.293H2V10.71l3-3 3.146 3.146a.5.5 0 00.708-.707L7.207 8.504 9.5 6.21z",fill:e}))),ls=$(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 3.004H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h10a.5.5 0 00.5-.5v-2.5h2.5a.5.5 0 00.5-.5v-10a.5.5 0 00-.5-.5h-10a.5.5 0 00-.5.5v2.5zm1 1v2.293l2.293-2.293H4zm-1 0v6.5a.499.499 0 00.497.5H10v2H1v-9h2zm1-1h6.5a.499.499 0 01.5.5v6.5h2v-9H4v2zm6 7V7.71l-2.293 2.293H10zm0-3.707V4.71l-5.293 5.293h1.586L10 6.297zm-.707-2.293H7.707L4 7.71v1.586l5.293-5.293z",fill:e}))),hu=$(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("path",{d:"M4.5 4a.5.5 0 00-.5.5v5a.5.5 0 00.5.5h5a.5.5 0 00.5-.5v-5a.5.5 0 00-.5-.5h-5z",fill:e}),S("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),Bt=$(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("path",{d:"M12.813 7.425l-9.05 5.603A.5.5 0 013 12.603V1.398a.5.5 0 01.763-.425l9.05 5.602a.5.5 0 010 .85z",fill:e}))),fu=$(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("path",{d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11z",fill:e}))),os=$(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("path",{d:"M4 5.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zM4.5 7.5a.5.5 0 000 1h5a.5.5 0 000-1h-5zM4 10.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5z",fill:e}),S("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 0a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h11a.5.5 0 00.5-.5V3.207a.5.5 0 00-.146-.353L10.146.146A.5.5 0 009.793 0H1.5zM2 1h7.5v2a.5.5 0 00.5.5h2V13H2V1z",fill:e}))),gu=$(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("path",{d:"M6 7a3 3 0 110-6h5.5a.5.5 0 010 1H10v10.5a.5.5 0 01-1 0V2H7v10.5a.5.5 0 01-1 0V7z",fill:e}))),vu=$(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("path",{d:"M5.586 5.586A2 2 0 018.862 7.73a.5.5 0 10.931.365 3 3 0 10-1.697 1.697.5.5 0 10-.365-.93 2 2 0 01-2.145-3.277z",fill:e}),S("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.939 6.527c.127.128.19.297.185.464a.635.635 0 01-.185.465L0 8.395a7.099 7.099 0 001.067 2.572h1.32c.182 0 .345.076.46.197a.635.635 0 01.198.46v1.317A7.097 7.097 0 005.602 14l.94-.94a.634.634 0 01.45-.186H7.021c.163 0 .326.061.45.186l.939.938a7.098 7.098 0 002.547-1.057V11.61c0-.181.075-.344.197-.46a.634.634 0 01.46-.197h1.33c.507-.76.871-1.622 1.056-2.55l-.946-.946a.635.635 0 01-.186-.465.635.635 0 01.186-.464l.943-.944a7.099 7.099 0 00-1.044-2.522h-1.34a.635.635 0 01-.46-.197.635.635 0 01-.196-.46V1.057A7.096 7.096 0 008.413.002l-.942.942a.634.634 0 01-.45.186H6.992a.634.634 0 01-.45-.186L5.598 0a7.097 7.097 0 00-2.553 1.058v1.33c0 .182-.076.345-.197.46a.635.635 0 01-.46.198h-1.33A7.098 7.098 0 00.003 5.591l.936.936zm.707 1.636c.324-.324.482-.752.479-1.172a1.634 1.634 0 00-.48-1.171l-.538-.539c.126-.433.299-.847.513-1.235h.768c.459 0 .873-.19 1.167-.49.3-.295.49-.708.49-1.167v-.77c.39-.215.807-.388 1.243-.515l.547.547c.32.32.742.48 1.157.48l.015-.001h.014c.415 0 .836-.158 1.157-.479l.545-.544c.433.126.846.299 1.234.512v.784c0 .46.19.874.49 1.168.294.3.708.49 1.167.49h.776c.209.382.378.788.502 1.213l-.545.546a1.635 1.635 0 00-.48 1.17c-.003.421.155.849.48 1.173l.549.55c-.126.434-.3.85-.513 1.239h-.77c-.458 0-.872.19-1.166.49-.3.294-.49.708-.49 1.167v.77a6.09 6.09 0 01-1.238.514l-.54-.54a1.636 1.636 0 00-1.158-.48H6.992c-.415 0-.837.159-1.157.48l-.543.543a6.091 6.091 0 01-1.247-.516v-.756c0-.459-.19-.873-.49-1.167-.294-.3-.708-.49-1.167-.49h-.761a6.094 6.094 0 01-.523-1.262l.542-.542z",fill:e}))),yu=$(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("path",{d:"M4 7a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM13 7a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM7 8.5a1.5 1.5 0 100-3 1.5 1.5 0 000 3z",fill:e}))),Eu=$(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("path",{d:"M5.903.112a.107.107 0 01.194 0l.233.505.552.066c.091.01.128.123.06.185l-.408.377.109.546a.107.107 0 01-.158.114L6 1.634l-.485.271a.107.107 0 01-.158-.114l.108-.546-.408-.377a.107.107 0 01.06-.185L5.67.617l.233-.505zM2.194.224a.214.214 0 00-.389 0l-.466 1.01-1.104.131a.214.214 0 00-.12.37l.816.755-.217 1.091a.214.214 0 00.315.23L2 3.266l.971.543c.16.09.35-.05.315-.229l-.216-1.09.816-.756a.214.214 0 00-.12-.37L2.66 1.234 2.194.224zM12.194 8.224a.214.214 0 00-.389 0l-.466 1.01-1.104.13a.214.214 0 00-.12.371l.816.755-.217 1.091a.214.214 0 00.315.23l.97-.544.971.543c.16.09.35-.05.315-.229l-.216-1.09.816-.756a.214.214 0 00-.12-.37l-1.105-.131-.466-1.01z",fill:e}),S("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.5 12.797l-1.293-1.293 6.758-6.758L9.258 6.04 2.5 12.797zm7.465-7.465l2.828-2.828L11.5 1.211 8.672 4.04l1.293 1.293zM.147 11.857a.5.5 0 010-.707l11-11a.5.5 0 01.706 0l2 2a.5.5 0 010 .708l-11 11a.5.5 0 01-.706 0l-2-2z",fill:e}))),gl=$(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("path",{d:"M13.854 3.354a.5.5 0 00-.708-.708L5 10.793.854 6.646a.5.5 0 10-.708.708l4.5 4.5a.5.5 0 00.708 0l8.5-8.5z",fill:e}))),Co=$(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("path",{d:"M11.5 2a.5.5 0 000 1h2a.5.5 0 000-1h-2zM9.3 2.6a.5.5 0 01.1.7l-5.995 7.993a.505.505 0 01-.37.206.5.5 0 01-.395-.152L.146 8.854a.5.5 0 11.708-.708l2.092 2.093L8.6 2.7a.5.5 0 01.7-.1zM11 7a.5.5 0 01.5-.5h2a.5.5 0 010 1h-2A.5.5 0 0111 7zM11.5 11a.5.5 0 000 1h2a.5.5 0 000-1h-2z",fill:e}))),bu=$(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("path",{d:"M7 3a.5.5 0 01.5.5v3h3a.5.5 0 010 1h-3v3a.5.5 0 01-1 0v-3h-3a.5.5 0 010-1h3v-3A.5.5 0 017 3z",fill:e}),S("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),vl=$(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("path",{d:"M9.854 4.146a.5.5 0 010 .708L7.707 7l2.147 2.146a.5.5 0 01-.708.708L7 7.707 4.854 9.854a.5.5 0 01-.708-.708L6.293 7 4.146 4.854a.5.5 0 11.708-.708L7 6.293l2.146-2.147a.5.5 0 01.708 0z",fill:e}),S("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),Ii=$(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm3.854-9.354a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.708 0l-2.5-2.5a.5.5 0 11.708-.708L6 8.793l4.146-4.147a.5.5 0 01.708 0z",fill:e}))),ku=$(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zM3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}))),St=$(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm2.854-9.854a.5.5 0 010 .708L7.707 7l2.147 2.146a.5.5 0 01-.708.708L7 7.707 4.854 9.854a.5.5 0 01-.708-.708L6.293 7 4.146 4.854a.5.5 0 11.708-.708L7 6.293l2.146-2.147a.5.5 0 01.708 0z",fill:e}))),ss=$(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("path",{d:"M8 8.004a1 1 0 01-.5.866v1.634a.5.5 0 01-1 0V8.87A1 1 0 118 8.004z",fill:e}),S("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 4.004a4 4 0 118 0v1h1.5a.5.5 0 01.5.5v8a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-8a.5.5 0 01.5-.5H3v-1zm7 1v-1a3 3 0 10-6 0v1h6zm2 1H2v7h10v-7z",fill:e}))),wu=$(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("path",{d:"M7 5.5a.5.5 0 01.5.5v4a.5.5 0 01-1 0V6a.5.5 0 01.5-.5zM7 4.5A.75.75 0 107 3a.75.75 0 000 1.5z",fill:e}),S("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),cs=$(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("path",{d:"M5.25 5.25A1.75 1.75 0 117 7a.5.5 0 00-.5.5V9a.5.5 0 001 0V7.955A2.75 2.75 0 104.25 5.25a.5.5 0 001 0zM7 11.5A.75.75 0 107 10a.75.75 0 000 1.5z",fill:e}),S("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),Cu=$(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-3.524 4.89A5.972 5.972 0 017 13a5.972 5.972 0 01-3.477-1.11l1.445-1.444C5.564 10.798 6.258 11 7 11s1.436-.202 2.032-.554l1.444 1.445zm-.03-2.858l1.445 1.444A5.972 5.972 0 0013 7c0-1.296-.41-2.496-1.11-3.477l-1.444 1.445C10.798 5.564 11 6.258 11 7s-.202 1.436-.554 2.032zM9.032 3.554l1.444-1.445A5.972 5.972 0 007 1c-1.296 0-2.496.41-3.477 1.11l1.445 1.444A3.981 3.981 0 017 3c.742 0 1.436.202 2.032.554zM3.554 4.968L2.109 3.523A5.973 5.973 0 001 7c0 1.296.41 2.496 1.11 3.476l1.444-1.444A3.981 3.981 0 013 7c0-.742.202-1.436.554-2.032zM10 7a3 3 0 11-6 0 3 3 0 016 0z",fill:e}))),Su=$(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("path",{d:"M7 4.5a.5.5 0 01.5.5v3.5a.5.5 0 11-1 0V5a.5.5 0 01.5-.5zM7.75 10.5a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),S("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.206 1.045a.498.498 0 01.23.209l6.494 10.992a.5.5 0 01-.438.754H.508a.497.497 0 01-.506-.452.498.498 0 01.072-.31l6.49-10.984a.497.497 0 01.642-.21zM7 2.483L1.376 12h11.248L7 2.483z",fill:e}))),ds=$(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("path",{d:"M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1v-4.5a.5.5 0 00-1 0v4.5H2v-10h4.5a.5.5 0 000-1H2z",fill:e}),S("path",{d:"M7.354 7.357L12 2.711v1.793a.5.5 0 001 0v-3a.5.5 0 00-.5-.5h-3a.5.5 0 100 1h1.793L6.646 6.65a.5.5 0 10.708.707z",fill:e}))),xu=$(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("g",{clipPath:"url(#prefix__clip0_1449_588)"},S("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.414 1.586a2 2 0 00-2.828 0l-4 4a2 2 0 000 2.828l4 4a2 2 0 002.828 0l4-4a2 2 0 000-2.828l-4-4zm.707-.707a3 3 0 00-4.242 0l-4 4a3 3 0 000 4.242l4 4a3 3 0 004.242 0l4-4a3 3 0 000-4.242l-4-4z",fill:e})),S("defs",null,S("clipPath",{id:"prefix__clip0_1449_588"},S("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),us=$(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("path",{d:"M1.146 4.604l5.5 5.5a.5.5 0 00.708 0l5.5-5.5a.5.5 0 00-.708-.708L7 9.043 1.854 3.896a.5.5 0 10-.708.708z",fill:e}))),Nu=$(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("path",{d:"M2.76 7.096a.498.498 0 00.136.258l5.5 5.5a.5.5 0 00.707-.708L3.958 7l5.147-5.146a.5.5 0 10-.708-.708l-5.5 5.5a.5.5 0 00-.137.45z",fill:e}))),_u=$(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("path",{d:"M11.104 7.354l-5.5 5.5a.5.5 0 01-.708-.708L10.043 7 4.896 1.854a.5.5 0 11.708-.708l5.5 5.5a.5.5 0 010 .708z",fill:e}))),Mu=$(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("path",{d:"M7.354.146l4 4a.5.5 0 01-.708.708L7 1.207 3.354 4.854a.5.5 0 11-.708-.708l4-4a.5.5 0 01.708 0zM11.354 9.146a.5.5 0 010 .708l-4 4a.5.5 0 01-.708 0l-4-4a.5.5 0 11.708-.708L7 12.793l3.646-3.647a.5.5 0 01.708 0z",fill:e}))),Tu=$(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("path",{d:"M3.354.146a.5.5 0 10-.708.708l4 4a.5.5 0 00.708 0l4-4a.5.5 0 00-.708-.708L7 3.793 3.354.146zM6.646 9.146a.5.5 0 01.708 0l4 4a.5.5 0 01-.708.708L7 10.207l-3.646 3.647a.5.5 0 01-.708-.708l4-4z",fill:e}))),Au=$(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("path",{d:"M10.646 2.646a.5.5 0 01.708 0l1.5 1.5a.5.5 0 010 .708l-1.5 1.5a.5.5 0 01-.708-.708L11.293 5H1.5a.5.5 0 010-1h9.793l-.647-.646a.5.5 0 010-.708zM3.354 8.354L2.707 9H12.5a.5.5 0 010 1H2.707l.647.646a.5.5 0 01-.708.708l-1.5-1.5a.5.5 0 010-.708l1.5-1.5a.5.5 0 11.708.708z",fill:e}))),Fu=$(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("path",{d:"M1.146 3.854a.5.5 0 010-.708l2-2a.5.5 0 11.708.708L2.707 3h6.295A4 4 0 019 11H3a.5.5 0 010-1h6a3 3 0 100-6H2.707l1.147 1.146a.5.5 0 11-.708.708l-2-2z",fill:e}))),ms=$(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("path",{d:"M5.5 1A.5.5 0 005 .5H2a.5.5 0 000 1h1.535a6.502 6.502 0 002.383 11.91.5.5 0 10.165-.986A5.502 5.502 0 014.5 2.1V4a.5.5 0 001 0V1.353a.5.5 0 000-.023V1zM7.507 1a.5.5 0 01.576-.41 6.502 6.502 0 012.383 11.91H12a.5.5 0 010 1H9a.5.5 0 01-.5-.5v-3a.5.5 0 011 0v1.9A5.5 5.5 0 007.917 1.576.5.5 0 017.507 1z",fill:e}))),Ou=$(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7a7 7 0 1114 0A7 7 0 010 7zm6.5 3.5v2.48A6.001 6.001 0 011.02 7.5H3.5a.5.5 0 000-1H1.02A6.001 6.001 0 016.5 1.02V3.5a.5.5 0 001 0V1.02a6.001 6.001 0 015.48 5.48H10.5a.5.5 0 000 1h2.48a6.002 6.002 0 01-5.48 5.48V10.5a.5.5 0 00-1 0z",fill:e}))),Lu=$(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("path",{d:"M7.5 4.5a.5.5 0 00-1 0v2.634a1 1 0 101 0V4.5z",fill:e}),S("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5.5A.5.5 0 016 0h2a.5.5 0 010 1h-.5v1.02a5.973 5.973 0 013.374 1.398l.772-.772a.5.5 0 01.708.708l-.772.772A6 6 0 116.5 2.02V1H6a.5.5 0 01-.5-.5zM7 3a5 5 0 100 10A5 5 0 007 3z",fill:e}))),Ru=$(({color:e="currentColor",size:t=14,...n},r)=>S("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:r,...n},S("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zM2.671 11.155c.696-1.006 2.602-1.816 3.194-1.91.226-.036.232-.658.232-.658s-.665-.658-.81-1.544c-.39 0-.63-.94-.241-1.272a2.578 2.578 0 00-.012-.13c-.066-.607-.28-2.606 1.965-2.606 2.246 0 2.031 2 1.966 2.606l-.012.13c.39.331.149 1.272-.24 1.272-.146.886-.81 1.544-.81 1.544s.004.622.23.658c.593.094 2.5.904 3.195 1.91a6 6 0 10-8.657 0z",fill:e}))),mi=et(ya()),yl=()=>{},$e=yl;function it(e){return{tag:0,0:e}}function Ea(e){return{tag:1,0:e}}var So=()=>typeof Symbol=="function"&&Symbol.asyncIterator||"@@asyncIterator",Iu=e=>e;function De(e){return t=>n=>{var r=$e;t(i=>{i===0?n(0):i.tag===0?(r=i[0],n(i)):e(i[0])?n(i):r(0)})}}function Zi(e){return t=>n=>t(r=>{r===0||r.tag===0?n(r):n(Ea(e(r[0])))})}function Xa(e){return t=>n=>{var r=[],i=$e,l=!1,o=!1;t(s=>{o||(s===0?(o=!0,r.length||n(0)):s.tag===0?i=s[0]:(l=!1,function(c){var d=$e;c(m=>{if(m===0){if(r.length){var u=r.indexOf(d);u>-1&&(r=r.slice()).splice(u,1),r.length||(o?n(0):l||(l=!0,i(0)))}}else m.tag===0?(r.push(d=m[0]),d(0)):r.length&&(n(m),d(0))})}(e(s[0])),l||(l=!0,i(0))))}),n(it(s=>{if(s===1){o||(o=!0,i(1));for(var c=0,d=r,m=r.length;cn=>{var r=!1;t(i=>{if(!r)if(i===0)r=!0,n(0),e();else if(i.tag===0){var l=i[0];n(it(o=>{o===1?(r=!0,l(1),e()):l(o)}))}else n(i)})}}function er(e){return t=>n=>{var r=!1;t(i=>{if(!r)if(i===0)r=!0,n(0);else if(i.tag===0){var l=i[0];n(it(o=>{o===1&&(r=!0),l(o)}))}else e(i[0]),n(i)})}}function Bi(e){return t=>n=>t(r=>{r===0?n(0):r.tag===0?(n(r),e()):n(r)})}function na(e){var t=[],n=$e,r=!1;return i=>{t.push(i),t.length===1&&e(l=>{if(l===0){for(var o=0,s=t,c=t.length;o{if(l===1){var o=t.indexOf(i);o>-1&&(t=t.slice()).splice(o,1),t.length||n(1)}else r||(r=!0,n(0))}))}}function xo(e){return t=>n=>{var r=$e,i=$e,l=!1,o=!1,s=!1,c=!1;t(d=>{c||(d===0?(c=!0,s||n(0)):d.tag===0?r=d[0]:(s&&(i(1),i=$e),l?l=!1:(l=!0,r(0)),function(m){s=!0,m(u=>{s&&(u===0?(s=!1,c?n(0):l||(l=!0,r(0))):u.tag===0?(o=!1,(i=u[0])(0)):(n(u),o?o=!1:i(0)))})}(e(d[0]))))}),n(it(d=>{d===1?(c||(c=!0,r(1)),s&&(s=!1,i(1))):(!c&&!l&&(l=!0,r(0)),s&&!o&&(o=!0,i(0)))}))}}function Fr(e){return t=>n=>{var r=$e,i=!1,l=0;t(o=>{i||(o===0?(i=!0,n(0)):o.tag===0?e<=0?(i=!0,n(0),o[0](1)):r=o[0]:l++=e&&(i=!0,n(0),r(1))):n(o))}),n(it(o=>{o===1&&!i?(i=!0,r(1)):o===0&&!i&&ln=>{var r=$e,i=$e,l=!1;t(o=>{l||(o===0?(l=!0,i(1),n(0)):o.tag===0?(r=o[0],e(s=>{s===0||(s.tag===0?(i=s[0])(0):(l=!0,i(1),r(1),n(0)))})):n(o))}),n(it(o=>{o===1&&!l?(l=!0,r(1),i(1)):l||r(0)}))}}function hs(e,t){return n=>r=>{var i=$e,l=!1;n(o=>{l||(o===0?(l=!0,r(0)):o.tag===0?(i=o[0],r(o)):e(o[0])?r(o):(l=!0,t&&r(o),r(0),i(1)))})}}function Bu(e){return t=>e()(t)}function fs(e){return t=>{var n=e[So()]&&e[So()]()||e,r=!1,i=!1,l=!1,o;t(it(async s=>{if(s===1)r=!0,n.return&&n.return();else if(i)l=!0;else{for(l=i=!0;l&&!r;)if((o=await n.next()).done)r=!0,n.return&&await n.return(),t(0);else try{l=!1,t(Ea(o.value))}catch(c){if(n.throw)(r=!!(await n.throw(c)).done)&&t(0);else throw c}i=!1}}))}}function Pu(e){return e[Symbol.asyncIterator]?fs(e):t=>{var n=e[Symbol.iterator](),r=!1,i=!1,l=!1,o;t(it(s=>{if(s===1)r=!0,n.return&&n.return();else if(i)l=!0;else{for(l=i=!0;l&&!r;)if((o=n.next()).done)r=!0,n.return&&n.return(),t(0);else try{l=!1,t(Ea(o.value))}catch(c){if(n.throw)(r=!!n.throw(c).done)&&t(0);else throw c}i=!1}}))}}var Vu=Pu;function Kn(e){return t=>{var n=!1;t(it(r=>{r===1?n=!0:n||(n=!0,t(Ea(e)),t(0))}))}}function gs(e){return t=>{var n=!1,r=e({next(i){n||t(Ea(i))},complete(){n||(n=!0,t(0))}});t(it(i=>{i===1&&!n&&(n=!0,r())}))}}function Pi(){var e,t;return{source:na(gs(n=>(e=n.next,t=n.complete,yl))),next(n){e&&e(n)},complete(){t&&t()}}}function No(e){return gs(t=>(e.then(n=>{Promise.resolve(n).then(()=>{t.next(n),t.complete()})}),yl))}function yn(e){return t=>{var n=$e,r=!1;return t(i=>{i===0?r=!0:i.tag===0?(n=i[0])(0):r||(e(i[0]),n(0))}),{unsubscribe(){r||(r=!0,n(1))}}}}function Du(e){yn(t=>{})(e)}function bl(e){return new Promise(t=>{var n=$e,r;e(i=>{i===0?Promise.resolve(r).then(t):i.tag===0?(n=i[0])(0):(r=i[0],n(0))})})}var Hu={NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType"},Vi=class extends Error{constructor(e,t,n,r,i,l,o){super(e),this.name="GraphQLError",this.message=e,i&&(this.path=i),t&&(this.nodes=Array.isArray(t)?t:[t]),n&&(this.source=n),r&&(this.positions=r),l&&(this.originalError=l);var s=o;if(!s&&l){var c=l.extensions;c&&typeof c=="object"&&(s=c)}this.extensions=s||{}}toJSON(){return{...this,message:this.message}}toString(){return this.message}get[Symbol.toStringTag](){return"GraphQLError"}},fe,Y;function Ce(e){return new Vi(`Syntax Error: Unexpected token at ${Y} in ${e}`)}function Ue(e){if(e.lastIndex=Y,e.test(fe))return fe.slice(Y,Y=e.lastIndex)}var Ia=/ +(?=[^\s])/y;function ju(e){for(var t=e.split(` +`),n="",r=0,i=0,l=t.length-1,o=0;o!(!e||!e.length),Te={OperationDefinition(e){if(e.operation==="query"&&!e.name&&!qe(e.variableDefinitions)&&!qe(e.directives))return Te.SelectionSet(e.selectionSet);var t=e.operation;return e.name&&(t+=" "+e.name.value),qe(e.variableDefinitions)&&(e.name||(t+=" "),t+="("+e.variableDefinitions.map(Te.VariableDefinition).join(", ")+")"),qe(e.directives)&&(t+=" "+e.directives.map(Te.Directive).join(" ")),t+" "+Te.SelectionSet(e.selectionSet)},VariableDefinition(e){var t=Te.Variable(e.variable)+": "+Ye(e.type);return e.defaultValue&&(t+=" = "+Ye(e.defaultValue)),qe(e.directives)&&(t+=" "+e.directives.map(Te.Directive).join(" ")),t},Field(e){var t=(e.alias?e.alias.value+": ":"")+e.name.value;if(qe(e.arguments)){var n=e.arguments.map(Te.Argument),r=t+"("+n.join(", ")+")";t=r.length>80?t+`( + `+n.join(` +`).replace(/\n/g,` + `)+` +)`:r}return qe(e.directives)&&(t+=" "+e.directives.map(Te.Directive).join(" ")),e.selectionSet?t+" "+Te.SelectionSet(e.selectionSet):t},StringValue:e=>e.block?i2(e.value):r2(e.value),BooleanValue:e=>""+e.value,NullValue:e=>"null",IntValue:e=>e.value,FloatValue:e=>e.value,EnumValue:e=>e.value,Name:e=>e.value,Variable:e=>"$"+e.name.value,ListValue:e=>"["+e.values.map(Ye).join(", ")+"]",ObjectValue:e=>"{"+e.fields.map(Te.ObjectField).join(", ")+"}",ObjectField:e=>e.name.value+": "+Ye(e.value),Document:e=>qe(e.definitions)?e.definitions.map(Ye).join(` + +`):"",SelectionSet:e=>`{ + `+e.selections.map(Ye).join(` +`).replace(/\n/g,` + `)+` +}`,Argument:e=>e.name.value+": "+Ye(e.value),FragmentSpread(e){var t="..."+e.name.value;return qe(e.directives)&&(t+=" "+e.directives.map(Te.Directive).join(" ")),t},InlineFragment(e){var t="...";return e.typeCondition&&(t+=" on "+e.typeCondition.name.value),qe(e.directives)&&(t+=" "+e.directives.map(Te.Directive).join(" ")),t+" "+Ye(e.selectionSet)},FragmentDefinition(e){var t="fragment "+e.name.value;return t+=" on "+e.typeCondition.name.value,qe(e.directives)&&(t+=" "+e.directives.map(Te.Directive).join(" ")),t+" "+Ye(e.selectionSet)},Directive(e){var t="@"+e.name.value;return qe(e.arguments)&&(t+="("+e.arguments.map(Te.Argument).join(", ")+")"),t},NamedType:e=>e.name.value,ListType:e=>"["+Ye(e.type)+"]",NonNullType:e=>Ye(e.type)+"!"};function Ye(e){return Te[e.kind]?Te[e.kind](e):""}var l2=e=>e&&e.message&&(e.extensions||e.name==="GraphQLError")?e:typeof e=="object"&&e.message?new Vi(e.message,e.nodes,e.source,e.positions,e.path,e,e.extensions||{}):new Vi(e),kl=class extends Error{constructor(e){var t=(e.graphQLErrors||[]).map(l2),n=((r,i)=>{var l="";if(r)return`[Network] ${r.message}`;if(i)for(var o of i)l&&(l+=` +`),l+=`[GraphQL] ${o.message}`;return l})(e.networkError,t);super(n),this.name="CombinedError",this.message=n,this.graphQLErrors=t,this.networkError=e.networkError,this.response=e.response}toString(){return this.message}},Di=(e,t)=>{for(var n=0|(t||5381),r=0,i=0|e.length;r{if(e===null||Yt.has(e))return"null";if(typeof e!="object")return JSON.stringify(e)||"";if(e.toJSON)return mn(e.toJSON());if(Array.isArray(e)){var t="[";for(var n of e)t.length>1&&(t+=","),t+=mn(n)||"null";return t+="]"}else if(ar!==bn&&e instanceof ar||rr!==bn&&e instanceof rr)return"null";var r=Object.keys(e).sort();if(!r.length&&e.constructor&&Object.getPrototypeOf(e).constructor!==Object.prototype.constructor){var i=_o.get(e)||Math.random().toString(36).slice(2);return _o.set(e,i),mn({__key:i})}Yt.add(e);var l="{";for(var o of r){var s=mn(e[o]);s&&(l.length>1&&(l+=","),l+=mn(o)+":"+s)}return Yt.delete(e),l+="}"},Hi=(e,t,n)=>{if(!(n==null||typeof n!="object"||n.toJSON||Yt.has(n)))if(Array.isArray(n))for(var r=0,i=n.length;r(Yt.clear(),mn(e)),bn=class{},ar=typeof File<"u"?File:bn,rr=typeof Blob<"u"?Blob:bn,o2=/("{3}[\s\S]*"{3}|"(?:\\.|[^"])*")/g,s2=/(?:#[^\n\r]+)?(?:[\r\n]+|$)/g,c2=(e,t)=>t%2==0?e.replace(s2,` +`):e,Mo=e=>e.split(o2).map(c2).join("").trim(),To=new Map,Ya=new Map,wl=e=>{var t;return typeof e=="string"?t=Mo(e):e.loc&&Ya.get(e.__key)===e?t=e.loc.source.body:(t=To.get(e)||Mo(Ye(e)),To.set(e,t)),typeof e!="string"&&!e.loc&&(e.loc={start:0,end:t.length,source:{body:t,name:"gql",locationOffset:{line:1,column:1}}}),t},Ao=e=>{var t=Di(wl(e));if(e.definitions){var n=ws(e);n&&(t=Di(` +# ${n}`,t))}return t},d2=e=>{var t,n;return typeof e=="string"?(t=Ao(e),n=Ya.get(t)||a2(e)):(t=e.__key||Ao(e),n=Ya.get(t)||e),n.loc||wl(n),n.__key=t,Ya.set(t,n),n},gn=(e,t,n)=>{var r=t||{},i=d2(e),l=nr(r),o=i.__key;return l!=="{}"&&(o=Di(l,o)),{key:o,query:i,variables:r,extensions:n}},ws=e=>{for(var t of e.definitions)if(t.kind===Hu.OPERATION_DEFINITION)return t.name?t.name.value:void 0},Fo=(e,t,n)=>{if(!("data"in t||"errors"in t&&Array.isArray(t.errors)))throw new Error("No Content");var r=e.kind==="subscription";return{operation:e,data:t.data,error:Array.isArray(t.errors)?new kl({graphQLErrors:t.errors,response:n}):void 0,extensions:t.extensions?{...t.extensions}:void 0,hasNext:t.hasNext==null?r:t.hasNext,stale:!1}},ji=(e,t)=>{if(typeof e=="object"&&e!=null&&(!e.constructor||e.constructor===Object||Array.isArray(e))){e=Array.isArray(e)?[...e]:{...e};for(var n of Object.keys(t))e[n]=ji(e[n],t[n]);return e}return t},u2=(e,t,n,r)=>{var i=e.error?e.error.graphQLErrors:[],l=!!e.extensions||!!t.extensions,o={...e.extensions,...t.extensions},s=t.incremental;"path"in t&&(s=[t]);var c={data:e.data};if(s){var d=function(u){Array.isArray(u.errors)&&i.push(...u.errors),u.extensions&&(Object.assign(o,u.extensions),l=!0);var p="data",f=c,g=[];if(u.path)g=u.path;else if(r){var y=r.find(C=>C.id===u.id);u.subPath?g=[...y.path,...u.subPath]:g=y.path}for(var k=0,E=g.length;k=0?p:0,v=0,b=u.items.length;v({operation:e,data:void 0,error:new kl({networkError:t,response:n}),extensions:void 0,hasNext:!1,stale:!1});function m2(e){return{query:e.extensions&&e.extensions.persistedQuery&&!e.extensions.persistedQuery.miss?void 0:wl(e.query),operationName:ws(e.query),variables:e.variables||void 0,extensions:e.extensions}}var p2=(e,t)=>{var n=e.kind==="query"&&e.context.preferGetMethod;if(!n||!t)return e.context.url;var r=new URL(e.context.url);for(var i in t){var l=t[i];l&&r.searchParams.set(i,typeof l=="object"?nr(l):l)}var o=r.toString();return o.length>2047&&n!=="force"?(e.context.preferGetMethod=!1,e.context.url):o},h2=(e,t)=>{if(t&&!(e.kind==="query"&&e.context.preferGetMethod)){var n=nr(t),r=(s=>{var c=new Map;return(ar!==bn||rr!==bn)&&(Yt.clear(),Hi(c,"variables",s)),c})(t.variables);if(r.size){var i=new FormData;i.append("operations",n),i.append("map",nr({...[...r.keys()].map(s=>[s])}));var l=0;for(var o of r.values())i.append(""+l++,o);return i}return n}},f2=(e,t)=>{var n={accept:e.kind==="subscription"?"text/event-stream, multipart/mixed":"application/graphql-response+json, application/graphql+json, application/json, text/event-stream, multipart/mixed"},r=(typeof e.context.fetchOptions=="function"?e.context.fetchOptions():e.context.fetchOptions)||{};if(r.headers)for(var i in r.headers)n[i.toLowerCase()]=r.headers[i];var l=h2(e,t);return typeof l=="string"&&!n["content-type"]&&(n["content-type"]="application/json"),{...r,method:l?"POST":"GET",body:l,headers:n}},g2=typeof TextDecoder<"u"?new TextDecoder:null,v2=/boundary="?([^=";]+)"?/i,y2=/data: ?([^\n]+)/,Oo=e=>e.constructor.name==="Buffer"?e.toString():g2.decode(e);async function*Lo(e){if(e.body[Symbol.asyncIterator])for await(var t of e.body)yield Oo(t);else{var n=e.body.getReader(),r;try{for(;!(r=await n.read()).done;)yield Oo(r.value)}finally{n.cancel()}}}async function*Ro(e,t){var n="",r;for await(var i of e)for(n+=i;(r=n.indexOf(t))>-1;)yield n.slice(0,r),n=n.slice(r+t.length)}async function*E2(e,t,n){var r=!0,i=null,l;try{yield await Promise.resolve();var o=(l=await(e.context.fetch||fetch)(t,n)).headers.get("Content-Type")||"",s;/multipart\/mixed/i.test(o)?s=async function*(m,u){var p=m.match(v2),f="--"+(p?p[1]:"-"),g=!0,y;for await(var k of Ro(Lo(u),`\r +`+f)){if(g){g=!1;var E=k.indexOf(f);if(E>-1)k=k.slice(E+f.length);else continue}try{yield y=JSON.parse(k.slice(k.indexOf(`\r +\r +`)+4))}catch(h){if(!y)throw h}if(y&&y.hasNext===!1)break}y&&y.hasNext!==!1&&(yield{hasNext:!1})}(o,l):/text\/event-stream/i.test(o)?s=async function*(m){var u;for await(var p of Ro(Lo(m),` + +`)){var f=p.match(y2);if(f){var g=f[1];try{yield u=JSON.parse(g)}catch(y){if(!u)throw y}if(u&&u.hasNext===!1)break}}u&&u.hasNext!==!1&&(yield{hasNext:!1})}(l):/text\//i.test(o)?s=async function*(m){var u=await m.text();try{var p=JSON.parse(u);yield p}catch{throw new Error(u)}}(l):s=async function*(m){yield JSON.parse(await m.text())}(l);var c;for await(var d of s)d.pending&&!i?c=d.pending:d.pending&&(c=[...c,...d.pending]),i=i?u2(i,d,l,c):Fo(e,d,l),r=!1,yield i,r=!0;i||(yield i=Fo(e,{},l))}catch(m){if(!r)throw m;yield Cs(e,l&&(l.status<200||l.status>=300)&&l.statusText?new Error(l.statusText):m,l)}}function b2(e,t,n){var r;return typeof AbortController<"u"&&(n.signal=(r=new AbortController).signal),El(()=>{r&&r.abort()})(De(i=>!!i)(fs(E2(e,t,n))))}var zi=(e,t)=>{if(!e||typeof e!="object")return e;if(Array.isArray(e))return e.map(i=>zi(i));if(e&&typeof e=="object"&&(t||"__typename"in e)){var n={};for(var r in e)r==="__typename"?Object.defineProperty(n,"__typename",{enumerable:!1,value:e.__typename}):n[r]=zi(e[r]);return n}else return e};function Io(e){var t=n=>e(n);return t.toPromise=()=>bl(Fr(1)(De(n=>!n.stale&&!n.hasNext)(t))),t.then=(n,r)=>t.toPromise().then(n,r),t.subscribe=n=>yn(n)(t),t}function ir(e,t,n){return{...t,kind:e,context:t.context?{...t.context,...n}:n||t.context}}var k2=()=>{},w2=({forward:e,dispatchDebug:t})=>n=>{var r=Xa(l=>{var o=m2(l),s=p2(l,o),c=f2(l,o),d=ps(De(m=>m.kind==="teardown"&&m.key===l.key)(n))(b2(l,s,c));return d})(De(l=>l.kind!=="teardown"&&(l.kind!=="subscription"||!!l.context.fetchSubscriptions))(n)),i=e(De(l=>l.kind==="teardown"||l.kind==="subscription"&&!l.context.fetchSubscriptions)(n));return ta([r,i])},C2=e=>({client:t,forward:n,dispatchDebug:r})=>e.reduceRight((i,l)=>l({client:t,forward(o){return na(i(na(o)))},dispatchDebug(o){}}),n),S2=({onOperation:e,onResult:t,onError:n})=>({forward:r})=>i=>Xa(l=>{n&&l.error&&n(l.error,l.operation);var o=t&&t(l)||l;return"then"in o?No(o):Kn(o)})(r(Xa(l=>{var o=e&&e(l)||l;return"then"in o?No(o):Kn(o)})(i))),x2=({dispatchDebug:e})=>t=>De(n=>!1)(t),N2=function e(t){var n=0,r=new Map,i=new Map,l=new Set,o=[],s={url:t.url,fetchSubscriptions:t.fetchSubscriptions,fetchOptions:t.fetchOptions,fetch:t.fetch,preferGetMethod:t.preferGetMethod,requestPolicy:t.requestPolicy||"cache-first"},c=Pi();function d(h){(h.kind==="mutation"||h.kind==="teardown"||!l.has(h.key))&&(h.kind==="teardown"?l.delete(h.key):h.kind!=="mutation"&&l.add(h.key),c.next(h))}var m=!1;function u(h){if(h&&d(h),!m){for(m=!0;m&&(h=o.shift());)d(h);m=!1}}var p=h=>{var v=ps(De(b=>b.kind==="teardown"&&b.key===h.key)(c.source))(De(b=>b.operation.kind===h.kind&&b.operation.key===h.key&&(!b.operation.context._instance||b.operation.context._instance===h.context._instance))(E));return t.maskTypename&&(v=Zi(b=>({...b,data:zi(b.data,!0)}))(v)),h.kind!=="query"?v=hs(b=>!!b.hasNext,!0)(v):v=xo(b=>{var C=Kn(b);return b.stale||b.hasNext?C:ta([C,Zi(()=>(b.stale=!0,b))(Fr(1)(De(O=>O.key===h.key)(c.source)))])})(v),h.kind!=="mutation"?v=El(()=>{l.delete(h.key),r.delete(h.key),i.delete(h.key),m=!1;for(var b=o.length-1;b>=0;b--)o[b].key===h.key&&o.splice(b,1);d(ir("teardown",h,h.context))})(er(b=>{if(b.stale){for(var C of o)if(C.key===b.operation.key){l.delete(C.key);break}}else b.hasNext||l.delete(h.key);r.set(h.key,b)})(v)):v=Bi(()=>{d(h)})(v),na(v)},f=this instanceof e?this:Object.create(e.prototype),g=Object.assign(f,{suspense:!!t.suspense,operations$:c.source,reexecuteOperation(h){if(h.kind==="teardown")u(h);else if(h.kind==="mutation"||i.has(h.key)){for(var v=!1,b=0;b{var v=i.get(h.key);v||i.set(h.key,v=p(h)),v=Bi(()=>{u(h)})(v);var b=r.get(h.key);return h.kind==="query"&&b&&(b.stale||b.hasNext)?xo(Kn)(ta([v,De(C=>C===r.get(h.key))(Kn(b))])):v}))},executeQuery(h,v){var b=g.createRequestOperation("query",h,v);return g.executeRequestOperation(b)},executeSubscription(h,v){var b=g.createRequestOperation("subscription",h,v);return g.executeRequestOperation(b)},executeMutation(h,v){var b=g.createRequestOperation("mutation",h,v);return g.executeRequestOperation(b)},readQuery(h,v,b){var C=null;return yn(O=>{C=O})(g.query(h,v,b)).unsubscribe(),C},query:(h,v,b)=>g.executeQuery(gn(h,v),b),subscription:(h,v,b)=>g.executeSubscription(gn(h,v),b),mutation:(h,v,b)=>g.executeMutation(gn(h,v),b)}),y=k2,k=C2(t.exchanges),E=na(k({client:g,dispatchDebug:y,forward:x2({dispatchDebug:y})})(c.source));return Du(E),g},pi=(e,t)=>ir(e.kind,e,{...e.context,authAttempt:t});function _2(e){return({client:t,forward:n})=>{var r=new Set,i=Pi(),l=Pi(),o=new Map;function s(){d=void 0;var u=o;o=new Map,u.forEach(i.next)}function c(u){d=void 0;var p=o;o=new Map,p.forEach(f=>{l.next(Cs(f,u))})}var d,m=null;return u=>{function p(){d=Promise.resolve().then(()=>e({mutate(E,h,v){var b=t.createRequestOperation("mutation",gn(E,h),v);return bl(Fr(1)(De(C=>C.operation.key===b.key&&b.context._instance===C.operation.context._instance)(Bi(()=>{var C=g(b);r.add(C.context._instance),i.next(C)})(k))))},appendHeaders(E,h){var v=typeof E.context.fetchOptions=="function"?E.context.fetchOptions():E.context.fetchOptions||{};return ir(E.kind,E,{...E.context,fetchOptions:{...v,headers:{...v.headers,...h}}})}})).then(E=>{E&&(m=E),s()}).catch(E=>{c(E)})}p();function f(E){o.set(E.key,pi(E,!0)),m&&!d&&(d=m.refreshAuth().then(s).catch(c))}function g(E){return m?m.addAuthToOperation(E):E}var y=De(Boolean)(Zi(E=>E.kind==="teardown"?(o.delete(E.key),E):E.context._instance&&r.has(E.context._instance)?E:E.context.authAttempt?g(E):d||!m?(d||p(),o.has(E.key)||o.set(E.key,pi(E,!1)),null):function(h){return!h.context.authAttempt&&m&&m.willAuthError&&m.willAuthError(h)}(E)?(f(E),null):g(pi(E,!1)))(ta([i.source,u]))),k=n(y);return ta([l.source,De(E=>!r.has(E.operation.context._instance)&&E.error&&function(h){return m&&m.didAuthError&&m.didAuthError(h.error,h.operation)}(E)&&!E.operation.context.authAttempt?(f(E.operation),!1):(r.has(E.operation.context._instance)&&r.delete(E.operation.context._instance),!0))(k)])}}}var M2={},Lr=je(M2),T2=Lr.Provider;Lr.Consumer;Lr.displayName="UrqlContext";var Cl=()=>{var e=Ft(Lr);return e},Ui={fetching:!1,stale:!1,error:void 0,data:void 0,extensions:void 0,operation:void 0},A2=(e,t)=>e===t||!(!e||!t||e.key!==t.key),hi=(e,t)=>{var n={...e,...t,data:t.data!==void 0||t.error?t.data:e.data,fetching:!!t.fetching,stale:!!t.stale};return((r,i)=>{for(var l in r)if(!(l in i))return!0;for(var o in i)if(o==="operation"?!A2(r[o],i[o]):r[o]!==i[o])return!0;return!1})(e,n)?n:e},F2=(e,t)=>{for(var n=0,r=t.length;n(lr(i,{...Ui,fetching:!0}),bl(Fr(1)(De(c=>!c.hasNext)(er(c=>{t.current&&lr(i,{fetching:!1,stale:c.stale,data:c.data,error:c.error,extensions:c.extensions,operation:c.operation})})(n.executeMutation(gn(e,o),s||{})))))),[n,e,i]);return K(()=>(t.current=!0,()=>{t.current=!1}),[]),[r,l]}function O2(e,t){var n=Ne(void 0);return ct(()=>{var r=gn(e,t);return n.current!==void 0&&n.current.key===r.key?n.current:(n.current=r,r)},[e,t])}var L2=e=>{if(!e._react){var t=new Set,n=new Map;e.operations$&&yn(r=>{r.kind==="teardown"&&t.has(r.key)&&(t.delete(r.key),n.delete(r.key))})(e.operations$),e._react={get:r=>n.get(r),set(r,i){t.delete(r),n.set(r,i)},dispose(r){t.add(r)}}}return e._react},R2=(e,t)=>t&&t.suspense!==void 0?!!t.suspense:e.suspense;function Sl(e){var t=Cl(),n=L2(t),r=R2(t,e.context),i=O2(e.query,e.variables),l=ct(()=>{if(e.pause)return null;var p=t.executeQuery(i,{requestPolicy:e.requestPolicy,...e.context});return r?er(f=>{n.set(i.key,f)})(p):p},[n,t,i,r,e.pause,e.requestPolicy,e.context]),o=H((p,f)=>{if(!p)return{fetching:!1};var g=n.get(i.key);if(g){if(f&&g!=null&&"then"in g)throw g}else{var y,k=yn(h=>{g=h,y&&y(g)})(hs(()=>f&&!y||!g)(p));if(g==null&&f){var E=new Promise(h=>{y=h});throw n.set(i.key,E),E}else k.unsubscribe()}return g||{fetching:!0}},[n,i]),s=[t,i,e.requestPolicy,e.context,e.pause],[c,d]=_e(()=>[l,hi(Ui,o(l,r)),s]),m=c[1];l!==c[0]&&F2(c[2],s)&&d([l,m=hi(c[1],o(l,r)),s]),K(()=>{var p=c[0],f=c[2][1],g=!1,y=E=>{g=!0,lr(d,h=>{var v=hi(h[1],E);return h[1]!==v?[h[0],v,h[2]]:h})};if(p){var k=yn(y)(El(()=>{y({fetching:!1})})(p));return g||y({fetching:!0}),()=>{n.dispose(f.key),k.unsubscribe()}}else y({fetching:!1})},[n,c[0],c[2][1]]);var u=H(p=>{var f={requestPolicy:e.requestPolicy,...e.context,...p};lr(d,g=>[r?er(y=>{n.set(i.key,y)})(t.executeQuery(i,f)):t.executeQuery(i,f),g[1],s])},[t,n,i,r,e.requestPolicy,e.context,e.pause]);return[m,u]}var Za,I2=new Uint8Array(16);function Z2(){if(!Za&&(Za=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Za))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Za(I2)}var Me=[];for(let e=0;e<256;++e)Me.push((e+256).toString(16).slice(1));function B2(e,t=0){return Me[e[t+0]]+Me[e[t+1]]+Me[e[t+2]]+Me[e[t+3]]+"-"+Me[e[t+4]]+Me[e[t+5]]+"-"+Me[e[t+6]]+Me[e[t+7]]+"-"+Me[e[t+8]]+Me[e[t+9]]+"-"+Me[e[t+10]]+Me[e[t+11]]+Me[e[t+12]]+Me[e[t+13]]+Me[e[t+14]]+Me[e[t+15]]}var P2=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Zo={randomUUID:P2};function V2(e,t,n){if(Zo.randomUUID&&!t&&!e)return Zo.randomUUID();e=e||{};let r=e.random||(e.rng||Z2)();if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){n=n||0;for(let i=0;i<16;++i)t[n+i]=r[i];return t}return B2(r)}var D2=V2,mt,Jn,or=e=>{try{let{exp:t}=e?JSON.parse(atob(e.split(".")[1])):{exp:null};mt=e,Jn=t}catch{mt=null,Jn=null}mt?localStorage.setItem(Li,mt):localStorage.removeItem(Li)};or(localStorage.getItem(Li));var xl=()=>{let[{token:e},t]=Kl(`${Z}/accessToken`,{token:mt}),n=a.useCallback(r=>{or(r),t({token:mt})},[t]);return[e,n]},H2=D2(),xs=e=>({headers:{Accept:"*/*",...e&&{Authorization:`Bearer ${e}`},"X-Chromatic-Session-ID":H2}}),Ns=e=>new N2({url:B5,exchanges:[S2({onResult(t){t.data?.viewer===null&&or(null)}}),_2(async t=>({addAuthToOperation(n){return mt?t.appendHeaders(n,{Authorization:`Bearer ${mt}`}):n},didAuthError:n=>n.response?.status===401||n.graphQLErrors.some(r=>r.message.includes("Must login")),async refreshAuth(){or(null)},willAuthError(){if(!mt)return!0;try{if(!Jn){let{exp:n}=JSON.parse(atob(mt.split(".")[1]));Jn=n}return Date.now()/1e3>(Jn||0)}catch{return!0}}})),w2],fetchOptions:xs(),...e}),j2=({children:e,value:t=Ns()})=>a.createElement(T2,{value:t},e),kt=(e,t)=>{let n=Ft(e);if(n==null)throw new Error(`Missing context value for ${t}`);return n},ba=je(null),z2=({children:e,value:t})=>a.createElement(ba.Provider,{value:t},e),We=(e,t)=>{let n=kt(ba,"Telemetry");K(()=>n({location:e,screen:t}),[e,t,n])},Pn=new Map,$i=(e,t,n,r=!0)=>{let i=()=>{window.clearTimeout(Pn.get(e)),Pn.delete(e)},l=(...o)=>{Pn.has(e)?i():r&&t(...o),Pn.set(e,window.setTimeout(()=>Pn.delete(e)&&t(...o),n))};return l.cancel=i,l},Nl=({localBuildProgress:e,accessToken:t})=>{let n=On({}),r=Ft(ba),[i,l]=_e(!1),[o,s]=_e(!1),c=e?["initialize","build","upload"].includes(e?.currentStep):!1,d=e?!["aborted","complete","error","limited"].includes(e.currentStep):i,m=ct(()=>$i("startBuild",()=>{s(!1),l(!0),n(H5,{accessToken:t}),r?.({action:"startBuild"})},1e3,!1),[t,n,r]),u=ct(()=>$i("startBuild",()=>{c?(l(!1),n(j5),r?.({action:"stopBuild"})):s(!0)},1e3,!1),[c,n,r]);return K(()=>{let p=i&&setTimeout(()=>l(!1),5e3);return()=>{p&&clearTimeout(p)}},[i]),{isDisallowed:o,isRunning:d,startBuild:m,stopBuild:u}},Bo="experimental_useSharedState_getValue",Ba="experimental_useSharedState_setValue",fi=new Map,_s=class{constructor(e){this.channel=e,this.listeners=[],this.state={},this.channel.on(Ba,(t,n,r)=>{this.state?.[t]?.index>=r||(this.state[t]={index:r,value:n})}),this.channel.on(Bo,t=>{let n=this.state[t]?.index??0,r=this.state[t]?.value;this.channel.emit(Ba,t,r,n)})}get(e){return this.state[e]||this.channel.emit(Bo,e),this.state[e]?.value}set(e,t){let n=(this.state[e]?.index??0)+1;this.state[e]={index:n,value:t},this.channel.emit(Ba,e,t,n)}static subscribe(e,t){let n=fi.get(e)||new _s(t);return fi.has(e)||(fi.set(e,n),n.channel.on(Ba,(r,i)=>{r===e&&n.listeners.forEach(l=>l(i))})),{get value(){return n.get(e)},set value(r){n.set(e,r)},on(r,i){if(r!=="change")throw new Error("unsupported event");n.listeners.push(i)},off(r,i){if(r!=="change")throw new Error("unsupported event");let l=n.listeners.indexOf(i);l>=0&&n.listeners.splice(l,1)}}}};function Ee(e){let t=sn().getChannel();if(!t)throw new Error("Channel not available");let n=Ne(_s.subscribe(e,t)),[r,i]=_e(n.current.value);return K(()=>{let l=n.current;return l.on("change",i),()=>l.off("change",i)},[n]),[r,H(l=>{i(l),n.current.value=l},[])]}var _l=()=>{let[e,t]=Ee(as),{projectId:n,written:r,dismissed:i,configFile:l}=e||{};return{loading:!e,projectId:n,configFile:l,updateProject:H(o=>t({...e,projectId:o,dismissed:!1}),[e,t]),projectUpdatingFailed:!i&&r===!1,projectIdUpdated:!i&&r===!0,clearProjectIdUpdated:H(()=>t({...e,dismissed:!0}),[e,t])}},Wi=["initialize","build","upload","verify","snapshot"],Ml={initialize:{key:"initialize",emoji:"\u{1F680}",renderName:()=>"Initialize build",renderProgress:()=>"Initializing build...",renderComplete:()=>"Initialized",estimateDuration:2e3},build:{key:"build",emoji:"\u{1F3D7}",renderName:()=>"Build Storybook",renderProgress:()=>"Building your Storybook...",renderComplete:()=>"Storybook built",estimateDuration:2e4},upload:{key:"upload",emoji:"\u{1F4E1}",renderName:()=>"Publish your Storybook",renderProgress:({stepProgress:e})=>{let{numerator:t,denominator:n}=e.upload;if(!n||!t)return"Uploading files...";let{value:r,exponent:i}=ai(n,{output:"object",round:1}),{value:l,symbol:o}=ai(t,{exponent:i,output:"object",round:1});return`Uploading files... ${l}/${r} ${o}`},renderComplete:()=>"Publish complete",estimateDuration:2e4},verify:{key:"verify",emoji:"\u{1F50D}",renderName:()=>"Verify your Storybook",renderProgress:()=>"Verifying contents...",renderComplete:()=>"Storybook verified",estimateDuration:2e4},snapshot:{key:"snapshot",emoji:"\u{1F4F8}",renderName:()=>"Run visual tests",renderProgress:({stepProgress:e})=>{let{numerator:t,denominator:n}=e.snapshot;return n?`Running visual tests... ${t}/${n}`:"Running visual tests..."},renderComplete:()=>"Tested your stories",estimateDuration:9e4},aborted:{key:"aborted",emoji:"\u270B",renderName:()=>"Build canceled",renderProgress:()=>"Build canceled",renderComplete:()=>"Build canceled",estimateDuration:0},complete:{key:"complete",emoji:"\u{1F389}",renderName:()=>"Visual tests completed!",renderProgress:()=>"Visual tests completed!",renderComplete:()=>"Visual tests completed!",estimateDuration:0},error:{key:"error",emoji:"\u{1F6A8}",renderName:()=>"Build failed",renderProgress:()=>"Build failed",renderComplete:()=>"Build failed",estimateDuration:0},limited:{key:"error",emoji:"\u{1F6A8}",renderName:()=>"Build limited",renderProgress:()=>"Build limited",renderComplete:()=>"Build limited",estimateDuration:0}},U2={buildProgressPercentage:0,currentStep:Wi[0],stepProgress:Object.fromEntries(Wi.map(e=>[e,{}]))};JSON.stringify(U2);var j=w.div(({center:e,small:t,block:n,theme:r})=>({display:n?"block":"inline-block",color:r.color.defaultText,fontSize:t?r.typography.size.s1:r.typography.size.s2,lineHeight:t?"18px":"20px",textAlign:e?"center":"left",textWrap:"balance"}),({muted:e,theme:t})=>e&&{color:t.base==="light"?t.color.dark:"#C9CDCF"},({theme:e})=>({b:{color:e.color.defaultText},code:{fontSize:e.typography.size.s1,border:`1px solid ${e.appBorderColor}`,borderRadius:3,padding:2},small:{fontSize:e.typography.size.s1},span:{whiteSpace:"nowrap"},svg:{verticalAlign:"top"}})),Tl=({localBuildProgress:e,withEmoji:t=!1,...n})=>{let{emoji:r,renderProgress:i}=Ml[e.currentStep],l=i(e);return a.createElement(j,{...n},t&&r," ",l)};function sr(){return sr=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0&&i<1?(s=l,c=o):i>=1&&i<2?(s=o,c=l):i>=2&&i<3?(c=l,d=o):i>=3&&i<4?(c=o,d=l):i>=4&&i<5?(s=o,d=l):i>=5&&i<6&&(s=l,d=o);var m=n-l/2,u=s+m,p=c+m,f=d+m;return r(u,p,f)}var Po={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 Q2(e){if(typeof e!="string")return e;var t=e.toLowerCase();return Po[t]?"#"+Po[t]:e}var K2=/^#[a-fA-F0-9]{6}$/,J2=/^#[a-fA-F0-9]{8}$/,X2=/^#[a-fA-F0-9]{3}$/,em=/^#[a-fA-F0-9]{4}$/,vi=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,tm=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,nm=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,am=/^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 Ts(e){if(typeof e!="string")throw new pt(3);var t=Q2(e);if(t.match(K2))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(J2)){var n=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:n}}if(t.match(X2))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(em)){var r=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:r}}var i=vi.exec(t);if(i)return{red:parseInt(""+i[1],10),green:parseInt(""+i[2],10),blue:parseInt(""+i[3],10)};var l=tm.exec(t.substring(0,50));if(l)return{red:parseInt(""+l[1],10),green:parseInt(""+l[2],10),blue:parseInt(""+l[3],10),alpha:parseFloat(""+l[4])>1?parseFloat(""+l[4])/100:parseFloat(""+l[4])};var o=nm.exec(t);if(o){var s=parseInt(""+o[1],10),c=parseInt(""+o[2],10)/100,d=parseInt(""+o[3],10)/100,m="rgb("+ra(s,c,d)+")",u=vi.exec(m);if(!u)throw new pt(4,t,m);return{red:parseInt(""+u[1],10),green:parseInt(""+u[2],10),blue:parseInt(""+u[3],10)}}var p=am.exec(t.substring(0,50));if(p){var f=parseInt(""+p[1],10),g=parseInt(""+p[2],10)/100,y=parseInt(""+p[3],10)/100,k="rgb("+ra(f,g,y)+")",E=vi.exec(k);if(!E)throw new pt(4,t,k);return{red:parseInt(""+E[1],10),green:parseInt(""+E[2],10),blue:parseInt(""+E[3],10),alpha:parseFloat(""+p[4])>1?parseFloat(""+p[4])/100:parseFloat(""+p[4])}}throw new pt(5)}function rm(e){var t=e.red/255,n=e.green/255,r=e.blue/255,i=Math.max(t,n,r),l=Math.min(t,n,r),o=(i+l)/2;if(i===l)return e.alpha!==void 0?{hue:0,saturation:0,lightness:o,alpha:e.alpha}:{hue:0,saturation:0,lightness:o};var s,c=i-l,d=o>.5?c/(2-i-l):c/(i+l);switch(i){case t:s=(n-r)/c+(n=1?cr(e,t,n):"rgba("+ra(e,t,n)+","+r+")";if(typeof e=="object"&&t===void 0&&n===void 0&&r===void 0)return e.alpha>=1?cr(e.hue,e.saturation,e.lightness):"rgba("+ra(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new pt(2)}function Qi(e,t,n){if(typeof e=="number"&&typeof t=="number"&&typeof n=="number")return Yi("#"+$t(e)+$t(t)+$t(n));if(typeof e=="object"&&t===void 0&&n===void 0)return Yi("#"+$t(e.red)+$t(e.green)+$t(e.blue));throw new pt(6)}function Ki(e,t,n,r){if(typeof e=="string"&&typeof t=="number"){var i=Ts(e);return"rgba("+i.red+","+i.green+","+i.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof n=="number"&&typeof r=="number")return r>=1?Qi(e,t,n):"rgba("+e+","+t+","+n+","+r+")";if(typeof e=="object"&&t===void 0&&n===void 0&&r===void 0)return e.alpha>=1?Qi(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new pt(7)}var cm=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},dm=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},um=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},mm=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function Fs(e){if(typeof e!="object")throw new pt(8);if(dm(e))return Ki(e);if(cm(e))return Qi(e);if(mm(e))return sm(e);if(um(e))return om(e);throw new pt(8)}function Os(e,t,n){return function(){var r=n.concat(Array.prototype.slice.call(arguments));return r.length>=t?e.apply(this,r):Os(e,t,r)}}function Ls(e){return Os(e,e.length,[])}function Rs(e,t,n){return Math.max(e,Math.min(t,n))}function pm(e,t){if(t==="transparent")return t;var n=As(t);return Fs(sr({},n,{lightness:Rs(0,1,n.lightness-parseFloat(e))}))}var hm=Ls(pm),Wt=hm;function fm(e,t){if(t==="transparent")return t;var n=As(t);return Fs(sr({},n,{lightness:Rs(0,1,n.lightness+parseFloat(e))}))}var gm=Ls(fm),Qa=gm,V={primary:"#FF4785",secondary:"#029CFD",tertiary:"#E3E6E8",orange:"#FC521F",gold:"#FFAE00",green:"#66BF3C",seafoam:"#37D5D3",purple:"#6F2CAC",ultraviolet:"#2A0481",red:"#ff4400",bluelight:"#E3F3FF",bluelighter:"#F5FBFF",lightest:"#FFFFFF",lighter:"#F7FAFC",light:"#EEF3F6",mediumlight:"#ECF4F9",medium:"#D9E8F2",mediumdark:"#73828C",dark:"#5C6870",darker:"#454E54",darkest:"#2E3438",tr10:"rgba(0, 0, 0, 0.1)",tr5:"rgba(0, 0, 0, 0.05)",border:"hsla(203, 50%, 30%, 0.15)",positive:"#448028",negative:"#D43900",warning:"#A15C20",selected:"#0271B6"},Al={padding:{small:10,medium:20,large:30},borderRadius:{small:5,default:10}},P={type:{primary:'var(--nunito-sans, "Nunito Sans"), "Nunito Sans", "Helvetica Neue", Helvetica, Arial, sans-serif',code:'"SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace'},weight:{regular:"400",bold:"700",extrabold:"800"},size:{s1:12,s2:14,s3:16,m1:20,m2:24,m3:28,l1:32,l2:40,l3:48,code:90}},Pa=600,Va=5.55555;ue({padding:`0 ${Al.padding.medium}px`,[`@media (min-width: ${Pa*1}px)`]:{margin:`0 ${Va*1}%`},[`@media (min-width: ${Pa*2}px)`]:{margin:`0 ${Va*2}%`},[`@media (min-width: ${Pa*3}px)`]:{margin:`0 ${Va*3}%`},[`@media (min-width: ${Pa*4}px)`]:{margin:`0 ${Va*4}%`}});ue({border:`1px solid ${V.border}`,borderRadius:`${Al.borderRadius.small}px`,transition:"background 150ms ease-out, border 150ms ease-out, transform 150ms ease-out","&:hover, &.__hover":{borderColor:`${Ki(V.secondary,.5)}`,transform:"translate3d(0, -3px, 0)",boxShadow:"rgba(0, 0, 0, 0.08) 0 3px 10px 0"},"&:active, &.__active":{borderColor:`${Ki(V.secondary,1)}`,transform:"translate3d(0, 0, 0)"}});ue({fontSize:P.size.l3,fontWeight:P.weight.bold}),ue({fontSize:P.size.l2,fontWeight:P.weight.bold}),ue({fontSize:P.size.l1,fontWeight:P.weight.bold}),ue({fontSize:P.size.m3,fontWeight:P.weight.bold}),ue({fontSize:P.size.m2,fontWeight:P.weight.bold}),ue({fontSize:P.size.m1,fontWeight:P.weight.bold}),ue({fontSize:P.size.s3,fontWeight:P.weight.bold}),ue({fontSize:P.size.s2,fontWeight:P.weight.bold});ue({fontSize:14,fontWeight:P.weight.extrabold,lineHeight:"18px",letterSpacing:"0.38em"}),ue({fontSize:11,fontWeight:P.weight.extrabold,lineHeight:"16px",letterSpacing:"0.38em"});ue({fontSize:14,fontWeight:P.weight.bold,lineHeight:"18px"}),ue({fontSize:14,fontWeight:P.weight.regular,lineHeight:"18px"}),ue({fontSize:P.size.s3,fontWeight:P.weight.bold,lineHeight:"24px"}),ue({fontSize:P.size.s1,fontWeight:P.weight.regular,lineHeight:"18px"}),ue({fontSize:P.size.s2,fontWeight:P.weight.bold,lineHeight:"20px"}),ue({fontSize:P.size.s1,fontWeight:P.weight.bold,lineHeight:"18px"}),ue({fontSize:P.size.s3,fontWeight:P.weight.regular,lineHeight:"24px"}),ue({fontSize:P.size.s2,fontWeight:P.weight.regular,lineHeight:"20px"});ue({fontFamily:P.type.code,fontSize:P.size.s2,fontWeight:P.weight.regular,lineHeight:"17px"}),ue({fontFamily:P.type.code,fontSize:P.size.s1,fontWeight:P.weight.regular,lineHeight:"14px"});var Is=Ot({from:{transform:"rotate(0deg)"},to:{transform:"rotate(360deg)"}}),Zs=Ot({"0%, 100%":{opacity:1},"50%":{opacity:.4}});Ot({"0%":{transform:"translateY(1px)"},"25%":{transform:"translateY(0px)"},"50%":{transform:"translateY(-3px)"},"100%":{transform:"translateY(1px)"}});var Bs=Ot({"0%, 100%":{transform:"translate3d(0,0,0)"},"12.5%, 62.5%":{transform:"translate3d(-4px,0,0)"},"37.5%, 87.5%":{transform:"translate3d(4px,0,0)"}});Ot({"0%":{transform:"rotate(-3deg)"},"1.68421%":{transform:"rotate(3deg)"},"2.10526%":{transform:"rotate(6deg)"},"3.78947%":{transform:"rotate(-6deg)"},"4.21053%":{transform:"rotate(-6deg)"},"5.89474%":{transform:"rotate(6deg)"},"6.31579%":{transform:"rotate(6deg)"},"8%":{transform:"rotate(-6deg)"},"8.42105%":{transform:"rotate(-6deg)"},"10.10526%":{transform:"rotate(6deg)"},"10.52632%":{transform:"rotate(6deg)"},"12.21053%":{transform:"rotate(-6deg)"},"12.63158%":{transform:"rotate(-6deg)"},"14.31579%":{transform:"rotate(6deg)"},"15.78947%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(0deg)"}});var vm=ue({animation:`${Zs} 1.5s ease-in-out infinite`,background:V.tr5,color:"transparent",cursor:"progress"}),ym={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"StatusTestFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Test"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"result"}},{kind:"Field",name:{kind:"Name",value:"story"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"storyId"}}]}}]}}]},Em={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"LastBuildOnBranchTestFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Test"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"result"}}]}}]},bm={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"LastBuildOnBranchBuildFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Build"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"committedAt"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"StartedBuild"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"testsForStatus"},name:{kind:"Name",value:"tests"},arguments:[{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"IntValue",value:"1000"}},{kind:"Argument",name:{kind:"Name",value:"statuses"},value:{kind:"Variable",name:{kind:"Name",value:"testStatuses"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"StatusTestFields"}}]}}]}},{kind:"Field",alias:{kind:"Name",value:"testsForStory"},name:{kind:"Name",value:"tests"},arguments:[{kind:"Argument",name:{kind:"Name",value:"storyId"},value:{kind:"Variable",name:{kind:"Name",value:"storyId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"LastBuildOnBranchTestFields"}}]}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CompletedBuild"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"result"}},{kind:"Field",alias:{kind:"Name",value:"testsForStatus"},name:{kind:"Name",value:"tests"},arguments:[{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"IntValue",value:"1000"}},{kind:"Argument",name:{kind:"Name",value:"statuses"},value:{kind:"Variable",name:{kind:"Name",value:"testStatuses"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"StatusTestFields"}}]}}]}},{kind:"Field",alias:{kind:"Name",value:"testsForStory"},name:{kind:"Name",value:"tests"},arguments:[{kind:"Argument",name:{kind:"Name",value:"storyId"},value:{kind:"Variable",name:{kind:"Name",value:"storyId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"LastBuildOnBranchTestFields"}}]}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"StatusTestFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Test"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"result"}},{kind:"Field",name:{kind:"Name",value:"story"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"storyId"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"LastBuildOnBranchTestFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Test"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"result"}}]}}]},km={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"StoryTestFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Test"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"result"}},{kind:"Field",name:{kind:"Name",value:"webUrl"}},{kind:"Field",name:{kind:"Name",value:"comparisons"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"result"}},{kind:"Field",name:{kind:"Name",value:"browser"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"key"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"version"}}]}},{kind:"Field",name:{kind:"Name",value:"captureDiff"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"diffImage"},arguments:[{kind:"Argument",name:{kind:"Name",value:"signed"},value:{kind:"BooleanValue",value:!0}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"imageUrl"}},{kind:"Field",name:{kind:"Name",value:"imageWidth"}}]}},{kind:"Field",name:{kind:"Name",value:"focusImage"},arguments:[{kind:"Argument",name:{kind:"Name",value:"signed"},value:{kind:"BooleanValue",value:!0}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"imageUrl"}},{kind:"Field",name:{kind:"Name",value:"imageWidth"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"headCapture"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"captureImage"},arguments:[{kind:"Argument",name:{kind:"Name",value:"signed"},value:{kind:"BooleanValue",value:!0}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"backgroundColor"}},{kind:"Field",name:{kind:"Name",value:"imageUrl"}},{kind:"Field",name:{kind:"Name",value:"imageWidth"}},{kind:"Field",name:{kind:"Name",value:"imageHeight"}},{kind:"Field",name:{kind:"Name",value:"thumbnailUrl"}}]}},{kind:"Field",name:{kind:"Name",value:"captureError"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"kind"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CaptureErrorInteractionFailure"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"error"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CaptureErrorJSError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"error"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CaptureErrorFailedJS"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"error"}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"baseCapture"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"captureImage"},arguments:[{kind:"Argument",name:{kind:"Name",value:"signed"},value:{kind:"BooleanValue",value:!0}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"imageUrl"}},{kind:"Field",name:{kind:"Name",value:"imageWidth"}},{kind:"Field",name:{kind:"Name",value:"imageHeight"}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"mode"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"globals"}}]}},{kind:"Field",name:{kind:"Name",value:"story"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"storyId"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"component"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}}]},wm={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"SelectedBuildFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Build"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"number"}},{kind:"Field",name:{kind:"Name",value:"branch"}},{kind:"Field",name:{kind:"Name",value:"commit"}},{kind:"Field",name:{kind:"Name",value:"committedAt"}},{kind:"Field",name:{kind:"Name",value:"uncommittedHash"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"StartedBuild"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"startedAt"}},{kind:"Field",alias:{kind:"Name",value:"testsForStory"},name:{kind:"Name",value:"tests"},arguments:[{kind:"Argument",name:{kind:"Name",value:"storyId"},value:{kind:"Variable",name:{kind:"Name",value:"storyId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"StoryTestFields"}}]}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CompletedBuild"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"startedAt"}},{kind:"Field",alias:{kind:"Name",value:"testsForStory"},name:{kind:"Name",value:"tests"},arguments:[{kind:"Argument",name:{kind:"Name",value:"storyId"},value:{kind:"Variable",name:{kind:"Name",value:"storyId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"StoryTestFields"}}]}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"StoryTestFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Test"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"result"}},{kind:"Field",name:{kind:"Name",value:"webUrl"}},{kind:"Field",name:{kind:"Name",value:"comparisons"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"result"}},{kind:"Field",name:{kind:"Name",value:"browser"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"key"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"version"}}]}},{kind:"Field",name:{kind:"Name",value:"captureDiff"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"diffImage"},arguments:[{kind:"Argument",name:{kind:"Name",value:"signed"},value:{kind:"BooleanValue",value:!0}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"imageUrl"}},{kind:"Field",name:{kind:"Name",value:"imageWidth"}}]}},{kind:"Field",name:{kind:"Name",value:"focusImage"},arguments:[{kind:"Argument",name:{kind:"Name",value:"signed"},value:{kind:"BooleanValue",value:!0}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"imageUrl"}},{kind:"Field",name:{kind:"Name",value:"imageWidth"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"headCapture"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"captureImage"},arguments:[{kind:"Argument",name:{kind:"Name",value:"signed"},value:{kind:"BooleanValue",value:!0}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"backgroundColor"}},{kind:"Field",name:{kind:"Name",value:"imageUrl"}},{kind:"Field",name:{kind:"Name",value:"imageWidth"}},{kind:"Field",name:{kind:"Name",value:"imageHeight"}},{kind:"Field",name:{kind:"Name",value:"thumbnailUrl"}}]}},{kind:"Field",name:{kind:"Name",value:"captureError"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"kind"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CaptureErrorInteractionFailure"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"error"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CaptureErrorJSError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"error"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CaptureErrorFailedJS"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"error"}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"baseCapture"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"captureImage"},arguments:[{kind:"Argument",name:{kind:"Name",value:"signed"},value:{kind:"BooleanValue",value:!0}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"imageUrl"}},{kind:"Field",name:{kind:"Name",value:"imageWidth"}},{kind:"Field",name:{kind:"Name",value:"imageHeight"}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"mode"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"globals"}}]}},{kind:"Field",name:{kind:"Name",value:"story"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"storyId"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"component"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}}]},Cm={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"VisualTestsProjectCountQuery"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"viewer"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"projectCount"}},{kind:"Field",name:{kind:"Name",value:"accounts"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"newProjectUrl"}}]}}]}}]}}]},Sm={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"SelectProjectsQuery"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"viewer"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accounts"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"avatarUrl"}},{kind:"Field",name:{kind:"Name",value:"newProjectUrl"}},{kind:"Field",name:{kind:"Name",value:"projects"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"webUrl"}},{kind:"Field",name:{kind:"Name",value:"lastBuild"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"branch"}},{kind:"Field",name:{kind:"Name",value:"number"}}]}}]}}]}}]}}]}}]},xm={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ProjectQuery"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"projectId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"project"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"projectId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"webUrl"}},{kind:"Field",name:{kind:"Name",value:"lastBuild"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"branch"}},{kind:"Field",name:{kind:"Name",value:"number"}}]}}]}}]}}]},Nm={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateUserPreferences"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UserPreferencesInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateUserPreferences"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updatedPreferences"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"vtaOnboarding"}}]}}]}}]}}]},_m={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AddonVisualTestsBuild"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"projectId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"branch"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"gitUserEmailHash"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"repositoryOwnerName"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"storyId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"testStatuses"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"TestStatus"}}}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"selectedBuildId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"hasSelectedBuildId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"project"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"projectId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"manageUrl"}},{kind:"Field",name:{kind:"Name",value:"account"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"billingUrl"}},{kind:"Field",name:{kind:"Name",value:"suspensionReason"}}]}},{kind:"Field",name:{kind:"Name",value:"features"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"uiTests"}}]}},{kind:"Field",alias:{kind:"Name",value:"lastBuildOnBranch"},name:{kind:"Name",value:"lastBuild"},arguments:[{kind:"Argument",name:{kind:"Name",value:"branches"},value:{kind:"ListValue",values:[{kind:"Variable",name:{kind:"Name",value:"branch"}}]}},{kind:"Argument",name:{kind:"Name",value:"repositoryOwnerName"},value:{kind:"Variable",name:{kind:"Name",value:"repositoryOwnerName"}}},{kind:"Argument",name:{kind:"Name",value:"localBuilds"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"localBuildEmailHash"},value:{kind:"Variable",name:{kind:"Name",value:"gitUserEmailHash"}}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"LastBuildOnBranchBuildFields"}},{kind:"FragmentSpread",name:{kind:"Name",value:"SelectedBuildFields"},directives:[{kind:"Directive",name:{kind:"Name",value:"skip"},arguments:[{kind:"Argument",name:{kind:"Name",value:"if"},value:{kind:"Variable",name:{kind:"Name",value:"hasSelectedBuildId"}}}]}]}]}},{kind:"Field",name:{kind:"Name",value:"lastBuild"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"slug"}},{kind:"Field",name:{kind:"Name",value:"branch"}}]}}]}},{kind:"Field",alias:{kind:"Name",value:"selectedBuild"},name:{kind:"Name",value:"build"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"selectedBuildId"}}}],directives:[{kind:"Directive",name:{kind:"Name",value:"include"},arguments:[{kind:"Argument",name:{kind:"Name",value:"if"},value:{kind:"Variable",name:{kind:"Name",value:"hasSelectedBuildId"}}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"SelectedBuildFields"}}]}},{kind:"Field",name:{kind:"Name",value:"viewer"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"preferences"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"vtaOnboarding"}}]}},{kind:"Field",name:{kind:"Name",value:"projectMembership"},arguments:[{kind:"Argument",name:{kind:"Name",value:"projectId"},value:{kind:"Variable",name:{kind:"Name",value:"projectId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"userCanReview"},name:{kind:"Name",value:"meetsAccessLevel"},arguments:[{kind:"Argument",name:{kind:"Name",value:"minimumAccessLevel"},value:{kind:"EnumValue",value:"REVIEWER"}}]}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"StatusTestFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Test"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"result"}},{kind:"Field",name:{kind:"Name",value:"story"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"storyId"}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"LastBuildOnBranchTestFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Test"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"result"}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"StoryTestFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Test"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"result"}},{kind:"Field",name:{kind:"Name",value:"webUrl"}},{kind:"Field",name:{kind:"Name",value:"comparisons"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"result"}},{kind:"Field",name:{kind:"Name",value:"browser"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"key"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"version"}}]}},{kind:"Field",name:{kind:"Name",value:"captureDiff"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"diffImage"},arguments:[{kind:"Argument",name:{kind:"Name",value:"signed"},value:{kind:"BooleanValue",value:!0}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"imageUrl"}},{kind:"Field",name:{kind:"Name",value:"imageWidth"}}]}},{kind:"Field",name:{kind:"Name",value:"focusImage"},arguments:[{kind:"Argument",name:{kind:"Name",value:"signed"},value:{kind:"BooleanValue",value:!0}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"imageUrl"}},{kind:"Field",name:{kind:"Name",value:"imageWidth"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"headCapture"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"captureImage"},arguments:[{kind:"Argument",name:{kind:"Name",value:"signed"},value:{kind:"BooleanValue",value:!0}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"backgroundColor"}},{kind:"Field",name:{kind:"Name",value:"imageUrl"}},{kind:"Field",name:{kind:"Name",value:"imageWidth"}},{kind:"Field",name:{kind:"Name",value:"imageHeight"}},{kind:"Field",name:{kind:"Name",value:"thumbnailUrl"}}]}},{kind:"Field",name:{kind:"Name",value:"captureError"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"kind"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CaptureErrorInteractionFailure"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"error"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CaptureErrorJSError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"error"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CaptureErrorFailedJS"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"error"}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"baseCapture"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"captureImage"},arguments:[{kind:"Argument",name:{kind:"Name",value:"signed"},value:{kind:"BooleanValue",value:!0}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"imageUrl"}},{kind:"Field",name:{kind:"Name",value:"imageWidth"}},{kind:"Field",name:{kind:"Name",value:"imageHeight"}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"mode"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"globals"}}]}},{kind:"Field",name:{kind:"Name",value:"story"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"storyId"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"component"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"LastBuildOnBranchBuildFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Build"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"Field",name:{kind:"Name",value:"committedAt"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"StartedBuild"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"testsForStatus"},name:{kind:"Name",value:"tests"},arguments:[{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"IntValue",value:"1000"}},{kind:"Argument",name:{kind:"Name",value:"statuses"},value:{kind:"Variable",name:{kind:"Name",value:"testStatuses"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"StatusTestFields"}}]}}]}},{kind:"Field",alias:{kind:"Name",value:"testsForStory"},name:{kind:"Name",value:"tests"},arguments:[{kind:"Argument",name:{kind:"Name",value:"storyId"},value:{kind:"Variable",name:{kind:"Name",value:"storyId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"LastBuildOnBranchTestFields"}}]}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CompletedBuild"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"result"}},{kind:"Field",alias:{kind:"Name",value:"testsForStatus"},name:{kind:"Name",value:"tests"},arguments:[{kind:"Argument",name:{kind:"Name",value:"first"},value:{kind:"IntValue",value:"1000"}},{kind:"Argument",name:{kind:"Name",value:"statuses"},value:{kind:"Variable",name:{kind:"Name",value:"testStatuses"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"StatusTestFields"}}]}}]}},{kind:"Field",alias:{kind:"Name",value:"testsForStory"},name:{kind:"Name",value:"tests"},arguments:[{kind:"Argument",name:{kind:"Name",value:"storyId"},value:{kind:"Variable",name:{kind:"Name",value:"storyId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"LastBuildOnBranchTestFields"}}]}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"SelectedBuildFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Build"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"number"}},{kind:"Field",name:{kind:"Name",value:"branch"}},{kind:"Field",name:{kind:"Name",value:"commit"}},{kind:"Field",name:{kind:"Name",value:"committedAt"}},{kind:"Field",name:{kind:"Name",value:"uncommittedHash"}},{kind:"Field",name:{kind:"Name",value:"status"}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"StartedBuild"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"startedAt"}},{kind:"Field",alias:{kind:"Name",value:"testsForStory"},name:{kind:"Name",value:"tests"},arguments:[{kind:"Argument",name:{kind:"Name",value:"storyId"},value:{kind:"Variable",name:{kind:"Name",value:"storyId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"StoryTestFields"}}]}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"CompletedBuild"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"startedAt"}},{kind:"Field",alias:{kind:"Name",value:"testsForStory"},name:{kind:"Name",value:"tests"},arguments:[{kind:"Argument",name:{kind:"Name",value:"storyId"},value:{kind:"Variable",name:{kind:"Name",value:"storyId"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"nodes"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"StoryTestFields"}}]}}]}}]}}]}}]},Mm={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"ReviewTest"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ReviewTestInput"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"reviewTest"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updatedTests"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}},{kind:"Field",name:{kind:"Name",value:"status"}}]}},{kind:"Field",name:{kind:"Name",value:"userErrors"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"UserError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"__typename"}},{kind:"Field",name:{kind:"Name",value:"message"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"BuildSupersededError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"build"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"TestUnreviewableError"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"test"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"}}]}}]}}]}}]}}]}}]},Ps=w.div(({status:e,theme:t})=>({display:"inline-block",width:6,height:6,borderRadius:"50%",background:e&&{IN_PROGRESS:"transparent",PASSED:t.color.positive,PENDING:t.color.gold,ACCEPTED:t.color.positive,DENIED:t.color.positive,BROKEN:t.color.negative,FAILED:t.color.negative,EQUAL:t.color.positive,FIXED:t.color.positive,ADDED:t.color.gold,CHANGED:t.color.gold,REMOVED:t.color.gold,CAPTURE_ERROR:t.color.negative,SYSTEM_ERROR:t.color.negative,positive:t.color.positive,negative:t.color.negative,warning:t.color.gold,notification:t.color.secondary}[e]}),({overlay:e,theme:t})=>e&&ue({position:"absolute",top:-1,right:-2,width:7,height:7,border:"1px solid rgba(0, 0, 0, 0.1)",boxShadow:`0 0 0 2px var(--bg-color, ${t.background.bar})`,boxSizing:"border-box"})),Vs=({status:e})=>a.createElement(Ps,{status:e}),Tm=w.div({position:"relative",display:"inline-flex",justifyContent:"center","img, svg":{verticalAlign:"top"}}),dr=({status:e,children:t})=>a.createElement(Tm,null,t,a.createElement(Ps,{overlay:!0,status:e})),Ae=w(io)(({theme:e})=>({marginBottom:"-4px",marginTop:"-4px",left:-8})),Am=w.div(({theme:e})=>({width:220,padding:3,color:e.base==="light"?e.color.defaultText:e.color.light,"& > div":{margin:7}})),Fl=w.div(({theme:e})=>({height:5,background:e.background.hoverable,borderRadius:5,overflow:"hidden"})),Ds=w(Fl)(({theme:e})=>({background:e.color.secondary,transition:"width 3s ease-out"})),Fm=Ot({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),Ei=w.svg(({progress:e,theme:t})=>({position:"absolute",width:"24px!important",height:"24px!important",transform:"rotate(-90deg)",color:t.color.secondary,circle:{r:"10",cx:"12",cy:"12",fill:"transparent",stroke:e?"currentColor":t.background.hoverable,strokeWidth:"2",strokeLinecap:"round",strokeDasharray:Math.PI*20}}),({spinner:e,theme:t})=>e&&{animation:`${Fm} 1s linear infinite`,circle:{stroke:`${t.color.secondary}33`}}),Om=w.div(({theme:e})=>({color:e.color.warningText,"&&":{marginTop:10}})),Vn=w(Je)(({isDisallowed:e,theme:t})=>({position:"relative",overflow:"visible",color:t.textMutedColor,marginTop:0,zIndex:1,marginRight:4,...e&&{animation:`${Bs} 700ms ease-out`}})),Lm=({isDisabled:e=!1,isDisallowed:t=!1,isOutdated:n=!1,isRunning:r=!1,localBuildProgress:i,warning:l,clickWarning:o,startBuild:s,stopBuild:c})=>{if(e)return l?a.createElement(we,{tooltip:a.createElement(Ae,{note:l}),trigger:"hover",hasChrome:!1},a.createElement(Vn,{id:"button-run-tests","aria-label":"Visual tests locked",disabled:!o,onClick:o},a.createElement(dr,{status:"warning"},a.createElement(Bt,null)))):a.createElement(Vn,{id:"button-run-tests","aria-label":"Visual tests locked",disabled:!0},a.createElement(Bt,null));if(r&&i){let{buildProgressPercentage:d}=i;return a.createElement(we,{trigger:"hover",tooltip:a.createElement(Am,null,a.createElement("div",null,a.createElement(Tl,{localBuildProgress:i,small:!0,withEmoji:!0})),a.createElement(Fl,null,typeof d=="number"&&a.createElement(Ds,{style:{width:`${d}%`}})),t&&a.createElement(Om,null,"This job has already reached the capture cloud and cannot be stopped locally."))},a.createElement(Vn,{"aria-label":"Stop tests",isDisallowed:t,onClick:()=>c()},a.createElement(fu,{style:{width:10,margin:2}}),a.createElement(Ei,{xmlns:"http://www.w3.org/2000/svg"},a.createElement("circle",null)),a.createElement(Ei,{xmlns:"http://www.w3.org/2000/svg",spinner:!0},a.createElement("circle",{strokeDashoffset:Math.PI*20*(1-d/100)})),typeof d=="number"&&a.createElement(Ei,{xmlns:"http://www.w3.org/2000/svg",progress:!0},a.createElement("circle",{strokeDashoffset:Math.PI*20*(1-d/100)}))))}return n?a.createElement(we,{tooltip:a.createElement(Ae,{note:"Code changes detected; click to run tests"}),trigger:"hover",hasChrome:!1},a.createElement(Vn,{id:"button-run-tests","aria-label":"Run tests",onClick:()=>s()},a.createElement(dr,{status:"notification"},a.createElement(Bt,null)))):a.createElement(we,{trigger:"hover",hasChrome:!1,tooltip:a.createElement(Ae,{note:"No code changes detected. Rerun tests to take new snapshots."})},a.createElement(Vn,{id:"button-run-tests","aria-label":"Run tests",onClick:()=>s()},a.createElement(Bt,null)))},Rm=({api:e})=>{let{addNotification:t,clearNotification:n,selectStory:r,setOptions:i,togglePanel:l}=e,o=Ft(ba),{projectId:s}=_l(),[c]=xl(),d=!!c,[m,u]=Ee(hl),[p]=Ee(Ja),[f]=Ee(fl),[g]=Ee(Ar),y=Object.keys(g?.problems||{}).length>0,[k]=Ee(pl),E=Ne(f?.currentStep),{index:h,status:v,storyId:b,viewMode:C}=jt(),O=Object.values(v).filter(ie=>ie[Z]?.status==="warn"),I=H(ie=>{if(i({selectedPanel:nn}),l(!0),h&&C!=="story"){let Ge=Object.keys(h).indexOf(b),Se=Object.entries(h).slice(Ge>0?Ge:0),[Mt]=Se.find(([,{type:Le}])=>Le==="story")||[];Mt&&r(Mt)}ie&&o?.({action:"openWarning",warning:ie})},[i,l,o,h,r,b,C]),U=H(({onDismiss:ie})=>{ie(),I()},[I]);K(()=>{let ie=()=>u(!0),Ge=()=>u(!1);return window.addEventListener("offline",ie),window.addEventListener("online",Ge),()=>{window.removeEventListener("offline",ie),window.removeEventListener("online",Ge)}},[u]),K(()=>{if(f?.currentStep!==E.current){if(E.current=f?.currentStep,f?.currentStep==="initialize"){let ie=`${Z}/build-initialize/${Date.now()}`;t({id:ie,content:{headline:"Build started",subHeadline:"Check the visual test addon to see the progress of your build."},icon:a.createElement(Ii,{color:dt.positive}),duration:8e3,onClick:U}),setTimeout(()=>n(ie),8e3)}if(f?.currentStep==="aborted"){let ie=`${Z}/build-aborted/${Date.now()}`;t({id:ie,content:{headline:"Build canceled",subHeadline:"Aborted by user."},icon:a.createElement(St,{color:dt.negative}),duration:8e3,onClick:U}),setTimeout(()=>n(ie),8e3)}if(f?.currentStep==="complete"){let ie=`${Z}/build-complete/${Date.now()}`;t({id:ie,content:{headline:"Build complete",subHeadline:f.errorCount?`Encountered ${(0,mi.default)("component error",f.errorCount,!0)}`:O.length?`Found ${(0,mi.default)("story",O.length,!0)} with ${(0,mi.default)("change",O.length)}`:"No visual changes detected"},icon:a.createElement(Ii,{color:dt.positive}),duration:8e3,onClick:U}),setTimeout(()=>n(ie),8e3)}f?.currentStep==="error"&&t({id:`${Z}/build-error/${Date.now()}`,content:{headline:"Build error",subHeadline:"Check the Storybook process on the command line for more details."},icon:a.createElement(St,{color:dt.negative}),onClick:U}),f?.currentStep==="limited"&&t({id:`${Z}/build-limited/${Date.now()}`,content:{headline:"Build limited",subHeadline:"Your account has insufficient snapshots remaining to run this build. Visit your billing page to find out more."},icon:a.createElement(St,{color:dt.negative}),onClick:U})}},[t,n,U,f?.currentStep,f?.errorCount,f?.changeCount,O.length]);let{isDisallowed:G,isRunning:oe,startBuild:ee,stopBuild:ke}=Nl({localBuildProgress:f,accessToken:c}),ye;s||(ye="Visual tests locked until a project is selected."),d||(ye="Visual tests locked until you are logged in."),k&&(ye="Visual tests locked due to Git synchronization problem."),y&&(ye="Visual tests locked due to configuration problem."),m&&(ye="Visual tests locked while offline.");let pe=H(()=>I(ye),[I,ye]);return globalThis.CONFIG_TYPE!=="DEVELOPMENT"?null:a.createElement(Lm,{isDisabled:!!ye,isDisallowed:G,isOutdated:p,isRunning:oe,localBuildProgress:f,warning:ye,clickWarning:pe,startBuild:ee,stopBuild:ke})},Hs=je(null),Im=({children:e,value:t})=>a.createElement(Hs.Provider,{value:t},e),js=()=>kt(Hs,"AuthState"),Zm={user:a.createElement(a.Fragment,null,a.createElement("path",{d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0ZM2.67 11.15c.7-1 2.6-1.81 3.2-1.9.22-.04.23-.66.23-.66s-.67-.66-.81-1.55c-.4 0-.63-.94-.24-1.27l-.02-.13c-.06-.6-.28-2.6 1.97-2.6s2.03 2 1.97 2.6l-.02.13c.4.33.15 1.27-.24 1.27-.14.89-.8 1.55-.8 1.55s0 .62.22.66c.6.09 2.5.9 3.2 1.9a6 6 0 1 0-8.66 0Z"})),useralt:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7.27 13.16a11.39 11.39 0 0 0 5.18-1.23v-.25c0-1.57-3.24-3-4.1-3.13-.27-.05-.28-.79-.28-.79s.8-.78.96-1.83c.47 0 .75-1.12.29-1.52.02-.41.6-3.25-2.32-3.25S4.65 4 4.67 4.41c-.46.4-.17 1.52.29 1.52.17 1.05.96 1.83.96 1.83s0 .74-.27.79c-.86.13-4.04 1.53-4.1 3.08a11.44 11.44 0 0 0 5.72 1.53Z"})),useradd:a.createElement(a.Fragment,null,a.createElement("path",{d:"M1.18 11.9c-.4-.17-.8-.36-1.18-.58.06-1.44 3.02-2.74 3.82-2.87.25-.04.26-.73.26-.73s-.74-.73-.9-1.7c-.43 0-.7-1.05-.27-1.42l-.01-.14c-.07-.67-.31-2.88 2.18-2.88 2.48 0 2.24 2.2 2.17 2.88l-.01.14c.43.37.16 1.41-.27 1.41-.16.98-.9 1.71-.9 1.71s.01.69.26.73c.8.13 3.82 1.46 3.82 2.91v.24a10.63 10.63 0 0 1-8.97.3ZM11.5 2.16c.28 0 .5.22.5.5v1.5h1.5a.5.5 0 0 1 0 1H12v1.5a.5.5 0 0 1-1 0v-1.5H9.5a.5.5 0 1 1 0-1H11v-1.5c0-.28.22-.5.5-.5Z"})),users:a.createElement(a.Fragment,null,a.createElement("path",{d:"M9.21 11.62A10.59 10.59 0 0 1 0 11.07c.06-1.35 2.93-2.58 3.7-2.7.25-.03.26-.68.26-.68s-.72-.69-.87-1.6c-.42 0-.68-.99-.26-1.33 0-.03 0-.08-.02-.14-.07-.63-.3-2.71 2.12-2.71 2.41 0 2.18 2.08 2.11 2.71l-.01.14c.42.34.16 1.32-.26 1.32-.16.92-.87 1.6-.87 1.6s0 .66.25.7c.78.11 3.7 1.36 3.7 2.73v.22l-.64.3Z"}),a.createElement("path",{d:"M8.81 8.42a9.64 9.64 0 0 0-.74-.4 5.2 5.2 0 0 1 1.7-.76c.17-.02.17-.47.17-.47s-.49-.47-.6-1.1c-.28 0-.46-.68-.17-.91l-.01-.1c-.05-.43-.2-1.86 1.45-1.86 1.66 0 1.5 1.43 1.45 1.86v.1c.28.23.1.9-.18.9-.11.64-.6 1.11-.6 1.11s0 .45.17.47c.54.08 2.55.94 2.55 1.89v.62a10.6 10.6 0 0 1-3.3.56 2.97 2.97 0 0 0-.58-.88c-.37-.41-.85-.76-1.31-1.03Z"})),profile:a.createElement(a.Fragment,null,a.createElement("path",{d:"M9.1 7.35a5.06 5.06 0 0 1-4.52-.28C4.6 6.4 6.02 5.77 6.4 5.7c.12-.02.12-.35.12-.35s-.35-.34-.43-.81c-.2 0-.33-.5-.12-.67l-.01-.07C5.93 3.48 5.81 2.42 7 2.42S8.07 3.48 8.04 3.8v.07c.2.17.07.67-.13.67-.08.47-.43.81-.43.81s0 .33.12.35c.38.06 1.82.7 1.82 1.4v.1c-.1.06-.2.1-.31.15Zm-5.35 3.9c0-.14.11-.25.25-.25h6a.25.25 0 1 1 0 .5H4a.25.25 0 0 1-.25-.25ZM4 9a.25.25 0 0 0 0 .5h6a.25.25 0 1 0 0-.5H4Z"}),a.createElement("path",{fillRule:"evenodd",d:"M1 .5c0-.28.22-.5.5-.5h11c.28 0 .5.22.5.5v13a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5V.5ZM2 13V1h10v12H2Z"})),facehappy:a.createElement(a.Fragment,null,a.createElement("path",{d:"M3.97 8.75a.5.5 0 0 0-.87.5 4.5 4.5 0 0 0 7.8 0 .5.5 0 1 0-.87-.5 3.5 3.5 0 0 1-6.06 0ZM5.5 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM9.5 6a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"}),a.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z"})),faceneutral:a.createElement(a.Fragment,null,a.createElement("path",{d:"M4.5 9a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5ZM5.5 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM9.5 6a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"}),a.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z"})),facesad:a.createElement(a.Fragment,null,a.createElement("path",{d:"M3.97 10.25a.5.5 0 0 1-.87-.5 4.5 4.5 0 0 1 7.8 0 .5.5 0 1 1-.87.5 3.5 3.5 0 0 0-6.06 0ZM5.5 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM9.5 6a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"}),a.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z"})),accessibility:a.createElement(a.Fragment,null,a.createElement("path",{d:"M3.53 4.84a.5.5 0 0 1 .63-.31l2.05.68a2.5 2.5 0 0 0 1.58 0l2.05-.68a.5.5 0 0 1 .32.94L7.7 6.3a.3.3 0 0 0-.21.29v.24c0 .7.16 1.39.48 2.01l.97 1.95a.5.5 0 1 1-.9.44L7 9.12l-1.05 2.1a.5.5 0 1 1-.9-.44l.97-1.95a4.5 4.5 0 0 0 .48-2.01v-.24a.3.3 0 0 0-.2-.29l-2.46-.82a.5.5 0 0 1-.31-.63Z"}),a.createElement("path",{d:"M7 4.5a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"}),a.createElement("path",{fillRule:"evenodd",d:"M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14Zm0-1A6 6 0 1 0 7 1a6 6 0 0 0 0 12Z"})),accessibilityalt:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14ZM8 3.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM3.53 4.84a.5.5 0 0 1 .63-.31l2.05.68a2.5 2.5 0 0 0 1.58 0l2.05-.68a.5.5 0 0 1 .32.94L7.7 6.3a.3.3 0 0 0-.21.29v.24c0 .7.16 1.39.48 2.01l.97 1.95a.5.5 0 1 1-.9.44L7 9.12l-1.05 2.1a.5.5 0 1 1-.9-.44l.97-1.95a4.5 4.5 0 0 0 .48-2.01v-.24a.3.3 0 0 0-.2-.29l-2.46-.82a.5.5 0 0 1-.31-.63Z"})),arrowup:a.createElement(a.Fragment,null,a.createElement("path",{d:"m7.35 2.9 5.5 5.5a.5.5 0 0 1-.7.7L7 3.96 1.85 9.1a.5.5 0 1 1-.7-.7l5.5-5.5c.2-.2.5-.2.7 0Z"})),arrowdown:a.createElement(a.Fragment,null,a.createElement("path",{d:"m1.15 5.6 5.5 5.5c.2.2.5.2.7 0l5.5-5.5a.5.5 0 0 0-.7-.7L7 10.04 1.85 4.9a.5.5 0 1 0-.7.7Z"})),arrowleft:a.createElement(a.Fragment,null,a.createElement("path",{d:"M2.76 7.1c.02.09.06.18.14.25l5.5 5.5a.5.5 0 0 0 .7-.7L3.96 7 9.1 1.85a.5.5 0 1 0-.7-.7l-5.5 5.5a.5.5 0 0 0-.14.45Z"})),arrowright:a.createElement(a.Fragment,null,a.createElement("path",{d:"m11.1 7.35-5.5 5.5a.5.5 0 0 1-.7-.7L10.04 7 4.9 1.85a.5.5 0 1 1 .7-.7l5.5 5.5c.2.2.2.5 0 .7Z"})),arrowupalt:a.createElement(a.Fragment,null,a.createElement("path",{d:"M11.85 4.65 7.35.15a.5.5 0 0 0-.7 0l-4.5 4.5a.5.5 0 1 0 .7.7L6.5 1.71V13.5a.5.5 0 0 0 1 0V1.7l3.65 3.65a.5.5 0 0 0 .7-.7Z"})),arrowdownalt:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7.5.5a.5.5 0 0 0-1 0v11.8L2.85 8.64a.5.5 0 1 0-.7.7l4.5 4.5A.5.5 0 0 0 7 14a.5.5 0 0 0 .35-.15l4.5-4.5a.5.5 0 0 0-.7-.7L7.5 12.29V.5Z"})),arrowleftalt:a.createElement(a.Fragment,null,a.createElement("path",{d:"M5.35 2.15c.2.2.2.5 0 .7L1.71 6.5H13.5a.5.5 0 0 1 0 1H1.7l3.65 3.65a.5.5 0 0 1-.7.7l-4.5-4.5a.5.5 0 0 1 0-.7l4.5-4.5c.2-.2.5-.2.7 0Z"})),arrowrightalt:a.createElement(a.Fragment,null,a.createElement("path",{d:"M8.65 2.15c.2-.2.5-.2.7 0l4.5 4.5c.2.2.2.5 0 .7l-4.5 4.5a.5.5 0 0 1-.7-.7l3.64-3.65H.5a.5.5 0 0 1 0-1h11.8L8.64 2.85a.5.5 0 0 1 0-.7Z"})),expandalt:a.createElement(a.Fragment,null,a.createElement("path",{d:"m7.35.15 4 4a.5.5 0 0 1-.7.7L7 1.21 3.35 4.85a.5.5 0 1 1-.7-.7l4-4c.2-.2.5-.2.7 0ZM11.35 9.15c.2.2.2.5 0 .7l-4 4a.5.5 0 0 1-.7 0l-4-4a.5.5 0 1 1 .7-.7L7 12.79l3.65-3.64c.2-.2.5-.2.7 0Z"})),collapse:a.createElement(a.Fragment,null,a.createElement("path",{d:"M3.354.146a.5.5 0 1 0-.708.708l4 4a.5.5 0 0 0 .708 0l4-4a.5.5 0 0 0-.708-.708L7 3.793 3.354.146Zm3.292 9a.5.5 0 0 1 .708 0l4 4a.5.5 0 0 1-.708.708L7 10.207l-3.646 3.647a.5.5 0 0 1-.708-.708l4-4Z"})),expand:a.createElement(a.Fragment,null,a.createElement("path",{d:"M1.5 1h2a.5.5 0 0 1 0 1h-.8l3.15 3.15a.5.5 0 1 1-.7.7L2 2.71v.79a.5.5 0 0 1-1 0v-2c0-.28.22-.5.5-.5ZM10 1.5c0-.28.22-.5.5-.5h2c.28 0 .5.22.5.5v2a.5.5 0 0 1-1 0v-.8L8.85 5.86a.5.5 0 1 1-.7-.7L11.29 2h-.79a.5.5 0 0 1-.5-.5ZM12.5 10c.28 0 .5.22.5.5v2a.5.5 0 0 1-.5.5h-2a.5.5 0 0 1 0-1h.8L8.14 8.85a.5.5 0 1 1 .7-.7L12 11.29v-.79c0-.28.22-.5.5-.5ZM2 11.3v-.8a.5.5 0 0 0-1 0v2c0 .28.22.5.5.5h2a.5.5 0 0 0 0-1h-.8l3.15-3.15a.5.5 0 1 0-.7-.7L2 11.29Z"})),unfold:a.createElement(a.Fragment,null,a.createElement("path",{d:"m6.65.15-1.5 1.5a.5.5 0 1 0 .7.7l.65-.64V5a.5.5 0 0 0 1 0V1.7l.65.65a.5.5 0 1 0 .7-.7L7.35.15a.5.5 0 0 0-.7 0Z"}),a.createElement("path",{d:"M1.3 4.04a.5.5 0 0 0-.16.82L3.3 7 1.15 9.15a.5.5 0 0 0 .35.85h3a.5.5 0 0 0 0-1H2.7l1.5-1.5h5.6l2.35 2.35a.5.5 0 0 0 .7-.7L10.71 7l2.14-2.15.11-.54-.1.54A.5.5 0 0 0 13 4.5a.5.5 0 0 0-.14-.35.5.5 0 0 0-.36-.15h-3a.5.5 0 0 0 0 1h1.8L9.8 6.5H4.2L2.7 5h1.8a.5.5 0 0 0 0-1h-3a.5.5 0 0 0-.2.04Z"}),a.createElement("path",{d:"M7 8.5c.28 0 .5.22.5.5v3.3l.65-.65a.5.5 0 0 1 .7.7l-1.5 1.5a.5.5 0 0 1-.7 0l-1.5-1.5a.5.5 0 0 1 .7-.7l.65.64V9c0-.28.22-.5.5-.5ZM9 9.5c0-.28.22-.5.5-.5h3a.5.5 0 0 1 0 1h-3a.5.5 0 0 1-.5-.5Z"})),transfer:a.createElement(a.Fragment,null,a.createElement("path",{d:"M10.65 2.65c.2-.2.5-.2.7 0l1.5 1.5c.2.2.2.5 0 .7l-1.5 1.5a.5.5 0 0 1-.7-.7l.64-.65H1.5a.5.5 0 0 1 0-1h9.8l-.65-.65a.5.5 0 0 1 0-.7ZM3.35 8.35 2.71 9h9.79a.5.5 0 0 1 0 1H2.7l.65.65a.5.5 0 0 1-.7.7l-1.5-1.5a.5.5 0 0 1 0-.7l1.5-1.5a.5.5 0 1 1 .7.7Z"})),redirect:a.createElement(a.Fragment,null,a.createElement("path",{d:"M1.5 1c.28 0 .5.22.5.5V10a2 2 0 0 0 4 0V4a3 3 0 0 1 6 0v7.8l1.15-1.15a.5.5 0 0 1 .7.7l-2 2a.5.5 0 0 1-.7 0l-2-2a.5.5 0 0 1 .7-.7L11 11.79V4a2 2 0 1 0-4 0v6a3 3 0 0 1-6 0V1.5c0-.28.22-.5.5-.5Z"})),undo:a.createElement(a.Fragment,null,a.createElement("path",{d:"M1.15 3.85a.5.5 0 0 1 0-.7l2-2a.5.5 0 1 1 .7.7L2.71 3H9a4 4 0 0 1 0 8H3a.5.5 0 0 1 0-1h6a3 3 0 1 0 0-6H2.7l1.15 1.15a.5.5 0 1 1-.7.7l-2-2Z"})),reply:a.createElement(a.Fragment,null,a.createElement("path",{d:"M4.35 2.15c.2.2.2.5 0 .7L1.71 5.5H9.5A4.5 4.5 0 0 1 14 10v1.5a.5.5 0 0 1-1 0V10a3.5 3.5 0 0 0-3.5-3.5H1.7l2.65 2.65a.5.5 0 1 1-.7.7l-3.5-3.5a.5.5 0 0 1 0-.7l3.5-3.5c.2-.2.5-.2.7 0Z"})),sync:a.createElement(a.Fragment,null,a.createElement("path",{d:"M5.5 1A.5.5 0 0 0 5 .5H2a.5.5 0 0 0 0 1h1.53a6.5 6.5 0 0 0 2.39 11.91.5.5 0 1 0 .16-.99A5.5 5.5 0 0 1 4.5 2.1V4a.5.5 0 0 0 1 0V1ZM7.5 1a.5.5 0 0 1 .58-.41 6.5 6.5 0 0 1 2.39 11.91H12a.5.5 0 0 1 0 1H9a.5.5 0 0 1-.5-.5v-3a.5.5 0 0 1 1 0v1.9A5.5 5.5 0 0 0 7.92 1.58.5.5 0 0 1 7.5 1Z"})),upload:a.createElement(a.Fragment,null,a.createElement("path",{d:"M8.65 5.85 7.5 4.71v5.79a.5.5 0 0 1-1 0V4.7L5.35 5.86a.5.5 0 1 1-.7-.7l2-2c.2-.2.5-.2.7 0l2 2a.5.5 0 1 1-.7.7Z"}),a.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z"})),download:a.createElement(a.Fragment,null,a.createElement("path",{d:"M5.35 8.15 6.5 9.29V3.5a.5.5 0 0 1 1 0v5.8l1.15-1.15a.5.5 0 1 1 .7.7l-2 2a.5.5 0 0 1-.7 0l-2-2a.5.5 0 1 1 .7-.7Z"}),a.createElement("path",{fillRule:"evenodd",d:"M0 7a7 7 0 1 1 14 0A7 7 0 0 1 0 7Zm1 0a6 6 0 1 1 12 0A6 6 0 0 1 1 7Z"})),back:a.createElement(a.Fragment,null,a.createElement("path",{d:"M5.85 5.35 4.71 6.5h5.79a.5.5 0 0 1 0 1H4.7l1.15 1.15a.5.5 0 1 1-.7.7l-2-2a.5.5 0 0 1 0-.7l2-2a.5.5 0 1 1 .7.7Z"}),a.createElement("path",{fillRule:"evenodd",d:"M7 0a7 7 0 1 1 0 14A7 7 0 0 1 7 0Zm0 1a6 6 0 1 1 0 12A6 6 0 0 1 7 1Z"})),proceed:a.createElement(a.Fragment,null,a.createElement("path",{d:"M3.5 6.5h5.8L8.14 5.35a.5.5 0 1 1 .7-.7l2 2c.2.2.2.5 0 .7l-2 2a.5.5 0 1 1-.7-.7L9.29 7.5H3.5a.5.5 0 0 1 0-1Z"}),a.createElement("path",{fillRule:"evenodd",d:"M7 14A7 7 0 1 1 7 0a7 7 0 0 1 0 14Zm0-1A6 6 0 1 1 7 1a6 6 0 0 1 0 12Z"})),refresh:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7.1.5H7a6.5 6.5 0 1 0 6.41 7.58.5.5 0 1 0-.99-.16A5.47 5.47 0 0 1 7 12.5a5.5 5.5 0 0 1 0-11 5.5 5.5 0 0 1 4.9 3H10a.5.5 0 0 0 0 1h3a.5.5 0 0 0 .5-.5V2a.5.5 0 0 0-1 0v1.53A6.5 6.5 0 0 0 7.1.5Z"})),globe:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 0 0 7a7 7 0 0 0 14 0Zm-6.53 5.74c-.24.23-.4.26-.47.26-.08 0-.23-.03-.47-.26-.23-.24-.5-.62-.73-1.18A11.57 11.57 0 0 1 5 7.5h4a11.57 11.57 0 0 1-.8 4.06c-.24.56-.5.94-.73 1.18ZM8.99 6.5H5.01c.05-1.62.35-3.04.79-4.06.24-.56.5-.94.73-1.18.24-.23.4-.26.47-.26.08 0 .23.03.47.26.23.24.5.62.73 1.18.44 1.02.74 2.44.8 4.06Zm1 1c-.06 2.18-.56 4.08-1.28 5.25a6 6 0 0 0 4.27-5.25H9.99Zm2.99-1H9.99c-.06-2.18-.56-4.08-1.28-5.25a6 6 0 0 1 4.27 5.25ZM4 6.5c.06-2.18.56-4.08 1.28-5.25A6 6 0 0 0 1.02 6.5h2.99Zm-2.99 1a6 6 0 0 0 4.27 5.25c-.72-1.17-1.22-3.07-1.28-5.25H1.02Z"})),compass:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M10.09 3.4 5.95 5.8a.37.37 0 0 0-.11.09.38.38 0 0 0-.04.05l-2.4 4.15a.37.37 0 0 0 0 .38c.1.18.33.24.5.14l4.15-2.4a.37.37 0 0 0 .15-.15l2.4-4.15a.37.37 0 0 0-.03-.44.37.37 0 0 0-.48-.07ZM4.75 9.25 7.6 7.6 6.4 6.4 4.75 9.25Z"}),a.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z"})),location:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M0 7a7 7 0 1 1 14 0A7 7 0 0 1 0 7Zm6.5 3.5v2.48A6 6 0 0 1 1.02 7.5H3.5a.5.5 0 0 0 0-1H1.02A6 6 0 0 1 6.5 1.02V3.5a.5.5 0 0 0 1 0V1.02a6 6 0 0 1 5.48 5.48H10.5a.5.5 0 0 0 0 1h2.48a6 6 0 0 1-5.48 5.48V10.5a.5.5 0 0 0-1 0Z"})),pin:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M9 5a2 2 0 1 1-4 0 2 2 0 0 1 4 0ZM8 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"}),a.createElement("path",{fillRule:"evenodd",d:"M12 5A5 5 0 0 0 2 5c0 2.63 2.27 6.15 4.65 8.64.2.2.5.2.7 0C9.73 11.15 12 7.64 12 5ZM7 1a4 4 0 0 1 4 4c0 1.06-.47 2.42-1.3 3.88A21.23 21.23 0 0 1 7 12.55c-1-1.1-1.97-2.39-2.7-3.67A8.46 8.46 0 0 1 3 5a4 4 0 0 1 4-4Z"})),time:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7 2c.28 0 .5.22.5.5v4H10a.5.5 0 0 1 0 1H7a.5.5 0 0 1-.5-.5V2.5c0-.28.22-.5.5-.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14Zm0-1A6 6 0 1 0 7 1a6 6 0 0 0 0 12Z"})),dashboard:a.createElement(a.Fragment,null,a.createElement("path",{d:"M9.8 4.1a.5.5 0 0 1 .1.7L7.92 7.58A1 1 0 1 1 7.1 7l2-2.8a.5.5 0 0 1 .7-.12Z"}),a.createElement("path",{fillRule:"evenodd",d:"M2.07 12.97a7 7 0 1 1 9.86 0 12.96 12.96 0 0 0-9.86 0Zm9.58-1.18a6 6 0 1 0-9.3 0 13.98 13.98 0 0 1 9.3 0Z"})),timer:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7.5 4.5a.5.5 0 0 0-1 0v2.63a1 1 0 1 0 1 0V4.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M5.5.5c0-.28.22-.5.5-.5h2a.5.5 0 0 1 0 1h-.5v1.02c1.28.1 2.45.61 3.37 1.4l.78-.77a.5.5 0 0 1 .7.7l-.77.78a6 6 0 1 1-5.08-2.1V1H6a.5.5 0 0 1-.5-.5ZM7 3a5 5 0 1 0 0 10A5 5 0 0 0 7 3Z"})),home:a.createElement(a.Fragment,null,a.createElement("path",{d:"m7.35 1.15 5.5 5.5a.5.5 0 0 1-.7.7L12 7.21v5.29a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5V9H6v3.5a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5V7.2l-.15.15a.5.5 0 1 1-.7-.7l1-1 4.5-4.5c.2-.2.5-.2.7 0ZM3 6.2V12h2V8.5c0-.28.22-.5.5-.5h3c.28 0 .5.22.5.5V12h2V6.2l-4-4-4 4Z"})),admin:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M1.21 4.1a.5.5 0 0 1 .06-.04l5.48-3a.5.5 0 0 1 .5 0l5.48 3a.5.5 0 0 1 .27.39.5.5 0 0 1-.51.55H1.51a.5.5 0 0 1-.3-.9ZM3.46 4h7.08L7 2.07 3.46 4Z"}),a.createElement("path",{d:"M4 6a.5.5 0 1 0-1 0v5a.5.5 0 0 0 1 0V6ZM11 6a.5.5 0 0 0-1 0v5a.5.5 0 0 0 1 0V6ZM5.75 5.5c.28 0 .5.22.5.5v5a.5.5 0 0 1-1 0V6c0-.28.22-.5.5-.5ZM8.75 6a.5.5 0 1 0-1 0v5a.5.5 0 0 0 1 0V6ZM1.5 12.5c0-.27.22-.5.5-.5h10a.5.5 0 0 1 0 1H2a.5.5 0 0 1-.5-.5Z"})),info:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7 5.5c.28 0 .5.22.5.5v4a.5.5 0 0 1-1 0V6c0-.28.22-.5.5-.5ZM7 4.5A.75.75 0 1 0 7 3a.75.75 0 0 0 0 1.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14Zm0-1A6 6 0 1 0 7 1a6 6 0 0 0 0 12Z"})),question:a.createElement(a.Fragment,null,a.createElement("path",{d:"M5.25 5.25A1.75 1.75 0 1 1 7 7a.5.5 0 0 0-.5.5V9a.5.5 0 0 0 1 0V7.95a2.75 2.75 0 1 0-3.25-2.7.5.5 0 0 0 1 0ZM7 11.5A.75.75 0 1 0 7 10a.75.75 0 0 0 0 1.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z"})),support:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-3.52 4.9a5.97 5.97 0 0 1-6.96 0l1.45-1.45a3.98 3.98 0 0 0 4.06 0l1.45 1.44Zm-.03-2.87 1.44 1.45a5.97 5.97 0 0 0 0-6.96l-1.44 1.45a3.98 3.98 0 0 1 0 4.06ZM9.03 3.55l1.45-1.44a5.97 5.97 0 0 0-6.96 0l1.45 1.44a3.98 3.98 0 0 1 4.06 0ZM3.55 4.97 2.11 3.52a5.97 5.97 0 0 0 0 6.96l1.44-1.45a3.98 3.98 0 0 1 0-4.06ZM10 7a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"})),alert:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7 4.5c.28 0 .5.22.5.5v3.5a.5.5 0 0 1-1 0V5c0-.28.22-.5.5-.5ZM7.75 10.5a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"}),a.createElement("path",{fillRule:"evenodd",d:"M7.2 1.04a.5.5 0 0 1 .24.21l6.49 11a.5.5 0 0 1-.44.75H.51a.5.5 0 0 1-.5-.45.5.5 0 0 1 .06-.31l6.5-10.99a.5.5 0 0 1 .64-.2ZM7 2.48 1.38 12h11.24L7 2.48Z"})),email:a.createElement(a.Fragment,null,a.createElement("path",{d:"M0 2.5c0-.27.22-.5.5-.5h13c.28 0 .5.23.5.5v9a.5.5 0 0 1-.5.5H.5a.5.5 0 0 1-.5-.5v-9Zm1 1.02V11h12V3.52L7.31 7.89a.5.5 0 0 1-.52.07.5.5 0 0 1-.1-.07L1 3.52ZM12.03 3H1.97L7 6.87 12.03 3Z"})),phone:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"m7.76 8.13-.05.05a.2.2 0 0 1-.28.03A6.76 6.76 0 0 1 5.8 6.56a.21.21 0 0 1 .04-.27l.05-.05c.23-.2.54-.47.71-.96.17-.47-.02-1.04-.66-1.94-.26-.38-.72-.96-1.22-1.46-.68-.69-1.2-1-1.65-1a.98.98 0 0 0-.51.13A3.23 3.23 0 0 0 .9 3.42c-.13 1.1.26 2.37 1.17 3.78a16.68 16.68 0 0 0 4.55 4.6 6.57 6.57 0 0 0 3.53 1.32A3.2 3.2 0 0 0 13 11.46c.14-.24.24-.64-.07-1.18a7.8 7.8 0 0 0-1.73-1.8c-.64-.5-1.52-1.12-2.13-1.12a.97.97 0 0 0-.34.06c-.47.17-.74.46-.95.69l-.02.02Zm4.32 2.68a6.8 6.8 0 0 0-1.48-1.54h-.02c-.3-.25-.64-.49-.95-.67a2.7 2.7 0 0 0-.56-.24h-.01c-.23.09-.34.21-.56.45l-.02.02-.04.04a1.2 1.2 0 0 1-1.6.15 7.76 7.76 0 0 1-1.86-1.89l-.01-.01-.02-.02a1.21 1.21 0 0 1 .2-1.53l.06-.06.02-.02c.22-.2.35-.31.43-.53v-.02c0-.02 0-.06-.03-.14a3.7 3.7 0 0 0-.5-.88h-.01V3.9c-.23-.33-.65-.87-1.1-1.32H4c-.31-.32-.55-.5-.72-.6a.6.6 0 0 0-.22-.1h-.03a2.23 2.23 0 0 0-1.15 1.66c-.09.78.18 1.8 1.02 3.1a15.68 15.68 0 0 0 4.27 4.33l.02.01.02.02a5.57 5.57 0 0 0 2.97 1.11 2.2 2.2 0 0 0 1.93-1.14h.01v-.05a.57.57 0 0 0-.05-.12Z"})),link:a.createElement(a.Fragment,null,a.createElement("path",{d:"M11.84 2.16a2.25 2.25 0 0 0-3.18 0l-2.5 2.5c-.88.88-.88 2.3 0 3.18a.5.5 0 0 1-.7.7 3.25 3.25 0 0 1 0-4.59l2.5-2.5a3.25 3.25 0 0 1 4.59 4.6L10.48 8.1c.04-.44.01-.89-.09-1.32l1.45-1.45c.88-.88.88-2.3 0-3.18Z"}),a.createElement("path",{d:"M3.6 7.2c-.1-.42-.12-.87-.08-1.31L1.45 7.95a3.25 3.25 0 1 0 4.6 4.6l2.5-2.5a3.25 3.25 0 0 0 0-4.6.5.5 0 0 0-.7.7c.87.89.87 2.31 0 3.2l-2.5 2.5a2.25 2.25 0 1 1-3.2-3.2l1.46-1.44Z"})),unlink:a.createElement(a.Fragment,null,a.createElement("path",{d:"m1.45 7.95 1.3-1.3.71.7-1.3 1.3a2.25 2.25 0 1 0 3.18 3.2l1.3-1.31.71.7-1.3 1.3a3.25 3.25 0 0 1-4.6-4.59ZM12.55 6.05l-1.3 1.3-.71-.7 1.3-1.3a2.25 2.25 0 1 0-3.18-3.2l-1.3 1.31-.71-.7 1.3-1.3a3.25 3.25 0 0 1 4.6 4.59ZM1.85 1.15a.5.5 0 1 0-.7.7l11 11a.5.5 0 0 0 .7-.7l-11-11Z"})),bell:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M8 1.11a1 1 0 1 0-1.99 0A4.5 4.5 0 0 0 2.5 5.5v3.88l-.94 1.89a.5.5 0 0 0-.06.3.5.5 0 0 0 .51.43h3.58a1.5 1.5 0 1 0 2.82 0H12a.5.5 0 0 0 .45-.73l-.94-1.89V5.5A4.5 4.5 0 0 0 8 1.11ZM2.8 11h8.4l-.5-1H3.3l-.5 1Zm7.7-2V5.5a3.5 3.5 0 1 0-7 0V9h7Zm-4 3.5a.5.5 0 1 1 1 0 .5.5 0 0 1-1 0Z"})),rss:a.createElement(a.Fragment,null,a.createElement("path",{d:"M1.5.5c0-.28.22-.5.5-.5a12 12 0 0 1 12 12 .5.5 0 0 1-1 0A11 11 0 0 0 2 1a.5.5 0 0 1-.5-.5Z"}),a.createElement("path",{d:"M1.5 4.5c0-.28.22-.5.5-.5a8 8 0 0 1 8 8 .5.5 0 0 1-1 0 7 7 0 0 0-7-7 .5.5 0 0 1-.5-.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M5 11a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm-1 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"})),sharealt:a.createElement(a.Fragment,null,a.createElement("path",{d:"M2 1a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V7.5a.5.5 0 0 0-1 0V12H2V2h4.5a.5.5 0 0 0 0-1H2Z"}),a.createElement("path",{d:"M7.35 7.36 12 2.7v1.8a.5.5 0 0 0 1 0v-3a.5.5 0 0 0-.5-.5h-3a.5.5 0 1 0 0 1h1.8L6.64 6.64a.5.5 0 1 0 .7.7Z"})),share:a.createElement(a.Fragment,null,a.createElement("path",{d:"M6.65.15c.2-.2.5-.2.7 0l2 2a.5.5 0 1 1-.7.7L7.5 1.72v6.8a.5.5 0 0 1-1 0V1.7L5.35 2.86a.5.5 0 1 1-.7-.71l2-2Z"}),a.createElement("path",{d:"M2 4a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1H9.5a.5.5 0 1 0 0 1H12v7H2V5h2.5a.5.5 0 0 0 0-1H2Z"})),circlehollow:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M7 13A6 6 0 1 0 7 1a6 6 0 0 0 0 12Zm0 1A7 7 0 1 0 7 0a7 7 0 0 0 0 14Z"})),circle:a.createElement("path",{d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Z"}),bookmarkhollow:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M3.5 0h7c.28 0 .5.22.5.5v13a.5.5 0 0 1-.45.5.46.46 0 0 1-.38-.12L7 11.16l-3.17 2.72a.46.46 0 0 1-.38.12.5.5 0 0 1-.45-.5V.5c0-.28.22-.5.5-.5ZM4 12.41l2.66-2.28a.45.45 0 0 1 .38-.13c.1.01.2.05.29.12l2.67 2.3V1H4v11.41Z"})),bookmark:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M3.5 0h7c.28 0 .5.22.5.5v13a.5.5 0 0 1-.45.5.46.46 0 0 1-.38-.12L7 11.16l-3.17 2.72a.46.46 0 0 1-.38.12.5.5 0 0 1-.45-.5V.5c0-.28.22-.5.5-.5Z"})),diamond:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M8.41 1.59a2 2 0 0 0-2.82 0l-4 4a2 2 0 0 0 0 2.82l4 4a2 2 0 0 0 2.82 0l4-4a2 2 0 0 0 0-2.82l-4-4Zm.71-.71a3 3 0 0 0-4.24 0l-4 4a3 3 0 0 0 0 4.24l4 4a3 3 0 0 0 4.24 0l4-4a3 3 0 0 0 0-4.24l-4-4Z"})),hearthollow:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M12.81 1.85 13 2a2.97 2.97 0 0 1 .75 1.17 4.39 4.39 0 0 1 .12 2.51 6.26 6.26 0 0 1-1.65 2.55l-4.78 4.6A.59.59 0 0 1 7 13a.67.67 0 0 1-.44-.17L1.78 8.22a7.84 7.84 0 0 1-1.25-1.6C.37 6.31.24 6 .14 5.67a4.32 4.32 0 0 1 .12-2.51 3.2 3.2 0 0 1 1.95-1.9c.47-.18 1-.27 1.57-.27.3 0 .61.04.91.14.3.09.59.21.86.36s.52.33.77.52c.24.19.47.38.68.58a7.56 7.56 0 0 1 1.46-1.1c.27-.15.55-.27.84-.36.3-.1.6-.14.9-.14.59 0 1.12.09 1.59.26.39.15.73.34 1.02.59ZM1.2 3.53A2.2 2.2 0 0 1 2.57 2.2M1.2 3.53c-.13.33-.2.72-.2 1.18 0 .22.03.45.1.68a3.97 3.97 0 0 0 .79 1.46c.19.23.38.45.59.65l4.51 4.36 4.52-4.35c.2-.2.4-.4.59-.65.18-.23.34-.47.49-.73.13-.23.23-.48.3-.73.08-.23.11-.46.11-.7 0-.45-.07-.84-.2-1.18-.12-.33-.3-.6-.51-.8v-.01c-.22-.2-.5-.38-.85-.51-.34-.13-.75-.2-1.24-.2-.2 0-.4.03-.6.09a4.95 4.95 0 0 0-1.9 1.22l-.68.67-.7-.65a9.97 9.97 0 0 0-.62-.53c-.2-.16-.42-.3-.63-.42h-.01c-.21-.12-.43-.22-.66-.29C4.2 2.03 4 2 3.77 2c-.48 0-.88.07-1.21.2"})),heart:a.createElement(a.Fragment,null,a.createElement("path",{d:"M12.81 1.85 13 2a2.97 2.97 0 0 1 .75 1.17 4.39 4.39 0 0 1 .12 2.51 6.26 6.26 0 0 1-1.65 2.55l-4.78 4.6A.59.59 0 0 1 7 13a.67.67 0 0 1-.44-.17L1.78 8.22a7.84 7.84 0 0 1-1.25-1.6C.37 6.31.24 6 .14 5.67a4.32 4.32 0 0 1 .12-2.51 3.2 3.2 0 0 1 1.95-1.9c.47-.18 1-.27 1.57-.27.3 0 .61.04.91.14.3.09.59.21.86.36s.52.33.77.52c.24.19.47.38.68.58a7.56 7.56 0 0 1 1.46-1.1c.27-.15.55-.27.84-.36.3-.1.6-.14.9-.14.59 0 1.12.09 1.59.26.39.15.73.34 1.02.59Z"})),starhollow:a.createElement(a.Fragment,null,a.createElement("path",{d:"M6.32.78a.75.75 0 0 1 1.36 0l1.63 3.54 3.87.46c.63.07.89.86.42 1.3l-2.86 2.64.76 3.81a.75.75 0 0 1-1.1.8L7 11.43l-3.4 1.9a.75.75 0 0 1-1.1-.8l.76-3.81L.4 6.07a.75.75 0 0 1 .42-1.3l3.87-.45L6.32.78ZM7 1.7 5.54 4.86c-.11.24-.34.4-.6.43l-3.46.42 2.56 2.37c.2.17.28.44.23.7l-.68 3.42 3.04-1.7c.23-.14.5-.14.74 0l3.04 1.7-.68-3.43a.75.75 0 0 1 .23-.7l2.56-2.36-3.47-.42a.75.75 0 0 1-.59-.43L7 1.7Z"})),star:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7.68.78a.75.75 0 0 0-1.36 0L4.69 4.32l-3.87.46a.75.75 0 0 0-.42 1.3l2.86 2.64-.76 3.81a.75.75 0 0 0 1.1.8l3.4-1.9 3.4 1.9a.75.75 0 0 0 1.1-.8l-.76-3.81 2.86-2.65a.75.75 0 0 0-.42-1.3L9.3 4.33 7.68.78Z"})),certificate:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M10 7.85A4.49 4.49 0 0 0 7 0a4.5 4.5 0 0 0-3 7.85V13a.5.5 0 0 0 .5.5.5.5 0 0 0 .35-.15L7 11.21l2.15 2.14A.5.5 0 0 0 10 13V7.85ZM7 8a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7Zm-.35 2.15c.2-.2.5-.2.7 0L9 11.79V8.53a4.48 4.48 0 0 1-4 0v3.26l1.65-1.64Z"})),verified:a.createElement(a.Fragment,null,a.createElement("path",{d:"M6.56 13.12a1 1 0 0 1 .88 0l.98.49a1 1 0 0 0 1.31-.43l.52-.97a1 1 0 0 1 .7-.51l1.08-.2a1 1 0 0 0 .81-1.1l-.15-1.1a1 1 0 0 1 .27-.82l.76-.8a1 1 0 0 0 0-1.37l-.76-.79a1 1 0 0 1-.27-.83l.15-1.08a1 1 0 0 0-.8-1.12l-1.09-.19a1 1 0 0 1-.7-.5L9.73.81A1 1 0 0 0 8.43.4l-1 .49a1 1 0 0 1-.87 0L5.58.39a1 1 0 0 0-1.31.43l-.52.97a1 1 0 0 1-.7.51l-1.08.2a1 1 0 0 0-.81 1.1l.15 1.1a1 1 0 0 1-.27.82l-.76.8a1 1 0 0 0 0 1.37l.76.79a1 1 0 0 1 .27.83l-.15 1.08a1 1 0 0 0 .8 1.12l1.09.19a1 1 0 0 1 .7.5l.52.98a1 1 0 0 0 1.3.43l1-.49Zm4.3-8.47c.19.2.19.5 0 .7l-4.5 4.5a.5.5 0 0 1-.71 0l-2.5-2.5a.5.5 0 1 1 .7-.7L6 8.79l4.15-4.14c.2-.2.5-.2.7 0Z"})),thumbsup:a.createElement(a.Fragment,null,a.createElement("path",{d:"M11 12.02c-.4.37-.91.56-1.56.56h-.88a5.5 5.5 0 0 1-1.3-.16c-.42-.1-.91-.25-1.47-.45-.3-.12-.63-.21-.95-.27H2.88a.84.84 0 0 1-.62-.26.84.84 0 0 1-.26-.61V6.45c0-.24.09-.45.26-.62a.84.84 0 0 1 .62-.25h1.87c.16-.11.47-.47.93-1.06.27-.35.51-.64.74-.88.1-.11.19-.3.24-.58.05-.28.12-.57.2-.87.1-.3.24-.55.43-.74a.87.87 0 0 1 .62-.25c.38 0 .72.07 1.03.22.3.15.54.38.7.7a2.94 2.94 0 0 1 .21 1.58 3 3 0 0 1-.3 1h1.2c.47 0 .88.17 1.23.52s.52.8.52 1.22c0 .29-.04.66-.34 1.12.05.15.07.3.07.47 0 .35-.09.68-.26.98.07.54-.07 1.08-.4 1.51a1.9 1.9 0 0 1-.57 1.5Zm.47-5.33a.96.96 0 0 0 .03-.25.74.74 0 0 0-.23-.51.68.68 0 0 0-.52-.23H7.93l.73-1.45a2 2 0 0 0 .21-.87c0-.44-.07-.7-.13-.82a.53.53 0 0 0-.24-.24 1.3 1.3 0 0 0-.54-.12.99.99 0 0 0-.14.28c-.08.27-.13.52-.18.76-.06.38-.2.77-.48 1.07v.01l-.02.01c-.2.2-.4.46-.67.8l-.61.76c-.15.17-.35.38-.54.51l-.26.18H5v4.13h.02c.38.08.76.18 1.12.32.53.2.98.33 1.35.42.36.09.71.13 1.07.13h.88c.43 0 .68-.11.87-.29a.9.9 0 0 0 .26-.7l-.02-.37.22-.3c.17-.23.25-.5.2-.78l-.04-.33.17-.3a.97.97 0 0 0 .13-.48c0-.09 0-.13-.02-.15l-.15-.46.26-.4c.1-.15.13-.25.15-.33ZM3.5 10.8a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1Z"})),shield:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M11.76 2.08a.5.5 0 0 1 .24.42v6a.5.5 0 0 1-.17.38l-4.5 3.99a.5.5 0 0 1-.67 0l-4.49-4A.5.5 0 0 1 2 8.5V2.5c0-.18.1-.34.24-.42l.01-.02a2.5 2.5 0 0 1 .3-.16c.22-.1.52-.24.92-.37C4.27 1.26 5.44 1 7 1c1.56 0 2.73.26 3.53.53a6.97 6.97 0 0 1 1.22.53l.01.02ZM3 2.79v5.49l1.07.94 6.59-6.58-.44-.17C9.52 2.24 8.44 2 7 2c-1.44 0-2.52.24-3.22.47-.35.12-.6.24-.78.32Zm4 9.04L4.82 9.9 11 3.71v4.57l-4 3.55Z"})),basket:a.createElement(a.Fragment,null,a.createElement("path",{d:"M10.35 2.85a.5.5 0 1 0-.7-.7l-3 3a.5.5 0 1 0 .7.7l3-3Z"}),a.createElement("path",{d:"M2.09 6H4.5a.5.5 0 0 0 0-1H1.8a.75.75 0 0 0-.74.87l.8 4.88A1.5 1.5 0 0 0 3.36 12h7.3a1.5 1.5 0 0 0 1.48-1.25l.81-4.88A.75.75 0 0 0 12.2 5H10a.5.5 0 0 0 0 1h1.91l-.76 4.58a.5.5 0 0 1-.5.42h-7.3a.5.5 0 0 1-.5-.42L2.1 6Z"}),a.createElement("path",{d:"M4.5 7c.28 0 .5.22.5.5v2a.5.5 0 0 1-1 0v-2c0-.28.22-.5.5-.5ZM10 7.5a.5.5 0 0 0-1 0v2a.5.5 0 0 0 1 0v-2ZM6.5 9.5v-2a.5.5 0 0 1 1 0v2a.5.5 0 0 1-1 0Z"})),beaker:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M4.5 2h.75v3.87l-3.03 5.26c-.48.83.12 1.87 1.08 1.87h7.4c.96 0 1.57-1.04 1.08-1.87L8.75 5.87V2h.75a.5.5 0 0 0 0-1h-5a.5.5 0 0 0 0 1Zm1.75 4V2h1.5v4.13l.07.12 1 1.75H5.18l1.01-1.75.07-.12V6ZM4.6 9l-1.52 2.63c-.1.16.03.37.22.37h7.4c.2 0 .31-.2.22-.37L9.4 9H4.6Z"})),hourglass:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7.5 10.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z"}),a.createElement("path",{fillRule:"evenodd",d:"M3.5 1a.5.5 0 0 0-.5.5c0 1.06.14 1.9.68 2.97.34.7.86 1.5 1.6 2.53a16.53 16.53 0 0 0-1.8 2.96A6 6 0 0 0 3 12.49v.01a.5.5 0 0 0 .5.5h7a.5.5 0 0 0 .5-.5 6 6 0 0 0-.48-2.54c-.34-.8-.9-1.71-1.8-2.96a19.78 19.78 0 0 0 1.6-2.53c.54-1.08.68-1.9.68-2.97a.5.5 0 0 0-.5-.5h-7Zm6.49 11a4.68 4.68 0 0 0-.39-1.65c-.27-.65-.73-1.4-1.5-2.5a133 133 0 0 1-.75 1 .5.5 0 0 1-.56.1.5.5 0 0 1-.2-.16l-.7-.94a14.36 14.36 0 0 0-1.5 2.5A4.68 4.68 0 0 0 4.02 12H10ZM6.3 6.72l.7.94a90.06 90.06 0 0 0 .7-.96c.49-.67.87-1.22 1.17-1.7H5.13A32.67 32.67 0 0 0 6.3 6.72ZM4.56 4h4.88c.36-.73.5-1.31.55-2H4c.04.69.19 1.27.55 2Z"})),flag:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M11.5 1h-9a.5.5 0 0 0-.5.5v11a.5.5 0 0 0 1 0V8h8.5a.5.5 0 0 0 .35-.85L9.21 4.5l2.64-2.65A.5.5 0 0 0 11.5 1ZM8.15 4.15 10.29 2H3v5h7.3L8.14 4.85a.5.5 0 0 1 0-.7Z"})),cloudhollow:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M10 7V6a3 3 0 0 0-5.9-.74l-.18.68-.7.07A2.5 2.5 0 0 0 3.5 11h3.19l.07-.01h.08L7 11h4a2 2 0 1 0 0-4h-1ZM3.12 5.02A3.5 3.5 0 0 0 3.5 12H11a3 3 0 1 0 0-6 4 4 0 0 0-7.88-.98Z"})),cloud:a.createElement("path",{d:"M7 2a4 4 0 0 1 4 4 3 3 0 1 1 0 6H3.5a3.5 3.5 0 0 1-.38-6.98A4 4 0 0 1 7 2Z"}),edit:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"m13.85 2.15-2-2a.5.5 0 0 0-.7 0l-1.5 1.5-9 9a.5.5 0 0 0-.14.26L0 13.39a.5.5 0 0 0 .14.46.5.5 0 0 0 .46.14l2.48-.5a.5.5 0 0 0 .27-.14l9-9 1.5-1.5a.5.5 0 0 0 0-.7ZM12 3.29l.8-.79-1.3-1.3-.8.8L12 3.3Zm-2-.58L1.7 11 3 12.3 11.3 4 10 2.7ZM1.14 12.86l.17-.85.68.68-.85.17Z"})),cog:a.createElement(a.Fragment,null,a.createElement("path",{d:"M5.59 5.59a2 2 0 0 1 3.27 2.14.5.5 0 1 0 .93.37 3 3 0 1 0-1.7 1.7.5.5 0 1 0-.36-.94A2 2 0 0 1 5.6 5.6Z",fill:"#333"}),a.createElement("path",{fillRule:"evenodd",d:"M.94 6.53c.13.12.19.3.18.46 0 .17-.05.34-.18.47L0 8.39c.19.94.55 1.81 1.07 2.58h1.32c.18 0 .34.07.46.2.12.11.2.27.2.45v1.32c.76.51 1.62.88 2.55 1.06l.94-.94a.63.63 0 0 1 .45-.19h.03c.16 0 .33.07.45.19l.94.94a7.1 7.1 0 0 0 2.55-1.06v-1.33c0-.18.07-.35.2-.46.11-.12.27-.2.45-.2h1.33A7.1 7.1 0 0 0 14 8.4l-.95-.94a.64.64 0 0 1-.18-.47c0-.17.06-.34.18-.46l.95-.95a7.1 7.1 0 0 0-1.05-2.52h-1.34a.63.63 0 0 1-.46-.2.64.64 0 0 1-.2-.46V1.06A7.1 7.1 0 0 0 8.42 0l-.94.94a.63.63 0 0 1-.45.19H7a.63.63 0 0 1-.45-.19L5.6 0a7.1 7.1 0 0 0-2.56 1.06v1.33c0 .18-.07.34-.2.46a.63.63 0 0 1-.45.2H1.06A7.1 7.1 0 0 0 0 5.59l.94.94Zm.7 1.63c.33-.32.49-.75.48-1.17 0-.42-.15-.85-.47-1.17l-.54-.54c.12-.43.3-.85.51-1.23h.77c.46 0 .87-.2 1.17-.5.3-.29.48-.7.48-1.16v-.77c.4-.22.81-.39 1.25-.52l.54.55c.33.32.75.48 1.16.48h.03c.42 0 .84-.16 1.16-.48l.54-.54c.44.12.85.3 1.24.5v.8c0 .45.19.87.49 1.16.3.3.7.5 1.16.5h.78c.2.37.38.78.5 1.2l-.54.55c-.33.32-.49.75-.48 1.17 0 .42.15.85.48 1.17l.55.55c-.13.44-.3.85-.52 1.24h-.77c-.45 0-.87.2-1.16.5-.3.29-.5.7-.5 1.16v.77c-.38.21-.8.39-1.23.51l-.54-.54a1.64 1.64 0 0 0-1.16-.48H7c-.41 0-.83.16-1.16.48l-.54.55a6.1 6.1 0 0 1-1.25-.52v-.76c0-.45-.19-.87-.48-1.16-.3-.3-.71-.5-1.17-.5h-.76a6.1 6.1 0 0 1-.53-1.25l.55-.55Z"})),nut:a.createElement(a.Fragment,null,a.createElement("path",{d:"M5.59 8.41a2 2 0 1 1 3.27-.68.5.5 0 1 0 .93.37 3 3 0 1 0-1.7 1.7.5.5 0 0 0-.36-.94 2 2 0 0 1-2.14-.45Z"}),a.createElement("path",{fillRule:"evenodd",d:"M6.5.29a1 1 0 0 1 1 0l5.06 2.92c.31.18.5.51.5.87v5.84a1 1 0 0 1-.5.87L7.5 13.7a1 1 0 0 1-1 0L1.44 10.8a1 1 0 0 1-.5-.87V4.08a1 1 0 0 1 .5-.87L6.5.3Zm.5.86 5.06 2.93v5.84L7 12.85 1.94 9.92V4.08L7 1.15Z"})),wrench:a.createElement(a.Fragment,null,a.createElement("path",{d:"M10.5 1c.44 0 .56.52.25.83l-.8.81c-.2.2-.2.52 0 .72l.69.7c.2.2.52.2.72 0l.8-.81c.32-.31.84-.2.84.25a2.5 2.5 0 0 1-3.41 2.33L2.7 12.7a1 1 0 0 1-1.42-1.42l6.88-6.88A2.5 2.5 0 0 1 10.5 1ZM2 12.5a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1Z"})),ellipsis:a.createElement(a.Fragment,null,a.createElement("path",{d:"M4 7a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0ZM13 7a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0ZM7 8.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"})),check:a.createElement(a.Fragment,null,a.createElement("path",{d:"M13.85 3.35a.5.5 0 0 0-.7-.7L5 10.79.85 6.65a.5.5 0 1 0-.7.7l4.5 4.5c.2.2.5.2.7 0l8.5-8.5Z"})),form:a.createElement(a.Fragment,null,a.createElement("path",{d:"M2 1a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V6.4a.5.5 0 0 0-1 0V12H2V2h7.5a.5.5 0 0 0 0-1H2Z"}),a.createElement("path",{d:"m6.35 9.86 7.5-7.5a.5.5 0 0 0-.7-.71L6 8.8 3.85 6.65a.5.5 0 1 0-.7.7l2.5 2.5c.2.2.5.2.7 0Z"})),batchdeny:a.createElement(a.Fragment,null,a.createElement("path",{d:"M11.5 2a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2Zm-2.646.646a.5.5 0 0 1 0 .708L5.207 7l3.647 3.646a.5.5 0 0 1-.708.708L4.5 7.707.854 11.354a.5.5 0 0 1-.708-.708L3.793 7 .146 3.354a.5.5 0 1 1 .708-.708L4.5 6.293l3.646-3.647a.5.5 0 0 1 .708 0ZM11 7a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2A.5.5 0 0 1 11 7Zm.5 4a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2Z"})),batchaccept:a.createElement(a.Fragment,null,a.createElement("path",{d:"M11.5 2a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2Zm-2.2.6a.5.5 0 0 1 .1.7l-5.995 7.993a.505.505 0 0 1-.37.206.5.5 0 0 1-.395-.152L.146 8.854a.5.5 0 1 1 .708-.708l2.092 2.093L8.6 2.7a.5.5 0 0 1 .7-.1ZM11 7a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 0 1h-2A.5.5 0 0 1 11 7Zm.5 4a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1h-2Z"})),controls:a.createElement(a.Fragment,null,a.createElement("path",{d:"M10.5 1c.28 0 .5.22.5.5V2h1.5a.5.5 0 0 1 0 1H11v.5a.5.5 0 0 1-1 0V3H1.5a.5.5 0 0 1 0-1H10v-.5c0-.28.22-.5.5-.5ZM1.5 11a.5.5 0 0 0 0 1H10v.5a.5.5 0 0 0 1 0V12h1.5a.5.5 0 0 0 0-1H11v-.5a.5.5 0 0 0-1 0v.5H1.5ZM1 7c0-.28.22-.5.5-.5H3V6a.5.5 0 0 1 1 0v.5h8.5a.5.5 0 0 1 0 1H4V8a.5.5 0 0 1-1 0v-.5H1.5A.5.5 0 0 1 1 7Z"})),plus:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7.5.5a.5.5 0 0 0-1 0v6h-6a.5.5 0 0 0 0 1h6v6a.5.5 0 0 0 1 0v-6h6a.5.5 0 0 0 0-1h-6v-6Z"})),closeAlt:a.createElement(a.Fragment,null,a.createElement("path",{d:"M2.03.97A.75.75 0 0 0 .97 2.03L5.94 7 .97 11.97a.75.75 0 1 0 1.06 1.06L7 8.06l4.97 4.97a.75.75 0 1 0 1.06-1.06L8.06 7l4.97-4.97A.75.75 0 0 0 11.97.97L7 5.94 2.03.97Z"})),cross:a.createElement(a.Fragment,null,a.createElement("path",{d:"M1.85 1.15a.5.5 0 1 0-.7.7L6.29 7l-5.14 5.15a.5.5 0 0 0 .7.7L7 7.71l5.15 5.14a.5.5 0 0 0 .7-.7L7.71 7l5.14-5.15a.5.5 0 0 0-.7-.7L7 6.29 1.85 1.15Z"})),trash:a.createElement(a.Fragment,null,a.createElement("path",{d:"M5.5 4.5c.28 0 .5.22.5.5v5a.5.5 0 0 1-1 0V5c0-.28.22-.5.5-.5ZM9 5a.5.5 0 0 0-1 0v5a.5.5 0 0 0 1 0V5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M4.5.5c0-.28.22-.5.5-.5h4c.28 0 .5.22.5.5V2h3a.5.5 0 0 1 0 1H12v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V3h-.5a.5.5 0 0 1 0-1h3V.5ZM3 3v8a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V3H3Zm2.5-2h3v1h-3V1Z"})),pinalt:a.createElement(a.Fragment,null,a.createElement("path",{d:"M13.44 4.44 9.56.56a1.5 1.5 0 0 0-2.12 0L7 1a1.41 1.41 0 0 0 0 2L5 5H3.66A4 4 0 0 0 .83 6.17l-.48.48a.5.5 0 0 0 0 .7l2.8 2.8-3 3a.5.5 0 0 0 .7.7l3-3 2.8 2.8c.2.2.5.2.7 0l.48-.48A4 4 0 0 0 9 10.34V9l2-2c.55.55 1.45.55 2 0l.44-.44a1.5 1.5 0 0 0 0-2.12ZM11 5.59l-3 3v1.75a3 3 0 0 1-.88 2.12L7 12.6 1.41 7l.13-.12A3 3 0 0 1 3.66 6H5.4l3-3-.7-.7a.41.41 0 0 1 0-.6l.44-.43c.2-.2.5-.2.7 0l3.88 3.88c.2.2.2.5 0 .7l-.44.44a.41.41 0 0 1-.58 0L11 5.6Z"})),unpin:a.createElement(a.Fragment,null,a.createElement("path",{d:"M13.44 4.44 9.56.56a1.5 1.5 0 0 0-2.12 0L7 1a1.41 1.41 0 0 0 0 2L5.7 4.3l.71.7 2-2-.7-.7a.41.41 0 0 1 0-.6l.44-.43c.2-.2.5-.2.7 0l3.88 3.88c.2.2.2.5 0 .7l-.44.44a.41.41 0 0 1-.58 0L11 5.6l-2 2 .7.7L11 7c.55.55 1.45.55 2 0l.44-.44a1.5 1.5 0 0 0 0-2.12ZM.83 6.17A4 4 0 0 1 3.59 5l1 1h-.93a3 3 0 0 0-2.12.88L1.4 7 7 12.59l.12-.13A3 3 0 0 0 8 10.34v-.93l1 1a4 4 0 0 1-1.17 2.76l-.48.48a.5.5 0 0 1-.7 0l-2.8-2.8-3 3a.5.5 0 0 1-.7-.7l3-3-2.8-2.8a.5.5 0 0 1 0-.7l.48-.48Zm1.02-5.02a.5.5 0 1 0-.7.7l11 11a.5.5 0 0 0 .7-.7l-11-11Z"})),add:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7 3c.28 0 .5.22.5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3c0-.28.22-.5.5-.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14Zm0-1A6 6 0 1 0 7 1a6 6 0 0 0 0 12Z"})),subtract:a.createElement(a.Fragment,null,a.createElement("path",{d:"M3.5 6.5a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1h-7Z"}),a.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z"})),close:a.createElement(a.Fragment,null,a.createElement("path",{d:"M9.85 4.15c.2.2.2.5 0 .7L7.71 7l2.14 2.15a.5.5 0 0 1-.7.7L7 7.71 4.85 9.85a.5.5 0 0 1-.7-.7L6.29 7 4.15 4.85a.5.5 0 1 1 .7-.7L7 6.29l2.15-2.14c.2-.2.5-.2.7 0Z"}),a.createElement("path",{fillRule:"evenodd",d:"M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14Zm0-1A6 6 0 1 0 7 1a6 6 0 0 0 0 12Z"})),delete:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0a6 6 0 0 1-9.87 4.58l8.45-8.45A5.98 5.98 0 0 1 13 7ZM2.42 10.87l8.45-8.45a6 6 0 0 0-8.46 8.46Z"})),passed:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14Zm3.85-9.35c.2.2.2.5 0 .7l-4.5 4.5a.5.5 0 0 1-.7 0l-2.5-2.5a.5.5 0 1 1 .7-.7L6 8.79l4.15-4.14c.2-.2.5-.2.7 0Z"})),changed:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14ZM3.5 6.5a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1h-7Z"})),failed:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7 14A7 7 0 1 0 7 0a7 7 0 0 0 0 14Zm2.85-9.85c.2.2.2.5 0 .7L7.71 7l2.14 2.15a.5.5 0 0 1-.7.7L7 7.71 4.85 9.85a.5.5 0 0 1-.7-.7L6.29 7 4.15 4.85a.5.5 0 1 1 .7-.7L7 6.29l2.15-2.14c.2-.2.5-.2.7 0Z"})),clear:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M5 2h7a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H5a2 2 0 0 1-1.41-.59l-3-3a2 2 0 0 1 0-2.82l3-3A2 2 0 0 1 5 2Zm1.15 3.15c.2-.2.5-.2.7 0L8 6.29l1.15-1.14a.5.5 0 1 1 .7.7L8.71 7l1.14 1.15a.5.5 0 0 1-.7.7L8 7.71 6.85 8.85a.5.5 0 1 1-.7-.7L7.29 7 6.15 5.85a.5.5 0 0 1 0-.7Z"})),comment:a.createElement(a.Fragment,null,a.createElement("path",{d:"M3.5 5a.5.5 0 1 0 0 1h7a.5.5 0 0 0 0-1h-7ZM3 8.5c0-.27.22-.5.5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M12.5 12H5.7l-1.85 1.86a.5.5 0 0 1-.35.14.5.5 0 0 1-.5-.5V12H1.5a.5.5 0 0 1-.5-.5v-9c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v9a.5.5 0 0 1-.5.5ZM2 11V3h10v8H2Z"})),commentadd:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7.5 5a.5.5 0 1 0-1 0v1.5H5a.5.5 0 1 0 0 1h1.5V9a.5.5 0 0 0 1 0V7.5H9a.5.5 0 0 0 0-1H7.5V5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M3.7 13.97a.5.5 0 0 1-.7-.46V12H1.5a.5.5 0 0 1-.5-.5v-9c0-.28.22-.5.5-.5h11c.28 0 .5.22.5.5v9a.5.5 0 0 1-.5.5H5.7l-1.85 1.85a.5.5 0 0 1-.16.1ZM2 3v8h10V3H2Z"})),requestchange:a.createElement(a.Fragment,null,a.createElement("path",{d:"M9.85 6.65c.2.2.2.51 0 .7l-2 2a.5.5 0 1 1-.7-.7L8.3 7.5H4.5a.5.5 0 0 1 0-1h3.79L7.15 5.36a.5.5 0 1 1 .7-.71l2 2Z"}),a.createElement("path",{fillRule:"evenodd",d:"M3.7 13.97a.5.5 0 0 1-.7-.46V12H1.5a.5.5 0 0 1-.5-.5v-9c0-.28.22-.5.5-.5h11c.28 0 .5.22.5.5v9a.5.5 0 0 1-.5.5H5.7l-1.85 1.85a.5.5 0 0 1-.16.1ZM2 3v8h10V3H2Z"})),comments:a.createElement(a.Fragment,null,a.createElement("path",{d:"M8.5 7a.5.5 0 0 0 0-1h-5a.5.5 0 1 0 0 1h5ZM9 8.5a.5.5 0 0 1-.5.5h-5a.5.5 0 0 1 0-1h5c.28 0 .5.23.5.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M12 11.5V10h1.5a.5.5 0 0 0 .5-.5v-8a.5.5 0 0 0-.5-.5h-11a.5.5 0 0 0-.5.5V3H.5a.5.5 0 0 0-.5.5v8c0 .28.22.5.5.5H2v1.5a.5.5 0 0 0 .5.5.5.5 0 0 0 .35-.14L4.71 12h6.79a.5.5 0 0 0 .5-.5ZM3 3V2h10v7h-1V3.5a.5.5 0 0 0-.5-.5H3Zm-2 8V4h10v7H1Z"})),lock:a.createElement(a.Fragment,null,a.createElement("path",{d:"M8 8a1 1 0 0 1-.5.87v1.63a.5.5 0 0 1-1 0V8.87A1 1 0 1 1 8 8Z"}),a.createElement("path",{fillRule:"evenodd",d:"M3 4a4 4 0 1 1 8 0v1h1.5c.28 0 .5.23.5.5v8a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-8c0-.27.22-.5.5-.5H3V4Zm7 1V4a3 3 0 1 0-6 0v1h6Zm2 1H2v7h10V6Z"})),unlock:a.createElement(a.Fragment,null,a.createElement("path",{d:"M6.5 8.87a1 1 0 1 1 1 0v1.63a.5.5 0 0 1-1 0V8.87Z"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 1a3 3 0 0 0-3 3v1h8.5c.28 0 .5.23.5.5v8a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-8c0-.27.22-.5.5-.5H3V4a4 4 0 0 1 7.76-1.38.5.5 0 0 1-.94.34A3 3 0 0 0 7 1ZM2 6h10v7H2V6Z"})),key:a.createElement(a.Fragment,null,a.createElement("path",{d:"M11 4a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"}),a.createElement("path",{fillRule:"evenodd",d:"M7.5 8.53v.97a.5.5 0 0 1-.5.5H5.5v1.5a.5.5 0 0 1-.5.5H3.5v1.5a.5.5 0 0 1-.5.5H.5a.5.5 0 0 1-.5-.5v-2a.5.5 0 0 1 .15-.36l5.12-5.11a4.5 4.5 0 1 1 2.23 2.5ZM6 4.5a3.5 3.5 0 1 1 1.5 2.87c-.29-.2-1-.37-1 .48V9H5a.5.5 0 0 0-.5.5V11H3a.5.5 0 0 0-.5.5V13H1v-1.3l5.2-5.19c.15-.16.18-.4.1-.6A3.47 3.47 0 0 1 6 4.5Z"})),outbox:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7.35.15a.5.5 0 0 0-.7 0l-2 2a.5.5 0 1 0 .7.7L6.5 1.72v6.8a.5.5 0 0 0 1 0V1.7l1.15 1.15a.5.5 0 1 0 .7-.71l-2-2Z"}),a.createElement("path",{d:"M2 7.5a.5.5 0 1 0-1 0v5c0 .28.22.5.5.5h11a.5.5 0 0 0 .5-.5v-5a.5.5 0 0 0-1 0V12H2V7.5Z"})),credit:a.createElement(a.Fragment,null,a.createElement("path",{d:"M2.5 8a.5.5 0 1 0 0 1h3a.5.5 0 0 0 0-1h-3Z"}),a.createElement("path",{fillRule:"evenodd",d:"M0 11.5c0 .28.22.5.5.5h13a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5H.5a.5.5 0 0 0-.5.5v9ZM1 3v1h12V3H1Zm0 8h12V6H1v5Z"})),button:a.createElement(a.Fragment,null,a.createElement("path",{d:"M1 3a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1h3.5a.5.5 0 1 0 0-1H1V4h12v5h-1a.5.5 0 0 0 0 1h1a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1H1Z"}),a.createElement("path",{d:"M6.45 7a.5.5 0 0 1 .3.08l3.48 2.02a.5.5 0 0 1 0 .87l-1.08.62.75 1.3a.75.75 0 0 1-1.3.75l-.75-1.3-1.07.62a.5.5 0 0 1-.67-.13.5.5 0 0 1-.1-.3L6 7.5a.5.5 0 0 1 .45-.5Z"})),type:a.createElement(a.Fragment,null,a.createElement("path",{d:"M4 1.5c0-.27.22-.5.5-.5h5a.5.5 0 1 1 0 1h-2v10h2a.5.5 0 0 1 0 1h-5a.5.5 0 0 1 0-1h2V2h-2a.5.5 0 0 1-.5-.5Z"}),a.createElement("path",{d:"M0 4.5c0-.27.22-.5.5-.5h4a.5.5 0 1 1 0 1H1v4h3.5a.5.5 0 1 1 0 1h-4a.5.5 0 0 1-.5-.5v-5ZM9.5 4a.5.5 0 1 0 0 1H13v4H9.5a.5.5 0 1 0 0 1h4a.5.5 0 0 0 .5-.5v-5a.5.5 0 0 0-.5-.5h-4Z"})),pointerdefault:a.createElement(a.Fragment,null,a.createElement("path",{d:"M5.94 12.46c.11 0 .2-.06.25-.15l1.58-3.16 2.54 2.54c.04.05.1.07.19.07a.3.3 0 0 0 .2-.07l.8-.8a.27.27 0 0 0 0-.38L8.9 7.9l3.4-1.7c.06-.03.1-.07.12-.11a.22.22 0 0 0 .04-.14.33.33 0 0 0-.06-.16.17.17 0 0 0-.09-.07h-.02L1.91 1.55a.27.27 0 0 0-.35.36l4.15 10.37c.04.09.12.16.23.17Zm-.03 1h-.02a1.28 1.28 0 0 1-1.1-.8L.62 2.29A1.27 1.27 0 0 1 2.3.63l10.35 4.15c.52.18.79.65.81 1.11.04.53-.27.98-.7 1.2l-2.17 1.08L12.2 9.8c.5.5.5 1.3 0 1.8l-.8.8v.01c-.5.46-1.3.48-1.8-.01l-1.56-1.56-.95 1.92c-.23.45-.68.7-1.15.7h-.03Z"})),pointerhand:a.createElement(a.Fragment,null,a.createElement("path",{d:"M11.87 6v-.02c-.03-.27-.23-.48-.47-.5a.5.5 0 0 0-.53.5v1.41c0 .25-.22.47-.47.47a.48.48 0 0 1-.47-.47V5.17a.6.6 0 0 0 0-.05c-.02-.27-.23-.5-.47-.5a.5.5 0 0 0-.52.5v1.65l-.01.1a.49.49 0 0 1-.46.37.48.48 0 0 1-.47-.47V4.62a.6.6 0 0 0 0-.05c-.03-.27-.23-.48-.47-.5a.5.5 0 0 0-.53.5v2.2c0 .25-.22.47-.47.47a.49.49 0 0 1-.47-.47V1.75c-.02-.27-.22-.5-.47-.5a.5.5 0 0 0-.52.5v6.78c0 .25-.22.47-.47.47a.48.48 0 0 1-.47-.47v-.26a.78.78 0 0 0-.06-.31.65.65 0 0 0-.16-.22l-.2-.19A6.37 6.37 0 0 0 3.06 7h-.02c-.43-.34-.62-.25-.69-.2-.26.14-.29.5-.13.74l1.73 2.6v.01h-.01l-.04.02.05-.02s1.21 2.6 3.57 2.6c3.54 0 4.2-1.9 4.31-4.42.04-.6.04-1.19.03-1.78V6Zm.97 2.38c-.06 1.29-.26 2.67-1.08 3.72-.88 1.12-2.29 1.65-4.23 1.65a4.64 4.64 0 0 1-3.4-1.62 6.96 6.96 0 0 1-1.05-1.5v-.02L1.4 8.1A1.6 1.6 0 0 1 1.15 7c.05-.38.26-.8.69-1.04.2-.13.48-.23.85-.19.36.05.68.22.98.45.14.1.27.22.4.33v-4.8A1.5 1.5 0 0 1 5.63.25c.93.04 1.43.86 1.43 1.55v1.33c.17-.05.35-.07.53-.06h.02c.5.04.91.33 1.15.71a1.5 1.5 0 0 1 .74-.16c.66.03 1.12.46 1.32.97a1.5 1.5 0 0 1 .64-.1h.02c.85.06 1.39.8 1.39 1.55v.48c0 .6 0 1.24-.03 1.86Z"})),browser:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M.5 13a.5.5 0 0 1-.5-.5v-11c0-.27.22-.5.5-.5h13c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5H.5Zm.5-1V4h12v8H1Zm1-9.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Zm2 0a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Zm2 0a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z"})),tablet:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M3.5 0C2.67 0 2 .68 2 1.5v11c0 .83.67 1.5 1.5 1.5h7c.83 0 1.5-.67 1.5-1.5v-11c0-.82-.67-1.5-1.5-1.5h-7Zm0 1h7c.28 0 .5.23.5.5V11H3V1.5c0-.27.22-.5.5-.5ZM6 12a.5.5 0 0 0 0 1h2a.5.5 0 0 0 0-1H6Z"})),mobile:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M3 1.5C3 .68 3.67 0 4.5 0h5c.83 0 1.5.68 1.5 1.5v11c0 .83-.67 1.5-1.5 1.5h-5A1.5 1.5 0 0 1 3 12.5v-11ZM4 12V2h6v10H4Z"})),watch:a.createElement(a.Fragment,null,a.createElement("path",{key:"watch",fillRule:"evenodd",d:"M4 .5c0-.27.22-.5.5-.5h5a.5.5 0 0 1 0 1h-5A.5.5 0 0 1 4 .5ZM9.5 3h-5a.5.5 0 0 0-.5.5v7c0 .28.22.5.5.5h5a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.5-.5Zm-5-1C3.67 2 3 2.68 3 3.5v7c0 .83.67 1.5 1.5 1.5h5c.83 0 1.5-.67 1.5-1.5v-7c0-.82-.67-1.5-1.5-1.5h-5ZM7 4c.28 0 .5.23.5.5v2h1a.5.5 0 1 1 0 1H7a.5.5 0 0 1-.5-.5V4.5c0-.27.22-.5.5-.5Zm-2.5 9a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5Z"})),sidebar:a.createElement(a.Fragment,null,a.createElement("path",{d:"M2.5 4.5c0-.27.22-.5.5-.5h1a.5.5 0 1 1 0 1H3a.5.5 0 0 1-.5-.5ZM3 6a.5.5 0 1 0 0 1h1a.5.5 0 0 0 0-1H3Zm-.5 2.5c0-.27.22-.5.5-.5h1a.5.5 0 1 1 0 1H3a.5.5 0 0 1-.5-.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M1.5 13a.5.5 0 0 1-.5-.5v-11c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11Zm.5-1V2h3v10H2ZM6 2h6v10H6V2Z"})),sidebaralt:a.createElement(a.Fragment,null,a.createElement("path",{d:"M9.5 4.5c0-.27.22-.5.5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5ZM10 6a.5.5 0 1 0 0 1h1a.5.5 0 0 0 0-1h-1Zm-.5 2.5c0-.27.22-.5.5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M1.5 13a.5.5 0 0 1-.5-.5v-11c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11Zm.5-1V2h6v10H2ZM9 2h3v10H9V2Z"})),sidebaralttoggle:a.createElement(a.Fragment,null,a.createElement("path",{d:"M11.5 4.5A.5.5 0 0 0 11 4h-1a.5.5 0 1 0 0 1h1a.5.5 0 0 0 .5-.5ZM11 6a.5.5 0 0 1 0 1h-1a.5.5 0 0 1 0-1h1Zm.5 2.5A.5.5 0 0 0 11 8h-1a.5.5 0 1 0 0 1h1a.5.5 0 0 0 .5-.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M1.5 13a.5.5 0 0 1-.5-.5v-11c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11ZM9 12h3V2H9v10Zm-1 0H2V2h6v4.5H5.2l.66-.65a.5.5 0 1 0-.71-.7l-1.5 1.5a.5.5 0 0 0 0 .7l1.5 1.5a.5.5 0 1 0 .7-.7l-.64-.65H8V12Z"})),sidebartoggle:a.createElement(a.Fragment,null,a.createElement("path",{d:"M2.5 4.5c0-.27.22-.5.5-.5h1a.5.5 0 1 1 0 1H3a.5.5 0 0 1-.5-.5ZM3 6a.5.5 0 1 0 0 1h1a.5.5 0 0 0 0-1H3Zm-.5 2.5c0-.27.22-.5.5-.5h1a.5.5 0 1 1 0 1H3a.5.5 0 0 1-.5-.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M1.5 13a.5.5 0 0 1-.5-.5v-11c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11Zm.5-1V2h3v10H2Zm4 0V7.5h2.8l-.65.65a.5.5 0 1 0 .7.7l1.5-1.5a.5.5 0 0 0 0-.7l-1.5-1.5a.5.5 0 1 0-.7.7l.64.65H6V2h6v10H6Z"})),bottombar:a.createElement(a.Fragment,null,a.createElement("path",{d:"M3 10.5c0-.27.22-.5.5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5Zm3.5-.5a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1h-1Zm2.5.5c0-.27.22-.5.5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M1 1.5c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11ZM2 8V2h10v6H2Zm10 1v3H2V9h10Z"})),bottombartoggle:a.createElement(a.Fragment,null,a.createElement("path",{d:"M3.5 10a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1h-1Zm2.5.5c0-.27.22-.5.5-.5h1a.5.5 0 0 1 0 1h-1a.5.5 0 0 1-.5-.5Zm3.5-.5a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1h-1Z"}),a.createElement("path",{fillRule:"evenodd",d:"M1 12.5v-11c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5Zm1-.5V9h10v3H2Zm4.5-4H2V2h10v6H7.5V5.21l.65.65a.5.5 0 1 0 .7-.71l-1.5-1.5a.5.5 0 0 0-.7 0l-1.5 1.5a.5.5 0 1 0 .7.7l.65-.64v2.8Z"})),cpu:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M5 5.5c0-.27.22-.5.5-.5h3c.28 0 .5.23.5.5v3a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-3ZM6 8V6h2v2H6Z"}),a.createElement("path",{fillRule:"evenodd",d:"M5.5 0c.28 0 .5.23.5.5V2h2V.5a.5.5 0 0 1 1 0V2h2.5c.28 0 .5.23.5.5V5h1.5a.5.5 0 0 1 0 1H12v2h1.5a.5.5 0 0 1 0 1H12v2.5a.5.5 0 0 1-.5.5H9v1.5a.5.5 0 0 1-1 0V12H6v1.5a.5.5 0 0 1-1 0V12H2.5a.5.5 0 0 1-.5-.5V9H.5a.5.5 0 0 1 0-1H2V6H.5a.5.5 0 0 1 0-1H2V2.5c0-.27.22-.5.5-.5H5V.5c0-.27.22-.5.5-.5ZM11 3H3v8h8V3Z"})),database:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M12 3c0-1.1-2.24-2-5-2s-5 .9-5 2v8c0 .43.26.75.54.98.3.23.68.41 1.12.55.88.3 2.06.47 3.34.47 1.28 0 2.46-.17 3.34-.46.44-.15.83-.33 1.12-.56.28-.23.54-.55.54-.98V3Zm-1.03 0a2.45 2.45 0 0 0-.8-.49A8.88 8.88 0 0 0 7 2c-1.29 0-2.4.21-3.16.51a2.45 2.45 0 0 0-.81.49l.05.05c.13.13.37.28.76.44C4.6 3.79 5.7 4 7 4s2.4-.21 3.16-.51a2.45 2.45 0 0 0 .81-.49ZM11 5.75V4.2A8.9 8.9 0 0 1 7 5a8.98 8.98 0 0 1-4-.8v1.55l.02.04c.02.04.06.09.14.15.17.13.44.27.82.4A10 10 0 0 0 7 6.75a10 10 0 0 0 3.02-.41c.38-.13.65-.27.82-.4a.62.62 0 0 0 .14-.15.15.15 0 0 0 .02-.03v-.01ZM3 7.01c.2.1.42.2.66.28.88.29 2.06.46 3.34.46 1.28 0 2.46-.17 3.34-.46.24-.08.46-.17.66-.28V8.5l-.02.04a.62.62 0 0 1-.14.15c-.17.13-.44.27-.82.4A10 10 0 0 1 7 9.5a10 10 0 0 1-3.02-.41 2.76 2.76 0 0 1-.82-.4.62.62 0 0 1-.14-.15.15.15 0 0 1-.02-.03V7Zm0 2.75V11l.02.04c.02.04.06.09.14.15.17.13.44.27.82.4A10 10 0 0 0 7 12a10 10 0 0 0 3.02-.41c.38-.13.65-.27.82-.4a.62.62 0 0 0 .14-.15.15.15 0 0 0 .02-.03V9.76c-.2.1-.42.2-.66.28-.88.29-2.06.46-3.34.46-1.28 0-2.46-.17-3.34-.46A4.77 4.77 0 0 1 3 9.76Z"})),memory:a.createElement(a.Fragment,null,a.createElement("path",{d:"M5 3a.5.5 0 0 0-1 0v3a.5.5 0 0 0 1 0V3Zm2-.5c.28 0 .5.22.5.5v3a.5.5 0 0 1-1 0V3c0-.28.22-.5.5-.5Zm3 2a.5.5 0 1 0-1 0V6a.5.5 0 0 0 1 0V4.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M12 3.54a.5.5 0 0 0-.15-.39l-3-3a.5.5 0 0 0-.38-.14H2.5a.5.5 0 0 0-.5.5v13c0 .27.22.5.5.5h9a.5.5 0 0 0 .5-.5V3.53ZM3 1h5.3L11 3.71v5.3H3V1Zm0 9v3h8v-3H3Z"})),structure:a.createElement(a.Fragment,null,a.createElement("path",{d:"M8.16 3.45a1.5 1.5 0 1 0-2.33 0l-4.02 6.58A1.5 1.5 0 1 0 2.91 12h8.18a1.5 1.5 0 1 0 1.1-1.97L8.16 3.45Zm-1.47.52a1.5 1.5 0 0 0 .62 0l4.03 6.58c-.11.14-.2.29-.25.45H2.9a1.5 1.5 0 0 0-.25-.45L6.7 3.97Z"})),box:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"m7.21.05 6.49 2.99a.5.5 0 0 1 .3.47v6.98a.5.5 0 0 1-.3.47l-6.47 2.98a.5.5 0 0 1-.46 0L.3 10.96a.5.5 0 0 1-.3-.47V3.5a.5.5 0 0 1 .3-.47L6.79.05a.5.5 0 0 1 .43 0ZM1 4.28v5.9l5.5 2.54v-5.9L1 4.28Zm6.5 8.44 5.5-2.54v-5.9L7.5 6.82v5.9Zm4.8-9.22L7 5.95 1.7 3.5 7 1.05l5.3 2.45Z"})),power:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7.5.5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0v-6Z"}),a.createElement("path",{d:"M4.27 2.8a.5.5 0 0 0-.54-.83 6 6 0 1 0 6.54 0 .5.5 0 0 0-.54.84 5 5 0 1 1-5.46 0Z"})),photo:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M6.25 4.25a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0Zm-.5 0a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"}),a.createElement("path",{fillRule:"evenodd",d:"M13 1.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5ZM2 9.3V2h10v5.3L9.85 5.15a.5.5 0 0 0-.7 0L6.5 7.8 5.35 6.65a.5.5 0 0 0-.7 0L2 9.3Zm7.5-3.1L12 8.7V12H2v-1.3l3-3 3.15 3.15a.5.5 0 0 0 .7-.71L7.21 8.5 9.5 6.21Z"})),component:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M3.5 1A2.5 2.5 0 0 0 1 3.5v7A2.5 2.5 0 0 0 3.5 13h7a2.5 2.5 0 0 0 2.5-2.5v-7A2.5 2.5 0 0 0 10.5 1h-7ZM12 6.5H7.5V2h3c.83 0 1.5.68 1.5 1.5v3Zm0 1v3c0 .83-.67 1.5-1.5 1.5h-3V7.5H12ZM6.5 12V7.5H2v3c0 .83.67 1.5 1.5 1.5h3ZM2 6.5h4.5V2h-3C2.67 2 2 2.68 2 3.5v3Z"})),grid:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M1 1.5c0-.27.22-.5.5-.5H6c.28 0 .5.23.5.5V6a.5.5 0 0 1-.5.5H1.5A.5.5 0 0 1 1 6V1.5Zm1 4V2h3.5v3.5H2Zm5.5-4c0-.27.22-.5.5-.5h4.5c.28 0 .5.23.5.5V6a.5.5 0 0 1-.5.5H8a.5.5 0 0 1-.5-.5V1.5Zm1 4V2H12v3.5H8.5Zm-7 2A.5.5 0 0 0 1 8v4.5c0 .28.22.5.5.5H6a.5.5 0 0 0 .5-.5V8a.5.5 0 0 0-.5-.5H1.5Zm.5 1V12h3.5V8.5H2ZM7.5 8c0-.27.22-.5.5-.5h4.5c.28 0 .5.23.5.5v4.5a.5.5 0 0 1-.5.5H8a.5.5 0 0 1-.5-.5V8Zm1 4V8.5H12V12H8.5Z"})),outline:a.createElement(a.Fragment,null,a.createElement("path",{d:"M2 2v2H1V1.5c0-.27.22-.5.5-.5H4v1H2ZM1 9V5h1v4H1Zm0 1v2.5c0 .28.22.5.5.5H4v-1H2v-2H1Zm9 3h2.5a.5.5 0 0 0 .5-.5V10h-1v2h-2v1Zm2-9h1V1.5a.5.5 0 0 0-.5-.5H10v1h2v2Zm-3 8v1H5v-1h4ZM9 1v1H5V1h4Zm4 8h-1V5h1v4ZM7 8a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"})),photodrag:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M8.25 3.25a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0Zm-.5 0a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"}),a.createElement("path",{fillRule:"evenodd",d:"M14 7V.5a.5.5 0 0 0-.5-.5h-10a.5.5 0 0 0-.5.5V3H.5a.5.5 0 0 0-.5.5V6h1V4h2v6.5c0 .28.22.5.5.5H10v2H8v1h2.5a.5.5 0 0 0 .5-.5V11h2.5a.5.5 0 0 0 .5-.5V7ZM4 1v5.8l1.65-1.65c.2-.2.5-.2.7 0L7.5 6.3l2.65-2.65c.2-.2.5-.2.7 0L13 5.8V1H4Zm9 6.21-2.5-2.5-2.3 2.3 1.15 1.14a.5.5 0 1 1-.7.7L6 6.22l-2 2v1.8h9V7.2Z"}),a.createElement("path",{d:"M0 10V7h1v3H0Zm0 3.5V11h1v2h2v1H.5a.5.5 0 0 1-.5-.5Zm7 .5H4v-1h3v1Z"})),search:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M9.54 10.2a5.5 5.5 0 1 1 .66-.66c.06.03.11.06.15.1l3 3a.5.5 0 0 1-.7.71l-3-3a.5.5 0 0 1-.1-.14ZM10.5 6a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0Z"})),zoom:a.createElement(a.Fragment,null,a.createElement("path",{d:"M6 3.5c.28 0 .5.22.5.5v1.5H8a.5.5 0 0 1 0 1H6.5V8a.5.5 0 0 1-1 0V6.5H4a.5.5 0 0 1 0-1h1.5V4c0-.28.22-.5.5-.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M9.54 10.2a5.5 5.5 0 1 1 .66-.66c.06.03.11.06.15.1l3 3a.5.5 0 0 1-.7.71l-3-3a.5.5 0 0 1-.1-.14ZM10.5 6a4.5 4.5 0 1 1-9 0 4.5 4.5 0 0 1 9 0Z"})),zoomout:a.createElement(a.Fragment,null,a.createElement("path",{d:"M4 5.5a.5.5 0 0 0 0 1h4a.5.5 0 0 0 0-1H4Z"}),a.createElement("path",{fillRule:"evenodd",d:"M6 11.5c1.35 0 2.59-.49 3.54-1.3.03.06.06.11.1.15l3 3a.5.5 0 0 0 .71-.7l-3-3a.5.5 0 0 0-.14-.1A5.5 5.5 0 1 0 6 11.5Zm0-1a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9Z"})),zoomreset:a.createElement(a.Fragment,null,a.createElement("path",{d:"M1.5 2.84V1.5a.5.5 0 0 0-1 0V4c0 .28.22.5.5.5h2.5a.5.5 0 0 0 0-1H2.26a4.5 4.5 0 1 1-.5 4.02.5.5 0 1 0-.94.33 5.5 5.5 0 0 0 8.72 2.36l.1.14 3 3a.5.5 0 0 0 .71-.7l-3-3a.5.5 0 0 0-.14-.1 5.5 5.5 0 1 0-8.7-6.7Z"})),eye:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7 9.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Z"}),a.createElement("path",{fillRule:"evenodd",d:"m14 7-.2.3c-.13.16-3.06 4.2-6.8 4.2C3.26 11.5.33 7.46.2 7.3L0 7l.2-.3C.34 6.55 3.27 2.5 7 2.5c3.74 0 6.67 4.04 6.8 4.2l.2.3ZM2.9 5.3A13 13 0 0 0 1.24 7 13 13 0 0 0 2.9 8.7c1.14.97 2.58 1.8 4.1 1.8 1.52 0 2.96-.83 4.1-1.8A13 13 0 0 0 12.76 7a13 13 0 0 0-1.66-1.7C9.96 4.33 8.52 3.5 7 3.5c-1.52 0-2.96.83-4.1 1.8Z"})),eyeclose:a.createElement(a.Fragment,null,a.createElement("path",{d:"M1.85 1.15a.5.5 0 1 0-.7.7l11 11a.5.5 0 0 0 .7-.7l-11-11ZM11.1 8.7c-.17.15-.36.3-.55.44l.72.71a13.25 13.25 0 0 0 2.52-2.56L14 7l-.2-.3c-.13-.16-3.06-4.2-6.8-4.2-.89 0-1.73.23-2.5.58l.76.76A4.86 4.86 0 0 1 7 3.5c1.52 0 2.96.83 4.1 1.8A13 13 0 0 1 12.76 7a13 13 0 0 1-1.66 1.7ZM.2 6.7c.08-.09 1.04-1.41 2.53-2.55l.72.71c-.2.14-.38.3-.55.44A13 13 0 0 0 1.24 7 13 13 0 0 0 2.9 8.7c1.14.97 2.58 1.8 4.1 1.8.6 0 1.18-.13 1.74-.34l.77.76c-.78.35-1.62.58-2.51.58C3.26 11.5.33 7.46.2 7.3L0 7l.2-.3Z"}),a.createElement("path",{d:"M4.5 7c0-.32.06-.63.17-.91l3.24 3.24A2.5 2.5 0 0 1 4.5 7Zm4.83.91L6.09 4.67a2.5 2.5 0 0 1 3.24 3.24Z"})),lightning:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M2.52 6.6a.57.57 0 0 0-.17.54c.04.2.19.37.38.41l2.78.73-1.5 5c-.06.24.02.5.22.63a.5.5 0 0 0 .28.09.5.5 0 0 0 .35-.14L11.5 7.4c.14-.13.2-.34.15-.54a.53.53 0 0 0-.38-.4l-2.7-.7L10.79.78c.1-.23.04-.5-.15-.66a.5.5 0 0 0-.65 0L2.52 6.6Zm7.72.63-3.07-.8 1.85-4.14-5.2 4.51 2.94.77-1.27 4.28 4.75-4.62Zm-5.73 6.2.04.02Z"})),lightningoff:a.createElement(a.Fragment,null,a.createElement("path",{d:"M10.14 8.72 11.5 7.4c.14-.13.2-.34.15-.54a.53.53 0 0 0-.38-.4l-2.7-.7L10.79.78c.1-.23.04-.5-.15-.66a.5.5 0 0 0-.65 0L5.46 4.05l.71.7L9.02 2.3 7.38 5.97l.7.7 2.16.56-.8.79.7.7ZM2.52 6.6a.57.57 0 0 0-.17.54c.04.2.19.37.38.41l2.78.73-1.5 5c-.06.24.02.5.22.63a.5.5 0 0 0 .63-.05l3.84-3.74-.7-.7-2.51 2.43 1.13-3.81-.68-.69L3.8 6.8l.85-.73-.71-.7L2.52 6.6Zm-.67-5.45a.5.5 0 1 0-.7.7l11 11a.5.5 0 0 0 .7-.7l-11-11Z"})),contrast:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M3 3H.5a.5.5 0 0 0-.5.5v10c0 .28.22.5.5.5h10a.5.5 0 0 0 .5-.5V11h2.5a.5.5 0 0 0 .5-.5V.5a.5.5 0 0 0-.5-.5h-10a.5.5 0 0 0-.5.5V3Zm1 1v2.3L6.3 4H4ZM3 4v6.5a.5.5 0 0 0 .5.5H10v2H1V4h2Zm1-1h6.5a.5.5 0 0 1 .5.5V10h2V1H4v2Zm6 7V7.71l-2.3 2.3H10Zm0-3.7V4.7L4.7 10h1.6L10 6.3ZM9.3 4H7.7L4 7.71V9.3L9.3 4Z"})),switchalt:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M3 3V.5c0-.27.22-.5.5-.5h10c.28 0 .5.23.5.5v10a.5.5 0 0 1-.5.5H11v2.5a.5.5 0 0 1-.5.5H.5a.5.5 0 0 1-.5-.5v-10c0-.27.22-.5.5-.5H3Zm1 0V1h9v9h-2V3.5a.5.5 0 0 0-.5-.5H4Zm6 8v2H1V4h2v6.5c0 .28.22.5.5.5H10Zm0-1H4V4h6v6Z"})),mirror:a.createElement(a.Fragment,null,a.createElement("path",{d:"M1 1.5c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11ZM2 12h10V2L2 12Z"})),grow:a.createElement(a.Fragment,null,a.createElement("path",{d:"M1.5 1a.5.5 0 1 0 0 1H12v10.5a.5.5 0 0 0 1 0V2a1 1 0 0 0-1-1H1.5Z"}),a.createElement("path",{d:"M1 3.5c0-.27.22-.5.5-.5H10a1 1 0 0 1 1 1v8.5a.5.5 0 0 1-1 0V4H1.5a.5.5 0 0 1-.5-.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M1.5 5a.5.5 0 0 0-.5.5v7c0 .28.22.5.5.5h7a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.5-.5h-7ZM2 6v6h6V6H2Z"})),paintbrush:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M11.8535.1464a.5.5 0 0 0-.7071 0L2.9827 8.3102a2.2396 2.2396 0 0 0-1.0737.599C.6772 10.141.2402 11.903.0852 12.9978 0 13.5998 0 14.0002 0 14.0002s.4004 0 1.0023-.0853c1.095-.155 2.8569-.5919 4.0887-1.8237.307-.307.5067-.6806.5992-1.0743l8.1633-8.1633a.5.5 0 0 0 0-.7071l-2-2Zm-6.253 9.546L6.543 8.75l-1.293-1.2929-.9424.9424a2.242 2.242 0 0 1 .7835.5097c.23.2302.4.4977.5095.7831ZM7.25 8.0428 12.7929 2.5 11.5 1.2071 5.957 6.75 7.25 8.0429ZM4.3839 9.6163c.4881.4882.4881 1.2796 0 1.7678-.7665.7664-1.832 1.1845-2.7791 1.403a8.6972 8.6972 0 0 1-.49.0982 8.7151 8.7151 0 0 1 .0982-.4899c.2186-.9471.6367-2.0126 1.403-2.779.4882-.4882 1.2797-.4882 1.7679 0Z"})),ruler:a.createElement(a.Fragment,null,a.createElement("path",{d:"M1.5 1c.28 0 .5.23.5.5V2h10v-.5a.5.5 0 0 1 1 0v2a.5.5 0 0 1-1 0V3H2v.5a.5.5 0 0 1-1 0v-2c0-.27.22-.5.5-.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M1.5 6a.5.5 0 0 0-.5.5v6c0 .28.22.5.5.5h11a.5.5 0 0 0 .5-.5v-6a.5.5 0 0 0-.5-.5h-11ZM2 7v5h10V7h-1v2.5a.5.5 0 0 1-1 0V7h-.75v1a.5.5 0 0 1-1 0V7H7.5v2.5a.5.5 0 0 1-1 0V7h-.75v1a.5.5 0 0 1-1 0V7H4v2.5a.5.5 0 0 1-1 0V7H2Z"})),stop:a.createElement(a.Fragment,null,a.createElement("path",{d:"M4.5 4a.5.5 0 0 0-.5.5v5c0 .28.22.5.5.5h5a.5.5 0 0 0 .5-.5v-5a.5.5 0 0 0-.5-.5h-5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M14 7A7 7 0 1 1 0 7a7 7 0 0 1 14 0Zm-1 0A6 6 0 1 1 1 7a6 6 0 0 1 12 0Z"})),camera:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M10 7a3 3 0 1 1-6 0 3 3 0 0 1 6 0ZM9 7a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z"}),a.createElement("path",{fillRule:"evenodd",d:"M2.5 1a.5.5 0 0 0-.5.5V2H.5a.5.5 0 0 0-.5.5v9c0 .28.22.5.5.5h13a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5H6v-.5a.5.5 0 0 0-.5-.5h-3ZM1 3v8h12V3H1Z"})),video:a.createElement(a.Fragment,null,a.createElement("path",{d:"M2.5 10a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1Z"}),a.createElement("path",{fillRule:"evenodd",d:"M0 4c0-1.1.9-2 2-2h6a2 2 0 0 1 2 2v.5l3.19-2.4a.5.5 0 0 1 .81.4v9a.5.5 0 0 1-.8.4L10 9.5v.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V4Zm9 0v1.5a.5.5 0 0 0 .8.4L13 3.5v7L9.8 8.1a.5.5 0 0 0-.8.4V10a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1Z"})),speaker:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M1 4.50004V9.50004C1 9.77618 1.22386 10 1.5 10H4L7.17075 12.7744C7.49404 13.0573 8 12.8277 8 12.3982V1.60192C8 1.17235 7.49404 0.942757 7.17075 1.22564L4 4.00004H1.5C1.22386 4.00004 1 4.2239 1 4.50004ZM4 9.00004V5.00004H2V9.00004H4ZM4.99804 9.54456C4.99934 9.52989 5 9.51505 5 9.50004V4.50004C5 4.48504 4.99934 4.47019 4.99804 4.45552L7 2.70381V11.2963L4.99804 9.54456Z"}),a.createElement("path",{d:"M10.1498 1.75202C9.88637 1.66927 9.60572 1.81577 9.52297 2.07922C9.44023 2.34267 9.58672 2.62332 9.85017 2.70607C11.6763 3.27963 13 4.98596 13 7.00014C13 9.01433 11.6763 10.7207 9.85017 11.2942C9.58672 11.377 9.44023 11.6576 9.52297 11.9211C9.60572 12.1845 9.88637 12.331 10.1498 12.2483C12.3808 11.5476 14 9.4636 14 7.00014C14 4.53669 12.3808 2.45272 10.1498 1.75202Z"}),a.createElement("path",{d:"M10.2504 3.96861C10.0113 3.83033 9.70547 3.91201 9.5672 4.15105C9.42893 4.39008 9.51061 4.69594 9.74964 4.83421C10.4982 5.26723 11 6.07534 11 7.00006C11 7.92479 10.4982 8.7329 9.74964 9.16591C9.51061 9.30418 9.42893 9.61005 9.5672 9.84908C9.70547 10.0881 10.0113 10.1698 10.2504 10.0315C11.2952 9.42711 12 8.29619 12 7.00006C12 5.70394 11.2952 4.57302 10.2504 3.96861Z"})),play:a.createElement(a.Fragment,null,a.createElement("path",{d:"m12.81 7.43-9.05 5.6A.5.5 0 0 1 3 12.6V1.4c0-.4.43-.63.76-.43l9.05 5.6a.5.5 0 0 1 0 .86Z"})),playback:a.createElement(a.Fragment,null,a.createElement("path",{d:"M11.24 12.04 3.7 7.42a.5.5 0 0 1-.2-.23v4.05a.75.75 0 0 1-1.5 0v-8.5a.75.75 0 0 1 1.5 0V6.8a.5.5 0 0 1 .2-.23l7.54-4.6a.5.5 0 0 1 .76.42v9.22a.5.5 0 0 1-.76.43Z"})),playnext:a.createElement(a.Fragment,null,a.createElement("path",{d:"m2.76 12.04 7.54-4.61a.5.5 0 0 0 .2-.23v4.05a.75.75 0 0 0 1.5 0v-8.5a.75.75 0 0 0-1.5 0V6.8a.5.5 0 0 0-.2-.23l-7.54-4.6a.5.5 0 0 0-.76.42v9.22c0 .39.43.63.76.43Z"})),rewind:a.createElement(a.Fragment,null,a.createElement("path",{d:"M9 2.42v2.32L13.23 2a.5.5 0 0 1 .77.42v9.16a.5.5 0 0 1-.77.42L9 9.26v2.32a.5.5 0 0 1-.77.42L1.5 7.65v3.6a.75.75 0 0 1-1.5 0v-8.5a.75.75 0 0 1 1.5 0v3.6L8.23 2a.5.5 0 0 1 .77.42Z"})),fastforward:a.createElement(a.Fragment,null,a.createElement("path",{d:"M5 2.42v2.32L.77 2a.5.5 0 0 0-.77.42v9.16c0 .4.44.64.77.42L5 9.26v2.32c0 .4.44.64.77.42l6.73-4.35v3.6a.75.75 0 0 0 1.5 0v-8.5a.75.75 0 0 0-1.5 0v3.6L5.77 2a.5.5 0 0 0-.77.42Z"})),stopalt:a.createElement(a.Fragment,null,a.createElement("path",{d:"M1 1.5c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11Z"})),sidebyside:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M1 1.5c0-.27.22-.5.5-.5h11c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11ZM2 12V2h5v10H2Z"})),stacked:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M12.5 1c.28 0 .5.23.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11c0-.27.22-.5.5-.5h11ZM2 2h10v5H2V2Z"})),sun:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7.5.5a.5.5 0 0 0-1 0V2a.5.5 0 0 0 1 0V.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M7 10a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm0-1a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z"}),a.createElement("path",{d:"M7 11.5c.28 0 .5.22.5.5v1.5a.5.5 0 0 1-1 0V12c0-.28.22-.5.5-.5ZM11.5 7c0-.28.22-.5.5-.5h1.5a.5.5 0 0 1 0 1H12a.5.5 0 0 1-.5-.5ZM.5 6.5a.5.5 0 0 0 0 1H2a.5.5 0 0 0 0-1H.5ZM3.82 10.18c.2.2.2.51 0 .7l-1.06 1.07a.5.5 0 1 1-.71-.7l1.06-1.07c.2-.2.51-.2.7 0ZM11.95 2.76a.5.5 0 1 0-.7-.71l-1.07 1.06a.5.5 0 1 0 .7.7l1.07-1.05ZM10.18 10.18c.2-.2.51-.2.7 0l1.07 1.06a.5.5 0 1 1-.7.71l-1.07-1.06a.5.5 0 0 1 0-.7ZM2.76 2.05a.5.5 0 1 0-.71.7l1.06 1.07a.5.5 0 0 0 .7-.7L2.77 2.04Z"})),moon:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M7.78.04a7.03 7.03 0 0 0-4.28.9 7 7 0 1 0 9.87 8.96c.1-.21-.14-.41-.36-.32a4.98 4.98 0 0 1-2 .42A5 5 0 0 1 8.53.65c.2-.12.19-.44-.04-.49a7.04 7.04 0 0 0-.72-.12Zm-1.27.98a6 6 0 0 0 4.98 9.96 6 6 0 1 1-4.98-9.96Z"})),book:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M13 2a2 2 0 0 0-2-2H1.5a.5.5 0 0 0-.5.5v13c0 .28.22.5.5.5H11a2 2 0 0 0 2-2V2ZM3 13h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H7v6a.5.5 0 0 1-.86.36L5.5 6.7l-.65.65A.5.5 0 0 1 4 7V1H3v12ZM5 1v4.8l.15-.15a.5.5 0 0 1 .74.04l.11.1V1H5Z"})),document:a.createElement(a.Fragment,null,a.createElement("path",{d:"M4 5.5c0-.28.22-.5.5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5ZM4.5 7.5a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5ZM4 10.5c0-.28.22-.5.5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M1.5 0a.5.5 0 0 0-.5.5v13c0 .28.22.5.5.5h11a.5.5 0 0 0 .5-.5V3.2a.5.5 0 0 0-.15-.35l-2.7-2.7A.5.5 0 0 0 9.79 0H1.5ZM2 1h7.5v2c0 .28.22.5.5.5h2V13H2V1Z"})),copy:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M11.75.07A.5.5 0 0 0 11.5 0h-6a.5.5 0 0 0-.5.5V3H.5a.5.5 0 0 0-.5.5v10c0 .28.22.5.5.5h8a.5.5 0 0 0 .5-.5V11h4.5a.5.5 0 0 0 .5-.5V2.51a.5.5 0 0 0-.15-.36l-2-2a.5.5 0 0 0-.1-.08ZM9 10h4V3h-1.5a.5.5 0 0 1-.5-.5V1H6v2h.5a.5.5 0 0 1 .36.15l1.99 2c.1.09.15.21.15.35v4.51ZM1 4v9h7V6H6.5a.5.5 0 0 1-.5-.5V4H1Z"})),category:a.createElement(a.Fragment,null,a.createElement("path",{d:"M3 1.5c0-.28.22-.5.5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5Zm-1 2c0-.27.22-.5.5-.5h9a.5.5 0 0 1 0 1h-9a.5.5 0 0 1-.5-.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M1 5.5c0-.28.22-.5.5-.5h11c.28 0 .5.22.5.5v7a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-7ZM2 12V6h10v6H2Z"})),folder:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M6.59 3.5 5.09 2H1v9h12V3.5H6.59Zm.41-1L5.8 1.3a1 1 0 0 0-.71-.3H.5a.5.5 0 0 0-.5.5v10c0 .28.22.5.5.5h13a.5.5 0 0 0 .5-.5V3a.5.5 0 0 0-.5-.5H7Z"})),print:a.createElement(a.Fragment,null,a.createElement("path",{d:"M4.5 8a.5.5 0 1 0 0 1h5a.5.5 0 0 0 0-1h-5Zm0 2a.5.5 0 0 0 0 1h5a.5.5 0 0 0 0-1h-5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M2 1.5c0-.27.22-.5.5-.5h8a.5.5 0 0 1 .36.15l.99 1c.1.09.15.21.15.35v1.51h1.5c.28 0 .5.22.5.5v5a.5.5 0 0 1-.5.5H12v2.5a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5V10H.5a.5.5 0 0 1-.5-.5v-5c0-.28.22-.5.5-.5H2V1.5ZM13 9h-1V6.5a.5.5 0 0 0-.5-.5h-9a.5.5 0 0 0-.5.5V9H1V5h12v4Zm-2-6v1H3V2h7v.5c0 .28.22.5.5.5h.5Zm-8 9h8V7H3v5Z"})),graphline:a.createElement(a.Fragment,null,a.createElement("path",{d:"M5.15 6.15c.2-.2.5-.2.7 0L7 7.3l2.15-2.15c.2-.2.5-.2.7 0l1 1a.5.5 0 0 1-.7.7l-.65-.64-2.15 2.15a.5.5 0 0 1-.7 0L5.5 7.2 3.85 8.86a.5.5 0 1 1-.7-.71l2-2Z"}),a.createElement("path",{fillRule:"evenodd",d:"M1.5 1a.5.5 0 0 0-.5.5v11c0 .28.22.5.5.5h11a.5.5 0 0 0 .5-.5v-11a.5.5 0 0 0-.5-.5h-11ZM2 2v10h10V2H2Z"})),calendar:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M3.5 0c.28 0 .5.22.5.5V1h6V.5a.5.5 0 0 1 1 0V1h1.5c.28 0 .5.22.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11c0-.28.22-.5.5-.5H3V.5c0-.28.22-.5.5-.5ZM2 4v2.3h3V4H2Zm0 5.2V6.8h3v2.4H2Zm0 .5V12h3V9.7H2Zm3.5 0V12h3V9.7h-3Zm3.5 0V12h3V9.7H9Zm3-.5H9V6.8h3v2.4Zm-3.5 0h-3V6.8h3v2.4ZM9 4v2.3h3V4H9ZM5.5 6.3h3V4h-3v2.3Z"})),graphbar:a.createElement(a.Fragment,null,a.createElement("path",{d:"M12 2.5a.5.5 0 0 0-1 0v10a.5.5 0 0 0 1 0v-10Zm-3 2a.5.5 0 0 0-1 0v8a.5.5 0 0 0 1 0v-8ZM5.5 7c.28 0 .5.22.5.5v5a.5.5 0 0 1-1 0v-5c0-.28.22-.5.5-.5ZM3 10.5a.5.5 0 0 0-1 0v2a.5.5 0 0 0 1 0v-2Z"})),menu:a.createElement(a.Fragment,null,a.createElement("path",{d:"M13 2a.5.5 0 0 1 0 1H1a.5.5 0 0 1 0-1h12Zm-3 3a.5.5 0 0 1 0 1H1a.5.5 0 0 1 0-1h9Zm1.5 3.5A.5.5 0 0 0 11 8H1a.5.5 0 0 0 0 1h10a.5.5 0 0 0 .5-.5Zm-4 2.5a.5.5 0 0 1 0 1H1a.5.5 0 0 1 0-1h6.5Z"})),menualt:a.createElement(a.Fragment,null,a.createElement("path",{d:"M1 2a.5.5 0 0 0 0 1h12a.5.5 0 0 0 0-1H1Zm3 3a.5.5 0 0 0 0 1h9a.5.5 0 0 0 0-1H4ZM2.5 8.5c0-.28.22-.5.5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5Zm4 2.5a.5.5 0 0 0 0 1H13a.5.5 0 0 0 0-1H6.5Z"})),filter:a.createElement(a.Fragment,null,a.createElement("path",{d:"M1 2a.5.5 0 0 0 0 1h12a.5.5 0 0 0 0-1H1Zm2 3a.5.5 0 0 0 0 1h8a.5.5 0 0 0 0-1H3Zm1.5 3.5c0-.28.22-.5.5-.5h4a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5Zm2 2.5a.5.5 0 0 0 0 1h1a.5.5 0 0 0 0-1h-1Z"})),docchart:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M1 1.5C1 1.22386 1.22386 1 1.5 1H12.5C12.7761 1 13 1.22386 13 1.5V12.5C13 12.7761 12.7761 13 12.5 13H1.5C1.22386 13 1 12.7761 1 12.5V1.5ZM2 4V6.2998H5V4H2ZM2 9.2002V6.7998H5V9.2002H2ZM2 9.7002V12H5V9.7002H2ZM5.5 9.7002V12H8.5V9.7002H5.5ZM9 9.7002V12H12V9.7002H9ZM12 9.2002H9V6.7998H12V9.2002ZM8.5 9.2002H5.5V6.7998H8.5V9.2002ZM9 6.2998H12V4H9V6.2998ZM5.5 6.2998H8.5V4H5.5V6.2998Z"})),doclist:a.createElement(a.Fragment,null,a.createElement("path",{d:"M3.5 6.5c0-.28.22-.5.5-.5h6a.5.5 0 0 1 0 1H4a.5.5 0 0 1-.5-.5ZM4 9a.5.5 0 0 0 0 1h6a.5.5 0 0 0 0-1H4Z"}),a.createElement("path",{fillRule:"evenodd",d:"M1 1.5c0-.28.22-.5.5-.5h11c.28 0 .5.22.5.5v11a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-11ZM2 4v8h10V4H2Z"})),markup:a.createElement(a.Fragment,null,a.createElement("path",{d:"M8.98 1.63a.5.5 0 0 0-.96-.26l-3 11a.5.5 0 1 0 .96.26l3-11ZM3.32 3.62a.5.5 0 0 1 .06.7L1.15 7l2.23 2.68a.5.5 0 1 1-.76.64l-2.5-3a.5.5 0 0 1 0-.64l2.5-3a.5.5 0 0 1 .7-.06Zm7.36 0a.5.5 0 0 0-.06.7L12.85 7l-2.23 2.68a.5.5 0 0 0 .76.64l2.5-3a.5.5 0 0 0 0-.64l-2.5-3a.5.5 0 0 0-.7-.06Z"})),bold:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M3 2v1.5h1v7H3V12h5a3 3 0 0 0 1.8-5.4A2.74 2.74 0 0 0 8 2H3Zm5 5.5H5.5v3H8a1.5 1.5 0 1 0 0-3Zm-.25-4H5.5V6h2.25a1.25 1.25 0 1 0 0-2.5Z"})),italic:a.createElement("path",{d:"M5 2h6v1H8.5l-2 8H9v1H3v-1h2.5l2-8H5V2Z"}),paperclip:a.createElement(a.Fragment,null,a.createElement("path",{d:"M10.55 2.27a1.5 1.5 0 0 0-2.12 0L2.78 7.92a2.5 2.5 0 0 0 3.53 3.54l3.54-3.54a.5.5 0 1 1 .7.71l-3.53 3.54a3.5 3.5 0 0 1-4.96-4.94v-.01l5.66-5.66h.01a2.5 2.5 0 0 1 3.53 3.53L5.6 10.76a1.5 1.5 0 0 1-2.12-2.12L7.02 5.1a.5.5 0 1 1 .7.7L4.2 9.34a.5.5 0 0 0 .7.7l5.66-5.65a1.5 1.5 0 0 0 0-2.12Z"})),listordered:a.createElement(a.Fragment,null,a.createElement("path",{d:"M5 2.5c0-.28.22-.5.5-.5h7a.5.5 0 0 1 0 1h-7a.5.5 0 0 1-.5-.5ZM5 7c0-.28.22-.5.5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 5 7Zm.5 4a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1h-7Zm-3-9H1v1h1v3h1V2.5a.5.5 0 0 0-.5-.5ZM3 8.5v1a.5.5 0 0 1-1 0V9h-.5a.5.5 0 0 1 0-1h1c.28 0 .5.22.5.5Zm-1 2a.5.5 0 0 0-1 0V12h2v-1H2v-.5Z"})),listunordered:a.createElement(a.Fragment,null,a.createElement("path",{d:"M2.75 2.5a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM5.5 2a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1h-7Zm0 9a.5.5 0 0 0 0 1h7a.5.5 0 0 0 0-1h-7ZM2 12.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5ZM5 7c0-.28.22-.5.5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 5 7Zm-3 .75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Z"})),paragraph:a.createElement(a.Fragment,null,a.createElement("path",{d:"M6 7a3 3 0 1 1 0-6h5.5a.5.5 0 0 1 0 1H10v10.5a.5.5 0 0 1-1 0V2H7v10.5a.5.5 0 0 1-1 0V7Z"})),markdown:a.createElement(a.Fragment,null,a.createElement("path",{d:"M2 4.5h1.5L5 6.38 6.5 4.5H8v5H6.5V7L5 8.88 3.5 7v2.5H2v-5Zm7.75 0h1.5V7h1.25l-2 2.5-2-2.5h1.25V4.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M.5 2a.5.5 0 0 0-.5.5v9c0 .28.22.5.5.5h13a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5H.5ZM1 3v8h12V3H1Z"})),repository:a.createElement(a.Fragment,null,a.createElement("path",{d:"M5 2.5C5 2.77614 4.77614 3 4.5 3C4.22386 3 4 2.77614 4 2.5C4 2.22386 4.22386 2 4.5 2C4.77614 2 5 2.22386 5 2.5Z"}),a.createElement("path",{d:"M4.5 5C4.77614 5 5 4.77614 5 4.5C5 4.22386 4.77614 4 4.5 4C4.22386 4 4 4.22386 4 4.5C4 4.77614 4.22386 5 4.5 5Z"}),a.createElement("path",{d:"M5 6.5C5 6.77614 4.77614 7 4.5 7C4.22386 7 4 6.77614 4 6.5C4 6.22386 4.22386 6 4.5 6C4.77614 6 5 6.22386 5 6.5Z"}),a.createElement("path",{fillRule:"evenodd",d:"M11 0C12.1046 0 13 0.895431 13 2V12C13 13.1046 12.1046 14 11 14H1.5C1.22386 14 1 13.7761 1 13.5V0.5C1 0.223857 1.22386 0 1.5 0H11ZM11 1H3V13H11C11.5523 13 12 12.5523 12 12V2C12 1.44772 11.5523 1 11 1Z"})),commit:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M3.03 7.5a4 4 0 0 0 7.94 0h2.53a.5.5 0 0 0 0-1h-2.53a4 4 0 0 0-7.94 0H.5a.5.5 0 0 0 0 1h2.53ZM7 10a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z"})),branch:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M6 2.5c0 .65-.42 1.2-1 1.41v4.06A3.36 3.36 0 0 1 7.5 7a2.7 2.7 0 0 0 1.81-.56c.22-.18.38-.4.48-.62a1.5 1.5 0 1 1 1.03.15c-.16.42-.43.87-.86 1.24-.57.47-1.37.79-2.46.79-1.04 0-1.64.42-2 .92-.26.37-.4.8-.47 1.18A1.5 1.5 0 1 1 4 10.09V3.9a1.5 1.5 0 1 1 2-1.4Zm-2 9a.5.5 0 1 1 1 0 .5.5 0 0 1-1 0Zm1-9a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Zm6 2a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z"})),pullrequest:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M8.35 1.35 7.71 2h.79A2.5 2.5 0 0 1 11 4.5v5.59a1.5 1.5 0 1 1-1 0V4.5C10 3.67 9.33 3 8.5 3h-.8l.65.65a.5.5 0 1 1-.7.7l-1.5-1.5a.5.5 0 0 1 0-.7l1.5-1.5a.5.5 0 1 1 .7.7ZM11 11.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0ZM4 3.91a1.5 1.5 0 1 0-1 0v6.18a1.5 1.5 0 1 0 1 0V3.9ZM3.5 11a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1Zm0-8a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1Z"})),merge:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M4.1 3.87a1.5 1.5 0 1 0-1.1.04v6.18a1.5 1.5 0 1 0 1 0V6.4c.26.4.57.77.93 1.08A6.57 6.57 0 0 0 9.08 9a1.5 1.5 0 1 0 0-1 5.57 5.57 0 0 1-3.5-1.25 4.74 4.74 0 0 1-1.47-2.87ZM3.5 11a.5.5 0 1 0 0 1 .5.5 0 0 0 0-1ZM4 2.5a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Zm7 6a.5.5 0 1 1-1 0 .5.5 0 0 1 1 0Z"})),apple:a.createElement(a.Fragment,null,a.createElement("path",{d:"M11.03 8.1a3.05 3.05 0 0 1-.2-1.74 2.7 2.7 0 0 1 1.4-1.94 3.13 3.13 0 0 0-2.35-1.4c-.84-.08-2.01.56-2.65.57h-.02c-.63 0-1.81-.65-2.64-.57-.42.04-1.75.32-2.55 1.6-.28.44-.5 1.01-.58 1.74a6.36 6.36 0 0 0 .02 1.74 7.5 7.5 0 0 0 1.35 3.33c.7 1.01 1.51 1.6 1.97 1.6.93.02 1.74-.6 2.41-.6l.02.01h.04c.67-.02 1.48.61 2.42.6.45-.02 1.26-.6 1.97-1.6a7.95 7.95 0 0 0 .97-1.86 2.6 2.6 0 0 1-1.58-1.48ZM8.86 2.13c.72-.85.7-2.07.63-2.12-.07-.06-1.25.16-1.99.98a2.78 2.78 0 0 0-.62 2.13c.06.05 1.27-.14 1.98-.99Z"})),linux:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M7 0a3 3 0 0 1 3 3v1.24c.13.13.25.27.36.42l.52.43.2.15c.32.26.7.59 1.09.97A6.28 6.28 0 0 1 14 9.54a.5.5 0 0 1-.35.44c-.31.1-.8.18-1.34.13-.33-.03-.7-.12-1.05-.3-.04.17-.1.34-.17.51a2 2 0 1 1-2.89 2.56 5.5 5.5 0 0 1-2.4 0 2 2 0 1 1-2.9-2.56 5.56 5.56 0 0 1-.16-.51c-.35.18-.72.27-1.05.3a3.4 3.4 0 0 1-1.34-.13.5.5 0 0 1-.35-.44l.01-.14a6.28 6.28 0 0 1 1.82-3.2 13.42 13.42 0 0 1 1.3-1.11c.22-.19.4-.32.5-.43.12-.15.24-.29.37-.42V3a3 3 0 0 1 3-3Zm1 11.9a2 2 0 0 1 2.14-1.9 5.5 5.5 0 0 0 .36-2c0-.51-.1-1.07-.3-1.6l-.03-.02a4.4 4.4 0 0 0-.86-.42 6.71 6.71 0 0 0-1-.31l-.86.64c-.27.2-.63.2-.9 0l-.85-.64a6.72 6.72 0 0 0-1.87.73l-.03.02A4.6 4.6 0 0 0 3.5 8c0 .68.11 1.39.36 2H4a2 2 0 0 1 2 1.9 4.49 4.49 0 0 0 2 0ZM5 12a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm6 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM6.1 4.3a1.5 1.5 0 0 1 1.8 0l.27.2L7 5.38 5.83 4.5l.27-.2ZM8.5 2c.28 0 .5.22.5.5V3a.5.5 0 0 1-1 0v-.5c0-.28.22-.5.5-.5ZM6 2.5a.5.5 0 0 0-1 0V3a.5.5 0 0 0 1 0v-.5Z"})),ubuntu:a.createElement(a.Fragment,null,a.createElement("path",{d:"M12.26 2.07c0 1.14-.89 2.06-1.99 2.06s-1.99-.92-1.99-2.06c0-1.14.9-2.07 2-2.07s1.98.93 1.98 2.07ZM3.98 6.6c0 1.14-.9 2.07-2 2.07C.9 8.67 0 7.74 0 6.6c0-1.14.9-2.07 1.99-2.07 1.1 0 1.99.93 1.99 2.07ZM6.47 11.92a4.76 4.76 0 0 1-3.3-2.62c-.53.25-1.12.33-1.7.22a6.72 6.72 0 0 0 1.84 2.63 6.38 6.38 0 0 0 4.24 1.58c-.37-.5-.57-1.1-.59-1.73a4.77 4.77 0 0 1-.49-.08ZM11.81 11.93c0 1.14-.89 2.07-1.99 2.07s-1.98-.93-1.98-2.07c0-1.14.89-2.06 1.98-2.06 1.1 0 2 .92 2 2.06ZM12.6 11.17a6.93 6.93 0 0 0 .32-7.93A2.95 2.95 0 0 1 11.8 4.6a5.23 5.23 0 0 1-.16 5.03c.47.4.8.94.95 1.54ZM1.99 3.63h-.15A6.48 6.48 0 0 1 8 .24a3.07 3.07 0 0 0-.6 1.68 4.7 4.7 0 0 0-3.9 2.17c-.46-.3-.98-.45-1.51-.45Z"})),windows:a.createElement(a.Fragment,null,a.createElement("path",{d:"M6.5 1H1v5.5h5.5V1ZM13 1H7.5v5.5H13V1ZM7.5 7.5H13V13H7.5V7.5ZM6.5 7.5H1V13h5.5V7.5Z"})),storybook:a.createElement(a.Fragment,null,a.createElement("path",{d:"M2.04.62a.7.7 0 0 0-.66.72l.44 11.56c.01.37.3.66.67.68l9.4.42h.02a.7.7 0 0 0 .7-.7V.66a.7.7 0 0 0-.74-.66l-.77.05.05 1.62a.1.1 0 0 1-.17.08l-.52-.4-.61.46a.1.1 0 0 1-.17-.09L9.75.13l-7.7.49Zm8 4.74c-.24.2-2.09.33-2.09.05.04-1.04-.43-1.09-.69-1.09-.24 0-.66.08-.66.64 0 .57.6.89 1.32 1.27 1.02.53 2.24 1.18 2.24 2.82 0 1.57-1.27 2.43-2.9 2.43-1.67 0-3.14-.68-2.97-3.03.06-.27 2.2-.2 2.2 0-.03.97.19 1.26.75 1.26.43 0 .62-.24.62-.64 0-.6-.63-.95-1.36-1.36-.99-.56-2.15-1.2-2.15-2.7 0-1.5 1.03-2.5 2.86-2.5 1.83 0 2.84.99 2.84 2.85Z"})),azuredevops:a.createElement(a.Fragment,null,a.createElement("path",{d:"m0 5.18 1.31-1.73 4.9-2V.01l4.3 3.15-8.78 1.7v4.8L0 9.16V5.18Zm14-2.6v8.55l-3.36 2.86-5.42-1.79V14L1.73 9.66l8.78 1.05V3.16L14 2.58Z"})),bitbucket:a.createElement(a.Fragment,null,a.createElement("path",{d:"M1 1.52A.41.41 0 0 0 .59 2l1.74 10.6c.05.26.28.46.55.46h8.37c.2 0 .38-.14.42-.34l1.01-6.25H8.81l-.46 2.71H5.68L4.95 5.4h7.91L13.4 2a.41.41 0 0 0-.41-.48H1Z"})),chrome:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M13.02 3.43a.11.11 0 0 1-.1.17H7a3.4 3.4 0 0 0-3.3 2.55.11.11 0 0 1-.21.03L1.52 2.76a.11.11 0 0 1 0-.12 6.97 6.97 0 0 1 9-1.7c1.03.6 1.9 1.47 2.5 2.5ZM7 9.62a2.62 2.62 0 1 1 0-5.24 2.62 2.62 0 0 1 0 5.24Zm1.03.7a.11.11 0 0 0-.12-.04 3.4 3.4 0 0 1-4-1.84L1.1 3.57a.11.11 0 0 0-.2 0 7 7 0 0 0 5.07 10.35c.04 0 .08-.02.1-.05l1.97-3.42a.11.11 0 0 0 0-.13Zm1.43-5.95h3.95c.05 0 .1.03.1.07a6.97 6.97 0 0 1-1.53 7.48A6.96 6.96 0 0 1 7.08 14a.11.11 0 0 1-.1-.17l2.81-4.88h.01a3.38 3.38 0 0 0-.42-4.38.11.11 0 0 1 .08-.2Z"})),chromatic:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M0 7a7 7 0 1 0 14 0A7 7 0 0 0 0 7Zm5.22-3.87a1.97 1.97 0 0 1 3.75.83v1.29L5.61 3.32a2.49 2.49 0 0 0-.4-.19ZM8.7 5.71 5.35 3.78a1.97 1.97 0 0 0-2.6 2.83c.12-.1.24-.18.37-.26l1.51-.87a.27.27 0 0 1 .27 0L7 6.69l1.7-.98Zm-.32 4.97-1.52-.87a.27.27 0 0 1-.13-.23V7.15l-1.7-.97v3.86a1.97 1.97 0 0 0 3.75.83 2.5 2.5 0 0 1-.4-.19Zm.26-.46a1.97 1.97 0 0 0 2.6-2.83c-.11.1-.23.18-.36.26L7.53 9.58l1.11.64Zm-4.1.26h-.17a1.97 1.97 0 0 1-1.9-2.47 2 2 0 0 1 .92-1.2l1.11-.63v3.86c0 .14.01.29.04.44Zm6.79-5.98a1.97 1.97 0 0 0-1.87-.97c.03.14.04.29.04.43v1.75c0 .1-.05.19-.14.23l-2.1 1.22V9.1l3.35-1.93a1.97 1.97 0 0 0 .72-2.68Z"})),componentdriven:a.createElement(a.Fragment,null,a.createElement("path",{d:"M10.85 2.18 8.87.2a.69.69 0 0 0-.97 0L3.09 5.01a.69.69 0 0 0 0 .97l2.46 2.46-2.4 2.4a.69.69 0 0 0 0 .98l1.98 1.98c.27.27.7.27.97 0l4.8-4.81a.69.69 0 0 0 0-.97L8.45 5.56l2.4-2.4a.69.69 0 0 0 0-.98Z"})),discord:a.createElement(a.Fragment,null,a.createElement("path",{d:"M11.85 2.88C10.95 2.48 10 2.18 9 2a7.05 7.05 0 0 0-.4.75 10.66 10.66 0 0 0-3.2 0c-.1-.23-.24-.5-.36-.73A.04.04 0 0 0 4.99 2a11.51 11.51 0 0 0-2.86.9 11.82 11.82 0 0 0-2.05 8 11.6 11.6 0 0 0 3.5 1.77c.01 0 .03 0 .04-.02.27-.36.51-.75.72-1.16a.04.04 0 0 0-.03-.06 7.66 7.66 0 0 1-1.09-.52.04.04 0 0 1 0-.08 5.96 5.96 0 0 0 .26-.17 8.28 8.28 0 0 0 7.08 0l.22.17c.02.02.02.06 0 .08-.36.2-.72.37-1.1.52a.04.04 0 0 0-.02.06c.2.4.45.8.71 1.16.01.02.03.02.05.02a11.57 11.57 0 0 0 3.52-1.8 11.74 11.74 0 0 0-2.09-7.99Zm-7.17 6.4c-.7 0-1.26-.63-1.26-1.41 0-.78.56-1.41 1.26-1.41s1.27.64 1.26 1.4c0 .79-.56 1.42-1.26 1.42Zm4.65 0c-.69 0-1.26-.63-1.26-1.41 0-.78.56-1.41 1.26-1.41s1.27.64 1.26 1.4c0 .79-.55 1.42-1.26 1.42Z"})),facebook:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7.4 14H5.06V7H3.5V4.59h1.56V3.17C5.06 1.2 5.53 0 7.6 0h1.72v2.41H8.25c-.8 0-.85.34-.85.97v1.2h1.93L9.11 7H7.4l-.01 7Z"})),figma:a.createElement(a.Fragment,null,a.createElement("path",{fillRule:"evenodd",d:"M9.2 0H4.8a2.6 2.6 0 0 0-1.4 4.8 2.6 2.6 0 0 0 0 4.4 2.6 2.6 0 1 0 4 2.2V8.89a2.6 2.6 0 1 0 3.2-4.09A2.6 2.6 0 0 0 9.2 0ZM7.4 7A1.8 1.8 0 1 0 11 7a1.8 1.8 0 0 0-3.6 0Zm-.8 2.6H4.8a1.8 1.8 0 1 0 1.8 1.8V9.6ZM4.8 4.4h1.8V.8H4.8a1.8 1.8 0 0 0 0 3.59Zm0 .8a1.8 1.8 0 0 0 0 3.6h1.8V5.2H4.8Zm4.4-.8H7.4V.8h1.8a1.8 1.8 0 1 1 0 3.59Z"})),gdrive:a.createElement(a.Fragment,null,a.createElement("path",{d:"M6.37 8.77 4.33 12.3h6.75l2.04-3.54H6.38Zm6.18-1-3.5-6.08h-4.1l3.51 6.08h4.09ZM4.38 2.7.88 8.77l2.04 3.54 3.5-6.07L4.38 2.7Z"})),github:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7 0a7 7 0 0 0-2.21 13.64c.35.06.48-.15.48-.33L5.26 12c-1.76.32-2.21-.43-2.35-.83-.08-.2-.43-.82-.72-.99-.25-.13-.6-.45-.01-.46.55 0 .94.5 1.07.72.63 1.06 1.64.76 2.04.58.07-.46.25-.77.45-.94-1.56-.18-3.19-.78-3.19-3.46 0-.76.28-1.39.72-1.88-.07-.17-.31-.9.07-1.85 0 0 .59-.19 1.93.71a6.5 6.5 0 0 1 3.5 0c1.34-.9 1.92-.71 1.92-.71.39.96.14 1.68.07 1.85.45.5.72 1.11.72 1.88 0 2.69-1.64 3.28-3.2 3.46.26.22.48.64.48 1.3l-.01 1.92c0 .18.13.4.48.33A7.01 7.01 0 0 0 7 0Z"})),gitlab:a.createElement(a.Fragment,null,a.createElement("path",{d:"M4.53 5.58H1.07l1.49-4.55a.26.26 0 0 1 .48 0l1.49 4.55ZM7 13.15 1.07 5.58l-.75 2.3a.5.5 0 0 0 .18.57l6.5 4.7Zm0 0 6.5-4.7a.5.5 0 0 0 .18-.57l-.75-2.3L7 13.15l2.47-7.57H4.53L7 13.15Zm2.47-7.57h3.46l-1.49-4.55a.26.26 0 0 0-.48 0L9.47 5.58Z"})),google:a.createElement(a.Fragment,null,a.createElement("path",{d:"M10.92 1.1H7.26c-1.64 0-3.19 1.24-3.19 2.68 0 1.47 1.12 2.66 2.8 2.66l.33-.01c-.1.2-.18.44-.18.68 0 .41.22.75.5 1.02h-.64c-2.03 0-3.6 1.3-3.6 2.64 0 1.32 1.72 2.15 3.75 2.15 2.32 0 3.6-1.31 3.6-2.64 0-1.06-.31-1.7-1.28-2.38-.33-.23-.96-.8-.96-1.14 0-.39.1-.58.7-1.04a2.46 2.46 0 0 0 1.03-1.92c0-.92-.4-1.82-1.18-2.11h1.17l.81-.6ZM9.6 10.04c.03.13.05.25.05.38 0 1.07-.7 1.9-2.67 1.9-1.4 0-2.42-.88-2.42-1.95 0-1.05 1.26-1.92 2.66-1.9a3 3 0 0 1 .92.14c.76.53 1.3.83 1.46 1.43ZM7.34 6.07c-.94-.03-1.84-1.06-2-2.3-.17-1.24.47-2.19 1.41-2.16.94.03 1.84 1.03 2 2.26.17 1.24-.47 2.23-1.41 2.2Z"})),graphql:a.createElement(a.Fragment,null,a.createElement("path",{d:"M7.87 11.6a1.17 1.17 0 0 0-1.7-.02l-2.71-1.56.01-.04h7.07l.02.07-2.69 1.56Zm-1.7-9.18.03.03-3.54 6.12h-.04V5.43a1.17 1.17 0 0 0 .84-1.46l2.7-1.56Zm4.38 1.56a1.17 1.17 0 0 0 .84 1.46v3.12l-.04.01-3.54-6.12c.02 0 .03-.02.04-.03l2.7 1.56ZM3.47 9.42a1.17 1.17 0 0 0-.32-.57l3.53-6.12a1.17 1.17 0 0 0 .65 0l3.54 6.12a1.17 1.17 0 0 0-.33.57H3.47Zm8.8-.74c-.1-.05-.21-.1-.32-.12V5.44a1.17 1.17 0 1 0-1.12-1.94l-2.7-1.56a1.17 1.17 0 1 0-2.24 0L3.19 3.5a1.17 1.17 0 1 0-1.13 1.94v3.12a1.17 1.17 0 1 0 1.12 1.94l2.7 1.56a1.17 1.17 0 1 0 2.24-.03l2.69-1.55a1.17 1.17 0 1 0 1.45-1.8Z"})),medium:a.createElement(a.Fragment,null,a.createElement("path",{d:"M0 0v14h14V0H0Zm11.63 3.32-.75.72a.22.22 0 0 0-.08.2v5.33c0 .07.03.14.08.18l.73.72v.16H7.92v-.16l.76-.74c.08-.07.08-.1.08-.21V5.24l-2.11 5.37h-.29L3.9 5.24v3.67c0 .13.05.25.14.34l.99 1.2v.16h-2.8v-.16l.98-1.2a.48.48 0 0 0 .13-.41V4.65c0-.11-.04-.2-.12-.27l-.88-1.06v-.16h2.73l2.1 4.62 1.86-4.62h2.6v.16Z"})),redux:a.createElement(a.Fragment,null,a.createElement("path",{d:"M4.06 9.69c.02.49.42.88.91.88H5a.91.91 0 0 0-.03-1.83h-.03c-.03 0-.08 0-.11.02a5.97 5.97 0 0 1-.85-3.62c.06-.98.39-1.82.96-2.52.47-.6 1.39-.9 2-.92 1.73-.03 2.47 2.12 2.51 2.99.22.04.57.16.82.24-.2-2.64-1.83-4-3.4-4-1.46 0-2.81 1.05-3.35 2.61a6.67 6.67 0 0 0 .65 5.68.74.74 0 0 0-.11.47Zm8.28-2.3a6.62 6.62 0 0 0-5.15-2.25h-.26a.9.9 0 0 0-.8-.49H6.1a.91.91 0 0 0 .03 1.83h.03a.92.92 0 0 0 .8-.56h.3c1.23 0 2.4.36 3.47 1.06.81.54 1.4 1.24 1.72 2.09.28.68.26 1.35-.03 1.92a2.4 2.4 0 0 1-2.23 1.34c-.65 0-1.27-.2-1.6-.34-.18.16-.5.42-.73.58.7.33 1.41.5 2.1.5 1.56 0 2.72-.85 3.16-1.72.47-.94.44-2.57-.78-3.96ZM4.9 12.9a4 4 0 0 1-.98.11c-1.2 0-2.3-.5-2.84-1.32C.38 10.6.13 8.3 2.5 6.58c.05.26.15.62.22.83-.31.23-.8.68-1.11 1.3a2.4 2.4 0 0 0 .13 2.53c.36.54.93.86 1.66.96.9.11 1.8-.05 2.66-.5a5.83 5.83 0 0 0 2.67-2.56.91.91 0 0 1 .62-1.55h.03a.92.92 0 0 1 .1 1.82 6.26 6.26 0 0 1-4.56 3.49Z"})),twitter:a.createElement(a.Fragment,null,a.createElement("path",{d:"M14 2.55c-.51.23-1.07.39-1.65.46.6-.36 1.05-.94 1.26-1.63-.55.34-1.17.58-1.82.72a2.84 2.84 0 0 0-2.1-.93 2.9 2.9 0 0 0-2.8 3.61 8.09 8.09 0 0 1-5.9-3.07 2.99 2.99 0 0 0 .88 3.93 2.8 2.8 0 0 1-1.3-.37v.04c0 1.42 1 2.61 2.3 2.89a2.82 2.82 0 0 1-1.3.05 2.89 2.89 0 0 0 2.7 2.04A5.67 5.67 0 0 1 0 11.51a7.98 7.98 0 0 0 4.4 1.32c5.29 0 8.17-4.48 8.17-8.38v-.38A5.93 5.93 0 0 0 14 2.55Z"})),youtube:a.createElement(a.Fragment,null,a.createElement("path",{d:"M13.99 8.17V5.83a14.95 14.95 0 0 0-.23-2.22c-.09-.38-.27-.7-.55-.96s-.6-.41-.97-.45A51.3 51.3 0 0 0 7 2c-2.34 0-4.09.07-5.24.2A1.78 1.78 0 0 0 .25 3.61 15.26 15.26 0 0 0 0 7v1.16a15.24 15.24 0 0 0 .24 2.22c.09.38.27.7.55.96.27.26.6.41.97.45 1.15.13 2.9.2 5.24.2 2.34 0 4.08-.06 5.24-.2.37-.04.7-.19.97-.45s.45-.58.54-.96a15.26 15.26 0 0 0 .24-2.22Zm-4.23-1.6c.16.1.24.24.24.43 0 .2-.08.33-.24.42l-4 2.5a.44.44 0 0 1-.26.08.54.54 0 0 1-.24-.06A.46.46 0 0 1 5 9.5v-5c0-.2.08-.34.26-.44.17-.1.34-.09.5.02l4 2.5Z"})),linkedin:a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.6667 13H2.33333C1.59695 13 1 12.403 1 11.6667V2.33333C1 1.59695 1.59695 1 2.33333 1H11.6667C12.403 1 13 1.59695 13 2.33333V11.6667C13 12.403 12.403 13 11.6667 13ZM9.55293 11.3333H11.3337V7.67516C11.3337 6.12737 10.4563 5.379 9.23075 5.379C8.00467 5.379 7.48867 6.33378 7.48867 6.33378V5.55552H5.77255V11.3333H7.48867V8.30031C7.48867 7.48764 7.86276 7.00405 8.57878 7.00405C9.23696 7.00405 9.55293 7.46875 9.55293 8.30031V11.3333ZM2.66699 3.73279C2.66699 4.32157 3.14067 4.79896 3.72522 4.79896C4.30977 4.79896 4.78316 4.32157 4.78316 3.73279C4.78316 3.14402 4.30977 2.66663 3.72522 2.66663C3.14067 2.66663 2.66699 3.14402 2.66699 3.73279ZM4.62856 11.3333H2.83908V5.55552H4.62856V11.3333Z",fill:"#1EA7FD"}),vscode:a.createElement(a.Fragment,null,a.createElement("path",{d:"M10.24.04c.13 0 .26.03.38.09L13.5 1.5a.87.87 0 0 1 .5.8v.03-.01 9.39c0 .33-.2.63-.5.78l-2.88 1.38a.87.87 0 0 1-1-.17l-5.5-5.03-2.4 1.83a.58.58 0 0 1-.75-.04l-.77-.7a.58.58 0 0 1 0-.86L2.27 7 .2 5.1a.58.58 0 0 1 0-.86l.77-.7c.21-.2.52-.2.75-.04l2.4 1.83L9.63.3a.87.87 0 0 1 .61-.26Zm.26 3.78L6.32 7l4.18 3.18V3.82Z"}))},Bm=w.svg({display:"inline-block",shapeRendering:"inherit",transform:"translate3d(0, 0, 0)",verticalAlign:"middle",path:{fill:"currentColor"}}),Ol=({icon:e,...t})=>a.createElement(Bm,{viewBox:"0 0 14 14",width:"14px",height:"14px",...t},a.createElement(a.Fragment,null,Zm[e])),Gt={large:40,medium:28,small:20,tiny:16},Pm=w.div({background:"transparent",display:"inline-block",verticalAlign:"top",overflow:"hidden",textTransform:"uppercase",img:{width:"100%",height:"auto",display:"block"}},e=>({borderRadius:e.type==="user"?"50%":5,height:`${Gt[e.size||"medium"]}px`,width:`${Gt[e.size||"medium"]}px`,lineHeight:`${Gt[e.size||"medium"]}px`,...e.isLoading&&{background:V.light,filter:"grayscale(1)"},...!e.src&&!e.isLoading&&{background:"#37D5D3"}})),Vm=w(Ol)({position:"relative",margin:"0 auto",display:"block",verticalAlign:"top",path:{fill:V.medium,animation:`${Zs} 1.5s ease-in-out infinite`}},e=>({bottom:`${e.type==="user"?-2:-4}px`,height:`${e.type==="user"?100:70}%`,width:`${e.type==="user"?100:70}%`})),Dm=w.div({color:V.lightest,textAlign:"center"},e=>({tiny:{fontSize:`${P.size.s1-2}px`,lineHeight:`${Gt.tiny}px`},small:{fontSize:`${P.size.s1}px`,lineHeight:`${Gt.small}px`},medium:{fontSize:`${P.size.s2}px`,lineHeight:`${Gt.medium}px`},large:{fontSize:`${P.size.s3}px`,lineHeight:`${Gt.large}px`}})[e.size||"medium"]),Hm=({isLoading:e=!1,username:t="loading",src:n=void 0,size:r="medium",type:i="user",...l})=>{let o=a.createElement(Vm,{icon:i==="user"?"useralt":"repository",type:i}),s={};return e?(s["aria-busy"]=!0,s["aria-label"]="Loading avatar ..."):n?o=a.createElement("img",{src:n,alt:t}):(s["aria-label"]=t,o=a.createElement(Dm,{size:r,"aria-hidden":"true"},t.substring(0,1))),a.createElement(Pm,{size:r,isLoading:e,src:n,type:i,...s,...l},o)},jm=w.span(e=>e.withArrow&&{"> svg:last-of-type":{height:"0.65em",width:"0.65em",marginRight:0,marginLeft:"0.25em",bottom:"auto",verticalAlign:"inherit"}}),zm=w.a({display:"inline-block",transition:"transform 150ms ease-out, color 150ms ease-out",textDecoration:"none",color:V.secondary,"&:hover, &:focus-visible":{cursor:"pointer",transform:"translateY(-1px)",color:Wt(.07,V.secondary)},"&:active":{transform:"translateY(0)",color:Wt(.1,V.secondary)},svg:{display:"inline-block",height:"1em",width:"1em",verticalAlign:"text-top",position:"relative",bottom:"-0.125em",marginRight:"0.4em"}},e=>({...e.secondary&&{color:e.theme.base==="light"?V.mediumdark:V.medium,"&:hover":{color:e.theme.base==="light"?V.dark:V.light},"&:active":{color:e.theme.base==="light"?V.darker:V.lighter}},...e.tertiary&&{color:V.dark,"&:hover":{color:V.darkest},"&:active":{color:V.mediumdark}},...e.nochrome&&{color:"inherit","&:hover, &:active":{color:"inherit",textDecoration:"underline"}},...e.inverse&&{color:V.lightest,"&:hover":{color:V.lighter},"&:active":{color:V.light}}})),Um=w.a({}),$m=w.button({background:"none",border:"none",padding:"0",font:"inherit",cursor:"pointer"}),zs=$(({inverse:e,isButton:t,LinkWrapper:n,nochrome:r,secondary:i,tertiary:l,...o},s)=>t?a.createElement($m,{...o,ref:s}):n?a.createElement(n,{...o,ref:s}):a.createElement(Um,{...o,ref:s}));zs.displayName="LinkComponentPicker";var Be=$(({children:e,withArrow:t,...n},r)=>{let i=a.createElement(a.Fragment,null,a.createElement(jm,{withArrow:!!t},e,t&&a.createElement(Ol,{icon:"arrowright"})));return a.createElement(zm,{as:zs,ref:r,...n},i)});Be.displayName="Link";Be.defaultProps={withArrow:!1,isButton:!1,secondary:!1,tertiary:!1,nochrome:!1,inverse:!1};var Wm=w.label(e=>({...e.appearance!=="code"&&{fontWeight:P.weight.bold},...e.appearance==="code"?{fontFamily:P.type.code,fontSize:`${P.size.s1-1}px`,lineHeight:"16px"}:{fontSize:`${P.size.s2}px`,lineHeight:"20px"}})),Gm=w.div([{marginBottom:8},e=>e.hideLabel&&{border:"0px !important",clip:"rect(0 0 0 0) !important",WebkitClipPath:"inset(100%) !important",clipPath:"inset(100%) !important",height:"1px !important",overflow:"hidden !important",padding:"0px !important",position:"absolute !important",whiteSpace:"nowrap !important",width:"1px !important"}]),qm=w.input({"&::placeholder":{color:V.mediumdark},appearance:"none",border:"none",boxSizing:"border-box",display:"block",outline:"none",width:"100%",margin:"0","&[disabled]":{cursor:"not-allowed",opacity:.5},"&:-webkit-autofill":{WebkitBoxShadow:`0 0 0 3em ${V.lightest} inset`}}),Ym=e=>{let t={position:"relative",...e.error&&{zIndex:1},"&:focus":{zIndex:2}};switch(e.stackLevel){case"top":return{borderTopLeftRadius:"4px",borderTopRightRadius:"4px",borderBottomLeftRadius:0,borderBottomRightRadius:0,...t};case"middle":return{borderRadius:0,marginTop:-1,...t};case"bottom":return{borderBottomLeftRadius:"4px",borderBottomRightRadius:"4px",borderTopLeftRadius:0,borderTopRightRadius:0,marginTop:-1,...t};default:return{borderRadius:"4px"}}},Qm=w.div(e=>({display:"inline-block",position:"relative",verticalAlign:"top",width:"100%",".sbds-input-el":{position:"relative",...Ym(e),background:V.lightest,color:V.darkest,fontSize:`${P.size.s2}px`,lineHeight:"20px",padding:"10px 15px",boxShadow:`${V.border} 0 0 0 1px inset`,"&:focus":{boxShadow:`${V.secondary} 0 0 0 1px inset`},...e.appearance==="pill"&&{fontSize:`${P.size.s1}px`,lineHeight:"16px",padding:"6px 12px",borderRadius:"3em",background:"transparent"},...e.appearance==="code"&&{fontSize:`${P.size.s1-1}px`,lineHeight:"16px",fontFamily:P.type.code,borderRadius:`${Al.borderRadius.small}px`,background:V.lightest,padding:"8px 10px"},...e.startingType==="password"&&{paddingRight:52},...e.icon&&{paddingLeft:40,...(e.appearance==="pill"||e.appearance==="code")&&{paddingLeft:30},"&:focus + svg path":{fill:V.darker}},...e.error&&{boxShadow:`${V.red} 0 0 0 1px inset`,"&:focus":{boxShadow:`${V.red} 0 0 0 1px inset !important`}}},"> svg":{...e.icon&&{transition:"all 150ms ease-out",position:"absolute",top:"50%",zIndex:3,background:"transparent",...e.appearance==="pill"||e.appearance==="code"?{fontSize:`${P.size.s1}px`,height:12,marginTop:-6,width:12,left:10}:{fontSize:`${P.size.s2}px`,height:14,marginTop:-7,width:14,left:e.appearance==="tertiary"?0:15},path:{transition:"all 150ms ease-out",fill:V.mediumdark}},...e.error&&{animation:`${Bs} 700ms ease-out`,path:{fill:V.red}}}})),Km=w.div(e=>e.orientation==="horizontal"&&{display:"table-row",".sbds-input-label-wrapper, .sbds-input-input-wrapper":{display:"table-cell"},".sbds-input-label-wrapper":{width:1,paddingRight:20,verticalAlign:"middle"},".sbds-input-input-wrapper":{width:"auto"}}),Jm=w(we)({width:"100%"}),Xm=w(ro)({width:170}),e4=w.div({position:"absolute",right:"0",minWidth:45,top:"50%",transform:"translateY(-50%)",fontWeight:"bold",fontSize:11,zIndex:2}),Vo=({error:e,value:t,lastErrorValue:n})=>{let r=typeof e=="function"?e(t):e;return n&&t!==n&&(r=null),r},Us=$(({id:e,appearance:t="default",className:n=void 0,error:r=null,errorTooltipPlacement:i="right",hideLabel:l=!1,icon:o=void 0,label:s,lastErrorValue:c=void 0,onActionClick:d=void 0,orientation:m="vertical",stackLevel:u=void 0,startingType:p="text",suppressErrorMessage:f=!1,type:g="text",value:y="",...k},E)=>{let[h,v]=_e(Vo({error:r,value:y,lastErrorValue:c})),b=`${e}-error`;K(()=>{v(Vo({error:r,value:y,lastErrorValue:c}))},[y,r,c]);let C=a.createElement(qm,{className:"sbds-input-el",id:e,ref:E,value:y,type:g,"aria-describedby":b,"aria-invalid":!!r,...k});return a.createElement(Km,{orientation:m,className:n},a.createElement(Gm,{className:"sbds-input-label-wrapper",hideLabel:l},a.createElement(Wm,{htmlFor:e,appearance:t},s)),a.createElement(Qm,{className:"sbds-input-input-wrapper",error:h,"data-error":h,icon:o,appearance:t,stackLevel:u,startingType:p},o&&a.createElement(Ol,{icon:o,"aria-hidden":!0}),a.createElement(Jm,{tabIndex:-1,placement:i,startOpen:!0,hasChrome:!!h&&!f,tooltip:h&&!f&&a.createElement(Xm,{desc:h}),role:"none"},C),p==="password"&&a.createElement(e4,null,a.createElement(Be,{isButton:!0,tertiary:!0,onClick:d,type:"button"},g==="password"?"Show":"Hide"))))});Us.displayName="PureInput";var $s=$(({type:e,startFocused:t,...n},r)=>{let[i,l]=_e(e),o=H(m=>{if(m.preventDefault(),m.stopPropagation(),i==="password"){l("text");return}l("password")},[i,l]),s=Ne(),c=r||s,d=Ne(!1);return K(()=>{c.current&&t&&!d.current&&(c.current.focus(),d.current=!0)},[c,t,d]),a.createElement(Us,{ref:c,startingType:e,type:i,onActionClick:o,...n})});$s.displayName="Input";var t4=w.div({borderRadius:"3em",cursor:"progress",display:"inline-block",overflow:"hidden",position:["relative","absolute"],transition:"all 200ms ease-out",verticalAlign:"top",top:"50%",left:"50%",marginTop:-16,marginLeft:-16,height:32,width:32,animation:`${Is} 0.7s linear infinite`,borderWidth:2,borderStyle:"solid",borderColor:"rgba(0, 0, 0, 0.03)",borderTopColor:"rgba(0, 0, 0, 0.15)"},e=>({...e.inverse&&{borderColor:"rgba(255, 255, 255, 0.2)",borderTopColor:"rgba(255, 255, 255, 0.4)"},...e.inForm&&{marginTop:-6,marginLeft:-6,height:12,width:12,border:`1px solid ${V.secondary}`,borderBottomColor:"transparent"},...e.inline&&{position:"relative",top:"initial",left:"initial",marginTop:"initial",marginLeft:"initial",verticalAlign:"middle",height:8,width:8,border:"1px solid",borderTopColor:V.secondary,borderLeftColor:V.secondary,borderRightColor:V.secondary,borderBottomColor:"transparent",...e.positive&&{borderTopColor:V.positive,borderLeftColor:V.positive,borderRightColor:V.positive},...e.negative&&{borderTopColor:V.red,borderLeftColor:V.red,borderRightColor:V.red},...e.neutral&&{borderTopColor:V.dark,borderLeftColor:V.dark,borderRightColor:V.dark},...e.inverse&&{borderTopColor:V.lightest,borderLeftColor:V.lightest,borderRightColor:V.lightest}}})),Ji=e=>a.createElement(t4,{"aria-label":"Content is loading ...","aria-live":"polite",role:"status",...e}),n4=function(e){var t=new WeakMap;return function(n){if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}},a4=w.span({}),r4=w.span(({theme:e})=>({fontWeight:e.typography.weight.bold,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"})),i4=w.span({}),l4=w.span({}),Do=w.li(({theme:e})=>({listStyle:"none","&:not(:first-of-type)":{borderTop:`1px solid ${e.appBorderColor}`}})),o4=w.span({lineHeight:"18px",padding:"7px 15px",display:"flex",alignItems:"center",justifyContent:"space-between",".sbds-list-item-title":{display:"block",flex:"0 1 auto",marginRight:"auto"},".sbds-list-item-left, .sbds-list-item-center, .sbds-list-item-right":{display:"inline-flex"},".sbds-list-item-center":{flex:"0 1 auto",marginLeft:"auto",marginRight:"auto"},".sbds-list-item-left, .sbds-list-item-right":{flex:"0 1 auto"},".sbds-list-item-right":{flex:"none",textAlign:"right",marginLeft:10}}),Ll=({active:e,activeColor:t,disabled:n,isLoading:r,theme:i})=>({fontSize:`${i.typography.size.s1}px`,transition:"all 150ms ease-out",color:i.color.mediumdark,textDecoration:"none",display:"block",".sbds-list-item-title":{color:i.base==="light"?i.color.darker:i.color.lighter},".sbds-list-item-right svg":{transition:"all 200ms ease-out",opacity:0,height:12,width:12,margin:"3px 0",verticalAlign:"top",path:{fill:i.color.mediumdark}},"&:hover":{background:i.background.hoverable,cursor:"pointer",".sbds-list-item-right svg":{opacity:1}},...e&&{".sbds-list-item-title":{fontWeight:i.typography.weight.bold},".sbds-list-item-title, .sbds-list-item-center":{color:t},".sbds-list-item-right svg":{opacity:1,path:{fill:t}}},...r&&{".sbds-list-item-title":{...vm,flex:"0 1 auto",display:"inline-block"}},...n&&{cursor:"not-allowed !important",".sbds-list-item-title, .sbds-list-item-center":{color:i.color.mediumdark}}}),s4=w(({active:e,activeColor:t,isLoading:n,...r})=>a.createElement("a",{...r}))(Ll),c4=w.span(Ll),d4=n4(e=>w(({active:t,isLoading:n,activeColor:r,...i})=>a.createElement(e,{...i}))(Ll)),tt=({appearance:e="primary",left:t,title:n=a.createElement("span",null,"Loading"),center:r,right:i,onClick:l,LinkWrapper:o,isLink:s=!0,...c})=>{let d=zt().color[e],m=a.createElement(o4,{onClick:l,role:"presentation"},t&&a.createElement(a4,{className:"sbds-list-item-left"},t),n&&a.createElement(r4,{className:"sbds-list-item-title"},n),r&&a.createElement(i4,{className:"sbds-list-item-center"},r),i&&a.createElement(l4,{className:"sbds-list-item-right"},i));if(o){let u=d4(o);return a.createElement(Do,null,a.createElement(u,{activeColor:d,...c},m))}return a.createElement(Do,null,a.createElement(s?s4:c4,{activeColor:d,...c},m))};function Yn(e){function t(O,I){return O>>>I|O<<32-I}for(var n,r,i=Math.pow,l=i(2,32),o="",s=[],c=8*e.length,d=Yn.h=Yn.h||[],m=Yn.k=Yn.k||[],u=m.length,p={},f=2;u<64;f++)if(!p[f]){for(n=0;n<313;n+=f)p[n]=f;d[u]=i(f,.5)*l|0,m[u++]=i(f,1/3)*l|0}for(e+="\x80";e.length%64-56;)e+="\0";for(n=0;n>8)return;s[n>>2]|=r<<(3-n)%4*8}for(s[s.length]=c/l|0,s[s.length]=c,r=0;r>>3)+g[n-7]+(t(E,17)^t(E,19)^E>>>10)|0);(d=[b+((t(h,2)^t(h,13)^t(h,22))+(h&d[1]^h&d[2]^d[1]&d[2]))|0].concat(d))[4]=d[4]+b|0}for(n=0;n<8;n++)d[n]=d[n]+y[n]|0}for(n=0;n<8;n++)for(r=3;r+1;r--){var C=d[n]>>8*r&255;o+=(C<16?0:"")+C.toString(16)}return o}var u4=e=>new Uint8Array(e).reduce((t,n)=>t+String.fromCharCode(n),""),m4=e=>window.btoa(Array.isArray(e)?u4(e):e),Ho=e=>m4(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,""),p4=e=>Array.from(e.match(/.{1,2}/g)??[],t=>parseInt(t,16)),h4=()=>Math.random().toString(36).slice(2,10)+Math.random().toString(36).slice(2,10)+Math.random().toString(36).slice(2,10)+Math.random().toString(36).slice(2,10),Ws=e=>Object.entries(e).map(([t,n])=>`${encodeURIComponent(t)}=${encodeURIComponent(n)}`).join("&"),f4=({error:e})=>e==="authorization_pending",g4=({error_description:e})=>e==="Not OAuth beta user",v4=async e=>{let t=Ho(h4()),n=Ho(p4(Yn(t))),r=await fetch(`${Tr}/authorize`,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},body:Ws({client_id:"chromaui:addon-visual-tests",code_challenge:n})}),{device_code:i,user_code:l,verification_uri_complete:o,expires_in:s,interval:c}=await r.json(),d=e?o.replace("https://www",`https://${e}`):o;return{expires:Date.now()+s*1e3,interval:c*1e3,user_code:l,device_code:i,verifier:t,verificationUrl:d}},y4=async({expires:e,device_code:t,verifier:n})=>{if(Date.now()>=e)throw new Error("Token exchange expired, please restart sign in.");try{let r=await(await fetch(`${Tr}/token`,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},body:Ws({client_id:"chromaui:addon-visual-tests",grant_type:"urn:ietf:params:oauth:grant-type:device_code",device_code:t,code_verifier:n,scope:"user:read account:read project:read project:write"})})).json();if(f4(r))throw new Error("You have not authorized the Visual Tests addon for Chromatic, please try again");if(r.access_token)return r.access_token;if(g4(r))return alert("You must be a beta user to use this addon at this time."),null;throw new Error}catch(r){throw console.warn(r),r}};function Gs(){let e=sn(),{addNotification:t,setOptions:n,togglePanel:r}=e,i=H(({onDismiss:l})=>{l(),n({selectedPanel:nn}),r(!0)},[n,r]);return H((l,o)=>{t({id:`${Z}/error/${Date.now()}`,content:{headline:l,subHeadline:o.toString()},icon:a.createElement(St,{color:dt.negative}),onClick:i})},[t,i])}function Qe(e,t){let n=H(()=>{try{let s=sessionStorage.getItem(`${Z}/state/${e}`);if(s!=null)return JSON.parse(s)}catch{}return typeof t=="function"?t():t},[e,t]),[r,i]=_e(n),l=ct(()=>$i(e,s=>{let c=new Set(sessionStorage.getItem(`${Z}/state`)?.split(";"));s==null?(sessionStorage.removeItem(`${Z}/state/${e}`),c.delete(e)):(sessionStorage.setItem(`${Z}/state/${e}`,JSON.stringify(s)),c.add(e)),sessionStorage.setItem(`${Z}/state`,Array.from(c).join(";")),window.dispatchEvent(new StorageEvent("session-storage",{key:e}))},1e3),[e]);K(()=>l.cancel,[l]);let o=H(s=>{let c=s;(!c.key||c.key===e)&&i(n())},[e,n]);return K(()=>(window.addEventListener("storage",o),window.addEventListener("session-storage",o),()=>{window.removeEventListener("storage",o),window.removeEventListener("session-storage",o)}),[o]),[r,H(s=>i(c=>{let d=typeof s=="function"?s(c):s;return l(d),d}),[l])]}function E4(...e){let t=sessionStorage.getItem(`${Z}/state`)?.split(";")||[];e.length?(e.forEach(n=>sessionStorage.removeItem(`${Z}/state/${n}`)),sessionStorage.setItem(`${Z}/state`,t.filter(n=>!e.includes(n)).join(";"))):(t.forEach(n=>sessionStorage.removeItem(`${Z}/state/${n}`)),sessionStorage.removeItem(`${Z}/state`))}var qs=je(void 0),b4=({children:e,addonUninstalled:t,setAddonUninstalled:n})=>{let r=sn().getChannel();if(!r)throw new Error("Channel not available");let i=()=>{r.emit(rs),n(!0)};return a.createElement(qs.Provider,{value:{addonUninstalled:t,uninstallAddon:i}},e)},Rl=()=>kt(qs,"Uninstall Addon"),he=w.div({display:"flex",flexDirection:"column",flexGrow:1,alignItems:"center",justifyContent:"center",padding:10}),me=w.h1(({theme:e})=>({marginTop:0,marginBottom:4,fontSize:"1em",fontWeight:"bold",color:e.base==="light"?e.color.defaultText:e.color.lightest})),Ys=e=>a.createElement("svg",{width:"58",height:"53",viewBox:"0 0 58 53",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("g",{filter:"url(#filter0_dd_304_317890)"},a.createElement("rect",{x:"6",y:"2",width:"40",height:"40",rx:"8",fill:"#FF4785",shapeRendering:"crispEdges"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.5005 11.0555C16.8471 11.0963 16.3455 11.6508 16.37 12.3051L17.1135 32.1151C17.137 32.7426 17.6379 33.2471 18.2651 33.2753L34.3716 33.9987C34.3896 33.9995 34.4077 33.9999 34.4257 33.9999C35.0921 33.9999 35.6324 33.4597 35.6324 32.7932V11.2067C35.6324 11.1816 35.6316 11.1565 35.63 11.1314C35.5885 10.4663 35.0156 9.96082 34.3505 10.0024L33.0259 10.0853L33.1227 12.8548C33.1261 12.9541 33.0484 13.0375 32.949 13.041C32.9065 13.0424 32.8648 13.0288 32.8314 13.0025L31.939 12.2995L30.8825 13.1009C30.8033 13.161 30.6904 13.1455 30.6303 13.0663C30.605 13.033 30.5921 12.9919 30.5939 12.9501L30.707 10.2302L17.5005 11.0555ZM31.221 19.1936C30.7965 19.5234 27.6343 19.7484 27.6343 19.2789C27.7011 17.4876 26.8991 17.409 26.4536 17.409C26.0303 17.409 25.3174 17.537 25.3174 18.4966C25.3174 19.4746 26.3592 20.0267 27.582 20.6747C29.3191 21.5952 31.4215 22.7093 31.4215 25.5128C31.4215 28.1998 29.2383 29.6842 26.4536 29.6842C23.5797 29.6842 21.0683 28.5215 21.352 24.4904C21.4633 24.0171 25.1169 24.1296 25.1169 24.4904C25.0723 26.1538 25.4511 26.6431 26.409 26.6431C27.1442 26.6431 27.4783 26.2379 27.4783 25.5554C27.4783 24.5227 26.3929 23.9133 25.1442 23.2122C23.4534 22.2629 21.4633 21.1456 21.4633 18.5819C21.4633 16.0229 23.2233 14.3168 26.3645 14.3168C29.5056 14.3168 31.221 15.9967 31.221 19.1936Z",fill:"white"})),a.createElement("circle",{cx:"46",cy:"22",r:"2.5",fill:"white",stroke:"#FF4785"}),a.createElement("path",{d:"M57.8536 22.3536C58.0488 22.1583 58.0488 21.8417 57.8536 21.6464L54.6716 18.4645C54.4763 18.2692 54.1597 18.2692 53.9645 18.4645C53.7692 18.6597 53.7692 18.9763 53.9645 19.1716L56.7929 22L53.9645 24.8284C53.7692 25.0237 53.7692 25.3403 53.9645 25.5355C54.1597 25.7308 54.4763 25.7308 54.6716 25.5355L57.8536 22.3536ZM48.5 22.5H57.5V21.5H48.5V22.5Z",fill:"#FF4785"}),a.createElement("defs",null,a.createElement("filter",{id:"filter0_dd_304_317890",x:"0",y:"0",width:"52",height:"53",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},a.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),a.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),a.createElement("feOffset",{dy:"5"}),a.createElement("feGaussianBlur",{stdDeviation:"3"}),a.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0"}),a.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_304_317890"}),a.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),a.createElement("feOffset",{dy:"1"}),a.createElement("feGaussianBlur",{stdDeviation:"1.5"}),a.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),a.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"}),a.createElement("feBlend",{mode:"normal",in2:"effect1_dropShadow_304_317890",result:"effect2_dropShadow_304_317890"}),a.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect2_dropShadow_304_317890",result:"shape"})))),an=e=>a.createElement("svg",{width:"52",height:"53",viewBox:"0 0 52 53",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("g",{filter:"url(#filter0_dd_304_317945)"},a.createElement("g",{clipPath:"url(#clip0_304_317945)"},a.createElement("rect",{x:"6",y:"2",width:"40",height:"40",rx:"8",fill:"#288041"}),a.createElement("g",{clipPath:"url(#clip1_304_317945)"},a.createElement("rect",{x:"14.75",y:"10.75",width:"22.5",height:"22.5",rx:"2",fill:"#215D31"}),a.createElement("rect",{x:"20.6104",y:"20.1591",width:"20.1485",height:"20.1485",transform:"rotate(45 20.6104 20.1591)",fill:"#93D4A5"}),a.createElement("rect",{x:"30.9502",y:"16.59",width:"20.1485",height:"20.1485",transform:"rotate(45 30.9502 16.59)",fill:"#93D4A5"}),a.createElement("circle",{cx:"20.435",cy:"16.2246",r:"2.45455",fill:"#93D4A5"})),a.createElement("rect",{x:"7.05469",y:"3",width:"53.75",height:"32.25",transform:"rotate(45 7.05469 3)",fill:"#67B47C"}),a.createElement("g",{clipPath:"url(#clip2_304_317945)"},a.createElement("g",{clipPath:"url(#clip3_304_317945)"},a.createElement("rect",{x:"14.75",y:"10.75",width:"22.5",height:"22.5",rx:"2",fill:"#2B733F"}),a.createElement("rect",{x:"21.3604",y:"21.6592",width:"20.1485",height:"20.1485",transform:"rotate(45 21.3604 21.6592)",fill:"#A9E0B8"}),a.createElement("rect",{x:"32.2012",y:"18.5908",width:"20.1485",height:"20.1485",transform:"rotate(45 32.2012 18.5908)",fill:"#A9E0B8"}),a.createElement("circle",{cx:"21.685",cy:"17.9746",r:"2.45455",fill:"#A9E0B8"}))))),a.createElement("defs",null,a.createElement("filter",{id:"filter0_dd_304_317945",x:"0",y:"0",width:"52",height:"53",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},a.createElement("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),a.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),a.createElement("feOffset",{dy:"5"}),a.createElement("feGaussianBlur",{stdDeviation:"3"}),a.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),a.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0"}),a.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_304_317945"}),a.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),a.createElement("feOffset",{dy:"1"}),a.createElement("feGaussianBlur",{stdDeviation:"1.5"}),a.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),a.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.1 0"}),a.createElement("feBlend",{mode:"normal",in2:"effect1_dropShadow_304_317945",result:"effect2_dropShadow_304_317945"}),a.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect2_dropShadow_304_317945",result:"shape"})),a.createElement("clipPath",{id:"clip0_304_317945"},a.createElement("rect",{x:"6",y:"2",width:"40",height:"40",rx:"8",fill:"white"})),a.createElement("clipPath",{id:"clip1_304_317945"},a.createElement("rect",{x:"14.75",y:"10.75",width:"22.5",height:"22.5",rx:"2",fill:"white"})),a.createElement("clipPath",{id:"clip2_304_317945"},a.createElement("rect",{width:"60.7428",height:"29.9046",fill:"white",transform:"translate(7.20801 3.17212) rotate(45)"})),a.createElement("clipPath",{id:"clip3_304_317945"},a.createElement("rect",{x:"14.75",y:"10.75",width:"22.5",height:"22.5",rx:"2",fill:"white"})))),k4=et(ya()),Qs=w.div({display:"flex",flexDirection:"column"}),Xi=w.div(({theme:e})=>({padding:15,lineHeight:"18px",borderBottom:`1px solid ${e.appBorderColor}`,p:{margin:"10px 0","&:last-of-type":{marginBottom:0}},dl:{display:"grid",gridTemplateColumns:"auto 1fr",gap:10,margin:"10px 0 0 0"},dt:{color:e.color.mediumdark,fontWeight:700},dd:{marginLeft:0},"button + button":{marginLeft:10}})),ur=w.div({display:"flex",fontWeight:"bold",marginBottom:15}),jo=w(wu)(({theme:e})=>({width:12,height:12,margin:"3px 6px",verticalAlign:"top",color:e.color.mediumdark})),Rr={width:14,height:14,margin:"2px 6px 2px 0",verticalAlign:"top"},w4=w(Lu)(Rr),C4=w(hu)(Rr),S4=w(ls)(Rr),x4=w(gu)(Rr),Il=w(vl)({marginLeft:"auto"}),Zl=w(Je)({margin:-5,marginLeft:"auto"}),ce=w(Xr)({"&&":{display:"inline-flex",borderRadius:4,fontSize:13,lineHeight:"14px",padding:"9px 12px",alignItems:"center","@container (min-width: 800px)":{padding:"8px 10px"}}},({link:e,theme:t})=>e&&ue({"&&":{background:"none",boxShadow:"none",padding:2,fontWeight:"normal",color:t.base==="light"?t.color.dark:"#C9CDCF",opacity:.8,transition:"opacity 150ms ease-out","&:hover, &:focus":{opacity:1},"&:focus:not(:active)":{outline:`1px solid ${t.color.secondary}`}}}),({tertiary:e})=>e&&ue({"&&:hover":{boxShadow:"none"}}),({belowText:e})=>e&&{marginTop:7}),Oe=w(to)(({theme:e})=>({color:e.base==="light"?e.color.darker:e.color.lighter,border:`1px solid ${e.appBorderColor}`,fontSize:"12px",padding:"2px 3px"})),N4={autoAcceptChanges:{description:"Automatically accept visual changes - usually for a specific branch name.",type:"true or branch name"},buildScriptName:{description:"The package.json script that builds your Storybook.",type:"string"},cypress:{description:"Run build against `@chromatic-com/cypress` test archives.",type:"boolean"},debug:{description:"Output verbose logs and debug information.",type:"boolean"},diagnosticsFile:{description:"Write process information to a JSON file.",type:"string or boolean"},exitOnceUploaded:{description:"Exit the process as soon as your Storybook is published.",type:"string or boolean"},exitZeroOnChanges:{description:"Exit the process succesfully even when visual changes are found.",type:"string or boolean"},externals:{description:"Disable TurboSnap when any of these files have changed since the baseline build.",type:"string: ['public/**']"},fileHashing:{description:"Apply file hashing to skip uploading unchanged files - default: true",type:"boolean"},ignoreLastBuildOnBranch:{description:"Do not use the last build on this branch as a baseline if it is no longer in history (i.e. branch was rebased).",type:"string"},junitReport:{description:"Write build results to a JUnit XML file.",type:"string or boolean"},logFile:{description:"Write Chromatic CLI logs to a file.",type:"string or boolean"},onlyChanged:{description:"Enables TurboSnap to only run stories affected by files changed since the baseline build.",type:"true or string (branch name)",glob:!0},onlyStoryFiles:{description:"Only run a single story or a subset of stories by their filename(s).",type:"string[]"},onlyStoryNames:{description:"Only run a single story or a subset of stories by their name(s).",type:"string[]"},outputDir:{description:"Relative path to target directory for building your Storybook, in case you want to preserve it.",type:"string"},playwright:{description:"Run build against `@chromatic-com/playwright` test archives.",type:"boolean"},projectId:{description:"Unique identifier for your project. ",type:"string"},projectToken:{description:"Secret token for your project. Preferably configured through CHROMATIC_PROJECT_TOKEN.",type:"string"},skip:{description:"Skip Chromatic tests, but mark the commit as passing. Avoids blocking PRs due to required merge checks.",type:"string or boolean"},storybookBaseDir:{description:"Relative path from repository root to Storybook project root.",type:"string"},storybookBuildDir:{description:"Path to the directory of an already built Storybook.",type:"string"},storybookConfigDir:{description:"Relative path from where you run Chromatic to your Storybook config directory.",type:"string"},storybookLogFile:{description:"Write Storybook build logs to a file.",type:"string or boolean"},untraced:{description:"Disregard these files and their dependencies when tracing dependent stories for TurboSnap.",type:"string[]"},uploadMetadata:{description:"Upload Chromatic metadata files as part of the published Storybook.",type:"boolean"},zip:{description:"Publish your Storybook to Chromatic as a single zip file instead of individual content files.",type:"boolean"}},_4=w(Zl)({position:"absolute",right:16,top:10}),M4=w.div(({theme:e})=>({backgroundColor:e.background.content,display:"flex",flexDirection:"column",minHeight:"100%",overflowY:"auto",padding:20,position:"relative"})),T4=w.div({margin:"0 auto",maxWidth:600,width:"100%"}),zo=w.div(({theme:e})=>({borderBottom:`1px solid ${e.appBorderColor}`,marginBottom:20,paddingBottom:20,code:{fontSize:"90%"}})),A4=w(ur)({marginBottom:10}),F4=w.div({display:"flex",flexDirection:"column",gap:20}),Uo=w.div(({theme:e})=>({alignItems:"center",borderRadius:e.appBorderRadius,display:"flex",flexWrap:"wrap","> div":{width:"100%"}})),$o=w.div(({theme:e})=>({display:"flex",flexGrow:1,flexWrap:"wrap",gap:"5px 10px"})),Wo=w.div(({theme:e})=>({fontWeight:e.typography.weight.bold,div:{marginLeft:5,position:"relative",top:2}})),Go=w.div({marginTop:10}),O4=w.div(({hideBorderRadius:e,theme:t})=>({background:t.base==="dark"?t.color.darkest:t.color.lighter,border:`1px solid ${t.appBorderColor}`,borderRadius:t.appBorderRadius,borderBottomLeftRadius:e?0:t.appBorderRadius,borderBottomRightRadius:e?0:t.appBorderRadius,color:t.base==="dark"?t.color.medium:t.color.dark,fontFamily:t.typography.fonts.mono,fontSize:13,lineHeight:"20px",padding:"5px 10px",wordWrap:"break-word"})),L4=w.div(({theme:e})=>({color:e.color.warningText})),qo=w.div(({theme:e})=>({color:e.base==="dark"?e.color.medium:e.color.dark,marginTop:2})),Yo=w.div(({warning:e,theme:t})=>({alignItems:"center",display:"flex",backgroundColor:e?t.base==="dark"?"#342E1A":t.background.warning:t.background.hoverable,border:`1px solid ${t.appBorderColor}`,borderRadius:3,borderTopLeftRadius:0,borderTopRightRadius:0,borderTop:0,fontSize:t.typography.size.s1,gap:5,lineHeight:"20px",padding:5,svg:{color:e?t.base==="dark"?t.color.warning:t.color.warningText:t.color.secondary,flexShrink:0},code:{fontSize:"85%"}})),R4=w.div(({theme:e})=>({"&:nth-last-of-type(2)":{borderBottom:`1px solid ${e.appBorderColor}`,paddingBottom:30}})),Ks={height:12,margin:2,verticalAlign:"top",width:12},I4=w(Su)(Ks),Z4=w(Eu)(Ks),B4=({onClose:e})=>{let{uninstallAddon:t}=Rl(),[n]=Ee(Ar),{configuration:r={},problems:i={},suggestions:l={}}=n||{},{configFile:o,...s}=r,c=Object.keys({...s,...i,...l}).sort().map(d=>({key:d,value:d in s?s[d]:void 0,problem:i[d],suggestion:l[d]}));return a.createElement(M4,null,a.createElement(_4,{onClick:e,style:{marginRight:-8}},a.createElement(Il,{"aria-label":"Close"})),a.createElement(T4,null,a.createElement(A4,null,"Configuration"),o?a.createElement(zo,null,"This is a read-only representation of the Chromatic configuration options found in"," ",a.createElement(Oe,null,o),". Changes to the config file will be reflected here."," ",a.createElement(Ut,{href:"https://www.chromatic.com/docs/configure/",target:"_blank",withArrow:!0},"Learn more")):a.createElement(zo,null,"To configure this addon, create ",a.createElement(Oe,null,"chromatic.config.json")," in your project's root directory."," ",a.createElement(Ut,{href:"https://www.chromatic.com/docs/cli#chromatic-config-file",target:"_blank",withArrow:!0},"Learn more")),c&&a.createElement(F4,null,c.map(({key:d,value:m,problem:u,suggestion:p})=>a.createElement(R4,{key:d,id:`${d}-option`},a.createElement(Uo,null,a.createElement($o,null,a.createElement(Wo,null,d," "),d in X5&&a.createElement(L4,null,"*Disabled for local builds")),a.createElement(qo,null,N4[d]?.description),a.createElement(Go,null,a.createElement(O4,{hideBorderRadius:!!(u||p)},m===void 0?"undefined":JSON.stringify(m)))),u!==void 0&&a.createElement(Yo,{warning:!0},a.createElement(I4,null),u===null?a.createElement("span",null,a.createElement("strong",null,"Warning: "),"This should be removed."):a.createElement("span",null,a.createElement("strong",null,"Warning: "),"This should be: ",a.createElement(Oe,null,JSON.stringify(u)))),p!==void 0&&a.createElement(Yo,null,a.createElement(Z4,null),a.createElement("span",null,a.createElement("strong",null,"Hint: "),"Try setting as ",a.createElement(Oe,null,JSON.stringify(p)))))),a.createElement("div",null,a.createElement(Uo,null,a.createElement($o,null,a.createElement(Wo,null,"Uninstall addon")),a.createElement(qo,null,"Removing the addon updates your Storybook configuration and uninstalls the dependency."),a.createElement(Go,null,a.createElement(ce,{onClick:t},"Uninstall")))))))},Js={configVisible:!1,settingsVisible:!1,warningsVisible:!1,baselineImageVisible:!1,focusVisible:!1,diffVisible:!1},dn=e=>(t,n)=>({...t,[e]:typeof n=="boolean"?n:!t[e]}),P4={toggleDiff:dn("diffVisible"),toggleFocus:dn("focusVisible"),toggleConfig:dn("configVisible"),toggleSettings:dn("settingsVisible"),toggleWarnings:dn("warningsVisible"),toggleBaselineImage:dn("baselineImageVisible")},V4=(e,t)=>P4[t.type](e,t.payload),Xs=je(Js),e0=je(()=>{}),Ir=()=>kt(Xs,"Controls"),Mn=()=>{let e=kt(e0,"ControlsDispatch");return ct(()=>({toggleDiff:t=>e({type:"toggleDiff",payload:t}),toggleFocus:t=>e({type:"toggleFocus",payload:t}),toggleConfig:t=>e({type:"toggleConfig",payload:t}),toggleSettings:t=>e({type:"toggleSettings",payload:t}),toggleWarnings:t=>e({type:"toggleWarnings",payload:t}),toggleBaselineImage:t=>e({type:"toggleBaselineImage",payload:t})}),[e])},D4=({children:e,initialState:t=Js})=>{let[n,r]=Yr(V4,t);return a.createElement(Xs.Provider,{value:n},a.createElement(e0.Provider,{value:r},e))},H4=w.div({"& > div":{minWidth:120}}),ia=({children:e,links:t,note:n,...r})=>{let[i,l]=a.useState(!1),o=a.createElement(we,{closeOnOutsideClick:!0,closeOnTriggerHidden:!0,onVisibleChange:s=>l(s),tooltip:({onHide:s})=>a.createElement(H4,null,a.createElement(ao,{links:t.map(c=>({...c,onClick:(...d)=>(s(),c.onClick?.(...d))}))})),trigger:"click",...r},typeof e=="function"?e(i):a.createElement(Je,{active:i},e));return n?a.createElement(we,{tooltip:a.createElement(Ae,{note:n}),trigger:"hover",hasChrome:!1},o):o},Zr=()=>{let{accessToken:e,setAccessToken:t}=js(),{toggleConfig:n}=Mn(),[r]=Ee(as),{projectId:i}=r||{},l=[{id:"learn",title:"About this addon",icon:a.createElement(cs,{"aria-hidden":!0}),href:"https://www.chromatic.com/docs/visual-testing-addon",target:"_blank"},{id:"configuration",title:"Configuration",icon:a.createElement(vu,{"aria-hidden":!0}),onClick:()=>n()},...i?[{id:"visit",title:"View project on Chromatic",icon:a.createElement(ds,{"aria-hidden":!0}),href:i?`https://www.chromatic.com/builds?appId=${i?.split(":")[1]}`:"https://www.chromatic.com/start",target:"_blank"}]:[],...e?[{id:"logout",title:"Log out",icon:a.createElement(Ru,{"aria-hidden":!0}),onClick:()=>t(null)}]:[]];return a.createElement(ia,{placement:"top",links:l},a.createElement(yu,null))};w.div(({hidden:e,theme:t})=>({background:t.background.app,containerType:"size",display:e?"none":"flex",flexDirection:"column",height:"100%"}));var j4=w.div({display:"flex",flexDirection:"column",flexGrow:1},({hidden:e})=>e&&{display:"none"}),Xn=w.div(({grow:e})=>e&&{flexGrow:e?1:"auto"}),Qn=w.div({display:"flex",flexDirection:"row",margin:15},({header:e,theme:t})=>e&&{margin:0,padding:15,borderBottom:`1px solid ${t.appBorderColor}`,"@container (min-width: 800px)":{height:40,alignItems:"center",justifyContent:"space-between",padding:"5px 15px"}}),z4=w(Qn)({alignItems:"center",height:40,margin:"0 10px"}),Xe=w.div({display:"flex",flexDirection:"column",alignItems:"center"},({push:e})=>e&&{marginLeft:"auto"}),Qo=w.div(({theme:e})=>({borderBottom:`1px solid ${e.appBorderColor}`,display:"flex",alignItems:"center",minHeight:40,lineHeight:"20px",padding:"5px 15px"})),U4=w(Xn)(({theme:e})=>({background:e.background.warning,color:e.color.warningText})),$4=w(Xn)(({theme:e})=>({background:e.background.hoverable,color:e.color.defaultText})),W4=({hidden:e,ignoreConfig:t,ignoreSuggestions:n,onOpen:r})=>{let[i]=Ee(Ar),l=Object.keys(i?.problems||{}),o=Object.keys(i?.suggestions||{}),[s,c]=_e(()=>!!localStorage.getItem(ko)),d=H(()=>{c(!0),localStorage.setItem(ko,"true")},[]),m=a.createElement(Be,{isButton:!0,onClick:()=>r(l[0]||o[0]),withArrow:!0},"Show details");return l.length>0&&!t?a.createElement(U4,{hidden:e},a.createElement(Qo,null,a.createElement(Xe,null,a.createElement("span",null,"Visual tests locked due to configuration ",(0,k4.default)("problem",l.length),"."," ",m)))):o.length>0&&!s&&!t&&!n?a.createElement($4,{hidden:e},a.createElement(Qo,null,a.createElement(Xe,null,a.createElement("span",null,"Configuration could be improved. ",m)),a.createElement(Xe,{push:!0},a.createElement(Je,{onClick:d},a.createElement(vl,null))))):null},G4=w.div({display:"flex",flexDirection:"column",height:"100%"}),Ko=w.div(({hidden:e,theme:t})=>({background:t.background.app,display:e?"none":"flex",flexDirection:"column",flexGrow:1,height:"100%",overflowY:"auto"})),Br=w.div(({theme:e})=>({background:e.background.bar,borderTop:`1px solid ${e.appBorderColor}`,display:"flex",flexDirection:"row",alignItems:"center",height:39,flexShrink:0,padding:"0 10px"})),ve=({children:e,footer:t=a.createElement(Br,null,a.createElement(Xe,{push:!0}),a.createElement(Xe,null,a.createElement(Zr,null))),ignoreConfig:n=!1,ignoreSuggestions:r=!t})=>{let{configVisible:i}=Ir(),{toggleConfig:l}=Mn(),o=H(s=>{l(!0),s&&setTimeout(()=>{document.getElementById(`${s}-option`)?.scrollIntoView({behavior:"smooth",inline:"nearest"})},200)},[l]);return a.createElement(G4,null,a.createElement(W4,{onOpen:o,hidden:i,ignoreConfig:n,ignoreSuggestions:r}),a.createElement(Ko,{hidden:i},e),a.createElement(Ko,{hidden:!i},a.createElement(B4,{onClose:()=>l(!1)})),t)},q4=w.div(({theme:e})=>({position:"relative","&& input":{color:e.input.color||"inherit",background:e.input.background,boxShadow:`${e.input.border} 0 0 0 1px inset`,fontSize:e.typography.size.s2,lineHeight:"20px"}})),Y4=w.div(({theme:e})=>({pointerEvents:"none",position:"absolute",top:0,left:40,right:0,zIndex:2,overflow:"hidden",height:40,display:"flex",alignItems:"center",lineHeight:"20px",color:e.input.color||"inherit",fontSize:e.typography.size.s2,span:{opacity:0}})),Q4=({value:e,placeholder:t,suffix:n})=>a.createElement(Y4,null,a.createElement("span",null,e||t),a.createElement("b",null,n)),K4=({id:e,value:t,placeholder:n,suffix:r,...i})=>a.createElement(q4,null,a.createElement($s,{id:e,hideLabel:!0,label:"",value:t,placeholder:n,crossOrigin:void 0,enterKeyHint:void 0,...i}),a.createElement(Q4,{value:t,placeholder:n,suffix:r})),Jo=w(Je)(({theme:e})=>({color:e.base==="light"?"currentColor":e.color.medium,fontSize:e.typography.size.s2,fontWeight:e.typography.weight.bold})),Pr=({onBack:e})=>a.createElement(z4,null,e&&a.createElement(Xe,null,a.createElement(Jo,{onClick:e},a.createElement(Nu,null),"Back")),a.createElement(Xe,{push:!0},a.createElement(we,{as:"div",hasChrome:!1,trigger:"hover",tooltip:a.createElement(Ae,{note:"Learn about visual tests"})},a.createElement(Jo,{as:"a",href:"https://www.chromatic.com/features/visual-test",target:"_blank"},a.createElement(cs,null))))),J4=w.form({position:"relative",display:"flex",flexDirection:"column",width:"100%",maxWidth:300,margin:10}),X4=w(Xr)({"&&":{fontSize:13,borderTopLeftRadius:0,borderTopRightRadius:0,borderBottomLeftRadius:4,borderBottomRightRadius:4}}),ep=({onBack:e,onSignIn:t})=>{let[n,r]=_e(""),[i,l]=_e(null),o=H(c=>{let d=c.target.value.replace(/[^a-z0-9-]/g,"");r(d),l(null)},[]),s=H(c=>{c.preventDefault(),n?t(n):l("Please enter a subdomain")},[n,t]);return a.createElement(ve,{footer:null,ignoreConfig:!0},a.createElement(Pr,{onBack:e}),a.createElement(he,null,a.createElement("div",null,a.createElement(Ys,null),a.createElement(an,null)),a.createElement(me,null,"Sign in with SSO"),a.createElement(j,{muted:!0},"Enter your team's Chromatic URL."),a.createElement(J4,{onSubmit:s},a.createElement(K4,{autoFocus:!0,icon:"users",value:n,placeholder:"yourteam",suffix:".chromatic.com",onChange:o,id:"subdomain-input",stackLevel:"top",error:i,errorTooltipPlacement:"top"}),a.createElement(X4,{type:"submit",variant:"solid",size:"medium"},"Continue"))))},Et=w.div(()=>({display:"flex",flexDirection:"column",gap:5,alignItems:"center",textAlign:"center"})),se=w.div(e=>({display:"flex",flexDirection:"column",gap:15,alignItems:e.alignItems??"center",textAlign:e.textAlign??"center"})),tp=({onBack:e,onSignIn:t,onSignInWithSSO:n})=>a.createElement(ve,{footer:null,ignoreConfig:!0},a.createElement(Pr,{onBack:e}),a.createElement(he,null,a.createElement(se,{alignItems:"center",textAlign:"center"},a.createElement("div",null,a.createElement(Ys,null),a.createElement(an,null),a.createElement(me,null,"Sign in to begin visual testing"),a.createElement(j,{center:!0,muted:!0},"Pinpoint bugs instantly by connecting with cloud browsers that run visual tests in parallel.")),a.createElement(Et,null,a.createElement(ce,{variant:"solid",size:"medium",onClick:()=>t()},"Sign in with Chromatic"),a.createElement(ce,{link:!0,onClick:()=>n()},"Sign in with SSO")))));function vn(e,t){return t}var np={"\n query VisualTestsProjectCountQuery {\n viewer {\n projectCount\n accounts {\n newProjectUrl\n }\n }\n }\n":Cm,"\n query SelectProjectsQuery {\n viewer {\n accounts {\n id\n name\n avatarUrl\n newProjectUrl\n projects {\n id\n name\n webUrl\n lastBuild {\n branch\n number\n }\n }\n }\n }\n }\n":Sm,"\n query ProjectQuery($projectId: ID!) {\n project(id: $projectId) {\n id\n name\n webUrl\n lastBuild {\n branch\n number\n }\n }\n }\n":xm,"\n mutation UpdateUserPreferences($input: UserPreferencesInput!) {\n updateUserPreferences(input: $input) {\n updatedPreferences {\n vtaOnboarding\n }\n }\n }\n":Nm,"\n query AddonVisualTestsBuild(\n $projectId: ID!\n $branch: String!\n $gitUserEmailHash: String!\n $repositoryOwnerName: String\n $storyId: String!\n $testStatuses: [TestStatus!]!\n $selectedBuildId: ID!\n $hasSelectedBuildId: Boolean!\n ) {\n project(id: $projectId) {\n name\n manageUrl\n account {\n billingUrl\n suspensionReason\n }\n features {\n uiTests\n }\n lastBuildOnBranch: lastBuild(\n branches: [$branch]\n repositoryOwnerName: $repositoryOwnerName\n localBuilds: { localBuildEmailHash: $gitUserEmailHash }\n ) {\n ...LastBuildOnBranchBuildFields\n ...SelectedBuildFields @skip(if: $hasSelectedBuildId)\n }\n lastBuild {\n id\n slug\n branch\n }\n }\n selectedBuild: build(id: $selectedBuildId) @include(if: $hasSelectedBuildId) {\n ...SelectedBuildFields\n }\n viewer {\n preferences {\n vtaOnboarding\n }\n projectMembership(projectId: $projectId) {\n userCanReview: meetsAccessLevel(minimumAccessLevel: REVIEWER)\n }\n }\n }\n":_m,"\n fragment LastBuildOnBranchBuildFields on Build {\n __typename\n id\n status\n committedAt\n ... on StartedBuild {\n testsForStatus: tests(first: 1000, statuses: $testStatuses) {\n nodes {\n ...StatusTestFields\n }\n }\n testsForStory: tests(storyId: $storyId) {\n nodes {\n ...LastBuildOnBranchTestFields\n }\n }\n }\n ... on CompletedBuild {\n result\n testsForStatus: tests(first: 1000, statuses: $testStatuses) {\n nodes {\n ...StatusTestFields\n }\n }\n testsForStory: tests(storyId: $storyId) {\n nodes {\n ...LastBuildOnBranchTestFields\n }\n }\n }\n }\n":bm,"\n fragment SelectedBuildFields on Build {\n __typename\n id\n number\n branch\n commit\n committedAt\n uncommittedHash\n status\n ... on StartedBuild {\n startedAt\n testsForStory: tests(storyId: $storyId) {\n nodes {\n ...StoryTestFields\n }\n }\n }\n ... on CompletedBuild {\n startedAt\n testsForStory: tests(storyId: $storyId) {\n nodes {\n ...StoryTestFields\n }\n }\n }\n }\n":wm,"\n fragment StatusTestFields on Test {\n id\n status\n result\n story {\n storyId\n }\n }\n":ym,"\n fragment LastBuildOnBranchTestFields on Test {\n status\n result\n }\n":Em,"\n fragment StoryTestFields on Test {\n id\n status\n result\n webUrl\n comparisons {\n id\n result\n browser {\n id\n key\n name\n version\n }\n captureDiff {\n diffImage(signed: true) {\n imageUrl\n imageWidth\n }\n focusImage(signed: true) {\n imageUrl\n imageWidth\n }\n }\n headCapture {\n captureImage(signed: true) {\n backgroundColor\n imageUrl\n imageWidth\n imageHeight\n thumbnailUrl\n }\n captureError {\n kind\n ... on CaptureErrorInteractionFailure {\n error\n }\n ... on CaptureErrorJSError {\n error\n }\n ... on CaptureErrorFailedJS {\n error\n }\n }\n }\n baseCapture {\n captureImage(signed: true) {\n imageUrl\n imageWidth\n imageHeight\n }\n }\n }\n mode {\n name\n globals\n }\n story {\n storyId\n name\n component {\n name\n }\n }\n }\n":km,"\n mutation ReviewTest($input: ReviewTestInput!) {\n reviewTest(input: $input) {\n updatedTests {\n id\n status\n }\n userErrors {\n ... on UserError {\n __typename\n message\n }\n ... on BuildSupersededError {\n build {\n id\n }\n }\n ... on TestUnreviewableError {\n test {\n id\n }\n }\n }\n }\n }\n":Mm};function lt(e){return np[e]??{}}var le;(function(e){e.assertEqual=i=>i;function t(i){}e.assertIs=t;function n(i){throw new Error}e.assertNever=n,e.arrayToEnum=i=>{let l={};for(let o of i)l[o]=o;return l},e.getValidEnumValues=i=>{let l=e.objectKeys(i).filter(s=>typeof i[i[s]]!="number"),o={};for(let s of l)o[s]=i[s];return e.objectValues(o)},e.objectValues=i=>e.objectKeys(i).map(function(l){return i[l]}),e.objectKeys=typeof Object.keys=="function"?i=>Object.keys(i):i=>{let l=[];for(let o in i)Object.prototype.hasOwnProperty.call(i,o)&&l.push(o);return l},e.find=(i,l)=>{for(let o of i)if(l(o))return o},e.isInteger=typeof Number.isInteger=="function"?i=>Number.isInteger(i):i=>typeof i=="number"&&isFinite(i)&&Math.floor(i)===i;function r(i,l=" | "){return i.map(o=>typeof o=="string"?`'${o}'`:o).join(l)}e.joinValues=r,e.jsonStringifyReplacer=(i,l)=>typeof l=="bigint"?l.toString():l})(le||(le={}));var el;(function(e){e.mergeShapes=(t,n)=>({...t,...n})})(el||(el={}));var _=le.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Rt=e=>{switch(typeof e){case"undefined":return _.undefined;case"string":return _.string;case"number":return isNaN(e)?_.nan:_.number;case"boolean":return _.boolean;case"function":return _.function;case"bigint":return _.bigint;case"symbol":return _.symbol;case"object":return Array.isArray(e)?_.array:e===null?_.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?_.promise:typeof Map<"u"&&e instanceof Map?_.map:typeof Set<"u"&&e instanceof Set?_.set:typeof Date<"u"&&e instanceof Date?_.date:_.object;default:return _.unknown}},x=le.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),ap=e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:"),at=class extends Error{constructor(e){super(),this.issues=[],this.addIssue=n=>{this.issues=[...this.issues,n]},this.addIssues=(n=[])=>{this.issues=[...this.issues,...n]};let t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=e}get errors(){return this.issues}format(e){let t=e||function(i){return i.message},n={_errors:[]},r=i=>{for(let l of i.issues)if(l.code==="invalid_union")l.unionErrors.map(r);else if(l.code==="invalid_return_type")r(l.returnTypeError);else if(l.code==="invalid_arguments")r(l.argumentsError);else if(l.path.length===0)n._errors.push(t(l));else{let o=n,s=0;for(;st.message){let t={},n=[];for(let r of this.issues)r.path.length>0?(t[r.path[0]]=t[r.path[0]]||[],t[r.path[0]].push(e(r))):n.push(e(r));return{formErrors:n,fieldErrors:t}}get formErrors(){return this.flatten()}};at.create=e=>new at(e);var la=(e,t)=>{let n;switch(e.code){case x.invalid_type:e.received===_.undefined?n="Required":n=`Expected ${e.expected}, received ${e.received}`;break;case x.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,le.jsonStringifyReplacer)}`;break;case x.unrecognized_keys:n=`Unrecognized key(s) in object: ${le.joinValues(e.keys,", ")}`;break;case x.invalid_union:n="Invalid input";break;case x.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${le.joinValues(e.options)}`;break;case x.invalid_enum_value:n=`Invalid enum value. Expected ${le.joinValues(e.options)}, received '${e.received}'`;break;case x.invalid_arguments:n="Invalid function arguments";break;case x.invalid_return_type:n="Invalid function return type";break;case x.invalid_date:n="Invalid date";break;case x.invalid_string:typeof e.validation=="object"?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:le.assertNever(e.validation):e.validation!=="regex"?n=`Invalid ${e.validation}`:n="Invalid";break;case x.too_small:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:n="Invalid input";break;case x.too_big:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="bigint"?n=`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:n="Invalid input";break;case x.custom:n="Invalid input";break;case x.invalid_intersection_types:n="Intersection results could not be merged";break;case x.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case x.not_finite:n="Number must be finite";break;default:n=t.defaultError,le.assertNever(e)}return{message:n}},t0=la;function rp(e){t0=e}function mr(){return t0}var pr=e=>{let{data:t,path:n,errorMaps:r,issueData:i}=e,l=[...n,...i.path||[]],o={...i,path:l},s="",c=r.filter(d=>!!d).slice().reverse();for(let d of c)s=d(o,{data:t,defaultError:s}).message;return{...i,path:l,message:i.message||s}},ip=[];function A(e,t){let n=pr({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,mr(),la].filter(r=>!!r)});e.common.issues.push(n)}var Pe=class{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(e,t){let n=[];for(let r of t){if(r.status==="aborted")return z;r.status==="dirty"&&e.dirty(),n.push(r.value)}return{status:e.value,value:n}}static async mergeObjectAsync(e,t){let n=[];for(let r of t)n.push({key:await r.key,value:await r.value});return Pe.mergeObjectSync(e,n)}static mergeObjectSync(e,t){let n={};for(let r of t){let{key:i,value:l}=r;if(i.status==="aborted"||l.status==="aborted")return z;i.status==="dirty"&&e.dirty(),l.status==="dirty"&&e.dirty(),i.value!=="__proto__"&&(typeof l.value<"u"||r.alwaysSet)&&(n[i.value]=l.value)}return{status:e.value,value:n}}},z=Object.freeze({status:"aborted"}),n0=e=>({status:"dirty",value:e}),Ve=e=>({status:"valid",value:e}),tl=e=>e.status==="aborted",nl=e=>e.status==="dirty",oa=e=>e.status==="valid",hr=e=>typeof Promise<"u"&&e instanceof Promise,B;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t?.message})(B||(B={}));var bt=class{constructor(e,t,n,r){this._cachedPath=[],this.parent=e,this.data=t,this._path=n,this._key=r}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}},Xo=(e,t)=>{if(oa(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let n=new at(e.common.issues);return this._error=n,this._error}}};function W(e){if(!e)return{};let{errorMap:t,invalid_type_error:n,required_error:r,description:i}=e;if(t&&(n||r))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:i}:{errorMap:(l,o)=>l.code!=="invalid_type"?{message:o.defaultError}:typeof o.data>"u"?{message:r??o.defaultError}:{message:n??o.defaultError},description:i}}var Q=class{constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this)}get description(){return this._def.description}_getType(e){return Rt(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:Rt(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new Pe,ctx:{common:e.parent.common,data:e.data,parsedType:Rt(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let t=this._parse(e);if(hr(t))throw new Error("Synchronous parse encountered promise.");return t}_parseAsync(e){let t=this._parse(e);return Promise.resolve(t)}parse(e,t){let n=this.safeParse(e,t);if(n.success)return n.data;throw n.error}safeParse(e,t){var n;let r={common:{issues:[],async:(n=t?.async)!==null&&n!==void 0?n:!1,contextualErrorMap:t?.errorMap},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:Rt(e)},i=this._parseSync({data:e,path:r.path,parent:r});return Xo(r,i)}async parseAsync(e,t){let n=await this.safeParseAsync(e,t);if(n.success)return n.data;throw n.error}async safeParseAsync(e,t){let n={common:{issues:[],contextualErrorMap:t?.errorMap,async:!0},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:Rt(e)},r=this._parse({data:e,path:n.path,parent:n}),i=await(hr(r)?r:Promise.resolve(r));return Xo(n,i)}refine(e,t){let n=r=>typeof t=="string"||typeof t>"u"?{message:t}:typeof t=="function"?t(r):t;return this._refinement((r,i)=>{let l=e(r),o=()=>i.addIssue({code:x.custom,...n(r)});return typeof Promise<"u"&&l instanceof Promise?l.then(s=>s?!0:(o(),!1)):l?!0:(o(),!1)})}refinement(e,t){return this._refinement((n,r)=>e(n)?!0:(r.addIssue(typeof t=="function"?t(n,r):t),!1))}_refinement(e){return new rt({schema:this,typeName:D.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}optional(){return xt.create(this,this._def)}nullable(){return en.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return vt.create(this,this._def)}promise(){return Sn.create(this,this._def)}or(e){return ua.create([this,e],this._def)}and(e){return ma.create(this,e,this._def)}transform(e){return new rt({...W(this._def),schema:this,typeName:D.ZodEffects,effect:{type:"transform",transform:e}})}default(e){let t=typeof e=="function"?e:()=>e;return new ga({...W(this._def),innerType:this,defaultValue:t,typeName:D.ZodDefault})}brand(){return new r0({typeName:D.ZodBranded,type:this,...W(this._def)})}catch(e){let t=typeof e=="function"?e:()=>e;return new Er({...W(this._def),innerType:this,catchValue:t,typeName:D.ZodCatch})}describe(e){let t=this.constructor;return new t({...this._def,description:e})}pipe(e){return Vr.create(this,e)}readonly(){return kr.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}},lp=/^c[^\s-]{8,}$/i,op=/^[a-z][a-z0-9]*$/,sp=/^[0-9A-HJKMNP-TV-Z]{26}$/,cp=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,dp=/^(?!\.)(?!.*\.\.)([A-Z0-9_+-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,up="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$",bi,mp=/^(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))$/,pp=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,hp=e=>e.precision?e.offset?new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${e.precision}}(([+-]\\d{2}(:?\\d{2})?)|Z)$`):new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${e.precision}}Z$`):e.precision===0?e.offset?new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(([+-]\\d{2}(:?\\d{2})?)|Z)$"):new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$"):e.offset?new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$"):new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z$");function fp(e,t){return!!((t==="v4"||!t)&&mp.test(e)||(t==="v6"||!t)&&pp.test(e))}var ht=class extends Q{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==_.string){let r=this._getOrReturnCtx(e);return A(r,{code:x.invalid_type,expected:_.string,received:r.parsedType}),z}let t=new Pe,n;for(let r of this._def.checks)if(r.kind==="min")e.data.lengthr.value&&(n=this._getOrReturnCtx(e,n),A(n,{code:x.too_big,maximum:r.value,type:"string",inclusive:!0,exact:!1,message:r.message}),t.dirty());else if(r.kind==="length"){let i=e.data.length>r.value,l=e.data.lengthe.test(r),{validation:t,code:x.invalid_string,...B.errToObj(n)})}_addCheck(e){return new ht({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...B.errToObj(e)})}url(e){return this._addCheck({kind:"url",...B.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...B.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...B.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...B.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...B.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...B.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...B.errToObj(e)})}datetime(e){var t;return typeof e=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,message:e}):this._addCheck({kind:"datetime",precision:typeof e?.precision>"u"?null:e?.precision,offset:(t=e?.offset)!==null&&t!==void 0?t:!1,...B.errToObj(e?.message)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...B.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:t?.position,...B.errToObj(t?.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...B.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...B.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...B.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...B.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...B.errToObj(t)})}nonempty(e){return this.min(1,B.errToObj(e))}trim(){return new ht({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new ht({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new ht({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>e.kind==="datetime")}get isEmail(){return!!this._def.checks.find(e=>e.kind==="email")}get isURL(){return!!this._def.checks.find(e=>e.kind==="url")}get isEmoji(){return!!this._def.checks.find(e=>e.kind==="emoji")}get isUUID(){return!!this._def.checks.find(e=>e.kind==="uuid")}get isCUID(){return!!this._def.checks.find(e=>e.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(e=>e.kind==="cuid2")}get isULID(){return!!this._def.checks.find(e=>e.kind==="ulid")}get isIP(){return!!this._def.checks.find(e=>e.kind==="ip")}get minLength(){let e=null;for(let t of this._def.checks)t.kind==="min"&&(e===null||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(let t of this._def.checks)t.kind==="max"&&(e===null||t.value{var t;return new ht({checks:[],typeName:D.ZodString,coerce:(t=e?.coerce)!==null&&t!==void 0?t:!1,...W(e)})};function gp(e,t){let n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,i=n>r?n:r,l=parseInt(e.toFixed(i).replace(".","")),o=parseInt(t.toFixed(i).replace(".",""));return l%o/Math.pow(10,i)}var Kt=class extends Q{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==_.number){let r=this._getOrReturnCtx(e);return A(r,{code:x.invalid_type,expected:_.number,received:r.parsedType}),z}let t,n=new Pe;for(let r of this._def.checks)r.kind==="int"?le.isInteger(e.data)||(t=this._getOrReturnCtx(e,t),A(t,{code:x.invalid_type,expected:"integer",received:"float",message:r.message}),n.dirty()):r.kind==="min"?(r.inclusive?e.datar.value:e.data>=r.value)&&(t=this._getOrReturnCtx(e,t),A(t,{code:x.too_big,maximum:r.value,type:"number",inclusive:r.inclusive,exact:!1,message:r.message}),n.dirty()):r.kind==="multipleOf"?gp(e.data,r.value)!==0&&(t=this._getOrReturnCtx(e,t),A(t,{code:x.not_multiple_of,multipleOf:r.value,message:r.message}),n.dirty()):r.kind==="finite"?Number.isFinite(e.data)||(t=this._getOrReturnCtx(e,t),A(t,{code:x.not_finite,message:r.message}),n.dirty()):le.assertNever(r);return{status:n.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,B.toString(t))}gt(e,t){return this.setLimit("min",e,!1,B.toString(t))}lte(e,t){return this.setLimit("max",e,!0,B.toString(t))}lt(e,t){return this.setLimit("max",e,!1,B.toString(t))}setLimit(e,t,n,r){return new Kt({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:B.toString(r)}]})}_addCheck(e){return new Kt({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:B.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:B.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:B.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:B.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:B.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:B.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:B.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:B.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:B.toString(e)})}get minValue(){let e=null;for(let t of this._def.checks)t.kind==="min"&&(e===null||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)t.kind==="max"&&(e===null||t.valuee.kind==="int"||e.kind==="multipleOf"&&le.isInteger(e.value))}get isFinite(){let e=null,t=null;for(let n of this._def.checks){if(n.kind==="finite"||n.kind==="int"||n.kind==="multipleOf")return!0;n.kind==="min"?(t===null||n.value>t)&&(t=n.value):n.kind==="max"&&(e===null||n.valuenew Kt({checks:[],typeName:D.ZodNumber,coerce:e?.coerce||!1,...W(e)});var Jt=class extends Q{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce&&(e.data=BigInt(e.data)),this._getType(e)!==_.bigint){let r=this._getOrReturnCtx(e);return A(r,{code:x.invalid_type,expected:_.bigint,received:r.parsedType}),z}let t,n=new Pe;for(let r of this._def.checks)r.kind==="min"?(r.inclusive?e.datar.value:e.data>=r.value)&&(t=this._getOrReturnCtx(e,t),A(t,{code:x.too_big,type:"bigint",maximum:r.value,inclusive:r.inclusive,message:r.message}),n.dirty()):r.kind==="multipleOf"?e.data%r.value!==BigInt(0)&&(t=this._getOrReturnCtx(e,t),A(t,{code:x.not_multiple_of,multipleOf:r.value,message:r.message}),n.dirty()):le.assertNever(r);return{status:n.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,B.toString(t))}gt(e,t){return this.setLimit("min",e,!1,B.toString(t))}lte(e,t){return this.setLimit("max",e,!0,B.toString(t))}lt(e,t){return this.setLimit("max",e,!1,B.toString(t))}setLimit(e,t,n,r){return new Jt({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:B.toString(r)}]})}_addCheck(e){return new Jt({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:B.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:B.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:B.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:B.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:B.toString(t)})}get minValue(){let e=null;for(let t of this._def.checks)t.kind==="min"&&(e===null||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)t.kind==="max"&&(e===null||t.value{var t;return new Jt({checks:[],typeName:D.ZodBigInt,coerce:(t=e?.coerce)!==null&&t!==void 0?t:!1,...W(e)})};var sa=class extends Q{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==_.boolean){let t=this._getOrReturnCtx(e);return A(t,{code:x.invalid_type,expected:_.boolean,received:t.parsedType}),z}return Ve(e.data)}};sa.create=e=>new sa({typeName:D.ZodBoolean,coerce:e?.coerce||!1,...W(e)});var kn=class extends Q{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==_.date){let r=this._getOrReturnCtx(e);return A(r,{code:x.invalid_type,expected:_.date,received:r.parsedType}),z}if(isNaN(e.data.getTime())){let r=this._getOrReturnCtx(e);return A(r,{code:x.invalid_date}),z}let t=new Pe,n;for(let r of this._def.checks)r.kind==="min"?e.data.getTime()r.value&&(n=this._getOrReturnCtx(e,n),A(n,{code:x.too_big,message:r.message,inclusive:!0,exact:!1,maximum:r.value,type:"date"}),t.dirty()):le.assertNever(r);return{status:t.value,value:new Date(e.data.getTime())}}_addCheck(e){return new kn({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:B.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:B.toString(t)})}get minDate(){let e=null;for(let t of this._def.checks)t.kind==="min"&&(e===null||t.value>e)&&(e=t.value);return e!=null?new Date(e):null}get maxDate(){let e=null;for(let t of this._def.checks)t.kind==="max"&&(e===null||t.valuenew kn({checks:[],coerce:e?.coerce||!1,typeName:D.ZodDate,...W(e)});var fr=class extends Q{_parse(e){if(this._getType(e)!==_.symbol){let t=this._getOrReturnCtx(e);return A(t,{code:x.invalid_type,expected:_.symbol,received:t.parsedType}),z}return Ve(e.data)}};fr.create=e=>new fr({typeName:D.ZodSymbol,...W(e)});var ca=class extends Q{_parse(e){if(this._getType(e)!==_.undefined){let t=this._getOrReturnCtx(e);return A(t,{code:x.invalid_type,expected:_.undefined,received:t.parsedType}),z}return Ve(e.data)}};ca.create=e=>new ca({typeName:D.ZodUndefined,...W(e)});var da=class extends Q{_parse(e){if(this._getType(e)!==_.null){let t=this._getOrReturnCtx(e);return A(t,{code:x.invalid_type,expected:_.null,received:t.parsedType}),z}return Ve(e.data)}};da.create=e=>new da({typeName:D.ZodNull,...W(e)});var wn=class extends Q{constructor(){super(...arguments),this._any=!0}_parse(e){return Ve(e.data)}};wn.create=e=>new wn({typeName:D.ZodAny,...W(e)});var Qt=class extends Q{constructor(){super(...arguments),this._unknown=!0}_parse(e){return Ve(e.data)}};Qt.create=e=>new Qt({typeName:D.ZodUnknown,...W(e)});var Nt=class extends Q{_parse(e){let t=this._getOrReturnCtx(e);return A(t,{code:x.invalid_type,expected:_.never,received:t.parsedType}),z}};Nt.create=e=>new Nt({typeName:D.ZodNever,...W(e)});var gr=class extends Q{_parse(e){if(this._getType(e)!==_.undefined){let t=this._getOrReturnCtx(e);return A(t,{code:x.invalid_type,expected:_.void,received:t.parsedType}),z}return Ve(e.data)}};gr.create=e=>new gr({typeName:D.ZodVoid,...W(e)});var vt=class extends Q{_parse(e){let{ctx:t,status:n}=this._processInputParams(e),r=this._def;if(t.parsedType!==_.array)return A(t,{code:x.invalid_type,expected:_.array,received:t.parsedType}),z;if(r.exactLength!==null){let l=t.data.length>r.exactLength.value,o=t.data.lengthr.maxLength.value&&(A(t,{code:x.too_big,maximum:r.maxLength.value,type:"array",inclusive:!0,exact:!1,message:r.maxLength.message}),n.dirty()),t.common.async)return Promise.all([...t.data].map((l,o)=>r.type._parseAsync(new bt(t,l,t.path,o)))).then(l=>Pe.mergeArray(n,l));let i=[...t.data].map((l,o)=>r.type._parseSync(new bt(t,l,t.path,o)));return Pe.mergeArray(n,i)}get element(){return this._def.type}min(e,t){return new vt({...this._def,minLength:{value:e,message:B.toString(t)}})}max(e,t){return new vt({...this._def,maxLength:{value:e,message:B.toString(t)}})}length(e,t){return new vt({...this._def,exactLength:{value:e,message:B.toString(t)}})}nonempty(e){return this.min(1,e)}};vt.create=(e,t)=>new vt({type:e,minLength:null,maxLength:null,exactLength:null,typeName:D.ZodArray,...W(t)});function pn(e){if(e instanceof be){let t={};for(let n in e.shape){let r=e.shape[n];t[n]=xt.create(pn(r))}return new be({...e._def,shape:()=>t})}else return e instanceof vt?new vt({...e._def,type:pn(e.element)}):e instanceof xt?xt.create(pn(e.unwrap())):e instanceof en?en.create(pn(e.unwrap())):e instanceof _t?_t.create(e.items.map(t=>pn(t))):e}var be=class extends Q{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;let e=this._def.shape(),t=le.objectKeys(e);return this._cached={shape:e,keys:t}}_parse(e){if(this._getType(e)!==_.object){let s=this._getOrReturnCtx(e);return A(s,{code:x.invalid_type,expected:_.object,received:s.parsedType}),z}let{status:t,ctx:n}=this._processInputParams(e),{shape:r,keys:i}=this._getCached(),l=[];if(!(this._def.catchall instanceof Nt&&this._def.unknownKeys==="strip"))for(let s in n.data)i.includes(s)||l.push(s);let o=[];for(let s of i){let c=r[s],d=n.data[s];o.push({key:{status:"valid",value:s},value:c._parse(new bt(n,d,n.path,s)),alwaysSet:s in n.data})}if(this._def.catchall instanceof Nt){let s=this._def.unknownKeys;if(s==="passthrough")for(let c of l)o.push({key:{status:"valid",value:c},value:{status:"valid",value:n.data[c]}});else if(s==="strict")l.length>0&&(A(n,{code:x.unrecognized_keys,keys:l}),t.dirty());else if(s!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{let s=this._def.catchall;for(let c of l){let d=n.data[c];o.push({key:{status:"valid",value:c},value:s._parse(new bt(n,d,n.path,c)),alwaysSet:c in n.data})}}return n.common.async?Promise.resolve().then(async()=>{let s=[];for(let c of o){let d=await c.key;s.push({key:d,value:await c.value,alwaysSet:c.alwaysSet})}return s}).then(s=>Pe.mergeObjectSync(t,s)):Pe.mergeObjectSync(t,o)}get shape(){return this._def.shape()}strict(e){return B.errToObj,new be({...this._def,unknownKeys:"strict",...e!==void 0?{errorMap:(t,n)=>{var r,i,l,o;let s=(l=(i=(r=this._def).errorMap)===null||i===void 0?void 0:i.call(r,t,n).message)!==null&&l!==void 0?l:n.defaultError;return t.code==="unrecognized_keys"?{message:(o=B.errToObj(e).message)!==null&&o!==void 0?o:s}:{message:s}}}:{}})}strip(){return new be({...this._def,unknownKeys:"strip"})}passthrough(){return new be({...this._def,unknownKeys:"passthrough"})}extend(e){return new be({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new be({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:D.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new be({...this._def,catchall:e})}pick(e){let t={};return le.objectKeys(e).forEach(n=>{e[n]&&this.shape[n]&&(t[n]=this.shape[n])}),new be({...this._def,shape:()=>t})}omit(e){let t={};return le.objectKeys(this.shape).forEach(n=>{e[n]||(t[n]=this.shape[n])}),new be({...this._def,shape:()=>t})}deepPartial(){return pn(this)}partial(e){let t={};return le.objectKeys(this.shape).forEach(n=>{let r=this.shape[n];e&&!e[n]?t[n]=r:t[n]=r.optional()}),new be({...this._def,shape:()=>t})}required(e){let t={};return le.objectKeys(this.shape).forEach(n=>{if(e&&!e[n])t[n]=this.shape[n];else{let r=this.shape[n];for(;r instanceof xt;)r=r._def.innerType;t[n]=r}}),new be({...this._def,shape:()=>t})}keyof(){return a0(le.objectKeys(this.shape))}};be.create=(e,t)=>new be({shape:()=>e,unknownKeys:"strip",catchall:Nt.create(),typeName:D.ZodObject,...W(t)});be.strictCreate=(e,t)=>new be({shape:()=>e,unknownKeys:"strict",catchall:Nt.create(),typeName:D.ZodObject,...W(t)});be.lazycreate=(e,t)=>new be({shape:e,unknownKeys:"strip",catchall:Nt.create(),typeName:D.ZodObject,...W(t)});var ua=class extends Q{_parse(e){let{ctx:t}=this._processInputParams(e),n=this._def.options;function r(i){for(let o of i)if(o.result.status==="valid")return o.result;for(let o of i)if(o.result.status==="dirty")return t.common.issues.push(...o.ctx.common.issues),o.result;let l=i.map(o=>new at(o.ctx.common.issues));return A(t,{code:x.invalid_union,unionErrors:l}),z}if(t.common.async)return Promise.all(n.map(async i=>{let l={...t,common:{...t.common,issues:[]},parent:null};return{result:await i._parseAsync({data:t.data,path:t.path,parent:l}),ctx:l}})).then(r);{let i,l=[];for(let s of n){let c={...t,common:{...t.common,issues:[]},parent:null},d=s._parseSync({data:t.data,path:t.path,parent:c});if(d.status==="valid")return d;d.status==="dirty"&&!i&&(i={result:d,ctx:c}),c.common.issues.length&&l.push(c.common.issues)}if(i)return t.common.issues.push(...i.ctx.common.issues),i.result;let o=l.map(s=>new at(s));return A(t,{code:x.invalid_union,unionErrors:o}),z}}get options(){return this._def.options}};ua.create=(e,t)=>new ua({options:e,typeName:D.ZodUnion,...W(t)});var Ka=e=>e instanceof pa?Ka(e.schema):e instanceof rt?Ka(e.innerType()):e instanceof ha?[e.value]:e instanceof Xt?e.options:e instanceof fa?Object.keys(e.enum):e instanceof ga?Ka(e._def.innerType):e instanceof ca?[void 0]:e instanceof da?[null]:null,Bl=class extends Q{_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==_.object)return A(t,{code:x.invalid_type,expected:_.object,received:t.parsedType}),z;let n=this.discriminator,r=t.data[n],i=this.optionsMap.get(r);return i?t.common.async?i._parseAsync({data:t.data,path:t.path,parent:t}):i._parseSync({data:t.data,path:t.path,parent:t}):(A(t,{code:x.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[n]}),z)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,t,n){let r=new Map;for(let i of t){let l=Ka(i.shape[e]);if(!l)throw new Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(let o of l){if(r.has(o))throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(o)}`);r.set(o,i)}}return new Bl({typeName:D.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:r,...W(n)})}};function al(e,t){let n=Rt(e),r=Rt(t);if(e===t)return{valid:!0,data:e};if(n===_.object&&r===_.object){let i=le.objectKeys(t),l=le.objectKeys(e).filter(s=>i.indexOf(s)!==-1),o={...e,...t};for(let s of l){let c=al(e[s],t[s]);if(!c.valid)return{valid:!1};o[s]=c.data}return{valid:!0,data:o}}else if(n===_.array&&r===_.array){if(e.length!==t.length)return{valid:!1};let i=[];for(let l=0;l{if(tl(i)||tl(l))return z;let o=al(i.value,l.value);return o.valid?((nl(i)||nl(l))&&t.dirty(),{status:t.value,value:o.data}):(A(n,{code:x.invalid_intersection_types}),z)};return n.common.async?Promise.all([this._def.left._parseAsync({data:n.data,path:n.path,parent:n}),this._def.right._parseAsync({data:n.data,path:n.path,parent:n})]).then(([i,l])=>r(i,l)):r(this._def.left._parseSync({data:n.data,path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,parent:n}))}};ma.create=(e,t,n)=>new ma({left:e,right:t,typeName:D.ZodIntersection,...W(n)});var _t=class extends Q{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==_.array)return A(n,{code:x.invalid_type,expected:_.array,received:n.parsedType}),z;if(n.data.lengththis._def.items.length&&(A(n,{code:x.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());let r=[...n.data].map((i,l)=>{let o=this._def.items[l]||this._def.rest;return o?o._parse(new bt(n,i,n.path,l)):null}).filter(i=>!!i);return n.common.async?Promise.all(r).then(i=>Pe.mergeArray(t,i)):Pe.mergeArray(t,r)}get items(){return this._def.items}rest(e){return new _t({...this._def,rest:e})}};_t.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new _t({items:e,typeName:D.ZodTuple,rest:null,...W(t)})};var vr=class extends Q{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==_.object)return A(n,{code:x.invalid_type,expected:_.object,received:n.parsedType}),z;let r=[],i=this._def.keyType,l=this._def.valueType;for(let o in n.data)r.push({key:i._parse(new bt(n,o,n.path,o)),value:l._parse(new bt(n,n.data[o],n.path,o))});return n.common.async?Pe.mergeObjectAsync(t,r):Pe.mergeObjectSync(t,r)}get element(){return this._def.valueType}static create(e,t,n){return t instanceof Q?new vr({keyType:e,valueType:t,typeName:D.ZodRecord,...W(n)}):new vr({keyType:ht.create(),valueType:e,typeName:D.ZodRecord,...W(t)})}},yr=class extends Q{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==_.map)return A(n,{code:x.invalid_type,expected:_.map,received:n.parsedType}),z;let r=this._def.keyType,i=this._def.valueType,l=[...n.data.entries()].map(([o,s],c)=>({key:r._parse(new bt(n,o,n.path,[c,"key"])),value:i._parse(new bt(n,s,n.path,[c,"value"]))}));if(n.common.async){let o=new Map;return Promise.resolve().then(async()=>{for(let s of l){let c=await s.key,d=await s.value;if(c.status==="aborted"||d.status==="aborted")return z;(c.status==="dirty"||d.status==="dirty")&&t.dirty(),o.set(c.value,d.value)}return{status:t.value,value:o}})}else{let o=new Map;for(let s of l){let c=s.key,d=s.value;if(c.status==="aborted"||d.status==="aborted")return z;(c.status==="dirty"||d.status==="dirty")&&t.dirty(),o.set(c.value,d.value)}return{status:t.value,value:o}}}};yr.create=(e,t,n)=>new yr({valueType:t,keyType:e,typeName:D.ZodMap,...W(n)});var Cn=class extends Q{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==_.set)return A(n,{code:x.invalid_type,expected:_.set,received:n.parsedType}),z;let r=this._def;r.minSize!==null&&n.data.sizer.maxSize.value&&(A(n,{code:x.too_big,maximum:r.maxSize.value,type:"set",inclusive:!0,exact:!1,message:r.maxSize.message}),t.dirty());let i=this._def.valueType;function l(s){let c=new Set;for(let d of s){if(d.status==="aborted")return z;d.status==="dirty"&&t.dirty(),c.add(d.value)}return{status:t.value,value:c}}let o=[...n.data.values()].map((s,c)=>i._parse(new bt(n,s,n.path,c)));return n.common.async?Promise.all(o).then(s=>l(s)):l(o)}min(e,t){return new Cn({...this._def,minSize:{value:e,message:B.toString(t)}})}max(e,t){return new Cn({...this._def,maxSize:{value:e,message:B.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}};Cn.create=(e,t)=>new Cn({valueType:e,minSize:null,maxSize:null,typeName:D.ZodSet,...W(t)});var ea=class extends Q{constructor(){super(...arguments),this.validate=this.implement}_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==_.function)return A(t,{code:x.invalid_type,expected:_.function,received:t.parsedType}),z;function n(o,s){return pr({data:o,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,mr(),la].filter(c=>!!c),issueData:{code:x.invalid_arguments,argumentsError:s}})}function r(o,s){return pr({data:o,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,mr(),la].filter(c=>!!c),issueData:{code:x.invalid_return_type,returnTypeError:s}})}let i={errorMap:t.common.contextualErrorMap},l=t.data;if(this._def.returns instanceof Sn){let o=this;return Ve(async function(...s){let c=new at([]),d=await o._def.args.parseAsync(s,i).catch(u=>{throw c.addIssue(n(s,u)),c}),m=await Reflect.apply(l,this,d);return await o._def.returns._def.type.parseAsync(m,i).catch(u=>{throw c.addIssue(r(m,u)),c})})}else{let o=this;return Ve(function(...s){let c=o._def.args.safeParse(s,i);if(!c.success)throw new at([n(s,c.error)]);let d=Reflect.apply(l,this,c.data),m=o._def.returns.safeParse(d,i);if(!m.success)throw new at([r(d,m.error)]);return m.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new ea({...this._def,args:_t.create(e).rest(Qt.create())})}returns(e){return new ea({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,t,n){return new ea({args:e||_t.create([]).rest(Qt.create()),returns:t||Qt.create(),typeName:D.ZodFunction,...W(n)})}},pa=class extends Q{get schema(){return this._def.getter()}_parse(e){let{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}};pa.create=(e,t)=>new pa({getter:e,typeName:D.ZodLazy,...W(t)});var ha=class extends Q{_parse(e){if(e.data!==this._def.value){let t=this._getOrReturnCtx(e);return A(t,{received:t.data,code:x.invalid_literal,expected:this._def.value}),z}return{status:"valid",value:e.data}}get value(){return this._def.value}};ha.create=(e,t)=>new ha({value:e,typeName:D.ZodLiteral,...W(t)});function a0(e,t){return new Xt({values:e,typeName:D.ZodEnum,...W(t)})}var Xt=class extends Q{_parse(e){if(typeof e.data!="string"){let t=this._getOrReturnCtx(e),n=this._def.values;return A(t,{expected:le.joinValues(n),received:t.parsedType,code:x.invalid_type}),z}if(this._def.values.indexOf(e.data)===-1){let t=this._getOrReturnCtx(e),n=this._def.values;return A(t,{received:t.data,code:x.invalid_enum_value,options:n}),z}return Ve(e.data)}get options(){return this._def.values}get enum(){let e={};for(let t of this._def.values)e[t]=t;return e}get Values(){let e={};for(let t of this._def.values)e[t]=t;return e}get Enum(){let e={};for(let t of this._def.values)e[t]=t;return e}extract(e){return Xt.create(e)}exclude(e){return Xt.create(this.options.filter(t=>!e.includes(t)))}};Xt.create=a0;var fa=class extends Q{_parse(e){let t=le.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(e);if(n.parsedType!==_.string&&n.parsedType!==_.number){let r=le.objectValues(t);return A(n,{expected:le.joinValues(r),received:n.parsedType,code:x.invalid_type}),z}if(t.indexOf(e.data)===-1){let r=le.objectValues(t);return A(n,{received:n.data,code:x.invalid_enum_value,options:r}),z}return Ve(e.data)}get enum(){return this._def.values}};fa.create=(e,t)=>new fa({values:e,typeName:D.ZodNativeEnum,...W(t)});var Sn=class extends Q{unwrap(){return this._def.type}_parse(e){let{ctx:t}=this._processInputParams(e);if(t.parsedType!==_.promise&&t.common.async===!1)return A(t,{code:x.invalid_type,expected:_.promise,received:t.parsedType}),z;let n=t.parsedType===_.promise?t.data:Promise.resolve(t.data);return Ve(n.then(r=>this._def.type.parseAsync(r,{path:t.path,errorMap:t.common.contextualErrorMap})))}};Sn.create=(e,t)=>new Sn({type:e,typeName:D.ZodPromise,...W(t)});var rt=class extends Q{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===D.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){let{status:t,ctx:n}=this._processInputParams(e),r=this._def.effect||null,i={addIssue:l=>{A(n,l),l.fatal?t.abort():t.dirty()},get path(){return n.path}};if(i.addIssue=i.addIssue.bind(i),r.type==="preprocess"){let l=r.transform(n.data,i);return n.common.issues.length?{status:"dirty",value:n.data}:n.common.async?Promise.resolve(l).then(o=>this._def.schema._parseAsync({data:o,path:n.path,parent:n})):this._def.schema._parseSync({data:l,path:n.path,parent:n})}if(r.type==="refinement"){let l=o=>{let s=r.refinement(o,i);if(n.common.async)return Promise.resolve(s);if(s instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return o};if(n.common.async===!1){let o=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return o.status==="aborted"?z:(o.status==="dirty"&&t.dirty(),l(o.value),{status:t.value,value:o.value})}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(o=>o.status==="aborted"?z:(o.status==="dirty"&&t.dirty(),l(o.value).then(()=>({status:t.value,value:o.value}))))}if(r.type==="transform")if(n.common.async===!1){let l=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!oa(l))return l;let o=r.transform(l.value,i);if(o instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:t.value,value:o}}else return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(l=>oa(l)?Promise.resolve(r.transform(l.value,i)).then(o=>({status:t.value,value:o})):l);le.assertNever(r)}};rt.create=(e,t,n)=>new rt({schema:e,typeName:D.ZodEffects,effect:t,...W(n)});rt.createWithPreprocess=(e,t,n)=>new rt({schema:t,effect:{type:"preprocess",transform:e},typeName:D.ZodEffects,...W(n)});var xt=class extends Q{_parse(e){return this._getType(e)===_.undefined?Ve(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}};xt.create=(e,t)=>new xt({innerType:e,typeName:D.ZodOptional,...W(t)});var en=class extends Q{_parse(e){return this._getType(e)===_.null?Ve(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}};en.create=(e,t)=>new en({innerType:e,typeName:D.ZodNullable,...W(t)});var ga=class extends Q{_parse(e){let{ctx:t}=this._processInputParams(e),n=t.data;return t.parsedType===_.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:t.path,parent:t})}removeDefault(){return this._def.innerType}};ga.create=(e,t)=>new ga({innerType:e,typeName:D.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...W(t)});var Er=class extends Q{_parse(e){let{ctx:t}=this._processInputParams(e),n={...t,common:{...t.common,issues:[]}},r=this._def.innerType._parse({data:n.data,path:n.path,parent:{...n}});return hr(r)?r.then(i=>({status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new at(n.common.issues)},input:n.data})})):{status:"valid",value:r.status==="valid"?r.value:this._def.catchValue({get error(){return new at(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}};Er.create=(e,t)=>new Er({innerType:e,typeName:D.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...W(t)});var br=class extends Q{_parse(e){if(this._getType(e)!==_.nan){let t=this._getOrReturnCtx(e);return A(t,{code:x.invalid_type,expected:_.nan,received:t.parsedType}),z}return{status:"valid",value:e.data}}};br.create=e=>new br({typeName:D.ZodNaN,...W(e)});var vp=Symbol("zod_brand"),r0=class extends Q{_parse(e){let{ctx:t}=this._processInputParams(e),n=t.data;return this._def.type._parse({data:n,path:t.path,parent:t})}unwrap(){return this._def.type}},Vr=class extends Q{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.common.async)return(async()=>{let r=await this._def.in._parseAsync({data:n.data,path:n.path,parent:n});return r.status==="aborted"?z:r.status==="dirty"?(t.dirty(),n0(r.value)):this._def.out._parseAsync({data:r.value,path:n.path,parent:n})})();{let r=this._def.in._parseSync({data:n.data,path:n.path,parent:n});return r.status==="aborted"?z:r.status==="dirty"?(t.dirty(),{status:"dirty",value:r.value}):this._def.out._parseSync({data:r.value,path:n.path,parent:n})}}static create(e,t){return new Vr({in:e,out:t,typeName:D.ZodPipeline})}},kr=class extends Q{_parse(e){let t=this._def.innerType._parse(e);return oa(t)&&(t.value=Object.freeze(t.value)),t}};kr.create=(e,t)=>new kr({innerType:e,typeName:D.ZodReadonly,...W(t)});var i0=(e,t={},n)=>e?wn.create().superRefine((r,i)=>{var l,o;if(!e(r)){let s=typeof t=="function"?t(r):typeof t=="string"?{message:t}:t,c=(o=(l=s.fatal)!==null&&l!==void 0?l:n)!==null&&o!==void 0?o:!0,d=typeof s=="string"?{message:s}:s;i.addIssue({code:"custom",...d,fatal:c})}}):wn.create(),yp={object:be.lazycreate},D;(function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"})(D||(D={}));var Ep=(e,t={message:`Input not instance of ${e.name}`})=>i0(n=>n instanceof e,t),l0=ht.create,o0=Kt.create,bp=br.create,kp=Jt.create,s0=sa.create,wp=kn.create,Cp=fr.create,Sp=ca.create,xp=da.create,Np=wn.create,_p=Qt.create,Mp=Nt.create,Tp=gr.create,Ap=vt.create,Fp=be.create,Op=be.strictCreate,Lp=ua.create,Rp=Bl.create,Ip=ma.create,Zp=_t.create,Bp=vr.create,Pp=yr.create,Vp=Cn.create,Dp=ea.create,Hp=pa.create,jp=ha.create,zp=Xt.create,Up=fa.create,$p=Sn.create,e1=rt.create,Wp=xt.create,Gp=en.create,qp=rt.createWithPreprocess,Yp=Vr.create,Qp=()=>l0().optional(),Kp=()=>o0().optional(),Jp=()=>s0().optional(),Xp={string:e=>ht.create({...e,coerce:!0}),number:e=>Kt.create({...e,coerce:!0}),boolean:e=>sa.create({...e,coerce:!0}),bigint:e=>Jt.create({...e,coerce:!0}),date:e=>kn.create({...e,coerce:!0})},e3=z,wt=Object.freeze({__proto__:null,defaultErrorMap:la,setErrorMap:rp,getErrorMap:mr,makeIssue:pr,EMPTY_PATH:ip,addIssueToContext:A,ParseStatus:Pe,INVALID:z,DIRTY:n0,OK:Ve,isAborted:tl,isDirty:nl,isValid:oa,isAsync:hr,get util(){return le},get objectUtil(){return el},ZodParsedType:_,getParsedType:Rt,ZodType:Q,ZodString:ht,ZodNumber:Kt,ZodBigInt:Jt,ZodBoolean:sa,ZodDate:kn,ZodSymbol:fr,ZodUndefined:ca,ZodNull:da,ZodAny:wn,ZodUnknown:Qt,ZodNever:Nt,ZodVoid:gr,ZodArray:vt,ZodObject:be,ZodUnion:ua,ZodDiscriminatedUnion:Bl,ZodIntersection:ma,ZodTuple:_t,ZodRecord:vr,ZodMap:yr,ZodSet:Cn,ZodFunction:ea,ZodLazy:pa,ZodLiteral:ha,ZodEnum:Xt,ZodNativeEnum:fa,ZodPromise:Sn,ZodEffects:rt,ZodTransformer:rt,ZodOptional:xt,ZodNullable:en,ZodDefault:ga,ZodCatch:Er,ZodNaN:br,BRAND:vp,ZodBranded:r0,ZodPipeline:Vr,ZodReadonly:kr,custom:i0,Schema:Q,ZodSchema:Q,late:yp,get ZodFirstPartyTypeKind(){return D},coerce:Xp,any:Np,array:Ap,bigint:kp,boolean:s0,date:wp,discriminatedUnion:Rp,effect:e1,enum:zp,function:Dp,instanceof:Ep,intersection:Ip,lazy:Hp,literal:jp,map:Pp,nan:bp,nativeEnum:Up,never:Mp,null:xp,nullable:Gp,number:o0,object:Fp,oboolean:Jp,onumber:Kp,optional:Wp,ostring:Qp,pipeline:Yp,preprocess:qp,promise:$p,record:Bp,set:Vp,strictObject:Op,string:l0,symbol:Cp,transformer:e1,tuple:Zp,undefined:Sp,union:Lp,unknown:_p,void:Tp,NEVER:e3,ZodIssueCode:x,quotelessJson:ap,ZodError:at}),t3=wt.union([wt.object({message:wt.literal("login")}),wt.object({message:wt.literal("grant"),denied:wt.boolean()}),wt.object({message:wt.literal("createdProject"),projectId:wt.string()})]),c0=e=>{let t=Ne(),n=Ne();return K(()=>{let r=({origin:i,data:l})=>{if(i===n.current){let o;try{o=t3.parse(l)}catch{return}e?.(o)}};return window.addEventListener("message",r),()=>window.removeEventListener("message",r)},[e]),[H(r=>{if(window.innerWidth>800&&window.innerHeight>800){let l=(window.innerWidth-800)/2+window.screenLeft,o=`scrollbars=yes,width=800,height=800,top=${(window.innerHeight-800)/2+window.screenTop},left=${l}`;t.current=window.open(r,"chromatic-dialog",o),t.current?.focus()}else t.current=window.open(r,"_blank");let{origin:i}=new URL(r);n.current=i},[]),H(()=>t.current?.close(),[])]},n3=w.ol(({theme:e})=>({display:"inline-flex",listStyle:"none",marginTop:15,marginBottom:5,padding:0,gap:5,"li:not(:empty)":{display:"flex",alignItems:"center",justifyContent:"center",border:`1px dashed ${e.input.border}`,borderRadius:4,width:28,height:32}})),a3=lt(` + query VisualTestsProjectCountQuery { + viewer { + projectCount + accounts { + newProjectUrl + } + } + } +`),r3=({onBack:e,hasProjectId:t,setAccessToken:n,setCreatedProjectId:r,exchangeParameters:i})=>{let l=Cl(),o=Gs(),{user_code:s,verificationUrl:c}=i,d=Ne(),m=Ne(),u=Ne(),p=H(async y=>{if(y.message==="login"&&m.current?.(c),y.message==="grant")try{let k=await y4(i);if(!k)throw new Error("Failed to fetch an access token");d.current=k;let E=xs(k),{data:h}=await l.query(a3,{},{fetchOptions:E});if(!h?.viewer)throw new Error("Failed to fetch initial project list");if(h.viewer.projectCount>0||t)n(d.current),u.current?.();else{if(!h.viewer.accounts[0])throw new Error("User has no accounts!");if(!h.viewer.accounts[0].newProjectUrl)throw new Error("Unexpected missing project URL");m.current?.(h.viewer.accounts[0].newProjectUrl)}}catch(k){o("Login Error",k)}y.message==="createdProject"&&(d.current?(n(d.current),r(`Project:${y.projectId}`),u.current?.()):o("Unexpected missing access token",new Error))},[c,i,l,t,n,o,r]),[f,g]=c0(p);return m.current=f,u.current=g,a.createElement(ve,{footer:null,ignoreConfig:!0},a.createElement(Pr,{onBack:e}),a.createElement(he,null,a.createElement(se,null,a.createElement("div",null,a.createElement(me,null,"Verify your account"),a.createElement("div",null,a.createElement(j,{center:!0,muted:!0},"Check this verification code on Chromatic to grant access to your published Storybooks.")),a.createElement(n3,null,s?.split("").map((y,k)=>a.createElement("li",{key:`${k}-${y}`},y.replace(/[^A-Z0-9]/,""))))),a.createElement(ce,{variant:"solid",size:"medium",onClick:()=>f(c)},"Go to Chromatic"))))},i3=({onNext:e,onUninstall:t})=>a.createElement(ve,{footer:null,ignoreConfig:!0},a.createElement(Pr,null),a.createElement(he,null,a.createElement(se,null,a.createElement("div",null,a.createElement(an,null),a.createElement(me,null,"Visual tests"),a.createElement(j,{center:!0,muted:!0},"Catch bugs in UI appearance automatically. Compare image snapshots to detect visual changes.")),a.createElement(Et,null,a.createElement(ce,{variant:"solid",size:"medium",onClick:e},"Enable"),a.createElement(ce,{link:!0,onClick:()=>t()},"Uninstall"))))),l3=({setAccessToken:e,setCreatedProjectId:t,hasProjectId:n})=>{let[r,i]=Qe("authenticationScreen",n?"signin":"welcome"),[l,o]=Qe("exchangeParameters"),s=Gs(),{uninstallAddon:c}=Rl();We("Authentication",r.charAt(0).toUpperCase()+r.slice(1));let d=H(async m=>{try{o(await v4(m)),i("verify")}catch(u){s("Sign in Error",u)}},[s,o,i]);if(r==="welcome"&&!n)return a.createElement(i3,{onNext:()=>i("signin"),onUninstall:c});if(r==="signin"||r==="welcome"&&n)return a.createElement(tp,{...n?{}:{onBack:()=>i("welcome")},onSignIn:d,onSignInWithSSO:()=>i("subdomain")});if(r==="subdomain")return a.createElement(ep,{onBack:()=>i("signin"),onSignIn:d});if(r==="verify"){if(!l)throw new Error("Expected to have a `exchangeParameters` if at `verify` step");return a.createElement(r3,{onBack:()=>i("signin"),hasProjectId:n,setAccessToken:e,setCreatedProjectId:t,exchangeParameters:l})}return null},d0=w.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",borderRadius:e.appBorderRadius,background:e.base==="light"?e.color.lightest:e.color.darkest,border:`1px solid ${e.appBorderColor}`,padding:15,flex:1,gap:14,maxWidth:"500px",width:"100%"}),({theme:e,warning:t})=>t&&{background:e.base==="dark"?"#342e1a":e.background.warning}),o3=w.b(()=>({display:"block",marginBottom:2})),s3=()=>{We("Errors","GitNotFound");let{uninstallAddon:e}=Rl();return a.createElement(ve,{footer:null},a.createElement(he,null,a.createElement(se,null,a.createElement("div",null,a.createElement(an,null),a.createElement(me,null,"Visual tests"),a.createElement(j,{center:!0,muted:!0},"Catch bugs in UI appearance automatically. Compare image snapshots to detect visual changes.")),a.createElement(d0,null,a.createElement(ss,{style:{flexShrink:0}}),a.createElement(j,null,a.createElement(o3,null,"Git not detected"),"This addon requires Git to associate test results with commits and branches. Run"," ",a.createElement(Oe,null,"git init")," and make your first commit",a.createElement(Oe,null,"git commit -m")," to get started!")),a.createElement(Be,{target:"_blank",href:"https://www.chromatic.com/docs/visual-tests-addon#git-addon",withArrow:!0,secondary:!0},"Visual tests requirements"),a.createElement(Be,{withArrow:!0,onClick:()=>e()},"Uninstall"))))},c3=w(gl)(({theme:e})=>({width:40,height:40,padding:10,background:e.color.positive,borderRadius:"100%",color:"white"})),d3=w(Be)(()=>({marginTop:5})),u3=lt(` + query ProjectQuery($projectId: ID!) { + project(id: $projectId) { + id + name + webUrl + lastBuild { + branch + number + } + } + } +`),m3=({projectId:e,configFile:t,goToNext:n})=>{We("LinkProject","LinkedProject");let[{data:r,fetching:i,error:l}]=Sl({query:u3,variables:{projectId:e}});return a.createElement(ve,{footer:a.createElement(Br,null,a.createElement(Xe,null,r?.project?.lastBuild&&a.createElement(j,{style:{marginLeft:5}},"Last build: ",r.project.lastBuild.number," on branch"," ",r.project.lastBuild.branch)),a.createElement(Xe,{push:!0},a.createElement(Zr,null)))},a.createElement(he,null,a.createElement(se,null,i&&a.createElement("p",null,"Loading..."),l&&a.createElement("p",null,l.message),r?.project&&a.createElement(a.Fragment,null,a.createElement(c3,null),a.createElement("div",null,a.createElement(me,null,"Project linked!"),a.createElement(j,{center:!0,muted:!0,style:{maxWidth:500}},"The ",a.createElement(Oe,null,"projectId")," for ",a.createElement("strong",null,r.project.name)," was added in"," ",a.createElement(Oe,null,t)," to sync tests with Chromatic. Please commit this change to continue using this addon.")),a.createElement(Et,null,a.createElement(ce,{variant:"solid",size:"medium",onClick:()=>n()},"Catch a UI change"),a.createElement(d3,{href:"https://www.chromatic.com/docs/cli",target:"_blank",withArrow:!0,secondary:!0},"What's a project ID?"))))))};function p3(e){for(var t=[],n=1;n({"&& > *":{margin:0},"&& pre":{color:e.base==="light"?e.color.darker:e.color.lighter,background:e.base==="light"?e.color.lightest:e.color.darkest,fontSize:"12px",lineHeight:"16px",textAlign:"left",padding:"15px !important"}})),f3="https://www.chromatic.com/docs/visual-tests-addon/#configure";function g3({projectId:e,configFile:t}){return We("LinkProject","LinkingProjectFailed"),a.createElement(ve,null,a.createElement(he,null,a.createElement(se,null,a.createElement("div",null,a.createElement(me,null,"Add the project ID to your Chromatic config"),a.createElement(j,{center:!0,muted:!0},"The ",a.createElement(Oe,null,"projectId")," will be used to sync tests with Chromatic. Please commit this change to continue using the addon. The file should be saved at"," ",a.createElement(Oe,null,t),".")),a.createElement(h3,null,a.createElement(Oe,null,p3` + { + "projectId": "${e}", + } + `)),a.createElement(Be,{secondary:!0,withArrow:!0,target:"_blank",href:f3},"What's this for?"))))}var v3=lt(` + query SelectProjectsQuery { + viewer { + accounts { + id + name + avatarUrl + newProjectUrl + projects { + id + name + webUrl + lastBuild { + branch + number + } + } + } + } + } +`),y3=({createdProjectId:e,setCreatedProjectId:t,onUpdateProject:n})=>{let r=a.useCallback(async i=>{await n(i)},[n]);return a.createElement(k3,{createdProjectId:e,setCreatedProjectId:t,onSelectProjectId:r})},Da=w.div(({theme:e})=>({fontSize:`${e.typography.size.s1-1}px`,fontWeight:e.typography.weight.bold,color:e.base==="light"?e.color.dark:e.color.light,backgroundColor:"inherit",padding:"7px 15px",borderBottom:`1px solid ${e.appBorderColor}`,lineHeight:"18px",letterSpacing:"0.38em",textTransform:"uppercase"})),t1=w.div(({theme:e})=>({})),n1=w.div(({theme:e})=>({background:e.base==="light"?e.color.lighter:e.color.darker})),a1=w.div(({theme:e})=>({background:e.base==="light"?e.color.lightest:e.color.darkest,borderRadius:5,border:`1px solid ${e.appBorderColor}`,height:260,maxWidth:420,minWidth:260,width:"100%",overflow:"hidden",textAlign:"left",position:"relative",display:"flex","> *":{flex:1,display:"flex",flexDirection:"column",width:"50%"}})),Ha=w.div({height:"100%",overflowY:"auto"}),E3=w(se)({width:"100%"}),b3=w(Hm)({marginRight:10});function k3({createdProjectId:e,setCreatedProjectId:t,onSelectProjectId:n}){let[{data:r,fetching:i,error:l},o]=Sl({query:v3});K(()=>{let h=setInterval(o,5e3);return()=>clearInterval(h)},[o]);let[s,c]=Qe("selectedAccountId"),d=r?.viewer?.accounts.find(h=>h.id===s),m=H(h=>c(h.id),[c]);K(()=>{!s&&r?.viewer?.accounts&&m(r.viewer.accounts[0])},[r,s,m]);let[u,p]=Qe("isSelectingProject",!1),f=H(h=>{p(!0),n(h.id);let v=setTimeout(()=>{p(!1)},1e3);return()=>clearTimeout(v)},[n,p]),g=H(async h=>{h.message==="createdProject"&&(o(),t(h.projectId))},[o,t]),[y,k]=c0(g),E=e&&d?.projects?.find(h=>h?.id.endsWith(e));return K(()=>{E&&(k(),f(E))},[E,f,k]),We("LinkProject","LinkProject"),a.createElement(ve,null,a.createElement(he,null,a.createElement(E3,null,a.createElement("div",null,a.createElement(me,null,"Select a project"),a.createElement(j,{muted:!0},"Your tests will sync with this project.")),l&&a.createElement("p",null,l.message),!r&&i&&a.createElement(a1,null,a.createElement(t1,null,a.createElement(Da,null,"Accounts"),a.createElement(Ha,null,a.createElement(tt,{appearance:"secondary",isLoading:!0}),a.createElement(tt,{appearance:"secondary",isLoading:!0}),a.createElement(tt,{appearance:"secondary",isLoading:!0}),a.createElement(tt,{appearance:"secondary",isLoading:!0}),a.createElement(tt,{appearance:"secondary",isLoading:!0}))),a.createElement(n1,null,a.createElement(Da,null,"Projects"),a.createElement(Ha,{"data-testid":"right-list"},a.createElement(tt,{appearance:"secondary",isLoading:!0}),a.createElement(tt,{appearance:"secondary",isLoading:!0}),a.createElement(tt,{appearance:"secondary",isLoading:!0})))),r?.viewer?.accounts&&a.createElement(a1,null,a.createElement(t1,null,a.createElement(Da,null,"Accounts"),a.createElement(Ha,{"data-testid":"left-list"},r.viewer.accounts?.map(h=>a.createElement(tt,{key:h.id,title:h.name,appearance:"secondary",left:a.createElement(b3,{src:h.avatarUrl??void 0,size:"tiny"}),onClick:()=>m(h),active:s===h.id})))),a.createElement(n1,null,a.createElement(Da,null,"Projects"),a.createElement(Ha,{"data-testid":"right-list"},d&&a.createElement(tt,{isLink:!1,onClick:()=>{if(!d?.newProjectUrl)throw new Error("Unexpected missing `newProjectUrl` on account");y(d.newProjectUrl)},title:a.createElement(Be,{isButton:!0,withArrow:!0},"Create new project")}),d?.projects?.map(h=>h&&a.createElement(tt,{appearance:"secondary",key:h.id,title:h.name,right:a.createElement(bu,{"aria-label":h.name}),onClick:()=>f(h),disabled:u}))))))))}var w3=()=>a.createElement(ve,{footer:null},a.createElement(he,null,a.createElement(se,null,a.createElement("div",null,a.createElement(an,null),a.createElement(me,null,"Visual tests"),a.createElement(j,{center:!0,muted:!0},"Visual tests only runs locally. To test this Storybook, clone it to your machine and run ",a.createElement(Oe,null,"npx storybook dev"),"."))))),C3=({offline:e=!1})=>a.createElement(ve,{footer:null},a.createElement(he,null,a.createElement(se,null,a.createElement("div",null,a.createElement(me,null,"Can't connect to Chromatic"),a.createElement(j,{center:!0,muted:!0},e?"You're offline. Double check your internet connection.":"We're having trouble connecting to the Chromatic API.")),!e&&a.createElement(Be,{href:"https://status.chromatic.com",target:"_blank",rel:"noreferrer",withArrow:!0},"Chromatic API status")))),S3=()=>(We("Uninstalled","uninstalled"),a.createElement(ve,{footer:!1},a.createElement(he,null,a.createElement(se,null,a.createElement("div",null,a.createElement(an,null),a.createElement(me,null,"Uninstall complete"),a.createElement(j,{center:!0,muted:!0},"Visual tests will vanish the next time you restart your Storybook.")))))),u0={isRunning:!1,startBuild:()=>{},stopBuild:()=>{}},m0=je(u0),ka=()=>kt(m0,"RunBuild"),x3=({children:e,watchState:t=u0})=>a.createElement(m0.Provider,{value:t},e),p0={PENDING:"warn",FAILED:"error",DENIED:"error",BROKEN:"error"},ki=[null,"unknown","pending","success","warn","error"];function N3(e,t){return ki[Math.max(ki.indexOf(e),ki.indexOf(t))]}function _3(e,t){let n={};t.forEach(i=>{!i.story||!i.status||(n[i.story.storyId]=N3(p0[i.status]||null,n[i.story.storyId]))});let r=()=>{e.setSelectedPanel(nn),e.togglePanel(!0)};return Object.fromEntries(Object.entries(n).map(([i,l])=>[i,l&&{status:l,title:"Visual tests",description:"Chromatic Visual Tests",onClick:r}]))}function M3(e,{shouldSwitchToLastBuildOnBranch:t,lastBuildOnBranchId:n,storyId:r}){if(!t)return e?{...e,storyId:r}:void 0;if(!n)throw new Error("Impossible state");return{buildId:n,storyId:r}}var r1={EXCEEDED_THRESHOLD:{heading:"Snapshot limit reached",message:"Your account has reached its monthly snapshot limit. Visual testing is disabled. Upgrade your plan to increase your quota.",action:"Upgrade plan"},PAYMENT_REQUIRED:{heading:"Payment required",message:"Your subscription payment is past due. Review or replace your payment method to continue using Chromatic.",action:"Review billing details"},OTHER:{heading:"Account suspended",message:"Your account has been suspended. Contact customer support for details.",action:"Billing details"}},h0=({children:e,billingUrl:t,suspensionReason:n="OTHER"})=>{We("Errors","AccountSuspended");let{heading:r,message:i,action:l}=r1[n]||r1.OTHER;return a.createElement(ve,{footer:null},a.createElement(he,null,a.createElement(se,null,a.createElement("div",null,a.createElement(me,null,r),a.createElement(j,{center:!0,muted:!0},i)),t&&a.createElement(ce,{asChild:!0,size:"medium",variant:"solid"},a.createElement("a",{href:t,target:"_new"},l)),e)))},T3=({children:e,manageUrl:t})=>(We("Errors","VisualTestsDisabled"),a.createElement(ve,{footer:null},a.createElement(he,null,a.createElement(se,null,a.createElement("div",null,a.createElement(me,null,"Visual tests disabled for your project"),a.createElement(j,{center:!0,muted:!0},"Update your project settings to enable visual testing.")),a.createElement(ce,{asChild:!0,size:"medium",variant:"solid"},a.createElement("a",{href:t,target:"_new"},"Manage project settings")),e))));function f0(e){return t=>typeof t===e}var A3=f0("function"),F3=e=>e===null,i1=e=>Object.prototype.toString.call(e).slice(8,-1)==="RegExp",l1=e=>!O3(e)&&!F3(e)&&(A3(e)||typeof e=="object"),O3=f0("undefined");function L3(e,t){let{length:n}=e;if(n!==t.length)return!1;for(let r=n;r--!==0;)if(!Ze(e[r],t[r]))return!1;return!0}function R3(e,t){if(e.byteLength!==t.byteLength)return!1;let n=new DataView(e.buffer),r=new DataView(t.buffer),i=e.byteLength;for(;i--;)if(n.getUint8(i)!==r.getUint8(i))return!1;return!0}function I3(e,t){if(e.size!==t.size)return!1;for(let n of e.entries())if(!t.has(n[0]))return!1;for(let n of e.entries())if(!Ze(n[1],t.get(n[0])))return!1;return!0}function Z3(e,t){if(e.size!==t.size)return!1;for(let n of e.entries())if(!t.has(n[0]))return!1;return!0}function Ze(e,t){if(e===t)return!0;if(e&&l1(e)&&t&&l1(t)){if(e.constructor!==t.constructor)return!1;if(Array.isArray(e)&&Array.isArray(t))return L3(e,t);if(e instanceof Map&&t instanceof Map)return I3(e,t);if(e instanceof Set&&t instanceof Set)return Z3(e,t);if(ArrayBuffer.isView(e)&&ArrayBuffer.isView(t))return R3(e,t);if(i1(e)&&i1(t))return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let i=n.length;i--!==0;)if(!Object.prototype.hasOwnProperty.call(t,n[i]))return!1;for(let i=n.length;i--!==0;){let l=n[i];if(!(l==="_owner"&&e.$$typeof)&&!Ze(e[l],t[l]))return!1}return!0}return Number.isNaN(e)&&Number.isNaN(t)?!0:e===t}var B3=["Array","ArrayBuffer","AsyncFunction","AsyncGenerator","AsyncGeneratorFunction","Date","Error","Function","Generator","GeneratorFunction","HTMLElement","Map","Object","Promise","RegExp","Set","WeakMap","WeakSet"],P3=["bigint","boolean","null","number","string","symbol","undefined"];function Dr(e){let t=Object.prototype.toString.call(e).slice(8,-1);if(/HTML\w+Element/.test(t))return"HTMLElement";if(V3(t))return t}function ot(e){return t=>Dr(t)===e}function V3(e){return B3.includes(e)}function Tn(e){return t=>typeof t===e}function D3(e){return P3.includes(e)}var H3=["innerHTML","ownerDocument","style","attributes","nodeValue"];function M(e){if(e===null)return"null";switch(typeof e){case"bigint":return"bigint";case"boolean":return"boolean";case"number":return"number";case"string":return"string";case"symbol":return"symbol";case"undefined":return"undefined"}return M.array(e)?"Array":M.plainFunction(e)?"Function":Dr(e)||"Object"}M.array=Array.isArray;M.arrayOf=(e,t)=>!M.array(e)&&!M.function(t)?!1:e.every(n=>t(n));M.asyncGeneratorFunction=e=>Dr(e)==="AsyncGeneratorFunction";M.asyncFunction=ot("AsyncFunction");M.bigint=Tn("bigint");M.boolean=e=>e===!0||e===!1;M.date=ot("Date");M.defined=e=>!M.undefined(e);M.domElement=e=>M.object(e)&&!M.plainObject(e)&&e.nodeType===1&&M.string(e.nodeName)&&H3.every(t=>t in e);M.empty=e=>M.string(e)&&e.length===0||M.array(e)&&e.length===0||M.object(e)&&!M.map(e)&&!M.set(e)&&Object.keys(e).length===0||M.set(e)&&e.size===0||M.map(e)&&e.size===0;M.error=ot("Error");M.function=Tn("function");M.generator=e=>M.iterable(e)&&M.function(e.next)&&M.function(e.throw);M.generatorFunction=ot("GeneratorFunction");M.instanceOf=(e,t)=>!e||!t?!1:Object.getPrototypeOf(e)===t.prototype;M.iterable=e=>!M.nullOrUndefined(e)&&M.function(e[Symbol.iterator]);M.map=ot("Map");M.nan=e=>Number.isNaN(e);M.null=e=>e===null;M.nullOrUndefined=e=>M.null(e)||M.undefined(e);M.number=e=>Tn("number")(e)&&!M.nan(e);M.numericString=e=>M.string(e)&&e.length>0&&!Number.isNaN(Number(e));M.object=e=>!M.nullOrUndefined(e)&&(M.function(e)||typeof e=="object");M.oneOf=(e,t)=>M.array(e)?e.indexOf(t)>-1:!1;M.plainFunction=ot("Function");M.plainObject=e=>{if(Dr(e)!=="Object")return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.getPrototypeOf({})};M.primitive=e=>M.null(e)||D3(typeof e);M.promise=ot("Promise");M.propertyOf=(e,t,n)=>{if(!M.object(e)||!t)return!1;let r=e[t];return M.function(n)?n(r):M.defined(r)};M.regexp=ot("RegExp");M.set=ot("Set");M.string=Tn("string");M.symbol=Tn("symbol");M.undefined=Tn("undefined");M.weakMap=ot("WeakMap");M.weakSet=ot("WeakSet");var F=M;function j3(...e){return e.every(t=>F.string(t)||F.array(t)||F.plainObject(t))}function z3(e,t,n){return g0(e,t)?[e,t].every(F.array)?!e.some(u1(n))&&t.some(u1(n)):[e,t].every(F.plainObject)?!Object.entries(e).some(d1(n))&&Object.entries(t).some(d1(n)):t===n:!1}function o1(e,t,n){let{actual:r,key:i,previous:l,type:o}=n,s=ft(e,i),c=ft(t,i),d=[s,c].every(F.number)&&(o==="increased"?sc);return F.undefined(r)||(d=d&&c===r),F.undefined(l)||(d=d&&s===l),d}function s1(e,t,n){let{key:r,type:i,value:l}=n,o=ft(e,r),s=ft(t,r),c=i==="added"?o:s,d=i==="added"?s:o;if(!F.nullOrUndefined(l)){if(F.defined(c)){if(F.array(c)||F.plainObject(c))return z3(c,d,l)}else return Ze(d,l);return!1}return[o,s].every(F.array)?!d.every(Pl(c)):[o,s].every(F.plainObject)?U3(Object.keys(c),Object.keys(d)):![o,s].every(m=>F.primitive(m)&&F.defined(m))&&(i==="added"?!F.defined(o)&&F.defined(s):F.defined(o)&&!F.defined(s))}function c1(e,t,{key:n}={}){let r=ft(e,n),i=ft(t,n);if(!g0(r,i))throw new TypeError("Inputs have different types");if(!j3(r,i))throw new TypeError("Inputs don't have length");return[r,i].every(F.plainObject)&&(r=Object.keys(r),i=Object.keys(i)),[r,i]}function d1(e){return([t,n])=>F.array(e)?Ze(e,n)||e.some(r=>Ze(r,n)||F.array(n)&&Pl(n)(r)):F.plainObject(e)&&e[t]?!!e[t]&&Ze(e[t],n):Ze(e,n)}function U3(e,t){return t.some(n=>!e.includes(n))}function u1(e){return t=>F.array(e)?e.some(n=>Ze(n,t)||F.array(t)&&Pl(t)(n)):Ze(e,t)}function Dn(e,t){return F.array(e)?e.some(n=>Ze(n,t)):Ze(e,t)}function Pl(e){return t=>e.some(n=>Ze(n,t))}function g0(...e){return e.every(F.array)||e.every(F.number)||e.every(F.plainObject)||e.every(F.string)}function ft(e,t){return F.plainObject(e)||F.array(e)?F.string(t)?t.split(".").reduce((n,r)=>n&&n[r],e):F.number(t)?e[t]:e:e}function wr(e,t){if([e,t].some(F.nullOrUndefined))throw new Error("Missing required parameters");if(![e,t].every(n=>F.plainObject(n)||F.array(n)))throw new Error("Expected plain objects or array");return{added:(n,r)=>{try{return s1(e,t,{key:n,type:"added",value:r})}catch{return!1}},changed:(n,r,i)=>{try{let l=ft(e,n),o=ft(t,n),s=F.defined(r),c=F.defined(i);if(s||c){let d=c?Dn(i,l):!Dn(r,l),m=Dn(r,o);return d&&m}return[l,o].every(F.array)||[l,o].every(F.plainObject)?!Ze(l,o):l!==o}catch{return!1}},changedFrom:(n,r,i)=>{if(!F.defined(n))return!1;try{let l=ft(e,n),o=ft(t,n),s=F.defined(i);return Dn(r,l)&&(s?Dn(i,o):!s)}catch{return!1}},decreased:(n,r,i)=>{if(!F.defined(n))return!1;try{return o1(e,t,{key:n,actual:r,previous:i,type:"decreased"})}catch{return!1}},emptied:n=>{try{let[r,i]=c1(e,t,{key:n});return!!r.length&&!i.length}catch{return!1}},filled:n=>{try{let[r,i]=c1(e,t,{key:n});return!r.length&&!!i.length}catch{return!1}},increased:(n,r,i)=>{if(!F.defined(n))return!1;try{return o1(e,t,{key:n,actual:r,previous:i,type:"increased"})}catch{return!1}},removed:(n,r)=>{try{return s1(e,t,{key:n,type:"removed",value:r})}catch{return!1}}}}var $3=et(A5(),1),v0=et(F5(),1);function W3(e,...t){if(!F.plainObject(e))throw new TypeError("Expected an object");let n={};for(let r in e)({}).hasOwnProperty.call(e,r)&&(t.includes(r)||(n[r]=e[r]));return n}function G3(e,...t){if(!F.plainObject(e))throw new TypeError("Expected an object");if(!t.length)return e;let n={};for(let r in e)({}).hasOwnProperty.call(e,r)&&t.includes(r)&&(n[r]=e[r]);return n}var ja=et(ml(),1),wi=et(ml(),1),N=et(R5()),wa=typeof window<"u"&&typeof document<"u"&&typeof navigator<"u",q3=function(){for(var e=["Edge","Trident","Firefox"],t=0;t=0)return 1;return 0}();function Y3(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}function Q3(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},q3))}}var K3=wa&&window.Promise,J3=K3?Y3:Q3;function y0(e){var t={};return e&&t.toString.call(e)==="[object Function]"}function rn(e,t){if(e.nodeType!==1)return[];var n=e.ownerDocument.defaultView,r=n.getComputedStyle(e,null);return t?r[t]:r}function Vl(e){return e.nodeName==="HTML"?e:e.parentNode||e.host}function Ca(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=rn(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/(auto|scroll|overlay)/.test(n+i+r)?e:Ca(Vl(e))}function E0(e){return e&&e.referenceNode?e.referenceNode:e}var m1=wa&&!!(window.MSInputMethodContext&&document.documentMode),p1=wa&&/MSIE 10/.test(navigator.userAgent);function An(e){return e===11?m1:e===10?p1:m1||p1}function xn(e){if(!e)return document.documentElement;for(var t=An(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return!r||r==="BODY"||r==="HTML"?e?e.ownerDocument.documentElement:document.documentElement:["TH","TD","TABLE"].indexOf(n.nodeName)!==-1&&rn(n,"position")==="static"?xn(n):n}function X3(e){var t=e.nodeName;return t==="BODY"?!1:t==="HTML"||xn(e.firstElementChild)===e}function rl(e){return e.parentNode!==null?rl(e.parentNode):e}function Cr(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,i=n?t:e,l=document.createRange();l.setStart(r,0),l.setEnd(i,0);var o=l.commonAncestorContainer;if(e!==o&&t!==o||r.contains(i))return X3(o)?o:xn(o);var s=rl(e);return s.host?Cr(s.host,t):Cr(e,rl(t).host)}function Nn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"top",n=t==="top"?"scrollTop":"scrollLeft",r=e.nodeName;if(r==="BODY"||r==="HTML"){var i=e.ownerDocument.documentElement,l=e.ownerDocument.scrollingElement||i;return l[n]}return e[n]}function eh(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=Nn(t,"top"),i=Nn(t,"left"),l=n?-1:1;return e.top+=r*l,e.bottom+=r*l,e.left+=i*l,e.right+=i*l,e}function h1(e,t){var n=t==="x"?"Left":"Top",r=n==="Left"?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+r+"Width"])}function f1(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],An(10)?parseInt(n["offset"+e])+parseInt(r["margin"+(e==="Height"?"Top":"Left")])+parseInt(r["margin"+(e==="Height"?"Bottom":"Right")]):0)}function b0(e){var t=e.body,n=e.documentElement,r=An(10)&&getComputedStyle(n);return{height:f1("Height",t,n,r),width:f1("Width",t,n,r)}}var th=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},nh=function(){function e(t,n){for(var r=0;r2&&arguments[2]!==void 0?arguments[2]:!1,r=An(10),i=t.nodeName==="HTML",l=il(e),o=il(t),s=Ca(e),c=rn(t),d=parseFloat(c.borderTopWidth),m=parseFloat(c.borderLeftWidth);n&&i&&(o.top=Math.max(o.top,0),o.left=Math.max(o.left,0));var u=Vt({top:l.top-o.top-d,left:l.left-o.left-m,width:l.width,height:l.height});if(u.marginTop=0,u.marginLeft=0,!r&&i){var p=parseFloat(c.marginTop),f=parseFloat(c.marginLeft);u.top-=d-p,u.bottom-=d-p,u.left-=m-f,u.right-=m-f,u.marginTop=p,u.marginLeft=f}return(r&&!n?t.contains(s):t===s&&s.nodeName!=="BODY")&&(u=eh(u,t)),u}function ah(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=e.ownerDocument.documentElement,r=Dl(e,n),i=Math.max(n.clientWidth,window.innerWidth||0),l=Math.max(n.clientHeight,window.innerHeight||0),o=t?0:Nn(n),s=t?0:Nn(n,"left"),c={top:o-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:i,height:l};return Vt(c)}function k0(e){var t=e.nodeName;if(t==="BODY"||t==="HTML")return!1;if(rn(e,"position")==="fixed")return!0;var n=Vl(e);return n?k0(n):!1}function w0(e){if(!e||!e.parentElement||An())return document.documentElement;for(var t=e.parentElement;t&&rn(t,"transform")==="none";)t=t.parentElement;return t||document.documentElement}function Hl(e,t,n,r){var i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,l={top:0,left:0},o=i?w0(e):Cr(e,E0(t));if(r==="viewport")l=ah(o,i);else{var s=void 0;r==="scrollParent"?(s=Ca(Vl(t)),s.nodeName==="BODY"&&(s=e.ownerDocument.documentElement)):r==="window"?s=e.ownerDocument.documentElement:s=r;var c=Dl(s,o,i);if(s.nodeName==="HTML"&&!k0(o)){var d=b0(e.ownerDocument),m=d.height,u=d.width;l.top+=c.top-c.marginTop,l.bottom=m+c.top,l.left+=c.left-c.marginLeft,l.right=u+c.left}else l=c}n=n||0;var p=typeof n=="number";return l.left+=p?n:n.left||0,l.top+=p?n:n.top||0,l.right-=p?n:n.right||0,l.bottom-=p?n:n.bottom||0,l}function rh(e){var t=e.width,n=e.height;return t*n}function C0(e,t,n,r,i){var l=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0;if(e.indexOf("auto")===-1)return e;var o=Hl(n,r,l,i),s={top:{width:o.width,height:t.top-o.top},right:{width:o.right-t.right,height:o.height},bottom:{width:o.width,height:o.bottom-t.bottom},left:{width:t.left-o.left,height:o.height}},c=Object.keys(s).map(function(p){return Ke({key:p},s[p],{area:rh(s[p])})}).sort(function(p,f){return f.area-p.area}),d=c.filter(function(p){var f=p.width,g=p.height;return f>=n.clientWidth&&g>=n.clientHeight}),m=d.length>0?d[0].key:c[0].key,u=e.split("-")[1];return m+(u?"-"+u:"")}function S0(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,i=r?w0(t):Cr(t,E0(n));return Dl(n,i,r)}function x0(e){var t=e.ownerDocument.defaultView,n=t.getComputedStyle(e),r=parseFloat(n.marginTop||0)+parseFloat(n.marginBottom||0),i=parseFloat(n.marginLeft||0)+parseFloat(n.marginRight||0),l={width:e.offsetWidth+i,height:e.offsetHeight+r};return l}function Sr(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(n){return t[n]})}function N0(e,t,n){n=n.split("-")[0];var r=x0(e),i={width:r.width,height:r.height},l=["right","left"].indexOf(n)!==-1,o=l?"top":"left",s=l?"left":"top",c=l?"height":"width",d=l?"width":"height";return i[o]=t[o]+t[c]/2-r[c]/2,n===s?i[s]=t[s]-r[d]:i[s]=t[Sr(s)],i}function Sa(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function ih(e,t,n){if(Array.prototype.findIndex)return e.findIndex(function(i){return i[t]===n});var r=Sa(e,function(i){return i[t]===n});return e.indexOf(r)}function _0(e,t,n){var r=n===void 0?e:e.slice(0,ih(e,"name",n));return r.forEach(function(i){i.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var l=i.function||i.fn;i.enabled&&y0(l)&&(t.offsets.popper=Vt(t.offsets.popper),t.offsets.reference=Vt(t.offsets.reference),t=l(t,i))}),t}function lh(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=S0(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=C0(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=N0(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=_0(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function M0(e,t){return e.some(function(n){var r=n.name,i=n.enabled;return i&&r===t})}function jl(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;ro[f]&&(e.offsets.popper[u]+=s[u]+g-o[f]),e.offsets.popper=Vt(e.offsets.popper);var y=s[u]+s[d]/2-g/2,k=rn(e.instance.popper),E=parseFloat(k["margin"+m]),h=parseFloat(k["border"+m+"Width"]),v=y-e.offsets.popper[u]-E-h;return v=Math.max(Math.min(o[d]-g,v),0),e.arrowElement=r,e.offsets.arrow=(n={},_n(n,u,Math.round(v)),_n(n,p,""),n),e}function Eh(e){return e==="end"?"start":e==="start"?"end":e}var O0=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],Ci=O0.slice(3);function g1(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=Ci.indexOf(e),r=Ci.slice(n+1).concat(Ci.slice(0,n));return t?r.reverse():r}var Si={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function bh(e,t){if(M0(e.instance.modifiers,"inner")||e.flipped&&e.placement===e.originalPlacement)return e;var n=Hl(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],i=Sr(r),l=e.placement.split("-")[1]||"",o=[];switch(t.behavior){case Si.FLIP:o=[r,i];break;case Si.CLOCKWISE:o=g1(r);break;case Si.COUNTERCLOCKWISE:o=g1(r,!0);break;default:o=t.behavior}return o.forEach(function(s,c){if(r!==s||o.length===c+1)return e;r=e.placement.split("-")[0],i=Sr(r);var d=e.offsets.popper,m=e.offsets.reference,u=Math.floor,p=r==="left"&&u(d.right)>u(m.left)||r==="right"&&u(d.left)u(m.top)||r==="bottom"&&u(d.top)u(n.right),y=u(d.top)u(n.bottom),E=r==="left"&&f||r==="right"&&g||r==="top"&&y||r==="bottom"&&k,h=["top","bottom"].indexOf(r)!==-1,v=!!t.flipVariations&&(h&&l==="start"&&f||h&&l==="end"&&g||!h&&l==="start"&&y||!h&&l==="end"&&k),b=!!t.flipVariationsByContent&&(h&&l==="start"&&g||h&&l==="end"&&f||!h&&l==="start"&&k||!h&&l==="end"&&y),C=v||b;(p||E||C)&&(e.flipped=!0,(p||E)&&(r=o[c+1]),C&&(l=Eh(l)),e.placement=r+(l?"-"+l:""),e.offsets.popper=Ke({},e.offsets.popper,N0(e.instance.popper,e.offsets.reference,e.placement)),e=_0(e.instance.modifiers,e,"flip"))}),e}function kh(e){var t=e.offsets,n=t.popper,r=t.reference,i=e.placement.split("-")[0],l=Math.floor,o=["top","bottom"].indexOf(i)!==-1,s=o?"right":"bottom",c=o?"left":"top",d=o?"width":"height";return n[s]l(r[s])&&(e.offsets.popper[c]=l(r[s])),e}function wh(e,t,n,r){var i=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),l=+i[1],o=i[2];if(!l)return e;if(o.indexOf("%")===0){var s=void 0;switch(o){case"%p":s=n;break;case"%":case"%r":default:s=r}var c=Vt(s);return c[t]/100*l}else if(o==="vh"||o==="vw"){var d=void 0;return o==="vh"?d=Math.max(document.documentElement.clientHeight,window.innerHeight||0):d=Math.max(document.documentElement.clientWidth,window.innerWidth||0),d/100*l}else return l}function Ch(e,t,n,r){var i=[0,0],l=["right","left"].indexOf(r)!==-1,o=e.split(/(\+|\-)/).map(function(m){return m.trim()}),s=o.indexOf(Sa(o,function(m){return m.search(/,|\s/)!==-1}));o[s]&&o[s].indexOf(",")===-1&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var c=/\s*,\s*|\s+/,d=s!==-1?[o.slice(0,s).concat([o[s].split(c)[0]]),[o[s].split(c)[1]].concat(o.slice(s+1))]:[o];return d=d.map(function(m,u){var p=(u===1?!l:l)?"height":"width",f=!1;return m.reduce(function(g,y){return g[g.length-1]===""&&["+","-"].indexOf(y)!==-1?(g[g.length-1]=y,f=!0,g):f?(g[g.length-1]+=y,f=!1,g):g.concat(y)},[]).map(function(g){return wh(g,p,t,n)})}),d.forEach(function(m,u){m.forEach(function(p,f){zl(p)&&(i[u]+=p*(m[f-1]==="-"?-1:1))})}),i}function Sh(e,t){var n=t.offset,r=e.placement,i=e.offsets,l=i.popper,o=i.reference,s=r.split("-")[0],c=void 0;return zl(+n)?c=[+n,0]:c=Ch(n,l,o,s),s==="left"?(l.top+=c[0],l.left-=c[1]):s==="right"?(l.top+=c[0],l.left+=c[1]):s==="top"?(l.left+=c[0],l.top-=c[1]):s==="bottom"&&(l.left+=c[0],l.top+=c[1]),e.popper=l,e}function xh(e,t){var n=t.boundariesElement||xn(e.instance.popper);e.instance.reference===n&&(n=xn(n));var r=jl("transform"),i=e.instance.popper.style,l=i.top,o=i.left,s=i[r];i.top="",i.left="",i[r]="";var c=Hl(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);i.top=l,i.left=o,i[r]=s,t.boundaries=c;var d=t.priority,m=e.offsets.popper,u={primary:function(p){var f=m[p];return m[p]c[p]&&!t.escapeWithReference&&(g=Math.min(m[f],c[p]-(p==="right"?m.width:m.height))),_n({},f,g)}};return d.forEach(function(p){var f=["left","top"].indexOf(p)!==-1?"primary":"secondary";m=Ke({},m,u[f](p))}),e.offsets.popper=m,e}function Nh(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var i=e.offsets,l=i.reference,o=i.popper,s=["bottom","top"].indexOf(n)!==-1,c=s?"left":"top",d=s?"width":"height",m={start:_n({},c,l[c]),end:_n({},c,l[c]+l[d]-o[d])};e.offsets.popper=Ke({},o,m[r])}return e}function _h(e){if(!F0(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=Sa(e.instance.modifiers,function(r){return r.name==="preventOverflow"}).boundaries;if(t.bottomn.right||t.top>n.bottom||t.right2&&arguments[2]!==void 0?arguments[2]:{};th(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=J3(this.update.bind(this)),this.options=Ke({},e.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(Ke({},e.Defaults.modifiers,i.modifiers)).forEach(function(o){r.options.modifiers[o]=Ke({},e.Defaults.modifiers[o]||{},i.modifiers?i.modifiers[o]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(o){return Ke({name:o},r.options.modifiers[o])}).sort(function(o,s){return o.order-s.order}),this.modifiers.forEach(function(o){o.enabled&&y0(o.onLoad)&&o.onLoad(r.reference,r.popper,r.options,o,r.state)}),this.update();var l=this.options.eventsEnabled;l&&this.enableEventListeners(),this.state.eventsEnabled=l}return nh(e,[{key:"update",value:function(){return lh.call(this)}},{key:"destroy",value:function(){return oh.call(this)}},{key:"enableEventListeners",value:function(){return ch.call(this)}},{key:"disableEventListeners",value:function(){return uh.call(this)}}]),e}();Hr.Utils=window.PopperUtils;Hr.placements=O0;Hr.Defaults=Ah;var v1=Hr,ol=et(ml()),Fh=["innerHTML","ownerDocument","style","attributes","nodeValue"],Oh=["Array","ArrayBuffer","AsyncFunction","AsyncGenerator","AsyncGeneratorFunction","Date","Error","Function","Generator","GeneratorFunction","HTMLElement","Map","Object","Promise","RegExp","Set","WeakMap","WeakSet"],Lh=["bigint","boolean","null","number","string","symbol","undefined"];function jr(e){var t=Object.prototype.toString.call(e).slice(8,-1);if(/HTML\w+Element/.test(t))return"HTMLElement";if(Rh(t))return t}function st(e){return function(t){return jr(t)===e}}function Rh(e){return Oh.includes(e)}function Fn(e){return function(t){return typeof t===e}}function Ih(e){return Lh.includes(e)}function T(e){if(e===null)return"null";switch(typeof e){case"bigint":return"bigint";case"boolean":return"boolean";case"number":return"number";case"string":return"string";case"symbol":return"symbol";case"undefined":return"undefined"}if(T.array(e))return"Array";if(T.plainFunction(e))return"Function";var t=jr(e);return t||"Object"}T.array=Array.isArray;T.arrayOf=function(e,t){return!T.array(e)&&!T.function(t)?!1:e.every(function(n){return t(n)})};T.asyncGeneratorFunction=function(e){return jr(e)==="AsyncGeneratorFunction"};T.asyncFunction=st("AsyncFunction");T.bigint=Fn("bigint");T.boolean=function(e){return e===!0||e===!1};T.date=st("Date");T.defined=function(e){return!T.undefined(e)};T.domElement=function(e){return T.object(e)&&!T.plainObject(e)&&e.nodeType===1&&T.string(e.nodeName)&&Fh.every(function(t){return t in e})};T.empty=function(e){return T.string(e)&&e.length===0||T.array(e)&&e.length===0||T.object(e)&&!T.map(e)&&!T.set(e)&&Object.keys(e).length===0||T.set(e)&&e.size===0||T.map(e)&&e.size===0};T.error=st("Error");T.function=Fn("function");T.generator=function(e){return T.iterable(e)&&T.function(e.next)&&T.function(e.throw)};T.generatorFunction=st("GeneratorFunction");T.instanceOf=function(e,t){return!e||!t?!1:Object.getPrototypeOf(e)===t.prototype};T.iterable=function(e){return!T.nullOrUndefined(e)&&T.function(e[Symbol.iterator])};T.map=st("Map");T.nan=function(e){return Number.isNaN(e)};T.null=function(e){return e===null};T.nullOrUndefined=function(e){return T.null(e)||T.undefined(e)};T.number=function(e){return Fn("number")(e)&&!T.nan(e)};T.numericString=function(e){return T.string(e)&&e.length>0&&!Number.isNaN(Number(e))};T.object=function(e){return!T.nullOrUndefined(e)&&(T.function(e)||typeof e=="object")};T.oneOf=function(e,t){return T.array(e)?e.indexOf(t)>-1:!1};T.plainFunction=st("Function");T.plainObject=function(e){if(jr(e)!=="Object")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.getPrototypeOf({})};T.primitive=function(e){return T.null(e)||Ih(typeof e)};T.promise=st("Promise");T.propertyOf=function(e,t,n){if(!T.object(e)||!t)return!1;var r=e[t];return T.function(n)?n(r):T.defined(r)};T.regexp=st("RegExp");T.set=st("Set");T.string=Fn("string");T.symbol=Fn("symbol");T.undefined=Fn("undefined");T.weakMap=st("WeakMap");T.weakSet=st("WeakSet");var R=T;function L0(e){return function(t){return typeof t===e}}var Zh=L0("function"),Bh=function(e){return e===null},y1=function(e){return Object.prototype.toString.call(e).slice(8,-1)==="RegExp"},E1=function(e){return!Ph(e)&&!Bh(e)&&(Zh(e)||typeof e=="object")},Ph=L0("undefined"),sl=function(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};function Vh(e,t){var n=e.length;if(n!==t.length)return!1;for(var r=n;r--!==0;)if(!He(e[r],t[r]))return!1;return!0}function Dh(e,t){if(e.byteLength!==t.byteLength)return!1;for(var n=new DataView(e.buffer),r=new DataView(t.buffer),i=e.byteLength;i--;)if(n.getUint8(i)!==r.getUint8(i))return!1;return!0}function Hh(e,t){var n,r,i,l;if(e.size!==t.size)return!1;try{for(var o=sl(e.entries()),s=o.next();!s.done;s=o.next()){var c=s.value;if(!t.has(c[0]))return!1}}catch(u){n={error:u}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}try{for(var d=sl(e.entries()),m=d.next();!m.done;m=d.next()){var c=m.value;if(!He(c[1],t.get(c[0])))return!1}}catch(u){i={error:u}}finally{try{m&&!m.done&&(l=d.return)&&l.call(d)}finally{if(i)throw i.error}}return!0}function jh(e,t){var n,r;if(e.size!==t.size)return!1;try{for(var i=sl(e.entries()),l=i.next();!l.done;l=i.next()){var o=l.value;if(!t.has(o[0]))return!1}}catch(s){n={error:s}}finally{try{l&&!l.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return!0}function He(e,t){if(e===t)return!0;if(e&&E1(e)&&t&&E1(t)){if(e.constructor!==t.constructor)return!1;if(Array.isArray(e)&&Array.isArray(t))return Vh(e,t);if(e instanceof Map&&t instanceof Map)return Hh(e,t);if(e instanceof Set&&t instanceof Set)return jh(e,t);if(ArrayBuffer.isView(e)&&ArrayBuffer.isView(t))return Dh(e,t);if(y1(e)&&y1(t))return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var i=n.length;i--!==0;)if(!Object.prototype.hasOwnProperty.call(t,n[i]))return!1;for(var i=n.length;i--!==0;){var l=n[i];if(!(l==="_owner"&&e.$$typeof)&&!He(e[l],t[l]))return!1}return!0}return Number.isNaN(e)&&Number.isNaN(t)?!0:e===t}function zh(){for(var e=[],t=0;tc);return R.undefined(r)||(d=d&&c===r),R.undefined(l)||(d=d&&s===l),d}function k1(e,t,n){var r=n.key,i=n.type,l=n.value,o=gt(e,r),s=gt(t,r),c=i==="added"?o:s,d=i==="added"?s:o;if(!R.nullOrUndefined(l)){if(R.defined(c)){if(R.array(c)||R.plainObject(c))return Uh(c,d,l)}else return He(d,l);return!1}return[o,s].every(R.array)?!d.every(Ul(c)):[o,s].every(R.plainObject)?$h(Object.keys(c),Object.keys(d)):![o,s].every(function(m){return R.primitive(m)&&R.defined(m)})&&(i==="added"?!R.defined(o)&&R.defined(s):R.defined(o)&&!R.defined(s))}function w1(e,t,n){var r=n===void 0?{}:n,i=r.key,l=gt(e,i),o=gt(t,i);if(!R0(l,o))throw new TypeError("Inputs have different types");if(!zh(l,o))throw new TypeError("Inputs don't have length");return[l,o].every(R.plainObject)&&(l=Object.keys(l),o=Object.keys(o)),[l,o]}function C1(e){return function(t){var n=t[0],r=t[1];return R.array(e)?He(e,r)||e.some(function(i){return He(i,r)||R.array(r)&&Ul(r)(i)}):R.plainObject(e)&&e[n]?!!e[n]&&He(e[n],r):He(e,r)}}function $h(e,t){return t.some(function(n){return!e.includes(n)})}function S1(e){return function(t){return R.array(e)?e.some(function(n){return He(n,t)||R.array(t)&&Ul(t)(n)}):He(e,t)}}function Hn(e,t){return R.array(e)?e.some(function(n){return He(n,t)}):He(e,t)}function Ul(e){return function(t){return e.some(function(n){return He(n,t)})}}function R0(){for(var e=[],t=0;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function qh(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,l;for(l=0;l=0)&&(n[i]=e[i]);return n}function I0(e,t){if(e==null)return{};var n=qh(e,t),r,i;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(i=0;i=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function Ct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yh(e,t){if(t&&(typeof t=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Ct(e)}function Ma(e){var t=Gh();return function(){var n=xr(e),r;if(t){var i=xr(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return Yh(this,r)}}function Qh(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Z0(e){var t=Qh(e,"string");return typeof t=="symbol"?t:String(t)}var Kh={flip:{padding:20},preventOverflow:{padding:10}},Jh="The typeValidator argument must be a function with the signature function(props, propName, componentName).",Xh="The error message is optional, but must be a string if provided.";function e7(e,t,n,r){return typeof e=="boolean"?e:typeof e=="function"?e(t,n,r):e?!!e:!1}function t7(e,t){return Object.hasOwnProperty.call(e,t)}function n7(e,t,n,r){return r?new Error(r):new Error("Required ".concat(e[t]," `").concat(t,"` was not specified in `").concat(n,"`."))}function a7(e,t){if(typeof e!="function")throw new TypeError(Jh);if(t&&typeof t!="string")throw new TypeError(Xh)}function _1(e,t,n){return a7(e,n),function(r,i,l){for(var o=arguments.length,s=new Array(o>3?o-3:0),c=3;c3&&arguments[3]!==void 0?arguments[3]:!1;e.addEventListener(t,n,r)}function i7(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;e.removeEventListener(t,n,r)}function l7(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,i;i=function(l){n(l),i7(e,t,i)},r7(e,t,i,r)}function M1(){}var B0=function(e){_a(n,e);var t=Ma(n);function n(){return xa(this,n),t.apply(this,arguments)}return Na(n,[{key:"componentDidMount",value:function(){ut()&&(this.node||this.appendNode(),jn||this.renderPortal())}},{key:"componentDidUpdate",value:function(){ut()&&(jn||this.renderPortal())}},{key:"componentWillUnmount",value:function(){!ut()||!this.node||(jn||Rn.unmountComponentAtNode(this.node),this.node&&this.node.parentNode===document.body&&(document.body.removeChild(this.node),this.node=void 0))}},{key:"appendNode",value:function(){var r=this.props,i=r.id,l=r.zIndex;this.node||(this.node=document.createElement("div"),i&&(this.node.id=i),l&&(this.node.style.zIndex=l),document.body.appendChild(this.node))}},{key:"renderPortal",value:function(){if(!ut())return null;var r=this.props,i=r.children,l=r.setRef;if(this.node||this.appendNode(),jn)return Rn.createPortal(i,this.node);var o=Rn.unstable_renderSubtreeIntoContainer(this,i.length>1?a.createElement("div",null,i):i[0],this.node);return l(o),null}},{key:"renderReact16",value:function(){var r=this.props,i=r.hasChildren,l=r.placement,o=r.target;return i?this.renderPortal():o||l==="center"?this.renderPortal():null}},{key:"render",value:function(){return jn?this.renderReact16():null}}]),n}(a.Component);Fe(B0,"propTypes",{children:N.default.oneOfType([N.default.element,N.default.array]),hasChildren:N.default.bool,id:N.default.oneOfType([N.default.string,N.default.number]),placement:N.default.string,setRef:N.default.func.isRequired,target:N.default.oneOfType([N.default.object,N.default.string]),zIndex:N.default.number});var P0=function(e){_a(n,e);var t=Ma(n);function n(){return xa(this,n),t.apply(this,arguments)}return Na(n,[{key:"parentStyle",get:function(){var r=this.props,i=r.placement,l=r.styles,o=l.arrow.length,s={pointerEvents:"none",position:"absolute",width:"100%"};return i.startsWith("top")?(s.bottom=0,s.left=0,s.right=0,s.height=o):i.startsWith("bottom")?(s.left=0,s.right=0,s.top=0,s.height=o):i.startsWith("left")?(s.right=0,s.top=0,s.bottom=0):i.startsWith("right")&&(s.left=0,s.top=0),s}},{key:"render",value:function(){var r=this.props,i=r.placement,l=r.setArrowRef,o=r.styles,s=o.arrow,c=s.color,d=s.display,m=s.length,u=s.margin,p=s.position,f=s.spread,g={display:d,position:p},y,k=f,E=m;return i.startsWith("top")?(y="0,0 ".concat(k/2,",").concat(E," ").concat(k,",0"),g.bottom=0,g.marginLeft=u,g.marginRight=u):i.startsWith("bottom")?(y="".concat(k,",").concat(E," ").concat(k/2,",0 0,").concat(E),g.top=0,g.marginLeft=u,g.marginRight=u):i.startsWith("left")?(E=f,k=m,y="0,0 ".concat(k,",").concat(E/2," 0,").concat(E),g.right=0,g.marginTop=u,g.marginBottom=u):i.startsWith("right")&&(E=f,k=m,y="".concat(k,",").concat(E," ").concat(k,",0 0,").concat(E/2),g.left=0,g.marginTop=u,g.marginBottom=u),a.createElement("div",{className:"__floater__arrow",style:this.parentStyle},a.createElement("span",{ref:l,style:g},a.createElement("svg",{width:k,height:E,version:"1.1",xmlns:"http://www.w3.org/2000/svg"},a.createElement("polygon",{points:y,fill:c}))))}}]),n}(a.Component);Fe(P0,"propTypes",{placement:N.default.string.isRequired,setArrowRef:N.default.func.isRequired,styles:N.default.object.isRequired});var o7=["color","height","width"];function V0(e){var t=e.handleClick,n=e.styles,r=n.color,i=n.height,l=n.width,o=I0(n,o7);return a.createElement("button",{"aria-label":"close",onClick:t,style:o,type:"button"},a.createElement("svg",{width:"".concat(l,"px"),height:"".concat(i,"px"),viewBox:"0 0 18 18",version:"1.1",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid"},a.createElement("g",null,a.createElement("path",{d:"M8.13911129,9.00268191 L0.171521827,17.0258467 C-0.0498027049,17.248715 -0.0498027049,17.6098394 0.171521827,17.8327545 C0.28204354,17.9443526 0.427188206,17.9998706 0.572051765,17.9998706 C0.71714958,17.9998706 0.862013139,17.9443526 0.972581703,17.8327545 L9.0000937,9.74924618 L17.0276057,17.8327545 C17.1384085,17.9443526 17.2832721,17.9998706 17.4281356,17.9998706 C17.5729992,17.9998706 17.718097,17.9443526 17.8286656,17.8327545 C18.0499901,17.6098862 18.0499901,17.2487618 17.8286656,17.0258467 L9.86135722,9.00268191 L17.8340066,0.973848225 C18.0553311,0.750979934 18.0553311,0.389855532 17.8340066,0.16694039 C17.6126821,-0.0556467968 17.254037,-0.0556467968 17.0329467,0.16694039 L9.00042166,8.25611765 L0.967006424,0.167268345 C0.745681892,-0.0553188426 0.387317931,-0.0553188426 0.165993399,0.167268345 C-0.0553311331,0.390136635 -0.0553311331,0.751261038 0.165993399,0.974176179 L8.13920499,9.00268191 L8.13911129,9.00268191 Z",fill:r}))))}V0.propTypes={handleClick:N.default.func.isRequired,styles:N.default.object.isRequired};function D0(e){var t=e.content,n=e.footer,r=e.handleClick,i=e.open,l=e.positionWrapper,o=e.showCloseButton,s=e.title,c=e.styles,d={content:a.isValidElement(t)?t:a.createElement("div",{className:"__floater__content",style:c.content},t)};return s&&(d.title=a.isValidElement(s)?s:a.createElement("div",{className:"__floater__title",style:c.title},s)),n&&(d.footer=a.isValidElement(n)?n:a.createElement("div",{className:"__floater__footer",style:c.footer},n)),(o||l)&&!R.boolean(i)&&(d.close=a.createElement(V0,{styles:c.close,handleClick:r})),a.createElement("div",{className:"__floater__container",style:c.container},d.close,d.title,d.content,d.footer)}D0.propTypes={content:N.default.node.isRequired,footer:N.default.node,handleClick:N.default.func.isRequired,open:N.default.bool,positionWrapper:N.default.bool.isRequired,showCloseButton:N.default.bool.isRequired,styles:N.default.object.isRequired,title:N.default.node};var H0=function(e){_a(n,e);var t=Ma(n);function n(){return xa(this,n),t.apply(this,arguments)}return Na(n,[{key:"style",get:function(){var r=this.props,i=r.disableAnimation,l=r.component,o=r.placement,s=r.hideArrow,c=r.status,d=r.styles,m=d.arrow.length,u=d.floater,p=d.floaterCentered,f=d.floaterClosing,g=d.floaterOpening,y=d.floaterWithAnimation,k=d.floaterWithComponent,E={};return s||(o.startsWith("top")?E.padding="0 0 ".concat(m,"px"):o.startsWith("bottom")?E.padding="".concat(m,"px 0 0"):o.startsWith("left")?E.padding="0 ".concat(m,"px 0 0"):o.startsWith("right")&&(E.padding="0 0 0 ".concat(m,"px"))),[te.OPENING,te.OPEN].indexOf(c)!==-1&&(E=ge(ge({},E),g)),c===te.CLOSING&&(E=ge(ge({},E),f)),c===te.OPEN&&!i&&(E=ge(ge({},E),y)),o==="center"&&(E=ge(ge({},E),p)),l&&(E=ge(ge({},E),k)),ge(ge({},u),E)}},{key:"render",value:function(){var r=this.props,i=r.component,l=r.handleClick,o=r.hideArrow,s=r.setFloaterRef,c=r.status,d={},m=["__floater"];return i?a.isValidElement(i)?d.content=a.cloneElement(i,{closeFn:l}):d.content=i({closeFn:l}):d.content=a.createElement(D0,this.props),c===te.OPEN&&m.push("__floater__open"),o||(d.arrow=a.createElement(P0,this.props)),a.createElement("div",{ref:s,className:m.join(" "),style:this.style},a.createElement("div",{className:"__floater__body"},d.content,d.arrow))}}]),n}(a.Component);Fe(H0,"propTypes",{component:N.default.oneOfType([N.default.func,N.default.element]),content:N.default.node,disableAnimation:N.default.bool.isRequired,footer:N.default.node,handleClick:N.default.func.isRequired,hideArrow:N.default.bool.isRequired,open:N.default.bool,placement:N.default.string.isRequired,positionWrapper:N.default.bool.isRequired,setArrowRef:N.default.func.isRequired,setFloaterRef:N.default.func.isRequired,showCloseButton:N.default.bool,status:N.default.string.isRequired,styles:N.default.object.isRequired,title:N.default.node});var j0=function(e){_a(n,e);var t=Ma(n);function n(){return xa(this,n),t.apply(this,arguments)}return Na(n,[{key:"render",value:function(){var r=this.props,i=r.children,l=r.handleClick,o=r.handleMouseEnter,s=r.handleMouseLeave,c=r.setChildRef,d=r.setWrapperRef,m=r.style,u=r.styles,p;if(i)if(a.Children.count(i)===1)if(!a.isValidElement(i))p=a.createElement("span",null,i);else{var f=R.function(i.type)?"innerRef":"ref";p=a.cloneElement(a.Children.only(i),Fe({},f,c))}else p=i;return p?a.createElement("span",{ref:d,style:ge(ge({},u),m),onClick:l,onMouseEnter:o,onMouseLeave:s},p):null}}]),n}(a.Component);Fe(j0,"propTypes",{children:N.default.node,handleClick:N.default.func.isRequired,handleMouseEnter:N.default.func.isRequired,handleMouseLeave:N.default.func.isRequired,setChildRef:N.default.func.isRequired,setWrapperRef:N.default.func.isRequired,style:N.default.object,styles:N.default.object.isRequired});var s7={zIndex:100};function c7(e){var t=(0,ol.default)(s7,e.options||{});return{wrapper:{cursor:"help",display:"inline-flex",flexDirection:"column",zIndex:t.zIndex},wrapperPosition:{left:-1e3,position:"absolute",top:-1e3,visibility:"hidden"},floater:{display:"inline-block",filter:"drop-shadow(0 0 3px rgba(0, 0, 0, 0.3))",maxWidth:300,opacity:0,position:"relative",transition:"opacity 0.3s",visibility:"hidden",zIndex:t.zIndex},floaterOpening:{opacity:1,visibility:"visible"},floaterWithAnimation:{opacity:1,transition:"opacity 0.3s, transform 0.2s",visibility:"visible"},floaterWithComponent:{maxWidth:"100%"},floaterClosing:{opacity:0,visibility:"visible"},floaterCentered:{left:"50%",position:"fixed",top:"50%",transform:"translate(-50%, -50%)"},container:{backgroundColor:"#fff",color:"#666",minHeight:60,minWidth:200,padding:20,position:"relative",zIndex:10},title:{borderBottom:"1px solid #555",color:"#555",fontSize:18,marginBottom:5,paddingBottom:6,paddingRight:18},content:{fontSize:15},close:{backgroundColor:"transparent",border:0,borderRadius:0,color:"#555",fontSize:0,height:15,outline:"none",padding:10,position:"absolute",right:0,top:0,width:15,WebkitAppearance:"none"},footer:{borderTop:"1px solid #ccc",fontSize:13,marginTop:10,paddingTop:5},arrow:{color:"#fff",display:"inline-flex",length:16,margin:8,position:"absolute",spread:32},options:t}}var d7=["arrow","flip","offset"],u7=["position","top","right","bottom","left"],$l=function(e){_a(n,e);var t=Ma(n);function n(r){var i;return xa(this,n),i=t.call(this,r),Fe(Ct(i),"setArrowRef",function(l){i.arrowRef=l}),Fe(Ct(i),"setChildRef",function(l){i.childRef=l}),Fe(Ct(i),"setFloaterRef",function(l){i.floaterRef=l}),Fe(Ct(i),"setWrapperRef",function(l){i.wrapperRef=l}),Fe(Ct(i),"handleTransitionEnd",function(){var l=i.state.status,o=i.props.callback;i.wrapperPopper&&i.wrapperPopper.instance.update(),i.setState({status:l===te.OPENING?te.OPEN:te.IDLE},function(){var s=i.state.status;o(s===te.OPEN?"open":"close",i.props)})}),Fe(Ct(i),"handleClick",function(){var l=i.props,o=l.event,s=l.open;if(!R.boolean(s)){var c=i.state,d=c.positionWrapper,m=c.status;(i.event==="click"||i.event==="hover"&&d)&&(za({title:"click",data:[{event:o,status:m===te.OPEN?"closing":"opening"}],debug:i.debug}),i.toggle())}}),Fe(Ct(i),"handleMouseEnter",function(){var l=i.props,o=l.event,s=l.open;if(!(R.boolean(s)||xi())){var c=i.state.status;i.event==="hover"&&c===te.IDLE&&(za({title:"mouseEnter",data:[{key:"originalEvent",value:o}],debug:i.debug}),clearTimeout(i.eventDelayTimeout),i.toggle())}}),Fe(Ct(i),"handleMouseLeave",function(){var l=i.props,o=l.event,s=l.eventDelay,c=l.open;if(!(R.boolean(c)||xi())){var d=i.state,m=d.status,u=d.positionWrapper;i.event==="hover"&&(za({title:"mouseLeave",data:[{key:"originalEvent",value:o}],debug:i.debug}),s?[te.OPENING,te.OPEN].indexOf(m)!==-1&&!u&&!i.eventDelayTimeout&&(i.eventDelayTimeout=setTimeout(function(){delete i.eventDelayTimeout,i.toggle()},s*1e3)):i.toggle(te.IDLE))}}),i.state={currentPlacement:r.placement,needsUpdate:!1,positionWrapper:r.wrapperOptions.position&&!!r.target,status:te.INIT,statusWrapper:te.INIT},i._isMounted=!1,i.hasMounted=!1,ut()&&window.addEventListener("load",function(){i.popper&&i.popper.instance.update(),i.wrapperPopper&&i.wrapperPopper.instance.update()}),i}return Na(n,[{key:"componentDidMount",value:function(){if(ut()){var r=this.state.positionWrapper,i=this.props,l=i.children,o=i.open,s=i.target;this._isMounted=!0,za({title:"init",data:{hasChildren:!!l,hasTarget:!!s,isControlled:R.boolean(o),positionWrapper:r,target:this.target,floater:this.floaterRef},debug:this.debug}),this.hasMounted||(this.initPopper(),this.hasMounted=!0),!l&&s&&R.boolean(o)}}},{key:"componentDidUpdate",value:function(r,i){if(ut()){var l=this.props,o=l.autoOpen,s=l.open,c=l.target,d=l.wrapperOptions,m=Wh(i,this.state),u=m.changedFrom,p=m.changed;if(r.open!==s){var f;R.boolean(s)&&(f=s?te.OPENING:te.CLOSING),this.toggle(f)}(r.wrapperOptions.position!==d.position||r.target!==c)&&this.changeWrapperPosition(this.props),p("status",te.IDLE)&&s?this.toggle(te.OPEN):u("status",te.INIT,te.IDLE)&&o&&this.toggle(te.OPEN),this.popper&&p("status",te.OPENING)&&this.popper.instance.update(),this.floaterRef&&(p("status",te.OPENING)||p("status",te.CLOSING))&&l7(this.floaterRef,"transitionend",this.handleTransitionEnd),p("needsUpdate",!0)&&this.rebuildPopper()}}},{key:"componentWillUnmount",value:function(){ut()&&(this._isMounted=!1,this.popper&&this.popper.instance.destroy(),this.wrapperPopper&&this.wrapperPopper.instance.destroy())}},{key:"initPopper",value:function(){var r=this,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.target,l=this.state.positionWrapper,o=this.props,s=o.disableFlip,c=o.getPopper,d=o.hideArrow,m=o.offset,u=o.placement,p=o.wrapperOptions,f=u==="top"||u==="bottom"?"flip":["right","bottom-end","top-end","left","top-start","bottom-start"];if(u==="center")this.setState({status:te.IDLE});else if(i&&this.floaterRef){var g=this.options,y=g.arrow,k=g.flip,E=g.offset,h=I0(g,d7);new v1(i,this.floaterRef,{placement:u,modifiers:ge({arrow:ge({enabled:!d,element:this.arrowRef},y),flip:ge({enabled:!s,behavior:f},k),offset:ge({offset:"0, ".concat(m,"px")},E)},h),onCreate:function(b){var C;if(r.popper=b,!((C=r.floaterRef)!==null&&C!==void 0&&C.isConnected)){r.setState({needsUpdate:!0});return}c(b,"floater"),r._isMounted&&r.setState({currentPlacement:b.placement,status:te.IDLE}),u!==b.placement&&setTimeout(function(){b.instance.update()},1)},onUpdate:function(b){r.popper=b;var C=r.state.currentPlacement;r._isMounted&&b.placement!==C&&r.setState({currentPlacement:b.placement})}})}if(l){var v=R.undefined(p.offset)?0:p.offset;new v1(this.target,this.wrapperRef,{placement:p.placement||u,modifiers:{arrow:{enabled:!1},offset:{offset:"0, ".concat(v,"px")},flip:{enabled:!1}},onCreate:function(b){r.wrapperPopper=b,r._isMounted&&r.setState({statusWrapper:te.IDLE}),c(b,"wrapper"),u!==b.placement&&setTimeout(function(){b.instance.update()},1)}})}}},{key:"rebuildPopper",value:function(){var r=this;this.floaterRefInterval=setInterval(function(){var i;(i=r.floaterRef)!==null&&i!==void 0&&i.isConnected&&(clearInterval(r.floaterRefInterval),r.setState({needsUpdate:!1}),r.initPopper())},50)}},{key:"changeWrapperPosition",value:function(r){var i=r.target,l=r.wrapperOptions;this.setState({positionWrapper:l.position&&!!i})}},{key:"toggle",value:function(r){var i=this.state.status,l=i===te.OPEN?te.CLOSING:te.OPENING;R.undefined(r)||(l=r),this.setState({status:l})}},{key:"debug",get:function(){var r=this.props.debug;return r||ut()&&"ReactFloaterDebug"in window&&!!window.ReactFloaterDebug}},{key:"event",get:function(){var r=this.props,i=r.disableHoverToClick,l=r.event;return l==="hover"&&xi()&&!i?"click":l}},{key:"options",get:function(){var r=this.props.options;return(0,ol.default)(Kh,r||{})}},{key:"styles",get:function(){var r=this,i=this.state,l=i.status,o=i.positionWrapper,s=i.statusWrapper,c=this.props.styles,d=(0,ol.default)(c7(c),c);if(o){var m;[te.IDLE].indexOf(l)===-1||[te.IDLE].indexOf(s)===-1?m=d.wrapperPosition:m=this.wrapperPopper.styles,d.wrapper=ge(ge({},d.wrapper),m)}if(this.target){var u=window.getComputedStyle(this.target);this.wrapperStyles?d.wrapper=ge(ge({},d.wrapper),this.wrapperStyles):["relative","static"].indexOf(u.position)===-1&&(this.wrapperStyles={},o||(u7.forEach(function(p){r.wrapperStyles[p]=u[p]}),d.wrapper=ge(ge({},d.wrapper),this.wrapperStyles),this.target.style.position="relative",this.target.style.top="auto",this.target.style.right="auto",this.target.style.bottom="auto",this.target.style.left="auto"))}return d}},{key:"target",get:function(){if(!ut())return null;var r=this.props.target;return r?R.domElement(r)?r:document.querySelector(r):this.childRef||this.wrapperRef}},{key:"render",value:function(){var r=this.state,i=r.currentPlacement,l=r.positionWrapper,o=r.status,s=this.props,c=s.children,d=s.component,m=s.content,u=s.disableAnimation,p=s.footer,f=s.hideArrow,g=s.id,y=s.open,k=s.showCloseButton,E=s.style,h=s.target,v=s.title,b=a.createElement(j0,{handleClick:this.handleClick,handleMouseEnter:this.handleMouseEnter,handleMouseLeave:this.handleMouseLeave,setChildRef:this.setChildRef,setWrapperRef:this.setWrapperRef,style:E,styles:this.styles.wrapper},c),C={};return l?C.wrapperInPortal=b:C.wrapperAsChildren=b,a.createElement("span",null,a.createElement(B0,{hasChildren:!!c,id:g,placement:i,setRef:this.setFloaterRef,target:h,zIndex:this.styles.options.zIndex},a.createElement(H0,{component:d,content:m,disableAnimation:u,footer:p,handleClick:this.handleClick,hideArrow:f||i==="center",open:y,placement:i,positionWrapper:l,setArrowRef:this.setArrowRef,setFloaterRef:this.setFloaterRef,showCloseButton:k,status:o,styles:this.styles,title:v}),C.wrapperInPortal),C.wrapperAsChildren)}}]),n}(a.Component);Fe($l,"propTypes",{autoOpen:N.default.bool,callback:N.default.func,children:N.default.node,component:_1(N.default.oneOfType([N.default.func,N.default.element]),function(e){return!e.content}),content:_1(N.default.node,function(e){return!e.component}),debug:N.default.bool,disableAnimation:N.default.bool,disableFlip:N.default.bool,disableHoverToClick:N.default.bool,event:N.default.oneOf(["hover","click"]),eventDelay:N.default.number,footer:N.default.node,getPopper:N.default.func,hideArrow:N.default.bool,id:N.default.oneOfType([N.default.string,N.default.number]),offset:N.default.number,open:N.default.bool,options:N.default.object,placement:N.default.oneOf(["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end","auto","center"]),showCloseButton:N.default.bool,style:N.default.object,styles:N.default.object,target:N.default.oneOfType([N.default.object,N.default.string]),title:N.default.node,wrapperOptions:N.default.shape({offset:N.default.number,placement:N.default.oneOf(["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end","auto"]),position:N.default.bool})});Fe($l,"defaultProps",{autoOpen:!1,callback:M1,debug:!1,disableAnimation:!1,disableFlip:!1,disableHoverToClick:!1,event:"click",eventDelay:.4,getPopper:M1,hideArrow:!1,offset:15,placement:"bottom",showCloseButton:!1,styles:{},target:null,wrapperOptions:{position:!1}});var m7=et(I5(),1),p7=Object.defineProperty,h7=(e,t,n)=>t in e?p7(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,L=(e,t,n)=>(h7(e,typeof t!="symbol"?t+"":t,n),n),de={INIT:"init",START:"start",STOP:"stop",RESET:"reset",PREV:"prev",NEXT:"next",GO:"go",CLOSE:"close",SKIP:"skip",UPDATE:"update"},nt={TOUR_START:"tour:start",STEP_BEFORE:"step:before",BEACON:"beacon",TOOLTIP:"tooltip",STEP_AFTER:"step:after",TOUR_END:"tour:end",TOUR_STATUS:"tour:status",TARGET_NOT_FOUND:"error:target_not_found",ERROR:"error"},q={INIT:"init",READY:"ready",BEACON:"beacon",TOOLTIP:"tooltip",COMPLETE:"complete",ERROR:"error"},J={IDLE:"idle",READY:"ready",WAITING:"waiting",RUNNING:"running",PAUSED:"paused",SKIPPED:"skipped",FINISHED:"finished",ERROR:"error"};function It(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function z0(e){return e?e.getBoundingClientRect():null}function f7(){let{body:e,documentElement:t}=document;return!e||!t?0:Math.max(e.scrollHeight,e.offsetHeight,t.clientHeight,t.scrollHeight,t.offsetHeight)}function Pt(e){return typeof e=="string"?document.querySelector(e):e}function g7(e){return!e||e.nodeType!==1?null:getComputedStyle(e)}function zr(e,t,n){if(!e)return qt();let r=(0,v0.default)(e);if(r){if(r.isSameNode(qt()))return n?document:qt();if(!(r.scrollHeight>r.offsetHeight)&&!t)return r.style.overflow="initial",qt()}return r}function Ur(e,t){if(!e)return!1;let n=zr(e,t);return n?!n.isSameNode(qt()):!1}function v7(e){return e.offsetParent!==document.body}function va(e,t="fixed"){if(!e||!(e instanceof HTMLElement))return!1;let{nodeName:n}=e,r=g7(e);return n==="BODY"||n==="HTML"?!1:r&&r.position===t?!0:e.parentNode?va(e.parentNode,t):!1}function y7(e){var t;if(!e)return!1;let n=e;for(;n&&n!==document.body;){if(n instanceof HTMLElement){let{display:r,visibility:i}=getComputedStyle(n);if(r==="none"||i==="hidden")return!1}n=(t=n.parentElement)!=null?t:null}return!0}function E7(e,t,n){var r;let i=z0(e),l=zr(e,n),o=Ur(e,n),s=0,c=(r=i?.top)!=null?r:0;return l instanceof HTMLElement&&(s=l.scrollTop,!o&&!va(e)&&(c+=s),l.isSameNode(qt())||(c+=qt().scrollTop)),Math.floor(c-t)}function b7(e,t,n){var r;if(!e)return 0;let{offsetTop:i=0,scrollTop:l=0}=(r=(0,v0.default)(e))!=null?r:{},o=e.getBoundingClientRect().top+l;i&&(Ur(e,n)||v7(e))&&(o-=i);let s=Math.floor(o-t);return s<0?0:s}function qt(){var e;return(e=document.scrollingElement)!=null?e:document.documentElement}function k7(e,t){let{duration:n,element:r}=t;return new Promise((i,l)=>{let{scrollTop:o}=r,s=e>o?e-o:o-e;$3.default.top(r,e,{duration:s<100?50:n},c=>c&&c.message!=="Element already at target scroll position"?l(c):i())})}var zn=In!==void 0;function U0(e=navigator.userAgent){let t=e;return typeof window>"u"?t="node":document.documentMode?t="ie":/Edge/.test(e)?t="edge":window.opera||e.includes(" OPR/")?t="opera":typeof window.InstallTrigger<"u"?t="firefox":window.chrome?t="chrome":/(Version\/([\d._]+).*Safari|CriOS|FxiOS| Mobile\/)/.test(e)&&(t="safari"),t}function Zt(e){let t=[],n=r=>{if(typeof r=="string"||typeof r=="number")t.push(r);else if(Array.isArray(r))r.forEach(i=>n(i));else if(qr(r)){let{children:i}=r.props;Array.isArray(i)?i.forEach(l=>n(l)):n(i)}};return n(e),t.join(" ").trim()}function w7(e,t){return!F.plainObject(e)||!F.array(t)?!1:Object.keys(e).every(n=>t.includes(n))}function C7(e){let t=/^#?([\da-f])([\da-f])([\da-f])$/i,n=e.replace(t,(i,l,o,s)=>l+l+o+o+s+s),r=/^#?([\da-f]{2})([\da-f]{2})([\da-f]{2})$/i.exec(n);return r?[parseInt(r[1],16),parseInt(r[2],16),parseInt(r[3],16)]:[]}function T1(e){return e.disableBeacon||e.placement==="center"}function A1(){return!["chrome","safari","firefox","opera"].includes(U0())}function tn({data:e,debug:t=!1,title:n,warn:r=!1}){let i=r?console.warn||console.error:console.log;t&&(n&&e?(console.groupCollapsed(`%creact-joyride: ${n}`,"color: #ff0044; font-weight: bold; font-size: 12px;"),Array.isArray(e)?e.forEach(l=>{F.plainObject(l)&&l.key?i.apply(console,[l.key,l.value]):i.apply(console,[l])}):i.apply(console,[e]),console.groupEnd()):console.error("Missing title or data props"))}function S7(e){let{isFirstStep:t,lifecycle:n,previousLifecycle:r,scrollToFirstStep:i,step:l,target:o}=e;return!l.disableScrolling&&(!t||i||n===q.TOOLTIP)&&l.placement!=="center"&&(!l.isFixed||!va(o))&&r!==n&&[q.BEACON,q.TOOLTIP].includes(n)}var x7={options:{preventOverflow:{boundariesElement:"scrollParent"}},wrapperOptions:{offset:-18,position:!0}},$0={back:"Back",close:"Close",last:"Last",next:"Next",open:"Open the dialog",skip:"Skip"},N7={event:"click",placement:"bottom",offset:10,disableBeacon:!1,disableCloseOnEsc:!1,disableOverlay:!1,disableOverlayClose:!1,disableScrollParentFix:!1,disableScrolling:!1,hideBackButton:!1,hideCloseButton:!1,hideFooter:!1,isFixed:!1,locale:$0,showProgress:!1,showSkipButton:!1,spotlightClicks:!1,spotlightPadding:10},_7={continuous:!1,debug:!1,disableCloseOnEsc:!1,disableOverlay:!1,disableOverlayClose:!1,disableScrolling:!1,disableScrollParentFix:!1,getHelpers:void 0,hideBackButton:!1,run:!0,scrollOffset:20,scrollDuration:300,scrollToFirstStep:!1,showSkipButton:!1,showProgress:!1,spotlightClicks:!1,spotlightPadding:10,steps:[]},M7={arrowColor:"#fff",backgroundColor:"#fff",beaconSize:36,overlayColor:"rgba(0, 0, 0, 0.5)",primaryColor:"#f04",spotlightShadow:"0 0 15px rgba(0, 0, 0, 0.5)",textColor:"#333",width:380,zIndex:100},Un={backgroundColor:"transparent",border:0,borderRadius:0,color:"#555",cursor:"pointer",fontSize:16,lineHeight:1,padding:8,WebkitAppearance:"none"},F1={borderRadius:4,position:"absolute"};function T7(e,t){let n=(0,wi.default)(e??{},t??{}),r=(0,wi.default)(M7,n.options||{}),{width:i}=r;window.innerWidth>480&&(i=380),"width"in r&&(i=typeof r.width=="number"&&window.innerWidthW0(n,t)):(tn({title:"validateSteps",data:"steps must be an array",warn:!0,debug:t}),!1)}var F7={action:"init",controlled:!1,index:0,lifecycle:q.INIT,size:0,status:J.IDLE},L1=["action","index","lifecycle","status"],O7=class{constructor(e){L(this,"beaconPopper"),L(this,"tooltipPopper"),L(this,"data",new Map),L(this,"listener"),L(this,"store",new Map),L(this,"addListener",i=>{this.listener=i}),L(this,"setSteps",i=>{let{size:l,status:o}=this.getState(),s={size:i.length,status:o};this.data.set("steps",i),o===J.WAITING&&!l&&i.length&&(s.status=J.RUNNING),this.setState(s)}),L(this,"getPopper",i=>i==="beacon"?this.beaconPopper:this.tooltipPopper),L(this,"setPopper",(i,l)=>{i==="beacon"?this.beaconPopper=l:this.tooltipPopper=l}),L(this,"cleanupPoppers",()=>{this.beaconPopper=null,this.tooltipPopper=null}),L(this,"close",()=>{let{index:i,status:l}=this.getState();l===J.RUNNING&&this.setState({...this.getNextState({action:de.CLOSE,index:i+1})})}),L(this,"go",i=>{let{controlled:l,status:o}=this.getState();if(l||o!==J.RUNNING)return;let s=this.getSteps()[i];this.setState({...this.getNextState({action:de.GO,index:i}),status:s?o:J.FINISHED})}),L(this,"info",()=>this.getState()),L(this,"next",()=>{let{index:i,status:l}=this.getState();l===J.RUNNING&&this.setState(this.getNextState({action:de.NEXT,index:i+1}))}),L(this,"open",()=>{let{status:i}=this.getState();i===J.RUNNING&&this.setState({...this.getNextState({action:de.UPDATE,lifecycle:q.TOOLTIP})})}),L(this,"prev",()=>{let{index:i,status:l}=this.getState();l===J.RUNNING&&this.setState({...this.getNextState({action:de.PREV,index:i-1})})}),L(this,"reset",(i=!1)=>{let{controlled:l}=this.getState();l||this.setState({...this.getNextState({action:de.RESET,index:0}),status:i?J.RUNNING:J.READY})}),L(this,"skip",()=>{let{status:i}=this.getState();i===J.RUNNING&&this.setState({action:de.SKIP,lifecycle:q.INIT,status:J.SKIPPED})}),L(this,"start",i=>{let{index:l,size:o}=this.getState();this.setState({...this.getNextState({action:de.START,index:F.number(i)?i:l},!0),status:o?J.RUNNING:J.WAITING})}),L(this,"stop",(i=!1)=>{let{index:l,status:o}=this.getState();[J.FINISHED,J.SKIPPED].includes(o)||this.setState({...this.getNextState({action:de.STOP,index:l+(i?1:0)}),status:J.PAUSED})}),L(this,"update",i=>{var l;if(!w7(i,L1))throw new Error(`State is not valid. Valid keys: ${L1.join(", ")}`);this.setState({...this.getNextState({...this.getState(),...i,action:(l=i.action)!=null?l:de.UPDATE},!0)})});let{continuous:t=!1,stepIndex:n,steps:r=[]}=e??{};this.setState({action:de.INIT,controlled:F.number(n),continuous:t,index:F.number(n)?n:0,lifecycle:q.INIT,status:r.length?J.READY:J.IDLE},!0),this.beaconPopper=null,this.tooltipPopper=null,this.listener=null,this.setSteps(r)}getState(){return this.store.size?{action:this.store.get("action")||"",controlled:this.store.get("controlled")||!1,index:parseInt(this.store.get("index"),10),lifecycle:this.store.get("lifecycle")||"",size:this.store.get("size")||0,status:this.store.get("status")||""}:{...F7}}getNextState(e,t=!1){var n,r,i,l;let{action:o,controlled:s,index:c,size:d,status:m}=this.getState(),u=F.number(e.index)?e.index:c,p=s&&!t?c:Math.min(Math.max(u,0),d);return{action:(n=e.action)!=null?n:o,controlled:s,index:p,lifecycle:(r=e.lifecycle)!=null?r:q.INIT,size:(i=e.size)!=null?i:d,status:p===d?J.FINISHED:(l=e.status)!=null?l:m}}getSteps(){let e=this.data.get("steps");return Array.isArray(e)?e:[]}hasUpdatedState(e){let t=JSON.stringify(e),n=JSON.stringify(this.getState());return t!==n}setState(e,t=!1){let n=this.getState(),{action:r,index:i,lifecycle:l,size:o,status:s}={...n,...e};this.store.set("action",r),this.store.set("index",i),this.store.set("lifecycle",l),this.store.set("size",o),this.store.set("status",s),t&&(this.store.set("controlled",e.controlled),this.store.set("continuous",e.continuous)),this.listener&&this.hasUpdatedState(n)&&this.listener(this.getState())}getHelpers(){return{close:this.close,go:this.go,info:this.info,next:this.next,open:this.open,prev:this.prev,reset:this.reset,skip:this.skip}}};function L7(e){return new O7(e)}var R7=class{constructor(e,t){if(L(this,"element"),L(this,"options"),L(this,"canBeTabbed",n=>{let{tabIndex:r}=n;return r===null||r<0?!1:this.canHaveFocus(n)}),L(this,"canHaveFocus",n=>{let r=/input|select|textarea|button|object/,i=n.nodeName.toLowerCase();return(r.test(i)&&!n.getAttribute("disabled")||i==="a"&&!!n.getAttribute("href"))&&this.isVisible(n)}),L(this,"findValidTabElements",()=>[].slice.call(this.element.querySelectorAll("*"),0).filter(this.canBeTabbed)),L(this,"handleKeyDown",n=>{let{code:r="Tab"}=this.options;n.code===r&&this.interceptTab(n)}),L(this,"interceptTab",n=>{n.preventDefault();let r=this.findValidTabElements(),{shiftKey:i}=n;if(!r.length)return;let l=document.activeElement?r.indexOf(document.activeElement):0;l===-1||!i&&l+1===r.length?l=0:i&&l===0?l=r.length-1:l+=i?-1:1,r[l].focus()}),L(this,"isHidden",n=>{let r=n.offsetWidth<=0&&n.offsetHeight<=0,i=window.getComputedStyle(n);return r&&!n.innerHTML?!0:r&&i.getPropertyValue("overflow")!=="visible"||i.getPropertyValue("display")==="none"}),L(this,"isVisible",n=>{let r=n;for(;r;)if(r instanceof HTMLElement){if(r===document.body)break;if(this.isHidden(r))return!1;r=r.parentNode}return!0}),L(this,"removeScope",()=>{window.removeEventListener("keydown",this.handleKeyDown)}),L(this,"checkFocus",n=>{document.activeElement!==n&&(n.focus(),window.requestAnimationFrame(()=>this.checkFocus(n)))}),L(this,"setFocus",()=>{let{selector:n}=this.options;if(!n)return;let r=this.element.querySelector(n);r&&window.requestAnimationFrame(()=>this.checkFocus(r))}),!(e instanceof HTMLElement))throw new TypeError("Invalid parameter: element must be an HTMLElement");this.element=e,this.options=t,window.addEventListener("keydown",this.handleKeyDown,!1),this.setFocus()}},I7=class extends At{constructor(e){if(super(e),L(this,"beacon",null),L(this,"setBeaconRef",i=>{this.beacon=i}),e.beaconComponent)return;let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.id="joyride-beacon-animation",e.nonce&&n.setAttribute("nonce",e.nonce),n.appendChild(document.createTextNode(` + @keyframes joyride-beacon-inner { + 20% { + opacity: 0.9; + } + + 90% { + opacity: 0.7; + } + } + + @keyframes joyride-beacon-outer { + 0% { + transform: scale(1); + } + + 45% { + opacity: 0.7; + transform: scale(0.75); + } + + 100% { + opacity: 0.9; + transform: scale(1); + } + } + `)),t.appendChild(n)}componentDidMount(){let{shouldFocus:e}=this.props;setTimeout(()=>{F.domElement(this.beacon)&&e&&this.beacon.focus()},0)}componentWillUnmount(){let e=document.getElementById("joyride-beacon-animation");e?.parentNode&&e.parentNode.removeChild(e)}render(){let{beaconComponent:e,continuous:t,index:n,isLastStep:r,locale:i,onClickOrHover:l,size:o,step:s,styles:c}=this.props,d=F.string(i.open)?i.open:(0,m7.default)(i.open),m={"aria-label":d,onClick:l,onMouseEnter:l,ref:this.setBeaconRef,title:d},u;return e?u=S(e,{continuous:t,index:n,isLastStep:r,size:o,step:s,...m}):u=S("button",{key:"JoyrideBeacon",className:"react-joyride__beacon","data-test-id":"button-beacon",style:c.beacon,type:"button",...m},S("span",{style:c.beaconInner}),S("span",{style:c.beaconOuter})),u}};function Z7({styles:e}){return S("div",{key:"JoyrideSpotlight",className:"react-joyride__spotlight","data-test-id":"spotlight",style:e})}var B7=Z7,P7=class extends At{constructor(){super(...arguments),L(this,"isActive",!1),L(this,"resizeTimeout"),L(this,"scrollTimeout"),L(this,"scrollParent"),L(this,"state",{isScrolling:!1,mouseOverSpotlight:!1,showSpotlight:!0}),L(this,"handleMouseMove",e=>{let{mouseOverSpotlight:t}=this.state,{height:n,left:r,position:i,top:l,width:o}=this.spotlightStyles,s=i==="fixed"?e.clientY:e.pageY,c=i==="fixed"?e.clientX:e.pageX,d=s>=l&&s<=l+n,m=c>=r&&c<=r+o&&d;m!==t&&this.updateState({mouseOverSpotlight:m})}),L(this,"handleScroll",()=>{let{target:e}=this.props,t=Pt(e);if(this.scrollParent!==document){let{isScrolling:n}=this.state;n||this.updateState({isScrolling:!0,showSpotlight:!1}),clearTimeout(this.scrollTimeout),this.scrollTimeout=window.setTimeout(()=>{this.updateState({isScrolling:!1,showSpotlight:!0})},50)}else va(t,"sticky")&&this.updateState({})}),L(this,"handleResize",()=>{clearTimeout(this.resizeTimeout),this.resizeTimeout=window.setTimeout(()=>{this.isActive&&this.forceUpdate()},100)})}componentDidMount(){let{debug:e,disableScrolling:t,disableScrollParentFix:n=!1,target:r}=this.props,i=Pt(r);this.scrollParent=zr(i??document.body,n,!0),this.isActive=!0,window.addEventListener("resize",this.handleResize)}componentDidUpdate(e){var t;let{lifecycle:n,spotlightClicks:r}=this.props,{changed:i}=wr(e,this.props);i("lifecycle",q.TOOLTIP)&&((t=this.scrollParent)==null||t.addEventListener("scroll",this.handleScroll,{passive:!0}),setTimeout(()=>{let{isScrolling:l}=this.state;l||this.updateState({showSpotlight:!0})},100)),(i("spotlightClicks")||i("disableOverlay")||i("lifecycle"))&&(r&&n===q.TOOLTIP?window.addEventListener("mousemove",this.handleMouseMove,!1):n!==q.TOOLTIP&&window.removeEventListener("mousemove",this.handleMouseMove))}componentWillUnmount(){var e;this.isActive=!1,window.removeEventListener("mousemove",this.handleMouseMove),window.removeEventListener("resize",this.handleResize),clearTimeout(this.resizeTimeout),clearTimeout(this.scrollTimeout),(e=this.scrollParent)==null||e.removeEventListener("scroll",this.handleScroll)}get spotlightStyles(){var e,t,n;let{showSpotlight:r}=this.state,{disableScrollParentFix:i=!1,spotlightClicks:l,spotlightPadding:o=0,styles:s,target:c}=this.props,d=Pt(c),m=z0(d),u=va(d),p=E7(d,o,i);return{...A1()?s.spotlightLegacy:s.spotlight,height:Math.round(((e=m?.height)!=null?e:0)+o*2),left:Math.round(((t=m?.left)!=null?t:0)-o),opacity:r?1:0,pointerEvents:l?"none":"auto",position:u?"fixed":"absolute",top:p,transition:"opacity 0.2s",width:Math.round(((n=m?.width)!=null?n:0)+o*2)}}updateState(e){this.isActive&&this.setState(t=>({...t,...e}))}render(){let{mouseOverSpotlight:e,showSpotlight:t}=this.state,{disableOverlay:n,disableOverlayClose:r,lifecycle:i,onClickOverlay:l,placement:o,styles:s}=this.props;if(n||i!==q.TOOLTIP)return null;let c=s.overlay;A1()&&(c=o==="center"?s.overlayLegacyCenter:s.overlayLegacy);let d={cursor:r?"default":"pointer",height:f7(),pointerEvents:e?"none":"auto",...c},m=o!=="center"&&t&&S(B7,{styles:this.spotlightStyles});if(U0()==="safari"){let{mixBlendMode:u,zIndex:p,...f}=d;m=S("div",{style:{...f}},m),delete d.backgroundColor}return S("div",{className:"react-joyride__overlay","data-test-id":"overlay",onClick:l,role:"presentation",style:d},m)}},V7=class extends At{constructor(){super(...arguments),L(this,"node",null)}componentDidMount(){let{id:e}=this.props;It()&&(this.node=document.createElement("div"),this.node.id=e,document.body.appendChild(this.node),zn||this.renderReact15())}componentDidUpdate(){It()&&(zn||this.renderReact15())}componentWillUnmount(){!It()||!this.node||(zn||uo(this.node),this.node.parentNode===document.body&&(document.body.removeChild(this.node),this.node=null))}renderReact15(){if(!It())return;let{children:e}=this.props;this.node&&mo(this,e,this.node)}renderReact16(){if(!It()||!zn)return null;let{children:e}=this.props;return this.node?In(e,this.node):null}render(){return zn?this.renderReact16():null}};function D7({styles:e,...t}){let{color:n,height:r,width:i,...l}=e;return a.createElement("button",{style:l,type:"button",...t},a.createElement("svg",{height:typeof r=="number"?`${r}px`:r,preserveAspectRatio:"xMidYMid",version:"1.1",viewBox:"0 0 18 18",width:typeof i=="number"?`${i}px`:i,xmlns:"http://www.w3.org/2000/svg"},a.createElement("g",null,a.createElement("path",{d:"M8.13911129,9.00268191 L0.171521827,17.0258467 C-0.0498027049,17.248715 -0.0498027049,17.6098394 0.171521827,17.8327545 C0.28204354,17.9443526 0.427188206,17.9998706 0.572051765,17.9998706 C0.71714958,17.9998706 0.862013139,17.9443526 0.972581703,17.8327545 L9.0000937,9.74924618 L17.0276057,17.8327545 C17.1384085,17.9443526 17.2832721,17.9998706 17.4281356,17.9998706 C17.5729992,17.9998706 17.718097,17.9443526 17.8286656,17.8327545 C18.0499901,17.6098862 18.0499901,17.2487618 17.8286656,17.0258467 L9.86135722,9.00268191 L17.8340066,0.973848225 C18.0553311,0.750979934 18.0553311,0.389855532 17.8340066,0.16694039 C17.6126821,-0.0556467968 17.254037,-0.0556467968 17.0329467,0.16694039 L9.00042166,8.25611765 L0.967006424,0.167268345 C0.745681892,-0.0553188426 0.387317931,-0.0553188426 0.165993399,0.167268345 C-0.0553311331,0.390136635 -0.0553311331,0.751261038 0.165993399,0.974176179 L8.13920499,9.00268191 L8.13911129,9.00268191 Z",fill:n}))))}var H7=D7;function j7(e){let{backProps:t,closeProps:n,continuous:r,index:i,isLastStep:l,primaryProps:o,size:s,skipProps:c,step:d,tooltipProps:m}=e,{content:u,hideBackButton:p,hideCloseButton:f,hideFooter:g,locale:y,showProgress:k,showSkipButton:E,styles:h,title:v}=d,{back:b,close:C,last:O,next:I,skip:U}=y,G={primary:C};return r&&(G.primary=l?O:I,k&&(G.primary=S("span",null,G.primary," (",i+1,"/",s,")"))),E&&!l&&(G.skip=S("button",{"aria-live":"off","data-test-id":"button-skip",style:h.buttonSkip,type:"button",...c},U)),!p&&i>0&&(G.back=S("button",{"data-test-id":"button-back",style:h.buttonBack,type:"button",...t},b)),G.close=!f&&S(H7,{"data-test-id":"button-close",styles:h.buttonClose,...n}),S("div",{key:"JoyrideTooltip","aria-label":Zt(v)||Zt(u),className:"react-joyride__tooltip",style:h.tooltip,...m},S("div",{style:h.tooltipContainer},v&&S("h1",{"aria-label":Zt(v),style:h.tooltipTitle},v),S("div",{style:h.tooltipContent},u)),!g&&S("div",{style:h.tooltipFooter},S("div",{style:h.tooltipFooterSpacer},G.skip),G.back,S("button",{"data-test-id":"button-primary",style:h.buttonNext,type:"button",...o},G.primary)),G.close)}var z7=j7,U7=class extends At{constructor(){super(...arguments),L(this,"handleClickBack",e=>{e.preventDefault();let{helpers:t}=this.props;t.prev()}),L(this,"handleClickClose",e=>{e.preventDefault();let{helpers:t}=this.props;t.close()}),L(this,"handleClickPrimary",e=>{e.preventDefault();let{continuous:t,helpers:n}=this.props;if(!t){n.close();return}n.next()}),L(this,"handleClickSkip",e=>{e.preventDefault();let{helpers:t}=this.props;t.skip()}),L(this,"getElementsProps",()=>{let{continuous:e,isLastStep:t,setTooltipRef:n,step:r}=this.props,i=Zt(r.locale.back),l=Zt(r.locale.close),o=Zt(r.locale.last),s=Zt(r.locale.next),c=Zt(r.locale.skip),d=e?s:l;return t&&(d=o),{backProps:{"aria-label":i,"data-action":"back",onClick:this.handleClickBack,role:"button",title:i},closeProps:{"aria-label":l,"data-action":"close",onClick:this.handleClickClose,role:"button",title:l},primaryProps:{"aria-label":d,"data-action":"primary",onClick:this.handleClickPrimary,role:"button",title:d},skipProps:{"aria-label":c,"data-action":"skip",onClick:this.handleClickSkip,role:"button",title:c},tooltipProps:{"aria-modal":!0,ref:n,role:"alertdialog"}}})}render(){let{continuous:e,index:t,isLastStep:n,setTooltipRef:r,size:i,step:l}=this.props,{beaconComponent:o,tooltipComponent:s,...c}=l,d;if(s){let m={...this.getElementsProps(),continuous:e,index:t,isLastStep:n,size:i,step:c,setTooltipRef:r};d=S(s,{...m})}else d=S(z7,{...this.getElementsProps(),continuous:e,index:t,isLastStep:n,size:i,step:l});return d}},$7=class extends At{constructor(){super(...arguments),L(this,"scope",null),L(this,"tooltip",null),L(this,"handleClickHoverBeacon",e=>{let{step:t,store:n}=this.props;e.type==="mouseenter"&&t.event!=="hover"||n.update({lifecycle:q.TOOLTIP})}),L(this,"handleClickOverlay",()=>{let{helpers:e,step:t}=this.props;t.disableOverlayClose||e.close()}),L(this,"setTooltipRef",e=>{this.tooltip=e}),L(this,"setPopper",(e,t)=>{var n;let{action:r,step:i,store:l}=this.props;t==="wrapper"?l.setPopper("beacon",e):l.setPopper("tooltip",e),l.getPopper("beacon")&&l.getPopper("tooltip")&&l.update({action:r,lifecycle:q.READY}),(n=i.floaterProps)!=null&&n.getPopper&&i.floaterProps.getPopper(e,t)}),L(this,"renderTooltip",e=>{let{continuous:t,helpers:n,index:r,size:i,step:l}=this.props;return S(U7,{continuous:t,helpers:n,index:r,isLastStep:r+1===i,setTooltipRef:this.setTooltipRef,size:i,step:l,...e})})}componentDidMount(){let{debug:e,index:t}=this.props;tn({title:`step:${t}`,data:[{key:"props",value:this.props}],debug:e})}componentDidUpdate(e){var t;let{action:n,callback:r,continuous:i,controlled:l,debug:o,index:s,lifecycle:c,size:d,status:m,step:u,store:p}=this.props,{changed:f,changedFrom:g}=wr(e,this.props),y={action:n,controlled:l,index:s,lifecycle:c,size:d,status:m},k=i&&n!==de.CLOSE&&(s>0||n===de.PREV),E=f("action")||f("index")||f("lifecycle")||f("status"),h=g("lifecycle",[q.TOOLTIP,q.INIT],q.INIT),v=f("action",[de.NEXT,de.PREV,de.SKIP,de.CLOSE]),b=l&&s===e.index;if(v&&(h||b)&&r({...y,index:e.index,lifecycle:q.COMPLETE,step:e.step,type:nt.STEP_AFTER}),u.placement==="center"&&m===J.RUNNING&&f("index")&&n!==de.START&&c===q.INIT&&p.update({lifecycle:q.READY}),E){let C=Pt(u.target),O=!!C;O&&y7(C)?(g("status",J.READY,J.RUNNING)||g("lifecycle",q.INIT,q.READY))&&r({...y,step:u,type:nt.STEP_BEFORE}):(console.warn(O?"Target not visible":"Target not mounted",u),r({...y,type:nt.TARGET_NOT_FOUND,step:u}),l||p.update({index:s+(n===de.PREV?-1:1)}))}g("lifecycle",q.INIT,q.READY)&&p.update({lifecycle:T1(u)||k?q.TOOLTIP:q.BEACON}),f("index")&&tn({title:`step:${c}`,data:[{key:"props",value:this.props}],debug:o}),f("lifecycle",q.BEACON)&&r({...y,step:u,type:nt.BEACON}),f("lifecycle",q.TOOLTIP)&&(r({...y,step:u,type:nt.TOOLTIP}),this.tooltip&&(this.scope=new R7(this.tooltip,{selector:"[data-action=primary]"}),this.scope.setFocus())),g("lifecycle",[q.TOOLTIP,q.INIT],q.INIT)&&((t=this.scope)==null||t.removeScope(),p.cleanupPoppers())}componentWillUnmount(){var e;(e=this.scope)==null||e.removeScope()}get open(){let{lifecycle:e,step:t}=this.props;return T1(t)||e===q.TOOLTIP}render(){let{continuous:e,debug:t,index:n,lifecycle:r,nonce:i,shouldScroll:l,size:o,step:s}=this.props,c=Pt(s.target);return!W0(s)||!F.domElement(c)?null:S("div",{key:`JoyrideStep-${n}`,className:"react-joyride__step"},S(V7,{id:"react-joyride-portal"},S(P7,{...s,debug:t,lifecycle:r,onClickOverlay:this.handleClickOverlay})),S($l,{...s.floaterProps,component:this.renderTooltip,debug:t,getPopper:this.setPopper,id:`react-joyride-step-${n}`,open:this.open,placement:s.placement,target:s.target},S(I7,{beaconComponent:s.beaconComponent,continuous:e,index:n,isLastStep:n+1===o,locale:s.locale,nonce:i,onClickOrHover:this.handleClickHoverBeacon,shouldFocus:l,size:o,step:s,styles:s.styles})))}},G0=class extends At{constructor(e){super(e),L(this,"helpers"),L(this,"store"),L(this,"callback",o=>{let{callback:s}=this.props;F.function(s)&&s(o)}),L(this,"handleKeyboard",o=>{let{index:s,lifecycle:c}=this.state,{steps:d}=this.props,m=d[s];c===q.TOOLTIP&&o.code==="Escape"&&m&&!m.disableCloseOnEsc&&this.store.close()}),L(this,"syncState",o=>{this.setState(o)});let{debug:t,getHelpers:n,run:r,stepIndex:i}=e;this.store=L7({...e,controlled:r&&F.number(i)}),this.helpers=this.store.getHelpers();let{addListener:l}=this.store;tn({title:"init",data:[{key:"props",value:this.props},{key:"state",value:this.state}],debug:t}),l(this.syncState),n&&n(this.helpers),this.state=this.store.getState()}componentDidMount(){if(!It())return;let{debug:e,disableCloseOnEsc:t,run:n,steps:r}=this.props,{start:i}=this.store;O1(r,e)&&n&&i(),t||document.body.addEventListener("keydown",this.handleKeyboard,{passive:!0})}componentDidUpdate(e,t){if(!It())return;let{action:n,controlled:r,index:i,lifecycle:l,status:o}=this.state,{debug:s,run:c,stepIndex:d,steps:m}=this.props,{stepIndex:u,steps:p}=e,{reset:f,setSteps:g,start:y,stop:k,update:E}=this.store,{changed:h}=wr(e,this.props),{changed:v,changedFrom:b}=wr(t,this.state),C=$n(m[i],this.props),O=!Ze(p,m),I=F.number(d)&&h("stepIndex"),U=Pt(C.target);if(O&&(O1(m,s)?g(m):console.warn("Steps are not valid",m)),h("run")&&(c?y(d):k()),I){let oe=F.number(u)&&u=0?y:0,r===J.RUNNING&&k7(y,{element:g,duration:o}).then(()=>{setTimeout(()=>{var h;(h=this.store.getPopper("tooltip"))==null||h.instance.update()},10)})}}render(){if(!It())return null;let{index:e,status:t}=this.state,{continuous:n=!1,debug:r=!1,nonce:i,scrollToFirstStep:l=!1,steps:o}=this.props,s;if(t===J.RUNNING&&o[e]){let c=$n(o[e],this.props);s=S($7,{...this.state,callback:this.callback,continuous:n,debug:r,helpers:this.helpers,nonce:i,shouldScroll:!c.disableScrolling&&(e!==0||l),step:c,store:this.store})}return S("div",{className:"react-joyride"},s)}};L(G0,"defaultProps",_7);var W7=G0,R1=[void 0,"EQUAL","FIXED","ADDED","CHANGED","REMOVED","CAPTURE_ERROR","SYSTEM_ERROR"],Nr=([e,...t])=>t.reduce((n,r)=>R1.indexOf(r)>R1.indexOf(n)?r:n,e);function G7(e){return(e.FAILED??0)>0?"FAILED":(e.IN_PROGRESS??0)>0?"IN_PROGRESS":(e.BROKEN??0)>0?"BROKEN":(e.DENIED??0)>0?"DENIED":(e.PENDING??0)>0?"PENDING":(e.ACCEPTED??0)>0?"ACCEPTED":"PASSED"}function Wl(e){let{statusCounts:t,isInProgress:n,changeCount:r,brokenCount:i,resultsByBrowser:l,resultsByMode:o,modesByName:s}=e.reduce((u,p)=>(u.statusCounts[p.status]=(u.statusCounts[p.status]||0)+1,p.status==="IN_PROGRESS"&&(u.isInProgress=!0),p.result&&["CHANGED","ADDED"].includes(p.result)&&(u.changeCount+=1),p.result&&["CAPTURE_ERROR","SYSTEM_ERROR"].includes(p.result)&&(u.brokenCount+=1),p.comparisons?.forEach(({browser:f,result:g})=>{u.resultsByBrowser[f.id]=Nr([g??void 0,u.resultsByBrowser[f.id]])}),p.comparisons?.forEach(({result:f})=>{u.resultsByMode[p.mode.name]=Nr([f??void 0,u.resultsByMode[p.mode.name]])}),u.modesByName[p.mode.name]=p.mode,u),{statusCounts:{},isInProgress:!1,changeCount:0,brokenCount:0,resultsByBrowser:{},resultsByMode:{},modesByName:{}}),c=e.length?Object.fromEntries(e[0].comparisons.map(u=>[u.browser.id,u.browser])):{},d=Object.entries(l).map(([u,p])=>({browser:c[u],result:p})),m=Object.entries(o).map(([u,p])=>({mode:s[u],result:p}));return{status:G7(t),isInProgress:n,changeCount:r,brokenCount:i,browserResults:d,modeResults:m}}var q7=e=>{try{return[Xl()[0][e],Jl()[e]]}catch{return[null,null]}},q0=({result:e})=>e!=="EQUAL"&&e!=="FIXED",Y7=(e,t)=>{let n=e.filter(i=>i.comparisons.some(q0)),r=n.length?n:e;return r.find(i=>i.mode.name===t)||r[0]},Q7=(e,t)=>{let n=e.filter(q0),r=n.length?n:e;return r.find(i=>i.browser.id===t)||r[0]};function K7(e){let[t,n]=_e(!0),r=q7("theme")[1],[i,l]=Ee(z5),[o,s]=Ee(U5),c,d;return e.length&&(c=t?Y7(e,i):e.find(({mode:m})=>m.name===i)||e[0],d=t?Q7(c.comparisons,o):c?.comparisons.find(({browser:m})=>m.id===o)||c?.comparisons[0],t&&(i!==c?.mode.name&&l(c?.mode.name),o!==d?.browser.id&&s(d?.browser.id),n(!1))),{modeOrder:r?.toolbar?.items?.map(m=>m.title),selectedTest:c,selectedComparison:d,onSelectBrowser:H(m=>s(m.id),[s]),onSelectMode:H(m=>l(m.name),[l])}}var J7=lt(` + query AddonVisualTestsBuild( + $projectId: ID! + $branch: String! + $gitUserEmailHash: String! + $repositoryOwnerName: String + $storyId: String! + $testStatuses: [TestStatus!]! + $selectedBuildId: ID! + $hasSelectedBuildId: Boolean! + ) { + project(id: $projectId) { + name + manageUrl + account { + billingUrl + suspensionReason + } + features { + uiTests + } + lastBuildOnBranch: lastBuild( + branches: [$branch] + repositoryOwnerName: $repositoryOwnerName + localBuilds: { localBuildEmailHash: $gitUserEmailHash } + ) { + ...LastBuildOnBranchBuildFields + ...SelectedBuildFields @skip(if: $hasSelectedBuildId) + } + lastBuild { + id + slug + branch + } + } + selectedBuild: build(id: $selectedBuildId) @include(if: $hasSelectedBuildId) { + ...SelectedBuildFields + } + viewer { + preferences { + vtaOnboarding + } + projectMembership(projectId: $projectId) { + userCanReview: meetsAccessLevel(minimumAccessLevel: REVIEWER) + } + } + } +`),X7=lt(` + fragment LastBuildOnBranchBuildFields on Build { + __typename + id + status + committedAt + ... on StartedBuild { + testsForStatus: tests(first: 1000, statuses: $testStatuses) { + nodes { + ...StatusTestFields + } + } + testsForStory: tests(storyId: $storyId) { + nodes { + ...LastBuildOnBranchTestFields + } + } + } + ... on CompletedBuild { + result + testsForStatus: tests(first: 1000, statuses: $testStatuses) { + nodes { + ...StatusTestFields + } + } + testsForStory: tests(storyId: $storyId) { + nodes { + ...LastBuildOnBranchTestFields + } + } + } + } +`),e6=lt(` + fragment SelectedBuildFields on Build { + __typename + id + number + branch + commit + committedAt + uncommittedHash + status + ... on StartedBuild { + startedAt + testsForStory: tests(storyId: $storyId) { + nodes { + ...StoryTestFields + } + } + } + ... on CompletedBuild { + startedAt + testsForStory: tests(storyId: $storyId) { + nodes { + ...StoryTestFields + } + } + } + } +`),Y0=lt(` + fragment StatusTestFields on Test { + id + status + result + story { + storyId + } + } +`),t6=lt(` + fragment LastBuildOnBranchTestFields on Test { + status + result + } +`),n6=lt(` + fragment StoryTestFields on Test { + id + status + result + webUrl + comparisons { + id + result + browser { + id + key + name + version + } + captureDiff { + diffImage(signed: true) { + imageUrl + imageWidth + } + focusImage(signed: true) { + imageUrl + imageWidth + } + } + headCapture { + captureImage(signed: true) { + backgroundColor + imageUrl + imageWidth + imageHeight + thumbnailUrl + } + captureError { + kind + ... on CaptureErrorInteractionFailure { + error + } + ... on CaptureErrorJSError { + error + } + ... on CaptureErrorFailedJS { + error + } + } + } + baseCapture { + captureImage(signed: true) { + imageUrl + imageWidth + imageHeight + } + } + } + mode { + name + globals + } + story { + storyId + name + component { + name + } + } + } +`),a6=lt(` + mutation ReviewTest($input: ReviewTestInput!) { + reviewTest(input: $input) { + updatedTests { + id + status + } + userErrors { + ... on UserError { + __typename + message + } + ... on BuildSupersededError { + build { + id + } + } + ... on TestUnreviewableError { + test { + id + } + } + } + } + } +`),r6=({projectId:e,storyId:t,gitInfo:n,selectedBuildInfo:r})=>{let[{data:i,error:l,operation:o},s]=Sl({query:J7,variables:{projectId:e,storyId:t,testStatuses:Object.keys(p0),branch:n.branch||"",...n.slug?{repositoryOwnerName:n.slug.split("/",1)[0]}:{},gitUserEmailHash:n.userEmailHash,selectedBuildId:r?.buildId||"",hasSelectedBuildId:!!r}});K(()=>{let y=setInterval(s,5e3);return()=>clearInterval(y)},[s]);let c=o&&t&&o.variables.storyId!==t,d=vn(X7,i?.project?.lastBuildOnBranch),m=[...vn(t6,d&&"testsForStory"in d&&d.testsForStory?d.testsForStory.nodes:[])],u=d?.committedAt>n.committedAt,p=!!d&&!u,f=!!d&&m.every(y=>y.status!=="IN_PROGRESS"),g=vn(e6,i?.selectedBuild??(f?i?.project?.lastBuildOnBranch:void 0));return{account:i?.project?.account,features:i?.project?.features,manageUrl:i?.project?.manageUrl,hasData:!!i&&!c,hasProject:!!i?.project,hasSelectedBuild:g?.branch.split(":").at(-1)===n.branch,lastBuildOnBranch:d,lastBuildOnBranchIsNewer:u,lastBuildOnBranchIsReady:f,lastBuildOnBranchIsSelectable:p,selectedBuild:g,selectedBuildMatchesGit:g?.branch.split(":").at(-1)===n.branch&&g?.commit===n.commit&&g?.uncommittedHash===n.uncommittedHash,rerunQuery:s,queryError:l,userCanReview:!!i?.viewer?.projectMembership?.userCanReview,vtaOnboarding:i?.viewer?.preferences?.vtaOnboarding}},Gl=je(null),Q0=je(null),i6=()=>kt(Gl,"Build"),K0=()=>{let{selectedBuild:e}=kt(Gl,"Build");if(!e)throw new Error("No selectedBuild on Build context");return e},ln=()=>kt(Q0,"Story"),Ni=({children:e,watchState:t})=>{let n=!!t?.selectedBuild&&"testsForStory"in t.selectedBuild,r=t?.selectedBuild&&"testsForStory"in t.selectedBuild&&t.selectedBuild.testsForStory?.nodes,i=[...vn(n6,r||[])],l=Wl(i),{toggleDiff:o}=Mn();return K(()=>o(l.changeCount>0),[o,l.changeCount]),a.createElement(Gl.Provider,{value:ct(()=>t,[JSON.stringify(t?.selectedBuild)])},a.createElement(Q0.Provider,{value:{hasTests:n,tests:i,summary:l,...K7(i)}},e))},l6=w.div(({width:e,height:t,left:n,top:r})=>({width:`${e}px`,height:`${t}px`,left:`${n}px`,top:`${r}px`,position:"relative",overflow:"hidden"}));function o6({top:e=0,left:t=0,width:n=window.innerWidth,height:r=window.innerHeight,colors:i=["#CA90FF","#FC521F","#66BF3C","#FF4785","#FFAE00","#1EA7FD"],...l}){let[o]=_e(()=>{let s=document.createElement("div");return s.setAttribute("id","confetti-container"),s.setAttribute("style","position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 9999;"),s});return K(()=>(document.body.appendChild(o),()=>{document.body.removeChild(o)}),[o]),In(a.createElement(l6,{top:e,left:t,width:n,height:r},a.createElement(bo,{colors:i,drawShape:c6,...l})),o)}function s6(e,t){return Math.floor(Math.random()*(t-e))+e}function c6(e){let t=this;switch(t.shape=t.shape||s6(1,6),t.shape){case 2:{let n=t.w/2,r=t.h/2;e.moveTo(-n+2,-r),e.lineTo(n-2,-r),e.arcTo(n,-r,n,-r+2,2),e.lineTo(n,r-2),e.arcTo(n,r,n-2,r,2),e.lineTo(-n+2,r),e.arcTo(-n,r,-n,r-2,2),e.lineTo(-n,-r+2),e.arcTo(-n,-r,-n+2,-r,2);break}case 3:{e.rect(-4,-4,8,16),e.rect(-12,-4,24,8);break}case 4:{e.rect(-4,-4,8,16),e.rect(-4,-4,24,8);break}case 1:{e.arc(0,0,t.radius,0,2*Math.PI);break}case 5:{e.moveTo(16,4),e.lineTo(4,24),e.lineTo(24,24);break}case 6:{e.arc(4,-4,4,-Math.PI/2,0),e.lineTo(4,0);break}}e.closePath(),e.fill()}var d6=w.div(({theme:e})=>({background:e.base==="light"?e.color.lightest:"#292A2C",width:260,padding:15,borderRadius:5,boxShadow:"0px 0px 32px 0px #00000029"})),u6=w.div({display:"flex",flexDirection:"column",alignItems:"flex-start"}),m6=w.div(({theme:e})=>({fontSize:13,lineHeight:"18px",fontWeight:700,color:e.color.defaultText})),p6=w.div(({theme:e})=>({fontSize:13,lineHeight:"18px",textAlign:"start",color:e.color.defaultText,margin:0,marginTop:5})),h6=w.div({display:"flex",justifyContent:"flex-end",marginTop:15}),f6=({isLastStep:e,step:t,primaryProps:n,tooltipProps:r})=>a.createElement(d6,{...r},a.createElement(u6,null,t.title&&a.createElement(m6,null,t.title),a.createElement(p6,null,t.content)),(t.hideNextButton||t.hideBackButton)&&a.createElement(h6,{id:"buttonSkip"},!t.hideSkipButton&&!e&&a.createElement(ce,{size:"medium",onClick:t.onSkipWalkthroughButtonClick,link:!0,style:{paddingRight:12,paddingLeft:12,marginRight:8}},"Skip"),!t.hideNextButton&&a.createElement(ce,{...n,onClick:n.onClick,variant:"solid",...t.onNextButtonClick?{onClick:t.onNextButtonClick}:{}},t.nextButtonText||"Next"))),I1="setFilter",g6=({managerApi:e,skipWalkthrough:t,startWalkthrough:n,completeWalkthrough:r})=>{let i=zt(),l=ln(),o=l?.selectedTest?.result==="CHANGED",s=l?.selectedTest?.status!=="ACCEPTED",c=JSON.stringify(jt().layout),d=Ne(c);d.current!==c&&(window.dispatchEvent(new Event("resize")),d.current=c),K(()=>{n()}),K(()=>{e.getCurrentStoryData()?.type!=="story"&&e.jumpToStory(1),e.togglePanel(!0),e.togglePanelPosition("right"),e.setSelectedPanel(nn)},[e]);let[m,u]=Qe("showConfetti",!1),[p,f]=Qe("stepIndex",0),g=()=>f((y=0)=>y+1);return K(()=>{let y=document.getElementById("storybook-explorer-tree"),k=Array.from(y instanceof HTMLElement?y.children:[]).filter(E=>E instanceof HTMLElement).slice(1);return k.forEach(E=>E.style.display="none"),()=>k.forEach(E=>E.style.display="")},[]),K(()=>{let y=()=>{f(1),setTimeout(()=>{window.dispatchEvent(new Event("resize"))},100)};return e.on(Ri,y),e.on(I1,y),()=>{e.off(Ri,y),e.off(I1,y)}},[e,f]),K(()=>{l?.selectedTest?.status==="ACCEPTED"&&p===5&&(u(!0),f(6))},[l?.selectedTest?.status,m,u,p,f]),a.createElement(a.Fragment,null,m&&a.createElement(o6,{numberOfPieces:800,recycle:!1,tweenDuration:2e4,onConfettiComplete:y=>{y?.reset(),u(!1)}}),a.createElement(W7,{steps:[{target:"#sidebar-bottom-wrapper",title:"Changes found",content:a.createElement(a.Fragment,null,"The visual tests addon will detect changes in all of your stories and allow you to review them before opening a pull request.",a.createElement("br",null),a.createElement("br",null),"Click the number at the bottom-right to only show stories with visual changes."),floaterProps:{target:"#warnings-found-filter",options:{preventOverflow:{boundariesElement:"window"}}},placement:"top",disableBeacon:!0,hideNextButton:!0,spotlightClicks:!0,onSkipWalkthroughButtonClick:t},o&&s?{target:"#storybook-explorer-tree > div",title:"Stories with changes",content:a.createElement(a.Fragment,null,"Here you have a filtered list of only stories with changes."),placement:"right",disableBeacon:!0,spotlightClicks:!0,onNextButtonClick:g,onSkipWalkthroughButtonClick:t}:{target:"#storybook-explorer-tree > div",title:"Stories with changes",content:a.createElement(a.Fragment,null,"Here you have a list of all stories in your Storybook.",a.createElement("br",null),a.createElement("br",null),"Select a story with changes to see the exact pixels that changed."),placement:"right",disableBeacon:!0,spotlightClicks:!0,hideNextButton:!0,onSkipWalkthroughButtonClick:t},{target:"#panel-tab-content",title:"Inspect changes",content:a.createElement(a.Fragment,null,"The results of the changes are shown here. The pixels that changed are highlighted in green."),disableBeacon:!0,placement:"left",onNextButtonClick:g,onSkipWalkthroughButtonClick:t},{target:"#button-diff-visible",title:"Toggle the diff",content:a.createElement(a.Fragment,null,"This button shows or hides the visual diff. Use it to make the visual changes in your stories obvious. Try it out."),onNextButtonClick:g,onSkipWalkthroughButtonClick:t,spotlightClicks:!0,disableBeacon:!0,placement:"bottom",disableOverlay:!0},{target:"#button-toggle-snapshot",title:"This is the Switch button",content:a.createElement(a.Fragment,null,"Switch between the baseline snapshot (old) and the latest snapshot. The info bar will let you know which version you're looking at."),onNextButtonClick:g,onSkipWalkthroughButtonClick:t,spotlightClicks:!0,disableBeacon:!0,placement:"bottom",disableOverlay:!0},{target:"#button-toggle-accept-story",title:"Accept changes",content:a.createElement(a.Fragment,null,"If the visual changes are intentional, accept them to update the test baselines. The next time you run visual tests, future changes will be compared to these new baselines. This can be undone."),disableBeacon:!0,spotlightClicks:!0,onNextButtonClick:g,hideNextButton:!0,placement:"bottom",disableOverlay:!0,onSkipWalkthroughButtonClick:t},{target:"#button-toggle-accept-story",title:"Perfection!",placement:"bottom",disableOverlay:!0,content:a.createElement(a.Fragment,null,"You've got the basics down! You can always unaccept if you're not happy with the changes."),onNextButtonClick:g,onSkipWalkthroughButtonClick:t},{target:"#button-run-tests",title:"You are ready to test",placement:"bottom",disableOverlay:!0,content:a.createElement(a.Fragment,null,"Any time you want to run tests, tap this button in the sidebar to see exactly what changed across your Storybook."),disableBeacon:!0,nextButtonText:"Done",onNextButtonClick:r}],continuous:!0,stepIndex:p,spotlightPadding:0,hideBackButton:!0,disableCloseOnEsc:!0,disableOverlayClose:!0,disableScrolling:!0,hideCloseButton:!0,showSkipButton:!0,floaterProps:{options:{offset:{offset:"0, 6"}},styles:{floater:{padding:0,paddingLeft:8,paddingTop:8,filter:i.base==="light"?"drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1))":"drop-shadow(#fff5 0px 0px 0.5px) drop-shadow(#fff5 0px 0px 0.5px)"}}},tooltipComponent:f6,styles:{overlay:{mixBlendMode:"unset",backgroundColor:"none"},spotlight:{backgroundColor:"none",border:`solid 2px ${i.color.secondary}`,boxShadow:"0px 0px 0px 9999px rgba(0,0,0,0.4)"},options:{zIndex:1e4,primaryColor:i.color.secondary,arrowColor:i.base==="light"?i.color.lightest:"#292A2C"}}}))},v6=({content:e})=>{let t=e.split(/\r?\n/);return a.createElement(a.Fragment,null,t.reduce((n,r,i)=>n.concat([i&&a.createElement("br",null),r].filter(Boolean)),[]))},J0=({localBuildProgress:e,title:t})=>a.createElement(d0,{warning:!0},a.createElement(j,null,a.createElement("span",null,t&&a.createElement("b",null,t,": "),a.createElement(v6,{content:ui(Array.isArray(e.originalError)?e.originalError[0]?.message:e.originalError?.message||"Unknown error")}))," ",a.createElement(Be,{target:"_blank",href:e.errorDetailsUrl||`${is}#troubleshooting`,withArrow:!0},e.errorDetailsUrl?"Details":"Troubleshoot"))),y6=({children:e,localBuildProgress:t})=>(We("Errors","BuildError"),a.createElement(ve,{footer:null},a.createElement(he,null,a.createElement(se,null,a.createElement("div",null,a.createElement(me,null,"Build failed"),a.createElement(j,{center:!0,muted:!0},"Check the Storybook process on the command line for more details.")),a.createElement(J0,{localBuildProgress:t}),e)))),E6=w(j)({display:"flex",flexDirection:"column",gap:10,width:200,marginTop:15});function $r({localBuildProgress:e}){return a.createElement(E6,{center:!0,small:!0},a.createElement(Fl,null,typeof e.buildProgressPercentage=="number"&&a.createElement(Ds,{style:{width:`${e.buildProgressPercentage}%`}})),a.createElement(Tl,{center:!0,muted:!0,small:!0,localBuildProgress:e}))}var b6="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAHUSURBVHgB7ZfPTupAFMa/mbb0XkAk6r2516jRnXHlxr0+ib4J+iTqm7Bx5YaVcWPQECUoGiJCpX/mOKcxRo2DILa44Jc0Taad+b45mZkzR+CZaq2+CcsqAWIdoCKSowyFw5WFvwcvLRf1m1Kt0SSv51OkFCVJx+sRa1W1JmuLav16x5Zyf/7PDKQQSAM9RVzd3CH0aUsKEtsz0/nUxBnWmisWAItKkkCbWddF2mQcm1/rEmPiOeJF2/TD+f0pKo0jBKqHUcg5U1ib28ByYfXD78YInDSPRxZnOkE7nogJ2a/jd9FvImNbAz/GgHERZp08pjJ8OA3uMVIh2kELXvAwcB/j6HmnOJQ4Y0kbBW16GGS/wb7CsKYni9AYZ9f6haydhzCEVFGEbtiFH3kYBWMEfts5o3jcUVjIaYOjIvsJfIb4hhQ+WYQTAz/XgDXALuCz4D2ckN7Dt6KhDfzLLcGxMsaORApe2MFbQyrOhq9xpIu12Q3jOMaTcNqdjZ+k0REQLS4UxoXUZ1nFD0KkTffR51dZUhTuNVttpBkF1rq717cmFR3GDdXLxm6tcUudxx4lCRe+XACz1pnWZO2XbMJFKteJXKohMYTeIlRBFO2tLP4vc8sThEpu8pkDBW8AAAAASUVORK5CYII=",k6="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAN0SURBVHgBvVdLTxNRFP7uUDpSC7Q8rFSLqWJEExOfC1/xHWPiQuPShS50Y/wP6F9wq1HZuTAxMXFlNGzUhWIQDWICLYhSC4XWlj5m2pnjvS20NNDhltB+i870zpnzffece8/cw7CI4FToDBoa+gB2ACAXaocBmOj3b9/yrDgyGZrtmwpHKK3pZJgm1RLJtEaCK8g5BTcLhmZu2RTlqbezDQpjqAf4FDE9O4+cTmcVRuxmW6uzbuQCgqvD1QI0UJ9CoDMOVUW9YW+0icsBG9YDLQNMjIAS0fxf1u4FvH5A3STtYjHiruoEcGL6/Bb07X3ZMImfZjfYnkNgR86jGsgL4LM1Xz3OXys9F+KQiIGdvQ5ZKLKGBefRte1+DoKG30MWcgKmg9zxF8iCBt8W1slGCaDgCKqCIA8FpEzlIjAXQrWgiNw70mugVpDaBczF9/nXvzy03NxmAo4sqEUrN2rls3YUPLIUkOnoQpOEb0sBWVPDp5l3SOqjuDjeVi5KzYG2x0E9KZi7eCVYVoNEXXgY2YpdvOaf38bgtlfmqJiCZDaO15P9CMS/I9xtILzDKDfg0WD7LwHnzpWRC3w0TiBGbgxGgEejhKiO6gW8+f0cC9l/JadXNCRdVDI42QtcPQrFcwHMubM4HCIv3hmlahjlmXoRIFQlQMx6ObnAQivhzY10SQQnLzrxFAh/GHvxJHsbGSoPSSABjFSoYauugV8LY6saCxEv76bgne5Ec5MCj65DIxMxeDBE9xDIeVEJIh373JICotoMrDDevQlz8fIIpRu5d4tch9IicivPHOuqA8Ts2CisKsBpa7F8yWbMrxgzcw2W77jtTF6Ax+GDFexmFIyyZeQ5zToqhzsgL6DXfQR2xfp006oPF++zKYelrShE/mbIC7ArKo51XYYVnLw6qkaYz1xFJu60tL3SzauhWoUAAd/mHpzedg3Oxsrr4ZQaxUGbu+JzMfM7vWzV7bcEy2+BEOHz9+QL01RiDLqZyadms70FPudueJoKa+V4J/AhzM8t6RJxF8/K4XZepdf43LHg9Gy0e2u7q559wRImQrP8dAwM6dkc6o1UJl+1BhQycg8isUS+XaoXBNd8fIHfGP35geCf8P2p8BwlMxrVEqLxFQ2w4BrnnIK7mHjRpIo+UbRqqBlYjBfyIRjGA7+va0CM/AdEDxpHNfo8owAAAABJRU5ErkJggg==",w6="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAMJSURBVHgB7VfNblJBFD5z+5e0poXGNqnFRFxoUly0K+vCpG7aFyhrTRofwBcQ6974AIZo1/QFyorEBezsQkhqYqkBSoBaAcWW3+N8dxh+hFJI+Nn0S264d+65c77znXNmGEFVhCPxDRobcxGJVSK20ODgowrt2W2Ln2ojP+IpVyRxxhf5ApcrFR4kchd5hq+w9AnfIhxPvhg3jI93FubJEIKGARkinabOqVTgZ4Zg8Xx+7tbQnAPwddsySzTGLoOJN6anpmjYmJwYx8+qQSNCVXHLyAho3BAY78bo5WemFau6D/0i+vC0fx1zLYFQmmjTJshpV8+BpLrWF6kvuDYFB1GuOQfg+CDG1C90lQIgKKWH8EiFbZooWySanWi18yeRJjbfA7DZkgraZqh3Aoh+a1nl21uNesUqzAk9YaadB/VagMP3X5W9876okYvmVMoyxWZ7jY4pCKSoVnyNQDTZQvOY51g5QIq8kjjIvP2iSG8jhawKuGsCYL5iUYyhxJNFYV6IBkCEWmYAxYpv3EfwJejVI0Gv15RSAFQLprl7AoEknNYnR2S4/Ek1CWTWk5vPdkXWYVV23phKydxk55a9sgYiMprtGRWlzi8Qy9UVaJQUaYENfh0WVXTrUrHoH+qdACK2zYiaI9da+ygQtV4T3N+Y3j0WJlnUQzCtbPDssoreCCDnyCGwL2WO5JrfO+SEm8vKMaJGznW3uI/YJKbbTivXEwENFFVGRqDJaMBJtlhvNbzVXYGxjLyfnVRKOKyda6ClCHXFAyhEHVkjMKnOP2whc6ha4TsPhVknnmNl126xakSLAvsnaD82VzQosG1v/QjSY4PyV1sSZKAS5DadyujniqpjMIe2w73zv/lE+DTJ95YWqF8AGSiCGrhq+dU4iae63wu6RbuVsxNu/hFJAiKNg8LICMgmOywUSzRs/L00Fw6fweXS7ln6Nw1TBfg6z8pNolLeMwfCscSbSOIn5y7zPEjg4IsDMHx9lz7hu7bM4ZCKcyKOajQwCLlF8SGVy7v2u0s+jPwDEeUTfjDhTd4AAAAASUVORK5CYII=",C6="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAALVSURBVHgBxZfLbtNAFIb/8TgJCbm2adNUIOiuYpUN+7JiySPAm5Q+CfQBeIcuWYDaVYWEUIQqCLmQpEmaJq7Hw5y4dpOOadwEh0+yZnx8OWfm/HNjuKZ6VtsD5/sAqwAyj+g4goPDnUeb733L91pz/6zekpdjSwrHkVFycTmW5KuqfJJvVq013piG8W57Yw0GY1gFqon42WzDtuQLg0n2ei2XXplzgnwV81mAy31DQu6lEgmsmnjMpKJi4D9x3eN58/YDabdUkmrAuboMDqTXgV4DSOWgkuZei9iEElzyCRDbmvGnBYDmZ6C4rWIr39i8ejy1uI0aN/gKVpgNQE9BtoDIeJDUTHoP2GPVAvfFL708jrtlCMmxCClu4Vm2gd1s1zUM2kBybgCWXz3tbSJtmlicxKQBfgCkiVvoKUiv+dWhiGNZZnpv1Nee683rNWcFeM2lfQzH/oi++IUcL6LvdJAziuiIunsvOsjwAobSQT7+Ui0ruwiD3gOp4HVI2J9UtBIFXlIf8Ylzwr9XQVCZZjE0Rx8C/4EH6RABkAgDGDkNhKXA/zKSSITzA7ACv02yhwgLpSWQ+4pwmgvZQ1i89GgEiFAPgEQYQIaFn6D6Tjv0u6FF2JdDhCXJy8EPlhHheuKVGmISV9LCQA1BKs+dltpdiUlJUO6lGium+TzwH0EivHMmnIbGdSHpjm2vHV7pza5bmMN9RWgygWVJ8aubm/vOhJV8Ta0HJTUlx7AIJnPUP+p3v6NZpkRIi4i/kPwLaGNyCz0FSmiR0dFnU60HWPwpZPdUaSHjqpaE4+WOhtEiNkdpKbMJtl6ZHwDiJbCNklv35D29iVjGFoBKAes6UXb7HAy1OT6xrmysmuFoMt8cGVLYB61uH6vsBfLV7g1IG4cTQ/VH/e1Z/be8GI1llNDBlw7A5Oub8km+/QMhHVLpnEhHNUQGU5OKPIEQBzuPy0dk+QPy8+sGXJtnqwAAAABJRU5ErkJggg==",S6=w.div(({theme:e})=>({border:`1px solid ${e.appBorderColor}`,borderRadius:e.appBorderRadius,padding:"6px 10px",fontSize:13,lineHeight:"18px"})),x6=w.div(({theme:e})=>({lineHeight:"18px",position:"relative",borderRadius:5,display:"block",minWidth:"80%",color:e.color.warningText,background:e.background.warning,border:`1px solid ${Qa(.5,e.color.warningText)}`,padding:15,margin:0})),N6=w(j)(({theme:e})=>({color:e.color.darkest})),_6=({onSkip:e,runningSecondBuild:t})=>a.createElement(ve,{footer:null},a.createElement(he,null,a.createElement(se,null,a.createElement("div",null,a.createElement(me,null,"Make a change to this story"),a.createElement(j,{center:!0,muted:!0,block:!0},"In your code, adjust the markup, styling, or assets to see how visual testing works. Don't worry, you can undo it later. Here are a few ideas to get you started.")),a.createElement(se,{style:{display:"flex",alignItems:"flex-start",gap:"8px",margin:"10px 0"}},a.createElement(Qn,{style:{margin:0,alignItems:"center",gap:"10px"}},a.createElement("img",{src:k6,alt:"Color Palette",style:{width:32,height:32}}),"Shift the color palette"),a.createElement(Qn,{style:{margin:0,alignItems:"center",gap:"10px"}},a.createElement("img",{src:w6,alt:"Embiggen",style:{width:32,height:32}})," ","Embiggen the type"),a.createElement(Qn,{style:{margin:0,alignItems:"center",gap:"10px"}},a.createElement("img",{src:C6,alt:"Layout",style:{width:32,height:32}}),"Change the layout"),a.createElement(Qn,{style:{margin:0,alignItems:"center",gap:"10px"}},a.createElement("img",{src:b6,alt:"Adjust",style:{width:32,height:32}}),"Adjust the size or scale")),a.createElement(Et,null,t?a.createElement(x6,null,a.createElement(N6,null,"No changes found in the Storybook you published. Make a UI tweak and try again to continue.")):a.createElement(S6,null,"Awaiting changes..."),a.createElement(ce,{link:!0,onClick:e},"Skip walkthrough"))))),M6=({isRunning:e,setRunningSecondBuild:t,startBuild:n,setInitialGitHash:r,uncommittedHash:i})=>a.createElement(ve,{footer:null},a.createElement(he,null,a.createElement(se,null,a.createElement("div",null,a.createElement(me,null,"Changes detected"),a.createElement(j,{center:!0,muted:!0},"Time to run your first visual tests to pinpoint the exact changes made to this story.")),a.createElement(ce,{variant:"solid",size:"medium",disabled:e,onClick:()=>{t(!0),n(),setTimeout(()=>{r(i)},1e4)}},a.createElement(Bt,null),"Run visual tests")))),T6=({localBuildProgress:e})=>a.createElement(ve,{footer:null},a.createElement(he,null,a.createElement(se,null,a.createElement("div",null,a.createElement(me,null,"Running your first test"),a.createElement(j,{center:!0,muted:!0},"A new snapshot is being created in a standardized cloud browser. Once complete, you'll be able to pinpoint exactly what changed.")),a.createElement($r,{localBuildProgress:e})))),A6=({isUnchanged:e,localBuildProgress:t,...n})=>(We("Onboarding","CatchAChange"),n.isRunning&&t?a.createElement(T6,{localBuildProgress:t}):e?a.createElement(_6,{...n}):a.createElement(M6,{...n})),F6=w.div(({status:e,theme:t})=>({position:"relative",display:"inline-flex",border:`1px solid ${e==="positive"?t.color.green:t.appBorderColor}`,borderRadius:5,margin:"15px 15px 0",minHeight:200,minWidth:200,maxWidth:500,img:{display:"block",maxWidth:"100%"},svg:{position:"absolute",top:-12,left:-12,width:24,height:24,padding:5,color:t.color.lightest,borderRadius:"50%",backgroundColor:t.color.green}})),O6=w.div({width:"100%",margin:2,background:"white",borderRadius:3,overflow:"hidden",div:{display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%"}}),dl=({backgroundColor:e,status:t,thumbnailUrl:n})=>a.createElement(F6,{status:t},a.createElement(O6,null,a.createElement("div",{style:e?{backgroundColor:e}:{}},a.createElement("img",{alt:"Snapshot thumbnail",src:n}))),t==="positive"&&a.createElement(gl,null)),Z1=w(j)({marginBottom:5}),B1=({onComplete:e,onSkip:t,ranSecondBuild:n=!1})=>{We("Onboarding","CatchAChangeComplete");let r=ln();return a.createElement(ve,{footer:null},a.createElement(he,{style:{overflowY:"auto"}},n?a.createElement(se,null,a.createElement("div",null,a.createElement(me,null,"Nice. Your stories were saved as test baselines."),a.createElement(j,{center:!0,muted:!0,block:!0},"This story was indexed and snapshotted in a standardized cloud browser."),r.selectedComparison?.headCapture?.captureImage&&a.createElement(dl,{...r.selectedComparison?.headCapture?.captureImage,status:"positive"})),a.createElement(Et,null,a.createElement(Z1,null,"You're ready to start testing!"),a.createElement(ce,{variant:"solid",size:"medium",onClick:e},"Done"),a.createElement(ce,{link:!0,onClick:t},"Skip walkthrough"))):a.createElement(se,null,a.createElement("div",null,a.createElement(me,null,"Nice. You ran your first tests!"),a.createElement(j,{center:!0,muted:!0,block:!0},"This story was indexed and snapshotted in a standardized cloud browser and changes were found."),r.selectedComparison?.headCapture?.captureImage&&a.createElement(dl,{...r.selectedComparison?.headCapture?.captureImage,status:"positive"})),a.createElement(Et,null,a.createElement(Z1,null,"It's time to review changes!"),a.createElement(ce,{variant:"solid",size:"medium",onClick:e},"Take a tour"),a.createElement(ce,{link:!0,onClick:t},"Skip walkthrough")))))},P1=()=>a.createElement("div",null,a.createElement(an,null),a.createElement(me,null,"Get started with visual testing"),a.createElement(j,{center:!0,muted:!0},'Take an image snapshot of your stories to save their "last known good state" as test baselines.')),L6=({isRunning:e,localBuildProgress:t,startBuild:n,onSkip:r})=>(We("Onboarding","InitialBuild"),a.createElement(ve,{footer:null},a.createElement(he,null,t?a.createElement(se,null,a.createElement(P1,null),a.createElement($r,{localBuildProgress:t})):a.createElement(se,null,a.createElement(P1,null),a.createElement(Et,null,a.createElement(ce,{disabled:e,size:"medium",variant:"solid",onClick:n},"Take snapshots"),a.createElement(ce,{onClick:r,link:!0},"Skip walkthrough")))))),R6=w(j)({marginBottom:5}),I6=({onCatchAChange:e,onSkip:t})=>{We("Onboarding","InitialBuildComplete");let n=ln();return a.createElement(ve,{footer:null},a.createElement(he,null,a.createElement(se,null,a.createElement("div",null,a.createElement(me,null,"Nice. Your stories were saved as test baselines."),a.createElement(j,{center:!0,muted:!0,block:!0},"This story was indexed and snapshotted in a standardized cloud browser."),n?.selectedComparison?.headCapture?.captureImage&&a.createElement(dl,{...n?.selectedComparison?.headCapture.captureImage,status:"positive"})),a.createElement(Et,null,a.createElement(R6,{muted:!0},"Let's see the superpower of catching visual changes."),a.createElement(ce,{variant:"solid",size:"medium",onClick:e},"Catch a UI change"),a.createElement(ce,{link:!0,onClick:t},"Skip walkthrough")))))},Z6=({dismissBuildError:e,localBuildProgress:t,showInitialBuildScreen:n,gitInfo:r,lastBuildHasChangesForStory:i,onComplete:l,onSkip:o})=>{let{isRunning:s,startBuild:c}=ka(),[d,m]=Qe("showInitialBuild",n);K(()=>{n&&m(!0)},[n,m]);let[u,p]=Qe("showCatchAChange",!d),[f,g]=Qe("initialGitHash",r.uncommittedHash),y=()=>{g(r.uncommittedHash),p(!0)},[k,E]=Qe("runningSecondBuild",!1);return t?.currentStep==="error"?a.createElement(y6,{localBuildProgress:t},a.createElement(Et,null,a.createElement(ce,{variant:"solid",size:"medium",onClick:c},"Try again"),a.createElement(ce,{link:!0,onClick:o},"Skip walkthrough"))):t?.currentStep==="limited"?a.createElement(h0,{billingUrl:t.errorDetailsUrl,suspensionReason:"EXCEEDED_THRESHOLD"},a.createElement(ce,{link:!0,onClick:e},"Continue")):d&&(!t||t&&s)?a.createElement(L6,{isRunning:s,localBuildProgress:t,startBuild:c,onSkip:o}):t?.currentStep==="complete"&&!u&&!k?i?a.createElement(B1,{onComplete:l,onSkip:o}):a.createElement(I6,{onCatchAChange:y,onSkip:o}):u&&!i?a.createElement(A6,{isRunning:s,isUnchanged:f===r.uncommittedHash,localBuildProgress:t,onSkip:o,runningSecondBuild:k,setInitialGitHash:g,setRunningSecondBuild:E,startBuild:c,uncommittedHash:r.uncommittedHash}):i?a.createElement(B1,{onComplete:l,onSkip:o,ranSecondBuild:u&&k}):null},B6=w.div(({theme:e})=>({background:e.background.app,padding:"10px 15px",lineHeight:"20px",color:e.color.defaultText,borderBottom:`1px solid ${e.appBorderColor}`})),P6=Ot({from:{transform:"rotate(0deg)"},to:{transform:"rotate(359deg)"}}),V6=w(ms)({animation:`${P6} 1s linear infinite`}),Ua={width:10,marginRight:8},V1=w.button(({isWarning:e,onClick:t,theme:n})=>{let r=n.base==="light"?n.background.warning:"#2e271a";return{position:"relative",display:"flex",width:"100%",lineHeight:"20px",padding:"5px 7px 5px 15px",justifyContent:"space-between",alignItems:"center",background:e?r:n.background.app,border:"none",borderBottom:`1px solid ${n.appBorderColor}`,color:n.color.defaultText,cursor:t?"pointer":"default",textAlign:"left","& > *":{zIndex:1},code:{fontFamily:n.typography.fonts.mono,fontSize:"12px"}}}),D1=w.div(({isWarning:e,percentage:t,theme:n})=>{let r=n.base==="light"?"#FFE6B1":"#43361f";return{display:"block",position:"absolute",top:"0",height:"100%",left:"0",width:`${t}%`,transition:"width 3s ease-out",backgroundColor:e?r:n.background.hoverable,pointerEvents:"none",zIndex:0}}),$a=w.div({padding:"5px 0"}),D6=w.div(({expanded:e,theme:t})=>({display:"grid",gridTemplateRows:e?"1fr":"0fr",background:t.background.app,borderBottom:e?`1px solid ${t.appBorderColor}`:"none",transition:"grid-template-rows 150ms ease-out"})),H6=w.div(({theme:e})=>({whiteSpace:"nowrap",overflow:"hidden",color:e.base==="light"?e.color.dark:e.color.lightest})),j6=w.div(({isCurrent:e,isFailed:t,isPending:n,theme:r})=>({display:"flex",flexDirection:"row",gap:8,opacity:n?.7:1,color:t?r.color.negativeText:"inherit",fontWeight:e||t?"bold":"normal",fontFamily:"Menlo, monospace",fontSize:12,lineHeight:"24px",margin:"0 15px","&:first-of-type":{marginTop:10},"&:last-of-type":{marginBottom:10},"& > div":{display:"flex",alignItems:"center"}})),z6=({localBuildProgress:e,expanded:t=!1})=>{let n=Ne({});K(()=>{n.current[e.currentStep]={...e}},[e]);let r=["aborted","error"].includes(e.currentStep),i=Wi.map(l=>{let{startedAt:o,completedAt:s}=e.stepProgress[l],c=!!o&&!s,d=c&&r,m=!o,u={...Ml[l],isCurrent:c,isFailed:d,isPending:m};return d?{...u,icon:a.createElement(St,{style:Ua}),renderLabel:u.renderProgress}:c?{...u,icon:a.createElement(V6,{style:Ua}),renderLabel:u.renderProgress}:m?{...u,icon:a.createElement(_u,{style:Ua}),renderLabel:u.renderName}:{...u,icon:a.createElement(gl,{style:Ua}),renderLabel:u.renderComplete}});return a.createElement(D6,{expanded:t},a.createElement(H6,null,i.map(({icon:l,isCurrent:o,isFailed:s,isPending:c,key:d,renderLabel:m})=>a.createElement(j6,{isCurrent:o,isFailed:s,isPending:c,key:d},a.createElement("div",null,l,m(n.current[d]||e))))))},U6=({branch:e,dismissBuildError:t,localBuildProgress:n,lastBuildOnBranchInProgress:r,switchToLastBuildOnBranch:i})=>{let[l,o]=a.useState(!1),s=()=>{o(!l)};if(n){let d=n.currentStep==="aborted",m=n.currentStep==="error",u=d||m;return a.createElement(a.Fragment,null,a.createElement(V1,{as:m?"div":"button",onClick:m?void 0:s,isWarning:u},a.createElement(D1,{percentage:n.buildProgressPercentage,isWarning:u}),a.createElement($a,null,a.createElement(Tl,{localBuildProgress:n,withEmoji:!0})),m?a.createElement(Je,{onClick:t},a.createElement(vl,{"aria-label":"Dismiss"})):a.createElement(Je,{as:"div"},l?a.createElement(Tu,null):a.createElement(Mu,null))),a.createElement(z6,{localBuildProgress:n,expanded:l||m}))}function c(){return i?r?a.createElement($a,null,"Reviewing is disabled because there's a newer build in progress on"," ",a.createElement(Oe,null,e),". This can happen when a build runs in CI."):a.createElement($a,null,"There's a newer snapshot with changes."," ",a.createElement(Ut,{withArrow:!0,onClick:i},"Switch to newer snapshot")):a.createElement($a,null,"Reviewing is disabled because there's a newer build on ",a.createElement(Oe,null,e),".")}return a.createElement(V1,{onClick:i},a.createElement(D1,{percentage:100}),c())},$6=({onClose:e})=>a.createElement(Qs,null,a.createElement(Xi,null,a.createElement(ur,null,"Render settings",a.createElement(jo,null),a.createElement(Zl,{onClick:e},a.createElement(Il,{"aria-label":"Close"}))),a.createElement("p",null,a.createElement(w4,null),"Delay: 300ms"),a.createElement("p",null,a.createElement(C4,null),"Animation pause: Ends"),a.createElement("p",null,a.createElement(S4,null),"Threshold: 0.2"),a.createElement("p",null,a.createElement(x4,null),"Anti-alias: Included")),a.createElement(Xi,null,a.createElement(ur,null,"Bounding box",a.createElement(jo,null)),a.createElement("dl",null,a.createElement("dt",null,"Width:"),a.createElement("dd",null,"Fill viewport"),a.createElement("dt",null,"Height:"),a.createElement("dd",null,"Hug contents")))),X0={isReviewing:!1,userCanReview:!1,buildIsReviewable:!1,acceptTest:(e,t="SPEC")=>Promise.resolve(),unacceptTest:(e,t="SPEC")=>Promise.resolve()},ec=je(X0),tc=()=>kt(ec,"ReviewTest"),W6=({children:e,watchState:t=X0})=>a.createElement(ec.Provider,{value:t},e),G6=w.div(({theme:e})=>({position:"relative",display:"flex",background:"transparent",overflow:"hidden",margin:2,maxWidth:"calc(100% - 4px)","& > div":{display:"flex",flexDirection:"column",alignItems:"center",width:"100%",p:{maxWidth:380,textAlign:"center"},svg:{width:24,height:24}},"& > svg":{position:"absolute",left:"calc(50% - 14px)",top:"calc(50% - 14px)",width:20,height:20,color:e.color.lightest,opacity:0,transition:"opacity 0.1s ease-in-out",pointerEvents:"none"}}),({href:e})=>e&&{display:"inline-flex",cursor:"pointer","&:hover":{"& > svg":{opacity:1},img:{filter:"brightness(85%)"}}}),H1=w.div(({isVisible:e})=>({position:e?"static":"absolute",visibility:e?"visible":"hidden",maxWidth:"100%",minHeight:100})),Wa=w.img({display:"block",width:"100%",height:"auto",transition:"filter 0.1s ease-in-out, opacity 0.1s ease-in-out","&[data-overlay]":{position:"absolute",opacity:.7,pointerEvents:"none",transition:"opacity 0.1s ease-in-out"}}),q6=w(se)({margin:"30px 15px"}),Y6=({comparisonImageLoaded:e,focusImageLoaded:t,showDiff:n,showFocus:r})=>n&&r?e&&t:n?e:r?t:!0,Q6=({componentName:e,storyName:t,testUrl:n,comparisonResult:r,latestImage:i,baselineImage:l,baselineImageVisible:o,diffImage:s,focusImage:c,diffVisible:d,focusVisible:m,...u})=>{let p=zt(),f=!!i&&!!s&&r==="CHANGED",g=r==="CAPTURE_ERROR",y=f&&!!c,k=f?{as:"a",href:n,target:"_blank",title:"View on Chromatic.com"}:{},E=f&&d,h=y&&m,[v,b]=a.useState(!1),[C,O]=a.useState(!1),[I,U]=a.useState(!1),[G,oe]=a.useState(!1),ee=o?C:v,ke=Y6({comparisonImageLoaded:I,focusImageLoaded:G,showDiff:E,showFocus:h});return a.createElement(G6,{...u,...k},i&&a.createElement(H1,{isVisible:!l||!o,style:{aspectRatio:`${i.imageWidth} / ${i.imageHeight}`,width:i.imageWidth}},(!v||!ke)&&a.createElement(Ji,null),a.createElement(Wa,{alt:`Latest snapshot for the '${t}' story of the '${e}' component`,src:i.imageUrl,style:{opacity:v?1:0},onLoad:()=>b(!0)})),l&&a.createElement(H1,{isVisible:o,style:{aspectRatio:`${l.imageWidth} / ${l.imageHeight}`,width:l.imageWidth}},(!C||!ke)&&a.createElement(Ji,null),a.createElement(Wa,{alt:`Baseline snapshot for the '${t}' story of the '${e}' component`,src:l.imageUrl,style:{opacity:C?1:0},onLoad:()=>O(!0)})),f&&ee&&a.createElement(Wa,{alt:"","data-overlay":"diff",src:s.imageUrl,style:{width:s.imageWidth,maxWidth:`${s.imageWidth/i.imageWidth*100}%`,opacity:E&&I?.7:0},onLoad:()=>U(!0)}),y&&ee&&a.createElement(Wa,{alt:"","data-overlay":"focus",src:c.imageUrl,style:{width:c.imageWidth,maxWidth:`${c.imageWidth/i.imageWidth*100}%`,opacity:h&&G?.7:0,filter:h?"blur(2px)":"none"},onLoad:()=>oe(!0)}),f&&a.createElement(ds,null),g&&!i&&a.createElement(q6,null,a.createElement(pu,{color:p.base==="light"?"currentColor":p.color.medium}),a.createElement(j,{center:!0,muted:!0},"A snapshot couldn't be captured. This often occurs when a story has a code error. Confirm that this story successfully renders in your local Storybook and run the build again.")))},K6=e=>a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{d:"M5.06982 9.68493L7.99484 4.63927L14.5786 4.62406C14.5252 4.52043 14.4696 4.41742 14.4109 4.31532C12.372 0.768556 7.84405 -0.453864 4.29726 1.58495C3.24614 2.1892 2.39921 3.01211 1.78076 3.96327L5.06982 9.68493Z",fill:"#DB4437"}),a.createElement("path",{d:"M10.9276 9.68457L5.09539 9.6743L1.79036 3.98022C1.72727 4.07822 1.66591 4.17795 1.60682 4.27985C-0.445348 7.81892 0.759985 12.3515 4.29905 14.4037C5.34791 15.0118 6.48403 15.3338 7.617 15.3939L10.9276 9.68457Z",fill:"#0F9D58"}),a.createElement("path",{d:"M7.98649 4.61194L10.9032 9.66241L7.63525 15.3778C7.75167 15.3833 7.86871 15.3863 7.98649 15.3863C12.0775 15.3863 15.3939 12.0699 15.3939 7.97893C15.3939 6.76648 15.1025 5.62211 14.5861 4.61194L7.98649 4.61194Z",fill:"#FFCD40"}),a.createElement("path",{d:"M8.01367 4.6366V6.40005L14.613 4.6366H8.01367Z",fill:"url(#paint0_radial_466_21161)"}),a.createElement("path",{d:"M1.78198 4.00098L6.60102 8.8192L5.09764 9.687L1.78198 4.00098Z",fill:"url(#paint1_radial_466_21161)"}),a.createElement("path",{d:"M7.6626 15.4017L9.42689 8.81921L10.9303 9.68702L7.6626 15.4017Z",fill:"url(#paint2_radial_466_21161)"}),a.createElement("ellipse",{cx:"8.01347",cy:"8.00358",rx:"3.36699",ry:"3.36699",fill:"#F1F1F1"}),a.createElement("ellipse",{cx:"8.01367",cy:"8.00354",rx:"2.69361",ry:"2.6936",fill:"#4285F4"}),a.createElement("defs",null,a.createElement("radialGradient",{id:"paint0_radial_466_21161",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(7.69229 4.63226) scale(7.07721 1.89116)"},a.createElement("stop",{stopColor:"#3E2723",stopOpacity:"0.2"}),a.createElement("stop",{offset:"1",stopColor:"#3E2723",stopOpacity:"0.01"})),a.createElement("radialGradient",{id:"paint1_radial_466_21161",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(1.77445 4.00677) scale(6.56938 7.75127)"},a.createElement("stop",{stopColor:"#3E2723",stopOpacity:"0.2"}),a.createElement("stop",{offset:"1",stopColor:"#3E2723",stopOpacity:"0.01"})),a.createElement("radialGradient",{id:"paint2_radial_466_21161",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(8.00025 8.01489) scale(7.39644 14.8995)"},a.createElement("stop",{stopColor:"#263238",stopOpacity:"0.2"}),a.createElement("stop",{offset:"1",stopColor:"#263238",stopOpacity:"0.01"})))),J6=e=>a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("circle",{cx:"8.00009",cy:"7.99997",r:"7.7037",fill:"url(#paint0_linear_466_21186)"}),a.createElement("ellipse",{cx:"8.00094",cy:"8.00094",rx:"7.06173",ry:"7.06173",fill:"url(#paint1_radial_466_21186)"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.07134 1.36353C8.03043 1.36353 7.99727 1.39669 7.99727 1.4376V2.56469C7.99727 2.6056 8.03043 2.63877 8.07134 2.63877C8.11225 2.63877 8.14542 2.6056 8.14542 2.56469V1.4376C8.14542 1.39669 8.11225 1.36353 8.07134 1.36353ZM8.07134 14.7792C8.11225 14.7792 8.14542 14.746 8.14542 14.7051V13.578C8.14542 13.5371 8.11225 13.5039 8.07134 13.5039C8.03043 13.5039 7.99727 13.5371 7.99727 13.578V14.7051C7.99727 14.746 8.03043 14.7792 8.07134 14.7792ZM8.64883 1.46214C8.65292 1.42143 8.68923 1.39175 8.72994 1.39584C8.77064 1.39993 8.80032 1.43625 8.79623 1.47695L8.74793 1.95766C8.74384 1.99836 8.70752 2.02804 8.66682 2.02395C8.62612 2.01986 8.59643 1.98355 8.60052 1.94284L8.64883 1.46214ZM7.41372 14.7468C7.45442 14.7509 7.49074 14.7213 7.49483 14.6806L7.54313 14.1998C7.54722 14.1591 7.51754 14.1228 7.47683 14.1187C7.43613 14.1146 7.39982 14.1443 7.39573 14.185L7.34742 14.6657C7.34333 14.7064 7.37301 14.7428 7.41372 14.7468ZM14.7051 7.99727C14.746 7.99727 14.7792 8.03043 14.7792 8.07134C14.7792 8.11225 14.746 8.14542 14.7051 8.14542H13.578C13.5371 8.14542 13.5039 8.11225 13.5039 8.07134C13.5039 8.03043 13.5371 7.99727 13.578 7.99727H14.7051ZM1.36353 8.07134C1.36353 8.11225 1.39669 8.14542 1.4376 8.14542H2.56469C2.6056 8.14542 2.63877 8.11225 2.63877 8.07134C2.63877 8.03043 2.6056 7.99727 2.56469 7.99727H1.4376C1.39669 7.99727 1.36353 8.03043 1.36353 8.07134ZM14.6806 8.64883C14.7213 8.65292 14.7509 8.68923 14.7468 8.72994C14.7428 8.77064 14.7064 8.80032 14.6657 8.79623L14.185 8.74793C14.1443 8.74384 14.1146 8.70752 14.1187 8.66682C14.1228 8.62612 14.1591 8.59643 14.1998 8.60052L14.6806 8.64883ZM1.39584 7.41372C1.39175 7.45442 1.42143 7.49074 1.46214 7.49483L1.94284 7.54313C1.98355 7.54722 2.01986 7.51754 2.02395 7.47683C2.02804 7.43613 1.99836 7.39982 1.95766 7.39573L1.47695 7.34742C1.43625 7.34333 1.39993 7.37301 1.39584 7.41372ZM12.7097 3.3282C12.7387 3.29927 12.7856 3.29927 12.8145 3.3282C12.8434 3.35713 12.8434 3.40403 12.8145 3.43296L12.0175 4.22994C11.9886 4.25887 11.9417 4.25887 11.9127 4.22994C11.8838 4.20101 11.8838 4.15411 11.9127 4.12518L12.7097 3.3282ZM3.3282 12.8145C3.35713 12.8434 3.40403 12.8434 3.43296 12.8145L4.22994 12.0175C4.25887 11.9886 4.25887 11.9417 4.22994 11.9127C4.20101 11.8838 4.15411 11.8838 4.12518 11.9127L3.3282 12.7097C3.29927 12.7387 3.29927 12.7856 3.3282 12.8145ZM13.1523 3.80568C13.1839 3.77973 13.2306 3.78433 13.2566 3.81595C13.2825 3.84757 13.2779 3.89425 13.2463 3.9202L12.8729 4.22664C12.8413 4.2526 12.7946 4.248 12.7686 4.21638C12.7427 4.18475 12.7473 4.13808 12.7789 4.11212L13.1523 3.80568ZM2.88614 12.3267C2.91209 12.3584 2.95876 12.363 2.99039 12.337L3.36378 12.0306C3.3954 12.0046 3.4 11.9579 3.37404 11.9263C3.34809 11.8947 3.30142 11.8901 3.26979 11.916L2.8964 12.2225C2.86478 12.2484 2.86018 12.2951 2.88614 12.3267ZM12.8145 12.7097C12.8434 12.7387 12.8434 12.7856 12.8145 12.8145C12.7856 12.8434 12.7387 12.8434 12.7097 12.8145L11.9127 12.0175C11.8838 11.9886 11.8838 11.9417 11.9127 11.9127C11.9417 11.8838 11.9886 11.8838 12.0175 11.9127L12.8145 12.7097ZM3.3282 3.3282C3.29927 3.35713 3.29927 3.40403 3.3282 3.43296L4.12518 4.22994C4.15411 4.25887 4.20101 4.25887 4.22994 4.22994C4.25887 4.20101 4.25887 4.15411 4.22994 4.12518L3.43296 3.3282C3.40403 3.29927 3.35713 3.29927 3.3282 3.3282ZM12.337 13.1523C12.363 13.1839 12.3584 13.2306 12.3267 13.2566C12.2951 13.2825 12.2484 13.2779 12.2225 13.2463L11.916 12.8729C11.8901 12.8413 11.8947 12.7946 11.9263 12.7686C11.9579 12.7427 12.0046 12.7473 12.0306 12.7789L12.337 13.1523ZM3.81595 2.88614C3.78433 2.91209 3.77973 2.95876 3.80568 2.99039L4.11212 3.36378C4.13808 3.3954 4.18475 3.4 4.21638 3.37404C4.248 3.34809 4.2526 3.30142 4.22664 3.26979L3.9202 2.8964C3.89425 2.86478 3.84757 2.86018 3.81595 2.88614ZM10.5415 1.91422C10.5572 1.87643 10.6005 1.85848 10.6383 1.87413C10.6761 1.88979 10.6941 1.93312 10.6784 1.97092L10.2471 3.01221C10.2314 3.05 10.1881 3.06795 10.1503 3.05229C10.1125 3.03664 10.0946 2.99331 10.1102 2.95551L10.5415 1.91422ZM5.50437 14.2686C5.54216 14.2842 5.58549 14.2663 5.60115 14.2285L6.03247 13.1872C6.04813 13.1494 6.03018 13.1061 5.99238 13.0904C5.95459 13.0747 5.91126 13.0927 5.8956 13.1305L5.46428 14.1718C5.44862 14.2096 5.46657 14.2529 5.50437 14.2686ZM11.1332 2.18598C11.1524 2.1499 11.1973 2.13628 11.2334 2.15557C11.2695 2.17486 11.2831 2.21974 11.2638 2.25582L11.0361 2.68183C11.0168 2.7179 10.9719 2.73152 10.9358 2.71223C10.8998 2.69295 10.8861 2.64806 10.9054 2.61199L11.1332 2.18598ZM4.90931 13.9871C4.94539 14.0064 4.99027 13.9928 5.00955 13.9567L5.23726 13.5307C5.25654 13.4946 5.24293 13.4497 5.20685 13.4305C5.17077 13.4112 5.12589 13.4248 5.1066 13.4609L4.8789 13.8869C4.85961 13.923 4.87323 13.9678 4.90931 13.9871ZM14.2285 10.5415C14.2663 10.5572 14.2842 10.6005 14.2686 10.6383C14.2529 10.6761 14.2096 10.6941 14.1718 10.6784L13.1305 10.2471C13.0927 10.2314 13.0747 10.1881 13.0904 10.1503C13.1061 10.1125 13.1494 10.0946 13.1872 10.1102L14.2285 10.5415ZM1.87412 5.50437C1.85846 5.54216 1.87641 5.58549 1.91421 5.60115L2.95551 6.03247C2.99331 6.04813 3.03664 6.03018 3.05229 5.99238C3.06795 5.95459 3.05 5.91126 3.0122 5.8956L1.9709 5.46428C1.9331 5.44862 1.88977 5.46657 1.87412 5.50437ZM13.9567 11.1332C13.9928 11.1524 14.0064 11.1973 13.9871 11.2334C13.9678 11.2695 13.923 11.2831 13.8869 11.2638L13.4609 11.0361C13.4248 11.0168 13.4112 10.9719 13.4305 10.9358C13.4497 10.8998 13.4946 10.8861 13.5307 10.9054L13.9567 11.1332ZM2.15557 4.90929C2.13628 4.94537 2.1499 4.99025 2.18598 5.00954L2.61199 5.23726C2.64806 5.25654 2.69295 5.24293 2.71223 5.20685C2.73152 5.17077 2.7179 5.12589 2.68183 5.1066L2.25582 4.87888C2.21974 4.8596 2.17486 4.87321 2.15557 4.90929ZM14.1718 5.46428C14.2096 5.44862 14.2529 5.46657 14.2686 5.50437C14.2842 5.54216 14.2663 5.58549 14.2285 5.60115L13.1872 6.03247C13.1494 6.04813 13.1061 6.03018 13.0904 5.99238C13.0747 5.95459 13.0927 5.91126 13.1305 5.8956L14.1718 5.46428ZM1.87413 10.6383C1.88979 10.6761 1.93312 10.6941 1.97092 10.6784L3.01221 10.2471C3.05 10.2314 3.06795 10.1881 3.05229 10.1503C3.03664 10.1125 2.99331 10.0946 2.95551 10.1102L1.91422 10.5415C1.87643 10.5572 1.85848 10.6005 1.87413 10.6383ZM14.3979 6.07477C14.4371 6.0629 14.4785 6.08501 14.4903 6.12416C14.5022 6.1633 14.4801 6.20467 14.441 6.21654L13.9787 6.35677C13.9396 6.36864 13.8982 6.34654 13.8863 6.30739C13.8744 6.26824 13.8965 6.22688 13.9357 6.215L14.3979 6.07477ZM1.65237 10.0185C1.66425 10.0577 1.70561 10.0798 1.74476 10.0679L2.20699 9.92769C2.24614 9.91581 2.26825 9.87445 2.25637 9.8353C2.2445 9.79615 2.20313 9.77404 2.16399 9.78592L1.70175 9.92615C1.6626 9.93802 1.64049 9.97939 1.65237 10.0185ZM10.6383 14.2686C10.6005 14.2842 10.5572 14.2663 10.5415 14.2285L10.1102 13.1872C10.0946 13.1494 10.1125 13.1061 10.1503 13.0904C10.1881 13.0747 10.2314 13.0927 10.2471 13.1305L10.6784 14.1718C10.6941 14.2096 10.6761 14.2529 10.6383 14.2686ZM5.50437 1.87413C5.46657 1.88979 5.44862 1.93312 5.46428 1.97092L5.8956 3.01221C5.91126 3.05 5.95459 3.06795 5.99238 3.05229C6.03018 3.03664 6.04813 2.99331 6.03247 2.95551L5.60115 1.91422C5.58549 1.87643 5.54216 1.85848 5.50437 1.87413ZM10.0679 14.3979C10.0798 14.4371 10.0577 14.4785 10.0185 14.4903C9.97939 14.5022 9.93802 14.4801 9.92615 14.441L9.78592 13.9787C9.77404 13.9396 9.79615 13.8982 9.8353 13.8863C9.87445 13.8744 9.91581 13.8965 9.92769 13.9357L10.0679 14.3979ZM6.12417 1.65237C6.08502 1.66424 6.06291 1.70561 6.07479 1.74475L6.215 2.20699C6.22688 2.24614 6.26824 2.26825 6.30739 2.25637C6.34654 2.2445 6.36864 2.20314 6.35677 2.16399L6.21656 1.70175C6.20468 1.6626 6.16332 1.64049 6.12417 1.65237ZM9.29287 1.55062C9.30085 1.5105 9.33985 1.48444 9.37997 1.49242C9.4201 1.5004 9.44615 1.5394 9.43817 1.57952L9.21829 2.68496C9.21031 2.72508 9.17131 2.75114 9.13119 2.74316C9.09107 2.73518 9.06501 2.69618 9.07299 2.65606L9.29287 1.55062ZM6.76272 14.6503C6.80284 14.6583 6.84184 14.6322 6.84982 14.5921L7.0697 13.4866C7.07768 13.4465 7.05162 13.4075 7.0115 13.3995C6.97137 13.3916 6.93238 13.4176 6.9244 13.4577L6.70452 14.5632C6.69654 14.6033 6.72259 14.6423 6.76272 14.6503ZM9.92615 1.70175C9.93802 1.6626 9.97939 1.64049 10.0185 1.65237C10.0577 1.66425 10.0798 1.70561 10.0679 1.74476L9.92769 2.20699C9.91581 2.24614 9.87445 2.26825 9.8353 2.25637C9.79615 2.2445 9.77404 2.20313 9.78592 2.16399L9.92615 1.70175ZM6.12417 14.4903C6.16332 14.5022 6.20469 14.4801 6.21656 14.441L6.35677 13.9787C6.36864 13.9396 6.34653 13.8982 6.30739 13.8863C6.26824 13.8744 6.22687 13.8965 6.215 13.9357L6.07479 14.398C6.06291 14.4371 6.08502 14.4785 6.12417 14.4903ZM14.5921 9.29287C14.6322 9.30085 14.6583 9.33985 14.6503 9.37997C14.6423 9.4201 14.6033 9.44615 14.5632 9.43817L13.4577 9.21829C13.4176 9.21031 13.3916 9.17131 13.3995 9.13119C13.4075 9.09107 13.4465 9.06501 13.4866 9.07299L14.5921 9.29287ZM1.49242 6.76272C1.48444 6.80284 1.5105 6.84184 1.55062 6.84982L2.65606 7.0697C2.69618 7.07768 2.73518 7.05162 2.74316 7.0115C2.75114 6.97137 2.72508 6.93238 2.68496 6.9244L1.57952 6.70452C1.5394 6.69654 1.5004 6.72259 1.49242 6.76272ZM14.441 9.92615C14.4801 9.93802 14.5022 9.97939 14.4903 10.0185C14.4785 10.0577 14.4371 10.0798 14.3979 10.0679L13.9357 9.92769C13.8965 9.91581 13.8744 9.87445 13.8863 9.8353C13.8982 9.79615 13.9396 9.77404 13.9787 9.78592L14.441 9.92615ZM1.65237 6.12415C1.64049 6.1633 1.6626 6.20467 1.70175 6.21654L2.16399 6.35677C2.20313 6.36864 2.2445 6.34654 2.25637 6.30739C2.26825 6.26824 2.24614 6.22688 2.20699 6.215L1.74476 6.07477C1.70561 6.0629 1.66425 6.08501 1.65237 6.12415ZM13.5459 4.32424C13.58 4.30151 13.626 4.31066 13.6487 4.34468C13.6714 4.37869 13.6623 4.42469 13.6282 4.44742L12.6911 5.0736C12.6571 5.09633 12.6111 5.08718 12.5884 5.05317C12.5656 5.01915 12.5748 4.97315 12.6088 4.95042L13.5459 4.32424ZM2.494 11.798C2.51673 11.832 2.56273 11.8412 2.59675 11.8184L3.53389 11.1923C3.56791 11.1695 3.57706 11.1235 3.55433 11.0895C3.5316 11.0555 3.4856 11.0464 3.45159 11.0691L2.51444 11.6953C2.48043 11.718 2.47128 11.764 2.494 11.798ZM13.8869 4.87888C13.923 4.8596 13.9678 4.87321 13.9871 4.90929C14.0064 4.94537 13.9928 4.99025 13.9567 5.00954L13.5307 5.23726C13.4946 5.25654 13.4497 5.24293 13.4305 5.20685C13.4112 5.17077 13.4248 5.12589 13.4609 5.1066L13.8869 4.87888ZM2.15557 11.2334C2.17486 11.2695 2.21974 11.2831 2.25582 11.2638L2.68183 11.0361C2.7179 11.0168 2.73152 10.9719 2.71223 10.9358C2.69295 10.8998 2.64806 10.8861 2.61199 10.9054L2.18598 11.1332C2.1499 11.1524 2.13628 11.1973 2.15557 11.2334ZM11.8184 13.5459C11.8412 13.58 11.832 13.626 11.798 13.6487C11.764 13.6714 11.718 13.6623 11.6953 13.6282L11.0691 12.6911C11.0464 12.6571 11.0555 12.6111 11.0895 12.5884C11.1235 12.5656 11.1695 12.5748 11.1923 12.6088L11.8184 13.5459ZM4.34468 2.494C4.31066 2.51673 4.30151 2.56273 4.32424 2.59675L4.95042 3.53389C4.97315 3.56791 5.01915 3.57706 5.05317 3.55433C5.08718 3.5316 5.09633 3.4856 5.0736 3.45159L4.44742 2.51444C4.42469 2.48043 4.37869 2.47128 4.34468 2.494ZM11.2638 13.8869C11.2831 13.923 11.2695 13.9678 11.2334 13.9871C11.1973 14.0064 11.1524 13.9928 11.1331 13.9567L10.9054 13.5307C10.8861 13.4946 10.8998 13.4497 10.9358 13.4305C10.9719 13.4112 11.0168 13.4248 11.0361 13.4609L11.2638 13.8869ZM4.90931 2.15557C4.87323 2.17485 4.85961 2.21974 4.8789 2.25581L5.1066 2.68182C5.12589 2.7179 5.17077 2.73152 5.20685 2.71223C5.24293 2.69295 5.25654 2.64807 5.23726 2.61199L5.00955 2.18598C4.99027 2.1499 4.94539 2.13628 4.90931 2.15557ZM11.6953 2.51444C11.718 2.48043 11.764 2.47128 11.798 2.494C11.832 2.51673 11.8412 2.56273 11.8184 2.59675L11.1923 3.53389C11.1695 3.56791 11.1235 3.57706 11.0895 3.55433C11.0555 3.5316 11.0464 3.4856 11.0691 3.45159L11.6953 2.51444ZM4.34468 13.6487C4.37869 13.6714 4.42469 13.6623 4.44742 13.6282L5.0736 12.6911C5.09633 12.6571 5.08718 12.6111 5.05317 12.5884C5.01915 12.5656 4.97315 12.5748 4.95042 12.6088L4.32424 13.5459C4.30151 13.58 4.31066 13.626 4.34468 13.6487ZM12.2225 2.8964C12.2484 2.86478 12.2951 2.86018 12.3267 2.88614C12.3584 2.91209 12.363 2.95876 12.337 2.99039L12.0306 3.36378C12.0046 3.3954 11.9579 3.4 11.9263 3.37404C11.8947 3.34809 11.8901 3.30142 11.916 3.26979L12.2225 2.8964ZM3.81595 13.2566C3.84757 13.2825 3.89425 13.2779 3.9202 13.2463L4.22664 12.8729C4.2526 12.8413 4.248 12.7946 4.21638 12.7686C4.18475 12.7427 4.13808 12.7473 4.11212 12.7789L3.80568 13.1523C3.77973 13.1839 3.78433 13.2306 3.81595 13.2566ZM13.6282 11.6953C13.6623 11.718 13.6714 11.764 13.6487 11.798C13.626 11.832 13.58 11.8412 13.5459 11.8184L12.6088 11.1923C12.5748 11.1695 12.5656 11.1235 12.5884 11.0895C12.6111 11.0555 12.6571 11.0464 12.6911 11.0691L13.6282 11.6953ZM2.494 4.34468C2.47128 4.37869 2.48043 4.42469 2.51444 4.44742L3.45159 5.0736C3.4856 5.09633 3.5316 5.08718 3.55433 5.05317C3.57706 5.01915 3.56791 4.97315 3.53389 4.95042L2.59675 4.32424C2.56273 4.30151 2.51673 4.31066 2.494 4.34468ZM13.2463 12.2225C13.2779 12.2484 13.2825 12.2951 13.2566 12.3267C13.2306 12.3584 13.1839 12.363 13.1523 12.337L12.7789 12.0306C12.7473 12.0046 12.7427 11.9579 12.7686 11.9263C12.7946 11.8947 12.8413 11.8901 12.8729 11.916L13.2463 12.2225ZM2.88614 3.81595C2.86018 3.84757 2.86478 3.89425 2.8964 3.9202L3.26979 4.22664C3.30142 4.2526 3.34809 4.248 3.37404 4.21638C3.4 4.18475 3.3954 4.13808 3.36378 4.11212L2.99039 3.80568C2.95876 3.77973 2.91209 3.78433 2.88614 3.81595ZM14.5632 6.70452C14.6033 6.69654 14.6423 6.72259 14.6503 6.76272C14.6583 6.80284 14.6322 6.84184 14.5921 6.84982L13.4866 7.0697C13.4465 7.07768 13.4075 7.05162 13.3995 7.0115C13.3916 6.97137 13.4176 6.93238 13.4577 6.9244L14.5632 6.70452ZM1.49242 9.37997C1.5004 9.4201 1.5394 9.44615 1.57952 9.43817L2.68496 9.21829C2.72508 9.21031 2.75114 9.17131 2.74316 9.13119C2.73518 9.09107 2.69618 9.06501 2.65606 9.07299L1.55062 9.29287C1.5105 9.30085 1.48444 9.33985 1.49242 9.37997ZM14.6657 7.34742C14.7064 7.34333 14.7428 7.37301 14.7468 7.41372C14.7509 7.45442 14.7213 7.49074 14.6806 7.49483L14.1998 7.54313C14.1591 7.54722 14.1228 7.51754 14.1187 7.47683C14.1146 7.43613 14.1443 7.39982 14.185 7.39573L14.6657 7.34742ZM1.39584 8.72994C1.39993 8.77064 1.43625 8.80032 1.47695 8.79623L1.95766 8.74793C1.99836 8.74384 2.02804 8.70752 2.02395 8.66682C2.01986 8.62612 1.98355 8.59643 1.94284 8.60052L1.46214 8.64883C1.42143 8.65292 1.39175 8.68923 1.39584 8.72994ZM9.43817 14.5632C9.44615 14.6033 9.4201 14.6423 9.37997 14.6503C9.33985 14.6583 9.30085 14.6322 9.29287 14.5921L9.07299 13.4866C9.06501 13.4465 9.09107 13.4075 9.13119 13.3995C9.17131 13.3916 9.21031 13.4176 9.21829 13.4577L9.43817 14.5632ZM6.76272 1.49242C6.72259 1.5004 6.69654 1.5394 6.70452 1.57952L6.9244 2.68496C6.93238 2.72508 6.97137 2.75114 7.0115 2.74316C7.05162 2.73518 7.07768 2.69618 7.0697 2.65606L6.84982 1.55062C6.84184 1.5105 6.80284 1.48444 6.76272 1.49242ZM8.79623 14.6657C8.80032 14.7064 8.77064 14.7428 8.72994 14.7468C8.68923 14.7509 8.65292 14.7213 8.64883 14.6806L8.60052 14.1998C8.59643 14.1591 8.62612 14.1228 8.66682 14.1187C8.70752 14.1146 8.74384 14.1443 8.74793 14.185L8.79623 14.6657ZM7.41372 1.39584C7.37301 1.39993 7.34333 1.43625 7.34742 1.47695L7.39573 1.95766C7.39982 1.99836 7.43613 2.02804 7.47683 2.02395C7.51754 2.01986 7.54722 1.98355 7.54313 1.94284L7.49483 1.46214C7.49074 1.42143 7.45442 1.39175 7.41372 1.39584Z",fill:"#DDDDDD"}),a.createElement("path",{d:"M3.14941 12.8505L7.29562 7.28674L7.99989 7.99218L3.14941 12.8505Z",fill:"#DDDDDD"}),a.createElement("path",{d:"M7.28662 7.29574L12.8504 3.14954L7.99204 8.00002L7.28662 7.29574Z",fill:"#EE4444"}),a.createElement("path",{d:"M12.8505 3.14954L8.70427 8.71332L8 8.00789L12.8505 3.14954Z",fill:"#CC0000"}),a.createElement("path",{d:"M3.14941 12.8505L8.7132 8.70427L8.00777 8L3.14941 12.8505Z",fill:"#AAAAAA"}),a.createElement("defs",null,a.createElement("linearGradient",{id:"paint0_linear_466_21186",x1:"0.300303",y1:"0.300951",x2:"0.300303",y2:"15.7084",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#F8F8F8"}),a.createElement("stop",{offset:"1",stopColor:"#CCCCCC"})),a.createElement("radialGradient",{id:"paint1_radial_466_21186",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(8.00216 8.0046) scale(7.06173)"},a.createElement("stop",{stopColor:"#00F0FF"}),a.createElement("stop",{offset:"1",stopColor:"#0070E0"})))),X6=e=>a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{d:"M14.9596 5.19849C14.6332 4.41337 13.9721 3.56574 13.453 3.29783C13.8755 4.12612 14.12 4.95699 14.2134 5.57708C14.2134 5.5783 14.2139 5.58133 14.2149 5.58958C13.3657 3.47293 11.9257 2.61943 10.7499 0.761053C10.6905 0.667084 10.631 0.572865 10.573 0.473553C10.5434 0.422834 10.5159 0.371004 10.4903 0.318178C10.4414 0.223861 10.4038 0.124166 10.378 0.0211155C10.3782 0.0162369 10.3765 0.0114673 10.3734 0.00774353C10.3702 0.0040198 10.3658 0.00161108 10.3609 0.000990505C10.3563 -0.000330168 10.3515 -0.000330168 10.3468 0.000990505C10.3458 0.0013655 10.3442 0.00258425 10.3431 0.00302175C10.3414 0.003678 10.3393 0.005178 10.3376 0.00614675C10.3384 0.00502175 10.3402 0.0024905 10.3407 0.00189675C8.45416 1.10677 7.81416 3.15068 7.75535 4.17327C7.00199 4.22506 6.28171 4.50262 5.68841 4.96977C5.62629 4.9173 5.56135 4.86827 5.49388 4.8229C5.3227 4.22402 5.31543 3.59017 5.47282 2.98752C4.70132 3.3388 4.10126 3.89408 3.66501 4.3844H3.66154C3.36382 4.0073 3.38482 2.76337 3.40179 2.50365C3.39822 2.48755 3.17969 2.61708 3.15107 2.63662C2.88835 2.82414 2.64275 3.03454 2.41713 3.26537C2.16039 3.52573 1.92581 3.80705 1.71582 4.1064C1.71582 4.10677 1.7156 4.10721 1.71547 4.10758C1.71547 4.10718 1.71569 4.10677 1.71582 4.1064C1.23289 4.79075 0.890387 5.56404 0.7081 6.38155C0.704506 6.39783 0.701475 6.41471 0.697975 6.43112C0.68385 6.49724 0.632975 6.82799 0.624068 6.89987C0.623381 6.9054 0.623068 6.91071 0.622412 6.91624C0.556638 7.2582 0.515905 7.60451 0.500537 7.9524C0.500537 7.96521 0.499756 7.9779 0.499756 7.99074C0.499881 12.138 3.86238 15.5 8.01001 15.5C11.7245 15.5 14.8088 12.8035 15.4126 9.26152C15.4253 9.1654 15.4355 9.06877 15.4467 8.9718C15.596 7.68399 15.4301 6.3304 14.9596 5.19849ZM6.30351 11.0764C6.33863 11.0932 6.37163 11.1116 6.40769 11.1276C6.40919 11.1287 6.41126 11.1298 6.41279 11.1308C6.37608 11.1132 6.33965 11.0951 6.30351 11.0764ZM14.2155 5.59143L14.2145 5.58415C14.2149 5.5868 14.2153 5.58958 14.2158 5.59224L14.2155 5.59143Z",fill:"url(#paint0_linear_466_21172)"}),a.createElement("path",{d:"M14.9598 5.19851C14.6334 4.41338 13.9723 3.56576 13.4532 3.29785C13.8757 4.12613 14.1202 4.95701 14.2136 5.5771C14.2136 5.57529 14.214 5.5786 14.2148 5.58416C14.2151 5.58682 14.2156 5.5896 14.216 5.59226C14.9246 7.5132 14.5386 9.46657 13.9823 10.6602C13.1217 12.5071 11.0381 14.3999 7.77678 14.3076C4.25319 14.2078 1.149 11.5934 0.569531 8.16904C0.463937 7.62904 0.569531 7.35485 0.622656 6.91641C0.557938 7.25441 0.533281 7.35204 0.500781 7.95257C0.500781 7.96538 0.5 7.97807 0.5 7.99091C0.500063 12.138 3.86256 15.5 8.01019 15.5C11.7247 15.5 14.8089 12.8035 15.4128 9.26154C15.4255 9.16541 15.4357 9.06879 15.4469 8.97182C15.5962 7.68401 15.4303 6.33041 14.9598 5.19851Z",fill:"url(#paint1_radial_466_21172)"}),a.createElement("path",{d:"M14.9598 5.19851C14.6334 4.41338 13.9723 3.56576 13.4532 3.29785C13.8757 4.12613 14.1202 4.95701 14.2136 5.5771C14.2136 5.57529 14.214 5.5786 14.2148 5.58416C14.2151 5.58682 14.2156 5.5896 14.216 5.59226C14.9246 7.5132 14.5386 9.46657 13.9823 10.6602C13.1217 12.5071 11.0381 14.3999 7.77678 14.3076C4.25319 14.2078 1.149 11.5934 0.569531 8.16904C0.463937 7.62904 0.569531 7.35485 0.622656 6.91641C0.557938 7.25441 0.533281 7.35204 0.500781 7.95257C0.500781 7.96538 0.5 7.97807 0.5 7.99091C0.500063 12.138 3.86256 15.5 8.01019 15.5C11.7247 15.5 14.8089 12.8035 15.4128 9.26154C15.4255 9.16541 15.4357 9.06879 15.4469 8.97182C15.5962 7.68401 15.4303 6.33041 14.9598 5.19851Z",fill:"url(#paint2_radial_466_21172)"}),a.createElement("path",{d:"M11.3101 6.08127C11.3265 6.09277 11.3413 6.10421 11.3567 6.11564C11.1683 5.78113 10.9336 5.47487 10.6596 5.20589C8.32502 2.87164 10.0474 0.144581 10.3379 0.00608106C10.3387 0.00495606 10.3405 0.0024248 10.341 0.00183105C8.45443 1.10671 7.81443 3.15061 7.75562 4.17321C7.84312 4.16714 7.93037 4.1598 8.01943 4.1598C9.42727 4.1598 10.6535 4.93386 11.3101 6.08127Z",fill:"url(#paint3_radial_466_21172)"}),a.createElement("path",{d:"M8.02405 6.54735C8.01177 6.73417 7.35173 7.37838 7.12092 7.37838C4.98533 7.37838 4.63867 8.6701 4.63867 8.6701C4.73327 9.75792 5.49058 10.6537 6.40777 11.1277C6.44961 11.1493 6.49195 11.1689 6.53433 11.1882C6.60698 11.2203 6.68054 11.2504 6.75492 11.2784C7.0694 11.3897 7.39881 11.4532 7.73214 11.4668C11.4753 11.6424 12.2005 6.99201 9.49917 5.64157C10.191 5.52126 10.909 5.79948 11.31 6.08117C10.6534 4.93385 9.4272 4.15979 8.01939 4.15979C7.93033 4.15979 7.84311 4.16713 7.75558 4.1732C7.00222 4.22499 6.28194 4.50255 5.68864 4.9697C5.80314 5.06657 5.93239 5.19607 6.2047 5.46432C6.71414 5.96642 8.02127 6.48635 8.02405 6.54735Z",fill:"url(#paint4_radial_466_21172)"}),a.createElement("path",{d:"M8.02405 6.54735C8.01177 6.73417 7.35173 7.37838 7.12092 7.37838C4.98533 7.37838 4.63867 8.6701 4.63867 8.6701C4.73327 9.75792 5.49058 10.6537 6.40777 11.1277C6.44961 11.1493 6.49195 11.1689 6.53433 11.1882C6.60698 11.2203 6.68054 11.2504 6.75492 11.2784C7.0694 11.3897 7.39881 11.4532 7.73214 11.4668C11.4753 11.6424 12.2005 6.99201 9.49917 5.64157C10.191 5.52126 10.909 5.79948 11.31 6.08117C10.6534 4.93385 9.4272 4.15979 8.01939 4.15979C7.93033 4.15979 7.84311 4.16713 7.75558 4.1732C7.00222 4.22499 6.28194 4.50255 5.68864 4.9697C5.80314 5.06657 5.93239 5.19607 6.2047 5.46432C6.71414 5.96642 8.02127 6.48635 8.02405 6.54735Z",fill:"url(#paint5_radial_466_21172)"}),a.createElement("path",{d:"M5.3385 4.71992C5.39081 4.75366 5.4427 4.78804 5.49416 4.82305C5.32298 4.22417 5.31571 3.59032 5.4731 2.98767C4.7016 3.33895 4.10153 3.89423 3.66528 4.38455C3.70138 4.38351 4.79072 4.36392 5.3385 4.71992Z",fill:"url(#paint6_radial_466_21172)"}),a.createElement("path",{d:"M0.569399 8.16902C1.14887 11.5933 4.25305 14.2078 7.77665 14.3076C11.0379 14.3999 13.1216 12.507 13.9821 10.6602C14.5384 9.46646 14.9245 7.51333 14.2159 5.59224L14.2156 5.59142L14.2146 5.58414C14.2138 5.57858 14.2134 5.57527 14.2135 5.57708C14.2135 5.5783 14.214 5.58133 14.215 5.58958C14.4813 7.32899 13.5965 9.01408 12.2134 10.1535L12.2092 10.1632C9.51406 12.3577 6.93502 11.4872 6.41284 11.1309C6.37613 11.1133 6.33967 11.0951 6.30346 11.0765C4.73215 10.3255 4.08302 8.89402 4.22221 7.66633C2.89543 7.66633 2.44302 6.5473 2.44302 6.5473C2.44302 6.5473 3.63424 5.69796 5.20421 6.43664C6.65827 7.1208 8.02384 6.54736 8.02399 6.5473C8.02121 6.4863 6.71409 5.96636 6.20452 5.4643C5.93224 5.19605 5.80296 5.06671 5.68846 4.96967C5.62634 4.91721 5.5614 4.86817 5.49393 4.8228C5.44241 4.78788 5.39052 4.7535 5.33827 4.71967C4.79052 4.36367 3.70115 4.38327 3.66505 4.38421H3.66159C3.36387 4.00711 3.38487 2.76317 3.40184 2.50346C3.39827 2.48736 3.17974 2.61689 3.15112 2.63642C2.8884 2.82395 2.6428 3.03435 2.41718 3.26517C2.16043 3.5256 1.92585 3.80698 1.71587 4.10639C1.71587 4.10677 1.71565 4.10721 1.71552 4.10758C1.71552 4.10717 1.71574 4.10677 1.71587 4.10639C1.23294 4.79075 0.890436 5.56403 0.708149 6.38155C0.704555 6.39783 0.437836 7.56411 0.569399 8.16902Z",fill:"url(#paint7_radial_466_21172)"}),a.createElement("path",{d:"M10.6595 5.2058C10.9335 5.47478 11.1682 5.78104 11.3566 6.11555C11.398 6.14662 11.4366 6.17759 11.4694 6.2078C13.172 7.77655 12.2799 9.9953 12.2134 10.1534C13.5965 9.01405 14.4813 7.32896 14.215 5.58955C13.3657 3.47293 11.9258 2.61943 10.7499 0.761053C10.6905 0.667084 10.631 0.572866 10.573 0.473553C10.5435 0.422834 10.5159 0.371004 10.4903 0.318178C10.4415 0.223861 10.4038 0.124166 10.3781 0.0211155C10.3782 0.0162369 10.3766 0.0114673 10.3734 0.00774353C10.3703 0.0040198 10.3658 0.00161108 10.361 0.000990505C10.3564 -0.000330168 10.3515 -0.000330168 10.3469 0.000990505C10.3458 0.0013655 10.3443 0.00258425 10.3431 0.00302176C10.3415 0.003678 10.3394 0.00517801 10.3376 0.00614676C10.0473 0.144522 8.32493 2.87158 10.6595 5.2058Z",fill:"url(#paint8_radial_466_21172)"}),a.createElement("path",{d:"M11.4694 6.20779C11.4366 6.17757 11.398 6.1466 11.3566 6.11554C11.3413 6.10404 11.3263 6.0926 11.31 6.08117C10.909 5.79948 10.1909 5.52126 9.49912 5.64157C12.2004 6.99201 11.4752 11.6424 7.73209 11.4668C7.39876 11.4532 7.06935 11.3897 6.75487 11.2784C6.6805 11.2504 6.60694 11.2203 6.53428 11.1882C6.4919 11.1689 6.44956 11.1493 6.40771 11.1277C6.40921 11.1287 6.41128 11.1299 6.41281 11.1308C6.935 11.4871 9.51403 12.3576 12.2092 10.1631L12.2133 10.1534C12.2799 9.99542 13.1719 7.77657 11.4694 6.20779Z",fill:"url(#paint9_radial_466_21172)"}),a.createElement("path",{d:"M4.63871 8.67006C4.63871 8.67006 4.98537 7.37834 7.12096 7.37834C7.35183 7.37834 8.01187 6.73412 8.02408 6.54731C8.0363 6.36049 6.65846 7.12081 5.2043 6.43665C3.63433 5.69796 2.44312 6.54731 2.44312 6.54731C2.44312 6.54731 2.89552 7.66634 4.2223 7.66634C4.08315 8.89402 4.73227 10.3257 6.30355 11.0765C6.33868 11.0932 6.37168 11.1116 6.40774 11.1277C5.49062 10.6537 4.7333 9.75787 4.63871 8.67006Z",fill:"url(#paint10_radial_466_21172)"}),a.createElement("path",{d:"M14.9597 5.19849C14.6333 4.41337 13.9722 3.56574 13.4531 3.29783C13.8756 4.12612 14.1201 4.95699 14.2136 5.57708C14.2136 5.5783 14.214 5.58133 14.215 5.58958C13.3658 3.47293 11.9258 2.61943 10.75 0.761053C10.6906 0.667084 10.6311 0.572865 10.5731 0.473553C10.5436 0.422834 10.516 0.371004 10.4904 0.318178C10.4416 0.223861 10.4039 0.124166 10.3781 0.0211155C10.3783 0.0162369 10.3767 0.0114673 10.3735 0.00774353C10.3703 0.0040198 10.3659 0.00161108 10.3611 0.000990505C10.3565 -0.000330168 10.3516 -0.000330168 10.347 0.000990505C10.3459 0.0013655 10.3443 0.00258425 10.3432 0.00302175C10.3416 0.003678 10.3395 0.005178 10.3377 0.00614675C10.3386 0.00502175 10.3403 0.0024905 10.3408 0.00189675C8.45428 1.10677 7.81428 3.15068 7.75547 4.17327C7.84297 4.16721 7.93022 4.15987 8.01928 4.15987C9.42719 4.15987 10.6534 4.93393 11.3099 6.08124C10.9089 5.79955 10.1908 5.52133 9.49906 5.64165C12.2003 6.99208 11.4752 11.6425 7.73203 11.4669C7.3987 11.4533 7.06929 11.3898 6.75481 11.2784C6.68044 11.2505 6.60688 11.2204 6.53422 11.1882C6.49184 11.1689 6.4495 11.1494 6.40766 11.1278C6.40916 11.1288 6.41122 11.13 6.41275 11.1309C6.37605 11.1132 6.33958 11.0951 6.30337 11.0764C6.3385 11.0932 6.3715 11.1116 6.40756 11.1276C5.49038 10.6536 4.73306 9.75786 4.63847 8.67005C4.63847 8.67005 4.98513 7.37833 7.12072 7.37833C7.35159 7.37833 8.01162 6.73412 8.02384 6.5473C8.02106 6.4863 6.71394 5.96637 6.20437 5.4643C5.93209 5.19605 5.80281 5.06671 5.68831 4.96968C5.62619 4.91721 5.56125 4.86818 5.49378 4.8228C5.3226 4.22393 5.31533 3.59008 5.47272 2.98743C4.70122 3.33871 4.10116 3.89399 3.66491 4.3843H3.66144C3.36372 4.00721 3.38472 2.76327 3.40169 2.50355C3.39812 2.48746 3.17959 2.61699 3.15097 2.63652C2.88825 2.82404 2.64265 3.03445 2.41703 3.26527C2.16036 3.52567 1.92585 3.80702 1.71594 4.1064C1.71594 4.10677 1.71572 4.10721 1.71559 4.10758C1.71559 4.10718 1.71581 4.10677 1.71594 4.1064C1.23301 4.79075 0.890506 5.56404 0.708219 6.38155C0.704625 6.39783 0.701594 6.41471 0.698094 6.43112C0.683969 6.49724 0.620406 6.83277 0.611531 6.90474C0.610844 6.91027 0.612187 6.89924 0.611531 6.90474C0.553567 7.25147 0.516583 7.60137 0.500781 7.95255C0.500781 7.96537 0.5 7.97805 0.5 7.9909C0.5 12.138 3.8625 15.5 8.01012 15.5C11.7247 15.5 14.8089 12.8035 15.4127 9.26152C15.4254 9.1654 15.4356 9.06877 15.4468 8.9718C15.5961 7.68399 15.4302 6.3304 14.9597 5.19849ZM14.2147 5.58415C14.2151 5.5868 14.2155 5.58958 14.2159 5.59224L14.2157 5.59143L14.2147 5.58415Z",fill:"url(#paint11_linear_466_21172)"}),a.createElement("defs",null,a.createElement("linearGradient",{id:"paint0_linear_466_21172",x1:"13.5874",y1:"2.40249",x2:"1.52839",y2:"14.0351",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{offset:"0.05",stopColor:"#FFF44F"}),a.createElement("stop",{offset:"0.37",stopColor:"#FF980E"}),a.createElement("stop",{offset:"0.53",stopColor:"#FF3647"}),a.createElement("stop",{offset:"0.7",stopColor:"#E31587"})),a.createElement("radialGradient",{id:"paint1_radial_466_21172",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(10.8936 1.72781) scale(15.3601 15.6187)"},a.createElement("stop",{offset:"0.13",stopColor:"#FFBD4F"}),a.createElement("stop",{offset:"0.28",stopColor:"#FF980E"}),a.createElement("stop",{offset:"0.47",stopColor:"#FF3750"}),a.createElement("stop",{offset:"0.78",stopColor:"#EB0878"}),a.createElement("stop",{offset:"0.86",stopColor:"#E50080"})),a.createElement("radialGradient",{id:"paint2_radial_466_21172",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(6.43979 8.1787) scale(15.7441 15.6187)"},a.createElement("stop",{offset:"0.3",stopColor:"#960E18"}),a.createElement("stop",{offset:"0.35",stopColor:"#B11927",stopOpacity:"0.74"}),a.createElement("stop",{offset:"0.43",stopColor:"#DB293D",stopOpacity:"0.34"}),a.createElement("stop",{offset:"0.5",stopColor:"#F5334B",stopOpacity:"0.09"}),a.createElement("stop",{offset:"0.53",stopColor:"#FF3750",stopOpacity:"0"})),a.createElement("radialGradient",{id:"paint3_radial_466_21172",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(9.48415 -0.731827) scale(5.04157 8.55934)"},a.createElement("stop",{offset:"0.13",stopColor:"#FFF44F"}),a.createElement("stop",{offset:"0.53",stopColor:"#FF980E"})),a.createElement("radialGradient",{id:"paint4_radial_466_21172",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(6.15707 12.2109) scale(6.67134 7.31187)"},a.createElement("stop",{offset:"0.35",stopColor:"#3A8EE6"}),a.createElement("stop",{offset:"0.67",stopColor:"#9059FF"}),a.createElement("stop",{offset:"1",stopColor:"#C139E6"})),a.createElement("radialGradient",{id:"paint5_radial_466_21172",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(7.29699 6.57271) scale(3.54248 4.314)"},a.createElement("stop",{offset:"0.21",stopColor:"#9059FF",stopOpacity:"0"}),a.createElement("stop",{offset:"0.97",stopColor:"#6E008B",stopOpacity:"0.6"})),a.createElement("radialGradient",{id:"paint6_radial_466_21172",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(7.50592 1.1523) scale(5.30374 5.32259)"},a.createElement("stop",{offset:"0.1",stopColor:"#FFE226"}),a.createElement("stop",{offset:"0.79",stopColor:"#FF7139"})),a.createElement("radialGradient",{id:"paint7_radial_466_21172",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(12.3495 -2.33951) scale(25.3212 21.2557)"},a.createElement("stop",{offset:"0.11",stopColor:"#FFF44F"}),a.createElement("stop",{offset:"0.46",stopColor:"#FF980E"}),a.createElement("stop",{offset:"0.72",stopColor:"#FF3647"}),a.createElement("stop",{offset:"0.9",stopColor:"#E31587"})),a.createElement("radialGradient",{id:"paint8_radial_466_21172",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(2.94576 4.67997) rotate(77.3946) scale(8.03354 34.7519)"},a.createElement("stop",{stopColor:"#FFF44F"}),a.createElement("stop",{offset:"0.3",stopColor:"#FF980E"}),a.createElement("stop",{offset:"0.57",stopColor:"#FF3647"}),a.createElement("stop",{offset:"0.74",stopColor:"#E31587"})),a.createElement("radialGradient",{id:"paint9_radial_466_21172",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(7.56027 3.06659) scale(14.5381 14.2827)"},a.createElement("stop",{offset:"0.14",stopColor:"#FFF44F"}),a.createElement("stop",{offset:"0.48",stopColor:"#FF980E"}),a.createElement("stop",{offset:"0.66",stopColor:"#FF3647"}),a.createElement("stop",{offset:"0.9",stopColor:"#E31587"})),a.createElement("radialGradient",{id:"paint10_radial_466_21172",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(11.3337 3.90193) scale(17.4743 15.6328)"},a.createElement("stop",{offset:"0.09",stopColor:"#FFF44F"}),a.createElement("stop",{offset:"0.63",stopColor:"#FF980E"})),a.createElement("linearGradient",{id:"paint11_linear_466_21172",x1:"12.5",y1:"2.16999",x2:"2.85701",y2:"12.7061",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{offset:"0.17",stopColor:"#FFF44F",stopOpacity:"0.8"}),a.createElement("stop",{offset:"0.6",stopColor:"#FFF44F",stopOpacity:"0"})))),ef=e=>a.createElement("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("circle",{cx:"8.00009",cy:"7.99997",r:"7.7037",fill:"url(#paint0_linear_466_21186)"}),a.createElement("ellipse",{cx:"8.00094",cy:"8.00094",rx:"7.06173",ry:"7.06173",fill:"url(#paint1_radial_466_21186)"}),a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.07134 1.36353C8.03043 1.36353 7.99727 1.39669 7.99727 1.4376V2.56469C7.99727 2.6056 8.03043 2.63877 8.07134 2.63877C8.11225 2.63877 8.14542 2.6056 8.14542 2.56469V1.4376C8.14542 1.39669 8.11225 1.36353 8.07134 1.36353ZM8.07134 14.7792C8.11225 14.7792 8.14542 14.746 8.14542 14.7051V13.578C8.14542 13.5371 8.11225 13.5039 8.07134 13.5039C8.03043 13.5039 7.99727 13.5371 7.99727 13.578V14.7051C7.99727 14.746 8.03043 14.7792 8.07134 14.7792ZM8.64883 1.46214C8.65292 1.42143 8.68923 1.39175 8.72994 1.39584C8.77064 1.39993 8.80032 1.43625 8.79623 1.47695L8.74793 1.95766C8.74384 1.99836 8.70752 2.02804 8.66682 2.02395C8.62612 2.01986 8.59643 1.98355 8.60052 1.94284L8.64883 1.46214ZM7.41372 14.7468C7.45442 14.7509 7.49074 14.7213 7.49483 14.6806L7.54313 14.1998C7.54722 14.1591 7.51754 14.1228 7.47683 14.1187C7.43613 14.1146 7.39982 14.1443 7.39573 14.185L7.34742 14.6657C7.34333 14.7064 7.37301 14.7428 7.41372 14.7468ZM14.7051 7.99727C14.746 7.99727 14.7792 8.03043 14.7792 8.07134C14.7792 8.11225 14.746 8.14542 14.7051 8.14542H13.578C13.5371 8.14542 13.5039 8.11225 13.5039 8.07134C13.5039 8.03043 13.5371 7.99727 13.578 7.99727H14.7051ZM1.36353 8.07134C1.36353 8.11225 1.39669 8.14542 1.4376 8.14542H2.56469C2.6056 8.14542 2.63877 8.11225 2.63877 8.07134C2.63877 8.03043 2.6056 7.99727 2.56469 7.99727H1.4376C1.39669 7.99727 1.36353 8.03043 1.36353 8.07134ZM14.6806 8.64883C14.7213 8.65292 14.7509 8.68923 14.7468 8.72994C14.7428 8.77064 14.7064 8.80032 14.6657 8.79623L14.185 8.74793C14.1443 8.74384 14.1146 8.70752 14.1187 8.66682C14.1228 8.62612 14.1591 8.59643 14.1998 8.60052L14.6806 8.64883ZM1.39584 7.41372C1.39175 7.45442 1.42143 7.49074 1.46214 7.49483L1.94284 7.54313C1.98355 7.54722 2.01986 7.51754 2.02395 7.47683C2.02804 7.43613 1.99836 7.39982 1.95766 7.39573L1.47695 7.34742C1.43625 7.34333 1.39993 7.37301 1.39584 7.41372ZM12.7097 3.3282C12.7387 3.29927 12.7856 3.29927 12.8145 3.3282C12.8434 3.35713 12.8434 3.40403 12.8145 3.43296L12.0175 4.22994C11.9886 4.25887 11.9417 4.25887 11.9127 4.22994C11.8838 4.20101 11.8838 4.15411 11.9127 4.12518L12.7097 3.3282ZM3.3282 12.8145C3.35713 12.8434 3.40403 12.8434 3.43296 12.8145L4.22994 12.0175C4.25887 11.9886 4.25887 11.9417 4.22994 11.9127C4.20101 11.8838 4.15411 11.8838 4.12518 11.9127L3.3282 12.7097C3.29927 12.7387 3.29927 12.7856 3.3282 12.8145ZM13.1523 3.80568C13.1839 3.77973 13.2306 3.78433 13.2566 3.81595C13.2825 3.84757 13.2779 3.89425 13.2463 3.9202L12.8729 4.22664C12.8413 4.2526 12.7946 4.248 12.7686 4.21638C12.7427 4.18475 12.7473 4.13808 12.7789 4.11212L13.1523 3.80568ZM2.88614 12.3267C2.91209 12.3584 2.95876 12.363 2.99039 12.337L3.36378 12.0306C3.3954 12.0046 3.4 11.9579 3.37404 11.9263C3.34809 11.8947 3.30142 11.8901 3.26979 11.916L2.8964 12.2225C2.86478 12.2484 2.86018 12.2951 2.88614 12.3267ZM12.8145 12.7097C12.8434 12.7387 12.8434 12.7856 12.8145 12.8145C12.7856 12.8434 12.7387 12.8434 12.7097 12.8145L11.9127 12.0175C11.8838 11.9886 11.8838 11.9417 11.9127 11.9127C11.9417 11.8838 11.9886 11.8838 12.0175 11.9127L12.8145 12.7097ZM3.3282 3.3282C3.29927 3.35713 3.29927 3.40403 3.3282 3.43296L4.12518 4.22994C4.15411 4.25887 4.20101 4.25887 4.22994 4.22994C4.25887 4.20101 4.25887 4.15411 4.22994 4.12518L3.43296 3.3282C3.40403 3.29927 3.35713 3.29927 3.3282 3.3282ZM12.337 13.1523C12.363 13.1839 12.3584 13.2306 12.3267 13.2566C12.2951 13.2825 12.2484 13.2779 12.2225 13.2463L11.916 12.8729C11.8901 12.8413 11.8947 12.7946 11.9263 12.7686C11.9579 12.7427 12.0046 12.7473 12.0306 12.7789L12.337 13.1523ZM3.81595 2.88614C3.78433 2.91209 3.77973 2.95876 3.80568 2.99039L4.11212 3.36378C4.13808 3.3954 4.18475 3.4 4.21638 3.37404C4.248 3.34809 4.2526 3.30142 4.22664 3.26979L3.9202 2.8964C3.89425 2.86478 3.84757 2.86018 3.81595 2.88614ZM10.5415 1.91422C10.5572 1.87643 10.6005 1.85848 10.6383 1.87413C10.6761 1.88979 10.6941 1.93312 10.6784 1.97092L10.2471 3.01221C10.2314 3.05 10.1881 3.06795 10.1503 3.05229C10.1125 3.03664 10.0946 2.99331 10.1102 2.95551L10.5415 1.91422ZM5.50437 14.2686C5.54216 14.2842 5.58549 14.2663 5.60115 14.2285L6.03247 13.1872C6.04813 13.1494 6.03018 13.1061 5.99238 13.0904C5.95459 13.0747 5.91126 13.0927 5.8956 13.1305L5.46428 14.1718C5.44862 14.2096 5.46657 14.2529 5.50437 14.2686ZM11.1332 2.18598C11.1524 2.1499 11.1973 2.13628 11.2334 2.15557C11.2695 2.17486 11.2831 2.21974 11.2638 2.25582L11.0361 2.68183C11.0168 2.7179 10.9719 2.73152 10.9358 2.71223C10.8998 2.69295 10.8861 2.64806 10.9054 2.61199L11.1332 2.18598ZM4.90931 13.9871C4.94539 14.0064 4.99027 13.9928 5.00955 13.9567L5.23726 13.5307C5.25654 13.4946 5.24293 13.4497 5.20685 13.4305C5.17077 13.4112 5.12589 13.4248 5.1066 13.4609L4.8789 13.8869C4.85961 13.923 4.87323 13.9678 4.90931 13.9871ZM14.2285 10.5415C14.2663 10.5572 14.2842 10.6005 14.2686 10.6383C14.2529 10.6761 14.2096 10.6941 14.1718 10.6784L13.1305 10.2471C13.0927 10.2314 13.0747 10.1881 13.0904 10.1503C13.1061 10.1125 13.1494 10.0946 13.1872 10.1102L14.2285 10.5415ZM1.87412 5.50437C1.85846 5.54216 1.87641 5.58549 1.91421 5.60115L2.95551 6.03247C2.99331 6.04813 3.03664 6.03018 3.05229 5.99238C3.06795 5.95459 3.05 5.91126 3.0122 5.8956L1.9709 5.46428C1.9331 5.44862 1.88977 5.46657 1.87412 5.50437ZM13.9567 11.1332C13.9928 11.1524 14.0064 11.1973 13.9871 11.2334C13.9678 11.2695 13.923 11.2831 13.8869 11.2638L13.4609 11.0361C13.4248 11.0168 13.4112 10.9719 13.4305 10.9358C13.4497 10.8998 13.4946 10.8861 13.5307 10.9054L13.9567 11.1332ZM2.15557 4.90929C2.13628 4.94537 2.1499 4.99025 2.18598 5.00954L2.61199 5.23726C2.64806 5.25654 2.69295 5.24293 2.71223 5.20685C2.73152 5.17077 2.7179 5.12589 2.68183 5.1066L2.25582 4.87888C2.21974 4.8596 2.17486 4.87321 2.15557 4.90929ZM14.1718 5.46428C14.2096 5.44862 14.2529 5.46657 14.2686 5.50437C14.2842 5.54216 14.2663 5.58549 14.2285 5.60115L13.1872 6.03247C13.1494 6.04813 13.1061 6.03018 13.0904 5.99238C13.0747 5.95459 13.0927 5.91126 13.1305 5.8956L14.1718 5.46428ZM1.87413 10.6383C1.88979 10.6761 1.93312 10.6941 1.97092 10.6784L3.01221 10.2471C3.05 10.2314 3.06795 10.1881 3.05229 10.1503C3.03664 10.1125 2.99331 10.0946 2.95551 10.1102L1.91422 10.5415C1.87643 10.5572 1.85848 10.6005 1.87413 10.6383ZM14.3979 6.07477C14.4371 6.0629 14.4785 6.08501 14.4903 6.12416C14.5022 6.1633 14.4801 6.20467 14.441 6.21654L13.9787 6.35677C13.9396 6.36864 13.8982 6.34654 13.8863 6.30739C13.8744 6.26824 13.8965 6.22688 13.9357 6.215L14.3979 6.07477ZM1.65237 10.0185C1.66425 10.0577 1.70561 10.0798 1.74476 10.0679L2.20699 9.92769C2.24614 9.91581 2.26825 9.87445 2.25637 9.8353C2.2445 9.79615 2.20313 9.77404 2.16399 9.78592L1.70175 9.92615C1.6626 9.93802 1.64049 9.97939 1.65237 10.0185ZM10.6383 14.2686C10.6005 14.2842 10.5572 14.2663 10.5415 14.2285L10.1102 13.1872C10.0946 13.1494 10.1125 13.1061 10.1503 13.0904C10.1881 13.0747 10.2314 13.0927 10.2471 13.1305L10.6784 14.1718C10.6941 14.2096 10.6761 14.2529 10.6383 14.2686ZM5.50437 1.87413C5.46657 1.88979 5.44862 1.93312 5.46428 1.97092L5.8956 3.01221C5.91126 3.05 5.95459 3.06795 5.99238 3.05229C6.03018 3.03664 6.04813 2.99331 6.03247 2.95551L5.60115 1.91422C5.58549 1.87643 5.54216 1.85848 5.50437 1.87413ZM10.0679 14.3979C10.0798 14.4371 10.0577 14.4785 10.0185 14.4903C9.97939 14.5022 9.93802 14.4801 9.92615 14.441L9.78592 13.9787C9.77404 13.9396 9.79615 13.8982 9.8353 13.8863C9.87445 13.8744 9.91581 13.8965 9.92769 13.9357L10.0679 14.3979ZM6.12417 1.65237C6.08502 1.66424 6.06291 1.70561 6.07479 1.74475L6.215 2.20699C6.22688 2.24614 6.26824 2.26825 6.30739 2.25637C6.34654 2.2445 6.36864 2.20314 6.35677 2.16399L6.21656 1.70175C6.20468 1.6626 6.16332 1.64049 6.12417 1.65237ZM9.29287 1.55062C9.30085 1.5105 9.33985 1.48444 9.37997 1.49242C9.4201 1.5004 9.44615 1.5394 9.43817 1.57952L9.21829 2.68496C9.21031 2.72508 9.17131 2.75114 9.13119 2.74316C9.09107 2.73518 9.06501 2.69618 9.07299 2.65606L9.29287 1.55062ZM6.76272 14.6503C6.80284 14.6583 6.84184 14.6322 6.84982 14.5921L7.0697 13.4866C7.07768 13.4465 7.05162 13.4075 7.0115 13.3995C6.97137 13.3916 6.93238 13.4176 6.9244 13.4577L6.70452 14.5632C6.69654 14.6033 6.72259 14.6423 6.76272 14.6503ZM9.92615 1.70175C9.93802 1.6626 9.97939 1.64049 10.0185 1.65237C10.0577 1.66425 10.0798 1.70561 10.0679 1.74476L9.92769 2.20699C9.91581 2.24614 9.87445 2.26825 9.8353 2.25637C9.79615 2.2445 9.77404 2.20313 9.78592 2.16399L9.92615 1.70175ZM6.12417 14.4903C6.16332 14.5022 6.20469 14.4801 6.21656 14.441L6.35677 13.9787C6.36864 13.9396 6.34653 13.8982 6.30739 13.8863C6.26824 13.8744 6.22687 13.8965 6.215 13.9357L6.07479 14.398C6.06291 14.4371 6.08502 14.4785 6.12417 14.4903ZM14.5921 9.29287C14.6322 9.30085 14.6583 9.33985 14.6503 9.37997C14.6423 9.4201 14.6033 9.44615 14.5632 9.43817L13.4577 9.21829C13.4176 9.21031 13.3916 9.17131 13.3995 9.13119C13.4075 9.09107 13.4465 9.06501 13.4866 9.07299L14.5921 9.29287ZM1.49242 6.76272C1.48444 6.80284 1.5105 6.84184 1.55062 6.84982L2.65606 7.0697C2.69618 7.07768 2.73518 7.05162 2.74316 7.0115C2.75114 6.97137 2.72508 6.93238 2.68496 6.9244L1.57952 6.70452C1.5394 6.69654 1.5004 6.72259 1.49242 6.76272ZM14.441 9.92615C14.4801 9.93802 14.5022 9.97939 14.4903 10.0185C14.4785 10.0577 14.4371 10.0798 14.3979 10.0679L13.9357 9.92769C13.8965 9.91581 13.8744 9.87445 13.8863 9.8353C13.8982 9.79615 13.9396 9.77404 13.9787 9.78592L14.441 9.92615ZM1.65237 6.12415C1.64049 6.1633 1.6626 6.20467 1.70175 6.21654L2.16399 6.35677C2.20313 6.36864 2.2445 6.34654 2.25637 6.30739C2.26825 6.26824 2.24614 6.22688 2.20699 6.215L1.74476 6.07477C1.70561 6.0629 1.66425 6.08501 1.65237 6.12415ZM13.5459 4.32424C13.58 4.30151 13.626 4.31066 13.6487 4.34468C13.6714 4.37869 13.6623 4.42469 13.6282 4.44742L12.6911 5.0736C12.6571 5.09633 12.6111 5.08718 12.5884 5.05317C12.5656 5.01915 12.5748 4.97315 12.6088 4.95042L13.5459 4.32424ZM2.494 11.798C2.51673 11.832 2.56273 11.8412 2.59675 11.8184L3.53389 11.1923C3.56791 11.1695 3.57706 11.1235 3.55433 11.0895C3.5316 11.0555 3.4856 11.0464 3.45159 11.0691L2.51444 11.6953C2.48043 11.718 2.47128 11.764 2.494 11.798ZM13.8869 4.87888C13.923 4.8596 13.9678 4.87321 13.9871 4.90929C14.0064 4.94537 13.9928 4.99025 13.9567 5.00954L13.5307 5.23726C13.4946 5.25654 13.4497 5.24293 13.4305 5.20685C13.4112 5.17077 13.4248 5.12589 13.4609 5.1066L13.8869 4.87888ZM2.15557 11.2334C2.17486 11.2695 2.21974 11.2831 2.25582 11.2638L2.68183 11.0361C2.7179 11.0168 2.73152 10.9719 2.71223 10.9358C2.69295 10.8998 2.64806 10.8861 2.61199 10.9054L2.18598 11.1332C2.1499 11.1524 2.13628 11.1973 2.15557 11.2334ZM11.8184 13.5459C11.8412 13.58 11.832 13.626 11.798 13.6487C11.764 13.6714 11.718 13.6623 11.6953 13.6282L11.0691 12.6911C11.0464 12.6571 11.0555 12.6111 11.0895 12.5884C11.1235 12.5656 11.1695 12.5748 11.1923 12.6088L11.8184 13.5459ZM4.34468 2.494C4.31066 2.51673 4.30151 2.56273 4.32424 2.59675L4.95042 3.53389C4.97315 3.56791 5.01915 3.57706 5.05317 3.55433C5.08718 3.5316 5.09633 3.4856 5.0736 3.45159L4.44742 2.51444C4.42469 2.48043 4.37869 2.47128 4.34468 2.494ZM11.2638 13.8869C11.2831 13.923 11.2695 13.9678 11.2334 13.9871C11.1973 14.0064 11.1524 13.9928 11.1331 13.9567L10.9054 13.5307C10.8861 13.4946 10.8998 13.4497 10.9358 13.4305C10.9719 13.4112 11.0168 13.4248 11.0361 13.4609L11.2638 13.8869ZM4.90931 2.15557C4.87323 2.17485 4.85961 2.21974 4.8789 2.25581L5.1066 2.68182C5.12589 2.7179 5.17077 2.73152 5.20685 2.71223C5.24293 2.69295 5.25654 2.64807 5.23726 2.61199L5.00955 2.18598C4.99027 2.1499 4.94539 2.13628 4.90931 2.15557ZM11.6953 2.51444C11.718 2.48043 11.764 2.47128 11.798 2.494C11.832 2.51673 11.8412 2.56273 11.8184 2.59675L11.1923 3.53389C11.1695 3.56791 11.1235 3.57706 11.0895 3.55433C11.0555 3.5316 11.0464 3.4856 11.0691 3.45159L11.6953 2.51444ZM4.34468 13.6487C4.37869 13.6714 4.42469 13.6623 4.44742 13.6282L5.0736 12.6911C5.09633 12.6571 5.08718 12.6111 5.05317 12.5884C5.01915 12.5656 4.97315 12.5748 4.95042 12.6088L4.32424 13.5459C4.30151 13.58 4.31066 13.626 4.34468 13.6487ZM12.2225 2.8964C12.2484 2.86478 12.2951 2.86018 12.3267 2.88614C12.3584 2.91209 12.363 2.95876 12.337 2.99039L12.0306 3.36378C12.0046 3.3954 11.9579 3.4 11.9263 3.37404C11.8947 3.34809 11.8901 3.30142 11.916 3.26979L12.2225 2.8964ZM3.81595 13.2566C3.84757 13.2825 3.89425 13.2779 3.9202 13.2463L4.22664 12.8729C4.2526 12.8413 4.248 12.7946 4.21638 12.7686C4.18475 12.7427 4.13808 12.7473 4.11212 12.7789L3.80568 13.1523C3.77973 13.1839 3.78433 13.2306 3.81595 13.2566ZM13.6282 11.6953C13.6623 11.718 13.6714 11.764 13.6487 11.798C13.626 11.832 13.58 11.8412 13.5459 11.8184L12.6088 11.1923C12.5748 11.1695 12.5656 11.1235 12.5884 11.0895C12.6111 11.0555 12.6571 11.0464 12.6911 11.0691L13.6282 11.6953ZM2.494 4.34468C2.47128 4.37869 2.48043 4.42469 2.51444 4.44742L3.45159 5.0736C3.4856 5.09633 3.5316 5.08718 3.55433 5.05317C3.57706 5.01915 3.56791 4.97315 3.53389 4.95042L2.59675 4.32424C2.56273 4.30151 2.51673 4.31066 2.494 4.34468ZM13.2463 12.2225C13.2779 12.2484 13.2825 12.2951 13.2566 12.3267C13.2306 12.3584 13.1839 12.363 13.1523 12.337L12.7789 12.0306C12.7473 12.0046 12.7427 11.9579 12.7686 11.9263C12.7946 11.8947 12.8413 11.8901 12.8729 11.916L13.2463 12.2225ZM2.88614 3.81595C2.86018 3.84757 2.86478 3.89425 2.8964 3.9202L3.26979 4.22664C3.30142 4.2526 3.34809 4.248 3.37404 4.21638C3.4 4.18475 3.3954 4.13808 3.36378 4.11212L2.99039 3.80568C2.95876 3.77973 2.91209 3.78433 2.88614 3.81595ZM14.5632 6.70452C14.6033 6.69654 14.6423 6.72259 14.6503 6.76272C14.6583 6.80284 14.6322 6.84184 14.5921 6.84982L13.4866 7.0697C13.4465 7.07768 13.4075 7.05162 13.3995 7.0115C13.3916 6.97137 13.4176 6.93238 13.4577 6.9244L14.5632 6.70452ZM1.49242 9.37997C1.5004 9.4201 1.5394 9.44615 1.57952 9.43817L2.68496 9.21829C2.72508 9.21031 2.75114 9.17131 2.74316 9.13119C2.73518 9.09107 2.69618 9.06501 2.65606 9.07299L1.55062 9.29287C1.5105 9.30085 1.48444 9.33985 1.49242 9.37997ZM14.6657 7.34742C14.7064 7.34333 14.7428 7.37301 14.7468 7.41372C14.7509 7.45442 14.7213 7.49074 14.6806 7.49483L14.1998 7.54313C14.1591 7.54722 14.1228 7.51754 14.1187 7.47683C14.1146 7.43613 14.1443 7.39982 14.185 7.39573L14.6657 7.34742ZM1.39584 8.72994C1.39993 8.77064 1.43625 8.80032 1.47695 8.79623L1.95766 8.74793C1.99836 8.74384 2.02804 8.70752 2.02395 8.66682C2.01986 8.62612 1.98355 8.59643 1.94284 8.60052L1.46214 8.64883C1.42143 8.65292 1.39175 8.68923 1.39584 8.72994ZM9.43817 14.5632C9.44615 14.6033 9.4201 14.6423 9.37997 14.6503C9.33985 14.6583 9.30085 14.6322 9.29287 14.5921L9.07299 13.4866C9.06501 13.4465 9.09107 13.4075 9.13119 13.3995C9.17131 13.3916 9.21031 13.4176 9.21829 13.4577L9.43817 14.5632ZM6.76272 1.49242C6.72259 1.5004 6.69654 1.5394 6.70452 1.57952L6.9244 2.68496C6.93238 2.72508 6.97137 2.75114 7.0115 2.74316C7.05162 2.73518 7.07768 2.69618 7.0697 2.65606L6.84982 1.55062C6.84184 1.5105 6.80284 1.48444 6.76272 1.49242ZM8.79623 14.6657C8.80032 14.7064 8.77064 14.7428 8.72994 14.7468C8.68923 14.7509 8.65292 14.7213 8.64883 14.6806L8.60052 14.1998C8.59643 14.1591 8.62612 14.1228 8.66682 14.1187C8.70752 14.1146 8.74384 14.1443 8.74793 14.185L8.79623 14.6657ZM7.41372 1.39584C7.37301 1.39993 7.34333 1.43625 7.34742 1.47695L7.39573 1.95766C7.39982 1.99836 7.43613 2.02804 7.47683 2.02395C7.51754 2.01986 7.54722 1.98355 7.54313 1.94284L7.49483 1.46214C7.49074 1.42143 7.45442 1.39175 7.41372 1.39584Z",fill:"#DDDDDD"}),a.createElement("path",{d:"M3.14941 12.8505L7.29562 7.28674L7.99989 7.99218L3.14941 12.8505Z",fill:"#DDDDDD"}),a.createElement("path",{d:"M7.28662 7.29574L12.8504 3.14954L7.99204 8.00002L7.28662 7.29574Z",fill:"#EE4444"}),a.createElement("path",{d:"M12.8505 3.14954L8.70427 8.71332L8 8.00789L12.8505 3.14954Z",fill:"#CC0000"}),a.createElement("path",{d:"M3.14941 12.8505L8.7132 8.70427L8.00777 8L3.14941 12.8505Z",fill:"#AAAAAA"}),a.createElement("defs",null,a.createElement("linearGradient",{id:"paint0_linear_466_21186",x1:"0.300303",y1:"0.300951",x2:"0.300303",y2:"15.7084",gradientUnits:"userSpaceOnUse"},a.createElement("stop",{stopColor:"#F8F8F8"}),a.createElement("stop",{offset:"1",stopColor:"#CCCCCC"})),a.createElement("radialGradient",{id:"paint1_radial_466_21186",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(8.00216 8.0046) scale(7.06173)"},a.createElement("stop",{stopColor:"#00F0FF"}),a.createElement("stop",{offset:"1",stopColor:"#0070E0"})))),j1={CHROME:a.createElement(K6,{alt:"Chrome"}),FIREFOX:a.createElement(X6,{alt:"Firefox"}),SAFARI:a.createElement(ef,{alt:"Safari"}),EDGE:a.createElement(J6,{alt:"Edge"})},tf=w.div(({theme:e})=>({alignItems:"center",color:e.base==="light"?e.color.dark:e.color.light,display:"inline-flex",gap:6,height:16,margin:"6px 7px",svg:{verticalAlign:"top"}})),z1=w.span(({theme:e})=>({color:e.base==="light"?e.color.dark:e.color.light,display:"none",fontSize:e.typography.size.s1,fontWeight:e.typography.weight.bold,"@container (min-width: 300px)":{display:"inline-block"},"+ svg":{color:e.base==="light"?e.color.dark:e.color.light},"button:hover > &, button:hover > & + svg":{color:e.color.secondary}})),nf=({isAccepted:e,selectedBrowser:t,browserResults:n,onSelectBrowser:r})=>{zt();let i=Nr(n.map(({result:s})=>s));if(!i)return null;let l=j1[t.key];!e&&i!=="EQUAL"&&n.length>=2&&(l=a.createElement(dr,{status:i},l));let o=n.length>1&&n.map(({browser:s,result:c})=>({active:t===s,id:s.id,onClick:()=>r(s),right:!e&&c!=="EQUAL"&&a.createElement(Vs,{status:c}),icon:j1[s.key],title:s.name}));return a.createElement(we,{key:t.key,hasChrome:!1,placement:"top",trigger:"hover",tooltip:a.createElement(Ae,{note:o?"Switch browser":`Tested in ${n[0].browser.name}`})},o?a.createElement(ia,{placement:"bottom",links:o},l,a.createElement(z1,null,t.name),a.createElement(us,{size:10})):a.createElement(tf,null,l,a.createElement(z1,null,t.name)))},af=w.div(({theme:e})=>({alignItems:"center",color:e.base==="light"?e.color.darkest:e.color.light,display:"inline-flex",gap:6,height:14,margin:"7px 7px",svg:{verticalAlign:"top",path:{fill:e.base==="light"?e.color.dark:e.color.light}}})),rf=w(ia)(({theme:e})=>({button:{svg:{verticalAlign:"top",path:{fill:e.base==="light"?e.color.dark:e.color.light}},"&:hover":{svg:{path:{fill:e.color.secondary}}}}})),U1=w.span(({theme:e})=>({color:e.base==="light"?e.color.dark:e.color.light,display:"none",fontSize:e.typography.size.s1,fontWeight:e.typography.weight.bold,"@container (min-width: 300px)":{display:"inline-block"},"button:hover > &":{color:e.color.secondary}})),lf=({isAccepted:e,modeOrder:t,modeResults:n,onSelectMode:r,selectedMode:i})=>{zt();let l=Nr(n.map(({result:c})=>c));if(!l)return null;let o=a.createElement(xu,null);!e&&l!=="EQUAL"&&n.length>=2&&(o=a.createElement(dr,{status:l},o));let s=n.length>1&&n.map(({mode:c,result:d})=>({id:c.name,title:c.name,right:!e&&d!=="EQUAL"&&a.createElement(Vs,{status:d}),onClick:()=>r(c),active:i.name===c.name})).sort((c,d)=>{if(!t)return 0;let m=t.indexOf(c.title),u=t.indexOf(d.title);return m!==-1&&u!==-1?m-u:0});return a.createElement(we,{key:i.name,hasChrome:!1,placement:"top",trigger:"hover",tooltip:a.createElement(Ae,{note:s?"Switch mode":`View mode: ${n[0].mode.name}`})},s?a.createElement(rf,{placement:"bottom",links:s},o,a.createElement(U1,null,i.name),a.createElement(us,{size:10})):a.createElement(af,null,o,a.createElement(U1,null,i.name)))},$1=()=>{let e=ln(),{browserResults:t,modeResults:n}=e.summary;return a.createElement(Br,null,n.length>0&&e.selectedTest&&a.createElement(lf,{isAccepted:e.summary.status==="ACCEPTED",modeOrder:e.modeOrder,selectedMode:e.selectedTest.mode,modeResults:n,onSelectMode:e.onSelectMode}),t.length>0&&e.selectedComparison&&a.createElement(nf,{isAccepted:e.summary.status==="ACCEPTED",selectedBrowser:e.selectedComparison.browser,browserResults:t,onSelectBrowser:e.onSelectBrowser}),a.createElement(Xe,{push:!0},a.createElement(Zr,null)))},of=({theme:e,status:t,variant:n})=>n==="outline"?{color:e.base==="light"?e.color.dark:e.color.medium,backgroundColor:e.background.app,borderColor:e.base==="light"?e.color.medium:e.color.darker,"&:hover":{color:e.base==="light"?e.color.darkest:e.color.lighter,backgroundColor:Wt(.03,e.background.app)}}:t==="positive"?{color:e.color.positiveText,backgroundColor:e.background.positive,borderColor:Qa(.5,e.color.positiveText),"&:hover":{color:e.color.positiveText,backgroundColor:Wt(.05,e.background.positive)}}:t==="warning"?{color:e.color.warningText,backgroundColor:e.background.warning,borderColor:Qa(.5,e.color.warningText),"&:hover":{color:e.color.warningText,backgroundColor:Wt(.05,e.background.warning)}}:{color:e.color.lightest,backgroundColor:e.color.secondary,borderWidth:0,borderColor:e.base==="light"?Qa(.2,e.color.secondary):Wt(.1,e.color.secondary),"&:hover":{color:e.color.lightest,backgroundColor:Wt(.05,e.color.secondary)}},hn=w(Je)(({square:e})=>({border:"1px solid transparent",boxShadow:"none",fontSize:12,fontWeight:700,height:28,padding:e?"8px 6px":8,transition:"background-color 150ms ease-out","@container (min-width: 300px)":{height:32,width:e?32:"auto",padding:e?"9px 8px":9},"@container (min-width: 800px)":{height:28,fontSize:12,width:e?28:"auto",padding:e?"8px 6px":8}}),of,({side:e})=>({...e==="left"&&{borderRightWidth:1,borderTopRightRadius:0,borderBottomRightRadius:0},...e==="right"&&{borderLeftWidth:0,borderTopLeftRadius:0,borderBottomLeftRadius:0}})),W1=w.div({display:"flex",flexDirection:"row"}),_r=w.div(({theme:e})=>({width:12,height:12,margin:"3px 6px",verticalAlign:"top",display:"inline-block",animation:`${Is} 0.7s linear infinite`,border:"2px solid transparent",borderLeftColor:e.base==="light"?"#00aaff":"#58faf9",borderBottomColor:"#25ccfd",borderRightColor:e.base==="light"?"#58faf9":"#00aaff",borderRadius:"100%",transform:"translate3d(0, 0, 0)"}),({parentComponent:e})=>e&&ue({margin:e==="IconButton"?1:0,borderWidth:1,borderLeftColor:"currentcolor",borderBottomColor:"currentcolor",borderRightColor:"currentcolor"})),_i=w.div(({theme:e,width:t=14,height:n=14,marginLeft:r=7,marginRight:i=8})=>({display:"inline-block",backgroundColor:e.appBorderColor,borderRadius:3,animation:`${e.animation.glow} 1.5s ease-in-out infinite`,height:n,width:t,margin:7,marginLeft:r,marginRight:i})),sf=w.div(({theme:e})=>({gridArea:"label",margin:"8px 15px",display:"flex",alignItems:"center",justifyContent:"flex-start",gap:6,span:{display:"none","@container (min-width: 300px)":{display:"initial"}},"@container (min-width: 800px)":{borderLeft:`1px solid ${e.appBorderColor}`,paddingLeft:10,marginLeft:0}})),G1=w.div({gridArea:"controls",margin:"6px 15px",display:"flex",alignItems:"center",justifyContent:"flex-end",gap:6,"@container (min-width: 800px)":{margin:8}}),cf=w.div(({theme:e})=>({padding:9,"> svg":{display:"block"},path:{fill:e.color.mediumdark}})),df=w.div(({theme:e,showDivider:t})=>({gridArea:"actions",display:"flex",alignItems:"center",justifyContent:"flex-end",margin:"0px 15px",gap:6,"@container (min-width: 300px)":{alignItems:"flex-start",margin:"15px 15px 15px 0px"},"@container (min-width: 800px)":{alignItems:"center",borderLeft:t?`1px solid ${e.appBorderColor}`:"none",margin:"8px 15px 8px 0px",paddingLeft:8}})),uf=({isOutdated:e})=>{let{baselineImageVisible:t,diffVisible:n,focusVisible:r}=Ir(),{toggleBaselineImage:i,toggleDiff:l,toggleFocus:o}=Mn(),{isRunning:s,startBuild:c}=ka(),{selectedTest:d,selectedComparison:m,summary:u}=ln(),{changeCount:p,isInProgress:f}=u,{isReviewing:g,buildIsReviewable:y,userCanReview:k,acceptTest:E,unacceptTest:h}=tc();if(f)return a.createElement(G1,null,a.createElement(_i,null),a.createElement(_i,null),a.createElement(_i,null));let v=p>0&&d?.status!=="ACCEPTED",b=p>0&&d?.status==="ACCEPTED",C=m?.result==="CHANGED";return a.createElement(a.Fragment,null,C&&a.createElement(sf,null,a.createElement(j,null,a.createElement("b",null,t?"Baseline":"Latest",a.createElement("span",null," snapshot")))),C&&a.createElement(G1,null,a.createElement(we,{tooltip:a.createElement(Ae,{note:t?"Show latest snapshot":"Show baseline snapshot"}),trigger:"hover",hasChrome:!1},a.createElement(Je,{id:"button-toggle-snapshot","aria-label":t?"Show latest snapshot":"Show baseline snapshot",onClick:()=>i()},a.createElement(Au,null))),a.createElement(we,{tooltip:a.createElement(Ae,{note:r?"Hide spotlight":"Show spotlight"}),trigger:"hover",hasChrome:!1},a.createElement(Je,{id:"button-toggle-spotlight",active:r,"aria-label":r?"Hide spotlight":"Show spotlight",onClick:()=>o(!r)},a.createElement(Ou,null))),a.createElement(we,{tooltip:a.createElement(Ae,{note:n?"Hide diff":"Show diff"}),trigger:"hover",hasChrome:!1},a.createElement(Je,{id:"button-diff-visible",active:n,"aria-label":n?"Hide diff":"Show diff",onClick:()=>l(!n)},a.createElement(ls,null)))),(v||b)&&a.createElement(df,{showDivider:C},k&&y&&v&&d&&a.createElement(W1,null,a.createElement(we,{tooltip:a.createElement(Ae,{note:"Accept this story"}),trigger:"hover",hasChrome:!1},a.createElement(hn,{id:"button-toggle-accept-story",disabled:g,"aria-label":"Accept this story",onClick:()=>E(d.id,"SPEC"),side:"left"},"Accept")),a.createElement(we,{tooltip:a.createElement(Ae,{note:"Batch accept options"}),trigger:"hover",hasChrome:!1},a.createElement(ia,{placement:"bottom",links:[{id:"acceptComponent",title:"Accept component",center:"Accept all unreviewed changes for this component",onClick:()=>E(d.id,"COMPONENT"),disabled:g,loading:g},{id:"acceptBuild",title:"Accept entire build",center:"Accept all unreviewed changes for every story in the Storybook",onClick:()=>E(d.id,"BUILD"),disabled:g,loading:g}]},O=>a.createElement(hn,{square:!0,active:O,disabled:g,"aria-label":"Batch accept options",side:"right"},g?a.createElement(_r,{parentComponent:"IconButton"}):a.createElement(Co,null))))),k&&y&&b&&a.createElement(W1,null,a.createElement(we,{tooltip:a.createElement(Ae,{note:"Unaccept this story"}),trigger:"hover",hasChrome:!1},a.createElement(hn,{id:"button-toggle-accept-story",disabled:g,"aria-label":"Unaccept this story",onClick:()=>h(d.id,"SPEC"),side:"left",status:"positive"},a.createElement(Fu,null),"Unaccept")),a.createElement(we,{tooltip:a.createElement(Ae,{note:"Batch unaccept options"}),trigger:"hover",hasChrome:!1},a.createElement(ia,{placement:"bottom",links:[{id:"unacceptComponent",title:"Unaccept component",center:"Unaccept all unreviewed changes for this component",onClick:()=>h(d.id,"COMPONENT"),disabled:g,loading:g},{id:"unacceptBuild",title:"Unaccept entire build",center:"Unaccept all unreviewed changes for every story in the Storybook",onClick:()=>h(d.id,"BUILD"),disabled:g,loading:g}]},O=>a.createElement(hn,{square:!0,active:O,disabled:g,"aria-label":"Batch unaccept options",side:"right",status:"positive"},g?a.createElement(_r,{parentComponent:"IconButton"}):a.createElement(Co,null))))),!(k&&y)&&a.createElement(we,{tooltip:a.createElement(Ae,{note:"Reviewing disabled"}),trigger:"hover",hasChrome:!1},a.createElement(cf,null,a.createElement(ss,null))),a.createElement(we,{tooltip:a.createElement(Ae,{note:e?"Run new tests":"Rerun tests"}),trigger:"hover",hasChrome:!1},a.createElement(hn,{square:!0,"aria-label":e?"Run new tests":"Rerun tests",onClick:c,disabled:s,variant:"outline"},e?a.createElement(Bt,null):a.createElement(ms,null)))))},Ga=et(ya()),mf=e=>a.createElement("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{margin:"3px 6px",verticalAlign:"top"},...e},a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 6C12 9.31371 9.31371 12 6 12C2.68629 12 0 9.31371 0 6C0 2.68629 2.68629 0 6 0C9.31371 0 12 2.68629 12 6ZM5.57143 6.85714C5.57143 7.09384 5.76331 7.28571 6 7.28571C6.23669 7.28571 6.42857 7.09384 6.42857 6.85714L6.42857 3.42857C6.42857 3.19188 6.23669 3 6 3C5.76331 3 5.57143 3.19188 5.57143 3.42857V6.85714ZM5.35714 8.78572C5.35714 8.43067 5.64496 8.14286 6 8.14286C6.35504 8.14286 6.64286 8.43067 6.64286 8.78571C6.64286 9.14075 6.35504 9.42857 6 9.42857C5.64496 9.42857 5.35714 9.14075 5.35714 8.78572Z",fill:"#73828C"})),Mi={width:12,height:12,margin:"3px 3px 3px 6px",verticalAlign:"top"},pf=({icon:e})=>{let{color:t}=zt();return{passed:a.createElement(Ii,{style:{...Mi,color:t.positive}}),changed:a.createElement(ku,{style:{...Mi,color:t.warning}}),failed:a.createElement(St,{style:{...Mi,color:t.negative}})}[e]};function ul(e){"@babel/helpers - typeof";return ul=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ul(e)}function Wr(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}function fn(e){Wr(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||ul(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}var hf={};function ff(){return hf}function q1(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function gf(e,t){Wr(2,arguments);var n=fn(e),r=fn(t),i=n.getTime()-r.getTime();return i<0?-1:i>0?1:i}var vf={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},yf=function(e,t,n){var r,i=vf[e];return typeof i=="string"?r=i:t===1?r=i.one:r=i.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r},Ef=yf;function Ti(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,r=e.formats[n]||e.formats[e.defaultWidth];return r}}var bf={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},kf={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},wf={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Cf={date:Ti({formats:bf,defaultWidth:"full"}),time:Ti({formats:kf,defaultWidth:"full"}),dateTime:Ti({formats:wf,defaultWidth:"full"})},Sf=Cf,xf={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Nf=function(e,t,n,r){return xf[e]},_f=Nf;function Wn(e){return function(t,n){var r=n!=null&&n.context?String(n.context):"standalone",i;if(r==="formatting"&&e.formattingValues){var l=e.defaultFormattingWidth||e.defaultWidth,o=n!=null&&n.width?String(n.width):l;i=e.formattingValues[o]||e.formattingValues[l]}else{var s=e.defaultWidth,c=n!=null&&n.width?String(n.width):e.defaultWidth;i=e.values[c]||e.values[s]}var d=e.argumentCallback?e.argumentCallback(t):t;return i[d]}}var Mf={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Tf={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Af={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Ff={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Of={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Lf={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Rf=function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},If={ordinalNumber:Rf,era:Wn({values:Mf,defaultWidth:"wide"}),quarter:Wn({values:Tf,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Wn({values:Af,defaultWidth:"wide"}),day:Wn({values:Ff,defaultWidth:"wide"}),dayPeriod:Wn({values:Of,defaultWidth:"wide",formattingValues:Lf,defaultFormattingWidth:"wide"})},Zf=If;function Gn(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],l=t.match(i);if(!l)return null;var o=l[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(s)?Pf(s,function(u){return u.test(o)}):Bf(s,function(u){return u.test(o)}),d;d=e.valueCallback?e.valueCallback(c):c,d=n.valueCallback?n.valueCallback(d):d;var m=t.slice(o.length);return{value:d,rest:m}}}function Bf(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function Pf(e,t){for(var n=0;n1&&arguments[1]!==void 0?arguments[1]:{},r=t.match(e.matchPattern);if(!r)return null;var i=r[0],l=t.match(e.parsePattern);if(!l)return null;var o=e.valueCallback?e.valueCallback(l[0]):l[0];o=n.valueCallback?n.valueCallback(o):o;var s=t.slice(i.length);return{value:o,rest:s}}}var Df=/^(\d+)(th|st|nd|rd)?/i,Hf=/\d+/i,jf={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},zf={any:[/^b/i,/^(a|c)/i]},Uf={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},$f={any:[/1/i,/2/i,/3/i,/4/i]},Wf={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Gf={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},qf={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Yf={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Qf={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Kf={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Jf={ordinalNumber:Vf({matchPattern:Df,parsePattern:Hf,valueCallback:function(e){return parseInt(e,10)}}),era:Gn({matchPatterns:jf,defaultMatchWidth:"wide",parsePatterns:zf,defaultParseWidth:"any"}),quarter:Gn({matchPatterns:Uf,defaultMatchWidth:"wide",parsePatterns:$f,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:Gn({matchPatterns:Wf,defaultMatchWidth:"wide",parsePatterns:Gf,defaultParseWidth:"any"}),day:Gn({matchPatterns:qf,defaultMatchWidth:"wide",parsePatterns:Yf,defaultParseWidth:"any"}),dayPeriod:Gn({matchPatterns:Qf,defaultMatchWidth:"any",parsePatterns:Kf,defaultParseWidth:"any"})},Xf=Jf,e8={code:"en-US",formatDistance:Ef,formatLong:Sf,formatRelative:_f,localize:Zf,match:Xf,options:{weekStartsOn:0,firstWeekContainsDate:1}},nc=e8,t8=nc;function ac(e,t){if(e==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function n8(e){return ac({},e)}var Y1=1e3*60,Mr=60*24,Q1=Mr*30,K1=Mr*365;function a8(e,t,n){var r,i,l;Wr(2,arguments);var o=ff(),s=(r=(i=n?.locale)!==null&&i!==void 0?i:o.locale)!==null&&r!==void 0?r:t8;if(!s.formatDistance)throw new RangeError("locale must contain localize.formatDistance property");var c=gf(e,t);if(isNaN(c))throw new RangeError("Invalid time value");var d=ac(n8(n),{addSuffix:!!n?.addSuffix,comparison:c}),m,u;c>0?(m=fn(t),u=fn(e)):(m=fn(e),u=fn(t));var p=String((l=n?.roundingMethod)!==null&&l!==void 0?l:"round"),f;if(p==="floor")f=Math.floor;else if(p==="ceil")f=Math.ceil;else if(p==="round")f=Math.round;else throw new RangeError("roundingMethod must be 'floor', 'ceil' or 'round'");var g=u.getTime()-m.getTime(),y=g/Y1,k=q1(u)-q1(m),E=(g-k)/Y1,h=n?.unit,v;if(h?v=String(h):y<1?v="second":y<60?v="minute":y0?`in ${r}`:`${r} ago`:r}var o8=e=>r8(e,{addSuffix:!0,locale:{...nc,formatDistance:l8}}),qn=w.div(({theme:e})=>({gridArea:"info",display:"flex",justifySelf:"start",justifyContent:"center",flexDirection:"column",margin:15,lineHeight:"18px",color:e.base==="light"?`${e.color.defaultText}99`:`${e.color.light}99`,b:{color:e.base==="light"?`${e.color.defaultText}`:`${e.color.light}`},small:{fontSize:e.typography.size.s1},"@container (min-width: 800px)":{margin:"6px 10px 6px 15px",alignItems:"center",flexDirection:"row",small:{fontSize:"inherit"},"[data-hidden-large]":{display:"none"},"& > span:first-of-type":{display:"inline-flex",alignItems:"center",height:24,marginRight:6}}})),s8=w.div({gridArea:"actions",display:"flex",justifySelf:"end",justifyContent:"center",alignItems:"start",margin:15,"@container (min-width: 800px)":{margin:"6px 15px 0 0"}}),c8=({isStarting:e,tests:t,startedAt:n,isBuildFailed:r,isOutdated:i,shouldSwitchToLastBuildOnBranch:l,switchToLastBuildOnBranch:o})=>{let{isRunning:s,startBuild:c}=ka(),{status:d,isInProgress:m,changeCount:u,brokenCount:p,modeResults:f,browserResults:g}=Wl(t??[]),y=!e&&n&&o8(new Date(n).getTime()),k=e||m,E=r||d==="FAILED",h=E||d==="BROKEN",v=(h||i)&&!k&&!u,b;return i?b=a.createElement(qn,null,a.createElement("span",null,a.createElement("b",null,"Code edits detected")),a.createElement("small",null,a.createElement("span",null,"Run tests to see what changed"))):E?b=a.createElement(qn,null,a.createElement("span",null,a.createElement("b",null,"Build failed"),a.createElement(mf,null)),a.createElement("small",null,a.createElement("span",null,"An infrastructure error occured"))):k?b=a.createElement(qn,null,a.createElement("span",null,a.createElement("b",null,"Running tests..."),a.createElement(_r,null)),a.createElement("small",null,a.createElement("span",null,"Test in progress..."))):l?b=a.createElement(qn,null,a.createElement("span",null,a.createElement("b",null,a.createElement(Ut,{isButton:!0,onClick:o},"View latest snapshot"))),a.createElement("span",null,"Newer test results are available for this story")):b=a.createElement(qn,null,a.createElement("span",null,a.createElement("b",null,p?null:u?`${(0,Ga.default)("change",u,!0)}${d==="ACCEPTED"?" accepted":""}`:"No changes",p?(0,Ga.default)("error",p,!0):null),a.createElement(pf,{icon:p?"failed":d==="PENDING"?"changed":"passed"})),a.createElement("small",null,f.length>0&&a.createElement("span",{"data-hidden-large":!0},(0,Ga.default)("mode",f.length,!0),", ",(0,Ga.default)("browser",g.length,!0)),f.length>0&&a.createElement("span",{"data-hidden-large":!0}," \u2022 "),m&&a.createElement("span",null,"Test in progress..."),!m&&n&&a.createElement("span",{title:new Date(n).toUTCString()},"Ran ",y))),a.createElement(a.Fragment,null,b,v&&a.createElement(s8,null,a.createElement(hn,{onClick:c,disabled:s},s?a.createElement(_r,{parentComponent:"Button"}):a.createElement(Bt,null),h?"Rerun tests":"Run tests")))},J1=w.div(({theme:e})=>({display:"grid",gridTemplateAreas:` + "info info" + "actions actions" + "label controls" + `,gridTemplateColumns:"1fr fit-content(50%)",gridTemplateRows:"auto auto auto",borderBottom:`1px solid ${e.appBorderColor}`,"@container (min-width: 300px)":{gridTemplateAreas:` + "info actions" + "label controls" + `,gridTemplateColumns:"1fr auto",gridTemplateRows:"auto auto"},"@container (min-width: 800px)":{gridTemplateAreas:'"info label controls actions"',gridTemplateColumns:"auto 1fr auto auto",gridTemplateRows:40}})),X1=w.div(({theme:e})=>({display:"grid",gridTemplateAreas:` + "header" + "main" + "footer" + `,gridTemplateColumns:"1fr",gridTemplateRows:"auto 1fr auto",height:"100%","&[hidden]":{display:"none"}})),es=w.div(({theme:e})=>({gridArea:"header",position:"sticky",zIndex:1,top:0,background:e.background.content,"@container (min-width: 800px)":{background:e.background.app}})),d8=w.div(({theme:e})=>({gridArea:"main",overflowY:"auto",maxHeight:"100%",background:e.background.content})),ts=w.div(({theme:e})=>({gridArea:"footer",position:"sticky",zIndex:1,bottom:0})),u8=w.div(({children:e,theme:t})=>({display:"flex",alignItems:"center",border:`0px solid ${t.appBorderColor}`,borderTopWidth:1,borderBottomWidth:e?1:0,height:e?40:0,padding:e?"0 15px":0})),m8=w.div(({theme:e})=>({fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,color:e.color.defaultText,lineHeight:"18px",padding:15,whiteSpace:"pre-wrap",wordBreak:"break-word"})),Ai=w.div(({theme:e})=>({background:e.background.hoverable,padding:"10px 15px",lineHeight:"18px",position:"relative",borderBottom:`1px solid ${e.appBorderColor}`})),p8=({isOutdated:e,isStarting:t,isBuildFailed:n,shouldSwitchToLastBuildOnBranch:r,switchToLastBuildOnBranch:i,hidden:l,storyId:o})=>{let{baselineImageVisible:s,diffVisible:c,focusVisible:d}=Ir(),{toggleBaselineImage:m,toggleSettings:u,toggleWarnings:p}=Mn(),f=K0(),g="startedAt"in f&&f.startedAt,y=ln(),{tests:k}=y,E=a.useRef(o),h=a.useRef(y.selectedComparison?.id),v=a.useRef(f.id),{selectedTest:b,selectedComparison:C}=y,O=k.every(({result:ye,status:pe})=>ye==="ADDED"&&pe!=="ACCEPTED"),I=!O&&b?.result==="ADDED"&&b?.status!=="ACCEPTED",U=!O&&C?.result==="ADDED"&&b?.result!=="ADDED"&&b?.status!=="ACCEPTED";K(()=>{(E.current!==o||h.current!==y.selectedComparison?.id||v.current!==f.id||O||I||U)&&(m(!1),u(!1),p(!1)),h.current=y.selectedComparison?.id,E.current=o,v.current=f.id},[f.id,o,y,m,u,p,O,I,U]);let G=a.createElement(c8,{tests:k,startedAt:g,isStarting:t,isBuildFailed:n,isOutdated:e,shouldSwitchToLastBuildOnBranch:r,switchToLastBuildOnBranch:i});if(t||!k.length)return a.createElement(X1,{hidden:l},a.createElement(es,null,a.createElement(J1,null,G)),a.createElement(ts,null,a.createElement($1,null)));let oe=Wl(k),{isInProgress:ee}=oe,ke=C?.headCapture?.captureError&&"error"in C?.headCapture?.captureError&&C?.headCapture?.captureError?.error;return a.createElement(X1,{hidden:l},a.createElement(es,null,a.createElement(J1,null,G,a.createElement(uf,{isOutdated:e}))),a.createElement(d8,null,ee&&a.createElement(ei,null),!ee&&O&&a.createElement(Ai,null,a.createElement(j,null,"New story found. Accept this snapshot as a test baseline."," ",a.createElement(Be,{withArrow:!0,href:"https://www.chromatic.com/docs/branching-and-baselines",target:"_blank"},"Learn more"))),!ee&&I&&a.createElement(Ai,null,a.createElement(j,null,"New mode found. Accept this snapshot as a test baseline."," ",a.createElement(Be,{withArrow:!0,href:"https://www.chromatic.com/docs/branching-and-baselines",target:"_blank"},"Learn more"))),!ee&&U&&a.createElement(Ai,null,a.createElement(j,null,"New browser found. Accept this snapshot as a test baseline."," ",a.createElement(Be,{withArrow:!0,href:"https://www.chromatic.com/docs/branching-and-baselines",target:"_blank"},"Learn more"))),!ee&&C&&a.createElement(Q6,{key:C.id,componentName:b?.story?.component?.name,storyName:b?.story?.name,testUrl:b?.webUrl,comparisonResult:C.result??void 0,latestImage:C.headCapture?.captureImage??void 0,baselineImage:C.baseCapture?.captureImage??void 0,baselineImageVisible:s,diffImage:C.captureDiff?.diffImage??void 0,focusImage:C.captureDiff?.focusImage??void 0,diffVisible:c,focusVisible:d}),!ee&&ke&&a.createElement(a.Fragment,null,a.createElement(u8,null,a.createElement("b",null,"Error stack trace")),a.createElement(m8,null,ke.stack||ke.message))),a.createElement(ts,null,a.createElement($1,null)))},h8=w(Jr)({padding:"4px 8px",margin:"0 6px"}),f8=({onClose:e})=>a.createElement(Qs,null,a.createElement(Xi,null,a.createElement(ur,null,"Warnings",a.createElement(h8,{status:"warning"},"2"),a.createElement(Zl,{onClick:e},a.createElement(Il,{"aria-label":"Close"}))),a.createElement("p",null,"It's essential that your components and stories render in a consistent fashion to prevent false positives. Two issues detected in this story may cause false positives."),a.createElement("p",null,a.createElement(ce,{variant:"outline"},a.createElement(os,null),"Docs"),a.createElement(ce,{variant:"outline"},a.createElement(Cu,null),"Get support"))));w.div(({theme:e})=>({color:e.color.warning,background:e.background.warning,padding:10,lineHeight:"18px",position:"relative"}));var g8=({branch:e,dismissBuildError:t,isOutdated:n,localBuildProgress:r,switchToLastBuildOnBranch:i,storyId:l})=>{let{settingsVisible:o,warningsVisible:s}=Ir(),{toggleSettings:c,toggleWarnings:d}=Mn(),{isRunning:m,startBuild:u,stopBuild:p}=ka(),{lastBuildOnBranch:f,lastBuildOnBranchIsReady:g,lastBuildOnBranchIsSelectable:y}=i6(),k=K0(),E=ln(),{buildIsReviewable:h,userCanReview:v}=tc(),b=!!(!h&&g&&y&&i),C=f?.status==="IN_PROGRESS",O=m||!h&&!b,I=r&&r?.buildId===f?.id,U=O&&a.createElement(U6,{branch:e,dismissBuildError:t,localBuildProgress:I||m?r:void 0,lastBuildOnBranchInProgress:C,switchToLastBuildOnBranch:i}),G=E?.hasTests&&E?.tests.length===0,oe=k.id!==`Build:${r?.buildId}`;if(G)return a.createElement(ve,null,a.createElement(he,null,r&&oe?a.createElement(se,null,a.createElement("div",null,a.createElement(me,null,"Snapshotting new story"),a.createElement(j,{center:!0,muted:!0},'A new snapshot is being created in a standardized cloud browser to save its "last known good state" as a test baseline.')),a.createElement($r,{localBuildProgress:r})):a.createElement(se,null,a.createElement("div",null,a.createElement(me,null,"New story found"),a.createElement(j,{center:!0,muted:!0},'Take an image snapshot of this story to save its "last known good state" as a test baseline. This unlocks visual regression testing so you can see exactly what has changed down to the pixel.')),a.createElement(ce,{belowText:!0,size:"medium",variant:"solid",onClick:m?p:u},m?"Cancel build":"Create visual test"))));if(E?.tests?.find(ie=>ie.result==="SKIPPED"))return a.createElement(ve,null,U,a.createElement(he,null,a.createElement(se,null,a.createElement("div",null,a.createElement(me,null,"This story was skipped"),a.createElement(j,{center:!0,muted:!0},"If you would like to resume testing it, comment out or remove",a.createElement(Oe,null,"disableSnapshot = true")," from the CSF file.")),a.createElement(ce,{asChild:!0,size:"medium",variant:"outline"},a.createElement("a",{href:"https://www.chromatic.com/docs/ignoring-elements#with-storybook",target:"_new"},a.createElement(os,null),"View docs")))));let{status:ee}=k,ke=["ANNOUNCED","PUBLISHED","PREPARED"].includes(ee),ye=ee==="FAILED",pe=ee==="PENDING"&&(!v||!h);return a.createElement(ve,{footer:null},a.createElement(j4,null,U,!U&&pe&&a.createElement(B6,null,v?a.createElement(a.Fragment,null,"Reviewing is disabled because there's a newer build on ",a.createElement(Oe,null,e),"."):a.createElement(a.Fragment,null,"You don't have permission to accept changes."," ",a.createElement(Ut,{href:"https://www.chromatic.com/docs/collaborators#roles",target:"_blank",withArrow:!0},"Learn about roles"))),a.createElement(Xn,{grow:!0,hidden:o||s},a.createElement(p8,{hidden:o||s,isOutdated:n,isStarting:ke,isBuildFailed:ye,shouldSwitchToLastBuildOnBranch:b,switchToLastBuildOnBranch:i,selectedBuild:k,storyId:l})),a.createElement(Xn,{grow:!0,hidden:!o},a.createElement($6,{onClose:()=>c(!1)})),a.createElement(Xn,{grow:!0,hidden:!s},a.createElement(f8,{onClose:()=>d(!1)}))))},Fi=w(Be)(()=>({marginTop:5})),v8=({queryError:e,hasData:t,hasProject:n,hasSelectedBuild:r,localBuildProgress:i,branch:l})=>{let{setAccessToken:o}=js(),{isRunning:s,startBuild:c}=ka(),{disable:d,disableSnapshot:m,docsOnly:u}=eo("chromatic",{}),p=()=>{let f=a.createElement(ce,{disabled:s,size:"medium",variant:"solid",onClick:c},a.createElement(Bt,null),"Take snapshots");return i?i.currentStep==="error"?a.createElement(a.Fragment,null,a.createElement(J0,{localBuildProgress:i,title:"Build failed"}),f):a.createElement($r,{localBuildProgress:i}):f};return a.createElement(ve,{footer:a.createElement(Br,null,a.createElement(Xe,null,t&&!e&&n&&a.createElement(j,{muted:!0,style:{marginLeft:5}},"Waiting for build on ",l)),a.createElement(Xe,{push:!0},a.createElement(Zr,null)))},e?.networkError?a.createElement(he,null,a.createElement(se,null,a.createElement("div",null,a.createElement(me,null,"Network error"),a.createElement(j,null,e.networkError.message)),a.createElement(ce,{size:"medium",variant:"solid",onClick:()=>o(null)},"Log out"))):e?.graphQLErrors?.length?a.createElement(he,null,a.createElement(se,null,a.createElement("div",null,a.createElement(me,null,e.graphQLErrors[0].message),a.createElement(j,{center:!0,muted:!0},e.graphQLErrors[0].extensions.code==="FORBIDDEN"?"You may have insufficient permissions. Try logging out and back in again.":"Try logging out or clear your browser's local storage.")),a.createElement(Et,null,a.createElement(ce,{size:"medium",variant:"solid",onClick:()=>o(null)},"Log out"),a.createElement(Fi,{withArrow:!0,href:`${is}#troubleshooting`,target:"_blank"},"Troubleshoot")))):t?n?d||m||u?a.createElement(he,null,a.createElement(se,null,a.createElement("div",null,a.createElement(me,null,"Visual tests disabled for this story"),a.createElement(j,{center:!0,muted:!0},"Update ",a.createElement("code",null,"parameters.chromatic.",d?"disable":m?"disableSnapshot":"docsOnly")," to enable snapshots for this story.")),a.createElement(Fi,{withArrow:!0,href:"https://www.chromatic.com/docs/ignoring-elements#with-storybook",target:"_blank"},"Read more"))):r?null:a.createElement(he,null,a.createElement(se,null,a.createElement("div",null,a.createElement(me,null,"Create a test baseline"),a.createElement(j,{center:!0,muted:!0},'Take an image snapshot of your stories to save their "last known good state" as test baselines.')),p())):a.createElement(he,null,a.createElement(se,null,a.createElement("div",null,a.createElement(me,null,"Project not found"),a.createElement(j,{center:!0,muted:!0},"You may not have access to this project or it may not exist.")),a.createElement(Fi,{isButton:!0,onClick:()=>o(null),withArrow:!0},"Switch account"))):a.createElement(ei,null))},y8=e=>Object.fromEntries(Object.entries(e).map(([t])=>[t,null])),E8=({buildIsReviewable:e,userCanReview:t,onReviewSuccess:n,onReviewError:r})=>{let[{fetching:i},l]=Ss(a6),o=H(async d=>{try{if(!e)throw new Error("Build is not reviewable");if(!t)throw new Error("No permission to review tests");let{error:m}=await l({input:d});if(m)throw m;n?.(d)}catch(m){r?.(m,d)}},[n,r,l,e,t]),s=H((d,m="SPEC")=>o({status:"ACCEPTED",testId:d,batch:m}),[o]),c=H((d,m="SPEC")=>o({status:"PENDING",testId:d,batch:m}),[o]);return{isReviewing:i,acceptTest:s,unacceptTest:c,buildIsReviewable:e,userCanReview:t}},b8=lt(` + mutation UpdateUserPreferences($input: UserPreferencesInput!) { + updateUserPreferences(input: $input) { + updatedPreferences { + vtaOnboarding + } + } + } +`),k8=({lastBuildOnBranch:e,vtaOnboarding:t})=>{let n=sn(),{notifications:r,storyId:i}=jt(),[l,o]=a.useState(!1),s=a.useCallback(()=>{o(!0),r.forEach(({id:h})=>n.clearNotification(h))},[n,r]),[c,d]=a.useState(!1),m=a.useCallback(()=>d(!0),[]),[u,p]=a.useState(!0);a.useEffect(()=>{if(n?.getUrlState?.().queryParams.vtaOnboarding==="true"){p(!1);return}t&&p(t==="COMPLETED"||t==="DISMISSED")},[n,t]);let[{fetching:f},g]=Ss(b8),y=a.useCallback(async h=>{await g({input:{vtaOnboarding:h?"COMPLETED":"DISMISSED"}}),p(!0),d(!1);let b=new URL(window.location.href);b.searchParams.has("vtaOnboarding")&&(b.searchParams.delete("vtaOnboarding"),window.history.replaceState({},"",b.href))},[g]),k=a.useMemo(()=>(e&&"testsForStatus"in e&&e.testsForStatus?.nodes&&vn(Y0,e.testsForStatus.nodes)||[]).some(h=>h?.status==="PENDING"&&h?.result==="CHANGED"&&h?.story?.storyId===i),[e,i]),E=!l&&!u&&!c;return{showOnboarding:E,showGuidedTour:!E&&!u,completeOnboarding:s,skipOnboarding:a.useCallback(()=>y(!1),[y]),completeWalkthrough:a.useCallback(()=>y(!0),[y]),skipWalkthrough:a.useCallback(()=>y(!1),[y]),startWalkthrough:m,lastBuildHasChangesForStory:k,isUpdating:f}},w8=({isOutdated:e,selectedBuildInfo:t,setSelectedBuildInfo:n,dismissBuildError:r,localBuildProgress:i,setOutdated:l,updateBuildStatus:o,projectId:s,gitInfo:c,storyId:d})=>{let m=sn(),{addNotification:u,setOptions:p,togglePanel:f}=m,g=r6({projectId:s,storyId:d,gitInfo:c,selectedBuildInfo:t}),{account:y,features:k,manageUrl:E,hasData:h,hasProject:v,hasSelectedBuild:b,lastBuildOnBranch:C,lastBuildOnBranchIsReady:O,lastBuildOnBranchIsSelectable:I,selectedBuild:U,selectedBuildMatchesGit:G,queryError:oe,rerunQuery:ee,userCanReview:ke}=g,ye=H(({onDismiss:Tt})=>{Tt(),p({selectedPanel:nn}),f(!0)},[p,f]),pe=E8({buildIsReviewable:!!U&&U.id===C?.id,userCanReview:ke,onReviewSuccess:ee,onReviewError:(Tt,cc)=>{Tt instanceof Error&&u({id:`${Z}/errorAccepting/${Date.now()}`,content:{headline:`Failed to ${cc.status==="ACCEPTED"?"accept":"unaccept"} changes`,subHeadline:Tt.message},icon:a.createElement(St,{color:dt.negative}),duration:8e3,onClick:ye})}});K(()=>l(!G),[G,l]);let ie=C&&"testsForStatus"in C&&C.testsForStatus?.nodes&&vn(Y0,C.testsForStatus.nodes),Ge=I&&_3(m,ie||[]);K(()=>{o(Tt=>({...y8(Tt),...Ge}))},[JSON.stringify(Ge),o]),K(()=>{n(Tt=>M3(Tt,{shouldSwitchToLastBuildOnBranch:I&&O,lastBuildOnBranchId:C?.id,storyId:d}))},[I,O,C?.id,n,d]);let Se=H(()=>C?.id&&I&&n({buildId:C.id,storyId:d}),[n,I,C?.id,d]),{showOnboarding:Mt,showGuidedTour:Le,completeOnboarding:Ta,completeWalkthrough:rc,skipOnboarding:ic,skipWalkthrough:lc,startWalkthrough:oc,lastBuildHasChangesForStory:sc}=k8(g);return k&&!k.uiTests?a.createElement(T3,{manageUrl:E}):y?.suspensionReason?a.createElement(h0,{billingUrl:y.billingUrl,suspensionReason:y.suspensionReason}):Mt&&v?a.createElement(a.Fragment,null,!h||oe?a.createElement(a.Fragment,null):a.createElement(Ni,{watchState:g},a.createElement(Z6,{gitInfo:c,projectId:s,updateBuildStatus:o,dismissBuildError:r,localBuildProgress:i,showInitialBuildScreen:!U,onComplete:Ta,onSkip:ic,lastBuildHasChangesForStory:sc}))):a.createElement(a.Fragment,null,!U||!b||!h||oe?a.createElement(v8,{queryError:oe,hasData:h,hasProject:v,hasSelectedBuild:b,branch:c.branch,dismissBuildError:r,isOutdated:e,localBuildProgress:i,...I&&{switchToLastBuildOnBranch:Se}}):a.createElement(W6,{watchState:pe},a.createElement(Ni,{watchState:g},a.createElement(g8,{branch:c.branch,dismissBuildError:r,isOutdated:e,localBuildProgress:i,...C&&{lastBuildOnBranch:C},...I&&{switchToLastBuildOnBranch:Se},userCanReview:ke,storyId:d}))),Le&&a.createElement(Ni,{watchState:{selectedBuild:U}},a.createElement(g6,{managerApi:m,skipWalkthrough:lc,startWalkthrough:oc,completeWalkthrough:rc})))},C8=e=>{let[t,n]=Qe("selectedBuildInfo");return a.createElement(w8,{selectedBuildInfo:t,setSelectedBuildInfo:n,...e})},un=new Map,S8=()=>{let e=On({[Y5]:t=>{let n=un.get(t.requestId);if(n)if(un.delete(t.requestId),"error"in t)n.reject(new Error(t.error));else{let{body:r,headers:i,status:l,statusText:o}=t.response,s=new Response(r,{headers:i,status:l,statusText:o});n.resolve(s)}}});return async(t,{signal:n,...r}={})=>{if(n?.aborted)return Promise.reject(n.reason);let i=Math.random().toString(36).slice(2);return n?.addEventListener("abort",()=>{e(G5,{requestId:i}),un.get(i)?.reject(n.reason),un.delete(i)}),e(q5,{requestId:i,input:t,init:r}),new Promise((l,o)=>{un.set(i,{resolve:l,reject:o}),setTimeout(()=>{o(new Error("Request timed out")),un.delete(i)},3e4)})}},x8=({active:e,api:t})=>{let[n,r]=xl(),i=H(Le=>{r(Le),Le||E4("authenticationScreen","exchangeParameters")},[r]),{storyId:l}=jt(),[o,s]=_e(window.navigator.onLine);K(()=>{let Le=()=>s(!0),Ta=()=>s(!1);return window.addEventListener("online",Le),window.addEventListener("offline",Ta),()=>{window.removeEventListener("online",Le),window.removeEventListener("offline",Ta)}},[]);let[c]=Ee(D5),[d]=Ee(pl),[m]=Ee(hl),[u]=Ee(Ja),[p,f]=Ee(fl),[,g]=Ee(Ja),y=On({}),k=H(Le=>t.experimental_updateStatus(Z,Le),[t]),{loading:E,projectId:h,configFile:v,updateProject:b,projectUpdatingFailed:C,projectIdUpdated:O,clearProjectIdUpdated:I}=_l(),[U,G]=Qe("createdProjectId"),[oe,ee]=Ee(rs),ke=H(Le=>y($5,Le),[y]),{isRunning:ye,startBuild:pe,stopBuild:ie}=Nl({localBuildProgress:p,accessToken:n}),Ge=S8(),Se=Le=>a.createElement(j2,{value:Ns({fetch:Ge})},a.createElement(z2,{value:ke},a.createElement(Im,{value:{accessToken:n,setAccessToken:i}},a.createElement(b4,{addonUninstalled:oe,setAddonUninstalled:ee},a.createElement(D4,null,a.createElement(x3,{watchState:{isRunning:ye,startBuild:pe,stopBuild:ie}},a.createElement("div",{hidden:!e,style:{containerType:"size",height:"100%"}},Le)))))));if(!e)return Se(null);if(globalThis.CONFIG_TYPE!=="DEVELOPMENT")return Se(a.createElement(w3,null));if(oe)return Se(a.createElement(S3,null));if(m)return Se(a.createElement(C3,{offline:m}));if(!n)return Se(a.createElement(l3,{setAccessToken:i,setCreatedProjectId:G,hasProjectId:!!h}));if(E)return e?a.createElement(Ji,null):null;if(!h)return Se(a.createElement(y3,{createdProjectId:U,setCreatedProjectId:G,onUpdateProject:b}));if(d||!c)return console.error(d),Se(a.createElement(s3,null));if(C){if(!v)throw new Error("Missing config file after configuration failure");return Se(a.createElement(g3,{projectId:h,configFile:v}))}if(O){if(!v)throw new Error("Missing config file after configuration success");return Se(a.createElement(m3,{projectId:h,configFile:v,goToNext:I}))}let Mt=c.branch===p?.branch;return Se(a.createElement(C8,{dismissBuildError:()=>f(void 0),isOutdated:!!u,localBuildProgress:Mt?p:void 0,setOutdated:g,updateBuildStatus:k,projectId:h,gitInfo:c,storyId:l}))},Oi=et(ya()),N8=({api:e,running:t})=>{let{addNotification:n,selectStory:r,setOptions:i,togglePanel:l}=e,o=Ft(ba),{projectId:s}=_l(),[c]=xl(),d=!!c,[m,u]=Ee(hl),[p]=Ee(Ja),[f]=Ee(fl),[g]=Ee(Ar),y=Object.keys(g?.problems||{}).length>0,[k]=Ee(pl),E=Ne(f?.currentStep),{index:h,status:v,storyId:b,viewMode:C}=jt(),O=Object.values(v).filter(pe=>pe[Z]?.status==="warn"),I=H(pe=>{if(i({selectedPanel:nn}),l(!0),h&&C!=="story"){let ie=Object.keys(h).indexOf(b),Ge=Object.entries(h).slice(ie>0?ie:0),[Se]=Ge.find(([,{type:Mt}])=>Mt==="story")||[];Se&&r(Se)}pe&&o?.({action:"openWarning",warning:pe})},[i,l,o,h,r,b,C]),U=H(({onDismiss:pe})=>{pe(),I()},[I]);K(()=>{let pe=()=>u(!0),ie=()=>u(!1);return window.addEventListener("offline",pe),window.addEventListener("online",ie),()=>{window.removeEventListener("offline",pe),window.removeEventListener("online",ie)}},[u]),K(()=>{f?.currentStep!==E.current&&(E.current=f?.currentStep,f?.currentStep==="error"&&n({id:`${Z}/build-error/${Date.now()}`,content:{headline:"Build error",subHeadline:"Check the Storybook process on the command line for more details."},icon:a.createElement(St,{color:dt.negative}),onClick:U}),f?.currentStep==="limited"&&n({id:`${Z}/build-limited/${Date.now()}`,content:{headline:"Build limited",subHeadline:"Your account has insufficient snapshots remaining to run this build. Visit your billing page to find out more."},icon:a.createElement(St,{color:dt.negative}),onClick:U}))},[n,U,f?.currentStep]);let{startBuild:G,stopBuild:oe}=Nl({localBuildProgress:f,accessToken:c}),ee;s||(ee="Select a project"),d||(ee="Login required"),k&&(ee="Git synchronization problem"),y&&(ee="Configuration problem"),m&&(ee="Not available while offline");let ke=H(()=>I(ee),[I,ee]),ye=On({[K5]:({providerId:pe})=>{pe===qa&&G()},[J5]:({providerId:pe})=>{pe===qa&&oe()}},[G,oe]);if(K(()=>{ye(Q5,{providerId:qa,runnable:!ee})},[ye,ee]),ee)return a.createElement(Ut,{onClick:ke},ee);if(t){if(f){let{renderProgress:pe}=Ml[f.currentStep];return a.createElement(a.Fragment,null,pe(f))}return a.createElement(a.Fragment,null,"Starting...")}return p?a.createElement(a.Fragment,null,"Test results outdated"):f?.currentStep==="aborted"?a.createElement(a.Fragment,null,"Aborted by user"):f?.currentStep==="complete"?f.errorCount?a.createElement(a.Fragment,null,"Encountered ",(0,Oi.default)("component error",f.errorCount,!0)):O.length?a.createElement(a.Fragment,null,"Found ",(0,Oi.default)("story",O.length,!0)," with",(0,Oi.default)("change",O.length)):a.createElement(a.Fragment,null,"No visual changes detected"):a.createElement(a.Fragment,null,"Not run")};on.register(Z,e=>{on.add(nn,{type:Oa.PANEL,title:"Visual tests",paramKey:W5,match:({viewMode:t})=>t==="story",render:({active:t})=>a.createElement(x8,{active:!!t,api:e})}),globalThis.CONFIG_TYPE==="DEVELOPMENT"&&(Oa.experimental_TEST_PROVIDER?on.add(qa,{type:Oa.experimental_TEST_PROVIDER,runnable:!0,name:"Visual tests",title:({failed:t})=>t?"Visual tests didn't complete":"Visual tests",description:t=>a.createElement(N8,{...t,api:e})}):(on.add(P5,{type:"sidebar-top",render:()=>a.createElement(Rm,{api:e})}),on.add(V5,{type:"sidebar-bottom",render:()=>a.createElement(mu,{api:e})})))});})(); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/storybook-static/sb-addons/chromatic-com-storybook-10/manager-bundle.js.LEGAL.txt b/storybook-static/sb-addons/chromatic-com-storybook-10/manager-bundle.js.LEGAL.txt new file mode 100644 index 0000000..84baa9e --- /dev/null +++ b/storybook-static/sb-addons/chromatic-com-storybook-10/manager-bundle.js.LEGAL.txt @@ -0,0 +1,51 @@ +Bundled license information: + +react/cjs/react-jsx-runtime.production.min.js: + /** + * @license React + * react-jsx-runtime.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +filesize/dist/filesize.esm.js: + /** + * filesize + * + * @copyright 2024 Jason Mulligan + * @license BSD-3-Clause + * @version 10.1.6 + */ + +@chromatic-com/storybook/dist/manager.mjs: + /*! Bundled license information: + + popper.js/dist/esm/popper.js: + (**! + * @fileOverview Kickass library to create and place poppers near their reference elements. + * @version 1.16.1 + * @license + * Copyright (c) 2016 Federico Zivolo and contributors + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + *) + */ diff --git a/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js b/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js new file mode 100644 index 0000000..4af9d21 --- /dev/null +++ b/storybook-static/sb-addons/essentials-actions-2/manager-bundle.js @@ -0,0 +1,3 @@ +try{ +(()=>{var o=__REACT__,{Children:Te,Component:_e,Fragment:ve,Profiler:Jr,PureComponent:qr,StrictMode:Xr,Suspense:Zr,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Kr,cloneElement:Qr,createContext:Z,createElement:en,createFactory:tn,createRef:rn,forwardRef:Se,isValidElement:nn,lazy:an,memo:U,startTransition:on,unstable_act:sn,useCallback:x,useContext:K,useDebugValue:ln,useDeferredValue:un,useEffect:Re,useId:cn,useImperativeHandle:pn,useInsertionEffect:fn,useLayoutEffect:Ae,useMemo:Ce,useReducer:dn,useRef:Ne,useState:j,useSyncExternalStore:mn,useTransition:gn,version:bn}=__REACT__;var Tn=__STORYBOOK_COMPONENTS__,{A:_n,ActionBar:we,AddonPanel:vn,Badge:xe,Bar:Sn,Blockquote:Rn,Button:An,ClipboardCode:Cn,Code:Nn,DL:wn,Div:xn,DocumentWrapper:Ln,EmptyTabContent:In,ErrorFormatter:Dn,FlexBar:Mn,Form:Pn,H1:Bn,H2:Fn,H3:Hn,H4:zn,H5:Un,H6:jn,HR:kn,IconButton:Gn,IconButtonSkeleton:Wn,Icons:Vn,Img:$n,LI:Yn,Link:Jn,ListItem:qn,Loader:Xn,Modal:Zn,OL:Kn,P:Qn,Placeholder:ea,Pre:ta,ProgressSpinner:ra,ResetWrapper:na,ScrollArea:Le,Separator:aa,Spaced:Ie,Span:oa,StorybookIcon:ia,StorybookLogo:sa,Symbols:la,SyntaxHighlighter:ua,TT:ca,TabBar:pa,TabButton:fa,TabWrapper:da,Table:ma,Tabs:ga,TabsState:ba,TooltipLinkList:ha,TooltipMessage:Ea,TooltipNote:ya,UL:Oa,WithTooltip:Ta,WithTooltipPure:_a,Zoom:va,codeCommon:Sa,components:Ra,createCopyToClipboardFunction:Aa,getStoryHref:Ca,icons:Na,interleaveSeparators:wa,nameSpaceClassNames:xa,resetComponents:La,withReset:Ia}=__STORYBOOK_COMPONENTS__;var Fa=__STORYBOOK_CORE_EVENTS__,{ARGTYPES_INFO_REQUEST:Ha,ARGTYPES_INFO_RESPONSE:za,CHANNEL_CREATED:Ua,CHANNEL_WS_DISCONNECT:ja,CONFIG_ERROR:ka,CREATE_NEW_STORYFILE_REQUEST:Ga,CREATE_NEW_STORYFILE_RESPONSE:Wa,CURRENT_STORY_WAS_SET:Va,DOCS_PREPARED:$a,DOCS_RENDERED:Ya,FILE_COMPONENT_SEARCH_REQUEST:Ja,FILE_COMPONENT_SEARCH_RESPONSE:qa,FORCE_REMOUNT:Xa,FORCE_RE_RENDER:Za,GLOBALS_UPDATED:Ka,NAVIGATE_URL:Qa,PLAY_FUNCTION_THREW_EXCEPTION:eo,PRELOAD_ENTRIES:to,PREVIEW_BUILDER_PROGRESS:ro,PREVIEW_KEYDOWN:no,REGISTER_SUBSCRIPTION:ao,REQUEST_WHATS_NEW_DATA:oo,RESET_STORY_ARGS:io,RESULT_WHATS_NEW_DATA:so,SAVE_STORY_REQUEST:lo,SAVE_STORY_RESPONSE:uo,SELECT_STORY:co,SET_CONFIG:po,SET_CURRENT_STORY:fo,SET_FILTER:mo,SET_GLOBALS:go,SET_INDEX:bo,SET_STORIES:ho,SET_WHATS_NEW_CACHE:Eo,SHARED_STATE_CHANGED:yo,SHARED_STATE_SET:Oo,STORIES_COLLAPSE_ALL:To,STORIES_EXPAND_ALL:_o,STORY_ARGS_UPDATED:vo,STORY_CHANGED:k,STORY_ERRORED:So,STORY_FINISHED:Ro,STORY_INDEX_INVALIDATED:Ao,STORY_MISSING:Co,STORY_PREPARED:No,STORY_RENDERED:wo,STORY_RENDER_PHASE_CHANGED:xo,STORY_SPECIFIED:Lo,STORY_THREW_EXCEPTION:Io,STORY_UNCHANGED:Do,TELEMETRY_ERROR:Mo,TESTING_MODULE_CANCEL_TEST_RUN_REQUEST:Po,TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE:Bo,TESTING_MODULE_CRASH_REPORT:Fo,TESTING_MODULE_PROGRESS_REPORT:Ho,TESTING_MODULE_RUN_ALL_REQUEST:zo,TESTING_MODULE_RUN_REQUEST:Uo,TOGGLE_WHATS_NEW_NOTIFICATIONS:jo,UNHANDLED_ERRORS_WHILE_PLAYING:ko,UPDATE_GLOBALS:Go,UPDATE_QUERY_PARAMS:Wo,UPDATE_STORY_ARGS:Vo}=__STORYBOOK_CORE_EVENTS__;var ti=__STORYBOOK_API__,{ActiveTabs:ri,Consumer:ni,ManagerContext:ai,Provider:oi,RequestResponseError:ii,addons:Q,combineParameters:si,controlOrMetaKey:li,controlOrMetaSymbol:ui,eventMatchesShortcut:ci,eventToShortcut:pi,experimental_MockUniversalStore:fi,experimental_UniversalStore:di,experimental_requestResponse:mi,experimental_useUniversalStore:gi,isMacLike:bi,isShortcutTaken:hi,keyToSymbol:Ei,merge:yi,mockChannel:Oi,optionOrAltSymbol:Ti,shortcutMatchesShortcut:_i,shortcutToHumanString:vi,types:De,useAddonState:Me,useArgTypes:Si,useArgs:Ri,useChannel:Pe,useGlobalTypes:Ai,useGlobals:Ci,useParameter:Ni,useSharedState:wi,useStoryPrepared:xi,useStorybookApi:Li,useStorybookState:Ii}=__STORYBOOK_API__;var Be=Object.prototype.hasOwnProperty;function Fe(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=Fe(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=Fe(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(Be.call(e,r)&&++n&&!Be.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 ji=__STORYBOOK_THEMING__,{CacheProvider:ki,ClassNames:Gi,Global:Wi,ThemeProvider:Vi,background:$i,color:Yi,convert:Ji,create:qi,createCache:Xi,createGlobal:Zi,createReset:Ki,css:Qi,darken:es,ensure:ts,ignoreSsrWarning:rs,isPropValid:ns,jsx:as,keyframes:os,lighten:is,styled:B,themes:ss,typography:ls,useTheme:us,withTheme:He}=__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 Ve={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 mt(e){if(typeof e!="string")return e;var t=e.toLowerCase();return Ve[t]?"#"+Ve[t]:e}var gt=/^#[a-fA-F0-9]{6}$/,bt=/^#[a-fA-F0-9]{8}$/,ht=/^#[a-fA-F0-9]{3}$/,Et=/^#[a-fA-F0-9]{4}$/,re=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,yt=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,Ot=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,Tt=/^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 _(3);var t=mt(e);if(t.match(gt))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(bt)){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(ht))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(Et)){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=yt.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=Ot.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 _(4,t,p);return{red:parseInt(""+d[1],10),green:parseInt(""+d[2],10),blue:parseInt(""+d[3],10)}}var f=Tt.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)+")",w=re.exec(O);if(!w)throw new _(4,t,O);return{red:parseInt(""+w[1],10),green:parseInt(""+w[2],10),blue:parseInt(""+w[3],10),alpha:parseFloat(""+f[4])>1?parseFloat(""+f[4])/100:parseFloat(""+f[4])}}throw new _(5)}function _t(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 _(2)}function oe(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return ae("#"+N(e)+N(t)+N(r));if(typeof e=="object"&&t===void 0&&r===void 0)return ae("#"+N(e.red)+N(e.green)+N(e.blue));throw new _(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 _(7)}var Ct=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},Nt=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&typeof t.alpha=="number"},wt=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},xt=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 _(8);if(Nt(e))return $(e);if(Ct(e))return oe(e);if(xt(e))return At(e);if(wt(e))return Rt(e);throw new _(8)}function Ye(e,t,r){return function(){var a=r.concat(Array.prototype.slice.call(arguments));return a.length>=t?e.apply(this,a):Ye(e,t,a)}}function v(e){return Ye(e,e.length,[])}function Lt(e,t){if(t==="transparent")return t;var r=A(t);return C(T({},r,{hue:r.hue+parseFloat(e)}))}var gl=v(Lt);function D(e,t,r){return Math.max(e,Math.min(t,r))}function It(e,t){if(t==="transparent")return t;var r=A(t);return C(T({},r,{lightness:D(0,1,r.lightness-parseFloat(e))}))}var bl=v(It);function Dt(e,t){if(t==="transparent")return t;var r=A(t);return C(T({},r,{saturation:D(0,1,r.saturation-parseFloat(e))}))}var hl=v(Dt);function Mt(e,t){if(t==="transparent")return t;var r=A(t);return C(T({},r,{lightness:D(0,1,r.lightness+parseFloat(e))}))}var El=v(Mt);function Pt(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 Bt=v(Pt),Je=Bt;function Ft(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 Ht=v(Ft),qe=Ht;function zt(e,t){if(t==="transparent")return t;var r=A(t);return C(T({},r,{saturation:D(0,1,r.saturation+parseFloat(e))}))}var yl=v(zt);function Ut(e,t){return t==="transparent"?t:C(T({},A(t),{hue:parseFloat(e)}))}var Ol=v(Ut);function jt(e,t){return t==="transparent"?t:C(T({},A(t),{lightness:parseFloat(e)}))}var Tl=v(jt);function kt(e,t){return t==="transparent"?t:C(T({},A(t),{saturation:parseFloat(e)}))}var _l=v(kt);function Gt(e,t){return t==="transparent"?t:Je(parseFloat(e),"rgb(0, 0, 0)",t)}var vl=v(Gt);function Wt(e,t){return t==="transparent"?t:Je(parseFloat(e),"rgb(255, 255, 255)",t)}var Sl=v(Wt);function Vt(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 Rl=v(Vt);var $t="actions",z="storybook/actions",Yt=`${z}/panel`,se=`${z}/action-event`,et=`${z}/action-clear`,Jt=Object.create,pe=Object.defineProperty,qt=Object.getOwnPropertyDescriptor,tt=Object.getOwnPropertyNames,Xt=Object.getPrototypeOf,Zt=Object.prototype.hasOwnProperty,fe=(e,t)=>function(){return t||(0,e[tt(e)[0]])((t={exports:{}}).exports,t),t.exports},Kt=(e,t)=>{for(var r in t)pe(e,r,{get:t[r],enumerable:!0})},Qt=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of tt(t))!Zt.call(e,a)&&a!==r&&pe(e,a,{get:()=>t[a],enumerable:!(n=qt(t,a))||n.enumerable});return e},er=(e,t,r)=>(r=e!=null?Jt(Xt(e)):{},Qt(t||!e||!e.__esModule?pe(r,"default",{value:e,enumerable:!0}):r,e)),tr=fe({"node_modules/is-object/index.js"(e,t){t.exports=function(r){return typeof r=="object"&&r!==null}}}),rr=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}}}),nr=fe({"node_modules/is-dom/index.js"(e,t){var r=tr(),n=rr();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={};Kt(q,{chromeDark:()=>ar,chromeLight:()=>or});var ar={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"},or={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"},rt=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}}),le="chromeLight",nt=Z(Y(q[le])),S=e=>K(nt)[e],de=e=>({theme:t=le,...r})=>{let n=Ce(()=>{switch(Object.prototype.toString.call(t)){case"[object String]":return Y(q[t]);case"[object Object]":return Y(t);default:return Y(q[le])}},[t]);return o.createElement(nt.Provider,{value:n},o.createElement(e,{...r}))},ir=({expanded:e,styles:t})=>o.createElement("span",{style:{...t.base,...e?t.expanded:t.collapsed}},"\u25B6"),sr=U(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=S("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(ir,{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="$",Xe="*";function J(e,t){return!t(e).next().done}var lr=e=>Array.from({length:e},(t,r)=>[X].concat(Array.from({length:r},()=>"*")).join(".")),ur=(e,t,r,n,a)=>{let i=[].concat(lr(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===Xe)&&c(p,X,f+1);else if(E===Xe)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})},at=U(e=>{let{data:t,dataIterator:r,path:n,depth:a,nodeRenderer:i}=e,[s,l]=K(rt),u=J(t,r),c=!!s[n],p=x(()=>u&&l(d=>({...d,[n]:!c})),[u,l,n,c]);return o.createElement(sr,{expanded:c,onClick:p,shouldShowArrow:u,shouldShowPlaceholder:a>0,nodeRenderer:i,...e},c?[...r(t)].map(({name:d,data:f,...E})=>o.createElement(at,{name:d,data:f,depth:a+1,path:`${n}.${d}`,key:d,dataIterator:r,nodeRenderer:i,...E})):null)}),ot=U(({name:e,data:t,dataIterator:r,nodeRenderer:n,expandPaths:a,expandLevel:i})=>{let s=S("TreeView"),l=j({}),[,u]=l;return Ae(()=>u(c=>ur(t,r,a,i,c)),[t,r,a,i]),o.createElement(rt.Provider,{value:l},o.createElement("ol",{role:"tree",style:s.treeViewOutline},o.createElement(at,{name:e,data:t,dataIterator:r,depth:0,path:X,nodeRenderer:n})))}),me=({name:e,dimmed:t=!1,styles:r={}})=>{let n=S("ObjectName"),a={...n.base,...t?n.dimmed:{},...r};return o.createElement("span",{style:a},e)},H=({object:e,styles:t})=>{let r=S("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)}},it=Object.prototype.hasOwnProperty,cr=Object.prototype.propertyIsEnumerable;function ue(e,t){let r=Object.getOwnPropertyDescriptor(e,t);if(r.get)try{return r.get()}catch{return r.get}return e[t]}function Ze(e,t){return e.length===0?[]:e.slice(1).reduce((r,n)=>r.concat([t,n]),[e[0]])}var ce=({data:e})=>{let t=S("ObjectPreview"),r=e;if(typeof r!="object"||r===null||r instanceof Date||r instanceof RegExp)return o.createElement(H,{object:r});if(Array.isArray(r)){let n=t.arrayMaxProperties,a=r.slice(0,n).map((s,l)=>o.createElement(H,{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},"[",Ze(a,", "),"]"))}else{let n=t.objectMaxProperties,a=[];for(let s in r)if(it.call(r,s)){let l;a.length===n-1&&Object.keys(r).length>n&&(l=o.createElement("span",{key:"ellipsis"},"\u2026"));let u=ue(r,s);if(a.push(o.createElement("span",{key:s},o.createElement(me,{name:s||'""'}),":\xA0",o.createElement(H,{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},"{",Ze(a,", "),"}"))}},pr=({name:e,data:t})=>typeof e=="string"?o.createElement("span",null,o.createElement(me,{name:e}),o.createElement("span",null,": "),o.createElement(ce,{data:t})):o.createElement(ce,{data:t}),fr=({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(ce,{data:e}),o.createElement("span",null,": "),o.createElement(H,{object:n}))},dr=(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(cr.call(r,i)){let s=ue(r,i);yield{name:i||'""',data:s}}else if(e){let s;try{s=ue(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})}},mr=({depth:e,name:t,data:r,isNonenumerable:n})=>e===0?o.createElement(pr,{name:t,data:r}):o.createElement(fr,{name:t,data:r,isNonenumerable:n}),gr=({showNonenumerable:e=!1,sortObjectKeys:t,nodeRenderer:r,...n})=>{let a=dr(e,t),i=r||mr;return o.createElement(ot,{nodeRenderer:i,dataIterator:a,...n})},br=de(gr);function hr(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 Er=({rows:e,columns:t,rowsData:r})=>{let n=S("TableInspectorDataContainer"),a=S("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&&it.call(u,l)?o.createElement("td",{key:l,style:{...n.td,...a.solid}},o.createElement(H,{object:u[l]})):o.createElement("td",{key:l,style:{...n.td,...a.solid}})}))))))},yr=e=>o.createElement("div",{style:{position:"absolute",top:1,right:0,bottom:1,display:"flex",alignItems:"center"}},e.children),Or=({sortAscending:e})=>{let t=S("TableInspectorSortIcon"),r=e?"\u25B2":"\u25BC";return o.createElement("div",{style:t},r)},Ke=({sortAscending:e=!1,sorted:t=!1,onClick:r=void 0,borderStyle:n={},children:a,...i})=>{let s=S("TableInspectorTH"),[l,u]=j(!1),c=x(()=>u(!0),[]),p=x(()=>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(yr,null,o.createElement(Or,{sortAscending:e})))},Tr=({indexColumnText:e="(index)",columns:t=[],sorted:r,sortIndexColumn:n,sortColumn:a,sortAscending:i,onTHClick:s,onIndexTHClick:l})=>{let u=S("TableInspectorHeaderContainer"),c=S("TableInspectorLeftBorder");return o.createElement("div",{style:u.base},o.createElement("table",{style:u.table},o.createElement("tbody",null,o.createElement("tr",null,o.createElement(Ke,{borderStyle:c.none,sorted:r&&n,sortAscending:i,onClick:l},e),t.map(p=>o.createElement(Ke,{borderStyle:c.solid,key:p,sorted:r&&a===p,sortAscending:i,onClick:s.bind(null,p)},p))))))},_r=({data:e,columns:t})=>{let r=S("TableInspector"),[{sorted:n,sortIndexColumn:a,sortColumn:i,sortAscending:s},l]=j({sorted:!1,sortIndexColumn:!1,sortColumn:void 0,sortAscending:!1}),u=x(()=>{l(({sortIndexColumn:m,sortAscending:y})=>({sorted:!0,sortIndexColumn:!0,sortColumn:void 0,sortAscending:m?!y:!0}))},[]),c=x(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}=hr(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,w)=>(ut,ct)=>{let ge=O(ut),be=O(ct),he=typeof ge,Ee=typeof be,ye=(P,Oe)=>POe?1:0,M;if(he===Ee)M=ye(ge,be);else{let P={string:0,number:1,object:2,symbol:3,boolean:4,undefined:5,function:6};M=ye(P[he],P[Ee])}return w||(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(Tr,{columns:d,sorted:n,sortIndexColumn:a,sortColumn:i,sortAscending:s,onTHClick:c,onIndexTHClick:u}),o.createElement(Er,{rows:p,columns:d,rowsData:f}))},vr=de(_r),Sr=80,st=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"),Qe=({tagName:e,isChildNode:t=!1,styles:r})=>o.createElement("span",{style:Object.assign({},r.base,t&&r.offsetLeft)},""),Ar={1:"ELEMENT_NODE",3:"TEXT_NODE",7:"PROCESSING_INSTRUCTION_NODE",8:"COMMENT_NODE",9:"DOCUMENT_NODE",10:"DOCUMENT_TYPE_NODE",11:"DOCUMENT_FRAGMENT_NODE"},Cr=({isCloseTag:e,data:t,expanded:r})=>{let n=S("DOMNodePreview");if(e)return o.createElement(Qe,{styles:n.htmlCloseTag,isChildNode:!0,tagName:t.tagName});switch(t.nodeType){case Node.ELEMENT_NODE:return o.createElement("span",null,o.createElement(Rr,{tagName:t.tagName,attributes:t.attributes,styles:n.htmlOpenTag}),st(t)?t.textContent:!r&&"\u2026",!r&&o.createElement(Qe,{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,Ar[t.nodeType])}},Nr=function*(e){if(e&&e.childNodes){if(st(e))return;for(let t=0;to.createElement(ot,{nodeRenderer:Cr,dataIterator:Nr,...e}),xr=de(wr),Lr=er(nr()),Ir=({table:e=!1,data:t,...r})=>e?o.createElement(vr,{data:t,...r}):(0,Lr.default)(t)?o.createElement(xr,{data:t,...r}):o.createElement(br,{data:t,...r}),Dr=B.div({display:"flex",padding:0,borderLeft:"5px solid transparent",borderBottom:"1px solid transparent",transition:"all 0.1s",alignItems:"flex-start",whiteSpace:"pre"}),Mr=B.div(({theme:e})=>({backgroundColor:qe(.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"})),Pr=B.div({flex:1,padding:"0 0 0 5px"}),lt=Se(({children:e,className:t},r)=>o.createElement(Le,{ref:r,horizontal:!0,vertical:!0,className:t},e));lt.displayName="UnstyledWrapped";var Br=B(lt)({margin:0,padding:"10px 5px 20px"}),Fr=He(({theme:e,...t})=>o.createElement(Ir,{theme:e.addonActionsTheme||"chromeLight",table:!1,...t})),Hr=({actions:e,onClear:t})=>{let r=Ne(null),n=r.current,a=n&&n.scrollHeight-n.scrollTop===n.clientHeight;return Re(()=>{a&&(r.current.scrollTop=r.current.scrollHeight)},[a,e.length]),o.createElement(ve,null,o.createElement(Br,{ref:r},e.map(i=>o.createElement(Dr,{key:i.id},i.count>1&&o.createElement(Mr,null,i.count),o.createElement(Pr,null,o.createElement(Fr,{sortObjectKeys:!0,showNonenumerable:!1,name:i.data.name,data:i.data.args??i.data}))))),o.createElement(we,{actionItems:[{title:"Clear",onClick:t}]}))},zr=(e,t)=>{try{return L(e,t)}catch{return!1}},Ur=class extends _e{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[n.length-1];return a&&zr(a.data,t.data)?a.count++:(t.count=1,n.push(t)),{actions:n.slice(0,t.options.limit)}})},this.clearActions=()=>{let{api:t}=this.props;t.emit(et),this.setState({actions:[]})},this.mounted=!1,this.state={actions:[]}}componentDidMount(){this.mounted=!0;let{api:e}=this.props;e.on(se,this.addAction),e.on(k,this.handleStoryChange)}componentWillUnmount(){this.mounted=!1;let{api:e}=this.props;e.off(k,this.handleStoryChange),e.off(se,this.addAction)}render(){let{actions:e=[]}=this.state,{active:t}=this.props,r={actions:e,onClear:this.clearActions};return t?o.createElement(Hr,{...r}):null}};function jr(){let[{count:e},t]=Me(z,{count:0});return Pe({[se]:()=>{t(r=>({...r,count:r.count+1}))},[k]:()=>{t(r=>({...r,count:0}))},[et]:()=>{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(xe,{status:"neutral"},e)))}Q.register(z,e=>{Q.add(Yt,{title:jr,type:De.PANEL,render:({active:t})=>o.createElement(Ur,{api:e,active:!!t}),paramKey:$t})});})(); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/storybook-static/sb-addons/essentials-backgrounds-4/manager-bundle.js b/storybook-static/sb-addons/essentials-backgrounds-4/manager-bundle.js new file mode 100644 index 0000000..bff4fc0 --- /dev/null +++ b/storybook-static/sb-addons/essentials-backgrounds-4/manager-bundle.js @@ -0,0 +1,12 @@ +try{ +(()=>{var re=Object.create;var Y=Object.defineProperty;var ie=Object.getOwnPropertyDescriptor;var ae=Object.getOwnPropertyNames;var ce=Object.getPrototypeOf,le=Object.prototype.hasOwnProperty;var E=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(o,c)=>(typeof require<"u"?require:o)[c]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var M=(e,o)=>()=>(e&&(o=e(e=0)),o);var se=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports);var ue=(e,o,c,r)=>{if(o&&typeof o=="object"||typeof o=="function")for(let i of ae(o))!le.call(e,i)&&i!==c&&Y(e,i,{get:()=>o[i],enumerable:!(r=ie(o,i))||r.enumerable});return e};var Ie=(e,o,c)=>(c=e!=null?re(ce(e)):{},ue(o||!e||!e.__esModule?Y(c,"default",{value:e,enumerable:!0}):c,e));var p=M(()=>{});var h=M(()=>{});var f=M(()=>{});var X=se((Q,V)=>{p();h();f();(function(e){if(typeof Q=="object"&&typeof V<"u")V.exports=e();else if(typeof define=="function"&&define.amd)define([],e);else{var o;typeof window<"u"||typeof window<"u"?o=window:typeof self<"u"?o=self:o=this,o.memoizerific=e()}})(function(){var e,o,c;return function r(i,d,l){function t(a,I){if(!d[a]){if(!i[a]){var s=typeof E=="function"&&E;if(!I&&s)return s(a,!0);if(n)return n(a,!0);var S=new Error("Cannot find module '"+a+"'");throw S.code="MODULE_NOT_FOUND",S}var m=d[a]={exports:{}};i[a][0].call(m.exports,function(b){var C=i[a][1][b];return t(C||b)},m,m.exports,r,i,d,l)}return d[a].exports}for(var n=typeof E=="function"&&E,u=0;u=0)return this.lastItem=this.list[n],this.list[n].val},l.prototype.set=function(t,n){var u;return this.lastItem&&this.isEqual(this.lastItem.key,t)?(this.lastItem.val=n,this):(u=this.indexOf(t),u>=0?(this.lastItem=this.list[u],this.list[u].val=n,this):(this.lastItem={key:t,val:n},this.list.push(this.lastItem),this.size++,this))},l.prototype.delete=function(t){var n;if(this.lastItem&&this.isEqual(this.lastItem.key,t)&&(this.lastItem=void 0),n=this.indexOf(t),n>=0)return this.size--,this.list.splice(n,1)[0]},l.prototype.has=function(t){var n;return this.lastItem&&this.isEqual(this.lastItem.key,t)?!0:(n=this.indexOf(t),n>=0?(this.lastItem=this.list[n],!0):!1)},l.prototype.forEach=function(t,n){var u;for(u=0;u0&&(x[T]={cacheItem:b,arg:arguments[T]},O?t(s,x):s.push(x),s.length>a&&n(s.shift())),m.wasMemoized=O,m.numArgs=T+1,R};return m.limit=a,m.wasMemoized=!1,m.cache=I,m.lru=s,m}};function t(a,I){var s=a.length,S=I.length,m,b,C;for(b=0;b=0&&(s=a[m],S=s.cacheItem.get(s.arg),!S||!S.size);m--)s.cacheItem.delete(s.arg)}function u(a,I){return a===I||a!==a&&I!==I}},{"map-or-similar":1}]},{},[3])(3)})});p();h();f();p();h();f();p();h();f();p();h();f();var g=__REACT__,{Children:Ee,Component:we,Fragment:D,Profiler:Be,PureComponent:Re,StrictMode:xe,Suspense:Le,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Pe,cloneElement:Me,createContext:De,createElement:Ge,createFactory:Ue,createRef:Fe,forwardRef:Ne,isValidElement:He,lazy:qe,memo:w,startTransition:ze,unstable_act:Ke,useCallback:G,useContext:Ve,useDebugValue:We,useDeferredValue:Ye,useEffect:je,useId:$e,useImperativeHandle:Ze,useInsertionEffect:Je,useLayoutEffect:Qe,useMemo:j,useReducer:Xe,useRef:eo,useState:U,useSyncExternalStore:oo,useTransition:no,version:to}=__REACT__;p();h();f();var lo=__STORYBOOK_API__,{ActiveTabs:so,Consumer:uo,ManagerContext:Io,Provider:mo,RequestResponseError:po,addons:F,combineParameters:ho,controlOrMetaKey:fo,controlOrMetaSymbol:go,eventMatchesShortcut:bo,eventToShortcut:So,experimental_MockUniversalStore:Co,experimental_UniversalStore:yo,experimental_requestResponse:ko,experimental_useUniversalStore:vo,isMacLike:_o,isShortcutTaken:To,keyToSymbol:Ao,merge:Oo,mockChannel:Eo,optionOrAltSymbol:wo,shortcutMatchesShortcut:Bo,shortcutToHumanString:Ro,types:$,useAddonState:xo,useArgTypes:Lo,useArgs:Po,useChannel:Mo,useGlobalTypes:Do,useGlobals:L,useParameter:P,useSharedState:Go,useStoryPrepared:Uo,useStorybookApi:Fo,useStorybookState:No}=__STORYBOOK_API__;p();h();f();var Vo=__STORYBOOK_COMPONENTS__,{A:Wo,ActionBar:Yo,AddonPanel:jo,Badge:$o,Bar:Zo,Blockquote:Jo,Button:Qo,ClipboardCode:Xo,Code:en,DL:on,Div:nn,DocumentWrapper:tn,EmptyTabContent:rn,ErrorFormatter:an,FlexBar:cn,Form:ln,H1:sn,H2:un,H3:In,H4:dn,H5:mn,H6:pn,HR:hn,IconButton:B,IconButtonSkeleton:fn,Icons:gn,Img:bn,LI:Sn,Link:Cn,ListItem:yn,Loader:kn,Modal:vn,OL:_n,P:Tn,Placeholder:An,Pre:On,ProgressSpinner:En,ResetWrapper:wn,ScrollArea:Bn,Separator:Rn,Spaced:xn,Span:Ln,StorybookIcon:Pn,StorybookLogo:Mn,Symbols:Dn,SyntaxHighlighter:Gn,TT:Un,TabBar:Fn,TabButton:Nn,TabWrapper:Hn,Table:qn,Tabs:zn,TabsState:Kn,TooltipLinkList:N,TooltipMessage:Vn,TooltipNote:Wn,UL:Yn,WithTooltip:H,WithTooltipPure:jn,Zoom:$n,codeCommon:Zn,components:Jn,createCopyToClipboardFunction:Qn,getStoryHref:Xn,icons:et,interleaveSeparators:ot,nameSpaceClassNames:nt,resetComponents:tt,withReset:rt}=__STORYBOOK_COMPONENTS__;p();h();f();var st=__STORYBOOK_ICONS__,{AccessibilityAltIcon:ut,AccessibilityIcon:It,AddIcon:dt,AdminIcon:mt,AlertAltIcon:pt,AlertIcon:ht,AlignLeftIcon:ft,AlignRightIcon:gt,AppleIcon:bt,ArrowBottomLeftIcon:St,ArrowBottomRightIcon:Ct,ArrowDownIcon:yt,ArrowLeftIcon:kt,ArrowRightIcon:vt,ArrowSolidDownIcon:_t,ArrowSolidLeftIcon:Tt,ArrowSolidRightIcon:At,ArrowSolidUpIcon:Ot,ArrowTopLeftIcon:Et,ArrowTopRightIcon:wt,ArrowUpIcon:Bt,AzureDevOpsIcon:Rt,BackIcon:xt,BasketIcon:Lt,BatchAcceptIcon:Pt,BatchDenyIcon:Mt,BeakerIcon:Dt,BellIcon:Gt,BitbucketIcon:Ut,BoldIcon:Ft,BookIcon:Nt,BookmarkHollowIcon:Ht,BookmarkIcon:qt,BottomBarIcon:zt,BottomBarToggleIcon:Kt,BoxIcon:Vt,BranchIcon:Wt,BrowserIcon:Yt,ButtonIcon:jt,CPUIcon:$t,CalendarIcon:Zt,CameraIcon:Jt,CategoryIcon:Qt,CertificateIcon:Xt,ChangedIcon:er,ChatIcon:or,CheckIcon:nr,ChevronDownIcon:tr,ChevronLeftIcon:rr,ChevronRightIcon:ir,ChevronSmallDownIcon:ar,ChevronSmallLeftIcon:cr,ChevronSmallRightIcon:lr,ChevronSmallUpIcon:sr,ChevronUpIcon:ur,ChromaticIcon:Ir,ChromeIcon:dr,CircleHollowIcon:mr,CircleIcon:Z,ClearIcon:pr,CloseAltIcon:hr,CloseIcon:fr,CloudHollowIcon:gr,CloudIcon:br,CogIcon:Sr,CollapseIcon:Cr,CommandIcon:yr,CommentAddIcon:kr,CommentIcon:vr,CommentsIcon:_r,CommitIcon:Tr,CompassIcon:Ar,ComponentDrivenIcon:Or,ComponentIcon:Er,ContrastIcon:wr,ControlsIcon:Br,CopyIcon:Rr,CreditIcon:xr,CrossIcon:Lr,DashboardIcon:Pr,DatabaseIcon:Mr,DeleteIcon:Dr,DiamondIcon:Gr,DirectionIcon:Ur,DiscordIcon:Fr,DocChartIcon:Nr,DocListIcon:Hr,DocumentIcon:qr,DownloadIcon:zr,DragIcon:Kr,EditIcon:Vr,EllipsisIcon:Wr,EmailIcon:Yr,ExpandAltIcon:jr,ExpandIcon:$r,EyeCloseIcon:Zr,EyeIcon:Jr,FaceHappyIcon:Qr,FaceNeutralIcon:Xr,FaceSadIcon:ei,FacebookIcon:oi,FailedIcon:ni,FastForwardIcon:ti,FigmaIcon:ri,FilterIcon:ii,FlagIcon:ai,FolderIcon:ci,FormIcon:li,GDriveIcon:si,GithubIcon:ui,GitlabIcon:Ii,GlobeIcon:di,GoogleIcon:mi,GraphBarIcon:pi,GraphLineIcon:hi,GraphqlIcon:fi,GridAltIcon:gi,GridIcon:q,GrowIcon:bi,HeartHollowIcon:Si,HeartIcon:Ci,HomeIcon:yi,HourglassIcon:ki,InfoIcon:vi,ItalicIcon:_i,JumpToIcon:Ti,KeyIcon:Ai,LightningIcon:Oi,LightningOffIcon:Ei,LinkBrokenIcon:wi,LinkIcon:Bi,LinkedinIcon:Ri,LinuxIcon:xi,ListOrderedIcon:Li,ListUnorderedIcon:Pi,LocationIcon:Mi,LockIcon:Di,MarkdownIcon:Gi,MarkupIcon:Ui,MediumIcon:Fi,MemoryIcon:Ni,MenuIcon:Hi,MergeIcon:qi,MirrorIcon:zi,MobileIcon:Ki,MoonIcon:Vi,NutIcon:Wi,OutboxIcon:Yi,OutlineIcon:ji,PaintBrushIcon:$i,PaperClipIcon:Zi,ParagraphIcon:Ji,PassedIcon:Qi,PhoneIcon:Xi,PhotoDragIcon:ea,PhotoIcon:z,PinAltIcon:oa,PinIcon:na,PlayAllHollowIcon:ta,PlayBackIcon:ra,PlayHollowIcon:ia,PlayIcon:aa,PlayNextIcon:ca,PlusIcon:la,PointerDefaultIcon:sa,PointerHandIcon:ua,PowerIcon:Ia,PrintIcon:da,ProceedIcon:ma,ProfileIcon:pa,PullRequestIcon:ha,QuestionIcon:fa,RSSIcon:ga,RedirectIcon:ba,ReduxIcon:Sa,RefreshIcon:J,ReplyIcon:Ca,RepoIcon:ya,RequestChangeIcon:ka,RewindIcon:va,RulerIcon:_a,SaveIcon:Ta,SearchIcon:Aa,ShareAltIcon:Oa,ShareIcon:Ea,ShieldIcon:wa,SideBySideIcon:Ba,SidebarAltIcon:Ra,SidebarAltToggleIcon:xa,SidebarIcon:La,SidebarToggleIcon:Pa,SpeakerIcon:Ma,StackedIcon:Da,StarHollowIcon:Ga,StarIcon:Ua,StatusFailIcon:Fa,StatusPassIcon:Na,StatusWarnIcon:Ha,StickerIcon:qa,StopAltHollowIcon:za,StopAltIcon:Ka,StopIcon:Va,StorybookIcon:Wa,StructureIcon:Ya,SubtractIcon:ja,SunIcon:$a,SupportIcon:Za,SwitchAltIcon:Ja,SyncIcon:Qa,TabletIcon:Xa,ThumbsUpIcon:ec,TimeIcon:oc,TimerIcon:nc,TransferIcon:tc,TrashIcon:rc,TwitterIcon:ic,TypeIcon:ac,UbuntuIcon:cc,UndoIcon:lc,UnfoldIcon:sc,UnlockIcon:uc,UnpinIcon:Ic,UploadIcon:dc,UserAddIcon:mc,UserAltIcon:pc,UserIcon:hc,UsersIcon:fc,VSCodeIcon:gc,VerifiedIcon:bc,VideoIcon:Sc,WandIcon:Cc,WatchIcon:yc,WindowsIcon:kc,WrenchIcon:vc,XIcon:_c,YoutubeIcon:Tc,ZoomIcon:Ac,ZoomOutIcon:Oc,ZoomResetIcon:Ec,iconList:wc}=__STORYBOOK_ICONS__;p();h();f();var Pc=__STORYBOOK_CLIENT_LOGGER__,{deprecate:Mc,logger:K,once:Dc,pretty:Gc}=__STORYBOOK_CLIENT_LOGGER__;var W=Ie(X());p();h();f();var Wc=__STORYBOOK_THEMING__,{CacheProvider:Yc,ClassNames:jc,Global:$c,ThemeProvider:Zc,background:Jc,color:Qc,convert:Xc,create:el,createCache:ol,createGlobal:nl,createReset:tl,css:rl,darken:il,ensure:al,ignoreSsrWarning:cl,isPropValid:ll,jsx:sl,keyframes:ul,lighten:Il,styled:ee,themes:dl,typography:ml,useTheme:pl,withTheme:hl}=__STORYBOOK_THEMING__;p();h();f();function oe(e){for(var o=[],c=1;c{r({[y]:I})},[r]);return g.createElement(D,null,g.createElement(B,{key:"grid",active:n,disabled:t,title:"Apply a grid to the preview",onClick:()=>a({value:l,grid:!n})},g.createElement(q,null)),c>0?g.createElement(H,{key:"background",placement:"top",closeOnOutsideClick:!0,tooltip:({onHide:I})=>g.createElement(N,{links:[...o?[{id:"reset",title:"Reset background",icon:g.createElement(J,null),onClick:()=>{a({value:void 0,grid:n}),I()}}]:[],...Object.entries(d).map(([s,S])=>({id:s,title:S.name,icon:g.createElement(Z,{color:S?.value||"grey"}),active:s===l,onClick:()=>{a({value:s,grid:n}),I()}}))].flat()}),onVisibleChange:i},g.createElement(B,{disabled:t,key:"background",title:"Change the background of the preview",active:!!o||u},g.createElement(z,null))):null)}),he=ee.span(({background:e})=>({borderRadius:"1rem",display:"block",height:"1rem",width:"1rem",background:e}),({theme:e})=>({boxShadow:`${e.appBorderColor} 0 0 0 1px inset`})),fe=(e,o=[],c)=>{if(e==="transparent")return"transparent";if(o.find(i=>i.value===e)||e)return e;let r=o.find(i=>i.name===c);if(r)return r.value;if(c){let i=o.map(d=>d.name).join(", ");K.warn(oe` + Backgrounds Addon: could not find the default color "${c}". + These are the available colors for your story based on your configuration: + ${i}. + `)}return"transparent"},te=(0,W.default)(1e3)((e,o,c,r,i,d)=>({id:e||o,title:o,onClick:()=>{i({selected:c,name:o})},value:c,right:r?g.createElement(he,{background:c}):void 0,active:d})),ge=(0,W.default)(10)((e,o,c)=>{let r=e.map(({name:i,value:d})=>te(null,i,d,!0,c,d===o));return o!=="transparent"?[te("reset","Clear background","transparent",null,c,!1),...r]:r}),be={default:null,disable:!0,values:[]},Se=w(function(){let e=P(y,be),[o,c]=U(!1),[r,i]=L(),d=r[y]?.value,l=j(()=>fe(d,e.values,e.default),[e,d]);Array.isArray(e)&&K.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 t=G(n=>{i({[y]:{...r[y],value:n}})},[e,r,i]);return e.disable?null:g.createElement(H,{placement:"top",closeOnOutsideClick:!0,tooltip:({onHide:n})=>g.createElement(N,{links:ge(e.values,l,({selected:u})=>{l!==u&&t(u),n()})}),onVisibleChange:c},g.createElement(B,{key:"background",title:"Change the background of the preview",active:l!=="transparent"||o},g.createElement(z,null)))}),Ce=w(function(){let[e,o]=L(),{grid:c}=P(y,{grid:{disable:!1}});if(c?.disable)return null;let r=e[y]?.grid||!1;return g.createElement(B,{key:"background",active:r,title:"Apply a grid to the preview",onClick:()=>o({[y]:{...e[y],grid:!r}})},g.createElement(q,null))});F.register(ne,()=>{F.add(ne,{title:"Backgrounds",type:$.TOOL,match:({viewMode:e,tabId:o})=>!!(e&&e.match(/^(story|docs)$/))&&!o,render:()=>FEATURES?.backgroundsStoryGlobals?g.createElement(me,null):g.createElement(D,null,g.createElement(Se,null),g.createElement(Ce,null))})});})(); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js b/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js new file mode 100644 index 0000000..82b4a2d --- /dev/null +++ b/storybook-static/sb-addons/essentials-controls-1/manager-bundle.js @@ -0,0 +1,402 @@ +try{ +(()=>{var xp=Object.create;var Un=Object.defineProperty;var Tp=Object.getOwnPropertyDescriptor;var Fp=Object.getOwnPropertyNames;var Ip=Object.getPrototypeOf,kp=Object.prototype.hasOwnProperty;var je=(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 rt=(e,t)=>()=>(e&&(t=e(e=0)),t);var Rp=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),ni=(e,t)=>{for(var r in t)Un(e,r,{get:t[r],enumerable:!0})},Op=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Fp(t))!kp.call(e,o)&&o!==r&&Un(e,o,{get:()=>t[o],enumerable:!(n=Tp(t,o))||n.enumerable});return e};var _p=(e,t,r)=>(r=e!=null?xp(Ip(e)):{},Op(t||!e||!e.__esModule?Un(r,"default",{value:e,enumerable:!0}):r,e));var q=rt(()=>{});var V=rt(()=>{});var J=rt(()=>{});function Mp(e,t,{signal:r,edges:n}={}){let o,a=null,i=n!=null&&n.includes("leading"),s=n==null||n.includes("trailing"),l=()=>{a!==null&&(e.apply(o,a),o=void 0,a=null)},c=()=>{s&&l(),y()},p=null,h=()=>{p!=null&&clearTimeout(p),p=setTimeout(()=>{p=null,c()},t)},d=()=>{p!==null&&(clearTimeout(p),p=null)},y=()=>{d(),o=void 0,a=null},g=()=>{d(),l()},A=function(...v){if(r?.aborted)return;o=this,a=v;let S=p==null;h(),i&&S&&l()};return A.schedule=h,A.cancel=y,A.flush=g,r?.addEventListener("abort",y,{once:!0}),A}function si(e,t=0,r={}){typeof r!="object"&&(r={});let{signal:n,leading:o=!1,trailing:a=!0,maxWait:i}=r,s=Array(2);o&&(s[0]="leading"),a&&(s[1]="trailing");let l,c=null,p=Mp(function(...y){l=e.apply(this,y),c=null},t,{signal:n,edges:s}),h=function(...y){if(i!=null){if(c===null)c=Date.now();else if(Date.now()-c>=i)return l=e.apply(this,y),c=Date.now(),p.cancel(),p.schedule(),l}return p.apply(this,y),l},d=()=>(p.flush(),l);return h.cancel=p.cancel,h.flush=d,h}function li(e){return Array.from(new Set(e))}function ui(e,t){let r={},n=Object.entries(e);for(let o=0;o{q();V();J();Vt=(e=>typeof je<"u"?je:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof je<"u"?je:t)[r]}):e)(function(e){if(typeof je<"u")return je.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),Bp=Object.create,ai=Object.defineProperty,Pp=Object.getOwnPropertyDescriptor,ii=Object.getOwnPropertyNames,Np=Object.getPrototypeOf,jp=Object.prototype.hasOwnProperty,mr=(e=>typeof Vt<"u"?Vt:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof Vt<"u"?Vt:t)[r]}):e)(function(e){if(typeof Vt<"u")return Vt.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),$e=(e,t)=>function(){return t||(0,e[ii(e)[0]])((t={exports:{}}).exports,t),t.exports},Lp=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of ii(t))!jp.call(e,o)&&o!==r&&ai(e,o,{get:()=>t[o],enumerable:!(n=Pp(t,o))||n.enumerable});return e},zt=(e,t,r)=>(r=e!=null?Bp(Np(e)):{},Lp(t||!e||!e.__esModule?ai(r,"default",{value:e,enumerable:!0}):r,e));qp="[object String]",Vp="[object Number]",Jp="[object Boolean]",zp="[object Arguments]";Le=e=>`control-${e.replace(/\s+/g,"-")}`,yr=e=>`set-${e.replace(/\s+/g,"-")}`});var f,di,dt,aA,iA,sA,lA,pi,uA,pe,gr,hi,cA,dA,pA,hA,fi,fA,mA,yA,Ce,mi,gA,bA,xe,EA,vA,AA,yi,pt,DA,Pe,Z,SA,wA,CA,Mr=rt(()=>{q();V();J();f=__REACT__,{Children:di,Component:dt,Fragment:aA,Profiler:iA,PureComponent:sA,StrictMode:lA,Suspense:pi,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:uA,cloneElement:pe,createContext:gr,createElement:hi,createFactory:cA,createRef:dA,forwardRef:pA,isValidElement:hA,lazy:fi,memo:fA,startTransition:mA,unstable_act:yA,useCallback:Ce,useContext:mi,useDebugValue:gA,useDeferredValue:bA,useEffect:xe,useId:EA,useImperativeHandle:vA,useInsertionEffect:AA,useLayoutEffect:yi,useMemo:pt,useReducer:DA,useRef:Pe,useState:Z,useSyncExternalStore:SA,useTransition:wA,version:CA}=__REACT__});var gi={};ni(gi,{A:()=>Wp,ActionBar:()=>qn,AddonPanel:()=>Vn,Badge:()=>Jn,Bar:()=>zn,Blockquote:()=>Kp,Button:()=>ht,ClipboardCode:()=>Yp,Code:()=>Xp,DL:()=>Qp,Div:()=>Zp,DocumentWrapper:()=>eh,EmptyTabContent:()=>Hn,ErrorFormatter:()=>th,FlexBar:()=>Gn,Form:()=>Ge,H1:()=>rh,H2:()=>Wn,H3:()=>nh,H4:()=>oh,H5:()=>ah,H6:()=>ih,HR:()=>sh,IconButton:()=>Ke,IconButtonSkeleton:()=>lh,Icons:()=>uh,Img:()=>ch,LI:()=>dh,Link:()=>xt,ListItem:()=>ph,Loader:()=>hh,Modal:()=>Ye,OL:()=>fh,P:()=>mh,Placeholder:()=>yh,Pre:()=>gh,ProgressSpinner:()=>bh,ResetWrapper:()=>Kn,ScrollArea:()=>Eh,Separator:()=>vh,Spaced:()=>Yn,Span:()=>Ah,StorybookIcon:()=>Dh,StorybookLogo:()=>Sh,Symbols:()=>wh,SyntaxHighlighter:()=>Ur,TT:()=>Ch,TabBar:()=>xh,TabButton:()=>Th,TabWrapper:()=>Fh,Table:()=>Ih,Tabs:()=>kh,TabsState:()=>Rh,TooltipLinkList:()=>Oh,TooltipMessage:()=>_h,TooltipNote:()=>Tt,UL:()=>Bh,WithTooltip:()=>ft,WithTooltipPure:()=>Xn,Zoom:()=>Qn,codeCommon:()=>Ht,components:()=>Zn,createCopyToClipboardFunction:()=>Ph,default:()=>Gp,getStoryHref:()=>Nh,icons:()=>jh,interleaveSeparators:()=>Lh,nameSpaceClassNames:()=>eo,resetComponents:()=>Mh,withReset:()=>Gt});var Gp,Wp,qn,Vn,Jn,zn,Kp,ht,Yp,Xp,Qp,Zp,eh,Hn,th,Gn,Ge,rh,Wn,nh,oh,ah,ih,sh,Ke,lh,uh,ch,dh,xt,ph,hh,Ye,fh,mh,yh,gh,bh,Kn,Eh,vh,Yn,Ah,Dh,Sh,wh,Ur,Ch,xh,Th,Fh,Ih,kh,Rh,Oh,_h,Tt,Bh,ft,Xn,Qn,Ht,Zn,Ph,Nh,jh,Lh,eo,Mh,Gt,$r=rt(()=>{q();V();J();Gp=__STORYBOOK_COMPONENTS__,{A:Wp,ActionBar:qn,AddonPanel:Vn,Badge:Jn,Bar:zn,Blockquote:Kp,Button:ht,ClipboardCode:Yp,Code:Xp,DL:Qp,Div:Zp,DocumentWrapper:eh,EmptyTabContent:Hn,ErrorFormatter:th,FlexBar:Gn,Form:Ge,H1:rh,H2:Wn,H3:nh,H4:oh,H5:ah,H6:ih,HR:sh,IconButton:Ke,IconButtonSkeleton:lh,Icons:uh,Img:ch,LI:dh,Link:xt,ListItem:ph,Loader:hh,Modal:Ye,OL:fh,P:mh,Placeholder:yh,Pre:gh,ProgressSpinner:bh,ResetWrapper:Kn,ScrollArea:Eh,Separator:vh,Spaced:Yn,Span:Ah,StorybookIcon:Dh,StorybookLogo:Sh,Symbols:wh,SyntaxHighlighter:Ur,TT:Ch,TabBar:xh,TabButton:Th,TabWrapper:Fh,Table:Ih,Tabs:kh,TabsState:Rh,TooltipLinkList:Oh,TooltipMessage:_h,TooltipNote:Tt,UL:Bh,WithTooltip:ft,WithTooltipPure:Xn,Zoom:Qn,codeCommon:Ht,components:Zn,createCopyToClipboardFunction:Ph,getStoryHref:Nh,icons:jh,interleaveSeparators:Lh,nameSpaceClassNames:eo,resetComponents:Mh,withReset:Gt}=__STORYBOOK_COMPONENTS__});var WD,KD,YD,XD,Vi,QD,Kr,Ji,ZD,eS,tS,rS,nS,oS,aS,zi,iS,sS,lo,lS,R,uo,uS,co,cS,po=rt(()=>{q();V();J();WD=__STORYBOOK_THEMING__,{CacheProvider:KD,ClassNames:YD,Global:XD,ThemeProvider:Vi,background:QD,color:Kr,convert:Ji,create:ZD,createCache:eS,createGlobal:tS,createReset:rS,css:nS,darken:oS,ensure:aS,ignoreSsrWarning:zi,isPropValid:iS,jsx:sS,keyframes:lo,lighten:lS,styled:R,themes:uo,typography:uS,useTheme:co,withTheme:cS}=__STORYBOOK_THEMING__});var ES,vS,AS,ho,DS,SS,wS,CS,xS,TS,FS,IS,kS,RS,OS,_S,BS,PS,NS,jS,LS,MS,US,$S,qS,VS,JS,zS,HS,GS,WS,KS,YS,XS,QS,ZS,ew,tw,rw,nw,ow,aw,iw,sw,lw,uw,cw,Wi,Ki,dw,Yi,fo,pw,hw,Xi,fw,mw,yw,gw,bw,Ew,vw,Aw,Dw,Sw,ww,Cw,xw,Tw,Fw,Iw,kw,Rw,Ow,_w,Bw,Pw,Nw,jw,Lw,Mw,Uw,$w,qw,Vw,Jw,zw,Hw,Yr,Gw,Ww,Kw,Yw,Xw,Qw,Zw,Qi,Zi,eC,tC,rC,nC,oC,aC,iC,sC,lC,uC,cC,dC,pC,hC,fC,mC,yC,gC,bC,EC,vC,AC,DC,SC,wC,CC,xC,TC,FC,IC,kC,RC,OC,es,_C,BC,PC,NC,jC,LC,MC,ts,UC,$C,qC,VC,JC,zC,HC,GC,WC,KC,YC,XC,QC,ZC,ex,tx,rx,nx,ox,ax,ix,sx,lx,ux,cx,dx,px,hx,fx,mx,yx,gx,bx,Ex,vx,Ax,Dx,Sx,wx,Cx,xx,Tx,Fx,Ix,kx,Rx,Ox,_x,Bx,Px,Nx,jx,Lx,Mx,Ux,$x,qx,Vx,Jx,zx,Hx,Gx,Wx,Kx,Yx,rs,Xx,Qx,Zx,eT,tT,rT,nT,oT,aT,iT,sT,lT,uT,mo,cT,dT,pT,hT,fT,mT,yT,gT,bT,ET,ns,vT,AT,DT,ST,wT,CT,os,as,is,xT,yo=rt(()=>{q();V();J();ES=__STORYBOOK_ICONS__,{AccessibilityAltIcon:vS,AccessibilityIcon:AS,AddIcon:ho,AdminIcon:DS,AlertAltIcon:SS,AlertIcon:wS,AlignLeftIcon:CS,AlignRightIcon:xS,AppleIcon:TS,ArrowBottomLeftIcon:FS,ArrowBottomRightIcon:IS,ArrowDownIcon:kS,ArrowLeftIcon:RS,ArrowRightIcon:OS,ArrowSolidDownIcon:_S,ArrowSolidLeftIcon:BS,ArrowSolidRightIcon:PS,ArrowSolidUpIcon:NS,ArrowTopLeftIcon:jS,ArrowTopRightIcon:LS,ArrowUpIcon:MS,AzureDevOpsIcon:US,BackIcon:$S,BasketIcon:qS,BatchAcceptIcon:VS,BatchDenyIcon:JS,BeakerIcon:zS,BellIcon:HS,BitbucketIcon:GS,BoldIcon:WS,BookIcon:KS,BookmarkHollowIcon:YS,BookmarkIcon:XS,BottomBarIcon:QS,BottomBarToggleIcon:ZS,BoxIcon:ew,BranchIcon:tw,BrowserIcon:rw,ButtonIcon:nw,CPUIcon:ow,CalendarIcon:aw,CameraIcon:iw,CategoryIcon:sw,CertificateIcon:lw,ChangedIcon:uw,ChatIcon:cw,CheckIcon:Wi,ChevronDownIcon:Ki,ChevronLeftIcon:dw,ChevronRightIcon:Yi,ChevronSmallDownIcon:fo,ChevronSmallLeftIcon:pw,ChevronSmallRightIcon:hw,ChevronSmallUpIcon:Xi,ChevronUpIcon:fw,ChromaticIcon:mw,ChromeIcon:yw,CircleHollowIcon:gw,CircleIcon:bw,ClearIcon:Ew,CloseAltIcon:vw,CloseIcon:Aw,CloudHollowIcon:Dw,CloudIcon:Sw,CogIcon:ww,CollapseIcon:Cw,CommandIcon:xw,CommentAddIcon:Tw,CommentIcon:Fw,CommentsIcon:Iw,CommitIcon:kw,CompassIcon:Rw,ComponentDrivenIcon:Ow,ComponentIcon:_w,ContrastIcon:Bw,ControlsIcon:Pw,CopyIcon:Nw,CreditIcon:jw,CrossIcon:Lw,DashboardIcon:Mw,DatabaseIcon:Uw,DeleteIcon:$w,DiamondIcon:qw,DirectionIcon:Vw,DiscordIcon:Jw,DocChartIcon:zw,DocListIcon:Hw,DocumentIcon:Yr,DownloadIcon:Gw,DragIcon:Ww,EditIcon:Kw,EllipsisIcon:Yw,EmailIcon:Xw,ExpandAltIcon:Qw,ExpandIcon:Zw,EyeCloseIcon:Qi,EyeIcon:Zi,FaceHappyIcon:eC,FaceNeutralIcon:tC,FaceSadIcon:rC,FacebookIcon:nC,FailedIcon:oC,FastForwardIcon:aC,FigmaIcon:iC,FilterIcon:sC,FlagIcon:lC,FolderIcon:uC,FormIcon:cC,GDriveIcon:dC,GithubIcon:pC,GitlabIcon:hC,GlobeIcon:fC,GoogleIcon:mC,GraphBarIcon:yC,GraphLineIcon:gC,GraphqlIcon:bC,GridAltIcon:EC,GridIcon:vC,GrowIcon:AC,HeartHollowIcon:DC,HeartIcon:SC,HomeIcon:wC,HourglassIcon:CC,InfoIcon:xC,ItalicIcon:TC,JumpToIcon:FC,KeyIcon:IC,LightningIcon:kC,LightningOffIcon:RC,LinkBrokenIcon:OC,LinkIcon:es,LinkedinIcon:_C,LinuxIcon:BC,ListOrderedIcon:PC,ListUnorderedIcon:NC,LocationIcon:jC,LockIcon:LC,MarkdownIcon:MC,MarkupIcon:ts,MediumIcon:UC,MemoryIcon:$C,MenuIcon:qC,MergeIcon:VC,MirrorIcon:JC,MobileIcon:zC,MoonIcon:HC,NutIcon:GC,OutboxIcon:WC,OutlineIcon:KC,PaintBrushIcon:YC,PaperClipIcon:XC,ParagraphIcon:QC,PassedIcon:ZC,PhoneIcon:ex,PhotoDragIcon:tx,PhotoIcon:rx,PinAltIcon:nx,PinIcon:ox,PlayAllHollowIcon:ax,PlayBackIcon:ix,PlayHollowIcon:sx,PlayIcon:lx,PlayNextIcon:ux,PlusIcon:cx,PointerDefaultIcon:dx,PointerHandIcon:px,PowerIcon:hx,PrintIcon:fx,ProceedIcon:mx,ProfileIcon:yx,PullRequestIcon:gx,QuestionIcon:bx,RSSIcon:Ex,RedirectIcon:vx,ReduxIcon:Ax,RefreshIcon:Dx,ReplyIcon:Sx,RepoIcon:wx,RequestChangeIcon:Cx,RewindIcon:xx,RulerIcon:Tx,SaveIcon:Fx,SearchIcon:Ix,ShareAltIcon:kx,ShareIcon:Rx,ShieldIcon:Ox,SideBySideIcon:_x,SidebarAltIcon:Bx,SidebarAltToggleIcon:Px,SidebarIcon:Nx,SidebarToggleIcon:jx,SpeakerIcon:Lx,StackedIcon:Mx,StarHollowIcon:Ux,StarIcon:$x,StatusFailIcon:qx,StatusPassIcon:Vx,StatusWarnIcon:Jx,StickerIcon:zx,StopAltHollowIcon:Hx,StopAltIcon:Gx,StopIcon:Wx,StorybookIcon:Kx,StructureIcon:Yx,SubtractIcon:rs,SunIcon:Xx,SupportIcon:Qx,SwitchAltIcon:Zx,SyncIcon:eT,TabletIcon:tT,ThumbsUpIcon:rT,TimeIcon:nT,TimerIcon:oT,TransferIcon:aT,TrashIcon:iT,TwitterIcon:sT,TypeIcon:lT,UbuntuIcon:uT,UndoIcon:mo,UnfoldIcon:cT,UnlockIcon:dT,UnpinIcon:pT,UploadIcon:hT,UserAddIcon:fT,UserAltIcon:mT,UserIcon:yT,UsersIcon:gT,VSCodeIcon:bT,VerifiedIcon:ET,VideoIcon:ns,WandIcon:vT,WatchIcon:AT,WindowsIcon:DT,WrenchIcon:ST,XIcon:wT,YoutubeIcon:CT,ZoomIcon:os,ZoomOutIcon:as,ZoomResetIcon:is,iconList:xT}=__STORYBOOK_ICONS__});var fu=Rp((yn,hu)=>{q();V();J();(function(e,t){typeof yn=="object"&&typeof hu<"u"?t(yn):typeof define=="function"&&define.amd?define(["exports"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.jtpp={}))})(yn,function(e){"use strict";function t(u){return u.text!==void 0&&u.text!==""?`'${u.type}' with value '${u.text}'`:`'${u.type}'`}class r extends Error{constructor(m){super(`No parslet found for token: ${t(m)}`),this.token=m,Object.setPrototypeOf(this,r.prototype)}getToken(){return this.token}}class n extends Error{constructor(m){super(`The parsing ended early. The next token was: ${t(m)}`),this.token=m,Object.setPrototypeOf(this,n.prototype)}getToken(){return this.token}}class o extends Error{constructor(m,E){let I=`Unexpected type: '${m.type}'.`;E!==void 0&&(I+=` Message: ${E}`),super(I),Object.setPrototypeOf(this,o.prototype)}}function a(u){return m=>m.startsWith(u)?{type:u,text:u}:null}function i(u){let m=0,E,I=u[0],N=!1;if(I!=="'"&&I!=='"')return null;for(;m{let m=c(u);return m==null?null:{type:"Identifier",text:m}};function y(u){return m=>{if(!m.startsWith(u))return null;let E=m[u.length];return E!==void 0&&l.test(E)?null:{type:u,text:u}}}let g=u=>{let m=i(u);return m==null?null:{type:"StringValue",text:m}},A=u=>u.length>0?null:{type:"EOF",text:""},v=u=>{let m=h(u);return m===null?null:{type:"Number",text:m}},S=[A,a("=>"),a("("),a(")"),a("{"),a("}"),a("["),a("]"),a("|"),a("&"),a("<"),a(">"),a(","),a(";"),a("*"),a("?"),a("!"),a("="),a(":"),a("..."),a("."),a("#"),a("~"),a("/"),a("@"),y("undefined"),y("null"),y("function"),y("this"),y("new"),y("module"),y("event"),y("external"),y("typeof"),y("keyof"),y("readonly"),y("import"),y("is"),y("in"),y("asserts"),v,d,g],w=/^\s*\n\s*/;class x{static create(m){let E=this.read(m);m=E.text;let I=this.read(m);return m=I.text,new x(m,void 0,E.token,I.token)}constructor(m,E,I,N){this.text="",this.text=m,this.previous=E,this.current=I,this.next=N}static read(m,E=!1){E=E||w.test(m),m=m.trim();for(let I of S){let N=I(m);if(N!==null){let H=Object.assign(Object.assign({},N),{startOfLine:E});return m=m.slice(H.text.length),{text:m,token:H}}}throw new Error("Unexpected Token "+m)}advance(){let m=x.read(this.text);return new x(m.text,this.current,this.next,m.token)}}function C(u){if(u===void 0)throw new Error("Unexpected undefined");if(u.type==="JsdocTypeKeyValue"||u.type==="JsdocTypeParameterList"||u.type==="JsdocTypeProperty"||u.type==="JsdocTypeReadonlyProperty"||u.type==="JsdocTypeObjectField"||u.type==="JsdocTypeJsdocObjectField"||u.type==="JsdocTypeIndexSignature"||u.type==="JsdocTypeMappedType")throw new o(u);return u}function k(u){return u.type==="JsdocTypeKeyValue"?_(u):C(u)}function F(u){return u.type==="JsdocTypeName"?u:_(u)}function _(u){if(u.type!=="JsdocTypeKeyValue")throw new o(u);return u}function j(u){var m;if(u.type==="JsdocTypeVariadic"){if(((m=u.element)===null||m===void 0?void 0:m.type)==="JsdocTypeName")return u;throw new o(u)}if(u.type!=="JsdocTypeNumber"&&u.type!=="JsdocTypeName")throw new o(u);return u}function M(u){return u.type==="JsdocTypeIndexSignature"||u.type==="JsdocTypeMappedType"}var P;(function(u){u[u.ALL=0]="ALL",u[u.PARAMETER_LIST=1]="PARAMETER_LIST",u[u.OBJECT=2]="OBJECT",u[u.KEY_VALUE=3]="KEY_VALUE",u[u.INDEX_BRACKETS=4]="INDEX_BRACKETS",u[u.UNION=5]="UNION",u[u.INTERSECTION=6]="INTERSECTION",u[u.PREFIX=7]="PREFIX",u[u.INFIX=8]="INFIX",u[u.TUPLE=9]="TUPLE",u[u.SYMBOL=10]="SYMBOL",u[u.OPTIONAL=11]="OPTIONAL",u[u.NULLABLE=12]="NULLABLE",u[u.KEY_OF_TYPE_OF=13]="KEY_OF_TYPE_OF",u[u.FUNCTION=14]="FUNCTION",u[u.ARROW=15]="ARROW",u[u.ARRAY_BRACKETS=16]="ARRAY_BRACKETS",u[u.GENERIC=17]="GENERIC",u[u.NAME_PATH=18]="NAME_PATH",u[u.PARENTHESIS=19]="PARENTHESIS",u[u.SPECIAL_TYPES=20]="SPECIAL_TYPES"})(P||(P={}));class W{constructor(m,E,I){this.grammar=m,typeof E=="string"?this._lexer=x.create(E):this._lexer=E,this.baseParser=I}get lexer(){return this._lexer}parse(){let m=this.parseType(P.ALL);if(this.lexer.current.type!=="EOF")throw new n(this.lexer.current);return m}parseType(m){return C(this.parseIntermediateType(m))}parseIntermediateType(m){let E=this.tryParslets(null,m);if(E===null)throw new r(this.lexer.current);return this.parseInfixIntermediateType(E,m)}parseInfixIntermediateType(m,E){let I=this.tryParslets(m,E);for(;I!==null;)m=I,I=this.tryParslets(m,E);return m}tryParslets(m,E){for(let I of this.grammar){let N=I(this,E,m);if(N!==null)return N}return null}consume(m){return Array.isArray(m)||(m=[m]),m.includes(this.lexer.current.type)?(this._lexer=this.lexer.advance(),!0):!1}acceptLexerState(m){this._lexer=m.lexer}}function L(u){return u==="EOF"||u==="|"||u===","||u===")"||u===">"}let z=(u,m,E)=>{let I=u.lexer.current.type,N=u.lexer.next.type;return E==null&&I==="?"&&!L(N)||E!=null&&I==="?"?(u.consume("?"),E==null?{type:"JsdocTypeNullable",element:u.parseType(P.NULLABLE),meta:{position:"prefix"}}:{type:"JsdocTypeNullable",element:C(E),meta:{position:"suffix"}}):null};function D(u){let m=(E,I,N)=>{let H=E.lexer.current.type,Y=E.lexer.next.type;if(N===null){if("parsePrefix"in u&&u.accept(H,Y))return u.parsePrefix(E)}else if("parseInfix"in u&&u.precedence>I&&u.accept(H,Y))return u.parseInfix(E,N);return null};return Object.defineProperty(m,"name",{value:u.name}),m}let T=D({name:"optionalParslet",accept:u=>u==="=",precedence:P.OPTIONAL,parsePrefix:u=>(u.consume("="),{type:"JsdocTypeOptional",element:u.parseType(P.OPTIONAL),meta:{position:"prefix"}}),parseInfix:(u,m)=>(u.consume("="),{type:"JsdocTypeOptional",element:C(m),meta:{position:"suffix"}})}),O=D({name:"numberParslet",accept:u=>u==="Number",parsePrefix:u=>{let m=parseFloat(u.lexer.current.text);return u.consume("Number"),{type:"JsdocTypeNumber",value:m}}}),U=D({name:"parenthesisParslet",accept:u=>u==="(",parsePrefix:u=>{if(u.consume("("),u.consume(")"))return{type:"JsdocTypeParameterList",elements:[]};let m=u.parseIntermediateType(P.ALL);if(!u.consume(")"))throw new Error("Unterminated parenthesis");return m.type==="JsdocTypeParameterList"?m:m.type==="JsdocTypeKeyValue"?{type:"JsdocTypeParameterList",elements:[m]}:{type:"JsdocTypeParenthesis",element:C(m)}}}),$=D({name:"specialTypesParslet",accept:(u,m)=>u==="?"&&L(m)||u==="null"||u==="undefined"||u==="*",parsePrefix:u=>{if(u.consume("null"))return{type:"JsdocTypeNull"};if(u.consume("undefined"))return{type:"JsdocTypeUndefined"};if(u.consume("*"))return{type:"JsdocTypeAny"};if(u.consume("?"))return{type:"JsdocTypeUnknown"};throw new Error("Unacceptable token: "+u.lexer.current.text)}}),X=D({name:"notNullableParslet",accept:u=>u==="!",precedence:P.NULLABLE,parsePrefix:u=>(u.consume("!"),{type:"JsdocTypeNotNullable",element:u.parseType(P.NULLABLE),meta:{position:"prefix"}}),parseInfix:(u,m)=>(u.consume("!"),{type:"JsdocTypeNotNullable",element:C(m),meta:{position:"suffix"}})});function se({allowTrailingComma:u}){return D({name:"parameterListParslet",accept:m=>m===",",precedence:P.PARAMETER_LIST,parseInfix:(m,E)=>{let I=[k(E)];m.consume(",");do try{let N=m.parseIntermediateType(P.PARAMETER_LIST);I.push(k(N))}catch(N){if(u&&N instanceof r)break;throw N}while(m.consume(","));if(I.length>0&&I.slice(0,-1).some(N=>N.type==="JsdocTypeVariadic"))throw new Error("Only the last parameter may be a rest parameter");return{type:"JsdocTypeParameterList",elements:I}}})}let te=D({name:"genericParslet",accept:(u,m)=>u==="<"||u==="."&&m==="<",precedence:P.GENERIC,parseInfix:(u,m)=>{let E=u.consume(".");u.consume("<");let I=[];do I.push(u.parseType(P.PARAMETER_LIST));while(u.consume(","));if(!u.consume(">"))throw new Error("Unterminated generic parameter list");return{type:"JsdocTypeGeneric",left:C(m),elements:I,meta:{brackets:"angle",dot:E}}}}),Q=D({name:"unionParslet",accept:u=>u==="|",precedence:P.UNION,parseInfix:(u,m)=>{u.consume("|");let E=[];do E.push(u.parseType(P.UNION));while(u.consume("|"));return{type:"JsdocTypeUnion",elements:[C(m),...E]}}}),re=[z,T,O,U,$,X,se({allowTrailingComma:!0}),te,Q,T];function ve({allowSquareBracketsOnAnyType:u,allowJsdocNamePaths:m,pathGrammar:E}){return function(N,H,Y){if(Y==null||H>=P.NAME_PATH)return null;let ne=N.lexer.current.type,ke=N.lexer.next.type;if(!(ne==="."&&ke!=="<"||ne==="["&&(u||Y.type==="JsdocTypeName")||m&&(ne==="~"||ne==="#")))return null;let qe,Lr=!1;N.consume(".")?qe="property":N.consume("[")?(qe="property-brackets",Lr=!0):N.consume("~")?qe="inner":(N.consume("#"),qe="instance");let ti=E!==null?new W(E,N.lexer,N):N,tt=ti.parseIntermediateType(P.NAME_PATH);N.acceptLexerState(ti);let fr;switch(tt.type){case"JsdocTypeName":fr={type:"JsdocTypeProperty",value:tt.value,meta:{quote:void 0}};break;case"JsdocTypeNumber":fr={type:"JsdocTypeProperty",value:tt.value.toString(10),meta:{quote:void 0}};break;case"JsdocTypeStringValue":fr={type:"JsdocTypeProperty",value:tt.value,meta:{quote:tt.meta.quote}};break;case"JsdocTypeSpecialNamePath":if(tt.specialType==="event")fr=tt;else throw new o(tt,"Type 'JsdocTypeSpecialNamePath' is only allowed with specialType 'event'");break;default:throw new o(tt,"Expecting 'JsdocTypeName', 'JsdocTypeNumber', 'JsdocStringValue' or 'JsdocTypeSpecialNamePath'")}if(Lr&&!N.consume("]")){let ri=N.lexer.current;throw new Error(`Unterminated square brackets. Next token is '${ri.type}' with text '${ri.text}'`)}return{type:"JsdocTypeNamePath",left:C(Y),right:fr,pathType:qe}}}function de({allowedAdditionalTokens:u}){return D({name:"nameParslet",accept:m=>m==="Identifier"||m==="this"||m==="new"||u.includes(m),parsePrefix:m=>{let{type:E,text:I}=m.lexer.current;return m.consume(E),{type:"JsdocTypeName",value:I}}})}let Fe=D({name:"stringValueParslet",accept:u=>u==="StringValue",parsePrefix:u=>{let m=u.lexer.current.text;return u.consume("StringValue"),{type:"JsdocTypeStringValue",value:m.slice(1,-1),meta:{quote:m[0]==="'"?"single":"double"}}}});function le({pathGrammar:u,allowedTypes:m}){return D({name:"specialNamePathParslet",accept:E=>m.includes(E),parsePrefix:E=>{let I=E.lexer.current.type;if(E.consume(I),!E.consume(":"))return{type:"JsdocTypeName",value:I};let N,H=E.lexer.current;if(E.consume("StringValue"))N={type:"JsdocTypeSpecialNamePath",value:H.text.slice(1,-1),specialType:I,meta:{quote:H.text[0]==="'"?"single":"double"}};else{let ke="",we=["Identifier","@","/"];for(;we.some(qe=>E.consume(qe));)ke+=H.text,H=E.lexer.current;N={type:"JsdocTypeSpecialNamePath",value:ke,specialType:I,meta:{quote:void 0}}}let Y=new W(u,E.lexer,E),ne=Y.parseInfixIntermediateType(N,P.ALL);return E.acceptLexerState(Y),C(ne)}})}let He=[de({allowedAdditionalTokens:["external","module"]}),Fe,O,ve({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:null})],Ue=[...He,le({allowedTypes:["event"],pathGrammar:He})];function et(u){let m;if(u.type==="JsdocTypeParameterList")m=u.elements;else if(u.type==="JsdocTypeParenthesis")m=[u.element];else throw new o(u);return m.map(E=>k(E))}function dr(u){let m=et(u);if(m.some(E=>E.type==="JsdocTypeKeyValue"))throw new Error("No parameter should be named");return m}function $t({allowNamedParameters:u,allowNoReturnType:m,allowWithoutParenthesis:E,allowNewAsFunctionKeyword:I}){return D({name:"functionParslet",accept:(N,H)=>N==="function"||I&&N==="new"&&H==="(",parsePrefix:N=>{let H=N.consume("new");N.consume("function");let Y=N.lexer.current.type==="(";if(!Y){if(!E)throw new Error("function is missing parameter list");return{type:"JsdocTypeName",value:"function"}}let ne={type:"JsdocTypeFunction",parameters:[],arrow:!1,constructor:H,parenthesis:Y},ke=N.parseIntermediateType(P.FUNCTION);if(u===void 0)ne.parameters=dr(ke);else{if(H&&ke.type==="JsdocTypeFunction"&&ke.arrow)return ne=ke,ne.constructor=!0,ne;ne.parameters=et(ke);for(let we of ne.parameters)if(we.type==="JsdocTypeKeyValue"&&!u.includes(we.key))throw new Error(`only allowed named parameters are ${u.join(", ")} but got ${we.type}`)}if(N.consume(":"))ne.returnType=N.parseType(P.PREFIX);else if(!m)throw new Error("function is missing return type");return ne}})}function pr({allowPostfix:u,allowEnclosingBrackets:m}){return D({name:"variadicParslet",accept:E=>E==="...",precedence:P.PREFIX,parsePrefix:E=>{E.consume("...");let I=m&&E.consume("[");try{let N=E.parseType(P.PREFIX);if(I&&!E.consume("]"))throw new Error("Unterminated variadic type. Missing ']'");return{type:"JsdocTypeVariadic",element:C(N),meta:{position:"prefix",squareBrackets:I}}}catch(N){if(N instanceof r){if(I)throw new Error("Empty square brackets for variadic are not allowed.");return{type:"JsdocTypeVariadic",meta:{position:void 0,squareBrackets:!1}}}else throw N}},parseInfix:u?(E,I)=>(E.consume("..."),{type:"JsdocTypeVariadic",element:C(I),meta:{position:"suffix",squareBrackets:!1}}):void 0})}let Pr=D({name:"symbolParslet",accept:u=>u==="(",precedence:P.SYMBOL,parseInfix:(u,m)=>{if(m.type!=="JsdocTypeName")throw new Error("Symbol expects a name on the left side. (Reacting on '(')");u.consume("(");let E={type:"JsdocTypeSymbol",value:m.value};if(!u.consume(")")){let I=u.parseIntermediateType(P.SYMBOL);if(E.element=j(I),!u.consume(")"))throw new Error("Symbol does not end after value")}return E}}),Ne=D({name:"arrayBracketsParslet",precedence:P.ARRAY_BRACKETS,accept:(u,m)=>u==="["&&m==="]",parseInfix:(u,m)=>(u.consume("["),u.consume("]"),{type:"JsdocTypeGeneric",left:{type:"JsdocTypeName",value:"Array"},elements:[C(m)],meta:{brackets:"square",dot:!1}})});function Be({objectFieldGrammar:u,allowKeyTypes:m}){return D({name:"objectParslet",accept:E=>E==="{",parsePrefix:E=>{E.consume("{");let I={type:"JsdocTypeObject",meta:{separator:"comma"},elements:[]};if(!E.consume("}")){let N,H=new W(u,E.lexer,E);for(;;){H.acceptLexerState(E);let Y=H.parseIntermediateType(P.OBJECT);E.acceptLexerState(H),Y===void 0&&m&&(Y=E.parseIntermediateType(P.OBJECT));let ne=!1;if(Y.type==="JsdocTypeNullable"&&(ne=!0,Y=Y.element),Y.type==="JsdocTypeNumber"||Y.type==="JsdocTypeName"||Y.type==="JsdocTypeStringValue"){let we;Y.type==="JsdocTypeStringValue"&&(we=Y.meta.quote),I.elements.push({type:"JsdocTypeObjectField",key:Y.value.toString(),right:void 0,optional:ne,readonly:!1,meta:{quote:we}})}else if(Y.type==="JsdocTypeObjectField"||Y.type==="JsdocTypeJsdocObjectField")I.elements.push(Y);else throw new o(Y);if(E.lexer.current.startOfLine)N="linebreak";else if(E.consume(","))N="comma";else if(E.consume(";"))N="semicolon";else break;if(E.lexer.current.type==="}")break}if(I.meta.separator=N??"comma",!E.consume("}"))throw new Error("Unterminated record type. Missing '}'")}return I}})}function lt({allowSquaredProperties:u,allowKeyTypes:m,allowReadonly:E,allowOptional:I}){return D({name:"objectFieldParslet",precedence:P.KEY_VALUE,accept:N=>N===":",parseInfix:(N,H)=>{var Y;let ne=!1,ke=!1;I&&H.type==="JsdocTypeNullable"&&(ne=!0,H=H.element),E&&H.type==="JsdocTypeReadonlyProperty"&&(ke=!0,H=H.element);let we=(Y=N.baseParser)!==null&&Y!==void 0?Y:N;if(we.acceptLexerState(N),H.type==="JsdocTypeNumber"||H.type==="JsdocTypeName"||H.type==="JsdocTypeStringValue"||M(H)){if(M(H)&&!u)throw new o(H);we.consume(":");let qe;H.type==="JsdocTypeStringValue"&&(qe=H.meta.quote);let Lr=we.parseType(P.KEY_VALUE);return N.acceptLexerState(we),{type:"JsdocTypeObjectField",key:M(H)?H:H.value.toString(),right:Lr,optional:ne,readonly:ke,meta:{quote:qe}}}else{if(!m)throw new o(H);we.consume(":");let qe=we.parseType(P.KEY_VALUE);return N.acceptLexerState(we),{type:"JsdocTypeJsdocObjectField",left:C(H),right:qe}}}})}function qt({allowOptional:u,allowVariadic:m}){return D({name:"keyValueParslet",precedence:P.KEY_VALUE,accept:E=>E===":",parseInfix:(E,I)=>{let N=!1,H=!1;if(u&&I.type==="JsdocTypeNullable"&&(N=!0,I=I.element),m&&I.type==="JsdocTypeVariadic"&&I.element!==void 0&&(H=!0,I=I.element),I.type!=="JsdocTypeName")throw new o(I);E.consume(":");let Y=E.parseType(P.KEY_VALUE);return{type:"JsdocTypeKeyValue",key:I.value,right:Y,optional:N,variadic:H}}})}let Nr=[...re,$t({allowWithoutParenthesis:!0,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),Fe,le({allowedTypes:["module","external","event"],pathGrammar:Ue}),pr({allowEnclosingBrackets:!0,allowPostfix:!0}),de({allowedAdditionalTokens:["keyof"]}),Pr,Ne,ve({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:Ue})],jn=[...Nr,Be({objectFieldGrammar:[de({allowedAdditionalTokens:["module","in"]}),lt({allowSquaredProperties:!1,allowKeyTypes:!0,allowOptional:!1,allowReadonly:!1}),...Nr],allowKeyTypes:!0}),qt({allowOptional:!0,allowVariadic:!0})],Ya=D({name:"typeOfParslet",accept:u=>u==="typeof",parsePrefix:u=>(u.consume("typeof"),{type:"JsdocTypeTypeof",element:C(u.parseType(P.KEY_OF_TYPE_OF))})}),rp=[de({allowedAdditionalTokens:["module","keyof","event","external","in"]}),z,T,Fe,O,lt({allowSquaredProperties:!1,allowKeyTypes:!1,allowOptional:!1,allowReadonly:!1})],np=[...re,Be({allowKeyTypes:!1,objectFieldGrammar:rp}),de({allowedAdditionalTokens:["event","external","in"]}),Ya,$t({allowWithoutParenthesis:!1,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),pr({allowEnclosingBrackets:!1,allowPostfix:!1}),de({allowedAdditionalTokens:["keyof"]}),le({allowedTypes:["module"],pathGrammar:Ue}),ve({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:Ue}),qt({allowOptional:!1,allowVariadic:!1}),Pr],op=D({name:"assertsParslet",accept:u=>u==="asserts",parsePrefix:u=>{u.consume("asserts");let m=u.parseIntermediateType(P.SYMBOL);if(m.type!=="JsdocTypeName")throw new o(m,"A typescript asserts always has to have a name on the left side.");return u.consume("is"),{type:"JsdocTypeAsserts",left:m,right:C(u.parseIntermediateType(P.INFIX))}}});function ap({allowQuestionMark:u}){return D({name:"tupleParslet",accept:m=>m==="[",parsePrefix:m=>{m.consume("[");let E={type:"JsdocTypeTuple",elements:[]};if(m.consume("]"))return E;let I=m.parseIntermediateType(P.ALL);if(I.type==="JsdocTypeParameterList"?I.elements[0].type==="JsdocTypeKeyValue"?E.elements=I.elements.map(_):E.elements=I.elements.map(C):I.type==="JsdocTypeKeyValue"?E.elements=[_(I)]:E.elements=[C(I)],!m.consume("]"))throw new Error("Unterminated '['");if(!u&&E.elements.some(N=>N.type==="JsdocTypeUnknown"))throw new Error("Question mark in tuple not allowed");return E}})}let ip=D({name:"keyOfParslet",accept:u=>u==="keyof",parsePrefix:u=>(u.consume("keyof"),{type:"JsdocTypeKeyof",element:C(u.parseType(P.KEY_OF_TYPE_OF))})}),sp=D({name:"importParslet",accept:u=>u==="import",parsePrefix:u=>{if(u.consume("import"),!u.consume("("))throw new Error("Missing parenthesis after import keyword");let m=u.parseType(P.PREFIX);if(m.type!=="JsdocTypeStringValue")throw new Error("Only string values are allowed as paths for imports");if(!u.consume(")"))throw new Error("Missing closing parenthesis after import keyword");return{type:"JsdocTypeImport",element:m}}}),lp=D({name:"readonlyPropertyParslet",accept:u=>u==="readonly",parsePrefix:u=>(u.consume("readonly"),{type:"JsdocTypeReadonlyProperty",element:u.parseType(P.KEY_VALUE)})}),up=D({name:"arrowFunctionParslet",precedence:P.ARROW,accept:u=>u==="=>",parseInfix:(u,m)=>(u.consume("=>"),{type:"JsdocTypeFunction",parameters:et(m).map(F),arrow:!0,constructor:!1,parenthesis:!0,returnType:u.parseType(P.OBJECT)})}),cp=D({name:"intersectionParslet",accept:u=>u==="&",precedence:P.INTERSECTION,parseInfix:(u,m)=>{u.consume("&");let E=[];do E.push(u.parseType(P.INTERSECTION));while(u.consume("&"));return{type:"JsdocTypeIntersection",elements:[C(m),...E]}}}),dp=D({name:"predicateParslet",precedence:P.INFIX,accept:u=>u==="is",parseInfix:(u,m)=>{if(m.type!=="JsdocTypeName")throw new o(m,"A typescript predicate always has to have a name on the left side.");return u.consume("is"),{type:"JsdocTypePredicate",left:m,right:C(u.parseIntermediateType(P.INFIX))}}}),pp=D({name:"objectSquareBracketPropertyParslet",accept:u=>u==="[",parsePrefix:u=>{if(u.baseParser===void 0)throw new Error("Only allowed inside object grammar");u.consume("[");let m=u.lexer.current.text;u.consume("Identifier");let E;if(u.consume(":")){let I=u.baseParser;I.acceptLexerState(u),E={type:"JsdocTypeIndexSignature",key:m,right:I.parseType(P.INDEX_BRACKETS)},u.acceptLexerState(I)}else if(u.consume("in")){let I=u.baseParser;I.acceptLexerState(u),E={type:"JsdocTypeMappedType",key:m,right:I.parseType(P.ARRAY_BRACKETS)},u.acceptLexerState(I)}else throw new Error("Missing ':' or 'in' inside square bracketed property.");if(!u.consume("]"))throw new Error("Unterminated square brackets");return E}}),hp=[lp,de({allowedAdditionalTokens:["module","event","keyof","event","external","in"]}),z,T,Fe,O,lt({allowSquaredProperties:!0,allowKeyTypes:!1,allowOptional:!0,allowReadonly:!0}),pp],fp=[...re,Be({allowKeyTypes:!1,objectFieldGrammar:hp}),Ya,ip,sp,Fe,$t({allowWithoutParenthesis:!0,allowNoReturnType:!1,allowNamedParameters:["this","new","args"],allowNewAsFunctionKeyword:!0}),ap({allowQuestionMark:!1}),pr({allowEnclosingBrackets:!1,allowPostfix:!1}),op,de({allowedAdditionalTokens:["event","external","in"]}),le({allowedTypes:["module"],pathGrammar:Ue}),Ne,up,ve({allowSquareBracketsOnAnyType:!0,allowJsdocNamePaths:!1,pathGrammar:Ue}),cp,dp,qt({allowVariadic:!0,allowOptional:!0})];function Xa(u,m){switch(m){case"closure":return new W(np,u).parse();case"jsdoc":return new W(jn,u).parse();case"typescript":return new W(fp,u).parse()}}function mp(u,m=["typescript","closure","jsdoc"]){let E;for(let I of m)try{return Xa(u,I)}catch(N){E=N}throw E}function hr(u,m){let E=u[m.type];if(E===void 0)throw new Error(`In this set of transform rules exists no rule for type ${m.type}.`);return E(m,I=>hr(u,I))}function Ie(u){throw new Error("This transform is not available. Are you trying the correct parsing mode?")}function Qa(u){let m={params:[]};for(let E of u.parameters)E.type==="JsdocTypeKeyValue"?E.key==="this"?m.this=E.right:E.key==="new"?m.new=E.right:m.params.push(E):m.params.push(E);return m}function jr(u,m,E){return u==="prefix"?E+m:m+E}function ut(u,m){switch(m){case"double":return`"${u}"`;case"single":return`'${u}'`;case void 0:return u}}function Za(){return{JsdocTypeParenthesis:(u,m)=>`(${u.element!==void 0?m(u.element):""})`,JsdocTypeKeyof:(u,m)=>`keyof ${m(u.element)}`,JsdocTypeFunction:(u,m)=>{if(u.arrow){if(u.returnType===void 0)throw new Error("Arrow function needs a return type.");let E=`(${u.parameters.map(m).join(", ")}) => ${m(u.returnType)}`;return u.constructor&&(E="new "+E),E}else{let E=u.constructor?"new":"function";return u.parenthesis&&(E+=`(${u.parameters.map(m).join(", ")})`,u.returnType!==void 0&&(E+=`: ${m(u.returnType)}`)),E}},JsdocTypeName:u=>u.value,JsdocTypeTuple:(u,m)=>`[${u.elements.map(m).join(", ")}]`,JsdocTypeVariadic:(u,m)=>u.meta.position===void 0?"...":jr(u.meta.position,m(u.element),"..."),JsdocTypeNamePath:(u,m)=>{let E=m(u.left),I=m(u.right);switch(u.pathType){case"inner":return`${E}~${I}`;case"instance":return`${E}#${I}`;case"property":return`${E}.${I}`;case"property-brackets":return`${E}[${I}]`}},JsdocTypeStringValue:u=>ut(u.value,u.meta.quote),JsdocTypeAny:()=>"*",JsdocTypeGeneric:(u,m)=>{if(u.meta.brackets==="square"){let E=u.elements[0],I=m(E);return E.type==="JsdocTypeUnion"||E.type==="JsdocTypeIntersection"?`(${I})[]`:`${I}[]`}else return`${m(u.left)}${u.meta.dot?".":""}<${u.elements.map(m).join(", ")}>`},JsdocTypeImport:(u,m)=>`import(${m(u.element)})`,JsdocTypeObjectField:(u,m)=>{let E="";return u.readonly&&(E+="readonly "),typeof u.key=="string"?E+=ut(u.key,u.meta.quote):E+=m(u.key),u.optional&&(E+="?"),u.right===void 0?E:E+`: ${m(u.right)}`},JsdocTypeJsdocObjectField:(u,m)=>`${m(u.left)}: ${m(u.right)}`,JsdocTypeKeyValue:(u,m)=>{let E=u.key;return u.optional&&(E+="?"),u.variadic&&(E="..."+E),u.right===void 0?E:E+`: ${m(u.right)}`},JsdocTypeSpecialNamePath:u=>`${u.specialType}:${ut(u.value,u.meta.quote)}`,JsdocTypeNotNullable:(u,m)=>jr(u.meta.position,m(u.element),"!"),JsdocTypeNull:()=>"null",JsdocTypeNullable:(u,m)=>jr(u.meta.position,m(u.element),"?"),JsdocTypeNumber:u=>u.value.toString(),JsdocTypeObject:(u,m)=>`{${u.elements.map(m).join((u.meta.separator==="comma"?",":";")+" ")}}`,JsdocTypeOptional:(u,m)=>jr(u.meta.position,m(u.element),"="),JsdocTypeSymbol:(u,m)=>`${u.value}(${u.element!==void 0?m(u.element):""})`,JsdocTypeTypeof:(u,m)=>`typeof ${m(u.element)}`,JsdocTypeUndefined:()=>"undefined",JsdocTypeUnion:(u,m)=>u.elements.map(m).join(" | "),JsdocTypeUnknown:()=>"?",JsdocTypeIntersection:(u,m)=>u.elements.map(m).join(" & "),JsdocTypeProperty:u=>ut(u.value,u.meta.quote),JsdocTypePredicate:(u,m)=>`${m(u.left)} is ${m(u.right)}`,JsdocTypeIndexSignature:(u,m)=>`[${u.key}: ${m(u.right)}]`,JsdocTypeMappedType:(u,m)=>`[${u.key} in ${m(u.right)}]`,JsdocTypeAsserts:(u,m)=>`asserts ${m(u.left)} is ${m(u.right)}`}}let yp=Za();function gp(u){return hr(yp,u)}let bp=["null","true","false","break","case","catch","class","const","continue","debugger","default","delete","do","else","export","extends","finally","for","function","if","import","in","instanceof","new","return","super","switch","this","throw","try","typeof","var","void","while","with","yield"];function ct(u){let m={type:"NameExpression",name:u};return bp.includes(u)&&(m.reservedWord=!0),m}let Ep={JsdocTypeOptional:(u,m)=>{let E=m(u.element);return E.optional=!0,E},JsdocTypeNullable:(u,m)=>{let E=m(u.element);return E.nullable=!0,E},JsdocTypeNotNullable:(u,m)=>{let E=m(u.element);return E.nullable=!1,E},JsdocTypeVariadic:(u,m)=>{if(u.element===void 0)throw new Error("dots without value are not allowed in catharsis mode");let E=m(u.element);return E.repeatable=!0,E},JsdocTypeAny:()=>({type:"AllLiteral"}),JsdocTypeNull:()=>({type:"NullLiteral"}),JsdocTypeStringValue:u=>ct(ut(u.value,u.meta.quote)),JsdocTypeUndefined:()=>({type:"UndefinedLiteral"}),JsdocTypeUnknown:()=>({type:"UnknownLiteral"}),JsdocTypeFunction:(u,m)=>{let E=Qa(u),I={type:"FunctionType",params:E.params.map(m)};return E.this!==void 0&&(I.this=m(E.this)),E.new!==void 0&&(I.new=m(E.new)),u.returnType!==void 0&&(I.result=m(u.returnType)),I},JsdocTypeGeneric:(u,m)=>({type:"TypeApplication",applications:u.elements.map(E=>m(E)),expression:m(u.left)}),JsdocTypeSpecialNamePath:u=>ct(u.specialType+":"+ut(u.value,u.meta.quote)),JsdocTypeName:u=>u.value!=="function"?ct(u.value):{type:"FunctionType",params:[]},JsdocTypeNumber:u=>ct(u.value.toString()),JsdocTypeObject:(u,m)=>{let E={type:"RecordType",fields:[]};for(let I of u.elements)I.type!=="JsdocTypeObjectField"&&I.type!=="JsdocTypeJsdocObjectField"?E.fields.push({type:"FieldType",key:m(I),value:void 0}):E.fields.push(m(I));return E},JsdocTypeObjectField:(u,m)=>{if(typeof u.key!="string")throw new Error("Index signatures and mapped types are not supported");return{type:"FieldType",key:ct(ut(u.key,u.meta.quote)),value:u.right===void 0?void 0:m(u.right)}},JsdocTypeJsdocObjectField:(u,m)=>({type:"FieldType",key:m(u.left),value:m(u.right)}),JsdocTypeUnion:(u,m)=>({type:"TypeUnion",elements:u.elements.map(E=>m(E))}),JsdocTypeKeyValue:(u,m)=>({type:"FieldType",key:ct(u.key),value:u.right===void 0?void 0:m(u.right)}),JsdocTypeNamePath:(u,m)=>{let E=m(u.left),I;u.right.type==="JsdocTypeSpecialNamePath"?I=m(u.right).name:I=ut(u.right.value,u.right.meta.quote);let N=u.pathType==="inner"?"~":u.pathType==="instance"?"#":".";return ct(`${E.name}${N}${I}`)},JsdocTypeSymbol:u=>{let m="",E=u.element,I=!1;return E?.type==="JsdocTypeVariadic"&&(E.meta.position==="prefix"?m="...":I=!0,E=E.element),E?.type==="JsdocTypeName"?m+=E.value:E?.type==="JsdocTypeNumber"&&(m+=E.value.toString()),I&&(m+="..."),ct(`${u.value}(${m})`)},JsdocTypeParenthesis:(u,m)=>m(C(u.element)),JsdocTypeMappedType:Ie,JsdocTypeIndexSignature:Ie,JsdocTypeImport:Ie,JsdocTypeKeyof:Ie,JsdocTypeTuple:Ie,JsdocTypeTypeof:Ie,JsdocTypeIntersection:Ie,JsdocTypeProperty:Ie,JsdocTypePredicate:Ie,JsdocTypeAsserts:Ie};function vp(u){return hr(Ep,u)}function wt(u){switch(u){case void 0:return"none";case"single":return"single";case"double":return"double"}}function Ap(u){switch(u){case"inner":return"INNER_MEMBER";case"instance":return"INSTANCE_MEMBER";case"property":return"MEMBER";case"property-brackets":return"MEMBER"}}function Ln(u,m){return m.length===2?{type:u,left:m[0],right:m[1]}:{type:u,left:m[0],right:Ln(u,m.slice(1))}}let Dp={JsdocTypeOptional:(u,m)=>({type:"OPTIONAL",value:m(u.element),meta:{syntax:u.meta.position==="prefix"?"PREFIX_EQUAL_SIGN":"SUFFIX_EQUALS_SIGN"}}),JsdocTypeNullable:(u,m)=>({type:"NULLABLE",value:m(u.element),meta:{syntax:u.meta.position==="prefix"?"PREFIX_QUESTION_MARK":"SUFFIX_QUESTION_MARK"}}),JsdocTypeNotNullable:(u,m)=>({type:"NOT_NULLABLE",value:m(u.element),meta:{syntax:u.meta.position==="prefix"?"PREFIX_BANG":"SUFFIX_BANG"}}),JsdocTypeVariadic:(u,m)=>{let E={type:"VARIADIC",meta:{syntax:u.meta.position==="prefix"?"PREFIX_DOTS":u.meta.position==="suffix"?"SUFFIX_DOTS":"ONLY_DOTS"}};return u.element!==void 0&&(E.value=m(u.element)),E},JsdocTypeName:u=>({type:"NAME",name:u.value}),JsdocTypeTypeof:(u,m)=>({type:"TYPE_QUERY",name:m(u.element)}),JsdocTypeTuple:(u,m)=>({type:"TUPLE",entries:u.elements.map(m)}),JsdocTypeKeyof:(u,m)=>({type:"KEY_QUERY",value:m(u.element)}),JsdocTypeImport:u=>({type:"IMPORT",path:{type:"STRING_VALUE",quoteStyle:wt(u.element.meta.quote),string:u.element.value}}),JsdocTypeUndefined:()=>({type:"NAME",name:"undefined"}),JsdocTypeAny:()=>({type:"ANY"}),JsdocTypeFunction:(u,m)=>{let E=Qa(u),I={type:u.arrow?"ARROW":"FUNCTION",params:E.params.map(N=>{if(N.type==="JsdocTypeKeyValue"){if(N.right===void 0)throw new Error("Function parameter without ':' is not expected to be 'KEY_VALUE'");return{type:"NAMED_PARAMETER",name:N.key,typeName:m(N.right)}}else return m(N)}),new:null,returns:null};return E.this!==void 0?I.this=m(E.this):u.arrow||(I.this=null),E.new!==void 0&&(I.new=m(E.new)),u.returnType!==void 0&&(I.returns=m(u.returnType)),I},JsdocTypeGeneric:(u,m)=>{let E={type:"GENERIC",subject:m(u.left),objects:u.elements.map(m),meta:{syntax:u.meta.brackets==="square"?"SQUARE_BRACKET":u.meta.dot?"ANGLE_BRACKET_WITH_DOT":"ANGLE_BRACKET"}};return u.meta.brackets==="square"&&u.elements[0].type==="JsdocTypeFunction"&&!u.elements[0].parenthesis&&(E.objects[0]={type:"NAME",name:"function"}),E},JsdocTypeObjectField:(u,m)=>{if(typeof u.key!="string")throw new Error("Index signatures and mapped types are not supported");if(u.right===void 0)return{type:"RECORD_ENTRY",key:u.key,quoteStyle:wt(u.meta.quote),value:null,readonly:!1};let E=m(u.right);return u.optional&&(E={type:"OPTIONAL",value:E,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:u.key.toString(),quoteStyle:wt(u.meta.quote),value:E,readonly:!1}},JsdocTypeJsdocObjectField:()=>{throw new Error("Keys may not be typed in jsdoctypeparser.")},JsdocTypeKeyValue:(u,m)=>{if(u.right===void 0)return{type:"RECORD_ENTRY",key:u.key,quoteStyle:"none",value:null,readonly:!1};let E=m(u.right);return u.optional&&(E={type:"OPTIONAL",value:E,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:u.key,quoteStyle:"none",value:E,readonly:!1}},JsdocTypeObject:(u,m)=>{let E=[];for(let I of u.elements)(I.type==="JsdocTypeObjectField"||I.type==="JsdocTypeJsdocObjectField")&&E.push(m(I));return{type:"RECORD",entries:E}},JsdocTypeSpecialNamePath:u=>{if(u.specialType!=="module")throw new Error(`jsdoctypeparser does not support type ${u.specialType} at this point.`);return{type:"MODULE",value:{type:"FILE_PATH",quoteStyle:wt(u.meta.quote),path:u.value}}},JsdocTypeNamePath:(u,m)=>{let E=!1,I,N;u.right.type==="JsdocTypeSpecialNamePath"&&u.right.specialType==="event"?(E=!0,I=u.right.value,N=wt(u.right.meta.quote)):(I=u.right.value,N=wt(u.right.meta.quote));let H={type:Ap(u.pathType),owner:m(u.left),name:I,quoteStyle:N,hasEventPrefix:E};if(H.owner.type==="MODULE"){let Y=H.owner;return H.owner=H.owner.value,Y.value=H,Y}else return H},JsdocTypeUnion:(u,m)=>Ln("UNION",u.elements.map(m)),JsdocTypeParenthesis:(u,m)=>({type:"PARENTHESIS",value:m(C(u.element))}),JsdocTypeNull:()=>({type:"NAME",name:"null"}),JsdocTypeUnknown:()=>({type:"UNKNOWN"}),JsdocTypeStringValue:u=>({type:"STRING_VALUE",quoteStyle:wt(u.meta.quote),string:u.value}),JsdocTypeIntersection:(u,m)=>Ln("INTERSECTION",u.elements.map(m)),JsdocTypeNumber:u=>({type:"NUMBER_VALUE",number:u.value.toString()}),JsdocTypeSymbol:Ie,JsdocTypeProperty:Ie,JsdocTypePredicate:Ie,JsdocTypeMappedType:Ie,JsdocTypeIndexSignature:Ie,JsdocTypeAsserts:Ie};function Sp(u){return hr(Dp,u)}function wp(){return{JsdocTypeIntersection:(u,m)=>({type:"JsdocTypeIntersection",elements:u.elements.map(m)}),JsdocTypeGeneric:(u,m)=>({type:"JsdocTypeGeneric",left:m(u.left),elements:u.elements.map(m),meta:{dot:u.meta.dot,brackets:u.meta.brackets}}),JsdocTypeNullable:u=>u,JsdocTypeUnion:(u,m)=>({type:"JsdocTypeUnion",elements:u.elements.map(m)}),JsdocTypeUnknown:u=>u,JsdocTypeUndefined:u=>u,JsdocTypeTypeof:(u,m)=>({type:"JsdocTypeTypeof",element:m(u.element)}),JsdocTypeSymbol:(u,m)=>{let E={type:"JsdocTypeSymbol",value:u.value};return u.element!==void 0&&(E.element=m(u.element)),E},JsdocTypeOptional:(u,m)=>({type:"JsdocTypeOptional",element:m(u.element),meta:{position:u.meta.position}}),JsdocTypeObject:(u,m)=>({type:"JsdocTypeObject",meta:{separator:"comma"},elements:u.elements.map(m)}),JsdocTypeNumber:u=>u,JsdocTypeNull:u=>u,JsdocTypeNotNullable:(u,m)=>({type:"JsdocTypeNotNullable",element:m(u.element),meta:{position:u.meta.position}}),JsdocTypeSpecialNamePath:u=>u,JsdocTypeObjectField:(u,m)=>({type:"JsdocTypeObjectField",key:u.key,right:u.right===void 0?void 0:m(u.right),optional:u.optional,readonly:u.readonly,meta:u.meta}),JsdocTypeJsdocObjectField:(u,m)=>({type:"JsdocTypeJsdocObjectField",left:m(u.left),right:m(u.right)}),JsdocTypeKeyValue:(u,m)=>({type:"JsdocTypeKeyValue",key:u.key,right:u.right===void 0?void 0:m(u.right),optional:u.optional,variadic:u.variadic}),JsdocTypeImport:(u,m)=>({type:"JsdocTypeImport",element:m(u.element)}),JsdocTypeAny:u=>u,JsdocTypeStringValue:u=>u,JsdocTypeNamePath:u=>u,JsdocTypeVariadic:(u,m)=>{let E={type:"JsdocTypeVariadic",meta:{position:u.meta.position,squareBrackets:u.meta.squareBrackets}};return u.element!==void 0&&(E.element=m(u.element)),E},JsdocTypeTuple:(u,m)=>({type:"JsdocTypeTuple",elements:u.elements.map(m)}),JsdocTypeName:u=>u,JsdocTypeFunction:(u,m)=>{let E={type:"JsdocTypeFunction",arrow:u.arrow,parameters:u.parameters.map(m),constructor:u.constructor,parenthesis:u.parenthesis};return u.returnType!==void 0&&(E.returnType=m(u.returnType)),E},JsdocTypeKeyof:(u,m)=>({type:"JsdocTypeKeyof",element:m(u.element)}),JsdocTypeParenthesis:(u,m)=>({type:"JsdocTypeParenthesis",element:m(u.element)}),JsdocTypeProperty:u=>u,JsdocTypePredicate:(u,m)=>({type:"JsdocTypePredicate",left:m(u.left),right:m(u.right)}),JsdocTypeIndexSignature:(u,m)=>({type:"JsdocTypeIndexSignature",key:u.key,right:m(u.right)}),JsdocTypeMappedType:(u,m)=>({type:"JsdocTypeMappedType",key:u.key,right:m(u.right)}),JsdocTypeAsserts:(u,m)=>({type:"JsdocTypeAsserts",left:m(u.left),right:m(u.right)})}}let ei={JsdocTypeAny:[],JsdocTypeFunction:["parameters","returnType"],JsdocTypeGeneric:["left","elements"],JsdocTypeImport:[],JsdocTypeIndexSignature:["right"],JsdocTypeIntersection:["elements"],JsdocTypeKeyof:["element"],JsdocTypeKeyValue:["right"],JsdocTypeMappedType:["right"],JsdocTypeName:[],JsdocTypeNamePath:["left","right"],JsdocTypeNotNullable:["element"],JsdocTypeNull:[],JsdocTypeNullable:["element"],JsdocTypeNumber:[],JsdocTypeObject:["elements"],JsdocTypeObjectField:["right"],JsdocTypeJsdocObjectField:["left","right"],JsdocTypeOptional:["element"],JsdocTypeParenthesis:["element"],JsdocTypeSpecialNamePath:[],JsdocTypeStringValue:[],JsdocTypeSymbol:["element"],JsdocTypeTuple:["elements"],JsdocTypeTypeof:["element"],JsdocTypeUndefined:[],JsdocTypeUnion:["elements"],JsdocTypeUnknown:[],JsdocTypeVariadic:["element"],JsdocTypeProperty:[],JsdocTypePredicate:["left","right"],JsdocTypeAsserts:["left","right"]};function Mn(u,m,E,I,N){I?.(u,m,E);let H=ei[u.type];for(let Y of H){let ne=u[Y];if(ne!==void 0)if(Array.isArray(ne))for(let ke of ne)Mn(ke,u,Y,I,N);else Mn(ne,u,Y,I,N)}N?.(u,m,E)}function Cp(u,m,E){Mn(u,void 0,void 0,m,E)}e.catharsisTransform=vp,e.identityTransformRules=wp,e.jtpTransform=Sp,e.parse=Xa,e.stringify=gp,e.stringifyRules=Za,e.transform=hr,e.traverse=Cp,e.tryParse=mp,e.visitorKeys=ei})});var kc={};ni(kc,{ColorControl:()=>Ic,default:()=>gg});function Nt(){return(Nt=Object.assign||function(e){for(var t=1;t=0||(o[r]=e[r]);return o}function pa(e){var t=Pe(e),r=Pe(function(n){t.current&&t.current(n)});return t.current=e,r.current}function Cc(e,t,r){var n=pa(r),o=Z(function(){return e.toHsva(t)}),a=o[0],i=o[1],s=Pe({color:t,hsva:a});xe(function(){if(!e.equal(t,s.current.color)){var c=e.toHsva(t);s.current={hsva:c,color:t},i(c)}},[t,e]),xe(function(){var c;Sc(a,s.current.hsva)||e.equal(c=e.fromHsva(a),s.current.color)||(s.current={hsva:a,color:c},n(c))},[a,e,n]);var l=Ce(function(c){i(function(p){return Object.assign({},p,c)})},[]);return[a,l]}var Oy,gc,_y,By,Je,or,Tr,ha,pc,hc,ba,Fr,Ea,Se,Py,Ny,fa,jy,Ly,My,Uy,bc,ma,An,Ec,$y,bn,qy,vc,Ac,Dc,Sc,wc,Vy,Jy,zy,fc,xc,Hy,Gy,Wy,Ky,Tc,Yy,Xy,Qy,Zy,eg,tg,rg,ng,og,ag,ig,mc,sg,lg,Fc,En,ug,cg,dg,ya,pg,hg,vn,yc,nr,fg,mg,Dn,yg,Ic,gg,Rc=rt(()=>{q();V();J();$n();Mr();$r();po();yo();Oy=$e({"../../node_modules/color-name/index.js"(e,t){t.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]}}}),gc=$e({"../../node_modules/color-convert/conversions.js"(e,t){var r=Oy(),n={};for(let i of Object.keys(r))n[r[i]]=i;var o={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"]}};t.exports=o;for(let i of Object.keys(o)){if(!("channels"in o[i]))throw new Error("missing channels property: "+i);if(!("labels"in o[i]))throw new Error("missing channel labels property: "+i);if(o[i].labels.length!==o[i].channels)throw new Error("channel and label counts mismatch: "+i);let{channels:s,labels:l}=o[i];delete o[i].channels,delete o[i].labels,Object.defineProperty(o[i],"channels",{value:s}),Object.defineProperty(o[i],"labels",{value:l})}o.rgb.hsl=function(i){let s=i[0]/255,l=i[1]/255,c=i[2]/255,p=Math.min(s,l,c),h=Math.max(s,l,c),d=h-p,y,g;h===p?y=0:s===h?y=(l-c)/d:l===h?y=2+(c-s)/d:c===h&&(y=4+(s-l)/d),y=Math.min(y*60,360),y<0&&(y+=360);let A=(p+h)/2;return h===p?g=0:A<=.5?g=d/(h+p):g=d/(2-h-p),[y,g*100,A*100]},o.rgb.hsv=function(i){let s,l,c,p,h,d=i[0]/255,y=i[1]/255,g=i[2]/255,A=Math.max(d,y,g),v=A-Math.min(d,y,g),S=function(w){return(A-w)/6/v+1/2};return v===0?(p=0,h=0):(h=v/A,s=S(d),l=S(y),c=S(g),d===A?p=c-l:y===A?p=1/3+s-c:g===A&&(p=2/3+l-s),p<0?p+=1:p>1&&(p-=1)),[p*360,h*100,A*100]},o.rgb.hwb=function(i){let s=i[0],l=i[1],c=i[2],p=o.rgb.hsl(i)[0],h=1/255*Math.min(s,Math.min(l,c));return c=1-1/255*Math.max(s,Math.max(l,c)),[p,h*100,c*100]},o.rgb.cmyk=function(i){let s=i[0]/255,l=i[1]/255,c=i[2]/255,p=Math.min(1-s,1-l,1-c),h=(1-s-p)/(1-p)||0,d=(1-l-p)/(1-p)||0,y=(1-c-p)/(1-p)||0;return[h*100,d*100,y*100,p*100]};function a(i,s){return(i[0]-s[0])**2+(i[1]-s[1])**2+(i[2]-s[2])**2}o.rgb.keyword=function(i){let s=n[i];if(s)return s;let l=1/0,c;for(let p of Object.keys(r)){let h=r[p],d=a(i,h);d.04045?((s+.055)/1.055)**2.4:s/12.92,l=l>.04045?((l+.055)/1.055)**2.4:l/12.92,c=c>.04045?((c+.055)/1.055)**2.4:c/12.92;let p=s*.4124+l*.3576+c*.1805,h=s*.2126+l*.7152+c*.0722,d=s*.0193+l*.1192+c*.9505;return[p*100,h*100,d*100]},o.rgb.lab=function(i){let s=o.rgb.xyz(i),l=s[0],c=s[1],p=s[2];l/=95.047,c/=100,p/=108.883,l=l>.008856?l**(1/3):7.787*l+16/116,c=c>.008856?c**(1/3):7.787*c+16/116,p=p>.008856?p**(1/3):7.787*p+16/116;let h=116*c-16,d=500*(l-c),y=200*(c-p);return[h,d,y]},o.hsl.rgb=function(i){let s=i[0]/360,l=i[1]/100,c=i[2]/100,p,h,d;if(l===0)return d=c*255,[d,d,d];c<.5?p=c*(1+l):p=c+l-c*l;let y=2*c-p,g=[0,0,0];for(let A=0;A<3;A++)h=s+1/3*-(A-1),h<0&&h++,h>1&&h--,6*h<1?d=y+(p-y)*6*h:2*h<1?d=p:3*h<2?d=y+(p-y)*(2/3-h)*6:d=y,g[A]=d*255;return g},o.hsl.hsv=function(i){let s=i[0],l=i[1]/100,c=i[2]/100,p=l,h=Math.max(c,.01);c*=2,l*=c<=1?c:2-c,p*=h<=1?h:2-h;let d=(c+l)/2,y=c===0?2*p/(h+p):2*l/(c+l);return[s,y*100,d*100]},o.hsv.rgb=function(i){let s=i[0]/60,l=i[1]/100,c=i[2]/100,p=Math.floor(s)%6,h=s-Math.floor(s),d=255*c*(1-l),y=255*c*(1-l*h),g=255*c*(1-l*(1-h));switch(c*=255,p){case 0:return[c,g,d];case 1:return[y,c,d];case 2:return[d,c,g];case 3:return[d,y,c];case 4:return[g,d,c];case 5:return[c,d,y]}},o.hsv.hsl=function(i){let s=i[0],l=i[1]/100,c=i[2]/100,p=Math.max(c,.01),h,d;d=(2-l)*c;let y=(2-l)*p;return h=l*p,h/=y<=1?y:2-y,h=h||0,d/=2,[s,h*100,d*100]},o.hwb.rgb=function(i){let s=i[0]/360,l=i[1]/100,c=i[2]/100,p=l+c,h;p>1&&(l/=p,c/=p);let d=Math.floor(6*s),y=1-c;h=6*s-d,(d&1)!==0&&(h=1-h);let g=l+h*(y-l),A,v,S;switch(d){default:case 6:case 0:A=y,v=g,S=l;break;case 1:A=g,v=y,S=l;break;case 2:A=l,v=y,S=g;break;case 3:A=l,v=g,S=y;break;case 4:A=g,v=l,S=y;break;case 5:A=y,v=l,S=g;break}return[A*255,v*255,S*255]},o.cmyk.rgb=function(i){let s=i[0]/100,l=i[1]/100,c=i[2]/100,p=i[3]/100,h=1-Math.min(1,s*(1-p)+p),d=1-Math.min(1,l*(1-p)+p),y=1-Math.min(1,c*(1-p)+p);return[h*255,d*255,y*255]},o.xyz.rgb=function(i){let s=i[0]/100,l=i[1]/100,c=i[2]/100,p,h,d;return p=s*3.2406+l*-1.5372+c*-.4986,h=s*-.9689+l*1.8758+c*.0415,d=s*.0557+l*-.204+c*1.057,p=p>.0031308?1.055*p**(1/2.4)-.055:p*12.92,h=h>.0031308?1.055*h**(1/2.4)-.055:h*12.92,d=d>.0031308?1.055*d**(1/2.4)-.055:d*12.92,p=Math.min(Math.max(0,p),1),h=Math.min(Math.max(0,h),1),d=Math.min(Math.max(0,d),1),[p*255,h*255,d*255]},o.xyz.lab=function(i){let s=i[0],l=i[1],c=i[2];s/=95.047,l/=100,c/=108.883,s=s>.008856?s**(1/3):7.787*s+16/116,l=l>.008856?l**(1/3):7.787*l+16/116,c=c>.008856?c**(1/3):7.787*c+16/116;let p=116*l-16,h=500*(s-l),d=200*(l-c);return[p,h,d]},o.lab.xyz=function(i){let s=i[0],l=i[1],c=i[2],p,h,d;h=(s+16)/116,p=l/500+h,d=h-c/200;let y=h**3,g=p**3,A=d**3;return h=y>.008856?y:(h-16/116)/7.787,p=g>.008856?g:(p-16/116)/7.787,d=A>.008856?A:(d-16/116)/7.787,p*=95.047,h*=100,d*=108.883,[p,h,d]},o.lab.lch=function(i){let s=i[0],l=i[1],c=i[2],p;p=Math.atan2(c,l)*360/2/Math.PI,p<0&&(p+=360);let h=Math.sqrt(l*l+c*c);return[s,h,p]},o.lch.lab=function(i){let s=i[0],l=i[1],c=i[2]/360*2*Math.PI,p=l*Math.cos(c),h=l*Math.sin(c);return[s,p,h]},o.rgb.ansi16=function(i,s=null){let[l,c,p]=i,h=s===null?o.rgb.hsv(i)[2]:s;if(h=Math.round(h/50),h===0)return 30;let d=30+(Math.round(p/255)<<2|Math.round(c/255)<<1|Math.round(l/255));return h===2&&(d+=60),d},o.hsv.ansi16=function(i){return o.rgb.ansi16(o.hsv.rgb(i),i[2])},o.rgb.ansi256=function(i){let s=i[0],l=i[1],c=i[2];return s===l&&l===c?s<8?16:s>248?231:Math.round((s-8)/247*24)+232:16+36*Math.round(s/255*5)+6*Math.round(l/255*5)+Math.round(c/255*5)},o.ansi16.rgb=function(i){let s=i%10;if(s===0||s===7)return i>50&&(s+=3.5),s=s/10.5*255,[s,s,s];let l=(~~(i>50)+1)*.5,c=(s&1)*l*255,p=(s>>1&1)*l*255,h=(s>>2&1)*l*255;return[c,p,h]},o.ansi256.rgb=function(i){if(i>=232){let h=(i-232)*10+8;return[h,h,h]}i-=16;let s,l=Math.floor(i/36)/5*255,c=Math.floor((s=i%36)/6)/5*255,p=s%6/5*255;return[l,c,p]},o.rgb.hex=function(i){let s=(((Math.round(i[0])&255)<<16)+((Math.round(i[1])&255)<<8)+(Math.round(i[2])&255)).toString(16).toUpperCase();return"000000".substring(s.length)+s},o.hex.rgb=function(i){let s=i.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!s)return[0,0,0];let l=s[0];s[0].length===3&&(l=l.split("").map(y=>y+y).join(""));let c=parseInt(l,16),p=c>>16&255,h=c>>8&255,d=c&255;return[p,h,d]},o.rgb.hcg=function(i){let s=i[0]/255,l=i[1]/255,c=i[2]/255,p=Math.max(Math.max(s,l),c),h=Math.min(Math.min(s,l),c),d=p-h,y,g;return d<1?y=h/(1-d):y=0,d<=0?g=0:p===s?g=(l-c)/d%6:p===l?g=2+(c-s)/d:g=4+(s-l)/d,g/=6,g%=1,[g*360,d*100,y*100]},o.hsl.hcg=function(i){let s=i[1]/100,l=i[2]/100,c=l<.5?2*s*l:2*s*(1-l),p=0;return c<1&&(p=(l-.5*c)/(1-c)),[i[0],c*100,p*100]},o.hsv.hcg=function(i){let s=i[1]/100,l=i[2]/100,c=s*l,p=0;return c<1&&(p=(l-c)/(1-c)),[i[0],c*100,p*100]},o.hcg.rgb=function(i){let s=i[0]/360,l=i[1]/100,c=i[2]/100;if(l===0)return[c*255,c*255,c*255];let p=[0,0,0],h=s%1*6,d=h%1,y=1-d,g=0;switch(Math.floor(h)){case 0:p[0]=1,p[1]=d,p[2]=0;break;case 1:p[0]=y,p[1]=1,p[2]=0;break;case 2:p[0]=0,p[1]=1,p[2]=d;break;case 3:p[0]=0,p[1]=y,p[2]=1;break;case 4:p[0]=d,p[1]=0,p[2]=1;break;default:p[0]=1,p[1]=0,p[2]=y}return g=(1-l)*c,[(l*p[0]+g)*255,(l*p[1]+g)*255,(l*p[2]+g)*255]},o.hcg.hsv=function(i){let s=i[1]/100,l=i[2]/100,c=s+l*(1-s),p=0;return c>0&&(p=s/c),[i[0],p*100,c*100]},o.hcg.hsl=function(i){let s=i[1]/100,l=i[2]/100*(1-s)+.5*s,c=0;return l>0&&l<.5?c=s/(2*l):l>=.5&&l<1&&(c=s/(2*(1-l))),[i[0],c*100,l*100]},o.hcg.hwb=function(i){let s=i[1]/100,l=i[2]/100,c=s+l*(1-s);return[i[0],(c-s)*100,(1-c)*100]},o.hwb.hcg=function(i){let s=i[1]/100,l=1-i[2]/100,c=l-s,p=0;return c<1&&(p=(l-c)/(1-c)),[i[0],c*100,p*100]},o.apple.rgb=function(i){return[i[0]/65535*255,i[1]/65535*255,i[2]/65535*255]},o.rgb.apple=function(i){return[i[0]/255*65535,i[1]/255*65535,i[2]/255*65535]},o.gray.rgb=function(i){return[i[0]/100*255,i[0]/100*255,i[0]/100*255]},o.gray.hsl=function(i){return[0,0,i[0]]},o.gray.hsv=o.gray.hsl,o.gray.hwb=function(i){return[0,100,i[0]]},o.gray.cmyk=function(i){return[0,0,0,i[0]]},o.gray.lab=function(i){return[i[0],0,0]},o.gray.hex=function(i){let s=Math.round(i[0]/100*255)&255,l=((s<<16)+(s<<8)+s).toString(16).toUpperCase();return"000000".substring(l.length)+l},o.rgb.gray=function(i){return[(i[0]+i[1]+i[2])/3/255*100]}}}),_y=$e({"../../node_modules/color-convert/route.js"(e,t){var r=gc();function n(){let s={},l=Object.keys(r);for(let c=l.length,p=0;p1&&(p=h),l(p))};return"conversion"in l&&(c.conversion=l.conversion),c}function s(l){let c=function(...p){let h=p[0];if(h==null)return h;h.length>1&&(p=h);let d=l(p);if(typeof d=="object")for(let y=d.length,g=0;g{o[l]={},Object.defineProperty(o[l],"channels",{value:r[l].channels}),Object.defineProperty(o[l],"labels",{value:r[l].labels});let c=n(l);Object.keys(c).forEach(p=>{let h=c[p];o[l][p]=s(h),o[l][p].raw=i(h)})}),t.exports=o}}),Je=zt(By());or=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e0:v.buttons>0)&&o.current?a(pc(o.current,v,s.current)):A(!1)},g=function(){return A(!1)};function A(v){var S=l.current,w=ha(o.current),x=v?w.addEventListener:w.removeEventListener;x(S?"touchmove":"mousemove",y),x(S?"touchend":"mouseup",g)}return[function(v){var S=v.nativeEvent,w=o.current;if(w&&(hc(S),!function(C,k){return k&&!Tr(C)}(S,l.current)&&w)){if(Tr(S)){l.current=!0;var x=S.changedTouches||[];x.length&&(s.current=x[0].identifier)}w.focus(),a(pc(w,S,s.current)),A(!0)}},function(v){var S=v.which||v.keyCode;S<37||S>40||(v.preventDefault(),i({left:S===39?.05:S===37?-.05:0,top:S===40?.05:S===38?-.05:0}))},A]},[i,a]),p=c[0],h=c[1],d=c[2];return xe(function(){return d},[d]),f.createElement("div",Nt({},n,{onTouchStart:p,onMouseDown:p,className:"react-colorful__interactive",ref:o,onKeyDown:h,tabIndex:0,role:"slider"}))}),Fr=function(e){return e.filter(Boolean).join(" ")},Ea=function(e){var t=e.color,r=e.left,n=e.top,o=n===void 0?.5:n,a=Fr(["react-colorful__pointer",e.className]);return f.createElement("div",{className:a,style:{top:100*o+"%",left:100*r+"%"}},f.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},Se=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r},Py={grad:.9,turn:360,rad:360/(2*Math.PI)},Ny=function(e){return vc(fa(e))},fa=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?Se(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?Se(parseInt(e.substring(6,8),16)/255,2):1}},jy=function(e,t){return t===void 0&&(t="deg"),Number(e)*(Py[t]||1)},Ly=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?My({h:jy(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}},My=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}},Uy=function(e){return qy(Ec(e))},bc=function(e){var t=e.s,r=e.v,n=e.a,o=(200-t)*r/100;return{h:Se(e.h),s:Se(o>0&&o<200?t*r/100/(o<=100?o:200-o)*100:0),l:Se(o/2),a:Se(n,2)}},ma=function(e){var t=bc(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},An=function(e){var t=bc(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},Ec=function(e){var t=e.h,r=e.s,n=e.v,o=e.a;t=t/360*6,r/=100,n/=100;var a=Math.floor(t),i=n*(1-r),s=n*(1-(t-a)*r),l=n*(1-(1-t+a)*r),c=a%6;return{r:Se(255*[n,s,i,i,l,n][c]),g:Se(255*[l,n,n,s,i,i][c]),b:Se(255*[i,i,l,n,n,s][c]),a:Se(o,2)}},$y=function(e){var t=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?vc({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}},bn=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},qy=function(e){var t=e.r,r=e.g,n=e.b,o=e.a,a=o<1?bn(Se(255*o)):"";return"#"+bn(t)+bn(r)+bn(n)+a},vc=function(e){var t=e.r,r=e.g,n=e.b,o=e.a,a=Math.max(t,r,n),i=a-Math.min(t,r,n),s=i?a===t?(r-n)/i:a===r?2+(n-t)/i:4+(t-r)/i:0;return{h:Se(60*(s<0?s+6:s)),s:Se(a?i/a*100:0),v:Se(a/255*100),a:o}},Ac=f.memo(function(e){var t=e.hue,r=e.onChange,n=Fr(["react-colorful__hue",e.className]);return f.createElement("div",{className:n},f.createElement(ba,{onMove:function(o){r({h:360*o.left})},onKey:function(o){r({h:or(t+360*o.left,0,360)})},"aria-label":"Hue","aria-valuenow":Se(t),"aria-valuemax":"360","aria-valuemin":"0"},f.createElement(Ea,{className:"react-colorful__hue-pointer",left:t/360,color:ma({h:t,s:100,v:100,a:1})})))}),Dc=f.memo(function(e){var t=e.hsva,r=e.onChange,n={backgroundColor:ma({h:t.h,s:100,v:100,a:1})};return f.createElement("div",{className:"react-colorful__saturation",style:n},f.createElement(ba,{onMove:function(o){r({s:100*o.left,v:100-100*o.top})},onKey:function(o){r({s:or(t.s+100*o.left,0,100),v:or(t.v-100*o.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+Se(t.s)+"%, Brightness "+Se(t.v)+"%"},f.createElement(Ea,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:ma(t)})))}),Sc=function(e,t){if(e===t)return!0;for(var r in e)if(e[r]!==t[r])return!1;return!0},wc=function(e,t){return e.replace(/\s/g,"")===t.replace(/\s/g,"")},Vy=function(e,t){return e.toLowerCase()===t.toLowerCase()||Sc(fa(e),fa(t))};Jy=typeof window<"u"?yi:xe,zy=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},fc=new Map,xc=function(e){Jy(function(){var t=e.current?e.current.ownerDocument:document;if(t!==void 0&&!fc.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}`,fc.set(t,r);var n=zy();n&&r.setAttribute("nonce",n),t.head.appendChild(r)}},[])},Hy=function(e){var t=e.className,r=e.colorModel,n=e.color,o=n===void 0?r.defaultColor:n,a=e.onChange,i=ga(e,["className","colorModel","color","onChange"]),s=Pe(null);xc(s);var l=Cc(r,o,a),c=l[0],p=l[1],h=Fr(["react-colorful",t]);return f.createElement("div",Nt({},i,{ref:s,className:h}),f.createElement(Dc,{hsva:c,onChange:p}),f.createElement(Ac,{hue:c.h,onChange:p,className:"react-colorful__last-control"}))},Gy={defaultColor:"000",toHsva:Ny,fromHsva:function(e){return Uy({h:e.h,s:e.s,v:e.v,a:1})},equal:Vy},Wy=function(e){return f.createElement(Hy,Nt({},e,{colorModel:Gy}))},Ky=function(e){var t=e.className,r=e.hsva,n=e.onChange,o={backgroundImage:"linear-gradient(90deg, "+An(Object.assign({},r,{a:0}))+", "+An(Object.assign({},r,{a:1}))+")"},a=Fr(["react-colorful__alpha",t]),i=Se(100*r.a);return f.createElement("div",{className:a},f.createElement("div",{className:"react-colorful__alpha-gradient",style:o}),f.createElement(ba,{onMove:function(s){n({a:s.left})},onKey:function(s){n({a:or(r.a+s.left)})},"aria-label":"Alpha","aria-valuetext":i+"%","aria-valuenow":i,"aria-valuemin":"0","aria-valuemax":"100"},f.createElement(Ea,{className:"react-colorful__alpha-pointer",left:r.a,color:An(r)})))},Tc=function(e){var t=e.className,r=e.colorModel,n=e.color,o=n===void 0?r.defaultColor:n,a=e.onChange,i=ga(e,["className","colorModel","color","onChange"]),s=Pe(null);xc(s);var l=Cc(r,o,a),c=l[0],p=l[1],h=Fr(["react-colorful",t]);return f.createElement("div",Nt({},i,{ref:s,className:h}),f.createElement(Dc,{hsva:c,onChange:p}),f.createElement(Ac,{hue:c.h,onChange:p}),f.createElement(Ky,{hsva:c,onChange:p,className:"react-colorful__last-control"}))},Yy={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:Ly,fromHsva:An,equal:wc},Xy=function(e){return f.createElement(Tc,Nt({},e,{colorModel:Yy}))},Qy={defaultColor:"rgba(0, 0, 0, 1)",toHsva:$y,fromHsva:function(e){var t=Ec(e);return"rgba("+t.r+", "+t.g+", "+t.b+", "+t.a+")"},equal:wc},Zy=function(e){return f.createElement(Tc,Nt({},e,{colorModel:Qy}))},eg=R.div({position:"relative",maxWidth:250,'&[aria-readonly="true"]':{opacity:.5}}),tg=R(ft)({position:"absolute",zIndex:1,top:4,left:4,"[aria-readonly=true] &":{cursor:"not-allowed"}}),rg=R.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"}}),ng=R(Tt)(({theme:e})=>({fontFamily:e.typography.fonts.base})),og=R.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),ag=R.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})),ig=`url('data:image/svg+xml;charset=utf-8,')`,mc=({value:e,style:t,...r})=>{let n=`linear-gradient(${e}, ${e}), ${ig}, linear-gradient(#fff, #fff)`;return f.createElement(ag,{...r,style:{...t,backgroundImage:n}})},sg=R(Ge.Input)(({theme:e,readOnly:t})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:e.typography.fonts.base})),lg=R(ts)(({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})),Fc=(e=>(e.RGB="rgb",e.HSL="hsl",e.HEX="hex",e))(Fc||{}),En=Object.values(Fc),ug=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,cg=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,dg=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,ya=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,pg=/^\s*#?([0-9a-f]{3})\s*$/i,hg={hex:Wy,rgb:Zy,hsl:Xy},vn={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},yc=e=>{let t=e?.match(ug);if(!t)return[0,0,0,1];let[,r,n,o,a=1]=t;return[r,n,o,a].map(Number)},nr=e=>{if(!e)return;let t=!0;if(cg.test(e)){let[i,s,l,c]=yc(e),[p,h,d]=Je.default.rgb.hsl([i,s,l])||[0,0,0];return{valid:t,value:e,keyword:Je.default.rgb.keyword([i,s,l]),colorSpace:"rgb",rgb:e,hsl:`hsla(${p}, ${h}%, ${d}%, ${c})`,hex:`#${Je.default.rgb.hex([i,s,l]).toLowerCase()}`}}if(dg.test(e)){let[i,s,l,c]=yc(e),[p,h,d]=Je.default.hsl.rgb([i,s,l])||[0,0,0];return{valid:t,value:e,keyword:Je.default.hsl.keyword([i,s,l]),colorSpace:"hsl",rgb:`rgba(${p}, ${h}, ${d}, ${c})`,hsl:e,hex:`#${Je.default.hsl.hex([i,s,l]).toLowerCase()}`}}let r=e.replace("#",""),n=Je.default.keyword.rgb(r)||Je.default.hex.rgb(r),o=Je.default.rgb.hsl(n),a=e;if(/[^#a-f0-9]/i.test(e)?a=r:ya.test(e)&&(a=`#${r}`),a.startsWith("#"))t=ya.test(a);else try{Je.default.keyword.hex(a)}catch{t=!1}return{valid:t,value:a,keyword:Je.default.rgb.keyword(n),colorSpace:"hex",rgb:`rgba(${n[0]}, ${n[1]}, ${n[2]}, 1)`,hsl:`hsla(${o[0]}, ${o[1]}%, ${o[2]}%, 1)`,hex:a}},fg=(e,t,r)=>{if(!e||!t?.valid)return vn[r];if(r!=="hex")return t?.[r]||vn[r];if(!t.hex.startsWith("#"))try{return`#${Je.default.keyword.hex(t.hex)}`}catch{return vn.hex}let n=t.hex.match(pg);if(!n)return ya.test(t.hex)?t.hex:vn.hex;let[o,a,i]=n[1].split("");return`#${o}${o}${a}${a}${i}${i}`},mg=(e,t)=>{let[r,n]=Z(e||""),[o,a]=Z(()=>nr(r)),[i,s]=Z(o?.colorSpace||"hex");xe(()=>{let h=e||"",d=nr(h);n(h),a(d),s(d?.colorSpace||"hex")},[e]);let l=pt(()=>fg(r,o,i).toLowerCase(),[r,o,i]),c=Ce(h=>{let d=nr(h),y=d?.value||h||"";n(y),y===""&&(a(void 0),t(void 0)),d&&(a(d),s(d.colorSpace),t(d.value))},[t]),p=Ce(()=>{let h=En.indexOf(i)+1;h>=En.length&&(h=0),s(En[h]);let d=o?.[En[h]]||"";n(d),t(d)},[o,i,t]);return{value:r,realValue:l,updateValue:c,color:o,colorSpace:i,cycleColorSpace:p}},Dn=e=>e.replace(/\s*/,"").toLowerCase(),yg=(e,t,r)=>{let[n,o]=Z(t?.valid?[t]:[]);xe(()=>{t===void 0&&o([])},[t]);let a=pt(()=>(e||[]).map(s=>typeof s=="string"?nr(s):s.title?{...nr(s.color),keyword:s.title}:nr(s.color)).concat(n).filter(Boolean).slice(-27),[e,n]),i=Ce(s=>{s?.valid&&(a.some(l=>Dn(l[r])===Dn(s[r]))||o(l=>l.concat(s)))},[r,a]);return{presets:a,addPreset:i}},Ic=({name:e,value:t,onChange:r,onFocus:n,onBlur:o,presetColors:a,startOpen:i=!1,argType:s})=>{let l=Ce(si(r,200),[r]),{value:c,realValue:p,updateValue:h,color:d,colorSpace:y,cycleColorSpace:g}=mg(t,l),{presets:A,addPreset:v}=yg(a,d,y),S=hg[y],w=!!s?.table?.readonly;return f.createElement(eg,{"aria-readonly":w},f.createElement(tg,{startOpen:i,trigger:w?[null]:void 0,closeOnOutsideClick:!0,onVisibleChange:()=>v(d),tooltip:f.createElement(rg,null,f.createElement(S,{color:p==="transparent"?"#000000":p,onChange:h,onFocus:n,onBlur:o}),A.length>0&&f.createElement(og,null,A.map((x,C)=>f.createElement(ft,{key:`${x.value}-${C}`,hasChrome:!1,tooltip:f.createElement(ng,{note:x.keyword||x.value})},f.createElement(mc,{value:x[y],active:d&&Dn(x[y])===Dn(d[y]),onClick:()=>h(x.value)})))))},f.createElement(mc,{value:p,style:{margin:4}})),f.createElement(sg,{id:Le(e),value:c,onChange:x=>h(x.target.value),onFocus:x=>x.target.select(),readOnly:w,placeholder:"Choose color..."}),c?f.createElement(lg,{onClick:g}):null)},gg=Ic});q();V();J();q();V();J();q();V();J();$n();Mr();Mr();$r();q();V();J();q();V();J();var OA=__STORYBOOK_CORE_EVENTS__,{ARGTYPES_INFO_REQUEST:bi,ARGTYPES_INFO_RESPONSE:to,CHANNEL_CREATED:_A,CHANNEL_WS_DISCONNECT:BA,CONFIG_ERROR:Ei,CREATE_NEW_STORYFILE_REQUEST:PA,CREATE_NEW_STORYFILE_RESPONSE:NA,CURRENT_STORY_WAS_SET:ro,DOCS_PREPARED:vi,DOCS_RENDERED:qr,FILE_COMPONENT_SEARCH_REQUEST:jA,FILE_COMPONENT_SEARCH_RESPONSE:LA,FORCE_REMOUNT:Ai,FORCE_RE_RENDER:Vr,GLOBALS_UPDATED:Wt,NAVIGATE_URL:Di,PLAY_FUNCTION_THREW_EXCEPTION:Si,PRELOAD_ENTRIES:wi,PREVIEW_BUILDER_PROGRESS:MA,PREVIEW_KEYDOWN:Ci,REGISTER_SUBSCRIPTION:UA,REQUEST_WHATS_NEW_DATA:$A,RESET_STORY_ARGS:Jr,RESULT_WHATS_NEW_DATA:qA,SAVE_STORY_REQUEST:no,SAVE_STORY_RESPONSE:zr,SELECT_STORY:VA,SET_CONFIG:JA,SET_CURRENT_STORY:xi,SET_FILTER:zA,SET_GLOBALS:Ti,SET_INDEX:HA,SET_STORIES:GA,SET_WHATS_NEW_CACHE:WA,SHARED_STATE_CHANGED:KA,SHARED_STATE_SET:YA,STORIES_COLLAPSE_ALL:XA,STORIES_EXPAND_ALL:QA,STORY_ARGS_UPDATED:Fi,STORY_CHANGED:Ii,STORY_ERRORED:ki,STORY_FINISHED:oo,STORY_INDEX_INVALIDATED:Ri,STORY_MISSING:ao,STORY_PREPARED:Oi,STORY_RENDERED:br,STORY_RENDER_PHASE_CHANGED:Kt,STORY_SPECIFIED:_i,STORY_THREW_EXCEPTION:Bi,STORY_UNCHANGED:Pi,TELEMETRY_ERROR:ZA,TESTING_MODULE_CANCEL_TEST_RUN_REQUEST:eD,TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE:tD,TESTING_MODULE_CRASH_REPORT:rD,TESTING_MODULE_PROGRESS_REPORT:nD,TESTING_MODULE_RUN_ALL_REQUEST:oD,TESTING_MODULE_RUN_REQUEST:aD,TOGGLE_WHATS_NEW_NOTIFICATIONS:iD,UNHANDLED_ERRORS_WHILE_PLAYING:Ni,UPDATE_GLOBALS:Hr,UPDATE_QUERY_PARAMS:ji,UPDATE_STORY_ARGS:Gr}=__STORYBOOK_CORE_EVENTS__;q();V();J();var yD=__STORYBOOK_API__,{ActiveTabs:gD,Consumer:bD,ManagerContext:ED,Provider:vD,RequestResponseError:AD,addons:Wr,combineParameters:DD,controlOrMetaKey:SD,controlOrMetaSymbol:wD,eventMatchesShortcut:CD,eventToShortcut:xD,experimental_MockUniversalStore:TD,experimental_UniversalStore:FD,experimental_requestResponse:io,experimental_useUniversalStore:ID,isMacLike:kD,isShortcutTaken:RD,keyToSymbol:OD,merge:_D,mockChannel:BD,optionOrAltSymbol:PD,shortcutMatchesShortcut:ND,shortcutToHumanString:jD,types:Li,useAddonState:LD,useArgTypes:so,useArgs:Mi,useChannel:MD,useGlobalTypes:UD,useGlobals:Ui,useParameter:$i,useSharedState:$D,useStoryPrepared:qD,useStorybookApi:VD,useStorybookState:qi}=__STORYBOOK_API__;po();q();V();J();var Hi=Object.prototype.hasOwnProperty;function Gi(e,t,r){for(r of e.keys())if(Ft(r,t))return r}function Ft(e,t){var r,n,o;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--&&Ft(e[n],t[n]););return n===-1}if(r===Set){if(e.size!==t.size)return!1;for(n of e)if(o=n,o&&typeof o=="object"&&(o=Gi(t,o),!o)||!t.has(o))return!1;return!0}if(r===Map){if(e.size!==t.size)return!1;for(n of e)if(o=n[0],o&&typeof o=="object"&&(o=Gi(t,o),!o)||!Ft(n[1],t.get(o)))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(Hi.call(e,r)&&++n&&!Hi.call(t,r)||!(r in t)||!Ft(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}yo();q();V();J();var RT=__STORYBOOK_CLIENT_LOGGER__,{deprecate:OT,logger:Xr,once:ss,pretty:_T}=__STORYBOOK_CLIENT_LOGGER__;q();V();J();q();V();J();q();V();J();q();V();J();var LT=__STORYBOOK_CHANNELS__,{Channel:Qr,HEARTBEAT_INTERVAL:MT,HEARTBEAT_MAX_LATENCY:UT,PostMessageTransport:$T,WebsocketTransport:qT,createBrowserChannel:VT}=__STORYBOOK_CHANNELS__;q();V();J();var WT=__STORYBOOK_CLIENT_LOGGER__,{deprecate:nt,logger:ee,once:mt,pretty:KT}=__STORYBOOK_CLIENT_LOGGER__;q();V();J();var Uh=Object.defineProperty,he=(e,t)=>Uh(e,"name",{value:t,configurable:!0});function fe(e){for(var t=[],r=1;r` - ${i}`).join(` +`)}`),`${o}${a!=null?` + +More info: ${a} +`:""}`}};he(ls,"StorybookError");var Ae=ls,$h=(e=>(e.BLOCKS="BLOCKS",e.DOCS_TOOLS="DOCS-TOOLS",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.FRAMEWORK_NEXTJS="FRAMEWORK_NEXTJS",e.ADDON_VITEST="ADDON_VITEST",e))($h||{}),cs=class extends Ae{constructor(t){super({category:"PREVIEW_API",code:1,message:fe` + Couldn't find story matching id '${t.storyId}' after HMR. + - Did you just rename a story? + - Did you remove it from your CSF file? + - Are you sure a story with the id '${t.storyId}' exists? + - Please check the values in the stories field of your main.js config and see if they would match your CSF File. + - Also check the browser console and terminal for potential error messages.`}),this.data=t}};he(cs,"MissingStoryAfterHmrError");var ds=cs,qh=class extends Ae{constructor(t){super({category:"PREVIEW_API",code:2,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function",message:fe` + We detected that you use an implicit action arg while ${t.phase} of your story. + ${t.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: { + ${t.name}: fn() + }`}),this.data=t}};he(qh,"ImplicitActionsDuringRendering");var ps=class extends Ae{constructor(){super({category:"PREVIEW_API",code:3,message:fe` + Cannot call \`storyStore.extract()\` without calling \`storyStore.cacheAllCsfFiles()\` first. + + You probably meant to call \`await preview.extract()\` which does the above for you.`})}};he(ps,"CalledExtractOnStoreError");var hs=ps,fs=class extends Ae{constructor(){super({category:"PREVIEW_API",code:4,message:fe` + Expected your framework's preset to export a \`renderToCanvas\` field. + + Perhaps it needs to be upgraded for Storybook 7.0?`,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#mainjs-framework-field"})}};he(fs,"MissingRenderToCanvasError");var ms=fs,ys=class extends Ae{constructor(t){super({category:"PREVIEW_API",code:5,message:fe` + Called \`Preview.${t.methodName}()\` before initialization. + + The preview needs to load the story index before most methods can be called. If you want + to call \`${t.methodName}\`, try \`await preview.initializationPromise;\` first. + + If you didn't call the above code, then likely it was called by an addon that needs to + do the above.`}),this.data=t}};he(ys,"CalledPreviewMethodBeforeInitializationError");var Me=ys,gs=class extends Ae{constructor(t){super({category:"PREVIEW_API",code:6,message:fe` + Error fetching \`/index.json\`: + + ${t.text} + + If you are in development, this likely indicates a problem with your Storybook process, + check the terminal for errors. + + If you are in a deployed Storybook, there may have been an issue deploying the full Storybook + build.`}),this.data=t}};he(gs,"StoryIndexFetchError");var bs=gs,Es=class extends Ae{constructor(t){super({category:"PREVIEW_API",code:7,message:fe` + Tried to render docs entry ${t.storyId} but it is a MDX file that has no CSF + references, or autodocs for a CSF file that some doesn't refer to itself. + + This likely is an internal error in Storybook's indexing, or you've attached the + \`attached-mdx\` tag to an MDX file that is not attached.`}),this.data=t}};he(Es,"MdxFileWithNoCsfReferencesError");var vs=Es,As=class extends Ae{constructor(){super({category:"PREVIEW_API",code:8,message:fe` + Couldn't find any stories in your Storybook. + + - Please check your stories field of your main.js config: does it match correctly? + - Also check the browser console and terminal for error messages.`})}};he(As,"EmptyIndexError");var Ds=As,Ss=class extends Ae{constructor(t){super({category:"PREVIEW_API",code:9,message:fe` + Couldn't find story matching '${t.storySpecifier}'. + + - Are you sure a story with that id exists? + - Please check your stories field of your main.js config. + - Also check the browser console and terminal for error messages.`}),this.data=t}};he(Ss,"NoStoryMatchError");var ws=Ss,Cs=class extends Ae{constructor(t){super({category:"PREVIEW_API",code:10,message:fe` + Couldn't find story matching id '${t.storyId}' after importing a CSF file. + + The file was indexed as if the story was there, but then after importing the file in the browser + we didn't find the story. Possible reasons: + - You are using a custom story indexer that is misbehaving. + - You have a custom file loader that is removing or renaming exports. + + Please check your browser console and terminal for errors that may explain the issue.`}),this.data=t}};he(Cs,"MissingStoryFromCsfFileError");var xs=Cs,Ts=class extends Ae{constructor(){super({category:"PREVIEW_API",code:11,message:fe` + Cannot access the Story Store until the index is ready. + + It is not recommended to use methods directly on the Story Store anyway, in Storybook 9 we will + remove access to the store entirely`})}};he(Ts,"StoryStoreAccessedBeforeInitializationError");var Fs=Ts,Is=class extends Ae{constructor(t){super({category:"PREVIEW_API",code:12,message:fe` + Incorrect use of mount in the play function. + + To use mount in the play function, you must satisfy the following two requirements: + + 1. You *must* destructure the mount property from the \`context\` (the argument passed to your play function). + This makes sure that Storybook does not start rendering the story before the play function begins. + + 2. Your Storybook framework or builder must be configured to transpile to ES2017 or newer. + This is because destructuring statements and async/await usages are otherwise transpiled away, + which prevents Storybook from recognizing your usage of \`mount\`. + + Note that Angular is not supported. As async/await is transpiled to support the zone.js polyfill. + + More info: https://storybook.js.org/docs/writing-tests/interaction-testing#run-code-before-the-component-gets-rendered + + Received the following play function: + ${t.playFunction}`}),this.data=t}};he(Is,"MountMustBeDestructuredError");var Zr=Is,ks=class extends Ae{constructor(t){super({category:"PREVIEW_API",code:14,message:fe` + No render function available for storyId '${t.id}' + `}),this.data=t}};he(ks,"NoRenderFunctionError");var Rs=ks,Os=class extends Ae{constructor(){super({category:"PREVIEW_API",code:15,message:fe` + No component is mounted in your story. + + This usually occurs when you destructure mount in the play function, but forget to call it. + + For example: + + async play({ mount, canvasElement }) { + // 👈 mount should be called: await mount(); + const canvas = within(canvasElement); + const button = await canvas.findByRole('button'); + await userEvent.click(button); + }; + + Make sure to either remove it or call mount in your play function. + `})}};he(Os,"NoStoryMountedError");var _s=Os,Vh=class extends Ae{constructor(){super({category:"FRAMEWORK_NEXTJS",code:1,documentation:"https://storybook.js.org/docs/get-started/nextjs#faq",message:fe` + You are importing avif images, but you don't have sharp installed. + + You have to install sharp in order to use image optimization features in Next.js. + `})}};he(Vh,"NextJsSharpError");var Jh=class extends Ae{constructor(t){super({category:"FRAMEWORK_NEXTJS",code:2,message:fe` + Tried to access router mocks from "${t.importType}" but they were not created yet. You might be running code in an unsupported environment. + `}),this.data=t}};he(Jh,"NextjsRouterMocksNotAvailable");var Bs=class extends Ae{constructor(t){super({category:"DOCS-TOOLS",code:1,documentation:"https://github.com/storybookjs/storybook/issues/26606",message:fe` + There was a failure when generating detailed ArgTypes in ${t.language} for: + ${JSON.stringify(t.type,null,2)} + + Storybook will fall back to use a generic type description instead. + + This type is either not supported or it is a bug in the docgen generation in Storybook. + If you think this is a bug, please detail it as much as possible in the Github issue. + `}),this.data=t}};he(Bs,"UnknownArgTypesError");var en=Bs,zh=class extends Ae{constructor(t){super({category:"ADDON_VITEST",code:1,message:fe` + Encountered an unsupported value "${t.value}" when setting the viewport ${t.dimension} dimension. + + The Storybook plugin only supports values in the following units: + - px, vh, vw, em, rem and %. + + You can either change the viewport for this story to use one of the supported units or skip the test by adding '!test' to the story's tags per https://storybook.js.org/docs/writing-stories/tags + `}),this.data=t}};he(zh,"UnsupportedViewportDimensionError");var Hh=Object.create,Mo=Object.defineProperty,Gh=Object.getOwnPropertyDescriptor,Wh=Object.getOwnPropertyNames,Kh=Object.getPrototypeOf,Yh=Object.prototype.hasOwnProperty,b=(e,t)=>Mo(e,"name",{value:t,configurable:!0}),tn=(e=>typeof je<"u"?je:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof je<"u"?je:t)[r]}):e)(function(e){if(typeof je<"u")return je.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),Te=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Xh=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Wh(t))!Yh.call(e,o)&&o!==r&&Mo(e,o,{get:()=>t[o],enumerable:!(n=Gh(t,o))||n.enumerable});return e},tr=(e,t,r)=>(r=e!=null?Hh(Kh(e)):{},Xh(t||!e||!e.__esModule?Mo(r,"default",{value:e,enumerable:!0}):r,e)),Ys=Te((e,t)=>{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"||typeof window<"u"?n=window:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){var r,n,o;return b(function a(i,s,l){function c(d,y){if(!s[d]){if(!i[d]){var g=typeof tn=="function"&&tn;if(!y&&g)return g(d,!0);if(p)return p(d,!0);var A=new Error("Cannot find module '"+d+"'");throw A.code="MODULE_NOT_FOUND",A}var v=s[d]={exports:{}};i[d][0].call(v.exports,function(S){var w=i[d][1][S];return c(w||S)},v,v.exports,a,i,s,l)}return s[d].exports}b(c,"s");for(var p=typeof tn=="function"&&tn,h=0;h=0)return this.lastItem=this.list[p],this.list[p].val},l.prototype.set=function(c,p){var h;return this.lastItem&&this.isEqual(this.lastItem.key,c)?(this.lastItem.val=p,this):(h=this.indexOf(c),h>=0?(this.lastItem=this.list[h],this.list[h].val=p,this):(this.lastItem={key:c,val:p},this.list.push(this.lastItem),this.size++,this))},l.prototype.delete=function(c){var p;if(this.lastItem&&this.isEqual(this.lastItem.key,c)&&(this.lastItem=void 0),p=this.indexOf(c),p>=0)return this.size--,this.list.splice(p,1)[0]},l.prototype.has=function(c){var p;return this.lastItem&&this.isEqual(this.lastItem.key,c)?!0:(p=this.indexOf(c),p>=0?(this.lastItem=this.list[p],!0):!1)},l.prototype.forEach=function(c,p){var h;for(h=0;h0&&(k[C]={cacheItem:S,arg:arguments[C]},F?c(g,k):g.push(k),g.length>d&&p(g.shift())),v.wasMemoized=F,v.numArgs=C+1,x},"memoizerific");return v.limit=d,v.wasMemoized=!1,v.cache=y,v.lru=g,v}};function c(d,y){var g=d.length,A=y.length,v,S,w;for(S=0;S=0&&(g=d[v],A=g.cacheItem.get(g.arg),!A||!A.size);v--)g.cacheItem.delete(g.arg)}b(p,"removeCachedResult");function h(d,y){return d===y||d!==d&&y!==y}b(h,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})}),Xs=Te(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.encodeString=n;var t=Array.from({length:256},(o,a)=>"%"+((a<16?"0":"")+a.toString(16)).toUpperCase()),r=new Int8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,1,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,0]);function n(o){let a=o.length;if(a===0)return"";let i="",s=0,l=0;e:for(;l>6]+t[128|c&63];continue}if(c<55296||c>=57344){s=l+1,i+=t[224|c>>12]+t[128|c>>6&63]+t[128|c&63];continue}if(++l,l>=a)throw new Error("URI malformed");let p=o.charCodeAt(l)&1023;s=l+1,c=65536+((c&1023)<<10|p),i+=t[240|c>>18]+t[128|c>>12&63]+t[128|c>>6&63]+t[128|c&63]}return s===0?o:s{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.defaultOptions=e.defaultShouldSerializeObject=e.defaultValueSerializer=void 0;var t=Xs(),r=b(a=>{switch(typeof a){case"string":return(0,t.encodeString)(a);case"bigint":case"boolean":return""+a;case"number":if(Number.isFinite(a))return a<1e21?""+a:(0,t.encodeString)(""+a);break}return a instanceof Date?(0,t.encodeString)(a.toISOString()):""},"defaultValueSerializer");e.defaultValueSerializer=r;var n=b(a=>a instanceof Date,"defaultShouldSerializeObject");e.defaultShouldSerializeObject=n;var o=b(a=>a,"identityFunc");e.defaultOptions={nesting:!0,nestingSyntax:"dot",arrayRepeat:!1,arrayRepeatSyntax:"repeat",delimiter:38,valueDeserializer:o,valueSerializer:e.defaultValueSerializer,keyDeserializer:o,shouldSerializeObject:e.defaultShouldSerializeObject}}),Qs=Te(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getDeepObject=o,e.stringifyObject=p;var t=Uo(),r=Xs();function n(h){return h==="__proto__"||h==="constructor"||h==="prototype"}b(n,"isPrototypeKey");function o(h,d,y,g,A){if(n(d))return h;let v=h[d];return typeof v=="object"&&v!==null?v:!g&&(A||typeof y=="number"||typeof y=="string"&&y*0===0&&y.indexOf(".")===-1)?h[d]=[]:h[d]={}}b(o,"getDeepObject");var a=20,i="[]",s="[",l="]",c=".";function p(h,d,y=0,g,A){let{nestingSyntax:v=t.defaultOptions.nestingSyntax,arrayRepeat:S=t.defaultOptions.arrayRepeat,arrayRepeatSyntax:w=t.defaultOptions.arrayRepeatSyntax,nesting:x=t.defaultOptions.nesting,delimiter:C=t.defaultOptions.delimiter,valueSerializer:k=t.defaultOptions.valueSerializer,shouldSerializeObject:F=t.defaultOptions.shouldSerializeObject}=d,_=typeof C=="number"?String.fromCharCode(C):C,j=A===!0&&S,M=v==="dot"||v==="js"&&!A;if(y>a)return"";let P="",W=!0,L=!1;for(let z in h){let D=h[z],T;g?(T=g,j?w==="bracket"&&(T+=i):M?(T+=c,T+=z):(T+=s,T+=z,T+=l)):T=z,W||(P+=_),typeof D=="object"&&D!==null&&!F(D)?(L=D.pop!==void 0,(x||S&&L)&&(P+=p(D,d,y+1,T,L))):(P+=(0,r.encodeString)(T),P+="=",P+=k(D,z)),W&&(W=!1)}return P}b(p,"stringifyObject")}),Qh=Te((e,t)=>{"use strict";var r=12,n=0,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,7,7,7,7,7,7,7,7,7,7,7,7,8,7,7,10,9,9,9,11,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,24,36,48,60,72,84,96,0,12,12,12,0,0,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0,0,24,24,24,0,0,0,0,0,0,0,0,0,24,24,0,0,0,0,0,0,0,0,0,0,48,48,48,0,0,0,0,0,0,0,0,0,0,48,48,0,0,0,0,0,0,0,0,0,48,0,0,0,0,0,0,0,0,0,0,127,63,63,63,0,31,15,15,15,7,7,7];function a(l){var c=l.indexOf("%");if(c===-1)return l;for(var p=l.length,h="",d=0,y=0,g=c,A=r;c>-1&&c>10),56320+(y&1023)),y=0,d=c+3,c=g=l.indexOf("%",d);else{if(A===n)return null;if(c+=3,c{"use strict";var t=e&&e.__importDefault||function(h){return h&&h.__esModule?h:{default:h}};Object.defineProperty(e,"__esModule",{value:!0}),e.numberValueDeserializer=e.numberKeyDeserializer=void 0,e.parse=p;var r=Qs(),n=Uo(),o=t(Qh()),a=b(h=>{let d=Number(h);return Number.isNaN(d)?h:d},"numberKeyDeserializer");e.numberKeyDeserializer=a;var i=b(h=>{let d=Number(h);return Number.isNaN(d)?h:d},"numberValueDeserializer");e.numberValueDeserializer=i;var s=/\+/g,l=b(function(){},"Empty");l.prototype=Object.create(null);function c(h,d,y,g,A){let v=h.substring(d,y);return g&&(v=v.replace(s," ")),A&&(v=(0,o.default)(v)||v),v}b(c,"computeKeySlice");function p(h,d){let{valueDeserializer:y=n.defaultOptions.valueDeserializer,keyDeserializer:g=n.defaultOptions.keyDeserializer,arrayRepeatSyntax:A=n.defaultOptions.arrayRepeatSyntax,nesting:v=n.defaultOptions.nesting,arrayRepeat:S=n.defaultOptions.arrayRepeat,nestingSyntax:w=n.defaultOptions.nestingSyntax,delimiter:x=n.defaultOptions.delimiter}=d??{},C=typeof x=="string"?x.charCodeAt(0):x,k=w==="js",F=new l;if(typeof h!="string")return F;let _=h.length,j="",M=-1,P=-1,W=-1,L=F,z,D="",T="",O=!1,U=!1,$=!1,X=!1,se=!1,te=!1,Q=!1,re=0,ve=-1,de=-1,Fe=-1;for(let le=0;le<_+1;le++){if(re=le!==_?h.charCodeAt(le):C,re===C){if(Q=P>M,Q||(P=le),W!==P-1&&(T=c(h,W+1,ve>-1?ve:P,$,O),D=g(T),z!==void 0&&(L=(0,r.getDeepObject)(L,z,D,k&&se,k&&te))),Q||D!==""){Q&&(j=h.slice(P+1,le),X&&(j=j.replace(s," ")),U&&(j=(0,o.default)(j)||j));let He=y(j,D);if(S){let Ue=L[D];Ue===void 0?ve>-1?L[D]=[He]:L[D]=He:Ue.pop?Ue.push(He):L[D]=[Ue,He]}else L[D]=He}j="",M=le,P=le,O=!1,U=!1,$=!1,X=!1,se=!1,te=!1,ve=-1,W=le,L=F,z=void 0,D=""}else re===93?(S&&A==="bracket"&&Fe===91&&(ve=de),v&&(w==="index"||k)&&P<=M&&(W!==de&&(T=c(h,W+1,le,$,O),D=g(T),z!==void 0&&(L=(0,r.getDeepObject)(L,z,D,void 0,k)),z=D,$=!1,O=!1),W=le,te=!0,se=!1)):re===46?v&&(w==="dot"||k)&&P<=M&&(W!==de&&(T=c(h,W+1,le,$,O),D=g(T),z!==void 0&&(L=(0,r.getDeepObject)(L,z,D,k)),z=D,$=!1,O=!1),se=!0,te=!1,W=le):re===91?v&&(w==="index"||k)&&P<=M&&(W!==de&&(T=c(h,W+1,le,$,O),D=g(T),k&&z!==void 0&&(L=(0,r.getDeepObject)(L,z,D,k)),z=D,$=!1,O=!1,se=!1,te=!0),W=le):re===61?P<=M?P=le:U=!0:re===43?P>M?X=!0:$=!0:re===37&&(P>M?U=!0:O=!0);de=le,Fe=re}return F}b(p,"parse")}),ef=Te(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=r;var t=Qs();function r(n,o){if(n===null||typeof n!="object")return"";let a=o??{};return(0,t.stringifyObject)(n,a)}b(r,"stringify")}),$o=Te(e=>{"use strict";var t=e&&e.__createBinding||(Object.create?function(a,i,s,l){l===void 0&&(l=s);var c=Object.getOwnPropertyDescriptor(i,s);(!c||("get"in c?!i.__esModule:c.writable||c.configurable))&&(c={enumerable:!0,get:b(function(){return i[s]},"get")}),Object.defineProperty(a,l,c)}:function(a,i,s,l){l===void 0&&(l=s),a[l]=i[s]}),r=e&&e.__exportStar||function(a,i){for(var s in a)s!=="default"&&!Object.prototype.hasOwnProperty.call(i,s)&&t(i,a,s)};Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=e.parse=void 0;var n=Zh();Object.defineProperty(e,"parse",{enumerable:!0,get:b(function(){return n.parse},"get")});var o=ef();Object.defineProperty(e,"stringify",{enumerable:!0,get:b(function(){return o.stringify},"get")}),r(Uo(),e)}),Zs=Te((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"}}),tf=Te((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"}}),el=Te((e,t)=>{t.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}}),rf=Te((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}}),nf=Te(e=>{"use strict";var t=e&&e.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(e,"__esModule",{value:!0});var r=t(rf()),n=String.fromCodePoint||function(a){var i="";return a>65535&&(a-=65536,i+=String.fromCharCode(a>>>10&1023|55296),a=56320|a&1023),i+=String.fromCharCode(a),i};function o(a){return a>=55296&&a<=57343||a>1114111?"\uFFFD":(a in r.default&&(a=r.default[a]),n(a))}b(o,"decodeCodePoint"),e.default=o}),Ps=Te(e=>{"use strict";var t=e&&e.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeHTML=e.decodeHTMLStrict=e.decodeXML=void 0;var r=t(Zs()),n=t(tf()),o=t(el()),a=t(nf()),i=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;e.decodeXML=s(o.default),e.decodeHTMLStrict=s(r.default);function s(p){var h=c(p);return function(d){return String(d).replace(i,h)}}b(s,"getStrictDecoder");var l=b(function(p,h){return p{"use strict";var t=e&&e.__importDefault||function(w){return w&&w.__esModule?w:{default:w}};Object.defineProperty(e,"__esModule",{value:!0}),e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=void 0;var r=t(el()),n=l(r.default),o=c(n);e.encodeXML=S(n);var a=t(Zs()),i=l(a.default),s=c(i);e.encodeHTML=y(i,s),e.encodeNonAsciiHTML=S(i);function l(w){return Object.keys(w).sort().reduce(function(x,C){return x[w[C]]="&"+C+";",x},{})}b(l,"getInverseObj");function c(w){for(var x=[],C=[],k=0,F=Object.keys(w);k1?h(w):w.charCodeAt(0)).toString(16).toUpperCase()+";"}b(d,"singleCharReplacer");function y(w,x){return function(C){return C.replace(x,function(k){return w[k]}).replace(p,d)}}b(y,"getInverse");var g=new RegExp(o.source+"|"+p.source,"g");function A(w){return w.replace(g,d)}b(A,"escape"),e.escape=A;function v(w){return w.replace(o,d)}b(v,"escapeUTF8"),e.escapeUTF8=v;function S(w){return function(x){return x.replace(g,function(C){return w[C]||d(C)})}}b(S,"getASCIIEncoder")}),of=Te(e=>{"use strict";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=Ps(),r=Ns();function n(l,c){return(!c||c<=0?t.decodeXML:t.decodeHTML)(l)}b(n,"decode"),e.decode=n;function o(l,c){return(!c||c<=0?t.decodeXML:t.decodeHTMLStrict)(l)}b(o,"decodeStrict"),e.decodeStrict=o;function a(l,c){return(!c||c<=0?r.encodeXML:r.encodeHTML)(l)}b(a,"encode"),e.encode=a;var i=Ns();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:b(function(){return i.encodeXML},"get")}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:b(function(){return i.encodeHTML},"get")}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:b(function(){return i.encodeNonAsciiHTML},"get")}),Object.defineProperty(e,"escape",{enumerable:!0,get:b(function(){return i.escape},"get")}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:b(function(){return i.escapeUTF8},"get")}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:b(function(){return i.encodeHTML},"get")}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:b(function(){return i.encodeHTML},"get")});var s=Ps();Object.defineProperty(e,"decodeXML",{enumerable:!0,get:b(function(){return s.decodeXML},"get")}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:b(function(){return s.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:b(function(){return s.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:b(function(){return s.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:b(function(){return s.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:b(function(){return s.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:b(function(){return s.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:b(function(){return s.decodeXML},"get")})}),af=Te((e,t)=>{"use strict";function r(D,T){if(!(D instanceof T))throw new TypeError("Cannot call a class as a function")}b(r,"_classCallCheck");function n(D,T){for(var O=0;O=D.length?{done:!0}:{done:!1,value:D[U++]}},"n"),e:b(function(Q){throw Q},"e"),f:$}}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 X=!0,se=!1,te;return{s:b(function(){O=O.call(D)},"s"),n:b(function(){var Q=O.next();return X=Q.done,Q},"n"),e:b(function(Q){se=!0,te=Q},"e"),f:b(function(){try{!X&&O.return!=null&&O.return()}finally{if(se)throw te}},"f")}}b(a,"_createForOfIteratorHelper");function i(D,T){if(D){if(typeof D=="string")return s(D,T);var O=Object.prototype.toString.call(D).slice(8,-1);if(O==="Object"&&D.constructor&&(O=D.constructor.name),O==="Map"||O==="Set")return Array.from(D);if(O==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(O))return s(D,T)}}b(i,"_unsupportedIterableToArray");function s(D,T){(T==null||T>D.length)&&(T=D.length);for(var O=0,U=new Array(T);O0?D*40+55:0,se=T>0?T*40+55:0,te=O>0?O*40+55:0;U[$]=y([X,se,te])}b(h,"setStyleColor");function d(D){for(var T=D.toString(16);T.length<2;)T="0"+T;return T}b(d,"toHexString");function y(D){var T=[],O=a(D),U;try{for(O.s();!(U=O.n()).done;){var $=U.value;T.push(d($))}}catch(X){O.e(X)}finally{O.f()}return"#"+T.join("")}b(y,"toColorHexString");function g(D,T,O,U){var $;return T==="text"?$=k(O,U):T==="display"?$=v(D,O,U):T==="xterm256Foreground"?$=j(D,U.colors[O]):T==="xterm256Background"?$=M(D,U.colors[O]):T==="rgb"&&($=A(D,O)),$}b(g,"generateOutput");function A(D,T){T=T.substring(2).slice(0,-1);var O=+T.substr(0,2),U=T.substring(5).split(";"),$=U.map(function(X){return("0"+Number(X).toString(16)).substr(-2)}).join("");return _(D,(O===38?"color:#":"background-color:#")+$)}b(A,"handleRgb");function v(D,T,O){T=parseInt(T,10);var U={"-1":b(function(){return"
"},"_"),0:b(function(){return D.length&&S(D)},"_"),1:b(function(){return F(D,"b")},"_"),3:b(function(){return F(D,"i")},"_"),4:b(function(){return F(D,"u")},"_"),8:b(function(){return _(D,"display:none")},"_"),9:b(function(){return F(D,"strike")},"_"),22:b(function(){return _(D,"font-weight:normal;text-decoration:none;font-style:normal")},"_"),23:b(function(){return P(D,"i")},"_"),24:b(function(){return P(D,"u")},"_"),39:b(function(){return j(D,O.fg)},"_"),49:b(function(){return M(D,O.bg)},"_"),53:b(function(){return _(D,"text-decoration:overline")},"_")},$;return U[T]?$=U[T]():4"}).join("")}b(S,"resetStyles");function w(D,T){for(var O=[],U=D;U<=T;U++)O.push(U);return O}b(w,"range");function x(D){return function(T){return(D===null||T.category!==D)&&D!=="all"}}b(x,"notCategory");function C(D){D=parseInt(D,10);var T=null;return D===0?T="all":D===1?T="bold":2")}b(F,"pushTag");function _(D,T){return F(D,"span",T)}b(_,"pushStyle");function j(D,T){return F(D,"span","color:"+T)}b(j,"pushForegroundColor");function M(D,T){return F(D,"span","background-color:"+T)}b(M,"pushBackgroundColor");function P(D,T){var O;if(D.slice(-1)[0]===T&&(O=D.pop()),O)return""}b(P,"closeTag");function W(D,T,O){var U=!1,$=3;function X(){return""}b(X,"remove");function se(Ne,Be){return O("xterm256Foreground",Be),""}b(se,"removeXterm256Foreground");function te(Ne,Be){return O("xterm256Background",Be),""}b(te,"removeXterm256Background");function Q(Ne){return T.newline?O("display",-1):O("text",Ne),""}b(Q,"newline");function re(Ne,Be){U=!0,Be.trim().length===0&&(Be="0"),Be=Be.trimRight(";").split(";");var lt=a(Be),qt;try{for(lt.s();!(qt=lt.n()).done;){var Nr=qt.value;O("display",Nr)}}catch(jn){lt.e(jn)}finally{lt.f()}return""}b(re,"ansiMess");function ve(Ne){return O("text",Ne),""}b(ve,"realText");function de(Ne){return O("rgb",Ne),""}b(de,"rgb");var Fe=[{pattern:/^\x08+/,sub:X},{pattern:/^\x1b\[[012]?K/,sub:X},{pattern:/^\x1b\[\(B/,sub:X},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:de},{pattern:/^\x1b\[38;5;(\d+)m/,sub:se},{pattern:/^\x1b\[48;5;(\d+)m/,sub:te},{pattern:/^\n/,sub:Q},{pattern:/^\r+\n/,sub:Q},{pattern:/^\r/,sub:Q},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:re},{pattern:/^\x1b\[\d?J/,sub:X},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:X},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:X},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:ve}];function le(Ne,Be){Be>$&&U||(U=!1,D=D.replace(Ne.pattern,Ne.sub))}b(le,"process");var He=[],Ue=D,et=Ue.length;e:for(;et>0;){for(var dr=0,$t=0,pr=Fe.length;$t{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})();function tl(){let e={setHandler:b(()=>{},"setHandler"),send:b(()=>{},"send")};return new Qr({transport:e})}b(tl,"mockChannel");var rl=class{constructor(){this.getChannel=b(()=>{if(!this.channel){let t=tl();return this.setChannel(t),t}return this.channel},"getChannel"),this.ready=b(()=>this.promise,"ready"),this.hasChannel=b(()=>!!this.channel,"hasChannel"),this.setChannel=b(t=>{this.channel=t,this.resolve()},"setChannel"),this.promise=new Promise(t=>{this.resolve=()=>t(this.getChannel())})}};b(rl,"AddonStore");var sf=rl,bo="__STORYBOOK_ADDONS_PREVIEW";function nl(){return De[bo]||(De[bo]=new sf),De[bo]}b(nl,"getAddonsStore");var Rt=nl();function lf(e){return e}b(lf,"definePreview");var ol=class{constructor(){this.hookListsMap=void 0,this.mountedDecorators=void 0,this.prevMountedDecorators=void 0,this.currentHooks=void 0,this.nextHookIndex=void 0,this.currentPhase=void 0,this.currentEffects=void 0,this.prevEffects=void 0,this.currentDecoratorName=void 0,this.hasUpdates=void 0,this.currentContext=void 0,this.renderListener=b(t=>{t===this.currentContext?.id&&(this.triggerEffects(),this.currentContext=null,this.removeRenderListeners())},"renderListener"),this.init()}init(){this.hookListsMap=new WeakMap,this.mountedDecorators=new Set,this.prevMountedDecorators=new Set,this.currentHooks=[],this.nextHookIndex=0,this.currentPhase="NONE",this.currentEffects=[],this.prevEffects=[],this.currentDecoratorName=null,this.hasUpdates=!1,this.currentContext=null}clean(){this.prevEffects.forEach(t=>{t.destroy&&t.destroy()}),this.init(),this.removeRenderListeners()}getNextHook(){let t=this.currentHooks[this.nextHookIndex];return this.nextHookIndex+=1,t}triggerEffects(){this.prevEffects.forEach(t=>{!this.currentEffects.includes(t)&&t.destroy&&t.destroy()}),this.currentEffects.forEach(t=>{this.prevEffects.includes(t)||(t.destroy=t.create())}),this.prevEffects=this.currentEffects,this.currentEffects=[]}addRenderListeners(){this.removeRenderListeners(),Rt.getChannel().on(br,this.renderListener)}removeRenderListeners(){Rt.getChannel().removeListener(br,this.renderListener)}};b(ol,"HooksContext");var al=ol;function Co(e){let t=b((...r)=>{let{hooks:n}=typeof r[0]=="function"?r[1]:r[0],o=n.currentPhase,a=n.currentHooks,i=n.nextHookIndex,s=n.currentDecoratorName;n.currentDecoratorName=e.name,n.prevMountedDecorators.has(e)?(n.currentPhase="UPDATE",n.currentHooks=n.hookListsMap.get(e)||[]):(n.currentPhase="MOUNT",n.currentHooks=[],n.hookListsMap.set(e,n.currentHooks),n.prevMountedDecorators.add(e)),n.nextHookIndex=0;let l=De.STORYBOOK_HOOKS_CONTEXT;De.STORYBOOK_HOOKS_CONTEXT=n;let c=e(...r);if(De.STORYBOOK_HOOKS_CONTEXT=l,n.currentPhase==="UPDATE"&&n.getNextHook()!=null)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return n.currentPhase=o,n.currentHooks=a,n.nextHookIndex=i,n.currentDecoratorName=s,c},"hookified");return t.originalFn=e,t}b(Co,"hookify");var Eo=0,uf=25,cf=b(e=>(t,r)=>{let n=e(Co(t),r.map(o=>Co(o)));return o=>{let{hooks:a}=o;a.prevMountedDecorators??=new Set,a.mountedDecorators=new Set([t,...r]),a.currentContext=o,a.hasUpdates=!1;let i=n(o);for(Eo=1;a.hasUpdates;)if(a.hasUpdates=!1,a.currentEffects=[],i=n(o),Eo+=1,Eo>uf)throw new Error("Too many re-renders. Storybook limits the number of renders to prevent an infinite loop.");return a.addRenderListeners(),i}},"applyHooks"),df=b((e,t)=>e.length===t.length&&e.every((r,n)=>r===t[n]),"areDepsEqual"),qo=b(()=>new Error("Storybook preview hooks can only be called inside decorators and story functions."),"invalidHooksError");function Vo(){return De.STORYBOOK_HOOKS_CONTEXT||null}b(Vo,"getHooksContextOrNull");function dn(){let e=Vo();if(e==null)throw qo();return e}b(dn,"getHooksContextOrThrow");function il(e,t,r){let n=dn();if(n.currentPhase==="MOUNT"){r!=null&&!Array.isArray(r)&&ee.warn(`${e} received a final argument that is not an array (instead, received ${r}). When specified, the final argument must be an array.`);let o={name:e,deps:r};return n.currentHooks.push(o),t(o),o}if(n.currentPhase==="UPDATE"){let o=n.getNextHook();if(o==null)throw new Error("Rendered more hooks than during the previous render.");return o.name!==e&&ee.warn(`Storybook has detected a change in the order of Hooks${n.currentDecoratorName?` called by ${n.currentDecoratorName}`:""}. This will lead to bugs and errors if not fixed.`),r!=null&&o.deps==null&&ee.warn(`${e} received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.`),r!=null&&o.deps!=null&&r.length!==o.deps.length&&ee.warn(`The final argument passed to ${e} changed size between renders. The order and size of this array must remain constant. +Previous: ${o.deps} +Incoming: ${r}`),(r==null||o.deps==null||!df(r,o.deps))&&(t(o),o.deps=r),o}throw qo()}b(il,"useHook");function Dr(e,t,r){let{memoizedState:n}=il(e,o=>{o.memoizedState=t()},r);return n}b(Dr,"useMemoLike");function pf(e,t){return Dr("useMemo",e,t)}b(pf,"useMemo");function Ar(e,t){return Dr("useCallback",()=>e,t)}b(Ar,"useCallback");function Jo(e,t){return Dr(e,()=>({current:t}),[])}b(Jo,"useRefLike");function hf(e){return Jo("useRef",e)}b(hf,"useRef");function sl(){let e=Vo();if(e!=null&&e.currentPhase!=="NONE")e.hasUpdates=!0;else try{Rt.getChannel().emit(Vr)}catch{ee.warn("State updates of Storybook preview hooks work only in browser")}}b(sl,"triggerUpdate");function zo(e,t){let r=Jo(e,typeof t=="function"?t():t),n=b(o=>{r.current=typeof o=="function"?o(r.current):o,sl()},"setState");return[r.current,n]}b(zo,"useStateLike");function Ho(e){return zo("useState",e)}b(Ho,"useState");function ff(e,t,r){let n=r!=null?()=>r(t):t,[o,a]=zo("useReducer",n);return[o,b(i=>a(s=>e(s,i)),"dispatch")]}b(ff,"useReducer");function pn(e,t){let r=dn(),n=Dr("useEffect",()=>({create:e}),t);r.currentEffects.includes(n)||r.currentEffects.push(n)}b(pn,"useEffect");function mf(e,t=[]){let r=Rt.getChannel();return pn(()=>(Object.entries(e).forEach(([n,o])=>r.on(n,o)),()=>{Object.entries(e).forEach(([n,o])=>r.removeListener(n,o))}),[...Object.keys(e),...t]),Ar(r.emit.bind(r),[r])}b(mf,"useChannel");function hn(){let{currentContext:e}=dn();if(e==null)throw qo();return e}b(hn,"useStoryContext");function yf(e,t){let{parameters:r}=hn();if(e)return r[e]??t}b(yf,"useParameter");function gf(){let e=Rt.getChannel(),{id:t,args:r}=hn(),n=Ar(a=>e.emit(Gr,{storyId:t,updatedArgs:a}),[e,t]),o=Ar(a=>e.emit(Jr,{storyId:t,argNames:a}),[e,t]);return[r,n,o]}b(gf,"useArgs");function bf(){let e=Rt.getChannel(),{globals:t}=hn(),r=Ar(n=>e.emit(Hr,{globals:n}),[e]);return[t,r]}b(bf,"useGlobals");var TF=b(({name:e,parameterName:t,wrapper:r,skipIfNoParametersOrOptions:n=!1})=>{let o=b(a=>(i,s)=>{let l=s.parameters&&s.parameters[t];return l&&l.disable||n&&!a&&!l?i(s):r(i,s,{options:a,parameters:l})},"decorator");return(...a)=>typeof a[0]=="function"?o()(...a):(...i)=>{if(i.length>1)return a.length>1?o(a)(...i):o(...a)(...i);throw new Error(`Passing stories directly into ${e}() is not allowed, + instead use addDecorator(${e}) and pass options with the '${t}' parameter`)}},"makeDecorator");function me(e){for(var t=[],r=1;r(this.debug("getState",{state:this.state}),this.state),"getState"),this.subscribe=b((n,o)=>{let a=typeof n=="function",i=a?"*":n,s=a?n:o;if(this.debug("subscribe",{eventType:i,listener:s}),!s)throw new TypeError(`Missing first subscribe argument, or second if first is the event type, when subscribing to a UniversalStore with id '${this.id}'`);return this.listeners.has(i)||this.listeners.set(i,new Set),this.listeners.get(i).add(s),()=>{this.debug("unsubscribe",{eventType:i,listener:s}),this.listeners.has(i)&&(this.listeners.get(i).delete(s),this.listeners.get(i)?.size===0&&this.listeners.delete(i))}},"subscribe"),this.send=b(n=>{if(this.debug("send",{event:n}),this.status!==K.Status.READY)throw new TypeError(me`Cannot send event before store is ready. You can get the current status with store.status, + or await store.readyPromise to wait for the store to be ready before sending events. + ${JSON.stringify({event:n,id:this.id,actor:this.actor,environment:this.environment},null,2)}`);this.emitToListeners(n,{actor:this.actor}),this.emitToChannel(n,{actor:this.actor})},"send"),this.debugging=t.debug??!1,!K.isInternalConstructing)throw new TypeError("UniversalStore is not constructable - use UniversalStore.create() instead");if(K.isInternalConstructing=!1,this.id=t.id,this.actorId=globalThis.crypto?globalThis.crypto.randomUUID():Date.now().toString(36)+Math.random().toString(36).substring(2),this.actorType=t.leader?K.ActorType.LEADER:K.ActorType.FOLLOWER,this.state=t.initialState,this.channelEventName=`${vf}${this.id}`,this.debug("constructor",{options:t,environmentOverrides:r,channelEventName:this.channelEventName}),this.actor.type===K.ActorType.LEADER)this.syncing={state:Ve.RESOLVED,promise:Promise.resolve()};else{let n,o,a=new Promise((i,s)=>{n=b(()=>{this.syncing.state===Ve.PENDING&&(this.syncing.state=Ve.RESOLVED,i())},"syncingResolve"),o=b(l=>{this.syncing.state===Ve.PENDING&&(this.syncing.state=Ve.REJECTED,s(l))},"syncingReject")});this.syncing={state:Ve.PENDING,promise:a,resolve:n,reject:o}}this.getState=this.getState.bind(this),this.setState=this.setState.bind(this),this.subscribe=this.subscribe.bind(this),this.onStateChange=this.onStateChange.bind(this),this.send=this.send.bind(this),this.emitToChannel=this.emitToChannel.bind(this),this.prepareThis=this.prepareThis.bind(this),this.emitToListeners=this.emitToListeners.bind(this),this.handleChannelEvents=this.handleChannelEvents.bind(this),this.debug=this.debug.bind(this),this.channel=r?.channel??K.preparation.channel,this.environment=r?.environment??K.preparation.environment,this.channel&&this.environment?this.prepareThis({channel:this.channel,environment:this.environment}):K.preparation.promise.then(this.prepareThis)}static setupPreparationPromise(){let t,r,n=new Promise((o,a)=>{t=b(i=>{o(i)},"resolveRef"),r=b((...i)=>{a(i)},"rejectRef")});K.preparation={resolve:t,reject:r,promise:n}}get actor(){return Object.freeze({id:this.actorId,type:this.actorType,environment:this.environment??K.Environment.UNKNOWN})}get status(){if(!this.channel||!this.environment)return K.Status.UNPREPARED;switch(this.syncing?.state){case Ve.PENDING:case void 0:return K.Status.SYNCING;case Ve.REJECTED:return K.Status.ERROR;case Ve.RESOLVED:default:return K.Status.READY}}untilReady(){return Promise.all([K.preparation.promise,this.syncing?.promise])}static create(t){if(!t||typeof t?.id!="string")throw new TypeError("id is required and must be a string, when creating a UniversalStore");t.debug&&console.debug(me`[UniversalStore] + create`,{options:t});let r=js.get(t.id);if(r)return console.warn(me`UniversalStore with id "${t.id}" already exists in this environment, re-using existing. + You should reuse the existing instance instead of trying to create a new one.`),r;K.isInternalConstructing=!0;let n=new K(t);return js.set(t.id,n),n}static __prepare(t,r){K.preparation.channel=t,K.preparation.environment=r,K.preparation.resolve({channel:t,environment:r})}setState(t){let r=this.state,n=typeof t=="function"?t(r):t;if(this.debug("setState",{newState:n,previousState:r,updater:t}),this.status!==K.Status.READY)throw new TypeError(me`Cannot set state before store is ready. You can get the current status with store.status, + or await store.readyPromise to wait for the store to be ready before sending events. + ${JSON.stringify({newState:n,id:this.id,actor:this.actor,environment:this.environment},null,2)}`);this.state=n;let o={type:K.InternalEventType.SET_STATE,payload:{state:n,previousState:r}};this.emitToChannel(o,{actor:this.actor}),this.emitToListeners(o,{actor:this.actor})}onStateChange(t){return this.debug("onStateChange",{listener:t}),this.subscribe(K.InternalEventType.SET_STATE,({payload:r},n)=>{t(r.state,r.previousState,n)})}emitToChannel(t,r){this.debug("emitToChannel",{event:t,eventInfo:r,channel:this.channel}),this.channel?.emit(this.channelEventName,{event:t,eventInfo:r})}prepareThis({channel:t,environment:r}){this.channel=t,this.environment=r,this.debug("prepared",{channel:t,environment:r}),this.channel.on(this.channelEventName,this.handleChannelEvents),this.actor.type===K.ActorType.LEADER?this.emitToChannel({type:K.InternalEventType.LEADER_CREATED},{actor:this.actor}):(this.emitToChannel({type:K.InternalEventType.FOLLOWER_CREATED},{actor:this.actor}),this.emitToChannel({type:K.InternalEventType.EXISTING_STATE_REQUEST},{actor:this.actor}),setTimeout(()=>{this.syncing.reject(new TypeError(`No existing state found for follower with id: '${this.id}'. Make sure a leader with the same id exists before creating a follower.`))},1e3))}emitToListeners(t,r){let n=this.listeners.get(t.type),o=this.listeners.get("*");this.debug("emitToListeners",{event:t,eventInfo:r,eventTypeListeners:n,everythingListeners:o}),[...n??[],...o??[]].forEach(a=>a(t,r))}handleChannelEvents(t){let{event:r,eventInfo:n}=t;if([n.actor.id,n.forwardingActor?.id].includes(this.actor.id)){this.debug("handleChannelEvents: Ignoring event from self",{channelEvent:t});return}else if(this.syncing?.state===Ve.PENDING&&r.type!==K.InternalEventType.EXISTING_STATE_RESPONSE){this.debug("handleChannelEvents: Ignoring event while syncing",{channelEvent:t});return}if(this.debug("handleChannelEvents",{channelEvent:t}),this.actor.type===K.ActorType.LEADER){let o=!0;switch(r.type){case K.InternalEventType.EXISTING_STATE_REQUEST:o=!1;let a={type:K.InternalEventType.EXISTING_STATE_RESPONSE,payload:this.state};this.debug("handleChannelEvents: responding to existing state request",{responseEvent:a}),this.emitToChannel(a,{actor:this.actor});break;case K.InternalEventType.LEADER_CREATED:o=!1,this.syncing.state=Ve.REJECTED,this.debug("handleChannelEvents: erroring due to second leader being created",{event:r}),console.error(me`Detected multiple UniversalStore leaders created with the same id "${this.id}". + Only one leader can exists at a time, your stores are now in an invalid state. + Leaders detected: + this: ${JSON.stringify(this.actor,null,2)} + other: ${JSON.stringify(n.actor,null,2)}`);break}o&&(this.debug("handleChannelEvents: forwarding event",{channelEvent:t}),this.emitToChannel(r,{actor:n.actor,forwardingActor:this.actor}))}if(this.actor.type===K.ActorType.FOLLOWER)switch(r.type){case K.InternalEventType.EXISTING_STATE_RESPONSE:if(this.debug("handleChannelEvents: Setting state from leader's existing state response",{event:r}),this.syncing?.state!==Ve.PENDING)break;this.syncing.resolve?.();let o={type:K.InternalEventType.SET_STATE,payload:{state:r.payload,previousState:this.state}};this.state=r.payload,this.emitToListeners(o,n);break}switch(r.type){case K.InternalEventType.SET_STATE:this.debug("handleChannelEvents: Setting state",{event:r}),this.state=r.payload.state;break}this.emitToListeners(r,{actor:n.actor})}debug(t,r){this.debugging&&console.debug(me`[UniversalStore::${this.id}::${this.environment??K.Environment.UNKNOWN}] + ${t}`,JSON.stringify({data:r,actor:this.actor,state:this.state,status:this.status},null,2))}static __reset(){K.preparation.reject(new Error("reset")),K.setupPreparationPromise(),K.isInternalConstructing=!1}};b(yt,"UniversalStore"),yt.ActorType={LEADER:"LEADER",FOLLOWER:"FOLLOWER"},yt.Environment={SERVER:"SERVER",MANAGER:"MANAGER",PREVIEW:"PREVIEW",UNKNOWN:"UNKNOWN",MOCK:"MOCK"},yt.InternalEventType={EXISTING_STATE_REQUEST:"__EXISTING_STATE_REQUEST",EXISTING_STATE_RESPONSE:"__EXISTING_STATE_RESPONSE",SET_STATE:"__SET_STATE",LEADER_CREATED:"__LEADER_CREATED",FOLLOWER_CREATED:"__FOLLOWER_CREATED"},yt.Status={UNPREPARED:"UNPREPARED",SYNCING:"SYNCING",READY:"READY",ERROR:"ERROR"},yt.isInternalConstructing=!1,yt.setupPreparationPromise();var rn=yt;function ll(e,t){let r={},n=Object.entries(e);for(let o=0;oObject.prototype.propertyIsEnumerable.call(e,t))}b(xo,"getSymbols");function To(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}b(To,"getTag");function Go(e,t){if(typeof e==typeof t)switch(typeof e){case"bigint":case"string":case"boolean":case"symbol":case"undefined":return e===t;case"number":return e===t||Object.is(e,t);case"function":return e===t;case"object":return Xe(e,t)}return Xe(e,t)}b(Go,"isEqual");function Xe(e,t,r){if(Object.is(e,t))return!0;let n=To(e),o=To(t);if(n===Ls&&(n=vo),o===Ls&&(o=vo),n!==o)return!1;switch(n){case Df:return e.toString()===t.toString();case Sf:{let s=e.valueOf(),l=t.valueOf();return s===l||Number.isNaN(s)&&Number.isNaN(l)}case wf:case xf:case Cf:return Object.is(e.valueOf(),t.valueOf());case Af:return e.source===t.source&&e.flags===t.flags;case kf:return e===t}r=r??new Map;let a=r.get(e),i=r.get(t);if(a!=null&&i!=null)return a===t;r.set(e,t),r.set(t,e);try{switch(n){case Tf:{if(e.size!==t.size)return!1;for(let[s,l]of e.entries())if(!t.has(s)||!Xe(l,t.get(s),r))return!1;return!0}case Ff:{if(e.size!==t.size)return!1;let s=Array.from(e.values()),l=Array.from(t.values());for(let c=0;cXe(p,d,r));if(h===-1)return!1;l.splice(h,1)}return!0}case If:case Bf:case Pf:case Nf:case jf:case Lf:case Mf:case Uf:case $f:case qf:case Vf:case Jf:{if(typeof Buffer<"u"&&Buffer.isBuffer(e)!==Buffer.isBuffer(t)||e.length!==t.length)return!1;for(let s=0;s{let[r,n]=Ho(t?t(e.getState()):e.getState());return pn(()=>e.onStateChange((o,a)=>{if(!t){n(o);return}let i=t(o),s=t(a);!Go(i,s)&&n(i)}),[e,n,t]),[r,e.setState]},"useUniversalStore"),zf=class dl extends rn{constructor(t,r){rn.isInternalConstructing=!0,super({...t,leader:!0},{channel:new Qr({}),environment:rn.Environment.MOCK}),rn.isInternalConstructing=!1,typeof r?.fn=="function"&&(this.testUtils=r,this.getState=r.fn(this.getState),this.setState=r.fn(this.setState),this.subscribe=r.fn(this.subscribe),this.onStateChange=r.fn(this.onStateChange),this.send=r.fn(this.send))}static create(t,r){return new dl(t,r)}unsubscribeAll(){if(!this.testUtils)throw new Error(Ef`Cannot call unsubscribeAll on a store that does not have testUtils. + Please provide testUtils as the second argument when creating the store.`);let t=b(r=>{try{r.value()}catch{}},"callReturnedUnsubscribeFn");this.subscribe.mock?.results.forEach(t),this.onStateChange.mock?.results.forEach(t)}};b(zf,"MockUniversalStore");var Ao=tr(Ys(),1),Yt=Symbol("incompatible"),Fo=b((e,t)=>{let r=t.type;if(e==null||!r||t.mapping)return e;switch(r.name){case"string":return String(e);case"enum":return e;case"number":return Number(e);case"boolean":return String(e)==="true";case"array":return!r.value||!Array.isArray(e)?Yt:e.reduce((n,o,a)=>{let i=Fo(o,{type:r.value});return i!==Yt&&(n[a]=i),n},new Array(e.length));case"object":return typeof e=="string"||typeof e=="number"?e:!r.value||typeof e!="object"?Yt:Object.entries(e).reduce((n,[o,a])=>{let i=Fo(a,{type:r.value[o]});return i===Yt?n:Object.assign(n,{[o]:i})},{});default:return Yt}},"map"),Hf=b((e,t)=>Object.entries(e).reduce((r,[n,o])=>{if(!t[n])return r;let a=Fo(o,t[n]);return a===Yt?r:Object.assign(r,{[n]:a})},{}),"mapArgsToTypes"),Io=b((e,t)=>Array.isArray(e)&&Array.isArray(t)?t.reduce((r,n,o)=>(r[o]=Io(e[o],t[o]),r),[...e]).filter(r=>r!==void 0):!We(e)||!We(t)?t:Object.keys({...e,...t}).reduce((r,n)=>{if(n in t){let o=Io(e[n],t[n]);o!==void 0&&(r[n]=o)}else r[n]=e[n];return r},{}),"combineArgs"),Gf=b((e,t)=>Object.entries(t).reduce((r,[n,{options:o}])=>{function a(){return n in e&&(r[n]=e[n]),r}if(b(a,"allowArg"),!o)return a();if(!Array.isArray(o))return mt.error(me` + Invalid argType: '${n}.options' should be an array. + + More info: https://storybook.js.org/docs/api/arg-types + `),a();if(o.some(h=>h&&["object","function"].includes(typeof h)))return mt.error(me` + Invalid argType: '${n}.options' should only contain primitives. Use a 'mapping' for complex values. + + More info: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values + `),a();let i=Array.isArray(e[n]),s=i&&e[n].findIndex(h=>!o.includes(h)),l=i&&s===-1;if(e[n]===void 0||o.includes(e[n])||l)return a();let c=i?`${n}[${s}]`:n,p=o.map(h=>typeof h=="string"?`'${h}'`:String(h)).join(", ");return mt.warn(`Received illegal value for '${c}'. Supported options: ${p}`),r},{}),"validateOptions"),Er=Symbol("Deeply equal"),sn=b((e,t)=>{if(typeof e!=typeof t)return t;if(Go(e,t))return Er;if(Array.isArray(e)&&Array.isArray(t)){let r=t.reduce((n,o,a)=>{let i=sn(e[a],o);return i!==Er&&(n[a]=i),n},new Array(t.length));return t.length>=e.length?r:r.concat(new Array(e.length-t.length).fill(void 0))}return We(e)&&We(t)?Object.keys({...e,...t}).reduce((r,n)=>{let o=sn(e?.[n],t?.[n]);return o===Er?r:Object.assign(r,{[n]:o})},{}):t},"deepDiff"),pl="UNTARGETED";function hl({args:e,argTypes:t}){let r={};return Object.entries(e).forEach(([n,o])=>{let{target:a=pl}=t[n]||{};r[a]=r[a]||{},r[a][n]=o}),r}b(hl,"groupArgsByTarget");function fl(e){return Object.keys(e).forEach(t=>e[t]===void 0&&delete e[t]),e}b(fl,"deleteUndefined");var ml=class{constructor(){this.initialArgsByStoryId={},this.argsByStoryId={}}get(t){if(!(t in this.argsByStoryId))throw new Error(`No args known for ${t} -- has it been rendered yet?`);return this.argsByStoryId[t]}setInitial(t){if(!this.initialArgsByStoryId[t.id])this.initialArgsByStoryId[t.id]=t.initialArgs,this.argsByStoryId[t.id]=t.initialArgs;else if(this.initialArgsByStoryId[t.id]!==t.initialArgs){let r=sn(this.initialArgsByStoryId[t.id],this.argsByStoryId[t.id]);this.initialArgsByStoryId[t.id]=t.initialArgs,this.argsByStoryId[t.id]=t.initialArgs,r!==Er&&this.updateFromDelta(t,r)}}updateFromDelta(t,r){let n=Gf(r,t.argTypes);this.argsByStoryId[t.id]=Io(this.argsByStoryId[t.id],n)}updateFromPersisted(t,r){let n=Hf(r,t.argTypes);return this.updateFromDelta(t,n)}update(t,r){if(!(t in this.argsByStoryId))throw new Error(`No args known for ${t} -- has it been rendered yet?`);this.argsByStoryId[t]=fl({...this.argsByStoryId[t],...r})}};b(ml,"ArgsStore");var Wf=ml,yl=b((e={})=>Object.entries(e).reduce((t,[r,{defaultValue:n}])=>(typeof n<"u"&&(t[r]=n),t),{}),"getValuesFromArgTypes"),gl=class{constructor({globals:t={},globalTypes:r={}}){this.set({globals:t,globalTypes:r})}set({globals:t={},globalTypes:r={}}){let n=this.initialGlobals&&sn(this.initialGlobals,this.globals);this.allowedGlobalNames=new Set([...Object.keys(t),...Object.keys(r)]);let o=yl(r);this.initialGlobals={...o,...t},this.globals=this.initialGlobals,n&&n!==Er&&this.updateFromPersisted(n)}filterAllowedGlobals(t){return Object.entries(t).reduce((r,[n,o])=>(this.allowedGlobalNames.has(n)?r[n]=o:ee.warn(`Attempted to set a global (${n}) that is not defined in initial globals or globalTypes`),r),{})}updateFromPersisted(t){let r=this.filterAllowedGlobals(t);this.globals={...this.globals,...r}}get(){return this.globals}update(t){this.globals={...this.globals,...this.filterAllowedGlobals(t)}}};b(gl,"GlobalsStore");var Kf=gl,Yf=tr(Ys(),1),Xf=(0,Yf.default)(1)(e=>Object.values(e).reduce((t,r)=>(t[r.importPath]=t[r.importPath]||r,t),{})),bl=class{constructor({entries:t}={v:5,entries:{}}){this.entries=t}entryFromSpecifier(t){let r=Object.values(this.entries);if(t==="*")return r[0];if(typeof t=="string")return this.entries[t]?this.entries[t]:r.find(a=>a.id.startsWith(t));let{name:n,title:o}=t;return r.find(a=>a.name===n&&a.title===o)}storyIdToEntry(t){let r=this.entries[t];if(!r)throw new ds({storyId:t});return r}importPathToEntry(t){return Xf(this.entries)[t]}};b(bl,"StoryIndexStore");var Qf=bl,Zf=b(e=>typeof e=="string"?{name:e}:e,"normalizeType"),em=b(e=>typeof e=="string"?{type:e}:e,"normalizeControl"),tm=b((e,t)=>{let{type:r,control:n,...o}=e,a={name:t,...o};return r&&(a.type=Zf(r)),n?a.control=em(n):n===!1&&(a.control={disable:!0}),a},"normalizeInputType"),ln=b(e=>Ot(e,tm),"normalizeInputTypes"),ue=b(e=>Array.isArray(e)?e:e?[e]:[],"normalizeArrays"),rm=me` +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. +`;function un(e,t,r){let n=t,o=typeof t=="function"?t:null,{story:a}=n;a&&(ee.debug("deprecated story",a),nt(rm));let i=au(e),s=typeof n!="function"&&n.name||n.storyName||a?.name||i,l=[...ue(n.decorators),...ue(a?.decorators)],c={...a?.parameters,...n.parameters},p={...a?.args,...n.args},h={...a?.argTypes,...n.argTypes},d=[...ue(n.loaders),...ue(a?.loaders)],y=[...ue(n.beforeEach),...ue(a?.beforeEach)],g=[...ue(n.experimental_afterEach),...ue(a?.experimental_afterEach)],{render:A,play:v,tags:S=[],globals:w={}}=n,x=c.__id||ou(r.id,i);return{moduleExport:t,id:x,name:s,tags:S,decorators:l,parameters:c,args:p,argTypes:ln(h),loaders:d,beforeEach:y,experimental_afterEach:g,globals:w,...A&&{render:A},...o&&{userStoryFn:o},...v&&{play:v}}}b(un,"normalizeStory");function cn(e,t=e.title,r){let{id:n,argTypes:o}=e;return{id:Qo(n||t),...e,title:t,...o&&{argTypes:ln(o)},parameters:{fileName:r,...e.parameters}}}b(cn,"normalizeComponentAnnotations");var nm=b(e=>{let{globals:t,globalTypes:r}=e;(t||r)&&ee.error("Global args/argTypes can only be set globally",JSON.stringify({globals:t,globalTypes:r}))},"checkGlobals"),om=b(e=>{let{options:t}=e;t?.storySort&&ee.error("The storySort option parameter can only be set globally")},"checkStorySort"),nn=b(e=>{e&&(nm(e),om(e))},"checkDisallowedParameters");function El(e,t,r){let{default:n,__namedExportsOrder:o,...a}=e,i=Object.values(a)[0];if(Bt(i)){let c=cn(i.meta.input,r,t);nn(c.parameters);let p={meta:c,stories:{},moduleExports:e};return Object.keys(a).forEach(h=>{if(er(h,c)){let d=un(h,a[h].input,c);nn(d.parameters),p.stories[d.id]=d}}),p.projectAnnotations=i.meta.preview.composed,p}let s=cn(n,r,t);nn(s.parameters);let l={meta:s,stories:{},moduleExports:e};return Object.keys(a).forEach(c=>{if(er(c,s)){let p=un(c,a[c],s);nn(p.parameters),l.stories[p.id]=p}}),l}b(El,"processCSFFile");function vl(e){return e!=null&&Al(e).includes("mount")}b(vl,"mountDestructured");function Al(e){let t=e.toString().match(/[^(]*\(([^)]*)/);if(!t)return[];let r=ko(t[1]);if(!r.length)return[];let n=r[0];return n.startsWith("{")&&n.endsWith("}")?ko(n.slice(1,-1).replace(/\s/g,"")).map(o=>o.replace(/:.*|=.*/g,"")):[]}b(Al,"getUsedProps");function ko(e){let t=[],r=[],n=0;for(let a=0;at(n,o)}b(Dl,"decorateStory");function Sl({componentId:e,title:t,kind:r,id:n,name:o,story:a,parameters:i,initialArgs:s,argTypes:l,...c}={}){return c}b(Sl,"sanitizeStoryContextUpdate");function wl(e,t){let r={},n=b(a=>i=>{if(!r.value)throw new Error("Decorated function called without init");return r.value={...r.value,...Sl(i)},a(r.value)},"bindWithContext"),o=t.reduce((a,i)=>Dl(a,i,n),e);return a=>(r.value=a,o(a))}b(wl,"defaultDecorateStory");var at=b((...e)=>{let t={},r=e.filter(Boolean),n=r.reduce((o,a)=>(Object.entries(a).forEach(([i,s])=>{let l=o[i];Array.isArray(s)||typeof l>"u"?o[i]=s:We(s)&&We(l)?t[i]=!0:typeof s<"u"&&(o[i]=s)}),o),{});return Object.keys(t).forEach(o=>{let a=r.filter(Boolean).map(i=>i[o]).filter(i=>typeof i<"u");a.every(i=>We(i))?n[o]=at(...a):n[o]=a[a.length-1]}),n},"combineParameters");function Wo(e,t,r){let{moduleExport:n,id:o,name:a}=e||{},i=Ko(e,t,r),s=b(async F=>{let _={};for(let j of[..."__STORYBOOK_TEST_LOADERS__"in De&&Array.isArray(De.__STORYBOOK_TEST_LOADERS__)?[De.__STORYBOOK_TEST_LOADERS__]:[],ue(r.loaders),ue(t.loaders),ue(e.loaders)]){if(F.abortSignal.aborted)return _;let M=await Promise.all(j.map(P=>P(F)));Object.assign(_,...M)}return _},"applyLoaders"),l=b(async F=>{let _=new Array;for(let j of[...ue(r.beforeEach),...ue(t.beforeEach),...ue(e.beforeEach)]){if(F.abortSignal.aborted)return _;let M=await j(F);M&&_.push(M)}return _},"applyBeforeEach"),c=b(async F=>{let _=[...ue(r.experimental_afterEach),...ue(t.experimental_afterEach),...ue(e.experimental_afterEach)].reverse();for(let j of _){if(F.abortSignal.aborted)return;await j(F)}},"applyAfterEach"),p=b(F=>F.originalStoryFn(F.args,F),"undecoratedStoryFn"),{applyDecorators:h=wl,runStep:d}=r,y=[...ue(e?.decorators),...ue(t?.decorators),...ue(r?.decorators)],g=e?.userStoryFn||e?.render||t.render||r.render,A=cf(h)(p,y),v=b(F=>A(F),"unboundStoryFn"),S=e?.play??t?.play,w=vl(S);if(!g&&!w)throw new Rs({id:o});let x=b(F=>async()=>(await F.renderToCanvas(),F.canvas),"defaultMount"),C=e.mount??t.mount??r.mount??x,k=r.testingLibraryRender;return{storyGlobals:{},...i,moduleExport:n,id:o,name:a,story:a,originalStoryFn:g,undecoratedStoryFn:p,unboundStoryFn:v,applyLoaders:s,applyBeforeEach:l,applyAfterEach:c,playFunction:S,runStep:d,mount:C,testingLibraryRender:k,renderToCanvas:r.renderToCanvas,usesMount:w}}b(Wo,"prepareStory");function Cl(e,t,r){return{...Ko(void 0,e,t),moduleExport:r}}b(Cl,"prepareMeta");function Ko(e,t,r){let n=["dev","test"],o=De.DOCS_OPTIONS?.autodocs===!0?["autodocs"]:[],a=iu(...n,...o,...r.tags??[],...t.tags??[],...e?.tags??[]),i=at(r.parameters,t.parameters,e?.parameters),{argTypesEnhancers:s=[],argsEnhancers:l=[]}=r,c=at(r.argTypes,t.argTypes,e?.argTypes);if(e){let S=e?.userStoryFn||e?.render||t.render||r.render;i.__isArgsStory=S&&S.length>0}let p={...r.args,...t.args,...e?.args},h={...t.globals,...e?.globals},d={componentId:t.id,title:t.title,kind:t.title,id:e?.id||t.id,name:e?.name||"__meta",story:e?.name||"__meta",component:t.component,subcomponents:t.subcomponents,tags:a,parameters:i,initialArgs:p,argTypes:c,storyGlobals:h};d.argTypes=s.reduce((S,w)=>w({...d,argTypes:S}),d.argTypes);let y={...p};d.initialArgs=l.reduce((S,w)=>({...S,...w({...d,initialArgs:S})}),y);let{name:g,story:A,...v}=d;return v}b(Ko,"preparePartialAnnotations");function Yo(e){let{args:t}=e,r={...e,allArgs:void 0,argsByTarget:void 0};if(De.FEATURES?.argTypeTargetsV7){let a=hl(e);r={...e,allArgs:e.args,argsByTarget:a,args:a[pl]||{}}}let n=Object.entries(r.args).reduce((a,[i,s])=>{if(!r.argTypes[i]?.mapping)return a[i]=s,a;let l=b(c=>{let p=r.argTypes[i].mapping;return p&&c in p?p[c]:c},"mappingFn");return a[i]=Array.isArray(s)?s.map(l):l(s),a},{}),o=Object.entries(n).reduce((a,[i,s])=>{let l=r.argTypes[i]||{};return mn(l,n,r.globals)&&(a[i]=s),a},{});return{...r,unmappedArgs:t,args:o}}b(Yo,"prepareContext");var Ro=b((e,t,r)=>{let n=typeof e;switch(n){case"boolean":case"string":case"number":case"function":case"symbol":return{name:n};default:break}return e?r.has(e)?(ee.warn(me` + 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/writing-stories/args#mapping-to-complex-arg-values + - Custom args: https://storybook.js.org/docs/essentials/controls#fully-custom-args + `),{name:"other",value:"cyclic object"}):(r.add(e),Array.isArray(e)?{name:"array",value:e.length>0?Ro(e[0],t,new Set(r)):{name:"other",value:"unknown"}}:{name:"object",value:Ot(e,o=>Ro(o,t,new Set(r)))}):{name:"object",value:{}}},"inferType"),xl=b(e=>{let{id:t,argTypes:r={},initialArgs:n={}}=e,o=Ot(n,(i,s)=>({name:s,type:Ro(i,`${t}.${s}`,new Set)})),a=Ot(r,(i,s)=>({name:s}));return at(o,a,r)},"inferArgTypes");xl.secondPass=!0;var Ms=b((e,t)=>Array.isArray(t)?t.includes(e):e.match(t),"matches"),am=b((e,t,r)=>!t&&!r?e:e&&cl(e,(n,o)=>{let a=n.name||o.toString();return!!(!t||Ms(a,t))&&(!r||!Ms(a,r))}),"filterArgTypes"),im=b((e,t,r)=>{let{type:n,options:o}=e;if(n){if(r.color&&r.color.test(t)){let a=n.name;if(a==="string")return{control:{type:"color"}};a!=="enum"&&ee.warn(`Addon controls: Control of type color only supports string, received "${a}" 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:a}=n;return{control:{type:a?.length<=5?"radio":"select"},options:a}}case"function":case"symbol":return null;default:return{control:{type:o?"select":"object"}}}}},"inferControl"),Tl=b(e=>{let{argTypes:t,parameters:{__isArgsStory:r,controls:{include:n=null,exclude:o=null,matchers:a={}}={}}}=e;if(!r)return t;let i=am(t,n,o),s=Ot(i,(l,c)=>l?.type&&im(l,c.toString(),a));return at(s,i)},"inferControls");Tl.secondPass=!0;function Qt({argTypes:e,globalTypes:t,argTypesEnhancers:r,decorators:n,loaders:o,beforeEach:a,experimental_afterEach:i,globals:s,initialGlobals:l,...c}){return s&&Object.keys(s).length>0&&nt(me` + The preview.js 'globals' field is deprecated and will be removed in Storybook 9.0. + Please use 'initialGlobals' instead. Learn more: + + https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#previewjs-globals-renamed-to-initialglobals + `),{...e&&{argTypes:ln(e)},...t&&{globalTypes:ln(t)},decorators:ue(n),loaders:ue(o),beforeEach:ue(a),experimental_afterEach:ue(i),argTypesEnhancers:[...r||[],xl,Tl],initialGlobals:at(l,s),...c}}b(Qt,"normalizeProjectAnnotations");var sm=b(e=>async()=>{let t=[];for(let r of e){let n=await r();n&&t.unshift(n)}return async()=>{for(let r of t)await r()}},"composeBeforeAllHooks");function Fl(e){return async(t,r,n)=>{await e.reduceRight((o,a)=>async()=>a(t,o,n),async()=>r(n))()}}b(Fl,"composeStepRunners");function Zt(e,t){return e.map(r=>r.default?.[t]??r[t]).filter(Boolean)}b(Zt,"getField");function ot(e,t,r={}){return Zt(e,t).reduce((n,o)=>{let a=ue(o);return r.reverseFileOrder?[...a,...n]:[...n,...a]},[])}b(ot,"getArrayField");function Xt(e,t){return Object.assign({},...Zt(e,t))}b(Xt,"getObjectField");function It(e,t){return Zt(e,t).pop()}b(It,"getSingletonField");function _t(e){let t=ot(e,"argTypesEnhancers"),r=Zt(e,"runStep"),n=ot(e,"beforeAll");return{parameters:at(...Zt(e,"parameters")),decorators:ot(e,"decorators",{reverseFileOrder:!(De.FEATURES?.legacyDecoratorFileOrder??!1)}),args:Xt(e,"args"),argsEnhancers:ot(e,"argsEnhancers"),argTypes:Xt(e,"argTypes"),argTypesEnhancers:[...t.filter(o=>!o.secondPass),...t.filter(o=>o.secondPass)],globals:Xt(e,"globals"),initialGlobals:Xt(e,"initialGlobals"),globalTypes:Xt(e,"globalTypes"),loaders:ot(e,"loaders"),beforeAll:sm(n),beforeEach:ot(e,"beforeEach"),experimental_afterEach:ot(e,"experimental_afterEach"),render:It(e,"render"),renderToCanvas:It(e,"renderToCanvas"),renderToDOM:It(e,"renderToDOM"),applyDecorators:It(e,"applyDecorators"),runStep:Fl(r),tags:ot(e,"tags"),mount:It(e,"mount"),testingLibraryRender:It(e,"testingLibraryRender")}}b(_t,"composeConfigs");var Il=class{constructor(){this.reports=[]}async addReport(t){this.reports.push(t)}};b(Il,"ReporterAPI");var kl=Il;function Rl(e,t,r){return Bt(e)?{story:e.input,meta:e.meta.input,preview:e.meta.preview.composed}:{story:e,meta:t,preview:r}}b(Rl,"getCsfFactoryAnnotations");function lm(e){globalThis.defaultProjectAnnotations=e}b(lm,"setDefaultProjectAnnotations");var um="ComposedStory",cm="Unnamed Story";function Ol(e){return e?_t([e]):{}}b(Ol,"extractAnnotation");function dm(e){let t=Array.isArray(e)?e:[e];return globalThis.globalProjectAnnotations=_t([globalThis.defaultProjectAnnotations??{},_t(t.map(Ol))]),globalThis.globalProjectAnnotations??{}}b(dm,"setProjectAnnotations");var gt=[];function _l(e,t,r,n,o){if(e===void 0)throw new Error("Expected a story but received undefined.");t.title=t.title??um;let a=cn(t),i=o||e.storyName||e.story?.name||e.name||cm,s=un(i,e,a),l=Qt(_t([n??globalThis.globalProjectAnnotations??{},r??{}])),c=Wo(s,a,l),p={...yl(l.globalTypes),...l.initialGlobals,...c.storyGlobals},h=new kl,d=b(()=>{let S=Yo({hooks:new al,globals:p,args:{...c.initialArgs},viewMode:"story",reporting:h,loaded:{},abortSignal:new AbortController().signal,step:b((w,x)=>c.runStep(w,x,S),"step"),canvasElement:null,canvas:{},globalTypes:l.globalTypes,...c,context:null,mount:null});return S.parameters.__isPortableStory=!0,S.context=S,c.renderToCanvas&&(S.renderToCanvas=async()=>{let w=await c.renderToCanvas?.({componentId:c.componentId,title:c.title,id:c.id,name:c.name,tags:c.tags,showMain:b(()=>{},"showMain"),showError:b(x=>{throw new Error(`${x.title} +${x.description}`)},"showError"),showException:b(x=>{throw x},"showException"),forceRemount:!0,storyContext:S,storyFn:b(()=>c.unboundStoryFn(S),"storyFn"),unboundStoryFn:c.unboundStoryFn},S.canvasElement);w&>.push(w)}),S.mount=c.mount(S),S},"initializeContext"),y,g=b(async S=>{let w=d();return w.canvasElement??=globalThis?.document?.body,y&&(w.loaded=y.loaded),Object.assign(w,S),c.playFunction(w)},"play"),A=b(S=>{let w=d();return Object.assign(w,S),Bl(c,w)},"run"),v=c.playFunction?g:void 0;return Object.assign(b(function(S){let w=d();return y&&(w.loaded=y.loaded),w.args={...w.initialArgs,...S},c.unboundStoryFn(w)},"storyFn"),{id:c.id,storyName:i,load:b(async()=>{for(let w of[...gt].reverse())await w();gt.length=0;let S=d();S.loaded=await c.applyLoaders(S),gt.push(...(await c.applyBeforeEach(S)).filter(Boolean)),y=S},"load"),globals:p,args:c.initialArgs,parameters:c.parameters,argTypes:c.argTypes,play:v,run:A,reporting:h,tags:c.tags})}b(_l,"composeStory");var pm=b((e,t,r,n)=>_l(e,t,r,{},n),"defaultComposeStory");function hm(e,t,r=pm){let{default:n,__esModule:o,__namedExportsOrder:a,...i}=e,s=n;return Object.entries(i).reduce((l,[c,p])=>{let{story:h,meta:d}=Rl(p);return!s&&d&&(s=d),er(c,s)?Object.assign(l,{[c]:r(h,s,t,c)}):l},{})}b(hm,"composeStories");function fm(e){return e.extend({mount:b(async({mount:t,page:r},n)=>{await n(async(o,...a)=>{if(!("__pw_type"in o)||"__pw_type"in o&&o.__pw_type!=="jsx")throw new Error(me` + Portable stories in Playwright CT only work when referencing JSX elements. + Please use JSX format for your components such as: + + instead of: + await mount(MyComponent, { props: { foo: 'bar' } }) + + do: + await mount() + + More info: https://storybook.js.org/docs/api/portable-stories-playwright + `);await r.evaluate(async s=>{let l=await globalThis.__pwUnwrapObject?.(s);return("__pw_type"in l?l.type:l)?.load?.()},o);let i=await t(o,...a);return await r.evaluate(async s=>{let l=await globalThis.__pwUnwrapObject?.(s),c="__pw_type"in l?l.type:l,p=document.querySelector("#root");return c?.play?.({canvasElement:p})},o),i})},"mount")})}b(fm,"createPlaywrightTest");async function Bl(e,t){for(let o of[...gt].reverse())await o();if(gt.length=0,!t.canvasElement){let o=document.createElement("div");globalThis?.document?.body?.appendChild(o),t.canvasElement=o,gt.push(()=>{globalThis?.document?.body?.contains(o)&&globalThis?.document?.body?.removeChild(o)})}if(t.loaded=await e.applyLoaders(t),t.abortSignal.aborted)return;gt.push(...(await e.applyBeforeEach(t)).filter(Boolean));let r=e.playFunction,n=e.usesMount;n||await t.mount(),!t.abortSignal.aborted&&(r&&(n||(t.mount=async()=>{throw new Zr({playFunction:r.toString()})}),await r(t)),await e.applyAfterEach(t))}b(Bl,"runStory");function Oo(e,t){return ll(ul(e,t),r=>r===void 0)}b(Oo,"picky");var Us=1e3,mm=1e4,Pl=class{constructor(t,r,n){this.importFn=r,this.getStoriesJsonData=b(()=>{let i=this.getSetStoriesPayload(),s=["fileName","docsOnly","framework","__id","__isArgsStory"];return{v:3,stories:Ot(i.stories,l=>{let{importPath:c}=this.storyIndex.entries[l.id];return{...Oo(l,["id","name","title"]),importPath:c,kind:l.title,story:l.name,parameters:{...Oo(l.parameters,s),fileName:c}}})}},"getStoriesJsonData"),this.storyIndex=new Qf(t),this.projectAnnotations=Qt(n);let{initialGlobals:o,globalTypes:a}=this.projectAnnotations;this.args=new Wf,this.userGlobals=new Kf({globals:o,globalTypes:a}),this.hooks={},this.cleanupCallbacks={},this.processCSFFileWithCache=(0,Ao.default)(Us)(El),this.prepareMetaWithCache=(0,Ao.default)(Us)(Cl),this.prepareStoryWithCache=(0,Ao.default)(mm)(Wo)}setProjectAnnotations(t){this.projectAnnotations=Qt(t);let{initialGlobals:r,globalTypes:n}=t;this.userGlobals.set({globals:r,globalTypes:n})}async onStoriesChanged({importFn:t,storyIndex:r}){t&&(this.importFn=t),r&&(this.storyIndex.entries=r.entries),this.cachedCSFFiles&&await this.cacheAllCSFFiles()}async storyIdToEntry(t){return this.storyIndex.storyIdToEntry(t)}async loadCSFFileByStoryId(t){let{importPath:r,title:n}=this.storyIndex.storyIdToEntry(t),o=await this.importFn(r);return this.processCSFFileWithCache(o,r,n)}async loadAllCSFFiles(){let t={};return Object.entries(this.storyIndex.entries).forEach(([r,{importPath:n}])=>{t[n]=r}),(await Promise.all(Object.entries(t).map(async([r,n])=>({importPath:r,csfFile:await this.loadCSFFileByStoryId(n)})))).reduce((r,{importPath:n,csfFile:o})=>(r[n]=o,r),{})}async cacheAllCSFFiles(){this.cachedCSFFiles=await this.loadAllCSFFiles()}preparedMetaFromCSFFile({csfFile:t}){let r=t.meta;return this.prepareMetaWithCache(r,this.projectAnnotations,t.moduleExports.default)}async loadStory({storyId:t}){let r=await this.loadCSFFileByStoryId(t);return this.storyFromCSFFile({storyId:t,csfFile:r})}storyFromCSFFile({storyId:t,csfFile:r}){let n=r.stories[t];if(!n)throw new xs({storyId:t});let o=r.meta,a=this.prepareStoryWithCache(n,o,r.projectAnnotations??this.projectAnnotations);return this.args.setInitial(a),this.hooks[a.id]=this.hooks[a.id]||new al,a}componentStoriesFromCSFFile({csfFile:t}){return Object.keys(this.storyIndex.entries).filter(r=>!!t.stories[r]).map(r=>this.storyFromCSFFile({storyId:r,csfFile:t}))}async loadEntry(t){let r=await this.storyIdToEntry(t),n=r.type==="docs"?r.storiesImports:[],[o,...a]=await Promise.all([this.importFn(r.importPath),...n.map(i=>{let s=this.storyIndex.importPathToEntry(i);return this.loadCSFFileByStoryId(s.id)})]);return{entryExports:o,csfFiles:a}}getStoryContext(t,{forceInitialArgs:r=!1}={}){let n=this.userGlobals.get(),{initialGlobals:o}=this.userGlobals,a=new kl;return Yo({...t,args:r?t.initialArgs:this.args.get(t.id),initialGlobals:o,globalTypes:this.projectAnnotations.globalTypes,userGlobals:n,reporting:a,globals:{...n,...t.storyGlobals},hooks:this.hooks[t.id]})}addCleanupCallbacks(t,r){this.cleanupCallbacks[t.id]=r}async cleanupStory(t){this.hooks[t.id].clean();let r=this.cleanupCallbacks[t.id];if(r)for(let n of[...r].reverse())await n();delete this.cleanupCallbacks[t.id]}extract(t={includeDocsOnly:!1}){let{cachedCSFFiles:r}=this;if(!r)throw new hs;return Object.entries(this.storyIndex.entries).reduce((n,[o,{type:a,importPath:i}])=>{if(a==="docs")return n;let s=r[i],l=this.storyFromCSFFile({storyId:o,csfFile:s});return!t.includeDocsOnly&&l.parameters.docsOnly||(n[o]=Object.entries(l).reduce((c,[p,h])=>p==="moduleExport"||typeof h=="function"?c:Array.isArray(h)?Object.assign(c,{[p]:h.slice().sort()}):Object.assign(c,{[p]:h}),{args:l.initialArgs,globals:{...this.userGlobals.initialGlobals,...this.userGlobals.globals,...l.storyGlobals}})),n},{})}getSetStoriesPayload(){let t=this.extract({includeDocsOnly:!0}),r=Object.values(t).reduce((n,{title:o})=>(n[o]={},n),{});return{v:2,globals:this.userGlobals.get(),globalParameters:{},kindParameters:r,stories:t}}raw(){return nt("StoryStore.raw() is deprecated and will be removed in 9.0, please use extract() instead"),Object.values(this.extract()).map(({id:t})=>this.fromId(t)).filter(Boolean)}fromId(t){if(nt("StoryStore.fromId() is deprecated and will be removed in 9.0, please use loadStory() instead"),!this.cachedCSFFiles)throw new Error("Cannot call fromId/raw() unless you call cacheAllCSFFiles() first.");let r;try{({importPath:r}=this.storyIndex.storyIdToEntry(t))}catch{return null}let n=this.cachedCSFFiles[r],o=this.storyFromCSFFile({storyId:t,csfFile:n});return{...o,storyFn:b(a=>{let i={...this.getStoryContext(o),abortSignal:new AbortController().signal,canvasElement:null,loaded:{},step:b((s,l)=>o.runStep(s,l,i),"step"),context:null,mount:null,canvas:{},viewMode:"story"};return o.unboundStoryFn({...i,...a})},"storyFn")}}};b(Pl,"StoryStore");var ym=Pl;function Nl(e){return e.startsWith("\\\\?\\")?e:e.replace(/\\/g,"/")}b(Nl,"slash");var gm=b(e=>{if(e.length===0)return e;let t=e[e.length-1],r=t?.replace(/(?:[.](?:story|stories))?([.][^.]+)$/i,"");if(e.length===1)return[r];let n=e[e.length-2];return r&&n&&r.toLowerCase()===n.toLowerCase()?[...e.slice(0,-2),r]:r&&(/^(story|stories)([.][^.]+)$/i.test(t)||/^index$/i.test(r))?e.slice(0,-1):[...e.slice(0,-1),r]},"sanitize");function _o(e){return e.flatMap(t=>t.split("/")).filter(Boolean).join("/")}b(_o,"pathJoin");var bm=b((e,t,r)=>{let{directory:n,importPathMatcher:o,titlePrefix:a=""}=t||{};typeof e=="number"&&mt.warn(me` + CSF Auto-title received a numeric fileName. This typically happens when + webpack is mis-configured in production mode. To force webpack to produce + filenames, set optimization.moduleIds = "named" in your webpack config. + `);let i=Nl(String(e));if(o.exec(i)){if(!r){let s=i.replace(n,""),l=_o([a,s]).split("/");return l=gm(l),l.join("/")}return a?_o([a,r]):r}},"userOrAutoTitleFromSpecifier"),t5=b((e,t,r)=>{for(let n=0;n(t,r)=>{if(t.title===r.title&&!e.includeNames)return 0;let n=e.method||"configure",o=e.order||[],a=t.title.trim().split($s),i=r.title.trim().split($s);e.includeNames&&(a.push(t.name),i.push(r.name));let s=0;for(;a[s]||i[s];){if(!a[s])return-1;if(!i[s])return 1;let l=a[s],c=i[s];if(l!==c){let h=o.indexOf(l),d=o.indexOf(c),y=o.indexOf("*");return h!==-1||d!==-1?(h===-1&&(y!==-1?h=y:h=o.length),d===-1&&(y!==-1?d=y:d=o.length),h-d):n==="configure"?0:l.localeCompare(c,e.locales?e.locales:void 0,{numeric:!0,sensitivity:"accent"})}let p=o.indexOf(l);p===-1&&(p=o.indexOf("*")),o=p!==-1&&Array.isArray(o[p+1])?o[p+1]:[],s+=1}return 0},"storySort"),vm=b((e,t,r)=>{if(t){let n;typeof t=="function"?n=t:n=Em(t),e.sort(n)}else e.sort((n,o)=>r.indexOf(n.importPath)-r.indexOf(o.importPath));return e},"sortStoriesCommon"),r5=b((e,t,r)=>{try{return vm(e,t,r)}catch(n){throw new Error(me` + Error sorting stories with sort parameter ${t}: + + > ${n.message} + + Are you using a V6-style sort function in V7 mode? + + More info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#v7-style-story-sort + `)}},"sortStoriesV7"),fn=new Error("prepareAborted"),{AbortController:qs}=globalThis;function Bo(e){try{let{name:t="Error",message:r=String(e),stack:n}=e;return{name:t,message:r,stack:n}}catch{return{name:"Error",message:String(e)}}}b(Bo,"serializeError");var jl=class{constructor(t,r,n,o,a,i,s={autoplay:!0,forceInitialArgs:!1},l){this.channel=t,this.store=r,this.renderToScreen=n,this.callbacks=o,this.id=a,this.viewMode=i,this.renderOptions=s,this.type="story",this.notYetRendered=!0,this.rerenderEnqueued=!1,this.disableKeyListeners=!1,this.teardownRender=b(()=>{},"teardownRender"),this.torndown=!1,this.abortController=new qs,l&&(this.story=l,this.phase="preparing")}async runPhase(t,r,n){this.phase=r,this.channel.emit(Kt,{newPhase:this.phase,storyId:this.id}),n&&(await n(),this.checkIfAborted(t))}checkIfAborted(t){return t.aborted?(this.phase="aborted",this.channel.emit(Kt,{newPhase:this.phase,storyId:this.id}),!0):!1}async prepare(){if(await this.runPhase(this.abortController.signal,"preparing",async()=>{this.story=await this.store.loadStory({storyId:this.id})}),this.abortController.signal.aborted)throw await this.store.cleanupStory(this.story),fn}isEqual(t){return!!(this.id===t.id&&this.story&&this.story===t.story)}isPreparing(){return["preparing"].includes(this.phase)}isPending(){return["loading","beforeEach","rendering","playing","afterEach"].includes(this.phase)}async renderToElement(t){return this.canvasElement=t,this.render({initial:!0,forceRemount:!0})}storyContext(){if(!this.story)throw new Error("Cannot call storyContext before preparing");let{forceInitialArgs:t}=this.renderOptions;return this.store.getStoryContext(this.story,{forceInitialArgs:t})}async render({initial:t=!1,forceRemount:r=!1}={}){let{canvasElement:n}=this;if(!this.story)throw new Error("cannot render when not prepared");let o=this.story;if(!n)throw new Error("cannot render when canvasElement is unset");let{id:a,componentId:i,title:s,name:l,tags:c,applyLoaders:p,applyBeforeEach:h,applyAfterEach:d,unboundStoryFn:y,playFunction:g,runStep:A}=o;r&&!t&&(this.cancelRender(),this.abortController=new qs);let v=this.abortController.signal,S=!1,w=o.usesMount;try{let x={...this.storyContext(),viewMode:this.viewMode,abortSignal:v,canvasElement:n,loaded:{},step:b((L,z)=>A(L,z,x),"step"),context:null,canvas:{},renderToCanvas:b(async()=>{let L=await this.renderToScreen(C,n);this.teardownRender=L||(()=>{}),S=!0},"renderToCanvas"),mount:b(async(...L)=>{this.callbacks.showStoryDuringRender?.();let z=null;return await this.runPhase(v,"rendering",async()=>{z=await o.mount(x)(...L)}),w&&await this.runPhase(v,"playing"),z},"mount")};x.context=x;let C={componentId:i,title:s,kind:s,id:a,name:l,story:l,tags:c,...this.callbacks,showError:b(L=>(this.phase="errored",this.callbacks.showError(L)),"showError"),showException:b(L=>(this.phase="errored",this.callbacks.showException(L)),"showException"),forceRemount:r||this.notYetRendered,storyContext:x,storyFn:b(()=>y(x),"storyFn"),unboundStoryFn:y};if(await this.runPhase(v,"loading",async()=>{x.loaded=await p(x)}),v.aborted)return;let k=await h(x);if(this.store.addCleanupCallbacks(o,k),this.checkIfAborted(v)||(!S&&!w&&await x.mount(),this.notYetRendered=!1,v.aborted))return;let F=this.story.parameters?.test?.dangerouslyIgnoreUnhandledErrors===!0,_=new Set,j=b(L=>_.add("error"in L?L.error:L.reason),"onError");if(this.renderOptions.autoplay&&r&&g&&this.phase!=="errored"){window.addEventListener("error",j),window.addEventListener("unhandledrejection",j),this.disableKeyListeners=!0;try{if(w?await g(x):(x.mount=async()=>{throw new Zr({playFunction:g.toString()})},await this.runPhase(v,"playing",async()=>g(x))),!S)throw new _s;this.checkIfAborted(v),!F&&_.size>0?await this.runPhase(v,"errored"):await this.runPhase(v,"played")}catch(L){if(this.callbacks.showStoryDuringRender?.(),await this.runPhase(v,"errored",async()=>{this.channel.emit(Si,Bo(L))}),this.story.parameters.throwPlayFunctionExceptions!==!1)throw L;console.error(L)}if(!F&&_.size>0&&this.channel.emit(Ni,Array.from(_).map(Bo)),this.disableKeyListeners=!1,window.removeEventListener("unhandledrejection",j),window.removeEventListener("error",j),v.aborted)return}await this.runPhase(v,"completed",async()=>this.channel.emit(br,a)),this.phase!=="errored"&&await this.runPhase(v,"afterEach",async()=>{await d(x)});let M=!F&&_.size>0,P=x.reporting.reports.some(L=>L.status==="failed"),W=M||P;await this.runPhase(v,"finished",async()=>this.channel.emit(oo,{storyId:a,status:W?"error":"success",reporters:x.reporting.reports}))}catch(x){this.phase="errored",this.callbacks.showException(x),await this.runPhase(v,"finished",async()=>this.channel.emit(oo,{storyId:a,status:"error",reporters:[]}))}this.rerenderEnqueued&&(this.rerenderEnqueued=!1,this.render())}async rerender(){if(this.isPending()&&this.phase!=="playing")this.rerenderEnqueued=!0;else return this.render()}async remount(){return await this.teardown(),this.render({forceRemount:!0})}cancelRender(){this.abortController?.abort()}async teardown(){this.torndown=!0,this.cancelRender(),this.story&&await this.store.cleanupStory(this.story);for(let t=0;t<3;t+=1){if(!this.isPending()){await this.teardownRender();return}await new Promise(r=>setTimeout(r,0))}window.location.reload(),await new Promise(()=>{})}};b(jl,"StoryRender");var Po=jl,{fetch:Am}=De,Dm="./index.json",Ll=class{constructor(t,r,n=Rt.getChannel(),o=!0){this.importFn=t,this.getProjectAnnotations=r,this.channel=n,this.storyRenders=[],this.storeInitializationPromise=new Promise((a,i)=>{this.resolveStoreInitializationPromise=a,this.rejectStoreInitializationPromise=i}),o&&this.initialize()}get storyStore(){return new Proxy({},{get:b((t,r)=>{if(this.storyStoreValue)return nt("Accessing the Story Store is deprecated and will be removed in 9.0"),this.storyStoreValue[r];throw new Fs},"get")})}async initialize(){this.setupListeners();try{let t=await this.getProjectAnnotationsOrRenderError();await this.runBeforeAllHook(t),await this.initializeWithProjectAnnotations(t)}catch(t){this.rejectStoreInitializationPromise(t)}}ready(){return this.storeInitializationPromise}setupListeners(){this.channel.on(Ri,this.onStoryIndexChanged.bind(this)),this.channel.on(Hr,this.onUpdateGlobals.bind(this)),this.channel.on(Gr,this.onUpdateArgs.bind(this)),this.channel.on(bi,this.onRequestArgTypesInfo.bind(this)),this.channel.on(Jr,this.onResetArgs.bind(this)),this.channel.on(Vr,this.onForceReRender.bind(this)),this.channel.on(Ai,this.onForceRemount.bind(this))}async getProjectAnnotationsOrRenderError(){try{let t=await this.getProjectAnnotations();if(this.renderToCanvas=t.renderToCanvas,!this.renderToCanvas)throw new ms;return t}catch(t){throw this.renderPreviewEntryError("Error reading preview.js:",t),t}}async initializeWithProjectAnnotations(t){this.projectAnnotationsBeforeInitialization=t;try{let r=await this.getStoryIndexFromServer();return this.initializeWithStoryIndex(r)}catch(r){throw this.renderPreviewEntryError("Error loading story index:",r),r}}async runBeforeAllHook(t){try{await this.beforeAllCleanup?.(),this.beforeAllCleanup=await t.beforeAll?.()}catch(r){throw this.renderPreviewEntryError("Error in beforeAll hook:",r),r}}async getStoryIndexFromServer(){let t=await Am(Dm);if(t.status===200)return t.json();throw new bs({text:await t.text()})}initializeWithStoryIndex(t){if(!this.projectAnnotationsBeforeInitialization)throw new Error("Cannot call initializeWithStoryIndex until project annotations resolve");this.storyStoreValue=new ym(t,this.importFn,this.projectAnnotationsBeforeInitialization),delete this.projectAnnotationsBeforeInitialization,this.setInitialGlobals(),this.resolveStoreInitializationPromise()}async setInitialGlobals(){this.emitGlobals()}emitGlobals(){if(!this.storyStoreValue)throw new Me({methodName:"emitGlobals"});let t={globals:this.storyStoreValue.userGlobals.get()||{},globalTypes:this.storyStoreValue.projectAnnotations.globalTypes||{}};this.channel.emit(Ti,t)}async onGetProjectAnnotationsChanged({getProjectAnnotations:t}){delete this.previewEntryError,this.getProjectAnnotations=t;let r=await this.getProjectAnnotationsOrRenderError();if(await this.runBeforeAllHook(r),!this.storyStoreValue){await this.initializeWithProjectAnnotations(r);return}this.storyStoreValue.setProjectAnnotations(r),this.emitGlobals()}async onStoryIndexChanged(){if(delete this.previewEntryError,!(!this.storyStoreValue&&!this.projectAnnotationsBeforeInitialization))try{let t=await this.getStoryIndexFromServer();if(this.projectAnnotationsBeforeInitialization){this.initializeWithStoryIndex(t);return}await this.onStoriesChanged({storyIndex:t})}catch(t){throw this.renderPreviewEntryError("Error loading story index:",t),t}}async onStoriesChanged({importFn:t,storyIndex:r}){if(!this.storyStoreValue)throw new Me({methodName:"onStoriesChanged"});await this.storyStoreValue.onStoriesChanged({importFn:t,storyIndex:r})}async onUpdateGlobals({globals:t,currentStory:r}){if(this.storyStoreValue||await this.storeInitializationPromise,!this.storyStoreValue)throw new Me({methodName:"onUpdateGlobals"});if(this.storyStoreValue.userGlobals.update(t),r){let{initialGlobals:n,storyGlobals:o,userGlobals:a,globals:i}=this.storyStoreValue.getStoryContext(r);this.channel.emit(Wt,{initialGlobals:n,userGlobals:a,storyGlobals:o,globals:i})}else{let{initialGlobals:n,globals:o}=this.storyStoreValue.userGlobals;this.channel.emit(Wt,{initialGlobals:n,userGlobals:o,storyGlobals:{},globals:o})}await Promise.all(this.storyRenders.map(n=>n.rerender()))}async onUpdateArgs({storyId:t,updatedArgs:r}){if(!this.storyStoreValue)throw new Me({methodName:"onUpdateArgs"});this.storyStoreValue.args.update(t,r),await Promise.all(this.storyRenders.filter(n=>n.id===t&&!n.renderOptions.forceInitialArgs).map(n=>n.story&&n.story.usesMount?n.remount():n.rerender())),this.channel.emit(Fi,{storyId:t,args:this.storyStoreValue.args.get(t)})}async onRequestArgTypesInfo({id:t,payload:r}){try{await this.storeInitializationPromise;let n=await this.storyStoreValue?.loadStory(r);this.channel.emit(to,{id:t,success:!0,payload:{argTypes:n?.argTypes||{}},error:null})}catch(n){this.channel.emit(to,{id:t,success:!1,error:n?.message})}}async onResetArgs({storyId:t,argNames:r}){if(!this.storyStoreValue)throw new Me({methodName:"onResetArgs"});let n=this.storyRenders.find(a=>a.id===t)?.story||await this.storyStoreValue.loadStory({storyId:t}),o=(r||[...new Set([...Object.keys(n.initialArgs),...Object.keys(this.storyStoreValue.args.get(t))])]).reduce((a,i)=>(a[i]=n.initialArgs[i],a),{});await this.onUpdateArgs({storyId:t,updatedArgs:o})}async onForceReRender(){await Promise.all(this.storyRenders.map(t=>t.rerender()))}async onForceRemount({storyId:t}){await Promise.all(this.storyRenders.filter(r=>r.id===t).map(r=>r.remount()))}renderStoryToElement(t,r,n,o){if(!this.renderToCanvas||!this.storyStoreValue)throw new Me({methodName:"renderStoryToElement"});let a=new Po(this.channel,this.storyStoreValue,this.renderToCanvas,n,t.id,"docs",o,t);return a.renderToElement(r),this.storyRenders.push(a),async()=>{await this.teardownRender(a)}}async teardownRender(t,{viewModeChanged:r}={}){this.storyRenders=this.storyRenders.filter(n=>n!==t),await t?.teardown?.({viewModeChanged:r})}async loadStory({storyId:t}){if(!this.storyStoreValue)throw new Me({methodName:"loadStory"});return this.storyStoreValue.loadStory({storyId:t})}getStoryContext(t,{forceInitialArgs:r=!1}={}){if(!this.storyStoreValue)throw new Me({methodName:"getStoryContext"});return this.storyStoreValue.getStoryContext(t,{forceInitialArgs:r})}async extract(t){if(!this.storyStoreValue)throw new Me({methodName:"extract"});if(this.previewEntryError)throw this.previewEntryError;return await this.storyStoreValue.cacheAllCSFFiles(),this.storyStoreValue.extract(t)}renderPreviewEntryError(t,r){this.previewEntryError=r,ee.error(t),ee.error(r),this.channel.emit(Ei,r)}};b(Ll,"Preview");var Sm=Ll,wm=!1,Do="Invariant failed";function on(e,t){if(!e){if(wm)throw new Error(Do);var r=typeof t=="function"?t():t,n=r?"".concat(Do,": ").concat(r):Do;throw new Error(n)}}b(on,"invariant");var Ml=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.renderStoryToElement=n,this.storyIdByName=b(a=>{let i=this.nameToStoryId.get(a);if(i)return i;throw new Error(`No story found with that name: ${a}`)},"storyIdByName"),this.componentStories=b(()=>this.componentStoriesValue,"componentStories"),this.componentStoriesFromCSFFile=b(a=>this.store.componentStoriesFromCSFFile({csfFile:a}),"componentStoriesFromCSFFile"),this.storyById=b(a=>{if(!a){if(!this.primaryStory)throw new Error("No primary story defined for docs entry. Did you forget to use ``?");return this.primaryStory}let i=this.storyIdToCSFFile.get(a);if(!i)throw new Error(`Called \`storyById\` for story that was never loaded: ${a}`);return this.store.storyFromCSFFile({storyId:a,csfFile:i})},"storyById"),this.getStoryContext=b(a=>({...this.store.getStoryContext(a),loaded:{},viewMode:"docs"}),"getStoryContext"),this.loadStory=b(a=>this.store.loadStory({storyId:a}),"loadStory"),this.componentStoriesValue=[],this.storyIdToCSFFile=new Map,this.exportToStory=new Map,this.exportsToCSFFile=new Map,this.nameToStoryId=new Map,this.attachedCSFFiles=new Set,o.forEach((a,i)=>{this.referenceCSFFile(a)})}referenceCSFFile(t){this.exportsToCSFFile.set(t.moduleExports,t),this.exportsToCSFFile.set(t.moduleExports.default,t),this.store.componentStoriesFromCSFFile({csfFile:t}).forEach(r=>{let n=t.stories[r.id];this.storyIdToCSFFile.set(n.id,t),this.exportToStory.set(n.moduleExport,r)})}attachCSFFile(t){if(!this.exportsToCSFFile.has(t.moduleExports))throw new Error("Cannot attach a CSF file that has not been referenced");this.attachedCSFFiles.has(t)||(this.attachedCSFFiles.add(t),this.store.componentStoriesFromCSFFile({csfFile:t}).forEach(r=>{this.nameToStoryId.set(r.name,r.id),this.componentStoriesValue.push(r),this.primaryStory||(this.primaryStory=r)}))}referenceMeta(t,r){let n=this.resolveModuleExport(t);if(n.type!=="meta")throw new Error(" must reference a CSF file module export or meta export. Did you mistakenly reference your component instead of your CSF file?");r&&this.attachCSFFile(n.csfFile)}get projectAnnotations(){let{projectAnnotations:t}=this.store;if(!t)throw new Error("Can't get projectAnnotations from DocsContext before they are initialized");return t}resolveAttachedModuleExportType(t){if(t==="story"){if(!this.primaryStory)throw new Error("No primary story attached to this docs file, did you forget to use ?");return{type:"story",story:this.primaryStory}}if(this.attachedCSFFiles.size===0)throw new Error("No CSF file attached to this docs file, did you forget to use ?");let r=Array.from(this.attachedCSFFiles)[0];if(t==="meta")return{type:"meta",csfFile:r};let{component:n}=r.meta;if(!n)throw new Error("Attached CSF file does not defined a component, did you forget to export one?");return{type:"component",component:n}}resolveModuleExport(t){let r=this.exportsToCSFFile.get(t);if(r)return{type:"meta",csfFile:r};let n=this.exportToStory.get(Bt(t)?t.input:t);return n?{type:"story",story:n}:{type:"component",component:t}}resolveOf(t,r=[]){let n;if(["component","meta","story"].includes(t)){let o=t;n=this.resolveAttachedModuleExportType(o)}else n=this.resolveModuleExport(t);if(r.length&&!r.includes(n.type)){let o=n.type==="component"?"component or unknown":n.type;throw new Error(me`Invalid value passed to the 'of' prop. The value was resolved to a '${o}' type but the only types for this block are: ${r.join(", ")}. + - Did you pass a component to the 'of' prop when the block only supports a story or a meta? + - ... or vice versa? + - Did you pass a story, CSF file or meta to the 'of' prop that is not indexed, ie. is not targeted by the 'stories' globs in the main configuration?`)}switch(n.type){case"component":return{...n,projectAnnotations:this.projectAnnotations};case"meta":return{...n,preparedMeta:this.store.preparedMetaFromCSFFile({csfFile:n.csfFile})};case"story":default:return n}}};b(Ml,"DocsContext");var Ul=Ml,$l=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.entry=n,this.callbacks=o,this.type="docs",this.subtype="csf",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=n.id}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:t,csfFiles:r=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw fn;let{importPath:n,title:o}=this.entry,a=this.store.processCSFFileWithCache(t,n,o),i=Object.keys(a.stories)[0];this.story=this.store.storyFromCSFFile({storyId:i,csfFile:a}),this.csfFiles=[a,...r],this.preparing=!1}isEqual(t){return!!(this.id===t.id&&this.story&&this.story===t.story)}docsContext(t){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");let r=new Ul(this.channel,this.store,t,this.csfFiles);return this.csfFiles.forEach(n=>r.attachCSFFile(n)),r}async renderToElement(t,r){if(!this.story||!this.csfFiles)throw new Error("Cannot render docs before preparing");let n=this.docsContext(r),{docs:o}=this.story.parameters||{};if(!o)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let a=await o.renderer(),{render:i}=a,s=b(async()=>{try{await i(n,o,t),this.channel.emit(qr,this.id)}catch(l){this.callbacks.showException(l)}},"renderDocs");return this.rerender=async()=>s(),this.teardownRender=async({viewModeChanged:l})=>{!l||!t||a.unmount(t)},s()}async teardown({viewModeChanged:t}={}){this.teardownRender?.({viewModeChanged:t}),this.torndown=!0}};b($l,"CsfDocsRender");var Vs=$l,ql=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.entry=n,this.callbacks=o,this.type="docs",this.subtype="mdx",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=n.id}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:t,csfFiles:r=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw fn;this.csfFiles=r,this.exports=t,this.preparing=!1}isEqual(t){return!!(this.id===t.id&&this.exports&&this.exports===t.exports)}docsContext(t){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");return new Ul(this.channel,this.store,t,this.csfFiles)}async renderToElement(t,r){if(!this.exports||!this.csfFiles||!this.store.projectAnnotations)throw new Error("Cannot render docs before preparing");let n=this.docsContext(r),{docs:o}=this.store.projectAnnotations.parameters||{};if(!o)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let a={...o,page:this.exports.default},i=await o.renderer(),{render:s}=i,l=b(async()=>{try{await s(n,a,t),this.channel.emit(qr,this.id)}catch(c){this.callbacks.showException(c)}},"renderDocs");return this.rerender=async()=>l(),this.teardownRender=async({viewModeChanged:c}={})=>{!c||!t||(i.unmount(t),this.torndown=!0)},l()}async teardown({viewModeChanged:t}={}){this.teardownRender?.({viewModeChanged:t}),this.torndown=!0}};b(ql,"MdxDocsRender");var Js=ql,Cm=globalThis;function Vl(e){let t=e.composedPath&&e.composedPath()[0]||e.target;return/input|textarea/i.test(t.tagName)||t.getAttribute("contenteditable")!==null}b(Vl,"focusInInput");var Jl="attached-mdx",xm="unattached-mdx";function zl({tags:e}){return e?.includes(xm)||e?.includes(Jl)}b(zl,"isMdxEntry");function an(e){return e.type==="story"}b(an,"isStoryRender");function Hl(e){return e.type==="docs"}b(Hl,"isDocsRender");function Gl(e){return Hl(e)&&e.subtype==="csf"}b(Gl,"isCsfDocsRender");var Wl=class extends Sm{constructor(t,r,n,o){super(t,r,void 0,!1),this.importFn=t,this.getProjectAnnotations=r,this.selectionStore=n,this.view=o,this.initialize()}setupListeners(){super.setupListeners(),Cm.onkeydown=this.onKeydown.bind(this),this.channel.on(xi,this.onSetCurrentStory.bind(this)),this.channel.on(ji,this.onUpdateQueryParams.bind(this)),this.channel.on(wi,this.onPreloadStories.bind(this))}async setInitialGlobals(){if(!this.storyStoreValue)throw new Me({methodName:"setInitialGlobals"});let{globals:t}=this.selectionStore.selectionSpecifier||{};t&&this.storyStoreValue.userGlobals.updateFromPersisted(t),this.emitGlobals()}async initializeWithStoryIndex(t){return await super.initializeWithStoryIndex(t),this.selectSpecifiedStory()}async selectSpecifiedStory(){if(!this.storyStoreValue)throw new Me({methodName:"selectSpecifiedStory"});if(this.selectionStore.selection){await this.renderSelection();return}if(!this.selectionStore.selectionSpecifier){this.renderMissingStory();return}let{storySpecifier:t,args:r}=this.selectionStore.selectionSpecifier,n=this.storyStoreValue.storyIndex.entryFromSpecifier(t);if(!n){t==="*"?this.renderStoryLoadingException(t,new Ds):this.renderStoryLoadingException(t,new ws({storySpecifier:t.toString()}));return}let{id:o,type:a}=n;this.selectionStore.setSelection({storyId:o,viewMode:a}),this.channel.emit(_i,this.selectionStore.selection),this.channel.emit(ro,this.selectionStore.selection),await this.renderSelection({persistedArgs:r})}async onGetProjectAnnotationsChanged({getProjectAnnotations:t}){await super.onGetProjectAnnotationsChanged({getProjectAnnotations:t}),this.selectionStore.selection&&this.renderSelection()}async onStoriesChanged({importFn:t,storyIndex:r}){await super.onStoriesChanged({importFn:t,storyIndex:r}),this.selectionStore.selection?await this.renderSelection():await this.selectSpecifiedStory()}onKeydown(t){if(!this.storyRenders.find(r=>r.disableKeyListeners)&&!Vl(t)){let{altKey:r,ctrlKey:n,metaKey:o,shiftKey:a,key:i,code:s,keyCode:l}=t;this.channel.emit(Ci,{event:{altKey:r,ctrlKey:n,metaKey:o,shiftKey:a,key:i,code:s,keyCode:l}})}}async onSetCurrentStory(t){this.selectionStore.setSelection({viewMode:"story",...t}),await this.storeInitializationPromise,this.channel.emit(ro,this.selectionStore.selection),this.renderSelection()}onUpdateQueryParams(t){this.selectionStore.setQueryParams(t)}async onUpdateGlobals({globals:t}){let r=this.currentRender instanceof Po&&this.currentRender.story||void 0;super.onUpdateGlobals({globals:t,currentStory:r}),(this.currentRender instanceof Js||this.currentRender instanceof Vs)&&await this.currentRender.rerender?.()}async onUpdateArgs({storyId:t,updatedArgs:r}){super.onUpdateArgs({storyId:t,updatedArgs:r})}async onPreloadStories({ids:t}){await this.storeInitializationPromise,this.storyStoreValue&&await Promise.allSettled(t.map(r=>this.storyStoreValue?.loadEntry(r)))}async renderSelection({persistedArgs:t}={}){let{renderToCanvas:r}=this;if(!this.storyStoreValue||!r)throw new Me({methodName:"renderSelection"});let{selection:n}=this.selectionStore;if(!n)throw new Error("Cannot call renderSelection as no selection was made");let{storyId:o}=n,a;try{a=await this.storyStoreValue.storyIdToEntry(o)}catch(d){this.currentRender&&await this.teardownRender(this.currentRender),this.renderStoryLoadingException(o,d);return}let i=this.currentSelection?.storyId!==o,s=this.currentRender?.type!==a.type;a.type==="story"?this.view.showPreparingStory({immediate:s}):this.view.showPreparingDocs({immediate:s}),this.currentRender?.isPreparing()&&await this.teardownRender(this.currentRender);let l;a.type==="story"?l=new Po(this.channel,this.storyStoreValue,r,this.mainStoryCallbacks(o),o,"story"):zl(a)?l=new Js(this.channel,this.storyStoreValue,a,this.mainStoryCallbacks(o)):l=new Vs(this.channel,this.storyStoreValue,a,this.mainStoryCallbacks(o));let c=this.currentSelection;this.currentSelection=n;let p=this.currentRender;this.currentRender=l;try{await l.prepare()}catch(d){p&&await this.teardownRender(p),d!==fn&&this.renderStoryLoadingException(o,d);return}let h=!i&&p&&!l.isEqual(p);if(t&&an(l)&&(on(!!l.story),this.storyStoreValue.args.updateFromPersisted(l.story,t)),p&&!p.torndown&&!i&&!h&&!s){this.currentRender=p,this.channel.emit(Pi,o),this.view.showMain();return}if(p&&await this.teardownRender(p,{viewModeChanged:s}),c&&(i||s)&&this.channel.emit(Ii,o),an(l)){on(!!l.story);let{parameters:d,initialArgs:y,argTypes:g,unmappedArgs:A,initialGlobals:v,userGlobals:S,storyGlobals:w,globals:x}=this.storyStoreValue.getStoryContext(l.story);this.channel.emit(Oi,{id:o,parameters:d,initialArgs:y,argTypes:g,args:A}),this.channel.emit(Wt,{userGlobals:S,storyGlobals:w,globals:x,initialGlobals:v})}else{let{parameters:d}=this.storyStoreValue.projectAnnotations,{initialGlobals:y,globals:g}=this.storyStoreValue.userGlobals;if(this.channel.emit(Wt,{globals:g,initialGlobals:y,storyGlobals:{},userGlobals:g}),Gl(l)||l.entry.tags?.includes(Jl)){if(!l.csfFiles)throw new vs({storyId:o});({parameters:d}=this.storyStoreValue.preparedMetaFromCSFFile({csfFile:l.csfFiles[0]}))}this.channel.emit(vi,{id:o,parameters:d})}an(l)?(on(!!l.story),this.storyRenders.push(l),this.currentRender.renderToElement(this.view.prepareForStory(l.story))):this.currentRender.renderToElement(this.view.prepareForDocs(),this.renderStoryToElement.bind(this))}async teardownRender(t,{viewModeChanged:r=!1}={}){this.storyRenders=this.storyRenders.filter(n=>n!==t),await t?.teardown?.({viewModeChanged:r})}mainStoryCallbacks(t){return{showStoryDuringRender:b(()=>this.view.showStoryDuringRender(),"showStoryDuringRender"),showMain:b(()=>this.view.showMain(),"showMain"),showError:b(r=>this.renderError(t,r),"showError"),showException:b(r=>this.renderException(t,r),"showException")}}renderPreviewEntryError(t,r){super.renderPreviewEntryError(t,r),this.view.showErrorDisplay(r)}renderMissingStory(){this.view.showNoPreview(),this.channel.emit(ao)}renderStoryLoadingException(t,r){ee.error(r),this.view.showErrorDisplay(r),this.channel.emit(ao,t)}renderException(t,r){let{name:n="Error",message:o=String(r),stack:a}=r;this.channel.emit(Bi,{name:n,message:o,stack:a}),this.channel.emit(Kt,{newPhase:"errored",storyId:t}),this.view.showErrorDisplay(r),ee.error(`Error rendering story '${t}':`),ee.error(r)}renderError(t,{title:r,description:n}){ee.error(`Error rendering story ${r}: ${n}`),this.channel.emit(ki,{title:r,description:n}),this.channel.emit(Kt,{newPhase:"errored",storyId:t}),this.view.showErrorDisplay({message:r,stack:n})}};b(Wl,"PreviewWithSelection");var Tm=Wl,No=tr($o(),1),Fm=tr($o(),1),zs=/^[a-zA-Z0-9 _-]*$/,Kl=/^-?[0-9]+(\.[0-9]+)?$/,Im=/^#([a-f0-9]{3,4}|[a-f0-9]{6}|[a-f0-9]{8})$/i,Yl=/^(rgba?|hsla?)\(([0-9]{1,3}),\s?([0-9]{1,3})%?,\s?([0-9]{1,3})%?,?\s?([0-9](\.[0-9]{1,2})?)?\)$/i,jo=b((e="",t)=>e===null||e===""||!zs.test(e)?!1:t==null||t instanceof Date||typeof t=="number"||typeof t=="boolean"?!0:typeof t=="string"?zs.test(t)||Kl.test(t)||Im.test(t)||Yl.test(t):Array.isArray(t)?t.every(r=>jo(e,r)):We(t)?Object.entries(t).every(([r,n])=>jo(r,n)):!1,"validateArgs"),km={delimiter:";",nesting:!0,arrayRepeat:!0,arrayRepeatSyntax:"bracket",nestingSyntax:"js",valueDeserializer(e){if(e.startsWith("!")){if(e==="!undefined")return;if(e==="!null")return null;if(e==="!true")return!0;if(e==="!false")return!1;if(e.startsWith("!date(")&&e.endsWith(")"))return new Date(e.replaceAll(" ","+").slice(6,-1));if(e.startsWith("!hex(")&&e.endsWith(")"))return`#${e.slice(5,-1)}`;let t=e.slice(1).match(Yl);if(t)return e.startsWith("!rgba")||e.startsWith("!RGBA")?`${t[1]}(${t[2]}, ${t[3]}, ${t[4]}, ${t[5]})`:e.startsWith("!hsla")||e.startsWith("!HSLA")?`${t[1]}(${t[2]}, ${t[3]}%, ${t[4]}%, ${t[5]})`:e.startsWith("!rgb")||e.startsWith("!RGB")?`${t[1]}(${t[2]}, ${t[3]}, ${t[4]})`:`${t[1]}(${t[2]}, ${t[3]}%, ${t[4]}%)`}return Kl.test(e)?Number(e):e}},Hs=b(e=>{let t=e.split(";").map(r=>r.replace("=","~").replace(":","="));return Object.entries((0,Fm.parse)(t.join(";"),km)).reduce((r,[n,o])=>jo(n,o)?Object.assign(r,{[n]:o}):(mt.warn(me` + Omitted potentially unsafe URL args. + + More info: https://storybook.js.org/docs/writing-stories/args#setting-args-through-the-url + `),r),{})},"parseArgsParam"),{history:Xl,document:bt}=De;function Ql(e){let t=(e||"").match(/^\/story\/(.+)/);if(!t)throw new Error(`Invalid path '${e}', must start with '/story/'`);return t[1]}b(Ql,"pathToId");var Zl=b(({selection:e,extraParams:t})=>{let r=bt?.location.search.slice(1),{path:n,selectedKind:o,selectedStory:a,...i}=(0,No.parse)(r);return`?${(0,No.stringify)({...i,...t,...e&&{id:e.storyId,viewMode:e.viewMode}})}`},"getQueryString"),Rm=b(e=>{if(!e)return;let t=Zl({selection:e}),{hash:r=""}=bt.location;bt.title=e.storyId,Xl.replaceState({},"",`${bt.location.pathname}${t}${r}`)},"setPath"),Om=b(e=>e!=null&&typeof e=="object"&&Array.isArray(e)===!1,"isObject"),vr=b(e=>{if(e!==void 0){if(typeof e=="string")return e;if(Array.isArray(e))return vr(e[0]);if(Om(e))return vr(Object.values(e).filter(Boolean))}},"getFirstString"),_m=b(()=>{if(typeof bt<"u"){let e=bt.location.search.slice(1),t=(0,No.parse)(e),r=typeof t.args=="string"?Hs(t.args):void 0,n=typeof t.globals=="string"?Hs(t.globals):void 0,o=vr(t.viewMode);(typeof o!="string"||!o.match(/docs|story/))&&(o="story");let a=vr(t.path),i=a?Ql(a):vr(t.id);if(i)return{storySpecifier:i,args:r,globals:n,viewMode:o}}return null},"getSelectionSpecifierFromPath"),eu=class{constructor(){this.selectionSpecifier=_m()}setSelection(t){this.selection=t,Rm(this.selection)}setQueryParams(t){let r=Zl({extraParams:t}),{hash:n=""}=bt.location;Xl.replaceState({},"",`${bt.location.pathname}${r}${n}`)}};b(eu,"UrlStore");var Bm=eu,Pm=tr(af(),1),Nm=tr($o(),1),{document:Re}=De,Gs=100,tu=(e=>(e.MAIN="MAIN",e.NOPREVIEW="NOPREVIEW",e.PREPARING_STORY="PREPARING_STORY",e.PREPARING_DOCS="PREPARING_DOCS",e.ERROR="ERROR",e))(tu||{}),So={PREPARING_STORY:"sb-show-preparing-story",PREPARING_DOCS:"sb-show-preparing-docs",MAIN:"sb-show-main",NOPREVIEW:"sb-show-nopreview",ERROR:"sb-show-errordisplay"},wo={centered:"sb-main-centered",fullscreen:"sb-main-fullscreen",padded:"sb-main-padded"},Ws=new Pm.default({escapeXML:!0}),ru=class{constructor(){if(this.testing=!1,typeof Re<"u"){let{__SPECIAL_TEST_PARAMETER__:t}=(0,Nm.parse)(Re.location.search.slice(1));switch(t){case"preparing-story":{this.showPreparingStory(),this.testing=!0;break}case"preparing-docs":{this.showPreparingDocs(),this.testing=!0;break}default:}}}prepareForStory(t){return this.showStory(),this.applyLayout(t.parameters.layout),Re.documentElement.scrollTop=0,Re.documentElement.scrollLeft=0,this.storyRoot()}storyRoot(){return Re.getElementById("storybook-root")}prepareForDocs(){return this.showMain(),this.showDocs(),this.applyLayout("fullscreen"),Re.documentElement.scrollTop=0,Re.documentElement.scrollLeft=0,this.docsRoot()}docsRoot(){return Re.getElementById("storybook-docs")}applyLayout(t="padded"){if(t==="none"){Re.body.classList.remove(this.currentLayoutClass),this.currentLayoutClass=null;return}this.checkIfLayoutExists(t);let r=wo[t];Re.body.classList.remove(this.currentLayoutClass),Re.body.classList.add(r),this.currentLayoutClass=r}checkIfLayoutExists(t){wo[t]||ee.warn(me` + The desired layout: ${t} is not a valid option. + The possible options are: ${Object.keys(wo).join(", ")}, none. + `)}showMode(t){clearTimeout(this.preparingTimeout),Object.keys(tu).forEach(r=>{r===t?Re.body.classList.add(So[r]):Re.body.classList.remove(So[r])})}showErrorDisplay({message:t="",stack:r=""}){let n=t,o=r,a=t.split(` +`);a.length>1&&([n]=a,o=a.slice(1).join(` +`).replace(/^\n/,"")),Re.getElementById("error-message").innerHTML=Ws.toHtml(n),Re.getElementById("error-stack").innerHTML=Ws.toHtml(o),this.showMode("ERROR")}showNoPreview(){this.testing||(this.showMode("NOPREVIEW"),this.storyRoot()?.setAttribute("hidden","true"),this.docsRoot()?.setAttribute("hidden","true"))}showPreparingStory({immediate:t=!1}={}){clearTimeout(this.preparingTimeout),t?this.showMode("PREPARING_STORY"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_STORY"),Gs)}showPreparingDocs({immediate:t=!1}={}){clearTimeout(this.preparingTimeout),t?this.showMode("PREPARING_DOCS"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_DOCS"),Gs)}showMain(){this.showMode("MAIN")}showDocs(){this.storyRoot().setAttribute("hidden","true"),this.docsRoot().removeAttribute("hidden")}showStory(){this.docsRoot().setAttribute("hidden","true"),this.storyRoot().removeAttribute("hidden")}showStoryDuringRender(){Re.body.classList.add(So.MAIN)}};b(ru,"WebView");var jm=ru,Lm=class extends Tm{constructor(t,r){super(t,r,new Bm,new jm),this.importFn=t,this.getProjectAnnotations=r,De.__STORYBOOK_PREVIEW__=this}};b(Lm,"PreviewWeb");var{document:kt}=De,Mm=["application/javascript","application/ecmascript","application/x-ecmascript","application/x-javascript","text/ecmascript","text/javascript","text/javascript1.0","text/javascript1.1","text/javascript1.2","text/javascript1.3","text/javascript1.4","text/javascript1.5","text/jscript","text/livescript","text/x-ecmascript","text/x-javascript","module"],Um="script",Ks="scripts-root";function Lo(){let e=kt.createEvent("Event");e.initEvent("DOMContentLoaded",!0,!0),kt.dispatchEvent(e)}b(Lo,"simulateDOMContentLoaded");function nu(e,t,r){let n=kt.createElement("script");n.type=e.type==="module"?"module":"text/javascript",e.src?(n.onload=t,n.onerror=t,n.src=e.src):n.textContent=e.innerText,r?r.appendChild(n):kt.head.appendChild(n),e.parentNode.removeChild(e),e.src||t()}b(nu,"insertScript");function Xo(e,t,r=0){e[r](()=>{r++,r===e.length?t():Xo(e,t,r)})}b(Xo,"insertScriptsSequentially");function $m(e){let t=kt.getElementById(Ks);t?t.innerHTML="":(t=kt.createElement("div"),t.id=Ks,kt.body.appendChild(t));let r=Array.from(e.querySelectorAll(Um));if(r.length){let n=[];r.forEach(o=>{let a=o.getAttribute("type");(!a||Mm.includes(a))&&n.push(i=>nu(o,i,t))}),n.length&&Xo(n,Lo,void 0)}else Lo()}b($m,"simulatePageLoad");var qm=Object.create,ea=Object.defineProperty,Vm=Object.getOwnPropertyDescriptor,Jm=Object.getOwnPropertyNames,zm=Object.getPrototypeOf,Hm=Object.prototype.hasOwnProperty,ye=(e,t)=>ea(e,"name",{value:t,configurable:!0}),Gm=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Wm=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Jm(t))!Hm.call(e,o)&&o!==r&&ea(e,o,{get:()=>t[o],enumerable:!(n=Vm(t,o))||n.enumerable});return e},Km=(e,t,r)=>(r=e!=null?qm(zm(e)):{},Wm(t||!e||!e.__esModule?ea(r,"default",{value:e,enumerable:!0}):r,e)),Ym=Gm(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=function(){var t=Object.prototype.toString,r=Object.getPrototypeOf,n=Object.getOwnPropertySymbols?function(o){return Object.keys(o).concat(Object.getOwnPropertySymbols(o))}:Object.keys;return function(o,a){return ye(function i(s,l,c){var p,h,d,y=t.call(s),g=t.call(l);if(s===l)return!0;if(s==null||l==null)return!1;if(c.indexOf(s)>-1&&c.indexOf(l)>-1)return!0;if(c.push(s,l),y!=g||(p=n(s),h=n(l),p.length!=h.length||p.some(function(A){return!i(s[A],l[A],c)})))return!1;switch(y.slice(8,-1)){case"Symbol":return s.valueOf()==l.valueOf();case"Date":case"Number":return+s==+l||+s!=+s&&+l!=+l;case"RegExp":case"Function":case"String":case"Boolean":return""+s==""+l;case"Set":case"Map":p=s.entries(),h=l.entries();do if(!i((d=p.next()).value,h.next().value,c))return!1;while(!d.done);return!0;case"ArrayBuffer":s=new Uint8Array(s),l=new Uint8Array(l);case"DataView":s=new Uint8Array(s.buffer),l=new Uint8Array(l.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(s.length!=l.length)return!1;for(d=0;d`${r} ${n}${o}`).replace(/([a-z])([A-Z])/g,(t,r,n)=>`${r} ${n}`).replace(/([a-z])([0-9])/gi,(t,r,n)=>`${r} ${n}`).replace(/([0-9])([a-z])/gi,(t,r,n)=>`${r} ${n}`).replace(/(\s|^)(\w)/g,(t,r,n)=>`${r}${n.toUpperCase()}`).replace(/ +/g," ").trim()}ye(uu,"toStartCaseStr");var su=Km(Ym(),1),cu=ye(e=>e.map(t=>typeof t<"u").filter(Boolean).length,"count"),Xm=ye((e,t)=>{let{exists:r,eq:n,neq:o,truthy:a}=e;if(cu([r,n,o,a])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:r,eq:n,neq:o})}`);if(typeof n<"u")return(0,su.isEqual)(t,n);if(typeof o<"u")return!(0,su.isEqual)(t,o);if(typeof r<"u"){let i=typeof t<"u";return r?i:!i}return typeof a>"u"||a?!!t:!t},"testValue"),mn=ye((e,t,r)=>{if(!e.if)return!0;let{arg:n,global:o}=e.if;if(cu([n,o])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:n,global:o})}`);let a=n?t[n]:r[o];return Xm(e.if,a)},"includeConditionalArg");function Qm(e){let t,r={_tag:"Preview",input:e,get composed(){if(t)return t;let{addons:n,...o}=e;return t=Qt(_t([...n??[],o])),t},meta(n){return du(n,this)}};return globalThis.globalProjectAnnotations=r.composed,r}ye(Qm,"__definePreview");function Zm(e){return e!=null&&typeof e=="object"&&"_tag"in e&&e?._tag==="Preview"}ye(Zm,"isPreview");function ey(e){return e!=null&&typeof e=="object"&&"_tag"in e&&e?._tag==="Meta"}ye(ey,"isMeta");function du(e,t){return{_tag:"Meta",input:e,preview:t,get composed(){throw new Error("Not implemented")},story(r){return pu(r,this)}}}ye(du,"defineMeta");function pu(e,t){return{_tag:"Story",input:e,meta:t,get composed(){throw new Error("Not implemented")}}}ye(pu,"defineStory");function Bt(e){return e!=null&&typeof e=="object"&&"_tag"in e&&e?._tag==="Story"}ye(Bt,"isStory");var Qo=ye(e=>e.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,""),"sanitize"),lu=ye((e,t)=>{let r=Qo(e);if(r==="")throw new Error(`Invalid ${t} '${e}', must include alphanumeric characters`);return r},"sanitizeSafe"),ou=ye((e,t)=>`${lu(e,"kind")}${t?`--${lu(t,"name")}`:""}`,"toId"),au=ye(e=>uu(e),"storyNameFromExport");function Zo(e,t){return Array.isArray(t)?t.includes(e):e.match(t)}ye(Zo,"matches");function er(e,{includeStories:t,excludeStories:r}){return e!=="__esModule"&&(!t||Zo(e,t))&&(!r||!Zo(e,r))}ye(er,"isExportStory");var R5=ye((e,{rootSeparator:t,groupSeparator:r})=>{let[n,o]=e.split(t,2),a=(o||e).split(r).filter(i=>!!i);return{root:o?n:null,groups:a}},"parseKind"),iu=ye((...e)=>{let t=e.reduce((r,n)=>(n.startsWith("!")?r.delete(n.slice(1)):r.add(n),r),new Set);return Array.from(t)},"combineTags");q();V();J();q();V();J();q();V();J();var rr=_p(fu(),1);var ty=Object.defineProperty,B=(e,t)=>ty(e,"name",{value:t,configurable:!0}),ry=B(e=>e.name==="literal","isLiteral"),ny=B(e=>e.value.replace(/['|"]/g,""),"toEnumOption"),oy=B(e=>{switch(e.type){case"function":return{name:"function"};case"object":let t={};return e.signature.properties.forEach(r=>{t[r.key]=wr(r.value)}),{name:"object",value:t};default:throw new en({type:e,language:"Flow"})}},"convertSig"),wr=B(e=>{let{name:t,raw:r}=e,n={};switch(typeof r<"u"&&(n.raw=r),e.name){case"literal":return{...n,name:"other",value:e.value};case"string":case"number":case"symbol":case"boolean":return{...n,name:t};case"Array":return{...n,name:"array",value:e.elements.map(wr)};case"signature":return{...n,...oy(e)};case"union":return e.elements?.every(ry)?{...n,name:"enum",value:e.elements?.map(ny)}:{...n,name:t,value:e.elements?.map(wr)};case"intersection":return{...n,name:t,value:e.elements?.map(wr)};default:return{...n,name:"other",value:t}}},"convert");function mu(e,t){let r={},n=Object.keys(e);for(let o=0;oe.replace(yu,""),"trimQuotes"),iy=B(e=>yu.test(e),"includesQuotes"),gu=B(e=>{let t=ay(e);return iy(e)||Number.isNaN(Number(t))?t:Number(t)},"parseLiteral"),sy=/^\(.*\) => /,Sr=B(e=>{let{name:t,raw:r,computed:n,value:o}=e,a={};switch(typeof r<"u"&&(a.raw=r),t){case"enum":{let s=n?o:o.map(l=>gu(l.value));return{...a,name:t,value:s}}case"string":case"number":case"symbol":return{...a,name:t};case"func":return{...a,name:"function"};case"bool":case"boolean":return{...a,name:"boolean"};case"arrayOf":case"array":return{...a,name:"array",value:o&&Sr(o)};case"object":return{...a,name:t};case"objectOf":return{...a,name:t,value:Sr(o)};case"shape":case"exact":let i=mu(o,s=>Sr(s));return{...a,name:"object",value:i};case"union":return{...a,name:"union",value:o.map(s=>Sr(s))};case"instanceOf":case"element":case"elementType":default:{if(t?.indexOf("|")>0)try{let c=t.split("|").map(p=>JSON.parse(p));return{...a,name:"enum",value:c}}catch{}let s=o?`${t}(${o})`:t,l=sy.test(t)?"function":"other";return{...a,name:l,value:s}}}},"convert"),ly=B(e=>{switch(e.type){case"function":return{name:"function"};case"object":let t={};return e.signature.properties.forEach(r=>{t[r.key]=Cr(r.value)}),{name:"object",value:t};default:throw new en({type:e,language:"Typescript"})}},"convertSig"),Cr=B(e=>{let{name:t,raw:r}=e,n={};switch(typeof r<"u"&&(n.raw=r),e.name){case"string":case"number":case"symbol":case"boolean":return{...n,name:t};case"Array":return{...n,name:"array",value:e.elements.map(Cr)};case"signature":return{...n,...ly(e)};case"union":let o;return e.elements?.every(a=>a.name==="literal")?o={...n,name:"enum",value:e.elements?.map(a=>gu(a.value))}:o={...n,name:t,value:e.elements?.map(Cr)},o;case"intersection":return{...n,name:t,value:e.elements?.map(Cr)};default:return{...n,name:"other",value:t}}},"convert"),ta=B(e=>{let{type:t,tsType:r,flowType:n}=e;try{if(t!=null)return Sr(t);if(r!=null)return Cr(r);if(n!=null)return wr(n)}catch(o){console.error(o)}return null},"convert"),uy=(e=>(e.JAVASCRIPT="JavaScript",e.FLOW="Flow",e.TYPESCRIPT="TypeScript",e.UNKNOWN="Unknown",e))(uy||{}),cy=["null","undefined"];function gn(e){return cy.some(t=>t===e)}B(gn,"isDefaultValueBlacklisted");var dy=B(e=>{if(!e)return"";if(typeof e=="string")return e;throw new Error(`Description: expected string, got: ${JSON.stringify(e)}`)},"str");function ra(e){return!!e.__docgenInfo}B(ra,"hasDocgen");function bu(e){return e!=null&&Object.keys(e).length>0}B(bu,"isValidDocgenSection");function Eu(e,t){return ra(e)?e.__docgenInfo[t]:null}B(Eu,"getDocgenSection");function vu(e){return ra(e)?dy(e.__docgenInfo.description):""}B(vu,"getDocgenDescription");var Et;(function(e){e.start="/**",e.nostart="/***",e.delim="*",e.end="*/"})(Et=Et||(Et={}));function Au(e){return/^\s+$/.test(e)}B(Au,"isSpace");function Du(e){let t=e.match(/\r+$/);return t==null?["",e]:[e.slice(-t[0].length),e.slice(0,-t[0].length)]}B(Du,"splitCR");function Pt(e){let t=e.match(/^\s+/);return t==null?["",e]:[e.slice(0,t[0].length),e.slice(t[0].length)]}B(Pt,"splitSpace");function Su(e){return e.split(/\n/)}B(Su,"splitLines");function wu(e={}){return Object.assign({tag:"",name:"",type:"",optional:!1,description:"",problems:[],source:[]},e)}B(wu,"seedSpec");function Cu(e={}){return Object.assign({start:"",delimiter:"",postDelimiter:"",tag:"",postTag:"",name:"",postName:"",type:"",postType:"",description:"",end:"",lineEnd:""},e)}B(Cu,"seedTokens");var py=/^@\S+/;function xu({fence:e="```"}={}){let t=Tu(e),r=B((n,o)=>t(n)?!o:o,"toggleFence");return B(function(n){let o=[[]],a=!1;for(let i of n)py.test(i.tokens.description)&&!a?o.push([i]):o[o.length-1].push(i),a=r(i.tokens.description,a);return o},"parseBlock")}B(xu,"getParser");function Tu(e){return typeof e=="string"?t=>t.split(e).length%2===0:e}B(Tu,"getFencer");function Fu({startLine:e=0,markers:t=Et}={}){let r=null,n=e;return B(function(o){let a=o,i=Cu();if([i.lineEnd,a]=Du(a),[i.start,a]=Pt(a),r===null&&a.startsWith(t.start)&&!a.startsWith(t.nostart)&&(r=[],i.delimiter=a.slice(0,t.start.length),a=a.slice(t.start.length),[i.postDelimiter,a]=Pt(a)),r===null)return n++,null;let s=a.trimRight().endsWith(t.end);if(i.delimiter===""&&a.startsWith(t.delim)&&!a.startsWith(t.end)&&(i.delimiter=t.delim,a=a.slice(t.delim.length),[i.postDelimiter,a]=Pt(a)),s){let l=a.trimRight();i.end=a.slice(l.length-t.end.length),a=l.slice(0,-t.end.length)}if(i.description=a,r.push({number:n,source:o,tokens:i}),n++,s){let l=r.slice();return r=null,l}return null},"parseSource")}B(Fu,"getParser");function Iu({tokenizers:e}){return B(function(t){var r;let n=wu({source:t});for(let o of e)if(n=o(n),!((r=n.problems[n.problems.length-1])===null||r===void 0)&&r.critical)break;return n},"parseSpec")}B(Iu,"getParser");function ku(){return e=>{let{tokens:t}=e.source[0],r=t.description.match(/\s*(@(\S+))(\s*)/);return r===null?(e.problems.push({code:"spec:tag:prefix",message:'tag should start with "@" symbol',line:e.source[0].number,critical:!0}),e):(t.tag=r[1],t.postTag=r[3],t.description=t.description.slice(r[0].length),e.tag=r[2],e)}}B(ku,"tagTokenizer");function Ru(e="compact"){let t=Ou(e);return r=>{let n=0,o=[];for(let[s,{tokens:l}]of r.source.entries()){let c="";if(s===0&&l.description[0]!=="{")return r;for(let p of l.description)if(p==="{"&&n++,p==="}"&&n--,c+=p,n===0)break;if(o.push([l,c]),n===0)break}if(n!==0)return r.problems.push({code:"spec:type:unpaired-curlies",message:"unpaired curlies",line:r.source[0].number,critical:!0}),r;let a=[],i=o[0][0].postDelimiter.length;for(let[s,[l,c]]of o.entries())l.type=c,s>0&&(l.type=l.postDelimiter.slice(i)+c,l.postDelimiter=l.postDelimiter.slice(0,i)),[l.postType,l.description]=Pt(l.description.slice(c.length)),a.push(l.type);return a[0]=a[0].slice(1),a[a.length-1]=a[a.length-1].slice(0,-1),r.type=t(a),r}}B(Ru,"typeTokenizer");var hy=B(e=>e.trim(),"trim");function Ou(e){return e==="compact"?t=>t.map(hy).join(""):e==="preserve"?t=>t.join(` +`):e}B(Ou,"getJoiner");var fy=B(e=>e&&e.startsWith('"')&&e.endsWith('"'),"isQuoted");function _u(){let e=B((t,{tokens:r},n)=>r.type===""?t:n,"typeEnd");return t=>{let{tokens:r}=t.source[t.source.reduce(e,0)],n=r.description.trimLeft(),o=n.split('"');if(o.length>1&&o[0]===""&&o.length%2===1)return t.name=o[1],r.name=`"${o[1]}"`,[r.postName,r.description]=Pt(n.slice(r.name.length)),t;let a=0,i="",s=!1,l;for(let p of n){if(a===0&&Au(p))break;p==="["&&a++,p==="]"&&a--,i+=p}if(a!==0)return t.problems.push({code:"spec:name:unpaired-brackets",message:"unpaired brackets",line:t.source[0].number,critical:!0}),t;let c=i;if(i[0]==="["&&i[i.length-1]==="]"){s=!0,i=i.slice(1,-1);let p=i.split("=");if(i=p[0].trim(),p[1]!==void 0&&(l=p.slice(1).join("=").trim()),i==="")return t.problems.push({code:"spec:name:empty-name",message:"empty name",line:t.source[0].number,critical:!0}),t;if(l==="")return t.problems.push({code:"spec:name:empty-default",message:"empty default value",line:t.source[0].number,critical:!0}),t;if(!fy(l)&&/=(?!>)/.test(l))return t.problems.push({code:"spec:name:invalid-default",message:"invalid default value syntax",line:t.source[0].number,critical:!0}),t}return t.optional=s,t.name=i,r.name=c,l!==void 0&&(t.default=l),[r.postName,r.description]=Pt(n.slice(r.name.length)),t}}B(_u,"nameTokenizer");function Bu(e="compact",t=Et){let r=na(e);return n=>(n.description=r(n.source,t),n)}B(Bu,"descriptionTokenizer");function na(e){return e==="compact"?Pu:e==="preserve"?Nu:e}B(na,"getJoiner");function Pu(e,t=Et){return e.map(({tokens:{description:r}})=>r.trim()).filter(r=>r!=="").join(" ")}B(Pu,"compactJoiner");var my=B((e,{tokens:t},r)=>t.type===""?e:r,"lineNo"),yy=B(({tokens:e})=>(e.delimiter===""?e.start:e.postDelimiter.slice(1))+e.description,"getDescription");function Nu(e,t=Et){if(e.length===0)return"";e[0].tokens.description===""&&e[0].tokens.delimiter===t.start&&(e=e.slice(1));let r=e[e.length-1];return r!==void 0&&r.tokens.description===""&&r.tokens.end.endsWith(t.end)&&(e=e.slice(0,-1)),e=e.slice(e.reduce(my,0)),e.map(yy).join(` +`)}B(Nu,"preserveJoiner");function ju({startLine:e=0,fence:t="```",spacing:r="compact",markers:n=Et,tokenizers:o=[ku(),Ru(r),_u(),Bu(r)]}={}){if(e<0||e%1>0)throw new Error("Invalid startLine");let a=Fu({startLine:e,markers:n}),i=xu({fence:t}),s=Iu({tokenizers:o}),l=na(r);return function(c){let p=[];for(let h of Su(c)){let d=a(h);if(d===null)continue;let y=i(d),g=y.slice(1).map(s);p.push({description:l(y[0],n),tags:g,source:d,problems:g.reduce((A,v)=>A.concat(v.problems),[])})}return p}}B(ju,"getParser");function Lu(e){return e.start+e.delimiter+e.postDelimiter+e.tag+e.postTag+e.type+e.postType+e.name+e.postName+e.description+e.end+e.lineEnd}B(Lu,"join");function Mu(){return e=>e.source.map(({tokens:t})=>Lu(t)).join(` +`)}B(Mu,"getStringifier");var gy={line:0,start:0,delimiter:0,postDelimiter:0,tag:0,postTag:0,name:0,postName:0,type:0,postType:0,description:0,end:0,lineEnd:0},X5=Object.keys(gy);function Uu(e,t={}){return ju(t)(e)}B(Uu,"parse");var Q5=Mu();function $u(e){return e!=null&&e.includes("@")}B($u,"containsJsDoc");function qu(e){let t=`/** +`+(e??"").split(` +`).map(n=>` * ${n}`).join(` +`)+` +*/`,r=Uu(t,{spacing:"preserve"});if(!r||r.length===0)throw new Error("Cannot parse JSDoc tags.");return r[0]}B(qu,"parse");var by={tags:["param","arg","argument","returns","ignore","deprecated"]},Ey=B((e,t=by)=>{if(!$u(e))return{includesJsDoc:!1,ignore:!1};let r=qu(e),n=Vu(r,t.tags);return n.ignore?{includesJsDoc:!0,ignore:!0}:{includesJsDoc:!0,ignore:!1,description:r.description.trim(),extractedTags:n}},"parseJsDoc");function Vu(e,t){let r={params:null,deprecated:null,returns:null,ignore:!1};for(let n of e.tags)if(!(t!==void 0&&!t.includes(n.tag)))if(n.tag==="ignore"){r.ignore=!0;break}else switch(n.tag){case"param":case"arg":case"argument":{let o=zu(n);o!=null&&(r.params==null&&(r.params=[]),r.params.push(o));break}case"deprecated":{let o=Hu(n);o!=null&&(r.deprecated=o);break}case"returns":{let o=Gu(n);o!=null&&(r.returns=o);break}default:break}return r}B(Vu,"extractJsDocTags");function Ju(e){return e.replace(/[\.-]$/,"")}B(Ju,"normaliseParamName");function zu(e){if(!e.name||e.name==="-")return null;let t=ia(e.type);return{name:e.name,type:t,description:aa(e.description),getPrettyName:B(()=>Ju(e.name),"getPrettyName"),getTypeName:B(()=>t?sa(t):null,"getTypeName")}}B(zu,"extractParam");function Hu(e){return e.name?oa(e.name,e.description):null}B(Hu,"extractDeprecated");function oa(e,t){let r=e===""?t:`${e} ${t}`;return aa(r)}B(oa,"joinNameAndDescription");function aa(e){let t=e.replace(/^- /g,"").trim();return t===""?null:t}B(aa,"normaliseDescription");function Gu(e){let t=ia(e.type);return t?{type:t,description:oa(e.name,e.description),getTypeName:B(()=>sa(t),"getTypeName")}:null}B(Gu,"extractReturns");var vt=(0,rr.stringifyRules)(),vy=vt.JsdocTypeObject;vt.JsdocTypeAny=()=>"any";vt.JsdocTypeObject=(e,t)=>`(${vy(e,t)})`;vt.JsdocTypeOptional=(e,t)=>t(e.element);vt.JsdocTypeNullable=(e,t)=>t(e.element);vt.JsdocTypeNotNullable=(e,t)=>t(e.element);vt.JsdocTypeUnion=(e,t)=>e.elements.map(t).join("|");function ia(e){try{return(0,rr.parse)(e,"typescript")}catch{return null}}B(ia,"extractType");function sa(e){return(0,rr.transform)(vt,e)}B(sa,"extractTypeName");function la(e){return e.length>90}B(la,"isTooLongForTypeSummary");function Wu(e){return e.length>50}B(Wu,"isTooLongForDefaultValueSummary");function ge(e,t){return e===t?{summary:e}:{summary:e,detail:t}}B(ge,"createSummaryValue");var Z5=B(e=>e.replace(/\\r\\n/g,"\\n"),"normalizeNewlines");function Ku(e,t){if(e!=null){let{value:r}=e;if(!gn(r))return Wu(r)?ge(t?.name,r):ge(r)}return null}B(Ku,"createDefaultValue");function ua({name:e,value:t,elements:r,raw:n}){return t??(r!=null?r.map(ua).join(" | "):n??e)}B(ua,"generateUnionElement");function Yu({name:e,raw:t,elements:r}){return r!=null?ge(r.map(ua).join(" | ")):t!=null?ge(t.replace(/^\|\s*/,"")):ge(e)}B(Yu,"generateUnion");function Xu({type:e,raw:t}){return t!=null?ge(t):ge(e)}B(Xu,"generateFuncSignature");function Qu({type:e,raw:t}){return t!=null?la(t)?ge(e,t):ge(t):ge(e)}B(Qu,"generateObjectSignature");function Zu(e){let{type:t}=e;return t==="object"?Qu(e):Xu(e)}B(Zu,"generateSignature");function ec({name:e,raw:t}){return t!=null?la(t)?ge(e,t):ge(t):ge(e)}B(ec,"generateDefault");function tc(e){if(e==null)return null;switch(e.name){case"union":return Yu(e);case"signature":return Zu(e);default:return ec(e)}}B(tc,"createType");var Ay=B((e,t)=>{let{flowType:r,description:n,required:o,defaultValue:a}=t;return{name:e,type:tc(r),required:o,description:n,defaultValue:Ku(a??null,r??null)}},"createFlowPropDef");function rc({defaultValue:e}){if(e!=null){let{value:t}=e;if(!gn(t))return ge(t)}return null}B(rc,"createDefaultValue");function nc({tsType:e,required:t}){if(e==null)return null;let r=e.name;return t||(r=r.replace(" | undefined","")),ge(["Array","Record","signature"].includes(e.name)?e.raw:r)}B(nc,"createType");var Dy=B((e,t)=>{let{description:r,required:n}=t;return{name:e,type:nc(t),required:n,description:r,defaultValue:rc(t)}},"createTsPropDef");function oc(e){return e!=null?ge(e.name):null}B(oc,"createType");function ac(e){let{computed:t,func:r}=e;return typeof t>"u"&&typeof r>"u"}B(ac,"isReactDocgenTypescript");function ic(e){return e?e.name==="string"?!0:e.name==="enum"?Array.isArray(e.value)&&e.value.every(({value:t})=>typeof t=="string"&&t[0]==='"'&&t[t.length-1]==='"'):!1:!1}B(ic,"isStringValued");function sc(e,t){if(e!=null){let{value:r}=e;if(!gn(r))return ac(e)&&ic(t)?ge(JSON.stringify(r)):ge(r)}return null}B(sc,"createDefaultValue");function ca(e,t,r){let{description:n,required:o,defaultValue:a}=r;return{name:e,type:oc(t),required:o,description:n,defaultValue:sc(a,t)}}B(ca,"createBasicPropDef");function xr(e,t){if(t?.includesJsDoc){let{description:r,extractedTags:n}=t;r!=null&&(e.description=t.description);let o={...n,params:n?.params?.map(a=>({name:a.getPrettyName(),description:a.description}))};Object.values(o).filter(Boolean).length>0&&(e.jsDocTags=o)}return e}B(xr,"applyJsDocResult");var Sy=B((e,t,r)=>{let n=ca(e,t.type,t);return n.sbType=ta(t),xr(n,r)},"javaScriptFactory"),wy=B((e,t,r)=>{let n=Dy(e,t);return n.sbType=ta(t),xr(n,r)},"tsFactory"),Cy=B((e,t,r)=>{let n=Ay(e,t);return n.sbType=ta(t),xr(n,r)},"flowFactory"),xy=B((e,t,r)=>{let n=ca(e,{name:"unknown"},t);return xr(n,r)},"unknownFactory"),lc=B(e=>{switch(e){case"JavaScript":return Sy;case"TypeScript":return wy;case"Flow":return Cy;default:return xy}},"getPropDefFactory"),uc=B(e=>e.type!=null?"JavaScript":e.flowType!=null?"Flow":e.tsType!=null?"TypeScript":"Unknown","getTypeSystem"),Ty=B(e=>{let t=uc(e[0]),r=lc(t);return e.map(n=>{let o=n;return n.type?.elements&&(o={...n,type:{...n.type,value:n.type.elements}}),da(o.name,o,t,r)})},"extractComponentSectionArray"),Fy=B(e=>{let t=Object.keys(e),r=uc(e[t[0]]),n=lc(r);return t.map(o=>{let a=e[o];return a!=null?da(o,a,r,n):null}).filter(Boolean)},"extractComponentSectionObject"),eI=B((e,t)=>{let r=Eu(e,t);return bu(r)?Array.isArray(r)?Ty(r):Fy(r):[]},"extractComponentProps");function da(e,t,r,n){let o=Ey(t.description);return o.includesJsDoc&&o.ignore?null:{propDef:n(e,t,o),jsDocTags:o.extractedTags,docgenInfo:t,typeSystem:r}}B(da,"extractProp");function Iy(e){return e!=null?vu(e):""}B(Iy,"extractComponentDescription");var rI=B(e=>{let{component:t,argTypes:r,parameters:{docs:n={}}}=e,{extractArgTypes:o}=n,a=o&&t?o(t):{};return a?at(a,r):r},"enhanceArgTypes"),cc="storybook/docs",nI=`${cc}/panel`;var oI=`${cc}/snippet-rendered`,ky=(e=>(e.AUTO="auto",e.CODE="code",e.DYNAMIC="dynamic",e))(ky||{}),Ry=/(addons\/|addon-|addon-essentials\/)(docs|controls)/,aI=B(e=>e.presetsList?.some(t=>Ry.test(t.name)),"hasDocsOrControls");q();V();J();q();V();J();var EI=__STORYBOOK_CHANNELS__,{Channel:vI,HEARTBEAT_INTERVAL:AI,HEARTBEAT_MAX_LATENCY:DI,PostMessageTransport:SI,WebsocketTransport:wI,createBrowserChannel:CI}=__STORYBOOK_CHANNELS__;q();V();J();var dc=(()=>{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 id=$e({"../../node_modules/memoizerific/memoizerific.js"(e,t){(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"||typeof window<"u"?n=window:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return function r(n,o,a){function i(c,p){if(!o[c]){if(!n[c]){var h=typeof mr=="function"&&mr;if(!p&&h)return h(c,!0);if(s)return s(c,!0);var d=new Error("Cannot find module '"+c+"'");throw d.code="MODULE_NOT_FOUND",d}var y=o[c]={exports:{}};n[c][0].call(y.exports,function(g){var A=n[c][1][g];return i(A||g)},y,y.exports,r,n,o,a)}return o[c].exports}for(var s=typeof mr=="function"&&mr,l=0;l=0)return this.lastItem=this.list[s],this.list[s].val},a.prototype.set=function(i,s){var l;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=s,this):(l=this.indexOf(i),l>=0?(this.lastItem=this.list[l],this.list[l].val=s,this):(this.lastItem={key:i,val:s},this.list.push(this.lastItem),this.size++,this))},a.prototype.delete=function(i){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),s=this.indexOf(i),s>=0)return this.size--,this.list.splice(s,1)[0]},a.prototype.has=function(i){var s;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(s=this.indexOf(i),s>=0?(this.lastItem=this.list[s],!0):!1)},a.prototype.forEach=function(i,s){var l;for(l=0;l0&&(w[S]={cacheItem:g,arg:arguments[S]},x?i(h,w):h.push(w),h.length>c&&s(h.shift())),y.wasMemoized=x,y.numArgs=S+1,v};return y.limit=c,y.wasMemoized=!1,y.cache=p,y.lru=h,y}};function i(c,p){var h=c.length,d=p.length,y,g,A;for(g=0;g=0&&(h=c[y],d=h.cacheItem.get(h.arg),!d||!d.size);y--)h.cacheItem.delete(h.arg)}function l(c,p){return c===p||c!==c&&p!==p}},{"map-or-similar":1}]},{},[3])(3)})}}),bg=$e({"../../node_modules/tocbot/src/js/default-options.js"(e,t){t.exports={tocSelector:".js-toc",contentSelector:".js-toc-content",headingSelector:"h1, h2, h3",ignoreSelector:".js-toc-ignore",hasInnerContainers:!1,linkClass:"toc-link",extraLinkClasses:"",activeLinkClass:"is-active-link",listClass:"toc-list",extraListClasses:"",isCollapsedClass:"is-collapsed",collapsibleClass:"is-collapsible",listItemClass:"toc-list-item",activeListItemClass:"is-active-li",collapseDepth:0,scrollSmooth:!0,scrollSmoothDuration:420,scrollSmoothOffset:0,scrollEndCallback:function(r){},headingsOffset:1,throttleTimeout:50,positionFixedSelector:null,positionFixedClass:"is-position-fixed",fixedSidebarOffset:"auto",includeHtml:!1,includeTitleTags:!1,onClick:function(r){},orderedList:!0,scrollContainer:null,skipRendering:!1,headingLabelCallback:!1,ignoreHiddenElements:!1,headingObjectCallback:null,basePath:"",disableTocScrollSync:!1,tocScrollOffset:0}}}),Eg=$e({"../../node_modules/tocbot/src/js/build-html.js"(e,t){t.exports=function(r){var n=[].forEach,o=[].some,a=document.body,i,s=!0,l=" ";function c(C,k){var F=k.appendChild(h(C));if(C.children.length){var _=d(C.isCollapsed);C.children.forEach(function(j){c(j,_)}),F.appendChild(_)}}function p(C,k){var F=!1,_=d(F);if(k.forEach(function(j){c(j,_)}),i=C||i,i!==null)return i.firstChild&&i.removeChild(i.firstChild),k.length===0?i:i.appendChild(_)}function h(C){var k=document.createElement("li"),F=document.createElement("a");return r.listItemClass&&k.setAttribute("class",r.listItemClass),r.onClick&&(F.onclick=r.onClick),r.includeTitleTags&&F.setAttribute("title",C.textContent),r.includeHtml&&C.childNodes.length?n.call(C.childNodes,function(_){F.appendChild(_.cloneNode(!0))}):F.textContent=C.textContent,F.setAttribute("href",r.basePath+"#"+C.id),F.setAttribute("class",r.linkClass+l+"node-name--"+C.nodeName+l+r.extraLinkClasses),k.appendChild(F),k}function d(C){var k=r.orderedList?"ol":"ul",F=document.createElement(k),_=r.listClass+l+r.extraListClasses;return C&&(_=_+l+r.collapsibleClass,_=_+l+r.isCollapsedClass),F.setAttribute("class",_),F}function y(){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var C;C=document.querySelector(r.scrollContainer).scrollTop}else C=document.documentElement.scrollTop||a.scrollTop;var k=document.querySelector(r.positionFixedSelector);r.fixedSidebarOffset==="auto"&&(r.fixedSidebarOffset=i.offsetTop),C>r.fixedSidebarOffset?k.className.indexOf(r.positionFixedClass)===-1&&(k.className+=l+r.positionFixedClass):k.className=k.className.replace(l+r.positionFixedClass,"")}function g(C){var k=0;return C!==null&&(k=C.offsetTop,r.hasInnerContainers&&(k+=g(C.offsetParent))),k}function A(C,k){return C&&C.className!==k&&(C.className=k),C}function v(C){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var k;k=document.querySelector(r.scrollContainer).scrollTop}else k=document.documentElement.scrollTop||a.scrollTop;r.positionFixedSelector&&y();var F=C,_;if(s&&i!==null&&F.length>0){o.call(F,function(D,T){if(g(D)>k+r.headingsOffset+10){var O=T===0?T:T-1;return _=F[O],!0}else if(T===F.length-1)return _=F[F.length-1],!0});var j=i.querySelector("."+r.activeLinkClass),M=i.querySelector("."+r.linkClass+".node-name--"+_.nodeName+'[href="'+r.basePath+"#"+_.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/\\@])/g,"\\$1")+'"]');if(j===M)return;var P=i.querySelectorAll("."+r.linkClass);n.call(P,function(D){A(D,D.className.replace(l+r.activeLinkClass,""))});var W=i.querySelectorAll("."+r.listItemClass);n.call(W,function(D){A(D,D.className.replace(l+r.activeListItemClass,""))}),M&&M.className.indexOf(r.activeLinkClass)===-1&&(M.className+=l+r.activeLinkClass);var L=M&&M.parentNode;L&&L.className.indexOf(r.activeListItemClass)===-1&&(L.className+=l+r.activeListItemClass);var z=i.querySelectorAll("."+r.listClass+"."+r.collapsibleClass);n.call(z,function(D){D.className.indexOf(r.isCollapsedClass)===-1&&(D.className+=l+r.isCollapsedClass)}),M&&M.nextSibling&&M.nextSibling.className.indexOf(r.isCollapsedClass)!==-1&&A(M.nextSibling,M.nextSibling.className.replace(l+r.isCollapsedClass,"")),S(M&&M.parentNode.parentNode)}}function S(C){return C&&C.className.indexOf(r.collapsibleClass)!==-1&&C.className.indexOf(r.isCollapsedClass)!==-1?(A(C,C.className.replace(l+r.isCollapsedClass,"")),S(C.parentNode.parentNode)):C}function w(C){var k=C.target||C.srcElement;typeof k.className!="string"||k.className.indexOf(r.linkClass)===-1||(s=!1)}function x(){s=!0}return{enableTocAnimation:x,disableTocAnimation:w,render:p,updateToc:v}}}}),vg=$e({"../../node_modules/tocbot/src/js/parse-content.js"(e,t){t.exports=function(r){var n=[].reduce;function o(h){return h[h.length-1]}function a(h){return+h.nodeName.toUpperCase().replace("H","")}function i(h){try{return h instanceof window.HTMLElement||h instanceof window.parent.HTMLElement}catch{return h instanceof window.HTMLElement}}function s(h){if(!i(h))return h;if(r.ignoreHiddenElements&&(!h.offsetHeight||!h.offsetParent))return null;let d=h.getAttribute("data-heading-label")||(r.headingLabelCallback?String(r.headingLabelCallback(h.innerText)):(h.innerText||h.textContent).trim());var y={id:h.id,children:[],nodeName:h.nodeName,headingLevel:a(h),textContent:d};return r.includeHtml&&(y.childNodes=h.childNodes),r.headingObjectCallback?r.headingObjectCallback(y,h):y}function l(h,d){for(var y=s(h),g=y.headingLevel,A=d,v=o(A),S=v?v.headingLevel:0,w=g-S;w>0&&(v=o(A),!(v&&g===v.headingLevel));)v&&v.children!==void 0&&(A=v.children),w--;return g>=r.collapseDepth&&(y.isCollapsed=!0),A.push(y),A}function c(h,d){var y=d;r.ignoreSelector&&(y=d.split(",").map(function(g){return g.trim()+":not("+r.ignoreSelector+")"}));try{return h.querySelectorAll(y)}catch{return console.warn("Headers not found with selector: "+y),null}}function p(h){return n.call(h,function(d,y){var g=s(y);return g&&l(g,d.nest),d},{nest:[]})}return{nestHeadingsArray:p,selectHeadings:c}}}}),Ag=$e({"../../node_modules/tocbot/src/js/update-toc-scroll.js"(e,t){t.exports=function(r){var n=r.tocElement||document.querySelector(r.tocSelector);if(n&&n.scrollHeight>n.clientHeight){var o=n.querySelector("."+r.activeListItemClass);o&&(n.scrollTop=o.offsetTop-r.tocScrollOffset)}}}}),Dg=$e({"../../node_modules/tocbot/src/js/scroll-smooth/index.js"(e){e.initSmoothScrolling=t;function t(n){var o=n.duration,a=n.offset,i=location.hash?c(location.href):location.href;s();function s(){document.body.addEventListener("click",h,!1);function h(d){!l(d.target)||d.target.className.indexOf("no-smooth-scroll")>-1||d.target.href.charAt(d.target.href.length-2)==="#"&&d.target.href.charAt(d.target.href.length-1)==="!"||d.target.className.indexOf(n.linkClass)===-1||r(d.target.hash,{duration:o,offset:a,callback:function(){p(d.target.hash)}})}}function l(h){return h.tagName.toLowerCase()==="a"&&(h.hash.length>0||h.href.charAt(h.href.length-1)==="#")&&(c(h.href)===i||c(h.href)+"#"===i)}function c(h){return h.slice(0,h.lastIndexOf("#"))}function p(h){var d=document.getElementById(h.substring(1));d&&(/^(?:a|select|input|button|textarea)$/i.test(d.tagName)||(d.tabIndex=-1),d.focus())}}function r(n,o){var a=window.pageYOffset,i={duration:o.duration,offset:o.offset||0,callback:o.callback,easing:o.easing||g},s=document.querySelector('[id="'+decodeURI(n).split("#").join("")+'"]')||document.querySelector('[id="'+n.split("#").join("")+'"]'),l=typeof n=="string"?i.offset+(n?s&&s.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):n,c=typeof i.duration=="function"?i.duration(l):i.duration,p,h;requestAnimationFrame(function(A){p=A,d(A)});function d(A){h=A-p,window.scrollTo(0,i.easing(h,a,l,c)),h"u"&&!h)return;var d,y=Object.prototype.hasOwnProperty;function g(){for(var w={},x=0;x1?o-1:0),i=1;i=0&&o<1?(s=a,l=i):o>=1&&o<2?(s=i,l=a):o>=2&&o<3?(l=a,c=i):o>=3&&o<4?(l=i,c=a):o>=4&&o<5?(s=i,c=a):o>=5&&o<6&&(s=a,c=i);var p=r-a/2,h=s+p,d=l+p,y=c+p;return n(h,d,y)}var Oc={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 Rg(e){if(typeof e!="string")return e;var t=e.toLowerCase();return Oc[t]?"#"+Oc[t]:e}var Og=/^#[a-fA-F0-9]{6}$/,_g=/^#[a-fA-F0-9]{8}$/,Bg=/^#[a-fA-F0-9]{3}$/,Pg=/^#[a-fA-F0-9]{4}$/,Aa=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,Ng=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,jg=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,Lg=/^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 In(e){if(typeof e!="string")throw new Ze(3);var t=Rg(e);if(t.match(Og))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(_g)){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(Bg))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(Pg)){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 o=Aa.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var a=Ng.exec(t.substring(0,50));if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10),alpha:parseFloat(""+a[4])>1?parseFloat(""+a[4])/100:parseFloat(""+a[4])};var i=jg.exec(t);if(i){var s=parseInt(""+i[1],10),l=parseInt(""+i[2],10)/100,c=parseInt(""+i[3],10)/100,p="rgb("+_r(s,l,c)+")",h=Aa.exec(p);if(!h)throw new Ze(4,t,p);return{red:parseInt(""+h[1],10),green:parseInt(""+h[2],10),blue:parseInt(""+h[3],10)}}var d=Lg.exec(t.substring(0,50));if(d){var y=parseInt(""+d[1],10),g=parseInt(""+d[2],10)/100,A=parseInt(""+d[3],10)/100,v="rgb("+_r(y,g,A)+")",S=Aa.exec(v);if(!S)throw new Ze(4,t,v);return{red:parseInt(""+S[1],10),green:parseInt(""+S[2],10),blue:parseInt(""+S[3],10),alpha:parseFloat(""+d[4])>1?parseFloat(""+d[4])/100:parseFloat(""+d[4])}}throw new Ze(5)}function Mg(e){var t=e.red/255,r=e.green/255,n=e.blue/255,o=Math.max(t,r,n),a=Math.min(t,r,n),i=(o+a)/2;if(o===a)return e.alpha!==void 0?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var s,l=o-a,c=i>.5?l/(2-o-a):l/(o+a);switch(o){case t:s=(r-n)/l+(r=1?Fn(e,t,r):"rgba("+_r(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Fn(e.hue,e.saturation,e.lightness):"rgba("+_r(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Ze(2)}function Pa(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return Ba("#"+jt(e)+jt(t)+jt(r));if(typeof e=="object"&&t===void 0&&r===void 0)return Ba("#"+jt(e.red)+jt(e.green)+jt(e.blue));throw new Ze(6)}function st(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var o=In(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?Pa(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?Pa(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Ze(7)}var Jg=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},zg=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},Hg=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},Gg=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function ud(e){if(typeof e!="object")throw new Ze(8);if(zg(e))return st(e);if(Jg(e))return Pa(e);if(Gg(e))return Vg(e);if(Hg(e))return qg(e);throw new Ze(8)}function cd(e,t,r){return function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):cd(e,t,n)}}function kn(e){return cd(e,e.length,[])}function Rn(e,t,r){return Math.max(e,Math.min(t,r))}function Wg(e,t){if(t==="transparent")return t;var r=ld(t);return ud(ir({},r,{lightness:Rn(0,1,r.lightness-parseFloat(e))}))}var Kg=kn(Wg),Qe=Kg;function Yg(e,t){if(t==="transparent")return t;var r=ld(t);return ud(ir({},r,{lightness:Rn(0,1,r.lightness+parseFloat(e))}))}var Xg=kn(Yg),Lt=Xg;function Qg(e,t){if(t==="transparent")return t;var r=In(t),n=typeof r.alpha=="number"?r.alpha:1,o=ir({},r,{alpha:Rn(0,1,(n*100+parseFloat(e)*100)/100)});return st(o)}var Zg=kn(Qg),Sn=Zg;function e0(e,t){if(t==="transparent")return t;var r=In(t),n=typeof r.alpha=="number"?r.alpha:1,o=ir({},r,{alpha:Rn(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return st(o)}var t0=kn(e0),ce=t0,r0=R.div(Gt,({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})),dd=e=>f.createElement(r0,{...e,className:"docblock-emptyblock sb-unstyled"}),n0=R(Ur)(({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"}})),o0=R.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"})),wn=R.div(({theme:e})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,height:17,marginTop:1,width:"60%",[`&:first-child${zi}`]:{margin:0}})),a0=()=>f.createElement(o0,null,f.createElement(wn,null),f.createElement(wn,{style:{width:"80%"}}),f.createElement(wn,{style:{width:"30%"}}),f.createElement(wn,{style:{width:"80%"}})),i0=({isLoading:e,error:t,language:r,code:n,dark:o,format:a=!1,...i})=>{let{typography:s}=co();if(e)return f.createElement(a0,null);if(t)return f.createElement(dd,null,t);let l=f.createElement(n0,{bordered:!0,copyable:!0,format:a,language:r,className:"docblock-source sb-unstyled",...i},n);if(typeof o>"u")return l;let c=o?uo.dark:uo.light;return f.createElement(Vi,{theme:Ji({...c,fontCode:s.fonts.mono,fontBase:s.fonts.base})},l)},be=e=>`& :where(${e}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${e}))`,$a=600;R.h1(Gt,({theme:e})=>({color:e.color.defaultText,fontSize:e.typography.size.m3,fontWeight:e.typography.weight.bold,lineHeight:"32px",[`@media (min-width: ${$a}px)`]:{fontSize:e.typography.size.l1,lineHeight:"36px",marginBottom:"16px"}}));R.h2(Gt,({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:15,[`@media (min-width: ${$a}px)`]:{fontSize:e.typography.size.m1,lineHeight:"28px",marginBottom:24},color:ce(.25,e.color.defaultText)}));R.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%",[be("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}},[be("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}},[be("div")]:t,[be("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}},[be("h1")]:{...t,...r,fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},[be("h2")]:{...t,...r,fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`},[be("h3")]:{...t,...r,fontSize:`${e.typography.size.m1}px`,fontWeight:e.typography.weight.bold},[be("h4")]:{...t,...r,fontSize:`${e.typography.size.s3}px`},[be("h5")]:{...t,...r,fontSize:`${e.typography.size.s2}px`},[be("h6")]:{...t,...r,fontSize:`${e.typography.size.s2}px`,color:e.color.dark},[be("hr")]:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},[be("img")]:{maxWidth:"100%"},[be("li")]:{...t,fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":n},[be("ol")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},[be("p")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":n},[be("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"}},[be("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"}}},[be("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}},[be("ul")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0},listStyle:"disc"}}});R.div(({theme:e})=>({background:e.background.content,display:"flex",justifyContent:"center",padding:"4rem 20px",minHeight:"100vh",boxSizing:"border-box",gap:"3rem",[`@media (min-width: ${$a}px)`]:{}}));var On=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}`}),s0=gr({scale:1});R.strong(({theme:e})=>({color:e.color.orange}));var l0=R(Gn)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"}),u0=R.div({display:"flex",alignItems:"center",gap:4}),c0=R.div(({theme:e})=>({width:14,height:14,borderRadius:2,margin:"0 7px",backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),d0=({isLoading:e,storyId:t,baseUrl:r,zoom:n,resetZoom:o,...a})=>f.createElement(l0,{...a},f.createElement(u0,{key:"left"},e?[1,2,3].map(i=>f.createElement(c0,{key:i})):f.createElement(f.Fragment,null,f.createElement(Ke,{key:"zoomin",onClick:i=>{i.preventDefault(),n(.8)},title:"Zoom in"},f.createElement(os,null)),f.createElement(Ke,{key:"zoomout",onClick:i=>{i.preventDefault(),n(1.25)},title:"Zoom out"},f.createElement(as,null)),f.createElement(Ke,{key:"zoomreset",onClick:i=>{i.preventDefault(),o()},title:"Reset zoom"},f.createElement(is,null))))),p0=R.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)`}}:{}),_c=R(i0)(({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)":Qe(.05,e.background.content),color:e.color.lightest,button:{background:e.base==="light"?"rgba(0, 0, 0, 0.85)":Qe(.05,e.background.content)}})),h0=R.div(({theme:e,withSource:t,isExpanded:r})=>({position:"relative",overflow:"hidden",margin:"25px 0 40px",...On(e),borderBottomLeftRadius:t&&r&&0,borderBottomRightRadius:t&&r&&0,borderBottomWidth:r&&0,"h3 + &":{marginTop:"16px"}}),({withToolbar:e})=>e&&{paddingTop:40}),f0=(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:f.createElement(_c,{...e,dark:!0}),actionItem:{title:"Hide code",className:"docblock-code-toggle docblock-code-toggle--expanded",onClick:()=>r(!1)}};default:return{source:f.createElement(_c,{...e,dark:!0}),actionItem:{title:"Show code",className:"docblock-code-toggle",onClick:()=>r(!0)}}}};function m0(e){if(di.count(e)===1){let t=e;if(t.props)return t.props.id}return null}var y0=R(d0)({position:"absolute",top:0,left:0,right:0,height:40}),g0=R.div({overflow:"hidden",position:"relative"}),b0=({isLoading:e,isColumn:t,columns:r,children:n,withSource:o,withToolbar:a=!1,isExpanded:i=!1,additionalActions:s,className:l,layout:c="padded",...p})=>{let[h,d]=Z(i),{source:y,actionItem:g}=f0(o,h,d),[A,v]=Z(1),S=[l].concat(["sbdocs","sbdocs-preview","sb-unstyled"]),w=o?[g]:[],[x,C]=Z(s?[...s]:[]),k=[...w,...x],{window:F}=globalThis,_=Ce(async M=>{let{createCopyToClipboardFunction:P}=await Promise.resolve().then(()=>($r(),gi));P()},[]),j=M=>{let P=F.getSelection();P&&P.type==="Range"||(M.preventDefault(),x.filter(W=>W.title==="Copied").length===0&&_(y.props.code).then(()=>{C([...x,{title:"Copied",onClick:()=>{}}]),F.setTimeout(()=>C(x.filter(W=>W.title!=="Copied")),1500)}))};return f.createElement(h0,{withSource:o,withToolbar:a,...p,className:S.join(" ")},a&&f.createElement(y0,{isLoading:e,border:!0,zoom:M=>v(A*M),resetZoom:()=>v(1),storyId:m0(n),baseUrl:"./iframe.html"}),f.createElement(s0.Provider,{value:{scale:A}},f.createElement(g0,{className:"docs-story",onCopyCapture:o&&j},f.createElement(p0,{isColumn:t||!Array.isArray(n),columns:r,layout:c},f.createElement(Qn.Element,{scale:A},Array.isArray(n)?n.map((M,P)=>f.createElement("div",{key:P},M)):f.createElement("div",null,n))),f.createElement(qn,{actionItems:k}))),o&&h&&y)};R(b0)(()=>({".docs-story":{paddingTop:32,paddingBottom:40}}));function Mt(){return Mt=Object.assign?Object.assign.bind():function(e){for(var t=1;t(e[t.toLowerCase()]=t,e),{class:"className",for:"htmlFor"}),Nc={amp:"&",apos:"'",gt:">",lt:"<",nbsp:"\xA0",quot:"\u201C"},v0=["style","script"],A0=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,D0=/mailto:/i,S0=/\n{2,}$/,pd=/^(\s*>[\s\S]*?)(?=\n\n|$)/,w0=/^ *> ?/gm,C0=/^(?:\[!([^\]]*)\]\n)?([\s\S]*)/,x0=/^ {2,}\n/,T0=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,hd=/^(?: {1,3})?(`{3,}|~{3,}) *(\S+)? *([^\n]*?)?\n([\s\S]*?)(?:\1\n?|$)/,fd=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,F0=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,I0=/^(?:\n *)*\n/,k0=/\r\n?/g,R0=/^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/,O0=/^\[\^([^\]]+)]/,_0=/\f/g,B0=/^---[ \t]*\n(.|\n)*\n---[ \t]*\n/,P0=/^\s*?\[(x|\s)\]/,md=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,yd=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,gd=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,Na=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?((?:[^>]*[^/])?)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i,N0=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,bd=/^)/,j0=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,ja=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,L0=/^\{.*\}$/,M0=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,U0=/^<([^ >]+@[^ >]+)>/,$0=/^<([^ >]+:\/[^ >]+)>/,q0=/-([a-z])?/gi,Ed=/^(\|.*)\n(?: *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*))?\n?/,V0=/^\[([^\]]*)\]:\s+]+)>?\s*("([^"]*)")?/,J0=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,z0=/^\[([^\]]*)\] ?\[([^\]]*)\]/,H0=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,G0=/\t/g,W0=/(^ *\||\| *$)/g,K0=/^ *:-+: *$/,Y0=/^ *:-+ *$/,X0=/^ *-+: *$/,_n="((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~~.*?~~|==.*?==|.|\\n)*?)",Q0=new RegExp(`^([*_])\\1${_n}\\1\\1(?!\\1)`),Z0=new RegExp(`^([*_])${_n}\\1(?!\\1|\\w)`),e2=new RegExp(`^==${_n}==`),t2=new RegExp(`^~~${_n}~~`),r2=/^\\([^0-9A-Za-z\s])/,n2=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,o2=/^\n+/,a2=/^([ \t]*)/,i2=/\\([^\\])/g,jc=/ *\n+$/,s2=/(?:^|\n)( *)$/,qa="(?:\\d+\\.)",Va="(?:[*+-])";function vd(e){return"( *)("+(e===1?qa:Va)+") +"}var Ad=vd(1),Dd=vd(2);function Sd(e){return new RegExp("^"+(e===1?Ad:Dd))}var l2=Sd(1),u2=Sd(2);function wd(e){return new RegExp("^"+(e===1?Ad:Dd)+"[^\\n]*(?:\\n(?!\\1"+(e===1?qa:Va)+" )[^\\n]*)*(\\n|$)","gm")}var Cd=wd(1),xd=wd(2);function Td(e){let t=e===1?qa:Va;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}var Fd=Td(1),Id=Td(2);function Lc(e,t){let r=t===1,n=r?Fd:Id,o=r?Cd:xd,a=r?l2:u2;return{match(i,s){let l=s2.exec(s.prevCapture);return l&&(s.list||!s.inline&&!s.simple)?n.exec(i=l[1]+i):null},order:1,parse(i,s,l){let c=r?+i[2]:void 0,p=i[0].replace(S0,` +`).match(o),h=!1;return{items:p.map(function(d,y){let g=a.exec(d)[0].length,A=new RegExp("^ {1,"+g+"}","gm"),v=d.replace(A,"").replace(a,""),S=y===p.length-1,w=v.indexOf(` + +`)!==-1||S&&h;h=w;let x=l.inline,C=l.list,k;l.list=!0,w?(l.inline=!1,k=v.replace(jc,` + +`)):(l.inline=!0,k=v.replace(jc,""));let F=s(k,l);return l.inline=x,l.list=C,F}),ordered:r,start:c}},render:(i,s,l)=>e(i.ordered?"ol":"ul",{key:l.key,start:i.type===G.orderedList?i.start:void 0},i.items.map(function(c,p){return e("li",{key:p},s(c,l))}))}}var c2=new RegExp(`^\\[((?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*)\\]\\(\\s*?(?:\\s+['"]([\\s\\S]*?)['"])?\\s*\\)`),d2=/^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,kd=[pd,hd,fd,md,gd,yd,bd,Ed,Cd,Fd,xd,Id],p2=[...kd,/^[^\n]+(?: \n|\n{2,})/,Na,ja];function Ir(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 h2(e){return X0.test(e)?"right":K0.test(e)?"center":Y0.test(e)?"left":null}function Mc(e,t,r,n){let o=r.inTable;r.inTable=!0;let a=e.trim().split(/( *(?:`[^`]*`|\\\||\|) *)/).reduce((s,l)=>(l.trim()==="|"?s.push(n?{type:G.tableSeparator}:{type:G.text,text:l}):l!==""&&s.push.apply(s,t(l,r)),s),[]);r.inTable=o;let i=[[]];return a.forEach(function(s,l){s.type===G.tableSeparator?l!==0&&l!==a.length-1&&i.push([]):(s.type!==G.text||a[l+1]!=null&&a[l+1].type!==G.tableSeparator||(s.text=s.text.trimEnd()),i[i.length-1].push(s))}),i}function f2(e,t,r){r.inline=!0;let n=e[2]?e[2].replace(W0,"").split("|").map(h2):[],o=e[3]?function(i,s,l){return i.trim().split(` +`).map(function(c){return Mc(c,s,l,!0)})}(e[3],t,r):[],a=Mc(e[1],t,r,!!o.length);return r.inline=!1,o.length?{align:n,cells:o,header:a,type:G.table}:{children:a,type:G.paragraph}}function Uc(e,t){return e.align[t]==null?{}:{textAlign:e.align[t]}}function At(e){return function(t,r){return r.inline?e.exec(t):null}}function Dt(e){return function(t,r){return r.inline||r.simple?e.exec(t):null}}function it(e){return function(t,r){return r.inline||r.simple?null:e.exec(t)}}function kr(e){return function(t){return e.exec(t)}}function m2(e,t){if(t.inline||t.simple)return null;let r="";e.split(` +`).every(o=>!kd.some(a=>a.test(o))&&(r+=o+` +`,o.trim()));let n=r.trimEnd();return n==""?null:[r,n]}function y2(e){try{if(decodeURIComponent(e).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data(?!:image)):/i))return null}catch{return null}return e}function $c(e){return e.replace(i2,"$1")}function Tn(e,t,r){let n=r.inline||!1,o=r.simple||!1;r.inline=!0,r.simple=!0;let a=e(t,r);return r.inline=n,r.simple=o,a}function g2(e,t,r){let n=r.inline||!1,o=r.simple||!1;r.inline=!1,r.simple=!0;let a=e(t,r);return r.inline=n,r.simple=o,a}function b2(e,t,r){let n=r.inline||!1;r.inline=!1;let o=e(t,r);return r.inline=n,o}var Sa=(e,t,r)=>({children:Tn(t,e[1],r)});function wa(){return{}}function Ca(){return null}function E2(...e){return e.filter(Boolean).join(" ")}function xa(e,t,r){let n=e,o=t.split(".");for(;o.length&&(n=n[o[0]],n!==void 0);)o.shift();return n||r}function v2(e="",t={}){function r(d,y,...g){let A=xa(t.overrides,`${d}.props`,{});return t.createElement(function(v,S){let w=xa(S,v);return w?typeof w=="function"||typeof w=="object"&&"render"in w?w:xa(S,`${v}.component`,v):v}(d,t.overrides),Mt({},y,A,{className:E2(y?.className,A.className)||void 0}),...g)}function n(d){d=d.replace(B0,"");let y=!1;t.forceInline?y=!0:t.forceBlock||(y=H0.test(d)===!1);let g=c(l(y?d:`${d.trimEnd().replace(o2,"")} + +`,{inline:y}));for(;typeof g[g.length-1]=="string"&&!g[g.length-1].trim();)g.pop();if(t.wrapper===null)return g;let A=t.wrapper||(y?"span":"div"),v;if(g.length>1||t.forceWrapper)v=g;else{if(g.length===1)return v=g[0],typeof v=="string"?r("span",{key:"outer"},v):v;v=null}return t.createElement(A,{key:"outer"},v)}function o(d,y){let g=y.match(A0);return g?g.reduce(function(A,v){let S=v.indexOf("=");if(S!==-1){let w=function(F){return F.indexOf("-")!==-1&&F.match(j0)===null&&(F=F.replace(q0,function(_,j){return j.toUpperCase()})),F}(v.slice(0,S)).trim(),x=function(F){let _=F[0];return(_==='"'||_==="'")&&F.length>=2&&F[F.length-1]===_?F.slice(1,-1):F}(v.slice(S+1).trim()),C=Pc[w]||w;if(C==="ref")return A;let k=A[C]=function(F,_,j,M){return _==="style"?j.split(/;\s?/).reduce(function(P,W){let L=W.slice(0,W.indexOf(":"));return P[L.trim().replace(/(-[a-z])/g,z=>z[1].toUpperCase())]=W.slice(L.length+1).trim(),P},{}):_==="href"||_==="src"?M(j,F,_):(j.match(L0)&&(j=j.slice(1,j.length-1)),j==="true"||j!=="false"&&j)}(d,w,x,t.sanitizer);typeof k=="string"&&(Na.test(k)||ja.test(k))&&(A[C]=n(k.trim()))}else v!=="style"&&(A[Pc[v]||v]=!0);return A},{}):null}t.overrides=t.overrides||{},t.sanitizer=t.sanitizer||y2,t.slugify=t.slugify||Ir,t.namedCodesToUnicode=t.namedCodesToUnicode?Mt({},Nc,t.namedCodesToUnicode):Nc,t.createElement=t.createElement||hi;let a=[],i={},s={[G.blockQuote]:{match:it(pd),order:1,parse(d,y,g){let[,A,v]=d[0].replace(w0,"").match(C0);return{alert:A,children:y(v,g)}},render(d,y,g){let A={key:g.key};return d.alert&&(A.className="markdown-alert-"+t.slugify(d.alert.toLowerCase(),Ir),d.children.unshift({attrs:{},children:[{type:G.text,text:d.alert}],noInnerParse:!0,type:G.htmlBlock,tag:"header"})),r("blockquote",A,y(d.children,g))}},[G.breakLine]:{match:kr(x0),order:1,parse:wa,render:(d,y,g)=>r("br",{key:g.key})},[G.breakThematic]:{match:it(T0),order:1,parse:wa,render:(d,y,g)=>r("hr",{key:g.key})},[G.codeBlock]:{match:it(fd),order:0,parse:d=>({lang:void 0,text:d[0].replace(/^ {4}/gm,"").replace(/\n+$/,"")}),render:(d,y,g)=>r("pre",{key:g.key},r("code",Mt({},d.attrs,{className:d.lang?`lang-${d.lang}`:""}),d.text))},[G.codeFenced]:{match:it(hd),order:0,parse:d=>({attrs:o("code",d[3]||""),lang:d[2]||void 0,text:d[4],type:G.codeBlock})},[G.codeInline]:{match:Dt(F0),order:3,parse:d=>({text:d[2]}),render:(d,y,g)=>r("code",{key:g.key},d.text)},[G.footnote]:{match:it(R0),order:0,parse:d=>(a.push({footnote:d[2],identifier:d[1]}),{}),render:Ca},[G.footnoteReference]:{match:At(O0),order:1,parse:d=>({target:`#${t.slugify(d[1],Ir)}`,text:d[1]}),render:(d,y,g)=>r("a",{key:g.key,href:t.sanitizer(d.target,"a","href")},r("sup",{key:g.key},d.text))},[G.gfmTask]:{match:At(P0),order:1,parse:d=>({completed:d[1].toLowerCase()==="x"}),render:(d,y,g)=>r("input",{checked:d.completed,key:g.key,readOnly:!0,type:"checkbox"})},[G.heading]:{match:it(t.enforceAtxHeadings?yd:md),order:1,parse:(d,y,g)=>({children:Tn(y,d[2],g),id:t.slugify(d[2],Ir),level:d[1].length}),render:(d,y,g)=>r(`h${d.level}`,{id:d.id,key:g.key},y(d.children,g))},[G.headingSetext]:{match:it(gd),order:0,parse:(d,y,g)=>({children:Tn(y,d[1],g),level:d[2]==="="?1:2,type:G.heading})},[G.htmlBlock]:{match:kr(Na),order:1,parse(d,y,g){let[,A]=d[3].match(a2),v=new RegExp(`^${A}`,"gm"),S=d[3].replace(v,""),w=(x=S,p2.some(j=>j.test(x))?b2:Tn);var x;let C=d[1].toLowerCase(),k=v0.indexOf(C)!==-1,F=(k?C:d[1]).trim(),_={attrs:o(F,d[2]),noInnerParse:k,tag:F};return g.inAnchor=g.inAnchor||C==="a",k?_.text=d[3]:_.children=w(y,S,g),g.inAnchor=!1,_},render:(d,y,g)=>r(d.tag,Mt({key:g.key},d.attrs),d.text||(d.children?y(d.children,g):""))},[G.htmlSelfClosing]:{match:kr(ja),order:1,parse(d){let y=d[1].trim();return{attrs:o(y,d[2]||""),tag:y}},render:(d,y,g)=>r(d.tag,Mt({},d.attrs,{key:g.key}))},[G.htmlComment]:{match:kr(bd),order:1,parse:()=>({}),render:Ca},[G.image]:{match:Dt(d2),order:1,parse:d=>({alt:d[1],target:$c(d[2]),title:d[3]}),render:(d,y,g)=>r("img",{key:g.key,alt:d.alt||void 0,title:d.title||void 0,src:t.sanitizer(d.target,"img","src")})},[G.link]:{match:At(c2),order:3,parse:(d,y,g)=>({children:g2(y,d[1],g),target:$c(d[2]),title:d[3]}),render:(d,y,g)=>r("a",{key:g.key,href:t.sanitizer(d.target,"a","href"),title:d.title},y(d.children,g))},[G.linkAngleBraceStyleDetector]:{match:At($0),order:0,parse:d=>({children:[{text:d[1],type:G.text}],target:d[1],type:G.link})},[G.linkBareUrlDetector]:{match:(d,y)=>y.inAnchor||t.disableAutoLink?null:At(M0)(d,y),order:0,parse:d=>({children:[{text:d[1],type:G.text}],target:d[1],title:void 0,type:G.link})},[G.linkMailtoDetector]:{match:At(U0),order:0,parse(d){let y=d[1],g=d[1];return D0.test(g)||(g="mailto:"+g),{children:[{text:y.replace("mailto:",""),type:G.text}],target:g,type:G.link}}},[G.orderedList]:Lc(r,1),[G.unorderedList]:Lc(r,2),[G.newlineCoalescer]:{match:it(I0),order:3,parse:wa,render:()=>` +`},[G.paragraph]:{match:m2,order:3,parse:Sa,render:(d,y,g)=>r("p",{key:g.key},y(d.children,g))},[G.ref]:{match:At(V0),order:0,parse:d=>(i[d[1]]={target:d[2],title:d[4]},{}),render:Ca},[G.refImage]:{match:Dt(J0),order:0,parse:d=>({alt:d[1]||void 0,ref:d[2]}),render:(d,y,g)=>i[d.ref]?r("img",{key:g.key,alt:d.alt,src:t.sanitizer(i[d.ref].target,"img","src"),title:i[d.ref].title}):null},[G.refLink]:{match:At(z0),order:0,parse:(d,y,g)=>({children:y(d[1],g),fallbackChildren:d[0],ref:d[2]}),render:(d,y,g)=>i[d.ref]?r("a",{key:g.key,href:t.sanitizer(i[d.ref].target,"a","href"),title:i[d.ref].title},y(d.children,g)):r("span",{key:g.key},d.fallbackChildren)},[G.table]:{match:it(Ed),order:1,parse:f2,render(d,y,g){let A=d;return r("table",{key:g.key},r("thead",null,r("tr",null,A.header.map(function(v,S){return r("th",{key:S,style:Uc(A,S)},y(v,g))}))),r("tbody",null,A.cells.map(function(v,S){return r("tr",{key:S},v.map(function(w,x){return r("td",{key:x,style:Uc(A,x)},y(w,g))}))})))}},[G.text]:{match:kr(n2),order:4,parse:d=>({text:d[0].replace(N0,(y,g)=>t.namedCodesToUnicode[g]?t.namedCodesToUnicode[g]:y)}),render:d=>d.text},[G.textBolded]:{match:Dt(Q0),order:2,parse:(d,y,g)=>({children:y(d[2],g)}),render:(d,y,g)=>r("strong",{key:g.key},y(d.children,g))},[G.textEmphasized]:{match:Dt(Z0),order:3,parse:(d,y,g)=>({children:y(d[2],g)}),render:(d,y,g)=>r("em",{key:g.key},y(d.children,g))},[G.textEscaped]:{match:Dt(r2),order:1,parse:d=>({text:d[1],type:G.text})},[G.textMarked]:{match:Dt(e2),order:3,parse:Sa,render:(d,y,g)=>r("mark",{key:g.key},y(d.children,g))},[G.textStrikethroughed]:{match:Dt(t2),order:3,parse:Sa,render:(d,y,g)=>r("del",{key:g.key},y(d.children,g))}};t.disableParsingRawHTML===!0&&(delete s[G.htmlBlock],delete s[G.htmlSelfClosing]);let l=function(d){let y=Object.keys(d);function g(A,v){let S=[];for(v.prevCapture=v.prevCapture||"";A;){let w=0;for(;wS(g,A,v),g,A,v):S(g,A,v)}}(s,t.renderRule),function d(y,g={}){if(Array.isArray(y)){let A=g.key,v=[],S=!1;for(let w=0;w{let{children:t="",options:r}=e,n=function(o,a){if(o==null)return{};var i,s,l={},c=Object.keys(o);for(s=0;s=0||(l[i]=o[i]);return l}(e,E0);return pe(v2(t,r),n)},D2=R.label(({theme:e})=>({lineHeight:"18px",alignItems:"center",marginBottom:8,display:"inline-block",position:"relative",whiteSpace:"nowrap",background:e.boolean.background,borderRadius:"3em",padding:1,'&[aria-disabled="true"]':{opacity:.5,input:{cursor:"not-allowed"}},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:`${Sn(.3,e.appBorderColor)} 0 0 0 1px inset`},"&:active":{boxShadow:`${Sn(.05,e.appBorderColor)} 0 0 0 2px inset`,color:Sn(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"?`${Sn(.1,e.appBorderColor)} 0 0 2px`:`${e.appBorderColor} 0 0 0 1px`,color:e.color.defaultText,padding:"7px 15px"}})),S2=e=>e==="true",w2=({name:e,value:t,onChange:r,onBlur:n,onFocus:o,argType:a})=>{let i=Ce(()=>r(!1),[r]),s=!!a?.table?.readonly;if(t===void 0)return f.createElement(ht,{variant:"outline",size:"medium",id:yr(e),onClick:i,disabled:s},"Set boolean");let l=Le(e),c=typeof t=="string"?S2(t):t;return f.createElement(D2,{"aria-disabled":s,htmlFor:l,"aria-label":e},f.createElement("input",{id:l,type:"checkbox",onChange:p=>r(p.target.checked),checked:c,role:"switch",disabled:s,name:e,onBlur:n,onFocus:o}),f.createElement("span",{"aria-hidden":"true"},"False"),f.createElement("span",{"aria-hidden":"true"},"True"))},C2=e=>{let[t,r,n]=e.split("-"),o=new Date;return o.setFullYear(parseInt(t,10),parseInt(r,10)-1,parseInt(n,10)),o},x2=e=>{let[t,r]=e.split(":"),n=new Date;return n.setHours(parseInt(t,10)),n.setMinutes(parseInt(r,10)),n},T2=e=>{let t=new Date(e),r=`000${t.getFullYear()}`.slice(-4),n=`0${t.getMonth()+1}`.slice(-2),o=`0${t.getDate()}`.slice(-2);return`${r}-${n}-${o}`},F2=e=>{let t=new Date(e),r=`0${t.getHours()}`.slice(-2),n=`0${t.getMinutes()}`.slice(-2);return`${r}:${n}`},qc=R(Ge.Input)(({readOnly:e})=>({opacity:e?.5:1})),I2=R.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}})),k2=({name:e,value:t,onChange:r,onFocus:n,onBlur:o,argType:a})=>{let[i,s]=Z(!0),l=Pe(),c=Pe(),p=!!a?.table?.readonly;xe(()=>{i!==!1&&(l&&l.current&&(l.current.value=t?T2(t):""),c&&c.current&&(c.current.value=t?F2(t):""))},[t]);let h=g=>{if(!g.target.value)return r();let A=C2(g.target.value),v=new Date(t);v.setFullYear(A.getFullYear(),A.getMonth(),A.getDate());let S=v.getTime();S&&r(S),s(!!S)},d=g=>{if(!g.target.value)return r();let A=x2(g.target.value),v=new Date(t);v.setHours(A.getHours()),v.setMinutes(A.getMinutes());let S=v.getTime();S&&r(S),s(!!S)},y=Le(e);return f.createElement(I2,null,f.createElement(qc,{type:"date",max:"9999-12-31",ref:l,id:`${y}-date`,name:`${y}-date`,readOnly:p,onChange:h,onFocus:n,onBlur:o}),f.createElement(qc,{type:"time",id:`${y}-time`,name:`${y}-time`,ref:c,onChange:d,readOnly:p,onFocus:n,onBlur:o}),i?null:f.createElement("div",null,"invalid"))},R2=R.label({display:"flex"}),O2=e=>{let t=parseFloat(e);return Number.isNaN(t)?void 0:t},_2=R(Ge.Input)(({readOnly:e})=>({opacity:e?.5:1})),B2=({name:e,value:t,onChange:r,min:n,max:o,step:a,onBlur:i,onFocus:s,argType:l})=>{let[c,p]=Z(typeof t=="number"?t:""),[h,d]=Z(!1),[y,g]=Z(null),A=!!l?.table?.readonly,v=Ce(x=>{p(x.target.value);let C=parseFloat(x.target.value);Number.isNaN(C)?g(new Error(`'${x.target.value}' is not a number`)):(r(C),g(null))},[r,g]),S=Ce(()=>{p("0"),r(0),d(!0)},[d]),w=Pe(null);return xe(()=>{h&&w.current&&w.current.select()},[h]),xe(()=>{c!==(typeof t=="number"?t:"")&&p(t)},[t]),t===void 0?f.createElement(ht,{variant:"outline",size:"medium",id:yr(e),onClick:S,disabled:A},"Set number"):f.createElement(R2,null,f.createElement(_2,{ref:w,id:Le(e),type:"number",onChange:v,size:"flex",placeholder:"Edit number...",value:c,valid:y?"error":null,autoFocus:h,readOnly:A,name:e,min:n,max:o,step:a,onFocus:s,onBlur:i}))},Rd=(e,t)=>{let r=t&&Object.entries(t).find(([n,o])=>o===e);return r?r[0]:void 0},La=(e,t)=>e&&t?Object.entries(t).filter(r=>e.includes(r[1])).map(r=>r[0]):[],Od=(e,t)=>e&&t&&e.map(r=>t[r]),P2=R.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),N2=R.span({"[aria-readonly=true] &":{opacity:.5}}),j2=R.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),Vc=({name:e,options:t,value:r,onChange:n,isInline:o,argType:a})=>{if(!t)return Xr.warn(`Checkbox with no options: ${e}`),f.createElement(f.Fragment,null,"-");let i=La(r,t),[s,l]=Z(i),c=!!a?.table?.readonly,p=d=>{let y=d.target.value,g=[...s];g.includes(y)?g.splice(g.indexOf(y),1):g.push(y),n(Od(g,t)),l(g)};xe(()=>{l(La(r,t))},[r]);let h=Le(e);return f.createElement(P2,{"aria-readonly":c,isInline:o},Object.keys(t).map((d,y)=>{let g=`${h}-${y}`;return f.createElement(j2,{key:g,htmlFor:g},f.createElement("input",{type:"checkbox",disabled:c,id:g,name:g,value:d,onChange:p,checked:s?.includes(d)}),f.createElement(N2,null,d))}))},L2=R.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),M2=R.span({"[aria-readonly=true] &":{opacity:.5}}),U2=R.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),Jc=({name:e,options:t,value:r,onChange:n,isInline:o,argType:a})=>{if(!t)return Xr.warn(`Radio with no options: ${e}`),f.createElement(f.Fragment,null,"-");let i=Rd(r,t),s=Le(e),l=!!a?.table?.readonly;return f.createElement(L2,{"aria-readonly":l,isInline:o},Object.keys(t).map((c,p)=>{let h=`${s}-${p}`;return f.createElement(U2,{key:h,htmlFor:h},f.createElement("input",{type:"radio",id:h,name:s,disabled:l,value:c,onChange:d=>n(t[d.currentTarget.value]),checked:c===i}),f.createElement(M2,null,c))}))},$2={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},_d=R.select($2,({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}}})),Bd=R.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}}})),zc="Choose option...",q2=({name:e,value:t,options:r,onChange:n,argType:o})=>{let a=c=>{n(r[c.currentTarget.value])},i=Rd(t,r)||zc,s=Le(e),l=!!o?.table?.readonly;return f.createElement(Bd,null,f.createElement(fo,null),f.createElement(_d,{disabled:l,id:s,value:i,onChange:a},f.createElement("option",{key:"no-selection",disabled:!0},zc),Object.keys(r).map(c=>f.createElement("option",{key:c,value:c},c))))},V2=({name:e,value:t,options:r,onChange:n,argType:o})=>{let a=c=>{let p=Array.from(c.currentTarget.options).filter(h=>h.selected).map(h=>h.value);n(Od(p,r))},i=La(t,r),s=Le(e),l=!!o?.table?.readonly;return f.createElement(Bd,null,f.createElement(_d,{disabled:l,id:s,multiple:!0,value:i,onChange:a},Object.keys(r).map(c=>f.createElement("option",{key:c,value:c},c))))},Hc=e=>{let{name:t,options:r}=e;return r?e.isMulti?f.createElement(V2,{...e}):f.createElement(q2,{...e}):(Xr.warn(`Select with no options: ${t}`),f.createElement(f.Fragment,null,"-"))},J2=(e,t)=>Array.isArray(e)?e.reduce((r,n)=>(r[t?.[n]||String(n)]=n,r),{}):e,z2={check:Vc,"inline-check":Vc,radio:Jc,"inline-radio":Jc,select:Hc,"multi-select":Hc},ar=e=>{let{type:t="select",labels:r,argType:n}=e,o={...e,argType:n,options:n?J2(n.options,r):{},isInline:t.includes("inline"),isMulti:t.includes("multi")},a=z2[t];if(a)return f.createElement(a,{...o});throw new Error(`Unknown options type: ${t}`)},H2="Error",G2="Object",W2="Array",K2="String",Y2="Number",X2="Boolean",Q2="Date",Z2="Null",e1="Undefined",t1="Function",r1="Symbol",Pd="ADD_DELTA_TYPE",Nd="REMOVE_DELTA_TYPE",jd="UPDATE_DELTA_TYPE",Ja="value",n1="key";function Ut(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 Ld(e,t){let r=Ut(e),n=Ut(t);return(r==="Function"||n==="Function")&&n!==r}var za=class extends dt{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:o}=this.props,{inputRefKey:a,inputRefValue:i}=this.state,s={};if(!t){if(!a.value)return;s.key=a.value}s.newValue=r(!1,n,o,s.key,i.value),e(s)}refInputKey(e){this.state.inputRefKey=e}refInputValue(e){this.state.inputRefValue=e}render(){let{handleCancel:e,onlyValue:t,addButtonElement:r,cancelButtonElement:n,inputElementGenerator:o,keyPath:a,deep:i}=this.props,s=pe(r,{onClick:this.onSubmit}),l=pe(n,{onClick:e}),c=o(Ja,a,i),p=pe(c,{placeholder:"Value",ref:this.refInputValue}),h=null;if(!t){let d=o(n1,a,i);h=pe(d,{placeholder:"Key",ref:this.refInputKey})}return f.createElement("span",{className:"rejt-add-value-node"},h,p,l,s)}};za.defaultProps={onlyValue:!1,addButtonElement:f.createElement("button",null,"+"),cancelButtonElement:f.createElement("button",null,"c")};var Md=class extends dt{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:o}=this.props,a=n.length;o(n[a-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:o,nextDeep:a}=this.state,i=n[e];t(e,o,a,i).then(()=>{let s={keyPath:o,deep:a,key:e,oldValue:i,type:Nd};n.splice(e,1),this.setState({data:n});let{onUpdate:l,onDeltaUpdate:c}=this.props;l(o[o.length-1],n),c(s)}).catch(r.error)}}handleAddValueAdd({newValue:e}){let{data:t,keyPath:r,nextDeep:n}=this.state,{beforeAddAction:o,logger:a}=this.props;o(t.length,r,n,e).then(()=>{let i=[...t,e];this.setState({data:i}),this.handleAddValueCancel();let{onUpdate:s,onDeltaUpdate:l}=this.props;s(r[r.length-1],i),l({type:Pd,keyPath:r,deep:n,key:i.length-1,newValue:e})}).catch(a.error)}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:o}=this.props,{data:a,keyPath:i,nextDeep:s}=this.state,l=a[e];o(e,i,s,l,t).then(()=>{a[e]=t,this.setState({data:a});let{onUpdate:c,onDeltaUpdate:p}=this.props;c(i[i.length-1],a),p({type:jd,keyPath:i,deep:s,key:e,newValue:t,oldValue:l}),r(void 0)}).catch(n)})}renderCollapsed(){let{name:e,data:t,keyPath:r,deep:n}=this.state,{handleRemove:o,readOnly:a,getStyle:i,dataType:s,minusMenuElement:l}=this.props,{minus:c,collapsed:p}=i(e,t,r,n,s),h=a(e,t,r,n,s),d=pe(l,{onClick:o,className:"rejt-minus-menu",style:c});return f.createElement("span",{className:"rejt-collapsed"},f.createElement("span",{className:"rejt-collapsed-text",style:p,onClick:this.handleCollapseMode},"[...] ",t.length," ",t.length===1?"item":"items"),!h&&d)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,addFormVisible:o,nextDeep:a}=this.state,{isCollapsed:i,handleRemove:s,onDeltaUpdate:l,readOnly:c,getStyle:p,dataType:h,addButtonElement:d,cancelButtonElement:y,editButtonElement:g,inputElementGenerator:A,textareaElementGenerator:v,minusMenuElement:S,plusMenuElement:w,beforeRemoveAction:x,beforeAddAction:C,beforeUpdateAction:k,logger:F,onSubmitValueParser:_}=this.props,{minus:j,plus:M,delimiter:P,ul:W,addForm:L}=p(e,t,r,n,h),z=c(e,t,r,n,h),D=pe(w,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:M}),T=pe(S,{onClick:s,className:"rejt-minus-menu",style:j});return f.createElement("span",{className:"rejt-not-collapsed"},f.createElement("span",{className:"rejt-not-collapsed-delimiter",style:P},"["),!o&&D,f.createElement("ul",{className:"rejt-not-collapsed-list",style:W},t.map((O,U)=>f.createElement(Bn,{key:U,name:U.toString(),data:O,keyPath:r,deep:a,isCollapsed:i,handleRemove:this.handleRemoveItem(U),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:l,readOnly:c,getStyle:p,addButtonElement:d,cancelButtonElement:y,editButtonElement:g,inputElementGenerator:A,textareaElementGenerator:v,minusMenuElement:S,plusMenuElement:w,beforeRemoveAction:x,beforeAddAction:C,beforeUpdateAction:k,logger:F,onSubmitValueParser:_}))),!z&&o&&f.createElement("div",{className:"rejt-add-form",style:L},f.createElement(za,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,onlyValue:!0,addButtonElement:d,cancelButtonElement:y,inputElementGenerator:A,keyPath:r,deep:n,onSubmitValueParser:_})),f.createElement("span",{className:"rejt-not-collapsed-delimiter",style:P},"]"),!z&&T)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:o}=this.state,{dataType:a,getStyle:i}=this.props,s=t?this.renderCollapsed():this.renderNotCollapsed(),l=i(e,r,n,o,a);return f.createElement("div",{className:"rejt-array-node"},f.createElement("span",{onClick:this.handleCollapseMode},f.createElement("span",{className:"rejt-name",style:l.name},e," :"," ")),s)}};Md.defaultProps={keyPath:[],deep:0,minusMenuElement:f.createElement("span",null," - "),plusMenuElement:f.createElement("span",null," + ")};var Ud=class extends dt{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:o,deep:a}=this.state,{readOnly:i,dataType:s}=this.props,l=i(r,n,o,a,s);e&&!l&&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:o}=this.props,{inputRef:a,name:i,deep:s}=this.state;if(!a)return;let l=n(!0,o,s,i,a.value);e({value:l,key:i}).then(()=>{Ld(t,l)||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:o}=this.state,{handleRemove:a,originalValue:i,readOnly:s,dataType:l,getStyle:c,editButtonElement:p,cancelButtonElement:h,textareaElementGenerator:d,minusMenuElement:y,keyPath:g}=this.props,A=c(e,i,n,o,l),v=null,S=null,w=s(e,i,n,o,l);if(r&&!w){let x=d(Ja,g,o,e,i,l),C=pe(p,{onClick:this.handleEdit}),k=pe(h,{onClick:this.handleCancelEdit}),F=pe(x,{ref:this.refInput,defaultValue:i});v=f.createElement("span",{className:"rejt-edit-form",style:A.editForm},F," ",k,C),S=null}else{v=f.createElement("span",{className:"rejt-value",style:A.value,onClick:w?null:this.handleEditMode},t);let x=pe(y,{onClick:a,className:"rejt-minus-menu",style:A.minus});S=w?null:x}return f.createElement("li",{className:"rejt-function-value-node",style:A.li},f.createElement("span",{className:"rejt-name",style:A.name},e," :"," "),v,S)}};Ud.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>{},editButtonElement:f.createElement("button",null,"e"),cancelButtonElement:f.createElement("button",null,"c"),minusMenuElement:f.createElement("span",null," - ")};var Bn=class extends dt{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:o,handleRemove:a,handleUpdateValue:i,onUpdate:s,onDeltaUpdate:l,readOnly:c,getStyle:p,addButtonElement:h,cancelButtonElement:d,editButtonElement:y,inputElementGenerator:g,textareaElementGenerator:A,minusMenuElement:v,plusMenuElement:S,beforeRemoveAction:w,beforeAddAction:x,beforeUpdateAction:C,logger:k,onSubmitValueParser:F}=this.props,_=()=>!0,j=Ut(e);switch(j){case H2:return f.createElement(Ma,{data:e,name:t,isCollapsed:o,keyPath:r,deep:n,handleRemove:a,onUpdate:s,onDeltaUpdate:l,readOnly:_,dataType:j,getStyle:p,addButtonElement:h,cancelButtonElement:d,editButtonElement:y,inputElementGenerator:g,textareaElementGenerator:A,minusMenuElement:v,plusMenuElement:S,beforeRemoveAction:w,beforeAddAction:x,beforeUpdateAction:C,logger:k,onSubmitValueParser:F});case G2:return f.createElement(Ma,{data:e,name:t,isCollapsed:o,keyPath:r,deep:n,handleRemove:a,onUpdate:s,onDeltaUpdate:l,readOnly:c,dataType:j,getStyle:p,addButtonElement:h,cancelButtonElement:d,editButtonElement:y,inputElementGenerator:g,textareaElementGenerator:A,minusMenuElement:v,plusMenuElement:S,beforeRemoveAction:w,beforeAddAction:x,beforeUpdateAction:C,logger:k,onSubmitValueParser:F});case W2:return f.createElement(Md,{data:e,name:t,isCollapsed:o,keyPath:r,deep:n,handleRemove:a,onUpdate:s,onDeltaUpdate:l,readOnly:c,dataType:j,getStyle:p,addButtonElement:h,cancelButtonElement:d,editButtonElement:y,inputElementGenerator:g,textareaElementGenerator:A,minusMenuElement:v,plusMenuElement:S,beforeRemoveAction:w,beforeAddAction:x,beforeUpdateAction:C,logger:k,onSubmitValueParser:F});case K2:return f.createElement(St,{name:t,value:`"${e}"`,originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:i,readOnly:c,dataType:j,getStyle:p,cancelButtonElement:d,editButtonElement:y,inputElementGenerator:g,minusMenuElement:v,logger:k,onSubmitValueParser:F});case Y2:return f.createElement(St,{name:t,value:e,originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:i,readOnly:c,dataType:j,getStyle:p,cancelButtonElement:d,editButtonElement:y,inputElementGenerator:g,minusMenuElement:v,logger:k,onSubmitValueParser:F});case X2:return f.createElement(St,{name:t,value:e?"true":"false",originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:i,readOnly:c,dataType:j,getStyle:p,cancelButtonElement:d,editButtonElement:y,inputElementGenerator:g,minusMenuElement:v,logger:k,onSubmitValueParser:F});case Q2:return f.createElement(St,{name:t,value:e.toISOString(),originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:i,readOnly:_,dataType:j,getStyle:p,cancelButtonElement:d,editButtonElement:y,inputElementGenerator:g,minusMenuElement:v,logger:k,onSubmitValueParser:F});case Z2:return f.createElement(St,{name:t,value:"null",originalValue:"null",keyPath:r,deep:n,handleRemove:a,handleUpdateValue:i,readOnly:c,dataType:j,getStyle:p,cancelButtonElement:d,editButtonElement:y,inputElementGenerator:g,minusMenuElement:v,logger:k,onSubmitValueParser:F});case e1:return f.createElement(St,{name:t,value:"undefined",originalValue:"undefined",keyPath:r,deep:n,handleRemove:a,handleUpdateValue:i,readOnly:c,dataType:j,getStyle:p,cancelButtonElement:d,editButtonElement:y,inputElementGenerator:g,minusMenuElement:v,logger:k,onSubmitValueParser:F});case t1:return f.createElement(Ud,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:i,readOnly:c,dataType:j,getStyle:p,cancelButtonElement:d,editButtonElement:y,textareaElementGenerator:A,minusMenuElement:v,logger:k,onSubmitValueParser:F});case r1:return f.createElement(St,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:a,handleUpdateValue:i,readOnly:_,dataType:j,getStyle:p,cancelButtonElement:d,editButtonElement:y,inputElementGenerator:g,minusMenuElement:v,logger:k,onSubmitValueParser:F});default:return null}}};Bn.defaultProps={keyPath:[],deep:0};var Ma=class extends dt{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:o}=this.props,a=n.length;o(n[a-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleAddValueAdd({key:e,newValue:t}){let{data:r,keyPath:n,nextDeep:o}=this.state,{beforeAddAction:a,logger:i}=this.props;a(e,n,o,t).then(()=>{r[e]=t,this.setState({data:r}),this.handleAddValueCancel();let{onUpdate:s,onDeltaUpdate:l}=this.props;s(n[n.length-1],r),l({type:Pd,keyPath:n,deep:o,key:e,newValue:t})}).catch(i.error)}handleRemoveValue(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:o,nextDeep:a}=this.state,i=n[e];t(e,o,a,i).then(()=>{let s={keyPath:o,deep:a,key:e,oldValue:i,type:Nd};delete n[e],this.setState({data:n});let{onUpdate:l,onDeltaUpdate:c}=this.props;l(o[o.length-1],n),c(s)}).catch(r.error)}}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:o}=this.props,{data:a,keyPath:i,nextDeep:s}=this.state,l=a[e];o(e,i,s,l,t).then(()=>{a[e]=t,this.setState({data:a});let{onUpdate:c,onDeltaUpdate:p}=this.props;c(i[i.length-1],a),p({type:jd,keyPath:i,deep:s,key:e,newValue:t,oldValue:l}),r()}).catch(n)})}renderCollapsed(){let{name:e,keyPath:t,deep:r,data:n}=this.state,{handleRemove:o,readOnly:a,dataType:i,getStyle:s,minusMenuElement:l}=this.props,{minus:c,collapsed:p}=s(e,n,t,r,i),h=Object.getOwnPropertyNames(n),d=a(e,n,t,r,i),y=pe(l,{onClick:o,className:"rejt-minus-menu",style:c});return f.createElement("span",{className:"rejt-collapsed"},f.createElement("span",{className:"rejt-collapsed-text",style:p,onClick:this.handleCollapseMode},"{...}"," ",h.length," ",h.length===1?"key":"keys"),!d&&y)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,nextDeep:o,addFormVisible:a}=this.state,{isCollapsed:i,handleRemove:s,onDeltaUpdate:l,readOnly:c,getStyle:p,dataType:h,addButtonElement:d,cancelButtonElement:y,editButtonElement:g,inputElementGenerator:A,textareaElementGenerator:v,minusMenuElement:S,plusMenuElement:w,beforeRemoveAction:x,beforeAddAction:C,beforeUpdateAction:k,logger:F,onSubmitValueParser:_}=this.props,{minus:j,plus:M,addForm:P,ul:W,delimiter:L}=p(e,t,r,n,h),z=Object.getOwnPropertyNames(t),D=c(e,t,r,n,h),T=pe(w,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:M}),O=pe(S,{onClick:s,className:"rejt-minus-menu",style:j}),U=z.map($=>f.createElement(Bn,{key:$,name:$,data:t[$],keyPath:r,deep:o,isCollapsed:i,handleRemove:this.handleRemoveValue($),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:l,readOnly:c,getStyle:p,addButtonElement:d,cancelButtonElement:y,editButtonElement:g,inputElementGenerator:A,textareaElementGenerator:v,minusMenuElement:S,plusMenuElement:w,beforeRemoveAction:x,beforeAddAction:C,beforeUpdateAction:k,logger:F,onSubmitValueParser:_}));return f.createElement("span",{className:"rejt-not-collapsed"},f.createElement("span",{className:"rejt-not-collapsed-delimiter",style:L},"{"),!D&&T,f.createElement("ul",{className:"rejt-not-collapsed-list",style:W},U),!D&&a&&f.createElement("div",{className:"rejt-add-form",style:P},f.createElement(za,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,addButtonElement:d,cancelButtonElement:y,inputElementGenerator:A,keyPath:r,deep:n,onSubmitValueParser:_})),f.createElement("span",{className:"rejt-not-collapsed-delimiter",style:L},"}"),!D&&O)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:o}=this.state,{getStyle:a,dataType:i}=this.props,s=t?this.renderCollapsed():this.renderNotCollapsed(),l=a(e,r,n,o,i);return f.createElement("div",{className:"rejt-object-node"},f.createElement("span",{onClick:this.handleCollapseMode},f.createElement("span",{className:"rejt-name",style:l.name},e," :"," ")),s)}};Ma.defaultProps={keyPath:[],deep:0,minusMenuElement:f.createElement("span",null," - "),plusMenuElement:f.createElement("span",null," + ")};var St=class extends dt{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:o,deep:a}=this.state,{readOnly:i,dataType:s}=this.props,l=i(r,n,o,a,s);e&&!l&&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:o}=this.props,{inputRef:a,name:i,deep:s}=this.state;if(!a)return;let l=n(!0,o,s,i,a.value);e({value:l,key:i}).then(()=>{Ld(t,l)||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:o}=this.state,{handleRemove:a,originalValue:i,readOnly:s,dataType:l,getStyle:c,editButtonElement:p,cancelButtonElement:h,inputElementGenerator:d,minusMenuElement:y,keyPath:g}=this.props,A=c(e,i,n,o,l),v=s(e,i,n,o,l),S=r&&!v,w=d(Ja,g,o,e,i,l),x=pe(p,{onClick:this.handleEdit}),C=pe(h,{onClick:this.handleCancelEdit}),k=pe(w,{ref:this.refInput,defaultValue:JSON.stringify(i)}),F=pe(y,{onClick:a,className:"rejt-minus-menu",style:A.minus});return f.createElement("li",{className:"rejt-value-node",style:A.li},f.createElement("span",{className:"rejt-name",style:A.name},e," : "),S?f.createElement("span",{className:"rejt-edit-form",style:A.editForm},k," ",C,x):f.createElement("span",{className:"rejt-value",style:A.value,onClick:v?null:this.handleEditMode},String(t)),!v&&!S&&F)}};St.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>Promise.resolve(),editButtonElement:f.createElement("button",null,"e"),cancelButtonElement:f.createElement("button",null,"c"),minusMenuElement:f.createElement("span",null," - ")};function o1(e){let t=e;if(t.indexOf("function")===0)return(0,eval)(`(${t})`);try{t=JSON.parse(e)}catch{}return t}var a1={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},i1={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},s1={minus:{color:"red"},editForm:{},value:{color:"#7bba3d"},li:{minHeight:"22px",lineHeight:"22px",outline:"0px"},name:{color:"#2287CD"}},$d=class extends dt{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:o,getStyle:a,addButtonElement:i,cancelButtonElement:s,editButtonElement:l,inputElement:c,textareaElement:p,minusMenuElement:h,plusMenuElement:d,beforeRemoveAction:y,beforeAddAction:g,beforeUpdateAction:A,logger:v,onSubmitValueParser:S,fallback:w=null}=this.props,x=Ut(e),C=o;Ut(o)==="Boolean"&&(C=()=>o);let k=c;c&&Ut(c)!=="Function"&&(k=()=>c);let F=p;return p&&Ut(p)!=="Function"&&(F=()=>p),x==="Object"||x==="Array"?f.createElement("div",{className:"rejt-tree"},f.createElement(Bn,{data:e,name:t,deep:-1,isCollapsed:r,onUpdate:this.onUpdate,onDeltaUpdate:n,readOnly:C,getStyle:a,addButtonElement:i,cancelButtonElement:s,editButtonElement:l,inputElementGenerator:k,textareaElementGenerator:F,minusMenuElement:h,plusMenuElement:d,handleRemove:this.removeRoot,beforeRemoveAction:y,beforeAddAction:g,beforeUpdateAction:A,logger:v,onSubmitValueParser:S})):w}};$d.defaultProps={rootName:"root",isCollapsed:(e,t)=>t!==-1,getStyle:(e,t,r,n,o)=>{switch(o){case"Object":case"Error":return a1;case"Array":return i1;default:return s1}},readOnly:()=>!1,onFullyUpdate:()=>{},onDeltaUpdate:()=>{},beforeRemoveAction:()=>Promise.resolve(),beforeAddAction:()=>Promise.resolve(),beforeUpdateAction:()=>Promise.resolve(),logger:{error:()=>{}},onSubmitValueParser:(e,t,r,n,o)=>o1(o),inputElement:()=>f.createElement("input",null),textareaElement:()=>f.createElement("textarea",null),fallback:null};var{window:l1}=globalThis,u1=R.div(({theme:e})=>({position:"relative",display:"flex",'&[aria-readonly="true"]':{opacity:.5},".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}})),Ta=R.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})),c1=R(ho)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.ancillary},"svg + &":{marginLeft:0}})),d1=R(rs)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.negative},"svg + &":{marginLeft:0}})),Gc=R.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}`}})),p1=R(Ke)(({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}})),h1=R(Ge.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"}})),f1={bubbles:!0,cancelable:!0,key:"Enter",code:"Enter",keyCode:13},m1=e=>{e.currentTarget.dispatchEvent(new l1.KeyboardEvent("keydown",f1))},y1=e=>{e.currentTarget.select()},g1=e=>()=>({name:{color:e.color.secondary},collapsed:{color:e.color.dark},ul:{listStyle:"none",margin:"0 0 0 1rem",padding:0},li:{outline:0}}),Wc=({name:e,value:t,onChange:r,argType:n})=>{let o=co(),a=pt(()=>t&&ci(t),[t]),i=a!=null,[s,l]=Z(!i),[c,p]=Z(null),h=!!n?.table?.readonly,d=Ce(x=>{try{x&&r(JSON.parse(x)),p(void 0)}catch(C){p(C)}},[r]),[y,g]=Z(!1),A=Ce(()=>{r({}),g(!0)},[g]),v=Pe(null);if(xe(()=>{y&&v.current&&v.current.select()},[y]),!i)return f.createElement(ht,{disabled:h,id:yr(e),onClick:A},"Set object");let S=f.createElement(h1,{ref:v,id:Le(e),name:e,defaultValue:t===null?"":JSON.stringify(t,null,2),onBlur:x=>d(x.target.value),placeholder:"Edit JSON string...",autoFocus:y,valid:c?"error":null,readOnly:h}),w=Array.isArray(t)||typeof t=="object"&&t?.constructor===Object;return f.createElement(u1,{"aria-readonly":h},w&&f.createElement(p1,{onClick:x=>{x.preventDefault(),l(C=>!C)}},s?f.createElement(Qi,null):f.createElement(Zi,null),f.createElement("span",null,"RAW")),s?S:f.createElement($d,{readOnly:h||!w,isCollapsed:w?void 0:()=>!0,data:a,rootName:e,onFullyUpdate:r,getStyle:g1(o),cancelButtonElement:f.createElement(Ta,{type:"button"},"Cancel"),editButtonElement:f.createElement(Ta,{type:"submit"},"Save"),addButtonElement:f.createElement(Ta,{type:"submit",primary:!0},"Save"),plusMenuElement:f.createElement(c1,null),minusMenuElement:f.createElement(d1,null),inputElement:(x,C,k,F)=>F?f.createElement(Gc,{onFocus:y1,onBlur:m1}):f.createElement(Gc,null),fallback:S}))},b1=R.input(({theme:e,min:t,max:r,value:n,disabled:o})=>({"&":{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}%, + ${Qe(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${Qe(.02,e.input.background)} 100%)`:`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, + ${Lt(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${Lt(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:o?"not-allowed":"pointer"},"&::-webkit-slider-thumb":{marginTop:"-6px",width:16,height:16,border:`1px solid ${st(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${st(e.appBorderColor,.2)}`,cursor:o?"not-allowed":"grab",appearance:"none",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${Qe(.05,e.input.background)}`,transform:"scale3d(1.1, 1.1, 1.1) translateY(-1px)",transition:"all 50ms ease-out"},"&:active":{background:`${e.input.background}`,transform:"scale3d(1, 1, 1) translateY(0px)",cursor:o?"not-allowed":"grab"}},"&:focus":{outline:"none","&::-webkit-slider-runnable-track":{borderColor:st(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}%, + ${Qe(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${Qe(.02,e.input.background)} 100%)`:`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, + ${Lt(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${Lt(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:o?"not-allowed":"pointer",outline:"none"},"&::-moz-range-thumb":{width:16,height:16,border:`1px solid ${st(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${st(e.appBorderColor,.2)}`,cursor:o?"not-allowed":"grap",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${Qe(.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}%, + ${Qe(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${Qe(.02,e.input.background)} 100%)`:`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, + ${Lt(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${Lt(.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 ${st(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),qd=R.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums","[aria-readonly=true] &":{opacity:.5}}),E1=R(qd)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),v1=R.div({display:"flex",alignItems:"center",width:"100%"});function A1(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 D1=({name:e,value:t,onChange:r,min:n=0,max:o=100,step:a=1,onBlur:i,onFocus:s,argType:l})=>{let c=y=>{r(O2(y.target.value))},p=t!==void 0,h=pt(()=>A1(a),[a]),d=!!l?.table?.readonly;return f.createElement(v1,{"aria-readonly":d},f.createElement(qd,null,n),f.createElement(b1,{id:Le(e),type:"range",disabled:d,onChange:c,name:e,value:t,min:n,max:o,step:a,onFocus:s,onBlur:i}),f.createElement(E1,{numberOFDecimalsPlaces:h,max:o},p?t.toFixed(h):"--"," / ",o))},S1=R.label({display:"flex"}),w1=R.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),C1=({name:e,value:t,onChange:r,onFocus:n,onBlur:o,maxLength:a,argType:i})=>{let s=y=>{r(y.target.value)},l=!!i?.table?.readonly,[c,p]=Z(!1),h=Ce(()=>{r(""),p(!0)},[p]);if(t===void 0)return f.createElement(ht,{variant:"outline",size:"medium",disabled:l,id:yr(e),onClick:h},"Set string");let d=typeof t=="string";return f.createElement(S1,null,f.createElement(Ge.Textarea,{id:Le(e),maxLength:a,onChange:s,disabled:l,size:"flex",placeholder:"Edit string...",autoFocus:c,valid:d?null:"error",name:e,value:d?t:"",onFocus:n,onBlur:o}),a&&f.createElement(w1,{isMaxed:t?.length===a},t?.length??0," / ",a))},x1=R(Ge.Input)({padding:10});function T1(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var F1=({onChange:e,name:t,accept:r="image/*",value:n,argType:o})=>{let a=Pe(null),i=o?.control?.readOnly;function s(l){if(!l.target.files)return;let c=Array.from(l.target.files).map(p=>URL.createObjectURL(p));e(c),T1(n)}return xe(()=>{n==null&&a.current&&(a.current.value=null)},[n,t]),f.createElement(x1,{ref:a,id:Le(t),type:"file",name:t,multiple:!0,disabled:i,onChange:s,accept:r,size:"flex"})},I1=fi(()=>Promise.resolve().then(()=>(Rc(),kc))),k1=e=>f.createElement(pi,{fallback:f.createElement("div",null)},f.createElement(I1,{...e})),R1={array:Wc,object:Wc,boolean:w2,color:k1,date:k2,number:B2,check:ar,"inline-check":ar,radio:ar,"inline-radio":ar,select:ar,"multi-select":ar,range:D1,text:C1,file:F1},Kc=()=>f.createElement(f.Fragment,null,"-"),O1=({row:e,arg:t,updateArgs:r,isHovered:n})=>{let{key:o,control:a}=e,[i,s]=Z(!1),[l,c]=Z({value:t});xe(()=>{i||c({value:t})},[i,t]);let p=Ce(A=>(c({value:A}),r({[o]:A}),A),[r,o]),h=Ce(()=>s(!1),[]),d=Ce(()=>s(!0),[]);if(!a||a.disable){let A=a?.disable!==!0&&e?.type?.name!=="function";return n&&A?f.createElement(xt,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):f.createElement(Kc,null)}let y={name:o,argType:e,value:l.value,onChange:p,onBlur:h,onFocus:d},g=R1[a.type]||Kc;return f.createElement(g,{...y,...a,controlType:a.type})},_1=R.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:Ht({theme:e}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:e.typography.size.s1}}})),B1=({tags:e})=>{let t=(e.params||[]).filter(a=>a.description),r=t.length!==0,n=e.deprecated!=null,o=e.returns!=null&&e.returns.description!=null;return!r&&!o&&!n?null:f.createElement(f.Fragment,null,f.createElement(_1,null,f.createElement("tbody",null,n&&f.createElement("tr",{key:"deprecated"},f.createElement("td",{colSpan:2},f.createElement("strong",null,"Deprecated"),": ",e.deprecated.toString())),r&&t.map(a=>f.createElement("tr",{key:a.name},f.createElement("td",null,f.createElement("code",null,a.name)),f.createElement("td",null,a.description))),o&&f.createElement("tr",{key:"returns"},f.createElement("td",null,f.createElement("code",null,"Returns")),f.createElement("td",null,e.returns.description)))))},P1=zt(id()),Ua=8,Yc=R.div(({isExpanded:e})=>({display:"flex",flexDirection:e?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100})),N1=R.span(Ht,({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}})),j1=R.button(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,marginBottom:"4px",background:"none",border:"none"})),L1=R.div(Ht,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"})),M1=R.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"}})),U1=R(Xi)({marginLeft:4}),$1=R(fo)({marginLeft:4}),q1=()=>f.createElement("span",null,"-"),Vd=({text:e,simple:t})=>f.createElement(N1,{simple:t},e),V1=(0,P1.default)(1e3)(e=>{let t=e.split(/\r?\n/);return`${Math.max(...t.map(r=>r.length))}ch`}),J1=e=>{if(!e)return[e];let t=e.split("|").map(r=>r.trim());return li(t)},Xc=(e,t=!0)=>{let r=e;return t||(r=e.slice(0,Ua)),r.map(n=>f.createElement(Vd,{key:n,text:n===""?'""':n}))},z1=({value:e,initialExpandedArgs:t})=>{let{summary:r,detail:n}=e,[o,a]=Z(!1),[i,s]=Z(t||!1);if(r==null)return null;let l=typeof r.toString=="function"?r.toString():r;if(n==null){if(/[(){}[\]<>]/.test(l))return f.createElement(Vd,{text:l});let c=J1(l),p=c.length;return p>Ua?f.createElement(Yc,{isExpanded:i},Xc(c,i),f.createElement(j1,{onClick:()=>s(!i)},i?"Show less...":`Show ${p-Ua} more...`)):f.createElement(Yc,null,Xc(c))}return f.createElement(Xn,{closeOnOutsideClick:!0,placement:"bottom",visible:o,onVisibleChange:c=>{a(c)},tooltip:f.createElement(M1,{width:V1(n)},f.createElement(Ur,{language:"jsx",format:!1},n))},f.createElement(L1,{className:"sbdocs-expandable"},f.createElement("span",null,l),o?f.createElement(U1,null):f.createElement($1,null)))},Fa=({value:e,initialExpandedArgs:t})=>e==null?f.createElement(q1,null):f.createElement(z1,{value:e,initialExpandedArgs:t}),H1=R.span({fontWeight:"bold"}),G1=R.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),W1=R.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...Ht({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),K1=R.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?ce(.1,e.color.defaultText):ce(.2,e.color.defaultText),marginTop:t?4:0})),Y1=R.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})),X1=R.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),Q1=e=>e&&{summary:typeof e=="string"?e:e.name},Cn=e=>{let[t,r]=Z(!1),{row:n,updateArgs:o,compact:a,expandable:i,initialExpandedArgs:s}=e,{name:l,description:c}=n,p=n.table||{},h=p.type||Q1(n.type),d=p.defaultValue||n.defaultValue,y=n.type?.required,g=c!=null&&c!=="";return f.createElement("tr",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},f.createElement(X1,{expandable:i},f.createElement(H1,null,l),y?f.createElement(G1,{title:"Required"},"*"):null),a?null:f.createElement("td",null,g&&f.createElement(W1,null,f.createElement(A2,null,c)),p.jsDocTags!=null?f.createElement(f.Fragment,null,f.createElement(Y1,{hasDescription:g},f.createElement(Fa,{value:h,initialExpandedArgs:s})),f.createElement(B1,{tags:p.jsDocTags})):f.createElement(K1,{hasDescription:g},f.createElement(Fa,{value:h,initialExpandedArgs:s}))),a?null:f.createElement("td",null,f.createElement(Fa,{value:d,initialExpandedArgs:s})),o?f.createElement("td",null,f.createElement(O1,{...e,isHovered:t})):null)},Z1=R.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"})),eb=R.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),tb=R.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),rb=({inAddonPanel:e})=>{let[t,r]=Z(!0);return xe(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:f.createElement(Z1,{inAddonPanel:e},f.createElement(Hn,{title:e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated",description:f.createElement(f.Fragment,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."),footer:f.createElement(eb,null,e&&f.createElement(f.Fragment,null,f.createElement(xt,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},f.createElement(ns,null)," Watch 5m video"),f.createElement(tb,null),f.createElement(xt,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},f.createElement(Yr,null)," Read docs")),!e&&f.createElement(xt,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},f.createElement(Yr,null)," Learn how to set that up"))}))},nb=R(Ki)(({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"})),ob=R(Yi)(({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"})),ab=R.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),ib=R.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`}})),sb=R.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),lb=R.td({position:"relative"}),ub=R.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${Lt(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),Qc=R.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"}),Ia=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:o=3})=>{let[a,i]=Z(n),s=e==="subsection"?sb:ib,l=r?.length||0,c=e==="subsection"?`${l} item${l!==1?"s":""}`:"",p=`${a?"Hide":"Show"} ${e==="subsection"?l:t} item${l!==1?"s":""}`;return f.createElement(f.Fragment,null,f.createElement(ub,{title:p},f.createElement(s,{colSpan:1},f.createElement(Qc,{onClick:h=>i(!a),tabIndex:0},p),f.createElement(ab,null,a?f.createElement(nb,null):f.createElement(ob,null),t)),f.createElement(lb,{colSpan:o-1},f.createElement(Qc,{onClick:h=>i(!a),tabIndex:-1,style:{outline:"none"}},p),a?null:c)),a?r:null)},xn=R.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),Oe=R.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),Ee=R.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})),_e=[2,4,2,2],cb=()=>f.createElement(f.Fragment,null,f.createElement(xn,null,f.createElement(Oe,{numColumn:_e[0]},f.createElement(Ee,{width:"60%"})),f.createElement(Oe,{numColumn:_e[1]},f.createElement(Ee,{width:"30%"})),f.createElement(Oe,{numColumn:_e[2]},f.createElement(Ee,{width:"60%"})),f.createElement(Oe,{numColumn:_e[3]},f.createElement(Ee,{width:"60%"}))),f.createElement(xn,null,f.createElement(Oe,{numColumn:_e[0]},f.createElement(Ee,{width:"60%"})),f.createElement(Oe,{numColumn:_e[1]},f.createElement(Ee,{width:"80%"}),f.createElement(Ee,{width:"30%"})),f.createElement(Oe,{numColumn:_e[2]},f.createElement(Ee,{width:"60%"})),f.createElement(Oe,{numColumn:_e[3]},f.createElement(Ee,{width:"60%"}))),f.createElement(xn,null,f.createElement(Oe,{numColumn:_e[0]},f.createElement(Ee,{width:"60%"})),f.createElement(Oe,{numColumn:_e[1]},f.createElement(Ee,{width:"80%"}),f.createElement(Ee,{width:"30%"})),f.createElement(Oe,{numColumn:_e[2]},f.createElement(Ee,{width:"60%"})),f.createElement(Oe,{numColumn:_e[3]},f.createElement(Ee,{width:"60%"}))),f.createElement(xn,null,f.createElement(Oe,{numColumn:_e[0]},f.createElement(Ee,{width:"60%"})),f.createElement(Oe,{numColumn:_e[1]},f.createElement(Ee,{width:"80%"}),f.createElement(Ee,{width:"30%"})),f.createElement(Oe,{numColumn:_e[2]},f.createElement(Ee,{width:"60%"})),f.createElement(Oe,{numColumn:_e[3]},f.createElement(Ee,{width:"60%"})))),db=R.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}}}}})),pb=R(Ke)(({theme:e})=>({margin:"-4px -12px -4px 0"})),hb=R.span({display:"flex",justifyContent:"space-between"}),fb={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},mb=(e,t)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([a,i])=>{let{category:s,subcategory:l}=i?.table||{};if(s){let c=r.sections[s]||{ungrouped:[],subsections:{}};if(!l)c.ungrouped.push({key:a,...i});else{let p=c.subsections[l]||[];p.push({key:a,...i}),c.subsections[l]=p}r.sections[s]=c}else if(l){let c=r.ungroupedSubsections[l]||[];c.push({key:a,...i}),r.ungroupedSubsections[l]=c}else r.ungrouped.push({key:a,...i})});let n=fb[t],o=a=>n?Object.keys(a).reduce((i,s)=>({...i,[s]:a[s].sort(n)}),{}):a;return{ungrouped:r.ungrouped.sort(n),ungroupedSubsections:o(r.ungroupedSubsections),sections:Object.keys(r.sections).reduce((a,i)=>({...a,[i]:{ungrouped:r.sections[i].ungrouped.sort(n),subsections:o(r.sections[i].subsections)}}),{})}},yb=(e,t,r)=>{try{return mn(e,t,r)}catch(n){return ss.warn(n.message),!1}},gb=e=>{let{updateArgs:t,resetArgs:r,compact:n,inAddonPanel:o,initialExpandedArgs:a,sort:i="none",isLoading:s}=e;if("error"in e){let{error:w}=e;return f.createElement(dd,null,w,"\xA0",f.createElement(xt,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},f.createElement(Yr,null)," Read the docs"))}if(s)return f.createElement(cb,null);let{rows:l,args:c,globals:p}="rows"in e&&e,h=mb(ui(l||{},w=>!w?.table?.disable&&yb(w,c||{},p||{})),i),d=h.ungrouped.length===0,y=Object.entries(h.sections).length===0,g=Object.entries(h.ungroupedSubsections).length===0;if(d&&y&&g)return f.createElement(rb,{inAddonPanel:o});let A=1;t&&(A+=1),n||(A+=2);let v=Object.keys(h.sections).length>0,S={updateArgs:t,compact:n,inAddonPanel:o,initialExpandedArgs:a};return f.createElement(Kn,null,f.createElement(db,{compact:n,inAddonPanel:o,className:"docblock-argstable sb-unstyled"},f.createElement("thead",{className:"docblock-argstable-head"},f.createElement("tr",null,f.createElement("th",null,f.createElement("span",null,"Name")),n?null:f.createElement("th",null,f.createElement("span",null,"Description")),n?null:f.createElement("th",null,f.createElement("span",null,"Default")),t?f.createElement("th",null,f.createElement(hb,null,"Control"," ",!s&&r&&f.createElement(pb,{onClick:()=>r(),title:"Reset controls"},f.createElement(mo,{"aria-hidden":!0})))):null)),f.createElement("tbody",{className:"docblock-argstable-body"},h.ungrouped.map(w=>f.createElement(Cn,{key:w.key,row:w,arg:c&&c[w.key],...S})),Object.entries(h.ungroupedSubsections).map(([w,x])=>f.createElement(Ia,{key:w,label:w,level:"subsection",colSpan:A},x.map(C=>f.createElement(Cn,{key:C.key,row:C,arg:c&&c[C.key],expandable:v,...S})))),Object.entries(h.sections).map(([w,x])=>f.createElement(Ia,{key:w,label:w,level:"section",colSpan:A},x.ungrouped.map(C=>f.createElement(Cn,{key:C.key,row:C,arg:c&&c[C.key],...S})),Object.entries(x.subsections).map(([C,k])=>f.createElement(Ia,{key:C,label:C,level:"subsection",colSpan:A},k.map(F=>f.createElement(Cn,{key:F.key,row:F,arg:c&&c[F.key],expandable:v,...S})))))))))};R.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)}));R.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});R.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}});R.div(Gt,({theme:e})=>({...On(e),margin:"25px 0 40px",padding:"30px 20px"}));R.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText}));R.div(({theme:e})=>({color:e.base==="light"?ce(.2,e.color.defaultText):ce(.6,e.color.defaultText)}));R.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5});R.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}}));R.div({display:"flex",flexDirection:"row"});R.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}}));R.div(({theme:e})=>({...On(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"}));R.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30});R.div({flex:1,display:"flex",flexDirection:"row"});R.div({display:"flex",alignItems:"flex-start"});R.div({flex:"0 0 30%"});R.div({flex:1});R.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)}));R.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));R.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2}));R.div(({theme:e})=>({...On(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}}));R.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"});R.div({display:"flex",flexFlow:"row wrap"});globalThis&&globalThis.__DOCS_CONTEXT__===void 0&&(globalThis.__DOCS_CONTEXT__=gr(null),globalThis.__DOCS_CONTEXT__.displayName="DocsContext");var bb=globalThis?globalThis.__DOCS_CONTEXT__:gr(null),Eb=Object.create,Jd=Object.defineProperty,vb=Object.getOwnPropertyDescriptor,zd=Object.getOwnPropertyNames,Ab=Object.getPrototypeOf,Db=Object.prototype.hasOwnProperty,ze=(e,t)=>function(){return t||(0,e[zd(e)[0]])((t={exports:{}}).exports,t),t.exports},Sb=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of zd(t))!Db.call(e,o)&&o!==r&&Jd(e,o,{get:()=>t[o],enumerable:!(n=vb(t,o))||n.enumerable});return e},Ha=(e,t,r)=>(r=e!=null?Eb(Ab(e)):{},Sb(t||!e||!e.__esModule?Jd(r,"default",{value:e,enumerable:!0}):r,e)),wb=zt(id(),1),Hd=ze({"node_modules/has-symbols/shams.js"(e,t){t.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},n=Symbol("test"),o=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var a=42;r[n]=a;for(n in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var i=Object.getOwnPropertySymbols(r);if(i.length!==1||i[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(r,n);if(s.value!==a||s.enumerable!==!0)return!1}return!0}}}),Gd=ze({"node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=Hd();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}}),Cb=ze({"node_modules/function-bind/implementation.js"(e,t){var r="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,o=Object.prototype.toString,a="[object Function]";t.exports=function(i){var s=this;if(typeof s!="function"||o.call(s)!==a)throw new TypeError(r+s);for(var l=n.call(arguments,1),c,p=function(){if(this instanceof c){var A=s.apply(this,l.concat(n.call(arguments)));return Object(A)===A?A:this}else return s.apply(i,l.concat(n.call(arguments)))},h=Math.max(0,s.length-l.length),d=[],y=0;y"u"?r:h(Uint8Array),g={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":p?h([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":d,"%AsyncGenerator%":d,"%AsyncGeneratorFunction%":d,"%AsyncIteratorPrototype%":d,"%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%":o,"%GeneratorFunction%":d,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":p?h(h([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!p?r:h(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"||!p?r:h(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":p?h(""[Symbol.iterator]()):r,"%Symbol%":p?Symbol:r,"%SyntaxError%":n,"%ThrowTypeError%":c,"%TypedArray%":y,"%TypeError%":a,"%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},A=function L(z){var D;if(z==="%AsyncFunction%")D=i("async function () {}");else if(z==="%GeneratorFunction%")D=i("function* () {}");else if(z==="%AsyncGeneratorFunction%")D=i("async function* () {}");else if(z==="%AsyncGenerator%"){var T=L("%AsyncGeneratorFunction%");T&&(D=T.prototype)}else if(z==="%AsyncIteratorPrototype%"){var O=L("%AsyncGenerator%");O&&(D=h(O.prototype))}return g[z]=D,D},v={"%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"]},S=Ga(),w=xb(),x=S.call(Function.call,Array.prototype.concat),C=S.call(Function.apply,Array.prototype.splice),k=S.call(Function.call,String.prototype.replace),F=S.call(Function.call,String.prototype.slice),_=S.call(Function.call,RegExp.prototype.exec),j=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,M=/\\(\\)?/g,P=function(L){var z=F(L,0,1),D=F(L,-1);if(z==="%"&&D!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if(D==="%"&&z!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var T=[];return k(L,j,function(O,U,$,X){T[T.length]=$?k(X,M,"$1"):U||O}),T},W=function(L,z){var D=L,T;if(w(v,D)&&(T=v[D],D="%"+T[0]+"%"),w(g,D)){var O=g[D];if(O===d&&(O=A(D)),typeof O>"u"&&!z)throw new a("intrinsic "+L+" exists, but is not available. Please file an issue!");return{alias:T,name:D,value:O}}throw new n("intrinsic "+L+" does not exist!")};t.exports=function(L,z){if(typeof L!="string"||L.length===0)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof z!="boolean")throw new a('"allowMissing" argument must be a boolean');if(_(/^%?[^%]*%?$/,L)===null)throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var D=P(L),T=D.length>0?D[0]:"",O=W("%"+T+"%",z),U=O.name,$=O.value,X=!1,se=O.alias;se&&(T=se[0],C(D,x([0,1],se)));for(var te=1,Q=!0;te=D.length){var Fe=s($,re);Q=!!Fe,Q&&"get"in Fe&&!("originalValue"in Fe.get)?$=Fe.get:$=$[re]}else Q=w($,re),$=$[re];Q&&!X&&(g[U]=$)}}return $}}}),Tb=ze({"node_modules/call-bind/index.js"(e,t){var r=Ga(),n=Wd(),o=n("%Function.prototype.apply%"),a=n("%Function.prototype.call%"),i=n("%Reflect.apply%",!0)||r.call(a,o),s=n("%Object.getOwnPropertyDescriptor%",!0),l=n("%Object.defineProperty%",!0),c=n("%Math.max%");if(l)try{l({},"a",{value:1})}catch{l=null}t.exports=function(h){var d=i(r,a,arguments);if(s&&l){var y=s(d,"length");y.configurable&&l(d,"length",{value:1+c(0,h.length-(arguments.length-1))})}return d};var p=function(){return i(r,o,arguments)};l?l(t.exports,"apply",{value:p}):t.exports.apply=p}}),Fb=ze({"node_modules/call-bind/callBound.js"(e,t){var r=Wd(),n=Tb(),o=n(r("String.prototype.indexOf"));t.exports=function(a,i){var s=r(a,!!i);return typeof s=="function"&&o(a,".prototype.")>-1?n(s):s}}}),Ib=ze({"node_modules/has-tostringtag/shams.js"(e,t){var r=Hd();t.exports=function(){return r()&&!!Symbol.toStringTag}}}),kb=ze({"node_modules/is-regex/index.js"(e,t){var r=Fb(),n=Ib()(),o,a,i,s;n&&(o=r("Object.prototype.hasOwnProperty"),a=r("RegExp.prototype.exec"),i={},l=function(){throw i},s={toString:l,valueOf:l},typeof Symbol.toPrimitive=="symbol"&&(s[Symbol.toPrimitive]=l));var l,c=r("Object.prototype.toString"),p=Object.getOwnPropertyDescriptor,h="[object RegExp]";t.exports=n?function(d){if(!d||typeof d!="object")return!1;var y=p(d,"lastIndex"),g=y&&o(y,"value");if(!g)return!1;try{a(d,s)}catch(A){return A===i}}:function(d){return!d||typeof d!="object"&&typeof d!="function"?!1:c(d)===h}}}),Rb=ze({"node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(o){if(!o)return!1;var a=r.call(o);return a==="[object Function]"||typeof o=="function"&&a!=="[object RegExp]"||typeof window<"u"&&(o===window.setTimeout||o===window.alert||o===window.confirm||o===window.prompt)}}}),Ob=ze({"node_modules/is-symbol/index.js"(e,t){var r=Object.prototype.toString,n=Gd()();n?(o=Symbol.prototype.toString,a=/^Symbol\(.*\)$/,i=function(s){return typeof s.valueOf()!="symbol"?!1:a.test(o.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 o,a,i}});Ha(kb());Ha(Rb());Ha(Ob());var _b=typeof window=="object"&&window&&window.Object===Object&&window,Bb=_b,Pb=typeof self=="object"&&self&&self.Object===Object&&self,Nb=Bb||Pb||Function("return this")(),Wa=Nb,jb=Wa.Symbol,sr=jb,Kd=Object.prototype,Lb=Kd.hasOwnProperty,Mb=Kd.toString,Rr=sr?sr.toStringTag:void 0;function Ub(e){var t=Lb.call(e,Rr),r=e[Rr];try{e[Rr]=void 0;var n=!0}catch{}var o=Mb.call(e);return n&&(t?e[Rr]=r:delete e[Rr]),o}var $b=Ub,qb=Object.prototype,Vb=qb.toString;function Jb(e){return Vb.call(e)}var zb=Jb,Hb="[object Null]",Gb="[object Undefined]",Zc=sr?sr.toStringTag:void 0;function Wb(e){return e==null?e===void 0?Gb:Hb:Zc&&Zc in Object(e)?$b(e):zb(e)}var Kb=Wb,ed=sr?sr.prototype:void 0;ed&&ed.toString;function Yb(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Yd=Yb,Xb="[object AsyncFunction]",Qb="[object Function]",Zb="[object GeneratorFunction]",eE="[object Proxy]";function tE(e){if(!Yd(e))return!1;var t=Kb(e);return t==Qb||t==Zb||t==Xb||t==eE}var rE=tE,nE=Wa["__core-js_shared__"],ka=nE,td=function(){var e=/[^.]+$/.exec(ka&&ka.keys&&ka.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function oE(e){return!!td&&td in e}var aE=oE,iE=Function.prototype,sE=iE.toString;function lE(e){if(e!=null){try{return sE.call(e)}catch{}try{return e+""}catch{}}return""}var uE=lE,cE=/[\\^$.*+?()[\]{}|]/g,dE=/^\[object .+?Constructor\]$/,pE=Function.prototype,hE=Object.prototype,fE=pE.toString,mE=hE.hasOwnProperty,yE=RegExp("^"+fE.call(mE).replace(cE,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function gE(e){if(!Yd(e)||aE(e))return!1;var t=rE(e)?yE:dE;return t.test(uE(e))}var bE=gE;function EE(e,t){return e?.[t]}var vE=EE;function AE(e,t){var r=vE(e,t);return bE(r)?r:void 0}var Xd=AE;function DE(e,t){return e===t||e!==e&&t!==t}var SE=DE,wE=Xd(Object,"create"),Br=wE;function CE(){this.__data__=Br?Br(null):{},this.size=0}var xE=CE;function TE(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var FE=TE,IE="__lodash_hash_undefined__",kE=Object.prototype,RE=kE.hasOwnProperty;function OE(e){var t=this.__data__;if(Br){var r=t[e];return r===IE?void 0:r}return RE.call(t,e)?t[e]:void 0}var _E=OE,BE=Object.prototype,PE=BE.hasOwnProperty;function NE(e){var t=this.__data__;return Br?t[e]!==void 0:PE.call(t,e)}var jE=NE,LE="__lodash_hash_undefined__";function ME(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Br&&t===void 0?LE:t,this}var UE=ME;function lr(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t-1}var XE=YE;function QE(e,t){var r=this.__data__,n=Pn(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var ZE=QE;function ur(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{let t=null,r=!1,n=!1,o=!1,a="";if(e.indexOf("//")>=0||e.indexOf("/*")>=0)for(let i=0;iSv(e).replace(/\n\s*/g,"").trim());gr({sources:{}});var{document:wv}=globalThis;function Cv(e,t){e.channel.emit(Di,t)}Zn.a;var Zd=["h1","h2","h3","h4","h5","h6"],xv=Zd.reduce((e,t)=>({...e,[t]:R(t)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})}),{}),Tv=R.a(()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"})),Fv=({as:e,id:t,children:r,...n})=>{let o=mi(bb),a=xv[e],i=`#${t}`;return f.createElement(a,{id:t,...n},f.createElement(Tv,{"aria-hidden":"true",href:i,tabIndex:-1,target:"_self",onClick:s=>{wv.getElementById(t)&&Cv(o,i)}},f.createElement(es,null)),r)},ep=e=>{let{as:t,id:r,children:n,...o}=e;if(r)return f.createElement(Fv,{as:t,id:r,...o},n);let a=t,{as:i,...s}=e;return f.createElement(a,{...eo(s,t)})};Zd.reduce((e,t)=>({...e,[t]:r=>f.createElement(ep,{as:t,...r})}),{});var Iv=(e=>(e.INFO="info",e.NOTES="notes",e.DOCGEN="docgen",e.AUTO="auto",e))(Iv||{});zt(Sg());R.div(({theme:e})=>({width:"10rem","@media (max-width: 768px)":{display:"none"}}));R.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"}}));R.p(({theme:e})=>({fontWeight:600,fontSize:"0.875em",color:e.textColor,textTransform:"uppercase",marginBottom:10}));var kv=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g,Rv=Object.hasOwnProperty,Ov=class{constructor(){this.occurrences,this.reset()}slug(e,t){let r=this,n=_v(e,t===!0),o=n;for(;Rv.call(r.occurrences,n);)r.occurrences[o]++,n=o+"-"+r.occurrences[o];return r.occurrences[n]=0,n}reset(){this.occurrences=Object.create(null)}};function _v(e,t){return typeof e!="string"?"":(t||(e=e.toLowerCase()),e.replace(kv,"").replace(/ /g,"-"))}var Bv=new Ov,Pv=({children:e,disableAnchor:t,...r})=>{if(t||typeof e!="string")return f.createElement(Wn,null,e);let n=Bv.slug(e.toLowerCase());return f.createElement(ep,{as:"h2",id:n,...r},e)};R(Pv)(({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 Nv=lo({from:{transform:"translateY(40px)"},to:{transform:"translateY(0)"}}),jv=lo({from:{background:"var(--highlight-bg-color)"},to:{}}),Lv=R.div({containerType:"size",position:"sticky",bottom:0,height:39,overflow:"hidden",zIndex:1}),Mv=R(zn)(({theme:e})=>({"--highlight-bg-color":e.base==="dark"?"#153B5B":"#E0F0FF",display:"flex",flexDirection:"row-reverse",alignItems:"center",justifyContent:"space-between",flexWrap:"wrap",gap:6,padding:"6px 10px",animation:`${Nv} 300ms, ${jv} 2s`,background:e.background.bar,borderTop:`1px solid ${e.appBorderColor}`,fontSize:e.typography.size.s2,"@container (max-width: 799px)":{flexDirection:"row",justifyContent:"flex-end"}})),Uv=R.div({display:"flex",flex:"99 0 auto",alignItems:"center",marginLeft:10,gap:6}),$v=R.div(({theme:e})=>({display:"flex",flex:"1 0 0",alignItems:"center",gap:2,color:e.color.mediumdark,fontSize:e.typography.size.s2})),Ra=R.div({"@container (max-width: 799px)":{lineHeight:0,textIndent:"-9999px","&::after":{content:"attr(data-short-label)",display:"block",lineHeight:"initial",textIndent:"0"}}}),qv=R(Ge.Input)(({theme:e})=>({"::placeholder":{color:e.color.mediumdark},"&:invalid:not(:placeholder-shown)":{boxShadow:`${e.color.negative} 0 0 0 1px inset`}})),Vv=({saveStory:e,createStory:t,resetArgs:r})=>{let n=f.useRef(null),[o,a]=f.useState(!1),[i,s]=f.useState(!1),[l,c]=f.useState(""),[p,h]=f.useState(null),d=async()=>{o||(a(!0),await e().catch(()=>{}),a(!1))},y=()=>{s(!0),c(""),setTimeout(()=>n.current?.focus(),0)},g=A=>{let v=A.target.value.replace(/^[^a-z]/i,"").replace(/[^a-z0-9-_ ]/gi,"").replaceAll(/([-_ ]+[a-z0-9])/gi,S=>S.toUpperCase().replace(/[-_ ]/g,""));c(v.charAt(0).toUpperCase()+v.slice(1))};return f.createElement(Lv,{id:"save-from-controls"},f.createElement(Mv,null,f.createElement($v,null,f.createElement(ft,{as:"div",hasChrome:!1,trigger:"hover",tooltip:f.createElement(Tt,{note:"Save changes to story"})},f.createElement(Ke,{"aria-label":"Save changes to story",disabled:o,onClick:d},f.createElement(Wi,null),f.createElement(Ra,{"data-short-label":"Save"},"Update story"))),f.createElement(ft,{as:"div",hasChrome:!1,trigger:"hover",tooltip:f.createElement(Tt,{note:"Create new story with these settings"})},f.createElement(Ke,{"aria-label":"Create new story with these settings",onClick:y},f.createElement(ho,null),f.createElement(Ra,{"data-short-label":"New"},"Create new story"))),f.createElement(ft,{as:"div",hasChrome:!1,trigger:"hover",tooltip:f.createElement(Tt,{note:"Reset changes"})},f.createElement(Ke,{"aria-label":"Reset changes",onClick:()=>r()},f.createElement(mo,null),f.createElement("span",null,"Reset")))),f.createElement(Uv,null,f.createElement(Ra,{"data-short-label":"Unsaved changes"},"You modified this story. Do you want to save your changes?")),f.createElement(Ye,{width:350,open:i,onOpenChange:s},f.createElement(Ge,{onSubmit:async A=>{if(A.preventDefault(),!o)try{h(null),a(!0),await t(l.replace(/^[^a-z]/i,"").replaceAll(/[^a-z0-9]/gi,"")),s(!1),a(!1)}catch(v){h(v.message),a(!1)}},id:"create-new-story-form"},f.createElement(Ye.Content,null,f.createElement(Ye.Header,null,f.createElement(Ye.Title,null,"Create new story"),f.createElement(Ye.Description,null,"This will add a new story to your existing stories file.")),f.createElement(qv,{onChange:g,placeholder:"Story export name",readOnly:o,ref:n,value:l}),f.createElement(Ye.Actions,null,f.createElement(ht,{disabled:o||!l,size:"medium",type:"submit",variant:"solid"},"Create"),f.createElement(Ye.Dialog.Close,{asChild:!0},f.createElement(ht,{disabled:o,size:"medium",type:"reset"},"Cancel"))))),p&&f.createElement(Ye.Error,null,p))))},nd="addon-controls",tp="controls",od=e=>Object.entries(e).reduce((t,[r,n])=>n!==void 0?Object.assign(t,{[r]:n}):t,{}),Jv=R.div({display:"grid",gridTemplateRows:"1fr 39px",height:"100%",maxHeight:"100vh",overflowY:"auto"}),zv=({saveStory:e,createStory:t})=>{let[r,n]=Z(!0),[o,a,i,s]=Mi(),[l]=Ui(),c=so(),{expanded:p,sort:h,presetColors:d,disableSaveFromUI:y=!1}=$i(tp,{}),{path:g,previewInitialized:A}=qi();xe(()=>{A&&n(!1)},[A]);let v=Object.values(c).some(x=>x?.control),S=Object.entries(c).reduce((x,[C,k])=>{let F=k?.control;return typeof F!="object"||F?.type!=="color"||F?.presetColors?x[C]=k:x[C]={...k,control:{...F,presetColors:d}},x},{}),w=pt(()=>!!o&&!!s&&!Ft(od(o),od(s)),[o,s]);return f.createElement(Jv,null,f.createElement(gb,{key:g,compact:!p&&v,rows:S,args:o,globals:l,updateArgs:a,resetArgs:i,inAddonPanel:!0,sort:h,isLoading:r}),v&&w&&dc.CONFIG_TYPE==="DEVELOPMENT"&&y!==!0&&f.createElement(Vv,{resetArgs:i,saveStory:e,createStory:t}))};function Hv(){let e=so(),t=Object.values(e).filter(r=>r?.control&&!r?.table?.disable).length;return f.createElement("div",null,f.createElement(Yn,{col:1},f.createElement("span",{style:{display:"inline-block",verticalAlign:"middle"}},"Controls"),t===0?"":f.createElement(Jn,{status:"neutral"},t)))}var ad=e=>JSON.stringify(e,(t,r)=>typeof r=="function"?"__sb_empty_function_arg__":r);Wr.register(nd,e=>{let t=Wr.getChannel(),r=async()=>{let o=e.getCurrentStoryData();if(o.type!=="story")throw new Error("Not a story");try{let a=await io(t,no,zr,{args:ad(Object.entries(o.args||{}).reduce((i,[s,l])=>(Ft(l,o.initialArgs?.[s])||(i[s]=l),i),{})),csfId:o.id,importPath:o.importPath});e.addNotification({id:"save-story-success",icon:{name:"passed",color:Kr.positive},content:{headline:"Story saved",subHeadline:f.createElement(f.Fragment,null,"Updated story ",f.createElement("b",null,a.sourceStoryName),".")},duration:8e3})}catch(a){throw e.addNotification({id:"save-story-error",icon:{name:"failed",color:Kr.negative},content:{headline:"Failed to save story",subHeadline:a?.message||"Check the Storybook process on the command line for more details."},duration:8e3}),a}},n=async o=>{let a=e.getCurrentStoryData();if(a.type!=="story")throw new Error("Not a story");let i=await io(t,no,zr,{args:a.args&&ad(a.args),csfId:a.id,importPath:a.importPath,name:o});e.addNotification({id:"save-story-success",icon:{name:"passed",color:Kr.positive},content:{headline:"Story created",subHeadline:f.createElement(f.Fragment,null,"Added story ",f.createElement("b",null,i.newStoryName)," based on ",f.createElement("b",null,i.sourceStoryName),".")},duration:8e3,onClick:({onDismiss:s})=>{s(),e.selectStory(i.newStoryId)}})};Wr.add(nd,{title:Hv,type:Li.PANEL,paramKey:tp,render:({active:o})=>!o||!e.getCurrentStoryData()?null:f.createElement(Vn,{active:o},f.createElement(zv,{saveStory:r,createStory:n}))}),t.on(zr,o=>{if(!o.success)return;let a=e.getCurrentStoryData();a.type==="story"&&(e.resetStoryArgs(a),o.payload.newStoryId&&e.selectStory(o.payload.newStoryId))})});})(); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/storybook-static/sb-addons/essentials-docs-3/manager-bundle.js b/storybook-static/sb-addons/essentials-docs-3/manager-bundle.js new file mode 100644 index 0000000..733813e --- /dev/null +++ b/storybook-static/sb-addons/essentials-docs-3/manager-bundle.js @@ -0,0 +1,242 @@ +try{ +(()=>{var Gc=Object.create;var mn=Object.defineProperty;var Wc=Object.getOwnPropertyDescriptor;var Kc=Object.getOwnPropertyNames;var Yc=Object.getPrototypeOf,Xc=Object.prototype.hasOwnProperty;var Ie=(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 ze=(e,t)=>()=>(e&&(t=e(e=0)),t);var Qc=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),fa=(e,t)=>{for(var r in t)mn(e,r,{get:t[r],enumerable:!0})},Zc=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Kc(t))!Xc.call(e,o)&&o!==r&&mn(e,o,{get:()=>t[o],enumerable:!(n=Wc(t,o))||n.enumerable});return e};var ed=(e,t,r)=>(r=e!=null?Gc(Yc(e)):{},Zc(t||!e||!e.__esModule?mn(r,"default",{value:e,enumerable:!0}):r,e));var V=ze(()=>{});var J=ze(()=>{});var H=ze(()=>{});var C,ma,et,d1,p1,h1,f1,td,m1,de,Kt,rd,y1,g1,b1,E1,ya,v1,A1,D1,tt,Dr,S1,w1,rt,C1,x1,T1,ga,Yt,F1,Me,Ue,I1,k1,R1,Xt=ze(()=>{V();J();H();C=__REACT__,{Children:ma,Component:et,Fragment:d1,Profiler:p1,PureComponent:h1,StrictMode:f1,Suspense:td,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:m1,cloneElement:de,createContext:Kt,createElement:rd,createFactory:y1,createRef:g1,forwardRef:b1,isValidElement:E1,lazy:ya,memo:v1,startTransition:A1,unstable_act:D1,useCallback:tt,useContext:Dr,useDebugValue:S1,useDeferredValue:w1,useEffect:rt,useId:C1,useImperativeHandle:x1,useInsertionEffect:T1,useLayoutEffect:ga,useMemo:Yt,useReducer:F1,useRef:Me,useState:Ue,useSyncExternalStore:I1,useTransition:k1,version:R1}=__REACT__});var Ia={};fa(Ia,{A:()=>ad,ActionBar:()=>yn,AddonPanel:()=>gn,Badge:()=>id,Bar:()=>sd,Blockquote:()=>ld,Button:()=>ba,ClipboardCode:()=>ud,Code:()=>Ea,DL:()=>cd,Div:()=>dd,DocumentWrapper:()=>pd,EmptyTabContent:()=>va,ErrorFormatter:()=>Aa,FlexBar:()=>bn,Form:()=>nt,H1:()=>hd,H2:()=>En,H3:()=>Da,H4:()=>fd,H5:()=>md,H6:()=>yd,HR:()=>gd,IconButton:()=>ht,IconButtonSkeleton:()=>bd,Icons:()=>Ed,Img:()=>vd,LI:()=>Ad,Link:()=>Sa,ListItem:()=>Dd,Loader:()=>wa,Modal:()=>Sd,OL:()=>wd,P:()=>Cd,Placeholder:()=>xd,Pre:()=>Td,ProgressSpinner:()=>Fd,ResetWrapper:()=>Ca,ScrollArea:()=>Id,Separator:()=>kd,Spaced:()=>Rd,Span:()=>Od,StorybookIcon:()=>_d,StorybookLogo:()=>Pd,Symbols:()=>Bd,SyntaxHighlighter:()=>vn,TT:()=>Nd,TabBar:()=>jd,TabButton:()=>Ld,TabWrapper:()=>Md,Table:()=>Ud,Tabs:()=>$d,TabsState:()=>xa,TooltipLinkList:()=>qd,TooltipMessage:()=>Vd,TooltipNote:()=>An,UL:()=>Jd,WithTooltip:()=>Sr,WithTooltipPure:()=>Ta,Zoom:()=>Dn,codeCommon:()=>Tt,components:()=>Sn,createCopyToClipboardFunction:()=>Hd,default:()=>od,getStoryHref:()=>Fa,icons:()=>zd,interleaveSeparators:()=>Gd,nameSpaceClassNames:()=>wn,resetComponents:()=>Wd,withReset:()=>Ft});var od,ad,yn,gn,id,sd,ld,ba,ud,Ea,cd,dd,pd,va,Aa,bn,nt,hd,En,Da,fd,md,yd,gd,ht,bd,Ed,vd,Ad,Sa,Dd,wa,Sd,wd,Cd,xd,Td,Fd,Ca,Id,kd,Rd,Od,_d,Pd,Bd,vn,Nd,jd,Ld,Md,Ud,$d,xa,qd,Vd,An,Jd,Sr,Ta,Dn,Tt,Sn,Hd,Fa,zd,Gd,wn,Wd,Ft,Qt=ze(()=>{V();J();H();od=__STORYBOOK_COMPONENTS__,{A:ad,ActionBar:yn,AddonPanel:gn,Badge:id,Bar:sd,Blockquote:ld,Button:ba,ClipboardCode:ud,Code:Ea,DL:cd,Div:dd,DocumentWrapper:pd,EmptyTabContent:va,ErrorFormatter:Aa,FlexBar:bn,Form:nt,H1:hd,H2:En,H3:Da,H4:fd,H5:md,H6:yd,HR:gd,IconButton:ht,IconButtonSkeleton:bd,Icons:Ed,Img:vd,LI:Ad,Link:Sa,ListItem:Dd,Loader:wa,Modal:Sd,OL:wd,P:Cd,Placeholder:xd,Pre:Td,ProgressSpinner:Fd,ResetWrapper:Ca,ScrollArea:Id,Separator:kd,Spaced:Rd,Span:Od,StorybookIcon:_d,StorybookLogo:Pd,Symbols:Bd,SyntaxHighlighter:vn,TT:Nd,TabBar:jd,TabButton:Ld,TabWrapper:Md,Table:Ud,Tabs:$d,TabsState:xa,TooltipLinkList:qd,TooltipMessage:Vd,TooltipNote:An,UL:Jd,WithTooltip:Sr,WithTooltipPure:Ta,Zoom:Dn,codeCommon:Tt,components:Sn,createCopyToClipboardFunction:Hd,getStoryHref:Fa,icons:zd,interleaveSeparators:Gd,nameSpaceClassNames:wn,resetComponents:Wd,withReset:Ft}=__STORYBOOK_COMPONENTS__});var oi=Qc((xr,ni)=>{V();J();H();(function(e,t){typeof xr=="object"&&typeof ni<"u"?t(xr):typeof define=="function"&&define.amd?define(["exports"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.jtpp={}))})(xr,function(e){"use strict";function t(s){return s.text!==void 0&&s.text!==""?`'${s.type}' with value '${s.text}'`:`'${s.type}'`}class r extends Error{constructor(f){super(`No parslet found for token: ${t(f)}`),this.token=f,Object.setPrototypeOf(this,r.prototype)}getToken(){return this.token}}class n extends Error{constructor(f){super(`The parsing ended early. The next token was: ${t(f)}`),this.token=f,Object.setPrototypeOf(this,n.prototype)}getToken(){return this.token}}class o extends Error{constructor(f,g){let T=`Unexpected type: '${f.type}'.`;g!==void 0&&(T+=` Message: ${g}`),super(T),Object.setPrototypeOf(this,o.prototype)}}function i(s){return f=>f.startsWith(s)?{type:s,text:s}:null}function a(s){let f=0,g,T=s[0],B=!1;if(T!=="'"&&T!=='"')return null;for(;f{let f=c(s);return f==null?null:{type:"Identifier",text:f}};function y(s){return f=>{if(!f.startsWith(s))return null;let g=f[s.length];return g!==void 0&&u.test(g)?null:{type:s,text:s}}}let E=s=>{let f=a(s);return f==null?null:{type:"StringValue",text:f}},v=s=>s.length>0?null:{type:"EOF",text:""},A=s=>{let f=p(s);return f===null?null:{type:"Number",text:f}},D=[v,i("=>"),i("("),i(")"),i("{"),i("}"),i("["),i("]"),i("|"),i("&"),i("<"),i(">"),i(","),i(";"),i("*"),i("?"),i("!"),i("="),i(":"),i("..."),i("."),i("#"),i("~"),i("/"),i("@"),y("undefined"),y("null"),y("function"),y("this"),y("new"),y("module"),y("event"),y("external"),y("typeof"),y("keyof"),y("readonly"),y("import"),y("is"),y("in"),y("asserts"),A,h,E],S=/^\s*\n\s*/;class F{static create(f){let g=this.read(f);f=g.text;let T=this.read(f);return f=T.text,new F(f,void 0,g.token,T.token)}constructor(f,g,T,B){this.text="",this.text=f,this.previous=g,this.current=T,this.next=B}static read(f,g=!1){g=g||S.test(f),f=f.trim();for(let T of D){let B=T(f);if(B!==null){let q=Object.assign(Object.assign({},B),{startOfLine:g});return f=f.slice(q.text.length),{text:f,token:q}}}throw new Error("Unexpected Token "+f)}advance(){let f=F.read(this.text);return new F(f.text,this.current,this.next,f.token)}}function x(s){if(s===void 0)throw new Error("Unexpected undefined");if(s.type==="JsdocTypeKeyValue"||s.type==="JsdocTypeParameterList"||s.type==="JsdocTypeProperty"||s.type==="JsdocTypeReadonlyProperty"||s.type==="JsdocTypeObjectField"||s.type==="JsdocTypeJsdocObjectField"||s.type==="JsdocTypeIndexSignature"||s.type==="JsdocTypeMappedType")throw new o(s);return s}function O(s){return s.type==="JsdocTypeKeyValue"?N(s):x(s)}function R(s){return s.type==="JsdocTypeName"?s:N(s)}function N(s){if(s.type!=="JsdocTypeKeyValue")throw new o(s);return s}function j(s){var f;if(s.type==="JsdocTypeVariadic"){if(((f=s.element)===null||f===void 0?void 0:f.type)==="JsdocTypeName")return s;throw new o(s)}if(s.type!=="JsdocTypeNumber"&&s.type!=="JsdocTypeName")throw new o(s);return s}function U(s){return s.type==="JsdocTypeIndexSignature"||s.type==="JsdocTypeMappedType"}var P;(function(s){s[s.ALL=0]="ALL",s[s.PARAMETER_LIST=1]="PARAMETER_LIST",s[s.OBJECT=2]="OBJECT",s[s.KEY_VALUE=3]="KEY_VALUE",s[s.INDEX_BRACKETS=4]="INDEX_BRACKETS",s[s.UNION=5]="UNION",s[s.INTERSECTION=6]="INTERSECTION",s[s.PREFIX=7]="PREFIX",s[s.INFIX=8]="INFIX",s[s.TUPLE=9]="TUPLE",s[s.SYMBOL=10]="SYMBOL",s[s.OPTIONAL=11]="OPTIONAL",s[s.NULLABLE=12]="NULLABLE",s[s.KEY_OF_TYPE_OF=13]="KEY_OF_TYPE_OF",s[s.FUNCTION=14]="FUNCTION",s[s.ARROW=15]="ARROW",s[s.ARRAY_BRACKETS=16]="ARRAY_BRACKETS",s[s.GENERIC=17]="GENERIC",s[s.NAME_PATH=18]="NAME_PATH",s[s.PARENTHESIS=19]="PARENTHESIS",s[s.SPECIAL_TYPES=20]="SPECIAL_TYPES"})(P||(P={}));class K{constructor(f,g,T){this.grammar=f,typeof g=="string"?this._lexer=F.create(g):this._lexer=g,this.baseParser=T}get lexer(){return this._lexer}parse(){let f=this.parseType(P.ALL);if(this.lexer.current.type!=="EOF")throw new n(this.lexer.current);return f}parseType(f){return x(this.parseIntermediateType(f))}parseIntermediateType(f){let g=this.tryParslets(null,f);if(g===null)throw new r(this.lexer.current);return this.parseInfixIntermediateType(g,f)}parseInfixIntermediateType(f,g){let T=this.tryParslets(f,g);for(;T!==null;)f=T,T=this.tryParslets(f,g);return f}tryParslets(f,g){for(let T of this.grammar){let B=T(this,g,f);if(B!==null)return B}return null}consume(f){return Array.isArray(f)||(f=[f]),f.includes(this.lexer.current.type)?(this._lexer=this.lexer.advance(),!0):!1}acceptLexerState(f){this._lexer=f.lexer}}function L(s){return s==="EOF"||s==="|"||s===","||s===")"||s===">"}let z=(s,f,g)=>{let T=s.lexer.current.type,B=s.lexer.next.type;return g==null&&T==="?"&&!L(B)||g!=null&&T==="?"?(s.consume("?"),g==null?{type:"JsdocTypeNullable",element:s.parseType(P.NULLABLE),meta:{position:"prefix"}}:{type:"JsdocTypeNullable",element:x(g),meta:{position:"suffix"}}):null};function b(s){let f=(g,T,B)=>{let q=g.lexer.current.type,W=g.lexer.next.type;if(B===null){if("parsePrefix"in s&&s.accept(q,W))return s.parsePrefix(g)}else if("parseInfix"in s&&s.precedence>T&&s.accept(q,W))return s.parseInfix(g,B);return null};return Object.defineProperty(f,"name",{value:s.name}),f}let w=b({name:"optionalParslet",accept:s=>s==="=",precedence:P.OPTIONAL,parsePrefix:s=>(s.consume("="),{type:"JsdocTypeOptional",element:s.parseType(P.OPTIONAL),meta:{position:"prefix"}}),parseInfix:(s,f)=>(s.consume("="),{type:"JsdocTypeOptional",element:x(f),meta:{position:"suffix"}})}),I=b({name:"numberParslet",accept:s=>s==="Number",parsePrefix:s=>{let f=parseFloat(s.lexer.current.text);return s.consume("Number"),{type:"JsdocTypeNumber",value:f}}}),M=b({name:"parenthesisParslet",accept:s=>s==="(",parsePrefix:s=>{if(s.consume("("),s.consume(")"))return{type:"JsdocTypeParameterList",elements:[]};let f=s.parseIntermediateType(P.ALL);if(!s.consume(")"))throw new Error("Unterminated parenthesis");return f.type==="JsdocTypeParameterList"?f:f.type==="JsdocTypeKeyValue"?{type:"JsdocTypeParameterList",elements:[f]}:{type:"JsdocTypeParenthesis",element:x(f)}}}),$=b({name:"specialTypesParslet",accept:(s,f)=>s==="?"&&L(f)||s==="null"||s==="undefined"||s==="*",parsePrefix:s=>{if(s.consume("null"))return{type:"JsdocTypeNull"};if(s.consume("undefined"))return{type:"JsdocTypeUndefined"};if(s.consume("*"))return{type:"JsdocTypeAny"};if(s.consume("?"))return{type:"JsdocTypeUnknown"};throw new Error("Unacceptable token: "+s.lexer.current.text)}}),Y=b({name:"notNullableParslet",accept:s=>s==="!",precedence:P.NULLABLE,parsePrefix:s=>(s.consume("!"),{type:"JsdocTypeNotNullable",element:s.parseType(P.NULLABLE),meta:{position:"prefix"}}),parseInfix:(s,f)=>(s.consume("!"),{type:"JsdocTypeNotNullable",element:x(f),meta:{position:"suffix"}})});function re({allowTrailingComma:s}){return b({name:"parameterListParslet",accept:f=>f===",",precedence:P.PARAMETER_LIST,parseInfix:(f,g)=>{let T=[O(g)];f.consume(",");do try{let B=f.parseIntermediateType(P.PARAMETER_LIST);T.push(O(B))}catch(B){if(s&&B instanceof r)break;throw B}while(f.consume(","));if(T.length>0&&T.slice(0,-1).some(B=>B.type==="JsdocTypeVariadic"))throw new Error("Only the last parameter may be a rest parameter");return{type:"JsdocTypeParameterList",elements:T}}})}let Z=b({name:"genericParslet",accept:(s,f)=>s==="<"||s==="."&&f==="<",precedence:P.GENERIC,parseInfix:(s,f)=>{let g=s.consume(".");s.consume("<");let T=[];do T.push(s.parseType(P.PARAMETER_LIST));while(s.consume(","));if(!s.consume(">"))throw new Error("Unterminated generic parameter list");return{type:"JsdocTypeGeneric",left:x(f),elements:T,meta:{brackets:"angle",dot:g}}}}),X=b({name:"unionParslet",accept:s=>s==="|",precedence:P.UNION,parseInfix:(s,f)=>{s.consume("|");let g=[];do g.push(s.parseType(P.UNION));while(s.consume("|"));return{type:"JsdocTypeUnion",elements:[x(f),...g]}}}),ee=[z,w,I,M,$,Y,re({allowTrailingComma:!0}),Z,X,w];function ge({allowSquareBracketsOnAnyType:s,allowJsdocNamePaths:f,pathGrammar:g}){return function(B,q,W){if(W==null||q>=P.NAME_PATH)return null;let te=B.lexer.current.type,Ce=B.lexer.next.type;if(!(te==="."&&Ce!=="<"||te==="["&&(s||W.type==="JsdocTypeName")||f&&(te==="~"||te==="#")))return null;let _e,Ar=!1;B.consume(".")?_e="property":B.consume("[")?(_e="property-brackets",Ar=!0):B.consume("~")?_e="inner":(B.consume("#"),_e="instance");let pa=g!==null?new K(g,B.lexer,B):B,He=pa.parseIntermediateType(P.NAME_PATH);B.acceptLexerState(pa);let Wt;switch(He.type){case"JsdocTypeName":Wt={type:"JsdocTypeProperty",value:He.value,meta:{quote:void 0}};break;case"JsdocTypeNumber":Wt={type:"JsdocTypeProperty",value:He.value.toString(10),meta:{quote:void 0}};break;case"JsdocTypeStringValue":Wt={type:"JsdocTypeProperty",value:He.value,meta:{quote:He.meta.quote}};break;case"JsdocTypeSpecialNamePath":if(He.specialType==="event")Wt=He;else throw new o(He,"Type 'JsdocTypeSpecialNamePath' is only allowed with specialType 'event'");break;default:throw new o(He,"Expecting 'JsdocTypeName', 'JsdocTypeNumber', 'JsdocStringValue' or 'JsdocTypeSpecialNamePath'")}if(Ar&&!B.consume("]")){let ha=B.lexer.current;throw new Error(`Unterminated square brackets. Next token is '${ha.type}' with text '${ha.text}'`)}return{type:"JsdocTypeNamePath",left:x(W),right:Wt,pathType:_e}}}function ue({allowedAdditionalTokens:s}){return b({name:"nameParslet",accept:f=>f==="Identifier"||f==="this"||f==="new"||s.includes(f),parsePrefix:f=>{let{type:g,text:T}=f.lexer.current;return f.consume(g),{type:"JsdocTypeName",value:T}}})}let Se=b({name:"stringValueParslet",accept:s=>s==="StringValue",parsePrefix:s=>{let f=s.lexer.current.text;return s.consume("StringValue"),{type:"JsdocTypeStringValue",value:f.slice(1,-1),meta:{quote:f[0]==="'"?"single":"double"}}}});function ne({pathGrammar:s,allowedTypes:f}){return b({name:"specialNamePathParslet",accept:g=>f.includes(g),parsePrefix:g=>{let T=g.lexer.current.type;if(g.consume(T),!g.consume(":"))return{type:"JsdocTypeName",value:T};let B,q=g.lexer.current;if(g.consume("StringValue"))B={type:"JsdocTypeSpecialNamePath",value:q.text.slice(1,-1),specialType:T,meta:{quote:q.text[0]==="'"?"single":"double"}};else{let Ce="",Ae=["Identifier","@","/"];for(;Ae.some(_e=>g.consume(_e));)Ce+=q.text,q=g.lexer.current;B={type:"JsdocTypeSpecialNamePath",value:Ce,specialType:T,meta:{quote:void 0}}}let W=new K(s,g.lexer,g),te=W.parseInfixIntermediateType(B,P.ALL);return g.acceptLexerState(W),x(te)}})}let je=[ue({allowedAdditionalTokens:["external","module"]}),Se,I,ge({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:null})],Re=[...je,ne({allowedTypes:["event"],pathGrammar:je})];function Je(s){let f;if(s.type==="JsdocTypeParameterList")f=s.elements;else if(s.type==="JsdocTypeParenthesis")f=[s.element];else throw new o(s);return f.map(g=>O(g))}function Ht(s){let f=Je(s);if(f.some(g=>g.type==="JsdocTypeKeyValue"))throw new Error("No parameter should be named");return f}function Ct({allowNamedParameters:s,allowNoReturnType:f,allowWithoutParenthesis:g,allowNewAsFunctionKeyword:T}){return b({name:"functionParslet",accept:(B,q)=>B==="function"||T&&B==="new"&&q==="(",parsePrefix:B=>{let q=B.consume("new");B.consume("function");let W=B.lexer.current.type==="(";if(!W){if(!g)throw new Error("function is missing parameter list");return{type:"JsdocTypeName",value:"function"}}let te={type:"JsdocTypeFunction",parameters:[],arrow:!1,constructor:q,parenthesis:W},Ce=B.parseIntermediateType(P.FUNCTION);if(s===void 0)te.parameters=Ht(Ce);else{if(q&&Ce.type==="JsdocTypeFunction"&&Ce.arrow)return te=Ce,te.constructor=!0,te;te.parameters=Je(Ce);for(let Ae of te.parameters)if(Ae.type==="JsdocTypeKeyValue"&&!s.includes(Ae.key))throw new Error(`only allowed named parameters are ${s.join(", ")} but got ${Ae.type}`)}if(B.consume(":"))te.returnType=B.parseType(P.PREFIX);else if(!f)throw new Error("function is missing return type");return te}})}function zt({allowPostfix:s,allowEnclosingBrackets:f}){return b({name:"variadicParslet",accept:g=>g==="...",precedence:P.PREFIX,parsePrefix:g=>{g.consume("...");let T=f&&g.consume("[");try{let B=g.parseType(P.PREFIX);if(T&&!g.consume("]"))throw new Error("Unterminated variadic type. Missing ']'");return{type:"JsdocTypeVariadic",element:x(B),meta:{position:"prefix",squareBrackets:T}}}catch(B){if(B instanceof r){if(T)throw new Error("Empty square brackets for variadic are not allowed.");return{type:"JsdocTypeVariadic",meta:{position:void 0,squareBrackets:!1}}}else throw B}},parseInfix:s?(g,T)=>(g.consume("..."),{type:"JsdocTypeVariadic",element:x(T),meta:{position:"suffix",squareBrackets:!1}}):void 0})}let br=b({name:"symbolParslet",accept:s=>s==="(",precedence:P.SYMBOL,parseInfix:(s,f)=>{if(f.type!=="JsdocTypeName")throw new Error("Symbol expects a name on the left side. (Reacting on '(')");s.consume("(");let g={type:"JsdocTypeSymbol",value:f.value};if(!s.consume(")")){let T=s.parseIntermediateType(P.SYMBOL);if(g.element=j(T),!s.consume(")"))throw new Error("Symbol does not end after value")}return g}}),Fe=b({name:"arrayBracketsParslet",precedence:P.ARRAY_BRACKETS,accept:(s,f)=>s==="["&&f==="]",parseInfix:(s,f)=>(s.consume("["),s.consume("]"),{type:"JsdocTypeGeneric",left:{type:"JsdocTypeName",value:"Array"},elements:[x(f)],meta:{brackets:"square",dot:!1}})});function Te({objectFieldGrammar:s,allowKeyTypes:f}){return b({name:"objectParslet",accept:g=>g==="{",parsePrefix:g=>{g.consume("{");let T={type:"JsdocTypeObject",meta:{separator:"comma"},elements:[]};if(!g.consume("}")){let B,q=new K(s,g.lexer,g);for(;;){q.acceptLexerState(g);let W=q.parseIntermediateType(P.OBJECT);g.acceptLexerState(q),W===void 0&&f&&(W=g.parseIntermediateType(P.OBJECT));let te=!1;if(W.type==="JsdocTypeNullable"&&(te=!0,W=W.element),W.type==="JsdocTypeNumber"||W.type==="JsdocTypeName"||W.type==="JsdocTypeStringValue"){let Ae;W.type==="JsdocTypeStringValue"&&(Ae=W.meta.quote),T.elements.push({type:"JsdocTypeObjectField",key:W.value.toString(),right:void 0,optional:te,readonly:!1,meta:{quote:Ae}})}else if(W.type==="JsdocTypeObjectField"||W.type==="JsdocTypeJsdocObjectField")T.elements.push(W);else throw new o(W);if(g.lexer.current.startOfLine)B="linebreak";else if(g.consume(","))B="comma";else if(g.consume(";"))B="semicolon";else break;if(g.lexer.current.type==="}")break}if(T.meta.separator=B??"comma",!g.consume("}"))throw new Error("Unterminated record type. Missing '}'")}return T}})}function Xe({allowSquaredProperties:s,allowKeyTypes:f,allowReadonly:g,allowOptional:T}){return b({name:"objectFieldParslet",precedence:P.KEY_VALUE,accept:B=>B===":",parseInfix:(B,q)=>{var W;let te=!1,Ce=!1;T&&q.type==="JsdocTypeNullable"&&(te=!0,q=q.element),g&&q.type==="JsdocTypeReadonlyProperty"&&(Ce=!0,q=q.element);let Ae=(W=B.baseParser)!==null&&W!==void 0?W:B;if(Ae.acceptLexerState(B),q.type==="JsdocTypeNumber"||q.type==="JsdocTypeName"||q.type==="JsdocTypeStringValue"||U(q)){if(U(q)&&!s)throw new o(q);Ae.consume(":");let _e;q.type==="JsdocTypeStringValue"&&(_e=q.meta.quote);let Ar=Ae.parseType(P.KEY_VALUE);return B.acceptLexerState(Ae),{type:"JsdocTypeObjectField",key:U(q)?q:q.value.toString(),right:Ar,optional:te,readonly:Ce,meta:{quote:_e}}}else{if(!f)throw new o(q);Ae.consume(":");let _e=Ae.parseType(P.KEY_VALUE);return B.acceptLexerState(Ae),{type:"JsdocTypeJsdocObjectField",left:x(q),right:_e}}}})}function xt({allowOptional:s,allowVariadic:f}){return b({name:"keyValueParslet",precedence:P.KEY_VALUE,accept:g=>g===":",parseInfix:(g,T)=>{let B=!1,q=!1;if(s&&T.type==="JsdocTypeNullable"&&(B=!0,T=T.element),f&&T.type==="JsdocTypeVariadic"&&T.element!==void 0&&(q=!0,T=T.element),T.type!=="JsdocTypeName")throw new o(T);g.consume(":");let W=g.parseType(P.KEY_VALUE);return{type:"JsdocTypeKeyValue",key:T.value,right:W,optional:B,variadic:q}}})}let Er=[...ee,Ct({allowWithoutParenthesis:!0,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),Se,ne({allowedTypes:["module","external","event"],pathGrammar:Re}),zt({allowEnclosingBrackets:!0,allowPostfix:!0}),ue({allowedAdditionalTokens:["keyof"]}),br,Fe,ge({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:Re})],pn=[...Er,Te({objectFieldGrammar:[ue({allowedAdditionalTokens:["module","in"]}),Xe({allowSquaredProperties:!1,allowKeyTypes:!0,allowOptional:!1,allowReadonly:!1}),...Er],allowKeyTypes:!0}),xt({allowOptional:!0,allowVariadic:!0})],sa=b({name:"typeOfParslet",accept:s=>s==="typeof",parsePrefix:s=>(s.consume("typeof"),{type:"JsdocTypeTypeof",element:x(s.parseType(P.KEY_OF_TYPE_OF))})}),Sc=[ue({allowedAdditionalTokens:["module","keyof","event","external","in"]}),z,w,Se,I,Xe({allowSquaredProperties:!1,allowKeyTypes:!1,allowOptional:!1,allowReadonly:!1})],wc=[...ee,Te({allowKeyTypes:!1,objectFieldGrammar:Sc}),ue({allowedAdditionalTokens:["event","external","in"]}),sa,Ct({allowWithoutParenthesis:!1,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),zt({allowEnclosingBrackets:!1,allowPostfix:!1}),ue({allowedAdditionalTokens:["keyof"]}),ne({allowedTypes:["module"],pathGrammar:Re}),ge({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:Re}),xt({allowOptional:!1,allowVariadic:!1}),br],Cc=b({name:"assertsParslet",accept:s=>s==="asserts",parsePrefix:s=>{s.consume("asserts");let f=s.parseIntermediateType(P.SYMBOL);if(f.type!=="JsdocTypeName")throw new o(f,"A typescript asserts always has to have a name on the left side.");return s.consume("is"),{type:"JsdocTypeAsserts",left:f,right:x(s.parseIntermediateType(P.INFIX))}}});function xc({allowQuestionMark:s}){return b({name:"tupleParslet",accept:f=>f==="[",parsePrefix:f=>{f.consume("[");let g={type:"JsdocTypeTuple",elements:[]};if(f.consume("]"))return g;let T=f.parseIntermediateType(P.ALL);if(T.type==="JsdocTypeParameterList"?T.elements[0].type==="JsdocTypeKeyValue"?g.elements=T.elements.map(N):g.elements=T.elements.map(x):T.type==="JsdocTypeKeyValue"?g.elements=[N(T)]:g.elements=[x(T)],!f.consume("]"))throw new Error("Unterminated '['");if(!s&&g.elements.some(B=>B.type==="JsdocTypeUnknown"))throw new Error("Question mark in tuple not allowed");return g}})}let Tc=b({name:"keyOfParslet",accept:s=>s==="keyof",parsePrefix:s=>(s.consume("keyof"),{type:"JsdocTypeKeyof",element:x(s.parseType(P.KEY_OF_TYPE_OF))})}),Fc=b({name:"importParslet",accept:s=>s==="import",parsePrefix:s=>{if(s.consume("import"),!s.consume("("))throw new Error("Missing parenthesis after import keyword");let f=s.parseType(P.PREFIX);if(f.type!=="JsdocTypeStringValue")throw new Error("Only string values are allowed as paths for imports");if(!s.consume(")"))throw new Error("Missing closing parenthesis after import keyword");return{type:"JsdocTypeImport",element:f}}}),Ic=b({name:"readonlyPropertyParslet",accept:s=>s==="readonly",parsePrefix:s=>(s.consume("readonly"),{type:"JsdocTypeReadonlyProperty",element:s.parseType(P.KEY_VALUE)})}),kc=b({name:"arrowFunctionParslet",precedence:P.ARROW,accept:s=>s==="=>",parseInfix:(s,f)=>(s.consume("=>"),{type:"JsdocTypeFunction",parameters:Je(f).map(R),arrow:!0,constructor:!1,parenthesis:!0,returnType:s.parseType(P.OBJECT)})}),Rc=b({name:"intersectionParslet",accept:s=>s==="&",precedence:P.INTERSECTION,parseInfix:(s,f)=>{s.consume("&");let g=[];do g.push(s.parseType(P.INTERSECTION));while(s.consume("&"));return{type:"JsdocTypeIntersection",elements:[x(f),...g]}}}),Oc=b({name:"predicateParslet",precedence:P.INFIX,accept:s=>s==="is",parseInfix:(s,f)=>{if(f.type!=="JsdocTypeName")throw new o(f,"A typescript predicate always has to have a name on the left side.");return s.consume("is"),{type:"JsdocTypePredicate",left:f,right:x(s.parseIntermediateType(P.INFIX))}}}),_c=b({name:"objectSquareBracketPropertyParslet",accept:s=>s==="[",parsePrefix:s=>{if(s.baseParser===void 0)throw new Error("Only allowed inside object grammar");s.consume("[");let f=s.lexer.current.text;s.consume("Identifier");let g;if(s.consume(":")){let T=s.baseParser;T.acceptLexerState(s),g={type:"JsdocTypeIndexSignature",key:f,right:T.parseType(P.INDEX_BRACKETS)},s.acceptLexerState(T)}else if(s.consume("in")){let T=s.baseParser;T.acceptLexerState(s),g={type:"JsdocTypeMappedType",key:f,right:T.parseType(P.ARRAY_BRACKETS)},s.acceptLexerState(T)}else throw new Error("Missing ':' or 'in' inside square bracketed property.");if(!s.consume("]"))throw new Error("Unterminated square brackets");return g}}),Pc=[Ic,ue({allowedAdditionalTokens:["module","event","keyof","event","external","in"]}),z,w,Se,I,Xe({allowSquaredProperties:!0,allowKeyTypes:!1,allowOptional:!0,allowReadonly:!0}),_c],Bc=[...ee,Te({allowKeyTypes:!1,objectFieldGrammar:Pc}),sa,Tc,Fc,Se,Ct({allowWithoutParenthesis:!0,allowNoReturnType:!1,allowNamedParameters:["this","new","args"],allowNewAsFunctionKeyword:!0}),xc({allowQuestionMark:!1}),zt({allowEnclosingBrackets:!1,allowPostfix:!1}),Cc,ue({allowedAdditionalTokens:["event","external","in"]}),ne({allowedTypes:["module"],pathGrammar:Re}),Fe,kc,ge({allowSquareBracketsOnAnyType:!0,allowJsdocNamePaths:!1,pathGrammar:Re}),Rc,Oc,xt({allowVariadic:!0,allowOptional:!0})];function la(s,f){switch(f){case"closure":return new K(wc,s).parse();case"jsdoc":return new K(pn,s).parse();case"typescript":return new K(Bc,s).parse()}}function Nc(s,f=["typescript","closure","jsdoc"]){let g;for(let T of f)try{return la(s,T)}catch(B){g=B}throw g}function Gt(s,f){let g=s[f.type];if(g===void 0)throw new Error(`In this set of transform rules exists no rule for type ${f.type}.`);return g(f,T=>Gt(s,T))}function we(s){throw new Error("This transform is not available. Are you trying the correct parsing mode?")}function ua(s){let f={params:[]};for(let g of s.parameters)g.type==="JsdocTypeKeyValue"?g.key==="this"?f.this=g.right:g.key==="new"?f.new=g.right:f.params.push(g):f.params.push(g);return f}function vr(s,f,g){return s==="prefix"?g+f:f+g}function Qe(s,f){switch(f){case"double":return`"${s}"`;case"single":return`'${s}'`;case void 0:return s}}function ca(){return{JsdocTypeParenthesis:(s,f)=>`(${s.element!==void 0?f(s.element):""})`,JsdocTypeKeyof:(s,f)=>`keyof ${f(s.element)}`,JsdocTypeFunction:(s,f)=>{if(s.arrow){if(s.returnType===void 0)throw new Error("Arrow function needs a return type.");let g=`(${s.parameters.map(f).join(", ")}) => ${f(s.returnType)}`;return s.constructor&&(g="new "+g),g}else{let g=s.constructor?"new":"function";return s.parenthesis&&(g+=`(${s.parameters.map(f).join(", ")})`,s.returnType!==void 0&&(g+=`: ${f(s.returnType)}`)),g}},JsdocTypeName:s=>s.value,JsdocTypeTuple:(s,f)=>`[${s.elements.map(f).join(", ")}]`,JsdocTypeVariadic:(s,f)=>s.meta.position===void 0?"...":vr(s.meta.position,f(s.element),"..."),JsdocTypeNamePath:(s,f)=>{let g=f(s.left),T=f(s.right);switch(s.pathType){case"inner":return`${g}~${T}`;case"instance":return`${g}#${T}`;case"property":return`${g}.${T}`;case"property-brackets":return`${g}[${T}]`}},JsdocTypeStringValue:s=>Qe(s.value,s.meta.quote),JsdocTypeAny:()=>"*",JsdocTypeGeneric:(s,f)=>{if(s.meta.brackets==="square"){let g=s.elements[0],T=f(g);return g.type==="JsdocTypeUnion"||g.type==="JsdocTypeIntersection"?`(${T})[]`:`${T}[]`}else return`${f(s.left)}${s.meta.dot?".":""}<${s.elements.map(f).join(", ")}>`},JsdocTypeImport:(s,f)=>`import(${f(s.element)})`,JsdocTypeObjectField:(s,f)=>{let g="";return s.readonly&&(g+="readonly "),typeof s.key=="string"?g+=Qe(s.key,s.meta.quote):g+=f(s.key),s.optional&&(g+="?"),s.right===void 0?g:g+`: ${f(s.right)}`},JsdocTypeJsdocObjectField:(s,f)=>`${f(s.left)}: ${f(s.right)}`,JsdocTypeKeyValue:(s,f)=>{let g=s.key;return s.optional&&(g+="?"),s.variadic&&(g="..."+g),s.right===void 0?g:g+`: ${f(s.right)}`},JsdocTypeSpecialNamePath:s=>`${s.specialType}:${Qe(s.value,s.meta.quote)}`,JsdocTypeNotNullable:(s,f)=>vr(s.meta.position,f(s.element),"!"),JsdocTypeNull:()=>"null",JsdocTypeNullable:(s,f)=>vr(s.meta.position,f(s.element),"?"),JsdocTypeNumber:s=>s.value.toString(),JsdocTypeObject:(s,f)=>`{${s.elements.map(f).join((s.meta.separator==="comma"?",":";")+" ")}}`,JsdocTypeOptional:(s,f)=>vr(s.meta.position,f(s.element),"="),JsdocTypeSymbol:(s,f)=>`${s.value}(${s.element!==void 0?f(s.element):""})`,JsdocTypeTypeof:(s,f)=>`typeof ${f(s.element)}`,JsdocTypeUndefined:()=>"undefined",JsdocTypeUnion:(s,f)=>s.elements.map(f).join(" | "),JsdocTypeUnknown:()=>"?",JsdocTypeIntersection:(s,f)=>s.elements.map(f).join(" & "),JsdocTypeProperty:s=>Qe(s.value,s.meta.quote),JsdocTypePredicate:(s,f)=>`${f(s.left)} is ${f(s.right)}`,JsdocTypeIndexSignature:(s,f)=>`[${s.key}: ${f(s.right)}]`,JsdocTypeMappedType:(s,f)=>`[${s.key} in ${f(s.right)}]`,JsdocTypeAsserts:(s,f)=>`asserts ${f(s.left)} is ${f(s.right)}`}}let jc=ca();function Lc(s){return Gt(jc,s)}let Mc=["null","true","false","break","case","catch","class","const","continue","debugger","default","delete","do","else","export","extends","finally","for","function","if","import","in","instanceof","new","return","super","switch","this","throw","try","typeof","var","void","while","with","yield"];function Ze(s){let f={type:"NameExpression",name:s};return Mc.includes(s)&&(f.reservedWord=!0),f}let Uc={JsdocTypeOptional:(s,f)=>{let g=f(s.element);return g.optional=!0,g},JsdocTypeNullable:(s,f)=>{let g=f(s.element);return g.nullable=!0,g},JsdocTypeNotNullable:(s,f)=>{let g=f(s.element);return g.nullable=!1,g},JsdocTypeVariadic:(s,f)=>{if(s.element===void 0)throw new Error("dots without value are not allowed in catharsis mode");let g=f(s.element);return g.repeatable=!0,g},JsdocTypeAny:()=>({type:"AllLiteral"}),JsdocTypeNull:()=>({type:"NullLiteral"}),JsdocTypeStringValue:s=>Ze(Qe(s.value,s.meta.quote)),JsdocTypeUndefined:()=>({type:"UndefinedLiteral"}),JsdocTypeUnknown:()=>({type:"UnknownLiteral"}),JsdocTypeFunction:(s,f)=>{let g=ua(s),T={type:"FunctionType",params:g.params.map(f)};return g.this!==void 0&&(T.this=f(g.this)),g.new!==void 0&&(T.new=f(g.new)),s.returnType!==void 0&&(T.result=f(s.returnType)),T},JsdocTypeGeneric:(s,f)=>({type:"TypeApplication",applications:s.elements.map(g=>f(g)),expression:f(s.left)}),JsdocTypeSpecialNamePath:s=>Ze(s.specialType+":"+Qe(s.value,s.meta.quote)),JsdocTypeName:s=>s.value!=="function"?Ze(s.value):{type:"FunctionType",params:[]},JsdocTypeNumber:s=>Ze(s.value.toString()),JsdocTypeObject:(s,f)=>{let g={type:"RecordType",fields:[]};for(let T of s.elements)T.type!=="JsdocTypeObjectField"&&T.type!=="JsdocTypeJsdocObjectField"?g.fields.push({type:"FieldType",key:f(T),value:void 0}):g.fields.push(f(T));return g},JsdocTypeObjectField:(s,f)=>{if(typeof s.key!="string")throw new Error("Index signatures and mapped types are not supported");return{type:"FieldType",key:Ze(Qe(s.key,s.meta.quote)),value:s.right===void 0?void 0:f(s.right)}},JsdocTypeJsdocObjectField:(s,f)=>({type:"FieldType",key:f(s.left),value:f(s.right)}),JsdocTypeUnion:(s,f)=>({type:"TypeUnion",elements:s.elements.map(g=>f(g))}),JsdocTypeKeyValue:(s,f)=>({type:"FieldType",key:Ze(s.key),value:s.right===void 0?void 0:f(s.right)}),JsdocTypeNamePath:(s,f)=>{let g=f(s.left),T;s.right.type==="JsdocTypeSpecialNamePath"?T=f(s.right).name:T=Qe(s.right.value,s.right.meta.quote);let B=s.pathType==="inner"?"~":s.pathType==="instance"?"#":".";return Ze(`${g.name}${B}${T}`)},JsdocTypeSymbol:s=>{let f="",g=s.element,T=!1;return g?.type==="JsdocTypeVariadic"&&(g.meta.position==="prefix"?f="...":T=!0,g=g.element),g?.type==="JsdocTypeName"?f+=g.value:g?.type==="JsdocTypeNumber"&&(f+=g.value.toString()),T&&(f+="..."),Ze(`${s.value}(${f})`)},JsdocTypeParenthesis:(s,f)=>f(x(s.element)),JsdocTypeMappedType:we,JsdocTypeIndexSignature:we,JsdocTypeImport:we,JsdocTypeKeyof:we,JsdocTypeTuple:we,JsdocTypeTypeof:we,JsdocTypeIntersection:we,JsdocTypeProperty:we,JsdocTypePredicate:we,JsdocTypeAsserts:we};function $c(s){return Gt(Uc,s)}function pt(s){switch(s){case void 0:return"none";case"single":return"single";case"double":return"double"}}function qc(s){switch(s){case"inner":return"INNER_MEMBER";case"instance":return"INSTANCE_MEMBER";case"property":return"MEMBER";case"property-brackets":return"MEMBER"}}function hn(s,f){return f.length===2?{type:s,left:f[0],right:f[1]}:{type:s,left:f[0],right:hn(s,f.slice(1))}}let Vc={JsdocTypeOptional:(s,f)=>({type:"OPTIONAL",value:f(s.element),meta:{syntax:s.meta.position==="prefix"?"PREFIX_EQUAL_SIGN":"SUFFIX_EQUALS_SIGN"}}),JsdocTypeNullable:(s,f)=>({type:"NULLABLE",value:f(s.element),meta:{syntax:s.meta.position==="prefix"?"PREFIX_QUESTION_MARK":"SUFFIX_QUESTION_MARK"}}),JsdocTypeNotNullable:(s,f)=>({type:"NOT_NULLABLE",value:f(s.element),meta:{syntax:s.meta.position==="prefix"?"PREFIX_BANG":"SUFFIX_BANG"}}),JsdocTypeVariadic:(s,f)=>{let g={type:"VARIADIC",meta:{syntax:s.meta.position==="prefix"?"PREFIX_DOTS":s.meta.position==="suffix"?"SUFFIX_DOTS":"ONLY_DOTS"}};return s.element!==void 0&&(g.value=f(s.element)),g},JsdocTypeName:s=>({type:"NAME",name:s.value}),JsdocTypeTypeof:(s,f)=>({type:"TYPE_QUERY",name:f(s.element)}),JsdocTypeTuple:(s,f)=>({type:"TUPLE",entries:s.elements.map(f)}),JsdocTypeKeyof:(s,f)=>({type:"KEY_QUERY",value:f(s.element)}),JsdocTypeImport:s=>({type:"IMPORT",path:{type:"STRING_VALUE",quoteStyle:pt(s.element.meta.quote),string:s.element.value}}),JsdocTypeUndefined:()=>({type:"NAME",name:"undefined"}),JsdocTypeAny:()=>({type:"ANY"}),JsdocTypeFunction:(s,f)=>{let g=ua(s),T={type:s.arrow?"ARROW":"FUNCTION",params:g.params.map(B=>{if(B.type==="JsdocTypeKeyValue"){if(B.right===void 0)throw new Error("Function parameter without ':' is not expected to be 'KEY_VALUE'");return{type:"NAMED_PARAMETER",name:B.key,typeName:f(B.right)}}else return f(B)}),new:null,returns:null};return g.this!==void 0?T.this=f(g.this):s.arrow||(T.this=null),g.new!==void 0&&(T.new=f(g.new)),s.returnType!==void 0&&(T.returns=f(s.returnType)),T},JsdocTypeGeneric:(s,f)=>{let g={type:"GENERIC",subject:f(s.left),objects:s.elements.map(f),meta:{syntax:s.meta.brackets==="square"?"SQUARE_BRACKET":s.meta.dot?"ANGLE_BRACKET_WITH_DOT":"ANGLE_BRACKET"}};return s.meta.brackets==="square"&&s.elements[0].type==="JsdocTypeFunction"&&!s.elements[0].parenthesis&&(g.objects[0]={type:"NAME",name:"function"}),g},JsdocTypeObjectField:(s,f)=>{if(typeof s.key!="string")throw new Error("Index signatures and mapped types are not supported");if(s.right===void 0)return{type:"RECORD_ENTRY",key:s.key,quoteStyle:pt(s.meta.quote),value:null,readonly:!1};let g=f(s.right);return s.optional&&(g={type:"OPTIONAL",value:g,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:s.key.toString(),quoteStyle:pt(s.meta.quote),value:g,readonly:!1}},JsdocTypeJsdocObjectField:()=>{throw new Error("Keys may not be typed in jsdoctypeparser.")},JsdocTypeKeyValue:(s,f)=>{if(s.right===void 0)return{type:"RECORD_ENTRY",key:s.key,quoteStyle:"none",value:null,readonly:!1};let g=f(s.right);return s.optional&&(g={type:"OPTIONAL",value:g,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:s.key,quoteStyle:"none",value:g,readonly:!1}},JsdocTypeObject:(s,f)=>{let g=[];for(let T of s.elements)(T.type==="JsdocTypeObjectField"||T.type==="JsdocTypeJsdocObjectField")&&g.push(f(T));return{type:"RECORD",entries:g}},JsdocTypeSpecialNamePath:s=>{if(s.specialType!=="module")throw new Error(`jsdoctypeparser does not support type ${s.specialType} at this point.`);return{type:"MODULE",value:{type:"FILE_PATH",quoteStyle:pt(s.meta.quote),path:s.value}}},JsdocTypeNamePath:(s,f)=>{let g=!1,T,B;s.right.type==="JsdocTypeSpecialNamePath"&&s.right.specialType==="event"?(g=!0,T=s.right.value,B=pt(s.right.meta.quote)):(T=s.right.value,B=pt(s.right.meta.quote));let q={type:qc(s.pathType),owner:f(s.left),name:T,quoteStyle:B,hasEventPrefix:g};if(q.owner.type==="MODULE"){let W=q.owner;return q.owner=q.owner.value,W.value=q,W}else return q},JsdocTypeUnion:(s,f)=>hn("UNION",s.elements.map(f)),JsdocTypeParenthesis:(s,f)=>({type:"PARENTHESIS",value:f(x(s.element))}),JsdocTypeNull:()=>({type:"NAME",name:"null"}),JsdocTypeUnknown:()=>({type:"UNKNOWN"}),JsdocTypeStringValue:s=>({type:"STRING_VALUE",quoteStyle:pt(s.meta.quote),string:s.value}),JsdocTypeIntersection:(s,f)=>hn("INTERSECTION",s.elements.map(f)),JsdocTypeNumber:s=>({type:"NUMBER_VALUE",number:s.value.toString()}),JsdocTypeSymbol:we,JsdocTypeProperty:we,JsdocTypePredicate:we,JsdocTypeMappedType:we,JsdocTypeIndexSignature:we,JsdocTypeAsserts:we};function Jc(s){return Gt(Vc,s)}function Hc(){return{JsdocTypeIntersection:(s,f)=>({type:"JsdocTypeIntersection",elements:s.elements.map(f)}),JsdocTypeGeneric:(s,f)=>({type:"JsdocTypeGeneric",left:f(s.left),elements:s.elements.map(f),meta:{dot:s.meta.dot,brackets:s.meta.brackets}}),JsdocTypeNullable:s=>s,JsdocTypeUnion:(s,f)=>({type:"JsdocTypeUnion",elements:s.elements.map(f)}),JsdocTypeUnknown:s=>s,JsdocTypeUndefined:s=>s,JsdocTypeTypeof:(s,f)=>({type:"JsdocTypeTypeof",element:f(s.element)}),JsdocTypeSymbol:(s,f)=>{let g={type:"JsdocTypeSymbol",value:s.value};return s.element!==void 0&&(g.element=f(s.element)),g},JsdocTypeOptional:(s,f)=>({type:"JsdocTypeOptional",element:f(s.element),meta:{position:s.meta.position}}),JsdocTypeObject:(s,f)=>({type:"JsdocTypeObject",meta:{separator:"comma"},elements:s.elements.map(f)}),JsdocTypeNumber:s=>s,JsdocTypeNull:s=>s,JsdocTypeNotNullable:(s,f)=>({type:"JsdocTypeNotNullable",element:f(s.element),meta:{position:s.meta.position}}),JsdocTypeSpecialNamePath:s=>s,JsdocTypeObjectField:(s,f)=>({type:"JsdocTypeObjectField",key:s.key,right:s.right===void 0?void 0:f(s.right),optional:s.optional,readonly:s.readonly,meta:s.meta}),JsdocTypeJsdocObjectField:(s,f)=>({type:"JsdocTypeJsdocObjectField",left:f(s.left),right:f(s.right)}),JsdocTypeKeyValue:(s,f)=>({type:"JsdocTypeKeyValue",key:s.key,right:s.right===void 0?void 0:f(s.right),optional:s.optional,variadic:s.variadic}),JsdocTypeImport:(s,f)=>({type:"JsdocTypeImport",element:f(s.element)}),JsdocTypeAny:s=>s,JsdocTypeStringValue:s=>s,JsdocTypeNamePath:s=>s,JsdocTypeVariadic:(s,f)=>{let g={type:"JsdocTypeVariadic",meta:{position:s.meta.position,squareBrackets:s.meta.squareBrackets}};return s.element!==void 0&&(g.element=f(s.element)),g},JsdocTypeTuple:(s,f)=>({type:"JsdocTypeTuple",elements:s.elements.map(f)}),JsdocTypeName:s=>s,JsdocTypeFunction:(s,f)=>{let g={type:"JsdocTypeFunction",arrow:s.arrow,parameters:s.parameters.map(f),constructor:s.constructor,parenthesis:s.parenthesis};return s.returnType!==void 0&&(g.returnType=f(s.returnType)),g},JsdocTypeKeyof:(s,f)=>({type:"JsdocTypeKeyof",element:f(s.element)}),JsdocTypeParenthesis:(s,f)=>({type:"JsdocTypeParenthesis",element:f(s.element)}),JsdocTypeProperty:s=>s,JsdocTypePredicate:(s,f)=>({type:"JsdocTypePredicate",left:f(s.left),right:f(s.right)}),JsdocTypeIndexSignature:(s,f)=>({type:"JsdocTypeIndexSignature",key:s.key,right:f(s.right)}),JsdocTypeMappedType:(s,f)=>({type:"JsdocTypeMappedType",key:s.key,right:f(s.right)}),JsdocTypeAsserts:(s,f)=>({type:"JsdocTypeAsserts",left:f(s.left),right:f(s.right)})}}let da={JsdocTypeAny:[],JsdocTypeFunction:["parameters","returnType"],JsdocTypeGeneric:["left","elements"],JsdocTypeImport:[],JsdocTypeIndexSignature:["right"],JsdocTypeIntersection:["elements"],JsdocTypeKeyof:["element"],JsdocTypeKeyValue:["right"],JsdocTypeMappedType:["right"],JsdocTypeName:[],JsdocTypeNamePath:["left","right"],JsdocTypeNotNullable:["element"],JsdocTypeNull:[],JsdocTypeNullable:["element"],JsdocTypeNumber:[],JsdocTypeObject:["elements"],JsdocTypeObjectField:["right"],JsdocTypeJsdocObjectField:["left","right"],JsdocTypeOptional:["element"],JsdocTypeParenthesis:["element"],JsdocTypeSpecialNamePath:[],JsdocTypeStringValue:[],JsdocTypeSymbol:["element"],JsdocTypeTuple:["elements"],JsdocTypeTypeof:["element"],JsdocTypeUndefined:[],JsdocTypeUnion:["elements"],JsdocTypeUnknown:[],JsdocTypeVariadic:["element"],JsdocTypeProperty:[],JsdocTypePredicate:["left","right"],JsdocTypeAsserts:["left","right"]};function fn(s,f,g,T,B){T?.(s,f,g);let q=da[s.type];for(let W of q){let te=s[W];if(te!==void 0)if(Array.isArray(te))for(let Ce of te)fn(Ce,s,W,T,B);else fn(te,s,W,T,B)}B?.(s,f,g)}function zc(s,f,g){fn(s,void 0,void 0,f,g)}e.catharsisTransform=$c,e.identityTransformRules=Hc,e.jtpTransform=Jc,e.parse=la,e.stringify=Lc,e.stringifyRules=ca,e.transform=Gt,e.traverse=zc,e.tryParse=Nc,e.visitorKeys=da})});var vA,AA,DA,SA,ru,wA,CA,nu,xA,TA,FA,IA,kA,RA,Lf,zr,OA,_A,PA,BA,k,Ro,NA,Gr,jA,Wr=ze(()=>{V();J();H();vA=__STORYBOOK_THEMING__,{CacheProvider:AA,ClassNames:DA,Global:SA,ThemeProvider:ru,background:wA,color:CA,convert:nu,create:xA,createCache:TA,createGlobal:FA,createReset:IA,css:kA,darken:RA,ensure:Lf,ignoreSsrWarning:zr,isPropValid:OA,jsx:_A,keyframes:PA,lighten:BA,styled:k,themes:Ro,typography:NA,useTheme:Gr,withTheme:jA}=__STORYBOOK_THEMING__});function Jf(e,t,{signal:r,edges:n}={}){let o,i=null,a=n!=null&&n.includes("leading"),l=n==null||n.includes("trailing"),u=()=>{i!==null&&(e.apply(o,i),o=void 0,i=null)},c=()=>{l&&u(),y()},d=null,p=()=>{d!=null&&clearTimeout(d),d=setTimeout(()=>{d=null,c()},t)},h=()=>{d!==null&&(clearTimeout(d),d=null)},y=()=>{h(),o=void 0,i=null},E=()=>{h(),u()},v=function(...A){if(r?.aborted)return;o=this,i=A;let D=d==null;p(),a&&D&&u()};return v.schedule=p,v.cancel=y,v.flush=E,r?.addEventListener("abort",y,{once:!0}),v}function iu(e,t=0,r={}){typeof r!="object"&&(r={});let{signal:n,leading:o=!1,trailing:i=!0,maxWait:a}=r,l=Array(2);o&&(l[0]="leading"),i&&(l[1]="trailing");let u,c=null,d=Jf(function(...y){u=e.apply(this,y),c=null},t,{signal:n,edges:l}),p=function(...y){if(a!=null){if(c===null)c=Date.now();else if(Date.now()-c>=a)return u=e.apply(this,y),c=Date.now(),d.cancel(),d.schedule(),u}return d.apply(this,y),u},h=()=>(d.flush(),u);return p.cancel=d.cancel,p.flush=h,p}var Mf,ou,Uf,au,$f,qf,dr,Oe,Vf,jt,Oo,_o=ze(()=>{V();J();H();Mf=Object.create,ou=Object.defineProperty,Uf=Object.getOwnPropertyDescriptor,au=Object.getOwnPropertyNames,$f=Object.getPrototypeOf,qf=Object.prototype.hasOwnProperty,dr=(e=>typeof Ie<"u"?Ie:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof Ie<"u"?Ie:t)[r]}):e)(function(e){if(typeof Ie<"u")return Ie.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),Oe=(e,t)=>function(){return t||(0,e[au(e)[0]])((t={exports:{}}).exports,t),t.exports},Vf=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of au(t))!qf.call(e,o)&&o!==r&&ou(e,o,{get:()=>t[o],enumerable:!(n=Uf(t,o))||n.enumerable});return e},jt=(e,t,r)=>(r=e!=null?Mf($f(e)):{},Vf(t||!e||!e.__esModule?ou(r,"default",{value:e,enumerable:!0}):r,e));Oo=e=>`control-${e.replace(/\s+/g,"-")}`});var GA,WA,KA,su,YA,XA,QA,ZA,eD,tD,rD,nD,oD,aD,iD,sD,lD,uD,cD,dD,pD,hD,fD,mD,yD,gD,bD,ED,vD,AD,DD,SD,wD,CD,xD,TD,FD,ID,kD,RD,OD,_D,PD,BD,ND,jD,LD,MD,lu,UD,uu,cu,$D,qD,du,VD,JD,HD,zD,GD,WD,KD,YD,XD,QD,ZD,eS,tS,rS,nS,oS,aS,iS,sS,lS,uS,cS,dS,pS,hS,fS,mS,yS,gS,bS,ES,vS,AS,Hf,DS,SS,wS,CS,xS,TS,FS,zf,Gf,IS,kS,RS,OS,_S,PS,BS,NS,jS,LS,MS,US,$S,qS,VS,JS,HS,zS,GS,WS,KS,YS,XS,QS,ZS,ew,tw,rw,nw,ow,aw,iw,sw,pu,lw,uw,cw,dw,pw,hw,fw,hu,mw,yw,gw,bw,Ew,vw,Aw,Dw,Sw,ww,Cw,xw,Tw,Fw,Iw,kw,Rw,Ow,_w,Pw,Bw,Nw,jw,Lw,Mw,Uw,$w,qw,Vw,Jw,Hw,zw,Gw,Ww,Kw,Yw,Xw,Qw,Zw,eC,tC,rC,nC,oC,aC,iC,sC,lC,uC,cC,dC,pC,hC,fC,mC,yC,gC,bC,EC,vC,AC,DC,SC,wC,CC,fu,xC,TC,FC,IC,kC,RC,OC,_C,PC,BC,NC,jC,LC,Wf,MC,UC,$C,qC,VC,JC,HC,zC,GC,WC,Kf,KC,YC,XC,QC,ZC,ex,mu,yu,gu,tx,Po=ze(()=>{V();J();H();GA=__STORYBOOK_ICONS__,{AccessibilityAltIcon:WA,AccessibilityIcon:KA,AddIcon:su,AdminIcon:YA,AlertAltIcon:XA,AlertIcon:QA,AlignLeftIcon:ZA,AlignRightIcon:eD,AppleIcon:tD,ArrowBottomLeftIcon:rD,ArrowBottomRightIcon:nD,ArrowDownIcon:oD,ArrowLeftIcon:aD,ArrowRightIcon:iD,ArrowSolidDownIcon:sD,ArrowSolidLeftIcon:lD,ArrowSolidRightIcon:uD,ArrowSolidUpIcon:cD,ArrowTopLeftIcon:dD,ArrowTopRightIcon:pD,ArrowUpIcon:hD,AzureDevOpsIcon:fD,BackIcon:mD,BasketIcon:yD,BatchAcceptIcon:gD,BatchDenyIcon:bD,BeakerIcon:ED,BellIcon:vD,BitbucketIcon:AD,BoldIcon:DD,BookIcon:SD,BookmarkHollowIcon:wD,BookmarkIcon:CD,BottomBarIcon:xD,BottomBarToggleIcon:TD,BoxIcon:FD,BranchIcon:ID,BrowserIcon:kD,ButtonIcon:RD,CPUIcon:OD,CalendarIcon:_D,CameraIcon:PD,CategoryIcon:BD,CertificateIcon:ND,ChangedIcon:jD,ChatIcon:LD,CheckIcon:MD,ChevronDownIcon:lu,ChevronLeftIcon:UD,ChevronRightIcon:uu,ChevronSmallDownIcon:cu,ChevronSmallLeftIcon:$D,ChevronSmallRightIcon:qD,ChevronSmallUpIcon:du,ChevronUpIcon:VD,ChromaticIcon:JD,ChromeIcon:HD,CircleHollowIcon:zD,CircleIcon:GD,ClearIcon:WD,CloseAltIcon:KD,CloseIcon:YD,CloudHollowIcon:XD,CloudIcon:QD,CogIcon:ZD,CollapseIcon:eS,CommandIcon:tS,CommentAddIcon:rS,CommentIcon:nS,CommentsIcon:oS,CommitIcon:aS,CompassIcon:iS,ComponentDrivenIcon:sS,ComponentIcon:lS,ContrastIcon:uS,ControlsIcon:cS,CopyIcon:dS,CreditIcon:pS,CrossIcon:hS,DashboardIcon:fS,DatabaseIcon:mS,DeleteIcon:yS,DiamondIcon:gS,DirectionIcon:bS,DiscordIcon:ES,DocChartIcon:vS,DocListIcon:AS,DocumentIcon:Hf,DownloadIcon:DS,DragIcon:SS,EditIcon:wS,EllipsisIcon:CS,EmailIcon:xS,ExpandAltIcon:TS,ExpandIcon:FS,EyeCloseIcon:zf,EyeIcon:Gf,FaceHappyIcon:IS,FaceNeutralIcon:kS,FaceSadIcon:RS,FacebookIcon:OS,FailedIcon:_S,FastForwardIcon:PS,FigmaIcon:BS,FilterIcon:NS,FlagIcon:jS,FolderIcon:LS,FormIcon:MS,GDriveIcon:US,GithubIcon:$S,GitlabIcon:qS,GlobeIcon:VS,GoogleIcon:JS,GraphBarIcon:HS,GraphLineIcon:zS,GraphqlIcon:GS,GridAltIcon:WS,GridIcon:KS,GrowIcon:YS,HeartHollowIcon:XS,HeartIcon:QS,HomeIcon:ZS,HourglassIcon:ew,InfoIcon:tw,ItalicIcon:rw,JumpToIcon:nw,KeyIcon:ow,LightningIcon:aw,LightningOffIcon:iw,LinkBrokenIcon:sw,LinkIcon:pu,LinkedinIcon:lw,LinuxIcon:uw,ListOrderedIcon:cw,ListUnorderedIcon:dw,LocationIcon:pw,LockIcon:hw,MarkdownIcon:fw,MarkupIcon:hu,MediumIcon:mw,MemoryIcon:yw,MenuIcon:gw,MergeIcon:bw,MirrorIcon:Ew,MobileIcon:vw,MoonIcon:Aw,NutIcon:Dw,OutboxIcon:Sw,OutlineIcon:ww,PaintBrushIcon:Cw,PaperClipIcon:xw,ParagraphIcon:Tw,PassedIcon:Fw,PhoneIcon:Iw,PhotoDragIcon:kw,PhotoIcon:Rw,PinAltIcon:Ow,PinIcon:_w,PlayAllHollowIcon:Pw,PlayBackIcon:Bw,PlayHollowIcon:Nw,PlayIcon:jw,PlayNextIcon:Lw,PlusIcon:Mw,PointerDefaultIcon:Uw,PointerHandIcon:$w,PowerIcon:qw,PrintIcon:Vw,ProceedIcon:Jw,ProfileIcon:Hw,PullRequestIcon:zw,QuestionIcon:Gw,RSSIcon:Ww,RedirectIcon:Kw,ReduxIcon:Yw,RefreshIcon:Xw,ReplyIcon:Qw,RepoIcon:Zw,RequestChangeIcon:eC,RewindIcon:tC,RulerIcon:rC,SaveIcon:nC,SearchIcon:oC,ShareAltIcon:aC,ShareIcon:iC,ShieldIcon:sC,SideBySideIcon:lC,SidebarAltIcon:uC,SidebarAltToggleIcon:cC,SidebarIcon:dC,SidebarToggleIcon:pC,SpeakerIcon:hC,StackedIcon:fC,StarHollowIcon:mC,StarIcon:yC,StatusFailIcon:gC,StatusPassIcon:bC,StatusWarnIcon:EC,StickerIcon:vC,StopAltHollowIcon:AC,StopAltIcon:DC,StopIcon:SC,StorybookIcon:wC,StructureIcon:CC,SubtractIcon:fu,SunIcon:xC,SupportIcon:TC,SwitchAltIcon:FC,SyncIcon:IC,TabletIcon:kC,ThumbsUpIcon:RC,TimeIcon:OC,TimerIcon:_C,TransferIcon:PC,TrashIcon:BC,TwitterIcon:NC,TypeIcon:jC,UbuntuIcon:LC,UndoIcon:Wf,UnfoldIcon:MC,UnlockIcon:UC,UnpinIcon:$C,UploadIcon:qC,UserAddIcon:VC,UserAltIcon:JC,UserIcon:HC,UsersIcon:zC,VSCodeIcon:GC,VerifiedIcon:WC,VideoIcon:Kf,WandIcon:KC,WatchIcon:YC,WindowsIcon:XC,WrenchIcon:QC,XIcon:ZC,YoutubeIcon:ex,ZoomIcon:mu,ZoomOutIcon:yu,ZoomResetIcon:gu,iconList:tx}=__STORYBOOK_ICONS__});var Nu={};fa(Nu,{ColorControl:()=>Bu,default:()=>Mm});function At(){return(At=Object.assign||function(e){for(var t=1;t=0||(o[r]=e[r]);return o}function Bo(e){var t=Me(e),r=Me(function(n){t.current&&t.current(n)});return t.current=e,r.current}function Ru(e,t,r){var n=Bo(r),o=Ue(function(){return e.toHsva(t)}),i=o[0],a=o[1],l=Me({color:t,hsva:i});rt(function(){if(!e.equal(t,l.current.color)){var c=e.toHsva(t);l.current={hsva:c,color:t},a(c)}},[t,e]),rt(function(){var c;Iu(i,l.current.hsva)||e.equal(c=e.fromHsva(i),l.current.color)||(l.current={hsva:i,color:c},n(c))},[i,e,n]);var u=tt(function(c){a(function(d){return Object.assign({},d,c)})},[]);return[i,u]}var em,Su,tm,rm,Be,Mt,pr,No,bu,Eu,$o,hr,qo,ve,nm,om,jo,am,im,sm,lm,wu,Lo,Qr,Cu,um,Kr,cm,xu,Tu,Fu,Iu,ku,dm,pm,hm,vu,Ou,fm,mm,ym,gm,_u,bm,Em,vm,Am,Dm,Sm,wm,Cm,xm,Tm,Fm,Au,Im,km,Pu,Yr,Rm,Om,_m,Mo,Pm,Bm,Xr,Du,Lt,Nm,jm,Zr,Lm,Bu,Mm,ju=ze(()=>{V();J();H();_o();Xt();Qt();Wr();Po();em=Oe({"../../node_modules/color-name/index.js"(e,t){t.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]}}}),Su=Oe({"../../node_modules/color-convert/conversions.js"(e,t){var r=em(),n={};for(let a of Object.keys(r))n[r[a]]=a;var o={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"]}};t.exports=o;for(let a of Object.keys(o)){if(!("channels"in o[a]))throw new Error("missing channels property: "+a);if(!("labels"in o[a]))throw new Error("missing channel labels property: "+a);if(o[a].labels.length!==o[a].channels)throw new Error("channel and label counts mismatch: "+a);let{channels:l,labels:u}=o[a];delete o[a].channels,delete o[a].labels,Object.defineProperty(o[a],"channels",{value:l}),Object.defineProperty(o[a],"labels",{value:u})}o.rgb.hsl=function(a){let l=a[0]/255,u=a[1]/255,c=a[2]/255,d=Math.min(l,u,c),p=Math.max(l,u,c),h=p-d,y,E;p===d?y=0:l===p?y=(u-c)/h:u===p?y=2+(c-l)/h:c===p&&(y=4+(l-u)/h),y=Math.min(y*60,360),y<0&&(y+=360);let v=(d+p)/2;return p===d?E=0:v<=.5?E=h/(p+d):E=h/(2-p-d),[y,E*100,v*100]},o.rgb.hsv=function(a){let l,u,c,d,p,h=a[0]/255,y=a[1]/255,E=a[2]/255,v=Math.max(h,y,E),A=v-Math.min(h,y,E),D=function(S){return(v-S)/6/A+1/2};return A===0?(d=0,p=0):(p=A/v,l=D(h),u=D(y),c=D(E),h===v?d=c-u:y===v?d=1/3+l-c:E===v&&(d=2/3+u-l),d<0?d+=1:d>1&&(d-=1)),[d*360,p*100,v*100]},o.rgb.hwb=function(a){let l=a[0],u=a[1],c=a[2],d=o.rgb.hsl(a)[0],p=1/255*Math.min(l,Math.min(u,c));return c=1-1/255*Math.max(l,Math.max(u,c)),[d,p*100,c*100]},o.rgb.cmyk=function(a){let l=a[0]/255,u=a[1]/255,c=a[2]/255,d=Math.min(1-l,1-u,1-c),p=(1-l-d)/(1-d)||0,h=(1-u-d)/(1-d)||0,y=(1-c-d)/(1-d)||0;return[p*100,h*100,y*100,d*100]};function i(a,l){return(a[0]-l[0])**2+(a[1]-l[1])**2+(a[2]-l[2])**2}o.rgb.keyword=function(a){let l=n[a];if(l)return l;let u=1/0,c;for(let d of Object.keys(r)){let p=r[d],h=i(a,p);h.04045?((l+.055)/1.055)**2.4:l/12.92,u=u>.04045?((u+.055)/1.055)**2.4:u/12.92,c=c>.04045?((c+.055)/1.055)**2.4:c/12.92;let d=l*.4124+u*.3576+c*.1805,p=l*.2126+u*.7152+c*.0722,h=l*.0193+u*.1192+c*.9505;return[d*100,p*100,h*100]},o.rgb.lab=function(a){let l=o.rgb.xyz(a),u=l[0],c=l[1],d=l[2];u/=95.047,c/=100,d/=108.883,u=u>.008856?u**(1/3):7.787*u+16/116,c=c>.008856?c**(1/3):7.787*c+16/116,d=d>.008856?d**(1/3):7.787*d+16/116;let p=116*c-16,h=500*(u-c),y=200*(c-d);return[p,h,y]},o.hsl.rgb=function(a){let l=a[0]/360,u=a[1]/100,c=a[2]/100,d,p,h;if(u===0)return h=c*255,[h,h,h];c<.5?d=c*(1+u):d=c+u-c*u;let y=2*c-d,E=[0,0,0];for(let v=0;v<3;v++)p=l+1/3*-(v-1),p<0&&p++,p>1&&p--,6*p<1?h=y+(d-y)*6*p:2*p<1?h=d:3*p<2?h=y+(d-y)*(2/3-p)*6:h=y,E[v]=h*255;return E},o.hsl.hsv=function(a){let l=a[0],u=a[1]/100,c=a[2]/100,d=u,p=Math.max(c,.01);c*=2,u*=c<=1?c:2-c,d*=p<=1?p:2-p;let h=(c+u)/2,y=c===0?2*d/(p+d):2*u/(c+u);return[l,y*100,h*100]},o.hsv.rgb=function(a){let l=a[0]/60,u=a[1]/100,c=a[2]/100,d=Math.floor(l)%6,p=l-Math.floor(l),h=255*c*(1-u),y=255*c*(1-u*p),E=255*c*(1-u*(1-p));switch(c*=255,d){case 0:return[c,E,h];case 1:return[y,c,h];case 2:return[h,c,E];case 3:return[h,y,c];case 4:return[E,h,c];case 5:return[c,h,y]}},o.hsv.hsl=function(a){let l=a[0],u=a[1]/100,c=a[2]/100,d=Math.max(c,.01),p,h;h=(2-u)*c;let y=(2-u)*d;return p=u*d,p/=y<=1?y:2-y,p=p||0,h/=2,[l,p*100,h*100]},o.hwb.rgb=function(a){let l=a[0]/360,u=a[1]/100,c=a[2]/100,d=u+c,p;d>1&&(u/=d,c/=d);let h=Math.floor(6*l),y=1-c;p=6*l-h,(h&1)!==0&&(p=1-p);let E=u+p*(y-u),v,A,D;switch(h){default:case 6:case 0:v=y,A=E,D=u;break;case 1:v=E,A=y,D=u;break;case 2:v=u,A=y,D=E;break;case 3:v=u,A=E,D=y;break;case 4:v=E,A=u,D=y;break;case 5:v=y,A=u,D=E;break}return[v*255,A*255,D*255]},o.cmyk.rgb=function(a){let l=a[0]/100,u=a[1]/100,c=a[2]/100,d=a[3]/100,p=1-Math.min(1,l*(1-d)+d),h=1-Math.min(1,u*(1-d)+d),y=1-Math.min(1,c*(1-d)+d);return[p*255,h*255,y*255]},o.xyz.rgb=function(a){let l=a[0]/100,u=a[1]/100,c=a[2]/100,d,p,h;return d=l*3.2406+u*-1.5372+c*-.4986,p=l*-.9689+u*1.8758+c*.0415,h=l*.0557+u*-.204+c*1.057,d=d>.0031308?1.055*d**(1/2.4)-.055:d*12.92,p=p>.0031308?1.055*p**(1/2.4)-.055:p*12.92,h=h>.0031308?1.055*h**(1/2.4)-.055:h*12.92,d=Math.min(Math.max(0,d),1),p=Math.min(Math.max(0,p),1),h=Math.min(Math.max(0,h),1),[d*255,p*255,h*255]},o.xyz.lab=function(a){let l=a[0],u=a[1],c=a[2];l/=95.047,u/=100,c/=108.883,l=l>.008856?l**(1/3):7.787*l+16/116,u=u>.008856?u**(1/3):7.787*u+16/116,c=c>.008856?c**(1/3):7.787*c+16/116;let d=116*u-16,p=500*(l-u),h=200*(u-c);return[d,p,h]},o.lab.xyz=function(a){let l=a[0],u=a[1],c=a[2],d,p,h;p=(l+16)/116,d=u/500+p,h=p-c/200;let y=p**3,E=d**3,v=h**3;return p=y>.008856?y:(p-16/116)/7.787,d=E>.008856?E:(d-16/116)/7.787,h=v>.008856?v:(h-16/116)/7.787,d*=95.047,p*=100,h*=108.883,[d,p,h]},o.lab.lch=function(a){let l=a[0],u=a[1],c=a[2],d;d=Math.atan2(c,u)*360/2/Math.PI,d<0&&(d+=360);let p=Math.sqrt(u*u+c*c);return[l,p,d]},o.lch.lab=function(a){let l=a[0],u=a[1],c=a[2]/360*2*Math.PI,d=u*Math.cos(c),p=u*Math.sin(c);return[l,d,p]},o.rgb.ansi16=function(a,l=null){let[u,c,d]=a,p=l===null?o.rgb.hsv(a)[2]:l;if(p=Math.round(p/50),p===0)return 30;let h=30+(Math.round(d/255)<<2|Math.round(c/255)<<1|Math.round(u/255));return p===2&&(h+=60),h},o.hsv.ansi16=function(a){return o.rgb.ansi16(o.hsv.rgb(a),a[2])},o.rgb.ansi256=function(a){let l=a[0],u=a[1],c=a[2];return l===u&&u===c?l<8?16:l>248?231:Math.round((l-8)/247*24)+232:16+36*Math.round(l/255*5)+6*Math.round(u/255*5)+Math.round(c/255*5)},o.ansi16.rgb=function(a){let l=a%10;if(l===0||l===7)return a>50&&(l+=3.5),l=l/10.5*255,[l,l,l];let u=(~~(a>50)+1)*.5,c=(l&1)*u*255,d=(l>>1&1)*u*255,p=(l>>2&1)*u*255;return[c,d,p]},o.ansi256.rgb=function(a){if(a>=232){let p=(a-232)*10+8;return[p,p,p]}a-=16;let l,u=Math.floor(a/36)/5*255,c=Math.floor((l=a%36)/6)/5*255,d=l%6/5*255;return[u,c,d]},o.rgb.hex=function(a){let l=(((Math.round(a[0])&255)<<16)+((Math.round(a[1])&255)<<8)+(Math.round(a[2])&255)).toString(16).toUpperCase();return"000000".substring(l.length)+l},o.hex.rgb=function(a){let l=a.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!l)return[0,0,0];let u=l[0];l[0].length===3&&(u=u.split("").map(y=>y+y).join(""));let c=parseInt(u,16),d=c>>16&255,p=c>>8&255,h=c&255;return[d,p,h]},o.rgb.hcg=function(a){let l=a[0]/255,u=a[1]/255,c=a[2]/255,d=Math.max(Math.max(l,u),c),p=Math.min(Math.min(l,u),c),h=d-p,y,E;return h<1?y=p/(1-h):y=0,h<=0?E=0:d===l?E=(u-c)/h%6:d===u?E=2+(c-l)/h:E=4+(l-u)/h,E/=6,E%=1,[E*360,h*100,y*100]},o.hsl.hcg=function(a){let l=a[1]/100,u=a[2]/100,c=u<.5?2*l*u:2*l*(1-u),d=0;return c<1&&(d=(u-.5*c)/(1-c)),[a[0],c*100,d*100]},o.hsv.hcg=function(a){let l=a[1]/100,u=a[2]/100,c=l*u,d=0;return c<1&&(d=(u-c)/(1-c)),[a[0],c*100,d*100]},o.hcg.rgb=function(a){let l=a[0]/360,u=a[1]/100,c=a[2]/100;if(u===0)return[c*255,c*255,c*255];let d=[0,0,0],p=l%1*6,h=p%1,y=1-h,E=0;switch(Math.floor(p)){case 0:d[0]=1,d[1]=h,d[2]=0;break;case 1:d[0]=y,d[1]=1,d[2]=0;break;case 2:d[0]=0,d[1]=1,d[2]=h;break;case 3:d[0]=0,d[1]=y,d[2]=1;break;case 4:d[0]=h,d[1]=0,d[2]=1;break;default:d[0]=1,d[1]=0,d[2]=y}return E=(1-u)*c,[(u*d[0]+E)*255,(u*d[1]+E)*255,(u*d[2]+E)*255]},o.hcg.hsv=function(a){let l=a[1]/100,u=a[2]/100,c=l+u*(1-l),d=0;return c>0&&(d=l/c),[a[0],d*100,c*100]},o.hcg.hsl=function(a){let l=a[1]/100,u=a[2]/100*(1-l)+.5*l,c=0;return u>0&&u<.5?c=l/(2*u):u>=.5&&u<1&&(c=l/(2*(1-u))),[a[0],c*100,u*100]},o.hcg.hwb=function(a){let l=a[1]/100,u=a[2]/100,c=l+u*(1-l);return[a[0],(c-l)*100,(1-c)*100]},o.hwb.hcg=function(a){let l=a[1]/100,u=1-a[2]/100,c=u-l,d=0;return c<1&&(d=(u-c)/(1-c)),[a[0],c*100,d*100]},o.apple.rgb=function(a){return[a[0]/65535*255,a[1]/65535*255,a[2]/65535*255]},o.rgb.apple=function(a){return[a[0]/255*65535,a[1]/255*65535,a[2]/255*65535]},o.gray.rgb=function(a){return[a[0]/100*255,a[0]/100*255,a[0]/100*255]},o.gray.hsl=function(a){return[0,0,a[0]]},o.gray.hsv=o.gray.hsl,o.gray.hwb=function(a){return[0,100,a[0]]},o.gray.cmyk=function(a){return[0,0,0,a[0]]},o.gray.lab=function(a){return[a[0],0,0]},o.gray.hex=function(a){let l=Math.round(a[0]/100*255)&255,u=((l<<16)+(l<<8)+l).toString(16).toUpperCase();return"000000".substring(u.length)+u},o.rgb.gray=function(a){return[(a[0]+a[1]+a[2])/3/255*100]}}}),tm=Oe({"../../node_modules/color-convert/route.js"(e,t){var r=Su();function n(){let l={},u=Object.keys(r);for(let c=u.length,d=0;d1&&(d=p),u(d))};return"conversion"in u&&(c.conversion=u.conversion),c}function l(u){let c=function(...d){let p=d[0];if(p==null)return p;p.length>1&&(d=p);let h=u(d);if(typeof h=="object")for(let y=h.length,E=0;E{o[u]={},Object.defineProperty(o[u],"channels",{value:r[u].channels}),Object.defineProperty(o[u],"labels",{value:r[u].labels});let c=n(u);Object.keys(c).forEach(d=>{let p=c[d];o[u][d]=l(p),o[u][d].raw=a(p)})}),t.exports=o}}),Be=jt(rm());Mt=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e0:A.buttons>0)&&o.current?i(bu(o.current,A,l.current)):v(!1)},E=function(){return v(!1)};function v(A){var D=u.current,S=No(o.current),F=A?S.addEventListener:S.removeEventListener;F(D?"touchmove":"mousemove",y),F(D?"touchend":"mouseup",E)}return[function(A){var D=A.nativeEvent,S=o.current;if(S&&(Eu(D),!function(x,O){return O&&!pr(x)}(D,u.current)&&S)){if(pr(D)){u.current=!0;var F=D.changedTouches||[];F.length&&(l.current=F[0].identifier)}S.focus(),i(bu(S,D,l.current)),v(!0)}},function(A){var D=A.which||A.keyCode;D<37||D>40||(A.preventDefault(),a({left:D===39?.05:D===37?-.05:0,top:D===40?.05:D===38?-.05:0}))},v]},[a,i]),d=c[0],p=c[1],h=c[2];return rt(function(){return h},[h]),C.createElement("div",At({},n,{onTouchStart:d,onMouseDown:d,className:"react-colorful__interactive",ref:o,onKeyDown:p,tabIndex:0,role:"slider"}))}),hr=function(e){return e.filter(Boolean).join(" ")},qo=function(e){var t=e.color,r=e.left,n=e.top,o=n===void 0?.5:n,i=hr(["react-colorful__pointer",e.className]);return C.createElement("div",{className:i,style:{top:100*o+"%",left:100*r+"%"}},C.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},nm={grad:.9,turn:360,rad:360/(2*Math.PI)},om=function(e){return xu(jo(e))},jo=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}},am=function(e,t){return t===void 0&&(t="deg"),Number(e)*(nm[t]||1)},im=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?sm({h:am(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}},sm=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}},lm=function(e){return cm(Cu(e))},wu=function(e){var t=e.s,r=e.v,n=e.a,o=(200-t)*r/100;return{h:ve(e.h),s:ve(o>0&&o<200?t*r/100/(o<=100?o:200-o)*100:0),l:ve(o/2),a:ve(n,2)}},Lo=function(e){var t=wu(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},Qr=function(e){var t=wu(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},Cu=function(e){var t=e.h,r=e.s,n=e.v,o=e.a;t=t/360*6,r/=100,n/=100;var i=Math.floor(t),a=n*(1-r),l=n*(1-(t-i)*r),u=n*(1-(1-t+i)*r),c=i%6;return{r:ve(255*[n,l,a,a,u,n][c]),g:ve(255*[u,n,n,l,a,a][c]),b:ve(255*[a,a,u,n,n,l][c]),a:ve(o,2)}},um=function(e){var t=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?xu({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}},Kr=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},cm=function(e){var t=e.r,r=e.g,n=e.b,o=e.a,i=o<1?Kr(ve(255*o)):"";return"#"+Kr(t)+Kr(r)+Kr(n)+i},xu=function(e){var t=e.r,r=e.g,n=e.b,o=e.a,i=Math.max(t,r,n),a=i-Math.min(t,r,n),l=a?i===t?(r-n)/a:i===r?2+(n-t)/a:4+(t-r)/a:0;return{h:ve(60*(l<0?l+6:l)),s:ve(i?a/i*100:0),v:ve(i/255*100),a:o}},Tu=C.memo(function(e){var t=e.hue,r=e.onChange,n=hr(["react-colorful__hue",e.className]);return C.createElement("div",{className:n},C.createElement($o,{onMove:function(o){r({h:360*o.left})},onKey:function(o){r({h:Mt(t+360*o.left,0,360)})},"aria-label":"Hue","aria-valuenow":ve(t),"aria-valuemax":"360","aria-valuemin":"0"},C.createElement(qo,{className:"react-colorful__hue-pointer",left:t/360,color:Lo({h:t,s:100,v:100,a:1})})))}),Fu=C.memo(function(e){var t=e.hsva,r=e.onChange,n={backgroundColor:Lo({h:t.h,s:100,v:100,a:1})};return C.createElement("div",{className:"react-colorful__saturation",style:n},C.createElement($o,{onMove:function(o){r({s:100*o.left,v:100-100*o.top})},onKey:function(o){r({s:Mt(t.s+100*o.left,0,100),v:Mt(t.v-100*o.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+ve(t.s)+"%, Brightness "+ve(t.v)+"%"},C.createElement(qo,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:Lo(t)})))}),Iu=function(e,t){if(e===t)return!0;for(var r in e)if(e[r]!==t[r])return!1;return!0},ku=function(e,t){return e.replace(/\s/g,"")===t.replace(/\s/g,"")},dm=function(e,t){return e.toLowerCase()===t.toLowerCase()||Iu(jo(e),jo(t))};pm=typeof window<"u"?ga:rt,hm=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},vu=new Map,Ou=function(e){pm(function(){var t=e.current?e.current.ownerDocument:document;if(t!==void 0&&!vu.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}`,vu.set(t,r);var n=hm();n&&r.setAttribute("nonce",n),t.head.appendChild(r)}},[])},fm=function(e){var t=e.className,r=e.colorModel,n=e.color,o=n===void 0?r.defaultColor:n,i=e.onChange,a=Uo(e,["className","colorModel","color","onChange"]),l=Me(null);Ou(l);var u=Ru(r,o,i),c=u[0],d=u[1],p=hr(["react-colorful",t]);return C.createElement("div",At({},a,{ref:l,className:p}),C.createElement(Fu,{hsva:c,onChange:d}),C.createElement(Tu,{hue:c.h,onChange:d,className:"react-colorful__last-control"}))},mm={defaultColor:"000",toHsva:om,fromHsva:function(e){return lm({h:e.h,s:e.s,v:e.v,a:1})},equal:dm},ym=function(e){return C.createElement(fm,At({},e,{colorModel:mm}))},gm=function(e){var t=e.className,r=e.hsva,n=e.onChange,o={backgroundImage:"linear-gradient(90deg, "+Qr(Object.assign({},r,{a:0}))+", "+Qr(Object.assign({},r,{a:1}))+")"},i=hr(["react-colorful__alpha",t]),a=ve(100*r.a);return C.createElement("div",{className:i},C.createElement("div",{className:"react-colorful__alpha-gradient",style:o}),C.createElement($o,{onMove:function(l){n({a:l.left})},onKey:function(l){n({a:Mt(r.a+l.left)})},"aria-label":"Alpha","aria-valuetext":a+"%","aria-valuenow":a,"aria-valuemin":"0","aria-valuemax":"100"},C.createElement(qo,{className:"react-colorful__alpha-pointer",left:r.a,color:Qr(r)})))},_u=function(e){var t=e.className,r=e.colorModel,n=e.color,o=n===void 0?r.defaultColor:n,i=e.onChange,a=Uo(e,["className","colorModel","color","onChange"]),l=Me(null);Ou(l);var u=Ru(r,o,i),c=u[0],d=u[1],p=hr(["react-colorful",t]);return C.createElement("div",At({},a,{ref:l,className:p}),C.createElement(Fu,{hsva:c,onChange:d}),C.createElement(Tu,{hue:c.h,onChange:d}),C.createElement(gm,{hsva:c,onChange:d,className:"react-colorful__last-control"}))},bm={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:im,fromHsva:Qr,equal:ku},Em=function(e){return C.createElement(_u,At({},e,{colorModel:bm}))},vm={defaultColor:"rgba(0, 0, 0, 1)",toHsva:um,fromHsva:function(e){var t=Cu(e);return"rgba("+t.r+", "+t.g+", "+t.b+", "+t.a+")"},equal:ku},Am=function(e){return C.createElement(_u,At({},e,{colorModel:vm}))},Dm=k.div({position:"relative",maxWidth:250,'&[aria-readonly="true"]':{opacity:.5}}),Sm=k(Sr)({position:"absolute",zIndex:1,top:4,left:4,"[aria-readonly=true] &":{cursor:"not-allowed"}}),wm=k.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"}}),Cm=k(An)(({theme:e})=>({fontFamily:e.typography.fonts.base})),xm=k.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),Tm=k.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})),Fm=`url('data:image/svg+xml;charset=utf-8,')`,Au=({value:e,style:t,...r})=>{let n=`linear-gradient(${e}, ${e}), ${Fm}, linear-gradient(#fff, #fff)`;return C.createElement(Tm,{...r,style:{...t,backgroundImage:n}})},Im=k(nt.Input)(({theme:e,readOnly:t})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:e.typography.fonts.base})),km=k(hu)(({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})),Pu=(e=>(e.RGB="rgb",e.HSL="hsl",e.HEX="hex",e))(Pu||{}),Yr=Object.values(Pu),Rm=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,Om=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,_m=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,Mo=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,Pm=/^\s*#?([0-9a-f]{3})\s*$/i,Bm={hex:ym,rgb:Am,hsl:Em},Xr={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},Du=e=>{let t=e?.match(Rm);if(!t)return[0,0,0,1];let[,r,n,o,i=1]=t;return[r,n,o,i].map(Number)},Lt=e=>{if(!e)return;let t=!0;if(Om.test(e)){let[a,l,u,c]=Du(e),[d,p,h]=Be.default.rgb.hsl([a,l,u])||[0,0,0];return{valid:t,value:e,keyword:Be.default.rgb.keyword([a,l,u]),colorSpace:"rgb",rgb:e,hsl:`hsla(${d}, ${p}%, ${h}%, ${c})`,hex:`#${Be.default.rgb.hex([a,l,u]).toLowerCase()}`}}if(_m.test(e)){let[a,l,u,c]=Du(e),[d,p,h]=Be.default.hsl.rgb([a,l,u])||[0,0,0];return{valid:t,value:e,keyword:Be.default.hsl.keyword([a,l,u]),colorSpace:"hsl",rgb:`rgba(${d}, ${p}, ${h}, ${c})`,hsl:e,hex:`#${Be.default.hsl.hex([a,l,u]).toLowerCase()}`}}let r=e.replace("#",""),n=Be.default.keyword.rgb(r)||Be.default.hex.rgb(r),o=Be.default.rgb.hsl(n),i=e;if(/[^#a-f0-9]/i.test(e)?i=r:Mo.test(e)&&(i=`#${r}`),i.startsWith("#"))t=Mo.test(i);else try{Be.default.keyword.hex(i)}catch{t=!1}return{valid:t,value:i,keyword:Be.default.rgb.keyword(n),colorSpace:"hex",rgb:`rgba(${n[0]}, ${n[1]}, ${n[2]}, 1)`,hsl:`hsla(${o[0]}, ${o[1]}%, ${o[2]}%, 1)`,hex:i}},Nm=(e,t,r)=>{if(!e||!t?.valid)return Xr[r];if(r!=="hex")return t?.[r]||Xr[r];if(!t.hex.startsWith("#"))try{return`#${Be.default.keyword.hex(t.hex)}`}catch{return Xr.hex}let n=t.hex.match(Pm);if(!n)return Mo.test(t.hex)?t.hex:Xr.hex;let[o,i,a]=n[1].split("");return`#${o}${o}${i}${i}${a}${a}`},jm=(e,t)=>{let[r,n]=Ue(e||""),[o,i]=Ue(()=>Lt(r)),[a,l]=Ue(o?.colorSpace||"hex");rt(()=>{let p=e||"",h=Lt(p);n(p),i(h),l(h?.colorSpace||"hex")},[e]);let u=Yt(()=>Nm(r,o,a).toLowerCase(),[r,o,a]),c=tt(p=>{let h=Lt(p),y=h?.value||p||"";n(y),y===""&&(i(void 0),t(void 0)),h&&(i(h),l(h.colorSpace),t(h.value))},[t]),d=tt(()=>{let p=Yr.indexOf(a)+1;p>=Yr.length&&(p=0),l(Yr[p]);let h=o?.[Yr[p]]||"";n(h),t(h)},[o,a,t]);return{value:r,realValue:u,updateValue:c,color:o,colorSpace:a,cycleColorSpace:d}},Zr=e=>e.replace(/\s*/,"").toLowerCase(),Lm=(e,t,r)=>{let[n,o]=Ue(t?.valid?[t]:[]);rt(()=>{t===void 0&&o([])},[t]);let i=Yt(()=>(e||[]).map(l=>typeof l=="string"?Lt(l):l.title?{...Lt(l.color),keyword:l.title}:Lt(l.color)).concat(n).filter(Boolean).slice(-27),[e,n]),a=tt(l=>{l?.valid&&(i.some(u=>Zr(u[r])===Zr(l[r]))||o(u=>u.concat(l)))},[r,i]);return{presets:i,addPreset:a}},Bu=({name:e,value:t,onChange:r,onFocus:n,onBlur:o,presetColors:i,startOpen:a=!1,argType:l})=>{let u=tt(iu(r,200),[r]),{value:c,realValue:d,updateValue:p,color:h,colorSpace:y,cycleColorSpace:E}=jm(t,u),{presets:v,addPreset:A}=Lm(i,h,y),D=Bm[y],S=!!l?.table?.readonly;return C.createElement(Dm,{"aria-readonly":S},C.createElement(Sm,{startOpen:a,trigger:S?[null]:void 0,closeOnOutsideClick:!0,onVisibleChange:()=>A(h),tooltip:C.createElement(wm,null,C.createElement(D,{color:d==="transparent"?"#000000":d,onChange:p,onFocus:n,onBlur:o}),v.length>0&&C.createElement(xm,null,v.map((F,x)=>C.createElement(Sr,{key:`${F.value}-${x}`,hasChrome:!1,tooltip:C.createElement(Cm,{note:F.keyword||F.value})},C.createElement(Au,{value:F[y],active:h&&Zr(F[y])===Zr(h[y]),onClick:()=>p(F.value)})))))},C.createElement(Au,{value:d,style:{margin:4}})),C.createElement(Im,{id:Oo(e),value:c,onChange:F=>p(F.target.value),onFocus:F=>F.target.select(),readOnly:S,placeholder:"Choose color..."}),c?C.createElement(km,{onClick:E}):null)},Mm=Bu});V();J();H();V();J();H();V();J();H();Xt();Qt();V();J();H();V();J();H();V();J();H();var Kd=Object.defineProperty,ce=(e,t)=>Kd(e,"name",{value:t,configurable:!0});function pe(e){for(var t=[],r=1;r` - ${a}`).join(` +`)}`),`${o}${i!=null?` + +More info: ${i} +`:""}`}};ce(ka,"StorybookError");var be=ka,Yd=(e=>(e.BLOCKS="BLOCKS",e.DOCS_TOOLS="DOCS-TOOLS",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.FRAMEWORK_NEXTJS="FRAMEWORK_NEXTJS",e.ADDON_VITEST="ADDON_VITEST",e))(Yd||{}),Oa=class extends be{constructor(t){super({category:"PREVIEW_API",code:1,message:pe` + Couldn't find story matching id '${t.storyId}' after HMR. + - Did you just rename a story? + - Did you remove it from your CSF file? + - Are you sure a story with the id '${t.storyId}' exists? + - Please check the values in the stories field of your main.js config and see if they would match your CSF File. + - Also check the browser console and terminal for potential error messages.`}),this.data=t}};ce(Oa,"MissingStoryAfterHmrError");var _a=Oa,Xd=class extends be{constructor(t){super({category:"PREVIEW_API",code:2,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function",message:pe` + We detected that you use an implicit action arg while ${t.phase} of your story. + ${t.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: { + ${t.name}: fn() + }`}),this.data=t}};ce(Xd,"ImplicitActionsDuringRendering");var Pa=class extends be{constructor(){super({category:"PREVIEW_API",code:3,message:pe` + Cannot call \`storyStore.extract()\` without calling \`storyStore.cacheAllCsfFiles()\` first. + + You probably meant to call \`await preview.extract()\` which does the above for you.`})}};ce(Pa,"CalledExtractOnStoreError");var Ba=Pa,Na=class extends be{constructor(){super({category:"PREVIEW_API",code:4,message:pe` + Expected your framework's preset to export a \`renderToCanvas\` field. + + Perhaps it needs to be upgraded for Storybook 7.0?`,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#mainjs-framework-field"})}};ce(Na,"MissingRenderToCanvasError");var ja=Na,La=class extends be{constructor(t){super({category:"PREVIEW_API",code:5,message:pe` + Called \`Preview.${t.methodName}()\` before initialization. + + The preview needs to load the story index before most methods can be called. If you want + to call \`${t.methodName}\`, try \`await preview.initializationPromise;\` first. + + If you didn't call the above code, then likely it was called by an addon that needs to + do the above.`}),this.data=t}};ce(La,"CalledPreviewMethodBeforeInitializationError");var ke=La,Ma=class extends be{constructor(t){super({category:"PREVIEW_API",code:6,message:pe` + Error fetching \`/index.json\`: + + ${t.text} + + If you are in development, this likely indicates a problem with your Storybook process, + check the terminal for errors. + + If you are in a deployed Storybook, there may have been an issue deploying the full Storybook + build.`}),this.data=t}};ce(Ma,"StoryIndexFetchError");var Ua=Ma,$a=class extends be{constructor(t){super({category:"PREVIEW_API",code:7,message:pe` + Tried to render docs entry ${t.storyId} but it is a MDX file that has no CSF + references, or autodocs for a CSF file that some doesn't refer to itself. + + This likely is an internal error in Storybook's indexing, or you've attached the + \`attached-mdx\` tag to an MDX file that is not attached.`}),this.data=t}};ce($a,"MdxFileWithNoCsfReferencesError");var qa=$a,Va=class extends be{constructor(){super({category:"PREVIEW_API",code:8,message:pe` + Couldn't find any stories in your Storybook. + + - Please check your stories field of your main.js config: does it match correctly? + - Also check the browser console and terminal for error messages.`})}};ce(Va,"EmptyIndexError");var Ja=Va,Ha=class extends be{constructor(t){super({category:"PREVIEW_API",code:9,message:pe` + Couldn't find story matching '${t.storySpecifier}'. + + - Are you sure a story with that id exists? + - Please check your stories field of your main.js config. + - Also check the browser console and terminal for error messages.`}),this.data=t}};ce(Ha,"NoStoryMatchError");var za=Ha,Ga=class extends be{constructor(t){super({category:"PREVIEW_API",code:10,message:pe` + Couldn't find story matching id '${t.storyId}' after importing a CSF file. + + The file was indexed as if the story was there, but then after importing the file in the browser + we didn't find the story. Possible reasons: + - You are using a custom story indexer that is misbehaving. + - You have a custom file loader that is removing or renaming exports. + + Please check your browser console and terminal for errors that may explain the issue.`}),this.data=t}};ce(Ga,"MissingStoryFromCsfFileError");var Wa=Ga,Ka=class extends be{constructor(){super({category:"PREVIEW_API",code:11,message:pe` + Cannot access the Story Store until the index is ready. + + It is not recommended to use methods directly on the Story Store anyway, in Storybook 9 we will + remove access to the store entirely`})}};ce(Ka,"StoryStoreAccessedBeforeInitializationError");var Ya=Ka,Xa=class extends be{constructor(t){super({category:"PREVIEW_API",code:12,message:pe` + Incorrect use of mount in the play function. + + To use mount in the play function, you must satisfy the following two requirements: + + 1. You *must* destructure the mount property from the \`context\` (the argument passed to your play function). + This makes sure that Storybook does not start rendering the story before the play function begins. + + 2. Your Storybook framework or builder must be configured to transpile to ES2017 or newer. + This is because destructuring statements and async/await usages are otherwise transpiled away, + which prevents Storybook from recognizing your usage of \`mount\`. + + Note that Angular is not supported. As async/await is transpiled to support the zone.js polyfill. + + More info: https://storybook.js.org/docs/writing-tests/interaction-testing#run-code-before-the-component-gets-rendered + + Received the following play function: + ${t.playFunction}`}),this.data=t}};ce(Xa,"MountMustBeDestructuredError");var wr=Xa,Qa=class extends be{constructor(t){super({category:"PREVIEW_API",code:14,message:pe` + No render function available for storyId '${t.id}' + `}),this.data=t}};ce(Qa,"NoRenderFunctionError");var Za=Qa,ei=class extends be{constructor(){super({category:"PREVIEW_API",code:15,message:pe` + No component is mounted in your story. + + This usually occurs when you destructure mount in the play function, but forget to call it. + + For example: + + async play({ mount, canvasElement }) { + // 👈 mount should be called: await mount(); + const canvas = within(canvasElement); + const button = await canvas.findByRole('button'); + await userEvent.click(button); + }; + + Make sure to either remove it or call mount in your play function. + `})}};ce(ei,"NoStoryMountedError");var ti=ei,Qd=class extends be{constructor(){super({category:"FRAMEWORK_NEXTJS",code:1,documentation:"https://storybook.js.org/docs/get-started/nextjs#faq",message:pe` + You are importing avif images, but you don't have sharp installed. + + You have to install sharp in order to use image optimization features in Next.js. + `})}};ce(Qd,"NextJsSharpError");var Zd=class extends be{constructor(t){super({category:"FRAMEWORK_NEXTJS",code:2,message:pe` + Tried to access router mocks from "${t.importType}" but they were not created yet. You might be running code in an unsupported environment. + `}),this.data=t}};ce(Zd,"NextjsRouterMocksNotAvailable");var ri=class extends be{constructor(t){super({category:"DOCS-TOOLS",code:1,documentation:"https://github.com/storybookjs/storybook/issues/26606",message:pe` + There was a failure when generating detailed ArgTypes in ${t.language} for: + ${JSON.stringify(t.type,null,2)} + + Storybook will fall back to use a generic type description instead. + + This type is either not supported or it is a bug in the docgen generation in Storybook. + If you think this is a bug, please detail it as much as possible in the Github issue. + `}),this.data=t}};ce(ri,"UnknownArgTypesError");var Cr=ri,ep=class extends be{constructor(t){super({category:"ADDON_VITEST",code:1,message:pe` + Encountered an unsupported value "${t.value}" when setting the viewport ${t.dimension} dimension. + + The Storybook plugin only supports values in the following units: + - px, vh, vw, em, rem and %. + + You can either change the viewport for this story to use one of the supported units or skip the test by adding '!test' to the story's tags per https://storybook.js.org/docs/writing-stories/tags + `}),this.data=t}};ce(ep,"UnsupportedViewportDimensionError");var Nt=ed(oi(),1);V();J();H();V();J();H();var ub=__STORYBOOK_CHANNELS__,{Channel:Tr,HEARTBEAT_INTERVAL:cb,HEARTBEAT_MAX_LATENCY:db,PostMessageTransport:pb,WebsocketTransport:hb,createBrowserChannel:fb}=__STORYBOOK_CHANNELS__;V();J();H();var Eb=__STORYBOOK_CLIENT_LOGGER__,{deprecate:Ge,logger:Q,once:ot,pretty:vb}=__STORYBOOK_CLIENT_LOGGER__;V();J();H();var Cb=__STORYBOOK_CORE_EVENTS__,{ARGTYPES_INFO_REQUEST:ai,ARGTYPES_INFO_RESPONSE:xn,CHANNEL_CREATED:xb,CHANNEL_WS_DISCONNECT:Tb,CONFIG_ERROR:ii,CREATE_NEW_STORYFILE_REQUEST:Fb,CREATE_NEW_STORYFILE_RESPONSE:Ib,CURRENT_STORY_WAS_SET:Tn,DOCS_PREPARED:si,DOCS_RENDERED:Fr,FILE_COMPONENT_SEARCH_REQUEST:kb,FILE_COMPONENT_SEARCH_RESPONSE:Rb,FORCE_REMOUNT:li,FORCE_RE_RENDER:Ir,GLOBALS_UPDATED:ft,NAVIGATE_URL:ui,PLAY_FUNCTION_THREW_EXCEPTION:ci,PRELOAD_ENTRIES:di,PREVIEW_BUILDER_PROGRESS:Ob,PREVIEW_KEYDOWN:pi,REGISTER_SUBSCRIPTION:_b,REQUEST_WHATS_NEW_DATA:Pb,RESET_STORY_ARGS:Zt,RESULT_WHATS_NEW_DATA:Bb,SAVE_STORY_REQUEST:Nb,SAVE_STORY_RESPONSE:jb,SELECT_STORY:Lb,SET_CONFIG:Mb,SET_CURRENT_STORY:hi,SET_FILTER:Ub,SET_GLOBALS:fi,SET_INDEX:$b,SET_STORIES:qb,SET_WHATS_NEW_CACHE:Vb,SHARED_STATE_CHANGED:Jb,SHARED_STATE_SET:Hb,STORIES_COLLAPSE_ALL:zb,STORIES_EXPAND_ALL:Gb,STORY_ARGS_UPDATED:Fn,STORY_CHANGED:mi,STORY_ERRORED:yi,STORY_FINISHED:In,STORY_INDEX_INVALIDATED:gi,STORY_MISSING:kn,STORY_PREPARED:bi,STORY_RENDERED:er,STORY_RENDER_PHASE_CHANGED:It,STORY_SPECIFIED:Ei,STORY_THREW_EXCEPTION:vi,STORY_UNCHANGED:Ai,TELEMETRY_ERROR:Wb,TESTING_MODULE_CANCEL_TEST_RUN_REQUEST:Kb,TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE:Yb,TESTING_MODULE_CRASH_REPORT:Xb,TESTING_MODULE_PROGRESS_REPORT:Qb,TESTING_MODULE_RUN_ALL_REQUEST:Zb,TESTING_MODULE_RUN_REQUEST:eE,TOGGLE_WHATS_NEW_NOTIFICATIONS:tE,UNHANDLED_ERRORS_WHILE_PLAYING:Di,UPDATE_GLOBALS:kr,UPDATE_QUERY_PARAMS:Si,UPDATE_STORY_ARGS:tr}=__STORYBOOK_CORE_EVENTS__;V();J();H();var tp=Object.create,On=Object.defineProperty,rp=Object.getOwnPropertyDescriptor,np=Object.getOwnPropertyNames,op=Object.getPrototypeOf,ap=Object.prototype.hasOwnProperty,he=(e,t)=>On(e,"name",{value:t,configurable:!0}),ip=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),sp=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of np(t))!ap.call(e,o)&&o!==r&&On(e,o,{get:()=>t[o],enumerable:!(n=rp(t,o))||n.enumerable});return e},lp=(e,t,r)=>(r=e!=null?tp(op(e)):{},sp(t||!e||!e.__esModule?On(r,"default",{value:e,enumerable:!0}):r,e)),up=ip(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=function(){var t=Object.prototype.toString,r=Object.getPrototypeOf,n=Object.getOwnPropertySymbols?function(o){return Object.keys(o).concat(Object.getOwnPropertySymbols(o))}:Object.keys;return function(o,i){return he(function a(l,u,c){var d,p,h,y=t.call(l),E=t.call(u);if(l===u)return!0;if(l==null||u==null)return!1;if(c.indexOf(l)>-1&&c.indexOf(u)>-1)return!0;if(c.push(l,u),y!=E||(d=n(l),p=n(u),d.length!=p.length||d.some(function(v){return!a(l[v],u[v],c)})))return!1;switch(y.slice(8,-1)){case"Symbol":return l.valueOf()==u.valueOf();case"Date":case"Number":return+l==+u||+l!=+l&&+u!=+u;case"RegExp":case"Function":case"String":case"Boolean":return""+l==""+u;case"Set":case"Map":d=l.entries(),p=u.entries();do if(!a((h=d.next()).value,p.next().value,c))return!1;while(!h.done);return!0;case"ArrayBuffer":l=new Uint8Array(l),u=new Uint8Array(u);case"DataView":l=new Uint8Array(l.buffer),u=new Uint8Array(u.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(l.length!=u.length)return!1;for(h=0;h`${r} ${n}${o}`).replace(/([a-z])([A-Z])/g,(t,r,n)=>`${r} ${n}`).replace(/([a-z])([0-9])/gi,(t,r,n)=>`${r} ${n}`).replace(/([0-9])([a-z])/gi,(t,r,n)=>`${r} ${n}`).replace(/(\s|^)(\w)/g,(t,r,n)=>`${r}${n.toUpperCase()}`).replace(/ +/g," ").trim()}he(xi,"toStartCaseStr");var wi=lp(up(),1),Ti=he(e=>e.map(t=>typeof t<"u").filter(Boolean).length,"count"),cp=he((e,t)=>{let{exists:r,eq:n,neq:o,truthy:i}=e;if(Ti([r,n,o,i])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:r,eq:n,neq:o})}`);if(typeof n<"u")return(0,wi.isEqual)(t,n);if(typeof o<"u")return!(0,wi.isEqual)(t,o);if(typeof r<"u"){let a=typeof t<"u";return r?a:!a}return typeof i>"u"||i?!!t:!t},"testValue"),_n=he((e,t,r)=>{if(!e.if)return!0;let{arg:n,global:o}=e.if;if(Ti([n,o])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:n,global:o})}`);let i=n?t[n]:r[o];return cp(e.if,i)},"includeConditionalArg");function dp(e){let t,r={_tag:"Preview",input:e,get composed(){if(t)return t;let{addons:n,...o}=e;return t=Rt(at([...n??[],o])),t},meta(n){return Fi(n,this)}};return globalThis.globalProjectAnnotations=r.composed,r}he(dp,"__definePreview");function pp(e){return e!=null&&typeof e=="object"&&"_tag"in e&&e?._tag==="Preview"}he(pp,"isPreview");function hp(e){return e!=null&&typeof e=="object"&&"_tag"in e&&e?._tag==="Meta"}he(hp,"isMeta");function Fi(e,t){return{_tag:"Meta",input:e,preview:t,get composed(){throw new Error("Not implemented")},story(r){return Ii(r,this)}}}he(Fi,"defineMeta");function Ii(e,t){return{_tag:"Story",input:e,meta:t,get composed(){throw new Error("Not implemented")}}}he(Ii,"defineStory");function mt(e){return e!=null&&typeof e=="object"&&"_tag"in e&&e?._tag==="Story"}he(mt,"isStory");var Pn=he(e=>e.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,""),"sanitize"),Ci=he((e,t)=>{let r=Pn(e);if(r==="")throw new Error(`Invalid ${t} '${e}', must include alphanumeric characters`);return r},"sanitizeSafe"),ki=he((e,t)=>`${Ci(e,"kind")}${t?`--${Ci(t,"name")}`:""}`,"toId"),Ri=he(e=>xi(e),"storyNameFromExport");function Rn(e,t){return Array.isArray(t)?t.includes(e):e.match(t)}he(Rn,"matches");function kt(e,{includeStories:t,excludeStories:r}){return e!=="__esModule"&&(!t||Rn(e,t))&&(!r||!Rn(e,r))}he(kt,"isExportStory");var sE=he((e,{rootSeparator:t,groupSeparator:r})=>{let[n,o]=e.split(t,2),i=(o||e).split(r).filter(a=>!!a);return{root:o?n:null,groups:i}},"parseKind"),Oi=he((...e)=>{let t=e.reduce((r,n)=>(n.startsWith("!")?r.delete(n.slice(1)):r.add(n),r),new Set);return Array.from(t)},"combineTags");var fp=Object.create,ro=Object.defineProperty,mp=Object.getOwnPropertyDescriptor,yp=Object.getOwnPropertyNames,gp=Object.getPrototypeOf,bp=Object.prototype.hasOwnProperty,m=(e,t)=>ro(e,"name",{value:t,configurable:!0}),Rr=(e=>typeof Ie<"u"?Ie:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof Ie<"u"?Ie:t)[r]}):e)(function(e){if(typeof Ie<"u")return Ie.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),De=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Ep=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of yp(t))!bp.call(e,o)&&o!==r&&ro(e,o,{get:()=>t[o],enumerable:!(n=mp(t,o))||n.enumerable});return e},Bt=(e,t,r)=>(r=e!=null?fp(gp(e)):{},Ep(t||!e||!e.__esModule?ro(r,"default",{value:e,enumerable:!0}):r,e)),Wi=De((e,t)=>{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"||typeof window<"u"?n=window:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){var r,n,o;return m(function i(a,l,u){function c(h,y){if(!l[h]){if(!a[h]){var E=typeof Rr=="function"&&Rr;if(!y&&E)return E(h,!0);if(d)return d(h,!0);var v=new Error("Cannot find module '"+h+"'");throw v.code="MODULE_NOT_FOUND",v}var A=l[h]={exports:{}};a[h][0].call(A.exports,function(D){var S=a[h][1][D];return c(S||D)},A,A.exports,i,a,l,u)}return l[h].exports}m(c,"s");for(var d=typeof Rr=="function"&&Rr,p=0;p=0)return this.lastItem=this.list[d],this.list[d].val},u.prototype.set=function(c,d){var p;return this.lastItem&&this.isEqual(this.lastItem.key,c)?(this.lastItem.val=d,this):(p=this.indexOf(c),p>=0?(this.lastItem=this.list[p],this.list[p].val=d,this):(this.lastItem={key:c,val:d},this.list.push(this.lastItem),this.size++,this))},u.prototype.delete=function(c){var d;if(this.lastItem&&this.isEqual(this.lastItem.key,c)&&(this.lastItem=void 0),d=this.indexOf(c),d>=0)return this.size--,this.list.splice(d,1)[0]},u.prototype.has=function(c){var d;return this.lastItem&&this.isEqual(this.lastItem.key,c)?!0:(d=this.indexOf(c),d>=0?(this.lastItem=this.list[d],!0):!1)},u.prototype.forEach=function(c,d){var p;for(p=0;p0&&(O[x]={cacheItem:D,arg:arguments[x]},R?c(E,O):E.push(O),E.length>h&&d(E.shift())),A.wasMemoized=R,A.numArgs=x+1,F},"memoizerific");return A.limit=h,A.wasMemoized=!1,A.cache=y,A.lru=E,A}};function c(h,y){var E=h.length,v=y.length,A,D,S;for(D=0;D=0&&(E=h[A],v=E.cacheItem.get(E.arg),!v||!v.size);A--)E.cacheItem.delete(E.arg)}m(d,"removeCachedResult");function p(h,y){return h===y||h!==h&&y!==y}m(p,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})}),Ki=De(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.encodeString=n;var t=Array.from({length:256},(o,i)=>"%"+((i<16?"0":"")+i.toString(16)).toUpperCase()),r=new Int8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,1,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,0]);function n(o){let i=o.length;if(i===0)return"";let a="",l=0,u=0;e:for(;u>6]+t[128|c&63];continue}if(c<55296||c>=57344){l=u+1,a+=t[224|c>>12]+t[128|c>>6&63]+t[128|c&63];continue}if(++u,u>=i)throw new Error("URI malformed");let d=o.charCodeAt(u)&1023;l=u+1,c=65536+((c&1023)<<10|d),a+=t[240|c>>18]+t[128|c>>12&63]+t[128|c>>6&63]+t[128|c&63]}return l===0?o:l{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.defaultOptions=e.defaultShouldSerializeObject=e.defaultValueSerializer=void 0;var t=Ki(),r=m(i=>{switch(typeof i){case"string":return(0,t.encodeString)(i);case"bigint":case"boolean":return""+i;case"number":if(Number.isFinite(i))return i<1e21?""+i:(0,t.encodeString)(""+i);break}return i instanceof Date?(0,t.encodeString)(i.toISOString()):""},"defaultValueSerializer");e.defaultValueSerializer=r;var n=m(i=>i instanceof Date,"defaultShouldSerializeObject");e.defaultShouldSerializeObject=n;var o=m(i=>i,"identityFunc");e.defaultOptions={nesting:!0,nestingSyntax:"dot",arrayRepeat:!1,arrayRepeatSyntax:"repeat",delimiter:38,valueDeserializer:o,valueSerializer:e.defaultValueSerializer,keyDeserializer:o,shouldSerializeObject:e.defaultShouldSerializeObject}}),Yi=De(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getDeepObject=o,e.stringifyObject=d;var t=no(),r=Ki();function n(p){return p==="__proto__"||p==="constructor"||p==="prototype"}m(n,"isPrototypeKey");function o(p,h,y,E,v){if(n(h))return p;let A=p[h];return typeof A=="object"&&A!==null?A:!E&&(v||typeof y=="number"||typeof y=="string"&&y*0===0&&y.indexOf(".")===-1)?p[h]=[]:p[h]={}}m(o,"getDeepObject");var i=20,a="[]",l="[",u="]",c=".";function d(p,h,y=0,E,v){let{nestingSyntax:A=t.defaultOptions.nestingSyntax,arrayRepeat:D=t.defaultOptions.arrayRepeat,arrayRepeatSyntax:S=t.defaultOptions.arrayRepeatSyntax,nesting:F=t.defaultOptions.nesting,delimiter:x=t.defaultOptions.delimiter,valueSerializer:O=t.defaultOptions.valueSerializer,shouldSerializeObject:R=t.defaultOptions.shouldSerializeObject}=h,N=typeof x=="number"?String.fromCharCode(x):x,j=v===!0&&D,U=A==="dot"||A==="js"&&!v;if(y>i)return"";let P="",K=!0,L=!1;for(let z in p){let b=p[z],w;E?(w=E,j?S==="bracket"&&(w+=a):U?(w+=c,w+=z):(w+=l,w+=z,w+=u)):w=z,K||(P+=N),typeof b=="object"&&b!==null&&!R(b)?(L=b.pop!==void 0,(F||D&&L)&&(P+=d(b,h,y+1,w,L))):(P+=(0,r.encodeString)(w),P+="=",P+=O(b,z)),K&&(K=!1)}return P}m(d,"stringifyObject")}),vp=De((e,t)=>{"use strict";var r=12,n=0,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,7,7,7,7,7,7,7,7,7,7,7,7,8,7,7,10,9,9,9,11,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,24,36,48,60,72,84,96,0,12,12,12,0,0,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0,0,24,24,24,0,0,0,0,0,0,0,0,0,24,24,0,0,0,0,0,0,0,0,0,0,48,48,48,0,0,0,0,0,0,0,0,0,0,48,48,0,0,0,0,0,0,0,0,0,48,0,0,0,0,0,0,0,0,0,0,127,63,63,63,0,31,15,15,15,7,7,7];function i(u){var c=u.indexOf("%");if(c===-1)return u;for(var d=u.length,p="",h=0,y=0,E=c,v=r;c>-1&&c>10),56320+(y&1023)),y=0,h=c+3,c=E=u.indexOf("%",h);else{if(v===n)return null;if(c+=3,c{"use strict";var t=e&&e.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(e,"__esModule",{value:!0}),e.numberValueDeserializer=e.numberKeyDeserializer=void 0,e.parse=d;var r=Yi(),n=no(),o=t(vp()),i=m(p=>{let h=Number(p);return Number.isNaN(h)?p:h},"numberKeyDeserializer");e.numberKeyDeserializer=i;var a=m(p=>{let h=Number(p);return Number.isNaN(h)?p:h},"numberValueDeserializer");e.numberValueDeserializer=a;var l=/\+/g,u=m(function(){},"Empty");u.prototype=Object.create(null);function c(p,h,y,E,v){let A=p.substring(h,y);return E&&(A=A.replace(l," ")),v&&(A=(0,o.default)(A)||A),A}m(c,"computeKeySlice");function d(p,h){let{valueDeserializer:y=n.defaultOptions.valueDeserializer,keyDeserializer:E=n.defaultOptions.keyDeserializer,arrayRepeatSyntax:v=n.defaultOptions.arrayRepeatSyntax,nesting:A=n.defaultOptions.nesting,arrayRepeat:D=n.defaultOptions.arrayRepeat,nestingSyntax:S=n.defaultOptions.nestingSyntax,delimiter:F=n.defaultOptions.delimiter}=h??{},x=typeof F=="string"?F.charCodeAt(0):F,O=S==="js",R=new u;if(typeof p!="string")return R;let N=p.length,j="",U=-1,P=-1,K=-1,L=R,z,b="",w="",I=!1,M=!1,$=!1,Y=!1,re=!1,Z=!1,X=!1,ee=0,ge=-1,ue=-1,Se=-1;for(let ne=0;neU,X||(P=ne),K!==P-1&&(w=c(p,K+1,ge>-1?ge:P,$,I),b=E(w),z!==void 0&&(L=(0,r.getDeepObject)(L,z,b,O&&re,O&&Z))),X||b!==""){X&&(j=p.slice(P+1,ne),Y&&(j=j.replace(l," ")),M&&(j=(0,o.default)(j)||j));let je=y(j,b);if(D){let Re=L[b];Re===void 0?ge>-1?L[b]=[je]:L[b]=je:Re.pop?Re.push(je):L[b]=[Re,je]}else L[b]=je}j="",U=ne,P=ne,I=!1,M=!1,$=!1,Y=!1,re=!1,Z=!1,ge=-1,K=ne,L=R,z=void 0,b=""}else ee===93?(D&&v==="bracket"&&Se===91&&(ge=ue),A&&(S==="index"||O)&&P<=U&&(K!==ue&&(w=c(p,K+1,ne,$,I),b=E(w),z!==void 0&&(L=(0,r.getDeepObject)(L,z,b,void 0,O)),z=b,$=!1,I=!1),K=ne,Z=!0,re=!1)):ee===46?A&&(S==="dot"||O)&&P<=U&&(K!==ue&&(w=c(p,K+1,ne,$,I),b=E(w),z!==void 0&&(L=(0,r.getDeepObject)(L,z,b,O)),z=b,$=!1,I=!1),re=!0,Z=!1,K=ne):ee===91?A&&(S==="index"||O)&&P<=U&&(K!==ue&&(w=c(p,K+1,ne,$,I),b=E(w),O&&z!==void 0&&(L=(0,r.getDeepObject)(L,z,b,O)),z=b,$=!1,I=!1,re=!1,Z=!0),K=ne):ee===61?P<=U?P=ne:M=!0:ee===43?P>U?Y=!0:$=!0:ee===37&&(P>U?M=!0:I=!0);ue=ne,Se=ee}return R}m(d,"parse")}),Dp=De(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=r;var t=Yi();function r(n,o){if(n===null||typeof n!="object")return"";let i=o??{};return(0,t.stringifyObject)(n,i)}m(r,"stringify")}),oo=De(e=>{"use strict";var t=e&&e.__createBinding||(Object.create?function(i,a,l,u){u===void 0&&(u=l);var c=Object.getOwnPropertyDescriptor(a,l);(!c||("get"in c?!a.__esModule:c.writable||c.configurable))&&(c={enumerable:!0,get:m(function(){return a[l]},"get")}),Object.defineProperty(i,u,c)}:function(i,a,l,u){u===void 0&&(u=l),i[u]=a[l]}),r=e&&e.__exportStar||function(i,a){for(var l in i)l!=="default"&&!Object.prototype.hasOwnProperty.call(a,l)&&t(a,i,l)};Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=e.parse=void 0;var n=Ap();Object.defineProperty(e,"parse",{enumerable:!0,get:m(function(){return n.parse},"get")});var o=Dp();Object.defineProperty(e,"stringify",{enumerable:!0,get:m(function(){return o.stringify},"get")}),r(no(),e)}),Xi=De((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"}}),Sp=De((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"}}),Qi=De((e,t)=>{t.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}}),wp=De((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}}),Cp=De(e=>{"use strict";var t=e&&e.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(e,"__esModule",{value:!0});var r=t(wp()),n=String.fromCodePoint||function(i){var a="";return i>65535&&(i-=65536,a+=String.fromCharCode(i>>>10&1023|55296),i=56320|i&1023),a+=String.fromCharCode(i),a};function o(i){return i>=55296&&i<=57343||i>1114111?"\uFFFD":(i in r.default&&(i=r.default[i]),n(i))}m(o,"decodeCodePoint"),e.default=o}),_i=De(e=>{"use strict";var t=e&&e.__importDefault||function(d){return d&&d.__esModule?d:{default:d}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeHTML=e.decodeHTMLStrict=e.decodeXML=void 0;var r=t(Xi()),n=t(Sp()),o=t(Qi()),i=t(Cp()),a=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;e.decodeXML=l(o.default),e.decodeHTMLStrict=l(r.default);function l(d){var p=c(d);return function(h){return String(h).replace(a,p)}}m(l,"getStrictDecoder");var u=m(function(d,p){return d{"use strict";var t=e&&e.__importDefault||function(S){return S&&S.__esModule?S:{default:S}};Object.defineProperty(e,"__esModule",{value:!0}),e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=void 0;var r=t(Qi()),n=u(r.default),o=c(n);e.encodeXML=D(n);var i=t(Xi()),a=u(i.default),l=c(a);e.encodeHTML=y(a,l),e.encodeNonAsciiHTML=D(a);function u(S){return Object.keys(S).sort().reduce(function(F,x){return F[S[x]]="&"+x+";",F},{})}m(u,"getInverseObj");function c(S){for(var F=[],x=[],O=0,R=Object.keys(S);O1?p(S):S.charCodeAt(0)).toString(16).toUpperCase()+";"}m(h,"singleCharReplacer");function y(S,F){return function(x){return x.replace(F,function(O){return S[O]}).replace(d,h)}}m(y,"getInverse");var E=new RegExp(o.source+"|"+d.source,"g");function v(S){return S.replace(E,h)}m(v,"escape"),e.escape=v;function A(S){return S.replace(o,h)}m(A,"escapeUTF8"),e.escapeUTF8=A;function D(S){return function(F){return F.replace(E,function(x){return S[x]||h(x)})}}m(D,"getASCIIEncoder")}),xp=De(e=>{"use strict";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=_i(),r=Pi();function n(u,c){return(!c||c<=0?t.decodeXML:t.decodeHTML)(u)}m(n,"decode"),e.decode=n;function o(u,c){return(!c||c<=0?t.decodeXML:t.decodeHTMLStrict)(u)}m(o,"decodeStrict"),e.decodeStrict=o;function i(u,c){return(!c||c<=0?r.encodeXML:r.encodeHTML)(u)}m(i,"encode"),e.encode=i;var a=Pi();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:m(function(){return a.encodeXML},"get")}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:m(function(){return a.encodeHTML},"get")}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:m(function(){return a.encodeNonAsciiHTML},"get")}),Object.defineProperty(e,"escape",{enumerable:!0,get:m(function(){return a.escape},"get")}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:m(function(){return a.escapeUTF8},"get")}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:m(function(){return a.encodeHTML},"get")}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:m(function(){return a.encodeHTML},"get")});var l=_i();Object.defineProperty(e,"decodeXML",{enumerable:!0,get:m(function(){return l.decodeXML},"get")}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:m(function(){return l.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:m(function(){return l.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:m(function(){return l.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:m(function(){return l.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:m(function(){return l.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:m(function(){return l.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:m(function(){return l.decodeXML},"get")})}),Tp=De((e,t)=>{"use strict";function r(b,w){if(!(b instanceof w))throw new TypeError("Cannot call a class as a function")}m(r,"_classCallCheck");function n(b,w){for(var I=0;I=b.length?{done:!0}:{done:!1,value:b[M++]}},"n"),e:m(function(X){throw X},"e"),f:$}}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 Y=!0,re=!1,Z;return{s:m(function(){I=I.call(b)},"s"),n:m(function(){var X=I.next();return Y=X.done,X},"n"),e:m(function(X){re=!0,Z=X},"e"),f:m(function(){try{!Y&&I.return!=null&&I.return()}finally{if(re)throw Z}},"f")}}m(i,"_createForOfIteratorHelper");function a(b,w){if(b){if(typeof b=="string")return l(b,w);var I=Object.prototype.toString.call(b).slice(8,-1);if(I==="Object"&&b.constructor&&(I=b.constructor.name),I==="Map"||I==="Set")return Array.from(b);if(I==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(I))return l(b,w)}}m(a,"_unsupportedIterableToArray");function l(b,w){(w==null||w>b.length)&&(w=b.length);for(var I=0,M=new Array(w);I0?b*40+55:0,re=w>0?w*40+55:0,Z=I>0?I*40+55:0;M[$]=y([Y,re,Z])}m(p,"setStyleColor");function h(b){for(var w=b.toString(16);w.length<2;)w="0"+w;return w}m(h,"toHexString");function y(b){var w=[],I=i(b),M;try{for(I.s();!(M=I.n()).done;){var $=M.value;w.push(h($))}}catch(Y){I.e(Y)}finally{I.f()}return"#"+w.join("")}m(y,"toColorHexString");function E(b,w,I,M){var $;return w==="text"?$=O(I,M):w==="display"?$=A(b,I,M):w==="xterm256Foreground"?$=j(b,M.colors[I]):w==="xterm256Background"?$=U(b,M.colors[I]):w==="rgb"&&($=v(b,I)),$}m(E,"generateOutput");function v(b,w){w=w.substring(2).slice(0,-1);var I=+w.substr(0,2),M=w.substring(5).split(";"),$=M.map(function(Y){return("0"+Number(Y).toString(16)).substr(-2)}).join("");return N(b,(I===38?"color:#":"background-color:#")+$)}m(v,"handleRgb");function A(b,w,I){w=parseInt(w,10);var M={"-1":m(function(){return"
"},"_"),0:m(function(){return b.length&&D(b)},"_"),1:m(function(){return R(b,"b")},"_"),3:m(function(){return R(b,"i")},"_"),4:m(function(){return R(b,"u")},"_"),8:m(function(){return N(b,"display:none")},"_"),9:m(function(){return R(b,"strike")},"_"),22:m(function(){return N(b,"font-weight:normal;text-decoration:none;font-style:normal")},"_"),23:m(function(){return P(b,"i")},"_"),24:m(function(){return P(b,"u")},"_"),39:m(function(){return j(b,I.fg)},"_"),49:m(function(){return U(b,I.bg)},"_"),53:m(function(){return N(b,"text-decoration:overline")},"_")},$;return M[w]?$=M[w]():4"}).join("")}m(D,"resetStyles");function S(b,w){for(var I=[],M=b;M<=w;M++)I.push(M);return I}m(S,"range");function F(b){return function(w){return(b===null||w.category!==b)&&b!=="all"}}m(F,"notCategory");function x(b){b=parseInt(b,10);var w=null;return b===0?w="all":b===1?w="bold":2")}m(R,"pushTag");function N(b,w){return R(b,"span",w)}m(N,"pushStyle");function j(b,w){return R(b,"span","color:"+w)}m(j,"pushForegroundColor");function U(b,w){return R(b,"span","background-color:"+w)}m(U,"pushBackgroundColor");function P(b,w){var I;if(b.slice(-1)[0]===w&&(I=b.pop()),I)return""}m(P,"closeTag");function K(b,w,I){var M=!1,$=3;function Y(){return""}m(Y,"remove");function re(Fe,Te){return I("xterm256Foreground",Te),""}m(re,"removeXterm256Foreground");function Z(Fe,Te){return I("xterm256Background",Te),""}m(Z,"removeXterm256Background");function X(Fe){return w.newline?I("display",-1):I("text",Fe),""}m(X,"newline");function ee(Fe,Te){M=!0,Te.trim().length===0&&(Te="0"),Te=Te.trimRight(";").split(";");var Xe=i(Te),xt;try{for(Xe.s();!(xt=Xe.n()).done;){var Er=xt.value;I("display",Er)}}catch(pn){Xe.e(pn)}finally{Xe.f()}return""}m(ee,"ansiMess");function ge(Fe){return I("text",Fe),""}m(ge,"realText");function ue(Fe){return I("rgb",Fe),""}m(ue,"rgb");var Se=[{pattern:/^\x08+/,sub:Y},{pattern:/^\x1b\[[012]?K/,sub:Y},{pattern:/^\x1b\[\(B/,sub:Y},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:ue},{pattern:/^\x1b\[38;5;(\d+)m/,sub:re},{pattern:/^\x1b\[48;5;(\d+)m/,sub:Z},{pattern:/^\n/,sub:X},{pattern:/^\r+\n/,sub:X},{pattern:/^\r/,sub:X},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:ee},{pattern:/^\x1b\[\d?J/,sub:Y},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:Y},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:Y},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:ge}];function ne(Fe,Te){Te>$&&M||(M=!1,b=b.replace(Fe.pattern,Fe.sub))}m(ne,"process");var je=[],Re=b,Je=Re.length;e:for(;Je>0;){for(var Ht=0,Ct=0,zt=Se.length;Ct{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})();function Zi(){let e={setHandler:m(()=>{},"setHandler"),send:m(()=>{},"send")};return new Tr({transport:e})}m(Zi,"mockChannel");var es=class{constructor(){this.getChannel=m(()=>{if(!this.channel){let t=Zi();return this.setChannel(t),t}return this.channel},"getChannel"),this.ready=m(()=>this.promise,"ready"),this.hasChannel=m(()=>!!this.channel,"hasChannel"),this.setChannel=m(t=>{this.channel=t,this.resolve()},"setChannel"),this.promise=new Promise(t=>{this.resolve=()=>t(this.getChannel())})}};m(es,"AddonStore");var Fp=es,Bn="__STORYBOOK_ADDONS_PREVIEW";function ts(){return Ee[Bn]||(Ee[Bn]=new Fp),Ee[Bn]}m(ts,"getAddonsStore");var bt=ts();function Ip(e){return e}m(Ip,"definePreview");var rs=class{constructor(){this.hookListsMap=void 0,this.mountedDecorators=void 0,this.prevMountedDecorators=void 0,this.currentHooks=void 0,this.nextHookIndex=void 0,this.currentPhase=void 0,this.currentEffects=void 0,this.prevEffects=void 0,this.currentDecoratorName=void 0,this.hasUpdates=void 0,this.currentContext=void 0,this.renderListener=m(t=>{t===this.currentContext?.id&&(this.triggerEffects(),this.currentContext=null,this.removeRenderListeners())},"renderListener"),this.init()}init(){this.hookListsMap=new WeakMap,this.mountedDecorators=new Set,this.prevMountedDecorators=new Set,this.currentHooks=[],this.nextHookIndex=0,this.currentPhase="NONE",this.currentEffects=[],this.prevEffects=[],this.currentDecoratorName=null,this.hasUpdates=!1,this.currentContext=null}clean(){this.prevEffects.forEach(t=>{t.destroy&&t.destroy()}),this.init(),this.removeRenderListeners()}getNextHook(){let t=this.currentHooks[this.nextHookIndex];return this.nextHookIndex+=1,t}triggerEffects(){this.prevEffects.forEach(t=>{!this.currentEffects.includes(t)&&t.destroy&&t.destroy()}),this.currentEffects.forEach(t=>{this.prevEffects.includes(t)||(t.destroy=t.create())}),this.prevEffects=this.currentEffects,this.currentEffects=[]}addRenderListeners(){this.removeRenderListeners(),bt.getChannel().on(er,this.renderListener)}removeRenderListeners(){bt.getChannel().removeListener(er,this.renderListener)}};m(rs,"HooksContext");var ns=rs;function qn(e){let t=m((...r)=>{let{hooks:n}=typeof r[0]=="function"?r[1]:r[0],o=n.currentPhase,i=n.currentHooks,a=n.nextHookIndex,l=n.currentDecoratorName;n.currentDecoratorName=e.name,n.prevMountedDecorators.has(e)?(n.currentPhase="UPDATE",n.currentHooks=n.hookListsMap.get(e)||[]):(n.currentPhase="MOUNT",n.currentHooks=[],n.hookListsMap.set(e,n.currentHooks),n.prevMountedDecorators.add(e)),n.nextHookIndex=0;let u=Ee.STORYBOOK_HOOKS_CONTEXT;Ee.STORYBOOK_HOOKS_CONTEXT=n;let c=e(...r);if(Ee.STORYBOOK_HOOKS_CONTEXT=u,n.currentPhase==="UPDATE"&&n.getNextHook()!=null)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return n.currentPhase=o,n.currentHooks=i,n.nextHookIndex=a,n.currentDecoratorName=l,c},"hookified");return t.originalFn=e,t}m(qn,"hookify");var Nn=0,kp=25,Rp=m(e=>(t,r)=>{let n=e(qn(t),r.map(o=>qn(o)));return o=>{let{hooks:i}=o;i.prevMountedDecorators??=new Set,i.mountedDecorators=new Set([t,...r]),i.currentContext=o,i.hasUpdates=!1;let a=n(o);for(Nn=1;i.hasUpdates;)if(i.hasUpdates=!1,i.currentEffects=[],a=n(o),Nn+=1,Nn>kp)throw new Error("Too many re-renders. Storybook limits the number of renders to prevent an infinite loop.");return i.addRenderListeners(),a}},"applyHooks"),Op=m((e,t)=>e.length===t.length&&e.every((r,n)=>r===t[n]),"areDepsEqual"),ao=m(()=>new Error("Storybook preview hooks can only be called inside decorators and story functions."),"invalidHooksError");function io(){return Ee.STORYBOOK_HOOKS_CONTEXT||null}m(io,"getHooksContextOrNull");function Ur(){let e=io();if(e==null)throw ao();return e}m(Ur,"getHooksContextOrThrow");function os(e,t,r){let n=Ur();if(n.currentPhase==="MOUNT"){r!=null&&!Array.isArray(r)&&Q.warn(`${e} received a final argument that is not an array (instead, received ${r}). When specified, the final argument must be an array.`);let o={name:e,deps:r};return n.currentHooks.push(o),t(o),o}if(n.currentPhase==="UPDATE"){let o=n.getNextHook();if(o==null)throw new Error("Rendered more hooks than during the previous render.");return o.name!==e&&Q.warn(`Storybook has detected a change in the order of Hooks${n.currentDecoratorName?` called by ${n.currentDecoratorName}`:""}. This will lead to bugs and errors if not fixed.`),r!=null&&o.deps==null&&Q.warn(`${e} received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.`),r!=null&&o.deps!=null&&r.length!==o.deps.length&&Q.warn(`The final argument passed to ${e} changed size between renders. The order and size of this array must remain constant. +Previous: ${o.deps} +Incoming: ${r}`),(r==null||o.deps==null||!Op(r,o.deps))&&(t(o),o.deps=r),o}throw ao()}m(os,"useHook");function ar(e,t,r){let{memoizedState:n}=os(e,o=>{o.memoizedState=t()},r);return n}m(ar,"useMemoLike");function _p(e,t){return ar("useMemo",e,t)}m(_p,"useMemo");function or(e,t){return ar("useCallback",()=>e,t)}m(or,"useCallback");function so(e,t){return ar(e,()=>({current:t}),[])}m(so,"useRefLike");function Pp(e){return so("useRef",e)}m(Pp,"useRef");function as(){let e=io();if(e!=null&&e.currentPhase!=="NONE")e.hasUpdates=!0;else try{bt.getChannel().emit(Ir)}catch{Q.warn("State updates of Storybook preview hooks work only in browser")}}m(as,"triggerUpdate");function lo(e,t){let r=so(e,typeof t=="function"?t():t),n=m(o=>{r.current=typeof o=="function"?o(r.current):o,as()},"setState");return[r.current,n]}m(lo,"useStateLike");function uo(e){return lo("useState",e)}m(uo,"useState");function Bp(e,t,r){let n=r!=null?()=>r(t):t,[o,i]=lo("useReducer",n);return[o,m(a=>i(l=>e(l,a)),"dispatch")]}m(Bp,"useReducer");function $r(e,t){let r=Ur(),n=ar("useEffect",()=>({create:e}),t);r.currentEffects.includes(n)||r.currentEffects.push(n)}m($r,"useEffect");function Np(e,t=[]){let r=bt.getChannel();return $r(()=>(Object.entries(e).forEach(([n,o])=>r.on(n,o)),()=>{Object.entries(e).forEach(([n,o])=>r.removeListener(n,o))}),[...Object.keys(e),...t]),or(r.emit.bind(r),[r])}m(Np,"useChannel");function qr(){let{currentContext:e}=Ur();if(e==null)throw ao();return e}m(qr,"useStoryContext");function jp(e,t){let{parameters:r}=qr();if(e)return r[e]??t}m(jp,"useParameter");function Lp(){let e=bt.getChannel(),{id:t,args:r}=qr(),n=or(i=>e.emit(tr,{storyId:t,updatedArgs:i}),[e,t]),o=or(i=>e.emit(Zt,{storyId:t,argNames:i}),[e,t]);return[r,n,o]}m(Lp,"useArgs");function Mp(){let e=bt.getChannel(),{globals:t}=qr(),r=or(n=>e.emit(kr,{globals:n}),[e]);return[t,r]}m(Mp,"useGlobals");var gE=m(({name:e,parameterName:t,wrapper:r,skipIfNoParametersOrOptions:n=!1})=>{let o=m(i=>(a,l)=>{let u=l.parameters&&l.parameters[t];return u&&u.disable||n&&!i&&!u?a(l):r(a,l,{options:i,parameters:u})},"decorator");return(...i)=>typeof i[0]=="function"?o()(...i):(...a)=>{if(a.length>1)return i.length>1?o(i)(...a):o(...i)(...a);throw new Error(`Passing stories directly into ${e}() is not allowed, + instead use addDecorator(${e}) and pass options with the '${t}' parameter`)}},"makeDecorator");function fe(e){for(var t=[],r=1;r(this.debug("getState",{state:this.state}),this.state),"getState"),this.subscribe=m((n,o)=>{let i=typeof n=="function",a=i?"*":n,l=i?n:o;if(this.debug("subscribe",{eventType:a,listener:l}),!l)throw new TypeError(`Missing first subscribe argument, or second if first is the event type, when subscribing to a UniversalStore with id '${this.id}'`);return this.listeners.has(a)||this.listeners.set(a,new Set),this.listeners.get(a).add(l),()=>{this.debug("unsubscribe",{eventType:a,listener:l}),this.listeners.has(a)&&(this.listeners.get(a).delete(l),this.listeners.get(a)?.size===0&&this.listeners.delete(a))}},"subscribe"),this.send=m(n=>{if(this.debug("send",{event:n}),this.status!==G.Status.READY)throw new TypeError(fe`Cannot send event before store is ready. You can get the current status with store.status, + or await store.readyPromise to wait for the store to be ready before sending events. + ${JSON.stringify({event:n,id:this.id,actor:this.actor,environment:this.environment},null,2)}`);this.emitToListeners(n,{actor:this.actor}),this.emitToChannel(n,{actor:this.actor})},"send"),this.debugging=t.debug??!1,!G.isInternalConstructing)throw new TypeError("UniversalStore is not constructable - use UniversalStore.create() instead");if(G.isInternalConstructing=!1,this.id=t.id,this.actorId=globalThis.crypto?globalThis.crypto.randomUUID():Date.now().toString(36)+Math.random().toString(36).substring(2),this.actorType=t.leader?G.ActorType.LEADER:G.ActorType.FOLLOWER,this.state=t.initialState,this.channelEventName=`${$p}${this.id}`,this.debug("constructor",{options:t,environmentOverrides:r,channelEventName:this.channelEventName}),this.actor.type===G.ActorType.LEADER)this.syncing={state:Pe.RESOLVED,promise:Promise.resolve()};else{let n,o,i=new Promise((a,l)=>{n=m(()=>{this.syncing.state===Pe.PENDING&&(this.syncing.state=Pe.RESOLVED,a())},"syncingResolve"),o=m(u=>{this.syncing.state===Pe.PENDING&&(this.syncing.state=Pe.REJECTED,l(u))},"syncingReject")});this.syncing={state:Pe.PENDING,promise:i,resolve:n,reject:o}}this.getState=this.getState.bind(this),this.setState=this.setState.bind(this),this.subscribe=this.subscribe.bind(this),this.onStateChange=this.onStateChange.bind(this),this.send=this.send.bind(this),this.emitToChannel=this.emitToChannel.bind(this),this.prepareThis=this.prepareThis.bind(this),this.emitToListeners=this.emitToListeners.bind(this),this.handleChannelEvents=this.handleChannelEvents.bind(this),this.debug=this.debug.bind(this),this.channel=r?.channel??G.preparation.channel,this.environment=r?.environment??G.preparation.environment,this.channel&&this.environment?this.prepareThis({channel:this.channel,environment:this.environment}):G.preparation.promise.then(this.prepareThis)}static setupPreparationPromise(){let t,r,n=new Promise((o,i)=>{t=m(a=>{o(a)},"resolveRef"),r=m((...a)=>{i(a)},"rejectRef")});G.preparation={resolve:t,reject:r,promise:n}}get actor(){return Object.freeze({id:this.actorId,type:this.actorType,environment:this.environment??G.Environment.UNKNOWN})}get status(){if(!this.channel||!this.environment)return G.Status.UNPREPARED;switch(this.syncing?.state){case Pe.PENDING:case void 0:return G.Status.SYNCING;case Pe.REJECTED:return G.Status.ERROR;case Pe.RESOLVED:default:return G.Status.READY}}untilReady(){return Promise.all([G.preparation.promise,this.syncing?.promise])}static create(t){if(!t||typeof t?.id!="string")throw new TypeError("id is required and must be a string, when creating a UniversalStore");t.debug&&console.debug(fe`[UniversalStore] + create`,{options:t});let r=Bi.get(t.id);if(r)return console.warn(fe`UniversalStore with id "${t.id}" already exists in this environment, re-using existing. + You should reuse the existing instance instead of trying to create a new one.`),r;G.isInternalConstructing=!0;let n=new G(t);return Bi.set(t.id,n),n}static __prepare(t,r){G.preparation.channel=t,G.preparation.environment=r,G.preparation.resolve({channel:t,environment:r})}setState(t){let r=this.state,n=typeof t=="function"?t(r):t;if(this.debug("setState",{newState:n,previousState:r,updater:t}),this.status!==G.Status.READY)throw new TypeError(fe`Cannot set state before store is ready. You can get the current status with store.status, + or await store.readyPromise to wait for the store to be ready before sending events. + ${JSON.stringify({newState:n,id:this.id,actor:this.actor,environment:this.environment},null,2)}`);this.state=n;let o={type:G.InternalEventType.SET_STATE,payload:{state:n,previousState:r}};this.emitToChannel(o,{actor:this.actor}),this.emitToListeners(o,{actor:this.actor})}onStateChange(t){return this.debug("onStateChange",{listener:t}),this.subscribe(G.InternalEventType.SET_STATE,({payload:r},n)=>{t(r.state,r.previousState,n)})}emitToChannel(t,r){this.debug("emitToChannel",{event:t,eventInfo:r,channel:this.channel}),this.channel?.emit(this.channelEventName,{event:t,eventInfo:r})}prepareThis({channel:t,environment:r}){this.channel=t,this.environment=r,this.debug("prepared",{channel:t,environment:r}),this.channel.on(this.channelEventName,this.handleChannelEvents),this.actor.type===G.ActorType.LEADER?this.emitToChannel({type:G.InternalEventType.LEADER_CREATED},{actor:this.actor}):(this.emitToChannel({type:G.InternalEventType.FOLLOWER_CREATED},{actor:this.actor}),this.emitToChannel({type:G.InternalEventType.EXISTING_STATE_REQUEST},{actor:this.actor}),setTimeout(()=>{this.syncing.reject(new TypeError(`No existing state found for follower with id: '${this.id}'. Make sure a leader with the same id exists before creating a follower.`))},1e3))}emitToListeners(t,r){let n=this.listeners.get(t.type),o=this.listeners.get("*");this.debug("emitToListeners",{event:t,eventInfo:r,eventTypeListeners:n,everythingListeners:o}),[...n??[],...o??[]].forEach(i=>i(t,r))}handleChannelEvents(t){let{event:r,eventInfo:n}=t;if([n.actor.id,n.forwardingActor?.id].includes(this.actor.id)){this.debug("handleChannelEvents: Ignoring event from self",{channelEvent:t});return}else if(this.syncing?.state===Pe.PENDING&&r.type!==G.InternalEventType.EXISTING_STATE_RESPONSE){this.debug("handleChannelEvents: Ignoring event while syncing",{channelEvent:t});return}if(this.debug("handleChannelEvents",{channelEvent:t}),this.actor.type===G.ActorType.LEADER){let o=!0;switch(r.type){case G.InternalEventType.EXISTING_STATE_REQUEST:o=!1;let i={type:G.InternalEventType.EXISTING_STATE_RESPONSE,payload:this.state};this.debug("handleChannelEvents: responding to existing state request",{responseEvent:i}),this.emitToChannel(i,{actor:this.actor});break;case G.InternalEventType.LEADER_CREATED:o=!1,this.syncing.state=Pe.REJECTED,this.debug("handleChannelEvents: erroring due to second leader being created",{event:r}),console.error(fe`Detected multiple UniversalStore leaders created with the same id "${this.id}". + Only one leader can exists at a time, your stores are now in an invalid state. + Leaders detected: + this: ${JSON.stringify(this.actor,null,2)} + other: ${JSON.stringify(n.actor,null,2)}`);break}o&&(this.debug("handleChannelEvents: forwarding event",{channelEvent:t}),this.emitToChannel(r,{actor:n.actor,forwardingActor:this.actor}))}if(this.actor.type===G.ActorType.FOLLOWER)switch(r.type){case G.InternalEventType.EXISTING_STATE_RESPONSE:if(this.debug("handleChannelEvents: Setting state from leader's existing state response",{event:r}),this.syncing?.state!==Pe.PENDING)break;this.syncing.resolve?.();let o={type:G.InternalEventType.SET_STATE,payload:{state:r.payload,previousState:this.state}};this.state=r.payload,this.emitToListeners(o,n);break}switch(r.type){case G.InternalEventType.SET_STATE:this.debug("handleChannelEvents: Setting state",{event:r}),this.state=r.payload.state;break}this.emitToListeners(r,{actor:n.actor})}debug(t,r){this.debugging&&console.debug(fe`[UniversalStore::${this.id}::${this.environment??G.Environment.UNKNOWN}] + ${t}`,JSON.stringify({data:r,actor:this.actor,state:this.state,status:this.status},null,2))}static __reset(){G.preparation.reject(new Error("reset")),G.setupPreparationPromise(),G.isInternalConstructing=!1}};m(it,"UniversalStore"),it.ActorType={LEADER:"LEADER",FOLLOWER:"FOLLOWER"},it.Environment={SERVER:"SERVER",MANAGER:"MANAGER",PREVIEW:"PREVIEW",UNKNOWN:"UNKNOWN",MOCK:"MOCK"},it.InternalEventType={EXISTING_STATE_REQUEST:"__EXISTING_STATE_REQUEST",EXISTING_STATE_RESPONSE:"__EXISTING_STATE_RESPONSE",SET_STATE:"__SET_STATE",LEADER_CREATED:"__LEADER_CREATED",FOLLOWER_CREATED:"__FOLLOWER_CREATED"},it.Status={UNPREPARED:"UNPREPARED",SYNCING:"SYNCING",READY:"READY",ERROR:"ERROR"},it.isInternalConstructing=!1,it.setupPreparationPromise();var Or=it;function is(e,t){let r={},n=Object.entries(e);for(let o=0;oObject.prototype.propertyIsEnumerable.call(e,t))}m(Vn,"getSymbols");function Jn(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}m(Jn,"getTag");function co(e,t){if(typeof e==typeof t)switch(typeof e){case"bigint":case"string":case"boolean":case"symbol":case"undefined":return e===t;case"number":return e===t||Object.is(e,t);case"function":return e===t;case"object":return $e(e,t)}return $e(e,t)}m(co,"isEqual");function $e(e,t,r){if(Object.is(e,t))return!0;let n=Jn(e),o=Jn(t);if(n===Ni&&(n=jn),o===Ni&&(o=jn),n!==o)return!1;switch(n){case Vp:return e.toString()===t.toString();case Jp:{let l=e.valueOf(),u=t.valueOf();return l===u||Number.isNaN(l)&&Number.isNaN(u)}case Hp:case Gp:case zp:return Object.is(e.valueOf(),t.valueOf());case qp:return e.source===t.source&&e.flags===t.flags;case Xp:return e===t}r=r??new Map;let i=r.get(e),a=r.get(t);if(i!=null&&a!=null)return i===t;r.set(e,t),r.set(t,e);try{switch(n){case Wp:{if(e.size!==t.size)return!1;for(let[l,u]of e.entries())if(!t.has(l)||!$e(u,t.get(l),r))return!1;return!0}case Kp:{if(e.size!==t.size)return!1;let l=Array.from(e.values()),u=Array.from(t.values());for(let c=0;c$e(d,h,r));if(p===-1)return!1;u.splice(p,1)}return!0}case Yp:case th:case rh:case nh:case oh:case ah:case ih:case sh:case lh:case uh:case ch:case dh:{if(typeof Buffer<"u"&&Buffer.isBuffer(e)!==Buffer.isBuffer(t)||e.length!==t.length)return!1;for(let l=0;l{let[r,n]=uo(t?t(e.getState()):e.getState());return $r(()=>e.onStateChange((o,i)=>{if(!t){n(o);return}let a=t(o),l=t(i);!co(a,l)&&n(a)}),[e,n,t]),[r,e.setState]},"useUniversalStore"),ph=class us extends Or{constructor(t,r){Or.isInternalConstructing=!0,super({...t,leader:!0},{channel:new Tr({}),environment:Or.Environment.MOCK}),Or.isInternalConstructing=!1,typeof r?.fn=="function"&&(this.testUtils=r,this.getState=r.fn(this.getState),this.setState=r.fn(this.setState),this.subscribe=r.fn(this.subscribe),this.onStateChange=r.fn(this.onStateChange),this.send=r.fn(this.send))}static create(t,r){return new us(t,r)}unsubscribeAll(){if(!this.testUtils)throw new Error(Up`Cannot call unsubscribeAll on a store that does not have testUtils. + Please provide testUtils as the second argument when creating the store.`);let t=m(r=>{try{r.value()}catch{}},"callReturnedUnsubscribeFn");this.subscribe.mock?.results.forEach(t),this.onStateChange.mock?.results.forEach(t)}};m(ph,"MockUniversalStore");var Ln=Bt(Wi(),1),Ot=Symbol("incompatible"),Hn=m((e,t)=>{let r=t.type;if(e==null||!r||t.mapping)return e;switch(r.name){case"string":return String(e);case"enum":return e;case"number":return Number(e);case"boolean":return String(e)==="true";case"array":return!r.value||!Array.isArray(e)?Ot:e.reduce((n,o,i)=>{let a=Hn(o,{type:r.value});return a!==Ot&&(n[i]=a),n},new Array(e.length));case"object":return typeof e=="string"||typeof e=="number"?e:!r.value||typeof e!="object"?Ot:Object.entries(e).reduce((n,[o,i])=>{let a=Hn(i,{type:r.value[o]});return a===Ot?n:Object.assign(n,{[o]:a})},{});default:return Ot}},"map"),hh=m((e,t)=>Object.entries(e).reduce((r,[n,o])=>{if(!t[n])return r;let i=Hn(o,t[n]);return i===Ot?r:Object.assign(r,{[n]:i})},{}),"mapArgsToTypes"),zn=m((e,t)=>Array.isArray(e)&&Array.isArray(t)?t.reduce((r,n,o)=>(r[o]=zn(e[o],t[o]),r),[...e]).filter(r=>r!==void 0):!Le(e)||!Le(t)?t:Object.keys({...e,...t}).reduce((r,n)=>{if(n in t){let o=zn(e[n],t[n]);o!==void 0&&(r[n]=o)}else r[n]=e[n];return r},{}),"combineArgs"),fh=m((e,t)=>Object.entries(t).reduce((r,[n,{options:o}])=>{function i(){return n in e&&(r[n]=e[n]),r}if(m(i,"allowArg"),!o)return i();if(!Array.isArray(o))return ot.error(fe` + Invalid argType: '${n}.options' should be an array. + + More info: https://storybook.js.org/docs/api/arg-types + `),i();if(o.some(p=>p&&["object","function"].includes(typeof p)))return ot.error(fe` + Invalid argType: '${n}.options' should only contain primitives. Use a 'mapping' for complex values. + + More info: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values + `),i();let a=Array.isArray(e[n]),l=a&&e[n].findIndex(p=>!o.includes(p)),u=a&&l===-1;if(e[n]===void 0||o.includes(e[n])||u)return i();let c=a?`${n}[${l}]`:n,d=o.map(p=>typeof p=="string"?`'${p}'`:String(p)).join(", ");return ot.warn(`Received illegal value for '${c}'. Supported options: ${d}`),r},{}),"validateOptions"),rr=Symbol("Deeply equal"),Nr=m((e,t)=>{if(typeof e!=typeof t)return t;if(co(e,t))return rr;if(Array.isArray(e)&&Array.isArray(t)){let r=t.reduce((n,o,i)=>{let a=Nr(e[i],o);return a!==rr&&(n[i]=a),n},new Array(t.length));return t.length>=e.length?r:r.concat(new Array(e.length-t.length).fill(void 0))}return Le(e)&&Le(t)?Object.keys({...e,...t}).reduce((r,n)=>{let o=Nr(e?.[n],t?.[n]);return o===rr?r:Object.assign(r,{[n]:o})},{}):t},"deepDiff"),cs="UNTARGETED";function ds({args:e,argTypes:t}){let r={};return Object.entries(e).forEach(([n,o])=>{let{target:i=cs}=t[n]||{};r[i]=r[i]||{},r[i][n]=o}),r}m(ds,"groupArgsByTarget");function ps(e){return Object.keys(e).forEach(t=>e[t]===void 0&&delete e[t]),e}m(ps,"deleteUndefined");var hs=class{constructor(){this.initialArgsByStoryId={},this.argsByStoryId={}}get(t){if(!(t in this.argsByStoryId))throw new Error(`No args known for ${t} -- has it been rendered yet?`);return this.argsByStoryId[t]}setInitial(t){if(!this.initialArgsByStoryId[t.id])this.initialArgsByStoryId[t.id]=t.initialArgs,this.argsByStoryId[t.id]=t.initialArgs;else if(this.initialArgsByStoryId[t.id]!==t.initialArgs){let r=Nr(this.initialArgsByStoryId[t.id],this.argsByStoryId[t.id]);this.initialArgsByStoryId[t.id]=t.initialArgs,this.argsByStoryId[t.id]=t.initialArgs,r!==rr&&this.updateFromDelta(t,r)}}updateFromDelta(t,r){let n=fh(r,t.argTypes);this.argsByStoryId[t.id]=zn(this.argsByStoryId[t.id],n)}updateFromPersisted(t,r){let n=hh(r,t.argTypes);return this.updateFromDelta(t,n)}update(t,r){if(!(t in this.argsByStoryId))throw new Error(`No args known for ${t} -- has it been rendered yet?`);this.argsByStoryId[t]=ps({...this.argsByStoryId[t],...r})}};m(hs,"ArgsStore");var mh=hs,fs=m((e={})=>Object.entries(e).reduce((t,[r,{defaultValue:n}])=>(typeof n<"u"&&(t[r]=n),t),{}),"getValuesFromArgTypes"),ms=class{constructor({globals:t={},globalTypes:r={}}){this.set({globals:t,globalTypes:r})}set({globals:t={},globalTypes:r={}}){let n=this.initialGlobals&&Nr(this.initialGlobals,this.globals);this.allowedGlobalNames=new Set([...Object.keys(t),...Object.keys(r)]);let o=fs(r);this.initialGlobals={...o,...t},this.globals=this.initialGlobals,n&&n!==rr&&this.updateFromPersisted(n)}filterAllowedGlobals(t){return Object.entries(t).reduce((r,[n,o])=>(this.allowedGlobalNames.has(n)?r[n]=o:Q.warn(`Attempted to set a global (${n}) that is not defined in initial globals or globalTypes`),r),{})}updateFromPersisted(t){let r=this.filterAllowedGlobals(t);this.globals={...this.globals,...r}}get(){return this.globals}update(t){this.globals={...this.globals,...this.filterAllowedGlobals(t)}}};m(ms,"GlobalsStore");var yh=ms,gh=Bt(Wi(),1),bh=(0,gh.default)(1)(e=>Object.values(e).reduce((t,r)=>(t[r.importPath]=t[r.importPath]||r,t),{})),ys=class{constructor({entries:t}={v:5,entries:{}}){this.entries=t}entryFromSpecifier(t){let r=Object.values(this.entries);if(t==="*")return r[0];if(typeof t=="string")return this.entries[t]?this.entries[t]:r.find(i=>i.id.startsWith(t));let{name:n,title:o}=t;return r.find(i=>i.name===n&&i.title===o)}storyIdToEntry(t){let r=this.entries[t];if(!r)throw new _a({storyId:t});return r}importPathToEntry(t){return bh(this.entries)[t]}};m(ys,"StoryIndexStore");var Eh=ys,vh=m(e=>typeof e=="string"?{name:e}:e,"normalizeType"),Ah=m(e=>typeof e=="string"?{type:e}:e,"normalizeControl"),Dh=m((e,t)=>{let{type:r,control:n,...o}=e,i={name:t,...o};return r&&(i.type=vh(r)),n?i.control=Ah(n):n===!1&&(i.control={disable:!0}),i},"normalizeInputType"),jr=m(e=>Et(e,Dh),"normalizeInputTypes"),se=m(e=>Array.isArray(e)?e:e?[e]:[],"normalizeArrays"),Sh=fe` +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. +`;function Lr(e,t,r){let n=t,o=typeof t=="function"?t:null,{story:i}=n;i&&(Q.debug("deprecated story",i),Ge(Sh));let a=Ri(e),l=typeof n!="function"&&n.name||n.storyName||i?.name||a,u=[...se(n.decorators),...se(i?.decorators)],c={...i?.parameters,...n.parameters},d={...i?.args,...n.args},p={...i?.argTypes,...n.argTypes},h=[...se(n.loaders),...se(i?.loaders)],y=[...se(n.beforeEach),...se(i?.beforeEach)],E=[...se(n.experimental_afterEach),...se(i?.experimental_afterEach)],{render:v,play:A,tags:D=[],globals:S={}}=n,F=c.__id||ki(r.id,a);return{moduleExport:t,id:F,name:l,tags:D,decorators:u,parameters:c,args:d,argTypes:jr(p),loaders:h,beforeEach:y,experimental_afterEach:E,globals:S,...v&&{render:v},...o&&{userStoryFn:o},...A&&{play:A}}}m(Lr,"normalizeStory");function Mr(e,t=e.title,r){let{id:n,argTypes:o}=e;return{id:Pn(n||t),...e,title:t,...o&&{argTypes:jr(o)},parameters:{fileName:r,...e.parameters}}}m(Mr,"normalizeComponentAnnotations");var wh=m(e=>{let{globals:t,globalTypes:r}=e;(t||r)&&Q.error("Global args/argTypes can only be set globally",JSON.stringify({globals:t,globalTypes:r}))},"checkGlobals"),Ch=m(e=>{let{options:t}=e;t?.storySort&&Q.error("The storySort option parameter can only be set globally")},"checkStorySort"),_r=m(e=>{e&&(wh(e),Ch(e))},"checkDisallowedParameters");function gs(e,t,r){let{default:n,__namedExportsOrder:o,...i}=e,a=Object.values(i)[0];if(mt(a)){let c=Mr(a.meta.input,r,t);_r(c.parameters);let d={meta:c,stories:{},moduleExports:e};return Object.keys(i).forEach(p=>{if(kt(p,c)){let h=Lr(p,i[p].input,c);_r(h.parameters),d.stories[h.id]=h}}),d.projectAnnotations=a.meta.preview.composed,d}let l=Mr(n,r,t);_r(l.parameters);let u={meta:l,stories:{},moduleExports:e};return Object.keys(i).forEach(c=>{if(kt(c,l)){let d=Lr(c,i[c],l);_r(d.parameters),u.stories[d.id]=d}}),u}m(gs,"processCSFFile");function bs(e){return e!=null&&Es(e).includes("mount")}m(bs,"mountDestructured");function Es(e){let t=e.toString().match(/[^(]*\(([^)]*)/);if(!t)return[];let r=Gn(t[1]);if(!r.length)return[];let n=r[0];return n.startsWith("{")&&n.endsWith("}")?Gn(n.slice(1,-1).replace(/\s/g,"")).map(o=>o.replace(/:.*|=.*/g,"")):[]}m(Es,"getUsedProps");function Gn(e){let t=[],r=[],n=0;for(let i=0;it(n,o)}m(vs,"decorateStory");function As({componentId:e,title:t,kind:r,id:n,name:o,story:i,parameters:a,initialArgs:l,argTypes:u,...c}={}){return c}m(As,"sanitizeStoryContextUpdate");function Ds(e,t){let r={},n=m(i=>a=>{if(!r.value)throw new Error("Decorated function called without init");return r.value={...r.value,...As(a)},i(r.value)},"bindWithContext"),o=t.reduce((i,a)=>vs(i,a,n),e);return i=>(r.value=i,o(i))}m(Ds,"defaultDecorateStory");var Ke=m((...e)=>{let t={},r=e.filter(Boolean),n=r.reduce((o,i)=>(Object.entries(i).forEach(([a,l])=>{let u=o[a];Array.isArray(l)||typeof u>"u"?o[a]=l:Le(l)&&Le(u)?t[a]=!0:typeof l<"u"&&(o[a]=l)}),o),{});return Object.keys(t).forEach(o=>{let i=r.filter(Boolean).map(a=>a[o]).filter(a=>typeof a<"u");i.every(a=>Le(a))?n[o]=Ke(...i):n[o]=i[i.length-1]}),n},"combineParameters");function po(e,t,r){let{moduleExport:n,id:o,name:i}=e||{},a=ho(e,t,r),l=m(async R=>{let N={};for(let j of[..."__STORYBOOK_TEST_LOADERS__"in Ee&&Array.isArray(Ee.__STORYBOOK_TEST_LOADERS__)?[Ee.__STORYBOOK_TEST_LOADERS__]:[],se(r.loaders),se(t.loaders),se(e.loaders)]){if(R.abortSignal.aborted)return N;let U=await Promise.all(j.map(P=>P(R)));Object.assign(N,...U)}return N},"applyLoaders"),u=m(async R=>{let N=new Array;for(let j of[...se(r.beforeEach),...se(t.beforeEach),...se(e.beforeEach)]){if(R.abortSignal.aborted)return N;let U=await j(R);U&&N.push(U)}return N},"applyBeforeEach"),c=m(async R=>{let N=[...se(r.experimental_afterEach),...se(t.experimental_afterEach),...se(e.experimental_afterEach)].reverse();for(let j of N){if(R.abortSignal.aborted)return;await j(R)}},"applyAfterEach"),d=m(R=>R.originalStoryFn(R.args,R),"undecoratedStoryFn"),{applyDecorators:p=Ds,runStep:h}=r,y=[...se(e?.decorators),...se(t?.decorators),...se(r?.decorators)],E=e?.userStoryFn||e?.render||t.render||r.render,v=Rp(p)(d,y),A=m(R=>v(R),"unboundStoryFn"),D=e?.play??t?.play,S=bs(D);if(!E&&!S)throw new Za({id:o});let F=m(R=>async()=>(await R.renderToCanvas(),R.canvas),"defaultMount"),x=e.mount??t.mount??r.mount??F,O=r.testingLibraryRender;return{storyGlobals:{},...a,moduleExport:n,id:o,name:i,story:i,originalStoryFn:E,undecoratedStoryFn:d,unboundStoryFn:A,applyLoaders:l,applyBeforeEach:u,applyAfterEach:c,playFunction:D,runStep:h,mount:x,testingLibraryRender:O,renderToCanvas:r.renderToCanvas,usesMount:S}}m(po,"prepareStory");function Ss(e,t,r){return{...ho(void 0,e,t),moduleExport:r}}m(Ss,"prepareMeta");function ho(e,t,r){let n=["dev","test"],o=Ee.DOCS_OPTIONS?.autodocs===!0?["autodocs"]:[],i=Oi(...n,...o,...r.tags??[],...t.tags??[],...e?.tags??[]),a=Ke(r.parameters,t.parameters,e?.parameters),{argTypesEnhancers:l=[],argsEnhancers:u=[]}=r,c=Ke(r.argTypes,t.argTypes,e?.argTypes);if(e){let D=e?.userStoryFn||e?.render||t.render||r.render;a.__isArgsStory=D&&D.length>0}let d={...r.args,...t.args,...e?.args},p={...t.globals,...e?.globals},h={componentId:t.id,title:t.title,kind:t.title,id:e?.id||t.id,name:e?.name||"__meta",story:e?.name||"__meta",component:t.component,subcomponents:t.subcomponents,tags:i,parameters:a,initialArgs:d,argTypes:c,storyGlobals:p};h.argTypes=l.reduce((D,S)=>S({...h,argTypes:D}),h.argTypes);let y={...d};h.initialArgs=u.reduce((D,S)=>({...D,...S({...h,initialArgs:D})}),y);let{name:E,story:v,...A}=h;return A}m(ho,"preparePartialAnnotations");function fo(e){let{args:t}=e,r={...e,allArgs:void 0,argsByTarget:void 0};if(Ee.FEATURES?.argTypeTargetsV7){let i=ds(e);r={...e,allArgs:e.args,argsByTarget:i,args:i[cs]||{}}}let n=Object.entries(r.args).reduce((i,[a,l])=>{if(!r.argTypes[a]?.mapping)return i[a]=l,i;let u=m(c=>{let d=r.argTypes[a].mapping;return d&&c in d?d[c]:c},"mappingFn");return i[a]=Array.isArray(l)?l.map(u):u(l),i},{}),o=Object.entries(n).reduce((i,[a,l])=>{let u=r.argTypes[a]||{};return _n(u,n,r.globals)&&(i[a]=l),i},{});return{...r,unmappedArgs:t,args:o}}m(fo,"prepareContext");var Wn=m((e,t,r)=>{let n=typeof e;switch(n){case"boolean":case"string":case"number":case"function":case"symbol":return{name:n};default:break}return e?r.has(e)?(Q.warn(fe` + 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/writing-stories/args#mapping-to-complex-arg-values + - Custom args: https://storybook.js.org/docs/essentials/controls#fully-custom-args + `),{name:"other",value:"cyclic object"}):(r.add(e),Array.isArray(e)?{name:"array",value:e.length>0?Wn(e[0],t,new Set(r)):{name:"other",value:"unknown"}}:{name:"object",value:Et(e,o=>Wn(o,t,new Set(r)))}):{name:"object",value:{}}},"inferType"),ws=m(e=>{let{id:t,argTypes:r={},initialArgs:n={}}=e,o=Et(n,(a,l)=>({name:l,type:Wn(a,`${t}.${l}`,new Set)})),i=Et(r,(a,l)=>({name:l}));return Ke(o,i,r)},"inferArgTypes");ws.secondPass=!0;var ji=m((e,t)=>Array.isArray(t)?t.includes(e):e.match(t),"matches"),Cs=m((e,t,r)=>!t&&!r?e:e&&ls(e,(n,o)=>{let i=n.name||o.toString();return!!(!t||ji(i,t))&&(!r||!ji(i,r))}),"filterArgTypes"),xh=m((e,t,r)=>{let{type:n,options:o}=e;if(n){if(r.color&&r.color.test(t)){let i=n.name;if(i==="string")return{control:{type:"color"}};i!=="enum"&&Q.warn(`Addon controls: Control of type color only supports string, received "${i}" 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:i}=n;return{control:{type:i?.length<=5?"radio":"select"},options:i}}case"function":case"symbol":return null;default:return{control:{type:o?"select":"object"}}}}},"inferControl"),xs=m(e=>{let{argTypes:t,parameters:{__isArgsStory:r,controls:{include:n=null,exclude:o=null,matchers:i={}}={}}}=e;if(!r)return t;let a=Cs(t,n,o),l=Et(a,(u,c)=>u?.type&&xh(u,c.toString(),i));return Ke(l,a)},"inferControls");xs.secondPass=!0;function Rt({argTypes:e,globalTypes:t,argTypesEnhancers:r,decorators:n,loaders:o,beforeEach:i,experimental_afterEach:a,globals:l,initialGlobals:u,...c}){return l&&Object.keys(l).length>0&&Ge(fe` + The preview.js 'globals' field is deprecated and will be removed in Storybook 9.0. + Please use 'initialGlobals' instead. Learn more: + + https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#previewjs-globals-renamed-to-initialglobals + `),{...e&&{argTypes:jr(e)},...t&&{globalTypes:jr(t)},decorators:se(n),loaders:se(o),beforeEach:se(i),experimental_afterEach:se(a),argTypesEnhancers:[...r||[],ws,xs],initialGlobals:Ke(u,l),...c}}m(Rt,"normalizeProjectAnnotations");var Th=m(e=>async()=>{let t=[];for(let r of e){let n=await r();n&&t.unshift(n)}return async()=>{for(let r of t)await r()}},"composeBeforeAllHooks");function Ts(e){return async(t,r,n)=>{await e.reduceRight((o,i)=>async()=>i(t,o,n),async()=>r(n))()}}m(Ts,"composeStepRunners");function Pt(e,t){return e.map(r=>r.default?.[t]??r[t]).filter(Boolean)}m(Pt,"getField");function We(e,t,r={}){return Pt(e,t).reduce((n,o)=>{let i=se(o);return r.reverseFileOrder?[...i,...n]:[...n,...i]},[])}m(We,"getArrayField");function _t(e,t){return Object.assign({},...Pt(e,t))}m(_t,"getObjectField");function yt(e,t){return Pt(e,t).pop()}m(yt,"getSingletonField");function at(e){let t=We(e,"argTypesEnhancers"),r=Pt(e,"runStep"),n=We(e,"beforeAll");return{parameters:Ke(...Pt(e,"parameters")),decorators:We(e,"decorators",{reverseFileOrder:!(Ee.FEATURES?.legacyDecoratorFileOrder??!1)}),args:_t(e,"args"),argsEnhancers:We(e,"argsEnhancers"),argTypes:_t(e,"argTypes"),argTypesEnhancers:[...t.filter(o=>!o.secondPass),...t.filter(o=>o.secondPass)],globals:_t(e,"globals"),initialGlobals:_t(e,"initialGlobals"),globalTypes:_t(e,"globalTypes"),loaders:We(e,"loaders"),beforeAll:Th(n),beforeEach:We(e,"beforeEach"),experimental_afterEach:We(e,"experimental_afterEach"),render:yt(e,"render"),renderToCanvas:yt(e,"renderToCanvas"),renderToDOM:yt(e,"renderToDOM"),applyDecorators:yt(e,"applyDecorators"),runStep:Ts(r),tags:We(e,"tags"),mount:yt(e,"mount"),testingLibraryRender:yt(e,"testingLibraryRender")}}m(at,"composeConfigs");var Fs=class{constructor(){this.reports=[]}async addReport(t){this.reports.push(t)}};m(Fs,"ReporterAPI");var Is=Fs;function ks(e,t,r){return mt(e)?{story:e.input,meta:e.meta.input,preview:e.meta.preview.composed}:{story:e,meta:t,preview:r}}m(ks,"getCsfFactoryAnnotations");function Fh(e){globalThis.defaultProjectAnnotations=e}m(Fh,"setDefaultProjectAnnotations");var Ih="ComposedStory",kh="Unnamed Story";function Rs(e){return e?at([e]):{}}m(Rs,"extractAnnotation");function Rh(e){let t=Array.isArray(e)?e:[e];return globalThis.globalProjectAnnotations=at([globalThis.defaultProjectAnnotations??{},at(t.map(Rs))]),globalThis.globalProjectAnnotations??{}}m(Rh,"setProjectAnnotations");var st=[];function Os(e,t,r,n,o){if(e===void 0)throw new Error("Expected a story but received undefined.");t.title=t.title??Ih;let i=Mr(t),a=o||e.storyName||e.story?.name||e.name||kh,l=Lr(a,e,i),u=Rt(at([n??globalThis.globalProjectAnnotations??{},r??{}])),c=po(l,i,u),d={...fs(u.globalTypes),...u.initialGlobals,...c.storyGlobals},p=new Is,h=m(()=>{let D=fo({hooks:new ns,globals:d,args:{...c.initialArgs},viewMode:"story",reporting:p,loaded:{},abortSignal:new AbortController().signal,step:m((S,F)=>c.runStep(S,F,D),"step"),canvasElement:null,canvas:{},globalTypes:u.globalTypes,...c,context:null,mount:null});return D.parameters.__isPortableStory=!0,D.context=D,c.renderToCanvas&&(D.renderToCanvas=async()=>{let S=await c.renderToCanvas?.({componentId:c.componentId,title:c.title,id:c.id,name:c.name,tags:c.tags,showMain:m(()=>{},"showMain"),showError:m(F=>{throw new Error(`${F.title} +${F.description}`)},"showError"),showException:m(F=>{throw F},"showException"),forceRemount:!0,storyContext:D,storyFn:m(()=>c.unboundStoryFn(D),"storyFn"),unboundStoryFn:c.unboundStoryFn},D.canvasElement);S&&st.push(S)}),D.mount=c.mount(D),D},"initializeContext"),y,E=m(async D=>{let S=h();return S.canvasElement??=globalThis?.document?.body,y&&(S.loaded=y.loaded),Object.assign(S,D),c.playFunction(S)},"play"),v=m(D=>{let S=h();return Object.assign(S,D),_s(c,S)},"run"),A=c.playFunction?E:void 0;return Object.assign(m(function(D){let S=h();return y&&(S.loaded=y.loaded),S.args={...S.initialArgs,...D},c.unboundStoryFn(S)},"storyFn"),{id:c.id,storyName:a,load:m(async()=>{for(let S of[...st].reverse())await S();st.length=0;let D=h();D.loaded=await c.applyLoaders(D),st.push(...(await c.applyBeforeEach(D)).filter(Boolean)),y=D},"load"),globals:d,args:c.initialArgs,parameters:c.parameters,argTypes:c.argTypes,play:A,run:v,reporting:p,tags:c.tags})}m(Os,"composeStory");var Oh=m((e,t,r,n)=>Os(e,t,r,{},n),"defaultComposeStory");function _h(e,t,r=Oh){let{default:n,__esModule:o,__namedExportsOrder:i,...a}=e,l=n;return Object.entries(a).reduce((u,[c,d])=>{let{story:p,meta:h}=ks(d);return!l&&h&&(l=h),kt(c,l)?Object.assign(u,{[c]:r(p,l,t,c)}):u},{})}m(_h,"composeStories");function Ph(e){return e.extend({mount:m(async({mount:t,page:r},n)=>{await n(async(o,...i)=>{if(!("__pw_type"in o)||"__pw_type"in o&&o.__pw_type!=="jsx")throw new Error(fe` + Portable stories in Playwright CT only work when referencing JSX elements. + Please use JSX format for your components such as: + + instead of: + await mount(MyComponent, { props: { foo: 'bar' } }) + + do: + await mount() + + More info: https://storybook.js.org/docs/api/portable-stories-playwright + `);await r.evaluate(async l=>{let u=await globalThis.__pwUnwrapObject?.(l);return("__pw_type"in u?u.type:u)?.load?.()},o);let a=await t(o,...i);return await r.evaluate(async l=>{let u=await globalThis.__pwUnwrapObject?.(l),c="__pw_type"in u?u.type:u,d=document.querySelector("#root");return c?.play?.({canvasElement:d})},o),a})},"mount")})}m(Ph,"createPlaywrightTest");async function _s(e,t){for(let o of[...st].reverse())await o();if(st.length=0,!t.canvasElement){let o=document.createElement("div");globalThis?.document?.body?.appendChild(o),t.canvasElement=o,st.push(()=>{globalThis?.document?.body?.contains(o)&&globalThis?.document?.body?.removeChild(o)})}if(t.loaded=await e.applyLoaders(t),t.abortSignal.aborted)return;st.push(...(await e.applyBeforeEach(t)).filter(Boolean));let r=e.playFunction,n=e.usesMount;n||await t.mount(),!t.abortSignal.aborted&&(r&&(n||(t.mount=async()=>{throw new wr({playFunction:r.toString()})}),await r(t)),await e.applyAfterEach(t))}m(_s,"runStory");function Kn(e,t){return is(ss(e,t),r=>r===void 0)}m(Kn,"picky");var Li=1e3,Bh=1e4,Ps=class{constructor(t,r,n){this.importFn=r,this.getStoriesJsonData=m(()=>{let a=this.getSetStoriesPayload(),l=["fileName","docsOnly","framework","__id","__isArgsStory"];return{v:3,stories:Et(a.stories,u=>{let{importPath:c}=this.storyIndex.entries[u.id];return{...Kn(u,["id","name","title"]),importPath:c,kind:u.title,story:u.name,parameters:{...Kn(u.parameters,l),fileName:c}}})}},"getStoriesJsonData"),this.storyIndex=new Eh(t),this.projectAnnotations=Rt(n);let{initialGlobals:o,globalTypes:i}=this.projectAnnotations;this.args=new mh,this.userGlobals=new yh({globals:o,globalTypes:i}),this.hooks={},this.cleanupCallbacks={},this.processCSFFileWithCache=(0,Ln.default)(Li)(gs),this.prepareMetaWithCache=(0,Ln.default)(Li)(Ss),this.prepareStoryWithCache=(0,Ln.default)(Bh)(po)}setProjectAnnotations(t){this.projectAnnotations=Rt(t);let{initialGlobals:r,globalTypes:n}=t;this.userGlobals.set({globals:r,globalTypes:n})}async onStoriesChanged({importFn:t,storyIndex:r}){t&&(this.importFn=t),r&&(this.storyIndex.entries=r.entries),this.cachedCSFFiles&&await this.cacheAllCSFFiles()}async storyIdToEntry(t){return this.storyIndex.storyIdToEntry(t)}async loadCSFFileByStoryId(t){let{importPath:r,title:n}=this.storyIndex.storyIdToEntry(t),o=await this.importFn(r);return this.processCSFFileWithCache(o,r,n)}async loadAllCSFFiles(){let t={};return Object.entries(this.storyIndex.entries).forEach(([r,{importPath:n}])=>{t[n]=r}),(await Promise.all(Object.entries(t).map(async([r,n])=>({importPath:r,csfFile:await this.loadCSFFileByStoryId(n)})))).reduce((r,{importPath:n,csfFile:o})=>(r[n]=o,r),{})}async cacheAllCSFFiles(){this.cachedCSFFiles=await this.loadAllCSFFiles()}preparedMetaFromCSFFile({csfFile:t}){let r=t.meta;return this.prepareMetaWithCache(r,this.projectAnnotations,t.moduleExports.default)}async loadStory({storyId:t}){let r=await this.loadCSFFileByStoryId(t);return this.storyFromCSFFile({storyId:t,csfFile:r})}storyFromCSFFile({storyId:t,csfFile:r}){let n=r.stories[t];if(!n)throw new Wa({storyId:t});let o=r.meta,i=this.prepareStoryWithCache(n,o,r.projectAnnotations??this.projectAnnotations);return this.args.setInitial(i),this.hooks[i.id]=this.hooks[i.id]||new ns,i}componentStoriesFromCSFFile({csfFile:t}){return Object.keys(this.storyIndex.entries).filter(r=>!!t.stories[r]).map(r=>this.storyFromCSFFile({storyId:r,csfFile:t}))}async loadEntry(t){let r=await this.storyIdToEntry(t),n=r.type==="docs"?r.storiesImports:[],[o,...i]=await Promise.all([this.importFn(r.importPath),...n.map(a=>{let l=this.storyIndex.importPathToEntry(a);return this.loadCSFFileByStoryId(l.id)})]);return{entryExports:o,csfFiles:i}}getStoryContext(t,{forceInitialArgs:r=!1}={}){let n=this.userGlobals.get(),{initialGlobals:o}=this.userGlobals,i=new Is;return fo({...t,args:r?t.initialArgs:this.args.get(t.id),initialGlobals:o,globalTypes:this.projectAnnotations.globalTypes,userGlobals:n,reporting:i,globals:{...n,...t.storyGlobals},hooks:this.hooks[t.id]})}addCleanupCallbacks(t,r){this.cleanupCallbacks[t.id]=r}async cleanupStory(t){this.hooks[t.id].clean();let r=this.cleanupCallbacks[t.id];if(r)for(let n of[...r].reverse())await n();delete this.cleanupCallbacks[t.id]}extract(t={includeDocsOnly:!1}){let{cachedCSFFiles:r}=this;if(!r)throw new Ba;return Object.entries(this.storyIndex.entries).reduce((n,[o,{type:i,importPath:a}])=>{if(i==="docs")return n;let l=r[a],u=this.storyFromCSFFile({storyId:o,csfFile:l});return!t.includeDocsOnly&&u.parameters.docsOnly||(n[o]=Object.entries(u).reduce((c,[d,p])=>d==="moduleExport"||typeof p=="function"?c:Array.isArray(p)?Object.assign(c,{[d]:p.slice().sort()}):Object.assign(c,{[d]:p}),{args:u.initialArgs,globals:{...this.userGlobals.initialGlobals,...this.userGlobals.globals,...u.storyGlobals}})),n},{})}getSetStoriesPayload(){let t=this.extract({includeDocsOnly:!0}),r=Object.values(t).reduce((n,{title:o})=>(n[o]={},n),{});return{v:2,globals:this.userGlobals.get(),globalParameters:{},kindParameters:r,stories:t}}raw(){return Ge("StoryStore.raw() is deprecated and will be removed in 9.0, please use extract() instead"),Object.values(this.extract()).map(({id:t})=>this.fromId(t)).filter(Boolean)}fromId(t){if(Ge("StoryStore.fromId() is deprecated and will be removed in 9.0, please use loadStory() instead"),!this.cachedCSFFiles)throw new Error("Cannot call fromId/raw() unless you call cacheAllCSFFiles() first.");let r;try{({importPath:r}=this.storyIndex.storyIdToEntry(t))}catch{return null}let n=this.cachedCSFFiles[r],o=this.storyFromCSFFile({storyId:t,csfFile:n});return{...o,storyFn:m(i=>{let a={...this.getStoryContext(o),abortSignal:new AbortController().signal,canvasElement:null,loaded:{},step:m((l,u)=>o.runStep(l,u,a),"step"),context:null,mount:null,canvas:{},viewMode:"story"};return o.unboundStoryFn({...a,...i})},"storyFn")}}};m(Ps,"StoryStore");var Nh=Ps;function Bs(e){return e.startsWith("\\\\?\\")?e:e.replace(/\\/g,"/")}m(Bs,"slash");var jh=m(e=>{if(e.length===0)return e;let t=e[e.length-1],r=t?.replace(/(?:[.](?:story|stories))?([.][^.]+)$/i,"");if(e.length===1)return[r];let n=e[e.length-2];return r&&n&&r.toLowerCase()===n.toLowerCase()?[...e.slice(0,-2),r]:r&&(/^(story|stories)([.][^.]+)$/i.test(t)||/^index$/i.test(r))?e.slice(0,-1):[...e.slice(0,-1),r]},"sanitize");function Yn(e){return e.flatMap(t=>t.split("/")).filter(Boolean).join("/")}m(Yn,"pathJoin");var Lh=m((e,t,r)=>{let{directory:n,importPathMatcher:o,titlePrefix:i=""}=t||{};typeof e=="number"&&ot.warn(fe` + CSF Auto-title received a numeric fileName. This typically happens when + webpack is mis-configured in production mode. To force webpack to produce + filenames, set optimization.moduleIds = "named" in your webpack config. + `);let a=Bs(String(e));if(o.exec(a)){if(!r){let l=a.replace(n,""),u=Yn([i,l]).split("/");return u=jh(u),u.join("/")}return i?Yn([i,r]):r}},"userOrAutoTitleFromSpecifier"),HE=m((e,t,r)=>{for(let n=0;n(t,r)=>{if(t.title===r.title&&!e.includeNames)return 0;let n=e.method||"configure",o=e.order||[],i=t.title.trim().split(Mi),a=r.title.trim().split(Mi);e.includeNames&&(i.push(t.name),a.push(r.name));let l=0;for(;i[l]||a[l];){if(!i[l])return-1;if(!a[l])return 1;let u=i[l],c=a[l];if(u!==c){let p=o.indexOf(u),h=o.indexOf(c),y=o.indexOf("*");return p!==-1||h!==-1?(p===-1&&(y!==-1?p=y:p=o.length),h===-1&&(y!==-1?h=y:h=o.length),p-h):n==="configure"?0:u.localeCompare(c,e.locales?e.locales:void 0,{numeric:!0,sensitivity:"accent"})}let d=o.indexOf(u);d===-1&&(d=o.indexOf("*")),o=d!==-1&&Array.isArray(o[d+1])?o[d+1]:[],l+=1}return 0},"storySort"),Uh=m((e,t,r)=>{if(t){let n;typeof t=="function"?n=t:n=Mh(t),e.sort(n)}else e.sort((n,o)=>r.indexOf(n.importPath)-r.indexOf(o.importPath));return e},"sortStoriesCommon"),zE=m((e,t,r)=>{try{return Uh(e,t,r)}catch(n){throw new Error(fe` + Error sorting stories with sort parameter ${t}: + + > ${n.message} + + Are you using a V6-style sort function in V7 mode? + + More info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#v7-style-story-sort + `)}},"sortStoriesV7"),Vr=new Error("prepareAborted"),{AbortController:Ui}=globalThis;function Xn(e){try{let{name:t="Error",message:r=String(e),stack:n}=e;return{name:t,message:r,stack:n}}catch{return{name:"Error",message:String(e)}}}m(Xn,"serializeError");var Ns=class{constructor(t,r,n,o,i,a,l={autoplay:!0,forceInitialArgs:!1},u){this.channel=t,this.store=r,this.renderToScreen=n,this.callbacks=o,this.id=i,this.viewMode=a,this.renderOptions=l,this.type="story",this.notYetRendered=!0,this.rerenderEnqueued=!1,this.disableKeyListeners=!1,this.teardownRender=m(()=>{},"teardownRender"),this.torndown=!1,this.abortController=new Ui,u&&(this.story=u,this.phase="preparing")}async runPhase(t,r,n){this.phase=r,this.channel.emit(It,{newPhase:this.phase,storyId:this.id}),n&&(await n(),this.checkIfAborted(t))}checkIfAborted(t){return t.aborted?(this.phase="aborted",this.channel.emit(It,{newPhase:this.phase,storyId:this.id}),!0):!1}async prepare(){if(await this.runPhase(this.abortController.signal,"preparing",async()=>{this.story=await this.store.loadStory({storyId:this.id})}),this.abortController.signal.aborted)throw await this.store.cleanupStory(this.story),Vr}isEqual(t){return!!(this.id===t.id&&this.story&&this.story===t.story)}isPreparing(){return["preparing"].includes(this.phase)}isPending(){return["loading","beforeEach","rendering","playing","afterEach"].includes(this.phase)}async renderToElement(t){return this.canvasElement=t,this.render({initial:!0,forceRemount:!0})}storyContext(){if(!this.story)throw new Error("Cannot call storyContext before preparing");let{forceInitialArgs:t}=this.renderOptions;return this.store.getStoryContext(this.story,{forceInitialArgs:t})}async render({initial:t=!1,forceRemount:r=!1}={}){let{canvasElement:n}=this;if(!this.story)throw new Error("cannot render when not prepared");let o=this.story;if(!n)throw new Error("cannot render when canvasElement is unset");let{id:i,componentId:a,title:l,name:u,tags:c,applyLoaders:d,applyBeforeEach:p,applyAfterEach:h,unboundStoryFn:y,playFunction:E,runStep:v}=o;r&&!t&&(this.cancelRender(),this.abortController=new Ui);let A=this.abortController.signal,D=!1,S=o.usesMount;try{let F={...this.storyContext(),viewMode:this.viewMode,abortSignal:A,canvasElement:n,loaded:{},step:m((L,z)=>v(L,z,F),"step"),context:null,canvas:{},renderToCanvas:m(async()=>{let L=await this.renderToScreen(x,n);this.teardownRender=L||(()=>{}),D=!0},"renderToCanvas"),mount:m(async(...L)=>{this.callbacks.showStoryDuringRender?.();let z=null;return await this.runPhase(A,"rendering",async()=>{z=await o.mount(F)(...L)}),S&&await this.runPhase(A,"playing"),z},"mount")};F.context=F;let x={componentId:a,title:l,kind:l,id:i,name:u,story:u,tags:c,...this.callbacks,showError:m(L=>(this.phase="errored",this.callbacks.showError(L)),"showError"),showException:m(L=>(this.phase="errored",this.callbacks.showException(L)),"showException"),forceRemount:r||this.notYetRendered,storyContext:F,storyFn:m(()=>y(F),"storyFn"),unboundStoryFn:y};if(await this.runPhase(A,"loading",async()=>{F.loaded=await d(F)}),A.aborted)return;let O=await p(F);if(this.store.addCleanupCallbacks(o,O),this.checkIfAborted(A)||(!D&&!S&&await F.mount(),this.notYetRendered=!1,A.aborted))return;let R=this.story.parameters?.test?.dangerouslyIgnoreUnhandledErrors===!0,N=new Set,j=m(L=>N.add("error"in L?L.error:L.reason),"onError");if(this.renderOptions.autoplay&&r&&E&&this.phase!=="errored"){window.addEventListener("error",j),window.addEventListener("unhandledrejection",j),this.disableKeyListeners=!0;try{if(S?await E(F):(F.mount=async()=>{throw new wr({playFunction:E.toString()})},await this.runPhase(A,"playing",async()=>E(F))),!D)throw new ti;this.checkIfAborted(A),!R&&N.size>0?await this.runPhase(A,"errored"):await this.runPhase(A,"played")}catch(L){if(this.callbacks.showStoryDuringRender?.(),await this.runPhase(A,"errored",async()=>{this.channel.emit(ci,Xn(L))}),this.story.parameters.throwPlayFunctionExceptions!==!1)throw L;console.error(L)}if(!R&&N.size>0&&this.channel.emit(Di,Array.from(N).map(Xn)),this.disableKeyListeners=!1,window.removeEventListener("unhandledrejection",j),window.removeEventListener("error",j),A.aborted)return}await this.runPhase(A,"completed",async()=>this.channel.emit(er,i)),this.phase!=="errored"&&await this.runPhase(A,"afterEach",async()=>{await h(F)});let U=!R&&N.size>0,P=F.reporting.reports.some(L=>L.status==="failed"),K=U||P;await this.runPhase(A,"finished",async()=>this.channel.emit(In,{storyId:i,status:K?"error":"success",reporters:F.reporting.reports}))}catch(F){this.phase="errored",this.callbacks.showException(F),await this.runPhase(A,"finished",async()=>this.channel.emit(In,{storyId:i,status:"error",reporters:[]}))}this.rerenderEnqueued&&(this.rerenderEnqueued=!1,this.render())}async rerender(){if(this.isPending()&&this.phase!=="playing")this.rerenderEnqueued=!0;else return this.render()}async remount(){return await this.teardown(),this.render({forceRemount:!0})}cancelRender(){this.abortController?.abort()}async teardown(){this.torndown=!0,this.cancelRender(),this.story&&await this.store.cleanupStory(this.story);for(let t=0;t<3;t+=1){if(!this.isPending()){await this.teardownRender();return}await new Promise(r=>setTimeout(r,0))}window.location.reload(),await new Promise(()=>{})}};m(Ns,"StoryRender");var Qn=Ns,{fetch:$h}=Ee,qh="./index.json",js=class{constructor(t,r,n=bt.getChannel(),o=!0){this.importFn=t,this.getProjectAnnotations=r,this.channel=n,this.storyRenders=[],this.storeInitializationPromise=new Promise((i,a)=>{this.resolveStoreInitializationPromise=i,this.rejectStoreInitializationPromise=a}),o&&this.initialize()}get storyStore(){return new Proxy({},{get:m((t,r)=>{if(this.storyStoreValue)return Ge("Accessing the Story Store is deprecated and will be removed in 9.0"),this.storyStoreValue[r];throw new Ya},"get")})}async initialize(){this.setupListeners();try{let t=await this.getProjectAnnotationsOrRenderError();await this.runBeforeAllHook(t),await this.initializeWithProjectAnnotations(t)}catch(t){this.rejectStoreInitializationPromise(t)}}ready(){return this.storeInitializationPromise}setupListeners(){this.channel.on(gi,this.onStoryIndexChanged.bind(this)),this.channel.on(kr,this.onUpdateGlobals.bind(this)),this.channel.on(tr,this.onUpdateArgs.bind(this)),this.channel.on(ai,this.onRequestArgTypesInfo.bind(this)),this.channel.on(Zt,this.onResetArgs.bind(this)),this.channel.on(Ir,this.onForceReRender.bind(this)),this.channel.on(li,this.onForceRemount.bind(this))}async getProjectAnnotationsOrRenderError(){try{let t=await this.getProjectAnnotations();if(this.renderToCanvas=t.renderToCanvas,!this.renderToCanvas)throw new ja;return t}catch(t){throw this.renderPreviewEntryError("Error reading preview.js:",t),t}}async initializeWithProjectAnnotations(t){this.projectAnnotationsBeforeInitialization=t;try{let r=await this.getStoryIndexFromServer();return this.initializeWithStoryIndex(r)}catch(r){throw this.renderPreviewEntryError("Error loading story index:",r),r}}async runBeforeAllHook(t){try{await this.beforeAllCleanup?.(),this.beforeAllCleanup=await t.beforeAll?.()}catch(r){throw this.renderPreviewEntryError("Error in beforeAll hook:",r),r}}async getStoryIndexFromServer(){let t=await $h(qh);if(t.status===200)return t.json();throw new Ua({text:await t.text()})}initializeWithStoryIndex(t){if(!this.projectAnnotationsBeforeInitialization)throw new Error("Cannot call initializeWithStoryIndex until project annotations resolve");this.storyStoreValue=new Nh(t,this.importFn,this.projectAnnotationsBeforeInitialization),delete this.projectAnnotationsBeforeInitialization,this.setInitialGlobals(),this.resolveStoreInitializationPromise()}async setInitialGlobals(){this.emitGlobals()}emitGlobals(){if(!this.storyStoreValue)throw new ke({methodName:"emitGlobals"});let t={globals:this.storyStoreValue.userGlobals.get()||{},globalTypes:this.storyStoreValue.projectAnnotations.globalTypes||{}};this.channel.emit(fi,t)}async onGetProjectAnnotationsChanged({getProjectAnnotations:t}){delete this.previewEntryError,this.getProjectAnnotations=t;let r=await this.getProjectAnnotationsOrRenderError();if(await this.runBeforeAllHook(r),!this.storyStoreValue){await this.initializeWithProjectAnnotations(r);return}this.storyStoreValue.setProjectAnnotations(r),this.emitGlobals()}async onStoryIndexChanged(){if(delete this.previewEntryError,!(!this.storyStoreValue&&!this.projectAnnotationsBeforeInitialization))try{let t=await this.getStoryIndexFromServer();if(this.projectAnnotationsBeforeInitialization){this.initializeWithStoryIndex(t);return}await this.onStoriesChanged({storyIndex:t})}catch(t){throw this.renderPreviewEntryError("Error loading story index:",t),t}}async onStoriesChanged({importFn:t,storyIndex:r}){if(!this.storyStoreValue)throw new ke({methodName:"onStoriesChanged"});await this.storyStoreValue.onStoriesChanged({importFn:t,storyIndex:r})}async onUpdateGlobals({globals:t,currentStory:r}){if(this.storyStoreValue||await this.storeInitializationPromise,!this.storyStoreValue)throw new ke({methodName:"onUpdateGlobals"});if(this.storyStoreValue.userGlobals.update(t),r){let{initialGlobals:n,storyGlobals:o,userGlobals:i,globals:a}=this.storyStoreValue.getStoryContext(r);this.channel.emit(ft,{initialGlobals:n,userGlobals:i,storyGlobals:o,globals:a})}else{let{initialGlobals:n,globals:o}=this.storyStoreValue.userGlobals;this.channel.emit(ft,{initialGlobals:n,userGlobals:o,storyGlobals:{},globals:o})}await Promise.all(this.storyRenders.map(n=>n.rerender()))}async onUpdateArgs({storyId:t,updatedArgs:r}){if(!this.storyStoreValue)throw new ke({methodName:"onUpdateArgs"});this.storyStoreValue.args.update(t,r),await Promise.all(this.storyRenders.filter(n=>n.id===t&&!n.renderOptions.forceInitialArgs).map(n=>n.story&&n.story.usesMount?n.remount():n.rerender())),this.channel.emit(Fn,{storyId:t,args:this.storyStoreValue.args.get(t)})}async onRequestArgTypesInfo({id:t,payload:r}){try{await this.storeInitializationPromise;let n=await this.storyStoreValue?.loadStory(r);this.channel.emit(xn,{id:t,success:!0,payload:{argTypes:n?.argTypes||{}},error:null})}catch(n){this.channel.emit(xn,{id:t,success:!1,error:n?.message})}}async onResetArgs({storyId:t,argNames:r}){if(!this.storyStoreValue)throw new ke({methodName:"onResetArgs"});let n=this.storyRenders.find(i=>i.id===t)?.story||await this.storyStoreValue.loadStory({storyId:t}),o=(r||[...new Set([...Object.keys(n.initialArgs),...Object.keys(this.storyStoreValue.args.get(t))])]).reduce((i,a)=>(i[a]=n.initialArgs[a],i),{});await this.onUpdateArgs({storyId:t,updatedArgs:o})}async onForceReRender(){await Promise.all(this.storyRenders.map(t=>t.rerender()))}async onForceRemount({storyId:t}){await Promise.all(this.storyRenders.filter(r=>r.id===t).map(r=>r.remount()))}renderStoryToElement(t,r,n,o){if(!this.renderToCanvas||!this.storyStoreValue)throw new ke({methodName:"renderStoryToElement"});let i=new Qn(this.channel,this.storyStoreValue,this.renderToCanvas,n,t.id,"docs",o,t);return i.renderToElement(r),this.storyRenders.push(i),async()=>{await this.teardownRender(i)}}async teardownRender(t,{viewModeChanged:r}={}){this.storyRenders=this.storyRenders.filter(n=>n!==t),await t?.teardown?.({viewModeChanged:r})}async loadStory({storyId:t}){if(!this.storyStoreValue)throw new ke({methodName:"loadStory"});return this.storyStoreValue.loadStory({storyId:t})}getStoryContext(t,{forceInitialArgs:r=!1}={}){if(!this.storyStoreValue)throw new ke({methodName:"getStoryContext"});return this.storyStoreValue.getStoryContext(t,{forceInitialArgs:r})}async extract(t){if(!this.storyStoreValue)throw new ke({methodName:"extract"});if(this.previewEntryError)throw this.previewEntryError;return await this.storyStoreValue.cacheAllCSFFiles(),this.storyStoreValue.extract(t)}renderPreviewEntryError(t,r){this.previewEntryError=r,Q.error(t),Q.error(r),this.channel.emit(ii,r)}};m(js,"Preview");var Ls=js,Vh=!1,Mn="Invariant failed";function Pr(e,t){if(!e){if(Vh)throw new Error(Mn);var r=typeof t=="function"?t():t,n=r?"".concat(Mn,": ").concat(r):Mn;throw new Error(n)}}m(Pr,"invariant");var Ms=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.renderStoryToElement=n,this.storyIdByName=m(i=>{let a=this.nameToStoryId.get(i);if(a)return a;throw new Error(`No story found with that name: ${i}`)},"storyIdByName"),this.componentStories=m(()=>this.componentStoriesValue,"componentStories"),this.componentStoriesFromCSFFile=m(i=>this.store.componentStoriesFromCSFFile({csfFile:i}),"componentStoriesFromCSFFile"),this.storyById=m(i=>{if(!i){if(!this.primaryStory)throw new Error("No primary story defined for docs entry. Did you forget to use ``?");return this.primaryStory}let a=this.storyIdToCSFFile.get(i);if(!a)throw new Error(`Called \`storyById\` for story that was never loaded: ${i}`);return this.store.storyFromCSFFile({storyId:i,csfFile:a})},"storyById"),this.getStoryContext=m(i=>({...this.store.getStoryContext(i),loaded:{},viewMode:"docs"}),"getStoryContext"),this.loadStory=m(i=>this.store.loadStory({storyId:i}),"loadStory"),this.componentStoriesValue=[],this.storyIdToCSFFile=new Map,this.exportToStory=new Map,this.exportsToCSFFile=new Map,this.nameToStoryId=new Map,this.attachedCSFFiles=new Set,o.forEach((i,a)=>{this.referenceCSFFile(i)})}referenceCSFFile(t){this.exportsToCSFFile.set(t.moduleExports,t),this.exportsToCSFFile.set(t.moduleExports.default,t),this.store.componentStoriesFromCSFFile({csfFile:t}).forEach(r=>{let n=t.stories[r.id];this.storyIdToCSFFile.set(n.id,t),this.exportToStory.set(n.moduleExport,r)})}attachCSFFile(t){if(!this.exportsToCSFFile.has(t.moduleExports))throw new Error("Cannot attach a CSF file that has not been referenced");this.attachedCSFFiles.has(t)||(this.attachedCSFFiles.add(t),this.store.componentStoriesFromCSFFile({csfFile:t}).forEach(r=>{this.nameToStoryId.set(r.name,r.id),this.componentStoriesValue.push(r),this.primaryStory||(this.primaryStory=r)}))}referenceMeta(t,r){let n=this.resolveModuleExport(t);if(n.type!=="meta")throw new Error(" must reference a CSF file module export or meta export. Did you mistakenly reference your component instead of your CSF file?");r&&this.attachCSFFile(n.csfFile)}get projectAnnotations(){let{projectAnnotations:t}=this.store;if(!t)throw new Error("Can't get projectAnnotations from DocsContext before they are initialized");return t}resolveAttachedModuleExportType(t){if(t==="story"){if(!this.primaryStory)throw new Error("No primary story attached to this docs file, did you forget to use ?");return{type:"story",story:this.primaryStory}}if(this.attachedCSFFiles.size===0)throw new Error("No CSF file attached to this docs file, did you forget to use ?");let r=Array.from(this.attachedCSFFiles)[0];if(t==="meta")return{type:"meta",csfFile:r};let{component:n}=r.meta;if(!n)throw new Error("Attached CSF file does not defined a component, did you forget to export one?");return{type:"component",component:n}}resolveModuleExport(t){let r=this.exportsToCSFFile.get(t);if(r)return{type:"meta",csfFile:r};let n=this.exportToStory.get(mt(t)?t.input:t);return n?{type:"story",story:n}:{type:"component",component:t}}resolveOf(t,r=[]){let n;if(["component","meta","story"].includes(t)){let o=t;n=this.resolveAttachedModuleExportType(o)}else n=this.resolveModuleExport(t);if(r.length&&!r.includes(n.type)){let o=n.type==="component"?"component or unknown":n.type;throw new Error(fe`Invalid value passed to the 'of' prop. The value was resolved to a '${o}' type but the only types for this block are: ${r.join(", ")}. + - Did you pass a component to the 'of' prop when the block only supports a story or a meta? + - ... or vice versa? + - Did you pass a story, CSF file or meta to the 'of' prop that is not indexed, ie. is not targeted by the 'stories' globs in the main configuration?`)}switch(n.type){case"component":return{...n,projectAnnotations:this.projectAnnotations};case"meta":return{...n,preparedMeta:this.store.preparedMetaFromCSFFile({csfFile:n.csfFile})};case"story":default:return n}}};m(Ms,"DocsContext");var mo=Ms,Us=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.entry=n,this.callbacks=o,this.type="docs",this.subtype="csf",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=n.id}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:t,csfFiles:r=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw Vr;let{importPath:n,title:o}=this.entry,i=this.store.processCSFFileWithCache(t,n,o),a=Object.keys(i.stories)[0];this.story=this.store.storyFromCSFFile({storyId:a,csfFile:i}),this.csfFiles=[i,...r],this.preparing=!1}isEqual(t){return!!(this.id===t.id&&this.story&&this.story===t.story)}docsContext(t){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");let r=new mo(this.channel,this.store,t,this.csfFiles);return this.csfFiles.forEach(n=>r.attachCSFFile(n)),r}async renderToElement(t,r){if(!this.story||!this.csfFiles)throw new Error("Cannot render docs before preparing");let n=this.docsContext(r),{docs:o}=this.story.parameters||{};if(!o)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let i=await o.renderer(),{render:a}=i,l=m(async()=>{try{await a(n,o,t),this.channel.emit(Fr,this.id)}catch(u){this.callbacks.showException(u)}},"renderDocs");return this.rerender=async()=>l(),this.teardownRender=async({viewModeChanged:u})=>{!u||!t||i.unmount(t)},l()}async teardown({viewModeChanged:t}={}){this.teardownRender?.({viewModeChanged:t}),this.torndown=!0}};m(Us,"CsfDocsRender");var $i=Us,$s=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.entry=n,this.callbacks=o,this.type="docs",this.subtype="mdx",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=n.id}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:t,csfFiles:r=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw Vr;this.csfFiles=r,this.exports=t,this.preparing=!1}isEqual(t){return!!(this.id===t.id&&this.exports&&this.exports===t.exports)}docsContext(t){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");return new mo(this.channel,this.store,t,this.csfFiles)}async renderToElement(t,r){if(!this.exports||!this.csfFiles||!this.store.projectAnnotations)throw new Error("Cannot render docs before preparing");let n=this.docsContext(r),{docs:o}=this.store.projectAnnotations.parameters||{};if(!o)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let i={...o,page:this.exports.default},a=await o.renderer(),{render:l}=a,u=m(async()=>{try{await l(n,i,t),this.channel.emit(Fr,this.id)}catch(c){this.callbacks.showException(c)}},"renderDocs");return this.rerender=async()=>u(),this.teardownRender=async({viewModeChanged:c}={})=>{!c||!t||(a.unmount(t),this.torndown=!0)},u()}async teardown({viewModeChanged:t}={}){this.teardownRender?.({viewModeChanged:t}),this.torndown=!0}};m($s,"MdxDocsRender");var qi=$s,Jh=globalThis;function qs(e){let t=e.composedPath&&e.composedPath()[0]||e.target;return/input|textarea/i.test(t.tagName)||t.getAttribute("contenteditable")!==null}m(qs,"focusInInput");var Vs="attached-mdx",Hh="unattached-mdx";function Js({tags:e}){return e?.includes(Hh)||e?.includes(Vs)}m(Js,"isMdxEntry");function Br(e){return e.type==="story"}m(Br,"isStoryRender");function Hs(e){return e.type==="docs"}m(Hs,"isDocsRender");function zs(e){return Hs(e)&&e.subtype==="csf"}m(zs,"isCsfDocsRender");var Gs=class extends Ls{constructor(t,r,n,o){super(t,r,void 0,!1),this.importFn=t,this.getProjectAnnotations=r,this.selectionStore=n,this.view=o,this.initialize()}setupListeners(){super.setupListeners(),Jh.onkeydown=this.onKeydown.bind(this),this.channel.on(hi,this.onSetCurrentStory.bind(this)),this.channel.on(Si,this.onUpdateQueryParams.bind(this)),this.channel.on(di,this.onPreloadStories.bind(this))}async setInitialGlobals(){if(!this.storyStoreValue)throw new ke({methodName:"setInitialGlobals"});let{globals:t}=this.selectionStore.selectionSpecifier||{};t&&this.storyStoreValue.userGlobals.updateFromPersisted(t),this.emitGlobals()}async initializeWithStoryIndex(t){return await super.initializeWithStoryIndex(t),this.selectSpecifiedStory()}async selectSpecifiedStory(){if(!this.storyStoreValue)throw new ke({methodName:"selectSpecifiedStory"});if(this.selectionStore.selection){await this.renderSelection();return}if(!this.selectionStore.selectionSpecifier){this.renderMissingStory();return}let{storySpecifier:t,args:r}=this.selectionStore.selectionSpecifier,n=this.storyStoreValue.storyIndex.entryFromSpecifier(t);if(!n){t==="*"?this.renderStoryLoadingException(t,new Ja):this.renderStoryLoadingException(t,new za({storySpecifier:t.toString()}));return}let{id:o,type:i}=n;this.selectionStore.setSelection({storyId:o,viewMode:i}),this.channel.emit(Ei,this.selectionStore.selection),this.channel.emit(Tn,this.selectionStore.selection),await this.renderSelection({persistedArgs:r})}async onGetProjectAnnotationsChanged({getProjectAnnotations:t}){await super.onGetProjectAnnotationsChanged({getProjectAnnotations:t}),this.selectionStore.selection&&this.renderSelection()}async onStoriesChanged({importFn:t,storyIndex:r}){await super.onStoriesChanged({importFn:t,storyIndex:r}),this.selectionStore.selection?await this.renderSelection():await this.selectSpecifiedStory()}onKeydown(t){if(!this.storyRenders.find(r=>r.disableKeyListeners)&&!qs(t)){let{altKey:r,ctrlKey:n,metaKey:o,shiftKey:i,key:a,code:l,keyCode:u}=t;this.channel.emit(pi,{event:{altKey:r,ctrlKey:n,metaKey:o,shiftKey:i,key:a,code:l,keyCode:u}})}}async onSetCurrentStory(t){this.selectionStore.setSelection({viewMode:"story",...t}),await this.storeInitializationPromise,this.channel.emit(Tn,this.selectionStore.selection),this.renderSelection()}onUpdateQueryParams(t){this.selectionStore.setQueryParams(t)}async onUpdateGlobals({globals:t}){let r=this.currentRender instanceof Qn&&this.currentRender.story||void 0;super.onUpdateGlobals({globals:t,currentStory:r}),(this.currentRender instanceof qi||this.currentRender instanceof $i)&&await this.currentRender.rerender?.()}async onUpdateArgs({storyId:t,updatedArgs:r}){super.onUpdateArgs({storyId:t,updatedArgs:r})}async onPreloadStories({ids:t}){await this.storeInitializationPromise,this.storyStoreValue&&await Promise.allSettled(t.map(r=>this.storyStoreValue?.loadEntry(r)))}async renderSelection({persistedArgs:t}={}){let{renderToCanvas:r}=this;if(!this.storyStoreValue||!r)throw new ke({methodName:"renderSelection"});let{selection:n}=this.selectionStore;if(!n)throw new Error("Cannot call renderSelection as no selection was made");let{storyId:o}=n,i;try{i=await this.storyStoreValue.storyIdToEntry(o)}catch(h){this.currentRender&&await this.teardownRender(this.currentRender),this.renderStoryLoadingException(o,h);return}let a=this.currentSelection?.storyId!==o,l=this.currentRender?.type!==i.type;i.type==="story"?this.view.showPreparingStory({immediate:l}):this.view.showPreparingDocs({immediate:l}),this.currentRender?.isPreparing()&&await this.teardownRender(this.currentRender);let u;i.type==="story"?u=new Qn(this.channel,this.storyStoreValue,r,this.mainStoryCallbacks(o),o,"story"):Js(i)?u=new qi(this.channel,this.storyStoreValue,i,this.mainStoryCallbacks(o)):u=new $i(this.channel,this.storyStoreValue,i,this.mainStoryCallbacks(o));let c=this.currentSelection;this.currentSelection=n;let d=this.currentRender;this.currentRender=u;try{await u.prepare()}catch(h){d&&await this.teardownRender(d),h!==Vr&&this.renderStoryLoadingException(o,h);return}let p=!a&&d&&!u.isEqual(d);if(t&&Br(u)&&(Pr(!!u.story),this.storyStoreValue.args.updateFromPersisted(u.story,t)),d&&!d.torndown&&!a&&!p&&!l){this.currentRender=d,this.channel.emit(Ai,o),this.view.showMain();return}if(d&&await this.teardownRender(d,{viewModeChanged:l}),c&&(a||l)&&this.channel.emit(mi,o),Br(u)){Pr(!!u.story);let{parameters:h,initialArgs:y,argTypes:E,unmappedArgs:v,initialGlobals:A,userGlobals:D,storyGlobals:S,globals:F}=this.storyStoreValue.getStoryContext(u.story);this.channel.emit(bi,{id:o,parameters:h,initialArgs:y,argTypes:E,args:v}),this.channel.emit(ft,{userGlobals:D,storyGlobals:S,globals:F,initialGlobals:A})}else{let{parameters:h}=this.storyStoreValue.projectAnnotations,{initialGlobals:y,globals:E}=this.storyStoreValue.userGlobals;if(this.channel.emit(ft,{globals:E,initialGlobals:y,storyGlobals:{},userGlobals:E}),zs(u)||u.entry.tags?.includes(Vs)){if(!u.csfFiles)throw new qa({storyId:o});({parameters:h}=this.storyStoreValue.preparedMetaFromCSFFile({csfFile:u.csfFiles[0]}))}this.channel.emit(si,{id:o,parameters:h})}Br(u)?(Pr(!!u.story),this.storyRenders.push(u),this.currentRender.renderToElement(this.view.prepareForStory(u.story))):this.currentRender.renderToElement(this.view.prepareForDocs(),this.renderStoryToElement.bind(this))}async teardownRender(t,{viewModeChanged:r=!1}={}){this.storyRenders=this.storyRenders.filter(n=>n!==t),await t?.teardown?.({viewModeChanged:r})}mainStoryCallbacks(t){return{showStoryDuringRender:m(()=>this.view.showStoryDuringRender(),"showStoryDuringRender"),showMain:m(()=>this.view.showMain(),"showMain"),showError:m(r=>this.renderError(t,r),"showError"),showException:m(r=>this.renderException(t,r),"showException")}}renderPreviewEntryError(t,r){super.renderPreviewEntryError(t,r),this.view.showErrorDisplay(r)}renderMissingStory(){this.view.showNoPreview(),this.channel.emit(kn)}renderStoryLoadingException(t,r){Q.error(r),this.view.showErrorDisplay(r),this.channel.emit(kn,t)}renderException(t,r){let{name:n="Error",message:o=String(r),stack:i}=r;this.channel.emit(vi,{name:n,message:o,stack:i}),this.channel.emit(It,{newPhase:"errored",storyId:t}),this.view.showErrorDisplay(r),Q.error(`Error rendering story '${t}':`),Q.error(r)}renderError(t,{title:r,description:n}){Q.error(`Error rendering story ${r}: ${n}`),this.channel.emit(yi,{title:r,description:n}),this.channel.emit(It,{newPhase:"errored",storyId:t}),this.view.showErrorDisplay({message:r,stack:n})}};m(Gs,"PreviewWithSelection");var zh=Gs,Zn=Bt(oo(),1),Gh=Bt(oo(),1),Vi=/^[a-zA-Z0-9 _-]*$/,Ws=/^-?[0-9]+(\.[0-9]+)?$/,Wh=/^#([a-f0-9]{3,4}|[a-f0-9]{6}|[a-f0-9]{8})$/i,Ks=/^(rgba?|hsla?)\(([0-9]{1,3}),\s?([0-9]{1,3})%?,\s?([0-9]{1,3})%?,?\s?([0-9](\.[0-9]{1,2})?)?\)$/i,eo=m((e="",t)=>e===null||e===""||!Vi.test(e)?!1:t==null||t instanceof Date||typeof t=="number"||typeof t=="boolean"?!0:typeof t=="string"?Vi.test(t)||Ws.test(t)||Wh.test(t)||Ks.test(t):Array.isArray(t)?t.every(r=>eo(e,r)):Le(t)?Object.entries(t).every(([r,n])=>eo(r,n)):!1,"validateArgs"),Kh={delimiter:";",nesting:!0,arrayRepeat:!0,arrayRepeatSyntax:"bracket",nestingSyntax:"js",valueDeserializer(e){if(e.startsWith("!")){if(e==="!undefined")return;if(e==="!null")return null;if(e==="!true")return!0;if(e==="!false")return!1;if(e.startsWith("!date(")&&e.endsWith(")"))return new Date(e.replaceAll(" ","+").slice(6,-1));if(e.startsWith("!hex(")&&e.endsWith(")"))return`#${e.slice(5,-1)}`;let t=e.slice(1).match(Ks);if(t)return e.startsWith("!rgba")||e.startsWith("!RGBA")?`${t[1]}(${t[2]}, ${t[3]}, ${t[4]}, ${t[5]})`:e.startsWith("!hsla")||e.startsWith("!HSLA")?`${t[1]}(${t[2]}, ${t[3]}%, ${t[4]}%, ${t[5]})`:e.startsWith("!rgb")||e.startsWith("!RGB")?`${t[1]}(${t[2]}, ${t[3]}, ${t[4]})`:`${t[1]}(${t[2]}, ${t[3]}%, ${t[4]}%)`}return Ws.test(e)?Number(e):e}},Ji=m(e=>{let t=e.split(";").map(r=>r.replace("=","~").replace(":","="));return Object.entries((0,Gh.parse)(t.join(";"),Kh)).reduce((r,[n,o])=>eo(n,o)?Object.assign(r,{[n]:o}):(ot.warn(fe` + Omitted potentially unsafe URL args. + + More info: https://storybook.js.org/docs/writing-stories/args#setting-args-through-the-url + `),r),{})},"parseArgsParam"),{history:Ys,document:lt}=Ee;function Xs(e){let t=(e||"").match(/^\/story\/(.+)/);if(!t)throw new Error(`Invalid path '${e}', must start with '/story/'`);return t[1]}m(Xs,"pathToId");var Qs=m(({selection:e,extraParams:t})=>{let r=lt?.location.search.slice(1),{path:n,selectedKind:o,selectedStory:i,...a}=(0,Zn.parse)(r);return`?${(0,Zn.stringify)({...a,...t,...e&&{id:e.storyId,viewMode:e.viewMode}})}`},"getQueryString"),Yh=m(e=>{if(!e)return;let t=Qs({selection:e}),{hash:r=""}=lt.location;lt.title=e.storyId,Ys.replaceState({},"",`${lt.location.pathname}${t}${r}`)},"setPath"),Xh=m(e=>e!=null&&typeof e=="object"&&Array.isArray(e)===!1,"isObject"),nr=m(e=>{if(e!==void 0){if(typeof e=="string")return e;if(Array.isArray(e))return nr(e[0]);if(Xh(e))return nr(Object.values(e).filter(Boolean))}},"getFirstString"),Qh=m(()=>{if(typeof lt<"u"){let e=lt.location.search.slice(1),t=(0,Zn.parse)(e),r=typeof t.args=="string"?Ji(t.args):void 0,n=typeof t.globals=="string"?Ji(t.globals):void 0,o=nr(t.viewMode);(typeof o!="string"||!o.match(/docs|story/))&&(o="story");let i=nr(t.path),a=i?Xs(i):nr(t.id);if(a)return{storySpecifier:a,args:r,globals:n,viewMode:o}}return null},"getSelectionSpecifierFromPath"),Zs=class{constructor(){this.selectionSpecifier=Qh()}setSelection(t){this.selection=t,Yh(this.selection)}setQueryParams(t){let r=Qs({extraParams:t}),{hash:n=""}=lt.location;Ys.replaceState({},"",`${lt.location.pathname}${r}${n}`)}};m(Zs,"UrlStore");var Zh=Zs,ef=Bt(Tp(),1),tf=Bt(oo(),1),{document:xe}=Ee,Hi=100,el=(e=>(e.MAIN="MAIN",e.NOPREVIEW="NOPREVIEW",e.PREPARING_STORY="PREPARING_STORY",e.PREPARING_DOCS="PREPARING_DOCS",e.ERROR="ERROR",e))(el||{}),Un={PREPARING_STORY:"sb-show-preparing-story",PREPARING_DOCS:"sb-show-preparing-docs",MAIN:"sb-show-main",NOPREVIEW:"sb-show-nopreview",ERROR:"sb-show-errordisplay"},$n={centered:"sb-main-centered",fullscreen:"sb-main-fullscreen",padded:"sb-main-padded"},zi=new ef.default({escapeXML:!0}),tl=class{constructor(){if(this.testing=!1,typeof xe<"u"){let{__SPECIAL_TEST_PARAMETER__:t}=(0,tf.parse)(xe.location.search.slice(1));switch(t){case"preparing-story":{this.showPreparingStory(),this.testing=!0;break}case"preparing-docs":{this.showPreparingDocs(),this.testing=!0;break}default:}}}prepareForStory(t){return this.showStory(),this.applyLayout(t.parameters.layout),xe.documentElement.scrollTop=0,xe.documentElement.scrollLeft=0,this.storyRoot()}storyRoot(){return xe.getElementById("storybook-root")}prepareForDocs(){return this.showMain(),this.showDocs(),this.applyLayout("fullscreen"),xe.documentElement.scrollTop=0,xe.documentElement.scrollLeft=0,this.docsRoot()}docsRoot(){return xe.getElementById("storybook-docs")}applyLayout(t="padded"){if(t==="none"){xe.body.classList.remove(this.currentLayoutClass),this.currentLayoutClass=null;return}this.checkIfLayoutExists(t);let r=$n[t];xe.body.classList.remove(this.currentLayoutClass),xe.body.classList.add(r),this.currentLayoutClass=r}checkIfLayoutExists(t){$n[t]||Q.warn(fe` + The desired layout: ${t} is not a valid option. + The possible options are: ${Object.keys($n).join(", ")}, none. + `)}showMode(t){clearTimeout(this.preparingTimeout),Object.keys(el).forEach(r=>{r===t?xe.body.classList.add(Un[r]):xe.body.classList.remove(Un[r])})}showErrorDisplay({message:t="",stack:r=""}){let n=t,o=r,i=t.split(` +`);i.length>1&&([n]=i,o=i.slice(1).join(` +`).replace(/^\n/,"")),xe.getElementById("error-message").innerHTML=zi.toHtml(n),xe.getElementById("error-stack").innerHTML=zi.toHtml(o),this.showMode("ERROR")}showNoPreview(){this.testing||(this.showMode("NOPREVIEW"),this.storyRoot()?.setAttribute("hidden","true"),this.docsRoot()?.setAttribute("hidden","true"))}showPreparingStory({immediate:t=!1}={}){clearTimeout(this.preparingTimeout),t?this.showMode("PREPARING_STORY"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_STORY"),Hi)}showPreparingDocs({immediate:t=!1}={}){clearTimeout(this.preparingTimeout),t?this.showMode("PREPARING_DOCS"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_DOCS"),Hi)}showMain(){this.showMode("MAIN")}showDocs(){this.storyRoot().setAttribute("hidden","true"),this.docsRoot().removeAttribute("hidden")}showStory(){this.docsRoot().setAttribute("hidden","true"),this.storyRoot().removeAttribute("hidden")}showStoryDuringRender(){xe.body.classList.add(Un.MAIN)}};m(tl,"WebView");var rf=tl,nf=class extends zh{constructor(t,r){super(t,r,new Zh,new rf),this.importFn=t,this.getProjectAnnotations=r,Ee.__STORYBOOK_PREVIEW__=this}};m(nf,"PreviewWeb");var{document:gt}=Ee,of=["application/javascript","application/ecmascript","application/x-ecmascript","application/x-javascript","text/ecmascript","text/javascript","text/javascript1.0","text/javascript1.1","text/javascript1.2","text/javascript1.3","text/javascript1.4","text/javascript1.5","text/jscript","text/livescript","text/x-ecmascript","text/x-javascript","module"],af="script",Gi="scripts-root";function to(){let e=gt.createEvent("Event");e.initEvent("DOMContentLoaded",!0,!0),gt.dispatchEvent(e)}m(to,"simulateDOMContentLoaded");function rl(e,t,r){let n=gt.createElement("script");n.type=e.type==="module"?"module":"text/javascript",e.src?(n.onload=t,n.onerror=t,n.src=e.src):n.textContent=e.innerText,r?r.appendChild(n):gt.head.appendChild(n),e.parentNode.removeChild(e),e.src||t()}m(rl,"insertScript");function yo(e,t,r=0){e[r](()=>{r++,r===e.length?t():yo(e,t,r)})}m(yo,"insertScriptsSequentially");function sf(e){let t=gt.getElementById(Gi);t?t.innerHTML="":(t=gt.createElement("div"),t.id=Gi,gt.body.appendChild(t));let r=Array.from(e.querySelectorAll(af));if(r.length){let n=[];r.forEach(o=>{let i=o.getAttribute("type");(!i||of.includes(i))&&n.push(a=>rl(o,a,t))}),n.length&&yo(n,to,void 0)}else to()}m(sf,"simulatePageLoad");var lf=Object.defineProperty,_=(e,t)=>lf(e,"name",{value:t,configurable:!0}),uf=_(e=>e.name==="literal","isLiteral"),cf=_(e=>e.value.replace(/['|"]/g,""),"toEnumOption"),df=_(e=>{switch(e.type){case"function":return{name:"function"};case"object":let t={};return e.signature.properties.forEach(r=>{t[r.key]=sr(r.value)}),{name:"object",value:t};default:throw new Cr({type:e,language:"Flow"})}},"convertSig"),sr=_(e=>{let{name:t,raw:r}=e,n={};switch(typeof r<"u"&&(n.raw=r),e.name){case"literal":return{...n,name:"other",value:e.value};case"string":case"number":case"symbol":case"boolean":return{...n,name:t};case"Array":return{...n,name:"array",value:e.elements.map(sr)};case"signature":return{...n,...df(e)};case"union":return e.elements?.every(uf)?{...n,name:"enum",value:e.elements?.map(cf)}:{...n,name:t,value:e.elements?.map(sr)};case"intersection":return{...n,name:t,value:e.elements?.map(sr)};default:return{...n,name:"other",value:t}}},"convert");function nl(e,t){let r={},n=Object.keys(e);for(let o=0;oe.replace(ol,""),"trimQuotes"),hf=_(e=>ol.test(e),"includesQuotes"),al=_(e=>{let t=pf(e);return hf(e)||Number.isNaN(Number(t))?t:Number(t)},"parseLiteral"),ff=/^\(.*\) => /,ir=_(e=>{let{name:t,raw:r,computed:n,value:o}=e,i={};switch(typeof r<"u"&&(i.raw=r),t){case"enum":{let l=n?o:o.map(u=>al(u.value));return{...i,name:t,value:l}}case"string":case"number":case"symbol":return{...i,name:t};case"func":return{...i,name:"function"};case"bool":case"boolean":return{...i,name:"boolean"};case"arrayOf":case"array":return{...i,name:"array",value:o&&ir(o)};case"object":return{...i,name:t};case"objectOf":return{...i,name:t,value:ir(o)};case"shape":case"exact":let a=nl(o,l=>ir(l));return{...i,name:"object",value:a};case"union":return{...i,name:"union",value:o.map(l=>ir(l))};case"instanceOf":case"element":case"elementType":default:{if(t?.indexOf("|")>0)try{let c=t.split("|").map(d=>JSON.parse(d));return{...i,name:"enum",value:c}}catch{}let l=o?`${t}(${o})`:t,u=ff.test(t)?"function":"other";return{...i,name:u,value:l}}}},"convert"),mf=_(e=>{switch(e.type){case"function":return{name:"function"};case"object":let t={};return e.signature.properties.forEach(r=>{t[r.key]=lr(r.value)}),{name:"object",value:t};default:throw new Cr({type:e,language:"Typescript"})}},"convertSig"),lr=_(e=>{let{name:t,raw:r}=e,n={};switch(typeof r<"u"&&(n.raw=r),e.name){case"string":case"number":case"symbol":case"boolean":return{...n,name:t};case"Array":return{...n,name:"array",value:e.elements.map(lr)};case"signature":return{...n,...mf(e)};case"union":let o;return e.elements?.every(i=>i.name==="literal")?o={...n,name:"enum",value:e.elements?.map(i=>al(i.value))}:o={...n,name:t,value:e.elements?.map(lr)},o;case"intersection":return{...n,name:t,value:e.elements?.map(lr)};default:return{...n,name:"other",value:t}}},"convert"),go=_(e=>{let{type:t,tsType:r,flowType:n}=e;try{if(t!=null)return ir(t);if(r!=null)return lr(r);if(n!=null)return sr(n)}catch(o){console.error(o)}return null},"convert"),yf=(e=>(e.JAVASCRIPT="JavaScript",e.FLOW="Flow",e.TYPESCRIPT="TypeScript",e.UNKNOWN="Unknown",e))(yf||{}),gf=["null","undefined"];function Jr(e){return gf.some(t=>t===e)}_(Jr,"isDefaultValueBlacklisted");var bf=_(e=>{if(!e)return"";if(typeof e=="string")return e;throw new Error(`Description: expected string, got: ${JSON.stringify(e)}`)},"str");function bo(e){return!!e.__docgenInfo}_(bo,"hasDocgen");function il(e){return e!=null&&Object.keys(e).length>0}_(il,"isValidDocgenSection");function sl(e,t){return bo(e)?e.__docgenInfo[t]:null}_(sl,"getDocgenSection");function ll(e){return bo(e)?bf(e.__docgenInfo.description):""}_(ll,"getDocgenDescription");var ut;(function(e){e.start="/**",e.nostart="/***",e.delim="*",e.end="*/"})(ut=ut||(ut={}));function ul(e){return/^\s+$/.test(e)}_(ul,"isSpace");function cl(e){let t=e.match(/\r+$/);return t==null?["",e]:[e.slice(-t[0].length),e.slice(0,-t[0].length)]}_(cl,"splitCR");function vt(e){let t=e.match(/^\s+/);return t==null?["",e]:[e.slice(0,t[0].length),e.slice(t[0].length)]}_(vt,"splitSpace");function dl(e){return e.split(/\n/)}_(dl,"splitLines");function pl(e={}){return Object.assign({tag:"",name:"",type:"",optional:!1,description:"",problems:[],source:[]},e)}_(pl,"seedSpec");function hl(e={}){return Object.assign({start:"",delimiter:"",postDelimiter:"",tag:"",postTag:"",name:"",postName:"",type:"",postType:"",description:"",end:"",lineEnd:""},e)}_(hl,"seedTokens");var Ef=/^@\S+/;function fl({fence:e="```"}={}){let t=ml(e),r=_((n,o)=>t(n)?!o:o,"toggleFence");return _(function(n){let o=[[]],i=!1;for(let a of n)Ef.test(a.tokens.description)&&!i?o.push([a]):o[o.length-1].push(a),i=r(a.tokens.description,i);return o},"parseBlock")}_(fl,"getParser");function ml(e){return typeof e=="string"?t=>t.split(e).length%2===0:e}_(ml,"getFencer");function yl({startLine:e=0,markers:t=ut}={}){let r=null,n=e;return _(function(o){let i=o,a=hl();if([a.lineEnd,i]=cl(i),[a.start,i]=vt(i),r===null&&i.startsWith(t.start)&&!i.startsWith(t.nostart)&&(r=[],a.delimiter=i.slice(0,t.start.length),i=i.slice(t.start.length),[a.postDelimiter,i]=vt(i)),r===null)return n++,null;let l=i.trimRight().endsWith(t.end);if(a.delimiter===""&&i.startsWith(t.delim)&&!i.startsWith(t.end)&&(a.delimiter=t.delim,i=i.slice(t.delim.length),[a.postDelimiter,i]=vt(i)),l){let u=i.trimRight();a.end=i.slice(u.length-t.end.length),i=u.slice(0,-t.end.length)}if(a.description=i,r.push({number:n,source:o,tokens:a}),n++,l){let u=r.slice();return r=null,u}return null},"parseSource")}_(yl,"getParser");function gl({tokenizers:e}){return _(function(t){var r;let n=pl({source:t});for(let o of e)if(n=o(n),!((r=n.problems[n.problems.length-1])===null||r===void 0)&&r.critical)break;return n},"parseSpec")}_(gl,"getParser");function bl(){return e=>{let{tokens:t}=e.source[0],r=t.description.match(/\s*(@(\S+))(\s*)/);return r===null?(e.problems.push({code:"spec:tag:prefix",message:'tag should start with "@" symbol',line:e.source[0].number,critical:!0}),e):(t.tag=r[1],t.postTag=r[3],t.description=t.description.slice(r[0].length),e.tag=r[2],e)}}_(bl,"tagTokenizer");function El(e="compact"){let t=vl(e);return r=>{let n=0,o=[];for(let[l,{tokens:u}]of r.source.entries()){let c="";if(l===0&&u.description[0]!=="{")return r;for(let d of u.description)if(d==="{"&&n++,d==="}"&&n--,c+=d,n===0)break;if(o.push([u,c]),n===0)break}if(n!==0)return r.problems.push({code:"spec:type:unpaired-curlies",message:"unpaired curlies",line:r.source[0].number,critical:!0}),r;let i=[],a=o[0][0].postDelimiter.length;for(let[l,[u,c]]of o.entries())u.type=c,l>0&&(u.type=u.postDelimiter.slice(a)+c,u.postDelimiter=u.postDelimiter.slice(0,a)),[u.postType,u.description]=vt(u.description.slice(c.length)),i.push(u.type);return i[0]=i[0].slice(1),i[i.length-1]=i[i.length-1].slice(0,-1),r.type=t(i),r}}_(El,"typeTokenizer");var vf=_(e=>e.trim(),"trim");function vl(e){return e==="compact"?t=>t.map(vf).join(""):e==="preserve"?t=>t.join(` +`):e}_(vl,"getJoiner");var Af=_(e=>e&&e.startsWith('"')&&e.endsWith('"'),"isQuoted");function Al(){let e=_((t,{tokens:r},n)=>r.type===""?t:n,"typeEnd");return t=>{let{tokens:r}=t.source[t.source.reduce(e,0)],n=r.description.trimLeft(),o=n.split('"');if(o.length>1&&o[0]===""&&o.length%2===1)return t.name=o[1],r.name=`"${o[1]}"`,[r.postName,r.description]=vt(n.slice(r.name.length)),t;let i=0,a="",l=!1,u;for(let d of n){if(i===0&&ul(d))break;d==="["&&i++,d==="]"&&i--,a+=d}if(i!==0)return t.problems.push({code:"spec:name:unpaired-brackets",message:"unpaired brackets",line:t.source[0].number,critical:!0}),t;let c=a;if(a[0]==="["&&a[a.length-1]==="]"){l=!0,a=a.slice(1,-1);let d=a.split("=");if(a=d[0].trim(),d[1]!==void 0&&(u=d.slice(1).join("=").trim()),a==="")return t.problems.push({code:"spec:name:empty-name",message:"empty name",line:t.source[0].number,critical:!0}),t;if(u==="")return t.problems.push({code:"spec:name:empty-default",message:"empty default value",line:t.source[0].number,critical:!0}),t;if(!Af(u)&&/=(?!>)/.test(u))return t.problems.push({code:"spec:name:invalid-default",message:"invalid default value syntax",line:t.source[0].number,critical:!0}),t}return t.optional=l,t.name=a,r.name=c,u!==void 0&&(t.default=u),[r.postName,r.description]=vt(n.slice(r.name.length)),t}}_(Al,"nameTokenizer");function Dl(e="compact",t=ut){let r=Eo(e);return n=>(n.description=r(n.source,t),n)}_(Dl,"descriptionTokenizer");function Eo(e){return e==="compact"?Sl:e==="preserve"?wl:e}_(Eo,"getJoiner");function Sl(e,t=ut){return e.map(({tokens:{description:r}})=>r.trim()).filter(r=>r!=="").join(" ")}_(Sl,"compactJoiner");var Df=_((e,{tokens:t},r)=>t.type===""?e:r,"lineNo"),Sf=_(({tokens:e})=>(e.delimiter===""?e.start:e.postDelimiter.slice(1))+e.description,"getDescription");function wl(e,t=ut){if(e.length===0)return"";e[0].tokens.description===""&&e[0].tokens.delimiter===t.start&&(e=e.slice(1));let r=e[e.length-1];return r!==void 0&&r.tokens.description===""&&r.tokens.end.endsWith(t.end)&&(e=e.slice(0,-1)),e=e.slice(e.reduce(Df,0)),e.map(Sf).join(` +`)}_(wl,"preserveJoiner");function Cl({startLine:e=0,fence:t="```",spacing:r="compact",markers:n=ut,tokenizers:o=[bl(),El(r),Al(),Dl(r)]}={}){if(e<0||e%1>0)throw new Error("Invalid startLine");let i=yl({startLine:e,markers:n}),a=fl({fence:t}),l=gl({tokenizers:o}),u=Eo(r);return function(c){let d=[];for(let p of dl(c)){let h=i(p);if(h===null)continue;let y=a(h),E=y.slice(1).map(l);d.push({description:u(y[0],n),tags:E,source:h,problems:E.reduce((v,A)=>v.concat(A.problems),[])})}return d}}_(Cl,"getParser");function xl(e){return e.start+e.delimiter+e.postDelimiter+e.tag+e.postTag+e.type+e.postType+e.name+e.postName+e.description+e.end+e.lineEnd}_(xl,"join");function Tl(){return e=>e.source.map(({tokens:t})=>xl(t)).join(` +`)}_(Tl,"getStringifier");var wf={line:0,start:0,delimiter:0,postDelimiter:0,tag:0,postTag:0,name:0,postName:0,type:0,postType:0,description:0,end:0,lineEnd:0},Dv=Object.keys(wf);function Fl(e,t={}){return Cl(t)(e)}_(Fl,"parse");var Sv=Tl();function Il(e){return e!=null&&e.includes("@")}_(Il,"containsJsDoc");function kl(e){let t=`/** +`+(e??"").split(` +`).map(n=>` * ${n}`).join(` +`)+` +*/`,r=Fl(t,{spacing:"preserve"});if(!r||r.length===0)throw new Error("Cannot parse JSDoc tags.");return r[0]}_(kl,"parse");var Cf={tags:["param","arg","argument","returns","ignore","deprecated"]},xf=_((e,t=Cf)=>{if(!Il(e))return{includesJsDoc:!1,ignore:!1};let r=kl(e),n=Rl(r,t.tags);return n.ignore?{includesJsDoc:!0,ignore:!0}:{includesJsDoc:!0,ignore:!1,description:r.description.trim(),extractedTags:n}},"parseJsDoc");function Rl(e,t){let r={params:null,deprecated:null,returns:null,ignore:!1};for(let n of e.tags)if(!(t!==void 0&&!t.includes(n.tag)))if(n.tag==="ignore"){r.ignore=!0;break}else switch(n.tag){case"param":case"arg":case"argument":{let o=_l(n);o!=null&&(r.params==null&&(r.params=[]),r.params.push(o));break}case"deprecated":{let o=Pl(n);o!=null&&(r.deprecated=o);break}case"returns":{let o=Bl(n);o!=null&&(r.returns=o);break}default:break}return r}_(Rl,"extractJsDocTags");function Ol(e){return e.replace(/[\.-]$/,"")}_(Ol,"normaliseParamName");function _l(e){if(!e.name||e.name==="-")return null;let t=Do(e.type);return{name:e.name,type:t,description:Ao(e.description),getPrettyName:_(()=>Ol(e.name),"getPrettyName"),getTypeName:_(()=>t?So(t):null,"getTypeName")}}_(_l,"extractParam");function Pl(e){return e.name?vo(e.name,e.description):null}_(Pl,"extractDeprecated");function vo(e,t){let r=e===""?t:`${e} ${t}`;return Ao(r)}_(vo,"joinNameAndDescription");function Ao(e){let t=e.replace(/^- /g,"").trim();return t===""?null:t}_(Ao,"normaliseDescription");function Bl(e){let t=Do(e.type);return t?{type:t,description:vo(e.name,e.description),getTypeName:_(()=>So(t),"getTypeName")}:null}_(Bl,"extractReturns");var ct=(0,Nt.stringifyRules)(),Tf=ct.JsdocTypeObject;ct.JsdocTypeAny=()=>"any";ct.JsdocTypeObject=(e,t)=>`(${Tf(e,t)})`;ct.JsdocTypeOptional=(e,t)=>t(e.element);ct.JsdocTypeNullable=(e,t)=>t(e.element);ct.JsdocTypeNotNullable=(e,t)=>t(e.element);ct.JsdocTypeUnion=(e,t)=>e.elements.map(t).join("|");function Do(e){try{return(0,Nt.parse)(e,"typescript")}catch{return null}}_(Do,"extractType");function So(e){return(0,Nt.transform)(ct,e)}_(So,"extractTypeName");function wo(e){return e.length>90}_(wo,"isTooLongForTypeSummary");function Nl(e){return e.length>50}_(Nl,"isTooLongForDefaultValueSummary");function me(e,t){return e===t?{summary:e}:{summary:e,detail:t}}_(me,"createSummaryValue");var wv=_(e=>e.replace(/\\r\\n/g,"\\n"),"normalizeNewlines");function jl(e,t){if(e!=null){let{value:r}=e;if(!Jr(r))return Nl(r)?me(t?.name,r):me(r)}return null}_(jl,"createDefaultValue");function Co({name:e,value:t,elements:r,raw:n}){return t??(r!=null?r.map(Co).join(" | "):n??e)}_(Co,"generateUnionElement");function Ll({name:e,raw:t,elements:r}){return r!=null?me(r.map(Co).join(" | ")):t!=null?me(t.replace(/^\|\s*/,"")):me(e)}_(Ll,"generateUnion");function Ml({type:e,raw:t}){return t!=null?me(t):me(e)}_(Ml,"generateFuncSignature");function Ul({type:e,raw:t}){return t!=null?wo(t)?me(e,t):me(t):me(e)}_(Ul,"generateObjectSignature");function $l(e){let{type:t}=e;return t==="object"?Ul(e):Ml(e)}_($l,"generateSignature");function ql({name:e,raw:t}){return t!=null?wo(t)?me(e,t):me(t):me(e)}_(ql,"generateDefault");function Vl(e){if(e==null)return null;switch(e.name){case"union":return Ll(e);case"signature":return $l(e);default:return ql(e)}}_(Vl,"createType");var Ff=_((e,t)=>{let{flowType:r,description:n,required:o,defaultValue:i}=t;return{name:e,type:Vl(r),required:o,description:n,defaultValue:jl(i??null,r??null)}},"createFlowPropDef");function Jl({defaultValue:e}){if(e!=null){let{value:t}=e;if(!Jr(t))return me(t)}return null}_(Jl,"createDefaultValue");function Hl({tsType:e,required:t}){if(e==null)return null;let r=e.name;return t||(r=r.replace(" | undefined","")),me(["Array","Record","signature"].includes(e.name)?e.raw:r)}_(Hl,"createType");var If=_((e,t)=>{let{description:r,required:n}=t;return{name:e,type:Hl(t),required:n,description:r,defaultValue:Jl(t)}},"createTsPropDef");function zl(e){return e!=null?me(e.name):null}_(zl,"createType");function Gl(e){let{computed:t,func:r}=e;return typeof t>"u"&&typeof r>"u"}_(Gl,"isReactDocgenTypescript");function Wl(e){return e?e.name==="string"?!0:e.name==="enum"?Array.isArray(e.value)&&e.value.every(({value:t})=>typeof t=="string"&&t[0]==='"'&&t[t.length-1]==='"'):!1:!1}_(Wl,"isStringValued");function Kl(e,t){if(e!=null){let{value:r}=e;if(!Jr(r))return Gl(e)&&Wl(t)?me(JSON.stringify(r)):me(r)}return null}_(Kl,"createDefaultValue");function xo(e,t,r){let{description:n,required:o,defaultValue:i}=r;return{name:e,type:zl(t),required:o,description:n,defaultValue:Kl(i,t)}}_(xo,"createBasicPropDef");function ur(e,t){if(t?.includesJsDoc){let{description:r,extractedTags:n}=t;r!=null&&(e.description=t.description);let o={...n,params:n?.params?.map(i=>({name:i.getPrettyName(),description:i.description}))};Object.values(o).filter(Boolean).length>0&&(e.jsDocTags=o)}return e}_(ur,"applyJsDocResult");var kf=_((e,t,r)=>{let n=xo(e,t.type,t);return n.sbType=go(t),ur(n,r)},"javaScriptFactory"),Rf=_((e,t,r)=>{let n=If(e,t);return n.sbType=go(t),ur(n,r)},"tsFactory"),Of=_((e,t,r)=>{let n=Ff(e,t);return n.sbType=go(t),ur(n,r)},"flowFactory"),_f=_((e,t,r)=>{let n=xo(e,{name:"unknown"},t);return ur(n,r)},"unknownFactory"),Yl=_(e=>{switch(e){case"JavaScript":return kf;case"TypeScript":return Rf;case"Flow":return Of;default:return _f}},"getPropDefFactory"),Xl=_(e=>e.type!=null?"JavaScript":e.flowType!=null?"Flow":e.tsType!=null?"TypeScript":"Unknown","getTypeSystem"),Pf=_(e=>{let t=Xl(e[0]),r=Yl(t);return e.map(n=>{let o=n;return n.type?.elements&&(o={...n,type:{...n.type,value:n.type.elements}}),To(o.name,o,t,r)})},"extractComponentSectionArray"),Bf=_(e=>{let t=Object.keys(e),r=Xl(e[t[0]]),n=Yl(r);return t.map(o=>{let i=e[o];return i!=null?To(o,i,r,n):null}).filter(Boolean)},"extractComponentSectionObject"),Cv=_((e,t)=>{let r=sl(e,t);return il(r)?Array.isArray(r)?Pf(r):Bf(r):[]},"extractComponentProps");function To(e,t,r,n){let o=xf(t.description);return o.includesJsDoc&&o.ignore?null:{propDef:n(e,t,o),jsDocTags:o.extractedTags,docgenInfo:t,typeSystem:r}}_(To,"extractProp");function Nf(e){return e!=null?ll(e):""}_(Nf,"extractComponentDescription");var Tv=_(e=>{let{component:t,argTypes:r,parameters:{docs:n={}}}=e,{extractArgTypes:o}=n,i=o&&t?o(t):{};return i?Ke(i,r):r},"enhanceArgTypes"),Hr="storybook/docs",Ql=`${Hr}/panel`,Fo="docs",Io=`${Hr}/snippet-rendered`,cr=(e=>(e.AUTO="auto",e.CODE="code",e.DYNAMIC="dynamic",e))(cr||{}),jf=/(addons\/|addon-|addon-essentials\/)(docs|controls)/,Fv=_(e=>e.presetsList?.some(t=>jf.test(t.name)),"hasDocsOrControls");V();J();H();var Lv=__STORYBOOK_API__,{ActiveTabs:Mv,Consumer:Uv,ManagerContext:$v,Provider:qv,RequestResponseError:Vv,addons:ko,combineParameters:Jv,controlOrMetaKey:Hv,controlOrMetaSymbol:zv,eventMatchesShortcut:Gv,eventToShortcut:Wv,experimental_MockUniversalStore:Kv,experimental_UniversalStore:Yv,experimental_requestResponse:Xv,experimental_useUniversalStore:Qv,isMacLike:Zv,isShortcutTaken:eA,keyToSymbol:tA,merge:rA,mockChannel:nA,optionOrAltSymbol:oA,shortcutMatchesShortcut:aA,shortcutToHumanString:iA,types:Zl,useAddonState:sA,useArgTypes:lA,useArgs:uA,useChannel:eu,useGlobalTypes:cA,useGlobals:dA,useParameter:tu,useSharedState:pA,useStoryPrepared:hA,useStorybookApi:fA,useStorybookState:mA}=__STORYBOOK_API__;Wr();V();J();H();_o();Xt();Xt();Qt();Wr();Po();V();J();H();var ix=__STORYBOOK_CLIENT_LOGGER__,{deprecate:Yf,logger:Xf,once:Qf,pretty:sx}=__STORYBOOK_CLIENT_LOGGER__;V();J();H();V();J();H();V();J();H();V();J();H();V();J();H();var Rx=__STORYBOOK_CHANNELS__,{Channel:Zf,HEARTBEAT_INTERVAL:Ox,HEARTBEAT_MAX_LATENCY:_x,PostMessageTransport:Px,WebsocketTransport:Bx,createBrowserChannel:Nx}=__STORYBOOK_CHANNELS__;var Hu=Oe({"../../node_modules/memoizerific/memoizerific.js"(e,t){(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"||typeof window<"u"?n=window:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return function r(n,o,i){function a(c,d){if(!o[c]){if(!n[c]){var p=typeof dr=="function"&&dr;if(!d&&p)return p(c,!0);if(l)return l(c,!0);var h=new Error("Cannot find module '"+c+"'");throw h.code="MODULE_NOT_FOUND",h}var y=o[c]={exports:{}};n[c][0].call(y.exports,function(E){var v=n[c][1][E];return a(v||E)},y,y.exports,r,n,o,i)}return o[c].exports}for(var l=typeof dr=="function"&&dr,u=0;u=0)return this.lastItem=this.list[l],this.list[l].val},i.prototype.set=function(a,l){var u;return this.lastItem&&this.isEqual(this.lastItem.key,a)?(this.lastItem.val=l,this):(u=this.indexOf(a),u>=0?(this.lastItem=this.list[u],this.list[u].val=l,this):(this.lastItem={key:a,val:l},this.list.push(this.lastItem),this.size++,this))},i.prototype.delete=function(a){var l;if(this.lastItem&&this.isEqual(this.lastItem.key,a)&&(this.lastItem=void 0),l=this.indexOf(a),l>=0)return this.size--,this.list.splice(l,1)[0]},i.prototype.has=function(a){var l;return this.lastItem&&this.isEqual(this.lastItem.key,a)?!0:(l=this.indexOf(a),l>=0?(this.lastItem=this.list[l],!0):!1)},i.prototype.forEach=function(a,l){var u;for(u=0;u0&&(S[D]={cacheItem:E,arg:arguments[D]},F?a(p,S):p.push(S),p.length>c&&l(p.shift())),y.wasMemoized=F,y.numArgs=D+1,A};return y.limit=c,y.wasMemoized=!1,y.cache=d,y.lru=p,y}};function a(c,d){var p=c.length,h=d.length,y,E,v;for(E=0;E=0&&(p=c[y],h=p.cacheItem.get(p.arg),!h||!h.size);y--)p.cacheItem.delete(p.arg)}function u(c,d){return c===d||c!==c&&d!==d}},{"map-or-similar":1}]},{},[3])(3)})}}),Um=Oe({"../../node_modules/tocbot/src/js/default-options.js"(e,t){t.exports={tocSelector:".js-toc",contentSelector:".js-toc-content",headingSelector:"h1, h2, h3",ignoreSelector:".js-toc-ignore",hasInnerContainers:!1,linkClass:"toc-link",extraLinkClasses:"",activeLinkClass:"is-active-link",listClass:"toc-list",extraListClasses:"",isCollapsedClass:"is-collapsed",collapsibleClass:"is-collapsible",listItemClass:"toc-list-item",activeListItemClass:"is-active-li",collapseDepth:0,scrollSmooth:!0,scrollSmoothDuration:420,scrollSmoothOffset:0,scrollEndCallback:function(r){},headingsOffset:1,throttleTimeout:50,positionFixedSelector:null,positionFixedClass:"is-position-fixed",fixedSidebarOffset:"auto",includeHtml:!1,includeTitleTags:!1,onClick:function(r){},orderedList:!0,scrollContainer:null,skipRendering:!1,headingLabelCallback:!1,ignoreHiddenElements:!1,headingObjectCallback:null,basePath:"",disableTocScrollSync:!1,tocScrollOffset:0}}}),$m=Oe({"../../node_modules/tocbot/src/js/build-html.js"(e,t){t.exports=function(r){var n=[].forEach,o=[].some,i=document.body,a,l=!0,u=" ";function c(x,O){var R=O.appendChild(p(x));if(x.children.length){var N=h(x.isCollapsed);x.children.forEach(function(j){c(j,N)}),R.appendChild(N)}}function d(x,O){var R=!1,N=h(R);if(O.forEach(function(j){c(j,N)}),a=x||a,a!==null)return a.firstChild&&a.removeChild(a.firstChild),O.length===0?a:a.appendChild(N)}function p(x){var O=document.createElement("li"),R=document.createElement("a");return r.listItemClass&&O.setAttribute("class",r.listItemClass),r.onClick&&(R.onclick=r.onClick),r.includeTitleTags&&R.setAttribute("title",x.textContent),r.includeHtml&&x.childNodes.length?n.call(x.childNodes,function(N){R.appendChild(N.cloneNode(!0))}):R.textContent=x.textContent,R.setAttribute("href",r.basePath+"#"+x.id),R.setAttribute("class",r.linkClass+u+"node-name--"+x.nodeName+u+r.extraLinkClasses),O.appendChild(R),O}function h(x){var O=r.orderedList?"ol":"ul",R=document.createElement(O),N=r.listClass+u+r.extraListClasses;return x&&(N=N+u+r.collapsibleClass,N=N+u+r.isCollapsedClass),R.setAttribute("class",N),R}function y(){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var x;x=document.querySelector(r.scrollContainer).scrollTop}else x=document.documentElement.scrollTop||i.scrollTop;var O=document.querySelector(r.positionFixedSelector);r.fixedSidebarOffset==="auto"&&(r.fixedSidebarOffset=a.offsetTop),x>r.fixedSidebarOffset?O.className.indexOf(r.positionFixedClass)===-1&&(O.className+=u+r.positionFixedClass):O.className=O.className.replace(u+r.positionFixedClass,"")}function E(x){var O=0;return x!==null&&(O=x.offsetTop,r.hasInnerContainers&&(O+=E(x.offsetParent))),O}function v(x,O){return x&&x.className!==O&&(x.className=O),x}function A(x){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var O;O=document.querySelector(r.scrollContainer).scrollTop}else O=document.documentElement.scrollTop||i.scrollTop;r.positionFixedSelector&&y();var R=x,N;if(l&&a!==null&&R.length>0){o.call(R,function(b,w){if(E(b)>O+r.headingsOffset+10){var I=w===0?w:w-1;return N=R[I],!0}else if(w===R.length-1)return N=R[R.length-1],!0});var j=a.querySelector("."+r.activeLinkClass),U=a.querySelector("."+r.linkClass+".node-name--"+N.nodeName+'[href="'+r.basePath+"#"+N.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/\\@])/g,"\\$1")+'"]');if(j===U)return;var P=a.querySelectorAll("."+r.linkClass);n.call(P,function(b){v(b,b.className.replace(u+r.activeLinkClass,""))});var K=a.querySelectorAll("."+r.listItemClass);n.call(K,function(b){v(b,b.className.replace(u+r.activeListItemClass,""))}),U&&U.className.indexOf(r.activeLinkClass)===-1&&(U.className+=u+r.activeLinkClass);var L=U&&U.parentNode;L&&L.className.indexOf(r.activeListItemClass)===-1&&(L.className+=u+r.activeListItemClass);var z=a.querySelectorAll("."+r.listClass+"."+r.collapsibleClass);n.call(z,function(b){b.className.indexOf(r.isCollapsedClass)===-1&&(b.className+=u+r.isCollapsedClass)}),U&&U.nextSibling&&U.nextSibling.className.indexOf(r.isCollapsedClass)!==-1&&v(U.nextSibling,U.nextSibling.className.replace(u+r.isCollapsedClass,"")),D(U&&U.parentNode.parentNode)}}function D(x){return x&&x.className.indexOf(r.collapsibleClass)!==-1&&x.className.indexOf(r.isCollapsedClass)!==-1?(v(x,x.className.replace(u+r.isCollapsedClass,"")),D(x.parentNode.parentNode)):x}function S(x){var O=x.target||x.srcElement;typeof O.className!="string"||O.className.indexOf(r.linkClass)===-1||(l=!1)}function F(){l=!0}return{enableTocAnimation:F,disableTocAnimation:S,render:d,updateToc:A}}}}),qm=Oe({"../../node_modules/tocbot/src/js/parse-content.js"(e,t){t.exports=function(r){var n=[].reduce;function o(p){return p[p.length-1]}function i(p){return+p.nodeName.toUpperCase().replace("H","")}function a(p){try{return p instanceof window.HTMLElement||p instanceof window.parent.HTMLElement}catch{return p instanceof window.HTMLElement}}function l(p){if(!a(p))return p;if(r.ignoreHiddenElements&&(!p.offsetHeight||!p.offsetParent))return null;let h=p.getAttribute("data-heading-label")||(r.headingLabelCallback?String(r.headingLabelCallback(p.innerText)):(p.innerText||p.textContent).trim());var y={id:p.id,children:[],nodeName:p.nodeName,headingLevel:i(p),textContent:h};return r.includeHtml&&(y.childNodes=p.childNodes),r.headingObjectCallback?r.headingObjectCallback(y,p):y}function u(p,h){for(var y=l(p),E=y.headingLevel,v=h,A=o(v),D=A?A.headingLevel:0,S=E-D;S>0&&(A=o(v),!(A&&E===A.headingLevel));)A&&A.children!==void 0&&(v=A.children),S--;return E>=r.collapseDepth&&(y.isCollapsed=!0),v.push(y),v}function c(p,h){var y=h;r.ignoreSelector&&(y=h.split(",").map(function(E){return E.trim()+":not("+r.ignoreSelector+")"}));try{return p.querySelectorAll(y)}catch{return console.warn("Headers not found with selector: "+y),null}}function d(p){return n.call(p,function(h,y){var E=l(y);return E&&u(E,h.nest),h},{nest:[]})}return{nestHeadingsArray:d,selectHeadings:c}}}}),Vm=Oe({"../../node_modules/tocbot/src/js/update-toc-scroll.js"(e,t){t.exports=function(r){var n=r.tocElement||document.querySelector(r.tocSelector);if(n&&n.scrollHeight>n.clientHeight){var o=n.querySelector("."+r.activeListItemClass);o&&(n.scrollTop=o.offsetTop-r.tocScrollOffset)}}}}),Jm=Oe({"../../node_modules/tocbot/src/js/scroll-smooth/index.js"(e){e.initSmoothScrolling=t;function t(n){var o=n.duration,i=n.offset,a=location.hash?c(location.href):location.href;l();function l(){document.body.addEventListener("click",p,!1);function p(h){!u(h.target)||h.target.className.indexOf("no-smooth-scroll")>-1||h.target.href.charAt(h.target.href.length-2)==="#"&&h.target.href.charAt(h.target.href.length-1)==="!"||h.target.className.indexOf(n.linkClass)===-1||r(h.target.hash,{duration:o,offset:i,callback:function(){d(h.target.hash)}})}}function u(p){return p.tagName.toLowerCase()==="a"&&(p.hash.length>0||p.href.charAt(p.href.length-1)==="#")&&(c(p.href)===a||c(p.href)+"#"===a)}function c(p){return p.slice(0,p.lastIndexOf("#"))}function d(p){var h=document.getElementById(p.substring(1));h&&(/^(?:a|select|input|button|textarea)$/i.test(h.tagName)||(h.tabIndex=-1),h.focus())}}function r(n,o){var i=window.pageYOffset,a={duration:o.duration,offset:o.offset||0,callback:o.callback,easing:o.easing||E},l=document.querySelector('[id="'+decodeURI(n).split("#").join("")+'"]')||document.querySelector('[id="'+n.split("#").join("")+'"]'),u=typeof n=="string"?a.offset+(n?l&&l.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):n,c=typeof a.duration=="function"?a.duration(u):a.duration,d,p;requestAnimationFrame(function(v){d=v,h(v)});function h(v){p=v-d,window.scrollTo(0,a.easing(p,i,u,c)),p"u"&&!p)return;var h,y=Object.prototype.hasOwnProperty;function E(){for(var S={},F=0;F=0&&o<1?(l=i,u=a):o>=1&&o<2?(l=a,u=i):o>=2&&o<3?(u=i,c=a):o>=3&&o<4?(u=a,c=i):o>=4&&o<5?(l=a,c=i):o>=5&&o<6&&(l=i,c=a);var d=r-i/2,p=l+d,h=u+d,y=c+d;return n(p,h,y)}var Lu={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 Xm(e){if(typeof e!="string")return e;var t=e.toLowerCase();return Lu[t]?"#"+Lu[t]:e}var Qm=/^#[a-fA-F0-9]{6}$/,Zm=/^#[a-fA-F0-9]{8}$/,ey=/^#[a-fA-F0-9]{3}$/,ty=/^#[a-fA-F0-9]{4}$/,Jo=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,ry=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,ny=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,oy=/^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 nn(e){if(typeof e!="string")throw new Ve(3);var t=Xm(e);if(t.match(Qm))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(Zm)){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(ey))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(ty)){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 o=Jo.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var i=ry.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 a=ny.exec(t);if(a){var l=parseInt(""+a[1],10),u=parseInt(""+a[2],10)/100,c=parseInt(""+a[3],10)/100,d="rgb("+yr(l,u,c)+")",p=Jo.exec(d);if(!p)throw new Ve(4,t,d);return{red:parseInt(""+p[1],10),green:parseInt(""+p[2],10),blue:parseInt(""+p[3],10)}}var h=oy.exec(t.substring(0,50));if(h){var y=parseInt(""+h[1],10),E=parseInt(""+h[2],10)/100,v=parseInt(""+h[3],10)/100,A="rgb("+yr(y,E,v)+")",D=Jo.exec(A);if(!D)throw new Ve(4,t,A);return{red:parseInt(""+D[1],10),green:parseInt(""+D[2],10),blue:parseInt(""+D[3],10),alpha:parseFloat(""+h[4])>1?parseFloat(""+h[4])/100:parseFloat(""+h[4])}}throw new Ve(5)}function ay(e){var t=e.red/255,r=e.green/255,n=e.blue/255,o=Math.max(t,r,n),i=Math.min(t,r,n),a=(o+i)/2;if(o===i)return e.alpha!==void 0?{hue:0,saturation:0,lightness:a,alpha:e.alpha}:{hue:0,saturation:0,lightness:a};var l,u=o-i,c=a>.5?u/(2-o-i):u/(o+i);switch(o){case t:l=(r-n)/u+(r=1?rn(e,t,r):"rgba("+yr(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?rn(e.hue,e.saturation,e.lightness):"rgba("+yr(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Ve(2)}function Yo(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return Ko("#"+Dt(e)+Dt(t)+Dt(r));if(typeof e=="object"&&t===void 0&&r===void 0)return Ko("#"+Dt(e.red)+Dt(e.green)+Dt(e.blue));throw new Ve(6)}function Ye(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var o=nn(e);return"rgba("+o.red+","+o.green+","+o.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?Yo(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?Yo(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Ve(7)}var cy=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},dy=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},py=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},hy=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function Wu(e){if(typeof e!="object")throw new Ve(8);if(dy(e))return Ye(e);if(cy(e))return Yo(e);if(hy(e))return uy(e);if(py(e))return ly(e);throw new Ve(8)}function Ku(e,t,r){return function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):Ku(e,t,n)}}function on(e){return Ku(e,e.length,[])}function an(e,t,r){return Math.max(e,Math.min(t,r))}function fy(e,t){if(t==="transparent")return t;var r=Gu(t);return Wu(Ut({},r,{lightness:an(0,1,r.lightness-parseFloat(e))}))}var my=on(fy),qe=my;function yy(e,t){if(t==="transparent")return t;var r=Gu(t);return Wu(Ut({},r,{lightness:an(0,1,r.lightness+parseFloat(e))}))}var gy=on(yy),St=gy;function by(e,t){if(t==="transparent")return t;var r=nn(t),n=typeof r.alpha=="number"?r.alpha:1,o=Ut({},r,{alpha:an(0,1,(n*100+parseFloat(e)*100)/100)});return Ye(o)}var Ey=on(by),en=Ey;function vy(e,t){if(t==="transparent")return t;var r=nn(t),n=typeof r.alpha=="number"?r.alpha:1,o=Ut({},r,{alpha:an(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return Ye(o)}var Ay=on(vy),le=Ay,Dy=k.div(Ft,({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:le(.3,e.color.defaultText),fontSize:e.typography.size.s2})),Sy=e=>C.createElement(Dy,{...e,className:"docblock-emptyblock sb-unstyled"}),wy=k(vn)(({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"}})),Cy=k.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"})),tn=k.div(({theme:e})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,height:17,marginTop:1,width:"60%",[`&:first-child${zr}`]:{margin:0}})),xy=()=>C.createElement(Cy,null,C.createElement(tn,null),C.createElement(tn,{style:{width:"80%"}}),C.createElement(tn,{style:{width:"30%"}}),C.createElement(tn,{style:{width:"80%"}})),Yu=({isLoading:e,error:t,language:r,code:n,dark:o,format:i=!1,...a})=>{let{typography:l}=Gr();if(e)return C.createElement(xy,null);if(t)return C.createElement(Sy,null,t);let u=C.createElement(wy,{bordered:!0,copyable:!0,format:i,language:r,className:"docblock-source sb-unstyled",...a},n);if(typeof o>"u")return u;let c=o?Ro.dark:Ro.light;return C.createElement(ru,{theme:nu({...c,fontCode:l.fonts.mono,fontBase:l.fonts.base})},u)},ye=e=>`& :where(${e}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${e}))`,Qo=600,pT=k.h1(Ft,({theme:e})=>({color:e.color.defaultText,fontSize:e.typography.size.m3,fontWeight:e.typography.weight.bold,lineHeight:"32px",[`@media (min-width: ${Qo}px)`]:{fontSize:e.typography.size.l1,lineHeight:"36px",marginBottom:"16px"}})),hT=k.h2(Ft,({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:15,[`@media (min-width: ${Qo}px)`]:{fontSize:e.typography.size.m1,lineHeight:"28px",marginBottom:24},color:le(.25,e.color.defaultText)})),fT=k.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"?le(.1,e.color.defaultText):le(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border};return{maxWidth:1e3,width:"100%",[ye("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}},[ye("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}},[ye("div")]:t,[ye("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}},[ye("h1")]:{...t,...r,fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},[ye("h2")]:{...t,...r,fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`},[ye("h3")]:{...t,...r,fontSize:`${e.typography.size.m1}px`,fontWeight:e.typography.weight.bold},[ye("h4")]:{...t,...r,fontSize:`${e.typography.size.s3}px`},[ye("h5")]:{...t,...r,fontSize:`${e.typography.size.s2}px`},[ye("h6")]:{...t,...r,fontSize:`${e.typography.size.s2}px`,color:e.color.dark},[ye("hr")]:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},[ye("img")]:{maxWidth:"100%"},[ye("li")]:{...t,fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":n},[ye("ol")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},[ye("p")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":n},[ye("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"}},[ye("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"}}},[ye("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}},[ye("ul")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0},listStyle:"disc"}}}),mT=k.div(({theme:e})=>({background:e.background.content,display:"flex",justifyContent:"center",padding:"4rem 20px",minHeight:"100vh",boxSizing:"border-box",gap:"3rem",[`@media (min-width: ${Qo}px)`]:{}}));var sn=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}`}),{window:yT}=globalThis;var Ty=Kt({scale:1}),{PREVIEW_URL:gT}=globalThis;var bT=k.strong(({theme:e})=>({color:e.color.orange}));var Fy=k(bn)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"}),Iy=k.div({display:"flex",alignItems:"center",gap:4}),ky=k.div(({theme:e})=>({width:14,height:14,borderRadius:2,margin:"0 7px",backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),Ry=({isLoading:e,storyId:t,baseUrl:r,zoom:n,resetZoom:o,...i})=>C.createElement(Fy,{...i},C.createElement(Iy,{key:"left"},e?[1,2,3].map(a=>C.createElement(ky,{key:a})):C.createElement(C.Fragment,null,C.createElement(ht,{key:"zoomin",onClick:a=>{a.preventDefault(),n(.8)},title:"Zoom in"},C.createElement(mu,null)),C.createElement(ht,{key:"zoomout",onClick:a=>{a.preventDefault(),n(1.25)},title:"Zoom out"},C.createElement(yu,null)),C.createElement(ht,{key:"zoomreset",onClick:a=>{a.preventDefault(),o()},title:"Reset zoom"},C.createElement(gu,null))))),Oy=k.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)`}}:{}),Mu=k(Yu)(({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)":qe(.05,e.background.content),color:e.color.lightest,button:{background:e.base==="light"?"rgba(0, 0, 0, 0.85)":qe(.05,e.background.content)}})),_y=k.div(({theme:e,withSource:t,isExpanded:r})=>({position:"relative",overflow:"hidden",margin:"25px 0 40px",...sn(e),borderBottomLeftRadius:t&&r&&0,borderBottomRightRadius:t&&r&&0,borderBottomWidth:r&&0,"h3 + &":{marginTop:"16px"}}),({withToolbar:e})=>e&&{paddingTop:40}),Py=(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:C.createElement(Mu,{...e,dark:!0}),actionItem:{title:"Hide code",className:"docblock-code-toggle docblock-code-toggle--expanded",onClick:()=>r(!1)}};default:return{source:C.createElement(Mu,{...e,dark:!0}),actionItem:{title:"Show code",className:"docblock-code-toggle",onClick:()=>r(!0)}}}};function By(e){if(ma.count(e)===1){let t=e;if(t.props)return t.props.id}return null}var Ny=k(Ry)({position:"absolute",top:0,left:0,right:0,height:40}),jy=k.div({overflow:"hidden",position:"relative"}),Ly=({isLoading:e,isColumn:t,columns:r,children:n,withSource:o,withToolbar:i=!1,isExpanded:a=!1,additionalActions:l,className:u,layout:c="padded",...d})=>{let[p,h]=Ue(a),{source:y,actionItem:E}=Py(o,p,h),[v,A]=Ue(1),D=[u].concat(["sbdocs","sbdocs-preview","sb-unstyled"]),S=o?[E]:[],[F,x]=Ue(l?[...l]:[]),O=[...S,...F],{window:R}=globalThis,N=tt(async U=>{let{createCopyToClipboardFunction:P}=await Promise.resolve().then(()=>(Qt(),Ia));P()},[]),j=U=>{let P=R.getSelection();P&&P.type==="Range"||(U.preventDefault(),F.filter(K=>K.title==="Copied").length===0&&N(y.props.code).then(()=>{x([...F,{title:"Copied",onClick:()=>{}}]),R.setTimeout(()=>x(F.filter(K=>K.title!=="Copied")),1500)}))};return C.createElement(_y,{withSource:o,withToolbar:i,...d,className:D.join(" ")},i&&C.createElement(Ny,{isLoading:e,border:!0,zoom:U=>A(v*U),resetZoom:()=>A(1),storyId:By(n),baseUrl:"./iframe.html"}),C.createElement(Ty.Provider,{value:{scale:v}},C.createElement(jy,{className:"docs-story",onCopyCapture:o&&j},C.createElement(Oy,{isColumn:t||!Array.isArray(n),columns:r,layout:c},C.createElement(Dn.Element,{scale:v},Array.isArray(n)?n.map((U,P)=>C.createElement("div",{key:P},U)):C.createElement("div",null,n))),C.createElement(yn,{actionItems:O}))),o&&p&&y)};k(Ly)(()=>({".docs-story":{paddingTop:32,paddingBottom:40}}));var Uu;(function(e){e[e.MAX=0]="MAX",e[e.HIGH=1]="HIGH",e[e.MED=2]="MED",e[e.LOW=3]="LOW",e[e.MIN=4]="MIN"})(Uu||(Uu={}));var ET=["allowFullScreen","allowTransparency","autoComplete","autoFocus","autoPlay","cellPadding","cellSpacing","charSet","classId","colSpan","contentEditable","contextMenu","crossOrigin","encType","formAction","formEncType","formMethod","formNoValidate","formTarget","frameBorder","hrefLang","inputMode","keyParams","keyType","marginHeight","marginWidth","maxLength","mediaGroup","minLength","noValidate","radioGroup","readOnly","rowSpan","spellCheck","srcDoc","srcLang","srcSet","tabIndex","useMap"].reduce((e,t)=>(e[t.toLowerCase()]=t,e),{class:"className",for:"htmlFor"});var My=/^(\s*>[\s\S]*?)(?=\n\n|$)/;var Uy=/^(?: {1,3})?(`{3,}|~{3,}) *(\S+)? *([^\n]*?)?\n([\s\S]*?)(?:\1\n?|$)/,$y=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/;var qy=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,Vy=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,Jy=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,Hy=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?((?:[^>]*[^/])?)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i;var zy=/^)/;var Gy=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i;var Wy=/^(\|.*)\n(?: *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*))?\n?/;var ln="((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~~.*?~~|==.*?==|.|\\n)*?)",vT=new RegExp(`^([*_])\\1${ln}\\1\\1(?!\\1)`),AT=new RegExp(`^([*_])${ln}\\1(?!\\1|\\w)`),DT=new RegExp(`^==${ln}==`),ST=new RegExp(`^~~${ln}~~`);var Zo="(?:\\d+\\.)",ea="(?:[*+-])";function Xu(e){return"( *)("+(e===1?Zo:ea)+") +"}var Qu=Xu(1),Zu=Xu(2);function ec(e){return new RegExp("^"+(e===1?Qu:Zu))}var wT=ec(1),CT=ec(2);function tc(e){return new RegExp("^"+(e===1?Qu:Zu)+"[^\\n]*(?:\\n(?!\\1"+(e===1?Zo:ea)+" )[^\\n]*)*(\\n|$)","gm")}var Ky=tc(1),Yy=tc(2);function rc(e){let t=e===1?Zo:ea;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}var Xy=rc(1),Qy=rc(2);var xT=new RegExp(`^\\[((?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*)\\]\\(\\s*?(?:\\s+['"]([\\s\\S]*?)['"])?\\s*\\)`);var Zy=[My,Uy,$y,qy,Jy,Vy,zy,Wy,Ky,Xy,Yy,Qy],TT=[...Zy,/^[^\n]+(?: \n|\n{2,})/,Hy,Gy];var FT=k.label(({theme:e})=>({lineHeight:"18px",alignItems:"center",marginBottom:8,display:"inline-block",position:"relative",whiteSpace:"nowrap",background:e.boolean.background,borderRadius:"3em",padding:1,'&[aria-disabled="true"]':{opacity:.5,input:{cursor:"not-allowed"}},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:le(.5,e.color.defaultText),background:"transparent","&:hover":{boxShadow:`${en(.3,e.appBorderColor)} 0 0 0 1px inset`},"&:active":{boxShadow:`${en(.05,e.appBorderColor)} 0 0 0 2px inset`,color:en(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"?`${en(.1,e.appBorderColor)} 0 0 2px`:`${e.appBorderColor} 0 0 0 1px`,color:e.color.defaultText,padding:"7px 15px"}}));var IT=k(nt.Input)(({readOnly:e})=>({opacity:e?.5:1})),kT=k.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}}));var RT=k.label({display:"flex"});var OT=k(nt.Input)(({readOnly:e})=>({opacity:e?.5:1}));var _T=k.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),PT=k.span({"[aria-readonly=true] &":{opacity:.5}}),BT=k.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}});var NT=k.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),jT=k.span({"[aria-readonly=true] &":{opacity:.5}}),LT=k.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}});var eg={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},MT=k.select(eg,({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}}})),UT=k.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}}}));var tg="Error",rg="Object",ng="Array",og="String",ag="Number",ig="Boolean",sg="Date",lg="Null",ug="Undefined",cg="Function",dg="Symbol",nc="ADD_DELTA_TYPE",oc="REMOVE_DELTA_TYPE",ac="UPDATE_DELTA_TYPE",ta="value",pg="key";function wt(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 ic(e,t){let r=wt(e),n=wt(t);return(r==="Function"||n==="Function")&&n!==r}var ra=class extends et{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:o}=this.props,{inputRefKey:i,inputRefValue:a}=this.state,l={};if(!t){if(!i.value)return;l.key=i.value}l.newValue=r(!1,n,o,l.key,a.value),e(l)}refInputKey(e){this.state.inputRefKey=e}refInputValue(e){this.state.inputRefValue=e}render(){let{handleCancel:e,onlyValue:t,addButtonElement:r,cancelButtonElement:n,inputElementGenerator:o,keyPath:i,deep:a}=this.props,l=de(r,{onClick:this.onSubmit}),u=de(n,{onClick:e}),c=o(ta,i,a),d=de(c,{placeholder:"Value",ref:this.refInputValue}),p=null;if(!t){let h=o(pg,i,a);p=de(h,{placeholder:"Key",ref:this.refInputKey})}return C.createElement("span",{className:"rejt-add-value-node"},p,d,u,l)}};ra.defaultProps={onlyValue:!1,addButtonElement:C.createElement("button",null,"+"),cancelButtonElement:C.createElement("button",null,"c")};var sc=class extends et{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:o}=this.props,i=n.length;o(n[i-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:o,nextDeep:i}=this.state,a=n[e];t(e,o,i,a).then(()=>{let l={keyPath:o,deep:i,key:e,oldValue:a,type:oc};n.splice(e,1),this.setState({data:n});let{onUpdate:u,onDeltaUpdate:c}=this.props;u(o[o.length-1],n),c(l)}).catch(r.error)}}handleAddValueAdd({newValue:e}){let{data:t,keyPath:r,nextDeep:n}=this.state,{beforeAddAction:o,logger:i}=this.props;o(t.length,r,n,e).then(()=>{let a=[...t,e];this.setState({data:a}),this.handleAddValueCancel();let{onUpdate:l,onDeltaUpdate:u}=this.props;l(r[r.length-1],a),u({type:nc,keyPath:r,deep:n,key:a.length-1,newValue:e})}).catch(i.error)}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:o}=this.props,{data:i,keyPath:a,nextDeep:l}=this.state,u=i[e];o(e,a,l,u,t).then(()=>{i[e]=t,this.setState({data:i});let{onUpdate:c,onDeltaUpdate:d}=this.props;c(a[a.length-1],i),d({type:ac,keyPath:a,deep:l,key:e,newValue:t,oldValue:u}),r(void 0)}).catch(n)})}renderCollapsed(){let{name:e,data:t,keyPath:r,deep:n}=this.state,{handleRemove:o,readOnly:i,getStyle:a,dataType:l,minusMenuElement:u}=this.props,{minus:c,collapsed:d}=a(e,t,r,n,l),p=i(e,t,r,n,l),h=de(u,{onClick:o,className:"rejt-minus-menu",style:c});return C.createElement("span",{className:"rejt-collapsed"},C.createElement("span",{className:"rejt-collapsed-text",style:d,onClick:this.handleCollapseMode},"[...] ",t.length," ",t.length===1?"item":"items"),!p&&h)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,addFormVisible:o,nextDeep:i}=this.state,{isCollapsed:a,handleRemove:l,onDeltaUpdate:u,readOnly:c,getStyle:d,dataType:p,addButtonElement:h,cancelButtonElement:y,editButtonElement:E,inputElementGenerator:v,textareaElementGenerator:A,minusMenuElement:D,plusMenuElement:S,beforeRemoveAction:F,beforeAddAction:x,beforeUpdateAction:O,logger:R,onSubmitValueParser:N}=this.props,{minus:j,plus:U,delimiter:P,ul:K,addForm:L}=d(e,t,r,n,p),z=c(e,t,r,n,p),b=de(S,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:U}),w=de(D,{onClick:l,className:"rejt-minus-menu",style:j});return C.createElement("span",{className:"rejt-not-collapsed"},C.createElement("span",{className:"rejt-not-collapsed-delimiter",style:P},"["),!o&&b,C.createElement("ul",{className:"rejt-not-collapsed-list",style:K},t.map((I,M)=>C.createElement(un,{key:M,name:M.toString(),data:I,keyPath:r,deep:i,isCollapsed:a,handleRemove:this.handleRemoveItem(M),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:u,readOnly:c,getStyle:d,addButtonElement:h,cancelButtonElement:y,editButtonElement:E,inputElementGenerator:v,textareaElementGenerator:A,minusMenuElement:D,plusMenuElement:S,beforeRemoveAction:F,beforeAddAction:x,beforeUpdateAction:O,logger:R,onSubmitValueParser:N}))),!z&&o&&C.createElement("div",{className:"rejt-add-form",style:L},C.createElement(ra,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,onlyValue:!0,addButtonElement:h,cancelButtonElement:y,inputElementGenerator:v,keyPath:r,deep:n,onSubmitValueParser:N})),C.createElement("span",{className:"rejt-not-collapsed-delimiter",style:P},"]"),!z&&w)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:o}=this.state,{dataType:i,getStyle:a}=this.props,l=t?this.renderCollapsed():this.renderNotCollapsed(),u=a(e,r,n,o,i);return C.createElement("div",{className:"rejt-array-node"},C.createElement("span",{onClick:this.handleCollapseMode},C.createElement("span",{className:"rejt-name",style:u.name},e," :"," ")),l)}};sc.defaultProps={keyPath:[],deep:0,minusMenuElement:C.createElement("span",null," - "),plusMenuElement:C.createElement("span",null," + ")};var lc=class extends et{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:o,deep:i}=this.state,{readOnly:a,dataType:l}=this.props,u=a(r,n,o,i,l);e&&!u&&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:o}=this.props,{inputRef:i,name:a,deep:l}=this.state;if(!i)return;let u=n(!0,o,l,a,i.value);e({value:u,key:a}).then(()=>{ic(t,u)||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:o}=this.state,{handleRemove:i,originalValue:a,readOnly:l,dataType:u,getStyle:c,editButtonElement:d,cancelButtonElement:p,textareaElementGenerator:h,minusMenuElement:y,keyPath:E}=this.props,v=c(e,a,n,o,u),A=null,D=null,S=l(e,a,n,o,u);if(r&&!S){let F=h(ta,E,o,e,a,u),x=de(d,{onClick:this.handleEdit}),O=de(p,{onClick:this.handleCancelEdit}),R=de(F,{ref:this.refInput,defaultValue:a});A=C.createElement("span",{className:"rejt-edit-form",style:v.editForm},R," ",O,x),D=null}else{A=C.createElement("span",{className:"rejt-value",style:v.value,onClick:S?null:this.handleEditMode},t);let F=de(y,{onClick:i,className:"rejt-minus-menu",style:v.minus});D=S?null:F}return C.createElement("li",{className:"rejt-function-value-node",style:v.li},C.createElement("span",{className:"rejt-name",style:v.name},e," :"," "),A,D)}};lc.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>{},editButtonElement:C.createElement("button",null,"e"),cancelButtonElement:C.createElement("button",null,"c"),minusMenuElement:C.createElement("span",null," - ")};var un=class extends et{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:o,handleRemove:i,handleUpdateValue:a,onUpdate:l,onDeltaUpdate:u,readOnly:c,getStyle:d,addButtonElement:p,cancelButtonElement:h,editButtonElement:y,inputElementGenerator:E,textareaElementGenerator:v,minusMenuElement:A,plusMenuElement:D,beforeRemoveAction:S,beforeAddAction:F,beforeUpdateAction:x,logger:O,onSubmitValueParser:R}=this.props,N=()=>!0,j=wt(e);switch(j){case tg:return C.createElement(Xo,{data:e,name:t,isCollapsed:o,keyPath:r,deep:n,handleRemove:i,onUpdate:l,onDeltaUpdate:u,readOnly:N,dataType:j,getStyle:d,addButtonElement:p,cancelButtonElement:h,editButtonElement:y,inputElementGenerator:E,textareaElementGenerator:v,minusMenuElement:A,plusMenuElement:D,beforeRemoveAction:S,beforeAddAction:F,beforeUpdateAction:x,logger:O,onSubmitValueParser:R});case rg:return C.createElement(Xo,{data:e,name:t,isCollapsed:o,keyPath:r,deep:n,handleRemove:i,onUpdate:l,onDeltaUpdate:u,readOnly:c,dataType:j,getStyle:d,addButtonElement:p,cancelButtonElement:h,editButtonElement:y,inputElementGenerator:E,textareaElementGenerator:v,minusMenuElement:A,plusMenuElement:D,beforeRemoveAction:S,beforeAddAction:F,beforeUpdateAction:x,logger:O,onSubmitValueParser:R});case ng:return C.createElement(sc,{data:e,name:t,isCollapsed:o,keyPath:r,deep:n,handleRemove:i,onUpdate:l,onDeltaUpdate:u,readOnly:c,dataType:j,getStyle:d,addButtonElement:p,cancelButtonElement:h,editButtonElement:y,inputElementGenerator:E,textareaElementGenerator:v,minusMenuElement:A,plusMenuElement:D,beforeRemoveAction:S,beforeAddAction:F,beforeUpdateAction:x,logger:O,onSubmitValueParser:R});case og:return C.createElement(dt,{name:t,value:`"${e}"`,originalValue:e,keyPath:r,deep:n,handleRemove:i,handleUpdateValue:a,readOnly:c,dataType:j,getStyle:d,cancelButtonElement:h,editButtonElement:y,inputElementGenerator:E,minusMenuElement:A,logger:O,onSubmitValueParser:R});case ag:return C.createElement(dt,{name:t,value:e,originalValue:e,keyPath:r,deep:n,handleRemove:i,handleUpdateValue:a,readOnly:c,dataType:j,getStyle:d,cancelButtonElement:h,editButtonElement:y,inputElementGenerator:E,minusMenuElement:A,logger:O,onSubmitValueParser:R});case ig:return C.createElement(dt,{name:t,value:e?"true":"false",originalValue:e,keyPath:r,deep:n,handleRemove:i,handleUpdateValue:a,readOnly:c,dataType:j,getStyle:d,cancelButtonElement:h,editButtonElement:y,inputElementGenerator:E,minusMenuElement:A,logger:O,onSubmitValueParser:R});case sg:return C.createElement(dt,{name:t,value:e.toISOString(),originalValue:e,keyPath:r,deep:n,handleRemove:i,handleUpdateValue:a,readOnly:N,dataType:j,getStyle:d,cancelButtonElement:h,editButtonElement:y,inputElementGenerator:E,minusMenuElement:A,logger:O,onSubmitValueParser:R});case lg:return C.createElement(dt,{name:t,value:"null",originalValue:"null",keyPath:r,deep:n,handleRemove:i,handleUpdateValue:a,readOnly:c,dataType:j,getStyle:d,cancelButtonElement:h,editButtonElement:y,inputElementGenerator:E,minusMenuElement:A,logger:O,onSubmitValueParser:R});case ug:return C.createElement(dt,{name:t,value:"undefined",originalValue:"undefined",keyPath:r,deep:n,handleRemove:i,handleUpdateValue:a,readOnly:c,dataType:j,getStyle:d,cancelButtonElement:h,editButtonElement:y,inputElementGenerator:E,minusMenuElement:A,logger:O,onSubmitValueParser:R});case cg:return C.createElement(lc,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:i,handleUpdateValue:a,readOnly:c,dataType:j,getStyle:d,cancelButtonElement:h,editButtonElement:y,textareaElementGenerator:v,minusMenuElement:A,logger:O,onSubmitValueParser:R});case dg:return C.createElement(dt,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:i,handleUpdateValue:a,readOnly:N,dataType:j,getStyle:d,cancelButtonElement:h,editButtonElement:y,inputElementGenerator:E,minusMenuElement:A,logger:O,onSubmitValueParser:R});default:return null}}};un.defaultProps={keyPath:[],deep:0};var Xo=class extends et{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:o}=this.props,i=n.length;o(n[i-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleAddValueAdd({key:e,newValue:t}){let{data:r,keyPath:n,nextDeep:o}=this.state,{beforeAddAction:i,logger:a}=this.props;i(e,n,o,t).then(()=>{r[e]=t,this.setState({data:r}),this.handleAddValueCancel();let{onUpdate:l,onDeltaUpdate:u}=this.props;l(n[n.length-1],r),u({type:nc,keyPath:n,deep:o,key:e,newValue:t})}).catch(a.error)}handleRemoveValue(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:o,nextDeep:i}=this.state,a=n[e];t(e,o,i,a).then(()=>{let l={keyPath:o,deep:i,key:e,oldValue:a,type:oc};delete n[e],this.setState({data:n});let{onUpdate:u,onDeltaUpdate:c}=this.props;u(o[o.length-1],n),c(l)}).catch(r.error)}}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:o}=this.props,{data:i,keyPath:a,nextDeep:l}=this.state,u=i[e];o(e,a,l,u,t).then(()=>{i[e]=t,this.setState({data:i});let{onUpdate:c,onDeltaUpdate:d}=this.props;c(a[a.length-1],i),d({type:ac,keyPath:a,deep:l,key:e,newValue:t,oldValue:u}),r()}).catch(n)})}renderCollapsed(){let{name:e,keyPath:t,deep:r,data:n}=this.state,{handleRemove:o,readOnly:i,dataType:a,getStyle:l,minusMenuElement:u}=this.props,{minus:c,collapsed:d}=l(e,n,t,r,a),p=Object.getOwnPropertyNames(n),h=i(e,n,t,r,a),y=de(u,{onClick:o,className:"rejt-minus-menu",style:c});return C.createElement("span",{className:"rejt-collapsed"},C.createElement("span",{className:"rejt-collapsed-text",style:d,onClick:this.handleCollapseMode},"{...}"," ",p.length," ",p.length===1?"key":"keys"),!h&&y)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,nextDeep:o,addFormVisible:i}=this.state,{isCollapsed:a,handleRemove:l,onDeltaUpdate:u,readOnly:c,getStyle:d,dataType:p,addButtonElement:h,cancelButtonElement:y,editButtonElement:E,inputElementGenerator:v,textareaElementGenerator:A,minusMenuElement:D,plusMenuElement:S,beforeRemoveAction:F,beforeAddAction:x,beforeUpdateAction:O,logger:R,onSubmitValueParser:N}=this.props,{minus:j,plus:U,addForm:P,ul:K,delimiter:L}=d(e,t,r,n,p),z=Object.getOwnPropertyNames(t),b=c(e,t,r,n,p),w=de(S,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:U}),I=de(D,{onClick:l,className:"rejt-minus-menu",style:j}),M=z.map($=>C.createElement(un,{key:$,name:$,data:t[$],keyPath:r,deep:o,isCollapsed:a,handleRemove:this.handleRemoveValue($),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:u,readOnly:c,getStyle:d,addButtonElement:h,cancelButtonElement:y,editButtonElement:E,inputElementGenerator:v,textareaElementGenerator:A,minusMenuElement:D,plusMenuElement:S,beforeRemoveAction:F,beforeAddAction:x,beforeUpdateAction:O,logger:R,onSubmitValueParser:N}));return C.createElement("span",{className:"rejt-not-collapsed"},C.createElement("span",{className:"rejt-not-collapsed-delimiter",style:L},"{"),!b&&w,C.createElement("ul",{className:"rejt-not-collapsed-list",style:K},M),!b&&i&&C.createElement("div",{className:"rejt-add-form",style:P},C.createElement(ra,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,addButtonElement:h,cancelButtonElement:y,inputElementGenerator:v,keyPath:r,deep:n,onSubmitValueParser:N})),C.createElement("span",{className:"rejt-not-collapsed-delimiter",style:L},"}"),!b&&I)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:o}=this.state,{getStyle:i,dataType:a}=this.props,l=t?this.renderCollapsed():this.renderNotCollapsed(),u=i(e,r,n,o,a);return C.createElement("div",{className:"rejt-object-node"},C.createElement("span",{onClick:this.handleCollapseMode},C.createElement("span",{className:"rejt-name",style:u.name},e," :"," ")),l)}};Xo.defaultProps={keyPath:[],deep:0,minusMenuElement:C.createElement("span",null," - "),plusMenuElement:C.createElement("span",null," + ")};var dt=class extends et{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:o,deep:i}=this.state,{readOnly:a,dataType:l}=this.props,u=a(r,n,o,i,l);e&&!u&&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:o}=this.props,{inputRef:i,name:a,deep:l}=this.state;if(!i)return;let u=n(!0,o,l,a,i.value);e({value:u,key:a}).then(()=>{ic(t,u)||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:o}=this.state,{handleRemove:i,originalValue:a,readOnly:l,dataType:u,getStyle:c,editButtonElement:d,cancelButtonElement:p,inputElementGenerator:h,minusMenuElement:y,keyPath:E}=this.props,v=c(e,a,n,o,u),A=l(e,a,n,o,u),D=r&&!A,S=h(ta,E,o,e,a,u),F=de(d,{onClick:this.handleEdit}),x=de(p,{onClick:this.handleCancelEdit}),O=de(S,{ref:this.refInput,defaultValue:JSON.stringify(a)}),R=de(y,{onClick:i,className:"rejt-minus-menu",style:v.minus});return C.createElement("li",{className:"rejt-value-node",style:v.li},C.createElement("span",{className:"rejt-name",style:v.name},e," : "),D?C.createElement("span",{className:"rejt-edit-form",style:v.editForm},O," ",x,F):C.createElement("span",{className:"rejt-value",style:v.value,onClick:A?null:this.handleEditMode},String(t)),!A&&!D&&R)}};dt.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>Promise.resolve(),editButtonElement:C.createElement("button",null,"e"),cancelButtonElement:C.createElement("button",null,"c"),minusMenuElement:C.createElement("span",null," - ")};function hg(e){let t=e;if(t.indexOf("function")===0)return(0,eval)(`(${t})`);try{t=JSON.parse(e)}catch{}return t}var fg={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},mg={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},yg={minus:{color:"red"},editForm:{},value:{color:"#7bba3d"},li:{minHeight:"22px",lineHeight:"22px",outline:"0px"},name:{color:"#2287CD"}},gg=class extends et{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:o,getStyle:i,addButtonElement:a,cancelButtonElement:l,editButtonElement:u,inputElement:c,textareaElement:d,minusMenuElement:p,plusMenuElement:h,beforeRemoveAction:y,beforeAddAction:E,beforeUpdateAction:v,logger:A,onSubmitValueParser:D,fallback:S=null}=this.props,F=wt(e),x=o;wt(o)==="Boolean"&&(x=()=>o);let O=c;c&&wt(c)!=="Function"&&(O=()=>c);let R=d;return d&&wt(d)!=="Function"&&(R=()=>d),F==="Object"||F==="Array"?C.createElement("div",{className:"rejt-tree"},C.createElement(un,{data:e,name:t,deep:-1,isCollapsed:r,onUpdate:this.onUpdate,onDeltaUpdate:n,readOnly:x,getStyle:i,addButtonElement:a,cancelButtonElement:l,editButtonElement:u,inputElementGenerator:O,textareaElementGenerator:R,minusMenuElement:p,plusMenuElement:h,handleRemove:this.removeRoot,beforeRemoveAction:y,beforeAddAction:E,beforeUpdateAction:v,logger:A,onSubmitValueParser:D})):S}};gg.defaultProps={rootName:"root",isCollapsed:(e,t)=>t!==-1,getStyle:(e,t,r,n,o)=>{switch(o){case"Object":case"Error":return fg;case"Array":return mg;default:return yg}},readOnly:()=>!1,onFullyUpdate:()=>{},onDeltaUpdate:()=>{},beforeRemoveAction:()=>Promise.resolve(),beforeAddAction:()=>Promise.resolve(),beforeUpdateAction:()=>Promise.resolve(),logger:{error:()=>{}},onSubmitValueParser:(e,t,r,n,o)=>hg(o),inputElement:()=>C.createElement("input",null),textareaElement:()=>C.createElement("textarea",null),fallback:null};var{window:$T}=globalThis,qT=k.div(({theme:e})=>({position:"relative",display:"flex",'&[aria-readonly="true"]':{opacity:.5},".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}})),VT=k.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})),JT=k(su)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.ancillary},"svg + &":{marginLeft:0}})),HT=k(fu)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.negative},"svg + &":{marginLeft:0}})),zT=k.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}`}})),GT=k(ht)(({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}})),WT=k(nt.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"}}));var KT=k.input(({theme:e,min:t,max:r,value:n,disabled:o})=>({"&":{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}%, + ${qe(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${qe(.02,e.input.background)} 100%)`:`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, + ${St(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${St(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:o?"not-allowed":"pointer"},"&::-webkit-slider-thumb":{marginTop:"-6px",width:16,height:16,border:`1px solid ${Ye(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${Ye(e.appBorderColor,.2)}`,cursor:o?"not-allowed":"grab",appearance:"none",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${qe(.05,e.input.background)}`,transform:"scale3d(1.1, 1.1, 1.1) translateY(-1px)",transition:"all 50ms ease-out"},"&:active":{background:`${e.input.background}`,transform:"scale3d(1, 1, 1) translateY(0px)",cursor:o?"not-allowed":"grab"}},"&:focus":{outline:"none","&::-webkit-slider-runnable-track":{borderColor:Ye(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}%, + ${qe(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${qe(.02,e.input.background)} 100%)`:`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, + ${St(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${St(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:o?"not-allowed":"pointer",outline:"none"},"&::-moz-range-thumb":{width:16,height:16,border:`1px solid ${Ye(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${Ye(e.appBorderColor,.2)}`,cursor:o?"not-allowed":"grap",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${qe(.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}%, + ${qe(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${qe(.02,e.input.background)} 100%)`:`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, + ${St(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${St(.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 ${Ye(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),bg=k.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums","[aria-readonly=true] &":{opacity:.5}}),YT=k(bg)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),XT=k.div({display:"flex",alignItems:"center",width:"100%"});var QT=k.label({display:"flex"}),ZT=k.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0}));var eF=k(nt.Input)({padding:10});var tF=ya(()=>Promise.resolve().then(()=>(ju(),Nu)));var rF=k.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:Tt({theme:e}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:e.typography.size.s1}}}));var Eg=jt(Hu());var nF=k.div(({isExpanded:e})=>({display:"flex",flexDirection:e?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100})),oF=k.span(Tt,({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}})),aF=k.button(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,marginBottom:"4px",background:"none",border:"none"})),iF=k.div(Tt,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"})),sF=k.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"}})),lF=k(du)({marginLeft:4}),uF=k(cu)({marginLeft:4});var cF=(0,Eg.default)(1e3)(e=>{let t=e.split(/\r?\n/);return`${Math.max(...t.map(r=>r.length))}ch`});var dF=k.span({fontWeight:"bold"}),pF=k.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),hF=k.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...Tt({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),fF=k.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?le(.1,e.color.defaultText):le(.2,e.color.defaultText),marginTop:t?4:0})),mF=k.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?le(.1,e.color.defaultText):le(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),yF=k.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"}));var gF=k.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"})),bF=k.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),EF=k.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor}));var vF=k(lu)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?le(.25,e.color.defaultText):le(.3,e.color.defaultText),border:"none",display:"inline-block"})),AF=k(uu)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?le(.25,e.color.defaultText):le(.3,e.color.defaultText),border:"none",display:"inline-block"})),DF=k.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),SF=k.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"?le(.4,e.color.defaultText):le(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),wF=k.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),CF=k.td({position:"relative"}),xF=k.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${St(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),TF=k.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"});var FF=k.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),IF=k.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),kF=k.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}));var RF=k.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"?le(.25,e.color.defaultText):le(.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}}}}})),OF=k(ht)(({theme:e})=>({margin:"-4px -12px -4px 0"})),_F=k.span({display:"flex",justifyContent:"space-between"});var PF=k.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?le(.4,e.color.defaultText):le(.6,e.color.defaultText)})),BF=k.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}),NF=k.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}}),jF=k.div(Ft,({theme:e})=>({...sn(e),margin:"25px 0 40px",padding:"30px 20px"}));var LF=k.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText})),MF=k.div(({theme:e})=>({color:e.base==="light"?le(.2,e.color.defaultText):le(.6,e.color.defaultText)})),UF=k.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5}),$F=k.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"?le(.4,e.color.defaultText):le(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}})),qF=k.div({display:"flex",flexDirection:"row"}),VF=k.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}})),JF=k.div(({theme:e})=>({...sn(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"})),HF=k.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30}),zF=k.div({flex:1,display:"flex",flexDirection:"row"}),GF=k.div({display:"flex",alignItems:"flex-start"}),WF=k.div({flex:"0 0 30%"}),KF=k.div({flex:1}),YF=k.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?le(.4,e.color.defaultText):le(.6,e.color.defaultText)})),XF=k.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));var QF=k.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2})),ZF=k.div(({theme:e})=>({...sn(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}})),e5=k.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"}),t5=k.div({display:"flex",flexFlow:"row wrap"});globalThis&&globalThis.__DOCS_CONTEXT__===void 0&&(globalThis.__DOCS_CONTEXT__=Kt(null),globalThis.__DOCS_CONTEXT__.displayName="DocsContext");var uc=globalThis?globalThis.__DOCS_CONTEXT__:Kt(null);var vg=Object.create,cc=Object.defineProperty,Ag=Object.getOwnPropertyDescriptor,dc=Object.getOwnPropertyNames,Dg=Object.getPrototypeOf,Sg=Object.prototype.hasOwnProperty,Ne=(e,t)=>function(){return t||(0,e[dc(e)[0]])((t={exports:{}}).exports,t),t.exports},wg=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of dc(t))!Sg.call(e,o)&&o!==r&&cc(e,o,{get:()=>t[o],enumerable:!(n=Ag(t,o))||n.enumerable});return e},na=(e,t,r)=>(r=e!=null?vg(Dg(e)):{},wg(t||!e||!e.__esModule?cc(r,"default",{value:e,enumerable:!0}):r,e)),Cg=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],xg=["detail"];function Tg(e){let t=Cg.filter(r=>e[r]!==void 0).reduce((r,n)=>({...r,[n]:e[n]}),{});return e instanceof CustomEvent&&xg.filter(r=>e[r]!==void 0).forEach(r=>{t[r]=e[r]}),t}var Fg=jt(Hu(),1),pc=Ne({"node_modules/has-symbols/shams.js"(e,t){t.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},n=Symbol("test"),o=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var i=42;r[n]=i;for(n in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var a=Object.getOwnPropertySymbols(r);if(a.length!==1||a[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var l=Object.getOwnPropertyDescriptor(r,n);if(l.value!==i||l.enumerable!==!0)return!1}return!0}}}),hc=Ne({"node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=pc();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}}),Ig=Ne({"node_modules/function-bind/implementation.js"(e,t){var r="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,o=Object.prototype.toString,i="[object Function]";t.exports=function(a){var l=this;if(typeof l!="function"||o.call(l)!==i)throw new TypeError(r+l);for(var u=n.call(arguments,1),c,d=function(){if(this instanceof c){var v=l.apply(this,u.concat(n.call(arguments)));return Object(v)===v?v:this}else return l.apply(a,u.concat(n.call(arguments)))},p=Math.max(0,l.length-u.length),h=[],y=0;y"u"?r:p(Uint8Array),E={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":d?p([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%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%":o,"%GeneratorFunction%":h,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d?p(p([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!d?r:p(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"||!d?r:p(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d?p(""[Symbol.iterator]()):r,"%Symbol%":d?Symbol:r,"%SyntaxError%":n,"%ThrowTypeError%":c,"%TypedArray%":y,"%TypeError%":i,"%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},v=function L(z){var b;if(z==="%AsyncFunction%")b=a("async function () {}");else if(z==="%GeneratorFunction%")b=a("function* () {}");else if(z==="%AsyncGeneratorFunction%")b=a("async function* () {}");else if(z==="%AsyncGenerator%"){var w=L("%AsyncGeneratorFunction%");w&&(b=w.prototype)}else if(z==="%AsyncIteratorPrototype%"){var I=L("%AsyncGenerator%");I&&(b=p(I.prototype))}return E[z]=b,b},A={"%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"]},D=oa(),S=kg(),F=D.call(Function.call,Array.prototype.concat),x=D.call(Function.apply,Array.prototype.splice),O=D.call(Function.call,String.prototype.replace),R=D.call(Function.call,String.prototype.slice),N=D.call(Function.call,RegExp.prototype.exec),j=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,U=/\\(\\)?/g,P=function(L){var z=R(L,0,1),b=R(L,-1);if(z==="%"&&b!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if(b==="%"&&z!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var w=[];return O(L,j,function(I,M,$,Y){w[w.length]=$?O(Y,U,"$1"):M||I}),w},K=function(L,z){var b=L,w;if(S(A,b)&&(w=A[b],b="%"+w[0]+"%"),S(E,b)){var I=E[b];if(I===h&&(I=v(b)),typeof I>"u"&&!z)throw new i("intrinsic "+L+" exists, but is not available. Please file an issue!");return{alias:w,name:b,value:I}}throw new n("intrinsic "+L+" does not exist!")};t.exports=function(L,z){if(typeof L!="string"||L.length===0)throw new i("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof z!="boolean")throw new i('"allowMissing" argument must be a boolean');if(N(/^%?[^%]*%?$/,L)===null)throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var b=P(L),w=b.length>0?b[0]:"",I=K("%"+w+"%",z),M=I.name,$=I.value,Y=!1,re=I.alias;re&&(w=re[0],x(b,F([0,1],re)));for(var Z=1,X=!0;Z=b.length){var Se=l($,ee);X=!!Se,X&&"get"in Se&&!("originalValue"in Se.get)?$=Se.get:$=$[ee]}else X=S($,ee),$=$[ee];X&&!Y&&(E[M]=$)}}return $}}}),Rg=Ne({"node_modules/call-bind/index.js"(e,t){var r=oa(),n=fc(),o=n("%Function.prototype.apply%"),i=n("%Function.prototype.call%"),a=n("%Reflect.apply%",!0)||r.call(i,o),l=n("%Object.getOwnPropertyDescriptor%",!0),u=n("%Object.defineProperty%",!0),c=n("%Math.max%");if(u)try{u({},"a",{value:1})}catch{u=null}t.exports=function(p){var h=a(r,i,arguments);if(l&&u){var y=l(h,"length");y.configurable&&u(h,"length",{value:1+c(0,p.length-(arguments.length-1))})}return h};var d=function(){return a(r,o,arguments)};u?u(t.exports,"apply",{value:d}):t.exports.apply=d}}),Og=Ne({"node_modules/call-bind/callBound.js"(e,t){var r=fc(),n=Rg(),o=n(r("String.prototype.indexOf"));t.exports=function(i,a){var l=r(i,!!a);return typeof l=="function"&&o(i,".prototype.")>-1?n(l):l}}}),_g=Ne({"node_modules/has-tostringtag/shams.js"(e,t){var r=pc();t.exports=function(){return r()&&!!Symbol.toStringTag}}}),Pg=Ne({"node_modules/is-regex/index.js"(e,t){var r=Og(),n=_g()(),o,i,a,l;n&&(o=r("Object.prototype.hasOwnProperty"),i=r("RegExp.prototype.exec"),a={},u=function(){throw a},l={toString:u,valueOf:u},typeof Symbol.toPrimitive=="symbol"&&(l[Symbol.toPrimitive]=u));var u,c=r("Object.prototype.toString"),d=Object.getOwnPropertyDescriptor,p="[object RegExp]";t.exports=n?function(h){if(!h||typeof h!="object")return!1;var y=d(h,"lastIndex"),E=y&&o(y,"value");if(!E)return!1;try{i(h,l)}catch(v){return v===a}}:function(h){return!h||typeof h!="object"&&typeof h!="function"?!1:c(h)===p}}}),Bg=Ne({"node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(o){if(!o)return!1;var i=r.call(o);return i==="[object Function]"||typeof o=="function"&&i!=="[object RegExp]"||typeof window<"u"&&(o===window.setTimeout||o===window.alert||o===window.confirm||o===window.prompt)}}}),Ng=Ne({"node_modules/is-symbol/index.js"(e,t){var r=Object.prototype.toString,n=hc()();n?(o=Symbol.prototype.toString,i=/^Symbol\(.*\)$/,a=function(l){return typeof l.valueOf()!="symbol"?!1:i.test(o.call(l))},t.exports=function(l){if(typeof l=="symbol")return!0;if(r.call(l)!=="[object Symbol]")return!1;try{return a(l)}catch{return!1}}):t.exports=function(l){return!1};var o,i,a}}),jg=na(Pg()),Lg=na(Bg()),Mg=na(Ng());function Ug(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}var $g=typeof window=="object"&&window&&window.Object===Object&&window,qg=$g,Vg=typeof self=="object"&&self&&self.Object===Object&&self,Jg=qg||Vg||Function("return this")(),aa=Jg,Hg=aa.Symbol,$t=Hg,mc=Object.prototype,zg=mc.hasOwnProperty,Gg=mc.toString,fr=$t?$t.toStringTag:void 0;function Wg(e){var t=zg.call(e,fr),r=e[fr];try{e[fr]=void 0;var n=!0}catch{}var o=Gg.call(e);return n&&(t?e[fr]=r:delete e[fr]),o}var Kg=Wg,Yg=Object.prototype,Xg=Yg.toString;function Qg(e){return Xg.call(e)}var Zg=Qg,e0="[object Null]",t0="[object Undefined]",$u=$t?$t.toStringTag:void 0;function r0(e){return e==null?e===void 0?t0:e0:$u&&$u in Object(e)?Kg(e):Zg(e)}var n0=r0,qu=$t?$t.prototype:void 0;qu&&qu.toString;function o0(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var yc=o0,a0="[object AsyncFunction]",i0="[object Function]",s0="[object GeneratorFunction]",l0="[object Proxy]";function u0(e){if(!yc(e))return!1;var t=n0(e);return t==i0||t==s0||t==a0||t==l0}var c0=u0,d0=aa["__core-js_shared__"],zo=d0,Vu=function(){var e=/[^.]+$/.exec(zo&&zo.keys&&zo.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function p0(e){return!!Vu&&Vu in e}var h0=p0,f0=Function.prototype,m0=f0.toString;function y0(e){if(e!=null){try{return m0.call(e)}catch{}try{return e+""}catch{}}return""}var g0=y0,b0=/[\\^$.*+?()[\]{}|]/g,E0=/^\[object .+?Constructor\]$/,v0=Function.prototype,A0=Object.prototype,D0=v0.toString,S0=A0.hasOwnProperty,w0=RegExp("^"+D0.call(S0).replace(b0,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function C0(e){if(!yc(e)||h0(e))return!1;var t=c0(e)?w0:E0;return t.test(g0(e))}var x0=C0;function T0(e,t){return e?.[t]}var F0=T0;function I0(e,t){var r=F0(e,t);return x0(r)?r:void 0}var gc=I0;function k0(e,t){return e===t||e!==e&&t!==t}var R0=k0,O0=gc(Object,"create"),gr=O0;function _0(){this.__data__=gr?gr(null):{},this.size=0}var P0=_0;function B0(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var N0=B0,j0="__lodash_hash_undefined__",L0=Object.prototype,M0=L0.hasOwnProperty;function U0(e){var t=this.__data__;if(gr){var r=t[e];return r===j0?void 0:r}return M0.call(t,e)?t[e]:void 0}var $0=U0,q0=Object.prototype,V0=q0.hasOwnProperty;function J0(e){var t=this.__data__;return gr?t[e]!==void 0:V0.call(t,e)}var H0=J0,z0="__lodash_hash_undefined__";function G0(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=gr&&t===void 0?z0:t,this}var W0=G0;function qt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t-1}var a2=o2;function i2(e,t){var r=this.__data__,n=cn(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var s2=i2;function Vt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{let t=null,r=!1,n=!1,o=!1,i="";if(e.indexOf("//")>=0||e.indexOf("/*")>=0)for(let a=0;aO2(e).replace(/\n\s*/g,"").trim()),P2=function(e,t){let r=t.slice(0,t.indexOf("{")),n=t.slice(t.indexOf("{"));if(r.includes("=>")||r.includes("function"))return t;let o=r;return o=o.replace(e,"function"),o+n},B2=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/;function Ec(e){if(!R2(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=Tg(t),r=!0),t=Object.keys(t).reduce((n,o)=>{try{t[o]&&t[o].toJSON,n[o]=t[o]}catch{r=!0}return n},{}),r?t:e}var N2=function(e){let t,r,n,o;return function(i,a){try{if(i==="")return o=[],t=new Map([[a,"[]"]]),r=new Map,n=[],a;let l=r.get(this)||this;for(;n.length&&l!==n[0];)n.shift(),o.pop();if(typeof a=="boolean")return a;if(a===void 0)return e.allowUndefined?"_undefined_":void 0;if(a===null)return null;if(typeof a=="number")return a===-1/0?"_-Infinity_":a===1/0?"_Infinity_":Number.isNaN(a)?"_NaN_":a;if(typeof a=="bigint")return`_bigint_${a.toString()}`;if(typeof a=="string")return B2.test(a)?e.allowDate?`_date_${a}`:void 0:a;if((0,jg.default)(a))return e.allowRegExp?`_regexp_${a.flags}|${a.source}`:void 0;if((0,Lg.default)(a)){if(!e.allowFunction)return;let{name:c}=a,d=a.toString();return d.match(/(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)?`_function_${c}|${(()=>{}).toString()}`:`_function_${c}|${_2(P2(i,d))}`}if((0,Mg.default)(a)){if(!e.allowSymbol)return;let c=Symbol.keyFor(a);return c!==void 0?`_gsymbol_${c}`:`_symbol_${a.toString().slice(7,-1)}`}if(n.length>=e.maxDepth)return Array.isArray(a)?`[Array(${a.length})]`:"[Object]";if(a===this)return`_duplicate_${JSON.stringify(o)}`;if(a instanceof Error&&e.allowError)return{__isConvertedError__:!0,errorProperties:{...a.cause?{cause:a.cause}:{},...a,name:a.name,message:a.message,stack:a.stack,"_constructor-name_":a.constructor.name}};if(a.constructor&&a.constructor.name&&a.constructor.name!=="Object"&&!Array.isArray(a)&&!e.allowClass)return;let u=t.get(a);if(!u){let c=Array.isArray(a)?a:Ec(a);if(a.constructor&&a.constructor.name&&a.constructor.name!=="Object"&&!Array.isArray(a)&&e.allowClass)try{Object.assign(c,{"_constructor-name_":a.constructor.name})}catch{}return o.push(i),n.unshift(c),t.set(a,JSON.stringify(o)),a!==c&&r.set(a,c),c}return`_duplicate_${u}`}catch{return}}},j2={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},L2=(e,t={})=>{let r={...j2,...t};return JSON.stringify(Ec(e),N2(r),t.space)};function M2(e){return L2(e,{allowFunction:!1})}var U2=Kt({sources:{}}),$2="--unknown--";var q2=(e,t,r)=>{let{sources:n}=r,o=n?.[e];return o?.[M2(t)]||o?.[$2]||{code:""}},V2=({snippet:e,storyContext:t,typeFromProps:r,transformFromProps:n})=>{let{__isArgsStory:o}=t.parameters,i=t.parameters.docs?.source||{},a=r||i.type||cr.AUTO;if(i.code!==void 0)return i.code;let l=a===cr.DYNAMIC||a===cr.AUTO&&e&&o?e:i.originalSource||"";return(n??i.transform)?.(l,t)||l},J2=(e,t,r)=>{let n,{of:o}=e;if("of"in e&&o===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");if(o)n=t.resolveOf(o,["story"]).story;else try{n=t.storyById()}catch{}let i=n?.parameters?.docs?.source||{},{code:a}=e,l=e.format??i.format,u=e.language??i.language??"jsx",c=e.dark??i.dark??!1;if(!a&&!n)return{error:"Oh no! The source is not available."};if(a)return{code:a,format:l,language:u,dark:c};let d=t.getStoryContext(n),p=e.__forceInitialArgs?d.initialArgs:d.unmappedArgs,h=q2(n.id,p,r);return l=h.format??n.parameters.docs?.source?.format??!1,{code:V2({snippet:h.code,storyContext:{...d,args:p},typeFromProps:e.type,transformFromProps:e.transform}),format:l,language:u,dark:c}},vc=e=>{let t=Dr(U2),r=Dr(uc),n=J2(e,r,t);return C.createElement(Yu,{...n})};var{document:H2}=globalThis;function z2(e,t){e.channel.emit(ui,t)}var r5=Sn.a;var Ac=["h1","h2","h3","h4","h5","h6"],G2=Ac.reduce((e,t)=>({...e,[t]:k(t)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})}),{}),W2=k.a(()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"})),K2=({as:e,id:t,children:r,...n})=>{let o=Dr(uc),i=G2[e],a=`#${t}`;return C.createElement(i,{id:t,...n},C.createElement(W2,{"aria-hidden":"true",href:a,tabIndex:-1,target:"_self",onClick:l=>{H2.getElementById(t)&&z2(o,a)}},C.createElement(pu,null)),r)},Dc=e=>{let{as:t,id:r,children:n,...o}=e;if(r)return C.createElement(K2,{as:t,id:r,...o},n);let i=t,{as:a,...l}=e;return C.createElement(i,{...wn(l,t)})},n5=Ac.reduce((e,t)=>({...e,[t]:r=>C.createElement(Dc,{as:t,...r})}),{});var Y2=(e=>(e.INFO="info",e.NOTES="notes",e.DOCGEN="docgen",e.AUTO="auto",e))(Y2||{});var o5=jt(Hm()),a5=k.div(({theme:e})=>({width:"10rem","@media (max-width: 768px)":{display:"none"}})),i5=k.div(({theme:e})=>({position:"fixed",bottom:0,top:0,width:"10rem",paddingTop:"4rem",paddingBottom:"2rem",overflowY:"auto",fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch","& *":{boxSizing:"border-box"},"& > .toc-wrapper > .toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`}}},"& .toc-list-item":{position:"relative",listStyleType:"none",marginLeft:20,paddingTop:3,paddingBottom:3},"& .toc-list-item::before":{content:'""',position:"absolute",height:"100%",top:0,left:0,transform:"translateX(calc(-2px - 20px))",borderLeft:`solid 2px ${e.color.mediumdark}`,opacity:0,transition:"opacity 0.2s"},"& .toc-list-item.is-active-li::before":{opacity:1},"& .toc-list-item > a":{color:e.color.defaultText,textDecoration:"none"},"& .toc-list-item.is-active-li > a":{fontWeight:600,color:e.color.secondary,textDecoration:"none"}})),s5=k.p(({theme:e})=>({fontWeight:600,fontSize:"0.875em",color:e.textColor,textTransform:"uppercase",marginBottom:10}));var{document:l5,window:u5}=globalThis;var X2=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g,Q2=Object.hasOwnProperty,Z2=class{constructor(){this.occurrences,this.reset()}slug(e,t){let r=this,n=e1(e,t===!0),o=n;for(;Q2.call(r.occurrences,n);)r.occurrences[o]++,n=o+"-"+r.occurrences[o];return r.occurrences[n]=0,n}reset(){this.occurrences=Object.create(null)}};function e1(e,t){return typeof e!="string"?"":(t||(e=e.toLowerCase()),e.replace(X2,"").replace(/ /g,"-"))}var t1=new Z2,r1=({children:e,disableAnchor:t,...r})=>{if(t||typeof e!="string")return C.createElement(En,null,e);let n=t1.slug(e.toLowerCase());return C.createElement(Dc,{as:"h2",id:n,...r},e)};var c5=k(r1)(({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"}}));ko.register(Hr,e=>{ko.add(Ql,{title:"Code",type:Zl.PANEL,paramKey:Fo,disabled:t=>!t?.docs?.codePanel,match:({viewMode:t})=>t==="story",render:({active:t})=>{let r=tu(Fo,{source:{code:""},theme:"dark"}),[n,o]=C.useState({});eu({[Io]:({source:a,format:l})=>{o({source:a,format:l})}});let i=Gr().base!=="light";return C.createElement(gn,{active:!!t},C.createElement(n1,null,C.createElement(vc,{...r.source,code:r.source.code||n.source,format:r.source.format||n.format,dark:i})))}})});var n1=k.div(()=>({height:"100%",[`> :first-child${zr}`]:{margin:0,height:"100%",boxShadow:"none"}}));})(); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/storybook-static/sb-addons/essentials-measure-7/manager-bundle.js b/storybook-static/sb-addons/essentials-measure-7/manager-bundle.js new file mode 100644 index 0000000..62adc9c --- /dev/null +++ b/storybook-static/sb-addons/essentials-measure-7/manager-bundle.js @@ -0,0 +1,3 @@ +try{ +(()=>{var t=__REACT__,{Children:O,Component:f,Fragment:R,Profiler:P,PureComponent:w,StrictMode:L,Suspense:E,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:D,cloneElement:M,createContext:v,createElement:x,createFactory:H,createRef:U,forwardRef:F,isValidElement:N,lazy:G,memo:W,startTransition:K,unstable_act:Y,useCallback:u,useContext:q,useDebugValue:V,useDeferredValue:Z,useEffect:d,useId:z,useImperativeHandle:J,useInsertionEffect:Q,useLayoutEffect:X,useMemo:$,useReducer:j,useRef:oo,useState:no,useSyncExternalStore:eo,useTransition:co,version:to}=__REACT__;var io=__STORYBOOK_API__,{ActiveTabs:so,Consumer:uo,ManagerContext:mo,Provider:po,RequestResponseError:So,addons:l,combineParameters:Co,controlOrMetaKey:ho,controlOrMetaSymbol:Ao,eventMatchesShortcut:_o,eventToShortcut:bo,experimental_MockUniversalStore:To,experimental_UniversalStore:go,experimental_requestResponse:yo,experimental_useUniversalStore:Bo,isMacLike:ko,isShortcutTaken:Oo,keyToSymbol:fo,merge:Ro,mockChannel:Po,optionOrAltSymbol:wo,shortcutMatchesShortcut:Lo,shortcutToHumanString:Eo,types:m,useAddonState:Do,useArgTypes:Mo,useArgs:vo,useChannel:xo,useGlobalTypes:Ho,useGlobals:p,useParameter:Uo,useSharedState:Fo,useStoryPrepared:No,useStorybookApi:S,useStorybookState:Go}=__STORYBOOK_API__;var Vo=__STORYBOOK_COMPONENTS__,{A:Zo,ActionBar:zo,AddonPanel:Jo,Badge:Qo,Bar:Xo,Blockquote:$o,Button:jo,ClipboardCode:on,Code:nn,DL:en,Div:cn,DocumentWrapper:tn,EmptyTabContent:rn,ErrorFormatter:In,FlexBar:an,Form:ln,H1:sn,H2:un,H3:dn,H4:mn,H5:pn,H6:Sn,HR:Cn,IconButton:C,IconButtonSkeleton:hn,Icons:An,Img:_n,LI:bn,Link:Tn,ListItem:gn,Loader:yn,Modal:Bn,OL:kn,P:On,Placeholder:fn,Pre:Rn,ProgressSpinner:Pn,ResetWrapper:wn,ScrollArea:Ln,Separator:En,Spaced:Dn,Span:Mn,StorybookIcon:vn,StorybookLogo:xn,Symbols:Hn,SyntaxHighlighter:Un,TT:Fn,TabBar:Nn,TabButton:Gn,TabWrapper:Wn,Table:Kn,Tabs:Yn,TabsState:qn,TooltipLinkList:Vn,TooltipMessage:Zn,TooltipNote:zn,UL:Jn,WithTooltip:Qn,WithTooltipPure:Xn,Zoom:$n,codeCommon:jn,components:oe,createCopyToClipboardFunction:ne,getStoryHref:ee,icons:ce,interleaveSeparators:te,nameSpaceClassNames:re,resetComponents:Ie,withReset:ae}=__STORYBOOK_COMPONENTS__;var de=__STORYBOOK_ICONS__,{AccessibilityAltIcon:me,AccessibilityIcon:pe,AddIcon:Se,AdminIcon:Ce,AlertAltIcon:he,AlertIcon:Ae,AlignLeftIcon:_e,AlignRightIcon:be,AppleIcon:Te,ArrowBottomLeftIcon:ge,ArrowBottomRightIcon:ye,ArrowDownIcon:Be,ArrowLeftIcon:ke,ArrowRightIcon:Oe,ArrowSolidDownIcon:fe,ArrowSolidLeftIcon:Re,ArrowSolidRightIcon:Pe,ArrowSolidUpIcon:we,ArrowTopLeftIcon:Le,ArrowTopRightIcon:Ee,ArrowUpIcon:De,AzureDevOpsIcon:Me,BackIcon:ve,BasketIcon:xe,BatchAcceptIcon:He,BatchDenyIcon:Ue,BeakerIcon:Fe,BellIcon:Ne,BitbucketIcon:Ge,BoldIcon:We,BookIcon:Ke,BookmarkHollowIcon:Ye,BookmarkIcon:qe,BottomBarIcon:Ve,BottomBarToggleIcon:Ze,BoxIcon:ze,BranchIcon:Je,BrowserIcon:Qe,ButtonIcon:Xe,CPUIcon:$e,CalendarIcon:je,CameraIcon:oc,CategoryIcon:nc,CertificateIcon:ec,ChangedIcon:cc,ChatIcon:tc,CheckIcon:rc,ChevronDownIcon:Ic,ChevronLeftIcon:ac,ChevronRightIcon:lc,ChevronSmallDownIcon:ic,ChevronSmallLeftIcon:sc,ChevronSmallRightIcon:uc,ChevronSmallUpIcon:dc,ChevronUpIcon:mc,ChromaticIcon:pc,ChromeIcon:Sc,CircleHollowIcon:Cc,CircleIcon:hc,ClearIcon:Ac,CloseAltIcon:_c,CloseIcon:bc,CloudHollowIcon:Tc,CloudIcon:gc,CogIcon:yc,CollapseIcon:Bc,CommandIcon:kc,CommentAddIcon:Oc,CommentIcon:fc,CommentsIcon:Rc,CommitIcon:Pc,CompassIcon:wc,ComponentDrivenIcon:Lc,ComponentIcon:Ec,ContrastIcon:Dc,ControlsIcon:Mc,CopyIcon:vc,CreditIcon:xc,CrossIcon:Hc,DashboardIcon:Uc,DatabaseIcon:Fc,DeleteIcon:Nc,DiamondIcon:Gc,DirectionIcon:Wc,DiscordIcon:Kc,DocChartIcon:Yc,DocListIcon:qc,DocumentIcon:Vc,DownloadIcon:Zc,DragIcon:zc,EditIcon:Jc,EllipsisIcon:Qc,EmailIcon:Xc,ExpandAltIcon:$c,ExpandIcon:jc,EyeCloseIcon:ot,EyeIcon:nt,FaceHappyIcon:et,FaceNeutralIcon:ct,FaceSadIcon:tt,FacebookIcon:rt,FailedIcon:It,FastForwardIcon:at,FigmaIcon:lt,FilterIcon:it,FlagIcon:st,FolderIcon:ut,FormIcon:dt,GDriveIcon:mt,GithubIcon:pt,GitlabIcon:St,GlobeIcon:Ct,GoogleIcon:ht,GraphBarIcon:At,GraphLineIcon:_t,GraphqlIcon:bt,GridAltIcon:Tt,GridIcon:gt,GrowIcon:yt,HeartHollowIcon:Bt,HeartIcon:kt,HomeIcon:Ot,HourglassIcon:ft,InfoIcon:Rt,ItalicIcon:Pt,JumpToIcon:wt,KeyIcon:Lt,LightningIcon:Et,LightningOffIcon:Dt,LinkBrokenIcon:Mt,LinkIcon:vt,LinkedinIcon:xt,LinuxIcon:Ht,ListOrderedIcon:Ut,ListUnorderedIcon:Ft,LocationIcon:Nt,LockIcon:Gt,MarkdownIcon:Wt,MarkupIcon:Kt,MediumIcon:Yt,MemoryIcon:qt,MenuIcon:Vt,MergeIcon:Zt,MirrorIcon:zt,MobileIcon:Jt,MoonIcon:Qt,NutIcon:Xt,OutboxIcon:$t,OutlineIcon:jt,PaintBrushIcon:or,PaperClipIcon:nr,ParagraphIcon:er,PassedIcon:cr,PhoneIcon:tr,PhotoDragIcon:rr,PhotoIcon:Ir,PinAltIcon:ar,PinIcon:lr,PlayAllHollowIcon:ir,PlayBackIcon:sr,PlayHollowIcon:ur,PlayIcon:dr,PlayNextIcon:mr,PlusIcon:pr,PointerDefaultIcon:Sr,PointerHandIcon:Cr,PowerIcon:hr,PrintIcon:Ar,ProceedIcon:_r,ProfileIcon:br,PullRequestIcon:Tr,QuestionIcon:gr,RSSIcon:yr,RedirectIcon:Br,ReduxIcon:kr,RefreshIcon:Or,ReplyIcon:fr,RepoIcon:Rr,RequestChangeIcon:Pr,RewindIcon:wr,RulerIcon:h,SaveIcon:Lr,SearchIcon:Er,ShareAltIcon:Dr,ShareIcon:Mr,ShieldIcon:vr,SideBySideIcon:xr,SidebarAltIcon:Hr,SidebarAltToggleIcon:Ur,SidebarIcon:Fr,SidebarToggleIcon:Nr,SpeakerIcon:Gr,StackedIcon:Wr,StarHollowIcon:Kr,StarIcon:Yr,StatusFailIcon:qr,StatusPassIcon:Vr,StatusWarnIcon:Zr,StickerIcon:zr,StopAltHollowIcon:Jr,StopAltIcon:Qr,StopIcon:Xr,StorybookIcon:$r,StructureIcon:jr,SubtractIcon:oI,SunIcon:nI,SupportIcon:eI,SwitchAltIcon:cI,SyncIcon:tI,TabletIcon:rI,ThumbsUpIcon:II,TimeIcon:aI,TimerIcon:lI,TransferIcon:iI,TrashIcon:sI,TwitterIcon:uI,TypeIcon:dI,UbuntuIcon:mI,UndoIcon:pI,UnfoldIcon:SI,UnlockIcon:CI,UnpinIcon:hI,UploadIcon:AI,UserAddIcon:_I,UserAltIcon:bI,UserIcon:TI,UsersIcon:gI,VSCodeIcon:yI,VerifiedIcon:BI,VideoIcon:kI,WandIcon:OI,WatchIcon:fI,WindowsIcon:RI,WrenchIcon:PI,XIcon:wI,YoutubeIcon:LI,ZoomIcon:EI,ZoomOutIcon:DI,ZoomResetIcon:MI,iconList:vI}=__STORYBOOK_ICONS__;var i="storybook/measure-addon",A=`${i}/tool`,_=()=>{let[r,c]=p(),{measureEnabled:I}=r,s=S(),a=u(()=>c({measureEnabled:!I}),[c,I]);return d(()=>{s.setAddonShortcut(i,{label:"Toggle Measure [M]",defaultShortcut:["M"],actionName:"measure",showInMenu:!1,action:a})},[a,s]),t.createElement(C,{key:A,active:I,title:"Enable measure",onClick:a},t.createElement(h,null))};l.register(i,()=>{l.add(A,{type:m.TOOL,title:"Measure",match:({viewMode:r,tabId:c})=>r==="story"&&!c,render:()=>t.createElement(_,null)})});})(); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/storybook-static/sb-addons/essentials-outline-8/manager-bundle.js b/storybook-static/sb-addons/essentials-outline-8/manager-bundle.js new file mode 100644 index 0000000..1c21547 --- /dev/null +++ b/storybook-static/sb-addons/essentials-outline-8/manager-bundle.js @@ -0,0 +1,3 @@ +try{ +(()=>{var t=__REACT__,{Children:k,Component:R,Fragment:P,Profiler:w,PureComponent:L,StrictMode:E,Suspense:D,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:v,cloneElement:x,createContext:H,createElement:M,createFactory:U,createRef:F,forwardRef:N,isValidElement:G,lazy:W,memo:u,startTransition:K,unstable_act:Y,useCallback:d,useContext:q,useDebugValue:V,useDeferredValue:Z,useEffect:p,useId:z,useImperativeHandle:J,useInsertionEffect:Q,useLayoutEffect:X,useMemo:$,useReducer:j,useRef:oo,useState:no,useSyncExternalStore:eo,useTransition:co,version:to}=__REACT__;var io=__STORYBOOK_API__,{ActiveTabs:so,Consumer:uo,ManagerContext:po,Provider:mo,RequestResponseError:So,addons:l,combineParameters:Co,controlOrMetaKey:ho,controlOrMetaSymbol:Ao,eventMatchesShortcut:_o,eventToShortcut:To,experimental_MockUniversalStore:bo,experimental_UniversalStore:go,experimental_requestResponse:yo,experimental_useUniversalStore:Oo,isMacLike:Bo,isShortcutTaken:fo,keyToSymbol:ko,merge:Ro,mockChannel:Po,optionOrAltSymbol:wo,shortcutMatchesShortcut:Lo,shortcutToHumanString:Eo,types:m,useAddonState:Do,useArgTypes:vo,useArgs:xo,useChannel:Ho,useGlobalTypes:Mo,useGlobals:S,useParameter:Uo,useSharedState:Fo,useStoryPrepared:No,useStorybookApi:C,useStorybookState:Go}=__STORYBOOK_API__;var Vo=__STORYBOOK_COMPONENTS__,{A:Zo,ActionBar:zo,AddonPanel:Jo,Badge:Qo,Bar:Xo,Blockquote:$o,Button:jo,ClipboardCode:on,Code:nn,DL:en,Div:cn,DocumentWrapper:tn,EmptyTabContent:rn,ErrorFormatter:In,FlexBar:an,Form:ln,H1:sn,H2:un,H3:dn,H4:pn,H5:mn,H6:Sn,HR:Cn,IconButton:h,IconButtonSkeleton:hn,Icons:An,Img:_n,LI:Tn,Link:bn,ListItem:gn,Loader:yn,Modal:On,OL:Bn,P:fn,Placeholder:kn,Pre:Rn,ProgressSpinner:Pn,ResetWrapper:wn,ScrollArea:Ln,Separator:En,Spaced:Dn,Span:vn,StorybookIcon:xn,StorybookLogo:Hn,Symbols:Mn,SyntaxHighlighter:Un,TT:Fn,TabBar:Nn,TabButton:Gn,TabWrapper:Wn,Table:Kn,Tabs:Yn,TabsState:qn,TooltipLinkList:Vn,TooltipMessage:Zn,TooltipNote:zn,UL:Jn,WithTooltip:Qn,WithTooltipPure:Xn,Zoom:$n,codeCommon:jn,components:oe,createCopyToClipboardFunction:ne,getStoryHref:ee,icons:ce,interleaveSeparators:te,nameSpaceClassNames:re,resetComponents:Ie,withReset:ae}=__STORYBOOK_COMPONENTS__;var de=__STORYBOOK_ICONS__,{AccessibilityAltIcon:pe,AccessibilityIcon:me,AddIcon:Se,AdminIcon:Ce,AlertAltIcon:he,AlertIcon:Ae,AlignLeftIcon:_e,AlignRightIcon:Te,AppleIcon:be,ArrowBottomLeftIcon:ge,ArrowBottomRightIcon:ye,ArrowDownIcon:Oe,ArrowLeftIcon:Be,ArrowRightIcon:fe,ArrowSolidDownIcon:ke,ArrowSolidLeftIcon:Re,ArrowSolidRightIcon:Pe,ArrowSolidUpIcon:we,ArrowTopLeftIcon:Le,ArrowTopRightIcon:Ee,ArrowUpIcon:De,AzureDevOpsIcon:ve,BackIcon:xe,BasketIcon:He,BatchAcceptIcon:Me,BatchDenyIcon:Ue,BeakerIcon:Fe,BellIcon:Ne,BitbucketIcon:Ge,BoldIcon:We,BookIcon:Ke,BookmarkHollowIcon:Ye,BookmarkIcon:qe,BottomBarIcon:Ve,BottomBarToggleIcon:Ze,BoxIcon:ze,BranchIcon:Je,BrowserIcon:Qe,ButtonIcon:Xe,CPUIcon:$e,CalendarIcon:je,CameraIcon:oc,CategoryIcon:nc,CertificateIcon:ec,ChangedIcon:cc,ChatIcon:tc,CheckIcon:rc,ChevronDownIcon:Ic,ChevronLeftIcon:ac,ChevronRightIcon:lc,ChevronSmallDownIcon:ic,ChevronSmallLeftIcon:sc,ChevronSmallRightIcon:uc,ChevronSmallUpIcon:dc,ChevronUpIcon:pc,ChromaticIcon:mc,ChromeIcon:Sc,CircleHollowIcon:Cc,CircleIcon:hc,ClearIcon:Ac,CloseAltIcon:_c,CloseIcon:Tc,CloudHollowIcon:bc,CloudIcon:gc,CogIcon:yc,CollapseIcon:Oc,CommandIcon:Bc,CommentAddIcon:fc,CommentIcon:kc,CommentsIcon:Rc,CommitIcon:Pc,CompassIcon:wc,ComponentDrivenIcon:Lc,ComponentIcon:Ec,ContrastIcon:Dc,ControlsIcon:vc,CopyIcon:xc,CreditIcon:Hc,CrossIcon:Mc,DashboardIcon:Uc,DatabaseIcon:Fc,DeleteIcon:Nc,DiamondIcon:Gc,DirectionIcon:Wc,DiscordIcon:Kc,DocChartIcon:Yc,DocListIcon:qc,DocumentIcon:Vc,DownloadIcon:Zc,DragIcon:zc,EditIcon:Jc,EllipsisIcon:Qc,EmailIcon:Xc,ExpandAltIcon:$c,ExpandIcon:jc,EyeCloseIcon:ot,EyeIcon:nt,FaceHappyIcon:et,FaceNeutralIcon:ct,FaceSadIcon:tt,FacebookIcon:rt,FailedIcon:It,FastForwardIcon:at,FigmaIcon:lt,FilterIcon:it,FlagIcon:st,FolderIcon:ut,FormIcon:dt,GDriveIcon:pt,GithubIcon:mt,GitlabIcon:St,GlobeIcon:Ct,GoogleIcon:ht,GraphBarIcon:At,GraphLineIcon:_t,GraphqlIcon:Tt,GridAltIcon:bt,GridIcon:gt,GrowIcon:yt,HeartHollowIcon:Ot,HeartIcon:Bt,HomeIcon:ft,HourglassIcon:kt,InfoIcon:Rt,ItalicIcon:Pt,JumpToIcon:wt,KeyIcon:Lt,LightningIcon:Et,LightningOffIcon:Dt,LinkBrokenIcon:vt,LinkIcon:xt,LinkedinIcon:Ht,LinuxIcon:Mt,ListOrderedIcon:Ut,ListUnorderedIcon:Ft,LocationIcon:Nt,LockIcon:Gt,MarkdownIcon:Wt,MarkupIcon:Kt,MediumIcon:Yt,MemoryIcon:qt,MenuIcon:Vt,MergeIcon:Zt,MirrorIcon:zt,MobileIcon:Jt,MoonIcon:Qt,NutIcon:Xt,OutboxIcon:$t,OutlineIcon:A,PaintBrushIcon:jt,PaperClipIcon:or,ParagraphIcon:nr,PassedIcon:er,PhoneIcon:cr,PhotoDragIcon:tr,PhotoIcon:rr,PinAltIcon:Ir,PinIcon:ar,PlayAllHollowIcon:lr,PlayBackIcon:ir,PlayHollowIcon:sr,PlayIcon:ur,PlayNextIcon:dr,PlusIcon:pr,PointerDefaultIcon:mr,PointerHandIcon:Sr,PowerIcon:Cr,PrintIcon:hr,ProceedIcon:Ar,ProfileIcon:_r,PullRequestIcon:Tr,QuestionIcon:br,RSSIcon:gr,RedirectIcon:yr,ReduxIcon:Or,RefreshIcon:Br,ReplyIcon:fr,RepoIcon:kr,RequestChangeIcon:Rr,RewindIcon:Pr,RulerIcon:wr,SaveIcon:Lr,SearchIcon:Er,ShareAltIcon:Dr,ShareIcon:vr,ShieldIcon:xr,SideBySideIcon:Hr,SidebarAltIcon:Mr,SidebarAltToggleIcon:Ur,SidebarIcon:Fr,SidebarToggleIcon:Nr,SpeakerIcon:Gr,StackedIcon:Wr,StarHollowIcon:Kr,StarIcon:Yr,StatusFailIcon:qr,StatusPassIcon:Vr,StatusWarnIcon:Zr,StickerIcon:zr,StopAltHollowIcon:Jr,StopAltIcon:Qr,StopIcon:Xr,StorybookIcon:$r,StructureIcon:jr,SubtractIcon:oI,SunIcon:nI,SupportIcon:eI,SwitchAltIcon:cI,SyncIcon:tI,TabletIcon:rI,ThumbsUpIcon:II,TimeIcon:aI,TimerIcon:lI,TransferIcon:iI,TrashIcon:sI,TwitterIcon:uI,TypeIcon:dI,UbuntuIcon:pI,UndoIcon:mI,UnfoldIcon:SI,UnlockIcon:CI,UnpinIcon:hI,UploadIcon:AI,UserAddIcon:_I,UserAltIcon:TI,UserIcon:bI,UsersIcon:gI,VSCodeIcon:yI,VerifiedIcon:OI,VideoIcon:BI,WandIcon:fI,WatchIcon:kI,WindowsIcon:RI,WrenchIcon:PI,XIcon:wI,YoutubeIcon:LI,ZoomIcon:EI,ZoomOutIcon:DI,ZoomResetIcon:vI,iconList:xI}=__STORYBOOK_ICONS__;var i="storybook/outline",_="outline",T=u(function(){let[c,r]=S(),s=C(),I=[!0,"true"].includes(c[_]),a=d(()=>r({[_]:!I}),[I]);return p(()=>{s.setAddonShortcut(i,{label:"Toggle Outline",defaultShortcut:["alt","O"],actionName:"outline",showInMenu:!1,action:a})},[a,s]),t.createElement(h,{key:"outline",active:I,title:"Apply outlines to the preview",onClick:a},t.createElement(A,null))});l.register(i,()=>{l.add(i,{title:"Outline",type:m.TOOL,match:({viewMode:c,tabId:r})=>!!(c&&c.match(/^(story|docs)$/))&&!r,render:()=>t.createElement(T,null)})});})(); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/storybook-static/sb-addons/essentials-toolbars-6/manager-bundle.js b/storybook-static/sb-addons/essentials-toolbars-6/manager-bundle.js new file mode 100644 index 0000000..4da5781 --- /dev/null +++ b/storybook-static/sb-addons/essentials-toolbars-6/manager-bundle.js @@ -0,0 +1,3 @@ +try{ +(()=>{var n=__REACT__,{Children:se,Component:ie,Fragment:ue,Profiler:ce,PureComponent:pe,StrictMode:me,Suspense:de,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:be,cloneElement:Se,createContext:_e,createElement:Te,createFactory:ye,createRef:ve,forwardRef:fe,isValidElement:Ce,lazy:Ie,memo:Oe,startTransition:xe,unstable_act:Ee,useCallback:f,useContext:ge,useDebugValue:ke,useDeferredValue:he,useEffect:g,useId:Ae,useImperativeHandle:Re,useInsertionEffect:Le,useLayoutEffect:Be,useMemo:Me,useReducer:Pe,useRef:L,useState:B,useSyncExternalStore:Ne,useTransition:we,version:De}=__REACT__;var Ge=__STORYBOOK_API__,{ActiveTabs:Ke,Consumer:Ue,ManagerContext:Ye,Provider:$e,RequestResponseError:qe,addons:k,combineParameters:ze,controlOrMetaKey:je,controlOrMetaSymbol:Ze,eventMatchesShortcut:Je,eventToShortcut:Qe,experimental_MockUniversalStore:Xe,experimental_UniversalStore:et,experimental_requestResponse:tt,experimental_useUniversalStore:rt,isMacLike:ot,isShortcutTaken:at,keyToSymbol:nt,merge:lt,mockChannel:st,optionOrAltSymbol:it,shortcutMatchesShortcut:ut,shortcutToHumanString:ct,types:M,useAddonState:pt,useArgTypes:mt,useArgs:dt,useChannel:bt,useGlobalTypes:P,useGlobals:h,useParameter:St,useSharedState:_t,useStoryPrepared:Tt,useStorybookApi:N,useStorybookState:yt}=__STORYBOOK_API__;var Ot=__STORYBOOK_COMPONENTS__,{A:xt,ActionBar:Et,AddonPanel:gt,Badge:kt,Bar:ht,Blockquote:At,Button:Rt,ClipboardCode:Lt,Code:Bt,DL:Mt,Div:Pt,DocumentWrapper:Nt,EmptyTabContent:wt,ErrorFormatter:Dt,FlexBar:Vt,Form:Ht,H1:Wt,H2:Ft,H3:Gt,H4:Kt,H5:Ut,H6:Yt,HR:$t,IconButton:w,IconButtonSkeleton:qt,Icons:A,Img:zt,LI:jt,Link:Zt,ListItem:Jt,Loader:Qt,Modal:Xt,OL:er,P:tr,Placeholder:rr,Pre:or,ProgressSpinner:ar,ResetWrapper:nr,ScrollArea:lr,Separator:D,Spaced:sr,Span:ir,StorybookIcon:ur,StorybookLogo:cr,Symbols:pr,SyntaxHighlighter:mr,TT:dr,TabBar:br,TabButton:Sr,TabWrapper:_r,Table:Tr,Tabs:yr,TabsState:vr,TooltipLinkList:V,TooltipMessage:fr,TooltipNote:Cr,UL:Ir,WithTooltip:H,WithTooltipPure:Or,Zoom:xr,codeCommon:Er,components:gr,createCopyToClipboardFunction:kr,getStoryHref:hr,icons:Ar,interleaveSeparators:Rr,nameSpaceClassNames:Lr,resetComponents:Br,withReset:Mr}=__STORYBOOK_COMPONENTS__;var K={type:"item",value:""},U=(r,t)=>({...t,name:t.name||r,description:t.description||r,toolbar:{...t.toolbar,items:t.toolbar.items.map(e=>{let o=typeof e=="string"?{value:e,title:e}:e;return o.type==="reset"&&t.toolbar.icon&&(o.icon=t.toolbar.icon,o.hideIcon=!0),{...K,...o}})}}),Y=["reset"],$=r=>r.filter(t=>!Y.includes(t.type)).map(t=>t.value),S="addon-toolbars",q=async(r,t,e)=>{e&&e.next&&await r.setAddonShortcut(S,{label:e.next.label,defaultShortcut:e.next.keys,actionName:`${t}:next`,action:e.next.action}),e&&e.previous&&await r.setAddonShortcut(S,{label:e.previous.label,defaultShortcut:e.previous.keys,actionName:`${t}:previous`,action:e.previous.action}),e&&e.reset&&await r.setAddonShortcut(S,{label:e.reset.label,defaultShortcut:e.reset.keys,actionName:`${t}:reset`,action:e.reset.action})},z=r=>t=>{let{id:e,toolbar:{items:o,shortcuts:a}}=t,c=N(),[_,i]=h(),l=L([]),u=_[e],C=f(()=>{i({[e]:""})},[i]),I=f(()=>{let s=l.current,m=s.indexOf(u),d=m===s.length-1?0:m+1,p=l.current[d];i({[e]:p})},[l,u,i]),O=f(()=>{let s=l.current,m=s.indexOf(u),d=m>-1?m:0,p=d===0?s.length-1:d-1,b=l.current[p];i({[e]:b})},[l,u,i]);return g(()=>{a&&q(c,e,{next:{...a.next,action:I},previous:{...a.previous,action:O},reset:{...a.reset,action:C}})},[c,e,a,I,O,C]),g(()=>{l.current=$(o)},[]),n.createElement(r,{cycleValues:l.current,...t})},W=({currentValue:r,items:t})=>r!=null&&t.find(e=>e.value===r&&e.type!=="reset"),j=({currentValue:r,items:t})=>{let e=W({currentValue:r,items:t});if(e)return e.icon},Z=({currentValue:r,items:t})=>{let e=W({currentValue:r,items:t});if(e)return e.title},J=({active:r,disabled:t,title:e,icon:o,description:a,onClick:c})=>n.createElement(w,{active:r,title:a,disabled:t,onClick:t?()=>{}:c},o&&n.createElement(A,{icon:o,__suppressDeprecationWarning:!0}),e?`\xA0${e}`:null),Q=({right:r,title:t,value:e,icon:o,hideIcon:a,onClick:c,disabled:_,currentValue:i})=>{let l=o&&n.createElement(A,{style:{opacity:1},icon:o,__suppressDeprecationWarning:!0}),u={id:e??"_reset",active:i===e,right:r,title:t,disabled:_,onClick:c};return o&&!a&&(u.icon=l),u},X=z(({id:r,name:t,description:e,toolbar:{icon:o,items:a,title:c,preventDynamicIcon:_,dynamicTitle:i}})=>{let[l,u,C]=h(),[I,O]=B(!1),s=l[r],m=!!s,d=r in C,p=o,b=c;_||(p=j({currentValue:s,items:a})||p),i&&(b=Z({currentValue:s,items:a})||b),!b&&!p&&console.warn(`Toolbar '${t}' has no title or icon`);let F=f(E=>{u({[r]:E})},[r,u]);return n.createElement(H,{placement:"top",tooltip:({onHide:E})=>{let G=a.filter(({type:x})=>{let R=!0;return x==="reset"&&!s&&(R=!1),R}).map(x=>Q({...x,currentValue:s,disabled:d,onClick:()=>{F(x.value),E()}}));return n.createElement(V,{links:G})},closeOnOutsideClick:!0,onVisibleChange:O},n.createElement(J,{active:I||m,disabled:d,description:e||"",icon:p,title:b||""}))}),ee=()=>{let r=P(),t=Object.keys(r).filter(e=>!!r[e].toolbar);return t.length?n.createElement(n.Fragment,null,n.createElement(D,null),t.map(e=>{let o=U(e,r[e]);return n.createElement(X,{key:e,id:e,...o})})):null};k.register(S,()=>k.add(S,{title:S,type:M.TOOL,match:({tabId:r})=>!r,render:()=>n.createElement(ee,null)}));})(); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/storybook-static/sb-addons/essentials-viewport-5/manager-bundle.js b/storybook-static/sb-addons/essentials-viewport-5/manager-bundle.js new file mode 100644 index 0000000..171bab0 --- /dev/null +++ b/storybook-static/sb-addons/essentials-viewport-5/manager-bundle.js @@ -0,0 +1,3 @@ +try{ +(()=>{var me=Object.create;var J=Object.defineProperty;var he=Object.getOwnPropertyDescriptor;var fe=Object.getOwnPropertyNames;var ge=Object.getPrototypeOf,we=Object.prototype.hasOwnProperty;var _=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,a)=>(typeof require<"u"?require:t)[a]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var H=(e,t)=>()=>(e&&(t=e(e=0)),t);var be=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var ye=(e,t,a,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let l of fe(t))!we.call(e,l)&&l!==a&&J(e,l,{get:()=>t[l],enumerable:!(s=he(t,l))||s.enumerable});return e};var Se=(e,t,a)=>(a=e!=null?me(ge(e)):{},ye(t||!e||!e.__esModule?J(a,"default",{value:e,enumerable:!0}):a,e));var f=H(()=>{});var g=H(()=>{});var w=H(()=>{});var ce=be((le,Z)=>{f();g();w();(function(e){if(typeof le=="object"&&typeof Z<"u")Z.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,a;return function s(l,b,p){function o(n,d){if(!b[n]){if(!l[n]){var r=typeof _=="function"&&_;if(!d&&r)return r(n,!0);if(i)return i(n,!0);var u=new Error("Cannot find module '"+n+"'");throw u.code="MODULE_NOT_FOUND",u}var I=b[n]={exports:{}};l[n][0].call(I.exports,function(h){var y=l[n][1][h];return o(y||h)},I,I.exports,s,l,b,p)}return b[n].exports}for(var i=typeof _=="function"&&_,m=0;m=0)return this.lastItem=this.list[i],this.list[i].val},p.prototype.set=function(o,i){var m;return this.lastItem&&this.isEqual(this.lastItem.key,o)?(this.lastItem.val=i,this):(m=this.indexOf(o),m>=0?(this.lastItem=this.list[m],this.list[m].val=i,this):(this.lastItem={key:o,val:i},this.list.push(this.lastItem),this.size++,this))},p.prototype.delete=function(o){var i;if(this.lastItem&&this.isEqual(this.lastItem.key,o)&&(this.lastItem=void 0),i=this.indexOf(o),i>=0)return this.size--,this.list.splice(i,1)[0]},p.prototype.has=function(o){var i;return this.lastItem&&this.isEqual(this.lastItem.key,o)?!0:(i=this.indexOf(o),i>=0?(this.lastItem=this.list[i],!0):!1)},p.prototype.forEach=function(o,i){var m;for(m=0;m0&&(M[S]={cacheItem:h,arg:arguments[S]},x?o(r,M):r.push(M),r.length>n&&i(r.shift())),I.wasMemoized=x,I.numArgs=S+1,R};return I.limit=n,I.wasMemoized=!1,I.cache=d,I.lru=r,I}};function o(n,d){var r=n.length,u=d.length,I,h,y;for(h=0;h=0&&(r=n[I],u=r.cacheItem.get(r.arg),!u||!u.size);I--)r.cacheItem.delete(r.arg)}function m(n,d){return n===d||n!==n&&d!==d}},{"map-or-similar":1}]},{},[3])(3)})});f();g();w();f();g();w();f();g();w();f();g();w();var c=__REACT__,{Children:$e,Component:Je,Fragment:V,Profiler:Qe,PureComponent:Xe,StrictMode:et,Suspense:tt,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ot,cloneElement:nt,createContext:rt,createElement:N,createFactory:it,createRef:at,forwardRef:lt,isValidElement:ct,lazy:st,memo:Q,startTransition:ut,unstable_act:It,useCallback:X,useContext:pt,useDebugValue:dt,useDeferredValue:mt,useEffect:O,useId:ht,useImperativeHandle:ft,useInsertionEffect:gt,useLayoutEffect:wt,useMemo:bt,useReducer:yt,useRef:ee,useState:z,useSyncExternalStore:St,useTransition:vt,version:Ct}=__REACT__;f();g();w();var Rt=__STORYBOOK_API__,{ActiveTabs:xt,Consumer:At,ManagerContext:_t,Provider:Ot,RequestResponseError:Lt,addons:U,combineParameters:Bt,controlOrMetaKey:Pt,controlOrMetaSymbol:Mt,eventMatchesShortcut:Vt,eventToShortcut:Dt,experimental_MockUniversalStore:Ht,experimental_UniversalStore:Nt,experimental_requestResponse:zt,experimental_useUniversalStore:Ut,isMacLike:Gt,isShortcutTaken:Ft,keyToSymbol:qt,merge:Wt,mockChannel:Yt,optionOrAltSymbol:jt,shortcutMatchesShortcut:Kt,shortcutToHumanString:Zt,types:te,useAddonState:$t,useArgTypes:Jt,useArgs:Qt,useChannel:Xt,useGlobalTypes:eo,useGlobals:G,useParameter:F,useSharedState:to,useStoryPrepared:oo,useStorybookApi:oe,useStorybookState:no}=__STORYBOOK_API__;f();g();w();var co=__STORYBOOK_COMPONENTS__,{A:so,ActionBar:uo,AddonPanel:Io,Badge:po,Bar:mo,Blockquote:ho,Button:fo,ClipboardCode:go,Code:wo,DL:bo,Div:yo,DocumentWrapper:So,EmptyTabContent:vo,ErrorFormatter:Co,FlexBar:Eo,Form:To,H1:ko,H2:Ro,H3:xo,H4:Ao,H5:_o,H6:Oo,HR:Lo,IconButton:L,IconButtonSkeleton:Bo,Icons:Po,Img:Mo,LI:Vo,Link:Do,ListItem:Ho,Loader:No,Modal:zo,OL:Uo,P:Go,Placeholder:Fo,Pre:qo,ProgressSpinner:Wo,ResetWrapper:Yo,ScrollArea:jo,Separator:Ko,Spaced:Zo,Span:$o,StorybookIcon:Jo,StorybookLogo:Qo,Symbols:Xo,SyntaxHighlighter:en,TT:tn,TabBar:on,TabButton:nn,TabWrapper:rn,Table:an,Tabs:ln,TabsState:cn,TooltipLinkList:q,TooltipMessage:sn,TooltipNote:un,UL:In,WithTooltip:W,WithTooltipPure:pn,Zoom:dn,codeCommon:mn,components:hn,createCopyToClipboardFunction:fn,getStoryHref:gn,icons:wn,interleaveSeparators:bn,nameSpaceClassNames:yn,resetComponents:Sn,withReset:vn}=__STORYBOOK_COMPONENTS__;f();g();w();var Rn=__STORYBOOK_THEMING__,{CacheProvider:xn,ClassNames:An,Global:Y,ThemeProvider:_n,background:On,color:Ln,convert:Bn,create:Pn,createCache:Mn,createGlobal:Vn,createReset:Dn,css:Hn,darken:Nn,ensure:zn,ignoreSsrWarning:Un,isPropValid:Gn,jsx:Fn,keyframes:qn,lighten:Wn,styled:v,themes:Yn,typography:jn,useTheme:Kn,withTheme:Zn}=__STORYBOOK_THEMING__;f();g();w();var er=__STORYBOOK_ICONS__,{AccessibilityAltIcon:tr,AccessibilityIcon:or,AddIcon:nr,AdminIcon:rr,AlertAltIcon:ir,AlertIcon:ar,AlignLeftIcon:lr,AlignRightIcon:cr,AppleIcon:sr,ArrowBottomLeftIcon:ur,ArrowBottomRightIcon:Ir,ArrowDownIcon:pr,ArrowLeftIcon:dr,ArrowRightIcon:mr,ArrowSolidDownIcon:hr,ArrowSolidLeftIcon:fr,ArrowSolidRightIcon:gr,ArrowSolidUpIcon:wr,ArrowTopLeftIcon:br,ArrowTopRightIcon:yr,ArrowUpIcon:Sr,AzureDevOpsIcon:vr,BackIcon:Cr,BasketIcon:Er,BatchAcceptIcon:Tr,BatchDenyIcon:kr,BeakerIcon:Rr,BellIcon:xr,BitbucketIcon:Ar,BoldIcon:_r,BookIcon:Or,BookmarkHollowIcon:Lr,BookmarkIcon:Br,BottomBarIcon:Pr,BottomBarToggleIcon:Mr,BoxIcon:Vr,BranchIcon:Dr,BrowserIcon:ne,ButtonIcon:Hr,CPUIcon:Nr,CalendarIcon:zr,CameraIcon:Ur,CategoryIcon:Gr,CertificateIcon:Fr,ChangedIcon:qr,ChatIcon:Wr,CheckIcon:Yr,ChevronDownIcon:jr,ChevronLeftIcon:Kr,ChevronRightIcon:Zr,ChevronSmallDownIcon:$r,ChevronSmallLeftIcon:Jr,ChevronSmallRightIcon:Qr,ChevronSmallUpIcon:Xr,ChevronUpIcon:ei,ChromaticIcon:ti,ChromeIcon:oi,CircleHollowIcon:ni,CircleIcon:ri,ClearIcon:ii,CloseAltIcon:ai,CloseIcon:li,CloudHollowIcon:ci,CloudIcon:si,CogIcon:ui,CollapseIcon:Ii,CommandIcon:pi,CommentAddIcon:di,CommentIcon:mi,CommentsIcon:hi,CommitIcon:fi,CompassIcon:gi,ComponentDrivenIcon:wi,ComponentIcon:bi,ContrastIcon:yi,ControlsIcon:Si,CopyIcon:vi,CreditIcon:Ci,CrossIcon:Ei,DashboardIcon:Ti,DatabaseIcon:ki,DeleteIcon:Ri,DiamondIcon:xi,DirectionIcon:Ai,DiscordIcon:_i,DocChartIcon:Oi,DocListIcon:Li,DocumentIcon:Bi,DownloadIcon:Pi,DragIcon:Mi,EditIcon:Vi,EllipsisIcon:Di,EmailIcon:Hi,ExpandAltIcon:Ni,ExpandIcon:zi,EyeCloseIcon:Ui,EyeIcon:Gi,FaceHappyIcon:Fi,FaceNeutralIcon:qi,FaceSadIcon:Wi,FacebookIcon:Yi,FailedIcon:ji,FastForwardIcon:Ki,FigmaIcon:Zi,FilterIcon:$i,FlagIcon:Ji,FolderIcon:Qi,FormIcon:Xi,GDriveIcon:ea,GithubIcon:ta,GitlabIcon:oa,GlobeIcon:na,GoogleIcon:ra,GraphBarIcon:ia,GraphLineIcon:aa,GraphqlIcon:la,GridAltIcon:ca,GridIcon:sa,GrowIcon:j,HeartHollowIcon:ua,HeartIcon:Ia,HomeIcon:pa,HourglassIcon:da,InfoIcon:ma,ItalicIcon:ha,JumpToIcon:fa,KeyIcon:ga,LightningIcon:wa,LightningOffIcon:ba,LinkBrokenIcon:ya,LinkIcon:Sa,LinkedinIcon:va,LinuxIcon:Ca,ListOrderedIcon:Ea,ListUnorderedIcon:Ta,LocationIcon:ka,LockIcon:Ra,MarkdownIcon:xa,MarkupIcon:Aa,MediumIcon:_a,MemoryIcon:Oa,MenuIcon:La,MergeIcon:Ba,MirrorIcon:Pa,MobileIcon:re,MoonIcon:Ma,NutIcon:Va,OutboxIcon:Da,OutlineIcon:Ha,PaintBrushIcon:Na,PaperClipIcon:za,ParagraphIcon:Ua,PassedIcon:Ga,PhoneIcon:Fa,PhotoDragIcon:qa,PhotoIcon:Wa,PinAltIcon:Ya,PinIcon:ja,PlayAllHollowIcon:Ka,PlayBackIcon:Za,PlayHollowIcon:$a,PlayIcon:Ja,PlayNextIcon:Qa,PlusIcon:Xa,PointerDefaultIcon:el,PointerHandIcon:tl,PowerIcon:ol,PrintIcon:nl,ProceedIcon:rl,ProfileIcon:il,PullRequestIcon:al,QuestionIcon:ll,RSSIcon:cl,RedirectIcon:sl,ReduxIcon:ul,RefreshIcon:ie,ReplyIcon:Il,RepoIcon:pl,RequestChangeIcon:dl,RewindIcon:ml,RulerIcon:hl,SaveIcon:fl,SearchIcon:gl,ShareAltIcon:wl,ShareIcon:bl,ShieldIcon:yl,SideBySideIcon:Sl,SidebarAltIcon:vl,SidebarAltToggleIcon:Cl,SidebarIcon:El,SidebarToggleIcon:Tl,SpeakerIcon:kl,StackedIcon:Rl,StarHollowIcon:xl,StarIcon:Al,StatusFailIcon:_l,StatusPassIcon:Ol,StatusWarnIcon:Ll,StickerIcon:Bl,StopAltHollowIcon:Pl,StopAltIcon:Ml,StopIcon:Vl,StorybookIcon:Dl,StructureIcon:Hl,SubtractIcon:Nl,SunIcon:zl,SupportIcon:Ul,SwitchAltIcon:Gl,SyncIcon:Fl,TabletIcon:ae,ThumbsUpIcon:ql,TimeIcon:Wl,TimerIcon:Yl,TransferIcon:K,TrashIcon:jl,TwitterIcon:Kl,TypeIcon:Zl,UbuntuIcon:$l,UndoIcon:Jl,UnfoldIcon:Ql,UnlockIcon:Xl,UnpinIcon:ec,UploadIcon:tc,UserAddIcon:oc,UserAltIcon:nc,UserIcon:rc,UsersIcon:ic,VSCodeIcon:ac,VerifiedIcon:lc,VideoIcon:cc,WandIcon:sc,WatchIcon:uc,WindowsIcon:Ic,WrenchIcon:pc,XIcon:dc,YoutubeIcon:mc,ZoomIcon:hc,ZoomOutIcon:fc,ZoomResetIcon:gc,iconList:wc}=__STORYBOOK_ICONS__;var $=Se(ce()),B="storybook/viewport",A="viewport",Ie={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"}},P={name:"Reset viewport",styles:{height:"100%",width:"100%"},type:"desktop"},Ce={[A]:{value:void 0,isRotated:!1}},Ee={viewport:"reset",viewportRotated:!1},Te=globalThis.FEATURES?.viewportStoryGlobals?Ce:Ee,pe=(e,t)=>e.indexOf(t),ke=(e,t)=>{let a=pe(e,t);return a===e.length-1?e[0]:e[a+1]},Re=(e,t)=>{let a=pe(e,t);return a<1?e[e.length-1]:e[a-1]},de=async(e,t,a,s)=>{await e.setAddonShortcut(B,{label:"Previous viewport",defaultShortcut:["alt","shift","V"],actionName:"previous",action:()=>{a({viewport:Re(s,t)})}}),await e.setAddonShortcut(B,{label:"Next viewport",defaultShortcut:["alt","V"],actionName:"next",action:()=>{a({viewport:ke(s,t)})}}),await e.setAddonShortcut(B,{label:"Reset viewport",defaultShortcut:["alt","control","V"],actionName:"reset",action:()=>{a(Te)}})},xe=v.div({display:"inline-flex",alignItems:"center"}),se=v.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"})),Ae=v(L)(()=>({display:"inline-flex",alignItems:"center"})),_e=v.div(({theme:e})=>({fontSize:e.typography.size.s2-1,marginLeft:10})),Oe={desktop:c.createElement(ne,null),mobile:c.createElement(re,null),tablet:c.createElement(ae,null),other:c.createElement(V,null)},Le=({api:e})=>{let t=F(A),[a,s,l]=G(),[b,p]=z(!1),{options:o=Ie,disable:i}=t||{},m=a?.[A]||{},n=m.value,d=m.isRotated,r=o[n]||P,u=b||r!==P,I=A in l,h=Object.keys(o).length;if(O(()=>{de(e,n,s,Object.keys(o))},[o,n,s,e]),r.styles===null||!o||h<1)return null;if(typeof r.styles=="function")return console.warn("Addon Viewport no longer supports dynamic styles using a function, use css calc() instead"),null;let y=d?r.styles.height:r.styles.width,R=d?r.styles.width:r.styles.height;return i?null:c.createElement(Be,{item:r,updateGlobals:s,viewportMap:o,viewportName:n,isRotated:d,setIsTooltipVisible:p,isLocked:I,isActive:u,width:y,height:R})},Be=c.memo(function(e){let{item:t,viewportMap:a,viewportName:s,isRotated:l,updateGlobals:b,setIsTooltipVisible:p,isLocked:o,isActive:i,width:m,height:n}=e,d=X(r=>b({[A]:r}),[b]);return c.createElement(V,null,c.createElement(W,{placement:"bottom",tooltip:({onHide:r})=>c.createElement(q,{links:[...length>0&&t!==P?[{id:"reset",title:"Reset viewport",icon:c.createElement(ie,null),onClick:()=>{d({value:void 0,isRotated:!1}),r()}}]:[],...Object.entries(a).map(([u,I])=>({id:u,title:I.name,icon:Oe[I.type],active:u===s,onClick:()=>{d({value:u,isRotated:!1}),r()}}))].flat()}),closeOnOutsideClick:!0,onVisibleChange:p},c.createElement(Ae,{disabled:o,key:"viewport",title:"Change the size of the preview",active:i,onDoubleClick:()=>{d({value:void 0,isRotated:!1})}},c.createElement(j,null),t!==P?c.createElement(_e,null,t.name," ",l?"(L)":"(P)"):null)),c.createElement(Y,{styles:{'iframe[data-is-storybook="true"]':{width:m,height:n}}}),t!==P?c.createElement(xe,null,c.createElement(se,{title:"Viewport width"},m.replace("px","")),o?"/":c.createElement(L,{key:"viewport-rotate",title:"Rotate viewport",onClick:()=>{d({value:s,isRotated:!l})}},c.createElement(K,null)),c.createElement(se,{title:"Viewport height"},n.replace("px",""))):null)}),Pe=(0,$.default)(50)(e=>[...Me,...Object.entries(e).map(([t,{name:a,...s}])=>({...s,id:t,title:a}))]),D={id:"reset",title:"Reset viewport",styles:null,type:"other"},Me=[D],Ve=(0,$.default)(50)((e,t,a,s)=>e.filter(l=>l.id!==D.id||t.id!==l.id).map(l=>({...l,onClick:()=>{a({viewport:l.id}),s()}}))),De=({width:e,height:t,...a})=>({...a,height:e,width:t}),He=v.div({display:"inline-flex",alignItems:"center"}),ue=v.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"})),Ne=v(L)(()=>({display:"inline-flex",alignItems:"center"})),ze=v.div(({theme:e})=>({fontSize:e.typography.size.s2-1,marginLeft:10})),Ue=(e,t,a)=>{if(t===null)return;let s=typeof t=="function"?t(e):t;return a?De(s):s},Ge=Q(function(){let[e,t]=G(),{viewports:a=Ie,defaultOrientation:s,defaultViewport:l,disable:b}=F(A,{}),p=Pe(a),o=oe(),[i,m]=z(!1);l&&!p.find(u=>u.id===l)&&console.warn(`Cannot find "defaultViewport" of "${l}" in addon-viewport configs, please check the "viewports" setting in the configuration.`),O(()=>{de(o,e,t,Object.keys(a))},[a,e,e.viewport,t,o]),O(()=>{let u=s==="landscape";(l&&e.viewport!==l||s&&e.viewportRotated!==u)&&t({viewport:l,viewportRotated:u})},[s,l,t]);let n=p.find(u=>u.id===e.viewport)||p.find(u=>u.id===l)||p.find(u=>u.default)||D,d=ee(),r=Ue(d.current,n.styles,e.viewportRotated);return O(()=>{d.current=r},[n]),b||Object.entries(a).length===0?null:c.createElement(V,null,c.createElement(W,{placement:"top",tooltip:({onHide:u})=>c.createElement(q,{links:Ve(p,n,t,u)}),closeOnOutsideClick:!0,onVisibleChange:m},c.createElement(Ne,{key:"viewport",title:"Change the size of the preview",active:i||!!r,onDoubleClick:()=>{t({viewport:D.id})}},c.createElement(j,null),r?c.createElement(ze,null,e.viewportRotated?`${n.title} (L)`:`${n.title} (P)`):null)),r?c.createElement(He,null,c.createElement(Y,{styles:{'iframe[data-is-storybook="true"]':{...r||{width:"100%",height:"100%"}}}}),c.createElement(ue,{title:"Viewport width"},r.width.replace("px","")),c.createElement(L,{key:"viewport-rotate",title:"Rotate viewport",onClick:()=>{t({viewportRotated:!e.viewportRotated})}},c.createElement(K,null)),c.createElement(ue,{title:"Viewport height"},r.height.replace("px",""))):null)});U.register(B,e=>{U.add(B,{title:"viewport / media-queries",type:te.TOOL,match:({viewMode:t,tabId:a})=>t==="story"&&!a,render:()=>FEATURES?.viewportStoryGlobals?N(Le,{api:e}):N(Ge,null)})});})(); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/storybook-static/sb-addons/onboarding-9/manager-bundle.js b/storybook-static/sb-addons/onboarding-9/manager-bundle.js new file mode 100644 index 0000000..90d6211 --- /dev/null +++ b/storybook-static/sb-addons/onboarding-9/manager-bundle.js @@ -0,0 +1,127 @@ +try{ +(()=>{var so=Object.defineProperty;var ce=(e,t)=>()=>(e&&(t=e(e=0)),t);var lo=(e,t)=>{for(var n in t)so(e,n,{get:t[n],enumerable:!0})};var X=ce(()=>{});var Q=ce(()=>{});var Z=ce(()=>{});var y,Ns,Le,ks,Ls,Ms,js,rn,Ds,Fs,Bs,q,Ws,Us,on,an,sn,Hs,zs,Gs,Je,Ys,qs,$s,ae,Vs,Ks,Js,Xs,Qs,Zs,At,ue,el,tl,nl,ht=ce(()=>{X();Q();Z();y=__REACT__,{Children:Ns,Component:Le,Fragment:ks,Profiler:Ls,PureComponent:Ms,StrictMode:js,Suspense:rn,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ds,cloneElement:Fs,createContext:Bs,createElement:q,createFactory:Ws,createRef:Us,forwardRef:on,isValidElement:an,lazy:sn,memo:Hs,startTransition:zs,unstable_act:Gs,useCallback:Je,useContext:Ys,useDebugValue:qs,useDeferredValue:$s,useEffect:ae,useId:Vs,useImperativeHandle:Ks,useInsertionEffect:Js,useLayoutEffect:Xs,useMemo:Qs,useReducer:Zs,useRef:At,useState:ue,useSyncExternalStore:el,useTransition:tl,version:nl}=__REACT__});var Me,al,mt,sl,ll,cl,ul,pl,dl,ln,fl,cn,hl,yt=ce(()=>{X();Q();Z();Me=__REACT_DOM__,{__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:al,createPortal:mt,createRoot:sl,findDOMNode:ll,flushSync:cl,hydrate:ul,hydrateRoot:pl,render:dl,unmountComponentAtNode:ln,unstable_batchedUpdates:fl,unstable_renderSubtreeIntoContainer:cn,version:hl}=__REACT_DOM__});var bl,vl,El,Sl,Ol,wl,Tl,Il,Rl,Cl,Pl,_l,xl,Al,Nl,kl,Ll,Ml,jl,Dl,Fl,Bl,Wl,Ul,Hl,zl,un,Gl,Yl,ql,$l,Vl,Kl,Jl,Xl,Ql,Zl,ec,tc,nc,rc,oc,ic,ac,sc,lc,cc,uc,pn,pc,dc,fc,hc,mc,yc,gc,bc,vc,Ec,Sc,Oc,wc,Tc,dn=ce(()=>{X();Q();Z();bl=__STORYBOOK_CORE_EVENTS__,{ARGTYPES_INFO_REQUEST:vl,ARGTYPES_INFO_RESPONSE:El,CHANNEL_CREATED:Sl,CHANNEL_WS_DISCONNECT:Ol,CONFIG_ERROR:wl,CREATE_NEW_STORYFILE_REQUEST:Tl,CREATE_NEW_STORYFILE_RESPONSE:Il,CURRENT_STORY_WAS_SET:Rl,DOCS_PREPARED:Cl,DOCS_RENDERED:Pl,FILE_COMPONENT_SEARCH_REQUEST:_l,FILE_COMPONENT_SEARCH_RESPONSE:xl,FORCE_REMOUNT:Al,FORCE_RE_RENDER:Nl,GLOBALS_UPDATED:kl,NAVIGATE_URL:Ll,PLAY_FUNCTION_THREW_EXCEPTION:Ml,PRELOAD_ENTRIES:jl,PREVIEW_BUILDER_PROGRESS:Dl,PREVIEW_KEYDOWN:Fl,REGISTER_SUBSCRIPTION:Bl,REQUEST_WHATS_NEW_DATA:Wl,RESET_STORY_ARGS:Ul,RESULT_WHATS_NEW_DATA:Hl,SAVE_STORY_REQUEST:zl,SAVE_STORY_RESPONSE:un,SELECT_STORY:Gl,SET_CONFIG:Yl,SET_CURRENT_STORY:ql,SET_FILTER:$l,SET_GLOBALS:Vl,SET_INDEX:Kl,SET_STORIES:Jl,SET_WHATS_NEW_CACHE:Xl,SHARED_STATE_CHANGED:Ql,SHARED_STATE_SET:Zl,STORIES_COLLAPSE_ALL:ec,STORIES_EXPAND_ALL:tc,STORY_ARGS_UPDATED:nc,STORY_CHANGED:rc,STORY_ERRORED:oc,STORY_FINISHED:ic,STORY_INDEX_INVALIDATED:ac,STORY_MISSING:sc,STORY_PREPARED:lc,STORY_RENDERED:cc,STORY_RENDER_PHASE_CHANGED:uc,STORY_SPECIFIED:pn,STORY_THREW_EXCEPTION:pc,STORY_UNCHANGED:dc,TELEMETRY_ERROR:fc,TESTING_MODULE_CANCEL_TEST_RUN_REQUEST:hc,TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE:mc,TESTING_MODULE_CRASH_REPORT:yc,TESTING_MODULE_PROGRESS_REPORT:gc,TESTING_MODULE_RUN_ALL_REQUEST:bc,TESTING_MODULE_RUN_REQUEST:vc,TOGGLE_WHATS_NEW_NOTIFICATIONS:Ec,UNHANDLED_ERRORS_WHILE_PLAYING:Sc,UPDATE_GLOBALS:Oc,UPDATE_QUERY_PARAMS:wc,UPDATE_STORY_ARGS:Tc}=__STORYBOOK_CORE_EVENTS__});var Nt=ce(()=>{X();Q();Z();dn()});var vu,Eu,Su,Ou,wu,Tu,Iu,Ru,Cu,Pu,_u,xu,Au,Nu,ku,Lu,Mu,ju,Du,Fu,Bu,Wu,Uu,Hu,hn,zu,Gu,Yu,qu,$u,Vu,Ku,Ju,Xu,Qu,Zu,ep,tp,np,rp,op,ip,ap,sp,lp,cp,mn,up,pp,dp,fp,hp,mp,yp,gp,bp,vp,Ep,Sp,Op,wp,Tp,Ip,Rp,Cp,Pp,_p,xp,Ap,Np,yn=ce(()=>{X();Q();Z();vu=__STORYBOOK_COMPONENTS__,{A:Eu,ActionBar:Su,AddonPanel:Ou,Badge:wu,Bar:Tu,Blockquote:Iu,Button:Ru,ClipboardCode:Cu,Code:Pu,DL:_u,Div:xu,DocumentWrapper:Au,EmptyTabContent:Nu,ErrorFormatter:ku,FlexBar:Lu,Form:Mu,H1:ju,H2:Du,H3:Fu,H4:Bu,H5:Wu,H6:Uu,HR:Hu,IconButton:hn,IconButtonSkeleton:zu,Icons:Gu,Img:Yu,LI:qu,Link:$u,ListItem:Vu,Loader:Ku,Modal:Ju,OL:Xu,P:Qu,Placeholder:Zu,Pre:ep,ProgressSpinner:tp,ResetWrapper:np,ScrollArea:rp,Separator:op,Spaced:ip,Span:ap,StorybookIcon:sp,StorybookLogo:lp,Symbols:cp,SyntaxHighlighter:mn,TT:up,TabBar:pp,TabButton:dp,TabWrapper:fp,Table:hp,Tabs:mp,TabsState:yp,TooltipLinkList:gp,TooltipMessage:bp,TooltipNote:vp,UL:Ep,WithTooltip:Sp,WithTooltipPure:Op,Zoom:wp,codeCommon:Tp,components:Ip,createCopyToClipboardFunction:Rp,getStoryHref:Cp,icons:Pp,interleaveSeparators:_p,nameSpaceClassNames:xp,resetComponents:Ap,withReset:Np}=__STORYBOOK_COMPONENTS__});var Dp,Fp,Bp,Wp,kt,Up,gt,Lt,Hp,zp,Gp,Yp,qp,$p,Vp,Kp,Jp,Xp,Xe,Qp,ee,gn,Zp,bn,ed,vn=ce(()=>{X();Q();Z();Dp=__STORYBOOK_THEMING__,{CacheProvider:Fp,ClassNames:Bp,Global:Wp,ThemeProvider:kt,background:Up,color:gt,convert:Lt,create:Hp,createCache:zp,createGlobal:Gp,createReset:Yp,css:qp,darken:$p,ensure:Vp,ignoreSsrWarning:Kp,isPropValid:Jp,jsx:Xp,keyframes:Xe,lighten:Qp,styled:ee,themes:gn,typography:Zp,useTheme:bn,withTheme:ed}=__STORYBOOK_THEMING__});var id,ad,sd,ld,cd,ud,pd,dd,fd,hd,md,yd,gd,bd,En,vd,Ed,Sd,Od,wd,Td,Id,Rd,Cd,Pd,_d,xd,Ad,Nd,kd,Ld,Md,jd,Dd,Fd,Bd,Wd,Ud,Hd,zd,Gd,Yd,qd,$d,Vd,Kd,Jd,Xd,Qd,Zd,ef,tf,nf,rf,of,af,sf,lf,cf,uf,pf,Sn,df,ff,hf,mf,yf,gf,bf,vf,Ef,Sf,Of,wf,Tf,If,Rf,Cf,Pf,_f,xf,Af,Nf,kf,Lf,Mf,jf,Df,Ff,Bf,Wf,Uf,Hf,zf,Gf,Yf,qf,$f,Vf,Kf,Jf,Xf,Qf,Zf,eh,th,nh,rh,oh,ih,ah,sh,lh,ch,uh,ph,dh,fh,hh,mh,yh,gh,bh,vh,Eh,Sh,Oh,wh,Th,Ih,Rh,Ch,Ph,_h,xh,Ah,Nh,kh,Lh,Mh,jh,Dh,Fh,Bh,Wh,Uh,Hh,zh,Gh,Yh,qh,$h,Vh,Kh,Jh,Xh,Qh,Zh,em,tm,nm,rm,om,im,am,sm,lm,cm,um,pm,dm,fm,hm,mm,ym,gm,bm,vm,Em,Sm,Om,wm,Tm,Im,Rm,Cm,Pm,_m,xm,Am,Nm,km,Lm,Mm,jm,Dm,Fm,Bm,Wm,Um,Hm,zm,Gm,Ym,qm,$m,Vm,Km,Jm,Xm,Qm,Zm,ey,ty,ny,ry,oy,iy,ay,sy,ly,cy,uy,py,dy,fy,hy,my,yy,gy,by,vy,Ey,Sy,Oy,wy,Ty,Iy,Ry,Cy,Py,On=ce(()=>{X();Q();Z();id=__STORYBOOK_ICONS__,{AccessibilityAltIcon:ad,AccessibilityIcon:sd,AddIcon:ld,AdminIcon:cd,AlertAltIcon:ud,AlertIcon:pd,AlignLeftIcon:dd,AlignRightIcon:fd,AppleIcon:hd,ArrowBottomLeftIcon:md,ArrowBottomRightIcon:yd,ArrowDownIcon:gd,ArrowLeftIcon:bd,ArrowRightIcon:En,ArrowSolidDownIcon:vd,ArrowSolidLeftIcon:Ed,ArrowSolidRightIcon:Sd,ArrowSolidUpIcon:Od,ArrowTopLeftIcon:wd,ArrowTopRightIcon:Td,ArrowUpIcon:Id,AzureDevOpsIcon:Rd,BackIcon:Cd,BasketIcon:Pd,BatchAcceptIcon:_d,BatchDenyIcon:xd,BeakerIcon:Ad,BellIcon:Nd,BitbucketIcon:kd,BoldIcon:Ld,BookIcon:Md,BookmarkHollowIcon:jd,BookmarkIcon:Dd,BottomBarIcon:Fd,BottomBarToggleIcon:Bd,BoxIcon:Wd,BranchIcon:Ud,BrowserIcon:Hd,ButtonIcon:zd,CPUIcon:Gd,CalendarIcon:Yd,CameraIcon:qd,CategoryIcon:$d,CertificateIcon:Vd,ChangedIcon:Kd,ChatIcon:Jd,CheckIcon:Xd,ChevronDownIcon:Qd,ChevronLeftIcon:Zd,ChevronRightIcon:ef,ChevronSmallDownIcon:tf,ChevronSmallLeftIcon:nf,ChevronSmallRightIcon:rf,ChevronSmallUpIcon:of,ChevronUpIcon:af,ChromaticIcon:sf,ChromeIcon:lf,CircleHollowIcon:cf,CircleIcon:uf,ClearIcon:pf,CloseAltIcon:Sn,CloseIcon:df,CloudHollowIcon:ff,CloudIcon:hf,CogIcon:mf,CollapseIcon:yf,CommandIcon:gf,CommentAddIcon:bf,CommentIcon:vf,CommentsIcon:Ef,CommitIcon:Sf,CompassIcon:Of,ComponentDrivenIcon:wf,ComponentIcon:Tf,ContrastIcon:If,ControlsIcon:Rf,CopyIcon:Cf,CreditIcon:Pf,CrossIcon:_f,DashboardIcon:xf,DatabaseIcon:Af,DeleteIcon:Nf,DiamondIcon:kf,DirectionIcon:Lf,DiscordIcon:Mf,DocChartIcon:jf,DocListIcon:Df,DocumentIcon:Ff,DownloadIcon:Bf,DragIcon:Wf,EditIcon:Uf,EllipsisIcon:Hf,EmailIcon:zf,ExpandAltIcon:Gf,ExpandIcon:Yf,EyeCloseIcon:qf,EyeIcon:$f,FaceHappyIcon:Vf,FaceNeutralIcon:Kf,FaceSadIcon:Jf,FacebookIcon:Xf,FailedIcon:Qf,FastForwardIcon:Zf,FigmaIcon:eh,FilterIcon:th,FlagIcon:nh,FolderIcon:rh,FormIcon:oh,GDriveIcon:ih,GithubIcon:ah,GitlabIcon:sh,GlobeIcon:lh,GoogleIcon:ch,GraphBarIcon:uh,GraphLineIcon:ph,GraphqlIcon:dh,GridAltIcon:fh,GridIcon:hh,GrowIcon:mh,HeartHollowIcon:yh,HeartIcon:gh,HomeIcon:bh,HourglassIcon:vh,InfoIcon:Eh,ItalicIcon:Sh,JumpToIcon:Oh,KeyIcon:wh,LightningIcon:Th,LightningOffIcon:Ih,LinkBrokenIcon:Rh,LinkIcon:Ch,LinkedinIcon:Ph,LinuxIcon:_h,ListOrderedIcon:xh,ListUnorderedIcon:Ah,LocationIcon:Nh,LockIcon:kh,MarkdownIcon:Lh,MarkupIcon:Mh,MediumIcon:jh,MemoryIcon:Dh,MenuIcon:Fh,MergeIcon:Bh,MirrorIcon:Wh,MobileIcon:Uh,MoonIcon:Hh,NutIcon:zh,OutboxIcon:Gh,OutlineIcon:Yh,PaintBrushIcon:qh,PaperClipIcon:$h,ParagraphIcon:Vh,PassedIcon:Kh,PhoneIcon:Jh,PhotoDragIcon:Xh,PhotoIcon:Qh,PinAltIcon:Zh,PinIcon:em,PlayAllHollowIcon:tm,PlayBackIcon:nm,PlayHollowIcon:rm,PlayIcon:om,PlayNextIcon:im,PlusIcon:am,PointerDefaultIcon:sm,PointerHandIcon:lm,PowerIcon:cm,PrintIcon:um,ProceedIcon:pm,ProfileIcon:dm,PullRequestIcon:fm,QuestionIcon:hm,RSSIcon:mm,RedirectIcon:ym,ReduxIcon:gm,RefreshIcon:bm,ReplyIcon:vm,RepoIcon:Em,RequestChangeIcon:Sm,RewindIcon:Om,RulerIcon:wm,SaveIcon:Tm,SearchIcon:Im,ShareAltIcon:Rm,ShareIcon:Cm,ShieldIcon:Pm,SideBySideIcon:_m,SidebarAltIcon:xm,SidebarAltToggleIcon:Am,SidebarIcon:Nm,SidebarToggleIcon:km,SpeakerIcon:Lm,StackedIcon:Mm,StarHollowIcon:jm,StarIcon:Dm,StatusFailIcon:Fm,StatusPassIcon:Bm,StatusWarnIcon:Wm,StickerIcon:Um,StopAltHollowIcon:Hm,StopAltIcon:zm,StopIcon:Gm,StorybookIcon:Ym,StructureIcon:qm,SubtractIcon:$m,SunIcon:Vm,SupportIcon:Km,SwitchAltIcon:Jm,SyncIcon:Xm,TabletIcon:Qm,ThumbsUpIcon:Zm,TimeIcon:ey,TimerIcon:ty,TransferIcon:ny,TrashIcon:ry,TwitterIcon:oy,TypeIcon:iy,UbuntuIcon:ay,UndoIcon:sy,UnfoldIcon:ly,UnlockIcon:cy,UnpinIcon:uy,UploadIcon:py,UserAddIcon:dy,UserAltIcon:fy,UserIcon:hy,UsersIcon:my,VSCodeIcon:yy,VerifiedIcon:gy,VideoIcon:by,WandIcon:vy,WatchIcon:Ey,WindowsIcon:Sy,WrenchIcon:Oy,XIcon:wy,YoutubeIcon:Ty,ZoomIcon:Iy,ZoomOutIcon:Ry,ZoomResetIcon:Cy,iconList:Py}=__STORYBOOK_ICONS__});var io={};lo(io,{default:()=>ws});function Co(e,t={}){let{colors:n=Tn,duration:r=In,force:o=Rn,particleCount:i=Cn,particleShape:a=Pn,particleSize:s=_n,particleClass:c=xn,destroyAfterDone:l=An,stageHeight:p=Nn,stageWidth:u=kn}=t;(function(m){if(document.querySelector("style[data-neoconfetti]"))return;let g=Mt("style");g.dataset.neoconfetti="",g.textContent=m,jt(document.head,g)})(Io),e.classList.add(Ro),e.style.setProperty("--sh",p+"px");let d=[],f=[],h=()=>rt(be()*(No-1)),b=(m,g)=>a!=="rectangles"&&(m==="circles"||ko(g));function N(m,g){let O=h(),B=b(a,O),P=(te,Ne)=>m.style.setProperty(te,Ne+"");P("--xlp",Dt(bt(Dn(g,90)-180),0,180,-u/2,u/2)+"px"),P("--dc",r-rt(1e3*be())+"ms");let V=be()<_o?We(be()*xo,2):0;P("--x1",V),P("--x2",-1*V),P("--x3",V),P("--x4",We(bt(Dt(bt(Dn(g,90)-180),0,180,-1,1)),4)),P("--y1",We(be()*Mn,4)),P("--y2",We(be()*o*(Or()?1:-1),4)),P("--y3",Mn),P("--y4",We(Ao(Dt(bt(g-180),0,180,o,-o),0),4)),P("--w",(B?s:rt(4*be())+s/2)+"px"),P("--h",(B?s:rt(2*be())+s)+"px");let H=O.toString(2).padStart(3,"0").split("");P("--hr",H.map(te=>+te/2+"").join(" ")),P("--r",H.join(" ")),P("--rd",We(be()*(Po-Ln)+Ln)+"ms"),P("--br",B?"50%":0)}let v;function T(){e.innerHTML="",clearTimeout(v),d=jn(i,n),f=function(m,g=[],O){let B=[];for(let{color:P}of g){let V=Mt("div");V.className=`${wn} ${O}`,V.style.setProperty("--bgc",P);let H=Mt("div");jt(V,H),jt(m,V),B.push(V)}return B}(e,d,c);for(let[m,g]of Fn(f))N(g,d[+m].degree);v=setTimeout(()=>{l&&(e.innerHTML="")},r)}return T(),{update(m){let g=m.particleCount??Cn,O=m.particleShape??Pn,B=m.particleSize??_n,P=m.particleClass??xn,V=m.colors??Tn,H=m.stageHeight??Nn,te=m.duration??In,Ne=m.force??Rn,Ve=m.stageWidth??kn,ke=m.destroyAfterDone??An;d=jn(g,V);let Be=!1;if(g===i){f=Array.from(e.querySelectorAll(`.${wn}`));for(let[Ke,{color:Te}]of Fn(d)){let Ie=f[+Ke];JSON.stringify(n)!==JSON.stringify(V)&&Ie.style.setProperty("--bgc",Te),O!==a&&Ie.style.setProperty("--br",b(O,h())?"50%":"0"),P!==c&&(c&&Ie.classList.remove(c),P&&Ie.classList.add(P))}}else Be=!0;l&&!ke&&clearTimeout(v),e.style.setProperty("--sh",H+"px"),r=te,n=V,o=Ne,i=g,a=O,s=B,c=P,l=ke,p=H,u=Ve,Be&&T()},destroy(){e.innerHTML="",clearTimeout(v)}}}function Lo({class:e,...t}){let n=At(null),r=At();return ae(()=>{if(typeof window<"u"&&n.current){if(r.current)return r.current.update(t),r.current.destroy;r.current=Co(n.current,t)}},[t]),q("div",{ref:n,className:e})}function Bn({targetSelector:e,pulsating:t=!1}){return ae(()=>{let n=document.querySelector(e);if(n)if(t){n.style.animation="pulsate 3s infinite",n.style.transformOrigin="center",n.style.animationTimingFunction="ease-in-out";let r=` + @keyframes pulsate { + 0% { + box-shadow: rgba(2,156,253,1) 0 0 2px 1px, 0 0 0 0 rgba(2, 156, 253, 0.7), 0 0 0 0 rgba(2, 156, 253, 0.4); + } + 50% { + box-shadow: rgba(2,156,253,1) 0 0 2px 1px, 0 0 0 20px rgba(2, 156, 253, 0), 0 0 0 40px rgba(2, 156, 253, 0); + } + 100% { + box-shadow: rgba(2,156,253,1) 0 0 2px 1px, 0 0 0 0 rgba(2, 156, 253, 0), 0 0 0 0 rgba(2, 156, 253, 0); + } + } + `,o=document.createElement("style");o.id="sb-onboarding-pulsating-effect",o.innerHTML=r,document.head.appendChild(o)}else n.style.boxShadow="rgba(2,156,253,1) 0 0 2px 1px";return()=>{let r=document.querySelector("#sb-onboarding-pulsating-effect");r&&r.remove(),n&&(n.style.animation="",n.style.boxShadow="")}},[e,t]),null}function wr(e){return t=>typeof t===e}function Wo(e,t){let{length:n}=e;if(n!==t.length)return!1;for(let r=n;r--!==0;)if(!oe(e[r],t[r]))return!1;return!0}function Uo(e,t){if(e.byteLength!==t.byteLength)return!1;let n=new DataView(e.buffer),r=new DataView(t.buffer),o=e.byteLength;for(;o--;)if(n.getUint8(o)!==r.getUint8(o))return!1;return!0}function Ho(e,t){if(e.size!==t.size)return!1;for(let n of e.entries())if(!t.has(n[0]))return!1;for(let n of e.entries())if(!oe(n[1],t.get(n[0])))return!1;return!0}function zo(e,t){if(e.size!==t.size)return!1;for(let n of e.entries())if(!t.has(n[0]))return!1;return!0}function oe(e,t){if(e===t)return!0;if(e&&Hn(e)&&t&&Hn(t)){if(e.constructor!==t.constructor)return!1;if(Array.isArray(e)&&Array.isArray(t))return Wo(e,t);if(e instanceof Map&&t instanceof Map)return Ho(e,t);if(e instanceof Set&&t instanceof Set)return zo(e,t);if(ArrayBuffer.isView(e)&&ArrayBuffer.isView(t))return Uo(e,t);if(Un(e)&&Un(t))return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let o=n.length;o--!==0;)if(!Object.prototype.hasOwnProperty.call(t,n[o]))return!1;for(let o=n.length;o--!==0;){let i=n[o];if(!(i==="_owner"&&e.$$typeof)&&!oe(e[i],t[i]))return!1}return!0}return Number.isNaN(e)&&Number.isNaN(t)?!0:e===t}function Rt(e){let t=Object.prototype.toString.call(e).slice(8,-1);if(/HTML\w+Element/.test(t))return"HTMLElement";if(qo(t))return t}function de(e){return t=>Rt(t)===e}function qo(e){return Go.includes(e)}function Ye(e){return t=>typeof t===e}function $o(e){return Yo.includes(e)}function I(e){if(e===null)return"null";switch(typeof e){case"bigint":return"bigint";case"boolean":return"boolean";case"number":return"number";case"string":return"string";case"symbol":return"symbol";case"undefined":return"undefined"}return I.array(e)?"Array":I.plainFunction(e)?"Function":Rt(e)||"Object"}function Ko(...e){return e.every(t=>C.string(t)||C.array(t)||C.plainObject(t))}function Jo(e,t,n){return Tr(e,t)?[e,t].every(C.array)?!e.some($n(n))&&t.some($n(n)):[e,t].every(C.plainObject)?!Object.entries(e).some(qn(n))&&Object.entries(t).some(qn(n)):t===n:!1}function zn(e,t,n){let{actual:r,key:o,previous:i,type:a}=n,s=Ee(e,o),c=Ee(t,o),l=[s,c].every(C.number)&&(a==="increased"?sc);return C.undefined(r)||(l=l&&c===r),C.undefined(i)||(l=l&&s===i),l}function Gn(e,t,n){let{key:r,type:o,value:i}=n,a=Ee(e,r),s=Ee(t,r),c=o==="added"?a:s,l=o==="added"?s:a;if(!C.nullOrUndefined(i)){if(C.defined(c)){if(C.array(c)||C.plainObject(c))return Jo(c,l,i)}else return oe(l,i);return!1}return[a,s].every(C.array)?!l.every(Vt(c)):[a,s].every(C.plainObject)?Xo(Object.keys(c),Object.keys(l)):![a,s].every(p=>C.primitive(p)&&C.defined(p))&&(o==="added"?!C.defined(a)&&C.defined(s):C.defined(a)&&!C.defined(s))}function Yn(e,t,{key:n}={}){let r=Ee(e,n),o=Ee(t,n);if(!Tr(r,o))throw new TypeError("Inputs have different types");if(!Ko(r,o))throw new TypeError("Inputs don't have length");return[r,o].every(C.plainObject)&&(r=Object.keys(r),o=Object.keys(o)),[r,o]}function qn(e){return([t,n])=>C.array(e)?oe(e,n)||e.some(r=>oe(r,n)||C.array(n)&&Vt(n)(r)):C.plainObject(e)&&e[t]?!!e[t]&&oe(e[t],n):oe(e,n)}function Xo(e,t){return t.some(n=>!e.includes(n))}function $n(e){return t=>C.array(e)?e.some(n=>oe(n,t)||C.array(t)&&Vt(t)(n)):oe(e,t)}function Qe(e,t){return C.array(e)?e.some(n=>oe(n,t)):oe(e,t)}function Vt(e){return t=>e.some(n=>oe(n,t))}function Tr(...e){return e.every(C.array)||e.every(C.number)||e.every(C.plainObject)||e.every(C.string)}function Ee(e,t){return C.plainObject(e)||C.array(e)?C.string(t)?t.split(".").reduce((n,r)=>n&&n[r],e):C.number(t)?e[t]:e:e}function Ot(e,t){if([e,t].some(C.nullOrUndefined))throw new Error("Missing required parameters");if(![e,t].every(n=>C.plainObject(n)||C.array(n)))throw new Error("Expected plain objects or array");return{added:(n,r)=>{try{return Gn(e,t,{key:n,type:"added",value:r})}catch{return!1}},changed:(n,r,o)=>{try{let i=Ee(e,n),a=Ee(t,n),s=C.defined(r),c=C.defined(o);if(s||c){let l=c?Qe(o,i):!Qe(r,i),p=Qe(r,a);return l&&p}return[i,a].every(C.array)||[i,a].every(C.plainObject)?!oe(i,a):i!==a}catch{return!1}},changedFrom:(n,r,o)=>{if(!C.defined(n))return!1;try{let i=Ee(e,n),a=Ee(t,n),s=C.defined(o);return Qe(r,i)&&(s?Qe(o,a):!s)}catch{return!1}},decreased:(n,r,o)=>{if(!C.defined(n))return!1;try{return zn(e,t,{key:n,actual:r,previous:o,type:"decreased"})}catch{return!1}},emptied:n=>{try{let[r,o]=Yn(e,t,{key:n});return!!r.length&&!o.length}catch{return!1}},filled:n=>{try{let[r,o]=Yn(e,t,{key:n});return!r.length&&!!o.length}catch{return!1}},increased:(n,r,o)=>{if(!C.defined(n))return!1;try{return zn(e,t,{key:n,actual:r,previous:o,type:"increased"})}catch{return!1}},removed:(n,r)=>{try{return Gn(e,t,{key:n,type:"removed",value:r})}catch{return!1}}}}function ei(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}function ti(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},Zo))}}function Rr(e){var t={};return e&&t.toString.call(e)==="[object Function]"}function Fe(e,t){if(e.nodeType!==1)return[];var n=e.ownerDocument.defaultView,r=n.getComputedStyle(e,null);return t?r[t]:r}function Kt(e){return e.nodeName==="HTML"?e:e.parentNode||e.host}function at(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=Fe(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?e:at(Kt(e))}function Cr(e){return e&&e.referenceNode?e.referenceNode:e}function qe(e){return e===11?Vn:e===10?Kn:Vn||Kn}function He(e){if(!e)return document.documentElement;for(var t=qe(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return!r||r==="BODY"||r==="HTML"?e?e.ownerDocument.documentElement:document.documentElement:["TH","TD","TABLE"].indexOf(n.nodeName)!==-1&&Fe(n,"position")==="static"?He(n):n}function oi(e){var t=e.nodeName;return t==="BODY"?!1:t==="HTML"||He(e.firstElementChild)===e}function Ut(e){return e.parentNode!==null?Ut(e.parentNode):e}function wt(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,o=n?t:e,i=document.createRange();i.setStart(r,0),i.setEnd(o,0);var a=i.commonAncestorContainer;if(e!==a&&t!==a||r.contains(o))return oi(a)?a:He(a);var s=Ut(e);return s.host?wt(s.host,t):wt(e,Ut(t).host)}function ze(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"top",n=t==="top"?"scrollTop":"scrollLeft",r=e.nodeName;if(r==="BODY"||r==="HTML"){var o=e.ownerDocument.documentElement,i=e.ownerDocument.scrollingElement||o;return i[n]}return e[n]}function ii(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=ze(t,"top"),o=ze(t,"left"),i=n?-1:1;return e.top+=r*i,e.bottom+=r*i,e.left+=o*i,e.right+=o*i,e}function Jn(e,t){var n=t==="x"?"Left":"Top",r=n==="Left"?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+r+"Width"])}function Xn(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],qe(10)?parseInt(n["offset"+e])+parseInt(r["margin"+(e==="Height"?"Top":"Left")])+parseInt(r["margin"+(e==="Height"?"Bottom":"Right")]):0)}function Pr(e){var t=e.body,n=e.documentElement,r=qe(10)&&getComputedStyle(n);return{height:Xn("Height",t,n,r),width:Xn("Width",t,n,r)}}function xe(e){return se({},e,{right:e.left+e.width,bottom:e.top+e.height})}function Ht(e){var t={};try{if(qe(10)){t=e.getBoundingClientRect();var n=ze(e,"top"),r=ze(e,"left");t.top+=n,t.left+=r,t.bottom+=n,t.right+=r}else t=e.getBoundingClientRect()}catch{}var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i=e.nodeName==="HTML"?Pr(e.ownerDocument):{},a=i.width||e.clientWidth||o.width,s=i.height||e.clientHeight||o.height,c=e.offsetWidth-a,l=e.offsetHeight-s;if(c||l){var p=Fe(e);c-=Jn(p,"x"),l-=Jn(p,"y"),o.width-=c,o.height-=l}return xe(o)}function Jt(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=qe(10),o=t.nodeName==="HTML",i=Ht(e),a=Ht(t),s=at(e),c=Fe(t),l=parseFloat(c.borderTopWidth),p=parseFloat(c.borderLeftWidth);n&&o&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var u=xe({top:i.top-a.top-l,left:i.left-a.left-p,width:i.width,height:i.height});if(u.marginTop=0,u.marginLeft=0,!r&&o){var d=parseFloat(c.marginTop),f=parseFloat(c.marginLeft);u.top-=l-d,u.bottom-=l-d,u.left-=p-f,u.right-=p-f,u.marginTop=d,u.marginLeft=f}return(r&&!n?t.contains(s):t===s&&s.nodeName!=="BODY")&&(u=ii(u,t)),u}function li(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=e.ownerDocument.documentElement,r=Jt(e,n),o=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:ze(n),s=t?0:ze(n,"left"),c={top:a-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:o,height:i};return xe(c)}function _r(e){var t=e.nodeName;if(t==="BODY"||t==="HTML")return!1;if(Fe(e,"position")==="fixed")return!0;var n=Kt(e);return n?_r(n):!1}function xr(e){if(!e||!e.parentElement||qe())return document.documentElement;for(var t=e.parentElement;t&&Fe(t,"transform")==="none";)t=t.parentElement;return t||document.documentElement}function Xt(e,t,n,r){var o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,i={top:0,left:0},a=o?xr(e):wt(e,Cr(t));if(r==="viewport")i=li(a,o);else{var s=void 0;r==="scrollParent"?(s=at(Kt(t)),s.nodeName==="BODY"&&(s=e.ownerDocument.documentElement)):r==="window"?s=e.ownerDocument.documentElement:s=r;var c=Jt(s,a,o);if(s.nodeName==="HTML"&&!_r(a)){var l=Pr(e.ownerDocument),p=l.height,u=l.width;i.top+=c.top-c.marginTop,i.bottom=p+c.top,i.left+=c.left-c.marginLeft,i.right=u+c.left}else i=c}n=n||0;var d=typeof n=="number";return i.left+=d?n:n.left||0,i.top+=d?n:n.top||0,i.right-=d?n:n.right||0,i.bottom-=d?n:n.bottom||0,i}function ci(e){var t=e.width,n=e.height;return t*n}function Ar(e,t,n,r,o){var i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0;if(e.indexOf("auto")===-1)return e;var a=Xt(n,r,i,o),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},c=Object.keys(s).map(function(d){return se({key:d},s[d],{area:ci(s[d])})}).sort(function(d,f){return f.area-d.area}),l=c.filter(function(d){var f=d.width,h=d.height;return f>=n.clientWidth&&h>=n.clientHeight}),p=l.length>0?l[0].key:c[0].key,u=e.split("-")[1];return p+(u?"-"+u:"")}function Nr(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,o=r?xr(t):wt(t,Cr(n));return Jt(n,o,r)}function kr(e){var t=e.ownerDocument.defaultView,n=t.getComputedStyle(e),r=parseFloat(n.marginTop||0)+parseFloat(n.marginBottom||0),o=parseFloat(n.marginLeft||0)+parseFloat(n.marginRight||0),i={width:e.offsetWidth+o,height:e.offsetHeight+r};return i}function Tt(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(n){return t[n]})}function Lr(e,t,n){n=n.split("-")[0];var r=kr(e),o={width:r.width,height:r.height},i=["right","left"].indexOf(n)!==-1,a=i?"top":"left",s=i?"left":"top",c=i?"height":"width",l=i?"width":"height";return o[a]=t[a]+t[c]/2-r[c]/2,n===s?o[s]=t[s]-r[l]:o[s]=t[Tt(s)],o}function st(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function ui(e,t,n){if(Array.prototype.findIndex)return e.findIndex(function(o){return o[t]===n});var r=st(e,function(o){return o[t]===n});return e.indexOf(r)}function Mr(e,t,n){var r=n===void 0?e:e.slice(0,ui(e,"name",n));return r.forEach(function(o){o.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var i=o.function||o.fn;o.enabled&&Rr(i)&&(t.offsets.popper=xe(t.offsets.popper),t.offsets.reference=xe(t.offsets.reference),t=i(t,o))}),t}function pi(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=Nr(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=Ar(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=Lr(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=Mr(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function jr(e,t){return e.some(function(n){var r=n.name,o=n.enabled;return o&&r===t})}function Qt(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;ra[f]&&(e.offsets.popper[u]+=s[u]+h-a[f]),e.offsets.popper=xe(e.offsets.popper);var b=s[u]+s[l]/2-h/2,N=Fe(e.instance.popper),v=parseFloat(N["margin"+p]),T=parseFloat(N["border"+p+"Width"]),m=b-e.offsets.popper[u]-v-T;return m=Math.max(Math.min(a[l]-h,m),0),e.arrowElement=r,e.offsets.arrow=(n={},Ge(n,u,Math.round(m)),Ge(n,d,""),n),e}function Ti(e){return e==="end"?"start":e==="start"?"end":e}function Qn(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=Ft.indexOf(e),r=Ft.slice(n+1).concat(Ft.slice(0,n));return t?r.reverse():r}function Ii(e,t){if(jr(e.instance.modifiers,"inner")||e.flipped&&e.placement===e.originalPlacement)return e;var n=Xt(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],o=Tt(r),i=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case Bt.FLIP:a=[r,o];break;case Bt.CLOCKWISE:a=Qn(r);break;case Bt.COUNTERCLOCKWISE:a=Qn(r,!0);break;default:a=t.behavior}return a.forEach(function(s,c){if(r!==s||a.length===c+1)return e;r=e.placement.split("-")[0],o=Tt(r);var l=e.offsets.popper,p=e.offsets.reference,u=Math.floor,d=r==="left"&&u(l.right)>u(p.left)||r==="right"&&u(l.left)u(p.top)||r==="bottom"&&u(l.top)u(n.right),b=u(l.top)u(n.bottom),v=r==="left"&&f||r==="right"&&h||r==="top"&&b||r==="bottom"&&N,T=["top","bottom"].indexOf(r)!==-1,m=!!t.flipVariations&&(T&&i==="start"&&f||T&&i==="end"&&h||!T&&i==="start"&&b||!T&&i==="end"&&N),g=!!t.flipVariationsByContent&&(T&&i==="start"&&h||T&&i==="end"&&f||!T&&i==="start"&&N||!T&&i==="end"&&b),O=m||g;(d||v||O)&&(e.flipped=!0,(d||v)&&(r=a[c+1]),O&&(i=Ti(i)),e.placement=r+(i?"-"+i:""),e.offsets.popper=se({},e.offsets.popper,Lr(e.instance.popper,e.offsets.reference,e.placement)),e=Mr(e.instance.modifiers,e,"flip"))}),e}function Ri(e){var t=e.offsets,n=t.popper,r=t.reference,o=e.placement.split("-")[0],i=Math.floor,a=["top","bottom"].indexOf(o)!==-1,s=a?"right":"bottom",c=a?"left":"top",l=a?"width":"height";return n[s]i(r[s])&&(e.offsets.popper[c]=i(r[s])),e}function Ci(e,t,n,r){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],a=o[2];if(!i)return e;if(a.indexOf("%")===0){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=r}var c=xe(s);return c[t]/100*i}else if(a==="vh"||a==="vw"){var l=void 0;return a==="vh"?l=Math.max(document.documentElement.clientHeight,window.innerHeight||0):l=Math.max(document.documentElement.clientWidth,window.innerWidth||0),l/100*i}else return i}function Pi(e,t,n,r){var o=[0,0],i=["right","left"].indexOf(r)!==-1,a=e.split(/(\+|\-)/).map(function(p){return p.trim()}),s=a.indexOf(st(a,function(p){return p.search(/,|\s/)!==-1}));a[s]&&a[s].indexOf(",")===-1&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var c=/\s*,\s*|\s+/,l=s!==-1?[a.slice(0,s).concat([a[s].split(c)[0]]),[a[s].split(c)[1]].concat(a.slice(s+1))]:[a];return l=l.map(function(p,u){var d=(u===1?!i:i)?"height":"width",f=!1;return p.reduce(function(h,b){return h[h.length-1]===""&&["+","-"].indexOf(b)!==-1?(h[h.length-1]=b,f=!0,h):f?(h[h.length-1]+=b,f=!1,h):h.concat(b)},[]).map(function(h){return Ci(h,d,t,n)})}),l.forEach(function(p,u){p.forEach(function(d,f){Zt(d)&&(o[u]+=d*(p[f-1]==="-"?-1:1))})}),o}function _i(e,t){var n=t.offset,r=e.placement,o=e.offsets,i=o.popper,a=o.reference,s=r.split("-")[0],c=void 0;return Zt(+n)?c=[+n,0]:c=Pi(n,i,a,s),s==="left"?(i.top+=c[0],i.left-=c[1]):s==="right"?(i.top+=c[0],i.left+=c[1]):s==="top"?(i.left+=c[0],i.top-=c[1]):s==="bottom"&&(i.left+=c[0],i.top+=c[1]),e.popper=i,e}function xi(e,t){var n=t.boundariesElement||He(e.instance.popper);e.instance.reference===n&&(n=He(n));var r=Qt("transform"),o=e.instance.popper.style,i=o.top,a=o.left,s=o[r];o.top="",o.left="",o[r]="";var c=Xt(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);o.top=i,o.left=a,o[r]=s,t.boundaries=c;var l=t.priority,p=e.offsets.popper,u={primary:function(d){var f=p[d];return p[d]c[d]&&!t.escapeWithReference&&(h=Math.min(p[f],c[d]-(d==="right"?p.width:p.height))),Ge({},f,h)}};return l.forEach(function(d){var f=["left","top"].indexOf(d)!==-1?"primary":"secondary";p=se({},p,u[f](d))}),e.offsets.popper=p,e}function Ai(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var o=e.offsets,i=o.reference,a=o.popper,s=["bottom","top"].indexOf(n)!==-1,c=s?"left":"top",l=s?"width":"height",p={start:Ge({},c,i[c]),end:Ge({},c,i[c]+i[l]-a[l])};e.offsets.popper=se({},a,p[r])}return e}function Ni(e){if(!Br(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=st(e.instance.modifiers,function(r){return r.name==="preventOverflow"}).boundaries;if(t.bottomn.right||t.top>n.bottom||t.rightc);return A.undefined(r)||(l=l&&c===r),A.undefined(i)||(l=l&&s===i),l}function rr(e,t,n){var r=n.key,o=n.type,i=n.value,a=Se(e,r),s=Se(t,r),c=o==="added"?a:s,l=o==="added"?s:a;if(!A.nullOrUndefined(i)){if(A.defined(c)){if(A.array(c)||A.plainObject(c))return Ki(c,l,i)}else return ie(l,i);return!1}return[a,s].every(A.array)?!l.every(en(c)):[a,s].every(A.plainObject)?Ji(Object.keys(c),Object.keys(l)):![a,s].every(function(p){return A.primitive(p)&&A.defined(p)})&&(o==="added"?!A.defined(a)&&A.defined(s):A.defined(a)&&!A.defined(s))}function or(e,t,n){var r=n===void 0?{}:n,o=r.key,i=Se(e,o),a=Se(t,o);if(!Hr(i,a))throw new TypeError("Inputs have different types");if(!Vi(i,a))throw new TypeError("Inputs don't have length");return[i,a].every(A.plainObject)&&(i=Object.keys(i),a=Object.keys(a)),[i,a]}function ir(e){return function(t){var n=t[0],r=t[1];return A.array(e)?ie(e,r)||e.some(function(o){return ie(o,r)||A.array(r)&&en(r)(o)}):A.plainObject(e)&&e[n]?!!e[n]&&ie(e[n],r):ie(e,r)}}function Ji(e,t){return t.some(function(n){return!e.includes(n)})}function ar(e){return function(t){return A.array(e)?e.some(function(n){return ie(n,t)||A.array(t)&&en(t)(n)}):ie(e,t)}}function Ze(e,t){return A.array(e)?e.some(function(n){return ie(n,t)}):ie(e,t)}function en(e){return function(t){return e.some(function(n){return ie(n,t)})}}function Hr(){for(var e=[],t=0;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Zi(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i=0)&&(n[o]=e[o]);return n}function zr(e,t){if(e==null)return{};var n=Zi(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function we(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ea(e,t){if(t&&(typeof t=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return we(e)}function pt(e){var t=Qi();return function(){var n=It(e),r;if(t){var o=It(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return ea(this,r)}}function ta(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Gr(e){var t=ta(e,"string");return typeof t=="symbol"?t:String(t)}function ia(e,t,n,r){return typeof e=="boolean"?e:typeof e=="function"?e(t,n,r):e?!!e:!1}function aa(e,t){return Object.hasOwnProperty.call(e,t)}function sa(e,t,n,r){return r?new Error(r):new Error("Required ".concat(e[t]," `").concat(t,"` was not specified in `").concat(n,"`."))}function la(e,t){if(typeof e!="function")throw new TypeError(ra);if(t&&typeof t!="string")throw new TypeError(oa)}function cr(e,t,n){return la(e,n),function(r,o,i){for(var a=arguments.length,s=new Array(a>3?a-3:0),c=3;c3&&arguments[3]!==void 0?arguments[3]:!1;e.addEventListener(t,n,r)}function ua(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;e.removeEventListener(t,n,r)}function pa(e,t,n){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,o;o=function(i){n(i),ua(e,t,o)},ca(e,t,o,r)}function ur(){}function $r(e){var t=e.handleClick,n=e.styles,r=n.color,o=n.height,i=n.width,a=zr(n,da);return y.createElement("button",{"aria-label":"close",onClick:t,style:a,type:"button"},y.createElement("svg",{width:"".concat(i,"px"),height:"".concat(o,"px"),viewBox:"0 0 18 18",version:"1.1",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid"},y.createElement("g",null,y.createElement("path",{d:"M8.13911129,9.00268191 L0.171521827,17.0258467 C-0.0498027049,17.248715 -0.0498027049,17.6098394 0.171521827,17.8327545 C0.28204354,17.9443526 0.427188206,17.9998706 0.572051765,17.9998706 C0.71714958,17.9998706 0.862013139,17.9443526 0.972581703,17.8327545 L9.0000937,9.74924618 L17.0276057,17.8327545 C17.1384085,17.9443526 17.2832721,17.9998706 17.4281356,17.9998706 C17.5729992,17.9998706 17.718097,17.9443526 17.8286656,17.8327545 C18.0499901,17.6098862 18.0499901,17.2487618 17.8286656,17.0258467 L9.86135722,9.00268191 L17.8340066,0.973848225 C18.0553311,0.750979934 18.0553311,0.389855532 17.8340066,0.16694039 C17.6126821,-0.0556467968 17.254037,-0.0556467968 17.0329467,0.16694039 L9.00042166,8.25611765 L0.967006424,0.167268345 C0.745681892,-0.0553188426 0.387317931,-0.0553188426 0.165993399,0.167268345 C-0.0553311331,0.390136635 -0.0553311331,0.751261038 0.165993399,0.974176179 L8.13920499,9.00268191 L8.13911129,9.00268191 Z",fill:r}))))}function Vr(e){var t=e.content,n=e.footer,r=e.handleClick,o=e.open,i=e.positionWrapper,a=e.showCloseButton,s=e.title,c=e.styles,l={content:y.isValidElement(t)?t:y.createElement("div",{className:"__floater__content",style:c.content},t)};return s&&(l.title=y.isValidElement(s)?s:y.createElement("div",{className:"__floater__title",style:c.title},s)),n&&(l.footer=y.isValidElement(n)?n:y.createElement("div",{className:"__floater__footer",style:c.footer},n)),(a||i)&&!A.boolean(o)&&(l.close=y.createElement($r,{styles:c.close,handleClick:r})),y.createElement("div",{className:"__floater__container",style:c.container},l.close,l.title,l.content,l.footer)}function ha(e){var t=(0,Gt.default)(fa,e.options||{});return{wrapper:{cursor:"help",display:"inline-flex",flexDirection:"column",zIndex:t.zIndex},wrapperPosition:{left:-1e3,position:"absolute",top:-1e3,visibility:"hidden"},floater:{display:"inline-block",filter:"drop-shadow(0 0 3px rgba(0, 0, 0, 0.3))",maxWidth:300,opacity:0,position:"relative",transition:"opacity 0.3s",visibility:"hidden",zIndex:t.zIndex},floaterOpening:{opacity:1,visibility:"visible"},floaterWithAnimation:{opacity:1,transition:"opacity 0.3s, transform 0.2s",visibility:"visible"},floaterWithComponent:{maxWidth:"100%"},floaterClosing:{opacity:0,visibility:"visible"},floaterCentered:{left:"50%",position:"fixed",top:"50%",transform:"translate(-50%, -50%)"},container:{backgroundColor:"#fff",color:"#666",minHeight:60,minWidth:200,padding:20,position:"relative",zIndex:10},title:{borderBottom:"1px solid #555",color:"#555",fontSize:18,marginBottom:5,paddingBottom:6,paddingRight:18},content:{fontSize:15},close:{backgroundColor:"transparent",border:0,borderRadius:0,color:"#555",fontSize:0,height:15,outline:"none",padding:10,position:"absolute",right:0,top:0,width:15,WebkitAppearance:"none"},footer:{borderTop:"1px solid #ccc",fontSize:13,marginTop:10,paddingTop:5},arrow:{color:"#fff",display:"inline-flex",length:16,margin:8,position:"absolute",spread:32},options:t}}function Ce(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function Xr(e){return e?e.getBoundingClientRect():null}function Ea(e=!0){let{body:t,documentElement:n}=document;if(!t||!n)return 0;if(e){let r=[t.scrollHeight,t.offsetHeight,n.clientHeight,n.scrollHeight,n.offsetHeight].sort((i,a)=>i-a),o=Math.floor(r.length/2);return r.length%2===0?(r[o-1]+r[o])/2:r[o]}return Math.max(t.scrollHeight,t.offsetHeight,n.clientHeight,n.scrollHeight,n.offsetHeight)}function _e(e){return typeof e=="string"?document.querySelector(e):e}function Sa(e){return!e||e.nodeType!==1?null:getComputedStyle(e)}function _t(e,t,n){if(!e)return je();let r=(0,Ir.default)(e);if(r){if(r.isSameNode(je()))return n?document:je();if(!(r.scrollHeight>r.offsetHeight)&&!t)return r.style.overflow="initial",je()}return r}function dt(e,t){if(!e)return!1;let n=_t(e,t);return n?!n.isSameNode(je()):!1}function Oa(e){return e.offsetParent!==document.body}function ot(e,t="fixed"){if(!e||!(e instanceof HTMLElement))return!1;let{nodeName:n}=e,r=Sa(e);return n==="BODY"||n==="HTML"?!1:r&&r.position===t?!0:e.parentNode?ot(e.parentNode,t):!1}function wa(e){var t;if(!e)return!1;let n=e;for(;n&&n!==document.body;){if(n instanceof HTMLElement){let{display:r,visibility:o}=getComputedStyle(n);if(r==="none"||o==="hidden")return!1}n=(t=n.parentElement)!=null?t:null}return!0}function Ta(e,t,n){var r;let o=Xr(e),i=_t(e,n),a=dt(e,n),s=0,c=(r=o?.top)!=null?r:0;return i instanceof HTMLElement&&(s=i.scrollTop,!a&&!ot(e)&&(c+=s),i.isSameNode(je())||(c+=je().scrollTop)),Math.floor(c-t)}function Ia(e,t,n){var r;if(!e)return 0;let{offsetTop:o=0,scrollTop:i=0}=(r=(0,Ir.default)(e))!=null?r:{},a=e.getBoundingClientRect().top+i;o&&(dt(e,n)||Oa(e))&&(a-=o);let s=Math.floor(a-t);return s<0?0:s}function je(){var e;return(e=document.scrollingElement)!=null?e:document.documentElement}function Ra(e,t){let{duration:n,element:r}=t;return new Promise((o,i)=>{let{scrollTop:a}=r,s=e>a?e-a:a-e;Qo.default.top(r,e,{duration:s<100?50:n},c=>c&&c.message!=="Element already at target scroll position"?i(c):o())})}function Qr(e=navigator.userAgent){let t=e;return typeof window>"u"?t="node":document.documentMode?t="ie":/Edge/.test(e)?t="edge":window.opera||e.includes(" OPR/")?t="opera":typeof window.InstallTrigger<"u"?t="firefox":window.chrome?t="chrome":/(Version\/([\d._]+).*Safari|CriOS|FxiOS| Mobile\/)/.test(e)&&(t="safari"),t}function Pe(e){let t=[],n=r=>{if(typeof r=="string"||typeof r=="number")t.push(r);else if(Array.isArray(r))r.forEach(o=>n(o));else if(an(r)){let{children:o}=r.props;Array.isArray(o)?o.forEach(i=>n(i)):n(o)}};return n(e),t.join(" ").trim()}function Ca(e,t){return!C.plainObject(e)||!C.array(t)?!1:Object.keys(e).every(n=>t.includes(n))}function Pa(e){let t=/^#?([\da-f])([\da-f])([\da-f])$/i,n=e.replace(t,(o,i,a,s)=>i+i+a+a+s+s),r=/^#?([\da-f]{2})([\da-f]{2})([\da-f]{2})$/i.exec(n);return r?[parseInt(r[1],16),parseInt(r[2],16),parseInt(r[3],16)]:[]}function pr(e){return e.disableBeacon||e.placement==="center"}function dr(){return!["chrome","safari","firefox","opera"].includes(Qr())}function Ae({data:e,debug:t=!1,title:n,warn:r=!1}){let o=r?console.warn||console.error:console.log;t&&(n&&e?(console.groupCollapsed(`%creact-joyride: ${n}`,"color: #ff0044; font-weight: bold; font-size: 12px;"),Array.isArray(e)?e.forEach(i=>{C.plainObject(i)&&i.key?o.apply(console,[i.key,i.value]):o.apply(console,[i])}):o.apply(console,[e]),console.groupEnd()):console.error("Missing title or data props"))}function _a(e){return Object.keys(e)}function Zr(e,...t){if(!C.plainObject(e))throw new TypeError("Expected an object");let n={};for(let r in e)({}).hasOwnProperty.call(e,r)&&(t.includes(r)||(n[r]=e[r]));return n}function xa(e,...t){if(!C.plainObject(e))throw new TypeError("Expected an object");if(!t.length)return e;let n={};for(let r in e)({}).hasOwnProperty.call(e,r)&&t.includes(r)&&(n[r]=e[r]);return n}function Aa(e){let{isFirstStep:t,lifecycle:n,previousLifecycle:r,scrollToFirstStep:o,step:i,target:a}=e;return!i.disableScrolling&&(!t||o||n===k.TOOLTIP)&&i.placement!=="center"&&(!i.isFixed||!ot(a))&&r!==n&&[k.BEACON,k.TOOLTIP].includes(n)}function ja(e,t){var n,r,o,i,a;let{floaterProps:s,styles:c}=e,l=(0,Et.default)((n=t.floaterProps)!=null?n:{},s??{}),p=(0,Et.default)(c??{},(r=t.styles)!=null?r:{}),u=(0,Et.default)(Ma,p.options||{}),d=t.placement==="center"||t.disableBeacon,{width:f}=u;window.innerWidth>480&&(f=380),"width"in u&&(f=typeof u.width=="number"&&window.innerWidthto(n,t)):(Ae({title:"validateSteps",data:"steps must be an array",warn:!0,debug:t}),!1)}function Ba(e){return new Fa(e)}function Wa({styles:e}){return q("div",{key:"JoyrideSpotlight",className:"react-joyride__spotlight","data-test-id":"spotlight",style:e})}function qa({styles:e,...t}){let{color:n,height:r,width:o,...i}=e;return y.createElement("button",{style:i,type:"button",...t},y.createElement("svg",{height:typeof r=="number"?`${r}px`:r,preserveAspectRatio:"xMidYMid",version:"1.1",viewBox:"0 0 18 18",width:typeof o=="number"?`${o}px`:o,xmlns:"http://www.w3.org/2000/svg"},y.createElement("g",null,y.createElement("path",{d:"M8.13911129,9.00268191 L0.171521827,17.0258467 C-0.0498027049,17.248715 -0.0498027049,17.6098394 0.171521827,17.8327545 C0.28204354,17.9443526 0.427188206,17.9998706 0.572051765,17.9998706 C0.71714958,17.9998706 0.862013139,17.9443526 0.972581703,17.8327545 L9.0000937,9.74924618 L17.0276057,17.8327545 C17.1384085,17.9443526 17.2832721,17.9998706 17.4281356,17.9998706 C17.5729992,17.9998706 17.718097,17.9443526 17.8286656,17.8327545 C18.0499901,17.6098862 18.0499901,17.2487618 17.8286656,17.0258467 L9.86135722,9.00268191 L17.8340066,0.973848225 C18.0553311,0.750979934 18.0553311,0.389855532 17.8340066,0.16694039 C17.6126821,-0.0556467968 17.254037,-0.0556467968 17.0329467,0.16694039 L9.00042166,8.25611765 L0.967006424,0.167268345 C0.745681892,-0.0553188426 0.387317931,-0.0553188426 0.165993399,0.167268345 C-0.0553311331,0.390136635 -0.0553311331,0.751261038 0.165993399,0.974176179 L8.13920499,9.00268191 L8.13911129,9.00268191 Z",fill:n}))))}function Va(e){let{backProps:t,closeProps:n,continuous:r,index:o,isLastStep:i,primaryProps:a,size:s,skipProps:c,step:l,tooltipProps:p}=e,{content:u,hideBackButton:d,hideCloseButton:f,hideFooter:h,locale:b,showProgress:N,showSkipButton:v,styles:T,title:m}=l,{back:g,close:O,last:B,next:P,skip:V}=b,H={primary:O};return r&&(H.primary=i?B:P,N&&(H.primary=q("span",null,H.primary," (",o+1,"/",s,")"))),H.primary&&(H.primary=q("button",{"data-test-id":"button-primary",style:T.buttonNext,type:"button",...a},H.primary)),v&&!i&&(H.skip=q("button",{"aria-live":"off","data-test-id":"button-skip",style:T.buttonSkip,type:"button",...c},V)),!d&&o>0&&(H.back=q("button",{"data-test-id":"button-back",style:T.buttonBack,type:"button",...t},g)),H.close=!f&&q($a,{"data-test-id":"button-close",styles:T.buttonClose,...n}),q("div",{key:"JoyrideTooltip","aria-label":Pe(m)||Pe(u),className:"react-joyride__tooltip",style:T.tooltip,...p},q("div",{style:T.tooltipContainer},m&&q("h1",{"aria-label":Pe(m),style:T.tooltipTitle},m),q("div",{style:T.tooltipContent},u)),!h&&q("div",{style:T.tooltipFooter},q("div",{style:T.tooltipFooterSpacer},H.skip),H.back,H.primary),H.close)}function cs({step:e,steps:t,onClose:n,onComplete:r}){let[o,i]=ue(null),a=bn();return ae(()=>{let s;return i(c=>{let l=t.findIndex(({key:p})=>p===e);return l===-1?null:l===c?c:(s=setTimeout(i,500,l),null)}),()=>clearTimeout(s)},[e,t]),o===null?null:y.createElement(Qa,{continuous:!0,steps:t,stepIndex:o,spotlightPadding:0,disableCloseOnEsc:!0,disableOverlayClose:!0,disableScrolling:!0,callback:s=>{s.action===$.CLOSE&&n(),s.action===$.NEXT&&s.index===s.size-1&&r()},floaterProps:{disableAnimation:!0,styles:{arrow:{length:20,spread:2},floater:{filter:a.base==="light"?"drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) drop-shadow(0 1px 3px rgba(0,0,0,0.1))":"drop-shadow(#fff5 0px 0px 0.5px) drop-shadow(#fff5 0px 0px 0.5px)"}}},tooltipComponent:ls,styles:{overlay:{mixBlendMode:"unset",backgroundColor:t[o]?.target==="body"?"rgba(27, 28, 29, 0.2)":"none"},spotlight:{backgroundColor:"none",border:`solid 2px ${a.color.secondary}`,boxShadow:"0px 0px 0px 9999px rgba(27, 28, 29, 0.2)"},tooltip:{width:280,color:a.color.lightest,background:a.color.secondary},options:{zIndex:9998,primaryColor:a.color.secondary,arrowColor:a.color.secondary}}})}function ws({api:e}){let[t,n]=ue(!0),[r,o]=ue(!1),[i,a]=ue("1:Intro"),[s,c]=ue(),[l,p]=ue(),[u,d]=ue(),[f,h]=ue(),b=Je(P=>{try{let{id:V,refId:H}=e.getCurrentStoryData()||{};(V!==P||H!==void 0)&&e.selectStory(P)}catch{}},[e]),N=Je(()=>{let P=new URL(window.location.href),V=decodeURIComponent(P.searchParams.get("path"));P.search=`?path=${V}&onboarding=false`,history.replaceState({},"",P.href),e.setQueryParams({onboarding:"false"}),n(!1)},[e,n]),v=Je(()=>{e.emit(Wn,{step:"6:FinishedOnboarding",type:"telemetry"}),b("configure-your-project--docs"),N()},[e,b,N]);if(ae(()=>{e.setQueryParams({onboarding:"true"}),b("example-button--primary"),e.togglePanel(!0),e.togglePanelPosition("bottom"),e.setSelectedPanel("addon-controls")},[e,b]),ae(()=>{let P=new MutationObserver(()=>{c(document.getElementById("control-primary")),p(document.getElementById("save-from-controls")),d(document.getElementById("create-new-story-form"))});return P.observe(document.body,{childList:!0,subtree:!0}),()=>P.disconnect()},[]),ae(()=>{a(P=>["1:Intro","5:StoryCreated","6:FinishedOnboarding"].includes(P)?P:u?"4:CreateStory":l?"3:SaveFromControls":s?"2:Controls":"1:Intro")},[u,s,l]),ae(()=>e.on(un,({payload:P,success:V})=>{!V||!P?.newStoryName||(h(P),o(!0),a("5:StoryCreated"),setTimeout(()=>e.clearNotification("save-story-success")))}),[e]),ae(()=>e.emit(Wn,{step:i,type:"telemetry"}),[e,i]),!t)return null;let T=f?.sourceFileContent,m=T?.lastIndexOf(`export const ${f?.newStoryExportName}`),g=T?.slice(m).trim(),O=T?.slice(0,m).split(` +`).length,B=[{key:"2:Controls",target:"#control-primary",title:"Interactive story playground",content:y.createElement(y.Fragment,null,"See how a story renders with different data and state without touching code. Try it out by toggling this button.",y.createElement(Bn,{targetSelector:"#control-primary",pulsating:!0})),offset:20,placement:"right",disableBeacon:!0,disableOverlay:!0,spotlightClicks:!0,onNextButtonClick:()=>{document.querySelector("#control-primary").click()}},{key:"3:SaveFromControls",target:'button[aria-label="Create new story with these settings"]',title:"Save your changes as a new story",content:y.createElement(y.Fragment,null,"Great! Storybook stories represent the key states of each of your components. After modifying a story, you can save your changes from here or reset it.",y.createElement(Bn,{targetSelector:"button[aria-label='Create new story with these settings']"})),offset:6,placement:"top",disableBeacon:!0,disableOverlay:!0,spotlightClicks:!0,onNextButtonClick:()=>{document.querySelector('button[aria-label="Create new story with these settings"]').click()},styles:{tooltip:{width:400}}},{key:"5:StoryCreated",target:'#storybook-explorer-tree [data-selected="true"]',title:"You just added your first story!",content:y.createElement(y.Fragment,null,"Well done! You just created your first story from the Storybook manager. This automatically added a few lines of code in"," ",y.createElement(Es,null,f?.sourceFileName),".",g&&y.createElement(kt,{theme:Lt(gn.dark)},y.createElement(Ss,null,y.createElement(mn,{language:"jsx",showLineNumbers:!0,startingLineNumber:O},g)))),offset:12,placement:"right",disableBeacon:!0,disableOverlay:!0,styles:{tooltip:{width:400}}}];return y.createElement(kt,{theme:Os},r&&y.createElement(jo,null),i==="1:Intro"?y.createElement(vs,{onDismiss:()=>a("2:Controls")}):y.createElement(cs,{step:i,steps:B,onClose:N,onComplete:v}))}var po,gr,fo,br,ho,mo,le,yo,De,go,bo,$t,vo,vr,Eo,Er,Sr,So,Oo,wo,To,Io,wn,Ro,Tn,In,Rn,Cn,Pn,_n,xn,An,Nn,kn,Ln,Po,_o,xo,Mn,bt,be,rt,Ao,Mt,jt,jn,We,Dt,Dn,Or,Fn,No,ko,Mo,jo,Wn,Do,Fo,Un,Hn,Bo,Go,Yo,Vo,C,Qo,Ir,vt,Et,S,it,Zo,ni,ri,Vn,Kn,ai,si,Ge,se,Si,Wr,Ft,Bt,Li,Mi,Ct,Zn,Gt,ji,Di,Fi,A,Ui,Hi,er,tr,zi,Yt,na,ra,oa,U,et,Yr,qr,da,Kr,Jr,fa,ma,ya,tn,ga,ba,va,_,$,pe,k,j,tt,Na,eo,ka,La,Ma,nt,fr,no,mr,Fa,Ua,Ha,za,Ga,Ya,$a,Ka,Ja,Xa,ro,Qa,Za,es,ts,ns,rs,os,is,as,ss,ls,us,oo,ps,ds,fs,hs,ms,ys,gs,bs,yr,vs,Es,Ss,Os,ao=ce(()=>{X();Q();Z();ht();ht();yn();Nt();vn();yt();yt();On();po=Object.create,gr=Object.defineProperty,fo=Object.getOwnPropertyDescriptor,br=Object.getOwnPropertyNames,ho=Object.getPrototypeOf,mo=Object.prototype.hasOwnProperty,le=(e,t)=>function(){return t||(0,e[br(e)[0]])((t={exports:{}}).exports,t),t.exports},yo=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of br(t))!mo.call(e,o)&&o!==n&&gr(e,o,{get:()=>t[o],enumerable:!(r=fo(t,o))||r.enumerable});return e},De=(e,t,n)=>(n=e!=null?po(ho(e)):{},yo(t||!e||!e.__esModule?gr(n,"default",{value:e,enumerable:!0}):n,e)),go=le({"../../node_modules/scroll/index.js"(e,t){var n=new Error("Element already at target scroll position"),r=new Error("Scroll cancelled"),o=Math.min,i=Date.now;t.exports={left:a("scrollLeft"),top:a("scrollTop")};function a(l){return function(p,u,d,f){d=d||{},typeof d=="function"&&(f=d,d={}),typeof f!="function"&&(f=c);var h=i(),b=p[l],N=d.ease||s,v=isNaN(d.duration)?350:+d.duration,T=!1;return b===u?f(n,p[l]):requestAnimationFrame(g),m;function m(){T=!0}function g(O){if(T)return f(r,p[l]);var B=i(),P=o(1,(B-h)/v),V=N(P);p[l]=V*(u-b)+b,P<1?requestAnimationFrame(g):requestAnimationFrame(function(){f(null,p[l])})}}}function s(l){return .5*(1-Math.cos(Math.PI*l))}function c(){}}}),bo=le({"../../node_modules/scrollparent/scrollparent.js"(e,t){(function(n,r){typeof define=="function"&&define.amd?define([],r):typeof t=="object"&&t.exports?t.exports=r():n.Scrollparent=r()})(e,function(){function n(o){var i=getComputedStyle(o,null).getPropertyValue("overflow");return i.indexOf("scroll")>-1||i.indexOf("auto")>-1}function r(o){if(o instanceof HTMLElement||o instanceof SVGElement){for(var i=o.parentNode;i.parentNode;){if(n(i))return i;i=i.parentNode}return document.scrollingElement||document.documentElement}}return r})}}),$t=le({"../../node_modules/deepmerge/dist/cjs.js"(e,t){var n=function(m){return r(m)&&!o(m)};function r(m){return!!m&&typeof m=="object"}function o(m){var g=Object.prototype.toString.call(m);return g==="[object RegExp]"||g==="[object Date]"||s(m)}var i=typeof Symbol=="function"&&Symbol.for,a=i?Symbol.for("react.element"):60103;function s(m){return m.$$typeof===a}function c(m){return Array.isArray(m)?[]:{}}function l(m,g){return g.clone!==!1&&g.isMergeableObject(m)?v(c(m),m,g):m}function p(m,g,O){return m.concat(g).map(function(B){return l(B,O)})}function u(m,g){if(!g.customMerge)return v;var O=g.customMerge(m);return typeof O=="function"?O:v}function d(m){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(m).filter(function(g){return Object.propertyIsEnumerable.call(m,g)}):[]}function f(m){return Object.keys(m).concat(d(m))}function h(m,g){try{return g in m}catch{return!1}}function b(m,g){return h(m,g)&&!(Object.hasOwnProperty.call(m,g)&&Object.propertyIsEnumerable.call(m,g))}function N(m,g,O){var B={};return O.isMergeableObject(m)&&f(m).forEach(function(P){B[P]=l(m[P],O)}),f(g).forEach(function(P){b(m,P)||(h(m,P)&&O.isMergeableObject(g[P])?B[P]=u(P,O)(m[P],g[P],O):B[P]=l(g[P],O))}),B}function v(m,g,O){O=O||{},O.arrayMerge=O.arrayMerge||p,O.isMergeableObject=O.isMergeableObject||n,O.cloneUnlessOtherwiseSpecified=l;var B=Array.isArray(g),P=Array.isArray(m),V=B===P;return V?B?O.arrayMerge(m,g,O):N(m,g,O):l(g,O)}v.all=function(m,g){if(!Array.isArray(m))throw new Error("first argument should be an array");return m.reduce(function(O,B){return v(O,B,g)},{})};var T=v;t.exports=T}}),vo=le({"../../node_modules/react-is/cjs/react-is.development.js"(e){(function(){var t=typeof Symbol=="function"&&Symbol.for,n=t?Symbol.for("react.element"):60103,r=t?Symbol.for("react.portal"):60106,o=t?Symbol.for("react.fragment"):60107,i=t?Symbol.for("react.strict_mode"):60108,a=t?Symbol.for("react.profiler"):60114,s=t?Symbol.for("react.provider"):60109,c=t?Symbol.for("react.context"):60110,l=t?Symbol.for("react.async_mode"):60111,p=t?Symbol.for("react.concurrent_mode"):60111,u=t?Symbol.for("react.forward_ref"):60112,d=t?Symbol.for("react.suspense"):60113,f=t?Symbol.for("react.suspense_list"):60120,h=t?Symbol.for("react.memo"):60115,b=t?Symbol.for("react.lazy"):60116,N=t?Symbol.for("react.block"):60121,v=t?Symbol.for("react.fundamental"):60117,T=t?Symbol.for("react.responder"):60118,m=t?Symbol.for("react.scope"):60119;function g(w){return typeof w=="string"||typeof w=="function"||w===o||w===p||w===a||w===i||w===d||w===f||typeof w=="object"&&w!==null&&(w.$$typeof===b||w.$$typeof===h||w.$$typeof===s||w.$$typeof===c||w.$$typeof===u||w.$$typeof===v||w.$$typeof===T||w.$$typeof===m||w.$$typeof===N)}function O(w){if(typeof w=="object"&&w!==null){var ne=w.$$typeof;switch(ne){case n:var Oe=w.type;switch(Oe){case l:case p:case o:case a:case i:case d:return Oe;default:var nn=Oe&&Oe.$$typeof;switch(nn){case c:case u:case b:case h:case s:return nn;default:return ne}}case r:return ne}}}var B=l,P=p,V=c,H=s,te=n,Ne=u,Ve=o,ke=b,Be=h,Ke=r,Te=a,Ie=i,he=d,Re=!1;function xt(w){return Re||(Re=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),ft(w)||O(w)===l}function ft(w){return O(w)===p}function E(w){return O(w)===c}function x(w){return O(w)===s}function W(w){return typeof w=="object"&&w!==null&&w.$$typeof===n}function D(w){return O(w)===u}function L(w){return O(w)===o}function z(w){return O(w)===b}function M(w){return O(w)===h}function F(w){return O(w)===r}function G(w){return O(w)===a}function K(w){return O(w)===i}function Y(w){return O(w)===d}e.AsyncMode=B,e.ConcurrentMode=P,e.ContextConsumer=V,e.ContextProvider=H,e.Element=te,e.ForwardRef=Ne,e.Fragment=Ve,e.Lazy=ke,e.Memo=Be,e.Portal=Ke,e.Profiler=Te,e.StrictMode=Ie,e.Suspense=he,e.isAsyncMode=xt,e.isConcurrentMode=ft,e.isContextConsumer=E,e.isContextProvider=x,e.isElement=W,e.isForwardRef=D,e.isFragment=L,e.isLazy=z,e.isMemo=M,e.isPortal=F,e.isProfiler=G,e.isStrictMode=K,e.isSuspense=Y,e.isValidElementType=g,e.typeOf=O})()}}),vr=le({"../../node_modules/react-is/index.js"(e,t){t.exports=vo()}}),Eo=le({"../../node_modules/object-assign/index.js"(e,t){var n=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function i(s){if(s==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(s)}function a(){try{if(!Object.assign)return!1;var s=new String("abc");if(s[5]="de",Object.getOwnPropertyNames(s)[0]==="5")return!1;for(var c={},l=0;l<10;l++)c["_"+String.fromCharCode(l)]=l;var p=Object.getOwnPropertyNames(c).map(function(d){return c[d]});if(p.join("")!=="0123456789")return!1;var u={};return"abcdefghijklmnopqrst".split("").forEach(function(d){u[d]=d}),Object.keys(Object.assign({},u)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}t.exports=a()?Object.assign:function(s,c){for(var l,p=i(s),u,d=1;d1?s("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):s("Invalid argument supplied to oneOf, expected an array."),c;function x(W,D,L,z,M){for(var F=W[D],G=0;G0?", expected one of type ["+K.join(", ")+"]":"";return new v("Invalid "+F+" `"+G+"` supplied to "+("`"+M+"`"+Oe+"."))}return T(D)}function Ve(){function E(x,W,D,L,z){return Te(x[W])?null:new v("Invalid "+L+" `"+z+"` supplied to "+("`"+D+"`, expected a ReactNode."))}return T(E)}function ke(E,x,W,D,L){return new v((E||"React class")+": "+x+" type `"+W+"."+D+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+L+"`.")}function Be(E){function x(W,D,L,z,M){var F=W[D],G=he(F);if(G!=="object")return new v("Invalid "+z+" `"+M+"` of type `"+G+"` "+("supplied to `"+L+"`, expected `object`."));for(var K in E){var Y=E[K];if(typeof Y!="function")return ke(L,z,M,K,Re(Y));var w=Y(F,K,L,z,M+"."+K,o);if(w)return w}return null}return T(x)}function Ke(E){function x(W,D,L,z,M){var F=W[D],G=he(F);if(G!=="object")return new v("Invalid "+z+" `"+M+"` of type `"+G+"` "+("supplied to `"+L+"`, expected `object`."));var K=r({},W[D],E);for(var Y in K){var w=E[Y];if(i(E,Y)&&typeof w!="function")return ke(L,z,M,Y,Re(w));if(!w)return new v("Invalid "+z+" `"+M+"` key `"+Y+"` supplied to `"+L+"`.\nBad object: "+JSON.stringify(W[D],null," ")+` +Valid keys: `+JSON.stringify(Object.keys(E),null," "));var ne=w(F,Y,L,z,M+"."+Y,o);if(ne)return ne}return null}return T(x)}function Te(E){switch(typeof E){case"number":case"string":case"undefined":return!0;case"boolean":return!E;case"object":if(Array.isArray(E))return E.every(Te);if(E===null||l(E))return!0;var x=f(E);if(x){var W=x.call(E),D;if(x!==E.entries){for(;!(D=W.next()).done;)if(!Te(D.value))return!1}else for(;!(D=W.next()).done;){var L=D.value;if(L&&!Te(L[1]))return!1}}else return!1;return!0;default:return!1}}function Ie(E,x){return E==="symbol"?!0:x?x["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&x instanceof Symbol:!1}function he(E){var x=typeof E;return Array.isArray(E)?"array":E instanceof RegExp?"object":Ie(x,E)?"symbol":x}function Re(E){if(typeof E>"u"||E===null)return""+E;var x=he(E);if(x==="object"){if(E instanceof Date)return"date";if(E instanceof RegExp)return"regexp"}return x}function xt(E){var x=Re(E);switch(x){case"array":case"object":return"an "+x;case"boolean":case"date":case"regexp":return"a "+x;default:return x}}function ft(E){return!E.constructor||!E.constructor.name?h:E.constructor.name}return b.checkPropTypes=a,b.resetWarningCache=a.resetWarningCache,b.PropTypes=b,b}}}),wo=le({"../../node_modules/prop-types/index.js"(e,t){n=vr(),r=!0,t.exports=Oo()(n.isElement,r);var n,r}}),To=le({"../../node_modules/react-innertext/index.js"(e,t){var n=function(i){return Object.prototype.hasOwnProperty.call(i,"props")},r=function(i,a){return i+o(a)},o=function(i){return i===null||typeof i=="boolean"||typeof i>"u"?"":typeof i=="number"?i.toString():typeof i=="string"?i:Array.isArray(i)?i.reduce(r,""):n(i)&&Object.prototype.hasOwnProperty.call(i.props,"children")?o(i.props.children):""};o.default=o,t.exports=o}}),Io='@keyframes Bc2PgW_ya{to{translate:0 var(--sh)}}@keyframes Bc2PgW_xa{to{translate:var(--xlp)0}}@keyframes Bc2PgW_r{50%{rotate:var(--hr)180deg}to{rotate:var(--r)360deg}}.Bc2PgW_c{z-index:1200;width:0;height:0;position:relative;overflow:visible}.Bc2PgW_p{animation:xa var(--dc)forwards cubic-bezier(var(--x1),var(--x2),var(--x3),var(--x4));animation-name:Bc2PgW_xa}.Bc2PgW_p>div{animation:ya var(--dc)forwards cubic-bezier(var(--y1),var(--y2),var(--y3),var(--y4));width:var(--w);height:var(--h);animation-name:Bc2PgW_ya;position:absolute;top:0;left:0}.Bc2PgW_p>div:before{content:"";background-color:var(--bgc);animation:r var(--rd)infinite linear;border-radius:var(--br);width:100%;height:100%;animation-name:Bc2PgW_r;display:block}',wn="Bc2PgW_p",Ro="Bc2PgW_c",Tn=["#FFC700","#FF0000","#2E3191","#41BBC7"],In=3500,Rn=.5,Cn=150,Pn="mix",_n=12,xn="",An=!0,Nn=800,kn=1600;Ln=200,Po=800,_o=.1,xo=.3,Mn=.5,bt=Math.abs,be=Math.random,rt=Math.round,Ao=Math.max,Mt=e=>document.createElement(e),jt=(e,t)=>e.appendChild(t),jn=(e,t)=>Array.from({length:e},(n,r)=>({color:t[r%t.length],degree:360*r/e})),We=(e,t=2)=>rt((e+Number.EPSILON)*10**t)/10**t,Dt=(e,t,n,r,o)=>(e-t)*(o-r)/(n-t)+r,Dn=(e,t)=>e+t>360?e+t-360:e+t,Or=()=>be()>.5,Fn=Object.entries,No=6,ko=e=>e!==1&&Or();Mo=ee.div({zIndex:9999,position:"fixed",top:0,left:"50%",width:"50%",height:"100%"}),jo=y.memo(function({timeToFade:e=5e3,colors:t=["#CA90FF","#FC521F","#66BF3C","#FF4785","#FFAE00","#1EA7FD"],...n}){return y.createElement(Mo,null,y.createElement(Lo,{colors:t,particleCount:200,duration:5e3,stageHeight:window.innerHeight,stageWidth:window.innerWidth,destroyAfterDone:!0,...n}))});Wn="STORYBOOK_ADDON_ONBOARDING_CHANNEL";Do=wr("function"),Fo=e=>e===null,Un=e=>Object.prototype.toString.call(e).slice(8,-1)==="RegExp",Hn=e=>!Bo(e)&&!Fo(e)&&(Do(e)||typeof e=="object"),Bo=wr("undefined");Go=["Array","ArrayBuffer","AsyncFunction","AsyncGenerator","AsyncGeneratorFunction","Date","Error","Function","Generator","GeneratorFunction","HTMLElement","Map","Object","Promise","RegExp","Set","WeakMap","WeakSet"],Yo=["bigint","boolean","null","number","string","symbol","undefined"];Vo=["innerHTML","ownerDocument","style","attributes","nodeValue"];I.array=Array.isArray;I.arrayOf=(e,t)=>!I.array(e)&&!I.function(t)?!1:e.every(n=>t(n));I.asyncGeneratorFunction=e=>Rt(e)==="AsyncGeneratorFunction";I.asyncFunction=de("AsyncFunction");I.bigint=Ye("bigint");I.boolean=e=>e===!0||e===!1;I.date=de("Date");I.defined=e=>!I.undefined(e);I.domElement=e=>I.object(e)&&!I.plainObject(e)&&e.nodeType===1&&I.string(e.nodeName)&&Vo.every(t=>t in e);I.empty=e=>I.string(e)&&e.length===0||I.array(e)&&e.length===0||I.object(e)&&!I.map(e)&&!I.set(e)&&Object.keys(e).length===0||I.set(e)&&e.size===0||I.map(e)&&e.size===0;I.error=de("Error");I.function=Ye("function");I.generator=e=>I.iterable(e)&&I.function(e.next)&&I.function(e.throw);I.generatorFunction=de("GeneratorFunction");I.instanceOf=(e,t)=>!e||!t?!1:Object.getPrototypeOf(e)===t.prototype;I.iterable=e=>!I.nullOrUndefined(e)&&I.function(e[Symbol.iterator]);I.map=de("Map");I.nan=e=>Number.isNaN(e);I.null=e=>e===null;I.nullOrUndefined=e=>I.null(e)||I.undefined(e);I.number=e=>Ye("number")(e)&&!I.nan(e);I.numericString=e=>I.string(e)&&e.length>0&&!Number.isNaN(Number(e));I.object=e=>!I.nullOrUndefined(e)&&(I.function(e)||typeof e=="object");I.oneOf=(e,t)=>I.array(e)?e.indexOf(t)>-1:!1;I.plainFunction=de("Function");I.plainObject=e=>{if(Rt(e)!=="Object")return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.getPrototypeOf({})};I.primitive=e=>I.null(e)||$o(typeof e);I.promise=de("Promise");I.propertyOf=(e,t,n)=>{if(!I.object(e)||!t)return!1;let r=e[t];return I.function(n)?n(r):I.defined(r)};I.regexp=de("RegExp");I.set=de("Set");I.string=Ye("string");I.symbol=Ye("symbol");I.undefined=Ye("undefined");I.weakMap=de("WeakMap");I.weakSet=de("WeakSet");C=I;Qo=De(go(),1),Ir=De(bo(),1),vt=De($t(),1),Et=De($t(),1),S=De(wo()),it=typeof window<"u"&&typeof document<"u"&&typeof navigator<"u",Zo=function(){for(var e=["Edge","Trident","Firefox"],t=0;t=0)return 1;return 0}();ni=it&&window.Promise,ri=ni?ei:ti;Vn=it&&!!(window.MSInputMethodContext&&document.documentMode),Kn=it&&/MSIE 10/.test(navigator.userAgent);ai=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},si=function(){function e(t,n){for(var r=0;r2&&arguments[2]!==void 0?arguments[2]:{};ai(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=ri(this.update.bind(this)),this.options=se({},e.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(se({},e.Defaults.modifiers,o.modifiers)).forEach(function(a){r.options.modifiers[a]=se({},e.Defaults.modifiers[a]||{},o.modifiers?o.modifiers[a]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(a){return se({name:a},r.options.modifiers[a])}).sort(function(a,s){return a.order-s.order}),this.modifiers.forEach(function(a){a.enabled&&Rr(a.onLoad)&&a.onLoad(r.reference,r.popper,r.options,a,r.state)}),this.update();var i=this.options.eventsEnabled;i&&this.enableEventListeners(),this.state.eventsEnabled=i}return si(e,[{key:"update",value:function(){return pi.call(this)}},{key:"destroy",value:function(){return di.call(this)}},{key:"enableEventListeners",value:function(){return hi.call(this)}},{key:"disableEventListeners",value:function(){return yi.call(this)}}]),e}();Ct.Utils=window.PopperUtils;Ct.placements=Wr;Ct.Defaults=Mi;Zn=Ct,Gt=De($t()),ji=["innerHTML","ownerDocument","style","attributes","nodeValue"],Di=["Array","ArrayBuffer","AsyncFunction","AsyncGenerator","AsyncGeneratorFunction","Date","Error","Function","Generator","GeneratorFunction","HTMLElement","Map","Object","Promise","RegExp","Set","WeakMap","WeakSet"],Fi=["bigint","boolean","null","number","string","symbol","undefined"];R.array=Array.isArray;R.arrayOf=function(e,t){return!R.array(e)&&!R.function(t)?!1:e.every(function(n){return t(n)})};R.asyncGeneratorFunction=function(e){return Pt(e)==="AsyncGeneratorFunction"};R.asyncFunction=fe("AsyncFunction");R.bigint=$e("bigint");R.boolean=function(e){return e===!0||e===!1};R.date=fe("Date");R.defined=function(e){return!R.undefined(e)};R.domElement=function(e){return R.object(e)&&!R.plainObject(e)&&e.nodeType===1&&R.string(e.nodeName)&&ji.every(function(t){return t in e})};R.empty=function(e){return R.string(e)&&e.length===0||R.array(e)&&e.length===0||R.object(e)&&!R.map(e)&&!R.set(e)&&Object.keys(e).length===0||R.set(e)&&e.size===0||R.map(e)&&e.size===0};R.error=fe("Error");R.function=$e("function");R.generator=function(e){return R.iterable(e)&&R.function(e.next)&&R.function(e.throw)};R.generatorFunction=fe("GeneratorFunction");R.instanceOf=function(e,t){return!e||!t?!1:Object.getPrototypeOf(e)===t.prototype};R.iterable=function(e){return!R.nullOrUndefined(e)&&R.function(e[Symbol.iterator])};R.map=fe("Map");R.nan=function(e){return Number.isNaN(e)};R.null=function(e){return e===null};R.nullOrUndefined=function(e){return R.null(e)||R.undefined(e)};R.number=function(e){return $e("number")(e)&&!R.nan(e)};R.numericString=function(e){return R.string(e)&&e.length>0&&!Number.isNaN(Number(e))};R.object=function(e){return!R.nullOrUndefined(e)&&(R.function(e)||typeof e=="object")};R.oneOf=function(e,t){return R.array(e)?e.indexOf(t)>-1:!1};R.plainFunction=fe("Function");R.plainObject=function(e){if(Pt(e)!=="Object")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.getPrototypeOf({})};R.primitive=function(e){return R.null(e)||Wi(typeof e)};R.promise=fe("Promise");R.propertyOf=function(e,t,n){if(!R.object(e)||!t)return!1;var r=e[t];return R.function(n)?n(r):R.defined(r)};R.regexp=fe("RegExp");R.set=fe("Set");R.string=$e("string");R.symbol=$e("symbol");R.undefined=$e("undefined");R.weakMap=fe("WeakMap");R.weakSet=fe("WeakSet");A=R;Ui=Ur("function"),Hi=function(e){return e===null},er=function(e){return Object.prototype.toString.call(e).slice(8,-1)==="RegExp"},tr=function(e){return!zi(e)&&!Hi(e)&&(Ui(e)||typeof e=="object")},zi=Ur("undefined"),Yt=function(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};na={flip:{padding:20},preventOverflow:{padding:10}},ra="The typeValidator argument must be a function with the signature function(props, propName, componentName).",oa="The error message is optional, but must be a string if provided.";U={INIT:"init",IDLE:"idle",OPENING:"opening",OPEN:"open",CLOSING:"closing",ERROR:"error"},et=Me.createPortal!==void 0;Yr=function(e){ut(n,e);var t=pt(n);function n(){return lt(this,n),t.apply(this,arguments)}return ct(n,[{key:"componentDidMount",value:function(){ve()&&(this.node||this.appendNode(),et||this.renderPortal())}},{key:"componentDidUpdate",value:function(){ve()&&(et||this.renderPortal())}},{key:"componentWillUnmount",value:function(){!ve()||!this.node||(et||Me.unmountComponentAtNode(this.node),this.node&&this.node.parentNode===document.body&&(document.body.removeChild(this.node),this.node=void 0))}},{key:"appendNode",value:function(){var r=this.props,o=r.id,i=r.zIndex;this.node||(this.node=document.createElement("div"),o&&(this.node.id=o),i&&(this.node.style.zIndex=i),document.body.appendChild(this.node))}},{key:"renderPortal",value:function(){if(!ve())return null;var r=this.props,o=r.children,i=r.setRef;if(this.node||this.appendNode(),et)return Me.createPortal(o,this.node);var a=Me.unstable_renderSubtreeIntoContainer(this,o.length>1?y.createElement("div",null,o):o[0],this.node);return i(a),null}},{key:"renderReact16",value:function(){var r=this.props,o=r.hasChildren,i=r.placement,a=r.target;return o?this.renderPortal():a||i==="center"?this.renderPortal():null}},{key:"render",value:function(){return et?this.renderReact16():null}}]),n}(y.Component);re(Yr,"propTypes",{children:S.default.oneOfType([S.default.element,S.default.array]),hasChildren:S.default.bool,id:S.default.oneOfType([S.default.string,S.default.number]),placement:S.default.string,setRef:S.default.func.isRequired,target:S.default.oneOfType([S.default.object,S.default.string]),zIndex:S.default.number});qr=function(e){ut(n,e);var t=pt(n);function n(){return lt(this,n),t.apply(this,arguments)}return ct(n,[{key:"parentStyle",get:function(){var r=this.props,o=r.placement,i=r.styles,a=i.arrow.length,s={pointerEvents:"none",position:"absolute",width:"100%"};return o.startsWith("top")?(s.bottom=0,s.left=0,s.right=0,s.height=a):o.startsWith("bottom")?(s.left=0,s.right=0,s.top=0,s.height=a):o.startsWith("left")?(s.right=0,s.top=0,s.bottom=0):o.startsWith("right")&&(s.left=0,s.top=0),s}},{key:"render",value:function(){var r=this.props,o=r.placement,i=r.setArrowRef,a=r.styles,s=a.arrow,c=s.color,l=s.display,p=s.length,u=s.margin,d=s.position,f=s.spread,h={display:l,position:d},b,N=f,v=p;return o.startsWith("top")?(b="0,0 ".concat(N/2,",").concat(v," ").concat(N,",0"),h.bottom=0,h.marginLeft=u,h.marginRight=u):o.startsWith("bottom")?(b="".concat(N,",").concat(v," ").concat(N/2,",0 0,").concat(v),h.top=0,h.marginLeft=u,h.marginRight=u):o.startsWith("left")?(v=f,N=p,b="0,0 ".concat(N,",").concat(v/2," 0,").concat(v),h.right=0,h.marginTop=u,h.marginBottom=u):o.startsWith("right")&&(v=f,N=p,b="".concat(N,",").concat(v," ").concat(N,",0 0,").concat(v/2),h.left=0,h.marginTop=u,h.marginBottom=u),y.createElement("div",{className:"__floater__arrow",style:this.parentStyle},y.createElement("span",{ref:i,style:h},y.createElement("svg",{width:N,height:v,version:"1.1",xmlns:"http://www.w3.org/2000/svg"},y.createElement("polygon",{points:b,fill:c}))))}}]),n}(y.Component);re(qr,"propTypes",{placement:S.default.string.isRequired,setArrowRef:S.default.func.isRequired,styles:S.default.object.isRequired});da=["color","height","width"];$r.propTypes={handleClick:S.default.func.isRequired,styles:S.default.object.isRequired};Vr.propTypes={content:S.default.node.isRequired,footer:S.default.node,handleClick:S.default.func.isRequired,open:S.default.bool,positionWrapper:S.default.bool.isRequired,showCloseButton:S.default.bool.isRequired,styles:S.default.object.isRequired,title:S.default.node};Kr=function(e){ut(n,e);var t=pt(n);function n(){return lt(this,n),t.apply(this,arguments)}return ct(n,[{key:"style",get:function(){var r=this.props,o=r.disableAnimation,i=r.component,a=r.placement,s=r.hideArrow,c=r.status,l=r.styles,p=l.arrow.length,u=l.floater,d=l.floaterCentered,f=l.floaterClosing,h=l.floaterOpening,b=l.floaterWithAnimation,N=l.floaterWithComponent,v={};return s||(a.startsWith("top")?v.padding="0 0 ".concat(p,"px"):a.startsWith("bottom")?v.padding="".concat(p,"px 0 0"):a.startsWith("left")?v.padding="0 ".concat(p,"px 0 0"):a.startsWith("right")&&(v.padding="0 0 0 ".concat(p,"px"))),[U.OPENING,U.OPEN].indexOf(c)!==-1&&(v=J(J({},v),h)),c===U.CLOSING&&(v=J(J({},v),f)),c===U.OPEN&&!o&&(v=J(J({},v),b)),a==="center"&&(v=J(J({},v),d)),i&&(v=J(J({},v),N)),J(J({},u),v)}},{key:"render",value:function(){var r=this.props,o=r.component,i=r.handleClick,a=r.hideArrow,s=r.setFloaterRef,c=r.status,l={},p=["__floater"];return o?y.isValidElement(o)?l.content=y.cloneElement(o,{closeFn:i}):l.content=o({closeFn:i}):l.content=y.createElement(Vr,this.props),c===U.OPEN&&p.push("__floater__open"),a||(l.arrow=y.createElement(qr,this.props)),y.createElement("div",{ref:s,className:p.join(" "),style:this.style},y.createElement("div",{className:"__floater__body"},l.content,l.arrow))}}]),n}(y.Component);re(Kr,"propTypes",{component:S.default.oneOfType([S.default.func,S.default.element]),content:S.default.node,disableAnimation:S.default.bool.isRequired,footer:S.default.node,handleClick:S.default.func.isRequired,hideArrow:S.default.bool.isRequired,open:S.default.bool,placement:S.default.string.isRequired,positionWrapper:S.default.bool.isRequired,setArrowRef:S.default.func.isRequired,setFloaterRef:S.default.func.isRequired,showCloseButton:S.default.bool,status:S.default.string.isRequired,styles:S.default.object.isRequired,title:S.default.node});Jr=function(e){ut(n,e);var t=pt(n);function n(){return lt(this,n),t.apply(this,arguments)}return ct(n,[{key:"render",value:function(){var r=this.props,o=r.children,i=r.handleClick,a=r.handleMouseEnter,s=r.handleMouseLeave,c=r.setChildRef,l=r.setWrapperRef,p=r.style,u=r.styles,d;if(o)if(y.Children.count(o)===1)if(!y.isValidElement(o))d=y.createElement("span",null,o);else{var f=A.function(o.type)?"innerRef":"ref";d=y.cloneElement(y.Children.only(o),re({},f,c))}else d=o;return d?y.createElement("span",{ref:l,style:J(J({},u),p),onClick:i,onMouseEnter:a,onMouseLeave:s},d):null}}]),n}(y.Component);re(Jr,"propTypes",{children:S.default.node,handleClick:S.default.func.isRequired,handleMouseEnter:S.default.func.isRequired,handleMouseLeave:S.default.func.isRequired,setChildRef:S.default.func.isRequired,setWrapperRef:S.default.func.isRequired,style:S.default.object,styles:S.default.object.isRequired});fa={zIndex:100};ma=["arrow","flip","offset"],ya=["position","top","right","bottom","left"],tn=function(e){ut(n,e);var t=pt(n);function n(r){var o;return lt(this,n),o=t.call(this,r),re(we(o),"setArrowRef",function(i){o.arrowRef=i}),re(we(o),"setChildRef",function(i){o.childRef=i}),re(we(o),"setFloaterRef",function(i){o.floaterRef=i}),re(we(o),"setWrapperRef",function(i){o.wrapperRef=i}),re(we(o),"handleTransitionEnd",function(){var i=o.state.status,a=o.props.callback;o.wrapperPopper&&o.wrapperPopper.instance.update(),o.setState({status:i===U.OPENING?U.OPEN:U.IDLE},function(){var s=o.state.status;a(s===U.OPEN?"open":"close",o.props)})}),re(we(o),"handleClick",function(){var i=o.props,a=i.event,s=i.open;if(!A.boolean(s)){var c=o.state,l=c.positionWrapper,p=c.status;(o.event==="click"||o.event==="hover"&&l)&&(St({title:"click",data:[{event:a,status:p===U.OPEN?"closing":"opening"}],debug:o.debug}),o.toggle())}}),re(we(o),"handleMouseEnter",function(){var i=o.props,a=i.event,s=i.open;if(!(A.boolean(s)||Wt())){var c=o.state.status;o.event==="hover"&&c===U.IDLE&&(St({title:"mouseEnter",data:[{key:"originalEvent",value:a}],debug:o.debug}),clearTimeout(o.eventDelayTimeout),o.toggle())}}),re(we(o),"handleMouseLeave",function(){var i=o.props,a=i.event,s=i.eventDelay,c=i.open;if(!(A.boolean(c)||Wt())){var l=o.state,p=l.status,u=l.positionWrapper;o.event==="hover"&&(St({title:"mouseLeave",data:[{key:"originalEvent",value:a}],debug:o.debug}),s?[U.OPENING,U.OPEN].indexOf(p)!==-1&&!u&&!o.eventDelayTimeout&&(o.eventDelayTimeout=setTimeout(function(){delete o.eventDelayTimeout,o.toggle()},s*1e3)):o.toggle(U.IDLE))}}),o.state={currentPlacement:r.placement,needsUpdate:!1,positionWrapper:r.wrapperOptions.position&&!!r.target,status:U.INIT,statusWrapper:U.INIT},o._isMounted=!1,o.hasMounted=!1,ve()&&window.addEventListener("load",function(){o.popper&&o.popper.instance.update(),o.wrapperPopper&&o.wrapperPopper.instance.update()}),o}return ct(n,[{key:"componentDidMount",value:function(){if(ve()){var r=this.state.positionWrapper,o=this.props,i=o.children,a=o.open,s=o.target;this._isMounted=!0,St({title:"init",data:{hasChildren:!!i,hasTarget:!!s,isControlled:A.boolean(a),positionWrapper:r,target:this.target,floater:this.floaterRef},debug:this.debug}),this.hasMounted||(this.initPopper(),this.hasMounted=!0),!i&&s&&A.boolean(a)}}},{key:"componentDidUpdate",value:function(r,o){if(ve()){var i=this.props,a=i.autoOpen,s=i.open,c=i.target,l=i.wrapperOptions,p=Xi(o,this.state),u=p.changedFrom,d=p.changed;if(r.open!==s){var f;A.boolean(s)&&(f=s?U.OPENING:U.CLOSING),this.toggle(f)}(r.wrapperOptions.position!==l.position||r.target!==c)&&this.changeWrapperPosition(this.props),d("status",U.IDLE)&&s?this.toggle(U.OPEN):u("status",U.INIT,U.IDLE)&&a&&this.toggle(U.OPEN),this.popper&&d("status",U.OPENING)&&this.popper.instance.update(),this.floaterRef&&(d("status",U.OPENING)||d("status",U.CLOSING))&&pa(this.floaterRef,"transitionend",this.handleTransitionEnd),d("needsUpdate",!0)&&this.rebuildPopper()}}},{key:"componentWillUnmount",value:function(){ve()&&(this._isMounted=!1,this.popper&&this.popper.instance.destroy(),this.wrapperPopper&&this.wrapperPopper.instance.destroy())}},{key:"initPopper",value:function(){var r=this,o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.target,i=this.state.positionWrapper,a=this.props,s=a.disableFlip,c=a.getPopper,l=a.hideArrow,p=a.offset,u=a.placement,d=a.wrapperOptions,f=u==="top"||u==="bottom"?"flip":["right","bottom-end","top-end","left","top-start","bottom-start"];if(u==="center")this.setState({status:U.IDLE});else if(o&&this.floaterRef){var h=this.options,b=h.arrow,N=h.flip,v=h.offset,T=zr(h,ma);new Zn(o,this.floaterRef,{placement:u,modifiers:J({arrow:J({enabled:!l,element:this.arrowRef},b),flip:J({enabled:!s,behavior:f},N),offset:J({offset:"0, ".concat(p,"px")},v)},T),onCreate:function(g){var O;if(r.popper=g,!((O=r.floaterRef)!==null&&O!==void 0&&O.isConnected)){r.setState({needsUpdate:!0});return}c(g,"floater"),r._isMounted&&r.setState({currentPlacement:g.placement,status:U.IDLE}),u!==g.placement&&setTimeout(function(){g.instance.update()},1)},onUpdate:function(g){r.popper=g;var O=r.state.currentPlacement;r._isMounted&&g.placement!==O&&r.setState({currentPlacement:g.placement})}})}if(i){var m=A.undefined(d.offset)?0:d.offset;new Zn(this.target,this.wrapperRef,{placement:d.placement||u,modifiers:{arrow:{enabled:!1},offset:{offset:"0, ".concat(m,"px")},flip:{enabled:!1}},onCreate:function(g){r.wrapperPopper=g,r._isMounted&&r.setState({statusWrapper:U.IDLE}),c(g,"wrapper"),u!==g.placement&&setTimeout(function(){g.instance.update()},1)}})}}},{key:"rebuildPopper",value:function(){var r=this;this.floaterRefInterval=setInterval(function(){var o;(o=r.floaterRef)!==null&&o!==void 0&&o.isConnected&&(clearInterval(r.floaterRefInterval),r.setState({needsUpdate:!1}),r.initPopper())},50)}},{key:"changeWrapperPosition",value:function(r){var o=r.target,i=r.wrapperOptions;this.setState({positionWrapper:i.position&&!!o})}},{key:"toggle",value:function(r){var o=this.state.status,i=o===U.OPEN?U.CLOSING:U.OPENING;A.undefined(r)||(i=r),this.setState({status:i})}},{key:"debug",get:function(){var r=this.props.debug;return r||ve()&&"ReactFloaterDebug"in window&&!!window.ReactFloaterDebug}},{key:"event",get:function(){var r=this.props,o=r.disableHoverToClick,i=r.event;return i==="hover"&&Wt()&&!o?"click":i}},{key:"options",get:function(){var r=this.props.options;return(0,Gt.default)(na,r||{})}},{key:"styles",get:function(){var r=this,o=this.state,i=o.status,a=o.positionWrapper,s=o.statusWrapper,c=this.props.styles,l=(0,Gt.default)(ha(c),c);if(a){var p;[U.IDLE].indexOf(i)===-1||[U.IDLE].indexOf(s)===-1?p=l.wrapperPosition:p=this.wrapperPopper.styles,l.wrapper=J(J({},l.wrapper),p)}if(this.target){var u=window.getComputedStyle(this.target);this.wrapperStyles?l.wrapper=J(J({},l.wrapper),this.wrapperStyles):["relative","static"].indexOf(u.position)===-1&&(this.wrapperStyles={},a||(ya.forEach(function(d){r.wrapperStyles[d]=u[d]}),l.wrapper=J(J({},l.wrapper),this.wrapperStyles),this.target.style.position="relative",this.target.style.top="auto",this.target.style.right="auto",this.target.style.bottom="auto",this.target.style.left="auto"))}return l}},{key:"target",get:function(){if(!ve())return null;var r=this.props.target;return r?A.domElement(r)?r:document.querySelector(r):this.childRef||this.wrapperRef}},{key:"render",value:function(){var r=this.state,o=r.currentPlacement,i=r.positionWrapper,a=r.status,s=this.props,c=s.children,l=s.component,p=s.content,u=s.disableAnimation,d=s.footer,f=s.hideArrow,h=s.id,b=s.open,N=s.showCloseButton,v=s.style,T=s.target,m=s.title,g=y.createElement(Jr,{handleClick:this.handleClick,handleMouseEnter:this.handleMouseEnter,handleMouseLeave:this.handleMouseLeave,setChildRef:this.setChildRef,setWrapperRef:this.setWrapperRef,style:v,styles:this.styles.wrapper},c),O={};return i?O.wrapperInPortal=g:O.wrapperAsChildren=g,y.createElement("span",null,y.createElement(Yr,{hasChildren:!!c,id:h,placement:o,setRef:this.setFloaterRef,target:T,zIndex:this.styles.options.zIndex},y.createElement(Kr,{component:l,content:p,disableAnimation:u,footer:d,handleClick:this.handleClick,hideArrow:f||o==="center",open:b,placement:o,positionWrapper:i,setArrowRef:this.setArrowRef,setFloaterRef:this.setFloaterRef,showCloseButton:N,status:a,styles:this.styles,title:m}),O.wrapperInPortal),O.wrapperAsChildren)}}]),n}(y.Component);re(tn,"propTypes",{autoOpen:S.default.bool,callback:S.default.func,children:S.default.node,component:cr(S.default.oneOfType([S.default.func,S.default.element]),function(e){return!e.content}),content:cr(S.default.node,function(e){return!e.component}),debug:S.default.bool,disableAnimation:S.default.bool,disableFlip:S.default.bool,disableHoverToClick:S.default.bool,event:S.default.oneOf(["hover","click"]),eventDelay:S.default.number,footer:S.default.node,getPopper:S.default.func,hideArrow:S.default.bool,id:S.default.oneOfType([S.default.string,S.default.number]),offset:S.default.number,open:S.default.bool,options:S.default.object,placement:S.default.oneOf(["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end","auto","center"]),showCloseButton:S.default.bool,style:S.default.object,styles:S.default.object,target:S.default.oneOfType([S.default.object,S.default.string]),title:S.default.node,wrapperOptions:S.default.shape({offset:S.default.number,placement:S.default.oneOf(["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end","auto"]),position:S.default.bool})});re(tn,"defaultProps",{autoOpen:!1,callback:ur,debug:!1,disableAnimation:!1,disableFlip:!1,disableHoverToClick:!1,event:"click",eventDelay:.4,getPopper:ur,hideArrow:!1,offset:15,placement:"bottom",showCloseButton:!1,styles:{},target:null,wrapperOptions:{position:!1}});ga=De(To(),1),ba=Object.defineProperty,va=(e,t,n)=>t in e?ba(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,_=(e,t,n)=>(va(e,typeof t!="symbol"?t+"":t,n),n),$={INIT:"init",START:"start",STOP:"stop",RESET:"reset",PREV:"prev",NEXT:"next",GO:"go",CLOSE:"close",SKIP:"skip",UPDATE:"update"},pe={TOUR_START:"tour:start",STEP_BEFORE:"step:before",BEACON:"beacon",TOOLTIP:"tooltip",STEP_AFTER:"step:after",TOUR_END:"tour:end",TOUR_STATUS:"tour:status",TARGET_NOT_FOUND:"error:target_not_found",ERROR:"error"},k={INIT:"init",READY:"ready",BEACON:"beacon",TOOLTIP:"tooltip",COMPLETE:"complete",ERROR:"error"},j={IDLE:"idle",READY:"ready",WAITING:"waiting",RUNNING:"running",PAUSED:"paused",SKIPPED:"skipped",FINISHED:"finished",ERROR:"error"};tt=mt!==void 0;Na={options:{preventOverflow:{boundariesElement:"scrollParent"}},wrapperOptions:{offset:-18,position:!0}},eo={back:"Back",close:"Close",last:"Last",next:"Next",open:"Open the dialog",skip:"Skip"},ka={event:"click",placement:"bottom",offset:10,disableBeacon:!1,disableCloseOnEsc:!1,disableOverlay:!1,disableOverlayClose:!1,disableScrollParentFix:!1,disableScrolling:!1,hideBackButton:!1,hideCloseButton:!1,hideFooter:!1,isFixed:!1,locale:eo,showProgress:!1,showSkipButton:!1,spotlightClicks:!1,spotlightPadding:10},La={continuous:!1,debug:!1,disableCloseOnEsc:!1,disableOverlay:!1,disableOverlayClose:!1,disableScrolling:!1,disableScrollParentFix:!1,getHelpers:void 0,hideBackButton:!1,run:!0,scrollOffset:20,scrollDuration:300,scrollToFirstStep:!1,showSkipButton:!1,showProgress:!1,spotlightClicks:!1,spotlightPadding:10,steps:[]},Ma={arrowColor:"#fff",backgroundColor:"#fff",beaconSize:36,overlayColor:"rgba(0, 0, 0, 0.5)",primaryColor:"#f04",spotlightShadow:"0 0 15px rgba(0, 0, 0, 0.5)",textColor:"#333",width:380,zIndex:100},nt={backgroundColor:"transparent",border:0,borderRadius:0,color:"#555",cursor:"pointer",fontSize:16,lineHeight:1,padding:8,WebkitAppearance:"none"},fr={borderRadius:4,position:"absolute"};no={action:"init",controlled:!1,index:0,lifecycle:k.INIT,origin:null,size:0,status:j.IDLE},mr=_a(Zr(no,"controlled","size")),Fa=class{constructor(e){_(this,"beaconPopper"),_(this,"tooltipPopper"),_(this,"data",new Map),_(this,"listener"),_(this,"store",new Map),_(this,"addListener",o=>{this.listener=o}),_(this,"setSteps",o=>{let{size:i,status:a}=this.getState(),s={size:o.length,status:a};this.data.set("steps",o),a===j.WAITING&&!i&&o.length&&(s.status=j.RUNNING),this.setState(s)}),_(this,"getPopper",o=>o==="beacon"?this.beaconPopper:this.tooltipPopper),_(this,"setPopper",(o,i)=>{o==="beacon"?this.beaconPopper=i:this.tooltipPopper=i}),_(this,"cleanupPoppers",()=>{this.beaconPopper=null,this.tooltipPopper=null}),_(this,"close",(o=null)=>{let{index:i,status:a}=this.getState();a===j.RUNNING&&this.setState({...this.getNextState({action:$.CLOSE,index:i+1,origin:o})})}),_(this,"go",o=>{let{controlled:i,status:a}=this.getState();if(i||a!==j.RUNNING)return;let s=this.getSteps()[o];this.setState({...this.getNextState({action:$.GO,index:o}),status:s?a:j.FINISHED})}),_(this,"info",()=>this.getState()),_(this,"next",()=>{let{index:o,status:i}=this.getState();i===j.RUNNING&&this.setState(this.getNextState({action:$.NEXT,index:o+1}))}),_(this,"open",()=>{let{status:o}=this.getState();o===j.RUNNING&&this.setState({...this.getNextState({action:$.UPDATE,lifecycle:k.TOOLTIP})})}),_(this,"prev",()=>{let{index:o,status:i}=this.getState();i===j.RUNNING&&this.setState({...this.getNextState({action:$.PREV,index:o-1})})}),_(this,"reset",(o=!1)=>{let{controlled:i}=this.getState();i||this.setState({...this.getNextState({action:$.RESET,index:0}),status:o?j.RUNNING:j.READY})}),_(this,"skip",()=>{let{status:o}=this.getState();o===j.RUNNING&&this.setState({action:$.SKIP,lifecycle:k.INIT,status:j.SKIPPED})}),_(this,"start",o=>{let{index:i,size:a}=this.getState();this.setState({...this.getNextState({action:$.START,index:C.number(o)?o:i},!0),status:a?j.RUNNING:j.WAITING})}),_(this,"stop",(o=!1)=>{let{index:i,status:a}=this.getState();[j.FINISHED,j.SKIPPED].includes(a)||this.setState({...this.getNextState({action:$.STOP,index:i+(o?1:0)}),status:j.PAUSED})}),_(this,"update",o=>{var i,a;if(!Ca(o,mr))throw new Error(`State is not valid. Valid keys: ${mr.join(", ")}`);this.setState({...this.getNextState({...this.getState(),...o,action:(i=o.action)!=null?i:$.UPDATE,origin:(a=o.origin)!=null?a:null},!0)})});let{continuous:t=!1,stepIndex:n,steps:r=[]}=e??{};this.setState({action:$.INIT,controlled:C.number(n),continuous:t,index:C.number(n)?n:0,lifecycle:k.INIT,origin:null,status:r.length?j.READY:j.IDLE},!0),this.beaconPopper=null,this.tooltipPopper=null,this.listener=null,this.setSteps(r)}getState(){return this.store.size?{action:this.store.get("action")||"",controlled:this.store.get("controlled")||!1,index:parseInt(this.store.get("index"),10),lifecycle:this.store.get("lifecycle")||"",origin:this.store.get("origin")||null,size:this.store.get("size")||0,status:this.store.get("status")||""}:{...no}}getNextState(e,t=!1){var n,r,o,i,a;let{action:s,controlled:c,index:l,size:p,status:u}=this.getState(),d=C.number(e.index)?e.index:l,f=c&&!t?l:Math.min(Math.max(d,0),p);return{action:(n=e.action)!=null?n:s,controlled:c,index:f,lifecycle:(r=e.lifecycle)!=null?r:k.INIT,origin:(o=e.origin)!=null?o:null,size:(i=e.size)!=null?i:p,status:f===p?j.FINISHED:(a=e.status)!=null?a:u}}getSteps(){let e=this.data.get("steps");return Array.isArray(e)?e:[]}hasUpdatedState(e){let t=JSON.stringify(e),n=JSON.stringify(this.getState());return t!==n}setState(e,t=!1){let n=this.getState(),{action:r,index:o,lifecycle:i,origin:a=null,size:s,status:c}={...n,...e};this.store.set("action",r),this.store.set("index",o),this.store.set("lifecycle",i),this.store.set("origin",a),this.store.set("size",s),this.store.set("status",c),t&&(this.store.set("controlled",e.controlled),this.store.set("continuous",e.continuous)),this.listener&&this.hasUpdatedState(n)&&this.listener(this.getState())}getHelpers(){return{close:this.close,go:this.go,info:this.info,next:this.next,open:this.open,prev:this.prev,reset:this.reset,skip:this.skip}}};Ua=Wa,Ha=class extends Le{constructor(){super(...arguments),_(this,"isActive",!1),_(this,"resizeTimeout"),_(this,"scrollTimeout"),_(this,"scrollParent"),_(this,"state",{isScrolling:!1,mouseOverSpotlight:!1,showSpotlight:!0}),_(this,"hideSpotlight",()=>{let{continuous:e,disableOverlay:t,lifecycle:n}=this.props,r=[k.BEACON,k.COMPLETE,k.ERROR];return t||(e?r.includes(n):n!==k.TOOLTIP)}),_(this,"handleMouseMove",e=>{let{mouseOverSpotlight:t}=this.state,{height:n,left:r,position:o,top:i,width:a}=this.spotlightStyles,s=o==="fixed"?e.clientY:e.pageY,c=o==="fixed"?e.clientX:e.pageX,l=s>=i&&s<=i+n,p=c>=r&&c<=r+a&&l;p!==t&&this.updateState({mouseOverSpotlight:p})}),_(this,"handleScroll",()=>{let{target:e}=this.props,t=_e(e);if(this.scrollParent!==document){let{isScrolling:n}=this.state;n||this.updateState({isScrolling:!0,showSpotlight:!1}),clearTimeout(this.scrollTimeout),this.scrollTimeout=window.setTimeout(()=>{this.updateState({isScrolling:!1,showSpotlight:!0})},50)}else ot(t,"sticky")&&this.updateState({})}),_(this,"handleResize",()=>{clearTimeout(this.resizeTimeout),this.resizeTimeout=window.setTimeout(()=>{this.isActive&&this.forceUpdate()},100)})}componentDidMount(){let{debug:e,disableScrolling:t,disableScrollParentFix:n=!1,target:r}=this.props,o=_e(r);this.scrollParent=_t(o??document.body,n,!0),this.isActive=!0,!t&&dt(o,!0)&&Ae({title:"step has a custom scroll parent and can cause trouble with scrolling",data:[{key:"parent",value:this.scrollParent}],debug:e}),window.addEventListener("resize",this.handleResize)}componentDidUpdate(e){var t;let{lifecycle:n,spotlightClicks:r}=this.props,{changed:o}=Ot(e,this.props);o("lifecycle",k.TOOLTIP)&&((t=this.scrollParent)==null||t.addEventListener("scroll",this.handleScroll,{passive:!0}),setTimeout(()=>{let{isScrolling:i}=this.state;i||this.updateState({showSpotlight:!0})},100)),(o("spotlightClicks")||o("disableOverlay")||o("lifecycle"))&&(r&&n===k.TOOLTIP?window.addEventListener("mousemove",this.handleMouseMove,!1):n!==k.TOOLTIP&&window.removeEventListener("mousemove",this.handleMouseMove))}componentWillUnmount(){var e;this.isActive=!1,window.removeEventListener("mousemove",this.handleMouseMove),window.removeEventListener("resize",this.handleResize),clearTimeout(this.resizeTimeout),clearTimeout(this.scrollTimeout),(e=this.scrollParent)==null||e.removeEventListener("scroll",this.handleScroll)}get overlayStyles(){let{mouseOverSpotlight:e}=this.state,{disableOverlayClose:t,placement:n,styles:r}=this.props,o=r.overlay;return dr()&&(o=n==="center"?r.overlayLegacyCenter:r.overlayLegacy),{cursor:t?"default":"pointer",height:Ea(),pointerEvents:e?"none":"auto",...o}}get spotlightStyles(){var e,t,n;let{showSpotlight:r}=this.state,{disableScrollParentFix:o=!1,spotlightClicks:i,spotlightPadding:a=0,styles:s,target:c}=this.props,l=_e(c),p=Xr(l),u=ot(l),d=Ta(l,a,o);return{...dr()?s.spotlightLegacy:s.spotlight,height:Math.round(((e=p?.height)!=null?e:0)+a*2),left:Math.round(((t=p?.left)!=null?t:0)-a),opacity:r?1:0,pointerEvents:i?"none":"auto",position:u?"fixed":"absolute",top:d,transition:"opacity 0.2s",width:Math.round(((n=p?.width)!=null?n:0)+a*2)}}updateState(e){this.isActive&&this.setState(t=>({...t,...e}))}render(){let{showSpotlight:e}=this.state,{onClickOverlay:t,placement:n}=this.props,{hideSpotlight:r,overlayStyles:o,spotlightStyles:i}=this;if(r())return null;let a=n!=="center"&&e&&q(Ua,{styles:i});if(Qr()==="safari"){let{mixBlendMode:s,zIndex:c,...l}=o;a=q("div",{style:{...l}},a),delete o.backgroundColor}return q("div",{className:"react-joyride__overlay","data-test-id":"overlay",onClick:t,role:"presentation",style:o},a)}},za=class extends Le{constructor(){super(...arguments),_(this,"node",null)}componentDidMount(){let{id:e}=this.props;Ce()&&(this.node=document.createElement("div"),this.node.id=e,document.body.appendChild(this.node),tt||this.renderReact15())}componentDidUpdate(){Ce()&&(tt||this.renderReact15())}componentWillUnmount(){!Ce()||!this.node||(tt||ln(this.node),this.node.parentNode===document.body&&(document.body.removeChild(this.node),this.node=null))}renderReact15(){if(!Ce())return;let{children:e}=this.props;this.node&&cn(this,e,this.node)}renderReact16(){if(!Ce()||!tt)return null;let{children:e}=this.props;return this.node?mt(e,this.node):null}render(){return tt?this.renderReact16():null}},Ga=class{constructor(e,t){if(_(this,"element"),_(this,"options"),_(this,"canBeTabbed",n=>{let{tabIndex:r}=n;return r===null||r<0?!1:this.canHaveFocus(n)}),_(this,"canHaveFocus",n=>{let r=/input|select|textarea|button|object/,o=n.nodeName.toLowerCase();return(r.test(o)&&!n.getAttribute("disabled")||o==="a"&&!!n.getAttribute("href"))&&this.isVisible(n)}),_(this,"findValidTabElements",()=>[].slice.call(this.element.querySelectorAll("*"),0).filter(this.canBeTabbed)),_(this,"handleKeyDown",n=>{let{code:r="Tab"}=this.options;n.code===r&&this.interceptTab(n)}),_(this,"interceptTab",n=>{n.preventDefault();let r=this.findValidTabElements(),{shiftKey:o}=n;if(!r.length)return;let i=document.activeElement?r.indexOf(document.activeElement):0;i===-1||!o&&i+1===r.length?i=0:o&&i===0?i=r.length-1:i+=o?-1:1,r[i].focus()}),_(this,"isHidden",n=>{let r=n.offsetWidth<=0&&n.offsetHeight<=0,o=window.getComputedStyle(n);return r&&!n.innerHTML?!0:r&&o.getPropertyValue("overflow")!=="visible"||o.getPropertyValue("display")==="none"}),_(this,"isVisible",n=>{let r=n;for(;r;)if(r instanceof HTMLElement){if(r===document.body)break;if(this.isHidden(r))return!1;r=r.parentNode}return!0}),_(this,"removeScope",()=>{window.removeEventListener("keydown",this.handleKeyDown)}),_(this,"checkFocus",n=>{document.activeElement!==n&&(n.focus(),window.requestAnimationFrame(()=>this.checkFocus(n)))}),_(this,"setFocus",()=>{let{selector:n}=this.options;if(!n)return;let r=this.element.querySelector(n);r&&window.requestAnimationFrame(()=>this.checkFocus(r))}),!(e instanceof HTMLElement))throw new TypeError("Invalid parameter: element must be an HTMLElement");this.element=e,this.options=t,window.addEventListener("keydown",this.handleKeyDown,!1),this.setFocus()}},Ya=class extends Le{constructor(e){if(super(e),_(this,"beacon",null),_(this,"setBeaconRef",r=>{this.beacon=r}),e.beaconComponent)return;let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.id="joyride-beacon-animation",e.nonce&&n.setAttribute("nonce",e.nonce),n.appendChild(document.createTextNode(` + @keyframes joyride-beacon-inner { + 20% { + opacity: 0.9; + } + + 90% { + opacity: 0.7; + } + } + + @keyframes joyride-beacon-outer { + 0% { + transform: scale(1); + } + + 45% { + opacity: 0.7; + transform: scale(0.75); + } + + 100% { + opacity: 0.9; + transform: scale(1); + } + } + `)),t.appendChild(n)}componentDidMount(){let{shouldFocus:e}=this.props;C.domElement(this.beacon)||console.warn("beacon is not a valid DOM element"),setTimeout(()=>{C.domElement(this.beacon)&&e&&this.beacon.focus()},0)}componentWillUnmount(){let e=document.getElementById("joyride-beacon-animation");e?.parentNode&&e.parentNode.removeChild(e)}render(){let{beaconComponent:e,continuous:t,index:n,isLastStep:r,locale:o,onClickOrHover:i,size:a,step:s,styles:c}=this.props,l=C.string(o.open)?o.open:(0,ga.default)(o.open),p={"aria-label":l,onClick:i,onMouseEnter:i,ref:this.setBeaconRef,title:l},u;return e?u=q(e,{continuous:t,index:n,isLastStep:r,size:a,step:s,...p}):u=q("button",{key:"JoyrideBeacon",className:"react-joyride__beacon","data-test-id":"button-beacon",style:c.beacon,type:"button",...p},q("span",{style:c.beaconInner}),q("span",{style:c.beaconOuter})),u}};$a=qa;Ka=Va,Ja=class extends Le{constructor(){super(...arguments),_(this,"handleClickBack",e=>{e.preventDefault();let{helpers:t}=this.props;t.prev()}),_(this,"handleClickClose",e=>{e.preventDefault();let{helpers:t}=this.props;t.close("button_close")}),_(this,"handleClickPrimary",e=>{e.preventDefault();let{continuous:t,helpers:n}=this.props;if(!t){n.close("button_primary");return}n.next()}),_(this,"handleClickSkip",e=>{e.preventDefault();let{helpers:t}=this.props;t.skip()}),_(this,"getElementsProps",()=>{let{continuous:e,isLastStep:t,setTooltipRef:n,step:r}=this.props,o=Pe(r.locale.back),i=Pe(r.locale.close),a=Pe(r.locale.last),s=Pe(r.locale.next),c=Pe(r.locale.skip),l=e?s:i;return t&&(l=a),{backProps:{"aria-label":o,"data-action":"back",onClick:this.handleClickBack,role:"button",title:o},closeProps:{"aria-label":i,"data-action":"close",onClick:this.handleClickClose,role:"button",title:i},primaryProps:{"aria-label":l,"data-action":"primary",onClick:this.handleClickPrimary,role:"button",title:l},skipProps:{"aria-label":c,"data-action":"skip",onClick:this.handleClickSkip,role:"button",title:c},tooltipProps:{"aria-modal":!0,ref:n,role:"alertdialog"}}})}render(){let{continuous:e,index:t,isLastStep:n,setTooltipRef:r,size:o,step:i}=this.props,{beaconComponent:a,tooltipComponent:s,...c}=i,l;if(s){let p={...this.getElementsProps(),continuous:e,index:t,isLastStep:n,size:o,step:c,setTooltipRef:r};l=q(s,{...p})}else l=q(Ka,{...this.getElementsProps(),continuous:e,index:t,isLastStep:n,size:o,step:i});return l}},Xa=class extends Le{constructor(){super(...arguments),_(this,"scope",null),_(this,"tooltip",null),_(this,"handleClickHoverBeacon",e=>{let{step:t,store:n}=this.props;e.type==="mouseenter"&&t.event!=="hover"||n.update({lifecycle:k.TOOLTIP})}),_(this,"setTooltipRef",e=>{this.tooltip=e}),_(this,"setPopper",(e,t)=>{var n;let{action:r,lifecycle:o,step:i,store:a}=this.props;t==="wrapper"?a.setPopper("beacon",e):a.setPopper("tooltip",e),a.getPopper("beacon")&&a.getPopper("tooltip")&&o===k.INIT&&a.update({action:r,lifecycle:k.READY}),(n=i.floaterProps)!=null&&n.getPopper&&i.floaterProps.getPopper(e,t)}),_(this,"renderTooltip",e=>{let{continuous:t,helpers:n,index:r,size:o,step:i}=this.props;return q(Ja,{continuous:t,helpers:n,index:r,isLastStep:r+1===o,setTooltipRef:this.setTooltipRef,size:o,step:i,...e})})}componentDidMount(){let{debug:e,index:t}=this.props;Ae({title:`step:${t}`,data:[{key:"props",value:this.props}],debug:e})}componentDidUpdate(e){var t;let{action:n,callback:r,continuous:o,controlled:i,debug:a,helpers:s,index:c,lifecycle:l,status:p,step:u,store:d}=this.props,{changed:f,changedFrom:h}=Ot(e,this.props),b=s.info(),N=o&&n!==$.CLOSE&&(c>0||n===$.PREV),v=f("action")||f("index")||f("lifecycle")||f("status"),T=h("lifecycle",[k.TOOLTIP,k.INIT],k.INIT),m=f("action",[$.NEXT,$.PREV,$.SKIP,$.CLOSE]),g=i&&c===e.index;if(m&&(T||g)&&r({...b,index:e.index,lifecycle:k.COMPLETE,step:e.step,type:pe.STEP_AFTER}),u.placement==="center"&&p===j.RUNNING&&f("index")&&n!==$.START&&l===k.INIT&&d.update({lifecycle:k.READY}),v){let O=_e(u.target),B=!!O;B&&wa(O)?(h("status",j.READY,j.RUNNING)||h("lifecycle",k.INIT,k.READY))&&r({...b,step:u,type:pe.STEP_BEFORE}):(console.warn(B?"Target not visible":"Target not mounted",u),r({...b,type:pe.TARGET_NOT_FOUND,step:u}),i||d.update({index:c+(n===$.PREV?-1:1)}))}h("lifecycle",k.INIT,k.READY)&&d.update({lifecycle:pr(u)||N?k.TOOLTIP:k.BEACON}),f("index")&&Ae({title:`step:${l}`,data:[{key:"props",value:this.props}],debug:a}),f("lifecycle",k.BEACON)&&r({...b,step:u,type:pe.BEACON}),f("lifecycle",k.TOOLTIP)&&(r({...b,step:u,type:pe.TOOLTIP}),this.tooltip&&(this.scope=new Ga(this.tooltip,{selector:"[data-action=primary]"}),this.scope.setFocus())),h("lifecycle",[k.TOOLTIP,k.INIT],k.INIT)&&((t=this.scope)==null||t.removeScope(),d.cleanupPoppers())}componentWillUnmount(){var e;(e=this.scope)==null||e.removeScope()}get open(){let{lifecycle:e,step:t}=this.props;return pr(t)||e===k.TOOLTIP}render(){let{continuous:e,debug:t,index:n,nonce:r,shouldScroll:o,size:i,step:a}=this.props,s=_e(a.target);return!to(a)||!C.domElement(s)?null:q("div",{key:`JoyrideStep-${n}`,className:"react-joyride__step"},q(tn,{...a.floaterProps,component:this.renderTooltip,debug:t,getPopper:this.setPopper,id:`react-joyride-step-${n}`,open:this.open,placement:a.placement,target:a.target},q(Ya,{beaconComponent:a.beaconComponent,continuous:e,index:n,isLastStep:n+1===i,locale:a.locale,nonce:r,onClickOrHover:this.handleClickHoverBeacon,shouldFocus:o,size:i,step:a,styles:a.styles})))}},ro=class extends Le{constructor(e){super(e),_(this,"helpers"),_(this,"store"),_(this,"callback",a=>{let{callback:s}=this.props;C.function(s)&&s(a)}),_(this,"handleKeyboard",a=>{let{index:s,lifecycle:c}=this.state,{steps:l}=this.props,p=l[s];c===k.TOOLTIP&&a.code==="Escape"&&p&&!p.disableCloseOnEsc&&this.store.close("keyboard")}),_(this,"handleClickOverlay",()=>{let{index:a}=this.state,{steps:s}=this.props;Ue(this.props,s[a]).disableOverlayClose||this.helpers.close("overlay")}),_(this,"syncState",a=>{this.setState(a)});let{debug:t,getHelpers:n,run:r,stepIndex:o}=e;this.store=Ba({...e,controlled:r&&C.number(o)}),this.helpers=this.store.getHelpers();let{addListener:i}=this.store;Ae({title:"init",data:[{key:"props",value:this.props},{key:"state",value:this.state}],debug:t}),i(this.syncState),n&&n(this.helpers),this.state=this.store.getState()}componentDidMount(){if(!Ce())return;let{debug:e,disableCloseOnEsc:t,run:n,steps:r}=this.props,{start:o}=this.store;hr(r,e)&&n&&o(),t||document.body.addEventListener("keydown",this.handleKeyboard,{passive:!0})}componentDidUpdate(e,t){if(!Ce())return;let{action:n,controlled:r,index:o,lifecycle:i,status:a}=this.state,{debug:s,run:c,stepIndex:l,steps:p}=this.props,{stepIndex:u,steps:d}=e,{reset:f,setSteps:h,start:b,stop:N,update:v}=this.store,{changed:T}=Ot(e,this.props),{changed:m,changedFrom:g}=Ot(t,this.state),O=Ue(this.props,p[o]),B=!oe(d,p),P=C.number(l)&&T("stepIndex"),V=_e(O.target);if(B&&(hr(p,s)?h(p):console.warn("Steps are not valid",p)),T("run")&&(c?b(l):N()),P){let te=C.number(u)&&u=0?b:0,r===j.RUNNING&&Ra(b,{element:h,duration:a}).then(()=>{setTimeout(()=>{var T;(T=this.store.getPopper("tooltip"))==null||T.instance.update()},10)})}}render(){if(!Ce())return null;let{index:e,lifecycle:t,status:n}=this.state,{continuous:r=!1,debug:o=!1,nonce:i,scrollToFirstStep:a=!1,steps:s}=this.props,c=n===j.RUNNING,l={};if(c&&s[e]){let p=Ue(this.props,s[e]);l.step=q(Xa,{...this.state,callback:this.callback,continuous:r,debug:o,helpers:this.helpers,nonce:i,shouldScroll:!p.disableScrolling&&(e!==0||a),step:p,store:this.store}),l.overlay=q(za,{id:"react-joyride-portal"},q(Ha,{...p,continuous:r,debug:o,lifecycle:t,onClickOverlay:this.handleClickOverlay}))}return q("div",{className:"react-joyride"},l.step,l.overlay)}};_(ro,"defaultProps",La);Qa=ro,Za=ee.button` + all: unset; + box-sizing: border-box; + border: 0; + border-radius: 0.25rem; + cursor: pointer; + display: inline-flex; + align-items: center; + justify-content: center; + padding: 0 0.75rem; + background: ${({theme:e,variant:t})=>t==="primary"?e.color.secondary:t==="secondary"?e.color.lighter:t==="outline"?"transparent":t==="white"?e.color.lightest:e.color.secondary}; + color: ${({theme:e,variant:t})=>t==="primary"?e.color.lightest:t==="secondary"||t==="outline"?e.darkest:t==="white"?e.color.secondary:e.color.lightest}; + box-shadow: ${({variant:e})=>e==="secondary"||e==="outline"?"#D9E8F2 0 0 0 1px inset":"none"}; + height: 32px; + font-size: 0.8125rem; + font-weight: 700; + font-family: ${({theme:e})=>e.typography.fonts.base}; + transition: background-color, box-shadow, color, opacity; + transition-duration: 0.16s; + transition-timing-function: ease-in-out; + text-decoration: none; + + &:hover { + background-color: ${({theme:e,variant:t})=>t==="primary"?"#0b94eb":t==="secondary"?"#eef4f9":t==="outline"?"transparent":t==="white"?e.color.lightest:"#0b94eb"}; + color: ${({theme:e,variant:t})=>t==="primary"?e.color.lightest:t==="secondary"||t==="outline"?e.darkest:t==="white"?e.color.darkest:e.color.lightest}; + } + + &:focus { + box-shadow: ${({variant:e})=>e==="primary"?"inset 0 0 0 1px rgba(0, 0, 0, 0.2)":e==="secondary"||e==="outline"?"inset 0 0 0 1px #0b94eb":e==="white"?"none":"inset 0 0 0 2px rgba(0, 0, 0, 0.1)"}; + } +`,es=on(function({children:e,onClick:t,variant:n="primary",...r},o){return y.createElement(Za,{ref:o,onClick:t,variant:n,...r},e)}),ts=ee.div` + padding: 15px; + border-radius: 5px; +`,ns=ee.div` + display: flex; + flex-direction: column; + align-items: flex-start; +`,rs=ee.div` + display: flex; + align-items: center; + align-self: stretch; + justify-content: space-between; + margin: -5px -5px 5px 0; +`,os=ee.div` + line-height: 18px; + font-weight: 700; + font-size: 14px; + margin: 5px 5px 5px 0; +`,is=ee.p` + font-size: 14px; + line-height: 18px; + text-align: start; + text-wrap: balance; + margin: 0; + margin-top: 5px; +`,as=ee.div` + display: flex; + align-items: center; + justify-content: space-between; + margin-top: 15px; +`,ss=ee.span` + font-size: 13px; +`,ls=({index:e,size:t,step:n,closeProps:r,primaryProps:o,tooltipProps:i})=>(ae(()=>{let a=document.createElement("style");return a.id="#sb-onboarding-arrow-style",a.innerHTML=` + .__floater__arrow { container-type: size; } + .__floater__arrow span { background: ${gt.secondary}; } + .__floater__arrow span::before, .__floater__arrow span::after { + content: ''; + display: block; + width: 2px; + height: 2px; + background: ${gt.secondary}; + box-shadow: 0 0 0 2px ${gt.secondary}; + border-radius: 3px; + flex: 0 0 2px; + } + @container (min-height: 1px) { + .__floater__arrow span { flex-direction: column; } + } + `,document.head.appendChild(a),()=>{let s=document.querySelector("#sb-onboarding-arrow-style");s&&s.remove()}},[]),y.createElement(ts,{...i,style:n.styles?.tooltip},y.createElement(ns,null,y.createElement(rs,null,n.title&&y.createElement(os,null,n.title),y.createElement(hn,{...r,onClick:r.onClick,variant:"solid"},y.createElement(Sn,null))),y.createElement(is,null,n.content)),y.createElement(as,{id:"buttonNext"},y.createElement(ss,null,e+1," of ",t),!n.hideNextButton&&y.createElement(es,{...o,onClick:n.onNextButtonClick||o.onClick,variant:"white"},e+1===t?"Done":"Next"))));us=Xe({from:{opacity:0},to:{opacity:1}}),oo=Xe({from:{transform:"translate(0, 20px)",opacity:0},to:{transform:"translate(0, 0)",opacity:1}}),ps=Xe({from:{opacity:0,transform:"scale(0.8)"},to:{opacity:1,transform:"scale(1)"}}),ds=Xe({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),fs=ee.div(({visible:e})=>({position:"fixed",top:0,left:0,right:0,bottom:0,display:"flex",opacity:e?1:0,alignItems:"center",justifyContent:"center",zIndex:1e3,transition:"opacity 1s 0.5s"})),hs=ee.div({position:"absolute",top:0,left:0,right:0,bottom:0,animation:`${us} 2s`,background:` + radial-gradient(90% 90%, #ff4785 0%, #db5698 30%, #1ea7fdcc 100%), + radial-gradient(circle, #ff4785 0%, transparent 80%), + radial-gradient(circle at 30% 40%, #fc521f99 0%, #fc521f66 20%, transparent 40%), + radial-gradient(circle at 75% 75%, #fc521f99 0%, #fc521f77 18%, transparent 30%)`,"&::before":{opacity:.5,background:` + radial-gradient(circle at 30% 40%, #fc521f99 0%, #fc521f66 10%, transparent 20%), + radial-gradient(circle at 75% 75%, #fc521f99 0%, #fc521f77 8%, transparent 20%)`,content:'""',position:"absolute",top:"-50vw",left:"-50vh",transform:"translate(-50%, -50%)",width:"calc(100vw + 100vh)",height:"calc(100vw + 100vh)",animation:`${ds} 12s linear infinite`}}),ms=ee.div(({visible:e})=>({position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:"white",textAlign:"center",width:"90vw",minWidth:290,maxWidth:410,opacity:e?1:0,transition:"opacity 0.5s",h1:{fontSize:45,fontWeight:"bold",animation:`${oo} 1.5s 1s backwards`}})),ys=ee.div({display:"flex",marginTop:40,div:{display:"flex",flexBasis:"33.33%",flexDirection:"column",alignItems:"center",animation:`${oo} 1s backwards`,"&:nth-child(1)":{animationDelay:"2s"},"&:nth-child(2)":{animationDelay:"2.5s"},"&:nth-child(3)":{animationDelay:"3s"}},svg:{marginBottom:10}}),gs=ee.button({display:"inline-flex",position:"relative",alignItems:"center",justifyContent:"center",marginTop:40,width:48,height:48,padding:0,borderRadius:"50%",border:0,outline:"none",background:"rgba(255, 255, 255, 0.3)",cursor:"pointer",transition:"background 0.2s",animation:`${ps} 1.5s 4s backwards`,"&:hover, &:focus":{background:"rgba(255, 255, 255, 0.4)"}}),bs=ee(En)({width:30,color:"white"}),yr=ee.svg(({progress:e})=>({position:"absolute",top:-1,left:-1,width:"50px!important",height:"50px!important",transform:"rotate(-90deg)",color:"white",circle:{r:"24",cx:"25",cy:"25",fill:"transparent",stroke:e?"currentColor":"transparent",strokeWidth:"1",strokeLinecap:"round",strokeDasharray:Math.PI*48}})),vs=({onDismiss:e,duration:t=6e3})=>{let[n,r]=ue(-4e5/t),[o,i]=ue(!0),a=n>=100,s=Je(()=>{i(!1);let c=setTimeout(e,1500);return()=>clearTimeout(c)},[e]);return ae(()=>{if(!t)return;let c=1e3/50,l=100/(t/c),p=setInterval(()=>r(u=>u+l),c);return()=>clearInterval(p)},[t]),ae(()=>{a&&s()},[a,s]),y.createElement(fs,{visible:o},y.createElement(hs,null),y.createElement(ms,{visible:o},y.createElement("h1",null,"Meet your new frontend workshop"),y.createElement(ys,null,y.createElement("div",null,y.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"33",height:"32"},y.createElement("path",{d:"M4.06 0H32.5v28.44h-3.56V32H.5V3.56h3.56V0Zm21.33 7.11H4.06v21.33h21.33V7.11Z",fill:"currentColor"})),"Development"),y.createElement("div",null,y.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},y.createElement("path",{d:"M15.95 32c-1.85 0-3.1-1.55-3.1-3.54 0-1.1.45-2.78 1.35-5.03.9-2.3 1.35-4.51 1.35-6.81a22.21 22.21 0 0 0-5.1 3.67c-2.5 2.47-4.95 4.9-7.55 4.9-1.6 0-2.9-1.1-2.9-2.43 0-1.46 1.35-2.91 4.3-3.62 1.45-.36 3.1-.75 4.95-1.06 1.8-.31 3.8-1.02 5.9-2.08a23.77 23.77 0 0 0-6.1-2.12C5.3 13.18 2.3 12.6 1 11.28.35 10.6 0 9.9 0 9.14 0 7.82 1.2 6.8 2.95 6.8c2.65 0 5.75 3.1 7.95 5.3 1.1 1.1 2.65 2.21 4.65 3.27v-.57c0-1.77-.15-3.23-.55-4.3-.8-2.11-2.05-5.43-2.05-6.97 0-2.04 1.3-3.54 3.1-3.54 1.75 0 3.1 1.41 3.1 3.54 0 1.06-.45 2.78-1.35 5.12-.9 2.35-1.35 4.6-1.35 6.72 2.85-1.59 2.5-1.41 4.95-3.5 2.35-2.29 4-3.7 4.9-4.23.95-.58 1.9-.84 2.9-.84 1.6 0 2.8.97 2.8 2.34 0 1.5-1.25 2.78-4.15 3.62-1.4.4-3.05.75-4.9 1.1-1.9.36-3.9 1.07-6.1 2.13a23.3 23.3 0 0 0 5.95 2.08c3.65.7 6.75 1.32 8.15 2.6.7.67 1.05 1.33 1.05 2.08 0 1.33-1.2 2.43-2.95 2.43-2.95 0-6.75-4.15-8.2-5.61-.7-.7-2.2-1.72-4.4-2.96v.57c0 1.9.45 4.03 1.3 6.32.85 2.3 1.3 3.94 1.3 4.95 0 2.08-1.35 3.54-3.1 3.54Z",fill:"currentColor"})),"Testing"),y.createElement("div",null,y.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"33",height:"32"},y.createElement("path",{d:"M.5 16a16 16 0 1 1 32 0 16 16 0 0 1-32 0Zm16 12.44A12.44 12.44 0 0 1 4.3 13.53a8 8 0 1 0 9.73-9.73 12.44 12.44 0 1 1 2.47 24.64ZM12.06 16a4.44 4.44 0 1 1 0-8.89 4.44 4.44 0 0 1 0 8.89Z",fill:"currentColor",fillRule:"evenodd"})),"Documentation")),y.createElement(gs,{onClick:s},y.createElement(bs,null),y.createElement(yr,{xmlns:"http://www.w3.org/2000/svg"},y.createElement("circle",null)),y.createElement(yr,{xmlns:"http://www.w3.org/2000/svg",progress:!0},y.createElement("circle",{strokeDashoffset:Math.PI*48*(1-Math.max(0,Math.min(n,100))/100)})))))},Es=ee.span(({theme:e})=>({display:"inline-flex",borderRadius:3,padding:"0 5px",marginBottom:-2,opacity:.8,fontFamily:e.typography.fonts.mono,fontSize:11,border:e.base==="dark"?e.color.darkest:e.color.lightest,color:e.base==="dark"?e.color.lightest:e.color.darkest,backgroundColor:e.base==="dark"?"black":e.color.light,boxSizing:"border-box",lineHeight:"17px"})),Ss=ee.div(({theme:e})=>({background:e.background.content,borderRadius:3,marginTop:15,padding:10,fontSize:e.typography.size.s1,".linenumber":{opacity:.5}})),Os=Lt()});X();Q();Z();X();Q();Z();ht();yt();Nt();X();Q();Z();var Lc=__STORYBOOK_API__,{ActiveTabs:Mc,Consumer:jc,ManagerContext:Dc,Provider:Fc,RequestResponseError:Bc,addons:fn,combineParameters:Wc,controlOrMetaKey:Uc,controlOrMetaSymbol:Hc,eventMatchesShortcut:zc,eventToShortcut:Gc,experimental_MockUniversalStore:Yc,experimental_UniversalStore:qc,experimental_requestResponse:$c,experimental_useUniversalStore:Vc,isMacLike:Kc,isShortcutTaken:Jc,keyToSymbol:Xc,merge:Qc,mockChannel:Zc,optionOrAltSymbol:eu,shortcutMatchesShortcut:tu,shortcutToHumanString:nu,types:ru,useAddonState:ou,useArgTypes:iu,useArgs:au,useChannel:su,useGlobalTypes:lu,useGlobals:cu,useParameter:uu,useSharedState:pu,useStoryPrepared:du,useStorybookApi:fu,useStorybookState:hu}=__STORYBOOK_API__;var Ts=sn(()=>Promise.resolve().then(()=>(ao(),io)));fn.register("@storybook/addon-onboarding",async e=>{let t=e.getUrlState(),n=t.path==="/onboarding"||t.queryParams.onboarding==="true";e.once(pn,()=>{if(!(e.getData("example-button--primary")||document.getElementById("example-button--primary"))){console.warn("[@storybook/addon-onboarding] It seems like you have finished the onboarding experience in Storybook! Therefore this addon is not necessary anymore and will not be loaded. You are free to remove it from your project. More info: https://github.com/storybookjs/storybook/tree/next/code/addons/onboarding#uninstalling");return}if(!n||window.innerWidth<730)return;e.togglePanel(!0),e.togglePanelPosition("bottom"),e.setSelectedPanel("addon-controls");let r=document.createElement("div");r.id="storybook-addon-onboarding",document.body.appendChild(r),Me.render(y.createElement(rn,{fallback:y.createElement("div",null)},y.createElement(Ts,{api:e})),r)})});})(); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js b/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js new file mode 100644 index 0000000..bd02337 --- /dev/null +++ b/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js @@ -0,0 +1,3 @@ +try{ +(()=>{var g=__STORYBOOK_API__,{ActiveTabs:T,Consumer:O,ManagerContext:f,Provider:v,RequestResponseError:x,addons:n,combineParameters:A,controlOrMetaKey:k,controlOrMetaSymbol:M,eventMatchesShortcut:P,eventToShortcut:R,experimental_MockUniversalStore:w,experimental_UniversalStore:C,experimental_requestResponse:G,experimental_useUniversalStore:I,isMacLike:K,isShortcutTaken:U,keyToSymbol:q,merge:B,mockChannel:F,optionOrAltSymbol:Y,shortcutMatchesShortcut:j,shortcutToHumanString:E,types:H,useAddonState:L,useArgTypes:N,useArgs:z,useChannel:D,useGlobalTypes:J,useGlobals:Q,useParameter:V,useSharedState:W,useStoryPrepared:X,useStorybookApi:Z,useStorybookState:$}=__STORYBOOK_API__;var S=(()=>{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})(),c="tag-filters",p="static-filter";n.register(c,e=>{let i=Object.entries(S.TAGS_OPTIONS??{}).reduce((t,r)=>{let[o,u]=r;return u.excludeFromSidebar&&(t[o]=!0),t},{});e.experimental_setFilter(p,t=>{let r=t.tags??[];return(r.includes("dev")||t.type==="docs")&&r.filter(o=>i[o]).length===0})});})(); +}catch(e){ console.error("[Storybook] One of your manager-entries failed: " + import.meta.url, e); } diff --git a/storybook-static/sb-common-assets/favicon.svg b/storybook-static/sb-common-assets/favicon.svg new file mode 100644 index 0000000..571f90f --- /dev/null +++ b/storybook-static/sb-common-assets/favicon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 b/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 new file mode 100644 index 0000000..33563d8 Binary files /dev/null and b/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 differ diff --git a/storybook-static/sb-common-assets/nunito-sans-bold.woff2 b/storybook-static/sb-common-assets/nunito-sans-bold.woff2 new file mode 100644 index 0000000..19fcc94 Binary files /dev/null and b/storybook-static/sb-common-assets/nunito-sans-bold.woff2 differ diff --git a/storybook-static/sb-common-assets/nunito-sans-italic.woff2 b/storybook-static/sb-common-assets/nunito-sans-italic.woff2 new file mode 100644 index 0000000..827096d Binary files /dev/null and b/storybook-static/sb-common-assets/nunito-sans-italic.woff2 differ diff --git a/storybook-static/sb-common-assets/nunito-sans-regular.woff2 b/storybook-static/sb-common-assets/nunito-sans-regular.woff2 new file mode 100644 index 0000000..c527ba4 Binary files /dev/null and b/storybook-static/sb-common-assets/nunito-sans-regular.woff2 differ diff --git a/storybook-static/sb-manager/globals-module-info.js b/storybook-static/sb-manager/globals-module-info.js new file mode 100644 index 0000000..873670b --- /dev/null +++ b/storybook-static/sb-manager/globals-module-info.js @@ -0,0 +1,1046 @@ +import ESM_COMPAT_Module from "node:module"; +import { fileURLToPath as ESM_COMPAT_fileURLToPath } from 'node:url'; +import { dirname as ESM_COMPAT_dirname } from 'node:path'; +const __filename = ESM_COMPAT_fileURLToPath(import.meta.url); +const __dirname = ESM_COMPAT_dirname(__filename); +const require = ESM_COMPAT_Module.createRequire(import.meta.url); + +// src/manager/globals/exports.ts +var t = { + react: [ + "Children", + "Component", + "Fragment", + "Profiler", + "PureComponent", + "StrictMode", + "Suspense", + "__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED", + "cloneElement", + "createContext", + "createElement", + "createFactory", + "createRef", + "forwardRef", + "isValidElement", + "lazy", + "memo", + "startTransition", + "unstable_act", + "useCallback", + "useContext", + "useDebugValue", + "useDeferredValue", + "useEffect", + "useId", + "useImperativeHandle", + "useInsertionEffect", + "useLayoutEffect", + "useMemo", + "useReducer", + "useRef", + "useState", + "useSyncExternalStore", + "useTransition", + "version" + ], + "react-dom": [ + "__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED", + "createPortal", + "createRoot", + "findDOMNode", + "flushSync", + "hydrate", + "hydrateRoot", + "render", + "unmountComponentAtNode", + "unstable_batchedUpdates", + "unstable_renderSubtreeIntoContainer", + "version" + ], + "react-dom/client": ["createRoot", "hydrateRoot"], + "@storybook/icons": [ + "AccessibilityAltIcon", + "AccessibilityIcon", + "AddIcon", + "AdminIcon", + "AlertAltIcon", + "AlertIcon", + "AlignLeftIcon", + "AlignRightIcon", + "AppleIcon", + "ArrowBottomLeftIcon", + "ArrowBottomRightIcon", + "ArrowDownIcon", + "ArrowLeftIcon", + "ArrowRightIcon", + "ArrowSolidDownIcon", + "ArrowSolidLeftIcon", + "ArrowSolidRightIcon", + "ArrowSolidUpIcon", + "ArrowTopLeftIcon", + "ArrowTopRightIcon", + "ArrowUpIcon", + "AzureDevOpsIcon", + "BackIcon", + "BasketIcon", + "BatchAcceptIcon", + "BatchDenyIcon", + "BeakerIcon", + "BellIcon", + "BitbucketIcon", + "BoldIcon", + "BookIcon", + "BookmarkHollowIcon", + "BookmarkIcon", + "BottomBarIcon", + "BottomBarToggleIcon", + "BoxIcon", + "BranchIcon", + "BrowserIcon", + "ButtonIcon", + "CPUIcon", + "CalendarIcon", + "CameraIcon", + "CategoryIcon", + "CertificateIcon", + "ChangedIcon", + "ChatIcon", + "CheckIcon", + "ChevronDownIcon", + "ChevronLeftIcon", + "ChevronRightIcon", + "ChevronSmallDownIcon", + "ChevronSmallLeftIcon", + "ChevronSmallRightIcon", + "ChevronSmallUpIcon", + "ChevronUpIcon", + "ChromaticIcon", + "ChromeIcon", + "CircleHollowIcon", + "CircleIcon", + "ClearIcon", + "CloseAltIcon", + "CloseIcon", + "CloudHollowIcon", + "CloudIcon", + "CogIcon", + "CollapseIcon", + "CommandIcon", + "CommentAddIcon", + "CommentIcon", + "CommentsIcon", + "CommitIcon", + "CompassIcon", + "ComponentDrivenIcon", + "ComponentIcon", + "ContrastIcon", + "ControlsIcon", + "CopyIcon", + "CreditIcon", + "CrossIcon", + "DashboardIcon", + "DatabaseIcon", + "DeleteIcon", + "DiamondIcon", + "DirectionIcon", + "DiscordIcon", + "DocChartIcon", + "DocListIcon", + "DocumentIcon", + "DownloadIcon", + "DragIcon", + "EditIcon", + "EllipsisIcon", + "EmailIcon", + "ExpandAltIcon", + "ExpandIcon", + "EyeCloseIcon", + "EyeIcon", + "FaceHappyIcon", + "FaceNeutralIcon", + "FaceSadIcon", + "FacebookIcon", + "FailedIcon", + "FastForwardIcon", + "FigmaIcon", + "FilterIcon", + "FlagIcon", + "FolderIcon", + "FormIcon", + "GDriveIcon", + "GithubIcon", + "GitlabIcon", + "GlobeIcon", + "GoogleIcon", + "GraphBarIcon", + "GraphLineIcon", + "GraphqlIcon", + "GridAltIcon", + "GridIcon", + "GrowIcon", + "HeartHollowIcon", + "HeartIcon", + "HomeIcon", + "HourglassIcon", + "InfoIcon", + "ItalicIcon", + "JumpToIcon", + "KeyIcon", + "LightningIcon", + "LightningOffIcon", + "LinkBrokenIcon", + "LinkIcon", + "LinkedinIcon", + "LinuxIcon", + "ListOrderedIcon", + "ListUnorderedIcon", + "LocationIcon", + "LockIcon", + "MarkdownIcon", + "MarkupIcon", + "MediumIcon", + "MemoryIcon", + "MenuIcon", + "MergeIcon", + "MirrorIcon", + "MobileIcon", + "MoonIcon", + "NutIcon", + "OutboxIcon", + "OutlineIcon", + "PaintBrushIcon", + "PaperClipIcon", + "ParagraphIcon", + "PassedIcon", + "PhoneIcon", + "PhotoDragIcon", + "PhotoIcon", + "PinAltIcon", + "PinIcon", + "PlayAllHollowIcon", + "PlayBackIcon", + "PlayHollowIcon", + "PlayIcon", + "PlayNextIcon", + "PlusIcon", + "PointerDefaultIcon", + "PointerHandIcon", + "PowerIcon", + "PrintIcon", + "ProceedIcon", + "ProfileIcon", + "PullRequestIcon", + "QuestionIcon", + "RSSIcon", + "RedirectIcon", + "ReduxIcon", + "RefreshIcon", + "ReplyIcon", + "RepoIcon", + "RequestChangeIcon", + "RewindIcon", + "RulerIcon", + "SaveIcon", + "SearchIcon", + "ShareAltIcon", + "ShareIcon", + "ShieldIcon", + "SideBySideIcon", + "SidebarAltIcon", + "SidebarAltToggleIcon", + "SidebarIcon", + "SidebarToggleIcon", + "SpeakerIcon", + "StackedIcon", + "StarHollowIcon", + "StarIcon", + "StatusFailIcon", + "StatusPassIcon", + "StatusWarnIcon", + "StickerIcon", + "StopAltHollowIcon", + "StopAltIcon", + "StopIcon", + "StorybookIcon", + "StructureIcon", + "SubtractIcon", + "SunIcon", + "SupportIcon", + "SwitchAltIcon", + "SyncIcon", + "TabletIcon", + "ThumbsUpIcon", + "TimeIcon", + "TimerIcon", + "TransferIcon", + "TrashIcon", + "TwitterIcon", + "TypeIcon", + "UbuntuIcon", + "UndoIcon", + "UnfoldIcon", + "UnlockIcon", + "UnpinIcon", + "UploadIcon", + "UserAddIcon", + "UserAltIcon", + "UserIcon", + "UsersIcon", + "VSCodeIcon", + "VerifiedIcon", + "VideoIcon", + "WandIcon", + "WatchIcon", + "WindowsIcon", + "WrenchIcon", + "XIcon", + "YoutubeIcon", + "ZoomIcon", + "ZoomOutIcon", + "ZoomResetIcon", + "iconList" + ], + "storybook/internal/components": [ + "A", + "ActionBar", + "AddonPanel", + "Badge", + "Bar", + "Blockquote", + "Button", + "ClipboardCode", + "Code", + "DL", + "Div", + "DocumentWrapper", + "EmptyTabContent", + "ErrorFormatter", + "FlexBar", + "Form", + "H1", + "H2", + "H3", + "H4", + "H5", + "H6", + "HR", + "IconButton", + "IconButtonSkeleton", + "Icons", + "Img", + "LI", + "Link", + "ListItem", + "Loader", + "Modal", + "OL", + "P", + "Placeholder", + "Pre", + "ProgressSpinner", + "ResetWrapper", + "ScrollArea", + "Separator", + "Spaced", + "Span", + "StorybookIcon", + "StorybookLogo", + "Symbols", + "SyntaxHighlighter", + "TT", + "TabBar", + "TabButton", + "TabWrapper", + "Table", + "Tabs", + "TabsState", + "TooltipLinkList", + "TooltipMessage", + "TooltipNote", + "UL", + "WithTooltip", + "WithTooltipPure", + "Zoom", + "codeCommon", + "components", + "createCopyToClipboardFunction", + "getStoryHref", + "icons", + "interleaveSeparators", + "nameSpaceClassNames", + "resetComponents", + "withReset" + ], + "@storybook/components": [ + "A", + "ActionBar", + "AddonPanel", + "Badge", + "Bar", + "Blockquote", + "Button", + "ClipboardCode", + "Code", + "DL", + "Div", + "DocumentWrapper", + "EmptyTabContent", + "ErrorFormatter", + "FlexBar", + "Form", + "H1", + "H2", + "H3", + "H4", + "H5", + "H6", + "HR", + "IconButton", + "IconButtonSkeleton", + "Icons", + "Img", + "LI", + "Link", + "ListItem", + "Loader", + "Modal", + "OL", + "P", + "Placeholder", + "Pre", + "ProgressSpinner", + "ResetWrapper", + "ScrollArea", + "Separator", + "Spaced", + "Span", + "StorybookIcon", + "StorybookLogo", + "Symbols", + "SyntaxHighlighter", + "TT", + "TabBar", + "TabButton", + "TabWrapper", + "Table", + "Tabs", + "TabsState", + "TooltipLinkList", + "TooltipMessage", + "TooltipNote", + "UL", + "WithTooltip", + "WithTooltipPure", + "Zoom", + "codeCommon", + "components", + "createCopyToClipboardFunction", + "getStoryHref", + "icons", + "interleaveSeparators", + "nameSpaceClassNames", + "resetComponents", + "withReset" + ], + "@storybook/core/components": [ + "A", + "ActionBar", + "AddonPanel", + "Badge", + "Bar", + "Blockquote", + "Button", + "ClipboardCode", + "Code", + "DL", + "Div", + "DocumentWrapper", + "EmptyTabContent", + "ErrorFormatter", + "FlexBar", + "Form", + "H1", + "H2", + "H3", + "H4", + "H5", + "H6", + "HR", + "IconButton", + "IconButtonSkeleton", + "Icons", + "Img", + "LI", + "Link", + "ListItem", + "Loader", + "Modal", + "OL", + "P", + "Placeholder", + "Pre", + "ProgressSpinner", + "ResetWrapper", + "ScrollArea", + "Separator", + "Spaced", + "Span", + "StorybookIcon", + "StorybookLogo", + "Symbols", + "SyntaxHighlighter", + "TT", + "TabBar", + "TabButton", + "TabWrapper", + "Table", + "Tabs", + "TabsState", + "TooltipLinkList", + "TooltipMessage", + "TooltipNote", + "UL", + "WithTooltip", + "WithTooltipPure", + "Zoom", + "codeCommon", + "components", + "createCopyToClipboardFunction", + "getStoryHref", + "icons", + "interleaveSeparators", + "nameSpaceClassNames", + "resetComponents", + "withReset" + ], + "storybook/internal/manager-api": [ + "ActiveTabs", + "Consumer", + "ManagerContext", + "Provider", + "RequestResponseError", + "addons", + "combineParameters", + "controlOrMetaKey", + "controlOrMetaSymbol", + "eventMatchesShortcut", + "eventToShortcut", + "experimental_MockUniversalStore", + "experimental_UniversalStore", + "experimental_requestResponse", + "experimental_useUniversalStore", + "isMacLike", + "isShortcutTaken", + "keyToSymbol", + "merge", + "mockChannel", + "optionOrAltSymbol", + "shortcutMatchesShortcut", + "shortcutToHumanString", + "types", + "useAddonState", + "useArgTypes", + "useArgs", + "useChannel", + "useGlobalTypes", + "useGlobals", + "useParameter", + "useSharedState", + "useStoryPrepared", + "useStorybookApi", + "useStorybookState" + ], + "@storybook/manager-api": [ + "ActiveTabs", + "Consumer", + "ManagerContext", + "Provider", + "RequestResponseError", + "addons", + "combineParameters", + "controlOrMetaKey", + "controlOrMetaSymbol", + "eventMatchesShortcut", + "eventToShortcut", + "experimental_MockUniversalStore", + "experimental_UniversalStore", + "experimental_requestResponse", + "experimental_useUniversalStore", + "isMacLike", + "isShortcutTaken", + "keyToSymbol", + "merge", + "mockChannel", + "optionOrAltSymbol", + "shortcutMatchesShortcut", + "shortcutToHumanString", + "types", + "useAddonState", + "useArgTypes", + "useArgs", + "useChannel", + "useGlobalTypes", + "useGlobals", + "useParameter", + "useSharedState", + "useStoryPrepared", + "useStorybookApi", + "useStorybookState" + ], + "@storybook/core/manager-api": [ + "ActiveTabs", + "Consumer", + "ManagerContext", + "Provider", + "RequestResponseError", + "addons", + "combineParameters", + "controlOrMetaKey", + "controlOrMetaSymbol", + "eventMatchesShortcut", + "eventToShortcut", + "experimental_MockUniversalStore", + "experimental_UniversalStore", + "experimental_requestResponse", + "experimental_useUniversalStore", + "isMacLike", + "isShortcutTaken", + "keyToSymbol", + "merge", + "mockChannel", + "optionOrAltSymbol", + "shortcutMatchesShortcut", + "shortcutToHumanString", + "types", + "useAddonState", + "useArgTypes", + "useArgs", + "useChannel", + "useGlobalTypes", + "useGlobals", + "useParameter", + "useSharedState", + "useStoryPrepared", + "useStorybookApi", + "useStorybookState" + ], + "storybook/internal/router": [ + "BaseLocationProvider", + "DEEPLY_EQUAL", + "Link", + "Location", + "LocationProvider", + "Match", + "Route", + "buildArgsParam", + "deepDiff", + "getMatch", + "parsePath", + "queryFromLocation", + "stringifyQuery", + "useNavigate" + ], + "@storybook/router": [ + "BaseLocationProvider", + "DEEPLY_EQUAL", + "Link", + "Location", + "LocationProvider", + "Match", + "Route", + "buildArgsParam", + "deepDiff", + "getMatch", + "parsePath", + "queryFromLocation", + "stringifyQuery", + "useNavigate" + ], + "@storybook/core/router": [ + "BaseLocationProvider", + "DEEPLY_EQUAL", + "Link", + "Location", + "LocationProvider", + "Match", + "Route", + "buildArgsParam", + "deepDiff", + "getMatch", + "parsePath", + "queryFromLocation", + "stringifyQuery", + "useNavigate" + ], + "storybook/internal/theming": [ + "CacheProvider", + "ClassNames", + "Global", + "ThemeProvider", + "background", + "color", + "convert", + "create", + "createCache", + "createGlobal", + "createReset", + "css", + "darken", + "ensure", + "ignoreSsrWarning", + "isPropValid", + "jsx", + "keyframes", + "lighten", + "styled", + "themes", + "typography", + "useTheme", + "withTheme" + ], + "@storybook/theming": [ + "CacheProvider", + "ClassNames", + "Global", + "ThemeProvider", + "background", + "color", + "convert", + "create", + "createCache", + "createGlobal", + "createReset", + "css", + "darken", + "ensure", + "ignoreSsrWarning", + "isPropValid", + "jsx", + "keyframes", + "lighten", + "styled", + "themes", + "typography", + "useTheme", + "withTheme" + ], + "@storybook/core/theming": [ + "CacheProvider", + "ClassNames", + "Global", + "ThemeProvider", + "background", + "color", + "convert", + "create", + "createCache", + "createGlobal", + "createReset", + "css", + "darken", + "ensure", + "ignoreSsrWarning", + "isPropValid", + "jsx", + "keyframes", + "lighten", + "styled", + "themes", + "typography", + "useTheme", + "withTheme" + ], + "storybook/internal/theming/create": ["create", "themes"], + "@storybook/theming/create": ["create", "themes"], + "@storybook/core/theming/create": ["create", "themes"], + "storybook/internal/channels": [ + "Channel", + "HEARTBEAT_INTERVAL", + "HEARTBEAT_MAX_LATENCY", + "PostMessageTransport", + "WebsocketTransport", + "createBrowserChannel" + ], + "@storybook/channels": [ + "Channel", + "HEARTBEAT_INTERVAL", + "HEARTBEAT_MAX_LATENCY", + "PostMessageTransport", + "WebsocketTransport", + "createBrowserChannel" + ], + "@storybook/core/channels": [ + "Channel", + "HEARTBEAT_INTERVAL", + "HEARTBEAT_MAX_LATENCY", + "PostMessageTransport", + "WebsocketTransport", + "createBrowserChannel" + ], + "storybook/internal/core-errors": [ + "ARGTYPES_INFO_REQUEST", + "ARGTYPES_INFO_RESPONSE", + "CHANNEL_CREATED", + "CHANNEL_WS_DISCONNECT", + "CONFIG_ERROR", + "CREATE_NEW_STORYFILE_REQUEST", + "CREATE_NEW_STORYFILE_RESPONSE", + "CURRENT_STORY_WAS_SET", + "DOCS_PREPARED", + "DOCS_RENDERED", + "FILE_COMPONENT_SEARCH_REQUEST", + "FILE_COMPONENT_SEARCH_RESPONSE", + "FORCE_REMOUNT", + "FORCE_RE_RENDER", + "GLOBALS_UPDATED", + "NAVIGATE_URL", + "PLAY_FUNCTION_THREW_EXCEPTION", + "PRELOAD_ENTRIES", + "PREVIEW_BUILDER_PROGRESS", + "PREVIEW_KEYDOWN", + "REGISTER_SUBSCRIPTION", + "REQUEST_WHATS_NEW_DATA", + "RESET_STORY_ARGS", + "RESULT_WHATS_NEW_DATA", + "SAVE_STORY_REQUEST", + "SAVE_STORY_RESPONSE", + "SELECT_STORY", + "SET_CONFIG", + "SET_CURRENT_STORY", + "SET_FILTER", + "SET_GLOBALS", + "SET_INDEX", + "SET_STORIES", + "SET_WHATS_NEW_CACHE", + "SHARED_STATE_CHANGED", + "SHARED_STATE_SET", + "STORIES_COLLAPSE_ALL", + "STORIES_EXPAND_ALL", + "STORY_ARGS_UPDATED", + "STORY_CHANGED", + "STORY_ERRORED", + "STORY_FINISHED", + "STORY_INDEX_INVALIDATED", + "STORY_MISSING", + "STORY_PREPARED", + "STORY_RENDERED", + "STORY_RENDER_PHASE_CHANGED", + "STORY_SPECIFIED", + "STORY_THREW_EXCEPTION", + "STORY_UNCHANGED", + "TELEMETRY_ERROR", + "TESTING_MODULE_CANCEL_TEST_RUN_REQUEST", + "TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE", + "TESTING_MODULE_CRASH_REPORT", + "TESTING_MODULE_PROGRESS_REPORT", + "TESTING_MODULE_RUN_ALL_REQUEST", + "TESTING_MODULE_RUN_REQUEST", + "TOGGLE_WHATS_NEW_NOTIFICATIONS", + "UNHANDLED_ERRORS_WHILE_PLAYING", + "UPDATE_GLOBALS", + "UPDATE_QUERY_PARAMS", + "UPDATE_STORY_ARGS" + ], + "@storybook/core-events": [ + "ARGTYPES_INFO_REQUEST", + "ARGTYPES_INFO_RESPONSE", + "CHANNEL_CREATED", + "CHANNEL_WS_DISCONNECT", + "CONFIG_ERROR", + "CREATE_NEW_STORYFILE_REQUEST", + "CREATE_NEW_STORYFILE_RESPONSE", + "CURRENT_STORY_WAS_SET", + "DOCS_PREPARED", + "DOCS_RENDERED", + "FILE_COMPONENT_SEARCH_REQUEST", + "FILE_COMPONENT_SEARCH_RESPONSE", + "FORCE_REMOUNT", + "FORCE_RE_RENDER", + "GLOBALS_UPDATED", + "NAVIGATE_URL", + "PLAY_FUNCTION_THREW_EXCEPTION", + "PRELOAD_ENTRIES", + "PREVIEW_BUILDER_PROGRESS", + "PREVIEW_KEYDOWN", + "REGISTER_SUBSCRIPTION", + "REQUEST_WHATS_NEW_DATA", + "RESET_STORY_ARGS", + "RESULT_WHATS_NEW_DATA", + "SAVE_STORY_REQUEST", + "SAVE_STORY_RESPONSE", + "SELECT_STORY", + "SET_CONFIG", + "SET_CURRENT_STORY", + "SET_FILTER", + "SET_GLOBALS", + "SET_INDEX", + "SET_STORIES", + "SET_WHATS_NEW_CACHE", + "SHARED_STATE_CHANGED", + "SHARED_STATE_SET", + "STORIES_COLLAPSE_ALL", + "STORIES_EXPAND_ALL", + "STORY_ARGS_UPDATED", + "STORY_CHANGED", + "STORY_ERRORED", + "STORY_FINISHED", + "STORY_INDEX_INVALIDATED", + "STORY_MISSING", + "STORY_PREPARED", + "STORY_RENDERED", + "STORY_RENDER_PHASE_CHANGED", + "STORY_SPECIFIED", + "STORY_THREW_EXCEPTION", + "STORY_UNCHANGED", + "TELEMETRY_ERROR", + "TESTING_MODULE_CANCEL_TEST_RUN_REQUEST", + "TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE", + "TESTING_MODULE_CRASH_REPORT", + "TESTING_MODULE_PROGRESS_REPORT", + "TESTING_MODULE_RUN_ALL_REQUEST", + "TESTING_MODULE_RUN_REQUEST", + "TOGGLE_WHATS_NEW_NOTIFICATIONS", + "UNHANDLED_ERRORS_WHILE_PLAYING", + "UPDATE_GLOBALS", + "UPDATE_QUERY_PARAMS", + "UPDATE_STORY_ARGS" + ], + "@storybook/core/core-events": [ + "ARGTYPES_INFO_REQUEST", + "ARGTYPES_INFO_RESPONSE", + "CHANNEL_CREATED", + "CHANNEL_WS_DISCONNECT", + "CONFIG_ERROR", + "CREATE_NEW_STORYFILE_REQUEST", + "CREATE_NEW_STORYFILE_RESPONSE", + "CURRENT_STORY_WAS_SET", + "DOCS_PREPARED", + "DOCS_RENDERED", + "FILE_COMPONENT_SEARCH_REQUEST", + "FILE_COMPONENT_SEARCH_RESPONSE", + "FORCE_REMOUNT", + "FORCE_RE_RENDER", + "GLOBALS_UPDATED", + "NAVIGATE_URL", + "PLAY_FUNCTION_THREW_EXCEPTION", + "PRELOAD_ENTRIES", + "PREVIEW_BUILDER_PROGRESS", + "PREVIEW_KEYDOWN", + "REGISTER_SUBSCRIPTION", + "REQUEST_WHATS_NEW_DATA", + "RESET_STORY_ARGS", + "RESULT_WHATS_NEW_DATA", + "SAVE_STORY_REQUEST", + "SAVE_STORY_RESPONSE", + "SELECT_STORY", + "SET_CONFIG", + "SET_CURRENT_STORY", + "SET_FILTER", + "SET_GLOBALS", + "SET_INDEX", + "SET_STORIES", + "SET_WHATS_NEW_CACHE", + "SHARED_STATE_CHANGED", + "SHARED_STATE_SET", + "STORIES_COLLAPSE_ALL", + "STORIES_EXPAND_ALL", + "STORY_ARGS_UPDATED", + "STORY_CHANGED", + "STORY_ERRORED", + "STORY_FINISHED", + "STORY_INDEX_INVALIDATED", + "STORY_MISSING", + "STORY_PREPARED", + "STORY_RENDERED", + "STORY_RENDER_PHASE_CHANGED", + "STORY_SPECIFIED", + "STORY_THREW_EXCEPTION", + "STORY_UNCHANGED", + "TELEMETRY_ERROR", + "TESTING_MODULE_CANCEL_TEST_RUN_REQUEST", + "TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE", + "TESTING_MODULE_CRASH_REPORT", + "TESTING_MODULE_PROGRESS_REPORT", + "TESTING_MODULE_RUN_ALL_REQUEST", + "TESTING_MODULE_RUN_REQUEST", + "TOGGLE_WHATS_NEW_NOTIFICATIONS", + "UNHANDLED_ERRORS_WHILE_PLAYING", + "UPDATE_GLOBALS", + "UPDATE_QUERY_PARAMS", + "UPDATE_STORY_ARGS" + ], + "storybook/internal/types": ["Addon_TypesEnum"], + "@storybook/types": ["Addon_TypesEnum"], + "@storybook/core/types": ["Addon_TypesEnum"], + "storybook/internal/manager-errors": [ + "Category", + "ProviderDoesNotExtendBaseProviderError", + "UncaughtManagerError" + ], + "@storybook/core-events/manager-errors": [ + "Category", + "ProviderDoesNotExtendBaseProviderError", + "UncaughtManagerError" + ], + "@storybook/core/manager-errors": [ + "Category", + "ProviderDoesNotExtendBaseProviderError", + "UncaughtManagerError" + ], + "storybook/internal/client-logger": ["deprecate", "logger", "once", "pretty"], + "@storybook/client-logger": ["deprecate", "logger", "once", "pretty"], + "@storybook/core/client-logger": ["deprecate", "logger", "once", "pretty"] +}; + +// src/manager/globals/globals.ts +var e = { + react: "__REACT__", + "react-dom": "__REACT_DOM__", + "react-dom/client": "__REACT_DOM_CLIENT__", + "@storybook/icons": "__STORYBOOK_ICONS__", + "storybook/internal/manager-api": "__STORYBOOK_API__", + "@storybook/manager-api": "__STORYBOOK_API__", + "@storybook/core/manager-api": "__STORYBOOK_API__", + "storybook/internal/components": "__STORYBOOK_COMPONENTS__", + "@storybook/components": "__STORYBOOK_COMPONENTS__", + "@storybook/core/components": "__STORYBOOK_COMPONENTS__", + "storybook/internal/channels": "__STORYBOOK_CHANNELS__", + "@storybook/channels": "__STORYBOOK_CHANNELS__", + "@storybook/core/channels": "__STORYBOOK_CHANNELS__", + "storybook/internal/core-errors": "__STORYBOOK_CORE_EVENTS__", + "@storybook/core-events": "__STORYBOOK_CORE_EVENTS__", + "@storybook/core/core-events": "__STORYBOOK_CORE_EVENTS__", + "storybook/internal/manager-errors": "__STORYBOOK_CORE_EVENTS_MANAGER_ERRORS__", + "@storybook/core-events/manager-errors": "__STORYBOOK_CORE_EVENTS_MANAGER_ERRORS__", + "@storybook/core/manager-errors": "__STORYBOOK_CORE_EVENTS_MANAGER_ERRORS__", + "storybook/internal/router": "__STORYBOOK_ROUTER__", + "@storybook/router": "__STORYBOOK_ROUTER__", + "@storybook/core/router": "__STORYBOOK_ROUTER__", + "storybook/internal/theming": "__STORYBOOK_THEMING__", + "@storybook/theming": "__STORYBOOK_THEMING__", + "@storybook/core/theming": "__STORYBOOK_THEMING__", + "storybook/internal/theming/create": "__STORYBOOK_THEMING_CREATE__", + "@storybook/theming/create": "__STORYBOOK_THEMING_CREATE__", + "@storybook/core/theming/create": "__STORYBOOK_THEMING_CREATE__", + "storybook/internal/client-logger": "__STORYBOOK_CLIENT_LOGGER__", + "@storybook/client-logger": "__STORYBOOK_CLIENT_LOGGER__", + "@storybook/core/client-logger": "__STORYBOOK_CLIENT_LOGGER__", + "storybook/internal/types": "__STORYBOOK_TYPES__", + "@storybook/types": "__STORYBOOK_TYPES__", + "@storybook/core/types": "__STORYBOOK_TYPES__" +}, n = Object.keys(e); + +// src/manager/globals/globals-module-info.ts +var S = n.reduce( + (r, o) => (r[o] = { + type: "esm", + varName: e[o], + namedExports: t[o], + defaultExport: !0 + }, r), + {} +); +export { + S as globalsModuleInfoMap +}; diff --git a/storybook-static/sb-manager/globals-runtime.js b/storybook-static/sb-manager/globals-runtime.js new file mode 100644 index 0000000..ddda725 --- /dev/null +++ b/storybook-static/sb-manager/globals-runtime.js @@ -0,0 +1,41239 @@ +var KM = Object.create; +var ud = Object.defineProperty; +var XM = Object.getOwnPropertyDescriptor; +var QM = Object.getOwnPropertyNames; +var JM = Object.getPrototypeOf, ZM = Object.prototype.hasOwnProperty; +var a = (e, t) => ud(e, "name", { value: t, configurable: !0 }), hc = /* @__PURE__ */ ((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 I = (e, t) => () => (e && (t = e(e = 0)), t); +var F = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), de = (e, t) => { + for (var r in t) + ud(e, r, { get: t[r], enumerable: !0 }); +}, eB = (e, t, r, n) => { + if (t && typeof t == "object" || typeof t == "function") + for (let o of QM(t)) + !ZM.call(e, o) && o !== r && ud(e, o, { get: () => t[o], enumerable: !(n = XM(t, o)) || n.enumerable }); + return e; +}; +var k = (e, t, r) => (r = e != null ? KM(JM(e)) : {}, eB( + // If the importer is in node compatibility mode or this is not an ESM + // file that has been converted to a CommonJS file using a Babel- + // compatible transform (i.e. "__esModule" has not been set), then set + // "default" to the CommonJS "module.exports" for node compatibility. + t || !e || !e.__esModule ? ud(r, "default", { value: e, enumerable: !0 }) : r, + e +)); + +// ../node_modules/@storybook/global/dist/index.mjs +var $, qe = I(() => { + $ = (() => { + let e; + return typeof window < "u" ? e = window : typeof globalThis < "u" ? e = globalThis : typeof global < "u" ? e = global : typeof self < "u" ? + e = self : e = {}, e; + })(); +}); + +// ../node_modules/react/cjs/react.production.min.js +var hE = F((ie) => { + "use strict"; + var Sc = Symbol.for("react.element"), DB = Symbol.for("react.portal"), AB = Symbol.for("react.fragment"), _B = Symbol.for("react.strict_mo\ +de"), TB = Symbol.for("react.profiler"), IB = Symbol.for("react.provider"), PB = Symbol.for("react.context"), kB = Symbol.for("react.forward\ +_ref"), FB = Symbol.for("react.suspense"), LB = Symbol.for("react.memo"), OB = Symbol.for("react.lazy"), oE = Symbol.iterator; + function NB(e) { + return e === null || typeof e != "object" ? null : (e = oE && e[oE] || e["@@iterator"], typeof e == "function" ? e : null); + } + a(NB, "A"); + var sE = { isMounted: /* @__PURE__ */ a(function() { + return !1; + }, "isMounted"), enqueueForceUpdate: /* @__PURE__ */ a(function() { + }, "enqueueForceUpdate"), enqueueReplaceState: /* @__PURE__ */ a(function() { + }, "enqueueReplaceState"), enqueueSetState: /* @__PURE__ */ a(function() { + }, "enqueueSetState") }, lE = Object.assign, uE = {}; + function bs(e, t, r) { + this.props = e, this.context = t, this.refs = uE, this.updater = r || sE; + } + a(bs, "E"); + bs.prototype.isReactComponent = {}; + bs.prototype.setState = function(e, t) { + if (typeof e != "object" && typeof e != "function" && e != null) throw Error("setState(...): takes an object of state variables to updat\ +e or a function which returns an object of state variables."); + this.updater.enqueueSetState(this, e, t, "setState"); + }; + bs.prototype.forceUpdate = function(e) { + this.updater.enqueueForceUpdate(this, e, "forceUpdate"); + }; + function cE() { + } + a(cE, "F"); + cE.prototype = bs.prototype; + function y2(e, t, r) { + this.props = e, this.context = t, this.refs = uE, this.updater = r || sE; + } + a(y2, "G"); + var w2 = y2.prototype = new cE(); + w2.constructor = y2; + lE(w2, bs.prototype); + w2.isPureReactComponent = !0; + var aE = Array.isArray, pE = Object.prototype.hasOwnProperty, S2 = { current: null }, fE = { key: !0, ref: !0, __self: !0, __source: !0 }; + function dE(e, t, r) { + var n, o = {}, i = null, s = null; + if (t != null) for (n in t.ref !== void 0 && (s = t.ref), t.key !== void 0 && (i = "" + t.key), t) pE.call(t, n) && !fE.hasOwnProperty(n) && + (o[n] = t[n]); + var l = arguments.length - 2; + if (l === 1) o.children = r; + else if (1 < l) { + for (var u = Array(l), c = 0; c < l; c++) u[c] = arguments[c + 2]; + o.children = u; + } + if (e && e.defaultProps) for (n in l = e.defaultProps, l) o[n] === void 0 && (o[n] = l[n]); + return { $$typeof: Sc, type: e, key: i, ref: s, props: o, _owner: S2.current }; + } + a(dE, "M"); + function MB(e, t) { + return { $$typeof: Sc, type: e.type, key: t, ref: e.ref, props: e.props, _owner: e._owner }; + } + a(MB, "N"); + function E2(e) { + return typeof e == "object" && e !== null && e.$$typeof === Sc; + } + a(E2, "O"); + function BB(e) { + var t = { "=": "=0", ":": "=2" }; + return "$" + e.replace(/[=:]/g, function(r) { + return t[r]; + }); + } + a(BB, "escape"); + var iE = /\/+/g; + function v2(e, t) { + return typeof e == "object" && e !== null && e.key != null ? BB("" + e.key) : t.toString(36); + } + a(v2, "Q"); + function dd(e, t, r, n, o) { + var i = typeof e; + (i === "undefined" || i === "boolean") && (e = null); + var s = !1; + if (e === null) s = !0; + else switch (i) { + case "string": + case "number": + s = !0; + break; + case "object": + switch (e.$$typeof) { + case Sc: + case DB: + s = !0; + } + } + if (s) return s = e, o = o(s), e = n === "" ? "." + v2(s, 0) : n, aE(o) ? (r = "", e != null && (r = e.replace(iE, "$&/") + "/"), dd(o, t, + r, "", function(c) { + return c; + })) : o != null && (E2(o) && (o = MB(o, r + (!o.key || s && s.key === o.key ? "" : ("" + o.key).replace(iE, "$&/") + "/") + e)), t.push( + o)), 1; + if (s = 0, n = n === "" ? "." : n + ":", aE(e)) for (var l = 0; l < e.length; l++) { + i = e[l]; + var u = n + v2(i, l); + s += dd(i, t, r, u, o); + } + else if (u = NB(e), typeof u == "function") for (e = u.call(e), l = 0; !(i = e.next()).done; ) i = i.value, u = n + v2(i, l++), s += dd( + i, t, r, u, o); + else if (i === "object") throw t = String(e), Error("Objects are not valid as a React child (found: " + (t === "[object Object]" ? "obje\ +ct with keys {" + Object.keys(e).join(", ") + "}" : t) + "). If you meant to render a collection of children, use an array instead."); + return s; + } + a(dd, "R"); + function fd(e, t, r) { + if (e == null) return e; + var n = [], o = 0; + return dd(e, n, "", "", function(i) { + return t.call(r, i, o++); + }), n; + } + a(fd, "S"); + function zB(e) { + if (e._status === -1) { + var t = e._result; + t = t(), t.then(function(r) { + (e._status === 0 || e._status === -1) && (e._status = 1, e._result = r); + }, function(r) { + (e._status === 0 || e._status === -1) && (e._status = 2, e._result = r); + }), e._status === -1 && (e._status = 0, e._result = t); + } + if (e._status === 1) return e._result.default; + throw e._result; + } + a(zB, "T"); + var jt = { current: null }, hd = { transition: null }, HB = { ReactCurrentDispatcher: jt, ReactCurrentBatchConfig: hd, ReactCurrentOwner: S2 }; + ie.Children = { map: fd, forEach: /* @__PURE__ */ a(function(e, t, r) { + fd(e, function() { + t.apply(this, arguments); + }, r); + }, "forEach"), count: /* @__PURE__ */ a(function(e) { + var t = 0; + return fd(e, function() { + t++; + }), t; + }, "count"), toArray: /* @__PURE__ */ a(function(e) { + return fd(e, function(t) { + return t; + }) || []; + }, "toArray"), only: /* @__PURE__ */ a(function(e) { + if (!E2(e)) throw Error("React.Children.only expected to receive a single React element child."); + return e; + }, "only") }; + ie.Component = bs; + ie.Fragment = AB; + ie.Profiler = TB; + ie.PureComponent = y2; + ie.StrictMode = _B; + ie.Suspense = FB; + ie.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = HB; + ie.cloneElement = function(e, t, r) { + if (e == null) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + e + "."); + var n = lE({}, e.props), o = e.key, i = e.ref, s = e._owner; + if (t != null) { + if (t.ref !== void 0 && (i = t.ref, s = S2.current), t.key !== void 0 && (o = "" + t.key), e.type && e.type.defaultProps) var l = e.type. + defaultProps; + for (u in t) pE.call(t, u) && !fE.hasOwnProperty(u) && (n[u] = t[u] === void 0 && l !== void 0 ? l[u] : t[u]); + } + var u = arguments.length - 2; + if (u === 1) n.children = r; + else if (1 < u) { + l = Array(u); + for (var c = 0; c < u; c++) l[c] = arguments[c + 2]; + n.children = l; + } + return { $$typeof: Sc, type: e.type, key: o, ref: i, props: n, _owner: s }; + }; + ie.createContext = function(e) { + return e = { $$typeof: PB, _currentValue: e, _currentValue2: e, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }, + e.Provider = { $$typeof: IB, _context: e }, e.Consumer = e; + }; + ie.createElement = dE; + ie.createFactory = function(e) { + var t = dE.bind(null, e); + return t.type = e, t; + }; + ie.createRef = function() { + return { current: null }; + }; + ie.forwardRef = function(e) { + return { $$typeof: kB, render: e }; + }; + ie.isValidElement = E2; + ie.lazy = function(e) { + return { $$typeof: OB, _payload: { _status: -1, _result: e }, _init: zB }; + }; + ie.memo = function(e, t) { + return { $$typeof: LB, type: e, compare: t === void 0 ? null : t }; + }; + ie.startTransition = function(e) { + var t = hd.transition; + hd.transition = {}; + try { + e(); + } finally { + hd.transition = t; + } + }; + ie.unstable_act = function() { + throw Error("act(...) is not supported in production builds of React."); + }; + ie.useCallback = function(e, t) { + return jt.current.useCallback(e, t); + }; + ie.useContext = function(e) { + return jt.current.useContext(e); + }; + ie.useDebugValue = function() { + }; + ie.useDeferredValue = function(e) { + return jt.current.useDeferredValue(e); + }; + ie.useEffect = function(e, t) { + return jt.current.useEffect(e, t); + }; + ie.useId = function() { + return jt.current.useId(); + }; + ie.useImperativeHandle = function(e, t, r) { + return jt.current.useImperativeHandle(e, t, r); + }; + ie.useInsertionEffect = function(e, t) { + return jt.current.useInsertionEffect(e, t); + }; + ie.useLayoutEffect = function(e, t) { + return jt.current.useLayoutEffect(e, t); + }; + ie.useMemo = function(e, t) { + return jt.current.useMemo(e, t); + }; + ie.useReducer = function(e, t, r) { + return jt.current.useReducer(e, t, r); + }; + ie.useRef = function(e) { + return jt.current.useRef(e); + }; + ie.useState = function(e) { + return jt.current.useState(e); + }; + ie.useSyncExternalStore = function(e, t, r) { + return jt.current.useSyncExternalStore(e, t, r); + }; + ie.useTransition = function() { + return jt.current.useTransition(); + }; + ie.version = "18.2.0"; +}); + +// ../node_modules/react/index.js +var O = F((U0e, mE) => { + "use strict"; + mE.exports = hE(); +}); + +// ../node_modules/scheduler/cjs/scheduler.production.min.js +var RE = F((xe) => { + "use strict"; + function R2(e, t) { + var r = e.length; + e.push(t); + e: for (; 0 < r; ) { + var n = r - 1 >>> 1, o = e[n]; + if (0 < md(o, t)) e[n] = t, e[r] = o, r = n; + else break e; + } + } + a(R2, "f"); + function dn(e) { + return e.length === 0 ? null : e[0]; + } + a(dn, "h"); + function vd(e) { + if (e.length === 0) return null; + var t = e[0], r = e.pop(); + if (r !== t) { + e[0] = r; + e: for (var n = 0, o = e.length, i = o >>> 1; n < i; ) { + var s = 2 * (n + 1) - 1, l = e[s], u = s + 1, c = e[u]; + if (0 > md(l, r)) u < o && 0 > md(c, l) ? (e[n] = c, e[u] = r, n = u) : (e[n] = l, e[s] = r, n = s); + else if (u < o && 0 > md(c, r)) e[n] = c, e[u] = r, n = u; + else break e; + } + } + return t; + } + a(vd, "k"); + function md(e, t) { + var r = e.sortIndex - t.sortIndex; + return r !== 0 ? r : e.id - t.id; + } + a(md, "g"); + typeof performance == "object" && typeof performance.now == "function" ? (gE = performance, xe.unstable_now = function() { + return gE.now(); + }) : (b2 = Date, vE = b2.now(), xe.unstable_now = function() { + return b2.now() - vE; + }); + var gE, b2, vE, zn = [], ea = [], $B = 1, Nr = null, Ft = 3, yd = !1, ai = !1, bc = !1, SE = typeof setTimeout == "function" ? setTimeout : + null, EE = typeof clearTimeout == "function" ? clearTimeout : null, yE = typeof setImmediate < "u" ? setImmediate : null; + typeof navigator < "u" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 && navigator.scheduling.isInputPending. + bind(navigator.scheduling); + function D2(e) { + for (var t = dn(ea); t !== null; ) { + if (t.callback === null) vd(ea); + else if (t.startTime <= e) vd(ea), t.sortIndex = t.expirationTime, R2(zn, t); + else break; + t = dn(ea); + } + } + a(D2, "G"); + function A2(e) { + if (bc = !1, D2(e), !ai) if (dn(zn) !== null) ai = !0, T2(_2); + else { + var t = dn(ea); + t !== null && I2(A2, t.startTime - e); + } + } + a(A2, "H"); + function _2(e, t) { + ai = !1, bc && (bc = !1, EE(xc), xc = -1), yd = !0; + var r = Ft; + try { + for (D2(t), Nr = dn(zn); Nr !== null && (!(Nr.expirationTime > t) || e && !CE()); ) { + var n = Nr.callback; + if (typeof n == "function") { + Nr.callback = null, Ft = Nr.priorityLevel; + var o = n(Nr.expirationTime <= t); + t = xe.unstable_now(), typeof o == "function" ? Nr.callback = o : Nr === dn(zn) && vd(zn), D2(t); + } else vd(zn); + Nr = dn(zn); + } + if (Nr !== null) var i = !0; + else { + var s = dn(ea); + s !== null && I2(A2, s.startTime - t), i = !1; + } + return i; + } finally { + Nr = null, Ft = r, yd = !1; + } + } + a(_2, "J"); + var wd = !1, gd = null, xc = -1, bE = 5, xE = -1; + function CE() { + return !(xe.unstable_now() - xE < bE); + } + a(CE, "M"); + function x2() { + if (gd !== null) { + var e = xe.unstable_now(); + xE = e; + var t = !0; + try { + t = gd(!0, e); + } finally { + t ? Ec() : (wd = !1, gd = null); + } + } else wd = !1; + } + a(x2, "R"); + var Ec; + typeof yE == "function" ? Ec = /* @__PURE__ */ a(function() { + yE(x2); + }, "S") : typeof MessageChannel < "u" ? (C2 = new MessageChannel(), wE = C2.port2, C2.port1.onmessage = x2, Ec = /* @__PURE__ */ a(function() { + wE.postMessage(null); + }, "S")) : Ec = /* @__PURE__ */ a(function() { + SE(x2, 0); + }, "S"); + var C2, wE; + function T2(e) { + gd = e, wd || (wd = !0, Ec()); + } + a(T2, "I"); + function I2(e, t) { + xc = SE(function() { + e(xe.unstable_now()); + }, t); + } + a(I2, "K"); + xe.unstable_IdlePriority = 5; + xe.unstable_ImmediatePriority = 1; + xe.unstable_LowPriority = 4; + xe.unstable_NormalPriority = 3; + xe.unstable_Profiling = null; + xe.unstable_UserBlockingPriority = 2; + xe.unstable_cancelCallback = function(e) { + e.callback = null; + }; + xe.unstable_continueExecution = function() { + ai || yd || (ai = !0, T2(_2)); + }; + xe.unstable_forceFrameRate = function(e) { + 0 > e || 125 < e ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not \ +supported") : bE = 0 < e ? Math.floor(1e3 / e) : 5; + }; + xe.unstable_getCurrentPriorityLevel = function() { + return Ft; + }; + xe.unstable_getFirstCallbackNode = function() { + return dn(zn); + }; + xe.unstable_next = function(e) { + switch (Ft) { + case 1: + case 2: + case 3: + var t = 3; + break; + default: + t = Ft; + } + var r = Ft; + Ft = t; + try { + return e(); + } finally { + Ft = r; + } + }; + xe.unstable_pauseExecution = function() { + }; + xe.unstable_requestPaint = function() { + }; + xe.unstable_runWithPriority = function(e, t) { + switch (e) { + case 1: + case 2: + case 3: + case 4: + case 5: + break; + default: + e = 3; + } + var r = Ft; + Ft = e; + try { + return t(); + } finally { + Ft = r; + } + }; + xe.unstable_scheduleCallback = function(e, t, r) { + var n = xe.unstable_now(); + switch (typeof r == "object" && r !== null ? (r = r.delay, r = typeof r == "number" && 0 < r ? n + r : n) : r = n, e) { + case 1: + var o = -1; + break; + case 2: + o = 250; + break; + case 5: + o = 1073741823; + break; + case 4: + o = 1e4; + break; + default: + o = 5e3; + } + return o = r + o, e = { id: $B++, callback: t, priorityLevel: e, startTime: r, expirationTime: o, sortIndex: -1 }, r > n ? (e.sortIndex = + r, R2(ea, e), dn(zn) === null && e === dn(ea) && (bc ? (EE(xc), xc = -1) : bc = !0, I2(A2, r - n))) : (e.sortIndex = o, R2(zn, e), ai || + yd || (ai = !0, T2(_2))), e; + }; + xe.unstable_shouldYield = CE; + xe.unstable_wrapCallback = function(e) { + var t = Ft; + return function() { + var r = Ft; + Ft = t; + try { + return e.apply(this, arguments); + } finally { + Ft = r; + } + }; + }; +}); + +// ../node_modules/scheduler/index.js +var AE = F((G0e, DE) => { + "use strict"; + DE.exports = RE(); +}); + +// ../node_modules/react-dom/cjs/react-dom.production.min.js +var F7 = F((Rr) => { + "use strict"; + var Lb = O(), xr = AE(); + function M(e) { + for (var t = "https://reactjs.org/docs/error-decoder.html?invariant=" + e, r = 1; r < arguments.length; r++) t += "&args[]=" + encodeURIComponent( + arguments[r]); + return "Minified React error #" + e + "; visit " + t + " for the full message or use the non-minified dev environment for full errors an\ +d additional helpful warnings."; + } + a(M, "p"); + var Ob = /* @__PURE__ */ new Set(), Wc = {}; + function yi(e, t) { + Vs(e, t), Vs(e + "Capture", t); + } + a(yi, "fa"); + function Vs(e, t) { + for (Wc[e] = t, e = 0; e < t.length; e++) Ob.add(t[e]); + } + a(Vs, "ha"); + var So = !(typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u"), Z2 = Object.prototype.hasOwnProperty, + jB = /^[: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]*$/, + _E = {}, TE = {}; + function VB(e) { + return Z2.call(TE, e) ? !0 : Z2.call(_E, e) ? !1 : jB.test(e) ? TE[e] = !0 : (_E[e] = !0, !1); + } + a(VB, "oa"); + function UB(e, t, r, n) { + if (r !== null && r.type === 0) return !1; + switch (typeof t) { + case "function": + case "symbol": + return !0; + case "boolean": + return n ? !1 : r !== null ? !r.acceptsBooleans : (e = e.toLowerCase().slice(0, 5), e !== "data-" && e !== "aria-"); + default: + return !1; + } + } + a(UB, "pa"); + function WB(e, t, r, n) { + if (t === null || typeof t > "u" || UB(e, t, r, n)) return !0; + if (n) return !1; + if (r !== null) switch (r.type) { + case 3: + return !t; + case 4: + return t === !1; + case 5: + return isNaN(t); + case 6: + return isNaN(t) || 1 > t; + } + return !1; + } + a(WB, "qa"); + function Wt(e, t, r, n, o, i, s) { + this.acceptsBooleans = t === 2 || t === 3 || t === 4, this.attributeName = n, this.attributeNamespace = o, this.mustUseProperty = r, this. + propertyName = e, this.type = t, this.sanitizeURL = i, this.removeEmptyString = s; + } + a(Wt, "v"); + var Rt = {}; + "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split( + " ").forEach(function(e) { + Rt[e] = new Wt(e, 0, !1, e, null, !1, !1); + }); + [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(e) { + var t = e[0]; + Rt[t] = new Wt(t, 1, !1, e[1], null, !1, !1); + }); + ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(e) { + Rt[e] = new Wt(e, 2, !1, e.toLowerCase(), null, !1, !1); + }); + ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(e) { + Rt[e] = new Wt(e, 2, !1, e, null, !1, !1); + }); + "allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hid\ +den loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e) { + Rt[e] = new Wt(e, 3, !1, e.toLowerCase(), null, !1, !1); + }); + ["checked", "multiple", "muted", "selected"].forEach(function(e) { + Rt[e] = new Wt(e, 3, !0, e, null, !1, !1); + }); + ["capture", "download"].forEach(function(e) { + Rt[e] = new Wt(e, 4, !1, e, null, !1, !1); + }); + ["cols", "rows", "size", "span"].forEach(function(e) { + Rt[e] = new Wt(e, 6, !1, e, null, !1, !1); + }); + ["rowSpan", "start"].forEach(function(e) { + Rt[e] = new Wt(e, 5, !1, e.toLowerCase(), null, !1, !1); + }); + var Wv = /[\-:]([a-z])/g; + function qv(e) { + return e[1].toUpperCase(); + } + a(qv, "sa"); + "accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filter\ +s color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size f\ +ont-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-ad\ +v-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness pai\ +nt-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness str\ +oke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration tex\ +t-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematic\ +al vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e) { + var t = e.replace( + Wv, + qv + ); + Rt[t] = new Wt(t, 1, !1, e, null, !1, !1); + }); + "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e) { + var t = e.replace(Wv, qv); + Rt[t] = new Wt(t, 1, !1, e, "http://www.w3.org/1999/xlink", !1, !1); + }); + ["xml:base", "xml:lang", "xml:space"].forEach(function(e) { + var t = e.replace(Wv, qv); + Rt[t] = new Wt(t, 1, !1, e, "http://www.w3.org/XML/1998/namespace", !1, !1); + }); + ["tabIndex", "crossOrigin"].forEach(function(e) { + Rt[e] = new Wt(e, 1, !1, e.toLowerCase(), null, !1, !1); + }); + Rt.xlinkHref = new Wt("xlinkHref", 1, !1, "xlink:href", "http://www.w3.org/1999/xlink", !0, !1); + ["src", "href", "action", "formAction"].forEach(function(e) { + Rt[e] = new Wt(e, 1, !1, e.toLowerCase(), null, !0, !0); + }); + function Gv(e, t, r, n) { + var o = Rt.hasOwnProperty(t) ? Rt[t] : null; + (o !== null ? o.type !== 0 : n || !(2 < t.length) || t[0] !== "o" && t[0] !== "O" || t[1] !== "n" && t[1] !== "N") && (WB(t, r, o, n) && + (r = null), n || o === null ? VB(t) && (r === null ? e.removeAttribute(t) : e.setAttribute(t, "" + r)) : o.mustUseProperty ? e[o.propertyName] = + r === null ? o.type === 3 ? !1 : "" : r : (t = o.attributeName, n = o.attributeNamespace, r === null ? e.removeAttribute(t) : (o = o.type, + r = o === 3 || o === 4 && r === !0 ? "" : "" + r, n ? e.setAttributeNS(n, t, r) : e.setAttribute(t, r)))); + } + a(Gv, "ta"); + var Co = Lb.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, Sd = Symbol.for("react.element"), Rs = Symbol.for("react.portal"), Ds = Symbol. + for("react.fragment"), Yv = Symbol.for("react.strict_mode"), ev = Symbol.for("react.profiler"), Nb = Symbol.for("react.provider"), Mb = Symbol. + for("react.context"), Kv = Symbol.for("react.forward_ref"), tv = Symbol.for("react.suspense"), rv = Symbol.for("react.suspense_list"), Xv = Symbol. + for("react.memo"), ra = Symbol.for("react.lazy"); + Symbol.for("react.scope"); + Symbol.for("react.debug_trace_mode"); + var Bb = Symbol.for("react.offscreen"); + Symbol.for("react.legacy_hidden"); + Symbol.for("react.cache"); + Symbol.for("react.tracing_marker"); + var IE = Symbol.iterator; + function Cc(e) { + return e === null || typeof e != "object" ? null : (e = IE && e[IE] || e["@@iterator"], typeof e == "function" ? e : null); + } + a(Cc, "Ka"); + var Be = Object.assign, P2; + function kc(e) { + if (P2 === void 0) try { + throw Error(); + } catch (r) { + var t = r.stack.trim().match(/\n( *(at )?)/); + P2 = t && t[1] || ""; + } + return ` +` + P2 + e; + } + a(kc, "Ma"); + var k2 = !1; + function F2(e, t) { + if (!e || k2) return ""; + k2 = !0; + var r = Error.prepareStackTrace; + Error.prepareStackTrace = void 0; + try { + if (t) if (t = /* @__PURE__ */ a(function() { + throw Error(); + }, "b"), Object.defineProperty(t.prototype, "props", { set: /* @__PURE__ */ a(function() { + throw Error(); + }, "set") }), typeof Reflect == "object" && Reflect.construct) { + try { + Reflect.construct(t, []); + } catch (c) { + var n = c; + } + Reflect.construct(e, [], t); + } else { + try { + t.call(); + } catch (c) { + n = c; + } + e.call(t.prototype); + } + else { + try { + throw Error(); + } catch (c) { + n = c; + } + e(); + } + } catch (c) { + if (c && n && typeof c.stack == "string") { + for (var o = c.stack.split(` +`), i = n.stack.split(` +`), s = o.length - 1, l = i.length - 1; 1 <= s && 0 <= l && o[s] !== i[l]; ) l--; + for (; 1 <= s && 0 <= l; s--, l--) if (o[s] !== i[l]) { + if (s !== 1 || l !== 1) + do + if (s--, l--, 0 > l || o[s] !== i[l]) { + var u = ` +` + o[s].replace(" at new ", " at "); + return e.displayName && u.includes("") && (u = u.replace("", e.displayName)), u; + } + while (1 <= s && 0 <= l); + break; + } + } + } finally { + k2 = !1, Error.prepareStackTrace = r; + } + return (e = e ? e.displayName || e.name : "") ? kc(e) : ""; + } + a(F2, "Oa"); + function qB(e) { + switch (e.tag) { + case 5: + return kc(e.type); + case 16: + return kc("Lazy"); + case 13: + return kc("Suspense"); + case 19: + return kc("SuspenseList"); + case 0: + case 2: + case 15: + return e = F2(e.type, !1), e; + case 11: + return e = F2(e.type.render, !1), e; + case 1: + return e = F2(e.type, !0), e; + default: + return ""; + } + } + a(qB, "Pa"); + function nv(e) { + if (e == null) return null; + if (typeof e == "function") return e.displayName || e.name || null; + if (typeof e == "string") return e; + switch (e) { + case Ds: + return "Fragment"; + case Rs: + return "Portal"; + case ev: + return "Profiler"; + case Yv: + return "StrictMode"; + case tv: + return "Suspense"; + case rv: + return "SuspenseList"; + } + if (typeof e == "object") switch (e.$$typeof) { + case Mb: + return (e.displayName || "Context") + ".Consumer"; + case Nb: + return (e._context.displayName || "Context") + ".Provider"; + case Kv: + var t = e.render; + return e = e.displayName, e || (e = t.displayName || t.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e; + case Xv: + return t = e.displayName || null, t !== null ? t : nv(e.type) || "Memo"; + case ra: + t = e._payload, e = e._init; + try { + return nv(e(t)); + } catch { + } + } + return null; + } + a(nv, "Qa"); + function GB(e) { + var t = e.type; + switch (e.tag) { + case 24: + return "Cache"; + case 9: + return (t.displayName || "Context") + ".Consumer"; + case 10: + return (t._context.displayName || "Context") + ".Provider"; + case 18: + return "DehydratedFragment"; + case 11: + return e = t.render, e = e.displayName || e.name || "", t.displayName || (e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"); + case 7: + return "Fragment"; + case 5: + return t; + case 4: + return "Portal"; + case 3: + return "Root"; + case 6: + return "Text"; + case 16: + return nv(t); + case 8: + return t === Yv ? "StrictMode" : "Mode"; + case 22: + return "Offscreen"; + case 12: + return "Profiler"; + case 21: + return "Scope"; + case 13: + return "Suspense"; + case 19: + return "SuspenseList"; + case 25: + return "TracingMarker"; + case 1: + case 0: + case 17: + case 2: + case 14: + case 15: + if (typeof t == "function") return t.displayName || t.name || null; + if (typeof t == "string") return t; + } + return null; + } + a(GB, "Ra"); + function ga(e) { + switch (typeof e) { + case "boolean": + case "number": + case "string": + case "undefined": + return e; + case "object": + return e; + default: + return ""; + } + } + a(ga, "Sa"); + function zb(e) { + var t = e.type; + return (e = e.nodeName) && e.toLowerCase() === "input" && (t === "checkbox" || t === "radio"); + } + a(zb, "Ta"); + function YB(e) { + var t = zb(e) ? "checked" : "value", r = Object.getOwnPropertyDescriptor(e.constructor.prototype, t), n = "" + e[t]; + if (!e.hasOwnProperty(t) && typeof r < "u" && typeof r.get == "function" && typeof r.set == "function") { + var o = r.get, i = r.set; + return Object.defineProperty(e, t, { configurable: !0, get: /* @__PURE__ */ a(function() { + return o.call(this); + }, "get"), set: /* @__PURE__ */ a(function(s) { + n = "" + s, i.call(this, s); + }, "set") }), Object.defineProperty(e, t, { enumerable: r.enumerable }), { getValue: /* @__PURE__ */ a(function() { + return n; + }, "getValue"), setValue: /* @__PURE__ */ a(function(s) { + n = "" + s; + }, "setValue"), stopTracking: /* @__PURE__ */ a(function() { + e._valueTracker = null, delete e[t]; + }, "stopTracking") }; + } + } + a(YB, "Ua"); + function Ed(e) { + e._valueTracker || (e._valueTracker = YB(e)); + } + a(Ed, "Va"); + function Hb(e) { + if (!e) return !1; + var t = e._valueTracker; + if (!t) return !0; + var r = t.getValue(), n = ""; + return e && (n = zb(e) ? e.checked ? "true" : "false" : e.value), e = n, e !== r ? (t.setValue(e), !0) : !1; + } + a(Hb, "Wa"); + function Kd(e) { + if (e = e || (typeof document < "u" ? document : void 0), typeof e > "u") return null; + try { + return e.activeElement || e.body; + } catch { + return e.body; + } + } + a(Kd, "Xa"); + function ov(e, t) { + var r = t.checked; + return Be({}, t, { defaultChecked: void 0, defaultValue: void 0, value: void 0, checked: r ?? e._wrapperState.initialChecked }); + } + a(ov, "Ya"); + function PE(e, t) { + var r = t.defaultValue == null ? "" : t.defaultValue, n = t.checked != null ? t.checked : t.defaultChecked; + r = ga(t.value != null ? t.value : r), e._wrapperState = { initialChecked: n, initialValue: r, controlled: t.type === "checkbox" || t.type === + "radio" ? t.checked != null : t.value != null }; + } + a(PE, "Za"); + function $b(e, t) { + t = t.checked, t != null && Gv(e, "checked", t, !1); + } + a($b, "ab"); + function av(e, t) { + $b(e, t); + var r = ga(t.value), n = t.type; + if (r != null) n === "number" ? (r === 0 && e.value === "" || e.value != r) && (e.value = "" + r) : e.value !== "" + r && (e.value = "" + + r); + else if (n === "submit" || n === "reset") { + e.removeAttribute("value"); + return; + } + t.hasOwnProperty("value") ? iv(e, t.type, r) : t.hasOwnProperty("defaultValue") && iv(e, t.type, ga(t.defaultValue)), t.checked == null && + t.defaultChecked != null && (e.defaultChecked = !!t.defaultChecked); + } + a(av, "bb"); + function kE(e, t, r) { + if (t.hasOwnProperty("value") || t.hasOwnProperty("defaultValue")) { + var n = t.type; + if (!(n !== "submit" && n !== "reset" || t.value !== void 0 && t.value !== null)) return; + t = "" + e._wrapperState.initialValue, r || t === e.value || (e.value = t), e.defaultValue = t; + } + r = e.name, r !== "" && (e.name = ""), e.defaultChecked = !!e._wrapperState.initialChecked, r !== "" && (e.name = r); + } + a(kE, "db"); + function iv(e, t, r) { + (t !== "number" || Kd(e.ownerDocument) !== e) && (r == null ? e.defaultValue = "" + e._wrapperState.initialValue : e.defaultValue !== "" + + r && (e.defaultValue = "" + r)); + } + a(iv, "cb"); + var Fc = Array.isArray; + function Ms(e, t, r, n) { + if (e = e.options, t) { + t = {}; + for (var o = 0; o < r.length; o++) t["$" + r[o]] = !0; + for (r = 0; r < e.length; r++) o = t.hasOwnProperty("$" + e[r].value), e[r].selected !== o && (e[r].selected = o), o && n && (e[r].defaultSelected = + !0); + } else { + for (r = "" + ga(r), t = null, o = 0; o < e.length; o++) { + if (e[o].value === r) { + e[o].selected = !0, n && (e[o].defaultSelected = !0); + return; + } + t !== null || e[o].disabled || (t = e[o]); + } + t !== null && (t.selected = !0); + } + } + a(Ms, "fb"); + function sv(e, t) { + if (t.dangerouslySetInnerHTML != null) throw Error(M(91)); + return Be({}, t, { value: void 0, defaultValue: void 0, children: "" + e._wrapperState.initialValue }); + } + a(sv, "gb"); + function FE(e, t) { + var r = t.value; + if (r == null) { + if (r = t.children, t = t.defaultValue, r != null) { + if (t != null) throw Error(M(92)); + if (Fc(r)) { + if (1 < r.length) throw Error(M(93)); + r = r[0]; + } + t = r; + } + t == null && (t = ""), r = t; + } + e._wrapperState = { initialValue: ga(r) }; + } + a(FE, "hb"); + function jb(e, t) { + var r = ga(t.value), n = ga(t.defaultValue); + r != null && (r = "" + r, r !== e.value && (e.value = r), t.defaultValue == null && e.defaultValue !== r && (e.defaultValue = r)), n != null && + (e.defaultValue = "" + n); + } + a(jb, "ib"); + function LE(e) { + var t = e.textContent; + t === e._wrapperState.initialValue && t !== "" && t !== null && (e.value = t); + } + a(LE, "jb"); + function Vb(e) { + switch (e) { + 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"; + } + } + a(Vb, "kb"); + function lv(e, t) { + return e == null || e === "http://www.w3.org/1999/xhtml" ? Vb(t) : e === "http://www.w3.org/2000/svg" && t === "foreignObject" ? "http:/\ +/www.w3.org/1999/xhtml" : e; + } + a(lv, "lb"); + var bd, Ub = function(e) { + return typeof MSApp < "u" && MSApp.execUnsafeLocalFunction ? function(t, r, n, o) { + MSApp.execUnsafeLocalFunction(function() { + return e(t, r, n, o); + }); + } : e; + }(function(e, t) { + if (e.namespaceURI !== "http://www.w3.org/2000/svg" || "innerHTML" in e) e.innerHTML = t; + else { + for (bd = bd || document.createElement("div"), bd.innerHTML = "" + t.valueOf().toString() + "", t = bd.firstChild; e.firstChild; ) + e.removeChild(e.firstChild); + for (; t.firstChild; ) e.appendChild(t.firstChild); + } + }); + function qc(e, t) { + if (t) { + var r = e.firstChild; + if (r && r === e.lastChild && r.nodeType === 3) { + r.nodeValue = t; + return; + } + } + e.textContent = t; + } + a(qc, "ob"); + var Nc = { + animationIterationCount: !0, + aspectRatio: !0, + borderImageOutset: !0, + borderImageSlice: !0, + borderImageWidth: !0, + boxFlex: !0, + boxFlexGroup: !0, + boxOrdinalGroup: !0, + columnCount: !0, + columns: !0, + flex: !0, + flexGrow: !0, + flexPositive: !0, + flexShrink: !0, + flexNegative: !0, + flexOrder: !0, + gridArea: !0, + gridRow: !0, + gridRowEnd: !0, + gridRowSpan: !0, + gridRowStart: !0, + gridColumn: !0, + gridColumnEnd: !0, + gridColumnSpan: !0, + gridColumnStart: !0, + fontWeight: !0, + lineClamp: !0, + lineHeight: !0, + opacity: !0, + order: !0, + orphans: !0, + tabSize: !0, + widows: !0, + zIndex: !0, + zoom: !0, + fillOpacity: !0, + floodOpacity: !0, + stopOpacity: !0, + strokeDasharray: !0, + strokeDashoffset: !0, + strokeMiterlimit: !0, + strokeOpacity: !0, + strokeWidth: !0 + }, KB = ["Webkit", "ms", "Moz", "O"]; + Object.keys(Nc).forEach(function(e) { + KB.forEach(function(t) { + t = t + e.charAt(0).toUpperCase() + e.substring(1), Nc[t] = Nc[e]; + }); + }); + function Wb(e, t, r) { + return t == null || typeof t == "boolean" || t === "" ? "" : r || typeof t != "number" || t === 0 || Nc.hasOwnProperty(e) && Nc[e] ? ("" + + t).trim() : t + "px"; + } + a(Wb, "rb"); + function qb(e, t) { + e = e.style; + for (var r in t) if (t.hasOwnProperty(r)) { + var n = r.indexOf("--") === 0, o = Wb(r, t[r], n); + r === "float" && (r = "cssFloat"), n ? e.setProperty(r, o) : e[r] = o; + } + } + a(qb, "sb"); + var XB = Be({ menuitem: !0 }, { area: !0, base: !0, br: !0, col: !0, embed: !0, hr: !0, img: !0, input: !0, keygen: !0, link: !0, meta: !0, + param: !0, source: !0, track: !0, wbr: !0 }); + function uv(e, t) { + if (t) { + if (XB[e] && (t.children != null || t.dangerouslySetInnerHTML != null)) throw Error(M(137, e)); + if (t.dangerouslySetInnerHTML != null) { + if (t.children != null) throw Error(M(60)); + if (typeof t.dangerouslySetInnerHTML != "object" || !("__html" in t.dangerouslySetInnerHTML)) throw Error(M(61)); + } + if (t.style != null && typeof t.style != "object") throw Error(M(62)); + } + } + a(uv, "ub"); + function cv(e, t) { + if (e.indexOf("-") === -1) return typeof t.is == "string"; + switch (e) { + 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 !1; + default: + return !0; + } + } + a(cv, "vb"); + var pv = null; + function Qv(e) { + return e = e.target || e.srcElement || window, e.correspondingUseElement && (e = e.correspondingUseElement), e.nodeType === 3 ? e.parentNode : + e; + } + a(Qv, "xb"); + var fv = null, Bs = null, zs = null; + function OE(e) { + if (e = cp(e)) { + if (typeof fv != "function") throw Error(M(280)); + var t = e.stateNode; + t && (t = x0(t), fv(e.stateNode, e.type, t)); + } + } + a(OE, "Bb"); + function Gb(e) { + Bs ? zs ? zs.push(e) : zs = [e] : Bs = e; + } + a(Gb, "Eb"); + function Yb() { + if (Bs) { + var e = Bs, t = zs; + if (zs = Bs = null, OE(e), t) for (e = 0; e < t.length; e++) OE(t[e]); + } + } + a(Yb, "Fb"); + function Kb(e, t) { + return e(t); + } + a(Kb, "Gb"); + function Xb() { + } + a(Xb, "Hb"); + var L2 = !1; + function Qb(e, t, r) { + if (L2) return e(t, r); + L2 = !0; + try { + return Kb(e, t, r); + } finally { + L2 = !1, (Bs !== null || zs !== null) && (Xb(), Yb()); + } + } + a(Qb, "Jb"); + function Gc(e, t) { + var r = e.stateNode; + if (r === null) return null; + var n = x0(r); + if (n === null) return null; + r = n[t]; + e: switch (t) { + case "onClick": + case "onClickCapture": + case "onDoubleClick": + case "onDoubleClickCapture": + case "onMouseDown": + case "onMouseDownCapture": + case "onMouseMove": + case "onMouseMoveCapture": + case "onMouseUp": + case "onMouseUpCapture": + case "onMouseEnter": + (n = !n.disabled) || (e = e.type, n = !(e === "button" || e === "input" || e === "select" || e === "textarea")), e = !n; + break e; + default: + e = !1; + } + if (e) return null; + if (r && typeof r != "function") throw Error(M(231, t, typeof r)); + return r; + } + a(Gc, "Kb"); + var dv = !1; + if (So) try { + xs = {}, Object.defineProperty(xs, "passive", { get: /* @__PURE__ */ a(function() { + dv = !0; + }, "get") }), window.addEventListener("test", xs, xs), window.removeEventListener("test", xs, xs); + } catch { + dv = !1; + } + var xs; + function QB(e, t, r, n, o, i, s, l, u) { + var c = Array.prototype.slice.call(arguments, 3); + try { + t.apply(r, c); + } catch (p) { + this.onError(p); + } + } + a(QB, "Nb"); + var Mc = !1, Xd = null, Qd = !1, hv = null, JB = { onError: /* @__PURE__ */ a(function(e) { + Mc = !0, Xd = e; + }, "onError") }; + function ZB(e, t, r, n, o, i, s, l, u) { + Mc = !1, Xd = null, QB.apply(JB, arguments); + } + a(ZB, "Tb"); + function ez(e, t, r, n, o, i, s, l, u) { + if (ZB.apply(this, arguments), Mc) { + if (Mc) { + var c = Xd; + Mc = !1, Xd = null; + } else throw Error(M(198)); + Qd || (Qd = !0, hv = c); + } + } + a(ez, "Ub"); + function wi(e) { + var t = e, r = e; + if (e.alternate) for (; t.return; ) t = t.return; + else { + e = t; + do + t = e, (t.flags & 4098) !== 0 && (r = t.return), e = t.return; + while (e); + } + return t.tag === 3 ? r : null; + } + a(wi, "Vb"); + function Jb(e) { + if (e.tag === 13) { + var t = e.memoizedState; + if (t === null && (e = e.alternate, e !== null && (t = e.memoizedState)), t !== null) return t.dehydrated; + } + return null; + } + a(Jb, "Wb"); + function NE(e) { + if (wi(e) !== e) throw Error(M(188)); + } + a(NE, "Xb"); + function tz(e) { + var t = e.alternate; + if (!t) { + if (t = wi(e), t === null) throw Error(M(188)); + return t !== e ? null : e; + } + for (var r = e, n = t; ; ) { + var o = r.return; + if (o === null) break; + var i = o.alternate; + if (i === null) { + if (n = o.return, n !== null) { + r = n; + continue; + } + break; + } + if (o.child === i.child) { + for (i = o.child; i; ) { + if (i === r) return NE(o), e; + if (i === n) return NE(o), t; + i = i.sibling; + } + throw Error(M(188)); + } + if (r.return !== n.return) r = o, n = i; + else { + for (var s = !1, l = o.child; l; ) { + if (l === r) { + s = !0, r = o, n = i; + break; + } + if (l === n) { + s = !0, n = o, r = i; + break; + } + l = l.sibling; + } + if (!s) { + for (l = i.child; l; ) { + if (l === r) { + s = !0, r = i, n = o; + break; + } + if (l === n) { + s = !0, n = i, r = o; + break; + } + l = l.sibling; + } + if (!s) throw Error(M(189)); + } + } + if (r.alternate !== n) throw Error(M(190)); + } + if (r.tag !== 3) throw Error(M(188)); + return r.stateNode.current === r ? e : t; + } + a(tz, "Yb"); + function Zb(e) { + return e = tz(e), e !== null ? ex(e) : null; + } + a(Zb, "Zb"); + function ex(e) { + if (e.tag === 5 || e.tag === 6) return e; + for (e = e.child; e !== null; ) { + var t = ex(e); + if (t !== null) return t; + e = e.sibling; + } + return null; + } + a(ex, "$b"); + var tx = xr.unstable_scheduleCallback, ME = xr.unstable_cancelCallback, rz = xr.unstable_shouldYield, nz = xr.unstable_requestPaint, Ge = xr. + unstable_now, oz = xr.unstable_getCurrentPriorityLevel, Jv = xr.unstable_ImmediatePriority, rx = xr.unstable_UserBlockingPriority, Jd = xr. + unstable_NormalPriority, az = xr.unstable_LowPriority, nx = xr.unstable_IdlePriority, w0 = null, Vn = null; + function iz(e) { + if (Vn && typeof Vn.onCommitFiberRoot == "function") try { + Vn.onCommitFiberRoot(w0, e, void 0, (e.current.flags & 128) === 128); + } catch { + } + } + a(iz, "mc"); + var yn = Math.clz32 ? Math.clz32 : uz, sz = Math.log, lz = Math.LN2; + function uz(e) { + return e >>>= 0, e === 0 ? 32 : 31 - (sz(e) / lz | 0) | 0; + } + a(uz, "nc"); + var xd = 64, Cd = 4194304; + function Lc(e) { + switch (e & -e) { + 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 e & 4194240; + case 4194304: + case 8388608: + case 16777216: + case 33554432: + case 67108864: + return e & 130023424; + case 134217728: + return 134217728; + case 268435456: + return 268435456; + case 536870912: + return 536870912; + case 1073741824: + return 1073741824; + default: + return e; + } + } + a(Lc, "tc"); + function Zd(e, t) { + var r = e.pendingLanes; + if (r === 0) return 0; + var n = 0, o = e.suspendedLanes, i = e.pingedLanes, s = r & 268435455; + if (s !== 0) { + var l = s & ~o; + l !== 0 ? n = Lc(l) : (i &= s, i !== 0 && (n = Lc(i))); + } else s = r & ~o, s !== 0 ? n = Lc(s) : i !== 0 && (n = Lc(i)); + if (n === 0) return 0; + if (t !== 0 && t !== n && (t & o) === 0 && (o = n & -n, i = t & -t, o >= i || o === 16 && (i & 4194240) !== 0)) return t; + if ((n & 4) !== 0 && (n |= r & 16), t = e.entangledLanes, t !== 0) for (e = e.entanglements, t &= n; 0 < t; ) r = 31 - yn(t), o = 1 << r, + n |= e[r], t &= ~o; + return n; + } + a(Zd, "uc"); + function cz(e, t) { + switch (e) { + case 1: + case 2: + case 4: + return t + 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 t + 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; + } + } + a(cz, "vc"); + function pz(e, t) { + for (var r = e.suspendedLanes, n = e.pingedLanes, o = e.expirationTimes, i = e.pendingLanes; 0 < i; ) { + var s = 31 - yn(i), l = 1 << s, u = o[s]; + u === -1 ? ((l & r) === 0 || (l & n) !== 0) && (o[s] = cz(l, t)) : u <= t && (e.expiredLanes |= l), i &= ~l; + } + } + a(pz, "wc"); + function mv(e) { + return e = e.pendingLanes & -1073741825, e !== 0 ? e : e & 1073741824 ? 1073741824 : 0; + } + a(mv, "xc"); + function ox() { + var e = xd; + return xd <<= 1, (xd & 4194240) === 0 && (xd = 64), e; + } + a(ox, "yc"); + function O2(e) { + for (var t = [], r = 0; 31 > r; r++) t.push(e); + return t; + } + a(O2, "zc"); + function lp(e, t, r) { + e.pendingLanes |= t, t !== 536870912 && (e.suspendedLanes = 0, e.pingedLanes = 0), e = e.eventTimes, t = 31 - yn(t), e[t] = r; + } + a(lp, "Ac"); + function fz(e, t) { + var r = e.pendingLanes & ~t; + e.pendingLanes = t, e.suspendedLanes = 0, e.pingedLanes = 0, e.expiredLanes &= t, e.mutableReadLanes &= t, e.entangledLanes &= t, t = e. + entanglements; + var n = e.eventTimes; + for (e = e.expirationTimes; 0 < r; ) { + var o = 31 - yn(r), i = 1 << o; + t[o] = 0, n[o] = -1, e[o] = -1, r &= ~i; + } + } + a(fz, "Bc"); + function Zv(e, t) { + var r = e.entangledLanes |= t; + for (e = e.entanglements; r; ) { + var n = 31 - yn(r), o = 1 << n; + o & t | e[n] & t && (e[n] |= t), r &= ~o; + } + } + a(Zv, "Cc"); + var me = 0; + function ax(e) { + return e &= -e, 1 < e ? 4 < e ? (e & 268435455) !== 0 ? 16 : 536870912 : 4 : 1; + } + a(ax, "Dc"); + var ix, e5, sx, lx, ux, gv = !1, Rd = [], la = null, ua = null, ca = null, Yc = /* @__PURE__ */ new Map(), Kc = /* @__PURE__ */ new Map(), + oa = [], dz = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart d\ +rop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" "); + function BE(e, t) { + switch (e) { + case "focusin": + case "focusout": + la = null; + break; + case "dragenter": + case "dragleave": + ua = null; + break; + case "mouseover": + case "mouseout": + ca = null; + break; + case "pointerover": + case "pointerout": + Yc.delete(t.pointerId); + break; + case "gotpointercapture": + case "lostpointercapture": + Kc.delete(t.pointerId); + } + } + a(BE, "Sc"); + function Rc(e, t, r, n, o, i) { + return e === null || e.nativeEvent !== i ? (e = { blockedOn: t, domEventName: r, eventSystemFlags: n, nativeEvent: i, targetContainers: [ + o] }, t !== null && (t = cp(t), t !== null && e5(t)), e) : (e.eventSystemFlags |= n, t = e.targetContainers, o !== null && t.indexOf(o) === + -1 && t.push(o), e); + } + a(Rc, "Tc"); + function hz(e, t, r, n, o) { + switch (t) { + case "focusin": + return la = Rc(la, e, t, r, n, o), !0; + case "dragenter": + return ua = Rc(ua, e, t, r, n, o), !0; + case "mouseover": + return ca = Rc(ca, e, t, r, n, o), !0; + case "pointerover": + var i = o.pointerId; + return Yc.set(i, Rc(Yc.get(i) || null, e, t, r, n, o)), !0; + case "gotpointercapture": + return i = o.pointerId, Kc.set(i, Rc(Kc.get(i) || null, e, t, r, n, o)), !0; + } + return !1; + } + a(hz, "Uc"); + function cx(e) { + var t = li(e.target); + if (t !== null) { + var r = wi(t); + if (r !== null) { + if (t = r.tag, t === 13) { + if (t = Jb(r), t !== null) { + e.blockedOn = t, ux(e.priority, function() { + sx(r); + }); + return; + } + } else if (t === 3 && r.stateNode.current.memoizedState.isDehydrated) { + e.blockedOn = r.tag === 3 ? r.stateNode.containerInfo : null; + return; + } + } + } + e.blockedOn = null; + } + a(cx, "Vc"); + function zd(e) { + if (e.blockedOn !== null) return !1; + for (var t = e.targetContainers; 0 < t.length; ) { + var r = vv(e.domEventName, e.eventSystemFlags, t[0], e.nativeEvent); + if (r === null) { + r = e.nativeEvent; + var n = new r.constructor(r.type, r); + pv = n, r.target.dispatchEvent(n), pv = null; + } else return t = cp(r), t !== null && e5(t), e.blockedOn = r, !1; + t.shift(); + } + return !0; + } + a(zd, "Xc"); + function zE(e, t, r) { + zd(e) && r.delete(t); + } + a(zE, "Zc"); + function mz() { + gv = !1, la !== null && zd(la) && (la = null), ua !== null && zd(ua) && (ua = null), ca !== null && zd(ca) && (ca = null), Yc.forEach(zE), + Kc.forEach(zE); + } + a(mz, "$c"); + function Dc(e, t) { + e.blockedOn === t && (e.blockedOn = null, gv || (gv = !0, xr.unstable_scheduleCallback(xr.unstable_NormalPriority, mz))); + } + a(Dc, "ad"); + function Xc(e) { + function t(o) { + return Dc(o, e); + } + if (a(t, "b"), 0 < Rd.length) { + Dc(Rd[0], e); + for (var r = 1; r < Rd.length; r++) { + var n = Rd[r]; + n.blockedOn === e && (n.blockedOn = null); + } + } + for (la !== null && Dc(la, e), ua !== null && Dc(ua, e), ca !== null && Dc(ca, e), Yc.forEach(t), Kc.forEach(t), r = 0; r < oa.length; r++) + n = oa[r], n.blockedOn === e && (n.blockedOn = null); + for (; 0 < oa.length && (r = oa[0], r.blockedOn === null); ) cx(r), r.blockedOn === null && oa.shift(); + } + a(Xc, "bd"); + var Hs = Co.ReactCurrentBatchConfig, e0 = !0; + function gz(e, t, r, n) { + var o = me, i = Hs.transition; + Hs.transition = null; + try { + me = 1, t5(e, t, r, n); + } finally { + me = o, Hs.transition = i; + } + } + a(gz, "ed"); + function vz(e, t, r, n) { + var o = me, i = Hs.transition; + Hs.transition = null; + try { + me = 4, t5(e, t, r, n); + } finally { + me = o, Hs.transition = i; + } + } + a(vz, "gd"); + function t5(e, t, r, n) { + if (e0) { + var o = vv(e, t, r, n); + if (o === null) j2(e, t, n, t0, r), BE(e, n); + else if (hz(o, e, t, r, n)) n.stopPropagation(); + else if (BE(e, n), t & 4 && -1 < dz.indexOf(e)) { + for (; o !== null; ) { + var i = cp(o); + if (i !== null && ix(i), i = vv(e, t, r, n), i === null && j2(e, t, n, t0, r), i === o) break; + o = i; + } + o !== null && n.stopPropagation(); + } else j2(e, t, n, null, r); + } + } + a(t5, "fd"); + var t0 = null; + function vv(e, t, r, n) { + if (t0 = null, e = Qv(n), e = li(e), e !== null) if (t = wi(e), t === null) e = null; + else if (r = t.tag, r === 13) { + if (e = Jb(t), e !== null) return e; + e = null; + } else if (r === 3) { + if (t.stateNode.current.memoizedState.isDehydrated) return t.tag === 3 ? t.stateNode.containerInfo : null; + e = null; + } else t !== e && (e = null); + return t0 = e, null; + } + a(vv, "Yc"); + function px(e) { + switch (e) { + 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 (oz()) { + case Jv: + return 1; + case rx: + return 4; + case Jd: + case az: + return 16; + case nx: + return 536870912; + default: + return 16; + } + default: + return 16; + } + } + a(px, "jd"); + var ia = null, r5 = null, Hd = null; + function fx() { + if (Hd) return Hd; + var e, t = r5, r = t.length, n, o = "value" in ia ? ia.value : ia.textContent, i = o.length; + for (e = 0; e < r && t[e] === o[e]; e++) ; + var s = r - e; + for (n = 1; n <= s && t[r - n] === o[i - n]; n++) ; + return Hd = o.slice(e, 1 < n ? 1 - n : void 0); + } + a(fx, "nd"); + function $d(e) { + var t = e.keyCode; + return "charCode" in e ? (e = e.charCode, e === 0 && t === 13 && (e = 13)) : e = t, e === 10 && (e = 13), 32 <= e || e === 13 ? e : 0; + } + a($d, "od"); + function Dd() { + return !0; + } + a(Dd, "pd"); + function HE() { + return !1; + } + a(HE, "qd"); + function Cr(e) { + function t(r, n, o, i, s) { + this._reactName = r, this._targetInst = o, this.type = n, this.nativeEvent = i, this.target = s, this.currentTarget = null; + for (var l in e) e.hasOwnProperty(l) && (r = e[l], this[l] = r ? r(i) : i[l]); + return this.isDefaultPrevented = (i.defaultPrevented != null ? i.defaultPrevented : i.returnValue === !1) ? Dd : HE, this.isPropagationStopped = + HE, this; + } + return a(t, "b"), Be(t.prototype, { preventDefault: /* @__PURE__ */ a(function() { + this.defaultPrevented = !0; + var r = this.nativeEvent; + r && (r.preventDefault ? r.preventDefault() : typeof r.returnValue != "unknown" && (r.returnValue = !1), this.isDefaultPrevented = Dd); + }, "preventDefault"), stopPropagation: /* @__PURE__ */ a(function() { + var r = this.nativeEvent; + r && (r.stopPropagation ? r.stopPropagation() : typeof r.cancelBubble != "unknown" && (r.cancelBubble = !0), this.isPropagationStopped = + Dd); + }, "stopPropagation"), persist: /* @__PURE__ */ a(function() { + }, "persist"), isPersistent: Dd }), t; + } + a(Cr, "rd"); + var Xs = { eventPhase: 0, bubbles: 0, cancelable: 0, timeStamp: /* @__PURE__ */ a(function(e) { + return e.timeStamp || Date.now(); + }, "timeStamp"), defaultPrevented: 0, isTrusted: 0 }, n5 = Cr(Xs), up = Be({}, Xs, { view: 0, detail: 0 }), yz = Cr(up), N2, M2, Ac, S0 = Be( + {}, up, { screenX: 0, screenY: 0, clientX: 0, clientY: 0, pageX: 0, pageY: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, getModifierState: o5, + button: 0, buttons: 0, relatedTarget: /* @__PURE__ */ a(function(e) { + return e.relatedTarget === void 0 ? e.fromElement === e.srcElement ? e.toElement : e.fromElement : e.relatedTarget; + }, "relatedTarget"), movementX: /* @__PURE__ */ a(function(e) { + return "movementX" in e ? e.movementX : (e !== Ac && (Ac && e.type === "mousemove" ? (N2 = e.screenX - Ac.screenX, M2 = e.screenY - Ac.screenY) : + M2 = N2 = 0, Ac = e), N2); + }, "movementX"), movementY: /* @__PURE__ */ a(function(e) { + return "movementY" in e ? e.movementY : M2; + }, "movementY") }), $E = Cr(S0), wz = Be({}, S0, { dataTransfer: 0 }), Sz = Cr(wz), Ez = Be({}, up, { relatedTarget: 0 }), B2 = Cr(Ez), bz = Be( + {}, Xs, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }), xz = Cr(bz), Cz = Be({}, Xs, { clipboardData: /* @__PURE__ */ a(function(e) { + return "clipboardData" in e ? e.clipboardData : window.clipboardData; + }, "clipboardData") }), Rz = Cr(Cz), Dz = Be({}, Xs, { data: 0 }), jE = Cr(Dz), Az = { + Esc: "Escape", + Spacebar: " ", + Left: "ArrowLeft", + Up: "ArrowUp", + Right: "ArrowRight", + Down: "ArrowDown", + Del: "Delete", + Win: "OS", + Menu: "ContextMenu", + Apps: "ContextMenu", + Scroll: "ScrollLock", + MozPrintableKey: "Unidentified" + }, _z = { + 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" + }, Tz = { Alt: "altKey", Control: "ctrlKey", Meta: "metaKey", Shift: "shiftKey" }; + function Iz(e) { + var t = this.nativeEvent; + return t.getModifierState ? t.getModifierState(e) : (e = Tz[e]) ? !!t[e] : !1; + } + a(Iz, "Pd"); + function o5() { + return Iz; + } + a(o5, "zd"); + var Pz = Be({}, up, { key: /* @__PURE__ */ a(function(e) { + if (e.key) { + var t = Az[e.key] || e.key; + if (t !== "Unidentified") return t; + } + return e.type === "keypress" ? (e = $d(e), e === 13 ? "Enter" : String.fromCharCode(e)) : e.type === "keydown" || e.type === "keyup" ? _z[e. + keyCode] || "Unidentified" : ""; + }, "key"), code: 0, location: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, repeat: 0, locale: 0, getModifierState: o5, charCode: /* @__PURE__ */ a( + function(e) { + return e.type === "keypress" ? $d(e) : 0; + }, "charCode"), keyCode: /* @__PURE__ */ a(function(e) { + return e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0; + }, "keyCode"), which: /* @__PURE__ */ a(function(e) { + return e.type === "keypress" ? $d(e) : e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0; + }, "which") }), kz = Cr(Pz), Fz = Be({}, S0, { pointerId: 0, width: 0, height: 0, pressure: 0, tangentialPressure: 0, tiltX: 0, tiltY: 0, twist: 0, + pointerType: 0, isPrimary: 0 }), VE = Cr(Fz), Lz = Be({}, up, { touches: 0, targetTouches: 0, changedTouches: 0, altKey: 0, metaKey: 0, ctrlKey: 0, + shiftKey: 0, getModifierState: o5 }), Oz = Cr(Lz), Nz = Be({}, Xs, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }), Mz = Cr(Nz), Bz = Be( + {}, S0, { + deltaX: /* @__PURE__ */ a(function(e) { + return "deltaX" in e ? e.deltaX : "wheelDeltaX" in e ? -e.wheelDeltaX : 0; + }, "deltaX"), + deltaY: /* @__PURE__ */ a(function(e) { + return "deltaY" in e ? e.deltaY : "wheelDeltaY" in e ? -e.wheelDeltaY : "wheelDelta" in e ? -e.wheelDelta : 0; + }, "deltaY"), + deltaZ: 0, + deltaMode: 0 + }), zz = Cr(Bz), Hz = [9, 13, 27, 32], a5 = So && "CompositionEvent" in window, Bc = null; + So && "documentMode" in document && (Bc = document.documentMode); + var $z = So && "TextEvent" in window && !Bc, dx = So && (!a5 || Bc && 8 < Bc && 11 >= Bc), UE = " ", WE = !1; + function hx(e, t) { + switch (e) { + case "keyup": + return Hz.indexOf(t.keyCode) !== -1; + case "keydown": + return t.keyCode !== 229; + case "keypress": + case "mousedown": + case "focusout": + return !0; + default: + return !1; + } + } + a(hx, "ge"); + function mx(e) { + return e = e.detail, typeof e == "object" && "data" in e ? e.data : null; + } + a(mx, "he"); + var As = !1; + function jz(e, t) { + switch (e) { + case "compositionend": + return mx(t); + case "keypress": + return t.which !== 32 ? null : (WE = !0, UE); + case "textInput": + return e = t.data, e === UE && WE ? null : e; + default: + return null; + } + } + a(jz, "je"); + function Vz(e, t) { + if (As) return e === "compositionend" || !a5 && hx(e, t) ? (e = fx(), Hd = r5 = ia = null, As = !1, e) : null; + switch (e) { + case "paste": + return null; + case "keypress": + if (!(t.ctrlKey || t.altKey || t.metaKey) || t.ctrlKey && t.altKey) { + if (t.char && 1 < t.char.length) return t.char; + if (t.which) return String.fromCharCode(t.which); + } + return null; + case "compositionend": + return dx && t.locale !== "ko" ? null : t.data; + default: + return null; + } + } + a(Vz, "ke"); + var Uz = { color: !0, date: !0, datetime: !0, "datetime-local": !0, email: !0, month: !0, number: !0, password: !0, range: !0, search: !0, + tel: !0, text: !0, time: !0, url: !0, week: !0 }; + function qE(e) { + var t = e && e.nodeName && e.nodeName.toLowerCase(); + return t === "input" ? !!Uz[e.type] : t === "textarea"; + } + a(qE, "me"); + function gx(e, t, r, n) { + Gb(n), t = r0(t, "onChange"), 0 < t.length && (r = new n5("onChange", "change", null, r, n), e.push({ event: r, listeners: t })); + } + a(gx, "ne"); + var zc = null, Qc = null; + function Wz(e) { + Ax(e, 0); + } + a(Wz, "re"); + function E0(e) { + var t = Is(e); + if (Hb(t)) return e; + } + a(E0, "te"); + function qz(e, t) { + if (e === "change") return t; + } + a(qz, "ve"); + var vx = !1; + So && (So ? (_d = "oninput" in document, _d || (z2 = document.createElement("div"), z2.setAttribute("oninput", "return;"), _d = typeof z2. + oninput == "function"), Ad = _d) : Ad = !1, vx = Ad && (!document.documentMode || 9 < document.documentMode)); + var Ad, _d, z2; + function GE() { + zc && (zc.detachEvent("onpropertychange", yx), Qc = zc = null); + } + a(GE, "Ae"); + function yx(e) { + if (e.propertyName === "value" && E0(Qc)) { + var t = []; + gx(t, Qc, e, Qv(e)), Qb(Wz, t); + } + } + a(yx, "Be"); + function Gz(e, t, r) { + e === "focusin" ? (GE(), zc = t, Qc = r, zc.attachEvent("onpropertychange", yx)) : e === "focusout" && GE(); + } + a(Gz, "Ce"); + function Yz(e) { + if (e === "selectionchange" || e === "keyup" || e === "keydown") return E0(Qc); + } + a(Yz, "De"); + function Kz(e, t) { + if (e === "click") return E0(t); + } + a(Kz, "Ee"); + function Xz(e, t) { + if (e === "input" || e === "change") return E0(t); + } + a(Xz, "Fe"); + function Qz(e, t) { + return e === t && (e !== 0 || 1 / e === 1 / t) || e !== e && t !== t; + } + a(Qz, "Ge"); + var Sn = typeof Object.is == "function" ? Object.is : Qz; + function Jc(e, t) { + if (Sn(e, t)) return !0; + if (typeof e != "object" || e === null || typeof t != "object" || t === null) return !1; + var r = Object.keys(e), n = Object.keys(t); + if (r.length !== n.length) return !1; + for (n = 0; n < r.length; n++) { + var o = r[n]; + if (!Z2.call(t, o) || !Sn(e[o], t[o])) return !1; + } + return !0; + } + a(Jc, "Ie"); + function YE(e) { + for (; e && e.firstChild; ) e = e.firstChild; + return e; + } + a(YE, "Je"); + function KE(e, t) { + var r = YE(e); + e = 0; + for (var n; r; ) { + if (r.nodeType === 3) { + if (n = e + r.textContent.length, e <= t && n >= t) return { node: r, offset: t - e }; + e = n; + } + e: { + for (; r; ) { + if (r.nextSibling) { + r = r.nextSibling; + break e; + } + r = r.parentNode; + } + r = void 0; + } + r = YE(r); + } + } + a(KE, "Ke"); + function wx(e, t) { + return e && t ? e === t ? !0 : e && e.nodeType === 3 ? !1 : t && t.nodeType === 3 ? wx(e, t.parentNode) : "contains" in e ? e.contains(t) : + e.compareDocumentPosition ? !!(e.compareDocumentPosition(t) & 16) : !1 : !1; + } + a(wx, "Le"); + function Sx() { + for (var e = window, t = Kd(); t instanceof e.HTMLIFrameElement; ) { + try { + var r = typeof t.contentWindow.location.href == "string"; + } catch { + r = !1; + } + if (r) e = t.contentWindow; + else break; + t = Kd(e.document); + } + return t; + } + a(Sx, "Me"); + function i5(e) { + var t = e && e.nodeName && e.nodeName.toLowerCase(); + return t && (t === "input" && (e.type === "text" || e.type === "search" || e.type === "tel" || e.type === "url" || e.type === "password") || + t === "textarea" || e.contentEditable === "true"); + } + a(i5, "Ne"); + function Jz(e) { + var t = Sx(), r = e.focusedElem, n = e.selectionRange; + if (t !== r && r && r.ownerDocument && wx(r.ownerDocument.documentElement, r)) { + if (n !== null && i5(r)) { + if (t = n.start, e = n.end, e === void 0 && (e = t), "selectionStart" in r) r.selectionStart = t, r.selectionEnd = Math.min(e, r.value. + length); + else if (e = (t = r.ownerDocument || document) && t.defaultView || window, e.getSelection) { + e = e.getSelection(); + var o = r.textContent.length, i = Math.min(n.start, o); + n = n.end === void 0 ? i : Math.min(n.end, o), !e.extend && i > n && (o = n, n = i, i = o), o = KE(r, i); + var s = KE( + r, + n + ); + o && s && (e.rangeCount !== 1 || e.anchorNode !== o.node || e.anchorOffset !== o.offset || e.focusNode !== s.node || e.focusOffset !== + s.offset) && (t = t.createRange(), t.setStart(o.node, o.offset), e.removeAllRanges(), i > n ? (e.addRange(t), e.extend(s.node, s.offset)) : + (t.setEnd(s.node, s.offset), e.addRange(t))); + } + } + for (t = [], e = r; e = e.parentNode; ) e.nodeType === 1 && t.push({ element: e, left: e.scrollLeft, top: e.scrollTop }); + for (typeof r.focus == "function" && r.focus(), r = 0; r < t.length; r++) e = t[r], e.element.scrollLeft = e.left, e.element.scrollTop = + e.top; + } + } + a(Jz, "Oe"); + var Zz = So && "documentMode" in document && 11 >= document.documentMode, _s = null, yv = null, Hc = null, wv = !1; + function XE(e, t, r) { + var n = r.window === r ? r.document : r.nodeType === 9 ? r : r.ownerDocument; + wv || _s == null || _s !== Kd(n) || (n = _s, "selectionStart" in n && i5(n) ? n = { start: n.selectionStart, end: n.selectionEnd } : (n = + (n.ownerDocument && n.ownerDocument.defaultView || window).getSelection(), n = { anchorNode: n.anchorNode, anchorOffset: n.anchorOffset, + focusNode: n.focusNode, focusOffset: n.focusOffset }), Hc && Jc(Hc, n) || (Hc = n, n = r0(yv, "onSelect"), 0 < n.length && (t = new n5("\ +onSelect", "select", null, t, r), e.push({ event: t, listeners: n }), t.target = _s))); + } + a(XE, "Ue"); + function Td(e, t) { + var r = {}; + return r[e.toLowerCase()] = t.toLowerCase(), r["Webkit" + e] = "webkit" + t, r["Moz" + e] = "moz" + t, r; + } + a(Td, "Ve"); + var Ts = { animationend: Td("Animation", "AnimationEnd"), animationiteration: Td("Animation", "AnimationIteration"), animationstart: Td("A\ +nimation", "AnimationStart"), transitionend: Td("Transition", "TransitionEnd") }, H2 = {}, Ex = {}; + So && (Ex = document.createElement("div").style, "AnimationEvent" in window || (delete Ts.animationend.animation, delete Ts.animationiteration. + animation, delete Ts.animationstart.animation), "TransitionEvent" in window || delete Ts.transitionend.transition); + function b0(e) { + if (H2[e]) return H2[e]; + if (!Ts[e]) return e; + var t = Ts[e], r; + for (r in t) if (t.hasOwnProperty(r) && r in Ex) return H2[e] = t[r]; + return e; + } + a(b0, "Ze"); + var bx = b0("animationend"), xx = b0("animationiteration"), Cx = b0("animationstart"), Rx = b0("transitionend"), Dx = /* @__PURE__ */ new Map(), + QE = "abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dra\ +gStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetada\ +ta loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMov\ +e pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd to\ +uchStart volumeChange scroll toggle touchMove waiting wheel".split(" "); + function ya(e, t) { + Dx.set(e, t), yi(t, [e]); + } + a(ya, "ff"); + for (Id = 0; Id < QE.length; Id++) + Pd = QE[Id], JE = Pd.toLowerCase(), ZE = Pd[0].toUpperCase() + Pd.slice(1), ya(JE, "on" + ZE); + var Pd, JE, ZE, Id; + ya(bx, "onAnimationEnd"); + ya(xx, "onAnimationIteration"); + ya(Cx, "onAnimationStart"); + ya("dblclick", "onDoubleClick"); + ya("focusin", "onFocus"); + ya("focusout", "onBlur"); + ya(Rx, "onTransitionEnd"); + Vs("onMouseEnter", ["mouseout", "mouseover"]); + Vs("onMouseLeave", ["mouseout", "mouseover"]); + Vs("onPointerEnter", ["pointerout", "pointerover"]); + Vs("onPointerLeave", ["pointerout", "pointerover"]); + yi("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" ")); + yi("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")); + yi("onBeforeInput", ["compositionend", "keypress", "textInput", "paste"]); + yi("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")); + yi("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")); + yi("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" ")); + var Oc = "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(" "), eH = new Set("cancel close invalid l\ +oad scroll toggle".split(" ").concat(Oc)); + function eb(e, t, r) { + var n = e.type || "unknown-event"; + e.currentTarget = r, ez(n, t, void 0, e), e.currentTarget = null; + } + a(eb, "nf"); + function Ax(e, t) { + t = (t & 4) !== 0; + for (var r = 0; r < e.length; r++) { + var n = e[r], o = n.event; + n = n.listeners; + e: { + var i = void 0; + if (t) for (var s = n.length - 1; 0 <= s; s--) { + var l = n[s], u = l.instance, c = l.currentTarget; + if (l = l.listener, u !== i && o.isPropagationStopped()) break e; + eb(o, l, c), i = u; + } + else for (s = 0; s < n.length; s++) { + if (l = n[s], u = l.instance, c = l.currentTarget, l = l.listener, u !== i && o.isPropagationStopped()) break e; + eb(o, l, c), i = u; + } + } + } + if (Qd) throw e = hv, Qd = !1, hv = null, e; + } + a(Ax, "se"); + function De(e, t) { + var r = t[Cv]; + r === void 0 && (r = t[Cv] = /* @__PURE__ */ new Set()); + var n = e + "__bubble"; + r.has(n) || (_x(t, e, 2, !1), r.add(n)); + } + a(De, "D"); + function $2(e, t, r) { + var n = 0; + t && (n |= 4), _x(r, e, n, t); + } + a($2, "qf"); + var kd = "_reactListening" + Math.random().toString(36).slice(2); + function Zc(e) { + if (!e[kd]) { + e[kd] = !0, Ob.forEach(function(r) { + r !== "selectionchange" && (eH.has(r) || $2(r, !1, e), $2(r, !0, e)); + }); + var t = e.nodeType === 9 ? e : e.ownerDocument; + t === null || t[kd] || (t[kd] = !0, $2("selectionchange", !1, t)); + } + } + a(Zc, "sf"); + function _x(e, t, r, n) { + switch (px(t)) { + case 1: + var o = gz; + break; + case 4: + o = vz; + break; + default: + o = t5; + } + r = o.bind(null, t, r, e), o = void 0, !dv || t !== "touchstart" && t !== "touchmove" && t !== "wheel" || (o = !0), n ? o !== void 0 ? e. + addEventListener(t, r, { capture: !0, passive: o }) : e.addEventListener(t, r, !0) : o !== void 0 ? e.addEventListener(t, r, { passive: o }) : + e.addEventListener(t, r, !1); + } + a(_x, "pf"); + function j2(e, t, r, n, o) { + var i = n; + if ((t & 1) === 0 && (t & 2) === 0 && n !== null) e: for (; ; ) { + if (n === null) return; + var s = n.tag; + if (s === 3 || s === 4) { + var l = n.stateNode.containerInfo; + if (l === o || l.nodeType === 8 && l.parentNode === o) break; + if (s === 4) for (s = n.return; s !== null; ) { + var u = s.tag; + if ((u === 3 || u === 4) && (u = s.stateNode.containerInfo, u === o || u.nodeType === 8 && u.parentNode === o)) return; + s = s.return; + } + for (; l !== null; ) { + if (s = li(l), s === null) return; + if (u = s.tag, u === 5 || u === 6) { + n = i = s; + continue e; + } + l = l.parentNode; + } + } + n = n.return; + } + Qb(function() { + var c = i, p = Qv(r), h = []; + e: { + var m = Dx.get(e); + if (m !== void 0) { + var g = n5, E = e; + switch (e) { + case "keypress": + if ($d(r) === 0) break e; + case "keydown": + case "keyup": + g = kz; + break; + case "focusin": + E = "focus", g = B2; + break; + case "focusout": + E = "blur", g = B2; + break; + case "beforeblur": + case "afterblur": + g = B2; + break; + case "click": + if (r.button === 2) break e; + case "auxclick": + case "dblclick": + case "mousedown": + case "mousemove": + case "mouseup": + case "mouseout": + case "mouseover": + case "contextmenu": + g = $E; + break; + case "drag": + case "dragend": + case "dragenter": + case "dragexit": + case "dragleave": + case "dragover": + case "dragstart": + case "drop": + g = Sz; + break; + case "touchcancel": + case "touchend": + case "touchmove": + case "touchstart": + g = Oz; + break; + case bx: + case xx: + case Cx: + g = xz; + break; + case Rx: + g = Mz; + break; + case "scroll": + g = yz; + break; + case "wheel": + g = zz; + break; + case "copy": + case "cut": + case "paste": + g = Rz; + break; + case "gotpointercapture": + case "lostpointercapture": + case "pointercancel": + case "pointerdown": + case "pointermove": + case "pointerout": + case "pointerover": + case "pointerup": + g = VE; + } + var v = (t & 4) !== 0, S = !v && e === "scroll", w = v ? m !== null ? m + "Capture" : null : m; + v = []; + for (var y = c, b; y !== null; ) { + b = y; + var x = b.stateNode; + if (b.tag === 5 && x !== null && (b = x, w !== null && (x = Gc(y, w), x != null && v.push(ep(y, x, b)))), S) break; + y = y.return; + } + 0 < v.length && (m = new g(m, E, null, r, p), h.push({ event: m, listeners: v })); + } + } + if ((t & 7) === 0) { + e: { + if (m = e === "mouseover" || e === "pointerover", g = e === "mouseout" || e === "pointerout", m && r !== pv && (E = r.relatedTarget || + r.fromElement) && (li(E) || E[Eo])) break e; + if ((g || m) && (m = p.window === p ? p : (m = p.ownerDocument) ? m.defaultView || m.parentWindow : window, g ? (E = r.relatedTarget || + r.toElement, g = c, E = E ? li(E) : null, E !== null && (S = wi(E), E !== S || E.tag !== 5 && E.tag !== 6) && (E = null)) : (g = null, + E = c), g !== E)) { + if (v = $E, x = "onMouseLeave", w = "onMouseEnter", y = "mouse", (e === "pointerout" || e === "pointerover") && (v = VE, x = "on\ +PointerLeave", w = "onPointerEnter", y = "pointer"), S = g == null ? m : Is(g), b = E == null ? m : Is(E), m = new v(x, y + "leave", g, r, p), + m.target = S, m.relatedTarget = b, x = null, li(p) === c && (v = new v(w, y + "enter", E, r, p), v.target = b, v.relatedTarget = + S, x = v), S = x, g && E) t: { + for (v = g, w = E, y = 0, b = v; b; b = Cs(b)) y++; + for (b = 0, x = w; x; x = Cs(x)) b++; + for (; 0 < y - b; ) v = Cs(v), y--; + for (; 0 < b - y; ) w = Cs(w), b--; + for (; y--; ) { + if (v === w || w !== null && v === w.alternate) break t; + v = Cs(v), w = Cs(w); + } + v = null; + } + else v = null; + g !== null && tb(h, m, g, v, !1), E !== null && S !== null && tb(h, S, E, v, !0); + } + } + e: { + if (m = c ? Is(c) : window, g = m.nodeName && m.nodeName.toLowerCase(), g === "select" || g === "input" && m.type === "file") var C = qz; + else if (qE(m)) if (vx) C = Xz; + else { + C = Yz; + var D = Gz; + } + else (g = m.nodeName) && g.toLowerCase() === "input" && (m.type === "checkbox" || m.type === "radio") && (C = Kz); + if (C && (C = C(e, c))) { + gx(h, C, r, p); + break e; + } + D && D(e, m, c), e === "focusout" && (D = m._wrapperState) && D.controlled && m.type === "number" && iv(m, "number", m.value); + } + switch (D = c ? Is(c) : window, e) { + case "focusin": + (qE(D) || D.contentEditable === "true") && (_s = D, yv = c, Hc = null); + break; + case "focusout": + Hc = yv = _s = null; + break; + case "mousedown": + wv = !0; + break; + case "contextmenu": + case "mouseup": + case "dragend": + wv = !1, XE(h, r, p); + break; + case "selectionchange": + if (Zz) break; + case "keydown": + case "keyup": + XE(h, r, p); + } + var R; + if (a5) e: { + switch (e) { + case "compositionstart": + var A = "onCompositionStart"; + break e; + case "compositionend": + A = "onCompositionEnd"; + break e; + case "compositionupdate": + A = "onCompositionUpdate"; + break e; + } + A = void 0; + } + else As ? hx(e, r) && (A = "onCompositionEnd") : e === "keydown" && r.keyCode === 229 && (A = "onCompositionStart"); + A && (dx && r.locale !== "ko" && (As || A !== "onCompositionStart" ? A === "onCompositionEnd" && As && (R = fx()) : (ia = p, r5 = "v\ +alue" in ia ? ia.value : ia.textContent, As = !0)), D = r0(c, A), 0 < D.length && (A = new jE(A, e, null, r, p), h.push({ event: A, listeners: D }), + R ? A.data = R : (R = mx(r), R !== null && (A.data = R)))), (R = $z ? jz(e, r) : Vz(e, r)) && (c = r0(c, "onBeforeInput"), 0 < c.length && + (p = new jE("onBeforeInput", "beforeinput", null, r, p), h.push({ event: p, listeners: c }), p.data = R)); + } + Ax(h, t); + }); + } + a(j2, "hd"); + function ep(e, t, r) { + return { instance: e, listener: t, currentTarget: r }; + } + a(ep, "tf"); + function r0(e, t) { + for (var r = t + "Capture", n = []; e !== null; ) { + var o = e, i = o.stateNode; + o.tag === 5 && i !== null && (o = i, i = Gc(e, r), i != null && n.unshift(ep(e, i, o)), i = Gc(e, t), i != null && n.push(ep(e, i, o))), + e = e.return; + } + return n; + } + a(r0, "oe"); + function Cs(e) { + if (e === null) return null; + do + e = e.return; + while (e && e.tag !== 5); + return e || null; + } + a(Cs, "vf"); + function tb(e, t, r, n, o) { + for (var i = t._reactName, s = []; r !== null && r !== n; ) { + var l = r, u = l.alternate, c = l.stateNode; + if (u !== null && u === n) break; + l.tag === 5 && c !== null && (l = c, o ? (u = Gc(r, i), u != null && s.unshift(ep(r, u, l))) : o || (u = Gc(r, i), u != null && s.push( + ep(r, u, l)))), r = r.return; + } + s.length !== 0 && e.push({ event: t, listeners: s }); + } + a(tb, "wf"); + var tH = /\r\n?/g, rH = /\u0000|\uFFFD/g; + function rb(e) { + return (typeof e == "string" ? e : "" + e).replace(tH, ` +`).replace(rH, ""); + } + a(rb, "zf"); + function Fd(e, t, r) { + if (t = rb(t), rb(e) !== t && r) throw Error(M(425)); + } + a(Fd, "Af"); + function n0() { + } + a(n0, "Bf"); + var Sv = null, Ev = null; + function bv(e, t) { + return e === "textarea" || e === "noscript" || typeof t.children == "string" || typeof t.children == "number" || typeof t.dangerouslySetInnerHTML == + "object" && t.dangerouslySetInnerHTML !== null && t.dangerouslySetInnerHTML.__html != null; + } + a(bv, "Ef"); + var xv = typeof setTimeout == "function" ? setTimeout : void 0, nH = typeof clearTimeout == "function" ? clearTimeout : void 0, nb = typeof Promise == + "function" ? Promise : void 0, oH = typeof queueMicrotask == "function" ? queueMicrotask : typeof nb < "u" ? function(e) { + return nb.resolve(null).then(e).catch(aH); + } : xv; + function aH(e) { + setTimeout(function() { + throw e; + }); + } + a(aH, "If"); + function V2(e, t) { + var r = t, n = 0; + do { + var o = r.nextSibling; + if (e.removeChild(r), o && o.nodeType === 8) if (r = o.data, r === "/$") { + if (n === 0) { + e.removeChild(o), Xc(t); + return; + } + n--; + } else r !== "$" && r !== "$?" && r !== "$!" || n++; + r = o; + } while (r); + Xc(t); + } + a(V2, "Kf"); + function pa(e) { + for (; e != null; e = e.nextSibling) { + var t = e.nodeType; + if (t === 1 || t === 3) break; + if (t === 8) { + if (t = e.data, t === "$" || t === "$!" || t === "$?") break; + if (t === "/$") return null; + } + } + return e; + } + a(pa, "Lf"); + function ob(e) { + e = e.previousSibling; + for (var t = 0; e; ) { + if (e.nodeType === 8) { + var r = e.data; + if (r === "$" || r === "$!" || r === "$?") { + if (t === 0) return e; + t--; + } else r === "/$" && t++; + } + e = e.previousSibling; + } + return null; + } + a(ob, "Mf"); + var Qs = Math.random().toString(36).slice(2), jn = "__reactFiber$" + Qs, tp = "__reactProps$" + Qs, Eo = "__reactContainer$" + Qs, Cv = "_\ +_reactEvents$" + Qs, iH = "__reactListeners$" + Qs, sH = "__reactHandles$" + Qs; + function li(e) { + var t = e[jn]; + if (t) return t; + for (var r = e.parentNode; r; ) { + if (t = r[Eo] || r[jn]) { + if (r = t.alternate, t.child !== null || r !== null && r.child !== null) for (e = ob(e); e !== null; ) { + if (r = e[jn]) return r; + e = ob(e); + } + return t; + } + e = r, r = e.parentNode; + } + return null; + } + a(li, "Wc"); + function cp(e) { + return e = e[jn] || e[Eo], !e || e.tag !== 5 && e.tag !== 6 && e.tag !== 13 && e.tag !== 3 ? null : e; + } + a(cp, "Cb"); + function Is(e) { + if (e.tag === 5 || e.tag === 6) return e.stateNode; + throw Error(M(33)); + } + a(Is, "ue"); + function x0(e) { + return e[tp] || null; + } + a(x0, "Db"); + var Rv = [], Ps = -1; + function wa(e) { + return { current: e }; + } + a(wa, "Uf"); + function Ae(e) { + 0 > Ps || (e.current = Rv[Ps], Rv[Ps] = null, Ps--); + } + a(Ae, "E"); + function Ce(e, t) { + Ps++, Rv[Ps] = e.current, e.current = t; + } + a(Ce, "G"); + var va = {}, Mt = wa(va), sr = wa(!1), di = va; + function Us(e, t) { + var r = e.type.contextTypes; + if (!r) return va; + var n = e.stateNode; + if (n && n.__reactInternalMemoizedUnmaskedChildContext === t) return n.__reactInternalMemoizedMaskedChildContext; + var o = {}, i; + for (i in r) o[i] = t[i]; + return n && (e = e.stateNode, e.__reactInternalMemoizedUnmaskedChildContext = t, e.__reactInternalMemoizedMaskedChildContext = o), o; + } + a(Us, "Yf"); + function lr(e) { + return e = e.childContextTypes, e != null; + } + a(lr, "Zf"); + function o0() { + Ae(sr), Ae(Mt); + } + a(o0, "$f"); + function ab(e, t, r) { + if (Mt.current !== va) throw Error(M(168)); + Ce(Mt, t), Ce(sr, r); + } + a(ab, "ag"); + function Tx(e, t, r) { + var n = e.stateNode; + if (t = t.childContextTypes, typeof n.getChildContext != "function") return r; + n = n.getChildContext(); + for (var o in n) if (!(o in t)) throw Error(M(108, GB(e) || "Unknown", o)); + return Be({}, r, n); + } + a(Tx, "bg"); + function a0(e) { + return e = (e = e.stateNode) && e.__reactInternalMemoizedMergedChildContext || va, di = Mt.current, Ce(Mt, e), Ce(sr, sr.current), !0; + } + a(a0, "cg"); + function ib(e, t, r) { + var n = e.stateNode; + if (!n) throw Error(M(169)); + r ? (e = Tx(e, t, di), n.__reactInternalMemoizedMergedChildContext = e, Ae(sr), Ae(Mt), Ce(Mt, e)) : Ae(sr), Ce(sr, r); + } + a(ib, "dg"); + var go = null, C0 = !1, U2 = !1; + function Ix(e) { + go === null ? go = [e] : go.push(e); + } + a(Ix, "hg"); + function lH(e) { + C0 = !0, Ix(e); + } + a(lH, "ig"); + function Sa() { + if (!U2 && go !== null) { + U2 = !0; + var e = 0, t = me; + try { + var r = go; + for (me = 1; e < r.length; e++) { + var n = r[e]; + do + n = n(!0); + while (n !== null); + } + go = null, C0 = !1; + } catch (o) { + throw go !== null && (go = go.slice(e + 1)), tx(Jv, Sa), o; + } finally { + me = t, U2 = !1; + } + } + return null; + } + a(Sa, "jg"); + var ks = [], Fs = 0, i0 = null, s0 = 0, Mr = [], Br = 0, hi = null, vo = 1, yo = ""; + function ii(e, t) { + ks[Fs++] = s0, ks[Fs++] = i0, i0 = e, s0 = t; + } + a(ii, "tg"); + function Px(e, t, r) { + Mr[Br++] = vo, Mr[Br++] = yo, Mr[Br++] = hi, hi = e; + var n = vo; + e = yo; + var o = 32 - yn(n) - 1; + n &= ~(1 << o), r += 1; + var i = 32 - yn(t) + o; + if (30 < i) { + var s = o - o % 5; + i = (n & (1 << s) - 1).toString(32), n >>= s, o -= s, vo = 1 << 32 - yn(t) + o | r << o | n, yo = i + e; + } else vo = 1 << i | r << o | n, yo = e; + } + a(Px, "ug"); + function s5(e) { + e.return !== null && (ii(e, 1), Px(e, 1, 0)); + } + a(s5, "vg"); + function l5(e) { + for (; e === i0; ) i0 = ks[--Fs], ks[Fs] = null, s0 = ks[--Fs], ks[Fs] = null; + for (; e === hi; ) hi = Mr[--Br], Mr[Br] = null, yo = Mr[--Br], Mr[Br] = null, vo = Mr[--Br], Mr[Br] = null; + } + a(l5, "wg"); + var br = null, Er = null, Pe = !1, vn = null; + function kx(e, t) { + var r = zr(5, null, null, 0); + r.elementType = "DELETED", r.stateNode = t, r.return = e, t = e.deletions, t === null ? (e.deletions = [r], e.flags |= 16) : t.push(r); + } + a(kx, "Ag"); + function sb(e, t) { + switch (e.tag) { + case 5: + var r = e.type; + return t = t.nodeType !== 1 || r.toLowerCase() !== t.nodeName.toLowerCase() ? null : t, t !== null ? (e.stateNode = t, br = e, Er = pa( + t.firstChild), !0) : !1; + case 6: + return t = e.pendingProps === "" || t.nodeType !== 3 ? null : t, t !== null ? (e.stateNode = t, br = e, Er = null, !0) : !1; + case 13: + return t = t.nodeType !== 8 ? null : t, t !== null ? (r = hi !== null ? { id: vo, overflow: yo } : null, e.memoizedState = { dehydrated: t, + treeContext: r, retryLane: 1073741824 }, r = zr(18, null, null, 0), r.stateNode = t, r.return = e, e.child = r, br = e, Er = null, !0) : + !1; + default: + return !1; + } + } + a(sb, "Cg"); + function Dv(e) { + return (e.mode & 1) !== 0 && (e.flags & 128) === 0; + } + a(Dv, "Dg"); + function Av(e) { + if (Pe) { + var t = Er; + if (t) { + var r = t; + if (!sb(e, t)) { + if (Dv(e)) throw Error(M(418)); + t = pa(r.nextSibling); + var n = br; + t && sb(e, t) ? kx(n, r) : (e.flags = e.flags & -4097 | 2, Pe = !1, br = e); + } + } else { + if (Dv(e)) throw Error(M(418)); + e.flags = e.flags & -4097 | 2, Pe = !1, br = e; + } + } + } + a(Av, "Eg"); + function lb(e) { + for (e = e.return; e !== null && e.tag !== 5 && e.tag !== 3 && e.tag !== 13; ) e = e.return; + br = e; + } + a(lb, "Fg"); + function Ld(e) { + if (e !== br) return !1; + if (!Pe) return lb(e), Pe = !0, !1; + var t; + if ((t = e.tag !== 3) && !(t = e.tag !== 5) && (t = e.type, t = t !== "head" && t !== "body" && !bv(e.type, e.memoizedProps)), t && (t = + Er)) { + if (Dv(e)) throw Fx(), Error(M(418)); + for (; t; ) kx(e, t), t = pa(t.nextSibling); + } + if (lb(e), e.tag === 13) { + if (e = e.memoizedState, e = e !== null ? e.dehydrated : null, !e) throw Error(M(317)); + e: { + for (e = e.nextSibling, t = 0; e; ) { + if (e.nodeType === 8) { + var r = e.data; + if (r === "/$") { + if (t === 0) { + Er = pa(e.nextSibling); + break e; + } + t--; + } else r !== "$" && r !== "$!" && r !== "$?" || t++; + } + e = e.nextSibling; + } + Er = null; + } + } else Er = br ? pa(e.stateNode.nextSibling) : null; + return !0; + } + a(Ld, "Gg"); + function Fx() { + for (var e = Er; e; ) e = pa(e.nextSibling); + } + a(Fx, "Hg"); + function Ws() { + Er = br = null, Pe = !1; + } + a(Ws, "Ig"); + function u5(e) { + vn === null ? vn = [e] : vn.push(e); + } + a(u5, "Jg"); + var uH = Co.ReactCurrentBatchConfig; + function mn(e, t) { + if (e && e.defaultProps) { + t = Be({}, t), e = e.defaultProps; + for (var r in e) t[r] === void 0 && (t[r] = e[r]); + return t; + } + return t; + } + a(mn, "Lg"); + var l0 = wa(null), u0 = null, Ls = null, c5 = null; + function p5() { + c5 = Ls = u0 = null; + } + a(p5, "Qg"); + function f5(e) { + var t = l0.current; + Ae(l0), e._currentValue = t; + } + a(f5, "Rg"); + function _v(e, t, r) { + for (; e !== null; ) { + var n = e.alternate; + if ((e.childLanes & t) !== t ? (e.childLanes |= t, n !== null && (n.childLanes |= t)) : n !== null && (n.childLanes & t) !== t && (n.childLanes |= + t), e === r) break; + e = e.return; + } + } + a(_v, "Sg"); + function $s(e, t) { + u0 = e, c5 = Ls = null, e = e.dependencies, e !== null && e.firstContext !== null && ((e.lanes & t) !== 0 && (ir = !0), e.firstContext = + null); + } + a($s, "Tg"); + function $r(e) { + var t = e._currentValue; + if (c5 !== e) if (e = { context: e, memoizedValue: t, next: null }, Ls === null) { + if (u0 === null) throw Error(M(308)); + Ls = e, u0.dependencies = { lanes: 0, firstContext: e }; + } else Ls = Ls.next = e; + return t; + } + a($r, "Vg"); + var ui = null; + function d5(e) { + ui === null ? ui = [e] : ui.push(e); + } + a(d5, "Xg"); + function Lx(e, t, r, n) { + var o = t.interleaved; + return o === null ? (r.next = r, d5(t)) : (r.next = o.next, o.next = r), t.interleaved = r, bo(e, n); + } + a(Lx, "Yg"); + function bo(e, t) { + e.lanes |= t; + var r = e.alternate; + for (r !== null && (r.lanes |= t), r = e, e = e.return; e !== null; ) e.childLanes |= t, r = e.alternate, r !== null && (r.childLanes |= + t), r = e, e = e.return; + return r.tag === 3 ? r.stateNode : null; + } + a(bo, "Zg"); + var na = !1; + function h5(e) { + e.updateQueue = { baseState: e.memoizedState, firstBaseUpdate: null, lastBaseUpdate: null, shared: { pending: null, interleaved: null, lanes: 0 }, + effects: null }; + } + a(h5, "ah"); + function Ox(e, t) { + e = e.updateQueue, t.updateQueue === e && (t.updateQueue = { baseState: e.baseState, firstBaseUpdate: e.firstBaseUpdate, lastBaseUpdate: e. + lastBaseUpdate, shared: e.shared, effects: e.effects }); + } + a(Ox, "bh"); + function wo(e, t) { + return { eventTime: e, lane: t, tag: 0, payload: null, callback: null, next: null }; + } + a(wo, "ch"); + function fa(e, t, r) { + var n = e.updateQueue; + if (n === null) return null; + if (n = n.shared, (ue & 2) !== 0) { + var o = n.pending; + return o === null ? t.next = t : (t.next = o.next, o.next = t), n.pending = t, bo(e, r); + } + return o = n.interleaved, o === null ? (t.next = t, d5(n)) : (t.next = o.next, o.next = t), n.interleaved = t, bo(e, r); + } + a(fa, "dh"); + function jd(e, t, r) { + if (t = t.updateQueue, t !== null && (t = t.shared, (r & 4194240) !== 0)) { + var n = t.lanes; + n &= e.pendingLanes, r |= n, t.lanes = r, Zv(e, r); + } + } + a(jd, "eh"); + function ub(e, t) { + var r = e.updateQueue, n = e.alternate; + if (n !== null && (n = n.updateQueue, r === n)) { + var o = null, i = null; + if (r = r.firstBaseUpdate, r !== null) { + do { + var s = { eventTime: r.eventTime, lane: r.lane, tag: r.tag, payload: r.payload, callback: r.callback, next: null }; + i === null ? o = i = s : i = i.next = s, r = r.next; + } while (r !== null); + i === null ? o = i = t : i = i.next = t; + } else o = i = t; + r = { baseState: n.baseState, firstBaseUpdate: o, lastBaseUpdate: i, shared: n.shared, effects: n.effects }, e.updateQueue = r; + return; + } + e = r.lastBaseUpdate, e === null ? r.firstBaseUpdate = t : e.next = t, r.lastBaseUpdate = t; + } + a(ub, "fh"); + function c0(e, t, r, n) { + var o = e.updateQueue; + na = !1; + var i = o.firstBaseUpdate, s = o.lastBaseUpdate, l = o.shared.pending; + if (l !== null) { + o.shared.pending = null; + var u = l, c = u.next; + u.next = null, s === null ? i = c : s.next = c, s = u; + var p = e.alternate; + p !== null && (p = p.updateQueue, l = p.lastBaseUpdate, l !== s && (l === null ? p.firstBaseUpdate = c : l.next = c, p.lastBaseUpdate = + u)); + } + if (i !== null) { + var h = o.baseState; + s = 0, p = c = u = null, l = i; + do { + var m = l.lane, g = l.eventTime; + if ((n & m) === m) { + p !== null && (p = p.next = { + eventTime: g, + lane: 0, + tag: l.tag, + payload: l.payload, + callback: l.callback, + next: null + }); + e: { + var E = e, v = l; + switch (m = t, g = r, v.tag) { + case 1: + if (E = v.payload, typeof E == "function") { + h = E.call(g, h, m); + break e; + } + h = E; + break e; + case 3: + E.flags = E.flags & -65537 | 128; + case 0: + if (E = v.payload, m = typeof E == "function" ? E.call(g, h, m) : E, m == null) break e; + h = Be({}, h, m); + break e; + case 2: + na = !0; + } + } + l.callback !== null && l.lane !== 0 && (e.flags |= 64, m = o.effects, m === null ? o.effects = [l] : m.push(l)); + } else g = { eventTime: g, lane: m, tag: l.tag, payload: l.payload, callback: l.callback, next: null }, p === null ? (c = p = g, u = + h) : p = p.next = g, s |= m; + if (l = l.next, l === null) { + if (l = o.shared.pending, l === null) break; + m = l, l = m.next, m.next = null, o.lastBaseUpdate = m, o.shared.pending = null; + } + } while (!0); + if (p === null && (u = h), o.baseState = u, o.firstBaseUpdate = c, o.lastBaseUpdate = p, t = o.shared.interleaved, t !== null) { + o = t; + do + s |= o.lane, o = o.next; + while (o !== t); + } else i === null && (o.shared.lanes = 0); + gi |= s, e.lanes = s, e.memoizedState = h; + } + } + a(c0, "gh"); + function cb(e, t, r) { + if (e = t.effects, t.effects = null, e !== null) for (t = 0; t < e.length; t++) { + var n = e[t], o = n.callback; + if (o !== null) { + if (n.callback = null, n = r, typeof o != "function") throw Error(M(191, o)); + o.call(n); + } + } + } + a(cb, "ih"); + var Nx = new Lb.Component().refs; + function Tv(e, t, r, n) { + t = e.memoizedState, r = r(n, t), r = r == null ? t : Be({}, t, r), e.memoizedState = r, e.lanes === 0 && (e.updateQueue.baseState = r); + } + a(Tv, "kh"); + var R0 = { isMounted: /* @__PURE__ */ a(function(e) { + return (e = e._reactInternals) ? wi(e) === e : !1; + }, "isMounted"), enqueueSetState: /* @__PURE__ */ a(function(e, t, r) { + e = e._reactInternals; + var n = Ut(), o = ha(e), i = wo(n, o); + i.payload = t, r != null && (i.callback = r), t = fa(e, i, o), t !== null && (wn(t, e, o, n), jd(t, e, o)); + }, "enqueueSetState"), enqueueReplaceState: /* @__PURE__ */ a(function(e, t, r) { + e = e._reactInternals; + var n = Ut(), o = ha(e), i = wo(n, o); + i.tag = 1, i.payload = t, r != null && (i.callback = r), t = fa(e, i, o), t !== null && (wn(t, e, o, n), jd(t, e, o)); + }, "enqueueReplaceState"), enqueueForceUpdate: /* @__PURE__ */ a(function(e, t) { + e = e._reactInternals; + var r = Ut(), n = ha(e), o = wo(r, n); + o.tag = 2, t != null && (o.callback = t), t = fa(e, o, n), t !== null && (wn(t, e, n, r), jd(t, e, n)); + }, "enqueueForceUpdate") }; + function pb(e, t, r, n, o, i, s) { + return e = e.stateNode, typeof e.shouldComponentUpdate == "function" ? e.shouldComponentUpdate(n, i, s) : t.prototype && t.prototype.isPureReactComponent ? + !Jc(r, n) || !Jc(o, i) : !0; + } + a(pb, "oh"); + function Mx(e, t, r) { + var n = !1, o = va, i = t.contextType; + return typeof i == "object" && i !== null ? i = $r(i) : (o = lr(t) ? di : Mt.current, n = t.contextTypes, i = (n = n != null) ? Us(e, o) : + va), t = new t(r, i), e.memoizedState = t.state !== null && t.state !== void 0 ? t.state : null, t.updater = R0, e.stateNode = t, t._reactInternals = + e, n && (e = e.stateNode, e.__reactInternalMemoizedUnmaskedChildContext = o, e.__reactInternalMemoizedMaskedChildContext = i), t; + } + a(Mx, "ph"); + function fb(e, t, r, n) { + e = t.state, typeof t.componentWillReceiveProps == "function" && t.componentWillReceiveProps(r, n), typeof t.UNSAFE_componentWillReceiveProps == + "function" && t.UNSAFE_componentWillReceiveProps(r, n), t.state !== e && R0.enqueueReplaceState(t, t.state, null); + } + a(fb, "qh"); + function Iv(e, t, r, n) { + var o = e.stateNode; + o.props = r, o.state = e.memoizedState, o.refs = Nx, h5(e); + var i = t.contextType; + typeof i == "object" && i !== null ? o.context = $r(i) : (i = lr(t) ? di : Mt.current, o.context = Us(e, i)), o.state = e.memoizedState, + i = t.getDerivedStateFromProps, typeof i == "function" && (Tv(e, t, i, r), o.state = e.memoizedState), typeof t.getDerivedStateFromProps == + "function" || typeof o.getSnapshotBeforeUpdate == "function" || typeof o.UNSAFE_componentWillMount != "function" && typeof o.componentWillMount != + "function" || (t = o.state, typeof o.componentWillMount == "function" && o.componentWillMount(), typeof o.UNSAFE_componentWillMount == "\ +function" && o.UNSAFE_componentWillMount(), t !== o.state && R0.enqueueReplaceState(o, o.state, null), c0(e, r, o, n), o.state = e.memoizedState), + typeof o.componentDidMount == "function" && (e.flags |= 4194308); + } + a(Iv, "rh"); + function _c(e, t, r) { + if (e = r.ref, e !== null && typeof e != "function" && typeof e != "object") { + if (r._owner) { + if (r = r._owner, r) { + if (r.tag !== 1) throw Error(M(309)); + var n = r.stateNode; + } + if (!n) throw Error(M(147, e)); + var o = n, i = "" + e; + return t !== null && t.ref !== null && typeof t.ref == "function" && t.ref._stringRef === i ? t.ref : (t = /* @__PURE__ */ a(function(s) { + var l = o.refs; + l === Nx && (l = o.refs = {}), s === null ? delete l[i] : l[i] = s; + }, "b"), t._stringRef = i, t); + } + if (typeof e != "string") throw Error(M(284)); + if (!r._owner) throw Error(M(290, e)); + } + return e; + } + a(_c, "sh"); + function Od(e, t) { + throw e = Object.prototype.toString.call(t), Error(M(31, e === "[object Object]" ? "object with keys {" + Object.keys(t).join(", ") + "}" : + e)); + } + a(Od, "th"); + function db(e) { + var t = e._init; + return t(e._payload); + } + a(db, "uh"); + function Bx(e) { + function t(w, y) { + if (e) { + var b = w.deletions; + b === null ? (w.deletions = [y], w.flags |= 16) : b.push(y); + } + } + a(t, "b"); + function r(w, y) { + if (!e) return null; + for (; y !== null; ) t(w, y), y = y.sibling; + return null; + } + a(r, "c"); + function n(w, y) { + for (w = /* @__PURE__ */ new Map(); y !== null; ) y.key !== null ? w.set(y.key, y) : w.set(y.index, y), y = y.sibling; + return w; + } + a(n, "d"); + function o(w, y) { + return w = ma(w, y), w.index = 0, w.sibling = null, w; + } + a(o, "e"); + function i(w, y, b) { + return w.index = b, e ? (b = w.alternate, b !== null ? (b = b.index, b < y ? (w.flags |= 2, y) : b) : (w.flags |= 2, y)) : (w.flags |= + 1048576, y); + } + a(i, "f"); + function s(w) { + return e && w.alternate === null && (w.flags |= 2), w; + } + a(s, "g"); + function l(w, y, b, x) { + return y === null || y.tag !== 6 ? (y = Q2(b, w.mode, x), y.return = w, y) : (y = o(y, b), y.return = w, y); + } + a(l, "h"); + function u(w, y, b, x) { + var C = b.type; + return C === Ds ? p(w, y, b.props.children, x, b.key) : y !== null && (y.elementType === C || typeof C == "object" && C !== null && C. + $$typeof === ra && db(C) === y.type) ? (x = o(y, b.props), x.ref = _c(w, y, b), x.return = w, x) : (x = Yd(b.type, b.key, b.props, null, + w.mode, x), x.ref = _c(w, y, b), x.return = w, x); + } + a(u, "k"); + function c(w, y, b, x) { + return y === null || y.tag !== 4 || y.stateNode.containerInfo !== b.containerInfo || y.stateNode.implementation !== b.implementation ? + (y = J2(b, w.mode, x), y.return = w, y) : (y = o(y, b.children || []), y.return = w, y); + } + a(c, "l"); + function p(w, y, b, x, C) { + return y === null || y.tag !== 7 ? (y = fi(b, w.mode, x, C), y.return = w, y) : (y = o(y, b), y.return = w, y); + } + a(p, "m"); + function h(w, y, b) { + if (typeof y == "string" && y !== "" || typeof y == "number") return y = Q2("" + y, w.mode, b), y.return = w, y; + if (typeof y == "object" && y !== null) { + switch (y.$$typeof) { + case Sd: + return b = Yd(y.type, y.key, y.props, null, w.mode, b), b.ref = _c(w, null, y), b.return = w, b; + case Rs: + return y = J2(y, w.mode, b), y.return = w, y; + case ra: + var x = y._init; + return h(w, x(y._payload), b); + } + if (Fc(y) || Cc(y)) return y = fi(y, w.mode, b, null), y.return = w, y; + Od(w, y); + } + return null; + } + a(h, "q"); + function m(w, y, b, x) { + var C = y !== null ? y.key : null; + if (typeof b == "string" && b !== "" || typeof b == "number") return C !== null ? null : l(w, y, "" + b, x); + if (typeof b == "object" && b !== null) { + switch (b.$$typeof) { + case Sd: + return b.key === C ? u(w, y, b, x) : null; + case Rs: + return b.key === C ? c(w, y, b, x) : null; + case ra: + return C = b._init, m( + w, + y, + C(b._payload), + x + ); + } + if (Fc(b) || Cc(b)) return C !== null ? null : p(w, y, b, x, null); + Od(w, b); + } + return null; + } + a(m, "r"); + function g(w, y, b, x, C) { + if (typeof x == "string" && x !== "" || typeof x == "number") return w = w.get(b) || null, l(y, w, "" + x, C); + if (typeof x == "object" && x !== null) { + switch (x.$$typeof) { + case Sd: + return w = w.get(x.key === null ? b : x.key) || null, u(y, w, x, C); + case Rs: + return w = w.get(x.key === null ? b : x.key) || null, c(y, w, x, C); + case ra: + var D = x._init; + return g(w, y, b, D(x._payload), C); + } + if (Fc(x) || Cc(x)) return w = w.get(b) || null, p(y, w, x, C, null); + Od(y, x); + } + return null; + } + a(g, "y"); + function E(w, y, b, x) { + for (var C = null, D = null, R = y, A = y = 0, _ = null; R !== null && A < b.length; A++) { + R.index > A ? (_ = R, R = null) : _ = R.sibling; + var P = m(w, R, b[A], x); + if (P === null) { + R === null && (R = _); + break; + } + e && R && P.alternate === null && t(w, R), y = i(P, y, A), D === null ? C = P : D.sibling = P, D = P, R = _; + } + if (A === b.length) return r(w, R), Pe && ii(w, A), C; + if (R === null) { + for (; A < b.length; A++) R = h(w, b[A], x), R !== null && (y = i(R, y, A), D === null ? C = R : D.sibling = R, D = R); + return Pe && ii(w, A), C; + } + for (R = n(w, R); A < b.length; A++) _ = g(R, w, A, b[A], x), _ !== null && (e && _.alternate !== null && R.delete(_.key === null ? A : + _.key), y = i(_, y, A), D === null ? C = _ : D.sibling = _, D = _); + return e && R.forEach(function(B) { + return t(w, B); + }), Pe && ii(w, A), C; + } + a(E, "n"); + function v(w, y, b, x) { + var C = Cc(b); + if (typeof C != "function") throw Error(M(150)); + if (b = C.call(b), b == null) throw Error(M(151)); + for (var D = C = null, R = y, A = y = 0, _ = null, P = b.next(); R !== null && !P.done; A++, P = b.next()) { + R.index > A ? (_ = R, R = null) : _ = R.sibling; + var B = m(w, R, P.value, x); + if (B === null) { + R === null && (R = _); + break; + } + e && R && B.alternate === null && t(w, R), y = i(B, y, A), D === null ? C = B : D.sibling = B, D = B, R = _; + } + if (P.done) return r( + w, + R + ), Pe && ii(w, A), C; + if (R === null) { + for (; !P.done; A++, P = b.next()) P = h(w, P.value, x), P !== null && (y = i(P, y, A), D === null ? C = P : D.sibling = P, D = P); + return Pe && ii(w, A), C; + } + for (R = n(w, R); !P.done; A++, P = b.next()) P = g(R, w, A, P.value, x), P !== null && (e && P.alternate !== null && R.delete(P.key === + null ? A : P.key), y = i(P, y, A), D === null ? C = P : D.sibling = P, D = P); + return e && R.forEach(function(H) { + return t(w, H); + }), Pe && ii(w, A), C; + } + a(v, "t"); + function S(w, y, b, x) { + if (typeof b == "object" && b !== null && b.type === Ds && b.key === null && (b = b.props.children), typeof b == "object" && b !== null) { + switch (b.$$typeof) { + case Sd: + e: { + for (var C = b.key, D = y; D !== null; ) { + if (D.key === C) { + if (C = b.type, C === Ds) { + if (D.tag === 7) { + r(w, D.sibling), y = o(D, b.props.children), y.return = w, w = y; + break e; + } + } else if (D.elementType === C || typeof C == "object" && C !== null && C.$$typeof === ra && db(C) === D.type) { + r(w, D.sibling), y = o(D, b.props), y.ref = _c(w, D, b), y.return = w, w = y; + break e; + } + r(w, D); + break; + } else t(w, D); + D = D.sibling; + } + b.type === Ds ? (y = fi(b.props.children, w.mode, x, b.key), y.return = w, w = y) : (x = Yd(b.type, b.key, b.props, null, w.mode, + x), x.ref = _c(w, y, b), x.return = w, w = x); + } + return s(w); + case Rs: + e: { + for (D = b.key; y !== null; ) { + if (y.key === D) if (y.tag === 4 && y.stateNode.containerInfo === b.containerInfo && y.stateNode.implementation === b.implementation) { + r(w, y.sibling), y = o(y, b.children || []), y.return = w, w = y; + break e; + } else { + r(w, y); + break; + } + else t(w, y); + y = y.sibling; + } + y = J2(b, w.mode, x), y.return = w, w = y; + } + return s(w); + case ra: + return D = b._init, S(w, y, D(b._payload), x); + } + if (Fc(b)) return E(w, y, b, x); + if (Cc(b)) return v(w, y, b, x); + Od(w, b); + } + return typeof b == "string" && b !== "" || typeof b == "number" ? (b = "" + b, y !== null && y.tag === 6 ? (r(w, y.sibling), y = o(y, b), + y.return = w, w = y) : (r(w, y), y = Q2(b, w.mode, x), y.return = w, w = y), s(w)) : r(w, y); + } + return a(S, "J"), S; + } + a(Bx, "vh"); + var qs = Bx(!0), zx = Bx(!1), pp = {}, Un = wa(pp), rp = wa(pp), np = wa(pp); + function ci(e) { + if (e === pp) throw Error(M(174)); + return e; + } + a(ci, "Hh"); + function m5(e, t) { + switch (Ce(np, t), Ce(rp, e), Ce(Un, pp), e = t.nodeType, e) { + case 9: + case 11: + t = (t = t.documentElement) ? t.namespaceURI : lv(null, ""); + break; + default: + e = e === 8 ? t.parentNode : t, t = e.namespaceURI || null, e = e.tagName, t = lv(t, e); + } + Ae(Un), Ce(Un, t); + } + a(m5, "Ih"); + function Gs() { + Ae(Un), Ae(rp), Ae(np); + } + a(Gs, "Jh"); + function Hx(e) { + ci(np.current); + var t = ci(Un.current), r = lv(t, e.type); + t !== r && (Ce(rp, e), Ce(Un, r)); + } + a(Hx, "Kh"); + function g5(e) { + rp.current === e && (Ae(Un), Ae(rp)); + } + a(g5, "Lh"); + var Ne = wa(0); + function p0(e) { + for (var t = e; t !== null; ) { + if (t.tag === 13) { + var r = t.memoizedState; + if (r !== null && (r = r.dehydrated, r === null || r.data === "$?" || r.data === "$!")) return t; + } else if (t.tag === 19 && t.memoizedProps.revealOrder !== void 0) { + if ((t.flags & 128) !== 0) return t; + } else if (t.child !== null) { + t.child.return = t, t = t.child; + continue; + } + if (t === e) break; + for (; t.sibling === null; ) { + if (t.return === null || t.return === e) return null; + t = t.return; + } + t.sibling.return = t.return, t = t.sibling; + } + return null; + } + a(p0, "Mh"); + var W2 = []; + function v5() { + for (var e = 0; e < W2.length; e++) W2[e]._workInProgressVersionPrimary = null; + W2.length = 0; + } + a(v5, "Oh"); + var Vd = Co.ReactCurrentDispatcher, q2 = Co.ReactCurrentBatchConfig, mi = 0, Me = null, at = null, dt = null, f0 = !1, $c = !1, op = 0, cH = 0; + function Lt() { + throw Error(M(321)); + } + a(Lt, "Q"); + function y5(e, t) { + if (t === null) return !1; + for (var r = 0; r < t.length && r < e.length; r++) if (!Sn(e[r], t[r])) return !1; + return !0; + } + a(y5, "Wh"); + function w5(e, t, r, n, o, i) { + if (mi = i, Me = t, t.memoizedState = null, t.updateQueue = null, t.lanes = 0, Vd.current = e === null || e.memoizedState === null ? hH : + mH, e = r(n, o), $c) { + i = 0; + do { + if ($c = !1, op = 0, 25 <= i) throw Error(M(301)); + i += 1, dt = at = null, t.updateQueue = null, Vd.current = gH, e = r(n, o); + } while ($c); + } + if (Vd.current = d0, t = at !== null && at.next !== null, mi = 0, dt = at = Me = null, f0 = !1, t) throw Error(M(300)); + return e; + } + a(w5, "Xh"); + function S5() { + var e = op !== 0; + return op = 0, e; + } + a(S5, "bi"); + function $n() { + var e = { memoizedState: null, baseState: null, baseQueue: null, queue: null, next: null }; + return dt === null ? Me.memoizedState = dt = e : dt = dt.next = e, dt; + } + a($n, "ci"); + function jr() { + if (at === null) { + var e = Me.alternate; + e = e !== null ? e.memoizedState : null; + } else e = at.next; + var t = dt === null ? Me.memoizedState : dt.next; + if (t !== null) dt = t, at = e; + else { + if (e === null) throw Error(M(310)); + at = e, e = { memoizedState: at.memoizedState, baseState: at.baseState, baseQueue: at.baseQueue, queue: at.queue, next: null }, dt === + null ? Me.memoizedState = dt = e : dt = dt.next = e; + } + return dt; + } + a(jr, "di"); + function ap(e, t) { + return typeof t == "function" ? t(e) : t; + } + a(ap, "ei"); + function G2(e) { + var t = jr(), r = t.queue; + if (r === null) throw Error(M(311)); + r.lastRenderedReducer = e; + var n = at, o = n.baseQueue, i = r.pending; + if (i !== null) { + if (o !== null) { + var s = o.next; + o.next = i.next, i.next = s; + } + n.baseQueue = o = i, r.pending = null; + } + if (o !== null) { + i = o.next, n = n.baseState; + var l = s = null, u = null, c = i; + do { + var p = c.lane; + if ((mi & p) === p) u !== null && (u = u.next = { lane: 0, action: c.action, hasEagerState: c.hasEagerState, eagerState: c.eagerState, + next: null }), n = c.hasEagerState ? c.eagerState : e(n, c.action); + else { + var h = { + lane: p, + action: c.action, + hasEagerState: c.hasEagerState, + eagerState: c.eagerState, + next: null + }; + u === null ? (l = u = h, s = n) : u = u.next = h, Me.lanes |= p, gi |= p; + } + c = c.next; + } while (c !== null && c !== i); + u === null ? s = n : u.next = l, Sn(n, t.memoizedState) || (ir = !0), t.memoizedState = n, t.baseState = s, t.baseQueue = u, r.lastRenderedState = + n; + } + if (e = r.interleaved, e !== null) { + o = e; + do + i = o.lane, Me.lanes |= i, gi |= i, o = o.next; + while (o !== e); + } else o === null && (r.lanes = 0); + return [t.memoizedState, r.dispatch]; + } + a(G2, "fi"); + function Y2(e) { + var t = jr(), r = t.queue; + if (r === null) throw Error(M(311)); + r.lastRenderedReducer = e; + var n = r.dispatch, o = r.pending, i = t.memoizedState; + if (o !== null) { + r.pending = null; + var s = o = o.next; + do + i = e(i, s.action), s = s.next; + while (s !== o); + Sn(i, t.memoizedState) || (ir = !0), t.memoizedState = i, t.baseQueue === null && (t.baseState = i), r.lastRenderedState = i; + } + return [i, n]; + } + a(Y2, "gi"); + function $x() { + } + a($x, "hi"); + function jx(e, t) { + var r = Me, n = jr(), o = t(), i = !Sn(n.memoizedState, o); + if (i && (n.memoizedState = o, ir = !0), n = n.queue, E5(Wx.bind(null, r, n, e), [e]), n.getSnapshot !== t || i || dt !== null && dt.memoizedState. + tag & 1) { + if (r.flags |= 2048, ip(9, Ux.bind(null, r, n, o, t), void 0, null), ht === null) throw Error(M(349)); + (mi & 30) !== 0 || Vx(r, t, o); + } + return o; + } + a(jx, "ii"); + function Vx(e, t, r) { + e.flags |= 16384, e = { getSnapshot: t, value: r }, t = Me.updateQueue, t === null ? (t = { lastEffect: null, stores: null }, Me.updateQueue = + t, t.stores = [e]) : (r = t.stores, r === null ? t.stores = [e] : r.push(e)); + } + a(Vx, "ni"); + function Ux(e, t, r, n) { + t.value = r, t.getSnapshot = n, qx(t) && Gx(e); + } + a(Ux, "mi"); + function Wx(e, t, r) { + return r(function() { + qx(t) && Gx(e); + }); + } + a(Wx, "ki"); + function qx(e) { + var t = e.getSnapshot; + e = e.value; + try { + var r = t(); + return !Sn(e, r); + } catch { + return !0; + } + } + a(qx, "oi"); + function Gx(e) { + var t = bo(e, 1); + t !== null && wn(t, e, 1, -1); + } + a(Gx, "pi"); + function hb(e) { + var t = $n(); + return typeof e == "function" && (e = e()), t.memoizedState = t.baseState = e, e = { pending: null, interleaved: null, lanes: 0, dispatch: null, + lastRenderedReducer: ap, lastRenderedState: e }, t.queue = e, e = e.dispatch = dH.bind(null, Me, e), [t.memoizedState, e]; + } + a(hb, "qi"); + function ip(e, t, r, n) { + return e = { tag: e, create: t, destroy: r, deps: n, next: null }, t = Me.updateQueue, t === null ? (t = { lastEffect: null, stores: null }, + Me.updateQueue = t, t.lastEffect = e.next = e) : (r = t.lastEffect, r === null ? t.lastEffect = e.next = e : (n = r.next, r.next = e, e. + next = n, t.lastEffect = e)), e; + } + a(ip, "li"); + function Yx() { + return jr().memoizedState; + } + a(Yx, "si"); + function Ud(e, t, r, n) { + var o = $n(); + Me.flags |= e, o.memoizedState = ip(1 | t, r, void 0, n === void 0 ? null : n); + } + a(Ud, "ti"); + function D0(e, t, r, n) { + var o = jr(); + n = n === void 0 ? null : n; + var i = void 0; + if (at !== null) { + var s = at.memoizedState; + if (i = s.destroy, n !== null && y5(n, s.deps)) { + o.memoizedState = ip(t, r, i, n); + return; + } + } + Me.flags |= e, o.memoizedState = ip(1 | t, r, i, n); + } + a(D0, "ui"); + function mb(e, t) { + return Ud(8390656, 8, e, t); + } + a(mb, "vi"); + function E5(e, t) { + return D0(2048, 8, e, t); + } + a(E5, "ji"); + function Kx(e, t) { + return D0(4, 2, e, t); + } + a(Kx, "wi"); + function Xx(e, t) { + return D0(4, 4, e, t); + } + a(Xx, "xi"); + function Qx(e, t) { + if (typeof t == "function") return e = e(), t(e), function() { + t(null); + }; + if (t != null) return e = e(), t.current = e, function() { + t.current = null; + }; + } + a(Qx, "yi"); + function Jx(e, t, r) { + return r = r != null ? r.concat([e]) : null, D0(4, 4, Qx.bind(null, t, e), r); + } + a(Jx, "zi"); + function b5() { + } + a(b5, "Ai"); + function Zx(e, t) { + var r = jr(); + t = t === void 0 ? null : t; + var n = r.memoizedState; + return n !== null && t !== null && y5(t, n[1]) ? n[0] : (r.memoizedState = [e, t], e); + } + a(Zx, "Bi"); + function e7(e, t) { + var r = jr(); + t = t === void 0 ? null : t; + var n = r.memoizedState; + return n !== null && t !== null && y5(t, n[1]) ? n[0] : (e = e(), r.memoizedState = [e, t], e); + } + a(e7, "Ci"); + function t7(e, t, r) { + return (mi & 21) === 0 ? (e.baseState && (e.baseState = !1, ir = !0), e.memoizedState = r) : (Sn(r, t) || (r = ox(), Me.lanes |= r, gi |= + r, e.baseState = !0), t); + } + a(t7, "Di"); + function pH(e, t) { + var r = me; + me = r !== 0 && 4 > r ? r : 4, e(!0); + var n = q2.transition; + q2.transition = {}; + try { + e(!1), t(); + } finally { + me = r, q2.transition = n; + } + } + a(pH, "Ei"); + function r7() { + return jr().memoizedState; + } + a(r7, "Fi"); + function fH(e, t, r) { + var n = ha(e); + if (r = { lane: n, action: r, hasEagerState: !1, eagerState: null, next: null }, n7(e)) o7(t, r); + else if (r = Lx(e, t, r, n), r !== null) { + var o = Ut(); + wn(r, e, n, o), a7(r, t, n); + } + } + a(fH, "Gi"); + function dH(e, t, r) { + var n = ha(e), o = { lane: n, action: r, hasEagerState: !1, eagerState: null, next: null }; + if (n7(e)) o7(t, o); + else { + var i = e.alternate; + if (e.lanes === 0 && (i === null || i.lanes === 0) && (i = t.lastRenderedReducer, i !== null)) try { + var s = t.lastRenderedState, l = i(s, r); + if (o.hasEagerState = !0, o.eagerState = l, Sn(l, s)) { + var u = t.interleaved; + u === null ? (o.next = o, d5(t)) : (o.next = u.next, u.next = o), t.interleaved = o; + return; + } + } catch { + } finally { + } + r = Lx(e, t, o, n), r !== null && (o = Ut(), wn(r, e, n, o), a7(r, t, n)); + } + } + a(dH, "ri"); + function n7(e) { + var t = e.alternate; + return e === Me || t !== null && t === Me; + } + a(n7, "Hi"); + function o7(e, t) { + $c = f0 = !0; + var r = e.pending; + r === null ? t.next = t : (t.next = r.next, r.next = t), e.pending = t; + } + a(o7, "Ii"); + function a7(e, t, r) { + if ((r & 4194240) !== 0) { + var n = t.lanes; + n &= e.pendingLanes, r |= n, t.lanes = r, Zv(e, r); + } + } + a(a7, "Ji"); + var d0 = { readContext: $r, useCallback: Lt, useContext: Lt, useEffect: Lt, useImperativeHandle: Lt, useInsertionEffect: Lt, useLayoutEffect: Lt, + useMemo: Lt, useReducer: Lt, useRef: Lt, useState: Lt, useDebugValue: Lt, useDeferredValue: Lt, useTransition: Lt, useMutableSource: Lt, useSyncExternalStore: Lt, + useId: Lt, unstable_isNewReconciler: !1 }, hH = { readContext: $r, useCallback: /* @__PURE__ */ a(function(e, t) { + return $n().memoizedState = [e, t === void 0 ? null : t], e; + }, "useCallback"), useContext: $r, useEffect: mb, useImperativeHandle: /* @__PURE__ */ a(function(e, t, r) { + return r = r != null ? r.concat([e]) : null, Ud( + 4194308, + 4, + Qx.bind(null, t, e), + r + ); + }, "useImperativeHandle"), useLayoutEffect: /* @__PURE__ */ a(function(e, t) { + return Ud(4194308, 4, e, t); + }, "useLayoutEffect"), useInsertionEffect: /* @__PURE__ */ a(function(e, t) { + return Ud(4, 2, e, t); + }, "useInsertionEffect"), useMemo: /* @__PURE__ */ a(function(e, t) { + var r = $n(); + return t = t === void 0 ? null : t, e = e(), r.memoizedState = [e, t], e; + }, "useMemo"), useReducer: /* @__PURE__ */ a(function(e, t, r) { + var n = $n(); + return t = r !== void 0 ? r(t) : t, n.memoizedState = n.baseState = t, e = { pending: null, interleaved: null, lanes: 0, dispatch: null, + lastRenderedReducer: e, lastRenderedState: t }, n.queue = e, e = e.dispatch = fH.bind(null, Me, e), [n.memoizedState, e]; + }, "useReducer"), useRef: /* @__PURE__ */ a(function(e) { + var t = $n(); + return e = { current: e }, t.memoizedState = e; + }, "useRef"), useState: hb, useDebugValue: b5, useDeferredValue: /* @__PURE__ */ a(function(e) { + return $n().memoizedState = e; + }, "useDeferredValue"), useTransition: /* @__PURE__ */ a(function() { + var e = hb(!1), t = e[0]; + return e = pH.bind(null, e[1]), $n().memoizedState = e, [t, e]; + }, "useTransition"), useMutableSource: /* @__PURE__ */ a(function() { + }, "useMutableSource"), useSyncExternalStore: /* @__PURE__ */ a(function(e, t, r) { + var n = Me, o = $n(); + if (Pe) { + if (r === void 0) throw Error(M(407)); + r = r(); + } else { + if (r = t(), ht === null) throw Error(M(349)); + (mi & 30) !== 0 || Vx(n, t, r); + } + o.memoizedState = r; + var i = { value: r, getSnapshot: t }; + return o.queue = i, mb(Wx.bind( + null, + n, + i, + e + ), [e]), n.flags |= 2048, ip(9, Ux.bind(null, n, i, r, t), void 0, null), r; + }, "useSyncExternalStore"), useId: /* @__PURE__ */ a(function() { + var e = $n(), t = ht.identifierPrefix; + if (Pe) { + var r = yo, n = vo; + r = (n & ~(1 << 32 - yn(n) - 1)).toString(32) + r, t = ":" + t + "R" + r, r = op++, 0 < r && (t += "H" + r.toString(32)), t += ":"; + } else r = cH++, t = ":" + t + "r" + r.toString(32) + ":"; + return e.memoizedState = t; + }, "useId"), unstable_isNewReconciler: !1 }, mH = { + readContext: $r, + useCallback: Zx, + useContext: $r, + useEffect: E5, + useImperativeHandle: Jx, + useInsertionEffect: Kx, + useLayoutEffect: Xx, + useMemo: e7, + useReducer: G2, + useRef: Yx, + useState: /* @__PURE__ */ a(function() { + return G2(ap); + }, "useState"), + useDebugValue: b5, + useDeferredValue: /* @__PURE__ */ a(function(e) { + var t = jr(); + return t7(t, at.memoizedState, e); + }, "useDeferredValue"), + useTransition: /* @__PURE__ */ a(function() { + var e = G2(ap)[0], t = jr().memoizedState; + return [e, t]; + }, "useTransition"), + useMutableSource: $x, + useSyncExternalStore: jx, + useId: r7, + unstable_isNewReconciler: !1 + }, gH = { readContext: $r, useCallback: Zx, useContext: $r, useEffect: E5, useImperativeHandle: Jx, useInsertionEffect: Kx, useLayoutEffect: Xx, + useMemo: e7, useReducer: Y2, useRef: Yx, useState: /* @__PURE__ */ a(function() { + return Y2(ap); + }, "useState"), useDebugValue: b5, useDeferredValue: /* @__PURE__ */ a(function(e) { + var t = jr(); + return at === null ? t.memoizedState = e : t7(t, at.memoizedState, e); + }, "useDeferredValue"), useTransition: /* @__PURE__ */ a(function() { + var e = Y2(ap)[0], t = jr().memoizedState; + return [e, t]; + }, "useTransition"), useMutableSource: $x, useSyncExternalStore: jx, useId: r7, unstable_isNewReconciler: !1 }; + function Ys(e, t) { + try { + var r = "", n = t; + do + r += qB(n), n = n.return; + while (n); + var o = r; + } catch (i) { + o = ` +Error generating stack: ` + i.message + ` +` + i.stack; + } + return { value: e, source: t, stack: o, digest: null }; + } + a(Ys, "Ki"); + function K2(e, t, r) { + return { value: e, source: null, stack: r ?? null, digest: t ?? null }; + } + a(K2, "Li"); + function Pv(e, t) { + try { + console.error(t.value); + } catch (r) { + setTimeout(function() { + throw r; + }); + } + } + a(Pv, "Mi"); + var vH = typeof WeakMap == "function" ? WeakMap : Map; + function i7(e, t, r) { + r = wo(-1, r), r.tag = 3, r.payload = { element: null }; + var n = t.value; + return r.callback = function() { + m0 || (m0 = !0, $v = n), Pv(e, t); + }, r; + } + a(i7, "Oi"); + function s7(e, t, r) { + r = wo(-1, r), r.tag = 3; + var n = e.type.getDerivedStateFromError; + if (typeof n == "function") { + var o = t.value; + r.payload = function() { + return n(o); + }, r.callback = function() { + Pv(e, t); + }; + } + var i = e.stateNode; + return i !== null && typeof i.componentDidCatch == "function" && (r.callback = function() { + Pv(e, t), typeof n != "function" && (da === null ? da = /* @__PURE__ */ new Set([this]) : da.add(this)); + var s = t.stack; + this.componentDidCatch(t.value, { componentStack: s !== null ? s : "" }); + }), r; + } + a(s7, "Ri"); + function gb(e, t, r) { + var n = e.pingCache; + if (n === null) { + n = e.pingCache = new vH(); + var o = /* @__PURE__ */ new Set(); + n.set(t, o); + } else o = n.get(t), o === void 0 && (o = /* @__PURE__ */ new Set(), n.set(t, o)); + o.has(r) || (o.add(r), e = PH.bind(null, e, t, r), t.then(e, e)); + } + a(gb, "Ti"); + function vb(e) { + do { + var t; + if ((t = e.tag === 13) && (t = e.memoizedState, t = t !== null ? t.dehydrated !== null : !0), t) return e; + e = e.return; + } while (e !== null); + return null; + } + a(vb, "Vi"); + function yb(e, t, r, n, o) { + return (e.mode & 1) === 0 ? (e === t ? e.flags |= 65536 : (e.flags |= 128, r.flags |= 131072, r.flags &= -52805, r.tag === 1 && (r.alternate === + null ? r.tag = 17 : (t = wo(-1, 1), t.tag = 2, fa(r, t, 1))), r.lanes |= 1), e) : (e.flags |= 65536, e.lanes = o, e); + } + a(yb, "Wi"); + var yH = Co.ReactCurrentOwner, ir = !1; + function Vt(e, t, r, n) { + t.child = e === null ? zx(t, null, r, n) : qs(t, e.child, r, n); + } + a(Vt, "Yi"); + function wb(e, t, r, n, o) { + r = r.render; + var i = t.ref; + return $s(t, o), n = w5(e, t, r, n, i, o), r = S5(), e !== null && !ir ? (t.updateQueue = e.updateQueue, t.flags &= -2053, e.lanes &= ~o, + xo(e, t, o)) : (Pe && r && s5(t), t.flags |= 1, Vt(e, t, n, o), t.child); + } + a(wb, "Zi"); + function Sb(e, t, r, n, o) { + if (e === null) { + var i = r.type; + return typeof i == "function" && !I5(i) && i.defaultProps === void 0 && r.compare === null && r.defaultProps === void 0 ? (t.tag = 15, + t.type = i, l7(e, t, i, n, o)) : (e = Yd(r.type, null, n, t, t.mode, o), e.ref = t.ref, e.return = t, t.child = e); + } + if (i = e.child, (e.lanes & o) === 0) { + var s = i.memoizedProps; + if (r = r.compare, r = r !== null ? r : Jc, r(s, n) && e.ref === t.ref) return xo(e, t, o); + } + return t.flags |= 1, e = ma(i, n), e.ref = t.ref, e.return = t, t.child = e; + } + a(Sb, "aj"); + function l7(e, t, r, n, o) { + if (e !== null) { + var i = e.memoizedProps; + if (Jc(i, n) && e.ref === t.ref) if (ir = !1, t.pendingProps = n = i, (e.lanes & o) !== 0) (e.flags & 131072) !== 0 && (ir = !0); + else return t.lanes = e.lanes, xo(e, t, o); + } + return kv(e, t, r, n, o); + } + a(l7, "cj"); + function u7(e, t, r) { + var n = t.pendingProps, o = n.children, i = e !== null ? e.memoizedState : null; + if (n.mode === "hidden") if ((t.mode & 1) === 0) t.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }, Ce(Ns, Sr), Sr |= + r; + else { + if ((r & 1073741824) === 0) return e = i !== null ? i.baseLanes | r : r, t.lanes = t.childLanes = 1073741824, t.memoizedState = { baseLanes: e, + cachePool: null, transitions: null }, t.updateQueue = null, Ce(Ns, Sr), Sr |= e, null; + t.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }, n = i !== null ? i.baseLanes : r, Ce(Ns, Sr), Sr |= n; + } + else i !== null ? (n = i.baseLanes | r, t.memoizedState = null) : n = r, Ce(Ns, Sr), Sr |= n; + return Vt(e, t, o, r), t.child; + } + a(u7, "ej"); + function c7(e, t) { + var r = t.ref; + (e === null && r !== null || e !== null && e.ref !== r) && (t.flags |= 512, t.flags |= 2097152); + } + a(c7, "hj"); + function kv(e, t, r, n, o) { + var i = lr(r) ? di : Mt.current; + return i = Us(t, i), $s(t, o), r = w5(e, t, r, n, i, o), n = S5(), e !== null && !ir ? (t.updateQueue = e.updateQueue, t.flags &= -2053, + e.lanes &= ~o, xo(e, t, o)) : (Pe && n && s5(t), t.flags |= 1, Vt(e, t, r, o), t.child); + } + a(kv, "dj"); + function Eb(e, t, r, n, o) { + if (lr(r)) { + var i = !0; + a0(t); + } else i = !1; + if ($s(t, o), t.stateNode === null) Wd(e, t), Mx(t, r, n), Iv(t, r, n, o), n = !0; + else if (e === null) { + var s = t.stateNode, l = t.memoizedProps; + s.props = l; + var u = s.context, c = r.contextType; + typeof c == "object" && c !== null ? c = $r(c) : (c = lr(r) ? di : Mt.current, c = Us(t, c)); + var p = r.getDerivedStateFromProps, h = typeof p == "function" || typeof s.getSnapshotBeforeUpdate == "function"; + h || typeof s.UNSAFE_componentWillReceiveProps != "function" && typeof s.componentWillReceiveProps != "function" || (l !== n || u !== c) && + fb(t, s, n, c), na = !1; + var m = t.memoizedState; + s.state = m, c0(t, n, s, o), u = t.memoizedState, l !== n || m !== u || sr.current || na ? (typeof p == "function" && (Tv(t, r, p, n), + u = t.memoizedState), (l = na || pb(t, r, l, n, m, u, c)) ? (h || typeof s.UNSAFE_componentWillMount != "function" && typeof s.componentWillMount != + "function" || (typeof s.componentWillMount == "function" && s.componentWillMount(), typeof s.UNSAFE_componentWillMount == "function" && + s.UNSAFE_componentWillMount()), typeof s.componentDidMount == "function" && (t.flags |= 4194308)) : (typeof s.componentDidMount == "fu\ +nction" && (t.flags |= 4194308), t.memoizedProps = n, t.memoizedState = u), s.props = n, s.state = u, s.context = c, n = l) : (typeof s.componentDidMount == + "function" && (t.flags |= 4194308), n = !1); + } else { + s = t.stateNode, Ox(e, t), l = t.memoizedProps, c = t.type === t.elementType ? l : mn(t.type, l), s.props = c, h = t.pendingProps, m = + s.context, u = r.contextType, typeof u == "object" && u !== null ? u = $r(u) : (u = lr(r) ? di : Mt.current, u = Us(t, u)); + var g = r.getDerivedStateFromProps; + (p = typeof g == "function" || typeof s.getSnapshotBeforeUpdate == "function") || typeof s.UNSAFE_componentWillReceiveProps != "functi\ +on" && typeof s.componentWillReceiveProps != "function" || (l !== h || m !== u) && fb(t, s, n, u), na = !1, m = t.memoizedState, s.state = m, + c0(t, n, s, o); + var E = t.memoizedState; + l !== h || m !== E || sr.current || na ? (typeof g == "function" && (Tv(t, r, g, n), E = t.memoizedState), (c = na || pb(t, r, c, n, m, + E, u) || !1) ? (p || typeof s.UNSAFE_componentWillUpdate != "function" && typeof s.componentWillUpdate != "function" || (typeof s.componentWillUpdate == + "function" && s.componentWillUpdate(n, E, u), typeof s.UNSAFE_componentWillUpdate == "function" && s.UNSAFE_componentWillUpdate(n, E, u)), + typeof s.componentDidUpdate == "function" && (t.flags |= 4), typeof s.getSnapshotBeforeUpdate == "function" && (t.flags |= 1024)) : (typeof s. + componentDidUpdate != "function" || l === e.memoizedProps && m === e.memoizedState || (t.flags |= 4), typeof s.getSnapshotBeforeUpdate != + "function" || l === e.memoizedProps && m === e.memoizedState || (t.flags |= 1024), t.memoizedProps = n, t.memoizedState = E), s.props = + n, s.state = E, s.context = u, n = c) : (typeof s.componentDidUpdate != "function" || l === e.memoizedProps && m === e.memoizedState || + (t.flags |= 4), typeof s.getSnapshotBeforeUpdate != "function" || l === e.memoizedProps && m === e.memoizedState || (t.flags |= 1024), + n = !1); + } + return Fv(e, t, r, n, i, o); + } + a(Eb, "ij"); + function Fv(e, t, r, n, o, i) { + c7(e, t); + var s = (t.flags & 128) !== 0; + if (!n && !s) return o && ib(t, r, !1), xo(e, t, i); + n = t.stateNode, yH.current = t; + var l = s && typeof r.getDerivedStateFromError != "function" ? null : n.render(); + return t.flags |= 1, e !== null && s ? (t.child = qs(t, e.child, null, i), t.child = qs(t, null, l, i)) : Vt(e, t, l, i), t.memoizedState = + n.state, o && ib(t, r, !0), t.child; + } + a(Fv, "kj"); + function p7(e) { + var t = e.stateNode; + t.pendingContext ? ab(e, t.pendingContext, t.pendingContext !== t.context) : t.context && ab(e, t.context, !1), m5(e, t.containerInfo); + } + a(p7, "lj"); + function bb(e, t, r, n, o) { + return Ws(), u5(o), t.flags |= 256, Vt(e, t, r, n), t.child; + } + a(bb, "mj"); + var Lv = { dehydrated: null, treeContext: null, retryLane: 0 }; + function Ov(e) { + return { baseLanes: e, cachePool: null, transitions: null }; + } + a(Ov, "oj"); + function f7(e, t, r) { + var n = t.pendingProps, o = Ne.current, i = !1, s = (t.flags & 128) !== 0, l; + if ((l = s) || (l = e !== null && e.memoizedState === null ? !1 : (o & 2) !== 0), l ? (i = !0, t.flags &= -129) : (e === null || e.memoizedState !== + null) && (o |= 1), Ce(Ne, o & 1), e === null) + return Av(t), e = t.memoizedState, e !== null && (e = e.dehydrated, e !== null) ? ((t.mode & 1) === 0 ? t.lanes = 1 : e.data === "$!" ? + t.lanes = 8 : t.lanes = 1073741824, null) : (s = n.children, e = n.fallback, i ? (n = t.mode, i = t.child, s = { mode: "hidden", children: s }, + (n & 1) === 0 && i !== null ? (i.childLanes = 0, i.pendingProps = s) : i = T0(s, n, 0, null), e = fi(e, n, r, null), i.return = t, e.return = + t, i.sibling = e, t.child = i, t.child.memoizedState = Ov(r), t.memoizedState = Lv, e) : x5(t, s)); + if (o = e.memoizedState, o !== null && (l = o.dehydrated, l !== null)) return wH(e, t, s, n, l, o, r); + if (i) { + i = n.fallback, s = t.mode, o = e.child, l = o.sibling; + var u = { mode: "hidden", children: n.children }; + return (s & 1) === 0 && t.child !== o ? (n = t.child, n.childLanes = 0, n.pendingProps = u, t.deletions = null) : (n = ma(o, u), n.subtreeFlags = + o.subtreeFlags & 14680064), l !== null ? i = ma(l, i) : (i = fi(i, s, r, null), i.flags |= 2), i.return = t, n.return = t, n.sibling = + i, t.child = n, n = i, i = t.child, s = e.child.memoizedState, s = s === null ? Ov(r) : { baseLanes: s.baseLanes | r, cachePool: null, + transitions: s.transitions }, i.memoizedState = s, i.childLanes = e.childLanes & ~r, t.memoizedState = Lv, n; + } + return i = e.child, e = i.sibling, n = ma(i, { mode: "visible", children: n.children }), (t.mode & 1) === 0 && (n.lanes = r), n.return = + t, n.sibling = null, e !== null && (r = t.deletions, r === null ? (t.deletions = [e], t.flags |= 16) : r.push(e)), t.child = n, t.memoizedState = + null, n; + } + a(f7, "pj"); + function x5(e, t) { + return t = T0({ mode: "visible", children: t }, e.mode, 0, null), t.return = e, e.child = t; + } + a(x5, "rj"); + function Nd(e, t, r, n) { + return n !== null && u5(n), qs(t, e.child, null, r), e = x5(t, t.pendingProps.children), e.flags |= 2, t.memoizedState = null, e; + } + a(Nd, "tj"); + function wH(e, t, r, n, o, i, s) { + if (r) + return t.flags & 256 ? (t.flags &= -257, n = K2(Error(M(422))), Nd(e, t, s, n)) : t.memoizedState !== null ? (t.child = e.child, t.flags |= + 128, null) : (i = n.fallback, o = t.mode, n = T0({ mode: "visible", children: n.children }, o, 0, null), i = fi(i, o, s, null), i.flags |= + 2, n.return = t, i.return = t, n.sibling = i, t.child = n, (t.mode & 1) !== 0 && qs(t, e.child, null, s), t.child.memoizedState = Ov(s), + t.memoizedState = Lv, i); + if ((t.mode & 1) === 0) return Nd(e, t, s, null); + if (o.data === "$!") { + if (n = o.nextSibling && o.nextSibling.dataset, n) var l = n.dgst; + return n = l, i = Error(M(419)), n = K2(i, n, void 0), Nd(e, t, s, n); + } + if (l = (s & e.childLanes) !== 0, ir || l) { + if (n = ht, n !== null) { + switch (s & -s) { + case 4: + o = 2; + break; + case 16: + o = 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: + o = 32; + break; + case 536870912: + o = 268435456; + break; + default: + o = 0; + } + o = (o & (n.suspendedLanes | s)) !== 0 ? 0 : o, o !== 0 && o !== i.retryLane && (i.retryLane = o, bo(e, o), wn(n, e, o, -1)); + } + return T5(), n = K2(Error(M(421))), Nd(e, t, s, n); + } + return o.data === "$?" ? (t.flags |= 128, t.child = e.child, t = kH.bind(null, e), o._reactRetry = t, null) : (e = i.treeContext, Er = pa( + o.nextSibling), br = t, Pe = !0, vn = null, e !== null && (Mr[Br++] = vo, Mr[Br++] = yo, Mr[Br++] = hi, vo = e.id, yo = e.overflow, hi = + t), t = x5(t, n.children), t.flags |= 4096, t); + } + a(wH, "sj"); + function xb(e, t, r) { + e.lanes |= t; + var n = e.alternate; + n !== null && (n.lanes |= t), _v(e.return, t, r); + } + a(xb, "wj"); + function X2(e, t, r, n, o) { + var i = e.memoizedState; + i === null ? e.memoizedState = { isBackwards: t, rendering: null, renderingStartTime: 0, last: n, tail: r, tailMode: o } : (i.isBackwards = + t, i.rendering = null, i.renderingStartTime = 0, i.last = n, i.tail = r, i.tailMode = o); + } + a(X2, "xj"); + function d7(e, t, r) { + var n = t.pendingProps, o = n.revealOrder, i = n.tail; + if (Vt(e, t, n.children, r), n = Ne.current, (n & 2) !== 0) n = n & 1 | 2, t.flags |= 128; + else { + if (e !== null && (e.flags & 128) !== 0) e: for (e = t.child; e !== null; ) { + if (e.tag === 13) e.memoizedState !== null && xb(e, r, t); + else if (e.tag === 19) xb(e, r, t); + else if (e.child !== null) { + e.child.return = e, e = e.child; + continue; + } + if (e === t) break e; + for (; e.sibling === null; ) { + if (e.return === null || e.return === t) break e; + e = e.return; + } + e.sibling.return = e.return, e = e.sibling; + } + n &= 1; + } + if (Ce(Ne, n), (t.mode & 1) === 0) t.memoizedState = null; + else switch (o) { + case "forwards": + for (r = t.child, o = null; r !== null; ) e = r.alternate, e !== null && p0(e) === null && (o = r), r = r.sibling; + r = o, r === null ? (o = t.child, t.child = null) : (o = r.sibling, r.sibling = null), X2(t, !1, o, r, i); + break; + case "backwards": + for (r = null, o = t.child, t.child = null; o !== null; ) { + if (e = o.alternate, e !== null && p0(e) === null) { + t.child = o; + break; + } + e = o.sibling, o.sibling = r, r = o, o = e; + } + X2(t, !0, r, null, i); + break; + case "together": + X2(t, !1, null, null, void 0); + break; + default: + t.memoizedState = null; + } + return t.child; + } + a(d7, "yj"); + function Wd(e, t) { + (t.mode & 1) === 0 && e !== null && (e.alternate = null, t.alternate = null, t.flags |= 2); + } + a(Wd, "jj"); + function xo(e, t, r) { + if (e !== null && (t.dependencies = e.dependencies), gi |= t.lanes, (r & t.childLanes) === 0) return null; + if (e !== null && t.child !== e.child) throw Error(M(153)); + if (t.child !== null) { + for (e = t.child, r = ma(e, e.pendingProps), t.child = r, r.return = t; e.sibling !== null; ) e = e.sibling, r = r.sibling = ma(e, e.pendingProps), + r.return = t; + r.sibling = null; + } + return t.child; + } + a(xo, "$i"); + function SH(e, t, r) { + switch (t.tag) { + case 3: + p7(t), Ws(); + break; + case 5: + Hx(t); + break; + case 1: + lr(t.type) && a0(t); + break; + case 4: + m5(t, t.stateNode.containerInfo); + break; + case 10: + var n = t.type._context, o = t.memoizedProps.value; + Ce(l0, n._currentValue), n._currentValue = o; + break; + case 13: + if (n = t.memoizedState, n !== null) + return n.dehydrated !== null ? (Ce(Ne, Ne.current & 1), t.flags |= 128, null) : (r & t.child.childLanes) !== 0 ? f7(e, t, r) : (Ce( + Ne, Ne.current & 1), e = xo(e, t, r), e !== null ? e.sibling : null); + Ce(Ne, Ne.current & 1); + break; + case 19: + if (n = (r & t.childLanes) !== 0, (e.flags & 128) !== 0) { + if (n) return d7(e, t, r); + t.flags |= 128; + } + if (o = t.memoizedState, o !== null && (o.rendering = null, o.tail = null, o.lastEffect = null), Ce(Ne, Ne.current), n) break; + return null; + case 22: + case 23: + return t.lanes = 0, u7(e, t, r); + } + return xo(e, t, r); + } + a(SH, "zj"); + var h7, Nv, m7, g7; + h7 = /* @__PURE__ */ a(function(e, t) { + for (var r = t.child; r !== null; ) { + if (r.tag === 5 || r.tag === 6) e.appendChild(r.stateNode); + else if (r.tag !== 4 && r.child !== null) { + r.child.return = r, r = r.child; + continue; + } + if (r === t) break; + for (; r.sibling === null; ) { + if (r.return === null || r.return === t) return; + r = r.return; + } + r.sibling.return = r.return, r = r.sibling; + } + }, "Aj"); + Nv = /* @__PURE__ */ a(function() { + }, "Bj"); + m7 = /* @__PURE__ */ a(function(e, t, r, n) { + var o = e.memoizedProps; + if (o !== n) { + e = t.stateNode, ci(Un.current); + var i = null; + switch (r) { + case "input": + o = ov(e, o), n = ov(e, n), i = []; + break; + case "select": + o = Be({}, o, { value: void 0 }), n = Be({}, n, { value: void 0 }), i = []; + break; + case "textarea": + o = sv(e, o), n = sv(e, n), i = []; + break; + default: + typeof o.onClick != "function" && typeof n.onClick == "function" && (e.onclick = n0); + } + uv(r, n); + var s; + r = null; + for (c in o) if (!n.hasOwnProperty(c) && o.hasOwnProperty(c) && o[c] != null) if (c === "style") { + var l = o[c]; + for (s in l) l.hasOwnProperty(s) && (r || (r = {}), r[s] = ""); + } else c !== "dangerouslySetInnerHTML" && c !== "children" && c !== "suppressContentEditableWarning" && c !== "suppressHydrationWarnin\ +g" && c !== "autoFocus" && (Wc.hasOwnProperty(c) ? i || (i = []) : (i = i || []).push(c, null)); + for (c in n) { + var u = n[c]; + if (l = o?.[c], n.hasOwnProperty(c) && u !== l && (u != null || l != null)) if (c === "style") if (l) { + for (s in l) !l.hasOwnProperty(s) || u && u.hasOwnProperty(s) || (r || (r = {}), r[s] = ""); + for (s in u) u.hasOwnProperty(s) && l[s] !== u[s] && (r || (r = {}), r[s] = u[s]); + } else r || (i || (i = []), i.push( + c, + r + )), r = u; + else c === "dangerouslySetInnerHTML" ? (u = u ? u.__html : void 0, l = l ? l.__html : void 0, u != null && l !== u && (i = i || []). + push(c, u)) : c === "children" ? typeof u != "string" && typeof u != "number" || (i = i || []).push(c, "" + u) : c !== "suppressCont\ +entEditableWarning" && c !== "suppressHydrationWarning" && (Wc.hasOwnProperty(c) ? (u != null && c === "onScroll" && De("scroll", e), i || l === + u || (i = [])) : (i = i || []).push(c, u)); + } + r && (i = i || []).push("style", r); + var c = i; + (t.updateQueue = c) && (t.flags |= 4); + } + }, "Cj"); + g7 = /* @__PURE__ */ a(function(e, t, r, n) { + r !== n && (t.flags |= 4); + }, "Dj"); + function Tc(e, t) { + if (!Pe) switch (e.tailMode) { + case "hidden": + t = e.tail; + for (var r = null; t !== null; ) t.alternate !== null && (r = t), t = t.sibling; + r === null ? e.tail = null : r.sibling = null; + break; + case "collapsed": + r = e.tail; + for (var n = null; r !== null; ) r.alternate !== null && (n = r), r = r.sibling; + n === null ? t || e.tail === null ? e.tail = null : e.tail.sibling = null : n.sibling = null; + } + } + a(Tc, "Ej"); + function Ot(e) { + var t = e.alternate !== null && e.alternate.child === e.child, r = 0, n = 0; + if (t) for (var o = e.child; o !== null; ) r |= o.lanes | o.childLanes, n |= o.subtreeFlags & 14680064, n |= o.flags & 14680064, o.return = + e, o = o.sibling; + else for (o = e.child; o !== null; ) r |= o.lanes | o.childLanes, n |= o.subtreeFlags, n |= o.flags, o.return = e, o = o.sibling; + return e.subtreeFlags |= n, e.childLanes = r, t; + } + a(Ot, "S"); + function EH(e, t, r) { + var n = t.pendingProps; + switch (l5(t), t.tag) { + case 2: + case 16: + case 15: + case 0: + case 11: + case 7: + case 8: + case 12: + case 9: + case 14: + return Ot(t), null; + case 1: + return lr(t.type) && o0(), Ot(t), null; + case 3: + return n = t.stateNode, Gs(), Ae(sr), Ae(Mt), v5(), n.pendingContext && (n.context = n.pendingContext, n.pendingContext = null), (e === + null || e.child === null) && (Ld(t) ? t.flags |= 4 : e === null || e.memoizedState.isDehydrated && (t.flags & 256) === 0 || (t.flags |= + 1024, vn !== null && (Uv(vn), vn = null))), Nv(e, t), Ot(t), null; + case 5: + g5(t); + var o = ci(np.current); + if (r = t.type, e !== null && t.stateNode != null) m7(e, t, r, n, o), e.ref !== t.ref && (t.flags |= 512, t.flags |= 2097152); + else { + if (!n) { + if (t.stateNode === null) throw Error(M(166)); + return Ot(t), null; + } + if (e = ci(Un.current), Ld(t)) { + n = t.stateNode, r = t.type; + var i = t.memoizedProps; + switch (n[jn] = t, n[tp] = i, e = (t.mode & 1) !== 0, r) { + case "dialog": + De("cancel", n), De("close", n); + break; + case "iframe": + case "object": + case "embed": + De("load", n); + break; + case "video": + case "audio": + for (o = 0; o < Oc.length; o++) De(Oc[o], n); + break; + case "source": + De("error", n); + break; + case "img": + case "image": + case "link": + De( + "error", + n + ), De("load", n); + break; + case "details": + De("toggle", n); + break; + case "input": + PE(n, i), De("invalid", n); + break; + case "select": + n._wrapperState = { wasMultiple: !!i.multiple }, De("invalid", n); + break; + case "textarea": + FE(n, i), De("invalid", n); + } + uv(r, i), o = null; + for (var s in i) if (i.hasOwnProperty(s)) { + var l = i[s]; + s === "children" ? typeof l == "string" ? n.textContent !== l && (i.suppressHydrationWarning !== !0 && Fd(n.textContent, l, e), + o = ["children", l]) : typeof l == "number" && n.textContent !== "" + l && (i.suppressHydrationWarning !== !0 && Fd( + n.textContent, + l, + e + ), o = ["children", "" + l]) : Wc.hasOwnProperty(s) && l != null && s === "onScroll" && De("scroll", n); + } + switch (r) { + case "input": + Ed(n), kE(n, i, !0); + break; + case "textarea": + Ed(n), LE(n); + break; + case "select": + case "option": + break; + default: + typeof i.onClick == "function" && (n.onclick = n0); + } + n = o, t.updateQueue = n, n !== null && (t.flags |= 4); + } else { + s = o.nodeType === 9 ? o : o.ownerDocument, e === "http://www.w3.org/1999/xhtml" && (e = Vb(r)), e === "http://www.w3.org/1999/x\ +html" ? r === "script" ? (e = s.createElement("div"), e.innerHTML = "