diff --git a/assets/Color-6VNJS4EI-RYsa4rzs.js b/assets/Color-6VNJS4EI-RYsa4rzs.js deleted file mode 100644 index 2b93695e..00000000 --- a/assets/Color-6VNJS4EI-RYsa4rzs.js +++ /dev/null @@ -1 +0,0 @@ -import{n as M,e as ue,T as Me,F as Ce,f as $e,g as Ne}from"./index-4RSmxb3z.js";import{R as h,r as b}from"./index-4g5l5LRQ.js";import{g as fe}from"./_commonjsHelpers-4gQjN7DL.js";import{_ as Oe,i as J,a as Ie}from"./index-MVbLLYTZ.js";import"./iframe-uScXI0l2.js";import"../sb-preview/runtime.js";import"./index-jmm5gWkb.js";import"./index-ogXoivrg.js";import"./index-PPLHz8o0.js";function $(){return($=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}function K(e){var t=b.useRef(e),n=b.useRef(function(r){t.current&&t.current(r)});return t.current=e,n.current}var S=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=1),e>n?n:e0:p.buttons>0)&&o.current?a(ne(o.current,p,l.current)):_(!1)},N=function(){return _(!1)};function _(p){var m=i.current,x=V(o.current),C=p?x.addEventListener:x.removeEventListener;C(m?"touchmove":"mousemove",k),C(m?"touchend":"mouseup",N)}return[function(p){var m=p.nativeEvent,x=o.current;if(x&&(re(m),!function(X,R){return R&&!j(X)}(m,i.current)&&x)){if(j(m)){i.current=!0;var C=m.changedTouches||[];C.length&&(l.current=C[0].identifier)}x.focus(),a(ne(x,m,l.current)),_(!0)}},function(p){var m=p.which||p.keyCode;m<37||m>40||(p.preventDefault(),s({left:m===39?.05:m===37?-.05:0,top:m===40?.05:m===38?-.05:0}))},_]},[s,a]),d=c[0],f=c[1],g=c[2];return b.useEffect(function(){return g},[g]),h.createElement("div",$({},r,{onTouchStart:d,onMouseDown:d,className:"react-colorful__interactive",ref:o,onKeyDown:f,tabIndex:0,role:"slider"}))}),z=function(e){return e.filter(Boolean).join(" ")},ee=function(e){var t=e.color,n=e.left,r=e.top,o=r===void 0?.5:r,a=z(["react-colorful__pointer",e.className]);return h.createElement("div",{className:a,style:{top:100*o+"%",left:100*n+"%"}},h.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},y=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=Math.pow(10,t)),Math.round(n*e)/n},Se={grad:.9,turn:360,rad:360/(2*Math.PI)},Re=function(e){return ge(A(e))},A=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?y(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?y(parseInt(e.substring(6,8),16)/255,2):1}},Te=function(e,t){return t===void 0&&(t="deg"),Number(e)*(Se[t]||1)},je=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?Fe({h:Te(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}},Fe=function(e){var t=e.s,n=e.l;return{h:e.h,s:(t*=(n<50?n:100-n)/100)>0?2*t/(n+t)*100:0,v:n+t,a:e.a}},ze=function(e){return Pe(de(e))},he=function(e){var t=e.s,n=e.v,r=e.a,o=(200-t)*n/100;return{h:y(e.h),s:y(o>0&&o<200?t*n/100/(o<=100?o:200-o)*100:0),l:y(o/2),a:y(r,2)}},G=function(e){var t=he(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},q=function(e){var t=he(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},de=function(e){var t=e.h,n=e.s,r=e.v,o=e.a;t=t/360*6,n/=100,r/=100;var a=Math.floor(t),s=r*(1-n),l=r*(1-(t-a)*n),i=r*(1-(1-t+a)*n),c=a%6;return{r:y(255*[r,l,s,s,i,r][c]),g:y(255*[i,r,r,l,s,s][c]),b:y(255*[s,s,i,r,r,l][c]),a:y(o,2)}},He=function(e){var t=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?ge({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}},H=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},Pe=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=o<1?H(y(255*o)):"";return"#"+H(t)+H(n)+H(r)+a},ge=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=Math.max(t,n,r),s=a-Math.min(t,n,r),l=s?a===t?(n-r)/s:a===n?2+(r-t)/s:4+(t-n)/s:0;return{h:y(60*(l<0?l+6:l)),s:y(a?s/a*100:0),v:y(a/255*100),a:o}},me=h.memo(function(e){var t=e.hue,n=e.onChange,r=z(["react-colorful__hue",e.className]);return h.createElement("div",{className:r},h.createElement(Z,{onMove:function(o){n({h:360*o.left})},onKey:function(o){n({h:S(t+360*o.left,0,360)})},"aria-label":"Hue","aria-valuenow":y(t),"aria-valuemax":"360","aria-valuemin":"0"},h.createElement(ee,{className:"react-colorful__hue-pointer",left:t/360,color:G({h:t,s:100,v:100,a:1})})))}),be=h.memo(function(e){var t=e.hsva,n=e.onChange,r={backgroundColor:G({h:t.h,s:100,v:100,a:1})};return h.createElement("div",{className:"react-colorful__saturation",style:r},h.createElement(Z,{onMove:function(o){n({s:100*o.left,v:100-100*o.top})},onKey:function(o){n({s:S(t.s+100*o.left,0,100),v:S(t.v-100*o.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+y(t.s)+"%, Brightness "+y(t.v)+"%"},h.createElement(ee,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:G(t)})))}),ve=function(e,t){if(e===t)return!0;for(var n in e)if(e[n]!==t[n])return!1;return!0},pe=function(e,t){return e.replace(/\s/g,"")===t.replace(/\s/g,"")},Le=function(e,t){return e.toLowerCase()===t.toLowerCase()||ve(A(e),A(t))};function ye(e,t,n){var r=K(n),o=b.useState(function(){return e.toHsva(t)}),a=o[0],s=o[1],l=b.useRef({color:t,hsva:a});b.useEffect(function(){if(!e.equal(t,l.current.color)){var c=e.toHsva(t);l.current={hsva:c,color:t},s(c)}},[t,e]),b.useEffect(function(){var c;ve(a,l.current.hsva)||e.equal(c=e.fromHsva(a),l.current.color)||(l.current={hsva:a,color:c},r(c))},[a,e,r]);var i=b.useCallback(function(c){s(function(d){return Object.assign({},d,c)})},[]);return[a,i]}var qe=typeof window<"u"?b.useLayoutEffect:b.useEffect,Be=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},oe=new Map,xe=function(e){qe(function(){var t=e.current?e.current.ownerDocument:document;if(t!==void 0&&!oe.has(t)){var n=t.createElement("style");n.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}`,oe.set(t,n);var r=Be();r&&n.setAttribute("nonce",r),t.head.appendChild(n)}},[])},We=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,s=Q(e,["className","colorModel","color","onChange"]),l=b.useRef(null);xe(l);var i=ye(n,o,a),c=i[0],d=i[1],f=z(["react-colorful",t]);return h.createElement("div",$({},s,{ref:l,className:f}),h.createElement(be,{hsva:c,onChange:d}),h.createElement(me,{hue:c.h,onChange:d,className:"react-colorful__last-control"}))},Xe={defaultColor:"000",toHsva:Re,fromHsva:function(e){return ze({h:e.h,s:e.s,v:e.v,a:1})},equal:Le},De=function(e){return h.createElement(We,$({},e,{colorModel:Xe}))},Ke=function(e){var t=e.className,n=e.hsva,r=e.onChange,o={backgroundImage:"linear-gradient(90deg, "+q(Object.assign({},n,{a:0}))+", "+q(Object.assign({},n,{a:1}))+")"},a=z(["react-colorful__alpha",t]),s=y(100*n.a);return h.createElement("div",{className:a},h.createElement("div",{className:"react-colorful__alpha-gradient",style:o}),h.createElement(Z,{onMove:function(l){r({a:l.left})},onKey:function(l){r({a:S(n.a+l.left)})},"aria-label":"Alpha","aria-valuetext":s+"%","aria-valuenow":s,"aria-valuemin":"0","aria-valuemax":"100"},h.createElement(ee,{className:"react-colorful__alpha-pointer",left:n.a,color:q(n)})))},we=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,s=Q(e,["className","colorModel","color","onChange"]),l=b.useRef(null);xe(l);var i=ye(n,o,a),c=i[0],d=i[1],f=z(["react-colorful",t]);return h.createElement("div",$({},s,{ref:l,className:f}),h.createElement(be,{hsva:c,onChange:d}),h.createElement(me,{hue:c.h,onChange:d}),h.createElement(Ke,{hsva:c,onChange:d,className:"react-colorful__last-control"}))},Ve={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:je,fromHsva:q,equal:pe},Ae=function(e){return h.createElement(we,$({},e,{colorModel:Ve}))},Ge={defaultColor:"rgba(0, 0, 0, 1)",toHsva:He,fromHsva:function(e){var t=de(e);return"rgba("+t.r+", "+t.g+", "+t.b+", "+t.a+")"},equal:pe},Ue=function(e){return h.createElement(we,$({},e,{colorModel:Ge}))},Ye={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]};const F=Ye,ke={};for(const e of Object.keys(F))ke[F[e]]=e;const u={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"]}};var _e=u;for(const e of Object.keys(u)){if(!("channels"in u[e]))throw new Error("missing channels property: "+e);if(!("labels"in u[e]))throw new Error("missing channel labels property: "+e);if(u[e].labels.length!==u[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:n}=u[e];delete u[e].channels,delete u[e].labels,Object.defineProperty(u[e],"channels",{value:t}),Object.defineProperty(u[e],"labels",{value:n})}u.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(t,n,r),a=Math.max(t,n,r),s=a-o;let l,i;a===o?l=0:t===a?l=(n-r)/s:n===a?l=2+(r-t)/s:r===a&&(l=4+(t-n)/s),l=Math.min(l*60,360),l<0&&(l+=360);const c=(o+a)/2;return a===o?i=0:c<=.5?i=s/(a+o):i=s/(2-a-o),[l,i*100,c*100]};u.rgb.hsv=function(e){let t,n,r,o,a;const s=e[0]/255,l=e[1]/255,i=e[2]/255,c=Math.max(s,l,i),d=c-Math.min(s,l,i),f=function(g){return(c-g)/6/d+1/2};return d===0?(o=0,a=0):(a=d/c,t=f(s),n=f(l),r=f(i),s===c?o=r-n:l===c?o=1/3+t-r:i===c&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[o*360,a*100,c*100]};u.rgb.hwb=function(e){const t=e[0],n=e[1];let r=e[2];const o=u.rgb.hsl(e)[0],a=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[o,a*100,r*100]};u.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(1-t,1-n,1-r),a=(1-t-o)/(1-o)||0,s=(1-n-o)/(1-o)||0,l=(1-r-o)/(1-o)||0;return[a*100,s*100,l*100,o*100]};function Je(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}u.rgb.keyword=function(e){const t=ke[e];if(t)return t;let n=1/0,r;for(const o of Object.keys(F)){const a=F[o],s=Je(e,a);s.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;const o=t*.4124+n*.3576+r*.1805,a=t*.2126+n*.7152+r*.0722,s=t*.0193+n*.1192+r*.9505;return[o*100,a*100,s*100]};u.rgb.lab=function(e){const t=u.rgb.xyz(e);let n=t[0],r=t[1],o=t[2];n/=95.047,r/=100,o/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;const a=116*r-16,s=500*(n-r),l=200*(r-o);return[a,s,l]};u.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;let o,a,s;if(n===0)return s=r*255,[s,s,s];r<.5?o=r*(1+n):o=r+n-r*n;const l=2*r-o,i=[0,0,0];for(let c=0;c<3;c++)a=t+1/3*-(c-1),a<0&&a++,a>1&&a--,6*a<1?s=l+(o-l)*6*a:2*a<1?s=o:3*a<2?s=l+(o-l)*(2/3-a)*6:s=l,i[c]=s*255;return i};u.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,r=e[2]/100,o=n;const a=Math.max(r,.01);r*=2,n*=r<=1?r:2-r,o*=a<=1?a:2-a;const s=(r+n)/2,l=r===0?2*o/(a+o):2*n/(r+n);return[t,l*100,s*100]};u.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let r=e[2]/100;const o=Math.floor(t)%6,a=t-Math.floor(t),s=255*r*(1-n),l=255*r*(1-n*a),i=255*r*(1-n*(1-a));switch(r*=255,o){case 0:return[r,i,s];case 1:return[l,r,s];case 2:return[s,r,i];case 3:return[s,l,r];case 4:return[i,s,r];case 5:return[r,s,l]}};u.hsv.hsl=function(e){const t=e[0],n=e[1]/100,r=e[2]/100,o=Math.max(r,.01);let a,s;s=(2-n)*r;const l=(2-n)*o;return a=n*o,a/=l<=1?l:2-l,a=a||0,s/=2,[t,a*100,s*100]};u.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,r=e[2]/100;const o=n+r;let a;o>1&&(n/=o,r/=o);const s=Math.floor(6*t),l=1-r;a=6*t-s,s&1&&(a=1-a);const i=n+a*(l-n);let c,d,f;switch(s){default:case 6:case 0:c=l,d=i,f=n;break;case 1:c=i,d=l,f=n;break;case 2:c=n,d=l,f=i;break;case 3:c=n,d=i,f=l;break;case 4:c=i,d=n,f=l;break;case 5:c=l,d=n,f=i;break}return[c*255,d*255,f*255]};u.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100,a=1-Math.min(1,t*(1-o)+o),s=1-Math.min(1,n*(1-o)+o),l=1-Math.min(1,r*(1-o)+o);return[a*255,s*255,l*255]};u.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100;let o,a,s;return o=t*3.2406+n*-1.5372+r*-.4986,a=t*-.9689+n*1.8758+r*.0415,s=t*.0557+n*-.204+r*1.057,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,o=Math.min(Math.max(0,o),1),a=Math.min(Math.max(0,a),1),s=Math.min(Math.max(0,s),1),[o*255,a*255,s*255]};u.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116;const o=116*n-16,a=500*(t-n),s=200*(n-r);return[o,a,s]};u.lab.xyz=function(e){const t=e[0],n=e[1],r=e[2];let o,a,s;a=(t+16)/116,o=n/500+a,s=a-r/200;const l=a**3,i=o**3,c=s**3;return a=l>.008856?l:(a-16/116)/7.787,o=i>.008856?i:(o-16/116)/7.787,s=c>.008856?c:(s-16/116)/7.787,o*=95.047,a*=100,s*=108.883,[o,a,s]};u.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let o;o=Math.atan2(r,n)*360/2/Math.PI,o<0&&(o+=360);const s=Math.sqrt(n*n+r*r);return[t,s,o]};u.lch.lab=function(e){const t=e[0],n=e[1],o=e[2]/360*2*Math.PI,a=n*Math.cos(o),s=n*Math.sin(o);return[t,a,s]};u.rgb.ansi16=function(e,t=null){const[n,r,o]=e;let a=t===null?u.rgb.hsv(e)[2]:t;if(a=Math.round(a/50),a===0)return 30;let s=30+(Math.round(o/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return a===2&&(s+=60),s};u.hsv.ansi16=function(e){return u.rgb.ansi16(u.hsv.rgb(e),e[2])};u.rgb.ansi256=function(e){const t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)};u.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];const n=(~~(e>50)+1)*.5,r=(t&1)*n*255,o=(t>>1&1)*n*255,a=(t>>2&1)*n*255;return[r,o,a]};u.ansi256.rgb=function(e){if(e>=232){const a=(e-232)*10+8;return[a,a,a]}e-=16;let t;const n=Math.floor(e/36)/5*255,r=Math.floor((t=e%36)/6)/5*255,o=t%6/5*255;return[n,r,o]};u.rgb.hex=function(e){const n=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(n.length)+n};u.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];t[0].length===3&&(n=n.split("").map(l=>l+l).join(""));const r=parseInt(n,16),o=r>>16&255,a=r>>8&255,s=r&255;return[o,a,s]};u.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.max(Math.max(t,n),r),a=Math.min(Math.min(t,n),r),s=o-a;let l,i;return s<1?l=a/(1-s):l=0,s<=0?i=0:o===t?i=(n-r)/s%6:o===n?i=2+(r-t)/s:i=4+(t-n)/s,i/=6,i%=1,[i*360,s*100,l*100]};u.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n);let o=0;return r<1&&(o=(n-.5*r)/(1-r)),[e[0],r*100,o*100]};u.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=t*n;let o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],r*100,o*100]};u.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;if(n===0)return[r*255,r*255,r*255];const o=[0,0,0],a=t%1*6,s=a%1,l=1-s;let i=0;switch(Math.floor(a)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=l,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=l,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=l}return i=(1-n)*r,[(n*o[0]+i)*255,(n*o[1]+i)*255,(n*o[2]+i)*255]};u.hcg.hsv=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);let o=0;return r>0&&(o=t/r),[e[0],o*100,r*100]};u.hcg.hsl=function(e){const t=e[1]/100,r=e[2]/100*(1-t)+.5*t;let o=0;return r>0&&r<.5?o=t/(2*r):r>=.5&&r<1&&(o=t/(2*(1-r))),[e[0],o*100,r*100]};u.hcg.hwb=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);return[e[0],(r-t)*100,(1-r)*100]};u.hwb.hcg=function(e){const t=e[1]/100,r=1-e[2]/100,o=r-t;let a=0;return o<1&&(a=(r-o)/(1-o)),[e[0],o*100,a*100]};u.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};u.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};u.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};u.gray.hsl=function(e){return[0,0,e[0]]};u.gray.hsv=u.gray.hsl;u.gray.hwb=function(e){return[0,100,e[0]]};u.gray.cmyk=function(e){return[0,0,0,e[0]]};u.gray.lab=function(e){return[e[0],0,0]};u.gray.hex=function(e){const t=Math.round(e[0]/100*255)&255,r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r};u.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const B=_e;function Qe(){const e={},t=Object.keys(B);for(let n=t.length,r=0;r1&&(n=r),e(n))};return"conversion"in e&&(t.conversion=e.conversion),t}function st(e){const t=function(...n){const r=n[0];if(r==null)return r;r.length>1&&(n=r);const o=e(n);if(typeof o=="object")for(let a=o.length,s=0;s{O[e]={},Object.defineProperty(O[e],"channels",{value:U[e].channels}),Object.defineProperty(O[e],"labels",{value:U[e].labels});const t=rt(e);Object.keys(t).forEach(r=>{const o=t[r];O[e][r]=st(o),O[e][r].raw=at(o)})});var lt=O;const w=fe(lt);var it=Oe,ct=function(){return it.Date.now()},ut=ct,ft=/\s/;function ht(e){for(var t=e.length;t--&&ft.test(e.charAt(t)););return t}var dt=ht,gt=dt,mt=/^\s+/;function bt(e){return e&&e.slice(0,gt(e)+1).replace(mt,"")}var vt=bt,pt=vt,ae=J,yt=Ie,se=NaN,xt=/^[-+]0x[0-9a-f]+$/i,wt=/^0b[01]+$/i,kt=/^0o[0-7]+$/i,_t=parseInt;function Et(e){if(typeof e=="number")return e;if(yt(e))return se;if(ae(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=ae(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=pt(e);var n=wt.test(e);return n||kt.test(e)?_t(e.slice(2),n?2:8):xt.test(e)?se:+e}var Mt=Et,Ct=J,D=ut,le=Mt,$t="Expected a function",Nt=Math.max,Ot=Math.min;function It(e,t,n){var r,o,a,s,l,i,c=0,d=!1,f=!1,g=!0;if(typeof e!="function")throw new TypeError($t);t=le(t)||0,Ct(n)&&(d=!!n.leading,f="maxWait"in n,a=f?Nt(le(n.maxWait)||0,t):a,g="trailing"in n?!!n.trailing:g);function k(v){var E=r,T=o;return r=o=void 0,c=v,s=e.apply(T,E),s}function N(v){return c=v,l=setTimeout(m,t),d?k(v):s}function _(v){var E=v-i,T=v-c,te=t-E;return f?Ot(te,a-T):te}function p(v){var E=v-i,T=v-c;return i===void 0||E>=t||E<0||f&&T>=a}function m(){var v=D();if(p(v))return x(v);l=setTimeout(m,_(v))}function x(v){return l=void 0,g&&r?k(v):(r=o=void 0,s)}function C(){l!==void 0&&clearTimeout(l),c=0,r=i=o=l=void 0}function X(){return l===void 0?s:x(D())}function R(){var v=D(),E=p(v);if(r=arguments,o=this,i=v,E){if(l===void 0)return N(i);if(f)return clearTimeout(l),l=setTimeout(m,t),k(i)}return l===void 0&&(l=setTimeout(m,t)),s}return R.cancel=C,R.flush=X,R}var St=It,Rt=St,Tt=J,jt="Expected a function";function Ft(e,t,n){var r=!0,o=!0;if(typeof e!="function")throw new TypeError(jt);return Tt(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Rt(e,t,{leading:r,maxWait:t,trailing:o})}var zt=Ft;const Ht=fe(zt);var Pt=M.div({position:"relative",maxWidth:250}),Lt=M(ue)({position:"absolute",zIndex:1,top:4,left:4}),qt=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"}}),Bt=M(Me)(({theme:e})=>({fontFamily:e.typography.fonts.base})),Wt=M.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),Xt=M.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})),Dt=`url('data:image/svg+xml;charset=utf-8,')`,ie=({value:e,active:t,onClick:n,style:r,...o})=>{let a=`linear-gradient(${e}, ${e}), ${Dt}, linear-gradient(#fff, #fff)`;return h.createElement(Xt,{...o,active:t,onClick:n,style:{...r,backgroundImage:a}})},Kt=M(Ce.Input)(({theme:e})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:e.typography.fonts.base})),Vt=M($e)(({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})),Ee=(e=>(e.RGB="rgb",e.HSL="hsl",e.HEX="hex",e))(Ee||{}),P=Object.values(Ee),At=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,Gt=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,Ut=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,Y=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,Yt=/^\s*#?([0-9a-f]{3})\s*$/i,Jt={hex:De,rgb:Ue,hsl:Ae},L={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},ce=e=>{let t=e==null?void 0:e.match(At);if(!t)return[0,0,0,1];let[,n,r,o,a=1]=t;return[n,r,o,a].map(Number)},I=e=>{if(!e)return;let t=!0;if(Gt.test(e)){let[s,l,i,c]=ce(e),[d,f,g]=w.rgb.hsl([s,l,i])||[0,0,0];return{valid:t,value:e,keyword:w.rgb.keyword([s,l,i]),colorSpace:"rgb",rgb:e,hsl:`hsla(${d}, ${f}%, ${g}%, ${c})`,hex:`#${w.rgb.hex([s,l,i]).toLowerCase()}`}}if(Ut.test(e)){let[s,l,i,c]=ce(e),[d,f,g]=w.hsl.rgb([s,l,i])||[0,0,0];return{valid:t,value:e,keyword:w.hsl.keyword([s,l,i]),colorSpace:"hsl",rgb:`rgba(${d}, ${f}, ${g}, ${c})`,hsl:e,hex:`#${w.hsl.hex([s,l,i]).toLowerCase()}`}}let n=e.replace("#",""),r=w.keyword.rgb(n)||w.hex.rgb(n),o=w.rgb.hsl(r),a=e;if(/[^#a-f0-9]/i.test(e)?a=n:Y.test(e)&&(a=`#${n}`),a.startsWith("#"))t=Y.test(a);else try{w.keyword.hex(a)}catch{t=!1}return{valid:t,value:a,keyword:w.rgb.keyword(r),colorSpace:"hex",rgb:`rgba(${r[0]}, ${r[1]}, ${r[2]}, 1)`,hsl:`hsla(${o[0]}, ${o[1]}%, ${o[2]}%, 1)`,hex:a}},Qt=(e,t,n)=>{if(!e||!(t!=null&&t.valid))return L[n];if(n!=="hex")return(t==null?void 0:t[n])||L[n];if(!t.hex.startsWith("#"))try{return`#${w.keyword.hex(t.hex)}`}catch{return L.hex}let r=t.hex.match(Yt);if(!r)return Y.test(t.hex)?t.hex:L.hex;let[o,a,s]=r[1].split("");return`#${o}${o}${a}${a}${s}${s}`},Zt=(e,t)=>{let[n,r]=b.useState(e||""),[o,a]=b.useState(()=>I(n)),[s,l]=b.useState((o==null?void 0:o.colorSpace)||"hex");b.useEffect(()=>{let f=e||"",g=I(f);r(f),a(g),l((g==null?void 0:g.colorSpace)||"hex")},[e]);let i=b.useMemo(()=>Qt(n,o,s).toLowerCase(),[n,o,s]),c=b.useCallback(f=>{let g=I(f),k=(g==null?void 0:g.value)||f||"";r(k),k===""&&(a(void 0),t(void 0)),g&&(a(g),l(g.colorSpace),t(g.value))},[t]),d=b.useCallback(()=>{let f=P.indexOf(s)+1;f>=P.length&&(f=0),l(P[f]);let g=(o==null?void 0:o[P[f]])||"";r(g),t(g)},[o,s,t]);return{value:n,realValue:i,updateValue:c,color:o,colorSpace:s,cycleColorSpace:d}},W=e=>e.replace(/\s*/,"").toLowerCase(),en=(e,t,n)=>{let[r,o]=b.useState(t!=null&&t.valid?[t]:[]);b.useEffect(()=>{t===void 0&&o([])},[t]);let a=b.useMemo(()=>(e||[]).map(l=>typeof l=="string"?I(l):l.title?{...I(l.color),keyword:l.title}:I(l.color)).concat(r).filter(Boolean).slice(-27),[e,r]),s=b.useCallback(l=>{l!=null&&l.valid&&(a.some(i=>W(i[n])===W(l[n]))||o(i=>i.concat(l)))},[n,a]);return{presets:a,addPreset:s}},tn=({name:e,value:t,onChange:n,onFocus:r,onBlur:o,presetColors:a,startOpen:s=!1})=>{let l=b.useCallback(Ht(n,200),[n]),{value:i,realValue:c,updateValue:d,color:f,colorSpace:g,cycleColorSpace:k}=Zt(t,l),{presets:N,addPreset:_}=en(a,f,g),p=Jt[g];return h.createElement(Pt,null,h.createElement(Lt,{startOpen:s,closeOnOutsideClick:!0,onVisibleChange:()=>_(f),tooltip:h.createElement(qt,null,h.createElement(p,{color:c==="transparent"?"#000000":c,onChange:d,onFocus:r,onBlur:o}),N.length>0&&h.createElement(Wt,null,N.map((m,x)=>h.createElement(ue,{key:`${m.value}-${x}`,hasChrome:!1,tooltip:h.createElement(Bt,{note:m.keyword||m.value})},h.createElement(ie,{value:m[g],active:f&&W(m[g])===W(f[g]),onClick:()=>d(m.value)})))))},h.createElement(ie,{value:c,style:{margin:4}})),h.createElement(Kt,{id:Ne(e),value:i,onChange:m=>d(m.target.value),onFocus:m=>m.target.select(),placeholder:"Choose color..."}),i?h.createElement(Vt,{icon:"markup",onClick:k}):null)},hn=tn;export{tn as ColorControl,hn as default}; diff --git a/assets/Color-RQJUDNI5-LFKIZWh_.js b/assets/Color-RQJUDNI5-LFKIZWh_.js new file mode 100644 index 00000000..06a84b13 --- /dev/null +++ b/assets/Color-RQJUDNI5-LFKIZWh_.js @@ -0,0 +1 @@ +import{n as M,e as ue,T as Me,F as Ce,f as $e,g as Ne}from"./index-8ZKuWOMm.js";import{R as h,r as b,g as fe}from"./index-OjgoNOWw.js";import{_ as Oe,i as J,a as Ie}from"./index-33y5txed.js";import"./iframe-YRqh8WQd.js";import"../sb-preview/runtime.js";import"./index-mQqIOHEI.js";import"./index-ogXoivrg.js";import"./index-PPLHz8o0.js";function $(){return($=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}function K(e){var t=b.useRef(e),n=b.useRef(function(r){t.current&&t.current(r)});return t.current=e,n.current}var S=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=1),e>n?n:e0:p.buttons>0)&&o.current?a(ne(o.current,p,l.current)):_(!1)},N=function(){return _(!1)};function _(p){var m=i.current,x=V(o.current),C=p?x.addEventListener:x.removeEventListener;C(m?"touchmove":"mousemove",k),C(m?"touchend":"mouseup",N)}return[function(p){var m=p.nativeEvent,x=o.current;if(x&&(re(m),!function(X,R){return R&&!j(X)}(m,i.current)&&x)){if(j(m)){i.current=!0;var C=m.changedTouches||[];C.length&&(l.current=C[0].identifier)}x.focus(),a(ne(x,m,l.current)),_(!0)}},function(p){var m=p.which||p.keyCode;m<37||m>40||(p.preventDefault(),s({left:m===39?.05:m===37?-.05:0,top:m===40?.05:m===38?-.05:0}))},_]},[s,a]),d=c[0],f=c[1],g=c[2];return b.useEffect(function(){return g},[g]),h.createElement("div",$({},r,{onTouchStart:d,onMouseDown:d,className:"react-colorful__interactive",ref:o,onKeyDown:f,tabIndex:0,role:"slider"}))}),z=function(e){return e.filter(Boolean).join(" ")},ee=function(e){var t=e.color,n=e.left,r=e.top,o=r===void 0?.5:r,a=z(["react-colorful__pointer",e.className]);return h.createElement("div",{className:a,style:{top:100*o+"%",left:100*n+"%"}},h.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},y=function(e,t,n){return t===void 0&&(t=0),n===void 0&&(n=Math.pow(10,t)),Math.round(n*e)/n},Se={grad:.9,turn:360,rad:360/(2*Math.PI)},Re=function(e){return ge(A(e))},A=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?y(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?y(parseInt(e.substring(6,8),16)/255,2):1}},Te=function(e,t){return t===void 0&&(t="deg"),Number(e)*(Se[t]||1)},je=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?Fe({h:Te(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}},Fe=function(e){var t=e.s,n=e.l;return{h:e.h,s:(t*=(n<50?n:100-n)/100)>0?2*t/(n+t)*100:0,v:n+t,a:e.a}},ze=function(e){return Pe(de(e))},he=function(e){var t=e.s,n=e.v,r=e.a,o=(200-t)*n/100;return{h:y(e.h),s:y(o>0&&o<200?t*n/100/(o<=100?o:200-o)*100:0),l:y(o/2),a:y(r,2)}},G=function(e){var t=he(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},q=function(e){var t=he(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},de=function(e){var t=e.h,n=e.s,r=e.v,o=e.a;t=t/360*6,n/=100,r/=100;var a=Math.floor(t),s=r*(1-n),l=r*(1-(t-a)*n),i=r*(1-(1-t+a)*n),c=a%6;return{r:y(255*[r,l,s,s,i,r][c]),g:y(255*[i,r,r,l,s,s][c]),b:y(255*[s,s,i,r,r,l][c]),a:y(o,2)}},He=function(e){var t=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?ge({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}},H=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},Pe=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=o<1?H(y(255*o)):"";return"#"+H(t)+H(n)+H(r)+a},ge=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=Math.max(t,n,r),s=a-Math.min(t,n,r),l=s?a===t?(n-r)/s:a===n?2+(r-t)/s:4+(t-n)/s:0;return{h:y(60*(l<0?l+6:l)),s:y(a?s/a*100:0),v:y(a/255*100),a:o}},me=h.memo(function(e){var t=e.hue,n=e.onChange,r=z(["react-colorful__hue",e.className]);return h.createElement("div",{className:r},h.createElement(Z,{onMove:function(o){n({h:360*o.left})},onKey:function(o){n({h:S(t+360*o.left,0,360)})},"aria-label":"Hue","aria-valuenow":y(t),"aria-valuemax":"360","aria-valuemin":"0"},h.createElement(ee,{className:"react-colorful__hue-pointer",left:t/360,color:G({h:t,s:100,v:100,a:1})})))}),be=h.memo(function(e){var t=e.hsva,n=e.onChange,r={backgroundColor:G({h:t.h,s:100,v:100,a:1})};return h.createElement("div",{className:"react-colorful__saturation",style:r},h.createElement(Z,{onMove:function(o){n({s:100*o.left,v:100-100*o.top})},onKey:function(o){n({s:S(t.s+100*o.left,0,100),v:S(t.v-100*o.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+y(t.s)+"%, Brightness "+y(t.v)+"%"},h.createElement(ee,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:G(t)})))}),ve=function(e,t){if(e===t)return!0;for(var n in e)if(e[n]!==t[n])return!1;return!0},pe=function(e,t){return e.replace(/\s/g,"")===t.replace(/\s/g,"")},Le=function(e,t){return e.toLowerCase()===t.toLowerCase()||ve(A(e),A(t))};function ye(e,t,n){var r=K(n),o=b.useState(function(){return e.toHsva(t)}),a=o[0],s=o[1],l=b.useRef({color:t,hsva:a});b.useEffect(function(){if(!e.equal(t,l.current.color)){var c=e.toHsva(t);l.current={hsva:c,color:t},s(c)}},[t,e]),b.useEffect(function(){var c;ve(a,l.current.hsva)||e.equal(c=e.fromHsva(a),l.current.color)||(l.current={hsva:a,color:c},r(c))},[a,e,r]);var i=b.useCallback(function(c){s(function(d){return Object.assign({},d,c)})},[]);return[a,i]}var qe=typeof window<"u"?b.useLayoutEffect:b.useEffect,Be=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},oe=new Map,xe=function(e){qe(function(){var t=e.current?e.current.ownerDocument:document;if(t!==void 0&&!oe.has(t)){var n=t.createElement("style");n.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}`,oe.set(t,n);var r=Be();r&&n.setAttribute("nonce",r),t.head.appendChild(n)}},[])},We=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,s=Q(e,["className","colorModel","color","onChange"]),l=b.useRef(null);xe(l);var i=ye(n,o,a),c=i[0],d=i[1],f=z(["react-colorful",t]);return h.createElement("div",$({},s,{ref:l,className:f}),h.createElement(be,{hsva:c,onChange:d}),h.createElement(me,{hue:c.h,onChange:d,className:"react-colorful__last-control"}))},Xe={defaultColor:"000",toHsva:Re,fromHsva:function(e){return ze({h:e.h,s:e.s,v:e.v,a:1})},equal:Le},De=function(e){return h.createElement(We,$({},e,{colorModel:Xe}))},Ke=function(e){var t=e.className,n=e.hsva,r=e.onChange,o={backgroundImage:"linear-gradient(90deg, "+q(Object.assign({},n,{a:0}))+", "+q(Object.assign({},n,{a:1}))+")"},a=z(["react-colorful__alpha",t]),s=y(100*n.a);return h.createElement("div",{className:a},h.createElement("div",{className:"react-colorful__alpha-gradient",style:o}),h.createElement(Z,{onMove:function(l){r({a:l.left})},onKey:function(l){r({a:S(n.a+l.left)})},"aria-label":"Alpha","aria-valuetext":s+"%","aria-valuenow":s,"aria-valuemin":"0","aria-valuemax":"100"},h.createElement(ee,{className:"react-colorful__alpha-pointer",left:n.a,color:q(n)})))},we=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,s=Q(e,["className","colorModel","color","onChange"]),l=b.useRef(null);xe(l);var i=ye(n,o,a),c=i[0],d=i[1],f=z(["react-colorful",t]);return h.createElement("div",$({},s,{ref:l,className:f}),h.createElement(be,{hsva:c,onChange:d}),h.createElement(me,{hue:c.h,onChange:d}),h.createElement(Ke,{hsva:c,onChange:d,className:"react-colorful__last-control"}))},Ve={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:je,fromHsva:q,equal:pe},Ae=function(e){return h.createElement(we,$({},e,{colorModel:Ve}))},Ge={defaultColor:"rgba(0, 0, 0, 1)",toHsva:He,fromHsva:function(e){var t=de(e);return"rgba("+t.r+", "+t.g+", "+t.b+", "+t.a+")"},equal:pe},Ue=function(e){return h.createElement(we,$({},e,{colorModel:Ge}))},Ye={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]};const F=Ye,ke={};for(const e of Object.keys(F))ke[F[e]]=e;const u={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"]}};var _e=u;for(const e of Object.keys(u)){if(!("channels"in u[e]))throw new Error("missing channels property: "+e);if(!("labels"in u[e]))throw new Error("missing channel labels property: "+e);if(u[e].labels.length!==u[e].channels)throw new Error("channel and label counts mismatch: "+e);const{channels:t,labels:n}=u[e];delete u[e].channels,delete u[e].labels,Object.defineProperty(u[e],"channels",{value:t}),Object.defineProperty(u[e],"labels",{value:n})}u.rgb.hsl=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(t,n,r),a=Math.max(t,n,r),s=a-o;let l,i;a===o?l=0:t===a?l=(n-r)/s:n===a?l=2+(r-t)/s:r===a&&(l=4+(t-n)/s),l=Math.min(l*60,360),l<0&&(l+=360);const c=(o+a)/2;return a===o?i=0:c<=.5?i=s/(a+o):i=s/(2-a-o),[l,i*100,c*100]};u.rgb.hsv=function(e){let t,n,r,o,a;const s=e[0]/255,l=e[1]/255,i=e[2]/255,c=Math.max(s,l,i),d=c-Math.min(s,l,i),f=function(g){return(c-g)/6/d+1/2};return d===0?(o=0,a=0):(a=d/c,t=f(s),n=f(l),r=f(i),s===c?o=r-n:l===c?o=1/3+t-r:i===c&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[o*360,a*100,c*100]};u.rgb.hwb=function(e){const t=e[0],n=e[1];let r=e[2];const o=u.rgb.hsl(e)[0],a=1/255*Math.min(t,Math.min(n,r));return r=1-1/255*Math.max(t,Math.max(n,r)),[o,a*100,r*100]};u.rgb.cmyk=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.min(1-t,1-n,1-r),a=(1-t-o)/(1-o)||0,s=(1-n-o)/(1-o)||0,l=(1-r-o)/(1-o)||0;return[a*100,s*100,l*100,o*100]};function Je(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}u.rgb.keyword=function(e){const t=ke[e];if(t)return t;let n=1/0,r;for(const o of Object.keys(F)){const a=F[o],s=Je(e,a);s.04045?((t+.055)/1.055)**2.4:t/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92;const o=t*.4124+n*.3576+r*.1805,a=t*.2126+n*.7152+r*.0722,s=t*.0193+n*.1192+r*.9505;return[o*100,a*100,s*100]};u.rgb.lab=function(e){const t=u.rgb.xyz(e);let n=t[0],r=t[1],o=t[2];n/=95.047,r/=100,o/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;const a=116*r-16,s=500*(n-r),l=200*(r-o);return[a,s,l]};u.hsl.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;let o,a,s;if(n===0)return s=r*255,[s,s,s];r<.5?o=r*(1+n):o=r+n-r*n;const l=2*r-o,i=[0,0,0];for(let c=0;c<3;c++)a=t+1/3*-(c-1),a<0&&a++,a>1&&a--,6*a<1?s=l+(o-l)*6*a:2*a<1?s=o:3*a<2?s=l+(o-l)*(2/3-a)*6:s=l,i[c]=s*255;return i};u.hsl.hsv=function(e){const t=e[0];let n=e[1]/100,r=e[2]/100,o=n;const a=Math.max(r,.01);r*=2,n*=r<=1?r:2-r,o*=a<=1?a:2-a;const s=(r+n)/2,l=r===0?2*o/(a+o):2*n/(r+n);return[t,l*100,s*100]};u.hsv.rgb=function(e){const t=e[0]/60,n=e[1]/100;let r=e[2]/100;const o=Math.floor(t)%6,a=t-Math.floor(t),s=255*r*(1-n),l=255*r*(1-n*a),i=255*r*(1-n*(1-a));switch(r*=255,o){case 0:return[r,i,s];case 1:return[l,r,s];case 2:return[s,r,i];case 3:return[s,l,r];case 4:return[i,s,r];case 5:return[r,s,l]}};u.hsv.hsl=function(e){const t=e[0],n=e[1]/100,r=e[2]/100,o=Math.max(r,.01);let a,s;s=(2-n)*r;const l=(2-n)*o;return a=n*o,a/=l<=1?l:2-l,a=a||0,s/=2,[t,a*100,s*100]};u.hwb.rgb=function(e){const t=e[0]/360;let n=e[1]/100,r=e[2]/100;const o=n+r;let a;o>1&&(n/=o,r/=o);const s=Math.floor(6*t),l=1-r;a=6*t-s,s&1&&(a=1-a);const i=n+a*(l-n);let c,d,f;switch(s){default:case 6:case 0:c=l,d=i,f=n;break;case 1:c=i,d=l,f=n;break;case 2:c=n,d=l,f=i;break;case 3:c=n,d=i,f=l;break;case 4:c=i,d=n,f=l;break;case 5:c=l,d=n,f=i;break}return[c*255,d*255,f*255]};u.cmyk.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100,a=1-Math.min(1,t*(1-o)+o),s=1-Math.min(1,n*(1-o)+o),l=1-Math.min(1,r*(1-o)+o);return[a*255,s*255,l*255]};u.xyz.rgb=function(e){const t=e[0]/100,n=e[1]/100,r=e[2]/100;let o,a,s;return o=t*3.2406+n*-1.5372+r*-.4986,a=t*-.9689+n*1.8758+r*.0415,s=t*.0557+n*-.204+r*1.057,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,o=Math.min(Math.max(0,o),1),a=Math.min(Math.max(0,a),1),s=Math.min(Math.max(0,s),1),[o*255,a*255,s*255]};u.xyz.lab=function(e){let t=e[0],n=e[1],r=e[2];t/=95.047,n/=100,r/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,r=r>.008856?r**(1/3):7.787*r+16/116;const o=116*n-16,a=500*(t-n),s=200*(n-r);return[o,a,s]};u.lab.xyz=function(e){const t=e[0],n=e[1],r=e[2];let o,a,s;a=(t+16)/116,o=n/500+a,s=a-r/200;const l=a**3,i=o**3,c=s**3;return a=l>.008856?l:(a-16/116)/7.787,o=i>.008856?i:(o-16/116)/7.787,s=c>.008856?c:(s-16/116)/7.787,o*=95.047,a*=100,s*=108.883,[o,a,s]};u.lab.lch=function(e){const t=e[0],n=e[1],r=e[2];let o;o=Math.atan2(r,n)*360/2/Math.PI,o<0&&(o+=360);const s=Math.sqrt(n*n+r*r);return[t,s,o]};u.lch.lab=function(e){const t=e[0],n=e[1],o=e[2]/360*2*Math.PI,a=n*Math.cos(o),s=n*Math.sin(o);return[t,a,s]};u.rgb.ansi16=function(e,t=null){const[n,r,o]=e;let a=t===null?u.rgb.hsv(e)[2]:t;if(a=Math.round(a/50),a===0)return 30;let s=30+(Math.round(o/255)<<2|Math.round(r/255)<<1|Math.round(n/255));return a===2&&(s+=60),s};u.hsv.ansi16=function(e){return u.rgb.ansi16(u.hsv.rgb(e),e[2])};u.rgb.ansi256=function(e){const t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)};u.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];const n=(~~(e>50)+1)*.5,r=(t&1)*n*255,o=(t>>1&1)*n*255,a=(t>>2&1)*n*255;return[r,o,a]};u.ansi256.rgb=function(e){if(e>=232){const a=(e-232)*10+8;return[a,a,a]}e-=16;let t;const n=Math.floor(e/36)/5*255,r=Math.floor((t=e%36)/6)/5*255,o=t%6/5*255;return[n,r,o]};u.rgb.hex=function(e){const n=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(n.length)+n};u.hex.rgb=function(e){const t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let n=t[0];t[0].length===3&&(n=n.split("").map(l=>l+l).join(""));const r=parseInt(n,16),o=r>>16&255,a=r>>8&255,s=r&255;return[o,a,s]};u.rgb.hcg=function(e){const t=e[0]/255,n=e[1]/255,r=e[2]/255,o=Math.max(Math.max(t,n),r),a=Math.min(Math.min(t,n),r),s=o-a;let l,i;return s<1?l=a/(1-s):l=0,s<=0?i=0:o===t?i=(n-r)/s%6:o===n?i=2+(r-t)/s:i=4+(t-n)/s,i/=6,i%=1,[i*360,s*100,l*100]};u.hsl.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=n<.5?2*t*n:2*t*(1-n);let o=0;return r<1&&(o=(n-.5*r)/(1-r)),[e[0],r*100,o*100]};u.hsv.hcg=function(e){const t=e[1]/100,n=e[2]/100,r=t*n;let o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],r*100,o*100]};u.hcg.rgb=function(e){const t=e[0]/360,n=e[1]/100,r=e[2]/100;if(n===0)return[r*255,r*255,r*255];const o=[0,0,0],a=t%1*6,s=a%1,l=1-s;let i=0;switch(Math.floor(a)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=l,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=l,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=l}return i=(1-n)*r,[(n*o[0]+i)*255,(n*o[1]+i)*255,(n*o[2]+i)*255]};u.hcg.hsv=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);let o=0;return r>0&&(o=t/r),[e[0],o*100,r*100]};u.hcg.hsl=function(e){const t=e[1]/100,r=e[2]/100*(1-t)+.5*t;let o=0;return r>0&&r<.5?o=t/(2*r):r>=.5&&r<1&&(o=t/(2*(1-r))),[e[0],o*100,r*100]};u.hcg.hwb=function(e){const t=e[1]/100,n=e[2]/100,r=t+n*(1-t);return[e[0],(r-t)*100,(1-r)*100]};u.hwb.hcg=function(e){const t=e[1]/100,r=1-e[2]/100,o=r-t;let a=0;return o<1&&(a=(r-o)/(1-o)),[e[0],o*100,a*100]};u.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};u.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};u.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};u.gray.hsl=function(e){return[0,0,e[0]]};u.gray.hsv=u.gray.hsl;u.gray.hwb=function(e){return[0,100,e[0]]};u.gray.cmyk=function(e){return[0,0,0,e[0]]};u.gray.lab=function(e){return[e[0],0,0]};u.gray.hex=function(e){const t=Math.round(e[0]/100*255)&255,r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r};u.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};const B=_e;function Qe(){const e={},t=Object.keys(B);for(let n=t.length,r=0;r1&&(n=r),e(n))};return"conversion"in e&&(t.conversion=e.conversion),t}function st(e){const t=function(...n){const r=n[0];if(r==null)return r;r.length>1&&(n=r);const o=e(n);if(typeof o=="object")for(let a=o.length,s=0;s{O[e]={},Object.defineProperty(O[e],"channels",{value:U[e].channels}),Object.defineProperty(O[e],"labels",{value:U[e].labels});const t=rt(e);Object.keys(t).forEach(r=>{const o=t[r];O[e][r]=st(o),O[e][r].raw=at(o)})});var lt=O;const w=fe(lt);var it=Oe,ct=function(){return it.Date.now()},ut=ct,ft=/\s/;function ht(e){for(var t=e.length;t--&&ft.test(e.charAt(t)););return t}var dt=ht,gt=dt,mt=/^\s+/;function bt(e){return e&&e.slice(0,gt(e)+1).replace(mt,"")}var vt=bt,pt=vt,ae=J,yt=Ie,se=NaN,xt=/^[-+]0x[0-9a-f]+$/i,wt=/^0b[01]+$/i,kt=/^0o[0-7]+$/i,_t=parseInt;function Et(e){if(typeof e=="number")return e;if(yt(e))return se;if(ae(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=ae(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=pt(e);var n=wt.test(e);return n||kt.test(e)?_t(e.slice(2),n?2:8):xt.test(e)?se:+e}var Mt=Et,Ct=J,D=ut,le=Mt,$t="Expected a function",Nt=Math.max,Ot=Math.min;function It(e,t,n){var r,o,a,s,l,i,c=0,d=!1,f=!1,g=!0;if(typeof e!="function")throw new TypeError($t);t=le(t)||0,Ct(n)&&(d=!!n.leading,f="maxWait"in n,a=f?Nt(le(n.maxWait)||0,t):a,g="trailing"in n?!!n.trailing:g);function k(v){var E=r,T=o;return r=o=void 0,c=v,s=e.apply(T,E),s}function N(v){return c=v,l=setTimeout(m,t),d?k(v):s}function _(v){var E=v-i,T=v-c,te=t-E;return f?Ot(te,a-T):te}function p(v){var E=v-i,T=v-c;return i===void 0||E>=t||E<0||f&&T>=a}function m(){var v=D();if(p(v))return x(v);l=setTimeout(m,_(v))}function x(v){return l=void 0,g&&r?k(v):(r=o=void 0,s)}function C(){l!==void 0&&clearTimeout(l),c=0,r=i=o=l=void 0}function X(){return l===void 0?s:x(D())}function R(){var v=D(),E=p(v);if(r=arguments,o=this,i=v,E){if(l===void 0)return N(i);if(f)return clearTimeout(l),l=setTimeout(m,t),k(i)}return l===void 0&&(l=setTimeout(m,t)),s}return R.cancel=C,R.flush=X,R}var St=It,Rt=St,Tt=J,jt="Expected a function";function Ft(e,t,n){var r=!0,o=!0;if(typeof e!="function")throw new TypeError(jt);return Tt(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Rt(e,t,{leading:r,maxWait:t,trailing:o})}var zt=Ft;const Ht=fe(zt);var Pt=M.div({position:"relative",maxWidth:250}),Lt=M(ue)({position:"absolute",zIndex:1,top:4,left:4}),qt=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"}}),Bt=M(Me)(({theme:e})=>({fontFamily:e.typography.fonts.base})),Wt=M.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),Xt=M.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})),Dt=`url('data:image/svg+xml;charset=utf-8,')`,ie=({value:e,active:t,onClick:n,style:r,...o})=>{let a=`linear-gradient(${e}, ${e}), ${Dt}, linear-gradient(#fff, #fff)`;return h.createElement(Xt,{...o,active:t,onClick:n,style:{...r,backgroundImage:a}})},Kt=M(Ce.Input)(({theme:e})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:e.typography.fonts.base})),Vt=M($e)(({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})),Ee=(e=>(e.RGB="rgb",e.HSL="hsl",e.HEX="hex",e))(Ee||{}),P=Object.values(Ee),At=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,Gt=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,Ut=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,Y=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,Yt=/^\s*#?([0-9a-f]{3})\s*$/i,Jt={hex:De,rgb:Ue,hsl:Ae},L={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},ce=e=>{let t=e==null?void 0:e.match(At);if(!t)return[0,0,0,1];let[,n,r,o,a=1]=t;return[n,r,o,a].map(Number)},I=e=>{if(!e)return;let t=!0;if(Gt.test(e)){let[s,l,i,c]=ce(e),[d,f,g]=w.rgb.hsl([s,l,i])||[0,0,0];return{valid:t,value:e,keyword:w.rgb.keyword([s,l,i]),colorSpace:"rgb",rgb:e,hsl:`hsla(${d}, ${f}%, ${g}%, ${c})`,hex:`#${w.rgb.hex([s,l,i]).toLowerCase()}`}}if(Ut.test(e)){let[s,l,i,c]=ce(e),[d,f,g]=w.hsl.rgb([s,l,i])||[0,0,0];return{valid:t,value:e,keyword:w.hsl.keyword([s,l,i]),colorSpace:"hsl",rgb:`rgba(${d}, ${f}, ${g}, ${c})`,hsl:e,hex:`#${w.hsl.hex([s,l,i]).toLowerCase()}`}}let n=e.replace("#",""),r=w.keyword.rgb(n)||w.hex.rgb(n),o=w.rgb.hsl(r),a=e;if(/[^#a-f0-9]/i.test(e)?a=n:Y.test(e)&&(a=`#${n}`),a.startsWith("#"))t=Y.test(a);else try{w.keyword.hex(a)}catch{t=!1}return{valid:t,value:a,keyword:w.rgb.keyword(r),colorSpace:"hex",rgb:`rgba(${r[0]}, ${r[1]}, ${r[2]}, 1)`,hsl:`hsla(${o[0]}, ${o[1]}%, ${o[2]}%, 1)`,hex:a}},Qt=(e,t,n)=>{if(!e||!(t!=null&&t.valid))return L[n];if(n!=="hex")return(t==null?void 0:t[n])||L[n];if(!t.hex.startsWith("#"))try{return`#${w.keyword.hex(t.hex)}`}catch{return L.hex}let r=t.hex.match(Yt);if(!r)return Y.test(t.hex)?t.hex:L.hex;let[o,a,s]=r[1].split("");return`#${o}${o}${a}${a}${s}${s}`},Zt=(e,t)=>{let[n,r]=b.useState(e||""),[o,a]=b.useState(()=>I(n)),[s,l]=b.useState((o==null?void 0:o.colorSpace)||"hex");b.useEffect(()=>{let f=e||"",g=I(f);r(f),a(g),l((g==null?void 0:g.colorSpace)||"hex")},[e]);let i=b.useMemo(()=>Qt(n,o,s).toLowerCase(),[n,o,s]),c=b.useCallback(f=>{let g=I(f),k=(g==null?void 0:g.value)||f||"";r(k),k===""&&(a(void 0),t(void 0)),g&&(a(g),l(g.colorSpace),t(g.value))},[t]),d=b.useCallback(()=>{let f=P.indexOf(s)+1;f>=P.length&&(f=0),l(P[f]);let g=(o==null?void 0:o[P[f]])||"";r(g),t(g)},[o,s,t]);return{value:n,realValue:i,updateValue:c,color:o,colorSpace:s,cycleColorSpace:d}},W=e=>e.replace(/\s*/,"").toLowerCase(),en=(e,t,n)=>{let[r,o]=b.useState(t!=null&&t.valid?[t]:[]);b.useEffect(()=>{t===void 0&&o([])},[t]);let a=b.useMemo(()=>(e||[]).map(l=>typeof l=="string"?I(l):l.title?{...I(l.color),keyword:l.title}:I(l.color)).concat(r).filter(Boolean).slice(-27),[e,r]),s=b.useCallback(l=>{l!=null&&l.valid&&(a.some(i=>W(i[n])===W(l[n]))||o(i=>i.concat(l)))},[n,a]);return{presets:a,addPreset:s}},tn=({name:e,value:t,onChange:n,onFocus:r,onBlur:o,presetColors:a,startOpen:s=!1})=>{let l=b.useCallback(Ht(n,200),[n]),{value:i,realValue:c,updateValue:d,color:f,colorSpace:g,cycleColorSpace:k}=Zt(t,l),{presets:N,addPreset:_}=en(a,f,g),p=Jt[g];return h.createElement(Pt,null,h.createElement(Lt,{startOpen:s,closeOnOutsideClick:!0,onVisibleChange:()=>_(f),tooltip:h.createElement(qt,null,h.createElement(p,{color:c==="transparent"?"#000000":c,onChange:d,onFocus:r,onBlur:o}),N.length>0&&h.createElement(Wt,null,N.map((m,x)=>h.createElement(ue,{key:`${m.value}-${x}`,hasChrome:!1,tooltip:h.createElement(Bt,{note:m.keyword||m.value})},h.createElement(ie,{value:m[g],active:f&&W(m[g])===W(f[g]),onClick:()=>d(m.value)})))))},h.createElement(ie,{value:c,style:{margin:4}})),h.createElement(Kt,{id:Ne(e),value:i,onChange:m=>d(m.target.value),onFocus:m=>m.target.select(),placeholder:"Choose color..."}),i?h.createElement(Vt,{onClick:k}):null)},fn=tn;export{tn as ColorControl,fn as default}; diff --git a/assets/DocsRenderer-K4EAMTCU-bt9kNOOr.js b/assets/DocsRenderer-K4EAMTCU-bt9kNOOr.js new file mode 100644 index 00000000..9863f137 --- /dev/null +++ b/assets/DocsRenderer-K4EAMTCU-bt9kNOOr.js @@ -0,0 +1,7 @@ +import{_ as p}from"./iframe-YRqh8WQd.js";import{R as e,r as c}from"./index-OjgoNOWw.js";import{r as l,u}from"./react-18-DyM-o0Ps.js";import{C as h,A as E,H as d,D as x}from"./index-8ZKuWOMm.js";import"../sb-preview/runtime.js";import"./index-mQqIOHEI.js";import"./index-ogXoivrg.js";import"./index-33y5txed.js";import"./index-PPLHz8o0.js";var _={code:h,a:E,...d},D=class extends c.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)}},F=class{constructor(){this.render=async(t,r,o)=>{let n={..._,...r==null?void 0:r.components},s=x;return new Promise((m,a)=>{p(()=>import("./index-IhRI2_F9.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(({MDXProvider:i})=>l(e.createElement(D,{showException:a,key:Math.random()},e.createElement(i,{components:n},e.createElement(s,{context:t,docsParameter:r}))),o)).then(()=>m())})},this.unmount=t=>{u(t)}}};export{F as DocsRenderer,_ as defaultComponents}; +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["./index-IhRI2_F9.js","./index-7dsiwP88.js","./index-OjgoNOWw.js"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} diff --git a/assets/DocsRenderer-NNNQARDV-Gg25AIOc.js b/assets/DocsRenderer-NNNQARDV-Gg25AIOc.js deleted file mode 100644 index 255ae2e7..00000000 --- a/assets/DocsRenderer-NNNQARDV-Gg25AIOc.js +++ /dev/null @@ -1,7 +0,0 @@ -import{_ as p}from"./iframe-uScXI0l2.js";import{R as e,r as c}from"./index-4g5l5LRQ.js";import{r as l,u}from"./react-18-ba7OOUbL.js";import{C as h,A as E,H as d,D as x}from"./index-4RSmxb3z.js";import"../sb-preview/runtime.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./index-jmm5gWkb.js";import"./index-ogXoivrg.js";import"./index-MVbLLYTZ.js";import"./index-PPLHz8o0.js";var _={code:h,a:E,...d},D=class extends c.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)}},H=class{constructor(){this.render=async(t,r,o)=>{let n={..._,...r==null?void 0:r.components},s=x;return new Promise((m,a)=>{p(()=>import("./index-kkodseRa.js"),__vite__mapDeps([0,1,2,3]),import.meta.url).then(({MDXProvider:i})=>l(e.createElement(D,{showException:a,key:Math.random()},e.createElement(i,{components:n},e.createElement(s,{context:t,docsParameter:r}))),o)).then(()=>m())})},this.unmount=t=>{u(t)}}};export{H as DocsRenderer,_ as defaultComponents}; -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["./index-kkodseRa.js","./index-Dbo06S9W.js","./index-4g5l5LRQ.js","./_commonjsHelpers-4gQjN7DL.js"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} diff --git a/assets/WithTooltip-V3YHNWJZ-uHGNaqin.js b/assets/WithTooltip-V3YHNWJZ-uHGNaqin.js deleted file mode 100644 index 5bbda1c9..00000000 --- a/assets/WithTooltip-V3YHNWJZ-uHGNaqin.js +++ /dev/null @@ -1 +0,0 @@ -import{W as h,W as l,a as s}from"./index-4RSmxb3z.js";import"./iframe-uScXI0l2.js";import"../sb-preview/runtime.js";import"./index-4g5l5LRQ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./index-jmm5gWkb.js";import"./index-ogXoivrg.js";import"./index-MVbLLYTZ.js";import"./index-PPLHz8o0.js";export{h as WithToolTipState,l as WithTooltip,s as WithTooltipPure}; diff --git a/assets/WithTooltip-Y7J54OF7-H17sMcTj.js b/assets/WithTooltip-Y7J54OF7-H17sMcTj.js new file mode 100644 index 00000000..9f422c6f --- /dev/null +++ b/assets/WithTooltip-Y7J54OF7-H17sMcTj.js @@ -0,0 +1 @@ +import{W as e,W as h,b as l}from"./index-8ZKuWOMm.js";import"./iframe-YRqh8WQd.js";import"../sb-preview/runtime.js";import"./index-OjgoNOWw.js";import"./index-mQqIOHEI.js";import"./index-ogXoivrg.js";import"./index-33y5txed.js";import"./index-PPLHz8o0.js";export{e as WithToolTipState,h as WithTooltip,l as WithTooltipPure}; diff --git a/assets/_commonjsHelpers-4gQjN7DL.js b/assets/_commonjsHelpers-4gQjN7DL.js deleted file mode 100644 index ad4f1575..00000000 --- a/assets/_commonjsHelpers-4gQjN7DL.js +++ /dev/null @@ -1 +0,0 @@ -var u=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function f(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function l(e){if(e.__esModule)return e;var r=e.default;if(typeof r=="function"){var t=function o(){return this instanceof o?Reflect.construct(r,arguments,this.constructor):r.apply(this,arguments)};t.prototype=r.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(e).forEach(function(o){var n=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(t,o,n.get?n:{enumerable:!0,get:function(){return e[o]}})}),t}export{l as a,u as c,f as g}; diff --git a/assets/alert-7w9D4JnU.js b/assets/alert-7w9D4JnU.js deleted file mode 100644 index fcf95ba8..00000000 --- a/assets/alert-7w9D4JnU.js +++ /dev/null @@ -1 +0,0 @@ -import{j as e}from"./jsx-runtime-vNq4Oc-g.js";import{c as n}from"./class-names-J070TWId.js";import{c,d as l,e as o,f as d}from"./zoom-to-fit-icon-UPpVBno8.js";const g={info:"border-primary-400 bg-primary-50 text-primary-600",danger:"border-danger-400 bg-danger-50 text-danger-500",warning:"border-warning-500 bg-warning-50 text-warning-600",success:"border-success-400 bg-success-50 text-success-500"},u={info:"fill-primary-500",danger:"fill-danger-400",success:"fill-success-400",warning:"fill-warning-500"},m={info:c,success:l,warning:o,danger:d},t=({title:s,children:a,intent:r})=>{const i=m[r];return e.jsxs("div",{role:"alert",className:n("flex flex-row gap-4 rounded-lg border px-4 py-3 text-neutral-800",g[r]),children:[e.jsx(i,{className:n("h-4 w-4 flex-shrink-0",u[r])}),e.jsxs("div",{className:"flex-grow",children:[e.jsx("div",{className:"text-sm font-medium",children:s}),a&&e.jsx("div",{className:"pt-1 text-sm text-neutral-800",children:a})]})]})};try{t.displayName="Alert",t.__docgenInfo={description:"",displayName:"Alert",props:{title:{defaultValue:null,description:"",name:"title",required:!0,type:{name:"string"}},intent:{defaultValue:null,description:"",name:"intent",required:!0,type:{name:"enum",value:[{value:'"success"'},{value:'"info"'},{value:'"warning"'},{value:'"danger"'}]}}}}}catch{}export{t as A}; diff --git a/assets/alert-RV1XQKHJ.js b/assets/alert-RV1XQKHJ.js new file mode 100644 index 00000000..2928a3d7 --- /dev/null +++ b/assets/alert-RV1XQKHJ.js @@ -0,0 +1 @@ +import{j as e}from"./jsx-runtime-DtaoT6pD.js";import{c as a}from"./class-names-xhKKfcKT.js";import{c as t,d as c,e as o,f as l}from"./zoom-to-fit-icon-65magoHv.js";const d={info:"border-primary-400 bg-primary-50 text-primary-600",danger:"border-danger-400 bg-danger-50 text-danger-500",warning:"border-warning-500 bg-warning-50 text-warning-600",success:"border-success-400 bg-success-50 text-success-500"},g={info:"fill-primary-500",danger:"fill-danger-400",success:"fill-success-400",warning:"fill-warning-500"},m={info:t,success:c,warning:o,danger:l},u=({title:n,children:s,intent:r})=>{const i=m[r];return e.jsxs("div",{role:"alert",className:a("flex flex-row gap-4 rounded-lg border px-4 py-3 text-neutral-800",d[r]),children:[e.jsx(i,{className:a("h-4 w-4 flex-shrink-0",g[r])}),e.jsxs("div",{className:"flex-grow",children:[e.jsx("div",{className:"text-sm font-medium",children:n}),s&&e.jsx("div",{className:"pt-1 text-sm text-neutral-800",children:s})]})]})};u.__docgenInfo={description:"",methods:[],displayName:"Alert",props:{title:{required:!0,tsType:{name:"string"},description:""},intent:{required:!0,tsType:{name:"union",raw:'"success" | "info" | "warning" | "danger"',elements:[{name:"literal",value:'"success"'},{name:"literal",value:'"info"'},{name:"literal",value:'"warning"'},{name:"literal",value:'"danger"'}]},description:""},children:{required:!1,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""}}};export{u as A}; diff --git a/assets/alert.stories-XZ66_rx7.js b/assets/alert.stories-XZ66_rx7.js deleted file mode 100644 index 2cbe27b6..00000000 --- a/assets/alert.stories-XZ66_rx7.js +++ /dev/null @@ -1,22 +0,0 @@ -import{j as s}from"./jsx-runtime-vNq4Oc-g.js";import{A as u}from"./alert-7w9D4JnU.js";import{g as x,h as f}from"./storybook-utils-94J-CLQK.js";import"./index-4g5l5LRQ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./class-names-J070TWId.js";import"./zoom-to-fit-icon-UPpVBno8.js";const A=["info","success","warning","danger"],O={title:"Alert",component:u,parameters:{layout:"fullscreen",...x("Wide and big alert bar to inform user about important things")},args:{title:"Alert Title",children:"Alert content",intent:"info"}},r={},e={argTypes:{intent:f},render:({children:h,...y})=>s.jsx("div",{className:"flex flex-col gap-4",children:A.map(t=>s.jsx(u,{...y,intent:t,children:h},t))})},n={...e,args:{children:void 0},argTypes:{...e.argTypes,children:f}};var a,o,i;r.parameters={...r.parameters,docs:{...(a=r.parameters)==null?void 0:a.docs,source:{originalSource:"{}",...(i=(o=r.parameters)==null?void 0:o.docs)==null?void 0:i.source}}};var c,l,d;e.parameters={...e.parameters,docs:{...(c=e.parameters)==null?void 0:c.docs,source:{originalSource:`{ - argTypes: { - intent: hiddenArgControl - }, - render: ({ - children, - ...args - }) =>
- {intents.map(intent => - {children} - )} -
-}`,...(d=(l=e.parameters)==null?void 0:l.docs)==null?void 0:d.source}}};var p,m,g;n.parameters={...n.parameters,docs:{...(p=n.parameters)==null?void 0:p.docs,source:{originalSource:`{ - ...Intents, - args: { - children: undefined - }, - argTypes: { - ...Intents.argTypes, - children: hiddenArgControl - } -}`,...(g=(m=n.parameters)==null?void 0:m.docs)==null?void 0:g.source}}};const B=["Basic","Intents","OnlyTitles"];export{r as Basic,e as Intents,n as OnlyTitles,B as __namedExportsOrder,O as default}; diff --git a/assets/alert.stories-p9JuoJTc.js b/assets/alert.stories-p9JuoJTc.js new file mode 100644 index 00000000..82287bdf --- /dev/null +++ b/assets/alert.stories-p9JuoJTc.js @@ -0,0 +1,22 @@ +import{j as s}from"./jsx-runtime-DtaoT6pD.js";import{A as u}from"./alert-RV1XQKHJ.js";import{g as x,h as f}from"./storybook-utils-94J-CLQK.js";import"./index-OjgoNOWw.js";import"./class-names-xhKKfcKT.js";import"./zoom-to-fit-icon-65magoHv.js";const A=["info","success","warning","danger"],C={title:"Alert",component:u,parameters:{layout:"fullscreen",...x("Wide and big alert bar to inform user about important things")},args:{title:"Alert Title",children:"Alert content",intent:"info"}},r={},e={argTypes:{intent:f},render:({children:h,...y})=>s.jsx("div",{className:"flex flex-col gap-4",children:A.map(t=>s.jsx(u,{...y,intent:t,children:h},t))})},n={...e,args:{children:void 0},argTypes:{...e.argTypes,children:f}};var a,o,i;r.parameters={...r.parameters,docs:{...(a=r.parameters)==null?void 0:a.docs,source:{originalSource:"{}",...(i=(o=r.parameters)==null?void 0:o.docs)==null?void 0:i.source}}};var c,l,d;e.parameters={...e.parameters,docs:{...(c=e.parameters)==null?void 0:c.docs,source:{originalSource:`{ + argTypes: { + intent: hiddenArgControl + }, + render: ({ + children, + ...args + }) =>
+ {intents.map(intent => + {children} + )} +
+}`,...(d=(l=e.parameters)==null?void 0:l.docs)==null?void 0:d.source}}};var p,m,g;n.parameters={...n.parameters,docs:{...(p=n.parameters)==null?void 0:p.docs,source:{originalSource:`{ + ...Intents, + args: { + children: undefined + }, + argTypes: { + ...Intents.argTypes, + children: hiddenArgControl + } +}`,...(g=(m=n.parameters)==null?void 0:m.docs)==null?void 0:g.source}}};const O=["Basic","Intents","OnlyTitles"];export{r as Basic,e as Intents,n as OnlyTitles,O as __namedExportsOrder,C as default}; diff --git a/assets/avatar-IK5oiLF_.js b/assets/avatar-IK5oiLF_.js deleted file mode 100644 index afd35900..00000000 --- a/assets/avatar-IK5oiLF_.js +++ /dev/null @@ -1 +0,0 @@ -import{j as r}from"./jsx-runtime-vNq4Oc-g.js";const l={primary:"bg-primary-200 text-primary-500 ",success:"bg-success-200 text-success-600",neutral:"bg-neutral-200 text-neutral-800",warning:"bg-warning-100 text-warning-700",danger:"bg-danger-100 text-danger-600"},n=({color:e="primary",children:t,onClick:a})=>{const s=t.substring(0,2);return r.jsx("div",{className:`inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-full font-sans text-xs ${l[e]}`,onClick:a,onKeyDown:a,tabIndex:0,role:"button",children:r.jsx("span",{className:"uppercase",children:s})})};try{n.displayName="Avatar",n.__docgenInfo={description:"",displayName:"Avatar",props:{onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"(() => void)"}},color:{defaultValue:{value:"primary"},description:"",name:"color",required:!1,type:{name:"enum",value:[{value:'"success"'},{value:'"warning"'},{value:'"danger"'},{value:'"primary"'},{value:'"neutral"'}]}}}}}catch{}export{n as A}; diff --git a/assets/avatar-zyahZRnX.js b/assets/avatar-zyahZRnX.js new file mode 100644 index 00000000..31b05db2 --- /dev/null +++ b/assets/avatar-zyahZRnX.js @@ -0,0 +1 @@ +import{j as a}from"./jsx-runtime-DtaoT6pD.js";const s={primary:"bg-primary-200 text-primary-500 ",success:"bg-success-200 text-success-600",neutral:"bg-neutral-200 text-neutral-800",warning:"bg-warning-100 text-warning-700",danger:"bg-danger-100 text-danger-600"},i=({color:r="primary",children:n,onClick:e})=>{const t=n.substring(0,2);return a.jsx("div",{className:`inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-full font-sans text-xs ${s[r]}`,onClick:e,onKeyDown:e,tabIndex:0,role:"button",children:a.jsx("span",{className:"uppercase",children:t})})};i.__docgenInfo={description:"",methods:[],displayName:"Avatar",props:{children:{required:!0,tsType:{name:"string"},description:""},onClick:{required:!1,tsType:{name:"signature",type:"function",raw:"() => void",signature:{arguments:[],return:{name:"void"}}},description:""},color:{required:!1,tsType:{name:"union",raw:"keyof typeof avatarVariants",elements:[{name:"literal",value:"primary"},{name:"literal",value:"success"},{name:"literal",value:"neutral"},{name:"literal",value:"warning"},{name:"literal",value:"danger"}]},description:"",defaultValue:{value:'"primary"',computed:!1}}}};export{i as A}; diff --git a/assets/avatar.stories-pw0uuAAf.js b/assets/avatar.stories-pw0uuAAf.js new file mode 100644 index 00000000..8049edab --- /dev/null +++ b/assets/avatar.stories-pw0uuAAf.js @@ -0,0 +1,13 @@ +import{j as s}from"./jsx-runtime-DtaoT6pD.js";import{A as m}from"./avatar-zyahZRnX.js";import{g as f,h as d}from"./storybook-utils-94J-CLQK.js";import"./index-OjgoNOWw.js";const o=["primary","success","neutral","warning","danger"],A={title:"Avatar",component:m,parameters:f("Circular user icon. It displays first 2 characters from the passed children text "),args:{children:"Name Lastname",color:o[0]},argTypes:{color:{options:o},onClick:d}},r={},e={argTypes:{color:d},render:({children:g,...u})=>s.jsx("div",{className:"flex flex-col gap-4",children:o.map(a=>s.jsx(m,{...u,color:a,children:g},a))})};var t,c,n;r.parameters={...r.parameters,docs:{...(t=r.parameters)==null?void 0:t.docs,source:{originalSource:"{}",...(n=(c=r.parameters)==null?void 0:c.docs)==null?void 0:n.source}}};var l,i,p;e.parameters={...e.parameters,docs:{...(l=e.parameters)==null?void 0:l.docs,source:{originalSource:`{ + argTypes: { + color: hiddenArgControl + }, + render: ({ + children, + ...args + }) =>
+ {colors.map(color => + {children} + )} +
+}`,...(p=(i=e.parameters)==null?void 0:i.docs)==null?void 0:p.source}}};const C=["Default","Colors"];export{e as Colors,r as Default,C as __namedExportsOrder,A as default}; diff --git a/assets/avatar.stories-xoF25t9-.js b/assets/avatar.stories-xoF25t9-.js deleted file mode 100644 index 270502e4..00000000 --- a/assets/avatar.stories-xoF25t9-.js +++ /dev/null @@ -1,13 +0,0 @@ -import{j as s}from"./jsx-runtime-vNq4Oc-g.js";import{A as m}from"./avatar-IK5oiLF_.js";import{g as f,h as d}from"./storybook-utils-94J-CLQK.js";import"./index-4g5l5LRQ.js";import"./_commonjsHelpers-4gQjN7DL.js";const o=["primary","success","neutral","warning","danger"],C={title:"Avatar",component:m,parameters:f("Circular user icon. It displays first 2 characters from the passed children text "),args:{children:"Name Lastname",color:o[0]},argTypes:{color:{options:o},onClick:d}},r={},e={argTypes:{color:d},render:({children:g,...u})=>s.jsx("div",{className:"flex flex-col gap-4",children:o.map(a=>s.jsx(m,{...u,color:a,children:g},a))})};var t,c,n;r.parameters={...r.parameters,docs:{...(t=r.parameters)==null?void 0:t.docs,source:{originalSource:"{}",...(n=(c=r.parameters)==null?void 0:c.docs)==null?void 0:n.source}}};var l,i,p;e.parameters={...e.parameters,docs:{...(l=e.parameters)==null?void 0:l.docs,source:{originalSource:`{ - argTypes: { - color: hiddenArgControl - }, - render: ({ - children, - ...args - }) =>
- {colors.map(color => - {children} - )} -
-}`,...(p=(i=e.parameters)==null?void 0:i.docs)==null?void 0:p.source}}};const j=["Default","Colors"];export{e as Colors,r as Default,j as __namedExportsOrder,C as default}; diff --git a/assets/badge-fPVn3-DO.js b/assets/badge-fPVn3-DO.js new file mode 100644 index 00000000..8ee7fd6f --- /dev/null +++ b/assets/badge-fPVn3-DO.js @@ -0,0 +1 @@ +import{j as l}from"./jsx-runtime-DtaoT6pD.js";import{c as i}from"./class-names-xhKKfcKT.js";const u={primary:"bg-primary-100 text-primary-500",violet:"bg-violet-100 text-violet-800",green:"bg-success-100 text-success-600",neutral:"bg-neutral-200 text-neutral-800",yellow:"bg-warning-100 text-warning-600",teal:"bg-teal-100 text-teal-800",orange:"bg-orange-100 text-orange-800",pink:"bg-pink-300 text-pink-800",red:"bg-danger-100 text-danger-600",purple:"bg-purple-100 text-purple-800"},o={rounded:"rounded-full",default:"rounded"},s=({type:a="primary",shape:t="default",children:r,onClick:e})=>{const n=e?"cursor-pointer":"pointer-events-none";return l.jsx("div",{tabIndex:e?0:void 0,role:"button","aria-label":"Badge",className:i("inline-flex h-4 items-center px-2 text-xs font-semibold uppercase tracking-wide",u[a],o[t],n),onClick:e,onKeyDown:e,children:r})};s.__docgenInfo={description:"",methods:[],displayName:"Badge",props:{type:{required:!1,tsType:{name:"union",raw:"keyof typeof buttonVariants",elements:[{name:"literal",value:"primary"},{name:"literal",value:"violet"},{name:"literal",value:"green"},{name:"literal",value:"neutral"},{name:"literal",value:"yellow"},{name:"literal",value:"teal"},{name:"literal",value:"orange"},{name:"literal",value:"pink"},{name:"literal",value:"red"},{name:"literal",value:"purple"}]},description:"",defaultValue:{value:'"primary"',computed:!1}},shape:{required:!1,tsType:{name:"union",raw:"keyof typeof shapeVariants",elements:[{name:"literal",value:"rounded"},{name:"literal",value:"default"}]},description:"",defaultValue:{value:'"default"',computed:!1}},children:{required:!0,tsType:{name:"ReactNode"},description:""},onClick:{required:!1,tsType:{name:"signature",type:"function",raw:"() => void",signature:{arguments:[],return:{name:"void"}}},description:""}}};export{s as B}; diff --git a/assets/badge-gQ8zLs50.js b/assets/badge-gQ8zLs50.js deleted file mode 100644 index dd8829be..00000000 --- a/assets/badge-gQ8zLs50.js +++ /dev/null @@ -1 +0,0 @@ -import{j as u}from"./jsx-runtime-vNq4Oc-g.js";import{c as i}from"./class-names-J070TWId.js";const o={primary:"bg-primary-100 text-primary-500",violet:"bg-violet-100 text-violet-800",green:"bg-success-100 text-success-600",neutral:"bg-neutral-200 text-neutral-800",yellow:"bg-warning-100 text-warning-600",teal:"bg-teal-100 text-teal-800",orange:"bg-orange-100 text-orange-800",pink:"bg-pink-300 text-pink-800",red:"bg-danger-100 text-danger-600",purple:"bg-purple-100 text-purple-800"},p={rounded:"rounded-full",default:"rounded"},t=({type:a="primary",shape:r="default",children:n,onClick:e})=>{const l=e?"cursor-pointer":"pointer-events-none";return u.jsx("div",{tabIndex:e?0:void 0,role:"button","aria-label":"Badge",className:i("inline-flex h-4 items-center px-2 text-xs font-semibold uppercase tracking-wide",o[a],p[r],l),onClick:e,onKeyDown:e,children:n})};try{t.displayName="Badge",t.__docgenInfo={description:"",displayName:"Badge",props:{type:{defaultValue:{value:"primary"},description:"",name:"type",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"violet"'},{value:'"green"'},{value:'"neutral"'},{value:'"yellow"'},{value:'"teal"'},{value:'"orange"'},{value:'"pink"'},{value:'"red"'},{value:'"purple"'}]}},shape:{defaultValue:{value:"default"},description:"",name:"shape",required:!1,type:{name:"enum",value:[{value:'"rounded"'},{value:'"default"'}]}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"(() => void)"}}}}}catch{}export{t as B}; diff --git a/assets/badge.stories-YC0v4JCd.js b/assets/badge.stories-YC0v4JCd.js deleted file mode 100644 index 1db79853..00000000 --- a/assets/badge.stories-YC0v4JCd.js +++ /dev/null @@ -1,22 +0,0 @@ -import{j as r}from"./jsx-runtime-vNq4Oc-g.js";import{B as g}from"./badge-gQ8zLs50.js";import{h as n}from"./storybook-utils-94J-CLQK.js";import"./index-4g5l5LRQ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./class-names-J070TWId.js";const y=["primary","violet","green","neutral","yellow","teal","orange","pink","red","purple"],u=["default","rounded"],C={title:"Badge",component:g,args:{children:"Badge Label"},argTypes:{onClick:n}},a={},s={args:{onClick:void 0},argTypes:{type:n,shape:n},render:({children:m,...h})=>r.jsx("div",{className:"container grid grid-cols-2 gap-4",children:u.map(e=>r.jsxs("div",{className:"grid gap-4",children:[r.jsx("header",{children:e}),y.map(o=>r.jsx(g,{...h,shape:e,type:o,children:m},e+o))]},e))})};var d,p,t;a.parameters={...a.parameters,docs:{...(d=a.parameters)==null?void 0:d.docs,source:{originalSource:"{}",...(t=(p=a.parameters)==null?void 0:p.docs)==null?void 0:t.source}}};var i,l,c;s.parameters={...s.parameters,docs:{...(i=s.parameters)==null?void 0:i.docs,source:{originalSource:`{ - args: { - onClick: undefined - }, - argTypes: { - type: hiddenArgControl, - shape: hiddenArgControl - }, - render: ({ - children, - ...args - }) =>
- {shapes.map(shape =>
-
{shape}
- {types.map(type => - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - - {children} - )} -
)} -
-}`,...(c=(l=s.parameters)==null?void 0:l.docs)==null?void 0:c.source}}};const A=["Default","TypesAndShapes"];export{a as Default,s as TypesAndShapes,A as __namedExportsOrder,C as default}; diff --git a/assets/badge.stories-psZYYMBd.js b/assets/badge.stories-psZYYMBd.js new file mode 100644 index 00000000..5b428e3a --- /dev/null +++ b/assets/badge.stories-psZYYMBd.js @@ -0,0 +1,22 @@ +import{j as r}from"./jsx-runtime-DtaoT6pD.js";import{B as g}from"./badge-fPVn3-DO.js";import{h as n}from"./storybook-utils-94J-CLQK.js";import"./index-OjgoNOWw.js";import"./class-names-xhKKfcKT.js";const y=["primary","violet","green","neutral","yellow","teal","orange","pink","red","purple"],u=["default","rounded"],B={title:"Badge",component:g,args:{children:"Badge Label"},argTypes:{onClick:n}},a={},s={args:{onClick:void 0},argTypes:{type:n,shape:n},render:({children:m,...h})=>r.jsx("div",{className:"container grid grid-cols-2 gap-4",children:u.map(e=>r.jsxs("div",{className:"grid gap-4",children:[r.jsx("header",{children:e}),y.map(o=>r.jsx(g,{...h,shape:e,type:o,children:m},e+o))]},e))})};var d,p,t;a.parameters={...a.parameters,docs:{...(d=a.parameters)==null?void 0:d.docs,source:{originalSource:"{}",...(t=(p=a.parameters)==null?void 0:p.docs)==null?void 0:t.source}}};var i,l,c;s.parameters={...s.parameters,docs:{...(i=s.parameters)==null?void 0:i.docs,source:{originalSource:`{ + args: { + onClick: undefined + }, + argTypes: { + type: hiddenArgControl, + shape: hiddenArgControl + }, + render: ({ + children, + ...args + }) =>
+ {shapes.map(shape =>
+
{shape}
+ {types.map(type => + // eslint-disable-next-line @typescript-eslint/no-non-null-assertion + + {children} + )} +
)} +
+}`,...(c=(l=s.parameters)==null?void 0:l.docs)==null?void 0:c.source}}};const C=["Default","TypesAndShapes"];export{a as Default,s as TypesAndShapes,C as __namedExportsOrder,B as default}; diff --git a/assets/breadcrumb-navigation.stories-3g-GsGzB.js b/assets/breadcrumb-navigation.stories-3g-GsGzB.js deleted file mode 100644 index 74e921c9..00000000 --- a/assets/breadcrumb-navigation.stories-3g-GsGzB.js +++ /dev/null @@ -1,17 +0,0 @@ -import{j as e}from"./jsx-runtime-vNq4Oc-g.js";import{c as l}from"./class-names-J070TWId.js";import{S as u}from"./slot-S7AGX8n_.js";import{aD as p}from"./zoom-to-fit-icon-UPpVBno8.js";import"./index-4g5l5LRQ.js";import"./_commonjsHelpers-4gQjN7DL.js";const i=({isActive:a,asChild:c,...m})=>{const d=c?u:"a";return e.jsx(d,{className:l("headline-500 text-neutral-800",!a&&"cursor-pointer underline-offset-2 hover:underline",a&&"text-black"),...m})};try{i.displayName="BreadcrumbNavigationItem",i.__docgenInfo={description:"",displayName:"BreadcrumbNavigationItem",props:{asChild:{defaultValue:null,description:"",name:"asChild",required:!1,type:{name:"boolean"}},isActive:{defaultValue:null,description:"",name:"isActive",required:!1,type:{name:"boolean"}}}}}catch{}const v=()=>e.jsx(p,{className:"h-3 w-3 text-neutral-800"}),r=({children:a})=>e.jsx("nav",{className:"flex flex-row items-center gap-1",children:a});r.Item=i;r.Arrow=v;try{r.displayName="BreadcrumbNavigation",r.__docgenInfo={description:"",displayName:"BreadcrumbNavigation",props:{}}}catch{}const x={title:"Breadcrumb Navigation",component:r,args:{}},t={render:()=>e.jsx("div",{className:"p-4",children:e.jsxs(r,{children:[e.jsx(r.Item,{href:"/",children:"Home"}),e.jsx(r.Arrow,{}),e.jsx(r.Item,{href:"/",children:"Library"}),e.jsx(r.Arrow,{}),e.jsx(r.Item,{asChild:!0,isActive:!0,children:e.jsx("a",{href:"/",children:"Book"})})]})})};var o,n,s;t.parameters={...t.parameters,docs:{...(o=t.parameters)==null?void 0:o.docs,source:{originalSource:`{ - render: () =>
- - Home - - - - Library - - - - - Book - - -
-}`,...(s=(n=t.parameters)==null?void 0:n.docs)==null?void 0:s.source}}};const _=["Base"];export{t as Base,_ as __namedExportsOrder,x as default}; diff --git a/assets/breadcrumb-navigation.stories-WGXCeoss.js b/assets/breadcrumb-navigation.stories-WGXCeoss.js new file mode 100644 index 00000000..b78e2385 --- /dev/null +++ b/assets/breadcrumb-navigation.stories-WGXCeoss.js @@ -0,0 +1,21 @@ +import{j as e}from"./jsx-runtime-DtaoT6pD.js";import{c as u}from"./class-names-xhKKfcKT.js";import{S as p}from"./slot-M22fKMB5.js";import{aD as N}from"./zoom-to-fit-icon-65magoHv.js";import"./index-OjgoNOWw.js";const s=({isActive:a,asChild:c,...d})=>{const l=c?p:"a";return e.jsx(l,{className:u("headline-500 text-neutral-800",!a&&"cursor-pointer underline-offset-2 hover:underline",a&&"text-black"),...d})};s.__docgenInfo={description:"",methods:[],displayName:"BreadcrumbNavigationItem",props:{isActive:{required:!1,tsType:{name:"boolean"},description:""}}};const m=()=>e.jsx(N,{className:"h-3 w-3 text-neutral-800"});m.__docgenInfo={description:"",methods:[],displayName:"BreadcrumbNavigationArrow"};const r=({children:a})=>e.jsx("nav",{className:"flex flex-row items-center gap-1",children:a});r.Item=s;r.Arrow=m;r.__docgenInfo={description:"",methods:[{name:"Item",docblock:null,modifiers:["static"],params:[{name:`{ + isActive, + asChild, + ...props +}`,optional:!1,type:null}],returns:null},{name:"Arrow",docblock:null,modifiers:["static"],params:[],returns:null}],displayName:"BreadcrumbNavigation",props:{children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""}}};const B={title:"Breadcrumb Navigation",component:r,args:{}},t={render:()=>e.jsx("div",{className:"p-4",children:e.jsxs(r,{children:[e.jsx(r.Item,{href:"/",children:"Home"}),e.jsx(r.Arrow,{}),e.jsx(r.Item,{href:"/",children:"Library"}),e.jsx(r.Arrow,{}),e.jsx(r.Item,{asChild:!0,isActive:!0,children:e.jsx("a",{href:"/",children:"Book"})})]})})};var n,o,i;t.parameters={...t.parameters,docs:{...(n=t.parameters)==null?void 0:n.docs,source:{originalSource:`{ + render: () =>
+ + Home + + + + Library + + + + + Book + + +
+}`,...(i=(o=t.parameters)==null?void 0:o.docs)==null?void 0:i.source}}};const x=["Base"];export{t as Base,x as __namedExportsOrder,B as default}; diff --git a/assets/button-group.stories-aXfh2zFd.js b/assets/button-group.stories-aXfh2zFd.js deleted file mode 100644 index 84581125..00000000 --- a/assets/button-group.stories-aXfh2zFd.js +++ /dev/null @@ -1,15 +0,0 @@ -import{j as o}from"./jsx-runtime-vNq4Oc-g.js";import{c as l}from"./class-names-J070TWId.js";import"./index-4g5l5LRQ.js";import"./_commonjsHelpers-4gQjN7DL.js";const d=({children:e,type:s,isActive:i,...p})=>o.jsx("button",{"data-slot":"group-button",type:s,className:l("relative -ml-px inline-flex bg-neutral-0 px-4 py-2 font-medium text-neutral-700 ring-1 ring-inset ring-neutral-400 hover:bg-neutral-100 hover:text-neutral-800 focus:z-10 focus:outline focus:outline-2 focus:outline-offset-0 focus:outline-primary-200 active:bg-neutral-200 disabled:bg-neutral-0 disabled:text-neutral-500",i&&"bg-primary-50 text-primary-500 hover:bg-primary-50 hover:text-primary-500 active:bg-primary-50 disabled:bg-neutral-100 disabled:text-neutral-500"),...p,children:e}),t=({children:e})=>o.jsx("div",{className:"isolate inline-flex [&>[data-slot=group-button]:first-of-type]:ml-0 [&>[data-slot=group-button]:first-of-type]:rounded-l [&>[data-slot=group-button]:last-of-type]:rounded-r",children:e});t.Button=d;try{t.displayName="ButtonGroup",t.__docgenInfo={description:"",displayName:"ButtonGroup",props:{}}}catch{}const y={title:"ButtonGroup",component:t,parameters:{options:{showPanel:!1}}},n={render:()=>o.jsxs(t,{children:[o.jsx(t.Button,{type:"button",children:"Normal"}),o.jsx(t.Button,{type:"button",disabled:!0,children:"Disabled"}),o.jsx(t.Button,{type:"button",isActive:!0,children:"Active"}),o.jsx(t.Button,{type:"button",isActive:!0,disabled:!0,children:"Active & Disabled"}),o.jsx(t.Button,{type:"button",children:"Button 1"})]})};var r,u,a;n.parameters={...n.parameters,docs:{...(r=n.parameters)==null?void 0:r.docs,source:{originalSource:`{ - render: () => - Normal - - Disabled - - - Active - - - Active & Disabled - - Button 1 - -}`,...(a=(u=n.parameters)==null?void 0:u.docs)==null?void 0:a.source}}};const f=["Default"];export{n as Default,f as __namedExportsOrder,y as default}; diff --git a/assets/button-group.stories-ui1jXRpf.js b/assets/button-group.stories-ui1jXRpf.js new file mode 100644 index 00000000..ea4ed4b0 --- /dev/null +++ b/assets/button-group.stories-ui1jXRpf.js @@ -0,0 +1,15 @@ +import{j as e}from"./jsx-runtime-DtaoT6pD.js";import{c as p}from"./class-names-xhKKfcKT.js";import"./index-OjgoNOWw.js";const d=({children:n,type:s,isActive:i,...l})=>e.jsx("button",{"data-slot":"group-button",type:s,className:p("relative -ml-px inline-flex bg-neutral-0 px-4 py-2 font-medium text-neutral-700 ring-1 ring-inset ring-neutral-400 hover:bg-neutral-100 hover:text-neutral-800 focus:z-10 focus:outline focus:outline-2 focus:outline-offset-0 focus:outline-primary-200 active:bg-neutral-200 disabled:bg-neutral-0 disabled:text-neutral-500",i&&"bg-primary-50 text-primary-500 hover:bg-primary-50 hover:text-primary-500 active:bg-primary-50 disabled:bg-neutral-100 disabled:text-neutral-500"),...l,children:n}),t=({children:n})=>e.jsx("div",{className:"isolate inline-flex [&>[data-slot=group-button]:first-of-type]:ml-0 [&>[data-slot=group-button]:first-of-type]:rounded-l [&>[data-slot=group-button]:last-of-type]:rounded-r",children:n});t.Button=d;t.__docgenInfo={description:"",methods:[{name:"Button",docblock:null,modifiers:["static"],params:[{name:"{ children, type, isActive, ...props }: ButtonProps",optional:!1,type:{name:"ButtonProps",alias:"ButtonProps"}}],returns:null}],displayName:"ButtonGroup",props:{children:{required:!1,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""}}};const b={title:"ButtonGroup",component:t,parameters:{options:{showPanel:!1}}},o={render:()=>e.jsxs(t,{children:[e.jsx(t.Button,{type:"button",children:"Normal"}),e.jsx(t.Button,{type:"button",disabled:!0,children:"Disabled"}),e.jsx(t.Button,{type:"button",isActive:!0,children:"Active"}),e.jsx(t.Button,{type:"button",isActive:!0,disabled:!0,children:"Active & Disabled"}),e.jsx(t.Button,{type:"button",children:"Button 1"})]})};var r,u,a;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:`{ + render: () => + Normal + + Disabled + + + Active + + + Active & Disabled + + Button 1 + +}`,...(a=(u=o.parameters)==null?void 0:u.docs)==null?void 0:a.source}}};const f=["Default"];export{o as Default,f as __namedExportsOrder,b as default}; diff --git a/assets/button-xcFUs6is.js b/assets/button-ufHQn21l.js similarity index 53% rename from assets/button-xcFUs6is.js rename to assets/button-ufHQn21l.js index 96254c37..d4e8adf5 100644 --- a/assets/button-xcFUs6is.js +++ b/assets/button-ufHQn21l.js @@ -1 +1 @@ -import{j as r}from"./jsx-runtime-vNq4Oc-g.js";import{c as g}from"./class-names-J070TWId.js";import{S as c}from"./spinner-E2xQXJan.js";const m={primary:"bg-primary-500 text-neutral-0 hover:bg-primary-600 active:bg-primary-600 focus:ring-2 focus:ring-primary-200 focus:bg-primary-600 disabled:bg-primary-200 fill-neutral-0",secondary:"text-neutral-700 bg-neutral-0 border border-neutral-400 hover:border-neutral-600 hover:text-neutral-800 active:bg-neutral-100 focus:ring-2 focus:ring-primary-200 focus:text-neutral-800 disabled:text-neutral-500 disabled:border-neutral-300 disabled:bg-neutral-0 fill-neutral-0",minimal:"text-neutral-700 hover:bg-neutral-100 hover:text-neutral-800 active:bg-neutral-200 focus:ring-2 focus:ring-primary-200 focus:text-neutral-800 disabled:text-neutral-500 disabled:bg-neutral-0 fill-neutral-0",danger:"text-neutral-0 bg-danger-500 hover:bg-danger-500 active:bg-danger-700 focus:ring-2 focus:ring-danger-100 focus:bg-danger-600 disabled:bg-danger-100 fill-neutral-0","danger-secondary":"bg-neutral-0 text-danger-500 border border-danger-400 hover:bg-danger-50 hover:text-danger-600 active:border-danger-700 active:text-danger-700 active:bg-danger-100 focus:ring-2 focus:ring-danger-100 focus:text-danger-600 disabled:border-danger-100 disabled:text-danger-100 disabled:bg-neutral-0 fill-danger-600 disabled:fill-danger-100"},l={primary:"text-neutral-0",secondary:"fill-neutral-600 group-hover:text-neutral-700 group-focus:text-neutral-700 group-disabled:text-neutral-400",minimal:"fill-neutral-600 group-hover:text-neutral-700 group-focus:text-neutral-700 group-disabled:text-neutral-400",danger:"","danger-secondary":""},u=({variant:e="primary",className:o,children:d,loading:a,LeftIcon:t,RightIcon:n,...i})=>{const s=g("group flex h-8 items-center gap-2 whitespace-nowrap rounded px-4 text-xs font-semibold focus:outline-none disabled:cursor-not-allowed",m[e],o);return r.jsxs("button",{className:s,...i,children:[a?r.jsx(c,{size:"small"}):null,t&&!a?r.jsx(t,{className:`${l[e]} h-3 w-3`}):null,d,n?r.jsx(n,{className:`${l[e]} h-3 w-3`}):null]})};try{u.displayName="Button",u.__docgenInfo={description:"",displayName:"Button",props:{variant:{defaultValue:{value:"primary"},description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"danger"'},{value:'"primary"'},{value:'"secondary"'},{value:'"minimal"'},{value:'"danger-secondary"'}]}},loading:{defaultValue:null,description:"",name:"loading",required:!1,type:{name:"boolean"}},LeftIcon:{defaultValue:null,description:"",name:"LeftIcon",required:!1,type:{name:"ElementType"}},RightIcon:{defaultValue:null,description:"",name:"RightIcon",required:!1,type:{name:"ElementType"}}}}}catch{}export{u as B}; +import{j as e}from"./jsx-runtime-DtaoT6pD.js";import{c as u}from"./class-names-xhKKfcKT.js";import{S as g}from"./spinner-wMFQnwL5.js";const c={primary:"bg-primary-500 text-neutral-0 hover:bg-primary-600 active:bg-primary-600 focus:ring-2 focus:ring-primary-200 focus:bg-primary-600 disabled:bg-primary-200 fill-neutral-0",secondary:"text-neutral-700 bg-neutral-0 border border-neutral-400 hover:border-neutral-600 hover:text-neutral-800 active:bg-neutral-100 focus:ring-2 focus:ring-primary-200 focus:text-neutral-800 disabled:text-neutral-500 disabled:border-neutral-300 disabled:bg-neutral-0 fill-neutral-0",minimal:"text-neutral-700 hover:bg-neutral-100 hover:text-neutral-800 active:bg-neutral-200 focus:ring-2 focus:ring-primary-200 focus:text-neutral-800 disabled:text-neutral-500 disabled:bg-neutral-0 fill-neutral-0",danger:"text-neutral-0 bg-danger-500 hover:bg-danger-500 active:bg-danger-700 focus:ring-2 focus:ring-danger-100 focus:bg-danger-600 disabled:bg-danger-100 fill-neutral-0","danger-secondary":"bg-neutral-0 text-danger-500 border border-danger-400 hover:bg-danger-50 hover:text-danger-600 active:border-danger-700 active:text-danger-700 active:bg-danger-100 focus:ring-2 focus:ring-danger-100 focus:text-danger-600 disabled:border-danger-100 disabled:text-danger-100 disabled:bg-neutral-0 fill-danger-600 disabled:fill-danger-100"},l={primary:"text-neutral-0",secondary:"fill-neutral-600 group-hover:text-neutral-700 group-focus:text-neutral-700 group-disabled:text-neutral-400",minimal:"fill-neutral-600 group-hover:text-neutral-700 group-focus:text-neutral-700 group-disabled:text-neutral-400",danger:"","danger-secondary":""},m=({variant:r="primary",className:i,children:o,loading:a,LeftIcon:t,RightIcon:n,...s})=>{const d=u("group flex h-8 items-center gap-2 whitespace-nowrap rounded px-4 text-xs font-semibold focus:outline-none disabled:cursor-not-allowed",c[r],i);return e.jsxs("button",{className:d,...s,children:[a?e.jsx(g,{size:"small"}):null,t&&!a?e.jsx(t,{className:`${l[r]} h-3 w-3`}):null,o,n?e.jsx(n,{className:`${l[r]} h-3 w-3`}):null]})};m.__docgenInfo={description:"",methods:[],displayName:"Button",props:{variant:{required:!1,tsType:{name:"union",raw:"keyof typeof buttonVariants",elements:[{name:"literal",value:"primary"},{name:"literal",value:"secondary"},{name:"literal",value:"minimal"},{name:"literal",value:"danger"},{name:"literal",value:'"danger-secondary"'}]},description:"",defaultValue:{value:'"primary"',computed:!1}},loading:{required:!1,tsType:{name:"boolean"},description:""},LeftIcon:{required:!1,tsType:{name:"ReactElementType",raw:"React.ElementType"},description:""},RightIcon:{required:!1,tsType:{name:"ReactElementType",raw:"React.ElementType"},description:""}}};export{m as B}; diff --git a/assets/button.stories-78GdjUdY.js b/assets/button.stories-78GdjUdY.js new file mode 100644 index 00000000..604abe30 --- /dev/null +++ b/assets/button.stories-78GdjUdY.js @@ -0,0 +1,26 @@ +import{j as c}from"./jsx-runtime-DtaoT6pD.js";import{B}from"./button-ufHQn21l.js";import{S as j,a as R,b as D}from"./zoom-to-fit-icon-65magoHv.js";import{h as k}from"./storybook-utils-94J-CLQK.js";import"./index-OjgoNOWw.js";import"./class-names-xhKKfcKT.js";import"./spinner-wMFQnwL5.js";const A=["primary","secondary","minimal","danger","danger-secondary"],s={undefined:void 0,ChatIcon:j,DiagramTreeIcon:R,LockIcon:D},i={description:"Icon component",options:Object.keys(s),mapping:s},z={title:"Button",component:B,args:{children:"Badge Label",LeftIcon:void 0,RightIcon:void 0,loading:!1},argTypes:{onClick:k,LeftIcon:i,RightIcon:i}},r={},e={args:{LeftIcon:s.ChatIcon,RightIcon:s.LockIcon}},o={args:{loading:!0}},a={args:{disabled:!0}},n={argTypes:{type:k},render:({children:C,...T})=>c.jsx("div",{className:"flex flex-col gap-4",children:A.map(t=>c.jsx(B,{...T,type:"button",variant:t,children:C},t))})};var d,p,m;r.parameters={...r.parameters,docs:{...(d=r.parameters)==null?void 0:d.docs,source:{originalSource:"{}",...(m=(p=r.parameters)==null?void 0:p.docs)==null?void 0:m.source}}};var g,l,u;e.parameters={...e.parameters,docs:{...(g=e.parameters)==null?void 0:g.docs,source:{originalSource:`{ + args: { + LeftIcon: icons.ChatIcon, + RightIcon: icons.LockIcon + } +}`,...(u=(l=e.parameters)==null?void 0:l.docs)==null?void 0:u.source}}};var I,h,f;o.parameters={...o.parameters,docs:{...(I=o.parameters)==null?void 0:I.docs,source:{originalSource:`{ + args: { + loading: true + } +}`,...(f=(h=o.parameters)==null?void 0:h.docs)==null?void 0:f.source}}};var v,y,L;a.parameters={...a.parameters,docs:{...(v=a.parameters)==null?void 0:v.docs,source:{originalSource:`{ + args: { + disabled: true + } +}`,...(L=(y=a.parameters)==null?void 0:y.docs)==null?void 0:L.source}}};var x,b,S;n.parameters={...n.parameters,docs:{...(x=n.parameters)==null?void 0:x.docs,source:{originalSource:`{ + argTypes: { + type: hiddenArgControl + }, + render: ({ + children, + ...args + }) =>
+ {variants.map(variant => )} +
+}`,...(S=(b=n.parameters)==null?void 0:b.docs)==null?void 0:S.source}}};const F=["Base","WithIcons","Loading","Disabled","Types"];export{r as Base,a as Disabled,o as Loading,n as Types,e as WithIcons,F as __namedExportsOrder,z as default}; diff --git a/assets/button.stories-SlcYyWrC.js b/assets/button.stories-SlcYyWrC.js deleted file mode 100644 index 645c47ef..00000000 --- a/assets/button.stories-SlcYyWrC.js +++ /dev/null @@ -1,26 +0,0 @@ -import{j as c}from"./jsx-runtime-vNq4Oc-g.js";import{B}from"./button-xcFUs6is.js";import{S as j,a as R,b as D}from"./zoom-to-fit-icon-UPpVBno8.js";import{h as k}from"./storybook-utils-94J-CLQK.js";import"./index-4g5l5LRQ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./class-names-J070TWId.js";import"./spinner-E2xQXJan.js";const A=["primary","secondary","minimal","danger","danger-secondary"],s={undefined:void 0,ChatIcon:j,DiagramTreeIcon:R,LockIcon:D},i={description:"Icon component",options:Object.keys(s),mapping:s},F={title:"Button",component:B,args:{children:"Badge Label",LeftIcon:void 0,RightIcon:void 0,loading:!1},argTypes:{onClick:k,LeftIcon:i,RightIcon:i}},r={},e={args:{LeftIcon:s.ChatIcon,RightIcon:s.LockIcon}},o={args:{loading:!0}},a={args:{disabled:!0}},n={argTypes:{type:k},render:({children:C,...T})=>c.jsx("div",{className:"flex flex-col gap-4",children:A.map(t=>c.jsx(B,{...T,type:"button",variant:t,children:C},t))})};var d,p,m;r.parameters={...r.parameters,docs:{...(d=r.parameters)==null?void 0:d.docs,source:{originalSource:"{}",...(m=(p=r.parameters)==null?void 0:p.docs)==null?void 0:m.source}}};var g,l,u;e.parameters={...e.parameters,docs:{...(g=e.parameters)==null?void 0:g.docs,source:{originalSource:`{ - args: { - LeftIcon: icons.ChatIcon, - RightIcon: icons.LockIcon - } -}`,...(u=(l=e.parameters)==null?void 0:l.docs)==null?void 0:u.source}}};var I,h,f;o.parameters={...o.parameters,docs:{...(I=o.parameters)==null?void 0:I.docs,source:{originalSource:`{ - args: { - loading: true - } -}`,...(f=(h=o.parameters)==null?void 0:h.docs)==null?void 0:f.source}}};var v,y,L;a.parameters={...a.parameters,docs:{...(v=a.parameters)==null?void 0:v.docs,source:{originalSource:`{ - args: { - disabled: true - } -}`,...(L=(y=a.parameters)==null?void 0:y.docs)==null?void 0:L.source}}};var x,b,S;n.parameters={...n.parameters,docs:{...(x=n.parameters)==null?void 0:x.docs,source:{originalSource:`{ - argTypes: { - type: hiddenArgControl - }, - render: ({ - children, - ...args - }) =>
- {variants.map(variant => )} -
-}`,...(S=(b=n.parameters)==null?void 0:b.docs)==null?void 0:S.source}}};const G=["Base","WithIcons","Loading","Disabled","Types"];export{r as Base,a as Disabled,o as Loading,n as Types,e as WithIcons,G as __namedExportsOrder,F as default}; diff --git a/assets/checkbox.stories-NWs8fIqN.js b/assets/checkbox.stories-NWs8fIqN.js new file mode 100644 index 00000000..54717873 --- /dev/null +++ b/assets/checkbox.stories-NWs8fIqN.js @@ -0,0 +1 @@ +import{j as a}from"./jsx-runtime-DtaoT6pD.js";import{r as u}from"./index-OjgoNOWw.js";import{c as p}from"./class-names-xhKKfcKT.js";import{h as d}from"./storybook-utils-94J-CLQK.js";const c=({id:e,label:n,checked:s,onChange:o,disabled:r=!1})=>a.jsxs("div",{className:"flex items-center gap-3 ",children:[a.jsx("input",{id:e,className:"h-4 w-4 rounded border-neutral-400 outline-none checked:border-none checked:bg-primary-400 hover:border-neutral-600 checked:hover:bg-primary-500 focus:ring-0 focus:ring-transparent active:border-neutral-500 active:bg-neutral-100 checked:active:bg-primary-600 disabled:border-none disabled:bg-neutral-100 disabled:checked:fill-neutral-500 disabled:hover:bg-neutral-100",type:"checkbox",checked:s,onChange:o,disabled:r}),a.jsx("label",{className:p("text-sm",r&&"text-neutral-600"),htmlFor:e,children:n})]});c.__docgenInfo={description:"",methods:[],displayName:"Checkbox",props:{id:{required:!0,tsType:{name:"string"},description:""},label:{required:!0,tsType:{name:"string"},description:""},checked:{required:!0,tsType:{name:"boolean"},description:""},onChange:{required:!1,tsType:{name:"signature",type:"function",raw:"(event: React.ChangeEvent) => void",signature:{arguments:[{type:{name:"ReactChangeEvent",raw:"React.ChangeEvent",elements:[{name:"HTMLInputElement"}]},name:"event"}],return:{name:"void"}}},description:""},disabled:{required:!1,tsType:{name:"boolean"},description:"",defaultValue:{value:"false",computed:!1}}}};const x={title:"Checkbox",component:c,args:{id:"checkbox-id",label:"Checkbox label",disabled:!1},argTypes:{checked:d,onChange:d},render:e=>{const[n,s]=u.useState(!1),o=()=>s(r=>!r);return a.jsx(c,{...e,checked:n,onChange:o})}},t={};var i,l,m;t.parameters={...t.parameters,docs:{...(i=t.parameters)==null?void 0:i.docs,source:{originalSource:"{}",...(m=(l=t.parameters)==null?void 0:l.docs)==null?void 0:m.source}}};const k=["Default"];export{t as Default,k as __namedExportsOrder,x as default}; diff --git a/assets/checkbox.stories-lAbA-wsT.js b/assets/checkbox.stories-lAbA-wsT.js deleted file mode 100644 index 802d3c69..00000000 --- a/assets/checkbox.stories-lAbA-wsT.js +++ /dev/null @@ -1 +0,0 @@ -import{j as t}from"./jsx-runtime-vNq4Oc-g.js";import{r as m}from"./index-4g5l5LRQ.js";import{c as p}from"./class-names-J070TWId.js";import{h as c}from"./storybook-utils-94J-CLQK.js";import"./_commonjsHelpers-4gQjN7DL.js";const n=({id:e,label:o,checked:l,onChange:s,disabled:r=!1})=>t.jsxs("div",{className:"flex items-center gap-3 ",children:[t.jsx("input",{id:e,className:"h-4 w-4 rounded border-neutral-400 outline-none checked:border-none checked:bg-primary-400 hover:border-neutral-600 checked:hover:bg-primary-500 focus:ring-0 focus:ring-transparent active:border-neutral-500 active:bg-neutral-100 checked:active:bg-primary-600 disabled:border-none disabled:bg-neutral-100 disabled:checked:fill-neutral-500 disabled:hover:bg-neutral-100",type:"checkbox",checked:l,onChange:s,disabled:r}),t.jsx("label",{className:p("text-sm",r&&"text-neutral-600"),htmlFor:e,children:o})]});try{n.displayName="Checkbox",n.__docgenInfo={description:"",displayName:"Checkbox",props:{id:{defaultValue:null,description:"",name:"id",required:!0,type:{name:"string"}},label:{defaultValue:null,description:"",name:"label",required:!0,type:{name:"string"}},checked:{defaultValue:null,description:"",name:"checked",required:!0,type:{name:"boolean"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!1,type:{name:"((event: ChangeEvent) => void)"}},disabled:{defaultValue:{value:"false"},description:"",name:"disabled",required:!1,type:{name:"boolean"}}}}}catch{}const k={title:"Checkbox",component:n,args:{id:"checkbox-id",label:"Checkbox label",disabled:!1},argTypes:{checked:c,onChange:c},render:e=>{const[o,l]=m.useState(!1),s=()=>l(r=>!r);return t.jsx(n,{...e,checked:o,onChange:s})}},a={};var d,i,u;a.parameters={...a.parameters,docs:{...(d=a.parameters)==null?void 0:d.docs,source:{originalSource:"{}",...(u=(i=a.parameters)==null?void 0:i.docs)==null?void 0:u.source}}};const y=["Default"];export{a as Default,y as __namedExportsOrder,k as default}; diff --git a/assets/class-names-J070TWId.js b/assets/class-names-J070TWId.js deleted file mode 100644 index 95c6f7c4..00000000 --- a/assets/class-names-J070TWId.js +++ /dev/null @@ -1 +0,0 @@ -const B="-";function se(e){const r=le(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;function l(s){const a=s.split(B);return a[0]===""&&a.length!==1&&a.shift(),ee(a,r)||ie(s)}function n(s,a){const u=t[s]||[];return a&&o[s]?[...u,...o[s]]:u}return{getClassGroupId:l,getConflictingClassGroupIds:n}}function ee(e,r){var s;if(e.length===0)return r.classGroupId;const t=e[0],o=r.nextPart.get(t),l=o?ee(e.slice(1),o):void 0;if(l)return l;if(r.validators.length===0)return;const n=e.join(B);return(s=r.validators.find(({validator:a})=>a(n)))==null?void 0:s.classGroupId}const Q=/^\[(.+)\]$/;function ie(e){if(Q.test(e)){const r=Q.exec(e)[1],t=r==null?void 0:r.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}}function le(e){const{theme:r,prefix:t}=e,o={nextPart:new Map,validators:[]};return ce(Object.entries(e.classGroups),t).forEach(([n,s])=>{O(s,o,n,r)}),o}function O(e,r,t,o){e.forEach(l=>{if(typeof l=="string"){const n=l===""?r:Y(r,l);n.classGroupId=t;return}if(typeof l=="function"){if(ae(l)){O(l(o),r,t,o);return}r.validators.push({validator:l,classGroupId:t});return}Object.entries(l).forEach(([n,s])=>{O(s,Y(r,n),t,o)})})}function Y(e,r){let t=e;return r.split(B).forEach(o=>{t.nextPart.has(o)||t.nextPart.set(o,{nextPart:new Map,validators:[]}),t=t.nextPart.get(o)}),t}function ae(e){return e.isThemeGetter}function ce(e,r){return r?e.map(([t,o])=>{const l=o.map(n=>typeof n=="string"?r+n:typeof n=="object"?Object.fromEntries(Object.entries(n).map(([s,a])=>[r+s,a])):n);return[t,l]}):e}function de(e){if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=new Map,o=new Map;function l(n,s){t.set(n,s),r++,r>e&&(r=0,o=t,t=new Map)}return{get(n){let s=t.get(n);if(s!==void 0)return s;if((s=o.get(n))!==void 0)return l(n,s),s},set(n,s){t.has(n)?t.set(n,s):l(n,s)}}}const re="!";function ue(e){const r=e.separator,t=r.length===1,o=r[0],l=r.length;return function(s){const a=[];let u=0,b=0,p;for(let f=0;fb?p-b:void 0;return{modifiers:a,hasImportantModifier:y,baseClassName:w,maybePostfixModifierPosition:S}}}function pe(e){if(e.length<=1)return e;const r=[];let t=[];return e.forEach(o=>{o[0]==="["?(r.push(...t.sort(),o),t=[]):t.push(o)}),r.push(...t.sort()),r}function be(e){return{cache:de(e.cacheSize),splitModifiers:ue(e),...se(e)}}const fe=/\s+/;function ge(e,r){const{splitModifiers:t,getClassGroupId:o,getConflictingClassGroupIds:l}=r,n=new Set;return e.trim().split(fe).map(s=>{const{modifiers:a,hasImportantModifier:u,baseClassName:b,maybePostfixModifierPosition:p}=t(s);let g=o(p?b.substring(0,p):b),y=!!p;if(!g){if(!p)return{isTailwindClass:!1,originalClassName:s};if(g=o(b),!g)return{isTailwindClass:!1,originalClassName:s};y=!1}const w=pe(a).join(":");return{isTailwindClass:!0,modifierId:u?w+re:w,classGroupId:g,originalClassName:s,hasPostfixModifier:y}}).reverse().filter(s=>{if(!s.isTailwindClass)return!0;const{modifierId:a,classGroupId:u,hasPostfixModifier:b}=s,p=a+u;return n.has(p)?!1:(n.add(p),l(u,b).forEach(g=>n.add(a+g)),!0)}).reverse().map(s=>s.originalClassName).join(" ")}function me(){let e=0,r,t,o="";for(;eg(p),e());return t=be(b),o=t.cache.get,l=t.cache.set,n=a,a(u)}function a(u){const b=o(u);if(b)return b;const p=ge(u,t);return l(u,p),p}return function(){return n(me.apply(null,arguments))}}function c(e){const r=t=>t[e]||[];return r.isThemeGetter=!0,r}const oe=/^\[(?:([a-z-]+):)?(.+)\]$/i,ye=/^\d+\/\d+$/,xe=new Set(["px","full","screen"]),we=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ve=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,ke=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ce=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function h(e){return z(e)||xe.has(e)||ye.test(e)}function k(e){return M(e,"length",Pe)}function z(e){return!!e&&!Number.isNaN(Number(e))}function j(e){return M(e,"number",z)}function I(e){return!!e&&Number.isInteger(Number(e))}function ze(e){return e.endsWith("%")&&z(e.slice(0,-1))}function i(e){return oe.test(e)}function C(e){return we.test(e)}const Se=new Set(["length","size","percentage"]);function Me(e){return M(e,Se,ne)}function Ae(e){return M(e,"position",ne)}const Ge=new Set(["image","url"]);function Ie(e){return M(e,Ge,Ee)}function Re(e){return M(e,"",Te)}function R(){return!0}function M(e,r,t){const o=oe.exec(e);return o?o[1]?typeof r=="string"?o[1]===r:r.has(o[1]):t(o[2]):!1}function Pe(e){return ve.test(e)}function ne(){return!1}function Te(e){return ke.test(e)}function Ee(e){return Ce.test(e)}function je(){const e=c("colors"),r=c("spacing"),t=c("blur"),o=c("brightness"),l=c("borderColor"),n=c("borderRadius"),s=c("borderSpacing"),a=c("borderWidth"),u=c("contrast"),b=c("grayscale"),p=c("hueRotate"),g=c("invert"),y=c("gap"),w=c("gradientColorStops"),S=c("gradientColorStopPositions"),f=c("inset"),m=c("margin"),v=c("opacity"),x=c("padding"),$=c("saturate"),_=c("scale"),U=c("sepia"),F=c("skew"),q=c("space"),J=c("translate"),L=()=>["auto","contain","none"],N=()=>["auto","hidden","clip","visible","scroll"],W=()=>["auto",i,r],d=()=>[i,r],X=()=>["",h,k],P=()=>["auto",z,i],Z=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],T=()=>["solid","dashed","dotted","double","none"],H=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],V=()=>["start","end","center","between","around","evenly","stretch"],A=()=>["","0",i],K=()=>["auto","avoid","all","avoid-page","page","left","right","column"],G=()=>[z,j],E=()=>[z,i];return{cacheSize:500,separator:":",theme:{colors:[R],spacing:[h,k],blur:["none","",C,i],brightness:G(),borderColor:[e],borderRadius:["none","","full",C,i],borderSpacing:d(),borderWidth:X(),contrast:G(),grayscale:A(),hueRotate:E(),invert:A(),gap:d(),gradientColorStops:[e],gradientColorStopPositions:[ze,k],inset:W(),margin:W(),opacity:G(),padding:d(),saturate:G(),scale:G(),sepia:A(),skew:E(),space:d(),translate:d()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[C]}],"break-after":[{"break-after":K()}],"break-before":[{"break-before":K()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none"]}],clear:[{clear:["left","right","both","none"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Z(),i]}],overflow:[{overflow:N()}],"overflow-x":[{"overflow-x":N()}],"overflow-y":[{"overflow-y":N()}],overscroll:[{overscroll:L()}],"overscroll-x":[{"overscroll-x":L()}],"overscroll-y":[{"overscroll-y":L()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[f]}],"inset-x":[{"inset-x":[f]}],"inset-y":[{"inset-y":[f]}],start:[{start:[f]}],end:[{end:[f]}],top:[{top:[f]}],right:[{right:[f]}],bottom:[{bottom:[f]}],left:[{left:[f]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",I,i]}],basis:[{basis:W()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:A()}],shrink:[{shrink:A()}],order:[{order:["first","last","none",I,i]}],"grid-cols":[{"grid-cols":[R]}],"col-start-end":[{col:["auto",{span:["full",I,i]},i]}],"col-start":[{"col-start":P()}],"col-end":[{"col-end":P()}],"grid-rows":[{"grid-rows":[R]}],"row-start-end":[{row:["auto",{span:[I,i]},i]}],"row-start":[{"row-start":P()}],"row-end":[{"row-end":P()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[y]}],"gap-x":[{"gap-x":[y]}],"gap-y":[{"gap-y":[y]}],"justify-content":[{justify:["normal",...V()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...V(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...V(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[x]}],px:[{px:[x]}],py:[{py:[x]}],ps:[{ps:[x]}],pe:[{pe:[x]}],pt:[{pt:[x]}],pr:[{pr:[x]}],pb:[{pb:[x]}],pl:[{pl:[x]}],m:[{m:[m]}],mx:[{mx:[m]}],my:[{my:[m]}],ms:[{ms:[m]}],me:[{me:[m]}],mt:[{mt:[m]}],mr:[{mr:[m]}],mb:[{mb:[m]}],ml:[{ml:[m]}],"space-x":[{"space-x":[q]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[q]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit",i,r]}],"min-w":[{"min-w":["min","max","fit",i,h]}],"max-w":[{"max-w":["0","none","full","min","max","fit","prose",{screen:[C]},C,i]}],h:[{h:[i,r,"auto","min","max","fit"]}],"min-h":[{"min-h":["min","max","fit",h,i]}],"max-h":[{"max-h":[i,r,"min","max","fit"]}],"font-size":[{text:["base",C,k]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",j]}],"font-family":[{font:[R]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",i]}],"line-clamp":[{"line-clamp":["none",z,j]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",h,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...T(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",h,k]}],"underline-offset":[{"underline-offset":["auto",h,i]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],indent:[{indent:d()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Z(),Ae]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Me]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Ie]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[S]}],"gradient-via-pos":[{via:[S]}],"gradient-to-pos":[{to:[S]}],"gradient-from":[{from:[w]}],"gradient-via":[{via:[w]}],"gradient-to":[{to:[w]}],rounded:[{rounded:[n]}],"rounded-s":[{"rounded-s":[n]}],"rounded-e":[{"rounded-e":[n]}],"rounded-t":[{"rounded-t":[n]}],"rounded-r":[{"rounded-r":[n]}],"rounded-b":[{"rounded-b":[n]}],"rounded-l":[{"rounded-l":[n]}],"rounded-ss":[{"rounded-ss":[n]}],"rounded-se":[{"rounded-se":[n]}],"rounded-ee":[{"rounded-ee":[n]}],"rounded-es":[{"rounded-es":[n]}],"rounded-tl":[{"rounded-tl":[n]}],"rounded-tr":[{"rounded-tr":[n]}],"rounded-br":[{"rounded-br":[n]}],"rounded-bl":[{"rounded-bl":[n]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[...T(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:T()}],"border-color":[{border:[l]}],"border-color-x":[{"border-x":[l]}],"border-color-y":[{"border-y":[l]}],"border-color-t":[{"border-t":[l]}],"border-color-r":[{"border-r":[l]}],"border-color-b":[{"border-b":[l]}],"border-color-l":[{"border-l":[l]}],"divide-color":[{divide:[l]}],"outline-style":[{outline:["",...T()]}],"outline-offset":[{"outline-offset":[h,i]}],"outline-w":[{outline:[h,k]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:X()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[h,k]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",C,Re]}],"shadow-color":[{shadow:[R]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":H()}],"bg-blend":[{"bg-blend":H()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",C,i]}],grayscale:[{grayscale:[b]}],"hue-rotate":[{"hue-rotate":[p]}],invert:[{invert:[g]}],saturate:[{saturate:[$]}],sepia:[{sepia:[U]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[b]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[p]}],"backdrop-invert":[{"backdrop-invert":[g]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[$]}],"backdrop-sepia":[{"backdrop-sepia":[U]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",i]}],duration:[{duration:E()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:E()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[_]}],"scale-x":[{"scale-x":[_]}],"scale-y":[{"scale-y":[_]}],rotate:[{rotate:[I,i]}],"translate-x":[{"translate-x":[J]}],"translate-y":[{"translate-y":[J]}],"skew-x":[{"skew-x":[F]}],"skew-y":[{"skew-y":[F]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],accent:[{accent:["auto",e]}],appearance:["appearance-none"],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":d()}],"scroll-mx":[{"scroll-mx":d()}],"scroll-my":[{"scroll-my":d()}],"scroll-ms":[{"scroll-ms":d()}],"scroll-me":[{"scroll-me":d()}],"scroll-mt":[{"scroll-mt":d()}],"scroll-mr":[{"scroll-mr":d()}],"scroll-mb":[{"scroll-mb":d()}],"scroll-ml":[{"scroll-ml":d()}],"scroll-p":[{"scroll-p":d()}],"scroll-px":[{"scroll-px":d()}],"scroll-py":[{"scroll-py":d()}],"scroll-ps":[{"scroll-ps":d()}],"scroll-pe":[{"scroll-pe":d()}],"scroll-pt":[{"scroll-pt":d()}],"scroll-pr":[{"scroll-pr":d()}],"scroll-pb":[{"scroll-pb":d()}],"scroll-pl":[{"scroll-pl":d()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",i]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[h,k,j]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}const _e=he(je);function D(...e){return _e(e.filter(Boolean).join(" "))}try{D.displayName="classNames",D.__docgenInfo={description:"",displayName:"classNames",props:{}}}catch{}export{D as c}; diff --git a/assets/class-names-xhKKfcKT.js b/assets/class-names-xhKKfcKT.js new file mode 100644 index 00000000..50ec919d --- /dev/null +++ b/assets/class-names-xhKKfcKT.js @@ -0,0 +1 @@ +const _="-";function ne(e){const r=ie(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;function l(s){const a=s.split(_);return a[0]===""&&a.length!==1&&a.shift(),D(a,r)||se(s)}function n(s,a){const u=t[s]||[];return a&&o[s]?[...u,...o[s]]:u}return{getClassGroupId:l,getConflictingClassGroupIds:n}}function D(e,r){var s;if(e.length===0)return r.classGroupId;const t=e[0],o=r.nextPart.get(t),l=o?D(e.slice(1),o):void 0;if(l)return l;if(r.validators.length===0)return;const n=e.join(_);return(s=r.validators.find(({validator:a})=>a(n)))==null?void 0:s.classGroupId}const Q=/^\[(.+)\]$/;function se(e){if(Q.test(e)){const r=Q.exec(e)[1],t=r==null?void 0:r.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}}function ie(e){const{theme:r,prefix:t}=e,o={nextPart:new Map,validators:[]};return ae(Object.entries(e.classGroups),t).forEach(([n,s])=>{B(s,o,n,r)}),o}function B(e,r,t,o){e.forEach(l=>{if(typeof l=="string"){const n=l===""?r:Y(r,l);n.classGroupId=t;return}if(typeof l=="function"){if(le(l)){B(l(o),r,t,o);return}r.validators.push({validator:l,classGroupId:t});return}Object.entries(l).forEach(([n,s])=>{B(s,Y(r,n),t,o)})})}function Y(e,r){let t=e;return r.split(_).forEach(o=>{t.nextPart.has(o)||t.nextPart.set(o,{nextPart:new Map,validators:[]}),t=t.nextPart.get(o)}),t}function le(e){return e.isThemeGetter}function ae(e,r){return r?e.map(([t,o])=>{const l=o.map(n=>typeof n=="string"?r+n:typeof n=="object"?Object.fromEntries(Object.entries(n).map(([s,a])=>[r+s,a])):n);return[t,l]}):e}function ce(e){if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=new Map,o=new Map;function l(n,s){t.set(n,s),r++,r>e&&(r=0,o=t,t=new Map)}return{get(n){let s=t.get(n);if(s!==void 0)return s;if((s=o.get(n))!==void 0)return l(n,s),s},set(n,s){t.has(n)?t.set(n,s):l(n,s)}}}const ee="!";function de(e){const r=e.separator,t=r.length===1,o=r[0],l=r.length;return function(s){const a=[];let u=0,b=0,p;for(let f=0;fb?p-b:void 0;return{modifiers:a,hasImportantModifier:y,baseClassName:w,maybePostfixModifierPosition:S}}}function ue(e){if(e.length<=1)return e;const r=[];let t=[];return e.forEach(o=>{o[0]==="["?(r.push(...t.sort(),o),t=[]):t.push(o)}),r.push(...t.sort()),r}function pe(e){return{cache:ce(e.cacheSize),splitModifiers:de(e),...ne(e)}}const be=/\s+/;function fe(e,r){const{splitModifiers:t,getClassGroupId:o,getConflictingClassGroupIds:l}=r,n=new Set;return e.trim().split(be).map(s=>{const{modifiers:a,hasImportantModifier:u,baseClassName:b,maybePostfixModifierPosition:p}=t(s);let g=o(p?b.substring(0,p):b),y=!!p;if(!g){if(!p)return{isTailwindClass:!1,originalClassName:s};if(g=o(b),!g)return{isTailwindClass:!1,originalClassName:s};y=!1}const w=ue(a).join(":");return{isTailwindClass:!0,modifierId:u?w+ee:w,classGroupId:g,originalClassName:s,hasPostfixModifier:y}}).reverse().filter(s=>{if(!s.isTailwindClass)return!0;const{modifierId:a,classGroupId:u,hasPostfixModifier:b}=s,p=a+u;return n.has(p)?!1:(n.add(p),l(u,b).forEach(g=>n.add(a+g)),!0)}).reverse().map(s=>s.originalClassName).join(" ")}function ge(){let e=0,r,t,o="";for(;eg(p),e());return t=pe(b),o=t.cache.get,l=t.cache.set,n=a,a(u)}function a(u){const b=o(u);if(b)return b;const p=fe(u,t);return l(u,p),p}return function(){return n(ge.apply(null,arguments))}}function c(e){const r=t=>t[e]||[];return r.isThemeGetter=!0,r}const te=/^\[(?:([a-z-]+):)?(.+)\]$/i,he=/^\d+\/\d+$/,ye=new Set(["px","full","screen"]),xe=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,we=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,ve=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ke=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function h(e){return z(e)||ye.has(e)||he.test(e)}function k(e){return M(e,"length",Ie)}function z(e){return!!e&&!Number.isNaN(Number(e))}function j(e){return M(e,"number",z)}function R(e){return!!e&&Number.isInteger(Number(e))}function Ce(e){return e.endsWith("%")&&z(e.slice(0,-1))}function i(e){return te.test(e)}function C(e){return xe.test(e)}const ze=new Set(["length","size","percentage"]);function Se(e){return M(e,ze,oe)}function Me(e){return M(e,"position",oe)}const Ae=new Set(["image","url"]);function Ge(e){return M(e,Ae,Te)}function Re(e){return M(e,"",Pe)}function I(){return!0}function M(e,r,t){const o=te.exec(e);return o?o[1]?typeof r=="string"?o[1]===r:r.has(o[1]):t(o[2]):!1}function Ie(e){return we.test(e)}function oe(){return!1}function Pe(e){return ve.test(e)}function Te(e){return ke.test(e)}function Ee(){const e=c("colors"),r=c("spacing"),t=c("blur"),o=c("brightness"),l=c("borderColor"),n=c("borderRadius"),s=c("borderSpacing"),a=c("borderWidth"),u=c("contrast"),b=c("grayscale"),p=c("hueRotate"),g=c("invert"),y=c("gap"),w=c("gradientColorStops"),S=c("gradientColorStopPositions"),f=c("inset"),m=c("margin"),v=c("opacity"),x=c("padding"),$=c("saturate"),L=c("scale"),U=c("sepia"),F=c("skew"),q=c("space"),J=c("translate"),W=()=>["auto","contain","none"],N=()=>["auto","hidden","clip","visible","scroll"],V=()=>["auto",i,r],d=()=>[i,r],X=()=>["",h,k],P=()=>["auto",z,i],Z=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],T=()=>["solid","dashed","dotted","double","none"],H=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],O=()=>["start","end","center","between","around","evenly","stretch"],A=()=>["","0",i],K=()=>["auto","avoid","all","avoid-page","page","left","right","column"],G=()=>[z,j],E=()=>[z,i];return{cacheSize:500,separator:":",theme:{colors:[I],spacing:[h,k],blur:["none","",C,i],brightness:G(),borderColor:[e],borderRadius:["none","","full",C,i],borderSpacing:d(),borderWidth:X(),contrast:G(),grayscale:A(),hueRotate:E(),invert:A(),gap:d(),gradientColorStops:[e],gradientColorStopPositions:[Ce,k],inset:V(),margin:V(),opacity:G(),padding:d(),saturate:G(),scale:G(),sepia:A(),skew:E(),space:d(),translate:d()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[C]}],"break-after":[{"break-after":K()}],"break-before":[{"break-before":K()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none"]}],clear:[{clear:["left","right","both","none"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Z(),i]}],overflow:[{overflow:N()}],"overflow-x":[{"overflow-x":N()}],"overflow-y":[{"overflow-y":N()}],overscroll:[{overscroll:W()}],"overscroll-x":[{"overscroll-x":W()}],"overscroll-y":[{"overscroll-y":W()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[f]}],"inset-x":[{"inset-x":[f]}],"inset-y":[{"inset-y":[f]}],start:[{start:[f]}],end:[{end:[f]}],top:[{top:[f]}],right:[{right:[f]}],bottom:[{bottom:[f]}],left:[{left:[f]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",R,i]}],basis:[{basis:V()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:A()}],shrink:[{shrink:A()}],order:[{order:["first","last","none",R,i]}],"grid-cols":[{"grid-cols":[I]}],"col-start-end":[{col:["auto",{span:["full",R,i]},i]}],"col-start":[{"col-start":P()}],"col-end":[{"col-end":P()}],"grid-rows":[{"grid-rows":[I]}],"row-start-end":[{row:["auto",{span:[R,i]},i]}],"row-start":[{"row-start":P()}],"row-end":[{"row-end":P()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[y]}],"gap-x":[{"gap-x":[y]}],"gap-y":[{"gap-y":[y]}],"justify-content":[{justify:["normal",...O()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...O(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...O(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[x]}],px:[{px:[x]}],py:[{py:[x]}],ps:[{ps:[x]}],pe:[{pe:[x]}],pt:[{pt:[x]}],pr:[{pr:[x]}],pb:[{pb:[x]}],pl:[{pl:[x]}],m:[{m:[m]}],mx:[{mx:[m]}],my:[{my:[m]}],ms:[{ms:[m]}],me:[{me:[m]}],mt:[{mt:[m]}],mr:[{mr:[m]}],mb:[{mb:[m]}],ml:[{ml:[m]}],"space-x":[{"space-x":[q]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[q]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit",i,r]}],"min-w":[{"min-w":["min","max","fit",i,h]}],"max-w":[{"max-w":["0","none","full","min","max","fit","prose",{screen:[C]},C,i]}],h:[{h:[i,r,"auto","min","max","fit"]}],"min-h":[{"min-h":["min","max","fit",h,i]}],"max-h":[{"max-h":[i,r,"min","max","fit"]}],"font-size":[{text:["base",C,k]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",j]}],"font-family":[{font:[I]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",i]}],"line-clamp":[{"line-clamp":["none",z,j]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",h,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...T(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",h,k]}],"underline-offset":[{"underline-offset":["auto",h,i]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],indent:[{indent:d()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Z(),Me]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Se]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Ge]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[S]}],"gradient-via-pos":[{via:[S]}],"gradient-to-pos":[{to:[S]}],"gradient-from":[{from:[w]}],"gradient-via":[{via:[w]}],"gradient-to":[{to:[w]}],rounded:[{rounded:[n]}],"rounded-s":[{"rounded-s":[n]}],"rounded-e":[{"rounded-e":[n]}],"rounded-t":[{"rounded-t":[n]}],"rounded-r":[{"rounded-r":[n]}],"rounded-b":[{"rounded-b":[n]}],"rounded-l":[{"rounded-l":[n]}],"rounded-ss":[{"rounded-ss":[n]}],"rounded-se":[{"rounded-se":[n]}],"rounded-ee":[{"rounded-ee":[n]}],"rounded-es":[{"rounded-es":[n]}],"rounded-tl":[{"rounded-tl":[n]}],"rounded-tr":[{"rounded-tr":[n]}],"rounded-br":[{"rounded-br":[n]}],"rounded-bl":[{"rounded-bl":[n]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[...T(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:T()}],"border-color":[{border:[l]}],"border-color-x":[{"border-x":[l]}],"border-color-y":[{"border-y":[l]}],"border-color-t":[{"border-t":[l]}],"border-color-r":[{"border-r":[l]}],"border-color-b":[{"border-b":[l]}],"border-color-l":[{"border-l":[l]}],"divide-color":[{divide:[l]}],"outline-style":[{outline:["",...T()]}],"outline-offset":[{"outline-offset":[h,i]}],"outline-w":[{outline:[h,k]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:X()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[h,k]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",C,Re]}],"shadow-color":[{shadow:[I]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":H()}],"bg-blend":[{"bg-blend":H()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",C,i]}],grayscale:[{grayscale:[b]}],"hue-rotate":[{"hue-rotate":[p]}],invert:[{invert:[g]}],saturate:[{saturate:[$]}],sepia:[{sepia:[U]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[b]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[p]}],"backdrop-invert":[{"backdrop-invert":[g]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[$]}],"backdrop-sepia":[{"backdrop-sepia":[U]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",i]}],duration:[{duration:E()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:E()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[L]}],"scale-x":[{"scale-x":[L]}],"scale-y":[{"scale-y":[L]}],rotate:[{rotate:[R,i]}],"translate-x":[{"translate-x":[J]}],"translate-y":[{"translate-y":[J]}],"skew-x":[{"skew-x":[F]}],"skew-y":[{"skew-y":[F]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],accent:[{accent:["auto",e]}],appearance:["appearance-none"],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":d()}],"scroll-mx":[{"scroll-mx":d()}],"scroll-my":[{"scroll-my":d()}],"scroll-ms":[{"scroll-ms":d()}],"scroll-me":[{"scroll-me":d()}],"scroll-mt":[{"scroll-mt":d()}],"scroll-mr":[{"scroll-mr":d()}],"scroll-mb":[{"scroll-mb":d()}],"scroll-ml":[{"scroll-ml":d()}],"scroll-p":[{"scroll-p":d()}],"scroll-px":[{"scroll-px":d()}],"scroll-py":[{"scroll-py":d()}],"scroll-ps":[{"scroll-ps":d()}],"scroll-pe":[{"scroll-pe":d()}],"scroll-pt":[{"scroll-pt":d()}],"scroll-pr":[{"scroll-pr":d()}],"scroll-pb":[{"scroll-pb":d()}],"scroll-pl":[{"scroll-pl":d()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",i]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[h,k,j]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}const je=me(Ee);function Le(...e){return je(e.filter(Boolean).join(" "))}export{Le as c}; diff --git a/assets/description-5F8ZuhcY.js b/assets/description-Cx4STRI4.js similarity index 82% rename from assets/description-5F8ZuhcY.js rename to assets/description-Cx4STRI4.js index 9f67f085..81e22e0b 100644 --- a/assets/description-5F8ZuhcY.js +++ b/assets/description-Cx4STRI4.js @@ -1 +1 @@ -import{r as a,R as m}from"./index-4g5l5LRQ.js";import{I as d}from"./keyboard-o6QkQYrw.js";import{D as f,y as g,l as h,X as x,o as E}from"./render-w54E0F54.js";let u=a.createContext(null);function c(){let o=a.useContext(u);if(o===null){let t=new Error("You used a component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,c),t}return o}function P(){let[o,t]=a.useState([]);return[o.length>0?o.join(" "):void 0,a.useMemo(()=>function(e){let n=E(r=>(t(i=>[...i,r]),()=>t(i=>{let s=i.slice(),p=s.indexOf(r);return p!==-1&&s.splice(p,1),s}))),l=a.useMemo(()=>({register:n,slot:e.slot,name:e.name,props:e.props}),[n,e.slot,e.name,e.props]);return m.createElement(u.Provider,{value:l},e.children)},[t])]}let v="p";function S(o,t){let e=d(),{id:n=`headlessui-description-${e}`,...l}=o,r=c(),i=g(t);h(()=>r.register(n),[n,r.register]);let s={ref:i,...r.props,id:n};return x({ourProps:s,theirProps:l,slot:r.slot||{},defaultTag:v,name:r.name||"Description"})}let b=f(S),T=Object.assign(b,{});export{P as M,T as b}; +import{r as a,R as m}from"./index-OjgoNOWw.js";import{I as d}from"./keyboard-ypJuuhig.js";import{D as f,y as g,l as h,X as x,o as E}from"./render--CnTCjM4.js";let u=a.createContext(null);function c(){let o=a.useContext(u);if(o===null){let t=new Error("You used a component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,c),t}return o}function P(){let[o,t]=a.useState([]);return[o.length>0?o.join(" "):void 0,a.useMemo(()=>function(e){let n=E(r=>(t(i=>[...i,r]),()=>t(i=>{let s=i.slice(),p=s.indexOf(r);return p!==-1&&s.splice(p,1),s}))),l=a.useMemo(()=>({register:n,slot:e.slot,name:e.name,props:e.props}),[n,e.slot,e.name,e.props]);return m.createElement(u.Provider,{value:l},e.children)},[t])]}let v="p";function S(o,t){let e=d(),{id:n=`headlessui-description-${e}`,...l}=o,r=c(),i=g(t);h(()=>r.register(n),[n,r.register]);let s={ref:i,...r.props,id:n};return x({ourProps:s,theirProps:l,slot:r.slot||{},defaultTag:v,name:r.name||"Description"})}let b=f(S),T=Object.assign(b,{});export{P as M,T as b}; diff --git a/assets/dialog-4umSQeex.js b/assets/dialog-XDklIeLN.js similarity index 95% rename from assets/dialog-4umSQeex.js rename to assets/dialog-XDklIeLN.js index 5ba10f58..c7d1fc87 100644 --- a/assets/dialog-4umSQeex.js +++ b/assets/dialog-XDklIeLN.js @@ -1 +1 @@ -import{r as u,R as p,a as J}from"./index-4g5l5LRQ.js";import{D as R,y as C,a as de,o as y,u as A,X as M,l as ee,S as ie}from"./render-w54E0F54.js";import{I as x,o as Ae}from"./keyboard-o6QkQYrw.js";import{r as xe}from"./bugs-DTVvle51.js";import{c as ue,p as se}from"./hidden-qqzWvBMn.js";import{O as V,M as P,y as L,N as Ie}from"./focus-management-gzNHToo7.js";import{n as Be,s as _,c as Ne,E as fe,a as He,j as We,P as Q,p as Z}from"./use-root-containers-9RN3yO0Y.js";import{f as pe}from"./use-is-mounted-2jl3pcgu.js";import{n as me,h as Ye}from"./use-owner-g5X0ZmiI.js";import{t as ge,o as ve}from"./disposables-x8EK1kJp.js";import{m as te,t as _e}from"./platform-xf9k1Dsu.js";import{p as je}from"./use-disposables-9CA2w67p.js";import{b as Ve,M as Ue}from"./description-5F8ZuhcY.js";import{C as qe,d as j}from"./open-closed--zB8LTaK.js";function Xe(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}function he(e){if(!e)return new Set;if(typeof e=="function")return new Set(e());let t=new Set;for(let n of e.current)n.current instanceof HTMLElement&&t.add(n.current);return t}let ze="div";var Ee=(e=>(e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.All=30]="All",e))(Ee||{});function Ge(e,t){let n=u.useRef(null),r=C(n,t),{initialFocus:o,containers:l,features:a=30,...i}=e;de()||(a=1);let s=me(n);Ze({ownerDocument:s},!!(a&16));let c=Ke({ownerDocument:s,container:n,initialFocus:o},!!(a&2));et({ownerDocument:s,container:n,containers:l,previousActiveElement:c},!!(a&8));let m=Be(),k=y(d=>{let E=n.current;E&&($=>$())(()=>{A(m.current,{[_.Forwards]:()=>{V(E,P.First,{skipElements:[d.relatedTarget]})},[_.Backwards]:()=>{V(E,P.Last,{skipElements:[d.relatedTarget]})}})})}),T=je(),g=u.useRef(!1),q={ref:r,onKeyDown(d){d.key=="Tab"&&(g.current=!0,T.requestAnimationFrame(()=>{g.current=!1}))},onBlur(d){let E=he(l);n.current instanceof HTMLElement&&E.add(n.current);let $=d.relatedTarget;$ instanceof HTMLElement&&$.dataset.headlessuiFocusGuard!=="true"&&(we(E,$)||(g.current?V(n.current,A(m.current,{[_.Forwards]:()=>P.Next,[_.Backwards]:()=>P.Previous})|P.WrapAround,{relativeTo:d.target}):d.target instanceof HTMLElement&&L(d.target)))}};return p.createElement(p.Fragment,null,!!(a&4)&&p.createElement(ue,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:k,features:se.Focusable}),M({ourProps:q,theirProps:i,defaultTag:ze,name:"FocusTrap"}),!!(a&4)&&p.createElement(ue,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:k,features:se.Focusable}))}let Je=R(Ge),O=Object.assign(Je,{features:Ee}),b=[];Xe(()=>{function e(t){t.target instanceof HTMLElement&&t.target!==document.body&&b[0]!==t.target&&(b.unshift(t.target),b=b.filter(n=>n!=null&&n.isConnected),b.splice(10))}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});function Qe(e=!0){let t=u.useRef(b.slice());return te(([n],[r])=>{r===!0&&n===!1&&ge(()=>{t.current.splice(0)}),r===!1&&n===!0&&(t.current=b.slice())},[e,b,t]),y(()=>{var n;return(n=t.current.find(r=>r!=null&&r.isConnected))!=null?n:null})}function Ze({ownerDocument:e},t){let n=Qe(t);te(()=>{t||(e==null?void 0:e.activeElement)===(e==null?void 0:e.body)&&L(n())},[t]),Ne(()=>{t&&L(n())})}function Ke({ownerDocument:e,container:t,initialFocus:n},r){let o=u.useRef(null),l=pe();return te(()=>{if(!r)return;let a=t.current;a&&ge(()=>{if(!l.current)return;let i=e==null?void 0:e.activeElement;if(n!=null&&n.current){if((n==null?void 0:n.current)===i){o.current=i;return}}else if(a.contains(i)){o.current=i;return}n!=null&&n.current?L(n.current):V(a,P.First)===Ie.Error&&console.warn("There are no focusable elements inside the "),o.current=e==null?void 0:e.activeElement})},[r]),o}function et({ownerDocument:e,container:t,containers:n,previousActiveElement:r},o){let l=pe();fe(e==null?void 0:e.defaultView,"focus",a=>{if(!o||!l.current)return;let i=he(n);t.current instanceof HTMLElement&&i.add(t.current);let s=r.current;if(!s)return;let c=a.target;c&&c instanceof HTMLElement?we(i,c)?(r.current=c,L(c)):(a.preventDefault(),a.stopPropagation(),L(s)):L(r.current)},!0)}function we(e,t){for(let n of e)if(n.contains(t))return!0;return!1}let ne=u.createContext(()=>{});ne.displayName="StackContext";var K=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(K||{});function tt(){return u.useContext(ne)}function nt({children:e,onUpdate:t,type:n,element:r,enabled:o}){let l=tt(),a=y((...i)=>{t==null||t(...i),l(...i)});return ee(()=>{let i=o===void 0||o===!0;return i&&a(0,n,r),()=>{i&&a(1,n,r)}},[a,n,r,o]),p.createElement(ne.Provider,{value:a},e)}function rt(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}const ot=typeof Object.is=="function"?Object.is:rt,{useState:at,useEffect:lt,useLayoutEffect:it,useDebugValue:ut}=J;function st(e,t,n){const r=t(),[{inst:o},l]=at({inst:{value:r,getSnapshot:t}});return it(()=>{o.value=r,o.getSnapshot=t,z(o)&&l({inst:o})},[e,r,t]),lt(()=>(z(o)&&l({inst:o}),e(()=>{z(o)&&l({inst:o})})),[e]),ut(r),r}function z(e){const t=e.getSnapshot,n=e.value;try{const r=t();return!ot(n,r)}catch{return!0}}function ct(e,t,n){return t()}const dt=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",ft=!dt,pt=ft?ct:st,mt="useSyncExternalStore"in J?(e=>e.useSyncExternalStore)(J):pt;function gt(e){return mt(e.subscribe,e.getSnapshot,e.getSnapshot)}function vt(e,t){let n=e(),r=new Set;return{getSnapshot(){return n},subscribe(o){return r.add(o),()=>r.delete(o)},dispatch(o,...l){let a=t[o].call(n,...l);a&&(n=a,r.forEach(i=>i()))}}}function ht(){let e;return{before({doc:t}){var n;let r=t.documentElement;e=((n=t.defaultView)!=null?n:window).innerWidth-r.clientWidth},after({doc:t,d:n}){let r=t.documentElement,o=r.clientWidth-r.offsetWidth,l=e-o;n.style(r,"paddingRight",`${l}px`)}}}function Et(){if(!_e())return{};let e;return{before(){e=window.pageYOffset},after({doc:t,d:n,meta:r}){function o(l){return r.containers.flatMap(a=>a()).some(a=>a.contains(l))}n.microTask(()=>{if(window.getComputedStyle(t.documentElement).scrollBehavior!=="auto"){let a=ve();a.style(t.documentElement,"scroll-behavior","auto"),n.add(()=>n.microTask(()=>a.dispose()))}n.style(t.body,"marginTop",`-${e}px`),window.scrollTo(0,0);let l=null;n.addEventListener(t,"click",a=>{if(a.target instanceof HTMLElement)try{let i=a.target.closest("a");if(!i)return;let{hash:s}=new URL(i.href),c=t.querySelector(s);c&&!o(c)&&(l=c)}catch{}},!0),n.addEventListener(t,"touchmove",a=>{a.target instanceof HTMLElement&&!o(a.target)&&a.preventDefault()},{passive:!1}),n.add(()=>{window.scrollTo(0,window.pageYOffset+e),l&&l.isConnected&&(l.scrollIntoView({block:"nearest"}),l=null)})})}}}function wt(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function $t(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let S=vt(()=>new Map,{PUSH(e,t){var n;let r=(n=this.get(e))!=null?n:{doc:e,count:0,d:ve(),meta:new Set};return r.count++,r.meta.add(t),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:n}){let r={doc:e,d:t,meta:$t(n)},o=[Et(),ht(),wt()];o.forEach(({before:l})=>l==null?void 0:l(r)),o.forEach(({after:l})=>l==null?void 0:l(r))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});S.subscribe(()=>{let e=S.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let r=t.get(n.doc)==="hidden",o=n.count!==0;(o&&!r||!o&&r)&&S.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),n.count===0&&S.dispatch("TEARDOWN",n)}});function bt(e,t,n){let r=gt(S),o=e?r.get(e):void 0,l=o?o.count>0:!1;return ee(()=>{if(!(!e||!t))return S.dispatch("PUSH",e,n),()=>S.dispatch("POP",e,n)},[t,e]),l}let G=new Map,F=new Map;function ce(e,t=!0){ee(()=>{var n;if(!t)return;let r=typeof e=="function"?e():e.current;if(!r)return;function o(){var a;if(!r)return;let i=(a=F.get(r))!=null?a:1;if(i===1?F.delete(r):F.set(r,i-1),i!==1)return;let s=G.get(r);s&&(s["aria-hidden"]===null?r.removeAttribute("aria-hidden"):r.setAttribute("aria-hidden",s["aria-hidden"]),r.inert=s.inert,G.delete(r))}let l=(n=F.get(r))!=null?n:0;return F.set(r,l+1),l!==0||(G.set(r,{"aria-hidden":r.getAttribute("aria-hidden"),inert:r.inert}),r.setAttribute("aria-hidden","true"),r.inert=!0),o},[e,t])}var yt=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(yt||{}),Tt=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(Tt||{});let St={0(e,t){return e.titleId===t.id?e:{...e,titleId:t.id}}},U=u.createContext(null);U.displayName="DialogContext";function I(e){let t=u.useContext(U);if(t===null){let n=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,I),n}return t}function Lt(e,t,n=()=>[document.body]){bt(e,t,r=>{var o;return{containers:[...(o=r.containers)!=null?o:[],n]}})}function Dt(e,t){return A(t.type,St,e,t)}let Pt="div",Rt=ie.RenderStrategy|ie.Static;function Ct(e,t){var n;let r=x(),{id:o=`headlessui-dialog-${r}`,open:l,onClose:a,initialFocus:i,__demoMode:s=!1,...c}=e,[m,k]=u.useState(0),T=qe();l===void 0&&T!==null&&(l=(T&j.Open)===j.Open);let g=u.useRef(null),q=C(g,t),d=me(g),E=e.hasOwnProperty("open")||T!==null,$=e.hasOwnProperty("onClose");if(!E&&!$)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!E)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!$)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(typeof l!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${l}`);if(typeof a!="function")throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${a}`);let v=l?0:1,[B,$e]=u.useReducer(Dt,{titleId:null,descriptionId:null,panelRef:u.createRef()}),D=y(()=>a(!1)),re=y(f=>$e({type:0,id:f})),N=de()?s?!1:v===0:!1,H=m>1,oe=u.useContext(U)!==null,[be,ye]=He(),{resolveContainers:X,mainTreeNodeRef:W,MainTreeNode:Te}=We({portals:be,defaultContainers:[(n=B.panelRef.current)!=null?n:g.current]}),Se=H?"parent":"leaf",ae=T!==null?(T&j.Closing)===j.Closing:!1,Le=oe||ae?!1:N,De=u.useCallback(()=>{var f,w;return(w=Array.from((f=d==null?void 0:d.querySelectorAll("body > *"))!=null?f:[]).find(h=>h.id==="headlessui-portal-root"?!1:h.contains(W.current)&&h instanceof HTMLElement))!=null?w:null},[W]);ce(De,Le);let Pe=H?!0:N,Re=u.useCallback(()=>{var f,w;return(w=Array.from((f=d==null?void 0:d.querySelectorAll("[data-headlessui-portal]"))!=null?f:[]).find(h=>h.contains(W.current)&&h instanceof HTMLElement))!=null?w:null},[W]);ce(Re,Pe),Ye(X,D,!(!N||H));let Ce=!(H||v!==0);fe(d==null?void 0:d.defaultView,"keydown",f=>{Ce&&(f.defaultPrevented||f.key===Ae.Escape&&(f.preventDefault(),f.stopPropagation(),D()))}),Lt(d,!(ae||v!==0||oe),X),u.useEffect(()=>{if(v!==0||!g.current)return;let f=new ResizeObserver(w=>{for(let h of w){let Y=h.target.getBoundingClientRect();Y.x===0&&Y.y===0&&Y.width===0&&Y.height===0&&D()}});return f.observe(g.current),()=>f.disconnect()},[v,g,D]);let[Me,ke]=Ue(),Oe=u.useMemo(()=>[{dialogState:v,close:D,setTitleId:re},B],[v,B,D,re]),le=u.useMemo(()=>({open:v===0}),[v]),Fe={ref:q,id:o,role:"dialog","aria-modal":v===0?!0:void 0,"aria-labelledby":B.titleId,"aria-describedby":Me};return p.createElement(nt,{type:"Dialog",enabled:v===0,element:g,onUpdate:y((f,w)=>{w==="Dialog"&&A(f,{[K.Add]:()=>k(h=>h+1),[K.Remove]:()=>k(h=>h-1)})})},p.createElement(Q,{force:!0},p.createElement(Z,null,p.createElement(U.Provider,{value:Oe},p.createElement(Z.Group,{target:g},p.createElement(Q,{force:!1},p.createElement(ke,{slot:le,name:"Dialog.Description"},p.createElement(O,{initialFocus:i,containers:X,features:N?A(Se,{parent:O.features.RestoreFocus,leaf:O.features.All&~O.features.FocusLock}):O.features.None},p.createElement(ye,null,M({ourProps:Fe,theirProps:c,slot:le,defaultTag:Pt,features:Rt,visible:v===0,name:"Dialog"}))))))))),p.createElement(Te,null))}let Mt="div";function kt(e,t){let n=x(),{id:r=`headlessui-dialog-overlay-${n}`,...o}=e,[{dialogState:l,close:a}]=I("Dialog.Overlay"),i=C(t),s=y(m=>{if(m.target===m.currentTarget){if(xe(m.currentTarget))return m.preventDefault();m.preventDefault(),m.stopPropagation(),a()}}),c=u.useMemo(()=>({open:l===0}),[l]);return M({ourProps:{ref:i,id:r,"aria-hidden":!0,onClick:s},theirProps:o,slot:c,defaultTag:Mt,name:"Dialog.Overlay"})}let Ot="div";function Ft(e,t){let n=x(),{id:r=`headlessui-dialog-backdrop-${n}`,...o}=e,[{dialogState:l},a]=I("Dialog.Backdrop"),i=C(t);u.useEffect(()=>{if(a.panelRef.current===null)throw new Error("A component is being used, but a component is missing.")},[a.panelRef]);let s=u.useMemo(()=>({open:l===0}),[l]);return p.createElement(Q,{force:!0},p.createElement(Z,null,M({ourProps:{ref:i,id:r,"aria-hidden":!0},theirProps:o,slot:s,defaultTag:Ot,name:"Dialog.Backdrop"})))}let At="div";function xt(e,t){let n=x(),{id:r=`headlessui-dialog-panel-${n}`,...o}=e,[{dialogState:l},a]=I("Dialog.Panel"),i=C(t,a.panelRef),s=u.useMemo(()=>({open:l===0}),[l]),c=y(m=>{m.stopPropagation()});return M({ourProps:{ref:i,id:r,onClick:c},theirProps:o,slot:s,defaultTag:At,name:"Dialog.Panel"})}let It="h2";function Bt(e,t){let n=x(),{id:r=`headlessui-dialog-title-${n}`,...o}=e,[{dialogState:l,setTitleId:a}]=I("Dialog.Title"),i=C(t);u.useEffect(()=>(a(r),()=>a(null)),[r,a]);let s=u.useMemo(()=>({open:l===0}),[l]);return M({ourProps:{ref:i,id:r},theirProps:o,slot:s,defaultTag:It,name:"Dialog.Title"})}let Nt=R(Ct),Ht=R(Ft),Wt=R(xt),Yt=R(kt),_t=R(Bt),an=Object.assign(Nt,{Backdrop:Ht,Panel:Wt,Overlay:Yt,Title:_t,Description:Ve});export{an as _}; +import{r as u,R as p,a as J}from"./index-OjgoNOWw.js";import{D as R,y as C,a as de,o as y,u as A,X as M,l as ee,S as ie}from"./render--CnTCjM4.js";import{I as x,o as Ae}from"./keyboard-ypJuuhig.js";import{r as xe}from"./bugs-DTVvle51.js";import{c as ue,p as se}from"./hidden-io_QVhfh.js";import{O as V,M as P,y as L,N as Ie}from"./focus-management-3l6xl84w.js";import{n as Be,s as _,c as Ne,E as fe,a as He,j as We,P as Q,p as Z}from"./use-root-containers-FaFnNgX4.js";import{f as pe}from"./use-is-mounted-sHLtXe0b.js";import{n as me,h as Ye}from"./use-owner-is5PDNtX.js";import{t as ge,o as ve}from"./disposables-x8EK1kJp.js";import{m as te,t as _e}from"./platform-SfVjinHA.js";import{p as je}from"./use-disposables-zYA53INM.js";import{b as Ve,M as Ue}from"./description-Cx4STRI4.js";import{C as qe,d as j}from"./open-closed-QZcf9p9x.js";function Xe(e){function t(){document.readyState!=="loading"&&(e(),document.removeEventListener("DOMContentLoaded",t))}typeof window<"u"&&typeof document<"u"&&(document.addEventListener("DOMContentLoaded",t),t())}function he(e){if(!e)return new Set;if(typeof e=="function")return new Set(e());let t=new Set;for(let n of e.current)n.current instanceof HTMLElement&&t.add(n.current);return t}let ze="div";var Ee=(e=>(e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.All=30]="All",e))(Ee||{});function Ge(e,t){let n=u.useRef(null),r=C(n,t),{initialFocus:o,containers:l,features:a=30,...i}=e;de()||(a=1);let s=me(n);Ze({ownerDocument:s},!!(a&16));let c=Ke({ownerDocument:s,container:n,initialFocus:o},!!(a&2));et({ownerDocument:s,container:n,containers:l,previousActiveElement:c},!!(a&8));let m=Be(),k=y(d=>{let E=n.current;E&&($=>$())(()=>{A(m.current,{[_.Forwards]:()=>{V(E,P.First,{skipElements:[d.relatedTarget]})},[_.Backwards]:()=>{V(E,P.Last,{skipElements:[d.relatedTarget]})}})})}),T=je(),g=u.useRef(!1),q={ref:r,onKeyDown(d){d.key=="Tab"&&(g.current=!0,T.requestAnimationFrame(()=>{g.current=!1}))},onBlur(d){let E=he(l);n.current instanceof HTMLElement&&E.add(n.current);let $=d.relatedTarget;$ instanceof HTMLElement&&$.dataset.headlessuiFocusGuard!=="true"&&(we(E,$)||(g.current?V(n.current,A(m.current,{[_.Forwards]:()=>P.Next,[_.Backwards]:()=>P.Previous})|P.WrapAround,{relativeTo:d.target}):d.target instanceof HTMLElement&&L(d.target)))}};return p.createElement(p.Fragment,null,!!(a&4)&&p.createElement(ue,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:k,features:se.Focusable}),M({ourProps:q,theirProps:i,defaultTag:ze,name:"FocusTrap"}),!!(a&4)&&p.createElement(ue,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:k,features:se.Focusable}))}let Je=R(Ge),O=Object.assign(Je,{features:Ee}),b=[];Xe(()=>{function e(t){t.target instanceof HTMLElement&&t.target!==document.body&&b[0]!==t.target&&(b.unshift(t.target),b=b.filter(n=>n!=null&&n.isConnected),b.splice(10))}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});function Qe(e=!0){let t=u.useRef(b.slice());return te(([n],[r])=>{r===!0&&n===!1&&ge(()=>{t.current.splice(0)}),r===!1&&n===!0&&(t.current=b.slice())},[e,b,t]),y(()=>{var n;return(n=t.current.find(r=>r!=null&&r.isConnected))!=null?n:null})}function Ze({ownerDocument:e},t){let n=Qe(t);te(()=>{t||(e==null?void 0:e.activeElement)===(e==null?void 0:e.body)&&L(n())},[t]),Ne(()=>{t&&L(n())})}function Ke({ownerDocument:e,container:t,initialFocus:n},r){let o=u.useRef(null),l=pe();return te(()=>{if(!r)return;let a=t.current;a&&ge(()=>{if(!l.current)return;let i=e==null?void 0:e.activeElement;if(n!=null&&n.current){if((n==null?void 0:n.current)===i){o.current=i;return}}else if(a.contains(i)){o.current=i;return}n!=null&&n.current?L(n.current):V(a,P.First)===Ie.Error&&console.warn("There are no focusable elements inside the "),o.current=e==null?void 0:e.activeElement})},[r]),o}function et({ownerDocument:e,container:t,containers:n,previousActiveElement:r},o){let l=pe();fe(e==null?void 0:e.defaultView,"focus",a=>{if(!o||!l.current)return;let i=he(n);t.current instanceof HTMLElement&&i.add(t.current);let s=r.current;if(!s)return;let c=a.target;c&&c instanceof HTMLElement?we(i,c)?(r.current=c,L(c)):(a.preventDefault(),a.stopPropagation(),L(s)):L(r.current)},!0)}function we(e,t){for(let n of e)if(n.contains(t))return!0;return!1}let ne=u.createContext(()=>{});ne.displayName="StackContext";var K=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(K||{});function tt(){return u.useContext(ne)}function nt({children:e,onUpdate:t,type:n,element:r,enabled:o}){let l=tt(),a=y((...i)=>{t==null||t(...i),l(...i)});return ee(()=>{let i=o===void 0||o===!0;return i&&a(0,n,r),()=>{i&&a(1,n,r)}},[a,n,r,o]),p.createElement(ne.Provider,{value:a},e)}function rt(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}const ot=typeof Object.is=="function"?Object.is:rt,{useState:at,useEffect:lt,useLayoutEffect:it,useDebugValue:ut}=J;function st(e,t,n){const r=t(),[{inst:o},l]=at({inst:{value:r,getSnapshot:t}});return it(()=>{o.value=r,o.getSnapshot=t,z(o)&&l({inst:o})},[e,r,t]),lt(()=>(z(o)&&l({inst:o}),e(()=>{z(o)&&l({inst:o})})),[e]),ut(r),r}function z(e){const t=e.getSnapshot,n=e.value;try{const r=t();return!ot(n,r)}catch{return!0}}function ct(e,t,n){return t()}const dt=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",ft=!dt,pt=ft?ct:st,mt="useSyncExternalStore"in J?(e=>e.useSyncExternalStore)(J):pt;function gt(e){return mt(e.subscribe,e.getSnapshot,e.getSnapshot)}function vt(e,t){let n=e(),r=new Set;return{getSnapshot(){return n},subscribe(o){return r.add(o),()=>r.delete(o)},dispatch(o,...l){let a=t[o].call(n,...l);a&&(n=a,r.forEach(i=>i()))}}}function ht(){let e;return{before({doc:t}){var n;let r=t.documentElement;e=((n=t.defaultView)!=null?n:window).innerWidth-r.clientWidth},after({doc:t,d:n}){let r=t.documentElement,o=r.clientWidth-r.offsetWidth,l=e-o;n.style(r,"paddingRight",`${l}px`)}}}function Et(){if(!_e())return{};let e;return{before(){e=window.pageYOffset},after({doc:t,d:n,meta:r}){function o(l){return r.containers.flatMap(a=>a()).some(a=>a.contains(l))}n.microTask(()=>{if(window.getComputedStyle(t.documentElement).scrollBehavior!=="auto"){let a=ve();a.style(t.documentElement,"scroll-behavior","auto"),n.add(()=>n.microTask(()=>a.dispose()))}n.style(t.body,"marginTop",`-${e}px`),window.scrollTo(0,0);let l=null;n.addEventListener(t,"click",a=>{if(a.target instanceof HTMLElement)try{let i=a.target.closest("a");if(!i)return;let{hash:s}=new URL(i.href),c=t.querySelector(s);c&&!o(c)&&(l=c)}catch{}},!0),n.addEventListener(t,"touchmove",a=>{a.target instanceof HTMLElement&&!o(a.target)&&a.preventDefault()},{passive:!1}),n.add(()=>{window.scrollTo(0,window.pageYOffset+e),l&&l.isConnected&&(l.scrollIntoView({block:"nearest"}),l=null)})})}}}function wt(){return{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}}function $t(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let S=vt(()=>new Map,{PUSH(e,t){var n;let r=(n=this.get(e))!=null?n:{doc:e,count:0,d:ve(),meta:new Set};return r.count++,r.meta.add(t),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:n}){let r={doc:e,d:t,meta:$t(n)},o=[Et(),ht(),wt()];o.forEach(({before:l})=>l==null?void 0:l(r)),o.forEach(({after:l})=>l==null?void 0:l(r))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});S.subscribe(()=>{let e=S.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let r=t.get(n.doc)==="hidden",o=n.count!==0;(o&&!r||!o&&r)&&S.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),n.count===0&&S.dispatch("TEARDOWN",n)}});function bt(e,t,n){let r=gt(S),o=e?r.get(e):void 0,l=o?o.count>0:!1;return ee(()=>{if(!(!e||!t))return S.dispatch("PUSH",e,n),()=>S.dispatch("POP",e,n)},[t,e]),l}let G=new Map,F=new Map;function ce(e,t=!0){ee(()=>{var n;if(!t)return;let r=typeof e=="function"?e():e.current;if(!r)return;function o(){var a;if(!r)return;let i=(a=F.get(r))!=null?a:1;if(i===1?F.delete(r):F.set(r,i-1),i!==1)return;let s=G.get(r);s&&(s["aria-hidden"]===null?r.removeAttribute("aria-hidden"):r.setAttribute("aria-hidden",s["aria-hidden"]),r.inert=s.inert,G.delete(r))}let l=(n=F.get(r))!=null?n:0;return F.set(r,l+1),l!==0||(G.set(r,{"aria-hidden":r.getAttribute("aria-hidden"),inert:r.inert}),r.setAttribute("aria-hidden","true"),r.inert=!0),o},[e,t])}var yt=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(yt||{}),Tt=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(Tt||{});let St={0(e,t){return e.titleId===t.id?e:{...e,titleId:t.id}}},U=u.createContext(null);U.displayName="DialogContext";function I(e){let t=u.useContext(U);if(t===null){let n=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,I),n}return t}function Lt(e,t,n=()=>[document.body]){bt(e,t,r=>{var o;return{containers:[...(o=r.containers)!=null?o:[],n]}})}function Dt(e,t){return A(t.type,St,e,t)}let Pt="div",Rt=ie.RenderStrategy|ie.Static;function Ct(e,t){var n;let r=x(),{id:o=`headlessui-dialog-${r}`,open:l,onClose:a,initialFocus:i,__demoMode:s=!1,...c}=e,[m,k]=u.useState(0),T=qe();l===void 0&&T!==null&&(l=(T&j.Open)===j.Open);let g=u.useRef(null),q=C(g,t),d=me(g),E=e.hasOwnProperty("open")||T!==null,$=e.hasOwnProperty("onClose");if(!E&&!$)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!E)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!$)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(typeof l!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${l}`);if(typeof a!="function")throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${a}`);let v=l?0:1,[B,$e]=u.useReducer(Dt,{titleId:null,descriptionId:null,panelRef:u.createRef()}),D=y(()=>a(!1)),re=y(f=>$e({type:0,id:f})),N=de()?s?!1:v===0:!1,H=m>1,oe=u.useContext(U)!==null,[be,ye]=He(),{resolveContainers:X,mainTreeNodeRef:W,MainTreeNode:Te}=We({portals:be,defaultContainers:[(n=B.panelRef.current)!=null?n:g.current]}),Se=H?"parent":"leaf",ae=T!==null?(T&j.Closing)===j.Closing:!1,Le=oe||ae?!1:N,De=u.useCallback(()=>{var f,w;return(w=Array.from((f=d==null?void 0:d.querySelectorAll("body > *"))!=null?f:[]).find(h=>h.id==="headlessui-portal-root"?!1:h.contains(W.current)&&h instanceof HTMLElement))!=null?w:null},[W]);ce(De,Le);let Pe=H?!0:N,Re=u.useCallback(()=>{var f,w;return(w=Array.from((f=d==null?void 0:d.querySelectorAll("[data-headlessui-portal]"))!=null?f:[]).find(h=>h.contains(W.current)&&h instanceof HTMLElement))!=null?w:null},[W]);ce(Re,Pe),Ye(X,D,!(!N||H));let Ce=!(H||v!==0);fe(d==null?void 0:d.defaultView,"keydown",f=>{Ce&&(f.defaultPrevented||f.key===Ae.Escape&&(f.preventDefault(),f.stopPropagation(),D()))}),Lt(d,!(ae||v!==0||oe),X),u.useEffect(()=>{if(v!==0||!g.current)return;let f=new ResizeObserver(w=>{for(let h of w){let Y=h.target.getBoundingClientRect();Y.x===0&&Y.y===0&&Y.width===0&&Y.height===0&&D()}});return f.observe(g.current),()=>f.disconnect()},[v,g,D]);let[Me,ke]=Ue(),Oe=u.useMemo(()=>[{dialogState:v,close:D,setTitleId:re},B],[v,B,D,re]),le=u.useMemo(()=>({open:v===0}),[v]),Fe={ref:q,id:o,role:"dialog","aria-modal":v===0?!0:void 0,"aria-labelledby":B.titleId,"aria-describedby":Me};return p.createElement(nt,{type:"Dialog",enabled:v===0,element:g,onUpdate:y((f,w)=>{w==="Dialog"&&A(f,{[K.Add]:()=>k(h=>h+1),[K.Remove]:()=>k(h=>h-1)})})},p.createElement(Q,{force:!0},p.createElement(Z,null,p.createElement(U.Provider,{value:Oe},p.createElement(Z.Group,{target:g},p.createElement(Q,{force:!1},p.createElement(ke,{slot:le,name:"Dialog.Description"},p.createElement(O,{initialFocus:i,containers:X,features:N?A(Se,{parent:O.features.RestoreFocus,leaf:O.features.All&~O.features.FocusLock}):O.features.None},p.createElement(ye,null,M({ourProps:Fe,theirProps:c,slot:le,defaultTag:Pt,features:Rt,visible:v===0,name:"Dialog"}))))))))),p.createElement(Te,null))}let Mt="div";function kt(e,t){let n=x(),{id:r=`headlessui-dialog-overlay-${n}`,...o}=e,[{dialogState:l,close:a}]=I("Dialog.Overlay"),i=C(t),s=y(m=>{if(m.target===m.currentTarget){if(xe(m.currentTarget))return m.preventDefault();m.preventDefault(),m.stopPropagation(),a()}}),c=u.useMemo(()=>({open:l===0}),[l]);return M({ourProps:{ref:i,id:r,"aria-hidden":!0,onClick:s},theirProps:o,slot:c,defaultTag:Mt,name:"Dialog.Overlay"})}let Ot="div";function Ft(e,t){let n=x(),{id:r=`headlessui-dialog-backdrop-${n}`,...o}=e,[{dialogState:l},a]=I("Dialog.Backdrop"),i=C(t);u.useEffect(()=>{if(a.panelRef.current===null)throw new Error("A component is being used, but a component is missing.")},[a.panelRef]);let s=u.useMemo(()=>({open:l===0}),[l]);return p.createElement(Q,{force:!0},p.createElement(Z,null,M({ourProps:{ref:i,id:r,"aria-hidden":!0},theirProps:o,slot:s,defaultTag:Ot,name:"Dialog.Backdrop"})))}let At="div";function xt(e,t){let n=x(),{id:r=`headlessui-dialog-panel-${n}`,...o}=e,[{dialogState:l},a]=I("Dialog.Panel"),i=C(t,a.panelRef),s=u.useMemo(()=>({open:l===0}),[l]),c=y(m=>{m.stopPropagation()});return M({ourProps:{ref:i,id:r,onClick:c},theirProps:o,slot:s,defaultTag:At,name:"Dialog.Panel"})}let It="h2";function Bt(e,t){let n=x(),{id:r=`headlessui-dialog-title-${n}`,...o}=e,[{dialogState:l,setTitleId:a}]=I("Dialog.Title"),i=C(t);u.useEffect(()=>(a(r),()=>a(null)),[r,a]);let s=u.useMemo(()=>({open:l===0}),[l]);return M({ourProps:{ref:i,id:r},theirProps:o,slot:s,defaultTag:It,name:"Dialog.Title"})}let Nt=R(Ct),Ht=R(Ft),Wt=R(xt),Yt=R(kt),_t=R(Bt),an=Object.assign(Nt,{Backdrop:Ht,Panel:Wt,Overlay:Yt,Title:_t,Description:Ve});export{an as _}; diff --git a/assets/dialog.stories-WeQoik6l.js b/assets/dialog.stories-xO90-xUz.js similarity index 50% rename from assets/dialog.stories-WeQoik6l.js rename to assets/dialog.stories-xO90-xUz.js index b8c23244..349f7372 100644 --- a/assets/dialog.stories-WeQoik6l.js +++ b/assets/dialog.stories-xO90-xUz.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-vNq4Oc-g.js";import{r as l}from"./index-4g5l5LRQ.js";import{g as R,h as p}from"./storybook-utils-94J-CLQK.js";import{I as M}from"./icon-button-Y3-3TFK6.js";import{c as y}from"./class-names-J070TWId.js";import{j as q,k as A}from"./zoom-to-fit-icon-UPpVBno8.js";import{t as g}from"./transition-QBeGMtNr.js";import{_ as h}from"./dialog-4umSQeex.js";import{B as x}from"./button-xcFUs6is.js";import{F as a}from"./form-field-eccqU7tK.js";import{T as F}from"./toggle-huM1MEWr.js";import{A as W}from"./alert-7w9D4JnU.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./render-w54E0F54.js";import"./open-closed--zB8LTaK.js";import"./use-is-mounted-2jl3pcgu.js";import"./disposables-x8EK1kJp.js";import"./use-disposables-9CA2w67p.js";import"./use-flags-t0jpIEJ-.js";import"./keyboard-o6QkQYrw.js";import"./bugs-DTVvle51.js";import"./hidden-qqzWvBMn.js";import"./focus-management-gzNHToo7.js";import"./owner-fKE-7Rwj.js";import"./use-root-containers-9RN3yO0Y.js";import"./use-owner-g5X0ZmiI.js";import"./index-jmm5gWkb.js";import"./platform-xf9k1Dsu.js";import"./description-5F8ZuhcY.js";import"./spinner-E2xQXJan.js";import"./label-4h3njXKv.js";import"./use-text-value-q5k1B-6y.js";import"./use-resolve-button-type-_yXBvNtz.js";import"./badge-gQ8zLs50.js";import"./tag-aZM7YGie.js";const d=({isShown:o,children:s,className:r,isCloseable:n=!0,footer:t,footerPosition:i="end",onClose:v,title:L,hasBackground:H=!0,position:b="center"})=>{const f=(O=!1)=>{n&&v&&v(O)};return e.jsx(g,{show:o,as:l.Fragment,children:e.jsxs(h,{as:"div",onClose:f,children:[H?e.jsx(g.Child,{as:l.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:e.jsx("div",{className:"fixed inset-0 z-40 bg-modal-background","aria-hidden":"true",onClick:()=>f(!0)})}):null,e.jsx("div",{className:y("fixed inset-0 z-50 flex overflow-y-auto p-8",b==="bottom-right"&&"items-end justify-end",b==="center"&&"items-center justify-center"),children:e.jsx(g.Child,{as:l.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4",enterTo:"opacity-100 translate-y-0",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 translate-y-4",children:e.jsxs(h.Panel,{className:y("flex w-[736px] transform flex-col overflow-y-auto rounded-md bg-neutral-0 shadow-lg transition-all",!t&&"pb-8",r),children:[e.jsxs("div",{className:"relative mx-10 mt-10",children:[e.jsx(h.Title,{className:"mb-6 pr-12 text-lg font-semibold text-neutral-900",children:L}),n&&e.jsx(M,{className:"absolute right-0 top-0",Icon:q,type:"minimal",onClick:()=>f(!1)}),e.jsx(h.Description,{as:"div",children:s})]}),!!t&&e.jsx("div",{id:"dialog-footer",className:y("sticky bottom-0 left-0 flex flex-row gap-2 bg-neutral-0 px-10 pb-8 pt-8",i==="end"?"justify-end":"justify-start"),children:t})]})})})]})})};try{d.displayName="Dialog",d.__docgenInfo={description:"",displayName:"Dialog",props:{isShown:{defaultValue:null,description:"",name:"isShown",required:!1,type:{name:"boolean"}},title:{defaultValue:null,description:"",name:"title",required:!1,type:{name:"string"}},onClose:{defaultValue:null,description:"",name:"onClose",required:!1,type:{name:"((submitted: boolean) => void)"}},isCloseable:{defaultValue:{value:"true"},description:"",name:"isCloseable",required:!1,type:{name:"boolean"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},footer:{defaultValue:null,description:"",name:"footer",required:!1,type:{name:"ReactNode"}},footerPosition:{defaultValue:{value:"end"},description:"",name:"footerPosition",required:!1,type:{name:"enum",value:[{value:'"end"'},{value:'"start"'}]}},hasBackground:{defaultValue:{value:"true"},description:"",name:"hasBackground",required:!1,type:{name:"boolean"}},position:{defaultValue:{value:"center"},description:"",name:"position",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"bottom-right"'}]}}}}}catch{}const w=()=>{},G=()=>e.jsx("span",{children:"test footer 🍭"}),_=({onClose:o})=>e.jsxs(e.Fragment,{children:[e.jsx(x,{variant:"secondary",onClick:()=>o==null?void 0:o(!1),children:"Cancel"}),e.jsx(x,{variant:"primary",LeftIcon:A,onClick:()=>o==null?void 0:o(!0),children:"Confirm"})]}),j={undefined:void 0,SpanFooter:e.jsx(G,{}),buttons:e.jsx(_,{})},E={options:Object.keys(j),mapping:j},Se={title:"Dialog",component:d,parameters:{...R("Modal showing on top of the screen"),inlineStories:!1},args:{title:"Dialog Title",children:"Dialog Description",isShown:!1,footer:void 0},argTypes:{isShown:p,onClose:p,footer:E},render:({children:o,...s})=>{const[r,n]=l.useState(!1),t=()=>n(i=>!i);return e.jsxs("div",{className:"body-font",children:[e.jsx("button",{type:"button",onClick:t,className:"bg-neutral-100 px-4 py-2 shadow",children:"show Modal"}),e.jsx(d,{...s,isShown:r,onClose:t,children:o})]})}},m={},u={argTypes:{footer:p},render:({children:o,...s})=>{const[r,n]=l.useState(!1),t=()=>n(i=>!i);return e.jsxs("div",{className:"body-font",children:[e.jsx("button",{type:"button",onClick:t,className:"bg-neutral-100 px-4 py-2 shadow",children:"show Modal"}),e.jsx(d,{...s,footer:e.jsx(_,{onClose:()=>n(!1)}),isShown:r,onClose:t,children:o})]})}},c={args:{children:e.jsxs(e.Fragment,{children:[e.jsx(F.Switch,{checked:!0,ariaLabel:"test",onChange:w}),e.jsx("p",{className:"py-10",children:"Paragraph Content"}),e.jsxs(a,{children:[e.jsxs(a.LabelGroup,{children:[e.jsx(a.Label,{htmlFor:"value",children:"Label"}),e.jsx(a.Description,{id:"value-description",children:"Description"})]}),e.jsxs(a.RadioInput,{id:"value",value:"value_1",onChange:w,children:[e.jsx(a.RadioInput.Option,{value:"value_1",children:"Value 1"}),e.jsx(a.RadioInput.Option,{value:"value_2",children:"Value 2"}),e.jsx(a.RadioInput.Option,{value:"value_3",disabled:!0,children:"Value 3"})]})]}),e.jsx("p",{className:"py-5",children:` +import{j as e}from"./jsx-runtime-DtaoT6pD.js";import{r as l}from"./index-OjgoNOWw.js";import{g as _,h as u}from"./storybook-utils-94J-CLQK.js";import{I as q}from"./icon-button-4gxnxrGR.js";import{c as y}from"./class-names-xhKKfcKT.js";import{j as M,k as A}from"./zoom-to-fit-icon-65magoHv.js";import{t as g}from"./transition-FMZahZh2.js";import{_ as d}from"./dialog-XDklIeLN.js";import{B as x}from"./button-ufHQn21l.js";import{F as a}from"./form-field-AdYr7HJv.js";import{T as F}from"./toggle-S7kCR6pX.js";import{A as W}from"./alert-RV1XQKHJ.js";import"./render--CnTCjM4.js";import"./open-closed-QZcf9p9x.js";import"./use-is-mounted-sHLtXe0b.js";import"./disposables-x8EK1kJp.js";import"./use-disposables-zYA53INM.js";import"./use-flags-FD8DIccc.js";import"./keyboard-ypJuuhig.js";import"./bugs-DTVvle51.js";import"./hidden-io_QVhfh.js";import"./focus-management-3l6xl84w.js";import"./owner-k5blU4nj.js";import"./use-root-containers-FaFnNgX4.js";import"./use-owner-is5PDNtX.js";import"./index-mQqIOHEI.js";import"./platform-SfVjinHA.js";import"./description-Cx4STRI4.js";import"./spinner-wMFQnwL5.js";import"./label-i0FK8Lz6.js";import"./use-text-value-5FULYfhL.js";import"./use-resolve-button-type-CvYxBXG6.js";import"./badge-fPVn3-DO.js";import"./tag-KJKMb2LC.js";const p=({isShown:t,children:s,className:r,isCloseable:n=!0,footer:o,footerPosition:i="end",onClose:v,title:V,hasBackground:H=!0,position:b="center"})=>{const f=(O=!1)=>{n&&v&&v(O)};return e.jsx(g,{show:t,as:l.Fragment,children:e.jsxs(d,{as:"div",onClose:f,children:[H?e.jsx(g.Child,{as:l.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:e.jsx("div",{className:"fixed inset-0 z-40 bg-modal-background","aria-hidden":"true",onClick:()=>f(!0)})}):null,e.jsx("div",{className:y("fixed inset-0 z-50 flex overflow-y-auto p-8",b==="bottom-right"&&"items-end justify-end",b==="center"&&"items-center justify-center"),children:e.jsx(g.Child,{as:l.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4",enterTo:"opacity-100 translate-y-0",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0",leaveTo:"opacity-0 translate-y-4",children:e.jsxs(d.Panel,{className:y("flex w-[736px] transform flex-col overflow-y-auto rounded-md bg-neutral-0 shadow-lg transition-all",!o&&"pb-8",r),children:[e.jsxs("div",{className:"relative mx-10 mt-10",children:[e.jsx(d.Title,{className:"mb-6 pr-12 text-lg font-semibold text-neutral-900",children:V}),n&&e.jsx(q,{className:"absolute right-0 top-0",Icon:M,type:"minimal",onClick:()=>f(!1)}),e.jsx(d.Description,{as:"div",children:s})]}),!!o&&e.jsx("div",{id:"dialog-footer",className:y("sticky bottom-0 left-0 flex flex-row gap-2 bg-neutral-0 px-10 pb-8 pt-8",i==="end"?"justify-end":"justify-start"),children:o})]})})})]})})};p.__docgenInfo={description:"",methods:[],displayName:"Dialog",props:{isShown:{required:!1,tsType:{name:"boolean"},description:""},title:{required:!1,tsType:{name:"string"},description:""},onClose:{required:!1,tsType:{name:"signature",type:"function",raw:"(submitted: boolean) => void",signature:{arguments:[{type:{name:"boolean"},name:"submitted"}],return:{name:"void"}}},description:""},isCloseable:{required:!1,tsType:{name:"boolean"},description:"",defaultValue:{value:"true",computed:!1}},className:{required:!1,tsType:{name:"string"},description:""},children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},footer:{required:!1,tsType:{name:"union",raw:"React.ReactNode | null",elements:[{name:"ReactReactNode",raw:"React.ReactNode"},{name:"null"}]},description:""},footerPosition:{required:!1,tsType:{name:"union",raw:'"end" | "start"',elements:[{name:"literal",value:'"end"'},{name:"literal",value:'"start"'}]},description:"",defaultValue:{value:'"end"',computed:!1}},hasBackground:{required:!1,tsType:{name:"boolean"},description:"",defaultValue:{value:"true",computed:!1}},position:{required:!1,tsType:{name:"union",raw:'"center" | "bottom-right"',elements:[{name:"literal",value:'"center"'},{name:"literal",value:'"bottom-right"'}]},description:"",defaultValue:{value:'"center"',computed:!1}}}};const w=()=>{},G=()=>e.jsx("span",{children:"test footer 🍭"}),L=({onClose:t})=>e.jsxs(e.Fragment,{children:[e.jsx(x,{variant:"secondary",onClick:()=>t==null?void 0:t(!1),children:"Cancel"}),e.jsx(x,{variant:"primary",LeftIcon:A,onClick:()=>t==null?void 0:t(!0),children:"Confirm"})]}),j={undefined:void 0,SpanFooter:e.jsx(G,{}),buttons:e.jsx(L,{})},E={options:Object.keys(j),mapping:j},ke={title:"Dialog",component:p,parameters:{..._("Modal showing on top of the screen"),inlineStories:!1},args:{title:"Dialog Title",children:"Dialog Description",isShown:!1,footer:void 0},argTypes:{isShown:u,onClose:u,footer:E},render:({children:t,...s})=>{const[r,n]=l.useState(!1),o=()=>n(i=>!i);return e.jsxs("div",{className:"body-font",children:[e.jsx("button",{type:"button",onClick:o,className:"bg-neutral-100 px-4 py-2 shadow",children:"show Modal"}),e.jsx(p,{...s,isShown:r,onClose:o,children:t})]})}},h={},m={argTypes:{footer:u},render:({children:t,...s})=>{const[r,n]=l.useState(!1),o=()=>n(i=>!i);return e.jsxs("div",{className:"body-font",children:[e.jsx("button",{type:"button",onClick:o,className:"bg-neutral-100 px-4 py-2 shadow",children:"show Modal"}),e.jsx(p,{...s,footer:e.jsx(L,{onClose:()=>n(!1)}),isShown:r,onClose:o,children:t})]})}},c={args:{children:e.jsxs(e.Fragment,{children:[e.jsx(F.Switch,{checked:!0,ariaLabel:"test",onChange:w}),e.jsx("p",{className:"py-10",children:"Paragraph Content"}),e.jsxs(a,{children:[e.jsxs(a.LabelGroup,{children:[e.jsx(a.Label,{htmlFor:"value",children:"Label"}),e.jsx(a.Description,{id:"value-description",children:"Description"})]}),e.jsxs(a.RadioInput,{id:"value",value:"value_1",onChange:w,children:[e.jsx(a.RadioInput.Option,{value:"value_1",children:"Value 1"}),e.jsx(a.RadioInput.Option,{value:"value_2",children:"Value 2"}),e.jsx(a.RadioInput.Option,{value:"value_3",disabled:!0,children:"Value 3"})]})]}),e.jsx("p",{className:"py-5",children:` "Oh, hush, hush, my child!" said Van Helsing. "God does not purchase souls in this wise; and the Devil, though he may purchase, does not keep faith. But God is merciful and just, and knows your pain and your devotion to that dear Madam @@ -23,7 +23,7 @@ import{j as e}from"./jsx-runtime-vNq4Oc-g.js";import{r as l}from"./index-4g5l5LR Hush, there is no time now. Have all your arms! Be ready!" He held up a warning hand as he spoke, for we all could hear a key softly inserted in the lock of the hall door. - `}),e.jsx("span",{children:"litipsum.com"}),e.jsx(W,{title:"Some important information",intent:"info"}),e.jsx(F.Switch,{checked:!1,ariaLabel:"test",onChange:w})]})},argTypes:{children:p}};var k,S,C;m.parameters={...m.parameters,docs:{...(k=m.parameters)==null?void 0:k.docs,source:{originalSource:"{}",...(C=(S=m.parameters)==null?void 0:S.docs)==null?void 0:C.source}}};var I,N,T;u.parameters={...u.parameters,docs:{...(I=u.parameters)==null?void 0:I.docs,source:{originalSource:`{ + `}),e.jsx("span",{children:"litipsum.com"}),e.jsx(W,{title:"Some important information",intent:"info"}),e.jsx(F.Switch,{checked:!1,ariaLabel:"test",onChange:w})]})},argTypes:{children:u}};var k,T,S;h.parameters={...h.parameters,docs:{...(k=h.parameters)==null?void 0:k.docs,source:{originalSource:"{}",...(S=(T=h.parameters)==null?void 0:T.docs)==null?void 0:S.source}}};var N,C,I;m.parameters={...m.parameters,docs:{...(N=m.parameters)==null?void 0:N.docs,source:{originalSource:`{ argTypes: { footer: hiddenArgControl }, @@ -44,7 +44,7 @@ import{j as e}from"./jsx-runtime-vNq4Oc-g.js";import{r as l}from"./index-4g5l5LR ; } -}`,...(T=(N=u.parameters)==null?void 0:N.docs)==null?void 0:T.source}}};var D,V,B;c.parameters={...c.parameters,docs:{...(D=c.parameters)==null?void 0:D.docs,source:{originalSource:`{ +}`,...(I=(C=m.parameters)==null?void 0:C.docs)==null?void 0:I.source}}};var R,D,B;c.parameters={...c.parameters,docs:{...(R=c.parameters)==null?void 0:R.docs,source:{originalSource:`{ args: { children: <> @@ -108,4 +108,4 @@ import{j as e}from"./jsx-runtime-vNq4Oc-g.js";import{r as l}from"./index-4g5l5LR argTypes: { children: hiddenArgControl } -}`,...(B=(V=c.parameters)==null?void 0:V.docs)==null?void 0:B.source}}};const Ce=["Default","WithFooterButtons","WithLongContent"];export{m as Default,u as WithFooterButtons,c as WithLongContent,Ce as __namedExportsOrder,Se as default}; +}`,...(B=(D=c.parameters)==null?void 0:D.docs)==null?void 0:B.source}}};const Te=["Default","WithFooterButtons","WithLongContent"];export{h as Default,m as WithFooterButtons,c as WithLongContent,Te as __namedExportsOrder,ke as default}; diff --git a/assets/disclosure-fSdhbgpM.js b/assets/disclosure-hi91LyUv.js similarity index 92% rename from assets/disclosure-fSdhbgpM.js rename to assets/disclosure-hi91LyUv.js index 02496c3f..0bbfea49 100644 --- a/assets/disclosure-fSdhbgpM.js +++ b/assets/disclosure-hi91LyUv.js @@ -1 +1 @@ -import{R as D,r as n}from"./index-4g5l5LRQ.js";import{S as B,D as g,y as C,T as H,o as b,u as T,X as R}from"./render-w54E0F54.js";import{I as O,o as S}from"./keyboard-o6QkQYrw.js";import{r as K}from"./bugs-DTVvle51.js";import{c as N,d as v,C as U}from"./open-closed--zB8LTaK.js";import{s as F}from"./use-resolve-button-type-_yXBvNtz.js";import{e as j}from"./owner-fKE-7Rwj.js";var M;let q=(M=D.startTransition)!=null?M:function(e){e()};var z=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(z||{}),A=(e=>(e[e.ToggleDisclosure=0]="ToggleDisclosure",e[e.CloseDisclosure=1]="CloseDisclosure",e[e.SetButtonId=2]="SetButtonId",e[e.SetPanelId=3]="SetPanelId",e[e.LinkPanel=4]="LinkPanel",e[e.UnlinkPanel=5]="UnlinkPanel",e))(A||{});let Q={0:e=>({...e,disclosureState:T(e.disclosureState,{0:1,1:0})}),1:e=>e.disclosureState===1?e:{...e,disclosureState:1},4(e){return e.linkedPanel===!0?e:{...e,linkedPanel:!0}},5(e){return e.linkedPanel===!1?e:{...e,linkedPanel:!1}},2(e,t){return e.buttonId===t.buttonId?e:{...e,buttonId:t.buttonId}},3(e,t){return e.panelId===t.panelId?e:{...e,panelId:t.panelId}}},$=n.createContext(null);$.displayName="DisclosureContext";function x(e){let t=n.useContext($);if(t===null){let u=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(u,x),u}return t}let h=n.createContext(null);h.displayName="DisclosureAPIContext";function L(e){let t=n.useContext(h);if(t===null){let u=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(u,L),u}return t}let w=n.createContext(null);w.displayName="DisclosurePanelContext";function V(){return n.useContext(w)}function X(e,t){return T(t.type,Q,e,t)}let Y=n.Fragment;function Z(e,t){let{defaultOpen:u=!1,...a}=e,P=n.useRef(null),l=C(t,H(c=>{P.current=c},e.as===void 0||e.as===n.Fragment)),o=n.useRef(null),m=n.useRef(null),s=n.useReducer(X,{disclosureState:u?0:1,linkedPanel:!1,buttonRef:m,panelRef:o,buttonId:null,panelId:null}),[{disclosureState:i,buttonId:p},y]=s,d=b(c=>{y({type:1});let r=j(P);if(!r||!p)return;let f=c?c instanceof HTMLElement?c:c.current instanceof HTMLElement?c.current:r.getElementById(p):r.getElementById(p);f==null||f.focus()}),I=n.useMemo(()=>({close:d}),[d]),E=n.useMemo(()=>({open:i===0,close:d}),[i,d]),k={ref:l};return D.createElement($.Provider,{value:s},D.createElement(h.Provider,{value:I},D.createElement(N,{value:T(i,{0:v.Open,1:v.Closed})},R({ourProps:k,theirProps:a,slot:E,defaultTag:Y,name:"Disclosure"}))))}let G="button";function J(e,t){let u=O(),{id:a=`headlessui-disclosure-button-${u}`,...P}=e,[l,o]=x("Disclosure.Button"),m=V(),s=m===null?!1:m===l.panelId,i=n.useRef(null),p=C(i,t,s?null:l.buttonRef);n.useEffect(()=>{if(!s)return o({type:2,buttonId:a}),()=>{o({type:2,buttonId:null})}},[a,o,s]);let y=b(r=>{var f;if(s){if(l.disclosureState===1)return;switch(r.key){case S.Space:case S.Enter:r.preventDefault(),r.stopPropagation(),o({type:0}),(f=l.buttonRef.current)==null||f.focus();break}}else switch(r.key){case S.Space:case S.Enter:r.preventDefault(),r.stopPropagation(),o({type:0});break}}),d=b(r=>{switch(r.key){case S.Space:r.preventDefault();break}}),I=b(r=>{var f;K(r.currentTarget)||e.disabled||(s?(o({type:0}),(f=l.buttonRef.current)==null||f.focus()):o({type:0}))}),E=n.useMemo(()=>({open:l.disclosureState===0}),[l]),k=F(e,i),c=s?{ref:p,type:k,onKeyDown:y,onClick:I}:{ref:p,id:a,type:k,"aria-expanded":l.disclosureState===0,"aria-controls":l.linkedPanel?l.panelId:void 0,onKeyDown:y,onKeyUp:d,onClick:I};return R({ourProps:c,theirProps:P,slot:E,defaultTag:G,name:"Disclosure.Button"})}let W="div",_=B.RenderStrategy|B.Static;function ee(e,t){let u=O(),{id:a=`headlessui-disclosure-panel-${u}`,...P}=e,[l,o]=x("Disclosure.Panel"),{close:m}=L("Disclosure.Panel"),s=C(t,l.panelRef,I=>{q(()=>o({type:I?4:5}))});n.useEffect(()=>(o({type:3,panelId:a}),()=>{o({type:3,panelId:null})}),[a,o]);let i=U(),p=i!==null?(i&v.Open)===v.Open:l.disclosureState===0,y=n.useMemo(()=>({open:l.disclosureState===0,close:m}),[l,m]),d={ref:s,id:a};return D.createElement(w.Provider,{value:l.panelId},R({ourProps:d,theirProps:P,slot:y,defaultTag:W,features:_,visible:p,name:"Disclosure.Panel"}))}let te=g(Z),ne=g(J),le=g(ee),pe=Object.assign(te,{Button:ne,Panel:le});export{pe as v}; +import{R as D,r as n}from"./index-OjgoNOWw.js";import{S as B,D as g,y as C,T as H,o as b,u as T,X as R}from"./render--CnTCjM4.js";import{I as O,o as S}from"./keyboard-ypJuuhig.js";import{r as K}from"./bugs-DTVvle51.js";import{c as N,d as v,C as U}from"./open-closed-QZcf9p9x.js";import{s as F}from"./use-resolve-button-type-CvYxBXG6.js";import{e as j}from"./owner-k5blU4nj.js";var M;let q=(M=D.startTransition)!=null?M:function(e){e()};var z=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(z||{}),A=(e=>(e[e.ToggleDisclosure=0]="ToggleDisclosure",e[e.CloseDisclosure=1]="CloseDisclosure",e[e.SetButtonId=2]="SetButtonId",e[e.SetPanelId=3]="SetPanelId",e[e.LinkPanel=4]="LinkPanel",e[e.UnlinkPanel=5]="UnlinkPanel",e))(A||{});let Q={0:e=>({...e,disclosureState:T(e.disclosureState,{0:1,1:0})}),1:e=>e.disclosureState===1?e:{...e,disclosureState:1},4(e){return e.linkedPanel===!0?e:{...e,linkedPanel:!0}},5(e){return e.linkedPanel===!1?e:{...e,linkedPanel:!1}},2(e,t){return e.buttonId===t.buttonId?e:{...e,buttonId:t.buttonId}},3(e,t){return e.panelId===t.panelId?e:{...e,panelId:t.panelId}}},$=n.createContext(null);$.displayName="DisclosureContext";function x(e){let t=n.useContext($);if(t===null){let u=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(u,x),u}return t}let h=n.createContext(null);h.displayName="DisclosureAPIContext";function L(e){let t=n.useContext(h);if(t===null){let u=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(u,L),u}return t}let w=n.createContext(null);w.displayName="DisclosurePanelContext";function V(){return n.useContext(w)}function X(e,t){return T(t.type,Q,e,t)}let Y=n.Fragment;function Z(e,t){let{defaultOpen:u=!1,...a}=e,P=n.useRef(null),l=C(t,H(c=>{P.current=c},e.as===void 0||e.as===n.Fragment)),o=n.useRef(null),m=n.useRef(null),s=n.useReducer(X,{disclosureState:u?0:1,linkedPanel:!1,buttonRef:m,panelRef:o,buttonId:null,panelId:null}),[{disclosureState:i,buttonId:p},y]=s,d=b(c=>{y({type:1});let r=j(P);if(!r||!p)return;let f=c?c instanceof HTMLElement?c:c.current instanceof HTMLElement?c.current:r.getElementById(p):r.getElementById(p);f==null||f.focus()}),I=n.useMemo(()=>({close:d}),[d]),E=n.useMemo(()=>({open:i===0,close:d}),[i,d]),k={ref:l};return D.createElement($.Provider,{value:s},D.createElement(h.Provider,{value:I},D.createElement(N,{value:T(i,{0:v.Open,1:v.Closed})},R({ourProps:k,theirProps:a,slot:E,defaultTag:Y,name:"Disclosure"}))))}let G="button";function J(e,t){let u=O(),{id:a=`headlessui-disclosure-button-${u}`,...P}=e,[l,o]=x("Disclosure.Button"),m=V(),s=m===null?!1:m===l.panelId,i=n.useRef(null),p=C(i,t,s?null:l.buttonRef);n.useEffect(()=>{if(!s)return o({type:2,buttonId:a}),()=>{o({type:2,buttonId:null})}},[a,o,s]);let y=b(r=>{var f;if(s){if(l.disclosureState===1)return;switch(r.key){case S.Space:case S.Enter:r.preventDefault(),r.stopPropagation(),o({type:0}),(f=l.buttonRef.current)==null||f.focus();break}}else switch(r.key){case S.Space:case S.Enter:r.preventDefault(),r.stopPropagation(),o({type:0});break}}),d=b(r=>{switch(r.key){case S.Space:r.preventDefault();break}}),I=b(r=>{var f;K(r.currentTarget)||e.disabled||(s?(o({type:0}),(f=l.buttonRef.current)==null||f.focus()):o({type:0}))}),E=n.useMemo(()=>({open:l.disclosureState===0}),[l]),k=F(e,i),c=s?{ref:p,type:k,onKeyDown:y,onClick:I}:{ref:p,id:a,type:k,"aria-expanded":l.disclosureState===0,"aria-controls":l.linkedPanel?l.panelId:void 0,onKeyDown:y,onKeyUp:d,onClick:I};return R({ourProps:c,theirProps:P,slot:E,defaultTag:G,name:"Disclosure.Button"})}let W="div",_=B.RenderStrategy|B.Static;function ee(e,t){let u=O(),{id:a=`headlessui-disclosure-panel-${u}`,...P}=e,[l,o]=x("Disclosure.Panel"),{close:m}=L("Disclosure.Panel"),s=C(t,l.panelRef,I=>{q(()=>o({type:I?4:5}))});n.useEffect(()=>(o({type:3,panelId:a}),()=>{o({type:3,panelId:null})}),[a,o]);let i=U(),p=i!==null?(i&v.Open)===v.Open:l.disclosureState===0,y=n.useMemo(()=>({open:l.disclosureState===0,close:m}),[l,m]),d={ref:s,id:a};return D.createElement(w.Provider,{value:l.panelId},R({ourProps:d,theirProps:P,slot:y,defaultTag:W,features:_,visible:p,name:"Disclosure.Panel"}))}let te=g(Z),ne=g(J),le=g(ee),pe=Object.assign(te,{Button:ne,Panel:le});export{pe as v}; diff --git a/assets/disclosure.stories-tIZa4mFx.js b/assets/disclosure.stories-tIZa4mFx.js new file mode 100644 index 00000000..64524c13 --- /dev/null +++ b/assets/disclosure.stories-tIZa4mFx.js @@ -0,0 +1,38 @@ +import{j as s}from"./jsx-runtime-DtaoT6pD.js";import{l as f}from"./zoom-to-fit-icon-65magoHv.js";import{c as h}from"./class-names-xhKKfcKT.js";import{v as u}from"./disclosure-hi91LyUv.js";import"./index-OjgoNOWw.js";import"./render--CnTCjM4.js";import"./keyboard-ypJuuhig.js";import"./bugs-DTVvle51.js";import"./open-closed-QZcf9p9x.js";import"./use-resolve-button-type-CvYxBXG6.js";import"./owner-k5blU4nj.js";const j=({children:o,...n})=>s.jsx(u.Panel,{...n,children:o}),C=({children:o,...n})=>s.jsx(u.Button,{className:"headline-300 flex w-full items-center justify-between border-b border-t border-b-neutral-300 border-t-transparent bg-neutral-50 py-3 pl-3 pr-5 text-left text-neutral-900 focus:outline focus:outline-2 focus:outline-offset-0 focus:outline-primary-200",...n,children:({open:P})=>s.jsxs(s.Fragment,{children:[s.jsx("span",{children:o}),s.jsx(f,{className:h("h-3 w-3",P&&"rotate-180 transform")})]})}),e=({children:o,defaultOpen:n=!1})=>s.jsx(u,{defaultOpen:n,children:o});e.Button=C;e.Panel=j;e.__docgenInfo={description:"",methods:[{name:"Button",docblock:null,modifiers:["static"],params:[{name:"{ children, ...props }: DisclosureButtonProps",optional:!1,type:{name:"DisclosureButtonProps",alias:"DisclosureButtonProps"}}],returns:null},{name:"Panel",docblock:null,modifiers:["static"],params:[{name:"{ children, ...props }: DisclosurePanelProps",optional:!1,type:{name:"DisclosurePanelProps",alias:"DisclosurePanelProps"}}],returns:null}],displayName:"Disclosure",props:{children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},defaultOpen:{required:!1,tsType:{name:"boolean"},description:"",defaultValue:{value:"false",computed:!1}}}};const q={title:"Disclosure",component:e,parameters:{options:{showPanel:!1}}},r={render:()=>s.jsx("div",{className:"w-96",children:s.jsxs(e,{children:[s.jsx(e.Button,{children:"Disclosure Button"}),s.jsx(e.Panel,{children:"Disclosure Content"})]})})},t={render:()=>s.jsxs("div",{className:"w-96",children:[s.jsxs(e,{children:[s.jsx(e.Button,{children:"Disclosure Button"}),s.jsx(e.Panel,{children:"Disclosure Content"})]}),s.jsxs(e,{children:[s.jsx(e.Button,{children:"Disclosure Button"}),s.jsx(e.Panel,{children:"Disclosure Content"})]}),s.jsxs(e,{children:[s.jsx(e.Button,{children:"Disclosure Button"}),s.jsx(e.Panel,{children:"Disclosure Content"})]})]})},l={render:()=>s.jsxs("div",{className:"w-96",children:[s.jsxs(e,{children:[s.jsx(e.Button,{children:"Disclosure Button"}),s.jsx(e.Panel,{children:"Disclosure Content"})]}),s.jsxs(e,{defaultOpen:!0,children:[s.jsx(e.Button,{children:"Disclosure Button"}),s.jsx(e.Panel,{children:"Disclosure Content"})]}),s.jsxs(e,{children:[s.jsx(e.Button,{children:"Disclosure Button"}),s.jsx(e.Panel,{children:"Disclosure Content"})]})]})};var c,i,a;r.parameters={...r.parameters,docs:{...(c=r.parameters)==null?void 0:c.docs,source:{originalSource:`{ + render: () =>
+ + Disclosure Button + Disclosure Content + +
+}`,...(a=(i=r.parameters)==null?void 0:i.docs)==null?void 0:a.source}}};var D,d,p;t.parameters={...t.parameters,docs:{...(D=t.parameters)==null?void 0:D.docs,source:{originalSource:`{ + render: () =>
+ + Disclosure Button + Disclosure Content + + + Disclosure Button + Disclosure Content + + + Disclosure Button + Disclosure Content + +
+}`,...(p=(d=t.parameters)==null?void 0:d.docs)==null?void 0:p.source}}};var m,B,x;l.parameters={...l.parameters,docs:{...(m=l.parameters)==null?void 0:m.docs,source:{originalSource:`{ + render: () =>
+ + Disclosure Button + Disclosure Content + + + Disclosure Button + Disclosure Content + + + Disclosure Button + Disclosure Content + +
+}`,...(x=(B=l.parameters)==null?void 0:B.docs)==null?void 0:x.source}}};const E=["Default","Stacked","DefaultOpen"];export{r as Default,l as DefaultOpen,t as Stacked,E as __namedExportsOrder,q as default}; diff --git a/assets/disclosure.stories-y9mft7aa.js b/assets/disclosure.stories-y9mft7aa.js deleted file mode 100644 index c9da1e7a..00000000 --- a/assets/disclosure.stories-y9mft7aa.js +++ /dev/null @@ -1,38 +0,0 @@ -import{j as e}from"./jsx-runtime-vNq4Oc-g.js";import{l as h}from"./zoom-to-fit-icon-UPpVBno8.js";import{c as f}from"./class-names-J070TWId.js";import{v as c}from"./disclosure-fSdhbgpM.js";import"./index-4g5l5LRQ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./render-w54E0F54.js";import"./keyboard-o6QkQYrw.js";import"./bugs-DTVvle51.js";import"./open-closed--zB8LTaK.js";import"./use-resolve-button-type-_yXBvNtz.js";import"./owner-fKE-7Rwj.js";const P=({children:r,...n})=>e.jsx(c.Panel,{...n,children:r}),C=({children:r,...n})=>e.jsx(c.Button,{className:"headline-300 flex w-full items-center justify-between border-b border-t border-b-neutral-300 border-t-transparent bg-neutral-50 py-3 pl-3 pr-5 text-left text-neutral-900 focus:outline focus:outline-2 focus:outline-offset-0 focus:outline-primary-200",...n,children:({open:j})=>e.jsxs(e.Fragment,{children:[e.jsx("span",{children:r}),e.jsx(h,{className:f("h-3 w-3",j&&"rotate-180 transform")})]})}),s=({children:r,defaultOpen:n=!1})=>e.jsx(c,{defaultOpen:n,children:r});s.Button=C;s.Panel=P;try{s.displayName="Disclosure",s.__docgenInfo={description:"",displayName:"Disclosure",props:{defaultOpen:{defaultValue:{value:"false"},description:"",name:"defaultOpen",required:!1,type:{name:"boolean"}}}}}catch{}const q={title:"Disclosure",component:s,parameters:{options:{showPanel:!1}}},o={render:()=>e.jsx("div",{className:"w-96",children:e.jsxs(s,{children:[e.jsx(s.Button,{children:"Disclosure Button"}),e.jsx(s.Panel,{children:"Disclosure Content"})]})})},t={render:()=>e.jsxs("div",{className:"w-96",children:[e.jsxs(s,{children:[e.jsx(s.Button,{children:"Disclosure Button"}),e.jsx(s.Panel,{children:"Disclosure Content"})]}),e.jsxs(s,{children:[e.jsx(s.Button,{children:"Disclosure Button"}),e.jsx(s.Panel,{children:"Disclosure Content"})]}),e.jsxs(s,{children:[e.jsx(s.Button,{children:"Disclosure Button"}),e.jsx(s.Panel,{children:"Disclosure Content"})]})]})},l={render:()=>e.jsxs("div",{className:"w-96",children:[e.jsxs(s,{children:[e.jsx(s.Button,{children:"Disclosure Button"}),e.jsx(s.Panel,{children:"Disclosure Content"})]}),e.jsxs(s,{defaultOpen:!0,children:[e.jsx(s.Button,{children:"Disclosure Button"}),e.jsx(s.Panel,{children:"Disclosure Content"})]}),e.jsxs(s,{children:[e.jsx(s.Button,{children:"Disclosure Button"}),e.jsx(s.Panel,{children:"Disclosure Content"})]})]})};var u,i,a;o.parameters={...o.parameters,docs:{...(u=o.parameters)==null?void 0:u.docs,source:{originalSource:`{ - render: () =>
- - Disclosure Button - Disclosure Content - -
-}`,...(a=(i=o.parameters)==null?void 0:i.docs)==null?void 0:a.source}}};var D,d,p;t.parameters={...t.parameters,docs:{...(D=t.parameters)==null?void 0:D.docs,source:{originalSource:`{ - render: () =>
- - Disclosure Button - Disclosure Content - - - Disclosure Button - Disclosure Content - - - Disclosure Button - Disclosure Content - -
-}`,...(p=(d=t.parameters)==null?void 0:d.docs)==null?void 0:p.source}}};var m,B,x;l.parameters={...l.parameters,docs:{...(m=l.parameters)==null?void 0:m.docs,source:{originalSource:`{ - render: () =>
- - Disclosure Button - Disclosure Content - - - Disclosure Button - Disclosure Content - - - Disclosure Button - Disclosure Content - -
-}`,...(x=(B=l.parameters)==null?void 0:B.docs)==null?void 0:x.source}}};const F=["Default","Stacked","DefaultOpen"];export{o as Default,l as DefaultOpen,t as Stacked,F as __namedExportsOrder,q as default}; diff --git a/assets/divider-line-juAh6NUm.js b/assets/divider-line-juAh6NUm.js new file mode 100644 index 00000000..9cc8813c --- /dev/null +++ b/assets/divider-line-juAh6NUm.js @@ -0,0 +1 @@ +import{j as e}from"./jsx-runtime-DtaoT6pD.js";const r=()=>e.jsx("hr",{className:"col-span-full my-8 h-px w-full border-none bg-neutral-300"});r.__docgenInfo={description:"",methods:[],displayName:"DividerLine"};export{r as D}; diff --git a/assets/divider-line-x1pI827X.js b/assets/divider-line-x1pI827X.js deleted file mode 100644 index 13e09710..00000000 --- a/assets/divider-line-x1pI827X.js +++ /dev/null @@ -1 +0,0 @@ -import{j as r}from"./jsx-runtime-vNq4Oc-g.js";const s=()=>r.jsx("hr",{className:"col-span-full my-8 h-px w-full border-none bg-neutral-300"});export{s as D}; diff --git a/assets/divider-line.stories-HdAaQAav.js b/assets/divider-line.stories-HdAaQAav.js deleted file mode 100644 index 1b815b9b..00000000 --- a/assets/divider-line.stories-HdAaQAav.js +++ /dev/null @@ -1 +0,0 @@ -import{j as e}from"./jsx-runtime-vNq4Oc-g.js";import{D as s}from"./divider-line-x1pI827X.js";import"./index-4g5l5LRQ.js";import"./_commonjsHelpers-4gQjN7DL.js";const c={title:"DividerLine",component:s,parameters:{layout:"fullscreen"},render:()=>e.jsxs("div",{className:"p-2",children:[e.jsx("span",{children:"🌞"}),e.jsx(s,{}),e.jsx("span",{children:"🌙"})]})},r={};var a,t,o;r.parameters={...r.parameters,docs:{...(a=r.parameters)==null?void 0:a.docs,source:{originalSource:"{}",...(o=(t=r.parameters)==null?void 0:t.docs)==null?void 0:o.source}}};const d=["Default"];export{r as Default,d as __namedExportsOrder,c as default}; diff --git a/assets/divider-line.stories-cg9m6yi9.js b/assets/divider-line.stories-cg9m6yi9.js new file mode 100644 index 00000000..a85e48d9 --- /dev/null +++ b/assets/divider-line.stories-cg9m6yi9.js @@ -0,0 +1 @@ +import{j as e}from"./jsx-runtime-DtaoT6pD.js";import{D as s}from"./divider-line-juAh6NUm.js";import"./index-OjgoNOWw.js";const m={title:"DividerLine",component:s,parameters:{layout:"fullscreen"},render:()=>e.jsxs("div",{className:"p-2",children:[e.jsx("span",{children:"🌞"}),e.jsx(s,{}),e.jsx("span",{children:"🌙"})]})},r={};var a,t,o;r.parameters={...r.parameters,docs:{...(a=r.parameters)==null?void 0:a.docs,source:{originalSource:"{}",...(o=(t=r.parameters)==null?void 0:t.docs)==null?void 0:o.source}}};const p=["Default"];export{r as Default,p as __namedExportsOrder,m as default}; diff --git a/assets/entry-preview-OIOrqgri.js b/assets/entry-preview-OIOrqgri.js deleted file mode 100644 index c509dbf7..00000000 --- a/assets/entry-preview-OIOrqgri.js +++ /dev/null @@ -1 +0,0 @@ -import{R as o,r as i}from"./index-4g5l5LRQ.js";import{u as p,r as d}from"./react-18-ba7OOUbL.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./index-jmm5gWkb.js";const{global:u}=__STORYBOOK_MODULE_GLOBAL__;var{FRAMEWORK_OPTIONS:s}=u,_=(r,t)=>{let{id:n,component:e}=t;if(!e)throw new Error(`Unable to render story ${n} as the component annotation is missing from the default export`);return o.createElement(e,{...r})},E=class extends i.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidMount(){let{hasError:r}=this.state,{showMain:t}=this.props;r||t()}componentDidCatch(r){let{showException:t}=this.props;t(r)}render(){let{hasError:r}=this.state,{children:t}=this.props;return r?null:t}},c=s!=null&&s.strictMode?i.StrictMode:i.Fragment;async function C({storyContext:r,unboundStoryFn:t,showMain:n,showException:e,forceRemount:l},a){let m=o.createElement(E,{showMain:n,showException:e},o.createElement(t,{...r})),h=c?o.createElement(c,null,m):m;return l&&p(a),await d(h,a),()=>p(a)}var D={renderer:"react"};export{D as parameters,_ as render,C as renderToCanvas}; diff --git a/assets/entry-preview-docs-mAwDvs1M.js b/assets/entry-preview-docs-5wh-9LVY.js similarity index 58% rename from assets/entry-preview-docs-mAwDvs1M.js rename to assets/entry-preview-docs-5wh-9LVY.js index a007d678..33b565d5 100644 --- a/assets/entry-preview-docs-mAwDvs1M.js +++ b/assets/entry-preview-docs-5wh-9LVY.js @@ -1,36 +1,36 @@ -import{u as $n,b as bi,c as Jn,d as Si,e as Xn,f as Hn,g as Qn,S as Yn,h as te,j as Kn,k as Ur,l as Gr,m as Zn,n as es,T as Wr,o as ft,p as ts}from"./index-MVbLLYTZ.js";import{g as pt,c as lt,a as rs}from"./_commonjsHelpers-4gQjN7DL.js";import{d as is}from"./index-PPLHz8o0.js";import{R as at,r as We}from"./index-4g5l5LRQ.js";var _i={exports:{}},ns="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",ss=ns,as=ss;function Ei(){}function Ci(){}Ci.resetWarningCache=Ei;var os=function(){function e(i,s,a,c,f,p){if(p!==as){var y=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 y.name="Invariant Violation",y}}e.isRequired=e;function t(){return e}var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Ci,resetWarningCache:Ei};return r.PropTypes=r,r};_i.exports=os();var us=_i.exports;const zr=pt(us),ls=["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","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"];var cs=ls;const hs=pt(cs);var Ai={},wi={};(function(e){(function t(r){var i,s,a,c,f,p;function y(m){var x={},_,k;for(_ in m)m.hasOwnProperty(_)&&(k=m[_],typeof k=="object"&&k!==null?x[_]=y(k):x[_]=k);return x}function g(m,x){var _,k,B,R;for(k=m.length,B=0;k;)_=k>>>1,R=B+_,x(m[R])?k=_:(B=R+1,k-=_+1);return B}i={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"},a={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"]},c={},f={},p={},s={Break:c,Skip:f,Remove:p};function b(m,x){this.parent=m,this.key=x}b.prototype.replace=function(x){this.parent[this.key]=x},b.prototype.remove=function(){return Array.isArray(this.parent)?(this.parent.splice(this.key,1),!0):(this.replace(null),!1)};function E(m,x,_,k){this.node=m,this.path=x,this.wrap=_,this.ref=k}function S(){}S.prototype.path=function(){var x,_,k,B,R,G;function q(D,H){if(Array.isArray(H))for(k=0,B=H.length;k=0;--_)if(m[_].node===x)return!0;return!1}S.prototype.traverse=function(x,_){var k,B,R,G,q,D,H,ne,ue,ie,Q,xe;for(this.__initialize(x,_),xe={},k=this.__worklist,B=this.__leavelist,k.push(new E(x,null,null,null)),B.push(new E(null,null,null,null));k.length;){if(R=k.pop(),R===xe){if(R=B.pop(),D=this.__execute(_.leave,R),this.__state===c||D===c)return;continue}if(R.node){if(D=this.__execute(_.enter,R),this.__state===c||D===c)return;if(k.push(xe),B.push(R),this.__state===f||D===f)continue;if(G=R.node,q=G.type||R.wrap,ie=this.__keys[q],!ie)if(this.__fallback)ie=this.__fallback(G);else throw new Error("Unknown node type "+q+".");for(ne=ie.length;(ne-=1)>=0;)if(H=ie[ne],Q=G[H],!!Q){if(Array.isArray(Q)){for(ue=Q.length;(ue-=1)>=0;)if(Q[ue]&&!P(B,Q[ue])){if(v(q,ie[ne]))R=new E(Q[ue],[H,ue],"Property",null);else if(C(Q[ue]))R=new E(Q[ue],[H,ue],null,null);else continue;k.push(R)}}else if(C(Q)){if(P(B,Q))continue;k.push(new E(Q,H,null,null))}}}}},S.prototype.replace=function(x,_){var k,B,R,G,q,D,H,ne,ue,ie,Q,xe,Te;function Je(M){var Ve,xt,Fe,ee;if(M.ref.remove()){for(xt=M.ref.key,ee=M.ref.parent,Ve=k.length;Ve--;)if(Fe=k[Ve],Fe.ref&&Fe.ref.parent===ee){if(Fe.ref.key=0;)if(Te=ue[H],ie=R[Te],!!ie)if(Array.isArray(ie)){for(ne=ie.length;(ne-=1)>=0;)if(ie[ne]){if(v(G,ue[H]))D=new E(ie[ne],[Te,ne],"Property",new b(ie,ne));else if(C(ie[ne]))D=new E(ie[ne],[Te,ne],null,new b(ie,ne));else continue;k.push(D)}}else C(ie)&&k.push(new E(ie,Te,null,new b(R,Te)))}}return xe.root};function O(m,x){var _=new S;return _.traverse(m,x)}function L(m,x){var _=new S;return _.replace(m,x)}function V(m,x){var _;return _=g(x,function(B){return B.range[0]>m.range[0]}),m.extendedRange=[m.range[0],m.range[1]],_!==x.length&&(m.extendedRange[1]=x[_].range[0]),_-=1,_>=0&&(m.extendedRange[0]=x[_].range[1]),m}function A(m,x,_){var k=[],B,R,G,q;if(!m.range)throw new Error("attachComments needs range information");if(!_.length){if(x.length){for(G=0,R=x.length;GD.range[0]));)H.extendedRange[1]===D.range[0]?(D.leadingComments||(D.leadingComments=[]),D.leadingComments.push(H),k.splice(q,1)):q+=1;if(q===k.length)return s.Break;if(k[q].extendedRange[0]>D.range[1])return s.Skip}}),q=0,O(m,{leave:function(D){for(var H;qD.range[1])return s.Skip}}),m}return r.Syntax=i,r.traverse=O,r.replace=L,r.attachComments=A,r.VisitorKeys=a,r.VisitorOption=s,r.Controller=S,r.cloneEnvironment=function(){return t({})},r})(e)})(wi);var it={},Kt={},Et={},Ct={},$r;function fs(){if($r)return Ct;$r=1;var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return Ct.encode=function(t){if(0<=t&&t>1;return p?-y:y}return Et.encode=function(p){var y="",g,b=a(p);do g=b&i,b>>>=t,b>0&&(g|=s),y+=e.encode(g);while(b>0);return y},Et.decode=function(p,y,g){var b=p.length,E=0,S=0,C,v;do{if(y>=b)throw new Error("Expected more digits in base 64 VLQ value.");if(v=e.decode(p.charCodeAt(y++)),v===-1)throw new Error("Invalid base64 digit: "+p.charAt(y-1));C=!!(v&s),v&=i,E=E+(v<=0;G--)B=k[G],B==="."?k.splice(G,1):B===".."?R++:R>0&&(B===""?(k.splice(G+1,R),R=0):(k.splice(G,2),R--));return m=k.join("/"),m===""&&(m=_?"/":"."),x?(x.path=m,a(x)):m}e.normalize=c;function f(A,m){A===""&&(A="."),m===""&&(m=".");var x=s(m),_=s(A);if(_&&(A=_.path||"/"),x&&!x.scheme)return _&&(x.scheme=_.scheme),a(x);if(x||m.match(i))return m;if(_&&!_.host&&!_.path)return _.host=m,a(_);var k=m.charAt(0)==="/"?m:c(A.replace(/\/+$/,"")+"/"+m);return _?(_.path=k,a(_)):k}e.join=f,e.isAbsolute=function(A){return A.charAt(0)==="/"||r.test(A)};function p(A,m){A===""&&(A="."),A=A.replace(/\/$/,"");for(var x=0;m.indexOf(A+"/")!==0;){var _=A.lastIndexOf("/");if(_<0||(A=A.slice(0,_),A.match(/^([^\/]+:\/)?\/*$/)))return m;++x}return Array(x+1).join("../")+m.substr(A.length+1)}e.relative=p;var y=function(){var A=Object.create(null);return!("__proto__"in A)}();function g(A){return A}function b(A){return S(A)?"$"+A:A}e.toSetString=y?g:b;function E(A){return S(A)?A.slice(1):A}e.fromSetString=y?g:E;function S(A){if(!A)return!1;var m=A.length;if(m<9||A.charCodeAt(m-1)!==95||A.charCodeAt(m-2)!==95||A.charCodeAt(m-3)!==111||A.charCodeAt(m-4)!==116||A.charCodeAt(m-5)!==111||A.charCodeAt(m-6)!==114||A.charCodeAt(m-7)!==112||A.charCodeAt(m-8)!==95||A.charCodeAt(m-9)!==95)return!1;for(var x=m-10;x>=0;x--)if(A.charCodeAt(x)!==36)return!1;return!0}function C(A,m,x){var _=P(A.source,m.source);return _!==0||(_=A.originalLine-m.originalLine,_!==0)||(_=A.originalColumn-m.originalColumn,_!==0||x)||(_=A.generatedColumn-m.generatedColumn,_!==0)||(_=A.generatedLine-m.generatedLine,_!==0)?_:P(A.name,m.name)}e.compareByOriginalPositions=C;function v(A,m,x){var _=A.generatedLine-m.generatedLine;return _!==0||(_=A.generatedColumn-m.generatedColumn,_!==0||x)||(_=P(A.source,m.source),_!==0)||(_=A.originalLine-m.originalLine,_!==0)||(_=A.originalColumn-m.originalColumn,_!==0)?_:P(A.name,m.name)}e.compareByGeneratedPositionsDeflated=v;function P(A,m){return A===m?0:A===null?1:m===null?-1:A>m?1:-1}function O(A,m){var x=A.generatedLine-m.generatedLine;return x!==0||(x=A.generatedColumn-m.generatedColumn,x!==0)||(x=P(A.source,m.source),x!==0)||(x=A.originalLine-m.originalLine,x!==0)||(x=A.originalColumn-m.originalColumn,x!==0)?x:P(A.name,m.name)}e.compareByGeneratedPositionsInflated=O;function L(A){return JSON.parse(A.replace(/^\)]}'[^\n]*\n/,""))}e.parseSourceMapInput=L;function V(A,m,x){if(m=m||"",A&&(A[A.length-1]!=="/"&&m[0]!=="/"&&(A+="/"),m=A+m),x){var _=s(x);if(!_)throw new Error("sourceMapURL could not be parsed");if(_.path){var k=_.path.lastIndexOf("/");k>=0&&(_.path=_.path.substring(0,k+1))}m=f(a(_),m)}return c(m)}e.computeSourceURL=V}(Zt)),Zt}var er={},Hr;function Ti(){if(Hr)return er;Hr=1;var e=dt(),t=Object.prototype.hasOwnProperty,r=typeof Map<"u";function i(){this._array=[],this._set=r?new Map:Object.create(null)}return i.fromArray=function(a,c){for(var f=new i,p=0,y=a.length;p=0)return c}else{var f=e.toSetString(a);if(t.call(this._set,f))return this._set[f]}throw new Error('"'+a+'" is not in the set.')},i.prototype.at=function(a){if(a>=0&&aa||c==a&&p>=f||e.compareByGeneratedPositionsInflated(i,s)<=0}function r(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return r.prototype.unsortedForEach=function(s,a){this._array.forEach(s,a)},r.prototype.add=function(s){t(this._last,s)?(this._last=s,this._array.push(s)):(this._sorted=!1,this._array.push(s))},r.prototype.toArray=function(){return this._sorted||(this._array.sort(e.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},tr.MappingList=r,tr}var Yr;function Pi(){if(Yr)return Kt;Yr=1;var e=ki(),t=dt(),r=Ti().ArraySet,i=ps().MappingList;function s(a){a||(a={}),this._file=t.getArg(a,"file",null),this._sourceRoot=t.getArg(a,"sourceRoot",null),this._skipValidation=t.getArg(a,"skipValidation",!1),this._sources=new r,this._names=new r,this._mappings=new i,this._sourcesContents=null}return s.prototype._version=3,s.fromSourceMap=function(c){var f=c.sourceRoot,p=new s({file:c.file,sourceRoot:f});return c.eachMapping(function(y){var g={generated:{line:y.generatedLine,column:y.generatedColumn}};y.source!=null&&(g.source=y.source,f!=null&&(g.source=t.relative(f,g.source)),g.original={line:y.originalLine,column:y.originalColumn},y.name!=null&&(g.name=y.name)),p.addMapping(g)}),c.sources.forEach(function(y){var g=y;f!==null&&(g=t.relative(f,y)),p._sources.has(g)||p._sources.add(g);var b=c.sourceContentFor(y);b!=null&&p.setSourceContent(y,b)}),p},s.prototype.addMapping=function(c){var f=t.getArg(c,"generated"),p=t.getArg(c,"original",null),y=t.getArg(c,"source",null),g=t.getArg(c,"name",null);this._skipValidation||this._validateMapping(f,p,y,g),y!=null&&(y=String(y),this._sources.has(y)||this._sources.add(y)),g!=null&&(g=String(g),this._names.has(g)||this._names.add(g)),this._mappings.add({generatedLine:f.line,generatedColumn:f.column,originalLine:p!=null&&p.line,originalColumn:p!=null&&p.column,source:y,name:g})},s.prototype.setSourceContent=function(c,f){var p=c;this._sourceRoot!=null&&(p=t.relative(this._sourceRoot,p)),f!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[t.toSetString(p)]=f):this._sourcesContents&&(delete this._sourcesContents[t.toSetString(p)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},s.prototype.applySourceMap=function(c,f,p){var y=f;if(f==null){if(c.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);y=c.file}var g=this._sourceRoot;g!=null&&(y=t.relative(g,y));var b=new r,E=new r;this._mappings.unsortedForEach(function(S){if(S.source===y&&S.originalLine!=null){var C=c.originalPositionFor({line:S.originalLine,column:S.originalColumn});C.source!=null&&(S.source=C.source,p!=null&&(S.source=t.join(p,S.source)),g!=null&&(S.source=t.relative(g,S.source)),S.originalLine=C.line,S.originalColumn=C.column,C.name!=null&&(S.name=C.name))}var v=S.source;v!=null&&!b.has(v)&&b.add(v);var P=S.name;P!=null&&!E.has(P)&&E.add(P)},this),this._sources=b,this._names=E,c.sources.forEach(function(S){var C=c.sourceContentFor(S);C!=null&&(p!=null&&(S=t.join(p,S)),g!=null&&(S=t.relative(g,S)),this.setSourceContent(S,C))},this)},s.prototype._validateMapping=function(c,f,p,y){if(f&&typeof f.line!="number"&&typeof f.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(!(c&&"line"in c&&"column"in c&&c.line>0&&c.column>=0&&!f&&!p&&!y)){if(c&&"line"in c&&"column"in c&&f&&"line"in f&&"column"in f&&c.line>0&&c.column>=0&&f.line>0&&f.column>=0&&p)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:c,source:p,original:f,name:y}))}},s.prototype._serializeMappings=function(){for(var c=0,f=1,p=0,y=0,g=0,b=0,E="",S,C,v,P,O=this._mappings.toArray(),L=0,V=O.length;L0){if(!t.compareByGeneratedPositionsInflated(C,O[L-1]))continue;S+=","}S+=e.encode(C.generatedColumn-c),c=C.generatedColumn,C.source!=null&&(P=this._sources.indexOf(C.source),S+=e.encode(P-b),b=P,S+=e.encode(C.originalLine-1-y),y=C.originalLine-1,S+=e.encode(C.originalColumn-p),p=C.originalColumn,C.name!=null&&(v=this._names.indexOf(C.name),S+=e.encode(v-g),g=v)),E+=S}return E},s.prototype._generateSourcesContent=function(c,f){return c.map(function(p){if(!this._sourcesContents)return null;f!=null&&(p=t.relative(f,p));var y=t.toSetString(p);return Object.prototype.hasOwnProperty.call(this._sourcesContents,y)?this._sourcesContents[y]:null},this)},s.prototype.toJSON=function(){var c={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(c.file=this._file),this._sourceRoot!=null&&(c.sourceRoot=this._sourceRoot),this._sourcesContents&&(c.sourcesContent=this._generateSourcesContent(c.sources,c.sourceRoot)),c},s.prototype.toString=function(){return JSON.stringify(this.toJSON())},Kt.SourceMapGenerator=s,Kt}var nt={},rr={},Kr;function ds(){return Kr||(Kr=1,function(e){e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2;function t(r,i,s,a,c,f){var p=Math.floor((i-r)/2)+r,y=c(s,a[p],!0);return y===0?p:y>0?i-p>1?t(p,i,s,a,c,f):f==e.LEAST_UPPER_BOUND?i1?t(r,p,s,a,c,f):f==e.LEAST_UPPER_BOUND?p:r<0?-1:r}e.search=function(i,s,a,c){if(s.length===0)return-1;var f=t(-1,s.length,i,s,a,c||e.GREATEST_LOWER_BOUND);if(f<0)return-1;for(;f-1>=0&&a(s[f],s[f-1],!0)===0;)--f;return f}}(rr)),rr}var ir={},Zr;function ms(){if(Zr)return ir;Zr=1;function e(i,s,a){var c=i[s];i[s]=i[a],i[a]=c}function t(i,s){return Math.round(i+Math.random()*(s-i))}function r(i,s,a,c){if(a=0){var v=this._originalMappings[C];if(g.column===void 0)for(var P=v.originalLine;v&&v.originalLine===P;)S.push({line:e.getArg(v,"generatedLine",null),column:e.getArg(v,"generatedColumn",null),lastColumn:e.getArg(v,"lastGeneratedColumn",null)}),v=this._originalMappings[++C];else for(var O=v.originalColumn;v&&v.originalLine===b&&v.originalColumn==O;)S.push({line:e.getArg(v,"generatedLine",null),column:e.getArg(v,"generatedColumn",null),lastColumn:e.getArg(v,"lastGeneratedColumn",null)}),v=this._originalMappings[++C]}return S},nt.SourceMapConsumer=a;function c(y,g){var b=y;typeof y=="string"&&(b=e.parseSourceMapInput(y));var E=e.getArg(b,"version"),S=e.getArg(b,"sources"),C=e.getArg(b,"names",[]),v=e.getArg(b,"sourceRoot",null),P=e.getArg(b,"sourcesContent",null),O=e.getArg(b,"mappings"),L=e.getArg(b,"file",null);if(E!=this._version)throw new Error("Unsupported version: "+E);v&&(v=e.normalize(v)),S=S.map(String).map(e.normalize).map(function(V){return v&&e.isAbsolute(v)&&e.isAbsolute(V)?e.relative(v,V):V}),this._names=r.fromArray(C.map(String),!0),this._sources=r.fromArray(S,!0),this._absoluteSources=this._sources.toArray().map(function(V){return e.computeSourceURL(v,V,g)}),this.sourceRoot=v,this.sourcesContent=P,this._mappings=O,this._sourceMapURL=g,this.file=L}c.prototype=Object.create(a.prototype),c.prototype.consumer=a,c.prototype._findSourceIndex=function(y){var g=y;if(this.sourceRoot!=null&&(g=e.relative(this.sourceRoot,g)),this._sources.has(g))return this._sources.indexOf(g);var b;for(b=0;b1&&(k.source=P+R[1],P+=R[1],k.originalLine=C+R[2],C=k.originalLine,k.originalLine+=1,k.originalColumn=v+R[3],v=k.originalColumn,R.length>4&&(k.name=O+R[4],O+=R[4])),_.push(k),typeof k.originalLine=="number"&&x.push(k)}s(_,e.compareByGeneratedPositionsDeflated),this.__generatedMappings=_,s(x,e.compareByOriginalPositions),this.__originalMappings=x},c.prototype._findMapping=function(g,b,E,S,C,v){if(g[E]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+g[E]);if(g[S]<0)throw new TypeError("Column must be greater than or equal to 0, got "+g[S]);return t.search(g,b,C,v)},c.prototype.computeColumnSpans=function(){for(var g=0;g=0){var S=this._generatedMappings[E];if(S.generatedLine===b.generatedLine){var C=e.getArg(S,"source",null);C!==null&&(C=this._sources.at(C),C=e.computeSourceURL(this.sourceRoot,C,this._sourceMapURL));var v=e.getArg(S,"name",null);return v!==null&&(v=this._names.at(v)),{source:C,line:e.getArg(S,"originalLine",null),column:e.getArg(S,"originalColumn",null),name:v}}}return{source:null,line:null,column:null,name:null}},c.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(g){return g==null}):!1},c.prototype.sourceContentFor=function(g,b){if(!this.sourcesContent)return null;var E=this._findSourceIndex(g);if(E>=0)return this.sourcesContent[E];var S=g;this.sourceRoot!=null&&(S=e.relative(this.sourceRoot,S));var C;if(this.sourceRoot!=null&&(C=e.urlParse(this.sourceRoot))){var v=S.replace(/^file:\/\//,"");if(C.scheme=="file"&&this._sources.has(v))return this.sourcesContent[this._sources.indexOf(v)];if((!C.path||C.path=="/")&&this._sources.has("/"+S))return this.sourcesContent[this._sources.indexOf("/"+S)]}if(b)return null;throw new Error('"'+S+'" is not in the SourceMap.')},c.prototype.generatedPositionFor=function(g){var b=e.getArg(g,"source");if(b=this._findSourceIndex(b),b<0)return{line:null,column:null,lastColumn:null};var E={source:b,originalLine:e.getArg(g,"line"),originalColumn:e.getArg(g,"column")},S=this._findMapping(E,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,e.getArg(g,"bias",a.GREATEST_LOWER_BOUND));if(S>=0){var C=this._originalMappings[S];if(C.source===E.source)return{line:e.getArg(C,"generatedLine",null),column:e.getArg(C,"generatedColumn",null),lastColumn:e.getArg(C,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},nt.BasicSourceMapConsumer=c;function p(y,g){var b=y;typeof y=="string"&&(b=e.parseSourceMapInput(y));var E=e.getArg(b,"version"),S=e.getArg(b,"sections");if(E!=this._version)throw new Error("Unsupported version: "+E);this._sources=new r,this._names=new r;var C={line:-1,column:0};this._sections=S.map(function(v){if(v.url)throw new Error("Support for url field in sections not implemented.");var P=e.getArg(v,"offset"),O=e.getArg(P,"line"),L=e.getArg(P,"column");if(O=0;p--)this.prepend(f[p]);else if(f[s]||typeof f=="string")this.children.unshift(f);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+f);return this},a.prototype.walk=function(f){for(var p,y=0,g=this.children.length;y0){for(p=[],y=0;y=6.0"},ks=[{name:"Yusuke Suzuki",email:"utatane.tea@gmail.com",web:"http://github.com/Constellation"}],Ts={type:"git",url:"http://github.com/estools/escodegen.git"},Ps={estraverse:"^5.2.0",esutils:"^2.0.2",esprima:"^4.0.1"},Is={"source-map":"~0.6.1"},Ns={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"},Ls="BSD-2-Clause",Os={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"},Rs={name:xs,description:bs,homepage:Ss,main:_s,bin:Es,files:Cs,version:As,engines:ws,maintainers:ks,repository:Ts,dependencies:Ps,optionalDependencies:Is,devDependencies:Ns,license:Ls,scripts:Os};(function(e){(function(){var t,r,i,s,a,c,f,p,y,g,b,E,S,C,v,P,O,L,V,A,m,x,_,k,B,R;a=wi,c=$n,t=a.Syntax;function G(n){return oe.Expression.hasOwnProperty(n.type)}function q(n){return oe.Statement.hasOwnProperty(n.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},i={"??":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 D=1,H=2,ne=4,ue=8,ie=16,Q=32,xe=64,Te=H|ne,Je=D|H,M=D|H|ne,Ve=D,xt=ne,Fe=D|ne,ee=D,Ae=D|Q,bt=0,Ln=D|ie,On=D|ue;function Or(){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 je(n,u){var o="";for(u|=0;u>0;u>>>=1,n+=n)u&1&&(o+=n);return o}function Rn(n){return/[\r\n]/g.test(n)}function he(n){var u=n.length;return u&&c.code.isLineTerminator(n.charCodeAt(u-1))}function Rr(n,u){var o;for(o in u)u.hasOwnProperty(o)&&(n[o]=u[o]);return n}function St(n,u){var o,l;function d(w){return typeof w=="object"&&w instanceof Object&&!(w instanceof RegExp)}for(o in u)u.hasOwnProperty(o)&&(l=u[o],d(l)?d(n[o])?St(n[o],l):n[o]=St({},l):n[o]=l);return n}function Fn(n){var u,o,l,d,w;if(n!==n)throw new Error("Numeric literal whose value is NaN");if(n<0||n===0&&1/n<0)throw new Error("Numeric literal whose value is negative");if(n===1/0)return y?"null":g?"1e400":"1e+400";if(u=""+n,!g||u.length<3)return u;for(o=u.indexOf("."),!y&&u.charCodeAt(0)===48&&o===1&&(o=0,u=u.slice(1)),l=u,u=u.replace("e+","e"),d=0,(w=l.indexOf("e"))>0&&(d=+l.slice(w+1),l=l.slice(0,w)),o>=0&&(d-=l.length-o-1,l=+(l.slice(0,o)+l.slice(o+1))+""),w=0;l.charCodeAt(l.length+w-1)===48;)--w;return w!==0&&(d-=w,l=l.slice(0,w)),d!==0&&(l+="e"+d),(l.length1e12&&Math.floor(n)===n&&(l="0x"+n.toString(16)).length255?"\\u"+"0000".slice(o.length)+o:n===0&&!c.code.isDecimalDigit(u)?"\\0":n===11?"\\x0B":"\\x"+"00".slice(o.length)+o)}function Dn(n){if(n===92)return"\\\\";if(n===10)return"\\n";if(n===13)return"\\r";if(n===8232)return"\\u2028";if(n===8233)return"\\u2029";throw new Error("Incorrectly classified character")}function Vn(n){var u,o,l,d;for(d=E==="double"?'"':"'",u=0,o=n.length;u126))){u+=Bn(d,n.charCodeAt(o+1));continue}u+=String.fromCharCode(d)}if(I=!(E==="double"||E==="auto"&&T=0&&!c.code.isLineTerminator(n.charCodeAt(u));--u);return n.length-1-u}function Un(n,u){var o,l,d,w,T,I,F,J;for(o=n.split(/\r\n|[\r\n]/),I=Number.MAX_VALUE,l=1,d=o.length;lT&&(I=T)}for(typeof u<"u"?(F=f,o[1][I]==="*"&&(u+=" "),f=u):(I&1&&--I,F=f),l=1,d=o.length;l0){if(w=u,k){for(d=n.leadingComments[0],u=[],J=d.extendedRange,ce=d.range,He=_.substring(J[0],ce[0]),we=(He.match(/\n/g)||[]).length,we>0?(u.push(je(` -`,we)),u.push(pe(Pe(d)))):(u.push(He),u.push(Pe(d))),qe=ce,o=1,l=n.leadingComments.length;o0?(u.push(je(` -`,we)),u.push(pe(Pe(d)))):(u.push(He),u.push(Pe(d)));else for(T=!he(K(u).toString()),I=je(" ",qn(K([f,u,p]).toString())),o=0,l=n.trailingComments.length;o")),n.expression?(u.push(v),o=this.generateExpression(n.body,r.Assignment,M),o.toString().charAt(0)==="{"&&(o=["(",o,")"]),u.push(o)):u.push(this.maybeBlock(n.body,On)),u},oe.prototype.generateIterationForStatement=function(n,u,o){var l=["for"+(u.await?fe()+"await":"")+v+"("],d=this;return ae(function(){u.left.type===t.VariableDeclaration?ae(function(){l.push(u.left.kind+fe()),l.push(d.generateStatement(u.left.declarations[0],bt))}):l.push(d.generateExpression(u.left,r.Call,M)),l=U(l,n),l=[U(l,d.generateExpression(u.right,r.Assignment,M)),")"]}),l.push(this.maybeBlock(u.body,o)),l},oe.prototype.generatePropertyKey=function(n,u){var o=[];return u&&o.push("["),o.push(this.generateExpression(n,r.Assignment,M)),u&&o.push("]"),o},oe.prototype.generateAssignment=function(n,u,o,l,d){return r.Assignment2&&(l=_.substring(o[0]+1,o[1]-1),l[0]===` -`&&(d=["{"]),d.push(l)));var T,I,F,J;for(J=ee,u&ue&&(J|=ie),T=0,I=n.body.length;T0&&!n.body[T-1].trailingComments&&!n.body[T].leadingComments&&Xe(n.body[T-1].range[1],n.body[T].range[0],d)),T===I-1&&(J|=Q),n.body[T].leadingComments&&k?F=w.generateStatement(n.body[T],J):F=pe(w.generateStatement(n.body[T],J)),d.push(F),he(K(F).toString())||k&&T1?ae(F):F(),o.push(this.semicolon(u)),o},ThrowStatement:function(n,u){return[U("throw",this.generateExpression(n.argument,r.Sequence,M)),this.semicolon(u)]},TryStatement:function(n,u){var o,l,d,w;if(o=["try",this.maybeBlock(n.block,ee)],o=this.maybeBlockSuffix(n.block,o),n.handlers)for(l=0,d=n.handlers.length;l0?` -`:""],T=Ln,d=0;d0&&!n.body[d-1].trailingComments&&!n.body[d].leadingComments&&Xe(n.body[d-1].range[1],n.body[d].range[0],o)),l=pe(this.generateStatement(n.body[d],T)),o.push(l),d+10){for(l.push("("),w=0,T=d;w=2&&d.charCodeAt(0)===48)&&l.push(" ")),l.push(n.optional?"?.":"."),l.push(ge(n.property))),le(l,r.Member,u)},MetaProperty:function(n,u,o){var l;return l=[],l.push(typeof n.meta=="string"?n.meta:ge(n.meta)),l.push("."),l.push(typeof n.property=="string"?n.property:ge(n.property)),le(l,r.Member,u)},UnaryExpression:function(n,u,o){var l,d,w,T,I;return d=this.generateExpression(n.argument,r.Unary,M),v===""?l=U(n.operator,d):(l=[n.operator],n.operator.length>2?l=U(l,d):(T=K(l).toString(),I=T.charCodeAt(T.length-1),w=d.toString().charCodeAt(0),((I===43||I===45)&&I===w||c.code.isIdentifierPartES5(I)&&c.code.isIdentifierPartES5(w))&&l.push(fe()),l.push(d))),le(l,r.Unary,u)},YieldExpression:function(n,u,o){var l;return n.delegate?l="yield*":l="yield",n.argument&&(l=U(l,this.generateExpression(n.argument,r.Yield,M))),le(l,r.Yield,u)},AwaitExpression:function(n,u,o){var l=U(n.all?"await*":"await",this.generateExpression(n.argument,r.Await,M));return le(l,r.Await,u)},UpdateExpression:function(n,u,o){return n.prefix?le([n.operator,this.generateExpression(n.argument,r.Unary,M)],r.Unary,u):le([this.generateExpression(n.argument,r.Postfix,M),n.operator],r.Postfix,u)},FunctionExpression:function(n,u,o){var l=[rt(n,!0),"function"];return n.id?(l.push(_t(n)||fe()),l.push(ge(n.id))):l.push(_t(n)||v),l.push(this.generateFunctionBody(n)),l},ArrayPattern:function(n,u,o){return this.ArrayExpression(n,u,o,!0)},ArrayExpression:function(n,u,o,l){var d,w,T=this;return n.elements.length?(w=l?!1:n.elements.length>1,d=["[",w?C:""],ae(function(I){var F,J;for(F=0,J=n.elements.length;F1,ae(function(){w=T.generateExpression(n.properties[0],r.Sequence,M)}),!l&&!Rn(K(w).toString())?["{",v,w,v,"}"]:(ae(function(I){var F,J;if(d=["{",C,I,w],l)for(d.push(","+C),F=1,J=n.properties.length;F0||A.moz.comprehensionExpressionStartsWithAssignment?l=U(l,T):l.push(T)}),n.filter&&(l=U(l,"if"+v),T=this.generateExpression(n.filter,r.Sequence,M),l=U(l,["(",T,")"])),A.moz.comprehensionExpressionStartsWithAssignment||(T=this.generateExpression(n.body,r.Assignment,M),l=U(l,T)),l.push(n.type===t.GeneratorExpression?")":"]"),l},ComprehensionBlock:function(n,u,o){var l;return n.left.type===t.VariableDeclaration?l=[n.left.kind,fe(),this.generateStatement(n.left.declarations[0],bt)]:l=this.generateExpression(n.left,r.Call,M),l=U(l,n.of?"of":"in"),l=U(l,this.generateExpression(n.right,r.Sequence,M)),["for"+v+"(",l,")"]},SpreadElement:function(n,u,o){return["...",this.generateExpression(n.argument,r.Assignment,M)]},TaggedTemplateExpression:function(n,u,o){var l=Je;o&H||(l=Ve);var d=[this.generateExpression(n.tag,r.Call,l),this.generateExpression(n.quasi,r.Primary,xt)];return le(d,r.TaggedTemplate,u)},TemplateElement:function(n,u,o){return n.value.raw},TemplateLiteral:function(n,u,o){var l,d,w;for(l=["`"],d=0,w=n.quasis.length;de)return!1;if(r+=t[i+1],r>=e)return!0}}function Le(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&Bs.test(String.fromCharCode(e)):t===!1?!1:ur(e,Ni)}function Ge(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&&Ds.test(String.fromCharCode(e)):t===!1?!1:ur(e,Ni)||ur(e,Vs)}var Y=function(t,r){r===void 0&&(r={}),this.label=t,this.keyword=r.keyword,this.beforeExpr=!!r.beforeExpr,this.startsExpr=!!r.startsExpr,this.isLoop=!!r.isLoop,this.isAssign=!!r.isAssign,this.prefix=!!r.prefix,this.postfix=!!r.postfix,this.binop=r.binop||null,this.updateContext=null};function be(e,t){return new Y(e,{beforeExpr:!0,binop:t})}var Se={beforeExpr:!0},ye={startsExpr:!0},Lt={};function X(e,t){return t===void 0&&(t={}),t.keyword=e,Lt[e]=new Y(e,t)}var h={num:new Y("num",ye),regexp:new Y("regexp",ye),string:new Y("string",ye),name:new Y("name",ye),eof:new Y("eof"),bracketL:new Y("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new Y("]"),braceL:new Y("{",{beforeExpr:!0,startsExpr:!0}),braceR:new Y("}"),parenL:new Y("(",{beforeExpr:!0,startsExpr:!0}),parenR:new Y(")"),comma:new Y(",",Se),semi:new Y(";",Se),colon:new Y(":",Se),dot:new Y("."),question:new Y("?",Se),questionDot:new Y("?."),arrow:new Y("=>",Se),template:new Y("template"),invalidTemplate:new Y("invalidTemplate"),ellipsis:new Y("...",Se),backQuote:new Y("`",ye),dollarBraceL:new Y("${",{beforeExpr:!0,startsExpr:!0}),eq:new Y("=",{beforeExpr:!0,isAssign:!0}),assign:new Y("_=",{beforeExpr:!0,isAssign:!0}),incDec:new Y("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new Y("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:be("||",1),logicalAND:be("&&",2),bitwiseOR:be("|",3),bitwiseXOR:be("^",4),bitwiseAND:be("&",5),equality:be("==/!=/===/!==",6),relational:be("/<=/>=",7),bitShift:be("<>/>>>",8),plusMin:new Y("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:be("%",10),star:be("*",10),slash:be("/",10),starstar:new Y("**",{beforeExpr:!0}),coalesce:be("??",1),_break:X("break"),_case:X("case",Se),_catch:X("catch"),_continue:X("continue"),_debugger:X("debugger"),_default:X("default",Se),_do:X("do",{isLoop:!0,beforeExpr:!0}),_else:X("else",Se),_finally:X("finally"),_for:X("for",{isLoop:!0}),_function:X("function",ye),_if:X("if"),_return:X("return",Se),_switch:X("switch"),_throw:X("throw",Se),_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",ye),_super:X("super",ye),_class:X("class",ye),_extends:X("extends",Se),_export:X("export"),_import:X("import",ye),_null:X("null",ye),_true:X("true",ye),_false:X("false",ye),_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})},ve=/\r\n?|\n|\u2028|\u2029/,Qe=new RegExp(ve.source,"g");function et(e,t){return e===10||e===13||!t&&(e===8232||e===8233)}var yr=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,Ee=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Li=Object.prototype,js=Li.hasOwnProperty,qs=Li.toString;function Ot(e,t){return js.call(e,t)}var ii=Array.isArray||function(e){return qs.call(e)==="[object Array]"};function Ue(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var Ye=function(t,r){this.line=t,this.column=r};Ye.prototype.offset=function(t){return new Ye(this.line,this.column+t)};var mt=function(t,r,i){this.start=r,this.end=i,t.sourceFile!==null&&(this.source=t.sourceFile)};function vr(e,t){for(var r=1,i=0;;){Qe.lastIndex=i;var s=Qe.exec(e);if(s&&s.index=2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),ii(t.onToken)){var i=t.onToken;t.onToken=function(s){return i.push(s)}}return ii(t.onComment)&&(t.onComment=Gs(t,t.onComment)),t}function Gs(e,t){return function(r,i,s,a,c,f){var p={type:r?"Block":"Line",value:i,start:s,end:a};e.locations&&(p.loc=new mt(this,c,f)),e.ranges&&(p.range=[s,a]),t.push(p)}}var ct=1,gt=2,xr=ct|gt,Oi=4,Ri=8,Fi=16,Mi=32,Bi=64,Di=128;function br(e,t){return gt|(e?Oi:0)|(t?Ri:0)}var ni=0,Sr=1,Ne=2,Vi=3,ji=4,qi=5,re=function(t,r,i){this.options=t=Us(t),this.sourceFile=t.sourceFile,this.keywords=Ue(Fs[t.ecmaVersion>=6?6:t.sourceType==="module"?"5module":5]);var s="";if(t.allowReserved!==!0){for(var a=t.ecmaVersion;!(s=sr[a]);a--);t.sourceType==="module"&&(s+=" await")}this.reservedWords=Ue(s);var c=(s?s+" ":"")+sr.strict;this.reservedWordsStrict=Ue(c),this.reservedWordsStrictBind=Ue(c+" "+sr.strictBind),this.input=String(r),this.containsEsc=!1,i?(this.pos=i,this.lineStart=this.input.lastIndexOf(` -`,i-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(ve).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=h.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=t.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&&t.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(ct),this.regexpState=null},ze={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0}};re.prototype.parse=function(){var t=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(t)};ze.inFunction.get=function(){return(this.currentVarScope().flags>)>0};ze.inGenerator.get=function(){return(this.currentVarScope().flags&Ri)>0};ze.inAsync.get=function(){return(this.currentVarScope().flags&Oi)>0};ze.allowSuper.get=function(){return(this.currentThisScope().flags&Bi)>0};ze.allowDirectSuper.get=function(){return(this.currentThisScope().flags&Di)>0};ze.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};re.prototype.inNonArrowFunction=function(){return(this.currentThisScope().flags>)>0};re.extend=function(){for(var t=[],r=arguments.length;r--;)t[r]=arguments[r];for(var i=this,s=0;s=,?^&]/.test(s)||s==="!"&&this.input.charAt(i+1)==="=")}e+=t[0].length,Ee.lastIndex=e,e+=Ee.exec(this.input)[0].length,this.input[e]===";"&&e++}};me.eat=function(e){return this.type===e?(this.next(),!0):!1};me.isContextual=function(e){return this.type===h.name&&this.value===e&&!this.containsEsc};me.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1};me.expectContextual=function(e){this.eatContextual(e)||this.unexpected()};me.canInsertSemicolon=function(){return this.type===h.eof||this.type===h.braceR||ve.test(this.input.slice(this.lastTokEnd,this.start))};me.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0};me.semicolon=function(){!this.eat(h.semi)&&!this.insertSemicolon()&&this.unexpected()};me.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0};me.expect=function(e){this.eat(e)||this.unexpected()};me.unexpected=function(e){this.raise(e??this.start,"Unexpected token")};function Rt(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}me.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")}};me.checkExpressionErrors=function(e,t){if(!e)return!1;var r=e.shorthandAssign,i=e.doubleProto;if(!t)return r>=0||i>=0;r>=0&&this.raise(r,"Shorthand property assignments are valid only in destructuring patterns"),i>=0&&this.raiseRecoverable(i,"Redefinition of __proto__ property")};me.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos=6&&this.unexpected(),this.parseFunctionStatement(s,!1,!e);case h._class:return e&&this.unexpected(),this.parseClass(s,!0);case h._if:return this.parseIfStatement(s);case h._return:return this.parseReturnStatement(s);case h._switch:return this.parseSwitchStatement(s);case h._throw:return this.parseThrowStatement(s);case h._try:return this.parseTryStatement(s);case h._const:case h._var:return a=a||this.value,e&&a!=="var"&&this.unexpected(),this.parseVarStatement(s,a);case h._while:return this.parseWhileStatement(s);case h._with:return this.parseWithStatement(s);case h.braceL:return this.parseBlock(!0,s);case h.semi:return this.parseEmptyStatement(s);case h._export:case h._import:if(this.options.ecmaVersion>10&&i===h._import){Ee.lastIndex=this.pos;var c=Ee.exec(this.input),f=this.pos+c[0].length,p=this.input.charCodeAt(f);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'")),i===h._import?this.parseImport(s):this.parseExport(s,r);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(s,!0,!e);var y=this.value,g=this.parseExpression();return i===h.name&&g.type==="Identifier"&&this.eat(h.colon)?this.parseLabeledStatement(s,y,g,e):this.parseExpressionStatement(s,g)}};W.parseBreakContinueStatement=function(e,t){var r=t==="break";this.next(),this.eat(h.semi)||this.insertSemicolon()?e.label=null:this.type!==h.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var i=0;i=6?this.eat(h.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")};W.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(_r),this.enterScope(0),this.expect(h.parenL),this.type===h.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var r=this.isLet();if(this.type===h._var||this.type===h._const||r){var i=this.startNode(),s=r?"let":this.value;return this.next(),this.parseVar(i,!0,s),this.finishNode(i,"VariableDeclaration"),(this.type===h._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&i.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===h._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,i)):(t>-1&&this.unexpected(t),this.parseFor(e,i))}var a=new Rt,c=this.parseExpression(!0,a);return this.type===h._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===h._in?t>-1&&this.unexpected(t):e.await=t>-1),this.toAssignable(c,!1,a),this.checkLVal(c),this.parseForIn(e,c)):(this.checkExpressionErrors(a,!0),t>-1&&this.unexpected(t),this.parseFor(e,c))};W.parseFunctionStatement=function(e,t,r){return this.next(),this.parseFunction(e,ot|(r?0:lr),!1,t)};W.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(h._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")};W.parseReturnStatement=function(e){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(h.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")};W.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(h.braceL),this.labels.push(zs),this.enterScope(0);for(var t,r=!1;this.type!==h.braceR;)if(this.type===h._case||this.type===h._default){var i=this.type===h._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),i?t.test=this.parseExpression():(r&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),r=!0,t.test=null),this.expect(h.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")};W.parseThrowStatement=function(e){return this.next(),ve.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")};var $s=[];W.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===h._catch){var t=this.startNode();if(this.next(),this.eat(h.parenL)){t.param=this.parseBindingAtom();var r=t.param.type==="Identifier";this.enterScope(r?Mi:0),this.checkLVal(t.param,r?ji:Ne),this.expect(h.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(h._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")};W.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")};W.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(_r),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")};W.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")};W.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")};W.parseLabeledStatement=function(e,t,r,i){for(var s=0,a=this.labels;s=0;p--){var y=this.labels[p];if(y.statementStart===e.start)y.statementStart=this.start,y.kind=f;else break}return this.labels.push({name:t,kind:f,statementStart:this.start}),e.body=this.parseStatement(i?i.indexOf("label")===-1?i+"label":i:"label"),this.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")};W.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")};W.parseBlock=function(e,t,r){for(e===void 0&&(e=!0),t===void 0&&(t=this.startNode()),t.body=[],this.expect(h.braceL),e&&this.enterScope(0);this.type!==h.braceR;){var i=this.parseStatement(null);t.body.push(i)}return r&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")};W.parseFor=function(e,t){return e.init=t,this.expect(h.semi),e.test=this.type===h.semi?null:this.parseExpression(),this.expect(h.semi),e.update=this.type===h.parenR?null:this.parseExpression(),this.expect(h.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")};W.parseForIn=function(e,t){var r=this.type===h._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(h.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")};W.parseVar=function(e,t,r){for(e.declarations=[],e.kind=r;;){var i=this.startNode();if(this.parseVarId(i,r),this.eat(h.eq)?i.init=this.parseMaybeAssign(t):r==="const"&&!(this.type===h._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():i.id.type!=="Identifier"&&!(t&&(this.type===h._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):i.init=null,e.declarations.push(this.finishNode(i,"VariableDeclarator")),!this.eat(h.comma))break}return e};W.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLVal(e.id,t==="var"?Sr:Ne,!1)};var ot=1,lr=2,Ui=4;W.parseFunction=function(e,t,r,i){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!i)&&(this.type===h.star&&t&lr&&this.unexpected(),e.generator=this.eat(h.star)),this.options.ecmaVersion>=8&&(e.async=!!i),t&ot&&(e.id=t&Ui&&this.type!==h.name?null:this.parseIdent(),e.id&&!(t&lr)&&this.checkLVal(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?Sr:Ne:Vi));var s=this.yieldPos,a=this.awaitPos,c=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(br(e.async,e.generator)),t&ot||(e.id=this.type===h.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,r,!1),this.yieldPos=s,this.awaitPos=a,this.awaitIdentPos=c,this.finishNode(e,t&ot?"FunctionDeclaration":"FunctionExpression")};W.parseFunctionParams=function(e){this.expect(h.parenL),e.params=this.parseBindingList(h.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()};W.parseClass=function(e,t){this.next();var r=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var i=this.startNode(),s=!1;for(i.body=[],this.expect(h.braceL);this.type!==h.braceR;){var a=this.parseClassElement(e.superClass!==null);a&&(i.body.push(a),a.type==="MethodDefinition"&&a.kind==="constructor"&&(s&&this.raise(a.start,"Duplicate constructor in the same class"),s=!0))}return this.strict=r,this.next(),e.body=this.finishNode(i,"ClassBody"),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")};W.parseClassElement=function(e){var t=this;if(this.eat(h.semi))return null;var r=this.startNode(),i=function(p,y){y===void 0&&(y=!1);var g=t.start,b=t.startLoc;return t.eatContextual(p)?t.type!==h.parenL&&(!y||!t.canInsertSemicolon())?!0:(r.key&&t.unexpected(),r.computed=!1,r.key=t.startNodeAt(g,b),r.key.name=p,t.finishNode(r.key,"Identifier"),!1):!1};r.kind="method",r.static=i("static");var s=this.eat(h.star),a=!1;s||(this.options.ecmaVersion>=8&&i("async",!0)?(a=!0,s=this.options.ecmaVersion>=9&&this.eat(h.star)):i("get")?r.kind="get":i("set")&&(r.kind="set")),r.key||this.parsePropertyName(r);var c=r.key,f=!1;return!r.computed&&!r.static&&(c.type==="Identifier"&&c.name==="constructor"||c.type==="Literal"&&c.value==="constructor")?(r.kind!=="method"&&this.raise(c.start,"Constructor can't have get/set modifier"),s&&this.raise(c.start,"Constructor can't be a generator"),a&&this.raise(c.start,"Constructor can't be an async method"),r.kind="constructor",f=e):r.static&&c.type==="Identifier"&&c.name==="prototype"&&this.raise(c.start,"Classes may not have a static property named prototype"),this.parseClassMethod(r,s,a,f),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};W.parseClassMethod=function(e,t,r,i){return e.value=this.parseMethod(t,r,i),this.finishNode(e,"MethodDefinition")};W.parseClassId=function(e,t){this.type===h.name?(e.id=this.parseIdent(),t&&this.checkLVal(e.id,Ne,!1)):(t===!0&&this.unexpected(),e.id=null)};W.parseClassSuper=function(e){e.superClass=this.eat(h._extends)?this.parseExprSubscripts():null};W.parseExport=function(e,t){if(this.next(),this.eat(h.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!==h.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(h._default)){this.checkExport(t,"default",this.lastTokStart);var r;if(this.type===h._function||(r=this.isAsyncFunction())){var i=this.startNode();this.next(),r&&this.next(),e.declaration=this.parseFunction(i,ot|Ui,!1,r)}else if(this.type===h._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!==h.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var a=0,c=e.specifiers;a=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 i=0,s=e.properties;i=8&&!a&&c.name==="async"&&!this.canInsertSemicolon()&&this.eat(h._function))return this.parseFunction(this.startNodeAt(i,s),0,!1,!0);if(r&&!this.canInsertSemicolon()){if(this.eat(h.arrow))return this.parseArrowExpression(this.startNodeAt(i,s),[c],!1);if(this.options.ecmaVersion>=8&&c.name==="async"&&this.type===h.name&&!a)return c=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(h.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(i,s),[c],!0)}return c;case h.regexp:var f=this.value;return t=this.parseLiteral(f.value),t.regex={pattern:f.pattern,flags:f.flags},t;case h.num:case h.string:return this.parseLiteral(this.value);case h._null:case h._true:case h._false:return t=this.startNode(),t.value=this.type===h._null?null:this.type===h._true,t.raw=this.type.keyword,this.next(),this.finishNode(t,"Literal");case h.parenL:var p=this.start,y=this.parseParenAndDistinguishExpression(r);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(y)&&(e.parenthesizedAssign=p),e.parenthesizedBind<0&&(e.parenthesizedBind=p)),y;case h.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(h.bracketR,!0,!0,e),this.finishNode(t,"ArrayExpression");case h.braceL:return this.parseObj(!1,e);case h._function:return t=this.startNode(),this.next(),this.parseFunction(t,0);case h._class:return this.parseClass(this.startNode(),!1);case h._new:return this.parseNew();case h.backQuote:return this.parseTemplate();case h._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}};z.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 h.parenL:return this.parseDynamicImport(e);case h.dot:return e.meta=t,this.parseImportMeta(e);default:this.unexpected()}};z.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),!this.eat(h.parenR)){var t=this.start;this.eat(h.comma)&&this.eat(h.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")};z.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")};z.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")};z.parseParenExpression=function(){this.expect(h.parenL);var e=this.parseExpression();return this.expect(h.parenR),e};z.parseParenAndDistinguishExpression=function(e){var t=this.start,r=this.startLoc,i,s=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var a=this.start,c=this.startLoc,f=[],p=!0,y=!1,g=new Rt,b=this.yieldPos,E=this.awaitPos,S;for(this.yieldPos=0,this.awaitPos=0;this.type!==h.parenR;)if(p?p=!1:this.expect(h.comma),s&&this.afterTrailingComma(h.parenR,!0)){y=!0;break}else if(this.type===h.ellipsis){S=this.start,f.push(this.parseParenItem(this.parseRestBinding())),this.type===h.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}else f.push(this.parseMaybeAssign(!1,g,this.parseParenItem));var C=this.start,v=this.startLoc;if(this.expect(h.parenR),e&&!this.canInsertSemicolon()&&this.eat(h.arrow))return this.checkPatternErrors(g,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=b,this.awaitPos=E,this.parseParenArrowList(t,r,f);(!f.length||y)&&this.unexpected(this.lastTokStart),S&&this.unexpected(S),this.checkExpressionErrors(g,!0),this.yieldPos=b||this.yieldPos,this.awaitPos=E||this.awaitPos,f.length>1?(i=this.startNodeAt(a,c),i.expressions=f,this.finishNodeAt(i,"SequenceExpression",C,v)):i=f[0]}else i=this.parseParenExpression();if(this.options.preserveParens){var P=this.startNodeAt(t,r);return P.expression=i,this.finishNode(P,"ParenthesizedExpression")}else return i};z.parseParenItem=function(e){return e};z.parseParenArrowList=function(e,t,r){return this.parseArrowExpression(this.startNodeAt(e,t),r)};var Js=[];z.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(h.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 i=this.start,s=this.startLoc,a=this.type===h._import;return e.callee=this.parseSubscripts(this.parseExprAtom(),i,s,!0),a&&e.callee.type==="ImportExpression"&&this.raise(i,"Cannot use new with import()"),this.eat(h.parenL)?e.arguments=this.parseExprList(h.parenR,this.options.ecmaVersion>=8,!1):e.arguments=Js,this.finishNode(e,"NewExpression")};z.parseTemplateElement=function(e){var t=e.isTagged,r=this.startNode();return this.type===h.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===h.backQuote,this.finishNode(r,"TemplateElement")};z.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 i=this.parseTemplateElement({isTagged:t});for(r.quasis=[i];!i.tail;)this.type===h.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(h.dollarBraceL),r.expressions.push(this.parseExpression()),this.expect(h.braceR),r.quasis.push(i=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(r,"TemplateLiteral")};z.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===h.name||this.type===h.num||this.type===h.string||this.type===h.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===h.star)&&!ve.test(this.input.slice(this.lastTokEnd,this.start))};z.parseObj=function(e,t){var r=this.startNode(),i=!0,s={};for(r.properties=[],this.next();!this.eat(h.braceR);){if(i)i=!1;else if(this.expect(h.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(h.braceR))break;var a=this.parseProperty(e,t);e||this.checkPropClash(a,s,t),r.properties.push(a)}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")};z.parseProperty=function(e,t){var r=this.startNode(),i,s,a,c;if(this.options.ecmaVersion>=9&&this.eat(h.ellipsis))return e?(r.argument=this.parseIdent(!1),this.type===h.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(r,"RestElement")):(this.type===h.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),r.argument=this.parseMaybeAssign(!1,t),this.type===h.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)&&(a=this.start,c=this.startLoc),e||(i=this.eat(h.star)));var f=this.containsEsc;return this.parsePropertyName(r),!e&&!f&&this.options.ecmaVersion>=8&&!i&&this.isAsyncProp(r)?(s=!0,i=this.options.ecmaVersion>=9&&this.eat(h.star),this.parsePropertyName(r,t)):s=!1,this.parsePropertyValue(r,e,i,s,a,c,t,f),this.finishNode(r,"Property")};z.parsePropertyValue=function(e,t,r,i,s,a,c,f){if((r||i)&&this.type===h.colon&&this.unexpected(),this.eat(h.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,c),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===h.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(r,i);else if(!t&&!f&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.type!==h.comma&&this.type!==h.braceR&&this.type!==h.eq){(r||i)&&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 y=e.value.start;e.kind==="get"?this.raiseRecoverable(y,"getter should have no params"):this.raiseRecoverable(y,"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||i)&&this.unexpected(),this.checkUnreserved(e.key),e.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=s),e.kind="init",t?e.value=this.parseMaybeDefault(s,a,e.key):this.type===h.eq&&c?(c.shorthandAssign<0&&(c.shorthandAssign=this.start),e.value=this.parseMaybeDefault(s,a,e.key)):e.value=e.key,e.shorthand=!0):this.unexpected()};z.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(h.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(h.bracketR),e.key;e.computed=!1}return e.key=this.type===h.num||this.type===h.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};z.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)};z.parseMethod=function(e,t,r){var i=this.startNode(),s=this.yieldPos,a=this.awaitPos,c=this.awaitIdentPos;return this.initFunction(i),this.options.ecmaVersion>=6&&(i.generator=e),this.options.ecmaVersion>=8&&(i.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(br(t,i.generator)|Bi|(r?Di:0)),this.expect(h.parenL),i.params=this.parseBindingList(h.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(i,!1,!0),this.yieldPos=s,this.awaitPos=a,this.awaitIdentPos=c,this.finishNode(i,"FunctionExpression")};z.parseArrowExpression=function(e,t,r){var i=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;return this.enterScope(br(r,!1)|Fi),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=i,this.awaitPos=s,this.awaitIdentPos=a,this.finishNode(e,"ArrowFunctionExpression")};z.parseFunctionBody=function(e,t,r){var i=t&&this.type!==h.braceL,s=this.strict,a=!1;if(i)e.body=this.parseMaybeAssign(),e.expression=!0,this.checkParams(e,!1);else{var c=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!s||c)&&(a=this.strictDirective(this.end),a&&c&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var f=this.labels;this.labels=[],a&&(this.strict=!0),this.checkParams(e,!s&&!a&&!t&&!r&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLVal(e.id,qi),e.body=this.parseBlock(!1,void 0,a&&!s),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=f}this.exitScope()};z.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&ct&&delete this.undefinedExports[e]}else if(t===ji){var a=this.currentScope();a.lexical.push(e)}else if(t===Vi){var c=this.currentScope();this.treatFunctionsAsVar?i=c.lexical.indexOf(e)>-1:i=c.lexical.indexOf(e)>-1||c.var.indexOf(e)>-1,c.functions.push(e)}else for(var f=this.scopeStack.length-1;f>=0;--f){var p=this.scopeStack[f];if(p.lexical.indexOf(e)>-1&&!(p.flags&Mi&&p.lexical[0]===e)||!this.treatFunctionsAsVarInScope(p)&&p.functions.indexOf(e)>-1){i=!0;break}if(p.var.push(e),this.inModule&&p.flags&ct&&delete this.undefinedExports[e],p.flags&xr)break}i&&this.raiseRecoverable(r,"Identifier '"+e+"' has already been declared")};De.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)};De.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};De.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&xr)return t}};De.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&xr&&!(t.flags&Fi))return t}};var Ft=function(t,r,i){this.type="",this.start=r,this.end=0,t.options.locations&&(this.loc=new mt(t,i)),t.options.directSourceFile&&(this.sourceFile=t.options.directSourceFile),t.options.ranges&&(this.range=[r,0])},Mt=re.prototype;Mt.startNode=function(){return new Ft(this,this.start,this.startLoc)};Mt.startNodeAt=function(e,t){return new Ft(this,e,t)};function Gi(e,t,r,i){return e.type=t,e.end=r,this.options.locations&&(e.loc.end=i),this.options.ranges&&(e.range[1]=r),e}Mt.finishNode=function(e,t){return Gi.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)};Mt.finishNodeAt=function(e,t,r,i){return Gi.call(this,e,t,r,i)};var _e=function(t,r,i,s,a){this.token=t,this.isExpr=!!r,this.preserveSpace=!!i,this.override=s,this.generator=!!a},se={b_stat:new _e("{",!1),b_expr:new _e("{",!0),b_tmpl:new _e("${",!1),p_stat:new _e("(",!1),p_expr:new _e("(",!0),q_tmpl:new _e("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new _e("function",!1),f_expr:new _e("function",!0),f_expr_gen:new _e("function",!0,!1,null,!0),f_gen:new _e("function",!1,!1,null,!0)},Bt=re.prototype;Bt.initialContext=function(){return[se.b_stat]};Bt.braceIsBlock=function(e){var t=this.curContext();return t===se.f_expr||t===se.f_stat?!0:e===h.colon&&(t===se.b_stat||t===se.b_expr)?!t.isExpr:e===h._return||e===h.name&&this.exprAllowed?ve.test(this.input.slice(this.lastTokEnd,this.start)):e===h._else||e===h.semi||e===h.eof||e===h.parenR||e===h.arrow?!0:e===h.braceL?t===se.b_stat:e===h._var||e===h._const||e===h.name?!1:!this.exprAllowed};Bt.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};Bt.updateContext=function(e){var t,r=this.type;r.keyword&&e===h.dot?this.exprAllowed=!1:(t=r.updateContext)?t.call(this,e):this.exprAllowed=r.beforeExpr};h.parenR.updateContext=h.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var e=this.context.pop();e===se.b_stat&&this.curContext().token==="function"&&(e=this.context.pop()),this.exprAllowed=!e.isExpr};h.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?se.b_stat:se.b_expr),this.exprAllowed=!0};h.dollarBraceL.updateContext=function(){this.context.push(se.b_tmpl),this.exprAllowed=!0};h.parenL.updateContext=function(e){var t=e===h._if||e===h._for||e===h._with||e===h._while;this.context.push(t?se.p_stat:se.p_expr),this.exprAllowed=!0};h.incDec.updateContext=function(){};h._function.updateContext=h._class.updateContext=function(e){e.beforeExpr&&e!==h.semi&&e!==h._else&&!(e===h._return&&ve.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===h.colon||e===h.braceL)&&this.curContext()===se.b_stat)?this.context.push(se.f_expr):this.context.push(se.f_stat),this.exprAllowed=!1};h.backQuote.updateContext=function(){this.curContext()===se.q_tmpl?this.context.pop():this.context.push(se.q_tmpl),this.exprAllowed=!1};h.star.updateContext=function(e){if(e===h._function){var t=this.context.length-1;this.context[t]===se.f_expr?this.context[t]=se.f_expr_gen:this.context[t]=se.f_gen}this.exprAllowed=!0};h.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==h.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var Wi="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",zi=Wi+" Extended_Pictographic",Hs=zi,Qs={9:Wi,10:zi,11:Hs},si="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",$i="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",Ji=$i+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",Ys=Ji+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",Ks={9:$i,10:Ji,11:Ys},Xi={};function Er(e){var t=Xi[e]={binary:Ue(Qs[e]+" "+si),nonBinary:{General_Category:Ue(si),Script:Ue(Ks[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}Er(9);Er(10);Er(11);var j=re.prototype,Re=function(t){this.parser=t,this.validFlags="gim"+(t.options.ecmaVersion>=6?"uy":"")+(t.options.ecmaVersion>=9?"s":""),this.unicodeProperties=Xi[t.options.ecmaVersion>=11?11:t.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=[]};Re.prototype.reset=function(t,r,i){var s=i.indexOf("u")!==-1;this.start=t|0,this.source=r+"",this.flags=i,this.switchU=s&&this.parser.options.ecmaVersion>=6,this.switchN=s&&this.parser.options.ecmaVersion>=9};Re.prototype.raise=function(t){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+t)};Re.prototype.at=function(t,r){r===void 0&&(r=!1);var i=this.source,s=i.length;if(t>=s)return-1;var a=i.charCodeAt(t);if(!(r||this.switchU)||a<=55295||a>=57344||t+1>=s)return a;var c=i.charCodeAt(t+1);return c>=56320&&c<=57343?(a<<10)+c-56613888:a};Re.prototype.nextIndex=function(t,r){r===void 0&&(r=!1);var i=this.source,s=i.length;if(t>=s)return s;var a=i.charCodeAt(t),c;return!(r||this.switchU)||a<=55295||a>=57344||t+1>=s||(c=i.charCodeAt(t+1))<56320||c>57343?t+1:t+2};Re.prototype.current=function(t){return t===void 0&&(t=!1),this.at(this.pos,t)};Re.prototype.lookahead=function(t){return t===void 0&&(t=!1),this.at(this.nextIndex(this.pos,t),t)};Re.prototype.advance=function(t){t===void 0&&(t=!1),this.pos=this.nextIndex(this.pos,t)};Re.prototype.eat=function(t,r){return r===void 0&&(r=!1),this.current(r)===t?(this.advance(r),!0):!1};function Pt(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}j.validateRegExpFlags=function(e){for(var t=e.validFlags,r=e.flags,i=0;i-1&&this.raise(e.start,"Duplicate regular expression flag")}};j.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))};j.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};j.regexp_eatQuantifier=function(e,t){return t===void 0&&(t=!1),this.regexp_eatQuantifierPrefix(e,t)?(e.eat(63),!0):!1};j.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)};j.regexp_eatBracedQuantifier=function(e,t){var r=e.pos;if(e.eat(123)){var i=0,s=-1;if(this.regexp_eatDecimalDigits(e)&&(i=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};j.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)};j.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1};j.regexp_eatSyntaxCharacter=function(e){var t=e.current();return Hi(t)?(e.lastIntValue=t,e.advance(),!0):!1};function Hi(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}j.regexp_eatPatternCharacters=function(e){for(var t=e.pos,r=0;(r=e.current())!==-1&&!Hi(r);)e.advance();return e.pos!==t};j.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};j.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")}};j.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};j.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=Pt(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=Pt(e.lastIntValue);return!0}return!1};j.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,i=e.current(r);return e.advance(r),i===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(i=e.lastIntValue),Zs(i)?(e.lastIntValue=i,!0):(e.pos=t,!1)};function Zs(e){return Le(e,!0)||e===36||e===95}j.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,i=e.current(r);return e.advance(r),i===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(i=e.lastIntValue),ea(i)?(e.lastIntValue=i,!0):(e.pos=t,!1)};function ea(e){return Ge(e,!0)||e===36||e===95||e===8204||e===8205}j.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)};j.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};j.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};j.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)};j.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1};j.regexp_eatZero=function(e){return e.current()===48&&!Dt(e.lookahead())?(e.lastIntValue=0,e.advance(),!0):!1};j.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};j.regexp_eatControlLetter=function(e){var t=e.current();return Qi(t)?(e.lastIntValue=t%32,e.advance(),!0):!1};function Qi(e){return e>=65&&e<=90||e>=97&&e<=122}j.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){t===void 0&&(t=!1);var r=e.pos,i=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var s=e.lastIntValue;if(i&&s>=55296&&s<=56319){var a=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var c=e.lastIntValue;if(c>=56320&&c<=57343)return e.lastIntValue=(s-55296)*1024+(c-56320)+65536,!0}e.pos=a,e.lastIntValue=s}return!0}if(i&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&ta(e.lastIntValue))return!0;i&&e.raise("Invalid unicode escape"),e.pos=r}return!1};function ta(e){return e>=0&&e<=1114111}j.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};j.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};j.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(ra(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};function ra(e){return e===100||e===68||e===115||e===83||e===119||e===87}j.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 i=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,r,i),!0}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var s=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,s),!0}return!1};j.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){Ot(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(r)||e.raise("Invalid property value")};j.regexp_validateUnicodePropertyNameOrValue=function(e,t){e.unicodeProperties.binary.test(t)||e.raise("Invalid property name")};j.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";Yi(t=e.current());)e.lastStringValue+=Pt(t),e.advance();return e.lastStringValue!==""};function Yi(e){return Qi(e)||e===95}j.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";ia(t=e.current());)e.lastStringValue+=Pt(t),e.advance();return e.lastStringValue!==""};function ia(e){return Yi(e)||Dt(e)}j.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)};j.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};j.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")}}};j.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||en(r))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var i=e.current();return i!==93?(e.lastIntValue=i,e.advance(),!0):!1};j.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)};j.regexp_eatClassControlLetter=function(e){var t=e.current();return Dt(t)||t===95?(e.lastIntValue=t%32,e.advance(),!0):!1};j.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};j.regexp_eatDecimalDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;Dt(r=e.current());)e.lastIntValue=10*e.lastIntValue+(r-48),e.advance();return e.pos!==t};function Dt(e){return e>=48&&e<=57}j.regexp_eatHexDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;Ki(r=e.current());)e.lastIntValue=16*e.lastIntValue+Zi(r),e.advance();return e.pos!==t};function Ki(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function Zi(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}j.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};j.regexp_eatOctalDigit=function(e){var t=e.current();return en(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)};function en(e){return e>=48&&e<=55}j.regexp_eatFixedHexDigits=function(e,t){var r=e.pos;e.lastIntValue=0;for(var i=0;i=this.input.length)return this.finishToken(h.eof);if(e.override)return e.override(this);this.readToken(this.fullCharCodeAtPos())};$.readToken=function(e){return Le(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){Qe.lastIndex=t;for(var i;(i=Qe.exec(this.input))&&i.index8&&e<14||e>=5760&&yr.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(h.ellipsis)):(++this.pos,this.finishToken(h.dot))};$.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):e===61?this.finishOp(h.assign,2):this.finishOp(h.slash,1)};$.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),r=1,i=e===42?h.star:h.modulo;return this.options.ecmaVersion>=7&&e===42&&t===42&&(++r,i=h.starstar,t=this.input.charCodeAt(this.pos+2)),t===61?this.finishOp(h.assign,r+1):this.finishOp(i,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(h.assign,3)}return this.finishOp(e===124?h.logicalOR:h.logicalAND,2)}return t===61?this.finishOp(h.assign,2):this.finishOp(e===124?h.bitwiseOR:h.bitwiseAND,1)};$.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);return e===61?this.finishOp(h.assign,2):this.finishOp(h.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||ve.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(h.incDec,2):t===61?this.finishOp(h.assign,2):this.finishOp(h.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(h.assign,r+1):this.finishOp(h.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(h.relational,r))};$.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return t===61?this.finishOp(h.equality,this.input.charCodeAt(this.pos+2)===61?3:2):e===61&&t===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(h.arrow)):this.finishOp(e===61?h.eq:h.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(h.questionDot,2)}if(t===63){if(e>=12){var i=this.input.charCodeAt(this.pos+2);if(i===61)return this.finishOp(h.assign,3)}return this.finishOp(h.coalesce,2)}}return this.finishOp(h.question,1)};$.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(h.parenL);case 41:return++this.pos,this.finishToken(h.parenR);case 59:return++this.pos,this.finishToken(h.semi);case 44:return++this.pos,this.finishToken(h.comma);case 91:return++this.pos,this.finishToken(h.bracketL);case 93:return++this.pos,this.finishToken(h.bracketR);case 123:return++this.pos,this.finishToken(h.braceL);case 125:return++this.pos,this.finishToken(h.braceR);case 58:return++this.pos,this.finishToken(h.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(h.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(h.prefix,1)}this.raise(this.pos,"Unexpected character '"+Cr(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 i=this.input.charAt(this.pos);if(ve.test(i)&&this.raise(r,"Unterminated regular expression"),e)e=!1;else{if(i==="[")t=!0;else if(i==="]"&&t)t=!1;else if(i==="/"&&!t)break;e=i==="\\"}++this.pos}var s=this.input.slice(r,this.pos);++this.pos;var a=this.pos,c=this.readWord1();this.containsEsc&&this.unexpected(a);var f=this.regexpState||(this.regexpState=new Re(this));f.reset(r,s,c),this.validateRegExpFlags(f),this.validateRegExpPattern(f);var p=null;try{p=new RegExp(s,c)}catch{}return this.finishToken(h.regexp,{pattern:s,flags:c,value:p})};$.readInt=function(e,t,r){for(var i=this.options.ecmaVersion>=12&&t===void 0,s=r&&this.input.charCodeAt(this.pos)===48,a=this.pos,c=0,f=0,p=0,y=t??1/0;p=97?b=g-97+10:g>=65?b=g-65+10:g>=48&&g<=57?b=g-48:b=1/0,b>=e)break;f=g,c=c*e+b}return i&&f===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===a||t!=null&&this.pos-a!==t?null:c};function na(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function tn(e){return typeof BigInt!="function"?null:BigInt(e.replace(/_/g,""))}$.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=tn(this.input.slice(t,this.pos)),++this.pos):Le(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(h.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 i=this.input.charCodeAt(this.pos);if(!r&&!e&&this.options.ecmaVersion>=11&&i===110){var s=tn(this.input.slice(t,this.pos));return++this.pos,Le(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(h.num,s)}r&&/[89]/.test(this.input.slice(t,this.pos))&&(r=!1),i===46&&!r&&(++this.pos,this.readInt(10),i=this.input.charCodeAt(this.pos)),(i===69||i===101)&&!r&&(i=this.input.charCodeAt(++this.pos),(i===43||i===45)&&++this.pos,this.readInt(10)===null&&this.raise(t,"Invalid number")),Le(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var a=na(this.input.slice(t,this.pos),r);return this.finishToken(h.num,a)};$.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};function Cr(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}$.readString=function(e){for(var t="",r=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var i=this.input.charCodeAt(this.pos);if(i===e)break;i===92?(t+=this.input.slice(r,this.pos),t+=this.readEscapedChar(!1),r=this.pos):(et(i,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(r,this.pos++),this.finishToken(h.string,t)};var rn={};$.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===rn)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1};$.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw rn;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===h.template||this.type===h.invalidTemplate)?r===36?(this.pos+=2,this.finishToken(h.dollarBraceL)):(++this.pos,this.finishToken(h.backQuote)):(e+=this.input.slice(t,this.pos),this.finishToken(h.template,e));if(r===92)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(et(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+=` +import{b as Si,c as Jn,d as _i,u as Xn,e as Hn,f as Qn,g as Yn,S as Kn,h as te,j as Ur,k as Gr,l as Wr,m as Zn,n as es,T as zr,o as ft,p as ts}from"./index-33y5txed.js";import{g as pt,c as lt,b as rs,R as at,r as We}from"./index-OjgoNOWw.js";import{d as is}from"./index-PPLHz8o0.js";var ns=Si,ss=Jn,as=_i,os="[object Object]",us=Function.prototype,ls=Object.prototype,Ei=us.toString,cs=ls.hasOwnProperty,hs=Ei.call(Object);function fs(e){if(!as(e)||ns(e)!=os)return!1;var t=ss(e);if(t===null)return!0;var r=cs.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&Ei.call(r)==hs}var ps=fs;const ds=pt(ps);var Ci={exports:{}},ms="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",gs=ms,ys=gs;function Ai(){}function wi(){}wi.resetWarningCache=Ai;var vs=function(){function e(i,s,a,u,f,p){if(p!==ys){var y=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 y.name="Invariant Violation",y}}e.isRequired=e;function t(){return e}var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:wi,resetWarningCache:Ai};return r.PropTypes=r,r};Ci.exports=vs();var xs=Ci.exports;const $r=pt(xs),bs=["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","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"];var Ss=bs;const _s=pt(Ss);var ki={},Ti={};(function(e){(function t(r){var i,s,a,u,f,p;function y(m){var x={},_,k;for(_ in m)m.hasOwnProperty(_)&&(k=m[_],typeof k=="object"&&k!==null?x[_]=y(k):x[_]=k);return x}function g(m,x){var _,k,B,R;for(k=m.length,B=0;k;)_=k>>>1,R=B+_,x(m[R])?k=_:(B=R+1,k-=_+1);return B}i={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"},a={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={},f={},p={},s={Break:u,Skip:f,Remove:p};function b(m,x){this.parent=m,this.key=x}b.prototype.replace=function(x){this.parent[this.key]=x},b.prototype.remove=function(){return Array.isArray(this.parent)?(this.parent.splice(this.key,1),!0):(this.replace(null),!1)};function E(m,x,_,k){this.node=m,this.path=x,this.wrap=_,this.ref=k}function S(){}S.prototype.path=function(){var x,_,k,B,R,G;function q(D,H){if(Array.isArray(H))for(k=0,B=H.length;k=0;--_)if(m[_].node===x)return!0;return!1}S.prototype.traverse=function(x,_){var k,B,R,G,q,D,H,ne,ue,ie,Q,xe;for(this.__initialize(x,_),xe={},k=this.__worklist,B=this.__leavelist,k.push(new E(x,null,null,null)),B.push(new E(null,null,null,null));k.length;){if(R=k.pop(),R===xe){if(R=B.pop(),D=this.__execute(_.leave,R),this.__state===u||D===u)return;continue}if(R.node){if(D=this.__execute(_.enter,R),this.__state===u||D===u)return;if(k.push(xe),B.push(R),this.__state===f||D===f)continue;if(G=R.node,q=G.type||R.wrap,ie=this.__keys[q],!ie)if(this.__fallback)ie=this.__fallback(G);else throw new Error("Unknown node type "+q+".");for(ne=ie.length;(ne-=1)>=0;)if(H=ie[ne],Q=G[H],!!Q){if(Array.isArray(Q)){for(ue=Q.length;(ue-=1)>=0;)if(Q[ue]&&!P(B,Q[ue])){if(v(q,ie[ne]))R=new E(Q[ue],[H,ue],"Property",null);else if(C(Q[ue]))R=new E(Q[ue],[H,ue],null,null);else continue;k.push(R)}}else if(C(Q)){if(P(B,Q))continue;k.push(new E(Q,H,null,null))}}}}},S.prototype.replace=function(x,_){var k,B,R,G,q,D,H,ne,ue,ie,Q,xe,Te;function Je(M){var Ve,xt,Fe,ee;if(M.ref.remove()){for(xt=M.ref.key,ee=M.ref.parent,Ve=k.length;Ve--;)if(Fe=k[Ve],Fe.ref&&Fe.ref.parent===ee){if(Fe.ref.key=0;)if(Te=ue[H],ie=R[Te],!!ie)if(Array.isArray(ie)){for(ne=ie.length;(ne-=1)>=0;)if(ie[ne]){if(v(G,ue[H]))D=new E(ie[ne],[Te,ne],"Property",new b(ie,ne));else if(C(ie[ne]))D=new E(ie[ne],[Te,ne],null,new b(ie,ne));else continue;k.push(D)}}else C(ie)&&k.push(new E(ie,Te,null,new b(R,Te)))}}return xe.root};function O(m,x){var _=new S;return _.traverse(m,x)}function L(m,x){var _=new S;return _.replace(m,x)}function V(m,x){var _;return _=g(x,function(B){return B.range[0]>m.range[0]}),m.extendedRange=[m.range[0],m.range[1]],_!==x.length&&(m.extendedRange[1]=x[_].range[0]),_-=1,_>=0&&(m.extendedRange[0]=x[_].range[1]),m}function A(m,x,_){var k=[],B,R,G,q;if(!m.range)throw new Error("attachComments needs range information");if(!_.length){if(x.length){for(G=0,R=x.length;GD.range[0]));)H.extendedRange[1]===D.range[0]?(D.leadingComments||(D.leadingComments=[]),D.leadingComments.push(H),k.splice(q,1)):q+=1;if(q===k.length)return s.Break;if(k[q].extendedRange[0]>D.range[1])return s.Skip}}),q=0,O(m,{leave:function(D){for(var H;qD.range[1])return s.Skip}}),m}return r.Syntax=i,r.traverse=O,r.replace=L,r.attachComments=A,r.VisitorKeys=a,r.VisitorOption=s,r.Controller=S,r.cloneEnvironment=function(){return t({})},r})(e)})(Ti);var it={},Kt={},Et={},Ct={},Jr;function Es(){if(Jr)return Ct;Jr=1;var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return Ct.encode=function(t){if(0<=t&&t>1;return p?-y:y}return Et.encode=function(p){var y="",g,b=a(p);do g=b&i,b>>>=t,b>0&&(g|=s),y+=e.encode(g);while(b>0);return y},Et.decode=function(p,y,g){var b=p.length,E=0,S=0,C,v;do{if(y>=b)throw new Error("Expected more digits in base 64 VLQ value.");if(v=e.decode(p.charCodeAt(y++)),v===-1)throw new Error("Invalid base64 digit: "+p.charAt(y-1));C=!!(v&s),v&=i,E=E+(v<=0;G--)B=k[G],B==="."?k.splice(G,1):B===".."?R++:R>0&&(B===""?(k.splice(G+1,R),R=0):(k.splice(G,2),R--));return m=k.join("/"),m===""&&(m=_?"/":"."),x?(x.path=m,a(x)):m}e.normalize=u;function f(A,m){A===""&&(A="."),m===""&&(m=".");var x=s(m),_=s(A);if(_&&(A=_.path||"/"),x&&!x.scheme)return _&&(x.scheme=_.scheme),a(x);if(x||m.match(i))return m;if(_&&!_.host&&!_.path)return _.host=m,a(_);var k=m.charAt(0)==="/"?m:u(A.replace(/\/+$/,"")+"/"+m);return _?(_.path=k,a(_)):k}e.join=f,e.isAbsolute=function(A){return A.charAt(0)==="/"||r.test(A)};function p(A,m){A===""&&(A="."),A=A.replace(/\/$/,"");for(var x=0;m.indexOf(A+"/")!==0;){var _=A.lastIndexOf("/");if(_<0||(A=A.slice(0,_),A.match(/^([^\/]+:\/)?\/*$/)))return m;++x}return Array(x+1).join("../")+m.substr(A.length+1)}e.relative=p;var y=function(){var A=Object.create(null);return!("__proto__"in A)}();function g(A){return A}function b(A){return S(A)?"$"+A:A}e.toSetString=y?g:b;function E(A){return S(A)?A.slice(1):A}e.fromSetString=y?g:E;function S(A){if(!A)return!1;var m=A.length;if(m<9||A.charCodeAt(m-1)!==95||A.charCodeAt(m-2)!==95||A.charCodeAt(m-3)!==111||A.charCodeAt(m-4)!==116||A.charCodeAt(m-5)!==111||A.charCodeAt(m-6)!==114||A.charCodeAt(m-7)!==112||A.charCodeAt(m-8)!==95||A.charCodeAt(m-9)!==95)return!1;for(var x=m-10;x>=0;x--)if(A.charCodeAt(x)!==36)return!1;return!0}function C(A,m,x){var _=P(A.source,m.source);return _!==0||(_=A.originalLine-m.originalLine,_!==0)||(_=A.originalColumn-m.originalColumn,_!==0||x)||(_=A.generatedColumn-m.generatedColumn,_!==0)||(_=A.generatedLine-m.generatedLine,_!==0)?_:P(A.name,m.name)}e.compareByOriginalPositions=C;function v(A,m,x){var _=A.generatedLine-m.generatedLine;return _!==0||(_=A.generatedColumn-m.generatedColumn,_!==0||x)||(_=P(A.source,m.source),_!==0)||(_=A.originalLine-m.originalLine,_!==0)||(_=A.originalColumn-m.originalColumn,_!==0)?_:P(A.name,m.name)}e.compareByGeneratedPositionsDeflated=v;function P(A,m){return A===m?0:A===null?1:m===null?-1:A>m?1:-1}function O(A,m){var x=A.generatedLine-m.generatedLine;return x!==0||(x=A.generatedColumn-m.generatedColumn,x!==0)||(x=P(A.source,m.source),x!==0)||(x=A.originalLine-m.originalLine,x!==0)||(x=A.originalColumn-m.originalColumn,x!==0)?x:P(A.name,m.name)}e.compareByGeneratedPositionsInflated=O;function L(A){return JSON.parse(A.replace(/^\)]}'[^\n]*\n/,""))}e.parseSourceMapInput=L;function V(A,m,x){if(m=m||"",A&&(A[A.length-1]!=="/"&&m[0]!=="/"&&(A+="/"),m=A+m),x){var _=s(x);if(!_)throw new Error("sourceMapURL could not be parsed");if(_.path){var k=_.path.lastIndexOf("/");k>=0&&(_.path=_.path.substring(0,k+1))}m=f(a(_),m)}return u(m)}e.computeSourceURL=V}(Zt)),Zt}var er={},Qr;function Ii(){if(Qr)return er;Qr=1;var e=dt(),t=Object.prototype.hasOwnProperty,r=typeof Map<"u";function i(){this._array=[],this._set=r?new Map:Object.create(null)}return i.fromArray=function(a,u){for(var f=new i,p=0,y=a.length;p=0)return u}else{var f=e.toSetString(a);if(t.call(this._set,f))return this._set[f]}throw new Error('"'+a+'" is not in the set.')},i.prototype.at=function(a){if(a>=0&&aa||u==a&&p>=f||e.compareByGeneratedPositionsInflated(i,s)<=0}function r(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return r.prototype.unsortedForEach=function(s,a){this._array.forEach(s,a)},r.prototype.add=function(s){t(this._last,s)?(this._last=s,this._array.push(s)):(this._sorted=!1,this._array.push(s))},r.prototype.toArray=function(){return this._sorted||(this._array.sort(e.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},tr.MappingList=r,tr}var Kr;function Ni(){if(Kr)return Kt;Kr=1;var e=Pi(),t=dt(),r=Ii().ArraySet,i=Cs().MappingList;function s(a){a||(a={}),this._file=t.getArg(a,"file",null),this._sourceRoot=t.getArg(a,"sourceRoot",null),this._skipValidation=t.getArg(a,"skipValidation",!1),this._sources=new r,this._names=new r,this._mappings=new i,this._sourcesContents=null}return s.prototype._version=3,s.fromSourceMap=function(u){var f=u.sourceRoot,p=new s({file:u.file,sourceRoot:f});return u.eachMapping(function(y){var g={generated:{line:y.generatedLine,column:y.generatedColumn}};y.source!=null&&(g.source=y.source,f!=null&&(g.source=t.relative(f,g.source)),g.original={line:y.originalLine,column:y.originalColumn},y.name!=null&&(g.name=y.name)),p.addMapping(g)}),u.sources.forEach(function(y){var g=y;f!==null&&(g=t.relative(f,y)),p._sources.has(g)||p._sources.add(g);var b=u.sourceContentFor(y);b!=null&&p.setSourceContent(y,b)}),p},s.prototype.addMapping=function(u){var f=t.getArg(u,"generated"),p=t.getArg(u,"original",null),y=t.getArg(u,"source",null),g=t.getArg(u,"name",null);this._skipValidation||this._validateMapping(f,p,y,g),y!=null&&(y=String(y),this._sources.has(y)||this._sources.add(y)),g!=null&&(g=String(g),this._names.has(g)||this._names.add(g)),this._mappings.add({generatedLine:f.line,generatedColumn:f.column,originalLine:p!=null&&p.line,originalColumn:p!=null&&p.column,source:y,name:g})},s.prototype.setSourceContent=function(u,f){var p=u;this._sourceRoot!=null&&(p=t.relative(this._sourceRoot,p)),f!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[t.toSetString(p)]=f):this._sourcesContents&&(delete this._sourcesContents[t.toSetString(p)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},s.prototype.applySourceMap=function(u,f,p){var y=f;if(f==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.`);y=u.file}var g=this._sourceRoot;g!=null&&(y=t.relative(g,y));var b=new r,E=new r;this._mappings.unsortedForEach(function(S){if(S.source===y&&S.originalLine!=null){var C=u.originalPositionFor({line:S.originalLine,column:S.originalColumn});C.source!=null&&(S.source=C.source,p!=null&&(S.source=t.join(p,S.source)),g!=null&&(S.source=t.relative(g,S.source)),S.originalLine=C.line,S.originalColumn=C.column,C.name!=null&&(S.name=C.name))}var v=S.source;v!=null&&!b.has(v)&&b.add(v);var P=S.name;P!=null&&!E.has(P)&&E.add(P)},this),this._sources=b,this._names=E,u.sources.forEach(function(S){var C=u.sourceContentFor(S);C!=null&&(p!=null&&(S=t.join(p,S)),g!=null&&(S=t.relative(g,S)),this.setSourceContent(S,C))},this)},s.prototype._validateMapping=function(u,f,p,y){if(f&&typeof f.line!="number"&&typeof f.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&&!f&&!p&&!y)){if(u&&"line"in u&&"column"in u&&f&&"line"in f&&"column"in f&&u.line>0&&u.column>=0&&f.line>0&&f.column>=0&&p)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:u,source:p,original:f,name:y}))}},s.prototype._serializeMappings=function(){for(var u=0,f=1,p=0,y=0,g=0,b=0,E="",S,C,v,P,O=this._mappings.toArray(),L=0,V=O.length;L0){if(!t.compareByGeneratedPositionsInflated(C,O[L-1]))continue;S+=","}S+=e.encode(C.generatedColumn-u),u=C.generatedColumn,C.source!=null&&(P=this._sources.indexOf(C.source),S+=e.encode(P-b),b=P,S+=e.encode(C.originalLine-1-y),y=C.originalLine-1,S+=e.encode(C.originalColumn-p),p=C.originalColumn,C.name!=null&&(v=this._names.indexOf(C.name),S+=e.encode(v-g),g=v)),E+=S}return E},s.prototype._generateSourcesContent=function(u,f){return u.map(function(p){if(!this._sourcesContents)return null;f!=null&&(p=t.relative(f,p));var y=t.toSetString(p);return Object.prototype.hasOwnProperty.call(this._sourcesContents,y)?this._sourcesContents[y]:null},this)},s.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},s.prototype.toString=function(){return JSON.stringify(this.toJSON())},Kt.SourceMapGenerator=s,Kt}var nt={},rr={},Zr;function As(){return Zr||(Zr=1,function(e){e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2;function t(r,i,s,a,u,f){var p=Math.floor((i-r)/2)+r,y=u(s,a[p],!0);return y===0?p:y>0?i-p>1?t(p,i,s,a,u,f):f==e.LEAST_UPPER_BOUND?i1?t(r,p,s,a,u,f):f==e.LEAST_UPPER_BOUND?p:r<0?-1:r}e.search=function(i,s,a,u){if(s.length===0)return-1;var f=t(-1,s.length,i,s,a,u||e.GREATEST_LOWER_BOUND);if(f<0)return-1;for(;f-1>=0&&a(s[f],s[f-1],!0)===0;)--f;return f}}(rr)),rr}var ir={},ei;function ws(){if(ei)return ir;ei=1;function e(i,s,a){var u=i[s];i[s]=i[a],i[a]=u}function t(i,s){return Math.round(i+Math.random()*(s-i))}function r(i,s,a,u){if(a=0){var v=this._originalMappings[C];if(g.column===void 0)for(var P=v.originalLine;v&&v.originalLine===P;)S.push({line:e.getArg(v,"generatedLine",null),column:e.getArg(v,"generatedColumn",null),lastColumn:e.getArg(v,"lastGeneratedColumn",null)}),v=this._originalMappings[++C];else for(var O=v.originalColumn;v&&v.originalLine===b&&v.originalColumn==O;)S.push({line:e.getArg(v,"generatedLine",null),column:e.getArg(v,"generatedColumn",null),lastColumn:e.getArg(v,"lastGeneratedColumn",null)}),v=this._originalMappings[++C]}return S},nt.SourceMapConsumer=a;function u(y,g){var b=y;typeof y=="string"&&(b=e.parseSourceMapInput(y));var E=e.getArg(b,"version"),S=e.getArg(b,"sources"),C=e.getArg(b,"names",[]),v=e.getArg(b,"sourceRoot",null),P=e.getArg(b,"sourcesContent",null),O=e.getArg(b,"mappings"),L=e.getArg(b,"file",null);if(E!=this._version)throw new Error("Unsupported version: "+E);v&&(v=e.normalize(v)),S=S.map(String).map(e.normalize).map(function(V){return v&&e.isAbsolute(v)&&e.isAbsolute(V)?e.relative(v,V):V}),this._names=r.fromArray(C.map(String),!0),this._sources=r.fromArray(S,!0),this._absoluteSources=this._sources.toArray().map(function(V){return e.computeSourceURL(v,V,g)}),this.sourceRoot=v,this.sourcesContent=P,this._mappings=O,this._sourceMapURL=g,this.file=L}u.prototype=Object.create(a.prototype),u.prototype.consumer=a,u.prototype._findSourceIndex=function(y){var g=y;if(this.sourceRoot!=null&&(g=e.relative(this.sourceRoot,g)),this._sources.has(g))return this._sources.indexOf(g);var b;for(b=0;b1&&(k.source=P+R[1],P+=R[1],k.originalLine=C+R[2],C=k.originalLine,k.originalLine+=1,k.originalColumn=v+R[3],v=k.originalColumn,R.length>4&&(k.name=O+R[4],O+=R[4])),_.push(k),typeof k.originalLine=="number"&&x.push(k)}s(_,e.compareByGeneratedPositionsDeflated),this.__generatedMappings=_,s(x,e.compareByOriginalPositions),this.__originalMappings=x},u.prototype._findMapping=function(g,b,E,S,C,v){if(g[E]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+g[E]);if(g[S]<0)throw new TypeError("Column must be greater than or equal to 0, got "+g[S]);return t.search(g,b,C,v)},u.prototype.computeColumnSpans=function(){for(var g=0;g=0){var S=this._generatedMappings[E];if(S.generatedLine===b.generatedLine){var C=e.getArg(S,"source",null);C!==null&&(C=this._sources.at(C),C=e.computeSourceURL(this.sourceRoot,C,this._sourceMapURL));var v=e.getArg(S,"name",null);return v!==null&&(v=this._names.at(v)),{source:C,line:e.getArg(S,"originalLine",null),column:e.getArg(S,"originalColumn",null),name:v}}}return{source:null,line:null,column:null,name:null}},u.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(g){return g==null}):!1},u.prototype.sourceContentFor=function(g,b){if(!this.sourcesContent)return null;var E=this._findSourceIndex(g);if(E>=0)return this.sourcesContent[E];var S=g;this.sourceRoot!=null&&(S=e.relative(this.sourceRoot,S));var C;if(this.sourceRoot!=null&&(C=e.urlParse(this.sourceRoot))){var v=S.replace(/^file:\/\//,"");if(C.scheme=="file"&&this._sources.has(v))return this.sourcesContent[this._sources.indexOf(v)];if((!C.path||C.path=="/")&&this._sources.has("/"+S))return this.sourcesContent[this._sources.indexOf("/"+S)]}if(b)return null;throw new Error('"'+S+'" is not in the SourceMap.')},u.prototype.generatedPositionFor=function(g){var b=e.getArg(g,"source");if(b=this._findSourceIndex(b),b<0)return{line:null,column:null,lastColumn:null};var E={source:b,originalLine:e.getArg(g,"line"),originalColumn:e.getArg(g,"column")},S=this._findMapping(E,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,e.getArg(g,"bias",a.GREATEST_LOWER_BOUND));if(S>=0){var C=this._originalMappings[S];if(C.source===E.source)return{line:e.getArg(C,"generatedLine",null),column:e.getArg(C,"generatedColumn",null),lastColumn:e.getArg(C,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},nt.BasicSourceMapConsumer=u;function p(y,g){var b=y;typeof y=="string"&&(b=e.parseSourceMapInput(y));var E=e.getArg(b,"version"),S=e.getArg(b,"sections");if(E!=this._version)throw new Error("Unsupported version: "+E);this._sources=new r,this._names=new r;var C={line:-1,column:0};this._sections=S.map(function(v){if(v.url)throw new Error("Support for url field in sections not implemented.");var P=e.getArg(v,"offset"),O=e.getArg(P,"line"),L=e.getArg(P,"column");if(O=0;p--)this.prepend(f[p]);else if(f[s]||typeof f=="string")this.children.unshift(f);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+f);return this},a.prototype.walk=function(f){for(var p,y=0,g=this.children.length;y0){for(p=[],y=0;y=6.0"},Ds=[{name:"Yusuke Suzuki",email:"utatane.tea@gmail.com",web:"http://github.com/Constellation"}],Vs={type:"git",url:"http://github.com/estools/escodegen.git"},js={estraverse:"^5.2.0",esutils:"^2.0.2",esprima:"^4.0.1"},qs={"source-map":"~0.6.1"},Us={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"},Gs="BSD-2-Clause",Ws={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"},zs={name:Is,description:Ns,homepage:Ls,main:Os,bin:Rs,files:Fs,version:Ms,engines:Bs,maintainers:Ds,repository:Vs,dependencies:js,optionalDependencies:qs,devDependencies:Us,license:Gs,scripts:Ws};(function(e){(function(){var t,r,i,s,a,u,f,p,y,g,b,E,S,C,v,P,O,L,V,A,m,x,_,k,B,R;a=Ti,u=Xn,t=a.Syntax;function G(n){return oe.Expression.hasOwnProperty(n.type)}function q(n){return oe.Statement.hasOwnProperty(n.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},i={"??":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 D=1,H=2,ne=4,ue=8,ie=16,Q=32,xe=64,Te=H|ne,Je=D|H,M=D|H|ne,Ve=D,xt=ne,Fe=D|ne,ee=D,Ae=D|Q,bt=0,On=D|ie,Rn=D|ue;function Or(){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 je(n,l){var o="";for(l|=0;l>0;l>>>=1,n+=n)l&1&&(o+=n);return o}function Fn(n){return/[\r\n]/g.test(n)}function he(n){var l=n.length;return l&&u.code.isLineTerminator(n.charCodeAt(l-1))}function Rr(n,l){var o;for(o in l)l.hasOwnProperty(o)&&(n[o]=l[o]);return n}function St(n,l){var o,c;function d(w){return typeof w=="object"&&w instanceof Object&&!(w instanceof RegExp)}for(o in l)l.hasOwnProperty(o)&&(c=l[o],d(c)?d(n[o])?St(n[o],c):n[o]=St({},c):n[o]=c);return n}function Mn(n){var l,o,c,d,w;if(n!==n)throw new Error("Numeric literal whose value is NaN");if(n<0||n===0&&1/n<0)throw new Error("Numeric literal whose value is negative");if(n===1/0)return y?"null":g?"1e400":"1e+400";if(l=""+n,!g||l.length<3)return l;for(o=l.indexOf("."),!y&&l.charCodeAt(0)===48&&o===1&&(o=0,l=l.slice(1)),c=l,l=l.replace("e+","e"),d=0,(w=c.indexOf("e"))>0&&(d=+c.slice(w+1),c=c.slice(0,w)),o>=0&&(d-=c.length-o-1,c=+(c.slice(0,o)+c.slice(o+1))+""),w=0;c.charCodeAt(c.length+w-1)===48;)--w;return w!==0&&(d-=w,c=c.slice(0,w)),d!==0&&(c+="e"+d),(c.length1e12&&Math.floor(n)===n&&(c="0x"+n.toString(16)).length255?"\\u"+"0000".slice(o.length)+o:n===0&&!u.code.isDecimalDigit(l)?"\\0":n===11?"\\x0B":"\\x"+"00".slice(o.length)+o)}function Vn(n){if(n===92)return"\\\\";if(n===10)return"\\n";if(n===13)return"\\r";if(n===8232)return"\\u2028";if(n===8233)return"\\u2029";throw new Error("Incorrectly classified character")}function jn(n){var l,o,c,d;for(d=E==="double"?'"':"'",l=0,o=n.length;l126))){l+=Dn(d,n.charCodeAt(o+1));continue}l+=String.fromCharCode(d)}if(I=!(E==="double"||E==="auto"&&T=0&&!u.code.isLineTerminator(n.charCodeAt(l));--l);return n.length-1-l}function Gn(n,l){var o,c,d,w,T,I,F,J;for(o=n.split(/\r\n|[\r\n]/),I=Number.MAX_VALUE,c=1,d=o.length;cT&&(I=T)}for(typeof l<"u"?(F=f,o[1][I]==="*"&&(l+=" "),f=l):(I&1&&--I,F=f),c=1,d=o.length;c0){if(w=l,k){for(d=n.leadingComments[0],l=[],J=d.extendedRange,ce=d.range,He=_.substring(J[0],ce[0]),we=(He.match(/\n/g)||[]).length,we>0?(l.push(je(` +`,we)),l.push(pe(Pe(d)))):(l.push(He),l.push(Pe(d))),qe=ce,o=1,c=n.leadingComments.length;o0?(l.push(je(` +`,we)),l.push(pe(Pe(d)))):(l.push(He),l.push(Pe(d)));else for(T=!he(K(l).toString()),I=je(" ",Un(K([f,l,p]).toString())),o=0,c=n.trailingComments.length;o")),n.expression?(l.push(v),o=this.generateExpression(n.body,r.Assignment,M),o.toString().charAt(0)==="{"&&(o=["(",o,")"]),l.push(o)):l.push(this.maybeBlock(n.body,Rn)),l},oe.prototype.generateIterationForStatement=function(n,l,o){var c=["for"+(l.await?fe()+"await":"")+v+"("],d=this;return ae(function(){l.left.type===t.VariableDeclaration?ae(function(){c.push(l.left.kind+fe()),c.push(d.generateStatement(l.left.declarations[0],bt))}):c.push(d.generateExpression(l.left,r.Call,M)),c=U(c,n),c=[U(c,d.generateExpression(l.right,r.Assignment,M)),")"]}),c.push(this.maybeBlock(l.body,o)),c},oe.prototype.generatePropertyKey=function(n,l){var o=[];return l&&o.push("["),o.push(this.generateExpression(n,r.Assignment,M)),l&&o.push("]"),o},oe.prototype.generateAssignment=function(n,l,o,c,d){return r.Assignment2&&(c=_.substring(o[0]+1,o[1]-1),c[0]===` +`&&(d=["{"]),d.push(c)));var T,I,F,J;for(J=ee,l&ue&&(J|=ie),T=0,I=n.body.length;T0&&!n.body[T-1].trailingComments&&!n.body[T].leadingComments&&Xe(n.body[T-1].range[1],n.body[T].range[0],d)),T===I-1&&(J|=Q),n.body[T].leadingComments&&k?F=w.generateStatement(n.body[T],J):F=pe(w.generateStatement(n.body[T],J)),d.push(F),he(K(F).toString())||k&&T1?ae(F):F(),o.push(this.semicolon(l)),o},ThrowStatement:function(n,l){return[U("throw",this.generateExpression(n.argument,r.Sequence,M)),this.semicolon(l)]},TryStatement:function(n,l){var o,c,d,w;if(o=["try",this.maybeBlock(n.block,ee)],o=this.maybeBlockSuffix(n.block,o),n.handlers)for(c=0,d=n.handlers.length;c0?` +`:""],T=On,d=0;d0&&!n.body[d-1].trailingComments&&!n.body[d].leadingComments&&Xe(n.body[d-1].range[1],n.body[d].range[0],o)),c=pe(this.generateStatement(n.body[d],T)),o.push(c),d+10){for(c.push("("),w=0,T=d;w=2&&d.charCodeAt(0)===48)&&c.push(" ")),c.push(n.optional?"?.":"."),c.push(ge(n.property))),le(c,r.Member,l)},MetaProperty:function(n,l,o){var c;return c=[],c.push(typeof n.meta=="string"?n.meta:ge(n.meta)),c.push("."),c.push(typeof n.property=="string"?n.property:ge(n.property)),le(c,r.Member,l)},UnaryExpression:function(n,l,o){var c,d,w,T,I;return d=this.generateExpression(n.argument,r.Unary,M),v===""?c=U(n.operator,d):(c=[n.operator],n.operator.length>2?c=U(c,d):(T=K(c).toString(),I=T.charCodeAt(T.length-1),w=d.toString().charCodeAt(0),((I===43||I===45)&&I===w||u.code.isIdentifierPartES5(I)&&u.code.isIdentifierPartES5(w))&&c.push(fe()),c.push(d))),le(c,r.Unary,l)},YieldExpression:function(n,l,o){var c;return n.delegate?c="yield*":c="yield",n.argument&&(c=U(c,this.generateExpression(n.argument,r.Yield,M))),le(c,r.Yield,l)},AwaitExpression:function(n,l,o){var c=U(n.all?"await*":"await",this.generateExpression(n.argument,r.Await,M));return le(c,r.Await,l)},UpdateExpression:function(n,l,o){return n.prefix?le([n.operator,this.generateExpression(n.argument,r.Unary,M)],r.Unary,l):le([this.generateExpression(n.argument,r.Postfix,M),n.operator],r.Postfix,l)},FunctionExpression:function(n,l,o){var c=[rt(n,!0),"function"];return n.id?(c.push(_t(n)||fe()),c.push(ge(n.id))):c.push(_t(n)||v),c.push(this.generateFunctionBody(n)),c},ArrayPattern:function(n,l,o){return this.ArrayExpression(n,l,o,!0)},ArrayExpression:function(n,l,o,c){var d,w,T=this;return n.elements.length?(w=c?!1:n.elements.length>1,d=["[",w?C:""],ae(function(I){var F,J;for(F=0,J=n.elements.length;F1,ae(function(){w=T.generateExpression(n.properties[0],r.Sequence,M)}),!c&&!Fn(K(w).toString())?["{",v,w,v,"}"]:(ae(function(I){var F,J;if(d=["{",C,I,w],c)for(d.push(","+C),F=1,J=n.properties.length;F0||A.moz.comprehensionExpressionStartsWithAssignment?c=U(c,T):c.push(T)}),n.filter&&(c=U(c,"if"+v),T=this.generateExpression(n.filter,r.Sequence,M),c=U(c,["(",T,")"])),A.moz.comprehensionExpressionStartsWithAssignment||(T=this.generateExpression(n.body,r.Assignment,M),c=U(c,T)),c.push(n.type===t.GeneratorExpression?")":"]"),c},ComprehensionBlock:function(n,l,o){var c;return n.left.type===t.VariableDeclaration?c=[n.left.kind,fe(),this.generateStatement(n.left.declarations[0],bt)]:c=this.generateExpression(n.left,r.Call,M),c=U(c,n.of?"of":"in"),c=U(c,this.generateExpression(n.right,r.Sequence,M)),["for"+v+"(",c,")"]},SpreadElement:function(n,l,o){return["...",this.generateExpression(n.argument,r.Assignment,M)]},TaggedTemplateExpression:function(n,l,o){var c=Je;o&H||(c=Ve);var d=[this.generateExpression(n.tag,r.Call,c),this.generateExpression(n.quasi,r.Primary,xt)];return le(d,r.TaggedTemplate,l)},TemplateElement:function(n,l,o){return n.value.raw},TemplateLiteral:function(n,l,o){var c,d,w;for(c=["`"],d=0,w=n.quasis.length;de)return!1;if(r+=t[i+1],r>=e)return!0}}function Le(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&Xs.test(String.fromCharCode(e)):t===!1?!1:ur(e,Oi)}function Ge(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&&Hs.test(String.fromCharCode(e)):t===!1?!1:ur(e,Oi)||ur(e,Qs)}var Y=function(t,r){r===void 0&&(r={}),this.label=t,this.keyword=r.keyword,this.beforeExpr=!!r.beforeExpr,this.startsExpr=!!r.startsExpr,this.isLoop=!!r.isLoop,this.isAssign=!!r.isAssign,this.prefix=!!r.prefix,this.postfix=!!r.postfix,this.binop=r.binop||null,this.updateContext=null};function be(e,t){return new Y(e,{beforeExpr:!0,binop:t})}var Se={beforeExpr:!0},ye={startsExpr:!0},Lt={};function X(e,t){return t===void 0&&(t={}),t.keyword=e,Lt[e]=new Y(e,t)}var h={num:new Y("num",ye),regexp:new Y("regexp",ye),string:new Y("string",ye),name:new Y("name",ye),eof:new Y("eof"),bracketL:new Y("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new Y("]"),braceL:new Y("{",{beforeExpr:!0,startsExpr:!0}),braceR:new Y("}"),parenL:new Y("(",{beforeExpr:!0,startsExpr:!0}),parenR:new Y(")"),comma:new Y(",",Se),semi:new Y(";",Se),colon:new Y(":",Se),dot:new Y("."),question:new Y("?",Se),questionDot:new Y("?."),arrow:new Y("=>",Se),template:new Y("template"),invalidTemplate:new Y("invalidTemplate"),ellipsis:new Y("...",Se),backQuote:new Y("`",ye),dollarBraceL:new Y("${",{beforeExpr:!0,startsExpr:!0}),eq:new Y("=",{beforeExpr:!0,isAssign:!0}),assign:new Y("_=",{beforeExpr:!0,isAssign:!0}),incDec:new Y("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new Y("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:be("||",1),logicalAND:be("&&",2),bitwiseOR:be("|",3),bitwiseXOR:be("^",4),bitwiseAND:be("&",5),equality:be("==/!=/===/!==",6),relational:be("/<=/>=",7),bitShift:be("<>/>>>",8),plusMin:new Y("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:be("%",10),star:be("*",10),slash:be("/",10),starstar:new Y("**",{beforeExpr:!0}),coalesce:be("??",1),_break:X("break"),_case:X("case",Se),_catch:X("catch"),_continue:X("continue"),_debugger:X("debugger"),_default:X("default",Se),_do:X("do",{isLoop:!0,beforeExpr:!0}),_else:X("else",Se),_finally:X("finally"),_for:X("for",{isLoop:!0}),_function:X("function",ye),_if:X("if"),_return:X("return",Se),_switch:X("switch"),_throw:X("throw",Se),_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",ye),_super:X("super",ye),_class:X("class",ye),_extends:X("extends",Se),_export:X("export"),_import:X("import",ye),_null:X("null",ye),_true:X("true",ye),_false:X("false",ye),_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})},ve=/\r\n?|\n|\u2028|\u2029/,Qe=new RegExp(ve.source,"g");function et(e,t){return e===10||e===13||!t&&(e===8232||e===8233)}var yr=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,Ee=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Ri=Object.prototype,Ys=Ri.hasOwnProperty,Ks=Ri.toString;function Ot(e,t){return Ys.call(e,t)}var ni=Array.isArray||function(e){return Ks.call(e)==="[object Array]"};function Ue(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var Ye=function(t,r){this.line=t,this.column=r};Ye.prototype.offset=function(t){return new Ye(this.line,this.column+t)};var mt=function(t,r,i){this.start=r,this.end=i,t.sourceFile!==null&&(this.source=t.sourceFile)};function vr(e,t){for(var r=1,i=0;;){Qe.lastIndex=i;var s=Qe.exec(e);if(s&&s.index=2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),ni(t.onToken)){var i=t.onToken;t.onToken=function(s){return i.push(s)}}return ni(t.onComment)&&(t.onComment=ea(t,t.onComment)),t}function ea(e,t){return function(r,i,s,a,u,f){var p={type:r?"Block":"Line",value:i,start:s,end:a};e.locations&&(p.loc=new mt(this,u,f)),e.ranges&&(p.range=[s,a]),t.push(p)}}var ct=1,gt=2,xr=ct|gt,Fi=4,Mi=8,Bi=16,Di=32,Vi=64,ji=128;function br(e,t){return gt|(e?Fi:0)|(t?Mi:0)}var si=0,Sr=1,Ne=2,qi=3,Ui=4,Gi=5,re=function(t,r,i){this.options=t=Zs(t),this.sourceFile=t.sourceFile,this.keywords=Ue($s[t.ecmaVersion>=6?6:t.sourceType==="module"?"5module":5]);var s="";if(t.allowReserved!==!0){for(var a=t.ecmaVersion;!(s=sr[a]);a--);t.sourceType==="module"&&(s+=" await")}this.reservedWords=Ue(s);var u=(s?s+" ":"")+sr.strict;this.reservedWordsStrict=Ue(u),this.reservedWordsStrictBind=Ue(u+" "+sr.strictBind),this.input=String(r),this.containsEsc=!1,i?(this.pos=i,this.lineStart=this.input.lastIndexOf(` +`,i-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(ve).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=h.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=t.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&&t.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(ct),this.regexpState=null},ze={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0}};re.prototype.parse=function(){var t=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(t)};ze.inFunction.get=function(){return(this.currentVarScope().flags>)>0};ze.inGenerator.get=function(){return(this.currentVarScope().flags&Mi)>0};ze.inAsync.get=function(){return(this.currentVarScope().flags&Fi)>0};ze.allowSuper.get=function(){return(this.currentThisScope().flags&Vi)>0};ze.allowDirectSuper.get=function(){return(this.currentThisScope().flags&ji)>0};ze.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};re.prototype.inNonArrowFunction=function(){return(this.currentThisScope().flags>)>0};re.extend=function(){for(var t=[],r=arguments.length;r--;)t[r]=arguments[r];for(var i=this,s=0;s=,?^&]/.test(s)||s==="!"&&this.input.charAt(i+1)==="=")}e+=t[0].length,Ee.lastIndex=e,e+=Ee.exec(this.input)[0].length,this.input[e]===";"&&e++}};me.eat=function(e){return this.type===e?(this.next(),!0):!1};me.isContextual=function(e){return this.type===h.name&&this.value===e&&!this.containsEsc};me.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1};me.expectContextual=function(e){this.eatContextual(e)||this.unexpected()};me.canInsertSemicolon=function(){return this.type===h.eof||this.type===h.braceR||ve.test(this.input.slice(this.lastTokEnd,this.start))};me.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0};me.semicolon=function(){!this.eat(h.semi)&&!this.insertSemicolon()&&this.unexpected()};me.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0};me.expect=function(e){this.eat(e)||this.unexpected()};me.unexpected=function(e){this.raise(e??this.start,"Unexpected token")};function Rt(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}me.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")}};me.checkExpressionErrors=function(e,t){if(!e)return!1;var r=e.shorthandAssign,i=e.doubleProto;if(!t)return r>=0||i>=0;r>=0&&this.raise(r,"Shorthand property assignments are valid only in destructuring patterns"),i>=0&&this.raiseRecoverable(i,"Redefinition of __proto__ property")};me.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos=6&&this.unexpected(),this.parseFunctionStatement(s,!1,!e);case h._class:return e&&this.unexpected(),this.parseClass(s,!0);case h._if:return this.parseIfStatement(s);case h._return:return this.parseReturnStatement(s);case h._switch:return this.parseSwitchStatement(s);case h._throw:return this.parseThrowStatement(s);case h._try:return this.parseTryStatement(s);case h._const:case h._var:return a=a||this.value,e&&a!=="var"&&this.unexpected(),this.parseVarStatement(s,a);case h._while:return this.parseWhileStatement(s);case h._with:return this.parseWithStatement(s);case h.braceL:return this.parseBlock(!0,s);case h.semi:return this.parseEmptyStatement(s);case h._export:case h._import:if(this.options.ecmaVersion>10&&i===h._import){Ee.lastIndex=this.pos;var u=Ee.exec(this.input),f=this.pos+u[0].length,p=this.input.charCodeAt(f);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'")),i===h._import?this.parseImport(s):this.parseExport(s,r);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(s,!0,!e);var y=this.value,g=this.parseExpression();return i===h.name&&g.type==="Identifier"&&this.eat(h.colon)?this.parseLabeledStatement(s,y,g,e):this.parseExpressionStatement(s,g)}};W.parseBreakContinueStatement=function(e,t){var r=t==="break";this.next(),this.eat(h.semi)||this.insertSemicolon()?e.label=null:this.type!==h.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var i=0;i=6?this.eat(h.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")};W.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(_r),this.enterScope(0),this.expect(h.parenL),this.type===h.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var r=this.isLet();if(this.type===h._var||this.type===h._const||r){var i=this.startNode(),s=r?"let":this.value;return this.next(),this.parseVar(i,!0,s),this.finishNode(i,"VariableDeclaration"),(this.type===h._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&i.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===h._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,i)):(t>-1&&this.unexpected(t),this.parseFor(e,i))}var a=new Rt,u=this.parseExpression(!0,a);return this.type===h._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===h._in?t>-1&&this.unexpected(t):e.await=t>-1),this.toAssignable(u,!1,a),this.checkLVal(u),this.parseForIn(e,u)):(this.checkExpressionErrors(a,!0),t>-1&&this.unexpected(t),this.parseFor(e,u))};W.parseFunctionStatement=function(e,t,r){return this.next(),this.parseFunction(e,ot|(r?0:lr),!1,t)};W.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(h._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")};W.parseReturnStatement=function(e){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(h.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")};W.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(h.braceL),this.labels.push(ra),this.enterScope(0);for(var t,r=!1;this.type!==h.braceR;)if(this.type===h._case||this.type===h._default){var i=this.type===h._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),i?t.test=this.parseExpression():(r&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),r=!0,t.test=null),this.expect(h.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")};W.parseThrowStatement=function(e){return this.next(),ve.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")};var ia=[];W.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===h._catch){var t=this.startNode();if(this.next(),this.eat(h.parenL)){t.param=this.parseBindingAtom();var r=t.param.type==="Identifier";this.enterScope(r?Di:0),this.checkLVal(t.param,r?Ui:Ne),this.expect(h.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(h._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")};W.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")};W.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(_r),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")};W.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")};W.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")};W.parseLabeledStatement=function(e,t,r,i){for(var s=0,a=this.labels;s=0;p--){var y=this.labels[p];if(y.statementStart===e.start)y.statementStart=this.start,y.kind=f;else break}return this.labels.push({name:t,kind:f,statementStart:this.start}),e.body=this.parseStatement(i?i.indexOf("label")===-1?i+"label":i:"label"),this.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")};W.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")};W.parseBlock=function(e,t,r){for(e===void 0&&(e=!0),t===void 0&&(t=this.startNode()),t.body=[],this.expect(h.braceL),e&&this.enterScope(0);this.type!==h.braceR;){var i=this.parseStatement(null);t.body.push(i)}return r&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")};W.parseFor=function(e,t){return e.init=t,this.expect(h.semi),e.test=this.type===h.semi?null:this.parseExpression(),this.expect(h.semi),e.update=this.type===h.parenR?null:this.parseExpression(),this.expect(h.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")};W.parseForIn=function(e,t){var r=this.type===h._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(h.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")};W.parseVar=function(e,t,r){for(e.declarations=[],e.kind=r;;){var i=this.startNode();if(this.parseVarId(i,r),this.eat(h.eq)?i.init=this.parseMaybeAssign(t):r==="const"&&!(this.type===h._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():i.id.type!=="Identifier"&&!(t&&(this.type===h._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):i.init=null,e.declarations.push(this.finishNode(i,"VariableDeclarator")),!this.eat(h.comma))break}return e};W.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLVal(e.id,t==="var"?Sr:Ne,!1)};var ot=1,lr=2,Wi=4;W.parseFunction=function(e,t,r,i){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!i)&&(this.type===h.star&&t&lr&&this.unexpected(),e.generator=this.eat(h.star)),this.options.ecmaVersion>=8&&(e.async=!!i),t&ot&&(e.id=t&Wi&&this.type!==h.name?null:this.parseIdent(),e.id&&!(t&lr)&&this.checkLVal(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?Sr:Ne:qi));var s=this.yieldPos,a=this.awaitPos,u=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(br(e.async,e.generator)),t&ot||(e.id=this.type===h.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,r,!1),this.yieldPos=s,this.awaitPos=a,this.awaitIdentPos=u,this.finishNode(e,t&ot?"FunctionDeclaration":"FunctionExpression")};W.parseFunctionParams=function(e){this.expect(h.parenL),e.params=this.parseBindingList(h.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()};W.parseClass=function(e,t){this.next();var r=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var i=this.startNode(),s=!1;for(i.body=[],this.expect(h.braceL);this.type!==h.braceR;){var a=this.parseClassElement(e.superClass!==null);a&&(i.body.push(a),a.type==="MethodDefinition"&&a.kind==="constructor"&&(s&&this.raise(a.start,"Duplicate constructor in the same class"),s=!0))}return this.strict=r,this.next(),e.body=this.finishNode(i,"ClassBody"),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")};W.parseClassElement=function(e){var t=this;if(this.eat(h.semi))return null;var r=this.startNode(),i=function(p,y){y===void 0&&(y=!1);var g=t.start,b=t.startLoc;return t.eatContextual(p)?t.type!==h.parenL&&(!y||!t.canInsertSemicolon())?!0:(r.key&&t.unexpected(),r.computed=!1,r.key=t.startNodeAt(g,b),r.key.name=p,t.finishNode(r.key,"Identifier"),!1):!1};r.kind="method",r.static=i("static");var s=this.eat(h.star),a=!1;s||(this.options.ecmaVersion>=8&&i("async",!0)?(a=!0,s=this.options.ecmaVersion>=9&&this.eat(h.star)):i("get")?r.kind="get":i("set")&&(r.kind="set")),r.key||this.parsePropertyName(r);var u=r.key,f=!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"),a&&this.raise(u.start,"Constructor can't be an async method"),r.kind="constructor",f=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,a,f),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};W.parseClassMethod=function(e,t,r,i){return e.value=this.parseMethod(t,r,i),this.finishNode(e,"MethodDefinition")};W.parseClassId=function(e,t){this.type===h.name?(e.id=this.parseIdent(),t&&this.checkLVal(e.id,Ne,!1)):(t===!0&&this.unexpected(),e.id=null)};W.parseClassSuper=function(e){e.superClass=this.eat(h._extends)?this.parseExprSubscripts():null};W.parseExport=function(e,t){if(this.next(),this.eat(h.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!==h.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(h._default)){this.checkExport(t,"default",this.lastTokStart);var r;if(this.type===h._function||(r=this.isAsyncFunction())){var i=this.startNode();this.next(),r&&this.next(),e.declaration=this.parseFunction(i,ot|Wi,!1,r)}else if(this.type===h._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!==h.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var a=0,u=e.specifiers;a=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 i=0,s=e.properties;i=8&&!a&&u.name==="async"&&!this.canInsertSemicolon()&&this.eat(h._function))return this.parseFunction(this.startNodeAt(i,s),0,!1,!0);if(r&&!this.canInsertSemicolon()){if(this.eat(h.arrow))return this.parseArrowExpression(this.startNodeAt(i,s),[u],!1);if(this.options.ecmaVersion>=8&&u.name==="async"&&this.type===h.name&&!a)return u=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(h.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(i,s),[u],!0)}return u;case h.regexp:var f=this.value;return t=this.parseLiteral(f.value),t.regex={pattern:f.pattern,flags:f.flags},t;case h.num:case h.string:return this.parseLiteral(this.value);case h._null:case h._true:case h._false:return t=this.startNode(),t.value=this.type===h._null?null:this.type===h._true,t.raw=this.type.keyword,this.next(),this.finishNode(t,"Literal");case h.parenL:var p=this.start,y=this.parseParenAndDistinguishExpression(r);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(y)&&(e.parenthesizedAssign=p),e.parenthesizedBind<0&&(e.parenthesizedBind=p)),y;case h.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(h.bracketR,!0,!0,e),this.finishNode(t,"ArrayExpression");case h.braceL:return this.parseObj(!1,e);case h._function:return t=this.startNode(),this.next(),this.parseFunction(t,0);case h._class:return this.parseClass(this.startNode(),!1);case h._new:return this.parseNew();case h.backQuote:return this.parseTemplate();case h._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}};z.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 h.parenL:return this.parseDynamicImport(e);case h.dot:return e.meta=t,this.parseImportMeta(e);default:this.unexpected()}};z.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),!this.eat(h.parenR)){var t=this.start;this.eat(h.comma)&&this.eat(h.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")};z.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")};z.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")};z.parseParenExpression=function(){this.expect(h.parenL);var e=this.parseExpression();return this.expect(h.parenR),e};z.parseParenAndDistinguishExpression=function(e){var t=this.start,r=this.startLoc,i,s=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var a=this.start,u=this.startLoc,f=[],p=!0,y=!1,g=new Rt,b=this.yieldPos,E=this.awaitPos,S;for(this.yieldPos=0,this.awaitPos=0;this.type!==h.parenR;)if(p?p=!1:this.expect(h.comma),s&&this.afterTrailingComma(h.parenR,!0)){y=!0;break}else if(this.type===h.ellipsis){S=this.start,f.push(this.parseParenItem(this.parseRestBinding())),this.type===h.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}else f.push(this.parseMaybeAssign(!1,g,this.parseParenItem));var C=this.start,v=this.startLoc;if(this.expect(h.parenR),e&&!this.canInsertSemicolon()&&this.eat(h.arrow))return this.checkPatternErrors(g,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=b,this.awaitPos=E,this.parseParenArrowList(t,r,f);(!f.length||y)&&this.unexpected(this.lastTokStart),S&&this.unexpected(S),this.checkExpressionErrors(g,!0),this.yieldPos=b||this.yieldPos,this.awaitPos=E||this.awaitPos,f.length>1?(i=this.startNodeAt(a,u),i.expressions=f,this.finishNodeAt(i,"SequenceExpression",C,v)):i=f[0]}else i=this.parseParenExpression();if(this.options.preserveParens){var P=this.startNodeAt(t,r);return P.expression=i,this.finishNode(P,"ParenthesizedExpression")}else return i};z.parseParenItem=function(e){return e};z.parseParenArrowList=function(e,t,r){return this.parseArrowExpression(this.startNodeAt(e,t),r)};var na=[];z.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(h.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 i=this.start,s=this.startLoc,a=this.type===h._import;return e.callee=this.parseSubscripts(this.parseExprAtom(),i,s,!0),a&&e.callee.type==="ImportExpression"&&this.raise(i,"Cannot use new with import()"),this.eat(h.parenL)?e.arguments=this.parseExprList(h.parenR,this.options.ecmaVersion>=8,!1):e.arguments=na,this.finishNode(e,"NewExpression")};z.parseTemplateElement=function(e){var t=e.isTagged,r=this.startNode();return this.type===h.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===h.backQuote,this.finishNode(r,"TemplateElement")};z.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 i=this.parseTemplateElement({isTagged:t});for(r.quasis=[i];!i.tail;)this.type===h.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(h.dollarBraceL),r.expressions.push(this.parseExpression()),this.expect(h.braceR),r.quasis.push(i=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(r,"TemplateLiteral")};z.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===h.name||this.type===h.num||this.type===h.string||this.type===h.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===h.star)&&!ve.test(this.input.slice(this.lastTokEnd,this.start))};z.parseObj=function(e,t){var r=this.startNode(),i=!0,s={};for(r.properties=[],this.next();!this.eat(h.braceR);){if(i)i=!1;else if(this.expect(h.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(h.braceR))break;var a=this.parseProperty(e,t);e||this.checkPropClash(a,s,t),r.properties.push(a)}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")};z.parseProperty=function(e,t){var r=this.startNode(),i,s,a,u;if(this.options.ecmaVersion>=9&&this.eat(h.ellipsis))return e?(r.argument=this.parseIdent(!1),this.type===h.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(r,"RestElement")):(this.type===h.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),r.argument=this.parseMaybeAssign(!1,t),this.type===h.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)&&(a=this.start,u=this.startLoc),e||(i=this.eat(h.star)));var f=this.containsEsc;return this.parsePropertyName(r),!e&&!f&&this.options.ecmaVersion>=8&&!i&&this.isAsyncProp(r)?(s=!0,i=this.options.ecmaVersion>=9&&this.eat(h.star),this.parsePropertyName(r,t)):s=!1,this.parsePropertyValue(r,e,i,s,a,u,t,f),this.finishNode(r,"Property")};z.parsePropertyValue=function(e,t,r,i,s,a,u,f){if((r||i)&&this.type===h.colon&&this.unexpected(),this.eat(h.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===h.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(r,i);else if(!t&&!f&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.type!==h.comma&&this.type!==h.braceR&&this.type!==h.eq){(r||i)&&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 y=e.value.start;e.kind==="get"?this.raiseRecoverable(y,"getter should have no params"):this.raiseRecoverable(y,"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||i)&&this.unexpected(),this.checkUnreserved(e.key),e.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=s),e.kind="init",t?e.value=this.parseMaybeDefault(s,a,e.key):this.type===h.eq&&u?(u.shorthandAssign<0&&(u.shorthandAssign=this.start),e.value=this.parseMaybeDefault(s,a,e.key)):e.value=e.key,e.shorthand=!0):this.unexpected()};z.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(h.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(h.bracketR),e.key;e.computed=!1}return e.key=this.type===h.num||this.type===h.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};z.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)};z.parseMethod=function(e,t,r){var i=this.startNode(),s=this.yieldPos,a=this.awaitPos,u=this.awaitIdentPos;return this.initFunction(i),this.options.ecmaVersion>=6&&(i.generator=e),this.options.ecmaVersion>=8&&(i.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(br(t,i.generator)|Vi|(r?ji:0)),this.expect(h.parenL),i.params=this.parseBindingList(h.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(i,!1,!0),this.yieldPos=s,this.awaitPos=a,this.awaitIdentPos=u,this.finishNode(i,"FunctionExpression")};z.parseArrowExpression=function(e,t,r){var i=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;return this.enterScope(br(r,!1)|Bi),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=i,this.awaitPos=s,this.awaitIdentPos=a,this.finishNode(e,"ArrowFunctionExpression")};z.parseFunctionBody=function(e,t,r){var i=t&&this.type!==h.braceL,s=this.strict,a=!1;if(i)e.body=this.parseMaybeAssign(),e.expression=!0,this.checkParams(e,!1);else{var u=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!s||u)&&(a=this.strictDirective(this.end),a&&u&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var f=this.labels;this.labels=[],a&&(this.strict=!0),this.checkParams(e,!s&&!a&&!t&&!r&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLVal(e.id,Gi),e.body=this.parseBlock(!1,void 0,a&&!s),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=f}this.exitScope()};z.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&ct&&delete this.undefinedExports[e]}else if(t===Ui){var a=this.currentScope();a.lexical.push(e)}else if(t===qi){var u=this.currentScope();this.treatFunctionsAsVar?i=u.lexical.indexOf(e)>-1:i=u.lexical.indexOf(e)>-1||u.var.indexOf(e)>-1,u.functions.push(e)}else for(var f=this.scopeStack.length-1;f>=0;--f){var p=this.scopeStack[f];if(p.lexical.indexOf(e)>-1&&!(p.flags&Di&&p.lexical[0]===e)||!this.treatFunctionsAsVarInScope(p)&&p.functions.indexOf(e)>-1){i=!0;break}if(p.var.push(e),this.inModule&&p.flags&ct&&delete this.undefinedExports[e],p.flags&xr)break}i&&this.raiseRecoverable(r,"Identifier '"+e+"' has already been declared")};De.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)};De.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};De.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&xr)return t}};De.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&xr&&!(t.flags&Bi))return t}};var Ft=function(t,r,i){this.type="",this.start=r,this.end=0,t.options.locations&&(this.loc=new mt(t,i)),t.options.directSourceFile&&(this.sourceFile=t.options.directSourceFile),t.options.ranges&&(this.range=[r,0])},Mt=re.prototype;Mt.startNode=function(){return new Ft(this,this.start,this.startLoc)};Mt.startNodeAt=function(e,t){return new Ft(this,e,t)};function zi(e,t,r,i){return e.type=t,e.end=r,this.options.locations&&(e.loc.end=i),this.options.ranges&&(e.range[1]=r),e}Mt.finishNode=function(e,t){return zi.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)};Mt.finishNodeAt=function(e,t,r,i){return zi.call(this,e,t,r,i)};var _e=function(t,r,i,s,a){this.token=t,this.isExpr=!!r,this.preserveSpace=!!i,this.override=s,this.generator=!!a},se={b_stat:new _e("{",!1),b_expr:new _e("{",!0),b_tmpl:new _e("${",!1),p_stat:new _e("(",!1),p_expr:new _e("(",!0),q_tmpl:new _e("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new _e("function",!1),f_expr:new _e("function",!0),f_expr_gen:new _e("function",!0,!1,null,!0),f_gen:new _e("function",!1,!1,null,!0)},Bt=re.prototype;Bt.initialContext=function(){return[se.b_stat]};Bt.braceIsBlock=function(e){var t=this.curContext();return t===se.f_expr||t===se.f_stat?!0:e===h.colon&&(t===se.b_stat||t===se.b_expr)?!t.isExpr:e===h._return||e===h.name&&this.exprAllowed?ve.test(this.input.slice(this.lastTokEnd,this.start)):e===h._else||e===h.semi||e===h.eof||e===h.parenR||e===h.arrow?!0:e===h.braceL?t===se.b_stat:e===h._var||e===h._const||e===h.name?!1:!this.exprAllowed};Bt.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};Bt.updateContext=function(e){var t,r=this.type;r.keyword&&e===h.dot?this.exprAllowed=!1:(t=r.updateContext)?t.call(this,e):this.exprAllowed=r.beforeExpr};h.parenR.updateContext=h.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var e=this.context.pop();e===se.b_stat&&this.curContext().token==="function"&&(e=this.context.pop()),this.exprAllowed=!e.isExpr};h.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?se.b_stat:se.b_expr),this.exprAllowed=!0};h.dollarBraceL.updateContext=function(){this.context.push(se.b_tmpl),this.exprAllowed=!0};h.parenL.updateContext=function(e){var t=e===h._if||e===h._for||e===h._with||e===h._while;this.context.push(t?se.p_stat:se.p_expr),this.exprAllowed=!0};h.incDec.updateContext=function(){};h._function.updateContext=h._class.updateContext=function(e){e.beforeExpr&&e!==h.semi&&e!==h._else&&!(e===h._return&&ve.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===h.colon||e===h.braceL)&&this.curContext()===se.b_stat)?this.context.push(se.f_expr):this.context.push(se.f_stat),this.exprAllowed=!1};h.backQuote.updateContext=function(){this.curContext()===se.q_tmpl?this.context.pop():this.context.push(se.q_tmpl),this.exprAllowed=!1};h.star.updateContext=function(e){if(e===h._function){var t=this.context.length-1;this.context[t]===se.f_expr?this.context[t]=se.f_expr_gen:this.context[t]=se.f_gen}this.exprAllowed=!0};h.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==h.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var $i="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",Ji=$i+" Extended_Pictographic",aa=Ji,oa={9:$i,10:Ji,11:aa},ai="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",Xi="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",Hi=Xi+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",ua=Hi+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",la={9:Xi,10:Hi,11:ua},Qi={};function Er(e){var t=Qi[e]={binary:Ue(oa[e]+" "+ai),nonBinary:{General_Category:Ue(ai),Script:Ue(la[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}Er(9);Er(10);Er(11);var j=re.prototype,Re=function(t){this.parser=t,this.validFlags="gim"+(t.options.ecmaVersion>=6?"uy":"")+(t.options.ecmaVersion>=9?"s":""),this.unicodeProperties=Qi[t.options.ecmaVersion>=11?11:t.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=[]};Re.prototype.reset=function(t,r,i){var s=i.indexOf("u")!==-1;this.start=t|0,this.source=r+"",this.flags=i,this.switchU=s&&this.parser.options.ecmaVersion>=6,this.switchN=s&&this.parser.options.ecmaVersion>=9};Re.prototype.raise=function(t){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+t)};Re.prototype.at=function(t,r){r===void 0&&(r=!1);var i=this.source,s=i.length;if(t>=s)return-1;var a=i.charCodeAt(t);if(!(r||this.switchU)||a<=55295||a>=57344||t+1>=s)return a;var u=i.charCodeAt(t+1);return u>=56320&&u<=57343?(a<<10)+u-56613888:a};Re.prototype.nextIndex=function(t,r){r===void 0&&(r=!1);var i=this.source,s=i.length;if(t>=s)return s;var a=i.charCodeAt(t),u;return!(r||this.switchU)||a<=55295||a>=57344||t+1>=s||(u=i.charCodeAt(t+1))<56320||u>57343?t+1:t+2};Re.prototype.current=function(t){return t===void 0&&(t=!1),this.at(this.pos,t)};Re.prototype.lookahead=function(t){return t===void 0&&(t=!1),this.at(this.nextIndex(this.pos,t),t)};Re.prototype.advance=function(t){t===void 0&&(t=!1),this.pos=this.nextIndex(this.pos,t)};Re.prototype.eat=function(t,r){return r===void 0&&(r=!1),this.current(r)===t?(this.advance(r),!0):!1};function Pt(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}j.validateRegExpFlags=function(e){for(var t=e.validFlags,r=e.flags,i=0;i-1&&this.raise(e.start,"Duplicate regular expression flag")}};j.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))};j.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};j.regexp_eatQuantifier=function(e,t){return t===void 0&&(t=!1),this.regexp_eatQuantifierPrefix(e,t)?(e.eat(63),!0):!1};j.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)};j.regexp_eatBracedQuantifier=function(e,t){var r=e.pos;if(e.eat(123)){var i=0,s=-1;if(this.regexp_eatDecimalDigits(e)&&(i=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};j.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)};j.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1};j.regexp_eatSyntaxCharacter=function(e){var t=e.current();return Yi(t)?(e.lastIntValue=t,e.advance(),!0):!1};function Yi(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}j.regexp_eatPatternCharacters=function(e){for(var t=e.pos,r=0;(r=e.current())!==-1&&!Yi(r);)e.advance();return e.pos!==t};j.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};j.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")}};j.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};j.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=Pt(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=Pt(e.lastIntValue);return!0}return!1};j.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,i=e.current(r);return e.advance(r),i===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(i=e.lastIntValue),ca(i)?(e.lastIntValue=i,!0):(e.pos=t,!1)};function ca(e){return Le(e,!0)||e===36||e===95}j.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,i=e.current(r);return e.advance(r),i===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(i=e.lastIntValue),ha(i)?(e.lastIntValue=i,!0):(e.pos=t,!1)};function ha(e){return Ge(e,!0)||e===36||e===95||e===8204||e===8205}j.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)};j.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};j.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};j.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)};j.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1};j.regexp_eatZero=function(e){return e.current()===48&&!Dt(e.lookahead())?(e.lastIntValue=0,e.advance(),!0):!1};j.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};j.regexp_eatControlLetter=function(e){var t=e.current();return Ki(t)?(e.lastIntValue=t%32,e.advance(),!0):!1};function Ki(e){return e>=65&&e<=90||e>=97&&e<=122}j.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){t===void 0&&(t=!1);var r=e.pos,i=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var s=e.lastIntValue;if(i&&s>=55296&&s<=56319){var a=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=a,e.lastIntValue=s}return!0}if(i&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&fa(e.lastIntValue))return!0;i&&e.raise("Invalid unicode escape"),e.pos=r}return!1};function fa(e){return e>=0&&e<=1114111}j.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};j.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};j.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(pa(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};function pa(e){return e===100||e===68||e===115||e===83||e===119||e===87}j.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 i=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,r,i),!0}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var s=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,s),!0}return!1};j.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){Ot(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(r)||e.raise("Invalid property value")};j.regexp_validateUnicodePropertyNameOrValue=function(e,t){e.unicodeProperties.binary.test(t)||e.raise("Invalid property name")};j.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";Zi(t=e.current());)e.lastStringValue+=Pt(t),e.advance();return e.lastStringValue!==""};function Zi(e){return Ki(e)||e===95}j.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";da(t=e.current());)e.lastStringValue+=Pt(t),e.advance();return e.lastStringValue!==""};function da(e){return Zi(e)||Dt(e)}j.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)};j.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};j.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")}}};j.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||rn(r))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var i=e.current();return i!==93?(e.lastIntValue=i,e.advance(),!0):!1};j.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)};j.regexp_eatClassControlLetter=function(e){var t=e.current();return Dt(t)||t===95?(e.lastIntValue=t%32,e.advance(),!0):!1};j.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};j.regexp_eatDecimalDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;Dt(r=e.current());)e.lastIntValue=10*e.lastIntValue+(r-48),e.advance();return e.pos!==t};function Dt(e){return e>=48&&e<=57}j.regexp_eatHexDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;en(r=e.current());)e.lastIntValue=16*e.lastIntValue+tn(r),e.advance();return e.pos!==t};function en(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function tn(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}j.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};j.regexp_eatOctalDigit=function(e){var t=e.current();return rn(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)};function rn(e){return e>=48&&e<=55}j.regexp_eatFixedHexDigits=function(e,t){var r=e.pos;e.lastIntValue=0;for(var i=0;i=this.input.length)return this.finishToken(h.eof);if(e.override)return e.override(this);this.readToken(this.fullCharCodeAtPos())};$.readToken=function(e){return Le(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){Qe.lastIndex=t;for(var i;(i=Qe.exec(this.input))&&i.index8&&e<14||e>=5760&&yr.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(h.ellipsis)):(++this.pos,this.finishToken(h.dot))};$.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):e===61?this.finishOp(h.assign,2):this.finishOp(h.slash,1)};$.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),r=1,i=e===42?h.star:h.modulo;return this.options.ecmaVersion>=7&&e===42&&t===42&&(++r,i=h.starstar,t=this.input.charCodeAt(this.pos+2)),t===61?this.finishOp(h.assign,r+1):this.finishOp(i,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(h.assign,3)}return this.finishOp(e===124?h.logicalOR:h.logicalAND,2)}return t===61?this.finishOp(h.assign,2):this.finishOp(e===124?h.bitwiseOR:h.bitwiseAND,1)};$.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);return e===61?this.finishOp(h.assign,2):this.finishOp(h.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||ve.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(h.incDec,2):t===61?this.finishOp(h.assign,2):this.finishOp(h.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(h.assign,r+1):this.finishOp(h.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(h.relational,r))};$.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return t===61?this.finishOp(h.equality,this.input.charCodeAt(this.pos+2)===61?3:2):e===61&&t===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(h.arrow)):this.finishOp(e===61?h.eq:h.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(h.questionDot,2)}if(t===63){if(e>=12){var i=this.input.charCodeAt(this.pos+2);if(i===61)return this.finishOp(h.assign,3)}return this.finishOp(h.coalesce,2)}}return this.finishOp(h.question,1)};$.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(h.parenL);case 41:return++this.pos,this.finishToken(h.parenR);case 59:return++this.pos,this.finishToken(h.semi);case 44:return++this.pos,this.finishToken(h.comma);case 91:return++this.pos,this.finishToken(h.bracketL);case 93:return++this.pos,this.finishToken(h.bracketR);case 123:return++this.pos,this.finishToken(h.braceL);case 125:return++this.pos,this.finishToken(h.braceR);case 58:return++this.pos,this.finishToken(h.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(h.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(h.prefix,1)}this.raise(this.pos,"Unexpected character '"+Cr(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 i=this.input.charAt(this.pos);if(ve.test(i)&&this.raise(r,"Unterminated regular expression"),e)e=!1;else{if(i==="[")t=!0;else if(i==="]"&&t)t=!1;else if(i==="/"&&!t)break;e=i==="\\"}++this.pos}var s=this.input.slice(r,this.pos);++this.pos;var a=this.pos,u=this.readWord1();this.containsEsc&&this.unexpected(a);var f=this.regexpState||(this.regexpState=new Re(this));f.reset(r,s,u),this.validateRegExpFlags(f),this.validateRegExpPattern(f);var p=null;try{p=new RegExp(s,u)}catch{}return this.finishToken(h.regexp,{pattern:s,flags:u,value:p})};$.readInt=function(e,t,r){for(var i=this.options.ecmaVersion>=12&&t===void 0,s=r&&this.input.charCodeAt(this.pos)===48,a=this.pos,u=0,f=0,p=0,y=t??1/0;p=97?b=g-97+10:g>=65?b=g-65+10:g>=48&&g<=57?b=g-48:b=1/0,b>=e)break;f=g,u=u*e+b}return i&&f===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===a||t!=null&&this.pos-a!==t?null:u};function ma(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function nn(e){return typeof BigInt!="function"?null:BigInt(e.replace(/_/g,""))}$.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=nn(this.input.slice(t,this.pos)),++this.pos):Le(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(h.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 i=this.input.charCodeAt(this.pos);if(!r&&!e&&this.options.ecmaVersion>=11&&i===110){var s=nn(this.input.slice(t,this.pos));return++this.pos,Le(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(h.num,s)}r&&/[89]/.test(this.input.slice(t,this.pos))&&(r=!1),i===46&&!r&&(++this.pos,this.readInt(10),i=this.input.charCodeAt(this.pos)),(i===69||i===101)&&!r&&(i=this.input.charCodeAt(++this.pos),(i===43||i===45)&&++this.pos,this.readInt(10)===null&&this.raise(t,"Invalid number")),Le(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var a=ma(this.input.slice(t,this.pos),r);return this.finishToken(h.num,a)};$.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};function Cr(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}$.readString=function(e){for(var t="",r=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var i=this.input.charCodeAt(this.pos);if(i===e)break;i===92?(t+=this.input.slice(r,this.pos),t+=this.readEscapedChar(!1),r=this.pos):(et(i,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(r,this.pos++),this.finishToken(h.string,t)};var sn={};$.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===sn)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1};$.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw sn;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===h.template||this.type===h.invalidTemplate)?r===36?(this.pos+=2,this.finishToken(h.dollarBraceL)):(++this.pos,this.finishToken(h.backQuote)):(e+=this.input.slice(t,this.pos),this.finishToken(h.template,e));if(r===92)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(et(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 i=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],s=parseInt(i,8);return s>255&&(i=i.slice(0,-1),s=parseInt(i,8)),this.pos+=i.length-1,t=this.input.charCodeAt(this.pos),(i!=="0"||t===56||t===57)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-i.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(s)}return et(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,i=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:"♦"};const ai=rs(ua);(function(e){const t=la,r=/^[\da-fA-F]+$/,i=/^\d+$/,s=new WeakMap;function a(p){p=p.Parser.acorn||p;let y=s.get(p);if(!y){const g=p.tokTypes,b=p.TokContext,E=p.TokenType,S=new b("...",!0,!0),P={tc_oTag:S,tc_cTag:C,tc_expr:v},O={jsxName:new E("jsxName"),jsxText:new E("jsxText",{beforeExpr:!0}),jsxTagStart:new E("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new E("jsxTagEnd")};O.jsxTagStart.updateContext=function(){this.context.push(v),this.context.push(S),this.exprAllowed=!1},O.jsxTagEnd.updateContext=function(L){let V=this.context.pop();V===S&&L===g.slash||V===C?(this.context.pop(),this.exprAllowed=this.curContext()===v):this.exprAllowed=!0},y={tokContexts:P,tokTypes:O},s.set(p,y)}return y}function c(p){if(!p)return p;if(p.type==="JSXIdentifier")return p.name;if(p.type==="JSXNamespacedName")return p.namespace.name+":"+p.name.name;if(p.type==="JSXMemberExpression")return c(p.object)+"."+c(p.property)}e.exports=function(p){return p=p||{},function(y){return f({allowNamespaces:p.allowNamespaces!==!1,allowNamespacedObjects:!!p.allowNamespacedObjects},y)}},Object.defineProperty(e.exports,"tokTypes",{get:function(){return a(ai).tokTypes},configurable:!0,enumerable:!0});function f(p,y){const g=y.acorn||ai,b=a(g),E=g.tokTypes,S=b.tokTypes,C=g.tokContexts,v=b.tokContexts.tc_oTag,P=b.tokContexts.tc_cTag,O=b.tokContexts.tc_expr,L=g.isNewLine,V=g.isIdentifierStart,A=g.isIdentifierChar;return class extends y{static get acornJsx(){return b}jsx_readToken(){let m="",x=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let _=this.input.charCodeAt(this.pos);switch(_){case 60:case 123:return this.pos===this.start?_===60&&this.exprAllowed?(++this.pos,this.finishToken(S.jsxTagStart)):this.getTokenFromCode(_):(m+=this.input.slice(x,this.pos),this.finishToken(S.jsxText,m));case 38:m+=this.input.slice(x,this.pos),m+=this.jsx_readEntity(),x=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(_===62?">":"}")+'` or `{"'+this.input[this.pos]+'"}`?');default:L(_)?(m+=this.input.slice(x,this.pos),m+=this.jsx_readNewLine(!0),x=this.pos):++this.pos}}}jsx_readNewLine(m){let x=this.input.charCodeAt(this.pos),_;return++this.pos,x===13&&this.input.charCodeAt(this.pos)===10?(++this.pos,_=m?` +`;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return Cr(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(e){var r=this.pos-1;return this.invalidStringToken(r,"Invalid escape sequence in template string"),null}default:if(t>=48&&t<=55){var i=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],s=parseInt(i,8);return s>255&&(i=i.slice(0,-1),s=parseInt(i,8)),this.pos+=i.length-1,t=this.input.charCodeAt(this.pos),(i!=="0"||t===56||t===57)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-i.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(s)}return et(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,i=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:"♦"};const oi=rs(xa);(function(e){const t=ba,r=/^[\da-fA-F]+$/,i=/^\d+$/,s=new WeakMap;function a(p){p=p.Parser.acorn||p;let y=s.get(p);if(!y){const g=p.tokTypes,b=p.TokContext,E=p.TokenType,S=new b("...",!0,!0),P={tc_oTag:S,tc_cTag:C,tc_expr:v},O={jsxName:new E("jsxName"),jsxText:new E("jsxText",{beforeExpr:!0}),jsxTagStart:new E("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new E("jsxTagEnd")};O.jsxTagStart.updateContext=function(){this.context.push(v),this.context.push(S),this.exprAllowed=!1},O.jsxTagEnd.updateContext=function(L){let V=this.context.pop();V===S&&L===g.slash||V===C?(this.context.pop(),this.exprAllowed=this.curContext()===v):this.exprAllowed=!0},y={tokContexts:P,tokTypes:O},s.set(p,y)}return y}function u(p){if(!p)return p;if(p.type==="JSXIdentifier")return p.name;if(p.type==="JSXNamespacedName")return p.namespace.name+":"+p.name.name;if(p.type==="JSXMemberExpression")return u(p.object)+"."+u(p.property)}e.exports=function(p){return p=p||{},function(y){return f({allowNamespaces:p.allowNamespaces!==!1,allowNamespacedObjects:!!p.allowNamespacedObjects},y)}},Object.defineProperty(e.exports,"tokTypes",{get:function(){return a(oi).tokTypes},configurable:!0,enumerable:!0});function f(p,y){const g=y.acorn||oi,b=a(g),E=g.tokTypes,S=b.tokTypes,C=g.tokContexts,v=b.tokContexts.tc_oTag,P=b.tokContexts.tc_cTag,O=b.tokContexts.tc_expr,L=g.isNewLine,V=g.isIdentifierStart,A=g.isIdentifierChar;return class extends y{static get acornJsx(){return b}jsx_readToken(){let m="",x=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let _=this.input.charCodeAt(this.pos);switch(_){case 60:case 123:return this.pos===this.start?_===60&&this.exprAllowed?(++this.pos,this.finishToken(S.jsxTagStart)):this.getTokenFromCode(_):(m+=this.input.slice(x,this.pos),this.finishToken(S.jsxText,m));case 38:m+=this.input.slice(x,this.pos),m+=this.jsx_readEntity(),x=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(_===62?">":"}")+'` or `{"'+this.input[this.pos]+'"}`?');default:L(_)?(m+=this.input.slice(x,this.pos),m+=this.jsx_readNewLine(!0),x=this.pos):++this.pos}}}jsx_readNewLine(m){let x=this.input.charCodeAt(this.pos),_;return++this.pos,x===13&&this.input.charCodeAt(this.pos)===10?(++this.pos,_=m?` `:`\r -`):_=String.fromCharCode(x),this.options.locations&&(++this.curLine,this.lineStart=this.pos),_}jsx_readString(m){let x="",_=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let k=this.input.charCodeAt(this.pos);if(k===m)break;k===38?(x+=this.input.slice(_,this.pos),x+=this.jsx_readEntity(),_=this.pos):L(k)?(x+=this.input.slice(_,this.pos),x+=this.jsx_readNewLine(!1),_=this.pos):++this.pos}return x+=this.input.slice(_,this.pos++),this.finishToken(E.string,x)}jsx_readEntity(){let m="",x=0,_,k=this.input[this.pos];k!=="&"&&this.raise(this.pos,"Entity must start with an ampersand");let B=++this.pos;for(;this.pos")}let G=B.name?"Element":"Fragment";return _["opening"+G]=B,_["closing"+G]=R,_.children=k,this.type===E.relational&&this.value==="<"&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(_,"JSX"+G)}jsx_parseText(){let m=this.parseLiteral(this.value);return m.type="JSXText",m}jsx_parseElement(){let m=this.start,x=this.startLoc;return this.next(),this.jsx_parseElementAt(m,x)}parseExprAtom(m){return this.type===S.jsxText?this.jsx_parseText():this.type===S.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(m)}readToken(m){let x=this.curContext();if(x===O)return this.jsx_readToken();if(x===v||x===P){if(V(m))return this.jsx_readWord();if(m==62)return++this.pos,this.finishToken(S.jsxTagEnd);if((m===34||m===39)&&x==v)return this.jsx_readString(m)}return m===60&&this.exprAllowed&&this.input.charCodeAt(this.pos+1)!==33?(++this.pos,this.finishToken(S.jsxTagStart)):super.readToken(m)}updateContext(m){if(this.type==E.braceL){var x=this.curContext();x==v?this.context.push(C.b_expr):x==O?this.context.push(C.b_tmpl):super.updateContext(m),this.exprAllowed=!0}else if(this.type===E.slash&&m===S.jsxTagStart)this.context.length-=2,this.context.push(P),this.exprAllowed=!1;else return super.updateContext(m)}}}})(sn);var ca=sn.exports;const ha=pt(ca);function an(e,t,r,i,s){r||(r=N),function a(c,f,p){var y=p||c.type,g=t[y];r[y](c,f,a),g&&g(c,f)}(e,i,s)}function fa(e,t,r,i,s){var a=[];r||(r=N),function c(f,p,y){var g=y||f.type,b=t[g],E=f!==a[a.length-1];E&&a.push(f),r[g](f,p,c),b&&b(f,p||a,a),E&&a.pop()}(e,i,s)}function Ar(e,t,r){r(e,t)}function $e(e,t,r){}var N={};N.Program=N.BlockStatement=function(e,t,r){for(var i=0,s=e.body;i=this.input.length&&this.raise(this.start,"Unterminated string constant");let k=this.input.charCodeAt(this.pos);if(k===m)break;k===38?(x+=this.input.slice(_,this.pos),x+=this.jsx_readEntity(),_=this.pos):L(k)?(x+=this.input.slice(_,this.pos),x+=this.jsx_readNewLine(!1),_=this.pos):++this.pos}return x+=this.input.slice(_,this.pos++),this.finishToken(E.string,x)}jsx_readEntity(){let m="",x=0,_,k=this.input[this.pos];k!=="&"&&this.raise(this.pos,"Entity must start with an ampersand");let B=++this.pos;for(;this.pos")}let G=B.name?"Element":"Fragment";return _["opening"+G]=B,_["closing"+G]=R,_.children=k,this.type===E.relational&&this.value==="<"&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(_,"JSX"+G)}jsx_parseText(){let m=this.parseLiteral(this.value);return m.type="JSXText",m}jsx_parseElement(){let m=this.start,x=this.startLoc;return this.next(),this.jsx_parseElementAt(m,x)}parseExprAtom(m){return this.type===S.jsxText?this.jsx_parseText():this.type===S.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(m)}readToken(m){let x=this.curContext();if(x===O)return this.jsx_readToken();if(x===v||x===P){if(V(m))return this.jsx_readWord();if(m==62)return++this.pos,this.finishToken(S.jsxTagEnd);if((m===34||m===39)&&x==v)return this.jsx_readString(m)}return m===60&&this.exprAllowed&&this.input.charCodeAt(this.pos+1)!==33?(++this.pos,this.finishToken(S.jsxTagStart)):super.readToken(m)}updateContext(m){if(this.type==E.braceL){var x=this.curContext();x==v?this.context.push(C.b_expr):x==O?this.context.push(C.b_tmpl):super.updateContext(m),this.exprAllowed=!0}else if(this.type===E.slash&&m===S.jsxTagStart)this.context.length-=2,this.context.push(P),this.exprAllowed=!1;else return super.updateContext(m)}}}})(on);var Sa=on.exports;const _a=pt(Sa);function un(e,t,r,i,s){r||(r=N),function a(u,f,p){var y=p||u.type,g=t[y];r[y](u,f,a),g&&g(u,f)}(e,i,s)}function Ea(e,t,r,i,s){var a=[];r||(r=N),function u(f,p,y){var g=y||f.type,b=t[g],E=f!==a[a.length-1];E&&a.push(f),r[g](f,p,u),b&&b(f,p||a,a),E&&a.pop()}(e,i,s)}function Ar(e,t,r){r(e,t)}function $e(e,t,r){}var N={};N.Program=N.BlockStatement=function(e,t,r){for(var i=0,s=e.body;i * * Copyright (c) 2014-2017, Jon Schlinkert. * Released under the MIT License. - */function oi(e){return Object.prototype.toString.call(e)==="[object Object]"}function Na(e){var t,r;return oi(e)===!1?!1:(t=e.constructor,t===void 0?!0:(r=t.prototype,!(oi(r)===!1||r.hasOwnProperty("isPrototypeOf")===!1)))}var un={},It=lt&<.__assign||function(){return It=Object.assign||function(e){for(var t,r=1,i=arguments.length;re.length)&&(t=e.length);for(var r=0,i=new Array(t);r0?e.length-1:0),i=e[e.length-1];return i&&(t.type==="string"||t.type==="number")&&(i.type==="string"||i.type==="number")?r.push(hn(String(i.value)+String(t.value))):(i&&r.push(i),r.push(t)),r},no=function(t){return["key","ref"].includes(t)},so=function(e){return function(t){var r=t.includes("key"),i=t.includes("ref"),s=t.filter(function(c){return!no(c)}),a=ui(e?s.sort():s);return i&&a.unshift("ref"),r&&a.unshift("key"),a}};function ao(e,t){return Array.isArray(t)?function(r){return t.indexOf(r)===-1}:function(r){return t(e[r],r)}}var oo=function(t,r,i,s,a){var c=a.tabStop;return t.type==="string"?r.split(` -`).map(function(f,p){return p===0?f:"".concat(Ie(s,c)).concat(f)}).join(` -`):r},uo=function(t,r,i){return function(s){return oo(s,Qt(s,t,r,i),t,r,i)}},lo=function(t,r){return function(i){var s=Object.keys(t).includes(i);return!s||s&&t[i]!==r[i]}},dn=function(t,r,i,s,a){return a?Ie(i,s).length+r.length>a:t.length>1},co=function(t,r,i,s,a,c,f){return(dn(t,r,a,c,f)||i)&&!s},mn=function(e,t,r,i){var s=e.type,a=e.displayName,c=a===void 0?"":a,f=e.childrens,p=e.props,y=p===void 0?{}:p,g=e.defaultProps,b=g===void 0?{}:g;if(s!=="ReactElement")throw new Error('The "formatReactElementNode" function could only format node of type "ReactElement". Given: '.concat(s));var E=i.filterProps,S=i.maxInlineAttributesLineLength,C=i.showDefaultProps,v=i.sortProps,P=i.tabStop,O="<".concat(c),L=O,V=O,A=!1,m=[],x=ao(y,E);Object.keys(y).filter(x).filter(lo(b,y)).forEach(function(B){return m.push(B)}),Object.keys(b).filter(x).filter(function(){return C}).filter(function(B){return!m.includes(B)}).forEach(function(B){return m.push(B)});var _=so(v)(m);if(_.forEach(function(B){var R=ro(B,Object.keys(y).includes(B),y[B],Object.keys(b).includes(B),b[B],t,r,i),G=R.attributeFormattedInline,q=R.attributeFormattedMultiline,D=R.isMultilineAttribute;D&&(A=!0),L+=G,V+=q}),V+=` + */var wr=Symbol.for("react.element"),kr=Symbol.for("react.portal"),jt=Symbol.for("react.fragment"),qt=Symbol.for("react.strict_mode"),Ut=Symbol.for("react.profiler"),Gt=Symbol.for("react.provider"),Wt=Symbol.for("react.context"),Ba=Symbol.for("react.server_context"),zt=Symbol.for("react.forward_ref"),$t=Symbol.for("react.suspense"),Jt=Symbol.for("react.suspense_list"),Xt=Symbol.for("react.memo"),Ht=Symbol.for("react.lazy"),Da=Symbol.for("react.offscreen"),hn;hn=Symbol.for("react.module.reference");function Ce(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case wr:switch(e=e.type,e){case jt:case Ut:case qt:case $t:case Jt:return e;default:switch(e=e&&e.$$typeof,e){case Ba:case Wt:case zt:case Ht:case Xt:case Gt:return e;default:return t}}case kr:return t}}}Z.ContextConsumer=Wt;Z.ContextProvider=Gt;Z.Element=wr;Z.ForwardRef=zt;Z.Fragment=jt;Z.Lazy=Ht;Z.Memo=Xt;Z.Portal=kr;Z.Profiler=Ut;Z.StrictMode=qt;Z.Suspense=$t;Z.SuspenseList=Jt;Z.isAsyncMode=function(){return!1};Z.isConcurrentMode=function(){return!1};Z.isContextConsumer=function(e){return Ce(e)===Wt};Z.isContextProvider=function(e){return Ce(e)===Gt};Z.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===wr};Z.isForwardRef=function(e){return Ce(e)===zt};Z.isFragment=function(e){return Ce(e)===jt};Z.isLazy=function(e){return Ce(e)===Ht};Z.isMemo=function(e){return Ce(e)===Xt};Z.isPortal=function(e){return Ce(e)===kr};Z.isProfiler=function(e){return Ce(e)===Ut};Z.isStrictMode=function(e){return Ce(e)===qt};Z.isSuspense=function(e){return Ce(e)===$t};Z.isSuspenseList=function(e){return Ce(e)===Jt};Z.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===jt||e===Ut||e===qt||e===$t||e===Jt||e===Da||typeof e=="object"&&e!==null&&(e.$$typeof===Ht||e.$$typeof===Xt||e.$$typeof===Gt||e.$$typeof===Wt||e.$$typeof===zt||e.$$typeof===hn||e.getModuleId!==void 0)};Z.typeOf=Ce;cn.exports=Z;var ke=cn.exports,Ie=function(e,t){return e===0?"":new Array(e*t).fill(" ").join("")};function ht(e){"@babel/helpers - typeof";return ht=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},ht(e)}function li(e){return Va(e)||ja(e)||qa(e)||Ua()}function Va(e){if(Array.isArray(e))return cr(e)}function ja(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function qa(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,i=new Array(t);r0?e.length-1:0),i=e[e.length-1];return i&&(t.type==="string"||t.type==="number")&&(i.type==="string"||i.type==="number")?r.push(fn(String(i.value)+String(t.value))):(i&&r.push(i),r.push(t)),r},no=function(t){return["key","ref"].includes(t)},so=function(e){return function(t){var r=t.includes("key"),i=t.includes("ref"),s=t.filter(function(u){return!no(u)}),a=li(e?s.sort():s);return i&&a.unshift("ref"),r&&a.unshift("key"),a}};function ao(e,t){return Array.isArray(t)?function(r){return t.indexOf(r)===-1}:function(r){return t(e[r],r)}}var oo=function(t,r,i,s,a){var u=a.tabStop;return t.type==="string"?r.split(` +`).map(function(f,p){return p===0?f:"".concat(Ie(s,u)).concat(f)}).join(` +`):r},uo=function(t,r,i){return function(s){return oo(s,Qt(s,t,r,i),t,r,i)}},lo=function(t,r){return function(i){var s=Object.keys(t).includes(i);return!s||s&&t[i]!==r[i]}},mn=function(t,r,i,s,a){return a?Ie(i,s).length+r.length>a:t.length>1},co=function(t,r,i,s,a,u,f){return(mn(t,r,a,u,f)||i)&&!s},gn=function(e,t,r,i){var s=e.type,a=e.displayName,u=a===void 0?"":a,f=e.childrens,p=e.props,y=p===void 0?{}:p,g=e.defaultProps,b=g===void 0?{}:g;if(s!=="ReactElement")throw new Error('The "formatReactElementNode" function could only format node of type "ReactElement". Given: '.concat(s));var E=i.filterProps,S=i.maxInlineAttributesLineLength,C=i.showDefaultProps,v=i.sortProps,P=i.tabStop,O="<".concat(u),L=O,V=O,A=!1,m=[],x=ao(y,E);Object.keys(y).filter(x).filter(lo(b,y)).forEach(function(B){return m.push(B)}),Object.keys(b).filter(x).filter(function(){return C}).filter(function(B){return!m.includes(B)}).forEach(function(B){return m.push(B)});var _=so(v)(m);if(_.forEach(function(B){var R=ro(B,Object.keys(y).includes(B),y[B],Object.keys(b).includes(B),b[B],t,r,i),G=R.attributeFormattedInline,q=R.attributeFormattedMultiline,D=R.isMultilineAttribute;D&&(A=!0),L+=G,V+=q}),V+=` `.concat(Ie(r,P)),co(_,L,A,t,r,P,S)?O=V:O=L,f&&f.length>0){var k=r+1;O+=">",t||(O+=` `,O+=Ie(k,P)),O+=f.reduce(io,[]).map(uo(t,k,i)).join(t?"":` `.concat(Ie(k,P))),t||(O+=` -`,O+=Ie(k-1,P)),O+="")}else dn(_,L,r,P,S)||(O+=" "),O+="/>";return O},ho="",fi="React.Fragment",fo=function(t,r,i){var s={};return r&&(s={key:r}),{type:"ReactElement",displayName:t,props:s,defaultProps:{},childrens:i}},po=function(t){var r=t.key;return!!r},mo=function(t){var r=t.childrens;return r.length===0},go=function(e,t,r,i){var s=e.type,a=e.key,c=e.childrens;if(s!=="ReactFragment")throw new Error('The "formatReactFragmentNode" function could only format node of type "ReactFragment". Given: '.concat(s));var f=i.useFragmentShortSyntax,p;return f?mo(e)||po(e)?p=fi:p=ho:p=fi,mn(fo(p,a,c),t,r,i)},yo=["<",">","{","}"],vo=function(t){return yo.some(function(r){return t.includes(r)})},xo=function(t){return vo(t)?"{`".concat(t,"`}"):t},bo=function(t){var r=t;return r.endsWith(" ")&&(r=r.replace(/^(.*?)(\s+)$/,"$1{'$2'}")),r.startsWith(" ")&&(r=r.replace(/^(\s+)(.*)$/,"{'$1'}$2")),r},Qt=function(e,t,r,i){if(e.type==="number")return String(e.value);if(e.type==="string")return e.value?"".concat(bo(xo(String(e.value)))):"";if(e.type==="ReactElement")return mn(e,t,r,i);if(e.type==="ReactFragment")return go(e,t,r,i);throw new TypeError('Unknow format type "'.concat(e.type,'"'))},So=function(e,t){return Qt(e,!1,0,t)},ut=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.filterProps,s=i===void 0?[]:i,a=r.showDefaultProps,c=a===void 0?!0:a,f=r.showFunctions,p=f===void 0?!1:f,y=r.functionValue,g=r.tabStop,b=g===void 0?2:g,E=r.useBooleanShorthandSyntax,S=E===void 0?!0:E,C=r.useFragmentShortSyntax,v=C===void 0?!0:C,P=r.sortProps,O=P===void 0?!0:P,L=r.maxInlineAttributesLineLength,V=r.displayName;if(!t)throw new Error("react-element-to-jsx-string: Expected a ReactElement");var A={filterProps:s,showDefaultProps:c,showFunctions:p,functionValue:y,tabStop:b,useBooleanShorthandSyntax:S,useFragmentShortSyntax:v,sortProps:O,maxInlineAttributesLineLength:L,displayName:V};return So(Tr(t,A),A)};const{defaultDecorateStory:_o,addons:Eo,useEffect:Co}=__STORYBOOK_MODULE_PREVIEW_API__,{logger:At}=__STORYBOOK_MODULE_CLIENT_LOGGER__;function Ao(e,t){let r=e!=null,i=t!=null;if(!r&&!i)return"";let s=[];if(r){let a=e.map(c=>{let f=c.getPrettyName(),p=c.getTypeName();return p!=null?`${f}: ${p}`:f});s.push(`(${a.join(", ")})`)}else s.push("()");return i&&s.push(`=> ${t.getTypeName()}`),s.join(" ")}function wo(e,t){let r=e!=null,i=t!=null;if(!r&&!i)return"";let s=[];return r?s.push("( ... )"):s.push("()"),i&&s.push(`=> ${t.getTypeName()}`),s.join(" ")}function ko(e){return e.replace(/,/g,`,\r -`)}var fr="custom",yt="object",Pr="array",To="class",Ke="func",tt="element";function Ir(e){return hs.includes(e.toLowerCase())}var gn={format:{indent:{style:" "},semicolons:!1}},Po={...gn,format:{newline:""}},Io={...gn};function Me(e,t=!1){return Ai.generate(e,t?Po:Io)}function pr(e,t=!1){return t?No(e):Me(e)}function No(e){let t=Me(e,!0);return t.endsWith(" }")||(t=`${t.slice(0,-1)} }`),t}function pi(e,t=!1){return t?Oo(e):Lo(e)}function Lo(e){let t=Me(e);return t.endsWith(" }]")&&(t=is(t)),t}function Oo(e){let t=Me(e,!0);return t.startsWith("[ ")&&(t=t.replace("[ ","[")),t}var yn=e=>e.$$typeof===Symbol.for("react.memo"),Ro=e=>e.$$typeof===Symbol.for("react.forward_ref"),Nr={...N,JSXElement:()=>{}},Fo=re.extend(ha());function vt(e){return e!=null?e.name:null}function di(e){return e.filter(t=>t.type==="ObjectExpression"||t.type==="ArrayExpression")}function vn(e){let t=[];return fa(e,{ObjectExpression(r,i){t.push(di(i).length)},ArrayExpression(r,i){t.push(di(i).length)}},Nr),Math.max(...t)}function Mo(e){return{inferredType:{type:"Identifier",identifier:vt(e)},ast:e}}function Bo(e){return{inferredType:{type:"Literal"},ast:e}}function Do(e){let t;an(e.body,{JSXElement(s){t=s}},Nr);let r={type:t!=null?"Element":"Function",params:e.params,hasParams:e.params.length!==0},i=vt(e.id);return i!=null&&(r.identifier=i),{inferredType:r,ast:e}}function Vo(e){let t;return an(e.body,{JSXElement(r){t=r}},Nr),{inferredType:{type:t!=null?"Element":"Class",identifier:vt(e.id)},ast:e}}function jo(e){let t={type:"Element"},r=vt(e.openingElement.name);return r!=null&&(t.identifier=r),{inferredType:t,ast:e}}function qo(e){let t=e.callee.type==="MemberExpression"?e.callee.property:e.callee;return vt(t)==="shape"?xn(e.arguments[0]):null}function xn(e){return{inferredType:{type:"Object",depth:vn(e)},ast:e}}function Uo(e){return{inferredType:{type:"Array",depth:vn(e)},ast:e}}function Go(e){switch(e.type){case"Identifier":return Mo(e);case"Literal":return Bo(e);case"FunctionExpression":case"ArrowFunctionExpression":return Do(e);case"ClassExpression":return Vo(e);case"JSXElement":return jo(e);case"CallExpression":return qo(e);case"ObjectExpression":return xn(e);case"ArrayExpression":return Uo(e);default:return null}}function Wo(e){let t=Fo.parse(`(${e})`,{ecmaVersion:2020}),r={inferredType:{type:"Unknown"},ast:t};if(t.body[0]!=null){let i=t.body[0];switch(i.type){case"ExpressionStatement":{let s=Go(i.expression);s!=null&&(r=s);break}}}return r}function Be(e){try{return{...Wo(e)}}catch{}return{inferredType:{type:"Unknown"}}}var zo=150;function de({name:e,short:t,compact:r,full:i,inferredType:s}){return{name:e,short:t,compact:r,full:i??t,inferredType:s}}function bn(e){return e.replace(/PropTypes./g,"").replace(/.isRequired/g,"")}function mi(e){return e.split(/\r?\n/)}function Nt(e,t=!1){return bn(pr(e,t))}function gi(e,t=!1){return bn(Me(e,t))}function $o(e){switch(e){case"Object":return yt;case"Array":return Pr;case"Class":return To;case"Function":return Ke;case"Element":return tt;default:return fr}}function Sn(e,t){let{inferredType:r,ast:i}=Be(e),{type:s}=r,a,c,f;switch(s){case"Identifier":case"Literal":a=e,c=e;break;case"Object":{let{depth:p}=r;a=yt,c=p===1?Nt(i,!0):null,f=Nt(i);break}case"Element":{let{identifier:p}=r;a=p!=null&&!Ir(p)?p:tt,c=mi(e).length===1?e:null,f=e;break}case"Array":{let{depth:p}=r;a=Pr,c=p<=2?gi(i,!0):null,f=gi(i);break}default:a=$o(s),c=mi(e).length===1?e:null,f=e;break}return de({name:t,short:a,compact:c,full:f,inferredType:s})}function Jo({raw:e}){return e!=null?Sn(e,"custom"):de({name:"custom",short:fr,compact:fr})}function Xo(e){let{jsDocTags:t}=e;return t!=null&&(t.params!=null||t.returns!=null)?de({name:"func",short:wo(t.params,t.returns),compact:null,full:Ao(t.params,t.returns)}):de({name:"func",short:Ke,compact:Ke})}function Ho(e,t){let r=Object.keys(e.value).map(c=>`${c}: ${Ze(e.value[c],t).full}`).join(", "),{inferredType:i,ast:s}=Be(`{ ${r} }`),{depth:a}=i;return de({name:"shape",short:yt,compact:a===1&&s?Nt(s,!0):null,full:s?Nt(s):null})}function or(e){return`objectOf(${e})`}function Qo(e,t){let{short:r,compact:i,full:s}=Ze(e.value,t);return de({name:"objectOf",short:or(r),compact:i!=null?or(i):null,full:s&&or(s)})}function Yo(e,t){if(Array.isArray(e.value)){let r=e.value.reduce((i,s)=>{let{short:a,compact:c,full:f}=Ze(s,t);return i.short.push(a),i.compact.push(c),i.full.push(f),i},{short:[],compact:[],full:[]});return de({name:"union",short:r.short.join(" | "),compact:r.compact.every(i=>i!=null)?r.compact.join(" | "):null,full:r.full.join(" | ")})}return de({name:"union",short:e.value,compact:null})}function Ko({value:e,computed:t}){return t?Sn(e,"enumvalue"):de({name:"enumvalue",short:e,compact:e})}function Zo(e){if(Array.isArray(e.value)){let t=e.value.reduce((r,i)=>{let{short:s,compact:a,full:c}=Ko(i);return r.short.push(s),r.compact.push(a),r.full.push(c),r},{short:[],compact:[],full:[]});return de({name:"enum",short:t.short.join(" | "),compact:t.compact.every(r=>r!=null)?t.compact.join(" | "):null,full:t.full.join(" | ")})}return de({name:"enum",short:e.value,compact:e.value})}function dr(e){return`${e}[]`}function yi(e){return`[${e}]`}function vi(e,t,r){return de({name:"arrayOf",short:dr(e),compact:t!=null?yi(t):null,full:r&&yi(r)})}function eu(e,t){let{name:r,short:i,compact:s,full:a,inferredType:c}=Ze(e.value,t);if(r==="custom"){if(c==="Object")return vi(i,s,a)}else if(r==="shape")return vi(i,s,a);return de({name:"arrayOf",short:dr(i),compact:dr(i)})}function Ze(e,t){try{switch(e.name){case"custom":return Jo(e);case"func":return Xo(t);case"shape":return Ho(e,t);case"instanceOf":return de({name:"instanceOf",short:e.value,compact:e.value});case"objectOf":return Qo(e,t);case"union":return Yo(e,t);case"enum":return Zo(e);case"arrayOf":return eu(e,t);default:return de({name:e.name,short:e.name,compact:e.name})}}catch(r){console.error(r)}return de({name:"unknown",short:"unknown",compact:"unknown"})}function tu(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:i,full:s}=Ze(t,e);return i!=null&&!ts(i)?te(i):s?te(r,s):te(r)}case"func":{let{short:r,full:i}=Ze(t,e),s=r,a;return i&&i.length`}function Cn(e){let{type:t,identifier:r}=e;switch(t){case"Function":return Lr(r,e.hasParams);case"Element":return Yt(r);default:return r}}function ru({inferredType:e,ast:t}){let{identifier:r}=e;if(r!=null)return te(Cn(e),Me(t));let i=Me(t,!0);return ft(i)?te(Ke,Me(t)):te(i)}function iu(e,t){let{inferredType:r}=t,{identifier:i}=r;if(i!=null&&!Ir(i)){let s=Cn(r);return te(s,e)}return ft(e)?te(tt,e):te(e)}function An(e){try{let t=Be(e);switch(t.inferredType.type){case"Object":return _n(t);case"Function":return ru(t);case"Element":return iu(e,t);case"Array":return En(t);default:return null}}catch(t){console.error(t)}return null}function wn(e){return e.$$typeof!=null}function kn(e,t){let{name:r}=e;return r!==""&&r!=="anonymous"&&r!==t?r:null}var nu=e=>te(JSON.stringify(e));function su(e){let{type:t}=e,{displayName:r}=t,i=ut(e,{});if(r!=null){let s=Yt(r);return te(s,i)}if(Ia(t)&&Ir(t)){let s=ut(e,{tabStop:0}).replace(/\r?\n|\r/g,"");if(!ft(s))return te(s)}return te(tt,i)}var au=e=>{if(wn(e)&&e.type!=null)return su(e);if(Ea(e)){let t=Be(JSON.stringify(e));return _n(t)}if(Array.isArray(e)){let t=Be(JSON.stringify(e));return En(t)}return te(yt)},ou=(e,t)=>{let r=!1,i;if(Gr(e.render))r=!0;else if(e.prototype!=null&&Gr(e.prototype.render))r=!0;else{let a;try{i=Be(e.toString());let{hasParams:c,params:f}=i.inferredType;c?f.length===1&&f[0].type==="ObjectPattern"&&(a=e({})):a=e(),a!=null&&wn(a)&&(r=!0)}catch{}}let s=kn(e,t.name);if(s!=null){if(r)return te(Yt(s));i!=null&&(i=Be(e.toString()));let{hasParams:a}=i.inferredType;return te(Lr(s,a))}return te(r?tt:Ke)},uu=e=>te(e.toString()),Tn={string:nu,object:au,function:ou,default:uu};function lu(e={}){return{...Tn,...e}}function Pn(e,t,r=Tn){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(i){console.error(i)}return null}function cu(e,t){let{propTypes:r}=t;return r!=null?Object.keys(r).map(i=>e.find(s=>s.name===i)).filter(Boolean):e}var hu=(e,{name:t,type:r})=>{let i=r.summary==="element"||r.summary==="elementType",s=kn(e,t);if(s!=null){if(i)return te(Yt(s));let{hasParams:a}=Be(e.toString()).inferredType;return te(Lr(s,a))}return te(i?tt:Ke)},fu=lu({function:hu});function pu(e,t){let{propDef:r}=e,i=tu(e);i!=null&&(r.type=i);let{defaultValue:s}=e.docgenInfo;if(s!=null&&s.value!=null){let a=An(s.value);a!=null&&(r.defaultValue=a)}else if(t!=null){let a=Pn(t,r,fu);a!=null&&(r.defaultValue=a)}return r}function du(e,t){let r=t.defaultProps!=null?t.defaultProps:{},i=e.map(s=>pu(s,r[s.propDef.name]));return cu(i,t)}function mu(e,t){let{propDef:r}=e,{defaultValue:i}=e.docgenInfo;if(i!=null&&i.value!=null){let s=An(i.value);s!=null&&(r.defaultValue=s)}else if(t!=null){let s=Pn(t,r);s!=null&&(r.defaultValue=s)}return r}function gu(e){return e.map(t=>mu(t))}var xi=new Map;Object.keys(zr).forEach(e=>{let t=zr[e];xi.set(t,e),xi.set(t.isRequired,e)});function yu(e,t){let r=e;!Zn(e)&&!e.propTypes&&yn(e)&&(r=e.type);let i=es(r,t);if(i.length===0)return[];switch(i[0].typeSystem){case Wr.JAVASCRIPT:return du(i,e);case Wr.TYPESCRIPT:return gu(i);default:return i.map(s=>s.propDef)}}var vu=e=>({rows:yu(e,"props")}),xu=e=>{if(e){let{rows:t}=vu(e);if(t)return t.reduce((r,i)=>{let{name:s,description:a,type:c,sbType:f,defaultValue:p,jsDocTags:y,required:g}=i;return r[s]={name:s,description:a,type:{required:g,...f},table:{type:c,jsDocTags:y,defaultValue:p}},r},{})}return null};function mr(e){if(We.isValidElement(e)){let t=Object.keys(e.props).reduce((r,i)=>(r[i]=mr(e.props[i]),r),{});return{...e,props:t,_owner:null}}return Array.isArray(e)?e.map(mr):e}var bu=(e,t)=>{if(typeof e>"u")return At.warn("Too many skip or undefined component"),null;let r=e,i=r.type;for(let a=0;a"u")return At.warn("Cannot skip undefined element"),null;if(at.Children.count(r)>1)return At.warn("Trying to skip an array of elements"),null;typeof r.props.children>"u"?(At.warn("Not enough children to skip elements."),typeof r.type=="function"&&r.type.name===""&&(r=at.createElement(i,{...r.props}))):typeof r.props.children=="function"?r=r.props.children():r=r.props.children}let s={...typeof t.displayName=="string"?{showFunctions:!0,displayName:()=>t.displayName}:{displayName:a=>a.type.displayName||(a.type===Symbol.for("react.profiler")?"Profiler":null)||Kn(a.type,"displayName")||(a.type.name!=="_default"?a.type.name:null)||(typeof a.type=="function"?"No Display Name":null)||(Ro(a.type)?a.type.render.name:null)||(yn(a.type)?a.type.type.name:null)||a.type},filterProps:(a,c)=>a!==void 0,...t};return at.Children.map(e,a=>{let c=typeof a=="number"?a.toString():a,f=(typeof ut=="function"?ut:ut.default)(mr(c),s);if(f.indexOf(""")>-1){let p=f.match(/\S+=\\"([^"]*)\\"/g);p&&p.forEach(y=>{f=f.replace(y,y.replace(/"/g,"'"))})}return f}).join(` -`).replace(/function\s+noRefCheck\(\)\s+\{\}/g,"() => {}")},Su={skip:0,showFunctions:!1,enableBeautify:!0,showDefaultProps:!1},_u=e=>{var i;let t=(i=e==null?void 0:e.parameters.docs)==null?void 0:i.source,r=e==null?void 0:e.parameters.__isArgsStory;return(t==null?void 0:t.type)===Ur.DYNAMIC?!1:!r||(t==null?void 0:t.code)||(t==null?void 0:t.type)===Ur.CODE},Eu=e=>{var t,r;return((t=e.type)==null?void 0:t.displayName)==="MDXCreateElement"&&!!((r=e.props)!=null&&r.mdxType)},In=e=>{if(!Eu(e))return e;let{mdxType:t,originalType:r,children:i,...s}=e.props,a=[];return i&&(a=(Array.isArray(i)?i:[i]).map(In)),We.createElement(r,s,...a)},Nn=(e,t)=>{var g,b;let r=Eo.getChannel(),i=_u(t),s="";Co(()=>{if(!i){let{id:E,unmappedArgs:S}=t;r.emit(Yn,{id:E,source:s,args:S})}});let a=e();if(i)return a;let c={...Su,...(t==null?void 0:t.parameters.jsx)||{}},f=(b=(g=t==null?void 0:t.parameters.docs)==null?void 0:g.source)!=null&&b.excludeDecorators?t.originalStoryFn(t.args,t):a,p=In(f),y=bu(p,c);return y&&(s=y),a},Tu=(e,t)=>{let r=t.findIndex(s=>s.originalFn===Nn),i=r===-1?t:[...t.splice(r,1),...t];return _o(e,i)},Pu={docs:{story:{inline:!0},extractArgTypes:xu,extractComponentDescription:Hn}},Iu=[Nn],Nu=[Qn];export{Tu as applyDecorators,Nu as argTypesEnhancers,Iu as decorators,Pu as parameters}; +`,O+=Ie(k-1,P)),O+="")}else mn(_,L,r,P,S)||(O+=" "),O+="/>";return O},ho="",pi="React.Fragment",fo=function(t,r,i){var s={};return r&&(s={key:r}),{type:"ReactElement",displayName:t,props:s,defaultProps:{},childrens:i}},po=function(t){var r=t.key;return!!r},mo=function(t){var r=t.childrens;return r.length===0},go=function(e,t,r,i){var s=e.type,a=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 f=i.useFragmentShortSyntax,p;return f?mo(e)||po(e)?p=pi:p=ho:p=pi,gn(fo(p,a,u),t,r,i)},yo=["<",">","{","}"],vo=function(t){return yo.some(function(r){return t.includes(r)})},xo=function(t){return vo(t)?"{`".concat(t,"`}"):t},bo=function(t){var r=t;return r.endsWith(" ")&&(r=r.replace(/^(.*?)(\s+)$/,"$1{'$2'}")),r.startsWith(" ")&&(r=r.replace(/^(\s+)(.*)$/,"{'$1'}$2")),r},Qt=function(e,t,r,i){if(e.type==="number")return String(e.value);if(e.type==="string")return e.value?"".concat(bo(xo(String(e.value)))):"";if(e.type==="ReactElement")return gn(e,t,r,i);if(e.type==="ReactFragment")return go(e,t,r,i);throw new TypeError('Unknow format type "'.concat(e.type,'"'))},So=function(e,t){return Qt(e,!1,0,t)},ut=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.filterProps,s=i===void 0?[]:i,a=r.showDefaultProps,u=a===void 0?!0:a,f=r.showFunctions,p=f===void 0?!1:f,y=r.functionValue,g=r.tabStop,b=g===void 0?2:g,E=r.useBooleanShorthandSyntax,S=E===void 0?!0:E,C=r.useFragmentShortSyntax,v=C===void 0?!0:C,P=r.sortProps,O=P===void 0?!0:P,L=r.maxInlineAttributesLineLength,V=r.displayName;if(!t)throw new Error("react-element-to-jsx-string: Expected a ReactElement");var A={filterProps:s,showDefaultProps:u,showFunctions:p,functionValue:y,tabStop:b,useBooleanShorthandSyntax:S,useFragmentShortSyntax:v,sortProps:O,maxInlineAttributesLineLength:L,displayName:V};return So(Tr(t,A),A)};const{defaultDecorateStory:_o,addons:Eo,useEffect:Co}=__STORYBOOK_MODULE_PREVIEW_API__,{logger:At}=__STORYBOOK_MODULE_CLIENT_LOGGER__;function Ao(e,t){let r=e!=null,i=t!=null;if(!r&&!i)return"";let s=[];if(r){let a=e.map(u=>{let f=u.getPrettyName(),p=u.getTypeName();return p!=null?`${f}: ${p}`:f});s.push(`(${a.join(", ")})`)}else s.push("()");return i&&s.push(`=> ${t.getTypeName()}`),s.join(" ")}function wo(e,t){let r=e!=null,i=t!=null;if(!r&&!i)return"";let s=[];return r?s.push("( ... )"):s.push("()"),i&&s.push(`=> ${t.getTypeName()}`),s.join(" ")}function ko(e){return e.replace(/,/g,`,\r +`)}var fr="custom",yt="object",Pr="array",To="class",Ke="func",tt="element";function Ir(e){return _s.includes(e.toLowerCase())}var yn={format:{indent:{style:" "},semicolons:!1}},Po={...yn,format:{newline:""}},Io={...yn};function Me(e,t=!1){return ki.generate(e,t?Po:Io)}function pr(e,t=!1){return t?No(e):Me(e)}function No(e){let t=Me(e,!0);return t.endsWith(" }")||(t=`${t.slice(0,-1)} }`),t}function di(e,t=!1){return t?Oo(e):Lo(e)}function Lo(e){let t=Me(e);return t.endsWith(" }]")&&(t=is(t)),t}function Oo(e){let t=Me(e,!0);return t.startsWith("[ ")&&(t=t.replace("[ ","[")),t}var vn=e=>e.$$typeof===Symbol.for("react.memo"),Ro=e=>e.$$typeof===Symbol.for("react.forward_ref"),Nr={...N,JSXElement:()=>{}},Fo=re.extend(_a());function vt(e){return e!=null?e.name:null}function mi(e){return e.filter(t=>t.type==="ObjectExpression"||t.type==="ArrayExpression")}function xn(e){let t=[];return Ea(e,{ObjectExpression(r,i){t.push(mi(i).length)},ArrayExpression(r,i){t.push(mi(i).length)}},Nr),Math.max(...t)}function Mo(e){return{inferredType:{type:"Identifier",identifier:vt(e)},ast:e}}function Bo(e){return{inferredType:{type:"Literal"},ast:e}}function Do(e){let t;un(e.body,{JSXElement(s){t=s}},Nr);let r={type:t!=null?"Element":"Function",params:e.params,hasParams:e.params.length!==0},i=vt(e.id);return i!=null&&(r.identifier=i),{inferredType:r,ast:e}}function Vo(e){let t;return un(e.body,{JSXElement(r){t=r}},Nr),{inferredType:{type:t!=null?"Element":"Class",identifier:vt(e.id)},ast:e}}function jo(e){let t={type:"Element"},r=vt(e.openingElement.name);return r!=null&&(t.identifier=r),{inferredType:t,ast:e}}function qo(e){let t=e.callee.type==="MemberExpression"?e.callee.property:e.callee;return vt(t)==="shape"?bn(e.arguments[0]):null}function bn(e){return{inferredType:{type:"Object",depth:xn(e)},ast:e}}function Uo(e){return{inferredType:{type:"Array",depth:xn(e)},ast:e}}function Go(e){switch(e.type){case"Identifier":return Mo(e);case"Literal":return Bo(e);case"FunctionExpression":case"ArrowFunctionExpression":return Do(e);case"ClassExpression":return Vo(e);case"JSXElement":return jo(e);case"CallExpression":return qo(e);case"ObjectExpression":return bn(e);case"ArrayExpression":return Uo(e);default:return null}}function Wo(e){let t=Fo.parse(`(${e})`,{ecmaVersion:2020}),r={inferredType:{type:"Unknown"},ast:t};if(t.body[0]!=null){let i=t.body[0];switch(i.type){case"ExpressionStatement":{let s=Go(i.expression);s!=null&&(r=s);break}}}return r}function Be(e){try{return{...Wo(e)}}catch{}return{inferredType:{type:"Unknown"}}}var zo=150;function de({name:e,short:t,compact:r,full:i,inferredType:s}){return{name:e,short:t,compact:r,full:i??t,inferredType:s}}function Sn(e){return e.replace(/PropTypes./g,"").replace(/.isRequired/g,"")}function gi(e){return e.split(/\r?\n/)}function Nt(e,t=!1){return Sn(pr(e,t))}function yi(e,t=!1){return Sn(Me(e,t))}function $o(e){switch(e){case"Object":return yt;case"Array":return Pr;case"Class":return To;case"Function":return Ke;case"Element":return tt;default:return fr}}function _n(e,t){let{inferredType:r,ast:i}=Be(e),{type:s}=r,a,u,f;switch(s){case"Identifier":case"Literal":a=e,u=e;break;case"Object":{let{depth:p}=r;a=yt,u=p===1?Nt(i,!0):null,f=Nt(i);break}case"Element":{let{identifier:p}=r;a=p!=null&&!Ir(p)?p:tt,u=gi(e).length===1?e:null,f=e;break}case"Array":{let{depth:p}=r;a=Pr,u=p<=2?yi(i,!0):null,f=yi(i);break}default:a=$o(s),u=gi(e).length===1?e:null,f=e;break}return de({name:t,short:a,compact:u,full:f,inferredType:s})}function Jo({raw:e}){return e!=null?_n(e,"custom"):de({name:"custom",short:fr,compact:fr})}function Xo(e){let{jsDocTags:t}=e;return t!=null&&(t.params!=null||t.returns!=null)?de({name:"func",short:wo(t.params,t.returns),compact:null,full:Ao(t.params,t.returns)}):de({name:"func",short:Ke,compact:Ke})}function Ho(e,t){let r=Object.keys(e.value).map(u=>`${u}: ${Ze(e.value[u],t).full}`).join(", "),{inferredType:i,ast:s}=Be(`{ ${r} }`),{depth:a}=i;return de({name:"shape",short:yt,compact:a===1&&s?Nt(s,!0):null,full:s?Nt(s):null})}function or(e){return`objectOf(${e})`}function Qo(e,t){let{short:r,compact:i,full:s}=Ze(e.value,t);return de({name:"objectOf",short:or(r),compact:i!=null?or(i):null,full:s&&or(s)})}function Yo(e,t){if(Array.isArray(e.value)){let r=e.value.reduce((i,s)=>{let{short:a,compact:u,full:f}=Ze(s,t);return i.short.push(a),i.compact.push(u),i.full.push(f),i},{short:[],compact:[],full:[]});return de({name:"union",short:r.short.join(" | "),compact:r.compact.every(i=>i!=null)?r.compact.join(" | "):null,full:r.full.join(" | ")})}return de({name:"union",short:e.value,compact:null})}function Ko({value:e,computed:t}){return t?_n(e,"enumvalue"):de({name:"enumvalue",short:e,compact:e})}function Zo(e){if(Array.isArray(e.value)){let t=e.value.reduce((r,i)=>{let{short:s,compact:a,full:u}=Ko(i);return r.short.push(s),r.compact.push(a),r.full.push(u),r},{short:[],compact:[],full:[]});return de({name:"enum",short:t.short.join(" | "),compact:t.compact.every(r=>r!=null)?t.compact.join(" | "):null,full:t.full.join(" | ")})}return de({name:"enum",short:e.value,compact:e.value})}function dr(e){return`${e}[]`}function vi(e){return`[${e}]`}function xi(e,t,r){return de({name:"arrayOf",short:dr(e),compact:t!=null?vi(t):null,full:r&&vi(r)})}function eu(e,t){let{name:r,short:i,compact:s,full:a,inferredType:u}=Ze(e.value,t);if(r==="custom"){if(u==="Object")return xi(i,s,a)}else if(r==="shape")return xi(i,s,a);return de({name:"arrayOf",short:dr(i),compact:dr(i)})}function Ze(e,t){try{switch(e.name){case"custom":return Jo(e);case"func":return Xo(t);case"shape":return Ho(e,t);case"instanceOf":return de({name:"instanceOf",short:e.value,compact:e.value});case"objectOf":return Qo(e,t);case"union":return Yo(e,t);case"enum":return Zo(e);case"arrayOf":return eu(e,t);default:return de({name:e.name,short:e.name,compact:e.name})}}catch(r){console.error(r)}return de({name:"unknown",short:"unknown",compact:"unknown"})}function tu(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:i,full:s}=Ze(t,e);return i!=null&&!ts(i)?te(i):s?te(r,s):te(r)}case"func":{let{short:r,full:i}=Ze(t,e),s=r,a;return i&&i.length`}function An(e){let{type:t,identifier:r}=e;switch(t){case"Function":return Lr(r,e.hasParams);case"Element":return Yt(r);default:return r}}function ru({inferredType:e,ast:t}){let{identifier:r}=e;if(r!=null)return te(An(e),Me(t));let i=Me(t,!0);return ft(i)?te(Ke,Me(t)):te(i)}function iu(e,t){let{inferredType:r}=t,{identifier:i}=r;if(i!=null&&!Ir(i)){let s=An(r);return te(s,e)}return ft(e)?te(tt,e):te(e)}function wn(e){try{let t=Be(e);switch(t.inferredType.type){case"Object":return En(t);case"Function":return ru(t);case"Element":return iu(e,t);case"Array":return Cn(t);default:return null}}catch(t){console.error(t)}return null}function kn(e){return e.$$typeof!=null}function Tn(e,t){let{name:r}=e;return r!==""&&r!=="anonymous"&&r!==t?r:null}var nu=e=>te(JSON.stringify(e));function su(e){let{type:t}=e,{displayName:r}=t,i=ut(e,{});if(r!=null){let s=Yt(r);return te(s,i)}if(Ia(t)&&Ir(t)){let s=ut(e,{tabStop:0}).replace(/\r?\n|\r/g,"");if(!ft(s))return te(s)}return te(tt,i)}var au=e=>{if(kn(e)&&e.type!=null)return su(e);if(ds(e)){let t=Be(JSON.stringify(e));return En(t)}if(Array.isArray(e)){let t=Be(JSON.stringify(e));return Cn(t)}return te(yt)},ou=(e,t)=>{let r=!1,i;if(Wr(e.render))r=!0;else if(e.prototype!=null&&Wr(e.prototype.render))r=!0;else{let a;try{i=Be(e.toString());let{hasParams:u,params:f}=i.inferredType;u?f.length===1&&f[0].type==="ObjectPattern"&&(a=e({})):a=e(),a!=null&&kn(a)&&(r=!0)}catch{}}let s=Tn(e,t.name);if(s!=null){if(r)return te(Yt(s));i!=null&&(i=Be(e.toString()));let{hasParams:a}=i.inferredType;return te(Lr(s,a))}return te(r?tt:Ke)},uu=e=>te(e.toString()),Pn={string:nu,object:au,function:ou,default:uu};function lu(e={}){return{...Pn,...e}}function In(e,t,r=Pn){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(i){console.error(i)}return null}function cu(e,t){let{propTypes:r}=t;return r!=null?Object.keys(r).map(i=>e.find(s=>s.name===i)).filter(Boolean):e}var hu=(e,{name:t,type:r})=>{let i=(r==null?void 0:r.summary)==="element"||(r==null?void 0:r.summary)==="elementType",s=Tn(e,t);if(s!=null){if(i)return te(Yt(s));let{hasParams:a}=Be(e.toString()).inferredType;return te(Lr(s,a))}return te(i?tt:Ke)},fu=lu({function:hu});function pu(e,t){let{propDef:r}=e,i=tu(e);i!=null&&(r.type=i);let{defaultValue:s}=e.docgenInfo;if(s!=null&&s.value!=null){let a=wn(s.value);a!=null&&(r.defaultValue=a)}else if(t!=null){let a=In(t,r,fu);a!=null&&(r.defaultValue=a)}return r}function du(e,t){let r=t.defaultProps!=null?t.defaultProps:{},i=e.map(s=>pu(s,r[s.propDef.name]));return cu(i,t)}function mu(e,t){let{propDef:r}=e,{defaultValue:i}=e.docgenInfo;if(i!=null&&i.value!=null){let s=wn(i.value);s!=null&&(r.defaultValue=s)}else if(t!=null){let s=In(t,r);s!=null&&(r.defaultValue=s)}return r}function gu(e){return e.map(t=>mu(t))}var bi=new Map;Object.keys($r).forEach(e=>{let t=$r[e];bi.set(t,e),bi.set(t.isRequired,e)});function yu(e,t){let r=e;!Zn(e)&&!e.propTypes&&vn(e)&&(r=e.type);let i=es(r,t);if(i.length===0)return[];switch(i[0].typeSystem){case zr.JAVASCRIPT:return du(i,e);case zr.TYPESCRIPT:return gu(i);default:return i.map(s=>s.propDef)}}var vu=e=>({rows:yu(e,"props")}),xu=e=>{if(e){let{rows:t}=vu(e);if(t)return t.reduce((r,i)=>{let{name:s,description:a,type:u,sbType:f,defaultValue:p,jsDocTags:y,required:g}=i;return r[s]={name:s,description:a,type:{required:g,...f},table:{type:u,jsDocTags:y,defaultValue:p}},r},{})}return null},bu=e=>e.charAt(0).toUpperCase()+e.slice(1),Su=e=>(e.$$typeof||e).toString().replace(/^Symbol\((.*)\)$/,"$1").split(".").map(t=>t.split("_").map(bu).join("")).join(".");function mr(e){if(We.isValidElement(e)){let t=Object.keys(e.props).reduce((r,i)=>(r[i]=mr(e.props[i]),r),{});return{...e,props:t,_owner:null}}return Array.isArray(e)?e.map(mr):e}var _u=(e,t)=>{if(typeof e>"u")return At.warn("Too many skip or undefined component"),null;let r=e,i=r.type;for(let u=0;u<(t==null?void 0:t.skip);u+=1){if(typeof r>"u")return At.warn("Cannot skip undefined element"),null;if(at.Children.count(r)>1)return At.warn("Trying to skip an array of elements"),null;typeof r.props.children>"u"?(At.warn("Not enough children to skip elements."),typeof r.type=="function"&&r.type.name===""&&(r=at.createElement(i,{...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=>u.type.displayName?u.type.displayName:Ur(u.type,"displayName")?Ur(u.type,"displayName"):typeof u.type=="symbol"||u.type.$$typeof&&typeof u.type.$$typeof=="symbol"?Su(u.type):u.type.name&&u.type.name!=="_default"?u.type.name:typeof u.type=="function"?"No Display Name":Ro(u.type)?u.type.render.name:vn(u.type)?u.type.type.name:u.type};let a={...s,filterProps:(u,f)=>u!==void 0,...t};return at.Children.map(e,u=>{let f=typeof u=="number"?u.toString():u,p=(typeof ut=="function"?ut:ut.default)(mr(f),a);if(p.indexOf(""")>-1){let y=p.match(/\S+=\\"([^"]*)\\"/g);y&&y.forEach(g=>{p=p.replace(g,g.replace(/"/g,"'"))})}return p}).join(` +`).replace(/function\s+noRefCheck\(\)\s*\{\}/g,"() => {}")},Eu={skip:0,showFunctions:!1,enableBeautify:!0,showDefaultProps:!1},Cu=e=>{var i;let t=(i=e==null?void 0:e.parameters.docs)==null?void 0:i.source,r=e==null?void 0:e.parameters.__isArgsStory;return(t==null?void 0:t.type)===Gr.DYNAMIC?!1:!r||(t==null?void 0:t.code)||(t==null?void 0:t.type)===Gr.CODE},Au=e=>{var t,r;return((t=e.type)==null?void 0:t.displayName)==="MDXCreateElement"&&!!((r=e.props)!=null&&r.mdxType)},Nn=e=>{if(!Au(e))return e;let{mdxType:t,originalType:r,children:i,...s}=e.props,a=[];return i&&(a=(Array.isArray(i)?i:[i]).map(Nn)),We.createElement(r,s,...a)},Ln=(e,t)=>{var g,b;let r=Eo.getChannel(),i=Cu(t),s="";Co(()=>{if(!i){let{id:E,unmappedArgs:S}=t;r.emit(Kn,{id:E,source:s,args:S})}});let a=e();if(i)return a;let u={...Eu,...(t==null?void 0:t.parameters.jsx)||{}},f=(b=(g=t==null?void 0:t.parameters.docs)==null?void 0:g.source)!=null&&b.excludeDecorators?t.originalStoryFn(t.args,t):a,p=Nn(f),y=_u(p,u);return y&&(s=y),a},Pu=(e,t)=>{let r=t.findIndex(s=>s.originalFn===Ln),i=r===-1?t:[...t.splice(r,1),...t];return _o(e,i)},Iu={docs:{story:{inline:!0},extractArgTypes:xu,extractComponentDescription:Qn}},Nu=[Ln],Lu=[Yn];export{Pu as applyDecorators,Lu as argTypesEnhancers,Nu as decorators,Iu as parameters}; diff --git a/assets/entry-preview-ulNEgYIM.js b/assets/entry-preview-ulNEgYIM.js new file mode 100644 index 00000000..79225de6 --- /dev/null +++ b/assets/entry-preview-ulNEgYIM.js @@ -0,0 +1 @@ +import{R as n,r as i}from"./index-OjgoNOWw.js";import{u as m,r as h}from"./react-18-DyM-o0Ps.js";import"./index-mQqIOHEI.js";var u=Object.defineProperty,E=(e,r)=>{for(var t in r)u(e,t,{get:r[t],enumerable:!0})};const{global:_}=__STORYBOOK_MODULE_GLOBAL__;var f={};E(f,{parameters:()=>w,render:()=>v,renderToCanvas:()=>g});var v=(e,r)=>{let{id:t,component:o}=r;if(!o)throw new Error(`Unable to render story ${t} as the component annotation is missing from the default export`);return n.createElement(o,{...e})},{FRAMEWORK_OPTIONS:s}=_,x=class extends i.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidMount(){let{hasError:e}=this.state,{showMain:r}=this.props;e||r()}componentDidCatch(e){let{showException:r}=this.props;r(e)}render(){let{hasError:e}=this.state,{children:r}=this.props;return e?null:r}},c=s!=null&&s.strictMode?i.StrictMode:i.Fragment;async function g({storyContext:e,unboundStoryFn:r,showMain:t,showException:o,forceRemount:d},a){let p=n.createElement(x,{showMain:t,showException:o},n.createElement(r,{...e})),l=c?n.createElement(c,null,p):p;return d&&m(a),await h(l,a),()=>m(a)}var w={renderer:"react"};export{w as parameters,v as render,g as renderToCanvas}; diff --git a/assets/featured-tag-RvynJyfT.js b/assets/featured-tag-RvynJyfT.js deleted file mode 100644 index 344fc05a..00000000 --- a/assets/featured-tag-RvynJyfT.js +++ /dev/null @@ -1 +0,0 @@ -import{j as t}from"./jsx-runtime-vNq4Oc-g.js";import{c as s}from"./class-names-J070TWId.js";const r=({children:e,className:a})=>t.jsx("span",{className:s("absolute right-4 top-0 z-10 -translate-y-1/2 rounded border border-primary-600 bg-primary-50 px-1 text-xs font-medium uppercase tracking-wide text-primary-600",a),children:e});try{r.displayName="FeaturedTag",r.__docgenInfo={description:"",displayName:"FeaturedTag",props:{className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}}}}}catch{}export{r as F}; diff --git a/assets/featured-tag-le8-YQ4v.js b/assets/featured-tag-le8-YQ4v.js new file mode 100644 index 00000000..b3bacf21 --- /dev/null +++ b/assets/featured-tag-le8-YQ4v.js @@ -0,0 +1 @@ +import{j as s}from"./jsx-runtime-DtaoT6pD.js";import{c as t}from"./class-names-xhKKfcKT.js";const a=({children:e,className:r})=>s.jsx("span",{className:t("absolute right-4 top-0 z-10 -translate-y-1/2 rounded border border-primary-600 bg-primary-50 px-1 text-xs font-medium uppercase tracking-wide text-primary-600",r),children:e});a.__docgenInfo={description:"",methods:[],displayName:"FeaturedTag",props:{children:{required:!0,tsType:{name:"ReactNode"},description:""},className:{required:!1,tsType:{name:"string"},description:""}}};export{a as F}; diff --git a/assets/featured-tag.stories-CDs2nFV5.js b/assets/featured-tag.stories-CDs2nFV5.js deleted file mode 100644 index fbf01a48..00000000 --- a/assets/featured-tag.stories-CDs2nFV5.js +++ /dev/null @@ -1,12 +0,0 @@ -import{j as e}from"./jsx-runtime-vNq4Oc-g.js";import{r as x}from"./index-4g5l5LRQ.js";import{F as t}from"./featured-tag-RvynJyfT.js";import{P as h}from"./panel-4C-usJgI.js";import{F as r}from"./form-field-eccqU7tK.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./class-names-J070TWId.js";import"./zoom-to-fit-icon-UPpVBno8.js";import"./render-w54E0F54.js";import"./keyboard-o6QkQYrw.js";import"./focus-management-gzNHToo7.js";import"./disposables-x8EK1kJp.js";import"./owner-fKE-7Rwj.js";import"./use-flags-t0jpIEJ-.js";import"./use-is-mounted-2jl3pcgu.js";import"./label-4h3njXKv.js";import"./description-5F8ZuhcY.js";import"./use-text-value-q5k1B-6y.js";import"./hidden-qqzWvBMn.js";import"./bugs-DTVvle51.js";import"./use-disposables-9CA2w67p.js";import"./open-closed--zB8LTaK.js";import"./use-resolve-button-type-_yXBvNtz.js";import"./use-owner-g5X0ZmiI.js";import"./badge-gQ8zLs50.js";import"./platform-xf9k1Dsu.js";import"./tag-aZM7YGie.js";const J={title:"Input/FeaturedTag",component:t},j=()=>{const[c,l]=x.useState("value_1");return e.jsx("div",{className:"w-96",children:e.jsx(r,{children:e.jsxs(r.RadioBox,{value:c,onChange:u=>{l(u)},id:"value",children:[e.jsxs(r.RadioBox.Option,{value:"option_1",children:["Option 1",e.jsx(t,{children:"Recommended!"})]}),e.jsx(r.RadioBox.Option,{value:"option_2",children:"Option 2"}),e.jsx(r.RadioBox.Option,{value:"option_3",children:"Option 3"})]})})})},o={render:()=>e.jsx(j,{})},a={render:()=>e.jsx("div",{className:"w-96",children:e.jsxs(h,{className:"relative",children:[e.jsx("p",{children:"This example uses a Panel component"}),e.jsx(t,{children:"Recommended!"})]})})};var i,n,s;o.parameters={...o.parameters,docs:{...(i=o.parameters)==null?void 0:i.docs,source:{originalSource:`{ - render: () => { - return ; - } -}`,...(s=(n=o.parameters)==null?void 0:n.docs)==null?void 0:s.source}}};var m,p,d;a.parameters={...a.parameters,docs:{...(m=a.parameters)==null?void 0:m.docs,source:{originalSource:`{ - render: () =>
- -

This example uses a Panel component

- Recommended! -
-
-}`,...(d=(p=a.parameters)==null?void 0:p.docs)==null?void 0:d.source}}};const K=["Default","PanelExample"];export{o as Default,a as PanelExample,K as __namedExportsOrder,J as default}; diff --git a/assets/featured-tag.stories-uE0Xm7j2.js b/assets/featured-tag.stories-uE0Xm7j2.js new file mode 100644 index 00000000..9afeebf6 --- /dev/null +++ b/assets/featured-tag.stories-uE0Xm7j2.js @@ -0,0 +1,12 @@ +import{j as e}from"./jsx-runtime-DtaoT6pD.js";import{r as x}from"./index-OjgoNOWw.js";import{F as t}from"./featured-tag-le8-YQ4v.js";import{P as h}from"./panel-RPWZNnyj.js";import{F as r}from"./form-field-AdYr7HJv.js";import"./class-names-xhKKfcKT.js";import"./zoom-to-fit-icon-65magoHv.js";import"./render--CnTCjM4.js";import"./keyboard-ypJuuhig.js";import"./focus-management-3l6xl84w.js";import"./disposables-x8EK1kJp.js";import"./owner-k5blU4nj.js";import"./use-flags-FD8DIccc.js";import"./use-is-mounted-sHLtXe0b.js";import"./label-i0FK8Lz6.js";import"./description-Cx4STRI4.js";import"./use-text-value-5FULYfhL.js";import"./hidden-io_QVhfh.js";import"./bugs-DTVvle51.js";import"./use-disposables-zYA53INM.js";import"./open-closed-QZcf9p9x.js";import"./use-resolve-button-type-CvYxBXG6.js";import"./use-owner-is5PDNtX.js";import"./badge-fPVn3-DO.js";import"./platform-SfVjinHA.js";import"./tag-KJKMb2LC.js";const H={title:"Input/FeaturedTag",component:t},j=()=>{const[c,l]=x.useState("value_1");return e.jsx("div",{className:"w-96",children:e.jsx(r,{children:e.jsxs(r.RadioBox,{value:c,onChange:u=>{l(u)},id:"value",children:[e.jsxs(r.RadioBox.Option,{value:"option_1",children:["Option 1",e.jsx(t,{children:"Recommended!"})]}),e.jsx(r.RadioBox.Option,{value:"option_2",children:"Option 2"}),e.jsx(r.RadioBox.Option,{value:"option_3",children:"Option 3"})]})})})},o={render:()=>e.jsx(j,{})},a={render:()=>e.jsx("div",{className:"w-96",children:e.jsxs(h,{className:"relative",children:[e.jsx("p",{children:"This example uses a Panel component"}),e.jsx(t,{children:"Recommended!"})]})})};var i,n,s;o.parameters={...o.parameters,docs:{...(i=o.parameters)==null?void 0:i.docs,source:{originalSource:`{ + render: () => { + return ; + } +}`,...(s=(n=o.parameters)==null?void 0:n.docs)==null?void 0:s.source}}};var m,p,d;a.parameters={...a.parameters,docs:{...(m=a.parameters)==null?void 0:m.docs,source:{originalSource:`{ + render: () =>
+ +

This example uses a Panel component

+ Recommended! +
+
+}`,...(d=(p=a.parameters)==null?void 0:p.docs)==null?void 0:d.source}}};const J=["Default","PanelExample"];export{o as Default,a as PanelExample,J as __namedExportsOrder,H as default}; diff --git a/assets/focus-management-gzNHToo7.js b/assets/focus-management-3l6xl84w.js similarity index 97% rename from assets/focus-management-gzNHToo7.js rename to assets/focus-management-3l6xl84w.js index b95b9311..0ed5c6a9 100644 --- a/assets/focus-management-gzNHToo7.js +++ b/assets/focus-management-3l6xl84w.js @@ -1 +1 @@ -import{o as h}from"./disposables-x8EK1kJp.js";import{u as F}from"./render-w54E0F54.js";import{e as f}from"./owner-fKE-7Rwj.js";let d=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var b=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(b||{}),x=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(x||{}),p=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(p||{});function m(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(d)).sort((t,r)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(r.tabIndex||Number.MAX_SAFE_INTEGER)))}var y=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(y||{});function w(e,t=0){var r;return e===((r=f(e))==null?void 0:r.body)?!1:F(t,{0(){return e.matches(d)},1(){let n=e;for(;n!==null;){if(n.matches(d))return!0;n=n.parentElement}return!1}})}function g(e){let t=f(e);h().nextFrame(()=>{t&&!w(t.activeElement,0)&&O(e)})}var S=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(S||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function O(e){e==null||e.focus({preventScroll:!0})}let A=["textarea","input"].join(",");function M(e){var t,r;return(r=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,A))!=null?r:!1}function I(e,t=r=>r){return e.slice().sort((r,n)=>{let l=t(r),s=t(n);if(l===null||s===null)return 0;let o=l.compareDocumentPosition(s);return o&Node.DOCUMENT_POSITION_FOLLOWING?-1:o&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function D(e,t){return L(m(),t,{relativeTo:e})}function L(e,t,{sorted:r=!0,relativeTo:n=null,skipElements:l=[]}={}){let s=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,o=Array.isArray(e)?r?I(e):e:m(e);l.length>0&&o.length>1&&(o=o.filter(u=>!l.includes(u))),n=n??s.activeElement;let E=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),v=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,o.indexOf(n))-1;if(t&4)return Math.max(0,o.indexOf(n))+1;if(t&8)return o.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),N=t&32?{preventScroll:!0}:{},c=0,a=o.length,i;do{if(c>=a||c+a<=0)return 0;let u=v+c;if(t&16)u=(u+a)%a;else{if(u<0)return 3;if(u>=a)return 1}i=o[u],i==null||i.focus(N),c+=E}while(i!==s.activeElement);return t&6&&M(i)&&i.select(),2}export{g as D,I,b as M,x as N,L as O,y as T,D as _,m as f,w as h,O as y}; +import{o as h}from"./disposables-x8EK1kJp.js";import{u as F}from"./render--CnTCjM4.js";import{e as f}from"./owner-k5blU4nj.js";let d=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var b=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(b||{}),x=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(x||{}),p=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(p||{});function m(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(d)).sort((t,r)=>Math.sign((t.tabIndex||Number.MAX_SAFE_INTEGER)-(r.tabIndex||Number.MAX_SAFE_INTEGER)))}var y=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(y||{});function w(e,t=0){var r;return e===((r=f(e))==null?void 0:r.body)?!1:F(t,{0(){return e.matches(d)},1(){let n=e;for(;n!==null;){if(n.matches(d))return!0;n=n.parentElement}return!1}})}function g(e){let t=f(e);h().nextFrame(()=>{t&&!w(t.activeElement,0)&&O(e)})}var S=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(S||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{e.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:e.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function O(e){e==null||e.focus({preventScroll:!0})}let A=["textarea","input"].join(",");function M(e){var t,r;return(r=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,A))!=null?r:!1}function I(e,t=r=>r){return e.slice().sort((r,n)=>{let l=t(r),s=t(n);if(l===null||s===null)return 0;let o=l.compareDocumentPosition(s);return o&Node.DOCUMENT_POSITION_FOLLOWING?-1:o&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function D(e,t){return L(m(),t,{relativeTo:e})}function L(e,t,{sorted:r=!0,relativeTo:n=null,skipElements:l=[]}={}){let s=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,o=Array.isArray(e)?r?I(e):e:m(e);l.length>0&&o.length>1&&(o=o.filter(u=>!l.includes(u))),n=n??s.activeElement;let E=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),v=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,o.indexOf(n))-1;if(t&4)return Math.max(0,o.indexOf(n))+1;if(t&8)return o.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),N=t&32?{preventScroll:!0}:{},c=0,a=o.length,i;do{if(c>=a||c+a<=0)return 0;let u=v+c;if(t&16)u=(u+a)%a;else{if(u<0)return 3;if(u>=a)return 1}i=o[u],i==null||i.focus(N),c+=E}while(i!==s.activeElement);return t&6&&M(i)&&i.select(),2}export{g as D,I,b as M,x as N,L as O,y as T,D as _,m as f,w as h,O as y}; diff --git a/assets/form-field-AdYr7HJv.js b/assets/form-field-AdYr7HJv.js new file mode 100644 index 00000000..d8cd8e8e --- /dev/null +++ b/assets/form-field-AdYr7HJv.js @@ -0,0 +1,84 @@ +import{j as i}from"./jsx-runtime-DtaoT6pD.js";import{e as Vt,as as Ce,gz as Bt,g as Dt,j as At}from"./zoom-to-fit-icon-65magoHv.js";import{c as q}from"./class-names-xhKKfcKT.js";import{r as s,R as G}from"./index-OjgoNOWw.js";import{b as Ne,l as z,S as Te,D as J,o as v,u as Q,R as Me,X,y as ee}from"./render--CnTCjM4.js";import{I as te,o as w}from"./keyboard-ypJuuhig.js";import{I as _e,h as Gt,T as Ht,O as ze,M as ve,N as Qe}from"./focus-management-3l6xl84w.js";import{c as Ut}from"./use-flags-FD8DIccc.js";import{T as qe,e as je,M as Kt,H as Je,p as zt}from"./label-i0FK8Lz6.js";import{b as Qt,M as Xe}from"./description-Cx4STRI4.js";import{F as Ye,u as Ze,a as k,x as et,b as Wt}from"./use-text-value-5FULYfhL.js";import{c as Fe,p as $e}from"./hidden-io_QVhfh.js";import{e as tt}from"./owner-k5blU4nj.js";import{r as Oe}from"./bugs-DTVvle51.js";import{p as ae}from"./use-disposables-zYA53INM.js";import{o as ce}from"./disposables-x8EK1kJp.js";import{c as rt,d as ie,C as ot}from"./open-closed-QZcf9p9x.js";import{s as nt}from"./use-resolve-button-type-CvYxBXG6.js";import{h as at,n as Jt}from"./use-owner-is5PDNtX.js";import{B as it}from"./badge-fPVn3-DO.js";import{m as We,n as Xt}from"./platform-SfVjinHA.js";import{T as Yt}from"./tag-KJKMb2LC.js";function me(e,t){let[o,r]=s.useState(e),a=Ne(e);return z(()=>r(a.current),[a,r,...t]),o}var Zt=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Zt||{}),er=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(er||{}),tr=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(tr||{}),rr=(e=>(e[e.OpenCombobox=0]="OpenCombobox",e[e.CloseCombobox=1]="CloseCombobox",e[e.GoToOption=2]="GoToOption",e[e.RegisterOption=3]="RegisterOption",e[e.UnregisterOption=4]="UnregisterOption",e[e.RegisterLabel=5]="RegisterLabel",e))(rr||{});function ke(e,t=o=>o){let o=e.activeOptionIndex!==null?e.options[e.activeOptionIndex]:null,r=_e(t(e.options.slice()),l=>l.dataRef.current.domRef.current),a=o?r.indexOf(o):null;return a===-1&&(a=null),{options:r,activeOptionIndex:a}}let or={1(e){var t;return(t=e.dataRef.current)!=null&&t.disabled||e.comboboxState===1?e:{...e,activeOptionIndex:null,comboboxState:1}},0(e){var t;if((t=e.dataRef.current)!=null&&t.disabled||e.comboboxState===0)return e;let o=e.activeOptionIndex;if(e.dataRef.current){let{isSelected:r}=e.dataRef.current,a=e.options.findIndex(l=>r(l.dataRef.current.value));a!==-1&&(o=a)}return{...e,comboboxState:0,activeOptionIndex:o}},2(e,t){var o,r,a,l;if((o=e.dataRef.current)!=null&&o.disabled||(r=e.dataRef.current)!=null&&r.optionsRef.current&&!((a=e.dataRef.current)!=null&&a.optionsPropsRef.current.static)&&e.comboboxState===1)return e;let n=ke(e);if(n.activeOptionIndex===null){let x=n.options.findIndex(d=>!d.dataRef.current.disabled);x!==-1&&(n.activeOptionIndex=x)}let u=et(t,{resolveItems:()=>n.options,resolveActiveIndex:()=>n.activeOptionIndex,resolveId:x=>x.id,resolveDisabled:x=>x.dataRef.current.disabled});return{...e,...n,activeOptionIndex:u,activationTrigger:(l=t.trigger)!=null?l:1}},3:(e,t)=>{var o,r;let a={id:t.id,dataRef:t.dataRef},l=ke(e,u=>[...u,a]);e.activeOptionIndex===null&&(o=e.dataRef.current)!=null&&o.isSelected(t.dataRef.current.value)&&(l.activeOptionIndex=l.options.indexOf(a));let n={...e,...l,activationTrigger:1};return(r=e.dataRef.current)!=null&&r.__demoMode&&e.dataRef.current.value===void 0&&(n.activeOptionIndex=0),n},4:(e,t)=>{let o=ke(e,r=>{let a=r.findIndex(l=>l.id===t.id);return a!==-1&&r.splice(a,1),r});return{...e,...o,activationTrigger:1}},5:(e,t)=>({...e,labelId:t.id})},Ve=s.createContext(null);Ve.displayName="ComboboxActionsContext";function be(e){let t=s.useContext(Ve);if(t===null){let o=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,be),o}return t}let Be=s.createContext(null);Be.displayName="ComboboxDataContext";function ue(e){let t=s.useContext(Be);if(t===null){let o=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,ue),o}return t}function nr(e,t){return Q(t.type,or,e,t)}let ar=s.Fragment;function ir(e,t){let{value:o,defaultValue:r,onChange:a,form:l,name:n,by:u=(c,R)=>c===R,disabled:x=!1,__demoMode:d=!1,nullable:h=!1,multiple:O=!1,...p}=e,[m=O?[]:void 0,C]=qe(o,a,r),[y,f]=s.useReducer(nr,{dataRef:s.createRef(),comboboxState:d?0:1,options:[],activeOptionIndex:null,activationTrigger:1,labelId:null}),b=s.useRef(!1),P=s.useRef({static:!1,hold:!1}),F=s.useRef(null),j=s.useRef(null),U=s.useRef(null),S=s.useRef(null),M=v(typeof u=="string"?(c,R)=>{let L=u;return(c==null?void 0:c[L])===(R==null?void 0:R[L])}:u),I=s.useCallback(c=>Q(g.mode,{1:()=>m.some(R=>M(R,c)),0:()=>M(m,c)}),[m]),g=s.useMemo(()=>({...y,optionsPropsRef:P,labelRef:F,inputRef:j,buttonRef:U,optionsRef:S,value:m,defaultValue:r,disabled:x,mode:O?1:0,get activeOptionIndex(){if(b.current&&y.activeOptionIndex===null&&y.options.length>0){let c=y.options.findIndex(R=>!R.dataRef.current.disabled);if(c!==-1)return c}return y.activeOptionIndex},compare:M,isSelected:I,nullable:h,__demoMode:d}),[m,r,x,O,h,d,y]),E=s.useRef(g.activeOptionIndex!==null?g.options[g.activeOptionIndex]:null);s.useEffect(()=>{let c=g.activeOptionIndex!==null?g.options[g.activeOptionIndex]:null;E.current!==c&&(E.current=c)}),z(()=>{y.dataRef.current=g},[g]),at([g.buttonRef,g.inputRef,g.optionsRef],()=>$.closeCombobox(),g.comboboxState===0);let Y=s.useMemo(()=>({open:g.comboboxState===0,disabled:x,activeIndex:g.activeOptionIndex,activeOption:g.activeOptionIndex===null?null:g.options[g.activeOptionIndex].dataRef.current.value,value:m}),[g,x,m]),K=v(c=>{let R=g.options.find(L=>L.id===c);R&&T(R.dataRef.current.value)}),N=v(()=>{if(g.activeOptionIndex!==null){let{dataRef:c,id:R}=g.options[g.activeOptionIndex];T(c.current.value),$.goToOption(k.Specific,R)}}),re=v(()=>{f({type:0}),b.current=!0}),A=v(()=>{f({type:1}),b.current=!1}),oe=v((c,R,L)=>(b.current=!1,c===k.Specific?f({type:2,focus:k.Specific,id:R,trigger:L}):f({type:2,focus:c,trigger:L}))),_=v((c,R)=>(f({type:3,id:c,dataRef:R}),()=>{var L;((L=E.current)==null?void 0:L.id)===c&&(b.current=!0),f({type:4,id:c})})),Z=v(c=>(f({type:5,id:c}),()=>f({type:5,id:null}))),T=v(c=>Q(g.mode,{0(){return C==null?void 0:C(c)},1(){let R=g.value.slice(),L=R.findIndex(ne=>M(ne,c));return L===-1?R.push(c):R.splice(L,1),C==null?void 0:C(R)}})),$=s.useMemo(()=>({onChange:T,registerOption:_,registerLabel:Z,goToOption:oe,closeCombobox:A,openCombobox:re,selectActiveOption:N,selectOption:K}),[]),B=t===null?{}:{ref:t},D=s.useRef(null),V=ae();return s.useEffect(()=>{D.current&&r!==void 0&&V.addEventListener(D.current,"reset",()=>{C==null||C(r)})},[D,C]),G.createElement(Ve.Provider,{value:$},G.createElement(Be.Provider,{value:g},G.createElement(rt,{value:Q(g.comboboxState,{0:ie.Open,1:ie.Closed})},n!=null&&m!=null&&je({[n]:m}).map(([c,R],L)=>G.createElement(Fe,{features:$e.Hidden,ref:L===0?ne=>{var pe;D.current=(pe=ne==null?void 0:ne.closest("form"))!=null?pe:null}:void 0,...Me({key:c,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:l,name:c,value:R})})),X({ourProps:B,theirProps:p,slot:Y,defaultTag:ar,name:"Combobox"}))))}let lr="input";function sr(e,t){var o,r,a,l;let n=te(),{id:u=`headlessui-combobox-input-${n}`,onChange:x,displayValue:d,type:h="text",...O}=e,p=ue("Combobox.Input"),m=be("Combobox.Input"),C=ee(p.inputRef,t),y=Jt(p.inputRef),f=s.useRef(!1),b=ae(),P=v(()=>{m.onChange(null),p.optionsRef.current&&(p.optionsRef.current.scrollTop=0),m.goToOption(k.Nothing)}),F=function(){var N;return typeof d=="function"&&p.value!==void 0?(N=d(p.value))!=null?N:"":typeof p.value=="string"?p.value:""}();We(([N,re],[A,oe])=>{if(f.current)return;let _=p.inputRef.current;_&&((oe===0&&re===1||N!==A)&&(_.value=N),requestAnimationFrame(()=>{if(f.current||!_||(y==null?void 0:y.activeElement)!==_)return;let{selectionStart:Z,selectionEnd:T}=_;Math.abs((T??0)-(Z??0))===0&&Z===0&&_.setSelectionRange(_.value.length,_.value.length)}))},[F,p.comboboxState,y]),We(([N],[re])=>{if(N===0&&re===1){if(f.current)return;let A=p.inputRef.current;if(!A)return;let oe=A.value,{selectionStart:_,selectionEnd:Z,selectionDirection:T}=A;A.value="",A.value=oe,T!==null?A.setSelectionRange(_,Z,T):A.setSelectionRange(_,Z)}},[p.comboboxState]);let j=s.useRef(!1),U=v(()=>{j.current=!0}),S=v(()=>{b.nextFrame(()=>{j.current=!1})}),M=v(N=>{switch(f.current=!0,N.key){case w.Enter:if(f.current=!1,p.comboboxState!==0||j.current)return;if(N.preventDefault(),N.stopPropagation(),p.activeOptionIndex===null){m.closeCombobox();return}m.selectActiveOption(),p.mode===0&&m.closeCombobox();break;case w.ArrowDown:return f.current=!1,N.preventDefault(),N.stopPropagation(),Q(p.comboboxState,{0:()=>{m.goToOption(k.Next)},1:()=>{m.openCombobox()}});case w.ArrowUp:return f.current=!1,N.preventDefault(),N.stopPropagation(),Q(p.comboboxState,{0:()=>{m.goToOption(k.Previous)},1:()=>{m.openCombobox(),b.nextFrame(()=>{p.value||m.goToOption(k.Last)})}});case w.Home:if(N.shiftKey)break;return f.current=!1,N.preventDefault(),N.stopPropagation(),m.goToOption(k.First);case w.PageUp:return f.current=!1,N.preventDefault(),N.stopPropagation(),m.goToOption(k.First);case w.End:if(N.shiftKey)break;return f.current=!1,N.preventDefault(),N.stopPropagation(),m.goToOption(k.Last);case w.PageDown:return f.current=!1,N.preventDefault(),N.stopPropagation(),m.goToOption(k.Last);case w.Escape:return f.current=!1,p.comboboxState!==0?void 0:(N.preventDefault(),p.optionsRef.current&&!p.optionsPropsRef.current.static&&N.stopPropagation(),p.nullable&&p.mode===0&&p.value===null&&P(),m.closeCombobox());case w.Tab:if(f.current=!1,p.comboboxState!==0)return;p.mode===0&&m.selectActiveOption(),m.closeCombobox();break}}),I=v(N=>{x==null||x(N),p.nullable&&p.mode===0&&N.target.value===""&&P(),m.openCombobox()}),g=v(()=>{f.current=!1}),E=me(()=>{if(p.labelId)return[p.labelId].join(" ")},[p.labelId]),Y=s.useMemo(()=>({open:p.comboboxState===0,disabled:p.disabled}),[p]),K={ref:C,id:u,role:"combobox",type:h,"aria-controls":(o=p.optionsRef.current)==null?void 0:o.id,"aria-expanded":p.comboboxState===0,"aria-activedescendant":p.activeOptionIndex===null||(r=p.options[p.activeOptionIndex])==null?void 0:r.id,"aria-labelledby":E,"aria-autocomplete":"list",defaultValue:(l=(a=e.defaultValue)!=null?a:p.defaultValue!==void 0?d==null?void 0:d(p.defaultValue):null)!=null?l:p.defaultValue,disabled:p.disabled,onCompositionStart:U,onCompositionEnd:S,onKeyDown:M,onChange:I,onBlur:g};return X({ourProps:K,theirProps:O,slot:Y,defaultTag:lr,name:"Combobox.Input"})}let ur="button";function dr(e,t){var o;let r=ue("Combobox.Button"),a=be("Combobox.Button"),l=ee(r.buttonRef,t),n=te(),{id:u=`headlessui-combobox-button-${n}`,...x}=e,d=ae(),h=v(y=>{switch(y.key){case w.ArrowDown:return y.preventDefault(),y.stopPropagation(),r.comboboxState===1&&a.openCombobox(),d.nextFrame(()=>{var f;return(f=r.inputRef.current)==null?void 0:f.focus({preventScroll:!0})});case w.ArrowUp:return y.preventDefault(),y.stopPropagation(),r.comboboxState===1&&(a.openCombobox(),d.nextFrame(()=>{r.value||a.goToOption(k.Last)})),d.nextFrame(()=>{var f;return(f=r.inputRef.current)==null?void 0:f.focus({preventScroll:!0})});case w.Escape:return r.comboboxState!==0?void 0:(y.preventDefault(),r.optionsRef.current&&!r.optionsPropsRef.current.static&&y.stopPropagation(),a.closeCombobox(),d.nextFrame(()=>{var f;return(f=r.inputRef.current)==null?void 0:f.focus({preventScroll:!0})}));default:return}}),O=v(y=>{if(Oe(y.currentTarget))return y.preventDefault();r.comboboxState===0?a.closeCombobox():(y.preventDefault(),a.openCombobox()),d.nextFrame(()=>{var f;return(f=r.inputRef.current)==null?void 0:f.focus({preventScroll:!0})})}),p=me(()=>{if(r.labelId)return[r.labelId,u].join(" ")},[r.labelId,u]),m=s.useMemo(()=>({open:r.comboboxState===0,disabled:r.disabled,value:r.value}),[r]),C={ref:l,id:u,type:nt(e,r.buttonRef),tabIndex:-1,"aria-haspopup":"listbox","aria-controls":(o=r.optionsRef.current)==null?void 0:o.id,"aria-expanded":r.comboboxState===0,"aria-labelledby":p,disabled:r.disabled,onClick:O,onKeyDown:h};return X({ourProps:C,theirProps:x,slot:m,defaultTag:ur,name:"Combobox.Button"})}let pr="label";function cr(e,t){let o=te(),{id:r=`headlessui-combobox-label-${o}`,...a}=e,l=ue("Combobox.Label"),n=be("Combobox.Label"),u=ee(l.labelRef,t);z(()=>n.registerLabel(r),[r]);let x=v(()=>{var h;return(h=l.inputRef.current)==null?void 0:h.focus({preventScroll:!0})}),d=s.useMemo(()=>({open:l.comboboxState===0,disabled:l.disabled}),[l]);return X({ourProps:{ref:u,id:r,onClick:x},theirProps:a,slot:d,defaultTag:pr,name:"Combobox.Label"})}let mr="ul",br=Te.RenderStrategy|Te.Static;function fr(e,t){let o=te(),{id:r=`headlessui-combobox-options-${o}`,hold:a=!1,...l}=e,n=ue("Combobox.Options"),u=ee(n.optionsRef,t),x=ot(),d=x!==null?(x&ie.Open)===ie.Open:n.comboboxState===0;z(()=>{var m;n.optionsPropsRef.current.static=(m=e.static)!=null?m:!1},[n.optionsPropsRef,e.static]),z(()=>{n.optionsPropsRef.current.hold=a},[n.optionsPropsRef,a]),Ye({container:n.optionsRef.current,enabled:n.comboboxState===0,accept(m){return m.getAttribute("role")==="option"?NodeFilter.FILTER_REJECT:m.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(m){m.setAttribute("role","none")}});let h=me(()=>{var m,C;return(C=n.labelId)!=null?C:(m=n.buttonRef.current)==null?void 0:m.id},[n.labelId,n.buttonRef.current]),O=s.useMemo(()=>({open:n.comboboxState===0}),[n]),p={"aria-labelledby":h,role:"listbox","aria-multiselectable":n.mode===1?!0:void 0,id:r,ref:u};return X({ourProps:p,theirProps:l,slot:O,defaultTag:mr,features:br,visible:d,name:"Combobox.Options"})}let xr="li";function gr(e,t){var o,r;let a=te(),{id:l=`headlessui-combobox-option-${a}`,disabled:n=!1,value:u,...x}=e,d=ue("Combobox.Option"),h=be("Combobox.Option"),O=d.activeOptionIndex!==null?d.options[d.activeOptionIndex].id===l:!1,p=d.isSelected(u),m=s.useRef(null),C=Ne({disabled:n,value:u,domRef:m,textValue:(r=(o=m.current)==null?void 0:o.textContent)==null?void 0:r.toLowerCase()}),y=ee(t,m),f=v(()=>h.selectOption(l));z(()=>h.registerOption(l,C),[C,l]);let b=s.useRef(!d.__demoMode);z(()=>{if(!d.__demoMode)return;let g=ce();return g.requestAnimationFrame(()=>{b.current=!0}),g.dispose},[]),z(()=>{if(d.comboboxState!==0||!O||!b.current||d.activationTrigger===0)return;let g=ce();return g.requestAnimationFrame(()=>{var E,Y;(Y=(E=m.current)==null?void 0:E.scrollIntoView)==null||Y.call(E,{block:"nearest"})}),g.dispose},[m,O,d.comboboxState,d.activationTrigger,d.activeOptionIndex]);let P=v(g=>{if(n)return g.preventDefault();f(),d.mode===0&&h.closeCombobox(),Xt()||requestAnimationFrame(()=>{var E;return(E=d.inputRef.current)==null?void 0:E.focus()})}),F=v(()=>{if(n)return h.goToOption(k.Nothing);h.goToOption(k.Specific,l)}),j=Ze(),U=v(g=>j.update(g)),S=v(g=>{j.wasMoved(g)&&(n||O||h.goToOption(k.Specific,l,0))}),M=v(g=>{j.wasMoved(g)&&(n||O&&(d.optionsPropsRef.current.hold||h.goToOption(k.Nothing)))}),I=s.useMemo(()=>({active:O,selected:p,disabled:n}),[O,p,n]);return X({ourProps:{id:l,ref:y,role:"option",tabIndex:n===!0?void 0:-1,"aria-disabled":n===!0?!0:void 0,"aria-selected":p,disabled:void 0,onClick:P,onFocus:F,onPointerEnter:U,onMouseEnter:U,onPointerMove:S,onMouseMove:S,onPointerLeave:M,onMouseLeave:M},theirProps:x,slot:I,defaultTag:xr,name:"Combobox.Option"})}let vr=J(ir),yr=J(dr),hr=J(sr),Rr=J(cr),Tr=J(fr),Or=J(gr),W=Object.assign(vr,{Input:hr,Button:yr,Label:Rr,Options:Tr,Option:Or});var Cr=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Cr||{}),Nr=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(Nr||{}),Ir=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(Ir||{}),Pr=(e=>(e[e.OpenListbox=0]="OpenListbox",e[e.CloseListbox=1]="CloseListbox",e[e.GoToOption=2]="GoToOption",e[e.Search=3]="Search",e[e.ClearSearch=4]="ClearSearch",e[e.RegisterOption=5]="RegisterOption",e[e.UnregisterOption=6]="UnregisterOption",e[e.RegisterLabel=7]="RegisterLabel",e))(Pr||{});function Ee(e,t=o=>o){let o=e.activeOptionIndex!==null?e.options[e.activeOptionIndex]:null,r=_e(t(e.options.slice()),l=>l.dataRef.current.domRef.current),a=o?r.indexOf(o):null;return a===-1&&(a=null),{options:r,activeOptionIndex:a}}let wr={1(e){return e.dataRef.current.disabled||e.listboxState===1?e:{...e,activeOptionIndex:null,listboxState:1}},0(e){if(e.dataRef.current.disabled||e.listboxState===0)return e;let t=e.activeOptionIndex,{isSelected:o}=e.dataRef.current,r=e.options.findIndex(a=>o(a.dataRef.current.value));return r!==-1&&(t=r),{...e,listboxState:0,activeOptionIndex:t}},2(e,t){var o;if(e.dataRef.current.disabled||e.listboxState===1)return e;let r=Ee(e),a=et(t,{resolveItems:()=>r.options,resolveActiveIndex:()=>r.activeOptionIndex,resolveId:l=>l.id,resolveDisabled:l=>l.dataRef.current.disabled});return{...e,...r,searchQuery:"",activeOptionIndex:a,activationTrigger:(o=t.trigger)!=null?o:1}},3:(e,t)=>{if(e.dataRef.current.disabled||e.listboxState===1)return e;let o=e.searchQuery!==""?0:1,r=e.searchQuery+t.value.toLowerCase(),a=(e.activeOptionIndex!==null?e.options.slice(e.activeOptionIndex+o).concat(e.options.slice(0,e.activeOptionIndex+o)):e.options).find(n=>{var u;return!n.dataRef.current.disabled&&((u=n.dataRef.current.textValue)==null?void 0:u.startsWith(r))}),l=a?e.options.indexOf(a):-1;return l===-1||l===e.activeOptionIndex?{...e,searchQuery:r}:{...e,searchQuery:r,activeOptionIndex:l,activationTrigger:1}},4(e){return e.dataRef.current.disabled||e.listboxState===1||e.searchQuery===""?e:{...e,searchQuery:""}},5:(e,t)=>{let o={id:t.id,dataRef:t.dataRef},r=Ee(e,a=>[...a,o]);return e.activeOptionIndex===null&&e.dataRef.current.isSelected(t.dataRef.current.value)&&(r.activeOptionIndex=r.options.indexOf(o)),{...e,...r}},6:(e,t)=>{let o=Ee(e,r=>{let a=r.findIndex(l=>l.id===t.id);return a!==-1&&r.splice(a,1),r});return{...e,...o,activationTrigger:1}},7:(e,t)=>({...e,labelId:t.id})},De=s.createContext(null);De.displayName="ListboxActionsContext";function fe(e){let t=s.useContext(De);if(t===null){let o=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,fe),o}return t}let Ae=s.createContext(null);Ae.displayName="ListboxDataContext";function xe(e){let t=s.useContext(Ae);if(t===null){let o=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,xe),o}return t}function Sr(e,t){return Q(t.type,wr,e,t)}let Lr=s.Fragment;function kr(e,t){let{value:o,defaultValue:r,form:a,name:l,onChange:n,by:u=(c,R)=>c===R,disabled:x=!1,horizontal:d=!1,multiple:h=!1,...O}=e;const p=d?"horizontal":"vertical";let m=ee(t),[C=h?[]:void 0,y]=qe(o,n,r),[f,b]=s.useReducer(Sr,{dataRef:s.createRef(),listboxState:1,options:[],searchQuery:"",labelId:null,activeOptionIndex:null,activationTrigger:1}),P=s.useRef({static:!1,hold:!1}),F=s.useRef(null),j=s.useRef(null),U=s.useRef(null),S=v(typeof u=="string"?(c,R)=>{let L=u;return(c==null?void 0:c[L])===(R==null?void 0:R[L])}:u),M=s.useCallback(c=>Q(I.mode,{1:()=>C.some(R=>S(R,c)),0:()=>S(C,c)}),[C]),I=s.useMemo(()=>({...f,value:C,disabled:x,mode:h?1:0,orientation:p,compare:S,isSelected:M,optionsPropsRef:P,labelRef:F,buttonRef:j,optionsRef:U}),[C,x,h,f]);z(()=>{f.dataRef.current=I},[I]),at([I.buttonRef,I.optionsRef],(c,R)=>{var L;b({type:1}),Gt(R,Ht.Loose)||(c.preventDefault(),(L=I.buttonRef.current)==null||L.focus())},I.listboxState===0);let g=s.useMemo(()=>({open:I.listboxState===0,disabled:x,value:C}),[I,x,C]),E=v(c=>{let R=I.options.find(L=>L.id===c);R&&_(R.dataRef.current.value)}),Y=v(()=>{if(I.activeOptionIndex!==null){let{dataRef:c,id:R}=I.options[I.activeOptionIndex];_(c.current.value),b({type:2,focus:k.Specific,id:R})}}),K=v(()=>b({type:0})),N=v(()=>b({type:1})),re=v((c,R,L)=>c===k.Specific?b({type:2,focus:k.Specific,id:R,trigger:L}):b({type:2,focus:c,trigger:L})),A=v((c,R)=>(b({type:5,id:c,dataRef:R}),()=>b({type:6,id:c}))),oe=v(c=>(b({type:7,id:c}),()=>b({type:7,id:null}))),_=v(c=>Q(I.mode,{0(){return y==null?void 0:y(c)},1(){let R=I.value.slice(),L=R.findIndex(ne=>S(ne,c));return L===-1?R.push(c):R.splice(L,1),y==null?void 0:y(R)}})),Z=v(c=>b({type:3,value:c})),T=v(()=>b({type:4})),$=s.useMemo(()=>({onChange:_,registerOption:A,registerLabel:oe,goToOption:re,closeListbox:N,openListbox:K,selectActiveOption:Y,selectOption:E,search:Z,clearSearch:T}),[]),B={ref:m},D=s.useRef(null),V=ae();return s.useEffect(()=>{D.current&&r!==void 0&&V.addEventListener(D.current,"reset",()=>{y==null||y(r)})},[D,y]),G.createElement(De.Provider,{value:$},G.createElement(Ae.Provider,{value:I},G.createElement(rt,{value:Q(I.listboxState,{0:ie.Open,1:ie.Closed})},l!=null&&C!=null&&je({[l]:C}).map(([c,R],L)=>G.createElement(Fe,{features:$e.Hidden,ref:L===0?ne=>{var pe;D.current=(pe=ne==null?void 0:ne.closest("form"))!=null?pe:null}:void 0,...Me({key:c,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:a,name:c,value:R})})),X({ourProps:B,theirProps:O,slot:g,defaultTag:Lr,name:"Listbox"}))))}let Er="button";function Mr(e,t){var o;let r=te(),{id:a=`headlessui-listbox-button-${r}`,...l}=e,n=xe("Listbox.Button"),u=fe("Listbox.Button"),x=ee(n.buttonRef,t),d=ae(),h=v(f=>{switch(f.key){case w.Space:case w.Enter:case w.ArrowDown:f.preventDefault(),u.openListbox(),d.nextFrame(()=>{n.value||u.goToOption(k.First)});break;case w.ArrowUp:f.preventDefault(),u.openListbox(),d.nextFrame(()=>{n.value||u.goToOption(k.Last)});break}}),O=v(f=>{switch(f.key){case w.Space:f.preventDefault();break}}),p=v(f=>{if(Oe(f.currentTarget))return f.preventDefault();n.listboxState===0?(u.closeListbox(),d.nextFrame(()=>{var b;return(b=n.buttonRef.current)==null?void 0:b.focus({preventScroll:!0})})):(f.preventDefault(),u.openListbox())}),m=me(()=>{if(n.labelId)return[n.labelId,a].join(" ")},[n.labelId,a]),C=s.useMemo(()=>({open:n.listboxState===0,disabled:n.disabled,value:n.value}),[n]),y={ref:x,id:a,type:nt(e,n.buttonRef),"aria-haspopup":"listbox","aria-controls":(o=n.optionsRef.current)==null?void 0:o.id,"aria-expanded":n.listboxState===0,"aria-labelledby":m,disabled:n.disabled,onKeyDown:h,onKeyUp:O,onClick:p};return X({ourProps:y,theirProps:l,slot:C,defaultTag:Er,name:"Listbox.Button"})}let _r="label";function qr(e,t){let o=te(),{id:r=`headlessui-listbox-label-${o}`,...a}=e,l=xe("Listbox.Label"),n=fe("Listbox.Label"),u=ee(l.labelRef,t);z(()=>n.registerLabel(r),[r]);let x=v(()=>{var h;return(h=l.buttonRef.current)==null?void 0:h.focus({preventScroll:!0})}),d=s.useMemo(()=>({open:l.listboxState===0,disabled:l.disabled}),[l]);return X({ourProps:{ref:u,id:r,onClick:x},theirProps:a,slot:d,defaultTag:_r,name:"Listbox.Label"})}let jr="ul",Fr=Te.RenderStrategy|Te.Static;function $r(e,t){var o;let r=te(),{id:a=`headlessui-listbox-options-${r}`,...l}=e,n=xe("Listbox.Options"),u=fe("Listbox.Options"),x=ee(n.optionsRef,t),d=ae(),h=ae(),O=ot(),p=O!==null?(O&ie.Open)===ie.Open:n.listboxState===0;s.useEffect(()=>{var b;let P=n.optionsRef.current;P&&n.listboxState===0&&P!==((b=tt(P))==null?void 0:b.activeElement)&&P.focus({preventScroll:!0})},[n.listboxState,n.optionsRef]);let m=v(b=>{switch(h.dispose(),b.key){case w.Space:if(n.searchQuery!=="")return b.preventDefault(),b.stopPropagation(),u.search(b.key);case w.Enter:if(b.preventDefault(),b.stopPropagation(),n.activeOptionIndex!==null){let{dataRef:P}=n.options[n.activeOptionIndex];u.onChange(P.current.value)}n.mode===0&&(u.closeListbox(),ce().nextFrame(()=>{var P;return(P=n.buttonRef.current)==null?void 0:P.focus({preventScroll:!0})}));break;case Q(n.orientation,{vertical:w.ArrowDown,horizontal:w.ArrowRight}):return b.preventDefault(),b.stopPropagation(),u.goToOption(k.Next);case Q(n.orientation,{vertical:w.ArrowUp,horizontal:w.ArrowLeft}):return b.preventDefault(),b.stopPropagation(),u.goToOption(k.Previous);case w.Home:case w.PageUp:return b.preventDefault(),b.stopPropagation(),u.goToOption(k.First);case w.End:case w.PageDown:return b.preventDefault(),b.stopPropagation(),u.goToOption(k.Last);case w.Escape:return b.preventDefault(),b.stopPropagation(),u.closeListbox(),d.nextFrame(()=>{var P;return(P=n.buttonRef.current)==null?void 0:P.focus({preventScroll:!0})});case w.Tab:b.preventDefault(),b.stopPropagation();break;default:b.key.length===1&&(u.search(b.key),h.setTimeout(()=>u.clearSearch(),350));break}}),C=me(()=>{var b,P,F;return(F=(b=n.labelRef.current)==null?void 0:b.id)!=null?F:(P=n.buttonRef.current)==null?void 0:P.id},[n.labelRef.current,n.buttonRef.current]),y=s.useMemo(()=>({open:n.listboxState===0}),[n]),f={"aria-activedescendant":n.activeOptionIndex===null||(o=n.options[n.activeOptionIndex])==null?void 0:o.id,"aria-multiselectable":n.mode===1?!0:void 0,"aria-labelledby":C,"aria-orientation":n.orientation,id:a,onKeyDown:m,role:"listbox",tabIndex:0,ref:x};return X({ourProps:f,theirProps:l,slot:y,defaultTag:jr,features:Fr,visible:p,name:"Listbox.Options"})}let Vr="li";function Br(e,t){let o=te(),{id:r=`headlessui-listbox-option-${o}`,disabled:a=!1,value:l,...n}=e,u=xe("Listbox.Option"),x=fe("Listbox.Option"),d=u.activeOptionIndex!==null?u.options[u.activeOptionIndex].id===r:!1,h=u.isSelected(l),O=s.useRef(null),p=Wt(O),m=Ne({disabled:a,value:l,domRef:O,get textValue(){return p()}}),C=ee(t,O);z(()=>{if(u.listboxState!==0||!d||u.activationTrigger===0)return;let S=ce();return S.requestAnimationFrame(()=>{var M,I;(I=(M=O.current)==null?void 0:M.scrollIntoView)==null||I.call(M,{block:"nearest"})}),S.dispose},[O,d,u.listboxState,u.activationTrigger,u.activeOptionIndex]),z(()=>x.registerOption(r,m),[m,r]);let y=v(S=>{if(a)return S.preventDefault();x.onChange(l),u.mode===0&&(x.closeListbox(),ce().nextFrame(()=>{var M;return(M=u.buttonRef.current)==null?void 0:M.focus({preventScroll:!0})}))}),f=v(()=>{if(a)return x.goToOption(k.Nothing);x.goToOption(k.Specific,r)}),b=Ze(),P=v(S=>b.update(S)),F=v(S=>{b.wasMoved(S)&&(a||d||x.goToOption(k.Specific,r,0))}),j=v(S=>{b.wasMoved(S)&&(a||d&&x.goToOption(k.Nothing))}),U=s.useMemo(()=>({active:d,selected:h,disabled:a}),[d,h,a]);return X({ourProps:{id:r,ref:C,role:"option",tabIndex:a===!0?void 0:-1,"aria-disabled":a===!0?!0:void 0,"aria-selected":h,disabled:void 0,onClick:y,onFocus:f,onPointerEnter:P,onMouseEnter:P,onPointerMove:F,onMouseMove:F,onPointerLeave:j,onMouseLeave:j},theirProps:n,slot:U,defaultTag:Vr,name:"Listbox.Option"})}let Dr=J(kr),Ar=J(Mr),Gr=J(qr),Hr=J($r),Ur=J(Br),Ie=Object.assign(Dr,{Button:Ar,Label:Gr,Options:Hr,Option:Ur});var Kr=(e=>(e[e.RegisterOption=0]="RegisterOption",e[e.UnregisterOption=1]="UnregisterOption",e))(Kr||{});let zr={0(e,t){let o=[...e.options,{id:t.id,element:t.element,propsRef:t.propsRef}];return{...e,options:_e(o,r=>r.element.current)}},1(e,t){let o=e.options.slice(),r=e.options.findIndex(a=>a.id===t.id);return r===-1?e:(o.splice(r,1),{...e,options:o})}},Ge=s.createContext(null);Ge.displayName="RadioGroupDataContext";function lt(e){let t=s.useContext(Ge);if(t===null){let o=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,lt),o}return t}let He=s.createContext(null);He.displayName="RadioGroupActionsContext";function st(e){let t=s.useContext(He);if(t===null){let o=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,st),o}return t}function Qr(e,t){return Q(t.type,zr,e,t)}let Wr="div";function Jr(e,t){let o=te(),{id:r=`headlessui-radiogroup-${o}`,value:a,defaultValue:l,form:n,name:u,onChange:x,by:d=(T,$)=>T===$,disabled:h=!1,...O}=e,p=v(typeof d=="string"?(T,$)=>{let B=d;return(T==null?void 0:T[B])===($==null?void 0:$[B])}:d),[m,C]=s.useReducer(Qr,{options:[]}),y=m.options,[f,b]=Je(),[P,F]=Xe(),j=s.useRef(null),U=ee(j,t),[S,M]=qe(a,x,l),I=s.useMemo(()=>y.find(T=>!T.propsRef.current.disabled),[y]),g=s.useMemo(()=>y.some(T=>p(T.propsRef.current.value,S)),[y,S]),E=v(T=>{var $;if(h||p(T,S))return!1;let B=($=y.find(D=>p(D.propsRef.current.value,T)))==null?void 0:$.propsRef.current;return B!=null&&B.disabled?!1:(M==null||M(T),!0)});Ye({container:j.current,accept(T){return T.getAttribute("role")==="radio"?NodeFilter.FILTER_REJECT:T.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(T){T.setAttribute("role","none")}});let Y=v(T=>{let $=j.current;if(!$)return;let B=tt($),D=y.filter(V=>V.propsRef.current.disabled===!1).map(V=>V.element.current);switch(T.key){case w.Enter:zt(T.currentTarget);break;case w.ArrowLeft:case w.ArrowUp:if(T.preventDefault(),T.stopPropagation(),ze(D,ve.Previous|ve.WrapAround)===Qe.Success){let V=y.find(c=>c.element.current===(B==null?void 0:B.activeElement));V&&E(V.propsRef.current.value)}break;case w.ArrowRight:case w.ArrowDown:if(T.preventDefault(),T.stopPropagation(),ze(D,ve.Next|ve.WrapAround)===Qe.Success){let V=y.find(c=>c.element.current===(B==null?void 0:B.activeElement));V&&E(V.propsRef.current.value)}break;case w.Space:{T.preventDefault(),T.stopPropagation();let V=y.find(c=>c.element.current===(B==null?void 0:B.activeElement));V&&E(V.propsRef.current.value)}break}}),K=v(T=>(C({type:0,...T}),()=>C({type:1,id:T.id}))),N=s.useMemo(()=>({value:S,firstOption:I,containsCheckedOption:g,disabled:h,compare:p,...m}),[S,I,g,h,p,m]),re=s.useMemo(()=>({registerOption:K,change:E}),[K,E]),A={ref:U,id:r,role:"radiogroup","aria-labelledby":f,"aria-describedby":P,onKeyDown:Y},oe=s.useMemo(()=>({value:S}),[S]),_=s.useRef(null),Z=ae();return s.useEffect(()=>{_.current&&l!==void 0&&Z.addEventListener(_.current,"reset",()=>{E(l)})},[_,E]),G.createElement(F,{name:"RadioGroup.Description"},G.createElement(b,{name:"RadioGroup.Label"},G.createElement(He.Provider,{value:re},G.createElement(Ge.Provider,{value:N},u!=null&&S!=null&&je({[u]:S}).map(([T,$],B)=>G.createElement(Fe,{features:$e.Hidden,ref:B===0?D=>{var V;_.current=(V=D==null?void 0:D.closest("form"))!=null?V:null}:void 0,...Me({key:T,as:"input",type:"radio",checked:$!=null,hidden:!0,readOnly:!0,form:n,name:T,value:$})})),X({ourProps:A,theirProps:O,slot:oe,defaultTag:Wr,name:"RadioGroup"})))))}var Xr=(e=>(e[e.Empty=1]="Empty",e[e.Active=2]="Active",e))(Xr||{});let Yr="div";function Zr(e,t){var o;let r=te(),{id:a=`headlessui-radiogroup-option-${r}`,value:l,disabled:n=!1,...u}=e,x=s.useRef(null),d=ee(x,t),[h,O]=Je(),[p,m]=Xe(),{addFlag:C,removeFlag:y,hasFlag:f}=Ut(1),b=Ne({value:l,disabled:n}),P=lt("RadioGroup.Option"),F=st("RadioGroup.Option");z(()=>F.registerOption({id:a,element:x,propsRef:b}),[a,F,x,e]);let j=v(K=>{var N;if(Oe(K.currentTarget))return K.preventDefault();F.change(l)&&(C(2),(N=x.current)==null||N.focus())}),U=v(K=>{if(Oe(K.currentTarget))return K.preventDefault();C(2)}),S=v(()=>y(2)),M=((o=P.firstOption)==null?void 0:o.id)===a,I=P.disabled||n,g=P.compare(P.value,l),E={ref:d,id:a,role:"radio","aria-checked":g?"true":"false","aria-labelledby":h,"aria-describedby":p,"aria-disabled":I?!0:void 0,tabIndex:I?-1:g||!P.containsCheckedOption&&M?0:-1,onClick:I?void 0:j,onFocus:I?void 0:U,onBlur:I?void 0:S},Y=s.useMemo(()=>({checked:g,disabled:I,active:f(2)}),[g,I,f]);return G.createElement(m,{name:"RadioGroup.Description"},G.createElement(O,{name:"RadioGroup.Label"},X({ourProps:E,theirProps:u,slot:Y,defaultTag:Yr,name:"RadioGroup.Option"})))}let eo=J(Jr),to=J(Zr),Pe=Object.assign(eo,{Option:to,Label:Kt,Description:Qt});const ut=({id:e,children:t})=>i.jsx("p",{id:`${e}-description`,className:"paragraph-100 text-neutral-700",children:t});ut.__docgenInfo={description:"",methods:[],displayName:"FormFieldDescription",props:{id:{required:!0,tsType:{name:"string"},description:""},children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""}}};const dt=({children:e})=>i.jsxs("div",{className:"mt-0.5 flex items-center gap-1",children:[i.jsx(Vt,{className:"h-3 w-3 fill-danger-500"}),i.jsx("p",{className:"paragraph-100 text-danger-500 ",children:e})]});dt.__docgenInfo={description:"",methods:[],displayName:"FormFieldErrorMessage",props:{children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""}}};const pt=({htmlFor:e,children:t,optional:o})=>i.jsxs("div",{className:"flex items-baseline gap-1",children:[i.jsx("label",{htmlFor:e,className:"headline-400 text-neutral-800",children:t}),o?i.jsx("div",{className:"paragraph-100",children:"(Optional)"}):null]});pt.__docgenInfo={description:"",methods:[],displayName:"FormFieldLabel",props:{htmlFor:{required:!0,tsType:{name:"string"},description:""},children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},optional:{required:!1,tsType:{name:"boolean"},description:""}}};const ct=({children:e})=>i.jsx("div",{className:"mb-2 flex flex-col gap-1",children:e});ct.__docgenInfo={description:"",methods:[],displayName:"FormFieldLabelGroup",props:{children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""}}};const mt=({children:e,value:t,disabled:o})=>i.jsx(Pe.Option,{value:t,className:"max-w-fit cursor-pointer focus:outline-none",disabled:o,children:({checked:r,disabled:a})=>i.jsxs("div",{className:"flex items-center gap-3",children:[r?i.jsx("span",{className:q("relative inline-block h-4 w-4 rounded-full bg-primary-400 hover:bg-primary-500 active:bg-primary-600",a&&"bg-neutral-100 hover:bg-neutral-100 active:bg-neutral-100"),children:i.jsx("span",{className:q("absolute inset-0 m-auto block h-2 w-2 rounded-full bg-neutral-0",a&&"bg-neutral-500")})}):i.jsx("span",{className:q("inline-block h-4 w-4 rounded-full border border-neutral-400 hover:border-neutral-600 active:border-neutral-500 active:bg-neutral-100",a&&"border-0 bg-neutral-100")}),i.jsx("p",{className:q("paragraph-200",a&&"text-neutral-600"),children:e})]})});mt.__docgenInfo={description:"",methods:[],displayName:"RadioInputOption",props:{children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},value:{required:!0,tsType:{name:"string"},description:""},disabled:{required:!1,tsType:{name:"boolean"},description:""}}};const Ue=({id:e,children:t,value:o,onChange:r})=>i.jsx(Pe,{id:e,value:o,onChange:r,children:t});Ue.Option=mt;Ue.__docgenInfo={description:"",methods:[{name:"Option",docblock:null,modifiers:["static"],params:[{name:"{ children, value, disabled }: RadioInputOptionProps",optional:!1,type:{name:"RadioInputOptionProps",alias:"RadioInputOptionProps"}}],returns:null}],displayName:"RadioInput",props:{id:{required:!0,tsType:{name:"string"},description:""},children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},value:{required:!0,tsType:{name:"string"},description:""},onChange:{required:!0,tsType:{name:"signature",type:"function",raw:"(value: string) => void",signature:{arguments:[{type:{name:"string"},name:"value"}],return:{name:"void"}}},description:""}}};const ro="target-field",oo=q("[.group.form-field-group_&:first-child_.target-field]:rounded-r-none [.group.form-field-group_&:first-child_.target-field]:border-r-0","[.group.form-field-group_&:not(:first-child):not(:last-child)_.target-field]:rounded-none [.group.form-field-group_&:not(:first-child):not(:last-child)_.target-field]:border-r-0","[.group.form-field-group_&:last-child_.target-field]:border-l-1 [.group.form-field-group_&:last-child_.target-field]:rounded-l-none"),bt=({ariaDescribedBy:e,type:t="text",LeftIcon:o,readOnly:r,autoSelect:a,error:l,disabled:n,className:u,...x})=>{const d=s.useRef(null),h=()=>{a&&d.current&&d.current.select()};return i.jsxs("div",{className:q("relative w-full",oo),children:[o?i.jsx("div",{className:"pointer-events-none absolute inset-y-0 left-0 z-10 flex items-center pl-3","aria-hidden":"true",children:i.jsx(o,{className:"text-gray-400 h-3.5 w-3.5 fill-neutral-600"})}):null,i.jsx("input",{ref:d,"aria-describedby":e,onMouseOver:h,onFocus:h,onClick:h,type:t,className:q(ro,"paragraph-100 relative block h-8 w-full rounded border border-neutral-400 py-2 pl-3 pr-2 text-neutral-800 placeholder:text-neutral-600 focus:outline-none",o&&"pl-9",r&&"bg-primary-50",n&&"cursor-not-allowed bg-neutral-100 text-neutral-600",!l&&!n&&"hover:border-neutral-600 focus:border-primary-400 focus:ring-2 focus:ring-primary-200",l&&!n&&"border-danger-500",u),readOnly:r,disabled:n,...x})]})};bt.__docgenInfo={description:"",methods:[],displayName:"TextInput",props:{type:{required:!1,tsType:{name:"union",raw:'"text" | "password" | "email"',elements:[{name:"literal",value:'"text"'},{name:"literal",value:'"password"'},{name:"literal",value:'"email"'}]},description:"",defaultValue:{value:'"text"',computed:!1}},autoSelect:{required:!1,tsType:{name:"boolean"},description:""},ariaDescribedBy:{required:!1,tsType:{name:"string"},description:""},LeftIcon:{required:!1,tsType:{name:"ReactElementType",raw:"React.ElementType"},description:""},error:{required:!1,tsType:{name:"boolean"},description:""}}};const ft=({id:e,value:t,onChange:o,placeholder:r,ariaDescribedBy:a,error:l,disabled:n,rows:u,cols:x,className:d})=>i.jsx("textarea",{id:e,name:e,value:t,onChange:o,placeholder:r,"aria-describedby":a,className:q("paragraph-100 block min-h-[2rem] w-full rounded border border-neutral-400 py-2 pl-3 pr-2 text-neutral-800 placeholder:text-neutral-600 focus:outline-none",n&&"cursor-not-allowed bg-neutral-100 text-neutral-600",!l&&!n&&"hover:border-neutral-600 focus:border-primary-400 focus:ring-2 focus:ring-primary-200",l&&!n&&"border-danger-500",d),disabled:n,rows:u,cols:x});ft.__docgenInfo={description:"",methods:[],displayName:"Textarea",props:{id:{required:!0,tsType:{name:"string"},description:""},placeholder:{required:!0,tsType:{name:"string"},description:""},value:{required:!0,tsType:{name:"string"},description:""},onChange:{required:!0,tsType:{name:"signature",type:"function",raw:"(event: React.ChangeEvent) => void",signature:{arguments:[{type:{name:"ReactChangeEvent",raw:"React.ChangeEvent",elements:[{name:"HTMLTextAreaElement"}]},name:"event"}],return:{name:"void"}}},description:""},ariaDescribedBy:{required:!1,tsType:{name:"string"},description:""},error:{required:!1,tsType:{name:"boolean"},description:""},disabled:{required:!1,tsType:{name:"boolean"},description:""},rows:{required:!1,tsType:{name:"number"},description:""},cols:{required:!1,tsType:{name:"number"},description:""},className:{required:!1,tsType:{name:"string"},description:""}}};const no={left:"text-left",center:"text-center",right:"text-right"},xt=({id:e,placeholder:t,value:o,min:r,max:a,onChange:l,ariaDescribedBy:n,LeftIcon:u,textAlign:x="left",readOnly:d,error:h,disabled:O})=>i.jsxs("div",{className:"relative w-full",children:[u?i.jsx("div",{className:"pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3","aria-hidden":"true",children:i.jsx(u,{className:"text-gray-400 h-4 w-4 fill-neutral-600"})}):null,i.jsx("input",{id:e,name:e,value:o,readOnly:d,onChange:l,placeholder:t,"aria-describedby":n,type:"number",min:r,max:a,className:q("paragraph-100 block w-full rounded border border-neutral-400 py-2 pl-3 pr-2 text-neutral-800 placeholder:text-neutral-600 focus:outline-none",no[x],u&&"pl-9",d&&"bg-neutral-100",O&&"cursor-not-allowed bg-neutral-100 text-neutral-600",!h&&!O&&"hover:border-neutral-600 focus:border-primary-400 focus:ring-2 focus:ring-primary-200",h&&!O&&"border-danger-500"),disabled:O})]});xt.__docgenInfo={description:"",methods:[],displayName:"NumberInput",props:{id:{required:!0,tsType:{name:"string"},description:""},placeholder:{required:!0,tsType:{name:"string"},description:""},value:{required:!0,tsType:{name:"number"},description:""},textAlign:{required:!1,tsType:{name:"union",raw:"keyof typeof textAlignVariants",elements:[{name:"literal",value:"left"},{name:"literal",value:"center"},{name:"literal",value:"right"}]},description:"",defaultValue:{value:'"left"',computed:!1}},onChange:{required:!1,tsType:{name:"signature",type:"function",raw:"(event: React.ChangeEvent) => void",signature:{arguments:[{type:{name:"ReactChangeEvent",raw:"React.ChangeEvent",elements:[{name:"HTMLInputElement"}]},name:"event"}],return:{name:"void"}}},description:""},readOnly:{required:!1,tsType:{name:"boolean"},description:""},ariaDescribedBy:{required:!0,tsType:{name:"string"},description:""},LeftIcon:{required:!1,tsType:{name:"ReactElementType",raw:"React.ElementType"},description:""},error:{required:!1,tsType:{name:"boolean"},description:""},disabled:{required:!1,tsType:{name:"boolean"},description:""},min:{required:!1,tsType:{name:"number"},description:""},max:{required:!1,tsType:{name:"number"},description:""}}};const gt=({children:e})=>i.jsx(Ie.Options,{className:"absolute mt-1 max-h-60 w-full overflow-auto rounded-md border border-neutral-300 bg-neutral-0 shadow-md outline-none ring-0",children:e});gt.__docgenInfo={description:"",methods:[],displayName:"ListboxOptions",props:{children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""}}};const vt=({children:e,badgeType:t="neutral"})=>i.jsx("div",{className:"flex items-center",children:i.jsx(it,{type:t,children:e})});vt.__docgenInfo={description:"",methods:[],displayName:"ListboxBadgeOption",props:{children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},badgeType:{required:!1,tsType:{name:"union",raw:"keyof typeof buttonVariants",elements:[{name:"literal",value:"primary"},{name:"literal",value:"violet"},{name:"literal",value:"green"},{name:"literal",value:"neutral"},{name:"literal",value:"yellow"},{name:"literal",value:"teal"},{name:"literal",value:"orange"},{name:"literal",value:"pink"},{name:"literal",value:"red"},{name:"literal",value:"purple"}]},description:"",defaultValue:{value:'"neutral"',computed:!1}}}};const yt=({children:e,LeftIcon:t})=>i.jsxs("div",{className:"flex items-center gap-2",children:[t?i.jsx(t,{className:"h-3 w-3 fill-neutral-500 ui-selected:fill-primary-500"}):null,i.jsx("div",{className:"paragraph-100",children:e})]});yt.__docgenInfo={description:"",methods:[],displayName:"ListboxTextOption",props:{children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},LeftIcon:{required:!1,tsType:{name:"ReactElementType",raw:"React.ElementType"},description:""}}};const ye={base:"relative cursor-pointer px-3 py-2 ",selected:"bg-primary-100 text-primary-500 before:absolute before:bottom-0 before:left-0 before:top-0 before:block before:w-[2px] before:rounded-r-md before:bg-primary-400",active:"bg-neutral-50 bg-primary-100",disabled:"cursor-not-allowed bg-neutral-50 text-neutral-400"},we=({value:e,disabled:t,children:o})=>i.jsx(Ie.Option,{value:e,as:s.Fragment,disabled:t,children:({active:r,selected:a})=>i.jsx("li",{className:q(ye.base,r&&ye.active,a&&ye.selected,t&&ye.disabled),children:o})});we.BadgeOption=vt;we.TextOption=yt;we.__docgenInfo={description:"",methods:[{name:"BadgeOption",docblock:null,modifiers:["static"],params:[{name:`{ + children, + badgeType = "neutral", +}: ListboxBadgeOptionProps`,optional:!1,type:{name:"ListboxBadgeOptionProps",alias:"ListboxBadgeOptionProps"}}],returns:null},{name:"TextOption",docblock:null,modifiers:["static"],params:[{name:"{ children, LeftIcon }: ListboxTextOptionProps",optional:!1,type:{name:"ListboxTextOptionProps",alias:"ListboxTextOptionProps"}}],returns:null}],displayName:"ListboxOption",props:{value:{required:!0,tsType:{name:"TValue"},description:""},children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},disabled:{required:!1,tsType:{name:"boolean"},description:""}}};const ht=({placeholder:e,value:t,badgeType:o="neutral"})=>t?i.jsx(it,{type:o,children:t}):i.jsx("div",{className:"paragraph-100 text-neutral-600",children:e});ht.__docgenInfo={description:"",methods:[],displayName:"ListboxButtonBadgeValue",props:{placeholder:{required:!0,tsType:{name:"string"},description:""},value:{required:!1,tsType:{name:"union",raw:"string | number | null",elements:[{name:"string"},{name:"number"},{name:"null"}]},description:""},badgeType:{required:!1,tsType:{name:"union",raw:"keyof typeof buttonVariants",elements:[{name:"literal",value:"primary"},{name:"literal",value:"violet"},{name:"literal",value:"green"},{name:"literal",value:"neutral"},{name:"literal",value:"yellow"},{name:"literal",value:"teal"},{name:"literal",value:"orange"},{name:"literal",value:"pink"},{name:"literal",value:"red"},{name:"literal",value:"purple"}]},description:"",defaultValue:{value:'"neutral"',computed:!1}}}};const Rt=({placeholder:e,value:t})=>t?i.jsx("div",{className:"paragraph-100",children:t}):i.jsx("div",{className:"paragraph-100 text-neutral-600 group-hover:text-neutral-700",children:e});Rt.__docgenInfo={description:"",methods:[],displayName:"ListboxButtonTextValue",props:{placeholder:{required:!0,tsType:{name:"string"},description:""},value:{required:!1,tsType:{name:"union",raw:"string | number | null",elements:[{name:"string"},{name:"number"},{name:"null"}]},description:""}}};const Se=({children:e})=>i.jsxs(Ie.Button,{className:"group flex h-8 w-full cursor-pointer items-center rounded border border-neutral-400 bg-neutral-0 py-2 pl-3 pr-8 outline-none hover:border-neutral-600 focus:border-primary-400 focus:ring-2 focus:ring-primary-200 ui-open:border-primary-400 ui-open:ring-2 ui-open:ring-primary-200",children:[e,i.jsx("div",{className:"absolute inset-y-0 right-0 flex items-center px-1.5",children:i.jsx("div",{className:"flex h-5 w-5 items-center justify-center rounded rounded-r-md bg-neutral-100 focus:outline-none",children:i.jsx(Ce,{className:"h-3 w-3 fill-neutral-600","aria-hidden":"true"})})})]});Se.BadgeValue=ht;Se.TextValue=Rt;Se.__docgenInfo={description:"",methods:[{name:"BadgeValue",docblock:null,modifiers:["static"],params:[{name:`{ + placeholder, + value, + badgeType = "neutral", +}: ListboxButtonBadgeValueProps`,optional:!1,type:{name:"ListboxButtonBadgeValueProps",alias:"ListboxButtonBadgeValueProps"}}],returns:null},{name:"TextValue",docblock:null,modifiers:["static"],params:[{name:"{ placeholder, value }: ListboxButtonTextValueProps",optional:!1,type:{name:"ListboxButtonTextValueProps",alias:"ListboxButtonTextValueProps"}}],returns:null}],displayName:"ListboxButton",props:{children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""}}};const ao=q("[.group.form-field-group_&:first-child_button]:rounded-r-none [.group.form-field-group_&:first-child_button]:border-r-0","[.group.form-field-group_&:not(:first-child):not(:last-child)_button]:rounded-none [.group.form-field-group_&:not(:first-child):not(:last-child)_button]:border-r-0","[.group.form-field-group_&:last-child_button]:rounded-l-none"),ge=({children:e,value:t,onChange:o,className:r})=>i.jsx(Ie,{value:t,onChange:o,children:i.jsx("div",{className:q("relative w-full",ao,r),children:e})});ge.Button=Se;ge.Options=gt;ge.Option=we;ge.__docgenInfo={description:"",methods:[{name:"Button",docblock:null,modifiers:["static"],params:[{name:"{ children }: ListboxButtonProps",optional:!1,type:{name:"ListboxButtonProps",alias:"ListboxButtonProps"}}],returns:null},{name:"Options",docblock:null,modifiers:["static"],params:[{name:"{ children }: ListboxOptionsProps",optional:!1,type:{name:"ListboxOptionsProps",alias:"ListboxOptionsProps"}}],returns:null},{name:"Option",docblock:null,modifiers:["static"],params:[{name:"{ value, disabled, children }: ListboxOptionProps",optional:!1,type:{name:"ListboxOptionProps",elements:[{name:"TValue"}],raw:"ListboxOptionProps",alias:"ListboxOptionProps"}}],returns:null}],displayName:"Listbox",props:{children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},value:{required:!0,tsType:{name:"TValue"},description:""},onChange:{required:!0,tsType:{name:"signature",type:"function",raw:"(value: TValue) => void",signature:{arguments:[{type:{name:"TValue"},name:"value"}],return:{name:"void"}}},description:""},className:{required:!1,tsType:{name:"string"},description:""}}};const Tt=({value:e,children:t})=>i.jsx(W.Option,{value:e,className:"paragraph-100 flex cursor-pointer items-center gap-1 px-3 py-2 text-neutral-700 ui-selected:bg-primary-100 ui-selected:text-primary-500 ui-selected:before:absolute ui-selected:before:bottom-0 ui-selected:before:left-0 ui-selected:before:top-0 ui-selected:before:block ui-selected:before:w-[2px] ui-selected:before:rounded-r-md ui-selected:before:bg-primary-400 ui-active:bg-neutral-50 ui-active:ui-selected:bg-primary-100",children:t});Tt.__docgenInfo={description:"",methods:[],displayName:"MultiComboboxCustomOption",props:{value:{required:!0,tsType:{name:"TValue"},description:""},children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""}}};const Ot=({children:e})=>i.jsx("div",{className:"px-3 py-2 ui-selected:bg-primary-100",children:e});Ot.__docgenInfo={description:"",methods:[],displayName:"MultiComboboxEmptyOption",props:{children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""}}};const Ct=({id:e,displayValue:t,placeholder:o,onChange:r,showButton:a=!0})=>i.jsxs("div",{className:"relative",children:[i.jsx(W.Input,{id:e,name:e,placeholder:o,displayValue:()=>t,onChange:r,className:"paragraph-100 flex h-8 w-full items-center rounded border border-neutral-400 py-2 pl-3 pr-8 focus-visible:border-primary-400 focus-visible:ring-2 focus-visible:ring-primary-200"}),a?i.jsx(W.Button,{className:"absolute inset-y-0 right-0 flex items-center px-1.5",children:i.jsx("div",{className:"flex h-5 w-5 items-center justify-center rounded rounded-r-md bg-neutral-100",children:i.jsx(Ce,{name:"caret-down",className:"h-3 w-3 fill-neutral-600","aria-hidden":"true"})})}):null]});Ct.__docgenInfo={description:"",methods:[],displayName:"MultiComboboxInput",props:{id:{required:!0,tsType:{name:"string"},description:""},displayValue:{required:!0,tsType:{name:"string"},description:""},placeholder:{required:!0,tsType:{name:"string"},description:""},onChange:{required:!0,tsType:{name:"signature",type:"function",raw:"(event: React.ChangeEvent) => void",signature:{arguments:[{type:{name:"ReactChangeEvent",raw:"React.ChangeEvent",elements:[{name:"HTMLInputElement"}]},name:"event"}],return:{name:"void"}}},description:""},showButton:{required:!1,tsType:{name:"boolean"},description:"",defaultValue:{value:"true",computed:!1}}}};const Nt=({value:e,children:t})=>i.jsxs(W.Option,{value:e,className:"relative flex cursor-pointer items-center px-3 py-2 ui-selected:bg-primary-100 ui-selected:text-primary-500 ui-selected:before:absolute ui-selected:before:bottom-0 ui-selected:before:left-0 ui-selected:before:top-0 ui-selected:before:block ui-selected:before:w-[2px] ui-selected:before:rounded-r-md ui-selected:before:bg-primary-400 ui-active:bg-neutral-50 ui-active:ui-selected:bg-primary-100",children:[t,i.jsx("div",{className:"absolute inset-y-0 right-3 hidden items-center fill-primary-500 ui-selected:flex",children:i.jsx(Bt,{})})]});Nt.__docgenInfo={description:"",methods:[],displayName:"MultiComboboxOption",props:{value:{required:!0,tsType:{name:"TValue"},description:""},children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""}}};const It=({children:e,className:t})=>i.jsx(W.Options,{hold:!0,className:q("absolute mt-1 max-h-60 w-full overflow-auto rounded-md border border-neutral-300 bg-neutral-0 shadow-md outline-none ring-0",t),children:e});It.__docgenInfo={description:"",methods:[],displayName:"MultiComboboxOptions",props:{children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},className:{required:!1,tsType:{name:"string"},description:""}}};const Pt=({children:e})=>i.jsx("div",{className:"flex flex-wrap gap-2",children:e});Pt.__docgenInfo={description:"",methods:[],displayName:"MultiComboboxResultsBadges",props:{children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""}}};const wt=({children:e})=>i.jsx("div",{className:"paragraph-100 mt-2 text-neutral-900",children:e});wt.__docgenInfo={description:"",methods:[],displayName:"MultiComboboxResultsLabel",props:{children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""}}};const St=({children:e})=>i.jsx("div",{className:"flex flex-wrap gap-2",children:e});St.__docgenInfo={description:"",methods:[],displayName:"MultiComboboxResultsTags",props:{children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""}}};const Lt=({children:e})=>i.jsx("div",{className:"paragraph-100",children:e});Lt.__docgenInfo={description:"",methods:[],displayName:"MultiComboboxResultsText",props:{children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""}}};const de=({children:e})=>i.jsx("div",{className:"flex flex-col gap-2",children:e});de.Label=wt;de.Text=Lt;de.Badges=Pt;de.Tags=St;de.__docgenInfo={description:"",methods:[{name:"Label",docblock:null,modifiers:["static"],params:[{name:"{ children }: MultiComboboxResultsLabelProps",optional:!1,type:{name:"MultiComboboxResultsLabelProps",alias:"MultiComboboxResultsLabelProps"}}],returns:null},{name:"Text",docblock:null,modifiers:["static"],params:[{name:"{ children }: MultiComboboxResultsTextProps",optional:!1,type:{name:"MultiComboboxResultsTextProps",alias:"MultiComboboxResultsTextProps"}}],returns:null},{name:"Badges",docblock:null,modifiers:["static"],params:[{name:"{ children }: MultiComboboxResultsBadgesProps",optional:!1,type:{name:"MultiComboboxResultsBadgesProps",alias:"MultiComboboxResultsBadgesProps"}}],returns:null},{name:"Tags",docblock:null,modifiers:["static"],params:[{name:"{ children }: MultiComboboxResultsTagsProps",optional:!1,type:{name:"MultiComboboxResultsTagsProps",alias:"MultiComboboxResultsTagsProps"}}],returns:null}],displayName:"MultiComboboxResults",props:{children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""}}};const le=({value:e,onChange:t,children:o})=>i.jsx(W,{multiple:!0,value:e,onChange:t,children:i.jsx("div",{className:"relative",children:o})});le.Input=Ct;le.Options=It;le.Option=Nt;le.CustomOption=Tt;le.EmptyOption=Ot;le.Results=de;le.__docgenInfo={description:"",methods:[{name:"Input",docblock:null,modifiers:["static"],params:[{name:`{ + id, + displayValue, + placeholder, + onChange, + showButton = true, +}: MultiComboboxInputProps`,optional:!1,type:{name:"MultiComboboxInputProps",alias:"MultiComboboxInputProps"}}],returns:null},{name:"Options",docblock:null,modifiers:["static"],params:[{name:"{ children, className }: MultiComboboxOptionsProps",optional:!1,type:{name:"MultiComboboxOptionsProps",alias:"MultiComboboxOptionsProps"}}],returns:null},{name:"Option",docblock:null,modifiers:["static"],params:[{name:`{ + value, + children, +}: MultiComboboxOptionProps`,optional:!1,type:{name:"MultiComboboxOptionProps",elements:[{name:"TValue"}],raw:"MultiComboboxOptionProps",alias:"MultiComboboxOptionProps"}}],returns:null},{name:"CustomOption",docblock:null,modifiers:["static"],params:[{name:`{ + value, + children, +}: MultiComboboxCustomOptionProps`,optional:!1,type:{name:"MultiComboboxCustomOptionProps",elements:[{name:"TValue"}],raw:"MultiComboboxCustomOptionProps",alias:"MultiComboboxCustomOptionProps"}}],returns:null},{name:"EmptyOption",docblock:null,modifiers:["static"],params:[{name:"{ children }: MultiComboboxEmptyOptionProps",optional:!1,type:{name:"MultiComboboxEmptyOptionProps",alias:"MultiComboboxEmptyOptionProps"}}],returns:null},{name:"Results",docblock:null,modifiers:["static"],params:[{name:"{ children }: MultiComboboxResultsProps",optional:!1,type:{name:"MultiComboboxResultsProps",alias:"MultiComboboxResultsProps"}}],returns:null}],displayName:"MultiCombobox",props:{value:{required:!0,tsType:{name:"Array",elements:[{name:"TValue"}],raw:"TValue[]"},description:""},onChange:{required:!0,tsType:{name:"signature",type:"function",raw:"(value: TValue[]) => void",signature:{arguments:[{type:{name:"Array",elements:[{name:"TValue"}],raw:"TValue[]"},name:"value"}],return:{name:"void"}}},description:""},children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""}}};const kt=({id:e,displayValue:t,placeholder:o,onChange:r,showButton:a=!0})=>i.jsxs("div",{className:"relative",children:[i.jsx(W.Input,{id:e,name:e,placeholder:o,displayValue:t,onChange:r,className:"paragraph-100 flex h-8 w-full items-center rounded border border-neutral-400 py-2 pl-3 pr-8 focus-visible:border-primary-400 focus-visible:ring-2 focus-visible:ring-primary-200 disabled:border-neutral-300 disabled:bg-neutral-100 disabled:text-neutral-600"}),a?i.jsx(W.Button,{className:"absolute inset-y-0 right-0 flex items-center px-1.5",children:i.jsx("div",{className:"flex h-5 w-5 items-center justify-center rounded rounded-r-md bg-neutral-100",children:i.jsx(Ce,{name:"caret-down",className:"h-3 w-3 fill-neutral-600","aria-hidden":"true"})})}):null]});kt.__docgenInfo={description:"",methods:[],displayName:"SingleComboboxInput",props:{id:{required:!0,tsType:{name:"string"},description:""},placeholder:{required:!0,tsType:{name:"string"},description:""},onChange:{required:!0,tsType:{name:"signature",type:"function",raw:"(event: React.ChangeEvent) => void",signature:{arguments:[{type:{name:"ReactChangeEvent",raw:"React.ChangeEvent",elements:[{name:"HTMLInputElement"}]},name:"event"}],return:{name:"void"}}},description:""},showButton:{required:!1,tsType:{name:"boolean"},description:"",defaultValue:{value:"true",computed:!1}}}};const Et=({children:e})=>i.jsx(W.Options,{hold:!0,className:"absolute mt-1 max-h-60 w-full overflow-auto rounded-md border border-neutral-300 bg-neutral-0 shadow-md outline-none ring-0",children:e});Et.__docgenInfo={description:"",methods:[],displayName:"SingleComboboxOptions",props:{children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""}}};const Mt=({value:e,children:t})=>i.jsx(W.Option,{value:e,className:"relative flex cursor-pointer items-center px-3 py-2 ui-selected:bg-primary-100 ui-selected:text-primary-500 ui-selected:before:absolute ui-selected:before:bottom-0 ui-selected:before:left-0 ui-selected:before:top-0 ui-selected:before:block ui-selected:before:w-[2px] ui-selected:before:rounded-r-md ui-selected:before:bg-primary-400 ui-active:bg-neutral-50 ui-active:ui-selected:bg-primary-100",children:t});Mt.__docgenInfo={description:"",methods:[],displayName:"SingleComboboxOption",props:{value:{required:!0,tsType:{name:"TValue"},description:""},children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""}}};const _t=({onUnselect:e,children:t})=>i.jsx("div",{className:"relative",children:i.jsxs("div",{className:"paragraph-100 flex h-8 w-full items-center rounded border border-neutral-400 py-2 pl-3 pr-8 focus-visible:border-primary-400 focus-visible:ring-2 focus-visible:ring-primary-200",children:[i.jsx(Yt,{onClick:e,children:t}),i.jsx(W.Button,{className:"absolute inset-y-0 right-0 flex items-center px-1.5",children:i.jsx("div",{className:"flex h-5 w-5 items-center justify-center rounded rounded-r-md bg-neutral-100",children:i.jsx(Ce,{className:"h-3 w-3 fill-neutral-600","aria-hidden":"true"})})})]})});_t.__docgenInfo={description:"",methods:[],displayName:"SingleComboboxResultInput",props:{onUnselect:{required:!0,tsType:{name:"signature",type:"function",raw:"() => void",signature:{arguments:[],return:{name:"void"}}},description:""},children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""}}};const qt=({value:e,children:t})=>i.jsx(W.Option,{value:e,className:"paragraph-100 flex cursor-pointer items-center gap-1 px-3 py-2 text-neutral-700 ui-selected:bg-primary-100 ui-selected:text-primary-500 ui-selected:before:absolute ui-selected:before:bottom-0 ui-selected:before:left-0 ui-selected:before:top-0 ui-selected:before:block ui-selected:before:w-[2px] ui-selected:before:rounded-r-md ui-selected:before:bg-primary-400 ui-active:bg-neutral-50 ui-active:ui-selected:bg-primary-100",children:t});qt.__docgenInfo={description:"",methods:[],displayName:"SingleComboboxCustomOption",props:{value:{required:!0,tsType:{name:"TValue"},description:""},children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""}}};const jt=({children:e})=>i.jsx("div",{className:"px-3 py-2 ui-selected:bg-primary-100",children:e});jt.__docgenInfo={description:"",methods:[],displayName:"SingleComboboxEmptyOption",props:{children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""}}};const se=({value:e,onChange:t,children:o,disabled:r})=>i.jsx(W,{value:e,onChange:t,disabled:r,children:i.jsx("div",{className:"relative",children:o})});se.Input=kt;se.ResultInput=_t;se.Options=Et;se.Option=Mt;se.EmptyOption=jt;se.CustomOption=qt;se.__docgenInfo={description:"",methods:[{name:"Input",docblock:null,modifiers:["static"],params:[{name:`{ + id, + displayValue, + placeholder, + onChange, + showButton = true, +}: SingleComboboxInputProps`,optional:!1,type:{name:"SingleComboboxInputProps",elements:[{name:"TValue"}],raw:"SingleComboboxInputProps",alias:"SingleComboboxInputProps"}}],returns:null},{name:"ResultInput",docblock:null,modifiers:["static"],params:[{name:`{ + onUnselect, + children, +}: SingleComboboxResultInputProps`,optional:!1,type:{name:"SingleComboboxResultInputProps",alias:"SingleComboboxResultInputProps"}}],returns:null},{name:"Options",docblock:null,modifiers:["static"],params:[{name:"{ children }: SingleComboboxOptionsProps",optional:!1,type:{name:"SingleComboboxOptionsProps",alias:"SingleComboboxOptionsProps"}}],returns:null},{name:"Option",docblock:null,modifiers:["static"],params:[{name:`{ + value, + children, +}: SingleComboboxOptionProps`,optional:!1,type:{name:"SingleComboboxOptionProps",elements:[{name:"TValue"}],raw:"SingleComboboxOptionProps",alias:"SingleComboboxOptionProps"}}],returns:null},{name:"EmptyOption",docblock:null,modifiers:["static"],params:[{name:"{ children }: SingleComboboxEmptyOptionProps",optional:!1,type:{name:"SingleComboboxEmptyOptionProps",alias:"SingleComboboxEmptyOptionProps"}}],returns:null},{name:"CustomOption",docblock:null,modifiers:["static"],params:[{name:`{ + value, + children, +}: SingleComboboxCustomOptionProps`,optional:!1,type:{name:"SingleComboboxCustomOptionProps",elements:[{name:"TValue"}],raw:"SingleComboboxCustomOptionProps",alias:"SingleComboboxCustomOptionProps"}}],returns:null}],displayName:"SingleCombobox",props:{value:{required:!1,tsType:{name:"TValue"},description:""},onChange:{required:!0,tsType:{name:"signature",type:"function",raw:"(value: TValue) => void",signature:{arguments:[{type:{name:"TValue"},name:"value"}],return:{name:"void"}}},description:""},children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},disabled:{required:!1,tsType:{name:"boolean"},description:""}}};const Ft=({children:e})=>i.jsx("div",{className:"form-field-group group flex w-full flex-row",children:e});Ft.__docgenInfo={description:"",methods:[],displayName:"FormFieldGroup",props:{children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""}}};const $t=({ariaDescribedBy:e,readOnly:t,autoSelect:o,onClear:r,error:a,value:l,disabled:n,className:u,...x})=>{const d=s.useRef(null),h=!t&&!n&&l!==void 0&&l!=="",O=s.useCallback(()=>{o&&d.current&&d.current.select()},[o]),p=s.useCallback(m=>{(m.key==="Enter"||m.key===" ")&&(m.preventDefault(),m.stopPropagation(),r())},[r]);return i.jsxs("div",{className:q("relative w-full"),children:[i.jsx("div",{className:"pointer-events-none absolute inset-y-0 left-0 z-10 flex items-center pl-3","aria-hidden":"true",children:i.jsx(Dt,{className:"text-gray-400 h-3.5 w-3.5 fill-neutral-600"})}),i.jsx("input",{ref:d,"aria-describedby":e,onMouseOver:O,onFocus:O,onClick:O,type:"search",className:q("paragraph-100 relative block h-8 w-full rounded border border-neutral-400 py-2 pl-9 pr-8 text-neutral-800 placeholder:text-neutral-600 focus:outline-none",t&&"bg-neutral-100",n&&"cursor-not-allowed bg-neutral-100 text-neutral-600",!a&&!n&&"hover:border-neutral-600 focus:border-primary-400 focus:ring-2 focus:ring-primary-200",a&&!n&&"border-danger-500",u),readOnly:t,disabled:n,value:l,...x}),h?i.jsx("div",{className:"absolute inset-y-0 right-0 z-10 flex items-center justify-center pr-2",children:i.jsx("button",{type:"button","aria-label":"Clear search input",tabIndex:0,onClick:r,onKeyDown:p,className:"rounded bg-neutral-100 p-0.5 hover:bg-neutral-200",children:i.jsx(At,{className:"h-3 w-3 fill-neutral-600"})})}):null]})};$t.__docgenInfo={description:"",methods:[],displayName:"SearchInput",props:{autoSelect:{required:!1,tsType:{name:"boolean"},description:""},ariaDescribedBy:{required:!1,tsType:{name:"string"},description:""},error:{required:!1,tsType:{name:"boolean"},description:""},onClear:{required:!0,tsType:{name:"signature",type:"function",raw:"() => void",signature:{arguments:[],return:{name:"void"}}},description:""}}};const he={base:"group relative flex items-center gap-3 rounded-lg bg-neutral-0 border p-4 border-neutral-300 hover:border-primary-600 hover:bg-primary-50 cursor-pointer focus:outline-none",checked:"border-primary-600 bg-primary-600 hover:bg-primary-600 hover:text-neutral-0",disabled:"bg-neutral-100 group-hover:border-neutral-300 group-hover:bg-neutral-100 hover:border-neutral-300 hover:bg-neutral-100 cursor-not-allowed",active:"ring-2 ring-primary-200"},Re={base:"relative inline-block h-4 w-4 shrink-0 rounded-full bg-neutral-0 border border-neutral-300",unchecked:"group-hover:border-primary-600 group-hover:bg-neutral-0",checked:"border-transparent",disabled:"bg-neutral-200 border-neutral-200 group-hover:border-neutral-200 group-hover:bg-neutral-200"},io=({children:e})=>i.jsx("h2",{className:"headline-500 text-neutral-900 group-[.is-checked]:text-neutral-0 group-[.is-disabled]:text-neutral-500",children:e}),lo=({children:e})=>i.jsx("p",{className:"paragraph-200 text-neutral-800 group-[.is-checked]:text-neutral-0 group-[.is-disabled]:text-neutral-500",children:e}),Le=({children:e,value:t,disabled:o,className:r})=>i.jsx(Pe.Option,{value:t,disabled:o,as:s.Fragment,children:({checked:a,disabled:l,active:n})=>i.jsxs("div",{className:q(he.base,a&&q("is-checked",he.checked),l&&q("is-disabled",he.disabled),n&&he.active),children:[i.jsx("div",{className:q(Re.base,!a&&Re.unchecked,a&&Re.checked,l&&Re.disabled),children:a&&i.jsx("div",{className:q("absolute inset-0 m-auto block h-2 w-2 rounded-full bg-primary-600",l&&"bg-neutral-500")})}),i.jsx("div",{className:q("flex flex-col",r),children:e})]})});Le.Title=io;Le.Description=lo;Le.__docgenInfo={description:"",methods:[{name:"Title",docblock:null,modifiers:["static"],params:[{name:"{ children }: { children: React.ReactNode }",optional:!1,type:{name:"signature",type:"object",raw:"{ children: React.ReactNode }",signature:{properties:[{key:"children",value:{name:"ReactReactNode",raw:"React.ReactNode",required:!0}}]}}}],returns:null},{name:"Description",docblock:null,modifiers:["static"],params:[{name:"{ children }: { children: React.ReactNode }",optional:!1,type:{name:"signature",type:"object",raw:"{ children: React.ReactNode }",signature:{properties:[{key:"children",value:{name:"ReactReactNode",raw:"React.ReactNode",required:!0}}]}}}],returns:null}],displayName:"RadioBoxOption",props:{children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},value:{required:!0,tsType:{name:"string"},description:""},disabled:{required:!1,tsType:{name:"boolean"},description:""},className:{required:!1,tsType:{name:"string"},description:""}}};const Ke=({id:e,value:t,children:o,onChange:r,className:a})=>i.jsx(Pe,{id:e,value:t,onChange:r,className:a,children:o});Ke.Option=Le;Ke.__docgenInfo={description:"",methods:[{name:"Option",docblock:null,modifiers:["static"],params:[{name:"{ children, value, disabled, className }: RadioBoxOptionProps",optional:!1,type:{name:"RadioBoxOptionProps",alias:"RadioBoxOptionProps"}}],returns:null}],displayName:"RadioBox",props:{id:{required:!0,tsType:{name:"string"},description:""},children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""},value:{required:!0,tsType:{name:"string"},description:""},onChange:{required:!0,tsType:{name:"signature",type:"function",raw:"(value: string) => void",signature:{arguments:[{type:{name:"string"},name:"value"}],return:{name:"void"}}},description:""},className:{required:!1,tsType:{name:"string"},description:""}}};const H=({children:e})=>i.jsx("div",{className:"w-full",children:e});H.LabelGroup=ct;H.Label=pt;H.Description=ut;H.ErrorMessage=dt;H.TextInput=bt;H.Textarea=ft;H.RadioInput=Ue;H.NumberInput=xt;H.Listbox=ge;H.MultiCombobox=le;H.SingleCombobox=se;H.Group=Ft;H.SearchInput=$t;H.RadioBox=Ke;H.__docgenInfo={description:"",methods:[{name:"LabelGroup",docblock:null,modifiers:["static"],params:[{name:"{ children }: FormFieldLabelGroupProps",optional:!1,type:{name:"FormFieldLabelGroupProps",alias:"FormFieldLabelGroupProps"}}],returns:null},{name:"Label",docblock:null,modifiers:["static"],params:[{name:"{ htmlFor, children, optional }: FormFieldLabelProps",optional:!1,type:{name:"FormFieldLabelProps",alias:"FormFieldLabelProps"}}],returns:null},{name:"Description",docblock:null,modifiers:["static"],params:[{name:"{ id, children }: FormFieldDescriptionProps",optional:!1,type:{name:"FormFieldDescriptionProps",alias:"FormFieldDescriptionProps"}}],returns:null},{name:"ErrorMessage",docblock:null,modifiers:["static"],params:[{name:"{ children }: FormFieldErrorMessageProps",optional:!1,type:{name:"FormFieldErrorMessageProps",alias:"FormFieldErrorMessageProps"}}],returns:null},{name:"TextInput",docblock:null,modifiers:["static"],params:[{name:`{ + ariaDescribedBy, + type = "text", + LeftIcon, + readOnly, + autoSelect, + error, + disabled, + className, + ...props +}: TextInputProps`,optional:!1,type:{name:"TextInputProps",alias:"TextInputProps"}}],returns:null},{name:"Textarea",docblock:null,modifiers:["static"],params:[{name:`{ + id, + value, + onChange, + placeholder, + ariaDescribedBy, + error, + disabled, + rows, + cols, + className, +}: TextareaProps`,optional:!1,type:{name:"TextareaProps",alias:"TextareaProps"}}],returns:null},{name:"RadioInput",docblock:null,modifiers:["static"],params:[{name:"{ id, children, value, onChange }: RadioInputProps",optional:!1,type:{name:"RadioInputProps",alias:"RadioInputProps"}}],returns:null},{name:"NumberInput",docblock:null,modifiers:["static"],params:[{name:`{ + id, + placeholder, + value, + min, + max, + onChange, + ariaDescribedBy, + LeftIcon, + textAlign = "left", + readOnly, + error, + disabled, +}: NumberInputProps`,optional:!1,type:{name:"NumberInputProps",alias:"NumberInputProps"}}],returns:null},{name:"Listbox",docblock:null,modifiers:["static"],params:[{name:"{ children, value, onChange, className }: ListboxProps",optional:!1,type:{name:"ListboxProps",elements:[{name:"TValue"}],raw:"ListboxProps",alias:"ListboxProps"}}],returns:null},{name:"MultiCombobox",docblock:null,modifiers:["static"],params:[{name:"{ value, onChange, children }: MultiComboboxProps",optional:!1,type:{name:"MultiComboboxProps",elements:[{name:"TValue"}],raw:"MultiComboboxProps",alias:"MultiComboboxProps"}}],returns:null},{name:"SingleCombobox",docblock:null,modifiers:["static"],params:[{name:`{ + value, + onChange, + children, + disabled, +}: SingleComboboxProps`,optional:!1,type:{name:"SingleComboboxProps",elements:[{name:"TValue"}],raw:"SingleComboboxProps",alias:"SingleComboboxProps"}}],returns:null},{name:"Group",docblock:null,modifiers:["static"],params:[{name:"{ children }: FormFieldGroupProps",optional:!1,type:{name:"FormFieldGroupProps",alias:"FormFieldGroupProps"}}],returns:null},{name:"SearchInput",docblock:null,modifiers:["static"],params:[{name:`{ + ariaDescribedBy, + readOnly, + autoSelect, + onClear, + error, + value, + disabled, + className, + ...props +}: SearchInputProps`,optional:!1,type:{name:"SearchInputProps",alias:"SearchInputProps"}}],returns:null},{name:"RadioBox",docblock:null,modifiers:["static"],params:[{name:"{ id, value, children, onChange, className }: RadioBoxProps",optional:!1,type:{name:"RadioBoxProps",alias:"RadioBoxProps"}}],returns:null}],displayName:"FormField",props:{children:{required:!0,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""}}};export{H as F,Ke as R,se as S,Ft as a}; diff --git a/assets/form-field-eccqU7tK.js b/assets/form-field-eccqU7tK.js deleted file mode 100644 index 770f513f..00000000 --- a/assets/form-field-eccqU7tK.js +++ /dev/null @@ -1 +0,0 @@ -import{j as l}from"./jsx-runtime-vNq4Oc-g.js";import{e as qt,as as we,gz as Dt,g as Bt,j as At}from"./zoom-to-fit-icon-UPpVBno8.js";import{c as M}from"./class-names-J070TWId.js";import{r as u,R as U}from"./index-4g5l5LRQ.js";import{b as Ve,l as z,S as Ie,D as J,o as v,u as Q,R as pt,X,y as ee}from"./render-w54E0F54.js";import{I as te,o as T}from"./keyboard-o6QkQYrw.js";import{I as ct,h as Gt,T as Ut,O as Rt,M as Oe,N as Nt}from"./focus-management-gzNHToo7.js";import{c as Ht}from"./use-flags-t0jpIEJ-.js";import{T as mt,e as bt,M as Kt,H as It,p as zt}from"./label-4h3njXKv.js";import{b as Qt,M as St}from"./description-5F8ZuhcY.js";import{F as Tt,u as wt,a as L,x as Vt,b as Wt}from"./use-text-value-q5k1B-6y.js";import{c as ft,p as xt}from"./hidden-qqzWvBMn.js";import{e as Lt}from"./owner-fKE-7Rwj.js";import{r as Se}from"./bugs-DTVvle51.js";import{p as ue}from"./use-disposables-9CA2w67p.js";import{o as fe}from"./disposables-x8EK1kJp.js";import{c as jt,d as se,C as Et}from"./open-closed--zB8LTaK.js";import{s as $t}from"./use-resolve-button-type-_yXBvNtz.js";import{h as Mt,n as Jt}from"./use-owner-g5X0ZmiI.js";import{B as Pt}from"./badge-gQ8zLs50.js";import{m as Ct,n as Xt}from"./platform-xf9k1Dsu.js";import{T as Yt}from"./tag-aZM7YGie.js";function ve(e,t){let[o,r]=u.useState(e),n=Ve(e);return z(()=>r(n.current),[n,r,...t]),o}var Zt=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Zt||{}),er=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(er||{}),tr=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(tr||{}),rr=(e=>(e[e.OpenCombobox=0]="OpenCombobox",e[e.CloseCombobox=1]="CloseCombobox",e[e.GoToOption=2]="GoToOption",e[e.RegisterOption=3]="RegisterOption",e[e.UnregisterOption=4]="UnregisterOption",e[e.RegisterLabel=5]="RegisterLabel",e))(rr||{});function Ee(e,t=o=>o){let o=e.activeOptionIndex!==null?e.options[e.activeOptionIndex]:null,r=ct(t(e.options.slice()),i=>i.dataRef.current.domRef.current),n=o?r.indexOf(o):null;return n===-1&&(n=null),{options:r,activeOptionIndex:n}}let or={1(e){var t;return(t=e.dataRef.current)!=null&&t.disabled||e.comboboxState===1?e:{...e,activeOptionIndex:null,comboboxState:1}},0(e){var t;if((t=e.dataRef.current)!=null&&t.disabled||e.comboboxState===0)return e;let o=e.activeOptionIndex;if(e.dataRef.current){let{isSelected:r}=e.dataRef.current,n=e.options.findIndex(i=>r(i.dataRef.current.value));n!==-1&&(o=n)}return{...e,comboboxState:0,activeOptionIndex:o}},2(e,t){var o,r,n,i;if((o=e.dataRef.current)!=null&&o.disabled||(r=e.dataRef.current)!=null&&r.optionsRef.current&&!((n=e.dataRef.current)!=null&&n.optionsPropsRef.current.static)&&e.comboboxState===1)return e;let a=Ee(e);if(a.activeOptionIndex===null){let x=a.options.findIndex(d=>!d.dataRef.current.disabled);x!==-1&&(a.activeOptionIndex=x)}let s=Vt(t,{resolveItems:()=>a.options,resolveActiveIndex:()=>a.activeOptionIndex,resolveId:x=>x.id,resolveDisabled:x=>x.dataRef.current.disabled});return{...e,...a,activeOptionIndex:s,activationTrigger:(i=t.trigger)!=null?i:1}},3:(e,t)=>{var o,r;let n={id:t.id,dataRef:t.dataRef},i=Ee(e,s=>[...s,n]);e.activeOptionIndex===null&&(o=e.dataRef.current)!=null&&o.isSelected(t.dataRef.current.value)&&(i.activeOptionIndex=i.options.indexOf(n));let a={...e,...i,activationTrigger:1};return(r=e.dataRef.current)!=null&&r.__demoMode&&e.dataRef.current.value===void 0&&(a.activeOptionIndex=0),a},4:(e,t)=>{let o=Ee(e,r=>{let n=r.findIndex(i=>i.id===t.id);return n!==-1&&r.splice(n,1),r});return{...e,...o,activationTrigger:1}},5:(e,t)=>({...e,labelId:t.id})},gt=u.createContext(null);gt.displayName="ComboboxActionsContext";function ye(e){let t=u.useContext(gt);if(t===null){let o=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,ye),o}return t}let vt=u.createContext(null);vt.displayName="ComboboxDataContext";function me(e){let t=u.useContext(vt);if(t===null){let o=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,me),o}return t}function ar(e,t){return Q(t.type,or,e,t)}let nr=u.Fragment;function lr(e,t){let{value:o,defaultValue:r,onChange:n,form:i,name:a,by:s=(c,h)=>c===h,disabled:x=!1,__demoMode:d=!1,nullable:_=!1,multiple:R=!1,...p}=e,[m=R?[]:void 0,N]=mt(o,n,r),[y,f]=u.useReducer(ar,{dataRef:u.createRef(),comboboxState:d?0:1,options:[],activeOptionIndex:null,activationTrigger:1,labelId:null}),b=u.useRef(!1),S=u.useRef({static:!1,hold:!1}),F=u.useRef(null),P=u.useRef(null),H=u.useRef(null),w=u.useRef(null),E=v(typeof s=="string"?(c,h)=>{let V=s;return(c==null?void 0:c[V])===(h==null?void 0:h[V])}:s),I=u.useCallback(c=>Q(g.mode,{1:()=>m.some(h=>E(h,c)),0:()=>E(m,c)}),[m]),g=u.useMemo(()=>({...y,optionsPropsRef:S,labelRef:F,inputRef:P,buttonRef:H,optionsRef:w,value:m,defaultValue:r,disabled:x,mode:R?1:0,get activeOptionIndex(){if(b.current&&y.activeOptionIndex===null&&y.options.length>0){let c=y.options.findIndex(h=>!h.dataRef.current.disabled);if(c!==-1)return c}return y.activeOptionIndex},compare:E,isSelected:I,nullable:_,__demoMode:d}),[m,r,x,R,_,d,y]),j=u.useRef(g.activeOptionIndex!==null?g.options[g.activeOptionIndex]:null);u.useEffect(()=>{let c=g.activeOptionIndex!==null?g.options[g.activeOptionIndex]:null;j.current!==c&&(j.current=c)}),z(()=>{y.dataRef.current=g},[g]),Mt([g.buttonRef,g.inputRef,g.optionsRef],()=>k.closeCombobox(),g.comboboxState===0);let Y=u.useMemo(()=>({open:g.comboboxState===0,disabled:x,activeIndex:g.activeOptionIndex,activeOption:g.activeOptionIndex===null?null:g.options[g.activeOptionIndex].dataRef.current.value,value:m}),[g,x,m]),K=v(c=>{let h=g.options.find(V=>V.id===c);h&&O(h.dataRef.current.value)}),C=v(()=>{if(g.activeOptionIndex!==null){let{dataRef:c,id:h}=g.options[g.activeOptionIndex];O(c.current.value),k.goToOption(L.Specific,h)}}),re=v(()=>{f({type:0}),b.current=!0}),G=v(()=>{f({type:1}),b.current=!1}),oe=v((c,h,V)=>(b.current=!1,c===L.Specific?f({type:2,focus:L.Specific,id:h,trigger:V}):f({type:2,focus:c,trigger:V}))),$=v((c,h)=>(f({type:3,id:c,dataRef:h}),()=>{var V;((V=j.current)==null?void 0:V.id)===c&&(b.current=!0),f({type:4,id:c})})),Z=v(c=>(f({type:5,id:c}),()=>f({type:5,id:null}))),O=v(c=>Q(g.mode,{0(){return N==null?void 0:N(c)},1(){let h=g.value.slice(),V=h.findIndex(ae=>E(ae,c));return V===-1?h.push(c):h.splice(V,1),N==null?void 0:N(h)}})),k=u.useMemo(()=>({onChange:O,registerOption:$,registerLabel:Z,goToOption:oe,closeCombobox:G,openCombobox:re,selectActiveOption:C,selectOption:K}),[]),D=t===null?{}:{ref:t},B=u.useRef(null),q=ue();return u.useEffect(()=>{B.current&&r!==void 0&&q.addEventListener(B.current,"reset",()=>{N==null||N(r)})},[B,N]),U.createElement(gt.Provider,{value:k},U.createElement(vt.Provider,{value:g},U.createElement(jt,{value:Q(g.comboboxState,{0:se.Open,1:se.Closed})},a!=null&&m!=null&&bt({[a]:m}).map(([c,h],V)=>U.createElement(ft,{features:xt.Hidden,ref:V===0?ae=>{var be;B.current=(be=ae==null?void 0:ae.closest("form"))!=null?be:null}:void 0,...pt({key:c,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:i,name:c,value:h})})),X({ourProps:D,theirProps:p,slot:Y,defaultTag:nr,name:"Combobox"}))))}let ir="input";function ur(e,t){var o,r,n,i;let a=te(),{id:s=`headlessui-combobox-input-${a}`,onChange:x,displayValue:d,type:_="text",...R}=e,p=me("Combobox.Input"),m=ye("Combobox.Input"),N=ee(p.inputRef,t),y=Jt(p.inputRef),f=u.useRef(!1),b=ue(),S=v(()=>{m.onChange(null),p.optionsRef.current&&(p.optionsRef.current.scrollTop=0),m.goToOption(L.Nothing)}),F=function(){var C;return typeof d=="function"&&p.value!==void 0?(C=d(p.value))!=null?C:"":typeof p.value=="string"?p.value:""}();Ct(([C,re],[G,oe])=>{if(f.current)return;let $=p.inputRef.current;$&&((oe===0&&re===1||C!==G)&&($.value=C),requestAnimationFrame(()=>{if(f.current||!$||(y==null?void 0:y.activeElement)!==$)return;let{selectionStart:Z,selectionEnd:O}=$;Math.abs((O??0)-(Z??0))===0&&Z===0&&$.setSelectionRange($.value.length,$.value.length)}))},[F,p.comboboxState,y]),Ct(([C],[re])=>{if(C===0&&re===1){if(f.current)return;let G=p.inputRef.current;if(!G)return;let oe=G.value,{selectionStart:$,selectionEnd:Z,selectionDirection:O}=G;G.value="",G.value=oe,O!==null?G.setSelectionRange($,Z,O):G.setSelectionRange($,Z)}},[p.comboboxState]);let P=u.useRef(!1),H=v(()=>{P.current=!0}),w=v(()=>{b.nextFrame(()=>{P.current=!1})}),E=v(C=>{switch(f.current=!0,C.key){case T.Enter:if(f.current=!1,p.comboboxState!==0||P.current)return;if(C.preventDefault(),C.stopPropagation(),p.activeOptionIndex===null){m.closeCombobox();return}m.selectActiveOption(),p.mode===0&&m.closeCombobox();break;case T.ArrowDown:return f.current=!1,C.preventDefault(),C.stopPropagation(),Q(p.comboboxState,{0:()=>{m.goToOption(L.Next)},1:()=>{m.openCombobox()}});case T.ArrowUp:return f.current=!1,C.preventDefault(),C.stopPropagation(),Q(p.comboboxState,{0:()=>{m.goToOption(L.Previous)},1:()=>{m.openCombobox(),b.nextFrame(()=>{p.value||m.goToOption(L.Last)})}});case T.Home:if(C.shiftKey)break;return f.current=!1,C.preventDefault(),C.stopPropagation(),m.goToOption(L.First);case T.PageUp:return f.current=!1,C.preventDefault(),C.stopPropagation(),m.goToOption(L.First);case T.End:if(C.shiftKey)break;return f.current=!1,C.preventDefault(),C.stopPropagation(),m.goToOption(L.Last);case T.PageDown:return f.current=!1,C.preventDefault(),C.stopPropagation(),m.goToOption(L.Last);case T.Escape:return f.current=!1,p.comboboxState!==0?void 0:(C.preventDefault(),p.optionsRef.current&&!p.optionsPropsRef.current.static&&C.stopPropagation(),p.nullable&&p.mode===0&&p.value===null&&S(),m.closeCombobox());case T.Tab:if(f.current=!1,p.comboboxState!==0)return;p.mode===0&&m.selectActiveOption(),m.closeCombobox();break}}),I=v(C=>{x==null||x(C),p.nullable&&p.mode===0&&C.target.value===""&&S(),m.openCombobox()}),g=v(()=>{f.current=!1}),j=ve(()=>{if(p.labelId)return[p.labelId].join(" ")},[p.labelId]),Y=u.useMemo(()=>({open:p.comboboxState===0,disabled:p.disabled}),[p]),K={ref:N,id:s,role:"combobox",type:_,"aria-controls":(o=p.optionsRef.current)==null?void 0:o.id,"aria-expanded":p.comboboxState===0,"aria-activedescendant":p.activeOptionIndex===null||(r=p.options[p.activeOptionIndex])==null?void 0:r.id,"aria-labelledby":j,"aria-autocomplete":"list",defaultValue:(i=(n=e.defaultValue)!=null?n:p.defaultValue!==void 0?d==null?void 0:d(p.defaultValue):null)!=null?i:p.defaultValue,disabled:p.disabled,onCompositionStart:H,onCompositionEnd:w,onKeyDown:E,onChange:I,onBlur:g};return X({ourProps:K,theirProps:R,slot:Y,defaultTag:ir,name:"Combobox.Input"})}let sr="button";function dr(e,t){var o;let r=me("Combobox.Button"),n=ye("Combobox.Button"),i=ee(r.buttonRef,t),a=te(),{id:s=`headlessui-combobox-button-${a}`,...x}=e,d=ue(),_=v(y=>{switch(y.key){case T.ArrowDown:return y.preventDefault(),y.stopPropagation(),r.comboboxState===1&&n.openCombobox(),d.nextFrame(()=>{var f;return(f=r.inputRef.current)==null?void 0:f.focus({preventScroll:!0})});case T.ArrowUp:return y.preventDefault(),y.stopPropagation(),r.comboboxState===1&&(n.openCombobox(),d.nextFrame(()=>{r.value||n.goToOption(L.Last)})),d.nextFrame(()=>{var f;return(f=r.inputRef.current)==null?void 0:f.focus({preventScroll:!0})});case T.Escape:return r.comboboxState!==0?void 0:(y.preventDefault(),r.optionsRef.current&&!r.optionsPropsRef.current.static&&y.stopPropagation(),n.closeCombobox(),d.nextFrame(()=>{var f;return(f=r.inputRef.current)==null?void 0:f.focus({preventScroll:!0})}));default:return}}),R=v(y=>{if(Se(y.currentTarget))return y.preventDefault();r.comboboxState===0?n.closeCombobox():(y.preventDefault(),n.openCombobox()),d.nextFrame(()=>{var f;return(f=r.inputRef.current)==null?void 0:f.focus({preventScroll:!0})})}),p=ve(()=>{if(r.labelId)return[r.labelId,s].join(" ")},[r.labelId,s]),m=u.useMemo(()=>({open:r.comboboxState===0,disabled:r.disabled,value:r.value}),[r]),N={ref:i,id:s,type:$t(e,r.buttonRef),tabIndex:-1,"aria-haspopup":"listbox","aria-controls":(o=r.optionsRef.current)==null?void 0:o.id,"aria-expanded":r.comboboxState===0,"aria-labelledby":p,disabled:r.disabled,onClick:R,onKeyDown:_};return X({ourProps:N,theirProps:x,slot:m,defaultTag:sr,name:"Combobox.Button"})}let pr="label";function cr(e,t){let o=te(),{id:r=`headlessui-combobox-label-${o}`,...n}=e,i=me("Combobox.Label"),a=ye("Combobox.Label"),s=ee(i.labelRef,t);z(()=>a.registerLabel(r),[r]);let x=v(()=>{var _;return(_=i.inputRef.current)==null?void 0:_.focus({preventScroll:!0})}),d=u.useMemo(()=>({open:i.comboboxState===0,disabled:i.disabled}),[i]);return X({ourProps:{ref:s,id:r,onClick:x},theirProps:n,slot:d,defaultTag:pr,name:"Combobox.Label"})}let mr="ul",br=Ie.RenderStrategy|Ie.Static;function fr(e,t){let o=te(),{id:r=`headlessui-combobox-options-${o}`,hold:n=!1,...i}=e,a=me("Combobox.Options"),s=ee(a.optionsRef,t),x=Et(),d=x!==null?(x&se.Open)===se.Open:a.comboboxState===0;z(()=>{var m;a.optionsPropsRef.current.static=(m=e.static)!=null?m:!1},[a.optionsPropsRef,e.static]),z(()=>{a.optionsPropsRef.current.hold=n},[a.optionsPropsRef,n]),Tt({container:a.optionsRef.current,enabled:a.comboboxState===0,accept(m){return m.getAttribute("role")==="option"?NodeFilter.FILTER_REJECT:m.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(m){m.setAttribute("role","none")}});let _=ve(()=>{var m,N;return(N=a.labelId)!=null?N:(m=a.buttonRef.current)==null?void 0:m.id},[a.labelId,a.buttonRef.current]),R=u.useMemo(()=>({open:a.comboboxState===0}),[a]),p={"aria-labelledby":_,role:"listbox","aria-multiselectable":a.mode===1?!0:void 0,id:r,ref:s};return X({ourProps:p,theirProps:i,slot:R,defaultTag:mr,features:br,visible:d,name:"Combobox.Options"})}let xr="li";function gr(e,t){var o,r;let n=te(),{id:i=`headlessui-combobox-option-${n}`,disabled:a=!1,value:s,...x}=e,d=me("Combobox.Option"),_=ye("Combobox.Option"),R=d.activeOptionIndex!==null?d.options[d.activeOptionIndex].id===i:!1,p=d.isSelected(s),m=u.useRef(null),N=Ve({disabled:a,value:s,domRef:m,textValue:(r=(o=m.current)==null?void 0:o.textContent)==null?void 0:r.toLowerCase()}),y=ee(t,m),f=v(()=>_.selectOption(i));z(()=>_.registerOption(i,N),[N,i]);let b=u.useRef(!d.__demoMode);z(()=>{if(!d.__demoMode)return;let g=fe();return g.requestAnimationFrame(()=>{b.current=!0}),g.dispose},[]),z(()=>{if(d.comboboxState!==0||!R||!b.current||d.activationTrigger===0)return;let g=fe();return g.requestAnimationFrame(()=>{var j,Y;(Y=(j=m.current)==null?void 0:j.scrollIntoView)==null||Y.call(j,{block:"nearest"})}),g.dispose},[m,R,d.comboboxState,d.activationTrigger,d.activeOptionIndex]);let S=v(g=>{if(a)return g.preventDefault();f(),d.mode===0&&_.closeCombobox(),Xt()||requestAnimationFrame(()=>{var j;return(j=d.inputRef.current)==null?void 0:j.focus()})}),F=v(()=>{if(a)return _.goToOption(L.Nothing);_.goToOption(L.Specific,i)}),P=wt(),H=v(g=>P.update(g)),w=v(g=>{P.wasMoved(g)&&(a||R||_.goToOption(L.Specific,i,0))}),E=v(g=>{P.wasMoved(g)&&(a||R&&(d.optionsPropsRef.current.hold||_.goToOption(L.Nothing)))}),I=u.useMemo(()=>({active:R,selected:p,disabled:a}),[R,p,a]);return X({ourProps:{id:i,ref:y,role:"option",tabIndex:a===!0?void 0:-1,"aria-disabled":a===!0?!0:void 0,"aria-selected":p,disabled:void 0,onClick:S,onFocus:F,onPointerEnter:H,onMouseEnter:H,onPointerMove:w,onMouseMove:w,onPointerLeave:E,onMouseLeave:E},theirProps:x,slot:I,defaultTag:xr,name:"Combobox.Option"})}let vr=J(lr),yr=J(dr),_r=J(ur),hr=J(cr),Or=J(fr),Rr=J(gr),W=Object.assign(vr,{Input:_r,Button:yr,Label:hr,Options:Or,Option:Rr});var Nr=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Nr||{}),Cr=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(Cr||{}),Ir=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(Ir||{}),Sr=(e=>(e[e.OpenListbox=0]="OpenListbox",e[e.CloseListbox=1]="CloseListbox",e[e.GoToOption=2]="GoToOption",e[e.Search=3]="Search",e[e.ClearSearch=4]="ClearSearch",e[e.RegisterOption=5]="RegisterOption",e[e.UnregisterOption=6]="UnregisterOption",e[e.RegisterLabel=7]="RegisterLabel",e))(Sr||{});function $e(e,t=o=>o){let o=e.activeOptionIndex!==null?e.options[e.activeOptionIndex]:null,r=ct(t(e.options.slice()),i=>i.dataRef.current.domRef.current),n=o?r.indexOf(o):null;return n===-1&&(n=null),{options:r,activeOptionIndex:n}}let Tr={1(e){return e.dataRef.current.disabled||e.listboxState===1?e:{...e,activeOptionIndex:null,listboxState:1}},0(e){if(e.dataRef.current.disabled||e.listboxState===0)return e;let t=e.activeOptionIndex,{isSelected:o}=e.dataRef.current,r=e.options.findIndex(n=>o(n.dataRef.current.value));return r!==-1&&(t=r),{...e,listboxState:0,activeOptionIndex:t}},2(e,t){var o;if(e.dataRef.current.disabled||e.listboxState===1)return e;let r=$e(e),n=Vt(t,{resolveItems:()=>r.options,resolveActiveIndex:()=>r.activeOptionIndex,resolveId:i=>i.id,resolveDisabled:i=>i.dataRef.current.disabled});return{...e,...r,searchQuery:"",activeOptionIndex:n,activationTrigger:(o=t.trigger)!=null?o:1}},3:(e,t)=>{if(e.dataRef.current.disabled||e.listboxState===1)return e;let o=e.searchQuery!==""?0:1,r=e.searchQuery+t.value.toLowerCase(),n=(e.activeOptionIndex!==null?e.options.slice(e.activeOptionIndex+o).concat(e.options.slice(0,e.activeOptionIndex+o)):e.options).find(a=>{var s;return!a.dataRef.current.disabled&&((s=a.dataRef.current.textValue)==null?void 0:s.startsWith(r))}),i=n?e.options.indexOf(n):-1;return i===-1||i===e.activeOptionIndex?{...e,searchQuery:r}:{...e,searchQuery:r,activeOptionIndex:i,activationTrigger:1}},4(e){return e.dataRef.current.disabled||e.listboxState===1||e.searchQuery===""?e:{...e,searchQuery:""}},5:(e,t)=>{let o={id:t.id,dataRef:t.dataRef},r=$e(e,n=>[...n,o]);return e.activeOptionIndex===null&&e.dataRef.current.isSelected(t.dataRef.current.value)&&(r.activeOptionIndex=r.options.indexOf(o)),{...e,...r}},6:(e,t)=>{let o=$e(e,r=>{let n=r.findIndex(i=>i.id===t.id);return n!==-1&&r.splice(n,1),r});return{...e,...o,activationTrigger:1}},7:(e,t)=>({...e,labelId:t.id})},yt=u.createContext(null);yt.displayName="ListboxActionsContext";function _e(e){let t=u.useContext(yt);if(t===null){let o=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,_e),o}return t}let _t=u.createContext(null);_t.displayName="ListboxDataContext";function he(e){let t=u.useContext(_t);if(t===null){let o=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,he),o}return t}function wr(e,t){return Q(t.type,Tr,e,t)}let Vr=u.Fragment;function Lr(e,t){let{value:o,defaultValue:r,form:n,name:i,onChange:a,by:s=(c,h)=>c===h,disabled:x=!1,horizontal:d=!1,multiple:_=!1,...R}=e;const p=d?"horizontal":"vertical";let m=ee(t),[N=_?[]:void 0,y]=mt(o,a,r),[f,b]=u.useReducer(wr,{dataRef:u.createRef(),listboxState:1,options:[],searchQuery:"",labelId:null,activeOptionIndex:null,activationTrigger:1}),S=u.useRef({static:!1,hold:!1}),F=u.useRef(null),P=u.useRef(null),H=u.useRef(null),w=v(typeof s=="string"?(c,h)=>{let V=s;return(c==null?void 0:c[V])===(h==null?void 0:h[V])}:s),E=u.useCallback(c=>Q(I.mode,{1:()=>N.some(h=>w(h,c)),0:()=>w(N,c)}),[N]),I=u.useMemo(()=>({...f,value:N,disabled:x,mode:_?1:0,orientation:p,compare:w,isSelected:E,optionsPropsRef:S,labelRef:F,buttonRef:P,optionsRef:H}),[N,x,_,f]);z(()=>{f.dataRef.current=I},[I]),Mt([I.buttonRef,I.optionsRef],(c,h)=>{var V;b({type:1}),Gt(h,Ut.Loose)||(c.preventDefault(),(V=I.buttonRef.current)==null||V.focus())},I.listboxState===0);let g=u.useMemo(()=>({open:I.listboxState===0,disabled:x,value:N}),[I,x,N]),j=v(c=>{let h=I.options.find(V=>V.id===c);h&&$(h.dataRef.current.value)}),Y=v(()=>{if(I.activeOptionIndex!==null){let{dataRef:c,id:h}=I.options[I.activeOptionIndex];$(c.current.value),b({type:2,focus:L.Specific,id:h})}}),K=v(()=>b({type:0})),C=v(()=>b({type:1})),re=v((c,h,V)=>c===L.Specific?b({type:2,focus:L.Specific,id:h,trigger:V}):b({type:2,focus:c,trigger:V})),G=v((c,h)=>(b({type:5,id:c,dataRef:h}),()=>b({type:6,id:c}))),oe=v(c=>(b({type:7,id:c}),()=>b({type:7,id:null}))),$=v(c=>Q(I.mode,{0(){return y==null?void 0:y(c)},1(){let h=I.value.slice(),V=h.findIndex(ae=>w(ae,c));return V===-1?h.push(c):h.splice(V,1),y==null?void 0:y(h)}})),Z=v(c=>b({type:3,value:c})),O=v(()=>b({type:4})),k=u.useMemo(()=>({onChange:$,registerOption:G,registerLabel:oe,goToOption:re,closeListbox:C,openListbox:K,selectActiveOption:Y,selectOption:j,search:Z,clearSearch:O}),[]),D={ref:m},B=u.useRef(null),q=ue();return u.useEffect(()=>{B.current&&r!==void 0&&q.addEventListener(B.current,"reset",()=>{y==null||y(r)})},[B,y]),U.createElement(yt.Provider,{value:k},U.createElement(_t.Provider,{value:I},U.createElement(jt,{value:Q(I.listboxState,{0:se.Open,1:se.Closed})},i!=null&&N!=null&&bt({[i]:N}).map(([c,h],V)=>U.createElement(ft,{features:xt.Hidden,ref:V===0?ae=>{var be;B.current=(be=ae==null?void 0:ae.closest("form"))!=null?be:null}:void 0,...pt({key:c,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:n,name:c,value:h})})),X({ourProps:D,theirProps:R,slot:g,defaultTag:Vr,name:"Listbox"}))))}let jr="button";function Er(e,t){var o;let r=te(),{id:n=`headlessui-listbox-button-${r}`,...i}=e,a=he("Listbox.Button"),s=_e("Listbox.Button"),x=ee(a.buttonRef,t),d=ue(),_=v(f=>{switch(f.key){case T.Space:case T.Enter:case T.ArrowDown:f.preventDefault(),s.openListbox(),d.nextFrame(()=>{a.value||s.goToOption(L.First)});break;case T.ArrowUp:f.preventDefault(),s.openListbox(),d.nextFrame(()=>{a.value||s.goToOption(L.Last)});break}}),R=v(f=>{switch(f.key){case T.Space:f.preventDefault();break}}),p=v(f=>{if(Se(f.currentTarget))return f.preventDefault();a.listboxState===0?(s.closeListbox(),d.nextFrame(()=>{var b;return(b=a.buttonRef.current)==null?void 0:b.focus({preventScroll:!0})})):(f.preventDefault(),s.openListbox())}),m=ve(()=>{if(a.labelId)return[a.labelId,n].join(" ")},[a.labelId,n]),N=u.useMemo(()=>({open:a.listboxState===0,disabled:a.disabled,value:a.value}),[a]),y={ref:x,id:n,type:$t(e,a.buttonRef),"aria-haspopup":"listbox","aria-controls":(o=a.optionsRef.current)==null?void 0:o.id,"aria-expanded":a.listboxState===0,"aria-labelledby":m,disabled:a.disabled,onKeyDown:_,onKeyUp:R,onClick:p};return X({ourProps:y,theirProps:i,slot:N,defaultTag:jr,name:"Listbox.Button"})}let $r="label";function Mr(e,t){let o=te(),{id:r=`headlessui-listbox-label-${o}`,...n}=e,i=he("Listbox.Label"),a=_e("Listbox.Label"),s=ee(i.labelRef,t);z(()=>a.registerLabel(r),[r]);let x=v(()=>{var _;return(_=i.buttonRef.current)==null?void 0:_.focus({preventScroll:!0})}),d=u.useMemo(()=>({open:i.listboxState===0,disabled:i.disabled}),[i]);return X({ourProps:{ref:s,id:r,onClick:x},theirProps:n,slot:d,defaultTag:$r,name:"Listbox.Label"})}let Pr="ul",Fr=Ie.RenderStrategy|Ie.Static;function kr(e,t){var o;let r=te(),{id:n=`headlessui-listbox-options-${r}`,...i}=e,a=he("Listbox.Options"),s=_e("Listbox.Options"),x=ee(a.optionsRef,t),d=ue(),_=ue(),R=Et(),p=R!==null?(R&se.Open)===se.Open:a.listboxState===0;u.useEffect(()=>{var b;let S=a.optionsRef.current;S&&a.listboxState===0&&S!==((b=Lt(S))==null?void 0:b.activeElement)&&S.focus({preventScroll:!0})},[a.listboxState,a.optionsRef]);let m=v(b=>{switch(_.dispose(),b.key){case T.Space:if(a.searchQuery!=="")return b.preventDefault(),b.stopPropagation(),s.search(b.key);case T.Enter:if(b.preventDefault(),b.stopPropagation(),a.activeOptionIndex!==null){let{dataRef:S}=a.options[a.activeOptionIndex];s.onChange(S.current.value)}a.mode===0&&(s.closeListbox(),fe().nextFrame(()=>{var S;return(S=a.buttonRef.current)==null?void 0:S.focus({preventScroll:!0})}));break;case Q(a.orientation,{vertical:T.ArrowDown,horizontal:T.ArrowRight}):return b.preventDefault(),b.stopPropagation(),s.goToOption(L.Next);case Q(a.orientation,{vertical:T.ArrowUp,horizontal:T.ArrowLeft}):return b.preventDefault(),b.stopPropagation(),s.goToOption(L.Previous);case T.Home:case T.PageUp:return b.preventDefault(),b.stopPropagation(),s.goToOption(L.First);case T.End:case T.PageDown:return b.preventDefault(),b.stopPropagation(),s.goToOption(L.Last);case T.Escape:return b.preventDefault(),b.stopPropagation(),s.closeListbox(),d.nextFrame(()=>{var S;return(S=a.buttonRef.current)==null?void 0:S.focus({preventScroll:!0})});case T.Tab:b.preventDefault(),b.stopPropagation();break;default:b.key.length===1&&(s.search(b.key),_.setTimeout(()=>s.clearSearch(),350));break}}),N=ve(()=>{var b,S,F;return(F=(b=a.labelRef.current)==null?void 0:b.id)!=null?F:(S=a.buttonRef.current)==null?void 0:S.id},[a.labelRef.current,a.buttonRef.current]),y=u.useMemo(()=>({open:a.listboxState===0}),[a]),f={"aria-activedescendant":a.activeOptionIndex===null||(o=a.options[a.activeOptionIndex])==null?void 0:o.id,"aria-multiselectable":a.mode===1?!0:void 0,"aria-labelledby":N,"aria-orientation":a.orientation,id:n,onKeyDown:m,role:"listbox",tabIndex:0,ref:x};return X({ourProps:f,theirProps:i,slot:y,defaultTag:Pr,features:Fr,visible:p,name:"Listbox.Options"})}let qr="li";function Dr(e,t){let o=te(),{id:r=`headlessui-listbox-option-${o}`,disabled:n=!1,value:i,...a}=e,s=he("Listbox.Option"),x=_e("Listbox.Option"),d=s.activeOptionIndex!==null?s.options[s.activeOptionIndex].id===r:!1,_=s.isSelected(i),R=u.useRef(null),p=Wt(R),m=Ve({disabled:n,value:i,domRef:R,get textValue(){return p()}}),N=ee(t,R);z(()=>{if(s.listboxState!==0||!d||s.activationTrigger===0)return;let w=fe();return w.requestAnimationFrame(()=>{var E,I;(I=(E=R.current)==null?void 0:E.scrollIntoView)==null||I.call(E,{block:"nearest"})}),w.dispose},[R,d,s.listboxState,s.activationTrigger,s.activeOptionIndex]),z(()=>x.registerOption(r,m),[m,r]);let y=v(w=>{if(n)return w.preventDefault();x.onChange(i),s.mode===0&&(x.closeListbox(),fe().nextFrame(()=>{var E;return(E=s.buttonRef.current)==null?void 0:E.focus({preventScroll:!0})}))}),f=v(()=>{if(n)return x.goToOption(L.Nothing);x.goToOption(L.Specific,r)}),b=wt(),S=v(w=>b.update(w)),F=v(w=>{b.wasMoved(w)&&(n||d||x.goToOption(L.Specific,r,0))}),P=v(w=>{b.wasMoved(w)&&(n||d&&x.goToOption(L.Nothing))}),H=u.useMemo(()=>({active:d,selected:_,disabled:n}),[d,_,n]);return X({ourProps:{id:r,ref:N,role:"option",tabIndex:n===!0?void 0:-1,"aria-disabled":n===!0?!0:void 0,"aria-selected":_,disabled:void 0,onClick:y,onFocus:f,onPointerEnter:S,onMouseEnter:S,onPointerMove:F,onMouseMove:F,onPointerLeave:P,onMouseLeave:P},theirProps:a,slot:H,defaultTag:qr,name:"Listbox.Option"})}let Br=J(Lr),Ar=J(Er),Gr=J(Mr),Ur=J(kr),Hr=J(Dr),Le=Object.assign(Br,{Button:Ar,Label:Gr,Options:Ur,Option:Hr});var Kr=(e=>(e[e.RegisterOption=0]="RegisterOption",e[e.UnregisterOption=1]="UnregisterOption",e))(Kr||{});let zr={0(e,t){let o=[...e.options,{id:t.id,element:t.element,propsRef:t.propsRef}];return{...e,options:ct(o,r=>r.element.current)}},1(e,t){let o=e.options.slice(),r=e.options.findIndex(n=>n.id===t.id);return r===-1?e:(o.splice(r,1),{...e,options:o})}},ht=u.createContext(null);ht.displayName="RadioGroupDataContext";function Ft(e){let t=u.useContext(ht);if(t===null){let o=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,Ft),o}return t}let Ot=u.createContext(null);Ot.displayName="RadioGroupActionsContext";function kt(e){let t=u.useContext(Ot);if(t===null){let o=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,kt),o}return t}function Qr(e,t){return Q(t.type,zr,e,t)}let Wr="div";function Jr(e,t){let o=te(),{id:r=`headlessui-radiogroup-${o}`,value:n,defaultValue:i,form:a,name:s,onChange:x,by:d=(O,k)=>O===k,disabled:_=!1,...R}=e,p=v(typeof d=="string"?(O,k)=>{let D=d;return(O==null?void 0:O[D])===(k==null?void 0:k[D])}:d),[m,N]=u.useReducer(Qr,{options:[]}),y=m.options,[f,b]=It(),[S,F]=St(),P=u.useRef(null),H=ee(P,t),[w,E]=mt(n,x,i),I=u.useMemo(()=>y.find(O=>!O.propsRef.current.disabled),[y]),g=u.useMemo(()=>y.some(O=>p(O.propsRef.current.value,w)),[y,w]),j=v(O=>{var k;if(_||p(O,w))return!1;let D=(k=y.find(B=>p(B.propsRef.current.value,O)))==null?void 0:k.propsRef.current;return D!=null&&D.disabled?!1:(E==null||E(O),!0)});Tt({container:P.current,accept(O){return O.getAttribute("role")==="radio"?NodeFilter.FILTER_REJECT:O.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(O){O.setAttribute("role","none")}});let Y=v(O=>{let k=P.current;if(!k)return;let D=Lt(k),B=y.filter(q=>q.propsRef.current.disabled===!1).map(q=>q.element.current);switch(O.key){case T.Enter:zt(O.currentTarget);break;case T.ArrowLeft:case T.ArrowUp:if(O.preventDefault(),O.stopPropagation(),Rt(B,Oe.Previous|Oe.WrapAround)===Nt.Success){let q=y.find(c=>c.element.current===(D==null?void 0:D.activeElement));q&&j(q.propsRef.current.value)}break;case T.ArrowRight:case T.ArrowDown:if(O.preventDefault(),O.stopPropagation(),Rt(B,Oe.Next|Oe.WrapAround)===Nt.Success){let q=y.find(c=>c.element.current===(D==null?void 0:D.activeElement));q&&j(q.propsRef.current.value)}break;case T.Space:{O.preventDefault(),O.stopPropagation();let q=y.find(c=>c.element.current===(D==null?void 0:D.activeElement));q&&j(q.propsRef.current.value)}break}}),K=v(O=>(N({type:0,...O}),()=>N({type:1,id:O.id}))),C=u.useMemo(()=>({value:w,firstOption:I,containsCheckedOption:g,disabled:_,compare:p,...m}),[w,I,g,_,p,m]),re=u.useMemo(()=>({registerOption:K,change:j}),[K,j]),G={ref:H,id:r,role:"radiogroup","aria-labelledby":f,"aria-describedby":S,onKeyDown:Y},oe=u.useMemo(()=>({value:w}),[w]),$=u.useRef(null),Z=ue();return u.useEffect(()=>{$.current&&i!==void 0&&Z.addEventListener($.current,"reset",()=>{j(i)})},[$,j]),U.createElement(F,{name:"RadioGroup.Description"},U.createElement(b,{name:"RadioGroup.Label"},U.createElement(Ot.Provider,{value:re},U.createElement(ht.Provider,{value:C},s!=null&&w!=null&&bt({[s]:w}).map(([O,k],D)=>U.createElement(ft,{features:xt.Hidden,ref:D===0?B=>{var q;$.current=(q=B==null?void 0:B.closest("form"))!=null?q:null}:void 0,...pt({key:O,as:"input",type:"radio",checked:k!=null,hidden:!0,readOnly:!0,form:a,name:O,value:k})})),X({ourProps:G,theirProps:R,slot:oe,defaultTag:Wr,name:"RadioGroup"})))))}var Xr=(e=>(e[e.Empty=1]="Empty",e[e.Active=2]="Active",e))(Xr||{});let Yr="div";function Zr(e,t){var o;let r=te(),{id:n=`headlessui-radiogroup-option-${r}`,value:i,disabled:a=!1,...s}=e,x=u.useRef(null),d=ee(x,t),[_,R]=It(),[p,m]=St(),{addFlag:N,removeFlag:y,hasFlag:f}=Ht(1),b=Ve({value:i,disabled:a}),S=Ft("RadioGroup.Option"),F=kt("RadioGroup.Option");z(()=>F.registerOption({id:n,element:x,propsRef:b}),[n,F,x,e]);let P=v(K=>{var C;if(Se(K.currentTarget))return K.preventDefault();F.change(i)&&(N(2),(C=x.current)==null||C.focus())}),H=v(K=>{if(Se(K.currentTarget))return K.preventDefault();N(2)}),w=v(()=>y(2)),E=((o=S.firstOption)==null?void 0:o.id)===n,I=S.disabled||a,g=S.compare(S.value,i),j={ref:d,id:n,role:"radio","aria-checked":g?"true":"false","aria-labelledby":_,"aria-describedby":p,"aria-disabled":I?!0:void 0,tabIndex:I?-1:g||!S.containsCheckedOption&&E?0:-1,onClick:I?void 0:P,onFocus:I?void 0:H,onBlur:I?void 0:w},Y=u.useMemo(()=>({checked:g,disabled:I,active:f(2)}),[g,I,f]);return U.createElement(m,{name:"RadioGroup.Description"},U.createElement(R,{name:"RadioGroup.Label"},X({ourProps:j,theirProps:s,slot:Y,defaultTag:Yr,name:"RadioGroup.Option"})))}let eo=J(Jr),to=J(Zr),je=Object.assign(eo,{Option:to,Label:Kt,Description:Qt});const Me=({id:e,children:t})=>l.jsx("p",{id:`${e}-description`,className:"paragraph-100 text-neutral-700",children:t});try{Me.displayName="FormFieldDescription",Me.__docgenInfo={description:"",displayName:"FormFieldDescription",props:{id:{defaultValue:null,description:"",name:"id",required:!0,type:{name:"string"}}}}}catch{}const Pe=({children:e})=>l.jsxs("div",{className:"mt-0.5 flex items-center gap-1",children:[l.jsx(qt,{className:"h-3 w-3 fill-danger-500"}),l.jsx("p",{className:"paragraph-100 text-danger-500 ",children:e})]});try{Pe.displayName="FormFieldErrorMessage",Pe.__docgenInfo={description:"",displayName:"FormFieldErrorMessage",props:{}}}catch{}const Fe=({htmlFor:e,children:t,optional:o})=>l.jsxs("div",{className:"flex items-baseline gap-1",children:[l.jsx("label",{htmlFor:e,className:"headline-400 text-neutral-800",children:t}),o?l.jsx("div",{className:"paragraph-100",children:"(Optional)"}):null]});try{Fe.displayName="FormFieldLabel",Fe.__docgenInfo={description:"",displayName:"FormFieldLabel",props:{htmlFor:{defaultValue:null,description:"",name:"htmlFor",required:!0,type:{name:"string"}},optional:{defaultValue:null,description:"",name:"optional",required:!1,type:{name:"boolean"}}}}}catch{}const ke=({children:e})=>l.jsx("div",{className:"mb-2 flex flex-col gap-1",children:e});try{ke.displayName="FormFieldLabelGroup",ke.__docgenInfo={description:"",displayName:"FormFieldLabelGroup",props:{}}}catch{}const qe=({children:e,value:t,disabled:o})=>l.jsx(je.Option,{value:t,className:"max-w-fit cursor-pointer focus:outline-none",disabled:o,children:({checked:r,disabled:n})=>l.jsxs("div",{className:"flex items-center gap-3",children:[r?l.jsx("span",{className:M("relative inline-block h-4 w-4 rounded-full bg-primary-400 hover:bg-primary-500 active:bg-primary-600",n&&"bg-neutral-100 hover:bg-neutral-100 active:bg-neutral-100"),children:l.jsx("span",{className:M("absolute inset-0 m-auto block h-2 w-2 rounded-full bg-neutral-0",n&&"bg-neutral-500")})}):l.jsx("span",{className:M("inline-block h-4 w-4 rounded-full border border-neutral-400 hover:border-neutral-600 active:border-neutral-500 active:bg-neutral-100",n&&"border-0 bg-neutral-100")}),l.jsx("p",{className:M("paragraph-200",n&&"text-neutral-600"),children:e})]})});try{qe.displayName="RadioInputOption",qe.__docgenInfo={description:"",displayName:"RadioInputOption",props:{value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"string"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}}}}}catch{}const Te=({id:e,children:t,value:o,onChange:r})=>l.jsx(je,{id:e,value:o,onChange:r,children:t});Te.Option=qe;try{Te.displayName="RadioInput",Te.__docgenInfo={description:"",displayName:"RadioInput",props:{id:{defaultValue:null,description:"",name:"id",required:!0,type:{name:"string"}},value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"string"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!0,type:{name:"(value: string) => void"}}}}}catch{}const ro="target-field",oo=M("[.group.form-field-group_&:first-child_.target-field]:rounded-r-none [.group.form-field-group_&:first-child_.target-field]:border-r-0","[.group.form-field-group_&:not(:first-child):not(:last-child)_.target-field]:rounded-none [.group.form-field-group_&:not(:first-child):not(:last-child)_.target-field]:border-r-0","[.group.form-field-group_&:last-child_.target-field]:border-l-1 [.group.form-field-group_&:last-child_.target-field]:rounded-l-none"),De=({ariaDescribedBy:e,type:t="text",LeftIcon:o,readOnly:r,autoSelect:n,error:i,disabled:a,className:s,...x})=>{const d=u.useRef(null),_=()=>{n&&d.current&&d.current.select()};return l.jsxs("div",{className:M("relative w-full",oo),children:[o?l.jsx("div",{className:"pointer-events-none absolute inset-y-0 left-0 z-10 flex items-center pl-3","aria-hidden":"true",children:l.jsx(o,{className:"text-gray-400 h-3.5 w-3.5 fill-neutral-600"})}):null,l.jsx("input",{ref:d,"aria-describedby":e,onMouseOver:_,onFocus:_,onClick:_,type:t,className:M(ro,"paragraph-100 relative block h-8 w-full rounded border border-neutral-400 py-2 pl-3 pr-2 text-neutral-800 placeholder:text-neutral-600 focus:outline-none",o&&"pl-9",r&&"bg-primary-50",a&&"cursor-not-allowed bg-neutral-100 text-neutral-600",!i&&!a&&"hover:border-neutral-600 focus:border-primary-400 focus:ring-2 focus:ring-primary-200",i&&!a&&"border-danger-500",s),readOnly:r,disabled:a,...x})]})};try{De.displayName="TextInput",De.__docgenInfo={description:"",displayName:"TextInput",props:{type:{defaultValue:{value:"text"},description:"",name:"type",required:!1,type:{name:"enum",value:[{value:'"text"'},{value:'"password"'},{value:'"email"'}]}},autoSelect:{defaultValue:null,description:"",name:"autoSelect",required:!1,type:{name:"boolean"}},ariaDescribedBy:{defaultValue:null,description:"",name:"ariaDescribedBy",required:!1,type:{name:"string"}},LeftIcon:{defaultValue:null,description:"",name:"LeftIcon",required:!1,type:{name:"ElementType"}},error:{defaultValue:null,description:"",name:"error",required:!1,type:{name:"boolean"}}}}}catch{}const Be=({id:e,value:t,onChange:o,placeholder:r,ariaDescribedBy:n,error:i,disabled:a,rows:s,cols:x,className:d})=>l.jsx("textarea",{id:e,name:e,value:t,onChange:o,placeholder:r,"aria-describedby":n,className:M("paragraph-100 block min-h-[2rem] w-full rounded border border-neutral-400 py-2 pl-3 pr-2 text-neutral-800 placeholder:text-neutral-600 focus:outline-none",a&&"cursor-not-allowed bg-neutral-100 text-neutral-600",!i&&!a&&"hover:border-neutral-600 focus:border-primary-400 focus:ring-2 focus:ring-primary-200",i&&!a&&"border-danger-500",d),disabled:a,rows:s,cols:x});try{Be.displayName="Textarea",Be.__docgenInfo={description:"",displayName:"Textarea",props:{id:{defaultValue:null,description:"",name:"id",required:!0,type:{name:"string"}},placeholder:{defaultValue:null,description:"",name:"placeholder",required:!0,type:{name:"string"}},value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"string"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!0,type:{name:"(event: ChangeEvent) => void"}},ariaDescribedBy:{defaultValue:null,description:"",name:"ariaDescribedBy",required:!1,type:{name:"string"}},error:{defaultValue:null,description:"",name:"error",required:!1,type:{name:"boolean"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},rows:{defaultValue:null,description:"",name:"rows",required:!1,type:{name:"number"}},cols:{defaultValue:null,description:"",name:"cols",required:!1,type:{name:"number"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}}}}}catch{}const ao={left:"text-left",center:"text-center",right:"text-right"},Ae=({id:e,placeholder:t,value:o,min:r,max:n,onChange:i,ariaDescribedBy:a,LeftIcon:s,textAlign:x="left",readOnly:d,error:_,disabled:R})=>l.jsxs("div",{className:"relative w-full",children:[s?l.jsx("div",{className:"pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3","aria-hidden":"true",children:l.jsx(s,{className:"text-gray-400 h-4 w-4 fill-neutral-600"})}):null,l.jsx("input",{id:e,name:e,value:o,readOnly:d,onChange:i,placeholder:t,"aria-describedby":a,type:"number",min:r,max:n,className:M("paragraph-100 block w-full rounded border border-neutral-400 py-2 pl-3 pr-2 text-neutral-800 placeholder:text-neutral-600 focus:outline-none",ao[x],s&&"pl-9",d&&"bg-neutral-100",R&&"cursor-not-allowed bg-neutral-100 text-neutral-600",!_&&!R&&"hover:border-neutral-600 focus:border-primary-400 focus:ring-2 focus:ring-primary-200",_&&!R&&"border-danger-500"),disabled:R})]});try{Ae.displayName="NumberInput",Ae.__docgenInfo={description:"",displayName:"NumberInput",props:{id:{defaultValue:null,description:"",name:"id",required:!0,type:{name:"string"}},placeholder:{defaultValue:null,description:"",name:"placeholder",required:!0,type:{name:"string"}},value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"number"}},textAlign:{defaultValue:{value:"left"},description:"",name:"textAlign",required:!1,type:{name:"enum",value:[{value:'"center"'},{value:'"left"'},{value:'"right"'}]}},onChange:{defaultValue:null,description:"",name:"onChange",required:!1,type:{name:"((event: ChangeEvent) => void)"}},readOnly:{defaultValue:null,description:"",name:"readOnly",required:!1,type:{name:"boolean"}},ariaDescribedBy:{defaultValue:null,description:"",name:"ariaDescribedBy",required:!0,type:{name:"string"}},LeftIcon:{defaultValue:null,description:"",name:"LeftIcon",required:!1,type:{name:"ElementType"}},error:{defaultValue:null,description:"",name:"error",required:!1,type:{name:"boolean"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},min:{defaultValue:null,description:"",name:"min",required:!1,type:{name:"number"}},max:{defaultValue:null,description:"",name:"max",required:!1,type:{name:"number"}}}}}catch{}const Ge=({children:e})=>l.jsx(Le.Options,{className:"absolute mt-1 max-h-60 w-full overflow-auto rounded-md border border-neutral-300 bg-neutral-0 shadow-md outline-none ring-0",children:e});try{Ge.displayName="ListboxOptions",Ge.__docgenInfo={description:"",displayName:"ListboxOptions",props:{}}}catch{}const Ue=({children:e,badgeType:t="neutral"})=>l.jsx("div",{className:"flex items-center",children:l.jsx(Pt,{type:t,children:e})});try{Ue.displayName="ListboxBadgeOption",Ue.__docgenInfo={description:"",displayName:"ListboxBadgeOption",props:{badgeType:{defaultValue:{value:"neutral"},description:"",name:"badgeType",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"violet"'},{value:'"green"'},{value:'"neutral"'},{value:'"yellow"'},{value:'"teal"'},{value:'"orange"'},{value:'"pink"'},{value:'"red"'},{value:'"purple"'}]}}}}}catch{}const He=({children:e,LeftIcon:t})=>l.jsxs("div",{className:"flex items-center gap-2",children:[t?l.jsx(t,{className:"h-3 w-3 fill-neutral-500 ui-selected:fill-primary-500"}):null,l.jsx("div",{className:"paragraph-100",children:e})]});try{He.displayName="ListboxTextOption",He.__docgenInfo={description:"",displayName:"ListboxTextOption",props:{LeftIcon:{defaultValue:null,description:"",name:"LeftIcon",required:!1,type:{name:"ElementType"}}}}}catch{}const Re={base:"relative cursor-pointer px-3 py-2 ",selected:"bg-primary-100 text-primary-500 before:absolute before:bottom-0 before:left-0 before:top-0 before:block before:w-[2px] before:rounded-r-md before:bg-primary-400",active:"bg-neutral-50 bg-primary-100",disabled:"cursor-not-allowed bg-neutral-50 text-neutral-400"},xe=({value:e,disabled:t,children:o})=>l.jsx(Le.Option,{value:e,as:u.Fragment,disabled:t,children:({active:r,selected:n})=>l.jsx("li",{className:M(Re.base,r&&Re.active,n&&Re.selected,t&&Re.disabled),children:o})});xe.BadgeOption=Ue;xe.TextOption=He;try{xe.displayName="ListboxOption",xe.__docgenInfo={description:"",displayName:"ListboxOption",props:{value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"TValue"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}}}}}catch{}const Ke=({placeholder:e,value:t,badgeType:o="neutral"})=>t?l.jsx(Pt,{type:o,children:t}):l.jsx("div",{className:"paragraph-100 text-neutral-600",children:e});try{Ke.displayName="ListboxButtonBadgeValue",Ke.__docgenInfo={description:"",displayName:"ListboxButtonBadgeValue",props:{placeholder:{defaultValue:null,description:"",name:"placeholder",required:!0,type:{name:"string"}},value:{defaultValue:null,description:"",name:"value",required:!1,type:{name:"string | number | null"}},badgeType:{defaultValue:{value:"neutral"},description:"",name:"badgeType",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"violet"'},{value:'"green"'},{value:'"neutral"'},{value:'"yellow"'},{value:'"teal"'},{value:'"orange"'},{value:'"pink"'},{value:'"red"'},{value:'"purple"'}]}}}}}catch{}const ze=({placeholder:e,value:t})=>t?l.jsx("div",{className:"paragraph-100",children:t}):l.jsx("div",{className:"paragraph-100 text-neutral-600 group-hover:text-neutral-700",children:e});try{ze.displayName="ListboxButtonTextValue",ze.__docgenInfo={description:"",displayName:"ListboxButtonTextValue",props:{placeholder:{defaultValue:null,description:"",name:"placeholder",required:!0,type:{name:"string"}},value:{defaultValue:null,description:"",name:"value",required:!1,type:{name:"string | number | null"}}}}}catch{}const ge=({children:e})=>l.jsxs(Le.Button,{className:"group flex h-8 w-full cursor-pointer items-center rounded border border-neutral-400 bg-neutral-0 py-2 pl-3 pr-8 outline-none hover:border-neutral-600 focus:border-primary-400 focus:ring-2 focus:ring-primary-200 ui-open:border-primary-400 ui-open:ring-2 ui-open:ring-primary-200",children:[e,l.jsx("div",{className:"absolute inset-y-0 right-0 flex items-center px-1.5",children:l.jsx("div",{className:"flex h-5 w-5 items-center justify-center rounded rounded-r-md bg-neutral-100 focus:outline-none",children:l.jsx(we,{className:"h-3 w-3 fill-neutral-600","aria-hidden":"true"})})})]});ge.BadgeValue=Ke;ge.TextValue=ze;try{ge.displayName="ListboxButton",ge.__docgenInfo={description:"",displayName:"ListboxButton",props:{}}}catch{}const no=M("[.group.form-field-group_&:first-child_button]:rounded-r-none [.group.form-field-group_&:first-child_button]:border-r-0","[.group.form-field-group_&:not(:first-child):not(:last-child)_button]:rounded-none [.group.form-field-group_&:not(:first-child):not(:last-child)_button]:border-r-0","[.group.form-field-group_&:last-child_button]:rounded-l-none"),pe=({children:e,value:t,onChange:o,className:r})=>l.jsx(Le,{value:t,onChange:o,children:l.jsx("div",{className:M("relative w-full",no,r),children:e})});pe.Button=ge;pe.Options=Ge;pe.Option=xe;try{pe.displayName="Listbox",pe.__docgenInfo={description:"",displayName:"Listbox",props:{value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"TValue"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!0,type:{name:"(value: TValue) => void"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}}}}}catch{}const Qe=({value:e,children:t})=>l.jsx(W.Option,{value:e,className:"paragraph-100 flex cursor-pointer items-center gap-1 px-3 py-2 text-neutral-700 ui-selected:bg-primary-100 ui-selected:text-primary-500 ui-selected:before:absolute ui-selected:before:bottom-0 ui-selected:before:left-0 ui-selected:before:top-0 ui-selected:before:block ui-selected:before:w-[2px] ui-selected:before:rounded-r-md ui-selected:before:bg-primary-400 ui-active:bg-neutral-50 ui-active:ui-selected:bg-primary-100",children:t});try{Qe.displayName="MultiComboboxCustomOption",Qe.__docgenInfo={description:"",displayName:"MultiComboboxCustomOption",props:{value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"TValue"}}}}}catch{}const We=({children:e})=>l.jsx("div",{className:"px-3 py-2 ui-selected:bg-primary-100",children:e});try{We.displayName="MultiComboboxEmptyOption",We.__docgenInfo={description:"",displayName:"MultiComboboxEmptyOption",props:{}}}catch{}const Je=({id:e,displayValue:t,placeholder:o,onChange:r,showButton:n=!0})=>l.jsxs("div",{className:"relative",children:[l.jsx(W.Input,{id:e,name:e,placeholder:o,displayValue:()=>t,onChange:r,className:"paragraph-100 flex h-8 w-full items-center rounded border border-neutral-400 py-2 pl-3 pr-8 focus-visible:border-primary-400 focus-visible:ring-2 focus-visible:ring-primary-200"}),n?l.jsx(W.Button,{className:"absolute inset-y-0 right-0 flex items-center px-1.5",children:l.jsx("div",{className:"flex h-5 w-5 items-center justify-center rounded rounded-r-md bg-neutral-100",children:l.jsx(we,{name:"caret-down",className:"h-3 w-3 fill-neutral-600","aria-hidden":"true"})})}):null]});try{Je.displayName="MultiComboboxInput",Je.__docgenInfo={description:"",displayName:"MultiComboboxInput",props:{id:{defaultValue:null,description:"",name:"id",required:!0,type:{name:"string"}},displayValue:{defaultValue:null,description:"",name:"displayValue",required:!0,type:{name:"string"}},placeholder:{defaultValue:null,description:"",name:"placeholder",required:!0,type:{name:"string"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!0,type:{name:"(event: ChangeEvent) => void"}},showButton:{defaultValue:{value:"true"},description:"",name:"showButton",required:!1,type:{name:"boolean"}}}}}catch{}const Xe=({value:e,children:t})=>l.jsxs(W.Option,{value:e,className:"relative flex cursor-pointer items-center px-3 py-2 ui-selected:bg-primary-100 ui-selected:text-primary-500 ui-selected:before:absolute ui-selected:before:bottom-0 ui-selected:before:left-0 ui-selected:before:top-0 ui-selected:before:block ui-selected:before:w-[2px] ui-selected:before:rounded-r-md ui-selected:before:bg-primary-400 ui-active:bg-neutral-50 ui-active:ui-selected:bg-primary-100",children:[t,l.jsx("div",{className:"absolute inset-y-0 right-3 hidden items-center fill-primary-500 ui-selected:flex",children:l.jsx(Dt,{})})]});try{Xe.displayName="MultiComboboxOption",Xe.__docgenInfo={description:"",displayName:"MultiComboboxOption",props:{value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"TValue"}}}}}catch{}const Ye=({children:e,className:t})=>l.jsx(W.Options,{hold:!0,className:M("absolute mt-1 max-h-60 w-full overflow-auto rounded-md border border-neutral-300 bg-neutral-0 shadow-md outline-none ring-0",t),children:e});try{Ye.displayName="MultiComboboxOptions",Ye.__docgenInfo={description:"",displayName:"MultiComboboxOptions",props:{className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}}}}}catch{}const Ze=({children:e})=>l.jsx("div",{className:"flex flex-wrap gap-2",children:e});try{Ze.displayName="MultiComboboxResultsBadges",Ze.__docgenInfo={description:"",displayName:"MultiComboboxResultsBadges",props:{}}}catch{}const et=({children:e})=>l.jsx("div",{className:"paragraph-100 mt-2 text-neutral-900",children:e});try{et.displayName="MultiComboboxResultsLabel",et.__docgenInfo={description:"",displayName:"MultiComboboxResultsLabel",props:{}}}catch{}const tt=({children:e})=>l.jsx("div",{className:"flex flex-wrap gap-2",children:e});try{tt.displayName="MultiComboboxResultsTags",tt.__docgenInfo={description:"",displayName:"MultiComboboxResultsTags",props:{}}}catch{}const rt=({children:e})=>l.jsx("div",{className:"paragraph-100",children:e});try{rt.displayName="MultiComboboxResultsText",rt.__docgenInfo={description:"",displayName:"MultiComboboxResultsText",props:{}}}catch{}const de=({children:e})=>l.jsx("div",{className:"flex flex-col gap-2",children:e});de.Label=et;de.Text=rt;de.Badges=Ze;de.Tags=tt;try{de.displayName="MultiComboboxResults",de.__docgenInfo={description:"",displayName:"MultiComboboxResults",props:{}}}catch{}const ne=({value:e,onChange:t,children:o})=>l.jsx(W,{multiple:!0,value:e,onChange:t,children:l.jsx("div",{className:"relative",children:o})});ne.Input=Je;ne.Options=Ye;ne.Option=Xe;ne.CustomOption=Qe;ne.EmptyOption=We;ne.Results=de;try{ne.displayName="MultiCombobox",ne.__docgenInfo={description:"",displayName:"MultiCombobox",props:{value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"TValue[]"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!0,type:{name:"(value: TValue[]) => void"}}}}}catch{}const ot=({id:e,displayValue:t,placeholder:o,onChange:r,showButton:n=!0})=>l.jsxs("div",{className:"relative",children:[l.jsx(W.Input,{id:e,name:e,placeholder:o,displayValue:t,onChange:r,className:"paragraph-100 flex h-8 w-full items-center rounded border border-neutral-400 py-2 pl-3 pr-8 focus-visible:border-primary-400 focus-visible:ring-2 focus-visible:ring-primary-200 disabled:border-neutral-300 disabled:bg-neutral-100 disabled:text-neutral-600"}),n?l.jsx(W.Button,{className:"absolute inset-y-0 right-0 flex items-center px-1.5",children:l.jsx("div",{className:"flex h-5 w-5 items-center justify-center rounded rounded-r-md bg-neutral-100",children:l.jsx(we,{name:"caret-down",className:"h-3 w-3 fill-neutral-600","aria-hidden":"true"})})}):null]});try{ot.displayName="SingleComboboxInput",ot.__docgenInfo={description:"",displayName:"SingleComboboxInput",props:{id:{defaultValue:null,description:"",name:"id",required:!0,type:{name:"string"}},displayValue:{defaultValue:null,description:"",name:"displayValue",required:!1,type:{name:"((item: TValue) => string)"}},placeholder:{defaultValue:null,description:"",name:"placeholder",required:!0,type:{name:"string"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!0,type:{name:"(event: ChangeEvent) => void"}},showButton:{defaultValue:{value:"true"},description:"",name:"showButton",required:!1,type:{name:"boolean"}}}}}catch{}const at=({children:e})=>l.jsx(W.Options,{hold:!0,className:"absolute mt-1 max-h-60 w-full overflow-auto rounded-md border border-neutral-300 bg-neutral-0 shadow-md outline-none ring-0",children:e});try{at.displayName="SingleComboboxOptions",at.__docgenInfo={description:"",displayName:"SingleComboboxOptions",props:{}}}catch{}const nt=({value:e,children:t})=>l.jsx(W.Option,{value:e,className:"relative flex cursor-pointer items-center px-3 py-2 ui-selected:bg-primary-100 ui-selected:text-primary-500 ui-selected:before:absolute ui-selected:before:bottom-0 ui-selected:before:left-0 ui-selected:before:top-0 ui-selected:before:block ui-selected:before:w-[2px] ui-selected:before:rounded-r-md ui-selected:before:bg-primary-400 ui-active:bg-neutral-50 ui-active:ui-selected:bg-primary-100",children:t});try{nt.displayName="SingleComboboxOption",nt.__docgenInfo={description:"",displayName:"SingleComboboxOption",props:{value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"TValue"}}}}}catch{}const lt=({onUnselect:e,children:t})=>l.jsx("div",{className:"relative",children:l.jsxs("div",{className:"paragraph-100 flex h-8 w-full items-center rounded border border-neutral-400 py-2 pl-3 pr-8 focus-visible:border-primary-400 focus-visible:ring-2 focus-visible:ring-primary-200",children:[l.jsx(Yt,{onClick:e,children:t}),l.jsx(W.Button,{className:"absolute inset-y-0 right-0 flex items-center px-1.5",children:l.jsx("div",{className:"flex h-5 w-5 items-center justify-center rounded rounded-r-md bg-neutral-100",children:l.jsx(we,{className:"h-3 w-3 fill-neutral-600","aria-hidden":"true"})})})]})});try{lt.displayName="SingleComboboxResultInput",lt.__docgenInfo={description:"",displayName:"SingleComboboxResultInput",props:{onUnselect:{defaultValue:null,description:"",name:"onUnselect",required:!0,type:{name:"() => void"}}}}}catch{}const it=({value:e,children:t})=>l.jsx(W.Option,{value:e,className:"paragraph-100 flex cursor-pointer items-center gap-1 px-3 py-2 text-neutral-700 ui-selected:bg-primary-100 ui-selected:text-primary-500 ui-selected:before:absolute ui-selected:before:bottom-0 ui-selected:before:left-0 ui-selected:before:top-0 ui-selected:before:block ui-selected:before:w-[2px] ui-selected:before:rounded-r-md ui-selected:before:bg-primary-400 ui-active:bg-neutral-50 ui-active:ui-selected:bg-primary-100",children:t});try{it.displayName="SingleComboboxCustomOption",it.__docgenInfo={description:"",displayName:"SingleComboboxCustomOption",props:{value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"TValue"}}}}}catch{}const ut=({children:e})=>l.jsx("div",{className:"px-3 py-2 ui-selected:bg-primary-100",children:e});try{ut.displayName="SingleComboboxEmptyOption",ut.__docgenInfo={description:"",displayName:"SingleComboboxEmptyOption",props:{}}}catch{}const le=({value:e,onChange:t,children:o,disabled:r})=>l.jsx(W,{value:e,onChange:t,disabled:r,children:l.jsx("div",{className:"relative",children:o})});le.Input=ot;le.ResultInput=lt;le.Options=at;le.Option=nt;le.EmptyOption=ut;le.CustomOption=it;try{le.displayName="SingleCombobox",le.__docgenInfo={description:"",displayName:"SingleCombobox",props:{value:{defaultValue:null,description:"",name:"value",required:!1,type:{name:"TValue"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!0,type:{name:"(value: TValue) => void"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}}}}}catch{}const st=({children:e})=>l.jsx("div",{className:"form-field-group group flex w-full flex-row",children:e});try{st.displayName="FormFieldGroup",st.__docgenInfo={description:"",displayName:"FormFieldGroup",props:{}}}catch{}const dt=({ariaDescribedBy:e,readOnly:t,autoSelect:o,onClear:r,error:n,value:i,disabled:a,className:s,...x})=>{const d=u.useRef(null),_=!t&&!a&&i!==void 0&&i!=="",R=u.useCallback(()=>{o&&d.current&&d.current.select()},[o]),p=u.useCallback(m=>{(m.key==="Enter"||m.key===" ")&&(m.preventDefault(),m.stopPropagation(),r())},[r]);return l.jsxs("div",{className:M("relative w-full"),children:[l.jsx("div",{className:"pointer-events-none absolute inset-y-0 left-0 z-10 flex items-center pl-3","aria-hidden":"true",children:l.jsx(Bt,{className:"text-gray-400 h-3.5 w-3.5 fill-neutral-600"})}),l.jsx("input",{ref:d,"aria-describedby":e,onMouseOver:R,onFocus:R,onClick:R,type:"search",className:M("paragraph-100 relative block h-8 w-full rounded border border-neutral-400 py-2 pl-9 pr-8 text-neutral-800 placeholder:text-neutral-600 focus:outline-none",t&&"bg-neutral-100",a&&"cursor-not-allowed bg-neutral-100 text-neutral-600",!n&&!a&&"hover:border-neutral-600 focus:border-primary-400 focus:ring-2 focus:ring-primary-200",n&&!a&&"border-danger-500",s),readOnly:t,disabled:a,value:i,...x}),_?l.jsx("div",{className:"absolute inset-y-0 right-0 z-10 flex items-center justify-center pr-2",children:l.jsx("button",{type:"button","aria-label":"Clear search input",tabIndex:0,onClick:r,onKeyDown:p,className:"rounded bg-neutral-100 p-0.5 hover:bg-neutral-200",children:l.jsx(At,{className:"h-3 w-3 fill-neutral-600"})})}):null]})};try{dt.displayName="SearchInput",dt.__docgenInfo={description:"",displayName:"SearchInput",props:{autoSelect:{defaultValue:null,description:"",name:"autoSelect",required:!1,type:{name:"boolean"}},ariaDescribedBy:{defaultValue:null,description:"",name:"ariaDescribedBy",required:!1,type:{name:"string"}},error:{defaultValue:null,description:"",name:"error",required:!1,type:{name:"boolean"}},onClear:{defaultValue:null,description:"",name:"onClear",required:!0,type:{name:"() => void"}}}}}catch{}const Ne={base:"group relative flex items-center gap-3 rounded-lg bg-neutral-0 border p-4 border-neutral-300 hover:border-primary-600 hover:bg-primary-50 cursor-pointer focus:outline-none",checked:"border-primary-600 bg-primary-600 hover:bg-primary-600 hover:text-neutral-0",disabled:"bg-neutral-100 group-hover:border-neutral-300 group-hover:bg-neutral-100 hover:border-neutral-300 hover:bg-neutral-100 cursor-not-allowed",active:"ring-2 ring-primary-200"},Ce={base:"relative inline-block h-4 w-4 shrink-0 rounded-full bg-neutral-0 border border-neutral-300",unchecked:"group-hover:border-primary-600 group-hover:bg-neutral-0",checked:"border-transparent",disabled:"bg-neutral-200 border-neutral-200 group-hover:border-neutral-200 group-hover:bg-neutral-200"},lo=({children:e})=>l.jsx("h2",{className:"headline-500 text-neutral-900 group-[.is-checked]:text-neutral-0 group-[.is-disabled]:text-neutral-500",children:e}),io=({children:e})=>l.jsx("p",{className:"paragraph-200 text-neutral-800 group-[.is-checked]:text-neutral-0 group-[.is-disabled]:text-neutral-500",children:e}),ie=({children:e,value:t,disabled:o,className:r})=>l.jsx(je.Option,{value:t,disabled:o,as:u.Fragment,children:({checked:n,disabled:i,active:a})=>l.jsxs("div",{className:M(Ne.base,n&&M("is-checked",Ne.checked),i&&M("is-disabled",Ne.disabled),a&&Ne.active),children:[l.jsx("div",{className:M(Ce.base,!n&&Ce.unchecked,n&&Ce.checked,i&&Ce.disabled),children:n&&l.jsx("div",{className:M("absolute inset-0 m-auto block h-2 w-2 rounded-full bg-primary-600",i&&"bg-neutral-500")})}),l.jsx("div",{className:M("flex flex-col",r),children:e})]})});ie.Title=lo;ie.Description=io;try{ie.displayName="RadioBoxOption",ie.__docgenInfo={description:"",displayName:"RadioBoxOption",props:{value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"string"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}}}}}catch{}try{ie.Title.displayName="RadioBoxOption.Title",ie.Title.__docgenInfo={description:"",displayName:"RadioBoxOption.Title",props:{}}}catch{}try{ie.Description.displayName="RadioBoxOption.Description",ie.Description.__docgenInfo={description:"",displayName:"RadioBoxOption.Description",props:{}}}catch{}const ce=({id:e,value:t,children:o,onChange:r,className:n})=>l.jsx(je,{id:e,value:t,onChange:r,className:n,children:o});ce.Option=ie;try{ce.displayName="RadioBox",ce.__docgenInfo={description:"",displayName:"RadioBox",props:{id:{defaultValue:null,description:"",name:"id",required:!0,type:{name:"string"}},value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"string"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!0,type:{name:"(value: string) => void"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}}}}}catch{}try{ce.Option.displayName="RadioBox.Option",ce.Option.__docgenInfo={description:"",displayName:"RadioBox.Option",props:{value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"string"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}}}}}catch{}const A=({children:e})=>l.jsx("div",{className:"w-full",children:e});A.LabelGroup=ke;A.Label=Fe;A.Description=Me;A.ErrorMessage=Pe;A.TextInput=De;A.Textarea=Be;A.RadioInput=Te;A.NumberInput=Ae;A.Listbox=pe;A.MultiCombobox=ne;A.SingleCombobox=le;A.Group=st;A.SearchInput=dt;A.RadioBox=ce;try{A.displayName="FormField",A.__docgenInfo={description:"",displayName:"FormField",props:{}}}catch{}export{A as F,ce as R,le as S,st as a}; diff --git a/assets/form-field-group.stories-3iFYynmq.js b/assets/form-field-group.stories-3iFYynmq.js deleted file mode 100644 index 4111f8a7..00000000 --- a/assets/form-field-group.stories-3iFYynmq.js +++ /dev/null @@ -1,13 +0,0 @@ -import{j as e}from"./jsx-runtime-vNq4Oc-g.js";import{a as j,F as r}from"./form-field-eccqU7tK.js";import"./index-4g5l5LRQ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./zoom-to-fit-icon-UPpVBno8.js";import"./class-names-J070TWId.js";import"./render-w54E0F54.js";import"./keyboard-o6QkQYrw.js";import"./focus-management-gzNHToo7.js";import"./disposables-x8EK1kJp.js";import"./owner-fKE-7Rwj.js";import"./use-flags-t0jpIEJ-.js";import"./use-is-mounted-2jl3pcgu.js";import"./label-4h3njXKv.js";import"./description-5F8ZuhcY.js";import"./use-text-value-q5k1B-6y.js";import"./hidden-qqzWvBMn.js";import"./bugs-DTVvle51.js";import"./use-disposables-9CA2w67p.js";import"./open-closed--zB8LTaK.js";import"./use-resolve-button-type-_yXBvNtz.js";import"./use-owner-g5X0ZmiI.js";import"./badge-gQ8zLs50.js";import"./platform-xf9k1Dsu.js";import"./tag-aZM7YGie.js";const k={title:"Input / Combined Fields",component:j},l=({error:i=!1,disabled:s=!1})=>e.jsxs("div",{className:"flex flex-col gap-5",children:[e.jsxs(r,{children:[e.jsxs(r.LabelGroup,{children:[e.jsx(r.Label,{htmlFor:"value",children:"Textfields Only"}),e.jsx(r.Description,{id:"value-description",children:"A group with only textfields"})]}),e.jsxs(r.Group,{children:[e.jsx(r.TextInput,{id:"value",value:"I",placeholder:"Placeholder",onChange:()=>{},ariaDescribedBy:"value-description",error:i,disabled:s}),e.jsx(r.TextInput,{id:"value",value:"Love",placeholder:"Placeholder",onChange:()=>{},ariaDescribedBy:"value-description",error:i,disabled:s}),e.jsx(r.TextInput,{id:"value",value:"Abusix",placeholder:"Placeholder",onChange:()=>{},ariaDescribedBy:"value-description",error:i,disabled:s})]})]}),e.jsxs(r,{children:[e.jsxs(r.LabelGroup,{children:[e.jsx(r.Label,{htmlFor:"value",children:"Mixed Fields"}),e.jsx(r.Description,{id:"value-description",children:"A group with mixed fields (textfields and listboxes)"})]}),e.jsxs(r.Group,{children:[e.jsx(r.TextInput,{id:"value",value:"I",placeholder:"Placeholder",onChange:()=>{},ariaDescribedBy:"value-description",error:i,disabled:s}),e.jsx(r.TextInput,{id:"value",value:"Love",placeholder:"Placeholder",onChange:()=>{},ariaDescribedBy:"value-description",error:i,disabled:s}),e.jsx(r.TextInput,{id:"value",value:"Abusix",placeholder:"Placeholder",onChange:()=>{},ariaDescribedBy:"value-description",error:i,disabled:s}),e.jsxs(r.Listbox,{value:"",onChange:()=>{},children:[e.jsx(r.Listbox.Button,{children:e.jsx(r.Listbox.Button.TextValue,{value:"",placeholder:"Listbox"})}),e.jsx("div",{className:"relative z-10",children:e.jsxs(r.Listbox.Options,{children:[e.jsx(r.Listbox.Option,{value:"Option 1",children:e.jsx(r.Listbox.Option.TextOption,{children:"Option 1"})}),e.jsx(r.Listbox.Option,{value:"Option 2",children:e.jsx(r.Listbox.Option.TextOption,{children:"Option 2"})})]})})]})]})]})]}),t={render:()=>e.jsx("div",{className:"w-120",children:e.jsx(l,{})})},o={render:()=>e.jsx("div",{className:"w-120",children:e.jsx(l,{error:!0})})},a={render:()=>e.jsx("div",{className:"w-120",children:e.jsx(l,{disabled:!0})})};var n,d,p;t.parameters={...t.parameters,docs:{...(n=t.parameters)==null?void 0:n.docs,source:{originalSource:`{ - render: () =>
- -
-}`,...(p=(d=t.parameters)==null?void 0:d.docs)==null?void 0:p.source}}};var c,x,u;o.parameters={...o.parameters,docs:{...(c=o.parameters)==null?void 0:c.docs,source:{originalSource:`{ - render: () =>
- -
-}`,...(u=(x=o.parameters)==null?void 0:x.docs)==null?void 0:u.source}}};var m,h,v;a.parameters={...a.parameters,docs:{...(m=a.parameters)==null?void 0:m.docs,source:{originalSource:`{ - render: () =>
- -
-}`,...(v=(h=a.parameters)==null?void 0:h.docs)==null?void 0:v.source}}};const q=["Default","WithError","Disabled"];export{t as Default,a as Disabled,o as WithError,q as __namedExportsOrder,k as default}; diff --git a/assets/form-field-group.stories-BORUgkjS.js b/assets/form-field-group.stories-BORUgkjS.js new file mode 100644 index 00000000..ea437ab1 --- /dev/null +++ b/assets/form-field-group.stories-BORUgkjS.js @@ -0,0 +1,13 @@ +import{j as e}from"./jsx-runtime-DtaoT6pD.js";import{a as j,F as r}from"./form-field-AdYr7HJv.js";import"./index-OjgoNOWw.js";import"./zoom-to-fit-icon-65magoHv.js";import"./class-names-xhKKfcKT.js";import"./render--CnTCjM4.js";import"./keyboard-ypJuuhig.js";import"./focus-management-3l6xl84w.js";import"./disposables-x8EK1kJp.js";import"./owner-k5blU4nj.js";import"./use-flags-FD8DIccc.js";import"./use-is-mounted-sHLtXe0b.js";import"./label-i0FK8Lz6.js";import"./description-Cx4STRI4.js";import"./use-text-value-5FULYfhL.js";import"./hidden-io_QVhfh.js";import"./bugs-DTVvle51.js";import"./use-disposables-zYA53INM.js";import"./open-closed-QZcf9p9x.js";import"./use-resolve-button-type-CvYxBXG6.js";import"./use-owner-is5PDNtX.js";import"./badge-fPVn3-DO.js";import"./platform-SfVjinHA.js";import"./tag-KJKMb2LC.js";const V={title:"Input / Combined Fields",component:j},l=({error:i=!1,disabled:s=!1})=>e.jsxs("div",{className:"flex flex-col gap-5",children:[e.jsxs(r,{children:[e.jsxs(r.LabelGroup,{children:[e.jsx(r.Label,{htmlFor:"value",children:"Textfields Only"}),e.jsx(r.Description,{id:"value-description",children:"A group with only textfields"})]}),e.jsxs(r.Group,{children:[e.jsx(r.TextInput,{id:"value",value:"I",placeholder:"Placeholder",onChange:()=>{},ariaDescribedBy:"value-description",error:i,disabled:s}),e.jsx(r.TextInput,{id:"value",value:"Love",placeholder:"Placeholder",onChange:()=>{},ariaDescribedBy:"value-description",error:i,disabled:s}),e.jsx(r.TextInput,{id:"value",value:"Abusix",placeholder:"Placeholder",onChange:()=>{},ariaDescribedBy:"value-description",error:i,disabled:s})]})]}),e.jsxs(r,{children:[e.jsxs(r.LabelGroup,{children:[e.jsx(r.Label,{htmlFor:"value",children:"Mixed Fields"}),e.jsx(r.Description,{id:"value-description",children:"A group with mixed fields (textfields and listboxes)"})]}),e.jsxs(r.Group,{children:[e.jsx(r.TextInput,{id:"value",value:"I",placeholder:"Placeholder",onChange:()=>{},ariaDescribedBy:"value-description",error:i,disabled:s}),e.jsx(r.TextInput,{id:"value",value:"Love",placeholder:"Placeholder",onChange:()=>{},ariaDescribedBy:"value-description",error:i,disabled:s}),e.jsx(r.TextInput,{id:"value",value:"Abusix",placeholder:"Placeholder",onChange:()=>{},ariaDescribedBy:"value-description",error:i,disabled:s}),e.jsxs(r.Listbox,{value:"",onChange:()=>{},children:[e.jsx(r.Listbox.Button,{children:e.jsx(r.Listbox.Button.TextValue,{value:"",placeholder:"Listbox"})}),e.jsx("div",{className:"relative z-10",children:e.jsxs(r.Listbox.Options,{children:[e.jsx(r.Listbox.Option,{value:"Option 1",children:e.jsx(r.Listbox.Option.TextOption,{children:"Option 1"})}),e.jsx(r.Listbox.Option,{value:"Option 2",children:e.jsx(r.Listbox.Option.TextOption,{children:"Option 2"})})]})})]})]})]})]}),t={render:()=>e.jsx("div",{className:"w-120",children:e.jsx(l,{})})},o={render:()=>e.jsx("div",{className:"w-120",children:e.jsx(l,{error:!0})})},a={render:()=>e.jsx("div",{className:"w-120",children:e.jsx(l,{disabled:!0})})};var n,d,p;t.parameters={...t.parameters,docs:{...(n=t.parameters)==null?void 0:n.docs,source:{originalSource:`{ + render: () =>
+ +
+}`,...(p=(d=t.parameters)==null?void 0:d.docs)==null?void 0:p.source}}};var c,x,u;o.parameters={...o.parameters,docs:{...(c=o.parameters)==null?void 0:c.docs,source:{originalSource:`{ + render: () =>
+ +
+}`,...(u=(x=o.parameters)==null?void 0:x.docs)==null?void 0:u.source}}};var m,h,v;a.parameters={...a.parameters,docs:{...(m=a.parameters)==null?void 0:m.docs,source:{originalSource:`{ + render: () =>
+ +
+}`,...(v=(h=a.parameters)==null?void 0:h.docs)==null?void 0:v.source}}};const k=["Default","WithError","Disabled"];export{t as Default,a as Disabled,o as WithError,k as __namedExportsOrder,V as default}; diff --git a/assets/formatter-B5HCVTEV-5UYepfUx.js b/assets/formatter-B5HCVTEV-5UYepfUx.js new file mode 100644 index 00000000..56237f9c --- /dev/null +++ b/assets/formatter-B5HCVTEV-5UYepfUx.js @@ -0,0 +1,58 @@ +var Qi=Object.defineProperty;var Zi=(e,t,r)=>t in e?Qi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var _e=(e,t,r)=>(Zi(e,typeof t!="symbol"?t+"":t,r),r);import{m as ea}from"./index-8ZKuWOMm.js";import"./iframe-YRqh8WQd.js";import"../sb-preview/runtime.js";import"./index-OjgoNOWw.js";import"./index-mQqIOHEI.js";import"./index-ogXoivrg.js";import"./index-33y5txed.js";import"./index-PPLHz8o0.js";var ta=Object.defineProperty,pu=(e,t)=>{for(var r in t)ta(e,r,{get:t[r],enumerable:!0})},hu=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},se=(e,t,r)=>(hu(e,t,"read from private field"),r?r.call(e):t.get(e)),ra=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},na=(e,t,r,n)=>(hu(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),du={};pu(du,{languages:()=>Vl,options:()=>zl,parsers:()=>Gu,printers:()=>Gl});var ua=(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)},O=ua,Br="string",xr="array",Tr="cursor",Bt="indent",xt="align",Lr="trim",Ye="group",Tt="fill",Lt="if-break",Nt="indent-if-break",Nr="line-suffix",qr="line-suffix-boundary",be="line",Pr="label",qt="break-parent",Du=new Set([Tr,Bt,xt,Lr,Ye,Tt,Lt,Nt,Nr,qr,be,Pr,qt]);function ia(e){if(typeof e=="string")return Br;if(Array.isArray(e))return xr;if(!e)return;let{type:t}=e;if(Du.has(t))return t}var Ir=ia,aa=e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e);function sa(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(Ir(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=aa([...Du].map(u=>`'${u}'`));return`Unexpected doc.type '${e.type}'. +Expected it to be ${n}.`}var oa=class extends Error{constructor(t){super(sa(t));_e(this,"name","InvalidDocError");this.doc=t}},fu=oa,la=()=>{},ca=la;function we(e){return{type:Bt,contents:e}}function mu(e,t){return{type:xt,contents:t,n:e}}function q(e,t={}){return ca(t.expandedStates),{type:Ye,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function pa(e){return mu(Number.NEGATIVE_INFINITY,e)}function ha(e){return mu({type:"root"},e)}function gu(e){return{type:Tt,parts:e}}function bt(e,t="",r={}){return{type:Lt,breakContents:e,flatContents:t,groupId:r.groupId}}function da(e,t){return{type:Nt,contents:e,groupId:t.groupId,negate:t.negate}}var Ze={type:qt},Da={type:be,hard:!0},fa={type:be,hard:!0,literal:!0},L={type:be},I={type:be,soft:!0},A=[Da,Ze],ma=[fa,Ze];function et(e,t){let r=[];for(let n=0;n{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},Pt=ga;function Or(e,t){if(typeof e=="string")return t(e);let r=new Map;return n(e);function n(i){if(r.has(i))return r.get(i);let a=u(i);return r.set(i,a),a}function u(i){switch(Ir(i)){case xr:return t(i.map(n));case Tt:return t({...i,parts:i.parts.map(n)});case Lt:return t({...i,breakContents:n(i.breakContents),flatContents:n(i.flatContents)});case Ye:{let{expandedStates:a,contents:s}=i;return a?(a=a.map(n),s=a[0]):s=n(s),t({...i,contents:s,expandedStates:a})}case xt:case Bt:case Nt:case Pr:case Nr:return t({...i,contents:n(i.contents)});case Br:case Tr:case Lr:case qr:case be:case qt:return t(i);default:throw new fu(i)}}}function Ca(e){switch(Ir(e)){case Tt:if(e.parts.every(t=>t===""))return"";break;case Ye:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===Ye&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case xt:case Bt:case Nt:case Nr:if(!e.contents)return"";break;case Lt:if(!e.flatContents&&!e.breakContents)return"";break;case xr:{let t=[];for(let r of e){if(!r)continue;let[n,...u]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof Pt(!1,t,-1)=="string"?t[t.length-1]+=n:t.push(n),t.push(...u)}return t.length===0?"":t.length===1?t[0]:t}case Br:case Tr:case Lr:case qr:case be:case Pr:case qt:break;default:throw new fu(e)}return e}function Fa(e){return Or(e,t=>Ca(t))}function G(e,t=ma){return Or(e,r=>typeof r=="string"?et(t,r.split(` +`)):r)}var va=class extends Error{constructor(t,r,n="type"){super(`Unexpected ${r} node ${n}: ${JSON.stringify(t[n])}.`);_e(this,"name","UnexpectedNodeError");this.node=t}},ya=va,lt="'",cn='"';function Ea(e,t){let r=t===!0||t===lt?lt:cn,n=r===lt?cn:lt,u=0,i=0;for(let a of e)a===r?u++:a===n&&i++;return u>i?n:r}var ba=Ea;function wa(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var U,Sa=class{constructor(e){ra(this,U,void 0),na(this,U,new Set(e))}getLeadingWhitespaceCount(e){let t=se(this,U),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 se(this,U).has(e.charAt(0))}hasTrailingWhitespace(e){return se(this,U).has(Pt(!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=`[${wa([...se(this,U)].join(""))}]+`,n=new RegExp(t?`(${r})`:r);return e.split(n)}hasWhitespaceCharacter(e){let t=se(this,U);return Array.prototype.some.call(e,r=>t.has(r))}hasNonWhitespaceCharacter(e){let t=se(this,U);return Array.prototype.some.call(e,r=>!t.has(r))}isWhitespaceOnly(e){let t=se(this,U);return Array.prototype.every.call(e,r=>t.has(r))}};U=new WeakMap;var Aa=Sa,ka=[" ",` +`,"\f","\r"," "],_a=new Aa(ka),ce=_a;function Ba(e){return(e==null?void 0:e.type)==="front-matter"}var It=Ba,xa=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan","keySpan","tagDefinition","tokens","valueTokens"]),Ta=new Set(["if","else if","for","switch","case"]);function Cu(e,t){var r;if(e.type==="text"||e.type==="comment"||It(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=t.parameters)!=null&&r.children)for(let n of t.parameters.children)Ta.has(e.name)?delete n.expression:n.expression=n.expression.trim()}Cu.ignoredProperties=xa;var La=Cu,Na=e=>String(e).split(/[/\\]/).pop();function pn(e,t){if(!t)return;let r=Na(t).toLowerCase();return e.find(n=>{var u,i;return((u=n.extensions)==null?void 0:u.some(a=>r.endsWith(a)))||((i=n.filenames)==null?void 0:i.some(a=>a.toLowerCase()===r))})}function qa(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 Pa(e,t){let r=e.plugins.flatMap(u=>u.languages??[]),n=qa(r,t.language)??pn(r,t.physicalFile)??pn(r,t.file)??(t.physicalFile,void 0);return n==null?void 0:n.parsers[0]}var Ot=Pa,Ia="inline",Oa={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"},Ma="normal",Ra={listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"};function Ha(e){return e.type==="element"&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}var Xe=Ha,ja=e=>O(!1,e,/^[\t\f\r ]*\n/g,""),Fu=e=>ja(ce.trimEnd(e)),$a=e=>{let t=e,r=ce.getLeadingWhitespace(t);r&&(t=t.slice(r.length));let n=ce.getTrailingWhitespace(t);return n&&(t=t.slice(0,-n.length)),{leadingWhitespace:r,trailingWhitespace:n,text:t}};function vu(e,t){return!!(e.type==="ieConditionalComment"&&e.lastChild&&!e.lastChild.isSelfClosing&&!e.lastChild.endSourceSpan||e.type==="ieConditionalComment"&&!e.complete||Pe(e)&&e.children.some(r=>r.type!=="text"&&r.type!=="interpolation")||Hr(e,t)&&!ee(e)&&e.type!=="interpolation")}function Mr(e){return e.type==="attribute"||!e.parent||!e.prev?!1:Wa(e.prev)}function Wa(e){return e.type==="comment"&&e.value.trim()==="prettier-ignore"}function H(e){return e.type==="text"||e.type==="comment"}function ee(e){return e.type==="element"&&(e.fullName==="script"||e.fullName==="style"||e.fullName==="svg:style"||e.fullName==="svg:script"||Xe(e)&&(e.name==="script"||e.name==="style"))}function Va(e){return e.children&&!ee(e)}function Ua(e){return ee(e)||e.type==="interpolation"||yu(e)}function yu(e){return _u(e).startsWith("pre")}function za(e,t){var r,n;let u=i();if(u&&!e.prev&&(n=(r=e.parent)==null?void 0:r.tagDefinition)!=null&&n.ignoreFirstLf)return e.type==="interpolation";return u;function i(){return It(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:Pe(e.parent)?!0:!(!e.prev&&(e.parent.type==="root"||Pe(e)&&e.parent||ee(e.parent)||Mt(e.parent,t)||!ts(e.parent.cssDisplay))||e.prev&&!us(e.prev.cssDisplay))}}function Ga(e,t){return It(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:Pe(e.parent)?!0:!(!e.next&&(e.parent.type==="root"||Pe(e)&&e.parent||ee(e.parent)||Mt(e.parent,t)||!rs(e.parent.cssDisplay))||e.next&&!ns(e.next.cssDisplay))}function Ka(e){return is(e.cssDisplay)&&!ee(e)}function ct(e){return It(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+10&&(["body","script","style"].includes(e.name)||e.children.some(t=>Xa(t)))||e.firstChild&&e.firstChild===e.lastChild&&e.firstChild.type!=="text"&&wu(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||Su(e.lastChild))}function Eu(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 nr(e){return Au(e)||e.prev&&Ya(e.prev)||bu(e)}function Ya(e){return Au(e)||e.type==="element"&&e.fullName==="br"||bu(e)}function bu(e){return wu(e)&&Su(e)}function wu(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 Au(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function Rr(e){return e.lastChild?Rr(e.lastChild):e}function Xa(e){var t;return(t=e.children)==null?void 0:t.some(r=>r.type!=="text")}function ku(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 Qa(e,t){let{name:r,attrMap:n}=e;if(r!=="script"||Object.prototype.hasOwnProperty.call(n,"src"))return;let{type:u,lang:i}=e.attrMap;return!i&&!u?"babel":Ot(t,{language:i})??ku(u)}function Za(e,t){if(!Hr(e,t))return;let{attrMap:r}=e;if(Object.prototype.hasOwnProperty.call(r,"src"))return;let{type:n,lang:u}=r;return Ot(t,{language:u})??ku(n)}function es(e,t){if(e.name!=="style")return;let{lang:r}=e.attrMap;return r?Ot(t,{language:r}):"css"}function hn(e,t){return Qa(e,t)??es(e,t)??Za(e,t)}function tt(e){return e==="block"||e==="list-item"||e.startsWith("table")}function ts(e){return!tt(e)&&e!=="inline-block"}function rs(e){return!tt(e)&&e!=="inline-block"}function ns(e){return!tt(e)}function us(e){return!tt(e)}function is(e){return!tt(e)&&e!=="inline-block"}function Pe(e){return _u(e).startsWith("pre")}function as(e,t){let r=e;for(;r;){if(t(r))return!0;r=r.parent}return!1}function ss(e,t){var r;if(Me(e,t))return"block";if(((r=e.prev)==null?void 0:r.type)==="comment"){let u=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(u)return u[1]}let n=!1;if(e.type==="element"&&e.namespace==="svg")if(as(e,u=>u.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||Xe(e))&&Oa[e.name]||Ia}}function _u(e){return e.type==="element"&&(!e.namespace||Xe(e))&&Ra[e.name]||Ma}function os(e){let t=Number.POSITIVE_INFINITY;for(let r of e.split(` +`)){if(r.length===0)continue;let n=ce.getLeadingWhitespaceCount(r);if(n===0)return 0;r.length!==n&&nr.slice(t)).join(` +`)}function xu(e){return O(!1,O(!1,e,"'","'"),""",'"')}function de(e){return xu(e.value)}var ls=new Set(["template","style","script"]);function Mt(e,t){return Me(e,t)&&!ls.has(e.fullName)}function Me(e,t){return t.parser==="vue"&&e.type==="element"&&e.parent.type==="root"&&e.fullName.toLowerCase()!=="html"}function Hr(e,t){return Me(e,t)&&(Mt(e,t)||e.attrMap.lang&&e.attrMap.lang!=="html")}function cs(e){let t=e.fullName;return t.charAt(0)==="#"||t==="slot-scope"||t==="v-slot"||t.startsWith("v-slot:")}function ps(e,t){let r=e.parent;if(!Me(r,t))return!1;let n=r.fullName,u=e.fullName;return n==="script"&&u==="setup"||n==="style"&&u==="vars"}function Tu(e,t=e.value){return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?G(t):G(Bu(Fu(t)),A):et(L,ce.split(t))}function Lu(e,t){return Me(e,t)&&e.name==="script"}function jr(e){return e>=9&&e<=32||e==160}function Nu(e){return 48<=e&&e<=57}function $r(e){return e>=97&&e<=122||e>=65&&e<=90}function hs(e){return e>=97&&e<=102||e>=65&&e<=70||Nu(e)}function qu(e){return e===10||e===13}function dn(e){return 48<=e&&e<=55}function Dn(e){return e===39||e===34||e===96}var ds=/-+([a-z0-9])/g;function Ds(e){return e.replace(ds,(...t)=>t[1].toUpperCase())}var fr=class Pu{constructor(t,r,n,u){this.file=t,this.offset=r,this.line=n,this.col=u}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(t){let r=this.file.content,n=r.length,u=this.offset,i=this.line,a=this.col;for(;u>0&&t<0;)if(u--,t++,r.charCodeAt(u)==10){i--;let s=r.substring(0,u-1).lastIndexOf(` +`);a=s>0?u-s:u}else a--;for(;u0;){let s=r.charCodeAt(u);u++,t--,s==10?(i++,a=0):a++}return new Pu(this.file,u,i,a)}getContext(t,r){let n=this.file.content,u=this.offset;if(u!=null){u>n.length-1&&(u=n.length-1);let i=u,a=0,s=0;for(;a0&&(u--,a++,!(n[u]==` +`&&++s==r)););for(a=0,s=0;a]${e.after}")`:this.msg}toString(){let e=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}},fs=[gs,Cs,vs,Es,bs,As,ws,Ss,ks,ys];function ms(e,t){for(let r of fs)r(e,t);return e}function gs(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 Cs(e){let t=r=>{var n,u;return r.type==="element"&&((n=r.prev)==null?void 0:n.type)==="ieConditionalStartComment"&&r.prev.sourceSpan.end.offset===r.startSourceSpan.start.offset&&((u=r.firstChild)==null?void 0:u.type)==="ieConditionalEndComment"&&r.firstChild.sourceSpan.start.offset===r.startSourceSpan.end.offset};e.walk(r=>{if(r.children)for(let n=0;n{if(n.children)for(let u=0;ut.type==="cdata",t=>``)}function ys(e){let t=r=>{var n,u;return r.type==="element"&&r.attrs.length===0&&r.children.length===1&&r.firstChild.type==="text"&&!ce.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"&&((u=r.next)==null?void 0:u.type)==="text"};e.walk(r=>{if(r.children)for(let n=0;n`+u.firstChild.value+``+a.value,i.sourceSpan=new b(i.sourceSpan.start,a.sourceSpan.end),i.isTrailingSpaceSensitive=a.isTrailingSpaceSensitive,i.hasTrailingSpaces=a.hasTrailingSpaces,r.removeChild(u),n--,r.removeChild(a)}})}function Es(e,t){if(t.parser==="html")return;let r=/{{(.+?)}}/s;e.walk(n=>{if(Va(n))for(let u of n.children){if(u.type!=="text")continue;let i=u.sourceSpan.start,a=null,s=u.value.split(r);for(let o=0;o0&&n.insertChildBefore(u,{type:"text",value:l,sourceSpan:new b(i,a)});continue}a=i.moveBy(l.length+4),n.insertChildBefore(u,{type:"interpolation",sourceSpan:new b(i,a),children:l.length===0?[]:[{type:"text",value:l,sourceSpan:new b(i.moveBy(2),a.moveBy(-2))}]})}n.removeChild(u)}})}function bs(e){e.walk(t=>{if(!t.children)return;if(t.children.length===0||t.children.length===1&&t.children[0].type==="text"&&ce.trim(t.children[0].value).length===0){t.hasDanglingSpaces=t.children.length>0,t.children=[];return}let r=Ua(t),n=yu(t);if(!r)for(let u=0;u{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 Ss(e,t){e.walk(r=>{r.type==="element"&&(r.hasHtmComponentClosingTag=r.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(t.originalText.slice(r.endSourceSpan.start.offset,r.endSourceSpan.end.offset)))})}function As(e,t){e.walk(r=>{r.cssDisplay=ss(r,t)})}function ks(e,t){e.walk(r=>{let{children:n}=r;if(n){if(n.length===0){r.isDanglingSpaceSensitive=Ka(r);return}for(let u of n)u.isLeadingSpaceSensitive=za(u,t),u.isTrailingSpaceSensitive=Ga(u,t);for(let u=0;u/.test(e)}function xs(e){return` + +`+e}function Rt(e){return e.sourceSpan.start.offset}function Ht(e){return e.sourceSpan.end.offset}async function Ts(e,t){if(e.lang==="yaml"){let r=e.value.trim(),n=r?await t(r,{parser:"yaml"}):"";return ha([e.startDelimiter,A,n,n?A:"",e.endDelimiter])}}var Ls=Ts,Mu=new Proxy(()=>{},{get:()=>Mu}),Ru=Mu;function Ns(e){return Array.isArray(e)&&e.length>0}var Hu=Ns;function mr(e,t){return[e.isSelfClosing?"":qs(e,t),ft(e,t)]}function qs(e,t){return e.lastChild&&Qe(e.lastChild)?"":[Ps(e,t),Wr(e,t)]}function ft(e,t){return(e.next?ve(e.next):nt(e.parent))?"":[rt(e,t),Fe(e,t)]}function Ps(e,t){return nt(e)?rt(e.lastChild,t):""}function Fe(e,t){return Qe(e)?Wr(e.parent,t):jt(e)?Vr(e.next):""}function Wr(e,t){if(Ru(!e.isSelfClosing),ju(e,t))return"";switch(e.type){case"ieConditionalComment":return"";case"ieConditionalStartComment":return"]>";case"interpolation":return"}}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function ju(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(Mr(e)||vu(e.parent,t))}function ve(e){return e.prev&&e.prev.type!=="docType"&&e.type!=="angularControlFlowBlock"&&!H(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function nt(e){var t;return((t=e.lastChild)==null?void 0:t.isTrailingSpaceSensitive)&&!e.lastChild.hasTrailingSpaces&&!H(Rr(e.lastChild))&&!Pe(e)}function Qe(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&H(Rr(e))}function jt(e){return e.next&&!H(e.next)&&H(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function Is(e){let t=e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return t?t[1]?t[1].split(/\s+/):!0:!1}function $t(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function Os(e,t,r){var n;let{node:u}=e;if(!Hu(u.attrs))return u.isSelfClosing?" ":"";let i=((n=u.prev)==null?void 0:n.type)==="comment"&&Is(u.prev.value),a=typeof i=="boolean"?()=>i:Array.isArray(i)?D=>i.includes(D.rawName):()=>!1,s=e.map(({node:D})=>a(D)?G(t.originalText.slice(Rt(D),Ht(D))):r(),"attrs"),o=u.type==="element"&&u.fullName==="script"&&u.attrs.length===1&&u.attrs[0].fullName==="src"&&u.children.length===0,l=t.singleAttributePerLine&&u.attrs.length>1&&!Me(u,t)?A:L,c=[we([o?" ":L,et(l,s)])];return u.firstChild&&$t(u.firstChild)||u.isSelfClosing&&nt(u.parent)||o?c.push(u.isSelfClosing?" ":""):c.push(t.bracketSameLine?u.isSelfClosing?" ":"":u.isSelfClosing?L:I),c}function Ms(e){return e.firstChild&&$t(e.firstChild)?"":Ur(e)}function gr(e,t,r){let{node:n}=e;return[mt(n,t),Os(e,t,r),n.isSelfClosing?"":Ms(n)]}function mt(e,t){return e.prev&&jt(e.prev)?"":[ye(e,t),Vr(e)]}function ye(e,t){return $t(e)?Ur(e.parent):ve(e)?rt(e.prev,t):""}function Vr(e){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return`<${e.rawName}`;default:return`<${e.rawName}`}}function Ur(e){switch(Ru(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">";default:return">"}}var ur=new WeakMap;function Rs(e,t){let{root:r}=e;return ur.has(r)||ur.set(r,r.children.some(n=>Lu(n,t)&&["ts","typescript"].includes(n.attrMap.lang))),ur.get(r)}var zr=Rs;function Hs(e,t){if(!e.endSourceSpan)return"";let r=e.startSourceSpan.end.offset;e.firstChild&&$t(e.firstChild)&&(r-=Ur(e).length);let n=e.endSourceSpan.start.offset;return e.lastChild&&Qe(e.lastChild)?n+=Wr(e,t).length:nt(e)&&(n-=rt(e.lastChild,t).length),t.originalText.slice(r,n)}var $u=Hs;function fn(e){return e===" "||e===` +`||e==="\f"||e==="\r"||e===" "}var js=/^[ \t\n\r\u000c]+/,$s=/^[, \t\n\r\u000c]+/,Ws=/^[^ \t\n\r\u000c]+/,Vs=/[,]+$/,mn=/^\d+$/,Us=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/;function zs(e){let t=e.length,r,n,u,i,a,s=0,o;function l(h){let d,m=h.exec(e.substring(s));if(m)return[d]=m,s+=d.length,d}let c=[];for(;;){if(l($s),s>=t){if(c.length===0)throw new Error("Must contain one or more image candidate strings.");return c}o=s,r=l(Ws),n=[],r.slice(-1)===","?(r=r.replace(Vs,""),p()):D()}function D(){for(l(js),u="",i="in descriptor";;){if(a=e.charAt(s),i==="in descriptor")if(fn(a))u&&(n.push(u),u="",i="after descriptor");else if(a===","){s+=1,u&&n.push(u),p();return}else if(a==="(")u+=a,i="in parens";else if(a===""){u&&n.push(u),p();return}else u+=a;else if(i==="in parens")if(a===")")u+=a,i="in descriptor";else if(a===""){n.push(u),p();return}else u+=a;else if(i==="after descriptor"&&!fn(a))if(a===""){p();return}else i="in descriptor",s-=1;s+=1}}function p(){let h=!1,d,m,g,F,f={},C,y,v,w,S;for(F=0;F{u=n(a,s)});let i=await t(e,r,t);return u?q(i):Wt(i)}function Ks(e){if(e.node.fullName==="srcset"&&(e.parent.fullName==="img"||e.parent.fullName==="source"))return()=>Ys(de(e.node))}var Wu={width:"w",height:"h",density:"x"},Js=Object.keys(Wu);function Ys(e){let t=Gs(e),r=Js.filter(c=>t.some(D=>Object.prototype.hasOwnProperty.call(D,c)));if(r.length>1)throw new Error("Mixed descriptor in srcset is not supported");let[n]=r,u=Wu[n],i=t.map(c=>c.source.value),a=Math.max(...i.map(c=>c.length)),s=t.map(c=>c[n]?String(c[n].value):""),o=s.map(c=>{let D=c.indexOf(".");return D===-1?c.length:D}),l=Math.max(...o);return Wt(et([",",L],i.map((c,D)=>{let p=[c],h=s[D];if(h){let d=a-c.length+1,m=l-o[D],g=" ".repeat(d+m);p.push(bt(g," "),h+u)}return p})))}var Xs=Ks;function Qs(e,t){let{node:r}=e,n=de(r);if(r.fullName==="class"&&!t.parentParser&&!n.includes("{{"))return()=>n.trim().split(/\s+/).join(" ")}var Zs=Qs;function eo(e,t){let{node:r}=e,n=de(e.node).trim();if(r.fullName==="style"&&!t.parentParser&&!n.includes("{{"))return async u=>Wt(await u(n,{parser:"css",__isHTMLStyleAttribute:!0}))}async function to(e,t,r,n){let u=de(r.node),{left:i,operator:a,right:s}=ro(u),o=zr(r,n);return[q(await X(`function _(${i}) {}`,e,{parser:o?"babel-ts":"babel",__isVueForBindingLeft:!0}))," ",a," ",await X(s,e,{parser:o?"__ts_expression":"__js_expression"})]}function ro(e){let t=/(.*?)\s+(in|of)\s+(.*)/s,r=/,([^,\]}]*)(?:,([^,\]}]*))?$/,n=/^\(|\)$/g,u=e.match(t);if(!u)return;let i={};if(i.for=u[3].trim(),!i.for)return;let a=O(!1,u[1].trim(),n,""),s=a.match(r);s?(i.alias=a.replace(r,""),i.iterator1=s[1].trim(),s[2]&&(i.iterator2=s[2].trim())):i.alias=a;let o=[i.alias,i.iterator1,i.iterator2];if(!o.some((l,c)=>!l&&(c===0||o.slice(c+1).some(Boolean))))return{left:o.filter(Boolean).join(","),operator:u[2],right:i.for}}function no(e,t,r){let{node:n}=r,u=de(n);return X(`type T<${u}> = any`,e,{parser:"babel-ts",__isEmbeddedTypescriptGenericParameters:!0},Re)}function uo(e,t,{parseWithTs:r}){return X(`function _(${e}) {}`,t,{parser:r?"babel-ts":"babel",__isVueBindings:!0})}function io(e){let t=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/,r=/^[$_a-z][\w$]*(?:\.[$_a-z][\w$]*|\['[^']*']|\["[^"]*"]|\[\d+]|\[[$_a-z][\w$]*])*$/i,n=e.trim();return t.test(n)||r.test(n)}function ao(e,t){if(t.parser!=="vue")return;let{node:r}=e,n=r.fullName;if(n==="v-for")return to;if(n==="generic"&&Lu(r.parent,t))return no;let u=de(r),i=zr(e,t);if(cs(r)||ps(r,t))return a=>uo(u,a,{parseWithTs:i});if(n.startsWith("@")||n.startsWith("v-on:"))return a=>so(u,a,{parseWithTs:i});if(n.startsWith(":")||n.startsWith("v-bind:"))return a=>oo(u,a,{parseWithTs:i});if(n.startsWith("v-"))return a=>Vu(u,a,{parseWithTs:i})}function so(e,t,{parseWithTs:r}){return io(e)?Vu(e,t,{parseWithTs:r}):X(e,t,{parser:r?"__vue_ts_event_binding":"__vue_event_binding"},Re)}function oo(e,t,{parseWithTs:r}){return X(e,t,{parser:r?"__vue_ts_expression":"__vue_expression"},Re)}function Vu(e,t,{parseWithTs:r}){return X(e,t,{parser:r?"__ts_expression":"__js_expression"},Re)}var lo=ao,Uu=/{{(.+?)}}/s;async function co(e,t){let r=[];for(let[n,u]of e.split(Uu).entries())if(n%2===0)r.push(G(u));else try{r.push(q(["{{",we([L,await X(u,t,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0,trailingComma:"none"})]),L,"}}"]))}catch{r.push("{{",G(u),"}}")}return r}function Gr({parser:e}){return(t,r,n)=>X(de(n.node),t,{parser:e,trailingComma:"none"},Re)}var po=Gr({parser:"__ng_action"}),ho=Gr({parser:"__ng_binding"}),Do=Gr({parser:"__ng_directive"});function fo(e,t){if(t.parser!=="angular")return;let{node:r}=e,n=r.fullName;if(n.startsWith("(")&&n.endsWith(")")||n.startsWith("on-"))return po;if(n.startsWith("[")&&n.endsWith("]")||/^bind(?:on)?-/.test(n)||/^ng-(?:if|show|hide|class|style)$/.test(n))return ho;if(n.startsWith("*"))return Do;let u=de(r);if(/^i18n(?:-.+)?$/.test(n))return()=>Wt(gu(Tu(r,u.trim())),!u.includes("@@"));if(Uu.test(u))return i=>co(u,i)}var mo=fo;function go(e,t){let{node:r}=e;if(r.value){if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.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[Xs,eo,Zs,lo,mo]){let u=n(e,t);if(u)return Co(u)}}}function Co(e){return async(t,r,n,u)=>{let i=await e(t,r,n,u);if(i)return i=Or(i,a=>typeof a=="string"?O(!1,a,'"',"""):a),[n.node.rawName,'="',q(i),'"']}}var Fo=go;function vo(e,t,r,n){let{node:u}=r,i=n.originalText.slice(u.sourceSpan.start.offset,u.sourceSpan.end.offset);return/^\s*$/.test(i)?"":X(i,e,{parser:"__ng_directive",__isInHtmlAttribute:!1,trailingComma:"none"},Re)}var yo=vo,Eo=new Set(["if","else if","for","switch","case"]);function bo(e,t){let{node:r}=e;switch(r.type){case"element":if(ee(r)||r.type==="interpolation")return;if(!r.isSelfClosing&&Hr(r,t)){let n=hn(r,t);return n?async(u,i)=>{let a=$u(r,t),s=/^\s*$/.test(a),o="";return s||(o=await u(Fu(a),{parser:n,__embeddedInHtml:!0}),s=o===""),[ye(r,t),q(gr(e,t,i)),s?"":A,o,s?"":A,mr(r,t),Fe(r,t)]}:void 0}break;case"text":if(ee(r.parent)){let n=hn(r.parent,t);if(n)return async u=>{let i=n==="markdown"?Bu(r.value.replace(/^[^\S\n]*\n/,"")):r.value,a={parser:n,__embeddedInHtml:!0};if(t.parser==="html"&&n==="babel"){let s="script",{attrMap:o}=r.parent;o&&(o.type==="module"||o.type==="text/babel"&&o["data-type"]==="module")&&(s="module"),a.__babelSourceType=s}return[Ze,ye(r,t),await u(i,a,{stripTrailingHardline:!0}),Fe(r,t)]}}else if(r.parent.type==="interpolation")return async n=>{let u={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return t.parser==="angular"?(u.parser="__ng_interpolation",u.trailingComma="none"):t.parser==="vue"?u.parser=zr(e,t)?"__vue_ts_expression":"__vue_expression":u.parser="__js_expression",[we([L,await n(r.value,u)]),r.parent.next&&ve(r.parent.next)?" ":L]};break;case"attribute":return Fo(e,t);case"front-matter":return n=>Ls(r,n);case"angularControlFlowBlockParameters":return Eo.has(e.parent.name)?yo:void 0}}var wo=bo;function je(e,t,r){let n=e.node;return Mr(n)?[ye(n,t),G(t.originalText.slice(Rt(n)+(n.prev&&jt(n.prev)?Vr(n).length:0),Ht(n)-(n.next&&ve(n.next)?rt(n,t).length:0))),Fe(n,t)]:r()}function pt(e,t){return H(e)&&H(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?nr(t)?A:L:"":nr(t)?A:I:jt(e)&&(Mr(t)||t.firstChild||t.isSelfClosing||t.type==="element"&&t.attrs.length>0)||e.type==="element"&&e.isSelfClosing&&ve(t)?"":!t.isLeadingSpaceSensitive||nr(t)||ve(t)&&e.lastChild&&Qe(e.lastChild)&&e.lastChild.lastChild&&Qe(e.lastChild.lastChild)?A:t.hasLeadingSpaces?L:I}function Kr(e,t,r){let{node:n}=e;if(Eu(n))return[Ze,...e.map(i=>{let a=i.node,s=a.prev?pt(a.prev,a):"";return[s?[s,ct(a.prev)?A:""]:"",je(i,t,r)]},"children")];let u=n.children.map(()=>Symbol(""));return e.map((i,a)=>{let s=i.node;if(H(s)){if(s.prev&&H(s.prev)){let d=pt(s.prev,s);if(d)return ct(s.prev)?[A,A,je(i,t,r)]:[d,je(i,t,r)]}return je(i,t,r)}let o=[],l=[],c=[],D=[],p=s.prev?pt(s.prev,s):"",h=s.next?pt(s,s.next):"";return p&&(ct(s.prev)?o.push(A,A):p===A?o.push(A):H(s.prev)?l.push(p):l.push(bt("",I,{groupId:u[a-1]}))),h&&(ct(s)?H(s.next)&&D.push(A,A):h===A?H(s.next)&&D.push(A):c.push(h)),[...o,q([...l,q([je(i,t,r),...c],{id:u[a]})]),...D]},"children")}function So(e,t,r){let{node:n}=e;if(vu(n,t))return[ye(n,t),q(gr(e,t,r)),G($u(n,t)),...mr(n,t),Fe(n,t)];let u=n.children.length===1&&n.firstChild.type==="interpolation"&&n.firstChild.isLeadingSpaceSensitive&&!n.firstChild.hasLeadingSpaces&&n.lastChild.isTrailingSpaceSensitive&&!n.lastChild.hasTrailingSpaces,i=Symbol("element-attr-group-id"),a=c=>q([q(gr(e,t,r),{id:i}),c,mr(n,t)]),s=c=>u?da(c,{groupId:i}):(ee(n)||Mt(n,t))&&n.parent.type==="root"&&t.parser==="vue"&&!t.vueIndentScriptAndStyle?c:we(c),o=()=>u?bt(I,"",{groupId:i}):n.firstChild.hasLeadingSpaces&&n.firstChild.isLeadingSpaceSensitive?L:n.firstChild.type==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive?pa(I):I,l=()=>(n.next?ve(n.next):nt(n.parent))?n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?" ":"":u?bt(I,"",{groupId:i}):n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?L:(n.lastChild.type==="comment"||n.lastChild.type==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${t.tabWidth*(e.ancestors.length-1)}}$`).test(n.lastChild.value)?"":I;return n.children.length===0?a(n.hasDanglingSpaces&&n.isDanglingSpaceSensitive?L:""):a([Ja(n)?Ze:"",s([o(),Kr(e,t,r)]),l()])}var Ao=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"])]]);function ko(e,t,r){let{node:n}=e,u=[];_o(e)&&u.push("} "),u.push("@",n.name),n.parameters&&u.push(" (",q(r("parameters")),")"),u.push(" {");let i=zu(n);return n.children.length>0?(n.firstChild.hasLeadingSpaces=!0,n.lastChild.hasTrailingSpaces=!0,u.push(we([A,Kr(e,t,r)])),i&&u.push(A,"}")):i&&u.push("}"),q(u,{shouldBreak:!0})}function zu(e){var t,r;return!(((t=e.next)==null?void 0:t.type)==="angularControlFlowBlock"&&(r=Ao.get(e.name))!=null&&r.has(e.next.name))}function _o(e){let{previous:t}=e;return(t==null?void 0:t.type)==="angularControlFlowBlock"&&!zu(e.previous)}function Bo(e,t,r){return[we([I,et([";",L],e.map(r,"children"))]),I]}var $e=null;function Ge(e){if($e!==null&&typeof $e.property){let t=$e;return $e=Ge.prototype=null,t}return $e=Ge.prototype=e??Object.create(null),new Ge}var xo=10;for(let e=0;e<=xo;e++)Ge();function To(e){return Ge(e)}function Lo(e,t="type"){To(e);function r(n){let u=n[t],i=e[u];if(!Array.isArray(i))throw Object.assign(new Error(`Missing visitor keys for '${u}'.`),{node:n});return i}return r}var No=Lo,qo={"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:[]},Po=qo,Io=No(Po),Oo=Io;function Mo(e,t,r){let{node:n}=e;switch(n.type){case"front-matter":return G(n.raw);case"root":return t.__onHtmlRoot&&t.__onHtmlRoot(n),[q(Kr(e,t,r)),A];case"element":case"ieConditionalComment":return So(e,t,r);case"angularControlFlowBlock":return ko(e,t,r);case"angularControlFlowBlockParameters":return Bo(e,t,r);case"angularControlFlowBlockParameter":return ce.trim(n.expression);case"ieConditionalStartComment":case"ieConditionalEndComment":return[mt(n),ft(n)];case"interpolation":return[mt(n,t),...e.map(r,"children"),ft(n,t)];case"text":{if(n.parent.type==="interpolation"){let i=/\n[^\S\n]*$/,a=i.test(n.value),s=a?n.value.replace(i,""):n.value;return[G(s),a?A:""]}let u=Fa([ye(n,t),...Tu(n),Fe(n,t)]);return Array.isArray(u)?gu(u):u}case"docType":return[q([mt(n,t)," ",O(!1,n.value.replace(/^html\b/i,"html"),/\s+/g," ")]),ft(n,t)];case"comment":return[ye(n,t),G(t.originalText.slice(Rt(n),Ht(n))),Fe(n,t)];case"attribute":{if(n.value===null)return n.rawName;let u=xu(n.value),i=ba(u,'"');return[n.rawName,"=",i,G(i==='"'?O(!1,u,'"',"""):O(!1,u,"'","'")),i]}case"cdata":default:throw new ya(n,"HTML")}}var Ro={preprocess:_s,print:Mo,insertPragma:xs,massageAstNode:La,embed:wo,getVisitorKeys:Oo},Ho=Ro,Gu={};pu(Gu,{angular:()=>jl,html:()=>Hl,lwc:()=>Wl,vue:()=>$l});var gn;(function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"})(gn||(gn={}));var Cn;(function(e){e[e.OnPush=0]="OnPush",e[e.Default=1]="Default"})(Cn||(Cn={}));var Fn={name:"custom-elements"},vn={name:"no-errors-schema"},ge;(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"})(ge||(ge={}));var yn;(function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore"})(yn||(yn={}));var z;(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"})(z||(z={}));function Vt(e){if(e[0]!=":")return[null,e];let t=e.indexOf(":",1);if(t===-1)throw new Error(`Unsupported format "${e}" expecting ":namespace:name"`);return[e.slice(1,t),e.slice(t+1)]}function En(e){return Vt(e)[1]==="ng-container"}function bn(e){return Vt(e)[1]==="ng-content"}function gt(e){return e===null?null:Vt(e)[0]}function St(e,t){return e?`:${e}:${t}`:t}var Ct;function wn(){return Ct||(Ct={},ht(ge.HTML,["iframe|srcdoc","*|innerHTML","*|outerHTML"]),ht(ge.STYLE,["*|style"]),ht(ge.URL,["*|formAction","area|href","area|ping","audio|src","a|href","a|ping","blockquote|cite","body|background","del|cite","form|action","img|src","input|src","ins|cite","q|cite","source|src","track|src","video|poster","video|src"]),ht(ge.RESOURCE_URL,["applet|code","applet|codebase","base|href","embed|src","frame|src","head|profile","html|manifest","iframe|src","link|href","media|src","object|codebase","object|data","script|src"])),Ct}function ht(e,t){for(let r of t)Ct[r.toLowerCase()]=e}var jo=class{},$o="boolean",Wo="number",Vo="string",Uo="object",zo=["[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,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:|"],Ku=new Map(Object.entries({class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"})),Go=Array.from(Ku).reduce((e,[t,r])=>(e.set(t,r),e),new Map),Ko=class extends jo{constructor(){super(),this._schema=new Map,this._eventSchema=new Map,zo.forEach(e=>{let t=new Map,r=new Set,[n,u]=e.split("|"),i=u.split(","),[a,s]=n.split("^");a.split(",").forEach(l=>{this._schema.set(l.toLowerCase(),t),this._eventSchema.set(l.toLowerCase(),r)});let o=s&&this._schema.get(s.toLowerCase());if(o){for(let[l,c]of o)t.set(l,c);for(let l of this._eventSchema.get(s.toLowerCase()))r.add(l)}i.forEach(l=>{if(l.length>0)switch(l[0]){case"*":r.add(l.substring(1));break;case"!":t.set(l.substring(1),$o);break;case"#":t.set(l.substring(1),Wo);break;case"%":t.set(l.substring(1),Uo);break;default:t.set(l,Vo)}})})}hasProperty(e,t,r){if(r.some(n=>n.name===vn.name))return!0;if(e.indexOf("-")>-1){if(En(e)||bn(e))return!1;if(r.some(n=>n.name===Fn.name))return!0}return(this._schema.get(e.toLowerCase())||this._schema.get("unknown")).has(t)}hasElement(e,t){return t.some(r=>r.name===vn.name)||e.indexOf("-")>-1&&(En(e)||bn(e)||t.some(r=>r.name===Fn.name))?!0:this._schema.has(e.toLowerCase())}securityContext(e,t,r){r&&(t=this.getMappedPropName(t)),e=e.toLowerCase(),t=t.toLowerCase();let n=wn()[e+"|"+t];return n||(n=wn()["*|"+t],n||ge.NONE)}getMappedPropName(e){return Ku.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=>Go.get(r)??r)}allKnownEventsOfElement(e){return Array.from(this._eventSchema.get(e.toLowerCase())??[])}normalizeAnimationStyleProperty(e){return Ds(e)}normalizeAnimationStyleValue(e,t,r){let n="",u=r.toString().trim(),i=null;if(Jo(e)&&r!==0&&r!=="0")if(typeof r=="number")n="px";else{let a=r.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&(i=`Please provide a CSS unit value for ${t}:${r}`)}return{error:i,value:u+n}}};function Jo(e){switch(e){case"width":case"height":case"minWidth":case"minHeight":case"maxWidth":case"maxHeight":case"left":case"top":case"bottom":case"right":case"fontSize":case"outlineWidth":case"outlineOffset":case"paddingTop":case"paddingLeft":case"paddingBottom":case"paddingRight":case"marginTop":case"marginLeft":case"marginBottom":case"marginRight":case"borderRadius":case"borderWidth":case"borderTopWidth":case"borderLeftWidth":case"borderRightWidth":case"borderBottomWidth":case"textIndent":return!0;default:return!1}}var E=class{constructor({closedByChildren:e,implicitNamespacePrefix:t,contentType:r=z.PARSABLE_DATA,closedByParent:n=!1,isVoid:u=!1,ignoreFirstLf:i=!1,preventNamespaceInheritance:a=!1,canSelfClose:s=!1}={}){this.closedByChildren={},this.closedByParent=!1,e&&e.length>0&&e.forEach(o=>this.closedByChildren[o]=!0),this.isVoid=u,this.closedByParent=n||u,this.implicitNamespacePrefix=t||null,this.contentType=r,this.ignoreFirstLf=i,this.preventNamespaceInheritance=a,this.canSelfClose=s??u}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}},Sn,We;function Cr(e){return We||(Sn=new E({canSelfClose:!0}),We=Object.assign(Object.create(null),{base:new E({isVoid:!0}),meta:new E({isVoid:!0}),area:new E({isVoid:!0}),embed:new E({isVoid:!0}),link:new E({isVoid:!0}),img:new E({isVoid:!0}),input:new E({isVoid:!0}),param:new E({isVoid:!0}),hr:new E({isVoid:!0}),br:new E({isVoid:!0}),source:new E({isVoid:!0}),track:new E({isVoid:!0}),wbr:new E({isVoid:!0}),p:new E({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new E({closedByChildren:["tbody","tfoot"]}),tbody:new E({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new E({closedByChildren:["tbody"],closedByParent:!0}),tr:new E({closedByChildren:["tr"],closedByParent:!0}),td:new E({closedByChildren:["td","th"],closedByParent:!0}),th:new E({closedByChildren:["td","th"],closedByParent:!0}),col:new E({isVoid:!0}),svg:new E({implicitNamespacePrefix:"svg"}),foreignObject:new E({implicitNamespacePrefix:"svg",preventNamespaceInheritance:!0}),math:new E({implicitNamespacePrefix:"math"}),li:new E({closedByChildren:["li"],closedByParent:!0}),dt:new E({closedByChildren:["dt","dd"]}),dd:new E({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new E({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new E({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new E({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new E({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new E({closedByChildren:["optgroup"],closedByParent:!0}),option:new E({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new E({ignoreFirstLf:!0}),listing:new E({ignoreFirstLf:!0}),style:new E({contentType:z.RAW_TEXT}),script:new E({contentType:z.RAW_TEXT}),title:new E({contentType:{default:z.ESCAPABLE_RAW_TEXT,svg:z.PARSABLE_DATA}}),textarea:new E({contentType:z.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),new Ko().allKnownElementNames().forEach(t=>{!We[t]&>(t)===null&&(We[t]=new E({canSelfClose:!1}))})),We[e]??Sn}var ut=class{constructor(e,t){this.sourceSpan=e,this.i18n=t}},Yo=class extends ut{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)}},Xo=class extends ut{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)}},Qo=class extends ut{constructor(e,t,r,n,u,i){super(n,i),this.switchValue=e,this.type=t,this.cases=r,this.switchValueSourceSpan=u}visit(e,t){return e.visitExpansion(this,t)}},Zo=class{constructor(e,t,r,n,u){this.value=e,this.expression=t,this.sourceSpan=r,this.valueSourceSpan=n,this.expSourceSpan=u}visit(e,t){return e.visitExpansionCase(this,t)}},el=class extends ut{constructor(e,t,r,n,u,i,a){super(r,a),this.name=e,this.value=t,this.keySpan=n,this.valueSpan=u,this.valueTokens=i,this.type="attribute"}visit(e,t){return e.visitAttribute(this,t)}get nameSpan(){return this.keySpan}},oe=class extends ut{constructor(e,t,r,n,u,i=null,a=null,s){super(n,s),this.name=e,this.attrs=t,this.children=r,this.startSourceSpan=u,this.endSourceSpan=i,this.nameSpan=a,this.type="element"}visit(e,t){return e.visitElement(this,t)}},tl=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="comment"}visit(e,t){return e.visitComment(this,t)}},rl=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="docType"}visit(e,t){return e.visitDocType(this,t)}},Be=class{constructor(e,t,r,n,u,i=null){this.name=e,this.parameters=t,this.children=r,this.sourceSpan=n,this.startSourceSpan=u,this.endSourceSpan=i,this.type="block"}visit(e,t){return e.visitBlock(this,t)}},An=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)}};function Ju(e,t,r=null){let n=[],u=e.visit?i=>e.visit(i,r)||i.visit(e,r):i=>i.visit(e,r);return t.forEach(i=>{let a=u(i);a&&n.push(a)}),n}var nl=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){}visitChildren(e,t){let r=[],n=this;function u(i){i&&r.push(Ju(n,i,e))}return t(u),Array.prototype.concat.apply([],r)}},At={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:"‌"},ul="";At.ngsp=ul;var il=[/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];function al(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];il.forEach(u=>{if(u.test(r)||u.test(n))throw new Error(`['${r}', '${n}'] contains unusable interpolation symbol.`)})}}var sl=class Yu{static fromArray(t){return t?(al("interpolation",t),new Yu(t[0],t[1])):Xu}constructor(t,r){this.start=t,this.end=r}},Xu=new sl("{{","}}"),ir=class extends Ou{constructor(e,t,r){super(r,e),this.tokenType=t}},ol=class{constructor(e,t,r){this.tokens=e,this.errors=t,this.nonNormalizedIcuExpressions=r}};function ll(e,t,r,n={}){let u=new hl(new Iu(e,t),r,n);return u.tokenize(),new ol(Cl(u.tokens),u.errors,u.nonNormalizedIcuExpressions)}var cl=/\r\n?/g;function xe(e){return`Unexpected character "${e===0?"EOF":String.fromCharCode(e)}"`}function kn(e){return`Unknown entity "${e}" - use the "&#;" or "&#x;" syntax`}function pl(e,t){return`Unable to parse entity "${t}" - ${e} character reference entities must end with ";"`}var kt;(function(e){e.HEX="hexadecimal",e.DEC="decimal"})(kt||(kt={}));var ar=class{constructor(e){this.error=e}},hl=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||Xu,this._leadingTriviaCodePoints=r.leadingTriviaChars&&r.leadingTriviaChars.map(u=>u.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 Fl(e,n):new Qu(e,n),this._preserveLineEndings=r.preserveLineEndings||!1,this._i18nNormalizeLineEndingsInICUs=r.i18nNormalizeLineEndingsInICUs||!1,this._tokenizeBlocks=r.tokenizeBlocks??!0;try{this._cursor.init()}catch(u){this.handleError(u)}}_processCarriageReturns(e){return this._preserveLineEndings?e:e.replace(cl,` +`)}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._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(30),this._endToken([])}_getBlockName(){let e=!1,t=this._cursor.clone();return this._attemptCharCodeUntilFn(r=>jr(r)?!e:xn(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(_),this._attemptCharCode(41))this._attemptCharCodeUntilFn(_);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(Tn);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&&Dn(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(Tn)}}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(ml(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 ir("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 ir("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 ir(e,this._currentTokenType,t);return this._currentTokenStart=null,this._currentTokenType=null,new ar(r)}handleError(e){if(e instanceof Jr&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),e instanceof ar)this.errors.push(e.error);else throw e}_attemptCharCode(e){return this._cursor.peek()===e?(this._cursor.advance(),!0):!1}_attemptCharCodeCaseInsensitive(e){return gl(this._cursor.peek(),e)?(this._cursor.advance(),!0):!1}_requireCharCode(e){let t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(xe(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&&!dl(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(_n,t===""?0:1);let n=this._cursor.getChars(r);return[t,n]}_consumeTagOpen(e){let t,r,n,u=[];try{if(!$r(this._cursor.peek()))throw this._createError(xe(this._cursor.peek()),this._cursor.getSpan(e));for(n=this._consumeTagOpenStart(e),r=n.parts[0],t=n.parts[1],this._attemptCharCodeUntilFn(_);this._cursor.peek()!==47&&this._cursor.peek()!==62&&this._cursor.peek()!==60&&this._cursor.peek()!==0;){let[a,s]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(_),this._attemptCharCode(61)){this._attemptCharCodeUntilFn(_);let o=this._consumeAttributeValue();u.push({prefix:a,name:s,value:o})}else u.push({prefix:a,name:s});this._attemptCharCodeUntilFn(_)}this._consumeTagOpenEnd()}catch(a){if(a instanceof ar){n?n.type=4:(this._beginToken(5,e),this._endToken(["<"]));return}throw a}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===2)return;let i=this._getTagContentType(t,r,this._fullNameStack.length>0,u);this._handleFullNameStackForTagOpen(r,t),i===z.RAW_TEXT?this._consumeRawTextWithTagClose(r,t,!1):i===z.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(r,t,!0)}_consumeRawTextWithTagClose(e,t,r){this._consumeRawText(r,()=>!this._attemptCharCode(60)||!this._attemptCharCode(47)||(this._attemptCharCodeUntilFn(_),!this._attemptStrCaseInsensitive(e?`${e}:${t}`:t))?!1:(this._attemptCharCodeUntilFn(_),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(xe(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=()=>this._cursor.peek()===t;e=this._consumeWithInterpolation(16,17,r,r),this._consumeQuote(t)}else{let t=()=>_n(this._cursor.peek());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(_),this._allowHtmComponentClosingTags&&this._attemptCharCode(47))this._attemptCharCodeUntilFn(_),this._requireCharCode(62),this._endToken([]);else{let[t,r]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(_),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(_),this._beginToken(7);let r=this._readUntil(44);this._endToken([r]),this._requireCharCode(44),this._attemptCharCodeUntilFn(_)}_consumeExpansionCaseStart(){this._beginToken(21);let e=this._readUntil(123).trim();this._endToken([e]),this._attemptCharCodeUntilFn(_),this._beginToken(22),this._requireCharCode(123),this._endToken([]),this._attemptCharCodeUntilFn(_),this._expansionCaseStack.push(22)}_consumeExpansionCaseEnd(){this._beginToken(23),this._requireCharCode(125),this._endToken([]),this._attemptCharCodeUntilFn(_),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(24),this._requireCharCode(125),this._endToken([]),this._expansionCaseStack.pop()}_consumeWithInterpolation(e,t,r,n){this._beginToken(e);let u=[];for(;!r();){let a=this._cursor.clone();this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(this._endToken([this._processCarriageReturns(u.join(""))],a),u.length=0,this._consumeInterpolation(t,a,n),this._beginToken(e)):this._cursor.peek()===38?(this._endToken([this._processCarriageReturns(u.join(""))]),u.length=0,this._consumeEntity(e),this._beginToken(e)):u.push(this._readChar())}this._inInterpolation=!1;let i=this._processCarriageReturns(u.join(""));return this._endToken([i]),i}_consumeInterpolation(e,t,r){let n=[];this._beginToken(e,t),n.push(this._interpolationConfig.start);let u=this._cursor.clone(),i=null,a=!1;for(;this._cursor.peek()!==0&&(r===null||!r());){let s=this._cursor.clone();if(this._isTagStart()){this._cursor=s,n.push(this._getProcessedChars(u,s)),this._endToken(n);return}if(i===null)if(this._attemptStr(this._interpolationConfig.end)){n.push(this._getProcessedChars(u,s)),n.push(this._interpolationConfig.end),this._endToken(n);return}else this._attemptStr("//")&&(a=!0);let o=this._cursor.peek();this._cursor.advance(),o===92?this._cursor.advance():o===i?i=null:!a&&i===null&&Dn(o)&&(i=o)}n.push(this._getProcessedChars(u,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()===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(),xn(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=St(e,t);(this._fullNameStack.length===0||this._fullNameStack[this._fullNameStack.length-1]===r)&&this._fullNameStack.push(r)}_handleFullNameStackForTagClose(e,t){let r=St(e,t);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]===r&&this._fullNameStack.pop()}};function _(e){return!jr(e)||e===0}function _n(e){return jr(e)||e===62||e===60||e===47||e===39||e===34||e===61||e===0}function dl(e){return(e<97||12257)}function Dl(e){return e===59||e===0||!hs(e)}function fl(e){return e===59||e===0||!$r(e)}function ml(e){return e!==125}function gl(e,t){return Bn(e)===Bn(t)}function Bn(e){return e>=97&&e<=122?e-97+65:e}function xn(e){return $r(e)||Nu(e)||e===95}function Tn(e){return e!==59&&_(e)}function Cl(e){let t=[],r;for(let n=0;n0&&r.indexOf(t.peek())!==-1;)n===t&&(t=t.clone()),t.advance();let u=this.locationFromCursor(t),i=this.locationFromCursor(this),a=n!==t?this.locationFromCursor(n):u;return new b(u,i,a)}getChars(t){return this.input.substring(t.state.offset,this.state.offset)}charAt(t){return this.input.charCodeAt(t)}advanceState(t){if(t.offset>=this.end)throw this.state=t,new Jr('Unexpected character "EOF"',this);let r=this.charAt(t.offset);r===10?(t.line++,t.column=0):qu(r)||t.column++,t.offset++,this.updatePeek(t)}updatePeek(t){t.peek=t.offset>=this.end?0:this.charAt(t.offset)}locationFromCursor(t){return new fr(t.file,t.state.offset,t.state.line,t.state.column)}},Fl=class vr extends Qu{constructor(t,r){t instanceof vr?(super(t),this.internalState={...t.internalState}):(super(t,r),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new vr(this)}getChars(t){let r=t.clone(),n="";for(;r.internalState.offsetthis.internalState.peek;if(t()===92)if(this.internalState={...this.state},this.advanceState(this.internalState),t()===110)this.state.peek=10;else if(t()===114)this.state.peek=13;else if(t()===118)this.state.peek=11;else if(t()===116)this.state.peek=9;else if(t()===98)this.state.peek=8;else if(t()===102)this.state.peek=12;else if(t()===117)if(this.advanceState(this.internalState),t()===123){this.advanceState(this.internalState);let r=this.clone(),n=0;for(;t()!==125;)this.advanceState(this.internalState),n++;this.state.peek=this.decodeHexDigits(r,n)}else{let r=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(r,4)}else if(t()===120){this.advanceState(this.internalState);let r=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(r,2)}else if(dn(t())){let r="",n=0,u=this.clone();for(;dn(t())&&n<3;)u=this.clone(),r+=String.fromCodePoint(t()),this.advanceState(this.internalState),n++;this.state.peek=parseInt(r,8),this.internalState=u.internalState}else qu(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(t,r){let n=this.input.slice(t.internalState.offset,t.internalState.offset+r),u=parseInt(n,16);if(isNaN(u))throw t.state=t.internalState,new Jr("Invalid hexadecimal escape sequence",t);return u}},Jr=class{constructor(e,t){this.msg=e,this.cursor=t}},R=class Zu extends Ou{static create(t,r,n){return new Zu(t,r,n)}constructor(t,r,n){super(r,n),this.elementName=t}},vl=class{constructor(e,t){this.rootNodes=e,this.errors=t}},yl=class{constructor(e){this.getTagDefinition=e}parse(e,t,r,n=!1,u){let i=h=>(d,...m)=>h(d.toLowerCase(),...m),a=n?this.getTagDefinition:i(this.getTagDefinition),s=h=>a(h).getContentType(),o=n?u:i(u),l=ll(e,t,u?(h,d,m,g)=>{let F=o(h,d,m,g);return F!==void 0?F:s(h)}:s,r),c=r&&r.canSelfClose||!1,D=r&&r.allowHtmComponentClosingTags||!1,p=new El(l.tokens,a,c,D,n);return p.build(),new vl(p.rootNodes,l.errors.concat(p.errors))}},El=class ei{constructor(t,r,n,u,i){this.tokens=t,this.getTagDefinition=r,this.canSelfClose=n,this.allowHtmComponentClosingTags=u,this.isTagNameCaseSensitive=i,this._index=-1,this._containerStack=[],this.rootNodes=[],this.errors=[],this._advance()}build(){for(;this._peek.type!==30;)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===18?this._consumeDocType(this._advance()):this._advance();for(let t of this._containerStack)t instanceof Be&&this.errors.push(R.create(t.name,t.sourceSpan,`Unclosed block "${t.name}"`))}_advance(){let t=this._peek;return this._index0)return this.errors=this.errors.concat(i.errors),null;let a=new b(t.sourceSpan.start,u.sourceSpan.end,t.sourceSpan.fullStart),s=new b(r.sourceSpan.start,u.sourceSpan.end,r.sourceSpan.fullStart);return new Zo(t.parts[0],i.rootNodes,a,t.sourceSpan,s)}_collectExpansionExpTokens(t){let r=[],n=[22];for(;;){if((this._peek.type===20||this._peek.type===22)&&n.push(this._peek.type),this._peek.type===23)if(Ln(n,22)){if(n.pop(),n.length===0)return r}else return this.errors.push(R.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===24)if(Ln(n,20))n.pop();else return this.errors.push(R.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===30)return this.errors.push(R.create(null,t.sourceSpan,"Invalid ICU message. Missing '}'.")),null;r.push(this._advance())}}_getText(t){let r=t.parts[0];if(r.length>0&&r[0]==` +`){let n=this._getClosestParentElement();n!=null&&n.children.length==0&&this.getTagDefinition(n.name).ignoreFirstLf&&(r=r.substring(1))}return r}_consumeText(t){let r=[t],n=t.sourceSpan,u=t.parts[0];if(u.length>0&&u[0]===` +`){let i=this._getContainer();i!=null&&i.children.length===0&&this.getTagDefinition(i.name).ignoreFirstLf&&(u=u.substring(1),r[0]={type:t.type,sourceSpan:t.sourceSpan,parts:[u]})}for(;this._peek.type===8||this._peek.type===5||this._peek.type===9;)t=this._advance(),r.push(t),t.type===8?u+=t.parts.join("").replace(/&([^;]+);/g,Nn):t.type===9?u+=t.parts[0]:u+=t.parts.join("");if(u.length>0){let i=t.sourceSpan;this._addToParent(new Yo(u,new b(n.start,i.end,n.fullStart,n.details),r))}}_closeVoidElement(){let t=this._getContainer();t instanceof oe&&this.getTagDefinition(t.name).isVoid&&this._containerStack.pop()}_consumeStartTag(t){let[r,n]=t.parts,u=[];for(;this._peek.type===14;)u.push(this._consumeAttr(this._advance()));let i=this._getElementFullName(r,n,this._getClosestParentElement()),a=!1;if(this._peek.type===2){this._advance(),a=!0;let h=this.getTagDefinition(i);this.canSelfClose||h.canSelfClose||gt(i)!==null||h.isVoid||this.errors.push(R.create(i,t.sourceSpan,`Only void, custom and foreign elements can be self closed "${t.parts[1]}"`))}else this._peek.type===1&&(this._advance(),a=!1);let s=this._peek.sourceSpan.fullStart,o=new b(t.sourceSpan.start,s,t.sourceSpan.fullStart),l=new b(t.sourceSpan.start,s,t.sourceSpan.fullStart),c=new b(t.sourceSpan.start.moveBy(1),t.sourceSpan.end),D=new oe(i,u,[],o,l,void 0,c),p=this._getContainer();this._pushContainer(D,p instanceof oe&&this.getTagDefinition(p.name).isClosedByChild(D.name)),a?this._popContainer(i,oe,o):t.type===4&&(this._popContainer(i,oe,null),this.errors.push(R.create(i,o,`Opening tag "${i}" not terminated.`)))}_pushContainer(t,r){r&&this._containerStack.pop(),this._addToParent(t),this._containerStack.push(t)}_consumeEndTag(t){let r=this.allowHtmComponentClosingTags&&t.parts.length===0?null:this._getElementFullName(t.parts[0],t.parts[1],this._getClosestParentElement());if(r&&this.getTagDefinition(r).isVoid)this.errors.push(R.create(r,t.sourceSpan,`Void elements do not have end tags "${t.parts[1]}"`));else if(!this._popContainer(r,oe,t.sourceSpan)){let n=`Unexpected closing tag "${r}". 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(R.create(r,t.sourceSpan,n))}}_popContainer(t,r,n){let u=!1;for(let i=this._containerStack.length-1;i>=0;i--){let a=this._containerStack[i];if(gt(a.name)?a.name===t:(t==null||a.name.toLowerCase()===t.toLowerCase())&&a instanceof r)return a.endSourceSpan=n,a.sourceSpan.end=n!==null?n.end:a.sourceSpan.end,this._containerStack.splice(i,this._containerStack.length-i),!u;(a instanceof Be||a instanceof oe&&!this.getTagDefinition(a.name).closedByParent)&&(u=!0)}return!1}_consumeAttr(t){let r=St(t.parts[0],t.parts[1]),n=t.sourceSpan.end,u;this._peek.type===15&&(u=this._advance());let i="",a=[],s,o;if(this._peek.type===16)for(s=this._peek.sourceSpan,o=this._peek.sourceSpan.end;this._peek.type===16||this._peek.type===17||this._peek.type===9;){let c=this._advance();a.push(c),c.type===17?i+=c.parts.join("").replace(/&([^;]+);/g,Nn):c.type===9?i+=c.parts[0]:i+=c.parts.join(""),o=n=c.sourceSpan.end}this._peek.type===15&&(o=n=this._advance().sourceSpan.end);let l=s&&o&&new b((u==null?void 0:u.sourceSpan.start)??s.start,o,(u==null?void 0:u.sourceSpan.fullStart)??s.fullStart);return new el(r,i,new b(t.sourceSpan.start,n,t.sourceSpan.fullStart),t.sourceSpan,l,a.length>0?a:void 0,void 0)}_consumeBlockOpen(t){let r=[];for(;this._peek.type===28;){let s=this._advance();r.push(new An(s.parts[0],s.sourceSpan))}this._peek.type===26&&this._advance();let n=this._peek.sourceSpan.fullStart,u=new b(t.sourceSpan.start,n,t.sourceSpan.fullStart),i=new b(t.sourceSpan.start,n,t.sourceSpan.fullStart),a=new Be(t.parts[0],r,[],u,i);this._pushContainer(a,!1)}_consumeBlockClose(t){this._popContainer(null,Be,t.sourceSpan)||this.errors.push(R.create(null,t.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(t){let r=[];for(;this._peek.type===28;){let s=this._advance();r.push(new An(s.parts[0],s.sourceSpan))}let n=this._peek.sourceSpan.fullStart,u=new b(t.sourceSpan.start,n,t.sourceSpan.fullStart),i=new b(t.sourceSpan.start,n,t.sourceSpan.fullStart),a=new Be(t.parts[0],r,[],u,i);this._pushContainer(a,!1),this._popContainer(null,Be,null),this.errors.push(R.create(t.parts[0],u,`Incomplete block "${t.parts[0]}". If you meant to write the @ character, you should use the "@" HTML entity instead.`))}_getContainer(){return this._containerStack.length>0?this._containerStack[this._containerStack.length-1]:null}_getClosestParentElement(){for(let t=this._containerStack.length-1;t>-1;t--)if(this._containerStack[t]instanceof oe)return this._containerStack[t];return null}_addToParent(t){let r=this._getContainer();r===null?this.rootNodes.push(t):r.children.push(t)}_getElementFullName(t,r,n){if(t===""&&(t=this.getTagDefinition(r).implicitNamespacePrefix||"",t===""&&n!=null)){let u=Vt(n.name)[1];this.getTagDefinition(u).preventNamespaceInheritance||(t=gt(n.name))}return St(t,r)}};function Ln(e,t){return e.length>0&&e[e.length-1]===t}function Nn(e,t){return At[t]!==void 0?At[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}var bl=class extends yl{constructor(){super(Cr)}parse(e,t,r,n=!1,u){return super.parse(e,t,r,n,u)}},sr=null,wl=()=>(sr||(sr=new bl),sr);function qn(e,t={}){let{canSelfClose:r=!1,allowHtmComponentClosingTags:n=!1,isTagNameCaseSensitive:u=!1,getTagContentType:i,tokenizeAngularBlocks:a=!1}=t;return wl().parse(e,"angular-html-parser",{tokenizeExpansionForms:!1,interpolationConfig:void 0,canSelfClose:r,allowHtmComponentClosingTags:n,tokenizeBlocks:a},u,i)}var Sl=new RegExp("^(?-{3}|\\+{3})(?[^\\n]*)\\n(?:|(?.*?)\\n)(?\\k|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function Al(e){let t=e.match(Sl);if(!t)return{content:e};let{startDelimiter:r,language:n,value:u="",endDelimiter:i}=t.groups,a=n.trim()||"yaml";if(r==="+++"&&(a="toml"),a!=="yaml"&&r!==i)return{content:e};let[s]=t;return{frontMatter:{type:"front-matter",lang:a,value:u,startDelimiter:r,endDelimiter:i,raw:s.replace(/\n$/,"")},content:O(!1,s,/[^\n]/g," ")+e.slice(s.length)}}var kl=Al;function _l(e,t){let r=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(r,t)}var Bl=_l,xl=new Set(["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","element","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"]),or=new Map([["*",new Set(["accesskey","autocapitalize","autofocus","class","contenteditable","dir","draggable","enterkeyhint","hidden","id","inert","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","popover","slot","spellcheck","style","tabindex","title","translate"])],["a",new Set(["charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","target","type"])],["applet",new Set(["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"])],["area",new Set(["alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","target","type"])],["audio",new Set(["autoplay","controls","crossorigin","loop","muted","preload","src"])],["base",new Set(["href","target"])],["basefont",new Set(["color","face","size"])],["blockquote",new Set(["cite"])],["body",new Set(["alink","background","bgcolor","link","text","vlink"])],["br",new Set(["clear"])],["button",new Set(["disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","popovertarget","popovertargetaction","type","value"])],["canvas",new Set(["height","width"])],["caption",new Set(["align"])],["col",new Set(["align","char","charoff","span","valign","width"])],["colgroup",new Set(["align","char","charoff","span","valign","width"])],["data",new Set(["value"])],["del",new Set(["cite","datetime"])],["details",new Set(["name","open"])],["dialog",new Set(["open"])],["dir",new Set(["compact"])],["div",new Set(["align"])],["dl",new Set(["compact"])],["embed",new Set(["height","src","type","width"])],["fieldset",new Set(["disabled","form","name"])],["font",new Set(["color","face","size"])],["form",new Set(["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"])],["frame",new Set(["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"])],["frameset",new Set(["cols","rows"])],["h1",new Set(["align"])],["h2",new Set(["align"])],["h3",new Set(["align"])],["h4",new Set(["align"])],["h5",new Set(["align"])],["h6",new Set(["align"])],["head",new Set(["profile"])],["hr",new Set(["align","noshade","size","width"])],["html",new Set(["manifest","version"])],["iframe",new Set(["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","loading","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"])],["img",new Set(["align","alt","border","crossorigin","decoding","fetchpriority","height","hspace","ismap","loading","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"])],["input",new Set(["accept","align","alt","autocomplete","checked","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","popovertarget","popovertargetaction","readonly","required","size","src","step","type","usemap","value","width"])],["ins",new Set(["cite","datetime"])],["isindex",new Set(["prompt"])],["label",new Set(["for","form"])],["legend",new Set(["align"])],["li",new Set(["type","value"])],["link",new Set(["as","blocking","charset","color","crossorigin","disabled","fetchpriority","href","hreflang","imagesizes","imagesrcset","integrity","media","referrerpolicy","rel","rev","sizes","target","type"])],["map",new Set(["name"])],["menu",new Set(["compact"])],["meta",new Set(["charset","content","http-equiv","media","name","scheme"])],["meter",new Set(["high","low","max","min","optimum","value"])],["object",new Set(["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","type","typemustmatch","usemap","vspace","width"])],["ol",new Set(["compact","reversed","start","type"])],["optgroup",new Set(["disabled","label"])],["option",new Set(["disabled","label","selected","value"])],["output",new Set(["for","form","name"])],["p",new Set(["align"])],["param",new Set(["name","type","value","valuetype"])],["pre",new Set(["width"])],["progress",new Set(["max","value"])],["q",new Set(["cite"])],["script",new Set(["async","blocking","charset","crossorigin","defer","fetchpriority","integrity","language","nomodule","referrerpolicy","src","type"])],["select",new Set(["autocomplete","disabled","form","multiple","name","required","size"])],["slot",new Set(["name"])],["source",new Set(["height","media","sizes","src","srcset","type","width"])],["style",new Set(["blocking","media","type"])],["table",new Set(["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"])],["tbody",new Set(["align","char","charoff","valign"])],["td",new Set(["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"])],["template",new Set(["shadowrootdelegatesfocus","shadowrootmode"])],["textarea",new Set(["autocomplete","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","wrap"])],["tfoot",new Set(["align","char","charoff","valign"])],["th",new Set(["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"])],["thead",new Set(["align","char","charoff","valign"])],["time",new Set(["datetime"])],["tr",new Set(["align","bgcolor","char","charoff","valign"])],["track",new Set(["default","kind","label","src","srclang"])],["ul",new Set(["compact","type"])],["video",new Set(["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"])]]),dt={attrs:!0,children:!0},Pn=new Set(["parent"]),Tl=class Ue{constructor(t={}){for(let r of new Set([...Pn,...Object.keys(t)]))this.setProperty(r,t[r])}setProperty(t,r){if(this[t]!==r){if(t in dt&&(r=r.map(n=>this.createChild(n))),!Pn.has(t)){this[t]=r;return}Object.defineProperty(this,t,{value:r,enumerable:!1,configurable:!0})}}map(t){let r;for(let n in dt){let u=this[n];if(u){let i=Ll(u,a=>a.map(t));r!==u&&(r||(r=new Ue({parent:this.parent})),r.setProperty(n,i))}}if(r)for(let n in this)n in dt||(r[n]=this[n]);return t(r||this)}walk(t){for(let r in dt){let n=this[r];if(n)for(let u=0;u[t.fullName,t.value]))}};function Ll(e,t){let r=e.map(t);return r.some((n,u)=>n!==e[u])?r:e}var Nl=[{regex:/^(\[if([^\]]*)]>)(.*?){try{return[!0,t(i,s).children]}catch{return[!1,[{type:"text",value:i,sourceSpan:new b(s,o)}]]}})();return{type:"ieConditionalComment",complete:l,children:c,condition:O(!1,u.trim(),/\s+/g," "),sourceSpan:e.sourceSpan,startSourceSpan:new b(e.sourceSpan.start,s),endSourceSpan:new b(o,e.sourceSpan.end)}}function Il(e,t,r){let[,n]=r;return{type:"ieConditionalStartComment",condition:O(!1,n.trim(),/\s+/g," "),sourceSpan:e.sourceSpan}}function Ol(e){return{type:"ieConditionalEndComment",sourceSpan:e.sourceSpan}}function Ml(e){if(e.type==="block"){if(e.name=O(!1,e.name.toLowerCase(),/\s+/g," ").trim(),e.type="angularControlFlowBlock",!Hu(e.parameters)){delete e.parameters;return}for(let t of e.parameters)t.type="angularControlFlowBlockParameter";e.parameters={type:"angularControlFlowBlockParameters",children:e.parameters,sourceSpan:new b(e.parameters[0].sourceSpan.start,Pt(!1,e.parameters,-1).sourceSpan.end)}}}function ti(e,t,r){let{name:n,canSelfClose:u=!0,normalizeTagName:i=!1,normalizeAttributeName:a=!1,allowHtmComponentClosingTags:s=!1,isTagNameCaseSensitive:o=!1,shouldParseAsRawText:l}=t,{rootNodes:c,errors:D}=qn(e,{canSelfClose:u,allowHtmComponentClosingTags:s,isTagNameCaseSensitive:o,getTagContentType:l?(...f)=>l(...f)?z.RAW_TEXT:void 0:void 0,tokenizeAngularBlocks:n==="angular"?!0:void 0});if(n==="vue"){if(c.some(v=>v.type==="docType"&&v.value==="html"||v.type==="element"&&v.name.toLowerCase()==="html"))return ti(e,ni,r);let f,C=()=>f??(f=qn(e,{canSelfClose:u,allowHtmComponentClosingTags:s,isTagNameCaseSensitive:o})),y=v=>C().rootNodes.find(({startSourceSpan:w})=>w&&w.start.offset===v.startSourceSpan.start.offset)??v;for(let[v,w]of c.entries()){let{endSourceSpan:S,startSourceSpan:x}=w;if(S===null)D=C().errors,c[v]=y(w);else if(Rl(w,r)){let K=C().errors.find(W=>W.span.start.offset>x.start.offset&&W.span.start.offset0&&In(D[0]);let p=f=>{let C=f.name.startsWith(":")?f.name.slice(1).split(":")[0]:null,y=f.nameSpan.toString(),v=C!==null&&y.startsWith(`${C}:`),w=v?y.slice(C.length+1):y;f.name=w,f.namespace=C,f.hasExplicitNamespace=v},h=f=>{switch(f.type){case"element":p(f);for(let C of f.attrs)p(C),C.valueSpan?(C.value=C.valueSpan.toString(),/["']/.test(C.value[0])&&(C.value=C.value.slice(1,-1))):C.value=null;break;case"comment":f.value=f.sourceSpan.toString().slice(4,-3);break;case"text":f.value=f.sourceSpan.toString();break}},d=(f,C)=>{let y=f.toLowerCase();return C(y)?y:f},m=f=>{if(f.type==="element"&&(i&&(!f.namespace||f.namespace===f.tagDefinition.implicitNamespacePrefix||Xe(f))&&(f.name=d(f.name,C=>xl.has(C))),a))for(let C of f.attrs)C.namespace||(C.name=d(C.name,y=>or.has(f.name)&&(or.get("*").has(y)||or.get(f.name).has(y))))},g=f=>{f.sourceSpan&&f.endSourceSpan&&(f.sourceSpan=new b(f.sourceSpan.start,f.endSourceSpan.end))},F=f=>{if(f.type==="element"){let C=Cr(o?f.name:f.name.toLowerCase());!f.namespace||f.namespace===C.implicitNamespacePrefix||Xe(f)?f.tagDefinition=C:f.tagDefinition=Cr("")}};return Ju(new class extends nl{visit(f){h(f),F(f),m(f),g(f)}},c),c}function Rl(e,t){var r;if(e.type!=="element"||e.name!=="template")return!1;let n=(r=e.attrs.find(u=>u.name==="lang"))==null?void 0:r.value;return!n||Ot(t,{language:n})==="html"}function In(e){let{msg:t,span:{start:r,end:n}}=e;throw Bl(t,{loc:{start:{line:r.line+1,column:r.col+1},end:{line:n.line+1,column:n.col+1}},cause:e})}function ri(e,t,r={},n=!0){let{frontMatter:u,content:i}=n?kl(e):{frontMatter:null,content:e},a=new Iu(e,r.filepath),s=new fr(a,0,0,0),o=s.moveBy(e.length),l={type:"root",sourceSpan:new b(s,o),children:ti(i,t,r)};if(u){let p=new fr(a,0,0,0),h=p.moveBy(u.raw.length);u.sourceSpan=new b(p,h),l.children.unshift(u)}let c=new Tl(l),D=(p,h)=>{let{offset:d}=h,m=O(!1,e.slice(0,d),/[^\n\r]/g," "),g=ri(m+p,t,r,!1);g.sourceSpan=new b(h,Pt(!1,g.children,-1).sourceSpan.end);let F=g.children[0];return F.length===d?g.children.shift():(F.sourceSpan=new b(F.sourceSpan.start.moveBy(d),F.sourceSpan.end),F.value=F.value.slice(d)),g};return c.walk(p=>{if(p.type==="comment"){let h=ql(p,D);h&&p.parent.replaceChild(p,h)}Ml(p)}),c}function Ut(e){return{parse:(t,r)=>ri(t,e,r),hasPragma:Bs,astFormat:"html",locStart:Rt,locEnd:Ht}}var ni={name:"html",normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0},Hl=Ut(ni),jl=Ut({name:"angular"}),$l=Ut({name:"vue",isTagNameCaseSensitive:!0,shouldParseAsRawText(e,t,r,n){return e.toLowerCase()!=="html"&&!r&&(e!=="template"||n.some(({name:u,value:i})=>u==="lang"&&i!=="html"&&i!==""&&i!==void 0))}}),Wl=Ut({name:"lwc",canSelfClose:!1}),Vl=[{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"]}],On={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."}},Mn="HTML",Ul={bracketSameLine:On.bracketSameLine,htmlWhitespaceSensitivity:{category:Mn,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:On.singleAttributePerLine,vueIndentScriptAndStyle:{category:Mn,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},zl=Ul,Gl={html:Ho},Kl=du,Jl=Object.create,zt=Object.defineProperty,Yl=Object.getOwnPropertyDescriptor,Xl=Object.getOwnPropertyNames,Ql=Object.getPrototypeOf,Zl=Object.prototype.hasOwnProperty,ec=(e,t)=>()=>(e&&(t=e(e=0)),t),Gt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Kt=(e,t)=>{for(var r in t)zt(e,r,{get:t[r],enumerable:!0})},ui=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let u of Xl(t))!Zl.call(e,u)&&u!==r&&zt(e,u,{get:()=>t[u],enumerable:!(n=Yl(t,u))||n.enumerable});return e},it=(e,t,r)=>(r=e!=null?Jl(Ql(e)):{},ui(t||!e||!e.__esModule?zt(r,"default",{value:e,enumerable:!0}):r,e)),tc=e=>ui(zt({},"__esModule",{value:!0}),e),rc=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},Rn=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},Ve=(e,t,r)=>(rc(e,t,"access private method"),r),nc=Gt(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(){}t.prototype={diff:function(u,i){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=a.callback;typeof a=="function"&&(s=a,a={}),this.options=a;var o=this;function l(f){return s?(setTimeout(function(){s(void 0,f)},0),!0):f}u=this.castInput(u),i=this.castInput(i),u=this.removeEmpty(this.tokenize(u)),i=this.removeEmpty(this.tokenize(i));var c=i.length,D=u.length,p=1,h=c+D;a.maxEditLength&&(h=Math.min(h,a.maxEditLength));var d=[{newPos:-1,components:[]}],m=this.extractCommon(d[0],i,u,0);if(d[0].newPos+1>=c&&m+1>=D)return l([{value:this.join(i),count:i.length}]);function g(){for(var f=-1*p;f<=p;f+=2){var C=void 0,y=d[f-1],v=d[f+1],w=(v?v.newPos:0)-f;y&&(d[f-1]=void 0);var S=y&&y.newPos+1=c&&w+1>=D)return l(r(o,C.components,i,u,o.useLongestToken));d[f]=C}p++}if(s)(function f(){setTimeout(function(){if(p>h)return s();g()||f()},0)})();else for(;p<=h;){var F=g();if(F)return F}},pushComponent:function(u,i,a){var s=u[u.length-1];s&&s.added===i&&s.removed===a?u[u.length-1]={count:s.count+1,added:i,removed:a}:u.push({count:1,added:i,removed:a})},extractCommon:function(u,i,a,s){for(var o=i.length,l=a.length,c=u.newPos,D=c-s,p=0;c+1F.length?C:F}),h.value=u.join(m)}else h.value=u.join(a.slice(D,D+h.count));D+=h.count,h.added||(p+=h.count)}}var g=i[c-1];return c>1&&typeof g.value=="string"&&(g.added||g.removed)&&u.equals("",g.value)&&(i[c-2].value+=g.value,i.pop()),i}function n(u){return{newPos:u.newPos,components:u.components.slice(0)}}}),uc=Gt(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.diffArrays=u,e.arrayDiff=void 0;var t=r(nc());function r(i){return i&&i.__esModule?i:{default:i}}var n=new t.default;e.arrayDiff=n,n.tokenize=function(i){return i.slice()},n.join=n.removeEmpty=function(i){return i};function u(i,a,s){return n.diff(i,a,s)}}),Jt=Gt((e,t)=>{var r=new Proxy(String,{get:()=>r});t.exports=r}),ii={};Kt(ii,{default:()=>si,shouldHighlight:()=>ai});var ai,si,ic=ec(()=>{ai=()=>!1,si=String}),ac=Gt(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.codeFrameColumns=D,e.default=p;var t=(ic(),tc(ii)),r=u(Jt(),!0);function n(h){if(typeof WeakMap!="function")return null;var d=new WeakMap,m=new WeakMap;return(n=function(g){return g?m:d})(h)}function u(h,d){if(!d&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var m=n(d);if(m&&m.has(h))return m.get(h);var g={__proto__:null},F=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in h)if(f!=="default"&&Object.prototype.hasOwnProperty.call(h,f)){var C=F?Object.getOwnPropertyDescriptor(h,f):null;C&&(C.get||C.set)?Object.defineProperty(g,f,C):g[f]=h[f]}return g.default=h,m&&m.set(h,g),g}var i;function a(h){return h?(i!=null||(i=new r.default.constructor({enabled:!0,level:1})),i):r.default}var s=!1;function o(h){return{gutter:h.grey,marker:h.red.bold,message:h.red.bold}}var l=/\r\n|[\n\r\u2028\u2029]/;function c(h,d,m){let g=Object.assign({column:0,line:-1},h.start),F=Object.assign({},g,h.end),{linesAbove:f=2,linesBelow:C=3}=m||{},y=g.line,v=g.column,w=F.line,S=F.column,x=Math.max(y-(f+1),0),K=Math.min(d.length,w+C);y===-1&&(x=0),w===-1&&(K=d.length);let W=w-y,T={};if(W)for(let V=0;V<=W;V++){let J=V+y;if(!v)T[J]=!0;else if(V===0){let fe=d[J-1].length;T[J]=[v,fe-v+1]}else if(V===W)T[J]=[0,S];else{let fe=d[J-V].length;T[J]=[0,fe]}}else v===S?v?T[y]=[v,0]:T[y]=!0:T[y]=[v,S-v];return{start:x,end:K,markerLines:T}}function D(h,d,m={}){let g=(m.highlightCode||m.forceColor)&&(0,t.shouldHighlight)(m),F=a(m.forceColor),f=o(F),C=(T,V)=>g?T(V):V,y=h.split(l),{start:v,end:w,markerLines:S}=c(d,y,m),x=d.start&&typeof d.start.column=="number",K=String(w).length,W=(g?(0,t.default)(h,m):h).split(l,w).slice(v,w).map((T,V)=>{let J=v+1+V,fe=` ${` ${J}`.slice(-K)} |`,ot=S[J],Ji=!S[J+1];if(ot){let rr="";if(Array.isArray(ot)){let Yi=T.slice(0,Math.max(ot[0]-1,0)).replace(/[^\t]/g," "),Xi=ot[1]||1;rr=[` + `,C(f.gutter,fe.replace(/\d/g," "))," ",Yi,C(f.marker,"^").repeat(Xi)].join(""),Ji&&m.message&&(rr+=" "+C(f.message,m.message))}return[C(f.marker,">"),C(f.gutter,fe),T.length>0?` ${T}`:"",rr].join("")}else return` ${C(f.gutter,fe)}${T.length>0?` ${T}`:""}`}).join(` +`);return m.message&&!x&&(W=`${" ".repeat(K+1)}${m.message} +${W}`),g?F.reset(W):W}function p(h,d,m,g={}){if(!s){s=!0;let F="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";{let f=new Error(F);f.name="DeprecationWarning",console.warn(new Error(F))}}return m=Math.max(m,0),D(h,{start:{column:m,line:d}},g)}}),oi={};Kt(oi,{__debug:()=>rh,check:()=>eh,doc:()=>zi,format:()=>Ki,formatWithCursor:()=>Gi,getSupportInfo:()=>th,util:()=>Ui,version:()=>Z2});var sc=(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)},Yt=sc,oc=it(uc(),1),Se="string",pe="array",Ae="cursor",te="indent",re="align",ne="trim",P="group",j="fill",M="if-break",ue="indent-if-break",ie="line-suffix",ae="line-suffix-boundary",B="line",Q="label",$="break-parent",li=new Set([Ae,te,re,ne,P,j,M,ue,ie,ae,B,Q,$]);function lc(e){if(typeof e=="string")return Se;if(Array.isArray(e))return pe;if(!e)return;let{type:t}=e;if(li.has(t))return t}var ke=lc,cc=e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e);function pc(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(ke(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=cc([...li].map(u=>`'${u}'`));return`Unexpected doc.type '${e.type}'. +Expected it to be ${n}.`}var hc=class extends Error{constructor(t){super(pc(t));_e(this,"name","InvalidDocError");this.doc=t}},Ie=hc,Hn={};function dc(e,t,r,n){let u=[e];for(;u.length>0;){let i=u.pop();if(i===Hn){r(u.pop());continue}r&&u.push(i,Hn);let a=ke(i);if(!a)throw new Ie(i);if((t==null?void 0:t(i))!==!1)switch(a){case pe:case j:{let s=a===pe?i:i.parts;for(let o=s.length,l=o-1;l>=0;--l)u.push(s[l]);break}case M:u.push(i.flatContents,i.breakContents);break;case P:if(n&&i.expandedStates)for(let s=i.expandedStates.length,o=s-1;o>=0;--o)u.push(i.expandedStates[o]);else u.push(i.contents);break;case re:case te:case ue:case Q:case ie:u.push(i.contents);break;case Se:case Ae:case ne:case ae:case B:case $:break;default:throw new Ie(i)}}}var Yr=dc,Dc=()=>{},fc=Dc;function _t(e){return{type:te,contents:e}}function Oe(e,t){return{type:re,contents:t,n:e}}function ci(e,t={}){return fc(t.expandedStates),{type:P,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function mc(e){return Oe(Number.NEGATIVE_INFINITY,e)}function gc(e){return Oe({type:"root"},e)}function Cc(e){return Oe(-1,e)}function Fc(e,t){return ci(e[0],{...t,expandedStates:e})}function pi(e){return{type:j,parts:e}}function vc(e,t="",r={}){return{type:M,breakContents:e,flatContents:t,groupId:r.groupId}}function yc(e,t){return{type:ue,contents:e,groupId:t.groupId,negate:t.negate}}function yr(e){return{type:ie,contents:e}}var Ec={type:ae},Xt={type:$},bc={type:ne},Xr={type:B,hard:!0},hi={type:B,hard:!0,literal:!0},di={type:B},wc={type:B,soft:!0},Ce=[Xr,Xt],Di=[hi,Xt],Er={type:Ae};function fi(e,t){let r=[];for(let n=0;n0){for(let u=0;u{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},k=Ac;function kc(e){let t=e.indexOf("\r");return t>=0?e.charAt(t+1)===` +`?"crlf":"cr":"lf"}function Qr(e){switch(e){case"cr":return"\r";case"crlf":return`\r +`;default:return` +`}}function gi(e,t){let r;switch(t){case` +`:r=/\n/g;break;case"\r":r=/\r/g;break;case`\r +`:r=/\r\n/g;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(t)}.`)}let n=e.match(r);return n?n.length:0}function _c(e){return Yt(!1,e,/\r\n?/g,` +`)}var Bc=()=>/[#*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;function xc(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}function Tc(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}var Lc=e=>!(xc(e)||Tc(e)),Nc=/[^\x20-\x7F]/;function qc(e){if(!e)return 0;if(!Nc.test(e))return e.length;e=e.replace(Bc()," ");let t=0;for(let r of e){let n=r.codePointAt(0);n<=31||n>=127&&n<=159||n>=768&&n<=879||(t+=Lc(n)?1:2)}return t}var Zr=qc,Pc=e=>{if(Array.isArray(e))return e;if(e.type!==j)throw new Error(`Expect doc to be 'array' or '${j}'.`);return e.parts};function Qt(e,t){if(typeof e=="string")return t(e);let r=new Map;return n(e);function n(i){if(r.has(i))return r.get(i);let a=u(i);return r.set(i,a),a}function u(i){switch(ke(i)){case pe:return t(i.map(n));case j:return t({...i,parts:i.parts.map(n)});case M:return t({...i,breakContents:n(i.breakContents),flatContents:n(i.flatContents)});case P:{let{expandedStates:a,contents:s}=i;return a?(a=a.map(n),s=a[0]):s=n(s),t({...i,contents:s,expandedStates:a})}case re:case te:case ue:case Q:case ie:return t({...i,contents:n(i.contents)});case Se:case Ae:case ne:case ae:case B:case $:return t(i);default:throw new Ie(i)}}}function en(e,t,r){let n=r,u=!1;function i(a){if(u)return!1;let s=t(a);s!==void 0&&(u=!0,n=s)}return Yr(e,i),n}function Ic(e){if(e.type===P&&e.break||e.type===B&&e.hard||e.type===$)return!0}function Oc(e){return en(e,Ic,!1)}function jn(e){if(e.length>0){let t=k(!1,e,-1);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function Mc(e){let t=new Set,r=[];function n(i){if(i.type===$&&jn(r),i.type===P){if(r.push(i),t.has(i))return!1;t.add(i)}}function u(i){i.type===P&&r.pop().break&&jn(r)}Yr(e,n,u,!0)}function Rc(e){return e.type===B&&!e.hard?e.soft?"":" ":e.type===M?e.flatContents:e}function Hc(e){return Qt(e,Rc)}function $n(e){for(e=[...e];e.length>=2&&k(!1,e,-2).type===B&&k(!1,e,-1).type===$;)e.length-=2;if(e.length>0){let t=Ke(k(!1,e,-1));e[e.length-1]=t}return e}function Ke(e){switch(ke(e)){case re:case te:case ue:case P:case ie:case Q:{let t=Ke(e.contents);return{...e,contents:t}}case M:return{...e,breakContents:Ke(e.breakContents),flatContents:Ke(e.flatContents)};case j:return{...e,parts:$n(e.parts)};case pe:return $n(e);case Se:return e.replace(/[\n\r]*$/,"");case Ae:case ne:case ae:case B:case $:break;default:throw new Ie(e)}return e}function Ci(e){return Ke($c(e))}function jc(e){switch(ke(e)){case j:if(e.parts.every(t=>t===""))return"";break;case P:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===P&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case re:case te:case ue:case ie:if(!e.contents)return"";break;case M:if(!e.flatContents&&!e.breakContents)return"";break;case pe:{let t=[];for(let r of e){if(!r)continue;let[n,...u]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof k(!1,t,-1)=="string"?t[t.length-1]+=n:t.push(n),t.push(...u)}return t.length===0?"":t.length===1?t[0]:t}case Se:case Ae:case ne:case ae:case B:case Q:case $:break;default:throw new Ie(e)}return e}function $c(e){return Qt(e,t=>jc(t))}function Wc(e,t=Di){return Qt(e,r=>typeof r=="string"?fi(t,r.split(` +`)):r)}function Vc(e){if(e.type===B)return!0}function Uc(e){return en(e,Vc,!1)}function Fi(e,t){return e.type===Q?{...e,contents:t(e.contents)}:t(e)}var N=Symbol("MODE_BREAK"),Y=Symbol("MODE_FLAT"),Je=Symbol("cursor");function vi(){return{value:"",length:0,queue:[]}}function zc(e,t){return br(e,{type:"indent"},t)}function Gc(e,t,r){return t===Number.NEGATIVE_INFINITY?e.root||vi():t<0?br(e,{type:"dedent"},r):t?t.type==="root"?{...e,root:e}:br(e,{type:typeof t=="string"?"stringAlign":"numberAlign",n:t},r):e}function br(e,t,r){let n=t.type==="dedent"?e.queue.slice(0,-1):[...e.queue,t],u="",i=0,a=0,s=0;for(let d of n)switch(d.type){case"indent":c(),r.useTabs?o(1):l(r.tabWidth);break;case"stringAlign":c(),u+=d.n,i+=d.n.length;break;case"numberAlign":a+=1,s+=d.n;break;default:throw new Error(`Unexpected type '${d.type}'`)}return p(),{...e,value:u,length:i,queue:n};function o(d){u+=" ".repeat(d),i+=r.tabWidth*d}function l(d){u+=" ".repeat(d),i+=d}function c(){r.useTabs?D():p()}function D(){a>0&&o(a),h()}function p(){s>0&&l(s),h()}function h(){a=0,s=0}}function wr(e){let t=0,r=0,n=e.length;e:for(;n--;){let u=e[n];if(u===Je){r++;continue}for(let i=u.length-1;i>=0;i--){let a=u[i];if(a===" "||a===" ")t++;else{e[n]=u.slice(0,i+1);break e}}}if(t>0||r>0)for(e.length=n+1;r-- >0;)e.push(Je);return t}function Dt(e,t,r,n,u,i){if(r===Number.POSITIVE_INFINITY)return!0;let a=t.length,s=[e],o=[];for(;r>=0;){if(s.length===0){if(a===0)return!0;s.push(t[--a]);continue}let{mode:l,doc:c}=s.pop();switch(ke(c)){case Se:o.push(c),r-=Zr(c);break;case pe:case j:{let D=Pc(c);for(let p=D.length-1;p>=0;p--)s.push({mode:l,doc:D[p]});break}case te:case re:case ue:case Q:s.push({mode:l,doc:c.contents});break;case ne:r+=wr(o);break;case P:{if(i&&c.break)return!1;let D=c.break?N:l,p=c.expandedStates&&D===N?k(!1,c.expandedStates,-1):c.contents;s.push({mode:D,doc:p});break}case M:{let D=(c.groupId?u[c.groupId]||Y:l)===N?c.breakContents:c.flatContents;D&&s.push({mode:l,doc:D});break}case B:if(l===N||c.hard)return!0;c.soft||(o.push(" "),r--);break;case ie:n=!0;break;case ae:if(n)return!1;break}}return!1}function Zt(e,t){let r={},n=t.printWidth,u=Qr(t.endOfLine),i=0,a=[{ind:vi(),mode:N,doc:e}],s=[],o=!1,l=[],c=0;for(Mc(e);a.length>0;){let{ind:p,mode:h,doc:d}=a.pop();switch(ke(d)){case Se:{let m=u!==` +`?Yt(!1,d,` +`,u):d;s.push(m),a.length>0&&(i+=Zr(m));break}case pe:for(let m=d.length-1;m>=0;m--)a.push({ind:p,mode:h,doc:d[m]});break;case Ae:if(c>=2)throw new Error("There are too many 'cursor' in doc.");s.push(Je),c++;break;case te:a.push({ind:zc(p,t),mode:h,doc:d.contents});break;case re:a.push({ind:Gc(p,d.n,t),mode:h,doc:d.contents});break;case ne:i-=wr(s);break;case P:switch(h){case Y:if(!o){a.push({ind:p,mode:d.break?N:Y,doc:d.contents});break}case N:{o=!1;let m={ind:p,mode:Y,doc:d.contents},g=n-i,F=l.length>0;if(!d.break&&Dt(m,a,g,F,r))a.push(m);else if(d.expandedStates){let f=k(!1,d.expandedStates,-1);if(d.break){a.push({ind:p,mode:N,doc:f});break}else for(let C=1;C=d.expandedStates.length){a.push({ind:p,mode:N,doc:f});break}else{let y=d.expandedStates[C],v={ind:p,mode:Y,doc:y};if(Dt(v,a,g,F,r)){a.push(v);break}}}else a.push({ind:p,mode:N,doc:d.contents});break}}d.id&&(r[d.id]=k(!1,a,-1).mode);break;case j:{let m=n-i,{parts:g}=d;if(g.length===0)break;let[F,f]=g,C={ind:p,mode:Y,doc:F},y={ind:p,mode:N,doc:F},v=Dt(C,[],m,l.length>0,r,!0);if(g.length===1){v?a.push(C):a.push(y);break}let w={ind:p,mode:Y,doc:f},S={ind:p,mode:N,doc:f};if(g.length===2){v?a.push(w,C):a.push(S,y);break}g.splice(0,2);let x={ind:p,mode:h,doc:pi(g)},K=g[0];Dt({ind:p,mode:Y,doc:[F,f,K]},[],m,l.length>0,r,!0)?a.push(x,w,C):v?a.push(x,S,C):a.push(x,S,y);break}case M:case ue:{let m=d.groupId?r[d.groupId]:h;if(m===N){let g=d.type===M?d.breakContents:d.negate?d.contents:_t(d.contents);g&&a.push({ind:p,mode:h,doc:g})}if(m===Y){let g=d.type===M?d.flatContents:d.negate?_t(d.contents):d.contents;g&&a.push({ind:p,mode:h,doc:g})}break}case ie:l.push({ind:p,mode:h,doc:d.contents});break;case ae:l.length>0&&a.push({ind:p,mode:h,doc:Xr});break;case B:switch(h){case Y:if(d.hard)o=!0;else{d.soft||(s.push(" "),i+=1);break}case N:if(l.length>0){a.push({ind:p,mode:h,doc:d},...l.reverse()),l.length=0;break}d.literal?p.root?(s.push(u,p.root.value),i=p.root.length):(s.push(u),i=0):(i-=wr(s),s.push(u+p.value),i=p.length);break}break;case Q:a.push({ind:p,mode:h,doc:d.contents});break;case $:break;default:throw new Ie(d)}a.length===0&&l.length>0&&(a.push(...l.reverse()),l.length=0)}let D=s.indexOf(Je);if(D!==-1){let p=s.indexOf(Je,D+1),h=s.slice(0,D).join(""),d=s.slice(D+1,p).join(""),m=s.slice(p+1).join("");return{formatted:h+d+m,cursorNodeStart:h.length,cursorNodeText:d}}return{formatted:s.join("")}}function Z(e){var t;if(!e)return"";if(Array.isArray(e)){let r=[];for(let n of e)if(Array.isArray(n))r.push(...Z(n));else{let u=Z(n);u!==""&&r.push(u)}return r}return e.type===M?{...e,breakContents:Z(e.breakContents),flatContents:Z(e.flatContents)}:e.type===P?{...e,contents:Z(e.contents),expandedStates:(t=e.expandedStates)==null?void 0:t.map(Z)}:e.type===j?{type:"fill",parts:e.parts.map(Z)}:e.contents?{...e,contents:Z(e.contents)}:e}function Kc(e){let t=Object.create(null),r=new Set;return n(Z(e));function n(i,a,s){var o,l;if(typeof i=="string")return JSON.stringify(i);if(Array.isArray(i)){let c=i.map(n).filter(Boolean);return c.length===1?c[0]:`[${c.join(", ")}]`}if(i.type===B){let c=((o=s==null?void 0:s[a+1])==null?void 0:o.type)===$;return i.literal?c?"literalline":"literallineWithoutBreakParent":i.hard?c?"hardline":"hardlineWithoutBreakParent":i.soft?"softline":"line"}if(i.type===$)return((l=s==null?void 0:s[a-1])==null?void 0:l.type)===B&&s[a-1].hard?void 0:"breakParent";if(i.type===ne)return"trim";if(i.type===te)return"indent("+n(i.contents)+")";if(i.type===re)return i.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+n(i.contents)+")":i.n<0?"dedent("+n(i.contents)+")":i.n.type==="root"?"markAsRoot("+n(i.contents)+")":"align("+JSON.stringify(i.n)+", "+n(i.contents)+")";if(i.type===M)return"ifBreak("+n(i.breakContents)+(i.flatContents?", "+n(i.flatContents):"")+(i.groupId?(i.flatContents?"":', ""')+`, { groupId: ${u(i.groupId)} }`:"")+")";if(i.type===ue){let c=[];i.negate&&c.push("negate: true"),i.groupId&&c.push(`groupId: ${u(i.groupId)}`);let D=c.length>0?`, { ${c.join(", ")} }`:"";return`indentIfBreak(${n(i.contents)}${D})`}if(i.type===P){let c=[];i.break&&i.break!=="propagated"&&c.push("shouldBreak: true"),i.id&&c.push(`id: ${u(i.id)}`);let D=c.length>0?`, { ${c.join(", ")} }`:"";return i.expandedStates?`conditionalGroup([${i.expandedStates.map(p=>n(p)).join(",")}]${D})`:`group(${n(i.contents)}${D})`}if(i.type===j)return`fill([${i.parts.map(c=>n(c)).join(", ")}])`;if(i.type===ie)return"lineSuffix("+n(i.contents)+")";if(i.type===ae)return"lineSuffixBoundary";if(i.type===Q)return`label(${JSON.stringify(i.label)}, ${n(i.contents)})`;throw new Error("Unknown doc type "+i.type)}function u(i){if(typeof i!="symbol")return JSON.stringify(String(i));if(i in t)return t[i];let a=i.description||"symbol";for(let s=0;;s++){let o=a+(s>0?` #${s}`:"");if(!r.has(o))return r.add(o),t[i]=`Symbol.for(${JSON.stringify(o)})`}}}function Jc(e,t,r=0){let n=0;for(let u=r;utypeof e=="string"||typeof e=="function",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:"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:e=>typeof e=="string"||typeof e=="object",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."}]}};function Ei({plugins:e=[],showDeprecated:t=!1}={}){let r=e.flatMap(u=>u.languages??[]),n=[];for(let u of Qc(Object.assign({},...e.map(({options:i})=>i),Yc)))!t&&u.deprecated||(Array.isArray(u.choices)&&(t||(u.choices=u.choices.filter(i=>!i.deprecated)),u.name==="parser"&&(u.choices=[...u.choices,...Xc(u.choices,r,e)])),u.pluginDefaults=Object.fromEntries(e.filter(i=>{var a;return((a=i.defaultOptions)==null?void 0:a[u.name])!==void 0}).map(i=>[i.name,i.defaultOptions[u.name]])),n.push(u));return{languages:r,options:n}}function*Xc(e,t,r){let n=new Set(e.map(u=>u.value));for(let u of t)if(u.parsers){for(let i of u.parsers)if(!n.has(i)){n.add(i);let a=r.find(o=>o.parsers&&Object.prototype.hasOwnProperty.call(o.parsers,i)),s=u.name;a!=null&&a.name&&(s+=` (plugin: ${a.name})`),yield{value:i,description:s}}}}function Qc(e){let t=[];for(let[r,n]of Object.entries(e)){let u={name:r,...n};Array.isArray(u.default)&&(u.default=k(!1,u.default,-1).value),t.push(u)}return t}var Zc=e=>String(e).split(/[/\\]/).pop();function Vn(e,t){if(!t)return;let r=Zc(t).toLowerCase();return e.find(n=>{var u,i;return((u=n.extensions)==null?void 0:u.some(a=>r.endsWith(a)))||((i=n.filenames)==null?void 0:i.some(a=>a.toLowerCase()===r))})}function ep(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 tp(e,t){let r=e.plugins.flatMap(u=>u.languages??[]),n=ep(r,t.language)??Vn(r,t.physicalFile)??Vn(r,t.file)??(t.physicalFile,void 0);return n==null?void 0:n.parsers[0]}var rp=tp,Te={key:e=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),value(e){if(e===null||typeof e!="object")return JSON.stringify(e);if(Array.isArray(e))return`[${e.map(r=>Te.value(r)).join(", ")}]`;let t=Object.keys(e);return t.length===0?"{}":`{ ${t.map(r=>`${Te.key(r)}: ${Te.value(e[r])}`).join(", ")} }`},pair:({key:e,value:t})=>Te.value({[e]:t})},Un=it(Jt(),1),np=(e,t,{descriptor:r})=>{let n=[`${Un.default.yellow(typeof e=="string"?r.key(e):r.pair(e))} is deprecated`];return t&&n.push(`we now treat it as ${Un.default.blue(typeof t=="string"?r.key(t):r.pair(t))}`),n.join("; ")+"."},Le=it(Jt(),1),bi=Symbol.for("vnopts.VALUE_NOT_EXIST"),Ft=Symbol.for("vnopts.VALUE_UNCHANGED"),zn=" ".repeat(2),up=(e,t,r)=>{let{text:n,list:u}=r.normalizeExpectedResult(r.schemas[e].expected(r)),i=[];return n&&i.push(Gn(e,t,n,r.descriptor)),u&&i.push([Gn(e,t,u.title,r.descriptor)].concat(u.values.map(a=>wi(a,r.loggerPrintWidth))).join(` +`)),Si(i,r.loggerPrintWidth)};function Gn(e,t,r,n){return[`Invalid ${Le.default.red(n.key(e))} value.`,`Expected ${Le.default.blue(r)},`,`but received ${t===bi?Le.default.gray("nothing"):Le.default.red(n.value(t))}.`].join(" ")}function wi({text:e,list:t},r){let n=[];return e&&n.push(`- ${Le.default.blue(e)}`),t&&n.push([`- ${Le.default.blue(t.title)}:`].concat(t.values.map(u=>wi(u,r-zn.length).replace(/^|\n/g,`$&${zn}`))).join(` +`)),Si(n,r)}function Si(e,t){if(e.length===1)return e[0];let[r,n]=e,[u,i]=e.map(a=>a.split(` +`,1)[0].length);return u>t&&u>i?n:r}var Kn=it(Jt(),1),lr=[],Jn=[];function ip(e,t){if(e===t)return 0;let r=e;e.length>t.length&&(e=t,t=r);let n=e.length,u=t.length;for(;n>0&&e.charCodeAt(~-n)===t.charCodeAt(~-u);)n--,u--;let i=0;for(;is?l>s?s+1:l:l>o?o+1:l;return s}var Ai=(e,t,{descriptor:r,logger:n,schemas:u})=>{let i=[`Ignored unknown option ${Kn.default.yellow(r.pair({key:e,value:t}))}.`],a=Object.keys(u).sort().find(s=>ip(e,s)<3);a&&i.push(`Did you mean ${Kn.default.blue(r.key(a))}?`),n.warn(i.join(" "))},ap=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function sp(e,t){let r=new e(t),n=Object.create(r);for(let u of ap)u in t&&(n[u]=op(t[u],r,De.prototype[u].length));return n}var De=class{static create(e){return sp(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 Ft}};function op(e,t,r){return typeof e=="function"?(...n)=>e(...n.slice(0,r-1),t,...n.slice(r-1)):()=>e}var lp=class extends De{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}},cp=class extends De{expected(){return"anything"}validate(){return!0}},pp=class extends De{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 u=t.normalizeValidateResult(this._valueSchema.validate(n,t),n);u!==!0&&r.push(u.value)}return r.length===0?!0:{value:r}}deprecated(e,t){let r=[];for(let n of e){let u=t.normalizeDeprecatedResult(this._valueSchema.deprecated(n,t),n);u!==!1&&r.push(...u.map(({value:i})=>({value:[i]})))}return r}forward(e,t){let r=[];for(let n of e){let u=t.normalizeForwardResult(this._valueSchema.forward(n,t),n);r.push(...u.map(Yn))}return r}redirect(e,t){let r=[],n=[];for(let u of e){let i=t.normalizeRedirectResult(this._valueSchema.redirect(u,t),u);"remain"in i&&r.push(i.remain),n.push(...i.redirect.map(Yn))}return r.length===0?{redirect:n}:{redirect:n,remain:r}}overlap(e,t){return e.concat(t)}};function Yn({from:e,to:t}){return{from:[e],to:t}}var hp=class extends De{expected(){return"true or false"}validate(e){return typeof e=="boolean"}};function dp(e,t){let r=Object.create(null);for(let n of e){let u=n[t];if(r[u])throw new Error(`Duplicate ${t} ${JSON.stringify(u)}`);r[u]=n}return r}function Dp(e,t){let r=new Map;for(let n of e){let u=n[t];if(r.has(u))throw new Error(`Duplicate ${t} ${JSON.stringify(u)}`);r.set(u,n)}return r}function fp(){let e=Object.create(null);return t=>{let r=JSON.stringify(t);return e[r]?!0:(e[r]=!0,!1)}}function mp(e,t){let r=[],n=[];for(let u of e)t(u)?r.push(u):n.push(u);return[r,n]}function gp(e){return e===Math.floor(e)}function Cp(e,t){if(e===t)return 0;let r=typeof e,n=typeof t,u=["undefined","object","boolean","number","string"];return r!==n?u.indexOf(r)-u.indexOf(n):r!=="string"?Number(e)-Number(t):e.localeCompare(t)}function Fp(e){return(...t)=>{let r=e(...t);return typeof r=="string"?new Error(r):r}}function Xn(e){return e===void 0?{}:e}function ki(e){if(typeof e=="string")return{text:e};let{text:t,list:r}=e;return vp((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(ki)}}:{text:t}}function Qn(e,t){return e===!0?!0:e===!1?{value:t}:e}function Zn(e,t,r=!1){return e===!1?!1:e===!0?r?!0:[{value:t}]:"value"in e?[e]:e.length===0?!1:e}function eu(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 Sr(e,t){return e===void 0?[]:Array.isArray(e)?e.map(r=>eu(r,t)):[eu(e,t)]}function tu(e,t){let r=Sr(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 vp(e,t){if(!e)throw new Error(t)}var yp=class extends De{constructor(e){super(e),this._choices=Dp(e.choices.map(t=>t&&typeof t=="object"?t:{value:t}),"value")}expected({descriptor:e}){let t=Array.from(this._choices.keys()).map(u=>this._choices.get(u)).filter(({hidden:u})=>!u).map(u=>u.value).sort(Cp).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}},Ep=class extends De{expected(){return"a number"}validate(e,t){return typeof e=="number"}},bp=class extends Ep{expected(){return"an integer"}validate(e,t){return t.normalizeValidateResult(super.validate(e,t),e)===!0&&gp(e)}},ru=class extends De{expected(){return"a string"}validate(e){return typeof e=="string"}},wp=Te,Sp=Ai,Ap=up,kp=np,_p=class{constructor(e,t){let{logger:r=console,loggerPrintWidth:n=80,descriptor:u=wp,unknown:i=Sp,invalid:a=Ap,deprecated:s=kp,missing:o=()=>!1,required:l=()=>!1,preprocess:c=p=>p,postprocess:D=()=>Ft}=t||{};this._utils={descriptor:u,logger:r||{warn:()=>{}},loggerPrintWidth:n,schemas:dp(e,"name"),normalizeDefaultResult:Xn,normalizeExpectedResult:ki,normalizeDeprecatedResult:Zn,normalizeForwardResult:Sr,normalizeRedirectResult:tu,normalizeValidateResult:Qn},this._unknownHandler=i,this._invalidHandler=Fp(a),this._deprecatedHandler=s,this._identifyMissing=(p,h)=>!(p in h)||o(p,h),this._identifyRequired=l,this._preprocess=c,this._postprocess=D,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=fp()}normalize(e){let t={},r=[this._preprocess(e,this._utils)],n=()=>{for(;r.length!==0;){let u=r.shift(),i=this._applyNormalization(u,t);r.push(...i)}};n();for(let u of Object.keys(this._utils.schemas)){let i=this._utils.schemas[u];if(!(u in t)){let a=Xn(i.default(this._utils));"value"in a&&r.push({[u]:a.value})}}n();for(let u of Object.keys(this._utils.schemas)){if(!(u in t))continue;let i=this._utils.schemas[u],a=t[u],s=i.postprocess(a,this._utils);s!==Ft&&(this._applyValidation(s,u,i),t[u]=s)}return this._applyPostprocess(t),this._applyRequiredCheck(t),t}_applyNormalization(e,t){let r=[],{knownKeys:n,unknownKeys:u}=this._partitionOptionKeys(e);for(let i of n){let a=this._utils.schemas[i],s=a.preprocess(e[i],this._utils);this._applyValidation(s,i,a);let o=({from:D,to:p})=>{r.push(typeof p=="string"?{[p]:D}:{[p.key]:p.value})},l=({value:D,redirectTo:p})=>{let h=Zn(a.deprecated(D,this._utils),s,!0);if(h!==!1)if(h===!0)this._hasDeprecationWarned(i)||this._utils.logger.warn(this._deprecatedHandler(i,p,this._utils));else for(let{value:d}of h){let m={key:i,value:d};if(!this._hasDeprecationWarned(m)){let g=typeof p=="string"?{key:p,value:d}:p;this._utils.logger.warn(this._deprecatedHandler(m,g,this._utils))}}};Sr(a.forward(s,this._utils),s).forEach(o);let c=tu(a.redirect(s,this._utils),s);if(c.redirect.forEach(o),"remain"in c){let D=c.remain;t[i]=i in t?a.overlap(t[i],D,this._utils):D,l({value:D})}for(let{from:D,to:p}of c.redirect)l({value:D,redirectTo:p})}for(let i of u){let a=e[i];this._applyUnknownHandler(i,a,t,(s,o)=>{r.push({[s]:o})})}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,bi,this._utils)}_partitionOptionKeys(e){let[t,r]=mp(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=Qn(r.validate(e,this._utils),e);if(n!==!0)throw this._invalidHandler(t,n.value,this._utils)}_applyUnknownHandler(e,t,r,n){let u=this._unknownHandler(e,t,this._utils);if(u)for(let i of Object.keys(u)){if(this._identifyMissing(i,u))continue;let a=u[i];i in this._utils.schemas?n(i,a):r[i]=a}}_applyPostprocess(e){let t=this._postprocess(e,this._utils);if(t!==Ft){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 u of r){let i=t.override[u];this._applyValidation(i,u,this._utils.schemas[u]),e[u]=i}for(let u of n){let i=t.override[u];this._applyUnknownHandler(u,i,e,(a,s)=>{let o=this._utils.schemas[a];this._applyValidation(s,a,o),e[a]=s})}}}}},cr;function Bp(e,t,{logger:r=!1,isCLI:n=!1,passThrough:u=!1,FlagSchema:i,descriptor:a}={}){if(n){if(!i)throw new Error("'FlagSchema' option is required.");if(!a)throw new Error("'descriptor' option is required.")}else a=Te;let s=u?Array.isArray(u)?(p,h)=>u.includes(p)?{[p]:h}:void 0:(p,h)=>({[p]:h}):(p,h,d)=>{let{_:m,...g}=d.schemas;return Ai(p,h,{...d,schemas:g})},o=xp(t,{isCLI:n,FlagSchema:i}),l=new _p(o,{logger:r,unknown:s,descriptor:a}),c=r!==!1;c&&cr&&(l._hasDeprecationWarned=cr);let D=l.normalize(e);return c&&(cr=l._hasDeprecationWarned),D}function xp(e,{isCLI:t,FlagSchema:r}){let n=[];t&&n.push(cp.create({name:"_"}));for(let u of e)n.push(Tp(u,{isCLI:t,optionInfos:e,FlagSchema:r})),u.alias&&t&&n.push(lp.create({name:u.alias,sourceName:u.name}));return n}function Tp(e,{isCLI:t,optionInfos:r,FlagSchema:n}){let{name:u}=e,i={name:u},a,s={};switch(e.type){case"int":a=bp,t&&(i.preprocess=Number);break;case"string":a=ru;break;case"choice":a=yp,i.choices=e.choices.map(o=>o!=null&&o.redirect?{...o,redirect:{to:{key:e.name,value:o.redirect}}}:o);break;case"boolean":a=hp;break;case"flag":a=n,i.flags=r.flatMap(o=>[o.alias,o.description&&o.name,o.oppositeDescription&&`no-${o.name}`].filter(Boolean));break;case"path":a=ru;break;default:throw new Error(`Unexpected type ${e.type}`)}if(e.exception?i.validate=(o,l,c)=>e.exception(o)||l.validate(o,c):i.validate=(o,l,c)=>o===void 0||l.validate(o,c),e.redirect&&(s.redirect=o=>o?{to:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(s.deprecated=!0),t&&!e.array){let o=i.preprocess||(l=>l);i.preprocess=(l,c,D)=>c.preprocess(o(Array.isArray(l)?k(!1,l,-1):l),D)}return e.array?pp.create({...t?{preprocess:o=>Array.isArray(o)?o:[o]}:{},...s,valueSchema:a.create(i)}):a.create({...i,...s})}var Lp=Bp;function _i(e,t){if(!t)throw new Error("parserName is required.");for(let n=e.length-1;n>=0;n--){let u=e[n];if(u.parsers&&Object.prototype.hasOwnProperty.call(u.parsers,t))return u}let r=`Couldn't resolve parser "${t}".`;throw r+=" Plugins must be explicitly added to the standalone bundle.",new yi(r)}function Np(e,t){if(!t)throw new Error("astFormat is required.");for(let n=e.length-1;n>=0;n--){let u=e[n];if(u.printers&&Object.prototype.hasOwnProperty.call(u.printers,t))return u}let r=`Couldn't find plugin for AST format "${t}".`;throw r+=" Plugins must be explicitly added to the standalone bundle.",new yi(r)}function Bi({plugins:e,parser:t}){let r=_i(e,t);return xi(r,t)}function xi(e,t){let r=e.parsers[t];return typeof r=="function"?r():r}function qp(e,t){let r=e.printers[t];return typeof r=="function"?r():r}var nu={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};async function Pp(e,t={}){var r;let n={...e};if(!n.parser)if(n.filepath){if(n.parser=rp(n,{physicalFile:n.filepath}),!n.parser)throw new Wn(`No parser could be inferred for file "${n.filepath}".`)}else throw new Wn("No parser and no file path given, couldn't infer a parser.");let u=Ei({plugins:e.plugins,showDeprecated:!0}).options,i={...nu,...Object.fromEntries(u.filter(p=>p.default!==void 0).map(p=>[p.name,p.default]))},a=_i(n.plugins,n.parser),s=await xi(a,n.parser);n.astFormat=s.astFormat,n.locEnd=s.locEnd,n.locStart=s.locStart;let o=(r=a.printers)!=null&&r[s.astFormat]?a:Np(n.plugins,s.astFormat),l=await qp(o,s.astFormat);n.printer=l;let c=o.defaultOptions?Object.fromEntries(Object.entries(o.defaultOptions).filter(([,p])=>p!==void 0)):{},D={...i,...c};for(let[p,h]of Object.entries(D))(n[p]===null||n[p]===void 0)&&(n[p]=h);return n.parser==="json"&&(n.trailingComma="none"),Lp(n,u,{passThrough:Object.keys(nu),...t})}var He=Pp,Ti=new Set(["tokens","comments","parent","enclosingNode","precedingNode","followingNode"]),Ip=e=>Object.keys(e).filter(t=>!Ti.has(t));function Op(e){return e?t=>e(t,Ti):Ip}var er=Op;function Mp(e,t){let{printer:{massageAstNode:r,getVisitorKeys:n}}=t;if(!r)return e;let u=er(n),i=r.ignoredProperties??new Set;return a(e);function a(s,o){if(!(s!==null&&typeof s=="object"))return s;if(Array.isArray(s))return s.map(p=>a(p,o)).filter(Boolean);let l={},c=new Set(u(s));for(let p in s)!Object.prototype.hasOwnProperty.call(s,p)||i.has(p)||(c.has(p)?l[p]=a(s[p],s):l[p]=s[p]);let D=r(s,l,o);if(D!==null)return D??l}}var Rp=Mp,Hp=it(ac(),1);async function jp(e,t){let r=await Bi(t),n=r.preprocess?r.preprocess(e,t):e;t.originalText=n;let u;try{u=await r.parse(n,t,t)}catch(i){$p(i,e)}return{text:n,ast:u}}function $p(e,t){let{loc:r}=e;if(r){let n=(0,Hp.codeFrameColumns)(t,r,{highlightCode:!0});throw e.message+=` +`+n,e.codeFrame=n,e}throw e}var at=jp,vt,Ar,ze,yt,Wp=class{constructor(e){Rn(this,vt),Rn(this,ze),this.stack=[e]}get key(){let{stack:e,siblings:t}=this;return k(!1,e,t===null?-2:-4)??null}get index(){return this.siblings===null?null:k(!1,this.stack,-2)}get node(){return k(!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=k(!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[...Ve(this,ze,yt).call(this)]}getName(){let{stack:e}=this,{length:t}=e;return t>1?k(!1,e,-2):null}getValue(){return k(!1,this.stack,-1)}getNode(e=0){let t=Ve(this,vt,Ar).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,u=k(!1,r,-1);for(let i of t)u=u[i],r.push(i,u);try{return e(this)}finally{r.length=n}}callParent(e,t=0){let r=Ve(this,vt,Ar).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,u=k(!1,r,-1);for(let i of t)u=u[i],r.push(i,u);try{for(let i=0;i{r[u]=e(n,u,i)},...t),r}match(...e){let t=this.stack.length-1,r=null,n=this.stack[t--];for(let u of e){if(n===void 0)return!1;let i=null;if(typeof r=="number"&&(i=r,r=this.stack[t--],n=this.stack[t--]),u&&!u(n,r,i))return!1;r=this.stack[t--],n=this.stack[t--]}return!0}findAncestor(e){for(let t of Ve(this,ze,yt).call(this))if(e(t))return t}hasAncestor(e){for(let t of Ve(this,ze,yt).call(this))if(e(t))return!0;return!1}};vt=new WeakSet,Ar=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},ze=new WeakSet,yt=function*(){let{stack:e}=this;for(let t=e.length-3;t>=0;t-=2){let r=e[t];Array.isArray(r)||(yield r)}};var Vp=Wp,Li=new Proxy(()=>{},{get:()=>Li}),kr=Li;function st(e){return(t,r,n)=>{let u=!!(n!=null&&n.backwards);if(r===!1)return!1;let{length:i}=t,a=r;for(;a>=0&&a0}var Jp=Kp;function Yp(e){return e!==null&&typeof e=="object"}var Xp=Yp;function*Pi(e,t){let{getVisitorKeys:r,filter:n=()=>!0}=t,u=i=>Xp(i)&&n(i);for(let i of r(e)){let a=e[i];if(Array.isArray(a))for(let s of a)u(s)&&(yield s);else u(a)&&(yield a)}}function*Qp(e,t){let r=[e];for(let n=0;n20&&(r=r.slice(0,19)+"…"),t+(r?" "+r:"")}function rn(e,t){(e.comments??(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=Zp(e)}function Ne(e,t){t.leading=!0,t.trailing=!1,rn(e,t)}function Et(e,t,r){t.leading=!1,t.trailing=!1,r&&(t.marker=r),rn(e,t)}function qe(e,t){t.leading=!1,t.trailing=!0,rn(e,t)}var pr=new WeakMap;function nn(e,t){if(pr.has(e))return pr.get(e);let{printer:{getCommentChildNodes:r,canAttachComment:n,getVisitorKeys:u},locStart:i,locEnd:a}=t;if(!n)return[];let s=((r==null?void 0:r(e,t))??[...Pi(e,{getVisitorKeys:er(u)})]).flatMap(o=>n(o)?[o]:nn(o,t));return s.sort((o,l)=>i(o)-i(l)||a(o)-a(l)),pr.set(e,s),s}function Ii(e,t,r,n){let{locStart:u,locEnd:i}=r,a=u(t),s=i(t),o=nn(e,r),l,c,D=0,p=o.length;for(;D>1,d=o[h],m=u(d),g=i(d);if(m<=a&&s<=g)return Ii(d,t,r,d);if(g<=a){l=d,D=h+1;continue}if(s<=m){c=d,p=h;continue}throw new Error("Comment location overlaps with node location")}if((n==null?void 0:n.type)==="TemplateLiteral"){let{quasis:h}=n,d=dr(h,t,r);l&&dr(h,l,r)!==d&&(l=null),c&&dr(h,c,r)!==d&&(c=null)}return{enclosingNode:n,precedingNode:l,followingNode:c}}var hr=()=>!1;function e2(e,t){let{comments:r}=e;if(delete e.comments,!Jp(r)||!t.printer.canAttachComment)return;let n=[],{locStart:u,locEnd:i,printer:{experimentalFeatures:{avoidAstMutation:a=!1}={},handleComments:s={}},originalText:o}=t,{ownLine:l=hr,endOfLine:c=hr,remaining:D=hr}=s,p=r.map((h,d)=>({...Ii(e,h,t),comment:h,text:o,options:t,ast:e,isLastComment:r.length-1===d}));for(let[h,d]of p.entries()){let{comment:m,precedingNode:g,enclosingNode:F,followingNode:f,text:C,options:y,ast:v,isLastComment:w}=d;if(y.parser==="json"||y.parser==="json5"||y.parser==="__js_expression"||y.parser==="__ts_expression"||y.parser==="__vue_expression"||y.parser==="__vue_ts_expression"){if(u(m)-u(v)<=0){Ne(v,m);continue}if(i(m)-i(v)>=0){qe(v,m);continue}}let S;if(a?S=[d]:(m.enclosingNode=F,m.precedingNode=g,m.followingNode=f,S=[m,C,y,v,w]),t2(C,y,p,h))m.placement="ownLine",l(...S)||(f?Ne(f,m):g?qe(g,m):Et(F||v,m));else if(r2(C,y,p,h))m.placement="endOfLine",c(...S)||(g?qe(g,m):f?Ne(f,m):Et(F||v,m));else if(m.placement="remaining",!D(...S))if(g&&f){let x=n.length;x>0&&n[x-1].followingNode!==f&&uu(n,y),n.push(d)}else g?qe(g,m):f?Ne(f,m):Et(F||v,m)}if(uu(n,t),!a)for(let h of r)delete h.precedingNode,delete h.enclosingNode,delete h.followingNode}var Oi=e=>!/[\S\n\u2028\u2029]/.test(e);function t2(e,t,r,n){let{comment:u,precedingNode:i}=r[n],{locStart:a,locEnd:s}=t,o=a(u);if(i)for(let l=n-1;l>=0;l--){let{comment:c,precedingNode:D}=r[l];if(D!==i||!Oi(e.slice(s(c),o)))break;o=a(c)}return le(e,o,{backwards:!0})}function r2(e,t,r,n){let{comment:u,followingNode:i}=r[n],{locStart:a,locEnd:s}=t,o=s(u);if(i)for(let l=n+1;l0;--o){let{comment:l,precedingNode:c,followingNode:D}=e[o-1];kr.strictEqual(c,i),kr.strictEqual(D,a);let p=t.originalText.slice(t.locEnd(l),s);if(((n=(r=t.printer).isGap)==null?void 0:n.call(r,p,t))??/^[\s(]*$/.test(p))s=t.locStart(l);else break}for(let[l,{comment:c}]of e.entries())l1&&l.comments.sort((c,D)=>t.locStart(c)-t.locStart(D));e.length=0}function dr(e,t,r){let n=r.locStart(t)-1;for(let u=1;u!n.has(s)).length===0)return{leading:"",trailing:""};let u=[],i=[],a;return e.each(()=>{let s=e.node;if(n!=null&&n.has(s))return;let{leading:o,trailing:l}=s;o?u.push(u2(e,t)):l&&(a=i2(e,t,a),i.push(a.doc))},"comments"),{leading:u,trailing:i}}function s2(e,t,r){let{leading:n,trailing:u}=a2(e,r);return!n&&!u?t:Fi(t,i=>[n,i,u])}function o2(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}}async function l2(e,t,r,n,u){let{embeddedLanguageFormatting:i,printer:{embed:a,hasPrettierIgnore:s=()=>!1,getVisitorKeys:o}}=r;if(!a||i!=="auto")return;if(a.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 l=er(a.getVisitorKeys??o),c=[];h();let D=e.stack;for(let{print:d,node:m,pathStack:g}of c)try{e.stack=g;let F=await d(p,t,e,r);F&&u.set(m,F)}catch(F){if(globalThis.PRETTIER_DEBUG)throw F}e.stack=D;function p(d,m){return c2(d,m,r,n)}function h(){let{node:d}=e;if(d===null||typeof d!="object"||s(e))return;for(let g of l(d))Array.isArray(d[g])?e.each(h,g):e.call(h,g);let m=a(e,r);if(m){if(typeof m=="function"){c.push({print:m,node:d,pathStack:[...e.stack]});return}u.set(d,m)}}}async function c2(e,t,r,n){let u=await He({...r,...t,parentParser:r.parser,originalText:e},{passThrough:!0}),{ast:i}=await at(e,u),a=await n(i,u);return Ci(a)}function p2(e,t){let{originalText:r,[Symbol.for("comments")]:n,locStart:u,locEnd:i,[Symbol.for("printedComments")]:a}=t,{node:s}=e,o=u(s),l=i(s);for(let c of n)u(c)>=o&&i(c)<=l&&a.add(c);return r.slice(o,l)}var h2=p2;async function tr(e,t){({ast:e}=await Ri(e,t));let r=new Map,n=new Vp(e),u=new Map;await l2(n,a,t,tr,u);let i=await iu(n,t,a,void 0,u);return o2(t),i;function a(o,l){return o===void 0||o===n?s(l):Array.isArray(o)?n.call(()=>s(l),...o):n.call(()=>s(l),o)}function s(o){let l=n.node;if(l==null)return"";let c=l&&typeof l=="object"&&o===void 0;if(c&&r.has(l))return r.get(l);let D=iu(n,t,a,o,u);return c&&r.set(l,D),D}}function iu(e,t,r,n,u){var i;let{node:a}=e,{printer:s}=t,o;return(i=s.hasPrettierIgnore)!=null&&i.call(s,e)?o=h2(e,t):u.has(a)?o=u.get(a):o=s.print(e,t,r,n),a===t.cursorNode&&(o=Fi(o,l=>[Er,l,Er])),s.printComment&&(!s.willPrintOwnComments||!s.willPrintOwnComments(e,t))&&(o=s2(e,o,t)),o}async function Ri(e,t){let r=e.comments??[];t[Symbol.for("comments")]=r,t[Symbol.for("tokens")]=e.tokens??[],t[Symbol.for("printedComments")]=new Set,e2(e,t);let{printer:{preprocess:n}}=t;return e=n?await n(e,t):e,{ast:e,comments:r}}var d2=({parser:e})=>e==="json"||e==="json5"||e==="json-stringify";function D2(e,t){let r=[e.node,...e.parentNodes],n=new Set([t.node,...t.parentNodes]);return r.find(u=>Hi.has(u.type)&&n.has(u))}function au(e){let t=e.length-1;for(;;){let r=e[t];if((r==null?void 0:r.type)==="Program"||(r==null?void 0:r.type)==="File")t--;else break}return e.slice(0,t+1)}function f2(e,t,{locStart:r,locEnd:n}){let u=e.node,i=t.node;if(u===i)return{startNode:u,endNode:i};let a=r(e.node);for(let o of au(t.parentNodes))if(r(o)>=a)i=o;else break;let s=n(t.node);for(let o of au(e.parentNodes)){if(n(o)<=s)u=o;else break;if(u===i)break}return{startNode:u,endNode:i}}function _r(e,t,r,n,u=[],i){let{locStart:a,locEnd:s}=r,o=a(e),l=s(e);if(!(t>l||tn);let s=e.slice(n,u).search(/\S/),o=s===-1;if(!o)for(n+=s;u>n&&!/\S/.test(e[u-1]);--u);let l=_r(r,n,t,(h,d)=>su(t,h,d),[],"rangeStart"),c=o?l:_r(r,u,t,h=>su(t,h),[],"rangeEnd");if(!l||!c)return{rangeStart:0,rangeEnd:0};let D,p;if(d2(t)){let h=D2(l,c);D=h,p=h}else({startNode:D,endNode:p}=f2(l,c,t));return{rangeStart:Math.min(i(D),i(p)),rangeEnd:Math.max(a(D),a(p))}}function F2(e,t){let{cursorOffset:r,locStart:n,locEnd:u}=t,i=er(t.printer.getVisitorKeys),a=o=>n(o)<=r&&u(o)>=r,s=e;for(let o of Qp(e,{getVisitorKeys:i,filter:a}))s=o;return s}var v2=F2,ji="\uFEFF",ou=Symbol("cursor");async function $i(e,t,r=0){if(!e||e.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:n,text:u}=await at(e,t);t.cursorOffset>=0&&(t.cursorNode=v2(n,t));let i=await tr(n,t);r>0&&(i=mi([Ce,i],r,t.tabWidth));let a=Zt(i,t);if(r>0){let o=a.formatted.trim();a.cursorNodeStart!==void 0&&(a.cursorNodeStart-=a.formatted.indexOf(o)),a.formatted=o+Qr(t.endOfLine)}let s=t[Symbol.for("comments")];if(t.cursorOffset>=0){let o,l,c,D,p;if(t.cursorNode&&a.cursorNodeText?(o=t.locStart(t.cursorNode),l=u.slice(o,t.locEnd(t.cursorNode)),c=t.cursorOffset-o,D=a.cursorNodeStart,p=a.cursorNodeText):(o=0,l=u,c=t.cursorOffset,D=0,p=a.formatted),l===p)return{formatted:a.formatted,cursorOffset:D+c,comments:s};let h=l.split("");h.splice(c,0,ou);let d=p.split(""),m=(0,oc.diffArrays)(h,d),g=D;for(let F of m)if(F.removed){if(F.value.includes(ou))break}else g+=F.count;return{formatted:a.formatted,cursorOffset:g,comments:s}}return{formatted:a.formatted,cursorOffset:-1,comments:s}}async function y2(e,t){let{ast:r,text:n}=await at(e,t),{rangeStart:u,rangeEnd:i}=C2(n,t,r),a=n.slice(u,i),s=Math.min(u,n.lastIndexOf(` +`,u)+1),o=n.slice(s,u).match(/^\s*/)[0],l=tn(o,t.tabWidth),c=await $i(a,{...t,rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:t.cursorOffset>u&&t.cursorOffset<=i?t.cursorOffset-u:-1,endOfLine:"lf"},l),D=c.formatted.trimEnd(),{cursorOffset:p}=t;p>i?p+=D.length-a.length:c.cursorOffset>=0&&(p=c.cursorOffset+u);let h=n.slice(0,u)+D+n.slice(i);if(t.endOfLine!=="lf"){let d=Qr(t.endOfLine);p>=0&&d===`\r +`&&(p+=gi(h.slice(0,p),` +`)),h=Yt(!1,h,` +`,d)}return{formatted:h,cursorOffset:p,comments:c.comments}}function Dr(e,t,r){return typeof t!="number"||Number.isNaN(t)||t<0||t>e.length?r:t}function lu(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:u}=t;return r=Dr(e,r,-1),n=Dr(e,n,0),u=Dr(e,u,e.length),{...t,cursorOffset:r,rangeStart:n,rangeEnd:u}}function Wi(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:u,endOfLine:i}=lu(e,t),a=e.charAt(0)===ji;if(a&&(e=e.slice(1),r--,n--,u--),i==="auto"&&(i=kc(e)),e.includes("\r")){let s=o=>gi(e.slice(0,Math.max(o,0)),`\r +`);r-=s(r),n-=s(n),u-=s(u),e=_c(e)}return{hasBOM:a,text:e,options:lu(e,{...t,cursorOffset:r,rangeStart:n,rangeEnd:u,endOfLine:i})}}async function cu(e,t){let r=await Bi(t);return!r.hasPragma||r.hasPragma(e)}async function Vi(e,t){let{hasBOM:r,text:n,options:u}=Wi(e,await He(t));if(u.rangeStart>=u.rangeEnd&&n!==""||u.requirePragma&&!await cu(n,u))return{formatted:e,cursorOffset:t.cursorOffset,comments:[]};let i;return u.rangeStart>0||u.rangeEnd=0&&i.cursorOffset++),i}async function E2(e,t,r){let{text:n,options:u}=Wi(e,await He(t)),i=await at(n,u);return r&&(r.preprocessForPrint&&(i.ast=await Ri(i.ast,u)),r.massage&&(i.ast=Rp(i.ast,u))),i}async function b2(e,t){t=await He(t);let r=await tr(e,t);return Zt(r,t)}async function w2(e,t){let r=Kc(e),{formatted:n}=await Vi(r,{...t,parser:"__js_expression"});return n}async function S2(e,t){t=await He(t);let{ast:r}=await at(e,t);return tr(r,t)}async function A2(e,t){return Zt(e,await He(t))}var Ui={};Kt(Ui,{addDanglingComment:()=>Et,addLeadingComment:()=>Ne,addTrailingComment:()=>qe,getAlignmentSize:()=>tn,getIndentSize:()=>P2,getMaxContinuousCount:()=>N2,getNextNonSpaceNonCommentCharacter:()=>j2,getNextNonSpaceNonCommentCharacterIndex:()=>U2,getStringWidth:()=>Zr,hasNewline:()=>le,hasNewlineInRange:()=>O2,hasSpaces:()=>R2,isNextLineEmpty:()=>J2,isNextLineEmptyAfterIndex:()=>ln,isPreviousLineEmpty:()=>G2,makeString:()=>W2,skip:()=>st,skipEverythingButNewLine:()=>qi,skipInlineComment:()=>an,skipNewline:()=>Ee,skipSpaces:()=>he,skipToLineEnd:()=>Ni,skipTrailingComment:()=>sn,skipWhitespace:()=>Up});function k2(e,t){if(t===!1)return!1;if(e.charAt(t)==="/"&&e.charAt(t+1)==="*"){for(let r=t+2;rMath.max(n,u.length/t.length),0)}var N2=L2;function q2(e,t){let r=e.lastIndexOf(` +`);return r===-1?0:tn(e.slice(r+1).match(/^[\t ]*/)[0],t)}var P2=q2;function I2(e,t,r){for(let n=t;na===n?a:s===t?"\\"+s:s||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(a)?a:"\\"+a));return t+u+t}var W2=$2;function V2(e,t,r){return on(e,r(t))}function U2(e,t){return arguments.length===2||typeof t=="number"?on(e,t):V2(...arguments)}function z2(e,t,r){return un(e,r(t))}function G2(e,t){return arguments.length===2||typeof t=="number"?un(e,t):z2(...arguments)}function K2(e,t,r){return ln(e,r(t))}function J2(e,t){return arguments.length===2||typeof t=="number"?ln(e,t):K2(...arguments)}var zi={};Kt(zi,{builders:()=>Y2,printer:()=>X2,utils:()=>Q2});var Y2={join:fi,line:di,softline:wc,hardline:Ce,literalline:Di,group:ci,conditionalGroup:Fc,fill:pi,lineSuffix:yr,lineSuffixBoundary:Ec,cursor:Er,breakParent:Xt,ifBreak:vc,trim:bc,indent:_t,indentIfBreak:yc,align:Oe,addAlignmentToDoc:mi,markAsRoot:gc,dedentToRoot:mc,dedent:Cc,hardlineWithoutBreakParent:Xr,literallineWithoutBreakParent:hi,label:Sc,concat:e=>e},X2={printDocToString:Zt},Q2={willBreak:Oc,traverseDoc:Yr,findInDoc:en,mapDoc:Qt,removeLines:Hc,stripTrailingHardline:Ci,replaceEndOfLine:Wc,canBreak:Uc},Z2="3.1.1";function me(e,t=1){return async(...r)=>{let n=r[t]??{},u=n.plugins??[];return r[t]={...n,plugins:Array.isArray(u)?u:Object.values(u)},e(...r)}}var Gi=me(Vi);async function Ki(e,t){let{formatted:r}=await Gi(e,{...t,cursorOffset:-1});return r}async function eh(e,t){return await Ki(e,t)===e}var th=me(Ei,0),rh={parse:me(E2),formatAST:me(b2),formatDoc:me(w2),printToDoc:me(S2),printDocToString:me(A2)},nh=oi;function uh(e){for(var t=[],r=1;re===!1?t:e==="dedent"||e===!0?uh(t):(await nh.format(t,{parser:e,plugins:[Kl],htmlWhitespaceSensitivity:"ignore"})).trim());export{Dh as formatter}; diff --git a/assets/formatter-SWP5E3XI-OuMpVto0.js b/assets/formatter-SWP5E3XI-OuMpVto0.js deleted file mode 100644 index 2073e151..00000000 --- a/assets/formatter-SWP5E3XI-OuMpVto0.js +++ /dev/null @@ -1,156 +0,0 @@ -import{_ as ea,m as pl,b as ta}from"./index-4RSmxb3z.js";import"./iframe-uScXI0l2.js";import"../sb-preview/runtime.js";import"./index-4g5l5LRQ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./index-jmm5gWkb.js";import"./index-ogXoivrg.js";import"./index-MVbLLYTZ.js";import"./index-PPLHz8o0.js";var cl=ta({"node_modules/prettier/parser-html.js"(Jr,Xr){(function(Ae){if(typeof Jr=="object"&&typeof Xr=="object")Xr.exports=Ae();else if(typeof define=="function"&&define.amd)define(Ae);else{var Yt=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof self<"u"?self:this||{};Yt.prettierPlugins=Yt.prettierPlugins||{},Yt.prettierPlugins.html=Ae()}})(function(){var Ae=(ot,Ne)=>()=>(Ne||ot((Ne={exports:{}}).exports,Ne),Ne.exports),Yt=Ae((ot,Ne)=>{var Se=function(Oe){return Oe&&Oe.Math==Math&&Oe};Ne.exports=Se(typeof globalThis=="object"&&globalThis)||Se(typeof window=="object"&&window)||Se(typeof self=="object"&&self)||Se(typeof global=="object"&&global)||function(){return this}()||Function("return this")()}),hr=Ae((ot,Ne)=>{Ne.exports=function(Se){try{return!!Se()}catch{return!0}}}),br=Ae((ot,Ne)=>{var Se=hr();Ne.exports=!Se(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),Hr=Ae((ot,Ne)=>{var Se=hr();Ne.exports=!Se(function(){var Oe=(function(){}).bind();return typeof Oe!="function"||Oe.hasOwnProperty("prototype")})}),gr=Ae((ot,Ne)=>{var Se=Hr(),Oe=Function.prototype.call;Ne.exports=Se?Oe.bind(Oe):function(){return Oe.apply(Oe,arguments)}}),Dn=Ae(ot=>{var Ne={}.propertyIsEnumerable,Se=Object.getOwnPropertyDescriptor,Oe=Se&&!Ne.call({1:2},1);ot.f=Oe?function(ee){var V=Se(this,ee);return!!V&&V.enumerable}:Ne}),Lr=Ae((ot,Ne)=>{Ne.exports=function(Se,Oe){return{enumerable:!(Se&1),configurable:!(Se&2),writable:!(Se&4),value:Oe}}}),Dr=Ae((ot,Ne)=>{var Se=Hr(),Oe=Function.prototype,ee=Oe.call,V=Se&&Oe.bind.bind(ee,ee);Ne.exports=Se?V:function(W){return function(){return ee.apply(W,arguments)}}}),Br=Ae((ot,Ne)=>{var Se=Dr(),Oe=Se({}.toString),ee=Se("".slice);Ne.exports=function(V){return ee(Oe(V),8,-1)}}),Zr=Ae((ot,Ne)=>{var Se=Dr(),Oe=hr(),ee=Br(),V=Object,W=Se("".split);Ne.exports=Oe(function(){return!V("z").propertyIsEnumerable(0)})?function(Z){return ee(Z)=="String"?W(Z,""):V(Z)}:V}),nn=Ae((ot,Ne)=>{Ne.exports=function(Se){return Se==null}}),qn=Ae((ot,Ne)=>{var Se=nn(),Oe=TypeError;Ne.exports=function(ee){if(Se(ee))throw Oe("Can't call method on "+ee);return ee}}),dn=Ae((ot,Ne)=>{var Se=Zr(),Oe=qn();Ne.exports=function(ee){return Se(Oe(ee))}}),Vn=Ae((ot,Ne)=>{var Se=typeof document=="object"&&document.all,Oe=typeof Se>"u"&&Se!==void 0;Ne.exports={all:Se,IS_HTMLDDA:Oe}}),dr=Ae((ot,Ne)=>{var Se=Vn(),Oe=Se.all;Ne.exports=Se.IS_HTMLDDA?function(ee){return typeof ee=="function"||ee===Oe}:function(ee){return typeof ee=="function"}}),Or=Ae((ot,Ne)=>{var Se=dr(),Oe=Vn(),ee=Oe.all;Ne.exports=Oe.IS_HTMLDDA?function(V){return typeof V=="object"?V!==null:Se(V)||V===ee}:function(V){return typeof V=="object"?V!==null:Se(V)}}),un=Ae((ot,Ne)=>{var Se=Yt(),Oe=dr(),ee=function(V){return Oe(V)?V:void 0};Ne.exports=function(V,W){return arguments.length<2?ee(Se[V]):Se[V]&&Se[V][W]}}),Un=Ae((ot,Ne)=>{var Se=Dr();Ne.exports=Se({}.isPrototypeOf)}),ii=Ae((ot,Ne)=>{var Se=un();Ne.exports=Se("navigator","userAgent")||""}),si=Ae((ot,Ne)=>{var Se=Yt(),Oe=ii(),ee=Se.process,V=Se.Deno,W=ee&&ee.versions||V&&V.version,Z=W&&W.v8,Y,ne;Z&&(Y=Z.split("."),ne=Y[0]>0&&Y[0]<4?1:+(Y[0]+Y[1])),!ne&&Oe&&(Y=Oe.match(/Edge\/(\d+)/),(!Y||Y[1]>=74)&&(Y=Oe.match(/Chrome\/(\d+)/),Y&&(ne=+Y[1]))),Ne.exports=ne}),Gn=Ae((ot,Ne)=>{var Se=si(),Oe=hr();Ne.exports=!!Object.getOwnPropertySymbols&&!Oe(function(){var ee=Symbol();return!String(ee)||!(Object(ee)instanceof Symbol)||!Symbol.sham&&Se&&Se<41})}),Jn=Ae((ot,Ne)=>{var Se=Gn();Ne.exports=Se&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),Xn=Ae((ot,Ne)=>{var Se=un(),Oe=dr(),ee=Un(),V=Jn(),W=Object;Ne.exports=V?function(Z){return typeof Z=="symbol"}:function(Z){var Y=Se("Symbol");return Oe(Y)&&ee(Y.prototype,W(Z))}}),fn=Ae((ot,Ne)=>{var Se=String;Ne.exports=function(Oe){try{return Se(Oe)}catch{return"Object"}}}),sn=Ae((ot,Ne)=>{var Se=dr(),Oe=fn(),ee=TypeError;Ne.exports=function(V){if(Se(V))return V;throw ee(Oe(V)+" is not a function")}}),mn=Ae((ot,Ne)=>{var Se=sn(),Oe=nn();Ne.exports=function(ee,V){var W=ee[V];return Oe(W)?void 0:Se(W)}}),ai=Ae((ot,Ne)=>{var Se=gr(),Oe=dr(),ee=Or(),V=TypeError;Ne.exports=function(W,Z){var Y,ne;if(Z==="string"&&Oe(Y=W.toString)&&!ee(ne=Se(Y,W))||Oe(Y=W.valueOf)&&!ee(ne=Se(Y,W))||Z!=="string"&&Oe(Y=W.toString)&&!ee(ne=Se(Y,W)))return ne;throw V("Can't convert object to primitive value")}}),oi=Ae((ot,Ne)=>{Ne.exports=!1}),hn=Ae((ot,Ne)=>{var Se=Yt(),Oe=Object.defineProperty;Ne.exports=function(ee,V){try{Oe(Se,ee,{value:V,configurable:!0,writable:!0})}catch{Se[ee]=V}return V}}),gn=Ae((ot,Ne)=>{var Se=Yt(),Oe=hn(),ee="__core-js_shared__",V=Se[ee]||Oe(ee,{});Ne.exports=V}),Wn=Ae((ot,Ne)=>{var Se=oi(),Oe=gn();(Ne.exports=function(ee,V){return Oe[ee]||(Oe[ee]=V!==void 0?V:{})})("versions",[]).push({version:"3.26.1",mode:Se?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})}),Sn=Ae((ot,Ne)=>{var Se=qn(),Oe=Object;Ne.exports=function(ee){return Oe(Se(ee))}}),kr=Ae((ot,Ne)=>{var Se=Dr(),Oe=Sn(),ee=Se({}.hasOwnProperty);Ne.exports=Object.hasOwn||function(V,W){return ee(Oe(V),W)}}),zn=Ae((ot,Ne)=>{var Se=Dr(),Oe=0,ee=Math.random(),V=Se(1 .toString);Ne.exports=function(W){return"Symbol("+(W===void 0?"":W)+")_"+V(++Oe+ee,36)}}),$r=Ae((ot,Ne)=>{var Se=Yt(),Oe=Wn(),ee=kr(),V=zn(),W=Gn(),Z=Jn(),Y=Oe("wks"),ne=Se.Symbol,Fe=ne&&ne.for,je=Z?ne:ne&&ne.withoutSetter||V;Ne.exports=function(he){if(!ee(Y,he)||!(W||typeof Y[he]=="string")){var qe="Symbol."+he;W&&ee(ne,he)?Y[he]=ne[he]:Z&&Fe?Y[he]=Fe(qe):Y[he]=je(qe)}return Y[he]}}),li=Ae((ot,Ne)=>{var Se=gr(),Oe=Or(),ee=Xn(),V=mn(),W=ai(),Z=$r(),Y=TypeError,ne=Z("toPrimitive");Ne.exports=function(Fe,je){if(!Oe(Fe)||ee(Fe))return Fe;var he=V(Fe,ne),qe;if(he){if(je===void 0&&(je="default"),qe=Se(he,Fe,je),!Oe(qe)||ee(qe))return qe;throw Y("Can't convert object to primitive value")}return je===void 0&&(je="number"),W(Fe,je)}}),yn=Ae((ot,Ne)=>{var Se=li(),Oe=Xn();Ne.exports=function(ee){var V=Se(ee,"string");return Oe(V)?V:V+""}}),pi=Ae((ot,Ne)=>{var Se=Yt(),Oe=Or(),ee=Se.document,V=Oe(ee)&&Oe(ee.createElement);Ne.exports=function(W){return V?ee.createElement(W):{}}}),Hn=Ae((ot,Ne)=>{var Se=br(),Oe=hr(),ee=pi();Ne.exports=!Se&&!Oe(function(){return Object.defineProperty(ee("div"),"a",{get:function(){return 7}}).a!=7})}),Yn=Ae(ot=>{var Ne=br(),Se=gr(),Oe=Dn(),ee=Lr(),V=dn(),W=yn(),Z=kr(),Y=Hn(),ne=Object.getOwnPropertyDescriptor;ot.f=Ne?ne:function(Fe,je){if(Fe=V(Fe),je=W(je),Y)try{return ne(Fe,je)}catch{}if(Z(Fe,je))return ee(!Se(Oe.f,Fe,je),Fe[je])}}),ci=Ae((ot,Ne)=>{var Se=br(),Oe=hr();Ne.exports=Se&&Oe(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),Wr=Ae((ot,Ne)=>{var Se=Or(),Oe=String,ee=TypeError;Ne.exports=function(V){if(Se(V))return V;throw ee(Oe(V)+" is not an object")}}),en=Ae(ot=>{var Ne=br(),Se=Hn(),Oe=ci(),ee=Wr(),V=yn(),W=TypeError,Z=Object.defineProperty,Y=Object.getOwnPropertyDescriptor,ne="enumerable",Fe="configurable",je="writable";ot.f=Ne?Oe?function(he,qe,et){if(ee(he),qe=V(qe),ee(et),typeof he=="function"&&qe==="prototype"&&"value"in et&&je in et&&!et[je]){var Ze=Y(he,qe);Ze&&Ze[je]&&(he[qe]=et.value,et={configurable:Fe in et?et[Fe]:Ze[Fe],enumerable:ne in et?et[ne]:Ze[ne],writable:!1})}return Z(he,qe,et)}:Z:function(he,qe,et){if(ee(he),qe=V(qe),ee(et),Se)try{return Z(he,qe,et)}catch{}if("get"in et||"set"in et)throw W("Accessors not supported");return"value"in et&&(he[qe]=et.value),he}}),Kn=Ae((ot,Ne)=>{var Se=br(),Oe=en(),ee=Lr();Ne.exports=Se?function(V,W,Z){return Oe.f(V,W,ee(1,Z))}:function(V,W,Z){return V[W]=Z,V}}),Di=Ae((ot,Ne)=>{var Se=br(),Oe=kr(),ee=Function.prototype,V=Se&&Object.getOwnPropertyDescriptor,W=Oe(ee,"name"),Z=W&&(function(){}).name==="something",Y=W&&(!Se||Se&&V(ee,"name").configurable);Ne.exports={EXISTS:W,PROPER:Z,CONFIGURABLE:Y}}),Qn=Ae((ot,Ne)=>{var Se=Dr(),Oe=dr(),ee=gn(),V=Se(Function.toString);Oe(ee.inspectSource)||(ee.inspectSource=function(W){return V(W)}),Ne.exports=ee.inspectSource}),di=Ae((ot,Ne)=>{var Se=Yt(),Oe=dr(),ee=Se.WeakMap;Ne.exports=Oe(ee)&&/native code/.test(String(ee))}),fi=Ae((ot,Ne)=>{var Se=Wn(),Oe=zn(),ee=Se("keys");Ne.exports=function(V){return ee[V]||(ee[V]=Oe(V))}}),Zn=Ae((ot,Ne)=>{Ne.exports={}}),mi=Ae((ot,Ne)=>{var Se=di(),Oe=Yt(),ee=Or(),V=Kn(),W=kr(),Z=gn(),Y=fi(),ne=Zn(),Fe="Object already initialized",je=Oe.TypeError,he=Oe.WeakMap,qe,et,Ze,nt=function(At){return Ze(At)?et(At):qe(At,{})},rt=function(At){return function(Lt){var qt;if(!ee(Lt)||(qt=et(Lt)).type!==At)throw je("Incompatible receiver, "+At+" required");return qt}};Se||Z.state?($=Z.state||(Z.state=new he),$.get=$.get,$.has=$.has,$.set=$.set,qe=function(At,Lt){if($.has(At))throw je(Fe);return Lt.facade=At,$.set(At,Lt),Lt},et=function(At){return $.get(At)||{}},Ze=function(At){return $.has(At)}):(Ft=Y("state"),ne[Ft]=!0,qe=function(At,Lt){if(W(At,Ft))throw je(Fe);return Lt.facade=At,V(At,Ft,Lt),Lt},et=function(At){return W(At,Ft)?At[Ft]:{}},Ze=function(At){return W(At,Ft)});var $,Ft;Ne.exports={set:qe,get:et,has:Ze,enforce:nt,getterFor:rt}}),gu=Ae((ot,Ne)=>{var Se=hr(),Oe=dr(),ee=kr(),V=br(),W=Di().CONFIGURABLE,Z=Qn(),Y=mi(),ne=Y.enforce,Fe=Y.get,je=Object.defineProperty,he=V&&!Se(function(){return je(function(){},"length",{value:8}).length!==8}),qe=String(String).split("String"),et=Ne.exports=function(Ze,nt,rt){String(nt).slice(0,7)==="Symbol("&&(nt="["+String(nt).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),rt&&rt.getter&&(nt="get "+nt),rt&&rt.setter&&(nt="set "+nt),(!ee(Ze,"name")||W&&Ze.name!==nt)&&(V?je(Ze,"name",{value:nt,configurable:!0}):Ze.name=nt),he&&rt&&ee(rt,"arity")&&Ze.length!==rt.arity&&je(Ze,"length",{value:rt.arity});try{rt&&ee(rt,"constructor")&&rt.constructor?V&&je(Ze,"prototype",{writable:!1}):Ze.prototype&&(Ze.prototype=void 0)}catch{}var $=ne(Ze);return ee($,"source")||($.source=qe.join(typeof nt=="string"?nt:"")),Ze};Function.prototype.toString=et(function(){return Oe(this)&&Fe(this).source||Z(this)},"toString")}),hi=Ae((ot,Ne)=>{var Se=dr(),Oe=en(),ee=gu(),V=hn();Ne.exports=function(W,Z,Y,ne){ne||(ne={});var Fe=ne.enumerable,je=ne.name!==void 0?ne.name:Z;if(Se(Y)&&ee(Y,je,ne),ne.global)Fe?W[Z]=Y:V(Z,Y);else{try{ne.unsafe?W[Z]&&(Fe=!0):delete W[Z]}catch{}Fe?W[Z]=Y:Oe.f(W,Z,{value:Y,enumerable:!1,configurable:!ne.nonConfigurable,writable:!ne.nonWritable})}return W}}),gi=Ae((ot,Ne)=>{var Se=Math.ceil,Oe=Math.floor;Ne.exports=Math.trunc||function(ee){var V=+ee;return(V>0?Oe:Se)(V)}}),xn=Ae((ot,Ne)=>{var Se=gi();Ne.exports=function(Oe){var ee=+Oe;return ee!==ee||ee===0?0:Se(ee)}}),yi=Ae((ot,Ne)=>{var Se=xn(),Oe=Math.max,ee=Math.min;Ne.exports=function(V,W){var Z=Se(V);return Z<0?Oe(Z+W,0):ee(Z,W)}}),Ei=Ae((ot,Ne)=>{var Se=xn(),Oe=Math.min;Ne.exports=function(ee){return ee>0?Oe(Se(ee),9007199254740991):0}}),tn=Ae((ot,Ne)=>{var Se=Ei();Ne.exports=function(Oe){return Se(Oe.length)}}),Ci=Ae((ot,Ne)=>{var Se=dn(),Oe=yi(),ee=tn(),V=function(W){return function(Z,Y,ne){var Fe=Se(Z),je=ee(Fe),he=Oe(ne,je),qe;if(W&&Y!=Y){for(;je>he;)if(qe=Fe[he++],qe!=qe)return!0}else for(;je>he;he++)if((W||he in Fe)&&Fe[he]===Y)return W||he||0;return!W&&-1}};Ne.exports={includes:V(!0),indexOf:V(!1)}}),Fi=Ae((ot,Ne)=>{var Se=Dr(),Oe=kr(),ee=dn(),V=Ci().indexOf,W=Zn(),Z=Se([].push);Ne.exports=function(Y,ne){var Fe=ee(Y),je=0,he=[],qe;for(qe in Fe)!Oe(W,qe)&&Oe(Fe,qe)&&Z(he,qe);for(;ne.length>je;)Oe(Fe,qe=ne[je++])&&(~V(he,qe)||Z(he,qe));return he}}),Ai=Ae((ot,Ne)=>{Ne.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),vi=Ae(ot=>{var Ne=Fi(),Se=Ai(),Oe=Se.concat("length","prototype");ot.f=Object.getOwnPropertyNames||function(ee){return Ne(ee,Oe)}}),bi=Ae(ot=>{ot.f=Object.getOwnPropertySymbols}),Si=Ae((ot,Ne)=>{var Se=un(),Oe=Dr(),ee=vi(),V=bi(),W=Wr(),Z=Oe([].concat);Ne.exports=Se("Reflect","ownKeys")||function(Y){var ne=ee.f(W(Y)),Fe=V.f;return Fe?Z(ne,Fe(Y)):ne}}),xi=Ae((ot,Ne)=>{var Se=kr(),Oe=Si(),ee=Yn(),V=en();Ne.exports=function(W,Z,Y){for(var ne=Oe(Z),Fe=V.f,je=ee.f,he=0;he{var Se=hr(),Oe=dr(),ee=/#|\.prototype\./,V=function(Fe,je){var he=Z[W(Fe)];return he==ne?!0:he==Y?!1:Oe(je)?Se(je):!!je},W=V.normalize=function(Fe){return String(Fe).replace(ee,".").toLowerCase()},Z=V.data={},Y=V.NATIVE="N",ne=V.POLYFILL="P";Ne.exports=V}),an=Ae((ot,Ne)=>{var Se=Yt(),Oe=Yn().f,ee=Kn(),V=hi(),W=hn(),Z=xi(),Y=Ti();Ne.exports=function(ne,Fe){var je=ne.target,he=ne.global,qe=ne.stat,et,Ze,nt,rt,$,Ft;if(he?Ze=Se:qe?Ze=Se[je]||W(je,{}):Ze=(Se[je]||{}).prototype,Ze)for(nt in Fe){if($=Fe[nt],ne.dontCallGetSet?(Ft=Oe(Ze,nt),rt=Ft&&Ft.value):rt=Ze[nt],et=Y(he?nt:je+(qe?".":"#")+nt,ne.forced),!et&&rt!==void 0){if(typeof $==typeof rt)continue;Z($,rt)}(ne.sham||rt&&rt.sham)&&ee($,"sham",!0),V(Ze,nt,$,ne)}}}),yu=Ae(()=>{var ot=an(),Ne=Yt();ot({global:!0,forced:Ne.globalThis!==Ne},{globalThis:Ne})}),Bi=Ae(()=>{yu()}),Eu=Ae((ot,Ne)=>{var Se=Br();Ne.exports=Array.isArray||function(Oe){return Se(Oe)=="Array"}}),Cu=Ae((ot,Ne)=>{var Se=TypeError,Oe=9007199254740991;Ne.exports=function(ee){if(ee>Oe)throw Se("Maximum allowed index exceeded");return ee}}),Fu=Ae((ot,Ne)=>{var Se=Br(),Oe=Dr();Ne.exports=function(ee){if(Se(ee)==="Function")return Oe(ee)}}),Au=Ae((ot,Ne)=>{var Se=Fu(),Oe=sn(),ee=Hr(),V=Se(Se.bind);Ne.exports=function(W,Z){return Oe(W),Z===void 0?W:ee?V(W,Z):function(){return W.apply(Z,arguments)}}}),vu=Ae((ot,Ne)=>{var Se=Eu(),Oe=tn(),ee=Cu(),V=Au(),W=function(Z,Y,ne,Fe,je,he,qe,et){for(var Ze=je,nt=0,rt=qe?V(qe,et):!1,$,Ft;nt0&&Se($)?(Ft=Oe($),Ze=W(Z,Y,$,Ft,Ze,he-1)-1):(ee(Ze+1),Z[Ze]=$),Ze++),nt++;return Ze};Ne.exports=W}),wi=Ae((ot,Ne)=>{var Se=$r(),Oe=Se("toStringTag"),ee={};ee[Oe]="z",Ne.exports=String(ee)==="[object z]"}),bu=Ae((ot,Ne)=>{var Se=wi(),Oe=dr(),ee=Br(),V=$r(),W=V("toStringTag"),Z=Object,Y=ee(function(){return arguments}())=="Arguments",ne=function(Fe,je){try{return Fe[je]}catch{}};Ne.exports=Se?ee:function(Fe){var je,he,qe;return Fe===void 0?"Undefined":Fe===null?"Null":typeof(he=ne(je=Z(Fe),W))=="string"?he:Y?ee(je):(qe=ee(je))=="Object"&&Oe(je.callee)?"Arguments":qe}}),Su=Ae((ot,Ne)=>{var Se=Dr(),Oe=hr(),ee=dr(),V=bu(),W=un(),Z=Qn(),Y=function(){},ne=[],Fe=W("Reflect","construct"),je=/^\s*(?:class|function)\b/,he=Se(je.exec),qe=!je.exec(Y),et=function(nt){if(!ee(nt))return!1;try{return Fe(Y,ne,nt),!0}catch{return!1}},Ze=function(nt){if(!ee(nt))return!1;switch(V(nt)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return qe||!!he(je,Z(nt))}catch{return!0}};Ze.sham=!0,Ne.exports=!Fe||Oe(function(){var nt;return et(et.call)||!et(Object)||!et(function(){nt=!0})||nt})?Ze:et}),Ni=Ae((ot,Ne)=>{var Se=Eu(),Oe=Su(),ee=Or(),V=$r(),W=V("species"),Z=Array;Ne.exports=function(Y){var ne;return Se(Y)&&(ne=Y.constructor,Oe(ne)&&(ne===Z||Se(ne.prototype))?ne=void 0:ee(ne)&&(ne=ne[W],ne===null&&(ne=void 0))),ne===void 0?Z:ne}}),xu=Ae((ot,Ne)=>{var Se=Ni();Ne.exports=function(Oe,ee){return new(Se(Oe))(ee===0?0:ee)}}),_i=Ae(()=>{var ot=an(),Ne=vu(),Se=sn(),Oe=Sn(),ee=tn(),V=xu();ot({target:"Array",proto:!0},{flatMap:function(W){var Z=Oe(this),Y=ee(Z),ne;return Se(W),ne=V(Z,0),ne.length=Ne(ne,Z,Z,Y,0,1,W,arguments.length>1?arguments[1]:void 0),ne}})}),eu=Ae((ot,Ne)=>{Ne.exports={}}),ki=Ae((ot,Ne)=>{var Se=$r(),Oe=eu(),ee=Se("iterator"),V=Array.prototype;Ne.exports=function(W){return W!==void 0&&(Oe.Array===W||V[ee]===W)}}),Tu=Ae((ot,Ne)=>{var Se=bu(),Oe=mn(),ee=nn(),V=eu(),W=$r(),Z=W("iterator");Ne.exports=function(Y){if(!ee(Y))return Oe(Y,Z)||Oe(Y,"@@iterator")||V[Se(Y)]}}),Pi=Ae((ot,Ne)=>{var Se=gr(),Oe=sn(),ee=Wr(),V=fn(),W=Tu(),Z=TypeError;Ne.exports=function(Y,ne){var Fe=arguments.length<2?W(Y):ne;if(Oe(Fe))return ee(Se(Fe,Y));throw Z(V(Y)+" is not iterable")}}),Ii=Ae((ot,Ne)=>{var Se=gr(),Oe=Wr(),ee=mn();Ne.exports=function(V,W,Z){var Y,ne;Oe(V);try{if(Y=ee(V,"return"),!Y){if(W==="throw")throw Z;return Z}Y=Se(Y,V)}catch(Fe){ne=!0,Y=Fe}if(W==="throw")throw Z;if(ne)throw Y;return Oe(Y),Z}}),ji=Ae((ot,Ne)=>{var Se=Au(),Oe=gr(),ee=Wr(),V=fn(),W=ki(),Z=tn(),Y=Un(),ne=Pi(),Fe=Tu(),je=Ii(),he=TypeError,qe=function(Ze,nt){this.stopped=Ze,this.result=nt},et=qe.prototype;Ne.exports=function(Ze,nt,rt){var $=rt&&rt.that,Ft=!!(rt&&rt.AS_ENTRIES),At=!!(rt&&rt.IS_RECORD),Lt=!!(rt&&rt.IS_ITERATOR),qt=!!(rt&&rt.INTERRUPTED),Zt=Se(nt,$),ue,yr,Pr,zr,fr,Rr,mr,rn=function(Fr){return ue&&je(ue,"normal",Fr),new qe(!0,Fr)},wr=function(Fr){return Ft?(ee(Fr),qt?Zt(Fr[0],Fr[1],rn):Zt(Fr[0],Fr[1])):qt?Zt(Fr,rn):Zt(Fr)};if(At)ue=Ze.iterator;else if(Lt)ue=Ze;else{if(yr=Fe(Ze),!yr)throw he(V(Ze)+" is not iterable");if(W(yr)){for(Pr=0,zr=Z(Ze);zr>Pr;Pr++)if(fr=wr(Ze[Pr]),fr&&Y(et,fr))return fr;return new qe(!1)}ue=ne(Ze,yr)}for(Rr=At?Ze.next:ue.next;!(mr=Oe(Rr,ue)).done;){try{fr=wr(mr.value)}catch(Fr){je(ue,"throw",Fr)}if(typeof fr=="object"&&fr&&Y(et,fr))return fr}return new qe(!1)}}),Li=Ae((ot,Ne)=>{var Se=yn(),Oe=en(),ee=Lr();Ne.exports=function(V,W,Z){var Y=Se(W);Y in V?Oe.f(V,Y,ee(0,Z)):V[Y]=Z}}),Oi=Ae(()=>{var ot=an(),Ne=ji(),Se=Li();ot({target:"Object",stat:!0},{fromEntries:function(Oe){var ee={};return Ne(Oe,function(V,W){Se(ee,V,W)},{AS_ENTRIES:!0}),ee}})}),$i=Ae((ot,Ne)=>{var Se=["cliName","cliCategory","cliDescription"];function Oe(L,re){if(L==null)return{};var ge=ee(L,re),Ee,Pe;if(Object.getOwnPropertySymbols){var ie=Object.getOwnPropertySymbols(L);for(Pe=0;Pe=0)&&Object.prototype.propertyIsEnumerable.call(L,Ee)&&(ge[Ee]=L[Ee])}return ge}function ee(L,re){if(L==null)return{};var ge={},Ee=Object.keys(L),Pe,ie;for(ie=0;ie=0)&&(ge[Pe]=L[Pe]);return ge}Bi(),_i(),Oi();var V=Object.create,W=Object.defineProperty,Z=Object.getOwnPropertyDescriptor,Y=Object.getOwnPropertyNames,ne=Object.getPrototypeOf,Fe=Object.prototype.hasOwnProperty,je=(L,re)=>function(){return L&&(re=(0,L[Y(L)[0]])(L=0)),re},he=(L,re)=>function(){return re||(0,L[Y(L)[0]])((re={exports:{}}).exports,re),re.exports},qe=(L,re)=>{for(var ge in re)W(L,ge,{get:re[ge],enumerable:!0})},et=(L,re,ge,Ee)=>{if(re&&typeof re=="object"||typeof re=="function")for(let Pe of Y(re))!Fe.call(L,Pe)&&Pe!==ge&&W(L,Pe,{get:()=>re[Pe],enumerable:!(Ee=Z(re,Pe))||Ee.enumerable});return L},Ze=(L,re,ge)=>(ge=L!=null?V(ne(L)):{},et(re||!L||!L.__esModule?W(ge,"default",{value:L,enumerable:!0}):ge,L)),nt=L=>et(W({},"__esModule",{value:!0}),L),rt,$=je({""(){rt={env:{},argv:[]}}}),Ft=he({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(L){$(),Object.defineProperty(L,"__esModule",{value:!0}),L.$EOF=0,L.$BSPACE=8,L.$TAB=9,L.$LF=10,L.$VTAB=11,L.$FF=12,L.$CR=13,L.$SPACE=32,L.$BANG=33,L.$DQ=34,L.$HASH=35,L.$$=36,L.$PERCENT=37,L.$AMPERSAND=38,L.$SQ=39,L.$LPAREN=40,L.$RPAREN=41,L.$STAR=42,L.$PLUS=43,L.$COMMA=44,L.$MINUS=45,L.$PERIOD=46,L.$SLASH=47,L.$COLON=58,L.$SEMICOLON=59,L.$LT=60,L.$EQ=61,L.$GT=62,L.$QUESTION=63,L.$0=48,L.$7=55,L.$9=57,L.$A=65,L.$E=69,L.$F=70,L.$X=88,L.$Z=90,L.$LBRACKET=91,L.$BACKSLASH=92,L.$RBRACKET=93,L.$CARET=94,L.$_=95,L.$a=97,L.$b=98,L.$e=101,L.$f=102,L.$n=110,L.$r=114,L.$t=116,L.$u=117,L.$v=118,L.$x=120,L.$z=122,L.$LBRACE=123,L.$BAR=124,L.$RBRACE=125,L.$NBSP=160,L.$PIPE=124,L.$TILDA=126,L.$AT=64,L.$BT=96;function re(Ue){return Ue>=L.$TAB&&Ue<=L.$SPACE||Ue==L.$NBSP}L.isWhitespace=re;function ge(Ue){return L.$0<=Ue&&Ue<=L.$9}L.isDigit=ge;function Ee(Ue){return Ue>=L.$a&&Ue<=L.$z||Ue>=L.$A&&Ue<=L.$Z}L.isAsciiLetter=Ee;function Pe(Ue){return Ue>=L.$a&&Ue<=L.$f||Ue>=L.$A&&Ue<=L.$F||ge(Ue)}L.isAsciiHexDigit=Pe;function ie(Ue){return Ue===L.$LF||Ue===L.$CR}L.isNewLine=ie;function de(Ue){return L.$0<=Ue&&Ue<=L.$7}L.isOctalDigit=de}}),At=he({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(L){$(),Object.defineProperty(L,"__esModule",{value:!0});var re=class{constructor(Ee,Pe,ie){this.filePath=Ee,this.name=Pe,this.members=ie}assertNoMembers(){if(this.members.length)throw new Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}};L.StaticSymbol=re;var ge=class{constructor(){this.cache=new Map}get(Ee,Pe,ie){ie=ie||[];let de=ie.length?`.${ie.join(".")}`:"",Ue=`"${Ee}".${Pe}${de}`,Ge=this.cache.get(Ue);return Ge||(Ge=new re(Ee,Pe,ie),this.cache.set(Ue,Ge)),Ge}};L.StaticSymbolCache=ge}}),Lt=he({"node_modules/angular-html-parser/lib/compiler/src/util.js"(L){$(),Object.defineProperty(L,"__esModule",{value:!0});var re=/-+([a-z0-9])/g;function ge(le){return le.replace(re,function(){for(var We=arguments.length,Me=new Array(We),at=0;atde(Me,this,We))}visitStringMap(le,We){let Me={};return Object.keys(le).forEach(at=>{Me[at]=de(le[at],this,We)}),Me}visitPrimitive(le,We){return le}visitOther(le,We){return le}};L.ValueTransformer=gt,L.SyncAsync={assertSync:le=>{if(st(le))throw new Error("Illegal state: value cannot be a promise");return le},then:(le,We)=>st(le)?le.then(We):We(le),all:le=>le.some(st)?Promise.all(le):le};function ce(le){throw new Error(`Internal Error: ${le}`)}L.error=ce;function ve(le,We){let Me=Error(le);return Me[Ve]=!0,We&&(Me[He]=We),Me}L.syntaxError=ve;var Ve="ngSyntaxError",He="ngParseErrors";function Je(le){return le[Ve]}L.isSyntaxError=Je;function Qe(le){return le[He]||[]}L.getParseErrors=Qe;function yt(le){return le.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}L.escapeRegExp=yt;var _t=Object.getPrototypeOf({});function ct(le){return typeof le=="object"&&le!==null&&Object.getPrototypeOf(le)===_t}function kt(le){let We="";for(let Me=0;Me=55296&&at<=56319&&le.length>Me+1){let Jt=le.charCodeAt(Me+1);Jt>=56320&&Jt<=57343&&(Me++,at=(at-55296<<10)+Jt-56320+65536)}at<=127?We+=String.fromCharCode(at):at<=2047?We+=String.fromCharCode(at>>6&31|192,at&63|128):at<=65535?We+=String.fromCharCode(at>>12|224,at>>6&63|128,at&63|128):at<=2097151&&(We+=String.fromCharCode(at>>18&7|240,at>>12&63|128,at>>6&63|128,at&63|128))}return We}L.utf8Encode=kt;function $t(le){if(typeof le=="string")return le;if(le instanceof Array)return"["+le.map($t).join(", ")+"]";if(le==null)return""+le;if(le.overriddenName)return`${le.overriddenName}`;if(le.name)return`${le.name}`;if(!le.toString)return"object";let We=le.toString();if(We==null)return""+We;let Me=We.indexOf(` -`);return Me===-1?We:We.substring(0,Me)}L.stringify=$t;function ir(le){return typeof le=="function"&&le.hasOwnProperty("__forward_ref__")?le():le}L.resolveForwardRef=ir;function st(le){return!!le&&typeof le.then=="function"}L.isPromise=st;var Ot=class{constructor(le){this.full=le;let We=le.split(".");this.major=We[0],this.minor=We[1],this.patch=We.slice(2).join(".")}};L.Version=Ot;var Vt=typeof window<"u"&&window,Ut=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,rr=typeof globalThis<"u"&&globalThis,z=rr||Vt||Ut;L.global=z}}),qt=he({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(L){$(),Object.defineProperty(L,"__esModule",{value:!0});var re=At(),ge=Lt(),Ee=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function Pe(Me){return Me.replace(/\W/g,"_")}L.sanitizeIdentifier=Pe;var ie=0;function de(Me){if(!Me||!Me.reference)return null;let at=Me.reference;if(at instanceof re.StaticSymbol)return at.name;if(at.__anonymousType)return at.__anonymousType;let Jt=ge.stringify(at);return Jt.indexOf("(")>=0?(Jt=`anonymous_${ie++}`,at.__anonymousType=Jt):Jt=Pe(Jt),Jt}L.identifierName=de;function Ue(Me){let at=Me.reference;return at instanceof re.StaticSymbol?at.filePath:`./${ge.stringify(at)}`}L.identifierModuleUrl=Ue;function Ge(Me,at){return`View_${de({reference:Me})}_${at}`}L.viewClassName=Ge;function gt(Me){return`RenderType_${de({reference:Me})}`}L.rendererTypeName=gt;function ce(Me){return`HostView_${de({reference:Me})}`}L.hostViewClassName=ce;function ve(Me){return`${de({reference:Me})}NgFactory`}L.componentFactoryName=ve;var Ve;(function(Me){Me[Me.Pipe=0]="Pipe",Me[Me.Directive=1]="Directive",Me[Me.NgModule=2]="NgModule",Me[Me.Injectable=3]="Injectable"})(Ve=L.CompileSummaryKind||(L.CompileSummaryKind={}));function He(Me){return Me.value!=null?Pe(Me.value):de(Me.identifier)}L.tokenName=He;function Je(Me){return Me.identifier!=null?Me.identifier.reference:Me.value}L.tokenReference=Je;var Qe=class{constructor(){let{moduleUrl:Me,styles:at,styleUrls:Jt}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.moduleUrl=Me||null,this.styles=st(at),this.styleUrls=st(Jt)}};L.CompileStylesheetMetadata=Qe;var yt=class{constructor(Me){let{encapsulation:at,template:Jt,templateUrl:er,htmlAst:Ar,styles:Er,styleUrls:_r,externalStylesheets:xr,animations:Ir,ngContentSelectors:Mr,interpolation:or,isInline:lt,preserveWhitespaces:mt}=Me;if(this.encapsulation=at,this.template=Jt,this.templateUrl=er,this.htmlAst=Ar,this.styles=st(Er),this.styleUrls=st(_r),this.externalStylesheets=st(xr),this.animations=Ir?Vt(Ir):[],this.ngContentSelectors=Mr||[],or&&or.length!=2)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=or,this.isInline=lt,this.preserveWhitespaces=mt}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};L.CompileTemplateMetadata=yt;var _t=class{static create(Me){let{isHost:at,type:Jt,isComponent:er,selector:Ar,exportAs:Er,changeDetection:_r,inputs:xr,outputs:Ir,host:Mr,providers:or,viewProviders:lt,queries:mt,guards:St,viewQueries:xt,entryComponents:Kt,template:sr,componentViewType:lr,rendererType:Qt,componentFactory:Kr}=Me,Pn={},In={},Hu={};Mr!=null&&Object.keys(Mr).forEach(vr=>{let Qr=Mr[vr],cn=vr.match(Ee);cn===null?Hu[vr]=Qr:cn[1]!=null?In[cn[1]]=Qr:cn[2]!=null&&(Pn[cn[2]]=Qr)});let Yu={};xr==null||xr.forEach(vr=>{let Qr=ge.splitAtColon(vr,[vr,vr]);Yu[Qr[0]]=Qr[1]});let Ku={};return Ir==null||Ir.forEach(vr=>{let Qr=ge.splitAtColon(vr,[vr,vr]);Ku[Qr[0]]=Qr[1]}),new _t({isHost:at,type:Jt,isComponent:!!er,selector:Ar,exportAs:Er,changeDetection:_r,inputs:Yu,outputs:Ku,hostListeners:Pn,hostProperties:In,hostAttributes:Hu,providers:or,viewProviders:lt,queries:mt,guards:St,viewQueries:xt,entryComponents:Kt,template:sr,componentViewType:lr,rendererType:Qt,componentFactory:Kr})}constructor(Me){let{isHost:at,type:Jt,isComponent:er,selector:Ar,exportAs:Er,changeDetection:_r,inputs:xr,outputs:Ir,hostListeners:Mr,hostProperties:or,hostAttributes:lt,providers:mt,viewProviders:St,queries:xt,guards:Kt,viewQueries:sr,entryComponents:lr,template:Qt,componentViewType:Kr,rendererType:Pn,componentFactory:In}=Me;this.isHost=!!at,this.type=Jt,this.isComponent=er,this.selector=Ar,this.exportAs=Er,this.changeDetection=_r,this.inputs=xr,this.outputs=Ir,this.hostListeners=Mr,this.hostProperties=or,this.hostAttributes=lt,this.providers=st(mt),this.viewProviders=st(St),this.queries=st(xt),this.guards=Kt,this.viewQueries=st(sr),this.entryComponents=st(lr),this.template=Qt,this.componentViewType=Kr,this.rendererType=Pn,this.componentFactory=In}toSummary(){return{summaryKind:Ve.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}};L.CompileDirectiveMetadata=_t;var ct=class{constructor(Me){let{type:at,name:Jt,pure:er}=Me;this.type=at,this.name=Jt,this.pure=!!er}toSummary(){return{summaryKind:Ve.Pipe,type:this.type,name:this.name,pure:this.pure}}};L.CompilePipeMetadata=ct;var kt=class{};L.CompileShallowModuleMetadata=kt;var $t=class{constructor(Me){let{type:at,providers:Jt,declaredDirectives:er,exportedDirectives:Ar,declaredPipes:Er,exportedPipes:_r,entryComponents:xr,bootstrapComponents:Ir,importedModules:Mr,exportedModules:or,schemas:lt,transitiveModule:mt,id:St}=Me;this.type=at||null,this.declaredDirectives=st(er),this.exportedDirectives=st(Ar),this.declaredPipes=st(Er),this.exportedPipes=st(_r),this.providers=st(Jt),this.entryComponents=st(xr),this.bootstrapComponents=st(Ir),this.importedModules=st(Mr),this.exportedModules=st(or),this.schemas=st(lt),this.id=St||null,this.transitiveModule=mt||null}toSummary(){let Me=this.transitiveModule;return{summaryKind:Ve.NgModule,type:this.type,entryComponents:Me.entryComponents,providers:Me.providers,modules:Me.modules,exportedDirectives:Me.exportedDirectives,exportedPipes:Me.exportedPipes}}};L.CompileNgModuleMetadata=$t;var ir=class{constructor(){this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}addProvider(Me,at){this.providers.push({provider:Me,module:at})}addDirective(Me){this.directivesSet.has(Me.reference)||(this.directivesSet.add(Me.reference),this.directives.push(Me))}addExportedDirective(Me){this.exportedDirectivesSet.has(Me.reference)||(this.exportedDirectivesSet.add(Me.reference),this.exportedDirectives.push(Me))}addPipe(Me){this.pipesSet.has(Me.reference)||(this.pipesSet.add(Me.reference),this.pipes.push(Me))}addExportedPipe(Me){this.exportedPipesSet.has(Me.reference)||(this.exportedPipesSet.add(Me.reference),this.exportedPipes.push(Me))}addModule(Me){this.modulesSet.has(Me.reference)||(this.modulesSet.add(Me.reference),this.modules.push(Me))}addEntryComponent(Me){this.entryComponentsSet.has(Me.componentType)||(this.entryComponentsSet.add(Me.componentType),this.entryComponents.push(Me))}};L.TransitiveCompileNgModuleMetadata=ir;function st(Me){return Me||[]}var Ot=class{constructor(Me,at){let{useClass:Jt,useValue:er,useExisting:Ar,useFactory:Er,deps:_r,multi:xr}=at;this.token=Me,this.useClass=Jt||null,this.useValue=er,this.useExisting=Ar,this.useFactory=Er||null,this.dependencies=_r||null,this.multi=!!xr}};L.ProviderMeta=Ot;function Vt(Me){return Me.reduce((at,Jt)=>{let er=Array.isArray(Jt)?Vt(Jt):Jt;return at.concat(er)},[])}L.flatten=Vt;function Ut(Me){return Me.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function rr(Me,at,Jt){let er;return Jt.isInline?at.type.reference instanceof re.StaticSymbol?er=`${at.type.reference.filePath}.${at.type.reference.name}.html`:er=`${de(Me)}/${de(at.type)}.html`:er=Jt.templateUrl,at.type.reference instanceof re.StaticSymbol?er:Ut(er)}L.templateSourceUrl=rr;function z(Me,at){let Jt=Me.moduleUrl.split(/\/\\/g),er=Jt[Jt.length-1];return Ut(`css/${at}${er}.ngstyle.js`)}L.sharedStylesheetJitUrl=z;function le(Me){return Ut(`${de(Me.type)}/module.ngfactory.js`)}L.ngModuleJitUrl=le;function We(Me,at){return Ut(`${de(Me)}/${de(at.type)}.ngfactory.js`)}L.templateJitUrl=We}}),Zt=he({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(L){$(),Object.defineProperty(L,"__esModule",{value:!0});var re=Ft(),ge=qt(),Ee=class{constructor(ce,ve,Ve,He){this.file=ce,this.offset=ve,this.line=Ve,this.col=He}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(ce){let ve=this.file.content,Ve=ve.length,He=this.offset,Je=this.line,Qe=this.col;for(;He>0&&ce<0;)if(He--,ce++,ve.charCodeAt(He)==re.$LF){Je--;let yt=ve.substr(0,He-1).lastIndexOf(String.fromCharCode(re.$LF));Qe=yt>0?He-yt:He}else Qe--;for(;He0;){let yt=ve.charCodeAt(He);He++,ce--,yt==re.$LF?(Je++,Qe=0):Qe++}return new Ee(this.file,He,Je,Qe)}getContext(ce,ve){let Ve=this.file.content,He=this.offset;if(He!=null){He>Ve.length-1&&(He=Ve.length-1);let Je=He,Qe=0,yt=0;for(;Qe0&&(He--,Qe++,!(Ve[He]==` -`&&++yt==ve)););for(Qe=0,yt=0;Qe2&&arguments[2]!==void 0?arguments[2]:null;this.start=ce,this.end=ve,this.details=Ve}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};L.ParseSourceSpan=ie,L.EMPTY_PARSE_LOCATION=new Ee(new Pe("",""),0,0,0),L.EMPTY_SOURCE_SPAN=new ie(L.EMPTY_PARSE_LOCATION,L.EMPTY_PARSE_LOCATION);var de;(function(ce){ce[ce.WARNING=0]="WARNING",ce[ce.ERROR=1]="ERROR"})(de=L.ParseErrorLevel||(L.ParseErrorLevel={}));var Ue=class{constructor(ce,ve){let Ve=arguments.length>2&&arguments[2]!==void 0?arguments[2]:de.ERROR;this.span=ce,this.msg=ve,this.level=Ve}contextualMessage(){let ce=this.span.start.getContext(100,3);return ce?`${this.msg} ("${ce.before}[${de[this.level]} ->]${ce.after}")`:this.msg}toString(){let ce=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${ce}`}};L.ParseError=Ue;function Ge(ce,ve){let Ve=ge.identifierModuleUrl(ve),He=Ve!=null?`in ${ce} ${ge.identifierName(ve)} in ${Ve}`:`in ${ce} ${ge.identifierName(ve)}`,Je=new Pe("",He);return new ie(new Ee(Je,-1,-1,-1),new Ee(Je,-1,-1,-1))}L.typeSourceSpan=Ge;function gt(ce,ve,Ve){let He=`in ${ce} ${ve} in ${Ve}`,Je=new Pe("",He);return new ie(new Ee(Je,-1,-1,-1),new Ee(Je,-1,-1,-1))}L.r3JitTypeSourceSpan=gt}}),ue=he({"src/utils/front-matter/parse.js"(L,re){$();var ge=new RegExp("^(?-{3}|\\+{3})(?[^\\n]*)\\n(?:|(?.*?)\\n)(?\\k|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function Ee(Pe){let ie=Pe.match(ge);if(!ie)return{content:Pe};let{startDelimiter:de,language:Ue,value:Ge="",endDelimiter:gt}=ie.groups,ce=Ue.trim()||"yaml";if(de==="+++"&&(ce="toml"),ce!=="yaml"&&de!==gt)return{content:Pe};let[ve]=ie;return{frontMatter:{type:"front-matter",lang:ce,value:Ge,startDelimiter:de,endDelimiter:gt,raw:ve.replace(/\n$/,"")},content:ve.replace(/[^\n]/g," ")+Pe.slice(ve.length)}}re.exports=Ee}}),yr=he({"src/utils/get-last.js"(L,re){$();var ge=Ee=>Ee[Ee.length-1];re.exports=ge}}),Pr=he({"src/common/parser-create-error.js"(L,re){$();function ge(Ee,Pe){let ie=new SyntaxError(Ee+" ("+Pe.start.line+":"+Pe.start.column+")");return ie.loc=Pe,ie}re.exports=ge}}),zr={};qe(zr,{default:()=>fr});function fr(L){if(typeof L!="string")throw new TypeError("Expected a string");return L.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var Rr=je({"node_modules/escape-string-regexp/index.js"(){$()}}),mr=he({"node_modules/semver/internal/debug.js"(L,re){$();var ge=typeof rt=="object"&&rt.env&&rt.env.NODE_DEBUG&&/\bsemver\b/i.test(rt.env.NODE_DEBUG)?function(){for(var Ee=arguments.length,Pe=new Array(Ee),ie=0;ie{};re.exports=ge}}),rn=he({"node_modules/semver/internal/constants.js"(L,re){$();var ge="2.0.0",Ee=256,Pe=Number.MAX_SAFE_INTEGER||9007199254740991,ie=16;re.exports={SEMVER_SPEC_VERSION:ge,MAX_LENGTH:Ee,MAX_SAFE_INTEGER:Pe,MAX_SAFE_COMPONENT_LENGTH:ie}}}),wr=he({"node_modules/semver/internal/re.js"(L,re){$();var{MAX_SAFE_COMPONENT_LENGTH:ge}=rn(),Ee=mr();L=re.exports={};var Pe=L.re=[],ie=L.src=[],de=L.t={},Ue=0,Ge=(gt,ce,ve)=>{let Ve=Ue++;Ee(gt,Ve,ce),de[gt]=Ve,ie[Ve]=ce,Pe[Ve]=new RegExp(ce,ve?"g":void 0)};Ge("NUMERICIDENTIFIER","0|[1-9]\\d*"),Ge("NUMERICIDENTIFIERLOOSE","[0-9]+"),Ge("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),Ge("MAINVERSION",`(${ie[de.NUMERICIDENTIFIER]})\\.(${ie[de.NUMERICIDENTIFIER]})\\.(${ie[de.NUMERICIDENTIFIER]})`),Ge("MAINVERSIONLOOSE",`(${ie[de.NUMERICIDENTIFIERLOOSE]})\\.(${ie[de.NUMERICIDENTIFIERLOOSE]})\\.(${ie[de.NUMERICIDENTIFIERLOOSE]})`),Ge("PRERELEASEIDENTIFIER",`(?:${ie[de.NUMERICIDENTIFIER]}|${ie[de.NONNUMERICIDENTIFIER]})`),Ge("PRERELEASEIDENTIFIERLOOSE",`(?:${ie[de.NUMERICIDENTIFIERLOOSE]}|${ie[de.NONNUMERICIDENTIFIER]})`),Ge("PRERELEASE",`(?:-(${ie[de.PRERELEASEIDENTIFIER]}(?:\\.${ie[de.PRERELEASEIDENTIFIER]})*))`),Ge("PRERELEASELOOSE",`(?:-?(${ie[de.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${ie[de.PRERELEASEIDENTIFIERLOOSE]})*))`),Ge("BUILDIDENTIFIER","[0-9A-Za-z-]+"),Ge("BUILD",`(?:\\+(${ie[de.BUILDIDENTIFIER]}(?:\\.${ie[de.BUILDIDENTIFIER]})*))`),Ge("FULLPLAIN",`v?${ie[de.MAINVERSION]}${ie[de.PRERELEASE]}?${ie[de.BUILD]}?`),Ge("FULL",`^${ie[de.FULLPLAIN]}$`),Ge("LOOSEPLAIN",`[v=\\s]*${ie[de.MAINVERSIONLOOSE]}${ie[de.PRERELEASELOOSE]}?${ie[de.BUILD]}?`),Ge("LOOSE",`^${ie[de.LOOSEPLAIN]}$`),Ge("GTLT","((?:<|>)?=?)"),Ge("XRANGEIDENTIFIERLOOSE",`${ie[de.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),Ge("XRANGEIDENTIFIER",`${ie[de.NUMERICIDENTIFIER]}|x|X|\\*`),Ge("XRANGEPLAIN",`[v=\\s]*(${ie[de.XRANGEIDENTIFIER]})(?:\\.(${ie[de.XRANGEIDENTIFIER]})(?:\\.(${ie[de.XRANGEIDENTIFIER]})(?:${ie[de.PRERELEASE]})?${ie[de.BUILD]}?)?)?`),Ge("XRANGEPLAINLOOSE",`[v=\\s]*(${ie[de.XRANGEIDENTIFIERLOOSE]})(?:\\.(${ie[de.XRANGEIDENTIFIERLOOSE]})(?:\\.(${ie[de.XRANGEIDENTIFIERLOOSE]})(?:${ie[de.PRERELEASELOOSE]})?${ie[de.BUILD]}?)?)?`),Ge("XRANGE",`^${ie[de.GTLT]}\\s*${ie[de.XRANGEPLAIN]}$`),Ge("XRANGELOOSE",`^${ie[de.GTLT]}\\s*${ie[de.XRANGEPLAINLOOSE]}$`),Ge("COERCE",`(^|[^\\d])(\\d{1,${ge}})(?:\\.(\\d{1,${ge}}))?(?:\\.(\\d{1,${ge}}))?(?:$|[^\\d])`),Ge("COERCERTL",ie[de.COERCE],!0),Ge("LONETILDE","(?:~>?)"),Ge("TILDETRIM",`(\\s*)${ie[de.LONETILDE]}\\s+`,!0),L.tildeTrimReplace="$1~",Ge("TILDE",`^${ie[de.LONETILDE]}${ie[de.XRANGEPLAIN]}$`),Ge("TILDELOOSE",`^${ie[de.LONETILDE]}${ie[de.XRANGEPLAINLOOSE]}$`),Ge("LONECARET","(?:\\^)"),Ge("CARETTRIM",`(\\s*)${ie[de.LONECARET]}\\s+`,!0),L.caretTrimReplace="$1^",Ge("CARET",`^${ie[de.LONECARET]}${ie[de.XRANGEPLAIN]}$`),Ge("CARETLOOSE",`^${ie[de.LONECARET]}${ie[de.XRANGEPLAINLOOSE]}$`),Ge("COMPARATORLOOSE",`^${ie[de.GTLT]}\\s*(${ie[de.LOOSEPLAIN]})$|^$`),Ge("COMPARATOR",`^${ie[de.GTLT]}\\s*(${ie[de.FULLPLAIN]})$|^$`),Ge("COMPARATORTRIM",`(\\s*)${ie[de.GTLT]}\\s*(${ie[de.LOOSEPLAIN]}|${ie[de.XRANGEPLAIN]})`,!0),L.comparatorTrimReplace="$1$2$3",Ge("HYPHENRANGE",`^\\s*(${ie[de.XRANGEPLAIN]})\\s+-\\s+(${ie[de.XRANGEPLAIN]})\\s*$`),Ge("HYPHENRANGELOOSE",`^\\s*(${ie[de.XRANGEPLAINLOOSE]})\\s+-\\s+(${ie[de.XRANGEPLAINLOOSE]})\\s*$`),Ge("STAR","(<|>)?=?\\s*\\*"),Ge("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),Ge("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),Fr=he({"node_modules/semver/internal/parse-options.js"(L,re){$();var ge=["includePrerelease","loose","rtl"],Ee=Pe=>Pe?typeof Pe!="object"?{loose:!0}:ge.filter(ie=>Pe[ie]).reduce((ie,de)=>(ie[de]=!0,ie),{}):{};re.exports=Ee}}),Tn=he({"node_modules/semver/internal/identifiers.js"(L,re){$();var ge=/^[0-9]+$/,Ee=(ie,de)=>{let Ue=ge.test(ie),Ge=ge.test(de);return Ue&&Ge&&(ie=+ie,de=+de),ie===de?0:Ue&&!Ge?-1:Ge&&!Ue?1:ieEe(de,ie);re.exports={compareIdentifiers:Ee,rcompareIdentifiers:Pe}}}),Bn=he({"node_modules/semver/classes/semver.js"(L,re){$();var ge=mr(),{MAX_LENGTH:Ee,MAX_SAFE_INTEGER:Pe}=rn(),{re:ie,t:de}=wr(),Ue=Fr(),{compareIdentifiers:Ge}=Tn(),gt=class{constructor(ce,ve){if(ve=Ue(ve),ce instanceof gt){if(ce.loose===!!ve.loose&&ce.includePrerelease===!!ve.includePrerelease)return ce;ce=ce.version}else if(typeof ce!="string")throw new TypeError(`Invalid Version: ${ce}`);if(ce.length>Ee)throw new TypeError(`version is longer than ${Ee} characters`);ge("SemVer",ce,ve),this.options=ve,this.loose=!!ve.loose,this.includePrerelease=!!ve.includePrerelease;let Ve=ce.trim().match(ve.loose?ie[de.LOOSE]:ie[de.FULL]);if(!Ve)throw new TypeError(`Invalid Version: ${ce}`);if(this.raw=ce,this.major=+Ve[1],this.minor=+Ve[2],this.patch=+Ve[3],this.major>Pe||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Pe||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Pe||this.patch<0)throw new TypeError("Invalid patch version");Ve[4]?this.prerelease=Ve[4].split(".").map(He=>{if(/^[0-9]+$/.test(He)){let Je=+He;if(Je>=0&&Je=0;)typeof this.prerelease[Ve]=="number"&&(this.prerelease[Ve]++,Ve=-2);Ve===-1&&this.prerelease.push(0)}ve&&(Ge(this.prerelease[0],ve)===0?isNaN(this.prerelease[1])&&(this.prerelease=[ve,0]):this.prerelease=[ve,0]);break;default:throw new Error(`invalid increment argument: ${ce}`)}return this.format(),this.raw=this.version,this}};re.exports=gt}}),on=he({"node_modules/semver/functions/compare.js"(L,re){$();var ge=Bn(),Ee=(Pe,ie,de)=>new ge(Pe,de).compare(new ge(ie,de));re.exports=Ee}}),Nr=he({"node_modules/semver/functions/lt.js"(L,re){$();var ge=on(),Ee=(Pe,ie,de)=>ge(Pe,ie,de)<0;re.exports=Ee}}),Bu=he({"node_modules/semver/functions/gte.js"(L,re){$();var ge=on(),Ee=(Pe,ie,de)=>ge(Pe,ie,de)>=0;re.exports=Ee}}),Ri=he({"src/utils/arrayify.js"(L,re){$(),re.exports=(ge,Ee)=>Object.entries(ge).map(Pe=>{let[ie,de]=Pe;return Object.assign({[Ee]:ie},de)})}}),wu=he({"package.json"(L,re){re.exports={version:"2.8.8"}}}),Mi=he({"node_modules/outdent/lib/index.js"(L,re){$(),Object.defineProperty(L,"__esModule",{value:!0}),L.outdent=void 0;function ge(){for(var ct=[],kt=0;kttypeof ve=="string"||typeof ve=="function",choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"acorn",since:"2.6.0",description:"JavaScript"},{value:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:"2.3.0",description:"Ember / Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:Ge,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:ve=>typeof ve=="string"||typeof ve=="object",cliName:"plugin",cliCategory:Ee},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:Ge,description:ge` - Custom directory that contains prettier plugins in node_modules subdirectory. - Overrides default behavior when plugins are searched relatively to the location of Prettier. - Multiple values are accepted. - `,exception:ve=>typeof ve=="string"||typeof ve=="object",cliName:"plugin-search-dir",cliCategory:Ee},printWidth:{since:"0.0.0",category:Ge,type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:"1.4.0",category:gt,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:ge` - Format code ending at a given character offset (exclusive). - The range will extend forwards to the end of the selected statement. - This option cannot be used with --cursor-offset. - `,cliCategory:Pe},rangeStart:{since:"1.4.0",category:gt,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:ge` - Format code starting at a given character offset. - The range will extend backwards to the start of the first line containing the selected statement. - This option cannot be used with --cursor-offset. - `,cliCategory:Pe},requirePragma:{since:"1.7.0",category:gt,type:"boolean",default:!1,description:ge` - Require either '@prettier' or '@format' to be present in the file's first docblock comment - in order for it to be formatted. - `,cliCategory:de},tabWidth:{type:"int",category:Ge,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:Ge,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:Ge,type:"choice",default:[{since:"2.1.0",value:"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."}]}};re.exports={CATEGORY_CONFIG:Ee,CATEGORY_EDITOR:Pe,CATEGORY_FORMAT:ie,CATEGORY_OTHER:de,CATEGORY_OUTPUT:Ue,CATEGORY_GLOBAL:Ge,CATEGORY_SPECIAL:gt,options:ce}}}),En=he({"src/main/support.js"(L,re){$();var ge={compare:on(),lt:Nr(),gte:Bu()},Ee=Ri(),Pe=wu().version,ie=Nu().options;function de(){let{plugins:Ge=[],showUnreleased:gt=!1,showDeprecated:ce=!1,showInternal:ve=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ve=Pe.split("-",1)[0],He=Ge.flatMap(ct=>ct.languages||[]).filter(Qe),Je=Ee(Object.assign({},...Ge.map(ct=>{let{options:kt}=ct;return kt}),ie),"name").filter(ct=>Qe(ct)&&yt(ct)).sort((ct,kt)=>ct.name===kt.name?0:ct.name{ct=Object.assign({},ct),Array.isArray(ct.default)&&(ct.default=ct.default.length===1?ct.default[0].value:ct.default.filter(Qe).sort(($t,ir)=>ge.compare(ir.since,$t.since))[0].value),Array.isArray(ct.choices)&&(ct.choices=ct.choices.filter($t=>Qe($t)&&yt($t)),ct.name==="parser"&&Ue(ct,He,Ge));let kt=Object.fromEntries(Ge.filter($t=>$t.defaultOptions&&$t.defaultOptions[ct.name]!==void 0).map($t=>[$t.name,$t.defaultOptions[ct.name]]));return Object.assign(Object.assign({},ct),{},{pluginDefaults:kt})});return{languages:He,options:Je};function Qe(ct){return gt||!("since"in ct)||ct.since&&ge.gte(Ve,ct.since)}function yt(ct){return ce||!("deprecated"in ct)||ct.deprecated&&ge.lt(Ve,ct.deprecated)}function _t(ct){return ve?ct:Oe(ct,Se)}}function Ue(Ge,gt,ce){let ve=new Set(Ge.choices.map(Ve=>Ve.value));for(let Ve of gt)if(Ve.parsers){for(let He of Ve.parsers)if(!ve.has(He)){ve.add(He);let Je=ce.find(yt=>yt.parsers&&yt.parsers[He]),Qe=Ve.name;Je&&Je.name&&(Qe+=` (plugin: ${Je.name})`),Ge.choices.push({value:He,description:Qe})}}}re.exports={getSupportInfo:de}}}),qi=he({"src/utils/is-non-empty-array.js"(L,re){$();function ge(Ee){return Array.isArray(Ee)&&Ee.length>0}re.exports=ge}});function Vi(){let{onlyFirst:L=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},re=["[\\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(re,L?void 0:"g")}var wt=je({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){$()}});function _u(L){if(typeof L!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof L}\``);return L.replace(Vi(),"")}var Ui=je({"node_modules/strip-ansi/index.js"(){$(),wt()}});function Gi(L){return Number.isInteger(L)?L>=4352&&(L<=4447||L===9001||L===9002||11904<=L&&L<=12871&&L!==12351||12880<=L&&L<=19903||19968<=L&&L<=42182||43360<=L&&L<=43388||44032<=L&&L<=55203||63744<=L&&L<=64255||65040<=L&&L<=65049||65072<=L&&L<=65131||65281<=L&&L<=65376||65504<=L&&L<=65510||110592<=L&&L<=110593||127488<=L&&L<=127569||131072<=L&&L<=262141):!1}var ku=je({"node_modules/is-fullwidth-code-point/index.js"(){$()}}),Pu=he({"node_modules/emoji-regex/index.js"(L,re){$(),re.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\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|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\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]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\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-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}}}),Iu={};qe(Iu,{default:()=>Ji});function Ji(L){if(typeof L!="string"||L.length===0||(L=_u(L),L.length===0))return 0;L=L.replace((0,ju.default)()," ");let re=0;for(let ge=0;ge=127&&Ee<=159||Ee>=768&&Ee<=879||(Ee>65535&&ge++,re+=Gi(Ee)?2:1)}return re}var ju,Xi=je({"node_modules/string-width/index.js"(){$(),Ui(),ku(),ju=Ze(Pu())}}),tu=he({"src/utils/get-string-width.js"(L,re){$();var ge=(Xi(),nt(Iu)).default,Ee=/[^\x20-\x7F]/;function Pe(ie){return ie?Ee.test(ie)?ge(ie):ie.length:0}re.exports=Pe}}),ru=he({"src/utils/text/skip.js"(L,re){$();function ge(Ue){return(Ge,gt,ce)=>{let ve=ce&&ce.backwards;if(gt===!1)return!1;let{length:Ve}=Ge,He=gt;for(;He>=0&&Helt[lt.length-2];function yt(lt){return(mt,St,xt)=>{let Kt=xt&&xt.backwards;if(St===!1)return!1;let{length:sr}=mt,lr=St;for(;lr>=0&&lr2&&arguments[2]!==void 0?arguments[2]:{},xt=Ge(lt,St.backwards?mt-1:mt,St),Kt=He(lt,xt,St);return xt!==Kt}function ct(lt,mt,St){for(let xt=mt;xt2&&arguments[2]!==void 0?arguments[2]:{};return Ge(lt,St.backwards?mt-1:mt,St)!==mt}function Ut(lt,mt){let St=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,xt=0;for(let Kt=St;KtKr?sr:Kt}return lr}function le(lt,mt){let St=lt.slice(1,-1),xt=mt.parser==="json"||mt.parser==="json5"&&mt.quoteProps==="preserve"&&!mt.singleQuote?'"':mt.__isInHtmlAttribute?"'":z(St,mt.singleQuote?"'":'"').quote;return We(St,xt,!(mt.parser==="css"||mt.parser==="less"||mt.parser==="scss"||mt.__embeddedInHtml))}function We(lt,mt,St){let xt=mt==='"'?"'":'"',Kt=/\\(.)|(["'])/gs,sr=lt.replace(Kt,(lr,Qt,Kr)=>Qt===xt?Qt:Kr===mt?"\\"+Kr:Kr||(St&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(Qt)?Qt:"\\"+Qt));return mt+sr+mt}function Me(lt){return lt.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}function at(lt,mt){let St=lt.match(new RegExp(`(${ge(mt)})+`,"g"));return St===null?0:St.reduce((xt,Kt)=>Math.max(xt,Kt.length/mt.length),0)}function Jt(lt,mt){let St=lt.match(new RegExp(`(${ge(mt)})+`,"g"));if(St===null)return 0;let xt=new Map,Kt=0;for(let sr of St){let lr=sr.length/mt.length;xt.set(lr,!0),lr>Kt&&(Kt=lr)}for(let sr=1;sr{let{name:sr}=Kt;return sr.toLowerCase()===lt})||St.find(Kt=>{let{aliases:sr}=Kt;return Array.isArray(sr)&&sr.includes(lt)})||St.find(Kt=>{let{extensions:sr}=Kt;return Array.isArray(sr)&&sr.includes(`.${lt}`)});return xt&&xt.parsers[0]}function Ir(lt){return lt&<.type==="front-matter"}function Mr(lt){let mt=new WeakMap;return function(St){return mt.has(St)||mt.set(St,Symbol(lt)),mt.get(St)}}function or(lt){let mt=lt.type||lt.kind||"(unknown type)",St=String(lt.name||lt.id&&(typeof lt.id=="object"?lt.id.name:lt.id)||lt.key&&(typeof lt.key=="object"?lt.key.name:lt.key)||lt.value&&(typeof lt.value=="object"?"":String(lt.value))||lt.operator||"");return St.length>20&&(St=St.slice(0,19)+"…"),mt+(St?" "+St:"")}re.exports={inferParserByLanguage:xr,getStringWidth:de,getMaxContinuousCount:at,getMinNotPresentContinuousCount:Jt,getPenultimate:Qe,getLast:Ee,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:Je,getNextNonSpaceNonCommentCharacterIndex:st,getNextNonSpaceNonCommentCharacter:Ot,skip:yt,skipWhitespace:Ue,skipSpaces:Ge,skipToLineEnd:gt,skipEverythingButNewLine:ce,skipInlineComment:ve,skipTrailingComment:Ve,skipNewline:He,isNextLineEmptyAfterIndex:$t,isNextLineEmpty:ir,isPreviousLineEmpty:kt,hasNewline:_t,hasNewlineInRange:ct,hasSpaces:Vt,getAlignmentSize:Ut,getIndentSize:rr,getPreferredQuote:z,printString:le,printNumber:Me,makeString:We,addLeadingComment:Ar,addDanglingComment:Er,addTrailingComment:_r,isFrontMatterNode:Ir,isNonEmptyArray:ie,createGroupIdMapper:Mr}}}),uu=he({"vendors/html-tag-names.json"(L,re){re.exports={htmlTagNames:["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","element","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"]}}}),Cn=he({"src/language-html/utils/array-to-map.js"(L,re){$();function ge(Ee){let Pe=Object.create(null);for(let ie of Ee)Pe[ie]=!0;return Pe}re.exports=ge}}),Ru=he({"src/language-html/utils/html-tag-names.js"(L,re){$();var{htmlTagNames:ge}=uu(),Ee=Cn(),Pe=Ee(ge);re.exports=Pe}}),Mu=he({"vendors/html-element-attributes.json"(L,re){re.exports={htmlElementAttributes:{"*":["accesskey","autocapitalize","autofocus","class","contenteditable","dir","draggable","enterkeyhint","hidden","id","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","slot","spellcheck","style","tabindex","title","translate"],a:["charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","target","type"],applet:["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"],area:["alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","target","type"],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],base:["href","target"],basefont:["color","face","size"],blockquote:["cite"],body:["alink","background","bgcolor","link","text","vlink"],br:["clear"],button:["disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","type","value"],canvas:["height","width"],caption:["align"],col:["align","char","charoff","span","valign","width"],colgroup:["align","char","charoff","span","valign","width"],data:["value"],del:["cite","datetime"],details:["open"],dialog:["open"],dir:["compact"],div:["align"],dl:["compact"],embed:["height","src","type","width"],fieldset:["disabled","form","name"],font:["color","face","size"],form:["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"],frame:["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"],frameset:["cols","rows"],h1:["align"],h2:["align"],h3:["align"],h4:["align"],h5:["align"],h6:["align"],head:["profile"],hr:["align","noshade","size","width"],html:["manifest","version"],iframe:["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","loading","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"],img:["align","alt","border","crossorigin","decoding","height","hspace","ismap","loading","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"],input:["accept","align","alt","autocomplete","checked","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","readonly","required","size","src","step","type","usemap","value","width"],ins:["cite","datetime"],isindex:["prompt"],label:["for","form"],legend:["align"],li:["type","value"],link:["as","charset","color","crossorigin","disabled","href","hreflang","imagesizes","imagesrcset","integrity","media","referrerpolicy","rel","rev","sizes","target","type"],map:["name"],menu:["compact"],meta:["charset","content","http-equiv","media","name","scheme"],meter:["high","low","max","min","optimum","value"],object:["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","type","typemustmatch","usemap","vspace","width"],ol:["compact","reversed","start","type"],optgroup:["disabled","label"],option:["disabled","label","selected","value"],output:["for","form","name"],p:["align"],param:["name","type","value","valuetype"],pre:["width"],progress:["max","value"],q:["cite"],script:["async","charset","crossorigin","defer","integrity","language","nomodule","referrerpolicy","src","type"],select:["autocomplete","disabled","form","multiple","name","required","size"],slot:["name"],source:["height","media","sizes","src","srcset","type","width"],style:["media","type"],table:["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"],tbody:["align","char","charoff","valign"],td:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],textarea:["autocomplete","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","wrap"],tfoot:["align","char","charoff","valign"],th:["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"],thead:["align","char","charoff","valign"],time:["datetime"],tr:["align","bgcolor","char","charoff","valign"],track:["default","kind","label","src","srclang"],ul:["compact","type"],video:["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"]}}}}),qu=he({"src/language-html/utils/map-object.js"(L,re){$();function ge(Ee,Pe){let ie=Object.create(null);for(let[de,Ue]of Object.entries(Ee))ie[de]=Pe(Ue,de);return ie}re.exports=ge}}),zi=he({"src/language-html/utils/html-elements-attributes.js"(L,re){$();var{htmlElementAttributes:ge}=Mu(),Ee=qu(),Pe=Cn(),ie=Ee(ge,Pe);re.exports=ie}}),Gt=he({"src/language-html/utils/is-unknown-namespace.js"(L,re){$();function ge(Ee){return Ee.type==="element"&&!Ee.hasExplicitNamespace&&!["html","svg"].includes(Ee.namespace)}re.exports=ge}}),Vu=he({"src/language-html/pragma.js"(L,re){$();function ge(Pe){return/^\s*/.test(Pe)}function Ee(Pe){return` - -`+Pe.replace(/^\s*\n/,"")}re.exports={hasPragma:ge,insertPragma:Ee}}}),Uu=he({"src/language-html/ast.js"(L,re){$();var ge={attrs:!0,children:!0},Ee=new Set(["parent"]),Pe=class{constructor(){let de=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};for(let Ue of new Set([...Ee,...Object.keys(de)]))this.setProperty(Ue,de[Ue])}setProperty(de,Ue){if(this[de]!==Ue){if(de in ge&&(Ue=Ue.map(Ge=>this.createChild(Ge))),!Ee.has(de)){this[de]=Ue;return}Object.defineProperty(this,de,{value:Ue,enumerable:!1,configurable:!0})}}map(de){let Ue;for(let Ge in ge){let gt=this[Ge];if(gt){let ce=ie(gt,ve=>ve.map(de));Ue!==gt&&(Ue||(Ue=new Pe({parent:this.parent})),Ue.setProperty(Ge,ce))}}if(Ue)for(let Ge in this)Ge in ge||(Ue[Ge]=this[Ge]);return de(Ue||this)}walk(de){for(let Ue in ge){let Ge=this[Ue];if(Ge)for(let gt=0;gt[de.fullName,de.value]))}};function ie(de,Ue){let Ge=de.map(Ue);return Ge.some((gt,ce)=>gt!==de[ce])?Ge:de}re.exports={Node:Pe}}}),wn=he({"src/language-html/conditional-comment.js"(L,re){$();var{ParseSourceSpan:ge}=Zt(),Ee=[{regex:/^(\[if([^\]]*)]>)(.*?){try{return[!0,gt(He,Qe).children]}catch{return[!1,[{type:"text",value:He,sourceSpan:new ge(Qe,yt)}]]}})();return{type:"ieConditionalComment",complete:_t,children:ct,condition:Ve.trim().replace(/\s+/g," "),sourceSpan:Ge.sourceSpan,startSourceSpan:new ge(Ge.sourceSpan.start,Qe),endSourceSpan:new ge(yt,Ge.sourceSpan.end)}}function de(Ge,gt,ce){let[,ve]=ce;return{type:"ieConditionalStartComment",condition:ve.trim().replace(/\s+/g," "),sourceSpan:Ge.sourceSpan}}function Ue(Ge){return{type:"ieConditionalEndComment",sourceSpan:Ge.sourceSpan}}re.exports={parseIeConditionalComment:Pe}}}),iu=he({"src/language-html/loc.js"(L,re){$();function ge(Pe){return Pe.sourceSpan.start.offset}function Ee(Pe){return Pe.sourceSpan.end.offset}re.exports={locStart:ge,locEnd:Ee}}}),ln=he({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/tags.js"(L){$(),Object.defineProperty(L,"__esModule",{value:!0}),function(Ue){Ue[Ue.RAW_TEXT=0]="RAW_TEXT",Ue[Ue.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",Ue[Ue.PARSABLE_DATA=2]="PARSABLE_DATA"}(L.TagContentType||(L.TagContentType={}));function re(Ue){if(Ue[0]!=":")return[null,Ue];let Ge=Ue.indexOf(":",1);if(Ge==-1)throw new Error(`Unsupported format "${Ue}" expecting ":namespace:name"`);return[Ue.slice(1,Ge),Ue.slice(Ge+1)]}L.splitNsName=re;function ge(Ue){return re(Ue)[1]==="ng-container"}L.isNgContainer=ge;function Ee(Ue){return re(Ue)[1]==="ng-content"}L.isNgContent=Ee;function Pe(Ue){return re(Ue)[1]==="ng-template"}L.isNgTemplate=Pe;function ie(Ue){return Ue===null?null:re(Ue)[0]}L.getNsPrefix=ie;function de(Ue,Ge){return Ue?`:${Ue}:${Ge}`:Ge}L.mergeNsAndName=de,L.NAMED_ENTITIES={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:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",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:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",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:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",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:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",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:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",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:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",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:"▫",emsp:" ",emsp13:" ",emsp14:" ",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:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",GT:">",Gt:"≫",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",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",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",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:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",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:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",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:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",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:"ł",LT:"<",Lt:"≪",lt:"<",ltcc:"⪦",ltcir:"⩹",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:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",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:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",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:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",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:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",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:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",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:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",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:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",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:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",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:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",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:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",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:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",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:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",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:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",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:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",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:"‌"},L.NGSP_UNICODE="",L.NAMED_ENTITIES.ngsp=L.NGSP_UNICODE}}),su=he({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/html_tags.js"(L){$(),Object.defineProperty(L,"__esModule",{value:!0});var re=ln(),ge=class{constructor(){let{closedByChildren:de,implicitNamespacePrefix:Ue,contentType:Ge=re.TagContentType.PARSABLE_DATA,closedByParent:gt=!1,isVoid:ce=!1,ignoreFirstLf:ve=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.closedByChildren={},this.closedByParent=!1,this.canSelfClose=!1,de&&de.length>0&&de.forEach(Ve=>this.closedByChildren[Ve]=!0),this.isVoid=ce,this.closedByParent=gt||ce,this.implicitNamespacePrefix=Ue||null,this.contentType=Ge,this.ignoreFirstLf=ve}isClosedByChild(de){return this.isVoid||de.toLowerCase()in this.closedByChildren}};L.HtmlTagDefinition=ge;var Ee,Pe;function ie(de){return Pe||(Ee=new ge,Pe={base:new ge({isVoid:!0}),meta:new ge({isVoid:!0}),area:new ge({isVoid:!0}),embed:new ge({isVoid:!0}),link:new ge({isVoid:!0}),img:new ge({isVoid:!0}),input:new ge({isVoid:!0}),param:new ge({isVoid:!0}),hr:new ge({isVoid:!0}),br:new ge({isVoid:!0}),source:new ge({isVoid:!0}),track:new ge({isVoid:!0}),wbr:new ge({isVoid:!0}),p:new ge({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new ge({closedByChildren:["tbody","tfoot"]}),tbody:new ge({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new ge({closedByChildren:["tbody"],closedByParent:!0}),tr:new ge({closedByChildren:["tr"],closedByParent:!0}),td:new ge({closedByChildren:["td","th"],closedByParent:!0}),th:new ge({closedByChildren:["td","th"],closedByParent:!0}),col:new ge({isVoid:!0}),svg:new ge({implicitNamespacePrefix:"svg"}),math:new ge({implicitNamespacePrefix:"math"}),li:new ge({closedByChildren:["li"],closedByParent:!0}),dt:new ge({closedByChildren:["dt","dd"]}),dd:new ge({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new ge({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new ge({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new ge({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new ge({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new ge({closedByChildren:["optgroup"],closedByParent:!0}),option:new ge({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new ge({ignoreFirstLf:!0}),listing:new ge({ignoreFirstLf:!0}),style:new ge({contentType:re.TagContentType.RAW_TEXT}),script:new ge({contentType:re.TagContentType.RAW_TEXT}),title:new ge({contentType:re.TagContentType.ESCAPABLE_RAW_TEXT}),textarea:new ge({contentType:re.TagContentType.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),Pe[de]||Ee}L.getHtmlTagDefinition=ie}}),Gu=he({"node_modules/angular-html-parser/lib/compiler/src/ast_path.js"(L){$(),Object.defineProperty(L,"__esModule",{value:!0});var re=class{constructor(ge){let Ee=arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1;this.path=ge,this.position=Ee}get empty(){return!this.path||!this.path.length}get head(){return this.path[0]}get tail(){return this.path[this.path.length-1]}parentOf(ge){return ge&&this.path[this.path.indexOf(ge)-1]}childOf(ge){return this.path[this.path.indexOf(ge)+1]}first(ge){for(let Ee=this.path.length-1;Ee>=0;Ee--){let Pe=this.path[Ee];if(Pe instanceof ge)return Pe}}push(ge){this.path.push(ge)}pop(){return this.path.pop()}};L.AstPath=re}}),au=he({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/ast.js"(L){$(),Object.defineProperty(L,"__esModule",{value:!0});var re=Gu(),ge=class{constructor(Je,Qe,yt){this.value=Je,this.sourceSpan=Qe,this.i18n=yt,this.type="text"}visit(Je,Qe){return Je.visitText(this,Qe)}};L.Text=ge;var Ee=class{constructor(Je,Qe){this.value=Je,this.sourceSpan=Qe,this.type="cdata"}visit(Je,Qe){return Je.visitCdata(this,Qe)}};L.CDATA=Ee;var Pe=class{constructor(Je,Qe,yt,_t,ct,kt){this.switchValue=Je,this.type=Qe,this.cases=yt,this.sourceSpan=_t,this.switchValueSourceSpan=ct,this.i18n=kt}visit(Je,Qe){return Je.visitExpansion(this,Qe)}};L.Expansion=Pe;var ie=class{constructor(Je,Qe,yt,_t,ct){this.value=Je,this.expression=Qe,this.sourceSpan=yt,this.valueSourceSpan=_t,this.expSourceSpan=ct}visit(Je,Qe){return Je.visitExpansionCase(this,Qe)}};L.ExpansionCase=ie;var de=class{constructor(Je,Qe,yt){let _t=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,ct=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,kt=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null;this.name=Je,this.value=Qe,this.sourceSpan=yt,this.valueSpan=_t,this.nameSpan=ct,this.i18n=kt,this.type="attribute"}visit(Je,Qe){return Je.visitAttribute(this,Qe)}};L.Attribute=de;var Ue=class{constructor(Je,Qe,yt,_t){let ct=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null,kt=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null,$t=arguments.length>6&&arguments[6]!==void 0?arguments[6]:null,ir=arguments.length>7&&arguments[7]!==void 0?arguments[7]:null;this.name=Je,this.attrs=Qe,this.children=yt,this.sourceSpan=_t,this.startSourceSpan=ct,this.endSourceSpan=kt,this.nameSpan=$t,this.i18n=ir,this.type="element"}visit(Je,Qe){return Je.visitElement(this,Qe)}};L.Element=Ue;var Ge=class{constructor(Je,Qe){this.value=Je,this.sourceSpan=Qe,this.type="comment"}visit(Je,Qe){return Je.visitComment(this,Qe)}};L.Comment=Ge;var gt=class{constructor(Je,Qe){this.value=Je,this.sourceSpan=Qe,this.type="docType"}visit(Je,Qe){return Je.visitDocType(this,Qe)}};L.DocType=gt;function ce(Je,Qe){let yt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,_t=[],ct=Je.visit?kt=>Je.visit(kt,yt)||kt.visit(Je,yt):kt=>kt.visit(Je,yt);return Qe.forEach(kt=>{let $t=ct(kt);$t&&_t.push($t)}),_t}L.visitAll=ce;var ve=class{constructor(){}visitElement(Je,Qe){this.visitChildren(Qe,yt=>{yt(Je.attrs),yt(Je.children)})}visitAttribute(Je,Qe){}visitText(Je,Qe){}visitCdata(Je,Qe){}visitComment(Je,Qe){}visitDocType(Je,Qe){}visitExpansion(Je,Qe){return this.visitChildren(Qe,yt=>{yt(Je.cases)})}visitExpansionCase(Je,Qe){}visitChildren(Je,Qe){let yt=[],_t=this;function ct(kt){kt&&yt.push(ce(_t,kt,Je))}return Qe(ct),Array.prototype.concat.apply([],yt)}};L.RecursiveVisitor=ve;function Ve(Je){let Qe=Je.sourceSpan.start.offset,yt=Je.sourceSpan.end.offset;return Je instanceof Ue&&(Je.endSourceSpan?yt=Je.endSourceSpan.end.offset:Je.children&&Je.children.length&&(yt=Ve(Je.children[Je.children.length-1]).end)),{start:Qe,end:yt}}function He(Je,Qe){let yt=[],_t=new class extends ve{visit(ct,kt){let $t=Ve(ct);if($t.start<=Qe&&Qe<$t.end)yt.push(ct);else return!0}};return ce(_t,Je),new re.AstPath(yt,Qe)}L.findNode=He}}),Ju=he({"node_modules/angular-html-parser/lib/compiler/src/assertions.js"(L){$(),Object.defineProperty(L,"__esModule",{value:!0});function re(Pe,ie){if(ie!=null){if(!Array.isArray(ie))throw new Error(`Expected '${Pe}' to be an array of strings.`);for(let de=0;de]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];function Ee(Pe,ie){if(ie!=null&&!(Array.isArray(ie)&&ie.length==2))throw new Error(`Expected '${Pe}' to be an array, [start, end].`);if(ie!=null){let de=ie[0],Ue=ie[1];ge.forEach(Ge=>{if(Ge.test(de)||Ge.test(Ue))throw new Error(`['${de}', '${Ue}'] contains unusable interpolation symbol.`)})}}L.assertInterpolationSymbols=Ee}}),Xu=he({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/interpolation_config.js"(L){$(),Object.defineProperty(L,"__esModule",{value:!0});var re=Ju(),ge=class{constructor(Ee,Pe){this.start=Ee,this.end=Pe}static fromArray(Ee){return Ee?(re.assertInterpolationSymbols("interpolation",Ee),new ge(Ee[0],Ee[1])):L.DEFAULT_INTERPOLATION_CONFIG}};L.InterpolationConfig=ge,L.DEFAULT_INTERPOLATION_CONFIG=new ge("{{","}}")}}),ou=he({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/lexer.js"(L){$(),Object.defineProperty(L,"__esModule",{value:!0});var re=Ft(),ge=Zt(),Ee=Xu(),Pe=ln(),ie;(function(z){z[z.TAG_OPEN_START=0]="TAG_OPEN_START",z[z.TAG_OPEN_END=1]="TAG_OPEN_END",z[z.TAG_OPEN_END_VOID=2]="TAG_OPEN_END_VOID",z[z.TAG_CLOSE=3]="TAG_CLOSE",z[z.TEXT=4]="TEXT",z[z.ESCAPABLE_RAW_TEXT=5]="ESCAPABLE_RAW_TEXT",z[z.RAW_TEXT=6]="RAW_TEXT",z[z.COMMENT_START=7]="COMMENT_START",z[z.COMMENT_END=8]="COMMENT_END",z[z.CDATA_START=9]="CDATA_START",z[z.CDATA_END=10]="CDATA_END",z[z.ATTR_NAME=11]="ATTR_NAME",z[z.ATTR_QUOTE=12]="ATTR_QUOTE",z[z.ATTR_VALUE=13]="ATTR_VALUE",z[z.DOC_TYPE_START=14]="DOC_TYPE_START",z[z.DOC_TYPE_END=15]="DOC_TYPE_END",z[z.EXPANSION_FORM_START=16]="EXPANSION_FORM_START",z[z.EXPANSION_CASE_VALUE=17]="EXPANSION_CASE_VALUE",z[z.EXPANSION_CASE_EXP_START=18]="EXPANSION_CASE_EXP_START",z[z.EXPANSION_CASE_EXP_END=19]="EXPANSION_CASE_EXP_END",z[z.EXPANSION_FORM_END=20]="EXPANSION_FORM_END",z[z.EOF=21]="EOF"})(ie=L.TokenType||(L.TokenType={}));var de=class{constructor(z,le,We){this.type=z,this.parts=le,this.sourceSpan=We}};L.Token=de;var Ue=class extends ge.ParseError{constructor(z,le,We){super(We,z),this.tokenType=le}};L.TokenError=Ue;var Ge=class{constructor(z,le){this.tokens=z,this.errors=le}};L.TokenizeResult=Ge;function gt(z,le,We){let Me=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return new Je(new ge.ParseSourceFile(z,le),We,Me).tokenize()}L.tokenize=gt;var ce=/\r\n?/g;function ve(z){return`Unexpected character "${z===re.$EOF?"EOF":String.fromCharCode(z)}"`}function Ve(z){return`Unknown entity "${z}" - use the "&#;" or "&#x;" syntax`}var He=class{constructor(z){this.error=z}},Je=class{constructor(z,le,We){this._getTagContentType=le,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this._tokenizeIcu=We.tokenizeExpansionForms||!1,this._interpolationConfig=We.interpolationConfig||Ee.DEFAULT_INTERPOLATION_CONFIG,this._leadingTriviaCodePoints=We.leadingTriviaChars&&We.leadingTriviaChars.map(at=>at.codePointAt(0)||0),this._canSelfClose=We.canSelfClose||!1,this._allowHtmComponentClosingTags=We.allowHtmComponentClosingTags||!1;let Me=We.range||{endPos:z.content.length,startPos:0,startLine:0,startCol:0};this._cursor=We.escapedString?new Ut(z,Me):new Vt(z,Me);try{this._cursor.init()}catch(at){this.handleError(at)}}_processCarriageReturns(z){return z.replace(ce,` -`)}tokenize(){for(;this._cursor.peek()!==re.$EOF;){let z=this._cursor.clone();try{if(this._attemptCharCode(re.$LT))if(this._attemptCharCode(re.$BANG))this._attemptStr("[CDATA[")?this._consumeCdata(z):this._attemptStr("--")?this._consumeComment(z):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(z):this._consumeBogusComment(z);else if(this._attemptCharCode(re.$SLASH))this._consumeTagClose(z);else{let le=this._cursor.clone();this._attemptCharCode(re.$QUESTION)?(this._cursor=le,this._consumeBogusComment(z)):this._consumeTagOpen(z)}else this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeText()}catch(le){this.handleError(le)}}return this._beginToken(ie.EOF),this._endToken([]),new Ge(Ot(this.tokens),this.errors)}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if($t(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===re.$RBRACE){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(z){let le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._cursor.clone();this._currentTokenStart=le,this._currentTokenType=z}_endToken(z){let le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._cursor.clone();if(this._currentTokenStart===null)throw new Ue("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(le));if(this._currentTokenType===null)throw new Ue("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));let We=new de(this._currentTokenType,z,this._cursor.getSpan(this._currentTokenStart,this._leadingTriviaCodePoints));return this.tokens.push(We),this._currentTokenStart=null,this._currentTokenType=null,We}_createError(z,le){this._isInExpansionForm()&&(z+=` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);let We=new Ue(z,this._currentTokenType,le);return this._currentTokenStart=null,this._currentTokenType=null,new He(We)}handleError(z){if(z instanceof rr&&(z=this._createError(z.msg,this._cursor.getSpan(z.cursor))),z instanceof He)this.errors.push(z.error);else throw z}_attemptCharCode(z){return this._cursor.peek()===z?(this._cursor.advance(),!0):!1}_attemptCharCodeCaseInsensitive(z){return ir(this._cursor.peek(),z)?(this._cursor.advance(),!0):!1}_requireCharCode(z){let le=this._cursor.clone();if(!this._attemptCharCode(z))throw this._createError(ve(this._cursor.peek()),this._cursor.getSpan(le))}_attemptStr(z){let le=z.length;if(this._cursor.charsLeft()this._attemptStr("-->")),this._beginToken(ie.COMMENT_END),this._requireStr("-->"),this._endToken([])}_consumeBogusComment(z){this._beginToken(ie.COMMENT_START,z),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===re.$GT),this._beginToken(ie.COMMENT_END),this._cursor.advance(),this._endToken([])}_consumeCdata(z){this._beginToken(ie.CDATA_START,z),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("]]>")),this._beginToken(ie.CDATA_END),this._requireStr("]]>"),this._endToken([])}_consumeDocType(z){this._beginToken(ie.DOC_TYPE_START,z),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===re.$GT),this._beginToken(ie.DOC_TYPE_END),this._cursor.advance(),this._endToken([])}_consumePrefixAndName(){let z=this._cursor.clone(),le="";for(;this._cursor.peek()!==re.$COLON&&!_t(this._cursor.peek());)this._cursor.advance();let We;this._cursor.peek()===re.$COLON?(le=this._cursor.getChars(z),this._cursor.advance(),We=this._cursor.clone()):We=z,this._requireCharCodeUntilFn(yt,le===""?0:1);let Me=this._cursor.getChars(We);return[le,Me]}_consumeTagOpen(z){let le,We,Me,at=this.tokens.length,Jt=this._cursor.clone(),er=[];try{if(!re.isAsciiLetter(this._cursor.peek()))throw this._createError(ve(this._cursor.peek()),this._cursor.getSpan(z));for(Me=this._consumeTagOpenStart(z),We=Me.parts[0],le=Me.parts[1],this._attemptCharCodeUntilFn(Qe);this._cursor.peek()!==re.$SLASH&&this._cursor.peek()!==re.$GT;){let[Er,_r]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(Qe),this._attemptCharCode(re.$EQ)){this._attemptCharCodeUntilFn(Qe);let xr=this._consumeAttributeValue();er.push({prefix:Er,name:_r,value:xr})}else er.push({prefix:Er,name:_r});this._attemptCharCodeUntilFn(Qe)}this._consumeTagOpenEnd()}catch(Er){if(Er instanceof He){this._cursor=Jt,Me&&(this.tokens.length=at),this._beginToken(ie.TEXT,z),this._endToken(["<"]);return}throw Er}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===ie.TAG_OPEN_END_VOID)return;let Ar=this._getTagContentType(le,We,this._fullNameStack.length>0,er);this._handleFullNameStackForTagOpen(We,le),Ar===Pe.TagContentType.RAW_TEXT?this._consumeRawTextWithTagClose(We,le,!1):Ar===Pe.TagContentType.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(We,le,!0)}_consumeRawTextWithTagClose(z,le,We){this._consumeRawText(We,()=>!this._attemptCharCode(re.$LT)||!this._attemptCharCode(re.$SLASH)||(this._attemptCharCodeUntilFn(Qe),!this._attemptStrCaseInsensitive(z?`${z}:${le}`:le))?!1:(this._attemptCharCodeUntilFn(Qe),this._attemptCharCode(re.$GT))),this._beginToken(ie.TAG_CLOSE),this._requireCharCodeUntilFn(Me=>Me===re.$GT,3),this._cursor.advance(),this._endToken([z,le]),this._handleFullNameStackForTagClose(z,le)}_consumeTagOpenStart(z){this._beginToken(ie.TAG_OPEN_START,z);let le=this._consumePrefixAndName();return this._endToken(le)}_consumeAttributeName(){let z=this._cursor.peek();if(z===re.$SQ||z===re.$DQ)throw this._createError(ve(z),this._cursor.getSpan());this._beginToken(ie.ATTR_NAME);let le=this._consumePrefixAndName();return this._endToken(le),le}_consumeAttributeValue(){let z;if(this._cursor.peek()===re.$SQ||this._cursor.peek()===re.$DQ){this._beginToken(ie.ATTR_QUOTE);let le=this._cursor.peek();this._cursor.advance(),this._endToken([String.fromCodePoint(le)]),this._beginToken(ie.ATTR_VALUE);let We=[];for(;this._cursor.peek()!==le;)We.push(this._readChar(!0));z=this._processCarriageReturns(We.join("")),this._endToken([z]),this._beginToken(ie.ATTR_QUOTE),this._cursor.advance(),this._endToken([String.fromCodePoint(le)])}else{this._beginToken(ie.ATTR_VALUE);let le=this._cursor.clone();this._requireCharCodeUntilFn(yt,1),z=this._processCarriageReturns(this._cursor.getChars(le)),this._endToken([z])}return z}_consumeTagOpenEnd(){let z=this._attemptCharCode(re.$SLASH)?ie.TAG_OPEN_END_VOID:ie.TAG_OPEN_END;this._beginToken(z),this._requireCharCode(re.$GT),this._endToken([])}_consumeTagClose(z){if(this._beginToken(ie.TAG_CLOSE,z),this._attemptCharCodeUntilFn(Qe),this._allowHtmComponentClosingTags&&this._attemptCharCode(re.$SLASH))this._attemptCharCodeUntilFn(Qe),this._requireCharCode(re.$GT),this._endToken([]);else{let[le,We]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(Qe),this._requireCharCode(re.$GT),this._endToken([le,We]),this._handleFullNameStackForTagClose(le,We)}}_consumeExpansionFormStart(){this._beginToken(ie.EXPANSION_FORM_START),this._requireCharCode(re.$LBRACE),this._endToken([]),this._expansionCaseStack.push(ie.EXPANSION_FORM_START),this._beginToken(ie.RAW_TEXT);let z=this._readUntil(re.$COMMA);this._endToken([z]),this._requireCharCode(re.$COMMA),this._attemptCharCodeUntilFn(Qe),this._beginToken(ie.RAW_TEXT);let le=this._readUntil(re.$COMMA);this._endToken([le]),this._requireCharCode(re.$COMMA),this._attemptCharCodeUntilFn(Qe)}_consumeExpansionCaseStart(){this._beginToken(ie.EXPANSION_CASE_VALUE);let z=this._readUntil(re.$LBRACE).trim();this._endToken([z]),this._attemptCharCodeUntilFn(Qe),this._beginToken(ie.EXPANSION_CASE_EXP_START),this._requireCharCode(re.$LBRACE),this._endToken([]),this._attemptCharCodeUntilFn(Qe),this._expansionCaseStack.push(ie.EXPANSION_CASE_EXP_START)}_consumeExpansionCaseEnd(){this._beginToken(ie.EXPANSION_CASE_EXP_END),this._requireCharCode(re.$RBRACE),this._endToken([]),this._attemptCharCodeUntilFn(Qe),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(ie.EXPANSION_FORM_END),this._requireCharCode(re.$RBRACE),this._endToken([]),this._expansionCaseStack.pop()}_consumeText(){let z=this._cursor.clone();this._beginToken(ie.TEXT,z);let le=[];do this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(le.push(this._interpolationConfig.start),this._inInterpolation=!0):this._interpolationConfig&&this._inInterpolation&&this._attemptStr(this._interpolationConfig.end)?(le.push(this._interpolationConfig.end),this._inInterpolation=!1):le.push(this._readChar(!0));while(!this._isTextEnd());this._endToken([this._processCarriageReturns(le.join(""))])}_isTextEnd(){return!!(this._cursor.peek()===re.$LT||this._cursor.peek()===re.$EOF||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===re.$RBRACE&&this._isInExpansionCase()))}_readUntil(z){let le=this._cursor.clone();return this._attemptUntilChar(z),this._cursor.getChars(le)}_isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===ie.EXPANSION_CASE_EXP_START}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===ie.EXPANSION_FORM_START}isExpansionFormStart(){if(this._cursor.peek()!==re.$LBRACE)return!1;if(this._interpolationConfig){let z=this._cursor.clone(),le=this._attemptStr(this._interpolationConfig.start);return this._cursor=z,!le}return!0}_handleFullNameStackForTagOpen(z,le){let We=Pe.mergeNsAndName(z,le);(this._fullNameStack.length===0||this._fullNameStack[this._fullNameStack.length-1]===We)&&this._fullNameStack.push(We)}_handleFullNameStackForTagClose(z,le){let We=Pe.mergeNsAndName(z,le);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]===We&&this._fullNameStack.pop()}};function Qe(z){return!re.isWhitespace(z)||z===re.$EOF}function yt(z){return re.isWhitespace(z)||z===re.$GT||z===re.$SLASH||z===re.$SQ||z===re.$DQ||z===re.$EQ}function _t(z){return(zre.$9)}function ct(z){return z==re.$SEMICOLON||z==re.$EOF||!re.isAsciiHexDigit(z)}function kt(z){return z==re.$SEMICOLON||z==re.$EOF||!re.isAsciiLetter(z)}function $t(z){return z===re.$EQ||re.isAsciiLetter(z)||re.isDigit(z)}function ir(z,le){return st(z)==st(le)}function st(z){return z>=re.$a&&z<=re.$z?z-re.$a+re.$A:z}function Ot(z){let le=[],We;for(let Me=0;Me0&&le.indexOf(z.peek())!==-1;)z.advance();return new ge.ParseSourceSpan(new ge.ParseLocation(z.file,z.state.offset,z.state.line,z.state.column),new ge.ParseLocation(this.file,this.state.offset,this.state.line,this.state.column))}getChars(z){return this.input.substring(z.state.offset,this.state.offset)}charAt(z){return this.input.charCodeAt(z)}advanceState(z){if(z.offset>=this.end)throw this.state=z,new rr('Unexpected character "EOF"',this);let le=this.charAt(z.offset);le===re.$LF?(z.line++,z.column=0):re.isNewLine(le)||z.column++,z.offset++,this.updatePeek(z)}updatePeek(z){z.peek=z.offset>=this.end?re.$EOF:this.charAt(z.offset)}},Ut=class extends Vt{constructor(z,le){z instanceof Ut?(super(z),this.internalState=Object.assign({},z.internalState)):(super(z,le),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new Ut(this)}getChars(z){let le=z.clone(),We="";for(;le.internalState.offsetthis.internalState.peek;if(z()===re.$BACKSLASH)if(this.internalState=Object.assign({},this.state),this.advanceState(this.internalState),z()===re.$n)this.state.peek=re.$LF;else if(z()===re.$r)this.state.peek=re.$CR;else if(z()===re.$v)this.state.peek=re.$VTAB;else if(z()===re.$t)this.state.peek=re.$TAB;else if(z()===re.$b)this.state.peek=re.$BSPACE;else if(z()===re.$f)this.state.peek=re.$FF;else if(z()===re.$u)if(this.advanceState(this.internalState),z()===re.$LBRACE){this.advanceState(this.internalState);let le=this.clone(),We=0;for(;z()!==re.$RBRACE;)this.advanceState(this.internalState),We++;this.state.peek=this.decodeHexDigits(le,We)}else{let le=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(le,4)}else if(z()===re.$x){this.advanceState(this.internalState);let le=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(le,2)}else if(re.isOctalDigit(z())){let le="",We=0,Me=this.clone();for(;re.isOctalDigit(z())&&We<3;)Me=this.clone(),le+=String.fromCodePoint(z()),this.advanceState(this.internalState),We++;this.state.peek=parseInt(le,8),this.internalState=Me.internalState}else re.isNewLine(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(z,le){let We=this.input.substr(z.internalState.offset,le),Me=parseInt(We,16);if(isNaN(Me))throw z.state=z.internalState,new rr("Invalid hexadecimal escape sequence",z);return Me}},rr=class{constructor(z,le){this.msg=z,this.cursor=le}};L.CursorError=rr}}),lu=he({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/parser.js"(L){$(),Object.defineProperty(L,"__esModule",{value:!0});var re=Zt(),ge=au(),Ee=ou(),Pe=ln(),ie=class extends re.ParseError{constructor(ce,ve,Ve){super(ve,Ve),this.elementName=ce}static create(ce,ve,Ve){return new ie(ce,ve,Ve)}};L.TreeError=ie;var de=class{constructor(ce,ve){this.rootNodes=ce,this.errors=ve}};L.ParseTreeResult=de;var Ue=class{constructor(ce){this.getTagDefinition=ce}parse(ce,ve,Ve){let He=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Je=arguments.length>4?arguments[4]:void 0,Qe=Vt=>function(Ut){for(var rr=arguments.length,z=new Array(rr>1?rr-1:0),le=1;leyt(Vt).contentType,ct=He?Je:Qe(Je),kt=Je?(Vt,Ut,rr,z)=>{let le=ct(Vt,Ut,rr,z);return le!==void 0?le:_t(Vt)}:_t,$t=Ee.tokenize(ce,ve,kt,Ve),ir=Ve&&Ve.canSelfClose||!1,st=Ve&&Ve.allowHtmComponentClosingTags||!1,Ot=new Ge($t.tokens,yt,ir,st,He).build();return new de(Ot.rootNodes,$t.errors.concat(Ot.errors))}};L.Parser=Ue;var Ge=class{constructor(ce,ve,Ve,He,Je){this.tokens=ce,this.getTagDefinition=ve,this.canSelfClose=Ve,this.allowHtmComponentClosingTags=He,this.isTagNameCaseSensitive=Je,this._index=-1,this._rootNodes=[],this._errors=[],this._elementStack=[],this._advance()}build(){for(;this._peek.type!==Ee.TokenType.EOF;)this._peek.type===Ee.TokenType.TAG_OPEN_START?this._consumeStartTag(this._advance()):this._peek.type===Ee.TokenType.TAG_CLOSE?(this._closeVoidElement(),this._consumeEndTag(this._advance())):this._peek.type===Ee.TokenType.CDATA_START?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===Ee.TokenType.COMMENT_START?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===Ee.TokenType.TEXT||this._peek.type===Ee.TokenType.RAW_TEXT||this._peek.type===Ee.TokenType.ESCAPABLE_RAW_TEXT?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===Ee.TokenType.EXPANSION_FORM_START?this._consumeExpansion(this._advance()):this._peek.type===Ee.TokenType.DOC_TYPE_START?this._consumeDocType(this._advance()):this._advance();return new de(this._rootNodes,this._errors)}_advance(){let ce=this._peek;return this._index0)return this._errors=this._errors.concat(Je.errors),null;let Qe=new re.ParseSourceSpan(ce.sourceSpan.start,He.sourceSpan.end),yt=new re.ParseSourceSpan(ve.sourceSpan.start,He.sourceSpan.end);return new ge.ExpansionCase(ce.parts[0],Je.rootNodes,Qe,ce.sourceSpan,yt)}_collectExpansionExpTokens(ce){let ve=[],Ve=[Ee.TokenType.EXPANSION_CASE_EXP_START];for(;;){if((this._peek.type===Ee.TokenType.EXPANSION_FORM_START||this._peek.type===Ee.TokenType.EXPANSION_CASE_EXP_START)&&Ve.push(this._peek.type),this._peek.type===Ee.TokenType.EXPANSION_CASE_EXP_END)if(gt(Ve,Ee.TokenType.EXPANSION_CASE_EXP_START)){if(Ve.pop(),Ve.length==0)return ve}else return this._errors.push(ie.create(null,ce.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===Ee.TokenType.EXPANSION_FORM_END)if(gt(Ve,Ee.TokenType.EXPANSION_FORM_START))Ve.pop();else return this._errors.push(ie.create(null,ce.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===Ee.TokenType.EOF)return this._errors.push(ie.create(null,ce.sourceSpan,"Invalid ICU message. Missing '}'.")),null;ve.push(this._advance())}}_getText(ce){let ve=ce.parts[0];if(ve.length>0&&ve[0]==` -`){let Ve=this._getParentElement();Ve!=null&&Ve.children.length==0&&this.getTagDefinition(Ve.name).ignoreFirstLf&&(ve=ve.substring(1))}return ve}_consumeText(ce){let ve=this._getText(ce);ve.length>0&&this._addToParent(new ge.Text(ve,ce.sourceSpan))}_closeVoidElement(){let ce=this._getParentElement();ce&&this.getTagDefinition(ce.name).isVoid&&this._elementStack.pop()}_consumeStartTag(ce){let ve=ce.parts[0],Ve=ce.parts[1],He=[];for(;this._peek.type===Ee.TokenType.ATTR_NAME;)He.push(this._consumeAttr(this._advance()));let Je=this._getElementFullName(ve,Ve,this._getParentElement()),Qe=!1;if(this._peek.type===Ee.TokenType.TAG_OPEN_END_VOID){this._advance(),Qe=!0;let $t=this.getTagDefinition(Je);this.canSelfClose||$t.canSelfClose||Pe.getNsPrefix(Je)!==null||$t.isVoid||this._errors.push(ie.create(Je,ce.sourceSpan,`Only void and foreign elements can be self closed "${ce.parts[1]}"`))}else this._peek.type===Ee.TokenType.TAG_OPEN_END&&(this._advance(),Qe=!1);let yt=this._peek.sourceSpan.start,_t=new re.ParseSourceSpan(ce.sourceSpan.start,yt),ct=new re.ParseSourceSpan(ce.sourceSpan.start.moveBy(1),ce.sourceSpan.end),kt=new ge.Element(Je,He,[],_t,_t,void 0,ct);this._pushElement(kt),Qe&&(this._popElement(Je),kt.endSourceSpan=_t)}_pushElement(ce){let ve=this._getParentElement();ve&&this.getTagDefinition(ve.name).isClosedByChild(ce.name)&&this._elementStack.pop(),this._addToParent(ce),this._elementStack.push(ce)}_consumeEndTag(ce){let ve=this.allowHtmComponentClosingTags&&ce.parts.length===0?null:this._getElementFullName(ce.parts[0],ce.parts[1],this._getParentElement());if(this._getParentElement()&&(this._getParentElement().endSourceSpan=ce.sourceSpan),ve&&this.getTagDefinition(ve).isVoid)this._errors.push(ie.create(ve,ce.sourceSpan,`Void elements do not have end tags "${ce.parts[1]}"`));else if(!this._popElement(ve)){let Ve=`Unexpected closing tag "${ve}". 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(ie.create(ve,ce.sourceSpan,Ve))}}_popElement(ce){for(let ve=this._elementStack.length-1;ve>=0;ve--){let Ve=this._elementStack[ve];if(!ce||(Pe.getNsPrefix(Ve.name)?Ve.name==ce:Ve.name.toLowerCase()==ce.toLowerCase()))return this._elementStack.splice(ve,this._elementStack.length-ve),!0;if(!this.getTagDefinition(Ve.name).closedByParent)return!1}return!1}_consumeAttr(ce){let ve=Pe.mergeNsAndName(ce.parts[0],ce.parts[1]),Ve=ce.sourceSpan.end,He="",Je,Qe;if(this._peek.type===Ee.TokenType.ATTR_QUOTE&&(Qe=this._advance().sourceSpan.start),this._peek.type===Ee.TokenType.ATTR_VALUE){let yt=this._advance();He=yt.parts[0],Ve=yt.sourceSpan.end,Je=yt.sourceSpan}return this._peek.type===Ee.TokenType.ATTR_QUOTE&&(Ve=this._advance().sourceSpan.end,Je=new re.ParseSourceSpan(Qe,Ve)),new ge.Attribute(ve,He,new re.ParseSourceSpan(ce.sourceSpan.start,Ve),Je,ce.sourceSpan)}_getParentElement(){return this._elementStack.length>0?this._elementStack[this._elementStack.length-1]:null}_getParentElementSkippingContainers(){let ce=null;for(let ve=this._elementStack.length-1;ve>=0;ve--){if(!Pe.isNgContainer(this._elementStack[ve].name))return{parent:this._elementStack[ve],container:ce};ce=this._elementStack[ve]}return{parent:null,container:ce}}_addToParent(ce){let ve=this._getParentElement();ve!=null?ve.children.push(ce):this._rootNodes.push(ce)}_insertBeforeContainer(ce,ve,Ve){if(!ve)this._addToParent(Ve),this._elementStack.push(Ve);else{if(ce){let He=ce.children.indexOf(ve);ce.children[He]=Ve}else this._rootNodes.push(Ve);Ve.children.push(ve),this._elementStack.splice(this._elementStack.indexOf(ve),0,Ve)}}_getElementFullName(ce,ve,Ve){return ce===""&&(ce=this.getTagDefinition(ve).implicitNamespacePrefix||"",ce===""&&Ve!=null&&(ce=Pe.getNsPrefix(Ve.name))),Pe.mergeNsAndName(ce,ve)}};function gt(ce,ve){return ce.length>0&&ce[ce.length-1]===ve}}}),Nn=he({"node_modules/angular-html-parser/lib/compiler/src/ml_parser/html_parser.js"(L){$(),Object.defineProperty(L,"__esModule",{value:!0});var re=su(),ge=lu(),Ee=lu();L.ParseTreeResult=Ee.ParseTreeResult,L.TreeError=Ee.TreeError;var Pe=class extends ge.Parser{constructor(){super(re.getHtmlTagDefinition)}parse(ie,de,Ue){let Ge=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,gt=arguments.length>4?arguments[4]:void 0;return super.parse(ie,de,Ue,Ge,gt)}};L.HtmlParser=Pe}}),_n=he({"node_modules/angular-html-parser/lib/angular-html-parser/src/index.js"(L){$(),Object.defineProperty(L,"__esModule",{value:!0});var re=Nn(),ge=ln();L.TagContentType=ge.TagContentType;var Ee=null,Pe=()=>(Ee||(Ee=new re.HtmlParser),Ee);function ie(de){let Ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{canSelfClose:Ge=!1,allowHtmComponentClosingTags:gt=!1,isTagNameCaseSensitive:ce=!1,getTagContentType:ve}=Ue;return Pe().parse(de,"angular-html-parser",{tokenizeExpansionForms:!1,interpolationConfig:void 0,canSelfClose:Ge,allowHtmComponentClosingTags:gt},ce,ve)}L.parse=ie}});$();var{ParseSourceSpan:pn,ParseLocation:pu,ParseSourceFile:Wu}=Zt(),Hi=ue(),Yi=yr(),Fn=Pr(),{inferParserByLanguage:Yr}=nu(),Ki=Ru(),cu=zi(),zu=Gt(),{hasPragma:Qi}=Vu(),{Node:Zi}=Uu(),{parseIeConditionalComment:es}=wn(),{locStart:ts,locEnd:rs}=iu();function ns(L,re,ge){let{canSelfClose:Ee,normalizeTagName:Pe,normalizeAttributeName:ie,allowHtmComponentClosingTags:de,isTagNameCaseSensitive:Ue,getTagContentType:Ge}=re,gt=_n(),{RecursiveVisitor:ce,visitAll:ve}=au(),{ParseSourceSpan:Ve}=Zt(),{getHtmlTagDefinition:He}=su(),{rootNodes:Je,errors:Qe}=gt.parse(L,{canSelfClose:Ee,allowHtmComponentClosingTags:de,isTagNameCaseSensitive:Ue,getTagContentType:Ge});if(ge.parser==="vue")if(Je.some(st=>st.type==="docType"&&st.value==="html"||st.type==="element"&&st.name.toLowerCase()==="html")){Ee=!0,Pe=!0,ie=!0,de=!0,Ue=!1;let st=gt.parse(L,{canSelfClose:Ee,allowHtmComponentClosingTags:de,isTagNameCaseSensitive:Ue});Je=st.rootNodes,Qe=st.errors}else{let st=Ot=>{if(!Ot||Ot.type!=="element"||Ot.name!=="template")return!1;let Vt=Ot.attrs.find(rr=>rr.name==="lang"),Ut=Vt&&Vt.value;return!Ut||Yr(Ut,ge)==="html"};if(Je.some(st)){let Ot,Vt=()=>gt.parse(L,{canSelfClose:Ee,allowHtmComponentClosingTags:de,isTagNameCaseSensitive:Ue}),Ut=()=>Ot||(Ot=Vt()),rr=z=>Ut().rootNodes.find(le=>{let{startSourceSpan:We}=le;return We&&We.start.offset===z.startSourceSpan.start.offset});for(let z=0;z0){let{msg:st,span:{start:Ot,end:Vt}}=Qe[0];throw Fn(st,{start:{line:Ot.line+1,column:Ot.col+1},end:{line:Vt.line+1,column:Vt.col+1}})}let yt=st=>{let Ot=st.name.startsWith(":")?st.name.slice(1).split(":")[0]:null,Vt=st.nameSpan.toString(),Ut=Ot!==null&&Vt.startsWith(`${Ot}:`),rr=Ut?Vt.slice(Ot.length+1):Vt;st.name=rr,st.namespace=Ot,st.hasExplicitNamespace=Ut},_t=st=>{switch(st.type){case"element":yt(st);for(let Ot of st.attrs)yt(Ot),Ot.valueSpan?(Ot.value=Ot.valueSpan.toString(),/["']/.test(Ot.value[0])&&(Ot.value=Ot.value.slice(1,-1))):Ot.value=null;break;case"comment":st.value=st.sourceSpan.toString().slice(4,-3);break;case"text":st.value=st.sourceSpan.toString();break}},ct=(st,Ot)=>{let Vt=st.toLowerCase();return Ot(Vt)?Vt:st},kt=st=>{if(st.type==="element"&&(Pe&&(!st.namespace||st.namespace===st.tagDefinition.implicitNamespacePrefix||zu(st))&&(st.name=ct(st.name,Ot=>Ot in Ki)),ie)){let Ot=cu[st.name]||Object.create(null);for(let Vt of st.attrs)Vt.namespace||(Vt.name=ct(Vt.name,Ut=>st.name in cu&&(Ut in cu["*"]||Ut in Ot)))}},$t=st=>{st.sourceSpan&&st.endSourceSpan&&(st.sourceSpan=new Ve(st.sourceSpan.start,st.endSourceSpan.end))},ir=st=>{if(st.type==="element"){let Ot=He(Ue?st.name:st.name.toLowerCase());!st.namespace||st.namespace===Ot.implicitNamespacePrefix||zu(st)?st.tagDefinition=Ot:st.tagDefinition=He("")}};return ve(new class extends ce{visit(st){_t(st),ir(st),kt(st),$t(st)}},Je),Je}function kn(L,re,ge){let Ee=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,{frontMatter:Pe,content:ie}=Ee?Hi(L):{frontMatter:null,content:L},de=new Wu(L,re.filepath),Ue=new pu(de,0,0,0),Ge=Ue.moveBy(L.length),gt={type:"root",sourceSpan:new pn(Ue,Ge),children:ns(ie,ge,re)};if(Pe){let Ve=new pu(de,0,0,0),He=Ve.moveBy(Pe.raw.length);Pe.sourceSpan=new pn(Ve,He),gt.children.unshift(Pe)}let ce=new Zi(gt),ve=(Ve,He)=>{let{offset:Je}=He,Qe=L.slice(0,Je).replace(/[^\n\r]/g," "),yt=kn(Qe+Ve,re,ge,!1);yt.sourceSpan=new pn(He,Yi(yt.children).sourceSpan.end);let _t=yt.children[0];return _t.length===Je?yt.children.shift():(_t.sourceSpan=new pn(_t.sourceSpan.start.moveBy(Je),_t.sourceSpan.end),_t.value=_t.value.slice(Je)),yt};return ce.walk(Ve=>{if(Ve.type==="comment"){let He=es(Ve,ve);He&&Ve.parent.replaceChild(Ve,He)}}),ce}function An(){let{name:L,canSelfClose:re=!1,normalizeTagName:ge=!1,normalizeAttributeName:Ee=!1,allowHtmComponentClosingTags:Pe=!1,isTagNameCaseSensitive:ie=!1,getTagContentType:de}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return{parse:(Ue,Ge,gt)=>kn(Ue,Object.assign({parser:L},gt),{canSelfClose:re,normalizeTagName:ge,normalizeAttributeName:Ee,allowHtmComponentClosingTags:Pe,isTagNameCaseSensitive:ie,getTagContentType:de}),hasPragma:Qi,astFormat:"html",locStart:ts,locEnd:rs}}Ne.exports={parsers:{html:An({name:"html",canSelfClose:!0,normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0}),angular:An({name:"angular",canSelfClose:!0}),vue:An({name:"vue",canSelfClose:!0,isTagNameCaseSensitive:!0,getTagContentType:(L,re,ge,Ee)=>{if(L.toLowerCase()!=="html"&&!ge&&(L!=="template"||Ee.some(Pe=>{let{name:ie,value:de}=Pe;return ie==="lang"&&de!=="html"&&de!==""&&de!==void 0})))return _n().TagContentType.RAW_TEXT}}),lwc:An({name:"lwc"})}}});return $i()})}}),Dl=ta({"node_modules/prettier/standalone.js"(Jr,Xr){(function(Ae){if(typeof Jr=="object"&&typeof Xr=="object")Xr.exports=Ae();else if(typeof define=="function"&&define.amd)define(Ae);else{var Yt=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof self<"u"?self:this||{};Yt.prettier=Ae()}})(function(){var Ae=(ee,V)=>()=>(V||ee((V={exports:{}}).exports,V),V.exports),Yt=Ae((ee,V)=>{var W=function(Z){return Z&&Z.Math==Math&&Z};V.exports=W(typeof globalThis=="object"&&globalThis)||W(typeof window=="object"&&window)||W(typeof self=="object"&&self)||W(typeof global=="object"&&global)||function(){return this}()||Function("return this")()}),hr=Ae((ee,V)=>{V.exports=function(W){try{return!!W()}catch{return!0}}}),br=Ae((ee,V)=>{var W=hr();V.exports=!W(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),Hr=Ae((ee,V)=>{var W=hr();V.exports=!W(function(){var Z=(function(){}).bind();return typeof Z!="function"||Z.hasOwnProperty("prototype")})}),gr=Ae((ee,V)=>{var W=Hr(),Z=Function.prototype.call;V.exports=W?Z.bind(Z):function(){return Z.apply(Z,arguments)}}),Dn=Ae(ee=>{var V={}.propertyIsEnumerable,W=Object.getOwnPropertyDescriptor,Z=W&&!V.call({1:2},1);ee.f=Z?function(Y){var ne=W(this,Y);return!!ne&&ne.enumerable}:V}),Lr=Ae((ee,V)=>{V.exports=function(W,Z){return{enumerable:!(W&1),configurable:!(W&2),writable:!(W&4),value:Z}}}),Dr=Ae((ee,V)=>{var W=Hr(),Z=Function.prototype,Y=Z.call,ne=W&&Z.bind.bind(Y,Y);V.exports=W?ne:function(Fe){return function(){return Y.apply(Fe,arguments)}}}),Br=Ae((ee,V)=>{var W=Dr(),Z=W({}.toString),Y=W("".slice);V.exports=function(ne){return Y(Z(ne),8,-1)}}),Zr=Ae((ee,V)=>{var W=Dr(),Z=hr(),Y=Br(),ne=Object,Fe=W("".split);V.exports=Z(function(){return!ne("z").propertyIsEnumerable(0)})?function(je){return Y(je)=="String"?Fe(je,""):ne(je)}:ne}),nn=Ae((ee,V)=>{V.exports=function(W){return W==null}}),qn=Ae((ee,V)=>{var W=nn(),Z=TypeError;V.exports=function(Y){if(W(Y))throw Z("Can't call method on "+Y);return Y}}),dn=Ae((ee,V)=>{var W=Zr(),Z=qn();V.exports=function(Y){return W(Z(Y))}}),Vn=Ae((ee,V)=>{var W=typeof document=="object"&&document.all,Z=typeof W>"u"&&W!==void 0;V.exports={all:W,IS_HTMLDDA:Z}}),dr=Ae((ee,V)=>{var W=Vn(),Z=W.all;V.exports=W.IS_HTMLDDA?function(Y){return typeof Y=="function"||Y===Z}:function(Y){return typeof Y=="function"}}),Or=Ae((ee,V)=>{var W=dr(),Z=Vn(),Y=Z.all;V.exports=Z.IS_HTMLDDA?function(ne){return typeof ne=="object"?ne!==null:W(ne)||ne===Y}:function(ne){return typeof ne=="object"?ne!==null:W(ne)}}),un=Ae((ee,V)=>{var W=Yt(),Z=dr(),Y=function(ne){return Z(ne)?ne:void 0};V.exports=function(ne,Fe){return arguments.length<2?Y(W[ne]):W[ne]&&W[ne][Fe]}}),Un=Ae((ee,V)=>{var W=Dr();V.exports=W({}.isPrototypeOf)}),ii=Ae((ee,V)=>{var W=un();V.exports=W("navigator","userAgent")||""}),si=Ae((ee,V)=>{var W=Yt(),Z=ii(),Y=W.process,ne=W.Deno,Fe=Y&&Y.versions||ne&&ne.version,je=Fe&&Fe.v8,he,qe;je&&(he=je.split("."),qe=he[0]>0&&he[0]<4?1:+(he[0]+he[1])),!qe&&Z&&(he=Z.match(/Edge\/(\d+)/),(!he||he[1]>=74)&&(he=Z.match(/Chrome\/(\d+)/),he&&(qe=+he[1]))),V.exports=qe}),Gn=Ae((ee,V)=>{var W=si(),Z=hr();V.exports=!!Object.getOwnPropertySymbols&&!Z(function(){var Y=Symbol();return!String(Y)||!(Object(Y)instanceof Symbol)||!Symbol.sham&&W&&W<41})}),Jn=Ae((ee,V)=>{var W=Gn();V.exports=W&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),Xn=Ae((ee,V)=>{var W=un(),Z=dr(),Y=Un(),ne=Jn(),Fe=Object;V.exports=ne?function(je){return typeof je=="symbol"}:function(je){var he=W("Symbol");return Z(he)&&Y(he.prototype,Fe(je))}}),fn=Ae((ee,V)=>{var W=String;V.exports=function(Z){try{return W(Z)}catch{return"Object"}}}),sn=Ae((ee,V)=>{var W=dr(),Z=fn(),Y=TypeError;V.exports=function(ne){if(W(ne))return ne;throw Y(Z(ne)+" is not a function")}}),mn=Ae((ee,V)=>{var W=sn(),Z=nn();V.exports=function(Y,ne){var Fe=Y[ne];return Z(Fe)?void 0:W(Fe)}}),ai=Ae((ee,V)=>{var W=gr(),Z=dr(),Y=Or(),ne=TypeError;V.exports=function(Fe,je){var he,qe;if(je==="string"&&Z(he=Fe.toString)&&!Y(qe=W(he,Fe))||Z(he=Fe.valueOf)&&!Y(qe=W(he,Fe))||je!=="string"&&Z(he=Fe.toString)&&!Y(qe=W(he,Fe)))return qe;throw ne("Can't convert object to primitive value")}}),oi=Ae((ee,V)=>{V.exports=!1}),hn=Ae((ee,V)=>{var W=Yt(),Z=Object.defineProperty;V.exports=function(Y,ne){try{Z(W,Y,{value:ne,configurable:!0,writable:!0})}catch{W[Y]=ne}return ne}}),gn=Ae((ee,V)=>{var W=Yt(),Z=hn(),Y="__core-js_shared__",ne=W[Y]||Z(Y,{});V.exports=ne}),Wn=Ae((ee,V)=>{var W=oi(),Z=gn();(V.exports=function(Y,ne){return Z[Y]||(Z[Y]=ne!==void 0?ne:{})})("versions",[]).push({version:"3.26.1",mode:W?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})}),Sn=Ae((ee,V)=>{var W=qn(),Z=Object;V.exports=function(Y){return Z(W(Y))}}),kr=Ae((ee,V)=>{var W=Dr(),Z=Sn(),Y=W({}.hasOwnProperty);V.exports=Object.hasOwn||function(ne,Fe){return Y(Z(ne),Fe)}}),zn=Ae((ee,V)=>{var W=Dr(),Z=0,Y=Math.random(),ne=W(1 .toString);V.exports=function(Fe){return"Symbol("+(Fe===void 0?"":Fe)+")_"+ne(++Z+Y,36)}}),$r=Ae((ee,V)=>{var W=Yt(),Z=Wn(),Y=kr(),ne=zn(),Fe=Gn(),je=Jn(),he=Z("wks"),qe=W.Symbol,et=qe&&qe.for,Ze=je?qe:qe&&qe.withoutSetter||ne;V.exports=function(nt){if(!Y(he,nt)||!(Fe||typeof he[nt]=="string")){var rt="Symbol."+nt;Fe&&Y(qe,nt)?he[nt]=qe[nt]:je&&et?he[nt]=et(rt):he[nt]=Ze(rt)}return he[nt]}}),li=Ae((ee,V)=>{var W=gr(),Z=Or(),Y=Xn(),ne=mn(),Fe=ai(),je=$r(),he=TypeError,qe=je("toPrimitive");V.exports=function(et,Ze){if(!Z(et)||Y(et))return et;var nt=ne(et,qe),rt;if(nt){if(Ze===void 0&&(Ze="default"),rt=W(nt,et,Ze),!Z(rt)||Y(rt))return rt;throw he("Can't convert object to primitive value")}return Ze===void 0&&(Ze="number"),Fe(et,Ze)}}),yn=Ae((ee,V)=>{var W=li(),Z=Xn();V.exports=function(Y){var ne=W(Y,"string");return Z(ne)?ne:ne+""}}),pi=Ae((ee,V)=>{var W=Yt(),Z=Or(),Y=W.document,ne=Z(Y)&&Z(Y.createElement);V.exports=function(Fe){return ne?Y.createElement(Fe):{}}}),Hn=Ae((ee,V)=>{var W=br(),Z=hr(),Y=pi();V.exports=!W&&!Z(function(){return Object.defineProperty(Y("div"),"a",{get:function(){return 7}}).a!=7})}),Yn=Ae(ee=>{var V=br(),W=gr(),Z=Dn(),Y=Lr(),ne=dn(),Fe=yn(),je=kr(),he=Hn(),qe=Object.getOwnPropertyDescriptor;ee.f=V?qe:function(et,Ze){if(et=ne(et),Ze=Fe(Ze),he)try{return qe(et,Ze)}catch{}if(je(et,Ze))return Y(!W(Z.f,et,Ze),et[Ze])}}),ci=Ae((ee,V)=>{var W=br(),Z=hr();V.exports=W&&Z(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})}),Wr=Ae((ee,V)=>{var W=Or(),Z=String,Y=TypeError;V.exports=function(ne){if(W(ne))return ne;throw Y(Z(ne)+" is not an object")}}),en=Ae(ee=>{var V=br(),W=Hn(),Z=ci(),Y=Wr(),ne=yn(),Fe=TypeError,je=Object.defineProperty,he=Object.getOwnPropertyDescriptor,qe="enumerable",et="configurable",Ze="writable";ee.f=V?Z?function(nt,rt,$){if(Y(nt),rt=ne(rt),Y($),typeof nt=="function"&&rt==="prototype"&&"value"in $&&Ze in $&&!$[Ze]){var Ft=he(nt,rt);Ft&&Ft[Ze]&&(nt[rt]=$.value,$={configurable:et in $?$[et]:Ft[et],enumerable:qe in $?$[qe]:Ft[qe],writable:!1})}return je(nt,rt,$)}:je:function(nt,rt,$){if(Y(nt),rt=ne(rt),Y($),W)try{return je(nt,rt,$)}catch{}if("get"in $||"set"in $)throw Fe("Accessors not supported");return"value"in $&&(nt[rt]=$.value),nt}}),Kn=Ae((ee,V)=>{var W=br(),Z=en(),Y=Lr();V.exports=W?function(ne,Fe,je){return Z.f(ne,Fe,Y(1,je))}:function(ne,Fe,je){return ne[Fe]=je,ne}}),Di=Ae((ee,V)=>{var W=br(),Z=kr(),Y=Function.prototype,ne=W&&Object.getOwnPropertyDescriptor,Fe=Z(Y,"name"),je=Fe&&(function(){}).name==="something",he=Fe&&(!W||W&&ne(Y,"name").configurable);V.exports={EXISTS:Fe,PROPER:je,CONFIGURABLE:he}}),Qn=Ae((ee,V)=>{var W=Dr(),Z=dr(),Y=gn(),ne=W(Function.toString);Z(Y.inspectSource)||(Y.inspectSource=function(Fe){return ne(Fe)}),V.exports=Y.inspectSource}),di=Ae((ee,V)=>{var W=Yt(),Z=dr(),Y=W.WeakMap;V.exports=Z(Y)&&/native code/.test(String(Y))}),fi=Ae((ee,V)=>{var W=Wn(),Z=zn(),Y=W("keys");V.exports=function(ne){return Y[ne]||(Y[ne]=Z(ne))}}),Zn=Ae((ee,V)=>{V.exports={}}),mi=Ae((ee,V)=>{var W=di(),Z=Yt(),Y=Or(),ne=Kn(),Fe=kr(),je=gn(),he=fi(),qe=Zn(),et="Object already initialized",Ze=Z.TypeError,nt=Z.WeakMap,rt,$,Ft,At=function(ue){return Ft(ue)?$(ue):rt(ue,{})},Lt=function(ue){return function(yr){var Pr;if(!Y(yr)||(Pr=$(yr)).type!==ue)throw Ze("Incompatible receiver, "+ue+" required");return Pr}};W||je.state?(qt=je.state||(je.state=new nt),qt.get=qt.get,qt.has=qt.has,qt.set=qt.set,rt=function(ue,yr){if(qt.has(ue))throw Ze(et);return yr.facade=ue,qt.set(ue,yr),yr},$=function(ue){return qt.get(ue)||{}},Ft=function(ue){return qt.has(ue)}):(Zt=he("state"),qe[Zt]=!0,rt=function(ue,yr){if(Fe(ue,Zt))throw Ze(et);return yr.facade=ue,ne(ue,Zt,yr),yr},$=function(ue){return Fe(ue,Zt)?ue[Zt]:{}},Ft=function(ue){return Fe(ue,Zt)});var qt,Zt;V.exports={set:rt,get:$,has:Ft,enforce:At,getterFor:Lt}}),gu=Ae((ee,V)=>{var W=hr(),Z=dr(),Y=kr(),ne=br(),Fe=Di().CONFIGURABLE,je=Qn(),he=mi(),qe=he.enforce,et=he.get,Ze=Object.defineProperty,nt=ne&&!W(function(){return Ze(function(){},"length",{value:8}).length!==8}),rt=String(String).split("String"),$=V.exports=function(Ft,At,Lt){String(At).slice(0,7)==="Symbol("&&(At="["+String(At).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),Lt&&Lt.getter&&(At="get "+At),Lt&&Lt.setter&&(At="set "+At),(!Y(Ft,"name")||Fe&&Ft.name!==At)&&(ne?Ze(Ft,"name",{value:At,configurable:!0}):Ft.name=At),nt&&Lt&&Y(Lt,"arity")&&Ft.length!==Lt.arity&&Ze(Ft,"length",{value:Lt.arity});try{Lt&&Y(Lt,"constructor")&&Lt.constructor?ne&&Ze(Ft,"prototype",{writable:!1}):Ft.prototype&&(Ft.prototype=void 0)}catch{}var qt=qe(Ft);return Y(qt,"source")||(qt.source=rt.join(typeof At=="string"?At:"")),Ft};Function.prototype.toString=$(function(){return Z(this)&&et(this).source||je(this)},"toString")}),hi=Ae((ee,V)=>{var W=dr(),Z=en(),Y=gu(),ne=hn();V.exports=function(Fe,je,he,qe){qe||(qe={});var et=qe.enumerable,Ze=qe.name!==void 0?qe.name:je;if(W(he)&&Y(he,Ze,qe),qe.global)et?Fe[je]=he:ne(je,he);else{try{qe.unsafe?Fe[je]&&(et=!0):delete Fe[je]}catch{}et?Fe[je]=he:Z.f(Fe,je,{value:he,enumerable:!1,configurable:!qe.nonConfigurable,writable:!qe.nonWritable})}return Fe}}),gi=Ae((ee,V)=>{var W=Math.ceil,Z=Math.floor;V.exports=Math.trunc||function(Y){var ne=+Y;return(ne>0?Z:W)(ne)}}),xn=Ae((ee,V)=>{var W=gi();V.exports=function(Z){var Y=+Z;return Y!==Y||Y===0?0:W(Y)}}),yi=Ae((ee,V)=>{var W=xn(),Z=Math.max,Y=Math.min;V.exports=function(ne,Fe){var je=W(ne);return je<0?Z(je+Fe,0):Y(je,Fe)}}),Ei=Ae((ee,V)=>{var W=xn(),Z=Math.min;V.exports=function(Y){return Y>0?Z(W(Y),9007199254740991):0}}),tn=Ae((ee,V)=>{var W=Ei();V.exports=function(Z){return W(Z.length)}}),Ci=Ae((ee,V)=>{var W=dn(),Z=yi(),Y=tn(),ne=function(Fe){return function(je,he,qe){var et=W(je),Ze=Y(et),nt=Z(qe,Ze),rt;if(Fe&&he!=he){for(;Ze>nt;)if(rt=et[nt++],rt!=rt)return!0}else for(;Ze>nt;nt++)if((Fe||nt in et)&&et[nt]===he)return Fe||nt||0;return!Fe&&-1}};V.exports={includes:ne(!0),indexOf:ne(!1)}}),Fi=Ae((ee,V)=>{var W=Dr(),Z=kr(),Y=dn(),ne=Ci().indexOf,Fe=Zn(),je=W([].push);V.exports=function(he,qe){var et=Y(he),Ze=0,nt=[],rt;for(rt in et)!Z(Fe,rt)&&Z(et,rt)&&je(nt,rt);for(;qe.length>Ze;)Z(et,rt=qe[Ze++])&&(~ne(nt,rt)||je(nt,rt));return nt}}),Ai=Ae((ee,V)=>{V.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),vi=Ae(ee=>{var V=Fi(),W=Ai(),Z=W.concat("length","prototype");ee.f=Object.getOwnPropertyNames||function(Y){return V(Y,Z)}}),bi=Ae(ee=>{ee.f=Object.getOwnPropertySymbols}),Si=Ae((ee,V)=>{var W=un(),Z=Dr(),Y=vi(),ne=bi(),Fe=Wr(),je=Z([].concat);V.exports=W("Reflect","ownKeys")||function(he){var qe=Y.f(Fe(he)),et=ne.f;return et?je(qe,et(he)):qe}}),xi=Ae((ee,V)=>{var W=kr(),Z=Si(),Y=Yn(),ne=en();V.exports=function(Fe,je,he){for(var qe=Z(je),et=ne.f,Ze=Y.f,nt=0;nt{var W=hr(),Z=dr(),Y=/#|\.prototype\./,ne=function(et,Ze){var nt=je[Fe(et)];return nt==qe?!0:nt==he?!1:Z(Ze)?W(Ze):!!Ze},Fe=ne.normalize=function(et){return String(et).replace(Y,".").toLowerCase()},je=ne.data={},he=ne.NATIVE="N",qe=ne.POLYFILL="P";V.exports=ne}),an=Ae((ee,V)=>{var W=Yt(),Z=Yn().f,Y=Kn(),ne=hi(),Fe=hn(),je=xi(),he=Ti();V.exports=function(qe,et){var Ze=qe.target,nt=qe.global,rt=qe.stat,$,Ft,At,Lt,qt,Zt;if(nt?Ft=W:rt?Ft=W[Ze]||Fe(Ze,{}):Ft=(W[Ze]||{}).prototype,Ft)for(At in et){if(qt=et[At],qe.dontCallGetSet?(Zt=Z(Ft,At),Lt=Zt&&Zt.value):Lt=Ft[At],$=he(nt?At:Ze+(rt?".":"#")+At,qe.forced),!$&&Lt!==void 0){if(typeof qt==typeof Lt)continue;je(qt,Lt)}(qe.sham||Lt&&Lt.sham)&&Y(qt,"sham",!0),ne(Ft,At,qt,qe)}}}),yu=Ae((ee,V)=>{var W=Br();V.exports=Array.isArray||function(Z){return W(Z)=="Array"}}),Bi=Ae((ee,V)=>{var W=TypeError,Z=9007199254740991;V.exports=function(Y){if(Y>Z)throw W("Maximum allowed index exceeded");return Y}}),Eu=Ae((ee,V)=>{var W=Br(),Z=Dr();V.exports=function(Y){if(W(Y)==="Function")return Z(Y)}}),Cu=Ae((ee,V)=>{var W=Eu(),Z=sn(),Y=Hr(),ne=W(W.bind);V.exports=function(Fe,je){return Z(Fe),je===void 0?Fe:Y?ne(Fe,je):function(){return Fe.apply(je,arguments)}}}),Fu=Ae((ee,V)=>{var W=yu(),Z=tn(),Y=Bi(),ne=Cu(),Fe=function(je,he,qe,et,Ze,nt,rt,$){for(var Ft=Ze,At=0,Lt=rt?ne(rt,$):!1,qt,Zt;At0&&W(qt)?(Zt=Z(qt),Ft=Fe(je,he,qt,Zt,Ft,nt-1)-1):(Y(Ft+1),je[Ft]=qt),Ft++),At++;return Ft};V.exports=Fe}),Au=Ae((ee,V)=>{var W=$r(),Z=W("toStringTag"),Y={};Y[Z]="z",V.exports=String(Y)==="[object z]"}),vu=Ae((ee,V)=>{var W=Au(),Z=dr(),Y=Br(),ne=$r(),Fe=ne("toStringTag"),je=Object,he=Y(function(){return arguments}())=="Arguments",qe=function(et,Ze){try{return et[Ze]}catch{}};V.exports=W?Y:function(et){var Ze,nt,rt;return et===void 0?"Undefined":et===null?"Null":typeof(nt=qe(Ze=je(et),Fe))=="string"?nt:he?Y(Ze):(rt=Y(Ze))=="Object"&&Z(Ze.callee)?"Arguments":rt}}),wi=Ae((ee,V)=>{var W=Dr(),Z=hr(),Y=dr(),ne=vu(),Fe=un(),je=Qn(),he=function(){},qe=[],et=Fe("Reflect","construct"),Ze=/^\s*(?:class|function)\b/,nt=W(Ze.exec),rt=!Ze.exec(he),$=function(At){if(!Y(At))return!1;try{return et(he,qe,At),!0}catch{return!1}},Ft=function(At){if(!Y(At))return!1;switch(ne(At)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return rt||!!nt(Ze,je(At))}catch{return!0}};Ft.sham=!0,V.exports=!et||Z(function(){var At;return $($.call)||!$(Object)||!$(function(){At=!0})||At})?Ft:$}),bu=Ae((ee,V)=>{var W=yu(),Z=wi(),Y=Or(),ne=$r(),Fe=ne("species"),je=Array;V.exports=function(he){var qe;return W(he)&&(qe=he.constructor,Z(qe)&&(qe===je||W(qe.prototype))?qe=void 0:Y(qe)&&(qe=qe[Fe],qe===null&&(qe=void 0))),qe===void 0?je:qe}}),Su=Ae((ee,V)=>{var W=bu();V.exports=function(Z,Y){return new(W(Z))(Y===0?0:Y)}}),Ni=Ae(()=>{var ee=an(),V=Fu(),W=sn(),Z=Sn(),Y=tn(),ne=Su();ee({target:"Array",proto:!0},{flatMap:function(Fe){var je=Z(this),he=Y(je),qe;return W(Fe),qe=ne(je,0),qe.length=V(qe,je,je,he,0,1,Fe,arguments.length>1?arguments[1]:void 0),qe}})}),xu=Ae((ee,V)=>{V.exports={}}),_i=Ae((ee,V)=>{var W=$r(),Z=xu(),Y=W("iterator"),ne=Array.prototype;V.exports=function(Fe){return Fe!==void 0&&(Z.Array===Fe||ne[Y]===Fe)}}),eu=Ae((ee,V)=>{var W=vu(),Z=mn(),Y=nn(),ne=xu(),Fe=$r(),je=Fe("iterator");V.exports=function(he){if(!Y(he))return Z(he,je)||Z(he,"@@iterator")||ne[W(he)]}}),ki=Ae((ee,V)=>{var W=gr(),Z=sn(),Y=Wr(),ne=fn(),Fe=eu(),je=TypeError;V.exports=function(he,qe){var et=arguments.length<2?Fe(he):qe;if(Z(et))return Y(W(et,he));throw je(ne(he)+" is not iterable")}}),Tu=Ae((ee,V)=>{var W=gr(),Z=Wr(),Y=mn();V.exports=function(ne,Fe,je){var he,qe;Z(ne);try{if(he=Y(ne,"return"),!he){if(Fe==="throw")throw je;return je}he=W(he,ne)}catch(et){qe=!0,he=et}if(Fe==="throw")throw je;if(qe)throw he;return Z(he),je}}),Pi=Ae((ee,V)=>{var W=Cu(),Z=gr(),Y=Wr(),ne=fn(),Fe=_i(),je=tn(),he=Un(),qe=ki(),et=eu(),Ze=Tu(),nt=TypeError,rt=function(Ft,At){this.stopped=Ft,this.result=At},$=rt.prototype;V.exports=function(Ft,At,Lt){var qt=Lt&&Lt.that,Zt=!!(Lt&&Lt.AS_ENTRIES),ue=!!(Lt&&Lt.IS_RECORD),yr=!!(Lt&&Lt.IS_ITERATOR),Pr=!!(Lt&&Lt.INTERRUPTED),zr=W(At,qt),fr,Rr,mr,rn,wr,Fr,Tn,Bn=function(Nr){return fr&&Ze(fr,"normal",Nr),new rt(!0,Nr)},on=function(Nr){return Zt?(Y(Nr),Pr?zr(Nr[0],Nr[1],Bn):zr(Nr[0],Nr[1])):Pr?zr(Nr,Bn):zr(Nr)};if(ue)fr=Ft.iterator;else if(yr)fr=Ft;else{if(Rr=et(Ft),!Rr)throw nt(ne(Ft)+" is not iterable");if(Fe(Rr)){for(mr=0,rn=je(Ft);rn>mr;mr++)if(wr=on(Ft[mr]),wr&&he($,wr))return wr;return new rt(!1)}fr=qe(Ft,Rr)}for(Fr=ue?Ft.next:fr.next;!(Tn=Z(Fr,fr)).done;){try{wr=on(Tn.value)}catch(Nr){Ze(fr,"throw",Nr)}if(typeof wr=="object"&&wr&&he($,wr))return wr}return new rt(!1)}}),Ii=Ae((ee,V)=>{var W=yn(),Z=en(),Y=Lr();V.exports=function(ne,Fe,je){var he=W(Fe);he in ne?Z.f(ne,he,Y(0,je)):ne[he]=je}}),ji=Ae(()=>{var ee=an(),V=Pi(),W=Ii();ee({target:"Object",stat:!0},{fromEntries:function(Z){var Y={};return V(Z,function(ne,Fe){W(Y,ne,Fe)},{AS_ENTRIES:!0}),Y}})}),Li=Ae((ee,V)=>{var W=gu(),Z=en();V.exports=function(Y,ne,Fe){return Fe.get&&W(Fe.get,ne,{getter:!0}),Fe.set&&W(Fe.set,ne,{setter:!0}),Z.f(Y,ne,Fe)}}),Oi=Ae((ee,V)=>{var W=Wr();V.exports=function(){var Z=W(this),Y="";return Z.hasIndices&&(Y+="d"),Z.global&&(Y+="g"),Z.ignoreCase&&(Y+="i"),Z.multiline&&(Y+="m"),Z.dotAll&&(Y+="s"),Z.unicode&&(Y+="u"),Z.unicodeSets&&(Y+="v"),Z.sticky&&(Y+="y"),Y}}),$i=Ae(()=>{var ee=Yt(),V=br(),W=Li(),Z=Oi(),Y=hr(),ne=ee.RegExp,Fe=ne.prototype,je=V&&Y(function(){var he=!0;try{ne(".","d")}catch{he=!1}var qe={},et="",Ze=he?"dgimsy":"gimsy",nt=function(At,Lt){Object.defineProperty(qe,At,{get:function(){return et+=Lt,!0}})},rt={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};he&&(rt.hasIndices="d");for(var $ in rt)nt($,rt[$]);var Ft=Object.getOwnPropertyDescriptor(Fe,"flags").get.call(qe);return Ft!==Ze||et!==Ze});je&&W(Fe,"flags",{configurable:!0,get:Z})}),ot=Ae(()=>{var ee=an(),V=Yt();ee({global:!0,forced:V.globalThis!==V},{globalThis:V})}),Ne=Ae(()=>{ot()}),Se=Ae(()=>{var ee=an(),V=Fu(),W=Sn(),Z=tn(),Y=xn(),ne=Su();ee({target:"Array",proto:!0},{flat:function(){var Fe=arguments.length?arguments[0]:void 0,je=W(this),he=Z(je),qe=ne(je,0);return qe.length=V(qe,je,je,he,0,Fe===void 0?1:Y(Fe)),qe}})}),Oe=Ae((ee,V)=>{var W=["cliName","cliCategory","cliDescription"],Z=["_"],Y=["languageId"];function ne(u,l){if(u==null)return{};var t=Fe(u,l),a,s;if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(u);for(s=0;s=0)&&Object.prototype.propertyIsEnumerable.call(u,a)&&(t[a]=u[a])}return t}function Fe(u,l){if(u==null)return{};var t={},a=Object.keys(u),s,e;for(e=0;e=0)&&(t[s]=u[s]);return t}Ni(),ji(),$i(),Ne(),Se();var je=Object.create,he=Object.defineProperty,qe=Object.getOwnPropertyDescriptor,et=Object.getOwnPropertyNames,Ze=Object.getPrototypeOf,nt=Object.prototype.hasOwnProperty,rt=(u,l)=>function(){return u&&(l=(0,u[et(u)[0]])(u=0)),l},$=(u,l)=>function(){return l||(0,u[et(u)[0]])((l={exports:{}}).exports,l),l.exports},Ft=(u,l)=>{for(var t in l)he(u,t,{get:l[t],enumerable:!0})},At=(u,l,t,a)=>{if(l&&typeof l=="object"||typeof l=="function")for(let s of et(l))!nt.call(u,s)&&s!==t&&he(u,s,{get:()=>l[s],enumerable:!(a=qe(l,s))||a.enumerable});return u},Lt=(u,l,t)=>(t=u!=null?je(Ze(u)):{},At(l||!u||!u.__esModule?he(t,"default",{value:u,enumerable:!0}):t,u)),qt=u=>At(he({},"__esModule",{value:!0}),u),Zt,ue=rt({""(){Zt={env:{},argv:[]}}}),yr=$({"package.json"(u,l){l.exports={version:"2.8.8"}}}),Pr=$({"node_modules/diff/lib/diff/base.js"(u){ue(),Object.defineProperty(u,"__esModule",{value:!0}),u.default=l;function l(){}l.prototype={diff:function(s,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=r.callback;typeof r=="function"&&(n=r,r={}),this.options=r;var o=this;function c(A){return n?(setTimeout(function(){n(void 0,A)},0),!0):A}s=this.castInput(s),e=this.castInput(e),s=this.removeEmpty(this.tokenize(s)),e=this.removeEmpty(this.tokenize(e));var y=e.length,m=s.length,g=1,p=y+m,D=[{newPos:-1,components:[]}],C=this.extractCommon(D[0],e,s,0);if(D[0].newPos+1>=y&&C+1>=m)return c([{value:this.join(e),count:e.length}]);function w(){for(var A=-1*g;A<=g;A+=2){var N=void 0,x=D[A-1],P=D[A+1],_=(P?P.newPos:0)-A;x&&(D[A-1]=void 0);var J=x&&x.newPos+1=y&&_+1>=m)return c(t(o,N.components,e,s,o.useLongestToken));D[A]=N}g++}if(n)(function A(){setTimeout(function(){if(g>p)return n();w()||A()},0)})();else for(;g<=p;){var k=w();if(k)return k}},pushComponent:function(s,e,r){var n=s[s.length-1];n&&n.added===e&&n.removed===r?s[s.length-1]={count:n.count+1,added:e,removed:r}:s.push({count:1,added:e,removed:r})},extractCommon:function(s,e,r,n){for(var o=e.length,c=r.length,y=s.newPos,m=y-n,g=0;y+1k.length?N:k}),p.value=s.join(C)}else p.value=s.join(r.slice(m,m+p.count));m+=p.count,p.added||(g+=p.count)}}var w=e[y-1];return y>1&&typeof w.value=="string"&&(w.added||w.removed)&&s.equals("",w.value)&&(e[y-2].value+=w.value,e.pop()),e}function a(s){return{newPos:s.newPos,components:s.components.slice(0)}}}}),zr=$({"node_modules/diff/lib/diff/array.js"(u){ue(),Object.defineProperty(u,"__esModule",{value:!0}),u.diffArrays=s,u.arrayDiff=void 0;var l=t(Pr());function t(e){return e&&e.__esModule?e:{default:e}}var a=new l.default;u.arrayDiff=a,a.tokenize=function(e){return e.slice()},a.join=a.removeEmpty=function(e){return e};function s(e,r,n){return a.diff(e,r,n)}}}),fr=$({"src/document/doc-builders.js"(u,l){ue();function t(F){return{type:"concat",parts:F}}function a(F){return{type:"indent",contents:F}}function s(F,i){return{type:"align",contents:i,n:F}}function e(F){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return{type:"group",id:i.id,contents:F,break:!!i.shouldBreak,expandedStates:i.expandedStates}}function r(F){return s(Number.NEGATIVE_INFINITY,F)}function n(F){return s({type:"root"},F)}function o(F){return s(-1,F)}function c(F,i){return e(F[0],Object.assign(Object.assign({},i),{},{expandedStates:F}))}function y(F){return{type:"fill",parts:F}}function m(F,i){let h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return{type:"if-break",breakContents:F,flatContents:i,groupId:h.groupId}}function g(F,i){return{type:"indent-if-break",contents:F,groupId:i.groupId,negate:i.negate}}function p(F){return{type:"line-suffix",contents:F}}var D={type:"line-suffix-boundary"},C={type:"break-parent"},w={type:"trim"},k={type:"line",hard:!0},A={type:"line",hard:!0,literal:!0},N={type:"line"},x={type:"line",soft:!0},P=t([k,C]),_=t([A,C]),J={type:"cursor",placeholder:Symbol("cursor")};function d(F,i){let h=[];for(let E=0;E0){for(let b=0;b=0?r.charAt(n+1)===` -`?"crlf":"cr":"lf"}function a(r){switch(r){case"cr":return"\r";case"crlf":return`\r -`;default:return` -`}}function s(r,n){let o;switch(n){case` -`:o=/\n/g;break;case"\r":o=/\r/g;break;case`\r -`:o=/\r\n/g;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(n)}.`)}let c=r.match(o);return c?c.length:0}function e(r){return r.replace(/\r\n?/g,` -`)}l.exports={guessEndOfLine:t,convertEndOfLineToChars:a,countEndOfLineChars:s,normalizeEndOfLine:e}}}),mr=$({"src/utils/get-last.js"(u,l){ue();var t=a=>a[a.length-1];l.exports=t}});function rn(){let{onlyFirst:u=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},l=["[\\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(l,u?void 0:"g")}var wr=rt({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){ue()}});function Fr(u){if(typeof u!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof u}\``);return u.replace(rn(),"")}var Tn=rt({"node_modules/strip-ansi/index.js"(){ue(),wr()}});function Bn(u){return Number.isInteger(u)?u>=4352&&(u<=4447||u===9001||u===9002||11904<=u&&u<=12871&&u!==12351||12880<=u&&u<=19903||19968<=u&&u<=42182||43360<=u&&u<=43388||44032<=u&&u<=55203||63744<=u&&u<=64255||65040<=u&&u<=65049||65072<=u&&u<=65131||65281<=u&&u<=65376||65504<=u&&u<=65510||110592<=u&&u<=110593||127488<=u&&u<=127569||131072<=u&&u<=262141):!1}var on=rt({"node_modules/is-fullwidth-code-point/index.js"(){ue()}}),Nr=$({"node_modules/emoji-regex/index.js"(u,l){ue(),l.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\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|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\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]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\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-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}}}),Bu={};Ft(Bu,{default:()=>Ri});function Ri(u){if(typeof u!="string"||u.length===0||(u=Fr(u),u.length===0))return 0;u=u.replace((0,wu.default)()," ");let l=0;for(let t=0;t=127&&a<=159||a>=768&&a<=879||(a>65535&&t++,l+=Bn(a)?2:1)}return l}var wu,Mi=rt({"node_modules/string-width/index.js"(){ue(),Tn(),on(),wu=Lt(Nr())}}),Nu=$({"src/utils/get-string-width.js"(u,l){ue();var t=(Mi(),qt(Bu)).default,a=/[^\x20-\x7F]/;function s(e){return e?a.test(e)?t(e):e.length:0}l.exports=s}}),En=$({"src/document/doc-utils.js"(u,l){ue();var t=mr(),{literalline:a,join:s}=fr(),e=i=>Array.isArray(i)||i&&i.type==="concat",r=i=>{if(Array.isArray(i))return i;if(i.type!=="concat"&&i.type!=="fill")throw new Error("Expect doc type to be `concat` or `fill`.");return i.parts},n={};function o(i,h,E,b){let S=[i];for(;S.length>0;){let B=S.pop();if(B===n){E(S.pop());continue}if(E&&S.push(B,n),!h||h(B)!==!1)if(e(B)||B.type==="fill"){let I=r(B);for(let q=I.length,G=q-1;G>=0;--G)S.push(I[G])}else if(B.type==="if-break")B.flatContents&&S.push(B.flatContents),B.breakContents&&S.push(B.breakContents);else if(B.type==="group"&&B.expandedStates)if(b)for(let I=B.expandedStates.length,q=I-1;q>=0;--q)S.push(B.expandedStates[q]);else S.push(B.contents);else B.contents&&S.push(B.contents)}}function c(i,h){let E=new Map;return b(i);function b(B){if(E.has(B))return E.get(B);let I=S(B);return E.set(B,I),I}function S(B){if(Array.isArray(B))return h(B.map(b));if(B.type==="concat"||B.type==="fill"){let I=B.parts.map(b);return h(Object.assign(Object.assign({},B),{},{parts:I}))}if(B.type==="if-break"){let I=B.breakContents&&b(B.breakContents),q=B.flatContents&&b(B.flatContents);return h(Object.assign(Object.assign({},B),{},{breakContents:I,flatContents:q}))}if(B.type==="group"&&B.expandedStates){let I=B.expandedStates.map(b),q=I[0];return h(Object.assign(Object.assign({},B),{},{contents:q,expandedStates:I}))}if(B.contents){let I=b(B.contents);return h(Object.assign(Object.assign({},B),{},{contents:I}))}return h(B)}}function y(i,h,E){let b=E,S=!1;function B(I){let q=h(I);if(q!==void 0&&(S=!0,b=q),S)return!1}return o(i,B),b}function m(i){if(i.type==="group"&&i.break||i.type==="line"&&i.hard||i.type==="break-parent")return!0}function g(i){return y(i,m,!1)}function p(i){if(i.length>0){let h=t(i);!h.expandedStates&&!h.break&&(h.break="propagated")}return null}function D(i){let h=new Set,E=[];function b(B){if(B.type==="break-parent"&&p(E),B.type==="group"){if(E.push(B),h.has(B))return!1;h.add(B)}}function S(B){B.type==="group"&&E.pop().break&&p(E)}o(i,b,S,!0)}function C(i){return i.type==="line"&&!i.hard?i.soft?"":" ":i.type==="if-break"?i.flatContents||"":i}function w(i){return c(i,C)}var k=(i,h)=>i&&i.type==="line"&&i.hard&&h&&h.type==="break-parent";function A(i){if(!i)return i;if(e(i)||i.type==="fill"){let h=r(i);for(;h.length>1&&k(...h.slice(-2));)h.length-=2;if(h.length>0){let E=A(t(h));h[h.length-1]=E}return Array.isArray(i)?h:Object.assign(Object.assign({},i),{},{parts:h})}switch(i.type){case"align":case"indent":case"indent-if-break":case"group":case"line-suffix":case"label":{let h=A(i.contents);return Object.assign(Object.assign({},i),{},{contents:h})}case"if-break":{let h=A(i.breakContents),E=A(i.flatContents);return Object.assign(Object.assign({},i),{},{breakContents:h,flatContents:E})}}return i}function N(i){return A(P(i))}function x(i){switch(i.type){case"fill":if(i.parts.every(E=>E===""))return"";break;case"group":if(!i.contents&&!i.id&&!i.break&&!i.expandedStates)return"";if(i.contents.type==="group"&&i.contents.id===i.id&&i.contents.break===i.break&&i.contents.expandedStates===i.expandedStates)return i.contents;break;case"align":case"indent":case"indent-if-break":case"line-suffix":if(!i.contents)return"";break;case"if-break":if(!i.flatContents&&!i.breakContents)return"";break}if(!e(i))return i;let h=[];for(let E of r(i)){if(!E)continue;let[b,...S]=e(E)?r(E):[E];typeof b=="string"&&typeof t(h)=="string"?h[h.length-1]+=b:h.push(b),h.push(...S)}return h.length===0?"":h.length===1?h[0]:Array.isArray(i)?h:Object.assign(Object.assign({},i),{},{parts:h})}function P(i){return c(i,h=>x(h))}function _(i){let h=[],E=i.filter(Boolean);for(;E.length>0;){let b=E.shift();if(b){if(e(b)){E.unshift(...r(b));continue}if(h.length>0&&typeof t(h)=="string"&&typeof b=="string"){h[h.length-1]+=b;continue}h.push(b)}}return h}function J(i){return c(i,h=>Array.isArray(h)?_(h):h.parts?Object.assign(Object.assign({},h),{},{parts:_(h.parts)}):h)}function d(i){return c(i,h=>typeof h=="string"&&h.includes(` -`)?T(h):h)}function T(i){let h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:a;return s(h,i.split(` -`)).parts}function f(i){if(i.type==="line")return!0}function F(i){return y(i,f,!1)}l.exports={isConcat:e,getDocParts:r,willBreak:g,traverseDoc:o,findInDoc:y,mapDoc:c,propagateBreaks:D,removeLines:w,stripTrailingHardline:N,normalizeParts:_,normalizeDoc:J,cleanDoc:P,replaceTextEndOfLine:T,replaceEndOfLine:d,canBreak:F}}}),qi=$({"src/document/doc-printer.js"(u,l){ue();var{convertEndOfLineToChars:t}=Rr(),a=mr(),s=Nu(),{fill:e,cursor:r,indent:n}=fr(),{isConcat:o,getDocParts:c}=En(),y,m=1,g=2;function p(){return{value:"",length:0,queue:[]}}function D(x,P){return w(x,{type:"indent"},P)}function C(x,P,_){return P===Number.NEGATIVE_INFINITY?x.root||p():P<0?w(x,{type:"dedent"},_):P?P.type==="root"?Object.assign(Object.assign({},x),{},{root:x}):w(x,{type:typeof P=="string"?"stringAlign":"numberAlign",n:P},_):x}function w(x,P,_){let J=P.type==="dedent"?x.queue.slice(0,-1):[...x.queue,P],d="",T=0,f=0,F=0;for(let I of J)switch(I.type){case"indent":E(),_.useTabs?i(1):h(_.tabWidth);break;case"stringAlign":E(),d+=I.n,T+=I.n.length;break;case"numberAlign":f+=1,F+=I.n;break;default:throw new Error(`Unexpected type '${I.type}'`)}return S(),Object.assign(Object.assign({},x),{},{value:d,length:T,queue:J});function i(I){d+=" ".repeat(I),T+=_.tabWidth*I}function h(I){d+=" ".repeat(I),T+=I}function E(){_.useTabs?b():S()}function b(){f>0&&i(f),B()}function S(){F>0&&h(F),B()}function B(){f=0,F=0}}function k(x){if(x.length===0)return 0;let P=0;for(;x.length>0&&typeof a(x)=="string"&&/^[\t ]*$/.test(a(x));)P+=x.pop().length;if(x.length>0&&typeof a(x)=="string"){let _=a(x).replace(/[\t ]*$/,"");P+=a(x).length-_.length,x[x.length-1]=_}return P}function A(x,P,_,J,d){let T=P.length,f=[x],F=[];for(;_>=0;){if(f.length===0){if(T===0)return!0;f.push(P[--T]);continue}let{mode:i,doc:h}=f.pop();if(typeof h=="string")F.push(h),_-=s(h);else if(o(h)||h.type==="fill"){let E=c(h);for(let b=E.length-1;b>=0;b--)f.push({mode:i,doc:E[b]})}else switch(h.type){case"indent":case"align":case"indent-if-break":case"label":f.push({mode:i,doc:h.contents});break;case"trim":_+=k(F);break;case"group":{if(d&&h.break)return!1;let E=h.break?m:i,b=h.expandedStates&&E===m?a(h.expandedStates):h.contents;f.push({mode:E,doc:b});break}case"if-break":{let E=(h.groupId?y[h.groupId]||g:i)===m?h.breakContents:h.flatContents;E&&f.push({mode:i,doc:E});break}case"line":if(i===m||h.hard)return!0;h.soft||(F.push(" "),_--);break;case"line-suffix":J=!0;break;case"line-suffix-boundary":if(J)return!1;break}}return!1}function N(x,P){y={};let _=P.printWidth,J=t(P.endOfLine),d=0,T=[{ind:p(),mode:m,doc:x}],f=[],F=!1,i=[];for(;T.length>0;){let{ind:E,mode:b,doc:S}=T.pop();if(typeof S=="string"){let B=J!==` -`?S.replace(/\n/g,J):S;f.push(B),d+=s(B)}else if(o(S)){let B=c(S);for(let I=B.length-1;I>=0;I--)T.push({ind:E,mode:b,doc:B[I]})}else switch(S.type){case"cursor":f.push(r.placeholder);break;case"indent":T.push({ind:D(E,P),mode:b,doc:S.contents});break;case"align":T.push({ind:C(E,S.n,P),mode:b,doc:S.contents});break;case"trim":d-=k(f);break;case"group":switch(b){case g:if(!F){T.push({ind:E,mode:S.break?m:g,doc:S.contents});break}case m:{F=!1;let B={ind:E,mode:g,doc:S.contents},I=_-d,q=i.length>0;if(!S.break&&A(B,T,I,q))T.push(B);else if(S.expandedStates){let G=a(S.expandedStates);if(S.break){T.push({ind:E,mode:m,doc:G});break}else for(let M=1;M=S.expandedStates.length){T.push({ind:E,mode:m,doc:G});break}else{let te=S.expandedStates[M],j={ind:E,mode:g,doc:te};if(A(j,T,I,q)){T.push(j);break}}}else T.push({ind:E,mode:m,doc:S.contents});break}}S.id&&(y[S.id]=a(T).mode);break;case"fill":{let B=_-d,{parts:I}=S;if(I.length===0)break;let[q,G]=I,M={ind:E,mode:g,doc:q},te={ind:E,mode:m,doc:q},j=A(M,[],B,i.length>0,!0);if(I.length===1){j?T.push(M):T.push(te);break}let De={ind:E,mode:g,doc:G},U={ind:E,mode:m,doc:G};if(I.length===2){j?T.push(De,M):T.push(U,te);break}I.splice(0,2);let R={ind:E,mode:b,doc:e(I)},pe=I[0];A({ind:E,mode:g,doc:[q,G,pe]},[],B,i.length>0,!0)?T.push(R,De,M):j?T.push(R,U,M):T.push(R,U,te);break}case"if-break":case"indent-if-break":{let B=S.groupId?y[S.groupId]:b;if(B===m){let I=S.type==="if-break"?S.breakContents:S.negate?S.contents:n(S.contents);I&&T.push({ind:E,mode:b,doc:I})}if(B===g){let I=S.type==="if-break"?S.flatContents:S.negate?n(S.contents):S.contents;I&&T.push({ind:E,mode:b,doc:I})}break}case"line-suffix":i.push({ind:E,mode:b,doc:S.contents});break;case"line-suffix-boundary":i.length>0&&T.push({ind:E,mode:b,doc:{type:"line",hard:!0}});break;case"line":switch(b){case g:if(S.hard)F=!0;else{S.soft||(f.push(" "),d+=1);break}case m:if(i.length>0){T.push({ind:E,mode:b,doc:S},...i.reverse()),i.length=0;break}S.literal?E.root?(f.push(J,E.root.value),d=E.root.length):(f.push(J),d=0):(d-=k(f),f.push(J+E.value),d=E.length);break}break;case"label":T.push({ind:E,mode:b,doc:S.contents});break}T.length===0&&i.length>0&&(T.push(...i.reverse()),i.length=0)}let h=f.indexOf(r.placeholder);if(h!==-1){let E=f.indexOf(r.placeholder,h+1),b=f.slice(0,h).join(""),S=f.slice(h+1,E).join(""),B=f.slice(E+1).join("");return{formatted:b+S+B,cursorNodeStart:b.length,cursorNodeText:S}}return{formatted:f.join("")}}l.exports={printDocToString:N}}}),Vi=$({"src/document/doc-debug.js"(u,l){ue();var{isConcat:t,getDocParts:a}=En();function s(r){if(!r)return"";if(t(r)){let n=[];for(let o of a(r))if(t(o))n.push(...s(o).parts);else{let c=s(o);c!==""&&n.push(c)}return{type:"concat",parts:n}}return r.type==="if-break"?Object.assign(Object.assign({},r),{},{breakContents:s(r.breakContents),flatContents:s(r.flatContents)}):r.type==="group"?Object.assign(Object.assign({},r),{},{contents:s(r.contents),expandedStates:r.expandedStates&&r.expandedStates.map(s)}):r.type==="fill"?{type:"fill",parts:r.parts.map(s)}:r.contents?Object.assign(Object.assign({},r),{},{contents:s(r.contents)}):r}function e(r){let n=Object.create(null),o=new Set;return c(s(r));function c(m,g,p){if(typeof m=="string")return JSON.stringify(m);if(t(m)){let D=a(m).map(c).filter(Boolean);return D.length===1?D[0]:`[${D.join(", ")}]`}if(m.type==="line"){let D=Array.isArray(p)&&p[g+1]&&p[g+1].type==="break-parent";return m.literal?D?"literalline":"literallineWithoutBreakParent":m.hard?D?"hardline":"hardlineWithoutBreakParent":m.soft?"softline":"line"}if(m.type==="break-parent")return Array.isArray(p)&&p[g-1]&&p[g-1].type==="line"&&p[g-1].hard?void 0:"breakParent";if(m.type==="trim")return"trim";if(m.type==="indent")return"indent("+c(m.contents)+")";if(m.type==="align")return m.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+c(m.contents)+")":m.n<0?"dedent("+c(m.contents)+")":m.n.type==="root"?"markAsRoot("+c(m.contents)+")":"align("+JSON.stringify(m.n)+", "+c(m.contents)+")";if(m.type==="if-break")return"ifBreak("+c(m.breakContents)+(m.flatContents?", "+c(m.flatContents):"")+(m.groupId?(m.flatContents?"":', ""')+`, { groupId: ${y(m.groupId)} }`:"")+")";if(m.type==="indent-if-break"){let D=[];m.negate&&D.push("negate: true"),m.groupId&&D.push(`groupId: ${y(m.groupId)}`);let C=D.length>0?`, { ${D.join(", ")} }`:"";return`indentIfBreak(${c(m.contents)}${C})`}if(m.type==="group"){let D=[];m.break&&m.break!=="propagated"&&D.push("shouldBreak: true"),m.id&&D.push(`id: ${y(m.id)}`);let C=D.length>0?`, { ${D.join(", ")} }`:"";return m.expandedStates?`conditionalGroup([${m.expandedStates.map(w=>c(w)).join(",")}]${C})`:`group(${c(m.contents)}${C})`}if(m.type==="fill")return`fill([${m.parts.map(D=>c(D)).join(", ")}])`;if(m.type==="line-suffix")return"lineSuffix("+c(m.contents)+")";if(m.type==="line-suffix-boundary")return"lineSuffixBoundary";if(m.type==="label")return`label(${JSON.stringify(m.label)}, ${c(m.contents)})`;throw new Error("Unknown doc type "+m.type)}function y(m){if(typeof m!="symbol")return JSON.stringify(String(m));if(m in n)return n[m];let g=String(m).slice(7,-1)||"symbol";for(let p=0;;p++){let D=g+(p>0?` #${p}`:"");if(!o.has(D))return o.add(D),n[m]=`Symbol.for(${JSON.stringify(D)})`}}}l.exports={printDocToDebug:e}}}),wt=$({"src/document/index.js"(u,l){ue(),l.exports={builders:fr(),printer:qi(),utils:En(),debug:Vi()}}}),_u={};Ft(_u,{default:()=>Ui});function Ui(u){if(typeof u!="string")throw new TypeError("Expected a string");return u.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var Gi=rt({"node_modules/escape-string-regexp/index.js"(){ue()}}),ku=$({"node_modules/semver/internal/debug.js"(u,l){ue();var t=typeof Zt=="object"&&Zt.env&&Zt.env.NODE_DEBUG&&/\bsemver\b/i.test(Zt.env.NODE_DEBUG)?function(){for(var a=arguments.length,s=new Array(a),e=0;e{};l.exports=t}}),Pu=$({"node_modules/semver/internal/constants.js"(u,l){ue();var t="2.0.0",a=256,s=Number.MAX_SAFE_INTEGER||9007199254740991,e=16;l.exports={SEMVER_SPEC_VERSION:t,MAX_LENGTH:a,MAX_SAFE_INTEGER:s,MAX_SAFE_COMPONENT_LENGTH:e}}}),Iu=$({"node_modules/semver/internal/re.js"(u,l){ue();var{MAX_SAFE_COMPONENT_LENGTH:t}=Pu(),a=ku();u=l.exports={};var s=u.re=[],e=u.src=[],r=u.t={},n=0,o=(c,y,m)=>{let g=n++;a(c,g,y),r[c]=g,e[g]=y,s[g]=new RegExp(y,m?"g":void 0)};o("NUMERICIDENTIFIER","0|[1-9]\\d*"),o("NUMERICIDENTIFIERLOOSE","[0-9]+"),o("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),o("MAINVERSION",`(${e[r.NUMERICIDENTIFIER]})\\.(${e[r.NUMERICIDENTIFIER]})\\.(${e[r.NUMERICIDENTIFIER]})`),o("MAINVERSIONLOOSE",`(${e[r.NUMERICIDENTIFIERLOOSE]})\\.(${e[r.NUMERICIDENTIFIERLOOSE]})\\.(${e[r.NUMERICIDENTIFIERLOOSE]})`),o("PRERELEASEIDENTIFIER",`(?:${e[r.NUMERICIDENTIFIER]}|${e[r.NONNUMERICIDENTIFIER]})`),o("PRERELEASEIDENTIFIERLOOSE",`(?:${e[r.NUMERICIDENTIFIERLOOSE]}|${e[r.NONNUMERICIDENTIFIER]})`),o("PRERELEASE",`(?:-(${e[r.PRERELEASEIDENTIFIER]}(?:\\.${e[r.PRERELEASEIDENTIFIER]})*))`),o("PRERELEASELOOSE",`(?:-?(${e[r.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${e[r.PRERELEASEIDENTIFIERLOOSE]})*))`),o("BUILDIDENTIFIER","[0-9A-Za-z-]+"),o("BUILD",`(?:\\+(${e[r.BUILDIDENTIFIER]}(?:\\.${e[r.BUILDIDENTIFIER]})*))`),o("FULLPLAIN",`v?${e[r.MAINVERSION]}${e[r.PRERELEASE]}?${e[r.BUILD]}?`),o("FULL",`^${e[r.FULLPLAIN]}$`),o("LOOSEPLAIN",`[v=\\s]*${e[r.MAINVERSIONLOOSE]}${e[r.PRERELEASELOOSE]}?${e[r.BUILD]}?`),o("LOOSE",`^${e[r.LOOSEPLAIN]}$`),o("GTLT","((?:<|>)?=?)"),o("XRANGEIDENTIFIERLOOSE",`${e[r.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),o("XRANGEIDENTIFIER",`${e[r.NUMERICIDENTIFIER]}|x|X|\\*`),o("XRANGEPLAIN",`[v=\\s]*(${e[r.XRANGEIDENTIFIER]})(?:\\.(${e[r.XRANGEIDENTIFIER]})(?:\\.(${e[r.XRANGEIDENTIFIER]})(?:${e[r.PRERELEASE]})?${e[r.BUILD]}?)?)?`),o("XRANGEPLAINLOOSE",`[v=\\s]*(${e[r.XRANGEIDENTIFIERLOOSE]})(?:\\.(${e[r.XRANGEIDENTIFIERLOOSE]})(?:\\.(${e[r.XRANGEIDENTIFIERLOOSE]})(?:${e[r.PRERELEASELOOSE]})?${e[r.BUILD]}?)?)?`),o("XRANGE",`^${e[r.GTLT]}\\s*${e[r.XRANGEPLAIN]}$`),o("XRANGELOOSE",`^${e[r.GTLT]}\\s*${e[r.XRANGEPLAINLOOSE]}$`),o("COERCE",`(^|[^\\d])(\\d{1,${t}})(?:\\.(\\d{1,${t}}))?(?:\\.(\\d{1,${t}}))?(?:$|[^\\d])`),o("COERCERTL",e[r.COERCE],!0),o("LONETILDE","(?:~>?)"),o("TILDETRIM",`(\\s*)${e[r.LONETILDE]}\\s+`,!0),u.tildeTrimReplace="$1~",o("TILDE",`^${e[r.LONETILDE]}${e[r.XRANGEPLAIN]}$`),o("TILDELOOSE",`^${e[r.LONETILDE]}${e[r.XRANGEPLAINLOOSE]}$`),o("LONECARET","(?:\\^)"),o("CARETTRIM",`(\\s*)${e[r.LONECARET]}\\s+`,!0),u.caretTrimReplace="$1^",o("CARET",`^${e[r.LONECARET]}${e[r.XRANGEPLAIN]}$`),o("CARETLOOSE",`^${e[r.LONECARET]}${e[r.XRANGEPLAINLOOSE]}$`),o("COMPARATORLOOSE",`^${e[r.GTLT]}\\s*(${e[r.LOOSEPLAIN]})$|^$`),o("COMPARATOR",`^${e[r.GTLT]}\\s*(${e[r.FULLPLAIN]})$|^$`),o("COMPARATORTRIM",`(\\s*)${e[r.GTLT]}\\s*(${e[r.LOOSEPLAIN]}|${e[r.XRANGEPLAIN]})`,!0),u.comparatorTrimReplace="$1$2$3",o("HYPHENRANGE",`^\\s*(${e[r.XRANGEPLAIN]})\\s+-\\s+(${e[r.XRANGEPLAIN]})\\s*$`),o("HYPHENRANGELOOSE",`^\\s*(${e[r.XRANGEPLAINLOOSE]})\\s+-\\s+(${e[r.XRANGEPLAINLOOSE]})\\s*$`),o("STAR","(<|>)?=?\\s*\\*"),o("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),o("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),Ji=$({"node_modules/semver/internal/parse-options.js"(u,l){ue();var t=["includePrerelease","loose","rtl"],a=s=>s?typeof s!="object"?{loose:!0}:t.filter(e=>s[e]).reduce((e,r)=>(e[r]=!0,e),{}):{};l.exports=a}}),ju=$({"node_modules/semver/internal/identifiers.js"(u,l){ue();var t=/^[0-9]+$/,a=(e,r)=>{let n=t.test(e),o=t.test(r);return n&&o&&(e=+e,r=+r),e===r?0:n&&!o?-1:o&&!n?1:ea(r,e);l.exports={compareIdentifiers:a,rcompareIdentifiers:s}}}),Xi=$({"node_modules/semver/classes/semver.js"(u,l){ue();var t=ku(),{MAX_LENGTH:a,MAX_SAFE_INTEGER:s}=Pu(),{re:e,t:r}=Iu(),n=Ji(),{compareIdentifiers:o}=ju(),c=class{constructor(y,m){if(m=n(m),y instanceof c){if(y.loose===!!m.loose&&y.includePrerelease===!!m.includePrerelease)return y;y=y.version}else if(typeof y!="string")throw new TypeError(`Invalid Version: ${y}`);if(y.length>a)throw new TypeError(`version is longer than ${a} characters`);t("SemVer",y,m),this.options=m,this.loose=!!m.loose,this.includePrerelease=!!m.includePrerelease;let g=y.trim().match(m.loose?e[r.LOOSE]:e[r.FULL]);if(!g)throw new TypeError(`Invalid Version: ${y}`);if(this.raw=y,this.major=+g[1],this.minor=+g[2],this.patch=+g[3],this.major>s||this.major<0)throw new TypeError("Invalid major version");if(this.minor>s||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>s||this.patch<0)throw new TypeError("Invalid patch version");g[4]?this.prerelease=g[4].split(".").map(p=>{if(/^[0-9]+$/.test(p)){let D=+p;if(D>=0&&D=0;)typeof this.prerelease[g]=="number"&&(this.prerelease[g]++,g=-2);g===-1&&this.prerelease.push(0)}m&&(o(this.prerelease[0],m)===0?isNaN(this.prerelease[1])&&(this.prerelease=[m,0]):this.prerelease=[m,0]);break;default:throw new Error(`invalid increment argument: ${y}`)}return this.format(),this.raw=this.version,this}};l.exports=c}}),tu=$({"node_modules/semver/functions/compare.js"(u,l){ue();var t=Xi(),a=(s,e,r)=>new t(s,r).compare(new t(e,r));l.exports=a}}),ru=$({"node_modules/semver/functions/lt.js"(u,l){ue();var t=tu(),a=(s,e,r)=>t(s,e,r)<0;l.exports=a}}),Lu=$({"node_modules/semver/functions/gte.js"(u,l){ue();var t=tu(),a=(s,e,r)=>t(s,e,r)>=0;l.exports=a}}),Ou=$({"src/utils/arrayify.js"(u,l){ue(),l.exports=(t,a)=>Object.entries(t).map(s=>{let[e,r]=s;return Object.assign({[a]:e},r)})}}),$u=$({"node_modules/outdent/lib/index.js"(u,l){ue(),Object.defineProperty(u,"__esModule",{value:!0}),u.outdent=void 0;function t(){for(var A=[],N=0;Ntypeof m=="string"||typeof m=="function",choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"acorn",since:"2.6.0",description:"JavaScript"},{value:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:"2.3.0",description:"Ember / Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:o,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:m=>typeof m=="string"||typeof m=="object",cliName:"plugin",cliCategory:a},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:o,description:t` - Custom directory that contains prettier plugins in node_modules subdirectory. - Overrides default behavior when plugins are searched relatively to the location of Prettier. - Multiple values are accepted. - `,exception:m=>typeof m=="string"||typeof m=="object",cliName:"plugin-search-dir",cliCategory:a},printWidth:{since:"0.0.0",category:o,type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:"1.4.0",category:c,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:t` - Format code ending at a given character offset (exclusive). - The range will extend forwards to the end of the selected statement. - This option cannot be used with --cursor-offset. - `,cliCategory:s},rangeStart:{since:"1.4.0",category:c,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:t` - Format code starting at a given character offset. - The range will extend backwards to the start of the first line containing the selected statement. - This option cannot be used with --cursor-offset. - `,cliCategory:s},requirePragma:{since:"1.7.0",category:c,type:"boolean",default:!1,description:t` - Require either '@prettier' or '@format' to be present in the file's first docblock comment - in order for it to be formatted. - `,cliCategory:r},tabWidth:{type:"int",category:o,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:o,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:o,type:"choice",default:[{since:"2.1.0",value:"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."}]}};l.exports={CATEGORY_CONFIG:a,CATEGORY_EDITOR:s,CATEGORY_FORMAT:e,CATEGORY_OTHER:r,CATEGORY_OUTPUT:n,CATEGORY_GLOBAL:o,CATEGORY_SPECIAL:c,options:y}}}),nu=$({"src/main/support.js"(u,l){ue();var t={compare:tu(),lt:ru(),gte:Lu()},a=Ou(),s=yr().version,e=Wi().options;function r(){let{plugins:o=[],showUnreleased:c=!1,showDeprecated:y=!1,showInternal:m=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},g=s.split("-",1)[0],p=o.flatMap(A=>A.languages||[]).filter(C),D=a(Object.assign({},...o.map(A=>{let{options:N}=A;return N}),e),"name").filter(A=>C(A)&&w(A)).sort((A,N)=>A.name===N.name?0:A.name{A=Object.assign({},A),Array.isArray(A.default)&&(A.default=A.default.length===1?A.default[0].value:A.default.filter(C).sort((x,P)=>t.compare(P.since,x.since))[0].value),Array.isArray(A.choices)&&(A.choices=A.choices.filter(x=>C(x)&&w(x)),A.name==="parser"&&n(A,p,o));let N=Object.fromEntries(o.filter(x=>x.defaultOptions&&x.defaultOptions[A.name]!==void 0).map(x=>[x.name,x.defaultOptions[A.name]]));return Object.assign(Object.assign({},A),{},{pluginDefaults:N})});return{languages:p,options:D};function C(A){return c||!("since"in A)||A.since&&t.gte(g,A.since)}function w(A){return y||!("deprecated"in A)||A.deprecated&&t.lt(g,A.deprecated)}function k(A){return m?A:ne(A,W)}}function n(o,c,y){let m=new Set(o.choices.map(g=>g.value));for(let g of c)if(g.parsers){for(let p of g.parsers)if(!m.has(p)){m.add(p);let D=y.find(w=>w.parsers&&w.parsers[p]),C=g.name;D&&D.name&&(C+=` (plugin: ${D.name})`),o.choices.push({value:p,description:C})}}}l.exports={getSupportInfo:r}}}),uu=$({"src/utils/is-non-empty-array.js"(u,l){ue();function t(a){return Array.isArray(a)&&a.length>0}l.exports=t}}),Cn=$({"src/utils/text/skip.js"(u,l){ue();function t(n){return(o,c,y)=>{let m=y&&y.backwards;if(c===!1)return!1;let{length:g}=o,p=c;for(;p>=0&&pU[U.length-2];function w(U){return(R,pe,be)=>{let fe=be&&be.backwards;if(pe===!1)return!1;let{length:Ie}=R,X=pe;for(;X>=0&&X2&&arguments[2]!==void 0?arguments[2]:{},be=o(U,pe.backwards?R-1:R,pe),fe=p(U,be,pe);return be!==fe}function A(U,R,pe){for(let be=R;be2&&arguments[2]!==void 0?arguments[2]:{};return o(U,pe.backwards?R-1:R,pe)!==R}function T(U,R){let pe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,be=0;for(let fe=pe;fewe?Ie:fe}return X}function i(U,R){let pe=U.slice(1,-1),be=R.parser==="json"||R.parser==="json5"&&R.quoteProps==="preserve"&&!R.singleQuote?'"':R.__isInHtmlAttribute?"'":F(pe,R.singleQuote?"'":'"').quote;return h(pe,be,!(R.parser==="css"||R.parser==="less"||R.parser==="scss"||R.__embeddedInHtml))}function h(U,R,pe){let be=R==='"'?"'":'"',fe=/\\(.)|(["'])/gs,Ie=U.replace(fe,(X,se,we)=>se===be?se:we===R?"\\"+we:we||(pe&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(se)?se:"\\"+se));return R+Ie+R}function E(U){return U.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}function b(U,R){let pe=U.match(new RegExp(`(${t(R)})+`,"g"));return pe===null?0:pe.reduce((be,fe)=>Math.max(be,fe.length/R.length),0)}function S(U,R){let pe=U.match(new RegExp(`(${t(R)})+`,"g"));if(pe===null)return 0;let be=new Map,fe=0;for(let Ie of pe){let X=Ie.length/R.length;be.set(X,!0),X>fe&&(fe=X)}for(let Ie=1;Ie{let{name:Ie}=fe;return Ie.toLowerCase()===U})||pe.find(fe=>{let{aliases:Ie}=fe;return Array.isArray(Ie)&&Ie.includes(U)})||pe.find(fe=>{let{extensions:Ie}=fe;return Array.isArray(Ie)&&Ie.includes(`.${U}`)});return be&&be.parsers[0]}function te(U){return U&&U.type==="front-matter"}function j(U){let R=new WeakMap;return function(pe){return R.has(pe)||R.set(pe,Symbol(U)),R.get(pe)}}function De(U){let R=U.type||U.kind||"(unknown type)",pe=String(U.name||U.id&&(typeof U.id=="object"?U.id.name:U.id)||U.key&&(typeof U.key=="object"?U.key.name:U.key)||U.value&&(typeof U.value=="object"?"":String(U.value))||U.operator||"");return pe.length>20&&(pe=pe.slice(0,19)+"…"),R+(pe?" "+pe:"")}l.exports={inferParserByLanguage:M,getStringWidth:r,getMaxContinuousCount:b,getMinNotPresentContinuousCount:S,getPenultimate:C,getLast:a,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:D,getNextNonSpaceNonCommentCharacterIndex:_,getNextNonSpaceNonCommentCharacter:J,skip:w,skipWhitespace:n,skipSpaces:o,skipToLineEnd:c,skipEverythingButNewLine:y,skipInlineComment:m,skipTrailingComment:g,skipNewline:p,isNextLineEmptyAfterIndex:x,isNextLineEmpty:P,isPreviousLineEmpty:N,hasNewline:k,hasNewlineInRange:A,hasSpaces:d,getAlignmentSize:T,getIndentSize:f,getPreferredQuote:F,printString:i,printNumber:E,makeString:h,addLeadingComment:I,addDanglingComment:q,addTrailingComment:G,isFrontMatterNode:te,isNonEmptyArray:e,createGroupIdMapper:j}}}),Vu={};Ft(Vu,{basename:()=>Ju,default:()=>pu,delimiter:()=>pn,dirname:()=>au,extname:()=>Xu,isAbsolute:()=>ln,join:()=>su,normalize:()=>iu,relative:()=>Gu,resolve:()=>wn,sep:()=>_n});function Uu(u,l){for(var t=0,a=u.length-1;a>=0;a--){var s=u[a];s==="."?u.splice(a,1):s===".."?(u.splice(a,1),t++):t&&(u.splice(a,1),t--)}if(l)for(;t--;t)u.unshift("..");return u}function wn(){for(var u="",l=!1,t=arguments.length-1;t>=-1&&!l;t--){var a=t>=0?arguments[t]:"/";if(typeof a!="string")throw new TypeError("Arguments to path.resolve must be strings");a&&(u=a+"/"+u,l=a.charAt(0)==="/")}return u=Uu(ou(u.split("/"),function(s){return!!s}),!l).join("/"),(l?"/":"")+u||"."}function iu(u){var l=ln(u),t=Wu(u,-1)==="/";return u=Uu(ou(u.split("/"),function(a){return!!a}),!l).join("/"),!u&&!l&&(u="."),u&&t&&(u+="/"),(l?"/":"")+u}function ln(u){return u.charAt(0)==="/"}function su(){var u=Array.prototype.slice.call(arguments,0);return iu(ou(u,function(l,t){if(typeof l!="string")throw new TypeError("Arguments to path.join must be strings");return l}).join("/"))}function Gu(u,l){u=wn(u).substr(1),l=wn(l).substr(1);function t(c){for(var y=0;y=0&&c[m]==="";m--);return y>m?[]:c.slice(y,m-y+1)}for(var a=t(u.split("/")),s=t(l.split("/")),e=Math.min(a.length,s.length),r=e,n=0;nVe,__asyncDelegator:()=>Pe,__asyncGenerator:()=>Ee,__asyncValues:()=>ie,__await:()=>ge,__awaiter:()=>es,__classPrivateFieldGet:()=>gt,__classPrivateFieldSet:()=>ce,__createBinding:()=>rs,__decorate:()=>zu,__exportStar:()=>ns,__extends:()=>Ki,__generator:()=>ts,__importDefault:()=>Ge,__importStar:()=>Ue,__makeTemplateObject:()=>de,__metadata:()=>Zi,__param:()=>Qi,__read:()=>An,__rest:()=>cu,__spread:()=>L,__spreadArrays:()=>re,__values:()=>kn});function Ki(u,l){ve(u,l);function t(){this.constructor=u}u.prototype=l===null?Object.create(l):(t.prototype=l.prototype,new t)}function cu(u,l){var t={};for(var a in u)Object.prototype.hasOwnProperty.call(u,a)&&l.indexOf(a)<0&&(t[a]=u[a]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,a=Object.getOwnPropertySymbols(u);s=0;n--)(r=u[n])&&(e=(s<3?r(e):s>3?r(l,t,e):r(l,t))||e);return s>3&&e&&Object.defineProperty(l,t,e),e}function Qi(u,l){return function(t,a){l(t,a,u)}}function Zi(u,l){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(u,l)}function es(u,l,t,a){function s(e){return e instanceof t?e:new t(function(r){r(e)})}return new(t||(t=Promise))(function(e,r){function n(y){try{c(a.next(y))}catch(m){r(m)}}function o(y){try{c(a.throw(y))}catch(m){r(m)}}function c(y){y.done?e(y.value):s(y.value).then(n,o)}c((a=a.apply(u,l||[])).next())})}function ts(u,l){var t={label:0,sent:function(){if(e[0]&1)throw e[1];return e[1]},trys:[],ops:[]},a,s,e,r;return r={next:n(0),throw:n(1),return:n(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function n(c){return function(y){return o([c,y])}}function o(c){if(a)throw new TypeError("Generator is already executing.");for(;t;)try{if(a=1,s&&(e=c[0]&2?s.return:c[0]?s.throw||((e=s.return)&&e.call(s),0):s.next)&&!(e=e.call(s,c[1])).done)return e;switch(s=0,e&&(c=[c[0]&2,e.value]),c[0]){case 0:case 1:e=c;break;case 4:return t.label++,{value:c[1],done:!1};case 5:t.label++,s=c[1],c=[0];continue;case 7:c=t.ops.pop(),t.trys.pop();continue;default:if(e=t.trys,!(e=e.length>0&&e[e.length-1])&&(c[0]===6||c[0]===2)){t=0;continue}if(c[0]===3&&(!e||c[1]>e[0]&&c[1]=u.length&&(u=void 0),{value:u&&u[a++],done:!u}}};throw new TypeError(l?"Object is not iterable.":"Symbol.iterator is not defined.")}function An(u,l){var t=typeof Symbol=="function"&&u[Symbol.iterator];if(!t)return u;var a=t.call(u),s,e=[],r;try{for(;(l===void 0||l-- >0)&&!(s=a.next()).done;)e.push(s.value)}catch(n){r={error:n}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(r)throw r.error}}return e}function L(){for(var u=[],l=0;l1||n(g,p)})})}function n(g,p){try{o(a[g](p))}catch(D){m(e[0][3],D)}}function o(g){g.value instanceof ge?Promise.resolve(g.value.v).then(c,y):m(e[0][2],g)}function c(g){n("next",g)}function y(g){n("throw",g)}function m(g,p){g(p),e.shift(),e.length&&n(e[0][0],e[0][1])}}function Pe(u){var l,t;return l={},a("next"),a("throw",function(s){throw s}),a("return"),l[Symbol.iterator]=function(){return this},l;function a(s,e){l[s]=u[s]?function(r){return(t=!t)?{value:ge(u[s](r)),done:s==="return"}:e?e(r):r}:e}}function ie(u){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var l=u[Symbol.asyncIterator],t;return l?l.call(u):(u=typeof kn=="function"?kn(u):u[Symbol.iterator](),t={},a("next"),a("throw"),a("return"),t[Symbol.asyncIterator]=function(){return this},t);function a(e){t[e]=u[e]&&function(r){return new Promise(function(n,o){r=u[e](r),s(n,o,r.done,r.value)})}}function s(e,r,n,o){Promise.resolve(o).then(function(c){e({value:c,done:n})},r)}}function de(u,l){return Object.defineProperty?Object.defineProperty(u,"raw",{value:l}):u.raw=l,u}function Ue(u){if(u&&u.__esModule)return u;var l={};if(u!=null)for(var t in u)Object.hasOwnProperty.call(u,t)&&(l[t]=u[t]);return l.default=u,l}function Ge(u){return u&&u.__esModule?u:{default:u}}function gt(u,l){if(!l.has(u))throw new TypeError("attempted to get private field on non-instance");return l.get(u)}function ce(u,l,t){if(!l.has(u))throw new TypeError("attempted to set private field on non-instance");return l.set(u,t),t}var ve,Ve,He=rt({"node_modules/tslib/tslib.es6.js"(){ue(),ve=function(u,l){return ve=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,a){t.__proto__=a}||function(t,a){for(var s in a)a.hasOwnProperty(s)&&(t[s]=a[s])},ve(u,l)},Ve=function(){return Ve=Object.assign||function(u){for(var l,t=1,a=arguments.length;t/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(l)?l:JSON.stringify(l),value(l){if(l===null||typeof l!="object")return JSON.stringify(l);if(Array.isArray(l))return`[${l.map(a=>u.apiDescriptor.value(a)).join(", ")}]`;let t=Object.keys(l);return t.length===0?"{}":`{ ${t.map(a=>`${u.apiDescriptor.key(a)}: ${u.apiDescriptor.value(l[a])}`).join(", ")} }`},pair:l=>{let{key:t,value:a}=l;return u.apiDescriptor.value({[t]:a})}}}}),Qe=$({"node_modules/vnopts/lib/descriptors/index.js"(u){ue(),Object.defineProperty(u,"__esModule",{value:!0});var l=(He(),qt(Yr));l.__exportStar(Je(),u)}}),yt=$({"scripts/build/shims/chalk.cjs"(u,l){ue();var t=a=>a;t.grey=t,t.red=t,t.bold=t,t.yellow=t,t.blue=t,t.default=t,l.exports=t}}),_t=$({"node_modules/vnopts/lib/handlers/deprecated/common.js"(u){ue(),Object.defineProperty(u,"__esModule",{value:!0});var l=yt();u.commonDeprecatedHandler=(t,a,s)=>{let{descriptor:e}=s,r=[`${l.default.yellow(typeof t=="string"?e.key(t):e.pair(t))} is deprecated`];return a&&r.push(`we now treat it as ${l.default.blue(typeof a=="string"?e.key(a):e.pair(a))}`),r.join("; ")+"."}}}),ct=$({"node_modules/vnopts/lib/handlers/deprecated/index.js"(u){ue(),Object.defineProperty(u,"__esModule",{value:!0});var l=(He(),qt(Yr));l.__exportStar(_t(),u)}}),kt=$({"node_modules/vnopts/lib/handlers/invalid/common.js"(u){ue(),Object.defineProperty(u,"__esModule",{value:!0});var l=yt();u.commonInvalidHandler=(t,a,s)=>[`Invalid ${l.default.red(s.descriptor.key(t))} value.`,`Expected ${l.default.blue(s.schemas[t].expected(s))},`,`but received ${l.default.red(s.descriptor.value(a))}.`].join(" ")}}),$t=$({"node_modules/vnopts/lib/handlers/invalid/index.js"(u){ue(),Object.defineProperty(u,"__esModule",{value:!0});var l=(He(),qt(Yr));l.__exportStar(kt(),u)}}),ir=$({"node_modules/vnopts/node_modules/leven/index.js"(u,l){ue();var t=[],a=[];l.exports=function(s,e){if(s===e)return 0;var r=s;s.length>e.length&&(s=e,e=r);var n=s.length,o=e.length;if(n===0)return o;if(o===0)return n;for(;n>0&&s.charCodeAt(~-n)===e.charCodeAt(~-o);)n--,o--;if(n===0)return o;for(var c=0;cm?p>m?m+1:p:p>g?g+1:p;return m}}}),st=$({"node_modules/vnopts/lib/handlers/unknown/leven.js"(u){ue(),Object.defineProperty(u,"__esModule",{value:!0});var l=yt(),t=ir();u.levenUnknownHandler=(a,s,e)=>{let{descriptor:r,logger:n,schemas:o}=e,c=[`Ignored unknown option ${l.default.yellow(r.pair({key:a,value:s}))}.`],y=Object.keys(o).sort().find(m=>t(a,m)<3);y&&c.push(`Did you mean ${l.default.blue(r.key(y))}?`),n.warn(c.join(" "))}}}),Ot=$({"node_modules/vnopts/lib/handlers/unknown/index.js"(u){ue(),Object.defineProperty(u,"__esModule",{value:!0});var l=(He(),qt(Yr));l.__exportStar(st(),u)}}),Vt=$({"node_modules/vnopts/lib/handlers/index.js"(u){ue(),Object.defineProperty(u,"__esModule",{value:!0});var l=(He(),qt(Yr));l.__exportStar(ct(),u),l.__exportStar($t(),u),l.__exportStar(Ot(),u)}}),Ut=$({"node_modules/vnopts/lib/schema.js"(u){ue(),Object.defineProperty(u,"__esModule",{value:!0});var l=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function t(e,r){let n=new e(r),o=Object.create(n);for(let c of l)c in r&&(o[c]=s(r[c],n,a.prototype[c].length));return o}u.createSchema=t;var a=class{constructor(e){this.name=e.name}static create(e){return t(this,e)}default(e){}expected(e){return"nothing"}validate(e,r){return!1}deprecated(e,r){return!1}forward(e,r){}redirect(e,r){}overlap(e,r,n){return e}preprocess(e,r){return e}postprocess(e,r){return e}};u.Schema=a;function s(e,r,n){return typeof e=="function"?function(){for(var o=arguments.length,c=new Array(o),y=0;ye}}}),rr=$({"node_modules/vnopts/lib/schemas/alias.js"(u){ue(),Object.defineProperty(u,"__esModule",{value:!0});var l=Ut(),t=class extends l.Schema{constructor(a){super(a),this._sourceName=a.sourceName}expected(a){return a.schemas[this._sourceName].expected(a)}validate(a,s){return s.schemas[this._sourceName].validate(a,s)}redirect(a,s){return this._sourceName}};u.AliasSchema=t}}),z=$({"node_modules/vnopts/lib/schemas/any.js"(u){ue(),Object.defineProperty(u,"__esModule",{value:!0});var l=Ut(),t=class extends l.Schema{expected(){return"anything"}validate(){return!0}};u.AnySchema=t}}),le=$({"node_modules/vnopts/lib/schemas/array.js"(u){ue(),Object.defineProperty(u,"__esModule",{value:!0});var l=(He(),qt(Yr)),t=Ut(),a=class extends t.Schema{constructor(e){var{valueSchema:r,name:n=r.name}=e,o=l.__rest(e,["valueSchema","name"]);super(Object.assign({},o,{name:n})),this._valueSchema=r}expected(e){return`an array of ${this._valueSchema.expected(e)}`}validate(e,r){if(!Array.isArray(e))return!1;let n=[];for(let o of e){let c=r.normalizeValidateResult(this._valueSchema.validate(o,r),o);c!==!0&&n.push(c.value)}return n.length===0?!0:{value:n}}deprecated(e,r){let n=[];for(let o of e){let c=r.normalizeDeprecatedResult(this._valueSchema.deprecated(o,r),o);c!==!1&&n.push(...c.map(y=>{let{value:m}=y;return{value:[m]}}))}return n}forward(e,r){let n=[];for(let o of e){let c=r.normalizeForwardResult(this._valueSchema.forward(o,r),o);n.push(...c.map(s))}return n}redirect(e,r){let n=[],o=[];for(let c of e){let y=r.normalizeRedirectResult(this._valueSchema.redirect(c,r),c);"remain"in y&&n.push(y.remain),o.push(...y.redirect.map(s))}return n.length===0?{redirect:o}:{redirect:o,remain:n}}overlap(e,r){return e.concat(r)}};u.ArraySchema=a;function s(e){let{from:r,to:n}=e;return{from:[r],to:n}}}}),We=$({"node_modules/vnopts/lib/schemas/boolean.js"(u){ue(),Object.defineProperty(u,"__esModule",{value:!0});var l=Ut(),t=class extends l.Schema{expected(){return"true or false"}validate(a){return typeof a=="boolean"}};u.BooleanSchema=t}}),Me=$({"node_modules/vnopts/lib/utils.js"(u){ue(),Object.defineProperty(u,"__esModule",{value:!0});function l(p,D){let C=Object.create(null);for(let w of p){let k=w[D];if(C[k])throw new Error(`Duplicate ${D} ${JSON.stringify(k)}`);C[k]=w}return C}u.recordFromArray=l;function t(p,D){let C=new Map;for(let w of p){let k=w[D];if(C.has(k))throw new Error(`Duplicate ${D} ${JSON.stringify(k)}`);C.set(k,w)}return C}u.mapFromArray=t;function a(){let p=Object.create(null);return D=>{let C=JSON.stringify(D);return p[C]?!0:(p[C]=!0,!1)}}u.createAutoChecklist=a;function s(p,D){let C=[],w=[];for(let k of p)D(k)?C.push(k):w.push(k);return[C,w]}u.partition=s;function e(p){return p===Math.floor(p)}u.isInt=e;function r(p,D){if(p===D)return 0;let C=typeof p,w=typeof D,k=["undefined","object","boolean","number","string"];return C!==w?k.indexOf(C)-k.indexOf(w):C!=="string"?Number(p)-Number(D):p.localeCompare(D)}u.comparePrimitive=r;function n(p){return p===void 0?{}:p}u.normalizeDefaultResult=n;function o(p,D){return p===!0?!0:p===!1?{value:D}:p}u.normalizeValidateResult=o;function c(p,D){let C=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return p===!1?!1:p===!0?C?!0:[{value:D}]:"value"in p?[p]:p.length===0?!1:p}u.normalizeDeprecatedResult=c;function y(p,D){return typeof p=="string"||"key"in p?{from:D,to:p}:"from"in p?{from:p.from,to:p.to}:{from:D,to:p.to}}u.normalizeTransferResult=y;function m(p,D){return p===void 0?[]:Array.isArray(p)?p.map(C=>y(C,D)):[y(p,D)]}u.normalizeForwardResult=m;function g(p,D){let C=m(typeof p=="object"&&"redirect"in p?p.redirect:p,D);return C.length===0?{remain:D,redirect:C}:typeof p=="object"&&"remain"in p?{remain:p.remain,redirect:C}:{redirect:C}}u.normalizeRedirectResult=g}}),at=$({"node_modules/vnopts/lib/schemas/choice.js"(u){ue(),Object.defineProperty(u,"__esModule",{value:!0});var l=Ut(),t=Me(),a=class extends l.Schema{constructor(s){super(s),this._choices=t.mapFromArray(s.choices.map(e=>e&&typeof e=="object"?e:{value:e}),"value")}expected(s){let{descriptor:e}=s,r=Array.from(this._choices.keys()).map(c=>this._choices.get(c)).filter(c=>!c.deprecated).map(c=>c.value).sort(t.comparePrimitive).map(e.value),n=r.slice(0,-2),o=r.slice(-2);return n.concat(o.join(" or ")).join(", ")}validate(s){return this._choices.has(s)}deprecated(s){let e=this._choices.get(s);return e&&e.deprecated?{value:s}:!1}forward(s){let e=this._choices.get(s);return e?e.forward:void 0}redirect(s){let e=this._choices.get(s);return e?e.redirect:void 0}};u.ChoiceSchema=a}}),Jt=$({"node_modules/vnopts/lib/schemas/number.js"(u){ue(),Object.defineProperty(u,"__esModule",{value:!0});var l=Ut(),t=class extends l.Schema{expected(){return"a number"}validate(a,s){return typeof a=="number"}};u.NumberSchema=t}}),er=$({"node_modules/vnopts/lib/schemas/integer.js"(u){ue(),Object.defineProperty(u,"__esModule",{value:!0});var l=Me(),t=Jt(),a=class extends t.NumberSchema{expected(){return"an integer"}validate(s,e){return e.normalizeValidateResult(super.validate(s,e),s)===!0&&l.isInt(s)}};u.IntegerSchema=a}}),Ar=$({"node_modules/vnopts/lib/schemas/string.js"(u){ue(),Object.defineProperty(u,"__esModule",{value:!0});var l=Ut(),t=class extends l.Schema{expected(){return"a string"}validate(a){return typeof a=="string"}};u.StringSchema=t}}),Er=$({"node_modules/vnopts/lib/schemas/index.js"(u){ue(),Object.defineProperty(u,"__esModule",{value:!0});var l=(He(),qt(Yr));l.__exportStar(rr(),u),l.__exportStar(z(),u),l.__exportStar(le(),u),l.__exportStar(We(),u),l.__exportStar(at(),u),l.__exportStar(er(),u),l.__exportStar(Jt(),u),l.__exportStar(Ar(),u)}}),_r=$({"node_modules/vnopts/lib/defaults.js"(u){ue(),Object.defineProperty(u,"__esModule",{value:!0});var l=Je(),t=_t(),a=$t(),s=st();u.defaultDescriptor=l.apiDescriptor,u.defaultUnknownHandler=s.levenUnknownHandler,u.defaultInvalidHandler=a.commonInvalidHandler,u.defaultDeprecatedHandler=t.commonDeprecatedHandler}}),xr=$({"node_modules/vnopts/lib/normalize.js"(u){ue(),Object.defineProperty(u,"__esModule",{value:!0});var l=_r(),t=Me();u.normalize=(s,e,r)=>new a(e,r).normalize(s);var a=class{constructor(s,e){let{logger:r=console,descriptor:n=l.defaultDescriptor,unknown:o=l.defaultUnknownHandler,invalid:c=l.defaultInvalidHandler,deprecated:y=l.defaultDeprecatedHandler}=e||{};this._utils={descriptor:n,logger:r||{warn:()=>{}},schemas:t.recordFromArray(s,"name"),normalizeDefaultResult:t.normalizeDefaultResult,normalizeDeprecatedResult:t.normalizeDeprecatedResult,normalizeForwardResult:t.normalizeForwardResult,normalizeRedirectResult:t.normalizeRedirectResult,normalizeValidateResult:t.normalizeValidateResult},this._unknownHandler=o,this._invalidHandler=c,this._deprecatedHandler=y,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=t.createAutoChecklist()}normalize(s){let e={},r=[s],n=()=>{for(;r.length!==0;){let o=r.shift(),c=this._applyNormalization(o,e);r.push(...c)}};n();for(let o of Object.keys(this._utils.schemas)){let c=this._utils.schemas[o];if(!(o in e)){let y=t.normalizeDefaultResult(c.default(this._utils));"value"in y&&r.push({[o]:y.value})}}n();for(let o of Object.keys(this._utils.schemas)){let c=this._utils.schemas[o];o in e&&(e[o]=c.postprocess(e[o],this._utils))}return e}_applyNormalization(s,e){let r=[],[n,o]=t.partition(Object.keys(s),c=>c in this._utils.schemas);for(let c of n){let y=this._utils.schemas[c],m=y.preprocess(s[c],this._utils),g=t.normalizeValidateResult(y.validate(m,this._utils),m);if(g!==!0){let{value:w}=g,k=this._invalidHandler(c,w,this._utils);throw typeof k=="string"?new Error(k):k}let p=w=>{let{from:k,to:A}=w;r.push(typeof A=="string"?{[A]:k}:{[A.key]:A.value})},D=w=>{let{value:k,redirectTo:A}=w,N=t.normalizeDeprecatedResult(y.deprecated(k,this._utils),m,!0);if(N!==!1)if(N===!0)this._hasDeprecationWarned(c)||this._utils.logger.warn(this._deprecatedHandler(c,A,this._utils));else for(let{value:x}of N){let P={key:c,value:x};if(!this._hasDeprecationWarned(P)){let _=typeof A=="string"?{key:A,value:x}:A;this._utils.logger.warn(this._deprecatedHandler(P,_,this._utils))}}};t.normalizeForwardResult(y.forward(m,this._utils),m).forEach(p);let C=t.normalizeRedirectResult(y.redirect(m,this._utils),m);if(C.redirect.forEach(p),"remain"in C){let w=C.remain;e[c]=c in e?y.overlap(e[c],w,this._utils):w,D({value:w})}for(let{from:w,to:k}of C.redirect)D({value:w,redirectTo:k})}for(let c of o){let y=s[c],m=this._unknownHandler(c,y,this._utils);if(m)for(let g of Object.keys(m)){let p={[g]:m[g]};g in this._utils.schemas?r.push(p):Object.assign(e,p)}}return r}};u.Normalizer=a}}),Ir=$({"node_modules/vnopts/lib/index.js"(u){ue(),Object.defineProperty(u,"__esModule",{value:!0});var l=(He(),qt(Yr));l.__exportStar(Qe(),u),l.__exportStar(Vt(),u),l.__exportStar(Er(),u),l.__exportStar(xr(),u),l.__exportStar(Ut(),u)}}),Mr=$({"src/main/options-normalizer.js"(u,l){ue();var t=Ir(),a=mr(),s={key:g=>g.length===1?`-${g}`:`--${g}`,value:g=>t.apiDescriptor.value(g),pair:g=>{let{key:p,value:D}=g;return D===!1?`--no-${p}`:D===!0?s.key(p):D===""?`${s.key(p)} without an argument`:`${s.key(p)}=${D}`}},e=g=>{let{colorsModule:p,levenshteinDistance:D}=g;return class extends t.ChoiceSchema{constructor(C){let{name:w,flags:k}=C;super({name:w,choices:k}),this._flags=[...k].sort()}preprocess(C,w){if(typeof C=="string"&&C.length>0&&!this._flags.includes(C)){let k=this._flags.find(A=>D(A,C)<3);if(k)return w.logger.warn([`Unknown flag ${p.yellow(w.descriptor.value(C))},`,`did you mean ${p.blue(w.descriptor.value(k))}?`].join(" ")),k}return C}expected(){return"a flag"}}},r;function n(g,p){let{logger:D=!1,isCLI:C=!1,passThrough:w=!1,colorsModule:k=null,levenshteinDistance:A=null}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},N=w?Array.isArray(w)?(T,f)=>w.includes(T)?{[T]:f}:void 0:(T,f)=>({[T]:f}):(T,f,F)=>{let i=F.schemas,h=ne(i,Z);return t.levenUnknownHandler(T,f,Object.assign(Object.assign({},F),{},{schemas:h}))},x=C?s:t.apiDescriptor,P=o(p,{isCLI:C,colorsModule:k,levenshteinDistance:A}),_=new t.Normalizer(P,{logger:D,unknown:N,descriptor:x}),J=D!==!1;J&&r&&(_._hasDeprecationWarned=r);let d=_.normalize(g);return J&&(r=_._hasDeprecationWarned),C&&d["plugin-search"]===!1&&(d["plugin-search-dir"]=!1),d}function o(g,p){let{isCLI:D,colorsModule:C,levenshteinDistance:w}=p,k=[];D&&k.push(t.AnySchema.create({name:"_"}));for(let A of g)k.push(c(A,{isCLI:D,optionInfos:g,colorsModule:C,levenshteinDistance:w})),A.alias&&D&&k.push(t.AliasSchema.create({name:A.alias,sourceName:A.name}));return k}function c(g,p){let{isCLI:D,optionInfos:C,colorsModule:w,levenshteinDistance:k}=p,{name:A}=g;if(A==="plugin-search-dir"||A==="pluginSearchDirs")return t.AnySchema.create({name:A,preprocess(_){return _===!1||(_=Array.isArray(_)?_:[_]),_},validate(_){return _===!1?!0:_.every(J=>typeof J=="string")},expected(){return"false or paths to plugin search dir"}});let N={name:A},x,P={};switch(g.type){case"int":x=t.IntegerSchema,D&&(N.preprocess=Number);break;case"string":x=t.StringSchema;break;case"choice":x=t.ChoiceSchema,N.choices=g.choices.map(_=>typeof _=="object"&&_.redirect?Object.assign(Object.assign({},_),{},{redirect:{to:{key:g.name,value:_.redirect}}}):_);break;case"boolean":x=t.BooleanSchema;break;case"flag":x=e({colorsModule:w,levenshteinDistance:k}),N.flags=C.flatMap(_=>[_.alias,_.description&&_.name,_.oppositeDescription&&`no-${_.name}`].filter(Boolean));break;case"path":x=t.StringSchema;break;default:throw new Error(`Unexpected type ${g.type}`)}if(g.exception?N.validate=(_,J,d)=>g.exception(_)||J.validate(_,d):N.validate=(_,J,d)=>_===void 0||J.validate(_,d),g.redirect&&(P.redirect=_=>_?{to:{key:g.redirect.option,value:g.redirect.value}}:void 0),g.deprecated&&(P.deprecated=!0),D&&!g.array){let _=N.preprocess||(J=>J);N.preprocess=(J,d,T)=>d.preprocess(_(Array.isArray(J)?a(J):J),T)}return g.array?t.ArraySchema.create(Object.assign(Object.assign(Object.assign({},D?{preprocess:_=>Array.isArray(_)?_:[_]}:{}),P),{},{valueSchema:x.create(N)})):x.create(Object.assign(Object.assign({},N),P))}function y(g,p,D){return n(g,p,D)}function m(g,p,D){return n(g,p,Object.assign({isCLI:!0},D))}l.exports={normalizeApiOptions:y,normalizeCliOptions:m}}}),or=$({"src/language-js/loc.js"(u,l){ue();var t=uu();function a(o){var c,y;let m=o.range?o.range[0]:o.start,g=(c=(y=o.declaration)===null||y===void 0?void 0:y.decorators)!==null&&c!==void 0?c:o.decorators;return t(g)?Math.min(a(g[0]),m):m}function s(o){return o.range?o.range[1]:o.end}function e(o,c){let y=a(o);return Number.isInteger(y)&&y===a(c)}function r(o,c){let y=s(o);return Number.isInteger(y)&&y===s(c)}function n(o,c){return e(o,c)&&r(o,c)}l.exports={locStart:a,locEnd:s,hasSameLocStart:e,hasSameLoc:n}}}),lt=$({"src/main/load-parser.js"(u,l){ue(),l.exports=()=>{}}}),mt=$({"scripts/build/shims/babel-highlight.cjs"(u,l){ue();var t=yt(),a={shouldHighlight:()=>!1,getChalk:()=>t};l.exports=a}}),St=$({"node_modules/@babel/code-frame/lib/index.js"(u){ue(),Object.defineProperty(u,"__esModule",{value:!0}),u.codeFrameColumns=r,u.default=n;var l=mt(),t=!1;function a(o){return{gutter:o.grey,marker:o.red.bold,message:o.red.bold}}var s=/\r\n|[\n\r\u2028\u2029]/;function e(o,c,y){let m=Object.assign({column:0,line:-1},o.start),g=Object.assign({},m,o.end),{linesAbove:p=2,linesBelow:D=3}=y||{},C=m.line,w=m.column,k=g.line,A=g.column,N=Math.max(C-(p+1),0),x=Math.min(c.length,k+D);C===-1&&(N=0),k===-1&&(x=c.length);let P=k-C,_={};if(P)for(let J=0;J<=P;J++){let d=J+C;if(!w)_[d]=!0;else if(J===0){let T=c[d-1].length;_[d]=[w,T-w+1]}else if(J===P)_[d]=[0,A];else{let T=c[d-J].length;_[d]=[0,T]}}else w===A?w?_[C]=[w,0]:_[C]=!0:_[C]=[w,A-w];return{start:N,end:x,markerLines:_}}function r(o,c){let y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},m=(y.highlightCode||y.forceColor)&&(0,l.shouldHighlight)(y),g=(0,l.getChalk)(y),p=a(g),D=(_,J)=>m?_(J):J,C=o.split(s),{start:w,end:k,markerLines:A}=e(c,C,y),N=c.start&&typeof c.start.column=="number",x=String(k).length,P=(m?(0,l.default)(o,y):o).split(s,k).slice(w,k).map((_,J)=>{let d=w+1+J,T=` ${` ${d}`.slice(-x)} |`,f=A[d],F=!A[d+1];if(f){let i="";if(Array.isArray(f)){let h=_.slice(0,Math.max(f[0]-1,0)).replace(/[^\t]/g," "),E=f[1]||1;i=[` - `,D(p.gutter,T.replace(/\d/g," "))," ",h,D(p.marker,"^").repeat(E)].join(""),F&&y.message&&(i+=" "+D(p.message,y.message))}return[D(p.marker,">"),D(p.gutter,T),_.length>0?` ${_}`:"",i].join("")}else return` ${D(p.gutter,T)}${_.length>0?` ${_}`:""}`}).join(` -`);return y.message&&!N&&(P=`${" ".repeat(x+1)}${y.message} -${P}`),m?g.reset(P):P}function n(o,c,y){let m=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(!t){t=!0;let g="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(Zt.emitWarning)Zt.emitWarning(g,"DeprecationWarning");else{let p=new Error(g);p.name="DeprecationWarning",console.warn(new Error(g))}}return y=Math.max(y,0),r(o,{start:{column:y,line:c}},m)}}}),xt=$({"src/main/parser.js"(u,l){ue();var{ConfigError:t}=Fn(),a=or();lt();var{locStart:s,locEnd:e}=a,r=Object.getOwnPropertyNames,n=Object.getOwnPropertyDescriptor;function o(m){let g={};for(let p of m.plugins)if(p.parsers)for(let D of r(p.parsers))Object.defineProperty(g,D,n(p.parsers,D));return g}function c(m){let g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:o(m);if(typeof m.parser=="function")return{parse:m.parser,astFormat:"estree",locStart:s,locEnd:e};if(typeof m.parser=="string"){if(Object.prototype.hasOwnProperty.call(g,m.parser))return g[m.parser];throw new t(`Couldn't resolve parser "${m.parser}". Parsers must be explicitly added to the standalone bundle.`)}}function y(m,g){let p=o(g),D=Object.defineProperties({},Object.fromEntries(Object.keys(p).map(w=>[w,{enumerable:!0,get(){return p[w].parse}}]))),C=c(g,p);try{return C.preprocess&&(m=C.preprocess(m,g)),{text:m,ast:C.parse(m,D,g)}}catch(w){let{loc:k}=w;if(k){let{codeFrameColumns:A}=St();throw w.codeFrame=A(m,k,{highlightCode:!0}),w.message+=` -`+w.codeFrame,w}throw w}}l.exports={parse:y,resolveParser:c}}}),Kt=$({"src/main/options.js"(u,l){ue();var t=Yi(),{UndefinedParserError:a}=Fn(),{getSupportInfo:s}=nu(),e=Mr(),{resolveParser:r}=xt(),n={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function o(m){let g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},p=Object.assign({},m),D=s({plugins:m.plugins,showUnreleased:!0,showDeprecated:!0}).options,C=Object.assign(Object.assign({},n),Object.fromEntries(D.filter(x=>x.default!==void 0).map(x=>[x.name,x.default])));if(!p.parser){if(!p.filepath)(g.logger||console).warn("No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred."),p.parser="babel";else if(p.parser=y(p.filepath,p.plugins),!p.parser)throw new a(`No parser could be inferred for file: ${p.filepath}`)}let w=r(e.normalizeApiOptions(p,[D.find(x=>x.name==="parser")],{passThrough:!0,logger:!1}));p.astFormat=w.astFormat,p.locEnd=w.locEnd,p.locStart=w.locStart;let k=c(p);p.printer=k.printers[p.astFormat];let A=Object.fromEntries(D.filter(x=>x.pluginDefaults&&x.pluginDefaults[k.name]!==void 0).map(x=>[x.name,x.pluginDefaults[k.name]])),N=Object.assign(Object.assign({},C),A);for(let[x,P]of Object.entries(N))(p[x]===null||p[x]===void 0)&&(p[x]=P);return p.parser==="json"&&(p.trailingComma="none"),e.normalizeApiOptions(p,D,Object.assign({passThrough:Object.keys(n)},g))}function c(m){let{astFormat:g}=m;if(!g)throw new Error("getPlugin() requires astFormat to be set");let p=m.plugins.find(D=>D.printers&&D.printers[g]);if(!p)throw new Error(`Couldn't find plugin for AST format "${g}"`);return p}function y(m,g){let p=t.basename(m).toLowerCase(),D=s({plugins:g}).languages.filter(C=>C.since!==null).find(C=>C.extensions&&C.extensions.some(w=>p.endsWith(w))||C.filenames&&C.filenames.some(w=>w.toLowerCase()===p));return D&&D.parsers[0]}l.exports={normalize:o,hiddenDefaults:n,inferParser:y}}}),sr=$({"src/main/massage-ast.js"(u,l){ue();function t(a,s,e){if(Array.isArray(a))return a.map(c=>t(c,s,e)).filter(Boolean);if(!a||typeof a!="object")return a;let r=s.printer.massageAstNode,n;r&&r.ignoredProperties?n=r.ignoredProperties:n=new Set;let o={};for(let[c,y]of Object.entries(a))!n.has(c)&&typeof y!="function"&&(o[c]=t(y,s,a));if(r){let c=r(a,o,e);if(c===null)return;if(c)return c}return o}l.exports=t}}),lr=$({"scripts/build/shims/assert.cjs"(u,l){ue();var t=()=>{};t.ok=t,t.strictEqual=t,l.exports=t}}),Qt=$({"src/main/comments.js"(u,l){ue();var t=lr(),{builders:{line:a,hardline:s,breakParent:e,indent:r,lineSuffix:n,join:o,cursor:c}}=wt(),{hasNewline:y,skipNewline:m,skipSpaces:g,isPreviousLineEmpty:p,addLeadingComment:D,addDanglingComment:C,addTrailingComment:w}=Gt(),k=new WeakMap;function A(I,q,G){if(!I)return;let{printer:M,locStart:te,locEnd:j}=q;if(G){if(M.canAttachComment&&M.canAttachComment(I)){let U;for(U=G.length-1;U>=0&&!(te(G[U])<=te(I)&&j(G[U])<=j(I));--U);G.splice(U+1,0,I);return}}else if(k.has(I))return k.get(I);let De=M.getCommentChildNodes&&M.getCommentChildNodes(I,q)||typeof I=="object"&&Object.entries(I).filter(U=>{let[R]=U;return R!=="enclosingNode"&&R!=="precedingNode"&&R!=="followingNode"&&R!=="tokens"&&R!=="comments"&&R!=="parent"}).map(U=>{let[,R]=U;return R});if(De){G||(G=[],k.set(I,G));for(let U of De)A(U,q,G);return G}}function N(I,q,G,M){let{locStart:te,locEnd:j}=G,De=te(q),U=j(q),R=A(I,G),pe,be,fe=0,Ie=R.length;for(;fe>1,se=R[X],we=te(se),_e=j(se);if(we<=De&&U<=_e)return N(se,q,G,se);if(_e<=De){pe=se,fe=X+1;continue}if(U<=we){be=se,Ie=X;continue}throw new Error("Comment location overlaps with node location")}if(M&&M.type==="TemplateLiteral"){let{quasis:X}=M,se=F(X,q,G);pe&&F(X,pe,G)!==se&&(pe=null),be&&F(X,be,G)!==se&&(be=null)}return{enclosingNode:M,precedingNode:pe,followingNode:be}}var x=()=>!1;function P(I,q,G,M){if(!Array.isArray(I))return;let te=[],{locStart:j,locEnd:De,printer:{handleComments:U={}}}=M,{avoidAstMutation:R,ownLine:pe=x,endOfLine:be=x,remaining:fe=x}=U,Ie=I.map((X,se)=>Object.assign(Object.assign({},N(q,X,M)),{},{comment:X,text:G,options:M,ast:q,isLastComment:I.length-1===se}));for(let[X,se]of Ie.entries()){let{comment:we,precedingNode:_e,enclosingNode:it,followingNode:ae,text:Q,options:me,ast:Ce,isLastComment:Re}=se;if(me.parser==="json"||me.parser==="json5"||me.parser==="__js_expression"||me.parser==="__vue_expression"||me.parser==="__vue_ts_expression"){if(j(we)-j(Ce)<=0){D(Ce,we);continue}if(De(we)-De(Ce)>=0){w(Ce,we);continue}}let Xe;if(R?Xe=[se]:(we.enclosingNode=it,we.precedingNode=_e,we.followingNode=ae,Xe=[we,Q,me,Ce,Re]),J(Q,me,Ie,X))we.placement="ownLine",pe(...Xe)||(ae?D(ae,we):_e?w(_e,we):C(it||Ce,we));else if(d(Q,me,Ie,X))we.placement="endOfLine",be(...Xe)||(_e?w(_e,we):ae?D(ae,we):C(it||Ce,we));else if(we.placement="remaining",!fe(...Xe))if(_e&&ae){let Ye=te.length;Ye>0&&te[Ye-1].followingNode!==ae&&T(te,Q,me),te.push(se)}else _e?w(_e,we):ae?D(ae,we):C(it||Ce,we)}if(T(te,G,M),!R)for(let X of I)delete X.precedingNode,delete X.enclosingNode,delete X.followingNode}var _=I=>!/[\S\n\u2028\u2029]/.test(I);function J(I,q,G,M){let{comment:te,precedingNode:j}=G[M],{locStart:De,locEnd:U}=q,R=De(te);if(j)for(let pe=M-1;pe>=0;pe--){let{comment:be,precedingNode:fe}=G[pe];if(fe!==j||!_(I.slice(U(be),R)))break;R=De(be)}return y(I,R,{backwards:!0})}function d(I,q,G,M){let{comment:te,followingNode:j}=G[M],{locStart:De,locEnd:U}=q,R=U(te);if(j)for(let pe=M+1;pe0;--pe){let{comment:be,precedingNode:fe,followingNode:Ie}=I[pe-1];t.strictEqual(fe,te),t.strictEqual(Ie,j);let X=q.slice(G.locEnd(be),R);if(U.test(X))R=G.locStart(be);else break}for(let[be,{comment:fe}]of I.entries())be1&&be.comments.sort((fe,Ie)=>G.locStart(fe)-G.locStart(Ie));I.length=0}function f(I,q){let G=I.getValue();return G.printed=!0,q.printer.printComment(I,q)}function F(I,q,G){let M=G.locStart(q)-1;for(let te=1;te{let De=I.getValue();!De.leading&&!De.trailing&&(!M||M(De))&&te.push(f(I,q))},"comments"),te.length===0)?"":G?o(s,te):r([s,o(s,te)])}function b(I,q,G){let M=I.getValue();if(!M)return{};let te=M.comments||[];G&&(te=te.filter(R=>!G.has(R)));let j=M===q.cursorNode;if(te.length===0){let R=j?c:"";return{leading:R,trailing:R}}let De=[],U=[];return I.each(()=>{let R=I.getValue();if(G&&G.has(R))return;let{leading:pe,trailing:be}=R;pe?De.push(i(I,q)):be&&U.push(h(I,q))},"comments"),j&&(De.unshift(c),U.push(c)),{leading:De,trailing:U}}function S(I,q,G,M){let{leading:te,trailing:j}=b(I,G,M);return!te&&!j?q:[te,q,j]}function B(I){if(I)for(let q of I){if(!q.printed)throw new Error('Comment "'+q.value.trim()+'" was not printed. Please report this error!');delete q.printed}}l.exports={attach:P,printComments:S,printCommentsSeparately:b,printDanglingComments:E,getSortedChildNodes:A,ensureAllCommentsPrinted:B}}}),Kr=$({"src/common/ast-path.js"(u,l){ue();var t=mr();function a(r,n){let o=s(r.stack,n);return o===-1?null:r.stack[o]}function s(r,n){for(let o=r.length-1;o>=0;o-=2){let c=r[o];if(c&&!Array.isArray(c)&&--n<0)return o}return-1}var e=class{constructor(r){this.stack=[r]}getName(){let{stack:r}=this,{length:n}=r;return n>1?r[n-2]:null}getValue(){return t(this.stack)}getNode(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return a(this,r)}getParentNode(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return a(this,r+1)}call(r){let{stack:n}=this,{length:o}=n,c=t(n);for(var y=arguments.length,m=new Array(y>1?y-1:0),g=1;g1&&arguments[1]!==void 0?arguments[1]:0,o=s(this.stack,n+1),c=this.stack.splice(o+1),y=r(this);return this.stack.push(...c),y}each(r){let{stack:n}=this,{length:o}=n,c=t(n);for(var y=arguments.length,m=new Array(y>1?y-1:0),g=1;g1?o-1:0),y=1;y{n[g]=r(m,g,p)},...c),n}try(r){let{stack:n}=this,o=[...n];try{return r()}finally{n.length=0,n.push(...o)}}match(){let r=this.stack.length-1,n=null,o=this.stack[r--];for(var c=arguments.length,y=new Array(c),m=0;mr(m,g,c,y,p),c)}function r(n,o,c,y){let{stripTrailingHardline:m=!1}=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},g=a(Object.assign(Object.assign(Object.assign({},c),o),{},{parentParser:c.parser,originalText:n}),{passThrough:!0}),p=xt().parse(n,g),{ast:D}=p;n=p.text;let C=D.comments;delete D.comments,s.attach(C,D,n,g),g[Symbol.for("comments")]=C||[],g[Symbol.for("tokens")]=D.tokens||[];let w=y(D,g);return s.ensureAllCommentsPrinted(C),m?typeof w=="string"?w.replace(/(?:\r?\n)*$/,""):t(w):w}l.exports={printSubtree:e}}}),In=$({"src/main/ast-to-doc.js"(u,l){ue();var t=Kr(),{builders:{hardline:a,addAlignmentToDoc:s},utils:{propagateBreaks:e}}=wt(),{printComments:r}=Qt(),n=Pn();function o(m,g){let p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,{printer:D}=g;D.preprocess&&(m=D.preprocess(m,g));let C=new Map,w=new t(m),k=A();return p>0&&(k=s([a,k],p,g.tabWidth)),e(k),k;function A(x,P){return x===void 0||x===w?N(P):Array.isArray(x)?w.call(()=>N(P),...x):w.call(()=>N(P),x)}function N(x){let P=w.getValue(),_=P&&typeof P=="object"&&x===void 0;if(_&&C.has(P))return C.get(P);let J=y(w,g,A,x);return _&&C.set(P,J),J}}function c(m,g){let{originalText:p,[Symbol.for("comments")]:D,locStart:C,locEnd:w}=g,k=C(m),A=w(m),N=new Set;for(let x of D)C(x)>=k&&w(x)<=A&&(x.printed=!0,N.add(x));return{doc:p.slice(k,A),printedComments:N}}function y(m,g,p,D){let C=m.getValue(),{printer:w}=g,k,A;if(w.hasPrettierIgnore&&w.hasPrettierIgnore(m))({doc:k,printedComments:A}=c(C,g));else{if(C)try{k=n.printSubtree(m,p,g,o)}catch(N){if(globalThis.PRETTIER_DEBUG)throw N}k||(k=w.print(m,g,p,D))}return(!w.willPrintOwnComments||!w.willPrintOwnComments(m,g))&&(k=r(m,k,g,A)),k}l.exports=o}}),Hu=$({"src/main/range-util.js"(u,l){ue();var t=lr(),a=Qt(),s=D=>{let{parser:C}=D;return C==="json"||C==="json5"||C==="json-stringify"};function e(D,C){let w=[D.node,...D.parentNodes],k=new Set([C.node,...C.parentNodes]);return w.find(A=>y.has(A.type)&&k.has(A))}function r(D){let C=D.length-1;for(;;){let w=D[C];if(w&&(w.type==="Program"||w.type==="File"))C--;else break}return D.slice(0,C+1)}function n(D,C,w){let{locStart:k,locEnd:A}=w,N=D.node,x=C.node;if(N===x)return{startNode:N,endNode:x};let P=k(D.node);for(let J of r(C.parentNodes))if(k(J)>=P)x=J;else break;let _=A(C.node);for(let J of r(D.parentNodes)){if(A(J)<=_)N=J;else break;if(N===x)break}return{startNode:N,endNode:x}}function o(D,C,w,k){let A=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],N=arguments.length>5?arguments[5]:void 0,{locStart:x,locEnd:P}=w,_=x(D),J=P(D);if(!(C>J||C<_||N==="rangeEnd"&&C===_||N==="rangeStart"&&C===J)){for(let d of a.getSortedChildNodes(D,w)){let T=o(d,C,w,k,[D,...A],N);if(T)return T}if(!k||k(D,A[0]))return{node:D,parentNodes:A}}}function c(D,C){return C!=="DeclareExportDeclaration"&&D!=="TypeParameterDeclaration"&&(D==="Directive"||D==="TypeAlias"||D==="TSExportAssignment"||D.startsWith("Declare")||D.startsWith("TSDeclare")||D.endsWith("Statement")||D.endsWith("Declaration"))}var y=new Set(["ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),m=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]);function g(D,C,w){if(!C)return!1;switch(D.parser){case"flow":case"babel":case"babel-flow":case"babel-ts":case"typescript":case"acorn":case"espree":case"meriyah":case"__babel_estree":return c(C.type,w&&w.type);case"json":case"json5":case"json-stringify":return y.has(C.type);case"graphql":return m.has(C.kind);case"vue":return C.tag!=="root"}return!1}function p(D,C,w){let{rangeStart:k,rangeEnd:A,locStart:N,locEnd:x}=C;t.ok(A>k);let P=D.slice(k,A).search(/\S/),_=P===-1;if(!_)for(k+=P;A>k&&!/\S/.test(D[A-1]);--A);let J=o(w,k,C,(F,i)=>g(C,F,i),[],"rangeStart"),d=_?J:o(w,A,C,F=>g(C,F),[],"rangeEnd");if(!J||!d)return{rangeStart:0,rangeEnd:0};let T,f;if(s(C)){let F=e(J,d);T=F,f=F}else({startNode:T,endNode:f}=n(J,d,C));return{rangeStart:Math.min(N(T),N(f)),rangeEnd:Math.max(x(T),x(f))}}l.exports={calculateRange:p,findNodeAtOffset:o}}}),Yu=$({"src/main/core.js"(u,l){ue();var{diffArrays:t}=zr(),{printer:{printDocToString:a},debug:{printDocToDebug:s}}=wt(),{getAlignmentSize:e}=Gt(),{guessEndOfLine:r,convertEndOfLineToChars:n,countEndOfLineChars:o,normalizeEndOfLine:c}=Rr(),y=Kt().normalize,m=sr(),g=Qt(),p=xt(),D=In(),C=Hu(),w="\uFEFF",k=Symbol("cursor");function A(f,F,i){let h=F.comments;return h&&(delete F.comments,g.attach(h,F,f,i)),i[Symbol.for("comments")]=h||[],i[Symbol.for("tokens")]=F.tokens||[],i.originalText=f,h}function N(f,F){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;if(!f||f.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:h,text:E}=p.parse(f,F);if(F.cursorOffset>=0){let I=C.findNodeAtOffset(h,F.cursorOffset,F);I&&I.node&&(F.cursorNode=I.node)}let b=A(E,h,F),S=D(h,F,i),B=a(S,F);if(g.ensureAllCommentsPrinted(b),i>0){let I=B.formatted.trim();B.cursorNodeStart!==void 0&&(B.cursorNodeStart-=B.formatted.indexOf(I)),B.formatted=I+n(F.endOfLine)}if(F.cursorOffset>=0){let I,q,G,M,te;if(F.cursorNode&&B.cursorNodeText?(I=F.locStart(F.cursorNode),q=E.slice(I,F.locEnd(F.cursorNode)),G=F.cursorOffset-I,M=B.cursorNodeStart,te=B.cursorNodeText):(I=0,q=E,G=F.cursorOffset,M=0,te=B.formatted),q===te)return{formatted:B.formatted,cursorOffset:M+G,comments:b};let j=[...q];j.splice(G,0,k);let De=[...te],U=t(j,De),R=M;for(let pe of U)if(pe.removed){if(pe.value.includes(k))break}else R+=pe.count;return{formatted:B.formatted,cursorOffset:R,comments:b}}return{formatted:B.formatted,cursorOffset:-1,comments:b}}function x(f,F){let{ast:i,text:h}=p.parse(f,F),{rangeStart:E,rangeEnd:b}=C.calculateRange(h,F,i),S=h.slice(E,b),B=Math.min(E,h.lastIndexOf(` -`,E)+1),I=h.slice(B,E).match(/^\s*/)[0],q=e(I,F.tabWidth),G=N(S,Object.assign(Object.assign({},F),{},{rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:F.cursorOffset>E&&F.cursorOffset<=b?F.cursorOffset-E:-1,endOfLine:"lf"}),q),M=G.formatted.trimEnd(),{cursorOffset:te}=F;te>b?te+=M.length-S.length:G.cursorOffset>=0&&(te=G.cursorOffset+E);let j=h.slice(0,E)+M+h.slice(b);if(F.endOfLine!=="lf"){let De=n(F.endOfLine);te>=0&&De===`\r -`&&(te+=o(j.slice(0,te),` -`)),j=j.replace(/\n/g,De)}return{formatted:j,cursorOffset:te,comments:G.comments}}function P(f,F,i){return typeof F!="number"||Number.isNaN(F)||F<0||F>f.length?i:F}function _(f,F){let{cursorOffset:i,rangeStart:h,rangeEnd:E}=F;return i=P(f,i,-1),h=P(f,h,0),E=P(f,E,f.length),Object.assign(Object.assign({},F),{},{cursorOffset:i,rangeStart:h,rangeEnd:E})}function J(f,F){let{cursorOffset:i,rangeStart:h,rangeEnd:E,endOfLine:b}=_(f,F),S=f.charAt(0)===w;if(S&&(f=f.slice(1),i--,h--,E--),b==="auto"&&(b=r(f)),f.includes("\r")){let B=I=>o(f.slice(0,Math.max(I,0)),`\r -`);i-=B(i),h-=B(h),E-=B(E),f=c(f)}return{hasBOM:S,text:f,options:_(f,Object.assign(Object.assign({},F),{},{cursorOffset:i,rangeStart:h,rangeEnd:E,endOfLine:b}))}}function d(f,F){let i=p.resolveParser(F);return!i.hasPragma||i.hasPragma(f)}function T(f,F){let{hasBOM:i,text:h,options:E}=J(f,y(F));if(E.rangeStart>=E.rangeEnd&&h!==""||E.requirePragma&&!d(h,E))return{formatted:f,cursorOffset:F.cursorOffset,comments:[]};let b;return E.rangeStart>0||E.rangeEnd=0&&b.cursorOffset++),b}l.exports={formatWithCursor:T,parse(f,F,i){let{text:h,options:E}=J(f,y(F)),b=p.parse(h,E);return i&&(b.ast=m(b.ast,E)),b},formatAST(f,F){F=y(F);let i=D(f,F);return a(i,F)},formatDoc(f,F){return T(s(f),Object.assign(Object.assign({},F),{},{parser:"__js_expression"})).formatted},printToDoc(f,F){F=y(F);let{ast:i,text:h}=p.parse(f,F);return A(h,i,F),D(i,F)},printDocToString(f,F){return a(f,y(F))}}}}),Ku=$({"src/common/util-shared.js"(u,l){ue();var{getMaxContinuousCount:t,getStringWidth:a,getAlignmentSize:s,getIndentSize:e,skip:r,skipWhitespace:n,skipSpaces:o,skipNewline:c,skipToLineEnd:y,skipEverythingButNewLine:m,skipInlineComment:g,skipTrailingComment:p,hasNewline:D,hasNewlineInRange:C,hasSpaces:w,isNextLineEmpty:k,isNextLineEmptyAfterIndex:A,isPreviousLineEmpty:N,getNextNonSpaceNonCommentCharacterIndex:x,makeString:P,addLeadingComment:_,addDanglingComment:J,addTrailingComment:d}=Gt();l.exports={getMaxContinuousCount:t,getStringWidth:a,getAlignmentSize:s,getIndentSize:e,skip:r,skipWhitespace:n,skipSpaces:o,skipNewline:c,skipToLineEnd:y,skipEverythingButNewLine:m,skipInlineComment:g,skipTrailingComment:p,hasNewline:D,hasNewlineInRange:C,hasSpaces:w,isNextLineEmpty:k,isNextLineEmptyAfterIndex:A,isPreviousLineEmpty:N,getNextNonSpaceNonCommentCharacterIndex:x,makeString:P,addLeadingComment:_,addDanglingComment:J,addTrailingComment:d}}}),vr=$({"src/utils/create-language.js"(u,l){ue(),l.exports=function(t,a){let{languageId:s}=t,e=ne(t,Y);return Object.assign(Object.assign({linguistLanguageId:s},e),a(t))}}}),Qr=$({"node_modules/esutils/lib/ast.js"(u,l){ue(),function(){function t(o){if(o==null)return!1;switch(o.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 a(o){if(o==null)return!1;switch(o.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function s(o){if(o==null)return!1;switch(o.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 e(o){return s(o)||o!=null&&o.type==="FunctionDeclaration"}function r(o){switch(o.type){case"IfStatement":return o.alternate!=null?o.alternate:o.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return o.body}return null}function n(o){var c;if(o.type!=="IfStatement"||o.alternate==null)return!1;c=o.consequent;do{if(c.type==="IfStatement"&&c.alternate==null)return!0;c=r(c)}while(c);return!1}l.exports={isExpression:t,isStatement:s,isIterationStatement:a,isSourceElement:e,isProblematicIfStatement:n,trailingStatement:r}}()}}),cn=$({"node_modules/esutils/lib/code.js"(u,l){ue(),function(){var t,a,s,e,r,n;a={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]/},t={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\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 o(A){return 48<=A&&A<=57}function c(A){return 48<=A&&A<=57||97<=A&&A<=102||65<=A&&A<=70}function y(A){return A>=48&&A<=55}s=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function m(A){return A===32||A===9||A===11||A===12||A===160||A>=5760&&s.indexOf(A)>=0}function g(A){return A===10||A===13||A===8232||A===8233}function p(A){if(A<=65535)return String.fromCharCode(A);var N=String.fromCharCode(Math.floor((A-65536)/1024)+55296),x=String.fromCharCode((A-65536)%1024+56320);return N+x}for(e=new Array(128),n=0;n<128;++n)e[n]=n>=97&&n<=122||n>=65&&n<=90||n===36||n===95;for(r=new Array(128),n=0;n<128;++n)r[n]=n>=97&&n<=122||n>=65&&n<=90||n>=48&&n<=57||n===36||n===95;function D(A){return A<128?e[A]:a.NonAsciiIdentifierStart.test(p(A))}function C(A){return A<128?r[A]:a.NonAsciiIdentifierPart.test(p(A))}function w(A){return A<128?e[A]:t.NonAsciiIdentifierStart.test(p(A))}function k(A){return A<128?r[A]:t.NonAsciiIdentifierPart.test(p(A))}l.exports={isDecimalDigit:o,isHexDigit:c,isOctalDigit:y,isWhiteSpace:m,isLineTerminator:g,isIdentifierStartES5:D,isIdentifierPartES5:C,isIdentifierStartES6:w,isIdentifierPartES6:k}}()}}),ra=$({"node_modules/esutils/lib/keyword.js"(u,l){ue(),function(){var t=cn();function a(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,C){return!C&&D==="yield"?!1:e(D,C)}function e(D,C){if(C&&a(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 r(D,C){return D==="null"||D==="true"||D==="false"||s(D,C)}function n(D,C){return D==="null"||D==="true"||D==="false"||e(D,C)}function o(D){return D==="eval"||D==="arguments"}function c(D){var C,w,k;if(D.length===0||(k=D.charCodeAt(0),!t.isIdentifierStartES5(k)))return!1;for(C=1,w=D.length;C=w||(A=D.charCodeAt(C),!(56320<=A&&A<=57343)))return!1;k=y(k,A)}if(!N(k))return!1;N=t.isIdentifierPartES6}return!0}function g(D,C){return c(D)&&!r(D,C)}function p(D,C){return m(D)&&!n(D,C)}l.exports={isKeywordES5:s,isKeywordES6:e,isReservedWordES5:r,isReservedWordES6:n,isRestrictedWord:o,isIdentifierNameES5:c,isIdentifierNameES6:m,isIdentifierES5:g,isIdentifierES6:p}}()}}),na=$({"node_modules/esutils/lib/utils.js"(u){ue(),function(){u.ast=Qr(),u.code=cn(),u.keyword=ra()}()}}),vn=$({"src/language-js/utils/is-block-comment.js"(u,l){ue();var t=new Set(["Block","CommentBlock","MultiLine"]),a=s=>t.has(s==null?void 0:s.type);l.exports=a}}),ua=$({"src/language-js/utils/is-node-matches.js"(u,l){ue();function t(s,e){let r=e.split(".");for(let n=r.length-1;n>=0;n--){let o=r[n];if(n===0)return s.type==="Identifier"&&s.name===o;if(s.type!=="MemberExpression"||s.optional||s.computed||s.property.type!=="Identifier"||s.property.name!==o)return!1;s=s.object}}function a(s,e){return e.some(r=>t(s,r))}l.exports=a}}),ur=$({"src/language-js/utils/index.js"(u,l){ue();var t=na().keyword.isIdentifierNameES5,{getLast:a,hasNewline:s,skipWhitespace:e,isNonEmptyArray:r,isNextLineEmptyAfterIndex:n,getStringWidth:o}=Gt(),{locStart:c,locEnd:y,hasSameLocStart:m}=or(),g=vn(),p=ua(),D="(?:(?=.)\\s)",C=new RegExp(`^${D}*:`),w=new RegExp(`^${D}*::`);function k(O){var $e,vt;return(($e=O.extra)===null||$e===void 0?void 0:$e.parenthesized)&&g((vt=O.trailingComments)===null||vt===void 0?void 0:vt[0])&&C.test(O.trailingComments[0].value)}function A(O){let $e=O==null?void 0:O[0];return g($e)&&w.test($e.value)}function N(O,$e){if(!O||typeof O!="object")return!1;if(Array.isArray(O))return O.some(zt=>N(zt,$e));let vt=$e(O);return typeof vt=="boolean"?vt:Object.values(O).some(zt=>N(zt,$e))}function x(O){return O.type==="AssignmentExpression"||O.type==="BinaryExpression"||O.type==="LogicalExpression"||O.type==="NGPipeExpression"||O.type==="ConditionalExpression"||we(O)||_e(O)||O.type==="SequenceExpression"||O.type==="TaggedTemplateExpression"||O.type==="BindExpression"||O.type==="UpdateExpression"&&!O.prefix||Ur(O)||O.type==="TSNonNullExpression"}function P(O){var $e,vt,zt,Ht,jr,cr;return O.expressions?O.expressions[0]:($e=(vt=(zt=(Ht=(jr=(cr=O.left)!==null&&cr!==void 0?cr:O.test)!==null&&jr!==void 0?jr:O.callee)!==null&&Ht!==void 0?Ht:O.object)!==null&&zt!==void 0?zt:O.tag)!==null&&vt!==void 0?vt:O.argument)!==null&&$e!==void 0?$e:O.expression}function _(O,$e){if($e.expressions)return["expressions",0];if($e.left)return["left"];if($e.test)return["test"];if($e.object)return["object"];if($e.callee)return["callee"];if($e.tag)return["tag"];if($e.argument)return["argument"];if($e.expression)return["expression"];throw new Error("Unexpected node has no left side.")}function J(O){return O=new Set(O),$e=>O.has($e==null?void 0:$e.type)}var d=J(["Line","CommentLine","SingleLine","HashbangComment","HTMLOpen","HTMLClose"]),T=J(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function f(O){let $e=O.getParentNode();return O.getName()==="declaration"&&T($e)?$e:null}var F=J(["BooleanLiteral","DirectiveLiteral","Literal","NullLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","RegExpLiteral","StringLiteral","TemplateLiteral","TSTypeLiteral","JSXText"]);function i(O){return O.type==="NumericLiteral"||O.type==="Literal"&&typeof O.value=="number"}function h(O){return O.type==="UnaryExpression"&&(O.operator==="+"||O.operator==="-")&&i(O.argument)}function E(O){return O.type==="StringLiteral"||O.type==="Literal"&&typeof O.value=="string"}var b=J(["ObjectTypeAnnotation","TSTypeLiteral","TSMappedType"]),S=J(["FunctionExpression","ArrowFunctionExpression"]);function B(O){return O.type==="FunctionExpression"||O.type==="ArrowFunctionExpression"&&O.body.type==="BlockStatement"}function I(O){return we(O)&&O.callee.type==="Identifier"&&["async","inject","fakeAsync","waitForAsync"].includes(O.callee.name)}var q=J(["JSXElement","JSXFragment"]);function G(O,$e){if(O.parentParser!=="markdown"&&O.parentParser!=="mdx")return!1;let vt=$e.getNode();if(!vt.expression||!q(vt.expression))return!1;let zt=$e.getParentNode();return zt.type==="Program"&&zt.body.length===1}function M(O){return O.kind==="get"||O.kind==="set"}function te(O){return M(O)||m(O,O.value)}function j(O){return(O.type==="ObjectTypeProperty"||O.type==="ObjectTypeInternalSlot")&&O.value.type==="FunctionTypeAnnotation"&&!O.static&&!te(O)}function De(O){return(O.type==="TypeAnnotation"||O.type==="TSTypeAnnotation")&&O.typeAnnotation.type==="FunctionTypeAnnotation"&&!O.static&&!m(O,O.typeAnnotation)}var U=J(["BinaryExpression","LogicalExpression","NGPipeExpression"]);function R(O){return _e(O)||O.type==="BindExpression"&&!!O.object}var pe=new Set(["AnyTypeAnnotation","TSAnyKeyword","NullLiteralTypeAnnotation","TSNullKeyword","ThisTypeAnnotation","TSThisType","NumberTypeAnnotation","TSNumberKeyword","VoidTypeAnnotation","TSVoidKeyword","BooleanTypeAnnotation","TSBooleanKeyword","BigIntTypeAnnotation","TSBigIntKeyword","SymbolTypeAnnotation","TSSymbolKeyword","StringTypeAnnotation","TSStringKeyword","BooleanLiteralTypeAnnotation","StringLiteralTypeAnnotation","BigIntLiteralTypeAnnotation","NumberLiteralTypeAnnotation","TSLiteralType","TSTemplateLiteralType","EmptyTypeAnnotation","MixedTypeAnnotation","TSNeverKeyword","TSObjectKeyword","TSUndefinedKeyword","TSUnknownKeyword"]);function be(O){return O?!!((O.type==="GenericTypeAnnotation"||O.type==="TSTypeReference")&&!O.typeParameters||pe.has(O.type)):!1}function fe(O){let $e=/^(?:before|after)(?:Each|All)$/;return O.callee.type==="Identifier"&&$e.test(O.callee.name)&&O.arguments.length===1}var Ie=["it","it.only","it.skip","describe","describe.only","describe.skip","test","test.only","test.skip","test.step","test.describe","test.describe.only","test.describe.parallel","test.describe.parallel.only","test.describe.serial","test.describe.serial.only","skip","xit","xdescribe","xtest","fit","fdescribe","ftest"];function X(O){return p(O,Ie)}function se(O,$e){if(O.type!=="CallExpression")return!1;if(O.arguments.length===1){if(I(O)&&$e&&se($e))return S(O.arguments[0]);if(fe(O))return I(O.arguments[0])}else if((O.arguments.length===2||O.arguments.length===3)&&(O.arguments[0].type==="TemplateLiteral"||E(O.arguments[0]))&&X(O.callee))return O.arguments[2]&&!i(O.arguments[2])?!1:(O.arguments.length===2?S(O.arguments[1]):B(O.arguments[1])&&Ke(O.arguments[1]).length<=1)||I(O.arguments[1]);return!1}var we=J(["CallExpression","OptionalCallExpression"]),_e=J(["MemberExpression","OptionalMemberExpression"]);function it(O){let $e="expressions";O.type==="TSTemplateLiteralType"&&($e="types");let vt=O[$e];return vt.length===0?!1:vt.every(zt=>{if(Bt(zt))return!1;if(zt.type==="Identifier"||zt.type==="ThisExpression")return!0;if(_e(zt)){let Ht=zt;for(;_e(Ht);)if(Ht.property.type!=="Identifier"&&Ht.property.type!=="Literal"&&Ht.property.type!=="StringLiteral"&&Ht.property.type!=="NumericLiteral"||(Ht=Ht.object,Bt(Ht)))return!1;return Ht.type==="Identifier"||Ht.type==="ThisExpression"}return!1})}function ae(O,$e){return O==="+"||O==="-"?O+$e:$e}function Q(O,$e){let vt=c($e),zt=e(O,y($e));return zt!==!1&&O.slice(vt,vt+2)==="/*"&&O.slice(zt,zt+2)==="*/"}function me(O,$e){return q($e)?jt($e):Bt($e,ft.Leading,vt=>s(O,y(vt)))}function Ce(O,$e){return $e.parser!=="json"&&E(O.key)&&xe(O.key).slice(1,-1)===O.key.value&&(t(O.key.value)&&!($e.parser==="babel-ts"&&O.type==="ClassProperty"||$e.parser==="typescript"&&O.type==="PropertyDefinition")||Re(O.key.value)&&String(Number(O.key.value))===O.key.value&&($e.parser==="babel"||$e.parser==="acorn"||$e.parser==="espree"||$e.parser==="meriyah"||$e.parser==="__babel_estree"))}function Re(O){return/^(?:\d+|\d+\.\d+)$/.test(O)}function Xe(O,$e){let vt=/^[fx]?(?:describe|it|test)$/;return $e.type==="TaggedTemplateExpression"&&$e.quasi===O&&$e.tag.type==="MemberExpression"&&$e.tag.property.type==="Identifier"&&$e.tag.property.name==="each"&&($e.tag.object.type==="Identifier"&&vt.test($e.tag.object.name)||$e.tag.object.type==="MemberExpression"&&$e.tag.object.property.type==="Identifier"&&($e.tag.object.property.name==="only"||$e.tag.object.property.name==="skip")&&$e.tag.object.object.type==="Identifier"&&vt.test($e.tag.object.object.name))}function Ye(O){return O.quasis.some($e=>$e.value.raw.includes(` -`))}function Ct(O,$e){return(O.type==="TemplateLiteral"&&Ye(O)||O.type==="TaggedTemplateExpression"&&Ye(O.quasi))&&!s($e,c(O),{backwards:!0})}function Rt(O){if(!Bt(O))return!1;let $e=a(Te(O,ft.Dangling));return $e&&!g($e)}function It(O){if(O.length<=1)return!1;let $e=0;for(let vt of O)if(S(vt)){if($e+=1,$e>1)return!0}else if(we(vt)){for(let zt of vt.arguments)if(S(zt))return!0}return!1}function Et(O){let $e=O.getValue(),vt=O.getParentNode();return we($e)&&we(vt)&&vt.callee===$e&&$e.arguments.length>vt.arguments.length&&vt.arguments.length>0}function bt(O,$e){if($e>=2)return!1;let vt=cr=>bt(cr,$e+1),zt=O.type==="Literal"&&"regex"in O&&O.regex.pattern||O.type==="RegExpLiteral"&&O.pattern;if(zt&&o(zt)>5)return!1;if(O.type==="Literal"||O.type==="BigIntLiteral"||O.type==="DecimalLiteral"||O.type==="BooleanLiteral"||O.type==="NullLiteral"||O.type==="NumericLiteral"||O.type==="RegExpLiteral"||O.type==="StringLiteral"||O.type==="Identifier"||O.type==="ThisExpression"||O.type==="Super"||O.type==="PrivateName"||O.type==="PrivateIdentifier"||O.type==="ArgumentPlaceholder"||O.type==="Import")return!0;if(O.type==="TemplateLiteral")return O.quasis.every(cr=>!cr.value.raw.includes(` -`))&&O.expressions.every(vt);if(O.type==="ObjectExpression")return O.properties.every(cr=>!cr.computed&&(cr.shorthand||cr.value&&vt(cr.value)));if(O.type==="ArrayExpression")return O.elements.every(cr=>cr===null||vt(cr));if(Sr(O))return(O.type==="ImportExpression"||bt(O.callee,$e))&&ar(O).every(vt);if(_e(O))return bt(O.object,$e)&&bt(O.property,$e);let Ht={"!":!0,"-":!0,"+":!0,"~":!0};if(O.type==="UnaryExpression"&&Ht[O.operator])return bt(O.argument,$e);let jr={"++":!0,"--":!0};return O.type==="UpdateExpression"&&jr[O.operator]?bt(O.argument,$e):O.type==="TSNonNullExpression"?bt(O.expression,$e):!1}function xe(O){var $e,vt;return($e=(vt=O.extra)===null||vt===void 0?void 0:vt.raw)!==null&&$e!==void 0?$e:O.raw}function H(O){return O}function ke(O){return O.filepath&&/\.tsx$/i.test(O.filepath)}function oe(O){let $e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"es5";return O.trailingComma==="es5"&&$e==="es5"||O.trailingComma==="all"&&($e==="all"||$e==="es5")}function Be(O,$e){switch(O.type){case"BinaryExpression":case"LogicalExpression":case"AssignmentExpression":case"NGPipeExpression":return Be(O.left,$e);case"MemberExpression":case"OptionalMemberExpression":return Be(O.object,$e);case"TaggedTemplateExpression":return O.tag.type==="FunctionExpression"?!1:Be(O.tag,$e);case"CallExpression":case"OptionalCallExpression":return O.callee.type==="FunctionExpression"?!1:Be(O.callee,$e);case"ConditionalExpression":return Be(O.test,$e);case"UpdateExpression":return!O.prefix&&Be(O.argument,$e);case"BindExpression":return O.object&&Be(O.object,$e);case"SequenceExpression":return Be(O.expressions[0],$e);case"TSSatisfiesExpression":case"TSAsExpression":case"TSNonNullExpression":return Be(O.expression,$e);default:return $e(O)}}var pt={"==":!0,"!=":!0,"===":!0,"!==":!0},ut={"*":!0,"/":!0,"%":!0},Le={">>":!0,">>>":!0,"<<":!0};function v(O,$e){return!(ye($e)!==ye(O)||O==="**"||pt[O]&&pt[$e]||$e==="%"&&ut[O]||O==="%"&&ut[$e]||$e!==O&&ut[$e]&&ut[O]||Le[O]&&Le[$e])}var K=new Map([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].flatMap((O,$e)=>O.map(vt=>[vt,$e])));function ye(O){return K.get(O)}function ze(O){return!!Le[O]||O==="|"||O==="^"||O==="&"}function tt(O){var $e;if(O.rest)return!0;let vt=Ke(O);return(($e=a(vt))===null||$e===void 0?void 0:$e.type)==="RestElement"}var ht=new WeakMap;function Ke(O){if(ht.has(O))return ht.get(O);let $e=[];return O.this&&$e.push(O.this),Array.isArray(O.parameters)?$e.push(...O.parameters):Array.isArray(O.params)&&$e.push(...O.params),O.rest&&$e.push(O.rest),ht.set(O,$e),$e}function pr(O,$e){let vt=O.getValue(),zt=0,Ht=jr=>$e(jr,zt++);vt.this&&O.call(Ht,"this"),Array.isArray(vt.parameters)?O.each(Ht,"parameters"):Array.isArray(vt.params)&&O.each(Ht,"params"),vt.rest&&O.call(Ht,"rest")}var dt=new WeakMap;function ar(O){if(dt.has(O))return dt.get(O);let $e=O.arguments;return O.type==="ImportExpression"&&($e=[O.source],O.attributes&&$e.push(O.attributes)),dt.set(O,$e),$e}function Dt(O,$e){let vt=O.getValue();vt.type==="ImportExpression"?(O.call(zt=>$e(zt,0),"source"),vt.attributes&&O.call(zt=>$e(zt,1),"attributes")):O.each($e,"arguments")}function Tt(O){return O.value.trim()==="prettier-ignore"&&!O.unignore}function jt(O){return O&&(O.prettierIgnore||Bt(O,ft.PrettierIgnore))}function tr(O){let $e=O.getValue();return jt($e)}var ft={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},Pt=(O,$e)=>{if(typeof O=="function"&&($e=O,O=0),O||$e)return(vt,zt,Ht)=>!(O&ft.Leading&&!vt.leading||O&ft.Trailing&&!vt.trailing||O&ft.Dangling&&(vt.leading||vt.trailing)||O&ft.Block&&!g(vt)||O&ft.Line&&!d(vt)||O&ft.First&&zt!==0||O&ft.Last&&zt!==Ht.length-1||O&ft.PrettierIgnore&&!Tt(vt)||$e&&!$e(vt))};function Bt(O,$e,vt){if(!r(O==null?void 0:O.comments))return!1;let zt=Pt($e,vt);return zt?O.comments.some(zt):!0}function Te(O,$e,vt){if(!Array.isArray(O==null?void 0:O.comments))return[];let zt=Pt($e,vt);return zt?O.comments.filter(zt):O.comments}var Vr=(O,$e)=>{let{originalText:vt}=$e;return n(vt,y(O))};function Sr(O){return we(O)||O.type==="NewExpression"||O.type==="ImportExpression"}function Xt(O){return O&&(O.type==="ObjectProperty"||O.type==="Property"&&!O.method&&O.kind==="init")}function Wt(O){return!!O.__isUsingHackPipeline}var nr=Symbol("ifWithoutBlockAndSameLineComment");function Ur(O){return O.type==="TSAsExpression"||O.type==="TSSatisfiesExpression"}l.exports={getFunctionParameters:Ke,iterateFunctionParametersPath:pr,getCallArguments:ar,iterateCallArgumentsPath:Dt,hasRestParameter:tt,getLeftSide:P,getLeftSidePathName:_,getParentExportDeclaration:f,getTypeScriptMappedTypeModifier:ae,hasFlowAnnotationComment:A,hasFlowShorthandAnnotationComment:k,hasLeadingOwnLineComment:me,hasNakedLeftSide:x,hasNode:N,hasIgnoreComment:tr,hasNodeIgnoreComment:jt,identity:H,isBinaryish:U,isCallLikeExpression:Sr,isEnabledHackPipeline:Wt,isLineComment:d,isPrettierIgnoreComment:Tt,isCallExpression:we,isMemberExpression:_e,isExportDeclaration:T,isFlowAnnotationComment:Q,isFunctionCompositionArgs:It,isFunctionNotation:te,isFunctionOrArrowExpression:S,isGetterOrSetter:M,isJestEachTemplateLiteral:Xe,isJsxNode:q,isLiteral:F,isLongCurriedCallExpression:Et,isSimpleCallArgument:bt,isMemberish:R,isNumericLiteral:i,isSignedNumericLiteral:h,isObjectProperty:Xt,isObjectType:b,isObjectTypePropertyAFunction:j,isSimpleType:be,isSimpleNumber:Re,isSimpleTemplateLiteral:it,isStringLiteral:E,isStringPropSafeToUnquote:Ce,isTemplateOnItsOwnLine:Ct,isTestCall:se,isTheOnlyJsxElementInMarkdown:G,isTSXFile:ke,isTypeAnnotationAFunction:De,isNextLineEmpty:Vr,needsHardlineAfterDanglingComment:Rt,rawText:xe,shouldPrintComma:oe,isBitwiseOperator:ze,shouldFlatten:v,startsWithNoLookaheadToken:Be,getPrecedence:ye,hasComment:Bt,getComments:Te,CommentCheckFlags:ft,markerForIfWithoutBlockAndSameLineComment:nr,isTSTypeExpression:Ur}}}),jn=$({"src/language-js/print/template-literal.js"(u,l){ue();var t=mr(),{getStringWidth:a,getIndentSize:s}=Gt(),{builders:{join:e,hardline:r,softline:n,group:o,indent:c,align:y,lineSuffixBoundary:m,addAlignmentToDoc:g},printer:{printDocToString:p},utils:{mapDoc:D}}=wt(),{isBinaryish:C,isJestEachTemplateLiteral:w,isSimpleTemplateLiteral:k,hasComment:A,isMemberExpression:N,isTSTypeExpression:x}=ur();function P(F,i,h){let E=F.getValue();if(E.type==="TemplateLiteral"&&w(E,F.getParentNode())){let q=_(F,h,i);if(q)return q}let b="expressions";E.type==="TSTemplateLiteralType"&&(b="types");let S=[],B=F.map(i,b),I=k(E);return I&&(B=B.map(q=>p(q,Object.assign(Object.assign({},h),{},{printWidth:Number.POSITIVE_INFINITY})).formatted)),S.push(m,"`"),F.each(q=>{let G=q.getName();if(S.push(i()),G1||b.some(S=>S.length>0)){i.__inJestEach=!0;let S=F.map(h,"expressions");i.__inJestEach=!1;let B=[],I=S.map(j=>"${"+p(j,Object.assign(Object.assign({},i),{},{printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"})).formatted+"}"),q=[{hasLineBreak:!1,cells:[]}];for(let j=1;jj.cells.length)),M=Array.from({length:G}).fill(0),te=[{cells:b},...q.filter(j=>j.cells.length>0)];for(let{cells:j}of te.filter(De=>!De.hasLineBreak))for(let[De,U]of j.entries())M[De]=Math.max(M[De],a(U));return B.push(m,"`",c([r,e(r,te.map(j=>e(" | ",j.cells.map((De,U)=>j.hasLineBreak?De:De+" ".repeat(M[U]-a(De))))))]),r,"`"),B}}function J(F,i){let h=F.getValue(),E=i();return A(h)&&(E=o([c([n,E]),n])),["${",E,m,"}"]}function d(F,i){return F.map(h=>J(h,i),"expressions")}function T(F,i){return D(F,h=>typeof h=="string"?i?h.replace(/(\\*)`/g,"$1$1\\`"):f(h):h)}function f(F){return F.replace(/([\\`]|\${)/g,"\\$1")}l.exports={printTemplateLiteral:P,printTemplateExpressions:d,escapeTemplateCharacters:T,uncookTemplateElementValue:f}}}),ia=$({"src/language-js/embed/markdown.js"(u,l){ue();var{builders:{indent:t,softline:a,literalline:s,dedentToRoot:e}}=wt(),{escapeTemplateCharacters:r}=jn();function n(c,y,m){let g=c.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,(w,k)=>"\\".repeat(k.length/2)+"`"),p=o(g),D=p!=="";D&&(g=g.replace(new RegExp(`^${p}`,"gm"),""));let C=r(m(g,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return["`",D?t([a,C]):[s,e(C)],a,"`"]}function o(c){let y=c.match(/^([^\S\n]*)\S/m);return y===null?"":y[1]}l.exports=n}}),sa=$({"src/language-js/embed/css.js"(u,l){ue();var{isNonEmptyArray:t}=Gt(),{builders:{indent:a,hardline:s,softline:e},utils:{mapDoc:r,replaceEndOfLine:n,cleanDoc:o}}=wt(),{printTemplateExpressions:c}=jn();function y(p,D,C){let w=p.getValue(),k=w.quasis.map(_=>_.value.raw),A=0,N=k.reduce((_,J,d)=>d===0?J:_+"@prettier-placeholder-"+A+++"-id"+J,""),x=C(N,{parser:"scss"},{stripTrailingHardline:!0}),P=c(p,D);return m(x,w,P)}function m(p,D,C){if(D.quasis.length===1&&!D.quasis[0].value.raw.trim())return"``";let w=g(p,C);if(!w)throw new Error("Couldn't insert all the expressions");return["`",a([s,w]),e,"`"]}function g(p,D){if(!t(D))return p;let C=0,w=r(o(p),k=>typeof k!="string"||!k.includes("@prettier-placeholder")?k:k.split(/@prettier-placeholder-(\d+)-id/).map((A,N)=>N%2===0?n(A):(C++,D[A])));return D.length===C?w:null}l.exports=y}}),aa=$({"src/language-js/embed/graphql.js"(u,l){ue();var{builders:{indent:t,join:a,hardline:s}}=wt(),{escapeTemplateCharacters:e,printTemplateExpressions:r}=jn();function n(c,y,m){let g=c.getValue(),p=g.quasis.length;if(p===1&&g.quasis[0].value.raw.trim()==="")return"``";let D=r(c,y),C=[];for(let w=0;w2&&P[0].trim()===""&&P[1].trim()==="",T=_>2&&P[_-1].trim()===""&&P[_-2].trim()==="",f=P.every(i=>/^\s*(?:#[^\n\r]*)?$/.test(i));if(!N&&/#[^\n\r]*$/.test(P[_-1]))return null;let F=null;f?F=o(P):F=m(x,{parser:"graphql"},{stripTrailingHardline:!0}),F?(F=e(F,!1),!A&&d&&C.push(""),C.push(F),!N&&T&&C.push("")):!A&&!N&&d&&C.push(""),J&&C.push(J)}return["`",t([s,a(s,C)]),s,"`"]}function o(c){let y=[],m=!1,g=c.map(p=>p.trim());for(let[p,D]of g.entries())D!==""&&(g[p-1]===""&&m?y.push([s,D]):y.push(D),m=!0);return y.length===0?null:a(s,y)}l.exports=n}}),oa=$({"src/language-js/embed/html.js"(u,l){ue();var{builders:{indent:t,line:a,hardline:s,group:e},utils:{mapDoc:r}}=wt(),{printTemplateExpressions:n,uncookTemplateElementValue:o}=jn(),c=0;function y(m,g,p,D,C){let{parser:w}=C,k=m.getValue(),A=c;c=c+1>>>0;let N=h=>`PRETTIER_HTML_PLACEHOLDER_${h}_${A}_IN_JS`,x=k.quasis.map((h,E,b)=>E===b.length-1?h.value.cooked:h.value.cooked+N(E)).join(""),P=n(m,g);if(P.length===0&&x.trim().length===0)return"``";let _=new RegExp(N("(\\d+)"),"g"),J=0,d=p(x,{parser:w,__onHtmlRoot(h){J=h.children.length}},{stripTrailingHardline:!0}),T=r(d,h=>{if(typeof h!="string")return h;let E=[],b=h.split(_);for(let S=0;S1?t(e(T)):e(T),F,"`"])}l.exports=y}}),la=$({"src/language-js/embed.js"(u,l){ue();var{hasComment:t,CommentCheckFlags:a,isObjectProperty:s}=ur(),e=ia(),r=sa(),n=aa(),o=oa();function c(d){if(g(d)||w(d)||k(d)||p(d))return"css";if(x(d))return"graphql";if(_(d))return"html";if(D(d))return"angular";if(m(d))return"markdown"}function y(d,T,f,F){let i=d.getValue();if(i.type!=="TemplateLiteral"||J(i))return;let h=c(d);if(h){if(h==="markdown")return e(d,T,f);if(h==="css")return r(d,T,f);if(h==="graphql")return n(d,T,f);if(h==="html"||h==="angular")return o(d,T,f,F,{parser:h})}}function m(d){let T=d.getValue(),f=d.getParentNode();return f&&f.type==="TaggedTemplateExpression"&&T.quasis.length===1&&f.tag.type==="Identifier"&&(f.tag.name==="md"||f.tag.name==="markdown")}function g(d){let T=d.getValue(),f=d.getParentNode(),F=d.getParentNode(1);return F&&T.quasis&&f.type==="JSXExpressionContainer"&&F.type==="JSXElement"&&F.openingElement.name.name==="style"&&F.openingElement.attributes.some(i=>i.name.name==="jsx")||f&&f.type==="TaggedTemplateExpression"&&f.tag.type==="Identifier"&&f.tag.name==="css"||f&&f.type==="TaggedTemplateExpression"&&f.tag.type==="MemberExpression"&&f.tag.object.name==="css"&&(f.tag.property.name==="global"||f.tag.property.name==="resolve")}function p(d){return d.match(T=>T.type==="TemplateLiteral",(T,f)=>T.type==="ArrayExpression"&&f==="elements",(T,f)=>s(T)&&T.key.type==="Identifier"&&T.key.name==="styles"&&f==="value",...C)}function D(d){return d.match(T=>T.type==="TemplateLiteral",(T,f)=>s(T)&&T.key.type==="Identifier"&&T.key.name==="template"&&f==="value",...C)}var C=[(d,T)=>d.type==="ObjectExpression"&&T==="properties",(d,T)=>d.type==="CallExpression"&&d.callee.type==="Identifier"&&d.callee.name==="Component"&&T==="arguments",(d,T)=>d.type==="Decorator"&&T==="expression"];function w(d){let T=d.getParentNode();if(!T||T.type!=="TaggedTemplateExpression")return!1;let f=T.tag.type==="ParenthesizedExpression"?T.tag.expression:T.tag;switch(f.type){case"MemberExpression":return A(f.object)||N(f);case"CallExpression":return A(f.callee)||f.callee.type==="MemberExpression"&&(f.callee.object.type==="MemberExpression"&&(A(f.callee.object.object)||N(f.callee.object))||f.callee.object.type==="CallExpression"&&A(f.callee.object.callee));case"Identifier":return f.name==="css";default:return!1}}function k(d){let T=d.getParentNode(),f=d.getParentNode(1);return f&&T.type==="JSXExpressionContainer"&&f.type==="JSXAttribute"&&f.name.type==="JSXIdentifier"&&f.name.name==="css"}function A(d){return d.type==="Identifier"&&d.name==="styled"}function N(d){return/^[A-Z]/.test(d.object.name)&&d.property.name==="extend"}function x(d){let T=d.getValue(),f=d.getParentNode();return P(T,"GraphQL")||f&&(f.type==="TaggedTemplateExpression"&&(f.tag.type==="MemberExpression"&&f.tag.object.name==="graphql"&&f.tag.property.name==="experimental"||f.tag.type==="Identifier"&&(f.tag.name==="gql"||f.tag.name==="graphql"))||f.type==="CallExpression"&&f.callee.type==="Identifier"&&f.callee.name==="graphql")}function P(d,T){return t(d,a.Block|a.Leading,f=>{let{value:F}=f;return F===` ${T} `})}function _(d){return P(d.getValue(),"HTML")||d.match(T=>T.type==="TemplateLiteral",(T,f)=>T.type==="TaggedTemplateExpression"&&T.tag.type==="Identifier"&&T.tag.name==="html"&&f==="quasi")}function J(d){let{quasis:T}=d;return T.some(f=>{let{value:{cooked:F}}=f;return F===null})}l.exports=y}}),pa=$({"src/language-js/clean.js"(u,l){ue();var t=vn(),a=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),s=r=>{for(let n of r.quasis)delete n.value};function e(r,n,o){if(r.type==="Program"&&delete n.sourceType,(r.type==="BigIntLiteral"||r.type==="BigIntLiteralTypeAnnotation")&&n.value&&(n.value=n.value.toLowerCase()),(r.type==="BigIntLiteral"||r.type==="Literal")&&n.bigint&&(n.bigint=n.bigint.toLowerCase()),r.type==="DecimalLiteral"&&(n.value=Number(n.value)),r.type==="Literal"&&n.decimal&&(n.decimal=Number(n.decimal)),r.type==="EmptyStatement"||r.type==="JSXText"||r.type==="JSXExpressionContainer"&&(r.expression.type==="Literal"||r.expression.type==="StringLiteral")&&r.expression.value===" ")return null;if((r.type==="Property"||r.type==="ObjectProperty"||r.type==="MethodDefinition"||r.type==="ClassProperty"||r.type==="ClassMethod"||r.type==="PropertyDefinition"||r.type==="TSDeclareMethod"||r.type==="TSPropertySignature"||r.type==="ObjectTypeProperty")&&typeof r.key=="object"&&r.key&&(r.key.type==="Literal"||r.key.type==="NumericLiteral"||r.key.type==="StringLiteral"||r.key.type==="Identifier")&&delete n.key,r.type==="JSXElement"&&r.openingElement.name.name==="style"&&r.openingElement.attributes.some(m=>m.name.name==="jsx"))for(let{type:m,expression:g}of n.children)m==="JSXExpressionContainer"&&g.type==="TemplateLiteral"&&s(g);r.type==="JSXAttribute"&&r.name.name==="css"&&r.value.type==="JSXExpressionContainer"&&r.value.expression.type==="TemplateLiteral"&&s(n.value.expression),r.type==="JSXAttribute"&&r.value&&r.value.type==="Literal"&&/["']|"|'/.test(r.value.value)&&(n.value.value=n.value.value.replace(/["']|"|'/g,'"'));let c=r.expression||r.callee;if(r.type==="Decorator"&&c.type==="CallExpression"&&c.callee.name==="Component"&&c.arguments.length===1){let m=r.expression.arguments[0].properties;for(let[g,p]of n.expression.arguments[0].properties.entries())switch(m[g].key.name){case"styles":p.value.type==="ArrayExpression"&&s(p.value.elements[0]);break;case"template":p.value.type==="TemplateLiteral"&&s(p.value);break}}if(r.type==="TaggedTemplateExpression"&&(r.tag.type==="MemberExpression"||r.tag.type==="Identifier"&&(r.tag.name==="gql"||r.tag.name==="graphql"||r.tag.name==="css"||r.tag.name==="md"||r.tag.name==="markdown"||r.tag.name==="html")||r.tag.type==="CallExpression")&&s(n.quasi),r.type==="TemplateLiteral"){var y;(!((y=r.leadingComments)===null||y===void 0)&&y.some(m=>t(m)&&["GraphQL","HTML"].some(g=>m.value===` ${g} `))||o.type==="CallExpression"&&o.callee.name==="graphql"||!r.leadingComments)&&s(n)}if(r.type==="InterpreterDirective"&&(n.value=n.value.trimEnd()),(r.type==="TSIntersectionType"||r.type==="TSUnionType")&&r.types.length===1)return n.types[0]}e.ignoredProperties=a,l.exports=e}}),Es={};Ft(Es,{EOL:()=>ss,arch:()=>ca,cpus:()=>xs,default:()=>_s,endianness:()=>Cs,freemem:()=>bs,getNetworkInterfaces:()=>Ns,hostname:()=>Fs,loadavg:()=>As,networkInterfaces:()=>ws,platform:()=>Da,release:()=>Bs,tmpDir:()=>us,tmpdir:()=>is,totalmem:()=>Ss,type:()=>Ts,uptime:()=>vs});function Cs(){if(typeof Qu>"u"){var u=new ArrayBuffer(2),l=new Uint8Array(u),t=new Uint16Array(u);if(l[0]=1,l[1]=2,t[0]===258)Qu="BE";else if(t[0]===513)Qu="LE";else throw new Error("unable to figure out endianess")}return Qu}function Fs(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function As(){return[]}function vs(){return 0}function bs(){return Number.MAX_VALUE}function Ss(){return Number.MAX_VALUE}function xs(){return[]}function Ts(){return"Browser"}function Bs(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function ws(){}function Ns(){}function ca(){return"javascript"}function Da(){return"browser"}function us(){return"/tmp"}var Qu,is,ss,_s,da=rt({"node-modules-polyfills:os"(){ue(),is=us,ss=` -`,_s={EOL:ss,tmpdir:is,tmpDir:us,networkInterfaces:ws,getNetworkInterfaces:Ns,release:Bs,type:Ts,cpus:xs,totalmem:Ss,freemem:bs,uptime:vs,loadavg:As,hostname:Fs,endianness:Cs}}}),fa=$({"node-modules-polyfills-commonjs:os"(u,l){ue();var t=(da(),qt(Es));if(t&&t.default){l.exports=t.default;for(let a in t)l.exports[a]=t[a]}else t&&(l.exports=t)}}),ma=$({"node_modules/detect-newline/index.js"(u,l){ue();var t=a=>{if(typeof a!="string")throw new TypeError("Expected a string");let s=a.match(/(?:\r?\n)/g)||[];if(s.length===0)return;let e=s.filter(n=>n===`\r -`).length,r=s.length-e;return e>r?`\r -`:` -`};l.exports=t,l.exports.graceful=a=>typeof a=="string"&&t(a)||` -`}}),ha=$({"node_modules/jest-docblock/build/index.js"(u){ue(),Object.defineProperty(u,"__esModule",{value:!0}),u.extract=p,u.parse=C,u.parseWithComments=w,u.print=k,u.strip=D;function l(){let N=fa();return l=function(){return N},N}function t(){let N=a(ma());return t=function(){return N},N}function a(N){return N&&N.__esModule?N:{default:N}}var s=/\*\/$/,e=/^\/\*\*?/,r=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,n=/(^|\s+)\/\/([^\r\n]*)/g,o=/^(\r?\n)+/,c=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,y=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,m=/(\r?\n|^) *\* ?/g,g=[];function p(N){let x=N.match(r);return x?x[0].trimLeft():""}function D(N){let x=N.match(r);return x&&x[0]?N.substring(x[0].length):N}function C(N){return w(N).pragmas}function w(N){let x=(0,t().default)(N)||l().EOL;N=N.replace(e,"").replace(s,"").replace(m,"$1");let P="";for(;P!==N;)P=N,N=N.replace(c,`${x}$1 $2${x}`);N=N.replace(o,"").trimRight();let _=Object.create(null),J=N.replace(y,"").replace(o,"").trimRight(),d;for(;d=y.exec(N);){let T=d[2].replace(n,"");typeof _[d[1]]=="string"||Array.isArray(_[d[1]])?_[d[1]]=g.concat(_[d[1]],T):_[d[1]]=T}return{comments:J,pragmas:_}}function k(N){let{comments:x="",pragmas:P={}}=N,_=(0,t().default)(x)||l().EOL,J="/**",d=" *",T=" */",f=Object.keys(P),F=f.map(h=>A(h,P[h])).reduce((h,E)=>h.concat(E),[]).map(h=>`${d} ${h}${_}`).join("");if(!x){if(f.length===0)return"";if(f.length===1&&!Array.isArray(P[f[0]])){let h=P[f[0]];return`${J} ${A(f[0],h)[0]}${T}`}}let i=x.split(_).map(h=>`${d} ${h}`).join(_)+_;return J+_+(x?i:"")+(x&&f.length?d+_:"")+F+T}function A(N,x){return g.concat(x).map(P=>`@${N} ${P}`.trim())}}}),ga=$({"src/language-js/utils/get-shebang.js"(u,l){ue();function t(a){if(!a.startsWith("#!"))return"";let s=a.indexOf(` -`);return s===-1?a:a.slice(0,s)}l.exports=t}}),ks=$({"src/language-js/pragma.js"(u,l){ue();var{parseWithComments:t,strip:a,extract:s,print:e}=ha(),{normalizeEndOfLine:r}=Rr(),n=ga();function o(m){let g=n(m);g&&(m=m.slice(g.length+1));let p=s(m),{pragmas:D,comments:C}=t(p);return{shebang:g,text:m,pragmas:D,comments:C}}function c(m){let g=Object.keys(o(m).pragmas);return g.includes("prettier")||g.includes("format")}function y(m){let{shebang:g,text:p,pragmas:D,comments:C}=o(m),w=a(p),k=e({pragmas:Object.assign({format:""},D),comments:C.trimStart()});return(g?`${g} -`:"")+r(k)+(w.startsWith(` -`)?` -`:` - -`)+w}l.exports={hasPragma:c,insertPragma:y}}}),ya=$({"src/language-js/utils/is-type-cast-comment.js"(u,l){ue();var t=vn();function a(s){return t(s)&&s.value[0]==="*"&&/@(?:type|satisfies)\b/.test(s.value)}l.exports=a}}),Ps=$({"src/language-js/comments.js"(u,l){ue();var{getLast:t,hasNewline:a,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:s,getNextNonSpaceNonCommentCharacter:e,hasNewlineInRange:r,addLeadingComment:n,addTrailingComment:o,addDanglingComment:c,getNextNonSpaceNonCommentCharacterIndex:y,isNonEmptyArray:m}=Gt(),{getFunctionParameters:g,isPrettierIgnoreComment:p,isJsxNode:D,hasFlowShorthandAnnotationComment:C,hasFlowAnnotationComment:w,hasIgnoreComment:k,isCallLikeExpression:A,getCallArguments:N,isCallExpression:x,isMemberExpression:P,isObjectProperty:_,isLineComment:J,getComments:d,CommentCheckFlags:T,markerForIfWithoutBlockAndSameLineComment:f}=ur(),{locStart:F,locEnd:i}=or(),h=vn(),E=ya();function b(Le){return[H,it,De,M,te,j,be,Ye,Ce,Xe,Ct,Rt,Ie,ae,Q].some(v=>v(Le))}function S(Le){return[G,it,U,Ct,M,te,j,be,ae,me,Re,Xe,bt,Q,oe].some(v=>v(Le))}function B(Le){return[H,M,te,R,_e,Ie,Xe,we,se,ke,Q,xe].some(v=>v(Le))}function I(Le,v){let K=(Le.body||Le.properties).find(ye=>{let{type:ze}=ye;return ze!=="EmptyStatement"});K?n(K,v):c(Le,v)}function q(Le,v){Le.type==="BlockStatement"?I(Le,v):n(Le,v)}function G(Le){let{comment:v,followingNode:K}=Le;return K&&E(v)?(n(K,v),!0):!1}function M(Le){let{comment:v,precedingNode:K,enclosingNode:ye,followingNode:ze,text:tt}=Le;if((ye==null?void 0:ye.type)!=="IfStatement"||!ze)return!1;if(e(tt,v,i)===")")return o(K,v),!0;if(K===ye.consequent&&ze===ye.alternate){if(K.type==="BlockStatement")o(K,v);else{let ht=v.type==="SingleLine"||v.loc.start.line===v.loc.end.line,Ke=v.loc.start.line===K.loc.start.line;ht&&Ke?c(K,v,f):c(ye,v)}return!0}return ze.type==="BlockStatement"?(I(ze,v),!0):ze.type==="IfStatement"?(q(ze.consequent,v),!0):ye.consequent===ze?(n(ze,v),!0):!1}function te(Le){let{comment:v,precedingNode:K,enclosingNode:ye,followingNode:ze,text:tt}=Le;return(ye==null?void 0:ye.type)!=="WhileStatement"||!ze?!1:e(tt,v,i)===")"?(o(K,v),!0):ze.type==="BlockStatement"?(I(ze,v),!0):ye.body===ze?(n(ze,v),!0):!1}function j(Le){let{comment:v,precedingNode:K,enclosingNode:ye,followingNode:ze}=Le;return(ye==null?void 0:ye.type)!=="TryStatement"&&(ye==null?void 0:ye.type)!=="CatchClause"||!ze?!1:ye.type==="CatchClause"&&K?(o(K,v),!0):ze.type==="BlockStatement"?(I(ze,v),!0):ze.type==="TryStatement"?(q(ze.finalizer,v),!0):ze.type==="CatchClause"?(q(ze.body,v),!0):!1}function De(Le){let{comment:v,enclosingNode:K,followingNode:ye}=Le;return P(K)&&(ye==null?void 0:ye.type)==="Identifier"?(n(K,v),!0):!1}function U(Le){let{comment:v,precedingNode:K,enclosingNode:ye,followingNode:ze,text:tt}=Le,ht=K&&!r(tt,i(K),F(v));return(!K||!ht)&&((ye==null?void 0:ye.type)==="ConditionalExpression"||(ye==null?void 0:ye.type)==="TSConditionalType")&&ze?(n(ze,v),!0):!1}function R(Le){let{comment:v,precedingNode:K,enclosingNode:ye}=Le;return _(ye)&&ye.shorthand&&ye.key===K&&ye.value.type==="AssignmentPattern"?(o(ye.value.left,v),!0):!1}var pe=new Set(["ClassDeclaration","ClassExpression","DeclareClass","DeclareInterface","InterfaceDeclaration","TSInterfaceDeclaration"]);function be(Le){let{comment:v,precedingNode:K,enclosingNode:ye,followingNode:ze}=Le;if(pe.has(ye==null?void 0:ye.type)){if(m(ye.decorators)&&!(ze&&ze.type==="Decorator"))return o(t(ye.decorators),v),!0;if(ye.body&&ze===ye.body)return I(ye.body,v),!0;if(ze){if(ye.superClass&&ze===ye.superClass&&K&&(K===ye.id||K===ye.typeParameters))return o(K,v),!0;for(let tt of["implements","extends","mixins"])if(ye[tt]&&ze===ye[tt][0])return K&&(K===ye.id||K===ye.typeParameters||K===ye.superClass)?o(K,v):c(ye,v,tt),!0}}return!1}var fe=new Set(["ClassMethod","ClassProperty","PropertyDefinition","TSAbstractPropertyDefinition","TSAbstractMethodDefinition","TSDeclareMethod","MethodDefinition","ClassAccessorProperty","AccessorProperty","TSAbstractAccessorProperty"]);function Ie(Le){let{comment:v,precedingNode:K,enclosingNode:ye,text:ze}=Le;return ye&&K&&e(ze,v,i)==="("&&(ye.type==="Property"||ye.type==="TSDeclareMethod"||ye.type==="TSAbstractMethodDefinition")&&K.type==="Identifier"&&ye.key===K&&e(ze,K,i)!==":"||(K==null?void 0:K.type)==="Decorator"&&fe.has(ye==null?void 0:ye.type)?(o(K,v),!0):!1}var X=new Set(["FunctionDeclaration","FunctionExpression","ClassMethod","MethodDefinition","ObjectMethod"]);function se(Le){let{comment:v,precedingNode:K,enclosingNode:ye,text:ze}=Le;return e(ze,v,i)!=="("?!1:K&&X.has(ye==null?void 0:ye.type)?(o(K,v),!0):!1}function we(Le){let{comment:v,enclosingNode:K,text:ye}=Le;if((K==null?void 0:K.type)!=="ArrowFunctionExpression")return!1;let ze=y(ye,v,i);return ze!==!1&&ye.slice(ze,ze+2)==="=>"?(c(K,v),!0):!1}function _e(Le){let{comment:v,enclosingNode:K,text:ye}=Le;return e(ye,v,i)!==")"?!1:K&&(Be(K)&&g(K).length===0||A(K)&&N(K).length===0)?(c(K,v),!0):((K==null?void 0:K.type)==="MethodDefinition"||(K==null?void 0:K.type)==="TSAbstractMethodDefinition")&&g(K.value).length===0?(c(K.value,v),!0):!1}function it(Le){let{comment:v,precedingNode:K,enclosingNode:ye,followingNode:ze,text:tt}=Le;if((K==null?void 0:K.type)==="FunctionTypeParam"&&(ye==null?void 0:ye.type)==="FunctionTypeAnnotation"&&(ze==null?void 0:ze.type)!=="FunctionTypeParam"||((K==null?void 0:K.type)==="Identifier"||(K==null?void 0:K.type)==="AssignmentPattern")&&ye&&Be(ye)&&e(tt,v,i)===")")return o(K,v),!0;if((ye==null?void 0:ye.type)==="FunctionDeclaration"&&(ze==null?void 0:ze.type)==="BlockStatement"){let ht=(()=>{let Ke=g(ye);if(Ke.length>0)return s(tt,i(t(Ke)));let pr=s(tt,i(ye.id));return pr!==!1&&s(tt,pr+1)})();if(F(v)>ht)return I(ze,v),!0}return!1}function ae(Le){let{comment:v,enclosingNode:K}=Le;return(K==null?void 0:K.type)==="LabeledStatement"?(n(K,v),!0):!1}function Q(Le){let{comment:v,enclosingNode:K}=Le;return((K==null?void 0:K.type)==="ContinueStatement"||(K==null?void 0:K.type)==="BreakStatement")&&!K.label?(o(K,v),!0):!1}function me(Le){let{comment:v,precedingNode:K,enclosingNode:ye}=Le;return x(ye)&&K&&ye.callee===K&&ye.arguments.length>0?(n(ye.arguments[0],v),!0):!1}function Ce(Le){let{comment:v,precedingNode:K,enclosingNode:ye,followingNode:ze}=Le;return(ye==null?void 0:ye.type)==="UnionTypeAnnotation"||(ye==null?void 0:ye.type)==="TSUnionType"?(p(v)&&(ze.prettierIgnore=!0,v.unignore=!0),K?(o(K,v),!0):!1):(((ze==null?void 0:ze.type)==="UnionTypeAnnotation"||(ze==null?void 0:ze.type)==="TSUnionType")&&p(v)&&(ze.types[0].prettierIgnore=!0,v.unignore=!0),!1)}function Re(Le){let{comment:v,enclosingNode:K}=Le;return _(K)?(n(K,v),!0):!1}function Xe(Le){let{comment:v,enclosingNode:K,followingNode:ye,ast:ze,isLastComment:tt}=Le;return ze&&ze.body&&ze.body.length===0?(tt?c(ze,v):n(ze,v),!0):(K==null?void 0:K.type)==="Program"&&(K==null?void 0:K.body.length)===0&&!m(K.directives)?(tt?c(K,v):n(K,v),!0):(ye==null?void 0:ye.type)==="Program"&&(ye==null?void 0:ye.body.length)===0&&(K==null?void 0:K.type)==="ModuleExpression"?(c(ye,v),!0):!1}function Ye(Le){let{comment:v,enclosingNode:K}=Le;return(K==null?void 0:K.type)==="ForInStatement"||(K==null?void 0:K.type)==="ForOfStatement"?(n(K,v),!0):!1}function Ct(Le){let{comment:v,precedingNode:K,enclosingNode:ye,text:ze}=Le;if((ye==null?void 0:ye.type)==="ImportSpecifier"||(ye==null?void 0:ye.type)==="ExportSpecifier")return n(ye,v),!0;let tt=(K==null?void 0:K.type)==="ImportSpecifier"&&(ye==null?void 0:ye.type)==="ImportDeclaration",ht=(K==null?void 0:K.type)==="ExportSpecifier"&&(ye==null?void 0:ye.type)==="ExportNamedDeclaration";return(tt||ht)&&a(ze,i(v))?(o(K,v),!0):!1}function Rt(Le){let{comment:v,enclosingNode:K}=Le;return(K==null?void 0:K.type)==="AssignmentPattern"?(n(K,v),!0):!1}var It=new Set(["VariableDeclarator","AssignmentExpression","TypeAlias","TSTypeAliasDeclaration"]),Et=new Set(["ObjectExpression","ArrayExpression","TemplateLiteral","TaggedTemplateExpression","ObjectTypeAnnotation","TSTypeLiteral"]);function bt(Le){let{comment:v,enclosingNode:K,followingNode:ye}=Le;return It.has(K==null?void 0:K.type)&&ye&&(Et.has(ye.type)||h(v))?(n(ye,v),!0):!1}function xe(Le){let{comment:v,enclosingNode:K,followingNode:ye,text:ze}=Le;return!ye&&((K==null?void 0:K.type)==="TSMethodSignature"||(K==null?void 0:K.type)==="TSDeclareFunction"||(K==null?void 0:K.type)==="TSAbstractMethodDefinition")&&e(ze,v,i)===";"?(o(K,v),!0):!1}function H(Le){let{comment:v,enclosingNode:K,followingNode:ye}=Le;if(p(v)&&(K==null?void 0:K.type)==="TSMappedType"&&(ye==null?void 0:ye.type)==="TSTypeParameter"&&ye.constraint)return K.prettierIgnore=!0,v.unignore=!0,!0}function ke(Le){let{comment:v,precedingNode:K,enclosingNode:ye,followingNode:ze}=Le;return(ye==null?void 0:ye.type)!=="TSMappedType"?!1:(ze==null?void 0:ze.type)==="TSTypeParameter"&&ze.name?(n(ze.name,v),!0):(K==null?void 0:K.type)==="TSTypeParameter"&&K.constraint?(o(K.constraint,v),!0):!1}function oe(Le){let{comment:v,enclosingNode:K,followingNode:ye}=Le;return!K||K.type!=="SwitchCase"||K.test||!ye||ye!==K.consequent[0]?!1:(ye.type==="BlockStatement"&&J(v)?I(ye,v):c(K,v),!0)}function Be(Le){return Le.type==="ArrowFunctionExpression"||Le.type==="FunctionExpression"||Le.type==="FunctionDeclaration"||Le.type==="ObjectMethod"||Le.type==="ClassMethod"||Le.type==="TSDeclareFunction"||Le.type==="TSCallSignatureDeclaration"||Le.type==="TSConstructSignatureDeclaration"||Le.type==="TSMethodSignature"||Le.type==="TSConstructorType"||Le.type==="TSFunctionType"||Le.type==="TSDeclareMethod"}function pt(Le,v){if((v.parser==="typescript"||v.parser==="flow"||v.parser==="acorn"||v.parser==="espree"||v.parser==="meriyah"||v.parser==="__babel_estree")&&Le.type==="MethodDefinition"&&Le.value&&Le.value.type==="FunctionExpression"&&g(Le.value).length===0&&!Le.value.returnType&&!m(Le.value.typeParameters)&&Le.value.body)return[...Le.decorators||[],Le.key,Le.value.body]}function ut(Le){let v=Le.getValue(),K=Le.getParentNode(),ye=ze=>w(d(ze,T.Leading))||w(d(ze,T.Trailing));return(v&&(D(v)||C(v)||x(K)&&ye(v))||K&&(K.type==="JSXSpreadAttribute"||K.type==="JSXSpreadChild"||K.type==="UnionTypeAnnotation"||K.type==="TSUnionType"||(K.type==="ClassDeclaration"||K.type==="ClassExpression")&&K.superClass===v))&&(!k(Le)||K.type==="UnionTypeAnnotation"||K.type==="TSUnionType")}l.exports={handleOwnLineComment:b,handleEndOfLineComment:S,handleRemainingComment:B,getCommentChildNodes:pt,willPrintOwnComments:ut}}}),Ln=$({"src/language-js/needs-parens.js"(u,l){ue();var t=mr(),a=uu(),{getFunctionParameters:s,getLeftSidePathName:e,hasFlowShorthandAnnotationComment:r,hasNakedLeftSide:n,hasNode:o,isBitwiseOperator:c,startsWithNoLookaheadToken:y,shouldFlatten:m,getPrecedence:g,isCallExpression:p,isMemberExpression:D,isObjectProperty:C,isTSTypeExpression:w}=ur();function k(d,T){let f=d.getParentNode();if(!f)return!1;let F=d.getName(),i=d.getNode();if(T.__isInHtmlInterpolation&&!T.bracketSpacing&&P(i)&&_(d))return!0;if(A(i))return!1;if(T.parser!=="flow"&&r(d.getValue()))return!0;if(i.type==="Identifier"){if(i.extra&&i.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(i.name)||F==="left"&&(i.name==="async"&&!f.await||i.name==="let")&&f.type==="ForOfStatement")return!0;if(i.name==="let"){var h;let b=(h=d.findAncestor(S=>S.type==="ForOfStatement"))===null||h===void 0?void 0:h.left;if(b&&y(b,S=>S===i))return!0}if(F==="object"&&i.name==="let"&&f.type==="MemberExpression"&&f.computed&&!f.optional){let b=d.findAncestor(B=>B.type==="ExpressionStatement"||B.type==="ForStatement"||B.type==="ForInStatement"),S=b?b.type==="ExpressionStatement"?b.expression:b.type==="ForStatement"?b.init:b.left:void 0;if(S&&y(S,B=>B===i))return!0}return!1}if(i.type==="ObjectExpression"||i.type==="FunctionExpression"||i.type==="ClassExpression"||i.type==="DoExpression"){var E;let b=(E=d.findAncestor(S=>S.type==="ExpressionStatement"))===null||E===void 0?void 0:E.expression;if(b&&y(b,S=>S===i))return!0}switch(f.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":{if(F==="superClass"&&(i.type==="ArrowFunctionExpression"||i.type==="AssignmentExpression"||i.type==="AwaitExpression"||i.type==="BinaryExpression"||i.type==="ConditionalExpression"||i.type==="LogicalExpression"||i.type==="NewExpression"||i.type==="ObjectExpression"||i.type==="SequenceExpression"||i.type==="TaggedTemplateExpression"||i.type==="UnaryExpression"||i.type==="UpdateExpression"||i.type==="YieldExpression"||i.type==="TSNonNullExpression"))return!0;break}case"ExportDefaultDeclaration":return J(d,T)||i.type==="SequenceExpression";case"Decorator":{if(F==="expression"){if(D(i)&&i.computed)return!0;let b=!1,S=!1,B=i;for(;B;)switch(B.type){case"MemberExpression":S=!0,B=B.object;break;case"CallExpression":if(S||b)return T.parser!=="typescript";b=!0,B=B.callee;break;case"Identifier":return!1;case"TaggedTemplateExpression":return T.parser!=="typescript";default:return!0}return!0}break}case"ArrowFunctionExpression":{if(F==="body"&&i.type!=="SequenceExpression"&&y(i,b=>b.type==="ObjectExpression"))return!0;break}}switch(i.type){case"UpdateExpression":if(f.type==="UnaryExpression")return i.prefix&&(i.operator==="++"&&f.operator==="+"||i.operator==="--"&&f.operator==="-");case"UnaryExpression":switch(f.type){case"UnaryExpression":return i.operator===f.operator&&(i.operator==="+"||i.operator==="-");case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return F==="object";case"TaggedTemplateExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return F==="callee";case"BinaryExpression":return F==="left"&&f.operator==="**";case"TSNonNullExpression":return!0;default:return!1}case"BinaryExpression":{if(f.type==="UpdateExpression"||i.operator==="in"&&N(d))return!0;if(i.operator==="|>"&&i.extra&&i.extra.parenthesized){let b=d.getParentNode(1);if(b.type==="BinaryExpression"&&b.operator==="|>")return!0}}case"TSTypeAssertion":case"TSAsExpression":case"TSSatisfiesExpression":case"LogicalExpression":switch(f.type){case"TSSatisfiesExpression":case"TSAsExpression":return!w(i);case"ConditionalExpression":return w(i);case"CallExpression":case"NewExpression":case"OptionalCallExpression":return F==="callee";case"ClassExpression":case"ClassDeclaration":return F==="superClass";case"TSTypeAssertion":case"TaggedTemplateExpression":case"UnaryExpression":case"JSXSpreadAttribute":case"SpreadElement":case"SpreadProperty":case"BindExpression":case"AwaitExpression":case"TSNonNullExpression":case"UpdateExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return F==="object";case"AssignmentExpression":case"AssignmentPattern":return F==="left"&&(i.type==="TSTypeAssertion"||w(i));case"LogicalExpression":if(i.type==="LogicalExpression")return f.operator!==i.operator;case"BinaryExpression":{let{operator:b,type:S}=i;if(!b&&S!=="TSTypeAssertion")return!0;let B=g(b),I=f.operator,q=g(I);return q>B||F==="right"&&q===B||q===B&&!m(I,b)?!0:q");default:return!1}case"TSConditionalType":case"TSFunctionType":case"TSConstructorType":if(F==="extendsType"&&f.type==="TSConditionalType"){if(i.type==="TSConditionalType")return!0;let{typeAnnotation:b}=i.returnType||i.typeAnnotation;if(b.type==="TSTypePredicate"&&b.typeAnnotation&&(b=b.typeAnnotation.typeAnnotation),b.type==="TSInferType"&&b.typeParameter.constraint)return!0}if(F==="checkType"&&f.type==="TSConditionalType")return!0;case"TSUnionType":case"TSIntersectionType":if((f.type==="TSUnionType"||f.type==="TSIntersectionType")&&f.types.length>1&&(!i.types||i.types.length>1))return!0;case"TSInferType":if(i.type==="TSInferType"&&f.type==="TSRestType")return!1;case"TSTypeOperator":return f.type==="TSArrayType"||f.type==="TSOptionalType"||f.type==="TSRestType"||F==="objectType"&&f.type==="TSIndexedAccessType"||f.type==="TSTypeOperator"||f.type==="TSTypeAnnotation"&&d.getParentNode(1).type.startsWith("TSJSDoc");case"TSTypeQuery":return F==="objectType"&&f.type==="TSIndexedAccessType"||F==="elementType"&&f.type==="TSArrayType";case"TypeofTypeAnnotation":return F==="objectType"&&(f.type==="IndexedAccessType"||f.type==="OptionalIndexedAccessType")||F==="elementType"&&f.type==="ArrayTypeAnnotation";case"ArrayTypeAnnotation":return f.type==="NullableTypeAnnotation";case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return f.type==="ArrayTypeAnnotation"||f.type==="NullableTypeAnnotation"||f.type==="IntersectionTypeAnnotation"||f.type==="UnionTypeAnnotation"||F==="objectType"&&(f.type==="IndexedAccessType"||f.type==="OptionalIndexedAccessType");case"NullableTypeAnnotation":return f.type==="ArrayTypeAnnotation"||F==="objectType"&&(f.type==="IndexedAccessType"||f.type==="OptionalIndexedAccessType");case"FunctionTypeAnnotation":{let b=f.type==="NullableTypeAnnotation"?d.getParentNode(1):f;return b.type==="UnionTypeAnnotation"||b.type==="IntersectionTypeAnnotation"||b.type==="ArrayTypeAnnotation"||F==="objectType"&&(b.type==="IndexedAccessType"||b.type==="OptionalIndexedAccessType")||b.type==="NullableTypeAnnotation"||f.type==="FunctionTypeParam"&&f.name===null&&s(i).some(S=>S.typeAnnotation&&S.typeAnnotation.type==="NullableTypeAnnotation")}case"OptionalIndexedAccessType":return F==="objectType"&&f.type==="IndexedAccessType";case"StringLiteral":case"NumericLiteral":case"Literal":if(typeof i.value=="string"&&f.type==="ExpressionStatement"&&!f.directive){let b=d.getParentNode(1);return b.type==="Program"||b.type==="BlockStatement"}return F==="object"&&f.type==="MemberExpression"&&typeof i.value=="number";case"AssignmentExpression":{let b=d.getParentNode(1);return F==="body"&&f.type==="ArrowFunctionExpression"?!0:F==="key"&&(f.type==="ClassProperty"||f.type==="PropertyDefinition")&&f.computed||(F==="init"||F==="update")&&f.type==="ForStatement"?!1:f.type==="ExpressionStatement"?i.left.type==="ObjectPattern":!(F==="key"&&f.type==="TSPropertySignature"||f.type==="AssignmentExpression"||f.type==="SequenceExpression"&&b&&b.type==="ForStatement"&&(b.init===f||b.update===f)||F==="value"&&f.type==="Property"&&b&&b.type==="ObjectPattern"&&b.properties.includes(f)||f.type==="NGChainedExpression")}case"ConditionalExpression":switch(f.type){case"TaggedTemplateExpression":case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":case"ExportDefaultDeclaration":case"AwaitExpression":case"JSXSpreadAttribute":case"TSTypeAssertion":case"TypeCastExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return F==="callee";case"ConditionalExpression":return F==="test";case"MemberExpression":case"OptionalMemberExpression":return F==="object";default:return!1}case"FunctionExpression":switch(f.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return F==="callee";case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(f.type){case"BinaryExpression":return f.operator!=="|>"||i.extra&&i.extra.parenthesized;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return F==="callee";case"MemberExpression":case"OptionalMemberExpression":return F==="object";case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return F==="test";default:return!1}case"ClassExpression":if(a(i.decorators))return!0;switch(f.type){case"NewExpression":return F==="callee";default:return!1}case"OptionalMemberExpression":case"OptionalCallExpression":{let b=d.getParentNode(1);if(F==="object"&&f.type==="MemberExpression"||F==="callee"&&(f.type==="CallExpression"||f.type==="NewExpression")||f.type==="TSNonNullExpression"&&b.type==="MemberExpression"&&b.object===f)return!0}case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if(F==="callee"&&(f.type==="BindExpression"||f.type==="NewExpression")){let b=i;for(;b;)switch(b.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":b=b.object;break;case"TaggedTemplateExpression":b=b.tag;break;case"TSNonNullExpression":b=b.expression;break;default:return!1}}return!1;case"BindExpression":return F==="callee"&&(f.type==="BindExpression"||f.type==="NewExpression")||F==="object"&&D(f);case"NGPipeExpression":return!(f.type==="NGRoot"||f.type==="NGMicrosyntaxExpression"||f.type==="ObjectProperty"&&!(i.extra&&i.extra.parenthesized)||f.type==="ArrayExpression"||p(f)&&f.arguments[F]===i||F==="right"&&f.type==="NGPipeExpression"||F==="property"&&f.type==="MemberExpression"||f.type==="AssignmentExpression");case"JSXFragment":case"JSXElement":return F==="callee"||F==="left"&&f.type==="BinaryExpression"&&f.operator==="<"||f.type!=="ArrayExpression"&&f.type!=="ArrowFunctionExpression"&&f.type!=="AssignmentExpression"&&f.type!=="AssignmentPattern"&&f.type!=="BinaryExpression"&&f.type!=="NewExpression"&&f.type!=="ConditionalExpression"&&f.type!=="ExpressionStatement"&&f.type!=="JsExpressionRoot"&&f.type!=="JSXAttribute"&&f.type!=="JSXElement"&&f.type!=="JSXExpressionContainer"&&f.type!=="JSXFragment"&&f.type!=="LogicalExpression"&&!p(f)&&!C(f)&&f.type!=="ReturnStatement"&&f.type!=="ThrowStatement"&&f.type!=="TypeCastExpression"&&f.type!=="VariableDeclarator"&&f.type!=="YieldExpression";case"TypeAnnotation":return F==="returnType"&&f.type==="ArrowFunctionExpression"&&x(i)}return!1}function A(d){return d.type==="BlockStatement"||d.type==="BreakStatement"||d.type==="ClassBody"||d.type==="ClassDeclaration"||d.type==="ClassMethod"||d.type==="ClassProperty"||d.type==="PropertyDefinition"||d.type==="ClassPrivateProperty"||d.type==="ContinueStatement"||d.type==="DebuggerStatement"||d.type==="DeclareClass"||d.type==="DeclareExportAllDeclaration"||d.type==="DeclareExportDeclaration"||d.type==="DeclareFunction"||d.type==="DeclareInterface"||d.type==="DeclareModule"||d.type==="DeclareModuleExports"||d.type==="DeclareVariable"||d.type==="DoWhileStatement"||d.type==="EnumDeclaration"||d.type==="ExportAllDeclaration"||d.type==="ExportDefaultDeclaration"||d.type==="ExportNamedDeclaration"||d.type==="ExpressionStatement"||d.type==="ForInStatement"||d.type==="ForOfStatement"||d.type==="ForStatement"||d.type==="FunctionDeclaration"||d.type==="IfStatement"||d.type==="ImportDeclaration"||d.type==="InterfaceDeclaration"||d.type==="LabeledStatement"||d.type==="MethodDefinition"||d.type==="ReturnStatement"||d.type==="SwitchStatement"||d.type==="ThrowStatement"||d.type==="TryStatement"||d.type==="TSDeclareFunction"||d.type==="TSEnumDeclaration"||d.type==="TSImportEqualsDeclaration"||d.type==="TSInterfaceDeclaration"||d.type==="TSModuleDeclaration"||d.type==="TSNamespaceExportDeclaration"||d.type==="TypeAlias"||d.type==="VariableDeclaration"||d.type==="WhileStatement"||d.type==="WithStatement"}function N(d){let T=0,f=d.getValue();for(;f;){let F=d.getParentNode(T++);if(F&&F.type==="ForStatement"&&F.init===f)return!0;f=F}return!1}function x(d){return o(d,T=>T.type==="ObjectTypeAnnotation"&&o(T,f=>f.type==="FunctionTypeAnnotation"||void 0)||void 0)}function P(d){switch(d.type){case"ObjectExpression":return!0;default:return!1}}function _(d){let T=d.getValue(),f=d.getParentNode(),F=d.getName();switch(f.type){case"NGPipeExpression":if(typeof F=="number"&&f.arguments[F]===T&&f.arguments.length-1===F)return d.callParent(_);break;case"ObjectProperty":if(F==="value"){let i=d.getParentNode(1);return t(i.properties)===f}break;case"BinaryExpression":case"LogicalExpression":if(F==="right")return d.callParent(_);break;case"ConditionalExpression":if(F==="alternate")return d.callParent(_);break;case"UnaryExpression":if(f.prefix)return d.callParent(_);break}return!1}function J(d,T){let f=d.getValue(),F=d.getParentNode();return f.type==="FunctionExpression"||f.type==="ClassExpression"?F.type==="ExportDefaultDeclaration"||!k(d,T):!n(f)||F.type!=="ExportDefaultDeclaration"&&k(d,T)?!1:d.call(i=>J(i,T),...e(d,f))}l.exports=k}}),Is=$({"src/language-js/print-preprocess.js"(u,l){ue();function t(a,s){switch(s.parser){case"json":case"json5":case"json-stringify":case"__js_expression":case"__vue_expression":case"__vue_ts_expression":return Object.assign(Object.assign({},a),{},{type:s.parser.startsWith("__")?"JsExpressionRoot":"JsonRoot",node:a,comments:[],rootMarker:s.rootMarker});default:return a}}l.exports=t}}),Ea=$({"src/language-js/print/html-binding.js"(u,l){ue();var{builders:{join:t,line:a,group:s,softline:e,indent:r}}=wt();function n(c,y,m){let g=c.getValue();if(y.__onHtmlBindingRoot&&c.getName()===null&&y.__onHtmlBindingRoot(g,y),g.type==="File"){if(y.__isVueForBindingLeft)return c.call(p=>{let D=t([",",a],p.map(m,"params")),{params:C}=p.getValue();return C.length===1?D:["(",r([e,s(D)]),e,")"]},"program","body",0);if(y.__isVueBindings)return c.call(p=>t([",",a],p.map(m,"params")),"program","body",0)}}function o(c){switch(c.type){case"MemberExpression":switch(c.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return o(c.object)}return!1;case"Identifier":return!0;default:return!1}}l.exports={isVueEventBindingExpression:o,printHtmlBinding:n}}}),as=$({"src/language-js/print/binaryish.js"(u,l){ue();var{printComments:t}=Qt(),{getLast:a}=Gt(),{builders:{join:s,line:e,softline:r,group:n,indent:o,align:c,indentIfBreak:y},utils:{cleanDoc:m,getDocParts:g,isConcat:p}}=wt(),{hasLeadingOwnLineComment:D,isBinaryish:C,isJsxNode:w,shouldFlatten:k,hasComment:A,CommentCheckFlags:N,isCallExpression:x,isMemberExpression:P,isObjectProperty:_,isEnabledHackPipeline:J}=ur(),d=0;function T(i,h,E){let b=i.getValue(),S=i.getParentNode(),B=i.getParentNode(1),I=b!==S.body&&(S.type==="IfStatement"||S.type==="WhileStatement"||S.type==="SwitchStatement"||S.type==="DoWhileStatement"),q=J(h)&&b.operator==="|>",G=f(i,E,h,!1,I);if(I)return G;if(q)return n(G);if(x(S)&&S.callee===b||S.type==="UnaryExpression"||P(S)&&!S.computed)return n([o([r,...G]),r]);let M=S.type==="ReturnStatement"||S.type==="ThrowStatement"||S.type==="JSXExpressionContainer"&&B.type==="JSXAttribute"||b.operator!=="|"&&S.type==="JsExpressionRoot"||b.type!=="NGPipeExpression"&&(S.type==="NGRoot"&&h.parser==="__ng_binding"||S.type==="NGMicrosyntaxExpression"&&B.type==="NGMicrosyntax"&&B.body.length===1)||b===S.body&&S.type==="ArrowFunctionExpression"||b!==S.body&&S.type==="ForStatement"||S.type==="ConditionalExpression"&&B.type!=="ReturnStatement"&&B.type!=="ThrowStatement"&&!x(B)||S.type==="TemplateLiteral",te=S.type==="AssignmentExpression"||S.type==="VariableDeclarator"||S.type==="ClassProperty"||S.type==="PropertyDefinition"||S.type==="TSAbstractPropertyDefinition"||S.type==="ClassPrivateProperty"||_(S),j=C(b.left)&&k(b.operator,b.left.operator);if(M||F(b)&&!j||!F(b)&&te)return n(G);if(G.length===0)return"";let De=w(b.right),U=G.findIndex(X=>typeof X!="string"&&!Array.isArray(X)&&X.type==="group"),R=G.slice(0,U===-1?1:U+1),pe=G.slice(R.length,De?-1:void 0),be=Symbol("logicalChain-"+ ++d),fe=n([...R,o(pe)],{id:be});if(!De)return fe;let Ie=a(G);return n([fe,y(Ie,{groupId:be})])}function f(i,h,E,b,S){let B=i.getValue();if(!C(B))return[n(h())];let I=[];k(B.operator,B.left.operator)?I=i.call(pe=>f(pe,h,E,!0,S),"left"):I.push(n(h("left")));let q=F(B),G=(B.operator==="|>"||B.type==="NGPipeExpression"||B.operator==="|"&&E.parser==="__vue_expression")&&!D(E.originalText,B.right),M=B.type==="NGPipeExpression"?"|":B.operator,te=B.type==="NGPipeExpression"&&B.arguments.length>0?n(o([e,": ",s([e,": "],i.map(h,"arguments").map(pe=>c(2,n(pe))))])):"",j;if(q)j=[M," ",h("right"),te];else{let pe=J(E)&&M==="|>"?i.call(be=>f(be,h,E,!0,S),"right"):h("right");j=[G?e:"",M,G?" ":e,pe,te]}let De=i.getParentNode(),U=A(B.left,N.Trailing|N.Line),R=U||!(S&&B.type==="LogicalExpression")&&De.type!==B.type&&B.left.type!==B.type&&B.right.type!==B.type;if(I.push(G?"":" ",R?n(j,{shouldBreak:U}):j),b&&A(B)){let pe=m(t(i,I,E));return p(pe)||pe.type==="fill"?g(pe):[pe]}return I}function F(i){return i.type!=="LogicalExpression"?!1:!!(i.right.type==="ObjectExpression"&&i.right.properties.length>0||i.right.type==="ArrayExpression"&&i.right.elements.length>0||w(i.right))}l.exports={printBinaryishExpression:T,shouldInlineLogicalExpression:F}}}),Ca=$({"src/language-js/print/angular.js"(u,l){ue();var{builders:{join:t,line:a,group:s}}=wt(),{hasNode:e,hasComment:r,getComments:n}=ur(),{printBinaryishExpression:o}=as();function c(g,p,D){let C=g.getValue();if(C.type.startsWith("NG"))switch(C.type){case"NGRoot":return[D("node"),r(C.node)?" //"+n(C.node)[0].value.trimEnd():""];case"NGPipeExpression":return o(g,p,D);case"NGChainedExpression":return s(t([";",a],g.map(w=>m(w)?D():["(",D(),")"],"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return[C.prefix,": ",C.value.trim()];case"NGMicrosyntax":return g.map((w,k)=>[k===0?"":y(w.getValue(),k,C)?" ":[";",a],D()],"body");case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(?:-[$_a-z][\w$])*$/i.test(C.name)?C.name:JSON.stringify(C.name);case"NGMicrosyntaxExpression":return[D("expression"),C.alias===null?"":[" as ",D("alias")]];case"NGMicrosyntaxKeyedExpression":{let w=g.getName(),k=g.getParentNode(),A=y(C,w,k)||(w===1&&(C.key.name==="then"||C.key.name==="else")||w===2&&C.key.name==="else"&&k.body[w-1].type==="NGMicrosyntaxKeyedExpression"&&k.body[w-1].key.name==="then")&&k.body[0].type==="NGMicrosyntaxExpression";return[D("key"),A?" ":": ",D("expression")]}case"NGMicrosyntaxLet":return["let ",D("key"),C.value===null?"":[" = ",D("value")]];case"NGMicrosyntaxAs":return[D("key")," as ",D("alias")];default:throw new Error(`Unknown Angular node type: ${JSON.stringify(C.type)}.`)}}function y(g,p,D){return g.type==="NGMicrosyntaxKeyedExpression"&&g.key.name==="of"&&p===1&&D.body[0].type==="NGMicrosyntaxLet"&&D.body[0].value===null}function m(g){return e(g.getValue(),p=>{switch(p.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}})}l.exports={printAngular:c}}}),Fa=$({"src/language-js/print/jsx.js"(u,l){ue();var{printComments:t,printDanglingComments:a,printCommentsSeparately:s}=Qt(),{builders:{line:e,hardline:r,softline:n,group:o,indent:c,conditionalGroup:y,fill:m,ifBreak:g,lineSuffixBoundary:p,join:D},utils:{willBreak:C}}=wt(),{getLast:w,getPreferredQuote:k}=Gt(),{isJsxNode:A,rawText:N,isCallExpression:x,isStringLiteral:P,isBinaryish:_,hasComment:J,CommentCheckFlags:d,hasNodeIgnoreComment:T}=ur(),f=Ln(),{willPrintOwnComments:F}=Ps(),i=Q=>Q===""||Q===e||Q===r||Q===n;function h(Q,me,Ce){let Re=Q.getValue();if(Re.type==="JSXElement"&&we(Re))return[Ce("openingElement"),Ce("closingElement")];let Xe=Re.type==="JSXElement"?Ce("openingElement"):Ce("openingFragment"),Ye=Re.type==="JSXElement"?Ce("closingElement"):Ce("closingFragment");if(Re.children.length===1&&Re.children[0].type==="JSXExpressionContainer"&&(Re.children[0].expression.type==="TemplateLiteral"||Re.children[0].expression.type==="TaggedTemplateExpression"))return[Xe,...Q.map(Ce,"children"),Ye];Re.children=Re.children.map(v=>it(v)?{type:"JSXText",value:" ",raw:" "}:v);let Ct=Re.children.some(A),Rt=Re.children.filter(v=>v.type==="JSXExpressionContainer").length>1,It=Re.type==="JSXElement"&&Re.openingElement.attributes.length>1,Et=C(Xe)||Ct||It||Rt,bt=Q.getParentNode().rootMarker==="mdx",xe=me.singleQuote?"{' '}":'{" "}',H=bt?" ":g([xe,n]," "),ke=Re.openingElement&&Re.openingElement.name&&Re.openingElement.name.name==="fbt",oe=E(Q,me,Ce,H,ke),Be=Re.children.some(v=>_e(v));for(let v=oe.length-2;v>=0;v--){let K=oe[v]===""&&oe[v+1]==="",ye=oe[v]===r&&oe[v+1]===""&&oe[v+2]===r,ze=(oe[v]===n||oe[v]===r)&&oe[v+1]===""&&oe[v+2]===H,tt=oe[v]===H&&oe[v+1]===""&&(oe[v+2]===n||oe[v+2]===r),ht=oe[v]===H&&oe[v+1]===""&&oe[v+2]===H,Ke=oe[v]===n&&oe[v+1]===""&&oe[v+2]===r||oe[v]===r&&oe[v+1]===""&&oe[v+2]===n;ye&&Be||K||ze||ht||Ke?oe.splice(v,2):tt&&oe.splice(v+1,2)}for(;oe.length>0&&i(w(oe));)oe.pop();for(;oe.length>1&&i(oe[0])&&i(oe[1]);)oe.shift(),oe.shift();let pt=[];for(let[v,K]of oe.entries()){if(K===H){if(v===1&&oe[v-1]===""){if(oe.length===2){pt.push(xe);continue}pt.push([xe,r]);continue}else if(v===oe.length-1){pt.push(xe);continue}else if(oe[v-1]===""&&oe[v-2]===r){pt.push(xe);continue}}pt.push(K),C(K)&&(Et=!0)}let ut=Be?m(pt):o(pt,{shouldBreak:!0});if(bt)return ut;let Le=o([Xe,c([r,ut]),r,Ye]);return Et?Le:y([o([Xe,...oe,Ye]),Le])}function E(Q,me,Ce,Re,Xe){let Ye=[];return Q.each((Ct,Rt,It)=>{let Et=Ct.getValue();if(Et.type==="JSXText"){let bt=N(Et);if(_e(Et)){let xe=bt.split(Ie);if(xe[0]===""){if(Ye.push(""),xe.shift(),/\n/.test(xe[0])){let ke=It[Rt+1];Ye.push(S(Xe,xe[1],Et,ke))}else Ye.push(Re);xe.shift()}let H;if(w(xe)===""&&(xe.pop(),H=xe.pop()),xe.length===0)return;for(let[ke,oe]of xe.entries())ke%2===1?Ye.push(e):Ye.push(oe);if(H!==void 0)if(/\n/.test(H)){let ke=It[Rt+1];Ye.push(S(Xe,w(Ye),Et,ke))}else Ye.push(Re);else{let ke=It[Rt+1];Ye.push(b(Xe,w(Ye),Et,ke))}}else/\n/.test(bt)?bt.match(/\n/g).length>1&&Ye.push("",r):Ye.push("",Re)}else{let bt=Ce();Ye.push(bt);let xe=It[Rt+1];if(xe&&_e(xe)){let H=se(N(xe)).split(Ie)[0];Ye.push(b(Xe,H,Et,xe))}else Ye.push(r)}},"children"),Ye}function b(Q,me,Ce,Re){return Q?"":Ce.type==="JSXElement"&&!Ce.closingElement||Re&&Re.type==="JSXElement"&&!Re.closingElement?me.length===1?n:r:n}function S(Q,me,Ce,Re){return Q?r:me.length===1?Ce.type==="JSXElement"&&!Ce.closingElement||Re&&Re.type==="JSXElement"&&!Re.closingElement?r:n:r}function B(Q,me,Ce){let Re=Q.getParentNode();if(!Re||{ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[Re.type])return me;let Xe=Q.match(void 0,Ct=>Ct.type==="ArrowFunctionExpression",x,Ct=>Ct.type==="JSXExpressionContainer"),Ye=f(Q,Ce);return o([Ye?"":g("("),c([n,me]),n,Ye?"":g(")")],{shouldBreak:Xe})}function I(Q,me,Ce){let Re=Q.getValue(),Xe=[];if(Xe.push(Ce("name")),Re.value){let Ye;if(P(Re.value)){let Ct=N(Re.value).slice(1,-1).replace(/'/g,"'").replace(/"/g,'"'),{escaped:Rt,quote:It,regex:Et}=k(Ct,me.jsxSingleQuote?"'":'"');Ct=Ct.replace(Et,Rt);let{leading:bt,trailing:xe}=Q.call(()=>s(Q,me),"value");Ye=[bt,It,Ct,It,xe]}else Ye=Ce("value");Xe.push("=",Ye)}return Xe}function q(Q,me,Ce){let Re=Q.getValue(),Xe=(Ye,Ct)=>Ye.type==="JSXEmptyExpression"||!J(Ye)&&(Ye.type==="ArrayExpression"||Ye.type==="ObjectExpression"||Ye.type==="ArrowFunctionExpression"||Ye.type==="AwaitExpression"&&(Xe(Ye.argument,Ye)||Ye.argument.type==="JSXElement")||x(Ye)||Ye.type==="FunctionExpression"||Ye.type==="TemplateLiteral"||Ye.type==="TaggedTemplateExpression"||Ye.type==="DoExpression"||A(Ct)&&(Ye.type==="ConditionalExpression"||_(Ye)));return Xe(Re.expression,Q.getParentNode(0))?o(["{",Ce("expression"),p,"}"]):o(["{",c([n,Ce("expression")]),n,p,"}"])}function G(Q,me,Ce){let Re=Q.getValue(),Xe=Re.name&&J(Re.name)||Re.typeParameters&&J(Re.typeParameters);if(Re.selfClosing&&Re.attributes.length===0&&!Xe)return["<",Ce("name"),Ce("typeParameters")," />"];if(Re.attributes&&Re.attributes.length===1&&Re.attributes[0].value&&P(Re.attributes[0].value)&&!Re.attributes[0].value.value.includes(` -`)&&!Xe&&!J(Re.attributes[0]))return o(["<",Ce("name"),Ce("typeParameters")," ",...Q.map(Ce,"attributes"),Re.selfClosing?" />":">"]);let Ye=Re.attributes&&Re.attributes.some(Rt=>Rt.value&&P(Rt.value)&&Rt.value.value.includes(` -`)),Ct=me.singleAttributePerLine&&Re.attributes.length>1?r:e;return o(["<",Ce("name"),Ce("typeParameters"),c(Q.map(()=>[Ct,Ce()],"attributes")),...M(Re,me,Xe)],{shouldBreak:Ye})}function M(Q,me,Ce){return Q.selfClosing?[e,"/>"]:te(Q,me,Ce)?[">"]:[n,">"]}function te(Q,me,Ce){let Re=Q.attributes.length>0&&J(w(Q.attributes),d.Trailing);return Q.attributes.length===0&&!Ce||(me.bracketSameLine||me.jsxBracketSameLine)&&(!Ce||Q.attributes.length>0)&&!Re}function j(Q,me,Ce){let Re=Q.getValue(),Xe=[];Xe.push(""),Xe}function De(Q,me){let Ce=Q.getValue(),Re=J(Ce),Xe=J(Ce,d.Line),Ye=Ce.type==="JSXOpeningFragment";return[Ye?"<":""]}function U(Q,me,Ce){let Re=t(Q,h(Q,me,Ce),me);return B(Q,Re,me)}function R(Q,me){let Ce=Q.getValue(),Re=J(Ce,d.Line);return[a(Q,me,!Re),Re?r:""]}function pe(Q,me,Ce){let Re=Q.getValue();return["{",Q.call(Xe=>{let Ye=["...",Ce()],Ct=Xe.getValue();return!J(Ct)||!F(Xe)?Ye:[c([n,t(Xe,Ye,me)]),n]},Re.type==="JSXSpreadAttribute"?"argument":"expression"),"}"]}function be(Q,me,Ce){let Re=Q.getValue();if(Re.type.startsWith("JSX"))switch(Re.type){case"JSXAttribute":return I(Q,me,Ce);case"JSXIdentifier":return String(Re.name);case"JSXNamespacedName":return D(":",[Ce("namespace"),Ce("name")]);case"JSXMemberExpression":return D(".",[Ce("object"),Ce("property")]);case"JSXSpreadAttribute":return pe(Q,me,Ce);case"JSXSpreadChild":return pe(Q,me,Ce);case"JSXExpressionContainer":return q(Q,me,Ce);case"JSXFragment":case"JSXElement":return U(Q,me,Ce);case"JSXOpeningElement":return G(Q,me,Ce);case"JSXClosingElement":return j(Q,me,Ce);case"JSXOpeningFragment":case"JSXClosingFragment":return De(Q,me);case"JSXEmptyExpression":return R(Q,me);case"JSXText":throw new Error("JSXText should be handled by JSXElement");default:throw new Error(`Unknown JSX node type: ${JSON.stringify(Re.type)}.`)}}var fe=` -\r `,Ie=new RegExp("(["+fe+"]+)"),X=new RegExp("[^"+fe+"]"),se=Q=>Q.replace(new RegExp("(?:^"+Ie.source+"|"+Ie.source+"$)"),"");function we(Q){if(Q.children.length===0)return!0;if(Q.children.length>1)return!1;let me=Q.children[0];return me.type==="JSXText"&&!_e(me)}function _e(Q){return Q.type==="JSXText"&&(X.test(N(Q))||!/\n/.test(N(Q)))}function it(Q){return Q.type==="JSXExpressionContainer"&&P(Q.expression)&&Q.expression.value===" "&&!J(Q.expression)}function ae(Q){let me=Q.getValue(),Ce=Q.getParentNode();if(!Ce||!me||!A(me)||!A(Ce))return!1;let Re=Ce.children.indexOf(me),Xe=null;for(let Ye=Re;Ye>0;Ye--){let Ct=Ce.children[Ye-1];if(!(Ct.type==="JSXText"&&!_e(Ct))){Xe=Ct;break}}return Xe&&Xe.type==="JSXExpressionContainer"&&Xe.expression.type==="JSXEmptyExpression"&&T(Xe.expression)}l.exports={hasJsxIgnoreComment:ae,printJsx:be}}}),qr=$({"src/language-js/print/misc.js"(u,l){ue();var{isNonEmptyArray:t}=Gt(),{builders:{indent:a,join:s,line:e}}=wt(),{isFlowAnnotationComment:r}=ur();function n(w){let k=w.getValue();return!k.optional||k.type==="Identifier"&&k===w.getParentNode().key?"":k.type==="OptionalCallExpression"||k.type==="OptionalMemberExpression"&&k.computed?"?.":"?"}function o(w){return w.getValue().definite||w.match(void 0,(k,A)=>A==="id"&&k.type==="VariableDeclarator"&&k.definite)?"!":""}function c(w,k,A){let N=w.getValue();return N.typeArguments?A("typeArguments"):N.typeParameters?A("typeParameters"):""}function y(w,k,A){let N=w.getValue();if(!N.typeAnnotation)return"";let x=w.getParentNode(),P=x.type==="DeclareFunction"&&x.id===N;return r(k.originalText,N.typeAnnotation)?[" /*: ",A("typeAnnotation")," */"]:[P?"":": ",A("typeAnnotation")]}function m(w,k,A){return["::",A("callee")]}function g(w,k,A){let N=w.getValue();return t(N.modifiers)?[s(" ",w.map(A,"modifiers"))," "]:""}function p(w,k,A){return w.type==="EmptyStatement"?";":w.type==="BlockStatement"||A?[" ",k]:a([e,k])}function D(w,k,A){return["...",A("argument"),y(w,k,A)]}function C(w,k){let A=w.slice(1,-1);if(A.includes('"')||A.includes("'"))return w;let N=k.singleQuote?"'":'"';return N+A+N}l.exports={printOptionalToken:n,printDefiniteToken:o,printFunctionTypeParameters:c,printBindExpressionCallee:m,printTypeScriptModifiers:g,printTypeAnnotation:y,printRestSpread:D,adjustClause:p,printDirective:C}}}),Du=$({"src/language-js/print/array.js"(u,l){ue();var{printDanglingComments:t}=Qt(),{builders:{line:a,softline:s,hardline:e,group:r,indent:n,ifBreak:o,fill:c}}=wt(),{getLast:y,hasNewline:m}=Gt(),{shouldPrintComma:g,hasComment:p,CommentCheckFlags:D,isNextLineEmpty:C,isNumericLiteral:w,isSignedNumericLiteral:k}=ur(),{locStart:A}=or(),{printOptionalToken:N,printTypeAnnotation:x}=qr();function P(T,f,F){let i=T.getValue(),h=[],E=i.type==="TupleExpression"?"#[":"[",b="]";if(i.elements.length===0)p(i,D.Dangling)?h.push(r([E,t(T,f),s,b])):h.push(E,b);else{let S=y(i.elements),B=!(S&&S.type==="RestElement"),I=S===null,q=Symbol("array"),G=!f.__inJestEach&&i.elements.length>1&&i.elements.every((j,De,U)=>{let R=j&&j.type;if(R!=="ArrayExpression"&&R!=="ObjectExpression")return!1;let pe=U[De+1];if(pe&&R!==pe.type)return!1;let be=R==="ArrayExpression"?"elements":"properties";return j[be]&&j[be].length>1}),M=_(i,f),te=B?I?",":g(f)?M?o(",","",{groupId:q}):o(","):"":"";h.push(r([E,n([s,M?d(T,f,F,te):[J(T,f,"elements",F),te],t(T,f,!0)]),s,b],{shouldBreak:G,id:q}))}return h.push(N(T),x(T,f,F)),h}function _(T,f){return T.elements.length>1&&T.elements.every(F=>F&&(w(F)||k(F)&&!p(F.argument))&&!p(F,D.Trailing|D.Line,i=>!m(f.originalText,A(i),{backwards:!0})))}function J(T,f,F,i){let h=[],E=[];return T.each(b=>{h.push(E,r(i())),E=[",",a],b.getValue()&&C(b.getValue(),f)&&E.push(s)},F),h}function d(T,f,F,i){let h=[];return T.each((E,b,S)=>{let B=b===S.length-1;h.push([F(),B?i:","]),B||h.push(C(E.getValue(),f)?[e,e]:p(S[b+1],D.Leading|D.Line)?e:a)},"elements"),c(h)}l.exports={printArray:P,printArrayItems:J,isConciselyPrintedArray:_}}}),js=$({"src/language-js/print/call-arguments.js"(u,l){ue();var{printDanglingComments:t}=Qt(),{getLast:a,getPenultimate:s}=Gt(),{getFunctionParameters:e,hasComment:r,CommentCheckFlags:n,isFunctionCompositionArgs:o,isJsxNode:c,isLongCurriedCallExpression:y,shouldPrintComma:m,getCallArguments:g,iterateCallArgumentsPath:p,isNextLineEmpty:D,isCallExpression:C,isStringLiteral:w,isObjectProperty:k,isTSTypeExpression:A}=ur(),{builders:{line:N,hardline:x,softline:P,group:_,indent:J,conditionalGroup:d,ifBreak:T,breakParent:f},utils:{willBreak:F}}=wt(),{ArgExpansionBailout:i}=Fn(),{isConciselyPrintedArray:h}=Du();function E(M,te,j){let De=M.getValue(),U=De.type==="ImportExpression",R=g(De);if(R.length===0)return["(",t(M,te,!0),")"];if(I(R))return["(",j(["arguments",0]),", ",j(["arguments",1]),")"];let pe=!1,be=!1,fe=R.length-1,Ie=[];p(M,(ae,Q)=>{let me=ae.getNode(),Ce=[j()];Q===fe||(D(me,te)?(Q===0&&(be=!0),pe=!0,Ce.push(",",x,x)):Ce.push(",",N)),Ie.push(Ce)});let X=!(U||De.callee&&De.callee.type==="Import")&&m(te,"all")?",":"";function se(){return _(["(",J([N,...Ie]),X,N,")"],{shouldBreak:!0})}if(pe||M.getParentNode().type!=="Decorator"&&o(R))return se();let we=B(R),_e=S(R,te);if(we||_e){if(we?Ie.slice(1).some(F):Ie.slice(0,-1).some(F))return se();let ae=[];try{M.try(()=>{p(M,(Q,me)=>{we&&me===0&&(ae=[[j([],{expandFirstArg:!0}),Ie.length>1?",":"",be?x:N,be?x:""],...Ie.slice(1)]),_e&&me===fe&&(ae=[...Ie.slice(0,-1),j([],{expandLastArg:!0})])})})}catch(Q){if(Q instanceof i)return se();throw Q}return[Ie.some(F)?f:"",d([["(",...ae,")"],we?["(",_(ae[0],{shouldBreak:!0}),...ae.slice(1),")"]:["(",...Ie.slice(0,-1),_(a(ae),{shouldBreak:!0}),")"],se()])]}let it=["(",J([P,...Ie]),T(X),P,")"];return y(M)?it:_(it,{shouldBreak:Ie.some(F)||pe})}function b(M){let te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return M.type==="ObjectExpression"&&(M.properties.length>0||r(M))||M.type==="ArrayExpression"&&(M.elements.length>0||r(M))||M.type==="TSTypeAssertion"&&b(M.expression)||A(M)&&b(M.expression)||M.type==="FunctionExpression"||M.type==="ArrowFunctionExpression"&&(!M.returnType||!M.returnType.typeAnnotation||M.returnType.typeAnnotation.type!=="TSTypeReference"||q(M.body))&&(M.body.type==="BlockStatement"||M.body.type==="ArrowFunctionExpression"&&b(M.body,!0)||M.body.type==="ObjectExpression"||M.body.type==="ArrayExpression"||!te&&(C(M.body)||M.body.type==="ConditionalExpression")||c(M.body))||M.type==="DoExpression"||M.type==="ModuleExpression"}function S(M,te){let j=a(M),De=s(M);return!r(j,n.Leading)&&!r(j,n.Trailing)&&b(j)&&(!De||De.type!==j.type)&&(M.length!==2||De.type!=="ArrowFunctionExpression"||j.type!=="ArrayExpression")&&!(M.length>1&&j.type==="ArrayExpression"&&h(j,te))}function B(M){if(M.length!==2)return!1;let[te,j]=M;return te.type==="ModuleExpression"&&G(j)?!0:!r(te)&&(te.type==="FunctionExpression"||te.type==="ArrowFunctionExpression"&&te.body.type==="BlockStatement")&&j.type!=="FunctionExpression"&&j.type!=="ArrowFunctionExpression"&&j.type!=="ConditionalExpression"&&!b(j)}function I(M){return M.length===2&&M[0].type==="ArrowFunctionExpression"&&e(M[0]).length===0&&M[0].body.type==="BlockStatement"&&M[1].type==="ArrayExpression"&&!M.some(te=>r(te))}function q(M){return M.type==="BlockStatement"&&(M.body.some(te=>te.type!=="EmptyStatement")||r(M,n.Dangling))}function G(M){return M.type==="ObjectExpression"&&M.properties.length===1&&k(M.properties[0])&&M.properties[0].key.type==="Identifier"&&M.properties[0].key.name==="type"&&w(M.properties[0].value)&&M.properties[0].value.value==="module"}l.exports=E}}),Ls=$({"src/language-js/print/member.js"(u,l){ue();var{builders:{softline:t,group:a,indent:s,label:e}}=wt(),{isNumericLiteral:r,isMemberExpression:n,isCallExpression:o}=ur(),{printOptionalToken:c}=qr();function y(g,p,D){let C=g.getValue(),w=g.getParentNode(),k,A=0;do k=g.getParentNode(A),A++;while(k&&(n(k)||k.type==="TSNonNullExpression"));let N=D("object"),x=m(g,p,D),P=k&&(k.type==="NewExpression"||k.type==="BindExpression"||k.type==="AssignmentExpression"&&k.left.type!=="Identifier")||C.computed||C.object.type==="Identifier"&&C.property.type==="Identifier"&&!n(w)||(w.type==="AssignmentExpression"||w.type==="VariableDeclarator")&&(o(C.object)&&C.object.arguments.length>0||C.object.type==="TSNonNullExpression"&&o(C.object.expression)&&C.object.expression.arguments.length>0||N.label==="member-chain");return e(N.label==="member-chain"?"member-chain":"member",[N,P?x:a(s([t,x]))])}function m(g,p,D){let C=D("property"),w=g.getValue(),k=c(g);return w.computed?!w.property||r(w.property)?[k,"[",C,"]"]:a([k,"[",s([t,C]),t,"]"]):[k,".",C]}l.exports={printMemberExpression:y,printMemberLookup:m}}}),Aa=$({"src/language-js/print/member-chain.js"(u,l){ue();var{printComments:t}=Qt(),{getLast:a,isNextLineEmptyAfterIndex:s,getNextNonSpaceNonCommentCharacterIndex:e}=Gt(),r=Ln(),{isCallExpression:n,isMemberExpression:o,isFunctionOrArrowExpression:c,isLongCurriedCallExpression:y,isMemberish:m,isNumericLiteral:g,isSimpleCallArgument:p,hasComment:D,CommentCheckFlags:C,isNextLineEmpty:w}=ur(),{locEnd:k}=or(),{builders:{join:A,hardline:N,group:x,indent:P,conditionalGroup:_,breakParent:J,label:d},utils:{willBreak:T}}=wt(),f=js(),{printMemberLookup:F}=Ls(),{printOptionalToken:i,printFunctionTypeParameters:h,printBindExpressionCallee:E}=qr();function b(S,B,I){let q=S.getParentNode(),G=!q||q.type==="ExpressionStatement",M=[];function te(Et){let{originalText:bt}=B,xe=e(bt,Et,k);return bt.charAt(xe)===")"?xe!==!1&&s(bt,xe+1):w(Et,B)}function j(Et){let bt=Et.getValue();n(bt)&&(m(bt.callee)||n(bt.callee))?(M.unshift({node:bt,printed:[t(Et,[i(Et),h(Et,B,I),f(Et,B,I)],B),te(bt)?N:""]}),Et.call(xe=>j(xe),"callee")):m(bt)?(M.unshift({node:bt,needsParens:r(Et,B),printed:t(Et,o(bt)?F(Et,B,I):E(Et,B,I),B)}),Et.call(xe=>j(xe),"object")):bt.type==="TSNonNullExpression"?(M.unshift({node:bt,printed:t(Et,"!",B)}),Et.call(xe=>j(xe),"expression")):M.unshift({node:bt,printed:I()})}let De=S.getValue();M.unshift({node:De,printed:[i(S),h(S,B,I),f(S,B,I)]}),De.callee&&S.call(Et=>j(Et),"callee");let U=[],R=[M[0]],pe=1;for(;pe0&&U.push(R);function fe(Et){return/^[A-Z]|^[$_]+$/.test(Et)}function Ie(Et){return Et.length<=B.tabWidth}function X(Et){let bt=Et[1].length>0&&Et[1][0].node.computed;if(Et[0].length===1){let H=Et[0][0].node;return H.type==="ThisExpression"||H.type==="Identifier"&&(fe(H.name)||G&&Ie(H.name)||bt)}let xe=a(Et[0]).node;return o(xe)&&xe.property.type==="Identifier"&&(fe(xe.property.name)||bt)}let se=U.length>=2&&!D(U[1][0].node)&&X(U);function we(Et){let bt=Et.map(xe=>xe.printed);return Et.length>0&&a(Et).needsParens?["(",...bt,")"]:bt}function _e(Et){return Et.length===0?"":P(x([N,A(N,Et.map(we))]))}let it=U.map(we),ae=it,Q=se?3:2,me=U.flat(),Ce=me.slice(1,-1).some(Et=>D(Et.node,C.Leading))||me.slice(0,-1).some(Et=>D(Et.node,C.Trailing))||U[Q]&&D(U[Q][0].node,C.Leading);if(U.length<=Q&&!Ce)return y(S)?ae:x(ae);let Re=a(U[se?1:0]).node,Xe=!n(Re)&&te(Re),Ye=[we(U[0]),se?U.slice(1,2).map(we):"",Xe?N:"",_e(U.slice(se?2:1))],Ct=M.map(Et=>{let{node:bt}=Et;return bt}).filter(n);function Rt(){let Et=a(a(U)).node,bt=a(it);return n(Et)&&T(bt)&&Ct.slice(0,-1).some(xe=>xe.arguments.some(c))}let It;return Ce||Ct.length>2&&Ct.some(Et=>!Et.arguments.every(bt=>p(bt,0)))||it.slice(0,-1).some(T)||Rt()?It=x(Ye):It=[T(ae)||Xe?J:"",_([ae,Ye])],d("member-chain",It)}l.exports=b}}),Os=$({"src/language-js/print/call-expression.js"(u,l){ue();var{builders:{join:t,group:a}}=wt(),s=Ln(),{getCallArguments:e,hasFlowAnnotationComment:r,isCallExpression:n,isMemberish:o,isStringLiteral:c,isTemplateOnItsOwnLine:y,isTestCall:m,iterateCallArgumentsPath:g}=ur(),p=Aa(),D=js(),{printOptionalToken:C,printFunctionTypeParameters:w}=qr();function k(N,x,P){let _=N.getValue(),J=N.getParentNode(),d=_.type==="NewExpression",T=_.type==="ImportExpression",f=C(N),F=e(_);if(F.length>0&&(!T&&!d&&A(_,J)||F.length===1&&y(F[0],x.originalText)||!d&&m(_,J))){let E=[];return g(N,()=>{E.push(P())}),[d?"new ":"",P("callee"),f,w(N,x,P),"(",t(", ",E),")"]}let i=(x.parser==="babel"||x.parser==="babel-flow")&&_.callee&&_.callee.type==="Identifier"&&r(_.callee.trailingComments);if(i&&(_.callee.trailingComments[0].printed=!0),!T&&!d&&o(_.callee)&&!N.call(E=>s(E,x),"callee"))return p(N,x,P);let h=[d?"new ":"",T?"import":P("callee"),f,i?`/*:: ${_.callee.trailingComments[0].value.slice(2).trim()} */`:"",w(N,x,P),D(N,x,P)];return T||n(_.callee)?a(h):h}function A(N,x){if(N.callee.type!=="Identifier")return!1;if(N.callee.name==="require")return!0;if(N.callee.name==="define"){let P=e(N);return x.type==="ExpressionStatement"&&(P.length===1||P.length===2&&P[0].type==="ArrayExpression"||P.length===3&&c(P[0])&&P[1].type==="ArrayExpression")}return!1}l.exports={printCallExpression:k}}}),du=$({"src/language-js/print/assignment.js"(u,l){ue();var{isNonEmptyArray:t,getStringWidth:a}=Gt(),{builders:{line:s,group:e,indent:r,indentIfBreak:n,lineSuffixBoundary:o},utils:{cleanDoc:c,willBreak:y,canBreak:m}}=wt(),{hasLeadingOwnLineComment:g,isBinaryish:p,isStringLiteral:D,isLiteral:C,isNumericLiteral:w,isCallExpression:k,isMemberExpression:A,getCallArguments:N,rawText:x,hasComment:P,isSignedNumericLiteral:_,isObjectProperty:J}=ur(),{shouldInlineLogicalExpression:d}=as(),{printCallExpression:T}=Os();function f(X,se,we,_e,it,ae){let Q=h(X,se,we,_e,ae),me=we(ae,{assignmentLayout:Q});switch(Q){case"break-after-operator":return e([e(_e),it,e(r([s,me]))]);case"never-break-after-operator":return e([e(_e),it," ",me]);case"fluid":{let Ce=Symbol("assignment");return e([e(_e),it,e(r(s),{id:Ce}),o,n(me,{groupId:Ce})])}case"break-lhs":return e([_e,it," ",e(me)]);case"chain":return[e(_e),it,s,me];case"chain-tail":return[e(_e),it,r([s,me])];case"chain-tail-arrow-chain":return[e(_e),it,me];case"only-left":return _e}}function F(X,se,we){let _e=X.getValue();return f(X,se,we,we("left"),[" ",_e.operator],"right")}function i(X,se,we){return f(X,se,we,we("id")," =","init")}function h(X,se,we,_e,it){let ae=X.getValue(),Q=ae[it];if(!Q)return"only-left";let me=!S(Q);if(X.match(S,B,Re=>!me||Re.type!=="ExpressionStatement"&&Re.type!=="VariableDeclaration"))return me?Q.type==="ArrowFunctionExpression"&&Q.body.type==="ArrowFunctionExpression"?"chain-tail-arrow-chain":"chain-tail":"chain";if(!me&&S(Q.right)||g(se.originalText,Q))return"break-after-operator";if(Q.type==="CallExpression"&&Q.callee.name==="require"||se.parser==="json5"||se.parser==="json")return"never-break-after-operator";if(b(ae)||I(ae)||M(ae)||te(ae)&&m(_e))return"break-lhs";let Ce=be(ae,_e,se);return X.call(()=>E(X,se,we,Ce),it)?"break-after-operator":Ce||Q.type==="TemplateLiteral"||Q.type==="TaggedTemplateExpression"||Q.type==="BooleanLiteral"||w(Q)||Q.type==="ClassExpression"?"never-break-after-operator":"fluid"}function E(X,se,we,_e){let it=X.getValue();if(p(it)&&!d(it))return!0;switch(it.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"ConditionalExpression":{let{test:me}=it;return p(me)&&!d(me)}case"ClassExpression":return t(it.decorators)}if(_e)return!1;let ae=it,Q=[];for(;;)if(ae.type==="UnaryExpression")ae=ae.argument,Q.push("argument");else if(ae.type==="TSNonNullExpression")ae=ae.expression,Q.push("expression");else break;return!!(D(ae)||X.call(()=>U(X,se,we),...Q))}function b(X){if(B(X)){let se=X.left||X.id;return se.type==="ObjectPattern"&&se.properties.length>2&&se.properties.some(we=>J(we)&&(!we.shorthand||we.value&&we.value.type==="AssignmentPattern"))}return!1}function S(X){return X.type==="AssignmentExpression"}function B(X){return S(X)||X.type==="VariableDeclarator"}function I(X){let se=q(X);if(t(se)){let we=X.type==="TSTypeAliasDeclaration"?"constraint":"bound";if(se.length>1&&se.some(_e=>_e[we]||_e.default))return!0}return!1}function q(X){return G(X)&&X.typeParameters&&X.typeParameters.params?X.typeParameters.params:null}function G(X){return X.type==="TSTypeAliasDeclaration"||X.type==="TypeAlias"}function M(X){if(X.type!=="VariableDeclarator")return!1;let{typeAnnotation:se}=X.id;if(!se||!se.typeAnnotation)return!1;let we=j(se.typeAnnotation);return t(we)&&we.length>1&&we.some(_e=>t(j(_e))||_e.type==="TSConditionalType")}function te(X){return X.type==="VariableDeclarator"&&X.init&&X.init.type==="ArrowFunctionExpression"}function j(X){return De(X)&&X.typeParameters&&X.typeParameters.params?X.typeParameters.params:null}function De(X){return X.type==="TSTypeReference"||X.type==="GenericTypeAnnotation"}function U(X,se,we){let _e=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,it=X.getValue(),ae=()=>U(X,se,we,!0);if(it.type==="TSNonNullExpression")return X.call(ae,"expression");if(k(it)){if(T(X,se,we).label==="member-chain")return!1;let Q=N(it);return!(Q.length===0||Q.length===1&&pe(Q[0],se))||fe(it,we)?!1:X.call(ae,"callee")}return A(it)?X.call(ae,"object"):_e&&(it.type==="Identifier"||it.type==="ThisExpression")}var R=.25;function pe(X,se){let{printWidth:we}=se;if(P(X))return!1;let _e=we*R;if(X.type==="ThisExpression"||X.type==="Identifier"&&X.name.length<=_e||_(X)&&!P(X.argument))return!0;let it=X.type==="Literal"&&"regex"in X&&X.regex.pattern||X.type==="RegExpLiteral"&&X.pattern;return it?it.length<=_e:D(X)?x(X).length<=_e:X.type==="TemplateLiteral"?X.expressions.length===0&&X.quasis[0].value.raw.length<=_e&&!X.quasis[0].value.raw.includes(` -`):C(X)}function be(X,se,we){if(!J(X))return!1;se=c(se);let _e=3;return typeof se=="string"&&a(se)1)return!0;if(we.length===1){let it=we[0];if(it.type==="TSUnionType"||it.type==="UnionTypeAnnotation"||it.type==="TSIntersectionType"||it.type==="IntersectionTypeAnnotation"||it.type==="TSTypeLiteral"||it.type==="ObjectTypeAnnotation")return!0}let _e=X.typeParameters?"typeParameters":"typeArguments";if(y(se(_e)))return!0}return!1}function Ie(X){return X.typeParameters&&X.typeParameters.params||X.typeArguments&&X.typeArguments.params}l.exports={printVariableDeclarator:i,printAssignmentExpression:F,printAssignment:f,isArrowFunctionVariableDeclarator:te}}}),Zu=$({"src/language-js/print/function-parameters.js"(u,l){ue();var{getNextNonSpaceNonCommentCharacter:t}=Gt(),{printDanglingComments:a}=Qt(),{builders:{line:s,hardline:e,softline:r,group:n,indent:o,ifBreak:c},utils:{removeLines:y,willBreak:m}}=wt(),{getFunctionParameters:g,iterateFunctionParametersPath:p,isSimpleType:D,isTestCall:C,isTypeAnnotationAFunction:w,isObjectType:k,isObjectTypePropertyAFunction:A,hasRestParameter:N,shouldPrintComma:x,hasComment:P,isNextLineEmpty:_}=ur(),{locEnd:J}=or(),{ArgExpansionBailout:d}=Fn(),{printFunctionTypeParameters:T}=qr();function f(E,b,S,B,I){let q=E.getValue(),G=g(q),M=I?T(E,S,b):"";if(G.length===0)return[M,"(",a(E,S,!0,pe=>t(S.originalText,pe,J)===")"),")"];let te=E.getParentNode(),j=C(te),De=F(q),U=[];if(p(E,(pe,be)=>{let fe=be===G.length-1;fe&&q.rest&&U.push("..."),U.push(b()),!fe&&(U.push(","),j||De?U.push(" "):_(G[be],S)?U.push(e,e):U.push(s))}),B){if(m(M)||m(U))throw new d;return n([y(M),"(",y(U),")"])}let R=G.every(pe=>!pe.decorators);return De&&R?[M,"(",...U,")"]:j?[M,"(",...U,")"]:(A(te)||w(te)||te.type==="TypeAlias"||te.type==="UnionTypeAnnotation"||te.type==="TSUnionType"||te.type==="IntersectionTypeAnnotation"||te.type==="FunctionTypeAnnotation"&&te.returnType===q)&&G.length===1&&G[0].name===null&&q.this!==G[0]&&G[0].typeAnnotation&&q.typeParameters===null&&D(G[0].typeAnnotation)&&!q.rest?S.arrowParens==="always"?["(",...U,")"]:U:[M,"(",o([r,...U]),c(!N(q)&&x(S,"all")?",":""),r,")"]}function F(E){if(!E)return!1;let b=g(E);if(b.length!==1)return!1;let[S]=b;return!P(S)&&(S.type==="ObjectPattern"||S.type==="ArrayPattern"||S.type==="Identifier"&&S.typeAnnotation&&(S.typeAnnotation.type==="TypeAnnotation"||S.typeAnnotation.type==="TSTypeAnnotation")&&k(S.typeAnnotation.typeAnnotation)||S.type==="FunctionTypeParam"&&k(S.typeAnnotation)||S.type==="AssignmentPattern"&&(S.left.type==="ObjectPattern"||S.left.type==="ArrayPattern")&&(S.right.type==="Identifier"||S.right.type==="ObjectExpression"&&S.right.properties.length===0||S.right.type==="ArrayExpression"&&S.right.elements.length===0))}function i(E){let b;return E.returnType?(b=E.returnType,b.typeAnnotation&&(b=b.typeAnnotation)):E.typeAnnotation&&(b=E.typeAnnotation),b}function h(E,b){let S=i(E);if(!S)return!1;let B=E.typeParameters&&E.typeParameters.params;if(B){if(B.length>1)return!1;if(B.length===1){let I=B[0];if(I.constraint||I.default)return!1}}return g(E).length===1&&(k(S)||m(b))}l.exports={printFunctionParameters:f,shouldHugFunctionParameters:F,shouldGroupFunctionParameters:h}}}),ei=$({"src/language-js/print/type-annotation.js"(u,l){ue();var{printComments:t,printDanglingComments:a}=Qt(),{isNonEmptyArray:s}=Gt(),{builders:{group:e,join:r,line:n,softline:o,indent:c,align:y,ifBreak:m}}=wt(),g=Ln(),{locStart:p}=or(),{isSimpleType:D,isObjectType:C,hasLeadingOwnLineComment:w,isObjectTypePropertyAFunction:k,shouldPrintComma:A}=ur(),{printAssignment:N}=du(),{printFunctionParameters:x,shouldGroupFunctionParameters:P}=Zu(),{printArrayItems:_}=Du();function J(S){if(D(S)||C(S))return!0;if(S.type==="UnionTypeAnnotation"||S.type==="TSUnionType"){let B=S.types.filter(q=>q.type==="VoidTypeAnnotation"||q.type==="TSVoidKeyword"||q.type==="NullLiteralTypeAnnotation"||q.type==="TSNullKeyword").length,I=S.types.some(q=>q.type==="ObjectTypeAnnotation"||q.type==="TSTypeLiteral"||q.type==="GenericTypeAnnotation"||q.type==="TSTypeReference");if(S.types.length-1===B&&I)return!0}return!1}function d(S,B,I){let q=B.semi?";":"",G=S.getValue(),M=[];return M.push("opaque type ",I("id"),I("typeParameters")),G.supertype&&M.push(": ",I("supertype")),G.impltype&&M.push(" = ",I("impltype")),M.push(q),M}function T(S,B,I){let q=B.semi?";":"",G=S.getValue(),M=[];G.declare&&M.push("declare "),M.push("type ",I("id"),I("typeParameters"));let te=G.type==="TSTypeAliasDeclaration"?"typeAnnotation":"right";return[N(S,B,I,M," =",te),q]}function f(S,B,I){let q=S.getValue(),G=S.map(I,"types"),M=[],te=!1;for(let j=0;j1&&(te=!0),M.push(" & ",j>1?c(G[j]):G[j]));return e(M)}function F(S,B,I){let q=S.getValue(),G=S.getParentNode(),M=G.type!=="TypeParameterInstantiation"&&G.type!=="TSTypeParameterInstantiation"&&G.type!=="GenericTypeAnnotation"&&G.type!=="TSTypeReference"&&G.type!=="TSTypeAssertion"&&G.type!=="TupleTypeAnnotation"&&G.type!=="TSTupleType"&&!(G.type==="FunctionTypeParam"&&!G.name&&S.getParentNode(1).this!==G)&&!((G.type==="TypeAlias"||G.type==="VariableDeclarator"||G.type==="TSTypeAliasDeclaration")&&w(B.originalText,q)),te=J(q),j=S.map(R=>{let pe=I();return te||(pe=y(2,pe)),t(R,pe,B)},"types");if(te)return r(" | ",j);let De=M&&!w(B.originalText,q),U=[m([De?n:"","| "]),r([n,"| "],j)];return g(S,B)?e([c(U),o]):G.type==="TupleTypeAnnotation"&&G.types.length>1||G.type==="TSTupleType"&&G.elementTypes.length>1?e([c([m(["(",o]),U]),o,m(")")]):e(M?c(U):U)}function i(S,B,I){let q=S.getValue(),G=[],M=S.getParentNode(0),te=S.getParentNode(1),j=S.getParentNode(2),De=q.type==="TSFunctionType"||!((M.type==="ObjectTypeProperty"||M.type==="ObjectTypeInternalSlot")&&!M.variance&&!M.optional&&p(M)===p(q)||M.type==="ObjectTypeCallProperty"||j&&j.type==="DeclareFunction"),U=De&&(M.type==="TypeAnnotation"||M.type==="TSTypeAnnotation"),R=U&&De&&(M.type==="TypeAnnotation"||M.type==="TSTypeAnnotation")&&te.type==="ArrowFunctionExpression";k(M)&&(De=!0,U=!0),R&&G.push("(");let pe=x(S,I,B,!1,!0),be=q.returnType||q.predicate||q.typeAnnotation?[De?" => ":": ",I("returnType"),I("predicate"),I("typeAnnotation")]:"",fe=P(q,be);return G.push(fe?e(pe):pe),be&&G.push(be),R&&G.push(")"),e(G)}function h(S,B,I){let q=S.getValue(),G=q.type==="TSTupleType"?"elementTypes":"types",M=q[G],te=s(M),j=te?o:"";return e(["[",c([j,_(S,B,G,I)]),m(te&&A(B,"all")?",":""),a(S,B,!0),j,"]"])}function E(S,B,I){let q=S.getValue(),G=q.type==="OptionalIndexedAccessType"&&q.optional?"?.[":"[";return[I("objectType"),G,I("indexType"),"]"]}function b(S,B,I){let q=S.getValue();return[q.postfix?"":I,B("typeAnnotation"),q.postfix?I:""]}l.exports={printOpaqueType:d,printTypeAlias:T,printIntersectionType:f,printUnionType:F,printFunctionType:i,printTupleType:h,printIndexedAccessType:E,shouldHugType:J,printJSDocType:b}}}),ti=$({"src/language-js/print/type-parameters.js"(u,l){ue();var{printDanglingComments:t}=Qt(),{builders:{join:a,line:s,hardline:e,softline:r,group:n,indent:o,ifBreak:c}}=wt(),{isTestCall:y,hasComment:m,CommentCheckFlags:g,isTSXFile:p,shouldPrintComma:D,getFunctionParameters:C,isObjectType:w,getTypeScriptMappedTypeModifier:k}=ur(),{createGroupIdMapper:A}=Gt(),{shouldHugType:N}=ei(),{isArrowFunctionVariableDeclarator:x}=du(),P=A("typeParameters");function _(T,f,F,i){let h=T.getValue();if(!h[i])return"";if(!Array.isArray(h[i]))return F(i);let E=T.getNode(2),b=E&&y(E),S=T.match(I=>!(I[i].length===1&&w(I[i][0])),void 0,(I,q)=>q==="typeAnnotation",I=>I.type==="Identifier",x);if(h[i].length===0||!S&&(b||h[i].length===1&&(h[i][0].type==="NullableTypeAnnotation"||N(h[i][0]))))return["<",a(", ",T.map(F,i)),J(T,f),">"];let B=h.type==="TSTypeParameterInstantiation"?"":C(h).length===1&&p(f)&&!h[i][0].constraint&&T.getParentNode().type==="ArrowFunctionExpression"?",":D(f,"all")?c(","):"";return n(["<",o([r,a([",",s],T.map(F,i))]),B,r,">"],{id:P(h)})}function J(T,f){let F=T.getValue();if(!m(F,g.Dangling))return"";let i=!m(F,g.Line),h=t(T,f,i);return i?h:[h,e]}function d(T,f,F){let i=T.getValue(),h=[i.type==="TSTypeParameter"&&i.const?"const ":""],E=T.getParentNode();return E.type==="TSMappedType"?(E.readonly&&h.push(k(E.readonly,"readonly")," "),h.push("[",F("name")),i.constraint&&h.push(" in ",F("constraint")),E.nameType&&h.push(" as ",T.callParent(()=>F("nameType"))),h.push("]"),h):(i.variance&&h.push(F("variance")),i.in&&h.push("in "),i.out&&h.push("out "),h.push(F("name")),i.bound&&h.push(": ",F("bound")),i.constraint&&h.push(" extends ",F("constraint")),i.default&&h.push(" = ",F("default")),h)}l.exports={printTypeParameter:d,printTypeParameters:_,getTypeParametersGroupId:P}}}),fu=$({"src/language-js/print/property.js"(u,l){ue();var{printComments:t}=Qt(),{printString:a,printNumber:s}=Gt(),{isNumericLiteral:e,isSimpleNumber:r,isStringLiteral:n,isStringPropSafeToUnquote:o,rawText:c}=ur(),{printAssignment:y}=du(),m=new WeakMap;function g(D,C,w){let k=D.getNode();if(k.computed)return["[",w("key"),"]"];let A=D.getParentNode(),{key:N}=k;if(C.quoteProps==="consistent"&&!m.has(A)){let x=(A.properties||A.body||A.members).some(P=>!P.computed&&P.key&&n(P.key)&&!o(P,C));m.set(A,x)}if((N.type==="Identifier"||e(N)&&r(s(c(N)))&&String(N.value)===s(c(N))&&!(C.parser==="typescript"||C.parser==="babel-ts"))&&(C.parser==="json"||C.quoteProps==="consistent"&&m.get(A))){let x=a(JSON.stringify(N.type==="Identifier"?N.name:N.value.toString()),C);return D.call(P=>t(P,x,C),"key")}return o(k,C)&&(C.quoteProps==="as-needed"||C.quoteProps==="consistent"&&!m.get(A))?D.call(x=>t(x,/^\d/.test(N.value)?s(N.value):N.value,C),"key"):w("key")}function p(D,C,w){return D.getValue().shorthand?w("value"):y(D,C,w,g(D,C,w),":","value")}l.exports={printProperty:p,printPropertyKey:g}}}),ri=$({"src/language-js/print/function.js"(u,l){ue();var t=lr(),{printDanglingComments:a,printCommentsSeparately:s}=Qt(),e=mr(),{getNextNonSpaceNonCommentCharacterIndex:r}=Gt(),{builders:{line:n,softline:o,group:c,indent:y,ifBreak:m,hardline:g,join:p,indentIfBreak:D},utils:{removeLines:C,willBreak:w}}=wt(),{ArgExpansionBailout:k}=Fn(),{getFunctionParameters:A,hasLeadingOwnLineComment:N,isFlowAnnotationComment:x,isJsxNode:P,isTemplateOnItsOwnLine:_,shouldPrintComma:J,startsWithNoLookaheadToken:d,isBinaryish:T,isLineComment:f,hasComment:F,getComments:i,CommentCheckFlags:h,isCallLikeExpression:E,isCallExpression:b,getCallArguments:S,hasNakedLeftSide:B,getLeftSide:I}=ur(),{locEnd:q}=or(),{printFunctionParameters:G,shouldGroupFunctionParameters:M}=Zu(),{printPropertyKey:te}=fu(),{printFunctionTypeParameters:j}=qr();function De(Q,me,Ce,Re){let Xe=Q.getValue(),Ye=!1;if((Xe.type==="FunctionDeclaration"||Xe.type==="FunctionExpression")&&Re&&Re.expandLastArg){let bt=Q.getParentNode();b(bt)&&S(bt).length>1&&(Ye=!0)}let Ct=[];Xe.type==="TSDeclareFunction"&&Xe.declare&&Ct.push("declare "),Xe.async&&Ct.push("async "),Xe.generator?Ct.push("function* "):Ct.push("function "),Xe.id&&Ct.push(me("id"));let Rt=G(Q,me,Ce,Ye),It=se(Q,me,Ce),Et=M(Xe,It);return Ct.push(j(Q,Ce,me),c([Et?c(Rt):Rt,It]),Xe.body?" ":"",me("body")),Ce.semi&&(Xe.declare||!Xe.body)&&Ct.push(";"),Ct}function U(Q,me,Ce){let Re=Q.getNode(),{kind:Xe}=Re,Ye=Re.value||Re,Ct=[];return!Xe||Xe==="init"||Xe==="method"||Xe==="constructor"?Ye.async&&Ct.push("async "):(t.ok(Xe==="get"||Xe==="set"),Ct.push(Xe," ")),Ye.generator&&Ct.push("*"),Ct.push(te(Q,me,Ce),Re.optional||Re.key.optional?"?":""),Re===Ye?Ct.push(R(Q,me,Ce)):Ye.type==="FunctionExpression"?Ct.push(Q.call(Rt=>R(Rt,me,Ce),"value")):Ct.push(Ce("value")),Ct}function R(Q,me,Ce){let Re=Q.getNode(),Xe=G(Q,Ce,me),Ye=se(Q,Ce,me),Ct=M(Re,Ye),Rt=[j(Q,me,Ce),c([Ct?c(Xe):Xe,Ye])];return Re.body?Rt.push(" ",Ce("body")):Rt.push(me.semi?";":""),Rt}function pe(Q,me,Ce,Re){let Xe=Q.getValue(),Ye=[];if(Xe.async&&Ye.push("async "),X(Q,me))Ye.push(Ce(["params",0]));else{let Rt=Re&&(Re.expandLastArg||Re.expandFirstArg),It=se(Q,Ce,me);if(Rt){if(w(It))throw new k;It=c(C(It))}Ye.push(c([G(Q,Ce,me,Rt,!0),It]))}let Ct=a(Q,me,!0,Rt=>{let It=r(me.originalText,Rt,q);return It!==!1&&me.originalText.slice(It,It+2)==="=>"});return Ct&&Ye.push(" ",Ct),Ye}function be(Q,me,Ce,Re,Xe,Ye){let Ct=Q.getName(),Rt=Q.getParentNode(),It=E(Rt)&&Ct==="callee",Et=!!(me&&me.assignmentLayout),bt=Ye.body.type!=="BlockStatement"&&Ye.body.type!=="ObjectExpression"&&Ye.body.type!=="SequenceExpression",xe=It&&bt||me&&me.assignmentLayout==="chain-tail-arrow-chain",H=Symbol("arrow-chain");return Ye.body.type==="SequenceExpression"&&(Xe=c(["(",y([o,Xe]),o,")"])),c([c(y([It||Et?o:"",c(p([" =>",n],Ce),{shouldBreak:Re})]),{id:H,shouldBreak:xe})," =>",D(bt?y([n,Xe]):[" ",Xe],{groupId:H}),It?m(o,"",{groupId:H}):""])}function fe(Q,me,Ce,Re){let Xe=Q.getValue(),Ye=[],Ct=[],Rt=!1;if(function H(){let ke=pe(Q,me,Ce,Re);if(Ye.length===0)Ye.push(ke);else{let{leading:oe,trailing:Be}=s(Q,me);Ye.push([oe,ke]),Ct.unshift(Be)}Rt=Rt||Xe.returnType&&A(Xe).length>0||Xe.typeParameters||A(Xe).some(oe=>oe.type!=="Identifier"),Xe.body.type!=="ArrowFunctionExpression"||Re&&Re.expandLastArg?Ct.unshift(Ce("body",Re)):(Xe=Xe.body,Q.call(H,"body"))}(),Ye.length>1)return be(Q,Re,Ye,Rt,Ct,Xe);let It=Ye;if(It.push(" =>"),!N(me.originalText,Xe.body)&&(Xe.body.type==="ArrayExpression"||Xe.body.type==="ObjectExpression"||Xe.body.type==="BlockStatement"||P(Xe.body)||_(Xe.body,me.originalText)||Xe.body.type==="ArrowFunctionExpression"||Xe.body.type==="DoExpression"))return c([...It," ",Ct]);if(Xe.body.type==="SequenceExpression")return c([...It,c([" (",y([o,Ct]),o,")"])]);let Et=(Re&&Re.expandLastArg||Q.getParentNode().type==="JSXExpressionContainer")&&!F(Xe),bt=Re&&Re.expandLastArg&&J(me,"all"),xe=Xe.body.type==="ConditionalExpression"&&!d(Xe.body,H=>H.type==="ObjectExpression");return c([...It,c([y([n,xe?m("","("):"",Ct,xe?m("",")"):""]),Et?[m(bt?",":""),o]:""])])}function Ie(Q){let me=A(Q);return me.length===1&&!Q.typeParameters&&!F(Q,h.Dangling)&&me[0].type==="Identifier"&&!me[0].typeAnnotation&&!F(me[0])&&!me[0].optional&&!Q.predicate&&!Q.returnType}function X(Q,me){if(me.arrowParens==="always")return!1;if(me.arrowParens==="avoid"){let Ce=Q.getValue();return Ie(Ce)}return!1}function se(Q,me,Ce){let Re=Q.getValue(),Xe=me("returnType");if(Re.returnType&&x(Ce.originalText,Re.returnType))return[" /*: ",Xe," */"];let Ye=[Xe];return Re.returnType&&Re.returnType.typeAnnotation&&Ye.unshift(": "),Re.predicate&&Ye.push(Re.returnType?" ":": ",me("predicate")),Ye}function we(Q,me,Ce){let Re=Q.getValue(),Xe=me.semi?";":"",Ye=[];Re.argument&&(ae(me,Re.argument)?Ye.push([" (",y([g,Ce("argument")]),g,")"]):T(Re.argument)||Re.argument.type==="SequenceExpression"?Ye.push(c([m(" ("," "),y([o,Ce("argument")]),o,m(")")])):Ye.push(" ",Ce("argument")));let Ct=i(Re),Rt=e(Ct),It=Rt&&f(Rt);return It&&Ye.push(Xe),F(Re,h.Dangling)&&Ye.push(" ",a(Q,me,!0)),It||Ye.push(Xe),Ye}function _e(Q,me,Ce){return["return",we(Q,me,Ce)]}function it(Q,me,Ce){return["throw",we(Q,me,Ce)]}function ae(Q,me){if(N(Q.originalText,me))return!0;if(B(me)){let Ce=me,Re;for(;Re=I(Ce);)if(Ce=Re,N(Q.originalText,Ce))return!0}return!1}l.exports={printFunction:De,printArrowFunction:fe,printMethod:U,printReturnStatement:_e,printThrowStatement:it,printMethodInternal:R,shouldPrintParamsWithoutParens:X}}}),os=$({"src/language-js/print/decorators.js"(u,l){ue();var{isNonEmptyArray:t,hasNewline:a}=Gt(),{builders:{line:s,hardline:e,join:r,breakParent:n,group:o}}=wt(),{locStart:c,locEnd:y}=or(),{getParentExportDeclaration:m}=ur();function g(k,A,N){let x=k.getValue();return o([r(s,k.map(N,"decorators")),C(x,A)?e:s])}function p(k,A,N){return[r(e,k.map(N,"declaration","decorators")),e]}function D(k,A,N){let x=k.getValue(),{decorators:P}=x;if(!t(P)||w(k.getParentNode()))return;let _=x.type==="ClassExpression"||x.type==="ClassDeclaration"||C(x,A);return[m(k)?e:_?n:"",r(s,k.map(N,"decorators")),s]}function C(k,A){return k.decorators.some(N=>a(A.originalText,y(N)))}function w(k){if(k.type!=="ExportDefaultDeclaration"&&k.type!=="ExportNamedDeclaration"&&k.type!=="DeclareExportDeclaration")return!1;let A=k.declaration&&k.declaration.decorators;return t(A)&&c(k)===c(A[0])}l.exports={printDecorators:D,printClassMemberDecorators:g,printDecoratorsBeforeExport:p,hasDecoratorsBeforeExport:w}}}),mu=$({"src/language-js/print/class.js"(u,l){ue();var{isNonEmptyArray:t,createGroupIdMapper:a}=Gt(),{printComments:s,printDanglingComments:e}=Qt(),{builders:{join:r,line:n,hardline:o,softline:c,group:y,indent:m,ifBreak:g}}=wt(),{hasComment:p,CommentCheckFlags:D}=ur(),{getTypeParametersGroupId:C}=ti(),{printMethod:w}=ri(),{printOptionalToken:k,printTypeAnnotation:A,printDefiniteToken:N}=qr(),{printPropertyKey:x}=fu(),{printAssignment:P}=du(),{printClassMemberDecorators:_}=os();function J(S,B,I){let q=S.getValue(),G=[];q.declare&&G.push("declare "),q.abstract&&G.push("abstract "),G.push("class");let M=q.id&&p(q.id,D.Trailing)||q.typeParameters&&p(q.typeParameters,D.Trailing)||q.superClass&&p(q.superClass)||t(q.extends)||t(q.mixins)||t(q.implements),te=[],j=[];if(q.id&&te.push(" ",I("id")),te.push(I("typeParameters")),q.superClass){let De=[h(S,B,I),I("superTypeParameters")],U=S.call(R=>["extends ",s(R,De,B)],"superClass");M?j.push(n,y(U)):j.push(" ",U)}else j.push(i(S,B,I,"extends"));if(j.push(i(S,B,I,"mixins"),i(S,B,I,"implements")),M){let De;F(q)?De=[...te,m(j)]:De=m([...te,j]),G.push(y(De,{id:d(q)}))}else G.push(...te,...j);return G.push(" ",I("body")),G}var d=a("heritageGroup");function T(S){return g(o,"",{groupId:d(S)})}function f(S){return["superClass","extends","mixins","implements"].filter(B=>!!S[B]).length>1}function F(S){return S.typeParameters&&!p(S.typeParameters,D.Trailing|D.Line)&&!f(S)}function i(S,B,I,q){let G=S.getValue();if(!t(G[q]))return"";let M=e(S,B,!0,te=>{let{marker:j}=te;return j===q});return[F(G)?g(" ",n,{groupId:C(G.typeParameters)}):n,M,M&&o,q,y(m([n,r([",",n],S.map(I,q))]))]}function h(S,B,I){let q=I("superClass");return S.getParentNode().type==="AssignmentExpression"?y(g(["(",m([c,q]),c,")"],q)):q}function E(S,B,I){let q=S.getValue(),G=[];return t(q.decorators)&&G.push(_(S,B,I)),q.accessibility&&G.push(q.accessibility+" "),q.readonly&&G.push("readonly "),q.declare&&G.push("declare "),q.static&&G.push("static "),(q.type==="TSAbstractMethodDefinition"||q.abstract)&&G.push("abstract "),q.override&&G.push("override "),G.push(w(S,B,I)),G}function b(S,B,I){let q=S.getValue(),G=[],M=B.semi?";":"";return t(q.decorators)&&G.push(_(S,B,I)),q.accessibility&&G.push(q.accessibility+" "),q.declare&&G.push("declare "),q.static&&G.push("static "),(q.type==="TSAbstractPropertyDefinition"||q.type==="TSAbstractAccessorProperty"||q.abstract)&&G.push("abstract "),q.override&&G.push("override "),q.readonly&&G.push("readonly "),q.variance&&G.push(I("variance")),(q.type==="ClassAccessorProperty"||q.type==="AccessorProperty"||q.type==="TSAbstractAccessorProperty")&&G.push("accessor "),G.push(x(S,B,I),k(S),N(S),A(S,B,I)),[P(S,B,I,G," =","value"),M]}l.exports={printClass:J,printClassMethod:E,printClassProperty:b,printHardlineAfterHeritage:T}}}),$s=$({"src/language-js/print/interface.js"(u,l){ue();var{isNonEmptyArray:t}=Gt(),{builders:{join:a,line:s,group:e,indent:r,ifBreak:n}}=wt(),{hasComment:o,identity:c,CommentCheckFlags:y}=ur(),{getTypeParametersGroupId:m}=ti(),{printTypeScriptModifiers:g}=qr();function p(D,C,w){let k=D.getValue(),A=[];k.declare&&A.push("declare "),k.type==="TSInterfaceDeclaration"&&A.push(k.abstract?"abstract ":"",g(D,C,w)),A.push("interface");let N=[],x=[];k.type!=="InterfaceTypeAnnotation"&&N.push(" ",w("id"),w("typeParameters"));let P=k.typeParameters&&!o(k.typeParameters,y.Trailing|y.Line);return t(k.extends)&&x.push(P?n(" ",s,{groupId:m(k.typeParameters)}):s,"extends ",(k.extends.length===1?c:r)(a([",",s],D.map(w,"extends")))),k.id&&o(k.id,y.Trailing)||t(k.extends)?P?A.push(e([...N,r(x)])):A.push(e(r([...N,...x]))):A.push(...N,...x),A.push(" ",w("body")),e(A)}l.exports={printInterface:p}}}),Rs=$({"src/language-js/print/module.js"(u,l){ue();var{isNonEmptyArray:t}=Gt(),{builders:{softline:a,group:s,indent:e,join:r,line:n,ifBreak:o,hardline:c}}=wt(),{printDanglingComments:y}=Qt(),{hasComment:m,CommentCheckFlags:g,shouldPrintComma:p,needsHardlineAfterDanglingComment:D,isStringLiteral:C,rawText:w}=ur(),{locStart:k,hasSameLoc:A}=or(),{hasDecoratorsBeforeExport:N,printDecoratorsBeforeExport:x}=os();function P(b,S,B){let I=b.getValue(),q=S.semi?";":"",G=[],{importKind:M}=I;return G.push("import"),M&&M!=="value"&&G.push(" ",M),G.push(f(b,S,B),T(b,S,B),i(b,S,B),q),G}function _(b,S,B){let I=b.getValue(),q=[];N(I)&&q.push(x(b,S,B));let{type:G,exportKind:M,declaration:te}=I;return q.push("export"),(I.default||G==="ExportDefaultDeclaration")&&q.push(" default"),m(I,g.Dangling)&&(q.push(" ",y(b,S,!0)),D(I)&&q.push(c)),te?q.push(" ",B("declaration")):q.push(M==="type"?" type":"",f(b,S,B),T(b,S,B),i(b,S,B)),d(I,S)&&q.push(";"),q}function J(b,S,B){let I=b.getValue(),q=S.semi?";":"",G=[],{exportKind:M,exported:te}=I;return G.push("export"),M==="type"&&G.push(" type"),G.push(" *"),te&&G.push(" as ",B("exported")),G.push(T(b,S,B),i(b,S,B),q),G}function d(b,S){if(!S.semi)return!1;let{type:B,declaration:I}=b,q=b.default||B==="ExportDefaultDeclaration";if(!I)return!0;let{type:G}=I;return!!(q&&G!=="ClassDeclaration"&&G!=="FunctionDeclaration"&&G!=="TSInterfaceDeclaration"&&G!=="DeclareClass"&&G!=="DeclareFunction"&&G!=="TSDeclareFunction"&&G!=="EnumDeclaration")}function T(b,S,B){let I=b.getValue();if(!I.source)return"";let q=[];return F(I,S)||q.push(" from"),q.push(" ",B("source")),q}function f(b,S,B){let I=b.getValue();if(F(I,S))return"";let q=[" "];if(t(I.specifiers)){let G=[],M=[];b.each(()=>{let te=b.getValue().type;if(te==="ExportNamespaceSpecifier"||te==="ExportDefaultSpecifier"||te==="ImportNamespaceSpecifier"||te==="ImportDefaultSpecifier")G.push(B());else if(te==="ExportSpecifier"||te==="ImportSpecifier")M.push(B());else throw new Error(`Unknown specifier type ${JSON.stringify(te)}`)},"specifiers"),q.push(r(", ",G)),M.length>0&&(G.length>0&&q.push(", "),M.length>1||G.length>0||I.specifiers.some(te=>m(te))?q.push(s(["{",e([S.bracketSpacing?n:a,r([",",n],M)]),o(p(S)?",":""),S.bracketSpacing?n:a,"}"])):q.push(["{",S.bracketSpacing?" ":"",...M,S.bracketSpacing?" ":"","}"]))}else q.push("{}");return q}function F(b,S){let{type:B,importKind:I,source:q,specifiers:G}=b;return B!=="ImportDeclaration"||t(G)||I==="type"?!1:!/{\s*}/.test(S.originalText.slice(k(b),k(q)))}function i(b,S,B){let I=b.getNode();return t(I.assertions)?[" assert {",S.bracketSpacing?" ":"",r(", ",b.map(B,"assertions")),S.bracketSpacing?" ":"","}"]:""}function h(b,S,B){let I=b.getNode(),{type:q}=I,G=[],M=q==="ImportSpecifier"?I.importKind:I.exportKind;M&&M!=="value"&&G.push(M," ");let te=q.startsWith("Import"),j=te?"imported":"local",De=te?"local":"exported",U=I[j],R=I[De],pe="",be="";return q==="ExportNamespaceSpecifier"||q==="ImportNamespaceSpecifier"?pe="*":U&&(pe=B(j)),R&&!E(I)&&(be=B(De)),G.push(pe,pe&&be?" as ":"",be),G}function E(b){if(b.type!=="ImportSpecifier"&&b.type!=="ExportSpecifier")return!1;let{local:S,[b.type==="ImportSpecifier"?"imported":"exported"]:B}=b;if(S.type!==B.type||!A(S,B))return!1;if(C(S))return S.value===B.value&&w(S)===w(B);switch(S.type){case"Identifier":return S.name===B.name;default:return!1}}l.exports={printImportDeclaration:P,printExportDeclaration:_,printExportAllDeclaration:J,printModuleSpecifier:h}}}),ls=$({"src/language-js/print/object.js"(u,l){ue();var{printDanglingComments:t}=Qt(),{builders:{line:a,softline:s,group:e,indent:r,ifBreak:n,hardline:o}}=wt(),{getLast:c,hasNewlineInRange:y,hasNewline:m,isNonEmptyArray:g}=Gt(),{shouldPrintComma:p,hasComment:D,getComments:C,CommentCheckFlags:w,isNextLineEmpty:k}=ur(),{locStart:A,locEnd:N}=or(),{printOptionalToken:x,printTypeAnnotation:P}=qr(),{shouldHugFunctionParameters:_}=Zu(),{shouldHugType:J}=ei(),{printHardlineAfterHeritage:d}=mu();function T(f,F,i){let h=F.semi?";":"",E=f.getValue(),b;E.type==="TSTypeLiteral"?b="members":E.type==="TSInterfaceBody"?b="body":b="properties";let S=E.type==="ObjectTypeAnnotation",B=[b];S&&B.push("indexers","callProperties","internalSlots");let I=B.map(X=>E[X][0]).sort((X,se)=>A(X)-A(se))[0],q=f.getParentNode(0),G=S&&q&&(q.type==="InterfaceDeclaration"||q.type==="DeclareInterface"||q.type==="DeclareClass")&&f.getName()==="body",M=E.type==="TSInterfaceBody"||G||E.type==="ObjectPattern"&&q.type!=="FunctionDeclaration"&&q.type!=="FunctionExpression"&&q.type!=="ArrowFunctionExpression"&&q.type!=="ObjectMethod"&&q.type!=="ClassMethod"&&q.type!=="ClassPrivateMethod"&&q.type!=="AssignmentPattern"&&q.type!=="CatchClause"&&E.properties.some(X=>X.value&&(X.value.type==="ObjectPattern"||X.value.type==="ArrayPattern"))||E.type!=="ObjectPattern"&&I&&y(F.originalText,A(E),A(I)),te=G?";":E.type==="TSInterfaceBody"||E.type==="TSTypeLiteral"?n(h,";"):",",j=E.type==="RecordExpression"?"#{":E.exact?"{|":"{",De=E.exact?"|}":"}",U=[];for(let X of B)f.each(se=>{let we=se.getValue();U.push({node:we,printed:i(),loc:A(we)})},X);B.length>1&&U.sort((X,se)=>X.loc-se.loc);let R=[],pe=U.map(X=>{let se=[...R,e(X.printed)];return R=[te,a],(X.node.type==="TSPropertySignature"||X.node.type==="TSMethodSignature"||X.node.type==="TSConstructSignatureDeclaration")&&D(X.node,w.PrettierIgnore)&&R.shift(),k(X.node,F)&&R.push(o),se});if(E.inexact){let X;if(D(E,w.Dangling)){let se=D(E,w.Line);X=[t(f,F,!0),se||m(F.originalText,N(c(C(E))))?o:a,"..."]}else X=["..."];pe.push([...R,...X])}let be=c(E[b]),fe=!(E.inexact||be&&be.type==="RestElement"||be&&(be.type==="TSPropertySignature"||be.type==="TSCallSignatureDeclaration"||be.type==="TSMethodSignature"||be.type==="TSConstructSignatureDeclaration")&&D(be,w.PrettierIgnore)),Ie;if(pe.length===0){if(!D(E,w.Dangling))return[j,De,P(f,F,i)];Ie=e([j,t(f,F),s,De,x(f),P(f,F,i)])}else Ie=[G&&g(E.properties)?d(q):"",j,r([F.bracketSpacing?a:s,...pe]),n(fe&&(te!==","||p(F))?te:""),F.bracketSpacing?a:s,De,x(f),P(f,F,i)];return f.match(X=>X.type==="ObjectPattern"&&!X.decorators,(X,se,we)=>_(X)&&(se==="params"||se==="parameters"||se==="this"||se==="rest")&&we===0)||f.match(J,(X,se)=>se==="typeAnnotation",(X,se)=>se==="typeAnnotation",(X,se,we)=>_(X)&&(se==="params"||se==="parameters"||se==="this"||se==="rest")&&we===0)||!M&&f.match(X=>X.type==="ObjectPattern",X=>X.type==="AssignmentExpression"||X.type==="VariableDeclarator")?Ie:e(Ie,{shouldBreak:M})}l.exports={printObject:T}}}),va=$({"src/language-js/print/flow.js"(u,l){ue();var t=lr(),{printDanglingComments:a}=Qt(),{printString:s,printNumber:e}=Gt(),{builders:{hardline:r,softline:n,group:o,indent:c}}=wt(),{getParentExportDeclaration:y,isFunctionNotation:m,isGetterOrSetter:g,rawText:p,shouldPrintComma:D}=ur(),{locStart:C,locEnd:w}=or(),{replaceTextEndOfLine:k}=En(),{printClass:A}=mu(),{printOpaqueType:N,printTypeAlias:x,printIntersectionType:P,printUnionType:_,printFunctionType:J,printTupleType:d,printIndexedAccessType:T}=ei(),{printInterface:f}=$s(),{printTypeParameter:F,printTypeParameters:i}=ti(),{printExportDeclaration:h,printExportAllDeclaration:E}=Rs(),{printArrayItems:b}=Du(),{printObject:S}=ls(),{printPropertyKey:B}=fu(),{printOptionalToken:I,printTypeAnnotation:q,printRestSpread:G}=qr();function M(j,De,U){let R=j.getValue(),pe=De.semi?";":"",be=[];switch(R.type){case"DeclareClass":return te(j,A(j,De,U));case"DeclareFunction":return te(j,["function ",U("id"),R.predicate?" ":"",U("predicate"),pe]);case"DeclareModule":return te(j,["module ",U("id")," ",U("body")]);case"DeclareModuleExports":return te(j,["module.exports",": ",U("typeAnnotation"),pe]);case"DeclareVariable":return te(j,["var ",U("id"),pe]);case"DeclareOpaqueType":return te(j,N(j,De,U));case"DeclareInterface":return te(j,f(j,De,U));case"DeclareTypeAlias":return te(j,x(j,De,U));case"DeclareExportDeclaration":return te(j,h(j,De,U));case"DeclareExportAllDeclaration":return te(j,E(j,De,U));case"OpaqueType":return N(j,De,U);case"TypeAlias":return x(j,De,U);case"IntersectionTypeAnnotation":return P(j,De,U);case"UnionTypeAnnotation":return _(j,De,U);case"FunctionTypeAnnotation":return J(j,De,U);case"TupleTypeAnnotation":return d(j,De,U);case"GenericTypeAnnotation":return[U("id"),i(j,De,U,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return T(j,De,U);case"TypeAnnotation":return U("typeAnnotation");case"TypeParameter":return F(j,De,U);case"TypeofTypeAnnotation":return["typeof ",U("argument")];case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return[U("elementType"),"[]"];case"BooleanLiteralTypeAnnotation":return String(R.value);case"EnumDeclaration":return["enum ",U("id")," ",U("body")];case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":{if(R.type==="EnumSymbolBody"||R.explicitType){let fe=null;switch(R.type){case"EnumBooleanBody":fe="boolean";break;case"EnumNumberBody":fe="number";break;case"EnumStringBody":fe="string";break;case"EnumSymbolBody":fe="symbol";break}be.push("of ",fe," ")}if(R.members.length===0&&!R.hasUnknownMembers)be.push(o(["{",a(j,De),n,"}"]));else{let fe=R.members.length>0?[r,b(j,De,"members",U),R.hasUnknownMembers||D(De)?",":""]:[];be.push(o(["{",c([...fe,...R.hasUnknownMembers?[r,"..."]:[]]),a(j,De,!0),r,"}"]))}return be}case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return[U("id")," = ",typeof R.init=="object"?U("init"):String(R.init)];case"EnumDefaultedMember":return U("id");case"FunctionTypeParam":{let fe=R.name?U("name"):j.getParentNode().this===R?"this":"";return[fe,I(j),fe?": ":"",U("typeAnnotation")]}case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return f(j,De,U);case"ClassImplements":case"InterfaceExtends":return[U("id"),U("typeParameters")];case"NullableTypeAnnotation":return["?",U("typeAnnotation")];case"Variance":{let{kind:fe}=R;return t.ok(fe==="plus"||fe==="minus"),fe==="plus"?"+":"-"}case"ObjectTypeCallProperty":return R.static&&be.push("static "),be.push(U("value")),be;case"ObjectTypeIndexer":return[R.static?"static ":"",R.variance?U("variance"):"","[",U("id"),R.id?": ":"",U("key"),"]: ",U("value")];case"ObjectTypeProperty":{let fe="";return R.proto?fe="proto ":R.static&&(fe="static "),[fe,g(R)?R.kind+" ":"",R.variance?U("variance"):"",B(j,De,U),I(j),m(R)?"":": ",U("value")]}case"ObjectTypeAnnotation":return S(j,De,U);case"ObjectTypeInternalSlot":return[R.static?"static ":"","[[",U("id"),"]]",I(j),R.method?"":": ",U("value")];case"ObjectTypeSpreadProperty":return G(j,De,U);case"QualifiedTypeofIdentifier":case"QualifiedTypeIdentifier":return[U("qualification"),".",U("id")];case"StringLiteralTypeAnnotation":return k(s(p(R),De));case"NumberLiteralTypeAnnotation":t.strictEqual(typeof R.value,"number");case"BigIntLiteralTypeAnnotation":return R.extra?e(R.extra.raw):e(R.raw);case"TypeCastExpression":return["(",U("expression"),q(j,De,U),")"];case"TypeParameterDeclaration":case"TypeParameterInstantiation":{let fe=i(j,De,U,"params");if(De.parser==="flow"){let Ie=C(R),X=w(R),se=De.originalText.lastIndexOf("/*",Ie),we=De.originalText.indexOf("*/",X);if(se!==-1&&we!==-1){let _e=De.originalText.slice(se+2,we).trim();if(_e.startsWith("::")&&!_e.includes("/*")&&!_e.includes("*/"))return["/*:: ",fe," */"]}}return fe}case"InferredPredicate":return"%checks";case"DeclaredPredicate":return["%checks(",U("value"),")"];case"AnyTypeAnnotation":return"any";case"BooleanTypeAnnotation":return"boolean";case"BigIntTypeAnnotation":return"bigint";case"NullLiteralTypeAnnotation":return"null";case"NumberTypeAnnotation":return"number";case"SymbolTypeAnnotation":return"symbol";case"StringTypeAnnotation":return"string";case"VoidTypeAnnotation":return"void";case"ThisTypeAnnotation":return"this";case"Node":case"Printable":case"SourceLocation":case"Position":case"Statement":case"Function":case"Pattern":case"Expression":case"Declaration":case"Specifier":case"NamedSpecifier":case"Comment":case"MemberTypeAnnotation":case"Type":throw new Error("unprintable type: "+JSON.stringify(R.type))}}function te(j,De){let U=y(j);return U?(t.strictEqual(U.type,"DeclareExportDeclaration"),De):["declare ",De]}l.exports={printFlow:M}}}),ba=$({"src/language-js/utils/is-ts-keyword-type.js"(u,l){ue();function t(a){let{type:s}=a;return s.startsWith("TS")&&s.endsWith("Keyword")}l.exports=t}}),Ms=$({"src/language-js/print/ternary.js"(u,l){ue();var{hasNewlineInRange:t}=Gt(),{isJsxNode:a,getComments:s,isCallExpression:e,isMemberExpression:r,isTSTypeExpression:n}=ur(),{locStart:o,locEnd:c}=or(),y=vn(),{builders:{line:m,softline:g,group:p,indent:D,align:C,ifBreak:w,dedent:k,breakParent:A}}=wt();function N(d){let T=[d];for(let f=0;fG[we]===F),te=G.type===F.type&&!M,j,De,U=0;do De=j||F,j=d.getParentNode(U),U++;while(j&&j.type===F.type&&b.every(we=>j[we]!==De));let R=j||G,pe=De;if(i&&(a(F[b[0]])||a(S)||a(B)||N(pe))){q=!0,te=!0;let we=it=>[w("("),D([g,it]),g,w(")")],_e=it=>it.type==="NullLiteral"||it.type==="Literal"&&it.value===null||it.type==="Identifier"&&it.name==="undefined";I.push(" ? ",_e(S)?f(h):we(f(h))," : ",B.type===F.type||_e(B)?f(E):we(f(E)))}else{let we=[m,"? ",S.type===F.type?w("","("):"",C(2,f(h)),S.type===F.type?w("",")"):"",m,": ",B.type===F.type?f(E):C(2,f(E))];I.push(G.type!==F.type||G[E]===F||M?we:T.useTabs?k(D(we)):C(Math.max(0,T.tabWidth-2),we))}let be=[...b.map(we=>s(F[we])),s(S),s(B)].flat().some(we=>y(we)&&t(T.originalText,o(we),c(we))),fe=we=>G===R?p(we,{shouldBreak:be}):be?[we,A]:we,Ie=!q&&(r(G)||G.type==="NGPipeExpression"&&G.left===F)&&!G.computed,X=_(d),se=fe([x(d,T,f),te?I:D(I),i&&Ie&&!X?g:""]);return M||X?p([D([g,se]),g]):se}l.exports={printTernary:J}}}),qs=$({"src/language-js/print/statement.js"(u,l){ue();var{builders:{hardline:t}}=wt(),a=Ln(),{getLeftSidePathName:s,hasNakedLeftSide:e,isJsxNode:r,isTheOnlyJsxElementInMarkdown:n,hasComment:o,CommentCheckFlags:c,isNextLineEmpty:y}=ur(),{shouldPrintParamsWithoutParens:m}=ri();function g(x,P,_,J){let d=x.getValue(),T=[],f=d.type==="ClassBody",F=p(d[J]);return x.each((i,h,E)=>{let b=i.getValue();if(b.type==="EmptyStatement")return;let S=_();!P.semi&&!f&&!n(P,i)&&D(i,P)?o(b,c.Leading)?T.push(_([],{needsSemi:!0})):T.push(";",S):T.push(S),!P.semi&&f&&A(b)&&N(b,E[h+1])&&T.push(";"),b!==F&&(T.push(t),y(b,P)&&T.push(t))},J),T}function p(x){for(let P=x.length-1;P>=0;P--){let _=x[P];if(_.type!=="EmptyStatement")return _}}function D(x,P){return x.getNode().type!=="ExpressionStatement"?!1:x.call(_=>C(_,P),"expression")}function C(x,P){let _=x.getValue();switch(_.type){case"ParenthesizedExpression":case"TypeCastExpression":case"ArrayExpression":case"ArrayPattern":case"TemplateLiteral":case"TemplateElement":case"RegExpLiteral":return!0;case"ArrowFunctionExpression":{if(!m(x,P))return!0;break}case"UnaryExpression":{let{prefix:J,operator:d}=_;if(J&&(d==="+"||d==="-"))return!0;break}case"BindExpression":{if(!_.object)return!0;break}case"Literal":{if(_.regex)return!0;break}default:if(r(_))return!0}return a(x,P)?!0:e(_)?x.call(J=>C(J,P),...s(x,_)):!1}function w(x,P,_){return g(x,P,_,"body")}function k(x,P,_){return g(x,P,_,"consequent")}var A=x=>{let{type:P}=x;return P==="ClassProperty"||P==="PropertyDefinition"||P==="ClassPrivateProperty"||P==="ClassAccessorProperty"||P==="AccessorProperty"||P==="TSAbstractPropertyDefinition"||P==="TSAbstractAccessorProperty"};function N(x,P){let{type:_,name:J}=x.key;if(!x.computed&&_==="Identifier"&&(J==="static"||J==="get"||J==="set"||J==="accessor")&&!x.value&&!x.typeAnnotation)return!0;if(!P||P.static||P.accessibility)return!1;if(!P.computed){let d=P.key&&P.key.name;if(d==="in"||d==="instanceof")return!0}if(A(P)&&P.variance&&!P.static&&!P.declare)return!0;switch(P.type){case"ClassProperty":case"PropertyDefinition":case"TSAbstractPropertyDefinition":return P.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{if((P.value?P.value.async:P.async)||P.kind==="get"||P.kind==="set")return!1;let d=P.value?P.value.generator:P.generator;return!!(P.computed||d)}case"TSIndexSignature":return!0}return!1}l.exports={printBody:w,printSwitchCaseConsequent:k}}}),Vs=$({"src/language-js/print/block.js"(u,l){ue();var{printDanglingComments:t}=Qt(),{isNonEmptyArray:a}=Gt(),{builders:{hardline:s,indent:e}}=wt(),{hasComment:r,CommentCheckFlags:n,isNextLineEmpty:o}=ur(),{printHardlineAfterHeritage:c}=mu(),{printBody:y}=qs();function m(p,D,C){let w=p.getValue(),k=[];if(w.type==="StaticBlock"&&k.push("static "),w.type==="ClassBody"&&a(w.body)){let N=p.getParentNode();k.push(c(N))}k.push("{");let A=g(p,D,C);if(A)k.push(e([s,A]),s);else{let N=p.getParentNode(),x=p.getParentNode(1);N.type==="ArrowFunctionExpression"||N.type==="FunctionExpression"||N.type==="FunctionDeclaration"||N.type==="ObjectMethod"||N.type==="ClassMethod"||N.type==="ClassPrivateMethod"||N.type==="ForStatement"||N.type==="WhileStatement"||N.type==="DoWhileStatement"||N.type==="DoExpression"||N.type==="CatchClause"&&!x.finalizer||N.type==="TSModuleDeclaration"||N.type==="TSDeclareFunction"||w.type==="StaticBlock"||w.type==="ClassBody"||k.push(s)}return k.push("}"),k}function g(p,D,C){let w=p.getValue(),k=a(w.directives),A=w.body.some(P=>P.type!=="EmptyStatement"),N=r(w,n.Dangling);if(!k&&!A&&!N)return"";let x=[];if(k&&p.each((P,_,J)=>{x.push(C()),(_"]),Q=[m("("),c([n,X("expression")]),n,m(")")];return it?y([[ae,X("expression")],[ae,o(Q,{shouldBreak:!0})],[ae,X("expression")]]):o([ae,X("expression")])}case"TSDeclareFunction":return B(fe,X,Ie);case"TSExportAssignment":return["export = ",X("expression"),we];case"TSModuleBlock":return G(fe,Ie,X);case"TSInterfaceBody":case"TSTypeLiteral":return F(fe,Ie,X);case"TSTypeAliasDeclaration":return M(fe,Ie,X);case"TSQualifiedName":return s(".",[X("left"),X("right")]);case"TSAbstractMethodDefinition":case"TSDeclareMethod":return h(fe,Ie,X);case"TSAbstractAccessorProperty":case"TSAbstractPropertyDefinition":return i(fe,Ie,X);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return _e.push(X("expression")),se.typeParameters&&_e.push(X("typeParameters")),_e;case"TSTemplateLiteralType":return T(fe,X,Ie);case"TSNamedTupleMember":return[X("label"),se.optional?"?":"",": ",X("elementType")];case"TSRestType":return["...",X("typeAnnotation")];case"TSOptionalType":return[X("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return q(fe,Ie,X);case"TSClassImplements":return[X("expression"),X("typeParameters")];case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return b(fe,Ie,X,"params");case"TSTypeParameter":return E(fe,Ie,X);case"TSSatisfiesExpression":case"TSAsExpression":{let it=se.type==="TSAsExpression"?"as":"satisfies";_e.push(X("expression"),` ${it} `,X("typeAnnotation"));let ae=fe.getParentNode();return C(ae)&&ae.callee===se||w(ae)&&ae.object===se?o([c([n,..._e]),n]):_e}case"TSArrayType":return[X("elementType"),"[]"];case"TSPropertySignature":return se.readonly&&_e.push("readonly "),_e.push(S(fe,Ie,X),x(fe)),se.typeAnnotation&&_e.push(": ",X("typeAnnotation")),se.initializer&&_e.push(" = ",X("initializer")),_e;case"TSParameterProperty":return se.accessibility&&_e.push(se.accessibility+" "),se.export&&_e.push("export "),se.static&&_e.push("static "),se.override&&_e.push("override "),se.readonly&&_e.push("readonly "),_e.push(X("parameter")),_e;case"TSTypeQuery":return["typeof ",X("exprName"),X("typeParameters")];case"TSIndexSignature":{let it=fe.getParentNode(),ae=se.parameters.length>1?m(D(Ie)?",":""):"",Q=o([c([n,s([", ",n],fe.map(X,"parameters"))]),ae,n]);return[se.export?"export ":"",se.accessibility?[se.accessibility," "]:"",se.static?"static ":"",se.readonly?"readonly ":"",se.declare?"declare ":"","[",se.parameters?Q:"",se.typeAnnotation?"]: ":"]",se.typeAnnotation?X("typeAnnotation"):"",it.type==="ClassBody"?we:""]}case"TSTypePredicate":return[se.asserts?"asserts ":"",X("parameterName"),se.typeAnnotation?[" is ",X("typeAnnotation")]:""];case"TSNonNullExpression":return[X("expression"),"!"];case"TSImportType":return[se.isTypeOf?"typeof ":"","import(",X(se.parameter?"parameter":"argument"),")",se.qualifier?[".",X("qualifier")]:"",b(fe,Ie,X,"typeParameters")];case"TSLiteralType":return X("literal");case"TSIndexedAccessType":return R(fe,Ie,X);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":{if(se.type==="TSConstructorType"&&se.abstract&&_e.push("abstract "),se.type!=="TSCallSignatureDeclaration"&&_e.push("new "),_e.push(o(J(fe,X,Ie,!1,!0))),se.returnType||se.typeAnnotation){let it=se.type==="TSConstructorType";_e.push(it?" => ":": ",X("returnType"),X("typeAnnotation"))}return _e}case"TSTypeOperator":return[se.operator," ",X("typeAnnotation")];case"TSMappedType":{let it=a(Ie.originalText,A(se),N(se));return o(["{",c([Ie.bracketSpacing?e:n,X("typeParameter"),se.optional?p(se.optional,"?"):"",se.typeAnnotation?": ":"",X("typeAnnotation"),m(we)]),t(fe,Ie,!0),Ie.bracketSpacing?e:n,"}"],{shouldBreak:it})}case"TSMethodSignature":{let it=se.kind&&se.kind!=="method"?`${se.kind} `:"";_e.push(se.accessibility?[se.accessibility," "]:"",it,se.export?"export ":"",se.static?"static ":"",se.readonly?"readonly ":"",se.abstract?"abstract ":"",se.declare?"declare ":"",se.computed?"[":"",X("key"),se.computed?"]":"",x(fe));let ae=J(fe,X,Ie,!1,!0),Q=se.returnType?"returnType":"typeAnnotation",me=se[Q],Ce=me?X(Q):"",Re=d(se,Ce);return _e.push(Re?o(ae):ae),me&&_e.push(": ",o(Ce)),o(_e)}case"TSNamespaceExportDeclaration":return _e.push("export as namespace ",X("id")),Ie.semi&&_e.push(";"),o(_e);case"TSEnumDeclaration":return se.declare&&_e.push("declare "),se.modifiers&&_e.push(P(fe,Ie,X)),se.const&&_e.push("const "),_e.push("enum ",X("id")," "),se.members.length===0?_e.push(o(["{",t(fe,Ie),n,"}"])):_e.push(o(["{",c([r,f(fe,Ie,"members",X),D(Ie,"es5")?",":""]),t(fe,Ie,!0),r,"}"])),_e;case"TSEnumMember":return se.computed?_e.push("[",X("id"),"]"):_e.push(X("id")),se.initializer&&_e.push(" = ",X("initializer")),_e;case"TSImportEqualsDeclaration":return se.isExport&&_e.push("export "),_e.push("import "),se.importKind&&se.importKind!=="value"&&_e.push(se.importKind," "),_e.push(X("id")," = ",X("moduleReference")),Ie.semi&&_e.push(";"),o(_e);case"TSExternalModuleReference":return["require(",X("expression"),")"];case"TSModuleDeclaration":{let it=fe.getParentNode(),ae=g(se.id),Q=it.type==="TSModuleDeclaration",me=se.body&&se.body.type==="TSModuleDeclaration";if(Q)_e.push(".");else{se.declare&&_e.push("declare "),_e.push(P(fe,Ie,X));let Ce=Ie.originalText.slice(A(se),A(se.id));se.id.type==="Identifier"&&se.id.name==="global"&&!/namespace|module/.test(Ce)||_e.push(ae||/(?:^|\s)module(?:\s|$)/.test(Ce)?"module ":"namespace ")}return _e.push(X("id")),me?_e.push(X("body")):se.body?_e.push(" ",o(X("body"))):_e.push(we),_e}case"TSConditionalType":return _(fe,Ie,X);case"TSInferType":return["infer"," ",X("typeParameter")];case"TSIntersectionType":return te(fe,Ie,X);case"TSUnionType":return j(fe,Ie,X);case"TSFunctionType":return De(fe,Ie,X);case"TSTupleType":return U(fe,Ie,X);case"TSTypeReference":return[X("typeName"),b(fe,Ie,X,"typeParameters")];case"TSTypeAnnotation":return X("typeAnnotation");case"TSEmptyBodyFunctionExpression":return I(fe,Ie,X);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return pe(fe,X,"?");case"TSJSDocNonNullableType":return pe(fe,X,"!");case"TSInstantiationExpression":return[X("expression"),X("typeParameters")];default:throw new Error(`Unknown TypeScript node type: ${JSON.stringify(se.type)}.`)}}l.exports={printTypescript:be}}}),xa=$({"src/language-js/print/comment.js"(u,l){ue();var{hasNewline:t}=Gt(),{builders:{join:a,hardline:s},utils:{replaceTextEndOfLine:e}}=wt(),{isLineComment:r}=ur(),{locStart:n,locEnd:o}=or(),c=vn();function y(p,D){let C=p.getValue();if(r(C))return D.originalText.slice(n(C),o(C)).trimEnd();if(c(C)){if(m(C)){let A=g(C);return C.trailing&&!t(D.originalText,n(C),{backwards:!0})?[s,A]:A}let w=o(C),k=D.originalText.slice(w-3,w)==="*-/";return["/*",e(C.value),k?"*-/":"*/"]}throw new Error("Not a comment: "+JSON.stringify(C))}function m(p){let D=`*${p.value}*`.split(` -`);return D.length>1&&D.every(C=>C.trim()[0]==="*")}function g(p){let D=p.value.split(` -`);return["/*",a(s,D.map((C,w)=>w===0?C.trimEnd():" "+(w{let{marker:tr}=jt;return tr===F});return[Ke("expression"),x(ht,tt)?"":ar,Tt?[" ",Tt]:""]}case"ParenthesizedExpression":return!A(dt.expression)&&(dt.expression.type==="ObjectExpression"||dt.expression.type==="ArrayExpression")?["(",Ke("expression"),")"]:o(["(",c([n,Ke("expression")]),n,")"]);case"AssignmentExpression":return xe(tt,ht,Ke);case"VariableDeclarator":return bt(tt,ht,Ke);case"BinaryExpression":case"LogicalExpression":return H(tt,ht,Ke);case"AssignmentPattern":return[Ke("left")," = ",Ke("right")];case"OptionalMemberExpression":case"MemberExpression":return oe(tt,ht,Ke);case"MetaProperty":return[Ke("meta"),".",Ke("property")];case"BindExpression":return dt.object&&Dt.push(Ke("object")),Dt.push(o(c([n,j(tt,ht,Ke)]))),Dt;case"Identifier":return[dt.name,te(tt),pe(tt),De(tt,ht,Ke)];case"V8IntrinsicIdentifier":return["%",dt.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":return R(tt,ht,Ke);case"FunctionDeclaration":case"FunctionExpression":return Xe(tt,Ke,ht,pr);case"ArrowFunctionExpression":return Ye(tt,ht,Ke,pr);case"YieldExpression":return Dt.push("yield"),dt.delegate&&Dt.push("*"),dt.argument&&Dt.push(" ",Ke("argument")),Dt;case"AwaitExpression":{if(Dt.push("await"),dt.argument){Dt.push(" ",Ke("argument"));let Tt=tt.getParentNode();if(T(Tt)&&Tt.callee===dt||f(Tt)&&Tt.object===dt){Dt=[c([n,...Dt]),n];let jt=tt.findAncestor(tr=>tr.type==="AwaitExpression"||tr.type==="BlockStatement");if(!jt||jt.type!=="AwaitExpression")return o(Dt)}}return Dt}case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return Ie(tt,ht,Ke);case"ExportAllDeclaration":return X(tt,ht,Ke);case"ImportDeclaration":return fe(tt,ht,Ke);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return se(tt,ht,Ke);case"ImportAttribute":return[Ke("key"),": ",Ke("value")];case"Import":return"import";case"BlockStatement":case"StaticBlock":case"ClassBody":return Be(tt,ht,Ke);case"ThrowStatement":return It(tt,ht,Ke);case"ReturnStatement":return Rt(tt,ht,Ke);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return Et(tt,ht,Ke);case"ObjectExpression":case"ObjectPattern":case"RecordExpression":return ae(tt,ht,Ke);case"ObjectProperty":case"Property":return dt.method||dt.kind==="get"||dt.kind==="set"?Ct(tt,ht,Ke):Re(tt,ht,Ke);case"ObjectMethod":return Ct(tt,ht,Ke);case"Decorator":return["@",Ke("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return it(tt,ht,Ke);case"SequenceExpression":{let Tt=tt.getParentNode(0);if(Tt.type==="ExpressionStatement"||Tt.type==="ForStatement"){let jt=[];return tt.each((tr,ft)=>{ft===0?jt.push(Ke()):jt.push(",",c([e,Ke()]))},"expressions"),o(jt)}return o(s([",",e],tt.map(Ke,"expressions")))}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[Ke("value"),ar];case"DirectiveLiteral":return be(dt.extra.raw,ht);case"UnaryExpression":return Dt.push(dt.operator),/[a-z]$/.test(dt.operator)&&Dt.push(" "),A(dt.argument)?Dt.push(o(["(",c([n,Ke("argument")]),n,")"])):Dt.push(Ke("argument")),Dt;case"UpdateExpression":return Dt.push(Ke("argument"),dt.operator),dt.prefix&&Dt.reverse(),Dt;case"ConditionalExpression":return we(tt,ht,Ke);case"VariableDeclaration":{let Tt=tt.map(Ke,"declarations"),jt=tt.getParentNode(),tr=jt.type==="ForStatement"||jt.type==="ForInStatement"||jt.type==="ForOfStatement",ft=dt.declarations.some(Bt=>Bt.init),Pt;return Tt.length===1&&!A(dt.declarations[0])?Pt=Tt[0]:Tt.length>0&&(Pt=c(Tt[0])),Dt=[dt.declare?"declare ":"",dt.kind,Pt?[" ",Pt]:"",c(Tt.slice(1).map(Bt=>[",",ft&&!tr?r:e,Bt]))],tr&&jt.body!==dt||Dt.push(ar),o(Dt)}case"WithStatement":return o(["with (",Ke("object"),")",U(dt.body,Ke("body"))]);case"IfStatement":{let Tt=U(dt.consequent,Ke("consequent")),jt=o(["if (",o([c([n,Ke("test")]),n]),")",Tt]);if(Dt.push(jt),dt.alternate){let tr=A(dt.consequent,N.Trailing|N.Line)||J(dt),ft=dt.consequent.type==="BlockStatement"&&!tr;Dt.push(ft?" ":r),A(dt,N.Dangling)&&Dt.push(t(tt,ht,!0),tr?r:" "),Dt.push("else",o(U(dt.alternate,Ke("alternate"),dt.alternate.type==="IfStatement")))}return Dt}case"ForStatement":{let Tt=U(dt.body,Ke("body")),jt=t(tt,ht,!0),tr=jt?[jt,n]:"";return!dt.init&&!dt.test&&!dt.update?[tr,o(["for (;;)",Tt])]:[tr,o(["for (",o([c([n,Ke("init"),";",e,Ke("test"),";",e,Ke("update")]),n]),")",Tt])]}case"WhileStatement":return o(["while (",o([c([n,Ke("test")]),n]),")",U(dt.body,Ke("body"))]);case"ForInStatement":return o(["for (",Ke("left")," in ",Ke("right"),")",U(dt.body,Ke("body"))]);case"ForOfStatement":return o(["for",dt.await?" await":""," (",Ke("left")," of ",Ke("right"),")",U(dt.body,Ke("body"))]);case"DoWhileStatement":{let Tt=U(dt.body,Ke("body"));return Dt=[o(["do",Tt])],dt.body.type==="BlockStatement"?Dt.push(" "):Dt.push(r),Dt.push("while (",o([c([n,Ke("test")]),n]),")",ar),Dt}case"DoExpression":return[dt.async?"async ":"","do ",Ke("body")];case"BreakStatement":return Dt.push("break"),dt.label&&Dt.push(" ",Ke("label")),Dt.push(ar),Dt;case"ContinueStatement":return Dt.push("continue"),dt.label&&Dt.push(" ",Ke("label")),Dt.push(ar),Dt;case"LabeledStatement":return dt.body.type==="EmptyStatement"?[Ke("label"),":;"]:[Ke("label"),": ",Ke("body")];case"TryStatement":return["try ",Ke("block"),dt.handler?[" ",Ke("handler")]:"",dt.finalizer?[" finally ",Ke("finalizer")]:""];case"CatchClause":if(dt.param){let Tt=A(dt.param,tr=>!E(tr)||tr.leading&&a(ht.originalText,h(tr))||tr.trailing&&a(ht.originalText,i(tr),{backwards:!0})),jt=Ke("param");return["catch ",Tt?["(",c([n,jt]),n,") "]:["(",jt,") "],Ke("body")]}return["catch ",Ke("body")];case"SwitchStatement":return[o(["switch (",c([n,Ke("discriminant")]),n,")"])," {",dt.cases.length>0?c([r,s(r,tt.map((Tt,jt,tr)=>{let ft=Tt.getValue();return[Ke(),jt!==tr.length-1&&_(ft,ht)?r:""]},"cases"))]):"",r,"}"];case"SwitchCase":{dt.test?Dt.push("case ",Ke("test"),":"):Dt.push("default:"),A(dt,N.Dangling)&&Dt.push(" ",t(tt,ht,!0));let Tt=dt.consequent.filter(jt=>jt.type!=="EmptyStatement");if(Tt.length>0){let jt=ke(tt,ht,Ke);Dt.push(Tt.length===1&&Tt[0].type==="BlockStatement"?[" ",jt]:c([r,jt]))}return Dt}case"DebuggerStatement":return["debugger",ar];case"ClassDeclaration":case"ClassExpression":return Q(tt,ht,Ke);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return me(tt,ht,Ke);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":case"ClassAccessorProperty":case"AccessorProperty":return Ce(tt,ht,Ke);case"TemplateElement":return y(dt.value.raw);case"TemplateLiteral":return _e(tt,Ke,ht);case"TaggedTemplateExpression":return[Ke("tag"),Ke("typeParameters"),Ke("quasi")];case"PrivateIdentifier":return["#",Ke("name")];case"PrivateName":return["#",Ke("id")];case"InterpreterDirective":return Dt.push("#!",dt.value,r),_(dt,ht)&&Dt.push(r),Dt;case"TopicReference":return"%";case"ArgumentPlaceholder":return"?";case"ModuleExpression":{Dt.push("module {");let Tt=Ke("body");return Tt&&Dt.push(c([r,Tt]),r),Dt.push("}"),Dt}default:throw new Error("unknown type: "+JSON.stringify(dt.type))}}function ze(tt){return tt.type&&!E(tt)&&!P(tt)&&tt.type!=="EmptyStatement"&&tt.type!=="TemplateElement"&&tt.type!=="Import"&&tt.type!=="TSEmptyBodyFunctionExpression"}l.exports={preprocess:w,print:K,embed:m,insertPragma:p,massageAstNode:g,hasPrettierIgnore(tt){return d(tt)||q(tt)},willPrintOwnComments:D.willPrintOwnComments,canAttachComment:ze,printComment:ut,isBlockComment:E,handleComments:{avoidAstMutation:!0,ownLine:D.handleOwnLineComment,endOfLine:D.handleEndOfLineComment,remaining:D.handleRemainingComment},getCommentChildNodes:D.getCommentChildNodes}}}),wa=$({"src/language-js/printer-estree-json.js"(u,l){ue();var{builders:{hardline:t,indent:a,join:s}}=wt(),e=Is();function r(y,m,g){let p=y.getValue();switch(p.type){case"JsonRoot":return[g("node"),t];case"ArrayExpression":{if(p.elements.length===0)return"[]";let D=y.map(()=>y.getValue()===null?"null":g(),"elements");return["[",a([t,s([",",t],D)]),t,"]"]}case"ObjectExpression":return p.properties.length===0?"{}":["{",a([t,s([",",t],y.map(g,"properties"))]),t,"}"];case"ObjectProperty":return[g("key"),": ",g("value")];case"UnaryExpression":return[p.operator==="+"?"":p.operator,g("argument")];case"NullLiteral":return"null";case"BooleanLiteral":return p.value?"true":"false";case"StringLiteral":return JSON.stringify(p.value);case"NumericLiteral":return n(y)?JSON.stringify(String(p.value)):JSON.stringify(p.value);case"Identifier":return n(y)?JSON.stringify(p.name):p.name;case"TemplateLiteral":return g(["quasis",0]);case"TemplateElement":return JSON.stringify(p.value.cooked);default:throw new Error("unknown type: "+JSON.stringify(p.type))}}function n(y){return y.getName()==="key"&&y.getParentNode().type==="ObjectProperty"}var o=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function c(y,m){let{type:g}=y;if(g==="ObjectProperty"){let{key:p}=y;p.type==="Identifier"?m.key={type:"StringLiteral",value:p.name}:p.type==="NumericLiteral"&&(m.key={type:"StringLiteral",value:String(p.value)});return}if(g==="UnaryExpression"&&y.operator==="+")return m.argument;if(g==="ArrayExpression"){for(let[p,D]of y.elements.entries())D===null&&m.elements.splice(p,0,{type:"NullLiteral"});return}if(g==="TemplateLiteral")return{type:"StringLiteral",value:y.quasis[0].value.cooked}}c.ignoredProperties=o,l.exports={preprocess:e,print:r,massageAstNode:c}}}),On=$({"src/common/common-options.js"(u,l){ue();var t="Common";l.exports={bracketSpacing:{since:"0.0.0",category:t,type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{since:"0.0.0",category:t,type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{since:"1.8.2",category:t,type:"choice",default:[{since:"1.8.2",value:!0},{since:"1.9.0",value:"preserve"}],description:"How to wrap prose.",choices:[{since:"1.9.0",value:"always",description:"Wrap prose if it exceeds the print width."},{since:"1.9.0",value:"never",description:"Do not wrap prose."},{since:"1.9.0",value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{since:"2.4.0",category:t,type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{since:"2.6.0",category:t,type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}}}}),Na=$({"src/language-js/options.js"(u,l){ue();var t=On(),a="JavaScript";l.exports={arrowParens:{since:"1.9.0",category:a,type:"choice",default:[{since:"1.9.0",value:"avoid"},{since:"2.0.0",value:"always"}],description:"Include parentheses around a sole arrow function parameter.",choices:[{value:"always",description:"Always include parens. Example: `(x) => x`"},{value:"avoid",description:"Omit parens when possible. Example: `x => x`"}]},bracketSameLine:t.bracketSameLine,bracketSpacing:t.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:a,type:"boolean",description:"Put > on the last line instead of at a new line.",deprecated:"2.4.0"},semi:{since:"1.0.0",category:a,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:t.singleQuote,jsxSingleQuote:{since:"1.15.0",category:a,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:a,type:"choice",default:"as-needed",description:"Change when properties in objects are quoted.",choices:[{value:"as-needed",description:"Only add quotes around object properties where required."},{value:"consistent",description:"If at least one property in an object requires quotes, quote all properties."},{value:"preserve",description:"Respect the input use of quotes in object properties."}]},trailingComma:{since:"0.0.0",category:a,type:"choice",default:[{since:"0.0.0",value:!1},{since:"0.19.0",value:"none"},{since:"2.0.0",value:"es5"}],description:"Print trailing commas wherever possible when multi-line.",choices:[{value:"es5",description:"Trailing commas where valid in ES5 (objects, arrays, etc.)"},{value:"none",description:"No trailing commas."},{value:"all",description:"Trailing commas wherever possible (including function arguments)."}]},singleAttributePerLine:t.singleAttributePerLine}}}),_a=$({"src/language-js/parse/parsers.js"(){ue()}}),ps=$({"node_modules/linguist-languages/data/JavaScript.json"(u,l){l.exports={name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:["js","node"],extensions:[".js","._js",".bones",".cjs",".es",".es6",".frag",".gs",".jake",".javascript",".jsb",".jscad",".jsfl",".jslib",".jsm",".jspre",".jss",".jsx",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib"],filenames:["Jakefile"],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],languageId:183}}}),ka=$({"node_modules/linguist-languages/data/TypeScript.json"(u,l){l.exports={name:"TypeScript",type:"programming",color:"#3178c6",aliases:["ts"],interpreters:["deno","ts-node"],extensions:[".ts",".cts",".mts"],tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",languageId:378}}}),Pa=$({"node_modules/linguist-languages/data/TSX.json"(u,l){l.exports={name:"TSX",type:"programming",color:"#3178c6",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924}}}),Us=$({"node_modules/linguist-languages/data/JSON.json"(u,l){l.exports={name:"JSON",type:"data",color:"#292929",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",aliases:["geojson","jsonl","topojson"],extensions:[".json",".4DForm",".4DProject",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".jsonl",".mcmeta",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],filenames:[".arcconfig",".auto-changelog",".c8rc",".htmlhintrc",".imgbotconfig",".nycrc",".tern-config",".tern-project",".watchmanconfig","Pipfile.lock","composer.lock","mcmod.info"],languageId:174}}}),Ia=$({"node_modules/linguist-languages/data/JSON with Comments.json"(u,l){l.exports={name:"JSON with Comments",type:"data",color:"#292929",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:["jsonc"],extensions:[".jsonc",".code-snippets",".sublime-build",".sublime-commands",".sublime-completions",".sublime-keymap",".sublime-macro",".sublime-menu",".sublime-mousemap",".sublime-project",".sublime-settings",".sublime-theme",".sublime-workspace",".sublime_metrics",".sublime_session"],filenames:[".babelrc",".devcontainer.json",".eslintrc.json",".jscsrc",".jshintrc",".jslintrc","api-extractor.json","devcontainer.json","jsconfig.json","language-configuration.json","tsconfig.json","tslint.json"],languageId:423}}}),ja=$({"node_modules/linguist-languages/data/JSON5.json"(u,l){l.exports={name:"JSON5",type:"data",color:"#267CB9",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175}}}),La=$({"src/language-js/index.js"(u,l){ue();var t=vr(),a=Ba(),s=wa(),e=Na(),r=_a(),n=[t(ps(),c=>({since:"0.0.0",parsers:["babel","acorn","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],interpreters:[...c.interpreters,"zx"],extensions:[...c.extensions.filter(y=>y!==".jsx"),".wxs"]})),t(ps(),()=>({name:"Flow",since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]})),t(ps(),()=>({name:"JSX",since:"0.0.0",parsers:["babel","babel-flow","babel-ts","flow","typescript","espree","meriyah"],vscodeLanguageIds:["javascriptreact"],aliases:void 0,filenames:void 0,extensions:[".jsx"],group:"JavaScript",interpreters:void 0,tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",color:void 0})),t(ka(),()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]})),t(Pa(),()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]})),t(Us(),()=>({name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[".importmap"],filenames:["package.json","package-lock.json","composer.json"]})),t(Us(),c=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],extensions:c.extensions.filter(y=>y!==".jsonl")})),t(Ia(),c=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:[...c.filenames,".eslintrc",".swcrc"]})),t(ja(),()=>({since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]}))],o={estree:a,"estree-json":s};l.exports={languages:n,options:e,printers:o,parsers:r}}}),Oa=$({"src/language-css/clean.js"(u,l){ue();var{isFrontMatterNode:t}=Gt(),a=mr(),s=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma"]);function e(n,o,c){if(t(n)&&n.lang==="yaml"&&delete o.value,n.type==="css-comment"&&c.type==="css-root"&&c.nodes.length>0&&((c.nodes[0]===n||t(c.nodes[0])&&c.nodes[1]===n)&&(delete o.text,/^\*\s*@(?:format|prettier)\s*$/.test(n.text))||c.type==="css-root"&&a(c.nodes)===n))return null;if(n.type==="value-root"&&delete o.text,(n.type==="media-query"||n.type==="media-query-list"||n.type==="media-feature-expression")&&delete o.value,n.type==="css-rule"&&delete o.params,n.type==="selector-combinator"&&(o.value=o.value.replace(/\s+/g," ")),n.type==="media-feature"&&(o.value=o.value.replace(/ /g,"")),(n.type==="value-word"&&(n.isColor&&n.isHex||["initial","inherit","unset","revert"].includes(o.value.replace().toLowerCase()))||n.type==="media-feature"||n.type==="selector-root-invalid"||n.type==="selector-pseudo")&&(o.value=o.value.toLowerCase()),n.type==="css-decl"&&(o.prop=o.prop.toLowerCase()),(n.type==="css-atrule"||n.type==="css-import")&&(o.name=o.name.toLowerCase()),n.type==="value-number"&&(o.unit=o.unit.toLowerCase()),(n.type==="media-feature"||n.type==="media-keyword"||n.type==="media-type"||n.type==="media-unknown"||n.type==="media-url"||n.type==="media-value"||n.type==="selector-attribute"||n.type==="selector-string"||n.type==="selector-class"||n.type==="selector-combinator"||n.type==="value-string")&&o.value&&(o.value=r(o.value)),n.type==="selector-attribute"&&(o.attribute=o.attribute.trim(),o.namespace&&typeof o.namespace=="string"&&(o.namespace=o.namespace.trim(),o.namespace.length===0&&(o.namespace=!0)),o.value&&(o.value=o.value.trim().replace(/^["']|["']$/g,""),delete o.quoted)),(n.type==="media-value"||n.type==="media-type"||n.type==="value-number"||n.type==="selector-root-invalid"||n.type==="selector-class"||n.type==="selector-combinator"||n.type==="selector-tag")&&o.value&&(o.value=o.value.replace(/([\d+.Ee-]+)([A-Za-z]*)/g,(y,m,g)=>{let p=Number(m);return Number.isNaN(p)?y:p+g.toLowerCase()})),n.type==="selector-tag"){let y=n.value.toLowerCase();["from","to"].includes(y)&&(o.value=y)}if(n.type==="css-atrule"&&n.name.toLowerCase()==="supports"&&delete o.value,n.type==="selector-unknown"&&delete o.value,n.type==="value-comma_group"){let y=n.groups.findIndex(m=>m.type==="value-number"&&m.unit==="...");y!==-1&&(o.groups[y].unit="",o.groups.splice(y+1,0,{type:"value-word",value:"...",isColor:!1,isHex:!1}))}if(n.type==="value-comma_group"&&n.groups.some(y=>y.type==="value-atword"&&y.value.endsWith("[")||y.type==="value-word"&&y.value.startsWith("]")))return{type:"value-atword",value:n.groups.map(y=>y.value).join(""),group:{open:null,close:null,groups:[],type:"value-paren_group"}}}e.ignoredProperties=s;function r(n){return n.replace(/'/g,'"').replace(/\\([^\dA-Fa-f])/g,"$1")}l.exports=e}}),cs=$({"src/utils/front-matter/print.js"(u,l){ue();var{builders:{hardline:t,markAsRoot:a}}=wt();function s(e,r){if(e.lang==="yaml"){let n=e.value.trim(),o=n?r(n,{parser:"yaml"},{stripTrailingHardline:!0}):"";return a([e.startDelimiter,t,o,o?t:"",e.endDelimiter])}}l.exports=s}}),$a=$({"src/language-css/embed.js"(u,l){ue();var{builders:{hardline:t}}=wt(),a=cs();function s(e,r,n){let o=e.getValue();if(o.type==="front-matter"){let c=a(o,n);return c?[c,t]:""}}l.exports=s}}),Gs=$({"src/utils/front-matter/parse.js"(u,l){ue();var t=new RegExp("^(?-{3}|\\+{3})(?[^\\n]*)\\n(?:|(?.*?)\\n)(?\\k|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function a(s){let e=s.match(t);if(!e)return{content:s};let{startDelimiter:r,language:n,value:o="",endDelimiter:c}=e.groups,y=n.trim()||"yaml";if(r==="+++"&&(y="toml"),y!=="yaml"&&r!==c)return{content:s};let[m]=e;return{frontMatter:{type:"front-matter",lang:y,value:o,startDelimiter:r,endDelimiter:c,raw:m.replace(/\n$/,"")},content:m.replace(/[^\n]/g," ")+s.slice(m.length)}}l.exports=a}}),Ra=$({"src/language-css/pragma.js"(u,l){ue();var t=ks(),a=Gs();function s(r){return t.hasPragma(a(r).content)}function e(r){let{frontMatter:n,content:o}=a(r);return(n?n.raw+` - -`:"")+t.insertPragma(o)}l.exports={hasPragma:s,insertPragma:e}}}),Ma=$({"src/language-css/utils/index.js"(u,l){ue();var t=new Set(["red","green","blue","alpha","a","rgb","hue","h","saturation","s","lightness","l","whiteness","w","blackness","b","tint","shade","blend","blenda","contrast","hsl","hsla","hwb","hwba"]);function a(ae,Q){let me=Array.isArray(Q)?Q:[Q],Ce=-1,Re;for(;Re=ae.getParentNode(++Ce);)if(me.includes(Re.type))return Ce;return-1}function s(ae,Q){let me=a(ae,Q);return me===-1?null:ae.getParentNode(me)}function e(ae){var Q;let me=s(ae,"css-decl");return me==null||(Q=me.prop)===null||Q===void 0?void 0:Q.toLowerCase()}var r=new Set(["initial","inherit","unset","revert"]);function n(ae){return r.has(ae.toLowerCase())}function o(ae,Q){let me=s(ae,"css-atrule");return(me==null?void 0:me.name)&&me.name.toLowerCase().endsWith("keyframes")&&["from","to"].includes(Q.toLowerCase())}function c(ae){return ae.includes("$")||ae.includes("@")||ae.includes("#")||ae.startsWith("%")||ae.startsWith("--")||ae.startsWith(":--")||ae.includes("(")&&ae.includes(")")?ae:ae.toLowerCase()}function y(ae,Q){var me;let Ce=s(ae,"value-func");return(Ce==null||(me=Ce.value)===null||me===void 0?void 0:me.toLowerCase())===Q}function m(ae){var Q;let me=s(ae,"css-rule"),Ce=me==null||(Q=me.raws)===null||Q===void 0?void 0:Q.selector;return Ce&&(Ce.startsWith(":import")||Ce.startsWith(":export"))}function g(ae,Q){let me=Array.isArray(Q)?Q:[Q],Ce=s(ae,"css-atrule");return Ce&&me.includes(Ce.name.toLowerCase())}function p(ae){let Q=ae.getValue(),me=s(ae,"css-atrule");return(me==null?void 0:me.name)==="import"&&Q.groups[0].value==="url"&&Q.groups.length===2}function D(ae){return ae.type==="value-func"&&ae.value.toLowerCase()==="url"}function C(ae,Q){var me;let Ce=(me=ae.getParentNode())===null||me===void 0?void 0:me.nodes;return Ce&&Ce.indexOf(Q)===Ce.length-1}function w(ae){let{selector:Q}=ae;return Q?typeof Q=="string"&&/^@.+:.*$/.test(Q)||Q.value&&/^@.+:.*$/.test(Q.value):!1}function k(ae){return ae.type==="value-word"&&["from","through","end"].includes(ae.value)}function A(ae){return ae.type==="value-word"&&["and","or","not"].includes(ae.value)}function N(ae){return ae.type==="value-word"&&ae.value==="in"}function x(ae){return ae.type==="value-operator"&&ae.value==="*"}function P(ae){return ae.type==="value-operator"&&ae.value==="/"}function _(ae){return ae.type==="value-operator"&&ae.value==="+"}function J(ae){return ae.type==="value-operator"&&ae.value==="-"}function d(ae){return ae.type==="value-operator"&&ae.value==="%"}function T(ae){return x(ae)||P(ae)||_(ae)||J(ae)||d(ae)}function f(ae){return ae.type==="value-word"&&["==","!="].includes(ae.value)}function F(ae){return ae.type==="value-word"&&["<",">","<=",">="].includes(ae.value)}function i(ae){return ae.type==="css-atrule"&&["if","else","for","each","while"].includes(ae.name)}function h(ae){var Q;return((Q=ae.raws)===null||Q===void 0?void 0:Q.params)&&/^\(\s*\)$/.test(ae.raws.params)}function E(ae){return ae.name.startsWith("prettier-placeholder")}function b(ae){return ae.prop.startsWith("@prettier-placeholder")}function S(ae,Q){return ae.value==="$$"&&ae.type==="value-func"&&(Q==null?void 0:Q.type)==="value-word"&&!Q.raws.before}function B(ae){var Q,me;return((Q=ae.value)===null||Q===void 0?void 0:Q.type)==="value-root"&&((me=ae.value.group)===null||me===void 0?void 0:me.type)==="value-value"&&ae.prop.toLowerCase()==="composes"}function I(ae){var Q,me,Ce;return((Q=ae.value)===null||Q===void 0||(me=Q.group)===null||me===void 0||(Ce=me.group)===null||Ce===void 0?void 0:Ce.type)==="value-paren_group"&&ae.value.group.group.open!==null&&ae.value.group.group.close!==null}function q(ae){var Q;return((Q=ae.raws)===null||Q===void 0?void 0:Q.before)===""}function G(ae){var Q,me;return ae.type==="value-comma_group"&&((Q=ae.groups)===null||Q===void 0||(me=Q[1])===null||me===void 0?void 0:me.type)==="value-colon"}function M(ae){var Q;return ae.type==="value-paren_group"&&((Q=ae.groups)===null||Q===void 0?void 0:Q[0])&&G(ae.groups[0])}function te(ae){var Q;let me=ae.getValue();if(me.groups.length===0)return!1;let Ce=ae.getParentNode(1);if(!M(me)&&!(Ce&&M(Ce)))return!1;let Re=s(ae,"css-decl");return!!(Re!=null&&(Q=Re.prop)!==null&&Q!==void 0&&Q.startsWith("$")||M(Ce)||Ce.type==="value-func")}function j(ae){return ae.type==="value-comment"&&ae.inline}function De(ae){return ae.type==="value-word"&&ae.value==="#"}function U(ae){return ae.type==="value-word"&&ae.value==="{"}function R(ae){return ae.type==="value-word"&&ae.value==="}"}function pe(ae){return["value-word","value-atword"].includes(ae.type)}function be(ae){return(ae==null?void 0:ae.type)==="value-colon"}function fe(ae,Q){if(!G(Q))return!1;let{groups:me}=Q,Ce=me.indexOf(ae);return Ce===-1?!1:be(me[Ce+1])}function Ie(ae){return ae.value&&["not","and","or"].includes(ae.value.toLowerCase())}function X(ae){return ae.type!=="value-func"?!1:t.has(ae.value.toLowerCase())}function se(ae){return/\/\//.test(ae.split(/[\n\r]/).pop())}function we(ae){return(ae==null?void 0:ae.type)==="value-atword"&&ae.value.startsWith("prettier-placeholder-")}function _e(ae,Q){var me,Ce;if(((me=ae.open)===null||me===void 0?void 0:me.value)!=="("||((Ce=ae.close)===null||Ce===void 0?void 0:Ce.value)!==")"||ae.groups.some(Re=>Re.type!=="value-comma_group"))return!1;if(Q.type==="value-comma_group"){let Re=Q.groups.indexOf(ae)-1,Xe=Q.groups[Re];if((Xe==null?void 0:Xe.type)==="value-word"&&Xe.value==="with")return!0}return!1}function it(ae){var Q,me;return ae.type==="value-paren_group"&&((Q=ae.open)===null||Q===void 0?void 0:Q.value)==="("&&((me=ae.close)===null||me===void 0?void 0:me.value)===")"}l.exports={getAncestorCounter:a,getAncestorNode:s,getPropOfDeclNode:e,maybeToLowerCase:c,insideValueFunctionNode:y,insideICSSRuleNode:m,insideAtRuleNode:g,insideURLFunctionInImportAtRuleNode:p,isKeyframeAtRuleKeywords:o,isWideKeywords:n,isLastNode:C,isSCSSControlDirectiveNode:i,isDetachedRulesetDeclarationNode:w,isRelationalOperatorNode:F,isEqualityOperatorNode:f,isMultiplicationNode:x,isDivisionNode:P,isAdditionNode:_,isSubtractionNode:J,isModuloNode:d,isMathOperatorNode:T,isEachKeywordNode:N,isForKeywordNode:k,isURLFunctionNode:D,isIfElseKeywordNode:A,hasComposesNode:B,hasParensAroundNode:I,hasEmptyRawBefore:q,isDetachedRulesetCallNode:h,isTemplatePlaceholderNode:E,isTemplatePropNode:b,isPostcssSimpleVarNode:S,isKeyValuePairNode:G,isKeyValuePairInParenGroupNode:M,isKeyInValuePairNode:fe,isSCSSMapItemNode:te,isInlineValueCommentNode:j,isHashNode:De,isLeftCurlyBraceNode:U,isRightCurlyBraceNode:R,isWordNode:pe,isColonNode:be,isMediaAndSupportsKeywords:Ie,isColorAdjusterFuncNode:X,lastLineHasInlineComment:se,isAtWordPlaceholderNode:we,isConfigurationNode:_e,isParenGroupNode:it}}}),qa=$({"src/utils/line-column-to-index.js"(u,l){ue(),l.exports=function(t,a){let s=0;for(let e=0;e0?m:""]}case"css-comment":{let Xt=Te.inline||Te.raws.inline,Wt=Pt.originalText.slice(pt(Te),ut(Te));return Xt?Wt.trimEnd():Wt}case"css-rule":return[Bt("selector"),Te.important?" !important":"",Te.nodes?[Te.selector&&Te.selector.type==="selector-unknown"&&H(Te.selector.value)?y:" ","{",Te.nodes.length>0?C([m,tt(ft,Pt,Bt)]):"",m,"}",q(Te)?";":""]:";"];case"css-decl":{let Xt=ft.getParentNode(),{between:Wt}=Te.raws,nr=Wt.trim(),Ur=nr===":",O=X(Te)?N(Bt("value")):Bt("value");return!Ur&&H(nr)&&(O=C([m,w(O)])),[Te.raws.before.replace(/[\s;]/g,""),Xt.type==="css-atrule"&&Xt.variable||i(ft)?Te.prop:f(Te.prop),nr.startsWith("//")?" ":"",nr,Te.extend?"":" ",Le(Pt)&&Te.extend&&Te.selector?["extend(",Bt("selector"),")"]:"",O,Te.raws.important?Te.raws.important.replace(/\s*!\s*important/i," !important"):Te.important?" !important":"",Te.raws.scssDefault?Te.raws.scssDefault.replace(/\s*!default/i," !default"):Te.scssDefault?" !default":"",Te.raws.scssGlobal?Te.raws.scssGlobal.replace(/\s*!global/i," !global"):Te.scssGlobal?" !global":"",Te.nodes?[" {",C([g,tt(ft,Pt,Bt)]),g,"}"]:me(Te)&&!Xt.raws.semicolon&&Pt.originalText[ut(Te)-1]!==";"?"":Pt.__isHTMLStyleAttribute&&B(ft,Te)?k(";"):";"]}case"css-atrule":{let Xt=ft.getParentNode(),Wt=Q(Te)&&!Xt.raws.semicolon&&Pt.originalText[ut(Te)-1]!==";";if(Le(Pt)){if(Te.mixin)return[Bt("selector"),Te.important?" !important":"",Wt?"":";"];if(Te.function)return[Te.name,Bt("params"),Wt?"":";"];if(Te.variable)return["@",Te.name,": ",Te.value?Bt("value"):"",Te.raws.between.trim()?Te.raws.between.trim()+" ":"",Te.nodes?["{",C([Te.nodes.length>0?g:"",tt(ft,Pt,Bt)]),g,"}"]:"",Wt?"":";"]}return["@",ae(Te)||Te.name.endsWith(":")?Te.name:f(Te.name),Te.params?[ae(Te)?"":Q(Te)?Te.raws.afterName===""?"":Te.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(Te.raws.afterName)?[m,m]:/^\s*\n/.test(Te.raws.afterName)?m:" ":" ",Bt("params")]:"",Te.selector?C([" ",Bt("selector")]):"",Te.value?p([" ",Bt("value"),I(Te)?se(Te)?" ":y:""]):Te.name==="else"?" ":"",Te.nodes?[I(Te)?"":Te.selector&&!Te.selector.nodes&&typeof Te.selector.value=="string"&&H(Te.selector.value)||!Te.selector&&typeof Te.params=="string"&&H(Te.params)?y:" ","{",C([Te.nodes.length>0?g:"",tt(ft,Pt,Bt)]),g,"}"]:Wt?"":";"]}case"media-query-list":{let Xt=[];return ft.each(Wt=>{let nr=Wt.getValue();nr.type==="media-query"&&nr.value===""||Xt.push(Bt())},"nodes"),p(C(c(y,Xt)))}case"media-query":return[c(" ",ft.map(Bt,"nodes")),B(ft,Te)?"":","];case"media-type":return jt(Dt(Te.value,Pt));case"media-feature-expression":return Te.nodes?["(",...ft.map(Bt,"nodes"),")"]:Te.value;case"media-feature":return f(Dt(Te.value.replace(/ +/g," "),Pt));case"media-colon":return[Te.value," "];case"media-value":return jt(Dt(Te.value,Pt));case"media-keyword":return Dt(Te.value,Pt);case"media-url":return Dt(Te.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/g,")"),Pt);case"media-unknown":return Te.value;case"selector-root":return p([h(ft,"custom-selector")?[d(ft,"css-atrule").customSelector,y]:"",c([",",h(ft,["extend","custom-selector","nest"])?y:m],ft.map(Bt,"nodes"))]);case"selector-selector":return p(C(ft.map(Bt,"nodes")));case"selector-comment":return Te.value;case"selector-string":return Dt(Te.value,Pt);case"selector-tag":{let Xt=ft.getParentNode(),Wt=Xt&&Xt.nodes.indexOf(Te),nr=Wt&&Xt.nodes[Wt-1];return[Te.namespace?[Te.namespace===!0?"":Te.namespace.trim(),"|"]:"",nr.type==="selector-nesting"?Te.value:jt(b(ft,Te.value)?Te.value.toLowerCase():Te.value)]}case"selector-id":return["#",Te.value];case"selector-class":return[".",jt(Dt(Te.value,Pt))];case"selector-attribute":{var Vr;return["[",Te.namespace?[Te.namespace===!0?"":Te.namespace.trim(),"|"]:"",Te.attribute.trim(),(Vr=Te.operator)!==null&&Vr!==void 0?Vr:"",Te.value?Tt(Dt(Te.value.trim(),Pt),Pt):"",Te.insensitive?" i":"","]"]}case"selector-combinator":{if(Te.value==="+"||Te.value===">"||Te.value==="~"||Te.value===">>>"){let nr=ft.getParentNode();return[nr.type==="selector-selector"&&nr.nodes[0]===Te?"":y,Te.value,B(ft,Te)?"":" "]}let Xt=Te.value.trim().startsWith("(")?y:"",Wt=jt(Dt(Te.value.trim(),Pt))||y;return[Xt,Wt]}case"selector-universal":return[Te.namespace?[Te.namespace===!0?"":Te.namespace.trim(),"|"]:"",Te.value];case"selector-pseudo":return[f(Te.value),o(Te.nodes)?p(["(",C([g,c([",",y],ft.map(Bt,"nodes"))]),g,")"]):""];case"selector-nesting":return Te.value;case"selector-unknown":{let Xt=d(ft,"css-rule");if(Xt&&Xt.isSCSSNesterProperty)return jt(Dt(f(Te.value),Pt));let Wt=ft.getParentNode();if(Wt.raws&&Wt.raws.selector){let Ur=pt(Wt),O=Ur+Wt.raws.selector.length;return Pt.originalText.slice(Ur,O).trim()}let nr=ft.getParentNode(1);if(Wt.type==="value-paren_group"&&nr&&nr.type==="value-func"&&nr.value==="selector"){let Ur=ut(Wt.open)+1,O=pt(Wt.close),$e=Pt.originalText.slice(Ur,O).trim();return H($e)?[A,$e]:$e}return Te.value}case"value-value":case"value-root":return Bt("group");case"value-comment":return Pt.originalText.slice(pt(Te),ut(Te));case"value-comma_group":{let Xt=ft.getParentNode(),Wt=ft.getParentNode(1),nr=T(ft),Ur=nr&&Xt.type==="value-value"&&(nr==="grid"||nr.startsWith("grid-template")),O=d(ft,"css-atrule"),$e=O&&I(O),vt=Te.groups.some(Gr=>Xe(Gr)),zt=ft.map(Bt,"groups"),Ht=[],jr=F(ft,"url"),cr=!1,Tr=!1;for(let Gr=0;Grys:gs!==-1?cr=!0:ys!==-1&&(cr=!1)}if(cr||Et(Nt)||Et(Mt)||Nt.type==="value-atword"&&(Nt.value===""||Nt.value.endsWith("["))||Mt.type==="value-word"&&Mt.value.startsWith("]")||Nt.value==="~"||Nt.value&&Nt.value.includes("\\")&&Mt&&Mt.type!=="value-comment"||Cr&&Cr.value&&Cr.value.indexOf("\\")===Cr.value.length-1&&Nt.type==="value-operator"&&Nt.value==="/"||Nt.value==="\\"||Ce(Nt,Mt)||Ye(Nt)||Ct(Nt)||Rt(Mt)||Ct(Mt)&&we(Mt)||Rt(Nt)&&we(Mt)||Nt.value==="--"&&Ye(Mt))continue;let hs=R(Nt),Ks=R(Mt);if((hs&&Ye(Mt)||Ks&&Rt(Nt))&&we(Mt)||!Cr&&j(Nt)||F(ft,"calc")&&(De(Nt)||De(Mt)||U(Nt)||U(Mt))&&we(Mt))continue;let ll=(De(Nt)||U(Nt))&&Gr===0&&(Mt.type==="value-number"||Mt.isHex)&&Wt&&xe(Wt)&&!we(Mt),Qs=ui&&ui.type==="value-func"||ui&&It(ui)||Nt.type==="value-func"||It(Nt),Zs=Mt.type==="value-func"||It(Mt)||Cr&&Cr.type==="value-func"||Cr&&It(Cr);if(!(!(te(Mt)||te(Nt))&&!F(ft,"calc")&&!ll&&(j(Mt)&&!Qs||j(Nt)&&!Zs||De(Mt)&&!Qs||De(Nt)&&!Zs||U(Mt)||U(Nt))&&(we(Mt)||hs&&(!Cr||Cr&&R(Cr))))&&!((Pt.parser==="scss"||Pt.parser==="less")&&hs&&Nt.value==="-"&&Be(Mt)&&ut(Nt)===pt(Mt.open)&&Mt.open.value==="(")){if(Xe(Nt)){if(Xt.type==="value-paren_group"){Ht.push(w(m));continue}Ht.push(m);continue}if($e&&(M(Mt)||G(Mt)||Ie(Mt)||pe(Nt)||be(Nt))){Ht.push(" ");continue}if(O&&O.name.toLowerCase()==="namespace"){Ht.push(" ");continue}if(Ur){Nt.source&&Mt.source&&Nt.source.start.line!==Mt.source.start.line?(Ht.push(m),Tr=!0):Ht.push(" ");continue}if(Ks){Ht.push(" ");continue}if(!(Mt&&Mt.value==="...")&&!(ke(Nt)&&ke(Mt)&&ut(Nt)===pt(Mt))){if(ke(Nt)&&Be(Mt)&&ut(Nt)===pt(Mt.open)){Ht.push(g);continue}if(Nt.value==="with"&&Be(Mt)){Ht.push(" ");continue}(Sr=Nt.value)!==null&&Sr!==void 0&&Sr.endsWith("#")&&Mt.value==="{"&&Be(Mt.group)||Ht.push(y)}}}return vt&&Ht.push(A),Tr&&Ht.unshift(m),$e?p(C(Ht)):E(ft)?p(D(Ht)):p(C(D(Ht)))}case"value-paren_group":{let Xt=ft.getParentNode();if(Xt&&fe(Xt)&&(Te.groups.length===1||Te.groups.length>0&&Te.groups[0].type==="value-comma_group"&&Te.groups[0].groups.length>0&&Te.groups[0].groups[0].type==="value-word"&&Te.groups[0].groups[0].value.startsWith("data:")))return[Te.open?Bt("open"):"",c(",",ft.map(Bt,"groups")),Te.close?Bt("close"):""];if(!Te.open){let jr=ft.map(Bt,"groups"),cr=[];for(let Tr=0;Tr{let Tr=jr.getValue(),Gr=cr===Te.groups.length-1,Cr=[Bt(),Gr?"":","];if(_e(Tr)&&Tr.type==="value-comma_group"&&Tr.groups&&Tr.groups[0].type!=="value-paren_group"&&Tr.groups[2]&&Tr.groups[2].type==="value-paren_group"){let Nt=x(Cr[0].contents.contents);Nt[1]=p(Nt[1]),Cr=[p(w(Cr))]}if(!Gr&&Tr.type==="value-comma_group"&&o(Tr.groups)){let Nt=t(Tr.groups);!Nt.source&&Nt.close&&(Nt=Nt.close),Nt.source&&n(Pt.originalText,Nt,ut)&&Cr.push(m)}return Cr},"groups"))]),k(!Ur&&v(Pt.parser,Pt.originalText)&&Wt&&ye(Pt)?",":""),g,Te.close?Bt("close"):""],{shouldBreak:vt});return zt?w(Ht):Ht}case"value-func":return[Te.value,h(ft,"supports")&&bt(Te)?" ":"",Bt("group")];case"value-paren":return Te.value;case"value-number":return[tr(Te.value),K(Te.unit)];case"value-operator":return Te.value;case"value-word":return Te.isColor&&Te.isHex||S(Te.value)?Te.value.toLowerCase():Te.value;case"value-colon":{let Xt=ft.getParentNode(),Wt=Xt&&Xt.groups.indexOf(Te),nr=Wt&&Xt.groups[Wt-1];return[Te.value,nr&&typeof nr.value=="string"&&t(nr.value)==="\\"||F(ft,"url")?"":y]}case"value-comma":return[Te.value," "];case"value-string":return s(Te.raws.quote+Te.value+Te.raws.quote,Pt);case"value-atword":return["@",Te.value];case"value-unicode-range":return Te.value;case"value-unknown":return Te.value;default:throw new Error(`Unknown postcss type ${JSON.stringify(Te.type)}`)}}function tt(ft,Pt,Bt){let Te=[];return ft.each((Vr,Sr,Xt)=>{let Wt=Xt[Sr-1];if(Wt&&Wt.type==="css-comment"&&Wt.text.trim()==="prettier-ignore"){let nr=Vr.getValue();Te.push(Pt.originalText.slice(pt(nr),ut(nr)))}else Te.push(Bt());Sr!==Xt.length-1&&(Xt[Sr+1].type==="css-comment"&&!e(Pt.originalText,pt(Xt[Sr+1]),{backwards:!0})&&!r(Xt[Sr])||Xt[Sr+1].type==="css-atrule"&&Xt[Sr+1].name==="else"&&Xt[Sr].type!=="css-comment"?Te.push(" "):(Te.push(Pt.__isHTMLStyleAttribute?y:m),n(Pt.originalText,Vr.getValue(),ut)&&!r(Xt[Sr])&&Te.push(m)))},"nodes"),Te}var ht=/(["'])(?:(?!\1)[^\\]|\\.)*\1/gs,Ke=/(?:\d*\.\d+|\d+\.?)(?:[Ee][+-]?\d+)?/g,pr=/[A-Za-z]+/g,dt=/[$@]?[A-Z_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/g,ar=new RegExp(ht.source+`|(${dt.source})?(${Ke.source})(${pr.source})?`,"g");function Dt(ft,Pt){return ft.replace(ht,Bt=>s(Bt,Pt))}function Tt(ft,Pt){let Bt=Pt.singleQuote?"'":'"';return ft.includes('"')||ft.includes("'")?ft:Bt+ft+Bt}function jt(ft){return ft.replace(ar,(Pt,Bt,Te,Vr,Sr)=>!Te&&Vr?tr(Vr)+f(Sr||""):Pt)}function tr(ft){return a(ft).replace(/\.0(?=$|e)/,"")}l.exports={print:ze,embed:_,insertPragma:J,massageAstNode:P}}}),za=$({"src/language-css/options.js"(u,l){ue();var t=On();l.exports={singleQuote:t.singleQuote}}}),Ha=$({"src/language-css/parsers.js"(){ue()}}),Ya=$({"node_modules/linguist-languages/data/CSS.json"(u,l){l.exports={name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css"],languageId:50}}}),Ka=$({"node_modules/linguist-languages/data/PostCSS.json"(u,l){l.exports={name:"PostCSS",type:"markup",color:"#dc3a0c",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",languageId:262764437}}}),Qa=$({"node_modules/linguist-languages/data/Less.json"(u,l){l.exports={name:"Less",type:"markup",color:"#1d365d",aliases:["less-css"],extensions:[".less"],tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",languageId:198}}}),Za=$({"node_modules/linguist-languages/data/SCSS.json"(u,l){l.exports={name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],languageId:329}}}),eo=$({"src/language-css/index.js"(u,l){ue();var t=vr(),a=Wa(),s=za(),e=Ha(),r=[t(Ya(),o=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"],extensions:[...o.extensions,".wxss"]})),t(Ka(),()=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]})),t(Qa(),()=>({since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]})),t(Za(),()=>({since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]}))],n={postcss:a};l.exports={languages:r,options:s,printers:n,parsers:e}}}),to=$({"src/language-handlebars/loc.js"(u,l){ue();function t(s){return s.loc.start.offset}function a(s){return s.loc.end.offset}l.exports={locStart:t,locEnd:a}}}),ro=$({"src/language-handlebars/clean.js"(u,l){ue();function t(a,s){if(a.type==="TextNode"){let e=a.chars.trim();if(!e)return null;s.chars=e.replace(/[\t\n\f\r ]+/g," ")}a.type==="AttrNode"&&a.name.toLowerCase()==="class"&&delete s.value}t.ignoredProperties=new Set(["loc","selfClosing"]),l.exports=t}}),no=$({"src/language-handlebars/html-void-elements.evaluate.js"(u,l){l.exports=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]}}),uo=$({"src/language-handlebars/utils.js"(u,l){ue();var t=mr(),a=no();function s(x){let P=x.getValue(),_=x.getParentNode(0);return!!(g(x,["ElementNode"])&&t(_.children)===P||g(x,["Block"])&&t(_.body)===P)}function e(x){return x.toUpperCase()===x}function r(x){return m(x,["ElementNode"])&&typeof x.tag=="string"&&!x.tag.startsWith(":")&&(e(x.tag[0])||x.tag.includes("."))}var n=new Set(a);function o(x){return n.has(x.toLowerCase())&&!e(x[0])}function c(x){return x.selfClosing===!0||o(x.tag)||r(x)&&x.children.every(P=>y(P))}function y(x){return m(x,["TextNode"])&&!/\S/.test(x.chars)}function m(x,P){return x&&P.includes(x.type)}function g(x,P){let _=x.getParentNode(0);return m(_,P)}function p(x,P){let _=w(x);return m(_,P)}function D(x,P){let _=k(x);return m(_,P)}function C(x,P){var _,J,d,T;let f=x.getValue(),F=(_=x.getParentNode(0))!==null&&_!==void 0?_:{},i=(J=(d=(T=F.children)!==null&&T!==void 0?T:F.body)!==null&&d!==void 0?d:F.parts)!==null&&J!==void 0?J:[],h=i.indexOf(f);return h!==-1&&i[h+P]}function w(x){let P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return C(x,-P)}function k(x){return C(x,1)}function A(x){return m(x,["MustacheCommentStatement"])&&typeof x.value=="string"&&x.value.trim()==="prettier-ignore"}function N(x){let P=x.getValue(),_=w(x,2);return A(P)||A(_)}l.exports={getNextNode:k,getPreviousNode:w,hasPrettierIgnore:N,isLastNodeOfSiblings:s,isNextNodeOfSomeType:D,isNodeOfSomeType:m,isParentOfSomeType:g,isPreviousNodeOfSomeType:p,isVoid:c,isWhitespaceNode:y}}}),io=$({"src/language-handlebars/printer-glimmer.js"(u,l){ue();var{builders:{dedent:t,fill:a,group:s,hardline:e,ifBreak:r,indent:n,join:o,line:c,softline:y},utils:{getDocParts:m,replaceTextEndOfLine:g}}=wt(),{getPreferredQuote:p,isNonEmptyArray:D}=Gt(),{locStart:C,locEnd:w}=to(),k=ro(),{getNextNode:A,getPreviousNode:N,hasPrettierIgnore:x,isLastNodeOfSiblings:P,isNextNodeOfSomeType:_,isNodeOfSomeType:J,isParentOfSomeType:d,isPreviousNodeOfSomeType:T,isVoid:f,isWhitespaceNode:F}=uo(),i=2;function h(H,ke,oe){let Be=H.getValue();if(!Be)return"";if(x(H))return ke.originalText.slice(C(Be),w(Be));let pt=ke.singleQuote?"'":'"';switch(Be.type){case"Block":case"Program":case"Template":return s(H.map(oe,"body"));case"ElementNode":{let ut=s(b(H,oe)),Le=ke.htmlWhitespaceSensitivity==="ignore"&&_(H,["ElementNode"])?y:"";if(f(Be))return[ut,Le];let v=[""];return Be.children.length===0?[ut,n(v),Le]:ke.htmlWhitespaceSensitivity==="ignore"?[ut,n(S(H,ke,oe)),e,n(v),Le]:[ut,n(s(S(H,ke,oe))),n(v),Le]}case"BlockStatement":{let ut=H.getParentNode(1);return ut&&ut.inverse&&ut.inverse.body.length===1&&ut.inverse.body[0]===Be&&ut.inverse.body[0].path.parts[0]===ut.path.parts[0]?[be(H,oe,ut.inverse.body[0].path.parts[0]),we(H,oe,ke),_e(H,oe,ke)]:[R(H,oe),s([we(H,oe,ke),_e(H,oe,ke),fe(H,oe,ke)])]}case"ElementModifierStatement":return s(["{{",It(H,oe),"}}"]);case"MustacheStatement":return s([I(Be),It(H,oe),q(Be)]);case"SubExpression":return s(["(",Rt(H,oe),y,")"]);case"AttrNode":{let ut=Be.value.type==="TextNode";if(ut&&Be.value.chars===""&&C(Be.value)===w(Be.value))return Be.name;let Le=ut?p(Be.value.chars,pt).quote:Be.value.type==="ConcatStatement"?p(Be.value.parts.filter(K=>K.type==="TextNode").map(K=>K.chars).join(""),pt).quote:"",v=oe("value");return[Be.name,"=",Le,Be.name==="class"&&Le?s(n(v)):v,Le]}case"ConcatStatement":return H.map(oe,"parts");case"Hash":return o(c,H.map(oe,"pairs"));case"HashPair":return[Be.key,"=",oe("value")];case"TextNode":{let ut=Be.chars.replace(/{{/g,"\\{{"),Le=Q(H);if(Le){if(Le==="class"){let dt=ut.trim().split(/\s+/).join(" "),ar=!1,Dt=!1;return d(H,["ConcatStatement"])&&(T(H,["MustacheStatement"])&&/^\s/.test(ut)&&(ar=!0),_(H,["MustacheStatement"])&&/\s$/.test(ut)&&dt!==""&&(Dt=!0)),[ar?c:"",dt,Dt?c:""]}return g(ut)}let v=/^[\t\n\f\r ]*$/.test(ut),K=!N(H),ye=!A(H);if(ke.htmlWhitespaceSensitivity!=="ignore"){let dt=/^[\t\n\f\r ]*/,ar=/[\t\n\f\r ]*$/,Dt=ye&&d(H,["Template"]),Tt=K&&d(H,["Template"]);if(v){if(Tt||Dt)return"";let Bt=[c],Te=me(ut);return Te&&(Bt=Xe(Te)),P(H)&&(Bt=Bt.map(Vr=>t(Vr))),Bt}let[jt]=ut.match(dt),[tr]=ut.match(ar),ft=[];if(jt){ft=[c];let Bt=me(jt);Bt&&(ft=Xe(Bt)),ut=ut.replace(dt,"")}let Pt=[];if(tr){if(!Dt){Pt=[c];let Bt=me(tr);Bt&&(Pt=Xe(Bt)),P(H)&&(Pt=Pt.map(Te=>t(Te)))}ut=ut.replace(ar,"")}return[...ft,a(it(ut)),...Pt]}let ze=me(ut),tt=Ce(ut),ht=Re(ut);if((K||ye)&&v&&d(H,["Block","ElementNode","Template"]))return"";v&&ze?(tt=Math.min(ze,i),ht=0):(_(H,["BlockStatement","ElementNode"])&&(ht=Math.max(ht,1)),T(H,["BlockStatement","ElementNode"])&&(tt=Math.max(tt,1)));let Ke="",pr="";return ht===0&&_(H,["MustacheStatement"])&&(pr=" "),tt===0&&T(H,["MustacheStatement"])&&(Ke=" "),K&&(tt=0,Ke=""),ye&&(ht=0,pr=""),ut=ut.replace(/^[\t\n\f\r ]+/g,Ke).replace(/[\t\n\f\r ]+$/,pr),[...Xe(tt),a(it(ut)),...Xe(ht)]}case"MustacheCommentStatement":{let ut=C(Be),Le=w(Be),v=ke.originalText.charAt(ut+2)==="~",K=ke.originalText.charAt(Le-3)==="~",ye=Be.value.includes("}}")?"--":"";return["{{",v?"~":"","!",ye,Be.value,ye,K?"~":"","}}"]}case"PathExpression":return Be.original;case"BooleanLiteral":return String(Be.value);case"CommentStatement":return[""];case"StringLiteral":{if(Ct(H)){let ut=ke.singleQuote?'"':"'";return Ye(Be.value,ut)}return Ye(Be.value,pt)}case"NumberLiteral":return String(Be.value);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(Be.type))}}function E(H,ke){return C(H)-C(ke)}function b(H,ke){let oe=H.getValue(),Be=["attributes","modifiers","comments"].filter(ut=>D(oe[ut])),pt=Be.flatMap(ut=>oe[ut]).sort(E);for(let ut of Be)H.each(Le=>{let v=pt.indexOf(Le.getValue());pt.splice(v,1,[c,ke()])},ut);return D(oe.blockParams)&&pt.push(c,xe(oe)),["<",oe.tag,n(pt),B(oe)]}function S(H,ke,oe){let Be=H.getValue().children.every(pt=>F(pt));return ke.htmlWhitespaceSensitivity==="ignore"&&Be?"":H.map((pt,ut)=>{let Le=oe();return ut===0&&ke.htmlWhitespaceSensitivity==="ignore"?[y,Le]:Le},"children")}function B(H){return f(H)?r([y,"/>"],[" />",y]):r([y,">"],">")}function I(H){let ke=H.escaped===!1?"{{{":"{{",oe=H.strip&&H.strip.open?"~":"";return[ke,oe]}function q(H){let ke=H.escaped===!1?"}}}":"}}";return[H.strip&&H.strip.close?"~":"",ke]}function G(H){let ke=I(H),oe=H.openStrip.open?"~":"";return[ke,oe,"#"]}function M(H){let ke=q(H);return[H.openStrip.close?"~":"",ke]}function te(H){let ke=I(H),oe=H.closeStrip.open?"~":"";return[ke,oe,"/"]}function j(H){let ke=q(H);return[H.closeStrip.close?"~":"",ke]}function De(H){let ke=I(H),oe=H.inverseStrip.open?"~":"";return[ke,oe]}function U(H){let ke=q(H);return[H.inverseStrip.close?"~":"",ke]}function R(H,ke){let oe=H.getValue(),Be=[],pt=bt(H,ke);return pt&&Be.push(s(pt)),D(oe.program.blockParams)&&Be.push(xe(oe.program)),s([G(oe),Et(H,ke),Be.length>0?n([c,o(c,Be)]):"",y,M(oe)])}function pe(H,ke){return[ke.htmlWhitespaceSensitivity==="ignore"?e:"",De(H),"else",U(H)]}function be(H,ke,oe){let Be=H.getValue(),pt=H.getParentNode(1);return s([De(pt),["else"," ",oe],n([c,s(bt(H,ke)),...D(Be.program.blockParams)?[c,xe(Be.program)]:[]]),y,U(pt)])}function fe(H,ke,oe){let Be=H.getValue();return oe.htmlWhitespaceSensitivity==="ignore"?[Ie(Be)?y:e,te(Be),ke("path"),j(Be)]:[te(Be),ke("path"),j(Be)]}function Ie(H){return J(H,["BlockStatement"])&&H.program.body.every(ke=>F(ke))}function X(H){return se(H)&&H.inverse.body.length===1&&J(H.inverse.body[0],["BlockStatement"])&&H.inverse.body[0].path.parts[0]===H.path.parts[0]}function se(H){return J(H,["BlockStatement"])&&H.inverse}function we(H,ke,oe){let Be=H.getValue();if(Ie(Be))return"";let pt=ke("program");return oe.htmlWhitespaceSensitivity==="ignore"?n([e,pt]):n(pt)}function _e(H,ke,oe){let Be=H.getValue(),pt=ke("inverse"),ut=oe.htmlWhitespaceSensitivity==="ignore"?[e,pt]:pt;return X(Be)?ut:se(Be)?[pe(Be,oe),n(ut)]:""}function it(H){return m(o(c,ae(H)))}function ae(H){return H.split(/[\t\n\f\r ]+/)}function Q(H){for(let ke=0;ke<2;ke++){let oe=H.getParentNode(ke);if(oe&&oe.type==="AttrNode")return oe.name.toLowerCase()}}function me(H){return H=typeof H=="string"?H:"",H.split(` -`).length-1}function Ce(H){H=typeof H=="string"?H:"";let ke=(H.match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"";return me(ke)}function Re(H){H=typeof H=="string"?H:"";let ke=(H.match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"";return me(ke)}function Xe(){let H=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return Array.from({length:Math.min(H,i)}).fill(e)}function Ye(H,ke){let{quote:oe,regex:Be}=p(H,ke);return[oe,H.replace(Be,`\\${oe}`),oe]}function Ct(H){let ke=0,oe=H.getParentNode(ke);for(;oe&&J(oe,["SubExpression"]);)ke++,oe=H.getParentNode(ke);return!!(oe&&J(H.getParentNode(ke+1),["ConcatStatement"])&&J(H.getParentNode(ke+2),["AttrNode"]))}function Rt(H,ke){let oe=Et(H,ke),Be=bt(H,ke);return Be?n([oe,c,s(Be)]):oe}function It(H,ke){let oe=Et(H,ke),Be=bt(H,ke);return Be?[n([oe,c,Be]),y]:oe}function Et(H,ke){return ke("path")}function bt(H,ke){let oe=H.getValue(),Be=[];if(oe.params.length>0){let pt=H.map(ke,"params");Be.push(...pt)}if(oe.hash&&oe.hash.pairs.length>0){let pt=ke("hash");Be.push(pt)}return Be.length===0?"":o(c,Be)}function xe(H){return["as |",H.blockParams.join(" "),"|"]}l.exports={print:h,massageAstNode:k}}}),so=$({"src/language-handlebars/parsers.js"(){ue()}}),ao=$({"node_modules/linguist-languages/data/Handlebars.json"(u,l){l.exports={name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155}}}),oo=$({"src/language-handlebars/index.js"(u,l){ue();var t=vr(),a=io(),s=so(),e=[t(ao(),()=>({since:"2.3.0",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}))],r={glimmer:a};l.exports={languages:e,printers:r,parsers:s}}}),lo=$({"src/language-graphql/pragma.js"(u,l){ue();function t(s){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/.test(s)}function a(s){return`# @format - -`+s}l.exports={hasPragma:t,insertPragma:a}}}),po=$({"src/language-graphql/loc.js"(u,l){ue();function t(s){return typeof s.start=="number"?s.start:s.loc&&s.loc.start}function a(s){return typeof s.end=="number"?s.end:s.loc&&s.loc.end}l.exports={locStart:t,locEnd:a}}}),co=$({"src/language-graphql/printer-graphql.js"(u,l){ue();var{builders:{join:t,hardline:a,line:s,softline:e,group:r,indent:n,ifBreak:o}}=wt(),{isNextLineEmpty:c,isNonEmptyArray:y}=Gt(),{insertPragma:m}=lo(),{locStart:g,locEnd:p}=po();function D(_,J,d){let T=_.getValue();if(!T)return"";if(typeof T=="string")return T;switch(T.kind){case"Document":{let f=[];return _.each((F,i,h)=>{f.push(d()),i!==h.length-1&&(f.push(a),c(J.originalText,F.getValue(),p)&&f.push(a))},"definitions"),[...f,a]}case"OperationDefinition":{let f=J.originalText[g(T)]!=="{",F=!!T.name;return[f?T.operation:"",f&&F?[" ",d("name")]:"",f&&!F&&y(T.variableDefinitions)?" ":"",y(T.variableDefinitions)?r(["(",n([e,t([o("",", "),e],_.map(d,"variableDefinitions"))]),e,")"]):"",C(_,d,T),T.selectionSet?!f&&!F?"":" ":"",d("selectionSet")]}case"FragmentDefinition":return["fragment ",d("name"),y(T.variableDefinitions)?r(["(",n([e,t([o("",", "),e],_.map(d,"variableDefinitions"))]),e,")"]):""," on ",d("typeCondition"),C(_,d,T)," ",d("selectionSet")];case"SelectionSet":return["{",n([a,t(a,w(_,J,d,"selections"))]),a,"}"];case"Field":return r([T.alias?[d("alias"),": "]:"",d("name"),T.arguments.length>0?r(["(",n([e,t([o("",", "),e],w(_,J,d,"arguments"))]),e,")"]):"",C(_,d,T),T.selectionSet?" ":"",d("selectionSet")]);case"Name":return T.value;case"StringValue":{if(T.block){let f=T.value.replace(/"""/g,"\\$&").split(` -`);return f.length===1&&(f[0]=f[0].trim()),f.every(F=>F==="")&&(f.length=0),t(a,['"""',...f,'"""'])}return['"',T.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"']}case"IntValue":case"FloatValue":case"EnumValue":return T.value;case"BooleanValue":return T.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",d("name")];case"ListValue":return r(["[",n([e,t([o("",", "),e],_.map(d,"values"))]),e,"]"]);case"ObjectValue":return r(["{",J.bracketSpacing&&T.fields.length>0?" ":"",n([e,t([o("",", "),e],_.map(d,"fields"))]),e,o("",J.bracketSpacing&&T.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[d("name"),": ",d("value")];case"Directive":return["@",d("name"),T.arguments.length>0?r(["(",n([e,t([o("",", "),e],w(_,J,d,"arguments"))]),e,")"]):""];case"NamedType":return d("name");case"VariableDefinition":return[d("variable"),": ",d("type"),T.defaultValue?[" = ",d("defaultValue")]:"",C(_,d,T)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[d("description"),T.description?a:"",T.kind==="ObjectTypeExtension"?"extend ":"","type ",d("name"),T.interfaces.length>0?[" implements ",...N(_,J,d)]:"",C(_,d,T),T.fields.length>0?[" {",n([a,t(a,w(_,J,d,"fields"))]),a,"}"]:""];case"FieldDefinition":return[d("description"),T.description?a:"",d("name"),T.arguments.length>0?r(["(",n([e,t([o("",", "),e],w(_,J,d,"arguments"))]),e,")"]):"",": ",d("type"),C(_,d,T)];case"DirectiveDefinition":return[d("description"),T.description?a:"","directive ","@",d("name"),T.arguments.length>0?r(["(",n([e,t([o("",", "),e],w(_,J,d,"arguments"))]),e,")"]):"",T.repeatable?" repeatable":""," on ",t(" | ",_.map(d,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[d("description"),T.description?a:"",T.kind==="EnumTypeExtension"?"extend ":"","enum ",d("name"),C(_,d,T),T.values.length>0?[" {",n([a,t(a,w(_,J,d,"values"))]),a,"}"]:""];case"EnumValueDefinition":return[d("description"),T.description?a:"",d("name"),C(_,d,T)];case"InputValueDefinition":return[d("description"),T.description?T.description.block?a:s:"",d("name"),": ",d("type"),T.defaultValue?[" = ",d("defaultValue")]:"",C(_,d,T)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[d("description"),T.description?a:"",T.kind==="InputObjectTypeExtension"?"extend ":"","input ",d("name"),C(_,d,T),T.fields.length>0?[" {",n([a,t(a,w(_,J,d,"fields"))]),a,"}"]:""];case"SchemaExtension":return["extend schema",C(_,d,T),...T.operationTypes.length>0?[" {",n([a,t(a,w(_,J,d,"operationTypes"))]),a,"}"]:[]];case"SchemaDefinition":return[d("description"),T.description?a:"","schema",C(_,d,T)," {",T.operationTypes.length>0?n([a,t(a,w(_,J,d,"operationTypes"))]):"",a,"}"];case"OperationTypeDefinition":return[d("operation"),": ",d("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[d("description"),T.description?a:"",T.kind==="InterfaceTypeExtension"?"extend ":"","interface ",d("name"),T.interfaces.length>0?[" implements ",...N(_,J,d)]:"",C(_,d,T),T.fields.length>0?[" {",n([a,t(a,w(_,J,d,"fields"))]),a,"}"]:""];case"FragmentSpread":return["...",d("name"),C(_,d,T)];case"InlineFragment":return["...",T.typeCondition?[" on ",d("typeCondition")]:"",C(_,d,T)," ",d("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return r([d("description"),T.description?a:"",r([T.kind==="UnionTypeExtension"?"extend ":"","union ",d("name"),C(_,d,T),T.types.length>0?[" =",o(""," "),n([o([s," "]),t([s,"| "],_.map(d,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[d("description"),T.description?a:"",T.kind==="ScalarTypeExtension"?"extend ":"","scalar ",d("name"),C(_,d,T)];case"NonNullType":return[d("type"),"!"];case"ListType":return["[",d("type"),"]"];default:throw new Error("unknown graphql type: "+JSON.stringify(T.kind))}}function C(_,J,d){if(d.directives.length===0)return"";let T=t(s,_.map(J,"directives"));return d.kind==="FragmentDefinition"||d.kind==="OperationDefinition"?r([s,T]):[" ",r(n([e,T]))]}function w(_,J,d,T){return _.map((f,F,i)=>{let h=d();return Fd(h),"interfaces");for(let h=0;hT.value.trim()==="prettier-ignore")}l.exports={print:D,massageAstNode:x,hasPrettierIgnore:P,insertPragma:m,printComment:A,canAttachComment:k}}}),Do=$({"src/language-graphql/options.js"(u,l){ue();var t=On();l.exports={bracketSpacing:t.bracketSpacing}}}),fo=$({"src/language-graphql/parsers.js"(){ue()}}),mo=$({"node_modules/linguist-languages/data/GraphQL.json"(u,l){l.exports={name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",languageId:139}}}),ho=$({"src/language-graphql/index.js"(u,l){ue();var t=vr(),a=co(),s=Do(),e=fo(),r=[t(mo(),()=>({since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]}))],n={graphql:a};l.exports={languages:r,options:s,printers:n,parsers:e}}}),Js=$({"node_modules/collapse-white-space/index.js"(u,l){ue(),l.exports=t;function t(a){return String(a).replace(/\s+/g," ")}}}),Xs=$({"src/language-markdown/loc.js"(u,l){ue();function t(s){return s.position.start.offset}function a(s){return s.position.end.offset}l.exports={locStart:t,locEnd:a}}}),go=$({"src/language-markdown/constants.evaluate.js"(u,l){l.exports={cjkPattern:"(?:[\\u02ea-\\u02eb\\u1100-\\u11ff\\u2e80-\\u2e99\\u2e9b-\\u2ef3\\u2f00-\\u2fd5\\u2ff0-\\u303f\\u3041-\\u3096\\u3099-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312f\\u3131-\\u318e\\u3190-\\u3191\\u3196-\\u31ba\\u31c0-\\u31e3\\u31f0-\\u321e\\u322a-\\u3247\\u3260-\\u327e\\u328a-\\u32b0\\u32c0-\\u32cb\\u32d0-\\u3370\\u337b-\\u337f\\u33e0-\\u33fe\\u3400-\\u4db5\\u4e00-\\u9fef\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufe10-\\ufe1f\\ufe30-\\ufe6f\\uff00-\\uffef]|[\\ud840-\\ud868\\ud86a-\\ud86c\\ud86f-\\ud872\\ud874-\\ud879][\\udc00-\\udfff]|\\ud82c[\\udc00-\\udd1e\\udd50-\\udd52\\udd64-\\udd67]|\\ud83c[\\ude00\\ude50-\\ude51]|\\ud869[\\udc00-\\uded6\\udf00-\\udfff]|\\ud86d[\\udc00-\\udf34\\udf40-\\udfff]|\\ud86e[\\udc00-\\udc1d\\udc20-\\udfff]|\\ud873[\\udc00-\\udea1\\udeb0-\\udfff]|\\ud87a[\\udc00-\\udfe0]|\\ud87e[\\udc00-\\ude1d])(?:[\\ufe00-\\ufe0f]|\\udb40[\\udd00-\\uddef])?",kPattern:"[\\u1100-\\u11ff\\u3001-\\u3003\\u3008-\\u3011\\u3013-\\u301f\\u302e-\\u3030\\u3037\\u30fb\\u3131-\\u318e\\u3200-\\u321e\\u3260-\\u327e\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\ufe45-\\ufe46\\uff61-\\uff65\\uffa0-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc]",punctuationPattern:"[\\u0021-\\u002f\\u003a-\\u0040\\u005b-\\u0060\\u007b-\\u007e\\u00a1\\u00a7\\u00ab\\u00b6-\\u00b7\\u00bb\\u00bf\\u037e\\u0387\\u055a-\\u055f\\u0589-\\u058a\\u05be\\u05c0\\u05c3\\u05c6\\u05f3-\\u05f4\\u0609-\\u060a\\u060c-\\u060d\\u061b\\u061e-\\u061f\\u066a-\\u066d\\u06d4\\u0700-\\u070d\\u07f7-\\u07f9\\u0830-\\u083e\\u085e\\u0964-\\u0965\\u0970\\u09fd\\u0a76\\u0af0\\u0c77\\u0c84\\u0df4\\u0e4f\\u0e5a-\\u0e5b\\u0f04-\\u0f12\\u0f14\\u0f3a-\\u0f3d\\u0f85\\u0fd0-\\u0fd4\\u0fd9-\\u0fda\\u104a-\\u104f\\u10fb\\u1360-\\u1368\\u1400\\u166e\\u169b-\\u169c\\u16eb-\\u16ed\\u1735-\\u1736\\u17d4-\\u17d6\\u17d8-\\u17da\\u1800-\\u180a\\u1944-\\u1945\\u1a1e-\\u1a1f\\u1aa0-\\u1aa6\\u1aa8-\\u1aad\\u1b5a-\\u1b60\\u1bfc-\\u1bff\\u1c3b-\\u1c3f\\u1c7e-\\u1c7f\\u1cc0-\\u1cc7\\u1cd3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205e\\u207d-\\u207e\\u208d-\\u208e\\u2308-\\u230b\\u2329-\\u232a\\u2768-\\u2775\\u27c5-\\u27c6\\u27e6-\\u27ef\\u2983-\\u2998\\u29d8-\\u29db\\u29fc-\\u29fd\\u2cf9-\\u2cfc\\u2cfe-\\u2cff\\u2d70\\u2e00-\\u2e2e\\u2e30-\\u2e4f\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301f\\u3030\\u303d\\u30a0\\u30fb\\ua4fe-\\ua4ff\\ua60d-\\ua60f\\ua673\\ua67e\\ua6f2-\\ua6f7\\ua874-\\ua877\\ua8ce-\\ua8cf\\ua8f8-\\ua8fa\\ua8fc\\ua92e-\\ua92f\\ua95f\\ua9c1-\\ua9cd\\ua9de-\\ua9df\\uaa5c-\\uaa5f\\uaade-\\uaadf\\uaaf0-\\uaaf1\\uabeb\\ufd3e-\\ufd3f\\ufe10-\\ufe19\\ufe30-\\ufe52\\ufe54-\\ufe61\\ufe63\\ufe68\\ufe6a-\\ufe6b\\uff01-\\uff03\\uff05-\\uff0a\\uff0c-\\uff0f\\uff1a-\\uff1b\\uff1f-\\uff20\\uff3b-\\uff3d\\uff3f\\uff5b\\uff5d\\uff5f-\\uff65]|\\ud800[\\udd00-\\udd02\\udf9f\\udfd0]|\\ud801[\\udd6f]|\\ud802[\\udc57\\udd1f\\udd3f\\ude50-\\ude58\\ude7f\\udef0-\\udef6\\udf39-\\udf3f\\udf99-\\udf9c]|\\ud803[\\udf55-\\udf59]|\\ud804[\\udc47-\\udc4d\\udcbb-\\udcbc\\udcbe-\\udcc1\\udd40-\\udd43\\udd74-\\udd75\\uddc5-\\uddc8\\uddcd\\udddb\\udddd-\\udddf\\ude38-\\ude3d\\udea9]|\\ud805[\\udc4b-\\udc4f\\udc5b\\udc5d\\udcc6\\uddc1-\\uddd7\\ude41-\\ude43\\ude60-\\ude6c\\udf3c-\\udf3e]|\\ud806[\\udc3b\\udde2\\ude3f-\\ude46\\ude9a-\\ude9c\\ude9e-\\udea2]|\\ud807[\\udc41-\\udc45\\udc70-\\udc71\\udef7-\\udef8\\udfff]|\\ud809[\\udc70-\\udc74]|\\ud81a[\\ude6e-\\ude6f\\udef5\\udf37-\\udf3b\\udf44]|\\ud81b[\\ude97-\\ude9a\\udfe2]|\\ud82f[\\udc9f]|\\ud836[\\ude87-\\ude8b]|\\ud83a[\\udd5e-\\udd5f]"}}}),Ds=$({"src/language-markdown/utils.js"(u,l){ue();var{getLast:t}=Gt(),{locStart:a,locEnd:s}=Xs(),{cjkPattern:e,kPattern:r,punctuationPattern:n}=go(),o=["liquidNode","inlineCode","emphasis","esComment","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],c=[...o,"tableCell","paragraph","heading"],y=new RegExp(r),m=new RegExp(n);function g(A,N){let x="non-cjk",P="cj-letter",_="k-letter",J="cjk-punctuation",d=[],T=(N.proseWrap==="preserve"?A:A.replace(new RegExp(`(${e}) -(${e})`,"g"),"$1$2")).split(/([\t\n ]+)/);for(let[F,i]of T.entries()){if(F%2===1){d.push({type:"whitespace",value:/\n/.test(i)?` -`:" "});continue}if((F===0||F===T.length-1)&&i==="")continue;let h=i.split(new RegExp(`(${e})`));for(let[E,b]of h.entries())if(!((E===0||E===h.length-1)&&b==="")){if(E%2===0){b!==""&&f({type:"word",value:b,kind:x,hasLeadingPunctuation:m.test(b[0]),hasTrailingPunctuation:m.test(t(b))});continue}f(m.test(b)?{type:"word",value:b,kind:J,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:b,kind:y.test(b)?_:P,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return d;function f(F){let i=t(d);i&&i.type==="word"&&(i.kind===x&&F.kind===P&&!i.hasTrailingPunctuation||i.kind===P&&F.kind===x&&!F.hasLeadingPunctuation?d.push({type:"whitespace",value:" "}):!h(x,J)&&![i.value,F.value].some(E=>/\u3000/.test(E))&&d.push({type:"whitespace",value:""})),d.push(F);function h(E,b){return i.kind===E&&F.kind===b||i.kind===b&&F.kind===E}}}function p(A,N){let[,x,P,_]=N.slice(A.position.start.offset,A.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:x,marker:P,leadingSpaces:_}}function D(A,N){if(!A.ordered||A.children.length<2)return!1;let x=Number(p(A.children[0],N.originalText).numberText),P=Number(p(A.children[1],N.originalText).numberText);if(x===0&&A.children.length>2){let _=Number(p(A.children[2],N.originalText).numberText);return P===1&&_===1}return P===1}function C(A,N){let{value:x}=A;return A.position.end.offset===N.length&&x.endsWith(` -`)&&N.endsWith(` -`)?x.slice(0,-1):x}function w(A,N){return function x(P,_,J){let d=Object.assign({},N(P,_,J));return d.children&&(d.children=d.children.map((T,f)=>x(T,f,[d,...J]))),d}(A,null,[])}function k(A){if((A==null?void 0:A.type)!=="link"||A.children.length!==1)return!1;let[N]=A.children;return a(A)===a(N)&&s(A)===s(N)}l.exports={mapAst:w,splitText:g,punctuationPattern:n,getFencedCodeBlockValue:C,getOrderedListItemInfo:p,hasGitDiffFriendlyOrderedList:D,INLINE_NODE_TYPES:o,INLINE_NODE_WRAPPER_TYPES:c,isAutolink:k}}}),yo=$({"src/language-markdown/embed.js"(u,l){ue();var{inferParserByLanguage:t,getMaxContinuousCount:a}=Gt(),{builders:{hardline:s,markAsRoot:e},utils:{replaceEndOfLine:r}}=wt(),n=cs(),{getFencedCodeBlockValue:o}=Ds();function c(y,m,g,p){let D=y.getValue();if(D.type==="code"&&D.lang!==null){let C=t(D.lang,p);if(C){let w=p.__inJsTemplate?"~":"`",k=w.repeat(Math.max(3,a(D.value,w)+1)),A={parser:C};D.lang==="tsx"&&(A.filepath="dummy.tsx");let N=g(o(D,p.originalText),A,{stripTrailingHardline:!0});return e([k,D.lang,D.meta?" "+D.meta:"",s,r(N),s,k])}}switch(D.type){case"front-matter":return n(D,g);case"importExport":return[g(D.value,{parser:"babel"},{stripTrailingHardline:!0}),s];case"jsx":return g(`<$>${D.value}`,{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null}l.exports=c}}),Ws=$({"src/language-markdown/pragma.js"(u,l){ue();var t=Gs(),a=["format","prettier"];function s(e){let r=`@(${a.join("|")})`,n=new RegExp([``,`{\\s*\\/\\*\\s*${r}\\s*\\*\\/\\s*}`,``].join("|"),"m"),o=e.match(n);return(o==null?void 0:o.index)===0}l.exports={startWithPragma:s,hasPragma:e=>s(t(e).content.trimStart()),insertPragma:e=>{let r=t(e),n=``;return r.frontMatter?`${r.frontMatter.raw} - -${n} - -${r.content}`:`${n} - -${r.content}`}}}}),Eo=$({"src/language-markdown/print-preprocess.js"(u,l){ue();var t=mr(),{getOrderedListItemInfo:a,mapAst:s,splitText:e}=Ds(),r=/^.$/su;function n(k,A){return k=y(k,A),k=p(k),k=c(k,A),k=C(k,A),k=w(k,A),k=D(k,A),k=o(k),k=m(k),k}function o(k){return s(k,A=>A.type!=="import"&&A.type!=="export"?A:Object.assign(Object.assign({},A),{},{type:"importExport"}))}function c(k,A){return s(k,N=>N.type!=="inlineCode"||A.proseWrap==="preserve"?N:Object.assign(Object.assign({},N),{},{value:N.value.replace(/\s+/g," ")}))}function y(k,A){return s(k,N=>N.type!=="text"||N.value==="*"||N.value==="_"||!r.test(N.value)||N.position.end.offset-N.position.start.offset===N.value.length?N:Object.assign(Object.assign({},N),{},{value:A.originalText.slice(N.position.start.offset,N.position.end.offset)}))}function m(k){return g(k,(A,N)=>A.type==="importExport"&&N.type==="importExport",(A,N)=>({type:"importExport",value:A.value+` - -`+N.value,position:{start:A.position.start,end:N.position.end}}))}function g(k,A,N){return s(k,x=>{if(!x.children)return x;let P=x.children.reduce((_,J)=>{let d=t(_);return d&&A(d,J)?_.splice(-1,1,N(d,J)):_.push(J),_},[]);return Object.assign(Object.assign({},x),{},{children:P})})}function p(k){return g(k,(A,N)=>A.type==="text"&&N.type==="text",(A,N)=>({type:"text",value:A.value+N.value,position:{start:A.position.start,end:N.position.end}}))}function D(k,A){return s(k,(N,x,P)=>{let[_]=P;if(N.type!=="text")return N;let{value:J}=N;return _.type==="paragraph"&&(x===0&&(J=J.trimStart()),x===_.children.length-1&&(J=J.trimEnd())),{type:"sentence",position:N.position,children:e(J,A)}})}function C(k,A){return s(k,(N,x,P)=>{if(N.type==="code"){let _=/^\n?(?: {4,}|\t)/.test(A.originalText.slice(N.position.start.offset,N.position.end.offset));if(N.isIndented=_,_)for(let J=0;J{if(P.type==="list"&&P.children.length>0){for(let d=0;d1)return!0;let d=N(_);if(d===-1)return!1;if(P.children.length===1)return d%A.tabWidth===0;let T=N(J);return d!==T?!1:d%A.tabWidth===0?!0:a(J,A.originalText).leadingSpaces.length>1}}l.exports=n}}),Co=$({"src/language-markdown/clean.js"(u,l){ue();var t=Js(),{isFrontMatterNode:a}=Gt(),{startWithPragma:s}=Ws(),e=new Set(["position","raw"]);function r(n,o,c){if((n.type==="front-matter"||n.type==="code"||n.type==="yaml"||n.type==="import"||n.type==="export"||n.type==="jsx")&&delete o.value,n.type==="list"&&delete o.isAligned,(n.type==="list"||n.type==="listItem")&&(delete o.spread,delete o.loose),n.type==="text"||(n.type==="inlineCode"&&(o.value=n.value.replace(/[\t\n ]+/g," ")),n.type==="wikiLink"&&(o.value=n.value.trim().replace(/[\t\n]+/g," ")),(n.type==="definition"||n.type==="linkReference"||n.type==="imageReference")&&(o.label=t(n.label)),(n.type==="definition"||n.type==="link"||n.type==="image")&&n.title&&(o.title=n.title.replace(/\\(["')])/g,"$1")),c&&c.type==="root"&&c.children.length>0&&(c.children[0]===n||a(c.children[0])&&c.children[1]===n)&&n.type==="html"&&s(n.value)))return null}r.ignoredProperties=e,l.exports=r}}),Fo=$({"src/language-markdown/printer-markdown.js"(u,l){ue();var t=Js(),{getLast:a,getMinNotPresentContinuousCount:s,getMaxContinuousCount:e,getStringWidth:r,isNonEmptyArray:n}=Gt(),{builders:{breakParent:o,join:c,line:y,literalline:m,markAsRoot:g,hardline:p,softline:D,ifBreak:C,fill:w,align:k,indent:A,group:N,hardlineWithoutBreakParent:x},utils:{normalizeDoc:P,replaceTextEndOfLine:_},printer:{printDocToString:J}}=wt(),d=yo(),{insertPragma:T}=Ws(),{locStart:f,locEnd:F}=Xs(),i=Eo(),h=Co(),{getFencedCodeBlockValue:E,hasGitDiffFriendlyOrderedList:b,splitText:S,punctuationPattern:B,INLINE_NODE_TYPES:I,INLINE_NODE_WRAPPER_TYPES:q,isAutolink:G}=Ds(),M=new Set(["importExport"]),te=["heading","tableCell","link","wikiLink"],j=new Set(["listItem","definition","footnoteDefinition"]);function De(xe,H,ke){let oe=xe.getValue();if(Xe(xe))return S(H.originalText.slice(oe.position.start.offset,oe.position.end.offset),H).map(Be=>Be.type==="word"?Be.value:Be.value===""?"":X(xe,Be.value,H));switch(oe.type){case"front-matter":return H.originalText.slice(oe.position.start.offset,oe.position.end.offset);case"root":return oe.children.length===0?"":[P(we(xe,H,ke)),M.has(ae(oe).type)?"":p];case"paragraph":return _e(xe,H,ke,{postprocessor:w});case"sentence":return _e(xe,H,ke);case"word":{let Be=oe.value.replace(/\*/g,"\\$&").replace(new RegExp([`(^|${B})(_+)`,`(_+)(${B}|$)`].join("|"),"g"),(Le,v,K,ye,ze)=>(K?`${v}${K}`:`${ye}${ze}`).replace(/_/g,"\\_")),pt=(Le,v,K)=>Le.type==="sentence"&&K===0,ut=(Le,v,K)=>G(Le.children[K-1]);return Be!==oe.value&&(xe.match(void 0,pt,ut)||xe.match(void 0,pt,(Le,v,K)=>Le.type==="emphasis"&&K===0,ut))&&(Be=Be.replace(/^(\\?[*_])+/,Le=>Le.replace(/\\/g,""))),Be}case"whitespace":{let Be=xe.getParentNode(),pt=Be.children.indexOf(oe),ut=Be.children[pt+1],Le=ut&&/^>|^(?:[*+-]|#{1,6}|\d+[).])$/.test(ut.value)?"never":H.proseWrap;return X(xe,oe.value,{proseWrap:Le})}case"emphasis":{let Be;if(G(oe.children[0]))Be=H.originalText[oe.position.start.offset];else{let pt=xe.getParentNode(),ut=pt.children.indexOf(oe),Le=pt.children[ut-1],v=pt.children[ut+1];Be=Le&&Le.type==="sentence"&&Le.children.length>0&&a(Le.children).type==="word"&&!a(Le.children).hasTrailingPunctuation||v&&v.type==="sentence"&&v.children.length>0&&v.children[0].type==="word"&&!v.children[0].hasLeadingPunctuation||Ie(xe,"emphasis")?"*":"_"}return[Be,_e(xe,H,ke),Be]}case"strong":return["**",_e(xe,H,ke),"**"];case"delete":return["~~",_e(xe,H,ke),"~~"];case"inlineCode":{let Be=s(oe.value,"`"),pt="`".repeat(Be||1),ut=Be&&!/^\s/.test(oe.value)?" ":"";return[pt,ut,oe.value,ut,pt]}case"wikiLink":{let Be="";return H.proseWrap==="preserve"?Be=oe.value:Be=oe.value.replace(/[\t\n]+/g," "),["[[",Be,"]]"]}case"link":switch(H.originalText[oe.position.start.offset]){case"<":{let Be="mailto:";return["<",oe.url.startsWith(Be)&&H.originalText.slice(oe.position.start.offset+1,oe.position.start.offset+1+Be.length)!==Be?oe.url.slice(Be.length):oe.url,">"]}case"[":return["[",_e(xe,H,ke),"](",Ye(oe.url,")"),Ct(oe.title,H),")"];default:return H.originalText.slice(oe.position.start.offset,oe.position.end.offset)}case"image":return["![",oe.alt||"","](",Ye(oe.url,")"),Ct(oe.title,H),")"];case"blockquote":return["> ",k("> ",_e(xe,H,ke))];case"heading":return["#".repeat(oe.depth)+" ",_e(xe,H,ke)];case"code":{if(oe.isIndented){let ut=" ".repeat(4);return k(ut,[ut,..._(oe.value,p)])}let Be=H.__inJsTemplate?"~":"`",pt=Be.repeat(Math.max(3,e(oe.value,Be)+1));return[pt,oe.lang||"",oe.meta?" "+oe.meta:"",p,..._(E(oe,H.originalText),p),p,pt]}case"html":{let Be=xe.getParentNode(),pt=Be.type==="root"&&a(Be.children)===oe?oe.value.trimEnd():oe.value,ut=/^$/s.test(pt);return _(pt,ut?p:g(m))}case"list":{let Be=pe(oe,xe.getParentNode()),pt=b(oe,H);return _e(xe,H,ke,{processor:(ut,Le)=>{let v=ye(),K=ut.getValue();if(K.children.length===2&&K.children[1].type==="html"&&K.children[0].position.start.column!==K.children[1].position.start.column)return[v,U(ut,H,ke,v)];return[v,k(" ".repeat(v.length),U(ut,H,ke,v))];function ye(){let ze=oe.ordered?(Le===0?oe.start:pt?1:oe.start+Le)+(Be%2===0?". ":") "):Be%2===0?"- ":"* ";return oe.isAligned||oe.hasIndentedCodeblock?R(ze,H):ze}}})}case"thematicBreak":{let Be=fe(xe,"list");return Be===-1?"---":pe(xe.getParentNode(Be),xe.getParentNode(Be+1))%2===0?"***":"---"}case"linkReference":return["[",_e(xe,H,ke),"]",oe.referenceType==="full"?Et(oe):oe.referenceType==="collapsed"?"[]":""];case"imageReference":switch(oe.referenceType){case"full":return["![",oe.alt||"","]",Et(oe)];default:return["![",oe.alt,"]",oe.referenceType==="collapsed"?"[]":""]}case"definition":{let Be=H.proseWrap==="always"?y:" ";return N([Et(oe),":",A([Be,Ye(oe.url),oe.title===null?"":[Be,Ct(oe.title,H,!1)]])])}case"footnote":return["[^",_e(xe,H,ke),"]"];case"footnoteReference":return bt(oe);case"footnoteDefinition":{let Be=xe.getParentNode().children[xe.getName()+1],pt=oe.children.length===1&&oe.children[0].type==="paragraph"&&(H.proseWrap==="never"||H.proseWrap==="preserve"&&oe.children[0].position.start.line===oe.children[0].position.end.line);return[bt(oe),": ",pt?_e(xe,H,ke):N([k(" ".repeat(4),_e(xe,H,ke,{processor:(ut,Le)=>Le===0?N([D,ke()]):ke()})),Be&&Be.type==="footnoteDefinition"?D:""])]}case"table":return se(xe,H,ke);case"tableCell":return _e(xe,H,ke);case"break":return/\s/.test(H.originalText[oe.position.start.offset])?[" ",g(m)]:["\\",p];case"liquidNode":return _(oe.value,p);case"importExport":return[oe.value,p];case"esComment":return["{/* ",oe.value," */}"];case"jsx":return oe.value;case"math":return["$$",p,oe.value?[..._(oe.value,p),p]:"","$$"];case"inlineMath":return H.originalText.slice(f(oe),F(oe));case"tableRow":case"listItem":default:throw new Error(`Unknown markdown type ${JSON.stringify(oe.type)}`)}}function U(xe,H,ke,oe){let Be=xe.getValue(),pt=Be.checked===null?"":Be.checked?"[x] ":"[ ] ";return[pt,_e(xe,H,ke,{processor:(ut,Le)=>{if(Le===0&&ut.getValue().type!=="list")return k(" ".repeat(pt.length),ke());let v=" ".repeat(Rt(H.tabWidth-oe.length,0,3));return[v,k(v,ke())]}})]}function R(xe,H){let ke=oe();return xe+" ".repeat(ke>=4?0:ke);function oe(){let Be=xe.length%H.tabWidth;return Be===0?0:H.tabWidth-Be}}function pe(xe,H){return be(xe,H,ke=>ke.ordered===xe.ordered)}function be(xe,H,ke){let oe=-1;for(let Be of H.children)if(Be.type===xe.type&&ke(Be)?oe++:oe=-1,Be===xe)return oe}function fe(xe,H){let ke=Array.isArray(H)?H:[H],oe=-1,Be;for(;Be=xe.getParentNode(++oe);)if(ke.includes(Be.type))return oe;return-1}function Ie(xe,H){let ke=fe(xe,H);return ke===-1?null:xe.getParentNode(ke)}function X(xe,H,ke){if(ke.proseWrap==="preserve"&&H===` -`)return p;let oe=ke.proseWrap==="always"&&!Ie(xe,te);return H!==""?oe?y:" ":oe?D:""}function se(xe,H,ke){let oe=xe.getValue(),Be=[],pt=xe.map(ze=>ze.map((tt,ht)=>{let Ke=J(ke(),H).formatted,pr=r(Ke);return Be[ht]=Math.max(Be[ht]||3,pr),{text:Ke,width:pr}},"children"),"children"),ut=v(!1);if(H.proseWrap!=="never")return[o,ut];let Le=v(!0);return[o,N(C(Le,ut))];function v(ze){let tt=[ye(pt[0],ze),K(ze)];return pt.length>1&&tt.push(c(x,pt.slice(1).map(ht=>ye(ht,ze)))),c(x,tt)}function K(ze){return`| ${Be.map((tt,ht)=>{let Ke=oe.align[ht],pr=Ke==="center"||Ke==="left"?":":"-",dt=Ke==="center"||Ke==="right"?":":"-",ar=ze?"-":"-".repeat(tt-2);return`${pr}${ar}${dt}`}).join(" | ")} |`}function ye(ze,tt){return`| ${ze.map((ht,Ke)=>{let{text:pr,width:dt}=ht;if(tt)return pr;let ar=Be[Ke]-dt,Dt=oe.align[Ke],Tt=0;Dt==="right"?Tt=ar:Dt==="center"&&(Tt=Math.floor(ar/2));let jt=ar-Tt;return`${" ".repeat(Tt)}${pr}${" ".repeat(jt)}`}).join(" | ")} |`}}function we(xe,H,ke){let oe=[],Be=null,{children:pt}=xe.getValue();for(let[ut,Le]of pt.entries())switch(Q(Le)){case"start":Be===null&&(Be={index:ut,offset:Le.position.end.offset});break;case"end":Be!==null&&(oe.push({start:Be,end:{index:ut,offset:Le.position.start.offset}}),Be=null);break}return _e(xe,H,ke,{processor:(ut,Le)=>{if(oe.length>0){let v=oe[0];if(Le===v.start.index)return[it(pt[v.start.index]),H.originalText.slice(v.start.offset,v.end.offset),it(pt[v.end.index])];if(v.start.index3&&arguments[3]!==void 0?arguments[3]:{},{postprocessor:Be}=oe,pt=oe.processor||(()=>ke()),ut=xe.getValue(),Le=[],v;return xe.each((K,ye)=>{let ze=K.getValue(),tt=pt(K,ye);if(tt!==!1){let ht={parts:Le,prevNode:v,parentNode:ut,options:H};me(ze,ht)&&(Le.push(p),v&&M.has(v.type)||(Ce(ze,ht)||Re(ze,ht))&&Le.push(p),Re(ze,ht)&&Le.push(p)),Le.push(tt),v=ze}},"children"),Be?Be(Le):Le}function it(xe){if(xe.type==="html")return xe.value;if(xe.type==="paragraph"&&Array.isArray(xe.children)&&xe.children.length===1&&xe.children[0].type==="esComment")return["{/* ",xe.children[0].value," */}"]}function ae(xe){let H=xe;for(;n(H.children);)H=a(H.children);return H}function Q(xe){let H;if(xe.type==="html")H=xe.value.match(/^$/);else{let ke;xe.type==="esComment"?ke=xe:xe.type==="paragraph"&&xe.children.length===1&&xe.children[0].type==="esComment"&&(ke=xe.children[0]),ke&&(H=ke.value.match(/^prettier-ignore(?:-(start|end))?$/))}return H?H[1]||"next":!1}function me(xe,H){let ke=H.parts.length===0,oe=I.includes(xe.type),Be=xe.type==="html"&&q.includes(H.parentNode.type);return!ke&&!oe&&!Be}function Ce(xe,H){var ke,oe,Be;let pt=(H.prevNode&&H.prevNode.type)===xe.type&&j.has(xe.type),ut=H.parentNode.type==="listItem"&&!H.parentNode.loose,Le=((ke=H.prevNode)===null||ke===void 0?void 0:ke.type)==="listItem"&&H.prevNode.loose,v=Q(H.prevNode)==="next",K=xe.type==="html"&&((oe=H.prevNode)===null||oe===void 0?void 0:oe.type)==="html"&&H.prevNode.position.end.line+1===xe.position.start.line,ye=xe.type==="html"&&H.parentNode.type==="listItem"&&((Be=H.prevNode)===null||Be===void 0?void 0:Be.type)==="paragraph"&&H.prevNode.position.end.line+1===xe.position.start.line;return Le||!(pt||ut||v||K||ye)}function Re(xe,H){let ke=H.prevNode&&H.prevNode.type==="list",oe=xe.type==="code"&&xe.isIndented;return ke&&oe}function Xe(xe){let H=Ie(xe,["linkReference","imageReference"]);return H&&(H.type!=="linkReference"||H.referenceType!=="full")}function Ye(xe){let H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ke=[" ",...Array.isArray(H)?H:[H]];return new RegExp(ke.map(oe=>`\\${oe}`).join("|")).test(xe)?`<${xe}>`:xe}function Ct(xe,H){let ke=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!xe)return"";if(ke)return" "+Ct(xe,H,!1);if(xe=xe.replace(/\\(["')])/g,"$1"),xe.includes('"')&&xe.includes("'")&&!xe.includes(")"))return`(${xe})`;let oe=xe.split("'").length-1,Be=xe.split('"').length-1,pt=oe>Be?'"':Be>oe||H.singleQuote?"'":'"';return xe=xe.replace(/\\/,"\\\\"),xe=xe.replace(new RegExp(`(${pt})`,"g"),"\\$1"),`${pt}${xe}${pt}`}function Rt(xe,H,ke){return xeke?ke:xe}function It(xe){let H=Number(xe.getName());if(H===0)return!1;let ke=xe.getParentNode().children[H-1];return Q(ke)==="next"}function Et(xe){return`[${t(xe.label)}]`}function bt(xe){return`[^${xe.label}]`}l.exports={preprocess:i,print:De,embed:d,massageAstNode:h,hasPrettierIgnore:It,insertPragma:T}}}),Ao=$({"src/language-markdown/options.js"(u,l){ue();var t=On();l.exports={proseWrap:t.proseWrap,singleQuote:t.singleQuote}}}),vo=$({"src/language-markdown/parsers.js"(){ue()}}),zs=$({"node_modules/linguist-languages/data/Markdown.json"(u,l){l.exports={name:"Markdown",type:"prose",color:"#083fa1",aliases:["pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".md",".livemd",".markdown",".mdown",".mdwn",".mdx",".mkd",".mkdn",".mkdown",".ronn",".scd",".workbook"],filenames:["contents.lr"],tmScope:"source.gfm",languageId:222}}}),bo=$({"src/language-markdown/index.js"(u,l){ue();var t=vr(),a=Fo(),s=Ao(),e=vo(),r=[t(zs(),o=>({since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:[...o.filenames,"README"],extensions:o.extensions.filter(c=>c!==".mdx")})),t(zs(),()=>({name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]}))],n={mdast:a};l.exports={languages:r,options:s,printers:n,parsers:e}}}),So=$({"src/language-html/clean.js"(u,l){ue();var{isFrontMatterNode:t}=Gt(),a=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan"]);function s(e,r){if(e.type==="text"||e.type==="comment"||t(e)||e.type==="yaml"||e.type==="toml")return null;e.type==="attribute"&&delete r.value,e.type==="docType"&&delete r.value}s.ignoredProperties=a,l.exports=s}}),xo=$({"src/language-html/constants.evaluate.js"(u,l){l.exports={CSS_DISPLAY_TAGS:{area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",source:"block",style:"none",template:"inline",track:"block",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"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",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",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",fieldset:"block",button:"inline-block",details:"block",summary:"block",dialog:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},CSS_DISPLAY_DEFAULT:"inline",CSS_WHITE_SPACE_TAGS:{listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},CSS_WHITE_SPACE_DEFAULT:"normal"}}}),To=$({"src/language-html/utils/is-unknown-namespace.js"(u,l){ue();function t(a){return a.type==="element"&&!a.hasExplicitNamespace&&!["html","svg"].includes(a.namespace)}l.exports=t}}),$n=$({"src/language-html/utils/index.js"(u,l){ue();var{inferParserByLanguage:t,isFrontMatterNode:a}=Gt(),{builders:{line:s,hardline:e,join:r},utils:{getDocParts:n,replaceTextEndOfLine:o}}=wt(),{CSS_DISPLAY_TAGS:c,CSS_DISPLAY_DEFAULT:y,CSS_WHITE_SPACE_TAGS:m,CSS_WHITE_SPACE_DEFAULT:g}=xo(),p=To(),D=new Set([" ",` -`,"\f","\r"," "]),C=v=>v.replace(/^[\t\n\f\r ]+/,""),w=v=>v.replace(/[\t\n\f\r ]+$/,""),k=v=>C(w(v)),A=v=>v.replace(/^[\t\f\r ]*\n/g,""),N=v=>A(w(v)),x=v=>v.split(/[\t\n\f\r ]+/),P=v=>v.match(/^[\t\n\f\r ]*/)[0],_=v=>{let[,K,ye,ze]=v.match(/^([\t\n\f\r ]*)(.*?)([\t\n\f\r ]*)$/s);return{leadingWhitespace:K,trailingWhitespace:ze,text:ye}},J=v=>/[\t\n\f\r ]/.test(v);function d(v,K){return!!(v.type==="ieConditionalComment"&&v.lastChild&&!v.lastChild.isSelfClosing&&!v.lastChild.endSourceSpan||v.type==="ieConditionalComment"&&!v.complete||Ce(v)&&v.children.some(ye=>ye.type!=="text"&&ye.type!=="interpolation")||oe(v,K)&&!i(v)&&v.type!=="interpolation")}function T(v){return v.type==="attribute"||!v.parent||!v.prev?!1:f(v.prev)}function f(v){return v.type==="comment"&&v.value.trim()==="prettier-ignore"}function F(v){return v.type==="text"||v.type==="comment"}function i(v){return v.type==="element"&&(v.fullName==="script"||v.fullName==="style"||v.fullName==="svg:style"||p(v)&&(v.name==="script"||v.name==="style"))}function h(v){return v.children&&!i(v)}function E(v){return i(v)||v.type==="interpolation"||b(v)}function b(v){return Ct(v).startsWith("pre")}function S(v,K){let ye=ze();if(ye&&!v.prev&&v.parent&&v.parent.tagDefinition&&v.parent.tagDefinition.ignoreFirstLf)return v.type==="interpolation";return ye;function ze(){return a(v)?!1:(v.type==="text"||v.type==="interpolation")&&v.prev&&(v.prev.type==="text"||v.prev.type==="interpolation")?!0:!v.parent||v.parent.cssDisplay==="none"?!1:Ce(v.parent)?!0:!(!v.prev&&(v.parent.type==="root"||Ce(v)&&v.parent||i(v.parent)||H(v.parent,K)||!_e(v.parent.cssDisplay))||v.prev&&!Q(v.prev.cssDisplay))}}function B(v,K){return a(v)?!1:(v.type==="text"||v.type==="interpolation")&&v.next&&(v.next.type==="text"||v.next.type==="interpolation")?!0:!v.parent||v.parent.cssDisplay==="none"?!1:Ce(v.parent)?!0:!(!v.next&&(v.parent.type==="root"||Ce(v)&&v.parent||i(v.parent)||H(v.parent,K)||!it(v.parent.cssDisplay))||v.next&&!ae(v.next.cssDisplay))}function I(v){return me(v.cssDisplay)&&!i(v)}function q(v){return a(v)||v.next&&v.sourceSpan.end&&v.sourceSpan.end.line+10&&(["body","script","style"].includes(v.name)||v.children.some(K=>fe(K)))||v.firstChild&&v.firstChild===v.lastChild&&v.firstChild.type!=="text"&&U(v.firstChild)&&(!v.lastChild.isTrailingSpaceSensitive||R(v.lastChild))}function M(v){return v.type==="element"&&v.children.length>0&&(["html","head","ul","ol","select"].includes(v.name)||v.cssDisplay.startsWith("table")&&v.cssDisplay!=="table-cell")}function te(v){return pe(v)||v.prev&&j(v.prev)||De(v)}function j(v){return pe(v)||v.type==="element"&&v.fullName==="br"||De(v)}function De(v){return U(v)&&R(v)}function U(v){return v.hasLeadingSpaces&&(v.prev?v.prev.sourceSpan.end.linev.sourceSpan.end.line:v.parent.type==="root"||v.parent.endSourceSpan&&v.parent.endSourceSpan.start.line>v.sourceSpan.end.line)}function pe(v){switch(v.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(v.name)}return!1}function be(v){return v.lastChild?be(v.lastChild):v}function fe(v){return v.children&&v.children.some(K=>K.type!=="text")}function Ie(v){let{type:K,lang:ye}=v.attrMap;if(K==="module"||K==="text/javascript"||K==="text/babel"||K==="application/javascript"||ye==="jsx")return"babel";if(K==="application/x-typescript"||ye==="ts"||ye==="tsx")return"typescript";if(K==="text/markdown")return"markdown";if(K==="text/html")return"html";if(K&&(K.endsWith("json")||K.endsWith("importmap"))||K==="speculationrules")return"json";if(K==="text/x-handlebars-template")return"glimmer"}function X(v,K){let{lang:ye}=v.attrMap;if(!ye||ye==="postcss"||ye==="css")return"css";if(ye==="scss")return"scss";if(ye==="less")return"less";if(ye==="stylus")return t("stylus",K)}function se(v,K){if(v.name==="script"&&!v.attrMap.src)return!v.attrMap.lang&&!v.attrMap.type?"babel":Ie(v);if(v.name==="style")return X(v,K);if(K&&oe(v,K))return Ie(v)||!("src"in v.attrMap)&&t(v.attrMap.lang,K)}function we(v){return v==="block"||v==="list-item"||v.startsWith("table")}function _e(v){return!we(v)&&v!=="inline-block"}function it(v){return!we(v)&&v!=="inline-block"}function ae(v){return!we(v)}function Q(v){return!we(v)}function me(v){return!we(v)&&v!=="inline-block"}function Ce(v){return Ct(v).startsWith("pre")}function Re(v,K){let ye=0;for(let ze=v.stack.length-1;ze>=0;ze--){let tt=v.stack[ze];tt&&typeof tt=="object"&&!Array.isArray(tt)&&K(tt)&&ye++}return ye}function Xe(v,K){let ye=v;for(;ye;){if(K(ye))return!0;ye=ye.parent}return!1}function Ye(v,K){if(v.prev&&v.prev.type==="comment"){let ze=v.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(ze)return ze[1]}let ye=!1;if(v.type==="element"&&v.namespace==="svg")if(Xe(v,ze=>ze.fullName==="svg:foreignObject"))ye=!0;else return v.name==="svg"?"inline-block":"block";switch(K.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return K.parser==="vue"&&v.parent&&v.parent.type==="root"?"block":v.type==="element"&&(!v.namespace||ye||p(v))&&c[v.name]||y}}function Ct(v){return v.type==="element"&&(!v.namespace||p(v))&&m[v.name]||g}function Rt(v){let K=Number.POSITIVE_INFINITY;for(let ye of v.split(` -`)){if(ye.length===0)continue;if(!D.has(ye[0]))return 0;let ze=P(ye).length;ye.length!==ze&&ze1&&arguments[1]!==void 0?arguments[1]:Rt(v);return K===0?v:v.split(` -`).map(ye=>ye.slice(K)).join(` -`)}function Et(v,K){let ye=0;for(let ze=0;ze1&&arguments[1]!==void 0?arguments[1]:v.value;return v.parent.isWhitespaceSensitive?v.parent.isIndentationSensitive?o(K):o(It(N(K)),e):n(r(s,x(K)))}function Le(v,K){return ke(v,K)&&v.name==="script"}l.exports={htmlTrim:k,htmlTrimPreserveIndentation:N,hasHtmlWhitespace:J,getLeadingAndTrailingHtmlWhitespace:_,canHaveInterpolation:h,countChars:Et,countParents:Re,dedentString:It,forceBreakChildren:M,forceBreakContent:G,forceNextEmptyLine:q,getLastDescendant:be,getNodeCssStyleDisplay:Ye,getNodeCssStyleWhiteSpace:Ct,hasPrettierIgnore:T,inferScriptParser:se,isVueCustomBlock:H,isVueNonHtmlBlock:oe,isVueScriptTag:Le,isVueSlotAttribute:Be,isVueSfcBindingsAttribute:pt,isVueSfcBlock:ke,isDanglingSpaceSensitiveNode:I,isIndentationSensitiveNode:b,isLeadingSpaceSensitiveNode:S,isPreLikeNode:Ce,isScriptLikeTag:i,isTextLikeNode:F,isTrailingSpaceSensitiveNode:B,isWhitespaceSensitiveNode:E,isUnknownNamespace:p,preferHardlineAsLeadingSpaces:te,preferHardlineAsTrailingSpaces:j,shouldPreserveContent:d,unescapeQuoteEntities:bt,getTextValueParts:ut}}}),Bo=$({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(u){ue(),Object.defineProperty(u,"__esModule",{value:!0}),u.$EOF=0,u.$BSPACE=8,u.$TAB=9,u.$LF=10,u.$VTAB=11,u.$FF=12,u.$CR=13,u.$SPACE=32,u.$BANG=33,u.$DQ=34,u.$HASH=35,u.$$=36,u.$PERCENT=37,u.$AMPERSAND=38,u.$SQ=39,u.$LPAREN=40,u.$RPAREN=41,u.$STAR=42,u.$PLUS=43,u.$COMMA=44,u.$MINUS=45,u.$PERIOD=46,u.$SLASH=47,u.$COLON=58,u.$SEMICOLON=59,u.$LT=60,u.$EQ=61,u.$GT=62,u.$QUESTION=63,u.$0=48,u.$7=55,u.$9=57,u.$A=65,u.$E=69,u.$F=70,u.$X=88,u.$Z=90,u.$LBRACKET=91,u.$BACKSLASH=92,u.$RBRACKET=93,u.$CARET=94,u.$_=95,u.$a=97,u.$b=98,u.$e=101,u.$f=102,u.$n=110,u.$r=114,u.$t=116,u.$u=117,u.$v=118,u.$x=120,u.$z=122,u.$LBRACE=123,u.$BAR=124,u.$RBRACE=125,u.$NBSP=160,u.$PIPE=124,u.$TILDA=126,u.$AT=64,u.$BT=96;function l(n){return n>=u.$TAB&&n<=u.$SPACE||n==u.$NBSP}u.isWhitespace=l;function t(n){return u.$0<=n&&n<=u.$9}u.isDigit=t;function a(n){return n>=u.$a&&n<=u.$z||n>=u.$A&&n<=u.$Z}u.isAsciiLetter=a;function s(n){return n>=u.$a&&n<=u.$f||n>=u.$A&&n<=u.$F||t(n)}u.isAsciiHexDigit=s;function e(n){return n===u.$LF||n===u.$CR}u.isNewLine=e;function r(n){return u.$0<=n&&n<=u.$7}u.isOctalDigit=r}}),wo=$({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(u){ue(),Object.defineProperty(u,"__esModule",{value:!0});var l=class{constructor(a,s,e){this.filePath=a,this.name=s,this.members=e}assertNoMembers(){if(this.members.length)throw new Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}};u.StaticSymbol=l;var t=class{constructor(){this.cache=new Map}get(a,s,e){e=e||[];let r=e.length?`.${e.join(".")}`:"",n=`"${a}".${s}${r}`,o=this.cache.get(n);return o||(o=new l(a,s,e),this.cache.set(n,o)),o}};u.StaticSymbolCache=t}}),No=$({"node_modules/angular-html-parser/lib/compiler/src/util.js"(u){ue(),Object.defineProperty(u,"__esModule",{value:!0});var l=/-+([a-z0-9])/g;function t(i){return i.replace(l,function(){for(var h=arguments.length,E=new Array(h),b=0;br(E,this,h))}visitStringMap(i,h){let E={};return Object.keys(i).forEach(b=>{E[b]=r(i[b],this,h)}),E}visitPrimitive(i,h){return i}visitOther(i,h){return i}};u.ValueTransformer=c,u.SyncAsync={assertSync:i=>{if(_(i))throw new Error("Illegal state: value cannot be a promise");return i},then:(i,h)=>_(i)?i.then(h):h(i),all:i=>i.some(_)?Promise.all(i):i};function y(i){throw new Error(`Internal Error: ${i}`)}u.error=y;function m(i,h){let E=Error(i);return E[g]=!0,h&&(E[p]=h),E}u.syntaxError=m;var g="ngSyntaxError",p="ngParseErrors";function D(i){return i[g]}u.isSyntaxError=D;function C(i){return i[p]||[]}u.getParseErrors=C;function w(i){return i.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}u.escapeRegExp=w;var k=Object.getPrototypeOf({});function A(i){return typeof i=="object"&&i!==null&&Object.getPrototypeOf(i)===k}function N(i){let h="";for(let E=0;E=55296&&b<=56319&&i.length>E+1){let S=i.charCodeAt(E+1);S>=56320&&S<=57343&&(E++,b=(b-55296<<10)+S-56320+65536)}b<=127?h+=String.fromCharCode(b):b<=2047?h+=String.fromCharCode(b>>6&31|192,b&63|128):b<=65535?h+=String.fromCharCode(b>>12|224,b>>6&63|128,b&63|128):b<=2097151&&(h+=String.fromCharCode(b>>18&7|240,b>>12&63|128,b>>6&63|128,b&63|128))}return h}u.utf8Encode=N;function x(i){if(typeof i=="string")return i;if(i instanceof Array)return"["+i.map(x).join(", ")+"]";if(i==null)return""+i;if(i.overriddenName)return`${i.overriddenName}`;if(i.name)return`${i.name}`;if(!i.toString)return"object";let h=i.toString();if(h==null)return""+h;let E=h.indexOf(` -`);return E===-1?h:h.substring(0,E)}u.stringify=x;function P(i){return typeof i=="function"&&i.hasOwnProperty("__forward_ref__")?i():i}u.resolveForwardRef=P;function _(i){return!!i&&typeof i.then=="function"}u.isPromise=_;var J=class{constructor(i){this.full=i;let h=i.split(".");this.major=h[0],this.minor=h[1],this.patch=h.slice(2).join(".")}};u.Version=J;var d=typeof window<"u"&&window,T=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,f=typeof globalThis<"u"&&globalThis,F=f||d||T;u.global=F}}),_o=$({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(u){ue(),Object.defineProperty(u,"__esModule",{value:!0});var l=wo(),t=No(),a=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function s(E){return E.replace(/\W/g,"_")}u.sanitizeIdentifier=s;var e=0;function r(E){if(!E||!E.reference)return null;let b=E.reference;if(b instanceof l.StaticSymbol)return b.name;if(b.__anonymousType)return b.__anonymousType;let S=t.stringify(b);return S.indexOf("(")>=0?(S=`anonymous_${e++}`,b.__anonymousType=S):S=s(S),S}u.identifierName=r;function n(E){let b=E.reference;return b instanceof l.StaticSymbol?b.filePath:`./${t.stringify(b)}`}u.identifierModuleUrl=n;function o(E,b){return`View_${r({reference:E})}_${b}`}u.viewClassName=o;function c(E){return`RenderType_${r({reference:E})}`}u.rendererTypeName=c;function y(E){return`HostView_${r({reference:E})}`}u.hostViewClassName=y;function m(E){return`${r({reference:E})}NgFactory`}u.componentFactoryName=m;var g;(function(E){E[E.Pipe=0]="Pipe",E[E.Directive=1]="Directive",E[E.NgModule=2]="NgModule",E[E.Injectable=3]="Injectable"})(g=u.CompileSummaryKind||(u.CompileSummaryKind={}));function p(E){return E.value!=null?s(E.value):r(E.identifier)}u.tokenName=p;function D(E){return E.identifier!=null?E.identifier.reference:E.value}u.tokenReference=D;var C=class{constructor(){let{moduleUrl:E,styles:b,styleUrls:S}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.moduleUrl=E||null,this.styles=_(b),this.styleUrls=_(S)}};u.CompileStylesheetMetadata=C;var w=class{constructor(E){let{encapsulation:b,template:S,templateUrl:B,htmlAst:I,styles:q,styleUrls:G,externalStylesheets:M,animations:te,ngContentSelectors:j,interpolation:De,isInline:U,preserveWhitespaces:R}=E;if(this.encapsulation=b,this.template=S,this.templateUrl=B,this.htmlAst=I,this.styles=_(q),this.styleUrls=_(G),this.externalStylesheets=_(M),this.animations=te?d(te):[],this.ngContentSelectors=j||[],De&&De.length!=2)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=De,this.isInline=U,this.preserveWhitespaces=R}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};u.CompileTemplateMetadata=w;var k=class{static create(E){let{isHost:b,type:S,isComponent:B,selector:I,exportAs:q,changeDetection:G,inputs:M,outputs:te,host:j,providers:De,viewProviders:U,queries:R,guards:pe,viewQueries:be,entryComponents:fe,template:Ie,componentViewType:X,rendererType:se,componentFactory:we}=E,_e={},it={},ae={};j!=null&&Object.keys(j).forEach(Ce=>{let Re=j[Ce],Xe=Ce.match(a);Xe===null?ae[Ce]=Re:Xe[1]!=null?it[Xe[1]]=Re:Xe[2]!=null&&(_e[Xe[2]]=Re)});let Q={};M==null||M.forEach(Ce=>{let Re=t.splitAtColon(Ce,[Ce,Ce]);Q[Re[0]]=Re[1]});let me={};return te==null||te.forEach(Ce=>{let Re=t.splitAtColon(Ce,[Ce,Ce]);me[Re[0]]=Re[1]}),new k({isHost:b,type:S,isComponent:!!B,selector:I,exportAs:q,changeDetection:G,inputs:Q,outputs:me,hostListeners:_e,hostProperties:it,hostAttributes:ae,providers:De,viewProviders:U,queries:R,guards:pe,viewQueries:be,entryComponents:fe,template:Ie,componentViewType:X,rendererType:se,componentFactory:we})}constructor(E){let{isHost:b,type:S,isComponent:B,selector:I,exportAs:q,changeDetection:G,inputs:M,outputs:te,hostListeners:j,hostProperties:De,hostAttributes:U,providers:R,viewProviders:pe,queries:be,guards:fe,viewQueries:Ie,entryComponents:X,template:se,componentViewType:we,rendererType:_e,componentFactory:it}=E;this.isHost=!!b,this.type=S,this.isComponent=B,this.selector=I,this.exportAs=q,this.changeDetection=G,this.inputs=M,this.outputs=te,this.hostListeners=j,this.hostProperties=De,this.hostAttributes=U,this.providers=_(R),this.viewProviders=_(pe),this.queries=_(be),this.guards=fe,this.viewQueries=_(Ie),this.entryComponents=_(X),this.template=se,this.componentViewType=we,this.rendererType=_e,this.componentFactory=it}toSummary(){return{summaryKind:g.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}};u.CompileDirectiveMetadata=k;var A=class{constructor(E){let{type:b,name:S,pure:B}=E;this.type=b,this.name=S,this.pure=!!B}toSummary(){return{summaryKind:g.Pipe,type:this.type,name:this.name,pure:this.pure}}};u.CompilePipeMetadata=A;var N=class{};u.CompileShallowModuleMetadata=N;var x=class{constructor(E){let{type:b,providers:S,declaredDirectives:B,exportedDirectives:I,declaredPipes:q,exportedPipes:G,entryComponents:M,bootstrapComponents:te,importedModules:j,exportedModules:De,schemas:U,transitiveModule:R,id:pe}=E;this.type=b||null,this.declaredDirectives=_(B),this.exportedDirectives=_(I),this.declaredPipes=_(q),this.exportedPipes=_(G),this.providers=_(S),this.entryComponents=_(M),this.bootstrapComponents=_(te),this.importedModules=_(j),this.exportedModules=_(De),this.schemas=_(U),this.id=pe||null,this.transitiveModule=R||null}toSummary(){let E=this.transitiveModule;return{summaryKind:g.NgModule,type:this.type,entryComponents:E.entryComponents,providers:E.providers,modules:E.modules,exportedDirectives:E.exportedDirectives,exportedPipes:E.exportedPipes}}};u.CompileNgModuleMetadata=x;var P=class{constructor(){this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}addProvider(E,b){this.providers.push({provider:E,module:b})}addDirective(E){this.directivesSet.has(E.reference)||(this.directivesSet.add(E.reference),this.directives.push(E))}addExportedDirective(E){this.exportedDirectivesSet.has(E.reference)||(this.exportedDirectivesSet.add(E.reference),this.exportedDirectives.push(E))}addPipe(E){this.pipesSet.has(E.reference)||(this.pipesSet.add(E.reference),this.pipes.push(E))}addExportedPipe(E){this.exportedPipesSet.has(E.reference)||(this.exportedPipesSet.add(E.reference),this.exportedPipes.push(E))}addModule(E){this.modulesSet.has(E.reference)||(this.modulesSet.add(E.reference),this.modules.push(E))}addEntryComponent(E){this.entryComponentsSet.has(E.componentType)||(this.entryComponentsSet.add(E.componentType),this.entryComponents.push(E))}};u.TransitiveCompileNgModuleMetadata=P;function _(E){return E||[]}var J=class{constructor(E,b){let{useClass:S,useValue:B,useExisting:I,useFactory:q,deps:G,multi:M}=b;this.token=E,this.useClass=S||null,this.useValue=B,this.useExisting=I,this.useFactory=q||null,this.dependencies=G||null,this.multi=!!M}};u.ProviderMeta=J;function d(E){return E.reduce((b,S)=>{let B=Array.isArray(S)?d(S):S;return b.concat(B)},[])}u.flatten=d;function T(E){return E.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function f(E,b,S){let B;return S.isInline?b.type.reference instanceof l.StaticSymbol?B=`${b.type.reference.filePath}.${b.type.reference.name}.html`:B=`${r(E)}/${r(b.type)}.html`:B=S.templateUrl,b.type.reference instanceof l.StaticSymbol?B:T(B)}u.templateSourceUrl=f;function F(E,b){let S=E.moduleUrl.split(/\/\\/g),B=S[S.length-1];return T(`css/${b}${B}.ngstyle.js`)}u.sharedStylesheetJitUrl=F;function i(E){return T(`${r(E.type)}/module.ngfactory.js`)}u.ngModuleJitUrl=i;function h(E,b){return T(`${r(E)}/${r(b.type)}.ngfactory.js`)}u.templateJitUrl=h}}),ko=$({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(u){ue(),Object.defineProperty(u,"__esModule",{value:!0});var l=Bo(),t=_o(),a=class{constructor(y,m,g,p){this.file=y,this.offset=m,this.line=g,this.col=p}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(y){let m=this.file.content,g=m.length,p=this.offset,D=this.line,C=this.col;for(;p>0&&y<0;)if(p--,y++,m.charCodeAt(p)==l.$LF){D--;let w=m.substr(0,p-1).lastIndexOf(String.fromCharCode(l.$LF));C=w>0?p-w:p}else C--;for(;p0;){let w=m.charCodeAt(p);p++,y--,w==l.$LF?(D++,C=0):C++}return new a(this.file,p,D,C)}getContext(y,m){let g=this.file.content,p=this.offset;if(p!=null){p>g.length-1&&(p=g.length-1);let D=p,C=0,w=0;for(;C0&&(p--,C++,!(g[p]==` -`&&++w==m)););for(C=0,w=0;C2&&arguments[2]!==void 0?arguments[2]:null;this.start=y,this.end=m,this.details=g}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};u.ParseSourceSpan=e,u.EMPTY_PARSE_LOCATION=new a(new s("",""),0,0,0),u.EMPTY_SOURCE_SPAN=new e(u.EMPTY_PARSE_LOCATION,u.EMPTY_PARSE_LOCATION);var r;(function(y){y[y.WARNING=0]="WARNING",y[y.ERROR=1]="ERROR"})(r=u.ParseErrorLevel||(u.ParseErrorLevel={}));var n=class{constructor(y,m){let g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:r.ERROR;this.span=y,this.msg=m,this.level=g}contextualMessage(){let y=this.span.start.getContext(100,3);return y?`${this.msg} ("${y.before}[${r[this.level]} ->]${y.after}")`:this.msg}toString(){let y=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${y}`}};u.ParseError=n;function o(y,m){let g=t.identifierModuleUrl(m),p=g!=null?`in ${y} ${t.identifierName(m)} in ${g}`:`in ${y} ${t.identifierName(m)}`,D=new s("",p);return new e(new a(D,-1,-1,-1),new a(D,-1,-1,-1))}u.typeSourceSpan=o;function c(y,m,g){let p=`in ${y} ${m} in ${g}`,D=new s("",p);return new e(new a(D,-1,-1,-1),new a(D,-1,-1,-1))}u.r3JitTypeSourceSpan=c}}),Po=$({"src/language-html/print-preprocess.js"(u,l){ue();var{ParseSourceSpan:t}=ko(),{htmlTrim:a,getLeadingAndTrailingHtmlWhitespace:s,hasHtmlWhitespace:e,canHaveInterpolation:r,getNodeCssStyleDisplay:n,isDanglingSpaceSensitiveNode:o,isIndentationSensitiveNode:c,isLeadingSpaceSensitiveNode:y,isTrailingSpaceSensitiveNode:m,isWhitespaceSensitiveNode:g,isVueScriptTag:p}=$n(),D=[w,k,N,P,_,T,J,d,f,x,F];function C(i,h){for(let E of D)E(i,h);return i}function w(i){i.walk(h=>{if(h.type==="element"&&h.tagDefinition.ignoreFirstLf&&h.children.length>0&&h.children[0].type==="text"&&h.children[0].value[0]===` -`){let E=h.children[0];E.value.length===1?h.removeChild(E):E.value=E.value.slice(1)}})}function k(i){let h=E=>E.type==="element"&&E.prev&&E.prev.type==="ieConditionalStartComment"&&E.prev.sourceSpan.end.offset===E.startSourceSpan.start.offset&&E.firstChild&&E.firstChild.type==="ieConditionalEndComment"&&E.firstChild.sourceSpan.start.offset===E.startSourceSpan.end.offset;i.walk(E=>{if(E.children)for(let b=0;b{if(b.children)for(let S=0;Sh.type==="cdata",h=>``)}function x(i){let h=E=>E.type==="element"&&E.attrs.length===0&&E.children.length===1&&E.firstChild.type==="text"&&!e(E.children[0].value)&&!E.firstChild.hasLeadingSpaces&&!E.firstChild.hasTrailingSpaces&&E.isLeadingSpaceSensitive&&!E.hasLeadingSpaces&&E.isTrailingSpaceSensitive&&!E.hasTrailingSpaces&&E.prev&&E.prev.type==="text"&&E.next&&E.next.type==="text";i.walk(E=>{if(E.children)for(let b=0;b`+S.firstChild.value+``+I.value,B.sourceSpan=new t(B.sourceSpan.start,I.sourceSpan.end),B.isTrailingSpaceSensitive=I.isTrailingSpaceSensitive,B.hasTrailingSpaces=I.hasTrailingSpaces,E.removeChild(S),b--,E.removeChild(I)}})}function P(i,h){if(h.parser==="html")return;let E=/{{(.+?)}}/s;i.walk(b=>{if(r(b))for(let S of b.children){if(S.type!=="text")continue;let B=S.sourceSpan.start,I=null,q=S.value.split(E);for(let G=0;G0&&b.insertChildBefore(S,{type:"text",value:M,sourceSpan:new t(B,I)});continue}I=B.moveBy(M.length+4),b.insertChildBefore(S,{type:"interpolation",sourceSpan:new t(B,I),children:M.length===0?[]:[{type:"text",value:M,sourceSpan:new t(B.moveBy(2),I.moveBy(-2))}]})}b.removeChild(S)}})}function _(i){i.walk(h=>{if(!h.children)return;if(h.children.length===0||h.children.length===1&&h.children[0].type==="text"&&a(h.children[0].value).length===0){h.hasDanglingSpaces=h.children.length>0,h.children=[];return}let E=g(h),b=c(h);if(!E)for(let S=0;S{h.isSelfClosing=!h.children||h.type==="element"&&(h.tagDefinition.isVoid||h.startSourceSpan===h.endSourceSpan)})}function d(i,h){i.walk(E=>{E.type==="element"&&(E.hasHtmComponentClosingTag=E.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(h.originalText.slice(E.endSourceSpan.start.offset,E.endSourceSpan.end.offset)))})}function T(i,h){i.walk(E=>{E.cssDisplay=n(E,h)})}function f(i,h){i.walk(E=>{let{children:b}=E;if(b){if(b.length===0){E.isDanglingSpaceSensitive=o(E);return}for(let S of b)S.isLeadingSpaceSensitive=y(S,h),S.isTrailingSpaceSensitive=m(S,h);for(let S=0;Sp(S,h));if(!E)return;let{lang:b}=E.attrMap;(b==="ts"||b==="typescript")&&(h.__should_parse_vue_template_with_ts=!0)}}l.exports=C}}),Io=$({"src/language-html/pragma.js"(u,l){ue();function t(s){return/^\s*/.test(s)}function a(s){return` - -`+s.replace(/^\s*\n/,"")}l.exports={hasPragma:t,insertPragma:a}}}),ds=$({"src/language-html/loc.js"(u,l){ue();function t(s){return s.sourceSpan.start.offset}function a(s){return s.sourceSpan.end.offset}l.exports={locStart:t,locEnd:a}}}),hu=$({"src/language-html/print/tag.js"(u,l){ue();var t=lr(),{isNonEmptyArray:a}=Gt(),{builders:{indent:s,join:e,line:r,softline:n,hardline:o},utils:{replaceTextEndOfLine:c}}=wt(),{locStart:y,locEnd:m}=ds(),{isTextLikeNode:g,getLastDescendant:p,isPreLikeNode:D,hasPrettierIgnore:C,shouldPreserveContent:w,isVueSfcBlock:k}=$n();function A(j,De){return[j.isSelfClosing?"":N(j,De),x(j,De)]}function N(j,De){return j.lastChild&&i(j.lastChild)?"":[P(j,De),J(j,De)]}function x(j,De){return(j.next?f(j.next):F(j.parent))?"":[d(j,De),_(j,De)]}function P(j,De){return F(j)?d(j.lastChild,De):""}function _(j,De){return i(j)?J(j.parent,De):h(j)?M(j.next):""}function J(j,De){if(t(!j.isSelfClosing),T(j,De))return"";switch(j.type){case"ieConditionalComment":return"";case"ieConditionalStartComment":return"]>";case"interpolation":return"}}";case"element":if(j.isSelfClosing)return"/>";default:return">"}}function T(j,De){return!j.isSelfClosing&&!j.endSourceSpan&&(C(j)||w(j.parent,De))}function f(j){return j.prev&&j.prev.type!=="docType"&&!g(j.prev)&&j.isLeadingSpaceSensitive&&!j.hasLeadingSpaces}function F(j){return j.lastChild&&j.lastChild.isTrailingSpaceSensitive&&!j.lastChild.hasTrailingSpaces&&!g(p(j.lastChild))&&!D(j)}function i(j){return!j.next&&!j.hasTrailingSpaces&&j.isTrailingSpaceSensitive&&g(p(j))}function h(j){return j.next&&!g(j.next)&&g(j)&&j.isTrailingSpaceSensitive&&!j.hasTrailingSpaces}function E(j){let De=j.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return De?De[1]?De[1].split(/\s+/):!0:!1}function b(j){return!j.prev&&j.isLeadingSpaceSensitive&&!j.hasLeadingSpaces}function S(j,De,U){let R=j.getValue();if(!a(R.attrs))return R.isSelfClosing?" ":"";let pe=R.prev&&R.prev.type==="comment"&&E(R.prev.value),be=typeof pe=="boolean"?()=>pe:Array.isArray(pe)?we=>pe.includes(we.rawName):()=>!1,fe=j.map(we=>{let _e=we.getValue();return be(_e)?c(De.originalText.slice(y(_e),m(_e))):U()},"attrs"),Ie=R.type==="element"&&R.fullName==="script"&&R.attrs.length===1&&R.attrs[0].fullName==="src"&&R.children.length===0,X=De.singleAttributePerLine&&R.attrs.length>1&&!k(R,De)?o:r,se=[s([Ie?" ":r,e(X,fe)])];return R.firstChild&&b(R.firstChild)||R.isSelfClosing&&F(R.parent)||Ie?se.push(R.isSelfClosing?" ":""):se.push(De.bracketSameLine?R.isSelfClosing?" ":"":R.isSelfClosing?r:n),se}function B(j){return j.firstChild&&b(j.firstChild)?"":te(j)}function I(j,De,U){let R=j.getValue();return[q(R,De),S(j,De,U),R.isSelfClosing?"":B(R)]}function q(j,De){return j.prev&&h(j.prev)?"":[G(j,De),M(j)]}function G(j,De){return b(j)?te(j.parent):f(j)?d(j.prev,De):""}function M(j){switch(j.type){case"ieConditionalComment":case"ieConditionalStartComment":return`<${j.rawName}`;default:return`<${j.rawName}`}}function te(j){switch(t(!j.isSelfClosing),j.type){case"ieConditionalComment":return"]>";case"element":if(j.condition)return">";default:return">"}}l.exports={printClosingTag:A,printClosingTagStart:N,printClosingTagStartMarker:J,printClosingTagEndMarker:d,printClosingTagSuffix:_,printClosingTagEnd:x,needsToBorrowLastChildClosingTagEndMarker:F,needsToBorrowParentClosingTagStartMarker:i,needsToBorrowPrevClosingTagEndMarker:f,printOpeningTag:I,printOpeningTagStart:q,printOpeningTagPrefix:G,printOpeningTagStartMarker:M,printOpeningTagEndMarker:te,needsToBorrowNextOpeningTagStartMarker:h,needsToBorrowParentOpeningTagEndMarker:b}}}),jo=$({"node_modules/parse-srcset/src/parse-srcset.js"(u,l){ue(),function(t,a){typeof define=="function"&&define.amd?define([],a):typeof l=="object"&&l.exports?l.exports=a():t.parseSrcset=a()}(u,function(){return function(t,a){var s=a&&a.logger||console;function e(J){return J===" "||J===" "||J===` -`||J==="\f"||J==="\r"}function r(J){var d,T=J.exec(t.substring(N));if(T)return d=T[0],N+=d.length,d}for(var n=t.length,o=/^[ \t\n\r\u000c]+/,c=/^[, \t\n\r\u000c]+/,y=/^[^ \t\n\r\u000c]+/,m=/[,]+$/,g=/^\d+$/,p=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,D,C,w,k,A,N=0,x=[];;){if(r(c),N>=n)return x;D=r(y),C=[],D.slice(-1)===","?(D=D.replace(m,""),_()):P()}function P(){for(r(o),w="",k="in descriptor";;){if(A=t.charAt(N),k==="in descriptor")if(e(A))w&&(C.push(w),w="",k="after descriptor");else if(A===","){N+=1,w&&C.push(w),_();return}else if(A==="(")w=w+A,k="in parens";else if(A===""){w&&C.push(w),_();return}else w=w+A;else if(k==="in parens")if(A===")")w=w+A,k="in descriptor";else if(A===""){C.push(w),_();return}else w=w+A;else if(k==="after descriptor"&&!e(A))if(A===""){_();return}else k="in descriptor",N-=1;N+=1}}function _(){var J=!1,d,T,f,F,i={},h,E,b,S,B;for(F=0;F{let{w:_}=P;return _}),m=c.some(P=>{let{h:_}=P;return _}),g=c.some(P=>{let{d:_}=P;return _});if(y+m+g>1)throw new Error("Mixed descriptor in srcset is not supported");let p=y?"w":m?"h":"d",D=y?"w":m?"h":"x",C=P=>Math.max(...P),w=c.map(P=>P.url),k=C(w.map(P=>P.length)),A=c.map(P=>P[p]).map(P=>P?P.toString():""),N=A.map(P=>{let _=P.indexOf(".");return _===-1?P.length:_}),x=C(N);return s([",",e],w.map((P,_)=>{let J=[P],d=A[_];if(d){let T=k-P.length+1,f=x-N[_],F=" ".repeat(T+f);J.push(a(F," "),d+D)}return J}))}function n(o){return o.trim().split(/\s+/).join(" ")}l.exports={printImgSrcset:r,printClassNames:n}}}),Oo=$({"src/language-html/syntax-vue.js"(u,l){ue();var{builders:{group:t}}=wt();function a(n,o){let{left:c,operator:y,right:m}=s(n);return[t(o(`function _(${c}) {}`,{parser:"babel",__isVueForBindingLeft:!0}))," ",y," ",o(m,{parser:"__js_expression"},{stripTrailingHardline:!0})]}function s(n){let o=/(.*?)\s+(in|of)\s+(.*)/s,c=/,([^,\]}]*)(?:,([^,\]}]*))?$/,y=/^\(|\)$/g,m=n.match(o);if(!m)return;let g={};if(g.for=m[3].trim(),!g.for)return;let p=m[1].trim().replace(y,""),D=p.match(c);D?(g.alias=p.replace(c,""),g.iterator1=D[1].trim(),D[2]&&(g.iterator2=D[2].trim())):g.alias=p;let C=[g.alias,g.iterator1,g.iterator2];if(!C.some((w,k)=>!w&&(k===0||C.slice(k+1).some(Boolean))))return{left:C.filter(Boolean).join(","),operator:m[2],right:g.for}}function e(n,o){return o(`function _(${n}) {}`,{parser:"babel",__isVueBindings:!0})}function r(n){let o=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/,c=/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*']|\["[^"]*"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/,y=n.trim();return o.test(y)||c.test(y)}l.exports={isVueEventBindingExpression:r,printVueFor:a,printVueBindings:e}}}),Hs=$({"src/language-html/get-node-content.js"(u,l){ue();var{needsToBorrowParentClosingTagStartMarker:t,printClosingTagStartMarker:a,needsToBorrowLastChildClosingTagEndMarker:s,printClosingTagEndMarker:e,needsToBorrowParentOpeningTagEndMarker:r,printOpeningTagEndMarker:n}=hu();function o(c,y){let m=c.startSourceSpan.end.offset;c.firstChild&&r(c.firstChild)&&(m-=n(c).length);let g=c.endSourceSpan.start.offset;return c.lastChild&&t(c.lastChild)?g+=a(c,y).length:s(c)&&(g-=e(c.lastChild,y).length),y.originalText.slice(m,g)}l.exports=o}}),$o=$({"src/language-html/embed.js"(u,l){ue();var{builders:{breakParent:t,group:a,hardline:s,indent:e,line:r,fill:n,softline:o},utils:{mapDoc:c,replaceTextEndOfLine:y}}=wt(),m=cs(),{printClosingTag:g,printClosingTagSuffix:p,needsToBorrowPrevClosingTagEndMarker:D,printOpeningTagPrefix:C,printOpeningTag:w}=hu(),{printImgSrcset:k,printClassNames:A}=Lo(),{printVueFor:N,printVueBindings:x,isVueEventBindingExpression:P}=Oo(),{isScriptLikeTag:_,isVueNonHtmlBlock:J,inferScriptParser:d,htmlTrimPreserveIndentation:T,dedentString:f,unescapeQuoteEntities:F,isVueSlotAttribute:i,isVueSfcBindingsAttribute:h,getTextValueParts:E}=$n(),b=Hs();function S(I,q,G){let M=fe=>new RegExp(fe.join("|")).test(I.fullName),te=()=>F(I.value),j=!1,De=(fe,Ie)=>{let X=fe.type==="NGRoot"?fe.node.type==="NGMicrosyntax"&&fe.node.body.length===1&&fe.node.body[0].type==="NGMicrosyntaxExpression"?fe.node.body[0].expression:fe.node:fe.type==="JsExpressionRoot"?fe.node:fe;X&&(X.type==="ObjectExpression"||X.type==="ArrayExpression"||Ie.parser==="__vue_expression"&&(X.type==="TemplateLiteral"||X.type==="StringLiteral"))&&(j=!0)},U=fe=>a(fe),R=function(fe){let Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return a([e([o,fe]),Ie?o:""])},pe=fe=>j?U(fe):R(fe),be=(fe,Ie)=>q(fe,Object.assign({__onHtmlBindingRoot:De,__embeddedInHtml:!0},Ie));if(I.fullName==="srcset"&&(I.parent.fullName==="img"||I.parent.fullName==="source"))return R(k(te()));if(I.fullName==="class"&&!G.parentParser){let fe=te();if(!fe.includes("{{"))return A(fe)}if(I.fullName==="style"&&!G.parentParser){let fe=te();if(!fe.includes("{{"))return R(be(fe,{parser:"css",__isHTMLStyleAttribute:!0}))}if(G.parser==="vue"){if(I.fullName==="v-for")return N(te(),be);if(i(I)||h(I,G))return x(te(),be);let fe=["^@","^v-on:"],Ie=["^:","^v-bind:"],X=["^v-"];if(M(fe)){let se=te(),we=P(se)?"__js_expression":G.__should_parse_vue_template_with_ts?"__vue_ts_event_binding":"__vue_event_binding";return pe(be(se,{parser:we}))}if(M(Ie))return pe(be(te(),{parser:"__vue_expression"}));if(M(X))return pe(be(te(),{parser:"__js_expression"}))}if(G.parser==="angular"){let fe=(ae,Q)=>be(ae,Object.assign(Object.assign({},Q),{},{trailingComma:"none"})),Ie=["^\\*"],X=["^\\(.+\\)$","^on-"],se=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],we=["^i18n(-.+)?$"];if(M(X))return pe(fe(te(),{parser:"__ng_action"}));if(M(se))return pe(fe(te(),{parser:"__ng_binding"}));if(M(we)){let ae=te().trim();return R(n(E(I,ae)),!ae.includes("@@"))}if(M(Ie))return pe(fe(te(),{parser:"__ng_directive"}));let _e=/{{(.+?)}}/s,it=te();if(_e.test(it)){let ae=[];for(let[Q,me]of it.split(_e).entries())if(Q%2===0)ae.push(y(me));else try{ae.push(a(["{{",e([r,fe(me,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),r,"}}"]))}catch{ae.push("{{",y(me),"}}")}return a(ae)}}return null}function B(I,q,G,M){let te=I.getValue();switch(te.type){case"element":{if(_(te)||te.type==="interpolation")return;if(!te.isSelfClosing&&J(te,M)){let j=d(te,M);if(!j)return;let De=b(te,M),U=/^\s*$/.test(De),R="";return U||(R=G(T(De),{parser:j,__embeddedInHtml:!0},{stripTrailingHardline:!0}),U=R===""),[C(te,M),a(w(I,M,q)),U?"":s,R,U?"":s,g(te,M),p(te,M)]}break}case"text":{if(_(te.parent)){let j=d(te.parent,M);if(j){let De=j==="markdown"?f(te.value.replace(/^[^\S\n]*\n/,"")):te.value,U={parser:j,__embeddedInHtml:!0};if(M.parser==="html"&&j==="babel"){let R="script",{attrMap:pe}=te.parent;pe&&(pe.type==="module"||pe.type==="text/babel"&&pe["data-type"]==="module")&&(R="module"),U.__babelSourceType=R}return[t,C(te,M),G(De,U,{stripTrailingHardline:!0}),p(te,M)]}}else if(te.parent.type==="interpolation"){let j={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return M.parser==="angular"?(j.parser="__ng_interpolation",j.trailingComma="none"):M.parser==="vue"?j.parser=M.__should_parse_vue_template_with_ts?"__vue_ts_expression":"__vue_expression":j.parser="__js_expression",[e([r,G(te.value,j,{stripTrailingHardline:!0})]),te.parent.next&&D(te.parent.next)?" ":r]}break}case"attribute":{if(!te.value)break;if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(M.originalText.slice(te.valueSpan.start.offset,te.valueSpan.end.offset)))return[te.rawName,"=",te.value];if(M.parser==="lwc"&&/^{.*}$/s.test(M.originalText.slice(te.valueSpan.start.offset,te.valueSpan.end.offset)))return[te.rawName,"=",te.value];let j=S(te,(De,U)=>G(De,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},U),{stripTrailingHardline:!0}),M);if(j)return[te.rawName,'="',a(c(j,De=>typeof De=="string"?De.replace(/"/g,"""):De)),'"'];break}case"front-matter":return m(te,G)}}l.exports=B}}),Ys=$({"src/language-html/print/children.js"(u,l){ue();var{builders:{breakParent:t,group:a,ifBreak:s,line:e,softline:r,hardline:n},utils:{replaceTextEndOfLine:o}}=wt(),{locStart:c,locEnd:y}=ds(),{forceBreakChildren:m,forceNextEmptyLine:g,isTextLikeNode:p,hasPrettierIgnore:D,preferHardlineAsLeadingSpaces:C}=$n(),{printOpeningTagPrefix:w,needsToBorrowNextOpeningTagStartMarker:k,printOpeningTagStartMarker:A,needsToBorrowPrevClosingTagEndMarker:N,printClosingTagEndMarker:x,printClosingTagSuffix:P,needsToBorrowParentClosingTagStartMarker:_}=hu();function J(f,F,i){let h=f.getValue();return D(h)?[w(h,F),...o(F.originalText.slice(c(h)+(h.prev&&k(h.prev)?A(h).length:0),y(h)-(h.next&&N(h.next)?x(h,F).length:0))),P(h,F)]:i()}function d(f,F){return p(f)&&p(F)?f.isTrailingSpaceSensitive?f.hasTrailingSpaces?C(F)?n:e:"":C(F)?n:r:k(f)&&(D(F)||F.firstChild||F.isSelfClosing||F.type==="element"&&F.attrs.length>0)||f.type==="element"&&f.isSelfClosing&&N(F)?"":!F.isLeadingSpaceSensitive||C(F)||N(F)&&f.lastChild&&_(f.lastChild)&&f.lastChild.lastChild&&_(f.lastChild.lastChild)?n:F.hasLeadingSpaces?e:r}function T(f,F,i){let h=f.getValue();if(m(h))return[t,...f.map(b=>{let S=b.getValue(),B=S.prev?d(S.prev,S):"";return[B?[B,g(S.prev)?n:""]:"",J(b,F,i)]},"children")];let E=h.children.map(()=>Symbol(""));return f.map((b,S)=>{let B=b.getValue();if(p(B)){if(B.prev&&p(B.prev)){let De=d(B.prev,B);if(De)return g(B.prev)?[n,n,J(b,F,i)]:[De,J(b,F,i)]}return J(b,F,i)}let I=[],q=[],G=[],M=[],te=B.prev?d(B.prev,B):"",j=B.next?d(B,B.next):"";return te&&(g(B.prev)?I.push(n,n):te===n?I.push(n):p(B.prev)?q.push(te):q.push(s("",r,{groupId:E[S-1]}))),j&&(g(B)?p(B.next)&&M.push(n,n):j===n?p(B.next)&&M.push(n):G.push(j)),[...I,a([...q,a([J(b,F,i),...G],{id:E[S]})]),...M]},"children")}l.exports={printChildren:T}}}),Ro=$({"src/language-html/print/element.js"(u,l){ue();var{builders:{breakParent:t,dedentToRoot:a,group:s,ifBreak:e,indentIfBreak:r,indent:n,line:o,softline:c},utils:{replaceTextEndOfLine:y}}=wt(),m=Hs(),{shouldPreserveContent:g,isScriptLikeTag:p,isVueCustomBlock:D,countParents:C,forceBreakContent:w}=$n(),{printOpeningTagPrefix:k,printOpeningTag:A,printClosingTagSuffix:N,printClosingTag:x,needsToBorrowPrevClosingTagEndMarker:P,needsToBorrowLastChildClosingTagEndMarker:_}=hu(),{printChildren:J}=Ys();function d(T,f,F){let i=T.getValue();if(g(i,f))return[k(i,f),s(A(T,f,F)),...y(m(i,f)),...x(i,f),N(i,f)];let h=i.children.length===1&&i.firstChild.type==="interpolation"&&i.firstChild.isLeadingSpaceSensitive&&!i.firstChild.hasLeadingSpaces&&i.lastChild.isTrailingSpaceSensitive&&!i.lastChild.hasTrailingSpaces,E=Symbol("element-attr-group-id"),b=q=>s([s(A(T,f,F),{id:E}),q,x(i,f)]),S=q=>h?r(q,{groupId:E}):(p(i)||D(i,f))&&i.parent.type==="root"&&f.parser==="vue"&&!f.vueIndentScriptAndStyle?q:n(q),B=()=>h?e(c,"",{groupId:E}):i.firstChild.hasLeadingSpaces&&i.firstChild.isLeadingSpaceSensitive?o:i.firstChild.type==="text"&&i.isWhitespaceSensitive&&i.isIndentationSensitive?a(c):c,I=()=>(i.next?P(i.next):_(i.parent))?i.lastChild.hasTrailingSpaces&&i.lastChild.isTrailingSpaceSensitive?" ":"":h?e(c,"",{groupId:E}):i.lastChild.hasTrailingSpaces&&i.lastChild.isTrailingSpaceSensitive?o:(i.lastChild.type==="comment"||i.lastChild.type==="text"&&i.isWhitespaceSensitive&&i.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${f.tabWidth*C(T,q=>q.parent&&q.parent.type!=="root")}}$`).test(i.lastChild.value)?"":c;return i.children.length===0?b(i.hasDanglingSpaces&&i.isDanglingSpaceSensitive?o:""):b([w(i)?t:"",S([B(),J(T,f,F)]),I()])}l.exports={printElement:d}}}),Mo=$({"src/language-html/printer-html.js"(u,l){ue();var{builders:{fill:t,group:a,hardline:s,literalline:e},utils:{cleanDoc:r,getDocParts:n,isConcat:o,replaceTextEndOfLine:c}}=wt(),y=So(),{countChars:m,unescapeQuoteEntities:g,getTextValueParts:p}=$n(),D=Po(),{insertPragma:C}=Io(),{locStart:w,locEnd:k}=ds(),A=$o(),{printClosingTagSuffix:N,printClosingTagEnd:x,printOpeningTagPrefix:P,printOpeningTagStart:_}=hu(),{printElement:J}=Ro(),{printChildren:d}=Ys();function T(f,F,i){let h=f.getValue();switch(h.type){case"front-matter":return c(h.raw);case"root":return F.__onHtmlRoot&&F.__onHtmlRoot(h),[a(d(f,F,i)),s];case"element":case"ieConditionalComment":return J(f,F,i);case"ieConditionalStartComment":case"ieConditionalEndComment":return[_(h),x(h)];case"interpolation":return[_(h,F),...f.map(i,"children"),x(h,F)];case"text":{if(h.parent.type==="interpolation"){let b=/\n[^\S\n]*$/,S=b.test(h.value),B=S?h.value.replace(b,""):h.value;return[...c(B),S?s:""]}let E=r([P(h,F),...p(h),N(h,F)]);return o(E)||E.type==="fill"?t(n(E)):E}case"docType":return[a([_(h,F)," ",h.value.replace(/^html\b/i,"html").replace(/\s+/g," ")]),x(h,F)];case"comment":return[P(h,F),...c(F.originalText.slice(w(h),k(h)),e),N(h,F)];case"attribute":{if(h.value===null)return h.rawName;let E=g(h.value),b=m(E,"'"),S=m(E,'"'),B=b({name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]})),t(fs(),o=>({since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:[...o.extensions,".mjml"]})),t(fs(),()=>({name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]})),t(Uo(),()=>({since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]}))],n={html:a};l.exports={languages:r,printers:n,options:s,parsers:e}}}),Jo=$({"src/language-yaml/pragma.js"(u,l){ue();function t(e){return/^\s*@(?:prettier|format)\s*$/.test(e)}function a(e){return/^\s*#[^\S\n]*@(?:prettier|format)\s*?(?:\n|$)/.test(e)}function s(e){return`# @format - -${e}`}l.exports={isPragma:t,hasPragma:a,insertPragma:s}}}),Xo=$({"src/language-yaml/loc.js"(u,l){ue();function t(s){return s.position.start.offset}function a(s){return s.position.end.offset}l.exports={locStart:t,locEnd:a}}}),Wo=$({"src/language-yaml/embed.js"(u,l){ue();function t(a,s,e,r){if(a.getValue().type==="root"&&r.filepath&&/(?:[/\\]|^)\.(?:prettier|stylelint|lintstaged)rc$/.test(r.filepath))return e(r.originalText,Object.assign(Object.assign({},r),{},{parser:"json"}))}l.exports=t}}),Rn=$({"src/language-yaml/utils.js"(u,l){ue();var{getLast:t,isNonEmptyArray:a}=Gt();function s(d,T){let f=0,F=d.stack.length-1;for(let i=0;ir(F,T,d))}):d,f)}function n(d,T,f){Object.defineProperty(d,T,{get:f,enumerable:!1})}function o(d,T){let f=0,F=T.length;for(let i=d.position.end.offset-1;ih===0&&h===E.length-1?i:h!==0&&h!==E.length-1?i.trim():h===0?i.trimEnd():i.trimStart());return f.proseWrap==="preserve"?F.map(i=>i.length===0?[]:[i]):F.map(i=>i.length===0?[]:x(i)).reduce((i,h,E)=>E!==0&&F[E-1].length>0&&h.length>0&&!(d==="quoteDouble"&&t(t(i)).endsWith("\\"))?[...i.slice(0,-1),[...t(i),...h]]:[...i,h],[]).map(i=>f.proseWrap==="never"?[i.join(" ")]:i)}function _(d,T){let{parentIndent:f,isLastDescendant:F,options:i}=T,h=d.position.start.line===d.position.end.line?"":i.originalText.slice(d.position.start.offset,d.position.end.offset).match(/^[^\n]*\n(.*)$/s)[1],E;if(d.indent===null){let B=h.match(/^(? *)[^\n\r ]/m);E=B?B.groups.leadingSpace.length:Number.POSITIVE_INFINITY}else E=d.indent-1+f;let b=h.split(` -`).map(B=>B.slice(E));if(i.proseWrap==="preserve"||d.type==="blockLiteral")return S(b.map(B=>B.length===0?[]:[B]));return S(b.map(B=>B.length===0?[]:x(B)).reduce((B,I,q)=>q!==0&&b[q-1].length>0&&I.length>0&&!/^\s/.test(I[0])&&!/^\s|\s$/.test(t(B))?[...B.slice(0,-1),[...t(B),...I]]:[...B,I],[]).map(B=>B.reduce((I,q)=>I.length>0&&/\s$/.test(t(I))?[...I.slice(0,-1),t(I)+" "+q]:[...I,q],[])).map(B=>i.proseWrap==="never"?[B.join(" ")]:B));function S(B){if(d.chomping==="keep")return t(B).length===0?B.slice(0,-1):B;let I=0;for(let q=B.length-1;q>=0&&B[q].length===0;q--)I++;return I===0?B:I>=2&&!F?B.slice(0,-(I-1)):B.slice(0,-I)}}function J(d){if(!d)return!0;switch(d.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}}l.exports={getLast:t,getAncestorCount:s,isNode:e,isEmptyNode:p,isInlineNode:J,mapNode:r,defineShortcut:n,isNextLineEmpty:o,isLastDescendantNode:c,getBlockValueLineContents:_,getFlowScalarLineContents:P,getLastDescendantNode:y,hasPrettierIgnore:g,hasLeadingComments:C,hasMiddleComments:w,hasIndicatorComment:k,hasTrailingComment:A,hasEndComments:N}}}),zo=$({"src/language-yaml/print-preprocess.js"(u,l){ue();var{defineShortcut:t,mapNode:a}=Rn();function s(r){return a(r,e)}function e(r){switch(r.type){case"document":t(r,"head",()=>r.children[0]),t(r,"body",()=>r.children[1]);break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":t(r,"content",()=>r.children[0]);break;case"mappingItem":case"flowMappingItem":t(r,"key",()=>r.children[0]),t(r,"value",()=>r.children[1]);break}return r}l.exports=s}}),ni=$({"src/language-yaml/print/misc.js"(u,l){ue();var{builders:{softline:t,align:a}}=wt(),{hasEndComments:s,isNextLineEmpty:e,isNode:r}=Rn(),n=new WeakMap;function o(m,g){let p=m.getValue(),D=m.stack[0],C;return n.has(D)?C=n.get(D):(C=new Set,n.set(D,C)),!C.has(p.position.end.line)&&(C.add(p.position.end.line),e(p,g)&&!c(m.getParentNode()))?t:""}function c(m){return s(m)&&!r(m,["documentHead","documentBody","flowMapping","flowSequence"])}function y(m,g){return a(" ".repeat(m),g)}l.exports={alignWithSpaces:y,shouldPrintEndComments:c,printNextEmptyLine:o}}}),Ho=$({"src/language-yaml/print/flow-mapping-sequence.js"(u,l){ue();var{builders:{ifBreak:t,line:a,softline:s,hardline:e,join:r}}=wt(),{isEmptyNode:n,getLast:o,hasEndComments:c}=Rn(),{printNextEmptyLine:y,alignWithSpaces:m}=ni();function g(D,C,w){let k=D.getValue(),A=k.type==="flowMapping",N=A?"{":"[",x=A?"}":"]",P=s;A&&k.children.length>0&&w.bracketSpacing&&(P=a);let _=o(k.children),J=_&&_.type==="flowMappingItem"&&n(_.key)&&n(_.value);return[N,m(w.tabWidth,[P,p(D,C,w),w.trailingComma==="none"?"":t(","),c(k)?[e,r(e,D.map(C,"endComments"))]:""]),J?"":P,x]}function p(D,C,w){let k=D.getValue();return D.map((A,N)=>[C(),N===k.children.length-1?"":[",",a,k.children[N].position.start.line!==k.children[N+1].position.start.line?y(A,w.originalText):""]],"children")}l.exports={printFlowMapping:g,printFlowSequence:g}}}),Yo=$({"src/language-yaml/print/mapping-item.js"(u,l){ue();var{builders:{conditionalGroup:t,group:a,hardline:s,ifBreak:e,join:r,line:n}}=wt(),{hasLeadingComments:o,hasMiddleComments:c,hasTrailingComment:y,hasEndComments:m,isNode:g,isEmptyNode:p,isInlineNode:D}=Rn(),{alignWithSpaces:C}=ni();function w(x,P,_,J,d){let{key:T,value:f}=x,F=p(T),i=p(f);if(F&&i)return": ";let h=J("key"),E=A(x)?" ":"";if(i)return x.type==="flowMappingItem"&&P.type==="flowMapping"?h:x.type==="mappingItem"&&k(T.content,d)&&!y(T.content)&&(!P.tag||P.tag.value!=="tag:yaml.org,2002:set")?[h,E,":"]:["? ",C(2,h)];let b=J("value");if(F)return[": ",C(2,b)];if(o(f)||!D(T.content))return["? ",C(2,h),s,r("",_.map(J,"value","leadingComments").map(M=>[M,s])),": ",C(2,b)];if(N(T.content)&&!o(T.content)&&!c(T.content)&&!y(T.content)&&!m(T)&&!o(f.content)&&!c(f.content)&&!m(f)&&k(f.content,d))return[h,E,": ",b];let S=Symbol("mappingKey"),B=a([e("? "),a(C(2,h),{id:S})]),I=[s,": ",C(2,b)],q=[E,":"];o(f.content)||m(f)&&f.content&&!g(f.content,["mapping","sequence"])||P.type==="mapping"&&y(T.content)&&D(f.content)||g(f.content,["mapping","sequence"])&&f.content.tag===null&&f.content.anchor===null?q.push(s):f.content&&q.push(n),q.push(b);let G=C(d.tabWidth,q);return k(T.content,d)&&!o(T.content)&&!c(T.content)&&!m(T)?t([[h,G]]):t([[B,e(I,G,{groupId:S})]])}function k(x,P){if(!x)return!0;switch(x.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if(P.proseWrap==="preserve")return x.position.start.line===x.position.end.line;if(/\\$/m.test(P.originalText.slice(x.position.start.offset,x.position.end.offset)))return!1;switch(P.proseWrap){case"never":return!x.value.includes(` -`);case"always":return!/[\n ]/.test(x.value);default:return!1}}function A(x){return x.key.content&&x.key.content.type==="alias"}function N(x){if(!x)return!0;switch(x.type){case"plain":case"quoteDouble":case"quoteSingle":return x.position.start.line===x.position.end.line;case"alias":return!0;default:return!1}}l.exports=w}}),Ko=$({"src/language-yaml/print/block.js"(u,l){ue();var{builders:{dedent:t,dedentToRoot:a,fill:s,hardline:e,join:r,line:n,literalline:o,markAsRoot:c},utils:{getDocParts:y}}=wt(),{getAncestorCount:m,getBlockValueLineContents:g,hasIndicatorComment:p,isLastDescendantNode:D,isNode:C}=Rn(),{alignWithSpaces:w}=ni();function k(A,N,x){let P=A.getValue(),_=m(A,F=>C(F,["sequence","mapping"])),J=D(A),d=[P.type==="blockFolded"?">":"|"];P.indent!==null&&d.push(P.indent.toString()),P.chomping!=="clip"&&d.push(P.chomping==="keep"?"+":"-"),p(P)&&d.push(" ",N("indicatorComment"));let T=g(P,{parentIndent:_,isLastDescendant:J,options:x}),f=[];for(let[F,i]of T.entries())F===0&&f.push(e),f.push(s(y(r(n,i)))),F!==T.length-1?f.push(i.length===0?e:c(o)):P.chomping==="keep"&&J&&f.push(a(i.length===0?e:o));return P.indent===null?d.push(t(w(x.tabWidth,f))):d.push(a(w(P.indent-1+_,f))),d}l.exports=k}}),Qo=$({"src/language-yaml/printer-yaml.js"(u,l){ue();var{builders:{breakParent:t,fill:a,group:s,hardline:e,join:r,line:n,lineSuffix:o,literalline:c},utils:{getDocParts:y,replaceTextEndOfLine:m}}=wt(),{isPreviousLineEmpty:g}=Gt(),{insertPragma:p,isPragma:D}=Jo(),{locStart:C}=Xo(),w=Wo(),{getFlowScalarLineContents:k,getLastDescendantNode:A,hasLeadingComments:N,hasMiddleComments:x,hasTrailingComment:P,hasEndComments:_,hasPrettierIgnore:J,isLastDescendantNode:d,isNode:T,isInlineNode:f}=Rn(),F=zo(),{alignWithSpaces:i,printNextEmptyLine:h,shouldPrintEndComments:E}=ni(),{printFlowMapping:b,printFlowSequence:S}=Ho(),B=Yo(),I=Ko();function q(R,pe,be){let fe=R.getValue(),Ie=[];fe.type!=="mappingValue"&&N(fe)&&Ie.push([r(e,R.map(be,"leadingComments")),e]);let{tag:X,anchor:se}=fe;X&&Ie.push(be("tag")),X&&se&&Ie.push(" "),se&&Ie.push(be("anchor"));let we="";T(fe,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!d(R)&&(we=h(R,pe.originalText)),(X||se)&&(T(fe,["sequence","mapping"])&&!x(fe)?Ie.push(e):Ie.push(" ")),x(fe)&&Ie.push([fe.middleComments.length===1?"":e,r(e,R.map(be,"middleComments")),e]);let _e=R.getParentNode();return J(R)?Ie.push(m(pe.originalText.slice(fe.position.start.offset,fe.position.end.offset).trimEnd(),c)):Ie.push(s(G(fe,_e,R,pe,be))),P(fe)&&!T(fe,["document","documentHead"])&&Ie.push(o([fe.type==="mappingValue"&&!fe.content?"":" ",_e.type==="mappingKey"&&R.getParentNode(2).type==="mapping"&&f(fe)?"":t,be("trailingComment")])),E(fe)&&Ie.push(i(fe.type==="sequenceItem"?2:0,[e,r(e,R.map(it=>[g(pe.originalText,it.getValue(),C)?e:"",be()],"endComments"))])),Ie.push(we),Ie}function G(R,pe,be,fe,Ie){switch(R.type){case"root":{let{children:X}=R,se=[];be.each((_e,it)=>{let ae=X[it],Q=X[it+1];it!==0&&se.push(e),se.push(Ie()),te(ae,Q)?(se.push(e,"..."),P(ae)&&se.push(" ",Ie("trailingComment"))):Q&&!P(Q.head)&&se.push(e,"---")},"children");let we=A(R);return(!T(we,["blockLiteral","blockFolded"])||we.chomping!=="keep")&&se.push(e),se}case"document":{let X=pe.children[be.getName()+1],se=[];return j(R,X,pe,fe)==="head"&&((R.head.children.length>0||R.head.endComments.length>0)&&se.push(Ie("head")),P(R.head)?se.push(["---"," ",Ie(["head","trailingComment"])]):se.push("---")),M(R)&&se.push(Ie("body")),r(e,se)}case"documentHead":return r(e,[...be.map(Ie,"children"),...be.map(Ie,"endComments")]);case"documentBody":{let{children:X,endComments:se}=R,we="";if(X.length>0&&se.length>0){let _e=A(R);T(_e,["blockFolded","blockLiteral"])?_e.chomping!=="keep"&&(we=[e,e]):we=e}return[r(e,be.map(Ie,"children")),we,r(e,be.map(Ie,"endComments"))]}case"directive":return["%",r(" ",[R.name,...R.parameters])];case"comment":return["#",R.value];case"alias":return["*",R.value];case"tag":return fe.originalText.slice(R.position.start.offset,R.position.end.offset);case"anchor":return["&",R.value];case"plain":return De(R.type,fe.originalText.slice(R.position.start.offset,R.position.end.offset),fe);case"quoteDouble":case"quoteSingle":{let X="'",se='"',we=fe.originalText.slice(R.position.start.offset+1,R.position.end.offset-1);if(R.type==="quoteSingle"&&we.includes("\\")||R.type==="quoteDouble"&&/\\[^"]/.test(we)){let it=R.type==="quoteDouble"?se:X;return[it,De(R.type,we,fe),it]}if(we.includes(se))return[X,De(R.type,R.type==="quoteDouble"?we.replace(/\\"/g,se).replace(/'/g,X.repeat(2)):we,fe),X];if(we.includes(X))return[se,De(R.type,R.type==="quoteSingle"?we.replace(/''/g,X):we,fe),se];let _e=fe.singleQuote?X:se;return[_e,De(R.type,we,fe),_e]}case"blockFolded":case"blockLiteral":return I(be,Ie,fe);case"mapping":case"sequence":return r(e,be.map(Ie,"children"));case"sequenceItem":return["- ",i(2,R.content?Ie("content"):"")];case"mappingKey":case"mappingValue":return R.content?Ie("content"):"";case"mappingItem":case"flowMappingItem":return B(R,pe,be,Ie,fe);case"flowMapping":return b(be,Ie,fe);case"flowSequence":return S(be,Ie,fe);case"flowSequenceItem":return Ie("content");default:throw new Error(`Unexpected node type ${R.type}`)}}function M(R){return R.body.children.length>0||_(R.body)}function te(R,pe){return P(R)||pe&&(pe.head.children.length>0||_(pe.head))}function j(R,pe,be,fe){return be.children[0]===R&&/---(?:\s|$)/.test(fe.originalText.slice(C(R),C(R)+4))||R.head.children.length>0||_(R.head)||P(R.head)?"head":te(R,pe)?!1:pe?"root":!1}function De(R,pe,be){let fe=k(R,pe,be);return r(e,fe.map(Ie=>a(y(r(n,Ie)))))}function U(R,pe){if(T(pe))switch(delete pe.position,pe.type){case"comment":if(D(pe.value))return null;break;case"quoteDouble":case"quoteSingle":pe.type="quote";break}}l.exports={preprocess:F,embed:w,print:q,massageAstNode:U,insertPragma:p}}}),Zo=$({"src/language-yaml/options.js"(u,l){ue();var t=On();l.exports={bracketSpacing:t.bracketSpacing,singleQuote:t.singleQuote,proseWrap:t.proseWrap}}}),el=$({"src/language-yaml/parsers.js"(){ue()}}),tl=$({"node_modules/linguist-languages/data/YAML.json"(u,l){l.exports={name:"YAML",type:"data",color:"#cb171e",tmScope:"source.yaml",aliases:["yml"],extensions:[".yml",".mir",".reek",".rviz",".sublime-syntax",".syntax",".yaml",".yaml-tmlanguage",".yaml.sed",".yml.mysql"],filenames:[".clang-format",".clang-tidy",".gemrc","CITATION.cff","glide.lock","yarn.lock"],aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:407}}}),rl=$({"src/language-yaml/index.js"(u,l){ue();var t=vr(),a=Qo(),s=Zo(),e=el(),r=[t(tl(),n=>({since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"],filenames:[...n.filenames.filter(o=>o!=="yarn.lock"),".prettierrc",".stylelintrc",".lintstagedrc"]}))];l.exports={languages:r,printers:{yaml:a},options:s,parsers:e}}}),nl=$({"src/languages.js"(u,l){ue(),l.exports=[La(),eo(),oo(),ho(),bo(),Go(),rl()]}});ue();var{version:ul}=yr(),Mn=Yu(),{getSupportInfo:il}=nu(),sl=Ku(),al=nl(),ol=wt();function bn(u){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return function(){for(var t=arguments.length,a=new Array(t),s=0;sJr===!1?Xr:Jr==="dedent"||Jr===!0?ml(Xr):fl.default.format(Xr,{parser:Jr,plugins:[dl.default],htmlWhitespaceSensitivity:"ignore"}).trim());export{Sl as formatter}; diff --git a/assets/global-styles.stories-WBVBN3la.js b/assets/global-styles.stories-jLux7kT3.js similarity index 68% rename from assets/global-styles.stories-WBVBN3la.js rename to assets/global-styles.stories-jLux7kT3.js index 13c2b460..f1806a9d 100644 --- a/assets/global-styles.stories-WBVBN3la.js +++ b/assets/global-styles.stories-jLux7kT3.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-vNq4Oc-g.js";import{T as l}from"./table-unvirtualized-vnrE_Od8.js";import"./index-4g5l5LRQ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./class-names-J070TWId.js";import"./spinner-E2xQXJan.js";const B={title:"Global CSS Style Classes"},a={render:()=>e.jsxs("div",{className:"flex flex-col gap-4",children:[e.jsx("h3",{className:"headline-700",children:"Headline Styles"}),e.jsxs(l,{children:[e.jsx(l.Header,{children:e.jsxs(l.Header.Row,{children:[e.jsx(l.Header.Cell,{children:"ClassName"}),e.jsx(l.Header.Cell,{children:"Example"})]})}),e.jsxs(l.Body,{children:[e.jsxs(l.Body.Row,{children:[e.jsx(l.Body.Cell,{children:e.jsx("pre",{children:"headline-100"})}),e.jsx(l.Body.Cell,{children:e.jsx("h1",{className:"headline-100",children:"The quick brown fox jumps over the lazy dog"})})]}),e.jsxs(l.Body.Row,{children:[e.jsx(l.Body.Cell,{children:e.jsx("pre",{children:"headline-200"})}),e.jsx(l.Body.Cell,{children:e.jsx("h1",{className:"headline-200",children:"The quick brown fox jumps over the lazy dog"})})]}),e.jsxs(l.Body.Row,{children:[e.jsx(l.Body.Cell,{children:e.jsx("pre",{children:"headline-300"})}),e.jsx(l.Body.Cell,{children:e.jsx("h1",{className:"headline-300",children:"The quick brown fox jumps over the lazy dog"})})]}),e.jsxs(l.Body.Row,{children:[e.jsx(l.Body.Cell,{children:e.jsx("pre",{children:"headline-400"})}),e.jsx(l.Body.Cell,{children:e.jsx("h1",{className:"headline-400",children:"The quick brown fox jumps over the lazy dog"})})]}),e.jsxs(l.Body.Row,{children:[e.jsx(l.Body.Cell,{children:e.jsx("pre",{children:"headline-500"})}),e.jsx(l.Body.Cell,{children:e.jsx("h1",{className:"headline-500",children:"The quick brown fox jumps over the lazy dog"})})]}),e.jsxs(l.Body.Row,{children:[e.jsx(l.Body.Cell,{children:e.jsx("pre",{children:"headline-600"})}),e.jsx(l.Body.Cell,{children:e.jsx("h1",{className:"headline-600",children:"The quick brown fox jumps over the lazy dog"})})]}),e.jsxs(l.Body.Row,{children:[e.jsx(l.Body.Cell,{children:e.jsx("pre",{children:"headline-700"})}),e.jsx(l.Body.Cell,{children:e.jsx("h1",{className:"headline-700",children:"The quick brown fox jumps over the lazy dog"})})]}),e.jsxs(l.Body.Row,{children:[e.jsx(l.Body.Cell,{children:e.jsx("pre",{children:"headline-800"})}),e.jsx(l.Body.Cell,{children:e.jsx("h1",{className:"headline-800",children:"The quick brown fox jumps over the lazy dog"})})]}),e.jsxs(l.Body.Row,{children:[e.jsx(l.Body.Cell,{children:e.jsx("pre",{children:"headline-900"})}),e.jsx(l.Body.Cell,{children:e.jsx("h1",{className:"headline-900",children:"The quick brown fox jumps over the lazy dog"})})]})]})]})]})},n={render:()=>e.jsxs("div",{className:"flex flex-col gap-4",children:[e.jsx("h3",{className:"headline-700",children:"Paragraph Styles"}),e.jsxs(l,{children:[e.jsx(l.Header,{children:e.jsxs(l.Header.Row,{children:[e.jsx(l.Header.Cell,{children:"ClassName"}),e.jsx(l.Header.Cell,{children:"Example"})]})}),e.jsxs(l.Body,{children:[e.jsxs(l.Body.Row,{children:[e.jsx(l.Body.Cell,{children:e.jsx("pre",{children:"paragraph-100"})}),e.jsx(l.Body.Cell,{children:e.jsx("p",{className:"paragraph-100",children:"The quick brown fox jumps over the lazy dog"})})]}),e.jsxs(l.Body.Row,{children:[e.jsx(l.Body.Cell,{children:e.jsx("pre",{children:"paragraph-200"})}),e.jsx(l.Body.Cell,{children:e.jsx("p",{className:"paragraph-200",children:"The quick brown fox jumps over the lazy dog"})})]}),e.jsxs(l.Body.Row,{children:[e.jsx(l.Body.Cell,{children:e.jsx("pre",{children:"paragraph-300"})}),e.jsx(l.Body.Cell,{children:e.jsx("p",{className:"paragraph-300",children:"The quick brown fox jumps over the lazy dog"})})]})]})]})]})},d={render:()=>e.jsxs("div",{className:"flex flex-col gap-4",children:[e.jsx("h3",{className:"headline-700 font-mono",children:"inline-link"}),e.jsxs("p",{className:"paragraph-200",children:[e.jsx("a",{href:"https://abusix.com",className:"inline-link",children:"Be or not to be,"})," ","that is the question: Whether ’tis nobler in the mind to suffer The slings and arrows of outrageous fortune, …"]})]})};var r,i,o;a.parameters={...a.parameters,docs:{...(r=a.parameters)==null?void 0:r.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-DtaoT6pD.js";import{T as l}from"./table-unvirtualized-497IaBMw.js";import"./index-OjgoNOWw.js";import"./class-names-xhKKfcKT.js";import"./spinner-wMFQnwL5.js";const z={title:"Global CSS Style Classes"},a={render:()=>e.jsxs("div",{className:"flex flex-col gap-4",children:[e.jsx("h3",{className:"headline-700",children:"Headline Styles"}),e.jsxs(l,{children:[e.jsx(l.Header,{children:e.jsxs(l.Header.Row,{children:[e.jsx(l.Header.Cell,{children:"ClassName"}),e.jsx(l.Header.Cell,{children:"Example"})]})}),e.jsxs(l.Body,{children:[e.jsxs(l.Body.Row,{children:[e.jsx(l.Body.Cell,{children:e.jsx("pre",{children:"headline-100"})}),e.jsx(l.Body.Cell,{children:e.jsx("h1",{className:"headline-100",children:"The quick brown fox jumps over the lazy dog"})})]}),e.jsxs(l.Body.Row,{children:[e.jsx(l.Body.Cell,{children:e.jsx("pre",{children:"headline-200"})}),e.jsx(l.Body.Cell,{children:e.jsx("h1",{className:"headline-200",children:"The quick brown fox jumps over the lazy dog"})})]}),e.jsxs(l.Body.Row,{children:[e.jsx(l.Body.Cell,{children:e.jsx("pre",{children:"headline-300"})}),e.jsx(l.Body.Cell,{children:e.jsx("h1",{className:"headline-300",children:"The quick brown fox jumps over the lazy dog"})})]}),e.jsxs(l.Body.Row,{children:[e.jsx(l.Body.Cell,{children:e.jsx("pre",{children:"headline-400"})}),e.jsx(l.Body.Cell,{children:e.jsx("h1",{className:"headline-400",children:"The quick brown fox jumps over the lazy dog"})})]}),e.jsxs(l.Body.Row,{children:[e.jsx(l.Body.Cell,{children:e.jsx("pre",{children:"headline-500"})}),e.jsx(l.Body.Cell,{children:e.jsx("h1",{className:"headline-500",children:"The quick brown fox jumps over the lazy dog"})})]}),e.jsxs(l.Body.Row,{children:[e.jsx(l.Body.Cell,{children:e.jsx("pre",{children:"headline-600"})}),e.jsx(l.Body.Cell,{children:e.jsx("h1",{className:"headline-600",children:"The quick brown fox jumps over the lazy dog"})})]}),e.jsxs(l.Body.Row,{children:[e.jsx(l.Body.Cell,{children:e.jsx("pre",{children:"headline-700"})}),e.jsx(l.Body.Cell,{children:e.jsx("h1",{className:"headline-700",children:"The quick brown fox jumps over the lazy dog"})})]}),e.jsxs(l.Body.Row,{children:[e.jsx(l.Body.Cell,{children:e.jsx("pre",{children:"headline-800"})}),e.jsx(l.Body.Cell,{children:e.jsx("h1",{className:"headline-800",children:"The quick brown fox jumps over the lazy dog"})})]}),e.jsxs(l.Body.Row,{children:[e.jsx(l.Body.Cell,{children:e.jsx("pre",{children:"headline-900"})}),e.jsx(l.Body.Cell,{children:e.jsx("h1",{className:"headline-900",children:"The quick brown fox jumps over the lazy dog"})})]})]})]})]})},n={render:()=>e.jsxs("div",{className:"flex flex-col gap-4",children:[e.jsx("h3",{className:"headline-700",children:"Paragraph Styles"}),e.jsxs(l,{children:[e.jsx(l.Header,{children:e.jsxs(l.Header.Row,{children:[e.jsx(l.Header.Cell,{children:"ClassName"}),e.jsx(l.Header.Cell,{children:"Example"})]})}),e.jsxs(l.Body,{children:[e.jsxs(l.Body.Row,{children:[e.jsx(l.Body.Cell,{children:e.jsx("pre",{children:"paragraph-100"})}),e.jsx(l.Body.Cell,{children:e.jsx("p",{className:"paragraph-100",children:"The quick brown fox jumps over the lazy dog"})})]}),e.jsxs(l.Body.Row,{children:[e.jsx(l.Body.Cell,{children:e.jsx("pre",{children:"paragraph-200"})}),e.jsx(l.Body.Cell,{children:e.jsx("p",{className:"paragraph-200",children:"The quick brown fox jumps over the lazy dog"})})]}),e.jsxs(l.Body.Row,{children:[e.jsx(l.Body.Cell,{children:e.jsx("pre",{children:"paragraph-300"})}),e.jsx(l.Body.Cell,{children:e.jsx("p",{className:"paragraph-300",children:"The quick brown fox jumps over the lazy dog"})})]})]})]})]})},d={render:()=>e.jsxs("div",{className:"flex flex-col gap-4",children:[e.jsx("h3",{className:"headline-700 font-mono",children:"inline-link"}),e.jsxs("p",{className:"paragraph-200",children:[e.jsx("a",{href:"https://abusix.com",className:"inline-link",children:"Be or not to be,"})," ","that is the question: Whether ’tis nobler in the mind to suffer The slings and arrows of outrageous fortune, …"]})]})};var r,i,o;a.parameters={...a.parameters,docs:{...(r=a.parameters)==null?void 0:r.docs,source:{originalSource:`{ render: () =>

Headline Styles

@@ -172,4 +172,4 @@ import{j as e}from"./jsx-runtime-vNq4Oc-g.js";import{T as l}from"./table-unvirtu arrows of outrageous fortune, …

-}`,...(y=(u=d.parameters)==null?void 0:u.docs)==null?void 0:y.source}}};const j=["Headlines","Paragraphs","InlineLink"];export{a as Headlines,d as InlineLink,n as Paragraphs,j as __namedExportsOrder,B as default}; +}`,...(y=(u=d.parameters)==null?void 0:u.docs)==null?void 0:y.source}}};const B=["Headlines","Paragraphs","InlineLink"];export{a as Headlines,d as InlineLink,n as Paragraphs,B as __namedExportsOrder,z as default}; diff --git a/assets/hidden-qqzWvBMn.js b/assets/hidden-io_QVhfh.js similarity index 88% rename from assets/hidden-qqzWvBMn.js rename to assets/hidden-io_QVhfh.js index 213fde07..44e30778 100644 --- a/assets/hidden-qqzWvBMn.js +++ b/assets/hidden-io_QVhfh.js @@ -1 +1 @@ -import{D as r,X as n}from"./render-w54E0F54.js";let a="div";var l=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(l||{});function p(e,d){let{features:i=1,...o}=e,t={ref:d,"aria-hidden":(i&2)===2?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(i&4)===4&&(i&2)!==2&&{display:"none"}}};return n({ourProps:t,theirProps:o,slot:{},defaultTag:a,name:"Hidden"})}let f=r(p);export{f as c,l as p}; +import{D as r,X as n}from"./render--CnTCjM4.js";let a="div";var l=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(l||{});function p(e,d){let{features:i=1,...o}=e,t={ref:d,"aria-hidden":(i&2)===2?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(i&4)===4&&(i&2)!==2&&{display:"none"}}};return n({ourProps:t,theirProps:o,slot:{},defaultTag:a,name:"Hidden"})}let f=r(p);export{f as c,l as p}; diff --git a/assets/icon-button-4gxnxrGR.js b/assets/icon-button-4gxnxrGR.js new file mode 100644 index 00000000..4dd3e881 --- /dev/null +++ b/assets/icon-button-4gxnxrGR.js @@ -0,0 +1 @@ +import{j as e}from"./jsx-runtime-DtaoT6pD.js";import{c as s}from"./class-names-xhKKfcKT.js";const d={primary:"bg-primary-500 text-neutral-0 hover:bg-primary-600 active:bg-primary-600 focus:ring-2 focus:ring-primary-200 focus:bg-primary-600 disabled:bg-primary-200 fill-neutral-0",secondary:"bg-neutral-0 text-neutral-600 border border-neutral-400 hover:border-neutral-600 hover:text-neutral-700 active:bg-neutral-100 active:text-neutral-700 focus:ring-2 focus:ring-primary-200 disabled:border-neutral-300 disabled:text-neutral-400 disabled:bg-neutral-0 fill-neutral-600",minimal:"text-neutral-600 hover:text-neutral-700 hover:bg-neutral-100 active:bg-neutral-200 active:text-neutral-700 focus:ring-2 focus:ring-primary-200 focus:bg-neutral-50 disabled:text-neutral-400 disabled:bg-transparent fill-neutral-600",danger:"bg-danger-500 text-neutral-0 hover:bg-danger-600 active:bg-danger-700 focus:ring-2 focus:ring-danger-100 focus:bg-danger-600 disabled:bg-danger-100 fill-neutral-0","danger-secondary":"bg-neutral-0 text-danger-500 border border-danger-500 hover:bg-danger-50 hover:text-danger-600 active:border-danger-700 active:text-danger-700 active:bg-danger-100 focus:ring-2 focus:ring-danger-100 focus:text-danger-600 disabled:border-danger-100 disabled:text-danger-100 disabled:bg-neutral-0 fill-danger-600"},o=({Icon:r,onClick:a,disabled:t=!1,type:n="primary",className:i,ariaLabel:l})=>e.jsx("button",{type:"button","aria-label":l,className:s("inline-flex h-8 w-8 flex-shrink-0 items-center justify-center rounded focus:outline-none",d[n],i),onClick:a,disabled:t,children:e.jsx(r,{className:"h-3 w-3"})});o.__docgenInfo={description:"",methods:[],displayName:"IconButton",props:{Icon:{required:!0,tsType:{name:"ReactElementType",raw:"React.ElementType"},description:""},type:{required:!1,tsType:{name:"union",raw:"keyof typeof iconButtonVariants",elements:[{name:"literal",value:"primary"},{name:"literal",value:"secondary"},{name:"literal",value:"minimal"},{name:"literal",value:"danger"},{name:"literal",value:'"danger-secondary"'}]},description:"",defaultValue:{value:'"primary"',computed:!1}},onClick:{required:!0,tsType:{name:"signature",type:"function",raw:"() => void",signature:{arguments:[],return:{name:"void"}}},description:""},disabled:{required:!1,tsType:{name:"boolean"},description:"",defaultValue:{value:"false",computed:!1}},className:{required:!1,tsType:{name:"string"},description:""},ariaLabel:{required:!1,tsType:{name:"string"},description:""}}};export{o as I}; diff --git a/assets/icon-button-Y3-3TFK6.js b/assets/icon-button-Y3-3TFK6.js deleted file mode 100644 index f89685c9..00000000 --- a/assets/icon-button-Y3-3TFK6.js +++ /dev/null @@ -1 +0,0 @@ -import{j as a}from"./jsx-runtime-vNq4Oc-g.js";import{c as u}from"./class-names-J070TWId.js";const o={primary:"bg-primary-500 text-neutral-0 hover:bg-primary-600 active:bg-primary-600 focus:ring-2 focus:ring-primary-200 focus:bg-primary-600 disabled:bg-primary-200 fill-neutral-0",secondary:"bg-neutral-0 text-neutral-600 border border-neutral-400 hover:border-neutral-600 hover:text-neutral-700 active:bg-neutral-100 active:text-neutral-700 focus:ring-2 focus:ring-primary-200 disabled:border-neutral-300 disabled:text-neutral-400 disabled:bg-neutral-0 fill-neutral-600",minimal:"text-neutral-600 hover:text-neutral-700 hover:bg-neutral-100 active:bg-neutral-200 active:text-neutral-700 focus:ring-2 focus:ring-primary-200 focus:bg-neutral-50 disabled:text-neutral-400 disabled:bg-transparent fill-neutral-600",danger:"bg-danger-500 text-neutral-0 hover:bg-danger-600 active:bg-danger-700 focus:ring-2 focus:ring-danger-100 focus:bg-danger-600 disabled:bg-danger-100 fill-neutral-0","danger-secondary":"bg-neutral-0 text-danger-500 border border-danger-500 hover:bg-danger-50 hover:text-danger-600 active:border-danger-700 active:text-danger-700 active:bg-danger-100 focus:ring-2 focus:ring-danger-100 focus:text-danger-600 disabled:border-danger-100 disabled:text-danger-100 disabled:bg-neutral-0 fill-danger-600"},r=({Icon:e,onClick:n,disabled:t=!1,type:l="primary",className:i,ariaLabel:d})=>a.jsx("button",{type:"button","aria-label":d,className:u("inline-flex h-8 w-8 flex-shrink-0 items-center justify-center rounded focus:outline-none",o[l],i),onClick:n,disabled:t,children:a.jsx(e,{className:"h-3 w-3"})});try{r.displayName="IconButton",r.__docgenInfo={description:"",displayName:"IconButton",props:{Icon:{defaultValue:null,description:"",name:"Icon",required:!0,type:{name:"ElementType"}},type:{defaultValue:{value:"primary"},description:"",name:"type",required:!1,type:{name:"enum",value:[{value:'"danger"'},{value:'"primary"'},{value:'"secondary"'},{value:'"minimal"'},{value:'"danger-secondary"'}]}},onClick:{defaultValue:null,description:"",name:"onClick",required:!0,type:{name:"() => void"}},disabled:{defaultValue:{value:"false"},description:"",name:"disabled",required:!1,type:{name:"boolean"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},ariaLabel:{defaultValue:null,description:"",name:"ariaLabel",required:!1,type:{name:"string"}}}}}catch{}export{r as I}; diff --git a/assets/icon-button.stories-b7BjvVDT.js b/assets/icon-button.stories-b7BjvVDT.js new file mode 100644 index 00000000..513a9762 --- /dev/null +++ b/assets/icon-button.stories-b7BjvVDT.js @@ -0,0 +1 @@ +import{I as t}from"./icon-button-4gxnxrGR.js";import{i as s}from"./zoom-to-fit-icon-65magoHv.js";import"./jsx-runtime-DtaoT6pD.js";import"./index-OjgoNOWw.js";import"./class-names-xhKKfcKT.js";const n=["primary","secondary","minimal","danger","danger-secondary"],l={title:"IconButton",component:t,args:{type:"primary",disabled:!1,Icon:s},argTypes:{type:{options:n}}},o={};var r,e,a;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(a=(e=o.parameters)==null?void 0:e.docs)==null?void 0:a.source}}};const u=["Default"];export{o as Default,u as __namedExportsOrder,l as default}; diff --git a/assets/icon-button.stories-q3fScqs1.js b/assets/icon-button.stories-q3fScqs1.js deleted file mode 100644 index a51f2484..00000000 --- a/assets/icon-button.stories-q3fScqs1.js +++ /dev/null @@ -1 +0,0 @@ -import{I as a}from"./icon-button-Y3-3TFK6.js";import{i as s}from"./zoom-to-fit-icon-UPpVBno8.js";import"./jsx-runtime-vNq4Oc-g.js";import"./index-4g5l5LRQ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./class-names-J070TWId.js";const n=["primary","secondary","minimal","danger","danger-secondary"],u={title:"IconButton",component:a,args:{type:"primary",disabled:!1,Icon:s},argTypes:{type:{options:n}}},o={};var r,e,t;o.parameters={...o.parameters,docs:{...(r=o.parameters)==null?void 0:r.docs,source:{originalSource:"{}",...(t=(e=o.parameters)==null?void 0:e.docs)==null?void 0:t.source}}};const y=["Default"];export{o as Default,y as __namedExportsOrder,u as default}; diff --git a/assets/icons-inLjHQn-.js b/assets/icons-inLjHQn-.js new file mode 100644 index 00000000..1df5c4b6 --- /dev/null +++ b/assets/icons-inLjHQn-.js @@ -0,0 +1,4 @@ +import{j as o}from"./jsx-runtime-DtaoT6pD.js";import{u as I}from"./index-7dsiwP88.js";import{M as g,I as r,d as t}from"./index-8ZKuWOMm.js";import{m as S,n as i,o as v,p as l,q as d,r as h,s as u,t as m,u as C,v as p,w as b,x as w,y as f,z as T,A,B as y,C as D,D as L,E as R,F,G as P,H as B,I as k,J as H,K as M,L as G,M as O,N as E,O as N,P as U,Q as x,R as V,T as j,U as z,V as K,W,X as q,Y as J,Z,_,$ as X,a0 as Q,a1 as Y,a2 as $,a3 as oo,a4 as no,a5 as co,a6 as ao,a7 as eo,a8 as Io,a9 as so,aa as go,ab as ro,ac as to,ad as So,ae as io,af as vo,ag as lo,ah as ho,ai as uo,aj as mo,ak as Co,al as po,am as bo,an as wo,ao as fo,ap as To,aq as Ao,ar as yo,as as Do,at as Lo,au as Ro,av as Fo,aw as Po,ax as Bo,ay as ko,az as Ho,S as Mo,aA as Go,l as Oo,aB as Eo,aC as No,aD as Uo,aE as xo,aF as Vo,aG as jo,aH as zo,aI as Ko,aJ as Wo,aK as qo,aL as Jo,aM as Zo,aN as _o,aO as Xo,aP as Qo,aQ as Yo,aR as $o,aS as on,aT as nn,aU as cn,aV as an,aW as en,aX as In,aY as sn,aZ as gn,a_ as rn,a$ as tn,b0 as Sn,b1 as vn,b2 as ln,b3 as dn,b4 as hn,j as un,b5 as mn,b6 as Cn,b7 as pn,b8 as bn,b9 as wn,ba as fn,bb as Tn,bc as An,bd as yn,be as Dn,bf as Ln,bg as Rn,bh as Fn,bi as Pn,bj as Bn,bk as kn,a as Hn,bl as Mn,bm as Gn,bn as On,bo as En,bp as Nn,bq as Un,br as xn,bs as Vn,bt as jn,bu as zn,bv as Kn,bw as Wn,bx as qn,by as Jn,bz as Zn,bA as _n,bB as Xn,bC as Qn,bD as Yn,bE as $n,bF as oc,bG as nc,bH as cc,bI as ac,bJ as ec,bK as Ic,bL as sc,bM as gc,bN as rc,bO as tc,bP as Sc,bQ as ic,bR as vc,f as lc,bS as dc,bT as hc,bU as uc,bV as mc,bW as Cc,bX as pc,bY as bc,bZ as wc,b_ as fc,b$ as Tc,c0 as Ac,c1 as yc,c2 as Dc,c3 as Lc,c4 as Rc,c5 as Fc,c6 as Pc,c7 as Bc,c8 as kc,c9 as Hc,ca as Mc,cb as Gc,cc as Oc,cd as Ec,ce as Nc,cf as Uc,cg as xc,ch as Vc,ci as jc,cj as zc,ck as Kc,cl as Wc,cm as qc,cn as Jc,co as Zc,cp as _c,cq as Xc,cr as Qc,cs as Yc,ct as $c,cu as oa,cv as na,cw as ca,cx as aa,cy as ea,cz as Ia,cA as sa,cB as ga,cC as ra,cD as ta,cE as Sa,cF as ia,cG as va,cH as la,cI as da,cJ as ha,cK as ua,cL as ma,cM as Ca,cN as pa,cO as ba,cP as wa,cQ as fa,cR as Ta,cS as Aa,cT as ya,cU as Da,cV as La,cW as Ra,cX as Fa,cY as Pa,cZ as Ba,c_ as ka,c$ as Ha,d0 as Ma,d1 as Ga,d2 as Oa,d3 as Ea,d4 as Na,d5 as Ua,d6 as xa,d7 as Va,d8 as ja,d9 as za,da as Ka,db as Wa,dc as qa,dd as Ja,de as Za,df as _a,dg as Xa,dh as Qa,di as Ya,dj as $a,dk as oe,dl as ne,dm as ce,dn as ae,dp as ee,dq as Ie,dr as se,ds as ge,dt as re,du as te,dv as Se,c as ie,dw as ve,dx as le,dy as de,dz as he,dA as ue,dB as me,dC as Ce,dD as pe,dE as be,dF as we,dG as fe,dH as Te,dI as Ae,dJ as ye,dK as De,dL as Le,dM as Re,dN as Fe,dO as Pe,dP as Be,dQ as ke,dR as He,dS as Me,dT as Ge,dU as Oe,dV as Ee,dW as Ne,dX as Ue,dY as xe,dZ as Ve,d_ as je,d$ as ze,e0 as Ke,e1 as We,e2 as qe,e3 as Je,e4 as Ze,e5 as _e,e6 as Xe,e7 as Qe,e8 as Ye,e9 as $e,ea as oI,eb as nI,ec as cI,ed as aI,ee as eI,ef as II,eg as sI,b as gI,eh as rI,ei as tI,ej as SI,ek as iI,el as vI,em as lI,en as dI,eo as hI,ep as uI,eq as mI,er as CI,es as pI,et as bI,eu as wI,ev as fI,ew as TI,ex as AI,ey as yI,ez as DI,eA as LI,eB as RI,eC as FI,eD as PI,eE as BI,eF as kI,eG as HI,eH as MI,eI as GI,eJ as OI,eK as EI,eL as NI,eM as UI,eN as xI,eO as VI,eP as jI,eQ as zI,eR as KI,eS as WI,eT as qI,eU as JI,eV as ZI,eW as _I,eX as XI,eY as QI,eZ as YI,e_ as $I,e$ as os,f0 as ns,f1 as cs,f2 as as,f3 as es,f4 as Is,f5 as ss,f6 as gs,f7 as rs,f8 as ts,f9 as Ss,fa as is,fb as vs,fc as ls,fd as ds,fe as hs,ff as us,fg as ms,fh as Cs,fi as ps,fj as bs,fk as ws,fl as fs,fm as Ts,fn as As,fo as ys,fp as Ds,fq as Ls,fr as Rs,fs as Fs,ft as Ps,fu as Bs,fv as ks,fw as Hs,fx as Ms,fy as Gs,fz as Os,fA as Es,fB as Ns,fC as Us,fD as xs,fE as Vs,fF as js,fG as zs,fH as Ks,fI as Ws,fJ as qs,fK as Js,fL as Zs,fM as _s,fN as Xs,fO as Qs,fP as Ys,fQ as $s,fR as og,fS as ng,fT as cg,fU as ag,fV as eg,fW as Ig,fX as sg,fY as gg,fZ as rg,f_ as tg,f$ as Sg,g0 as ig,g1 as vg,g2 as lg,g3 as dg,g4 as hg,g as ug,g5 as mg,g6 as Cg,g7 as pg,g8 as bg,g9 as wg,ga as fg,gb as Tg,gc as Ag,gd as yg,ge as Dg,gf as Lg,gg as Rg,gh as Fg,gi as Pg,gj as Bg,gk as kg,gl as Hg,gm as Mg,gn as Gg,go as Og,gp as Eg,gq as Ng,gr as Ug,gs as xg,gt as Vg,gu as jg,h as zg,gv as Kg,gw as Wg,gx as qg,gy as Jg,gz as Zg,gA as _g,gB as Xg,gC as Qg,gD as Yg,gE as $g,gF as or,gG as nr,gH as cr,gI as ar,gJ as er,gK as Ir,gL as sr,gM as gr,gN as rr,gO as tr,gP as Sr,gQ as ir,gR as vr,gS as lr,gT as dr,gU as hr,gV as ur,gW as mr,gX as Cr,gY as pr,gZ as br,g_ as wr,g$ as fr,h0 as Tr,h1 as Ar,h2 as yr,h3 as Dr,h4 as Lr,h5 as Rr,h6 as Fr,h7 as Pr,h8 as Br,h9 as kr,ha as Hr,hb as Mr,hc as Gr,hd as Or,he as Er,hf as Nr,hg as Ur,hh as xr,hi as Vr,hj as jr,d as zr,k as Kr,hk as Wr,hl as qr,hm as Jr,hn as Zr,ho as _r,hp as Xr,hq as Qr,hr as Yr,hs as $r,ht as ot,hu as nt,hv as ct,hw as at,hx as et,hy as It,hz as st,hA as gt,hB as rt,hC as tt,hD as St,hE as it,hF as vt,hG as lt,hH as dt,hI as ht,hJ as ut,hK as mt,hL as Ct,hM as pt,hN as bt,hO as wt,hP as ft,hQ as Tt,hR as At,hS as yt,hT as Dt,hU as Lt,i as Rt,e as Ft,hV as Pt,hW as Bt,hX as kt,hY as Ht,hZ as Mt,h_ as Gt,h$ as Ot,i0 as Et,i1 as Nt,i2 as Ut,i3 as xt}from"./zoom-to-fit-icon-65magoHv.js";import"./index-OjgoNOWw.js";import"./iframe-YRqh8WQd.js";import"../sb-preview/runtime.js";import"./index-mQqIOHEI.js";import"./index-ogXoivrg.js";import"./index-33y5txed.js";import"./index-PPLHz8o0.js";const Vt=Object.freeze(Object.defineProperty({__proto__:null,AddClipIcon:S,AddColumnLeftIcon:i,AddColumnRightIcon:v,AddIcon:l,AddLocationIcon:d,AddRowBottomIcon:h,AddRowTopIcon:u,AddToArtifactIcon:m,AddToFolderIcon:C,AimpointsTargetIcon:p,AirplaneIcon:b,AlignCenterIcon:w,AlignJustifyIcon:f,AlignLeftIcon:T,AlignRightIcon:A,AlignmentBottomIcon:y,AlignmentHorizontalCenterIcon:D,AlignmentLeftIcon:L,AlignmentRightIcon:R,AlignmentTopIcon:F,AlignmentVerticalCenterIcon:P,AnchorIcon:B,AnnotationIcon:k,AntennaIcon:H,AppHeaderIcon:M,ApplicationIcon:G,ApplicationsIcon:O,ArchiveIcon:E,AreaOfInterestIcon:N,ArrayBooleanIcon:U,ArrayDateIcon:x,ArrayFloatingPointIcon:V,ArrayIcon:j,ArrayNumericIcon:z,ArrayStringIcon:K,ArrayTimestampIcon:W,ArrowBottomLeftIcon:q,ArrowBottomRightIcon:J,ArrowDownIcon:Z,ArrowLeftIcon:_,ArrowRightIcon:X,ArrowTopLeftIcon:Q,ArrowTopRightIcon:Y,ArrowUpIcon:$,ArrowsHorizontalIcon:oo,ArrowsVerticalIcon:no,AskIcon:co,AsteriskIcon:ao,AtIcon:eo,AutomaticUpdatesIcon:Io,BacklinkIcon:so,BadgeIcon:go,BanCircleIcon:ro,BankAccountIcon:to,BarcodeIcon:So,BlankIcon:io,BlockedPersonIcon:vo,BoldIcon:lo,BookIcon:ho,BookmarkIcon:uo,BoxIcon:mo,BriefcaseIcon:Co,BringDataIcon:po,BugIcon:bo,BuggyIcon:wo,BuildIcon:fo,CalculatorIcon:To,CalendarIcon:Ao,CameraIcon:yo,CaretDownIcon:Do,CaretLeftIcon:Lo,CaretRightIcon:Ro,CaretUpIcon:Fo,CargoShipIcon:Po,CellTowerIcon:Bo,ChangesIcon:ko,ChartIcon:Ho,ChatIcon:Mo,ChevronBackwardIcon:Go,ChevronDownIcon:Oo,ChevronForwardIcon:Eo,ChevronLeftIcon:No,ChevronRightIcon:Uo,ChevronUpIcon:xo,CircleArrowDownIcon:Vo,CircleArrowLeftIcon:jo,CircleArrowRightIcon:zo,CircleArrowUpIcon:Ko,CircleIcon:Wo,CitationIcon:qo,CleanIcon:Jo,ClipIcon:Zo,ClipboardIcon:_o,CloudDownloadIcon:Xo,CloudIcon:Qo,CloudUploadIcon:Yo,CodeBlockIcon:$o,CodeIcon:on,CogIcon:nn,CollapseAllIcon:cn,ColorFillIcon:an,ColumnLayoutIcon:en,CommentIcon:In,ComparisonIcon:sn,CompassIcon:gn,CompressedIcon:rn,ConfirmIcon:tn,ConsoleIcon:Sn,ContrastIcon:vn,ControlIcon:ln,CreditCardIcon:dn,CrossCircleIcon:hn,CrossIcon:un,CrownIcon:mn,CubeAddIcon:Cn,CubeIcon:pn,CubeRemoveIcon:bn,CurvedRangeChartIcon:wn,CutIcon:fn,CycleIcon:Tn,DashboardIcon:An,DataConnectionIcon:yn,DataLineageIcon:Dn,DatabaseIcon:Ln,DeleteIcon:Rn,DeltaIcon:Fn,DeriveColumnIcon:Pn,DesktopIcon:Bn,DiagnosisIcon:kn,DiagramTreeIcon:Hn,DirectionLeftIcon:Mn,DirectionRightIcon:Gn,DisableIcon:On,DivideIcon:En,DocumentIcon:Nn,DocumentOpenIcon:Un,DocumentShareIcon:xn,DollarIcon:Vn,DotIcon:jn,DoubleCaretHorizontalIcon:zn,DoubleCaretVerticalIcon:Kn,DoubleChevronDownIcon:Wn,DoubleChevronLeftIcon:qn,DoubleChevronRightIcon:Jn,DoubleChevronUpIcon:Zn,DoughnutChartIcon:_n,DownloadIcon:Xn,DragHandleHorizontalIcon:Qn,DragHandleVerticalIcon:Yn,DrawIcon:$n,DrawerLeftFilledIcon:oc,DrawerLeftIcon:nc,DrawerRightFilledIcon:cc,DrawerRightIcon:ac,DriveTimeIcon:ec,DuplicateIcon:Ic,EditIcon:sc,EjectIcon:gc,EmojiIcon:rc,EndorsedIcon:tc,EnvelopeIcon:Sc,EqualsIcon:ic,EraserIcon:vc,ErrorIcon:lc,EuroIcon:dc,ExchangeIcon:hc,ExcludeRowIcon:uc,ExpandAllIcon:mc,ExportIcon:Cc,EyeOffIcon:pc,EyeOnIcon:bc,EyeOpenIcon:wc,FastBackwardIcon:fc,FastForwardIcon:Tc,FeedIcon:Ac,FeedSubscribedIcon:yc,FilmIcon:Dc,FilterIcon:Lc,FilterKeepIcon:Rc,FilterListIcon:Fc,FilterOpenIcon:Pc,FilterRemoveIcon:Bc,FlagIcon:kc,FlameIcon:Hc,FlashIcon:Mc,FloatingPointIcon:Gc,FloppyDiskIcon:Oc,FlowBranchIcon:Ec,FlowEndIcon:Nc,FlowLinearIcon:Uc,FlowReviewBranchIcon:xc,FlowReviewIcon:Vc,FlowsIcon:jc,FolderCloseIcon:zc,FolderNewIcon:Kc,FolderOpenIcon:Wc,FolderSharedIcon:qc,FolderSharedOpenIcon:Jc,FollowerIcon:Zc,FollowingIcon:_c,FontIcon:Xc,ForkIcon:Qc,FormIcon:Yc,FuelIcon:$c,FullCircleIcon:oa,FullStackedChartIcon:na,FullscreenIcon:ca,FunctionIcon:aa,GanttChartIcon:ea,GeofenceIcon:Ia,GeolocationIcon:sa,GeosearchIcon:ga,GitBranchIcon:ra,GitCommitIcon:ta,GitMergeIcon:Sa,GitNewBranchIcon:ia,GitPullIcon:va,GitPushIcon:la,GitRepoIcon:da,GlassIcon:ha,GlobeIcon:ua,GlobeNetworkIcon:ma,GraphIcon:Ca,GraphRemoveIcon:pa,GreaterThanIcon:ba,GreaterThanOrEqualToIcon:wa,GridIcon:fa,GridViewIcon:Ta,GroupObjectsIcon:Aa,GroupedBarChartIcon:ya,HandDownIcon:Da,HandIcon:La,HandLeftIcon:Ra,HandRightIcon:Fa,HandUpIcon:Pa,HatIcon:Ba,HeaderIcon:ka,HeaderOneIcon:Ha,HeaderThreeIcon:Ma,HeaderTwoIcon:Ga,HeadsetIcon:Oa,HeartBrokenIcon:Ea,HeartIcon:Na,HeatGridIcon:Ua,HeatmapIcon:xa,HelicopterIcon:Va,HelpIcon:ja,HelperManagementIcon:za,HighPriorityIcon:Ka,HighVoltagePoleIcon:Wa,HighlightIcon:qa,HistoryIcon:Ja,HomeIcon:Za,HorizontalBarChartAscIcon:_a,HorizontalBarChartDescIcon:Xa,HorizontalBarChartIcon:Qa,HorizontalDistributionIcon:Ya,HorizontalInbetweenIcon:$a,HurricaneIcon:oe,IdNumberIcon:ne,ImageRotateLeftIcon:ce,ImageRotateRightIcon:ae,ImportIcon:ee,InboxFilteredIcon:Ie,InboxGeoIcon:se,InboxIcon:ge,InboxSearchIcon:re,InboxUpdateIcon:te,InfoIcon:Se,InfoSignIcon:ie,InheritanceIcon:ve,InheritedGroupIcon:le,InnerJoinIcon:de,InsertIcon:he,IntersectionIcon:ue,IpAddressIcon:me,IssueClosedIcon:Ce,IssueIcon:pe,IssueNewIcon:be,ItalicIcon:we,JoinTableIcon:fe,KeyBackspaceIcon:Te,KeyCommandIcon:Ae,KeyControlIcon:ye,KeyDeleteIcon:De,KeyEnterIcon:Le,KeyEscapeIcon:Re,KeyIcon:Fe,KeyOptionIcon:Pe,KeyShiftIcon:Be,KeyTabIcon:ke,KnownVehicleIcon:He,LabTestIcon:Me,LabelIcon:Ge,LayerIcon:Oe,LayerOutlineIcon:Ee,LayersIcon:Ne,LayoutAutoIcon:Ue,LayoutBalloonIcon:xe,LayoutCircleIcon:Ve,LayoutGridIcon:je,LayoutGroupByIcon:ze,LayoutHierarchyIcon:Ke,LayoutIcon:We,LayoutLinearIcon:qe,LayoutSkewGridIcon:Je,LayoutSortedClustersIcon:Ze,LearningIcon:_e,LeftJoinIcon:Xe,LessThanIcon:Qe,LessThanOrEqualToIcon:Ye,LifesaverIcon:$e,LightbulbIcon:oI,LightningIcon:nI,LinkIcon:cI,ListColumnsIcon:aI,ListDetailViewIcon:eI,ListIcon:II,LocateIcon:sI,LockIcon:gI,LogInIcon:rI,LogOutIcon:tI,LowVoltagePoleIcon:SI,ManualIcon:iI,ManuallyEnteredDataIcon:vI,ManyToManyIcon:lI,ManyToOneIcon:dI,MapCreateIcon:hI,MapIcon:uI,MapMarkerIcon:mI,MaximizeIcon:CI,MediaIcon:pI,MenuClosedIcon:bI,MenuIcon:wI,MenuOpenIcon:fI,MergeColumnsIcon:TI,MergeLinksIcon:AI,MinimizeIcon:yI,MinusIcon:DI,MobilePhoneIcon:LI,MobileVideoIcon:RI,ModalFilledIcon:FI,ModalIcon:PI,MoonIcon:BI,MoreIcon:kI,MountainIcon:HI,MoveIcon:MI,MugshotIcon:GI,MultiSelectIcon:OI,MusicIcon:EI,NestIcon:NI,NewDrawingIcon:UI,NewGridItemIcon:xI,NewLayerIcon:VI,NewLayersIcon:jI,NewLinkIcon:zI,NewObjectIcon:KI,NewPersonIcon:WI,NewPrescriptionIcon:qI,NewTextBoxIcon:JI,NinjaIcon:ZI,NotEqualToIcon:_I,NotificationsIcon:XI,NotificationsSnoozeIcon:QI,NotificationsUpdatedIcon:YI,NumberedListIcon:$I,NumericalIcon:os,OfficeIcon:ns,OfflineIcon:cs,OilFieldIcon:as,OneColumnIcon:es,OneToManyIcon:Is,OneToOneIcon:ss,OpenApplicationIcon:gs,OutdatedIcon:rs,PageLayoutIcon:ts,PanelStatsIcon:Ss,PanelTableIcon:is,PaperclipIcon:vs,ParagraphIcon:ls,PathIcon:ds,PathSearchIcon:hs,PauseIcon:us,PeopleIcon:ms,PercentageIcon:Cs,PersonIcon:ps,PhoneIcon:bs,PieChartIcon:ws,PinIcon:fs,PivotIcon:Ts,PivotTableIcon:As,PlayIcon:ys,PlaybookIcon:Ds,PlusIcon:Ls,PolygonFilterIcon:Rs,PowerIcon:Fs,PredictiveAnalysisIcon:Ps,PrescriptionIcon:Bs,PresentationIcon:ks,PrintIcon:Hs,ProjectsIcon:Ms,PropertiesIcon:Gs,PropertyIcon:Os,PublishFunctionIcon:Es,PulseIcon:Ns,RainIcon:Us,RandomIcon:xs,RecordIcon:Vs,RectHeightIcon:js,RectWidthIcon:zs,RectangleIcon:Ks,RedoIcon:Ws,RefreshIcon:qs,RegexIcon:Js,RegressionChartIcon:Zs,RemoveColumnIcon:_s,RemoveColumnLeftIcon:Xs,RemoveColumnRightIcon:Qs,RemoveIcon:Ys,RemoveRowBottomIcon:$s,RemoveRowTopIcon:og,RepeatIcon:ng,ResetIcon:cg,ResolveIcon:ag,RigIcon:eg,RightJoinIcon:Ig,RingIcon:sg,RocketIcon:gg,RocketSlantIcon:rg,RotateDocumentIcon:tg,RotatePageIcon:Sg,RouteIcon:ig,SatelliteIcon:vg,SavedIcon:lg,ScatterPlotIcon:dg,SearchAroundIcon:hg,SearchIcon:ug,SearchTemplateIcon:mg,SearchTextIcon:Cg,SegmentedControlIcon:pg,SelectIcon:bg,SelectionIcon:wg,SendMessageIcon:fg,SendToGraphIcon:Tg,SendToIcon:Ag,SendToMapIcon:yg,SeriesAddIcon:Dg,SeriesConfigurationIcon:Lg,SeriesDerivedIcon:Rg,SeriesFilteredIcon:Fg,SeriesSearchIcon:Pg,SettingsBigIcon:Bg,SettingsIcon:kg,ShapesIcon:Hg,ShareIcon:Mg,SharedFilterIcon:Gg,ShieldIcon:Og,ShipIcon:Eg,ShopIcon:Ng,ShoppingCartIcon:Ug,SignalSearchIcon:xg,SimCardIcon:Vg,SlashIcon:jg,SmallCrossIcon:zg,SmallInfoSignIcon:Kg,SmallMinusIcon:Wg,SmallPlusIcon:qg,SmallSquareIcon:Jg,SmallTickIcon:Zg,SnowflakeIcon:_g,SocialMediaIcon:Xg,SortAlphabeticalDescIcon:Qg,SortAlphabeticalIcon:Yg,SortAscIcon:$g,SortDescIcon:or,SortIcon:nr,SortNumericalDescIcon:cr,SortNumericalIcon:ar,SplitColumnsIcon:er,SquareIcon:Ir,StackedChartIcon:sr,StadiumGeometryIcon:gr,StarEmptyIcon:rr,StarIcon:tr,StepBackwardIcon:Sr,StepChartIcon:ir,StepForwardIcon:vr,StopIcon:lr,StopwatchIcon:dr,StrikethroughIcon:hr,StyleIcon:ur,SwapHorizontalIcon:mr,SwapVerticalIcon:Cr,SwitchIcon:pr,SymbolCircleIcon:br,SymbolCrossIcon:wr,SymbolDiamondIcon:fr,SymbolRectangleIcon:Tr,SymbolSquareIcon:Ar,SymbolTriangleDownIcon:yr,SymbolTriangleUpIcon:Dr,SyringeIcon:Lr,TagIcon:Rr,TakeActionIcon:Fr,TankIcon:Pr,TargetIcon:Br,TaxiIcon:kr,TemperatureIcon:Hr,TextHighlightIcon:Mr,ThDerivedIcon:Gr,ThDisconnectIcon:Or,ThFilteredIcon:Er,ThIcon:Nr,ThListIcon:Ur,ThirdPartyIcon:xr,ThumbsDownIcon:Vr,ThumbsUpIcon:jr,TickCircleIcon:zr,TickIcon:Kr,TimeIcon:Wr,TimelineAreaChartIcon:qr,TimelineBarChartIcon:Jr,TimelineEventsIcon:Zr,TimelineLineChartIcon:_r,TintIcon:Xr,TorchIcon:Qr,TractorIcon:Yr,TrainIcon:$r,TranslateIcon:ot,TrashIcon:nt,TreeIcon:ct,TrendingDownIcon:at,TrendingUpIcon:et,TruckIcon:It,TwoColumnsIcon:st,UnarchiveIcon:gt,UnderlineIcon:rt,UndoIcon:tt,UngroupObjectsIcon:St,UnknownVehicleIcon:it,UnlockIcon:vt,UnpinIcon:lt,UnresolveIcon:dt,UpdatedIcon:ht,UploadIcon:ut,UserIcon:mt,VariableIcon:Ct,VerticalBarChartAscIcon:pt,VerticalBarChartDescIcon:bt,VerticalDistributionIcon:wt,VerticalInbetweenIcon:ft,VideoIcon:Tt,VirusIcon:At,VolumeDownIcon:yt,VolumeOffIcon:Dt,VolumeUpIcon:Lt,WalkIcon:Rt,WarningSignIcon:Ft,WaterfallChartIcon:Pt,WavesIcon:Bt,WidgetButtonIcon:kt,WidgetFooterIcon:Ht,WidgetHeaderIcon:Mt,WidgetIcon:Gt,WindIcon:Ot,WrenchIcon:Et,ZoomInIcon:Nt,ZoomOutIcon:Ut,ZoomToFitIcon:xt},Symbol.toStringTag,{value:"Module"}));function e(n){const c={h1:"h1",p:"p",...I(),...n.components};return o.jsxs(o.Fragment,{children:[o.jsx(g,{title:"Icons gallery"}),` +`,o.jsx(c.h1,{id:"icons-gallery",children:"Icons Gallery"}),` +`,o.jsx(c.p,{children:"List of available icons"}),` +`,o.jsx(r,{children:Object.entries(Vt).map(([a,s])=>o.jsx(t,{name:a,children:o.jsx(s,{className:"h-6 w-6"})},a))})]})}function $t(n={}){const{wrapper:c}={...I(),...n.components};return c?o.jsx(c,{...n,children:o.jsx(e,{...n})}):e(n)}export{$t as default}; diff --git a/assets/icons.stories-oX_Uax-q.js b/assets/icons.stories-oX_Uax-q.js deleted file mode 100644 index 2befbaa8..00000000 --- a/assets/icons.stories-oX_Uax-q.js +++ /dev/null @@ -1,4 +0,0 @@ -import{M as t,I as S,d as i}from"./index-4RSmxb3z.js";import{m as v,n as l,o as d,p as h,q as u,r as m,s as p,t as C,u as b,v as w,w as f,x as T,y,z as A,A as D,B as L,C as R,D as F,E as P,F as B,G as k,H,I as M,J as O,K as G,L as E,M as N,N as U,O as x,P as V,Q as j,R as z,T as K,U as W,V as q,W as _,X as J,Y as Z,Z as X,_ as Q,$ as Y,a0 as $,a1 as oo,a2 as no,a3 as co,a4 as ao,a5 as eo,a6 as Io,a7 as so,a8 as go,a9 as ro,aa as to,ab as So,ac as io,ad as vo,ae as lo,af as ho,ag as uo,ah as mo,ai as po,aj as Co,ak as bo,al as wo,am as fo,an as To,ao as yo,ap as Ao,aq as Do,ar as Lo,as as Ro,at as Fo,au as Po,av as Bo,aw as ko,ax as Ho,ay as Mo,az as Oo,S as Go,aA as Eo,l as No,aB as Uo,aC as xo,aD as Vo,aE as jo,aF as zo,aG as Ko,aH as Wo,aI as qo,aJ as _o,aK as Jo,aL as Zo,aM as Xo,aN as Qo,aO as Yo,aP as $o,aQ as on,aR as nn,aS as cn,aT as an,aU as en,aV as In,aW as sn,aX as gn,aY as rn,aZ as tn,a_ as Sn,a$ as vn,b0 as ln,b1 as dn,b2 as hn,b3 as un,b4 as mn,j as pn,b5 as Cn,b6 as bn,b7 as wn,b8 as fn,b9 as Tn,ba as yn,bb as An,bc as Dn,bd as Ln,be as Rn,bf as Fn,bg as Pn,bh as Bn,bi as kn,bj as Hn,bk as Mn,a as On,bl as Gn,bm as En,bn as Nn,bo as Un,bp as xn,bq as Vn,br as jn,bs as zn,bt as Kn,bu as Wn,bv as qn,bw as _n,bx as Jn,by as Zn,bz as Xn,bA as Qn,bB as Yn,bC as $n,bD as oc,bE as nc,bF as cc,bG as ac,bH as ec,bI as Ic,bJ as sc,bK as gc,bL as rc,bM as tc,bN as Sc,bO as ic,bP as vc,bQ as lc,bR as dc,f as hc,bS as uc,bT as mc,bU as pc,bV as Cc,bW as bc,bX as wc,bY as fc,bZ as Tc,b_ as yc,b$ as Ac,c0 as Dc,c1 as Lc,c2 as Rc,c3 as Fc,c4 as Pc,c5 as Bc,c6 as kc,c7 as Hc,c8 as Mc,c9 as Oc,ca as Gc,cb as Ec,cc as Nc,cd as Uc,ce as xc,cf as Vc,cg as jc,ch as zc,ci as Kc,cj as Wc,ck as qc,cl as _c,cm as Jc,cn as Zc,co as Xc,cp as Qc,cq as Yc,cr as $c,cs as oa,ct as na,cu as ca,cv as aa,cw as ea,cx as Ia,cy as sa,cz as ga,cA as ra,cB as ta,cC as Sa,cD as ia,cE as va,cF as la,cG as da,cH as ha,cI as ua,cJ as ma,cK as pa,cL as Ca,cM as ba,cN as wa,cO as fa,cP as Ta,cQ as ya,cR as Aa,cS as Da,cT as La,cU as Ra,cV as Fa,cW as Pa,cX as Ba,cY as ka,cZ as Ha,c_ as Ma,c$ as Oa,d0 as Ga,d1 as Ea,d2 as Na,d3 as Ua,d4 as xa,d5 as Va,d6 as ja,d7 as za,d8 as Ka,d9 as Wa,da as qa,db as _a,dc as Ja,dd as Za,de as Xa,df as Qa,dg as Ya,dh as $a,di as oe,dj as ne,dk as ce,dl as ae,dm as ee,dn as Ie,dp as se,dq as ge,dr as re,ds as te,dt as Se,du as ie,dv as ve,c as le,dw as de,dx as he,dy as ue,dz as me,dA as pe,dB as Ce,dC as be,dD as we,dE as fe,dF as Te,dG as ye,dH as Ae,dI as De,dJ as Le,dK as Re,dL as Fe,dM as Pe,dN as Be,dO as ke,dP as He,dQ as Me,dR as Oe,dS as Ge,dT as Ee,dU as Ne,dV as Ue,dW as xe,dX as Ve,dY as je,dZ as ze,d_ as Ke,d$ as We,e0 as qe,e1 as _e,e2 as Je,e3 as Ze,e4 as Xe,e5 as Qe,e6 as Ye,e7 as $e,e8 as oI,e9 as nI,ea as cI,eb as aI,ec as eI,ed as II,ee as sI,ef as gI,eg as rI,b as tI,eh as SI,ei as iI,ej as vI,ek as lI,el as dI,em as hI,en as uI,eo as mI,ep as pI,eq as CI,er as bI,es as wI,et as fI,eu as TI,ev as yI,ew as AI,ex as DI,ey as LI,ez as RI,eA as FI,eB as PI,eC as BI,eD as kI,eE as HI,eF as MI,eG as OI,eH as GI,eI as EI,eJ as NI,eK as UI,eL as xI,eM as VI,eN as jI,eO as zI,eP as KI,eQ as WI,eR as qI,eS as _I,eT as JI,eU as ZI,eV as XI,eW as QI,eX as YI,eY as $I,eZ as os,e_ as ns,e$ as cs,f0 as as,f1 as es,f2 as Is,f3 as ss,f4 as gs,f5 as rs,f6 as ts,f7 as Ss,f8 as is,f9 as vs,fa as ls,fb as ds,fc as hs,fd as us,fe as ms,ff as ps,fg as Cs,fh as bs,fi as ws,fj as fs,fk as Ts,fl as ys,fm as As,fn as Ds,fo as Ls,fp as Rs,fq as Fs,fr as Ps,fs as Bs,ft as ks,fu as Hs,fv as Ms,fw as Os,fx as Gs,fy as Es,fz as Ns,fA as Us,fB as xs,fC as Vs,fD as js,fE as zs,fF as Ks,fG as Ws,fH as qs,fI as _s,fJ as Js,fK as Zs,fL as Xs,fM as Qs,fN as Ys,fO as $s,fP as og,fQ as ng,fR as cg,fS as ag,fT as eg,fU as Ig,fV as sg,fW as gg,fX as rg,fY as tg,fZ as Sg,f_ as ig,f$ as vg,g0 as lg,g1 as dg,g2 as hg,g3 as ug,g4 as mg,g as pg,g5 as Cg,g6 as bg,g7 as wg,g8 as fg,g9 as Tg,ga as yg,gb as Ag,gc as Dg,gd as Lg,ge as Rg,gf as Fg,gg as Pg,gh as Bg,gi as kg,gj as Hg,gk as Mg,gl as Og,gm as Gg,gn as Eg,go as Ng,gp as Ug,gq as xg,gr as Vg,gs as jg,gt as zg,gu as Kg,h as Wg,gv as qg,gw as _g,gx as Jg,gy as Zg,gz as Xg,gA as Qg,gB as Yg,gC as $g,gD as or,gE as nr,gF as cr,gG as ar,gH as er,gI as Ir,gJ as sr,gK as gr,gL as rr,gM as tr,gN as Sr,gO as ir,gP as vr,gQ as lr,gR as dr,gS as hr,gT as ur,gU as mr,gV as pr,gW as Cr,gX as br,gY as wr,gZ as fr,g_ as Tr,g$ as yr,h0 as Ar,h1 as Dr,h2 as Lr,h3 as Rr,h4 as Fr,h5 as Pr,h6 as Br,h7 as kr,h8 as Hr,h9 as Mr,ha as Or,hb as Gr,hc as Er,hd as Nr,he as Ur,hf as xr,hg as Vr,hh as jr,hi as zr,hj as Kr,d as Wr,k as qr,hk as _r,hl as Jr,hm as Zr,hn as Xr,ho as Qr,hp as Yr,hq as $r,hr as ot,hs as nt,ht as ct,hu as at,hv as et,hw as It,hx as st,hy as gt,hz as rt,hA as tt,hB as St,hC as it,hD as vt,hE as lt,hF as dt,hG as ht,hH as ut,hI as mt,hJ as pt,hK as Ct,hL as bt,hM as wt,hN as ft,hO as Tt,hP as yt,hQ as At,hR as Dt,hS as Lt,hT as Rt,hU as Ft,i as Pt,e as Bt,hV as kt,hW as Ht,hX as Mt,hY as Ot,hZ as Gt,h_ as Et,h$ as Nt,i0 as Ut,i1 as xt,i2 as Vt,i3 as jt}from"./zoom-to-fit-icon-UPpVBno8.js";import{j as o}from"./jsx-runtime-vNq4Oc-g.js";import{u as g}from"./index-Dbo06S9W.js";import"./iframe-uScXI0l2.js";import"../sb-preview/runtime.js";import"./index-4g5l5LRQ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./index-jmm5gWkb.js";import"./index-ogXoivrg.js";import"./index-MVbLLYTZ.js";import"./index-PPLHz8o0.js";const zt=Object.freeze(Object.defineProperty({__proto__:null,AddClipIcon:v,AddColumnLeftIcon:l,AddColumnRightIcon:d,AddIcon:h,AddLocationIcon:u,AddRowBottomIcon:m,AddRowTopIcon:p,AddToArtifactIcon:C,AddToFolderIcon:b,AimpointsTargetIcon:w,AirplaneIcon:f,AlignCenterIcon:T,AlignJustifyIcon:y,AlignLeftIcon:A,AlignRightIcon:D,AlignmentBottomIcon:L,AlignmentHorizontalCenterIcon:R,AlignmentLeftIcon:F,AlignmentRightIcon:P,AlignmentTopIcon:B,AlignmentVerticalCenterIcon:k,AnchorIcon:H,AnnotationIcon:M,AntennaIcon:O,AppHeaderIcon:G,ApplicationIcon:E,ApplicationsIcon:N,ArchiveIcon:U,AreaOfInterestIcon:x,ArrayBooleanIcon:V,ArrayDateIcon:j,ArrayFloatingPointIcon:z,ArrayIcon:K,ArrayNumericIcon:W,ArrayStringIcon:q,ArrayTimestampIcon:_,ArrowBottomLeftIcon:J,ArrowBottomRightIcon:Z,ArrowDownIcon:X,ArrowLeftIcon:Q,ArrowRightIcon:Y,ArrowTopLeftIcon:$,ArrowTopRightIcon:oo,ArrowUpIcon:no,ArrowsHorizontalIcon:co,ArrowsVerticalIcon:ao,AskIcon:eo,AsteriskIcon:Io,AtIcon:so,AutomaticUpdatesIcon:go,BacklinkIcon:ro,BadgeIcon:to,BanCircleIcon:So,BankAccountIcon:io,BarcodeIcon:vo,BlankIcon:lo,BlockedPersonIcon:ho,BoldIcon:uo,BookIcon:mo,BookmarkIcon:po,BoxIcon:Co,BriefcaseIcon:bo,BringDataIcon:wo,BugIcon:fo,BuggyIcon:To,BuildIcon:yo,CalculatorIcon:Ao,CalendarIcon:Do,CameraIcon:Lo,CaretDownIcon:Ro,CaretLeftIcon:Fo,CaretRightIcon:Po,CaretUpIcon:Bo,CargoShipIcon:ko,CellTowerIcon:Ho,ChangesIcon:Mo,ChartIcon:Oo,ChatIcon:Go,ChevronBackwardIcon:Eo,ChevronDownIcon:No,ChevronForwardIcon:Uo,ChevronLeftIcon:xo,ChevronRightIcon:Vo,ChevronUpIcon:jo,CircleArrowDownIcon:zo,CircleArrowLeftIcon:Ko,CircleArrowRightIcon:Wo,CircleArrowUpIcon:qo,CircleIcon:_o,CitationIcon:Jo,CleanIcon:Zo,ClipIcon:Xo,ClipboardIcon:Qo,CloudDownloadIcon:Yo,CloudIcon:$o,CloudUploadIcon:on,CodeBlockIcon:nn,CodeIcon:cn,CogIcon:an,CollapseAllIcon:en,ColorFillIcon:In,ColumnLayoutIcon:sn,CommentIcon:gn,ComparisonIcon:rn,CompassIcon:tn,CompressedIcon:Sn,ConfirmIcon:vn,ConsoleIcon:ln,ContrastIcon:dn,ControlIcon:hn,CreditCardIcon:un,CrossCircleIcon:mn,CrossIcon:pn,CrownIcon:Cn,CubeAddIcon:bn,CubeIcon:wn,CubeRemoveIcon:fn,CurvedRangeChartIcon:Tn,CutIcon:yn,CycleIcon:An,DashboardIcon:Dn,DataConnectionIcon:Ln,DataLineageIcon:Rn,DatabaseIcon:Fn,DeleteIcon:Pn,DeltaIcon:Bn,DeriveColumnIcon:kn,DesktopIcon:Hn,DiagnosisIcon:Mn,DiagramTreeIcon:On,DirectionLeftIcon:Gn,DirectionRightIcon:En,DisableIcon:Nn,DivideIcon:Un,DocumentIcon:xn,DocumentOpenIcon:Vn,DocumentShareIcon:jn,DollarIcon:zn,DotIcon:Kn,DoubleCaretHorizontalIcon:Wn,DoubleCaretVerticalIcon:qn,DoubleChevronDownIcon:_n,DoubleChevronLeftIcon:Jn,DoubleChevronRightIcon:Zn,DoubleChevronUpIcon:Xn,DoughnutChartIcon:Qn,DownloadIcon:Yn,DragHandleHorizontalIcon:$n,DragHandleVerticalIcon:oc,DrawIcon:nc,DrawerLeftFilledIcon:cc,DrawerLeftIcon:ac,DrawerRightFilledIcon:ec,DrawerRightIcon:Ic,DriveTimeIcon:sc,DuplicateIcon:gc,EditIcon:rc,EjectIcon:tc,EmojiIcon:Sc,EndorsedIcon:ic,EnvelopeIcon:vc,EqualsIcon:lc,EraserIcon:dc,ErrorIcon:hc,EuroIcon:uc,ExchangeIcon:mc,ExcludeRowIcon:pc,ExpandAllIcon:Cc,ExportIcon:bc,EyeOffIcon:wc,EyeOnIcon:fc,EyeOpenIcon:Tc,FastBackwardIcon:yc,FastForwardIcon:Ac,FeedIcon:Dc,FeedSubscribedIcon:Lc,FilmIcon:Rc,FilterIcon:Fc,FilterKeepIcon:Pc,FilterListIcon:Bc,FilterOpenIcon:kc,FilterRemoveIcon:Hc,FlagIcon:Mc,FlameIcon:Oc,FlashIcon:Gc,FloatingPointIcon:Ec,FloppyDiskIcon:Nc,FlowBranchIcon:Uc,FlowEndIcon:xc,FlowLinearIcon:Vc,FlowReviewBranchIcon:jc,FlowReviewIcon:zc,FlowsIcon:Kc,FolderCloseIcon:Wc,FolderNewIcon:qc,FolderOpenIcon:_c,FolderSharedIcon:Jc,FolderSharedOpenIcon:Zc,FollowerIcon:Xc,FollowingIcon:Qc,FontIcon:Yc,ForkIcon:$c,FormIcon:oa,FuelIcon:na,FullCircleIcon:ca,FullStackedChartIcon:aa,FullscreenIcon:ea,FunctionIcon:Ia,GanttChartIcon:sa,GeofenceIcon:ga,GeolocationIcon:ra,GeosearchIcon:ta,GitBranchIcon:Sa,GitCommitIcon:ia,GitMergeIcon:va,GitNewBranchIcon:la,GitPullIcon:da,GitPushIcon:ha,GitRepoIcon:ua,GlassIcon:ma,GlobeIcon:pa,GlobeNetworkIcon:Ca,GraphIcon:ba,GraphRemoveIcon:wa,GreaterThanIcon:fa,GreaterThanOrEqualToIcon:Ta,GridIcon:ya,GridViewIcon:Aa,GroupObjectsIcon:Da,GroupedBarChartIcon:La,HandDownIcon:Ra,HandIcon:Fa,HandLeftIcon:Pa,HandRightIcon:Ba,HandUpIcon:ka,HatIcon:Ha,HeaderIcon:Ma,HeaderOneIcon:Oa,HeaderThreeIcon:Ga,HeaderTwoIcon:Ea,HeadsetIcon:Na,HeartBrokenIcon:Ua,HeartIcon:xa,HeatGridIcon:Va,HeatmapIcon:ja,HelicopterIcon:za,HelpIcon:Ka,HelperManagementIcon:Wa,HighPriorityIcon:qa,HighVoltagePoleIcon:_a,HighlightIcon:Ja,HistoryIcon:Za,HomeIcon:Xa,HorizontalBarChartAscIcon:Qa,HorizontalBarChartDescIcon:Ya,HorizontalBarChartIcon:$a,HorizontalDistributionIcon:oe,HorizontalInbetweenIcon:ne,HurricaneIcon:ce,IdNumberIcon:ae,ImageRotateLeftIcon:ee,ImageRotateRightIcon:Ie,ImportIcon:se,InboxFilteredIcon:ge,InboxGeoIcon:re,InboxIcon:te,InboxSearchIcon:Se,InboxUpdateIcon:ie,InfoIcon:ve,InfoSignIcon:le,InheritanceIcon:de,InheritedGroupIcon:he,InnerJoinIcon:ue,InsertIcon:me,IntersectionIcon:pe,IpAddressIcon:Ce,IssueClosedIcon:be,IssueIcon:we,IssueNewIcon:fe,ItalicIcon:Te,JoinTableIcon:ye,KeyBackspaceIcon:Ae,KeyCommandIcon:De,KeyControlIcon:Le,KeyDeleteIcon:Re,KeyEnterIcon:Fe,KeyEscapeIcon:Pe,KeyIcon:Be,KeyOptionIcon:ke,KeyShiftIcon:He,KeyTabIcon:Me,KnownVehicleIcon:Oe,LabTestIcon:Ge,LabelIcon:Ee,LayerIcon:Ne,LayerOutlineIcon:Ue,LayersIcon:xe,LayoutAutoIcon:Ve,LayoutBalloonIcon:je,LayoutCircleIcon:ze,LayoutGridIcon:Ke,LayoutGroupByIcon:We,LayoutHierarchyIcon:qe,LayoutIcon:_e,LayoutLinearIcon:Je,LayoutSkewGridIcon:Ze,LayoutSortedClustersIcon:Xe,LearningIcon:Qe,LeftJoinIcon:Ye,LessThanIcon:$e,LessThanOrEqualToIcon:oI,LifesaverIcon:nI,LightbulbIcon:cI,LightningIcon:aI,LinkIcon:eI,ListColumnsIcon:II,ListDetailViewIcon:sI,ListIcon:gI,LocateIcon:rI,LockIcon:tI,LogInIcon:SI,LogOutIcon:iI,LowVoltagePoleIcon:vI,ManualIcon:lI,ManuallyEnteredDataIcon:dI,ManyToManyIcon:hI,ManyToOneIcon:uI,MapCreateIcon:mI,MapIcon:pI,MapMarkerIcon:CI,MaximizeIcon:bI,MediaIcon:wI,MenuClosedIcon:fI,MenuIcon:TI,MenuOpenIcon:yI,MergeColumnsIcon:AI,MergeLinksIcon:DI,MinimizeIcon:LI,MinusIcon:RI,MobilePhoneIcon:FI,MobileVideoIcon:PI,ModalFilledIcon:BI,ModalIcon:kI,MoonIcon:HI,MoreIcon:MI,MountainIcon:OI,MoveIcon:GI,MugshotIcon:EI,MultiSelectIcon:NI,MusicIcon:UI,NestIcon:xI,NewDrawingIcon:VI,NewGridItemIcon:jI,NewLayerIcon:zI,NewLayersIcon:KI,NewLinkIcon:WI,NewObjectIcon:qI,NewPersonIcon:_I,NewPrescriptionIcon:JI,NewTextBoxIcon:ZI,NinjaIcon:XI,NotEqualToIcon:QI,NotificationsIcon:YI,NotificationsSnoozeIcon:$I,NotificationsUpdatedIcon:os,NumberedListIcon:ns,NumericalIcon:cs,OfficeIcon:as,OfflineIcon:es,OilFieldIcon:Is,OneColumnIcon:ss,OneToManyIcon:gs,OneToOneIcon:rs,OpenApplicationIcon:ts,OutdatedIcon:Ss,PageLayoutIcon:is,PanelStatsIcon:vs,PanelTableIcon:ls,PaperclipIcon:ds,ParagraphIcon:hs,PathIcon:us,PathSearchIcon:ms,PauseIcon:ps,PeopleIcon:Cs,PercentageIcon:bs,PersonIcon:ws,PhoneIcon:fs,PieChartIcon:Ts,PinIcon:ys,PivotIcon:As,PivotTableIcon:Ds,PlayIcon:Ls,PlaybookIcon:Rs,PlusIcon:Fs,PolygonFilterIcon:Ps,PowerIcon:Bs,PredictiveAnalysisIcon:ks,PrescriptionIcon:Hs,PresentationIcon:Ms,PrintIcon:Os,ProjectsIcon:Gs,PropertiesIcon:Es,PropertyIcon:Ns,PublishFunctionIcon:Us,PulseIcon:xs,RainIcon:Vs,RandomIcon:js,RecordIcon:zs,RectHeightIcon:Ks,RectWidthIcon:Ws,RectangleIcon:qs,RedoIcon:_s,RefreshIcon:Js,RegexIcon:Zs,RegressionChartIcon:Xs,RemoveColumnIcon:Qs,RemoveColumnLeftIcon:Ys,RemoveColumnRightIcon:$s,RemoveIcon:og,RemoveRowBottomIcon:ng,RemoveRowTopIcon:cg,RepeatIcon:ag,ResetIcon:eg,ResolveIcon:Ig,RigIcon:sg,RightJoinIcon:gg,RingIcon:rg,RocketIcon:tg,RocketSlantIcon:Sg,RotateDocumentIcon:ig,RotatePageIcon:vg,RouteIcon:lg,SatelliteIcon:dg,SavedIcon:hg,ScatterPlotIcon:ug,SearchAroundIcon:mg,SearchIcon:pg,SearchTemplateIcon:Cg,SearchTextIcon:bg,SegmentedControlIcon:wg,SelectIcon:fg,SelectionIcon:Tg,SendMessageIcon:yg,SendToGraphIcon:Ag,SendToIcon:Dg,SendToMapIcon:Lg,SeriesAddIcon:Rg,SeriesConfigurationIcon:Fg,SeriesDerivedIcon:Pg,SeriesFilteredIcon:Bg,SeriesSearchIcon:kg,SettingsBigIcon:Hg,SettingsIcon:Mg,ShapesIcon:Og,ShareIcon:Gg,SharedFilterIcon:Eg,ShieldIcon:Ng,ShipIcon:Ug,ShopIcon:xg,ShoppingCartIcon:Vg,SignalSearchIcon:jg,SimCardIcon:zg,SlashIcon:Kg,SmallCrossIcon:Wg,SmallInfoSignIcon:qg,SmallMinusIcon:_g,SmallPlusIcon:Jg,SmallSquareIcon:Zg,SmallTickIcon:Xg,SnowflakeIcon:Qg,SocialMediaIcon:Yg,SortAlphabeticalDescIcon:$g,SortAlphabeticalIcon:or,SortAscIcon:nr,SortDescIcon:cr,SortIcon:ar,SortNumericalDescIcon:er,SortNumericalIcon:Ir,SplitColumnsIcon:sr,SquareIcon:gr,StackedChartIcon:rr,StadiumGeometryIcon:tr,StarEmptyIcon:Sr,StarIcon:ir,StepBackwardIcon:vr,StepChartIcon:lr,StepForwardIcon:dr,StopIcon:hr,StopwatchIcon:ur,StrikethroughIcon:mr,StyleIcon:pr,SwapHorizontalIcon:Cr,SwapVerticalIcon:br,SwitchIcon:wr,SymbolCircleIcon:fr,SymbolCrossIcon:Tr,SymbolDiamondIcon:yr,SymbolRectangleIcon:Ar,SymbolSquareIcon:Dr,SymbolTriangleDownIcon:Lr,SymbolTriangleUpIcon:Rr,SyringeIcon:Fr,TagIcon:Pr,TakeActionIcon:Br,TankIcon:kr,TargetIcon:Hr,TaxiIcon:Mr,TemperatureIcon:Or,TextHighlightIcon:Gr,ThDerivedIcon:Er,ThDisconnectIcon:Nr,ThFilteredIcon:Ur,ThIcon:xr,ThListIcon:Vr,ThirdPartyIcon:jr,ThumbsDownIcon:zr,ThumbsUpIcon:Kr,TickCircleIcon:Wr,TickIcon:qr,TimeIcon:_r,TimelineAreaChartIcon:Jr,TimelineBarChartIcon:Zr,TimelineEventsIcon:Xr,TimelineLineChartIcon:Qr,TintIcon:Yr,TorchIcon:$r,TractorIcon:ot,TrainIcon:nt,TranslateIcon:ct,TrashIcon:at,TreeIcon:et,TrendingDownIcon:It,TrendingUpIcon:st,TruckIcon:gt,TwoColumnsIcon:rt,UnarchiveIcon:tt,UnderlineIcon:St,UndoIcon:it,UngroupObjectsIcon:vt,UnknownVehicleIcon:lt,UnlockIcon:dt,UnpinIcon:ht,UnresolveIcon:ut,UpdatedIcon:mt,UploadIcon:pt,UserIcon:Ct,VariableIcon:bt,VerticalBarChartAscIcon:wt,VerticalBarChartDescIcon:ft,VerticalDistributionIcon:Tt,VerticalInbetweenIcon:yt,VideoIcon:At,VirusIcon:Dt,VolumeDownIcon:Lt,VolumeOffIcon:Rt,VolumeUpIcon:Ft,WalkIcon:Pt,WarningSignIcon:Bt,WaterfallChartIcon:kt,WavesIcon:Ht,WidgetButtonIcon:Mt,WidgetFooterIcon:Ot,WidgetHeaderIcon:Gt,WidgetIcon:Et,WindIcon:Nt,WrenchIcon:Ut,ZoomInIcon:xt,ZoomOutIcon:Vt,ZoomToFitIcon:jt},Symbol.toStringTag,{value:"Module"}));function Kt(c={}){const{wrapper:a}=Object.assign({},g(),c.components);return a?o.jsx(a,{...c,children:o.jsx(e,{})}):e();function e(){const I=Object.assign({h1:"h1",p:"p"},g(),c.components);return o.jsxs(o.Fragment,{children:[o.jsx(t,{title:"Icons gallery"}),` -`,o.jsx(I.h1,{id:"icons-gallery",children:"Icons Gallery"}),` -`,o.jsx(I.p,{children:"List of available icons"}),` -`,o.jsx(S,{children:Object.entries(zt).map(([s,r])=>o.jsx(i,{name:s,children:o.jsx(r,{className:"h-6 w-6"})},s))})]})}}const Wt=()=>{throw new Error("Docs-only story")};Wt.parameters={docsOnly:!0};const n={title:"Icons gallery",tags:["stories-mdx"],includeStories:["__page"]};n.parameters=n.parameters||{};n.parameters.docs={...n.parameters.docs||{},page:Kt};const eS=["__page"];export{eS as __namedExportsOrder,Wt as __page,n as default}; diff --git a/assets/iframe-YRqh8WQd.js b/assets/iframe-YRqh8WQd.js new file mode 100644 index 00000000..3ee9e74e --- /dev/null +++ b/assets/iframe-YRqh8WQd.js @@ -0,0 +1,7 @@ +import"../sb-preview/runtime.js";(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))m(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const e of o.addedNodes)e.tagName==="LINK"&&e.rel==="modulepreload"&&m(e)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function m(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();const d="modulepreload",O=function(s,i){return new URL(s,i).href},l={},t=function(i,n,m){let r=Promise.resolve();if(n&&n.length>0){const o=document.getElementsByTagName("link");r=Promise.all(n.map(e=>{if(e=O(e,m),e in l)return;l[e]=!0;const c=e.endsWith(".css"),E=c?'[rel="stylesheet"]':"";if(!!m)for(let a=o.length-1;a>=0;a--){const p=o[a];if(p.href===e&&(!c||p.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${e}"]${E}`))return;const _=document.createElement("link");if(_.rel=c?"stylesheet":d,c||(_.as="script",_.crossOrigin=""),_.href=e,document.head.appendChild(_),c)return new Promise((a,p)=>{_.addEventListener("load",a),_.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${e}`)))})}))}return r.then(()=>i()).catch(o=>{const e=new Event("vite:preloadError",{cancelable:!0});if(e.payload=o,window.dispatchEvent(e),!e.defaultPrevented)throw o})},{createBrowserChannel:v}=__STORYBOOK_MODULE_CHANNELS__,{addons:R}=__STORYBOOK_MODULE_PREVIEW_API__,u=v({page:"preview"});R.setChannel(u);window.__STORYBOOK_ADDONS_CHANNEL__=u;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=u);const P={"./src/components/alert/alert.stories.tsx":async()=>t(()=>import("./alert.stories-p9JuoJTc.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url),"./src/components/avatar/avatar.stories.tsx":async()=>t(()=>import("./avatar.stories-pw0uuAAf.js"),__vite__mapDeps([7,1,2,8,6]),import.meta.url),"./src/components/badge/badge.stories.tsx":async()=>t(()=>import("./badge.stories-psZYYMBd.js"),__vite__mapDeps([9,1,2,10,4,6]),import.meta.url),"./src/components/breadcrumb-navigation/breadcrumb-navigation.stories.tsx":async()=>t(()=>import("./breadcrumb-navigation.stories-WGXCeoss.js"),__vite__mapDeps([11,1,2,4,12,5]),import.meta.url),"./src/components/button-group/button-group.stories.tsx":async()=>t(()=>import("./button-group.stories-ui1jXRpf.js"),__vite__mapDeps([13,1,2,4]),import.meta.url),"./src/components/button/button.stories.tsx":async()=>t(()=>import("./button.stories-78GdjUdY.js"),__vite__mapDeps([14,1,2,15,4,16,5,6]),import.meta.url),"./src/components/checkbox/checkbox.stories.tsx":async()=>t(()=>import("./checkbox.stories-NWs8fIqN.js"),__vite__mapDeps([17,1,2,4,6]),import.meta.url),"./src/components/dialog/dialog.stories.tsx":async()=>t(()=>import("./dialog.stories-xO90-xUz.js"),__vite__mapDeps([18,1,2,6,19,4,5,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,15,16,38,39,40,41,10,42,43,3]),import.meta.url),"./src/components/disclosure/disclosure.stories.tsx":async()=>t(()=>import("./disclosure.stories-tIZa4mFx.js"),__vite__mapDeps([44,1,2,5,4,45,21,28,29,22,41,32]),import.meta.url),"./src/components/divider-line/divider-line.stories.tsx":async()=>t(()=>import("./divider-line.stories-cg9m6yi9.js"),__vite__mapDeps([46,1,2,47]),import.meta.url),"./src/components/featured-tag/featured-tag.stories.tsx":async()=>t(()=>import("./featured-tag.stories-uE0Xm7j2.js"),__vite__mapDeps([48,1,2,49,4,50,38,5,21,28,31,24,32,26,23,39,37,40,30,29,25,22,41,34,10,36,42]),import.meta.url),"./src/components/form-field/form-field-group.stories.tsx":async()=>t(()=>import("./form-field-group.stories-BORUgkjS.js"),__vite__mapDeps([51,1,2,38,5,4,21,28,31,24,32,26,23,39,37,40,30,29,25,22,41,34,10,36,42]),import.meta.url),"./src/components/form-field/listbox/listbox.stories.tsx":async()=>t(()=>import("./listbox.stories-rbh28UOU.js"),__vite__mapDeps([52,1,2,38,5,4,21,28,31,24,32,26,23,39,37,40,30,29,25,22,41,34,10,36,42]),import.meta.url),"./src/components/form-field/multi-combobox/multi-combobox.stories.tsx":async()=>t(()=>import("./multi-combobox.stories-FHDEV6Mg.js"),__vite__mapDeps([53,1,2,38,5,4,21,28,31,24,32,26,23,39,37,40,30,29,25,22,41,34,10,36,42]),import.meta.url),"./src/components/form-field/radio-box/radio-box.stories.tsx":async()=>t(()=>import("./radio-box.stories-qLFj2gzF.js"),__vite__mapDeps([54,1,2,38,5,4,21,28,31,24,32,26,23,39,37,40,30,29,25,22,41,34,10,36,42,49]),import.meta.url),"./src/components/form-field/radio-input/radio-input.stories.tsx":async()=>t(()=>import("./radio-input.stories-cEsXp0pH.js"),__vite__mapDeps([55,1,2,38,5,4,21,28,31,24,32,26,23,39,37,40,30,29,25,22,41,34,10,36,42]),import.meta.url),"./src/components/form-field/search-input/search-input.stories.tsx":async()=>t(()=>import("./search-input.stories-TLkWnwlC.js"),__vite__mapDeps([56,1,2,38,5,4,21,28,31,24,32,26,23,39,37,40,30,29,25,22,41,34,10,36,42]),import.meta.url),"./src/components/form-field/single-combobox/single-combobox.stories.tsx":async()=>t(()=>import("./single-combobox.stories-hCZG2m9_.js"),__vite__mapDeps([57,1,2,42,4,5,38,21,28,31,24,32,26,23,39,37,40,30,29,25,22,41,34,10,36]),import.meta.url),"./src/components/form-field/text-input/text-input.stories.tsx":async()=>t(()=>import("./text-input.stories--xjy7E0n.js"),__vite__mapDeps([58,1,2,38,5,4,21,28,31,24,32,26,23,39,37,40,30,29,25,22,41,34,10,36,42]),import.meta.url),"./src/components/form-field/textarea/textarea.stories.tsx":async()=>t(()=>import("./textarea.stories-SRxen20H.js"),__vite__mapDeps([59,1,2,38,5,4,21,28,31,24,32,26,23,39,37,40,30,29,25,22,41,34,10,36,42]),import.meta.url),"./src/components/icon-button/icon-button.stories.tsx":async()=>t(()=>import("./icon-button.stories-b7BjvVDT.js"),__vite__mapDeps([60,19,1,2,4,5]),import.meta.url),"./src/components/inline-alert/inline-alert.stories.tsx":async()=>t(()=>import("./inline-alert.stories-aAd6afnQ.js"),__vite__mapDeps([61,1,2,4,5,6]),import.meta.url),"./src/components/last-changed-info/last-changed-info.stories.tsx":async()=>t(()=>import("./last-changed-info.stories-YUK076IJ.js"),__vite__mapDeps([62,1,2,4]),import.meta.url),"./src/components/link/link.stories.tsx":async()=>t(()=>import("./link.stories-S2OJ3jlJ.js"),__vite__mapDeps([63,1,2,12,4,5,6]),import.meta.url),"./src/components/menu/menu-info-item/menu-info-item.stories.tsx":async()=>t(()=>import("./menu-info-item.stories-rKF0jIAz.js"),__vite__mapDeps([64,1,2,65]),import.meta.url),"./src/components/menu/menu-item/menu-item.stories.tsx":async()=>t(()=>import("./menu-item.stories-RsaraU9s.js"),__vite__mapDeps([66,1,2,5,67,65,4,21,24,25,28,40,32,29,31,34,22,41,68,69]),import.meta.url),"./src/components/menu/menu-separator/menu-separator.stories.tsx":async()=>t(()=>import("./menu-separator.stories-ECG83t0f.js"),__vite__mapDeps([70,1,2,68]),import.meta.url),"./src/components/menu/menu-title/menu-title.stories.tsx":async()=>t(()=>import("./menu-title.stories-C8oLRRhp.js"),__vite__mapDeps([71,1,2,69]),import.meta.url),"./src/components/menu/menu.stories.tsx":async()=>t(()=>import("./menu.stories--Iyu1jWQ.js"),__vite__mapDeps([72,1,2,67,65,4,21,24,25,28,40,32,29,31,34,22,41,68,69]),import.meta.url),"./src/components/navigation/navigation.stories.tsx":async()=>t(()=>import("./navigation.stories-WCUQiPkT.js"),__vite__mapDeps([73,1,2,5,4,45,21,28,29,22,41,32,74,35,31,24,34,33,30]),import.meta.url),"./src/components/page/page.stories.tsx":async()=>t(()=>import("./page.stories-n0YdRZgl.js"),__vite__mapDeps([75,1,2]),import.meta.url),"./src/components/panel/panel.stories.tsx":async()=>t(()=>import("./panel.stories-S0zlwve3.js"),__vite__mapDeps([76,1,2,50,4,15,16,6,43,21,28,29,39,37,41,30,25,24]),import.meta.url),"./src/components/section/section.stories.tsx":async()=>t(()=>import("./section.stories-mD8xBt3C.js"),__vite__mapDeps([77,1,2,15,4,16]),import.meta.url),"./src/components/sidebar-container/sidebar-container.stories.tsx":async()=>t(()=>import("./sidebar-container.stories-EmHHMyHE.js"),__vite__mapDeps([78,1,2]),import.meta.url),"./src/components/sidebar/sidebar.stories.tsx":async()=>t(()=>import("./sidebar.stories-weKFxPKc.js"),__vite__mapDeps([79,1,2,4]),import.meta.url),"./src/components/sidesheet/sidesheet.stories.tsx":async()=>t(()=>import("./sidesheet.stories-DPLPdYTG.js"),__vite__mapDeps([80,1,2,27,21,28,29,30,31,24,32,33,34,35,23,36,25,37,22,20,26,15,4,16]),import.meta.url),"./src/components/skeleton/skeleton.stories.tsx":async()=>t(()=>import("./skeleton.stories-ID2cj8QM.js"),__vite__mapDeps([81,1,2,4]),import.meta.url),"./src/components/spinner-overlay/spinner-overlay.stories.tsx":async()=>t(()=>import("./spinner-overlay.stories-LWAlg3hr.js"),__vite__mapDeps([82,1,2,16,4]),import.meta.url),"./src/components/spinner/spinner.stories.tsx":async()=>t(()=>import("./spinner.stories-2tMYEpEP.js"),__vite__mapDeps([83,1,2,16,4]),import.meta.url),"./src/components/tab/tab.stories.tsx":async()=>t(()=>import("./tab.stories-QNhnbKEH.js"),__vite__mapDeps([84,1,2,4,21,28,31,24,32,41,23,30,6]),import.meta.url),"./src/components/table-unvirtualized/table-unvirtualized.stories.tsx":async()=>t(()=>import("./table-unvirtualized.stories-1DJiNrpZ.js"),__vite__mapDeps([85,1,2,86,4,16,15]),import.meta.url),"./src/components/table-virtualized/table-virtualized.stories.tsx":async()=>t(()=>import("./table-virtualized.stories-CFL8as0D.js"),__vite__mapDeps([87,1,2,35,4,86,16,5,15,19,47]),import.meta.url),"./src/components/tag/tag.stories.tsx":async()=>t(()=>import("./tag.stories-x8afHFW3.js"),__vite__mapDeps([88,1,2,42,4,5]),import.meta.url),"./src/components/toast/toast.stories.tsx":async()=>t(()=>import("./toast.stories-feI79ijs.js"),__vite__mapDeps([89,1,2,5,4,6]),import.meta.url),"./src/components/toggle/toggle.stories.tsx":async()=>t(()=>import("./toggle.stories-KhE5m4aE.js"),__vite__mapDeps([90,1,2,43,4,21,28,29,39,37,41,30,25,24]),import.meta.url),"./src/components/tooltip/tooltip.stories.tsx":async()=>t(()=>import("./tooltip.stories-ZbUDpZU6.js"),__vite__mapDeps([91,1,2,6,74,35,4,20,21,22,23,24,25,26,15,16]),import.meta.url),"./src/components/top-bar/top-bar.stories.tsx":async()=>t(()=>import("./top-bar.stories-J0NPMafK.js"),__vite__mapDeps([92,1,2,4,5,8,67,65,21,24,25,28,40,32,29,31,34,22,41,68,69]),import.meta.url),"./src/icons/icons.mdx":async()=>t(()=>import("./icons-inLjHQn-.js"),__vite__mapDeps([93,1,2,94,95,35,96,97,98,5]),import.meta.url),"./src/index.mdx":async()=>t(()=>import("./index-EacdxLGc.js"),__vite__mapDeps([99,1,2,94,95,35,96,97,98]),import.meta.url),"./src/styles/global-styles.stories.tsx":async()=>t(()=>import("./global-styles.stories-jLux7kT3.js"),__vite__mapDeps([100,1,2,86,4,16]),import.meta.url)};async function T(s){return P[s]()}const{composeConfigs:L,PreviewWeb:y,ClientApi:V}=__STORYBOOK_MODULE_PREVIEW_API__,f=async()=>{const s=await Promise.all([t(()=>import("./entry-preview-ulNEgYIM.js"),__vite__mapDeps([101,2,102,35]),import.meta.url),t(()=>import("./entry-preview-docs-5wh-9LVY.js"),__vite__mapDeps([103,97,2,98]),import.meta.url),t(()=>import("./preview-VI2eoWmp.js"),__vite__mapDeps([104,96]),import.meta.url),t(()=>import("./preview-1q4RDNOi.js"),__vite__mapDeps([]),import.meta.url),t(()=>import("./preview-6iG64ELu.js"),__vite__mapDeps([105,98]),import.meta.url),t(()=>import("./preview-zZA4w0lH.js"),__vite__mapDeps([]),import.meta.url),t(()=>import("./preview-MdQXpms2.js"),__vite__mapDeps([]),import.meta.url),t(()=>import("./preview-u8M_OEO2.js"),__vite__mapDeps([106,98]),import.meta.url),t(()=>import("./preview-bEa2SesL.js"),__vite__mapDeps([]),import.meta.url),t(()=>import("./preview-e7UF-SUK.js"),__vite__mapDeps([]),import.meta.url),t(()=>import("./preview-JcTohQhz.js"),__vite__mapDeps([]),import.meta.url),t(()=>import("./preview-rdZHNMXf.js"),__vite__mapDeps([107,108]),import.meta.url)]);return L(s)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new y(T,f);window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;export{t as _}; +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["./alert.stories-p9JuoJTc.js","./jsx-runtime-DtaoT6pD.js","./index-OjgoNOWw.js","./alert-RV1XQKHJ.js","./class-names-xhKKfcKT.js","./zoom-to-fit-icon-65magoHv.js","./storybook-utils-94J-CLQK.js","./avatar.stories-pw0uuAAf.js","./avatar-zyahZRnX.js","./badge.stories-psZYYMBd.js","./badge-fPVn3-DO.js","./breadcrumb-navigation.stories-WGXCeoss.js","./slot-M22fKMB5.js","./button-group.stories-ui1jXRpf.js","./button.stories-78GdjUdY.js","./button-ufHQn21l.js","./spinner-wMFQnwL5.js","./checkbox.stories-NWs8fIqN.js","./dialog.stories-xO90-xUz.js","./icon-button-4gxnxrGR.js","./transition-FMZahZh2.js","./render--CnTCjM4.js","./open-closed-QZcf9p9x.js","./use-is-mounted-sHLtXe0b.js","./disposables-x8EK1kJp.js","./use-disposables-zYA53INM.js","./use-flags-FD8DIccc.js","./dialog-XDklIeLN.js","./keyboard-ypJuuhig.js","./bugs-DTVvle51.js","./hidden-io_QVhfh.js","./focus-management-3l6xl84w.js","./owner-k5blU4nj.js","./use-root-containers-FaFnNgX4.js","./use-owner-is5PDNtX.js","./index-mQqIOHEI.js","./platform-SfVjinHA.js","./description-Cx4STRI4.js","./form-field-AdYr7HJv.js","./label-i0FK8Lz6.js","./use-text-value-5FULYfhL.js","./use-resolve-button-type-CvYxBXG6.js","./tag-KJKMb2LC.js","./toggle-S7kCR6pX.js","./disclosure.stories-tIZa4mFx.js","./disclosure-hi91LyUv.js","./divider-line.stories-cg9m6yi9.js","./divider-line-juAh6NUm.js","./featured-tag.stories-uE0Xm7j2.js","./featured-tag-le8-YQ4v.js","./panel-RPWZNnyj.js","./form-field-group.stories-BORUgkjS.js","./listbox.stories-rbh28UOU.js","./multi-combobox.stories-FHDEV6Mg.js","./radio-box.stories-qLFj2gzF.js","./radio-input.stories-cEsXp0pH.js","./search-input.stories-TLkWnwlC.js","./single-combobox.stories-hCZG2m9_.js","./text-input.stories--xjy7E0n.js","./textarea.stories-SRxen20H.js","./icon-button.stories-b7BjvVDT.js","./inline-alert.stories-aAd6afnQ.js","./last-changed-info.stories-YUK076IJ.js","./link.stories-S2OJ3jlJ.js","./menu-info-item.stories-rKF0jIAz.js","./menu-info-item-zXznKl6s.js","./menu-item.stories-RsaraU9s.js","./menu-v-J7fPh8.js","./menu-separator-A-X6ODcl.js","./menu-title-T4by162O.js","./menu-separator.stories-ECG83t0f.js","./menu-title.stories-C8oLRRhp.js","./menu.stories--Iyu1jWQ.js","./navigation.stories-WCUQiPkT.js","./usePopper-Hvolknkr.js","./page.stories-n0YdRZgl.js","./panel.stories-S0zlwve3.js","./section.stories-mD8xBt3C.js","./sidebar-container.stories-EmHHMyHE.js","./sidebar.stories-weKFxPKc.js","./sidesheet.stories-DPLPdYTG.js","./skeleton.stories-ID2cj8QM.js","./spinner-overlay.stories-LWAlg3hr.js","./spinner.stories-2tMYEpEP.js","./tab.stories-QNhnbKEH.js","./table-unvirtualized.stories-1DJiNrpZ.js","./table-unvirtualized-497IaBMw.js","./table-virtualized.stories-CFL8as0D.js","./tag.stories-x8afHFW3.js","./toast.stories-feI79ijs.js","./toggle.stories-KhE5m4aE.js","./tooltip.stories-ZbUDpZU6.js","./top-bar.stories-J0NPMafK.js","./icons-inLjHQn-.js","./index-7dsiwP88.js","./index-8ZKuWOMm.js","./index-ogXoivrg.js","./index-33y5txed.js","./index-PPLHz8o0.js","./index-EacdxLGc.js","./global-styles.stories-jLux7kT3.js","./entry-preview-ulNEgYIM.js","./react-18-DyM-o0Ps.js","./entry-preview-docs-5wh-9LVY.js","./preview-VI2eoWmp.js","./preview-6iG64ELu.js","./preview-u8M_OEO2.js","./preview-rdZHNMXf.js","./preview-ktonE148.css"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} diff --git a/assets/iframe-uScXI0l2.js b/assets/iframe-uScXI0l2.js deleted file mode 100644 index 276d276b..00000000 --- a/assets/iframe-uScXI0l2.js +++ /dev/null @@ -1,7 +0,0 @@ -import"../sb-preview/runtime.js";(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))m(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const e of o.addedNodes)e.tagName==="LINK"&&e.rel==="modulepreload"&&m(e)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function m(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();const d="modulepreload",O=function(s,i){return new URL(s,i).href},l={},t=function(i,n,m){let r=Promise.resolve();if(n&&n.length>0){const o=document.getElementsByTagName("link");r=Promise.all(n.map(e=>{if(e=O(e,m),e in l)return;l[e]=!0;const c=e.endsWith(".css"),E=c?'[rel="stylesheet"]':"";if(!!m)for(let a=o.length-1;a>=0;a--){const p=o[a];if(p.href===e&&(!c||p.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${e}"]${E}`))return;const _=document.createElement("link");if(_.rel=c?"stylesheet":d,c||(_.as="script",_.crossOrigin=""),_.href=e,document.head.appendChild(_),c)return new Promise((a,p)=>{_.addEventListener("load",a),_.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${e}`)))})}))}return r.then(()=>i()).catch(o=>{const e=new Event("vite:preloadError",{cancelable:!0});if(e.payload=o,window.dispatchEvent(e),!e.defaultPrevented)throw o})},{createBrowserChannel:R}=__STORYBOOK_MODULE_CHANNELS__,{addons:v}=__STORYBOOK_MODULE_PREVIEW_API__,u=R({page:"preview"});v.setChannel(u);window.__STORYBOOK_ADDONS_CHANNEL__=u;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=u);const P={"./src/components/alert/alert.stories.tsx":async()=>t(()=>import("./alert.stories-XZ66_rx7.js"),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url),"./src/components/avatar/avatar.stories.tsx":async()=>t(()=>import("./avatar.stories-xoF25t9-.js"),__vite__mapDeps([8,1,2,3,9,7]),import.meta.url),"./src/components/badge/badge.stories.tsx":async()=>t(()=>import("./badge.stories-YC0v4JCd.js"),__vite__mapDeps([10,1,2,3,11,5,7]),import.meta.url),"./src/components/breadcrumb-navigation/breadcrumb-navigation.stories.tsx":async()=>t(()=>import("./breadcrumb-navigation.stories-3g-GsGzB.js"),__vite__mapDeps([12,1,2,3,5,13,6]),import.meta.url),"./src/components/button-group/button-group.stories.tsx":async()=>t(()=>import("./button-group.stories-aXfh2zFd.js"),__vite__mapDeps([14,1,2,3,5]),import.meta.url),"./src/components/button/button.stories.tsx":async()=>t(()=>import("./button.stories-SlcYyWrC.js"),__vite__mapDeps([15,1,2,3,16,5,17,6,7]),import.meta.url),"./src/components/checkbox/checkbox.stories.tsx":async()=>t(()=>import("./checkbox.stories-lAbA-wsT.js"),__vite__mapDeps([18,1,2,3,5,7]),import.meta.url),"./src/components/dialog/dialog.stories.tsx":async()=>t(()=>import("./dialog.stories-WeQoik6l.js"),__vite__mapDeps([19,1,2,3,7,20,5,6,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,16,17,39,40,41,42,11,43,44,4]),import.meta.url),"./src/components/disclosure/disclosure.stories.tsx":async()=>t(()=>import("./disclosure.stories-y9mft7aa.js"),__vite__mapDeps([45,1,2,3,6,5,46,22,29,30,23,42,33]),import.meta.url),"./src/components/divider-line/divider-line.stories.tsx":async()=>t(()=>import("./divider-line.stories-HdAaQAav.js"),__vite__mapDeps([47,1,2,3,48]),import.meta.url),"./src/components/featured-tag/featured-tag.stories.tsx":async()=>t(()=>import("./featured-tag.stories-CDs2nFV5.js"),__vite__mapDeps([49,1,2,3,50,5,51,39,6,22,29,32,25,33,27,24,40,38,41,31,30,26,23,42,35,11,37,43]),import.meta.url),"./src/components/form-field/form-field-group.stories.tsx":async()=>t(()=>import("./form-field-group.stories-3iFYynmq.js"),__vite__mapDeps([52,1,2,3,39,6,5,22,29,32,25,33,27,24,40,38,41,31,30,26,23,42,35,11,37,43]),import.meta.url),"./src/components/form-field/listbox/listbox.stories.tsx":async()=>t(()=>import("./listbox.stories-8Q6U8GTF.js"),__vite__mapDeps([53,1,2,3,39,6,5,22,29,32,25,33,27,24,40,38,41,31,30,26,23,42,35,11,37,43]),import.meta.url),"./src/components/form-field/multi-combobox/multi-combobox.stories.tsx":async()=>t(()=>import("./multi-combobox.stories-VmVXBfOC.js"),__vite__mapDeps([54,1,2,3,39,6,5,22,29,32,25,33,27,24,40,38,41,31,30,26,23,42,35,11,37,43]),import.meta.url),"./src/components/form-field/radio-box/radio-box.stories.tsx":async()=>t(()=>import("./radio-box.stories-v7qUu8GP.js"),__vite__mapDeps([55,1,2,3,39,6,5,22,29,32,25,33,27,24,40,38,41,31,30,26,23,42,35,11,37,43,50]),import.meta.url),"./src/components/form-field/radio-input/radio-input.stories.tsx":async()=>t(()=>import("./radio-input.stories-SZIPXZmY.js"),__vite__mapDeps([56,1,2,3,39,6,5,22,29,32,25,33,27,24,40,38,41,31,30,26,23,42,35,11,37,43]),import.meta.url),"./src/components/form-field/search-input/search-input.stories.tsx":async()=>t(()=>import("./search-input.stories-zDT5Hfbi.js"),__vite__mapDeps([57,1,2,3,39,6,5,22,29,32,25,33,27,24,40,38,41,31,30,26,23,42,35,11,37,43]),import.meta.url),"./src/components/form-field/single-combobox/single-combobox.stories.tsx":async()=>t(()=>import("./single-combobox.stories-6B4zadq-.js"),__vite__mapDeps([58,1,2,3,43,5,6,39,22,29,32,25,33,27,24,40,38,41,31,30,26,23,42,35,11,37]),import.meta.url),"./src/components/form-field/text-input/text-input.stories.tsx":async()=>t(()=>import("./text-input.stories-g9wd5AV_.js"),__vite__mapDeps([59,1,2,3,39,6,5,22,29,32,25,33,27,24,40,38,41,31,30,26,23,42,35,11,37,43]),import.meta.url),"./src/components/form-field/textarea/textarea.stories.tsx":async()=>t(()=>import("./textarea.stories-9EEmST4N.js"),__vite__mapDeps([60,1,2,3,39,6,5,22,29,32,25,33,27,24,40,38,41,31,30,26,23,42,35,11,37,43]),import.meta.url),"./src/components/icon-button/icon-button.stories.tsx":async()=>t(()=>import("./icon-button.stories-q3fScqs1.js"),__vite__mapDeps([61,20,1,2,3,5,6]),import.meta.url),"./src/components/inline-alert/inline-alert.stories.tsx":async()=>t(()=>import("./inline-alert.stories-R455IYsM.js"),__vite__mapDeps([62,1,2,3,5,6,7]),import.meta.url),"./src/components/last-changed-info/last-changed-info.stories.tsx":async()=>t(()=>import("./last-changed-info.stories-3uUJwkYD.js"),__vite__mapDeps([63,1,2,3,5]),import.meta.url),"./src/components/link/link.stories.tsx":async()=>t(()=>import("./link.stories-U6pq8oTG.js"),__vite__mapDeps([64,1,2,3,13,5,6,7]),import.meta.url),"./src/components/menu/menu-info-item/menu-info-item.stories.tsx":async()=>t(()=>import("./menu-info-item.stories-KEUWLxOP.js"),__vite__mapDeps([65,1,2,3,66]),import.meta.url),"./src/components/menu/menu-item/menu-item.stories.tsx":async()=>t(()=>import("./menu-item.stories-Vp9oq2mV.js"),__vite__mapDeps([67,1,2,3,6,68,66,5,22,25,26,29,41,33,30,32,35,23,42,69,70]),import.meta.url),"./src/components/menu/menu-separator/menu-separator.stories.tsx":async()=>t(()=>import("./menu-separator.stories-fHzGGVYG.js"),__vite__mapDeps([71,1,2,3,69]),import.meta.url),"./src/components/menu/menu-title/menu-title.stories.tsx":async()=>t(()=>import("./menu-title.stories-n8kWpP-f.js"),__vite__mapDeps([72,1,2,3,70]),import.meta.url),"./src/components/menu/menu.stories.tsx":async()=>t(()=>import("./menu.stories-k_33rqxY.js"),__vite__mapDeps([73,1,2,3,68,66,5,22,25,26,29,41,33,30,32,35,23,42,69,70]),import.meta.url),"./src/components/navigation/navigation.stories.tsx":async()=>t(()=>import("./navigation.stories-pvaGws9V.js"),__vite__mapDeps([74,1,2,3,6,5,46,22,29,30,23,42,33,75,36,32,25,35,34,31]),import.meta.url),"./src/components/page/page.stories.tsx":async()=>t(()=>import("./page.stories-F7GIUTyk.js"),__vite__mapDeps([76,1,2,3]),import.meta.url),"./src/components/panel/panel.stories.tsx":async()=>t(()=>import("./panel.stories-Xvf9134C.js"),__vite__mapDeps([77,1,2,3,51,5,16,17,7,44,22,29,30,40,38,42,31,26,25]),import.meta.url),"./src/components/section/section.stories.tsx":async()=>t(()=>import("./section.stories-osyf-7TS.js"),__vite__mapDeps([78,1,2,3,16,5,17]),import.meta.url),"./src/components/sidebar-container/sidebar-container.stories.tsx":async()=>t(()=>import("./sidebar-container.stories-D0OHp1gt.js"),__vite__mapDeps([79,1,2,3]),import.meta.url),"./src/components/sidebar/sidebar.stories.tsx":async()=>t(()=>import("./sidebar.stories-H0TJ5_H5.js"),__vite__mapDeps([80,1,2,3,5]),import.meta.url),"./src/components/sidesheet/sidesheet.stories.tsx":async()=>t(()=>import("./sidesheet.stories-xM9T_9p6.js"),__vite__mapDeps([81,1,2,3,28,22,29,30,31,32,25,33,34,35,36,24,37,26,38,23,21,27,16,5,17]),import.meta.url),"./src/components/skeleton/skeleton.stories.tsx":async()=>t(()=>import("./skeleton.stories-17lBSX7B.js"),__vite__mapDeps([82,1,2,3,5]),import.meta.url),"./src/components/spinner-overlay/spinner-overlay.stories.tsx":async()=>t(()=>import("./spinner-overlay.stories-69UgHHb0.js"),__vite__mapDeps([83,1,2,3,17,5]),import.meta.url),"./src/components/spinner/spinner.stories.tsx":async()=>t(()=>import("./spinner.stories-BvANheJ1.js"),__vite__mapDeps([84,1,2,3,17,5]),import.meta.url),"./src/components/tab/tab.stories.tsx":async()=>t(()=>import("./tab.stories-7iwliFSV.js"),__vite__mapDeps([85,1,2,3,5,22,29,32,25,33,42,24,31,7]),import.meta.url),"./src/components/table-unvirtualized/table-unvirtualized.stories.tsx":async()=>t(()=>import("./table-unvirtualized.stories-2hBkElrZ.js"),__vite__mapDeps([86,1,2,3,87,5,17,16]),import.meta.url),"./src/components/table-virtualized/table-virtualized.stories.tsx":async()=>t(()=>import("./table-virtualized.stories-aSUJ9d4k.js"),__vite__mapDeps([88,1,2,3,36,5,87,17,6,16,20,48]),import.meta.url),"./src/components/tag/tag.stories.tsx":async()=>t(()=>import("./tag.stories-F_Gokatn.js"),__vite__mapDeps([89,1,2,3,43,5,6]),import.meta.url),"./src/components/toast/toast.stories.tsx":async()=>t(()=>import("./toast.stories-6vEyZROT.js"),__vite__mapDeps([90,1,2,3,6,5,7]),import.meta.url),"./src/components/toggle/toggle.stories.tsx":async()=>t(()=>import("./toggle.stories-3A7KQ_Pp.js"),__vite__mapDeps([91,1,2,3,44,5,22,29,30,40,38,42,31,26,25]),import.meta.url),"./src/components/tooltip/tooltip.stories.tsx":async()=>t(()=>import("./tooltip.stories-zxdZBqZG.js"),__vite__mapDeps([92,1,2,3,7,75,36,5,21,22,23,24,25,26,27,16,17]),import.meta.url),"./src/components/top-bar/top-bar.stories.tsx":async()=>t(()=>import("./top-bar.stories-ZVLRkp1p.js"),__vite__mapDeps([93,1,2,3,5,6,9,68,66,22,25,26,29,41,33,30,32,35,23,42,69,70]),import.meta.url),"./src/icons/icons.stories.mdx":async()=>t(()=>import("./icons.stories-oX_Uax-q.js"),__vite__mapDeps([94,95,2,3,36,96,97,98,6,1,99]),import.meta.url),"./src/index.stories.mdx":async()=>t(()=>import("./index.stories-BttWpoDr.js"),__vite__mapDeps([100,95,2,3,36,96,97,98,1,99]),import.meta.url),"./src/styles/global-styles.stories.tsx":async()=>t(()=>import("./global-styles.stories-WBVBN3la.js"),__vite__mapDeps([101,1,2,3,87,5,17]),import.meta.url)};async function T(s){return P[s]()}const{composeConfigs:L,PreviewWeb:I,ClientApi:y}=__STORYBOOK_MODULE_PREVIEW_API__,f=async()=>{const s=await Promise.all([t(()=>import("./entry-preview-OIOrqgri.js"),__vite__mapDeps([102,2,3,103,36]),import.meta.url),t(()=>import("./entry-preview-docs-mAwDvs1M.js"),__vite__mapDeps([104,97,3,98,2]),import.meta.url),t(()=>import("./preview-VI2eoWmp.js"),__vite__mapDeps([105,96]),import.meta.url),t(()=>import("./preview-OnO0tzRj.js"),__vite__mapDeps([106,98]),import.meta.url),t(()=>import("./preview-wm7zCcxo.js"),__vite__mapDeps([107,98]),import.meta.url),t(()=>import("./preview-MdQXpms2.js"),__vite__mapDeps([]),import.meta.url),t(()=>import("./preview-u8M_OEO2.js"),__vite__mapDeps([108,98]),import.meta.url),t(()=>import("./preview-bEa2SesL.js"),__vite__mapDeps([]),import.meta.url),t(()=>import("./preview-70qxeh8F.js"),__vite__mapDeps([109,3]),import.meta.url),t(()=>import("./preview-MCyXWQ6k.js"),__vite__mapDeps([]),import.meta.url),t(()=>import("./preview-rdZHNMXf.js"),__vite__mapDeps([110,111]),import.meta.url)]);return L(s)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new I;window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;window.__STORYBOOK_CLIENT_API__=window.__STORYBOOK_CLIENT_API__||new y({storyStore:window.__STORYBOOK_PREVIEW__.storyStore});window.__STORYBOOK_PREVIEW__.initialize({importFn:T,getProjectAnnotations:f});export{t as _}; -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["./alert.stories-XZ66_rx7.js","./jsx-runtime-vNq4Oc-g.js","./index-4g5l5LRQ.js","./_commonjsHelpers-4gQjN7DL.js","./alert-7w9D4JnU.js","./class-names-J070TWId.js","./zoom-to-fit-icon-UPpVBno8.js","./storybook-utils-94J-CLQK.js","./avatar.stories-xoF25t9-.js","./avatar-IK5oiLF_.js","./badge.stories-YC0v4JCd.js","./badge-gQ8zLs50.js","./breadcrumb-navigation.stories-3g-GsGzB.js","./slot-S7AGX8n_.js","./button-group.stories-aXfh2zFd.js","./button.stories-SlcYyWrC.js","./button-xcFUs6is.js","./spinner-E2xQXJan.js","./checkbox.stories-lAbA-wsT.js","./dialog.stories-WeQoik6l.js","./icon-button-Y3-3TFK6.js","./transition-QBeGMtNr.js","./render-w54E0F54.js","./open-closed--zB8LTaK.js","./use-is-mounted-2jl3pcgu.js","./disposables-x8EK1kJp.js","./use-disposables-9CA2w67p.js","./use-flags-t0jpIEJ-.js","./dialog-4umSQeex.js","./keyboard-o6QkQYrw.js","./bugs-DTVvle51.js","./hidden-qqzWvBMn.js","./focus-management-gzNHToo7.js","./owner-fKE-7Rwj.js","./use-root-containers-9RN3yO0Y.js","./use-owner-g5X0ZmiI.js","./index-jmm5gWkb.js","./platform-xf9k1Dsu.js","./description-5F8ZuhcY.js","./form-field-eccqU7tK.js","./label-4h3njXKv.js","./use-text-value-q5k1B-6y.js","./use-resolve-button-type-_yXBvNtz.js","./tag-aZM7YGie.js","./toggle-huM1MEWr.js","./disclosure.stories-y9mft7aa.js","./disclosure-fSdhbgpM.js","./divider-line.stories-HdAaQAav.js","./divider-line-x1pI827X.js","./featured-tag.stories-CDs2nFV5.js","./featured-tag-RvynJyfT.js","./panel-4C-usJgI.js","./form-field-group.stories-3iFYynmq.js","./listbox.stories-8Q6U8GTF.js","./multi-combobox.stories-VmVXBfOC.js","./radio-box.stories-v7qUu8GP.js","./radio-input.stories-SZIPXZmY.js","./search-input.stories-zDT5Hfbi.js","./single-combobox.stories-6B4zadq-.js","./text-input.stories-g9wd5AV_.js","./textarea.stories-9EEmST4N.js","./icon-button.stories-q3fScqs1.js","./inline-alert.stories-R455IYsM.js","./last-changed-info.stories-3uUJwkYD.js","./link.stories-U6pq8oTG.js","./menu-info-item.stories-KEUWLxOP.js","./menu-info-item-1h3Ff0FU.js","./menu-item.stories-Vp9oq2mV.js","./menu-AY5egdiX.js","./menu-separator--WaryJuh.js","./menu-title-FfBvOeUF.js","./menu-separator.stories-fHzGGVYG.js","./menu-title.stories-n8kWpP-f.js","./menu.stories-k_33rqxY.js","./navigation.stories-pvaGws9V.js","./usePopper-LxVopaxl.js","./page.stories-F7GIUTyk.js","./panel.stories-Xvf9134C.js","./section.stories-osyf-7TS.js","./sidebar-container.stories-D0OHp1gt.js","./sidebar.stories-H0TJ5_H5.js","./sidesheet.stories-xM9T_9p6.js","./skeleton.stories-17lBSX7B.js","./spinner-overlay.stories-69UgHHb0.js","./spinner.stories-BvANheJ1.js","./tab.stories-7iwliFSV.js","./table-unvirtualized.stories-2hBkElrZ.js","./table-unvirtualized-vnrE_Od8.js","./table-virtualized.stories-aSUJ9d4k.js","./tag.stories-F_Gokatn.js","./toast.stories-6vEyZROT.js","./toggle.stories-3A7KQ_Pp.js","./tooltip.stories-zxdZBqZG.js","./top-bar.stories-ZVLRkp1p.js","./icons.stories-oX_Uax-q.js","./index-4RSmxb3z.js","./index-ogXoivrg.js","./index-MVbLLYTZ.js","./index-PPLHz8o0.js","./index-Dbo06S9W.js","./index.stories-BttWpoDr.js","./global-styles.stories-WBVBN3la.js","./entry-preview-OIOrqgri.js","./react-18-ba7OOUbL.js","./entry-preview-docs-mAwDvs1M.js","./preview-VI2eoWmp.js","./preview-OnO0tzRj.js","./preview-wm7zCcxo.js","./preview-u8M_OEO2.js","./preview-70qxeh8F.js","./preview-rdZHNMXf.js","./preview-ktonE148.css"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} diff --git a/assets/index-33y5txed.js b/assets/index-33y5txed.js new file mode 100644 index 00000000..f0519de5 --- /dev/null +++ b/assets/index-33y5txed.js @@ -0,0 +1,3 @@ +import{c as Bu,g as Uu}from"./index-OjgoNOWw.js";var Ar=typeof Bu=="object"&&Bu&&Bu.Object===Object&&Bu,be=Ar,or=be,Fr=typeof self=="object"&&self&&self.Object===Object&&self,Cr=or||Fr||Function("return this")(),H=Cr,lr=H,cr=lr.Symbol,gu=cr,Xu=gu,Se=Object.prototype,Er=Se.hasOwnProperty,fr=Se.toString,su=Xu?Xu.toStringTag:void 0;function pr(u){var e=Er.call(u,su),r=u[su];try{u[su]=void 0;var t=!0}catch{}var a=fr.call(u);return t&&(e?u[su]=r:delete u[su]),a}var Br=pr,hr=Object.prototype,dr=hr.toString;function vr(u){return dr.call(u)}var yr=vr,Zu=gu,gr=Br,mr=yr,_r="[object Null]",xr="[object Undefined]",ue=Zu?Zu.toStringTag:void 0;function Tr(u){return u==null?u===void 0?xr:_r:ue&&ue in Object(u)?gr(u):mr(u)}var lu=Tr;function br(u){var e=typeof u;return u!=null&&(e=="object"||e=="function")}var ju=br,Sr=lu,$r=ju,wr="[object AsyncFunction]",Or="[object Function]",Nr="[object GeneratorFunction]",Pr="[object Proxy]";function Ir(u){if(!$r(u))return!1;var e=Sr(u);return e==Or||e==Nr||e==wr||e==Pr}var Gu=Ir;const Do=Uu(Gu);var Rr=H,Lr=Rr["__core-js_shared__"],Mr=Lr,Ou=Mr,ee=function(){var u=/[^.]+$/.exec(Ou&&Ou.keys&&Ou.keys.IE_PROTO||"");return u?"Symbol(src)_1."+u:""}();function kr(u){return!!ee&&ee in u}var Ur=kr,jr=Function.prototype,Gr=jr.toString;function Kr(u){if(u!=null){try{return Gr.call(u)}catch{}try{return u+""}catch{}}return""}var $e=Kr,Hr=Gu,qr=Ur,Wr=ju,zr=$e,Vr=/[\\^$.*+?()[\]{}|]/g,Jr=/^\[object .+?Constructor\]$/,Qr=Function.prototype,Yr=Object.prototype,Xr=Qr.toString,Zr=Yr.hasOwnProperty,ut=RegExp("^"+Xr.call(Zr).replace(Vr,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function et(u){if(!Wr(u)||qr(u))return!1;var e=Hr(u)?ut:Jr;return e.test(zr(u))}var rt=et;function tt(u,e){return u==null?void 0:u[e]}var at=tt,nt=rt,it=at;function st(u,e){var r=it(u,e);return nt(r)?r:void 0}var Y=st,Dt=Y,At=function(){try{var u=Dt(Object,"defineProperty");return u({},"",{}),u}catch{}}(),ot=At,re=ot;function Ft(u,e,r){e=="__proto__"&&re?re(u,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):u[e]=r}var Ct=Ft;function lt(u){return function(e,r,t){for(var a=-1,i=Object(e),n=t(e),l=n.length;l--;){var f=n[u?l:++a];if(r(i[f],f,i)===!1)break}return e}}var ct=lt,Et=ct,ft=Et(),pt=ft;function Bt(u,e){for(var r=-1,t=Array(u);++r-1&&u%1==0&&u-1&&u%1==0&&u<=Rt}var Ku=Lt,Mt=lu,kt=Ku,Ut=cu,jt="[object Arguments]",Gt="[object Array]",Kt="[object Boolean]",Ht="[object Date]",qt="[object Error]",Wt="[object Function]",zt="[object Map]",Vt="[object Number]",Jt="[object Object]",Qt="[object RegExp]",Yt="[object Set]",Xt="[object String]",Zt="[object WeakMap]",u0="[object ArrayBuffer]",e0="[object DataView]",r0="[object Float32Array]",t0="[object Float64Array]",a0="[object Int8Array]",n0="[object Int16Array]",i0="[object Int32Array]",s0="[object Uint8Array]",D0="[object Uint8ClampedArray]",A0="[object Uint16Array]",o0="[object Uint32Array]",S={};S[r0]=S[t0]=S[a0]=S[n0]=S[i0]=S[s0]=S[D0]=S[A0]=S[o0]=!0;S[jt]=S[Gt]=S[u0]=S[Kt]=S[e0]=S[Ht]=S[qt]=S[Wt]=S[zt]=S[Vt]=S[Jt]=S[Qt]=S[Yt]=S[Xt]=S[Zt]=!1;function F0(u){return Ut(u)&&kt(u.length)&&!!S[Mt(u)]}var C0=F0;function l0(u){return function(e){return u(e)}}var c0=l0,vu={exports:{}};vu.exports;(function(u,e){var r=be,t=e&&!e.nodeType&&e,a=t&&!0&&u&&!u.nodeType&&u,i=a&&a.exports===t,n=i&&r.process,l=function(){try{var f=a&&a.require&&a.require("util").types;return f||n&&n.binding&&n.binding("util")}catch{}}();u.exports=l})(vu,vu.exports);var E0=vu.exports,f0=C0,p0=c0,ae=E0,ne=ae&&ae.isTypedArray,B0=ne?p0(ne):f0,Ie=B0,h0=ht,d0=Oe,v0=W,y0=Ne,g0=Pe,m0=Ie,_0=Object.prototype,x0=_0.hasOwnProperty;function T0(u,e){var r=v0(u),t=!r&&d0(u),a=!r&&!t&&y0(u),i=!r&&!t&&!a&&m0(u),n=r||t||a||i,l=n?h0(u.length,String):[],f=l.length;for(var B in u)(e||x0.call(u,B))&&!(n&&(B=="length"||a&&(B=="offset"||B=="parent")||i&&(B=="buffer"||B=="byteLength"||B=="byteOffset")||g0(B,f)))&&l.push(B);return l}var b0=T0,S0=Object.prototype;function $0(u){var e=u&&u.constructor,r=typeof e=="function"&&e.prototype||S0;return u===r}var w0=$0;function O0(u,e){return function(r){return u(e(r))}}var Re=O0,N0=Re,P0=N0(Object.keys,Object),I0=P0,R0=w0,L0=I0,M0=Object.prototype,k0=M0.hasOwnProperty;function U0(u){if(!R0(u))return L0(u);var e=[];for(var r in Object(u))k0.call(u,r)&&r!="constructor"&&e.push(r);return e}var j0=U0,G0=Gu,K0=Ku;function H0(u){return u!=null&&K0(u.length)&&!G0(u)}var q0=H0,W0=b0,z0=j0,V0=q0;function J0(u){return V0(u)?W0(u):z0(u)}var Hu=J0,Q0=pt,Y0=Hu;function X0(u,e){return u&&Q0(u,e,Y0)}var Z0=X0;function ua(){this.__data__=[],this.size=0}var ea=ua;function ra(u,e){return u===e||u!==u&&e!==e}var Le=ra,ta=Le;function aa(u,e){for(var r=u.length;r--;)if(ta(u[r][0],e))return r;return-1}var mu=aa,na=mu,ia=Array.prototype,sa=ia.splice;function Da(u){var e=this.__data__,r=na(e,u);if(r<0)return!1;var t=e.length-1;return r==t?e.pop():sa.call(e,r,1),--this.size,!0}var Aa=Da,oa=mu;function Fa(u){var e=this.__data__,r=oa(e,u);return r<0?void 0:e[r][1]}var Ca=Fa,la=mu;function ca(u){return la(this.__data__,u)>-1}var Ea=ca,fa=mu;function pa(u,e){var r=this.__data__,t=fa(r,u);return t<0?(++this.size,r.push([u,e])):r[t][1]=e,this}var Ba=pa,ha=ea,da=Aa,va=Ca,ya=Ea,ga=Ba;function uu(u){var e=-1,r=u==null?0:u.length;for(this.clear();++el))return!1;var B=i.get(u),T=i.get(e);if(B&&T)return B==e&&T==u;var x=-1,F=!0,m=r&oi?new ii:void 0;for(i.set(u,e),i.set(e,u);++x=48&&E<=55}r=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function B(E){return E===32||E===9||E===11||E===12||E===160||E>=5760&&r.indexOf(E)>=0}function T(E){return E===10||E===13||E===8232||E===8233}function x(E){if(E<=65535)return String.fromCharCode(E);var I=String.fromCharCode(Math.floor((E-65536)/1024)+55296),L=String.fromCharCode((E-65536)%1024+56320);return I+L}for(t=new Array(128),i=0;i<128;++i)t[i]=i>=97&&i<=122||i>=65&&i<=90||i===36||i===95;for(a=new Array(128),i=0;i<128;++i)a[i]=i>=97&&i<=122||i>=65&&i<=90||i>=48&&i<=57||i===36||i===95;function F(E){return E<128?t[E]:e.NonAsciiIdentifierStart.test(x(E))}function m(E){return E<128?a[E]:e.NonAsciiIdentifierPart.test(x(E))}function v(E){return E<128?t[E]:u.NonAsciiIdentifierStart.test(x(E))}function c(E){return E<128?a[E]:u.NonAsciiIdentifierPart.test(x(E))}Ye.exports={isDecimalDigit:n,isHexDigit:l,isOctalDigit:f,isWhiteSpace:B,isLineTerminator:T,isIdentifierStartES5:F,isIdentifierPartES5:m,isIdentifierStartES6:v,isIdentifierPartES6:c}})();var Xe=Ye.exports,Ze={exports:{}};(function(){var u=Xe;function e(F){switch(F){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function r(F,m){return!m&&F==="yield"?!1:t(F,m)}function t(F,m){if(m&&e(F))return!0;switch(F.length){case 2:return F==="if"||F==="in"||F==="do";case 3:return F==="var"||F==="for"||F==="new"||F==="try";case 4:return F==="this"||F==="else"||F==="case"||F==="void"||F==="with"||F==="enum";case 5:return F==="while"||F==="break"||F==="catch"||F==="throw"||F==="const"||F==="yield"||F==="class"||F==="super";case 6:return F==="return"||F==="typeof"||F==="delete"||F==="switch"||F==="export"||F==="import";case 7:return F==="default"||F==="finally"||F==="extends";case 8:return F==="function"||F==="continue"||F==="debugger";case 10:return F==="instanceof";default:return!1}}function a(F,m){return F==="null"||F==="true"||F==="false"||r(F,m)}function i(F,m){return F==="null"||F==="true"||F==="false"||t(F,m)}function n(F){return F==="eval"||F==="arguments"}function l(F){var m,v,c;if(F.length===0||(c=F.charCodeAt(0),!u.isIdentifierStartES5(c)))return!1;for(m=1,v=F.length;m=v||(E=F.charCodeAt(m),!(56320<=E&&E<=57343)))return!1;c=f(c,E)}if(!I(c))return!1;I=u.isIdentifierPartES6}return!0}function T(F,m){return l(F)&&!a(F,m)}function x(F,m){return B(F)&&!i(F,m)}Ze.exports={isKeywordES5:r,isKeywordES6:t,isReservedWordES5:a,isReservedWordES6:i,isRestrictedWord:n,isIdentifierNameES5:l,isIdentifierNameES6:B,isIdentifierES5:T,isIdentifierES6:x}})();var Q1=Ze.exports;(function(){ou.ast=J1,ou.code=Xe,ou.keyword=Q1})();var Du={},X={};const Y1="doctrine",X1="JSDoc parser",Z1="https://github.com/eslint/doctrine",uA="lib/doctrine.js",eA="3.0.0",rA={node:">=6.0.0"},tA={lib:"./lib"},aA=["lib"],nA=[{name:"Nicholas C. Zakas",email:"nicholas+npm@nczconsulting.com",web:"https://www.nczonline.net"},{name:"Yusuke Suzuki",email:"utatane.tea@gmail.com",web:"https://github.com/Constellation"}],iA="eslint/doctrine",sA={coveralls:"^3.0.1",dateformat:"^1.0.11",eslint:"^1.10.3","eslint-release":"^1.0.0",linefix:"^0.1.1",mocha:"^3.4.2","npm-license":"^0.3.1",nyc:"^10.3.2",semver:"^5.0.3",shelljs:"^0.5.3","shelljs-nodecli":"^0.1.1",should:"^5.0.1"},DA="Apache-2.0",AA={pretest:"npm run lint",test:"nyc mocha",coveralls:"nyc report --reporter=text-lcov | coveralls",lint:"eslint lib/","generate-release":"eslint-generate-release","generate-alpharelease":"eslint-generate-prerelease alpha","generate-betarelease":"eslint-generate-prerelease beta","generate-rcrelease":"eslint-generate-prerelease rc","publish-release":"eslint-publish-release"},oA={esutils:"^2.0.2"},FA={name:Y1,description:X1,homepage:Z1,main:uA,version:eA,engines:rA,directories:tA,files:aA,maintainers:nA,repository:iA,devDependencies:sA,license:DA,scripts:AA,dependencies:oA};function CA(u,e){if(!u)throw new Error(e||"unknown assertion error")}var lA=CA;(function(){var u;u=FA.version,X.VERSION=u;function e(t){this.name="DoctrineError",this.message=t}e.prototype=function(){var t=function(){};return t.prototype=Error.prototype,new t}(),e.prototype.constructor=e,X.DoctrineError=e;function r(t){throw new e(t)}X.throwError=r,X.assert=lA})();(function(){var u,e,r,t,a,i,n,l,f,B,T,x;f=ou,B=X,u={NullableLiteral:"NullableLiteral",AllLiteral:"AllLiteral",NullLiteral:"NullLiteral",UndefinedLiteral:"UndefinedLiteral",VoidLiteral:"VoidLiteral",UnionType:"UnionType",ArrayType:"ArrayType",RecordType:"RecordType",FieldType:"FieldType",FunctionType:"FunctionType",ParameterType:"ParameterType",RestType:"RestType",NonNullableType:"NonNullableType",OptionalType:"OptionalType",NullableType:"NullableType",NameExpression:"NameExpression",TypeApplication:"TypeApplication",StringLiteralType:"StringLiteralType",NumericLiteralType:"NumericLiteralType",BooleanLiteralType:"BooleanLiteralType"},e={ILLEGAL:0,DOT_LT:1,REST:2,LT:3,GT:4,LPAREN:5,RPAREN:6,LBRACE:7,RBRACE:8,LBRACK:9,RBRACK:10,COMMA:11,COLON:12,STAR:13,PIPE:14,QUESTION:15,BANG:16,EQUAL:17,NAME:18,STRING:19,NUMBER:20,EOF:21};function F(s){return"><(){}[],:*|?!=".indexOf(String.fromCharCode(s))===-1&&!f.code.isWhiteSpace(s)&&!f.code.isLineTerminator(s)}function m(s,D,d,o){this._previous=s,this._index=D,this._token=d,this._value=o}m.prototype.restore=function(){i=this._previous,a=this._index,n=this._token,l=this._value},m.save=function(){return new m(i,a,n,l)};function v(s,D){return x&&(s.range=[D[0]+T,D[1]+T]),s}function c(){var s=r.charAt(a);return a+=1,s}function E(s){var D,d,o,A=0;for(d=s==="u"?4:2,D=0;D=0&&a=t)return e.ILLEGAL;if(D=r.charCodeAt(a+1),D===60)break}l+=c()}return e.NAME}function M(){var s;for(i=a;a=t)return n=e.EOF,n;switch(s=r.charCodeAt(a),s){case 39:case 34:return n=I(),n;case 58:return c(),n=e.COLON,n;case 44:return c(),n=e.COMMA,n;case 40:return c(),n=e.LPAREN,n;case 41:return c(),n=e.RPAREN,n;case 91:return c(),n=e.LBRACK,n;case 93:return c(),n=e.RBRACK,n;case 123:return c(),n=e.LBRACE,n;case 125:return c(),n=e.RBRACE,n;case 46:if(a+1=97&&C<=122||C>=65&&C<=90||C>=48&&C<=57}function B(C){return C==="param"||C==="argument"||C==="arg"}function T(C){return C==="return"||C==="returns"}function x(C){return C==="property"||C==="prop"}function F(C){return B(C)||x(C)||C==="alias"||C==="this"||C==="mixes"||C==="requires"}function m(C){return F(C)||C==="const"||C==="constant"}function v(C){return x(C)||B(C)}function c(C){return x(C)||B(C)}function E(C){return B(C)||T(C)||C==="define"||C==="enum"||C==="implements"||C==="this"||C==="type"||C==="typedef"||x(C)}function I(C){return E(C)||C==="throws"||C==="const"||C==="constant"||C==="namespace"||C==="member"||C==="var"||C==="module"||C==="constructor"||C==="class"||C==="extends"||C==="augments"||C==="public"||C==="private"||C==="protected"}var L="[ \\f\\t\\v\\u00a0\\u1680\\u180e\\u2000-\\u200a\\u202f\\u205f\\u3000\\ufeff]",z="("+L+"*(?:\\*"+L+`?)?)(.+|[\r +\u2028\u2029])`;function M(C){return C.replace(/^\/\*\*?/,"").replace(/\*\/$/,"").replace(new RegExp(z,"g"),"$2").replace(/\s*$/,"")}function _(C,k){for(var p=C.replace(/^\/\*\*?/,""),j=0,G=new RegExp(z,"g"),g;g=G.exec(p);)if(j+=g[1].length,g.index+g[0].length>k+j)return k+j+C.length-p.length;return C.replace(/\*\/$/,"").replace(/\s*$/,"").length}(function(C){var k,p,j,G,g,nu,Eu,V,fu;function $(){var o=g.charCodeAt(p);return p+=1,a.code.isLineTerminator(o)&&!(o===13&&g.charCodeAt(p)===10)&&(j+=1),String.fromCharCode(o)}function $u(){var o="";for($();p=o)return null;if(g.charCodeAt(p)===91)if(A)N=!0,y=$();else return null;if(y+=K(o),h)for(g.charCodeAt(p)===58&&(y==="module"||y==="external"||y==="event")&&(y+=$(),y+=K(o)),g.charCodeAt(p)===91&&g.charCodeAt(p+1)===93&&(y+=$(),y+=$());g.charCodeAt(p)===46||g.charCodeAt(p)===47||g.charCodeAt(p)===35||g.charCodeAt(p)===45||g.charCodeAt(p)===126;)y+=$(),y+=K(o);if(N){if(J(o),g.charCodeAt(p)===61){y+=$(),J(o);for(var R,q=1;p=o||g.charCodeAt(p)!==93)return null;y+=$()}return y}function wu(){for(;p=G?!1:(r.assert(g.charCodeAt(p)===64),!0)}function w(o){return g===nu?o:_(nu,o)}function O(o,A){this._options=o,this._title=A.toLowerCase(),this._tag={title:A,description:null},this._options.lineNumbers&&(this._tag.lineNumber=j),this._first=p-A.length-1,this._last=0,this._extra={}}O.prototype.addError=function(A){var h=Array.prototype.slice.call(arguments,1),y=A.replace(/%(\d)/g,function(N,b){return r.assert(b1&&(this._tag.default=o.slice(1).join("=")),this._tag.name=o[0],this._tag.type&&this._tag.type.type!=="OptionalType"&&(this._tag.type={type:"OptionalType",expression:this._tag.type}));else{if(!F(this._title))return!0;if(B(this._title)&&this._tag.type&&this._tag.type.name)this._extra.name=this._tag.type,this._tag.name=this._tag.type.name,this._tag.type=null;else if(!this.addError("Missing or invalid tag name"))return!1}return!0},O.prototype.parseDescription=function(){var A=n(g,p,this._last).trim();return A&&(/^-\s+/.test(A)&&(A=A.substring(2)),this._tag.description=A),!0},O.prototype.parseCaption=function(){var A=n(g,p,this._last).trim(),h="",y="",N=A.indexOf(h),b=A.indexOf(y);return N>=0&&b>=0?(this._tag.caption=A.substring(N+h.length,b).trim(),this._tag.description=A.substring(b+y.length).trim()):this._tag.description=A,!0},O.prototype.parseKind=function(){var A,h;return h={class:!0,constant:!0,event:!0,external:!0,file:!0,function:!0,member:!0,mixin:!0,module:!0,namespace:!0,typedef:!0},A=n(g,p,this._last).trim(),this._tag.kind=A,!(!i(h,A)&&!this.addError("Invalid kind name '%0'",A))},O.prototype.parseAccess=function(){var A;return A=n(g,p,this._last).trim(),this._tag.access=A,!(A!=="private"&&A!=="protected"&&A!=="public"&&!this.addError("Invalid access name '%0'",A))},O.prototype.parseThis=function(){var A=n(g,p,this._last).trim();if(A&&A.charAt(0)==="{"){var h=this.parseType();return h&&this._tag.type.type==="NameExpression"||this._tag.type.type==="UnionType"?(this._tag.name=this._tag.type.name,!0):this.addError("Invalid name for this")}else return this.parseNamePath()},O.prototype.parseVariation=function(){var A,h;return h=n(g,p,this._last).trim(),A=parseFloat(h,10),this._tag.variation=A,!(isNaN(A)&&!this.addError("Invalid variation '%0'",h))},O.prototype.ensureEnd=function(){var o=n(g,p,this._last).trim();return!(o&&!this.addError("Unknown content '%0'",o))},O.prototype.epilogue=function(){var A;return A=this._tag.description,!(c(this._title)&&!this._tag.type&&A&&A.charAt(0)==="["&&(this._tag.type=this._extra.name,this._tag.name||(this._tag.name=void 0),!V&&!this.addError("Missing or invalid tag name")))},k={access:["parseAccess"],alias:["parseNamePath","ensureEnd"],augments:["parseType","parseNamePathOptional","ensureEnd"],constructor:["parseType","parseNamePathOptional","ensureEnd"],class:["parseType","parseNamePathOptional","ensureEnd"],extends:["parseType","parseNamePathOptional","ensureEnd"],example:["parseCaption"],deprecated:["parseDescription"],global:["ensureEnd"],inner:["ensureEnd"],instance:["ensureEnd"],kind:["parseKind"],mixes:["parseNamePath","ensureEnd"],mixin:["parseNamePathOptional","ensureEnd"],member:["parseType","parseNamePathOptional","ensureEnd"],method:["parseNamePathOptional","ensureEnd"],module:["parseType","parseNamePathOptional","ensureEnd"],func:["parseNamePathOptional","ensureEnd"],function:["parseNamePathOptional","ensureEnd"],var:["parseType","parseNamePathOptional","ensureEnd"],name:["parseNamePath","ensureEnd"],namespace:["parseType","parseNamePathOptional","ensureEnd"],private:["parseType","parseDescription"],protected:["parseType","parseDescription"],public:["parseType","parseDescription"],readonly:["ensureEnd"],requires:["parseNamePath","ensureEnd"],since:["parseDescription"],static:["ensureEnd"],summary:["parseDescription"],this:["parseThis","ensureEnd"],todo:["parseDescription"],typedef:["parseType","parseNamePathOptional"],variation:["parseVariation"],version:["parseDescription"]},O.prototype.parse=function(){var A,h,y,N;if(!this._title&&!this.addError("Missing or invalid title"))return null;for(this._last=iu(this._title),this._options.range&&(this._tag.range=[this._first,g.slice(0,this._last).replace(/\s*$/,"").length].map(w)),i(k,this._title)?y=k[this._title]:y=["parseType","parseName","parseDescription","epilogue"],A=0,h=y.length;Au.replace(ur,""),pA=u=>ur.test(u),er=u=>{let e=fA(u);return pA(u)||Number.isNaN(Number(e))?e:Number(e)},BA=u=>{switch(u.type){case"function":return{name:"function"};case"object":let e={};return u.signature.properties.forEach(r=>{e[r.key]=Fu(r.value)}),{name:"object",value:e};default:throw new Error(`Unknown: ${u}`)}},Fu=u=>{let{name:e,raw:r}=u,t={};switch(typeof r<"u"&&(t.raw=r),u.name){case"string":case"number":case"symbol":case"boolean":return{...t,name:e};case"Array":return{...t,name:"array",value:u.elements.map(Fu)};case"signature":return{...t,...BA(u)};case"union":let a;return u.elements.every(i=>i.name==="literal")?a={...t,name:"enum",value:u.elements.map(i=>er(i.value))}:a={...t,name:e,value:u.elements.map(Fu)},a;case"intersection":return{...t,name:e,value:u.elements.map(Fu)};default:return{...t,name:"other",value:e}}},hA=u=>u.name==="literal",dA=u=>u.value.replace(/['|"]/g,""),vA=u=>{switch(u.type){case"function":return{name:"function"};case"object":let e={};return u.signature.properties.forEach(r=>{e[r.key]=Cu(r.value)}),{name:"object",value:e};default:throw new Error(`Unknown: ${u}`)}},Cu=u=>{let{name:e,raw:r}=u,t={};switch(typeof r<"u"&&(t.raw=r),u.name){case"literal":return{...t,name:"other",value:u.value};case"string":case"number":case"symbol":case"boolean":return{...t,name:e};case"Array":return{...t,name:"array",value:u.elements.map(Cu)};case"signature":return{...t,...vA(u)};case"union":return u.elements.every(hA)?{...t,name:"enum",value:u.elements.map(dA)}:{...t,name:e,value:u.elements.map(Cu)};case"intersection":return{...t,name:e,value:u.elements.map(Cu)};default:return{...t,name:"other",value:e}}},yA=/^\(.*\) => /,Au=u=>{let{name:e,raw:r,computed:t,value:a}=u,i={};switch(typeof r<"u"&&(i.raw=r),e){case"enum":{let l=t?a:a.map(f=>er(f.value));return{...i,name:e,value:l}}case"string":case"number":case"symbol":return{...i,name:e};case"func":return{...i,name:"function"};case"bool":case"boolean":return{...i,name:"boolean"};case"arrayOf":case"array":return{...i,name:"array",value:a&&Au(a)};case"object":return{...i,name:e};case"objectOf":return{...i,name:e,value:Au(a)};case"shape":case"exact":let n=W1(a,l=>Au(l));return{...i,name:"object",value:n};case"union":return{...i,name:"union",value:a.map(l=>Au(l))};case"instanceOf":case"element":case"elementType":default:{if((e==null?void 0:e.indexOf("|"))>0)try{let B=e.split("|").map(T=>JSON.parse(T));return{...i,name:"enum",value:B}}catch{}let l=a?`${e}(${a})`:e,f=yA.test(e)?"function":"other";return{...i,name:f,value:l}}}},Qu=u=>{let{type:e,tsType:r,flowType:t}=u;return e!=null?Au(e):r!=null?Fu(r):t!=null?Cu(t):null},gA=(u=>(u.JAVASCRIPT="JavaScript",u.FLOW="Flow",u.TYPESCRIPT="TypeScript",u.UNKNOWN="Unknown",u))(gA||{}),mA=["null","undefined"];function Yu(u){return mA.some(e=>e===u)}var _A=u=>{if(!u)return"";if(typeof u=="string")return u;throw new Error(`Description: expected string, got: ${JSON.stringify(u)}`)};function rr(u){return!!u.__docgenInfo}function xA(u){return u!=null&&Object.keys(u).length>0}function TA(u,e){return rr(u)?u.__docgenInfo[e]:null}function bA(u){return rr(u)?_A(u.__docgenInfo.description):""}function SA(u){return u!=null&&u.includes("@")}function $A(u,e){let r;try{r=cA.parse(u??"",{tags:e,sloppy:!0})}catch(t){throw console.error(t),new Error("Cannot parse JSDoc tags.")}return r}var wA={tags:["param","arg","argument","returns","ignore","deprecated"]},OA=(u,e=wA)=>{if(!SA(u))return{includesJsDoc:!1,ignore:!1};let r=$A(u,e.tags),t=NA(r);return t.ignore?{includesJsDoc:!0,ignore:!0}:{includesJsDoc:!0,ignore:!1,description:r.description,extractedTags:t}};function NA(u){let e={params:null,deprecated:null,returns:null,ignore:!1};for(let r=0;re.includes("null")?e.replace("-null","").replace(".null",""):u.name,getTypeName:()=>u.type!=null?Z(u.type):null}:null}function IA(u){return u.title!=null?u.description:null}function RA(u){return u.type!=null?{type:u.type,description:u.description,getTypeName:()=>Z(u.type)}:null}function Z(u){return(u==null?void 0:u.type)==="NameExpression"?u.name:(u==null?void 0:u.type)==="RecordType"?`({${u.fields.map(e=>{if(e.type==="FieldType"&&e.value!=null){let r=Z(e.value);return`${e.key}: ${r}`}return e.key}).join(", ")}})`:(u==null?void 0:u.type)==="UnionType"?`(${u.elements.map(Z).join("|")})`:(u==null?void 0:u.type)==="ArrayType"?"[]":(u==null?void 0:u.type)==="TypeApplication"&&u.expression!=null&&u.expression.name==="Array"?`${Z(u.applications[0])}[]`:(u==null?void 0:u.type)==="NullableType"||(u==null?void 0:u.type)==="NonNullableType"||(u==null?void 0:u.type)==="OptionalType"?Z(u.expression):(u==null?void 0:u.type)==="AllLiteral"?"any":null}function tr(u){return u.length>90}function LA(u){return u.length>50}function P(u,e){return u===e?{summary:u}:{summary:u,detail:e}}function ar({name:u,value:e,elements:r,raw:t}){return e??(r!=null?r.map(ar).join(" | "):t??u)}function MA({name:u,raw:e,elements:r}){return r!=null?P(r.map(ar).join(" | ")):e!=null?P(e.replace(/^\|\s*/,"")):P(u)}function kA({type:u,raw:e}){return e!=null?P(e):P(u)}function UA({type:u,raw:e}){return e!=null?tr(e)?P(u,e):P(e):P(u)}function jA(u){let{type:e}=u;return e==="object"?UA(u):kA(u)}function GA({name:u,raw:e}){return e!=null?tr(e)?P(u,e):P(e):P(u)}function KA(u){if(u==null)return null;switch(u.name){case"union":return MA(u);case"signature":return jA(u);default:return GA(u)}}function HA(u,e){if(u!=null){let{value:r}=u;if(!Yu(r))return LA(r)?P(e==null?void 0:e.name,r):P(r)}return null}var qA=(u,e)=>{let{flowType:r,description:t,required:a,defaultValue:i}=e;return{name:u,type:KA(r),required:a,description:t,defaultValue:HA(i??null,r??null)}};function WA({tsType:u,required:e}){if(u==null)return null;let r=u.name;return e||(r=r.replace(" | undefined","")),P(["Array","Record","signature"].includes(u.name)?u.raw:r)}function zA({defaultValue:u}){if(u!=null){let{value:e}=u;if(!Yu(e))return P(e)}return null}var VA=(u,e)=>{let{description:r,required:t}=e;return{name:u,type:WA(e),required:t,description:r,defaultValue:zA(e)}};function JA(u){return u!=null?P(u.name):null}function QA(u){let{computed:e,func:r}=u;return typeof e>"u"&&typeof r>"u"}function YA(u){return u?u.name==="string"?!0:u.name==="enum"?Array.isArray(u.value)&&u.value.every(({value:e})=>typeof e=="string"&&e[0]==='"'&&e[e.length-1]==='"'):!1:!1}function XA(u,e){if(u!=null){let{value:r}=u;if(!Yu(r))return QA(u)&&YA(e)?P(JSON.stringify(r)):P(r)}return null}function nr(u,e,r){let{description:t,required:a,defaultValue:i}=r;return{name:u,type:JA(e),required:a,description:t,defaultValue:XA(i,e)}}function Su(u,e){var r;if(e!=null&&e.includesJsDoc){let{description:t,extractedTags:a}=e;t!=null&&(u.description=e.description);let i={...a,params:(r=a==null?void 0:a.params)==null?void 0:r.map(n=>({name:n.getPrettyName(),description:n.description}))};Object.values(i).filter(Boolean).length>0&&(u.jsDocTags=i)}return u}var ZA=(u,e,r)=>{let t=nr(u,e.type,e);return t.sbType=Qu(e),Su(t,r)},uo=(u,e,r)=>{let t=VA(u,e);return t.sbType=Qu(e),Su(t,r)},eo=(u,e,r)=>{let t=qA(u,e);return t.sbType=Qu(e),Su(t,r)},ro=(u,e,r)=>{let t=nr(u,{name:"unknown"},e);return Su(t,r)},ir=u=>{switch(u){case"JavaScript":return ZA;case"TypeScript":return uo;case"Flow":return eo;default:return ro}},sr=u=>u.type!=null?"JavaScript":u.flowType!=null?"Flow":u.tsType!=null?"TypeScript":"Unknown",to=u=>{let e=sr(u[0]),r=ir(e);return u.map(t=>{var i;let a=t;return(i=t.type)!=null&&i.elements&&(a={...t,type:{...t.type,value:t.type.elements}}),Dr(a.name,a,e,r)})},ao=u=>{let e=Object.keys(u),r=sr(u[e[0]]),t=ir(r);return e.map(a=>{let i=u[a];return i!=null?Dr(a,i,r,t):null}).filter(Boolean)},oo=(u,e)=>{let r=TA(u,e);return xA(r)?Array.isArray(r)?to(r):ao(r):[]};function Dr(u,e,r,t){let a=OA(e.description);return a.includesJsDoc&&a.ignore?null:{propDef:t(u,e,a),jsDocTags:a.extractedTags,docgenInfo:e,typeSystem:r}}function Fo(u){return u!=null?bA(u):""}var Co=u=>{let{component:e,argTypes:r,parameters:{docs:t={}}}=u,{extractArgTypes:a}=t,i=a&&e?a(e):{};return i?EA(i,r):r},no="storybook/docs",lo=`${no}/snippet-rendered`,io=(u=>(u.AUTO="auto",u.CODE="code",u.DYNAMIC="dynamic",u))(io||{});export{w0 as A,b0 as B,q0 as C,Ki as D,TD as E,U1 as F,vs as G,Bi as H,ei as I,ni as J,Hu as K,ci as L,gu as M,Os as N,E0 as O,c0 as P,Me as Q,Ne as R,lo as S,gA as T,as as U,H as _,zu as a,lu as b,Ao as c,cu as d,W as e,Fo as f,Co as g,P as h,ju as i,TA as j,io as k,Do as l,rr as m,oo as n,LA as o,tr as p,Ct as q,Le as r,ze as s,Pe as t,ou as u,bu as v,Ve as w,ki as x,Zi as y,zi as z}; diff --git a/assets/index-4RSmxb3z.js b/assets/index-4RSmxb3z.js deleted file mode 100644 index b131dd61..00000000 --- a/assets/index-4RSmxb3z.js +++ /dev/null @@ -1,370 +0,0 @@ -import{_ as Pt}from"./iframe-uScXI0l2.js";import{r as b,a as Bl,R as a}from"./index-4g5l5LRQ.js";import{g as Rn,c as sa}from"./_commonjsHelpers-4gQjN7DL.js";import{r as Ss,R as q0}from"./index-jmm5gWkb.js";import{L as Cs,O as U0}from"./index-ogXoivrg.js";import{q as ks,r as W0,s as _s,t as G0,i as Fn,v as Y0,w as K0,x as X0,c as Os,y as Ts,z as J0,A as Rs,B as Q0,C as e1,D as t1,E as r1,F as n1,G as a1,H as Fs,I as o1,J as l1,K as $s,_ as i1,L as s1,M as u1,N as _o,d as Ds,O as Ls,P as Ms,Q as c1,R as d1,U as p1,e as f1,S as Il,V as Ha,k as ua}from"./index-MVbLLYTZ.js";import{d as Ee}from"./index-PPLHz8o0.js";var Ne=e=>`control-${e.replace(/\s+/g,"-")}`,$n=e=>`set-${e.replace(/\s+/g,"-")}`;const{global:m1}=__STORYBOOK_MODULE_GLOBAL__,{logger:g1}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var h1=Object.create,Bs=Object.defineProperty,b1=Object.getOwnPropertyDescriptor,Is=Object.getOwnPropertyNames,y1=Object.getPrototypeOf,v1=Object.prototype.hasOwnProperty,Oo=(e,t)=>function(){return t||(0,e[Is(e)[0]])((t={exports:{}}).exports,t),t.exports},E1=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Is(t))!v1.call(e,o)&&o!==r&&Bs(e,o,{get:()=>t[o],enumerable:!(n=b1(t,o))||n.enumerable});return e},Ps=(e,t,r)=>(r=e!=null?h1(y1(e)):{},E1(t||!e||!e.__esModule?Bs(r,"default",{value:e,enumerable:!0}):r,e));function Xt(){return Xt=Object.assign?Object.assign.bind():function(e){for(var t=1;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 sn(e,t,r){return S1()?sn=Reflect.construct.bind():sn=function(n,o,l){var i=[null];i.push.apply(i,o);var u=Function.bind.apply(n,i),s=new u;return l&&Cr(s,l.prototype),s},sn.apply(null,arguments)}function Va(e){var t=typeof Map=="function"?new Map:void 0;return Va=function(r){if(r===null||!A1(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(r))return t.get(r);t.set(r,n)}function n(){return sn(r,arguments,Za(this).constructor)}return n.prototype=Object.create(r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Cr(n,r)},Va(e)}var C1={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 k1(){for(var e=arguments.length,t=new Array(e),r=0;r1?o-1:0),i=1;i=0&&o<1?(u=l,s=i):o>=1&&o<2?(u=i,s=l):o>=2&&o<3?(s=l,c=i):o>=3&&o<4?(s=i,c=l):o>=4&&o<5?(u=i,c=l):o>=5&&o<6&&(u=l,c=i);var d=r-l/2,f=u+d,g=s+d,p=c+d;return n(f,g,p)}var Pl={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 O1(e){if(typeof e!="string")return e;var t=e.toLowerCase();return Pl[t]?"#"+Pl[t]:e}var T1=/^#[a-fA-F0-9]{6}$/,R1=/^#[a-fA-F0-9]{8}$/,F1=/^#[a-fA-F0-9]{3}$/,$1=/^#[a-fA-F0-9]{4}$/,da=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,D1=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,L1=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,M1=/^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 Dn(e){if(typeof e!="string")throw new Qe(3);var t=O1(e);if(t.match(T1))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(R1)){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(F1))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($1)){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=da.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var l=D1.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 i=L1.exec(t);if(i){var u=parseInt(""+i[1],10),s=parseInt(""+i[2],10)/100,c=parseInt(""+i[3],10)/100,d="rgb("+kr(u,s,c)+")",f=da.exec(d);if(!f)throw new Qe(4,t,d);return{red:parseInt(""+f[1],10),green:parseInt(""+f[2],10),blue:parseInt(""+f[3],10)}}var g=M1.exec(t.substring(0,50));if(g){var p=parseInt(""+g[1],10),h=parseInt(""+g[2],10)/100,m=parseInt(""+g[3],10)/100,w="rgb("+kr(p,h,m)+")",x=da.exec(w);if(!x)throw new Qe(4,t,w);return{red:parseInt(""+x[1],10),green:parseInt(""+x[2],10),blue:parseInt(""+x[3],10),alpha:parseFloat(""+g[4])>1?parseFloat(""+g[4])/100:parseFloat(""+g[4])}}throw new Qe(5)}function B1(e){var t=e.red/255,r=e.green/255,n=e.blue/255,o=Math.max(t,r,n),l=Math.min(t,r,n),i=(o+l)/2;if(o===l)return e.alpha!==void 0?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var u,s=o-l,c=i>.5?s/(2-o-l):s/(o+l);switch(o){case t:u=(r-n)/s+(r=1?En(e,t,r):"rgba("+kr(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?En(e.hue,e.saturation,e.lightness):"rgba("+kr(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Qe(2)}function qa(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return za("#"+Ot(e)+Ot(t)+Ot(r));if(typeof e=="object"&&t===void 0&&r===void 0)return za("#"+Ot(e.red)+Ot(e.green)+Ot(e.blue));throw new Qe(6)}function _r(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var o=Dn(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?qa(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?qa(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Qe(7)}var H1=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},Z1=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},V1=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},z1=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function Ns(e){if(typeof e!="object")throw new Qe(8);if(Z1(e))return _r(e);if(H1(e))return qa(e);if(z1(e))return N1(e);if(V1(e))return j1(e);throw new Qe(8)}function Hs(e,t,r){return function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):Hs(e,t,n)}}function Ln(e){return Hs(e,e.length,[])}function Mn(e,t,r){return Math.max(e,Math.min(t,r))}function q1(e,t){if(t==="transparent")return t;var r=js(t);return Ns(Xt({},r,{lightness:Mn(0,1,r.lightness-parseFloat(e))}))}var U1=Ln(q1),W1=U1;function G1(e,t){if(t==="transparent")return t;var r=js(t);return Ns(Xt({},r,{lightness:Mn(0,1,r.lightness+parseFloat(e))}))}var Y1=Ln(G1),K1=Y1;function X1(e,t){if(t==="transparent")return t;var r=Dn(t),n=typeof r.alpha=="number"?r.alpha:1,o=Xt({},r,{alpha:Mn(0,1,(n*100+parseFloat(e)*100)/100)});return _r(o)}var J1=Ln(X1),Q1=J1;function ed(e,t){if(t==="transparent")return t;var r=Dn(t),n=typeof r.alpha=="number"?r.alpha:1,o=Xt({},r,{alpha:Mn(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return _r(o)}var td=Ln(ed),rd=td,j={primary:"#FF4785",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",defaultText:"#2E3438",inverseText:"#FFFFFF",positiveText:"#448028",negativeText:"#D43900",warningText:"#A15C20"},vt={app:"#F6F9FC",bar:j.lightest,content:j.lightest,preview:j.lightest,gridCellSize:10,hoverable:rd(.9,j.secondary),positive:"#E1FFD4",negative:"#FEDED2",warning:"#FFF5CF",critical:"#FF4400"},et={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}},nd={base:"light",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:vt.app,appContentBg:j.lightest,appPreviewBg:j.lightest,appBorderColor:j.border,appBorderRadius:4,fontBase:et.fonts.base,fontCode:et.fonts.mono,textColor:j.darkest,textInverseColor:j.lightest,textMutedColor:j.dark,barTextColor:j.mediumdark,barHoverColor:j.secondary,barSelectedColor:j.secondary,barBg:j.lightest,buttonBg:vt.app,buttonBorder:j.medium,booleanBg:j.mediumlight,booleanSelectedBg:j.lightest,inputBg:j.lightest,inputBorder:j.border,inputTextColor:j.darkest,inputBorderRadius:4},xn=nd,ad={base:"dark",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:"#222425",appContentBg:"#1B1C1D",appPreviewBg:j.lightest,appBorderColor:"rgba(255,255,255,.1)",appBorderRadius:4,fontBase:et.fonts.base,fontCode:et.fonts.mono,textColor:"#C9CDCF",textInverseColor:"#222425",textMutedColor:"#798186",barTextColor:"#798186",barHoverColor:j.secondary,barSelectedColor:j.secondary,barBg:"#292C2E",buttonBg:"#222425",buttonBorder:"rgba(255,255,255,.1)",booleanBg:"#222425",booleanSelectedBg:"#2E3438",inputBg:"#1B1C1D",inputBorder:"rgba(255,255,255,.1)",inputTextColor:j.lightest,inputBorderRadius:4},od=ad,{window:fa}=m1,ld=e=>({color:e}),id=e=>typeof e!="string"?(g1.warn(`Color passed to theme object should be a string. Instead ${e}(${typeof e}) was passed.`),!1):!0,sd=e=>!/(gradient|var|calc)/.test(e),ud=(e,t)=>e==="darken"?_r(`${W1(1,t)}`,.95):e==="lighten"?_r(`${K1(1,t)}`,.95):t,cd=e=>t=>{if(!id(t)||!sd(t))return t;try{return ud(e,t)}catch{return t}},wr=cd("lighten"),Zs=()=>!fa||!fa.matchMedia?"light":fa.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light",Ua={light:xn,dark:od,normal:xn};Zs();var dd=function(t){return t()},Vs=Bl.useInsertionEffect?Bl.useInsertionEffect:!1,To=Vs||dd,jl=Vs||b.useLayoutEffect;function Jr(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var zs={exports:{}};(function(e,t){(function(r){e.exports=r()})(function(){return function r(n,o,l){function i(c,d){if(!o[c]){if(!n[c]){var f=typeof Jr=="function"&&Jr;if(!d&&f)return f(c,!0);if(u)return u(c,!0);var g=new Error("Cannot find module '"+c+"'");throw g.code="MODULE_NOT_FOUND",g}var p=o[c]={exports:{}};n[c][0].call(p.exports,function(h){var m=n[c][1][h];return i(m||h)},p,p.exports,r,n,o,l)}return o[c].exports}for(var u=typeof Jr=="function"&&Jr,s=0;s=0)return this.lastItem=this.list[u],this.list[u].val},l.prototype.set=function(i,u){var s;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=u,this):(s=this.indexOf(i),s>=0?(this.lastItem=this.list[s],this.list[s].val=u,this):(this.lastItem={key:i,val:u},this.list.push(this.lastItem),this.size++,this))},l.prototype.delete=function(i){var u;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),u=this.indexOf(i),u>=0)return this.size--,this.list.splice(u,1)[0]},l.prototype.has=function(i){var u;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(u=this.indexOf(i),u>=0?(this.lastItem=this.list[u],!0):!1)},l.prototype.forEach=function(i,u){var s;for(s=0;s0&&(v[x]={cacheItem:h,arg:arguments[x]},y?i(f,v):f.push(v),f.length>c&&u(f.shift())),p.wasMemoized=y,p.numArgs=x+1,w};return p.limit=c,p.wasMemoized=!1,p.cache=d,p.lru=f,p}};function i(c,d){var f=c.length,g=d.length,p,h,m;for(h=0;h=0&&(f=c[p],g=f.cacheItem.get(f.arg),!g||!g.size);p--)f.cacheItem.delete(f.arg)}function s(c,d){return c===d||c!==c&&d!==d}},{"map-or-similar":1}]},{},[3])(3)})})(zs);var pd=zs.exports;const Nt=Rn(pd),{logger:fd}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var md=Oo({"../../node_modules/react-is/cjs/react-is.development.js"(e){(function(){var t=typeof Symbol=="function"&&Symbol.for,r=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,o=t?Symbol.for("react.fragment"):60107,l=t?Symbol.for("react.strict_mode"):60108,i=t?Symbol.for("react.profiler"):60114,u=t?Symbol.for("react.provider"):60109,s=t?Symbol.for("react.context"):60110,c=t?Symbol.for("react.async_mode"):60111,d=t?Symbol.for("react.concurrent_mode"):60111,f=t?Symbol.for("react.forward_ref"):60112,g=t?Symbol.for("react.suspense"):60113,p=t?Symbol.for("react.suspense_list"):60120,h=t?Symbol.for("react.memo"):60115,m=t?Symbol.for("react.lazy"):60116,w=t?Symbol.for("react.block"):60121,x=t?Symbol.for("react.fundamental"):60117,v=t?Symbol.for("react.responder"):60118,y=t?Symbol.for("react.scope"):60119;function E(M){return typeof M=="string"||typeof M=="function"||M===o||M===d||M===i||M===l||M===g||M===p||typeof M=="object"&&M!==null&&(M.$$typeof===m||M.$$typeof===h||M.$$typeof===u||M.$$typeof===s||M.$$typeof===f||M.$$typeof===x||M.$$typeof===v||M.$$typeof===y||M.$$typeof===w)}function A(M){if(typeof M=="object"&&M!==null){var Ie=M.$$typeof;switch(Ie){case r:var Ze=M.type;switch(Ze){case c:case d:case o:case i:case l:case g:return Ze;default:var St=Ze&&Ze.$$typeof;switch(St){case s:case f:case m:case h:case u:return St;default:return Ie}}case n:return Ie}}}var S=c,C=d,k=s,O=u,T=r,R=f,F=o,$=m,P=h,D=n,L=i,N=l,V=g,B=!1;function H(M){return B||(B=!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.")),Y(M)||A(M)===c}function Y(M){return A(M)===d}function te(M){return A(M)===s}function G(M){return A(M)===u}function K(M){return typeof M=="object"&&M!==null&&M.$$typeof===r}function I(M){return A(M)===f}function z(M){return A(M)===o}function q(M){return A(M)===m}function ie(M){return A(M)===h}function he(M){return A(M)===n}function lt(M){return A(M)===i}function Te(M){return A(M)===l}function He(M){return A(M)===g}e.AsyncMode=S,e.ConcurrentMode=C,e.ContextConsumer=k,e.ContextProvider=O,e.Element=T,e.ForwardRef=R,e.Fragment=F,e.Lazy=$,e.Memo=P,e.Portal=D,e.Profiler=L,e.StrictMode=N,e.Suspense=V,e.isAsyncMode=H,e.isConcurrentMode=Y,e.isContextConsumer=te,e.isContextProvider=G,e.isElement=K,e.isForwardRef=I,e.isFragment=z,e.isLazy=q,e.isMemo=ie,e.isPortal=he,e.isProfiler=lt,e.isStrictMode=Te,e.isSuspense=He,e.isValidElementType=E,e.typeOf=A})()}}),gd=Oo({"../../node_modules/react-is/index.js"(e,t){t.exports=md()}}),qs=Oo({"../../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"(e,t){var r=gd(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},l={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},u={};u[r.ForwardRef]=l,u[r.Memo]=i;function s(w){return r.isMemo(w)?i:u[w.$$typeof]||n}var c=Object.defineProperty,d=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,g=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;function m(w,x,v){if(typeof x!="string"){if(h){var y=p(x);y&&y!==h&&m(w,y,v)}var E=d(x);f&&(E=E.concat(f(x)));for(var A=s(w),S=s(x),C=0;C0?ce(sr,--Ae):0,Jt--,ne===10&&(Jt=1,In--),ne}function Ce(){return ne=Ae2||Tr(ne)>3?"":" "}function Rd(e,t){for(;--t&&Ce()&&!(ne<48||ne>102||ne>57&&ne<65||ne>70&&ne<97););return Hr(e,un()+(t<6&&nt()==32&&Ce()==32))}function Ya(e){for(;Ce();)switch(ne){case e:return Ae;case 34:case 39:e!==34&&e!==39&&Ya(ne);break;case 40:e===41&&Ya(e);break;case 92:Ce();break}return Ae}function Fd(e,t){for(;Ce()&&e+ne!==57&&!(e+ne===84&&nt()===47););return"/*"+Hr(t,Ae-1)+"*"+Bn(e===47?e:Ce())}function $d(e){for(;!Tr(nt());)Ce();return Hr(e,Ae)}function Dd(e){return Xs(dn("",null,null,null,[""],e=Ks(e),0,[0],e))}function dn(e,t,r,n,o,l,i,u,s){for(var c=0,d=0,f=i,g=0,p=0,h=0,m=1,w=1,x=1,v=0,y="",E=o,A=l,S=n,C=y;w;)switch(h=v,v=Ce()){case 40:if(h!=108&&ce(C,f-1)==58){Ga(C+=W(cn(v),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:C+=cn(v);break;case 9:case 10:case 13:case 32:C+=Td(h);break;case 92:C+=Rd(un()-1,7);continue;case 47:switch(nt()){case 42:case 47:Qr(Ld(Fd(Ce(),un()),t,r),s);break;default:C+="/"}break;case 123*m:u[c++]=Ke(C)*x;case 125*m:case 59:case 0:switch(v){case 0:case 125:w=0;case 59+d:x==-1&&(C=W(C,/\f/g,"")),p>0&&Ke(C)-f&&Qr(p>32?Hl(C+";",n,r,f-1):Hl(W(C," ","")+";",n,r,f-2),s);break;case 59:C+=";";default:if(Qr(S=Nl(C,t,r,c,d,o,u,y,E=[],A=[],f),l),v===123)if(d===0)dn(C,t,S,S,E,l,f,u,A);else switch(g===99&&ce(C,3)===110?100:g){case 100:case 108:case 109:case 115:dn(e,S,S,n&&Qr(Nl(e,S,S,0,0,o,u,y,o,E=[],f),A),o,A,f,u,n?E:A);break;default:dn(C,S,S,S,[""],A,0,u,A)}}c=d=p=0,m=x=1,y=C="",f=i;break;case 58:f=1+Ke(C),p=h;default:if(m<1){if(v==123)--m;else if(v==125&&m++==0&&Od()==125)continue}switch(C+=Bn(v),v*m){case 38:x=d>0?1:(C+="\f",-1);break;case 44:u[c++]=(Ke(C)-1)*x,x=1;break;case 64:nt()===45&&(C+=cn(Ce())),g=nt(),d=f=Ke(y=C+=$d(un())),v++;break;case 45:h===45&&Ke(C)==2&&(m=0)}}return l}function Nl(e,t,r,n,o,l,i,u,s,c,d){for(var f=o-1,g=o===0?l:[""],p=Lo(g),h=0,m=0,w=0;h0?g[x]+" "+v:W(v,/&\f/g,g[x])))&&(s[w++]=y);return Pn(e,t,r,o===0?$o:u,s,c,d)}function Ld(e,t,r){return Pn(e,t,r,Fo,Bn(_d()),Or(e,2,-2),0)}function Hl(e,t,r,n){return Pn(e,t,r,Do,Or(e,0,n),Or(e,n+1,-1),n)}function Kt(e,t){for(var r="",n=Lo(e),o=0;o-1},zd=function(e){return function(t,r,n){if(!(t.type!=="rule"||e.compat)){var o=t.value.match(/(:first|:nth|:nth-last)-child/g);if(o){for(var l=!!t.parent,i=l?t.parent.children:n,u=i.length-1;u>=0;u--){var s=i[u];if(s.line=0;r--)if(!Js(t[r]))return!0;return!1},zl=function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},Ud=function(e,t,r){Js(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),zl(e)):qd(t,r)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),zl(e)))};function Qs(e,t){switch(Sd(e,t)){case 5103:return U+"print-"+e+e;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 U+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return U+e+wn+e+ge+e+e;case 6828:case 4268:return U+e+ge+e+e;case 6165:return U+e+ge+"flex-"+e+e;case 5187:return U+e+W(e,/(\w+).+(:[^]+)/,U+"box-$1$2"+ge+"flex-$1$2")+e;case 5443:return U+e+ge+"flex-item-"+W(e,/flex-|-self/,"")+e;case 4675:return U+e+ge+"flex-line-pack"+W(e,/align-content|flex-|-self/,"")+e;case 5548:return U+e+ge+W(e,"shrink","negative")+e;case 5292:return U+e+ge+W(e,"basis","preferred-size")+e;case 6060:return U+"box-"+W(e,"-grow","")+U+e+ge+W(e,"grow","positive")+e;case 4554:return U+W(e,/([^-])(transform)/g,"$1"+U+"$2")+e;case 6187:return W(W(W(e,/(zoom-|grab)/,U+"$1"),/(image-set)/,U+"$1"),e,"")+e;case 5495:case 3959:return W(e,/(image-set\([^]*)/,U+"$1$`$1");case 4968:return W(W(e,/(.+:)(flex-)?(.*)/,U+"box-pack:$3"+ge+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+U+e+e;case 4095:case 3583:case 4068:case 2532:return W(e,/(.+)-inline(.+)/,U+"$1$2")+e;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(Ke(e)-1-t>6)switch(ce(e,t+1)){case 109:if(ce(e,t+4)!==45)break;case 102:return W(e,/(.+:)(.+)-([^]+)/,"$1"+U+"$2-$3$1"+wn+(ce(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Ga(e,"stretch")?Qs(W(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(ce(e,t+1)!==115)break;case 6444:switch(ce(e,Ke(e)-3-(~Ga(e,"!important")&&10))){case 107:return W(e,":",":"+U)+e;case 101:return W(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+U+(ce(e,14)===45?"inline-":"")+"box$3$1"+U+"$2$3$1"+ge+"$2box$3")+e}break;case 5936:switch(ce(e,t+11)){case 114:return U+e+ge+W(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return U+e+ge+W(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return U+e+ge+W(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return U+e+ge+e+e}return e}var Wd=function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case Do:e.return=Qs(e.value,e.length);break;case Ws:return Kt([br(e,{value:W(e.value,"@","@"+U)})],n);case $o:if(e.length)return kd(e.props,function(o){switch(Cd(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Kt([br(e,{props:[W(o,/:(read-\w+)/,":"+wn+"$1")]})],n);case"::placeholder":return Kt([br(e,{props:[W(o,/:(plac\w+)/,":"+U+"input-$1")]}),br(e,{props:[W(o,/:(plac\w+)/,":"+wn+"$1")]}),br(e,{props:[W(o,/:(plac\w+)/,ge+"input-$1")]})],n)}return""})}},Gd=[Wd],Yd=function(e){var t=e.key;if(!t)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache. -If multiple caches share the same key they might "fight" for each other's style elements.`);if(t==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(h){var m=h.getAttribute("data-emotion");m.indexOf(" ")!==-1&&(document.head.appendChild(h),h.setAttribute("data-s",""))})}var n=e.stylisPlugins||Gd;if(/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var o={},l,i=[];l=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(h){for(var m=h.getAttribute("data-emotion").split(" "),w=1;w=4;++n,o-=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(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Jd={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},ql=`You have illegal escape sequence in your template literal, most likely inside content's property value. -Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';". -You can read more about this here: -https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,Qd="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",ep=/[A-Z]|^ms/g,eu=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Bo=function(e){return e.charCodeAt(1)===45},Ul=function(e){return e!=null&&typeof e!="boolean"},ma=Us(function(e){return Bo(e)?e:e.replace(ep,"-$&").toLowerCase()}),An=function(e,t){switch(e){case"animation":case"animationName":if(typeof t=="string")return t.replace(eu,function(r,n,o){return Xe={name:n,styles:o,next:Xe},n})}return Jd[e]!==1&&!Bo(e)&&typeof t=="number"&&t!==0?t+"px":t};Wl=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,Gl=["normal","none","initial","inherit","unset"],Yl=An,Kl=/^-ms-/,Xl=/-(.)/g,ga={},An=function(e,t){if(e==="content"&&(typeof t!="string"||Gl.indexOf(t)===-1&&!Wl.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||t.charAt(0)!=='"'&&t.charAt(0)!=="'")))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+t+"\"'`");var r=Yl(e,t);return r!==""&&!Bo(e)&&e.indexOf("-")!==-1&&ga[e]===void 0&&(ga[e]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+e.replace(Kl,"ms-").replace(Xl,function(n,o){return o.toUpperCase()})+"?")),r};var Wl,Gl,Yl,Kl,Xl,ga,tu="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Rr(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0){if(r.toString()==="NO_COMPONENT_SELECTOR")throw new Error(tu);return r}switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return Xe={name:r.name,styles:r.styles,next:Xe},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)Xe={name:n.name,styles:n.styles,next:Xe},n=n.next;var o=r.styles+";";return r.map!==void 0&&(o+=r.map),o}return tp(e,t,r)}case"function":{if(e!==void 0){var l=Xe,i=r(e);return Xe=l,Rr(e,t,i)}else console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break}case"string":var u=[],s=r.replace(eu,function(d,f,g){var p="animation"+u.length;return u.push("const "+p+" = keyframes`"+g.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+p+"}"});u.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(u,["`"+s+"`"]).join(` -`)+` - -You should wrap it with \`css\` like this: - -`+("css`"+s+"`"));break}if(t==null)return r;var c=t[r];return c!==void 0?c:r}function tp(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o ({})}!");return r}if(t==null||typeof t!="object"||Array.isArray(t))throw new Error("[ThemeProvider] Please make your theme prop a plain object");return Ka({},e,t)},op=Zl(function(e){return Zl(function(t){return ap(e,t)})}),nu=function(e){var t=b.useContext(wt);return e.theme!==t&&(t=op(t)(e.theme)),b.createElement(wt.Provider,{value:t},e.children)},Ql="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",ei="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",lp=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return jn(t,r,n),To(function(){return Nn(t,r,n)}),null},ip=Hn(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var o=e[Ql],l=[n],i="";typeof e.className=="string"?i=Mo(t.registered,l,e.className):e.className!=null&&(i=e.className+" ");var u=Qt(l,void 0,b.useContext(wt));if(u.name.indexOf("-")===-1){var s=e[ei];s&&(u=Qt([u,"label:"+s+";"]))}i+=t.key+"-"+u.name;var c={};for(var d in e)rp.call(e,d)&&d!=="css"&&d!==Ql&&d!==ei&&(c[d]=e[d]);return c.ref=r,c.className=i,b.createElement(b.Fragment,null,b.createElement(lp,{cache:t,serialized:u,isStringTag:typeof o=="string"}),b.createElement(o,c))});ip.displayName="EmotionCssPropInternal";Ps(qs());var sp={name:"@emotion/react",version:"11.11.1",main:"dist/emotion-react.cjs.js",module:"dist/emotion-react.esm.js",browser:{"./dist/emotion-react.esm.js":"./dist/emotion-react.browser.esm.js"},exports:{".":{module:{worker:"./dist/emotion-react.worker.esm.js",browser:"./dist/emotion-react.browser.esm.js",default:"./dist/emotion-react.esm.js"},import:"./dist/emotion-react.cjs.mjs",default:"./dist/emotion-react.cjs.js"},"./jsx-runtime":{module:{worker:"./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",browser:"./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"},import:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"},"./_isolated-hnrs":{module:{worker:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js",browser:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"},import:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"},"./jsx-dev-runtime":{module:{worker:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js",browser:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"},import:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"},"./package.json":"./package.json","./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}},types:"types/index.d.ts",files:["src","dist","jsx-runtime","jsx-dev-runtime","_isolated-hnrs","types/*.d.ts","macro.*"],sideEffects:!1,author:"Emotion Contributors",license:"MIT",scripts:{"test:typescript":"dtslint types"},dependencies:{"@babel/runtime":"^7.18.3","@emotion/babel-plugin":"^11.11.0","@emotion/cache":"^11.11.0","@emotion/serialize":"^1.1.2","@emotion/use-insertion-effect-with-fallbacks":"^1.0.1","@emotion/utils":"^1.2.1","@emotion/weak-memoize":"^0.3.1","hoist-non-react-statics":"^3.3.1"},peerDependencies:{react:">=16.8.0"},peerDependenciesMeta:{"@types/react":{optional:!0}},devDependencies:{"@definitelytyped/dtslint":"0.0.112","@emotion/css":"11.11.0","@emotion/css-prettifier":"1.1.3","@emotion/server":"11.11.0","@emotion/styled":"11.11.0","html-tag-names":"^1.1.2",react:"16.14.0","svg-tag-names":"^1.1.1",typescript:"^4.5.5"},repository:"https://github.com/emotion-js/emotion/tree/main/packages/react",publishConfig:{access:"public"},"umd:main":"dist/emotion-react.umd.min.js",preconstruct:{entrypoints:["./index.js","./jsx-runtime.js","./jsx-dev-runtime.js","./_isolated-hnrs.js"],umdName:"emotionReact",exports:{envConditions:["browser","worker"],extra:{"./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}}}}},ti=!1,up=Hn(function(e,t){!ti&&(e.className||e.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),ti=!0);var r=e.styles,n=Qt([r],void 0,b.useContext(wt)),o=b.useRef();return jl(function(){var l=t.key+"-global",i=new t.sheet.constructor({key:l,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),u=!1,s=document.querySelector('style[data-emotion="'+l+" "+n.name+'"]');return t.sheet.tags.length&&(i.before=t.sheet.tags[0]),s!==null&&(u=!0,s.setAttribute("data-emotion",l),i.hydrate([s])),o.current=[i,u],function(){i.flush()}},[t]),jl(function(){var l=o.current,i=l[0],u=l[1];if(u){l[1]=!1;return}if(n.next!==void 0&&Nn(t,n.next,!0),i.tags.length){var s=i.tags[i.tags.length-1].nextElementSibling;i.before=s,i.flush()}t.insert("",n,i,!1)},[t,n.name]),null});up.displayName="EmotionGlobal";function Po(){for(var e=arguments.length,t=new Array(e),r=0;r component."),i="";for(var u in l)l[u]&&u&&(i&&(i+=" "),i+=u)}break}default:i=l}i&&(o&&(o+=" "),o+=i)}}return o};function dp(e,t,r){var n=[],o=Mo(e,n,r);return n.length<2?r:o+t(n)}var pp=function(e){var t=e.cache,r=e.serializedArr;return To(function(){for(var n=0;n96?mp:gp},ai=function(e,t,r){var n;if(t){var o=t.shouldForwardProp;n=e.__emotion_forwardProp&&o?function(l){return e.__emotion_forwardProp(l)&&o(l)}:o}return typeof n!="function"&&r&&(n=e.__emotion_forwardProp),n},oi=`You have illegal escape sequence in your template literal, most likely inside content's property value. -Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';". -You can read more about this here: -https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,hp=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return jn(t,r,n),To(function(){return Nn(t,r,n)}),null},bp=function e(t,r){if(t===void 0)throw new Error(`You are trying to create a styled element with an undefined component. -You may have forgotten to import it.`);var n=t.__emotion_real===t,o=n&&t.__emotion_base||t,l,i;r!==void 0&&(l=r.label,i=r.target);var u=ai(t,r,n),s=u||ni(o),c=!s("as");return function(){var d=arguments,f=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(l!==void 0&&f.push("label:"+l+";"),d[0]==null||d[0].raw===void 0)f.push.apply(f,d);else{d[0][0]===void 0&&console.error(oi),f.push(d[0][0]);for(var g=d.length,p=1;p({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"}}));Nt(1)(({color:e,background:t,typography:r})=>{let n=vp({typography:r});return{...n,body:{...n.body,color:e.defaultText,background:t.app,overflow:"hidden"},hr:{...n.hr,borderTop:`1px solid ${e.border}`}}});var Ep={rubber:"cubic-bezier(0.175, 0.885, 0.335, 1.05)"},xp=ur` - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } -`,au=ur` - 0%, 100% { opacity: 1; } - 50% { opacity: .4; } -`,wp=ur` - 0% { transform: translateY(1px); } - 25% { transform: translateY(0px); } - 50% { transform: translateY(-3px); } - 100% { transform: translateY(1px); } -`,Ap=ur` - 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); } -`,Sp=Po` - animation: ${au} 1.5s ease-in-out infinite; - color: transparent; - cursor: progress; -`,Cp=Po` - transition: all 150ms ease-out; - transform: translate3d(0, 0, 0); - - &:hover { - transform: translate3d(0, -2px, 0); - } - - &:active { - transform: translate3d(0, 0, 0); - } -`,kp={rotate360:xp,glow:au,float:wp,jiggle:Ap,inlineGlow:Sp,hoverable:Cp},_p={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"},Op={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"},Tp=e=>Object.entries(e).reduce((t,[r,n])=>({...t,[r]:ld(n)}),{}),Rp=({colors:e,mono:t})=>{let r=Tp(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}}},Fp={green1:"#008000",red1:"#A31515",red2:"#9a050f",red3:"#800000",red4:"#ff0000",gray1:"#393A34",cyan1:"#36acaa",cyan2:"#2B91AF",blue1:"#0000ff",blue2:"#00009f"},$p={green1:"#7C7C7C",red1:"#92C379",red2:"#9a050f",red3:"#A8FF60",red4:"#96CBFE",gray1:"#EDEDED",cyan1:"#C6C5FE",cyan2:"#FFFFB6",blue1:"#B474DD",blue2:"#00009f"},Dp=e=>({primary:e.colorPrimary,secondary:e.colorSecondary,tertiary:j.tertiary,ancillary:j.ancillary,orange:j.orange,gold:j.gold,green:j.green,seafoam:j.seafoam,purple:j.purple,ultraviolet:j.ultraviolet,lightest:j.lightest,lighter:j.lighter,light:j.light,mediumlight:j.mediumlight,medium:j.medium,mediumdark:j.mediumdark,dark:j.dark,darker:j.darker,darkest:j.darkest,border:j.border,positive:j.positive,negative:j.negative,warning:j.warning,critical:j.critical,defaultText:e.textColor||j.darkest,inverseText:e.textInverseColor||j.lightest,positiveText:j.positiveText,negativeText:j.negativeText,warningText:j.warningText}),Xa=(e=Ua[Zs()])=>{let{base:t,colorPrimary:r,colorSecondary:n,appBg:o,appContentBg:l,appPreviewBg:i,appBorderColor:u,appBorderRadius:s,fontBase:c,fontCode:d,textColor:f,textInverseColor:g,barTextColor:p,barHoverColor:h,barSelectedColor:m,barBg:w,buttonBg:x,buttonBorder:v,booleanBg:y,booleanSelectedBg:E,inputBg:A,inputBorder:S,inputTextColor:C,inputBorderRadius:k,brandTitle:O,brandUrl:T,brandImage:R,brandTarget:F,gridCellSize:$,...P}=e;return{...P,base:t,color:Dp(e),background:{app:o,bar:w,content:l,preview:i,gridCellSize:$||vt.gridCellSize,hoverable:vt.hoverable,positive:vt.positive,negative:vt.negative,warning:vt.warning,critical:vt.critical},typography:{fonts:{base:c,mono:d},weight:et.weight,size:et.size},animation:kp,easing:Ep,input:{background:A,border:S,borderRadius:k,color:C},button:{background:x||A,border:v||S},boolean:{background:y||S,selectedBackground:E||A},layoutMargin:10,appBorderColor:u,appBorderRadius:s,barTextColor:p,barHoverColor:h||n,barSelectedColor:m||n,barBg:w,brand:{title:O,url:T,image:R||(O?null:void 0),target:F},code:Rp({colors:t==="light"?Fp:$p,mono:d}),addonActionsTheme:{...t==="light"?Op:_p,BASE_FONT_FAMILY:d,BASE_FONT_SIZE:et.size.s2-1,BASE_LINE_HEIGHT:"18px",BASE_BACKGROUND_COLOR:"transparent",BASE_COLOR:f,ARROW_COLOR:Q1(.2,u),ARROW_MARGIN_RIGHT:4,ARROW_FONT_SIZE:8,TREENODE_FONT_FAMILY:d,TREENODE_FONT_SIZE:et.size.s2-1,TREENODE_LINE_HEIGHT:"18px",TREENODE_PADDING_LEFT:12}}},Lp=e=>Object.keys(e).length===0,va=e=>e!=null&&typeof e=="object",Mp=(e,...t)=>Object.prototype.hasOwnProperty.call(e,...t),Bp=()=>Object.create(null),ou=(e,t)=>e===t||!va(e)||!va(t)?{}:Object.keys(e).reduce((r,n)=>{if(Mp(t,n)){let o=ou(e[n],t[n]);return va(o)&&Lp(o)||(r[n]=o),r}return r[n]=void 0,r},Bp()),Ip=ou;function Pp(e){for(var t=[],r=1;r{if(!e)return Xa(xn);let t=Ip(xn,e);return Object.keys(t).length&&fd.warn(Pp` - Your theme is missing properties, you should update your theme! - - theme-data missing: - `,t),Xa(e)},Ja="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */",Np=Object.create,lu=Object.defineProperty,Hp=Object.getOwnPropertyDescriptor,iu=Object.getOwnPropertyNames,Zp=Object.getPrototypeOf,Vp=Object.prototype.hasOwnProperty,Z=(e,t)=>function(){return t||(0,e[iu(e)[0]])((t={exports:{}}).exports,t),t.exports},zp=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of iu(t))!Vp.call(e,o)&&o!==r&&lu(e,o,{get:()=>t[o],enumerable:!(n=Hp(t,o))||n.enumerable});return e},_e=(e,t,r)=>(r=e!=null?Np(Zp(e)):{},zp(t||!e||!e.__esModule?lu(r,"default",{value:e,enumerable:!0}):r,e)),qp=Z({"../../node_modules/refractor/lang/markdown.js"(e,t){t.exports=r,r.displayName="markdown",r.aliases=["md"];function r(n){(function(o){var l=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function i(h){return h=h.replace(//g,function(){return l}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+h+")")}var u=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,s=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return u}),c=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;o.languages.markdown=o.languages.extend("markup",{}),o.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:o.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+s+c+"(?:"+s+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+s+c+")(?:"+s+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(u),inside:o.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+s+")"+c+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+s+"$"),inside:{"table-header":{pattern:RegExp(u),alias:"important",inside:o.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern: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(h){["url","bold","italic","strike","code-snippet"].forEach(function(m){h!==m&&(o.languages.markdown[h].inside.content.inside[m]=o.languages.markdown[m])})}),o.hooks.add("after-tokenize",function(h){if(h.language!=="markdown"&&h.language!=="md")return;function m(w){if(!(!w||typeof w=="string"))for(var x=0,v=w.length;x",quot:'"'},g=String.fromCodePoint||String.fromCharCode;function p(h){var m=h.replace(d,"");return m=m.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(w,x){if(x=x.toLowerCase(),x[0]==="#"){var v;return x[1]==="x"?v=parseInt(x.slice(2),16):v=Number(x.slice(1)),g(v)}else{var y=f[x];return y||w}}),m}o.languages.md=o.languages.markdown})(n)}}}),Up=Z({"../../node_modules/refractor/lang/yaml.js"(e,t){t.exports=r,r.displayName="yaml",r.aliases=["yml"];function r(n){(function(o){var l=/[*&][^\s[\]{},]+/,i=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,u="(?:"+i.source+"(?:[ ]+"+l.source+")?|"+l.source+"(?:[ ]+"+i.source+")?)",s=/(?:[^\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}),c=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function d(f,g){g=(g||"").replace(/m/g,"")+"m";var p=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return u}).replace(/<>/g,function(){return f});return RegExp(p,g)}o.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return u})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return u}).replace(/<>/g,function(){return"(?:"+s+"|"+c+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:d(/\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:d(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:d(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:d(c),lookbehind:!0,greedy:!0},number:{pattern:d(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:i,important:l,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},o.languages.yml=o.languages.yaml})(n)}}}),su=Z({"../../node_modules/refractor/lang/typescript.js"(e,t){t.exports=r,r.displayName="typescript",r.aliases=["ts"];function r(n){(function(o){o.languages.typescript=o.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/}),o.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 o.languages.typescript.parameter,delete o.languages.typescript["literal-property"];var l=o.languages.extend("typescript",{});delete l["class-name"],o.languages.typescript["class-name"].inside=l,o.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:l}}}}),o.languages.ts=o.languages.typescript})(n)}}}),uu=Z({"../../node_modules/refractor/lang/jsx.js"(e,t){t.exports=r,r.displayName="jsx",r.aliases=[];function r(n){(function(o){var l=o.util.clone(o.languages.javascript),i=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,u=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,s=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function c(g,p){return g=g.replace(//g,function(){return i}).replace(//g,function(){return u}).replace(//g,function(){return s}),RegExp(g,p)}s=c(s).source,o.languages.jsx=o.languages.extend("markup",l),o.languages.jsx.tag.pattern=c(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),o.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,o.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,o.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,o.languages.jsx.tag.inside.comment=l.comment,o.languages.insertBefore("inside","attr-name",{spread:{pattern:c(//.source),inside:o.languages.jsx}},o.languages.jsx.tag),o.languages.insertBefore("inside","special-attr",{script:{pattern:c(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:o.languages.jsx}}},o.languages.jsx.tag);var d=function(g){return g?typeof g=="string"?g:typeof g.content=="string"?g.content:g.content.map(d).join(""):""},f=function(g){for(var p=[],h=0;h0&&p[p.length-1].tagName===d(m.content[0].content[1])&&p.pop():m.content[m.content.length-1].content==="/>"||p.push({tagName:d(m.content[0].content[1]),openedBraces:0}):p.length>0&&m.type==="punctuation"&&m.content==="{"?p[p.length-1].openedBraces++:p.length>0&&p[p.length-1].openedBraces>0&&m.type==="punctuation"&&m.content==="}"?p[p.length-1].openedBraces--:w=!0),(w||typeof m=="string")&&p.length>0&&p[p.length-1].openedBraces===0){var x=d(m);h0&&(typeof g[h-1]=="string"||g[h-1].type==="plain-text")&&(x=d(g[h-1])+x,g.splice(h-1,1),h--),g[h]=new o.Token("plain-text",x,null,x)}m.content&&typeof m.content!="string"&&f(m.content)}};o.hooks.add("after-tokenize",function(g){g.language!=="jsx"&&g.language!=="tsx"||f(g.tokens)})})(n)}}}),Wp=Z({"../../node_modules/refractor/lang/tsx.js"(e,t){var r=uu(),n=su();t.exports=o,o.displayName="tsx",o.aliases=[];function o(l){l.register(r),l.register(n),function(i){var u=i.util.clone(i.languages.typescript);i.languages.tsx=i.languages.extend("jsx",u),delete i.languages.tsx.parameter,delete i.languages.tsx["literal-property"];var s=i.languages.tsx.tag;s.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+s.pattern.source+")",s.pattern.flags),s.lookbehind=!0}(l)}}}),Gp=Z({"../../node_modules/refractor/lang/clike.js"(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:/[{}[\];(),.:]/}}}}),Yp=Z({"../../node_modules/refractor/lang/javascript.js"(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}}}),cu=Z({"../../node_modules/refractor/lang/css.js"(e,t){t.exports=r,r.displayName="css",r.aliases=[];function r(n){(function(o){var l=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;o.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\\((?:"+l.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+l.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+l.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:l,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:/[(){};:,]/},o.languages.css.atrule.inside.rest=o.languages.css;var i=o.languages.markup;i&&(i.tag.addInlined("style","css"),i.tag.addAttribute("style","css"))})(n)}}}),du=Z({"../../node_modules/refractor/lang/markup.js"(e,t){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(o){o.type==="entity"&&(o.attributes.title=o.content.value.replace(/&/,"&"))}),Object.defineProperty(n.languages.markup.tag,"addInlined",{value:function(o,l){var i={};i["language-"+l]={pattern:/(^$)/i,lookbehind:!0,inside:n.languages[l]},i.cdata=/^$/i;var u={"included-cdata":{pattern://i,inside:i}};u["language-"+l]={pattern:/[\s\S]+/,inside:n.languages[l]};var s={};s[o]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return o}),"i"),lookbehind:!0,greedy:!0,inside:u},n.languages.insertBefore("markup","cdata",s)}}),Object.defineProperty(n.languages.markup.tag,"addAttribute",{value:function(o,l){n.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+o+")"+/\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:[l,"language-"+l],inside:n.languages[l]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),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}}}),Kp=Z({"../../node_modules/xtend/immutable.js"(e,t){t.exports=n;var r=Object.prototype.hasOwnProperty;function n(){for(var o={},l=0;l4&&w.slice(0,4)===l&&i.test(m)&&(m.charAt(4)==="-"?x=d(m):m=f(m),v=n),new v(x,m))}function d(h){var m=h.slice(5).replace(u,p);return l+m.charAt(0).toUpperCase()+m.slice(1)}function f(h){var m=h.slice(4);return u.test(m)?h:(m=m.replace(s,g),m.charAt(0)!=="-"&&(m="-"+m),l+m)}function g(h){return"-"+h.toLowerCase()}function p(h){return h.charAt(1).toUpperCase()}}}),l2=Z({"../../node_modules/hast-util-parse-selector/index.js"(e,t){t.exports=n;var r=/[#.]/g;function n(o,l){for(var i=o||"",u=l||"div",s={},c=0,d,f,g;c",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:"ÿ"}}}),f2=Z({"../../node_modules/character-reference-invalid/index.json"(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:"Ÿ"}}}),hu=Z({"../../node_modules/is-decimal/index.js"(e,t){t.exports=r;function r(n){var o=typeof n=="string"?n.charCodeAt(0):n;return o>=48&&o<=57}}}),m2=Z({"../../node_modules/is-hexadecimal/index.js"(e,t){t.exports=r;function r(n){var o=typeof n=="string"?n.charCodeAt(0):n;return o>=97&&o<=102||o>=65&&o<=70||o>=48&&o<=57}}}),g2=Z({"../../node_modules/is-alphabetical/index.js"(e,t){t.exports=r;function r(n){var o=typeof n=="string"?n.charCodeAt(0):n;return o>=97&&o<=122||o>=65&&o<=90}}}),h2=Z({"../../node_modules/is-alphanumerical/index.js"(e,t){var r=g2(),n=hu();t.exports=o;function o(l){return r(l)||n(l)}}}),b2=Z({"../../node_modules/parse-entities/node_modules/character-entities/index.json"(e,t){t.exports={AEli:"Æ",AElig:"Æ",AM:"&",AMP:"&",Aacut:"Á",Aacute:"Á",Abreve:"Ă",Acir:"Â",Acirc:"Â",Acy:"А",Afr:"𝔄",Agrav:"À",Agrave:"À",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"𝔸",ApplyFunction:"⁡",Arin:"Å",Aring:"Å",Ascr:"𝒜",Assign:"≔",Atild:"Ã",Atilde:"Ã",Aum:"Ä",Auml:"Ä",Backslash:"∖",Barv:"⫧",Barwed:"⌆",Bcy:"Б",Because:"∵",Bernoullis:"ℬ",Beta:"Β",Bfr:"𝔅",Bopf:"𝔹",Breve:"˘",Bscr:"ℬ",Bumpeq:"≎",CHcy:"Ч",COP:"©",COPY:"©",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",Cayleys:"ℭ",Ccaron:"Č",Ccedi:"Ç",Ccedil:"Ç",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"¸",CenterDot:"·",Cfr:"ℭ",Chi:"Χ",CircleDot:"⊙",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",Colon:"∷",Colone:"⩴",Congruent:"≡",Conint:"∯",ContourIntegral:"∮",Copf:"ℂ",Coproduct:"∐",CounterClockwiseContourIntegral:"∳",Cross:"⨯",Cscr:"𝒞",Cup:"⋓",CupCap:"≍",DD:"ⅅ",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",Darr:"↡",Dashv:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",Delta:"Δ",Dfr:"𝔇",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",Diamond:"⋄",DifferentialD:"ⅆ",Dopf:"𝔻",Dot:"¨",DotDot:"⃜",DotEqual:"≐",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",Downarrow:"⇓",Dscr:"𝒟",Dstrok:"Đ",ENG:"Ŋ",ET:"Ð",ETH:"Ð",Eacut:"É",Eacute:"É",Ecaron:"Ě",Ecir:"Ê",Ecirc:"Ê",Ecy:"Э",Edot:"Ė",Efr:"𝔈",Egrav:"È",Egrave:"È",Element:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"𝔼",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",Equilibrium:"⇌",Escr:"ℰ",Esim:"⩳",Eta:"Η",Eum:"Ë",Euml:"Ë",Exists:"∃",ExponentialE:"ⅇ",Fcy:"Ф",Ffr:"𝔉",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",Fopf:"𝔽",ForAll:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",G:">",GT:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",Gt:"≫",HARDcy:"Ъ",Hacek:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",HilbertSpace:"ℋ",Hopf:"ℍ",HorizontalLine:"─",Hscr:"ℋ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacut:"Í",Iacute:"Í",Icir:"Î",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Igrav:"Ì",Igrave:"Ì",Im:"ℑ",Imacr:"Ī",ImaginaryI:"ⅈ",Implies:"⇒",Int:"∬",Integral:"∫",Intersection:"⋂",InvisibleComma:"⁣",InvisibleTimes:"⁢",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",Itilde:"Ĩ",Iukcy:"І",Ium:"Ï",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",L:"<",LT:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Larr:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",LeftRightArrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",Leftarrow:"⇐",Leftrightarrow:"⇔",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",LessLess:"⪡",LessSlantEqual:"⩽",LessTilde:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",LongLeftRightArrow:"⟷",LongRightArrow:"⟶",Longleftarrow:"⟸",Longleftrightarrow:"⟺",Longrightarrow:"⟹",Lopf:"𝕃",LowerLeftArrow:"↙",LowerRightArrow:"↘",Lscr:"ℒ",Lsh:"↰",Lstrok:"Ł",Lt:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",MinusPlus:"∓",Mopf:"𝕄",Mscr:"ℳ",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:` -`,Nfr:"𝔑",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",Nscr:"𝒩",Ntild:"Ñ",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacut:"Ó",Oacute:"Ó",Ocir:"Ô",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograv:"Ò",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",Or:"⩔",Oscr:"𝒪",Oslas:"Ø",Oslash:"Ø",Otild:"Õ",Otilde:"Õ",Otimes:"⨷",Oum:"Ö",Ouml:"Ö",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",PartialD:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",Poincareplane:"ℌ",Popf:"ℙ",Pr:"⪻",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",Prime:"″",Product:"∏",Proportion:"∷",Proportional:"∝",Pscr:"𝒫",Psi:"Ψ",QUO:'"',QUOT:'"',Qfr:"𝔔",Qopf:"ℚ",Qscr:"𝒬",RBarr:"⤐",RE:"®",REG:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",Rfr:"ℜ",Rho:"Ρ",RightAngleBracket:"⟩",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",Rightarrow:"⇒",Ropf:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",Rscr:"ℛ",Rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortDownArrow:"↓",ShortLeftArrow:"←",ShortRightArrow:"→",ShortUpArrow:"↑",Sigma:"Σ",SmallCircle:"∘",Sopf:"𝕊",Sqrt:"√",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",Sscr:"𝒮",Star:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",SuchThat:"∋",Sum:"∑",Sup:"⋑",Superset:"⊃",SupersetEqual:"⊇",Supset:"⋑",THOR:"Þ",THORN:"Þ",TRADE:"™",TSHcy:"Ћ",TScy:"Ц",Tab:" ",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",Theta:"Θ",ThickSpace:"  ",ThinSpace:" ",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",Topf:"𝕋",TripleDot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacut:"Ú",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucir:"Û",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrav:"Ù",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",UpEquilibrium:"⥮",UpTee:"⊥",UpTeeArrow:"↥",Uparrow:"⇑",Updownarrow:"⇕",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uum:"Ü",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacut:"Ý",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",ZeroWidthSpace:"​",Zeta:"Ζ",Zfr:"ℨ",Zopf:"ℤ",Zscr:"𝒵",aacut:"á",aacute:"á",abreve:"ă",ac:"∾",acE:"∾̳",acd:"∿",acir:"â",acirc:"â",acut:"´",acute:"´",acy:"а",aeli:"æ",aelig:"æ",af:"⁡",afr:"𝔞",agrav:"à",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",am:"&",amp:"&",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",aopf:"𝕒",ap:"≈",apE:"⩰",apacir:"⩯",ape:"≊",apid:"≋",apos:"'",approx:"≈",approxeq:"≊",arin:"å",aring:"å",ascr:"𝒶",ast:"*",asymp:"≈",asympeq:"≍",atild:"ã",atilde:"ã",aum:"ä",auml:"ä",awconint:"∳",awint:"⨑",bNot:"⫭",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",beta:"β",beth:"ℶ",between:"≬",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:"⌐",bopf:"𝕓",bot:"⊥",bottom:"⊥",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:"┌",boxh:"─",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",bprime:"‵",breve:"˘",brvba:"¦",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",bumpeq:"≏",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",caron:"ˇ",ccaps:"⩍",ccaron:"č",ccedi:"ç",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cedi:"¸",cedil:"¸",cemptyv:"⦲",cen:"¢",cent:"¢",centerdot:"·",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledR:"®",circledS:"Ⓢ",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",conint:"∮",copf:"𝕔",coprod:"∐",cop:"©",copy:"©",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curre:"¤",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dArr:"⇓",dHar:"⥥",dagger:"†",daleth:"ℸ",darr:"↓",dash:"‐",dashv:"⊣",dbkarow:"⤏",dblac:"˝",dcaron:"ď",dcy:"д",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",ddotseq:"⩷",de:"°",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",dharl:"⇃",dharr:"⇂",diam:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",digamma:"ϝ",disin:"⋲",div:"÷",divid:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",dot:"˙",doteq:"≐",doteqdot:"≑",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",downarrow:"↓",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eDDot:"⩷",eDot:"≑",eacut:"é",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"ê",ecirc:"ê",ecolon:"≕",ecy:"э",edot:"ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",eg:"⪚",egrav:"è",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",equals:"=",equest:"≟",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",erarr:"⥱",escr:"ℯ",esdot:"≐",esim:"≂",eta:"η",et:"ð",eth:"ð",eum:"ë",euml:"ë",euro:"€",excl:"!",exist:"∃",expectation:"ℰ",exponentiale:"ⅇ",fallingdotseq:"≒",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",forall:"∀",fork:"⋔",forkv:"⫙",fpartint:"⨍",frac1:"¼",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac3:"¾",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",gE:"≧",gEl:"⪌",gacute:"ǵ",gamma:"γ",gammad:"ϝ",gap:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",ge:"≥",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gg:"≫",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",gl:"≷",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",grave:"`",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",g:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",hArr:"⇔",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",harr:"↔",harrcir:"⥈",harrw:"↭",hbar:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hslash:"ℏ",hstrok:"ħ",hybull:"⁃",hyphen:"‐",iacut:"í",iacute:"í",ic:"⁣",icir:"î",icirc:"î",icy:"и",iecy:"е",iexc:"¡",iexcl:"¡",iff:"⇔",ifr:"𝔦",igrav:"ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",image:"ℑ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",intcal:"⊺",integers:"ℤ",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iprod:"⨼",iques:"¿",iquest:"¿",iscr:"𝒾",isin:"∈",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",iukcy:"і",ium:"ï",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAarr:"⇚",lArr:"⇐",lAtail:"⤛",lBarr:"⤎",lE:"≦",lEg:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",laqu:"«",laquo:"«",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lceil:"⌈",lcub:"{",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leftarrow:"←",leftarrowtail:"↢",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",leftthreetimes:"⋋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",lessgtr:"≶",lesssim:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",lg:"≶",lgE:"⪑",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",ll:"≪",llarr:"⇇",llcorner:"⌞",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",longleftrightarrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",l:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",ltrie:"⊴",ltrif:"◂",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",mac:"¯",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",measuredangle:"∡",mfr:"𝔪",mho:"℧",micr:"µ",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middo:"·",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",mp:"∓",mscr:"𝓂",mstpos:"∾",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nGtv:"≫̸",nLeftarrow:"⇍",nLeftrightarrow:"⇎",nLl:"⋘̸",nLt:"≪⃒",nLtv:"≪̸",nRightarrow:"⇏",nVDash:"⊯",nVdash:"⊮",nabla:"∇",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbs:" ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",ne:"≠",neArr:"⇗",nearhk:"⤤",nearr:"↗",nearrow:"↗",nedot:"≐̸",nequiv:"≢",nesear:"⤨",nesim:"≂̸",nexist:"∄",nexists:"∄",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",ngsim:"≵",ngt:"≯",ngtr:"≯",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",nlArr:"⇍",nlE:"≦̸",nlarr:"↚",nldr:"‥",nle:"≰",nleftarrow:"↚",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nlsim:"≴",nlt:"≮",nltri:"⋪",nltrie:"⋬",nmid:"∤",nopf:"𝕟",no:"¬",not:"¬",notin:"∉",notinE:"⋹̸",notindot:"⋵̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",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:"≹",ntild:"ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",oS:"Ⓢ",oacut:"ó",oacute:"ó",oast:"⊛",ocir:"ô",ocirc:"ô",ocy:"о",odash:"⊝",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograv:"ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",opar:"⦷",operp:"⦹",oplus:"⊕",or:"∨",orarr:"↻",ord:"º",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oscr:"ℴ",oslas:"ø",oslash:"ø",osol:"⊘",otild:"õ",otilde:"õ",otimes:"⊗",otimesas:"⨶",oum:"ö",ouml:"ö",ovbar:"⌽",par:"¶",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",plusm:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",pointint:"⨕",popf:"𝕡",poun:"£",pound:"£",pr:"≺",prE:"⪳",prap:"⪷",prcue:"≼",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",primes:"ℙ",prnE:"⪵",prnap:"⪹",prnsim:"⋨",prod:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:" ",qfr:"𝔮",qint:"⨌",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quo:'"',quot:'"',rAarr:"⇛",rArr:"⇒",rAtail:"⤜",rBarr:"⤏",rHar:"⥤",race:"∽̱",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raqu:"»",raquo:"»",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rarrw:"↝",ratail:"⤚",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rceil:"⌉",rcub:"}",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",re:"®",reg:"®",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",rhov:"ϱ",rightarrow:"→",rightarrowtail:"↣",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",rightthreetimes:"⋌",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",rsaquo:"›",rscr:"𝓇",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",sbquo:"‚",sc:"≻",scE:"⪴",scap:"⪸",scaron:"š",sccue:"≽",sce:"⪰",scedil:"ş",scirc:"ŝ",scnE:"⪶",scnap:"⪺",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",seArr:"⇘",searhk:"⤥",searr:"↘",searrow:"↘",sec:"§",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",sfrown:"⌢",sharp:"♯",shchcy:"щ",shcy:"ш",shortmid:"∣",shortparallel:"∥",sh:"­",shy:"­",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",subE:"⫅",subdot:"⪽",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",sum:"∑",sung:"♪",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supE:"⫆",supdot:"⪾",supdsub:"⫘",supe:"⊇",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swarhk:"⤦",swarr:"↙",swarrow:"↙",swnwar:"⤪",szli:"ß",szlig:"ß",target:"⌖",tau:"τ",tbrk:"⎴",tcaron:"ť",tcedil:"ţ",tcy:"т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",there4:"∴",therefore:"∴",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",thinsp:" ",thkap:"≈",thksim:"∼",thor:"þ",thorn:"þ",tilde:"˜",time:"×",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uArr:"⇑",uHar:"⥣",uacut:"ú",uacute:"ú",uarr:"↑",ubrcy:"ў",ubreve:"ŭ",ucir:"û",ucirc:"û",ucy:"у",udarr:"⇅",udblac:"ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",ugrav:"ù",ugrave:"ù",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",um:"¨",uml:"¨",uogon:"ų",uopf:"𝕦",uparrow:"↑",updownarrow:"↕",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",upsi:"υ",upsih:"ϒ",upsilon:"υ",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uum:"ü",uuml:"ü",uwangle:"⦧",vArr:"⇕",vBar:"⫨",vBarv:"⫩",vDash:"⊨",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vcy:"в",vdash:"⊢",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",vert:"|",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",vprop:"∝",vrtri:"⊳",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",wedgeq:"≙",weierp:"℘",wfr:"𝔴",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacut:"ý",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",ye:"¥",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yum:"ÿ",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeetrf:"ℨ",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"‍",zwnj:"‌"}}}),y2=Z({"../../node_modules/parse-entities/decode-entity.js"(e,t){var r=b2();t.exports=o;var n={}.hasOwnProperty;function o(l){return n.call(r,l)?r[l]:!1}}}),v2=Z({"../../node_modules/parse-entities/index.js"(e,t){var r=p2(),n=f2(),o=hu(),l=m2(),i=h2(),u=y2();t.exports=Y;var s={}.hasOwnProperty,c=String.fromCharCode,d=Function.prototype,f={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},g=9,p=10,h=12,m=32,w=38,x=59,v=60,y=61,E=35,A=88,S=120,C=65533,k="named",O="hexadecimal",T="decimal",R={};R[O]=16,R[T]=10;var F={};F[k]=i,F[T]=o,F[O]=l;var $=1,P=2,D=3,L=4,N=5,V=6,B=7,H={};H[$]="Named character references must be terminated by a semicolon",H[P]="Numeric character references must be terminated by a semicolon",H[D]="Named character references cannot be empty",H[L]="Numeric character references cannot be empty",H[N]="Named character references must be known",H[V]="Numeric character references cannot be disallowed",H[B]="Numeric character references cannot be outside the permissible Unicode range";function Y(I,z){var q={},ie,he;z||(z={});for(he in f)ie=z[he],q[he]=ie??f[he];return(q.position.indent||q.position.start)&&(q.indent=q.position.indent||[],q.position=q.position.start),te(I,q)}function te(I,z){var q=z.additional,ie=z.nonTerminated,he=z.text,lt=z.reference,Te=z.warning,He=z.textContext,M=z.referenceContext,Ie=z.warningContext,Ze=z.position,St=z.indent||[],Vt=I.length,Ve=0,Yr=-1,be=Ze.column||1,Ct=Ze.line||1,ze="",zt=[],qe,qt,Ue,pe,Pe,se,re,We,Kr,la,kt,mr,_t,it,$l,gr,Xr,Ge,ue;for(typeof q=="string"&&(q=q.charCodeAt(0)),gr=hr(),We=Te?z0:d,Ve--,Vt++;++Ve65535&&(se-=65536,la+=c(se>>>10|55296),se=56320|se&1023),se=la+c(se))):it!==k&&We(L,Ge)),se?(Dl(),gr=hr(),Ve=ue-1,be+=ue-_t+1,zt.push(se),Xr=hr(),Xr.offset++,lt&<.call(M,se,{start:gr,end:Xr},I.slice(_t-1,ue)),gr=Xr):(pe=I.slice(_t-1,ue),ze+=pe,be+=pe.length,Ve=ue-1)}else Pe===10&&(Ct++,Yr++,be=0),Pe===Pe?(ze+=c(Pe),be++):Dl();return zt.join("");function hr(){return{line:Ct,column:be,offset:Ve+(Ze.offset||0)}}function z0(Ll,Ml){var ia=hr();ia.column+=Ml,ia.offset+=Ml,Te.call(Ie,H[Ll],ia,Ll)}function Dl(){ze&&(zt.push(ze),he&&he.call(He,ze,{start:gr,end:hr()}),ze="")}}function G(I){return I>=55296&&I<=57343||I>1114111}function K(I){return I>=1&&I<=8||I===11||I>=13&&I<=31||I>=127&&I<=159||I>=64976&&I<=65007||(I&65535)===65535||(I&65535)===65534}}}),E2=Z({"../../node_modules/refractor/node_modules/prismjs/components/prism-core.js"(e,t){var r=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{},n=function(o){var l=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,i=0,u={},s={manual:o.Prism&&o.Prism.manual,disableWorkerMessageHandler:o.Prism&&o.Prism.disableWorkerMessageHandler,util:{encode:function y(E){return E instanceof c?new c(E.type,y(E.content),E.alias):Array.isArray(E)?E.map(y):E.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document&&1<2)return document.currentScript;try{throw new Error}catch(S){var y=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(S.stack)||[])[1];if(y){var E=document.getElementsByTagName("script");for(var A in E)if(E[A].src==y)return E[A]}return null}},isActive:function(y,E,A){for(var S="no-"+E;y;){var C=y.classList;if(C.contains(E))return!0;if(C.contains(S))return!1;y=y.parentElement}return!!A}},languages:{plain:u,plaintext:u,text:u,txt:u,extend:function(y,E){var A=s.util.clone(s.languages[y]);for(var S in E)A[S]=E[S];return A},insertBefore:function(y,E,A,S){S=S||s.languages;var C=S[y],k={};for(var O in C)if(C.hasOwnProperty(O)){if(O==E)for(var T in A)A.hasOwnProperty(T)&&(k[T]=A[T]);A.hasOwnProperty(O)||(k[O]=C[O])}var R=S[y];return S[y]=k,s.languages.DFS(s.languages,function(F,$){$===R&&F!=y&&(this[F]=k)}),k},DFS:function y(E,A,S,C){C=C||{};var k=s.util.objId;for(var O in E)if(E.hasOwnProperty(O)){A.call(E,O,E[O],S||O);var T=E[O],R=s.util.type(T);R==="Object"&&!C[k(T)]?(C[k(T)]=!0,y(T,A,null,C)):R==="Array"&&!C[k(T)]&&(C[k(T)]=!0,y(T,A,O,C))}}},plugins:{},highlightAll:function(y,E){s.highlightAllUnder(document,y,E)},highlightAllUnder:function(y,E,A){var S={callback:A,container:y,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};s.hooks.run("before-highlightall",S),S.elements=Array.prototype.slice.apply(S.container.querySelectorAll(S.selector)),s.hooks.run("before-all-elements-highlight",S);for(var C=0,k;k=S.elements[C++];)s.highlightElement(k,E===!0,S.callback)},highlightElement:function(y,E,A){var S=s.util.getLanguage(y),C=s.languages[S];s.util.setLanguage(y,S);var k=y.parentElement;k&&k.nodeName.toLowerCase()==="pre"&&s.util.setLanguage(k,S);var O=y.textContent,T={element:y,language:S,grammar:C,code:O};function R($){T.highlightedCode=$,s.hooks.run("before-insert",T),T.element.innerHTML=T.highlightedCode,s.hooks.run("after-highlight",T),s.hooks.run("complete",T),A&&A.call(T.element)}if(s.hooks.run("before-sanity-check",T),k=T.element.parentElement,k&&k.nodeName.toLowerCase()==="pre"&&!k.hasAttribute("tabindex")&&k.setAttribute("tabindex","0"),!T.code){s.hooks.run("complete",T),A&&A.call(T.element);return}if(s.hooks.run("before-highlight",T),!T.grammar){R(s.util.encode(T.code));return}if(E&&o.Worker){var F=new Worker(s.filename);F.onmessage=function($){R($.data)},F.postMessage(JSON.stringify({language:T.language,code:T.code,immediateClose:!0}))}else R(s.highlight(T.code,T.grammar,T.language))},highlight:function(y,E,A){var S={code:y,grammar:E,language:A};if(s.hooks.run("before-tokenize",S),!S.grammar)throw new Error('The language "'+S.language+'" has no grammar.');return S.tokens=s.tokenize(S.code,S.grammar),s.hooks.run("after-tokenize",S),c.stringify(s.util.encode(S.tokens),S.language)},tokenize:function(y,E){var A=E.rest;if(A){for(var S in A)E[S]=A[S];delete E.rest}var C=new g;return p(C,C.head,y),f(y,C,E,C.head,0),m(C)},hooks:{all:{},add:function(y,E){var A=s.hooks.all;A[y]=A[y]||[],A[y].push(E)},run:function(y,E){var A=s.hooks.all[y];if(!(!A||!A.length))for(var S=0,C;C=A[S++];)C(E)}},Token:c};o.Prism=s;function c(y,E,A,S){this.type=y,this.content=E,this.alias=A,this.length=(S||"").length|0}c.stringify=function y(E,A){if(typeof E=="string")return E;if(Array.isArray(E)){var S="";return E.forEach(function(R){S+=y(R,A)}),S}var C={type:E.type,content:y(E.content,A),tag:"span",classes:["token",E.type],attributes:{},language:A},k=E.alias;k&&(Array.isArray(k)?Array.prototype.push.apply(C.classes,k):C.classes.push(k)),s.hooks.run("wrap",C);var O="";for(var T in C.attributes)O+=" "+T+'="'+(C.attributes[T]||"").replace(/"/g,""")+'"';return"<"+C.tag+' class="'+C.classes.join(" ")+'"'+O+">"+C.content+""};function d(y,E,A,S){y.lastIndex=E;var C=y.exec(A);if(C&&S&&C[1]){var k=C[1].length;C.index+=k,C[0]=C[0].slice(k)}return C}function f(y,E,A,S,C,k){for(var O in A)if(!(!A.hasOwnProperty(O)||!A[O])){var T=A[O];T=Array.isArray(T)?T:[T];for(var R=0;R=k.reach);H+=B.value.length,B=B.next){var Y=B.value;if(E.length>y.length)return;if(!(Y instanceof c)){var te=1,G;if(D){if(G=d(V,H,y,P),!G||G.index>=y.length)break;var q=G.index,K=G.index+G[0].length,I=H;for(I+=B.value.length;q>=I;)B=B.next,I+=B.value.length;if(I-=B.value.length,H=I,B.value instanceof c)continue;for(var z=B;z!==E.tail&&(Ik.reach&&(k.reach=Te);var He=B.prev;he&&(He=p(E,He,he),H+=he.length),h(E,He,te);var M=new c(O,$?s.tokenize(ie,$):ie,L,ie);if(B=p(E,He,M),lt&&p(E,B,lt),te>1){var Ie={cause:O+","+R,reach:Te};f(y,E,A,B.prev,H,Ie),k&&Ie.reach>k.reach&&(k.reach=Ie.reach)}}}}}}function g(){var y={value:null,prev:null,next:null},E={value:null,prev:y,next:null};y.next=E,this.head=y,this.tail=E,this.length=0}function p(y,E,A){var S=E.next,C={value:A,prev:E,next:S};return E.next=C,S.prev=C,y.length++,C}function h(y,E,A){for(var S=E.next,C=0;C>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+l),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})/};o.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;|&]|[<>]\\()"+l),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:u},{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:u},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:u.entity}}],environment:{pattern:RegExp("\\$?"+l),alias:"constant"},variable:u.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=o.languages.bash;for(var s=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],c=u.variable[1].inside,d=0;d/g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),g)}o.languages.insertBefore("javascript","keyword",{imports:{pattern:l(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:o.languages.javascript},exports:{pattern:l(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:o.languages.javascript}}),o.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"}),o.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),o.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:l(/(\.\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"],u=0;u0)){var m=c(/^\{$/,/^\}$/);if(m===-1)continue;for(var w=i;w=0&&d(x,"variable-input")}}}}})}}});const{logger:k2}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{global:_2}=__STORYBOOK_MODULE_GLOBAL__;var O2=_e(uu()),T2=O2.default,R2=_e(w2()),F2=R2.default,$2=_e(cu()),D2=$2.default,L2=_e(A2()),M2=L2.default,B2=_e(S2()),I2=B2.default,P2=_e(C2()),j2=P2.default,N2=_e(du()),H2=N2.default,Z2=_e(qp()),V2=Z2.default,z2=_e(Up()),q2=z2.default,U2=_e(Wp()),W2=U2.default,G2=_e(su()),Y2=G2.default;function K2(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,l;for(l=0;l=0)&&(r[o]=e[o]);return r}function X2(e,t){if(e==null)return{};var r=K2(e,t),n,o;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(o=0;o=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Qa(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=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])]}var Ea={};function l5(e){if(e.length===0||e.length===1)return e;var t=e.join(".");return Ea[t]||(Ea[t]=o5(e)),Ea[t]}function i5(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=e.filter(function(l){return l!=="token"}),o=l5(n);return o.reduce(function(l,i){return Gt(Gt({},l),r[i])},t)}function ii(e){return e.join(" ")}function s5(e,t){var r=0;return function(n){return r+=1,n.map(function(o,l){return Ho({node:o,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(r,"-").concat(l)})})}}function Ho(e){var t=e.node,r=e.stylesheet,n=e.style,o=n===void 0?{}:n,l=e.useInlineStyles,i=e.key,u=t.properties,s=t.type,c=t.tagName,d=t.value;if(s==="text")return d;if(c){var f=s5(r,l),g;if(!l)g=Gt(Gt({},u),{},{className:ii(u.className)});else{var p=Object.keys(r).reduce(function(x,v){return v.split(".").forEach(function(y){x.includes(y)||x.push(y)}),x},[]),h=u.className&&u.className.includes("token")?["token"]:[],m=u.className&&h.concat(u.className.filter(function(x){return!p.includes(x)}));g=Gt(Gt({},u),{},{className:ii(m)||void 0,style:i5(u.className,Object.assign({},u.style,o),r)})}var w=f(t.children);return a.createElement(c,eo({key:i},g),w)}}var u5=function(e,t){var r=e.listLanguages();return r.indexOf(t)!==-1},c5=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function si(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Je(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 pn({children:A,lineNumber:S,lineNumberStyle:u,largestLineNumber:i,showInlineLineNumbers:o,lineProps:r,className:C,showLineNumbers:n,wrapLongLines:s})}function m(A,S){if(n&&S&&o){var C=vu(u,S,i);A.unshift(yu(S,C))}return A}function w(A,S){var C=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||C.length>0?h(A,S,C):m(A,S)}for(var x=function(){var A=d[p],S=A.children[0].value,C=p5(S);if(C){var k=S.split(` -`);k.forEach(function(O,T){var R=n&&f.length+l,F={type:"text",value:"".concat(O,` -`)};if(T===0){var $=d.slice(g+1,p).concat(pn({children:[F],className:A.properties.className})),P=w($,R);f.push(P)}else if(T===k.length-1){var D=d[p+1]&&d[p+1].children&&d[p+1].children[0],L={type:"text",value:"".concat(O)};if(D){var N=pn({children:[L],className:A.properties.className});d.splice(p+1,0,N)}else{var V=[L],B=w(V,R,A.properties.className);f.push(B)}}else{var H=[F],Y=w(H,R,A.properties.className);f.push(Y)}}),g=p}p++};p({position:"absolute",bottom:0,right:0,maxWidth:"100%",display:"flex",background:e.background.content,zIndex:1})),wu=_.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});wu.displayName="ActionButton";var zo=({actionItems:e,...t})=>a.createElement(E5,{...t},e.map(({title:r,className:n,onClick:o,disabled:l},i)=>a.createElement(wu,{key:i,className:n,onClick:o,disabled:l},r)));function ae(){return ae=Object.assign?Object.assign.bind():function(e){for(var t=1;te.forEach(r=>x5(r,t))}function Ht(...e){return b.useCallback(Au(...e),e)}var Su=b.forwardRef((e,t)=>{let{children:r,...n}=e,o=b.Children.toArray(r),l=o.find(A5);if(l){let i=l.props.children,u=o.map(s=>s===l?b.Children.count(i)>1?b.Children.only(null):b.isValidElement(i)?i.props.children:null:s);return b.createElement(ro,Sn({},n,{ref:t}),b.isValidElement(i)?b.cloneElement(i,void 0,u):null)}return b.createElement(ro,Sn({},n,{ref:t}),r)});Su.displayName="Slot";var ro=b.forwardRef((e,t)=>{let{children:r,...n}=e;return b.isValidElement(r)?b.cloneElement(r,{...S5(n,r.props),ref:t?Au(t,r.ref):r.ref}):b.Children.count(r)>1?b.Children.only(null):null});ro.displayName="SlotClone";var w5=({children:e})=>b.createElement(b.Fragment,null,e);function A5(e){return b.isValidElement(e)&&e.type===w5}function S5(e,t){let r={...t};for(let n in t){let o=e[n],l=t[n];/^on[A-Z]/.test(n)?o&&l?r[n]=(...i)=>{l(...i),o(...i)}:o&&(r[n]=o):n==="style"?r[n]={...o,...l}:n==="className"&&(r[n]=[o,l].filter(Boolean).join(" "))}return{...e,...r}}var C5=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Vr=C5.reduce((e,t)=>{let r=b.forwardRef((n,o)=>{let{asChild:l,...i}=n,u=l?Su:t;return b.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),b.createElement(u,to({},i,{ref:o}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),no=globalThis!=null&&globalThis.document?b.useLayoutEffect:()=>{};function k5(e,t){return b.useReducer((r,n)=>t[r][n]??r,e)}var zr=e=>{let{present:t,children:r}=e,n=_5(t),o=typeof r=="function"?r({present:n.isPresent}):b.Children.only(r),l=Ht(n.ref,o.ref);return typeof r=="function"||n.isPresent?b.cloneElement(o,{ref:l}):null};zr.displayName="Presence";function _5(e){let[t,r]=b.useState(),n=b.useRef({}),o=b.useRef(e),l=b.useRef("none"),i=e?"mounted":"unmounted",[u,s]=k5(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return b.useEffect(()=>{let c=en(n.current);l.current=u==="mounted"?c:"none"},[u]),no(()=>{let c=n.current,d=o.current;if(d!==e){let f=l.current,g=en(c);e?s("MOUNT"):g==="none"||(c==null?void 0:c.display)==="none"?s("UNMOUNT"):s(d&&f!==g?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,s]),no(()=>{if(t){let c=f=>{let g=en(n.current).includes(f.animationName);f.target===t&&g&&Ss.flushSync(()=>s("ANIMATION_END"))},d=f=>{f.target===t&&(l.current=en(n.current))};return t.addEventListener("animationstart",d),t.addEventListener("animationcancel",c),t.addEventListener("animationend",c),()=>{t.removeEventListener("animationstart",d),t.removeEventListener("animationcancel",c),t.removeEventListener("animationend",c)}}else s("ANIMATION_END")},[t,s]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:b.useCallback(c=>{c&&(n.current=getComputedStyle(c)),r(c)},[])}}function en(e){return(e==null?void 0:e.animationName)||"none"}function O5(e,t=[]){let r=[];function n(l,i){let u=b.createContext(i),s=r.length;r=[...r,i];function c(f){let{scope:g,children:p,...h}=f,m=(g==null?void 0:g[e][s])||u,w=b.useMemo(()=>h,Object.values(h));return b.createElement(m.Provider,{value:w},p)}function d(f,g){let p=(g==null?void 0:g[e][s])||u,h=b.useContext(p);if(h)return h;if(i!==void 0)return i;throw new Error(`\`${f}\` must be used within \`${l}\``)}return c.displayName=l+"Provider",[c,d]}let o=()=>{let l=r.map(i=>b.createContext(i));return function(i){let u=(i==null?void 0:i[e])||l;return b.useMemo(()=>({[`__scope${e}`]:{...i,[e]:u}}),[i,u])}};return o.scopeName=e,[n,T5(o,...t)]}function T5(...e){let t=e[0];if(e.length===1)return t;let r=()=>{let n=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(o){let l=n.reduce((i,{useScope:u,scopeName:s})=>{let c=u(o)[`__scope${s}`];return{...i,...c}},{});return b.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return r.scopeName=t.scopeName,r}function $t(e){let t=b.useRef(e);return b.useEffect(()=>{t.current=e}),b.useMemo(()=>(...r)=>{var n;return(n=t.current)===null||n===void 0?void 0:n.call(t,...r)},[])}var R5=b.createContext(void 0);function F5(e){let t=b.useContext(R5);return e||t||"ltr"}function $5(e,[t,r]){return Math.min(r,Math.max(t,e))}function Lt(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e==null||e(n),r===!1||!n.defaultPrevented)return t==null?void 0:t(n)}}function D5(e,t){return b.useReducer((r,n)=>t[r][n]??r,e)}var Cu="ScrollArea",[ku,zw]=O5(Cu),[L5,Me]=ku(Cu),M5=b.forwardRef((e,t)=>{let{__scopeScrollArea:r,type:n="hover",dir:o,scrollHideDelay:l=600,...i}=e,[u,s]=b.useState(null),[c,d]=b.useState(null),[f,g]=b.useState(null),[p,h]=b.useState(null),[m,w]=b.useState(null),[x,v]=b.useState(0),[y,E]=b.useState(0),[A,S]=b.useState(!1),[C,k]=b.useState(!1),O=Ht(t,R=>s(R)),T=F5(o);return b.createElement(L5,{scope:r,type:n,dir:T,scrollHideDelay:l,scrollArea:u,viewport:c,onViewportChange:d,content:f,onContentChange:g,scrollbarX:p,onScrollbarXChange:h,scrollbarXEnabled:A,onScrollbarXEnabledChange:S,scrollbarY:m,onScrollbarYChange:w,scrollbarYEnabled:C,onScrollbarYEnabledChange:k,onCornerWidthChange:v,onCornerHeightChange:E},b.createElement(Vr.div,ae({dir:T},i,{ref:O,style:{position:"relative","--radix-scroll-area-corner-width":x+"px","--radix-scroll-area-corner-height":y+"px",...e.style}})))}),B5="ScrollAreaViewport",I5=b.forwardRef((e,t)=>{let{__scopeScrollArea:r,children:n,...o}=e,l=Me(B5,r),i=b.useRef(null),u=Ht(t,i,l.onViewportChange);return b.createElement(b.Fragment,null,b.createElement("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}"}}),b.createElement(Vr.div,ae({"data-radix-scroll-area-viewport":""},o,{ref:u,style:{overflowX:l.scrollbarXEnabled?"scroll":"hidden",overflowY:l.scrollbarYEnabled?"scroll":"hidden",...e.style}}),b.createElement("div",{ref:l.onContentChange,style:{minWidth:"100%",display:"table"}},n)))}),ft="ScrollAreaScrollbar",P5=b.forwardRef((e,t)=>{let{forceMount:r,...n}=e,o=Me(ft,e.__scopeScrollArea),{onScrollbarXEnabledChange:l,onScrollbarYEnabledChange:i}=o,u=e.orientation==="horizontal";return b.useEffect(()=>(u?l(!0):i(!0),()=>{u?l(!1):i(!1)}),[u,l,i]),o.type==="hover"?b.createElement(j5,ae({},n,{ref:t,forceMount:r})):o.type==="scroll"?b.createElement(N5,ae({},n,{ref:t,forceMount:r})):o.type==="auto"?b.createElement(_u,ae({},n,{ref:t,forceMount:r})):o.type==="always"?b.createElement(qo,ae({},n,{ref:t})):null}),j5=b.forwardRef((e,t)=>{let{forceMount:r,...n}=e,o=Me(ft,e.__scopeScrollArea),[l,i]=b.useState(!1);return b.useEffect(()=>{let u=o.scrollArea,s=0;if(u){let c=()=>{window.clearTimeout(s),i(!0)},d=()=>{s=window.setTimeout(()=>i(!1),o.scrollHideDelay)};return u.addEventListener("pointerenter",c),u.addEventListener("pointerleave",d),()=>{window.clearTimeout(s),u.removeEventListener("pointerenter",c),u.removeEventListener("pointerleave",d)}}},[o.scrollArea,o.scrollHideDelay]),b.createElement(zr,{present:r||l},b.createElement(_u,ae({"data-state":l?"visible":"hidden"},n,{ref:t})))}),N5=b.forwardRef((e,t)=>{let{forceMount:r,...n}=e,o=Me(ft,e.__scopeScrollArea),l=e.orientation==="horizontal",i=Vn(()=>s("SCROLL_END"),100),[u,s]=D5("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 b.useEffect(()=>{if(u==="idle"){let c=window.setTimeout(()=>s("HIDE"),o.scrollHideDelay);return()=>window.clearTimeout(c)}},[u,o.scrollHideDelay,s]),b.useEffect(()=>{let c=o.viewport,d=l?"scrollLeft":"scrollTop";if(c){let f=c[d],g=()=>{let p=c[d];f!==p&&(s("SCROLL"),i()),f=p};return c.addEventListener("scroll",g),()=>c.removeEventListener("scroll",g)}},[o.viewport,l,s,i]),b.createElement(zr,{present:r||u!=="hidden"},b.createElement(qo,ae({"data-state":u==="hidden"?"hidden":"visible"},n,{ref:t,onPointerEnter:Lt(e.onPointerEnter,()=>s("POINTER_ENTER")),onPointerLeave:Lt(e.onPointerLeave,()=>s("POINTER_LEAVE"))})))}),_u=b.forwardRef((e,t)=>{let r=Me(ft,e.__scopeScrollArea),{forceMount:n,...o}=e,[l,i]=b.useState(!1),u=e.orientation==="horizontal",s=Vn(()=>{if(r.viewport){let c=r.viewport.offsetWidth{let{orientation:r="vertical",...n}=e,o=Me(ft,e.__scopeScrollArea),l=b.useRef(null),i=b.useRef(0),[u,s]=b.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),c=Fu(u.viewport,u.content),d={...n,sizes:u,onSizesChange:s,hasThumb:c>0&&c<1,onThumbChange:g=>l.current=g,onThumbPointerUp:()=>i.current=0,onThumbPointerDown:g=>i.current=g};function f(g,p){return G5(g,i.current,u,p)}return r==="horizontal"?b.createElement(H5,ae({},d,{ref:t,onThumbPositionChange:()=>{if(o.viewport&&l.current){let g=o.viewport.scrollLeft,p=ui(g,u,o.dir);l.current.style.transform=`translate3d(${p}px, 0, 0)`}},onWheelScroll:g=>{o.viewport&&(o.viewport.scrollLeft=g)},onDragScroll:g=>{o.viewport&&(o.viewport.scrollLeft=f(g,o.dir))}})):r==="vertical"?b.createElement(Z5,ae({},d,{ref:t,onThumbPositionChange:()=>{if(o.viewport&&l.current){let g=o.viewport.scrollTop,p=ui(g,u);l.current.style.transform=`translate3d(0, ${p}px, 0)`}},onWheelScroll:g=>{o.viewport&&(o.viewport.scrollTop=g)},onDragScroll:g=>{o.viewport&&(o.viewport.scrollTop=f(g))}})):null}),H5=b.forwardRef((e,t)=>{let{sizes:r,onSizesChange:n,...o}=e,l=Me(ft,e.__scopeScrollArea),[i,u]=b.useState(),s=b.useRef(null),c=Ht(t,s,l.onScrollbarXChange);return b.useEffect(()=>{s.current&&u(getComputedStyle(s.current))},[s]),b.createElement(Tu,ae({"data-orientation":"horizontal"},o,{ref:c,sizes:r,style:{bottom:0,left:l.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:l.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":Zn(r)+"px",...e.style},onThumbPointerDown:d=>e.onThumbPointerDown(d.x),onDragScroll:d=>e.onDragScroll(d.x),onWheelScroll:(d,f)=>{if(l.viewport){let g=l.viewport.scrollLeft+d.deltaX;e.onWheelScroll(g),Du(g,f)&&d.preventDefault()}},onResize:()=>{s.current&&l.viewport&&i&&n({content:l.viewport.scrollWidth,viewport:l.viewport.offsetWidth,scrollbar:{size:s.current.clientWidth,paddingStart:Cn(i.paddingLeft),paddingEnd:Cn(i.paddingRight)}})}}))}),Z5=b.forwardRef((e,t)=>{let{sizes:r,onSizesChange:n,...o}=e,l=Me(ft,e.__scopeScrollArea),[i,u]=b.useState(),s=b.useRef(null),c=Ht(t,s,l.onScrollbarYChange);return b.useEffect(()=>{s.current&&u(getComputedStyle(s.current))},[s]),b.createElement(Tu,ae({"data-orientation":"vertical"},o,{ref:c,sizes:r,style:{top:0,right:l.dir==="ltr"?0:void 0,left:l.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":Zn(r)+"px",...e.style},onThumbPointerDown:d=>e.onThumbPointerDown(d.y),onDragScroll:d=>e.onDragScroll(d.y),onWheelScroll:(d,f)=>{if(l.viewport){let g=l.viewport.scrollTop+d.deltaY;e.onWheelScroll(g),Du(g,f)&&d.preventDefault()}},onResize:()=>{s.current&&l.viewport&&i&&n({content:l.viewport.scrollHeight,viewport:l.viewport.offsetHeight,scrollbar:{size:s.current.clientHeight,paddingStart:Cn(i.paddingTop),paddingEnd:Cn(i.paddingBottom)}})}}))}),[V5,Ou]=ku(ft),Tu=b.forwardRef((e,t)=>{let{__scopeScrollArea:r,sizes:n,hasThumb:o,onThumbChange:l,onThumbPointerUp:i,onThumbPointerDown:u,onThumbPositionChange:s,onDragScroll:c,onWheelScroll:d,onResize:f,...g}=e,p=Me(ft,r),[h,m]=b.useState(null),w=Ht(t,O=>m(O)),x=b.useRef(null),v=b.useRef(""),y=p.viewport,E=n.content-n.viewport,A=$t(d),S=$t(s),C=Vn(f,10);function k(O){if(x.current){let T=O.clientX-x.current.left,R=O.clientY-x.current.top;c({x:T,y:R})}}return b.useEffect(()=>{let O=T=>{let R=T.target;h!=null&&h.contains(R)&&A(T,E)};return document.addEventListener("wheel",O,{passive:!1}),()=>document.removeEventListener("wheel",O,{passive:!1})},[y,h,E,A]),b.useEffect(S,[n,S]),er(h,C),er(p.content,C),b.createElement(V5,{scope:r,scrollbar:h,hasThumb:o,onThumbChange:$t(l),onThumbPointerUp:$t(i),onThumbPositionChange:S,onThumbPointerDown:$t(u)},b.createElement(Vr.div,ae({},g,{ref:w,style:{position:"absolute",...g.style},onPointerDown:Lt(e.onPointerDown,O=>{O.button===0&&(O.target.setPointerCapture(O.pointerId),x.current=h.getBoundingClientRect(),v.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",p.viewport&&(p.viewport.style.scrollBehavior="auto"),k(O))}),onPointerMove:Lt(e.onPointerMove,k),onPointerUp:Lt(e.onPointerUp,O=>{let T=O.target;T.hasPointerCapture(O.pointerId)&&T.releasePointerCapture(O.pointerId),document.body.style.webkitUserSelect=v.current,p.viewport&&(p.viewport.style.scrollBehavior=""),x.current=null})})))}),ao="ScrollAreaThumb",z5=b.forwardRef((e,t)=>{let{forceMount:r,...n}=e,o=Ou(ao,e.__scopeScrollArea);return b.createElement(zr,{present:r||o.hasThumb},b.createElement(q5,ae({ref:t},n)))}),q5=b.forwardRef((e,t)=>{let{__scopeScrollArea:r,style:n,...o}=e,l=Me(ao,r),i=Ou(ao,r),{onThumbPositionChange:u}=i,s=Ht(t,f=>i.onThumbChange(f)),c=b.useRef(),d=Vn(()=>{c.current&&(c.current(),c.current=void 0)},100);return b.useEffect(()=>{let f=l.viewport;if(f){let g=()=>{if(d(),!c.current){let p=Y5(f,u);c.current=p,u()}};return u(),f.addEventListener("scroll",g),()=>f.removeEventListener("scroll",g)}},[l.viewport,d,u]),b.createElement(Vr.div,ae({"data-state":i.hasThumb?"visible":"hidden"},o,{ref:s,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...n},onPointerDownCapture:Lt(e.onPointerDownCapture,f=>{let g=f.target.getBoundingClientRect(),p=f.clientX-g.left,h=f.clientY-g.top;i.onThumbPointerDown({x:p,y:h})}),onPointerUp:Lt(e.onPointerUp,i.onThumbPointerUp)}))}),Ru="ScrollAreaCorner",U5=b.forwardRef((e,t)=>{let r=Me(Ru,e.__scopeScrollArea),n=!!(r.scrollbarX&&r.scrollbarY);return r.type!=="scroll"&&n?b.createElement(W5,ae({},e,{ref:t})):null}),W5=b.forwardRef((e,t)=>{let{__scopeScrollArea:r,...n}=e,o=Me(Ru,r),[l,i]=b.useState(0),[u,s]=b.useState(0),c=!!(l&&u);return er(o.scrollbarX,()=>{var d;let f=((d=o.scrollbarX)===null||d===void 0?void 0:d.offsetHeight)||0;o.onCornerHeightChange(f),s(f)}),er(o.scrollbarY,()=>{var d;let f=((d=o.scrollbarY)===null||d===void 0?void 0:d.offsetWidth)||0;o.onCornerWidthChange(f),i(f)}),c?b.createElement(Vr.div,ae({},n,{ref:t,style:{width:l,height:u,position:"absolute",right:o.dir==="ltr"?0:void 0,left:o.dir==="rtl"?0:void 0,bottom:0,...e.style}})):null});function Cn(e){return e?parseInt(e,10):0}function Fu(e,t){let r=e/t;return isNaN(r)?0:r}function Zn(e){let t=Fu(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,n=(e.scrollbar.size-r)*t;return Math.max(n,18)}function G5(e,t,r,n="ltr"){let o=Zn(r),l=o/2,i=t||l,u=o-i,s=r.scrollbar.paddingStart+i,c=r.scrollbar.size-r.scrollbar.paddingEnd-u,d=r.content-r.viewport,f=n==="ltr"?[0,d]:[d*-1,0];return $u([s,c],f)(e)}function ui(e,t,r="ltr"){let n=Zn(t),o=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,l=t.scrollbar.size-o,i=t.content-t.viewport,u=l-n,s=r==="ltr"?[0,i]:[i*-1,0],c=$5(e,s);return $u([0,i],[0,u])(c)}function $u(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 Du(e,t){return e>0&&e{})=>{let r={left:e.scrollLeft,top:e.scrollTop},n=0;return function o(){let l={left:e.scrollLeft,top:e.scrollTop},i=r.left!==l.left,u=r.top!==l.top;(i||u)&&t(),r=l,n=window.requestAnimationFrame(o)}(),()=>window.cancelAnimationFrame(n)};function Vn(e,t){let r=$t(e),n=b.useRef(0);return b.useEffect(()=>()=>window.clearTimeout(n.current),[]),b.useCallback(()=>{window.clearTimeout(n.current),n.current=window.setTimeout(r,t)},[r,t])}function er(e,t){let r=$t(t);no(()=>{let n=0;if(e){let o=new ResizeObserver(()=>{cancelAnimationFrame(n),n=window.requestAnimationFrame(r)});return o.observe(e),()=>{window.cancelAnimationFrame(n),o.unobserve(e)}}},[e,r])}var K5=M5,X5=I5,J5=P5,Q5=z5,ef=U5,tf=_(K5)(({scrollbarsize:e,offset:t})=>({width:"100%",height:"100%",overflow:"hidden","--scrollbar-size":`${e+t}px`,"--radix-scroll-area-thumb-width":`${e}px`})),rf=_(X5)({width:"100%",height:"100%"}),ci=_(J5)(({offset:e,horizontal:t,vertical:r})=>({display:"flex",userSelect:"none",touchAction:"none",background:"transparent",transition:"all 0.2s ease-out",borderRadius:"var(--scrollbar-size)",'&[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}})),di=_(Q5)(({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%",minWidth:44,minHeight:44}})),Uo=({children:e,horizontal:t=!1,vertical:r=!1,offset:n=2,scrollbarSize:o=6,className:l})=>a.createElement(tf,{scrollbarsize:o,offset:n,className:l},a.createElement(rf,null,e),t&&a.createElement(ci,{orientation:"horizontal",offset:n,horizontal:t.toString(),vertical:r.toString()},a.createElement(di,null)),r&&a.createElement(ci,{orientation:"vertical",offset:n,horizontal:t.toString(),vertical:r.toString()},a.createElement(di,null)),t&&r&&a.createElement(ef,null)),{navigator:tn,document:yr,window:nf}=_2;Oe.registerLanguage("jsextra",M2);Oe.registerLanguage("jsx",T2);Oe.registerLanguage("json",I2);Oe.registerLanguage("yml",q2);Oe.registerLanguage("md",V2);Oe.registerLanguage("bash",F2);Oe.registerLanguage("css",D2);Oe.registerLanguage("html",H2);Oe.registerLanguage("tsx",W2);Oe.registerLanguage("typescript",Y2);Oe.registerLanguage("graphql",j2);var af=Nt(2)(e=>Object.entries(e.code||{}).reduce((t,[r,n])=>({...t,[`* .${r}`]:n}),{})),of=Lu();function Lu(){return tn!=null&&tn.clipboard?e=>tn.clipboard.writeText(e):async e=>{let t=yr.createElement("TEXTAREA"),r=yr.activeElement;t.value=e,yr.body.appendChild(t),t.select(),yr.execCommand("copy"),yr.body.removeChild(t),r.focus()}}var lf=_.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)"}}:{}),sf=({children:e,className:t})=>a.createElement(Uo,{horizontal:!0,vertical:!0,className:t},e),uf=_(sf)({position:"relative"},({theme:e})=>af(e)),cf=_.pre(({theme:e,padded:t})=>({display:"flex",justifyContent:"flex-start",margin:0,padding:t?e.layoutMargin:0})),df=_.div(({theme:e})=>({flex:1,paddingLeft:2,paddingRight:e.layoutMargin,opacity:1})),Mu=e=>{let t=[...e.children],r=t[0],n=r.children[0].value,o={...r,children:[],properties:{...r.properties,"data-line-number":n,style:{...r.properties.style,userSelect:"auto"}}};return t[0]=o,{...e,children:t}},pf=({rows:e,stylesheet:t,useInlineStyles:r})=>e.map((n,o)=>Ho({node:Mu(n),stylesheet:t,useInlineStyles:r,key:`code-segement${o}`})),ff=(e,t)=>t?e?({rows:r,...n})=>e({rows:r.map(o=>Mu(o)),...n}):pf:e,Wo=({children:e,language:t="jsx",copyable:r=!1,bordered:n=!1,padded:o=!1,format:l=!0,formatter:i=null,className:u=null,showLineNumbers:s=!1,...c})=>{if(typeof e!="string"||!e.trim())return null;let d=i?i(l,e):e.trim(),[f,g]=b.useState(!1),p=b.useCallback(m=>{m.preventDefault(),of(d).then(()=>{g(!0),nf.setTimeout(()=>g(!1),1500)}).catch(k2.error)},[d]),h=ff(c.renderer,s);return a.createElement(lf,{bordered:n,padded:o,showLineNumbers:s,className:u},a.createElement(uf,null,a.createElement(Oe,{padded:o||n,language:t,showLineNumbers:s,showInlineLineNumbers:s,useInlineStyles:!1,PreTag:cf,CodeTag:df,lineNumberContainerStyle:{},...c,renderer:h},d)),r?a.createElement(zo,{actionItems:[{title:f?"Copied":"Copy",onClick:p}]}):null)};Wo.registerLanguage=(...e)=>Oe.registerLanguage(...e);var qw=Wo;const{global:mf}=__STORYBOOK_MODULE_GLOBAL__;var gf=Z({"../../node_modules/react-fast-compare/index.js"(e,t){var r=typeof Element<"u",n=typeof Map=="function",o=typeof Set=="function",l=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function i(u,s){if(u===s)return!0;if(u&&s&&typeof u=="object"&&typeof s=="object"){if(u.constructor!==s.constructor)return!1;var c,d,f;if(Array.isArray(u)){if(c=u.length,c!=s.length)return!1;for(d=c;d--!==0;)if(!i(u[d],s[d]))return!1;return!0}var g;if(n&&u instanceof Map&&s instanceof Map){if(u.size!==s.size)return!1;for(g=u.entries();!(d=g.next()).done;)if(!s.has(d.value[0]))return!1;for(g=u.entries();!(d=g.next()).done;)if(!i(d.value[1],s.get(d.value[0])))return!1;return!0}if(o&&u instanceof Set&&s instanceof Set){if(u.size!==s.size)return!1;for(g=u.entries();!(d=g.next()).done;)if(!s.has(d.value[0]))return!1;return!0}if(l&&ArrayBuffer.isView(u)&&ArrayBuffer.isView(s)){if(c=u.length,c!=s.length)return!1;for(d=c;d--!==0;)if(u[d]!==s[d])return!1;return!0}if(u.constructor===RegExp)return u.source===s.source&&u.flags===s.flags;if(u.valueOf!==Object.prototype.valueOf&&typeof u.valueOf=="function"&&typeof s.valueOf=="function")return u.valueOf()===s.valueOf();if(u.toString!==Object.prototype.toString&&typeof u.toString=="function"&&typeof s.toString=="function")return u.toString()===s.toString();if(f=Object.keys(u),c=f.length,c!==Object.keys(s).length)return!1;for(d=c;d--!==0;)if(!Object.prototype.hasOwnProperty.call(s,f[d]))return!1;if(r&&u instanceof Element)return!1;for(d=c;d--!==0;)if(!((f[d]==="_owner"||f[d]==="__v"||f[d]==="__o")&&u.$$typeof)&&!i(u[f[d]],s[f[d]]))return!1;return!0}return u!==u&&s!==s}t.exports=function(u,s){try{return i(u,s)}catch(c){if((c.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw c}}}});function hf(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,l;for(l=0;l=0)&&(r[o]=e[o]);return r}function ut(){return ut=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")return!1;var t=ke(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Tf(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},o=t.attributes[r]||{},l=t.elements[r];!$e(l)||!ot(l)||(Object.assign(l.style,n),Object.keys(o).forEach(function(i){var u=o[i];u===!1?l.removeAttribute(i):l.setAttribute(i,u===!0?"":u)}))})}function Rf(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 o=t.elements[n],l=t.attributes[n]||{},i=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),u=i.reduce(function(s,c){return s[c]="",s},{});!$e(o)||!ot(o)||(Object.assign(o.style,u),Object.keys(l).forEach(function(s){o.removeAttribute(s)}))})}}var Ff={name:"applyStyles",enabled:!0,phase:"write",fn:Tf,effect:Rf,requires:["computeStyles"]};function at(e){return e.split("-")[0]}var Mt=Math.max,kn=Math.min,rr=Math.round;function oo(){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}function Pu(){return!/^((?!chrome|android).)*safari/i.test(oo())}function nr(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),o=1,l=1;t&&$e(e)&&(o=e.offsetWidth>0&&rr(n.width)/e.offsetWidth||1,l=e.offsetHeight>0&&rr(n.height)/e.offsetHeight||1);var i=jt(e)?ke(e):window,u=i.visualViewport,s=!Pu()&&r,c=(n.left+(s&&u?u.offsetLeft:0))/o,d=(n.top+(s&&u?u.offsetTop:0))/l,f=n.width/o,g=n.height/l;return{width:f,height:g,top:d,right:c+f,bottom:d+g,left:c,x:c,y:d}}function Yo(e){var t=nr(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}}function ju(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Go(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function pt(e){return ke(e).getComputedStyle(e)}function $f(e){return["table","td","th"].indexOf(ot(e))>=0}function At(e){return((jt(e)?e.ownerDocument:e.document)||window.document).documentElement}function qn(e){return ot(e)==="html"?e:e.assignedSlot||e.parentNode||(Go(e)?e.host:null)||At(e)}function gi(e){return!$e(e)||pt(e).position==="fixed"?null:e.offsetParent}function Df(e){var t=/firefox/i.test(oo()),r=/Trident/i.test(oo());if(r&&$e(e)){var n=pt(e);if(n.position==="fixed")return null}var o=qn(e);for(Go(o)&&(o=o.host);$e(o)&&["html","body"].indexOf(ot(o))<0;){var l=pt(o);if(l.transform!=="none"||l.perspective!=="none"||l.contain==="paint"||["transform","perspective"].indexOf(l.willChange)!==-1||t&&l.willChange==="filter"||t&&l.filter&&l.filter!=="none")return o;o=o.parentNode}return null}function Ur(e){for(var t=ke(e),r=gi(e);r&&$f(r)&&pt(r).position==="static";)r=gi(r);return r&&(ot(r)==="html"||ot(r)==="body"&&pt(r).position==="static")?t:r||Df(e)||t}function Ko(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ar(e,t,r){return Mt(e,kn(t,r))}function Lf(e,t,r){var n=Ar(e,t,r);return n>r?r:n}function Nu(){return{top:0,right:0,bottom:0,left:0}}function Hu(e){return Object.assign({},Nu(),e)}function Zu(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var Mf=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,Hu(typeof e!="number"?e:Zu(e,qr))};function Bf(e){var t,r=e.state,n=e.name,o=e.options,l=r.elements.arrow,i=r.modifiersData.popperOffsets,u=at(r.placement),s=Ko(u),c=[we,Le].indexOf(u)>=0,d=c?"height":"width";if(!(!l||!i)){var f=Mf(o.padding,r),g=Yo(l),p=s==="y"?xe:we,h=s==="y"?De:Le,m=r.rects.reference[d]+r.rects.reference[s]-i[s]-r.rects.popper[d],w=i[s]-r.rects.reference[s],x=Ur(l),v=x?s==="y"?x.clientHeight||0:x.clientWidth||0:0,y=m/2-w/2,E=f[p],A=v-g[d]-f[h],S=v/2-g[d]/2+y,C=Ar(E,S,A),k=s;r.modifiersData[n]=(t={},t[k]=C,t.centerOffset=C-S,t)}}function If(e){var t=e.state,r=e.options,n=r.element,o=n===void 0?"[data-popper-arrow]":n;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||ju(t.elements.popper,o)&&(t.elements.arrow=o))}var Pf={name:"arrow",enabled:!0,phase:"main",fn:Bf,effect:If,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ar(e){return e.split("-")[1]}var jf={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Nf(e,t){var r=e.x,n=e.y,o=t.devicePixelRatio||1;return{x:rr(r*o)/o||0,y:rr(n*o)/o||0}}function hi(e){var t,r=e.popper,n=e.popperRect,o=e.placement,l=e.variation,i=e.offsets,u=e.position,s=e.gpuAcceleration,c=e.adaptive,d=e.roundOffsets,f=e.isFixed,g=i.x,p=g===void 0?0:g,h=i.y,m=h===void 0?0:h,w=typeof d=="function"?d({x:p,y:m}):{x:p,y:m};p=w.x,m=w.y;var x=i.hasOwnProperty("x"),v=i.hasOwnProperty("y"),y=we,E=xe,A=window;if(c){var S=Ur(r),C="clientHeight",k="clientWidth";if(S===ke(r)&&(S=At(r),pt(S).position!=="static"&&u==="absolute"&&(C="scrollHeight",k="scrollWidth")),S=S,o===xe||(o===we||o===Le)&&l===$r){E=De;var O=f&&S===A&&A.visualViewport?A.visualViewport.height:S[C];m-=O-n.height,m*=s?1:-1}if(o===we||(o===xe||o===De)&&l===$r){y=Le;var T=f&&S===A&&A.visualViewport?A.visualViewport.width:S[k];p-=T-n.width,p*=s?1:-1}}var R=Object.assign({position:u},c&&jf),F=d===!0?Nf({x:p,y:m},ke(r)):{x:p,y:m};if(p=F.x,m=F.y,s){var $;return Object.assign({},R,($={},$[E]=v?"0":"",$[y]=x?"0":"",$.transform=(A.devicePixelRatio||1)<=1?"translate("+p+"px, "+m+"px)":"translate3d("+p+"px, "+m+"px, 0)",$))}return Object.assign({},R,(t={},t[E]=v?m+"px":"",t[y]=x?p+"px":"",t.transform="",t))}function Hf(e){var t=e.state,r=e.options,n=r.gpuAcceleration,o=n===void 0?!0:n,l=r.adaptive,i=l===void 0?!0:l,u=r.roundOffsets,s=u===void 0?!0:u,c={placement:at(t.placement),variation:ar(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,hi(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:s})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,hi(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var Zf={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Hf,data:{}},rn={passive:!0};function Vf(e){var t=e.state,r=e.instance,n=e.options,o=n.scroll,l=o===void 0?!0:o,i=n.resize,u=i===void 0?!0:i,s=ke(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return l&&c.forEach(function(d){d.addEventListener("scroll",r.update,rn)}),u&&s.addEventListener("resize",r.update,rn),function(){l&&c.forEach(function(d){d.removeEventListener("scroll",r.update,rn)}),u&&s.removeEventListener("resize",r.update,rn)}}var zf={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Vf,data:{}},qf={left:"right",right:"left",bottom:"top",top:"bottom"};function fn(e){return e.replace(/left|right|bottom|top/g,function(t){return qf[t]})}var Uf={start:"end",end:"start"};function bi(e){return e.replace(/start|end/g,function(t){return Uf[t]})}function Xo(e){var t=ke(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function Jo(e){return nr(At(e)).left+Xo(e).scrollLeft}function Wf(e,t){var r=ke(e),n=At(e),o=r.visualViewport,l=n.clientWidth,i=n.clientHeight,u=0,s=0;if(o){l=o.width,i=o.height;var c=Pu();(c||!c&&t==="fixed")&&(u=o.offsetLeft,s=o.offsetTop)}return{width:l,height:i,x:u+Jo(e),y:s}}function Gf(e){var t,r=At(e),n=Xo(e),o=(t=e.ownerDocument)==null?void 0:t.body,l=Mt(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=Mt(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),u=-n.scrollLeft+Jo(e),s=-n.scrollTop;return pt(o||r).direction==="rtl"&&(u+=Mt(r.clientWidth,o?o.clientWidth:0)-l),{width:l,height:i,x:u,y:s}}function Qo(e){var t=pt(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function Vu(e){return["html","body","#document"].indexOf(ot(e))>=0?e.ownerDocument.body:$e(e)&&Qo(e)?e:Vu(qn(e))}function Sr(e,t){var r;t===void 0&&(t=[]);var n=Vu(e),o=n===((r=e.ownerDocument)==null?void 0:r.body),l=ke(n),i=o?[l].concat(l.visualViewport||[],Qo(n)?n:[]):n,u=t.concat(i);return o?u:u.concat(Sr(qn(i)))}function lo(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Yf(e,t){var r=nr(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 yi(e,t,r){return t===Bu?lo(Wf(e,r)):jt(t)?Yf(t,r):lo(Gf(At(e)))}function Kf(e){var t=Sr(qn(e)),r=["absolute","fixed"].indexOf(pt(e).position)>=0,n=r&&$e(e)?Ur(e):e;return jt(n)?t.filter(function(o){return jt(o)&&ju(o,n)&&ot(o)!=="body"}):[]}function Xf(e,t,r,n){var o=t==="clippingParents"?Kf(e):[].concat(t),l=[].concat(o,[r]),i=l[0],u=l.reduce(function(s,c){var d=yi(e,c,n);return s.top=Mt(d.top,s.top),s.right=kn(d.right,s.right),s.bottom=kn(d.bottom,s.bottom),s.left=Mt(d.left,s.left),s},yi(e,i,n));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}function zu(e){var t=e.reference,r=e.element,n=e.placement,o=n?at(n):null,l=n?ar(n):null,i=t.x+t.width/2-r.width/2,u=t.y+t.height/2-r.height/2,s;switch(o){case xe:s={x:i,y:t.y-r.height};break;case De:s={x:i,y:t.y+t.height};break;case Le:s={x:t.x+t.width,y:u};break;case we:s={x:t.x-r.width,y:u};break;default:s={x:t.x,y:t.y}}var c=o?Ko(o):null;if(c!=null){var d=c==="y"?"height":"width";switch(l){case tr:s[c]=s[c]-(t[d]/2-r[d]/2);break;case $r:s[c]=s[c]+(t[d]/2-r[d]/2);break}}return s}function Dr(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=n===void 0?e.placement:n,l=r.strategy,i=l===void 0?e.strategy:l,u=r.boundary,s=u===void 0?bf:u,c=r.rootBoundary,d=c===void 0?Bu:c,f=r.elementContext,g=f===void 0?vr:f,p=r.altBoundary,h=p===void 0?!1:p,m=r.padding,w=m===void 0?0:m,x=Hu(typeof w!="number"?w:Zu(w,qr)),v=g===vr?yf:vr,y=e.rects.popper,E=e.elements[h?v:g],A=Xf(jt(E)?E:E.contextElement||At(e.elements.popper),s,d,i),S=nr(e.elements.reference),C=zu({reference:S,element:y,strategy:"absolute",placement:o}),k=lo(Object.assign({},y,C)),O=g===vr?k:S,T={top:A.top-O.top+x.top,bottom:O.bottom-A.bottom+x.bottom,left:A.left-O.left+x.left,right:O.right-A.right+x.right},R=e.modifiersData.offset;if(g===vr&&R){var F=R[o];Object.keys(T).forEach(function($){var P=[Le,De].indexOf($)>=0?1:-1,D=[xe,De].indexOf($)>=0?"y":"x";T[$]+=F[D]*P})}return T}function Jf(e,t){t===void 0&&(t={});var r=t,n=r.placement,o=r.boundary,l=r.rootBoundary,i=r.padding,u=r.flipVariations,s=r.allowedAutoPlacements,c=s===void 0?Iu:s,d=ar(n),f=d?u?mi:mi.filter(function(h){return ar(h)===d}):qr,g=f.filter(function(h){return c.indexOf(h)>=0});g.length===0&&(g=f);var p=g.reduce(function(h,m){return h[m]=Dr(e,{placement:m,boundary:o,rootBoundary:l,padding:i})[at(m)],h},{});return Object.keys(p).sort(function(h,m){return p[h]-p[m]})}function Qf(e){if(at(e)===zn)return[];var t=fn(e);return[bi(e),t,bi(t)]}function em(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var o=r.mainAxis,l=o===void 0?!0:o,i=r.altAxis,u=i===void 0?!0:i,s=r.fallbackPlacements,c=r.padding,d=r.boundary,f=r.rootBoundary,g=r.altBoundary,p=r.flipVariations,h=p===void 0?!0:p,m=r.allowedAutoPlacements,w=t.options.placement,x=at(w),v=x===w,y=s||(v||!h?[fn(w)]:Qf(w)),E=[w].concat(y).reduce(function(K,I){return K.concat(at(I)===zn?Jf(t,{placement:I,boundary:d,rootBoundary:f,padding:c,flipVariations:h,allowedAutoPlacements:m}):I)},[]),A=t.rects.reference,S=t.rects.popper,C=new Map,k=!0,O=E[0],T=0;T=0,D=P?"width":"height",L=Dr(t,{placement:R,boundary:d,rootBoundary:f,altBoundary:g,padding:c}),N=P?$?Le:we:$?De:xe;A[D]>S[D]&&(N=fn(N));var V=fn(N),B=[];if(l&&B.push(L[F]<=0),u&&B.push(L[N]<=0,L[V]<=0),B.every(function(K){return K})){O=R,k=!1;break}C.set(R,B)}if(k)for(var H=h?3:1,Y=function(K){var I=E.find(function(z){var q=C.get(z);if(q)return q.slice(0,K).every(function(ie){return ie})});if(I)return O=I,"break"},te=H;te>0;te--){var G=Y(te);if(G==="break")break}t.placement!==O&&(t.modifiersData[n]._skip=!0,t.placement=O,t.reset=!0)}}var tm={name:"flip",enabled:!0,phase:"main",fn:em,requiresIfExists:["offset"],data:{_skip:!1}};function Ei(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 xi(e){return[xe,Le,De,we].some(function(t){return e[t]>=0})}function rm(e){var t=e.state,r=e.name,n=t.rects.reference,o=t.rects.popper,l=t.modifiersData.preventOverflow,i=Dr(t,{elementContext:"reference"}),u=Dr(t,{altBoundary:!0}),s=Ei(i,n),c=Ei(u,o,l),d=xi(s),f=xi(c);t.modifiersData[r]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":f})}var nm={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:rm};function am(e,t,r){var n=at(e),o=[we,xe].indexOf(n)>=0?-1:1,l=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,i=l[0],u=l[1];return i=i||0,u=(u||0)*o,[we,Le].indexOf(n)>=0?{x:u,y:i}:{x:i,y:u}}function om(e){var t=e.state,r=e.options,n=e.name,o=r.offset,l=o===void 0?[0,0]:o,i=Iu.reduce(function(d,f){return d[f]=am(f,t.rects,l),d},{}),u=i[t.placement],s=u.x,c=u.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=i}var lm={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:om};function im(e){var t=e.state,r=e.name;t.modifiersData[r]=zu({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var sm={name:"popperOffsets",enabled:!0,phase:"read",fn:im,data:{}};function um(e){return e==="x"?"y":"x"}function cm(e){var t=e.state,r=e.options,n=e.name,o=r.mainAxis,l=o===void 0?!0:o,i=r.altAxis,u=i===void 0?!1:i,s=r.boundary,c=r.rootBoundary,d=r.altBoundary,f=r.padding,g=r.tether,p=g===void 0?!0:g,h=r.tetherOffset,m=h===void 0?0:h,w=Dr(t,{boundary:s,rootBoundary:c,padding:f,altBoundary:d}),x=at(t.placement),v=ar(t.placement),y=!v,E=Ko(x),A=um(E),S=t.modifiersData.popperOffsets,C=t.rects.reference,k=t.rects.popper,O=typeof m=="function"?m(Object.assign({},t.rects,{placement:t.placement})):m,T=typeof O=="number"?{mainAxis:O,altAxis:O}:Object.assign({mainAxis:0,altAxis:0},O),R=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,F={x:0,y:0};if(S){if(l){var $,P=E==="y"?xe:we,D=E==="y"?De:Le,L=E==="y"?"height":"width",N=S[E],V=N+w[P],B=N-w[D],H=p?-k[L]/2:0,Y=v===tr?C[L]:k[L],te=v===tr?-k[L]:-C[L],G=t.elements.arrow,K=p&&G?Yo(G):{width:0,height:0},I=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Nu(),z=I[P],q=I[D],ie=Ar(0,C[L],K[L]),he=y?C[L]/2-H-ie-z-T.mainAxis:Y-ie-z-T.mainAxis,lt=y?-C[L]/2+H+ie+q+T.mainAxis:te+ie+q+T.mainAxis,Te=t.elements.arrow&&Ur(t.elements.arrow),He=Te?E==="y"?Te.clientTop||0:Te.clientLeft||0:0,M=($=R==null?void 0:R[E])!=null?$:0,Ie=N+he-M-He,Ze=N+lt-M,St=Ar(p?kn(V,Ie):V,N,p?Mt(B,Ze):B);S[E]=St,F[E]=St-N}if(u){var Vt,Ve=E==="x"?xe:we,Yr=E==="x"?De:Le,be=S[A],Ct=A==="y"?"height":"width",ze=be+w[Ve],zt=be-w[Yr],qe=[xe,we].indexOf(x)!==-1,qt=(Vt=R==null?void 0:R[A])!=null?Vt:0,Ue=qe?ze:be-C[Ct]-k[Ct]-qt+T.altAxis,pe=qe?be+C[Ct]+k[Ct]-qt-T.altAxis:zt,Pe=p&&qe?Lf(Ue,be,pe):Ar(p?Ue:ze,be,p?pe:zt);S[A]=Pe,F[A]=Pe-be}t.modifiersData[n]=F}}var dm={name:"preventOverflow",enabled:!0,phase:"main",fn:cm,requiresIfExists:["offset"]};function pm(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function fm(e){return e===ke(e)||!$e(e)?Xo(e):pm(e)}function mm(e){var t=e.getBoundingClientRect(),r=rr(t.width)/e.offsetWidth||1,n=rr(t.height)/e.offsetHeight||1;return r!==1||n!==1}function gm(e,t,r){r===void 0&&(r=!1);var n=$e(t),o=$e(t)&&mm(t),l=At(t),i=nr(e,o,r),u={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(n||!n&&!r)&&((ot(t)!=="body"||Qo(l))&&(u=fm(t)),$e(t)?(s=nr(t,!0),s.x+=t.clientLeft,s.y+=t.clientTop):l&&(s.x=Jo(l))),{x:i.left+u.scrollLeft-s.x,y:i.top+u.scrollTop-s.y,width:i.width,height:i.height}}function hm(e){var t=new Map,r=new Set,n=[];e.forEach(function(l){t.set(l.name,l)});function o(l){r.add(l.name);var i=[].concat(l.requires||[],l.requiresIfExists||[]);i.forEach(function(u){if(!r.has(u)){var s=t.get(u);s&&o(s)}}),n.push(l)}return e.forEach(function(l){r.has(l.name)||o(l)}),n}function bm(e){var t=hm(e);return Of.reduce(function(r,n){return r.concat(t.filter(function(o){return o.phase===n}))},[])}function ym(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function vm(e){var t=e.reduce(function(r,n){var o=r[n.name];return r[n.name]=o?Object.assign({},o,n,{options:Object.assign({},o.options,n.options),data:Object.assign({},o.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var wi={placement:"bottom",modifiers:[],strategy:"absolute"};function Ai(){for(var e=arguments.length,t=new Array(e),r=0;rt.split("-")[0]===e?r:n),gt=8,Rm=_.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:`${Re("top",r,`${gt*-1}px`,"auto")}`,top:`${Re("bottom",r,`${gt*-1}px`,"auto")}`,right:`${Re("left",r,`${gt*-1}px`,"auto")}`,left:`${Re("right",r,`${gt*-1}px`,"auto")}`,borderBottomWidth:`${Re("top",r,"0",gt)}px`,borderTopWidth:`${Re("bottom",r,"0",gt)}px`,borderRightWidth:`${Re("left",r,"0",gt)}px`,borderLeftWidth:`${Re("right",r,"0",gt)}px`,borderTopColor:Re("top",r,e.color[t]||t||e.base==="light"?wr(e.background.app):e.background.app,"transparent"),borderBottomColor:Re("bottom",r,e.color[t]||t||e.base==="light"?wr(e.background.app):e.background.app,"transparent"),borderLeftColor:Re("left",r,e.color[t]||t||e.base==="light"?wr(e.background.app):e.background.app,"transparent"),borderRightColor:Re("right",r,e.color[t]||t||e.base==="light"?wr(e.background.app):e.background.app,"transparent")})),Fm=_.div(({hidden:e})=>({display:e?"none":"inline-block",zIndex:2147483647}),({theme:e,color:t,hasChrome:r})=>r?{background:e.color[t]||t||e.base==="light"?wr(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,fontSize:e.typography.size.s1}:{}),el=a.forwardRef(({placement:e,hasChrome:t,children:r,arrowProps:n,tooltipRef:o,color:l,withArrows:i,...u},s)=>a.createElement(Fm,{"data-testid":"tooltip",hasChrome:t,ref:s,...u,color:l},t&&i&&a.createElement(Rm,{placement:e,...n,color:l}),r));el.displayName="Tooltip";el.defaultProps={color:void 0,tooltipRef:void 0,hasChrome:!0,placement:"top",arrowProps:{}};var{document:mn}=mf,$m=_.div` - display: inline-block; - cursor: ${e=>e.trigger==="hover"||e.trigger.includes("hover")?"default":"pointer"}; -`,Dm=_.g` - cursor: ${e=>e.trigger==="hover"||e.trigger.includes("hover")?"default":"pointer"}; -`,Wu=({svg:e,trigger:t,closeOnOutsideClick:r,placement:n,hasChrome:o,withArrows:l,offset:i,tooltip:u,children:s,closeOnTriggerHidden:c,mutationObserverOptions:d,closeOnClick:f,tooltipShown:g,onVisibilityChange:p,defaultVisible:h,delayHide:m,visible:w,interactive:x,delayShow:v,modifiers:y,strategy:E,followCursor:A,onVisibleChange:S,...C})=>{let k=e?Dm:$m,{getArrowProps:O,getTooltipProps:T,setTooltipRef:R,setTriggerRef:F,visible:$,state:P}=Tm({trigger:t,placement:n,defaultVisible:h??g,delayHide:m,interactive:x,closeOnOutsideClick:r??f,closeOnTriggerHidden:c,onVisibleChange:L=>{p==null||p(L),S==null||S(L)},delayShow:v,followCursor:A,mutationObserverOptions:d,visible:w,offset:i},{modifiers:y,strategy:E}),D=a.createElement(el,{placement:P==null?void 0:P.placement,ref:R,hasChrome:o,arrowProps:O(),withArrows:l,...T()},typeof u=="function"?u({onHide:()=>S(!1)}):u);return a.createElement(a.Fragment,null,a.createElement(k,{trigger:t,ref:F,...C},s),$&&q0.createPortal(D,mn.body))};Wu.defaultProps={svg:!1,trigger:"click",closeOnOutsideClick:!1,placement:"top",modifiers:[{name:"preventOverflow",options:{padding:8}},{name:"offset",options:{offset:[8,8]}},{name:"arrow",options:{padding:8}}],hasChrome:!0,defaultVisible:!1};var Lm=({startOpen:e=!1,onVisibleChange:t,...r})=>{let[n,o]=b.useState(e),l=b.useCallback(i=>{t&&t(i)===!1||o(i)},[t]);return b.useEffect(()=>{let i=()=>l(!1);mn.addEventListener("keydown",i,!1);let u=Array.from(mn.getElementsByTagName("iframe")),s=[];return u.forEach(c=>{let d=()=>{try{c.contentWindow.document&&(c.contentWindow.document.addEventListener("click",i),s.push(()=>{try{c.contentWindow.document.removeEventListener("click",i)}catch{}}))}catch{}};d(),c.addEventListener("load",d),s.push(()=>{c.removeEventListener("load",d)})}),()=>{mn.removeEventListener("keydown",i),s.forEach(c=>{c()})}}),a.createElement(Wu,{...r,visible:n,onVisibleChange:l})};function Mm(e,t){var r=b.useRef(null),n=b.useRef(null);n.current=t;var o=b.useRef(null);b.useEffect(function(){l()});var l=b.useCallback(function(){var i=o.current,u=n.current,s=i||(u?u instanceof Element?u:u.current:null);r.current&&r.current.element===s&&r.current.subscriber===e||(r.current&&r.current.cleanup&&r.current.cleanup(),r.current={element:s,subscriber:e,cleanup:s?e(s):void 0})},[e]);return b.useEffect(function(){return function(){r.current&&r.current.cleanup&&(r.current.cleanup(),r.current=null)}},[]),b.useCallback(function(i){o.current=i,l()},[l])}function ki(e,t,r){return e[t]?e[t][0]?e[t][0][r]:e[t][r]:t==="contentBoxSize"?e.contentRect[r==="inlineSize"?"width":"height"]:void 0}function Gu(e){e===void 0&&(e={});var t=e.onResize,r=b.useRef(void 0);r.current=t;var n=e.round||Math.round,o=b.useRef(),l=b.useState({width:void 0,height:void 0}),i=l[0],u=l[1],s=b.useRef(!1);b.useEffect(function(){return s.current=!1,function(){s.current=!0}},[]);var c=b.useRef({width:void 0,height:void 0}),d=Mm(b.useCallback(function(f){return(!o.current||o.current.box!==e.box||o.current.round!==n)&&(o.current={box:e.box,round:n,instance:new ResizeObserver(function(g){var p=g[0],h=e.box==="border-box"?"borderBoxSize":e.box==="device-pixel-content-box"?"devicePixelContentBoxSize":"contentBoxSize",m=ki(p,h,"inlineSize"),w=ki(p,h,"blockSize"),x=m?n(m):void 0,v=w?n(w):void 0;if(c.current.width!==x||c.current.height!==v){var y={width:x,height:v};c.current.width=x,c.current.height=v,r.current?r.current(y):s.current||u(y)}})}),o.current.instance.observe(f,{box:e.box}),function(){o.current&&o.current.instance.unobserve(f)}},[e.box,n]),e.ref);return b.useMemo(function(){return{ref:d,width:i.width,height:i.height}},[d,i.width,i.height])}const{global:Bm}=__STORYBOOK_MODULE_GLOBAL__;var J=({...e},t)=>{let r=[e.class,e.className];return delete e.class,e.className=["sbdocs",`sbdocs-${t}`,...r].filter(Boolean).join(" "),e};function Lr(){return Lr=Object.assign?Object.assign.bind():function(e){for(var t=1;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 gn(e,t,r){return Nm()?gn=Reflect.construct.bind():gn=function(n,o,l){var i=[null];i.push.apply(i,o);var u=Function.bind.apply(n,i),s=new u;return l&&Mr(s,l.prototype),s},gn.apply(null,arguments)}function so(e){var t=typeof Map=="function"?new Map:void 0;return so=function(r){if(r===null||!jm(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(r))return t.get(r);t.set(r,n)}function n(){return gn(r,arguments,io(this).constructor)}return n.prototype=Object.create(r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Mr(n,r)},so(e)}var tt=function(e){Pm(t,e);function t(r){var n;return n=e.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+r+" for more information.")||this,Im(n)}return t}(so(Error));function xa(e){return Math.round(e*255)}function Hm(e,t,r){return xa(e)+","+xa(t)+","+xa(r)}function Br(e,t,r,n){if(n===void 0&&(n=Hm),t===0)return n(r,r,r);var o=(e%360+360)%360/60,l=(1-Math.abs(2*r-1))*t,i=l*(1-Math.abs(o%2-1)),u=0,s=0,c=0;o>=0&&o<1?(u=l,s=i):o>=1&&o<2?(u=i,s=l):o>=2&&o<3?(s=l,c=i):o>=3&&o<4?(s=i,c=l):o>=4&&o<5?(u=i,c=l):o>=5&&o<6&&(u=l,c=i);var d=r-l/2,f=u+d,g=s+d,p=c+d;return n(f,g,p)}var _i={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 Zm(e){if(typeof e!="string")return e;var t=e.toLowerCase();return _i[t]?"#"+_i[t]:e}var Vm=/^#[a-fA-F0-9]{6}$/,zm=/^#[a-fA-F0-9]{8}$/,qm=/^#[a-fA-F0-9]{3}$/,Um=/^#[a-fA-F0-9]{4}$/,wa=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,Wm=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,Gm=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,Ym=/^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 tl(e){if(typeof e!="string")throw new tt(3);var t=Zm(e);if(t.match(Vm))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(qm))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(Um)){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=wa.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var l=Wm.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 i=Gm.exec(t);if(i){var u=parseInt(""+i[1],10),s=parseInt(""+i[2],10)/100,c=parseInt(""+i[3],10)/100,d="rgb("+Br(u,s,c)+")",f=wa.exec(d);if(!f)throw new tt(4,t,d);return{red:parseInt(""+f[1],10),green:parseInt(""+f[2],10),blue:parseInt(""+f[3],10)}}var g=Ym.exec(t.substring(0,50));if(g){var p=parseInt(""+g[1],10),h=parseInt(""+g[2],10)/100,m=parseInt(""+g[3],10)/100,w="rgb("+Br(p,h,m)+")",x=wa.exec(w);if(!x)throw new tt(4,t,w);return{red:parseInt(""+x[1],10),green:parseInt(""+x[2],10),blue:parseInt(""+x[3],10),alpha:parseFloat(""+g[4])>1?parseFloat(""+g[4])/100:parseFloat(""+g[4])}}throw new tt(5)}function Km(e){var t=e.red/255,r=e.green/255,n=e.blue/255,o=Math.max(t,r,n),l=Math.min(t,r,n),i=(o+l)/2;if(o===l)return e.alpha!==void 0?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var u,s=o-l,c=i>.5?s/(2-o-l):s/(o+l);switch(o){case t:u=(r-n)/s+(r=1?_n(e,t,r):"rgba("+Br(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?_n(e.hue,e.saturation,e.lightness):"rgba("+Br(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new tt(2)}function co(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return uo("#"+Tt(e)+Tt(t)+Tt(r));if(typeof e=="object"&&t===void 0&&r===void 0)return uo("#"+Tt(e.red)+Tt(e.green)+Tt(e.blue));throw new tt(6)}function ct(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var o=tl(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?co(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?co(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new tt(7)}var tg=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},rg=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},ng=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},ag=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function Ku(e){if(typeof e!="object")throw new tt(8);if(rg(e))return ct(e);if(tg(e))return co(e);if(ag(e))return eg(e);if(ng(e))return Qm(e);throw new tt(8)}function Xu(e,t,r){return function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):Xu(e,t,n)}}function rl(e){return Xu(e,e.length,[])}function nl(e,t,r){return Math.max(e,Math.min(t,r))}function og(e,t){if(t==="transparent")return t;var r=Yu(t);return Ku(Lr({},r,{lightness:nl(0,1,r.lightness-parseFloat(e))}))}var lg=rl(og),Yt=lg;function ig(e,t){if(t==="transparent")return t;var r=Yu(t);return Ku(Lr({},r,{lightness:nl(0,1,r.lightness+parseFloat(e))}))}var sg=rl(ig),ug=sg;function cg(e,t){if(t==="transparent")return t;var r=tl(t),n=typeof r.alpha=="number"?r.alpha:1,o=Lr({},r,{alpha:nl(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return ct(o)}var dg=rl(cg),ve=dg,cr=({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"}}),mt=({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"?ve(.1,e.color.defaultText):ve(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border}),ee=({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"}),Zt={margin:"16px 0"},pg=({href:e,children:t,...r})=>{let n=/^\//.test(e),o=/^#.*/.test(e),l=n?`./?path=${e}`:e;return a.createElement("a",{href:l,target:o?"_self":"_top",...r},t)},Ju=_(pg)(ee,({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}})),Qu=_.blockquote(ee,Zt,({theme:e})=>({borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}})),fg=e=>typeof e=="string",mg=/[\n\r]/g,gg=_.code(({theme:e})=>({fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"}),mt),hg=_(Wo)(({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"}})),al=({className:e,children:t,...r})=>{let n=(e||"").match(/lang-(\S+)/),o=b.Children.toArray(t);return o.filter(fg).some(l=>l.match(mg))?a.createElement(hg,{bordered:!0,copyable:!0,language:(n==null?void 0:n[1])??"plaintext",format:!1,...r},t):a.createElement(gg,{...r,className:e},o)},ec=_.div(ee),tc=_.dl(ee,Zt,{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}}),rc=_.h1(ee,cr,({theme:e})=>({fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold})),ol=_.h2(ee,cr,({theme:e})=>({fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`})),ll=_.h3(ee,cr,({theme:e})=>({fontSize:`${e.typography.size.m1}px`})),nc=_.h4(ee,cr,({theme:e})=>({fontSize:`${e.typography.size.s3}px`})),ac=_.h5(ee,cr,({theme:e})=>({fontSize:`${e.typography.size.s2}px`})),oc=_.h6(ee,cr,({theme:e})=>({fontSize:`${e.typography.size.s2}px`,color:e.color.dark})),lc=_.hr(({theme:e})=>({border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0})),ic=_.img({maxWidth:"100%"}),sc=_.li(ee,({theme:e})=>({fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":mt({theme:e})})),bg={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},uc=_.ol(ee,Zt,bg,{listStyle:"decimal"}),cc=_.p(ee,Zt,({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":mt({theme:e})})),dc=_.pre(ee,Zt,({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"}})),pc=_.span(ee,({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"}}})),fc=_.table(ee,Zt,({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}})),mc=_.title(mt),yg={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},gc=_.ul(ee,Zt,yg,{listStyle:"disc"}),Un=_.div(ee),hc={h1:e=>a.createElement(rc,{...J(e,"h1")}),h2:e=>a.createElement(ol,{...J(e,"h2")}),h3:e=>a.createElement(ll,{...J(e,"h3")}),h4:e=>a.createElement(nc,{...J(e,"h4")}),h5:e=>a.createElement(ac,{...J(e,"h5")}),h6:e=>a.createElement(oc,{...J(e,"h6")}),pre:e=>a.createElement(dc,{...J(e,"pre")}),a:e=>a.createElement(Ju,{...J(e,"a")}),hr:e=>a.createElement(lc,{...J(e,"hr")}),dl:e=>a.createElement(tc,{...J(e,"dl")}),blockquote:e=>a.createElement(Qu,{...J(e,"blockquote")}),table:e=>a.createElement(fc,{...J(e,"table")}),img:e=>a.createElement(ic,{...J(e,"img")}),div:e=>a.createElement(ec,{...J(e,"div")}),span:e=>a.createElement(pc,{...J(e,"span")}),li:e=>a.createElement(sc,{...J(e,"li")}),ul:e=>a.createElement(gc,{...J(e,"ul")}),ol:e=>a.createElement(uc,{...J(e,"ol")}),p:e=>a.createElement(cc,{...J(e,"p")}),code:e=>a.createElement(al,{...J(e,"code")}),tt:e=>a.createElement(mc,{...J(e,"tt")}),resetwrapper:e=>a.createElement(Un,{...J(e,"resetwrapper")})},vg=_.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 ${ve(.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 ${ve(.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 ${ve(.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 ${ve(.9,e.color.positiveText)}`:"none"};default:return{}}}),Eg=({...e})=>a.createElement(vg,{...e}),Ir={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"})),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"})),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"}))},bc=_.svg` - display: inline-block; - shape-rendering: inherit; - vertical-align: middle; - fill: currentColor; - - path { - fill: currentColor; - } -`,ye=({icon:e,useSymbol:t,...r})=>a.createElement(bc,{viewBox:"0 0 14 14",width:"14px",height:"14px",...r},t?a.createElement("use",{xlinkHref:`#icon--${e}`}):Ir[e]),xg=b.memo(function({icons:e=Object.keys(Ir)}){return a.createElement(bc,{viewBox:"0 0 14 14",style:{position:"absolute",width:0,height:0},"data-chromatic":"ignore"},e.map(t=>a.createElement("symbol",{id:`icon--${t}`,key:t},Ir[t])))}),wg=0,Ag=e=>e.button===wg&&!e.altKey&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey,Sg=(e,t)=>{Ag(e)&&(e.preventDefault(),t(e))},Cg=_.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}}:{}),kg=_.a(({theme:e})=>({display:"inline-block",transition:"all 150ms ease-out",textDecoration:"none",color:e.color.secondary,"&:hover, &:focus":{cursor:"pointer",color:Yt(.07,e.color.secondary),"svg path:not([fill])":{fill:Yt(.07,e.color.secondary)}},"&:active":{color:Yt(.1,e.color.secondary),"svg path:not([fill])":{fill:Yt(.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"}:{}),xt=({cancel:e,children:t,onClick:r,withArrow:n,containsIcon:o,className:l,...i})=>a.createElement(kg,{...i,onClick:r&&e?u=>Sg(u,r):r,className:l},a.createElement(Cg,{withArrow:n,containsIcon:o},t,n&&a.createElement(ye,{icon:"arrowright"})));xt.defaultProps={cancel:!0,className:void 0,style:void 0,onClick:void 0,withArrow:!1,containsIcon:!1};var _g=_.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}})),Bt=[],or=null,Og=b.lazy(async()=>{let{SyntaxHighlighter:e}=await Pt(()=>import("./syntaxhighlighter-V7JZZA35-aYCgnUz8.js"),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url);return Bt.length>0&&(Bt.forEach(t=>{e.registerLanguage(...t)}),Bt=[]),or===null&&(or=e),{default:t=>a.createElement(e,{...t})}}),Tg=b.lazy(async()=>{let[{SyntaxHighlighter:e},{formatter:t}]=await Promise.all([Pt(()=>import("./syntaxhighlighter-V7JZZA35-aYCgnUz8.js"),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url),Pt(()=>import("./formatter-SWP5E3XI-OuMpVto0.js"),__vite__mapDeps([8,1,2,3,4,5,6,7]),import.meta.url)]);return Bt.length>0&&(Bt.forEach(r=>{e.registerLanguage(...r)}),Bt=[]),or===null&&(or=e),{default:r=>a.createElement(e,{...r,formatter:t})}}),Wn=e=>a.createElement(b.Suspense,{fallback:a.createElement("div",null)},e.format!==!1?a.createElement(Tg,{...e}):a.createElement(Og,{...e}));Wn.registerLanguage=(...e)=>{if(or!==null){or.registerLanguage(...e);return}Bt.push(e)};var Rg=e=>typeof e=="number"?e:Number(e),Fg=_.div(({theme:e,col:t,row:r=1})=>t?{display:"inline-block",verticalAlign:"inherit","& > *":{marginLeft:t*e.layoutMargin,verticalAlign:"inherit"},[`& > *:first-child${Ja}`]:{marginLeft:0}}:{"& > *":{marginTop:r*e.layoutMargin},[`& > *:first-child${Ja}`]:{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{}}}),$g=({col:e,row:t,outer:r,children:n,...o})=>{let l=Rg(typeof r=="number"||!r?r:e||t);return a.createElement(Fg,{col:e,row:t,outer:l,...o},n)},Dg=_.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),Lg=_.div(),Mg=_.div(({theme:e})=>({padding:30,textAlign:"center",color:e.color.defaultText,fontSize:e.typography.size.s2-1})),yc=({children:e,...t})=>{let[r,n]=b.Children.toArray(e);return a.createElement(Mg,{...t},a.createElement(Dg,null,r),n&&a.createElement(Lg,null,n))},Bg=_.div(({scale:e=1,elementHeight:t})=>({height:t||"auto",transformOrigin:"top left",transform:`scale(${1/e})`}));function Ig({scale:e,children:t}){let r=b.useRef(null),[n,o]=b.useState(0),l=b.useCallback(({height:i})=>{i&&o(i/e)},[e]);return b.useEffect(()=>{r.current&&o(r.current.getBoundingClientRect().height)},[e]),Gu({ref:r,onResize:l}),a.createElement(Bg,{scale:e,elementHeight:n},a.createElement("div",{ref:r,className:"innerZoomElementWrapper"},t))}var Pg=class extends b.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{iFrameRef:e}=this.props;this.iframe=e.current}shouldComponentUpdate(e){let{scale:t,active:r}=this.props;return t!==e.scale&&this.setIframeInnerZoom(e.scale),r!==e.active&&this.iframe.setAttribute("data-is-storybook",e.active?"true":"false"),e.children.props.src!==this.props.children.props.src}setIframeInnerZoom(e){try{Object.assign(this.iframe.contentDocument.body.style,{width:`${e*100}%`,height:`${e*100}%`,transform:`scale(${1/e})`,transformOrigin:"top left"})}catch{this.setIframeZoom(e)}}setIframeZoom(e){Object.assign(this.iframe.style,{width:`${e*100}%`,height:`${e*100}%`,transform:`scale(${1/e})`,transformOrigin:"top left"})}render(){let{children:e}=this.props;return a.createElement(a.Fragment,null,e)}},vc={Element:Ig,IFrame:Pg},{document:jg}=Bm,Ng=_.strong(({theme:e})=>({color:e.color.orange})),Hg=_.strong(({theme:e})=>({color:e.color.ancillary,textDecoration:"underline"})),Oi=_.em(({theme:e})=>({color:e.textMutedColor})),Zg=/(Error): (.*)\n/,Vg=/at (?:(.*) )?\(?(.+)\)?/,zg=/([^@]+)?(?:\/<)?@(.+)?/,qg=/([^@]+)?@(.+)?/,Ec=({error:e})=>{if(!e)return a.createElement(b.Fragment,null,"This error has no stack or message");if(!e.stack)return a.createElement(b.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(Zg);if(!r)return a.createElement(b.Fragment,null,t);let[,n,o]=r,l=t.split(/\n/).slice(1),[,...i]=l.map(u=>{let s=u.match(Vg)||u.match(zg)||u.match(qg);return s?{name:(s[1]||"").replace("/<",""),location:s[2].replace(jg.location.origin,"")}:null}).filter(Boolean);return a.createElement(b.Fragment,null,a.createElement("span",null,n),": ",a.createElement(Ng,null,o),a.createElement("br",null),i.map((u,s)=>u.name?a.createElement(b.Fragment,{key:s}," ","at ",a.createElement(Hg,null,u.name)," (",a.createElement(Oi,null,u.location),")",a.createElement("br",null)):a.createElement(b.Fragment,{key:s}," ","at ",a.createElement(Oi,null,u.location),a.createElement("br",null))))},xc=_.button(({small:e,theme:t})=>({border:0,borderRadius:"3em",cursor:"pointer",display:"inline-block",overflow:"hidden",padding:e?"8px 16px":"13px 20px",position:"relative",textAlign:"center",textDecoration:"none",transitionProperty:"background, box-shadow",transitionDuration:"150ms",transitionTimingFunction:"ease-out",verticalAlign:"top",whiteSpace:"nowrap",userSelect:"none",opacity:1,margin:0,background:"transparent",fontSize:`${e?t.typography.size.s1:t.typography.size.s2-1}px`,fontWeight:t.typography.weight.bold,lineHeight:"1",svg:{display:"inline-block",height:e?12:14,width:e?12:14,verticalAlign:"top",marginRight:e?4:6,marginTop:e?0:-1,marginBottom:e?0:-1,pointerEvents:"none",path:{fill:"currentColor"}}}),({disabled:e})=>e?{cursor:"not-allowed !important",opacity:.5,"&:hover":{transform:"none"}}:{},({containsIcon:e,small:t})=>e?{svg:{display:"block",margin:0},...t?{padding:10}:{padding:13}}:{},({theme:e,primary:t,secondary:r,gray:n})=>{let o;return n?o=e.color.mediumlight:r?o=e.color.secondary:t&&(o=e.color.primary),o?{background:o,color:n?e.color.darkest:e.color.lightest,"&:hover":{background:Yt(.05,o)},"&:active":{boxShadow:"rgba(0, 0, 0, 0.1) 0 0 0 3em inset"},"&:focus":{boxShadow:`${ct(o,1)} 0 1px 9px 2px`,outline:"none"},"&:focus:hover":{boxShadow:`${ct(o,.2)} 0 8px 18px 0px`}}:{}},({theme:e,tertiary:t,inForm:r,small:n})=>t?{background:e.button.background,color:e.input.color,boxShadow:`${e.button.border} 0 0 0 1px inset`,borderRadius:e.input.borderRadius,...r&&n?{padding:"10px 16px"}:{},"&:hover":{background:e.base==="light"?Yt(.02,e.button.background):ug(.03,e.button.background),...r?{}:{boxShadow:"rgba(0,0,0,.2) 0 2px 6px 0, rgba(0,0,0,.1) 0 0 0 1px inset"}},"&:active":{background:e.button.background},"&:focus":{boxShadow:`${ct(e.color.secondary,1)} 0 0 0 1px inset`,outline:"none"}}:{},({theme:e,outline:t})=>t?{boxShadow:`${ve(.8,e.color.defaultText)} 0 0 0 1px inset`,color:ve(.3,e.color.defaultText),background:"transparent","&:hover, &:focus":{boxShadow:`${ve(.5,e.color.defaultText)} 0 0 0 1px inset`,outline:"none"},"&:active":{boxShadow:`${ve(.5,e.color.defaultText)} 0 0 0 2px inset`,color:ve(0,e.color.defaultText)}}:{},({theme:e,outline:t,primary:r})=>{let n=e.color.primary;return t&&r?{boxShadow:`${n} 0 0 0 1px inset`,color:n,"svg path:not([fill])":{fill:n},"&:hover":{boxShadow:`${n} 0 0 0 1px inset`,background:"transparent"},"&:active":{background:n,boxShadow:`${n} 0 0 0 1px inset`,color:e.color.tertiary},"&:focus":{boxShadow:`${n} 0 0 0 1px inset, ${ct(n,.4)} 0 1px 9px 2px`,outline:"none"},"&:focus:hover":{boxShadow:`${n} 0 0 0 1px inset, ${ct(n,.2)} 0 8px 18px 0px`}}:{}},({theme:e,outline:t,primary:r,secondary:n})=>{let o;return n?o=e.color.secondary:r&&(o=e.color.primary),t&&o?{boxShadow:`${o} 0 0 0 1px inset`,color:o,"svg path:not([fill])":{fill:o},"&:hover":{boxShadow:`${o} 0 0 0 1px inset`,background:"transparent"},"&:active":{background:o,boxShadow:`${o} 0 0 0 1px inset`,color:e.color.tertiary},"&:focus":{boxShadow:`${o} 0 0 0 1px inset, ${ct(o,.4)} 0 1px 9px 2px`,outline:"none"},"&:focus:hover":{boxShadow:`${o} 0 0 0 1px inset, ${ct(o,.2)} 0 8px 18px 0px`}}:{}}),Ug=xc.withComponent("a"),wc=Object.assign(b.forwardRef(function({isLink:e,children:t,...r},n){return e?a.createElement(Ug,{...r,ref:n},t):a.createElement(xc,{...r,ref:n},t)}),{defaultProps:{isLink:!1}}),Wg=_.label(({theme:e})=>({display:"flex",borderBottom:`1px solid ${e.appBorderColor}`,margin:"0 15px",padding:"8px 0","&:last-child":{marginBottom:"3rem"}})),Gg=_.span(({theme:e})=>({minWidth:100,fontWeight:e.typography.weight.bold,marginRight:15,display:"flex",justifyContent:"flex-start",alignItems:"center",lineHeight:"16px"})),Ac=({label:e,children:t,...r})=>a.createElement(Wg,{...r},e?a.createElement(Gg,null,a.createElement("span",null,e)):null,t);Ac.defaultProps={label:void 0};function po(){return po=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(r[o]=e[o]);return r}var Ti=function(e,t){if(typeof e=="function"){e(t);return}e.current=t},Kg=function(e,t){var r=b.useRef();return b.useCallback(function(n){e.current=n,r.current&&Ti(r.current,null),r.current=t,t&&Ti(t,n)},[t])},Xg=Kg,Jg=function(){},Qg=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],eh=function(e,t){e.cacheMeasurements,e.maxRows,e.minRows;var r=e.onChange,n=r===void 0?Jg:r;e.onHeightChange;var o=Yg(e,Qg);o.value;var l=b.useRef(null),i=Xg(l,t);return b.useRef(0),b.useRef(),b.createElement("textarea",po({},o,{onChange:n,ref:i}))},th=b.forwardRef(eh),rh={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},il=({theme:e})=>({...rh,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}}),Gn=({size:e})=>{switch(e){case"100%":return{width:"100%"};case"flex":return{flex:1};case"auto":default:return{display:"inline"}}},Sc=({align:e})=>{switch(e){case"end":return{textAlign:"right"};case"center":return{textAlign:"center"};case"start":default:return{textAlign:"left"}}},Yn=({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{}}},nh=Object.assign(_(b.forwardRef(function({size:e,valid:t,align:r,...n},o){return a.createElement("input",{...n,ref:o})}))(il,Gn,Sc,Yn,{minHeight:32}),{displayName:"Input"}),ah=Object.assign(_(b.forwardRef(function({size:e,valid:t,align:r,...n},o){return a.createElement("select",{...n,ref:o})}))(il,Gn,Yn,{height:32,userSelect:"none",paddingRight:20,appearance:"menulist"}),{displayName:"Select"}),oh=Object.assign(_(b.forwardRef(function({size:e,valid:t,align:r,...n},o){return a.createElement(th,{...n,ref:o})}))(il,Gn,Sc,Yn,({height:e=400})=>({overflow:"visible",maxHeight:e})),{displayName:"Textarea"}),lh=_(b.forwardRef(function({size:e,valid:t,align:r,...n},o){return a.createElement(wc,{...n,ref:o})}))(Gn,Yn,{userSelect:"none",overflow:"visible",zIndex:2,"&:hover":{transform:"none"}}),ih=Object.assign(b.forwardRef(function(e,t){return a.createElement(lh,{...e,tertiary:!0,small:!0,inForm:!0,ref:t})}),{displayName:"Button"}),je=Object.assign(_.form({boxSizing:"border-box",width:"100%"}),{Field:Ac,Input:nh,Select:ah,Textarea:oh,Button:ih}),sh=b.lazy(()=>Pt(()=>import("./WithTooltip-V3YHNWJZ-uHGNaqin.js"),__vite__mapDeps([9,1,2,3,4,5,6,7]),import.meta.url).then(e=>({default:e.WithTooltip}))),uh=e=>a.createElement(b.Suspense,{fallback:a.createElement("div",null)},a.createElement(sh,{...e})),ch=b.lazy(()=>Pt(()=>import("./WithTooltip-V3YHNWJZ-uHGNaqin.js"),__vite__mapDeps([9,1,2,3,4,5,6,7]),import.meta.url).then(e=>({default:e.WithTooltipPure}))),Cc=e=>a.createElement(b.Suspense,{fallback:a.createElement("div",null)},a.createElement(ch,{...e})),dh=_.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),ph=_.span(),fh=_.div(({theme:e})=>({marginTop:8,textAlign:"center","> *":{margin:"0 8px",fontWeight:e.typography.weight.bold}})),mh=_.div(({theme:e})=>({color:e.color.defaultText,lineHeight:"18px"})),gh=_.div({padding:15,width:280,boxSizing:"border-box"}),kc=({title:e,desc:t,links:r})=>a.createElement(gh,null,a.createElement(mh,null,e&&a.createElement(dh,null,e),t&&a.createElement(ph,null,t)),r&&a.createElement(fh,null,r.map(({title:n,...o})=>a.createElement(xt,{...o,key:n},n))));kc.defaultProps={title:null,desc:null,links:null};var hh=_.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})),bh=({note:e,...t})=>a.createElement(hh,{...t},e),yh=_(({active:e,loading:t,disabled:r,...n})=>a.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:ve(.7,t.color.defaultText)}:{}),vh=_.span({display:"flex","& svg":{height:12,width:12,margin:"3px 0",verticalAlign:"top"},"& path":{fill:"inherit"}}),Eh=_.span({flex:1,textAlign:"left",display:"flex",flexDirection:"column"},({isIndented:e})=>e?{marginLeft:24}:{}),xh=_.span(({theme:e})=>({fontSize:"11px",lineHeight:"14px"}),({active:e,theme:t})=>e?{color:t.color.secondary}:{},({theme:e,disabled:t})=>t?{color:e.textMutedColor}:{}),Ri=_.span(({active:e,theme:t})=>e?{"& svg":{opacity:1},"& svg path:not([fill])":{fill:t.color.secondary}}:{},()=>({display:"flex",maxWidth:14})),wh=_.a(({theme:e})=>({fontSize:e.typography.size.s1,transition:"all 150ms ease-out",color:e.color.dark,textDecoration:"none",cursor:"pointer",justifyContent:"space-between",lineHeight:"18px",padding:"7px 10px",display:"flex",alignItems:"center","& > * + *":{paddingLeft:10},"&:hover":{background:e.background.hoverable},"&:hover svg":{opacity:1}}),({disabled:e})=>e?{cursor:"not-allowed"}:{}),Ah=Nt(100)((e,t,r)=>{let n={};return e&&Object.assign(n,{onClick:e}),t&&Object.assign(n,{href:t}),r&&t&&Object.assign(n,{to:t,as:r}),n}),_c=({loading:e,left:t,title:r,center:n,right:o,icon:l,active:i,disabled:u,isIndented:s,href:c,onClick:d,LinkWrapper:f,...g})=>{let p=Ah(d,c,f),h={active:i,disabled:u},m=typeof l=="string"&&Ir[l];return a.createElement(wh,{...h,...g,...p},l?a.createElement(Ri,{...h},m?a.createElement(ye,{icon:l}):l):t&&a.createElement(Ri,{...h},t),r||n?a.createElement(Eh,{isIndented:!t&&!l&&s},r&&a.createElement(yh,{...h,loading:e},r),n&&a.createElement(xh,{...h},n)):null,o&&a.createElement(vh,{...h},o))};_c.defaultProps={loading:!1,left:null,title:a.createElement("span",null,"Loading state"),center:null,right:null,active:!1,disabled:!1,href:null,LinkWrapper:null,onClick:null};var sl=_c,Sh=_.div({minWidth:180,overflow:"hidden",overflowY:"auto",maxHeight:15.5*32},({theme:e})=>({borderRadius:e.appBorderRadius})),Ch=e=>{let{LinkWrapper:t,onClick:r,id:n,isIndented:o,...l}=e,{title:i,href:u,active:s}=l,c=b.useCallback(f=>{r(f,l)},[r]),d=!!r;return a.createElement(sl,{title:i,active:s,href:u,id:`list-item-${n}`,LinkWrapper:t,isIndented:o,...l,...d?{onClick:c}:{}})},ul=({links:e,LinkWrapper:t})=>{let r=e.some(n=>n.left||n.icon);return a.createElement(Sh,null,e.map(({isGatsby:n,...o})=>a.createElement(Ch,{key:o.id,LinkWrapper:n?t:null,isIndented:r,...o})))};ul.defaultProps={LinkWrapper:sl.defaultProps.LinkWrapper};var cl=a.forwardRef(({children:e,...t},r)=>t.href!=null?a.createElement("a",{ref:r,...t},e):a.createElement("button",{ref:r,type:"button",...t},e));cl.displayName="ButtonOrLink";var Wr=_(cl,{shouldForwardProp:Ro})({whiteSpace:"normal",display:"inline-flex",overflow:"hidden",verticalAlign:"top",justifyContent:"center",alignItems:"center",textAlign:"center",textDecoration:"none","&:empty":{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.color.secondary}}),({active:e,textColor:t,theme:r})=>e?{color:t||r.barSelectedColor,borderBottomColor:r.barSelectedColor}:{color:t||r.barTextColor,borderBottomColor:"transparent"});Wr.displayName="TabButton";var It=_(cl,{shouldForwardProp:Ro})(()=>({alignItems:"center",background:"transparent",border:"none",borderRadius:4,color:"inherit",cursor:"pointer",display:"inline-flex",fontSize:13,fontWeight:"bold",height:28,justifyContent:"center",marginTop:6,padding:"8px 7px","& > svg":{width:14}}),({active:e,theme:t})=>e?{backgroundColor:t.background.hoverable,color:t.barSelectedColor}:{},({disabled:e,theme:t})=>e?{opacity:.5,cursor:"not-allowed"}:{"&:hover, &:focus-visible":{background:ve(.88,t.color.secondary),color:t.barHoverColor},"&:focus-visible":{outline:zn},"&:focus:not(:focus-visible)":{outline:"none"}});It.displayName="IconButton";var kh=_.div(({theme:e})=>({width:14,height:14,backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),_h=_.div(()=>({marginTop:6,padding:7,height:28})),Oc=()=>a.createElement(_h,null,a.createElement(kh,null)),fo=_.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}}:{});fo.displayName="Side";var Oh=({children:e,className:t,scrollable:r})=>r?a.createElement(Uo,{vertical:!1,className:t},e):a.createElement("div",{className:t},e),dl=_(Oh)(({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}:{});dl.displayName="Bar";var Th=_.div(({bgColor:e})=>({display:"flex",justifyContent:"space-between",position:"relative",flexWrap:"nowrap",flexShrink:0,height:40,backgroundColor:e||""})),Kn=({children:e,backgroundColor:t,...r})=>{let[n,o]=b.Children.toArray(e);return a.createElement(dl,{...r},a.createElement(Th,{bgColor:t},a.createElement(fo,{scrollable:r.scrollable,left:!0},n),o?a.createElement(fo,{right:!0},o):null))};Kn.displayName="FlexBar";var Tc=_.div(({active:e})=>e?{display:"block"}:{display:"none"}),Fi=e=>b.Children.toArray(e).map(({props:{title:t,id:r,color:n,children:o}})=>{let l=Array.isArray(o)?o[0]:o;return{title:t,id:r,...n?{color:n}:{},render:typeof l=="function"?l:({active:i})=>a.createElement(Tc,{active:i,role:"tabpanel"},l)}}),Rh=_.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"})),Fh=_(Wr)(({active:e,theme:t,preActive:r})=>` - color: ${r||e?t.color.secondary:t.color.mediumdark}; - &:hover { - color: ${t.color.secondary}; - .addon-collapsible-icon { - color: ${t.color.secondary}; - } - } - `);function $h(e){let t=b.useRef(),r=b.useRef(),n=b.useRef(new Map),{width:o=1}=Gu({ref:t}),[l,i]=b.useState(e),[u,s]=b.useState([]),c=b.useRef(e),d=b.useCallback(({menuName:g,actions:p})=>{let h=u.some(({active:x})=>x),[m,w]=b.useState(!1);return a.createElement(a.Fragment,null,a.createElement(Lm,{interactive:!0,visible:m,onVisibleChange:w,placement:"bottom",delayHide:100,tooltip:a.createElement(ul,{links:u.map(({title:x,id:v,color:y,active:E})=>({id:v,title:x,color:y,active:E,onClick:A=>{A.preventDefault(),p.onSelect(v)}}))})},a.createElement(Fh,{ref:r,active:h,preActive:m,style:{visibility:u.length?"visible":"hidden"},"aria-hidden":!u.length,className:"tabbutton",type:"button",role:"tab"},g,a.createElement(Rh,{className:"addon-collapsible-icon",isActive:h||m}))),u.map(({title:x,id:v,color:y},E)=>{let A=`index-${E}`;return a.createElement(Wr,{id:`tabbutton-${Cs(v)??A}`,style:{visibility:"hidden"},"aria-hidden":!0,tabIndex:-1,ref:S=>{n.current.set(v,S)},className:"tabbutton",type:"button",key:v,textColor:y,role:"tab"},x)}))},[u]),f=b.useCallback(()=>{if(!t.current||!r.current)return;let{x:g,width:p}=t.current.getBoundingClientRect(),{width:h}=r.current.getBoundingClientRect(),m=u.length?g+p-h:g+p,w=[],x=0,v=e.filter(y=>{let{id:E}=y,A=n.current.get(E),{width:S=0}=(A==null?void 0:A.getBoundingClientRect())||{},C=g+x+S>m;return(!C||!A)&&w.push(y),x+=S,C});(w.length!==l.length||c.current!==e)&&(i(w),s(v),c.current=e)},[u.length,e,l]);return b.useLayoutEffect(f,[f,o]),{tabRefs:n,addonsRef:r,tabBarRef:t,visibleList:l,invisibleList:u,AddonTab:d}}var Dh="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */",Lh=_.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"}),pl=_.div({overflow:"hidden","&:first-of-type":{marginLeft:-3},whiteSpace:"nowrap",flexGrow:1});pl.displayName="TabBar";var Mh=_.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${Dh}`]:{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"}}:{}),Bh=({active:e,render:t,children:r})=>a.createElement(Tc,{active:e},t?t():r),Xn=b.memo(({children:e,selected:t,actions:r,absolute:n,bordered:o,tools:l,backgroundColor:i,id:u,menuName:s})=>{let c=Fi(e).map(m=>m.id),d=b.useMemo(()=>Fi(e).map((m,w)=>({...m,active:t?m.id===t:w===0})),[t,...c]),{visibleList:f,tabBarRef:g,tabRefs:p,AddonTab:h}=$h(d);return d.length?a.createElement(Lh,{absolute:n,bordered:o,id:u},a.createElement(Kn,{scrollable:!1,border:!0,backgroundColor:i},a.createElement(pl,{style:{whiteSpace:"normal"},ref:g,role:"tablist"},f.map(({title:m,id:w,active:x,color:v},y)=>{let E=`index-${y}`;return a.createElement(Wr,{id:`tabbutton-${Cs(w)??E}`,ref:A=>{p.current.set(w,A)},className:`tabbutton ${x?"tabbutton-active":""}`,type:"button",key:w,active:x,textColor:v,onClick:A=>{A.preventDefault(),r.onSelect(w)},role:"tab"},typeof m=="function"?a.createElement("title",null):m)}),a.createElement(h,{menuName:s,actions:r})),l),a.createElement(Mh,{id:"panel-tab-content",bordered:o,absolute:n},d.map(({id:m,active:w,render:x})=>a.createElement(x,{key:m,active:w},null)))):a.createElement(yc,null,a.createElement(b.Fragment,{key:"title"},"Nothing found"))});Xn.displayName="Tabs";Xn.defaultProps={id:null,children:null,tools:null,selected:null,absolute:!1,bordered:!1,menuName:"Tabs"};var Rc=class extends b.Component{constructor(e){super(e),this.handlers={onSelect:t=>this.setState({selected:t})},this.state={selected:e.initial}}render(){let{bordered:e=!1,absolute:t=!1,children:r,backgroundColor:n,menuName:o}=this.props,{selected:l}=this.state;return a.createElement(Xn,{bordered:e,absolute:t,selected:l,backgroundColor:n,menuName:o,actions:this.handlers},r)}};Rc.defaultProps={children:[],initial:null,absolute:!1,bordered:!1,backgroundColor:"",menuName:void 0};var fl=_.span(({theme:e})=>({width:1,height:20,background:e.appBorderColor,marginTop:10,marginLeft:6,marginRight:2}),({force:e})=>e?{}:{"& + &":{display:"none"}});fl.displayName="Separator";var Ih=e=>e.reduce((t,r,n)=>r?a.createElement(b.Fragment,{key:r.id||r.key||`f-${n}`},t,n>0?a.createElement(fl,{key:`s-${n}`}):null,r.render()||r):t,null),Ph=e=>{let t=b.useRef();return b.useEffect(()=>{t.current=e},[e]),t.current},jh=(e,t)=>{let r=Ph(t);return e?t:r},Nh=({active:e,children:t})=>a.createElement("div",{hidden:!e},jh(e,t)),Hh=({alt:e,...t})=>a.createElement("svg",{width:"200px",height:"40px",viewBox:"0 0 200 40",...t,role:"img"},e?a.createElement("title",null,e):null,a.createElement("defs",null,a.createElement("path",{d:"M1.2 36.9L0 3.9c0-1.1.8-2 1.9-2.1l28-1.8a2 2 0 0 1 2.2 1.9 2 2 0 0 1 0 .1v36a2 2 0 0 1-2 2 2 2 0 0 1-.1 0L3.2 38.8a2 2 0 0 1-2-2z",id:"a"})),a.createElement("g",{fill:"none",fillRule:"evenodd"},a.createElement("path",{d:"M53.3 31.7c-1.7 0-3.4-.3-5-.7-1.5-.5-2.8-1.1-3.9-2l1.6-3.5c2.2 1.5 4.6 2.3 7.3 2.3 1.5 0 2.5-.2 3.3-.7.7-.5 1.1-1 1.1-1.9 0-.7-.3-1.3-1-1.7s-2-.8-3.7-1.2c-2-.4-3.6-.9-4.8-1.5-1.1-.5-2-1.2-2.6-2-.5-1-.8-2-.8-3.2 0-1.4.4-2.6 1.2-3.6.7-1.1 1.8-2 3.2-2.6 1.3-.6 2.9-.9 4.7-.9 1.6 0 3.1.3 4.6.7 1.5.5 2.7 1.1 3.5 2l-1.6 3.5c-2-1.5-4.2-2.3-6.5-2.3-1.3 0-2.3.2-3 .8-.8.5-1.2 1.1-1.2 2 0 .5.2 1 .5 1.3.2.3.7.6 1.4.9l2.9.8c2.9.6 5 1.4 6.2 2.4a5 5 0 0 1 2 4.2 6 6 0 0 1-2.5 5c-1.7 1.2-4 1.9-7 1.9zm21-3.6l1.4-.1-.2 3.5-1.9.1c-2.4 0-4.1-.5-5.2-1.5-1.1-1-1.6-2.7-1.6-4.8v-6h-3v-3.6h3V11h4.8v4.6h4v3.6h-4v6c0 1.8.9 2.8 2.6 2.8zm11.1 3.5c-1.6 0-3-.3-4.3-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6.4-3 1-4.3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.3-1 1.7 0 3.2.3 4.4 1a7 7 0 0 1 3 2.8c.6 1.2 1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-2.7 1-4.4 1zm0-3.6c2.4 0 3.6-1.6 3.6-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.6-1c-2.3 0-3.5 1.4-3.5 4.4 0 3 1.2 4.6 3.5 4.6zm21.7-8.8l-2.7.3c-1.3.2-2.3.5-2.8 1.2-.6.6-.9 1.4-.9 2.5v8.2H96V15.7h4.6v2.6c.8-1.8 2.5-2.8 5-3h1.3l.3 4zm14-3.5h4.8L116.4 37h-4.9l3-6.6-6.4-14.8h5l4 10 4-10zm16-.4c1.4 0 2.6.3 3.6 1 1 .6 1.9 1.6 2.5 2.8.6 1.2.9 2.7.9 4.3 0 1.6-.3 3-1 4.3a6.9 6.9 0 0 1-2.4 2.9c-1 .7-2.2 1-3.6 1-1 0-2-.2-3-.7-.8-.4-1.5-1-2-1.9v2.4h-4.7V8.8h4.8v9c.5-.8 1.2-1.4 2-1.9.9-.4 1.8-.6 3-.6zM135.7 28c1.1 0 2-.4 2.6-1.2.6-.8 1-2 1-3.4 0-1.5-.4-2.5-1-3.3s-1.5-1.1-2.6-1.1-2 .3-2.6 1.1c-.6.8-1 2-1 3.3 0 1.5.4 2.6 1 3.4.6.8 1.5 1.2 2.6 1.2zm18.9 3.6c-1.7 0-3.2-.3-4.4-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6.4-3 1-4.3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.4-1 1.6 0 3 .3 4.3 1a7 7 0 0 1 3 2.8c.6 1.2 1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-2.7 1-4.3 1zm0-3.6c2.3 0 3.5-1.6 3.5-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.5-1c-2.4 0-3.6 1.4-3.6 4.4 0 3 1.2 4.6 3.6 4.6zm18 3.6c-1.7 0-3.2-.3-4.4-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6.4-3 1-4.3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.4-1 1.6 0 3 .3 4.4 1a7 7 0 0 1 2.9 2.8c.6 1.2 1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-2.7 1-4.3 1zm0-3.6c2.3 0 3.5-1.6 3.5-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.5-1c-2.4 0-3.6 1.4-3.6 4.4 0 3 1.2 4.6 3.6 4.6zm27.4 3.4h-6l-6-7v7h-4.8V8.8h4.9v13.6l5.8-6.7h5.7l-6.6 7.5 7 8.2z",fill:"currentColor"}),a.createElement("mask",{id:"b",fill:"#fff"},a.createElement("use",{xlinkHref:"#a"})),a.createElement("use",{fill:"#FF4785",fillRule:"nonzero",xlinkHref:"#a"}),a.createElement("path",{d:"M23.7 5L24 .2l3.9-.3.1 4.8a.3.3 0 0 1-.5.2L26 3.8l-1.7 1.4a.3.3 0 0 1-.5-.3zm-5 10c0 .9 5.3.5 6 0 0-5.4-2.8-8.2-8-8.2-5.3 0-8.2 2.8-8.2 7.1 0 7.4 10 7.6 10 11.6 0 1.2-.5 1.9-1.8 1.9-1.6 0-2.2-.9-2.1-3.6 0-.6-6.1-.8-6.3 0-.5 6.7 3.7 8.6 8.5 8.6 4.6 0 8.3-2.5 8.3-7 0-7.9-10.2-7.7-10.2-11.6 0-1.6 1.2-1.8 2-1.8.6 0 2 0 1.9 3z",fill:"#FFF",fillRule:"nonzero",mask:"url(#b)"}))),Zh=({...e})=>a.createElement("svg",{viewBox:"0 0 64 64",...e},a.createElement("title",null,"Storybook icon"),a.createElement("g",{id:"Artboard",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},a.createElement("path",{d:"M8.04798541,58.7875918 L6.07908839,6.32540407 C6.01406344,4.5927838 7.34257463,3.12440831 9.07303814,3.01625434 L53.6958037,0.227331489 C55.457209,0.117243658 56.974354,1.45590096 57.0844418,3.21730626 C57.0885895,3.28366922 57.0906648,3.35014546 57.0906648,3.41663791 L57.0906648,60.5834697 C57.0906648,62.3483119 55.6599776,63.7789992 53.8951354,63.7789992 C53.847325,63.7789992 53.7995207,63.7779262 53.7517585,63.775781 L11.0978899,61.8600599 C9.43669044,61.7854501 8.11034889,60.4492961 8.04798541,58.7875918 Z",id:"path-1",fill:"#FF4785",fillRule:"nonzero"}),a.createElement("path",{d:"M35.9095005,24.1768792 C35.9095005,25.420127 44.2838488,24.8242707 45.4080313,23.9509748 C45.4080313,15.4847538 40.8652557,11.0358878 32.5466666,11.0358878 C24.2280775,11.0358878 19.5673077,15.553972 19.5673077,22.3311017 C19.5673077,34.1346028 35.4965208,34.3605071 35.4965208,40.7987804 C35.4965208,42.606015 34.6115646,43.6790606 32.6646607,43.6790606 C30.127786,43.6790606 29.1248356,42.3834613 29.2428298,37.9783269 C29.2428298,37.0226907 19.5673077,36.7247626 19.2723223,37.9783269 C18.5211693,48.6535354 25.1720308,51.7326752 32.7826549,51.7326752 C40.1572906,51.7326752 45.939005,47.8018145 45.939005,40.6858282 C45.939005,28.035186 29.7738035,28.3740425 29.7738035,22.1051974 C29.7738035,19.5637737 31.6617103,19.2249173 32.7826549,19.2249173 C33.9625966,19.2249173 36.0864917,19.4328883 35.9095005,24.1768792 Z",id:"path9_fill-path",fill:"#FFFFFF",fillRule:"nonzero"}),a.createElement("path",{d:"M44.0461638,0.830433986 L50.1874092,0.446606143 L50.443532,7.7810017 C50.4527198,8.04410717 50.2468789,8.26484453 49.9837734,8.27403237 C49.871115,8.27796649 49.7607078,8.24184808 49.6721567,8.17209069 L47.3089847,6.3104681 L44.5110468,8.43287463 C44.3012992,8.591981 44.0022839,8.55092814 43.8431776,8.34118051 C43.7762017,8.25288717 43.742082,8.14401677 43.7466857,8.03329059 L44.0461638,0.830433986 Z",id:"Path",fill:"#FFFFFF"}))),Vh=ur` - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } -`,zh=_.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:`${Vh} 0.7s linear infinite`,mixBlendMode:"difference"})),$i=_.div({position:"absolute",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"}),qh=_.div(({theme:e})=>({position:"relative",width:"80%",marginBottom:"0.75rem",maxWidth:300,height:5,borderRadius:5,background:ve(.8,e.color.secondary),overflow:"hidden",cursor:"progress"})),Uh=_.div(({theme:e})=>({position:"absolute",top:0,left:0,height:"100%",background:e.color.secondary})),Di=_.div(({theme:e})=>({minHeight:"2em",fontSize:`${e.typography.size.s1}px`,color:e.barTextColor})),Wh=_(ye)(({theme:e})=>({width:20,height:20,marginBottom:"0.5rem",color:e.textMutedColor})),Gh=ur` - from { content: "..." } - 33% { content: "." } - 66% { content: ".." } - to { content: "..." } -`,Yh=_.span({"&::after":{content:"'...'",animation:`${Gh} 1s linear infinite`,animationDelay:"1s",display:"inline-block",width:"1em",height:"auto"}}),Fc=({progress:e,error:t,size:r,...n})=>{if(t)return a.createElement($i,{"aria-label":t.toString(),"aria-live":"polite",role:"status",...n},a.createElement(Wh,{icon:"lightningoff"}),a.createElement(Di,null,t.message));if(e){let{value:o,modules:l}=e,{message:i}=e;return l&&(i+=` ${l.complete} / ${l.total} modules`),a.createElement($i,{"aria-label":"Content is loading...","aria-live":"polite","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":o*100,"aria-valuetext":i,role:"progressbar",...n},a.createElement(qh,null,a.createElement(Uh,{style:{width:`${o*100}%`}})),a.createElement(Di,null,i,o<1&&a.createElement(Yh,{key:i})))}return a.createElement(zh,{"aria-label":"Content is loading...","aria-live":"polite",role:"status",size:r,...n})};function Kh(e){let t={},r=e.split("&");for(let n=0;n{let[n,o]=e.split("?"),l=o?{...Kh(o),...r,id:t}:{...r,id:t};return`${n}?${Object.entries(l).map(i=>`${i[0]}=${i[1]}`).join("&")}`},Xh=_.pre` - line-height: 18px; - padding: 11px 1rem; - white-space: pre-wrap; - background: rgba(0, 0, 0, 0.05); - color: ${j.darkest}; - border-radius: 3px; - margin: 1rem 0; - width: 100%; - display: block; - overflow: hidden; - font-family: ${et.fonts.mono}; - font-size: ${et.size.s2-1}px; -`,Jh=({code:e,...t})=>a.createElement(Xh,{id:"clipboard-code",...t},e),Dc=hc,Lc={};Object.keys(hc).forEach(e=>{Lc[e]=b.forwardRef((t,r)=>b.createElement(e,{...t,ref:r}))});const Qh=Object.freeze(Object.defineProperty({__proto__:null,A:Ju,ActionBar:zo,AddonPanel:Nh,Badge:Eg,Bar:dl,Blockquote:Qu,Button:wc,ClipboardCode:Jh,Code:al,DL:tc,Div:ec,DocumentWrapper:_g,ErrorFormatter:Ec,FlexBar:Kn,Form:je,H1:rc,H2:ol,H3:ll,H4:nc,H5:ac,H6:oc,HR:lc,IconButton:It,IconButtonSkeleton:Oc,Icons:ye,Img:ic,LI:sc,Link:xt,ListItem:sl,Loader:Fc,OL:uc,P:cc,Placeholder:yc,Pre:dc,ResetWrapper:Un,ScrollArea:Uo,Separator:fl,Spaced:$g,Span:pc,StorybookIcon:Zh,StorybookLogo:Hh,Symbols:xg,SyntaxHighlighter:Wn,TT:mc,TabBar:pl,TabButton:Wr,TabWrapper:Bh,Table:fc,Tabs:Xn,TabsState:Rc,TooltipLinkList:ul,TooltipMessage:kc,TooltipNote:bh,UL:gc,WithTooltip:uh,WithTooltipPure:Cc,Zoom:vc,codeCommon:mt,components:Dc,createCopyToClipboardFunction:Lu,getStoryHref:$c,icons:Ir,interleaveSeparators:Ih,nameSpaceClassNames:J,resetComponents:Lc,withReset:ee},Symbol.toStringTag,{value:"Module"}));function lr(){return lr=Object.assign?Object.assign.bind():function(e){for(var t=1;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 hn(e,t,r){return nb()?hn=Reflect.construct.bind():hn=function(o,l,i){var u=[null];u.push.apply(u,l);var s=Function.bind.apply(o,u),c=new s;return i&&Pr(c,i.prototype),c},hn.apply(null,arguments)}function go(e){var t=typeof Map=="function"?new Map:void 0;return go=function(n){if(n===null||!rb(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return hn(n,arguments,mo(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Pr(o,n)},go(e)}var rt=function(e){tb(t,e);function t(r){var n;return n=e.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+r+" for more information.")||this,eb(n)}return t}(go(Error));function Sa(e){return Math.round(e*255)}function ab(e,t,r){return Sa(e)+","+Sa(t)+","+Sa(r)}function jr(e,t,r,n){if(n===void 0&&(n=ab),t===0)return n(r,r,r);var o=(e%360+360)%360/60,l=(1-Math.abs(2*r-1))*t,i=l*(1-Math.abs(o%2-1)),u=0,s=0,c=0;o>=0&&o<1?(u=l,s=i):o>=1&&o<2?(u=i,s=l):o>=2&&o<3?(s=l,c=i):o>=3&&o<4?(s=i,c=l):o>=4&&o<5?(u=i,c=l):o>=5&&o<6&&(u=l,c=i);var d=r-l/2,f=u+d,g=s+d,p=c+d;return n(f,g,p)}var Li={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 ob(e){if(typeof e!="string")return e;var t=e.toLowerCase();return Li[t]?"#"+Li[t]:e}var lb=/^#[a-fA-F0-9]{6}$/,ib=/^#[a-fA-F0-9]{8}$/,sb=/^#[a-fA-F0-9]{3}$/,ub=/^#[a-fA-F0-9]{4}$/,Ca=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,cb=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,db=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,pb=/^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 Jn(e){if(typeof e!="string")throw new rt(3);var t=ob(e);if(t.match(lb))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(ib)){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(sb))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(ub)){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=Ca.exec(t);if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10)};var l=cb.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 i=db.exec(t);if(i){var u=parseInt(""+i[1],10),s=parseInt(""+i[2],10)/100,c=parseInt(""+i[3],10)/100,d="rgb("+jr(u,s,c)+")",f=Ca.exec(d);if(!f)throw new rt(4,t,d);return{red:parseInt(""+f[1],10),green:parseInt(""+f[2],10),blue:parseInt(""+f[3],10)}}var g=pb.exec(t.substring(0,50));if(g){var p=parseInt(""+g[1],10),h=parseInt(""+g[2],10)/100,m=parseInt(""+g[3],10)/100,w="rgb("+jr(p,h,m)+")",x=Ca.exec(w);if(!x)throw new rt(4,t,w);return{red:parseInt(""+x[1],10),green:parseInt(""+x[2],10),blue:parseInt(""+x[3],10),alpha:parseFloat(""+g[4])>1?parseFloat(""+g[4])/100:parseFloat(""+g[4])}}throw new rt(5)}function fb(e){var t=e.red/255,r=e.green/255,n=e.blue/255,o=Math.max(t,r,n),l=Math.min(t,r,n),i=(o+l)/2;if(o===l)return e.alpha!==void 0?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var u,s=o-l,c=i>.5?s/(2-o-l):s/(o+l);switch(o){case t:u=(r-n)/s+(r=1?On(e,t,r):"rgba("+jr(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?On(e.hue,e.saturation,e.lightness):"rgba("+jr(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new rt(2)}function bo(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return ho("#"+Rt(e)+Rt(t)+Rt(r));if(typeof e=="object"&&t===void 0&&r===void 0)return ho("#"+Rt(e.red)+Rt(e.green)+Rt(e.blue));throw new rt(6)}function dt(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var o=Jn(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?bo(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?bo(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new rt(7)}var yb=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},vb=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&typeof t.alpha=="number"},Eb=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},xb=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&typeof t.alpha=="number"};function Bc(e){if(typeof e!="object")throw new rt(8);if(vb(e))return dt(e);if(yb(e))return bo(e);if(xb(e))return bb(e);if(Eb(e))return hb(e);throw new rt(8)}function Ic(e,t,r){return function(){var o=r.concat(Array.prototype.slice.call(arguments));return o.length>=t?e.apply(this,o):Ic(e,t,o)}}function Qn(e){return Ic(e,e.length,[])}function ea(e,t,r){return Math.max(e,Math.min(t,r))}function wb(e,t){if(t==="transparent")return t;var r=Mc(t);return Bc(lr({},r,{lightness:ea(0,1,r.lightness-parseFloat(e))}))}var Ab=Qn(wb),Ye=Ab;function Sb(e,t){if(t==="transparent")return t;var r=Mc(t);return Bc(lr({},r,{lightness:ea(0,1,r.lightness+parseFloat(e))}))}var Cb=Qn(Sb),Ft=Cb;function kb(e,t){if(t==="transparent")return t;var r=Jn(t),n=typeof r.alpha=="number"?r.alpha:1,o=lr({},r,{alpha:ea(0,1,(n*100+parseFloat(e)*100)/100)});return dt(o)}var _b=Qn(kb),nn=_b;function Ob(e,t){if(t==="transparent")return t;var r=Jn(t),n=typeof r.alpha=="number"?r.alpha:1,o=lr({},r,{alpha:ea(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return dt(o)}var Tb=Qn(Ob),Q=Tb,Rb=ks,Fb=W0,$b=Object.prototype,Db=$b.hasOwnProperty;function Lb(e,t,r){var n=e[t];(!(Db.call(e,t)&&Fb(n,r))||r===void 0&&!(t in e))&&Rb(e,t,r)}var ml=Lb,Mb=ml,Bb=_s,Ib=G0,Mi=Fn,Pb=Y0;function jb(e,t,r,n){if(!Mi(e))return e;t=Bb(t,e);for(var o=-1,l=t.length,i=l-1,u=e;u!=null&&++o(e[t.toLowerCase()]=t,e),{for:"htmlFor"}),ji={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},Ay=["style","script"],Sy=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,Cy=/mailto:/i,ky=/\n{2,}$/,Nc=/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/,_y=/^ *> ?/gm,Oy=/^ {2,}\n/,Ty=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,Hc=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,Zc=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,Ry=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,Fy=/^(?:\n *)*\n/,$y=/\r\n?/g,Dy=/^\[\^([^\]]+)](:.*)\n/,Ly=/^\[\^([^\]]+)]/,My=/\f/g,By=/^\s*?\[(x|\s)\]/,Vc=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,zc=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,qc=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,yo=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)\/{0}>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1)[\s\S])*?)<\/\1>\n*/i,Iy=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,Uc=/^)/,Py=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,vo=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,jy=/^\{.*\}$/,Ny=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,Hy=/^<([^ >]+@[^ >]+)>/,Zy=/^<([^ >]+:\/[^ >]+)>/,Vy=/-([a-z])?/gi,Wc=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,zy=/^\[([^\]]*)\]:\s+]+)>?\s*("([^"]*)")?/,qy=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,Uy=/^\[([^\]]*)\] ?\[([^\]]*)\]/,Wy=/(\[|\])/g,Gy=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,Yy=/\t/g,Ky=/^ *\| */,Xy=/(^ *\||\| *$)/g,Jy=/ *$/,Qy=/^ *:-+: *$/,e3=/^ *:-+ *$/,t3=/^ *-+: *$/,r3=/^([*_])\1((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1\1(?!\1)/,n3=/^([*_])((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1(?!\1|\w)/,a3=/^==((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)==/,o3=/^~~((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)~~/,l3=/^\\([^0-9A-Za-z\s])/,i3=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,s3=/^\n+/,u3=/^([ \t]*)/,c3=/\\([^\\])/g,Ni=/ *\n+$/,d3=/(?:^|\n)( *)$/,hl="(?:\\d+\\.)",bl="(?:[*+-])";function Gc(e){return"( *)("+(e===1?hl:bl)+") +"}const Yc=Gc(1),Kc=Gc(2);function Xc(e){return new RegExp("^"+(e===1?Yc:Kc))}const p3=Xc(1),f3=Xc(2);function Jc(e){return new RegExp("^"+(e===1?Yc:Kc)+"[^\\n]*(?:\\n(?!\\1"+(e===1?hl:bl)+" )[^\\n]*)*(\\n|$)","gm")}const Qc=Jc(1),e0=Jc(2);function t0(e){const t=e===1?hl:bl;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}const r0=t0(1),n0=t0(2);function Hi(e,t){const r=t===1,n=r?r0:n0,o=r?Qc:e0,l=r?p3:f3;return{match(i,u,s){const c=d3.exec(s);return c&&(u.list||!u.inline&&!u.simple)?n.exec(i=c[1]+i):null},order:1,parse(i,u,s){const c=r?+i[2]:void 0,d=i[0].replace(ky,` -`).match(o);let f=!1;return{items:d.map(function(g,p){const h=l.exec(g)[0].length,m=new RegExp("^ {1,"+h+"}","gm"),w=g.replace(m,"").replace(l,""),x=p===d.length-1,v=w.indexOf(` - -`)!==-1||x&&f;f=v;const y=s.inline,E=s.list;let A;s.list=!0,v?(s.inline=!1,A=w.replace(Ni,` - -`)):(s.inline=!0,A=w.replace(Ni,""));const S=u(A,s);return s.inline=y,s.list=E,S}),ordered:r,start:c}},render:(i,u,s)=>e(i.ordered?"ol":"ul",{key:s.key,start:i.type==="20"?i.start:void 0},i.items.map(function(c,d){return e("li",{key:d},u(c,s))}))}}const m3=/^\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,g3=/^!\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,a0=[Nc,Hc,Zc,Vc,qc,zc,Uc,Wc,Qc,r0,e0,n0],h3=[...a0,/^[^\n]+(?: \n|\n{2,})/,yo,vo];function b3(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 y3(e){return t3.test(e)?"right":Qy.test(e)?"center":e3.test(e)?"left":null}function Zi(e,t,r){const n=r.inTable;r.inTable=!0;const o=t(e.trim(),r);r.inTable=n;let l=[[]];return o.forEach(function(i,u){i.type==="26"?u!==0&&u!==o.length-1&&l.push([]):(i.type!=="27"||o[u+1]!=null&&o[u+1].type!=="26"||(i.text=i.text.replace(Jy,"")),l[l.length-1].push(i))}),l}function v3(e,t,r){r.inline=!0;const n=Zi(e[1],t,r),o=e[2].replace(Xy,"").split("|").map(y3),l=function(i,u,s){return i.trim().split(` -`).map(function(c){return Zi(c,u,s)})}(e[3],t,r);return r.inline=!1,{align:o,cells:l,header:n,type:"25"}}function Vi(e,t){return e.align[t]==null?{}:{textAlign:e.align[t]}}function ht(e){return function(t,r){return r.inline?e.exec(t):null}}function bt(e){return function(t,r){return r.inline||r.simple?e.exec(t):null}}function st(e){return function(t,r){return r.inline||r.simple?null:e.exec(t)}}function Er(e){return function(t){return e.exec(t)}}function E3(e,t,r){if(t.inline||t.simple||r&&!r.endsWith(` -`))return null;let n="";e.split(` -`).every(l=>!a0.some(i=>i.test(l))&&(n+=l+` -`,l.trim()));const o=n.trimEnd();return o==""?null:[n,o]}function Ut(e){try{if(decodeURIComponent(e).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data(?!:image)):/i))return}catch{return null}return e}function zi(e){return e.replace(c3,"$1")}function bn(e,t,r){const n=r.inline||!1,o=r.simple||!1;r.inline=!0,r.simple=!0;const l=e(t,r);return r.inline=n,r.simple=o,l}function x3(e,t,r){const n=r.inline||!1,o=r.simple||!1;r.inline=!1,r.simple=!0;const l=e(t,r);return r.inline=n,r.simple=o,l}function w3(e,t,r){return r.inline=!1,e(t,r)}const _a=(e,t,r)=>({children:bn(t,e[1],r)});function Oa(){return{}}function Ta(){return null}function A3(...e){return e.filter(Boolean).join(" ")}function Ra(e,t,r){let n=e;const o=t.split(".");for(;o.length&&(n=n[o[0]],n!==void 0);)o.shift();return n||r}function S3(e,t={}){t.overrides=t.overrides||{},t.slugify=t.slugify||b3,t.namedCodesToUnicode=t.namedCodesToUnicode?Dt({},ji,t.namedCodesToUnicode):ji;const r=t.createElement||b.createElement;function n(p,h,...m){const w=Ra(t.overrides,`${p}.props`,{});return r(function(x,v){const y=Ra(v,x);return y?typeof y=="function"||typeof y=="object"&&"render"in y?y:Ra(v,`${x}.component`,x):x}(p,t.overrides),Dt({},h,w,{className:A3(h==null?void 0:h.className,w.className)||void 0}),...m)}function o(p){let h=!1;t.forceInline?h=!0:t.forceBlock||(h=Gy.test(p)===!1);const m=d(c(h?p:`${p.trimEnd().replace(s3,"")} - -`,{inline:h}));for(;typeof m[m.length-1]=="string"&&!m[m.length-1].trim();)m.pop();if(t.wrapper===null)return m;const w=t.wrapper||(h?"span":"div");let x;if(m.length>1||t.forceWrapper)x=m;else{if(m.length===1)return x=m[0],typeof x=="string"?n("span",{key:"outer"},x):x;x=null}return b.createElement(w,{key:"outer"},x)}function l(p){const h=p.match(Sy);return h?h.reduce(function(m,w,x){const v=w.indexOf("=");if(v!==-1){const y=function(C){return C.indexOf("-")!==-1&&C.match(Py)===null&&(C=C.replace(Vy,function(k,O){return O.toUpperCase()})),C}(w.slice(0,v)).trim(),E=function(C){const k=C[0];return(k==='"'||k==="'")&&C.length>=2&&C[C.length-1]===k?C.slice(1,-1):C}(w.slice(v+1).trim()),A=Pi[y]||y,S=m[A]=function(C,k){return C==="style"?k.split(/;\s?/).reduce(function(O,T){const R=T.slice(0,T.indexOf(":"));return O[R.replace(/(-[a-z])/g,F=>F[1].toUpperCase())]=T.slice(R.length+1).trim(),O},{}):C==="href"||C==="src"?Ut(k):(k.match(jy)&&(k=k.slice(1,k.length-1)),k==="true"||k!=="false"&&k)}(y,E);typeof S=="string"&&(yo.test(S)||vo.test(S))&&(m[A]=b.cloneElement(o(S.trim()),{key:x}))}else w!=="style"&&(m[Pi[w]||w]=!0);return m},{}):null}const i=[],u={},s={0:{match:st(Nc),order:1,parse:(p,h,m)=>({children:h(p[0].replace(_y,""),m)}),render:(p,h,m)=>n("blockquote",{key:m.key},h(p.children,m))},1:{match:Er(Oy),order:1,parse:Oa,render:(p,h,m)=>n("br",{key:m.key})},2:{match:st(Ty),order:1,parse:Oa,render:(p,h,m)=>n("hr",{key:m.key})},3:{match:st(Zc),order:0,parse:p=>({lang:void 0,text:p[0].replace(/^ {4}/gm,"").replace(/\n+$/,"")}),render:(p,h,m)=>n("pre",{key:m.key},n("code",Dt({},p.attrs,{className:p.lang?`lang-${p.lang}`:""}),p.text))},4:{match:st(Hc),order:0,parse:p=>({attrs:l(p[3]||""),lang:p[2]||void 0,text:p[4],type:"3"})},5:{match:bt(Ry),order:3,parse:p=>({text:p[2]}),render:(p,h,m)=>n("code",{key:m.key},p.text)},6:{match:st(Dy),order:0,parse:p=>(i.push({footnote:p[2],identifier:p[1]}),{}),render:Ta},7:{match:ht(Ly),order:1,parse:p=>({target:`#${t.slugify(p[1])}`,text:p[1]}),render:(p,h,m)=>n("a",{key:m.key,href:Ut(p.target)},n("sup",{key:m.key},p.text))},8:{match:ht(By),order:1,parse:p=>({completed:p[1].toLowerCase()==="x"}),render:(p,h,m)=>n("input",{checked:p.completed,key:m.key,readOnly:!0,type:"checkbox"})},9:{match:st(t.enforceAtxHeadings?zc:Vc),order:1,parse:(p,h,m)=>({children:bn(h,p[2],m),id:t.slugify(p[2]),level:p[1].length}),render:(p,h,m)=>n(`h${p.level}`,{id:p.id,key:m.key},h(p.children,m))},10:{match:st(qc),order:0,parse:(p,h,m)=>({children:bn(h,p[1],m),level:p[2]==="="?1:2,type:"9"})},11:{match:Er(yo),order:1,parse(p,h,m){const[,w]=p[3].match(u3),x=new RegExp(`^${w}`,"gm"),v=p[3].replace(x,""),y=(E=v,h3.some(k=>k.test(E))?w3:bn);var E;const A=p[1].toLowerCase(),S=Ay.indexOf(A)!==-1,C={attrs:l(p[2]),noInnerParse:S,tag:S?A:p[1]};return m.inAnchor=m.inAnchor||A==="a",S?C.text=p[3]:C.children=y(h,v,m),m.inAnchor=!1,C},render:(p,h,m)=>n(p.tag,Dt({key:m.key},p.attrs),p.text||h(p.children,m))},13:{match:Er(vo),order:1,parse:p=>({attrs:l(p[2]||""),tag:p[1]}),render:(p,h,m)=>n(p.tag,Dt({},p.attrs,{key:m.key}))},12:{match:Er(Uc),order:1,parse:()=>({}),render:Ta},14:{match:bt(g3),order:1,parse:p=>({alt:p[1],target:zi(p[2]),title:p[3]}),render:(p,h,m)=>n("img",{key:m.key,alt:p.alt||void 0,title:p.title||void 0,src:Ut(p.target)})},15:{match:ht(m3),order:3,parse:(p,h,m)=>({children:x3(h,p[1],m),target:zi(p[2]),title:p[3]}),render:(p,h,m)=>n("a",{key:m.key,href:Ut(p.target),title:p.title},h(p.children,m))},16:{match:ht(Zy),order:0,parse:p=>({children:[{text:p[1],type:"27"}],target:p[1],type:"15"})},17:{match:(p,h)=>h.inAnchor?null:ht(Ny)(p,h),order:0,parse:p=>({children:[{text:p[1],type:"27"}],target:p[1],title:void 0,type:"15"})},18:{match:ht(Hy),order:0,parse(p){let h=p[1],m=p[1];return Cy.test(m)||(m="mailto:"+m),{children:[{text:h.replace("mailto:",""),type:"27"}],target:m,type:"15"}}},20:Hi(n,1),33:Hi(n,2),19:{match:st(Fy),order:3,parse:Oa,render:()=>` -`},21:{match:E3,order:3,parse:_a,render:(p,h,m)=>n("p",{key:m.key},h(p.children,m))},22:{match:ht(zy),order:0,parse:p=>(u[p[1]]={target:p[2],title:p[4]},{}),render:Ta},23:{match:bt(qy),order:0,parse:p=>({alt:p[1]||void 0,ref:p[2]}),render:(p,h,m)=>n("img",{key:m.key,alt:p.alt,src:Ut(u[p.ref].target),title:u[p.ref].title})},24:{match:ht(Uy),order:0,parse:(p,h,m)=>({children:h(p[1],m),fallbackChildren:h(p[0].replace(Wy,"\\$1"),m),ref:p[2]}),render:(p,h,m)=>u[p.ref]?n("a",{key:m.key,href:Ut(u[p.ref].target),title:u[p.ref].title},h(p.children,m)):n("span",{key:m.key},h(p.fallbackChildren,m))},25:{match:st(Wc),order:1,parse:v3,render:(p,h,m)=>n("table",{key:m.key},n("thead",null,n("tr",null,p.header.map(function(w,x){return n("th",{key:x,style:Vi(p,x)},h(w,m))}))),n("tbody",null,p.cells.map(function(w,x){return n("tr",{key:x},w.map(function(v,y){return n("td",{key:y,style:Vi(p,y)},h(v,m))}))})))},26:{match:function(p,h){return h.inTable?(h.inline=!0,Ky.exec(p)):null},order:1,parse:function(){return{type:"26"}},render:()=>" | "},27:{match:Er(i3),order:4,parse:p=>({text:p[0].replace(Iy,(h,m)=>t.namedCodesToUnicode[m]?t.namedCodesToUnicode[m]:h)}),render:p=>p.text},28:{match:bt(r3),order:2,parse:(p,h,m)=>({children:h(p[2],m)}),render:(p,h,m)=>n("strong",{key:m.key},h(p.children,m))},29:{match:bt(n3),order:3,parse:(p,h,m)=>({children:h(p[2],m)}),render:(p,h,m)=>n("em",{key:m.key},h(p.children,m))},30:{match:bt(l3),order:1,parse:p=>({text:p[1],type:"27"})},31:{match:bt(a3),order:3,parse:_a,render:(p,h,m)=>n("mark",{key:m.key},h(p.children,m))},32:{match:bt(o3),order:3,parse:_a,render:(p,h,m)=>n("del",{key:m.key},h(p.children,m))}};t.disableParsingRawHTML===!0&&(delete s[11],delete s[13]);const c=function(p){let h=Object.keys(p);function m(w,x){let v=[],y="";for(;w;){let E=0;for(;Ev(m,w,x),m,w,x):v(m,w,x)}}(s,t.renderRule),function p(h,m={}){if(Array.isArray(h)){const w=m.key,x=[];let v=!1;for(let y=0;y{let{children:t,options:r}=e,n=function(o,l){if(o==null)return{};var i,u,s={},c=Object.keys(o);for(u=0;u=0||(s[i]=o[i]);return s}(e,wy);return b.cloneElement(S3(t,r),n)};function C3(e,t,r,n){for(var o=e.length,l=r+(n?1:-1);n?l--:++l-1}var P3=I3;function j3(e,t,r){for(var n=-1,o=e==null?0:e.length;++n=ev){var c=t?null:J3(e);if(c)return Q3(c);i=!1,o=X3,s=new G3}else s=t?[]:u;e:for(;++nfunction(){return t||(0,e[c0(e)[0]])((t={exports:{}}).exports,t),t.exports},K7=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of c0(t))!Y7.call(e,o)&&o!==r&&u0(e,o,{get:()=>t[o],enumerable:!(n=W7(t,o))||n.enumerable});return e},vl=(e,t,r)=>(r=e!=null?U7(G7(e)):{},K7(t||!e||!e.__esModule?u0(r,"default",{value:e,enumerable:!0}):r,e)),X7=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],J7=["detail"];function Q7(e){const t=X7.filter(r=>e[r]!==void 0).reduce((r,n)=>({...r,[n]:e[n]}),{});return e instanceof CustomEvent&&J7.filter(r=>e[r]!==void 0).forEach(r=>{t[r]=e[r]}),t}var d0=Be({"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 n={},o=Symbol("test"),l=Object(o);if(typeof o=="string"||Object.prototype.toString.call(o)!=="[object Symbol]"||Object.prototype.toString.call(l)!=="[object Symbol]")return!1;var i=42;n[o]=i;for(o in n)return!1;if(typeof Object.keys=="function"&&Object.keys(n).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(n).length!==0)return!1;var u=Object.getOwnPropertySymbols(n);if(u.length!==1||u[0]!==o||!Object.prototype.propertyIsEnumerable.call(n,o))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(n,o);if(s.value!==i||s.enumerable!==!0)return!1}return!0}}}),p0=Be({"node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=d0();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}}),e6=Be({"node_modules/function-bind/implementation.js"(e,t){var r="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,o=Object.prototype.toString,l="[object Function]";t.exports=function(u){var s=this;if(typeof s!="function"||o.call(s)!==l)throw new TypeError(r+s);for(var c=n.call(arguments,1),d,f=function(){if(this instanceof d){var w=s.apply(this,c.concat(n.call(arguments)));return Object(w)===w?w:this}else return s.apply(u,c.concat(n.call(arguments)))},g=Math.max(0,s.length-c.length),p=[],h=0;h"u"?r:f(Uint8Array),h={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":d?f([][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%":o,"%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%":d?f(f([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!d?r:f(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:f(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d?f(""[Symbol.iterator]()):r,"%Symbol%":d?Symbol:r,"%SyntaxError%":n,"%ThrowTypeError%":c,"%TypedArray%":p,"%TypeError%":l,"%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},m=function F($){var P;if($==="%AsyncFunction%")P=i("async function () {}");else if($==="%GeneratorFunction%")P=i("function* () {}");else if($==="%AsyncGeneratorFunction%")P=i("async function* () {}");else if($==="%AsyncGenerator%"){var D=F("%AsyncGeneratorFunction%");D&&(P=D.prototype)}else if($==="%AsyncIteratorPrototype%"){var L=F("%AsyncGenerator%");L&&(P=f(L.prototype))}return h[$]=P,P},w={"%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"]},x=El(),v=t6(),y=x.call(Function.call,Array.prototype.concat),E=x.call(Function.apply,Array.prototype.splice),A=x.call(Function.call,String.prototype.replace),S=x.call(Function.call,String.prototype.slice),C=x.call(Function.call,RegExp.prototype.exec),k=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,O=/\\(\\)?/g,T=function($){var P=S($,0,1),D=S($,-1);if(P==="%"&&D!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if(D==="%"&&P!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var L=[];return A($,k,function(N,V,B,H){L[L.length]=B?A(H,O,"$1"):V||N}),L},R=function($,P){var D=$,L;if(v(w,D)&&(L=w[D],D="%"+L[0]+"%"),v(h,D)){var N=h[D];if(N===g&&(N=m(D)),typeof N>"u"&&!P)throw new l("intrinsic "+$+" exists, but is not available. Please file an issue!");return{alias:L,name:D,value:N}}throw new n("intrinsic "+$+" does not exist!")};t.exports=function($,P){if(typeof $!="string"||$.length===0)throw new l("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof P!="boolean")throw new l('"allowMissing" argument must be a boolean');if(C(/^%?[^%]*%?$/,$)===null)throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var D=T($),L=D.length>0?D[0]:"",N=R("%"+L+"%",P),V=N.name,B=N.value,H=!1,Y=N.alias;Y&&(L=Y[0],E(D,y([0,1],Y)));for(var te=1,G=!0;te=D.length){var q=u(B,K);G=!!q,G&&"get"in q&&!("originalValue"in q.get)?B=q.get:B=B[K]}else G=v(B,K),B=B[K];G&&!H&&(h[V]=B)}}return B}}}),r6=Be({"node_modules/call-bind/index.js"(e,t){var r=El(),n=f0(),o=n("%Function.prototype.apply%"),l=n("%Function.prototype.call%"),i=n("%Reflect.apply%",!0)||r.call(l,o),u=n("%Object.getOwnPropertyDescriptor%",!0),s=n("%Object.defineProperty%",!0),c=n("%Math.max%");if(s)try{s({},"a",{value:1})}catch{s=null}t.exports=function(g){var p=i(r,l,arguments);if(u&&s){var h=u(p,"length");h.configurable&&s(p,"length",{value:1+c(0,g.length-(arguments.length-1))})}return p};var d=function(){return i(r,o,arguments)};s?s(t.exports,"apply",{value:d}):t.exports.apply=d}}),n6=Be({"node_modules/call-bind/callBound.js"(e,t){var r=f0(),n=r6(),o=n(r("String.prototype.indexOf"));t.exports=function(i,u){var s=r(i,!!u);return typeof s=="function"&&o(i,".prototype.")>-1?n(s):s}}}),a6=Be({"node_modules/has-tostringtag/shams.js"(e,t){var r=d0();t.exports=function(){return r()&&!!Symbol.toStringTag}}}),o6=Be({"node_modules/is-regex/index.js"(e,t){var r=n6(),n=a6()(),o,l,i,u;n&&(o=r("Object.prototype.hasOwnProperty"),l=r("RegExp.prototype.exec"),i={},s=function(){throw i},u={toString:s,valueOf:s},typeof Symbol.toPrimitive=="symbol"&&(u[Symbol.toPrimitive]=s));var s,c=r("Object.prototype.toString"),d=Object.getOwnPropertyDescriptor,f="[object RegExp]";t.exports=n?function(p){if(!p||typeof p!="object")return!1;var h=d(p,"lastIndex"),m=h&&o(h,"value");if(!m)return!1;try{l(p,u)}catch(w){return w===i}}:function(p){return!p||typeof p!="object"&&typeof p!="function"?!1:c(p)===f}}}),l6=Be({"node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(o){if(!o)return!1;var l=r.call(o);return l==="[object Function]"||typeof o=="function"&&l!=="[object RegExp]"||typeof window<"u"&&(o===window.setTimeout||o===window.alert||o===window.confirm||o===window.prompt)}}}),i6=Be({"node_modules/is-symbol/index.js"(e,t){var r=Object.prototype.toString,n=p0()();n?(o=Symbol.prototype.toString,l=/^Symbol\(.*\)$/,i=function(s){return typeof s.valueOf()!="symbol"?!1:l.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,l,i}}),s6=vl(o6()),u6=vl(l6()),c6=vl(i6());function d6(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}var p6=typeof global=="object"&&global&&global.Object===Object&&global,f6=p6,m6=typeof self=="object"&&self&&self.Object===Object&&self,g6=f6||m6||Function("return this")(),xl=g6,h6=xl.Symbol,ir=h6,m0=Object.prototype,b6=m0.hasOwnProperty,y6=m0.toString,xr=ir?ir.toStringTag:void 0;function v6(e){var t=b6.call(e,xr),r=e[xr];try{e[xr]=void 0;var n=!0}catch{}var o=y6.call(e);return n&&(t?e[xr]=r:delete e[xr]),o}var E6=v6,x6=Object.prototype,w6=x6.toString;function A6(e){return w6.call(e)}var S6=A6,C6="[object Null]",k6="[object Undefined]",es=ir?ir.toStringTag:void 0;function _6(e){return e==null?e===void 0?k6:C6:es&&es in Object(e)?E6(e):S6(e)}var O6=_6,ts=ir?ir.prototype:void 0;ts&&ts.toString;function T6(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var g0=T6,R6="[object AsyncFunction]",F6="[object Function]",$6="[object GeneratorFunction]",D6="[object Proxy]";function L6(e){if(!g0(e))return!1;var t=O6(e);return t==F6||t==$6||t==R6||t==D6}var M6=L6,B6=xl["__core-js_shared__"],$a=B6,rs=function(){var e=/[^.]+$/.exec($a&&$a.keys&&$a.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function I6(e){return!!rs&&rs in e}var P6=I6,j6=Function.prototype,N6=j6.toString;function H6(e){if(e!=null){try{return N6.call(e)}catch{}try{return e+""}catch{}}return""}var Z6=H6,V6=/[\\^$.*+?()[\]{}|]/g,z6=/^\[object .+?Constructor\]$/,q6=Function.prototype,U6=Object.prototype,W6=q6.toString,G6=U6.hasOwnProperty,Y6=RegExp("^"+W6.call(G6).replace(V6,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function K6(e){if(!g0(e)||P6(e))return!1;var t=M6(e)?Y6:z6;return t.test(Z6(e))}var X6=K6;function J6(e,t){return e==null?void 0:e[t]}var Q6=J6;function eE(e,t){var r=Q6(e,t);return X6(r)?r:void 0}var h0=eE;function tE(e,t){return e===t||e!==e&&t!==t}var rE=tE,nE=h0(Object,"create"),Nr=nE;function aE(){this.__data__=Nr?Nr(null):{},this.size=0}var oE=aE;function lE(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var iE=lE,sE="__lodash_hash_undefined__",uE=Object.prototype,cE=uE.hasOwnProperty;function dE(e){var t=this.__data__;if(Nr){var r=t[e];return r===sE?void 0:r}return cE.call(t,e)?t[e]:void 0}var pE=dE,fE=Object.prototype,mE=fE.hasOwnProperty;function gE(e){var t=this.__data__;return Nr?t[e]!==void 0:mE.call(t,e)}var hE=gE,bE="__lodash_hash_undefined__";function yE(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Nr&&t===void 0?bE:t,this}var vE=yE;function dr(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t-1}var RE=TE;function FE(e,t){var r=this.__data__,n=ra(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var $E=FE;function pr(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{let t=null,r=!1,n=!1,o=!1,l="";if(e.indexOf("//")>=0||e.indexOf("/*")>=0)for(let i=0;in8(e).replace(/\n\s*/g,"").trim()),o8=function(t,r){const n=r.slice(0,r.indexOf("{")),o=r.slice(r.indexOf("{"));if(n.includes("=>")||n.includes("function"))return r;let l=n;return l=l.replace(t,"function"),l+o},l8=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/;function y0(e){if(!r8(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=Q7(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 i8=function(t){let r,n,o,l;return function(u,s){try{if(u==="")return l=[],r=new Map([[s,"[]"]]),n=new Map,o=[],s;const c=n.get(this)||this;for(;o.length&&c!==o[0];)o.shift(),l.pop();if(typeof s=="boolean")return s;if(s===void 0)return t.allowUndefined?"_undefined_":void 0;if(s===null)return null;if(typeof s=="number")return s===-1/0?"_-Infinity_":s===1/0?"_Infinity_":Number.isNaN(s)?"_NaN_":s;if(typeof s=="bigint")return`_bigint_${s.toString()}`;if(typeof s=="string")return l8.test(s)?t.allowDate?`_date_${s}`:void 0:s;if((0,s6.default)(s))return t.allowRegExp?`_regexp_${s.flags}|${s.source}`:void 0;if((0,u6.default)(s)){if(!t.allowFunction)return;const{name:f}=s,g=s.toString();return g.match(/(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)?`_function_${f}|${(()=>{}).toString()}`:`_function_${f}|${a8(o8(u,g))}`}if((0,c6.default)(s)){if(!t.allowSymbol)return;const f=Symbol.keyFor(s);return f!==void 0?`_gsymbol_${f}`:`_symbol_${s.toString().slice(7,-1)}`}if(o.length>=t.maxDepth)return Array.isArray(s)?`[Array(${s.length})]`:"[Object]";if(s===this)return`_duplicate_${JSON.stringify(l)}`;if(s instanceof Error&&t.allowError)return{__isConvertedError__:!0,errorProperties:{...s.cause?{cause:s.cause}:{},...s,name:s.name,message:s.message,stack:s.stack,"_constructor-name_":s.constructor.name}};if(s.constructor&&s.constructor.name&&s.constructor.name!=="Object"&&!Array.isArray(s)&&!t.allowClass)return;const d=r.get(s);if(!d){const f=Array.isArray(s)?s:y0(s);if(s.constructor&&s.constructor.name&&s.constructor.name!=="Object"&&!Array.isArray(s)&&t.allowClass)try{Object.assign(f,{"_constructor-name_":s.constructor.name})}catch{}return l.push(u),o.unshift(f),r.set(s,JSON.stringify(l)),s!==f&&n.set(s,f),f}return`_duplicate_${d}`}catch{return}}},s8={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},u8=(e,t={})=>{const r={...s8,...t};return JSON.stringify(y0(e),i8(r),t.space)};/*! - * isobject - * - * Copyright (c) 2014-2017, Jon Schlinkert. - * Released under the MIT License. - *//** - * @license - * Lodash (Custom Build) - * Build: `lodash modularize exports="es" -o ./` - * Copyright OpenJS Foundation and other contributors - * Released under MIT license - * Based on Underscore.js 1.8.3 - * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors - */var v0={exports:{}},Da,as;function c8(){return as||(as=1,Da={tocSelector:".js-toc",contentSelector:".js-toc-content",headingSelector:"h1, h2, h3",ignoreSelector:".js-toc-ignore",hasInnerContainers:!1,linkClass:"toc-link",extraLinkClasses:"",activeLinkClass:"is-active-link",listClass:"toc-list",extraListClasses:"",isCollapsedClass:"is-collapsed",collapsibleClass:"is-collapsible",listItemClass:"toc-list-item",activeListItemClass:"is-active-li",collapseDepth:0,scrollSmooth:!0,scrollSmoothDuration:420,scrollSmoothOffset:0,scrollEndCallback:function(e){},headingsOffset:1,throttleTimeout:50,positionFixedSelector:null,positionFixedClass:"is-position-fixed",fixedSidebarOffset:"auto",includeHtml:!1,includeTitleTags:!1,onClick:function(e){},orderedList:!0,scrollContainer:null,skipRendering:!1,headingLabelCallback:!1,ignoreHiddenElements:!1,headingObjectCallback:null,basePath:"",disableTocScrollSync:!1,tocScrollOffset:0}),Da}var La,os;function d8(){return os||(os=1,La=function(e){var t=[].forEach,r=[].some,n=document.body,o,l=!0,i=" ";function u(v,y){var E=y.appendChild(c(v));if(v.children.length){var A=d(v.isCollapsed);v.children.forEach(function(S){u(S,A)}),E.appendChild(A)}}function s(v,y){var E=!1,A=d(E);if(y.forEach(function(S){u(S,A)}),o=v||o,o!==null)return o.firstChild&&o.removeChild(o.firstChild),y.length===0?o:o.appendChild(A)}function c(v){var y=document.createElement("li"),E=document.createElement("a");return e.listItemClass&&y.setAttribute("class",e.listItemClass),e.onClick&&(E.onclick=e.onClick),e.includeTitleTags&&E.setAttribute("title",v.textContent),e.includeHtml&&v.childNodes.length?t.call(v.childNodes,function(A){E.appendChild(A.cloneNode(!0))}):E.textContent=v.textContent,E.setAttribute("href",e.basePath+"#"+v.id),E.setAttribute("class",e.linkClass+i+"node-name--"+v.nodeName+i+e.extraLinkClasses),y.appendChild(E),y}function d(v){var y=e.orderedList?"ol":"ul",E=document.createElement(y),A=e.listClass+i+e.extraListClasses;return v&&(A=A+i+e.collapsibleClass,A=A+i+e.isCollapsedClass),E.setAttribute("class",A),E}function f(){if(e.scrollContainer&&document.querySelector(e.scrollContainer)){var v;v=document.querySelector(e.scrollContainer).scrollTop}else v=document.documentElement.scrollTop||n.scrollTop;var y=document.querySelector(e.positionFixedSelector);e.fixedSidebarOffset==="auto"&&(e.fixedSidebarOffset=o.offsetTop),v>e.fixedSidebarOffset?y.className.indexOf(e.positionFixedClass)===-1&&(y.className+=i+e.positionFixedClass):y.className=y.className.replace(i+e.positionFixedClass,"")}function g(v){var y=0;return v!==null&&(y=v.offsetTop,e.hasInnerContainers&&(y+=g(v.offsetParent))),y}function p(v,y){return v&&v.className!==y&&(v.className=y),v}function h(v){if(e.scrollContainer&&document.querySelector(e.scrollContainer)){var y;y=document.querySelector(e.scrollContainer).scrollTop}else y=document.documentElement.scrollTop||n.scrollTop;e.positionFixedSelector&&f();var E=v,A;if(l&&o!==null&&E.length>0){r.call(E,function(F,$){if(g(F)>y+e.headingsOffset+10){var P=$===0?$:$-1;return A=E[P],!0}else if($===E.length-1)return A=E[E.length-1],!0});var S=o.querySelector("."+e.activeLinkClass),C=o.querySelector("."+e.linkClass+".node-name--"+A.nodeName+'[href="'+e.basePath+"#"+A.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/\\@])/g,"\\$1")+'"]');if(S===C)return;var k=o.querySelectorAll("."+e.linkClass);t.call(k,function(F){p(F,F.className.replace(i+e.activeLinkClass,""))});var O=o.querySelectorAll("."+e.listItemClass);t.call(O,function(F){p(F,F.className.replace(i+e.activeListItemClass,""))}),C&&C.className.indexOf(e.activeLinkClass)===-1&&(C.className+=i+e.activeLinkClass);var T=C&&C.parentNode;T&&T.className.indexOf(e.activeListItemClass)===-1&&(T.className+=i+e.activeListItemClass);var R=o.querySelectorAll("."+e.listClass+"."+e.collapsibleClass);t.call(R,function(F){F.className.indexOf(e.isCollapsedClass)===-1&&(F.className+=i+e.isCollapsedClass)}),C&&C.nextSibling&&C.nextSibling.className.indexOf(e.isCollapsedClass)!==-1&&p(C.nextSibling,C.nextSibling.className.replace(i+e.isCollapsedClass,"")),m(C&&C.parentNode.parentNode)}}function m(v){return v&&v.className.indexOf(e.collapsibleClass)!==-1&&v.className.indexOf(e.isCollapsedClass)!==-1?(p(v,v.className.replace(i+e.isCollapsedClass,"")),m(v.parentNode.parentNode)):v}function w(v){var y=v.target||v.srcElement;typeof y.className!="string"||y.className.indexOf(e.linkClass)===-1||(l=!1)}function x(){l=!0}return{enableTocAnimation:x,disableTocAnimation:w,render:s,updateToc:h}}),La}var Ma,ls;function p8(){return ls||(ls=1,Ma=function(t){var r=[].reduce;function n(d){return d[d.length-1]}function o(d){return+d.nodeName.toUpperCase().replace("H","")}function l(d){try{return d instanceof window.HTMLElement||d instanceof window.parent.HTMLElement}catch{return d instanceof window.HTMLElement}}function i(d){if(!l(d))return d;if(t.ignoreHiddenElements&&(!d.offsetHeight||!d.offsetParent))return null;const f=d.getAttribute("data-heading-label")||(t.headingLabelCallback?String(t.headingLabelCallback(d.innerText)):(d.innerText||d.textContent).trim());var g={id:d.id,children:[],nodeName:d.nodeName,headingLevel:o(d),textContent:f};return t.includeHtml&&(g.childNodes=d.childNodes),t.headingObjectCallback?t.headingObjectCallback(g,d):g}function u(d,f){for(var g=i(d),p=g.headingLevel,h=f,m=n(h),w=m?m.headingLevel:0,x=p-w;x>0&&(m=n(h),!(m&&p===m.headingLevel));)m&&m.children!==void 0&&(h=m.children),x--;return p>=t.collapseDepth&&(g.isCollapsed=!0),h.push(g),h}function s(d,f){var g=f;t.ignoreSelector&&(g=f.split(",").map(function(h){return h.trim()+":not("+t.ignoreSelector+")"}));try{return d.querySelectorAll(g)}catch{return console.warn("Headers not found with selector: "+g),null}}function c(d){return r.call(d,function(g,p){var h=i(p);return h&&u(h,g.nest),g},{nest:[]})}return{nestHeadingsArray:c,selectHeadings:s}}),Ma}var Ba,is;function f8(){if(is)return Ba;is=1;const e=30;return Ba=function(r){var n=r.tocElement||document.querySelector(r.tocSelector);if(n&&n.scrollHeight>n.clientHeight){var o=n.querySelector("."+r.activeListItemClass);if(o){var l=n.scrollTop,i=l+n.clientHeight,u=o.offsetTop,s=u+o.clientHeight;ui-r.tocScrollOffset-e&&(n.scrollTop+=s-i+r.tocScrollOffset+2*e)}}},Ba}var Ia={},ss;function m8(){if(ss)return Ia;ss=1,Ia.initSmoothScrolling=e;function e(r){var n=r.duration,o=r.offset,l=location.hash?s(location.href):location.href;i();function i(){document.body.addEventListener("click",d,!1);function d(f){!u(f.target)||f.target.className.indexOf("no-smooth-scroll")>-1||f.target.href.charAt(f.target.href.length-2)==="#"&&f.target.href.charAt(f.target.href.length-1)==="!"||f.target.className.indexOf(r.linkClass)===-1||t(f.target.hash,{duration:n,offset:o,callback:function(){c(f.target.hash)}})}}function u(d){return d.tagName.toLowerCase()==="a"&&(d.hash.length>0||d.href.charAt(d.href.length-1)==="#")&&(s(d.href)===l||s(d.href)+"#"===l)}function s(d){return d.slice(0,d.lastIndexOf("#"))}function c(d){var f=document.getElementById(d.substring(1));f&&(/^(?:a|select|input|button|textarea)$/i.test(f.tagName)||(f.tabIndex=-1),f.focus())}}function t(r,n){var o=window.pageYOffset,l={duration:n.duration,offset:n.offset||0,callback:n.callback,easing:n.easing||p},i=document.querySelector('[id="'+decodeURI(r).split("#").join("")+'"]')||document.querySelector('[id="'+r.split("#").join("")+'"]'),u=typeof r=="string"?l.offset+(r?i&&i.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):r,s=typeof l.duration=="function"?l.duration(u):l.duration,c,d;requestAnimationFrame(function(h){c=h,f(h)});function f(h){d=h-c,window.scrollTo(0,l.easing(d,o,u,s)),d"u"&&!f)return;var g,p=Object.prototype.hasOwnProperty;function h(){for(var v={},y=0;y({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:Q(.3,e.color.defaultText),fontSize:e.typography.size.s2})),E0=e=>a.createElement(E8,{...e,className:"docblock-emptyblock sb-unstyled"}),x8=_(Wn)(({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"}})),w8=_.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"})),an=_.div(({theme:e})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,height:17,marginTop:1,width:"60%",[`&:first-child${Ja}`]:{margin:0}})),A8=()=>a.createElement(w8,null,a.createElement(an,null),a.createElement(an,{style:{width:"80%"}}),a.createElement(an,{style:{width:"30%"}}),a.createElement(an,{style:{width:"80%"}})),Sl=({isLoading:e,error:t,language:r,code:n,dark:o,format:l,...i})=>{if(e)return a.createElement(A8,null);if(t)return a.createElement(E0,null,t);let u=a.createElement(x8,{bordered:!0,copyable:!0,format:l,language:r,className:"docblock-source sb-unstyled",...i},n);if(typeof o>"u")return u;let s=o?Ua.dark:Ua.light;return a.createElement(nu,{theme:Xa(s)},u)};Sl.defaultProps={format:!1};var oe=e=>`& :where(${e}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${e}))`,Cl=600,S8=_.h1(ee,({theme:e})=>({color:e.color.defaultText,fontSize:e.typography.size.m3,fontWeight:e.typography.weight.bold,lineHeight:"32px",[`@media (min-width: ${Cl}px)`]:{fontSize:e.typography.size.l1,lineHeight:"36px",marginBottom:"16px"}})),C8=_.h2(ee,({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:15,[`@media (min-width: ${Cl}px)`]:{fontSize:e.typography.size.m1,lineHeight:"28px",marginBottom:24},color:Q(.25,e.color.defaultText)})),k8=_.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"?Q(.1,e.color.defaultText):Q(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border};return{maxWidth:1e3,width:"100%",[oe("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}},[oe("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}},[oe("div")]:t,[oe("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}},[oe("h1")]:{...t,...r,fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},[oe("h2")]:{...t,...r,fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`},[oe("h3")]:{...t,...r,fontSize:`${e.typography.size.m1}px`,fontWeight:e.typography.weight.bold},[oe("h4")]:{...t,...r,fontSize:`${e.typography.size.s3}px`},[oe("h5")]:{...t,...r,fontSize:`${e.typography.size.s2}px`},[oe("h6")]:{...t,...r,fontSize:`${e.typography.size.s2}px`,color:e.color.dark},[oe("hr")]:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},[oe("img")]:{maxWidth:"100%"},[oe("li")]:{...t,fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":n},[oe("ol")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},[oe("p")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":n},[oe("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"}},[oe("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"}}},[oe("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}},[oe("ul")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0},listStyle:"disc"}}}),_8=_.div(({theme:e})=>({background:e.background.content,display:"flex",justifyContent:"center",padding:"4rem 20px",minHeight:"100vh",boxSizing:"border-box",gap:"3rem",[`@media (min-width: ${Cl}px)`]:{}})),O8=({children:e,toc:t})=>a.createElement(_8,{className:"sbdocs sbdocs-wrapper"},a.createElement(k8,{className:"sbdocs sbdocs-content"},e),t),aa=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}`}),T8=({zoom:e,resetZoom:t})=>a.createElement(a.Fragment,null,a.createElement(It,{key:"zoomin",onClick:r=>{r.preventDefault(),e(.8)},title:"Zoom in"},a.createElement(ye,{icon:"zoom"})),a.createElement(It,{key:"zoomout",onClick:r=>{r.preventDefault(),e(1.25)},title:"Zoom out"},a.createElement(ye,{icon:"zoomout"})),a.createElement(It,{key:"zoomreset",onClick:r=>{r.preventDefault(),t()},title:"Reset zoom"},a.createElement(ye,{icon:"zoomreset"}))),R8=_(Kn)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"}),F8=({isLoading:e,storyId:t,baseUrl:r,zoom:n,resetZoom:o,...l})=>a.createElement(R8,{...l},a.createElement(b.Fragment,{key:"left"},e?[1,2,3].map(i=>a.createElement(Oc,{key:i})):a.createElement(T8,{zoom:n,resetZoom:o}))),x0=b.createContext({scale:1}),{window:$8}=Fe,D8=class extends b.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{id:e}=this.props;this.iframe=$8.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:o,...l}=this.props;return a.createElement("iframe",{id:e,title:t,src:r,...n?{allow:"fullscreen"}:{},loading:"lazy",...l})}},{PREVIEW_URL:L8}=Fe,M8=L8||"iframe.html",Eo=({story:e,primary:t})=>`story--${e.id}${t?"--primary":""}`,B8=e=>{let t=b.useRef(),[r,n]=b.useState(!0),[o,l]=b.useState(),{story:i,height:u,autoplay:s,forceInitialArgs:c,renderStoryToElement:d}=e;return b.useEffect(()=>{if(!(i&&t.current))return()=>{};let f=t.current,g=d(i,f,{showMain:()=>{},showError:({title:p,description:h})=>l(new Error(`${p} - ${h}`)),showException:p=>l(p)},{autoplay:s,forceInitialArgs:c});return n(!1),()=>{Promise.resolve().then(()=>g())}},[s,d,i]),o?a.createElement("pre",null,a.createElement(Ec,{error:o})):a.createElement(a.Fragment,null,u?a.createElement("style",null,`#${Eo(e)} { min-height: ${u}; transform: translateZ(0); overflow: auto }`):null,r&&a.createElement(kl,null),a.createElement("div",{ref:t,id:`${Eo(e)}-inner`,"data-name":i.name}))},I8=({story:e,height:t="500px"})=>a.createElement("div",{style:{width:"100%",height:t}},a.createElement(x0.Consumer,null,({scale:r})=>a.createElement(D8,{key:"iframe",id:`iframe--${e.id}`,title:e.name,src:$c(M8,e.id,{viewMode:"story"}),allowFullScreen:!0,scale:r,style:{width:"100%",height:"100%",border:"0 none"}}))),P8=e=>{let{inline:t}=e;return a.createElement("div",{id:Eo(e),className:"sb-story sb-unstyled","data-story-block":"true"},t?a.createElement(B8,{...e}):a.createElement(I8,{...e}))},kl=()=>a.createElement(Fc,null),j8=_.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)`}}:{}),ps=_(Sl)(({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)":Ye(.05,e.background.content),color:e.color.lightest,button:{background:e.base==="light"?"rgba(0, 0, 0, 0.85)":Ye(.05,e.background.content)}})),N8=_.div(({theme:e,withSource:t,isExpanded:r})=>({position:"relative",overflow:"hidden",margin:"25px 0 40px",...aa(e),borderBottomLeftRadius:t&&r&&0,borderBottomRightRadius:t&&r&&0,borderBottomWidth:r&&0,"h3 + &":{marginTop:"16px"}}),({withToolbar:e})=>e&&{paddingTop:40}),H8=(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:a.createElement(ps,{...e,dark:!0}),actionItem:{title:"Hide code",className:"docblock-code-toggle docblock-code-toggle--expanded",onClick:()=>r(!1)}};default:return{source:a.createElement(ps,{...e,dark:!0}),actionItem:{title:"Show code",className:"docblock-code-toggle",onClick:()=>r(!0)}}}};function Z8(e){if(b.Children.count(e)===1){let t=e;if(t.props)return t.props.id}return null}var V8=_(F8)({position:"absolute",top:0,left:0,right:0,height:40}),z8=_.div({overflow:"hidden",position:"relative"}),xo=({isLoading:e,isColumn:t,columns:r,children:n,withSource:o,withToolbar:l=!1,isExpanded:i=!1,additionalActions:u,className:s,layout:c="padded",...d})=>{let[f,g]=b.useState(i),{source:p,actionItem:h}=H8(o,f,g),[m,w]=b.useState(1),x=[s].concat(["sbdocs","sbdocs-preview","sb-unstyled"]),v=o?[h]:[],[y,E]=b.useState(u?[...u]:[]),A=[...v,...y],{window:S}=Fe,C=b.useCallback(async O=>{let{createCopyToClipboardFunction:T}=await Pt(()=>Promise.resolve().then(()=>Qh),void 0,import.meta.url);T()},[]),k=O=>{let T=S.getSelection();T&&T.type==="Range"||(O.preventDefault(),y.filter(R=>R.title==="Copied").length===0&&C(p.props.code).then(()=>{E([...y,{title:"Copied",onClick:()=>{}}]),S.setTimeout(()=>E(y.filter(R=>R.title!=="Copied")),1500)}))};return a.createElement(N8,{withSource:o,withToolbar:l,...d,className:x.join(" ")},l&&a.createElement(V8,{isLoading:e,border:!0,zoom:O=>w(m*O),resetZoom:()=>w(1),storyId:Z8(n),baseUrl:"./iframe.html"}),a.createElement(x0.Provider,{value:{scale:m}},a.createElement(z8,{className:"docs-story",onCopyCapture:o&&k},a.createElement(j8,{isColumn:t||!Array.isArray(n),columns:r,layout:c},a.createElement(vc.Element,{scale:m},Array.isArray(n)?n.map((O,T)=>a.createElement("div",{key:T},O)):a.createElement("div",null,n))),a.createElement(zo,{actionItems:A}))),o&&f&&p)},q8=_(xo)(()=>({".docs-story":{paddingTop:32,paddingBottom:40}})),U8=()=>a.createElement(q8,{isLoading:!0,withToolbar:!0},a.createElement(kl,null)),W8=_.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:mt({theme:e}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:e.typography.size.s1}}})),G8=({tags:e})=>{let t=(e.params||[]).filter(l=>l.description),r=t.length!==0,n=e.deprecated!=null,o=e.returns!=null&&e.returns.description!=null;return!r&&!o&&!n?null:a.createElement(a.Fragment,null,a.createElement(W8,null,a.createElement("tbody",null,n&&a.createElement("tr",{key:"deprecated"},a.createElement("td",{colSpan:2},a.createElement("strong",null,"Deprecated"),": ",e.deprecated)),r&&t.map(l=>a.createElement("tr",{key:l.name},a.createElement("td",null,a.createElement("code",null,l.name)),a.createElement("td",null,l.description))),o&&a.createElement("tr",{key:"returns"},a.createElement("td",null,a.createElement("code",null,"Returns")),a.createElement("td",null,e.returns.description)))))},wo=8,fs=_.div(({isExpanded:e})=>({display:"flex",flexDirection:e?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100})),Y8=_.span(mt,({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}})),K8=_.button(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,marginBottom:"4px",background:"none",border:"none"})),X8=_.div(mt,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"})),J8=_.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"}})),Q8=_(ye)({height:10,width:10,minWidth:10,marginLeft:4}),ex=()=>a.createElement("span",null,"-"),w0=({text:e,simple:t})=>a.createElement(Y8,{simple:t},e),tx=Nt(1e3)(e=>{let t=e.split(/\r?\n/);return`${Math.max(...t.map(r=>r.length))}ch`}),rx=e=>{if(!e)return[e];let t=e.split("|").map(r=>r.trim());return lv(t)},ms=(e,t=!0)=>{let r=e;return t||(r=e.slice(0,wo)),r.map(n=>a.createElement(w0,{key:n,text:n===""?'""':n}))},nx=({value:e,initialExpandedArgs:t})=>{let{summary:r,detail:n}=e,[o,l]=b.useState(!1),[i,u]=b.useState(t||!1);if(r==null)return null;let s=typeof r.toString=="function"?r.toString():r;if(n==null){if(/[(){}[\]<>]/.test(s))return a.createElement(w0,{text:s});let c=rx(s),d=c.length;return d>wo?a.createElement(fs,{isExpanded:i},ms(c,i),a.createElement(K8,{onClick:()=>u(!i)},i?"Show less...":`Show ${d-wo} more...`)):a.createElement(fs,null,ms(c))}return a.createElement(Cc,{closeOnOutsideClick:!0,placement:"bottom",visible:o,onVisibleChange:c=>{l(c)},tooltip:a.createElement(J8,{width:tx(n)},a.createElement(Wn,{language:"jsx",format:!1},n))},a.createElement(X8,{className:"sbdocs-expandable"},a.createElement("span",null,s),a.createElement(Q8,{icon:o?"arrowup":"arrowdown"})))},Pa=({value:e,initialExpandedArgs:t})=>e==null?a.createElement(ex,null):a.createElement(nx,{value:e,initialExpandedArgs:t}),ax=_.label(({theme:e})=>({lineHeight:"18px",alignItems:"center",marginBottom:8,display:"inline-block",position:"relative",whiteSpace:"nowrap",background:e.boolean.background,borderRadius:"3em",padding:1,input:{appearance:"none",width:"100%",height:"100%",position:"absolute",left:0,top:0,margin:0,padding:0,border:"none",background:"transparent",cursor:"pointer",borderRadius:"3em","&:focus":{outline:"none",boxShadow:`${e.color.secondary} 0 0 0 1px inset !important`}},span:{textAlign:"center",fontSize:e.typography.size.s1,fontWeight:e.typography.weight.bold,lineHeight:"1",cursor:"pointer",display:"inline-block",padding:"7px 15px",transition:"all 100ms ease-out",userSelect:"none",borderRadius:"3em",color:Q(.5,e.color.defaultText),background:"transparent","&:hover":{boxShadow:`${nn(.3,e.appBorderColor)} 0 0 0 1px inset`},"&:active":{boxShadow:`${nn(.05,e.appBorderColor)} 0 0 0 2px inset`,color:nn(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"?`${nn(.1,e.appBorderColor)} 0 0 2px`:`${e.appBorderColor} 0 0 0 1px`,color:e.color.defaultText,padding:"7px 15px"}})),ox=e=>e==="true",lx=({name:e,value:t,onChange:r,onBlur:n,onFocus:o})=>{let l=b.useCallback(()=>r(!1),[r]);if(t===void 0)return a.createElement(je.Button,{id:$n(e),onClick:l},"Set boolean");let i=Ne(e),u=typeof t=="string"?ox(t):t;return a.createElement(ax,{htmlFor:i,"aria-label":e},a.createElement("input",{id:i,type:"checkbox",onChange:s=>r(s.target.checked),checked:u,role:"switch",name:e,onBlur:n,onFocus:o}),a.createElement("span",{"aria-hidden":"true"},"False"),a.createElement("span",{"aria-hidden":"true"},"True"))},ix=e=>{let[t,r,n]=e.split("-"),o=new Date;return o.setFullYear(parseInt(t,10),parseInt(r,10)-1,parseInt(n,10)),o},sx=e=>{let[t,r]=e.split(":"),n=new Date;return n.setHours(parseInt(t,10)),n.setMinutes(parseInt(r,10)),n},ux=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}`},cx=e=>{let t=new Date(e),r=`0${t.getHours()}`.slice(-2),n=`0${t.getMinutes()}`.slice(-2);return`${r}:${n}`},dx=_.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}})),px=({name:e,value:t,onChange:r,onFocus:n,onBlur:o})=>{let[l,i]=b.useState(!0),u=b.useRef(),s=b.useRef();b.useEffect(()=>{l!==!1&&(u&&u.current&&(u.current.value=ux(t)),s&&s.current&&(s.current.value=cx(t)))},[t]);let c=g=>{let p=ix(g.target.value),h=new Date(t);h.setFullYear(p.getFullYear(),p.getMonth(),p.getDate());let m=h.getTime();m&&r(m),i(!!m)},d=g=>{let p=sx(g.target.value),h=new Date(t);h.setHours(p.getHours()),h.setMinutes(p.getMinutes());let m=h.getTime();m&&r(m),i(!!m)},f=Ne(e);return a.createElement(dx,null,a.createElement(je.Input,{type:"date",max:"9999-12-31",ref:u,id:`${f}-date`,name:`${f}-date`,onChange:c,onFocus:n,onBlur:o}),a.createElement(je.Input,{type:"time",id:`${f}-time`,name:`${f}-time`,ref:s,onChange:d,onFocus:n,onBlur:o}),l?null:a.createElement("div",null,"invalid"))},fx=_.label({display:"flex"}),mx=e=>{let t=parseFloat(e);return Number.isNaN(t)?void 0:t},gx=({name:e,value:t,onChange:r,min:n,max:o,step:l,onBlur:i,onFocus:u})=>{let[s,c]=b.useState(typeof t=="number"?t:""),[d,f]=b.useState(!1),[g,p]=b.useState(null),h=b.useCallback(x=>{c(x.target.value);let v=parseFloat(x.target.value);Number.isNaN(v)?p(new Error(`'${x.target.value}' is not a number`)):(r(v),p(null))},[r,p]),m=b.useCallback(()=>{c("0"),r(0),f(!0)},[f]),w=b.useRef(null);return b.useEffect(()=>{d&&w.current&&w.current.select()},[d]),b.useEffect(()=>{s!==(typeof t=="number"?t:"")&&c(t)},[t]),!d&&t===void 0?a.createElement(je.Button,{id:$n(e),onClick:m},"Set number"):a.createElement(fx,null,a.createElement(je.Input,{ref:w,id:Ne(e),type:"number",onChange:h,size:"flex",placeholder:"Edit number...",value:s,valid:g?"error":null,autoFocus:d,name:e,min:n,max:o,step:l,onFocus:u,onBlur:i}))},A0=(e,t)=>{let r=t&&Object.entries(t).find(([n,o])=>o===e);return r?r[0]:void 0},Ao=(e,t)=>e&&t?Object.entries(t).filter(r=>e.includes(r[1])).map(r=>r[0]):[],S0=(e,t)=>e&&t&&e.map(r=>t[r]),hx=_.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}}),bx=_.span({}),yx=_.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),gs=({name:e,options:t,value:r,onChange:n,isInline:o})=>{if(!t)return Al.warn(`Checkbox with no options: ${e}`),a.createElement(a.Fragment,null,"-");let l=Ao(r,t),[i,u]=b.useState(l),s=d=>{let f=d.target.value,g=[...i];g.includes(f)?g.splice(g.indexOf(f),1):g.push(f),n(S0(g,t)),u(g)};b.useEffect(()=>{u(Ao(r,t))},[r]);let c=Ne(e);return a.createElement(hx,{isInline:o},Object.keys(t).map((d,f)=>{let g=`${c}-${f}`;return a.createElement(yx,{key:g,htmlFor:g},a.createElement("input",{type:"checkbox",id:g,name:g,value:d,onChange:s,checked:i==null?void 0:i.includes(d)}),a.createElement(bx,null,d))}))},vx=_.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}}),Ex=_.span({}),xx=_.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),hs=({name:e,options:t,value:r,onChange:n,isInline:o})=>{if(!t)return Al.warn(`Radio with no options: ${e}`),a.createElement(a.Fragment,null,"-");let l=A0(r,t),i=Ne(e);return a.createElement(vx,{isInline:o},Object.keys(t).map((u,s)=>{let c=`${i}-${s}`;return a.createElement(xx,{key:c,htmlFor:c},a.createElement("input",{type:"radio",id:c,name:c,value:u,onChange:d=>n(t[d.currentTarget.value]),checked:u===l}),a.createElement(Ex,null,u))}))},wx={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},C0=_.select(wx,({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}}})),k0=_.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}}})),bs="Choose option...",Ax=({name:e,value:t,options:r,onChange:n})=>{let o=u=>{n(r[u.currentTarget.value])},l=A0(t,r)||bs,i=Ne(e);return a.createElement(k0,null,a.createElement(ye,{icon:"arrowdown"}),a.createElement(C0,{id:i,value:l,onChange:o},a.createElement("option",{key:"no-selection",disabled:!0},bs),Object.keys(r).map(u=>a.createElement("option",{key:u,value:u},u))))},Sx=({name:e,value:t,options:r,onChange:n})=>{let o=u=>{let s=Array.from(u.currentTarget.options).filter(c=>c.selected).map(c=>c.value);n(S0(s,r))},l=Ao(t,r),i=Ne(e);return a.createElement(k0,null,a.createElement(C0,{id:i,multiple:!0,value:l,onChange:o},Object.keys(r).map(u=>a.createElement("option",{key:u,value:u},u))))},ys=e=>{let{name:t,options:r}=e;return r?e.isMulti?a.createElement(Sx,{...e}):a.createElement(Ax,{...e}):(Al.warn(`Select with no options: ${t}`),a.createElement(a.Fragment,null,"-"))},Cx=(e,t)=>Array.isArray(e)?e.reduce((r,n)=>(r[(t==null?void 0:t[n])||String(n)]=n,r),{}):e,kx={check:gs,"inline-check":gs,radio:hs,"inline-radio":hs,select:ys,"multi-select":ys},Wt=e=>{let{type:t="select",labels:r,argType:n}=e,o={...e,options:n?Cx(n.options,r):{},isInline:t.includes("inline"),isMulti:t.includes("multi")},l=kx[t];if(l)return a.createElement(l,{...o});throw new Error(`Unknown options type: ${t}`)},_l="value",_x="key",Ox="Error",Tx="Object",Rx="Array",Fx="String",$x="Number",Dx="Boolean",Lx="Date",Mx="Null",Bx="Undefined",Ix="Function",Px="Symbol",_0="ADD_DELTA_TYPE",O0="REMOVE_DELTA_TYPE",T0="UPDATE_DELTA_TYPE";function Et(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 R0(e,t){let r=Et(e),n=Et(t);return(r==="Function"||n==="Function")&&n!==r}var Ol=class extends b.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:o}=this.props,{inputRefKey:l,inputRefValue:i}=this.state,u={};if(!t){if(!l.value)return;u.key=l.value}u.newValue=r(!1,n,o,u.key,i.value),e(u)}refInputKey(e){this.state.inputRefKey=e}refInputValue(e){this.state.inputRefValue=e}render(){let{handleCancel:e,onlyValue:t,addButtonElement:r,cancelButtonElement:n,inputElementGenerator:o,keyPath:l,deep:i}=this.props,u=b.cloneElement(r,{onClick:this.onSubmit}),s=b.cloneElement(n,{onClick:e}),c=o(_l,l,i),d=b.cloneElement(c,{placeholder:"Value",ref:this.refInputValue}),f=null;if(!t){let g=o(_x,l,i);f=b.cloneElement(g,{placeholder:"Key",ref:this.refInputKey})}return a.createElement("span",{className:"rejt-add-value-node"},f,d,s,u)}};Ol.defaultProps={onlyValue:!1,addButtonElement:a.createElement("button",null,"+"),cancelButtonElement:a.createElement("button",null,"c")};var F0=class extends b.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:o}=this.props,l=n.length;o(n[l-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:l}=this.state,i=n[e];t(e,o,l,i).then(()=>{let u={keyPath:o,deep:l,key:e,oldValue:i,type:O0};n.splice(e,1),this.setState({data:n});let{onUpdate:s,onDeltaUpdate:c}=this.props;s(o[o.length-1],n),c(u)}).catch(r.error)}}handleAddValueAdd({newValue:e}){let{data:t,keyPath:r,nextDeep:n}=this.state,{beforeAddAction:o,logger:l}=this.props;o(t.length,r,n,e).then(()=>{let i=[...t,e];this.setState({data:i}),this.handleAddValueCancel();let{onUpdate:u,onDeltaUpdate:s}=this.props;u(r[r.length-1],i),s({type:_0,keyPath:r,deep:n,key:i.length-1,newValue:e})}).catch(l.error)}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:o}=this.props,{data:l,keyPath:i,nextDeep:u}=this.state,s=l[e];o(e,i,u,s,t).then(()=>{l[e]=t,this.setState({data:l});let{onUpdate:c,onDeltaUpdate:d}=this.props;c(i[i.length-1],l),d({type:T0,keyPath:i,deep:u,key:e,newValue:t,oldValue:s}),r(void 0)}).catch(n)})}renderCollapsed(){let{name:e,data:t,keyPath:r,deep:n}=this.state,{handleRemove:o,readOnly:l,getStyle:i,dataType:u,minusMenuElement:s}=this.props,{minus:c,collapsed:d}=i(e,t,r,n,u),f=l(e,t,r,n,u),g=b.cloneElement(s,{onClick:o,className:"rejt-minus-menu",style:c});return a.createElement("span",{className:"rejt-collapsed"},a.createElement("span",{className:"rejt-collapsed-text",style:d,onClick:this.handleCollapseMode},"[...] ",t.length," ",t.length===1?"item":"items"),!f&&g)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,addFormVisible:o,nextDeep:l}=this.state,{isCollapsed:i,handleRemove:u,onDeltaUpdate:s,readOnly:c,getStyle:d,dataType:f,addButtonElement:g,cancelButtonElement:p,editButtonElement:h,inputElementGenerator:m,textareaElementGenerator:w,minusMenuElement:x,plusMenuElement:v,beforeRemoveAction:y,beforeAddAction:E,beforeUpdateAction:A,logger:S,onSubmitValueParser:C}=this.props,{minus:k,plus:O,delimiter:T,ul:R,addForm:F}=d(e,t,r,n,f),$=c(e,t,r,n,f),P=b.cloneElement(v,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:O}),D=b.cloneElement(x,{onClick:u,className:"rejt-minus-menu",style:k}),L=!0,N="[",V="]";return a.createElement("span",{className:"rejt-not-collapsed"},a.createElement("span",{className:"rejt-not-collapsed-delimiter",style:T},N),!o&&P,a.createElement("ul",{className:"rejt-not-collapsed-list",style:R},t.map((B,H)=>a.createElement(oa,{key:H,name:H.toString(),data:B,keyPath:r,deep:l,isCollapsed:i,handleRemove:this.handleRemoveItem(H),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:s,readOnly:c,getStyle:d,addButtonElement:g,cancelButtonElement:p,editButtonElement:h,inputElementGenerator:m,textareaElementGenerator:w,minusMenuElement:x,plusMenuElement:v,beforeRemoveAction:y,beforeAddAction:E,beforeUpdateAction:A,logger:S,onSubmitValueParser:C}))),!$&&o&&a.createElement("div",{className:"rejt-add-form",style:F},a.createElement(Ol,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,onlyValue:L,addButtonElement:g,cancelButtonElement:p,inputElementGenerator:m,keyPath:r,deep:n,onSubmitValueParser:C})),a.createElement("span",{className:"rejt-not-collapsed-delimiter",style:T},V),!$&&D)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:o}=this.state,{dataType:l,getStyle:i}=this.props,u=t?this.renderCollapsed():this.renderNotCollapsed(),s=i(e,r,n,o,l);return a.createElement("div",{className:"rejt-array-node"},a.createElement("span",{onClick:this.handleCollapseMode},a.createElement("span",{className:"rejt-name",style:s.name},e," :"," ")),u)}};F0.defaultProps={keyPath:[],deep:0,minusMenuElement:a.createElement("span",null," - "),plusMenuElement:a.createElement("span",null," + ")};var $0=class extends b.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:o,deep:l}=this.state,{readOnly:i,dataType:u}=this.props,s=i(r,n,o,l,u);e&&!s&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:o}=this.props,{inputRef:l,name:i,deep:u}=this.state;if(!l)return;let s=n(!0,o,u,i,l.value);e({value:s,key:i}).then(()=>{R0(t,s)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:o}=this.state,{handleRemove:l,originalValue:i,readOnly:u,dataType:s,getStyle:c,editButtonElement:d,cancelButtonElement:f,textareaElementGenerator:g,minusMenuElement:p,keyPath:h}=this.props,m=c(e,i,n,o,s),w=null,x=null,v=u(e,i,n,o,s);if(r&&!v){let y=g(_l,h,o,e,i,s),E=b.cloneElement(d,{onClick:this.handleEdit}),A=b.cloneElement(f,{onClick:this.handleCancelEdit}),S=b.cloneElement(y,{ref:this.refInput,defaultValue:i});w=a.createElement("span",{className:"rejt-edit-form",style:m.editForm},S," ",A,E),x=null}else{w=a.createElement("span",{className:"rejt-value",style:m.value,onClick:v?null:this.handleEditMode},t);let y=b.cloneElement(p,{onClick:l,className:"rejt-minus-menu",style:m.minus});x=v?null:y}return a.createElement("li",{className:"rejt-function-value-node",style:m.li},a.createElement("span",{className:"rejt-name",style:m.name},e," :"," "),w,x)}};$0.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>{},editButtonElement:a.createElement("button",null,"e"),cancelButtonElement:a.createElement("button",null,"c"),minusMenuElement:a.createElement("span",null," - ")};var oa=class extends b.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:o,handleRemove:l,handleUpdateValue:i,onUpdate:u,onDeltaUpdate:s,readOnly:c,getStyle:d,addButtonElement:f,cancelButtonElement:g,editButtonElement:p,inputElementGenerator:h,textareaElementGenerator:m,minusMenuElement:w,plusMenuElement:x,beforeRemoveAction:v,beforeAddAction:y,beforeUpdateAction:E,logger:A,onSubmitValueParser:S}=this.props,C=()=>!0,k=Et(e);switch(k){case Ox:return a.createElement(So,{data:e,name:t,isCollapsed:o,keyPath:r,deep:n,handleRemove:l,onUpdate:u,onDeltaUpdate:s,readOnly:C,dataType:k,getStyle:d,addButtonElement:f,cancelButtonElement:g,editButtonElement:p,inputElementGenerator:h,textareaElementGenerator:m,minusMenuElement:w,plusMenuElement:x,beforeRemoveAction:v,beforeAddAction:y,beforeUpdateAction:E,logger:A,onSubmitValueParser:S});case Tx:return a.createElement(So,{data:e,name:t,isCollapsed:o,keyPath:r,deep:n,handleRemove:l,onUpdate:u,onDeltaUpdate:s,readOnly:c,dataType:k,getStyle:d,addButtonElement:f,cancelButtonElement:g,editButtonElement:p,inputElementGenerator:h,textareaElementGenerator:m,minusMenuElement:w,plusMenuElement:x,beforeRemoveAction:v,beforeAddAction:y,beforeUpdateAction:E,logger:A,onSubmitValueParser:S});case Rx:return a.createElement(F0,{data:e,name:t,isCollapsed:o,keyPath:r,deep:n,handleRemove:l,onUpdate:u,onDeltaUpdate:s,readOnly:c,dataType:k,getStyle:d,addButtonElement:f,cancelButtonElement:g,editButtonElement:p,inputElementGenerator:h,textareaElementGenerator:m,minusMenuElement:w,plusMenuElement:x,beforeRemoveAction:v,beforeAddAction:y,beforeUpdateAction:E,logger:A,onSubmitValueParser:S});case Fx:return a.createElement(yt,{name:t,value:`"${e}"`,originalValue:e,keyPath:r,deep:n,handleRemove:l,handleUpdateValue:i,readOnly:c,dataType:k,getStyle:d,cancelButtonElement:g,editButtonElement:p,inputElementGenerator:h,minusMenuElement:w,logger:A,onSubmitValueParser:S});case $x:return a.createElement(yt,{name:t,value:e,originalValue:e,keyPath:r,deep:n,handleRemove:l,handleUpdateValue:i,readOnly:c,dataType:k,getStyle:d,cancelButtonElement:g,editButtonElement:p,inputElementGenerator:h,minusMenuElement:w,logger:A,onSubmitValueParser:S});case Dx:return a.createElement(yt,{name:t,value:e?"true":"false",originalValue:e,keyPath:r,deep:n,handleRemove:l,handleUpdateValue:i,readOnly:c,dataType:k,getStyle:d,cancelButtonElement:g,editButtonElement:p,inputElementGenerator:h,minusMenuElement:w,logger:A,onSubmitValueParser:S});case Lx:return a.createElement(yt,{name:t,value:e.toISOString(),originalValue:e,keyPath:r,deep:n,handleRemove:l,handleUpdateValue:i,readOnly:C,dataType:k,getStyle:d,cancelButtonElement:g,editButtonElement:p,inputElementGenerator:h,minusMenuElement:w,logger:A,onSubmitValueParser:S});case Mx:return a.createElement(yt,{name:t,value:"null",originalValue:"null",keyPath:r,deep:n,handleRemove:l,handleUpdateValue:i,readOnly:c,dataType:k,getStyle:d,cancelButtonElement:g,editButtonElement:p,inputElementGenerator:h,minusMenuElement:w,logger:A,onSubmitValueParser:S});case Bx:return a.createElement(yt,{name:t,value:"undefined",originalValue:"undefined",keyPath:r,deep:n,handleRemove:l,handleUpdateValue:i,readOnly:c,dataType:k,getStyle:d,cancelButtonElement:g,editButtonElement:p,inputElementGenerator:h,minusMenuElement:w,logger:A,onSubmitValueParser:S});case Ix:return a.createElement($0,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:l,handleUpdateValue:i,readOnly:c,dataType:k,getStyle:d,cancelButtonElement:g,editButtonElement:p,textareaElementGenerator:m,minusMenuElement:w,logger:A,onSubmitValueParser:S});case Px:return a.createElement(yt,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:l,handleUpdateValue:i,readOnly:C,dataType:k,getStyle:d,cancelButtonElement:g,editButtonElement:p,inputElementGenerator:h,minusMenuElement:w,logger:A,onSubmitValueParser:S});default:return null}}};oa.defaultProps={keyPath:[],deep:0};var So=class extends b.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:o}=this.props,l=n.length;o(n[l-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:l,logger:i}=this.props;l(e,n,o,t).then(()=>{r[e]=t,this.setState({data:r}),this.handleAddValueCancel();let{onUpdate:u,onDeltaUpdate:s}=this.props;u(n[n.length-1],r),s({type:_0,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:l}=this.state,i=n[e];t(e,o,l,i).then(()=>{let u={keyPath:o,deep:l,key:e,oldValue:i,type:O0};delete n[e],this.setState({data:n});let{onUpdate:s,onDeltaUpdate:c}=this.props;s(o[o.length-1],n),c(u)}).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:l,keyPath:i,nextDeep:u}=this.state,s=l[e];o(e,i,u,s,t).then(()=>{l[e]=t,this.setState({data:l});let{onUpdate:c,onDeltaUpdate:d}=this.props;c(i[i.length-1],l),d({type:T0,keyPath:i,deep:u,key:e,newValue:t,oldValue:s}),r()}).catch(n)})}renderCollapsed(){let{name:e,keyPath:t,deep:r,data:n}=this.state,{handleRemove:o,readOnly:l,dataType:i,getStyle:u,minusMenuElement:s}=this.props,{minus:c,collapsed:d}=u(e,n,t,r,i),f=Object.getOwnPropertyNames(n),g=l(e,n,t,r,i),p=b.cloneElement(s,{onClick:o,className:"rejt-minus-menu",style:c});return a.createElement("span",{className:"rejt-collapsed"},a.createElement("span",{className:"rejt-collapsed-text",style:d,onClick:this.handleCollapseMode},"{...}"," ",f.length," ",f.length===1?"key":"keys"),!g&&p)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,nextDeep:o,addFormVisible:l}=this.state,{isCollapsed:i,handleRemove:u,onDeltaUpdate:s,readOnly:c,getStyle:d,dataType:f,addButtonElement:g,cancelButtonElement:p,editButtonElement:h,inputElementGenerator:m,textareaElementGenerator:w,minusMenuElement:x,plusMenuElement:v,beforeRemoveAction:y,beforeAddAction:E,beforeUpdateAction:A,logger:S,onSubmitValueParser:C}=this.props,{minus:k,plus:O,addForm:T,ul:R,delimiter:F}=d(e,t,r,n,f),$=Object.getOwnPropertyNames(t),P=c(e,t,r,n,f),D=b.cloneElement(v,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:O}),L=b.cloneElement(x,{onClick:u,className:"rejt-minus-menu",style:k}),N=$.map(H=>a.createElement(oa,{key:H,name:H,data:t[H],keyPath:r,deep:o,isCollapsed:i,handleRemove:this.handleRemoveValue(H),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:s,readOnly:c,getStyle:d,addButtonElement:g,cancelButtonElement:p,editButtonElement:h,inputElementGenerator:m,textareaElementGenerator:w,minusMenuElement:x,plusMenuElement:v,beforeRemoveAction:y,beforeAddAction:E,beforeUpdateAction:A,logger:S,onSubmitValueParser:C})),V="{",B="}";return a.createElement("span",{className:"rejt-not-collapsed"},a.createElement("span",{className:"rejt-not-collapsed-delimiter",style:F},V),!P&&D,a.createElement("ul",{className:"rejt-not-collapsed-list",style:R},N),!P&&l&&a.createElement("div",{className:"rejt-add-form",style:T},a.createElement(Ol,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,addButtonElement:g,cancelButtonElement:p,inputElementGenerator:m,keyPath:r,deep:n,onSubmitValueParser:C})),a.createElement("span",{className:"rejt-not-collapsed-delimiter",style:F},B),!P&&L)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:o}=this.state,{getStyle:l,dataType:i}=this.props,u=t?this.renderCollapsed():this.renderNotCollapsed(),s=l(e,r,n,o,i);return a.createElement("div",{className:"rejt-object-node"},a.createElement("span",{onClick:this.handleCollapseMode},a.createElement("span",{className:"rejt-name",style:s.name},e," :"," ")),u)}};So.defaultProps={keyPath:[],deep:0,minusMenuElement:a.createElement("span",null," - "),plusMenuElement:a.createElement("span",null," + ")};var yt=class extends b.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:o,deep:l}=this.state,{readOnly:i,dataType:u}=this.props,s=i(r,n,o,l,u);e&&!s&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:o}=this.props,{inputRef:l,name:i,deep:u}=this.state;if(!l)return;let s=n(!0,o,u,i,l.value);e({value:s,key:i}).then(()=>{R0(t,s)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:o}=this.state,{handleRemove:l,originalValue:i,readOnly:u,dataType:s,getStyle:c,editButtonElement:d,cancelButtonElement:f,inputElementGenerator:g,minusMenuElement:p,keyPath:h}=this.props,m=c(e,i,n,o,s),w=u(e,i,n,o,s),x=r&&!w,v=g(_l,h,o,e,i,s),y=b.cloneElement(d,{onClick:this.handleEdit}),E=b.cloneElement(f,{onClick:this.handleCancelEdit}),A=b.cloneElement(v,{ref:this.refInput,defaultValue:JSON.stringify(i)}),S=b.cloneElement(p,{onClick:l,className:"rejt-minus-menu",style:m.minus});return a.createElement("li",{className:"rejt-value-node",style:m.li},a.createElement("span",{className:"rejt-name",style:m.name},e," : "),x?a.createElement("span",{className:"rejt-edit-form",style:m.editForm},A," ",E,y):a.createElement("span",{className:"rejt-value",style:m.value,onClick:w?null:this.handleEditMode},String(t)),!w&&!x&&S)}};yt.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>Promise.resolve(),editButtonElement:a.createElement("button",null,"e"),cancelButtonElement:a.createElement("button",null,"c"),minusMenuElement:a.createElement("span",null," - ")};var jx={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},Nx={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},Hx={minus:{color:"red"},editForm:{},value:{color:"#7bba3d"},li:{minHeight:"22px",lineHeight:"22px",outline:"0px"},name:{color:"#2287CD"}};function Zx(e){let t=e;if(t.indexOf("function")===0)return(0,eval)(`(${t})`);try{t=JSON.parse(e)}catch{}return t}var D0=class extends b.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:o,getStyle:l,addButtonElement:i,cancelButtonElement:u,editButtonElement:s,inputElement:c,textareaElement:d,minusMenuElement:f,plusMenuElement:g,beforeRemoveAction:p,beforeAddAction:h,beforeUpdateAction:m,logger:w,onSubmitValueParser:x,fallback:v=null}=this.props,y=Et(e),E=o;Et(o)==="Boolean"&&(E=()=>o);let A=c;c&&Et(c)!=="Function"&&(A=()=>c);let S=d;return d&&Et(d)!=="Function"&&(S=()=>d),y==="Object"||y==="Array"?a.createElement("div",{className:"rejt-tree"},a.createElement(oa,{data:e,name:t,deep:-1,isCollapsed:r,onUpdate:this.onUpdate,onDeltaUpdate:n,readOnly:E,getStyle:l,addButtonElement:i,cancelButtonElement:u,editButtonElement:s,inputElementGenerator:A,textareaElementGenerator:S,minusMenuElement:f,plusMenuElement:g,handleRemove:this.removeRoot,beforeRemoveAction:p,beforeAddAction:h,beforeUpdateAction:m,logger:w,onSubmitValueParser:x})):v}};D0.defaultProps={rootName:"root",isCollapsed:(e,t)=>t!==-1,getStyle:(e,t,r,n,o)=>{switch(o){case"Object":case"Error":return jx;case"Array":return Nx;default:return Hx}},readOnly:()=>!1,onFullyUpdate:()=>{},onDeltaUpdate:()=>{},beforeRemoveAction:()=>Promise.resolve(),beforeAddAction:()=>Promise.resolve(),beforeUpdateAction:()=>Promise.resolve(),logger:{error:()=>{}},onSubmitValueParser:(e,t,r,n,o)=>Zx(o),inputElement:()=>a.createElement("input",null),textareaElement:()=>a.createElement("textarea",null),fallback:null};var{window:Vx}=Fe,zx=_.div(({theme:e})=>({position:"relative",display:"flex",".rejt-tree":{marginLeft:"1rem",fontSize:"13px"},".rejt-value-node, .rejt-object-node > .rejt-collapsed, .rejt-array-node > .rejt-collapsed, .rejt-object-node > .rejt-not-collapsed, .rejt-array-node > .rejt-not-collapsed":{"& > svg":{opacity:0,transition:"opacity 0.2s"}},".rejt-value-node:hover, .rejt-object-node:hover > .rejt-collapsed, .rejt-array-node:hover > .rejt-collapsed, .rejt-object-node:hover > .rejt-not-collapsed, .rejt-array-node:hover > .rejt-not-collapsed":{"& > svg":{opacity:1}},".rejt-edit-form button":{display:"none"},".rejt-add-form":{marginLeft:10},".rejt-add-value-node":{display:"inline-flex",alignItems:"center"},".rejt-name":{lineHeight:"22px"},".rejt-not-collapsed-delimiter":{lineHeight:"22px"},".rejt-plus-menu":{marginLeft:5},".rejt-object-node > span > *, .rejt-array-node > span > *":{position:"relative",zIndex:2},".rejt-object-node, .rejt-array-node":{position:"relative"},".rejt-object-node > span:first-of-type::after, .rejt-array-node > span:first-of-type::after, .rejt-collapsed::before, .rejt-not-collapsed::before":{content:'""',position:"absolute",top:0,display:"block",width:"100%",marginLeft:"-1rem",padding:"0 4px 0 1rem",height:22},".rejt-collapsed::before, .rejt-not-collapsed::before":{zIndex:1,background:"transparent",borderRadius:4,transition:"background 0.2s",pointerEvents:"none",opacity:.1},".rejt-object-node:hover, .rejt-array-node:hover":{"& > .rejt-collapsed::before, & > .rejt-not-collapsed::before":{background:e.color.secondary}},".rejt-collapsed::after, .rejt-not-collapsed::after":{content:'""',position:"absolute",display:"inline-block",pointerEvents:"none",width:0,height:0},".rejt-collapsed::after":{left:-8,top:8,borderTop:"3px solid transparent",borderBottom:"3px solid transparent",borderLeft:"3px solid rgba(153,153,153,0.6)"},".rejt-not-collapsed::after":{left:-10,top:10,borderTop:"3px solid rgba(153,153,153,0.6)",borderLeft:"3px solid transparent",borderRight:"3px solid transparent"},".rejt-value":{display:"inline-block",border:"1px solid transparent",borderRadius:4,margin:"1px 0",padding:"0 4px",cursor:"text",color:e.color.defaultText},".rejt-value-node:hover > .rejt-value":{background:e.color.lighter,borderColor:e.appBorderColor}})),ja=_.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})),vs=_(ye)(({theme:e,icon:t,disabled:r})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:r?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":r?{}:{color:t==="subtract"?e.color.negative:e.color.ancillary},"svg + &":{marginLeft:0}})),Es=_.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}`}})),qx=_(It)(({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}})),Ux=_(je.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"}})),Wx={bubbles:!0,cancelable:!0,key:"Enter",code:"Enter",keyCode:13},Gx=e=>{e.currentTarget.dispatchEvent(new Vx.KeyboardEvent("keydown",Wx))},Yx=e=>{e.currentTarget.select()},Kx=e=>()=>({name:{color:e.color.secondary},collapsed:{color:e.color.dark},ul:{listStyle:"none",margin:"0 0 0 1rem",padding:0},li:{outline:0}}),xs=({name:e,value:t,onChange:r})=>{let n=np(),o=b.useMemo(()=>t&&q7(t),[t]),l=o!=null,[i,u]=b.useState(!l),[s,c]=b.useState(null),d=b.useCallback(w=>{try{w&&r(JSON.parse(w)),c(void 0)}catch(x){c(x)}},[r]),[f,g]=b.useState(!1),p=b.useCallback(()=>{r({}),g(!0)},[g]),h=b.useRef(null);if(b.useEffect(()=>{f&&h.current&&h.current.select()},[f]),!l)return a.createElement(je.Button,{id:$n(e),onClick:p},"Set object");let m=a.createElement(Ux,{ref:h,id:Ne(e),name:e,defaultValue:t===null?"":JSON.stringify(t,null,2),onBlur:w=>d(w.target.value),placeholder:"Edit JSON string...",autoFocus:f,valid:s?"error":null});return a.createElement(zx,null,["Object","Array"].includes(Et(o))&&a.createElement(qx,{href:"#",onClick:w=>{w.preventDefault(),u(x=>!x)}},a.createElement(ye,{icon:i?"eyeclose":"eye"}),a.createElement("span",null,"RAW")),i?m:a.createElement(D0,{data:o,rootName:e,onFullyUpdate:r,getStyle:Kx(n),cancelButtonElement:a.createElement(ja,{type:"button"},"Cancel"),editButtonElement:a.createElement(ja,{type:"submit"},"Save"),addButtonElement:a.createElement(ja,{type:"submit",primary:!0},"Save"),plusMenuElement:a.createElement(vs,{icon:"add"}),minusMenuElement:a.createElement(vs,{icon:"subtract"}),inputElement:(w,x,v,y)=>y?a.createElement(Es,{onFocus:Yx,onBlur:Gx}):a.createElement(Es,null),fallback:m}))},Xx=_.input(({theme:e,min:t,max:r,value:n})=>({"&":{width:"100%",backgroundColor:"transparent",appearance:"none"},"&::-webkit-slider-runnable-track":{background:e.base==="light"?`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${Ye(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Ye(.02,e.input.background)} 100%)`:`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${Ft(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Ft(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:"pointer"},"&::-webkit-slider-thumb":{marginTop:"-6px",width:16,height:16,border:`1px solid ${dt(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${dt(e.appBorderColor,.2)}`,cursor:"grab",appearance:"none",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${Ye(.05,e.input.background)}`,transform:"scale3d(1.1, 1.1, 1.1) translateY(-1px)",transition:"all 50ms ease-out"},"&:active":{background:`${e.input.background}`,transform:"scale3d(1, 1, 1) translateY(0px)",cursor:"grabbing"}},"&:focus":{outline:"none","&::-webkit-slider-runnable-track":{borderColor:dt(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}%, - ${Ye(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Ye(.02,e.input.background)} 100%)`:`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${Ft(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Ft(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:"pointer",outline:"none"},"&::-moz-range-thumb":{width:16,height:16,border:`1px solid ${dt(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${dt(e.appBorderColor,.2)}`,cursor:"grab",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${Ye(.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}%, - ${Ye(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Ye(.02,e.input.background)} 100%)`:`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${Ft(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Ft(.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 ${dt(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),L0=_.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums"}),Jx=_(L0)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),Qx=_.div({display:"flex",alignItems:"center",width:"100%"});function e9(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 t9=({name:e,value:t,onChange:r,min:n=0,max:o=100,step:l=1,onBlur:i,onFocus:u})=>{let s=f=>{r(mx(f.target.value))},c=t!==void 0,d=b.useMemo(()=>e9(l),[l]);return a.createElement(Qx,null,a.createElement(L0,null,n),a.createElement(Xx,{id:Ne(e),type:"range",onChange:s,name:e,value:t,min:n,max:o,step:l,onFocus:u,onBlur:i}),a.createElement(Jx,{numberOFDecimalsPlaces:d,max:o},c?t.toFixed(d):"--"," / ",o))},r9=_.label({display:"flex"}),n9=_.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),a9=({name:e,value:t,onChange:r,onFocus:n,onBlur:o,maxLength:l})=>{let i=f=>{r(f.target.value)},[u,s]=b.useState(!1),c=b.useCallback(()=>{r(""),s(!0)},[s]);if(t===void 0)return a.createElement(je.Button,{id:$n(e),onClick:c},"Set string");let d=typeof t=="string";return a.createElement(r9,null,a.createElement(je.Textarea,{id:Ne(e),maxLength:l,onChange:i,size:"flex",placeholder:"Edit string...",autoFocus:u,valid:d?null:"error",name:e,value:d?t:"",onFocus:n,onBlur:o}),l&&a.createElement(n9,{isMaxed:(t==null?void 0:t.length)===l},(t==null?void 0:t.length)??0," / ",l))},o9=_(je.Input)({padding:10});function l9(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var i9=({onChange:e,name:t,accept:r="image/*",value:n})=>{let o=b.useRef(null);function l(i){if(!i.target.files)return;let u=Array.from(i.target.files).map(s=>URL.createObjectURL(s));e(u),l9(n)}return b.useEffect(()=>{n==null&&o.current&&(o.current.value=null)},[n,t]),a.createElement(o9,{ref:o,id:Ne(t),type:"file",name:t,multiple:!0,onChange:l,accept:r,size:"flex"})},s9=b.lazy(()=>Pt(()=>import("./Color-6VNJS4EI-RYsa4rzs.js"),__vite__mapDeps([10,2,3,6,1,4,5,7]),import.meta.url)),u9=e=>a.createElement(b.Suspense,{fallback:a.createElement("div",null)},a.createElement(s9,{...e})),c9={array:xs,object:xs,boolean:lx,color:u9,date:px,number:gx,check:Wt,"inline-check":Wt,radio:Wt,"inline-radio":Wt,select:Wt,"multi-select":Wt,range:t9,text:a9,file:i9},ws=()=>a.createElement(a.Fragment,null,"-"),d9=({row:e,arg:t,updateArgs:r,isHovered:n})=>{let{key:o,control:l}=e,[i,u]=b.useState(!1),[s,c]=b.useState({value:t});b.useEffect(()=>{i||c({value:t})},[i,t]);let d=b.useCallback(m=>(c({value:m}),r({[o]:m}),m),[r,o]),f=b.useCallback(()=>u(!1),[]),g=b.useCallback(()=>u(!0),[]);if(!l||l.disable)return n?a.createElement(xt,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):a.createElement(ws,null);let p={name:o,argType:e,value:s.value,onChange:d,onBlur:f,onFocus:g},h=c9[l.type]||ws;return a.createElement(h,{...p,...l,controlType:l.type})},p9=_.span({fontWeight:"bold"}),f9=_.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),m9=_.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...mt({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),g9=_.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?Q(.1,e.color.defaultText):Q(.2,e.color.defaultText),marginTop:t?4:0})),h9=_.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?Q(.1,e.color.defaultText):Q(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),b9=_.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),on=e=>{var m;let[t,r]=b.useState(!1),{row:n,updateArgs:o,compact:l,expandable:i,initialExpandedArgs:u}=e,{name:s,description:c}=n,d=n.table||{},f=d.type||n.type,g=d.defaultValue||n.defaultValue,p=(m=n.type)==null?void 0:m.required,h=c!=null&&c!=="";return a.createElement("tr",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},a.createElement(b9,{expandable:i},a.createElement(p9,null,s),p?a.createElement(f9,{title:"Required"},"*"):null),l?null:a.createElement("td",null,h&&a.createElement(m9,null,a.createElement(o0,null,c)),d.jsDocTags!=null?a.createElement(a.Fragment,null,a.createElement(h9,{hasDescription:h},a.createElement(Pa,{value:f,initialExpandedArgs:u})),a.createElement(G8,{tags:d.jsDocTags})):a.createElement(g9,{hasDescription:h},a.createElement(Pa,{value:f,initialExpandedArgs:u}))),l?null:a.createElement("td",null,a.createElement(Pa,{value:g,initialExpandedArgs:u})),o?a.createElement("td",null,a.createElement(d9,{...e,isHovered:t})):null)},y9=_(ye)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?Q(.25,e.color.defaultText):Q(.3,e.color.defaultText),border:"none",display:"inline-block"})),v9=_.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),E9=_.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"?Q(.4,e.color.defaultText):Q(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),x9=_.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),w9=_.td(()=>({position:"relative"})),A9=_.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${Ft(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),As=_.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"})),Na=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:o=3})=>{let[l,i]=b.useState(n),u=e==="subsection"?x9:E9,s=(r==null?void 0:r.length)||0,c=e==="subsection"?`${s} item${s!==1?"s":""}`:"",d=l?"arrowdown":"arrowright",f=`${l?"Hide":"Show"} ${e==="subsection"?s:t} item${s!==1?"s":""}`;return a.createElement(a.Fragment,null,a.createElement(A9,{title:f},a.createElement(u,{colSpan:1},a.createElement(As,{onClick:g=>i(!l),tabIndex:0},f),a.createElement(v9,null,a.createElement(y9,{icon:d}),t)),a.createElement(w9,{colSpan:o-1},a.createElement(As,{onClick:g=>i(!l),tabIndex:-1,style:{outline:"none"}},f),l?null:c)),l?r:null)},ln=_.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),fe=_.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),le=_.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})),me=[2,4,2,2],S9=()=>a.createElement(a.Fragment,null,a.createElement(ln,null,a.createElement(fe,{numColumn:me[0]},a.createElement(le,{width:"60%"})),a.createElement(fe,{numColumn:me[1]},a.createElement(le,{width:"30%"})),a.createElement(fe,{numColumn:me[2]},a.createElement(le,{width:"60%"})),a.createElement(fe,{numColumn:me[3]},a.createElement(le,{width:"60%"}))),a.createElement(ln,null,a.createElement(fe,{numColumn:me[0]},a.createElement(le,{width:"60%"})),a.createElement(fe,{numColumn:me[1]},a.createElement(le,{width:"80%"}),a.createElement(le,{width:"30%"})),a.createElement(fe,{numColumn:me[2]},a.createElement(le,{width:"60%"})),a.createElement(fe,{numColumn:me[3]},a.createElement(le,{width:"60%"}))),a.createElement(ln,null,a.createElement(fe,{numColumn:me[0]},a.createElement(le,{width:"60%"})),a.createElement(fe,{numColumn:me[1]},a.createElement(le,{width:"80%"}),a.createElement(le,{width:"30%"})),a.createElement(fe,{numColumn:me[2]},a.createElement(le,{width:"60%"})),a.createElement(fe,{numColumn:me[3]},a.createElement(le,{width:"60%"}))),a.createElement(ln,null,a.createElement(fe,{numColumn:me[0]},a.createElement(le,{width:"60%"})),a.createElement(fe,{numColumn:me[1]},a.createElement(le,{width:"80%"}),a.createElement(le,{width:"30%"})),a.createElement(fe,{numColumn:me[2]},a.createElement(le,{width:"60%"})),a.createElement(fe,{numColumn:me[3]},a.createElement(le,{width:"60%"})))),C9=_.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"})),k9=_.div({display:"flex",flexDirection:"column",gap:4,maxWidth:415}),_9=_.div(({theme:e})=>({fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textColor})),O9=_.div(({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textMutedColor})),T9=_.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),R9=_.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),F9=({inAddonPanel:e})=>{let[t,r]=b.useState(!0);return b.useEffect(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:a.createElement(C9,{inAddonPanel:e},a.createElement(k9,null,a.createElement(_9,null,e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated"),a.createElement(O9,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.")),a.createElement(T9,null,e&&a.createElement(a.Fragment,null,a.createElement(xt,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},a.createElement(ye,{icon:"video"})," Watch 5m video"),a.createElement(R9,null),a.createElement(xt,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Read docs")),!e&&a.createElement(xt,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Learn how to set that up")))},$9=_.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"?Q(.25,e.color.defaultText):Q(.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}}}}})),D9=_(It)(({theme:e})=>({color:e.barTextColor,margin:"-4px -12px -4px 0"})),L9=_.span({display:"flex",justifyContent:"space-between"}),M9={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},B9=(e,t)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([l,i])=>{let{category:u,subcategory:s}=(i==null?void 0:i.table)||{};if(u){let c=r.sections[u]||{ungrouped:[],subsections:{}};if(!s)c.ungrouped.push({key:l,...i});else{let d=c.subsections[s]||[];d.push({key:l,...i}),c.subsections[s]=d}r.sections[u]=c}else if(s){let c=r.ungroupedSubsections[s]||[];c.push({key:l,...i}),r.ungroupedSubsections[s]=c}else r.ungrouped.push({key:l,...i})});let n=M9[t],o=l=>n?Object.keys(l).reduce((i,u)=>({...i,[u]:l[u].sort(n)}),{}):l;return{ungrouped:r.ungrouped.sort(n),ungroupedSubsections:o(r.ungroupedSubsections),sections:Object.keys(r.sections).reduce((l,i)=>({...l,[i]:{ungrouped:r.sections[i].ungrouped.sort(n),subsections:o(r.sections[i].subsections)}}),{})}},I9=(e,t,r)=>{try{return U0(e,t,r)}catch(n){return g8.warn(n.message),!1}},P9=e=>{let{updateArgs:t,resetArgs:r,compact:n,inAddonPanel:o,initialExpandedArgs:l,sort:i="none",isLoading:u}=e;if("error"in e){let{error:v}=e;return a.createElement(E0,null,v," ",a.createElement(xt,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},"Read the docs"))}if(u)return a.createElement(S9,null);let{rows:s,args:c,globals:d}="rows"in e&&e,f=B9(xy(s,v=>{var y;return!((y=v==null?void 0:v.table)!=null&&y.disable)&&I9(v,c||{},d||{})}),i),g=f.ungrouped.length===0,p=Object.entries(f.sections).length===0,h=Object.entries(f.ungroupedSubsections).length===0;if(g&&p&&h)return a.createElement(F9,{inAddonPanel:o});let m=1;t&&(m+=1),n||(m+=2);let w=Object.keys(f.sections).length>0,x={updateArgs:t,compact:n,inAddonPanel:o,initialExpandedArgs:l};return a.createElement(Un,null,a.createElement($9,{compact:n,inAddonPanel:o,className:"docblock-argstable sb-unstyled"},a.createElement("thead",{className:"docblock-argstable-head"},a.createElement("tr",null,a.createElement("th",null,a.createElement("span",null,"Name")),n?null:a.createElement("th",null,a.createElement("span",null,"Description")),n?null:a.createElement("th",null,a.createElement("span",null,"Default")),t?a.createElement("th",null,a.createElement(L9,null,"Control"," ",!u&&r&&a.createElement(D9,{onClick:()=>r(),title:"Reset controls"},a.createElement(ye,{icon:"undo","aria-hidden":!0})))):null)),a.createElement("tbody",{className:"docblock-argstable-body"},f.ungrouped.map(v=>a.createElement(on,{key:v.key,row:v,arg:c&&c[v.key],...x})),Object.entries(f.ungroupedSubsections).map(([v,y])=>a.createElement(Na,{key:v,label:v,level:"subsection",colSpan:m},y.map(E=>a.createElement(on,{key:E.key,row:E,arg:c&&c[E.key],expandable:w,...x})))),Object.entries(f.sections).map(([v,y])=>a.createElement(Na,{key:v,label:v,level:"section",colSpan:m},y.ungrouped.map(E=>a.createElement(on,{key:E.key,row:E,arg:c&&c[E.key],...x})),Object.entries(y.subsections).map(([E,A])=>a.createElement(Na,{key:E,label:E,level:"subsection",colSpan:m},A.map(S=>a.createElement(on,{key:S.key,row:S,arg:c&&c[S.key],expandable:w,...x})))))))))};_.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?Q(.4,e.color.defaultText):Q(.6,e.color.defaultText)}));_.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});_.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}});_.div(ee,({theme:e})=>({...aa(e),margin:"25px 0 40px",padding:"30px 20px"}));_.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText}));_.div(({theme:e})=>({color:e.base==="light"?Q(.2,e.color.defaultText):Q(.6,e.color.defaultText)}));_.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5});_.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"?Q(.4,e.color.defaultText):Q(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}}));_.div({display:"flex",flexDirection:"row"});_.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}}));_.div(({theme:e})=>({...aa(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"}));_.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30});_.div({flex:1,display:"flex",flexDirection:"row"});_.div({display:"flex",alignItems:"flex-start"});_.div({flex:"0 0 30%"});_.div({flex:1});_.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?Q(.4,e.color.defaultText):Q(.6,e.color.defaultText)}));_.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));var j9=_.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2})),N9=_.div(({theme:e})=>({...aa(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}})),H9=_.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"}),Z9=_.div({display:"flex",flexFlow:"row wrap"}),Yw=({name:e,children:t})=>a.createElement(H9,null,a.createElement(N9,null,t),a.createElement(j9,null,e)),Kw=({children:e,...t})=>a.createElement(Un,null,a.createElement(Z9,{...t,className:"docblock-icongallery sb-unstyled"},e)),V9=e=>`anchor--${e}`,M0=({storyId:e,children:t})=>a.createElement("div",{id:V9(e),className:"sb-anchor"},t);Fe&&Fe.__DOCS_CONTEXT__===void 0&&(Fe.__DOCS_CONTEXT__=b.createContext(null),Fe.__DOCS_CONTEXT__.displayName="DocsContext");var Se=Fe?Fe.__DOCS_CONTEXT__:b.createContext(null),Gr=(e,t)=>b.useContext(Se).resolveOf(e,t);function z9(e,t="start"){e.scrollIntoView({behavior:"smooth",block:t,inline:"nearest"})}function q9(e,t){let r=Tl([e],t);return r&&r[0]}function Tl(e,t){let[r,n]=b.useState({});return b.useEffect(()=>{Promise.all(e.map(async o=>{let l=await t.loadStory(o);n(i=>i[o]===l?i:{...i,[o]:l})}))}),e.map(o=>{if(r[o])return r[o];try{return t.storyById(o)}catch{return null}})}function B0(e){return u8(e)}var I0=b.createContext({sources:{}}),P0="--unknown--",U9=({children:e,channel:t})=>{let[r,n]=b.useState({});return b.useEffect(()=>{let o=(l,i=null,u=!1)=>{let{id:s,args:c=void 0,source:d,format:f}=typeof l=="string"?{id:l,source:i,format:u}:l,g=c?B0(c):P0;n(p=>({...p,[s]:{...p[s],[g]:{code:d,format:f}}}))};return t.on(Il,o),()=>t.off(Il,o)},[]),a.createElement(I0.Provider,{value:{sources:r}},e)},W9=(e=>(e.OPEN="open",e.CLOSED="closed",e.NONE="none",e))(W9||{}),G9=e=>{let t=e.map(r=>{var n,o;return(o=(n=r.parameters.docs)==null?void 0:n.source)==null?void 0:o.state}).filter(Boolean);return t.length===0?"closed":t[0]},Y9=(e,t,r)=>{let{sources:n}=r,o=n==null?void 0:n[e];return(o==null?void 0:o[B0(t)])||(o==null?void 0:o[P0])||{code:""}},K9=({snippet:e,storyContext:t,typeFromProps:r,transformFromProps:n})=>{var s,c,d,f,g,p;let{__isArgsStory:o}=t.parameters,l=((s=t.parameters.docs)==null?void 0:s.source)||{},i=r||l.type||ua.AUTO;if(l.code!==void 0)return l.code;let u=i===ua.DYNAMIC||i===ua.AUTO&&e&&o?e:l.originalSource||"";return l.transformSource&&de(Ee`The \`transformSource\` parameter at \`parameters.docs.source.transformSource\` is deprecated, please use \`parameters.docs.source.transform\` instead. - - Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#source-block - `),(c=t.parameters.docs)!=null&&c.transformSource&&de(Ee`The \`transformSource\` parameter at \`parameters.docs.transformSource\` is deprecated, please use \`parameters.docs.source.transform\` instead. - - Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#source-block - `),(d=t.parameters.jsx)!=null&&d.transformSource&&de(Ee`The \`transformSource\` parameter at \`parameters.jsx.transformSource\` is deprecated, please use \`parameters.docs.source.transform\` instead. - - Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#source-block - `),((p=n??l.transform??l.transformSource??((f=t.parameters.docs)==null?void 0:f.transformSource)??((g=t.parameters.jsx)==null?void 0:g.transformSource))==null?void 0:p(u,t))||u},j0=(e,t,r)=>{var p,h,m;let n=e.ids||(e.id?[e.id]:[]),o=Tl(n,t),l=o,{of:i}=e;if("of"in e&&i===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");if(i)l=[t.resolveOf(i,["story"]).story];else if(l.length===0)try{l=[t.storyById()]}catch{}if(!o.every(Boolean))return{error:"Oh no! The source is not available.",state:"none"};let u=((m=(h=(p=l[0])==null?void 0:p.parameters)==null?void 0:h.docs)==null?void 0:m.source)||{},{code:s}=e,c=e.format??u.format,d=e.language??u.language??"jsx",f=e.dark??u.dark??!1;s||(s=l.map((w,x)=>{var A,S;if(!w)return"";let v=t.getStoryContext(w),y=e.__forceInitialArgs?v.initialArgs:v.unmappedArgs,E=Y9(w.id,y,r);return x===0&&(c=E.format??((S=(A=w.parameters.docs)==null?void 0:A.source)==null?void 0:S.format)??!1),K9({snippet:E.code,storyContext:{...v,args:y},typeFromProps:e.type,transformFromProps:e.transform})}).join(` - -`));let g=G9(l);return s?{code:s,format:c,language:d,dark:f,state:g}:{error:"Oh no! The source is not available.",state:g}},N0=(e,t)=>{let{id:r,of:n,meta:o,story:l}=e;if("of"in e&&n===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");if(r)return de(Ee`Referencing stories by \`id\` is deprecated, please use \`of\` instead. - - Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#story-block'`),r;let{name:i}=e;return i?(de(Ee`Referencing stories by \`name\` is deprecated, please use \`of\` instead. - - Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#story-block'`),t.storyIdByName(i)):(l&&de(Ee`The \`story\` prop is deprecated, please export your stories from CSF files and reference them with \`of={}\`. - - Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#story-block'`),o&&t.referenceMeta(o,!1),t.resolveOf(n||l||"story",["story"]).story.id)},X9=(e,t,r)=>{let{parameters:n={}}=t||{},{docs:o={}}=n,l=o.story||{};if(o.disable)return null;let{inlineStories:i,iframeHeight:u}=o;typeof i<"u"&&de(Ee`The \`docs.inlineStories\` parameter is deprecated, use \`docs.story.inline\` instead. - - Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#autodocs-changes' - `);let s=e.inline??l.inline??i??!1;if(typeof u<"u"&&de(Ee`The \`docs.iframeHeight\` parameter is deprecated, use \`docs.story.iframeHeight\` instead. - - Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#autodocs-changes' - `),s){let d=e.height??l.height,f=e.autoplay??l.autoplay??!1;return{story:t,inline:!0,height:d,autoplay:f,forceInitialArgs:!!e.__forceInitialArgs,primary:!!e.__primary,renderStoryToElement:r.renderStoryToElement}}let c=e.height??l.height??l.iframeHeight??u??"100px";return{story:t,inline:!1,height:c,primary:!!e.__primary}},J9=(e={__forceInitialArgs:!1,__primary:!1})=>{let t=b.useContext(Se),r=N0(e,t),n=q9(r,t);if(!n)return a.createElement(kl,null);let o=X9(e,n,t);return o?a.createElement(P8,{...o}):null},Q9=({withSource:e,mdxSource:t,children:r,layout:n,...o},l,i)=>{let u=b.Children.toArray(r).filter(g=>g.props&&(g.props.id||g.props.name||g.props.of)).map(g=>N0(g.props,l)),s=Tl(u,l),c=s.some(g=>!g),d=j0({...t?{code:decodeURI(t)}:{ids:u},...o.of&&{of:o.of}},l,i);if(e==="none")return{isLoading:c,previewProps:o};let f=n;return b.Children.forEach(r,g=>{var p,h;f||(f=(h=(p=g==null?void 0:g.props)==null?void 0:p.parameters)==null?void 0:h.layout)}),s.forEach(g=>{var p,h;f||!g||(f=(g==null?void 0:g.parameters.layout)??((h=(p=g.parameters.docs)==null?void 0:p.canvas)==null?void 0:h.layout))}),{isLoading:c,previewProps:{...o,layout:f??"padded",withSource:d,isExpanded:(e||d.state)==="open"}}},ew=e=>{var w,x,v,y,E,A,S,C,k,O;let t=b.useContext(Se),r=b.useContext(I0),{children:n,of:o,source:l}=e;if("of"in e&&o===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let{isLoading:i,previewProps:u}=Q9(e,t,r),s,c,d;try{({story:s}=Gr(o||"story",["story"]))}catch(T){n||(d=T)}try{c=j0({...l,...o&&{of:o}},t,r)}catch(T){n||(d=T)}if(d)throw d;if(e.withSource&&de(Ee`Setting source state with \`withSource\` is deprecated, please use \`sourceState\` with 'hidden', 'shown' or 'none' instead. - - Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#canvas-block - `),e.mdxSource&&de(Ee`Setting source code with \`mdxSource\` is deprecated, please use source={{code: '...'}} instead. - - Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#canvas-block - `),(e.isColumn!==void 0||e.columns!==void 0)&&de(Ee`\`isColumn\` and \`columns\` props are deprecated as the Canvas block now only supports showing a single story. - - Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#canvas-block - `),n)return de(Ee`Passing children to Canvas is deprecated, please use the \`of\` prop instead to reference a story. - - Please refer to the migration guide: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#canvas-block - `),i?a.createElement(U8,null):a.createElement(xo,{...u},n);let f=e.layout??s.parameters.layout??((x=(w=s.parameters.docs)==null?void 0:w.canvas)==null?void 0:x.layout)??"padded",g=e.withToolbar??((y=(v=s.parameters.docs)==null?void 0:v.canvas)==null?void 0:y.withToolbar)??!1,p=e.additionalActions??((A=(E=s.parameters.docs)==null?void 0:E.canvas)==null?void 0:A.additionalActions),h=e.sourceState??((C=(S=s.parameters.docs)==null?void 0:S.canvas)==null?void 0:C.sourceState)??"hidden",m=e.className??((O=(k=s.parameters.docs)==null?void 0:k.canvas)==null?void 0:O.className);return a.createElement(xo,{withSource:h==="none"?void 0:c,isExpanded:h==="shown",withToolbar:g,additionalActions:p,className:m,layout:f},a.createElement(J9,{of:o||s.moduleExport,meta:e.meta,...e.story}))},tw=(e,t)=>{let r=t.getStoryContext(e),[n,o]=b.useState(r.globals);return b.useEffect(()=>{let l=i=>{o(i.globals)};return t.channel.on(ds,l),()=>t.channel.off(ds,l)},[t.channel]),[n]},rw=(e,t)=>{let r=nw(e,t);if(!r)throw new Error("No result when story was defined");return r},nw=(e,t)=>{let r=e?t.getStoryContext(e):{args:{}},{id:n}=e||{id:"none"},[o,l]=b.useState(r.args);b.useEffect(()=>{let s=c=>{c.storyId===n&&l(c.args)};return t.channel.on(cs,s),()=>t.channel.off(cs,s)},[n,t.channel]);let i=b.useCallback(s=>t.channel.emit(b8,{storyId:n,updatedArgs:s}),[n,t.channel]),u=b.useCallback(s=>t.channel.emit(y8,{storyId:n,argNames:s}),[n,t.channel]);return e&&[o,i,u]},aw=e=>{var m;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=b.useContext(Se),{story:n}=r.resolveOf(t||"story",["story"]),{parameters:o,argTypes:l}=n,i=((m=o.docs)==null?void 0:m.controls)||{},u=e.include??i.include,s=e.exclude??i.exclude,c=e.sort??i.sort,[d,f,g]=rw(n,r),[p]=tw(n,r),h=h8(l,u,s);return a.createElement(P9,{rows:h,args:d,globals:p,updateArgs:f,resetArgs:g,sort:c})},{document:H0}=Fe,ow=({className:e,children:t,...r})=>{if(typeof e!="string"&&(typeof t!="string"||!t.match(/[\n\r]/g)))return a.createElement(al,null,t);let n=e&&e.split("-");return a.createElement(Sl,{language:n&&n[1]||"plaintext",format:!1,code:t,...r})};function Rl(e,t){e.channel.emit(v8,t)}var Co=Dc.a,lw=({hash:e,children:t})=>{let r=b.useContext(Se);return a.createElement(Co,{href:e,target:"_self",onClick:n=>{let o=e.substring(1);H0.getElementById(o)&&Rl(r,e)}},t)},iw=e=>{let{href:t,target:r,children:n,...o}=e,l=b.useContext(Se);if(t){if(t.startsWith("#"))return a.createElement(lw,{hash:t},n);if(r!=="_blank"&&!t.startsWith("https://"))return a.createElement(Co,{href:t,onClick:i=>{i.button===0&&!i.altKey&&!i.ctrlKey&&!i.metaKey&&!i.shiftKey&&(i.preventDefault(),Rl(l,i.currentTarget.getAttribute("href")))},target:r,...o},n)}return a.createElement(Co,{...e})},Z0=["h1","h2","h3","h4","h5","h6"],sw=Z0.reduce((e,t)=>({...e,[t]:_(t)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})}),{}),uw=_.a(()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"})),cw=({as:e,id:t,children:r,...n})=>{let o=b.useContext(Se),l=sw[e],i=`#${t}`;return a.createElement(l,{id:t,...n},a.createElement(uw,{"aria-hidden":"true",href:i,tabIndex:-1,target:"_self",onClick:u=>{H0.getElementById(t)&&Rl(o,i)}},a.createElement(ye,{icon:"link"})),r)},Fl=e=>{let{as:t,id:r,children:n,...o}=e;if(r)return a.createElement(cw,{as:t,id:r,...o},n);let l=t,{as:i,...u}=e;return a.createElement(l,{...J(u,t)})},dw=Z0.reduce((e,t)=>({...e,[t]:r=>a.createElement(Fl,{as:t,...r})}),{}),pw=e=>{var t;if(!e.children)return null;if(typeof e.children!="string")throw new Error(Ee`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 a.createElement(o0,{...e,options:{forceBlock:!0,overrides:{code:ow,a:iw,...dw,...(t=e==null?void 0:e.options)==null?void 0:t.overrides},...e==null?void 0:e.options}})},fw=(e=>(e.INFO="info",e.NOTES="notes",e.DOCGEN="docgen",e.AUTO="auto",e))(fw||{}),vn="https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#description-block-parametersnotes-and-parametersinfo",mw=e=>e&&(typeof e=="string"?e:Ha(e.markdown)||Ha(e.text)),gw=e=>e&&(typeof e=="string"?e:Ha(e.text)),hw=e=>null,bw=e=>{var t,r,n,o,l,i,u,s;switch(e.type){case"story":return((r=(t=e.story.parameters.docs)==null?void 0:t.description)==null?void 0:r.story)||null;case"meta":{let{parameters:c,component:d}=e.preparedMeta;return((o=(n=c.docs)==null?void 0:n.description)==null?void 0:o.component)||((i=(l=c.docs)==null?void 0:l.extractComponentDescription)==null?void 0:i.call(l,d,{component:d,parameters:c}))||null}case"component":{let{component:c,projectAnnotations:{parameters:d}}=e;return((s=(u=d.docs)==null?void 0:u.extractComponentDescription)==null?void 0:s.call(u,c,{component:c,parameters:d}))||null}default:throw new Error(`Unrecognized module type resolved from 'useOf', got: ${e.type}`)}},yw=({type:e,markdown:t,children:r},{storyById:n})=>{let{component:o,parameters:l}=n();if(r||t)return r||t;let{notes:i,info:u,docs:s}=l;(i||u)&&de(`Using 'parameters.notes' or 'parameters.info' properties to describe stories is deprecated. See ${vn}`);let{extractComponentDescription:c=hw,description:d}=s||{},f=d==null?void 0:d.component;if(f)return f;switch(e){case"info":return gw(u);case"notes":return mw(i);case"docgen":case"auto":default:return c(o,{component:o,...l})}},ko=e=>{let{of:t,type:r,markdown:n,children:o}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let l=b.useContext(Se),i=Gr(t||"meta"),u;return r||n||o?u=yw(e,l):u=bw(i),r&&de(`Manually specifying description type is deprecated. See ${vn}`),n&&de(`The 'markdown' prop on the Description block is deprecated. See ${vn}`),o&&de(`The 'children' prop on the Description block is deprecated. See ${vn}`),u?a.createElement(pw,null,u):null},vw=_.div(({theme:e})=>({width:"10rem","@media (max-width: 768px)":{display:"none"}})),Ew=_.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"}})),xw=_.p(({theme:e})=>({fontWeight:600,fontSize:"0.875em",color:e.textColor,textTransform:"uppercase",marginBottom:10})),ww=({title:e})=>e===null?null:typeof e=="string"?a.createElement(xw,null,e):e,Aw=({title:e,disable:t,headingSelector:r,contentsSelector:n,ignoreSelector:o,unsafeTocbotOptions:l})=>(b.useEffect(()=>{let i={tocSelector:".toc-wrapper",contentSelector:n??".sbdocs-content",headingSelector:r??"h3",ignoreSelector:o??".skip-toc",headingsOffset:40,scrollSmoothOffset:-40,orderedList:!1,onClick:()=>!1,...l},u=setTimeout(()=>us.init(i),100);return()=>{clearTimeout(u),us.destroy()}},[t]),a.createElement(a.Fragment,null,a.createElement(vw,null,t?null:a.createElement(Ew,null,a.createElement(ww,{title:e||null}),a.createElement("div",{className:"toc-wrapper"}))))),{document:Sw,window:Cw}=Fe,kw=({context:e,theme:t,children:r})=>{var o,l,i,u,s;let n;try{n=(l=(o=e.resolveOf("meta",["meta"]).preparedMeta.parameters)==null?void 0:o.docs)==null?void 0:l.toc}catch{n=(s=(u=(i=e==null?void 0:e.projectAnnotations)==null?void 0:i.parameters)==null?void 0:u.docs)==null?void 0:s.toc}return b.useEffect(()=>{let c;try{if(c=new URL(Cw.parent.location.toString()),c.hash){let d=Sw.getElementById(c.hash.substring(1));d&&setTimeout(()=>{z9(d)},200)}}catch{}}),a.createElement(Se.Provider,{value:e},a.createElement(U9,{channel:e.channel},a.createElement(nu,{theme:jp(t)},a.createElement(O8,{toc:n?a.createElement(Aw,{className:"sbdocs sbdocs-toc--custom",...n}):null},r))))},_w=/\s*\/\s*/,Ow=e=>{let t=e.trim().split(_w);return t&&t[t.length-1]||e},Tw=({children:e})=>{let t=b.useContext(Se),r=e||Ow(t.storyById().title);return r?a.createElement(S8,{className:"sbdocs-title sb-unstyled"},r):null},Rw=({children:e})=>{var n;let t=b.useContext(Se),r=e||((n=t.storyById().parameters)==null?void 0:n.componentSubtitle);return r?a.createElement(C8,{className:"sbdocs-subtitle sb-unstyled"},r):null},Fw=({children:e,disableAnchor:t})=>{if(t||typeof e!="string")return a.createElement(ll,null,e);let r=e.toLowerCase().replace(/[^a-z0-9]/gi,"-");return a.createElement(Fl,{as:"h3",id:r},e)},V0=({of:e,expanded:t=!0,withToolbar:r=!1,__forceInitialArgs:n=!1,__primary:o=!1})=>{var u,s;let{story:l}=Gr(e||"story",["story"]),i=((s=(u=l.parameters.docs)==null?void 0:u.canvas)==null?void 0:s.withToolbar)??r;return a.createElement(M0,{storyId:l.id},t&&a.createElement(a.Fragment,null,a.createElement(Fw,null,l.name),a.createElement(ko,{of:e})),a.createElement(ew,{of:e,withToolbar:i,story:{__forceInitialArgs:n,__primary:o},source:{__forceInitialArgs:n}}))},$w=e=>{let{name: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=b.useContext(Se),o;if(r&&(o=Gr(r||"meta",["meta"]).csfFile.stories[0]||null),!o){let l=t&&n.storyIdByName(t);o=n.storyById(l)}return t&&de(Ee`\`name\` prop is deprecated on the Primary block. - The Primary block should only be used to render the primary story, which is automatically found. - `),o?a.createElement(V0,{of:o.moduleExport,expanded:!1,__primary:!0,withToolbar:!0}):null},Dw=({children:e,disableAnchor:t,...r})=>{if(t||typeof e!="string")return a.createElement(ol,null,e);let n=e.toLowerCase().replace(/[^a-z0-9]/gi,"-");return a.createElement(Fl,{as:"h2",id:n,...r},e)},Lw=_(Dw)(({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"}})),Mw=({title:e="Stories",includePrimary:t=!0})=>{let{componentStories:r}=b.useContext(Se),n=r().filter(o=>{var l,i;return!((i=(l=o.parameters)==null?void 0:l.docs)!=null&&i.disable)});return t||(n=n.slice(1)),!n||n.length===0?null:a.createElement(a.Fragment,null,a.createElement(Lw,null,e),n.map(o=>o&&a.createElement(V0,{key:o.id,of:o.moduleExport,expanded:!0,__forceInitialArgs:!0})))},Bw=()=>{let e=Gr("meta",["meta"]),{stories:t}=e.csfFile,r=Object.keys(t).length===1;return a.createElement(a.Fragment,null,a.createElement(Tw,null),a.createElement(Rw,null),a.createElement(ko,{of:"meta"}),r?a.createElement(ko,{of:"story"}):null,a.createElement($w,null),a.createElement(aw,null),r?null:a.createElement(Mw,null))};function Xw({context:e,docsParameter:t}){let r=t.container||kw,n=t.page||Bw;return a.createElement(r,{context:e,theme:t.theme},a.createElement(n,null))}var Jw=({of:e})=>{let t=b.useContext(Se);e&&t.referenceMeta(e,!0);try{let r=t.storyById();return a.createElement(M0,{storyId:r.id})}catch{return null}};export{iw as A,ow as C,Xw as D,je as F,dw as H,Kw as I,Jw as M,Wo as S,bh as T,Lm as W,_e as _,Wu as a,Z as b,Lu as c,Yw as d,uh as e,ye as f,Ne as g,Nt as m,_ as n,qw as s}; -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["./syntaxhighlighter-V7JZZA35-aYCgnUz8.js","./iframe-uScXI0l2.js","./index-4g5l5LRQ.js","./_commonjsHelpers-4gQjN7DL.js","./index-jmm5gWkb.js","./index-ogXoivrg.js","./index-MVbLLYTZ.js","./index-PPLHz8o0.js","./formatter-SWP5E3XI-OuMpVto0.js","./WithTooltip-V3YHNWJZ-uHGNaqin.js","./Color-6VNJS4EI-RYsa4rzs.js"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} diff --git a/assets/index-4g5l5LRQ.js b/assets/index-4g5l5LRQ.js deleted file mode 100644 index 0fc21fe4..00000000 --- a/assets/index-4g5l5LRQ.js +++ /dev/null @@ -1,9 +0,0 @@ -import{g as D}from"./_commonjsHelpers-4gQjN7DL.js";function T(e,t){for(var n=0;nu[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}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"),F=Symbol.for("react.fragment"),U=Symbol.for("react.strict_mode"),q=Symbol.for("react.profiler"),L=Symbol.for("react.provider"),M=Symbol.for("react.context"),N=Symbol.for("react.forward_ref"),z=Symbol.for("react.suspense"),B=Symbol.for("react.memo"),H=Symbol.for("react.lazy"),R=Symbol.iterator;function W(e){return e===null||typeof e!="object"?null:(e=R&&e[R]||e["@@iterator"],typeof e=="function"?e:null)}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},j=Object.assign,C={};function p(e,t,n){this.props=e,this.context=t,this.refs=C,this.updater=n||g}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 v(e,t,n){this.props=e,this.context=t,this.refs=C,this.updater=n||g}var S=v.prototype=new O;S.constructor=v;j(S,p.prototype);S.isPureReactComponent=!0;var k=Array.isArray,x=Object.prototype.hasOwnProperty,E={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(1=0)return this.lastItem=this.list[c],this.list[c].val},l.prototype.set=function(i,c){var s;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=c,this):(s=this.indexOf(i),s>=0?(this.lastItem=this.list[s],this.list[s].val=c,this):(this.lastItem={key:i,val:c},this.list.push(this.lastItem),this.size++,this))},l.prototype.delete=function(i){var c;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),c=this.indexOf(i),c>=0)return this.size--,this.list.splice(c,1)[0]},l.prototype.has=function(i){var c;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(c=this.indexOf(i),c>=0?(this.lastItem=this.list[c],!0):!1)},l.prototype.forEach=function(i,c){var s;for(s=0;s0&&(y[x]={cacheItem:v,arg:arguments[x]},b?i(h,y):h.push(y),h.length>d&&c(h.shift())),f.wasMemoized=b,f.numArgs=x+1,E};return f.limit=d,f.wasMemoized=!1,f.cache=p,f.lru=h,f}};function i(d,p){var h=d.length,m=p.length,f,v,g;for(v=0;v=0&&(h=d[f],m=h.cacheItem.get(h.arg),!m||!m.size);f--)h.cacheItem.delete(h.arg)}function s(d,p){return d===p||d!==d&&p!==p}},{"map-or-similar":1}]},{},[3])(3)})})(M0);var wd=M0.exports;const Ft=In(wd);var xd=E0,Ed=J1,Sd=Object.prototype,Cd=Sd.hasOwnProperty;function Rd(e,t,r){var n=e[t];(!(Cd.call(e,t)&&Ed(n,r))||r===void 0&&!(t in e))&&xd(e,t,r)}var go=Rd,Id=go,Ad=S0,_d=Q1,Ml=An,kd=ed;function Od(e,t,r,n){if(!Ml(e))return e;t=Ad(t,e);for(var a=-1,l=t.length,i=l-1,c=e;c!=null&&++a`control-${e.replace(/\s+/g,"-")}`,_n=e=>`set-${e.replace(/\s+/g,"-")}`;const{global:fu}=__STORYBOOK_MODULE_GLOBAL__,{logger:hu}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var gu=Object.create,z0=Object.defineProperty,mu=Object.getOwnPropertyDescriptor,B0=Object.getOwnPropertyNames,vu=Object.getPrototypeOf,bu=Object.prototype.hasOwnProperty,vo=(e,t)=>function(){return t||(0,e[B0(e)[0]])((t={exports:{}}).exports,t),t.exports},yu=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of B0(t))!bu.call(e,a)&&a!==r&&z0(e,a,{get:()=>t[a],enumerable:!(n=mu(t,a))||n.enumerable});return e},P0=(e,t,r)=>(r=e!=null?gu(vu(e)):{},yu(t||!e||!e.__esModule?z0(r,"default",{value:e,enumerable:!0}):r,e));function gt(){return gt=Object.assign?Object.assign.bind():function(e){for(var t=1;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 rn(e,t,r){return Su()?rn=Reflect.construct.bind():rn=function(n,a,l){var i=[null];i.push.apply(i,a);var c=Function.bind.apply(n,i),s=new c;return l&&Er(s,l.prototype),s},rn.apply(null,arguments)}function za(e){var t=typeof Map=="function"?new Map:void 0;return za=function(r){if(r===null||!Eu(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(r))return t.get(r);t.set(r,n)}function n(){return rn(r,arguments,La(this).constructor)}return n.prototype=Object.create(r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Er(n,r)},za(e)}var Cu={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 Ru(){for(var e=arguments.length,t=new Array(e),r=0;r1?a-1:0),i=1;i=0&&a<1?(c=l,s=i):a>=1&&a<2?(c=i,s=l):a>=2&&a<3?(s=l,d=i):a>=3&&a<4?(s=i,d=l):a>=4&&a<5?(c=i,d=l):a>=5&&a<6&&(c=l,d=i);var p=r-l/2,h=c+p,m=s+p,f=d+p;return n(h,m,f)}var $l={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 Au(e){if(typeof e!="string")return e;var t=e.toLowerCase();return $l[t]?"#"+$l[t]:e}var _u=/^#[a-fA-F0-9]{6}$/,ku=/^#[a-fA-F0-9]{8}$/,Ou=/^#[a-fA-F0-9]{3}$/,Tu=/^#[a-fA-F0-9]{4}$/,aa=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,Mu=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,$u=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,Lu=/^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 kn(e){if(typeof e!="string")throw new Xe(3);var t=Au(e);if(t.match(_u))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(ku)){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(Ou))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(Tu)){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=aa.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var l=Mu.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 i=$u.exec(t);if(i){var c=parseInt(""+i[1],10),s=parseInt(""+i[2],10)/100,d=parseInt(""+i[3],10)/100,p="rgb("+Sr(c,s,d)+")",h=aa.exec(p);if(!h)throw new Xe(4,t,p);return{red:parseInt(""+h[1],10),green:parseInt(""+h[2],10),blue:parseInt(""+h[3],10)}}var m=Lu.exec(t.substring(0,50));if(m){var f=parseInt(""+m[1],10),v=parseInt(""+m[2],10)/100,g=parseInt(""+m[3],10)/100,E="rgb("+Sr(f,v,g)+")",x=aa.exec(E);if(!x)throw new Xe(4,t,E);return{red:parseInt(""+x[1],10),green:parseInt(""+x[2],10),blue:parseInt(""+x[3],10),alpha:parseFloat(""+m[4])>1?parseFloat(""+m[4])/100:parseFloat(""+m[4])}}throw new Xe(5)}function zu(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),l=Math.min(t,r,n),i=(a+l)/2;if(a===l)return e.alpha!==void 0?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var c,s=a-l,d=i>.5?s/(2-a-l):s/(a+l);switch(a){case t:c=(r-n)/s+(r=1?hn(e,t,r):"rgba("+Sr(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?hn(e.hue,e.saturation,e.lightness):"rgba("+Sr(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Xe(2)}function Pa(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return Ba("#"+Ct(e)+Ct(t)+Ct(r));if(typeof e=="object"&&t===void 0&&r===void 0)return Ba("#"+Ct(e.red)+Ct(e.green)+Ct(e.blue));throw new Xe(6)}function Cr(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=kn(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?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 Xe(7)}var ju=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},Nu=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},Du=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},Vu=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function F0(e){if(typeof e!="object")throw new Xe(8);if(Nu(e))return Cr(e);if(ju(e))return Pa(e);if(Vu(e))return Fu(e);if(Du(e))return Hu(e);throw new Xe(8)}function j0(e,t,r){return function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):j0(e,t,n)}}function On(e){return j0(e,e.length,[])}function Tn(e,t,r){return Math.max(e,Math.min(t,r))}function Uu(e,t){if(t==="transparent")return t;var r=H0(t);return F0(gt({},r,{lightness:Tn(0,1,r.lightness-parseFloat(e))}))}var Wu=On(Uu),qu=Wu;function Gu(e,t){if(t==="transparent")return t;var r=H0(t);return F0(gt({},r,{lightness:Tn(0,1,r.lightness+parseFloat(e))}))}var Yu=On(Gu),Ku=Yu;function Xu(e,t){if(t==="transparent")return t;var r=kn(t),n=typeof r.alpha=="number"?r.alpha:1,a=gt({},r,{alpha:Tn(0,1,(n*100+parseFloat(e)*100)/100)});return Cr(a)}var Zu=On(Xu),Ju=Zu;function Qu(e,t){if(t==="transparent")return t;var r=kn(t),n=typeof r.alpha=="number"?r.alpha:1,a=gt({},r,{alpha:Tn(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return Cr(a)}var ep=On(Qu),tp=ep,H={primary:"#FF4785",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",defaultText:"#2E3438",inverseText:"#FFFFFF",positiveText:"#448028",negativeText:"#D43900",warningText:"#A15C20"},ht={app:"#F6F9FC",bar:H.lightest,content:H.lightest,preview:H.lightest,gridCellSize:10,hoverable:tp(.9,H.secondary),positive:"#E1FFD4",negative:"#FEDED2",warning:"#FFF5CF",critical:"#FF4400"},Ze={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}},rp={base:"light",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:ht.app,appContentBg:H.lightest,appPreviewBg:H.lightest,appBorderColor:H.border,appBorderRadius:4,fontBase:Ze.fonts.base,fontCode:Ze.fonts.mono,textColor:H.darkest,textInverseColor:H.lightest,textMutedColor:H.dark,barTextColor:H.mediumdark,barHoverColor:H.secondary,barSelectedColor:H.secondary,barBg:H.lightest,buttonBg:ht.app,buttonBorder:H.medium,booleanBg:H.mediumlight,booleanSelectedBg:H.lightest,inputBg:H.lightest,inputBorder:H.border,inputTextColor:H.darkest,inputBorderRadius:4},gn=rp,np={base:"dark",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:"#222425",appContentBg:"#1B1C1D",appPreviewBg:H.lightest,appBorderColor:"rgba(255,255,255,.1)",appBorderRadius:4,fontBase:Ze.fonts.base,fontCode:Ze.fonts.mono,textColor:"#C9CDCF",textInverseColor:"#222425",textMutedColor:"#798186",barTextColor:H.mediumdark,barHoverColor:H.secondary,barSelectedColor:H.secondary,barBg:"#292C2E",buttonBg:"#222425",buttonBorder:"rgba(255,255,255,.1)",booleanBg:"#222425",booleanSelectedBg:"#2E3438",inputBg:"#1B1C1D",inputBorder:"rgba(255,255,255,.1)",inputTextColor:H.lightest,inputBorderRadius:4},ap=np,{window:la}=fu,op=e=>({color:e}),lp=e=>typeof e!="string"?(hu.warn(`Color passed to theme object should be a string. Instead ${e}(${typeof e}) was passed.`),!1):!0,ip=e=>!/(gradient|var|calc)/.test(e),sp=(e,t)=>e==="darken"?Cr(`${qu(1,t)}`,.95):e==="lighten"?Cr(`${Ku(1,t)}`,.95):t,cp=e=>t=>{if(!lp(t)||!ip(t))return t;try{return sp(e,t)}catch{return t}},yr=cp("lighten"),N0=()=>!la||!la.matchMedia?"light":la.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light",Ha={light:gn,dark:ap,normal:gn};N0();var dp=function(t){return t()},D0=Ol.useInsertionEffect?Ol.useInsertionEffect:!1,bo=D0||dp,Ll=D0||o.useLayoutEffect;const{logger:up}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var pp=vo({"../../node_modules/react-is/cjs/react-is.development.js"(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,l=t?Symbol.for("react.strict_mode"):60108,i=t?Symbol.for("react.profiler"):60114,c=t?Symbol.for("react.provider"):60109,s=t?Symbol.for("react.context"):60110,d=t?Symbol.for("react.async_mode"):60111,p=t?Symbol.for("react.concurrent_mode"):60111,h=t?Symbol.for("react.forward_ref"):60112,m=t?Symbol.for("react.suspense"):60113,f=t?Symbol.for("react.suspense_list"):60120,v=t?Symbol.for("react.memo"):60115,g=t?Symbol.for("react.lazy"):60116,E=t?Symbol.for("react.block"):60121,x=t?Symbol.for("react.fundamental"):60117,y=t?Symbol.for("react.responder"):60118,b=t?Symbol.for("react.scope"):60119;function w(z){return typeof z=="string"||typeof z=="function"||z===a||z===p||z===i||z===l||z===m||z===f||typeof z=="object"&&z!==null&&(z.$$typeof===g||z.$$typeof===v||z.$$typeof===c||z.$$typeof===s||z.$$typeof===h||z.$$typeof===x||z.$$typeof===y||z.$$typeof===b||z.$$typeof===E)}function S(z){if(typeof z=="object"&&z!==null){var ze=z.$$typeof;switch(ze){case r:var Fe=z.type;switch(Fe){case d:case p:case a:case i:case l:case m:return Fe;default:var wt=Fe&&Fe.$$typeof;switch(wt){case s:case h:case g:case v:case c:return wt;default:return ze}}case n:return ze}}}var C=d,R=p,I=s,_=c,k=r,O=h,T=a,M=g,F=v,$=n,L=i,j=l,V=m,P=!1;function D(z){return P||(P=!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.")),Z(z)||S(z)===d}function Z(z){return S(z)===p}function ne(z){return S(z)===s}function X(z){return S(z)===c}function J(z){return typeof z=="object"&&z!==null&&z.$$typeof===r}function B(z){return S(z)===h}function U(z){return S(z)===a}function q(z){return S(z)===g}function se(z){return S(z)===v}function me(z){return S(z)===n}function nt(z){return S(z)===i}function Ie(z){return S(z)===l}function He(z){return S(z)===m}e.AsyncMode=C,e.ConcurrentMode=R,e.ContextConsumer=I,e.ContextProvider=_,e.Element=k,e.ForwardRef=O,e.Fragment=T,e.Lazy=M,e.Memo=F,e.Portal=$,e.Profiler=L,e.StrictMode=j,e.Suspense=V,e.isAsyncMode=D,e.isConcurrentMode=Z,e.isContextConsumer=ne,e.isContextProvider=X,e.isElement=J,e.isForwardRef=B,e.isFragment=U,e.isLazy=q,e.isMemo=se,e.isPortal=me,e.isProfiler=nt,e.isStrictMode=Ie,e.isSuspense=He,e.isValidElementType=w,e.typeOf=S})()}}),fp=vo({"../../node_modules/react-is/index.js"(e,t){t.exports=pp()}}),V0=vo({"../../node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"(e,t){var r=fp(),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},l={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},c={};c[r.ForwardRef]=l,c[r.Memo]=i;function s(E){return r.isMemo(E)?i:c[E.$$typeof]||n}var d=Object.defineProperty,p=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,m=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,v=Object.prototype;function g(E,x,y){if(typeof x!="string"){if(v){var b=f(x);b&&b!==v&&g(E,b,y)}var w=p(x);h&&(w=w.concat(h(x)));for(var S=s(E),C=s(x),R=0;R0?ue(or,--xe):0,Xt--,oe===10&&(Xt=1,$n--),oe}function Ee(){return oe=xe2||Ir(oe)>3?"":" "}function _p(e,t){for(;--t&&Ee()&&!(oe<48||oe>102||oe>57&&oe<65||oe>70&&oe<97););return Br(e,nn()+(t<6&&et()==32&&Ee()==32))}function ja(e){for(;Ee();)switch(oe){case e:return xe;case 34:case 39:e!==34&&e!==39&&ja(oe);break;case 40:e===41&&ja(e);break;case 92:Ee();break}return xe}function kp(e,t){for(;Ee()&&e+oe!==57&&!(e+oe===84&&et()===47););return"/*"+Br(t,xe-1)+"*"+Mn(e===47?e:Ee())}function Op(e){for(;!Ir(et());)Ee();return Br(e,xe)}function Tp(e){return K0(on("",null,null,null,[""],e=Y0(e),0,[0],e))}function on(e,t,r,n,a,l,i,c,s){for(var d=0,p=0,h=i,m=0,f=0,v=0,g=1,E=1,x=1,y=0,b="",w=a,S=l,C=n,R=b;E;)switch(v=y,y=Ee()){case 40:if(v!=108&&ue(R,h-1)==58){Fa(R+=K(an(y),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:R+=an(y);break;case 9:case 10:case 13:case 32:R+=Ap(v);break;case 92:R+=_p(nn()-1,7);continue;case 47:switch(et()){case 42:case 47:Yr(Mp(kp(Ee(),nn()),t,r),s);break;default:R+="/"}break;case 123*g:c[d++]=Ge(R)*x;case 125*g:case 59:case 0:switch(y){case 0:case 125:E=0;case 59+p:x==-1&&(R=K(R,/\f/g,"")),f>0&&Ge(R)-h&&Yr(f>32?Bl(R+";",n,r,h-1):Bl(K(R," ","")+";",n,r,h-2),s);break;case 59:R+=";";default:if(Yr(C=zl(R,t,r,d,p,a,c,b,w=[],S=[],h),l),y===123)if(p===0)on(R,t,C,C,w,l,h,c,S);else switch(m===99&&ue(R,3)===110?100:m){case 100:case 108:case 109:case 115:on(e,C,C,n&&Yr(zl(e,C,C,0,0,a,c,b,a,w=[],h),S),a,S,h,c,n?w:S);break;default:on(R,C,C,C,[""],S,0,c,S)}}d=p=f=0,g=x=1,b=R="",h=i;break;case 58:h=1+Ge(R),f=v;default:if(g<1){if(y==123)--g;else if(y==125&&g++==0&&Ip()==125)continue}switch(R+=Mn(y),y*g){case 38:x=p>0?1:(R+="\f",-1);break;case 44:c[d++]=(Ge(R)-1)*x,x=1;break;case 64:et()===45&&(R+=an(Ee())),m=et(),p=h=Ge(b=R+=Op(nn())),y++;break;case 45:v===45&&Ge(R)==2&&(g=0)}}return l}function zl(e,t,r,n,a,l,i,c,s,d,p){for(var h=a-1,m=a===0?l:[""],f=So(m),v=0,g=0,E=0;v0?m[x]+" "+y:K(y,/&\f/g,m[x])))&&(s[E++]=b);return Ln(e,t,r,a===0?xo:c,s,d,p)}function Mp(e,t,r){return Ln(e,t,r,wo,Mn(Rp()),Rr(e,2,-2),0)}function Bl(e,t,r,n){return Ln(e,t,r,Eo,Rr(e,0,n),Rr(e,n+1,-1),n)}function Kt(e,t){for(var r="",n=So(e),a=0;a-1},Dp=function(e){return function(t,r,n){if(!(t.type!=="rule"||e.compat)){var a=t.value.match(/(:first|:nth|:nth-last)-child/g);if(a){for(var l=!!t.parent,i=l?t.parent.children:n,c=i.length-1;c>=0;c--){var s=i[c];if(s.line=0;r--)if(!X0(t[r]))return!0;return!1},Fl=function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},Up=function(e,t,r){X0(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),Fl(e)):Vp(t,r)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Fl(e)))};function Z0(e,t){switch(Ep(e,t)){case 5103:return Y+"print-"+e+e;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 Y+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Y+e+mn+e+ge+e+e;case 6828:case 4268:return Y+e+ge+e+e;case 6165:return Y+e+ge+"flex-"+e+e;case 5187:return Y+e+K(e,/(\w+).+(:[^]+)/,Y+"box-$1$2"+ge+"flex-$1$2")+e;case 5443:return Y+e+ge+"flex-item-"+K(e,/flex-|-self/,"")+e;case 4675:return Y+e+ge+"flex-line-pack"+K(e,/align-content|flex-|-self/,"")+e;case 5548:return Y+e+ge+K(e,"shrink","negative")+e;case 5292:return Y+e+ge+K(e,"basis","preferred-size")+e;case 6060:return Y+"box-"+K(e,"-grow","")+Y+e+ge+K(e,"grow","positive")+e;case 4554:return Y+K(e,/([^-])(transform)/g,"$1"+Y+"$2")+e;case 6187:return K(K(K(e,/(zoom-|grab)/,Y+"$1"),/(image-set)/,Y+"$1"),e,"")+e;case 5495:case 3959:return K(e,/(image-set\([^]*)/,Y+"$1$`$1");case 4968:return K(K(e,/(.+:)(flex-)?(.*)/,Y+"box-pack:$3"+ge+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Y+e+e;case 4095:case 3583:case 4068:case 2532:return K(e,/(.+)-inline(.+)/,Y+"$1$2")+e;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(Ge(e)-1-t>6)switch(ue(e,t+1)){case 109:if(ue(e,t+4)!==45)break;case 102:return K(e,/(.+:)(.+)-([^]+)/,"$1"+Y+"$2-$3$1"+mn+(ue(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Fa(e,"stretch")?Z0(K(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(ue(e,t+1)!==115)break;case 6444:switch(ue(e,Ge(e)-3-(~Fa(e,"!important")&&10))){case 107:return K(e,":",":"+Y)+e;case 101:return K(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Y+(ue(e,14)===45?"inline-":"")+"box$3$1"+Y+"$2$3$1"+ge+"$2box$3")+e}break;case 5936:switch(ue(e,t+11)){case 114:return Y+e+ge+K(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Y+e+ge+K(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Y+e+ge+K(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Y+e+ge+e+e}return e}var Wp=function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case Eo:e.return=Z0(e.value,e.length);break;case W0:return Kt([hr(e,{value:K(e.value,"@","@"+Y)})],n);case xo:if(e.length)return Cp(e.props,function(a){switch(Sp(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Kt([hr(e,{props:[K(a,/:(read-\w+)/,":"+mn+"$1")]})],n);case"::placeholder":return Kt([hr(e,{props:[K(a,/:(plac\w+)/,":"+Y+"input-$1")]}),hr(e,{props:[K(a,/:(plac\w+)/,":"+mn+"$1")]}),hr(e,{props:[K(a,/:(plac\w+)/,ge+"input-$1")]})],n)}return""})}},qp=[Wp],Gp=function(e){var t=e.key;if(!t)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache. +If multiple caches share the same key they might "fight" for each other's style elements.`);if(t==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(v){var g=v.getAttribute("data-emotion");g.indexOf(" ")!==-1&&(document.head.appendChild(v),v.setAttribute("data-s",""))})}var n=e.stylisPlugins||qp;if(/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var a={},l,i=[];l=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(v){for(var g=v.getAttribute("data-emotion").split(" "),E=1;E=4;++n,a-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(a){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Xp={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},jl=`You have illegal escape sequence in your template literal, most likely inside content's property value. +Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';". +You can read more about this here: +https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,Zp="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",Jp=/[A-Z]|^ms/g,J0=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ro=function(e){return e.charCodeAt(1)===45},Nl=function(e){return e!=null&&typeof e!="boolean"},ia=U0(function(e){return Ro(e)?e:e.replace(Jp,"-$&").toLowerCase()}),vn=function(e,t){switch(e){case"animation":case"animationName":if(typeof t=="string")return t.replace(J0,function(r,n,a){return Ye={name:n,styles:a,next:Ye},n})}return Xp[e]!==1&&!Ro(e)&&typeof t=="number"&&t!==0?t+"px":t};Dl=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,Vl=["normal","none","initial","inherit","unset"],Ul=vn,Wl=/^-ms-/,ql=/-(.)/g,sa={},vn=function(e,t){if(e==="content"&&(typeof t!="string"||Vl.indexOf(t)===-1&&!Dl.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||t.charAt(0)!=='"'&&t.charAt(0)!=="'")))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+t+"\"'`");var r=Ul(e,t);return r!==""&&!Ro(e)&&e.indexOf("-")!==-1&&sa[e]===void 0&&(sa[e]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+e.replace(Wl,"ms-").replace(ql,function(n,a){return a.toUpperCase()})+"?")),r};var Dl,Vl,Ul,Wl,ql,sa,Q0="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Ar(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0){if(r.toString()==="NO_COMPONENT_SELECTOR")throw new Error(Q0);return r}switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return Ye={name:r.name,styles:r.styles,next:Ye},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)Ye={name:n.name,styles:n.styles,next:Ye},n=n.next;var a=r.styles+";";return r.map!==void 0&&(a+=r.map),a}return Qp(e,t,r)}case"function":{if(e!==void 0){var l=Ye,i=r(e);return Ye=l,Ar(e,t,i)}else console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break}case"string":var c=[],s=r.replace(J0,function(p,h,m){var f="animation"+c.length;return c.push("const "+f+" = keyframes`"+m.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+f+"}"});c.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(c,["`"+s+"`"]).join(` +`)+` + +You should wrap it with \`css\` like this: + +`+("css`"+s+"`"));break}if(t==null)return r;var d=t[r];return d!==void 0?d:r}function Qp(e,t,r){var n="";if(Array.isArray(r))for(var a=0;a ({})}!");return r}if(t==null||typeof t!="object"||Array.isArray(t))throw new Error("[ThemeProvider] Please make your theme prop a plain object");return gt({},e,t)},r5=Pl(function(e){return Pl(function(t){return t5(e,t)})}),rs=function(e){var t=o.useContext(mt);return e.theme!==t&&(t=r5(t)(e.theme)),o.createElement(mt.Provider,{value:t},e.children)},Yl="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Kl="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",n5=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return zn(t,r,n),bo(function(){return Bn(t,r,n)}),null},a5=Pn(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var a=e[Yl],l=[n],i="";typeof e.className=="string"?i=Co(t.registered,l,e.className):e.className!=null&&(i=e.className+" ");var c=Zt(l,void 0,o.useContext(mt));if(c.name.indexOf("-")===-1){var s=e[Kl];s&&(c=Zt([c,"label:"+s+";"]))}i+=t.key+"-"+c.name;var d={};for(var p in e)e5.call(e,p)&&p!=="css"&&p!==Yl&&p!==Kl&&(d[p]=e[p]);return d.ref=r,d.className=i,o.createElement(o.Fragment,null,o.createElement(n5,{cache:t,serialized:c,isStringTag:typeof a=="string"}),o.createElement(a,d))});a5.displayName="EmotionCssPropInternal";P0(V0());var o5={name:"@emotion/react",version:"11.11.1",main:"dist/emotion-react.cjs.js",module:"dist/emotion-react.esm.js",browser:{"./dist/emotion-react.esm.js":"./dist/emotion-react.browser.esm.js"},exports:{".":{module:{worker:"./dist/emotion-react.worker.esm.js",browser:"./dist/emotion-react.browser.esm.js",default:"./dist/emotion-react.esm.js"},import:"./dist/emotion-react.cjs.mjs",default:"./dist/emotion-react.cjs.js"},"./jsx-runtime":{module:{worker:"./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",browser:"./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"},import:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"},"./_isolated-hnrs":{module:{worker:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js",browser:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"},import:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"},"./jsx-dev-runtime":{module:{worker:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js",browser:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"},import:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"},"./package.json":"./package.json","./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}},types:"types/index.d.ts",files:["src","dist","jsx-runtime","jsx-dev-runtime","_isolated-hnrs","types/*.d.ts","macro.*"],sideEffects:!1,author:"Emotion Contributors",license:"MIT",scripts:{"test:typescript":"dtslint types"},dependencies:{"@babel/runtime":"^7.18.3","@emotion/babel-plugin":"^11.11.0","@emotion/cache":"^11.11.0","@emotion/serialize":"^1.1.2","@emotion/use-insertion-effect-with-fallbacks":"^1.0.1","@emotion/utils":"^1.2.1","@emotion/weak-memoize":"^0.3.1","hoist-non-react-statics":"^3.3.1"},peerDependencies:{react:">=16.8.0"},peerDependenciesMeta:{"@types/react":{optional:!0}},devDependencies:{"@definitelytyped/dtslint":"0.0.112","@emotion/css":"11.11.0","@emotion/css-prettifier":"1.1.3","@emotion/server":"11.11.0","@emotion/styled":"11.11.0","html-tag-names":"^1.1.2",react:"16.14.0","svg-tag-names":"^1.1.1",typescript:"^4.5.5"},repository:"https://github.com/emotion-js/emotion/tree/main/packages/react",publishConfig:{access:"public"},"umd:main":"dist/emotion-react.umd.min.js",preconstruct:{entrypoints:["./index.js","./jsx-runtime.js","./jsx-dev-runtime.js","./_isolated-hnrs.js"],umdName:"emotionReact",exports:{envConditions:["browser","worker"],extra:{"./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}}}}},Xl=!1,l5=Pn(function(e,t){!Xl&&(e.className||e.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),Xl=!0);var r=e.styles,n=Zt([r],void 0,o.useContext(mt)),a=o.useRef();return Ll(function(){var l=t.key+"-global",i=new t.sheet.constructor({key:l,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),c=!1,s=document.querySelector('style[data-emotion="'+l+" "+n.name+'"]');return t.sheet.tags.length&&(i.before=t.sheet.tags[0]),s!==null&&(c=!0,s.setAttribute("data-emotion",l),i.hydrate([s])),a.current=[i,c],function(){i.flush()}},[t]),Ll(function(){var l=a.current,i=l[0],c=l[1];if(c){l[1]=!1;return}if(n.next!==void 0&&Bn(t,n.next,!0),i.tags.length){var s=i.tags[i.tags.length-1].nextElementSibling;i.before=s,i.flush()}t.insert("",n,i,!1)},[t,n.name]),null});l5.displayName="EmotionGlobal";function Ao(){for(var e=arguments.length,t=new Array(e),r=0;r component."),i="";for(var c in l)l[c]&&c&&(i&&(i+=" "),i+=c)}break}default:i=l}i&&(a&&(a+=" "),a+=i)}}return a};function s5(e,t,r){var n=[],a=Co(e,n,r);return n.length<2?r:a+t(n)}var c5=function(e){var t=e.cache,r=e.serializedArr;return bo(function(){for(var n=0;n96?u5:p5},Ql=function(e,t,r){var n;if(t){var a=t.shouldForwardProp;n=e.__emotion_forwardProp&&a?function(l){return e.__emotion_forwardProp(l)&&a(l)}:a}return typeof n!="function"&&r&&(n=e.__emotion_forwardProp),n},ei=`You have illegal escape sequence in your template literal, most likely inside content's property value. +Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';". +You can read more about this here: +https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,f5=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return zn(t,r,n),bo(function(){return Bn(t,r,n)}),null},h5=function e(t,r){if(t===void 0)throw new Error(`You are trying to create a styled element with an undefined component. +You may have forgotten to import it.`);var n=t.__emotion_real===t,a=n&&t.__emotion_base||t,l,i;r!==void 0&&(l=r.label,i=r.target);var c=Ql(t,r,n),s=c||Jl(a),d=!s("as");return function(){var p=arguments,h=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(l!==void 0&&h.push("label:"+l+";"),p[0]==null||p[0].raw===void 0)h.push.apply(h,p);else{p[0][0]===void 0&&console.error(ei),h.push(p[0][0]);for(var m=p.length,f=1;f({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"}}));Ft(1)(({color:e,background:t,typography:r})=>{let n=m5({typography:r});return{...n,body:{...n.body,color:e.defaultText,background:t.app,overflow:"hidden"},hr:{...n.hr,borderTop:`1px solid ${e.border}`}}});var v5={rubber:"cubic-bezier(0.175, 0.885, 0.335, 1.05)"},b5=lr` + from { + transform: rotate(0deg); + } + to { + transform: rotate(360deg); + } +`,ns=lr` + 0%, 100% { opacity: 1; } + 50% { opacity: .4; } +`,y5=lr` + 0% { transform: translateY(1px); } + 25% { transform: translateY(0px); } + 50% { transform: translateY(-3px); } + 100% { transform: translateY(1px); } +`,w5=lr` + 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); } +`,x5=Ao` + animation: ${ns} 1.5s ease-in-out infinite; + color: transparent; + cursor: progress; +`,E5=Ao` + transition: all 150ms ease-out; + transform: translate3d(0, 0, 0); + + &:hover { + transform: translate3d(0, -2px, 0); + } + + &:active { + transform: translate3d(0, 0, 0); + } +`,S5={rotate360:b5,glow:ns,float:y5,jiggle:w5,inlineGlow:x5,hoverable:E5},C5={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"},R5={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"},I5=e=>Object.entries(e).reduce((t,[r,n])=>({...t,[r]:op(n)}),{}),A5=({colors:e,mono:t})=>{let r=I5(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}}},_5={green1:"#008000",red1:"#A31515",red2:"#9a050f",red3:"#800000",red4:"#ff0000",gray1:"#393A34",cyan1:"#36acaa",cyan2:"#2B91AF",blue1:"#0000ff",blue2:"#00009f"},k5={green1:"#7C7C7C",red1:"#92C379",red2:"#9a050f",red3:"#A8FF60",red4:"#96CBFE",gray1:"#EDEDED",cyan1:"#C6C5FE",cyan2:"#FFFFB6",blue1:"#B474DD",blue2:"#00009f"},O5=e=>({primary:e.colorPrimary,secondary:e.colorSecondary,tertiary:H.tertiary,ancillary:H.ancillary,orange:H.orange,gold:H.gold,green:H.green,seafoam:H.seafoam,purple:H.purple,ultraviolet:H.ultraviolet,lightest:H.lightest,lighter:H.lighter,light:H.light,mediumlight:H.mediumlight,medium:H.medium,mediumdark:H.mediumdark,dark:H.dark,darker:H.darker,darkest:H.darkest,border:H.border,positive:H.positive,negative:H.negative,warning:H.warning,critical:H.critical,defaultText:e.textColor||H.darkest,inverseText:e.textInverseColor||H.lightest,positiveText:H.positiveText,negativeText:H.negativeText,warningText:H.warningText}),Na=(e=Ha[N0()])=>{let{base:t,colorPrimary:r,colorSecondary:n,appBg:a,appContentBg:l,appPreviewBg:i,appBorderColor:c,appBorderRadius:s,fontBase:d,fontCode:p,textColor:h,textInverseColor:m,barTextColor:f,barHoverColor:v,barSelectedColor:g,barBg:E,buttonBg:x,buttonBorder:y,booleanBg:b,booleanSelectedBg:w,inputBg:S,inputBorder:C,inputTextColor:R,inputBorderRadius:I,brandTitle:_,brandUrl:k,brandImage:O,brandTarget:T,gridCellSize:M,...F}=e;return{...F,base:t,color:O5(e),background:{app:a,bar:E,content:l,preview:i,gridCellSize:M||ht.gridCellSize,hoverable:ht.hoverable,positive:ht.positive,negative:ht.negative,warning:ht.warning,critical:ht.critical},typography:{fonts:{base:d,mono:p},weight:Ze.weight,size:Ze.size},animation:S5,easing:v5,input:{background:S,border:C,borderRadius:I,color:R},button:{background:x||S,border:y||C},boolean:{background:b||C,selectedBackground:w||S},layoutMargin:10,appBorderColor:c,appBorderRadius:s,barTextColor:f,barHoverColor:v||n,barSelectedColor:g||n,barBg:E,brand:{title:_,url:k,image:O||(_?null:void 0),target:T},code:A5({colors:t==="light"?_5:k5,mono:p}),addonActionsTheme:{...t==="light"?R5:C5,BASE_FONT_FAMILY:p,BASE_FONT_SIZE:Ze.size.s2-1,BASE_LINE_HEIGHT:"18px",BASE_BACKGROUND_COLOR:"transparent",BASE_COLOR:h,ARROW_COLOR:Ju(.2,c),ARROW_MARGIN_RIGHT:4,ARROW_FONT_SIZE:8,TREENODE_FONT_FAMILY:p,TREENODE_FONT_SIZE:Ze.size.s2-1,TREENODE_LINE_HEIGHT:"18px",TREENODE_PADDING_LEFT:12}}},T5=e=>Object.keys(e).length===0,pa=e=>e!=null&&typeof e=="object",M5=(e,...t)=>Object.prototype.hasOwnProperty.call(e,...t),$5=()=>Object.create(null),as=(e,t)=>e===t||!pa(e)||!pa(t)?{}:Object.keys(e).reduce((r,n)=>{if(M5(t,n)){let a=as(e[n],t[n]);return pa(a)&&T5(a)||(r[n]=a),r}return r[n]=void 0,r},$5()),L5=as;function z5(e){for(var t=[],r=1;r{if(!e)return Na(gn);let t=L5(gn,e);return Object.keys(t).length&&up.warn(z5` + Your theme is missing properties, you should update your theme! + + theme-data missing: + `,t),Na(e)},Da="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */";function G(){return G=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}var P5=Object.create,os=Object.defineProperty,H5=Object.getOwnPropertyDescriptor,ls=Object.getOwnPropertyNames,F5=Object.getPrototypeOf,j5=Object.prototype.hasOwnProperty,N=(e,t)=>function(){return t||(0,e[ls(e)[0]])((t={exports:{}}).exports,t),t.exports},N5=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of ls(t))!j5.call(e,a)&&a!==r&&os(e,a,{get:()=>t[a],enumerable:!(n=H5(t,a))||n.enumerable});return e},Ce=(e,t,r)=>(r=e!=null?P5(F5(e)):{},N5(t||!e||!e.__esModule?os(r,"default",{value:e,enumerable:!0}):r,e)),D5=N({"../../node_modules/refractor/lang/markdown.js"(e,t){t.exports=r,r.displayName="markdown",r.aliases=["md"];function r(n){(function(a){var l=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function i(v){return v=v.replace(//g,function(){return l}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+v+")")}var c=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,s=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return c}),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("^"+s+d+"(?:"+s+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+s+d+")(?:"+s+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(c),inside:a.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+s+")"+d+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+s+"$"),inside:{"table-header":{pattern:RegExp(c),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(v){["url","bold","italic","strike","code-snippet"].forEach(function(g){v!==g&&(a.languages.markdown[v].inside.content.inside[g]=a.languages.markdown[g])})}),a.hooks.add("after-tokenize",function(v){if(v.language!=="markdown"&&v.language!=="md")return;function g(E){if(!(!E||typeof E=="string"))for(var x=0,y=E.length;x",quot:'"'},m=String.fromCodePoint||String.fromCharCode;function f(v){var g=v.replace(p,"");return g=g.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(E,x){if(x=x.toLowerCase(),x[0]==="#"){var y;return x[1]==="x"?y=parseInt(x.slice(2),16):y=Number(x.slice(1)),m(y)}else{var b=h[x];return b||E}}),g}a.languages.md=a.languages.markdown})(n)}}}),V5=N({"../../node_modules/refractor/lang/yaml.js"(e,t){t.exports=r,r.displayName="yaml",r.aliases=["yml"];function r(n){(function(a){var l=/[*&][^\s[\]{},]+/,i=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,c="(?:"+i.source+"(?:[ ]+"+l.source+")?|"+l.source+"(?:[ ]+"+i.source+")?)",s=/(?:[^\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 p(h,m){m=(m||"").replace(/m/g,"")+"m";var f=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return c}).replace(/<>/g,function(){return h});return RegExp(f,m)}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 c})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return c}).replace(/<>/g,function(){return"(?:"+s+"|"+d+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:p(/\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:p(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:p(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:p(d),lookbehind:!0,greedy:!0},number:{pattern:p(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:i,important:l,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},a.languages.yml=a.languages.yaml})(n)}}}),is=N({"../../node_modules/refractor/lang/typescript.js"(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 l=a.languages.extend("typescript",{});delete l["class-name"],a.languages.typescript["class-name"].inside=l,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:l}}}}),a.languages.ts=a.languages.typescript})(n)}}}),ss=N({"../../node_modules/refractor/lang/jsx.js"(e,t){t.exports=r,r.displayName="jsx",r.aliases=[];function r(n){(function(a){var l=a.util.clone(a.languages.javascript),i=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,c=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,s=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function d(m,f){return m=m.replace(//g,function(){return i}).replace(//g,function(){return c}).replace(//g,function(){return s}),RegExp(m,f)}s=d(s).source,a.languages.jsx=a.languages.extend("markup",l),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=l.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 p=function(m){return m?typeof m=="string"?m:typeof m.content=="string"?m.content:m.content.map(p).join(""):""},h=function(m){for(var f=[],v=0;v0&&f[f.length-1].tagName===p(g.content[0].content[1])&&f.pop():g.content[g.content.length-1].content==="/>"||f.push({tagName:p(g.content[0].content[1]),openedBraces:0}):f.length>0&&g.type==="punctuation"&&g.content==="{"?f[f.length-1].openedBraces++:f.length>0&&f[f.length-1].openedBraces>0&&g.type==="punctuation"&&g.content==="}"?f[f.length-1].openedBraces--:E=!0),(E||typeof g=="string")&&f.length>0&&f[f.length-1].openedBraces===0){var x=p(g);v0&&(typeof m[v-1]=="string"||m[v-1].type==="plain-text")&&(x=p(m[v-1])+x,m.splice(v-1,1),v--),m[v]=new a.Token("plain-text",x,null,x)}g.content&&typeof g.content!="string"&&h(g.content)}};a.hooks.add("after-tokenize",function(m){m.language!=="jsx"&&m.language!=="tsx"||h(m.tokens)})})(n)}}}),U5=N({"../../node_modules/refractor/lang/tsx.js"(e,t){var r=ss(),n=is();t.exports=a,a.displayName="tsx",a.aliases=[];function a(l){l.register(r),l.register(n),function(i){var c=i.util.clone(i.languages.typescript);i.languages.tsx=i.languages.extend("jsx",c),delete i.languages.tsx.parameter,delete i.languages.tsx["literal-property"];var s=i.languages.tsx.tag;s.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+s.pattern.source+")",s.pattern.flags),s.lookbehind=!0}(l)}}}),W5=N({"../../node_modules/refractor/lang/clike.js"(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:/[{}[\];(),.:]/}}}}),q5=N({"../../node_modules/refractor/lang/javascript.js"(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}}}),cs=N({"../../node_modules/refractor/lang/css.js"(e,t){t.exports=r,r.displayName="css",r.aliases=[];function r(n){(function(a){var l=/(?:"(?:\\(?:\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\\((?:"+l.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+l.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+l.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:l,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)}}}),ds=N({"../../node_modules/refractor/lang/markup.js"(e,t){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:function(a,l){var i={};i["language-"+l]={pattern:/(^$)/i,lookbehind:!0,inside:n.languages[l]},i.cdata=/^$/i;var c={"included-cdata":{pattern://i,inside:i}};c["language-"+l]={pattern:/[\s\S]+/,inside:n.languages[l]};var s={};s[a]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return a}),"i"),lookbehind:!0,greedy:!0,inside:c},n.languages.insertBefore("markup","cdata",s)}}),Object.defineProperty(n.languages.markup.tag,"addAttribute",{value:function(a,l){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:[l,"language-"+l],inside:n.languages[l]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),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}}}),G5=N({"../../node_modules/xtend/immutable.js"(e,t){t.exports=n;var r=Object.prototype.hasOwnProperty;function n(){for(var a={},l=0;l4&&E.slice(0,4)===l&&i.test(g)&&(g.charAt(4)==="-"?x=p(g):g=h(g),y=n),new y(x,g))}function p(v){var g=v.slice(5).replace(c,f);return l+g.charAt(0).toUpperCase()+g.slice(1)}function h(v){var g=v.slice(4);return c.test(g)?v:(g=g.replace(s,m),g.charAt(0)!=="-"&&(g="-"+g),l+g)}function m(v){return"-"+v.toLowerCase()}function f(v){return v.charAt(1).toUpperCase()}}}),nf=N({"../../node_modules/hast-util-parse-selector/index.js"(e,t){t.exports=n;var r=/[#.]/g;function n(a,l){for(var i=a||"",c=l||"div",s={},d=0,p,h,m;d",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:"ÿ"}}}),uf=N({"../../node_modules/refractor/node_modules/character-reference-invalid/index.json"(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:"Ÿ"}}}),gs=N({"../../node_modules/refractor/node_modules/is-decimal/index.js"(e,t){t.exports=r;function r(n){var a=typeof n=="string"?n.charCodeAt(0):n;return a>=48&&a<=57}}}),pf=N({"../../node_modules/refractor/node_modules/is-hexadecimal/index.js"(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}}}),ff=N({"../../node_modules/refractor/node_modules/is-alphabetical/index.js"(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}}}),hf=N({"../../node_modules/refractor/node_modules/is-alphanumerical/index.js"(e,t){var r=ff(),n=gs();t.exports=a;function a(l){return r(l)||n(l)}}}),gf=N({"../../node_modules/refractor/node_modules/parse-entities/decode-entity.browser.js"(e,t){var r,n=59;t.exports=a;function a(l){var i="&"+l+";",c;return r=r||document.createElement("i"),r.innerHTML=i,c=r.textContent,c.charCodeAt(c.length-1)===n&&l!=="semi"||c===i?!1:c}}}),mf=N({"../../node_modules/refractor/node_modules/parse-entities/index.js"(e,t){var r=df(),n=uf(),a=gs(),l=pf(),i=hf(),c=gf();t.exports=Z;var s={}.hasOwnProperty,d=String.fromCharCode,p=Function.prototype,h={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},m=9,f=10,v=12,g=32,E=38,x=59,y=60,b=61,w=35,S=88,C=120,R=65533,I="named",_="hexadecimal",k="decimal",O={};O[_]=16,O[k]=10;var T={};T[I]=i,T[k]=a,T[_]=l;var M=1,F=2,$=3,L=4,j=5,V=6,P=7,D={};D[M]="Named character references must be terminated by a semicolon",D[F]="Numeric character references must be terminated by a semicolon",D[$]="Named character references cannot be empty",D[L]="Numeric character references cannot be empty",D[j]="Named character references must be known",D[V]="Numeric character references cannot be disallowed",D[P]="Numeric character references cannot be outside the permissible Unicode range";function Z(B,U){var q={},se,me;U||(U={});for(me in h)se=U[me],q[me]=se??h[me];return(q.position.indent||q.position.start)&&(q.indent=q.position.indent||[],q.position=q.position.start),ne(B,q)}function ne(B,U){var q=U.additional,se=U.nonTerminated,me=U.text,nt=U.reference,Ie=U.warning,He=U.textContext,z=U.referenceContext,ze=U.warningContext,Fe=U.position,wt=U.indent||[],Dt=B.length,je=0,Ur=-1,ve=Fe.column||1,xt=Fe.line||1,Ne="",Vt=[],De,Ut,Ve,pe,Be,ce,ae,Ue,Wr,Qn,Et,ur,St,at,Il,pr,qr,We,de;for(typeof q=="string"&&(q=q.charCodeAt(0)),pr=fr(),Ue=Ie?K1:p,je--,Dt++;++je65535&&(ce-=65536,Qn+=d(ce>>>10|55296),ce=56320|ce&1023),ce=Qn+d(ce))):at!==I&&Ue(L,We)),ce?(Al(),pr=fr(),je=de-1,ve+=de-St+1,Vt.push(ce),qr=fr(),qr.offset++,nt&&nt.call(z,ce,{start:pr,end:qr},B.slice(St-1,de)),pr=qr):(pe=B.slice(St-1,de),Ne+=pe,ve+=pe.length,je=de-1)}else Be===10&&(xt++,Ur++,ve=0),Be===Be?(Ne+=d(Be),ve++):Al();return Vt.join("");function fr(){return{line:xt,column:ve,offset:je+(Fe.offset||0)}}function K1(_l,kl){var ea=fr();ea.column+=kl,ea.offset+=kl,Ie.call(ze,D[_l],ea,_l)}function Al(){Ne&&(Vt.push(Ne),me&&me.call(He,Ne,{start:pr,end:fr()}),Ne="")}}function X(B){return B>=55296&&B<=57343||B>1114111}function J(B){return B>=1&&B<=8||B===11||B>=13&&B<=31||B>=127&&B<=159||B>=64976&&B<=65007||(B&65535)===65535||(B&65535)===65534}}}),vf=N({"../../node_modules/refractor/node_modules/prismjs/components/prism-core.js"(e,t){var r=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{},n=function(a){var l=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,i=0,c={},s={manual:a.Prism&&a.Prism.manual,disableWorkerMessageHandler:a.Prism&&a.Prism.disableWorkerMessageHandler,util:{encode:function b(w){return w instanceof d?new d(w.type,b(w.content),w.alias):Array.isArray(w)?w.map(b):w.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(C){var b=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(C.stack)||[])[1];if(b){var w=document.getElementsByTagName("script");for(var S in w)if(w[S].src==b)return w[S]}return null}},isActive:function(b,w,S){for(var C="no-"+w;b;){var R=b.classList;if(R.contains(w))return!0;if(R.contains(C))return!1;b=b.parentElement}return!!S}},languages:{plain:c,plaintext:c,text:c,txt:c,extend:function(b,w){var S=s.util.clone(s.languages[b]);for(var C in w)S[C]=w[C];return S},insertBefore:function(b,w,S,C){C=C||s.languages;var R=C[b],I={};for(var _ in R)if(R.hasOwnProperty(_)){if(_==w)for(var k in S)S.hasOwnProperty(k)&&(I[k]=S[k]);S.hasOwnProperty(_)||(I[_]=R[_])}var O=C[b];return C[b]=I,s.languages.DFS(s.languages,function(T,M){M===O&&T!=b&&(this[T]=I)}),I},DFS:function b(w,S,C,R){R=R||{};var I=s.util.objId;for(var _ in w)if(w.hasOwnProperty(_)){S.call(w,_,w[_],C||_);var k=w[_],O=s.util.type(k);O==="Object"&&!R[I(k)]?(R[I(k)]=!0,b(k,S,null,R)):O==="Array"&&!R[I(k)]&&(R[I(k)]=!0,b(k,S,_,R))}}},plugins:{},highlightAll:function(b,w){s.highlightAllUnder(document,b,w)},highlightAllUnder:function(b,w,S){var C={callback:S,container:b,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};s.hooks.run("before-highlightall",C),C.elements=Array.prototype.slice.apply(C.container.querySelectorAll(C.selector)),s.hooks.run("before-all-elements-highlight",C);for(var R=0,I;I=C.elements[R++];)s.highlightElement(I,w===!0,C.callback)},highlightElement:function(b,w,S){var C=s.util.getLanguage(b),R=s.languages[C];s.util.setLanguage(b,C);var I=b.parentElement;I&&I.nodeName.toLowerCase()==="pre"&&s.util.setLanguage(I,C);var _=b.textContent,k={element:b,language:C,grammar:R,code:_};function O(M){k.highlightedCode=M,s.hooks.run("before-insert",k),k.element.innerHTML=k.highlightedCode,s.hooks.run("after-highlight",k),s.hooks.run("complete",k),S&&S.call(k.element)}if(s.hooks.run("before-sanity-check",k),I=k.element.parentElement,I&&I.nodeName.toLowerCase()==="pre"&&!I.hasAttribute("tabindex")&&I.setAttribute("tabindex","0"),!k.code){s.hooks.run("complete",k),S&&S.call(k.element);return}if(s.hooks.run("before-highlight",k),!k.grammar){O(s.util.encode(k.code));return}if(w&&a.Worker){var T=new Worker(s.filename);T.onmessage=function(M){O(M.data)},T.postMessage(JSON.stringify({language:k.language,code:k.code,immediateClose:!0}))}else O(s.highlight(k.code,k.grammar,k.language))},highlight:function(b,w,S){var C={code:b,grammar:w,language:S};if(s.hooks.run("before-tokenize",C),!C.grammar)throw new Error('The language "'+C.language+'" has no grammar.');return C.tokens=s.tokenize(C.code,C.grammar),s.hooks.run("after-tokenize",C),d.stringify(s.util.encode(C.tokens),C.language)},tokenize:function(b,w){var S=w.rest;if(S){for(var C in S)w[C]=S[C];delete w.rest}var R=new m;return f(R,R.head,b),h(b,R,w,R.head,0),g(R)},hooks:{all:{},add:function(b,w){var S=s.hooks.all;S[b]=S[b]||[],S[b].push(w)},run:function(b,w){var S=s.hooks.all[b];if(!(!S||!S.length))for(var C=0,R;R=S[C++];)R(w)}},Token:d};a.Prism=s;function d(b,w,S,C){this.type=b,this.content=w,this.alias=S,this.length=(C||"").length|0}d.stringify=function b(w,S){if(typeof w=="string")return w;if(Array.isArray(w)){var C="";return w.forEach(function(O){C+=b(O,S)}),C}var R={type:w.type,content:b(w.content,S),tag:"span",classes:["token",w.type],attributes:{},language:S},I=w.alias;I&&(Array.isArray(I)?Array.prototype.push.apply(R.classes,I):R.classes.push(I)),s.hooks.run("wrap",R);var _="";for(var k in R.attributes)_+=" "+k+'="'+(R.attributes[k]||"").replace(/"/g,""")+'"';return"<"+R.tag+' class="'+R.classes.join(" ")+'"'+_+">"+R.content+""};function p(b,w,S,C){b.lastIndex=w;var R=b.exec(S);if(R&&C&&R[1]){var I=R[1].length;R.index+=I,R[0]=R[0].slice(I)}return R}function h(b,w,S,C,R,I){for(var _ in S)if(!(!S.hasOwnProperty(_)||!S[_])){var k=S[_];k=Array.isArray(k)?k:[k];for(var O=0;O=I.reach);D+=P.value.length,P=P.next){var Z=P.value;if(w.length>b.length)return;if(!(Z instanceof d)){var ne=1,X;if($){if(X=p(V,D,b,F),!X||X.index>=b.length)break;var q=X.index,J=X.index+X[0].length,B=D;for(B+=P.value.length;q>=B;)P=P.next,B+=P.value.length;if(B-=P.value.length,D=B,P.value instanceof d)continue;for(var U=P;U!==w.tail&&(BI.reach&&(I.reach=Ie);var He=P.prev;me&&(He=f(w,He,me),D+=me.length),v(w,He,ne);var z=new d(_,M?s.tokenize(se,M):se,L,se);if(P=f(w,He,z),nt&&f(w,P,nt),ne>1){var ze={cause:_+","+O,reach:Ie};h(b,w,S,P.prev,D,ze),I&&ze.reach>I.reach&&(I.reach=ze.reach)}}}}}}function m(){var b={value:null,prev:null,next:null},w={value:null,prev:b,next:null};b.next=w,this.head=b,this.tail=w,this.length=0}function f(b,w,S){var C=w.next,R={value:S,prev:w,next:C};return w.next=R,C.prev=R,b.length++,R}function v(b,w,S){for(var C=w.next,R=0;R>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+l),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;|&]|[<>]\\()"+l),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:c},{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:c},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:c.entity}}],environment:{pattern:RegExp("\\$?"+l),alias:"constant"},variable:c.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 s=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],d=c.variable[1].inside,p=0;p/g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),m)}a.languages.insertBefore("javascript","keyword",{imports:{pattern:l(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:a.languages.javascript},exports:{pattern:l(/(\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:l(/(\.\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"],c=0;c0)){var g=d(/^\{$/,/^\}$/);if(g===-1)continue;for(var E=i;E=0&&p(x,"variable-input")}}}}})}}});function vt(){return vt=Object.assign?Object.assign.bind():function(e){for(var t=1;te.forEach(r=>Sf(r,t))}const To=o.forwardRef((e,t)=>{const{children:r,...n}=e,a=o.Children.toArray(r),l=a.find(If);if(l){const i=l.props.children,c=a.map(s=>s===l?o.Children.count(i)>1?o.Children.only(null):o.isValidElement(i)?i.props.children:null:s);return o.createElement(Va,vt({},n,{ref:t}),o.isValidElement(i)?o.cloneElement(i,void 0,c):null)}return o.createElement(Va,vt({},n,{ref:t}),r)});To.displayName="Slot";const Va=o.forwardRef((e,t)=>{const{children:r,...n}=e;return o.isValidElement(r)?o.cloneElement(r,{...Af(n,r.props),ref:t?Cf(t,r.ref):r.ref}):o.Children.count(r)>1?o.Children.only(null):null});Va.displayName="SlotClone";const Rf=({children:e})=>o.createElement(o.Fragment,null,e);function If(e){return o.isValidElement(e)&&e.type===Rf}function Af(e,t){const r={...t};for(const n in t){const a=e[n],l=t[n];/^on[A-Z]/.test(n)?a&&l?r[n]=(...c)=>{l(...c),a(...c)}:a&&(r[n]=a):n==="style"?r[n]={...a,...l}:n==="className"&&(r[n]=[a,l].filter(Boolean).join(" "))}return{...e,...r}}const{logger:_f}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{global:kf}=__STORYBOOK_MODULE_GLOBAL__;var Of=Ce(ss()),Tf=Of.default,Mf=Ce(yf()),$f=Mf.default,Lf=Ce(cs()),zf=Lf.default,Bf=Ce(wf()),Pf=Bf.default,Hf=Ce(xf()),Ff=Hf.default,jf=Ce(Ef()),Nf=jf.default,Df=Ce(ds()),Vf=Df.default,Uf=Ce(D5()),Wf=Uf.default,qf=Ce(V5()),Gf=qf.default,Yf=Ce(U5()),Kf=Yf.default,Xf=Ce(is()),Zf=Xf.default;function Jf(e,t){if(e==null)return{};var r=_o(e,t),n,a;if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(a=0;a=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Ua(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=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])]}var fa={};function ih(e){if(e.length===0||e.length===1)return e;var t=e.join(".");return fa[t]||(fa[t]=lh(e)),fa[t]}function sh(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=e.filter(function(l){return l!=="token"}),a=ih(n);return a.reduce(function(l,i){return Gt(Gt({},l),r[i])},t)}function ri(e){return e.join(" ")}function ch(e,t){var r=0;return function(n){return r+=1,n.map(function(a,l){return Mo({node:a,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(r,"-").concat(l)})})}}function Mo(e){var t=e.node,r=e.stylesheet,n=e.style,a=n===void 0?{}:n,l=e.useInlineStyles,i=e.key,c=t.properties,s=t.type,d=t.tagName,p=t.value;if(s==="text")return p;if(d){var h=ch(r,l),m;if(!l)m=Gt(Gt({},c),{},{className:ri(c.className)});else{var f=Object.keys(r).reduce(function(x,y){return y.split(".").forEach(function(b){x.includes(b)||x.push(b)}),x},[]),v=c.className&&c.className.includes("token")?["token"]:[],g=c.className&&v.concat(c.className.filter(function(x){return!f.includes(x)}));m=Gt(Gt({},c),{},{className:ri(g)||void 0,style:sh(c.className,Object.assign({},c.style,a),r)})}var E=h(t.children);return u.createElement(d,G({key:i},m),E)}}var dh=function(e,t){var r=e.listLanguages();return r.indexOf(t)!==-1},uh=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function ni(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 Ke(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 ln({children:S,lineNumber:C,lineNumberStyle:c,largestLineNumber:i,showInlineLineNumbers:a,lineProps:r,className:R,showLineNumbers:n,wrapLongLines:s})}function g(S,C){if(n&&C&&a){var R=bs(c,C,i);S.unshift(vs(C,R))}return S}function E(S,C){var R=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||R.length>0?v(S,C,R):g(S,C)}for(var x=function(){var S=p[f],C=S.children[0].value,R=fh(C);if(R){var I=C.split(` +`);I.forEach(function(_,k){var O=n&&h.length+l,T={type:"text",value:"".concat(_,` +`)};if(k===0){var M=p.slice(m+1,f).concat(ln({children:[T],className:S.properties.className})),F=E(M,O);h.push(F)}else if(k===I.length-1){var $=p[f+1]&&p[f+1].children&&p[f+1].children[0],L={type:"text",value:"".concat(_)};if($){var j=ln({children:[L],className:S.properties.className});p.splice(f+1,0,j)}else{var V=[L],P=E(V,O,S.properties.className);h.push(P)}}else{var D=[T],Z=E(D,O,S.properties.className);h.push(Z)}}),m=f}f++};f({position:"absolute",bottom:0,right:0,maxWidth:"100%",display:"flex",background:e.background.content,zIndex:1})),xs=A.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});xs.displayName="ActionButton";var Bo=({actionItems:e,...t})=>u.createElement(xh,{...t},e.map(({title:r,className:n,onClick:a,disabled:l},i)=>u.createElement(xs,{key:i,className:n,onClick:a,disabled:l},r))),Eh=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Hr=Eh.reduce((e,t)=>{let r=o.forwardRef((n,a)=>{let{asChild:l,...i}=n,c=l?To:t;return o.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),o.createElement(c,G({},i,{ref:a}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Sh(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Ch(...e){return t=>e.forEach(r=>Sh(r,t))}function jt(...e){return o.useCallback(Ch(...e),e)}var Wa=globalThis!=null&&globalThis.document?o.useLayoutEffect:()=>{};function Rh(e,t){return o.useReducer((r,n)=>t[r][n]??r,e)}var Fr=e=>{let{present:t,children:r}=e,n=Ih(t),a=typeof r=="function"?r({present:n.isPresent}):o.Children.only(r),l=jt(n.ref,a.ref);return typeof r=="function"||n.isPresent?o.cloneElement(a,{ref:l}):null};Fr.displayName="Presence";function Ih(e){let[t,r]=o.useState(),n=o.useRef({}),a=o.useRef(e),l=o.useRef("none"),i=e?"mounted":"unmounted",[c,s]=Rh(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return o.useEffect(()=>{let d=Kr(n.current);l.current=c==="mounted"?d:"none"},[c]),Wa(()=>{let d=n.current,p=a.current;if(p!==e){let h=l.current,m=Kr(d);e?s("MOUNT"):m==="none"||(d==null?void 0:d.display)==="none"?s("UNMOUNT"):s(p&&h!==m?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,s]),Wa(()=>{if(t){let d=h=>{let m=Kr(n.current).includes(h.animationName);h.target===t&&m&&w0.flushSync(()=>s("ANIMATION_END"))},p=h=>{h.target===t&&(l.current=Kr(n.current))};return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else s("ANIMATION_END")},[t,s]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:o.useCallback(d=>{d&&(n.current=getComputedStyle(d)),r(d)},[])}}function Kr(e){return(e==null?void 0:e.animationName)||"none"}function Ah(e,t=[]){let r=[];function n(l,i){let c=o.createContext(i),s=r.length;r=[...r,i];function d(h){let{scope:m,children:f,...v}=h,g=(m==null?void 0:m[e][s])||c,E=o.useMemo(()=>v,Object.values(v));return o.createElement(g.Provider,{value:E},f)}function p(h,m){let f=(m==null?void 0:m[e][s])||c,v=o.useContext(f);if(v)return v;if(i!==void 0)return i;throw new Error(`\`${h}\` must be used within \`${l}\``)}return d.displayName=l+"Provider",[d,p]}let a=()=>{let l=r.map(i=>o.createContext(i));return function(i){let c=(i==null?void 0:i[e])||l;return o.useMemo(()=>({[`__scope${e}`]:{...i,[e]:c}}),[i,c])}};return a.scopeName=e,[n,_h(a,...t)]}function _h(...e){let t=e[0];if(e.length===1)return t;let r=()=>{let n=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return function(a){let l=n.reduce((i,{useScope:c,scopeName:s})=>{let d=c(a)[`__scope${s}`];return{...i,...d}},{});return o.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return r.scopeName=t.scopeName,r}function _t(e){let t=o.useRef(e);return o.useEffect(()=>{t.current=e}),o.useMemo(()=>(...r)=>{var n;return(n=t.current)===null||n===void 0?void 0:n.call(t,...r)},[])}var kh=o.createContext(void 0);function Oh(e){let t=o.useContext(kh);return e||t||"ltr"}function Th(e,[t,r]){return Math.min(r,Math.max(t,e))}function Tt(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e==null||e(n),r===!1||!n.defaultPrevented)return t==null?void 0:t(n)}}function Mh(e,t){return o.useReducer((r,n)=>t[r][n]??r,e)}var Es="ScrollArea",[Ss,yA]=Ah(Es),[$h,$e]=Ss(Es),Lh=o.forwardRef((e,t)=>{let{__scopeScrollArea:r,type:n="hover",dir:a,scrollHideDelay:l=600,...i}=e,[c,s]=o.useState(null),[d,p]=o.useState(null),[h,m]=o.useState(null),[f,v]=o.useState(null),[g,E]=o.useState(null),[x,y]=o.useState(0),[b,w]=o.useState(0),[S,C]=o.useState(!1),[R,I]=o.useState(!1),_=jt(t,O=>s(O)),k=Oh(a);return o.createElement($h,{scope:r,type:n,dir:k,scrollHideDelay:l,scrollArea:c,viewport:d,onViewportChange:p,content:h,onContentChange:m,scrollbarX:f,onScrollbarXChange:v,scrollbarXEnabled:S,onScrollbarXEnabledChange:C,scrollbarY:g,onScrollbarYChange:E,scrollbarYEnabled:R,onScrollbarYEnabledChange:I,onCornerWidthChange:y,onCornerHeightChange:w},o.createElement(Hr.div,G({dir:k},i,{ref:_,style:{position:"relative","--radix-scroll-area-corner-width":x+"px","--radix-scroll-area-corner-height":b+"px",...e.style}})))}),zh="ScrollAreaViewport",Bh=o.forwardRef((e,t)=>{let{__scopeScrollArea:r,children:n,...a}=e,l=$e(zh,r),i=o.useRef(null),c=jt(t,i,l.onViewportChange);return o.createElement(o.Fragment,null,o.createElement("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}"}}),o.createElement(Hr.div,G({"data-radix-scroll-area-viewport":""},a,{ref:c,style:{overflowX:l.scrollbarXEnabled?"scroll":"hidden",overflowY:l.scrollbarYEnabled?"scroll":"hidden",...e.style}}),o.createElement("div",{ref:l.onContentChange,style:{minWidth:"100%",display:"table"}},n)))}),st="ScrollAreaScrollbar",Ph=o.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=$e(st,e.__scopeScrollArea),{onScrollbarXEnabledChange:l,onScrollbarYEnabledChange:i}=a,c=e.orientation==="horizontal";return o.useEffect(()=>(c?l(!0):i(!0),()=>{c?l(!1):i(!1)}),[c,l,i]),a.type==="hover"?o.createElement(Hh,G({},n,{ref:t,forceMount:r})):a.type==="scroll"?o.createElement(Fh,G({},n,{ref:t,forceMount:r})):a.type==="auto"?o.createElement(Cs,G({},n,{ref:t,forceMount:r})):a.type==="always"?o.createElement(Po,G({},n,{ref:t})):null}),Hh=o.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=$e(st,e.__scopeScrollArea),[l,i]=o.useState(!1);return o.useEffect(()=>{let c=a.scrollArea,s=0;if(c){let d=()=>{window.clearTimeout(s),i(!0)},p=()=>{s=window.setTimeout(()=>i(!1),a.scrollHideDelay)};return c.addEventListener("pointerenter",d),c.addEventListener("pointerleave",p),()=>{window.clearTimeout(s),c.removeEventListener("pointerenter",d),c.removeEventListener("pointerleave",p)}}},[a.scrollArea,a.scrollHideDelay]),o.createElement(Fr,{present:r||l},o.createElement(Cs,G({"data-state":l?"visible":"hidden"},n,{ref:t})))}),Fh=o.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=$e(st,e.__scopeScrollArea),l=e.orientation==="horizontal",i=Fn(()=>s("SCROLL_END"),100),[c,s]=Mh("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 o.useEffect(()=>{if(c==="idle"){let d=window.setTimeout(()=>s("HIDE"),a.scrollHideDelay);return()=>window.clearTimeout(d)}},[c,a.scrollHideDelay,s]),o.useEffect(()=>{let d=a.viewport,p=l?"scrollLeft":"scrollTop";if(d){let h=d[p],m=()=>{let f=d[p];h!==f&&(s("SCROLL"),i()),h=f};return d.addEventListener("scroll",m),()=>d.removeEventListener("scroll",m)}},[a.viewport,l,s,i]),o.createElement(Fr,{present:r||c!=="hidden"},o.createElement(Po,G({"data-state":c==="hidden"?"hidden":"visible"},n,{ref:t,onPointerEnter:Tt(e.onPointerEnter,()=>s("POINTER_ENTER")),onPointerLeave:Tt(e.onPointerLeave,()=>s("POINTER_LEAVE"))})))}),Cs=o.forwardRef((e,t)=>{let r=$e(st,e.__scopeScrollArea),{forceMount:n,...a}=e,[l,i]=o.useState(!1),c=e.orientation==="horizontal",s=Fn(()=>{if(r.viewport){let d=r.viewport.offsetWidth{let{orientation:r="vertical",...n}=e,a=$e(st,e.__scopeScrollArea),l=o.useRef(null),i=o.useRef(0),[c,s]=o.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),d=_s(c.viewport,c.content),p={...n,sizes:c,onSizesChange:s,hasThumb:d>0&&d<1,onThumbChange:m=>l.current=m,onThumbPointerUp:()=>i.current=0,onThumbPointerDown:m=>i.current=m};function h(m,f){return Gh(m,i.current,c,f)}return r==="horizontal"?o.createElement(jh,G({},p,{ref:t,onThumbPositionChange:()=>{if(a.viewport&&l.current){let m=a.viewport.scrollLeft,f=ai(m,c,a.dir);l.current.style.transform=`translate3d(${f}px, 0, 0)`}},onWheelScroll:m=>{a.viewport&&(a.viewport.scrollLeft=m)},onDragScroll:m=>{a.viewport&&(a.viewport.scrollLeft=h(m,a.dir))}})):r==="vertical"?o.createElement(Nh,G({},p,{ref:t,onThumbPositionChange:()=>{if(a.viewport&&l.current){let m=a.viewport.scrollTop,f=ai(m,c);l.current.style.transform=`translate3d(0, ${f}px, 0)`}},onWheelScroll:m=>{a.viewport&&(a.viewport.scrollTop=m)},onDragScroll:m=>{a.viewport&&(a.viewport.scrollTop=h(m))}})):null}),jh=o.forwardRef((e,t)=>{let{sizes:r,onSizesChange:n,...a}=e,l=$e(st,e.__scopeScrollArea),[i,c]=o.useState(),s=o.useRef(null),d=jt(t,s,l.onScrollbarXChange);return o.useEffect(()=>{s.current&&c(getComputedStyle(s.current))},[s]),o.createElement(Is,G({"data-orientation":"horizontal"},a,{ref:d,sizes:r,style:{bottom:0,left:l.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:l.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":Hn(r)+"px",...e.style},onThumbPointerDown:p=>e.onThumbPointerDown(p.x),onDragScroll:p=>e.onDragScroll(p.x),onWheelScroll:(p,h)=>{if(l.viewport){let m=l.viewport.scrollLeft+p.deltaX;e.onWheelScroll(m),Os(m,h)&&p.preventDefault()}},onResize:()=>{s.current&&l.viewport&&i&&n({content:l.viewport.scrollWidth,viewport:l.viewport.offsetWidth,scrollbar:{size:s.current.clientWidth,paddingStart:bn(i.paddingLeft),paddingEnd:bn(i.paddingRight)}})}}))}),Nh=o.forwardRef((e,t)=>{let{sizes:r,onSizesChange:n,...a}=e,l=$e(st,e.__scopeScrollArea),[i,c]=o.useState(),s=o.useRef(null),d=jt(t,s,l.onScrollbarYChange);return o.useEffect(()=>{s.current&&c(getComputedStyle(s.current))},[s]),o.createElement(Is,G({"data-orientation":"vertical"},a,{ref:d,sizes:r,style:{top:0,right:l.dir==="ltr"?0:void 0,left:l.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":Hn(r)+"px",...e.style},onThumbPointerDown:p=>e.onThumbPointerDown(p.y),onDragScroll:p=>e.onDragScroll(p.y),onWheelScroll:(p,h)=>{if(l.viewport){let m=l.viewport.scrollTop+p.deltaY;e.onWheelScroll(m),Os(m,h)&&p.preventDefault()}},onResize:()=>{s.current&&l.viewport&&i&&n({content:l.viewport.scrollHeight,viewport:l.viewport.offsetHeight,scrollbar:{size:s.current.clientHeight,paddingStart:bn(i.paddingTop),paddingEnd:bn(i.paddingBottom)}})}}))}),[Dh,Rs]=Ss(st),Is=o.forwardRef((e,t)=>{let{__scopeScrollArea:r,sizes:n,hasThumb:a,onThumbChange:l,onThumbPointerUp:i,onThumbPointerDown:c,onThumbPositionChange:s,onDragScroll:d,onWheelScroll:p,onResize:h,...m}=e,f=$e(st,r),[v,g]=o.useState(null),E=jt(t,_=>g(_)),x=o.useRef(null),y=o.useRef(""),b=f.viewport,w=n.content-n.viewport,S=_t(p),C=_t(s),R=Fn(h,10);function I(_){if(x.current){let k=_.clientX-x.current.left,O=_.clientY-x.current.top;d({x:k,y:O})}}return o.useEffect(()=>{let _=k=>{let O=k.target;v!=null&&v.contains(O)&&S(k,w)};return document.addEventListener("wheel",_,{passive:!1}),()=>document.removeEventListener("wheel",_,{passive:!1})},[b,v,w,S]),o.useEffect(C,[n,C]),Jt(v,R),Jt(f.content,R),o.createElement(Dh,{scope:r,scrollbar:v,hasThumb:a,onThumbChange:_t(l),onThumbPointerUp:_t(i),onThumbPositionChange:C,onThumbPointerDown:_t(c)},o.createElement(Hr.div,G({},m,{ref:E,style:{position:"absolute",...m.style},onPointerDown:Tt(e.onPointerDown,_=>{_.button===0&&(_.target.setPointerCapture(_.pointerId),x.current=v.getBoundingClientRect(),y.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",f.viewport&&(f.viewport.style.scrollBehavior="auto"),I(_))}),onPointerMove:Tt(e.onPointerMove,I),onPointerUp:Tt(e.onPointerUp,_=>{let k=_.target;k.hasPointerCapture(_.pointerId)&&k.releasePointerCapture(_.pointerId),document.body.style.webkitUserSelect=y.current,f.viewport&&(f.viewport.style.scrollBehavior=""),x.current=null})})))}),qa="ScrollAreaThumb",Vh=o.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=Rs(qa,e.__scopeScrollArea);return o.createElement(Fr,{present:r||a.hasThumb},o.createElement(Uh,G({ref:t},n)))}),Uh=o.forwardRef((e,t)=>{let{__scopeScrollArea:r,style:n,...a}=e,l=$e(qa,r),i=Rs(qa,r),{onThumbPositionChange:c}=i,s=jt(t,h=>i.onThumbChange(h)),d=o.useRef(),p=Fn(()=>{d.current&&(d.current(),d.current=void 0)},100);return o.useEffect(()=>{let h=l.viewport;if(h){let m=()=>{if(p(),!d.current){let f=Yh(h,c);d.current=f,c()}};return c(),h.addEventListener("scroll",m),()=>h.removeEventListener("scroll",m)}},[l.viewport,p,c]),o.createElement(Hr.div,G({"data-state":i.hasThumb?"visible":"hidden"},a,{ref:s,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...n},onPointerDownCapture:Tt(e.onPointerDownCapture,h=>{let m=h.target.getBoundingClientRect(),f=h.clientX-m.left,v=h.clientY-m.top;i.onThumbPointerDown({x:f,y:v})}),onPointerUp:Tt(e.onPointerUp,i.onThumbPointerUp)}))}),As="ScrollAreaCorner",Wh=o.forwardRef((e,t)=>{let r=$e(As,e.__scopeScrollArea),n=!!(r.scrollbarX&&r.scrollbarY);return r.type!=="scroll"&&n?o.createElement(qh,G({},e,{ref:t})):null}),qh=o.forwardRef((e,t)=>{let{__scopeScrollArea:r,...n}=e,a=$e(As,r),[l,i]=o.useState(0),[c,s]=o.useState(0),d=!!(l&&c);return Jt(a.scrollbarX,()=>{var p;let h=((p=a.scrollbarX)===null||p===void 0?void 0:p.offsetHeight)||0;a.onCornerHeightChange(h),s(h)}),Jt(a.scrollbarY,()=>{var p;let h=((p=a.scrollbarY)===null||p===void 0?void 0:p.offsetWidth)||0;a.onCornerWidthChange(h),i(h)}),d?o.createElement(Hr.div,G({},n,{ref:t,style:{width:l,height:c,position:"absolute",right:a.dir==="ltr"?0:void 0,left:a.dir==="rtl"?0:void 0,bottom:0,...e.style}})):null});function bn(e){return e?parseInt(e,10):0}function _s(e,t){let r=e/t;return isNaN(r)?0:r}function Hn(e){let t=_s(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,n=(e.scrollbar.size-r)*t;return Math.max(n,18)}function Gh(e,t,r,n="ltr"){let a=Hn(r),l=a/2,i=t||l,c=a-i,s=r.scrollbar.paddingStart+i,d=r.scrollbar.size-r.scrollbar.paddingEnd-c,p=r.content-r.viewport,h=n==="ltr"?[0,p]:[p*-1,0];return ks([s,d],h)(e)}function ai(e,t,r="ltr"){let n=Hn(t),a=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,l=t.scrollbar.size-a,i=t.content-t.viewport,c=l-n,s=r==="ltr"?[0,i]:[i*-1,0],d=Th(e,s);return ks([0,i],[0,c])(d)}function ks(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 Os(e,t){return e>0&&e{})=>{let r={left:e.scrollLeft,top:e.scrollTop},n=0;return function a(){let l={left:e.scrollLeft,top:e.scrollTop},i=r.left!==l.left,c=r.top!==l.top;(i||c)&&t(),r=l,n=window.requestAnimationFrame(a)}(),()=>window.cancelAnimationFrame(n)};function Fn(e,t){let r=_t(e),n=o.useRef(0);return o.useEffect(()=>()=>window.clearTimeout(n.current),[]),o.useCallback(()=>{window.clearTimeout(n.current),n.current=window.setTimeout(r,t)},[r,t])}function Jt(e,t){let r=_t(t);Wa(()=>{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])}var Kh=Lh,Xh=Bh,Zh=Ph,Jh=Vh,Qh=Wh,eg=A(Kh)(({scrollbarsize:e,offset:t})=>({width:"100%",height:"100%",overflow:"hidden","--scrollbar-size":`${e+t}px`,"--radix-scroll-area-thumb-width":`${e}px`})),tg=A(Xh)({width:"100%",height:"100%"}),oi=A(Zh)(({offset:e,horizontal:t,vertical:r})=>({display:"flex",userSelect:"none",touchAction:"none",background:"transparent",transition:"all 0.2s ease-out",borderRadius:"var(--scrollbar-size)",'&[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}})),li=A(Jh)(({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%"}})),Ho=({children:e,horizontal:t=!1,vertical:r=!1,offset:n=2,scrollbarSize:a=6,className:l})=>u.createElement(eg,{scrollbarsize:a,offset:n,className:l},u.createElement(tg,null,e),t&&u.createElement(oi,{orientation:"horizontal",offset:n,horizontal:t.toString(),vertical:r.toString()},u.createElement(li,null)),r&&u.createElement(oi,{orientation:"vertical",offset:n,horizontal:t.toString(),vertical:r.toString()},u.createElement(li,null)),t&&r&&u.createElement(Qh,null)),{navigator:Xr,document:gr,window:rg}=kf,ng={jsextra:Pf,jsx:Tf,json:Ff,yml:Gf,md:Wf,bash:$f,css:zf,html:Vf,tsx:Kf,typescript:Zf,graphql:Nf};Object.entries(ng).forEach(([e,t])=>{zo.registerLanguage(e,t)});var ag=Ft(2)(e=>Object.entries(e.code||{}).reduce((t,[r,n])=>({...t,[`* .${r}`]:n}),{})),og=Ts();function Ts(){return Xr!=null&&Xr.clipboard?e=>Xr.clipboard.writeText(e):async e=>{let t=gr.createElement("TEXTAREA"),r=gr.activeElement;t.value=e,gr.body.appendChild(t),t.select(),gr.execCommand("copy"),gr.body.removeChild(t),r.focus()}}var lg=A.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)"}}:{}),ig=({children:e,className:t})=>u.createElement(Ho,{horizontal:!0,vertical:!0,className:t},e),sg=A(ig)({position:"relative"},({theme:e})=>ag(e)),cg=A.pre(({theme:e,padded:t})=>({display:"flex",justifyContent:"flex-start",margin:0,padding:t?e.layoutMargin:0})),dg=A.div(({theme:e})=>({flex:1,paddingLeft:2,paddingRight:e.layoutMargin,opacity:1,fontFamily:e.typography.fonts.mono})),Ms=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}},ug=({rows:e,stylesheet:t,useInlineStyles:r})=>e.map((n,a)=>Mo({node:Ms(n),stylesheet:t,useInlineStyles:r,key:`code-segement${a}`})),pg=(e,t)=>t?e?({rows:r,...n})=>e({rows:r.map(a=>Ms(a)),...n}):ug:e,Fo=({children:e,language:t="jsx",copyable:r=!1,bordered:n=!1,padded:a=!1,format:l=!0,formatter:i=null,className:c=null,showLineNumbers:s=!1,...d})=>{if(typeof e!="string"||!e.trim())return null;let[p,h]=o.useState("");o.useEffect(()=>{i?i(l,e).then(h):h(e.trim())},[e,l,i]);let[m,f]=o.useState(!1),v=o.useCallback(E=>{E.preventDefault(),og(p).then(()=>{f(!0),rg.setTimeout(()=>f(!1),1500)}).catch(_f.error)},[p]),g=pg(d.renderer,s);return u.createElement(lg,{bordered:n,padded:a,showLineNumbers:s,className:c},u.createElement(sg,null,u.createElement(zo,{padded:a||n,language:t,showLineNumbers:s,showInlineLineNumbers:s,useInlineStyles:!1,PreTag:cg,CodeTag:dg,lineNumberContainerStyle:{},...d,renderer:g},p)),r?u.createElement(Bo,{actionItems:[{title:m?"Copied":"Copy",onClick:v}]}):null)};Fo.registerLanguage=(...e)=>zo.registerLanguage(...e);var wA=Fo;const{global:fg}=__STORYBOOK_MODULE_GLOBAL__;var hg=N({"../../node_modules/react-fast-compare/index.js"(e,t){var r=typeof Element<"u",n=typeof Map=="function",a=typeof Set=="function",l=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function i(c,s){if(c===s)return!0;if(c&&s&&typeof c=="object"&&typeof s=="object"){if(c.constructor!==s.constructor)return!1;var d,p,h;if(Array.isArray(c)){if(d=c.length,d!=s.length)return!1;for(p=d;p--!==0;)if(!i(c[p],s[p]))return!1;return!0}var m;if(n&&c instanceof Map&&s instanceof Map){if(c.size!==s.size)return!1;for(m=c.entries();!(p=m.next()).done;)if(!s.has(p.value[0]))return!1;for(m=c.entries();!(p=m.next()).done;)if(!i(p.value[1],s.get(p.value[0])))return!1;return!0}if(a&&c instanceof Set&&s instanceof Set){if(c.size!==s.size)return!1;for(m=c.entries();!(p=m.next()).done;)if(!s.has(p.value[0]))return!1;return!0}if(l&&ArrayBuffer.isView(c)&&ArrayBuffer.isView(s)){if(d=c.length,d!=s.length)return!1;for(p=d;p--!==0;)if(c[p]!==s[p])return!1;return!0}if(c.constructor===RegExp)return c.source===s.source&&c.flags===s.flags;if(c.valueOf!==Object.prototype.valueOf&&typeof c.valueOf=="function"&&typeof s.valueOf=="function")return c.valueOf()===s.valueOf();if(c.toString!==Object.prototype.toString&&typeof c.toString=="function"&&typeof s.toString=="function")return c.toString()===s.toString();if(h=Object.keys(c),d=h.length,d!==Object.keys(s).length)return!1;for(p=d;p--!==0;)if(!Object.prototype.hasOwnProperty.call(s,h[p]))return!1;if(r&&c instanceof Element)return!1;for(p=d;p--!==0;)if(!((h[p]==="_owner"||h[p]==="__v"||h[p]==="__o")&&c.$$typeof)&&!i(c[h[p]],s[h[p]]))return!1;return!0}return c!==c&&s!==s}t.exports=function(c,s){try{return i(c,s)}catch(d){if((d.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw d}}}}),ii=function(e){return e.reduce(function(t,r){var n=r[0],a=r[1];return t[n]=a,t},{})},si=typeof window<"u"&&window.document&&window.document.createElement?o.useLayoutEffect:o.useEffect,ye="top",Te="bottom",Me="right",we="left",jo="auto",jr=[ye,Te,Me,we],Qt="start",kr="end",gg="clippingParents",$s="viewport",mr="popper",mg="reference",ci=jr.reduce(function(e,t){return e.concat([t+"-"+Qt,t+"-"+kr])},[]),Ls=[].concat(jr,[jo]).reduce(function(e,t){return e.concat([t,t+"-"+Qt,t+"-"+kr])},[]),vg="beforeRead",bg="read",yg="afterRead",wg="beforeMain",xg="main",Eg="afterMain",Sg="beforeWrite",Cg="write",Rg="afterWrite",Ig=[vg,bg,yg,wg,xg,Eg,Sg,Cg,Rg];function rt(e){return e?(e.nodeName||"").toLowerCase():null}function Se(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Pt(e){var t=Se(e).Element;return e instanceof t||e instanceof Element}function Oe(e){var t=Se(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function No(e){if(typeof ShadowRoot>"u")return!1;var t=Se(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Ag(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},a=t.attributes[r]||{},l=t.elements[r];!Oe(l)||!rt(l)||(Object.assign(l.style,n),Object.keys(a).forEach(function(i){var c=a[i];c===!1?l.removeAttribute(i):l.setAttribute(i,c===!0?"":c)}))})}function _g(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],l=t.attributes[n]||{},i=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),c=i.reduce(function(s,d){return s[d]="",s},{});!Oe(a)||!rt(a)||(Object.assign(a.style,c),Object.keys(l).forEach(function(s){a.removeAttribute(s)}))})}}var kg={name:"applyStyles",enabled:!0,phase:"write",fn:Ag,effect:_g,requires:["computeStyles"]};function tt(e){return e.split("-")[0]}var Mt=Math.max,yn=Math.min,er=Math.round;function Ga(){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}function zs(){return!/^((?!chrome|android).)*safari/i.test(Ga())}function tr(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),a=1,l=1;t&&Oe(e)&&(a=e.offsetWidth>0&&er(n.width)/e.offsetWidth||1,l=e.offsetHeight>0&&er(n.height)/e.offsetHeight||1);var i=Pt(e)?Se(e):window,c=i.visualViewport,s=!zs()&&r,d=(n.left+(s&&c?c.offsetLeft:0))/a,p=(n.top+(s&&c?c.offsetTop:0))/l,h=n.width/a,m=n.height/l;return{width:h,height:m,top:p,right:d+h,bottom:p+m,left:d,x:d,y:p}}function Do(e){var t=tr(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}}function Bs(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&No(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function it(e){return Se(e).getComputedStyle(e)}function Og(e){return["table","td","th"].indexOf(rt(e))>=0}function bt(e){return((Pt(e)?e.ownerDocument:e.document)||window.document).documentElement}function jn(e){return rt(e)==="html"?e:e.assignedSlot||e.parentNode||(No(e)?e.host:null)||bt(e)}function di(e){return!Oe(e)||it(e).position==="fixed"?null:e.offsetParent}function Tg(e){var t=/firefox/i.test(Ga()),r=/Trident/i.test(Ga());if(r&&Oe(e)){var n=it(e);if(n.position==="fixed")return null}var a=jn(e);for(No(a)&&(a=a.host);Oe(a)&&["html","body"].indexOf(rt(a))<0;){var l=it(a);if(l.transform!=="none"||l.perspective!=="none"||l.contain==="paint"||["transform","perspective"].indexOf(l.willChange)!==-1||t&&l.willChange==="filter"||t&&l.filter&&l.filter!=="none")return a;a=a.parentNode}return null}function Nr(e){for(var t=Se(e),r=di(e);r&&Og(r)&&it(r).position==="static";)r=di(r);return r&&(rt(r)==="html"||rt(r)==="body"&&it(r).position==="static")?t:r||Tg(e)||t}function Vo(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function wr(e,t,r){return Mt(e,yn(t,r))}function Mg(e,t,r){var n=wr(e,t,r);return n>r?r:n}function Ps(){return{top:0,right:0,bottom:0,left:0}}function Hs(e){return Object.assign({},Ps(),e)}function Fs(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var $g=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,Hs(typeof e!="number"?e:Fs(e,jr))};function Lg(e){var t,r=e.state,n=e.name,a=e.options,l=r.elements.arrow,i=r.modifiersData.popperOffsets,c=tt(r.placement),s=Vo(c),d=[we,Me].indexOf(c)>=0,p=d?"height":"width";if(!(!l||!i)){var h=$g(a.padding,r),m=Do(l),f=s==="y"?ye:we,v=s==="y"?Te:Me,g=r.rects.reference[p]+r.rects.reference[s]-i[s]-r.rects.popper[p],E=i[s]-r.rects.reference[s],x=Nr(l),y=x?s==="y"?x.clientHeight||0:x.clientWidth||0:0,b=g/2-E/2,w=h[f],S=y-m[p]-h[v],C=y/2-m[p]/2+b,R=wr(w,C,S),I=s;r.modifiersData[n]=(t={},t[I]=R,t.centerOffset=R-C,t)}}function zg(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)||Bs(t.elements.popper,a)&&(t.elements.arrow=a))}var Bg={name:"arrow",enabled:!0,phase:"main",fn:Lg,effect:zg,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function rr(e){return e.split("-")[1]}var Pg={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Hg(e,t){var r=e.x,n=e.y,a=t.devicePixelRatio||1;return{x:er(r*a)/a||0,y:er(n*a)/a||0}}function ui(e){var t,r=e.popper,n=e.popperRect,a=e.placement,l=e.variation,i=e.offsets,c=e.position,s=e.gpuAcceleration,d=e.adaptive,p=e.roundOffsets,h=e.isFixed,m=i.x,f=m===void 0?0:m,v=i.y,g=v===void 0?0:v,E=typeof p=="function"?p({x:f,y:g}):{x:f,y:g};f=E.x,g=E.y;var x=i.hasOwnProperty("x"),y=i.hasOwnProperty("y"),b=we,w=ye,S=window;if(d){var C=Nr(r),R="clientHeight",I="clientWidth";if(C===Se(r)&&(C=bt(r),it(C).position!=="static"&&c==="absolute"&&(R="scrollHeight",I="scrollWidth")),C=C,a===ye||(a===we||a===Me)&&l===kr){w=Te;var _=h&&C===S&&S.visualViewport?S.visualViewport.height:C[R];g-=_-n.height,g*=s?1:-1}if(a===we||(a===ye||a===Te)&&l===kr){b=Me;var k=h&&C===S&&S.visualViewport?S.visualViewport.width:C[I];f-=k-n.width,f*=s?1:-1}}var O=Object.assign({position:c},d&&Pg),T=p===!0?Hg({x:f,y:g},Se(r)):{x:f,y:g};if(f=T.x,g=T.y,s){var M;return Object.assign({},O,(M={},M[w]=y?"0":"",M[b]=x?"0":"",M.transform=(S.devicePixelRatio||1)<=1?"translate("+f+"px, "+g+"px)":"translate3d("+f+"px, "+g+"px, 0)",M))}return Object.assign({},O,(t={},t[w]=y?g+"px":"",t[b]=x?f+"px":"",t.transform="",t))}function Fg(e){var t=e.state,r=e.options,n=r.gpuAcceleration,a=n===void 0?!0:n,l=r.adaptive,i=l===void 0?!0:l,c=r.roundOffsets,s=c===void 0?!0:c,d={placement:tt(t.placement),variation:rr(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,ui(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:s})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,ui(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var jg={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Fg,data:{}},Zr={passive:!0};function Ng(e){var t=e.state,r=e.instance,n=e.options,a=n.scroll,l=a===void 0?!0:a,i=n.resize,c=i===void 0?!0:i,s=Se(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return l&&d.forEach(function(p){p.addEventListener("scroll",r.update,Zr)}),c&&s.addEventListener("resize",r.update,Zr),function(){l&&d.forEach(function(p){p.removeEventListener("scroll",r.update,Zr)}),c&&s.removeEventListener("resize",r.update,Zr)}}var Dg={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Ng,data:{}},Vg={left:"right",right:"left",bottom:"top",top:"bottom"};function sn(e){return e.replace(/left|right|bottom|top/g,function(t){return Vg[t]})}var Ug={start:"end",end:"start"};function pi(e){return e.replace(/start|end/g,function(t){return Ug[t]})}function Uo(e){var t=Se(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function Wo(e){return tr(bt(e)).left+Uo(e).scrollLeft}function Wg(e,t){var r=Se(e),n=bt(e),a=r.visualViewport,l=n.clientWidth,i=n.clientHeight,c=0,s=0;if(a){l=a.width,i=a.height;var d=zs();(d||!d&&t==="fixed")&&(c=a.offsetLeft,s=a.offsetTop)}return{width:l,height:i,x:c+Wo(e),y:s}}function qg(e){var t,r=bt(e),n=Uo(e),a=(t=e.ownerDocument)==null?void 0:t.body,l=Mt(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),i=Mt(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),c=-n.scrollLeft+Wo(e),s=-n.scrollTop;return it(a||r).direction==="rtl"&&(c+=Mt(r.clientWidth,a?a.clientWidth:0)-l),{width:l,height:i,x:c,y:s}}function qo(e){var t=it(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}function js(e){return["html","body","#document"].indexOf(rt(e))>=0?e.ownerDocument.body:Oe(e)&&qo(e)?e:js(jn(e))}function xr(e,t){var r;t===void 0&&(t=[]);var n=js(e),a=n===((r=e.ownerDocument)==null?void 0:r.body),l=Se(n),i=a?[l].concat(l.visualViewport||[],qo(n)?n:[]):n,c=t.concat(i);return a?c:c.concat(xr(jn(i)))}function Ya(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Gg(e,t){var r=tr(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 fi(e,t,r){return t===$s?Ya(Wg(e,r)):Pt(t)?Gg(t,r):Ya(qg(bt(e)))}function Yg(e){var t=xr(jn(e)),r=["absolute","fixed"].indexOf(it(e).position)>=0,n=r&&Oe(e)?Nr(e):e;return Pt(n)?t.filter(function(a){return Pt(a)&&Bs(a,n)&&rt(a)!=="body"}):[]}function Kg(e,t,r,n){var a=t==="clippingParents"?Yg(e):[].concat(t),l=[].concat(a,[r]),i=l[0],c=l.reduce(function(s,d){var p=fi(e,d,n);return s.top=Mt(p.top,s.top),s.right=yn(p.right,s.right),s.bottom=yn(p.bottom,s.bottom),s.left=Mt(p.left,s.left),s},fi(e,i,n));return c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}function Ns(e){var t=e.reference,r=e.element,n=e.placement,a=n?tt(n):null,l=n?rr(n):null,i=t.x+t.width/2-r.width/2,c=t.y+t.height/2-r.height/2,s;switch(a){case ye:s={x:i,y:t.y-r.height};break;case Te:s={x:i,y:t.y+t.height};break;case Me:s={x:t.x+t.width,y:c};break;case we:s={x:t.x-r.width,y:c};break;default:s={x:t.x,y:t.y}}var d=a?Vo(a):null;if(d!=null){var p=d==="y"?"height":"width";switch(l){case Qt:s[d]=s[d]-(t[p]/2-r[p]/2);break;case kr:s[d]=s[d]+(t[p]/2-r[p]/2);break}}return s}function Or(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=n===void 0?e.placement:n,l=r.strategy,i=l===void 0?e.strategy:l,c=r.boundary,s=c===void 0?gg:c,d=r.rootBoundary,p=d===void 0?$s:d,h=r.elementContext,m=h===void 0?mr:h,f=r.altBoundary,v=f===void 0?!1:f,g=r.padding,E=g===void 0?0:g,x=Hs(typeof E!="number"?E:Fs(E,jr)),y=m===mr?mg:mr,b=e.rects.popper,w=e.elements[v?y:m],S=Kg(Pt(w)?w:w.contextElement||bt(e.elements.popper),s,p,i),C=tr(e.elements.reference),R=Ns({reference:C,element:b,strategy:"absolute",placement:a}),I=Ya(Object.assign({},b,R)),_=m===mr?I:C,k={top:S.top-_.top+x.top,bottom:_.bottom-S.bottom+x.bottom,left:S.left-_.left+x.left,right:_.right-S.right+x.right},O=e.modifiersData.offset;if(m===mr&&O){var T=O[a];Object.keys(k).forEach(function(M){var F=[Me,Te].indexOf(M)>=0?1:-1,$=[ye,Te].indexOf(M)>=0?"y":"x";k[M]+=T[$]*F})}return k}function Xg(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=r.boundary,l=r.rootBoundary,i=r.padding,c=r.flipVariations,s=r.allowedAutoPlacements,d=s===void 0?Ls:s,p=rr(n),h=p?c?ci:ci.filter(function(v){return rr(v)===p}):jr,m=h.filter(function(v){return d.indexOf(v)>=0});m.length===0&&(m=h);var f=m.reduce(function(v,g){return v[g]=Or(e,{placement:g,boundary:a,rootBoundary:l,padding:i})[tt(g)],v},{});return Object.keys(f).sort(function(v,g){return f[v]-f[g]})}function Zg(e){if(tt(e)===jo)return[];var t=sn(e);return[pi(e),t,pi(t)]}function Jg(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var a=r.mainAxis,l=a===void 0?!0:a,i=r.altAxis,c=i===void 0?!0:i,s=r.fallbackPlacements,d=r.padding,p=r.boundary,h=r.rootBoundary,m=r.altBoundary,f=r.flipVariations,v=f===void 0?!0:f,g=r.allowedAutoPlacements,E=t.options.placement,x=tt(E),y=x===E,b=s||(y||!v?[sn(E)]:Zg(E)),w=[E].concat(b).reduce(function(J,B){return J.concat(tt(B)===jo?Xg(t,{placement:B,boundary:p,rootBoundary:h,padding:d,flipVariations:v,allowedAutoPlacements:g}):B)},[]),S=t.rects.reference,C=t.rects.popper,R=new Map,I=!0,_=w[0],k=0;k=0,$=F?"width":"height",L=Or(t,{placement:O,boundary:p,rootBoundary:h,altBoundary:m,padding:d}),j=F?M?Me:we:M?Te:ye;S[$]>C[$]&&(j=sn(j));var V=sn(j),P=[];if(l&&P.push(L[T]<=0),c&&P.push(L[j]<=0,L[V]<=0),P.every(function(J){return J})){_=O,I=!1;break}R.set(O,P)}if(I)for(var D=v?3:1,Z=function(J){var B=w.find(function(U){var q=R.get(U);if(q)return q.slice(0,J).every(function(se){return se})});if(B)return _=B,"break"},ne=D;ne>0;ne--){var X=Z(ne);if(X==="break")break}t.placement!==_&&(t.modifiersData[n]._skip=!0,t.placement=_,t.reset=!0)}}var Qg={name:"flip",enabled:!0,phase:"main",fn:Jg,requiresIfExists:["offset"],data:{_skip:!1}};function hi(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 gi(e){return[ye,Me,Te,we].some(function(t){return e[t]>=0})}function em(e){var t=e.state,r=e.name,n=t.rects.reference,a=t.rects.popper,l=t.modifiersData.preventOverflow,i=Or(t,{elementContext:"reference"}),c=Or(t,{altBoundary:!0}),s=hi(i,n),d=hi(c,a,l),p=gi(s),h=gi(d);t.modifiersData[r]={referenceClippingOffsets:s,popperEscapeOffsets:d,isReferenceHidden:p,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":h})}var tm={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:em};function rm(e,t,r){var n=tt(e),a=[we,ye].indexOf(n)>=0?-1:1,l=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,i=l[0],c=l[1];return i=i||0,c=(c||0)*a,[we,Me].indexOf(n)>=0?{x:c,y:i}:{x:i,y:c}}function nm(e){var t=e.state,r=e.options,n=e.name,a=r.offset,l=a===void 0?[0,0]:a,i=Ls.reduce(function(p,h){return p[h]=rm(h,t.rects,l),p},{}),c=i[t.placement],s=c.x,d=c.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=d),t.modifiersData[n]=i}var am={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:nm};function om(e){var t=e.state,r=e.name;t.modifiersData[r]=Ns({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var lm={name:"popperOffsets",enabled:!0,phase:"read",fn:om,data:{}};function im(e){return e==="x"?"y":"x"}function sm(e){var t=e.state,r=e.options,n=e.name,a=r.mainAxis,l=a===void 0?!0:a,i=r.altAxis,c=i===void 0?!1:i,s=r.boundary,d=r.rootBoundary,p=r.altBoundary,h=r.padding,m=r.tether,f=m===void 0?!0:m,v=r.tetherOffset,g=v===void 0?0:v,E=Or(t,{boundary:s,rootBoundary:d,padding:h,altBoundary:p}),x=tt(t.placement),y=rr(t.placement),b=!y,w=Vo(x),S=im(w),C=t.modifiersData.popperOffsets,R=t.rects.reference,I=t.rects.popper,_=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,k=typeof _=="number"?{mainAxis:_,altAxis:_}:Object.assign({mainAxis:0,altAxis:0},_),O=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,T={x:0,y:0};if(C){if(l){var M,F=w==="y"?ye:we,$=w==="y"?Te:Me,L=w==="y"?"height":"width",j=C[w],V=j+E[F],P=j-E[$],D=f?-I[L]/2:0,Z=y===Qt?R[L]:I[L],ne=y===Qt?-I[L]:-R[L],X=t.elements.arrow,J=f&&X?Do(X):{width:0,height:0},B=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Ps(),U=B[F],q=B[$],se=wr(0,R[L],J[L]),me=b?R[L]/2-D-se-U-k.mainAxis:Z-se-U-k.mainAxis,nt=b?-R[L]/2+D+se+q+k.mainAxis:ne+se+q+k.mainAxis,Ie=t.elements.arrow&&Nr(t.elements.arrow),He=Ie?w==="y"?Ie.clientTop||0:Ie.clientLeft||0:0,z=(M=O==null?void 0:O[w])!=null?M:0,ze=j+me-z-He,Fe=j+nt-z,wt=wr(f?yn(V,ze):V,j,f?Mt(P,Fe):P);C[w]=wt,T[w]=wt-j}if(c){var Dt,je=w==="x"?ye:we,Ur=w==="x"?Te:Me,ve=C[S],xt=S==="y"?"height":"width",Ne=ve+E[je],Vt=ve-E[Ur],De=[ye,we].indexOf(x)!==-1,Ut=(Dt=O==null?void 0:O[S])!=null?Dt:0,Ve=De?Ne:ve-R[xt]-I[xt]-Ut+k.altAxis,pe=De?ve+R[xt]+I[xt]-Ut-k.altAxis:Vt,Be=f&&De?Mg(Ve,ve,pe):wr(f?Ve:Ne,ve,f?pe:Vt);C[S]=Be,T[S]=Be-ve}t.modifiersData[n]=T}}var cm={name:"preventOverflow",enabled:!0,phase:"main",fn:sm,requiresIfExists:["offset"]};function dm(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function um(e){return e===Se(e)||!Oe(e)?Uo(e):dm(e)}function pm(e){var t=e.getBoundingClientRect(),r=er(t.width)/e.offsetWidth||1,n=er(t.height)/e.offsetHeight||1;return r!==1||n!==1}function fm(e,t,r){r===void 0&&(r=!1);var n=Oe(t),a=Oe(t)&&pm(t),l=bt(t),i=tr(e,a,r),c={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(n||!n&&!r)&&((rt(t)!=="body"||qo(l))&&(c=um(t)),Oe(t)?(s=tr(t,!0),s.x+=t.clientLeft,s.y+=t.clientTop):l&&(s.x=Wo(l))),{x:i.left+c.scrollLeft-s.x,y:i.top+c.scrollTop-s.y,width:i.width,height:i.height}}function hm(e){var t=new Map,r=new Set,n=[];e.forEach(function(l){t.set(l.name,l)});function a(l){r.add(l.name);var i=[].concat(l.requires||[],l.requiresIfExists||[]);i.forEach(function(c){if(!r.has(c)){var s=t.get(c);s&&a(s)}}),n.push(l)}return e.forEach(function(l){r.has(l.name)||a(l)}),n}function gm(e){var t=hm(e);return Ig.reduce(function(r,n){return r.concat(t.filter(function(a){return a.phase===n}))},[])}function mm(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function vm(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 mi={placement:"bottom",modifiers:[],strategy:"absolute"};function bi(){for(var e=arguments.length,t=new Array(e),r=0;rt.split("-")[0]===e?r:n),dt=8,_m=A.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:`${Ae("top",r,`${dt*-1}px`,"auto")}`,top:`${Ae("bottom",r,`${dt*-1}px`,"auto")}`,right:`${Ae("left",r,`${dt*-1}px`,"auto")}`,left:`${Ae("right",r,`${dt*-1}px`,"auto")}`,borderBottomWidth:`${Ae("top",r,"0",dt)}px`,borderTopWidth:`${Ae("bottom",r,"0",dt)}px`,borderRightWidth:`${Ae("left",r,"0",dt)}px`,borderLeftWidth:`${Ae("right",r,"0",dt)}px`,borderTopColor:Ae("top",r,e.color[t]||t||e.base==="light"?yr(e.background.app):e.background.app,"transparent"),borderBottomColor:Ae("bottom",r,e.color[t]||t||e.base==="light"?yr(e.background.app):e.background.app,"transparent"),borderLeftColor:Ae("left",r,e.color[t]||t||e.base==="light"?yr(e.background.app):e.background.app,"transparent"),borderRightColor:Ae("right",r,e.color[t]||t||e.base==="light"?yr(e.background.app):e.background.app,"transparent")})),km=A.div(({hidden:e})=>({display:e?"none":"inline-block",zIndex:2147483647}),({theme:e,color:t,hasChrome:r})=>r?{background:e.color[t]||t||e.base==="light"?yr(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,fontSize:e.typography.size.s1}:{}),Go=u.forwardRef(({placement:e,hasChrome:t,children:r,arrowProps:n,tooltipRef:a,color:l,withArrows:i,...c},s)=>u.createElement(km,{"data-testid":"tooltip",hasChrome:t,ref:s,...c,color:l},t&&i&&u.createElement(_m,{placement:e,...n,color:l}),r));Go.displayName="Tooltip";Go.defaultProps={color:void 0,tooltipRef:void 0,hasChrome:!0,placement:"top",arrowProps:{}};var{document:cn}=fg,Om=A.div` + display: inline-block; + cursor: ${e=>e.trigger==="hover"||e.trigger.includes("hover")?"default":"pointer"}; +`,Tm=A.g` + cursor: ${e=>e.trigger==="hover"||e.trigger.includes("hover")?"default":"pointer"}; +`,Us=({svg:e,trigger:t,closeOnOutsideClick:r,placement:n,hasChrome:a,withArrows:l,offset:i,tooltip:c,children:s,closeOnTriggerHidden:d,mutationObserverOptions:p,defaultVisible:h,delayHide:m,visible:f,interactive:v,delayShow:g,modifiers:E,strategy:x,followCursor:y,onVisibleChange:b,...w})=>{let S=e?Tm:Om,{getArrowProps:C,getTooltipProps:R,setTooltipRef:I,setTriggerRef:_,visible:k,state:O}=Am({trigger:t,placement:n,defaultVisible:h,delayHide:m,interactive:v,closeOnOutsideClick:r,closeOnTriggerHidden:d,onVisibleChange:b,delayShow:g,followCursor:y,mutationObserverOptions:p,visible:f,offset:i},{modifiers:E,strategy:x}),T=u.createElement(Go,{placement:O==null?void 0:O.placement,ref:I,hasChrome:a,arrowProps:C(),withArrows:l,...R()},typeof c=="function"?c({onHide:()=>b(!1)}):c);return u.createElement(u.Fragment,null,u.createElement(S,{trigger:t,ref:_,...w},s),k&&X1.createPortal(T,cn.body))};Us.defaultProps={svg:!1,trigger:"click",closeOnOutsideClick:!1,placement:"top",modifiers:[{name:"preventOverflow",options:{padding:8}},{name:"offset",options:{offset:[8,8]}},{name:"arrow",options:{padding:8}}],hasChrome:!0,defaultVisible:!1};var Mm=({startOpen:e=!1,onVisibleChange:t,...r})=>{let[n,a]=o.useState(e),l=o.useCallback(i=>{t&&t(i)===!1||a(i)},[t]);return o.useEffect(()=>{let i=()=>l(!1);cn.addEventListener("keydown",i,!1);let c=Array.from(cn.getElementsByTagName("iframe")),s=[];return c.forEach(d=>{let p=()=>{try{d.contentWindow.document&&(d.contentWindow.document.addEventListener("click",i),s.push(()=>{try{d.contentWindow.document.removeEventListener("click",i)}catch{}}))}catch{}};p(),d.addEventListener("load",p),s.push(()=>{d.removeEventListener("load",p)})}),()=>{cn.removeEventListener("keydown",i),s.forEach(d=>{d()})}}),u.createElement(Us,{...r,visible:n,onVisibleChange:l})},$m=[{name:"Images",icons:["PhotoIcon","ComponentIcon","GridIcon","OutlineIcon","PhotoDragIcon","GridAltIcon","SearchIcon","ZoomIcon","ZoomOutIcon","ZoomResetIcon","EyeIcon","EyeCloseIcon","LightningIcon","LightningOffIcon","ContrastIcon","SwitchAltIcon","MirrorIcon","GrowIcon","PaintBrushIcon","RulerIcon","StopIcon","CameraIcon","VideoIcon","SpeakerIcon","PlayIcon","PlayBackIcon","PlayNextIcon","RewindIcon","FastForwardIcon","StopAltIcon","SideBySideIcon","StackedIcon","SunIcon","MoonIcon"]},{name:"Documents",icons:["BookIcon","DocumentIcon","CopyIcon","CategoryIcon","FolderIcon","PrintIcon","GraphLineIcon","CalendarIcon","GraphBarIcon","AlignLeftIcon","AlignRightIcon","FilterIcon","DocChartIcon","DocListIcon","DragIcon","MenuIcon"]},{name:"Editing",icons:["MarkupIcon","BoldIcon","ItalicIcon","PaperClipIcon","ListOrderedIcon","ListUnorderedIcon","ParagraphIcon","MarkdownIcon"]},{name:"Git",icons:["RepoIcon","CommitIcon","BranchIcon","PullRequestIcon","MergeIcon"]},{name:"OS",icons:["AppleIcon","LinuxIcon","UbuntuIcon","WindowsIcon","ChromeIcon"]},{name:"Logos",icons:["StorybookIcon","AzureDevOpsIcon","BitbucketIcon","ChromaticIcon","ComponentDrivenIcon","DiscordIcon","FacebookIcon","FigmaIcon","GDriveIcon","GithubIcon","GitlabIcon","GoogleIcon","GraphqlIcon","MediumIcon","ReduxIcon","TwitterIcon","YoutubeIcon","VSCodeIcon","LinkedinIcon","XIcon"]},{name:"Devices",icons:["BrowserIcon","TabletIcon","MobileIcon","WatchIcon","SidebarIcon","SidebarAltIcon","SidebarAltToggleIcon","SidebarToggleIcon","BottomBarIcon","BottomBarToggleIcon","CPUIcon","DatabaseIcon","MemoryIcon","StructureIcon","BoxIcon","PowerIcon"]},{name:"CRUD",icons:["EditIcon","CogIcon","NutIcon","WrenchIcon","EllipsisIcon","WandIcon","CheckIcon","FormIcon","BatchDenyIcon","BatchAcceptIcon","ControlsIcon","PlusIcon","CloseAltIcon","CrossIcon","TrashIcon","PinAltIcon","UnpinIcon","AddIcon","SubtractIcon","CloseIcon","DeleteIcon","PassedIcon","ChangedIcon","FailedIcon","ClearIcon","CommentIcon","CommentAddIcon","RequestChangeIcon","CommentsIcon","ChatIcon","LockIcon","UnlockIcon","KeyIcon","OutboxIcon","CreditIcon","ButtonIcon","TypeIcon","PointerDefaultIcon","PointerHandIcon","CommandIcon"]},{name:"Communicate",icons:["InfoIcon","QuestionIcon","SupportIcon","AlertIcon","AlertAltIcon","EmailIcon","PhoneIcon","LinkIcon","LinkBrokenIcon","BellIcon","RSSIcon","ShareAltIcon","ShareIcon","JumpToIcon","CircleHollowIcon","CircleIcon","BookmarkHollowIcon","BookmarkIcon","DiamondIcon","HeartHollowIcon","HeartIcon","StarHollowIcon","StarIcon","CertificateIcon","VerifiedIcon","ThumbsUpIcon","ShieldIcon","BasketIcon","BeakerIcon","HourglassIcon","FlagIcon","CloudHollowIcon","CloudIcon","StickerIcon"]},{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"]}],Lm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),zm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Bm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Pm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Hm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}),o.createElement("path",{d:"M0 10.004v-3h1v3H0zM0 13.504v-2.5h1v2h2v1H.5a.5.5 0 01-.5-.5zM7 14.004H4v-1h3v1z",fill:e}))),Fm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),jm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Ws=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),qs=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M4 5.5a.5.5 0 000 1h4a.5.5 0 000-1H4z",fill:e}),o.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}))),Gs=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Ys=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M7 9.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5z",fill:e}),o.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}))),Ks=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),Nm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Xs=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Dm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Vm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Um=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Wm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}),o.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}))),qm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Gm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),Ym=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),Km=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),Zs=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M2.5 10a.5.5 0 100-1 .5.5 0 000 1z",fill:e}),o.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}))),Xm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}),o.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}))),Zm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Jm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Qm=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),e2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),t2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),r2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),n2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),a2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),o2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("g",{clipPath:"url(#prefix__clip0_1107_3492)",fill:e},o.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0V2a.5.5 0 001 0V.5z"}),o.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"}),o.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"})),o.createElement("defs",null,o.createElement("clipPath",{id:"prefix__clip0_1107_3492"},o.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),l2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("g",{clipPath:"url(#prefix__clip0_1107_3493)"},o.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})),o.createElement("defs",null,o.createElement("clipPath",{id:"prefix__clip0_1107_3493"},o.createElement("path",{fill:"#fff",transform:"scale(1.07124)",d:"M0 0h14.001v14.002H0z"}))))),i2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),wn=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),s2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),c2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),d2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),u2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),p2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),f2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),h2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),g2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),m2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),v2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),b2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),y2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),w2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),x2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),E2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),S2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),C2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M5 2h6v1H8.5l-2 8H9v1H3v-1h2.5l2-8H5V2z",fill:e}))),R2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),I2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),A2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),_2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),k2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),O2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),T2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),M2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),$2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),L2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),z2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),B2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),P2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("g",{clipPath:"url(#prefix__clip0_1107_3497)",fill:e},o.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"})),o.createElement("defs",null,o.createElement("clipPath",{id:"prefix__clip0_1107_3497"},o.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),H2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M6.5 1H1v5.5h5.5V1zM13 1H7.5v5.5H13V1zM7.5 7.5H13V13H7.5V7.5zM6.5 7.5H1V13h5.5V7.5z",fill:e}))),F2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("g",{clipPath:"url(#prefix__clip0_1107_3496)"},o.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})),o.createElement("defs",null,o.createElement("clipPath",{id:"prefix__clip0_1107_3496"},o.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),j2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),N2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("g",{clipPath:"url(#prefix__clip0_1107_3503)"},o.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})),o.createElement("defs",null,o.createElement("clipPath",{id:"prefix__clip0_1107_3503"},o.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),D2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),V2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),U2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),W2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),q2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),G2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Y2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),K2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),X2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Z2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),J2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Q2=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),e4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),t4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),r4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),n4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),a4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),o4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),l4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),i4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),s4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),c4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),d4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),u4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),p4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),f4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),h4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),g4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),m4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),v4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),b4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),y4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),w4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),x4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0v6a.5.5 0 001 0v-6z",fill:e}),o.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}))),E4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),S4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),C4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),R4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),I4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),A4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),_4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),k4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),O4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),T4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),M4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),$4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),L4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),z4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),B4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),P4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("g",{clipPath:"url(#prefix__clip0_1107_3502)"},o.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})),o.createElement("defs",null,o.createElement("clipPath",{id:"prefix__clip0_1107_3502"},o.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),H4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("g",{clipPath:"url(#prefix__clip0_1107_3501)",fill:e},o.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"})),o.createElement("defs",null,o.createElement("clipPath",{id:"prefix__clip0_1107_3501"},o.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),Js=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),Qs=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}),o.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}))),F4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),j4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),N4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),D4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),V4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),U4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),W4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),q4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),G4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),Y4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),K4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),X4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),Z4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("g",{clipPath:"url(#prefix__clip0_1107_3614)",fill:e},o.createElement("path",{d:"M6.5 8.87a1 1 0 111 0v1.634a.5.5 0 01-1 0V8.87z"}),o.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"})),o.createElement("defs",null,o.createElement("clipPath",{id:"prefix__clip0_1107_3614"},o.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),J4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M11 4a1 1 0 11-2 0 1 1 0 012 0z",fill:e}),o.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}))),Q4=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),ev=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M2.5 8.004a.5.5 0 100 1h3a.5.5 0 000-1h-3z",fill:e}),o.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}))),tv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),rv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),nv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),av=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),ov=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),lv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),iv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),sv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),cv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),dv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),uv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),pv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),ec=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),fv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),hv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),gv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}),o.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}))),mv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),vv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),bv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),yv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),wv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M14 7A7 7 0 110 7a7 7 0 0114 0z",fill:e}))),xv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Ev=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Sv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("g",{clipPath:"url(#prefix__clip0_1449_588)"},o.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})),o.createElement("defs",null,o.createElement("clipPath",{id:"prefix__clip0_1449_588"},o.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),Cv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Rv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Iv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Av=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),_v=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),kv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Ov=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Tv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Mv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M10.354 2.854a.5.5 0 10-.708-.708l-3 3a.5.5 0 10.708.708l3-3z",fill:e}),o.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}),o.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}))),$v=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Lv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M7.5 10.5a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}),o.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}))),zv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Bv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Pv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Hv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),Fv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),tc=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),jv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Yo=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),rc=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Ko=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Nv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Dv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Vv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Uv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Wv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),qv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Gv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Yv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Kv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Xv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Zv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Jv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),Qv=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),e3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),t3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),r3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),n3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),a3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}),o.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}))),o3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),l3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),nc=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),i3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),s3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),c3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),d3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),u3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),p3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),f3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),h3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),g3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),m3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),v3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),b3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),y3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),w3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("path",{d:"M7.5 4.5a.5.5 0 00-1 0v2.634a1 1 0 101 0V4.5z",fill:e}),o.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}))),x3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),E3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),S3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.createElement("g",{clipPath:"url(#prefix__clip0_1107_3594)"},o.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})),o.createElement("defs",null,o.createElement("clipPath",{id:"prefix__clip0_1107_3594"},o.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),C3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),R3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),I3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}))),A3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),_3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),k3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),O3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),T3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.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}))),M3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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}),o.createElement("path",{d:"M7 4.5a1 1 0 100-2 1 1 0 000 2z",fill:e}),o.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}))),$3=o.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>o.createElement("svg",{width:t,height:t,viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},o.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})));const L3=Object.freeze(Object.defineProperty({__proto__:null,AccessibilityAltIcon:$3,AccessibilityIcon:M3,AddIcon:Js,AdminIcon:E3,AlertAltIcon:dv,AlertIcon:cv,AlignLeftIcon:g2,AlignRightIcon:m2,AppleIcon:z2,ArrowBottomLeftIcon:Kv,ArrowBottomRightIcon:Xv,ArrowDownIcon:Uv,ArrowLeftIcon:Wv,ArrowRightIcon:qv,ArrowSolidDownIcon:Jv,ArrowSolidLeftIcon:Qv,ArrowSolidRightIcon:e3,ArrowSolidUpIcon:Zv,ArrowTopLeftIcon:Gv,ArrowTopRightIcon:Yv,ArrowUpIcon:Vv,AzureDevOpsIcon:N2,BackIcon:u3,BasketIcon:Mv,BatchAcceptIcon:T4,BatchDenyIcon:O4,BeakerIcon:$v,BellIcon:hv,BitbucketIcon:D2,BoldIcon:S2,BookIcon:i2,BookmarkHollowIcon:xv,BookmarkIcon:Ev,BottomBarIcon:h4,BottomBarToggleIcon:g4,BoxIcon:w4,BranchIcon:M2,BrowserIcon:l4,ButtonIcon:tv,CPUIcon:m4,CalendarIcon:f2,CameraIcon:Km,CategoryIcon:c2,CertificateIcon:_v,ChangedIcon:D4,ChatIcon:K4,CheckIcon:_4,ChevronDownIcon:tc,ChevronLeftIcon:jv,ChevronRightIcon:Yo,ChevronSmallDownIcon:Ko,ChevronSmallLeftIcon:Nv,ChevronSmallRightIcon:Dv,ChevronSmallUpIcon:rc,ChevronUpIcon:Fv,ChromaticIcon:V2,ChromeIcon:F2,CircleHollowIcon:yv,CircleIcon:wv,ClearIcon:U4,CloseAltIcon:L4,CloseIcon:F4,CloudHollowIcon:Bv,CloudIcon:Pv,CogIcon:S4,CollapseIcon:r3,CommandIcon:ov,CommentAddIcon:q4,CommentIcon:W4,CommentsIcon:Y4,CommitIcon:T2,CompassIcon:g3,ComponentDrivenIcon:U2,ComponentIcon:zm,ContrastIcon:Dm,ControlsIcon:M4,CopyIcon:s2,CreditIcon:ev,CrossIcon:z4,DashboardIcon:y3,DatabaseIcon:v4,DeleteIcon:j4,DiamondIcon:Sv,DirectionIcon:S3,DiscordIcon:W2,DocChartIcon:b2,DocListIcon:y2,DocumentIcon:wn,DownloadIcon:d3,DragIcon:w2,EditIcon:E4,EllipsisIcon:I4,EmailIcon:uv,ExpandAltIcon:t3,ExpandIcon:n3,EyeCloseIcon:Ks,EyeIcon:Ys,FaceHappyIcon:k3,FaceNeutralIcon:O3,FaceSadIcon:T3,FacebookIcon:q2,FailedIcon:V4,FastForwardIcon:t2,FigmaIcon:G2,FilterIcon:v2,FlagIcon:zv,FolderIcon:d2,FormIcon:k4,GDriveIcon:Y2,GithubIcon:K2,GitlabIcon:X2,GlobeIcon:h3,GoogleIcon:Z2,GraphBarIcon:h2,GraphLineIcon:p2,GraphqlIcon:J2,GridAltIcon:Fm,GridIcon:Bm,GrowIcon:Wm,HeartHollowIcon:Cv,HeartIcon:Rv,HomeIcon:x3,HourglassIcon:Lv,InfoIcon:lv,ItalicIcon:C2,JumpToIcon:bv,KeyIcon:J4,LightningIcon:Nm,LightningOffIcon:Xs,LinkBrokenIcon:fv,LinkIcon:ec,LinkedinIcon:a4,LinuxIcon:B2,ListOrderedIcon:I2,ListUnorderedIcon:A2,LocationIcon:m3,LockIcon:X4,MarkdownIcon:k2,MarkupIcon:E2,MediumIcon:Q2,MemoryIcon:b4,MenuIcon:x2,MergeIcon:L2,MirrorIcon:Um,MobileIcon:s4,MoonIcon:l2,NutIcon:C4,OutboxIcon:Q4,OutlineIcon:Pm,PaintBrushIcon:qm,PaperClipIcon:R2,ParagraphIcon:_2,PassedIcon:N4,PhoneIcon:pv,PhotoDragIcon:Hm,PhotoIcon:Lm,PinAltIcon:P4,PinIcon:v3,PlayBackIcon:Jm,PlayIcon:Zm,PlayNextIcon:Qm,PlusIcon:$4,PointerDefaultIcon:nv,PointerHandIcon:av,PowerIcon:x4,PrintIcon:u2,ProceedIcon:p3,ProfileIcon:_3,PullRequestIcon:$2,QuestionIcon:iv,RSSIcon:gv,RedirectIcon:l3,ReduxIcon:e4,RefreshIcon:f3,ReplyIcon:i3,RepoIcon:O2,RequestChangeIcon:G4,RewindIcon:e2,RulerIcon:Gm,SearchIcon:jm,ShareAltIcon:mv,ShareIcon:vv,ShieldIcon:Tv,SideBySideIcon:n2,SidebarAltIcon:u4,SidebarAltToggleIcon:p4,SidebarIcon:d4,SidebarToggleIcon:f4,SpeakerIcon:Xm,StackedIcon:a2,StarHollowIcon:Iv,StarIcon:Av,StickerIcon:Hv,StopAltIcon:r2,StopIcon:Ym,StorybookIcon:j2,StructureIcon:y4,SubtractIcon:Qs,SunIcon:o2,SupportIcon:sv,SwitchAltIcon:Vm,SyncIcon:s3,TabletIcon:i4,ThumbsUpIcon:Ov,TimeIcon:b3,TimerIcon:w3,TransferIcon:o3,TrashIcon:B4,TwitterIcon:t4,TypeIcon:rv,UbuntuIcon:P2,UndoIcon:nc,UnfoldIcon:a3,UnlockIcon:Z4,UnpinIcon:H4,UploadIcon:c3,UserAddIcon:I3,UserAltIcon:R3,UserIcon:C3,UsersIcon:A3,VSCodeIcon:n4,VerifiedIcon:kv,VideoIcon:Zs,WandIcon:A4,WatchIcon:c4,WindowsIcon:H2,WrenchIcon:R4,XIcon:o4,YoutubeIcon:r4,ZoomIcon:Ws,ZoomOutIcon:qs,ZoomResetIcon:Gs,iconList:$m},Symbol.toStringTag,{value:"Module"})),{global:z3}=__STORYBOOK_MODULE_GLOBAL__,{deprecate:ac,logger:B3}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var te=({...e},t)=>{let r=[e.class,e.className];return delete e.class,e.className=["sbdocs",`sbdocs-${t}`,...r].filter(Boolean).join(" "),e};function P3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tr(e,t){return Tr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},Tr(e,t)}function H3(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Tr(e,t)}function Ka(e){return Ka=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Ka(e)}function F3(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}function j3(){if(typeof Reflect>"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 dn(e,t,r){return j3()?dn=Reflect.construct.bind():dn=function(n,a,l){var i=[null];i.push.apply(i,a);var c=Function.bind.apply(n,i),s=new c;return l&&Tr(s,l.prototype),s},dn.apply(null,arguments)}function Xa(e){var t=typeof Map=="function"?new Map:void 0;return Xa=function(r){if(r===null||!F3(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(r))return t.get(r);t.set(r,n)}function n(){return dn(r,arguments,Ka(this).constructor)}return n.prototype=Object.create(r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Tr(n,r)},Xa(e)}var N3={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 D3(){for(var e=arguments.length,t=new Array(e),r=0;r1?a-1:0),i=1;i=0&&a<1?(c=l,s=i):a>=1&&a<2?(c=i,s=l):a>=2&&a<3?(s=l,d=i):a>=3&&a<4?(s=i,d=l):a>=4&&a<5?(c=i,d=l):a>=5&&a<6&&(c=l,d=i);var p=r-l/2,h=c+p,m=s+p,f=d+p;return n(h,m,f)}var xi={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 U3(e){if(typeof e!="string")return e;var t=e.toLowerCase();return xi[t]?"#"+xi[t]:e}var W3=/^#[a-fA-F0-9]{6}$/,q3=/^#[a-fA-F0-9]{8}$/,G3=/^#[a-fA-F0-9]{3}$/,Y3=/^#[a-fA-F0-9]{4}$/,ga=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,K3=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,X3=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,Z3=/^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 Xo(e){if(typeof e!="string")throw new Je(3);var t=U3(e);if(t.match(W3))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(q3)){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(G3))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(Y3)){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=ga.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var l=K3.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 i=X3.exec(t);if(i){var c=parseInt(""+i[1],10),s=parseInt(""+i[2],10)/100,d=parseInt(""+i[3],10)/100,p="rgb("+Mr(c,s,d)+")",h=ga.exec(p);if(!h)throw new Je(4,t,p);return{red:parseInt(""+h[1],10),green:parseInt(""+h[2],10),blue:parseInt(""+h[3],10)}}var m=Z3.exec(t.substring(0,50));if(m){var f=parseInt(""+m[1],10),v=parseInt(""+m[2],10)/100,g=parseInt(""+m[3],10)/100,E="rgb("+Mr(f,v,g)+")",x=ga.exec(E);if(!x)throw new Je(4,t,E);return{red:parseInt(""+x[1],10),green:parseInt(""+x[2],10),blue:parseInt(""+x[3],10),alpha:parseFloat(""+m[4])>1?parseFloat(""+m[4])/100:parseFloat(""+m[4])}}throw new Je(5)}function J3(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),l=Math.min(t,r,n),i=(a+l)/2;if(a===l)return e.alpha!==void 0?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var c,s=a-l,d=i>.5?s/(2-a-l):s/(a+l);switch(a){case t:c=(r-n)/s+(r=1?xn(e,t,r):"rgba("+Mr(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?xn(e.hue,e.saturation,e.lightness):"rgba("+Mr(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Je(2)}function Ja(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return Za("#"+Rt(e)+Rt(t)+Rt(r));if(typeof e=="object"&&t===void 0&&r===void 0)return Za("#"+Rt(e.red)+Rt(e.green)+Rt(e.blue));throw new Je(6)}function En(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=Xo(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?Ja(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?Ja(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Je(7)}var n7=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},a7=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},o7=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},l7=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function lc(e){if(typeof e!="object")throw new Je(8);if(a7(e))return En(e);if(n7(e))return Ja(e);if(l7(e))return r7(e);if(o7(e))return t7(e);throw new Je(8)}function ic(e,t,r){return function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):ic(e,t,n)}}function Zo(e){return ic(e,e.length,[])}function Jo(e,t,r){return Math.max(e,Math.min(t,r))}function i7(e,t){if(t==="transparent")return t;var r=oc(t);return lc(G({},r,{lightness:Jo(0,1,r.lightness-parseFloat(e))}))}var s7=Zo(i7),Yt=s7;function c7(e,t){if(t==="transparent")return t;var r=oc(t);return lc(G({},r,{lightness:Jo(0,1,r.lightness+parseFloat(e))}))}var d7=Zo(c7),Ei=d7;function u7(e,t){if(t==="transparent")return t;var r=Xo(t),n=typeof r.alpha=="number"?r.alpha:1,a=G({},r,{alpha:Jo(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return En(a)}var p7=Zo(u7),_e=p7,ir=({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"}}),ct=({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"?_e(.1,e.color.defaultText):_e(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border}),re=({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"}),Nt={margin:"16px 0"},f7=({href:e,...t})=>{let r=/^\//.test(e)?`./?path=${e}`:e,n=/^#.*/.test(e)?"_self":"_top";return u.createElement("a",{href:r,target:n,...t})},sc=A(f7)(re,({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}})),cc=A.blockquote(re,Nt,({theme:e})=>({borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}})),h7=e=>typeof e=="string",g7=/[\n\r]/g,m7=A.code(({theme:e})=>({fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"}),ct),v7=A(Fo)(({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"}})),Qo=({className:e,children:t,...r})=>{let n=(e||"").match(/lang-(\S+)/),a=o.Children.toArray(t);return a.filter(h7).some(l=>l.match(g7))?u.createElement(v7,{bordered:!0,copyable:!0,language:(n==null?void 0:n[1])??"text",format:!1,...r},t):u.createElement(m7,{...r,className:e},a)},dc=A.div(re),uc=A.dl(re,Nt,{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}}),pc=A.h1(re,ir,({theme:e})=>({fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold})),el=A.h2(re,ir,({theme:e})=>({fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`})),tl=A.h3(re,ir,({theme:e})=>({fontSize:`${e.typography.size.m1}px`})),fc=A.h4(re,ir,({theme:e})=>({fontSize:`${e.typography.size.s3}px`})),hc=A.h5(re,ir,({theme:e})=>({fontSize:`${e.typography.size.s2}px`})),gc=A.h6(re,ir,({theme:e})=>({fontSize:`${e.typography.size.s2}px`,color:e.color.dark})),mc=A.hr(({theme:e})=>({border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0})),vc=A.img({maxWidth:"100%"}),bc=A.li(re,({theme:e})=>({fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":ct({theme:e})})),b7={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},yc=A.ol(re,Nt,b7,{listStyle:"decimal"}),wc=A.p(re,Nt,({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":ct({theme:e})})),xc=A.pre(re,Nt,({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"}})),Ec=A.span(re,({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"}}})),Sc=A.table(re,Nt,({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}})),Cc=A.title(ct),y7={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},Rc=A.ul(re,Nt,y7,{listStyle:"disc"}),Nn=A.div(re),Ic={h1:e=>u.createElement(pc,{...te(e,"h1")}),h2:e=>u.createElement(el,{...te(e,"h2")}),h3:e=>u.createElement(tl,{...te(e,"h3")}),h4:e=>u.createElement(fc,{...te(e,"h4")}),h5:e=>u.createElement(hc,{...te(e,"h5")}),h6:e=>u.createElement(gc,{...te(e,"h6")}),pre:e=>u.createElement(xc,{...te(e,"pre")}),a:e=>u.createElement(sc,{...te(e,"a")}),hr:e=>u.createElement(mc,{...te(e,"hr")}),dl:e=>u.createElement(uc,{...te(e,"dl")}),blockquote:e=>u.createElement(cc,{...te(e,"blockquote")}),table:e=>u.createElement(Sc,{...te(e,"table")}),img:e=>u.createElement(vc,{...te(e,"img")}),div:e=>u.createElement(dc,{...te(e,"div")}),span:e=>u.createElement(Ec,{...te(e,"span")}),li:e=>u.createElement(bc,{...te(e,"li")}),ul:e=>u.createElement(Rc,{...te(e,"ul")}),ol:e=>u.createElement(yc,{...te(e,"ol")}),p:e=>u.createElement(wc,{...te(e,"p")}),code:e=>u.createElement(Qo,{...te(e,"code")}),tt:e=>u.createElement(Cc,{...te(e,"tt")}),resetwrapper:e=>u.createElement(Nn,{...te(e,"resetwrapper")})},w7=A.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 ${_e(.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 ${_e(.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 ${_e(.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 ${_e(.9,e.color.positiveText)}`:"none"};default:return{}}}),x7=({...e})=>u.createElement(w7,{...e}),E7=0,S7=e=>e.button===E7&&!e.altKey&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey,C7=(e,t)=>{S7(e)&&(e.preventDefault(),t(e))},R7=A.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}}:{}),I7=A.a(({theme:e})=>({display:"inline-block",transition:"all 150ms ease-out",textDecoration:"none",color:e.color.secondary,"&:hover, &:focus":{cursor:"pointer",color:Yt(.07,e.color.secondary),"svg path:not([fill])":{fill:Yt(.07,e.color.secondary)}},"&:active":{color:Yt(.1,e.color.secondary),"svg path:not([fill])":{fill:Yt(.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"}:{}),$t=({cancel:e=!0,children:t,onClick:r=void 0,withArrow:n=!1,containsIcon:a=!1,className:l=void 0,style:i=void 0,...c})=>u.createElement(I7,{...c,onClick:r&&e?s=>C7(s,r):r,className:l},u.createElement(R7,{withArrow:n,containsIcon:a},t,n&&u.createElement(Yo,null))),A7=A.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}})),Lt=[],nr=null,_7=o.lazy(async()=>{let{SyntaxHighlighter:e}=await Bt(()=>import("./syntaxhighlighter-JOJW2KGS-1NrGDv_k.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url);return Lt.length>0&&(Lt.forEach(t=>{e.registerLanguage(...t)}),Lt=[]),nr===null&&(nr=e),{default:t=>u.createElement(e,{...t})}}),k7=o.lazy(async()=>{let[{SyntaxHighlighter:e},{formatter:t}]=await Promise.all([Bt(()=>import("./syntaxhighlighter-JOJW2KGS-1NrGDv_k.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url),Bt(()=>import("./formatter-B5HCVTEV-5UYepfUx.js"),__vite__mapDeps([7,1,2,3,4,5,6]),import.meta.url)]);return Lt.length>0&&(Lt.forEach(r=>{e.registerLanguage(...r)}),Lt=[]),nr===null&&(nr=e),{default:r=>u.createElement(e,{...r,formatter:t})}}),Dn=e=>u.createElement(o.Suspense,{fallback:u.createElement("div",null)},e.format!==!1?u.createElement(k7,{...e}):u.createElement(_7,{...e}));Dn.registerLanguage=(...e)=>{if(nr!==null){nr.registerLanguage(...e);return}Lt.push(e)};var O7=e=>typeof e=="number"?e:Number(e),T7=A.div(({theme:e,col:t,row:r=1})=>t?{display:"inline-block",verticalAlign:"inherit","& > *":{marginLeft:t*e.layoutMargin,verticalAlign:"inherit"},[`& > *:first-child${Da}`]:{marginLeft:0}}:{"& > *":{marginTop:r*e.layoutMargin},[`& > *:first-child${Da}`]:{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{}}}),M7=({col:e,row:t,outer:r,children:n,...a})=>{let l=O7(typeof r=="number"||!r?r:e||t);return u.createElement(T7,{col:e,row:t,outer:l,...a},n)},$7=A.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),L7=A.div(),z7=A.div(({theme:e})=>({padding:30,textAlign:"center",color:e.color.defaultText,fontSize:e.typography.size.s2-1})),B7=({children:e,...t})=>{let[r,n]=o.Children.toArray(e);return u.createElement(z7,{...t},u.createElement($7,null,r),n&&u.createElement(L7,null,n))};function P7(e,t){var r=o.useRef(null),n=o.useRef(null);n.current=t;var a=o.useRef(null);o.useEffect(function(){l()});var l=o.useCallback(function(){var i=a.current,c=n.current,s=i||(c?c instanceof Element?c:c.current:null);r.current&&r.current.element===s&&r.current.subscriber===e||(r.current&&r.current.cleanup&&r.current.cleanup(),r.current={element:s,subscriber:e,cleanup:s?e(s):void 0})},[e]);return o.useEffect(function(){return function(){r.current&&r.current.cleanup&&(r.current.cleanup(),r.current=null)}},[]),o.useCallback(function(i){a.current=i,l()},[l])}function Si(e,t,r){return e[t]?e[t][0]?e[t][0][r]:e[t][r]:t==="contentBoxSize"?e.contentRect[r==="inlineSize"?"width":"height"]:void 0}function Ac(e){e===void 0&&(e={});var t=e.onResize,r=o.useRef(void 0);r.current=t;var n=e.round||Math.round,a=o.useRef(),l=o.useState({width:void 0,height:void 0}),i=l[0],c=l[1],s=o.useRef(!1);o.useEffect(function(){return s.current=!1,function(){s.current=!0}},[]);var d=o.useRef({width:void 0,height:void 0}),p=P7(o.useCallback(function(h){return(!a.current||a.current.box!==e.box||a.current.round!==n)&&(a.current={box:e.box,round:n,instance:new ResizeObserver(function(m){var f=m[0],v=e.box==="border-box"?"borderBoxSize":e.box==="device-pixel-content-box"?"devicePixelContentBoxSize":"contentBoxSize",g=Si(f,v,"inlineSize"),E=Si(f,v,"blockSize"),x=g?n(g):void 0,y=E?n(E):void 0;if(d.current.width!==x||d.current.height!==y){var b={width:x,height:y};d.current.width=x,d.current.height=y,r.current?r.current(b):s.current||c(b)}})}),a.current.instance.observe(h,{box:e.box}),function(){a.current&&a.current.instance.unobserve(h)}},[e.box,n]),e.ref);return o.useMemo(function(){return{ref:p,width:i.width,height:i.height}},[p,i.width,i.height])}var H7=A.div(({scale:e=1,elementHeight:t})=>({height:t||"auto",transformOrigin:"top left",transform:`scale(${1/e})`}));function F7({scale:e,children:t}){let r=o.useRef(null),[n,a]=o.useState(0),l=o.useCallback(({height:i})=>{i&&a(i/e)},[e]);return o.useEffect(()=>{r.current&&a(r.current.getBoundingClientRect().height)},[e]),Ac({ref:r,onResize:l}),u.createElement(H7,{scale:e,elementHeight:n},u.createElement("div",{ref:r,className:"innerZoomElementWrapper"},t))}var j7=class extends o.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{iFrameRef:e}=this.props;this.iframe=e.current}shouldComponentUpdate(e){let{scale:t,active:r}=this.props;return t!==e.scale&&this.setIframeInnerZoom(e.scale),r!==e.active&&this.iframe.setAttribute("data-is-storybook",e.active?"true":"false"),e.children.props.src!==this.props.children.props.src}setIframeInnerZoom(e){try{Object.assign(this.iframe.contentDocument.body.style,{width:`${e*100}%`,height:`${e*100}%`,transform:`scale(${1/e})`,transformOrigin:"top left"})}catch{this.setIframeZoom(e)}}setIframeZoom(e){Object.assign(this.iframe.style,{width:`${e*100}%`,height:`${e*100}%`,transform:`scale(${1/e})`,transformOrigin:"top left"})}render(){let{children:e}=this.props;return u.createElement(u.Fragment,null,e)}},_c={Element:F7,IFrame:j7},{document:N7}=z3,D7=A.strong(({theme:e})=>({color:e.color.orange})),V7=A.strong(({theme:e})=>({color:e.color.ancillary,textDecoration:"underline"})),Ci=A.em(({theme:e})=>({color:e.textMutedColor})),U7=/(Error): (.*)\n/,W7=/at (?:(.*) )?\(?(.+)\)?/,q7=/([^@]+)?(?:\/<)?@(.+)?/,G7=/([^@]+)?@(.+)?/,kc=({error:e})=>{if(!e)return u.createElement(o.Fragment,null,"This error has no stack or message");if(!e.stack)return u.createElement(o.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(U7);if(!r)return u.createElement(o.Fragment,null,t);let[,n,a]=r,l=t.split(/\n/).slice(1),[,...i]=l.map(c=>{let s=c.match(W7)||c.match(q7)||c.match(G7);return s?{name:(s[1]||"").replace("/<",""),location:s[2].replace(N7.location.origin,"")}:null}).filter(Boolean);return u.createElement(o.Fragment,null,u.createElement("span",null,n),": ",u.createElement(D7,null,a),u.createElement("br",null),i.map((c,s)=>c.name?u.createElement(o.Fragment,{key:s}," ","at ",u.createElement(V7,null,c.name)," (",u.createElement(Ci,null,c.location),")",u.createElement("br",null)):u.createElement(o.Fragment,{key:s}," ","at ",u.createElement(Ci,null,c.location),u.createElement("br",null))))},yt=o.forwardRef(({asChild:e=!1,animation:t="none",size:r="small",variant:n="outline",padding:a="medium",disabled:l=!1,active:i=!1,onClick:c,...s},d)=>{let p="button";s.isLink&&(p="a"),e&&(p=To);let h=n,m=r,[f,v]=o.useState(!1),g=E=>{c&&c(E),t!=="none"&&v(!0)};if(o.useEffect(()=>{let E=setTimeout(()=>{f&&v(!1)},1e3);return()=>clearTimeout(E)},[f]),s.primary&&(h="solid",m="medium"),(s.secondary||s.tertiary||s.gray||s.outline||s.inForm)&&(h="outline",m="medium"),s.small||s.isLink||s.primary||s.secondary||s.tertiary||s.gray||s.outline||s.inForm||s.containsIcon){let E=u.Children.toArray(s.children).filter(x=>typeof x=="string"&&x!=="");ac(`Use of deprecated props in the button ${E.length>0?`"${E.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 u.createElement(Y7,{as:p,ref:d,variant:h,size:m,padding:a,disabled:l,active:i,animating:f,animation:t,onClick:g,...s})});yt.displayName="Button";var Y7=A("button",{shouldForwardProp:e=>yo(e)})(({theme:e,variant:t,size:r,disabled:n,active:a,animating:l,animation:i,padding:c})=>({border:0,cursor:n?"not-allowed":"pointer",display:"inline-flex",gap:"6px",alignItems:"center",justifyContent:"center",overflow:"hidden",padding:c==="small"&&r==="small"?"0 7px":c==="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?_e(.9,e.barTextColor):"transparent",color:a?e.barSelectedColor:e.barTextColor,"&:hover":{color:e.barHoverColor,background:_e(.86,e.barHoverColor)},"&:active":{color:e.barSelectedColor,background:_e(.9,e.barSelectedColor)},"&:focus":{boxShadow:`${En(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:null,background:(()=>{let s=e.color.secondary;return t==="solid"&&(s=e.color.secondary),t==="outline"&&(s=e.button.background),t==="ghost"?_e(.86,e.color.secondary):e.base==="light"?Yt(.02,s):Ei(.03,s)})()},"&:active":{color:t==="ghost"?e.color.secondary:null,background:(()=>{let s=e.color.secondary;return t==="solid"&&(s=e.color.secondary),t==="outline"&&(s=e.button.background),t==="ghost"?e.background.hoverable:e.base==="light"?Yt(.02,s):Ei(.03,s)})()},"&:focus":{boxShadow:`${En(e.color.secondary,1)} 0 0 0 1px inset`,outline:"none"},"> svg":{animation:l&&i!=="none"?`${e.animation[i]} 1000ms ease-out`:""}})),zt=o.forwardRef(({padding:e="small",variant:t="ghost",...r},n)=>u.createElement(yt,{padding:e,variant:t,ref:n,...r}));zt.displayName="IconButton";var K7=A.label(({theme:e})=>({display:"flex",borderBottom:`1px solid ${e.appBorderColor}`,margin:"0 15px",padding:"8px 0","&:last-child":{marginBottom:"3rem"}})),X7=A.span(({theme:e})=>({minWidth:100,fontWeight:e.typography.weight.bold,marginRight:15,display:"flex",justifyContent:"flex-start",alignItems:"center",lineHeight:"16px"})),Oc=({label:e,children:t,...r})=>u.createElement(K7,{...r},e?u.createElement(X7,null,u.createElement("span",null,e)):null,t);Oc.defaultProps={label:void 0};var Z7=o.useLayoutEffect,J7=Z7,Q7=function(e){var t=o.useRef(e);return J7(function(){t.current=e}),t},Ri=function(e,t){if(typeof e=="function"){e(t);return}e.current=t},eb=function(e,t){var r=o.useRef();return o.useCallback(function(n){e.current=n,r.current&&Ri(r.current,null),r.current=t,t&&Ri(t,n)},[t])},tb=eb,Ii={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},rb=function(e){Object.keys(Ii).forEach(function(t){e.style.setProperty(t,Ii[t],"important")})},Ai=rb,be=null,_i=function(e,t){var r=e.scrollHeight;return t.sizingStyle.boxSizing==="border-box"?r+t.borderSize:r-t.paddingSize};function nb(e,t,r,n){r===void 0&&(r=1),n===void 0&&(n=1/0),be||(be=document.createElement("textarea"),be.setAttribute("tabindex","-1"),be.setAttribute("aria-hidden","true"),Ai(be)),be.parentNode===null&&document.body.appendChild(be);var a=e.paddingSize,l=e.borderSize,i=e.sizingStyle,c=i.boxSizing;Object.keys(i).forEach(function(m){var f=m;be.style[f]=i[f]}),Ai(be),be.value=t;var s=_i(be,e);be.value=t,s=_i(be,e),be.value="x";var d=be.scrollHeight-a,p=d*r;c==="border-box"&&(p=p+a+l),s=Math.max(p,s);var h=d*n;return c==="border-box"&&(h=h+a+l),s=Math.min(h,s),[s,d]}var ki=function(){},ab=function(e,t){return e.reduce(function(r,n){return r[n]=t[n],r},{})},ob=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak"],lb=!!document.documentElement.currentStyle,ib=function(e){var t=window.getComputedStyle(e);if(t===null)return null;var r=ab(ob,t),n=r.boxSizing;if(n==="")return null;lb&&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),l=parseFloat(r.borderBottomWidth)+parseFloat(r.borderTopWidth);return{sizingStyle:r,paddingSize:a,borderSize:l}},sb=ib;function Tc(e,t,r){var n=Q7(r);o.useLayoutEffect(function(){var a=function(l){return n.current(l)};if(e)return e.addEventListener(t,a),function(){return e.removeEventListener(t,a)}},[])}var cb=function(e){Tc(window,"resize",e)},db=function(e){Tc(document.fonts,"loadingdone",e)},ub=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],pb=function(e,t){var r=e.cacheMeasurements,n=e.maxRows,a=e.minRows,l=e.onChange,i=l===void 0?ki:l,c=e.onHeightChange,s=c===void 0?ki:c,d=_o(e,ub),p=d.value!==void 0,h=o.useRef(null),m=tb(h,t),f=o.useRef(0),v=o.useRef(),g=function(){var x=h.current,y=r&&v.current?v.current:sb(x);if(y){v.current=y;var b=nb(y,x.value||x.placeholder||"x",a,n),w=b[0],S=b[1];f.current!==w&&(f.current=w,x.style.setProperty("height",w+"px","important"),s(w,{rowHeight:S}))}},E=function(x){p||g(),i(x)};return o.useLayoutEffect(g),cb(g),db(g),o.createElement("textarea",G({},d,{onChange:E,ref:m}))},fb=o.forwardRef(pb),hb={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},rl=({theme:e})=>({...hb,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}}),nl=({size:e})=>{switch(e){case"100%":return{width:"100%"};case"flex":return{flex:1};case"auto":default:return{display:"inline"}}},Mc=({align:e})=>{switch(e){case"end":return{textAlign:"right"};case"center":return{textAlign:"center"};case"start":default:return{textAlign:"left"}}},al=({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{}}},gb=Object.assign(A(o.forwardRef(function({size:e,valid:t,align:r,...n},a){return u.createElement("input",{...n,ref:a})}))(rl,nl,Mc,al,{minHeight:32}),{displayName:"Input"}),mb=Object.assign(A(o.forwardRef(function({size:e,valid:t,align:r,...n},a){return u.createElement("select",{...n,ref:a})}))(rl,nl,al,{height:32,userSelect:"none",paddingRight:20,appearance:"menulist"}),{displayName:"Select"}),vb=Object.assign(A(o.forwardRef(function({size:e,valid:t,align:r,...n},a){return u.createElement(fb,{...n,ref:a})}))(rl,nl,Mc,al,({height:e=400})=>({overflow:"visible",maxHeight:e})),{displayName:"Textarea"}),Ht=Object.assign(A.form({boxSizing:"border-box",width:"100%"}),{Field:Oc,Input:gb,Select:mb,Textarea:vb,Button:yt}),bb=o.lazy(()=>Bt(()=>import("./WithTooltip-Y7J54OF7-H17sMcTj.js"),__vite__mapDeps([8,1,2,3,4,5,6]),import.meta.url).then(e=>({default:e.WithTooltip}))),yb=e=>u.createElement(o.Suspense,{fallback:u.createElement("div",null)},u.createElement(bb,{...e})),wb=o.lazy(()=>Bt(()=>import("./WithTooltip-Y7J54OF7-H17sMcTj.js"),__vite__mapDeps([8,1,2,3,4,5,6]),import.meta.url).then(e=>({default:e.WithTooltipPure}))),$c=e=>u.createElement(o.Suspense,{fallback:u.createElement("div",null)},u.createElement(wb,{...e})),xb=A.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),Eb=A.span(),Sb=A.div(({theme:e})=>({marginTop:8,textAlign:"center","> *":{margin:"0 8px",fontWeight:e.typography.weight.bold}})),Cb=A.div(({theme:e})=>({color:e.color.defaultText,lineHeight:"18px"})),Rb=A.div({padding:15,width:280,boxSizing:"border-box"}),Lc=({title:e,desc:t,links:r})=>u.createElement(Rb,null,u.createElement(Cb,null,e&&u.createElement(xb,null,e),t&&u.createElement(Eb,null,t)),r&&u.createElement(Sb,null,r.map(({title:n,...a})=>u.createElement($t,{...a,key:n},n))));Lc.defaultProps={title:null,desc:null,links:null};var Ib=A.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})),Ab=({note:e,...t})=>u.createElement(Ib,{...t},e),_b=A(({active:e,loading:t,disabled:r,...n})=>u.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:_e(.7,t.color.defaultText)}:{}),kb=A.span({display:"flex","& svg":{height:12,width:12,margin:"3px 0",verticalAlign:"top"},"& path":{fill:"inherit"}}),Ob=A.span({flex:1,textAlign:"left",display:"flex",flexDirection:"column"},({isIndented:e})=>e?{marginLeft:24}:{}),Tb=A.span(({theme:e})=>({fontSize:"11px",lineHeight:"14px"}),({active:e,theme:t})=>e?{color:t.color.secondary}:{},({theme:e,disabled:t})=>t?{color:e.textMutedColor}:{}),Mb=A.span(({active:e,theme:t})=>e?{color:t.color.secondary}:{},()=>({display:"flex",maxWidth:14})),$b=A.a(({theme:e})=>({fontSize:e.typography.size.s1,transition:"all 150ms ease-out",color:e.color.dark,textDecoration:"none",cursor:"pointer",justifyContent:"space-between",lineHeight:"18px",padding:"7px 10px",display:"flex",alignItems:"center","& > * + *":{paddingLeft:10},"&:hover":{background:e.background.hoverable},"&:hover svg":{opacity:1}}),({disabled:e})=>e?{cursor:"not-allowed"}:{}),Lb=Ft(100)((e,t,r)=>{let n={};return e&&Object.assign(n,{onClick:e}),t&&Object.assign(n,{href:t}),r&&t&&Object.assign(n,{to:t,as:r}),n}),zc=({loading:e,title:t,center:r,right:n,icon:a,active:l,disabled:i,isIndented:c,href:s,onClick:d,LinkWrapper:p,...h})=>{let m=Lb(d,s,p),f={active:l,disabled:i};return u.createElement($b,{...f,...h,...m},a&&u.createElement(Mb,{...f},a),t||r?u.createElement(Ob,{isIndented:!a&&c},t&&u.createElement(_b,{...f,loading:e},t),r&&u.createElement(Tb,{...f},r)):null,n&&u.createElement(kb,{...f},n))};zc.defaultProps={loading:!1,title:u.createElement("span",null,"Loading state"),center:null,right:null,active:!1,disabled:!1,href:null,LinkWrapper:null,onClick:null};var ol=zc,zb=A.div({minWidth:180,overflow:"hidden",overflowY:"auto",maxHeight:15.5*32},({theme:e})=>({borderRadius:e.appBorderRadius})),Bb=e=>{let{LinkWrapper:t,onClick:r,id:n,isIndented:a,...l}=e,{title:i,href:c,active:s}=l,d=o.useCallback(h=>{r(h,l)},[r]),p=!!r;return u.createElement(ol,{title:i,active:s,href:c,id:`list-item-${n}`,LinkWrapper:t,isIndented:a,...l,...p?{onClick:d}:{}})},ll=({links:e,LinkWrapper:t})=>{let r=e.some(n=>n.icon);return u.createElement(zb,null,e.map(({isGatsby:n,...a})=>u.createElement(Bb,{key:a.id,LinkWrapper:n?t:null,isIndented:r,...a})))};ll.defaultProps={LinkWrapper:ol.defaultProps.LinkWrapper};var Pb=e=>typeof e.props.href=="string",Hb=e=>typeof e.props.href!="string";function Fb({children:e,...t},r){let n={props:t,ref:r};if(Pb(n))return u.createElement("a",{ref:n.ref,...n.props},e);if(Hb(n))return u.createElement("button",{ref:n.ref,type:"button",...n.props},e);throw new Error("invalid props")}var Bc=o.forwardRef(Fb);Bc.displayName="ButtonOrLink";var Dr=A(Bc,{shouldForwardProp:yo})({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}});Dr.displayName="TabButton";var jb=A.div(({theme:e})=>({width:14,height:14,backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),Nb=A.div(()=>({marginTop:6,padding:7,height:28})),Db=()=>u.createElement(Nb,null,u.createElement(jb,null)),Qa=A.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}}:{});Qa.displayName="Side";var Vb=({children:e,className:t,scrollable:r})=>r?u.createElement(Ho,{vertical:!1,className:t},e):u.createElement("div",{className:t},e),il=A(Vb)(({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}:{});il.displayName="Bar";var Ub=A.div(({bgColor:e})=>({display:"flex",justifyContent:"space-between",position:"relative",flexWrap:"nowrap",flexShrink:0,height:40,backgroundColor:e||""})),Vn=({children:e,backgroundColor:t,className:r,...n})=>{let[a,l]=o.Children.toArray(e);return u.createElement(il,{className:`sb-bar ${r}`,...n},u.createElement(Ub,{bgColor:t},u.createElement(Qa,{scrollable:n.scrollable,left:!0},a),l?u.createElement(Qa,{right:!0},l):null))};Vn.displayName="FlexBar";var Pc=A.div(({active:e})=>e?{display:"block"}:{display:"none"}),Oi=e=>o.Children.toArray(e).map(({props:{title:t,id:r,color:n,children:a}})=>{let l=Array.isArray(a)?a[0]:a;return{title:t,id:r,...n?{color:n}:{},render:typeof l=="function"?l:({active:i})=>u.createElement(Pc,{active:i,role:"tabpanel"},l)}}),Wb=A.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"})),qb=A(Dr)(({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 Gb(e){let t=o.useRef(),r=o.useRef(),n=o.useRef(new Map),{width:a=1}=Ac({ref:t}),[l,i]=o.useState(e),[c,s]=o.useState([]),d=o.useRef(e),p=o.useCallback(({menuName:m,actions:f})=>{let v=c.some(({active:x})=>x),[g,E]=o.useState(!1);return u.createElement(u.Fragment,null,u.createElement(Mm,{interactive:!0,visible:g,onVisibleChange:E,placement:"bottom",delayHide:100,tooltip:u.createElement(ll,{links:c.map(({title:x,id:y,color:b,active:w})=>({id:y,title:x,color:b,active:w,onClick:S=>{S.preventDefault(),f.onSelect(y)}}))})},u.createElement(qb,{ref:r,active:v,preActive:g,style:{visibility:c.length?"visible":"hidden"},"aria-hidden":!c.length,className:"tabbutton",type:"button",role:"tab"},m,u.createElement(Wb,{className:"addon-collapsible-icon",isActive:v||g}))),c.map(({title:x,id:y,color:b},w)=>{let S=`index-${w}`;return u.createElement(Dr,{id:`tabbutton-${x0(y)??S}`,style:{visibility:"hidden"},"aria-hidden":!0,tabIndex:-1,ref:C=>{n.current.set(y,C)},className:"tabbutton",type:"button",key:y,textColor:b,role:"tab"},x)}))},[c]),h=o.useCallback(()=>{if(!t.current||!r.current)return;let{x:m,width:f}=t.current.getBoundingClientRect(),{width:v}=r.current.getBoundingClientRect(),g=c.length?m+f-v:m+f,E=[],x=0,y=e.filter(b=>{let{id:w}=b,S=n.current.get(w),{width:C=0}=(S==null?void 0:S.getBoundingClientRect())||{},R=m+x+C>g;return(!R||!S)&&E.push(b),x+=C,R});(E.length!==l.length||d.current!==e)&&(i(E),s(y),d.current=e)},[c.length,e,l]);return o.useLayoutEffect(h,[h,a]),{tabRefs:n,addonsRef:r,tabBarRef:t,visibleList:l,invisibleList:c,AddonTab:p}}var Yb=A.div(({theme:e})=>({height:"100%",display:"flex",padding:30,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:e.background.content})),Kb=A.div({display:"flex",flexDirection:"column",gap:4,maxWidth:415}),Xb=A.div(({theme:e})=>({fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textColor})),Zb=A.div(({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textMutedColor})),sl=({title:e,description:t,footer:r})=>u.createElement(Yb,null,u.createElement(Kb,null,u.createElement(Xb,null,e),t&&u.createElement(Zb,null,t)),r),Jb="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */",Qb=A.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"}),cl=A.div({overflow:"hidden","&:first-of-type":{marginLeft:-3},whiteSpace:"nowrap",flexGrow:1});cl.displayName="TabBar";var ey=A.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${Jb}`]:{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"}}:{}),ty=({active:e,render:t,children:r})=>u.createElement(Pc,{active:e},t?t():r),Un=o.memo(({children:e,selected:t,actions:r,absolute:n,bordered:a,tools:l,backgroundColor:i,id:c,menuName:s,emptyState:d,showToolsWhenEmpty:p})=>{let h=Oi(e).map(y=>y.id).join(","),m=o.useMemo(()=>Oi(e).map((y,b)=>({...y,active:t?y.id===t:b===0})),[t,h]),{visibleList:f,tabBarRef:v,tabRefs:g,AddonTab:E}=Gb(m),x=d??u.createElement(sl,{title:"Nothing found"});return!p&&m.length===0?x:u.createElement(Qb,{absolute:n,bordered:a,id:c},u.createElement(Vn,{scrollable:!1,border:!0,backgroundColor:i},u.createElement(cl,{style:{whiteSpace:"normal"},ref:v,role:"tablist"},f.map(({title:y,id:b,active:w,color:S},C)=>{let R=`index-${C}`;return u.createElement(Dr,{id:`tabbutton-${x0(b)??R}`,ref:I=>{g.current.set(b,I)},className:`tabbutton ${w?"tabbutton-active":""}`,type:"button",key:b,active:w,textColor:S,onClick:I=>{I.preventDefault(),r.onSelect(b)},role:"tab"},typeof y=="function"?u.createElement("title",null):y)}),u.createElement(E,{menuName:s,actions:r})),l),u.createElement(ey,{id:"panel-tab-content",bordered:a,absolute:n},m.length?m.map(({id:y,active:b,render:w})=>u.createElement(w,{key:y,active:b},null)):x))});Un.displayName="Tabs";Un.defaultProps={id:null,children:null,tools:null,selected:null,absolute:!1,bordered:!1,menuName:"Tabs"};var dl=class extends o.Component{constructor(e){super(e),this.handlers={onSelect:t=>this.setState({selected:t})},this.state={selected:e.initial}}render(){let{bordered:e=!1,absolute:t=!1,children:r,backgroundColor:n,menuName:a}=this.props,{selected:l}=this.state;return u.createElement(Un,{bordered:e,absolute:t,selected:l,backgroundColor:n,menuName:a,actions:this.handlers},r)}};dl.defaultProps={children:[],initial:null,absolute:!1,bordered:!1,backgroundColor:"",menuName:void 0};var ul=A.span(({theme:e})=>({width:1,height:20,background:e.appBorderColor,marginLeft:2,marginRight:2}),({force:e})=>e?{}:{"& + &":{display:"none"}});ul.displayName="Separator";var ry=e=>e.reduce((t,r,n)=>r?u.createElement(o.Fragment,{key:r.id||r.key||`f-${n}`},t,n>0?u.createElement(ul,{key:`s-${n}`}):null,r.render()||r):t,null),ny=e=>{let t=o.useRef();return o.useEffect(()=>{t.current=e},[e]),t.current},ay=(e,t)=>{let r=ny(t);return e?t:r},oy=({active:e,children:t})=>u.createElement("div",{hidden:!e},ay(e,t)),ly=L3,iy=A.svg` + display: inline-block; + shape-rendering: inherit; + vertical-align: middle; + fill: currentColor; + path { + fill: currentColor; + } +`,sy=({icon:e,useSymbol:t,__suppressDeprecationWarning:r=!1,...n})=>{r||ac(`Use of the deprecated Icons ${`(${e})`||""} component detected. Please use the @storybook/icons component directly. For more informations, see the migration notes at https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#icons-is-deprecated`);let a=Sn[e]||null;if(!a)return B3.warn(`Use of an unknown prop ${`(${e})`||""} in the Icons component. The Icons component is deprecated. Please use the @storybook/icons component directly. For more informations, see the migration notes at https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#icons-is-deprecated`),null;let l=ly[a];return u.createElement(l,{...n})},cy=o.memo(function({icons:e=Object.keys(Sn)}){return u.createElement(iy,{viewBox:"0 0 14 14",style:{position:"absolute",width:0,height:0},"data-chromatic":"ignore"},e.map(t=>u.createElement("symbol",{id:`icon--${t}`,key:t},Sn[t])))}),Sn={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"},dy=({alt:e,...t})=>u.createElement("svg",{width:"200px",height:"40px",viewBox:"0 0 200 40",...t,role:"img"},e?u.createElement("title",null,e):null,u.createElement("defs",null,u.createElement("path",{d:"M1.2 36.9L0 3.9c0-1.1.8-2 1.9-2.1l28-1.8a2 2 0 0 1 2.2 1.9 2 2 0 0 1 0 .1v36a2 2 0 0 1-2 2 2 2 0 0 1-.1 0L3.2 38.8a2 2 0 0 1-2-2z",id:"a"})),u.createElement("g",{fill:"none",fillRule:"evenodd"},u.createElement("path",{d:"M53.3 31.7c-1.7 0-3.4-.3-5-.7-1.5-.5-2.8-1.1-3.9-2l1.6-3.5c2.2 1.5 4.6 2.3 7.3 2.3 1.5 0 2.5-.2 3.3-.7.7-.5 1.1-1 1.1-1.9 0-.7-.3-1.3-1-1.7s-2-.8-3.7-1.2c-2-.4-3.6-.9-4.8-1.5-1.1-.5-2-1.2-2.6-2-.5-1-.8-2-.8-3.2 0-1.4.4-2.6 1.2-3.6.7-1.1 1.8-2 3.2-2.6 1.3-.6 2.9-.9 4.7-.9 1.6 0 3.1.3 4.6.7 1.5.5 2.7 1.1 3.5 2l-1.6 3.5c-2-1.5-4.2-2.3-6.5-2.3-1.3 0-2.3.2-3 .8-.8.5-1.2 1.1-1.2 2 0 .5.2 1 .5 1.3.2.3.7.6 1.4.9l2.9.8c2.9.6 5 1.4 6.2 2.4a5 5 0 0 1 2 4.2 6 6 0 0 1-2.5 5c-1.7 1.2-4 1.9-7 1.9zm21-3.6l1.4-.1-.2 3.5-1.9.1c-2.4 0-4.1-.5-5.2-1.5-1.1-1-1.6-2.7-1.6-4.8v-6h-3v-3.6h3V11h4.8v4.6h4v3.6h-4v6c0 1.8.9 2.8 2.6 2.8zm11.1 3.5c-1.6 0-3-.3-4.3-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6.4-3 1-4.3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.3-1 1.7 0 3.2.3 4.4 1a7 7 0 0 1 3 2.8c.6 1.2 1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-2.7 1-4.4 1zm0-3.6c2.4 0 3.6-1.6 3.6-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.6-1c-2.3 0-3.5 1.4-3.5 4.4 0 3 1.2 4.6 3.5 4.6zm21.7-8.8l-2.7.3c-1.3.2-2.3.5-2.8 1.2-.6.6-.9 1.4-.9 2.5v8.2H96V15.7h4.6v2.6c.8-1.8 2.5-2.8 5-3h1.3l.3 4zm14-3.5h4.8L116.4 37h-4.9l3-6.6-6.4-14.8h5l4 10 4-10zm16-.4c1.4 0 2.6.3 3.6 1 1 .6 1.9 1.6 2.5 2.8.6 1.2.9 2.7.9 4.3 0 1.6-.3 3-1 4.3a6.9 6.9 0 0 1-2.4 2.9c-1 .7-2.2 1-3.6 1-1 0-2-.2-3-.7-.8-.4-1.5-1-2-1.9v2.4h-4.7V8.8h4.8v9c.5-.8 1.2-1.4 2-1.9.9-.4 1.8-.6 3-.6zM135.7 28c1.1 0 2-.4 2.6-1.2.6-.8 1-2 1-3.4 0-1.5-.4-2.5-1-3.3s-1.5-1.1-2.6-1.1-2 .3-2.6 1.1c-.6.8-1 2-1 3.3 0 1.5.4 2.6 1 3.4.6.8 1.5 1.2 2.6 1.2zm18.9 3.6c-1.7 0-3.2-.3-4.4-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6.4-3 1-4.3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.4-1 1.6 0 3 .3 4.3 1a7 7 0 0 1 3 2.8c.6 1.2 1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-2.7 1-4.3 1zm0-3.6c2.3 0 3.5-1.6 3.5-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.5-1c-2.4 0-3.6 1.4-3.6 4.4 0 3 1.2 4.6 3.6 4.6zm18 3.6c-1.7 0-3.2-.3-4.4-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6.4-3 1-4.3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.4-1 1.6 0 3 .3 4.4 1a7 7 0 0 1 2.9 2.8c.6 1.2 1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-2.7 1-4.3 1zm0-3.6c2.3 0 3.5-1.6 3.5-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.5-1c-2.4 0-3.6 1.4-3.6 4.4 0 3 1.2 4.6 3.6 4.6zm27.4 3.4h-6l-6-7v7h-4.8V8.8h4.9v13.6l5.8-6.7h5.7l-6.6 7.5 7 8.2z",fill:"currentColor"}),u.createElement("mask",{id:"b",fill:"#fff"},u.createElement("use",{xlinkHref:"#a"})),u.createElement("use",{fill:"#FF4785",fillRule:"nonzero",xlinkHref:"#a"}),u.createElement("path",{d:"M23.7 5L24 .2l3.9-.3.1 4.8a.3.3 0 0 1-.5.2L26 3.8l-1.7 1.4a.3.3 0 0 1-.5-.3zm-5 10c0 .9 5.3.5 6 0 0-5.4-2.8-8.2-8-8.2-5.3 0-8.2 2.8-8.2 7.1 0 7.4 10 7.6 10 11.6 0 1.2-.5 1.9-1.8 1.9-1.6 0-2.2-.9-2.1-3.6 0-.6-6.1-.8-6.3 0-.5 6.7 3.7 8.6 8.5 8.6 4.6 0 8.3-2.5 8.3-7 0-7.9-10.2-7.7-10.2-11.6 0-1.6 1.2-1.8 2-1.8.6 0 2 0 1.9 3z",fill:"#FFF",fillRule:"nonzero",mask:"url(#b)"}))),uy=e=>u.createElement("svg",{viewBox:"0 0 64 64",...e},u.createElement("title",null,"Storybook icon"),u.createElement("g",{id:"Artboard",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},u.createElement("path",{d:"M8.04798541,58.7875918 L6.07908839,6.32540407 C6.01406344,4.5927838 7.34257463,3.12440831 9.07303814,3.01625434 L53.6958037,0.227331489 C55.457209,0.117243658 56.974354,1.45590096 57.0844418,3.21730626 C57.0885895,3.28366922 57.0906648,3.35014546 57.0906648,3.41663791 L57.0906648,60.5834697 C57.0906648,62.3483119 55.6599776,63.7789992 53.8951354,63.7789992 C53.847325,63.7789992 53.7995207,63.7779262 53.7517585,63.775781 L11.0978899,61.8600599 C9.43669044,61.7854501 8.11034889,60.4492961 8.04798541,58.7875918 Z",id:"path-1",fill:"#FF4785",fillRule:"nonzero"}),u.createElement("path",{d:"M35.9095005,24.1768792 C35.9095005,25.420127 44.2838488,24.8242707 45.4080313,23.9509748 C45.4080313,15.4847538 40.8652557,11.0358878 32.5466666,11.0358878 C24.2280775,11.0358878 19.5673077,15.553972 19.5673077,22.3311017 C19.5673077,34.1346028 35.4965208,34.3605071 35.4965208,40.7987804 C35.4965208,42.606015 34.6115646,43.6790606 32.6646607,43.6790606 C30.127786,43.6790606 29.1248356,42.3834613 29.2428298,37.9783269 C29.2428298,37.0226907 19.5673077,36.7247626 19.2723223,37.9783269 C18.5211693,48.6535354 25.1720308,51.7326752 32.7826549,51.7326752 C40.1572906,51.7326752 45.939005,47.8018145 45.939005,40.6858282 C45.939005,28.035186 29.7738035,28.3740425 29.7738035,22.1051974 C29.7738035,19.5637737 31.6617103,19.2249173 32.7826549,19.2249173 C33.9625966,19.2249173 36.0864917,19.4328883 35.9095005,24.1768792 Z",id:"path9_fill-path",fill:"#FFFFFF",fillRule:"nonzero"}),u.createElement("path",{d:"M44.0461638,0.830433986 L50.1874092,0.446606143 L50.443532,7.7810017 C50.4527198,8.04410717 50.2468789,8.26484453 49.9837734,8.27403237 C49.871115,8.27796649 49.7607078,8.24184808 49.6721567,8.17209069 L47.3089847,6.3104681 L44.5110468,8.43287463 C44.3012992,8.591981 44.0022839,8.55092814 43.8431776,8.34118051 C43.7762017,8.25288717 43.742082,8.14401677 43.7466857,8.03329059 L44.0461638,0.830433986 Z",id:"Path",fill:"#FFFFFF"}))),py=lr` + from { + transform: rotate(0deg); + } + to { + transform: rotate(360deg); + } +`,fy=A.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:`${py} 0.7s linear infinite`,mixBlendMode:"difference"})),Ti=A.div({position:"absolute",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"}),hy=A.div(({theme:e})=>({position:"relative",width:"80%",marginBottom:"0.75rem",maxWidth:300,height:5,borderRadius:5,background:_e(.8,e.color.secondary),overflow:"hidden",cursor:"progress"})),gy=A.div(({theme:e})=>({position:"absolute",top:0,left:0,height:"100%",background:e.color.secondary})),Mi=A.div(({theme:e})=>({minHeight:"2em",fontSize:`${e.typography.size.s1}px`,color:e.barTextColor})),my=A(Xs)(({theme:e})=>({width:20,height:20,marginBottom:"0.5rem",color:e.textMutedColor})),vy=lr` + from { content: "..." } + 33% { content: "." } + 66% { content: ".." } + to { content: "..." } +`,by=A.span({"&::after":{content:"'...'",animation:`${vy} 1s linear infinite`,animationDelay:"1s",display:"inline-block",width:"1em",height:"auto"}}),Hc=({progress:e,error:t,size:r,...n})=>{if(t)return u.createElement(Ti,{"aria-label":t.toString(),"aria-live":"polite",role:"status",...n},u.createElement(my,null),u.createElement(Mi,null,t.message));if(e){let{value:a,modules:l}=e,{message:i}=e;return l&&(i+=` ${l.complete} / ${l.total} modules`),u.createElement(Ti,{"aria-label":"Content is loading...","aria-live":"polite","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":a*100,"aria-valuetext":i,role:"progressbar",...n},u.createElement(hy,null,u.createElement(gy,{style:{width:`${a*100}%`}})),u.createElement(Mi,null,i,a<1&&u.createElement(by,{key:i})))}return u.createElement(fy,{"aria-label":"Content is loading...","aria-live":"polite",role:"status",size:r,...n})};function yy(e){let t={},r=e.split("&");for(let n=0;n{let[n,a]=e.split("?"),l=a?{...yy(a),...r,id:t}:{...r,id:t};return`${n}?${Object.entries(l).map(i=>`${i[0]}=${i[1]}`).join("&")}`},wy=A.pre` + line-height: 18px; + padding: 11px 1rem; + white-space: pre-wrap; + background: rgba(0, 0, 0, 0.05); + color: ${H.darkest}; + border-radius: 3px; + margin: 1rem 0; + width: 100%; + display: block; + overflow: hidden; + font-family: ${Ze.fonts.mono}; + font-size: ${Ze.size.s2-1}px; +`,xy=({code:e,...t})=>u.createElement(wy,{id:"clipboard-code",...t},e),jc=Ic,Nc={};Object.keys(Ic).forEach(e=>{Nc[e]=o.forwardRef((t,r)=>o.createElement(e,{...t,ref:r}))});const Ey=Object.freeze(Object.defineProperty({__proto__:null,A:sc,ActionBar:Bo,AddonPanel:oy,Badge:x7,Bar:il,Blockquote:cc,Button:yt,ClipboardCode:xy,Code:Qo,DL:uc,Div:dc,DocumentWrapper:A7,EmptyTabContent:sl,ErrorFormatter:kc,FlexBar:Vn,Form:Ht,H1:pc,H2:el,H3:tl,H4:fc,H5:hc,H6:gc,HR:mc,IconButton:zt,IconButtonSkeleton:Db,Icons:sy,Img:vc,LI:bc,Link:$t,ListItem:ol,Loader:Hc,OL:yc,P:wc,Placeholder:B7,Pre:xc,ResetWrapper:Nn,ScrollArea:Ho,Separator:ul,Spaced:M7,Span:Ec,StorybookIcon:uy,StorybookLogo:dy,Symbols:cy,SyntaxHighlighter:Dn,TT:Cc,TabBar:cl,TabButton:Dr,TabWrapper:ty,Table:Sc,Tabs:Un,TabsState:dl,TooltipLinkList:ll,TooltipMessage:Lc,TooltipNote:Ab,UL:Rc,WithTooltip:yb,WithTooltipPure:$c,Zoom:_c,codeCommon:ct,components:jc,createCopyToClipboardFunction:Ts,getStoryHref:Fc,icons:Sn,interleaveSeparators:ry,nameSpaceClassNames:te,resetComponents:Nc,withReset:re},Symbol.toStringTag,{value:"Module"}));function Sy(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $r(e,t){return $r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},$r(e,t)}function Cy(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,$r(e,t)}function eo(e){return eo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},eo(e)}function Ry(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}function Iy(){if(typeof Reflect>"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 un(e,t,r){return Iy()?un=Reflect.construct.bind():un=function(a,l,i){var c=[null];c.push.apply(c,l);var s=Function.bind.apply(a,c),d=new s;return i&&$r(d,i.prototype),d},un.apply(null,arguments)}function to(e){var t=typeof Map=="function"?new Map:void 0;return to=function(n){if(n===null||!Ry(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(n))return t.get(n);t.set(n,a)}function a(){return un(n,arguments,eo(this).constructor)}return a.prototype=Object.create(n.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),$r(a,n)},to(e)}var Qe=function(e){Cy(t,e);function t(r){var n;return n=e.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+r+" for more information.")||this,Sy(n)}return t}(to(Error));function va(e){return Math.round(e*255)}function Ay(e,t,r){return va(e)+","+va(t)+","+va(r)}function Lr(e,t,r,n){if(n===void 0&&(n=Ay),t===0)return n(r,r,r);var a=(e%360+360)%360/60,l=(1-Math.abs(2*r-1))*t,i=l*(1-Math.abs(a%2-1)),c=0,s=0,d=0;a>=0&&a<1?(c=l,s=i):a>=1&&a<2?(c=i,s=l):a>=2&&a<3?(s=l,d=i):a>=3&&a<4?(s=i,d=l):a>=4&&a<5?(c=i,d=l):a>=5&&a<6&&(c=l,d=i);var p=r-l/2,h=c+p,m=s+p,f=d+p;return n(h,m,f)}var $i={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 _y(e){if(typeof e!="string")return e;var t=e.toLowerCase();return $i[t]?"#"+$i[t]:e}var ky=/^#[a-fA-F0-9]{6}$/,Oy=/^#[a-fA-F0-9]{8}$/,Ty=/^#[a-fA-F0-9]{3}$/,My=/^#[a-fA-F0-9]{4}$/,ba=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,$y=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,Ly=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,zy=/^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 Wn(e){if(typeof e!="string")throw new Qe(3);var t=_y(e);if(t.match(ky))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(Oy)){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(Ty))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(My)){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=ba.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var l=$y.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 i=Ly.exec(t);if(i){var c=parseInt(""+i[1],10),s=parseInt(""+i[2],10)/100,d=parseInt(""+i[3],10)/100,p="rgb("+Lr(c,s,d)+")",h=ba.exec(p);if(!h)throw new Qe(4,t,p);return{red:parseInt(""+h[1],10),green:parseInt(""+h[2],10),blue:parseInt(""+h[3],10)}}var m=zy.exec(t.substring(0,50));if(m){var f=parseInt(""+m[1],10),v=parseInt(""+m[2],10)/100,g=parseInt(""+m[3],10)/100,E="rgb("+Lr(f,v,g)+")",x=ba.exec(E);if(!x)throw new Qe(4,t,E);return{red:parseInt(""+x[1],10),green:parseInt(""+x[2],10),blue:parseInt(""+x[3],10),alpha:parseFloat(""+m[4])>1?parseFloat(""+m[4])/100:parseFloat(""+m[4])}}throw new Qe(5)}function By(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),l=Math.min(t,r,n),i=(a+l)/2;if(a===l)return e.alpha!==void 0?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var c,s=a-l,d=i>.5?s/(2-a-l):s/(a+l);switch(a){case t:c=(r-n)/s+(r=1?Cn(e,t,r):"rgba("+Lr(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Cn(e.hue,e.saturation,e.lightness):"rgba("+Lr(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Qe(2)}function no(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return ro("#"+It(e)+It(t)+It(r));if(typeof e=="object"&&t===void 0&&r===void 0)return ro("#"+It(e.red)+It(e.green)+It(e.blue));throw new Qe(6)}function lt(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=Wn(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?no(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?no(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Qe(7)}var Ny=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},Dy=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&typeof t.alpha=="number"},Vy=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},Uy=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&typeof t.alpha=="number"};function Vc(e){if(typeof e!="object")throw new Qe(8);if(Dy(e))return lt(e);if(Ny(e))return no(e);if(Uy(e))return jy(e);if(Vy(e))return Fy(e);throw new Qe(8)}function Uc(e,t,r){return function(){var a=r.concat(Array.prototype.slice.call(arguments));return a.length>=t?e.apply(this,a):Uc(e,t,a)}}function qn(e){return Uc(e,e.length,[])}function Gn(e,t,r){return Math.max(e,Math.min(t,r))}function Wy(e,t){if(t==="transparent")return t;var r=Dc(t);return Vc(vt({},r,{lightness:Gn(0,1,r.lightness-parseFloat(e))}))}var qy=qn(Wy),qe=qy;function Gy(e,t){if(t==="transparent")return t;var r=Dc(t);return Vc(vt({},r,{lightness:Gn(0,1,r.lightness+parseFloat(e))}))}var Yy=qn(Gy),At=Yy;function Ky(e,t){if(t==="transparent")return t;var r=Wn(t),n=typeof r.alpha=="number"?r.alpha:1,a=vt({},r,{alpha:Gn(0,1,(n*100+parseFloat(e)*100)/100)});return lt(a)}var Xy=qn(Ky),Jr=Xy;function Zy(e,t){if(t==="transparent")return t;var r=Wn(t),n=typeof r.alpha=="number"?r.alpha:1,a=vt({},r,{alpha:Gn(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return lt(a)}var Jy=qn(Zy),ee=Jy;function kt(){return kt=Object.assign?Object.assign.bind():function(e){for(var t=1;t(e[t.toLowerCase()]=t,e),{for:"htmlFor"}),zi={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},e6=["style","script"],t6=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,r6=/mailto:/i,n6=/\n{2,}$/,Wc=/^( *>[^\n]+(\n[^\n]+)*\n*)+\n{2,}/,a6=/^ *> ?/gm,o6=/^ {2,}\n/,l6=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,qc=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,Gc=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,i6=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,s6=/^(?:\n *)*\n/,c6=/\r\n?/g,d6=/^\[\^([^\]]+)](:.*)\n/,u6=/^\[\^([^\]]+)]/,p6=/\f/g,f6=/^\s*?\[(x|\s)\]/,Yc=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,Kc=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,Xc=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,ao=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)\/{0}>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1)[\s\S])*?)<\/\1>\n*/i,h6=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,Zc=/^)/,g6=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,oo=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,m6=/^\{.*\}$/,v6=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,b6=/^<([^ >]+@[^ >]+)>/,y6=/^<([^ >]+:\/[^ >]+)>/,w6=/-([a-z])?/gi,Jc=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,x6=/^\[([^\]]*)\]:\s+]+)>?\s*("([^"]*)")?/,E6=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,S6=/^\[([^\]]*)\] ?\[([^\]]*)\]/,C6=/(\[|\])/g,R6=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,I6=/\t/g,A6=/^ *\| */,_6=/(^ *\||\| *$)/g,k6=/ *$/,O6=/^ *:-+: *$/,T6=/^ *:-+ *$/,M6=/^ *-+: *$/,$6=/^([*_])\1((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1\1(?!\1)/,L6=/^([*_])((?:\[.*?\][([].*?[)\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~+.*?~+|.)*?)\1(?!\1|\w)/,z6=/^==((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)==/,B6=/^~~((?:\[.*?\]|<.*?>(?:.*?<.*?>)?|`.*?`|.)*?)~~/,P6=/^\\([^0-9A-Za-z\s])/,H6=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,F6=/^\n+/,j6=/^([ \t]*)/,N6=/\\([^\\])/g,Bi=/ *\n+$/,D6=/(?:^|\n)( *)$/,pl="(?:\\d+\\.)",fl="(?:[*+-])";function Qc(e){return"( *)("+(e===1?pl:fl)+") +"}const e1=Qc(1),t1=Qc(2);function r1(e){return new RegExp("^"+(e===1?e1:t1))}const V6=r1(1),U6=r1(2);function n1(e){return new RegExp("^"+(e===1?e1:t1)+"[^\\n]*(?:\\n(?!\\1"+(e===1?pl:fl)+" )[^\\n]*)*(\\n|$)","gm")}const a1=n1(1),o1=n1(2);function l1(e){const t=e===1?pl:fl;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}const i1=l1(1),s1=l1(2);function Pi(e,t){const r=t===1,n=r?i1:s1,a=r?a1:o1,l=r?V6:U6;return{t(i,c,s){const d=D6.exec(s);return d&&(c.o||!c._&&!c.u)?n.exec(i=d[1]+i):null},i:W.HIGH,l(i,c,s){const d=r?+i[2]:void 0,p=i[0].replace(n6,` +`).match(a);let h=!1;return{p:p.map(function(m,f){const v=l.exec(m)[0].length,g=new RegExp("^ {1,"+v+"}","gm"),E=m.replace(g,"").replace(l,""),x=f===p.length-1,y=E.indexOf(` + +`)!==-1||x&&h;h=y;const b=s._,w=s.o;let S;s.o=!0,y?(s._=!1,S=E.replace(Bi,` + +`)):(s._=!0,S=E.replace(Bi,""));const C=c(S,s);return s._=b,s.o=w,C}),m:r,g:d}},h:(i,c,s)=>e(i.m?"ol":"ul",{key:s.k,start:i.g},i.p.map(function(d,p){return e("li",{key:p},c(d,s))}))}}const W6=/^\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,q6=/^!\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,c1=[Wc,qc,Gc,Yc,Xc,Kc,Zc,Jc,a1,i1,o1,s1],G6=[...c1,/^[^\n]+(?: \n|\n{2,})/,ao,oo];function Y6(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 K6(e){return M6.test(e)?"right":O6.test(e)?"center":T6.test(e)?"left":null}function Hi(e,t,r){const n=r.$;r.$=!0;const a=t(e.trim(),r);r.$=n;let l=[[]];return a.forEach(function(i,c){i.type==="tableSeparator"?c!==0&&c!==a.length-1&&l.push([]):(i.type!=="text"||a[c+1]!=null&&a[c+1].type!=="tableSeparator"||(i.v=i.v.replace(k6,"")),l[l.length-1].push(i))}),l}function X6(e,t,r){r._=!0;const n=Hi(e[1],t,r),a=e[2].replace(_6,"").split("|").map(K6),l=function(i,c,s){return i.trim().split(` +`).map(function(d){return Hi(d,c,s)})}(e[3],t,r);return r._=!1,{S:a,A:l,L:n,type:"table"}}function Fi(e,t){return e.S[t]==null?{}:{textAlign:e.S[t]}}function ut(e){return function(t,r){return r._?e.exec(t):null}}function pt(e){return function(t,r){return r._||r.u?e.exec(t):null}}function ot(e){return function(t,r){return r._||r.u?null:e.exec(t)}}function vr(e){return function(t){return e.exec(t)}}function Z6(e,t,r){if(t._||t.u||r&&!r.endsWith(` +`))return null;let n="";e.split(` +`).every(l=>!c1.some(i=>i.test(l))&&(n+=l+` +`,l.trim()));const a=n.trimEnd();return a==""?null:[n,a]}function Wt(e){try{if(decodeURIComponent(e).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data(?!:image)):/i))return}catch{return null}return e}function ji(e){return e.replace(N6,"$1")}function pn(e,t,r){const n=r._||!1,a=r.u||!1;r._=!0,r.u=!0;const l=e(t,r);return r._=n,r.u=a,l}function J6(e,t,r){const n=r._||!1,a=r.u||!1;r._=!1,r.u=!0;const l=e(t,r);return r._=n,r.u=a,l}function Q6(e,t,r){return r._=!1,e(t,r)}const wa=(e,t,r)=>({v:pn(t,e[1],r)});function xa(){return{}}function Ea(){return null}function ew(...e){return e.filter(Boolean).join(" ")}function Sa(e,t,r){let n=e;const a=t.split(".");for(;a.length&&(n=n[a[0]],n!==void 0);)a.shift();return n||r}var W;function tw(e,t={}){t.overrides=t.overrides||{},t.slugify=t.slugify||Y6,t.namedCodesToUnicode=t.namedCodesToUnicode?kt({},zi,t.namedCodesToUnicode):zi;const r=t.createElement||o.createElement;function n(f,v,...g){const E=Sa(t.overrides,`${f}.props`,{});return r(function(x,y){const b=Sa(y,x);return b?typeof b=="function"||typeof b=="object"&&"render"in b?b:Sa(y,`${x}.component`,x):x}(f,t.overrides),kt({},v,E,{className:ew(v==null?void 0:v.className,E.className)||void 0}),...g)}function a(f){let v=!1;t.forceInline?v=!0:t.forceBlock||(v=R6.test(f)===!1);const g=p(d(v?f:`${f.trimEnd().replace(F6,"")} + +`,{_:v}));for(;typeof g[g.length-1]=="string"&&!g[g.length-1].trim();)g.pop();if(t.wrapper===null)return g;const E=t.wrapper||(v?"span":"div");let x;if(g.length>1||t.forceWrapper)x=g;else{if(g.length===1)return x=g[0],typeof x=="string"?n("span",{key:"outer"},x):x;x=null}return o.createElement(E,{key:"outer"},x)}function l(f){const v=f.match(t6);return v?v.reduce(function(g,E,x){const y=E.indexOf("=");if(y!==-1){const b=function(R){return R.indexOf("-")!==-1&&R.match(g6)===null&&(R=R.replace(w6,function(I,_){return _.toUpperCase()})),R}(E.slice(0,y)).trim(),w=function(R){const I=R[0];return(I==='"'||I==="'")&&R.length>=2&&R[R.length-1]===I?R.slice(1,-1):R}(E.slice(y+1).trim()),S=Li[b]||b,C=g[S]=function(R,I){return R==="style"?I.split(/;\s?/).reduce(function(_,k){const O=k.slice(0,k.indexOf(":"));return _[O.replace(/(-[a-z])/g,T=>T[1].toUpperCase())]=k.slice(O.length+1).trim(),_},{}):R==="href"?Wt(I):(I.match(m6)&&(I=I.slice(1,I.length-1)),I==="true"||I!=="false"&&I)}(b,w);typeof C=="string"&&(ao.test(C)||oo.test(C))&&(g[S]=o.cloneElement(a(C.trim()),{key:x}))}else E!=="style"&&(g[Li[E]||E]=!0);return g},{}):null}const i=[],c={},s={blockQuote:{t:ot(Wc),i:W.HIGH,l:(f,v,g)=>({v:v(f[0].replace(a6,""),g)}),h:(f,v,g)=>n("blockquote",{key:g.k},v(f.v,g))},breakLine:{t:vr(o6),i:W.HIGH,l:xa,h:(f,v,g)=>n("br",{key:g.k})},breakThematic:{t:ot(l6),i:W.HIGH,l:xa,h:(f,v,g)=>n("hr",{key:g.k})},codeBlock:{t:ot(Gc),i:W.MAX,l:f=>({v:f[0].replace(/^ {4}/gm,"").replace(/\n+$/,""),M:void 0}),h:(f,v,g)=>n("pre",{key:g.k},n("code",kt({},f.O,{className:f.M?`lang-${f.M}`:""}),f.v))},codeFenced:{t:ot(qc),i:W.MAX,l:f=>({O:l(f[3]||""),v:f[4],M:f[2]||void 0,type:"codeBlock"})},codeInline:{t:pt(i6),i:W.LOW,l:f=>({v:f[2]}),h:(f,v,g)=>n("code",{key:g.k},f.v)},footnote:{t:ot(d6),i:W.MAX,l:f=>(i.push({I:f[2],j:f[1]}),{}),h:Ea},footnoteReference:{t:ut(u6),i:W.HIGH,l:f=>({v:f[1],B:`#${t.slugify(f[1])}`}),h:(f,v,g)=>n("a",{key:g.k,href:Wt(f.B)},n("sup",{key:g.k},f.v))},gfmTask:{t:ut(f6),i:W.HIGH,l:f=>({R:f[1].toLowerCase()==="x"}),h:(f,v,g)=>n("input",{checked:f.R,key:g.k,readOnly:!0,type:"checkbox"})},heading:{t:ot(t.enforceAtxHeadings?Kc:Yc),i:W.HIGH,l:(f,v,g)=>({v:pn(v,f[2],g),T:t.slugify(f[2]),C:f[1].length}),h:(f,v,g)=>n(`h${f.C}`,{id:f.T,key:g.k},v(f.v,g))},headingSetext:{t:ot(Xc),i:W.MAX,l:(f,v,g)=>({v:pn(v,f[1],g),C:f[2]==="="?1:2,type:"heading"})},htmlComment:{t:vr(Zc),i:W.HIGH,l:()=>({}),h:Ea},image:{t:pt(q6),i:W.HIGH,l:f=>({D:f[1],B:ji(f[2]),F:f[3]}),h:(f,v,g)=>n("img",{key:g.k,alt:f.D||void 0,title:f.F||void 0,src:Wt(f.B)})},link:{t:ut(W6),i:W.LOW,l:(f,v,g)=>({v:J6(v,f[1],g),B:ji(f[2]),F:f[3]}),h:(f,v,g)=>n("a",{key:g.k,href:Wt(f.B),title:f.F},v(f.v,g))},linkAngleBraceStyleDetector:{t:ut(y6),i:W.MAX,l:f=>({v:[{v:f[1],type:"text"}],B:f[1],type:"link"})},linkBareUrlDetector:{t:(f,v)=>v.N?null:ut(v6)(f,v),i:W.MAX,l:f=>({v:[{v:f[1],type:"text"}],B:f[1],F:void 0,type:"link"})},linkMailtoDetector:{t:ut(b6),i:W.MAX,l(f){let v=f[1],g=f[1];return r6.test(g)||(g="mailto:"+g),{v:[{v:v.replace("mailto:",""),type:"text"}],B:g,type:"link"}}},orderedList:Pi(n,1),unorderedList:Pi(n,2),newlineCoalescer:{t:ot(s6),i:W.LOW,l:xa,h:()=>` +`},paragraph:{t:Z6,i:W.LOW,l:wa,h:(f,v,g)=>n("p",{key:g.k},v(f.v,g))},ref:{t:ut(x6),i:W.MAX,l:f=>(c[f[1]]={B:f[2],F:f[4]},{}),h:Ea},refImage:{t:pt(E6),i:W.MAX,l:f=>({D:f[1]||void 0,P:f[2]}),h:(f,v,g)=>n("img",{key:g.k,alt:f.D,src:Wt(c[f.P].B),title:c[f.P].F})},refLink:{t:ut(S6),i:W.MAX,l:(f,v,g)=>({v:v(f[1],g),Z:v(f[0].replace(C6,"\\$1"),g),P:f[2]}),h:(f,v,g)=>c[f.P]?n("a",{key:g.k,href:Wt(c[f.P].B),title:c[f.P].F},v(f.v,g)):n("span",{key:g.k},v(f.Z,g))},table:{t:ot(Jc),i:W.HIGH,l:X6,h:(f,v,g)=>n("table",{key:g.k},n("thead",null,n("tr",null,f.L.map(function(E,x){return n("th",{key:x,style:Fi(f,x)},v(E,g))}))),n("tbody",null,f.A.map(function(E,x){return n("tr",{key:x},E.map(function(y,b){return n("td",{key:b,style:Fi(f,b)},v(y,g))}))})))},tableSeparator:{t:function(f,v){return v.$?(v._=!0,A6.exec(f)):null},i:W.HIGH,l:function(){return{type:"tableSeparator"}},h:()=>" | "},text:{t:vr(H6),i:W.MIN,l:f=>({v:f[0].replace(h6,(v,g)=>t.namedCodesToUnicode[g]?t.namedCodesToUnicode[g]:v)}),h:f=>f.v},textBolded:{t:pt($6),i:W.MED,l:(f,v,g)=>({v:v(f[2],g)}),h:(f,v,g)=>n("strong",{key:g.k},v(f.v,g))},textEmphasized:{t:pt(L6),i:W.LOW,l:(f,v,g)=>({v:v(f[2],g)}),h:(f,v,g)=>n("em",{key:g.k},v(f.v,g))},textEscaped:{t:pt(P6),i:W.HIGH,l:f=>({v:f[1],type:"text"})},textMarked:{t:pt(z6),i:W.LOW,l:wa,h:(f,v,g)=>n("mark",{key:g.k},v(f.v,g))},textStrikethroughed:{t:pt(B6),i:W.LOW,l:wa,h:(f,v,g)=>n("del",{key:g.k},v(f.v,g))}};t.disableParsingRawHTML!==!0&&(s.htmlBlock={t:vr(ao),i:W.HIGH,l(f,v,g){const[,E]=f[3].match(j6),x=new RegExp(`^${E}`,"gm"),y=f[3].replace(x,""),b=(w=y,G6.some(I=>I.test(w))?Q6:pn);var w;const S=f[1].toLowerCase(),C=e6.indexOf(S)!==-1;g.N=g.N||S==="a";const R=C?f[3]:b(v,y,g);return g.N=!1,{O:l(f[2]),v:R,G:C,H:C?S:f[1]}},h:(f,v,g)=>n(f.H,kt({key:g.k},f.O),f.G?f.v:v(f.v,g))},s.htmlSelfClosing={t:vr(oo),i:W.HIGH,l:f=>({O:l(f[2]||""),H:f[1]}),h:(f,v,g)=>n(f.H,kt({},f.O,{key:g.k}))});const d=function(f){let v=Object.keys(f);function g(E,x){let y=[],b="";for(;E;){let w=0;for(;w{let{children:t,options:r}=e,n=function(a,l){if(a==null)return{};var i,c,s={},d=Object.keys(a);for(c=0;c=0||(s[i]=a[i]);return s}(e,Qy);return o.cloneElement(tw(t,r),n)};function rw(e,t,r,n){for(var a=e.length,l=r+(n?1:-1);n?l--:++l-1}var gw=hw;function mw(e,t,r){for(var n=-1,a=e==null?0:e.length;++n=Tw){var d=t?null:kw(e);if(d)return Ow(d);i=!1,a=_w,s=new Rw}else s=t?[]:c;e:for(;++nfunction(){return t||(0,e[g1(e)[0]])((t={exports:{}}).exports,t),t.exports},Ax=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of g1(t))!Ix.call(e,a)&&a!==r&&h1(e,a,{get:()=>t[a],enumerable:!(n=Cx(t,a))||n.enumerable});return e},gl=(e,t,r)=>(r=e!=null?Sx(Rx(e)):{},Ax(t||!e||!e.__esModule?h1(r,"default",{value:e,enumerable:!0}):r,e)),_x=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],kx=["detail"];function Ox(e){const t=_x.filter(r=>e[r]!==void 0).reduce((r,n)=>({...r,[n]:e[n]}),{});return e instanceof CustomEvent&&kx.filter(r=>e[r]!==void 0).forEach(r=>{t[r]=e[r]}),t}var m1=Le({"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 n={},a=Symbol("test"),l=Object(a);if(typeof a=="string"||Object.prototype.toString.call(a)!=="[object Symbol]"||Object.prototype.toString.call(l)!=="[object Symbol]")return!1;var i=42;n[a]=i;for(a in n)return!1;if(typeof Object.keys=="function"&&Object.keys(n).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(n).length!==0)return!1;var c=Object.getOwnPropertySymbols(n);if(c.length!==1||c[0]!==a||!Object.prototype.propertyIsEnumerable.call(n,a))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(n,a);if(s.value!==i||s.enumerable!==!0)return!1}return!0}}}),v1=Le({"node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=m1();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}}),Tx=Le({"node_modules/function-bind/implementation.js"(e,t){var r="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,a=Object.prototype.toString,l="[object Function]";t.exports=function(c){var s=this;if(typeof s!="function"||a.call(s)!==l)throw new TypeError(r+s);for(var d=n.call(arguments,1),p,h=function(){if(this instanceof p){var E=s.apply(this,d.concat(n.call(arguments)));return Object(E)===E?E:this}else return s.apply(c,d.concat(n.call(arguments)))},m=Math.max(0,s.length-d.length),f=[],v=0;v"u"?r:h(Uint8Array),v={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":p?h([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":m,"%AsyncGenerator%":m,"%AsyncGeneratorFunction%":m,"%AsyncIteratorPrototype%":m,"%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%":m,"%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%":d,"%TypedArray%":f,"%TypeError%":l,"%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},g=function T(M){var F;if(M==="%AsyncFunction%")F=i("async function () {}");else if(M==="%GeneratorFunction%")F=i("function* () {}");else if(M==="%AsyncGeneratorFunction%")F=i("async function* () {}");else if(M==="%AsyncGenerator%"){var $=T("%AsyncGeneratorFunction%");$&&(F=$.prototype)}else if(M==="%AsyncIteratorPrototype%"){var L=T("%AsyncGenerator%");L&&(F=h(L.prototype))}return v[M]=F,F},E={"%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"]},x=ml(),y=Mx(),b=x.call(Function.call,Array.prototype.concat),w=x.call(Function.apply,Array.prototype.splice),S=x.call(Function.call,String.prototype.replace),C=x.call(Function.call,String.prototype.slice),R=x.call(Function.call,RegExp.prototype.exec),I=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,_=/\\(\\)?/g,k=function(M){var F=C(M,0,1),$=C(M,-1);if(F==="%"&&$!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if($==="%"&&F!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var L=[];return S(M,I,function(j,V,P,D){L[L.length]=P?S(D,_,"$1"):V||j}),L},O=function(M,F){var $=M,L;if(y(E,$)&&(L=E[$],$="%"+L[0]+"%"),y(v,$)){var j=v[$];if(j===m&&(j=g($)),typeof j>"u"&&!F)throw new l("intrinsic "+M+" exists, but is not available. Please file an issue!");return{alias:L,name:$,value:j}}throw new n("intrinsic "+M+" does not exist!")};t.exports=function(M,F){if(typeof M!="string"||M.length===0)throw new l("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof F!="boolean")throw new l('"allowMissing" argument must be a boolean');if(R(/^%?[^%]*%?$/,M)===null)throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var $=k(M),L=$.length>0?$[0]:"",j=O("%"+L+"%",F),V=j.name,P=j.value,D=!1,Z=j.alias;Z&&(L=Z[0],w($,b([0,1],Z)));for(var ne=1,X=!0;ne<$.length;ne+=1){var J=$[ne],B=C(J,0,1),U=C(J,-1);if((B==='"'||B==="'"||B==="`"||U==='"'||U==="'"||U==="`")&&B!==U)throw new n("property names with quotes must have matching quotes");if((J==="constructor"||!X)&&(D=!0),L+="."+J,V="%"+L+"%",y(v,V))P=v[V];else if(P!=null){if(!(J in P)){if(!F)throw new l("base intrinsic for "+M+" exists, but the property is not available.");return}if(c&&ne+1>=$.length){var q=c(P,J);X=!!q,X&&"get"in q&&!("originalValue"in q.get)?P=q.get:P=P[J]}else X=y(P,J),P=P[J];X&&!D&&(v[V]=P)}}return P}}}),$x=Le({"node_modules/call-bind/index.js"(e,t){var r=ml(),n=b1(),a=n("%Function.prototype.apply%"),l=n("%Function.prototype.call%"),i=n("%Reflect.apply%",!0)||r.call(l,a),c=n("%Object.getOwnPropertyDescriptor%",!0),s=n("%Object.defineProperty%",!0),d=n("%Math.max%");if(s)try{s({},"a",{value:1})}catch{s=null}t.exports=function(m){var f=i(r,l,arguments);if(c&&s){var v=c(f,"length");v.configurable&&s(f,"length",{value:1+d(0,m.length-(arguments.length-1))})}return f};var p=function(){return i(r,a,arguments)};s?s(t.exports,"apply",{value:p}):t.exports.apply=p}}),Lx=Le({"node_modules/call-bind/callBound.js"(e,t){var r=b1(),n=$x(),a=n(r("String.prototype.indexOf"));t.exports=function(i,c){var s=r(i,!!c);return typeof s=="function"&&a(i,".prototype.")>-1?n(s):s}}}),zx=Le({"node_modules/has-tostringtag/shams.js"(e,t){var r=m1();t.exports=function(){return r()&&!!Symbol.toStringTag}}}),Bx=Le({"node_modules/is-regex/index.js"(e,t){var r=Lx(),n=zx()(),a,l,i,c;n&&(a=r("Object.prototype.hasOwnProperty"),l=r("RegExp.prototype.exec"),i={},s=function(){throw i},c={toString:s,valueOf:s},typeof Symbol.toPrimitive=="symbol"&&(c[Symbol.toPrimitive]=s));var s,d=r("Object.prototype.toString"),p=Object.getOwnPropertyDescriptor,h="[object RegExp]";t.exports=n?function(f){if(!f||typeof f!="object")return!1;var v=p(f,"lastIndex"),g=v&&a(v,"value");if(!g)return!1;try{l(f,c)}catch(E){return E===i}}:function(f){return!f||typeof f!="object"&&typeof f!="function"?!1:d(f)===h}}}),Px=Le({"node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(a){if(!a)return!1;var l=r.call(a);return l==="[object Function]"||typeof a=="function"&&l!=="[object RegExp]"||typeof window<"u"&&(a===window.setTimeout||a===window.alert||a===window.confirm||a===window.prompt)}}}),Hx=Le({"node_modules/is-symbol/index.js"(e,t){var r=Object.prototype.toString,n=v1()();n?(a=Symbol.prototype.toString,l=/^Symbol\(.*\)$/,i=function(s){return typeof s.valueOf()!="symbol"?!1:l.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,l,i}}),Fx=gl(Bx()),jx=gl(Px()),Nx=gl(Hx());function Dx(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}var Vx=typeof global=="object"&&global&&global.Object===Object&&global,Ux=Vx,Wx=typeof self=="object"&&self&&self.Object===Object&&self,qx=Ux||Wx||Function("return this")(),vl=qx,Gx=vl.Symbol,ar=Gx,y1=Object.prototype,Yx=y1.hasOwnProperty,Kx=y1.toString,br=ar?ar.toStringTag:void 0;function Xx(e){var t=Yx.call(e,br),r=e[br];try{e[br]=void 0;var n=!0}catch{}var a=Kx.call(e);return n&&(t?e[br]=r:delete e[br]),a}var Zx=Xx,Jx=Object.prototype,Qx=Jx.toString;function eE(e){return Qx.call(e)}var tE=eE,rE="[object Null]",nE="[object Undefined]",Xi=ar?ar.toStringTag:void 0;function aE(e){return e==null?e===void 0?nE:rE:Xi&&Xi in Object(e)?Zx(e):tE(e)}var oE=aE,Zi=ar?ar.prototype:void 0;Zi&&Zi.toString;function lE(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var w1=lE,iE="[object AsyncFunction]",sE="[object Function]",cE="[object GeneratorFunction]",dE="[object Proxy]";function uE(e){if(!w1(e))return!1;var t=oE(e);return t==sE||t==cE||t==iE||t==dE}var pE=uE,fE=vl["__core-js_shared__"],Ra=fE,Ji=function(){var e=/[^.]+$/.exec(Ra&&Ra.keys&&Ra.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function hE(e){return!!Ji&&Ji in e}var gE=hE,mE=Function.prototype,vE=mE.toString;function bE(e){if(e!=null){try{return vE.call(e)}catch{}try{return e+""}catch{}}return""}var yE=bE,wE=/[\\^$.*+?()[\]{}|]/g,xE=/^\[object .+?Constructor\]$/,EE=Function.prototype,SE=Object.prototype,CE=EE.toString,RE=SE.hasOwnProperty,IE=RegExp("^"+CE.call(RE).replace(wE,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function AE(e){if(!w1(e)||gE(e))return!1;var t=pE(e)?IE:xE;return t.test(yE(e))}var _E=AE;function kE(e,t){return e==null?void 0:e[t]}var OE=kE;function TE(e,t){var r=OE(e,t);return _E(r)?r:void 0}var x1=TE;function ME(e,t){return e===t||e!==e&&t!==t}var $E=ME,LE=x1(Object,"create"),zr=LE;function zE(){this.__data__=zr?zr(null):{},this.size=0}var BE=zE;function PE(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var HE=PE,FE="__lodash_hash_undefined__",jE=Object.prototype,NE=jE.hasOwnProperty;function DE(e){var t=this.__data__;if(zr){var r=t[e];return r===FE?void 0:r}return NE.call(t,e)?t[e]:void 0}var VE=DE,UE=Object.prototype,WE=UE.hasOwnProperty;function qE(e){var t=this.__data__;return zr?t[e]!==void 0:WE.call(t,e)}var GE=qE,YE="__lodash_hash_undefined__";function KE(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=zr&&t===void 0?YE:t,this}var XE=KE;function sr(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t-1}var iS=lS;function sS(e,t){var r=this.__data__,n=Kn(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var cS=sS;function cr(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{let t=null,r=!1,n=!1,a=!1,l="";if(e.indexOf("//")>=0||e.indexOf("/*")>=0)for(let i=0;iLS(e).replace(/\n\s*/g,"").trim()),BS=function(t,r){const n=r.slice(0,r.indexOf("{")),a=r.slice(r.indexOf("{"));if(n.includes("=>")||n.includes("function"))return r;let l=n;return l=l.replace(t,"function"),l+a},PS=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/;function S1(e){if(!$S(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=Ox(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 HS=function(t){let r,n,a,l;return function(c,s){try{if(c==="")return l=[],r=new Map([[s,"[]"]]),n=new Map,a=[],s;const d=n.get(this)||this;for(;a.length&&d!==a[0];)a.shift(),l.pop();if(typeof s=="boolean")return s;if(s===void 0)return t.allowUndefined?"_undefined_":void 0;if(s===null)return null;if(typeof s=="number")return s===-1/0?"_-Infinity_":s===1/0?"_Infinity_":Number.isNaN(s)?"_NaN_":s;if(typeof s=="bigint")return`_bigint_${s.toString()}`;if(typeof s=="string")return PS.test(s)?t.allowDate?`_date_${s}`:void 0:s;if((0,Fx.default)(s))return t.allowRegExp?`_regexp_${s.flags}|${s.source}`:void 0;if((0,jx.default)(s)){if(!t.allowFunction)return;const{name:h}=s,m=s.toString();return m.match(/(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)?`_function_${h}|${(()=>{}).toString()}`:`_function_${h}|${zS(BS(c,m))}`}if((0,Nx.default)(s)){if(!t.allowSymbol)return;const h=Symbol.keyFor(s);return h!==void 0?`_gsymbol_${h}`:`_symbol_${s.toString().slice(7,-1)}`}if(a.length>=t.maxDepth)return Array.isArray(s)?`[Array(${s.length})]`:"[Object]";if(s===this)return`_duplicate_${JSON.stringify(l)}`;if(s instanceof Error&&t.allowError)return{__isConvertedError__:!0,errorProperties:{...s.cause?{cause:s.cause}:{},...s,name:s.name,message:s.message,stack:s.stack,"_constructor-name_":s.constructor.name}};if(s.constructor&&s.constructor.name&&s.constructor.name!=="Object"&&!Array.isArray(s)&&!t.allowClass)return;const p=r.get(s);if(!p){const h=Array.isArray(s)?s:S1(s);if(s.constructor&&s.constructor.name&&s.constructor.name!=="Object"&&!Array.isArray(s)&&t.allowClass)try{Object.assign(h,{"_constructor-name_":s.constructor.name})}catch{}return l.push(c),a.unshift(h),r.set(s,JSON.stringify(l)),s!==h&&n.set(s,h),h}return`_duplicate_${p}`}catch{return}}},FS={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},jS=(e,t={})=>{const r={...FS,...t};return JSON.stringify(S1(e),HS(r),t.space)};/*! + * isobject + * + * Copyright (c) 2014-2017, Jon Schlinkert. + * Released under the MIT License. + *//** + * @license + * Lodash (Custom Build) + * Build: `lodash modularize exports="es" -o ./` + * Copyright OpenJS Foundation and other contributors + * Released under MIT license + * Based on Underscore.js 1.8.3 + * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors + */var C1={exports:{}},Ia,e0;function NS(){return e0||(e0=1,Ia={tocSelector:".js-toc",contentSelector:".js-toc-content",headingSelector:"h1, h2, h3",ignoreSelector:".js-toc-ignore",hasInnerContainers:!1,linkClass:"toc-link",extraLinkClasses:"",activeLinkClass:"is-active-link",listClass:"toc-list",extraListClasses:"",isCollapsedClass:"is-collapsed",collapsibleClass:"is-collapsible",listItemClass:"toc-list-item",activeListItemClass:"is-active-li",collapseDepth:0,scrollSmooth:!0,scrollSmoothDuration:420,scrollSmoothOffset:0,scrollEndCallback:function(e){},headingsOffset:1,throttleTimeout:50,positionFixedSelector:null,positionFixedClass:"is-position-fixed",fixedSidebarOffset:"auto",includeHtml:!1,includeTitleTags:!1,onClick:function(e){},orderedList:!0,scrollContainer:null,skipRendering:!1,headingLabelCallback:!1,ignoreHiddenElements:!1,headingObjectCallback:null,basePath:"",disableTocScrollSync:!1,tocScrollOffset:0}),Ia}var Aa,t0;function DS(){return t0||(t0=1,Aa=function(e){var t=[].forEach,r=[].some,n=document.body,a,l=!0,i=" ";function c(y,b){var w=b.appendChild(d(y));if(y.children.length){var S=p(y.isCollapsed);y.children.forEach(function(C){c(C,S)}),w.appendChild(S)}}function s(y,b){var w=!1,S=p(w);if(b.forEach(function(C){c(C,S)}),a=y||a,a!==null)return a.firstChild&&a.removeChild(a.firstChild),b.length===0?a:a.appendChild(S)}function d(y){var b=document.createElement("li"),w=document.createElement("a");return e.listItemClass&&b.setAttribute("class",e.listItemClass),e.onClick&&(w.onclick=e.onClick),e.includeTitleTags&&w.setAttribute("title",y.textContent),e.includeHtml&&y.childNodes.length?t.call(y.childNodes,function(S){w.appendChild(S.cloneNode(!0))}):w.textContent=y.textContent,w.setAttribute("href",e.basePath+"#"+y.id),w.setAttribute("class",e.linkClass+i+"node-name--"+y.nodeName+i+e.extraLinkClasses),b.appendChild(w),b}function p(y){var b=e.orderedList?"ol":"ul",w=document.createElement(b),S=e.listClass+i+e.extraListClasses;return y&&(S=S+i+e.collapsibleClass,S=S+i+e.isCollapsedClass),w.setAttribute("class",S),w}function h(){if(e.scrollContainer&&document.querySelector(e.scrollContainer)){var y;y=document.querySelector(e.scrollContainer).scrollTop}else y=document.documentElement.scrollTop||n.scrollTop;var b=document.querySelector(e.positionFixedSelector);e.fixedSidebarOffset==="auto"&&(e.fixedSidebarOffset=a.offsetTop),y>e.fixedSidebarOffset?b.className.indexOf(e.positionFixedClass)===-1&&(b.className+=i+e.positionFixedClass):b.className=b.className.replace(i+e.positionFixedClass,"")}function m(y){var b=0;return y!==null&&(b=y.offsetTop,e.hasInnerContainers&&(b+=m(y.offsetParent))),b}function f(y,b){return y&&y.className!==b&&(y.className=b),y}function v(y){if(e.scrollContainer&&document.querySelector(e.scrollContainer)){var b;b=document.querySelector(e.scrollContainer).scrollTop}else b=document.documentElement.scrollTop||n.scrollTop;e.positionFixedSelector&&h();var w=y,S;if(l&&a!==null&&w.length>0){r.call(w,function(T,M){if(m(T)>b+e.headingsOffset+10){var F=M===0?M:M-1;return S=w[F],!0}else if(M===w.length-1)return S=w[w.length-1],!0});var C=a.querySelector("."+e.activeLinkClass),R=a.querySelector("."+e.linkClass+".node-name--"+S.nodeName+'[href="'+e.basePath+"#"+S.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/\\@])/g,"\\$1")+'"]');if(C===R)return;var I=a.querySelectorAll("."+e.linkClass);t.call(I,function(T){f(T,T.className.replace(i+e.activeLinkClass,""))});var _=a.querySelectorAll("."+e.listItemClass);t.call(_,function(T){f(T,T.className.replace(i+e.activeListItemClass,""))}),R&&R.className.indexOf(e.activeLinkClass)===-1&&(R.className+=i+e.activeLinkClass);var k=R&&R.parentNode;k&&k.className.indexOf(e.activeListItemClass)===-1&&(k.className+=i+e.activeListItemClass);var O=a.querySelectorAll("."+e.listClass+"."+e.collapsibleClass);t.call(O,function(T){T.className.indexOf(e.isCollapsedClass)===-1&&(T.className+=i+e.isCollapsedClass)}),R&&R.nextSibling&&R.nextSibling.className.indexOf(e.isCollapsedClass)!==-1&&f(R.nextSibling,R.nextSibling.className.replace(i+e.isCollapsedClass,"")),g(R&&R.parentNode.parentNode)}}function g(y){return y&&y.className.indexOf(e.collapsibleClass)!==-1&&y.className.indexOf(e.isCollapsedClass)!==-1?(f(y,y.className.replace(i+e.isCollapsedClass,"")),g(y.parentNode.parentNode)):y}function E(y){var b=y.target||y.srcElement;typeof b.className!="string"||b.className.indexOf(e.linkClass)===-1||(l=!1)}function x(){l=!0}return{enableTocAnimation:x,disableTocAnimation:E,render:s,updateToc:v}}),Aa}var _a,r0;function VS(){return r0||(r0=1,_a=function(t){var r=[].reduce;function n(p){return p[p.length-1]}function a(p){return+p.nodeName.toUpperCase().replace("H","")}function l(p){try{return p instanceof window.HTMLElement||p instanceof window.parent.HTMLElement}catch{return p instanceof window.HTMLElement}}function i(p){if(!l(p))return p;if(t.ignoreHiddenElements&&(!p.offsetHeight||!p.offsetParent))return null;const h=p.getAttribute("data-heading-label")||(t.headingLabelCallback?String(t.headingLabelCallback(p.innerText)):(p.innerText||p.textContent).trim());var m={id:p.id,children:[],nodeName:p.nodeName,headingLevel:a(p),textContent:h};return t.includeHtml&&(m.childNodes=p.childNodes),t.headingObjectCallback?t.headingObjectCallback(m,p):m}function c(p,h){for(var m=i(p),f=m.headingLevel,v=h,g=n(v),E=g?g.headingLevel:0,x=f-E;x>0&&(g=n(v),!(g&&f===g.headingLevel));)g&&g.children!==void 0&&(v=g.children),x--;return f>=t.collapseDepth&&(m.isCollapsed=!0),v.push(m),v}function s(p,h){var m=h;t.ignoreSelector&&(m=h.split(",").map(function(v){return v.trim()+":not("+t.ignoreSelector+")"}));try{return p.querySelectorAll(m)}catch{return console.warn("Headers not found with selector: "+m),null}}function d(p){return r.call(p,function(m,f){var v=i(f);return v&&c(v,m.nest),m},{nest:[]})}return{nestHeadingsArray:d,selectHeadings:s}}),_a}var ka,n0;function US(){if(n0)return ka;n0=1;const e=30;return ka=function(r){var n=r.tocElement||document.querySelector(r.tocSelector);if(n&&n.scrollHeight>n.clientHeight){var a=n.querySelector("."+r.activeListItemClass);if(a){var l=n.scrollTop,i=l+n.clientHeight,c=a.offsetTop,s=c+a.clientHeight;ci-r.tocScrollOffset-e&&(n.scrollTop+=s-i+r.tocScrollOffset+2*e)}}},ka}var Oa={},a0;function WS(){if(a0)return Oa;a0=1,Oa.initSmoothScrolling=e;function e(r){var n=r.duration,a=r.offset,l=location.hash?s(location.href):location.href;i();function i(){document.body.addEventListener("click",p,!1);function p(h){!c(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(r.linkClass)===-1||t(h.target.hash,{duration:n,offset:a,callback:function(){d(h.target.hash)}})}}function c(p){return p.tagName.toLowerCase()==="a"&&(p.hash.length>0||p.href.charAt(p.href.length-1)==="#")&&(s(p.href)===l||s(p.href)+"#"===l)}function s(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 t(r,n){var a=window.pageYOffset,l={duration:n.duration,offset:n.offset||0,callback:n.callback,easing:n.easing||f},i=document.querySelector('[id="'+decodeURI(r).split("#").join("")+'"]')||document.querySelector('[id="'+r.split("#").join("")+'"]'),c=typeof r=="string"?l.offset+(r?i&&i.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):r,s=typeof l.duration=="function"?l.duration(c):l.duration,d,p;requestAnimationFrame(function(v){d=v,h(v)});function h(v){p=v-d,window.scrollTo(0,l.easing(p,a,c,s)),p"u"&&!h)return;var m,f=Object.prototype.hasOwnProperty;function v(){for(var y={},b=0;b({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:ee(.3,e.color.defaultText),fontSize:e.typography.size.s2})),R1=e=>u.createElement(XS,{...e,className:"docblock-emptyblock sb-unstyled"}),ZS=A(Dn)(({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"}})),JS=A.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"})),Qr=A.div(({theme:e})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,height:17,marginTop:1,width:"60%",[`&:first-child${Da}`]:{margin:0}})),QS=()=>u.createElement(JS,null,u.createElement(Qr,null),u.createElement(Qr,{style:{width:"80%"}}),u.createElement(Qr,{style:{width:"30%"}}),u.createElement(Qr,{style:{width:"80%"}})),wl=({isLoading:e,error:t,language:r,code:n,dark:a,format:l,...i})=>{let{typography:c}=ts();if(e)return u.createElement(QS,null);if(t)return u.createElement(R1,null,t);let s=u.createElement(ZS,{bordered:!0,copyable:!0,format:l,language:r,className:"docblock-source sb-unstyled",...i},n);if(typeof a>"u")return s;let d=a?Ha.dark:Ha.light;return u.createElement(rs,{theme:Na({...d,fontCode:c.fonts.mono,fontBase:c.fonts.base})},s)};wl.defaultProps={format:!1};var le=e=>`& :where(${e}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${e}))`,xl=600,eC=A.h1(re,({theme:e})=>({color:e.color.defaultText,fontSize:e.typography.size.m3,fontWeight:e.typography.weight.bold,lineHeight:"32px",[`@media (min-width: ${xl}px)`]:{fontSize:e.typography.size.l1,lineHeight:"36px",marginBottom:"16px"}})),tC=A.h2(re,({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:15,[`@media (min-width: ${xl}px)`]:{fontSize:e.typography.size.m1,lineHeight:"28px",marginBottom:24},color:ee(.25,e.color.defaultText)})),rC=A.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"?ee(.1,e.color.defaultText):ee(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border};return{maxWidth:1e3,width:"100%",[le("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}},[le("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}},[le("div")]:t,[le("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}},[le("h1")]:{...t,...r,fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},[le("h2")]:{...t,...r,fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`},[le("h3")]:{...t,...r,fontSize:`${e.typography.size.m1}px`,fontWeight:e.typography.weight.bold},[le("h4")]:{...t,...r,fontSize:`${e.typography.size.s3}px`},[le("h5")]:{...t,...r,fontSize:`${e.typography.size.s2}px`},[le("h6")]:{...t,...r,fontSize:`${e.typography.size.s2}px`,color:e.color.dark},[le("hr")]:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},[le("img")]:{maxWidth:"100%"},[le("li")]:{...t,fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":n},[le("ol")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},[le("p")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":n},[le("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"}},[le("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"}}},[le("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}},[le("ul")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0},listStyle:"disc"}}}),nC=A.div(({theme:e})=>({background:e.background.content,display:"flex",justifyContent:"center",padding:"4rem 20px",minHeight:"100vh",boxSizing:"border-box",gap:"3rem",[`@media (min-width: ${xl}px)`]:{}})),aC=({children:e,toc:t})=>u.createElement(nC,{className:"sbdocs sbdocs-wrapper"},u.createElement(rC,{className:"sbdocs sbdocs-content"},e),t),Zn=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}`}),oC=A(Vn)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"}),lC=A.div({display:"flex",alignItems:"center",gap:4}),iC=A.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`})),sC=({isLoading:e,storyId:t,baseUrl:r,zoom:n,resetZoom:a,...l})=>u.createElement(oC,{...l},u.createElement(lC,{key:"left"},e?[1,2,3].map(i=>u.createElement(iC,{key:i})):u.createElement(u.Fragment,null,u.createElement(zt,{key:"zoomin",onClick:i=>{i.preventDefault(),n(.8)},title:"Zoom in"},u.createElement(Ws,null)),u.createElement(zt,{key:"zoomout",onClick:i=>{i.preventDefault(),n(1.25)},title:"Zoom out"},u.createElement(qs,null)),u.createElement(zt,{key:"zoomreset",onClick:i=>{i.preventDefault(),a()},title:"Reset zoom"},u.createElement(Gs,null))))),I1=o.createContext({scale:1}),{window:cC}=ke,dC=class extends o.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{id:e}=this.props;this.iframe=cC.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,...l}=this.props;return u.createElement("iframe",{id:e,title:t,src:r,...n?{allow:"fullscreen"}:{},loading:"lazy",...l})}},{PREVIEW_URL:uC}=ke,pC=uC||"iframe.html",lo=({story:e,primary:t})=>`story--${e.id}${t?"--primary":""}`,fC=e=>{let t=o.useRef(),[r,n]=o.useState(!0),[a,l]=o.useState(),{story:i,height:c,autoplay:s,forceInitialArgs:d,renderStoryToElement:p}=e;return o.useEffect(()=>{if(!(i&&t.current))return()=>{};let h=t.current,m=p(i,h,{showMain:()=>{},showError:({title:f,description:v})=>l(new Error(`${f} - ${v}`)),showException:f=>l(f)},{autoplay:s,forceInitialArgs:d});return n(!1),()=>{Promise.resolve().then(()=>m())}},[s,p,i]),a?u.createElement("pre",null,u.createElement(kc,{error:a})):u.createElement(u.Fragment,null,c?u.createElement("style",null,`#${lo(e)} { min-height: ${c}; transform: translateZ(0); overflow: auto }`):null,r&&u.createElement(A1,null),u.createElement("div",{ref:t,id:`${lo(e)}-inner`,"data-name":i.name}))},hC=({story:e,height:t="500px"})=>u.createElement("div",{style:{width:"100%",height:t}},u.createElement(I1.Consumer,null,({scale:r})=>u.createElement(dC,{key:"iframe",id:`iframe--${e.id}`,title:e.name,src:Fc(pC,e.id,{viewMode:"story"}),allowFullScreen:!0,scale:r,style:{width:"100%",height:"100%",border:"0 none"}}))),gC=e=>{let{inline:t}=e;return u.createElement("div",{id:lo(e),className:"sb-story sb-unstyled","data-story-block":"true"},t?u.createElement(fC,{...e}):u.createElement(hC,{...e}))},A1=()=>u.createElement(Hc,null),mC=A.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)`}}:{}),c0=A(wl)(({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)}})),vC=A.div(({theme:e,withSource:t,isExpanded:r})=>({position:"relative",overflow:"hidden",margin:"25px 0 40px",...Zn(e),borderBottomLeftRadius:t&&r&&0,borderBottomRightRadius:t&&r&&0,borderBottomWidth:r&&0,"h3 + &":{marginTop:"16px"}}),({withToolbar:e})=>e&&{paddingTop:40}),bC=(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:u.createElement(c0,{...e,dark:!0}),actionItem:{title:"Hide code",className:"docblock-code-toggle docblock-code-toggle--expanded",onClick:()=>r(!1)}};default:return{source:u.createElement(c0,{...e,dark:!0}),actionItem:{title:"Show code",className:"docblock-code-toggle",onClick:()=>r(!0)}}}};function yC(e){if(o.Children.count(e)===1){let t=e;if(t.props)return t.props.id}return null}var wC=A(sC)({position:"absolute",top:0,left:0,right:0,height:40}),xC=A.div({overflow:"hidden",position:"relative"}),_1=({isLoading:e,isColumn:t,columns:r,children:n,withSource:a,withToolbar:l=!1,isExpanded:i=!1,additionalActions:c,className:s,layout:d="padded",...p})=>{let[h,m]=o.useState(i),{source:f,actionItem:v}=bC(a,h,m),[g,E]=o.useState(1),x=[s].concat(["sbdocs","sbdocs-preview","sb-unstyled"]),y=a?[v]:[],[b,w]=o.useState(c?[...c]:[]),S=[...y,...b],{window:C}=ke,R=o.useCallback(async _=>{let{createCopyToClipboardFunction:k}=await Bt(()=>Promise.resolve().then(()=>Ey),void 0,import.meta.url);k()},[]),I=_=>{let k=C.getSelection();k&&k.type==="Range"||(_.preventDefault(),b.filter(O=>O.title==="Copied").length===0&&R(f.props.code).then(()=>{w([...b,{title:"Copied",onClick:()=>{}}]),C.setTimeout(()=>w(b.filter(O=>O.title!=="Copied")),1500)}))};return u.createElement(vC,{withSource:a,withToolbar:l,...p,className:x.join(" ")},l&&u.createElement(wC,{isLoading:e,border:!0,zoom:_=>E(g*_),resetZoom:()=>E(1),storyId:yC(n),baseUrl:"./iframe.html"}),u.createElement(I1.Provider,{value:{scale:g}},u.createElement(xC,{className:"docs-story",onCopyCapture:a&&I},u.createElement(mC,{isColumn:t||!Array.isArray(n),columns:r,layout:d},u.createElement(_c.Element,{scale:g},Array.isArray(n)?n.map((_,k)=>u.createElement("div",{key:k},_)):u.createElement("div",null,n))),u.createElement(Bo,{actionItems:S}))),a&&h&&f)};A(_1)(()=>({".docs-story":{paddingTop:32,paddingBottom:40}}));var EC=A.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:ct({theme:e}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:e.typography.size.s1}}})),SC=({tags:e})=>{let t=(e.params||[]).filter(l=>l.description),r=t.length!==0,n=e.deprecated!=null,a=e.returns!=null&&e.returns.description!=null;return!r&&!a&&!n?null:u.createElement(u.Fragment,null,u.createElement(EC,null,u.createElement("tbody",null,n&&u.createElement("tr",{key:"deprecated"},u.createElement("td",{colSpan:2},u.createElement("strong",null,"Deprecated"),": ",e.deprecated.toString())),r&&t.map(l=>u.createElement("tr",{key:l.name},u.createElement("td",null,u.createElement("code",null,l.name)),u.createElement("td",null,l.description))),a&&u.createElement("tr",{key:"returns"},u.createElement("td",null,u.createElement("code",null,"Returns")),u.createElement("td",null,e.returns.description)))))},io=8,d0=A.div(({isExpanded:e})=>({display:"flex",flexDirection:e?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100})),CC=A.span(ct,({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}})),RC=A.button(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,marginBottom:"4px",background:"none",border:"none"})),IC=A.div(ct,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"})),AC=A.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"}})),_C=A(rc)({marginLeft:4}),kC=A(Ko)({marginLeft:4}),OC=()=>u.createElement("span",null,"-"),k1=({text:e,simple:t})=>u.createElement(CC,{simple:t},e),TC=Ft(1e3)(e=>{let t=e.split(/\r?\n/);return`${Math.max(...t.map(r=>r.length))}ch`}),MC=e=>{if(!e)return[e];let t=e.split("|").map(r=>r.trim());return Pw(t)},u0=(e,t=!0)=>{let r=e;return t||(r=e.slice(0,io)),r.map(n=>u.createElement(k1,{key:n,text:n===""?'""':n}))},$C=({value:e,initialExpandedArgs:t})=>{let{summary:r,detail:n}=e,[a,l]=o.useState(!1),[i,c]=o.useState(t||!1);if(r==null)return null;let s=typeof r.toString=="function"?r.toString():r;if(n==null){if(/[(){}[\]<>]/.test(s))return u.createElement(k1,{text:s});let d=MC(s),p=d.length;return p>io?u.createElement(d0,{isExpanded:i},u0(d,i),u.createElement(RC,{onClick:()=>c(!i)},i?"Show less...":`Show ${p-io} more...`)):u.createElement(d0,null,u0(d))}return u.createElement($c,{closeOnOutsideClick:!0,placement:"bottom",visible:a,onVisibleChange:d=>{l(d)},tooltip:u.createElement(AC,{width:TC(n)},u.createElement(Dn,{language:"jsx",format:!1},n))},u.createElement(IC,{className:"sbdocs-expandable"},u.createElement("span",null,s),a?u.createElement(_C,null):u.createElement(kC,null)))},Ta=({value:e,initialExpandedArgs:t})=>e==null?u.createElement(OC,null):u.createElement($C,{value:e,initialExpandedArgs:t}),LC=A.label(({theme:e})=>({lineHeight:"18px",alignItems:"center",marginBottom:8,display:"inline-block",position:"relative",whiteSpace:"nowrap",background:e.boolean.background,borderRadius:"3em",padding:1,input:{appearance:"none",width:"100%",height:"100%",position:"absolute",left:0,top:0,margin:0,padding:0,border:"none",background:"transparent",cursor:"pointer",borderRadius:"3em","&:focus":{outline:"none",boxShadow:`${e.color.secondary} 0 0 0 1px inset !important`}},span:{textAlign:"center",fontSize:e.typography.size.s1,fontWeight:e.typography.weight.bold,lineHeight:"1",cursor:"pointer",display:"inline-block",padding:"7px 15px",transition:"all 100ms ease-out",userSelect:"none",borderRadius:"3em",color:ee(.5,e.color.defaultText),background:"transparent","&:hover":{boxShadow:`${Jr(.3,e.appBorderColor)} 0 0 0 1px inset`},"&:active":{boxShadow:`${Jr(.05,e.appBorderColor)} 0 0 0 2px inset`,color:Jr(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"?`${Jr(.1,e.appBorderColor)} 0 0 2px`:`${e.appBorderColor} 0 0 0 1px`,color:e.color.defaultText,padding:"7px 15px"}})),zC=e=>e==="true",BC=({name:e,value:t,onChange:r,onBlur:n,onFocus:a})=>{let l=o.useCallback(()=>r(!1),[r]);if(t===void 0)return u.createElement(yt,{variant:"outline",size:"medium",id:_n(e),onClick:l},"Set boolean");let i=Pe(e),c=typeof t=="string"?zC(t):t;return u.createElement(LC,{htmlFor:i,"aria-label":e},u.createElement("input",{id:i,type:"checkbox",onChange:s=>r(s.target.checked),checked:c,role:"switch",name:e,onBlur:n,onFocus:a}),u.createElement("span",{"aria-hidden":"true"},"False"),u.createElement("span",{"aria-hidden":"true"},"True"))},PC=e=>{let[t,r,n]=e.split("-"),a=new Date;return a.setFullYear(parseInt(t,10),parseInt(r,10)-1,parseInt(n,10)),a},HC=e=>{let[t,r]=e.split(":"),n=new Date;return n.setHours(parseInt(t,10)),n.setMinutes(parseInt(r,10)),n},FC=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}`},jC=e=>{let t=new Date(e),r=`0${t.getHours()}`.slice(-2),n=`0${t.getMinutes()}`.slice(-2);return`${r}:${n}`},NC=A.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}})),DC=({name:e,value:t,onChange:r,onFocus:n,onBlur:a})=>{let[l,i]=o.useState(!0),c=o.useRef(),s=o.useRef();o.useEffect(()=>{l!==!1&&(c&&c.current&&(c.current.value=FC(t)),s&&s.current&&(s.current.value=jC(t)))},[t]);let d=m=>{let f=PC(m.target.value),v=new Date(t);v.setFullYear(f.getFullYear(),f.getMonth(),f.getDate());let g=v.getTime();g&&r(g),i(!!g)},p=m=>{let f=HC(m.target.value),v=new Date(t);v.setHours(f.getHours()),v.setMinutes(f.getMinutes());let g=v.getTime();g&&r(g),i(!!g)},h=Pe(e);return u.createElement(NC,null,u.createElement(Ht.Input,{type:"date",max:"9999-12-31",ref:c,id:`${h}-date`,name:`${h}-date`,onChange:d,onFocus:n,onBlur:a}),u.createElement(Ht.Input,{type:"time",id:`${h}-time`,name:`${h}-time`,ref:s,onChange:p,onFocus:n,onBlur:a}),l?null:u.createElement("div",null,"invalid"))},VC=A.label({display:"flex"}),UC=e=>{let t=parseFloat(e);return Number.isNaN(t)?void 0:t},WC=({name:e,value:t,onChange:r,min:n,max:a,step:l,onBlur:i,onFocus:c})=>{let[s,d]=o.useState(typeof t=="number"?t:""),[p,h]=o.useState(!1),[m,f]=o.useState(null),v=o.useCallback(x=>{d(x.target.value);let y=parseFloat(x.target.value);Number.isNaN(y)?f(new Error(`'${x.target.value}' is not a number`)):(r(y),f(null))},[r,f]),g=o.useCallback(()=>{d("0"),r(0),h(!0)},[h]),E=o.useRef(null);return o.useEffect(()=>{p&&E.current&&E.current.select()},[p]),o.useEffect(()=>{s!==(typeof t=="number"?t:"")&&d(t)},[t]),!p&&t===void 0?u.createElement(yt,{variant:"outline",size:"medium",id:_n(e),onClick:g},"Set number"):u.createElement(VC,null,u.createElement(Ht.Input,{ref:E,id:Pe(e),type:"number",onChange:v,size:"flex",placeholder:"Edit number...",value:s,valid:m?"error":null,autoFocus:p,name:e,min:n,max:a,step:l,onFocus:c,onBlur:i}))},O1=(e,t)=>{let r=t&&Object.entries(t).find(([n,a])=>a===e);return r?r[0]:void 0},so=(e,t)=>e&&t?Object.entries(t).filter(r=>e.includes(r[1])).map(r=>r[0]):[],T1=(e,t)=>e&&t&&e.map(r=>t[r]),qC=A.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}}),GC=A.span({}),YC=A.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),p0=({name:e,options:t,value:r,onChange:n,isInline:a})=>{if(!t)return yl.warn(`Checkbox with no options: ${e}`),u.createElement(u.Fragment,null,"-");let l=so(r,t),[i,c]=o.useState(l),s=p=>{let h=p.target.value,m=[...i];m.includes(h)?m.splice(m.indexOf(h),1):m.push(h),n(T1(m,t)),c(m)};o.useEffect(()=>{c(so(r,t))},[r]);let d=Pe(e);return u.createElement(qC,{isInline:a},Object.keys(t).map((p,h)=>{let m=`${d}-${h}`;return u.createElement(YC,{key:m,htmlFor:m},u.createElement("input",{type:"checkbox",id:m,name:m,value:p,onChange:s,checked:i==null?void 0:i.includes(p)}),u.createElement(GC,null,p))}))},KC=A.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}}),XC=A.span({}),ZC=A.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),f0=({name:e,options:t,value:r,onChange:n,isInline:a})=>{if(!t)return yl.warn(`Radio with no options: ${e}`),u.createElement(u.Fragment,null,"-");let l=O1(r,t),i=Pe(e);return u.createElement(KC,{isInline:a},Object.keys(t).map((c,s)=>{let d=`${i}-${s}`;return u.createElement(ZC,{key:d,htmlFor:d},u.createElement("input",{type:"radio",id:d,name:d,value:c,onChange:p=>n(t[p.currentTarget.value]),checked:c===l}),u.createElement(XC,null,c))}))},JC={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},M1=A.select(JC,({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}}})),$1=A.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}}})),h0="Choose option...",QC=({name:e,value:t,options:r,onChange:n})=>{let a=c=>{n(r[c.currentTarget.value])},l=O1(t,r)||h0,i=Pe(e);return u.createElement($1,null,u.createElement(Ko,null),u.createElement(M1,{id:i,value:l,onChange:a},u.createElement("option",{key:"no-selection",disabled:!0},h0),Object.keys(r).map(c=>u.createElement("option",{key:c,value:c},c))))},eR=({name:e,value:t,options:r,onChange:n})=>{let a=c=>{let s=Array.from(c.currentTarget.options).filter(d=>d.selected).map(d=>d.value);n(T1(s,r))},l=so(t,r),i=Pe(e);return u.createElement($1,null,u.createElement(M1,{id:i,multiple:!0,value:l,onChange:a},Object.keys(r).map(c=>u.createElement("option",{key:c,value:c},c))))},g0=e=>{let{name:t,options:r}=e;return r?e.isMulti?u.createElement(eR,{...e}):u.createElement(QC,{...e}):(yl.warn(`Select with no options: ${t}`),u.createElement(u.Fragment,null,"-"))},tR=(e,t)=>Array.isArray(e)?e.reduce((r,n)=>(r[(t==null?void 0:t[n])||String(n)]=n,r),{}):e,rR={check:p0,"inline-check":p0,radio:f0,"inline-radio":f0,select:g0,"multi-select":g0},qt=e=>{let{type:t="select",labels:r,argType:n}=e,a={...e,options:n?tR(n.options,r):{},isInline:t.includes("inline"),isMulti:t.includes("multi")},l=rR[t];if(l)return u.createElement(l,{...a});throw new Error(`Unknown options type: ${t}`)},El="value",nR="key",aR="Error",oR="Object",lR="Array",iR="String",sR="Number",cR="Boolean",dR="Date",uR="Null",pR="Undefined",fR="Function",hR="Symbol",L1="ADD_DELTA_TYPE",z1="REMOVE_DELTA_TYPE",B1="UPDATE_DELTA_TYPE";function Ot(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 P1(e,t){let r=Ot(e),n=Ot(t);return(r==="Function"||n==="Function")&&n!==r}var Sl=class extends o.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:l,inputRefValue:i}=this.state,c={};if(!t){if(!l.value)return;c.key=l.value}c.newValue=r(!1,n,a,c.key,i.value),e(c)}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:l,deep:i}=this.props,c=o.cloneElement(r,{onClick:this.onSubmit}),s=o.cloneElement(n,{onClick:e}),d=a(El,l,i),p=o.cloneElement(d,{placeholder:"Value",ref:this.refInputValue}),h=null;if(!t){let m=a(nR,l,i);h=o.cloneElement(m,{placeholder:"Key",ref:this.refInputKey})}return u.createElement("span",{className:"rejt-add-value-node"},h,p,s,c)}};Sl.defaultProps={onlyValue:!1,addButtonElement:u.createElement("button",null,"+"),cancelButtonElement:u.createElement("button",null,"c")};var H1=class extends o.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,l=n.length;a(n[l-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:l}=this.state,i=n[e];t(e,a,l,i).then(()=>{let c={keyPath:a,deep:l,key:e,oldValue:i,type:z1};n.splice(e,1),this.setState({data:n});let{onUpdate:s,onDeltaUpdate:d}=this.props;s(a[a.length-1],n),d(c)}).catch(r.error)}}handleAddValueAdd({newValue:e}){let{data:t,keyPath:r,nextDeep:n}=this.state,{beforeAddAction:a,logger:l}=this.props;a(t.length,r,n,e).then(()=>{let i=[...t,e];this.setState({data:i}),this.handleAddValueCancel();let{onUpdate:c,onDeltaUpdate:s}=this.props;c(r[r.length-1],i),s({type:L1,keyPath:r,deep:n,key:i.length-1,newValue:e})}).catch(l.error)}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:a}=this.props,{data:l,keyPath:i,nextDeep:c}=this.state,s=l[e];a(e,i,c,s,t).then(()=>{l[e]=t,this.setState({data:l});let{onUpdate:d,onDeltaUpdate:p}=this.props;d(i[i.length-1],l),p({type:B1,keyPath:i,deep:c,key:e,newValue:t,oldValue:s}),r(void 0)}).catch(n)})}renderCollapsed(){let{name:e,data:t,keyPath:r,deep:n}=this.state,{handleRemove:a,readOnly:l,getStyle:i,dataType:c,minusMenuElement:s}=this.props,{minus:d,collapsed:p}=i(e,t,r,n,c),h=l(e,t,r,n,c),m=o.cloneElement(s,{onClick:a,className:"rejt-minus-menu",style:d});return u.createElement("span",{className:"rejt-collapsed"},u.createElement("span",{className:"rejt-collapsed-text",style:p,onClick:this.handleCollapseMode},"[...] ",t.length," ",t.length===1?"item":"items"),!h&&m)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,addFormVisible:a,nextDeep:l}=this.state,{isCollapsed:i,handleRemove:c,onDeltaUpdate:s,readOnly:d,getStyle:p,dataType:h,addButtonElement:m,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:E,minusMenuElement:x,plusMenuElement:y,beforeRemoveAction:b,beforeAddAction:w,beforeUpdateAction:S,logger:C,onSubmitValueParser:R}=this.props,{minus:I,plus:_,delimiter:k,ul:O,addForm:T}=p(e,t,r,n,h),M=d(e,t,r,n,h),F=o.cloneElement(y,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:_}),$=o.cloneElement(x,{onClick:c,className:"rejt-minus-menu",style:I});return u.createElement("span",{className:"rejt-not-collapsed"},u.createElement("span",{className:"rejt-not-collapsed-delimiter",style:k},"["),!a&&F,u.createElement("ul",{className:"rejt-not-collapsed-list",style:O},t.map((L,j)=>u.createElement(Jn,{key:j,name:j.toString(),data:L,keyPath:r,deep:l,isCollapsed:i,handleRemove:this.handleRemoveItem(j),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:s,readOnly:d,getStyle:p,addButtonElement:m,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:E,minusMenuElement:x,plusMenuElement:y,beforeRemoveAction:b,beforeAddAction:w,beforeUpdateAction:S,logger:C,onSubmitValueParser:R}))),!M&&a&&u.createElement("div",{className:"rejt-add-form",style:T},u.createElement(Sl,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,onlyValue:!0,addButtonElement:m,cancelButtonElement:f,inputElementGenerator:g,keyPath:r,deep:n,onSubmitValueParser:R})),u.createElement("span",{className:"rejt-not-collapsed-delimiter",style:k},"]"),!M&&$)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:a}=this.state,{dataType:l,getStyle:i}=this.props,c=t?this.renderCollapsed():this.renderNotCollapsed(),s=i(e,r,n,a,l);return u.createElement("div",{className:"rejt-array-node"},u.createElement("span",{onClick:this.handleCollapseMode},u.createElement("span",{className:"rejt-name",style:s.name},e," :"," ")),c)}};H1.defaultProps={keyPath:[],deep:0,minusMenuElement:u.createElement("span",null," - "),plusMenuElement:u.createElement("span",null," + ")};var F1=class extends o.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:l}=this.state,{readOnly:i,dataType:c}=this.props,s=i(r,n,a,l,c);e&&!s&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:a}=this.props,{inputRef:l,name:i,deep:c}=this.state;if(!l)return;let s=n(!0,a,c,i,l.value);e({value:s,key:i}).then(()=>{P1(t,s)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:a}=this.state,{handleRemove:l,originalValue:i,readOnly:c,dataType:s,getStyle:d,editButtonElement:p,cancelButtonElement:h,textareaElementGenerator:m,minusMenuElement:f,keyPath:v}=this.props,g=d(e,i,n,a,s),E=null,x=null,y=c(e,i,n,a,s);if(r&&!y){let b=m(El,v,a,e,i,s),w=o.cloneElement(p,{onClick:this.handleEdit}),S=o.cloneElement(h,{onClick:this.handleCancelEdit}),C=o.cloneElement(b,{ref:this.refInput,defaultValue:i});E=u.createElement("span",{className:"rejt-edit-form",style:g.editForm},C," ",S,w),x=null}else{E=u.createElement("span",{className:"rejt-value",style:g.value,onClick:y?null:this.handleEditMode},t);let b=o.cloneElement(f,{onClick:l,className:"rejt-minus-menu",style:g.minus});x=y?null:b}return u.createElement("li",{className:"rejt-function-value-node",style:g.li},u.createElement("span",{className:"rejt-name",style:g.name},e," :"," "),E,x)}};F1.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>{},editButtonElement:u.createElement("button",null,"e"),cancelButtonElement:u.createElement("button",null,"c"),minusMenuElement:u.createElement("span",null," - ")};var Jn=class extends o.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:l,handleUpdateValue:i,onUpdate:c,onDeltaUpdate:s,readOnly:d,getStyle:p,addButtonElement:h,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:E,plusMenuElement:x,beforeRemoveAction:y,beforeAddAction:b,beforeUpdateAction:w,logger:S,onSubmitValueParser:C}=this.props,R=()=>!0,I=Ot(e);switch(I){case aR:return u.createElement(co,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:l,onUpdate:c,onDeltaUpdate:s,readOnly:R,dataType:I,getStyle:p,addButtonElement:h,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:E,plusMenuElement:x,beforeRemoveAction:y,beforeAddAction:b,beforeUpdateAction:w,logger:S,onSubmitValueParser:C});case oR:return u.createElement(co,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:l,onUpdate:c,onDeltaUpdate:s,readOnly:d,dataType:I,getStyle:p,addButtonElement:h,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:E,plusMenuElement:x,beforeRemoveAction:y,beforeAddAction:b,beforeUpdateAction:w,logger:S,onSubmitValueParser:C});case lR:return u.createElement(H1,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:l,onUpdate:c,onDeltaUpdate:s,readOnly:d,dataType:I,getStyle:p,addButtonElement:h,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:E,plusMenuElement:x,beforeRemoveAction:y,beforeAddAction:b,beforeUpdateAction:w,logger:S,onSubmitValueParser:C});case iR:return u.createElement(ft,{name:t,value:`"${e}"`,originalValue:e,keyPath:r,deep:n,handleRemove:l,handleUpdateValue:i,readOnly:d,dataType:I,getStyle:p,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,minusMenuElement:E,logger:S,onSubmitValueParser:C});case sR:return u.createElement(ft,{name:t,value:e,originalValue:e,keyPath:r,deep:n,handleRemove:l,handleUpdateValue:i,readOnly:d,dataType:I,getStyle:p,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,minusMenuElement:E,logger:S,onSubmitValueParser:C});case cR:return u.createElement(ft,{name:t,value:e?"true":"false",originalValue:e,keyPath:r,deep:n,handleRemove:l,handleUpdateValue:i,readOnly:d,dataType:I,getStyle:p,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,minusMenuElement:E,logger:S,onSubmitValueParser:C});case dR:return u.createElement(ft,{name:t,value:e.toISOString(),originalValue:e,keyPath:r,deep:n,handleRemove:l,handleUpdateValue:i,readOnly:R,dataType:I,getStyle:p,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,minusMenuElement:E,logger:S,onSubmitValueParser:C});case uR:return u.createElement(ft,{name:t,value:"null",originalValue:"null",keyPath:r,deep:n,handleRemove:l,handleUpdateValue:i,readOnly:d,dataType:I,getStyle:p,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,minusMenuElement:E,logger:S,onSubmitValueParser:C});case pR:return u.createElement(ft,{name:t,value:"undefined",originalValue:"undefined",keyPath:r,deep:n,handleRemove:l,handleUpdateValue:i,readOnly:d,dataType:I,getStyle:p,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,minusMenuElement:E,logger:S,onSubmitValueParser:C});case fR:return u.createElement(F1,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:l,handleUpdateValue:i,readOnly:d,dataType:I,getStyle:p,cancelButtonElement:m,editButtonElement:f,textareaElementGenerator:g,minusMenuElement:E,logger:S,onSubmitValueParser:C});case hR:return u.createElement(ft,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:l,handleUpdateValue:i,readOnly:R,dataType:I,getStyle:p,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,minusMenuElement:E,logger:S,onSubmitValueParser:C});default:return null}}};Jn.defaultProps={keyPath:[],deep:0};var co=class extends o.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,l=n.length;a(n[l-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:l,logger:i}=this.props;l(e,n,a,t).then(()=>{r[e]=t,this.setState({data:r}),this.handleAddValueCancel();let{onUpdate:c,onDeltaUpdate:s}=this.props;c(n[n.length-1],r),s({type:L1,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:l}=this.state,i=n[e];t(e,a,l,i).then(()=>{let c={keyPath:a,deep:l,key:e,oldValue:i,type:z1};delete n[e],this.setState({data:n});let{onUpdate:s,onDeltaUpdate:d}=this.props;s(a[a.length-1],n),d(c)}).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:l,keyPath:i,nextDeep:c}=this.state,s=l[e];a(e,i,c,s,t).then(()=>{l[e]=t,this.setState({data:l});let{onUpdate:d,onDeltaUpdate:p}=this.props;d(i[i.length-1],l),p({type:B1,keyPath:i,deep:c,key:e,newValue:t,oldValue:s}),r()}).catch(n)})}renderCollapsed(){let{name:e,keyPath:t,deep:r,data:n}=this.state,{handleRemove:a,readOnly:l,dataType:i,getStyle:c,minusMenuElement:s}=this.props,{minus:d,collapsed:p}=c(e,n,t,r,i),h=Object.getOwnPropertyNames(n),m=l(e,n,t,r,i),f=o.cloneElement(s,{onClick:a,className:"rejt-minus-menu",style:d});return u.createElement("span",{className:"rejt-collapsed"},u.createElement("span",{className:"rejt-collapsed-text",style:p,onClick:this.handleCollapseMode},"{...}"," ",h.length," ",h.length===1?"key":"keys"),!m&&f)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,nextDeep:a,addFormVisible:l}=this.state,{isCollapsed:i,handleRemove:c,onDeltaUpdate:s,readOnly:d,getStyle:p,dataType:h,addButtonElement:m,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:E,minusMenuElement:x,plusMenuElement:y,beforeRemoveAction:b,beforeAddAction:w,beforeUpdateAction:S,logger:C,onSubmitValueParser:R}=this.props,{minus:I,plus:_,addForm:k,ul:O,delimiter:T}=p(e,t,r,n,h),M=Object.getOwnPropertyNames(t),F=d(e,t,r,n,h),$=o.cloneElement(y,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:_}),L=o.cloneElement(x,{onClick:c,className:"rejt-minus-menu",style:I}),j=M.map(V=>u.createElement(Jn,{key:V,name:V,data:t[V],keyPath:r,deep:a,isCollapsed:i,handleRemove:this.handleRemoveValue(V),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:s,readOnly:d,getStyle:p,addButtonElement:m,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:E,minusMenuElement:x,plusMenuElement:y,beforeRemoveAction:b,beforeAddAction:w,beforeUpdateAction:S,logger:C,onSubmitValueParser:R}));return u.createElement("span",{className:"rejt-not-collapsed"},u.createElement("span",{className:"rejt-not-collapsed-delimiter",style:T},"{"),!F&&$,u.createElement("ul",{className:"rejt-not-collapsed-list",style:O},j),!F&&l&&u.createElement("div",{className:"rejt-add-form",style:k},u.createElement(Sl,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,addButtonElement:m,cancelButtonElement:f,inputElementGenerator:g,keyPath:r,deep:n,onSubmitValueParser:R})),u.createElement("span",{className:"rejt-not-collapsed-delimiter",style:T},"}"),!F&&L)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:a}=this.state,{getStyle:l,dataType:i}=this.props,c=t?this.renderCollapsed():this.renderNotCollapsed(),s=l(e,r,n,a,i);return u.createElement("div",{className:"rejt-object-node"},u.createElement("span",{onClick:this.handleCollapseMode},u.createElement("span",{className:"rejt-name",style:s.name},e," :"," ")),c)}};co.defaultProps={keyPath:[],deep:0,minusMenuElement:u.createElement("span",null," - "),plusMenuElement:u.createElement("span",null," + ")};var ft=class extends o.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:l}=this.state,{readOnly:i,dataType:c}=this.props,s=i(r,n,a,l,c);e&&!s&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:a}=this.props,{inputRef:l,name:i,deep:c}=this.state;if(!l)return;let s=n(!0,a,c,i,l.value);e({value:s,key:i}).then(()=>{P1(t,s)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:a}=this.state,{handleRemove:l,originalValue:i,readOnly:c,dataType:s,getStyle:d,editButtonElement:p,cancelButtonElement:h,inputElementGenerator:m,minusMenuElement:f,keyPath:v}=this.props,g=d(e,i,n,a,s),E=c(e,i,n,a,s),x=r&&!E,y=m(El,v,a,e,i,s),b=o.cloneElement(p,{onClick:this.handleEdit}),w=o.cloneElement(h,{onClick:this.handleCancelEdit}),S=o.cloneElement(y,{ref:this.refInput,defaultValue:JSON.stringify(i)}),C=o.cloneElement(f,{onClick:l,className:"rejt-minus-menu",style:g.minus});return u.createElement("li",{className:"rejt-value-node",style:g.li},u.createElement("span",{className:"rejt-name",style:g.name},e," : "),x?u.createElement("span",{className:"rejt-edit-form",style:g.editForm},S," ",w,b):u.createElement("span",{className:"rejt-value",style:g.value,onClick:E?null:this.handleEditMode},String(t)),!E&&!x&&C)}};ft.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>Promise.resolve(),editButtonElement:u.createElement("button",null,"e"),cancelButtonElement:u.createElement("button",null,"c"),minusMenuElement:u.createElement("span",null," - ")};var gR={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},mR={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},vR={minus:{color:"red"},editForm:{},value:{color:"#7bba3d"},li:{minHeight:"22px",lineHeight:"22px",outline:"0px"},name:{color:"#2287CD"}};function bR(e){let t=e;if(t.indexOf("function")===0)return(0,eval)(`(${t})`);try{t=JSON.parse(e)}catch{}return t}var j1=class extends o.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:l,addButtonElement:i,cancelButtonElement:c,editButtonElement:s,inputElement:d,textareaElement:p,minusMenuElement:h,plusMenuElement:m,beforeRemoveAction:f,beforeAddAction:v,beforeUpdateAction:g,logger:E,onSubmitValueParser:x,fallback:y=null}=this.props,b=Ot(e),w=a;Ot(a)==="Boolean"&&(w=()=>a);let S=d;d&&Ot(d)!=="Function"&&(S=()=>d);let C=p;return p&&Ot(p)!=="Function"&&(C=()=>p),b==="Object"||b==="Array"?u.createElement("div",{className:"rejt-tree"},u.createElement(Jn,{data:e,name:t,deep:-1,isCollapsed:r,onUpdate:this.onUpdate,onDeltaUpdate:n,readOnly:w,getStyle:l,addButtonElement:i,cancelButtonElement:c,editButtonElement:s,inputElementGenerator:S,textareaElementGenerator:C,minusMenuElement:h,plusMenuElement:m,handleRemove:this.removeRoot,beforeRemoveAction:f,beforeAddAction:v,beforeUpdateAction:g,logger:E,onSubmitValueParser:x})):y}};j1.defaultProps={rootName:"root",isCollapsed:(e,t)=>t!==-1,getStyle:(e,t,r,n,a)=>{switch(a){case"Object":case"Error":return gR;case"Array":return mR;default:return vR}},readOnly:()=>!1,onFullyUpdate:()=>{},onDeltaUpdate:()=>{},beforeRemoveAction:()=>Promise.resolve(),beforeAddAction:()=>Promise.resolve(),beforeUpdateAction:()=>Promise.resolve(),logger:{error:()=>{}},onSubmitValueParser:(e,t,r,n,a)=>bR(a),inputElement:()=>u.createElement("input",null),textareaElement:()=>u.createElement("textarea",null),fallback:null};var{window:yR}=ke,wR=A.div(({theme:e})=>({position:"relative",display:"flex",".rejt-tree":{marginLeft:"1rem",fontSize:"13px"},".rejt-value-node, .rejt-object-node > .rejt-collapsed, .rejt-array-node > .rejt-collapsed, .rejt-object-node > .rejt-not-collapsed, .rejt-array-node > .rejt-not-collapsed":{"& > svg":{opacity:0,transition:"opacity 0.2s"}},".rejt-value-node:hover, .rejt-object-node:hover > .rejt-collapsed, .rejt-array-node:hover > .rejt-collapsed, .rejt-object-node:hover > .rejt-not-collapsed, .rejt-array-node:hover > .rejt-not-collapsed":{"& > svg":{opacity:1}},".rejt-edit-form button":{display:"none"},".rejt-add-form":{marginLeft:10},".rejt-add-value-node":{display:"inline-flex",alignItems:"center"},".rejt-name":{lineHeight:"22px"},".rejt-not-collapsed-delimiter":{lineHeight:"22px"},".rejt-plus-menu":{marginLeft:5},".rejt-object-node > span > *, .rejt-array-node > span > *":{position:"relative",zIndex:2},".rejt-object-node, .rejt-array-node":{position:"relative"},".rejt-object-node > span:first-of-type::after, .rejt-array-node > span:first-of-type::after, .rejt-collapsed::before, .rejt-not-collapsed::before":{content:'""',position:"absolute",top:0,display:"block",width:"100%",marginLeft:"-1rem",padding:"0 4px 0 1rem",height:22},".rejt-collapsed::before, .rejt-not-collapsed::before":{zIndex:1,background:"transparent",borderRadius:4,transition:"background 0.2s",pointerEvents:"none",opacity:.1},".rejt-object-node:hover, .rejt-array-node:hover":{"& > .rejt-collapsed::before, & > .rejt-not-collapsed::before":{background:e.color.secondary}},".rejt-collapsed::after, .rejt-not-collapsed::after":{content:'""',position:"absolute",display:"inline-block",pointerEvents:"none",width:0,height:0},".rejt-collapsed::after":{left:-8,top:8,borderTop:"3px solid transparent",borderBottom:"3px solid transparent",borderLeft:"3px solid rgba(153,153,153,0.6)"},".rejt-not-collapsed::after":{left:-10,top:10,borderTop:"3px solid rgba(153,153,153,0.6)",borderLeft:"3px solid transparent",borderRight:"3px solid transparent"},".rejt-value":{display:"inline-block",border:"1px solid transparent",borderRadius:4,margin:"1px 0",padding:"0 4px",cursor:"text",color:e.color.defaultText},".rejt-value-node:hover > .rejt-value":{background:e.color.lighter,borderColor:e.appBorderColor}})),Ma=A.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})),xR=A(Js)(({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}})),ER=A(Qs)(({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}})),m0=A.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}`}})),SR=A(zt)(({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}})),CR=A(Ht.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"}})),RR={bubbles:!0,cancelable:!0,key:"Enter",code:"Enter",keyCode:13},IR=e=>{e.currentTarget.dispatchEvent(new yR.KeyboardEvent("keydown",RR))},AR=e=>{e.currentTarget.select()},_R=e=>()=>({name:{color:e.color.secondary},collapsed:{color:e.color.dark},ul:{listStyle:"none",margin:"0 0 0 1rem",padding:0},li:{outline:0}}),v0=({name:e,value:t,onChange:r})=>{let n=ts(),a=o.useMemo(()=>t&&Ex(t),[t]),l=a!=null,[i,c]=o.useState(!l),[s,d]=o.useState(null),p=o.useCallback(x=>{try{x&&r(JSON.parse(x)),d(void 0)}catch(y){d(y)}},[r]),[h,m]=o.useState(!1),f=o.useCallback(()=>{r({}),m(!0)},[m]),v=o.useRef(null);if(o.useEffect(()=>{h&&v.current&&v.current.select()},[h]),!l)return u.createElement(yt,{id:_n(e),onClick:f},"Set object");let g=u.createElement(CR,{ref:v,id:Pe(e),name:e,defaultValue:t===null?"":JSON.stringify(t,null,2),onBlur:x=>p(x.target.value),placeholder:"Edit JSON string...",autoFocus:h,valid:s?"error":null}),E=Array.isArray(t)||typeof t=="object"&&(t==null?void 0:t.constructor)===Object;return u.createElement(wR,null,E&&u.createElement(SR,{onClick:x=>{x.preventDefault(),c(y=>!y)}},i?u.createElement(Ks,null):u.createElement(Ys,null),u.createElement("span",null,"RAW")),i?g:u.createElement(j1,{readOnly:!E,isCollapsed:E?void 0:()=>!0,data:a,rootName:e,onFullyUpdate:r,getStyle:_R(n),cancelButtonElement:u.createElement(Ma,{type:"button"},"Cancel"),editButtonElement:u.createElement(Ma,{type:"submit"},"Save"),addButtonElement:u.createElement(Ma,{type:"submit",primary:!0},"Save"),plusMenuElement:u.createElement(xR,null),minusMenuElement:u.createElement(ER,null),inputElement:(x,y,b,w)=>w?u.createElement(m0,{onFocus:AR,onBlur:IR}):u.createElement(m0,null),fallback:g}))},kR=A.input(({theme:e,min:t,max:r,value:n})=>({"&":{width:"100%",backgroundColor:"transparent",appearance:"none"},"&::-webkit-slider-runnable-track":{background:e.base==="light"?`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, + ${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}%, + ${At(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${At(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:"pointer"},"&::-webkit-slider-thumb":{marginTop:"-6px",width:16,height:16,border:`1px solid ${lt(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${lt(e.appBorderColor,.2)}`,cursor:"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:"grabbing"}},"&:focus":{outline:"none","&::-webkit-slider-runnable-track":{borderColor:lt(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}%, + ${At(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${At(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:"pointer",outline:"none"},"&::-moz-range-thumb":{width:16,height:16,border:`1px solid ${lt(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${lt(e.appBorderColor,.2)}`,cursor:"grab",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}%, + ${At(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${At(.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 ${lt(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),N1=A.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums"}),OR=A(N1)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),TR=A.div({display:"flex",alignItems:"center",width:"100%"});function MR(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 $R=({name:e,value:t,onChange:r,min:n=0,max:a=100,step:l=1,onBlur:i,onFocus:c})=>{let s=h=>{r(UC(h.target.value))},d=t!==void 0,p=o.useMemo(()=>MR(l),[l]);return u.createElement(TR,null,u.createElement(N1,null,n),u.createElement(kR,{id:Pe(e),type:"range",onChange:s,name:e,value:t,min:n,max:a,step:l,onFocus:c,onBlur:i}),u.createElement(OR,{numberOFDecimalsPlaces:p,max:a},d?t.toFixed(p):"--"," / ",a))},LR=A.label({display:"flex"}),zR=A.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),BR=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,maxLength:l})=>{let i=h=>{r(h.target.value)},[c,s]=o.useState(!1),d=o.useCallback(()=>{r(""),s(!0)},[s]);if(t===void 0)return u.createElement(yt,{variant:"outline",size:"medium",id:_n(e),onClick:d},"Set string");let p=typeof t=="string";return u.createElement(LR,null,u.createElement(Ht.Textarea,{id:Pe(e),maxLength:l,onChange:i,size:"flex",placeholder:"Edit string...",autoFocus:c,valid:p?null:"error",name:e,value:p?t:"",onFocus:n,onBlur:a}),l&&u.createElement(zR,{isMaxed:(t==null?void 0:t.length)===l},(t==null?void 0:t.length)??0," / ",l))},PR=A(Ht.Input)({padding:10});function HR(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var FR=({onChange:e,name:t,accept:r="image/*",value:n})=>{let a=o.useRef(null);function l(i){if(!i.target.files)return;let c=Array.from(i.target.files).map(s=>URL.createObjectURL(s));e(c),HR(n)}return o.useEffect(()=>{n==null&&a.current&&(a.current.value=null)},[n,t]),u.createElement(PR,{ref:a,id:Pe(t),type:"file",name:t,multiple:!0,onChange:l,accept:r,size:"flex"})},jR=o.lazy(()=>Bt(()=>import("./Color-RQJUDNI5-LFKIZWh_.js"),__vite__mapDeps([9,2,5,1,3,4,6]),import.meta.url)),NR=e=>u.createElement(o.Suspense,{fallback:u.createElement("div",null)},u.createElement(jR,{...e})),DR={array:v0,object:v0,boolean:BC,color:NR,date:DC,number:WC,check:qt,"inline-check":qt,radio:qt,"inline-radio":qt,select:qt,"multi-select":qt,range:$R,text:BR,file:FR},b0=()=>u.createElement(u.Fragment,null,"-"),VR=({row:e,arg:t,updateArgs:r,isHovered:n})=>{var g;let{key:a,control:l}=e,[i,c]=o.useState(!1),[s,d]=o.useState({value:t});o.useEffect(()=>{i||d({value:t})},[i,t]);let p=o.useCallback(E=>(d({value:E}),r({[a]:E}),E),[r,a]),h=o.useCallback(()=>c(!1),[]),m=o.useCallback(()=>c(!0),[]);if(!l||l.disable){let E=(l==null?void 0:l.disable)!==!0&&((g=e==null?void 0:e.type)==null?void 0:g.name)!=="function";return n&&E?u.createElement($t,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):u.createElement(b0,null)}let f={name:a,argType:e,value:s.value,onChange:p,onBlur:h,onFocus:m},v=DR[l.type]||b0;return u.createElement(v,{...f,...l,controlType:l.type})},UR=A.span({fontWeight:"bold"}),WR=A.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),qR=A.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...ct({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),GR=A.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?ee(.1,e.color.defaultText):ee(.2,e.color.defaultText),marginTop:t?4:0})),YR=A.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?ee(.1,e.color.defaultText):ee(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),KR=A.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),XR=e=>e&&{summary:typeof e=="string"?e:e.name},en=e=>{var g;let[t,r]=o.useState(!1),{row:n,updateArgs:a,compact:l,expandable:i,initialExpandedArgs:c}=e,{name:s,description:d}=n,p=n.table||{},h=p.type||XR(n.type),m=p.defaultValue||n.defaultValue,f=(g=n.type)==null?void 0:g.required,v=d!=null&&d!=="";return u.createElement("tr",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},u.createElement(KR,{expandable:i},u.createElement(UR,null,s),f?u.createElement(WR,{title:"Required"},"*"):null),l?null:u.createElement("td",null,v&&u.createElement(qR,null,u.createElement(d1,null,d)),p.jsDocTags!=null?u.createElement(u.Fragment,null,u.createElement(YR,{hasDescription:v},u.createElement(Ta,{value:h,initialExpandedArgs:c})),u.createElement(SC,{tags:p.jsDocTags})):u.createElement(GR,{hasDescription:v},u.createElement(Ta,{value:h,initialExpandedArgs:c}))),l?null:u.createElement("td",null,u.createElement(Ta,{value:m,initialExpandedArgs:c})),a?u.createElement("td",null,u.createElement(VR,{...e,isHovered:t})):null)},ZR=A(tc)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?ee(.25,e.color.defaultText):ee(.3,e.color.defaultText),border:"none",display:"inline-block"})),JR=A(Yo)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?ee(.25,e.color.defaultText):ee(.3,e.color.defaultText),border:"none",display:"inline-block"})),QR=A.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),eI=A.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"?ee(.4,e.color.defaultText):ee(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),tI=A.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),rI=A.td(()=>({position:"relative"})),nI=A.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${At(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),y0=A.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"})),$a=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:a=3})=>{let[l,i]=o.useState(n),c=e==="subsection"?tI:eI,s=(r==null?void 0:r.length)||0,d=e==="subsection"?`${s} item${s!==1?"s":""}`:"",p=`${l?"Hide":"Show"} ${e==="subsection"?s:t} item${s!==1?"s":""}`;return u.createElement(u.Fragment,null,u.createElement(nI,{title:p},u.createElement(c,{colSpan:1},u.createElement(y0,{onClick:h=>i(!l),tabIndex:0},p),u.createElement(QR,null,l?u.createElement(ZR,null):u.createElement(JR,null),t)),u.createElement(rI,{colSpan:a-1},u.createElement(y0,{onClick:h=>i(!l),tabIndex:-1,style:{outline:"none"}},p),l?null:d)),l?r:null)},tn=A.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),fe=A.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),ie=A.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})),he=[2,4,2,2],aI=()=>u.createElement(u.Fragment,null,u.createElement(tn,null,u.createElement(fe,{numColumn:he[0]},u.createElement(ie,{width:"60%"})),u.createElement(fe,{numColumn:he[1]},u.createElement(ie,{width:"30%"})),u.createElement(fe,{numColumn:he[2]},u.createElement(ie,{width:"60%"})),u.createElement(fe,{numColumn:he[3]},u.createElement(ie,{width:"60%"}))),u.createElement(tn,null,u.createElement(fe,{numColumn:he[0]},u.createElement(ie,{width:"60%"})),u.createElement(fe,{numColumn:he[1]},u.createElement(ie,{width:"80%"}),u.createElement(ie,{width:"30%"})),u.createElement(fe,{numColumn:he[2]},u.createElement(ie,{width:"60%"})),u.createElement(fe,{numColumn:he[3]},u.createElement(ie,{width:"60%"}))),u.createElement(tn,null,u.createElement(fe,{numColumn:he[0]},u.createElement(ie,{width:"60%"})),u.createElement(fe,{numColumn:he[1]},u.createElement(ie,{width:"80%"}),u.createElement(ie,{width:"30%"})),u.createElement(fe,{numColumn:he[2]},u.createElement(ie,{width:"60%"})),u.createElement(fe,{numColumn:he[3]},u.createElement(ie,{width:"60%"}))),u.createElement(tn,null,u.createElement(fe,{numColumn:he[0]},u.createElement(ie,{width:"60%"})),u.createElement(fe,{numColumn:he[1]},u.createElement(ie,{width:"80%"}),u.createElement(ie,{width:"30%"})),u.createElement(fe,{numColumn:he[2]},u.createElement(ie,{width:"60%"})),u.createElement(fe,{numColumn:he[3]},u.createElement(ie,{width:"60%"})))),oI=A.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"})),lI=A.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),iI=A.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),sI=({inAddonPanel:e})=>{let[t,r]=o.useState(!0);return o.useEffect(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:u.createElement(oI,{inAddonPanel:e},u.createElement(sl,{title:e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated",description:u.createElement(u.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:u.createElement(lI,null,e&&u.createElement(u.Fragment,null,u.createElement($t,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},u.createElement(Zs,null)," Watch 5m video"),u.createElement(iI,null),u.createElement($t,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},u.createElement(wn,null)," Read docs")),!e&&u.createElement($t,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},u.createElement(wn,null)," Learn how to set that up"))}))},cI=A.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"?ee(.25,e.color.defaultText):ee(.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}}}}})),dI=A(zt)(({theme:e})=>({margin:"-4px -12px -4px 0"})),uI=A.span({display:"flex",justifyContent:"space-between"}),pI={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},fI=(e,t)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([l,i])=>{let{category:c,subcategory:s}=(i==null?void 0:i.table)||{};if(c){let d=r.sections[c]||{ungrouped:[],subsections:{}};if(!s)d.ungrouped.push({key:l,...i});else{let p=d.subsections[s]||[];p.push({key:l,...i}),d.subsections[s]=p}r.sections[c]=d}else if(s){let d=r.ungroupedSubsections[s]||[];d.push({key:l,...i}),r.ungroupedSubsections[s]=d}else r.ungrouped.push({key:l,...i})});let n=pI[t],a=l=>n?Object.keys(l).reduce((i,c)=>({...i,[c]:l[c].sort(n)}),{}):l;return{ungrouped:r.ungrouped.sort(n),ungroupedSubsections:a(r.ungroupedSubsections),sections:Object.keys(r.sections).reduce((l,i)=>({...l,[i]:{ungrouped:r.sections[i].ungrouped.sort(n),subsections:a(r.sections[i].subsections)}}),{})}},hI=(e,t,r)=>{try{return Z1(e,t,r)}catch(n){return qS.warn(n.message),!1}},uo=e=>{let{updateArgs:t,resetArgs:r,compact:n,inAddonPanel:a,initialExpandedArgs:l,sort:i="none",isLoading:c}=e;if("error"in e){let{error:y}=e;return u.createElement(R1,null,y," ",u.createElement($t,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},u.createElement(wn,null)," Read the docs"))}if(c)return u.createElement(aI,null);let{rows:s,args:d,globals:p}="rows"in e&&e,h=fI(pu(s,y=>{var b;return!((b=y==null?void 0:y.table)!=null&&b.disable)&&hI(y,d||{},p||{})}),i),m=h.ungrouped.length===0,f=Object.entries(h.sections).length===0,v=Object.entries(h.ungroupedSubsections).length===0;if(m&&f&&v)return u.createElement(sI,{inAddonPanel:a});let g=1;t&&(g+=1),n||(g+=2);let E=Object.keys(h.sections).length>0,x={updateArgs:t,compact:n,inAddonPanel:a,initialExpandedArgs:l};return u.createElement(Nn,null,u.createElement(cI,{compact:n,inAddonPanel:a,className:"docblock-argstable sb-unstyled"},u.createElement("thead",{className:"docblock-argstable-head"},u.createElement("tr",null,u.createElement("th",null,u.createElement("span",null,"Name")),n?null:u.createElement("th",null,u.createElement("span",null,"Description")),n?null:u.createElement("th",null,u.createElement("span",null,"Default")),t?u.createElement("th",null,u.createElement(uI,null,"Control"," ",!c&&r&&u.createElement(dI,{onClick:()=>r(),title:"Reset controls"},u.createElement(nc,{"aria-hidden":!0})))):null)),u.createElement("tbody",{className:"docblock-argstable-body"},h.ungrouped.map(y=>u.createElement(en,{key:y.key,row:y,arg:d&&d[y.key],...x})),Object.entries(h.ungroupedSubsections).map(([y,b])=>u.createElement($a,{key:y,label:y,level:"subsection",colSpan:g},b.map(w=>u.createElement(en,{key:w.key,row:w,arg:d&&d[w.key],expandable:E,...x})))),Object.entries(h.sections).map(([y,b])=>u.createElement($a,{key:y,label:y,level:"section",colSpan:g},b.ungrouped.map(w=>u.createElement(en,{key:w.key,row:w,arg:d&&d[w.key],...x})),Object.entries(b.subsections).map(([w,S])=>u.createElement($a,{key:w,label:w,level:"subsection",colSpan:g},S.map(C=>u.createElement(en,{key:C.key,row:C,arg:d&&d[C.key],expandable:E,...x})))))))))},gI=({tabs:e,...t})=>{let r=Object.entries(e);return r.length===1?u.createElement(uo,{...r[0][1],...t}):u.createElement(dl,null,r.map((n,a)=>{let[l,i]=n,c=`prop_table_div_${l}`,s="div",d=a===0?t:{sort:t.sort};return u.createElement(s,{key:c,id:c,title:l},({active:p})=>p?u.createElement(uo,{key:`prop_table_${l}`,...i,...d}):null)}))};A.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?ee(.4,e.color.defaultText):ee(.6,e.color.defaultText)}));A.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});A.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}});A.div(re,({theme:e})=>({...Zn(e),margin:"25px 0 40px",padding:"30px 20px"}));A.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText}));A.div(({theme:e})=>({color:e.base==="light"?ee(.2,e.color.defaultText):ee(.6,e.color.defaultText)}));A.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5});A.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"?ee(.4,e.color.defaultText):ee(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}}));A.div({display:"flex",flexDirection:"row"});A.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}}));A.div(({theme:e})=>({...Zn(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"}));A.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30});A.div({flex:1,display:"flex",flexDirection:"row"});A.div({display:"flex",alignItems:"flex-start"});A.div({flex:"0 0 30%"});A.div({flex:1});A.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?ee(.4,e.color.defaultText):ee(.6,e.color.defaultText)}));A.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));var mI=A.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2})),vI=A.div(({theme:e})=>({...Zn(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}})),bI=A.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"}),yI=A.div({display:"flex",flexFlow:"row wrap"}),CA=({name:e,children:t})=>u.createElement(bI,null,u.createElement(vI,null,t),u.createElement(mI,null,e)),RA=({children:e,...t})=>u.createElement(Nn,null,u.createElement(yI,{...t,className:"docblock-icongallery sb-unstyled"},e)),wI=e=>`anchor--${e}`,D1=({storyId:e,children:t})=>u.createElement("div",{id:wI(e),className:"sb-anchor"},t);ke&&ke.__DOCS_CONTEXT__===void 0&&(ke.__DOCS_CONTEXT__=o.createContext(null),ke.__DOCS_CONTEXT__.displayName="DocsContext");var Re=ke?ke.__DOCS_CONTEXT__:o.createContext(null),Vr=(e,t)=>o.useContext(Re).resolveOf(e,t),xI=e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""),EI=e=>{if(e)return typeof e=="string"?e.includes("-")?xI(e):e:e.__docgenInfo&&e.__docgenInfo.displayName?e.__docgenInfo.displayName:e.name};function SI(e,t="start"){e.scrollIntoView({behavior:"smooth",block:t,inline:"nearest"})}function V1(e){return jS(e,{allowFunction:!1})}var U1=o.createContext({sources:{}}),W1="--unknown--",CI=({children:e,channel:t})=>{let[r,n]=o.useState({});return o.useEffect(()=>{let a=(l,i=null,c=!1)=>{let{id:s,args:d=void 0,source:p,format:h}=typeof l=="string"?{id:l,source:i,format:c}:l,m=d?V1(d):W1;n(f=>({...f,[s]:{...f[s],[m]:{code:p,format:h}}}))};return t.on(Tl,a),()=>t.off(Tl,a)},[]),u.createElement(U1.Provider,{value:{sources:r}},e)},RI=(e,t,r)=>{let{sources:n}=r,a=n==null?void 0:n[e];return(a==null?void 0:a[V1(t)])||(a==null?void 0:a[W1])||{code:""}},II=({snippet:e,storyContext:t,typeFromProps:r,transformFromProps:n})=>{var s,d;let{__isArgsStory:a}=t.parameters,l=((s=t.parameters.docs)==null?void 0:s.source)||{},i=r||l.type||ra.AUTO;if(l.code!==void 0)return l.code;let c=i===ra.DYNAMIC||i===ra.AUTO&&e&&a?e:l.originalSource||"";return((d=n??l.transform)==null?void 0:d(c,t))||c},AI=(e,t,r)=>{var f,v,g,E;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 l=((v=(f=n==null?void 0:n.parameters)==null?void 0:f.docs)==null?void 0:v.source)||{},{code:i}=e,c=e.format??l.format,s=e.language??l.language??"jsx",d=e.dark??l.dark??!1;if(!i&&!n)return{error:"Oh no! The source is not available."};if(i)return{code:i,format:c,language:s,dark:d};let p=t.getStoryContext(n),h=e.__forceInitialArgs?p.initialArgs:p.unmappedArgs,m=RI(n.id,h,r);return c=m.format??((E=(g=n.parameters.docs)==null?void 0:g.source)==null?void 0:E.format)??!1,{code:II({snippet:m.code,storyContext:{...p,args:h},typeFromProps:e.type,transformFromProps:e.transform}),format:c,language:s,dark:d}};function _I(e,t){let r=kI([e],t);return r&&r[0]}function kI(e,t){let[r,n]=o.useState({});return o.useEffect(()=>{Promise.all(e.map(async a=>{let l=await t.loadStory(a);n(i=>i[a]===l?i:{...i,[a]:l})}))}),e.map(a=>{if(r[a])return r[a];try{return t.storyById(a)}catch{return null}})}var OI=(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},TI=(e,t,r)=>{let{parameters:n={}}=t||{},{docs:a={}}=n,l=a.story||{};if(a.disable)return null;if(e.inline??l.inline??!1){let c=e.height??l.height,s=e.autoplay??l.autoplay??!1;return{story:t,inline:!0,height:c,autoplay:s,forceInitialArgs:!!e.__forceInitialArgs,primary:!!e.__primary,renderStoryToElement:r.renderStoryToElement}}let i=e.height??l.height??l.iframeHeight??"100px";return{story:t,inline:!1,height:i,primary:!!e.__primary}},MI=(e={__forceInitialArgs:!1,__primary:!1})=>{let t=o.useContext(Re),r=OI(e,t),n=_I(r,t);if(!n)return u.createElement(A1,null);let a=TI(e,n,t);return a?u.createElement(gC,{...a}):null},$I=e=>{var m,f,v,g,E,x,y,b,w,S;let t=o.useContext(Re),r=o.useContext(U1),{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:l}=Vr(n||"story",["story"]),i=AI({...a,...n&&{of:n}},t,r),c=e.layout??l.parameters.layout??((f=(m=l.parameters.docs)==null?void 0:m.canvas)==null?void 0:f.layout)??"padded",s=e.withToolbar??((g=(v=l.parameters.docs)==null?void 0:v.canvas)==null?void 0:g.withToolbar)??!1,d=e.additionalActions??((x=(E=l.parameters.docs)==null?void 0:E.canvas)==null?void 0:x.additionalActions),p=e.sourceState??((b=(y=l.parameters.docs)==null?void 0:y.canvas)==null?void 0:b.sourceState)??"hidden",h=e.className??((S=(w=l.parameters.docs)==null?void 0:w.canvas)==null?void 0:S.className);return u.createElement(_1,{withSource:p==="none"?void 0:i,isExpanded:p==="shown",withToolbar:s,additionalActions:d,className:h,layout:c},u.createElement(MI,{of:n||l.moduleExport,meta:e.meta,...e.story}))},LI=(e,t)=>{let r=t.getStoryContext(e),[n,a]=o.useState(r.globals);return o.useEffect(()=>{let l=i=>{a(i.globals)};return t.channel.on(i0,l),()=>t.channel.off(i0,l)},[t.channel]),[n]},zI=(e,t)=>{let r=BI(e,t);if(!r)throw new Error("No result when story was defined");return r},BI=(e,t)=>{let r=e?t.getStoryContext(e):{args:{}},{id:n}=e||{id:"none"},[a,l]=o.useState(r.args);o.useEffect(()=>{let s=d=>{d.storyId===n&&l(d.args)};return t.channel.on(s0,s),()=>t.channel.off(s0,s)},[n,t.channel]);let i=o.useCallback(s=>t.channel.emit(GS,{storyId:n,updatedArgs:s}),[n,t.channel]),c=o.useCallback(s=>t.channel.emit(YS,{storyId:n,argNames:s}),[n,t.channel]);return e&&[a,i,c]};function PI(e,t){let{extractArgTypes:r}=t.docs||{};if(!r)throw new Error("Args unsupported. See Args documentation for your framework.");return r(e)}var HI=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=o.useContext(Re),{story:n}=r.resolveOf(t||"story",["story"]),{parameters:a,argTypes:l,component:i,subcomponents:c}=n,s=((w=a.docs)==null?void 0:w.controls)||{},d=e.include??s.include,p=e.exclude??s.exclude,h=e.sort??s.sort,[m,f,v]=zI(n,r),[g]=LI(n,r),E=l0(l,d,p);if(!(c&&Object.keys(c).length>0))return Object.keys(E).length>0||Object.keys(m).length>0?u.createElement(uo,{rows:E,sort:h,args:m,globals:g,updateArgs:f,resetArgs:v}):null;let x=EI(i),y=Object.fromEntries(Object.entries(c).map(([S,C])=>[S,{rows:l0(PI(C,a),d,p),sort:h}])),b={[x]:{rows:E,sort:h},...y};return u.createElement(gI,{tabs:b,sort:h,args:m,globals:g,updateArgs:f,resetArgs:v})},{document:q1}=ke,FI=({className:e,children:t,...r})=>{if(typeof e!="string"&&(typeof t!="string"||!t.match(/[\n\r]/g)))return u.createElement(Qo,null,t);let n=e&&e.split("-");return u.createElement(wl,{language:n&&n[1]||"text",format:!1,code:t,...r})};function Cl(e,t){e.channel.emit(KS,t)}var po=jc.a,jI=({hash:e,children:t})=>{let r=o.useContext(Re);return u.createElement(po,{href:e,target:"_self",onClick:n=>{let a=e.substring(1);q1.getElementById(a)&&Cl(r,e)}},t)},NI=e=>{let{href:t,target:r,children:n,...a}=e,l=o.useContext(Re);if(t){if(t.startsWith("#"))return u.createElement(jI,{hash:t},n);if(r!=="_blank"&&!t.startsWith("https://"))return u.createElement(po,{href:t,onClick:i=>{i.button===0&&!i.altKey&&!i.ctrlKey&&!i.metaKey&&!i.shiftKey&&(i.preventDefault(),Cl(l,i.currentTarget.getAttribute("href")))},target:r,...a},n)}return u.createElement(po,{...e})},G1=["h1","h2","h3","h4","h5","h6"],DI=G1.reduce((e,t)=>({...e,[t]:A(t)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})}),{}),VI=A.a(()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"})),UI=({as:e,id:t,children:r,...n})=>{let a=o.useContext(Re),l=DI[e],i=`#${t}`;return u.createElement(l,{id:t,...n},u.createElement(VI,{"aria-hidden":"true",href:i,tabIndex:-1,target:"_self",onClick:c=>{q1.getElementById(t)&&Cl(a,i)}},u.createElement(ec,null)),r)},Rl=e=>{let{as:t,id:r,children:n,...a}=e;if(r)return u.createElement(UI,{as:t,id:r,...a},n);let l=t,{as:i,...c}=e;return u.createElement(l,{...te(c,t)})},WI=G1.reduce((e,t)=>({...e,[t]:r=>u.createElement(Rl,{as:t,...r})}),{}),qI=e=>{var t;if(!e.children)return null;if(typeof e.children!="string")throw new Error(yd`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 u.createElement(d1,{...e,options:{forceBlock:!0,overrides:{code:FI,a:NI,...WI,...(t=e==null?void 0:e.options)==null?void 0:t.overrides},...e==null?void 0:e.options}})},GI=(e=>(e.INFO="info",e.NOTES="notes",e.DOCGEN="docgen",e.AUTO="auto",e))(GI||{}),YI=e=>{var t,r,n,a,l,i,c,s;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:p}=e.preparedMeta;return((a=(n=d.docs)==null?void 0:n.description)==null?void 0:a.component)||((i=(l=d.docs)==null?void 0:l.extractComponentDescription)==null?void 0:i.call(l,p,{component:p,parameters:d}))||null}case"component":{let{component:d,projectAnnotations:{parameters:p}}=e;return((s=(c=p.docs)==null?void 0:c.extractComponentDescription)==null?void 0:s.call(c,d,{component:d,parameters:p}))||null}default:throw new Error(`Unrecognized module type resolved from 'useOf', got: ${e.type}`)}},fo=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=Vr(t||"meta"),n=YI(r);return n?u.createElement(qI,null,n):null},KI=A.div(({theme:e})=>({width:"10rem","@media (max-width: 768px)":{display:"none"}})),XI=A.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"}})),ZI=A.p(({theme:e})=>({fontWeight:600,fontSize:"0.875em",color:e.textColor,textTransform:"uppercase",marginBottom:10})),JI=({title:e})=>e===null?null:typeof e=="string"?u.createElement(ZI,null,e):e,QI=({title:e,disable:t,headingSelector:r,contentsSelector:n,ignoreSelector:a,unsafeTocbotOptions:l})=>(o.useEffect(()=>{let i={tocSelector:".toc-wrapper",contentSelector:n??".sbdocs-content",headingSelector:r??"h3",ignoreSelector:a??".docs-story *, .skip-toc",headingsOffset:40,scrollSmoothOffset:-40,orderedList:!1,onClick:()=>!1,...l},c=setTimeout(()=>o0.init(i),100);return()=>{clearTimeout(c),o0.destroy()}},[t]),u.createElement(u.Fragment,null,u.createElement(KI,null,t?null:u.createElement(XI,null,u.createElement(JI,{title:e||null}),u.createElement("div",{className:"toc-wrapper"}))))),{document:eA,window:tA}=ke,rA=({context:e,theme:t,children:r})=>{var a,l,i,c,s;let n;try{n=(l=(a=e.resolveOf("meta",["meta"]).preparedMeta.parameters)==null?void 0:a.docs)==null?void 0:l.toc}catch{n=(s=(c=(i=e==null?void 0:e.projectAnnotations)==null?void 0:i.parameters)==null?void 0:c.docs)==null?void 0:s.toc}return o.useEffect(()=>{let d;try{if(d=new URL(tA.parent.location.toString()),d.hash){let p=eA.getElementById(d.hash.substring(1));p&&setTimeout(()=>{SI(p)},200)}}catch{}}),u.createElement(Re.Provider,{value:e},u.createElement(CI,{channel:e.channel},u.createElement(rs,{theme:B5(t)},u.createElement(aC,{toc:n?u.createElement(QI,{className:"sbdocs sbdocs-toc--custom",...n}):null},r))))},nA=/\s*\/\s*/,aA=e=>{let t=e.trim().split(nA);return t&&t[t.length-1]||e},oA=({children:e})=>{let t=o.useContext(Re),r=e||aA(t.storyById().title);return r?u.createElement(eC,{className:"sbdocs-title sb-unstyled"},r):null},lA=({children:e})=>{var n;let t=o.useContext(Re),r=e||((n=t.storyById().parameters)==null?void 0:n.componentSubtitle);return r?u.createElement(tC,{className:"sbdocs-subtitle sb-unstyled"},r):null},iA=({children:e,disableAnchor:t})=>{if(t||typeof e!="string")return u.createElement(tl,null,e);let r=globalThis.encodeURIComponent(e.toLowerCase());return u.createElement(Rl,{as:"h3",id:r},e)},Y1=({of:e,expanded:t=!0,withToolbar:r=!1,__forceInitialArgs:n=!1,__primary:a=!1})=>{var c,s;let{story:l}=Vr(e||"story",["story"]),i=((s=(c=l.parameters.docs)==null?void 0:c.canvas)==null?void 0:s.withToolbar)??r;return u.createElement(D1,{storyId:l.id},t&&u.createElement(u.Fragment,null,u.createElement(iA,null,l.name),u.createElement(fo,{of:e})),u.createElement($I,{of:e,withToolbar:i,story:{__forceInitialArgs:n,__primary:a},source:{__forceInitialArgs:n}}))},sA=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}=Vr(t||"meta",["meta"]),n=o.useContext(Re).componentStoriesFromCSFFile(r)[0];return n?u.createElement(Y1,{of:n.moduleExport,expanded:!1,__primary:!0,withToolbar:!0}):null},cA=({children:e,disableAnchor:t,...r})=>{if(t||typeof e!="string")return u.createElement(el,null,e);let n=e.toLowerCase().replace(/[^a-z0-9]/gi,"-");return u.createElement(Rl,{as:"h2",id:n,...r},e)},dA=A(cA)(({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"}})),uA=({title:e="Stories",includePrimary:t=!0})=>{var c;let{componentStories:r,projectAnnotations:n,getStoryContext:a}=o.useContext(Re),l=r(),{stories:{filter:i}={filter:void 0}}=((c=n.parameters)==null?void 0:c.docs)||{};return i&&(l=l.filter(s=>i(s,a(s)))),t||(l=l.slice(1)),!l||l.length===0?null:u.createElement(u.Fragment,null,u.createElement(dA,null,e),l.map(s=>s&&u.createElement(Y1,{key:s.id,of:s.moduleExport,expanded:!0,__forceInitialArgs:!0})))},pA=()=>{let e=Vr("meta",["meta"]),{stories:t}=e.csfFile,r=Object.keys(t).length===1;return u.createElement(u.Fragment,null,u.createElement(oA,null),u.createElement(lA,null),u.createElement(fo,{of:"meta"}),r?u.createElement(fo,{of:"story"}):null,u.createElement(sA,null),u.createElement(HI,null),r?null:u.createElement(uA,null))};function IA({context:e,docsParameter:t}){let r=t.container||rA,n=t.page||pA;return u.createElement(r,{context:e,theme:t.theme},u.createElement(n,null))}var AA=({of:e})=>{let t=o.useContext(Re);e&&t.referenceMeta(e,!0);try{let r=t.storyById();return u.createElement(D1,{storyId:r.id})}catch{return null}};export{NI as A,FI as C,IA as D,Ht as F,WI as H,RA as I,AA as M,Fo as S,Ab as T,Mm as W,ng as a,Us as b,Ts as c,CA as d,yb as e,E2 as f,Pe as g,Ft as m,A as n,wA as s}; +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["./syntaxhighlighter-JOJW2KGS-1NrGDv_k.js","./iframe-YRqh8WQd.js","./index-OjgoNOWw.js","./index-mQqIOHEI.js","./index-ogXoivrg.js","./index-33y5txed.js","./index-PPLHz8o0.js","./formatter-B5HCVTEV-5UYepfUx.js","./WithTooltip-Y7J54OF7-H17sMcTj.js","./Color-RQJUDNI5-LFKIZWh_.js"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} diff --git a/assets/index-Dbo06S9W.js b/assets/index-Dbo06S9W.js deleted file mode 100644 index 28f55668..00000000 --- a/assets/index-Dbo06S9W.js +++ /dev/null @@ -1 +0,0 @@ -import{R as o}from"./index-4g5l5LRQ.js";const u=o.createContext({});function c(t){return e;function e(r){const n=a(r.components);return o.createElement(t,{...r,allComponents:n})}}function a(t){const e=o.useContext(u);return o.useMemo(()=>typeof t=="function"?t(e):{...e,...t},[e,t])}const i={};function f({components:t,children:e,disableParentContext:r}){let n;return r?n=typeof t=="function"?t({}):t||i:n=a(t),o.createElement(u.Provider,{value:n},e)}export{u as M,f as a,a as u,c as w}; diff --git a/assets/index-EacdxLGc.js b/assets/index-EacdxLGc.js new file mode 100644 index 00000000..5d634526 --- /dev/null +++ b/assets/index-EacdxLGc.js @@ -0,0 +1,13 @@ +import{j as n}from"./jsx-runtime-DtaoT6pD.js";import{u as o}from"./index-7dsiwP88.js";import{M as s}from"./index-8ZKuWOMm.js";import"./index-OjgoNOWw.js";import"./iframe-YRqh8WQd.js";import"../sb-preview/runtime.js";import"./index-mQqIOHEI.js";import"./index-ogXoivrg.js";import"./index-33y5txed.js";import"./index-PPLHz8o0.js";function i(t){const e={a:"a",code:"code",h1:"h1",h2:"h2",h3:"h3",p:"p",pre:"pre",...o(),...t.components};return n.jsxs(n.Fragment,{children:[n.jsx(s,{title:"Home"}),` +`,n.jsx(e.h1,{id:"hailstorm",children:"Hailstorm"}),` +`,n.jsx(e.h2,{id:"introduction",children:"Introduction"}),` +`,n.jsx(e.p,{children:"Hailstorm is a design system for Abusix. It is a collection of reusable components, guidelines, and best practices that can be used to build consistent user interfaces across all of our products."}),` +`,n.jsx(e.h2,{id:"getting-started",children:"Getting Started"}),` +`,n.jsx(e.h3,{id:"installation",children:"Installation"}),` +`,n.jsx(e.p,{children:"Hailstorm is available as an npm package. To install it, run the following command in your project's root directory:"}),` +`,n.jsx(e.pre,{children:n.jsx(e.code,{className:"language-bash",children:`npm install @abusix/hailstorm +`})}),` +`,n.jsx(e.h2,{id:"documentation",children:"Documentation"}),` +`,n.jsx(e.p,{children:"The documentation for Hailstorm will be available soon."}),` +`,n.jsx(e.h2,{id:"license",children:"License"}),` +`,n.jsxs(e.p,{children:["Hailstorm is licensed under the ",n.jsx(e.a,{href:"LICENSE",children:"MIT License"}),"."]})]})}function j(t={}){const{wrapper:e}={...o(),...t.components};return e?n.jsx(e,{...t,children:n.jsx(i,{...t})}):i(t)}export{j as default}; diff --git a/assets/index-IhRI2_F9.js b/assets/index-IhRI2_F9.js new file mode 100644 index 00000000..d0a7e8d6 --- /dev/null +++ b/assets/index-IhRI2_F9.js @@ -0,0 +1 @@ +import{M as s,u as m}from"./index-7dsiwP88.js";import"./index-OjgoNOWw.js";export{s as MDXProvider,m as useMDXComponents}; diff --git a/assets/index-MVbLLYTZ.js b/assets/index-MVbLLYTZ.js deleted file mode 100644 index 769dc970..00000000 --- a/assets/index-MVbLLYTZ.js +++ /dev/null @@ -1,3 +0,0 @@ -import{c as Bu,g as ju}from"./_commonjsHelpers-4gQjN7DL.js";function Ar(u,e){for(var r=-1,t=u==null?0:u.length,a=Array(t);++r-1}var xr=_r,Tr=gu;function br(u,e){var r=this.__data__,t=Tr(r,u);return t<0?(++this.size,r.push([u,e])):r[t][1]=e,this}var Sr=br,$r=Cr,wr=yr,Or=gr,Nr=xr,Pr=Sr;function uu(u){var e=-1,r=u==null?0:u.length;for(this.clear();++el))return!1;var B=i.get(u),T=i.get(e);if(B&&T)return B==e&&T==u;var x=-1,F=!0,m=r&ha?new Ea:void 0;for(i.set(u,e),i.set(e,u);++x-1&&u%1==0&&u-1&&u%1==0&&u<=bn}var qu=Sn,$n=lu,wn=qu,On=cu,Nn="[object Arguments]",Pn="[object Array]",In="[object Boolean]",Rn="[object Date]",Ln="[object Error]",Mn="[object Function]",kn="[object Map]",jn="[object Number]",Un="[object Object]",Gn="[object RegExp]",Kn="[object Set]",Hn="[object String]",qn="[object WeakMap]",Wn="[object ArrayBuffer]",zn="[object DataView]",Vn="[object Float32Array]",Jn="[object Float64Array]",Qn="[object Int8Array]",Yn="[object Int16Array]",Xn="[object Int32Array]",Zn="[object Uint8Array]",ui="[object Uint8ClampedArray]",ei="[object Uint16Array]",ri="[object Uint32Array]",S={};S[Vn]=S[Jn]=S[Qn]=S[Yn]=S[Xn]=S[Zn]=S[ui]=S[ei]=S[ri]=!0;S[Nn]=S[Pn]=S[Wn]=S[In]=S[zn]=S[Rn]=S[Ln]=S[Mn]=S[kn]=S[jn]=S[Un]=S[Gn]=S[Kn]=S[Hn]=S[qn]=!1;function ti(u){return On(u)&&wn(u.length)&&!!S[$n(u)]}var ai=ti;function ni(u){return function(e){return u(e)}}var ii=ni,vu={exports:{}};vu.exports;(function(u,e){var r=Se,t=e&&!e.nodeType&&e,a=t&&!0&&u&&!u.nodeType&&u,i=a&&a.exports===t,n=i&&r.process,l=function(){try{var p=a&&a.require&&a.require("util").types;return p||n&&n.binding&&n.binding("util")}catch{}}();u.exports=l})(vu,vu.exports);var si=vu.exports,Di=ai,Ai=ii,Ae=si,oe=Ae&&Ae.isTypedArray,oi=oe?Ai(oe):Di,Me=oi,Fi=Cn,Ci=Ie,li=W,ci=Re,Ei=Le,pi=Me,fi=Object.prototype,Bi=fi.hasOwnProperty;function hi(u,e){var r=li(u),t=!r&&Ci(u),a=!r&&!t&&ci(u),i=!r&&!t&&!a&&pi(u),n=r||t||a||i,l=n?Fi(u.length,String):[],p=l.length;for(var B in u)(e||Bi.call(u,B))&&!(n&&(B=="length"||a&&(B=="offset"||B=="parent")||i&&(B=="buffer"||B=="byteLength"||B=="byteOffset")||Ei(B,p)))&&l.push(B);return l}var yi=hi,di=Object.prototype;function vi(u){var e=u&&u.constructor,r=typeof e=="function"&&e.prototype||di;return u===r}var gi=vi;function mi(u,e){return function(r){return u(e(r))}}var ke=mi,_i=ke,xi=_i(Object.keys,Object),Ti=xi,bi=gi,Si=Ti,$i=Object.prototype,wi=$i.hasOwnProperty;function Oi(u){if(!bi(u))return Si(u);var e=[];for(var r in Object(u))wi.call(u,r)&&r!="constructor"&&e.push(r);return e}var Ni=Oi,Pi=Gu,Ii=qu;function Ri(u){return u!=null&&Ii(u.length)&&!Pi(u)}var Li=Ri,Mi=yi,ki=Ni,ji=Li;function Ui(u){return ji(u)?Mi(u):ki(u)}var Wu=Ui,Gi=Za,Ki=on,Hi=Wu;function qi(u){return Gi(u,Hi,Ki)}var Wi=qi,Fe=Wi,zi=1,Vi=Object.prototype,Ji=Vi.hasOwnProperty;function Qi(u,e,r,t,a,i){var n=r&zi,l=Fe(u),p=l.length,B=Fe(e),T=B.length;if(p!=T&&!n)return!1;for(var x=p;x--;){var F=l[x];if(!(n?F in e:Ji.call(e,F)))return!1}var m=i.get(u),d=i.get(e);if(m&&d)return m==e&&d==u;var c=!0;i.set(u,e),i.set(e,u);for(var E=n;++x=48&&E<=55}r=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function B(E){return E===32||E===9||E===11||E===12||E===160||E>=5760&&r.indexOf(E)>=0}function T(E){return E===10||E===13||E===8232||E===8233}function x(E){if(E<=65535)return String.fromCharCode(E);var I=String.fromCharCode(Math.floor((E-65536)/1024)+55296),L=String.fromCharCode((E-65536)%1024+56320);return I+L}for(t=new Array(128),i=0;i<128;++i)t[i]=i>=97&&i<=122||i>=65&&i<=90||i===36||i===95;for(a=new Array(128),i=0;i<128;++i)a[i]=i>=97&&i<=122||i>=65&&i<=90||i>=48&&i<=57||i===36||i===95;function F(E){return E<128?t[E]:e.NonAsciiIdentifierStart.test(x(E))}function m(E){return E<128?a[E]:e.NonAsciiIdentifierPart.test(x(E))}function d(E){return E<128?t[E]:u.NonAsciiIdentifierStart.test(x(E))}function c(E){return E<128?a[E]:u.NonAsciiIdentifierPart.test(x(E))}Ye.exports={isDecimalDigit:n,isHexDigit:l,isOctalDigit:p,isWhiteSpace:B,isLineTerminator:T,isIdentifierStartES5:F,isIdentifierPartES5:m,isIdentifierStartES6:d,isIdentifierPartES6:c}})();var Xe=Ye.exports,Ze={exports:{}};(function(){var u=Xe;function e(F){switch(F){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function r(F,m){return!m&&F==="yield"?!1:t(F,m)}function t(F,m){if(m&&e(F))return!0;switch(F.length){case 2:return F==="if"||F==="in"||F==="do";case 3:return F==="var"||F==="for"||F==="new"||F==="try";case 4:return F==="this"||F==="else"||F==="case"||F==="void"||F==="with"||F==="enum";case 5:return F==="while"||F==="break"||F==="catch"||F==="throw"||F==="const"||F==="yield"||F==="class"||F==="super";case 6:return F==="return"||F==="typeof"||F==="delete"||F==="switch"||F==="export"||F==="import";case 7:return F==="default"||F==="finally"||F==="extends";case 8:return F==="function"||F==="continue"||F==="debugger";case 10:return F==="instanceof";default:return!1}}function a(F,m){return F==="null"||F==="true"||F==="false"||r(F,m)}function i(F,m){return F==="null"||F==="true"||F==="false"||t(F,m)}function n(F){return F==="eval"||F==="arguments"}function l(F){var m,d,c;if(F.length===0||(c=F.charCodeAt(0),!u.isIdentifierStartES5(c)))return!1;for(m=1,d=F.length;m=d||(E=F.charCodeAt(m),!(56320<=E&&E<=57343)))return!1;c=p(c,E)}if(!I(c))return!1;I=u.isIdentifierPartES6}return!0}function T(F,m){return l(F)&&!a(F,m)}function x(F,m){return B(F)&&!i(F,m)}Ze.exports={isKeywordES5:r,isKeywordES6:t,isReservedWordES5:a,isReservedWordES6:i,isRestrictedWord:n,isIdentifierNameES5:l,isIdentifierNameES6:B,isIdentifierES5:T,isIdentifierES6:x}})();var Q1=Ze.exports;(function(){ou.ast=J1,ou.code=Xe,ou.keyword=Q1})();var Du={},X={};const Y1="doctrine",X1="JSDoc parser",Z1="https://github.com/eslint/doctrine",uA="lib/doctrine.js",eA="3.0.0",rA={node:">=6.0.0"},tA={lib:"./lib"},aA=["lib"],nA=[{name:"Nicholas C. Zakas",email:"nicholas+npm@nczconsulting.com",web:"https://www.nczonline.net"},{name:"Yusuke Suzuki",email:"utatane.tea@gmail.com",web:"https://github.com/Constellation"}],iA="eslint/doctrine",sA={coveralls:"^3.0.1",dateformat:"^1.0.11",eslint:"^1.10.3","eslint-release":"^1.0.0",linefix:"^0.1.1",mocha:"^3.4.2","npm-license":"^0.3.1",nyc:"^10.3.2",semver:"^5.0.3",shelljs:"^0.5.3","shelljs-nodecli":"^0.1.1",should:"^5.0.1"},DA="Apache-2.0",AA={pretest:"npm run lint",test:"nyc mocha",coveralls:"nyc report --reporter=text-lcov | coveralls",lint:"eslint lib/","generate-release":"eslint-generate-release","generate-alpharelease":"eslint-generate-prerelease alpha","generate-betarelease":"eslint-generate-prerelease beta","generate-rcrelease":"eslint-generate-prerelease rc","publish-release":"eslint-publish-release"},oA={esutils:"^2.0.2"},FA={name:Y1,description:X1,homepage:Z1,main:uA,version:eA,engines:rA,directories:tA,files:aA,maintainers:nA,repository:iA,devDependencies:sA,license:DA,scripts:AA,dependencies:oA};function CA(u,e){if(!u)throw new Error(e||"unknown assertion error")}var lA=CA;(function(){var u;u=FA.version,X.VERSION=u;function e(t){this.name="DoctrineError",this.message=t}e.prototype=function(){var t=function(){};return t.prototype=Error.prototype,new t}(),e.prototype.constructor=e,X.DoctrineError=e;function r(t){throw new e(t)}X.throwError=r,X.assert=lA})();(function(){var u,e,r,t,a,i,n,l,p,B,T,x;p=ou,B=X,u={NullableLiteral:"NullableLiteral",AllLiteral:"AllLiteral",NullLiteral:"NullLiteral",UndefinedLiteral:"UndefinedLiteral",VoidLiteral:"VoidLiteral",UnionType:"UnionType",ArrayType:"ArrayType",RecordType:"RecordType",FieldType:"FieldType",FunctionType:"FunctionType",ParameterType:"ParameterType",RestType:"RestType",NonNullableType:"NonNullableType",OptionalType:"OptionalType",NullableType:"NullableType",NameExpression:"NameExpression",TypeApplication:"TypeApplication",StringLiteralType:"StringLiteralType",NumericLiteralType:"NumericLiteralType",BooleanLiteralType:"BooleanLiteralType"},e={ILLEGAL:0,DOT_LT:1,REST:2,LT:3,GT:4,LPAREN:5,RPAREN:6,LBRACE:7,RBRACE:8,LBRACK:9,RBRACK:10,COMMA:11,COLON:12,STAR:13,PIPE:14,QUESTION:15,BANG:16,EQUAL:17,NAME:18,STRING:19,NUMBER:20,EOF:21};function F(s){return"><(){}[],:*|?!=".indexOf(String.fromCharCode(s))===-1&&!p.code.isWhiteSpace(s)&&!p.code.isLineTerminator(s)}function m(s,D,y,o){this._previous=s,this._index=D,this._token=y,this._value=o}m.prototype.restore=function(){i=this._previous,a=this._index,n=this._token,l=this._value},m.save=function(){return new m(i,a,n,l)};function d(s,D){return x&&(s.range=[D[0]+T,D[1]+T]),s}function c(){var s=r.charAt(a);return a+=1,s}function E(s){var D,y,o,A=0;for(y=s==="u"?4:2,D=0;D=0&&a=t)return e.ILLEGAL;if(D=r.charCodeAt(a+1),D===60)break}l+=c()}return e.NAME}function M(){var s;for(i=a;a=t)return n=e.EOF,n;switch(s=r.charCodeAt(a),s){case 39:case 34:return n=I(),n;case 58:return c(),n=e.COLON,n;case 44:return c(),n=e.COMMA,n;case 40:return c(),n=e.LPAREN,n;case 41:return c(),n=e.RPAREN,n;case 91:return c(),n=e.LBRACK,n;case 93:return c(),n=e.RBRACK,n;case 123:return c(),n=e.LBRACE,n;case 125:return c(),n=e.RBRACE,n;case 46:if(a+1=97&&C<=122||C>=65&&C<=90||C>=48&&C<=57}function B(C){return C==="param"||C==="argument"||C==="arg"}function T(C){return C==="return"||C==="returns"}function x(C){return C==="property"||C==="prop"}function F(C){return B(C)||x(C)||C==="alias"||C==="this"||C==="mixes"||C==="requires"}function m(C){return F(C)||C==="const"||C==="constant"}function d(C){return x(C)||B(C)}function c(C){return x(C)||B(C)}function E(C){return B(C)||T(C)||C==="define"||C==="enum"||C==="implements"||C==="this"||C==="type"||C==="typedef"||x(C)}function I(C){return E(C)||C==="throws"||C==="const"||C==="constant"||C==="namespace"||C==="member"||C==="var"||C==="module"||C==="constructor"||C==="class"||C==="extends"||C==="augments"||C==="public"||C==="private"||C==="protected"}var L="[ \\f\\t\\v\\u00a0\\u1680\\u180e\\u2000-\\u200a\\u202f\\u205f\\u3000\\ufeff]",z="("+L+"*(?:\\*"+L+`?)?)(.+|[\r -\u2028\u2029])`;function M(C){return C.replace(/^\/\*\*?/,"").replace(/\*\/$/,"").replace(new RegExp(z,"g"),"$2").replace(/\s*$/,"")}function _(C,k){for(var f=C.replace(/^\/\*\*?/,""),U=0,G=new RegExp(z,"g"),g;g=G.exec(f);)if(U+=g[1].length,g.index+g[0].length>k+U)return k+U+C.length-f.length;return C.replace(/\*\/$/,"").replace(/\s*$/,"").length}(function(C){var k,f,U,G,g,nu,Eu,V,pu;function $(){var o=g.charCodeAt(f);return f+=1,a.code.isLineTerminator(o)&&!(o===13&&g.charCodeAt(f)===10)&&(U+=1),String.fromCharCode(o)}function $u(){var o="";for($();f=o)return null;if(g.charCodeAt(f)===91)if(A)N=!0,v=$();else return null;if(v+=K(o),h)for(g.charCodeAt(f)===58&&(v==="module"||v==="external"||v==="event")&&(v+=$(),v+=K(o)),g.charCodeAt(f)===91&&g.charCodeAt(f+1)===93&&(v+=$(),v+=$());g.charCodeAt(f)===46||g.charCodeAt(f)===47||g.charCodeAt(f)===35||g.charCodeAt(f)===45||g.charCodeAt(f)===126;)v+=$(),v+=K(o);if(N){if(J(o),g.charCodeAt(f)===61){v+=$(),J(o);for(var R,q=1;f=o||g.charCodeAt(f)!==93)return null;v+=$()}return v}function wu(){for(;f=G?!1:(r.assert(g.charCodeAt(f)===64),!0)}function w(o){return g===nu?o:_(nu,o)}function O(o,A){this._options=o,this._title=A.toLowerCase(),this._tag={title:A,description:null},this._options.lineNumbers&&(this._tag.lineNumber=U),this._first=f-A.length-1,this._last=0,this._extra={}}O.prototype.addError=function(A){var h=Array.prototype.slice.call(arguments,1),v=A.replace(/%(\d)/g,function(N,b){return r.assert(b1&&(this._tag.default=o.slice(1).join("=")),this._tag.name=o[0],this._tag.type&&this._tag.type.type!=="OptionalType"&&(this._tag.type={type:"OptionalType",expression:this._tag.type}));else{if(!F(this._title))return!0;if(B(this._title)&&this._tag.type&&this._tag.type.name)this._extra.name=this._tag.type,this._tag.name=this._tag.type.name,this._tag.type=null;else if(!this.addError("Missing or invalid tag name"))return!1}return!0},O.prototype.parseDescription=function(){var A=n(g,f,this._last).trim();return A&&(/^-\s+/.test(A)&&(A=A.substring(2)),this._tag.description=A),!0},O.prototype.parseCaption=function(){var A=n(g,f,this._last).trim(),h="",v="",N=A.indexOf(h),b=A.indexOf(v);return N>=0&&b>=0?(this._tag.caption=A.substring(N+h.length,b).trim(),this._tag.description=A.substring(b+v.length).trim()):this._tag.description=A,!0},O.prototype.parseKind=function(){var A,h;return h={class:!0,constant:!0,event:!0,external:!0,file:!0,function:!0,member:!0,mixin:!0,module:!0,namespace:!0,typedef:!0},A=n(g,f,this._last).trim(),this._tag.kind=A,!(!i(h,A)&&!this.addError("Invalid kind name '%0'",A))},O.prototype.parseAccess=function(){var A;return A=n(g,f,this._last).trim(),this._tag.access=A,!(A!=="private"&&A!=="protected"&&A!=="public"&&!this.addError("Invalid access name '%0'",A))},O.prototype.parseThis=function(){var A=n(g,f,this._last).trim();if(A&&A.charAt(0)==="{"){var h=this.parseType();return h&&this._tag.type.type==="NameExpression"||this._tag.type.type==="UnionType"?(this._tag.name=this._tag.type.name,!0):this.addError("Invalid name for this")}else return this.parseNamePath()},O.prototype.parseVariation=function(){var A,h;return h=n(g,f,this._last).trim(),A=parseFloat(h,10),this._tag.variation=A,!(isNaN(A)&&!this.addError("Invalid variation '%0'",h))},O.prototype.ensureEnd=function(){var o=n(g,f,this._last).trim();return!(o&&!this.addError("Unknown content '%0'",o))},O.prototype.epilogue=function(){var A;return A=this._tag.description,!(c(this._title)&&!this._tag.type&&A&&A.charAt(0)==="["&&(this._tag.type=this._extra.name,this._tag.name||(this._tag.name=void 0),!V&&!this.addError("Missing or invalid tag name")))},k={access:["parseAccess"],alias:["parseNamePath","ensureEnd"],augments:["parseType","parseNamePathOptional","ensureEnd"],constructor:["parseType","parseNamePathOptional","ensureEnd"],class:["parseType","parseNamePathOptional","ensureEnd"],extends:["parseType","parseNamePathOptional","ensureEnd"],example:["parseCaption"],deprecated:["parseDescription"],global:["ensureEnd"],inner:["ensureEnd"],instance:["ensureEnd"],kind:["parseKind"],mixes:["parseNamePath","ensureEnd"],mixin:["parseNamePathOptional","ensureEnd"],member:["parseType","parseNamePathOptional","ensureEnd"],method:["parseNamePathOptional","ensureEnd"],module:["parseType","parseNamePathOptional","ensureEnd"],func:["parseNamePathOptional","ensureEnd"],function:["parseNamePathOptional","ensureEnd"],var:["parseType","parseNamePathOptional","ensureEnd"],name:["parseNamePath","ensureEnd"],namespace:["parseType","parseNamePathOptional","ensureEnd"],private:["parseType","parseDescription"],protected:["parseType","parseDescription"],public:["parseType","parseDescription"],readonly:["ensureEnd"],requires:["parseNamePath","ensureEnd"],since:["parseDescription"],static:["ensureEnd"],summary:["parseDescription"],this:["parseThis","ensureEnd"],todo:["parseDescription"],typedef:["parseType","parseNamePathOptional"],variation:["parseVariation"],version:["parseDescription"]},O.prototype.parse=function(){var A,h,v,N;if(!this._title&&!this.addError("Missing or invalid title"))return null;for(this._last=iu(this._title),this._options.range&&(this._tag.range=[this._first,g.slice(0,this._last).replace(/\s*$/,"").length].map(w)),i(k,this._title)?v=k[this._title]:v=["parseType","parseName","parseDescription","epilogue"],A=0,h=v.length;Au.replace(ur,""),fA=u=>ur.test(u),er=u=>{let e=pA(u);return fA(u)||Number.isNaN(Number(e))?e:Number(e)},BA=u=>{switch(u.type){case"function":return{name:"function"};case"object":let e={};return u.signature.properties.forEach(r=>{e[r.key]=Fu(r.value)}),{name:"object",value:e};default:throw new Error(`Unknown: ${u}`)}},Fu=u=>{let{name:e,raw:r}=u,t={};switch(typeof r<"u"&&(t.raw=r),u.name){case"string":case"number":case"symbol":case"boolean":return{...t,name:e};case"Array":return{...t,name:"array",value:u.elements.map(Fu)};case"signature":return{...t,...BA(u)};case"union":let a;return u.elements.every(i=>i.name==="literal")?a={...t,name:"enum",value:u.elements.map(i=>er(i.value))}:a={...t,name:e,value:u.elements.map(Fu)},a;case"intersection":return{...t,name:e,value:u.elements.map(Fu)};default:return{...t,name:"other",value:e}}},hA=u=>u.name==="literal",yA=u=>u.value.replace(/['|"]/g,""),dA=u=>{switch(u.type){case"function":return{name:"function"};case"object":let e={};return u.signature.properties.forEach(r=>{e[r.key]=Cu(r.value)}),{name:"object",value:e};default:throw new Error(`Unknown: ${u}`)}},Cu=u=>{let{name:e,raw:r}=u,t={};switch(typeof r<"u"&&(t.raw=r),u.name){case"literal":return{...t,name:"other",value:u.value};case"string":case"number":case"symbol":case"boolean":return{...t,name:e};case"Array":return{...t,name:"array",value:u.elements.map(Cu)};case"signature":return{...t,...dA(u)};case"union":return u.elements.every(hA)?{...t,name:"enum",value:u.elements.map(yA)}:{...t,name:e,value:u.elements.map(Cu)};case"intersection":return{...t,name:e,value:u.elements.map(Cu)};default:return{...t,name:"other",value:e}}},vA=/^\(.*\) => /,Au=u=>{let{name:e,raw:r,computed:t,value:a}=u,i={};switch(typeof r<"u"&&(i.raw=r),e){case"enum":{let l=t?a:a.map(p=>er(p.value));return{...i,name:e,value:l}}case"string":case"number":case"symbol":return{...i,name:e};case"func":return{...i,name:"function"};case"bool":case"boolean":return{...i,name:"boolean"};case"arrayOf":case"array":return{...i,name:"array",value:a&&Au(a)};case"object":return{...i,name:e};case"objectOf":return{...i,name:e,value:Au(a)};case"shape":case"exact":let n=V1(a,l=>Au(l));return{...i,name:"object",value:n};case"union":return{...i,name:"union",value:a.map(l=>Au(l))};case"instanceOf":case"element":case"elementType":default:{if((e==null?void 0:e.indexOf("|"))>0)try{let B=e.split("|").map(T=>JSON.parse(T));return{...i,name:"enum",value:B}}catch{}let l=a?`${e}(${a})`:e,p=vA.test(e)?"function":"other";return{...i,name:p,value:l}}}},Qu=u=>{let{type:e,tsType:r,flowType:t}=u;return e!=null?Au(e):r!=null?Fu(r):t!=null?Cu(t):null},gA=(u=>(u.JAVASCRIPT="JavaScript",u.FLOW="Flow",u.TYPESCRIPT="TypeScript",u.UNKNOWN="Unknown",u))(gA||{}),mA=["null","undefined"];function Yu(u){return mA.some(e=>e===u)}var _A=u=>{if(!u)return"";if(typeof u=="string")return u;throw new Error(`Description: expected string, got: ${JSON.stringify(u)}`)};function rr(u){return!!u.__docgenInfo}function xA(u){return u!=null&&Object.keys(u).length>0}function TA(u,e){return rr(u)?u.__docgenInfo[e]:null}function bA(u){return rr(u)&&_A(u.__docgenInfo.description)}function SA(u){return u!=null&&u.includes("@")}function $A(u,e){let r;try{r=cA.parse(u,{tags:e,sloppy:!0})}catch(t){throw console.error(t),new Error("Cannot parse JSDoc tags.")}return r}var wA={tags:["param","arg","argument","returns","ignore","deprecated"]},OA=(u,e=wA)=>{if(!SA(u))return{includesJsDoc:!1,ignore:!1};let r=$A(u,e.tags),t=NA(r);return t.ignore?{includesJsDoc:!0,ignore:!0}:{includesJsDoc:!0,ignore:!1,description:r.description,extractedTags:t}};function NA(u){let e={params:null,deprecated:null,returns:null,ignore:!1};for(let r=0;re.includes("null")?e.replace("-null","").replace(".null",""):u.name,getTypeName:()=>u.type!=null?Z(u.type):null}:null}function IA(u){return u.title!=null?u.description:null}function RA(u){return u.type!=null?{type:u.type,description:u.description,getTypeName:()=>Z(u.type)}:null}function Z(u){return u.type==="NameExpression"?u.name:u.type==="RecordType"?`({${u.fields.map(e=>{if(e.value!=null){let r=Z(e.value);return`${e.key}: ${r}`}return e.key}).join(", ")}})`:u.type==="UnionType"?`(${u.elements.map(Z).join("|")})`:u.type==="ArrayType"?"[]":u.type==="TypeApplication"&&u.expression!=null&&u.expression.name==="Array"?`${Z(u.applications[0])}[]`:u.type==="NullableType"||u.type==="NonNullableType"||u.type==="OptionalType"?Z(u.expression):u.type==="AllLiteral"?"any":null}function tr(u){return u.length>90}function LA(u){return u.length>50}function P(u,e){return u===e?{summary:u}:{summary:u,detail:e}}function ar({name:u,value:e,elements:r,raw:t}){return e??(r!=null?r.map(ar).join(" | "):t??u)}function MA({name:u,raw:e,elements:r}){return r!=null?P(r.map(ar).join(" | ")):e!=null?P(e.replace(/^\|\s*/,"")):P(u)}function kA({type:u,raw:e}){return e!=null?P(e):P(u)}function jA({type:u,raw:e}){return e!=null?tr(e)?P(u,e):P(e):P(u)}function UA(u){let{type:e}=u;return e==="object"?jA(u):kA(u)}function GA({name:u,raw:e}){return e!=null?tr(e)?P(u,e):P(e):P(u)}function KA(u){if(u==null)return null;switch(u.name){case"union":return MA(u);case"signature":return UA(u);default:return GA(u)}}function HA(u,e){if(u!=null){let{value:r}=u;if(!Yu(r))return LA(r)?P(e.name,r):P(r)}return null}var qA=(u,e)=>{let{flowType:r,description:t,required:a,defaultValue:i}=e;return{name:u,type:KA(r),required:a,description:t,defaultValue:HA(i,r)}};function WA({tsType:u,required:e}){if(u==null)return null;let r=u.name;return e||(r=r.replace(" | undefined","")),P(["Array","Record","signature"].includes(u.name)?u.raw:r)}function zA({defaultValue:u}){if(u!=null){let{value:e}=u;if(!Yu(e))return P(e)}return null}var VA=(u,e)=>{let{description:r,required:t}=e;return{name:u,type:WA(e),required:t,description:r,defaultValue:zA(e)}};function JA(u){return u!=null?P(u.name):null}function QA(u){let{computed:e,func:r}=u;return typeof e>"u"&&typeof r>"u"}function YA(u){return u?u.name==="string"?!0:u.name==="enum"?Array.isArray(u.value)&&u.value.every(({value:e})=>typeof e=="string"&&e[0]==='"'&&e[e.length-1]==='"'):!1:!1}function XA(u,e){if(u!=null){let{value:r}=u;if(!Yu(r))return QA(u)&&YA(e)?P(JSON.stringify(r)):P(r)}return null}function nr(u,e,r){let{description:t,required:a,defaultValue:i}=r;return{name:u,type:JA(e),required:a,description:t,defaultValue:XA(i,e)}}function Su(u,e){var r;if(e.includesJsDoc){let{description:t,extractedTags:a}=e;t!=null&&(u.description=e.description);let i={...a,params:(r=a==null?void 0:a.params)==null?void 0:r.map(n=>({name:n.getPrettyName(),description:n.description}))};Object.values(i).filter(Boolean).length>0&&(u.jsDocTags=i)}return u}var ZA=(u,e,r)=>{let t=nr(u,e.type,e);return t.sbType=Qu(e),Su(t,r)},uo=(u,e,r)=>{let t=VA(u,e);return t.sbType=Qu(e),Su(t,r)},eo=(u,e,r)=>{let t=qA(u,e);return t.sbType=Qu(e),Su(t,r)},ro=(u,e,r)=>{let t=nr(u,{name:"unknown"},e);return Su(t,r)},ir=u=>{switch(u){case"JavaScript":return ZA;case"TypeScript":return uo;case"Flow":return eo;default:return ro}},sr=u=>u.type!=null?"JavaScript":u.flowType!=null?"Flow":u.tsType!=null?"TypeScript":"Unknown",to=u=>{let e=sr(u[0]),r=ir(e);return u.map(t=>{var i;let a=t;return(i=t.type)!=null&&i.elements&&(a={...t,type:{...t.type,value:t.type.elements}}),Dr(a.name,a,e,r)})},ao=u=>{let e=Object.keys(u),r=sr(u[e[0]]),t=ir(r);return e.map(a=>{let i=u[a];return i!=null?Dr(a,i,r,t):null}).filter(Boolean)},oo=(u,e)=>{let r=TA(u,e);return xA(r)?Array.isArray(r)?to(r):ao(r):[]};function Dr(u,e,r,t){let a=OA(e.description);return a.includesJsDoc&&a.ignore?null:{propDef:t(u,e,a),jsDocTags:a.extractedTags,docgenInfo:e,typeSystem:r}}function Fo(u){return u!=null&&bA(u)}var Co=u=>{let{component:e,argTypes:r,parameters:{docs:t={}}}=u,{extractArgTypes:a}=t,i=a&&e?a(e):{};return i?EA(i,r):r},no="storybook/docs",lo=`${no}/snippet-rendered`,io=(u=>(u.AUTO="auto",u.CODE="code",u.DYNAMIC="dynamic",u))(io||{});export{gi as A,yi as B,Li as C,Za as D,or as E,x1 as F,As as G,Ta as H,oa as I,ca as J,Wu as K,ga as L,_u as M,ys as N,si as O,ii as P,Oe as Q,Re as R,lo as S,gA as T,Wi as U,_A as V,H as _,zu as a,lu as b,Ao as c,cu as d,W as e,Fo as f,Co as g,P as h,Uu as i,TA as j,io as k,Do as l,rr as m,oo as n,LA as o,tr as p,w1 as q,be as r,ze as s,Le as t,ou as u,bu as v,Ve as w,Va as x,on as y,tn as z}; diff --git a/assets/index-OjgoNOWw.js b/assets/index-OjgoNOWw.js new file mode 100644 index 00000000..09fbc483 --- /dev/null +++ b/assets/index-OjgoNOWw.js @@ -0,0 +1,9 @@ +function A(e,t){for(var r=0;rn[u]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}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}function Z(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var u=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,u.get?u:{enumerable:!0,get:function(){return e[n]}})}),r}var R={exports:{}},o={};/** + * @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"),M=Symbol.for("react.portal"),V=Symbol.for("react.fragment"),F=Symbol.for("react.strict_mode"),N=Symbol.for("react.profiler"),U=Symbol.for("react.provider"),q=Symbol.for("react.context"),L=Symbol.for("react.forward_ref"),z=Symbol.for("react.suspense"),B=Symbol.for("react.memo"),H=Symbol.for("react.lazy"),w=Symbol.iterator;function G(e){return e===null||typeof e!="object"?null:(e=w&&e[w]||e["@@iterator"],typeof e=="function"?e:null)}var O={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},k=Object.assign,$={};function p(e,t,r){this.props=e,this.context=t,this.refs=$,this.updater=r||O}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 C(){}C.prototype=p.prototype;function v(e,t,r){this.props=e,this.context=t,this.refs=$,this.updater=r||O}var b=v.prototype=new C;b.constructor=v;k(b,p.prototype);b.isPureReactComponent=!0;var E=Array.isArray,P=Object.prototype.hasOwnProperty,S={current:null},x={key:!0,ref:!0,__self:!0,__source:!0};function I(e,t,r){var n,u={},c=null,s=null;if(t!=null)for(n in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(c=""+t.key),t)P.call(t,n)&&!x.hasOwnProperty(n)&&(u[n]=t[n]);var f=arguments.length-2;if(f===1)u.children=r;else if(1"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ol=Object.prototype.hasOwnProperty,La=/^[: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]*$/,yu={},gu={};function Ma(e){return Ol.call(gu,e)?!0:Ol.call(yu,e)?!1:La.test(e)?gu[e]=!0:(yu[e]=!0,!1)}function Da(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 Ra(e,n,t,r){if(n===null||typeof n>"u"||Da(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 ie(e,n,t,r,l,i,u){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=i,this.removeEmptyString=u}var q={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){q[e]=new ie(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 ie(n,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){q[e]=new ie(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){q[e]=new ie(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 ie(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){q[e]=new ie(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){q[e]=new ie(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){q[e]=new ie(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){q[e]=new ie(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ni=/[\-:]([a-z])/g;function zi(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(Ni,zi);q[n]=new ie(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(Ni,zi);q[n]=new ie(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(Ni,zi);q[n]=new ie(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){q[e]=new ie(e,1,!1,e.toLowerCase(),null,!1,!1)});q.xlinkHref=new ie("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){q[e]=new ie(e,1,!1,e.toLowerCase(),null,!0,!0)});function Pi(e,n,t,r){var l=q.hasOwnProperty(n)?q[n]:null;(l!==null?l.type!==0:r||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ol=Object.prototype.hasOwnProperty,La=/^[: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]*$/,yu={},gu={};function Ma(e){return Ol.call(gu,e)?!0:Ol.call(yu,e)?!1:La.test(e)?gu[e]=!0:(yu[e]=!0,!1)}function Da(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 Ra(e,n,t,r){if(n===null||typeof n>"u"||Da(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 ie(e,n,t,r,l,i,u){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=i,this.removeEmptyString=u}var q={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){q[e]=new ie(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 ie(n,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){q[e]=new ie(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){q[e]=new ie(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 ie(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){q[e]=new ie(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){q[e]=new ie(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){q[e]=new ie(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){q[e]=new ie(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ni=/[\-:]([a-z])/g;function zi(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(Ni,zi);q[n]=new ie(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(Ni,zi);q[n]=new ie(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(Ni,zi);q[n]=new ie(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){q[e]=new ie(e,1,!1,e.toLowerCase(),null,!1,!1)});q.xlinkHref=new ie("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){q[e]=new ie(e,1,!1,e.toLowerCase(),null,!0,!0)});function Pi(e,n,t,r){var l=q.hasOwnProperty(n)?q[n]:null;(l!==null?l.type!==0:r||!(2o||l[u]!==i[o]){var s=` `+l[u].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=u&&0<=o);break}}}finally{cl=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?pt(e):""}function Oa(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=fl(e.type,!1),e;case 11:return e=fl(e.type.render,!1),e;case 1:return e=fl(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 Fl:return"Profiler";case Ti:return"StrictMode";case Il:return"Suspense";case jl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case To:return(e.displayName||"Context")+".Consumer";case Po:return(e._context.displayName||"Context")+".Provider";case Li:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Mi: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===Ti?"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 Mo(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function Ia(e){var n=Mo(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,i=t.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return l.call(this)},set:function(u){r=""+u,i.call(this,u)}}),Object.defineProperty(e,n,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(u){r=""+u},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function Zt(e){e._valueTracker||(e._valueTracker=Ia(e))}function Do(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),r="";return e&&(r=Mo(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 ku(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 Ro(e,n){n=n.checked,n!=null&&Pi(e,"checked",n,!1)}function Al(e,n){Ro(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 Su(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},ja=["Webkit","ms","Moz","O"];Object.keys(yt).forEach(function(e){ja.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),yt[n]=yt[e]})});function jo(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 Uo(e,n){e=e.style;for(var t in n)if(n.hasOwnProperty(t)){var r=t.indexOf("--")===0,l=jo(t,n[t],r);t==="float"&&(t="cssFloat"),r?e.setProperty(t,l):e[t]=l}}var Ua=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(Ua[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 Di(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 xu(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 Vo(e){Qn?Wn?Wn.push(e):Wn=[e]:Qn=e}function Ao(){if(Qn){var e=Qn,n=Wn;if(Wn=Qn=null,xu(e),n)for(e=0;e>>=0,e===0?32:31-(Ga(e)/Za|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,i=e.pingedLanes,u=t&268435455;if(u!==0){var o=u&~l;o!==0?r=vt(o):(i&=u,i!==0&&(r=vt(i)))}else u=t&~l,u!==0?r=vt(u):i!==0&&(r=vt(i));if(r===0)return 0;if(n!==0&&n!==r&&!(n&l)&&(l=r&-r,i=n&-n,l>=i||l===16&&(i&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 ec(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),Ru=" ",Ou=!1;function us(e,n){switch(e){case"keyup":return Pc.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function os(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Dn=!1;function Lc(e,n){switch(e){case"compositionend":return os(n);case"keypress":return n.which!==32?null:(Ou=!0,Ru);case"textInput":return e=n.data,e===Ru&&Ou?null:e;default:return null}}function Mc(e,n){if(Dn)return e==="compositionend"||!Ai&&us(e,n)?(e=ls(),dr=ji=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=Uu(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 ds(){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 Bi(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 Ac(e){var n=ds(),t=e.focusedElem,r=e.selectionRange;if(n!==t&&t&&t.ownerDocument&&fs(t.ownerDocument.documentElement,t)){if(r!==null&&Bi(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,i=Math.min(r.start,l);r=r.end===void 0?i:Math.min(r.end,l),!e.extend&&i>r&&(l=r,r=i,i=l),l=Vu(t,i);var u=Vu(t,r);l&&u&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==u.node||e.focusOffset!==u.offset)&&(n=n.createRange(),n.setStart(l.node,l.offset),e.removeAllRanges(),i>r?(e.addRange(n),e.extend(u.node,u.offset)):(n.setEnd(u.node,u.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,ei=!1;function Au(e,n,t){var r=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;ei||Rn==null||Rn!==Sr(r)||(r=Rn,"selectionStart"in r&&Bi(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=ui[In],ui[In]=null,In--)}function D(e,n){In++,ui[In]=e.current,e.current=n}var an={},te=fn(an),se=fn(!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={},i;for(i in t)l[i]=n[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=l),l}function ae(e){return e=e.childContextTypes,e!=null}function Lr(){O(se),O(te)}function Yu(e,n,t){if(te.current!==an)throw Error(y(168));D(te,n),D(se,t)}function Ss(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 Xu(e,n,t){var r=e.stateNode;if(!r)throw Error(y(169));t?(e=Ss(e,n,En),r.__reactInternalMemoizedMergedChildContext=e,O(se),O(te),D(te,e)):O(se),D(se,t)}var je=null,Zr=!1,_l=!1;function Es(e){je===null?je=[e]:je.push(e)}function qc(e){Zr=!0,Es(e)}function dn(){if(!_l&&je!==null){_l=!0;var e=0,n=M;try{var t=je;for(M=1;e>=u,l-=u,Ue=1<<32-Pe(n)+l|t<N?(B=_,_=null):B=_.sibling;var T=p(c,_,f[N],h);if(T===null){_===null&&(_=B);break}e&&_&&T.alternate===null&&n(c,_),a=i(T,a,N),x===null?E=T:x.sibling=T,x=T,_=B}if(N===f.length)return t(c,_),I&&vn(c,N),E;if(_===null){for(;NN?(B=_,_=null):B=_.sibling;var Ce=p(c,_,T.value,h);if(Ce===null){_===null&&(_=B);break}e&&_&&Ce.alternate===null&&n(c,_),a=i(Ce,a,N),x===null?E=Ce:x.sibling=Ce,x=Ce,_=B}if(T.done)return t(c,_),I&&vn(c,N),E;if(_===null){for(;!T.done;N++,T=f.next())T=m(c,T.value,h),T!==null&&(a=i(T,a,N),x===null?E=T:x.sibling=T,x=T);return I&&vn(c,N),E}for(_=r(c,_);!T.done;N++,T=f.next())T=g(_,c,N,T.value,h),T!==null&&(e&&T.alternate!==null&&_.delete(T.key===null?N:T.key),a=i(T,a,N),x===null?E=T:x.sibling=T,x=T);return e&&_.forEach(function(rt){return n(c,rt)}),I&&vn(c,N),E}function F(c,a,f,h){if(typeof f=="object"&&f!==null&&f.type===Mn&&f.key===null&&(f=f.props.children),typeof f=="object"&&f!==null){switch(f.$$typeof){case Gt:e:{for(var E=f.key,x=a;x!==null;){if(x.key===E){if(E=f.type,E===Mn){if(x.tag===7){t(c,x.sibling),a=l(x,f.props.children),a.return=c,c=a;break e}}else if(x.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===Ye&&no(E)===x.type){t(c,x.sibling),a=l(x,f.props),a.ref=ct(c,x,f),a.return=c,c=a;break e}t(c,x);break}else n(c,x);x=x.sibling}f.type===Mn?(a=Sn(f.props.children,c.mode,h,f.key),a.return=c,c=a):(h=kr(f.type,f.key,f.props,null,c.mode,h),h.ref=ct(c,a,f),h.return=c,c=h)}return u(c);case Ln:e:{for(x=f.key;a!==null;){if(a.key===x)if(a.tag===4&&a.stateNode.containerInfo===f.containerInfo&&a.stateNode.implementation===f.implementation){t(c,a.sibling),a=l(a,f.children||[]),a.return=c,c=a;break e}else{t(c,a);break}else n(c,a);a=a.sibling}a=Rl(f,c.mode,h),a.return=c,c=a}return u(c);case Ye:return x=f._init,F(c,a,x(f._payload),h)}if(mt(f))return w(c,a,f,h);if(it(f))return k(c,a,f,h);ur(c,f)}return typeof f=="string"&&f!==""||typeof f=="number"?(f=""+f,a!==null&&a.tag===6?(t(c,a.sibling),a=l(a,f),a.return=c,c=a):(t(c,a),a=Dl(f,c.mode,h),a.return=c,c=a),u(c)):t(c,a)}return F}var Jn=Ls(!0),Ms=Ls(!1),Kt={},Fe=fn(Kt),jt=fn(Kt),Ut=fn(Kt);function wn(e){if(e===Kt)throw Error(y(174));return e}function Zi(e,n){switch(D(Ut,n),D(jt,e),D(Fe,Kt),e=n.nodeType,e){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:Ql(null,"");break;default:e=e===8?n.parentNode:n,n=e.namespaceURI||null,e=e.tagName,n=Ql(n,e)}O(Fe),D(Fe,n)}function qn(){O(Fe),O(jt),O(Ut)}function Ds(e){wn(Ut.current);var n=wn(Fe.current),t=Ql(n,e.type);n!==t&&(D(jt,e),D(Fe,t))}function Ji(e){jt.current===e&&(O(Fe),O(jt))}var j=fn(0);function jr(e){for(var n=e;n!==null;){if(n.tag===13){var t=n.memoizedState;if(t!==null&&(t=t.dehydrated,t===null||t.data==="$?"||t.data==="$!"))return n}else if(n.tag===19&&n.memoizedProps.revealOrder!==void 0){if(n.flags&128)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var Nl=[];function qi(){for(var e=0;et?t:4,e(!0);var r=zl.transition;zl.transition={};try{e(!1),n()}finally{M=t,zl.transition=r}}function Xs(){return Ee().memoizedState}function tf(e,n,t){var r=un(e);if(t={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null},Gs(e))Zs(n,t);else if(t=Ns(e,n,t,r),t!==null){var l=le();Te(t,e,r,l),Js(t,n,r)}}function rf(e,n,t){var r=un(e),l={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null};if(Gs(e))Zs(n,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=n.lastRenderedReducer,i!==null))try{var u=n.lastRenderedState,o=i(u,t);if(l.hasEagerState=!0,l.eagerState=o,Le(o,u)){var s=n.interleaved;s===null?(l.next=l,Xi(n)):(l.next=s.next,s.next=l),n.interleaved=l;return}}catch{}finally{}t=Ns(e,n,l,r),t!==null&&(l=le(),Te(t,e,r,l),Js(t,n,r))}}function Gs(e){var n=e.alternate;return e===U||n!==null&&n===U}function Zs(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 Js(e,n,t){if(t&4194240){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,Oi(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},lf={readContext:Se,useCallback:function(e,n){return De().memoizedState=[e,n===void 0?null:n],e},useContext:Se,useEffect:ro,useImperativeHandle:function(e,n,t){return t=t!=null?t.concat([e]):null,hr(4194308,4,Qs.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=tf.bind(null,U,e),[r.memoizedState,e]},useRef:function(e){var n=De();return e={current:e},n.memoizedState=e},useState:to,useDebugValue:ru,useDeferredValue:function(e){return De().memoizedState=e},useTransition:function(){var e=to(!1),n=e[0];return e=nf.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||Fs(r,n,t)}l.memoizedState=t;var i={value:t,getSnapshot:n};return l.queue=i,ro(js.bind(null,r,i,e),[e]),r.flags|=2048,Bt(9,Is.bind(null,r,i,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=u.createElement(t,{is:r.is}):(e=u.createElement(t),t==="select"&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,t),e[Re]=n,e[It]=r,ua(e,n,!1,!1),n.stateNode=e;e:{switch(u=$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,ft(i,!1),n.lanes=4194304)}else{if(!r)if(e=jr(u),e!==null){if(n.flags|=128,r=!0,t=e.updateQueue,t!==null&&(n.updateQueue=t,n.flags|=4),ft(i,!0),i.tail===null&&i.tailMode==="hidden"&&!u.alternate&&!I)return ee(n),null}else 2*Q()-i.renderingStartTime>et&&t!==1073741824&&(n.flags|=128,r=!0,ft(i,!1),n.lanes=4194304);i.isBackwards?(u.sibling=n.child,n.child=u):(t=i.last,t!==null?t.sibling=u:n.child=u,i.last=u)}return i.tail!==null?(n=i.tail,i.rendering=n,i.tail=n.sibling,i.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 au(),r=n.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(n.flags|=8192),r&&n.mode&1?fe&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 pf(e,n){switch(Qi(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(),O(se),O(te),qi(),e=n.flags,e&65536&&!(e&128)?(n.flags=e&-65537|128,n):null;case 5:return Ji(n),null;case 13:if(O(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 O(j),null;case 4:return qn(),null;case 10:return Yi(n.type._context),null;case 22:case 23:return au(),null;case 24:return null;default:return null}}var sr=!1,ne=!1,mf=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 gi(e,n,t){try{t()}catch(r){A(e,n,r)}}var po=!1;function vf(e,n){if(ni=Nr,e=ds(),Bi(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,i=r.focusNode;r=r.focusOffset;try{t.nodeType,i.nodeType}catch{t=null;break e}var u=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=u+l),m!==i||r!==0&&m.nodeType!==3||(s=u+r),m.nodeType===3&&(u+=m.nodeValue.length),(g=m.firstChild)!==null;)p=m,m=g;for(;;){if(m===e)break n;if(p===t&&++d===l&&(o=u),p===i&&++v===r&&(s=u),(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(ti={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,F=w.memoizedState,c=n.stateNode,a=c.getSnapshotBeforeUpdate(n.elementType===n.type?k:_e(n.type,k),F);c.__reactInternalSnapshotBeforeUpdate=a}break;case 3:var f=n.stateNode.containerInfo;f.nodeType===1?f.textContent="":f.nodeType===9&&f.documentElement&&f.removeChild(f.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 i=l.destroy;l.destroy=void 0,i!==void 0&&gi(n,t,i)}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 wi(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 aa(e){var n=e.alternate;n!==null&&(e.alternate=null,aa(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[ii],delete n[Zc],delete n[Jc])),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 ca(e){return e.tag===5||e.tag===3||e.tag===4}function mo(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||ca(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 ki(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(ki(e,n,t),e=e.sibling;e!==null;)ki(e,n,t),e=e.sibling}function Si(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(Si(e,n,t),e=e.sibling;e!==null;)Si(e,n,t),e=e.sibling}var Z=null,Ne=!1;function Ke(e,n,t){for(t=t.child;t!==null;)fa(e,n,t),t=t.sibling}function fa(e,n,t){if(Oe&&typeof Oe.onCommitFiberUnmount=="function")try{Oe.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 i=l,u=i.destroy;i=i.tag,u!==void 0&&(i&2||i&4)&&gi(t,n,u),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 mf),n.forEach(function(r){var l=xf.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=u),r&=~i}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*yf(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 i=S,u=i.child;if(S.flags&16){var o=i.deletions;if(o!==null){for(var s=0;sQ()-ou?kn(e,0):uu|=t),ce(e,n)}function wa(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),ce(e,t))}function Cf(e){var n=e.memoizedState,t=0;n!==null&&(t=n.retryLane),wa(e,t)}function xf(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),wa(e,t)}var ka;ka=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,ff(e,n,t);oe=!!(e.flags&131072)}else oe=!1,I&&n.flags&1048576&&Cs(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=eu(null,n,r,e,l,t);var i=nu();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)?(i=!0,Mr(n)):i=!1,n.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Gi(n),l.updater=Jr,n.stateNode=l,l._reactInternals=n,fi(n,r,e,t),n=mi(null,n,r,!0,i,t)):(n.tag=0,I&&i&&Hi(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=Nf(r),e=_e(r,e),l){case 0:n=pi(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),pi(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(ra(n),e===null)throw Error(y(387));r=n.pendingProps,i=n.memoizedState,l=i.element,zs(e,n),Ir(n,r,null,t);var u=n.memoizedState;if(r=u.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:u.cache,pendingSuspenseBoundaries:u.pendingSuspenseBoundaries,transitions:u.transitions},n.updateQueue.baseState=i,n.memoizedState=i,n.flags&256){l=bn(Error(y(423)),n),n=co(e,n,r,t,l);break e}else if(r!==l){l=bn(Error(y(424)),n),n=co(e,n,r,t,l);break e}else for(de=tn(n.stateNode.containerInfo.firstChild),pe=n,I=!0,ze=null,t=Ms(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 Ds(n),e===null&&si(n),r=n.type,l=n.pendingProps,i=e!==null?e.memoizedProps:null,u=l.children,ri(r,l)?u=null:i!==null&&ri(r,i)&&(n.flags|=32),ta(e,n),re(e,n,u,t),n.child;case 6:return e===null&&si(n),null;case 13:return la(e,n,t);case 4:return Zi(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,i=n.memoizedProps,u=l.value,D(Or,r._currentValue),r._currentValue=u,i!==null)if(Le(i.value,u)){if(i.children===l.children&&!se.current){n=We(e,n,t);break e}}else for(i=n.child,i!==null&&(i.return=n);i!==null;){var o=i.dependencies;if(o!==null){u=i.child;for(var s=o.firstContext;s!==null;){if(s.context===r){if(i.tag===1){s=Ae(-1,t&-t),s.tag=2;var d=i.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}}i.lanes|=t,s=i.alternate,s!==null&&(s.lanes|=t),ai(i.return,t,n),o.lanes|=t;break}s=s.next}}else if(i.tag===10)u=i.type===n.type?null:i.child;else if(i.tag===18){if(u=i.return,u===null)throw Error(y(341));u.lanes|=t,o=u.alternate,o!==null&&(o.lanes|=t),ai(u,t,n),u=i.sibling}else u=i.child;if(u!==null)u.return=i;else for(u=i;u!==null;){if(u===n){u=null;break}if(i=u.sibling,i!==null){i.return=u.return,u=i;break}u=u.return}i=u}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 ea(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),Ts(n,r,l),fi(n,r,l,t),mi(null,n,r,!0,e,t);case 19:return ia(e,n,t);case 22:return na(e,n,t)}throw Error(y(156,n.tag))};function Sa(e,n){return Yo(e,n)}function _f(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 _f(e,n,t,r)}function fu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Nf(e){if(typeof e=="function")return fu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Li)return 11;if(e===Mi)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,i){var u=2;if(r=e,typeof e=="function")fu(e)&&(u=1);else if(typeof e=="string")u=5;else e:switch(e){case Mn:return Sn(t.children,l,i,n);case Ti:u=8,l|=8;break;case Fl:return e=we(12,t,n,l|2),e.elementType=Fl,e.lanes=i,e;case Il:return e=we(13,t,n,l),e.elementType=Il,e.lanes=i,e;case jl:return e=we(19,t,n,l),e.elementType=jl,e.lanes=i,e;case Lo:return nl(t,l,i,n);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Po:u=10;break e;case To:u=9;break e;case Li:u=11;break e;case Mi:u=14;break e;case Ye:u=16,r=null;break e}throw Error(y(130,e==null?e:typeof e,""))}return n=we(u,t,n,l),n.elementType=e,n.type=r,n.lanes=i,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=Lo,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 zf(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 du(e,n,t,r,l,i,u,o,s){return e=new zf(e,n,t,o,s),n===1?(n=1,i===!0&&(n|=8)):n=0,i=we(3,null,null,n),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},Gi(i),e}function Pf(e,n,t){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(_a)}catch(e){console.error(e)}}_a(),Co.exports=ve;var Rf=Co.exports;const If=za(Rf);export{If as R,Rf as r}; +`+i.stack}return{value:e,source:n,stack:l,digest:null}}function Ll(e,n,t){return{value:e,source:null,stack:t??null,digest:n??null}}function di(e,n){try{console.error(n.value)}catch(t){setTimeout(function(){throw t})}}var sf=typeof WeakMap=="function"?WeakMap:Map;function qs(e,n,t){t=Ae(-1,t),t.tag=3,t.payload={element:null};var r=n.value;return t.callback=function(){Br||(Br=!0,Ei=r),di(e,n)},t}function bs(e,n,t){t=Ae(-1,t),t.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var l=n.value;t.payload=function(){return r(l)},t.callback=function(){di(e,n)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(t.callback=function(){di(e,n),typeof r!="function"&&(ln===null?ln=new Set([this]):ln.add(this));var u=n.stack;this.componentDidCatch(n.value,{componentStack:u!==null?u:""})}),t}function lo(e,n,t){var r=e.pingCache;if(r===null){r=e.pingCache=new sf;var l=new Set;r.set(n,l)}else l=r.get(n),l===void 0&&(l=new Set,r.set(n,l));l.has(t)||(l.add(t),e=Ef.bind(null,e,n,t),n.then(e,e))}function io(e){do{var n;if((n=e.tag===13)&&(n=e.memoizedState,n=n!==null?n.dehydrated!==null:!0),n)return e;e=e.return}while(e!==null);return null}function uo(e,n,t,r,l){return e.mode&1?(e.flags|=65536,e.lanes=l,e):(e===n?e.flags|=65536:(e.flags|=128,t.flags|=131072,t.flags&=-52805,t.tag===1&&(t.alternate===null?t.tag=17:(n=Ae(-1,1),n.tag=2,rn(t,n,1))),t.lanes|=1),e)}var af=$e.ReactCurrentOwner,oe=!1;function re(e,n,t,r){n.child=e===null?Ms(n,null,t,r):Jn(n,e.child,t,r)}function oo(e,n,t,r,l){t=t.render;var i=n.ref;return Kn(n,l),r=eu(e,n,t,r,i,l),t=nu(),e!==null&&!oe?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~l,We(e,n,l)):(I&&t&&Hi(n),n.flags|=1,re(e,n,r,l),n.child)}function so(e,n,t,r,l){if(e===null){var i=t.type;return typeof i=="function"&&!fu(i)&&i.defaultProps===void 0&&t.compare===null&&t.defaultProps===void 0?(n.tag=15,n.type=i,ea(e,n,i,r,l)):(e=kr(t.type,null,r,n,n.mode,l),e.ref=n.ref,e.return=n,n.child=e)}if(i=e.child,!(e.lanes&l)){var u=i.memoizedProps;if(t=t.compare,t=t!==null?t:Rt,t(u,r)&&e.ref===n.ref)return We(e,n,l)}return n.flags|=1,e=on(i,r),e.ref=n.ref,e.return=n,n.child=e}function ea(e,n,t,r,l){if(e!==null){var i=e.memoizedProps;if(Rt(i,r)&&e.ref===n.ref)if(oe=!1,n.pendingProps=r=i,(e.lanes&l)!==0)e.flags&131072&&(oe=!0);else return n.lanes=e.lanes,We(e,n,l)}return pi(e,n,t,r,l)}function na(e,n,t){var r=n.pendingProps,l=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(n.mode&1))n.memoizedState={baseLanes:0,cachePool:null,transitions:null},D(Bn,fe),fe|=t;else{if(!(t&1073741824))return e=i!==null?i.baseLanes|t:t,n.lanes=n.childLanes=1073741824,n.memoizedState={baseLanes:e,cachePool:null,transitions:null},n.updateQueue=null,D(Bn,fe),fe|=e,null;n.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:t,D(Bn,fe),fe|=r}else i!==null?(r=i.baseLanes|t,n.memoizedState=null):r=t,D(Bn,fe),fe|=r;return re(e,n,l,t),n.child}function ta(e,n){var t=n.ref;(e===null&&t!==null||e!==null&&e.ref!==t)&&(n.flags|=512,n.flags|=2097152)}function pi(e,n,t,r,l){var i=ae(t)?En:te.current;return i=Gn(n,i),Kn(n,l),t=eu(e,n,t,r,i,l),r=nu(),e!==null&&!oe?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~l,We(e,n,l)):(I&&r&&Hi(n),n.flags|=1,re(e,n,t,l),n.child)}function ao(e,n,t,r,l){if(ae(t)){var i=!0;Mr(n)}else i=!1;if(Kn(n,l),n.stateNode===null)yr(e,n),Ts(n,t,r),fi(n,t,r,l),r=!0;else if(e===null){var u=n.stateNode,o=n.memoizedProps;u.props=o;var s=u.context,d=t.contextType;typeof d=="object"&&d!==null?d=Se(d):(d=ae(t)?En:te.current,d=Gn(n,d));var v=t.getDerivedStateFromProps,m=typeof v=="function"||typeof u.getSnapshotBeforeUpdate=="function";m||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(o!==r||s!==d)&&eo(n,u,r,d),Xe=!1;var p=n.memoizedState;u.state=p,Ir(n,r,u,l),s=n.memoizedState,o!==r||p!==s||se.current||Xe?(typeof v=="function"&&(ci(n,t,v,r),s=n.memoizedState),(o=Xe||bu(n,t,o,r,p,s,d))?(m||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(n.flags|=4194308)):(typeof u.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=r,n.memoizedState=s),u.props=r,u.state=s,u.context=d,r=o):(typeof u.componentDidMount=="function"&&(n.flags|=4194308),r=!1)}else{u=n.stateNode,zs(e,n),o=n.memoizedProps,d=n.type===n.elementType?o:_e(n.type,o),u.props=d,m=n.pendingProps,p=u.context,s=t.contextType,typeof s=="object"&&s!==null?s=Se(s):(s=ae(t)?En:te.current,s=Gn(n,s));var g=t.getDerivedStateFromProps;(v=typeof g=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(o!==m||p!==s)&&eo(n,u,r,s),Xe=!1,p=n.memoizedState,u.state=p,Ir(n,r,u,l);var w=n.memoizedState;o!==m||p!==w||se.current||Xe?(typeof g=="function"&&(ci(n,t,g,r),w=n.memoizedState),(d=Xe||bu(n,t,d,r,p,w,s)||!1)?(v||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(r,w,s),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(r,w,s)),typeof u.componentDidUpdate=="function"&&(n.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof u.componentDidUpdate!="function"||o===e.memoizedProps&&p===e.memoizedState||(n.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&p===e.memoizedState||(n.flags|=1024),n.memoizedProps=r,n.memoizedState=w),u.props=r,u.state=w,u.context=s,r=d):(typeof u.componentDidUpdate!="function"||o===e.memoizedProps&&p===e.memoizedState||(n.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&p===e.memoizedState||(n.flags|=1024),r=!1)}return mi(e,n,t,r,i,l)}function mi(e,n,t,r,l,i){ta(e,n);var u=(n.flags&128)!==0;if(!r&&!u)return l&&Xu(n,t,!1),We(e,n,i);r=n.stateNode,af.current=n;var o=u&&typeof t.getDerivedStateFromError!="function"?null:r.render();return n.flags|=1,e!==null&&u?(n.child=Jn(n,e.child,null,i),n.child=Jn(n,null,o,i)):re(e,n,o,i),n.memoizedState=r.state,l&&Xu(n,t,!0),n.child}function ra(e){var n=e.stateNode;n.pendingContext?Yu(e,n.pendingContext,n.pendingContext!==n.context):n.context&&Yu(e,n.context,!1),Zi(e,n.containerInfo)}function co(e,n,t,r,l){return Zn(),Wi(l),n.flags|=256,re(e,n,t,r),n.child}var vi={dehydrated:null,treeContext:null,retryLane:0};function hi(e){return{baseLanes:e,cachePool:null,transitions:null}}function la(e,n,t){var r=n.pendingProps,l=j.current,i=!1,u=(n.flags&128)!==0,o;if((o=u)||(o=e!==null&&e.memoizedState===null?!1:(l&2)!==0),o?(i=!0,n.flags&=-129):(e===null||e.memoizedState!==null)&&(l|=1),D(j,l&1),e===null)return si(n),e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(n.mode&1?e.data==="$!"?n.lanes=8:n.lanes=1073741824:n.lanes=1,null):(u=r.children,e=r.fallback,i?(r=n.mode,i=n.child,u={mode:"hidden",children:u},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=u):i=nl(u,r,0,null),e=Sn(e,r,t,null),i.return=n,e.return=n,i.sibling=e,n.child=i,n.child.memoizedState=hi(t),n.memoizedState=vi,e):lu(n,u));if(l=e.memoizedState,l!==null&&(o=l.dehydrated,o!==null))return cf(e,n,u,r,o,l,t);if(i){i=r.fallback,u=n.mode,l=e.child,o=l.sibling;var s={mode:"hidden",children:r.children};return!(u&1)&&n.child!==l?(r=n.child,r.childLanes=0,r.pendingProps=s,n.deletions=null):(r=on(l,s),r.subtreeFlags=l.subtreeFlags&14680064),o!==null?i=on(o,i):(i=Sn(i,u,t,null),i.flags|=2),i.return=n,r.return=n,r.sibling=i,n.child=r,r=i,i=n.child,u=e.child.memoizedState,u=u===null?hi(t):{baseLanes:u.baseLanes|t,cachePool:null,transitions:u.transitions},i.memoizedState=u,i.childLanes=e.childLanes&~t,n.memoizedState=vi,r}return i=e.child,e=i.sibling,r=on(i,{mode:"visible",children:r.children}),!(n.mode&1)&&(r.lanes=t),r.return=n,r.sibling=null,e!==null&&(t=n.deletions,t===null?(n.deletions=[e],n.flags|=16):t.push(e)),n.child=r,n.memoizedState=null,r}function lu(e,n){return n=nl({mode:"visible",children:n},e.mode,0,null),n.return=e,e.child=n}function or(e,n,t,r){return r!==null&&Wi(r),Jn(n,e.child,null,t),e=lu(n,n.pendingProps.children),e.flags|=2,n.memoizedState=null,e}function cf(e,n,t,r,l,i,u){if(t)return n.flags&256?(n.flags&=-257,r=Ll(Error(y(422))),or(e,n,u,r)):n.memoizedState!==null?(n.child=e.child,n.flags|=128,null):(i=r.fallback,l=n.mode,r=nl({mode:"visible",children:r.children},l,0,null),i=Sn(i,l,u,null),i.flags|=2,r.return=n,i.return=n,r.sibling=i,n.child=r,n.mode&1&&Jn(n,e.child,null,u),n.child.memoizedState=hi(u),n.memoizedState=vi,i);if(!(n.mode&1))return or(e,n,u,null);if(l.data==="$!"){if(r=l.nextSibling&&l.nextSibling.dataset,r)var o=r.dgst;return r=o,i=Error(y(419)),r=Ll(i,r,void 0),or(e,n,u,r)}if(o=(u&e.childLanes)!==0,oe||o){if(r=G,r!==null){switch(u&-u){case 4:l=2;break;case 16:l=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:l=32;break;case 536870912:l=268435456;break;default:l=0}l=l&(r.suspendedLanes|u)?0:l,l!==0&&l!==i.retryLane&&(i.retryLane=l,Qe(e,l),Te(r,e,l,-1))}return cu(),r=Ll(Error(y(421))),or(e,n,u,r)}return l.data==="$?"?(n.flags|=128,n.child=e.child,n=Cf.bind(null,e),l._reactRetry=n,null):(e=i.treeContext,de=tn(l.nextSibling),pe=n,I=!0,ze=null,e!==null&&(ye[ge++]=Ue,ye[ge++]=Ve,ye[ge++]=Cn,Ue=e.id,Ve=e.overflow,Cn=n),n=lu(n,r.children),n.flags|=4096,n)}function fo(e,n,t){e.lanes|=n;var r=e.alternate;r!==null&&(r.lanes|=n),ai(e.return,n,t)}function Ml(e,n,t,r,l){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:r,tail:t,tailMode:l}:(i.isBackwards=n,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=t,i.tailMode=l)}function ia(e,n,t){var r=n.pendingProps,l=r.revealOrder,i=r.tail;if(re(e,n,r.children,t),r=j.current,r&2)r=r&1|2,n.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=n.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&fo(e,t,n);else if(e.tag===19)fo(e,t,n);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;e.sibling===null;){if(e.return===null||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(D(j,r),!(n.mode&1))n.memoizedState=null;else switch(l){case"forwards":for(t=n.child,l=null;t!==null;)e=t.alternate,e!==null&&jr(e)===null&&(l=t),t=t.sibling;t=l,t===null?(l=n.child,n.child=null):(l=t.sibling,t.sibling=null),Ml(n,!1,l,t,i);break;case"backwards":for(t=null,l=n.child,n.child=null;l!==null;){if(e=l.alternate,e!==null&&jr(e)===null){n.child=l;break}e=l.sibling,l.sibling=t,t=l,l=e}Ml(n,!0,t,null,i);break;case"together":Ml(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function yr(e,n){!(n.mode&1)&&e!==null&&(e.alternate=null,n.alternate=null,n.flags|=2)}function We(e,n,t){if(e!==null&&(n.dependencies=e.dependencies),_n|=n.lanes,!(t&n.childLanes))return null;if(e!==null&&n.child!==e.child)throw Error(y(153));if(n.child!==null){for(e=n.child,t=on(e,e.pendingProps),n.child=t,t.return=n;e.sibling!==null;)e=e.sibling,t=t.sibling=on(e,e.pendingProps),t.return=n;t.sibling=null}return n.child}function ff(e,n,t){switch(n.tag){case 3:ra(n),Zn();break;case 5:Ds(n);break;case 1:ae(n.type)&&Mr(n);break;case 4:Zi(n,n.stateNode.containerInfo);break;case 10:var r=n.type._context,l=n.memoizedProps.value;D(Or,r._currentValue),r._currentValue=l;break;case 13:if(r=n.memoizedState,r!==null)return r.dehydrated!==null?(D(j,j.current&1),n.flags|=128,null):t&n.child.childLanes?la(e,n,t):(D(j,j.current&1),e=We(e,n,t),e!==null?e.sibling:null);D(j,j.current&1);break;case 19:if(r=(t&n.childLanes)!==0,e.flags&128){if(r)return ia(e,n,t);n.flags|=128}if(l=n.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),D(j,j.current),r)break;return null;case 22:case 23:return n.lanes=0,na(e,n,t)}return We(e,n,t)}var ua,yi,oa,sa;ua=function(e,n){for(var t=n.child;t!==null;){if(t.tag===5||t.tag===6)e.appendChild(t.stateNode);else if(t.tag!==4&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===n)break;for(;t.sibling===null;){if(t.return===null||t.return===n)return;t=t.return}t.sibling.return=t.return,t=t.sibling}};yi=function(){};oa=function(e,n,t,r){var l=e.memoizedProps;if(l!==r){e=n.stateNode,wn(Fe.current);var i=null;switch(t){case"input":l=Vl(e,l),r=Vl(e,r),i=[];break;case"select":l=V({},l,{value:void 0}),r=V({},r,{value:void 0}),i=[];break;case"textarea":l=Hl(e,l),r=Hl(e,r),i=[];break;default:typeof l.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Tr)}Wl(t,r);var u;t=null;for(d in l)if(!r.hasOwnProperty(d)&&l.hasOwnProperty(d)&&l[d]!=null)if(d==="style"){var o=l[d];for(u in o)o.hasOwnProperty(u)&&(t||(t={}),t[u]="")}else d!=="dangerouslySetInnerHTML"&&d!=="children"&&d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&d!=="autoFocus"&&(Nt.hasOwnProperty(d)?i||(i=[]):(i=i||[]).push(d,null));for(d in r){var s=r[d];if(o=l!=null?l[d]:void 0,r.hasOwnProperty(d)&&s!==o&&(s!=null||o!=null))if(d==="style")if(o){for(u in o)!o.hasOwnProperty(u)||s&&s.hasOwnProperty(u)||(t||(t={}),t[u]="");for(u in s)s.hasOwnProperty(u)&&o[u]!==s[u]&&(t||(t={}),t[u]=s[u])}else t||(i||(i=[]),i.push(d,t)),t=s;else d==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,o=o?o.__html:void 0,s!=null&&o!==s&&(i=i||[]).push(d,s)):d==="children"?typeof s!="string"&&typeof s!="number"||(i=i||[]).push(d,""+s):d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&(Nt.hasOwnProperty(d)?(s!=null&&d==="onScroll"&&R("scroll",e),i||o===s||(i=[])):(i=i||[]).push(d,s))}t&&(i=i||[]).push("style",t);var d=i;(n.updateQueue=d)&&(n.flags|=4)}};sa=function(e,n,t,r){t!==r&&(n.flags|=4)};function ft(e,n){if(!I)switch(e.tailMode){case"hidden":n=e.tail;for(var t=null;n!==null;)n.alternate!==null&&(t=n),n=n.sibling;t===null?e.tail=null:t.sibling=null;break;case"collapsed":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?n||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ee(e){var n=e.alternate!==null&&e.alternate.child===e.child,t=0,r=0;if(n)for(var l=e.child;l!==null;)t|=l.lanes|l.childLanes,r|=l.subtreeFlags&14680064,r|=l.flags&14680064,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)t|=l.lanes|l.childLanes,r|=l.subtreeFlags,r|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=r,e.childLanes=t,n}function df(e,n,t){var r=n.pendingProps;switch(Qi(n),n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ee(n),null;case 1:return ae(n.type)&&Lr(),ee(n),null;case 3:return r=n.stateNode,qn(),O(se),O(te),qi(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(ir(n)?n.flags|=4:e===null||e.memoizedState.isDehydrated&&!(n.flags&256)||(n.flags|=1024,ze!==null&&(_i(ze),ze=null))),yi(e,n),ee(n),null;case 5:Ji(n);var l=wn(Ut.current);if(t=n.type,e!==null&&n.stateNode!=null)oa(e,n,t,r,l),e.ref!==n.ref&&(n.flags|=512,n.flags|=2097152);else{if(!r){if(n.stateNode===null)throw Error(y(166));return ee(n),null}if(e=wn(Fe.current),ir(n)){r=n.stateNode,t=n.type;var i=n.memoizedProps;switch(r[Re]=n,r[It]=i,e=(n.mode&1)!==0,t){case"dialog":R("cancel",r),R("close",r);break;case"iframe":case"object":case"embed":R("load",r);break;case"video":case"audio":for(l=0;l<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=u.createElement(t,{is:r.is}):(e=u.createElement(t),t==="select"&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,t),e[Re]=n,e[It]=r,ua(e,n,!1,!1),n.stateNode=e;e:{switch(u=$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,ft(i,!1),n.lanes=4194304)}else{if(!r)if(e=jr(u),e!==null){if(n.flags|=128,r=!0,t=e.updateQueue,t!==null&&(n.updateQueue=t,n.flags|=4),ft(i,!0),i.tail===null&&i.tailMode==="hidden"&&!u.alternate&&!I)return ee(n),null}else 2*Q()-i.renderingStartTime>et&&t!==1073741824&&(n.flags|=128,r=!0,ft(i,!1),n.lanes=4194304);i.isBackwards?(u.sibling=n.child,n.child=u):(t=i.last,t!==null?t.sibling=u:n.child=u,i.last=u)}return i.tail!==null?(n=i.tail,i.rendering=n,i.tail=n.sibling,i.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 au(),r=n.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(n.flags|=8192),r&&n.mode&1?fe&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 pf(e,n){switch(Qi(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(),O(se),O(te),qi(),e=n.flags,e&65536&&!(e&128)?(n.flags=e&-65537|128,n):null;case 5:return Ji(n),null;case 13:if(O(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 O(j),null;case 4:return qn(),null;case 10:return Yi(n.type._context),null;case 22:case 23:return au(),null;case 24:return null;default:return null}}var sr=!1,ne=!1,mf=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 gi(e,n,t){try{t()}catch(r){A(e,n,r)}}var po=!1;function vf(e,n){if(ni=Nr,e=ds(),Bi(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,i=r.focusNode;r=r.focusOffset;try{t.nodeType,i.nodeType}catch{t=null;break e}var u=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=u+l),m!==i||r!==0&&m.nodeType!==3||(s=u+r),m.nodeType===3&&(u+=m.nodeValue.length),(g=m.firstChild)!==null;)p=m,m=g;for(;;){if(m===e)break n;if(p===t&&++d===l&&(o=u),p===i&&++v===r&&(s=u),(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(ti={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,F=w.memoizedState,c=n.stateNode,a=c.getSnapshotBeforeUpdate(n.elementType===n.type?k:_e(n.type,k),F);c.__reactInternalSnapshotBeforeUpdate=a}break;case 3:var f=n.stateNode.containerInfo;f.nodeType===1?f.textContent="":f.nodeType===9&&f.documentElement&&f.removeChild(f.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 i=l.destroy;l.destroy=void 0,i!==void 0&&gi(n,t,i)}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 wi(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 aa(e){var n=e.alternate;n!==null&&(e.alternate=null,aa(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[ii],delete n[Zc],delete n[Jc])),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 ca(e){return e.tag===5||e.tag===3||e.tag===4}function mo(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||ca(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 ki(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(ki(e,n,t),e=e.sibling;e!==null;)ki(e,n,t),e=e.sibling}function Si(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(Si(e,n,t),e=e.sibling;e!==null;)Si(e,n,t),e=e.sibling}var Z=null,Ne=!1;function Ke(e,n,t){for(t=t.child;t!==null;)fa(e,n,t),t=t.sibling}function fa(e,n,t){if(Oe&&typeof Oe.onCommitFiberUnmount=="function")try{Oe.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 i=l,u=i.destroy;i=i.tag,u!==void 0&&(i&2||i&4)&&gi(t,n,u),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 mf),n.forEach(function(r){var l=xf.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=u),r&=~i}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*yf(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 i=S,u=i.child;if(S.flags&16){var o=i.deletions;if(o!==null){for(var s=0;sQ()-ou?kn(e,0):uu|=t),ce(e,n)}function wa(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),ce(e,t))}function Cf(e){var n=e.memoizedState,t=0;n!==null&&(t=n.retryLane),wa(e,t)}function xf(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),wa(e,t)}var ka;ka=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,ff(e,n,t);oe=!!(e.flags&131072)}else oe=!1,I&&n.flags&1048576&&Cs(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=eu(null,n,r,e,l,t);var i=nu();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)?(i=!0,Mr(n)):i=!1,n.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Gi(n),l.updater=Jr,n.stateNode=l,l._reactInternals=n,fi(n,r,e,t),n=mi(null,n,r,!0,i,t)):(n.tag=0,I&&i&&Hi(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=Nf(r),e=_e(r,e),l){case 0:n=pi(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),pi(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(ra(n),e===null)throw Error(y(387));r=n.pendingProps,i=n.memoizedState,l=i.element,zs(e,n),Ir(n,r,null,t);var u=n.memoizedState;if(r=u.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:u.cache,pendingSuspenseBoundaries:u.pendingSuspenseBoundaries,transitions:u.transitions},n.updateQueue.baseState=i,n.memoizedState=i,n.flags&256){l=bn(Error(y(423)),n),n=co(e,n,r,t,l);break e}else if(r!==l){l=bn(Error(y(424)),n),n=co(e,n,r,t,l);break e}else for(de=tn(n.stateNode.containerInfo.firstChild),pe=n,I=!0,ze=null,t=Ms(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 Ds(n),e===null&&si(n),r=n.type,l=n.pendingProps,i=e!==null?e.memoizedProps:null,u=l.children,ri(r,l)?u=null:i!==null&&ri(r,i)&&(n.flags|=32),ta(e,n),re(e,n,u,t),n.child;case 6:return e===null&&si(n),null;case 13:return la(e,n,t);case 4:return Zi(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,i=n.memoizedProps,u=l.value,D(Or,r._currentValue),r._currentValue=u,i!==null)if(Le(i.value,u)){if(i.children===l.children&&!se.current){n=We(e,n,t);break e}}else for(i=n.child,i!==null&&(i.return=n);i!==null;){var o=i.dependencies;if(o!==null){u=i.child;for(var s=o.firstContext;s!==null;){if(s.context===r){if(i.tag===1){s=Ae(-1,t&-t),s.tag=2;var d=i.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}}i.lanes|=t,s=i.alternate,s!==null&&(s.lanes|=t),ai(i.return,t,n),o.lanes|=t;break}s=s.next}}else if(i.tag===10)u=i.type===n.type?null:i.child;else if(i.tag===18){if(u=i.return,u===null)throw Error(y(341));u.lanes|=t,o=u.alternate,o!==null&&(o.lanes|=t),ai(u,t,n),u=i.sibling}else u=i.child;if(u!==null)u.return=i;else for(u=i;u!==null;){if(u===n){u=null;break}if(i=u.sibling,i!==null){i.return=u.return,u=i;break}u=u.return}i=u}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 ea(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),Ts(n,r,l),fi(n,r,l,t),mi(null,n,r,!0,e,t);case 19:return ia(e,n,t);case 22:return na(e,n,t)}throw Error(y(156,n.tag))};function Sa(e,n){return Yo(e,n)}function _f(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 _f(e,n,t,r)}function fu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Nf(e){if(typeof e=="function")return fu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Li)return 11;if(e===Mi)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,i){var u=2;if(r=e,typeof e=="function")fu(e)&&(u=1);else if(typeof e=="string")u=5;else e:switch(e){case Mn:return Sn(t.children,l,i,n);case Ti:u=8,l|=8;break;case Fl:return e=we(12,t,n,l|2),e.elementType=Fl,e.lanes=i,e;case Il:return e=we(13,t,n,l),e.elementType=Il,e.lanes=i,e;case jl:return e=we(19,t,n,l),e.elementType=jl,e.lanes=i,e;case Lo:return nl(t,l,i,n);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Po:u=10;break e;case To:u=9;break e;case Li:u=11;break e;case Mi:u=14;break e;case Ye:u=16,r=null;break e}throw Error(y(130,e==null?e:typeof e,""))}return n=we(u,t,n,l),n.elementType=e,n.type=r,n.lanes=i,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=Lo,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 zf(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 du(e,n,t,r,l,i,u,o,s){return e=new zf(e,n,t,o,s),n===1?(n=1,i===!0&&(n|=8)):n=0,i=we(3,null,null,n),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},Gi(i),e}function Pf(e,n,t){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(_a)}catch(e){console.error(e)}}_a(),Co.exports=ve;var Rf=Co.exports;const Ff=Pa(Rf);export{Ff as R,Rf as r}; diff --git a/assets/index.stories-BttWpoDr.js b/assets/index.stories-BttWpoDr.js deleted file mode 100644 index 78768acf..00000000 --- a/assets/index.stories-BttWpoDr.js +++ /dev/null @@ -1,13 +0,0 @@ -import{M as a}from"./index-4RSmxb3z.js";import{j as e}from"./jsx-runtime-vNq4Oc-g.js";import{u as i}from"./index-Dbo06S9W.js";import"./iframe-uScXI0l2.js";import"../sb-preview/runtime.js";import"./index-4g5l5LRQ.js";import"./_commonjsHelpers-4gQjN7DL.js";import"./index-jmm5gWkb.js";import"./index-ogXoivrg.js";import"./index-MVbLLYTZ.js";import"./index-PPLHz8o0.js";function c(s={}){const{wrapper:o}=Object.assign({},i(),s.components);return o?e.jsx(o,{...s,children:e.jsx(r,{})}):r();function r(){const t=Object.assign({h1:"h1",h2:"h2",p:"p",h3:"h3",pre:"pre",code:"code",a:"a"},i(),s.components);return e.jsxs(e.Fragment,{children:[e.jsx(a,{title:"Home"}),` -`,e.jsx(t.h1,{id:"hailstorm",children:"Hailstorm"}),` -`,e.jsx(t.h2,{id:"introduction",children:"Introduction"}),` -`,e.jsx(t.p,{children:"Hailstorm is a design system for Abusix. It is a collection of reusable components, guidelines, and best practices that can be used to build consistent user interfaces across all of our products."}),` -`,e.jsx(t.h2,{id:"getting-started",children:"Getting Started"}),` -`,e.jsx(t.h3,{id:"installation",children:"Installation"}),` -`,e.jsx(t.p,{children:"Hailstorm is available as an npm package. To install it, run the following command in your project's root directory:"}),` -`,e.jsx(t.pre,{children:e.jsx(t.code,{className:"language-bash",children:`npm install @abusix/hailstorm -`})}),` -`,e.jsx(t.h2,{id:"documentation",children:"Documentation"}),` -`,e.jsx(t.p,{children:"The documentation for Hailstorm will be available soon."}),` -`,e.jsx(t.h2,{id:"license",children:"License"}),` -`,e.jsxs(t.p,{children:["Hailstorm is licensed under the ",e.jsx(t.a,{href:"LICENSE",children:"MIT License"}),"."]})]})}}const l=()=>{throw new Error("Docs-only story")};l.parameters={docsOnly:!0};const n={title:"Home",tags:["stories-mdx"],includeStories:["__page"]};n.parameters=n.parameters||{};n.parameters.docs={...n.parameters.docs||{},page:c};const M=["__page"];export{M as __namedExportsOrder,l as __page,n as default}; diff --git a/assets/inline-alert.stories-R455IYsM.js b/assets/inline-alert.stories-R455IYsM.js deleted file mode 100644 index ddead5c3..00000000 --- a/assets/inline-alert.stories-R455IYsM.js +++ /dev/null @@ -1,22 +0,0 @@ -import{j as e}from"./jsx-runtime-vNq4Oc-g.js";import{c as o}from"./class-names-J070TWId.js";import{c as w,d as j,e as S,f as _}from"./zoom-to-fit-icon-UPpVBno8.js";import{g as A}from"./storybook-utils-94J-CLQK.js";import"./index-4g5l5LRQ.js";import"./_commonjsHelpers-4gQjN7DL.js";const b={info:"text-primary-600",danger:"text-danger-500",success:"text-success-500",warning:"text-warning-600"},T={info:"fill-primary-400",danger:"fill-danger-400",success:"fill-success-400",warning:"fill-warning-500"},V={info:w,success:j,warning:S,danger:_},i=({title:r,className:l,children:n,intent:c="info"})=>{const y=V[c],N=b[c],h=T[c];return e.jsxs("div",{className:o("flex w-full text-sm",l),children:[e.jsx("div",{className:"mr-4 w-4 grow-0 pt-0.5",children:e.jsx(y,{className:h})}),e.jsxs("div",{className:"w-full",children:[e.jsx("h1",{className:o("font-medium",N),children:r}),n?e.jsx("div",{className:"mt-2",children:n}):null]})]})};try{i.displayName="InlineAlert",i.__docgenInfo={description:"",displayName:"InlineAlert",props:{title:{defaultValue:null,description:"",name:"title",required:!0,type:{name:"string"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},intent:{defaultValue:{value:"info"},description:"",name:"intent",required:!1,type:{name:"enum",value:[{value:'"success"'},{value:'"info"'},{value:'"warning"'},{value:'"danger"'}]}}}}}catch{}const q=["info","success","warning","danger"],R={component:i,parameters:A("Inline alert text to inform user about contextual things"),args:{title:"Alert title",children:"Alert text"}},a={},s={argTypes:{intent:{table:{disable:!0}}},render:({children:r,...l})=>e.jsx("div",{className:"flex flex-col gap-4",children:q.map(n=>e.jsx(i,{...l,intent:n,children:r},n))})},t={...s,args:{children:void 0}};var d,m,u;a.parameters={...a.parameters,docs:{...(d=a.parameters)==null?void 0:d.docs,source:{originalSource:"{}",...(u=(m=a.parameters)==null?void 0:m.docs)==null?void 0:u.source}}};var p,g,f;s.parameters={...s.parameters,docs:{...(p=s.parameters)==null?void 0:p.docs,source:{originalSource:`{ - argTypes: { - intent: { - table: { - disable: true - } - } - }, - render: ({ - children, - ...args - }) =>
- {intents.map(intent => - {children} - )} -
-}`,...(f=(g=s.parameters)==null?void 0:g.docs)==null?void 0:f.source}}};var x,v,I;t.parameters={...t.parameters,docs:{...(x=t.parameters)==null?void 0:x.docs,source:{originalSource:`{ - ...Intents, - args: { - children: undefined - } -}`,...(I=(v=t.parameters)==null?void 0:v.docs)==null?void 0:I.source}}};const W=["Basic","Intents","OnlyTitles"];export{a as Basic,s as Intents,t as OnlyTitles,W as __namedExportsOrder,R as default}; diff --git a/assets/inline-alert.stories-aAd6afnQ.js b/assets/inline-alert.stories-aAd6afnQ.js new file mode 100644 index 00000000..580e5a40 --- /dev/null +++ b/assets/inline-alert.stories-aAd6afnQ.js @@ -0,0 +1,22 @@ +import{j as e}from"./jsx-runtime-DtaoT6pD.js";import{c as o}from"./class-names-xhKKfcKT.js";import{c as y,d as j,e as S,f as T}from"./zoom-to-fit-icon-65magoHv.js";import{g as A}from"./storybook-utils-94J-CLQK.js";import"./index-OjgoNOWw.js";const b={info:"text-primary-600",danger:"text-danger-500",success:"text-success-500",warning:"text-warning-600"},R={info:"fill-primary-400",danger:"fill-danger-400",success:"fill-success-400",warning:"fill-warning-500"},q={info:y,success:j,warning:S,danger:T},c=({title:t,className:i,children:n,intent:l="info"})=>{const w=q[l],N=b[l],h=R[l];return e.jsxs("div",{className:o("flex w-full text-sm",i),children:[e.jsx("div",{className:"mr-4 w-4 grow-0 pt-0.5",children:e.jsx(w,{className:h})}),e.jsxs("div",{className:"w-full",children:[e.jsx("h1",{className:o("font-medium",N),children:t}),n?e.jsx("div",{className:"mt-2",children:n}):null]})]})};c.__docgenInfo={description:"",methods:[],displayName:"InlineAlert",props:{title:{required:!0,tsType:{name:"string"},description:""},className:{required:!1,tsType:{name:"string"},description:""},intent:{required:!1,tsType:{name:"union",raw:'"success" | "info" | "warning" | "danger"',elements:[{name:"literal",value:'"success"'},{name:"literal",value:'"info"'},{name:"literal",value:'"warning"'},{name:"literal",value:'"danger"'}]},description:"",defaultValue:{value:'"info"',computed:!1}},children:{required:!1,tsType:{name:"ReactReactNode",raw:"React.ReactNode"},description:""}}};const _=["info","success","warning","danger"],B={component:c,title:"Inline Alert",parameters:A("Inline alert text to inform user about contextual things"),args:{title:"Alert title",children:"Alert text"}},r={},s={argTypes:{intent:{table:{disable:!0}}},render:({children:t,...i})=>e.jsx("div",{className:"flex flex-col gap-4",children:_.map(n=>e.jsx(c,{...i,intent:n,children:t},n))})},a={...s,args:{children:void 0}};var d,m,p;r.parameters={...r.parameters,docs:{...(d=r.parameters)==null?void 0:d.docs,source:{originalSource:"{}",...(p=(m=r.parameters)==null?void 0:m.docs)==null?void 0:p.source}}};var u,g,f;s.parameters={...s.parameters,docs:{...(u=s.parameters)==null?void 0:u.docs,source:{originalSource:`{ + argTypes: { + intent: { + table: { + disable: true + } + } + }, + render: ({ + children, + ...args + }) =>
+ {intents.map(intent => + {children} + )} +
+}`,...(f=(g=s.parameters)==null?void 0:g.docs)==null?void 0:f.source}}};var x,v,I;a.parameters={...a.parameters,docs:{...(x=a.parameters)==null?void 0:x.docs,source:{originalSource:`{ + ...Intents, + args: { + children: undefined + } +}`,...(I=(v=a.parameters)==null?void 0:v.docs)==null?void 0:I.source}}};const D=["Basic","Intents","OnlyTitles"];export{r as Basic,s as Intents,a as OnlyTitles,D as __namedExportsOrder,B as default}; diff --git a/assets/jsx-runtime-vNq4Oc-g.js b/assets/jsx-runtime-DtaoT6pD.js similarity index 93% rename from assets/jsx-runtime-vNq4Oc-g.js rename to assets/jsx-runtime-DtaoT6pD.js index c572884f..48e33a62 100644 --- a/assets/jsx-runtime-vNq4Oc-g.js +++ b/assets/jsx-runtime-DtaoT6pD.js @@ -1,4 +1,4 @@ -import{r as l}from"./index-4g5l5LRQ.js";var f={exports:{}},n={};/** +import{r as l}from"./index-OjgoNOWw.js";var f={exports:{}},n={};/** * @license React * react-jsx-runtime.production.min.js * diff --git a/assets/keyboard-o6QkQYrw.js b/assets/keyboard-ypJuuhig.js similarity index 77% rename from assets/keyboard-o6QkQYrw.js rename to assets/keyboard-ypJuuhig.js index e88a01c1..b3c4097a 100644 --- a/assets/keyboard-o6QkQYrw.js +++ b/assets/keyboard-ypJuuhig.js @@ -1 +1 @@ -import{R as a}from"./index-4g5l5LRQ.js";import{a as r,s as t,l as p}from"./render-w54E0F54.js";var n;let u=(n=a.useId)!=null?n:function(){let e=r(),[o,l]=a.useState(e?()=>t.nextId():null);return p(()=>{o===null&&l(t.nextId())},[o]),o!=null?""+o:void 0};var w=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(w||{});export{u as I,w as o}; +import{R as a}from"./index-OjgoNOWw.js";import{a as r,s as t,l as p}from"./render--CnTCjM4.js";var n;let u=(n=a.useId)!=null?n:function(){let e=r(),[o,l]=a.useState(e?()=>t.nextId():null);return p(()=>{o===null&&l(t.nextId())},[o]),o!=null?""+o:void 0};var w=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(w||{});export{u as I,w as o}; diff --git a/assets/label-4h3njXKv.js b/assets/label-i0FK8Lz6.js similarity index 92% rename from assets/label-4h3njXKv.js rename to assets/label-i0FK8Lz6.js index 4a7297ae..598c7c06 100644 --- a/assets/label-4h3njXKv.js +++ b/assets/label-i0FK8Lz6.js @@ -1 +1 @@ -import{r as i,R as g}from"./index-4g5l5LRQ.js";import{o as f,D as b,y as v,l as y,X as T}from"./render-w54E0F54.js";import{I as S}from"./keyboard-o6QkQYrw.js";function k(t={},n=null,e=[]){for(let[o,r]of Object.entries(t))d(e,p(n,o),r);return e}function p(t,n){return t?t+"["+n+"]":n}function d(t,n,e){if(Array.isArray(e))for(let[o,r]of e.entries())d(t,p(n,o.toString()),r);else e instanceof Date?t.push([n,e.toISOString()]):typeof e=="boolean"?t.push([n,e?"1":"0"]):typeof e=="string"?t.push([n,e]):typeof e=="number"?t.push([n,`${e}`]):e==null?t.push([n,""]):k(e,n,t)}function P(t){var n,e;let o=(n=t==null?void 0:t.form)!=null?n:t.closest("form");if(o){for(let r of o.elements)if(r!==t&&(r.tagName==="INPUT"&&r.type==="submit"||r.tagName==="BUTTON"&&r.type==="submit"||r.nodeName==="INPUT"&&r.type==="image")){r.click();return}(e=o.requestSubmit)==null||e.call(o)}}function R(t,n,e){let[o,r]=i.useState(e),l=t!==void 0,u=i.useRef(l),s=i.useRef(!1),a=i.useRef(!1);return l&&!u.current&&!s.current?(s.current=!0,u.current=l,console.error("A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.")):!l&&u.current&&!a.current&&(a.current=!0,u.current=l,console.error("A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.")),[l?t:o,f(c=>(l||r(c),n==null?void 0:n(c)))]}let m=i.createContext(null);function h(){let t=i.useContext(m);if(t===null){let n=new Error("You used a