From 4d75723ff4fbbd02484bd98d275a600f93ff37da Mon Sep 17 00:00:00 2001 From: mnlfischer Date: Wed, 23 Oct 2024 09:00:28 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages-storybook=20from=20@?= =?UTF-8?q?=20abusix/hailstorm@521da3abbdd8ff6e9bee6485dd22742bc0c33984=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/Color-ERTF36HU-B3LPFtYd.js | 1 + assets/Color-KGDBMAHA-BepPQj2K.js | 1 - assets/DocsRenderer-CFRXHY34-D9viofLQ.js | 2 + assets/DocsRenderer-PKQXORMH-BcQDXl8v.js | 2 - .../{alert-sTfywL0-.js => alert-WFlrTABt.js} | 2 +- ...-4-JUwPHE.js => alert.stories-DBAGVE4m.js} | 2 +- ...{avatar-D9Pz4PuL.js => avatar-Cxzsye4J.js} | 2 +- ...fIH0Z5HF.js => avatar.stories-HUeKQiUe.js} | 2 +- ...{button-DDiEAzmq.js => button-Cwplw9FX.js} | 2 +- ...DvBZ8vPQ.js => button.stories-B_08GyF3.js} | 2 +- assets/chunk-H6MOWX77-DTQOW814.js | 1 + ...{dialog-D4_ekaxy.js => dialog-CQKMlc6b.js} | 2 +- ...BBu6B51J.js => dialog.stories-BGz9dfF0.js} | 2 +- assets/entry-preview-BBa-_Xwa.js | 1 - assets/entry-preview-CVX8W8q9.js | 10 + assets/entry-preview-docs-Blm_ViJ3.js | 54 + assets/entry-preview-docs-DN11TZ2V.js | 54 - ...rq.js => featured-tag.stories-CsNO07V6.js} | 2 +- ...ating-B_VM8zae.js => floating-ERp4LevH.js} | 2 +- ...eld-BcItkMU2.js => form-field-BtJxu7hP.js} | 2 +- ...s => form-field-group.stories-D6_h9T9i.js} | 2 +- ...ds-BO6Mx8Dn.js => form-fields-B2NmhAAW.js} | 2 +- ...on-DlbMwnUp.js => icon-button-DlSTEzH7.js} | 2 +- ...EZw.js => icon-button.stories-CERmelnz.js} | 2 +- .../{icons-C0QV3r7r.js => icons-Dp8Wmtux.js} | 2 +- ...{iframe-B2fFkFgE.js => iframe-B1Sidt8M.js} | 4 +- assets/index-2qP1WQFk.js | 1 - .../{index-p-ac5bmP.js => index-BoyHNU0R.js} | 2 +- assets/index-BwmOyQc7.js | 1 + assets/index-CxJhtZoZ.js | 8 + assets/index-D4CCEPie.js | 595 + assets/index-D97zpEXb.js | 8 - assets/index-Doj-RJny.js | 574 - .../{index-BqpXghJy.js => index-bmGcrzev.js} | 2 +- .../{index-DzUTkZLd.js => index-h1jAayoZ.js} | 2 +- ...AA.js => inline-alert.stories-CHU6-QPb.js} | 2 +- ...s-B4hQfoUk.js => link.stories-2GyWZWrZ.js} | 2 +- ...0h86DQ2.js => listbox.stories-DYhiM9ac.js} | 2 +- assets/{menu-CdQONHKi.js => menu-BbZFQK8W.js} | 2 +- ...Q6POX.js => menu-item.stories-C6z3CClY.js} | 2 +- ...s-CwsrV7Kh.js => menu.stories-CgnJSCFe.js} | 2 +- ....js => multi-combobox.stories-B81csaxo.js} | 2 +- ...IKaC.js => navigation.stories-_4qlPrgP.js} | 2 +- ...-BpfGYF4U.js => panel.stories-5EuFEmkX.js} | 2 +- ...opover-B_a53NLU.js => popover-DJ9HIBXX.js} | 2 +- ...Cv.js => popover-menu.stories-DcT5PR_I.js} | 2 +- ...{portal-wGpXArpj.js => portal-CLj4HHuk.js} | 2 +- assets/preview-9hFJSo5S.js | 20 - assets/preview-BJPLiuSt.js | 1 - ...review-DB9FwMii.js => preview-BWzBA1C2.js} | 2 +- assets/preview-BhhEZcNS.js | 1 + assets/preview-BnWGZYux.js | 1 - assets/preview-CFgKly6U.js | 1 + assets/preview-Cdum89jS.js | 1 - assets/preview-D6MjistE.js | 2 - assets/preview-D77C14du.js | 34 + assets/preview-DFmD0pui.js | 1 + ...review-BpcF_O6y.js => preview-DGUiP6tS.js} | 4 +- assets/preview-DVI_gYQC.js | 234 + assets/preview-Dsbj-GgD.js | 2 + ...review-Ct5NkTJf.js => preview-aVwhiz9X.js} | 2 +- assets/preview-gLmJTRpJ.js | 28 - ...NeBgY.js => radio-box.stories-ClLmSkEW.js} | 2 +- ...F6b.js => radio-input.stories-D9_eflVt.js} | 2 +- assets/react-18-BH3B7EqY.js | 1 + assets/react-18-iKiK41o0.js | 1 - ...xt.js => search-input.stories-CrW1iZWz.js} | 2 +- ...41hruNK.js => section.stories-BeowXPCk.js} | 2 +- ...CJ28z.js => sidesheet.stories-DC5qghgW.js} | 2 +- ...js => single-combobox.stories-JqBGE505.js} | 2 +- ...> table-unvirtualized.stories-D8gQE_lR.js} | 2 +- ... => table-virtualized.stories-KaRUCWoS.js} | 2 +- ...kZTf.js => text-input.stories-BT2GI3td.js} | 2 +- ...0OJDBX.js => textarea.stories-82EphPuj.js} | 2 +- ...-B8TZoGl5.js => toast.stories-Bzmbls-5.js} | 2 +- ...{toggle-DnnlDb78.js => toggle-Bp5D17gs.js} | 2 +- ...Cr-rGyBr.js => toggle.stories-DcNmYdAI.js} | 2 +- ...s0hSbqX.js => tooltip.stories-D4pljqyk.js} | 2 +- ...MpXUtom.js => top-bar.stories-Dfj0D-rE.js} | 2 +- ...awKl3V.js => use-inert-others-CzqV763I.js} | 2 +- ..._euF6.js => use-tab-direction-BMI6OSML.js} | 2 +- ...pper-Awp2qsiQ.js => usePopper-Cu2KpVtb.js} | 2 +- iframe.html | 2 +- index.html | 2 +- project.json | 2 +- .../essentials-actions-3/manager-bundle.js | 2 +- .../manager-bundle.js | 18 +- .../essentials-controls-2/manager-bundle.js | 171 +- .../essentials-measure-7/manager-bundle.js | 2 +- .../essentials-outline-8/manager-bundle.js | 2 +- .../essentials-toolbars-6/manager-bundle.js | 2 +- .../essentials-viewport-5/manager-bundle.js | 2 +- sb-addons/interactions-9/manager-bundle.js | 154 +- sb-manager/globals-module-info.js | 11 + sb-manager/globals-runtime.js | 54305 ++++++++-------- sb-manager/globals.js | 48 + sb-manager/runtime.js | 20476 +++--- sb-preview/runtime.js | 6792 +- 98 files changed, 42594 insertions(+), 41148 deletions(-) create mode 100644 assets/Color-ERTF36HU-B3LPFtYd.js delete mode 100644 assets/Color-KGDBMAHA-BepPQj2K.js create mode 100644 assets/DocsRenderer-CFRXHY34-D9viofLQ.js delete mode 100644 assets/DocsRenderer-PKQXORMH-BcQDXl8v.js rename assets/{alert-sTfywL0-.js => alert-WFlrTABt.js} (90%) rename assets/{alert.stories-4-JUwPHE.js => alert.stories-DBAGVE4m.js} (96%) rename assets/{avatar-D9Pz4PuL.js => avatar-Cxzsye4J.js} (87%) rename assets/{avatar.stories-fIH0Z5HF.js => avatar.stories-HUeKQiUe.js} (95%) rename assets/{button-DDiEAzmq.js => button-Cwplw9FX.js} (95%) rename assets/{button.stories-DvBZ8vPQ.js => button.stories-B_08GyF3.js} (97%) create mode 100644 assets/chunk-H6MOWX77-DTQOW814.js rename assets/{dialog-D4_ekaxy.js => dialog-CQKMlc6b.js} (98%) rename assets/{dialog.stories-BBu6B51J.js => dialog.stories-BGz9dfF0.js} (94%) delete mode 100644 assets/entry-preview-BBa-_Xwa.js create mode 100644 assets/entry-preview-CVX8W8q9.js create mode 100644 assets/entry-preview-docs-Blm_ViJ3.js delete mode 100644 assets/entry-preview-docs-DN11TZ2V.js rename assets/{featured-tag.stories-Dq8MPlrq.js => featured-tag.stories-CsNO07V6.js} (84%) rename assets/{floating-B_VM8zae.js => floating-ERp4LevH.js} (99%) rename assets/{form-field-BcItkMU2.js => form-field-BtJxu7hP.js} (98%) rename assets/{form-field-group.stories-B58kwjk-.js => form-field-group.stories-D6_h9T9i.js} (92%) rename assets/{form-fields-BO6Mx8Dn.js => form-fields-B2NmhAAW.js} (97%) rename assets/{icon-button-DlbMwnUp.js => icon-button-DlSTEzH7.js} (96%) rename assets/{icon-button.stories-BDfI0EZw.js => icon-button.stories-CERmelnz.js} (90%) rename assets/{icons-C0QV3r7r.js => icons-Dp8Wmtux.js} (98%) rename assets/{iframe-B2fFkFgE.js => iframe-B1Sidt8M.js} (61%) delete mode 100644 assets/index-2qP1WQFk.js rename assets/{index-p-ac5bmP.js => index-BoyHNU0R.js} (99%) create mode 100644 assets/index-BwmOyQc7.js create mode 100644 assets/index-CxJhtZoZ.js create mode 100644 assets/index-D4CCEPie.js delete mode 100644 assets/index-D97zpEXb.js delete mode 100644 assets/index-Doj-RJny.js rename assets/{index-BqpXghJy.js => index-bmGcrzev.js} (88%) rename assets/{index-DzUTkZLd.js => index-h1jAayoZ.js} (99%) rename assets/{inline-alert.stories-wD9HlsAA.js => inline-alert.stories-CHU6-QPb.js} (97%) rename assets/{link.stories-B4hQfoUk.js => link.stories-2GyWZWrZ.js} (98%) rename assets/{listbox.stories-C0h86DQ2.js => listbox.stories-DYhiM9ac.js} (90%) rename assets/{menu-CdQONHKi.js => menu-BbZFQK8W.js} (98%) rename assets/{menu-item.stories-CBCQ6POX.js => menu-item.stories-C6z3CClY.js} (83%) rename assets/{menu.stories-CwsrV7Kh.js => menu.stories-CgnJSCFe.js} (81%) rename assets/{multi-combobox.stories-B4nv8weL.js => multi-combobox.stories-B81csaxo.js} (94%) rename assets/{navigation.stories-CTPvIKaC.js => navigation.stories-_4qlPrgP.js} (97%) rename assets/{panel.stories-BpfGYF4U.js => panel.stories-5EuFEmkX.js} (90%) rename assets/{popover-B_a53NLU.js => popover-DJ9HIBXX.js} (98%) rename assets/{popover-menu.stories-CCMQ0HCv.js => popover-menu.stories-DcT5PR_I.js} (91%) rename assets/{portal-wGpXArpj.js => portal-CLj4HHuk.js} (99%) delete mode 100644 assets/preview-9hFJSo5S.js delete mode 100644 assets/preview-BJPLiuSt.js rename assets/{preview-DB9FwMii.js => preview-BWzBA1C2.js} (94%) create mode 100644 assets/preview-BhhEZcNS.js delete mode 100644 assets/preview-BnWGZYux.js create mode 100644 assets/preview-CFgKly6U.js delete mode 100644 assets/preview-Cdum89jS.js delete mode 100644 assets/preview-D6MjistE.js create mode 100644 assets/preview-D77C14du.js create mode 100644 assets/preview-DFmD0pui.js rename assets/{preview-BpcF_O6y.js => preview-DGUiP6tS.js} (58%) create mode 100644 assets/preview-DVI_gYQC.js create mode 100644 assets/preview-Dsbj-GgD.js rename assets/{preview-Ct5NkTJf.js => preview-aVwhiz9X.js} (94%) delete mode 100644 assets/preview-gLmJTRpJ.js rename assets/{radio-box.stories-AnoNeBgY.js => radio-box.stories-ClLmSkEW.js} (84%) rename assets/{radio-input.stories-Bul_kF6b.js => radio-input.stories-D9_eflVt.js} (83%) create mode 100644 assets/react-18-BH3B7EqY.js delete mode 100644 assets/react-18-iKiK41o0.js rename assets/{search-input.stories-DL9AWUxt.js => search-input.stories-CrW1iZWz.js} (89%) rename assets/{section.stories-C41hruNK.js => section.stories-BeowXPCk.js} (98%) rename assets/{sidesheet.stories-ijXCJ28z.js => sidesheet.stories-DC5qghgW.js} (92%) rename assets/{single-combobox.stories-BulbG7cw.js => single-combobox.stories-JqBGE505.js} (90%) rename assets/{table-unvirtualized.stories-DsakIV0H.js => table-unvirtualized.stories-D8gQE_lR.js} (99%) rename assets/{table-virtualized.stories-lnsE1LyG.js => table-virtualized.stories-KaRUCWoS.js} (99%) rename assets/{text-input.stories-C6GSkZTf.js => text-input.stories-BT2GI3td.js} (90%) rename assets/{textarea.stories-930OJDBX.js => textarea.stories-82EphPuj.js} (87%) rename assets/{toast.stories-B8TZoGl5.js => toast.stories-Bzmbls-5.js} (98%) rename assets/{toggle-DnnlDb78.js => toggle-Bp5D17gs.js} (98%) rename assets/{toggle.stories-Cr-rGyBr.js => toggle.stories-DcNmYdAI.js} (94%) rename assets/{tooltip.stories-Ms0hSbqX.js => tooltip.stories-D4pljqyk.js} (83%) rename assets/{top-bar.stories-wMpXUtom.js => top-bar.stories-Dfj0D-rE.js} (94%) rename assets/{use-inert-others-pmawKl3V.js => use-inert-others-CzqV763I.js} (87%) rename assets/{use-tab-direction-Bd6_euF6.js => use-tab-direction-BMI6OSML.js} (96%) rename assets/{usePopper-Awp2qsiQ.js => usePopper-Cu2KpVtb.js} (99%) create mode 100644 sb-manager/globals.js diff --git a/assets/Color-ERTF36HU-B3LPFtYd.js b/assets/Color-ERTF36HU-B3LPFtYd.js new file mode 100644 index 00000000..ffe39703 --- /dev/null +++ b/assets/Color-ERTF36HU-B3LPFtYd.js @@ -0,0 +1 @@ +import{al as Me,am as ie,an as Ce,ao as $,a2 as ue,a0 as $e,H as Oe,ap as Ie,aq as Ne}from"./index-D4CCEPie.js";import{g as fe,R as h,r as m}from"./index-0d5eMwbi.js";import"./iframe-B1Sidt8M.js";import"../sb-preview/runtime.js";import"./jsx-runtime-C798UXYj.js";import"./index-BoyHNU0R.js";import"./index-D-8MO0q_.js";import"./index-CxJhtZoZ.js";import"./index-DrFu-skq.js";var Se={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=Se,he={};for(const e of Object.keys(F))he[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 de=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,c;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 i=(o+a)/2;return a===o?c=0:i<=.5?c=s/(a+o):c=s/(2-a-o),[l,c*100,i*100]};u.rgb.hsv=function(e){let t,n,r,o,a;const s=e[0]/255,l=e[1]/255,c=e[2]/255,i=Math.max(s,l,c),d=i-Math.min(s,l,c),f=function(g){return(i-g)/6/d+1/2};return d===0?(o=0,a=0):(a=d/i,t=f(s),n=f(l),r=f(c),s===i?o=r-n:l===i?o=1/3+t-r:c===i&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[o*360,a*100,i*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 Re(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=he[e];if(t)return t;let n=1/0,r;for(const o of Object.keys(F)){const a=F[o],s=Re(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,c=[0,0,0];for(let i=0;i<3;i++)a=t+1/3*-(i-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,c[i]=s*255;return c};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),c=255*r*(1-n*(1-a));switch(r*=255,o){case 0:return[r,c,s];case 1:return[l,r,s];case 2:return[s,r,c];case 3:return[s,l,r];case 4:return[c,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 c=n+a*(l-n);let i,d,f;switch(s){default:case 6:case 0:i=l,d=c,f=n;break;case 1:i=c,d=l,f=n;break;case 2:i=n,d=l,f=c;break;case 3:i=n,d=c,f=l;break;case 4:i=c,d=n,f=l;break;case 5:i=l,d=n,f=c;break}return[i*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,c=o**3,i=s**3;return a=l>.008856?l:(a-16/116)/7.787,o=c>.008856?c:(o-16/116)/7.787,s=i>.008856?i:(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,c;return s<1?l=a/(1-s):l=0,s<=0?c=0:o===t?c=(n-r)/s%6:o===n?c=2+(r-t)/s:c=4+(t-n)/s,c/=6,c%=1,[c*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 c=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 c=(1-n)*r,[(n*o[0]+c)*255,(n*o[1]+c)*255,(n*o[2]+c)*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 X=de;function je(){const e={},t=Object.keys(X);for(let n=t.length,r=0;r1&&(n=r),e(n))};return"conversion"in e&&(t.conversion=e.conversion),t}function Be(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{N[e]={},Object.defineProperty(N[e],"channels",{value:K[e].channels}),Object.defineProperty(N[e],"labels",{value:K[e].labels});const t=Pe(e);Object.keys(t).forEach(r=>{const o=t[r];N[e][r]=Be(o),N[e][r].raw=qe(o)})});var Xe=N;const _=fe(Xe);var De=Me,We=function(){return De.Date.now()},Ke=We,Ve=/\s/;function Ae(e){for(var t=e.length;t--&&Ve.test(e.charAt(t)););return t}var Ge=Ae,Ue=Ge,Ye=/^\s+/;function Je(e){return e&&e.slice(0,Ue(e)+1).replace(Ye,"")}var Qe=Je,Ze=Qe,te=ie,et=Ce,ne=NaN,tt=/^[-+]0x[0-9a-f]+$/i,nt=/^0b[01]+$/i,rt=/^0o[0-7]+$/i,ot=parseInt;function at(e){if(typeof e=="number")return e;if(et(e))return ne;if(te(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=te(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Ze(e);var n=nt.test(e);return n||rt.test(e)?ot(e.slice(2),n?2:8):tt.test(e)?ne:+e}var st=at,lt=ie,W=Ke,re=st,ct="Expected a function",it=Math.max,ut=Math.min;function ft(e,t,n){var r,o,a,s,l,c,i=0,d=!1,f=!1,g=!0;if(typeof e!="function")throw new TypeError(ct);t=re(t)||0,lt(n)&&(d=!!n.leading,f="maxWait"in n,a=f?it(re(n.maxWait)||0,t):a,g="trailing"in n?!!n.trailing:g);function x(v){var C=r,H=o;return r=o=void 0,i=v,s=e.apply(H,C),s}function j(v){return i=v,l=setTimeout(b,t),d?x(v):s}function M(v){var C=v-c,H=v-i,ee=t-C;return f?ut(ee,a-H):ee}function p(v){var C=v-c,H=v-i;return c===void 0||C>=t||C<0||f&&H>=a}function b(){var v=W();if(p(v))return w(v);l=setTimeout(b,M(v))}function w(v){return l=void 0,g&&r?x(v):(r=o=void 0,s)}function E(){l!==void 0&&clearTimeout(l),i=0,r=c=o=l=void 0}function k(){return l===void 0?s:w(W())}function O(){var v=W(),C=p(v);if(r=arguments,o=this,c=v,C){if(l===void 0)return j(c);if(f)return clearTimeout(l),l=setTimeout(b,t),x(c)}return l===void 0&&(l=setTimeout(b,t)),s}return O.cancel=E,O.flush=k,O}var ht=ft;const dt=fe(ht);function I(){return(I=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}function V(e){var t=m.useRef(e),n=m.useRef(function(r){t.current&&t.current(r)});return t.current=e,n.current}var R=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(oe(o.current,p,l.current)):M(!1)},j=function(){return M(!1)};function M(p){var b=c.current,w=A(o.current),E=p?w.addEventListener:w.removeEventListener;E(b?"touchmove":"mousemove",x),E(b?"touchend":"mouseup",j)}return[function(p){var b=p.nativeEvent,w=o.current;if(w&&(ae(b),!function(k,O){return O&&!z(k)}(b,c.current)&&w)){if(z(b)){c.current=!0;var E=b.changedTouches||[];E.length&&(l.current=E[0].identifier)}w.focus(),a(oe(w,b,l.current)),M(!0)}},function(p){var b=p.which||p.keyCode;b<37||b>40||(p.preventDefault(),s({left:b===39?.05:b===37?-.05:0,top:b===40?.05:b===38?-.05:0}))},M]},[s,a]),d=i[0],f=i[1],g=i[2];return m.useEffect(function(){return g},[g]),h.createElement("div",I({},r,{onTouchStart:d,onMouseDown:d,className:"react-colorful__interactive",ref:o,onKeyDown:f,tabIndex:0,role:"slider"}))}),T=function(e){return e.filter(Boolean).join(" ")},Z=function(e){var t=e.color,n=e.left,r=e.top,o=r===void 0?.5:r,a=T(["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},gt={grad:.9,turn:360,rad:360/(2*Math.PI)},mt=function(e){return be(G(e))},G=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}},bt=function(e,t){return t===void 0&&(t="deg"),Number(e)*(gt[t]||1)},vt=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?pt({h:bt(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}},pt=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}},yt=function(e){return wt(me(e))},ge=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)}},U=function(e){var t=ge(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},B=function(e){var t=ge(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},me=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),c=r*(1-(1-t+a)*n),i=a%6;return{r:y(255*[r,l,s,s,c,r][i]),g:y(255*[c,r,r,l,s,s][i]),b:y(255*[s,s,c,r,r,l][i]),a:y(o,2)}},xt=function(e){var t=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?be({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}},P=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},wt=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,a=o<1?P(y(255*o)):"";return"#"+P(t)+P(n)+P(r)+a},be=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}},ve=h.memo(function(e){var t=e.hue,n=e.onChange,r=T(["react-colorful__hue",e.className]);return h.createElement("div",{className:r},h.createElement(Q,{onMove:function(o){n({h:360*o.left})},onKey:function(o){n({h:R(t+360*o.left,0,360)})},"aria-label":"Hue","aria-valuenow":y(t),"aria-valuemax":"360","aria-valuemin":"0"},h.createElement(Z,{className:"react-colorful__hue-pointer",left:t/360,color:U({h:t,s:100,v:100,a:1})})))}),pe=h.memo(function(e){var t=e.hsva,n=e.onChange,r={backgroundColor:U({h:t.h,s:100,v:100,a:1})};return h.createElement("div",{className:"react-colorful__saturation",style:r},h.createElement(Q,{onMove:function(o){n({s:100*o.left,v:100-100*o.top})},onKey:function(o){n({s:R(t.s+100*o.left,0,100),v:R(t.v-100*o.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+y(t.s)+"%, Brightness "+y(t.v)+"%"},h.createElement(Z,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:U(t)})))}),ye=function(e,t){if(e===t)return!0;for(var n in e)if(e[n]!==t[n])return!1;return!0},xe=function(e,t){return e.replace(/\s/g,"")===t.replace(/\s/g,"")},kt=function(e,t){return e.toLowerCase()===t.toLowerCase()||ye(G(e),G(t))};function we(e,t,n){var r=V(n),o=m.useState(function(){return e.toHsva(t)}),a=o[0],s=o[1],l=m.useRef({color:t,hsva:a});m.useEffect(function(){if(!e.equal(t,l.current.color)){var i=e.toHsva(t);l.current={hsva:i,color:t},s(i)}},[t,e]),m.useEffect(function(){var i;ye(a,l.current.hsva)||e.equal(i=e.fromHsva(a),l.current.color)||(l.current={hsva:a,color:i},r(i))},[a,e,r]);var c=m.useCallback(function(i){s(function(d){return Object.assign({},d,i)})},[]);return[a,c]}var _t=typeof window<"u"?m.useLayoutEffect:m.useEffect,Et=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},se=new Map,ke=function(e){_t(function(){var t=e.current?e.current.ownerDocument:document;if(t!==void 0&&!se.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}`,se.set(t,n);var r=Et();r&&n.setAttribute("nonce",r),t.head.appendChild(n)}},[])},Mt=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,s=J(e,["className","colorModel","color","onChange"]),l=m.useRef(null);ke(l);var c=we(n,o,a),i=c[0],d=c[1],f=T(["react-colorful",t]);return h.createElement("div",I({},s,{ref:l,className:f}),h.createElement(pe,{hsva:i,onChange:d}),h.createElement(ve,{hue:i.h,onChange:d,className:"react-colorful__last-control"}))},Ct={defaultColor:"000",toHsva:mt,fromHsva:function(e){return yt({h:e.h,s:e.s,v:e.v,a:1})},equal:kt},$t=function(e){return h.createElement(Mt,I({},e,{colorModel:Ct}))},Ot=function(e){var t=e.className,n=e.hsva,r=e.onChange,o={backgroundImage:"linear-gradient(90deg, "+B(Object.assign({},n,{a:0}))+", "+B(Object.assign({},n,{a:1}))+")"},a=T(["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(Q,{onMove:function(l){r({a:l.left})},onKey:function(l){r({a:R(n.a+l.left)})},"aria-label":"Alpha","aria-valuetext":s+"%","aria-valuenow":s,"aria-valuemin":"0","aria-valuemax":"100"},h.createElement(Z,{className:"react-colorful__alpha-pointer",left:n.a,color:B(n)})))},_e=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,s=J(e,["className","colorModel","color","onChange"]),l=m.useRef(null);ke(l);var c=we(n,o,a),i=c[0],d=c[1],f=T(["react-colorful",t]);return h.createElement("div",I({},s,{ref:l,className:f}),h.createElement(pe,{hsva:i,onChange:d}),h.createElement(ve,{hue:i.h,onChange:d}),h.createElement(Ot,{hsva:i,onChange:d,className:"react-colorful__last-control"}))},It={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:vt,fromHsva:B,equal:xe},Nt=function(e){return h.createElement(_e,I({},e,{colorModel:It}))},St={defaultColor:"rgba(0, 0, 0, 1)",toHsva:xt,fromHsva:function(e){var t=me(e);return"rgba("+t.r+", "+t.g+", "+t.b+", "+t.a+")"},equal:xe},Rt=function(e){return h.createElement(_e,I({},e,{colorModel:St}))},jt=$.div({position:"relative",maxWidth:250,'&[aria-readonly="true"]':{opacity:.5}}),Ht=$(ue)({position:"absolute",zIndex:1,top:4,left:4,"[aria-readonly=true] &":{cursor:"not-allowed"}}),zt=$.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"}}),Ft=$($e)(({theme:e})=>({fontFamily:e.typography.fonts.base})),Tt=$.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),Pt=$.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})),Lt=`url('data:image/svg+xml;charset=utf-8,')`,le=({value:e,style:t,...n})=>{let r=`linear-gradient(${e}, ${e}), ${Lt}, linear-gradient(#fff, #fff)`;return h.createElement(Pt,{...n,style:{...t,backgroundImage:r}})},qt=$(Oe.Input)(({theme:e,readOnly:t})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:e.typography.fonts.base})),Bt=$(Ie)(({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||{}),L=Object.values(Ee),Xt=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,Dt=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,Wt=/^\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,Kt=/^\s*#?([0-9a-f]{3})\s*$/i,Vt={hex:$t,rgb:Rt,hsl:Nt},q={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},ce=e=>{let t=e==null?void 0:e.match(Xt);if(!t)return[0,0,0,1];let[,n,r,o,a=1]=t;return[n,r,o,a].map(Number)},S=e=>{if(!e)return;let t=!0;if(Dt.test(e)){let[s,l,c,i]=ce(e),[d,f,g]=_.rgb.hsl([s,l,c])||[0,0,0];return{valid:t,value:e,keyword:_.rgb.keyword([s,l,c]),colorSpace:"rgb",rgb:e,hsl:`hsla(${d}, ${f}%, ${g}%, ${i})`,hex:`#${_.rgb.hex([s,l,c]).toLowerCase()}`}}if(Wt.test(e)){let[s,l,c,i]=ce(e),[d,f,g]=_.hsl.rgb([s,l,c])||[0,0,0];return{valid:t,value:e,keyword:_.hsl.keyword([s,l,c]),colorSpace:"hsl",rgb:`rgba(${d}, ${f}, ${g}, ${i})`,hsl:e,hex:`#${_.hsl.hex([s,l,c]).toLowerCase()}`}}let n=e.replace("#",""),r=_.keyword.rgb(n)||_.hex.rgb(n),o=_.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{_.keyword.hex(a)}catch{t=!1}return{valid:t,value:a,keyword:_.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}},At=(e,t,n)=>{if(!e||!(t!=null&&t.valid))return q[n];if(n!=="hex")return(t==null?void 0:t[n])||q[n];if(!t.hex.startsWith("#"))try{return`#${_.keyword.hex(t.hex)}`}catch{return q.hex}let r=t.hex.match(Kt);if(!r)return Y.test(t.hex)?t.hex:q.hex;let[o,a,s]=r[1].split("");return`#${o}${o}${a}${a}${s}${s}`},Gt=(e,t)=>{let[n,r]=m.useState(e||""),[o,a]=m.useState(()=>S(n)),[s,l]=m.useState((o==null?void 0:o.colorSpace)||"hex");m.useEffect(()=>{let f=e||"",g=S(f);r(f),a(g),l((g==null?void 0:g.colorSpace)||"hex")},[e]);let c=m.useMemo(()=>At(n,o,s).toLowerCase(),[n,o,s]),i=m.useCallback(f=>{let g=S(f),x=(g==null?void 0:g.value)||f||"";r(x),x===""&&(a(void 0),t(void 0)),g&&(a(g),l(g.colorSpace),t(g.value))},[t]),d=m.useCallback(()=>{let f=L.indexOf(s)+1;f>=L.length&&(f=0),l(L[f]);let g=(o==null?void 0:o[L[f]])||"";r(g),t(g)},[o,s,t]);return{value:n,realValue:c,updateValue:i,color:o,colorSpace:s,cycleColorSpace:d}},D=e=>e.replace(/\s*/,"").toLowerCase(),Ut=(e,t,n)=>{let[r,o]=m.useState(t!=null&&t.valid?[t]:[]);m.useEffect(()=>{t===void 0&&o([])},[t]);let a=m.useMemo(()=>(e||[]).map(l=>typeof l=="string"?S(l):l.title?{...S(l.color),keyword:l.title}:S(l.color)).concat(r).filter(Boolean).slice(-27),[e,r]),s=m.useCallback(l=>{l!=null&&l.valid&&(a.some(c=>D(c[n])===D(l[n]))||o(c=>c.concat(l)))},[n,a]);return{presets:a,addPreset:s}},Yt=({name:e,value:t,onChange:n,onFocus:r,onBlur:o,presetColors:a,startOpen:s=!1,argType:l})=>{var E;let c=m.useCallback(dt(n,200),[n]),{value:i,realValue:d,updateValue:f,color:g,colorSpace:x,cycleColorSpace:j}=Gt(t,c),{presets:M,addPreset:p}=Ut(a,g,x),b=Vt[x],w=!!((E=l==null?void 0:l.table)!=null&&E.readonly);return h.createElement(jt,{"aria-readonly":w},h.createElement(Ht,{startOpen:s,trigger:w?[null]:void 0,closeOnOutsideClick:!0,onVisibleChange:()=>p(g),tooltip:h.createElement(zt,null,h.createElement(b,{color:d==="transparent"?"#000000":d,onChange:f,onFocus:r,onBlur:o}),M.length>0&&h.createElement(Tt,null,M.map((k,O)=>h.createElement(ue,{key:`${k.value}-${O}`,hasChrome:!1,tooltip:h.createElement(Ft,{note:k.keyword||k.value})},h.createElement(le,{value:k[x],active:g&&D(k[x])===D(g[x]),onClick:()=>f(k.value)})))))},h.createElement(le,{value:d,style:{margin:4}})),h.createElement(qt,{id:Ne(e),value:i,onChange:k=>f(k.target.value),onFocus:k=>k.target.select(),readOnly:w,placeholder:"Choose color..."}),i?h.createElement(Bt,{onClick:j}):null)},sn=Yt;export{Yt as ColorControl,sn as default}; diff --git a/assets/Color-KGDBMAHA-BepPQj2K.js b/assets/Color-KGDBMAHA-BepPQj2K.js deleted file mode 100644 index cd7800e4..00000000 --- a/assets/Color-KGDBMAHA-BepPQj2K.js +++ /dev/null @@ -1 +0,0 @@ -import{al as Me,am as $,a2 as ie,a0 as Ce,c as $e,an as Oe,ao as Ie}from"./index-Doj-RJny.js";import{R as h,r as m,g as ue}from"./index-0d5eMwbi.js";import{_ as Ne,i as fe}from"./index-D97zpEXb.js";import"./iframe-B2fFkFgE.js";import"../sb-preview/runtime.js";import"./index-p-ac5bmP.js";import"./index-D-8MO0q_.js";import"./index-DrFu-skq.js";function I(){return(I=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}function K(e){var t=m.useRef(e),n=m.useRef(function(r){t.current&&t.current(r)});return t.current=e,n.current}var R=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(te(o.current,p,l.current)):M(!1)},j=function(){return M(!1)};function M(p){var b=c.current,w=V(o.current),E=p?w.addEventListener:w.removeEventListener;E(b?"touchmove":"mousemove",x),E(b?"touchend":"mouseup",j)}return[function(p){var b=p.nativeEvent,w=o.current;if(w&&(ne(b),!function(k,O){return O&&!H(k)}(b,c.current)&&w)){if(H(b)){c.current=!0;var E=b.changedTouches||[];E.length&&(l.current=E[0].identifier)}w.focus(),a(te(w,b,l.current)),M(!0)}},function(p){var b=p.which||p.keyCode;b<37||b>40||(p.preventDefault(),s({left:b===39?.05:b===37?-.05:0,top:b===40?.05:b===38?-.05:0}))},M]},[s,a]),d=i[0],f=i[1],g=i[2];return m.useEffect(function(){return g},[g]),h.createElement("div",I({},r,{onTouchStart:d,onMouseDown:d,className:"react-colorful__interactive",ref:o,onKeyDown:f,tabIndex:0,role:"slider"}))}),T=function(e){return e.filter(Boolean).join(" ")},Z=function(e){var t=e.color,n=e.left,r=e.top,o=r===void 0?.5:r,a=T(["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}},je=function(e,t){return t===void 0&&(t="deg"),Number(e)*(Se[t]||1)},ze=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?He({h:je(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}},He=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}},Fe=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+"%)"},B=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),c=r*(1-(1-t+a)*n),i=a%6;return{r:y(255*[r,l,s,s,c,r][i]),g:y(255*[c,r,r,l,s,s][i]),b:y(255*[s,s,c,r,r,l][i]),a:y(o,2)}},Te=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}},P=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?P(y(255*o)):"";return"#"+P(t)+P(n)+P(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=T(["react-colorful__hue",e.className]);return h.createElement("div",{className:r},h.createElement(Q,{onMove:function(o){n({h:360*o.left})},onKey:function(o){n({h:R(t+360*o.left,0,360)})},"aria-label":"Hue","aria-valuenow":y(t),"aria-valuemax":"360","aria-valuemin":"0"},h.createElement(Z,{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(Q,{onMove:function(o){n({s:100*o.left,v:100-100*o.top})},onKey:function(o){n({s:R(t.s+100*o.left,0,100),v:R(t.v-100*o.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+y(t.s)+"%, Brightness "+y(t.v)+"%"},h.createElement(Z,{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=m.useState(function(){return e.toHsva(t)}),a=o[0],s=o[1],l=m.useRef({color:t,hsva:a});m.useEffect(function(){if(!e.equal(t,l.current.color)){var i=e.toHsva(t);l.current={hsva:i,color:t},s(i)}},[t,e]),m.useEffect(function(){var i;ve(a,l.current.hsva)||e.equal(i=e.fromHsva(a),l.current.color)||(l.current={hsva:a,color:i},r(i))},[a,e,r]);var c=m.useCallback(function(i){s(function(d){return Object.assign({},d,i)})},[]);return[a,c]}var qe=typeof window<"u"?m.useLayoutEffect:m.useEffect,Be=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},re=new Map,xe=function(e){qe(function(){var t=e.current?e.current.ownerDocument:document;if(t!==void 0&&!re.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}`,re.set(t,n);var r=Be();r&&n.setAttribute("nonce",r),t.head.appendChild(n)}},[])},Xe=function(e){var t=e.className,n=e.colorModel,r=e.color,o=r===void 0?n.defaultColor:r,a=e.onChange,s=J(e,["className","colorModel","color","onChange"]),l=m.useRef(null);xe(l);var c=ye(n,o,a),i=c[0],d=c[1],f=T(["react-colorful",t]);return h.createElement("div",I({},s,{ref:l,className:f}),h.createElement(be,{hsva:i,onChange:d}),h.createElement(me,{hue:i.h,onChange:d,className:"react-colorful__last-control"}))},De={defaultColor:"000",toHsva:Re,fromHsva:function(e){return Fe({h:e.h,s:e.s,v:e.v,a:1})},equal:Le},We=function(e){return h.createElement(Xe,I({},e,{colorModel:De}))},Ke=function(e){var t=e.className,n=e.hsva,r=e.onChange,o={backgroundImage:"linear-gradient(90deg, "+B(Object.assign({},n,{a:0}))+", "+B(Object.assign({},n,{a:1}))+")"},a=T(["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(Q,{onMove:function(l){r({a:l.left})},onKey:function(l){r({a:R(n.a+l.left)})},"aria-label":"Alpha","aria-valuetext":s+"%","aria-valuenow":s,"aria-valuemin":"0","aria-valuemax":"100"},h.createElement(Z,{className:"react-colorful__alpha-pointer",left:n.a,color:B(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=J(e,["className","colorModel","color","onChange"]),l=m.useRef(null);xe(l);var c=ye(n,o,a),i=c[0],d=c[1],f=T(["react-colorful",t]);return h.createElement("div",I({},s,{ref:l,className:f}),h.createElement(be,{hsva:i,onChange:d}),h.createElement(me,{hue:i.h,onChange:d}),h.createElement(Ke,{hsva:i,onChange:d,className:"react-colorful__last-control"}))},Ve={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:ze,fromHsva:B,equal:pe},Ae=function(e){return h.createElement(we,I({},e,{colorModel:Ve}))},Ge={defaultColor:"rgba(0, 0, 0, 1)",toHsva:Te,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,I({},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,c;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 i=(o+a)/2;return a===o?c=0:i<=.5?c=s/(a+o):c=s/(2-a-o),[l,c*100,i*100]};u.rgb.hsv=function(e){let t,n,r,o,a;const s=e[0]/255,l=e[1]/255,c=e[2]/255,i=Math.max(s,l,c),d=i-Math.min(s,l,c),f=function(g){return(i-g)/6/d+1/2};return d===0?(o=0,a=0):(a=d/i,t=f(s),n=f(l),r=f(c),s===i?o=r-n:l===i?o=1/3+t-r:c===i&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[o*360,a*100,i*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,c=[0,0,0];for(let i=0;i<3;i++)a=t+1/3*-(i-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,c[i]=s*255;return c};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),c=255*r*(1-n*(1-a));switch(r*=255,o){case 0:return[r,c,s];case 1:return[l,r,s];case 2:return[s,r,c];case 3:return[s,l,r];case 4:return[c,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 c=n+a*(l-n);let i,d,f;switch(s){default:case 6:case 0:i=l,d=c,f=n;break;case 1:i=c,d=l,f=n;break;case 2:i=n,d=l,f=c;break;case 3:i=n,d=c,f=l;break;case 4:i=c,d=n,f=l;break;case 5:i=l,d=n,f=c;break}return[i*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,c=o**3,i=s**3;return a=l>.008856?l:(a-16/116)/7.787,o=c>.008856?c:(o-16/116)/7.787,s=i>.008856?i:(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,c;return s<1?l=a/(1-s):l=0,s<=0?c=0:o===t?c=(n-r)/s%6:o===n?c=2+(r-t)/s:c=4+(t-n)/s,c/=6,c%=1,[c*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 c=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 c=(1-n)*r,[(n*o[0]+c)*255,(n*o[1]+c)*255,(n*o[2]+c)*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 X=_e;function Qe(){const e={},t=Object.keys(X);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{N[e]={},Object.defineProperty(N[e],"channels",{value:U[e].channels}),Object.defineProperty(N[e],"labels",{value:U[e].labels});const t=rt(e);Object.keys(t).forEach(r=>{const o=t[r];N[e][r]=st(o),N[e][r].raw=at(o)})});var lt=N;const _=ue(lt);var ct=Ne,it=function(){return ct.Date.now()},ut=it,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,oe=fe,yt=Me,ae=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 ae;if(oe(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=oe(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)?ae:+e}var Mt=Et,Ct=fe,W=ut,se=Mt,$t="Expected a function",Ot=Math.max,It=Math.min;function Nt(e,t,n){var r,o,a,s,l,c,i=0,d=!1,f=!1,g=!0;if(typeof e!="function")throw new TypeError($t);t=se(t)||0,Ct(n)&&(d=!!n.leading,f="maxWait"in n,a=f?Ot(se(n.maxWait)||0,t):a,g="trailing"in n?!!n.trailing:g);function x(v){var C=r,z=o;return r=o=void 0,i=v,s=e.apply(z,C),s}function j(v){return i=v,l=setTimeout(b,t),d?x(v):s}function M(v){var C=v-c,z=v-i,ee=t-C;return f?It(ee,a-z):ee}function p(v){var C=v-c,z=v-i;return c===void 0||C>=t||C<0||f&&z>=a}function b(){var v=W();if(p(v))return w(v);l=setTimeout(b,M(v))}function w(v){return l=void 0,g&&r?x(v):(r=o=void 0,s)}function E(){l!==void 0&&clearTimeout(l),i=0,r=c=o=l=void 0}function k(){return l===void 0?s:w(W())}function O(){var v=W(),C=p(v);if(r=arguments,o=this,c=v,C){if(l===void 0)return j(c);if(f)return clearTimeout(l),l=setTimeout(b,t),x(c)}return l===void 0&&(l=setTimeout(b,t)),s}return O.cancel=E,O.flush=k,O}var St=Nt;const Rt=ue(St);var jt=$.div({position:"relative",maxWidth:250,'&[aria-readonly="true"]':{opacity:.5}}),zt=$(ie)({position:"absolute",zIndex:1,top:4,left:4,"[aria-readonly=true] &":{cursor:"not-allowed"}}),Ht=$.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"}}),Ft=$(Ce)(({theme:e})=>({fontFamily:e.typography.fonts.base})),Tt=$.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),Pt=$.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})),Lt=`url('data:image/svg+xml;charset=utf-8,')`,le=({value:e,style:t,...n})=>{let r=`linear-gradient(${e}, ${e}), ${Lt}, linear-gradient(#fff, #fff)`;return h.createElement(Pt,{...n,style:{...t,backgroundImage:r}})},qt=$($e.Input)(({theme:e,readOnly:t})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:e.typography.fonts.base})),Bt=$(Oe)(({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||{}),L=Object.values(Ee),Xt=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,Dt=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,Wt=/^\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,Kt=/^\s*#?([0-9a-f]{3})\s*$/i,Vt={hex:We,rgb:Ue,hsl:Ae},q={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},ce=e=>{let t=e==null?void 0:e.match(Xt);if(!t)return[0,0,0,1];let[,n,r,o,a=1]=t;return[n,r,o,a].map(Number)},S=e=>{if(!e)return;let t=!0;if(Dt.test(e)){let[s,l,c,i]=ce(e),[d,f,g]=_.rgb.hsl([s,l,c])||[0,0,0];return{valid:t,value:e,keyword:_.rgb.keyword([s,l,c]),colorSpace:"rgb",rgb:e,hsl:`hsla(${d}, ${f}%, ${g}%, ${i})`,hex:`#${_.rgb.hex([s,l,c]).toLowerCase()}`}}if(Wt.test(e)){let[s,l,c,i]=ce(e),[d,f,g]=_.hsl.rgb([s,l,c])||[0,0,0];return{valid:t,value:e,keyword:_.hsl.keyword([s,l,c]),colorSpace:"hsl",rgb:`rgba(${d}, ${f}, ${g}, ${i})`,hsl:e,hex:`#${_.hsl.hex([s,l,c]).toLowerCase()}`}}let n=e.replace("#",""),r=_.keyword.rgb(n)||_.hex.rgb(n),o=_.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{_.keyword.hex(a)}catch{t=!1}return{valid:t,value:a,keyword:_.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}},At=(e,t,n)=>{if(!e||!(t!=null&&t.valid))return q[n];if(n!=="hex")return(t==null?void 0:t[n])||q[n];if(!t.hex.startsWith("#"))try{return`#${_.keyword.hex(t.hex)}`}catch{return q.hex}let r=t.hex.match(Kt);if(!r)return Y.test(t.hex)?t.hex:q.hex;let[o,a,s]=r[1].split("");return`#${o}${o}${a}${a}${s}${s}`},Gt=(e,t)=>{let[n,r]=m.useState(e||""),[o,a]=m.useState(()=>S(n)),[s,l]=m.useState((o==null?void 0:o.colorSpace)||"hex");m.useEffect(()=>{let f=e||"",g=S(f);r(f),a(g),l((g==null?void 0:g.colorSpace)||"hex")},[e]);let c=m.useMemo(()=>At(n,o,s).toLowerCase(),[n,o,s]),i=m.useCallback(f=>{let g=S(f),x=(g==null?void 0:g.value)||f||"";r(x),x===""&&(a(void 0),t(void 0)),g&&(a(g),l(g.colorSpace),t(g.value))},[t]),d=m.useCallback(()=>{let f=L.indexOf(s)+1;f>=L.length&&(f=0),l(L[f]);let g=(o==null?void 0:o[L[f]])||"";r(g),t(g)},[o,s,t]);return{value:n,realValue:c,updateValue:i,color:o,colorSpace:s,cycleColorSpace:d}},D=e=>e.replace(/\s*/,"").toLowerCase(),Ut=(e,t,n)=>{let[r,o]=m.useState(t!=null&&t.valid?[t]:[]);m.useEffect(()=>{t===void 0&&o([])},[t]);let a=m.useMemo(()=>(e||[]).map(l=>typeof l=="string"?S(l):l.title?{...S(l.color),keyword:l.title}:S(l.color)).concat(r).filter(Boolean).slice(-27),[e,r]),s=m.useCallback(l=>{l!=null&&l.valid&&(a.some(c=>D(c[n])===D(l[n]))||o(c=>c.concat(l)))},[n,a]);return{presets:a,addPreset:s}},Yt=({name:e,value:t,onChange:n,onFocus:r,onBlur:o,presetColors:a,startOpen:s=!1,argType:l})=>{var E;let c=m.useCallback(Rt(n,200),[n]),{value:i,realValue:d,updateValue:f,color:g,colorSpace:x,cycleColorSpace:j}=Gt(t,c),{presets:M,addPreset:p}=Ut(a,g,x),b=Vt[x],w=!!((E=l==null?void 0:l.table)!=null&&E.readonly);return h.createElement(jt,{"aria-readonly":w},h.createElement(zt,{startOpen:s,trigger:w?[null]:void 0,closeOnOutsideClick:!0,onVisibleChange:()=>p(g),tooltip:h.createElement(Ht,null,h.createElement(b,{color:d==="transparent"?"#000000":d,onChange:f,onFocus:r,onBlur:o}),M.length>0&&h.createElement(Tt,null,M.map((k,O)=>h.createElement(ie,{key:`${k.value}-${O}`,hasChrome:!1,tooltip:h.createElement(Ft,{note:k.keyword||k.value})},h.createElement(le,{value:k[x],active:g&&D(k[x])===D(g[x]),onClick:()=>f(k.value)})))))},h.createElement(le,{value:d,style:{margin:4}})),h.createElement(qt,{id:Ie(e),value:i,onChange:k=>f(k.target.value),onFocus:k=>k.target.select(),readOnly:w,placeholder:"Choose color..."}),i?h.createElement(Bt,{onClick:j}):null)},an=Yt;export{Yt as ColorControl,an as default}; diff --git a/assets/DocsRenderer-CFRXHY34-D9viofLQ.js b/assets/DocsRenderer-CFRXHY34-D9viofLQ.js new file mode 100644 index 00000000..5d29a5ef --- /dev/null +++ b/assets/DocsRenderer-CFRXHY34-D9viofLQ.js @@ -0,0 +1,2 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-CFK-oMtb.js","./index-0d5eMwbi.js"])))=>i.map(i=>d[i]); +import{_ as p}from"./iframe-B1Sidt8M.js";import{R as e,r as c}from"./index-0d5eMwbi.js";import{af as l,ag as u,ah as h,ai as E}from"./index-D4CCEPie.js";import{renderElement as d,unmountElement as x}from"./react-18-BH3B7EqY.js";import"../sb-preview/runtime.js";import"./jsx-runtime-C798UXYj.js";import"./index-BoyHNU0R.js";import"./index-D-8MO0q_.js";import"./index-CxJhtZoZ.js";import"./index-DrFu-skq.js";var _={code:l,a:u,...h},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)}},O=class{constructor(){this.render=async(t,r,n)=>{let s={..._,...r==null?void 0:r.components},a=E;return new Promise((i,m)=>{p(async()=>{const{MDXProvider:o}=await import("./index-CFK-oMtb.js");return{MDXProvider:o}},__vite__mapDeps([0,1]),import.meta.url).then(({MDXProvider:o})=>d(e.createElement(D,{showException:m,key:Math.random()},e.createElement(o,{components:s},e.createElement(a,{context:t,docsParameter:r}))),n)).then(()=>i())})},this.unmount=t=>{x(t)}}};export{O as DocsRenderer,_ as defaultComponents}; diff --git a/assets/DocsRenderer-PKQXORMH-BcQDXl8v.js b/assets/DocsRenderer-PKQXORMH-BcQDXl8v.js deleted file mode 100644 index 2299c90f..00000000 --- a/assets/DocsRenderer-PKQXORMH-BcQDXl8v.js +++ /dev/null @@ -1,2 +0,0 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-CFK-oMtb.js","./index-0d5eMwbi.js"])))=>i.map(i=>d[i]); -import{_ as p}from"./iframe-B2fFkFgE.js";import{R as e,r as c}from"./index-0d5eMwbi.js";import{r as u,u as l}from"./react-18-iKiK41o0.js";import{af as h,ag as E,ah as d,ai as x}from"./index-Doj-RJny.js";import"../sb-preview/runtime.js";import"./index-p-ac5bmP.js";import"./index-D-8MO0q_.js";import"./index-D97zpEXb.js";import"./index-DrFu-skq.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,n)=>{let s={..._,...r==null?void 0:r.components},a=x;return new Promise((i,m)=>{p(async()=>{const{MDXProvider:o}=await import("./index-CFK-oMtb.js");return{MDXProvider:o}},__vite__mapDeps([0,1]),import.meta.url).then(({MDXProvider:o})=>u(e.createElement(D,{showException:m,key:Math.random()},e.createElement(o,{components:s},e.createElement(a,{context:t,docsParameter:r}))),n)).then(()=>i())})},this.unmount=t=>{l(t)}}};export{F as DocsRenderer,_ as defaultComponents}; diff --git a/assets/alert-sTfywL0-.js b/assets/alert-WFlrTABt.js similarity index 90% rename from assets/alert-sTfywL0-.js rename to assets/alert-WFlrTABt.js index 3b97567a..b7dfabe9 100644 --- a/assets/alert-sTfywL0-.js +++ b/assets/alert-WFlrTABt.js @@ -1 +1 @@ -import{j as e}from"./jsx-runtime-C798UXYj.js";import{c as n}from"./class-names-DnY5YZNL.js";import{c as o,d,e as g,f as u}from"./zoom-to-fit-icon-DdsCB6de.js";const m={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"},p={info:"fill-primary-500",danger:"fill-danger-400",success:"fill-success-400",warning:"fill-warning-500"},f={info:o,success:d,warning:g,danger:u},t=({title:s,children:a,intent:r,className:i,...c})=>{const l=f[r];return e.jsxs("div",{role:"alert",className:n("flex flex-row gap-4 rounded-lg border px-4 py-3 text-neutral-800",m[r],i),...c,children:[e.jsx(l,{className:n("h-4 w-4 flex-shrink-0",p[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:'"warning"'},{value:'"danger"'},{value:'"info"'}]}}}}}catch{}export{t as A}; +import{j as e}from"./jsx-runtime-C798UXYj.js";import{c as n}from"./class-names-DnY5YZNL.js";import{c as o,d,e as g,f as u}from"./zoom-to-fit-icon-DdsCB6de.js";const m={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"},p={info:"fill-primary-500",danger:"fill-danger-400",success:"fill-success-400",warning:"fill-warning-500"},f={info:o,success:d,warning:g,danger:u},t=({title:s,children:a,intent:r,className:i,...c})=>{const l=f[r];return e.jsxs("div",{role:"alert",className:n("flex flex-row gap-4 rounded-lg border px-4 py-3 text-neutral-800",m[r],i),...c,children:[e.jsx(l,{className:n("h-4 w-4 flex-shrink-0",p[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.stories-4-JUwPHE.js b/assets/alert.stories-DBAGVE4m.js similarity index 96% rename from assets/alert.stories-4-JUwPHE.js rename to assets/alert.stories-DBAGVE4m.js index 8a6171ad..3eb8e403 100644 --- a/assets/alert.stories-4-JUwPHE.js +++ b/assets/alert.stories-DBAGVE4m.js @@ -1,4 +1,4 @@ -import{j as s}from"./jsx-runtime-C798UXYj.js";import{A as u}from"./alert-sTfywL0-.js";import{g as x,h as f}from"./storybook-utils-C5xEhci0.js";import"./index-0d5eMwbi.js";import"./class-names-DnY5YZNL.js";import"./zoom-to-fit-icon-DdsCB6de.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:`{ +import{j as s}from"./jsx-runtime-C798UXYj.js";import{A as u}from"./alert-WFlrTABt.js";import{g as x,h as f}from"./storybook-utils-C5xEhci0.js";import"./index-0d5eMwbi.js";import"./class-names-DnY5YZNL.js";import"./zoom-to-fit-icon-DdsCB6de.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 }, diff --git a/assets/avatar-D9Pz4PuL.js b/assets/avatar-Cxzsye4J.js similarity index 87% rename from assets/avatar-D9Pz4PuL.js rename to assets/avatar-Cxzsye4J.js index 63705ed7..f397282e 100644 --- a/assets/avatar-D9Pz4PuL.js +++ b/assets/avatar-Cxzsye4J.js @@ -1 +1 @@ -import{j as r}from"./jsx-runtime-C798UXYj.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:'"primary"'},{value:'"success"'},{value:'"neutral"'},{value:'"warning"'},{value:'"danger"'}]}}}}}catch{}export{n as A}; +import{j as r}from"./jsx-runtime-C798UXYj.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.stories-fIH0Z5HF.js b/assets/avatar.stories-HUeKQiUe.js similarity index 95% rename from assets/avatar.stories-fIH0Z5HF.js rename to assets/avatar.stories-HUeKQiUe.js index 18d3cfa8..0fbc6844 100644 --- a/assets/avatar.stories-fIH0Z5HF.js +++ b/assets/avatar.stories-HUeKQiUe.js @@ -1,4 +1,4 @@ -import{j as s}from"./jsx-runtime-C798UXYj.js";import{A as m}from"./avatar-D9Pz4PuL.js";import{g as f,h as d}from"./storybook-utils-C5xEhci0.js";import"./index-0d5eMwbi.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:`{ +import{j as s}from"./jsx-runtime-C798UXYj.js";import{A as m}from"./avatar-Cxzsye4J.js";import{g as f,h as d}from"./storybook-utils-C5xEhci0.js";import"./index-0d5eMwbi.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 }, diff --git a/assets/button-DDiEAzmq.js b/assets/button-Cwplw9FX.js similarity index 95% rename from assets/button-DDiEAzmq.js rename to assets/button-Cwplw9FX.js index c5f8b69a..fe00d244 100644 --- a/assets/button-DDiEAzmq.js +++ b/assets/button-Cwplw9FX.js @@ -1 +1 @@ -import{j as r}from"./jsx-runtime-C798UXYj.js";import{c as g}from"./class-names-DnY5YZNL.js";import{S as c}from"./spinner-CrXB3JgE.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 underline",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:'"primary"'},{value:'"danger"'},{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 r}from"./jsx-runtime-C798UXYj.js";import{c as g}from"./class-names-DnY5YZNL.js";import{S as c}from"./spinner-CrXB3JgE.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 underline",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}; diff --git a/assets/button.stories-DvBZ8vPQ.js b/assets/button.stories-B_08GyF3.js similarity index 97% rename from assets/button.stories-DvBZ8vPQ.js rename to assets/button.stories-B_08GyF3.js index 5d3dfbd6..206edbcd 100644 --- a/assets/button.stories-DvBZ8vPQ.js +++ b/assets/button.stories-B_08GyF3.js @@ -1,4 +1,4 @@ -import{j as c}from"./jsx-runtime-C798UXYj.js";import{B}from"./button-DDiEAzmq.js";import{S as j,a as R,b as D}from"./zoom-to-fit-icon-DdsCB6de.js";import{h as k}from"./storybook-utils-C5xEhci0.js";import"./index-0d5eMwbi.js";import"./class-names-DnY5YZNL.js";import"./spinner-CrXB3JgE.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:`{ +import{j as c}from"./jsx-runtime-C798UXYj.js";import{B}from"./button-Cwplw9FX.js";import{S as j,a as R,b as D}from"./zoom-to-fit-icon-DdsCB6de.js";import{h as k}from"./storybook-utils-C5xEhci0.js";import"./index-0d5eMwbi.js";import"./class-names-DnY5YZNL.js";import"./spinner-CrXB3JgE.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 diff --git a/assets/chunk-H6MOWX77-DTQOW814.js b/assets/chunk-H6MOWX77-DTQOW814.js new file mode 100644 index 00000000..00fe7443 --- /dev/null +++ b/assets/chunk-H6MOWX77-DTQOW814.js @@ -0,0 +1 @@ +var n=Object.create,a=Object.defineProperty,c=Object.getOwnPropertyDescriptor,p=Object.getOwnPropertyNames,s=Object.getPrototypeOf,O=Object.prototype.hasOwnProperty,b=(e,r)=>function(){return r||(0,e[p(e)[0]])((r={exports:{}}).exports,r),r.exports},P=(e,r)=>{for(var t in r)a(e,t,{get:r[t],enumerable:!0})},u=(e,r,t,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let _ of p(r))!O.call(e,_)&&_!==t&&a(e,_,{get:()=>r[_],enumerable:!(o=c(r,_))||o.enumerable});return e},l=(e,r,t)=>(t=e!=null?n(s(e)):{},u(!e||!e.__esModule?a(t,"default",{value:e,enumerable:!0}):t,e));export{P as _,l as a,b}; diff --git a/assets/dialog-D4_ekaxy.js b/assets/dialog-CQKMlc6b.js similarity index 98% rename from assets/dialog-D4_ekaxy.js rename to assets/dialog-CQKMlc6b.js index 60b5ced4..408c9cef 100644 --- a/assets/dialog-D4_ekaxy.js +++ b/assets/dialog-CQKMlc6b.js @@ -1 +1 @@ -import{r as u,R as c}from"./index-0d5eMwbi.js";import{o as Fe}from"./keyboard-C2Ifhsxt.js";import{E as te}from"./use-event-listener-CochUv0b.js";import{x as j,n as ne,c as he,t as $e,R as be,f as Te,m as ye,l as Z,r as De,X as ke}from"./portal-wGpXArpj.js";import{n as Re,L as I,y as x,o as k,u as Y,p as Pe,D as M,c as re,M as _}from"./use-sync-refs-DqQDZvJ6.js";import{y as Ie}from"./use-inert-others-pmawKl3V.js";import{u as Ce,a as L,b as Se,R as Me,O as K}from"./use-tab-direction-Bd6_euF6.js";import{l as oe}from"./use-server-handoff-complete-JgOu4JLg.js";import{C as Le}from"./close-provider-CZp7Lqob.js";import{u as ae,i as O,s as Oe}from"./open-closed-DC3t9YEZ.js";import{H as xe,w as He}from"./description-D9Ee5mtv.js";import{f as le}from"./use-is-mounted-DT-lZL-u.js";import{m as U,r as N}from"./active-element-history-DI7yoVCB.js";import{f as Q,s as X}from"./hidden-BrNieFV6.js";import{P as S,F as $,I as F,T as J}from"./focus-management-DaVlPEX1.js";import{z as Ae,F as ue}from"./transition-CZnz1fcq.js";function Be(e,t=typeof document<"u"?document.defaultView:null,n){let r=j(e,"escape");te(t,"keydown",o=>{r&&(o.defaultPrevented||o.key===Fe.Escape&&n(o))})}function Ne(){var e;let[t]=u.useState(()=>typeof window<"u"&&typeof window.matchMedia=="function"?window.matchMedia("(pointer: coarse)"):null),[n,r]=u.useState((e=t==null?void 0:t.matches)!=null?e:!1);return Re(()=>{if(!t)return;function o(l){r(l.matches)}return t.addEventListener("change",o),()=>t.removeEventListener("change",o)},[t]),n}function ie(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 Ye="div";var D=(e=>(e[e.None=0]="None",e[e.InitialFocus=1]="InitialFocus",e[e.TabLock=2]="TabLock",e[e.FocusLock=4]="FocusLock",e[e.RestoreFocus=8]="RestoreFocus",e[e.AutoFocus=16]="AutoFocus",e))(D||{});function je(e,t){let n=u.useRef(null),r=x(n,t),{initialFocus:o,initialFocusFallback:l,containers:s,features:a=15,...d}=e;oe()||(a=0);let i=ne(n);qe(a,{ownerDocument:i});let f=Ge(a,{ownerDocument:i,container:n,initialFocus:o,initialFocusFallback:l});We(a,{ownerDocument:i,container:n,containers:s,previousActiveElement:f});let R=Ce(),b=k(m=>{let h=n.current;h&&(v=>v())(()=>{Y(R.current,{[L.Forwards]:()=>{S(h,$.First,{skipElements:[m.relatedTarget,l]})},[L.Backwards]:()=>{S(h,$.Last,{skipElements:[m.relatedTarget,l]})}})})}),E=j(!!(a&2),"focus-trap#tab-lock"),g=Pe(),T=u.useRef(!1),y={ref:r,onKeyDown(m){m.key=="Tab"&&(T.current=!0,g.requestAnimationFrame(()=>{T.current=!1}))},onBlur(m){if(!(a&4))return;let h=ie(s);n.current instanceof HTMLElement&&h.add(n.current);let v=m.relatedTarget;v instanceof HTMLElement&&v.dataset.headlessuiFocusGuard!=="true"&&(se(h,v)||(T.current?S(n.current,Y(R.current,{[L.Forwards]:()=>$.Next,[L.Backwards]:()=>$.Previous})|$.WrapAround,{relativeTo:m.target}):m.target instanceof HTMLElement&&F(m.target)))}},w=M();return c.createElement(c.Fragment,null,E&&c.createElement(Q,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:b,features:X.Focusable}),w({ourProps:y,theirProps:d,defaultTag:Ye,name:"FocusTrap"}),E&&c.createElement(Q,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:b,features:X.Focusable}))}let Ue=I(je),Ve=Object.assign(Ue,{features:D});function ze(e=!0){let t=u.useRef(N.slice());return U(([n],[r])=>{r===!0&&n===!1&&re(()=>{t.current.splice(0)}),r===!1&&n===!0&&(t.current=N.slice())},[e,N,t]),k(()=>{var n;return(n=t.current.find(r=>r!=null&&r.isConnected))!=null?n:null})}function qe(e,{ownerDocument:t}){let n=!!(e&8),r=ze(n);U(()=>{n||(t==null?void 0:t.activeElement)===(t==null?void 0:t.body)&&F(r())},[n]),he(()=>{n&&F(r())})}function Ge(e,{ownerDocument:t,container:n,initialFocus:r,initialFocusFallback:o}){let l=u.useRef(null),s=j(!!(e&1),"focus-trap#initial-focus"),a=le();return U(()=>{if(e===0)return;if(!s){o!=null&&o.current&&F(o.current);return}let d=n.current;d&&re(()=>{if(!a.current)return;let i=t==null?void 0:t.activeElement;if(r!=null&&r.current){if((r==null?void 0:r.current)===i){l.current=i;return}}else if(d.contains(i)){l.current=i;return}if(r!=null&&r.current)F(r.current);else{if(e&16){if(S(d,$.First|$.AutoFocus)!==J.Error)return}else if(S(d,$.First)!==J.Error)return;if(o!=null&&o.current&&(F(o.current),(t==null?void 0:t.activeElement)===o.current))return;console.warn("There are no focusable elements inside the ")}l.current=t==null?void 0:t.activeElement})},[o,s,e]),l}function We(e,{ownerDocument:t,container:n,containers:r,previousActiveElement:o}){let l=le(),s=!!(e&4);te(t==null?void 0:t.defaultView,"focus",a=>{if(!s||!l.current)return;let d=ie(r);n.current instanceof HTMLElement&&d.add(n.current);let i=o.current;if(!i)return;let f=a.target;f&&f instanceof HTMLElement?se(d,f)?(o.current=f,F(f)):(a.preventDefault(),a.stopPropagation(),F(i)):F(o.current)},!0)}function se(e,t){for(let n of e)if(n.contains(t))return!0;return!1}var Ze=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Ze||{}),_e=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(_e||{});let Ke={0(e,t){return e.titleId===t.id?e:{...e,titleId:t.id}}},V=u.createContext(null);V.displayName="DialogContext";function H(e){let t=u.useContext(V);if(t===null){let n=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,H),n}return t}function Qe(e,t){return Y(t.type,Ke,e,t)}let ee=I(function(e,t){let n=u.useId(),{id:r=`headlessui-dialog-${n}`,open:o,onClose:l,initialFocus:s,role:a="dialog",autoFocus:d=!0,__demoMode:i=!1,unmount:f=!1,...R}=e,b=u.useRef(!1);a=function(){return a==="dialog"||a==="alertdialog"?a:(b.current||(b.current=!0,console.warn(`Invalid role [${a}] passed to . Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog")}();let E=ae();o===void 0&&E!==null&&(o=(E&O.Open)===O.Open);let g=u.useRef(null),T=x(g,t),y=ne(g),w=o?0:1,[m,h]=u.useReducer(Qe,{titleId:null,descriptionId:null,panelRef:u.createRef()}),v=k(()=>l(!1)),z=k(p=>h({type:0,id:p})),P=oe()?w===0:!1,[ce,de]=$e(),fe={get current(){var p;return(p=m.panelRef.current)!=null?p:g.current}},A=Se(),{resolveContainers:B}=Me({mainTreeNode:A,portals:ce,defaultContainers:[fe]}),q=E!==null?(E&O.Closing)===O.Closing:!1;Ie(i||q?!1:P,{allowed:k(()=>{var p,W;return[(W=(p=g.current)==null?void 0:p.closest("[data-headlessui-portal]"))!=null?W:null]}),disallowed:k(()=>{var p;return[(p=A==null?void 0:A.closest("body > *:not(#headlessui-portal-root)"))!=null?p:null]})}),be(P,B,p=>{p.preventDefault(),v()}),Be(P,y==null?void 0:y.defaultView,p=>{p.preventDefault(),p.stopPropagation(),document.activeElement&&"blur"in document.activeElement&&typeof document.activeElement.blur=="function"&&document.activeElement.blur(),v()}),Te(i||q?!1:P,y,B),ye(P,g,v);let[pe,me]=He(),ve=u.useMemo(()=>[{dialogState:w,close:v,setTitleId:z,unmount:f},m],[w,m,v,z,f]),G=u.useMemo(()=>({open:w===0}),[w]),ge={ref:T,id:r,role:a,tabIndex:-1,"aria-modal":i?void 0:w===0?!0:void 0,"aria-labelledby":m.titleId,"aria-describedby":pe,unmount:f},Ee=!Ne(),C=D.None;P&&!i&&(C|=D.RestoreFocus,C|=D.TabLock,d&&(C|=D.AutoFocus),Ee&&(C|=D.InitialFocus));let we=M();return c.createElement(Oe,null,c.createElement(Z,{force:!0},c.createElement(De,null,c.createElement(V.Provider,{value:ve},c.createElement(ke,{target:g},c.createElement(Z,{force:!1},c.createElement(me,{slot:G},c.createElement(de,null,c.createElement(Ve,{initialFocus:s,initialFocusFallback:g,containers:B,features:C},c.createElement(Le,{value:v},we({ourProps:ge,theirProps:R,slot:G,defaultTag:Xe,features:Je,visible:w===0,name:"Dialog"})))))))))))}),Xe="div",Je=_.RenderStrategy|_.Static;function et(e,t){let{transition:n=!1,open:r,...o}=e,l=ae(),s=e.hasOwnProperty("open")||l!==null,a=e.hasOwnProperty("onClose");if(!s&&!a)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!s)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!a)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(!l&&typeof e.open!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${e.open}`);if(typeof e.onClose!="function")throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${e.onClose}`);return(r!==void 0||n)&&!o.static?c.createElement(K,null,c.createElement(Ae,{show:r,transition:n,unmount:o.unmount},c.createElement(ee,{ref:t,...o}))):c.createElement(K,null,c.createElement(ee,{ref:t,open:r,...o}))}let tt="div";function nt(e,t){let n=u.useId(),{id:r=`headlessui-dialog-panel-${n}`,transition:o=!1,...l}=e,[{dialogState:s,unmount:a},d]=H("Dialog.Panel"),i=x(t,d.panelRef),f=u.useMemo(()=>({open:s===0}),[s]),R=k(y=>{y.stopPropagation()}),b={ref:i,id:r,onClick:R},E=o?ue:u.Fragment,g=o?{unmount:a}:{},T=M();return c.createElement(E,{...g},T({ourProps:b,theirProps:l,slot:f,defaultTag:tt,name:"Dialog.Panel"}))}let rt="div";function ot(e,t){let{transition:n=!1,...r}=e,[{dialogState:o,unmount:l}]=H("Dialog.Backdrop"),s=u.useMemo(()=>({open:o===0}),[o]),a={ref:t,"aria-hidden":!0},d=n?ue:u.Fragment,i=n?{unmount:l}:{},f=M();return c.createElement(d,{...i},f({ourProps:a,theirProps:r,slot:s,defaultTag:rt,name:"Dialog.Backdrop"}))}let at="h2";function lt(e,t){let n=u.useId(),{id:r=`headlessui-dialog-title-${n}`,...o}=e,[{dialogState:l,setTitleId:s}]=H("Dialog.Title"),a=x(t);u.useEffect(()=>(s(r),()=>s(null)),[r,s]);let d=u.useMemo(()=>({open:l===0}),[l]),i={ref:a,id:r};return M()({ourProps:i,theirProps:o,slot:d,defaultTag:at,name:"Dialog.Title"})}let ut=I(et),it=I(nt);I(ot);let st=I(lt),kt=Object.assign(ut,{Panel:it,Title:st,Description:xe});export{st as Y,it as j,kt as y}; +import{r as u,R as c}from"./index-0d5eMwbi.js";import{o as Fe}from"./keyboard-C2Ifhsxt.js";import{E as te}from"./use-event-listener-CochUv0b.js";import{x as j,n as ne,c as he,t as $e,R as be,f as Te,m as ye,l as Z,r as De,X as ke}from"./portal-CLj4HHuk.js";import{n as Re,L as I,y as x,o as k,u as Y,p as Pe,D as M,c as re,M as _}from"./use-sync-refs-DqQDZvJ6.js";import{y as Ie}from"./use-inert-others-CzqV763I.js";import{u as Ce,a as L,b as Se,R as Me,O as K}from"./use-tab-direction-BMI6OSML.js";import{l as oe}from"./use-server-handoff-complete-JgOu4JLg.js";import{C as Le}from"./close-provider-CZp7Lqob.js";import{u as ae,i as O,s as Oe}from"./open-closed-DC3t9YEZ.js";import{H as xe,w as He}from"./description-D9Ee5mtv.js";import{f as le}from"./use-is-mounted-DT-lZL-u.js";import{m as U,r as N}from"./active-element-history-DI7yoVCB.js";import{f as Q,s as X}from"./hidden-BrNieFV6.js";import{P as S,F as $,I as F,T as J}from"./focus-management-DaVlPEX1.js";import{z as Ae,F as ue}from"./transition-CZnz1fcq.js";function Be(e,t=typeof document<"u"?document.defaultView:null,n){let r=j(e,"escape");te(t,"keydown",o=>{r&&(o.defaultPrevented||o.key===Fe.Escape&&n(o))})}function Ne(){var e;let[t]=u.useState(()=>typeof window<"u"&&typeof window.matchMedia=="function"?window.matchMedia("(pointer: coarse)"):null),[n,r]=u.useState((e=t==null?void 0:t.matches)!=null?e:!1);return Re(()=>{if(!t)return;function o(l){r(l.matches)}return t.addEventListener("change",o),()=>t.removeEventListener("change",o)},[t]),n}function ie(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 Ye="div";var D=(e=>(e[e.None=0]="None",e[e.InitialFocus=1]="InitialFocus",e[e.TabLock=2]="TabLock",e[e.FocusLock=4]="FocusLock",e[e.RestoreFocus=8]="RestoreFocus",e[e.AutoFocus=16]="AutoFocus",e))(D||{});function je(e,t){let n=u.useRef(null),r=x(n,t),{initialFocus:o,initialFocusFallback:l,containers:s,features:a=15,...d}=e;oe()||(a=0);let i=ne(n);qe(a,{ownerDocument:i});let f=Ge(a,{ownerDocument:i,container:n,initialFocus:o,initialFocusFallback:l});We(a,{ownerDocument:i,container:n,containers:s,previousActiveElement:f});let R=Ce(),b=k(m=>{let h=n.current;h&&(v=>v())(()=>{Y(R.current,{[L.Forwards]:()=>{S(h,$.First,{skipElements:[m.relatedTarget,l]})},[L.Backwards]:()=>{S(h,$.Last,{skipElements:[m.relatedTarget,l]})}})})}),E=j(!!(a&2),"focus-trap#tab-lock"),g=Pe(),T=u.useRef(!1),y={ref:r,onKeyDown(m){m.key=="Tab"&&(T.current=!0,g.requestAnimationFrame(()=>{T.current=!1}))},onBlur(m){if(!(a&4))return;let h=ie(s);n.current instanceof HTMLElement&&h.add(n.current);let v=m.relatedTarget;v instanceof HTMLElement&&v.dataset.headlessuiFocusGuard!=="true"&&(se(h,v)||(T.current?S(n.current,Y(R.current,{[L.Forwards]:()=>$.Next,[L.Backwards]:()=>$.Previous})|$.WrapAround,{relativeTo:m.target}):m.target instanceof HTMLElement&&F(m.target)))}},w=M();return c.createElement(c.Fragment,null,E&&c.createElement(Q,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:b,features:X.Focusable}),w({ourProps:y,theirProps:d,defaultTag:Ye,name:"FocusTrap"}),E&&c.createElement(Q,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:b,features:X.Focusable}))}let Ue=I(je),Ve=Object.assign(Ue,{features:D});function ze(e=!0){let t=u.useRef(N.slice());return U(([n],[r])=>{r===!0&&n===!1&&re(()=>{t.current.splice(0)}),r===!1&&n===!0&&(t.current=N.slice())},[e,N,t]),k(()=>{var n;return(n=t.current.find(r=>r!=null&&r.isConnected))!=null?n:null})}function qe(e,{ownerDocument:t}){let n=!!(e&8),r=ze(n);U(()=>{n||(t==null?void 0:t.activeElement)===(t==null?void 0:t.body)&&F(r())},[n]),he(()=>{n&&F(r())})}function Ge(e,{ownerDocument:t,container:n,initialFocus:r,initialFocusFallback:o}){let l=u.useRef(null),s=j(!!(e&1),"focus-trap#initial-focus"),a=le();return U(()=>{if(e===0)return;if(!s){o!=null&&o.current&&F(o.current);return}let d=n.current;d&&re(()=>{if(!a.current)return;let i=t==null?void 0:t.activeElement;if(r!=null&&r.current){if((r==null?void 0:r.current)===i){l.current=i;return}}else if(d.contains(i)){l.current=i;return}if(r!=null&&r.current)F(r.current);else{if(e&16){if(S(d,$.First|$.AutoFocus)!==J.Error)return}else if(S(d,$.First)!==J.Error)return;if(o!=null&&o.current&&(F(o.current),(t==null?void 0:t.activeElement)===o.current))return;console.warn("There are no focusable elements inside the ")}l.current=t==null?void 0:t.activeElement})},[o,s,e]),l}function We(e,{ownerDocument:t,container:n,containers:r,previousActiveElement:o}){let l=le(),s=!!(e&4);te(t==null?void 0:t.defaultView,"focus",a=>{if(!s||!l.current)return;let d=ie(r);n.current instanceof HTMLElement&&d.add(n.current);let i=o.current;if(!i)return;let f=a.target;f&&f instanceof HTMLElement?se(d,f)?(o.current=f,F(f)):(a.preventDefault(),a.stopPropagation(),F(i)):F(o.current)},!0)}function se(e,t){for(let n of e)if(n.contains(t))return!0;return!1}var Ze=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Ze||{}),_e=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(_e||{});let Ke={0(e,t){return e.titleId===t.id?e:{...e,titleId:t.id}}},V=u.createContext(null);V.displayName="DialogContext";function H(e){let t=u.useContext(V);if(t===null){let n=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,H),n}return t}function Qe(e,t){return Y(t.type,Ke,e,t)}let ee=I(function(e,t){let n=u.useId(),{id:r=`headlessui-dialog-${n}`,open:o,onClose:l,initialFocus:s,role:a="dialog",autoFocus:d=!0,__demoMode:i=!1,unmount:f=!1,...R}=e,b=u.useRef(!1);a=function(){return a==="dialog"||a==="alertdialog"?a:(b.current||(b.current=!0,console.warn(`Invalid role [${a}] passed to . Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog")}();let E=ae();o===void 0&&E!==null&&(o=(E&O.Open)===O.Open);let g=u.useRef(null),T=x(g,t),y=ne(g),w=o?0:1,[m,h]=u.useReducer(Qe,{titleId:null,descriptionId:null,panelRef:u.createRef()}),v=k(()=>l(!1)),z=k(p=>h({type:0,id:p})),P=oe()?w===0:!1,[ce,de]=$e(),fe={get current(){var p;return(p=m.panelRef.current)!=null?p:g.current}},A=Se(),{resolveContainers:B}=Me({mainTreeNode:A,portals:ce,defaultContainers:[fe]}),q=E!==null?(E&O.Closing)===O.Closing:!1;Ie(i||q?!1:P,{allowed:k(()=>{var p,W;return[(W=(p=g.current)==null?void 0:p.closest("[data-headlessui-portal]"))!=null?W:null]}),disallowed:k(()=>{var p;return[(p=A==null?void 0:A.closest("body > *:not(#headlessui-portal-root)"))!=null?p:null]})}),be(P,B,p=>{p.preventDefault(),v()}),Be(P,y==null?void 0:y.defaultView,p=>{p.preventDefault(),p.stopPropagation(),document.activeElement&&"blur"in document.activeElement&&typeof document.activeElement.blur=="function"&&document.activeElement.blur(),v()}),Te(i||q?!1:P,y,B),ye(P,g,v);let[pe,me]=He(),ve=u.useMemo(()=>[{dialogState:w,close:v,setTitleId:z,unmount:f},m],[w,m,v,z,f]),G=u.useMemo(()=>({open:w===0}),[w]),ge={ref:T,id:r,role:a,tabIndex:-1,"aria-modal":i?void 0:w===0?!0:void 0,"aria-labelledby":m.titleId,"aria-describedby":pe,unmount:f},Ee=!Ne(),C=D.None;P&&!i&&(C|=D.RestoreFocus,C|=D.TabLock,d&&(C|=D.AutoFocus),Ee&&(C|=D.InitialFocus));let we=M();return c.createElement(Oe,null,c.createElement(Z,{force:!0},c.createElement(De,null,c.createElement(V.Provider,{value:ve},c.createElement(ke,{target:g},c.createElement(Z,{force:!1},c.createElement(me,{slot:G},c.createElement(de,null,c.createElement(Ve,{initialFocus:s,initialFocusFallback:g,containers:B,features:C},c.createElement(Le,{value:v},we({ourProps:ge,theirProps:R,slot:G,defaultTag:Xe,features:Je,visible:w===0,name:"Dialog"})))))))))))}),Xe="div",Je=_.RenderStrategy|_.Static;function et(e,t){let{transition:n=!1,open:r,...o}=e,l=ae(),s=e.hasOwnProperty("open")||l!==null,a=e.hasOwnProperty("onClose");if(!s&&!a)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!s)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!a)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(!l&&typeof e.open!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${e.open}`);if(typeof e.onClose!="function")throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${e.onClose}`);return(r!==void 0||n)&&!o.static?c.createElement(K,null,c.createElement(Ae,{show:r,transition:n,unmount:o.unmount},c.createElement(ee,{ref:t,...o}))):c.createElement(K,null,c.createElement(ee,{ref:t,open:r,...o}))}let tt="div";function nt(e,t){let n=u.useId(),{id:r=`headlessui-dialog-panel-${n}`,transition:o=!1,...l}=e,[{dialogState:s,unmount:a},d]=H("Dialog.Panel"),i=x(t,d.panelRef),f=u.useMemo(()=>({open:s===0}),[s]),R=k(y=>{y.stopPropagation()}),b={ref:i,id:r,onClick:R},E=o?ue:u.Fragment,g=o?{unmount:a}:{},T=M();return c.createElement(E,{...g},T({ourProps:b,theirProps:l,slot:f,defaultTag:tt,name:"Dialog.Panel"}))}let rt="div";function ot(e,t){let{transition:n=!1,...r}=e,[{dialogState:o,unmount:l}]=H("Dialog.Backdrop"),s=u.useMemo(()=>({open:o===0}),[o]),a={ref:t,"aria-hidden":!0},d=n?ue:u.Fragment,i=n?{unmount:l}:{},f=M();return c.createElement(d,{...i},f({ourProps:a,theirProps:r,slot:s,defaultTag:rt,name:"Dialog.Backdrop"}))}let at="h2";function lt(e,t){let n=u.useId(),{id:r=`headlessui-dialog-title-${n}`,...o}=e,[{dialogState:l,setTitleId:s}]=H("Dialog.Title"),a=x(t);u.useEffect(()=>(s(r),()=>s(null)),[r,s]);let d=u.useMemo(()=>({open:l===0}),[l]),i={ref:a,id:r};return M()({ourProps:i,theirProps:o,slot:d,defaultTag:at,name:"Dialog.Title"})}let ut=I(et),it=I(nt);I(ot);let st=I(lt),kt=Object.assign(ut,{Panel:it,Title:st,Description:xe});export{st as Y,it as j,kt as y}; diff --git a/assets/dialog.stories-BBu6B51J.js b/assets/dialog.stories-BGz9dfF0.js similarity index 94% rename from assets/dialog.stories-BBu6B51J.js rename to assets/dialog.stories-BGz9dfF0.js index ecf83cf9..9f8b05cc 100644 --- a/assets/dialog.stories-BBu6B51J.js +++ b/assets/dialog.stories-BGz9dfF0.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-C798UXYj.js";import{r as l}from"./index-0d5eMwbi.js";import{g as O,h as c}from"./storybook-utils-C5xEhci0.js";import{H as R}from"./description-D9Ee5mtv.js";import{y as M,j as q,Y as A}from"./dialog-D4_ekaxy.js";import{z as W,F as v}from"./transition-CZnz1fcq.js";import{j as G,k as E}from"./zoom-to-fit-icon-DdsCB6de.js";import{c as f}from"./class-names-DnY5YZNL.js";import{I as z}from"./icon-button-DlbMwnUp.js";import{B as b}from"./button-DDiEAzmq.js";import{F as a}from"./form-field-BcItkMU2.js";import{T as x}from"./toggle-DnnlDb78.js";import{A as P}from"./alert-sTfywL0-.js";import"./use-sync-refs-DqQDZvJ6.js";import"./keyboard-C2Ifhsxt.js";import"./use-event-listener-CochUv0b.js";import"./portal-wGpXArpj.js";import"./focus-management-DaVlPEX1.js";import"./index-p-ac5bmP.js";import"./use-server-handoff-complete-JgOu4JLg.js";import"./use-inert-others-pmawKl3V.js";import"./use-tab-direction-Bd6_euF6.js";import"./hidden-BrNieFV6.js";import"./close-provider-CZp7Lqob.js";import"./open-closed-DC3t9YEZ.js";import"./use-is-mounted-DT-lZL-u.js";import"./active-element-history-DI7yoVCB.js";import"./spinner-CrXB3JgE.js";import"./use-resolve-button-type-D_6M6Au0.js";import"./form-fields-BO6Mx8Dn.js";import"./label-BBnH-iCi.js";import"./bugs-DpEN4NTH.js";import"./use-text-value-ehRDfXkw.js";import"./floating-B_VM8zae.js";import"./badge-Da1HxQE-.js";import"./index-DzUTkZLd.js";import"./tag-C9CGXtt3.js";const d=({isShown:o,children:s,className:r,isCloseable:n=!0,footer:t,footerPosition:i="end",onClose:g,title:_,hasBackground:L=!0,position:w="center"})=>{const p=(H=!1)=>{n&&g&&g(H)};return e.jsx(W,{show:o,as:l.Fragment,children:e.jsxs(M,{as:"div",onClose:p,children:[L?e.jsx(v,{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:()=>p(!0)})}):null,e.jsx("div",{className:f("fixed inset-0 z-50 flex overflow-y-auto p-8",w==="bottom-right"&&"items-end justify-end",w==="center"&&"items-center justify-center"),children:e.jsx(v,{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(q,{className:f("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(A,{className:"mb-6 pr-12 text-lg font-semibold text-neutral-900",children:_}),n&&e.jsx(z,{className:"absolute right-0 top-0",Icon:G,variant:"minimal",onClick:()=>p(!1)}),e.jsx(R,{as:"div",children:s})]}),!!t&&e.jsx("div",{id:"dialog-footer",className:f("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 y=()=>{},Y=()=>e.jsx("span",{children:"test footer 🍭"}),B=({onClose:o})=>e.jsxs(e.Fragment,{children:[e.jsx(b,{variant:"secondary",onClick:()=>o==null?void 0:o(!1),children:"Cancel"}),e.jsx(b,{variant:"primary",LeftIcon:E,onClick:()=>o==null?void 0:o(!0),children:"Confirm"})]}),F={undefined:void 0,SpanFooter:e.jsx(Y,{}),buttons:e.jsx(B,{})},Q={options:Object.keys(F),mapping:F},Ve={title:"Dialog",component:d,parameters:{...O("Modal showing on top of the screen"),inlineStories:!1},args:{title:"Dialog Title",children:"Dialog Description",isShown:!1,footer:void 0},argTypes:{isShown:c,onClose:c,footer:Q},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})]})}},h={},m={argTypes:{footer:c},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(B,{onClose:()=>n(!1)}),isShown:r,onClose:t,children:o})]})}},u={args:{children:e.jsxs(e.Fragment,{children:[e.jsx(x.Switch,{checked:!0,ariaLabel:"test",onChange:y}),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:y,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-C798UXYj.js";import{r as l}from"./index-0d5eMwbi.js";import{g as O,h as c}from"./storybook-utils-C5xEhci0.js";import{H as R}from"./description-D9Ee5mtv.js";import{y as M,j as q,Y as A}from"./dialog-CQKMlc6b.js";import{z as W,F as v}from"./transition-CZnz1fcq.js";import{j as G,k as E}from"./zoom-to-fit-icon-DdsCB6de.js";import{c as f}from"./class-names-DnY5YZNL.js";import{I as z}from"./icon-button-DlSTEzH7.js";import{B as b}from"./button-Cwplw9FX.js";import{F as a}from"./form-field-BtJxu7hP.js";import{T as x}from"./toggle-Bp5D17gs.js";import{A as P}from"./alert-WFlrTABt.js";import"./use-sync-refs-DqQDZvJ6.js";import"./keyboard-C2Ifhsxt.js";import"./use-event-listener-CochUv0b.js";import"./portal-CLj4HHuk.js";import"./focus-management-DaVlPEX1.js";import"./index-BoyHNU0R.js";import"./use-server-handoff-complete-JgOu4JLg.js";import"./use-inert-others-CzqV763I.js";import"./use-tab-direction-BMI6OSML.js";import"./hidden-BrNieFV6.js";import"./close-provider-CZp7Lqob.js";import"./open-closed-DC3t9YEZ.js";import"./use-is-mounted-DT-lZL-u.js";import"./active-element-history-DI7yoVCB.js";import"./spinner-CrXB3JgE.js";import"./use-resolve-button-type-D_6M6Au0.js";import"./form-fields-B2NmhAAW.js";import"./label-BBnH-iCi.js";import"./bugs-DpEN4NTH.js";import"./use-text-value-ehRDfXkw.js";import"./floating-ERp4LevH.js";import"./badge-Da1HxQE-.js";import"./index-h1jAayoZ.js";import"./tag-C9CGXtt3.js";const d=({isShown:o,children:s,className:r,isCloseable:n=!0,footer:t,footerPosition:i="end",onClose:g,title:_,hasBackground:L=!0,position:w="center"})=>{const p=(H=!1)=>{n&&g&&g(H)};return e.jsx(W,{show:o,as:l.Fragment,children:e.jsxs(M,{as:"div",onClose:p,children:[L?e.jsx(v,{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:()=>p(!0)})}):null,e.jsx("div",{className:f("fixed inset-0 z-50 flex overflow-y-auto p-8",w==="bottom-right"&&"items-end justify-end",w==="center"&&"items-center justify-center"),children:e.jsx(v,{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(q,{className:f("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(A,{className:"mb-6 pr-12 text-lg font-semibold text-neutral-900",children:_}),n&&e.jsx(z,{className:"absolute right-0 top-0",Icon:G,variant:"minimal",onClick:()=>p(!1)}),e.jsx(R,{as:"div",children:s})]}),!!t&&e.jsx("div",{id:"dialog-footer",className:f("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 y=()=>{},Y=()=>e.jsx("span",{children:"test footer 🍭"}),B=({onClose:o})=>e.jsxs(e.Fragment,{children:[e.jsx(b,{variant:"secondary",onClick:()=>o==null?void 0:o(!1),children:"Cancel"}),e.jsx(b,{variant:"primary",LeftIcon:E,onClick:()=>o==null?void 0:o(!0),children:"Confirm"})]}),F={undefined:void 0,SpanFooter:e.jsx(Y,{}),buttons:e.jsx(B,{})},Q={options:Object.keys(F),mapping:F},Ve={title:"Dialog",component:d,parameters:{...O("Modal showing on top of the screen"),inlineStories:!1},args:{title:"Dialog Title",children:"Dialog Description",isShown:!1,footer:void 0},argTypes:{isShown:c,onClose:c,footer:Q},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})]})}},h={},m={argTypes:{footer:c},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(B,{onClose:()=>n(!1)}),isShown:r,onClose:t,children:o})]})}},u={args:{children:e.jsxs(e.Fragment,{children:[e.jsx(x.Switch,{checked:!0,ariaLabel:"test",onChange:y}),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:y,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 diff --git a/assets/entry-preview-BBa-_Xwa.js b/assets/entry-preview-BBa-_Xwa.js deleted file mode 100644 index 77548168..00000000 --- a/assets/entry-preview-BBa-_Xwa.js +++ /dev/null @@ -1 +0,0 @@ -import{R as a,r as i}from"./index-0d5eMwbi.js";import{u as l,r as E}from"./react-18-iKiK41o0.js";import"./index-p-ac5bmP.js";var v=Object.defineProperty,_=(r,e)=>{for(var t in e)v(r,t,{get:e[t],enumerable:!0})};const{global:f}=__STORYBOOK_MODULE_GLOBAL__;var g={};_(g,{mount:()=>M,parameters:()=>O,render:()=>w,renderToCanvas:()=>D});var w=(r,e)=>{let{id:t,component:n}=e;if(!n)throw new Error(`Unable to render story ${t} as the component annotation is missing from the default export`);return a.createElement(n,{...r})},{FRAMEWORK_OPTIONS:s}=f,b=class extends i.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidMount(){let{hasError:r}=this.state,{showMain:e}=this.props;r||e()}componentDidCatch(r){let{showException:e}=this.props;e(r)}render(){let{hasError:r}=this.state,{children:e}=this.props;return r?null:e}},d=s!=null&&s.strictMode?i.StrictMode:i.Fragment;async function D({storyContext:r,unboundStoryFn:e,showMain:t,showException:n,forceRemount:u},o){var m,c;let p=a.createElement(b,{showMain:t,showException:n},a.createElement(e,{...r})),h=d?a.createElement(d,null,p):p;return u&&l(o),await E(h,o,(c=(m=r==null?void 0:r.parameters)==null?void 0:m.react)==null?void 0:c.rootOptions),()=>l(o)}var M=r=>async e=>(e!=null&&(r.originalStoryFn=()=>e),await r.renderToCanvas(),r.canvas),O={renderer:"react"};export{M as mount,O as parameters,w as render,D as renderToCanvas}; diff --git a/assets/entry-preview-CVX8W8q9.js b/assets/entry-preview-CVX8W8q9.js new file mode 100644 index 00000000..71403f3a --- /dev/null +++ b/assets/entry-preview-CVX8W8q9.js @@ -0,0 +1,10 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./react-18-BH3B7EqY.js","./index-0d5eMwbi.js","./index-BoyHNU0R.js"])))=>i.map(i=>d[i]); +import{_ as er}from"./iframe-B1Sidt8M.js";import{_ as tr}from"./chunk-H6MOWX77-DTQOW814.js";import{g as rr,r as j,R as ie}from"./index-0d5eMwbi.js";import{r as nr}from"./index-BoyHNU0R.js";import"../sb-preview/runtime.js";var Me={exports:{}};const sr="2.0.0",wt=256,ir=Number.MAX_SAFE_INTEGER||9007199254740991,ar=16,or=wt-6,lr=["major","premajor","minor","preminor","patch","prepatch","prerelease"];var ge={MAX_LENGTH:wt,MAX_SAFE_COMPONENT_LENGTH:ar,MAX_SAFE_BUILD_LENGTH:or,MAX_SAFE_INTEGER:ir,RELEASE_TYPES:lr,SEMVER_SPEC_VERSION:sr,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2},Oe={};const ur=typeof process=="object"&&Oe&&Oe.NODE_DEBUG&&/\bsemver\b/i.test(Oe.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};var Re=ur;(function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:r,MAX_SAFE_BUILD_LENGTH:n,MAX_LENGTH:s}=ge,i=Re;t=e.exports={};const l=t.re=[],u=t.safeRe=[],a=t.src=[],o=t.t={};let h=0;const p="[a-zA-Z0-9-]",L=[["\\s",1],["\\d",s],[p,n]],m=V=>{for(const[b,Y]of L)V=V.split(`${b}*`).join(`${b}{0,${Y}}`).split(`${b}+`).join(`${b}{1,${Y}}`);return V},d=(V,b,Y)=>{const w=m(b),W=h++;i(V,W,b),o[V]=W,a[W]=b,l[W]=new RegExp(b,Y?"g":void 0),u[W]=new RegExp(w,Y?"g":void 0)};d("NUMERICIDENTIFIER","0|[1-9]\\d*"),d("NUMERICIDENTIFIERLOOSE","\\d+"),d("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${p}*`),d("MAINVERSION",`(${a[o.NUMERICIDENTIFIER]})\\.(${a[o.NUMERICIDENTIFIER]})\\.(${a[o.NUMERICIDENTIFIER]})`),d("MAINVERSIONLOOSE",`(${a[o.NUMERICIDENTIFIERLOOSE]})\\.(${a[o.NUMERICIDENTIFIERLOOSE]})\\.(${a[o.NUMERICIDENTIFIERLOOSE]})`),d("PRERELEASEIDENTIFIER",`(?:${a[o.NUMERICIDENTIFIER]}|${a[o.NONNUMERICIDENTIFIER]})`),d("PRERELEASEIDENTIFIERLOOSE",`(?:${a[o.NUMERICIDENTIFIERLOOSE]}|${a[o.NONNUMERICIDENTIFIER]})`),d("PRERELEASE",`(?:-(${a[o.PRERELEASEIDENTIFIER]}(?:\\.${a[o.PRERELEASEIDENTIFIER]})*))`),d("PRERELEASELOOSE",`(?:-?(${a[o.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${a[o.PRERELEASEIDENTIFIERLOOSE]})*))`),d("BUILDIDENTIFIER",`${p}+`),d("BUILD",`(?:\\+(${a[o.BUILDIDENTIFIER]}(?:\\.${a[o.BUILDIDENTIFIER]})*))`),d("FULLPLAIN",`v?${a[o.MAINVERSION]}${a[o.PRERELEASE]}?${a[o.BUILD]}?`),d("FULL",`^${a[o.FULLPLAIN]}$`),d("LOOSEPLAIN",`[v=\\s]*${a[o.MAINVERSIONLOOSE]}${a[o.PRERELEASELOOSE]}?${a[o.BUILD]}?`),d("LOOSE",`^${a[o.LOOSEPLAIN]}$`),d("GTLT","((?:<|>)?=?)"),d("XRANGEIDENTIFIERLOOSE",`${a[o.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),d("XRANGEIDENTIFIER",`${a[o.NUMERICIDENTIFIER]}|x|X|\\*`),d("XRANGEPLAIN",`[v=\\s]*(${a[o.XRANGEIDENTIFIER]})(?:\\.(${a[o.XRANGEIDENTIFIER]})(?:\\.(${a[o.XRANGEIDENTIFIER]})(?:${a[o.PRERELEASE]})?${a[o.BUILD]}?)?)?`),d("XRANGEPLAINLOOSE",`[v=\\s]*(${a[o.XRANGEIDENTIFIERLOOSE]})(?:\\.(${a[o.XRANGEIDENTIFIERLOOSE]})(?:\\.(${a[o.XRANGEIDENTIFIERLOOSE]})(?:${a[o.PRERELEASELOOSE]})?${a[o.BUILD]}?)?)?`),d("XRANGE",`^${a[o.GTLT]}\\s*${a[o.XRANGEPLAIN]}$`),d("XRANGELOOSE",`^${a[o.GTLT]}\\s*${a[o.XRANGEPLAINLOOSE]}$`),d("COERCEPLAIN",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?`),d("COERCE",`${a[o.COERCEPLAIN]}(?:$|[^\\d])`),d("COERCEFULL",a[o.COERCEPLAIN]+`(?:${a[o.PRERELEASE]})?(?:${a[o.BUILD]})?(?:$|[^\\d])`),d("COERCERTL",a[o.COERCE],!0),d("COERCERTLFULL",a[o.COERCEFULL],!0),d("LONETILDE","(?:~>?)"),d("TILDETRIM",`(\\s*)${a[o.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",d("TILDE",`^${a[o.LONETILDE]}${a[o.XRANGEPLAIN]}$`),d("TILDELOOSE",`^${a[o.LONETILDE]}${a[o.XRANGEPLAINLOOSE]}$`),d("LONECARET","(?:\\^)"),d("CARETTRIM",`(\\s*)${a[o.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",d("CARET",`^${a[o.LONECARET]}${a[o.XRANGEPLAIN]}$`),d("CARETLOOSE",`^${a[o.LONECARET]}${a[o.XRANGEPLAINLOOSE]}$`),d("COMPARATORLOOSE",`^${a[o.GTLT]}\\s*(${a[o.LOOSEPLAIN]})$|^$`),d("COMPARATOR",`^${a[o.GTLT]}\\s*(${a[o.FULLPLAIN]})$|^$`),d("COMPARATORTRIM",`(\\s*)${a[o.GTLT]}\\s*(${a[o.LOOSEPLAIN]}|${a[o.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",d("HYPHENRANGE",`^\\s*(${a[o.XRANGEPLAIN]})\\s+-\\s+(${a[o.XRANGEPLAIN]})\\s*$`),d("HYPHENRANGELOOSE",`^\\s*(${a[o.XRANGEPLAINLOOSE]})\\s+-\\s+(${a[o.XRANGEPLAINLOOSE]})\\s*$`),d("STAR","(<|>)?=?\\s*\\*"),d("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),d("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(Me,Me.exports);var le=Me.exports;const cr=Object.freeze({loose:!0}),hr=Object.freeze({}),fr=e=>e?typeof e!="object"?cr:e:hr;var Ve=fr;const et=/^[0-9]+$/,Ct=(e,t)=>{const r=et.test(e),n=et.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:eCt(t,e);var _t={compareIdentifiers:Ct,rcompareIdentifiers:pr};const he=Re,{MAX_LENGTH:tt,MAX_SAFE_INTEGER:fe}=ge,{safeRe:rt,t:nt}=le,Er=Ve,{compareIdentifiers:K}=_t;let mr=class G{constructor(t,r){if(r=Er(r),t instanceof G){if(t.loose===!!r.loose&&t.includePrerelease===!!r.includePrerelease)return t;t=t.version}else if(typeof t!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>tt)throw new TypeError(`version is longer than ${tt} characters`);he("SemVer",t,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;const n=t.trim().match(r.loose?rt[nt.LOOSE]:rt[nt.FULL]);if(!n)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>fe||this.major<0)throw new TypeError("Invalid major version");if(this.minor>fe||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>fe||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(s=>{if(/^[0-9]+$/.test(s)){const i=+s;if(i>=0&&i=0;)typeof this.prerelease[i]=="number"&&(this.prerelease[i]++,i=-2);if(i===-1){if(r===this.prerelease.join(".")&&n===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(s)}}if(r){let i=[r,s];n===!1&&(i=[r]),K(this.prerelease[0],r)===0?isNaN(this.prerelease[1])&&(this.prerelease=i):this.prerelease=i}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};var C=mr;const st=C,dr=(e,t,r=!1)=>{if(e instanceof st)return e;try{return new st(e,t)}catch(n){if(!r)return null;throw n}};var J=dr;const vr=J,$r=(e,t)=>{const r=vr(e,t);return r?r.version:null};var gr=$r;const Rr=J,yr=(e,t)=>{const r=Rr(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null};var Ir=yr;const it=C,Lr=(e,t,r,n,s)=>{typeof r=="string"&&(s=n,n=r,r=void 0);try{return new it(e instanceof it?e.version:e,r).inc(t,n,s).version}catch{return null}};var Nr=Lr;const at=J,Sr=(e,t)=>{const r=at(e,null,!0),n=at(t,null,!0),s=r.compare(n);if(s===0)return null;const i=s>0,l=i?r:n,u=i?n:r,a=!!l.prerelease.length;if(!!u.prerelease.length&&!a)return!u.patch&&!u.minor?"major":l.patch?"patch":l.minor?"minor":"major";const h=a?"pre":"";return r.major!==n.major?h+"major":r.minor!==n.minor?h+"minor":r.patch!==n.patch?h+"patch":"prerelease"};var Tr=Sr;const Or=C,Ar=(e,t)=>new Or(e,t).major;var wr=Ar;const Cr=C,_r=(e,t)=>new Cr(e,t).minor;var Dr=_r;const Pr=C,br=(e,t)=>new Pr(e,t).patch;var xr=br;const Ur=J,Fr=(e,t)=>{const r=Ur(e,t);return r&&r.prerelease.length?r.prerelease:null};var Gr=Fr;const ot=C,jr=(e,t,r)=>new ot(e,r).compare(new ot(t,r));var U=jr;const Mr=U,Xr=(e,t,r)=>Mr(t,e,r);var Vr=Xr;const Yr=U,Wr=(e,t)=>Yr(e,t,!0);var Hr=Wr;const lt=C,kr=(e,t,r)=>{const n=new lt(e,r),s=new lt(t,r);return n.compare(s)||n.compareBuild(s)};var Ye=kr;const qr=Ye,Br=(e,t)=>e.sort((r,n)=>qr(r,n,t));var Kr=Br;const zr=Ye,Zr=(e,t)=>e.sort((r,n)=>zr(n,r,t));var Jr=Zr;const Qr=U,en=(e,t,r)=>Qr(e,t,r)>0;var ye=en;const tn=U,rn=(e,t,r)=>tn(e,t,r)<0;var We=rn;const nn=U,sn=(e,t,r)=>nn(e,t,r)===0;var Dt=sn;const an=U,on=(e,t,r)=>an(e,t,r)!==0;var Pt=on;const ln=U,un=(e,t,r)=>ln(e,t,r)>=0;var He=un;const cn=U,hn=(e,t,r)=>cn(e,t,r)<=0;var ke=hn;const fn=Dt,pn=Pt,En=ye,mn=He,dn=We,vn=ke,$n=(e,t,r,n)=>{switch(t){case"===":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e===r;case"!==":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e!==r;case"":case"=":case"==":return fn(e,r,n);case"!=":return pn(e,r,n);case">":return En(e,r,n);case">=":return mn(e,r,n);case"<":return dn(e,r,n);case"<=":return vn(e,r,n);default:throw new TypeError(`Invalid operator: ${t}`)}};var bt=$n;const gn=C,Rn=J,{safeRe:pe,t:Ee}=le,yn=(e,t)=>{if(e instanceof gn)return e;if(typeof e=="number"&&(e=String(e)),typeof e!="string")return null;t=t||{};let r=null;if(!t.rtl)r=e.match(t.includePrerelease?pe[Ee.COERCEFULL]:pe[Ee.COERCE]);else{const a=t.includePrerelease?pe[Ee.COERCERTLFULL]:pe[Ee.COERCERTL];let o;for(;(o=a.exec(e))&&(!r||r.index+r[0].length!==e.length);)(!r||o.index+o[0].length!==r.index+r[0].length)&&(r=o),a.lastIndex=o.index+o[1].length+o[2].length;a.lastIndex=-1}if(r===null)return null;const n=r[2],s=r[3]||"0",i=r[4]||"0",l=t.includePrerelease&&r[5]?`-${r[5]}`:"",u=t.includePrerelease&&r[6]?`+${r[6]}`:"";return Rn(`${n}.${s}.${i}${l}${u}`,t)};var In=yn,Ae,ut;function Ln(){return ut||(ut=1,Ae=function(e){e.prototype[Symbol.iterator]=function*(){for(let t=this.head;t;t=t.next)yield t.value}}),Ae}var Nn=I;I.Node=q;I.create=I;function I(e){var t=this;if(t instanceof I||(t=new I),t.tail=null,t.head=null,t.length=0,e&&typeof e.forEach=="function")e.forEach(function(s){t.push(s)});else if(arguments.length>0)for(var r=0,n=arguments.length;r1)r=t;else if(this.head)n=this.head.next,r=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var s=0;n!==null;s++)r=e(r,n.value,s),n=n.next;return r};I.prototype.reduceReverse=function(e,t){var r,n=this.tail;if(arguments.length>1)r=t;else if(this.tail)n=this.tail.prev,r=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var s=this.length-1;n!==null;s--)r=e(r,n.value,s),n=n.prev;return r};I.prototype.toArray=function(){for(var e=new Array(this.length),t=0,r=this.head;r!==null;t++)e[t]=r.value,r=r.next;return e};I.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,r=this.tail;r!==null;t++)e[t]=r.value,r=r.prev;return e};I.prototype.slice=function(e,t){t=t||this.length,t<0&&(t+=this.length),e=e||0,e<0&&(e+=this.length);var r=new I;if(tthis.length&&(t=this.length);for(var n=0,s=this.head;s!==null&&nthis.length&&(t=this.length);for(var n=this.length,s=this.tail;s!==null&&n>t;n--)s=s.prev;for(;s!==null&&n>e;n--,s=s.prev)r.push(s.value);return r};I.prototype.splice=function(e,t,...r){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var n=0,s=this.head;s!==null&&n1;class wn{constructor(t){if(typeof t=="number"&&(t={max:t}),t||(t={}),t.max&&(typeof t.max!="number"||t.max<0))throw new TypeError("max must be a non-negative number");this[H]=t.max||1/0;const r=t.length||we;if(this[z]=typeof r!="function"?we:r,this[ae]=t.stale||!1,t.maxAge&&typeof t.maxAge!="number")throw new TypeError("maxAge must be a number");this[k]=t.maxAge||0,this[M]=t.dispose,this[ct]=t.noDisposeOnSet||!1,this[xt]=t.updateAgeOnGet||!1,this.reset()}set max(t){if(typeof t!="number"||t<0)throw new TypeError("max must be a non-negative number");this[H]=t||1/0,re(this)}get max(){return this[H]}set allowStale(t){this[ae]=!!t}get allowStale(){return this[ae]}set maxAge(t){if(typeof t!="number")throw new TypeError("maxAge must be a non-negative number");this[k]=t,re(this)}get maxAge(){return this[k]}set lengthCalculator(t){typeof t!="function"&&(t=we),t!==this[z]&&(this[z]=t,this[X]=0,this[A].forEach(r=>{r.length=this[z](r.value,r.key),this[X]+=r.length})),re(this)}get lengthCalculator(){return this[z]}get length(){return this[X]}get itemCount(){return this[A].length}rforEach(t,r){r=r||this;for(let n=this[A].tail;n!==null;){const s=n.prev;ht(this,t,n,r),n=s}}forEach(t,r){r=r||this;for(let n=this[A].head;n!==null;){const s=n.next;ht(this,t,n,r),n=s}}keys(){return this[A].toArray().map(t=>t.key)}values(){return this[A].toArray().map(t=>t.value)}reset(){this[M]&&this[A]&&this[A].length&&this[A].forEach(t=>this[M](t.key,t.value)),this[x]=new Map,this[A]=new An,this[X]=0}dump(){return this[A].map(t=>de(this,t)?!1:{k:t.key,v:t.value,e:t.now+(t.maxAge||0)}).toArray().filter(t=>t)}dumpLru(){return this[A]}set(t,r,n){if(n=n||this[k],n&&typeof n!="number")throw new TypeError("maxAge must be a number");const s=n?Date.now():0,i=this[z](r,t);if(this[x].has(t)){if(i>this[H])return Z(this,this[x].get(t)),!1;const a=this[x].get(t).value;return this[M]&&(this[ct]||this[M](t,a.value)),a.now=s,a.maxAge=n,a.value=r,this[X]+=i-a.length,a.length=i,this.get(t),re(this),!0}const l=new Cn(t,r,i,s,n);return l.length>this[H]?(this[M]&&this[M](t,r),!1):(this[X]+=l.length,this[A].unshift(l),this[x].set(t,this[A].head),re(this),!0)}has(t){if(!this[x].has(t))return!1;const r=this[x].get(t).value;return!de(this,r)}get(t){return Ce(this,t,!0)}peek(t){return Ce(this,t,!1)}pop(){const t=this[A].tail;return t?(Z(this,t),t.value):null}del(t){Z(this,this[x].get(t))}load(t){this.reset();const r=Date.now();for(let n=t.length-1;n>=0;n--){const s=t[n],i=s.e||0;if(i===0)this.set(s.k,s.v);else{const l=i-r;l>0&&this.set(s.k,s.v,l)}}}prune(){this[x].forEach((t,r)=>Ce(this,r,!1))}}const Ce=(e,t,r)=>{const n=e[x].get(t);if(n){const s=n.value;if(de(e,s)){if(Z(e,n),!e[ae])return}else r&&(e[xt]&&(n.value.now=Date.now()),e[A].unshiftNode(n));return s.value}},de=(e,t)=>{if(!t||!t.maxAge&&!e[k])return!1;const r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e[k]&&r>e[k]},re=e=>{if(e[X]>e[H])for(let t=e[A].tail;e[X]>e[H]&&t!==null;){const r=t.prev;Z(e,t),t=r}},Z=(e,t)=>{if(t){const r=t.value;e[M]&&e[M](r.key,r.value),e[X]-=r.length,e[x].delete(r.key),e[A].removeNode(t)}};class Cn{constructor(t,r,n,s,i){this.key=t,this.value=r,this.length=n,this.now=s,this.maxAge=i||0}}const ht=(e,t,r,n)=>{let s=r.value;de(e,s)&&(Z(e,r),e[ae]||(s=void 0)),s&&t.call(n,s.value,s.key,e)};var _n=wn,_e,ft;function F(){if(ft)return _e;ft=1;class e{constructor(c,g){if(g=n(g),c instanceof e)return c.loose===!!g.loose&&c.includePrerelease===!!g.includePrerelease?c:new e(c.raw,g);if(c instanceof s)return this.raw=c.value,this.set=[[c]],this.format(),this;if(this.options=g,this.loose=!!g.loose,this.includePrerelease=!!g.includePrerelease,this.raw=c.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(v=>this.parseRange(v.trim())).filter(v=>v.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const v=this.set[0];if(this.set=this.set.filter($=>!d($[0])),this.set.length===0)this.set=[v];else if(this.set.length>1){for(const $ of this.set)if($.length===1&&V($[0])){this.set=[$];break}}}this.format()}format(){return this.range=this.set.map(c=>c.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(c){const v=((this.options.includePrerelease&&L)|(this.options.loose&&m))+":"+c,$=r.get(v);if($)return $;const E=this.options.loose,R=E?u[a.HYPHENRANGELOOSE]:u[a.HYPHENRANGE];c=c.replace(R,Jt(this.options.includePrerelease)),i("hyphen replace",c),c=c.replace(u[a.COMPARATORTRIM],o),i("comparator trim",c),c=c.replace(u[a.TILDETRIM],h),i("tilde trim",c),c=c.replace(u[a.CARETTRIM],p),i("caret trim",c);let N=c.split(" ").map(T=>Y(T,this.options)).join(" ").split(/\s+/).map(T=>Zt(T,this.options));E&&(N=N.filter(T=>(i("loose invalid filter",T,this.options),!!T.match(u[a.COMPARATORLOOSE])))),i("range list",N);const y=new Map,S=N.map(T=>new s(T,this.options));for(const T of S){if(d(T))return[T];y.set(T.value,T)}y.size>1&&y.has("")&&y.delete("");const D=[...y.values()];return r.set(v,D),D}intersects(c,g){if(!(c instanceof e))throw new TypeError("a Range is required");return this.set.some(v=>b(v,g)&&c.set.some($=>b($,g)&&v.every(E=>$.every(R=>E.intersects(R,g)))))}test(c){if(!c)return!1;if(typeof c=="string")try{c=new l(c,this.options)}catch{return!1}for(let g=0;gf.value==="<0.0.0-0",V=f=>f.value==="",b=(f,c)=>{let g=!0;const v=f.slice();let $=v.pop();for(;g&&v.length;)g=v.every(E=>$.intersects(E,c)),$=v.pop();return g},Y=(f,c)=>(i("comp",f,c),f=kt(f,c),i("caret",f),f=W(f,c),i("tildes",f),f=Bt(f,c),i("xrange",f),f=zt(f,c),i("stars",f),f),w=f=>!f||f.toLowerCase()==="x"||f==="*",W=(f,c)=>f.trim().split(/\s+/).map(g=>Ht(g,c)).join(" "),Ht=(f,c)=>{const g=c.loose?u[a.TILDELOOSE]:u[a.TILDE];return f.replace(g,(v,$,E,R,N)=>{i("tilde",f,v,$,E,R,N);let y;return w($)?y="":w(E)?y=`>=${$}.0.0 <${+$+1}.0.0-0`:w(R)?y=`>=${$}.${E}.0 <${$}.${+E+1}.0-0`:N?(i("replaceTilde pr",N),y=`>=${$}.${E}.${R}-${N} <${$}.${+E+1}.0-0`):y=`>=${$}.${E}.${R} <${$}.${+E+1}.0-0`,i("tilde return",y),y})},kt=(f,c)=>f.trim().split(/\s+/).map(g=>qt(g,c)).join(" "),qt=(f,c)=>{i("caret",f,c);const g=c.loose?u[a.CARETLOOSE]:u[a.CARET],v=c.includePrerelease?"-0":"";return f.replace(g,($,E,R,N,y)=>{i("caret",f,$,E,R,N,y);let S;return w(E)?S="":w(R)?S=`>=${E}.0.0${v} <${+E+1}.0.0-0`:w(N)?E==="0"?S=`>=${E}.${R}.0${v} <${E}.${+R+1}.0-0`:S=`>=${E}.${R}.0${v} <${+E+1}.0.0-0`:y?(i("replaceCaret pr",y),E==="0"?R==="0"?S=`>=${E}.${R}.${N}-${y} <${E}.${R}.${+N+1}-0`:S=`>=${E}.${R}.${N}-${y} <${E}.${+R+1}.0-0`:S=`>=${E}.${R}.${N}-${y} <${+E+1}.0.0-0`):(i("no pr"),E==="0"?R==="0"?S=`>=${E}.${R}.${N}${v} <${E}.${R}.${+N+1}-0`:S=`>=${E}.${R}.${N}${v} <${E}.${+R+1}.0-0`:S=`>=${E}.${R}.${N} <${+E+1}.0.0-0`),i("caret return",S),S})},Bt=(f,c)=>(i("replaceXRanges",f,c),f.split(/\s+/).map(g=>Kt(g,c)).join(" ")),Kt=(f,c)=>{f=f.trim();const g=c.loose?u[a.XRANGELOOSE]:u[a.XRANGE];return f.replace(g,(v,$,E,R,N,y)=>{i("xRange",f,v,$,E,R,N,y);const S=w(E),D=S||w(R),T=D||w(N),te=T;return $==="="&&te&&($=""),y=c.includePrerelease?"-0":"",S?$===">"||$==="<"?v="<0.0.0-0":v="*":$&&te?(D&&(R=0),N=0,$===">"?($=">=",D?(E=+E+1,R=0,N=0):(R=+R+1,N=0)):$==="<="&&($="<",D?E=+E+1:R=+R+1),$==="<"&&(y="-0"),v=`${$+E}.${R}.${N}${y}`):D?v=`>=${E}.0.0${y} <${+E+1}.0.0-0`:T&&(v=`>=${E}.${R}.0${y} <${E}.${+R+1}.0-0`),i("xRange return",v),v})},zt=(f,c)=>(i("replaceStars",f,c),f.trim().replace(u[a.STAR],"")),Zt=(f,c)=>(i("replaceGTE0",f,c),f.trim().replace(u[c.includePrerelease?a.GTE0PRE:a.GTE0],"")),Jt=f=>(c,g,v,$,E,R,N,y,S,D,T,te,Hi)=>(w(v)?g="":w($)?g=`>=${v}.0.0${f?"-0":""}`:w(E)?g=`>=${v}.${$}.0${f?"-0":""}`:R?g=`>=${g}`:g=`>=${g}${f?"-0":""}`,w(S)?y="":w(D)?y=`<${+S+1}.0.0-0`:w(T)?y=`<${S}.${+D+1}.0-0`:te?y=`<=${S}.${D}.${T}-${te}`:f?y=`<${S}.${D}.${+T+1}-0`:y=`<=${y}`,`${g} ${y}`.trim()),Qt=(f,c,g)=>{for(let v=0;v0){const $=f[v].semver;if($.major===c.major&&$.minor===c.minor&&$.patch===c.patch)return!0}return!1}return!0};return _e}var De,pt;function Ie(){if(pt)return De;pt=1;const e=Symbol("SemVer ANY");class t{static get ANY(){return e}constructor(h,p){if(p=r(p),h instanceof t){if(h.loose===!!p.loose)return h;h=h.value}h=h.trim().split(/\s+/).join(" "),l("comparator",h,p),this.options=p,this.loose=!!p.loose,this.parse(h),this.semver===e?this.value="":this.value=this.operator+this.semver.version,l("comp",this)}parse(h){const p=this.options.loose?n[s.COMPARATORLOOSE]:n[s.COMPARATOR],L=h.match(p);if(!L)throw new TypeError(`Invalid comparator: ${h}`);this.operator=L[1]!==void 0?L[1]:"",this.operator==="="&&(this.operator=""),L[2]?this.semver=new u(L[2],this.options.loose):this.semver=e}toString(){return this.value}test(h){if(l("Comparator.test",h,this.options.loose),this.semver===e||h===e)return!0;if(typeof h=="string")try{h=new u(h,this.options)}catch{return!1}return i(h,this.operator,this.semver,this.options)}intersects(h,p){if(!(h instanceof t))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new a(h.value,p).test(this.value):h.operator===""?h.value===""?!0:new a(this.value,p).test(h.semver):(p=r(p),p.includePrerelease&&(this.value==="<0.0.0-0"||h.value==="<0.0.0-0")||!p.includePrerelease&&(this.value.startsWith("<0.0.0")||h.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&h.operator.startsWith(">")||this.operator.startsWith("<")&&h.operator.startsWith("<")||this.semver.version===h.semver.version&&this.operator.includes("=")&&h.operator.includes("=")||i(this.semver,"<",h.semver,p)&&this.operator.startsWith(">")&&h.operator.startsWith("<")||i(this.semver,">",h.semver,p)&&this.operator.startsWith("<")&&h.operator.startsWith(">")))}}De=t;const r=Ve,{safeRe:n,t:s}=le,i=bt,l=Re,u=C,a=F();return De}const Dn=F(),Pn=(e,t,r)=>{try{t=new Dn(t,r)}catch{return!1}return t.test(e)};var Le=Pn;const bn=F(),xn=(e,t)=>new bn(e,t).set.map(r=>r.map(n=>n.value).join(" ").trim().split(" "));var Un=xn;const Fn=C,Gn=F(),jn=(e,t,r)=>{let n=null,s=null,i=null;try{i=new Gn(t,r)}catch{return null}return e.forEach(l=>{i.test(l)&&(!n||s.compare(l)===-1)&&(n=l,s=new Fn(n,r))}),n};var Mn=jn;const Xn=C,Vn=F(),Yn=(e,t,r)=>{let n=null,s=null,i=null;try{i=new Vn(t,r)}catch{return null}return e.forEach(l=>{i.test(l)&&(!n||s.compare(l)===1)&&(n=l,s=new Xn(n,r))}),n};var Wn=Yn;const Pe=C,Hn=F(),Et=ye,kn=(e,t)=>{e=new Hn(e,t);let r=new Pe("0.0.0");if(e.test(r)||(r=new Pe("0.0.0-0"),e.test(r)))return r;r=null;for(let n=0;n{const u=new Pe(l.semver.version);switch(l.operator){case">":u.prerelease.length===0?u.patch++:u.prerelease.push(0),u.raw=u.format();case"":case">=":(!i||Et(u,i))&&(i=u);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${l.operator}`)}}),i&&(!r||Et(r,i))&&(r=i)}return r&&e.test(r)?r:null};var qn=kn;const Bn=F(),Kn=(e,t)=>{try{return new Bn(e,t).range||"*"}catch{return null}};var zn=Kn;const Zn=C,Ut=Ie(),{ANY:Jn}=Ut,Qn=F(),es=Le,mt=ye,dt=We,ts=ke,rs=He,ns=(e,t,r,n)=>{e=new Zn(e,n),t=new Qn(t,n);let s,i,l,u,a;switch(r){case">":s=mt,i=ts,l=dt,u=">",a=">=";break;case"<":s=dt,i=rs,l=mt,u="<",a="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(es(e,t,n))return!1;for(let o=0;o{m.semver===Jn&&(m=new Ut(">=0.0.0")),p=p||m,L=L||m,s(m.semver,p.semver,n)?p=m:l(m.semver,L.semver,n)&&(L=m)}),p.operator===u||p.operator===a||(!L.operator||L.operator===u)&&i(e,L.semver))return!1;if(L.operator===a&&l(e,L.semver))return!1}return!0};var qe=ns;const ss=qe,is=(e,t,r)=>ss(e,t,">",r);var as=is;const os=qe,ls=(e,t,r)=>os(e,t,"<",r);var us=ls;const vt=F(),cs=(e,t,r)=>(e=new vt(e,r),t=new vt(t,r),e.intersects(t,r));var hs=cs;const fs=Le,ps=U;var Es=(e,t,r)=>{const n=[];let s=null,i=null;const l=e.sort((h,p)=>ps(h,p,r));for(const h of l)fs(h,t,r)?(i=h,s||(s=h)):(i&&n.push([s,i]),i=null,s=null);s&&n.push([s,null]);const u=[];for(const[h,p]of n)h===p?u.push(h):!p&&h===l[0]?u.push("*"):p?h===l[0]?u.push(`<=${p}`):u.push(`${h} - ${p}`):u.push(`>=${h}`);const a=u.join(" || "),o=typeof t.raw=="string"?t.raw:String(t);return a.length{if(e===t)return!0;e=new $t(e,r),t=new $t(t,r);let n=!1;e:for(const s of e.set){for(const i of t.set){const l=vs(s,i,r);if(n=n||l!==null,l)continue e}if(n)return!1}return!0},ds=[new Be(">=0.0.0-0")],gt=[new Be(">=0.0.0")],vs=(e,t,r)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===be){if(t.length===1&&t[0].semver===be)return!0;r.includePrerelease?e=ds:e=gt}if(t.length===1&&t[0].semver===be){if(r.includePrerelease)return!0;t=gt}const n=new Set;let s,i;for(const m of e)m.operator===">"||m.operator===">="?s=Rt(s,m,r):m.operator==="<"||m.operator==="<="?i=yt(i,m,r):n.add(m.semver);if(n.size>1)return null;let l;if(s&&i){if(l=Ke(s.semver,i.semver,r),l>0)return null;if(l===0&&(s.operator!==">="||i.operator!=="<="))return null}for(const m of n){if(s&&!ne(m,String(s),r)||i&&!ne(m,String(i),r))return null;for(const d of t)if(!ne(m,String(d),r))return!1;return!0}let u,a,o,h,p=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1,L=s&&!r.includePrerelease&&s.semver.prerelease.length?s.semver:!1;p&&p.prerelease.length===1&&i.operator==="<"&&p.prerelease[0]===0&&(p=!1);for(const m of t){if(h=h||m.operator===">"||m.operator===">=",o=o||m.operator==="<"||m.operator==="<=",s){if(L&&m.semver.prerelease&&m.semver.prerelease.length&&m.semver.major===L.major&&m.semver.minor===L.minor&&m.semver.patch===L.patch&&(L=!1),m.operator===">"||m.operator===">="){if(u=Rt(s,m,r),u===m&&u!==s)return!1}else if(s.operator===">="&&!ne(s.semver,String(m),r))return!1}if(i){if(p&&m.semver.prerelease&&m.semver.prerelease.length&&m.semver.major===p.major&&m.semver.minor===p.minor&&m.semver.patch===p.patch&&(p=!1),m.operator==="<"||m.operator==="<="){if(a=yt(i,m,r),a===m&&a!==i)return!1}else if(i.operator==="<="&&!ne(i.semver,String(m),r))return!1}if(!m.operator&&(i||s)&&l!==0)return!1}return!(s&&o&&!i&&l!==0||i&&h&&!s&&l!==0||L||p)},Rt=(e,t,r)=>{if(!e)return t;const n=Ke(e.semver,t.semver,r);return n>0?e:n<0||t.operator===">"&&e.operator===">="?t:e},yt=(e,t,r)=>{if(!e)return t;const n=Ke(e.semver,t.semver,r);return n<0?e:n>0||t.operator==="<"&&e.operator==="<="?t:e};var $s=ms;const xe=le,It=ge,gs=C,Lt=_t,Rs=J,ys=gr,Is=Ir,Ls=Nr,Ns=Tr,Ss=wr,Ts=Dr,Os=xr,As=Gr,ws=U,Cs=Vr,_s=Hr,Ds=Ye,Ps=Kr,bs=Jr,xs=ye,Us=We,Fs=Dt,Gs=Pt,js=He,Ms=ke,Xs=bt,Vs=In,Ys=Ie(),Ws=F(),Hs=Le,ks=Un,qs=Mn,Bs=Wn,Ks=qn,zs=zn,Zs=qe,Js=as,Qs=us,ei=hs,ti=Es,ri=$s;var ni={parse:Rs,valid:ys,clean:Is,inc:Ls,diff:Ns,major:Ss,minor:Ts,patch:Os,prerelease:As,compare:ws,rcompare:Cs,compareLoose:_s,compareBuild:Ds,sort:Ps,rsort:bs,gt:xs,lt:Us,eq:Fs,neq:Gs,gte:js,lte:Ms,cmp:Xs,coerce:Vs,Comparator:Ys,Range:Ws,satisfies:Hs,toComparators:ks,maxSatisfying:qs,minSatisfying:Bs,minVersion:Ks,validRange:zs,outside:Zs,gtr:Js,ltr:Qs,intersects:ei,simplifyRange:ti,subset:ri,SemVer:gs,re:xe.re,src:xe.src,tokens:xe.t,SEMVER_SPEC_VERSION:It.SEMVER_SPEC_VERSION,RELEASE_TYPES:It.RELEASE_TYPES,compareIdentifiers:Lt.compareIdentifiers,rcompareIdentifiers:Lt.rcompareIdentifiers};const Nt=rr(ni);var O={};/** + * @license React + * react-dom-test-utils.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Q=j,ze=nr;function Ft(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(r=t.return),e=t.return;while(e)}return t.tag===3?r:null}function St(e){if(Ft(e)!==e)throw Error("Unable to find node on an unmounted component.")}function si(e){var t=e.alternate;if(!t){if(t=Ft(e),t===null)throw Error("Unable to find node on an unmounted component.");return t!==e?null:e}for(var r=e,n=t;;){var s=r.return;if(s===null)break;var i=s.alternate;if(i===null){if(n=s.return,n!==null){r=n;continue}break}if(s.child===i.child){for(i=s.child;i;){if(i===r)return St(s),e;if(i===n)return St(s),t;i=i.sibling}throw Error("Unable to find node on an unmounted component.")}if(r.return!==n.return)r=s,n=i;else{for(var l=!1,u=s.child;u;){if(u===r){l=!0,r=s,n=i;break}if(u===n){l=!0,n=s,r=i;break}u=u.sibling}if(!l){for(u=i.child;u;){if(u===r){l=!0,r=i,n=s;break}if(u===n){l=!0,n=i,r=s;break}u=u.sibling}if(!l)throw Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(r.alternate!==n)throw Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(r.tag!==3)throw Error("Unable to find node on an unmounted component.");return r.stateNode.current===r?e:t}var _=Object.assign;function Ue(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function me(){return!0}function Tt(){return!1}function P(e){function t(r,n,s,i,l){this._reactName=r,this._targetInst=s,this.type=n,this.nativeEvent=i,this.target=l,this.currentTarget=null;for(var u in e)e.hasOwnProperty(u)&&(r=e[u],this[u]=r?r(i):i[u]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?me:Tt,this.isPropagationStopped=Tt,this}return _(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=me)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=me)},persist:function(){},isPersistent:me}),t}var ee={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ii=P(ee),ue=_({},ee,{view:0,detail:0});P(ue);var Fe,Ge,se,Ne=_({},ue,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ze,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==se&&(se&&e.type==="mousemove"?(Fe=e.screenX-se.screenX,Ge=e.screenY-se.screenY):Ge=Fe=0,se=e),Fe)},movementY:function(e){return"movementY"in e?e.movementY:Ge}});P(Ne);var ai=_({},Ne,{dataTransfer:0});P(ai);var oi=_({},ue,{relatedTarget:0});P(oi);var li=_({},ee,{animationName:0,elapsedTime:0,pseudoElement:0});P(li);var ui=_({},ee,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}});P(ui);var ci=_({},ee,{data:0});P(ci);var hi={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},fi={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},pi={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ei(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=pi[e])?!!t[e]:!1}function Ze(){return Ei}var mi=_({},ue,{key:function(e){if(e.key){var t=hi[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Ue(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?fi[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ze,charCode:function(e){return e.type==="keypress"?Ue(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Ue(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}});P(mi);var di=_({},Ne,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0});P(di);var vi=_({},ue,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ze});P(vi);var $i=_({},ee,{propertyName:0,elapsedTime:0,pseudoElement:0});P($i);var gi=_({},Ne,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0});P(gi);function Ri(e,t,r,n,s,i,l,u,a){var o=Array.prototype.slice.call(arguments,3);try{t.apply(r,o)}catch(h){this.onError(h)}}var oe=!1,ve=null,$e=!1,Xe=null,yi={onError:function(e){oe=!0,ve=e}};function Ii(e,t,r,n,s,i,l,u,a){oe=!1,ve=null,Ri.apply(yi,arguments)}function Li(e,t,r,n,s,i,l,u,a){if(Ii.apply(this,arguments),oe){if(oe){var o=ve;oe=!1,ve=null}else throw Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.");$e||($e=!0,Xe=o)}}var Je=Array.isArray,ce=ze.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events,Ni=ce[0],Si=ce[1],Ti=ce[2],Oi=ce[3],Ai=ce[4],wi=Q.unstable_act;function Ci(){}function _i(e,t){if(!e)return[];if(e=si(e),!e)return[];for(var r=e,n=[];;){if(r.tag===5||r.tag===6||r.tag===1||r.tag===0){var s=r.stateNode;t(s)&&n.push(s)}if(r.child)r.child.return=r,r=r.child;else{if(r===e)return n;for(;!r.sibling;){if(!r.return||r.return===e)return n;r=r.return}r.sibling.return=r.return,r=r.sibling}}}function B(e,t){if(e&&!e._reactInternals){var r=String(e);throw e=Je(e)?"an array":e&&e.nodeType===1&&e.tagName?"a DOM node":r==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":r,Error(t+"(...): the first argument must be a React class instance. Instead received: "+(e+"."))}}function Se(e){return!(!e||e.nodeType!==1||!e.tagName)}function Qe(e){return Se(e)?!1:e!=null&&typeof e.render=="function"&&typeof e.setState=="function"}function Gt(e,t){return Qe(e)?e._reactInternals.type===t:!1}function Te(e,t){return B(e,"findAllInRenderedTree"),e?_i(e._reactInternals,t):[]}function jt(e,t){return B(e,"scryRenderedDOMComponentsWithClass"),Te(e,function(r){if(Se(r)){var n=r.className;typeof n!="string"&&(n=r.getAttribute("class")||"");var s=n.split(/\s+/);if(!Je(t)){if(t===void 0)throw Error("TestUtils.scryRenderedDOMComponentsWithClass expects a className as a second argument.");t=t.split(/\s+/)}return t.every(function(i){return s.indexOf(i)!==-1})}return!1})}function Mt(e,t){return B(e,"scryRenderedDOMComponentsWithTag"),Te(e,function(r){return Se(r)&&r.tagName.toUpperCase()===t.toUpperCase()})}function Xt(e,t){return B(e,"scryRenderedComponentsWithType"),Te(e,function(r){return Gt(r,t)})}function Ot(e,t,r){var n=e.type||"unknown-event";e.currentTarget=Si(r),Li(n,t,void 0,e),e.currentTarget=null}function Vt(e,t,r){for(var n=[];e;){n.push(e);do e=e.return;while(e&&e.tag!==5);e=e||null}for(e=n.length;0Wi,mount:()=>Vi,parameters:()=>Yi,render:()=>Gi,renderToCanvas:()=>Xi});var Gi=(e,t)=>{let{id:r,component:n}=t;if(!n)throw new Error(`Unable to render story ${r} as the component annotation is missing from the default export`);return ie.createElement(n,{...e})};function ji(){return globalThis.IS_REACT_ACT_ENVIRONMENT}var{FRAMEWORK_OPTIONS:je}=Ui,Mi=class extends j.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidMount(){let{hasError:e}=this.state,{showMain:t}=this.props;e||t()}componentDidCatch(e){let{showException:t}=this.props;t(e)}render(){let{hasError:e}=this.state,{children:t}=this.props;return e?null:t}},At=je!=null&&je.strictMode?j.StrictMode:j.Fragment;async function Xi({storyContext:e,unboundStoryFn:t,showMain:r,showException:n,forceRemount:s},i){var p,L;let{renderElement:l,unmountElement:u}=await er(()=>import("./react-18-BH3B7EqY.js"),__vite__mapDeps([0,1,2]),import.meta.url),a=t,o=ji()?ie.createElement(a,{...e}):ie.createElement(Mi,{showMain:r,showException:n},ie.createElement(a,{...e})),h=At?ie.createElement(At,null,o):o;return s&&u(i),await l(h,i,(L=(p=e==null?void 0:e.parameters)==null?void 0:p.react)==null?void 0:L.rootOptions),()=>u(i)}var Vi=e=>async t=>(t!=null&&(e.originalStoryFn=()=>t),await e.renderToCanvas(),e.canvas),Yi={renderer:"react"},Wi=[(e,t)=>{var s,i;if(!((i=(s=t.parameters)==null?void 0:s.react)!=null&&i.rsc))return j.createElement(e,null);let r=Nt.major(j.version),n=Nt.minor(j.version);if(r<18||r===18&&n<3)throw new Error("React Server Components require React >= 18.3");return j.createElement(j.Suspense,null,j.createElement(e,null))}];export{Wi as decorators,Vi as mount,Yi as parameters,Gi as render,Xi as renderToCanvas}; diff --git a/assets/entry-preview-docs-Blm_ViJ3.js b/assets/entry-preview-docs-Blm_ViJ3.js new file mode 100644 index 00000000..51d36f86 --- /dev/null +++ b/assets/entry-preview-docs-Blm_ViJ3.js @@ -0,0 +1,54 @@ +import{a as Dr,b as ge}from"./chunk-H6MOWX77-DTQOW814.js";import{i as Zn,c as eu,y as tu,a as te,D as $r,N as ru,b as iu,d as Jr,L as Xr,$ as pt,Q as nu}from"./index-CxJhtZoZ.js";import{g as Ar,c as ct,a as uu,R as at,r as ze}from"./index-0d5eMwbi.js";import{d as su}from"./index-DrFu-skq.js";var bi={exports:{}},au="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",ou=au,lu=ou;function Si(){}function _i(){}_i.resetWarningCache=Si;var cu=function(){function e(i,u,s,a,h,p){if(p!==lu){var g=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw g.name="Invariant Violation",g}}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:_i,resetWarningCache:Si};return r.PropTypes=r,r};bi.exports=cu();var hu=bi.exports;const Hr=Ar(hu),fu=["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 pu=fu;const du=Ar(pu);var Bi={},wi={};(function(e){(function t(r){var i,u,s,a,h,p;function g(D){var x={},F,B;for(F in D)D.hasOwnProperty(F)&&(B=D[F],typeof B=="object"&&B!==null?x[F]=g(B):x[F]=B);return x}function m(D,x){var F,B,R,N;for(B=D.length,R=0;B;)F=B>>>1,N=R+F,x(D[N])?B=F:(R=N+1,B-=F+1);return R}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"},s={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"]},a={},h={},p={},u={Break:a,Skip:h,Remove:p};function y(D,x){this.parent=D,this.key=x}y.prototype.replace=function(x){this.parent[this.key]=x},y.prototype.remove=function(){return Array.isArray(this.parent)?(this.parent.splice(this.key,1),!0):(this.replace(null),!1)};function A(D,x,F,B){this.node=D,this.path=x,this.wrap=F,this.ref=B}function C(){}C.prototype.path=function(){var x,F,B,R,N,W;function q(M,H){if(Array.isArray(H))for(B=0,R=H.length;B=0;--F)if(D[F].node===x)return!0;return!1}C.prototype.traverse=function(x,F){var B,R,N,W,q,M,H,ne,oe,ie,Q,Ee;for(this.__initialize(x,F),Ee={},B=this.__worklist,R=this.__leavelist,B.push(new A(x,null,null,null)),R.push(new A(null,null,null,null));B.length;){if(N=B.pop(),N===Ee){if(N=R.pop(),M=this.__execute(F.leave,N),this.__state===a||M===a)return;continue}if(N.node){if(M=this.__execute(F.enter,N),this.__state===a||M===a)return;if(B.push(Ee),R.push(N),this.__state===h||M===h)continue;if(W=N.node,q=W.type||N.wrap,ie=this.__keys[q],!ie)if(this.__fallback)ie=this.__fallback(W);else throw new Error("Unknown node type "+q+".");for(ne=ie.length;(ne-=1)>=0;)if(H=ie[ne],Q=W[H],!!Q){if(Array.isArray(Q)){for(oe=Q.length;(oe-=1)>=0;)if(Q[oe]&&!b(R,Q[oe])){if(E(q,ie[ne]))N=new A(Q[oe],[H,oe],"Property",null);else if(v(Q[oe]))N=new A(Q[oe],[H,oe],null,null);else continue;B.push(N)}}else if(v(Q)){if(b(R,Q))continue;B.push(new A(Q,H,null,null))}}}}},C.prototype.replace=function(x,F){var B,R,N,W,q,M,H,ne,oe,ie,Q,Ee,we;function Xe(O){var Ve,Ct,Oe,ee;if(O.ref.remove()){for(Ct=O.ref.key,ee=O.ref.parent,Ve=B.length;Ve--;)if(Oe=B[Ve],Oe.ref&&Oe.ref.parent===ee){if(Oe.ref.key=0;)if(we=oe[H],ie=N[we],!!ie)if(Array.isArray(ie)){for(ne=ie.length;(ne-=1)>=0;)if(ie[ne]){if(E(W,oe[H]))M=new A(ie[ne],[we,ne],"Property",new y(ie,ne));else if(v(ie[ne]))M=new A(ie[ne],[we,ne],null,new y(ie,ne));else continue;B.push(M)}}else v(ie)&&B.push(new A(ie,we,null,new y(N,we)))}}return Ee.root};function I(D,x){var F=new C;return F.traverse(D,x)}function T(D,x){var F=new C;return F.replace(D,x)}function j(D,x){var F;return F=m(x,function(R){return R.range[0]>D.range[0]}),D.extendedRange=[D.range[0],D.range[1]],F!==x.length&&(D.extendedRange[1]=x[F].range[0]),F-=1,F>=0&&(D.extendedRange[0]=x[F].range[1]),D}function S(D,x,F){var B=[],R,N,W,q;if(!D.range)throw new Error("attachComments needs range information");if(!F.length){if(x.length){for(W=0,N=x.length;WM.range[0]));)H.extendedRange[1]===M.range[0]?(M.leadingComments||(M.leadingComments=[]),M.leadingComments.push(H),B.splice(q,1)):q+=1;if(q===B.length)return u.Break;if(B[q].extendedRange[0]>M.range[1])return u.Skip}}),q=0,I(D,{leave:function(M){for(var H;qM.range[1])return u.Skip}}),D}return r.Syntax=i,r.traverse=I,r.replace=T,r.attachComments=S,r.VisitorKeys=s,r.VisitorOption=u,r.Controller=C,r.cloneEnvironment=function(){return t({})},r})(e)})(wi);var St={},ki={exports:{}};(function(){function e(a){if(a==null)return!1;switch(a.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1}function t(a){if(a==null)return!1;switch(a.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function r(a){if(a==null)return!1;switch(a.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 i(a){return r(a)||a!=null&&a.type==="FunctionDeclaration"}function u(a){switch(a.type){case"IfStatement":return a.alternate!=null?a.alternate:a.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return a.body}return null}function s(a){var h;if(a.type!=="IfStatement"||a.alternate==null)return!1;h=a.consequent;do{if(h.type==="IfStatement"&&h.alternate==null)return!0;h=u(h)}while(h);return!1}ki.exports={isExpression:e,isStatement:r,isIterationStatement:t,isSourceElement:i,isProblematicIfStatement:s,trailingStatement:u}})();var mu=ki.exports,Ti={exports:{}};(function(){var e,t,r,i,u,s;t={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},e={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};function a(b){return 48<=b&&b<=57}function h(b){return 48<=b&&b<=57||97<=b&&b<=102||65<=b&&b<=70}function p(b){return b>=48&&b<=55}r=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function g(b){return b===32||b===9||b===11||b===12||b===160||b>=5760&&r.indexOf(b)>=0}function m(b){return b===10||b===13||b===8232||b===8233}function y(b){if(b<=65535)return String.fromCharCode(b);var I=String.fromCharCode(Math.floor((b-65536)/1024)+55296),T=String.fromCharCode((b-65536)%1024+56320);return I+T}for(i=new Array(128),s=0;s<128;++s)i[s]=s>=97&&s<=122||s>=65&&s<=90||s===36||s===95;for(u=new Array(128),s=0;s<128;++s)u[s]=s>=97&&s<=122||s>=65&&s<=90||s>=48&&s<=57||s===36||s===95;function A(b){return b<128?i[b]:t.NonAsciiIdentifierStart.test(y(b))}function C(b){return b<128?u[b]:t.NonAsciiIdentifierPart.test(y(b))}function v(b){return b<128?i[b]:e.NonAsciiIdentifierStart.test(y(b))}function E(b){return b<128?u[b]:e.NonAsciiIdentifierPart.test(y(b))}Ti.exports={isDecimalDigit:a,isHexDigit:h,isOctalDigit:p,isWhiteSpace:g,isLineTerminator:m,isIdentifierStartES5:A,isIdentifierPartES5:C,isIdentifierStartES6:v,isIdentifierPartES6:E}})();var Ii=Ti.exports,Pi={exports:{}};(function(){var e=Ii;function t(A){switch(A){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function r(A,C){return!C&&A==="yield"?!1:i(A,C)}function i(A,C){if(C&&t(A))return!0;switch(A.length){case 2:return A==="if"||A==="in"||A==="do";case 3:return A==="var"||A==="for"||A==="new"||A==="try";case 4:return A==="this"||A==="else"||A==="case"||A==="void"||A==="with"||A==="enum";case 5:return A==="while"||A==="break"||A==="catch"||A==="throw"||A==="const"||A==="yield"||A==="class"||A==="super";case 6:return A==="return"||A==="typeof"||A==="delete"||A==="switch"||A==="export"||A==="import";case 7:return A==="default"||A==="finally"||A==="extends";case 8:return A==="function"||A==="continue"||A==="debugger";case 10:return A==="instanceof";default:return!1}}function u(A,C){return A==="null"||A==="true"||A==="false"||r(A,C)}function s(A,C){return A==="null"||A==="true"||A==="false"||i(A,C)}function a(A){return A==="eval"||A==="arguments"}function h(A){var C,v,E;if(A.length===0||(E=A.charCodeAt(0),!e.isIdentifierStartES5(E)))return!1;for(C=1,v=A.length;C=v||(b=A.charCodeAt(C),!(56320<=b&&b<=57343)))return!1;E=p(E,b)}if(!I(E))return!1;I=e.isIdentifierPartES6}return!0}function m(A,C){return h(A)&&!u(A,C)}function y(A,C){return g(A)&&!s(A,C)}Pi.exports={isKeywordES5:r,isKeywordES6:i,isReservedWordES5:u,isReservedWordES6:s,isRestrictedWord:a,isIdentifierNameES5:h,isIdentifierNameES6:g,isIdentifierES5:m,isIdentifierES6:y}})();var gu=Pi.exports;(function(){St.ast=mu,St.code=Ii,St.keyword=gu})();var nt={},Zt={},Ft={},vt={},Qr;function Du(){if(Qr)return vt;Qr=1;var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return vt.encode=function(t){if(0<=t&&t>1;return p?-g:g}return Ft.encode=function(p){var g="",m,y=s(p);do m=y&i,y>>>=t,y>0&&(m|=u),g+=e.encode(m);while(y>0);return g},Ft.decode=function(p,g,m){var y=p.length,A=0,C=0,v,E;do{if(g>=y)throw new Error("Expected more digits in base 64 VLQ value.");if(E=e.decode(p.charCodeAt(g++)),E===-1)throw new Error("Invalid base64 digit: "+p.charAt(g-1));v=!!(E&u),E&=i,A=A+(E<=0;W--)R=B[W],R==="."?B.splice(W,1):R===".."?N++:N>0&&(R===""?(B.splice(W+1,N),N=0):(B.splice(W,2),N--));return D=B.join("/"),D===""&&(D=F?"/":"."),x?(x.path=D,s(x)):D}e.normalize=a;function h(S,D){S===""&&(S="."),D===""&&(D=".");var x=u(D),F=u(S);if(F&&(S=F.path||"/"),x&&!x.scheme)return F&&(x.scheme=F.scheme),s(x);if(x||D.match(i))return D;if(F&&!F.host&&!F.path)return F.host=D,s(F);var B=D.charAt(0)==="/"?D:a(S.replace(/\/+$/,"")+"/"+D);return F?(F.path=B,s(F)):B}e.join=h,e.isAbsolute=function(S){return S.charAt(0)==="/"||r.test(S)};function p(S,D){S===""&&(S="."),S=S.replace(/\/$/,"");for(var x=0;D.indexOf(S+"/")!==0;){var F=S.lastIndexOf("/");if(F<0||(S=S.slice(0,F),S.match(/^([^\/]+:\/)?\/*$/)))return D;++x}return Array(x+1).join("../")+D.substr(S.length+1)}e.relative=p;var g=function(){var S=Object.create(null);return!("__proto__"in S)}();function m(S){return S}function y(S){return C(S)?"$"+S:S}e.toSetString=g?m:y;function A(S){return C(S)?S.slice(1):S}e.fromSetString=g?m:A;function C(S){if(!S)return!1;var D=S.length;if(D<9||S.charCodeAt(D-1)!==95||S.charCodeAt(D-2)!==95||S.charCodeAt(D-3)!==111||S.charCodeAt(D-4)!==116||S.charCodeAt(D-5)!==111||S.charCodeAt(D-6)!==114||S.charCodeAt(D-7)!==112||S.charCodeAt(D-8)!==95||S.charCodeAt(D-9)!==95)return!1;for(var x=D-10;x>=0;x--)if(S.charCodeAt(x)!==36)return!1;return!0}function v(S,D,x){var F=b(S.source,D.source);return F!==0||(F=S.originalLine-D.originalLine,F!==0)||(F=S.originalColumn-D.originalColumn,F!==0||x)||(F=S.generatedColumn-D.generatedColumn,F!==0)||(F=S.generatedLine-D.generatedLine,F!==0)?F:b(S.name,D.name)}e.compareByOriginalPositions=v;function E(S,D,x){var F=S.generatedLine-D.generatedLine;return F!==0||(F=S.generatedColumn-D.generatedColumn,F!==0||x)||(F=b(S.source,D.source),F!==0)||(F=S.originalLine-D.originalLine,F!==0)||(F=S.originalColumn-D.originalColumn,F!==0)?F:b(S.name,D.name)}e.compareByGeneratedPositionsDeflated=E;function b(S,D){return S===D?0:S===null?1:D===null?-1:S>D?1:-1}function I(S,D){var x=S.generatedLine-D.generatedLine;return x!==0||(x=S.generatedColumn-D.generatedColumn,x!==0)||(x=b(S.source,D.source),x!==0)||(x=S.originalLine-D.originalLine,x!==0)||(x=S.originalColumn-D.originalColumn,x!==0)?x:b(S.name,D.name)}e.compareByGeneratedPositionsInflated=I;function T(S){return JSON.parse(S.replace(/^\)]}'[^\n]*\n/,""))}e.parseSourceMapInput=T;function j(S,D,x){if(D=D||"",S&&(S[S.length-1]!=="/"&&D[0]!=="/"&&(S+="/"),D=S+D),x){var F=u(x);if(!F)throw new Error("sourceMapURL could not be parsed");if(F.path){var B=F.path.lastIndexOf("/");B>=0&&(F.path=F.path.substring(0,B+1))}D=h(s(F),D)}return a(D)}e.computeSourceURL=j}(er)),er}var tr={},Zr;function Li(){if(Zr)return tr;Zr=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(s,a){for(var h=new i,p=0,g=s.length;p=0)return a}else{var h=e.toSetString(s);if(t.call(this._set,h))return this._set[h]}throw new Error('"'+s+'" is not in the set.')},i.prototype.at=function(s){if(s>=0&&ss||a==s&&p>=h||e.compareByGeneratedPositionsInflated(i,u)<=0}function r(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return r.prototype.unsortedForEach=function(u,s){this._array.forEach(u,s)},r.prototype.add=function(u){t(this._last,u)?(this._last=u,this._array.push(u)):(this._sorted=!1,this._array.push(u))},r.prototype.toArray=function(){return this._sorted||(this._array.sort(e.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},rr.MappingList=r,rr}var ti;function Oi(){if(ti)return Zt;ti=1;var e=Ni(),t=dt(),r=Li().ArraySet,i=Au().MappingList;function u(s){s||(s={}),this._file=t.getArg(s,"file",null),this._sourceRoot=t.getArg(s,"sourceRoot",null),this._skipValidation=t.getArg(s,"skipValidation",!1),this._sources=new r,this._names=new r,this._mappings=new i,this._sourcesContents=null}return u.prototype._version=3,u.fromSourceMap=function(a){var h=a.sourceRoot,p=new u({file:a.file,sourceRoot:h});return a.eachMapping(function(g){var m={generated:{line:g.generatedLine,column:g.generatedColumn}};g.source!=null&&(m.source=g.source,h!=null&&(m.source=t.relative(h,m.source)),m.original={line:g.originalLine,column:g.originalColumn},g.name!=null&&(m.name=g.name)),p.addMapping(m)}),a.sources.forEach(function(g){var m=g;h!==null&&(m=t.relative(h,g)),p._sources.has(m)||p._sources.add(m);var y=a.sourceContentFor(g);y!=null&&p.setSourceContent(g,y)}),p},u.prototype.addMapping=function(a){var h=t.getArg(a,"generated"),p=t.getArg(a,"original",null),g=t.getArg(a,"source",null),m=t.getArg(a,"name",null);this._skipValidation||this._validateMapping(h,p,g,m),g!=null&&(g=String(g),this._sources.has(g)||this._sources.add(g)),m!=null&&(m=String(m),this._names.has(m)||this._names.add(m)),this._mappings.add({generatedLine:h.line,generatedColumn:h.column,originalLine:p!=null&&p.line,originalColumn:p!=null&&p.column,source:g,name:m})},u.prototype.setSourceContent=function(a,h){var p=a;this._sourceRoot!=null&&(p=t.relative(this._sourceRoot,p)),h!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[t.toSetString(p)]=h):this._sourcesContents&&(delete this._sourcesContents[t.toSetString(p)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},u.prototype.applySourceMap=function(a,h,p){var g=h;if(h==null){if(a.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);g=a.file}var m=this._sourceRoot;m!=null&&(g=t.relative(m,g));var y=new r,A=new r;this._mappings.unsortedForEach(function(C){if(C.source===g&&C.originalLine!=null){var v=a.originalPositionFor({line:C.originalLine,column:C.originalColumn});v.source!=null&&(C.source=v.source,p!=null&&(C.source=t.join(p,C.source)),m!=null&&(C.source=t.relative(m,C.source)),C.originalLine=v.line,C.originalColumn=v.column,v.name!=null&&(C.name=v.name))}var E=C.source;E!=null&&!y.has(E)&&y.add(E);var b=C.name;b!=null&&!A.has(b)&&A.add(b)},this),this._sources=y,this._names=A,a.sources.forEach(function(C){var v=a.sourceContentFor(C);v!=null&&(p!=null&&(C=t.join(p,C)),m!=null&&(C=t.relative(m,C)),this.setSourceContent(C,v))},this)},u.prototype._validateMapping=function(a,h,p,g){if(h&&typeof h.line!="number"&&typeof h.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(a&&"line"in a&&"column"in a&&a.line>0&&a.column>=0&&!h&&!p&&!g)){if(a&&"line"in a&&"column"in a&&h&&"line"in h&&"column"in h&&a.line>0&&a.column>=0&&h.line>0&&h.column>=0&&p)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:a,source:p,original:h,name:g}))}},u.prototype._serializeMappings=function(){for(var a=0,h=1,p=0,g=0,m=0,y=0,A="",C,v,E,b,I=this._mappings.toArray(),T=0,j=I.length;T0){if(!t.compareByGeneratedPositionsInflated(v,I[T-1]))continue;C+=","}C+=e.encode(v.generatedColumn-a),a=v.generatedColumn,v.source!=null&&(b=this._sources.indexOf(v.source),C+=e.encode(b-y),y=b,C+=e.encode(v.originalLine-1-g),g=v.originalLine-1,C+=e.encode(v.originalColumn-p),p=v.originalColumn,v.name!=null&&(E=this._names.indexOf(v.name),C+=e.encode(E-m),m=E)),A+=C}return A},u.prototype._generateSourcesContent=function(a,h){return a.map(function(p){if(!this._sourcesContents)return null;h!=null&&(p=t.relative(h,p));var g=t.toSetString(p);return Object.prototype.hasOwnProperty.call(this._sourcesContents,g)?this._sourcesContents[g]:null},this)},u.prototype.toJSON=function(){var a={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(a.file=this._file),this._sourceRoot!=null&&(a.sourceRoot=this._sourceRoot),this._sourcesContents&&(a.sourcesContent=this._generateSourcesContent(a.sources,a.sourceRoot)),a},u.prototype.toString=function(){return JSON.stringify(this.toJSON())},Zt.SourceMapGenerator=u,Zt}var ut={},ir={},ri;function Cu(){return ri||(ri=1,function(e){e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2;function t(r,i,u,s,a,h){var p=Math.floor((i-r)/2)+r,g=a(u,s[p],!0);return g===0?p:g>0?i-p>1?t(p,i,u,s,a,h):h==e.LEAST_UPPER_BOUND?i1?t(r,p,u,s,a,h):h==e.LEAST_UPPER_BOUND?p:r<0?-1:r}e.search=function(i,u,s,a){if(u.length===0)return-1;var h=t(-1,u.length,i,u,s,a||e.GREATEST_LOWER_BOUND);if(h<0)return-1;for(;h-1>=0&&s(u[h],u[h-1],!0)===0;)--h;return h}}(ir)),ir}var nr={},ii;function Eu(){if(ii)return nr;ii=1;function e(i,u,s){var a=i[u];i[u]=i[s],i[s]=a}function t(i,u){return Math.round(i+Math.random()*(u-i))}function r(i,u,s,a){if(s=0){var E=this._originalMappings[v];if(m.column===void 0)for(var b=E.originalLine;E&&E.originalLine===b;)C.push({line:e.getArg(E,"generatedLine",null),column:e.getArg(E,"generatedColumn",null),lastColumn:e.getArg(E,"lastGeneratedColumn",null)}),E=this._originalMappings[++v];else for(var I=E.originalColumn;E&&E.originalLine===y&&E.originalColumn==I;)C.push({line:e.getArg(E,"generatedLine",null),column:e.getArg(E,"generatedColumn",null),lastColumn:e.getArg(E,"lastGeneratedColumn",null)}),E=this._originalMappings[++v]}return C},ut.SourceMapConsumer=s;function a(g,m){var y=g;typeof g=="string"&&(y=e.parseSourceMapInput(g));var A=e.getArg(y,"version"),C=e.getArg(y,"sources"),v=e.getArg(y,"names",[]),E=e.getArg(y,"sourceRoot",null),b=e.getArg(y,"sourcesContent",null),I=e.getArg(y,"mappings"),T=e.getArg(y,"file",null);if(A!=this._version)throw new Error("Unsupported version: "+A);E&&(E=e.normalize(E)),C=C.map(String).map(e.normalize).map(function(j){return E&&e.isAbsolute(E)&&e.isAbsolute(j)?e.relative(E,j):j}),this._names=r.fromArray(v.map(String),!0),this._sources=r.fromArray(C,!0),this._absoluteSources=this._sources.toArray().map(function(j){return e.computeSourceURL(E,j,m)}),this.sourceRoot=E,this.sourcesContent=b,this._mappings=I,this._sourceMapURL=m,this.file=T}a.prototype=Object.create(s.prototype),a.prototype.consumer=s,a.prototype._findSourceIndex=function(g){var m=g;if(this.sourceRoot!=null&&(m=e.relative(this.sourceRoot,m)),this._sources.has(m))return this._sources.indexOf(m);var y;for(y=0;y1&&(B.source=b+N[1],b+=N[1],B.originalLine=v+N[2],v=B.originalLine,B.originalLine+=1,B.originalColumn=E+N[3],E=B.originalColumn,N.length>4&&(B.name=I+N[4],I+=N[4])),F.push(B),typeof B.originalLine=="number"&&x.push(B)}u(F,e.compareByGeneratedPositionsDeflated),this.__generatedMappings=F,u(x,e.compareByOriginalPositions),this.__originalMappings=x},a.prototype._findMapping=function(m,y,A,C,v,E){if(m[A]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+m[A]);if(m[C]<0)throw new TypeError("Column must be greater than or equal to 0, got "+m[C]);return t.search(m,y,v,E)},a.prototype.computeColumnSpans=function(){for(var m=0;m=0){var C=this._generatedMappings[A];if(C.generatedLine===y.generatedLine){var v=e.getArg(C,"source",null);v!==null&&(v=this._sources.at(v),v=e.computeSourceURL(this.sourceRoot,v,this._sourceMapURL));var E=e.getArg(C,"name",null);return E!==null&&(E=this._names.at(E)),{source:v,line:e.getArg(C,"originalLine",null),column:e.getArg(C,"originalColumn",null),name:E}}}return{source:null,line:null,column:null,name:null}},a.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(m){return m==null}):!1},a.prototype.sourceContentFor=function(m,y){if(!this.sourcesContent)return null;var A=this._findSourceIndex(m);if(A>=0)return this.sourcesContent[A];var C=m;this.sourceRoot!=null&&(C=e.relative(this.sourceRoot,C));var v;if(this.sourceRoot!=null&&(v=e.urlParse(this.sourceRoot))){var E=C.replace(/^file:\/\//,"");if(v.scheme=="file"&&this._sources.has(E))return this.sourcesContent[this._sources.indexOf(E)];if((!v.path||v.path=="/")&&this._sources.has("/"+C))return this.sourcesContent[this._sources.indexOf("/"+C)]}if(y)return null;throw new Error('"'+C+'" is not in the SourceMap.')},a.prototype.generatedPositionFor=function(m){var y=e.getArg(m,"source");if(y=this._findSourceIndex(y),y<0)return{line:null,column:null,lastColumn:null};var A={source:y,originalLine:e.getArg(m,"line"),originalColumn:e.getArg(m,"column")},C=this._findMapping(A,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,e.getArg(m,"bias",s.GREATEST_LOWER_BOUND));if(C>=0){var v=this._originalMappings[C];if(v.source===A.source)return{line:e.getArg(v,"generatedLine",null),column:e.getArg(v,"generatedColumn",null),lastColumn:e.getArg(v,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},ut.BasicSourceMapConsumer=a;function p(g,m){var y=g;typeof g=="string"&&(y=e.parseSourceMapInput(g));var A=e.getArg(y,"version"),C=e.getArg(y,"sections");if(A!=this._version)throw new Error("Unsupported version: "+A);this._sources=new r,this._names=new r;var v={line:-1,column:0};this._sections=C.map(function(E){if(E.url)throw new Error("Support for url field in sections not implemented.");var b=e.getArg(E,"offset"),I=e.getArg(b,"line"),T=e.getArg(b,"column");if(I=0;p--)this.prepend(h[p]);else if(h[u]||typeof h=="string")this.children.unshift(h);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+h);return this},s.prototype.walk=function(h){for(var p,g=0,m=this.children.length;g0){for(p=[],g=0;g=6.0"},Iu=[{name:"Yusuke Suzuki",email:"utatane.tea@gmail.com",web:"http://github.com/Constellation"}],Pu={type:"git",url:"http://github.com/estools/escodegen.git"},Nu={estraverse:"^5.2.0",esutils:"^2.0.2",esprima:"^4.0.1"},Lu={"source-map":"~0.6.1"},Ou={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"},Ru="BSD-2-Clause",Mu={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"},ju={name:vu,description:bu,homepage:Su,main:_u,bin:Bu,files:wu,version:ku,engines:Tu,maintainers:Iu,repository:Pu,dependencies:Nu,optionalDependencies:Lu,devDependencies:Ou,license:Ru,scripts:Mu};(function(e){(function(){var t,r,i,u,s,a,h,p,g,m,y,A,C,v,E,b,I,T,j,S,D,x,F,B,R,N;s=wi,a=St,t=s.Syntax;function W(n){return ae.Expression.hasOwnProperty(n.type)}function q(n){return ae.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 M=1,H=2,ne=4,oe=8,ie=16,Q=32,Ee=64,we=H|ne,Xe=M|H,O=M|H|ne,Ve=M,Ct=ne,Oe=M|ne,ee=M,Se=M|Q,Et=0,jn=M|ie,Vn=M|oe;function Rr(){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 qe(n,l){var o="";for(l|=0;l>0;l>>>=1,n+=n)l&1&&(o+=n);return o}function qn(n){return/[\r\n]/g.test(n)}function he(n){var l=n.length;return l&&a.code.isLineTerminator(n.charCodeAt(l-1))}function Mr(n,l){var o;for(o in l)l.hasOwnProperty(o)&&(n[o]=l[o]);return n}function yt(n,l){var o,c;function d(_){return typeof _=="object"&&_ instanceof Object&&!(_ instanceof RegExp)}for(o in l)l.hasOwnProperty(o)&&(c=l[o],d(c)?d(n[o])?yt(n[o],c):n[o]=yt({},c):n[o]=c);return n}function Un(n){var l,o,c,d,_;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 g?"null":m?"1e400":"1e+400";if(l=""+n,!m||l.length<3)return l;for(o=l.indexOf("."),!g&&l.charCodeAt(0)===48&&o===1&&(o=0,l=l.slice(1)),c=l,l=l.replace("e+","e"),d=0,(_=c.indexOf("e"))>0&&(d=+c.slice(_+1),c=c.slice(0,_)),o>=0&&(d-=c.length-o-1,c=+(c.slice(0,o)+c.slice(o+1))+""),_=0;c.charCodeAt(c.length+_-1)===48;)--_;return _!==0&&(d-=_,c=c.slice(0,_)),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&&!a.code.isDecimalDigit(l)?"\\0":n===11?"\\x0B":"\\x"+"00".slice(o.length)+o)}function zn(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 $n(n){var l,o,c,d;for(d=A==="double"?'"':"'",l=0,o=n.length;l126))){l+=Gn(d,n.charCodeAt(o+1));continue}l+=String.fromCharCode(d)}if(k=!(A==="double"||A==="auto"&&w<_),L=k?"'":'"',!(k?_:w))return L+l+L;for(n=l,l=L,o=0,c=n.length;o=0&&!a.code.isLineTerminator(n.charCodeAt(l));--l);return n.length-1-l}function Hn(n,l){var o,c,d,_,w,k,L,J;for(o=n.split(/\r\n|[\r\n]/),k=Number.MAX_VALUE,c=1,d=o.length;cw&&(k=w)}for(typeof l<"u"?(L=h,o[1][k]==="*"&&(l+=" "),h=l):(k&1&&--k,L=h),c=1,d=o.length;c0){if(_=l,B){for(d=n.leadingComments[0],l=[],J=d.extendedRange,ce=d.range,Qe=F.substring(J[0],ce[0]),_e=(Qe.match(/\n/g)||[]).length,_e>0?(l.push(qe(` +`,_e)),l.push(pe(ke(d)))):(l.push(Qe),l.push(ke(d))),Ue=ce,o=1,c=n.leadingComments.length;o0?(l.push(qe(` +`,_e)),l.push(pe(ke(d)))):(l.push(Qe),l.push(ke(d)));else for(w=!he(Y(l).toString()),k=qe(" ",Xn(Y([h,l,p]).toString())),o=0,c=n.trailingComments.length;o")),n.expression?(l.push(E),o=this.generateExpression(n.body,r.Assignment,O),o.toString().charAt(0)==="{"&&(o=["(",o,")"]),l.push(o)):l.push(this.maybeBlock(n.body,Vn)),l},ae.prototype.generateIterationForStatement=function(n,l,o){var c=["for"+(l.await?fe()+"await":"")+E+"("],d=this;return se(function(){l.left.type===t.VariableDeclaration?se(function(){c.push(l.left.kind+fe()),c.push(d.generateStatement(l.left.declarations[0],Et))}):c.push(d.generateExpression(l.left,r.Call,O)),c=U(c,n),c=[U(c,d.generateExpression(l.right,r.Assignment,O)),")"]}),c.push(this.maybeBlock(l.body,o)),c},ae.prototype.generatePropertyKey=function(n,l){var o=[];return l&&o.push("["),o.push(this.generateExpression(n,r.Assignment,O)),l&&o.push("]"),o},ae.prototype.generateAssignment=function(n,l,o,c,d){return r.Assignment2&&(c=F.substring(o[0]+1,o[1]-1),c[0]===` +`&&(d=["{"]),d.push(c)));var w,k,L,J;for(J=ee,l&oe&&(J|=ie),w=0,k=n.body.length;w0&&!n.body[w-1].trailingComments&&!n.body[w].leadingComments&&He(n.body[w-1].range[1],n.body[w].range[0],d)),w===k-1&&(J|=Q),n.body[w].leadingComments&&B?L=_.generateStatement(n.body[w],J):L=pe(_.generateStatement(n.body[w],J)),d.push(L),he(Y(L).toString())||B&&w1?se(L):L(),o.push(this.semicolon(l)),o},ThrowStatement:function(n,l){return[U("throw",this.generateExpression(n.argument,r.Sequence,O)),this.semicolon(l)]},TryStatement:function(n,l){var o,c,d,_;if(o=["try",this.maybeBlock(n.block,ee)],o=this.maybeBlockSuffix(n.block,o),n.handlers)for(c=0,d=n.handlers.length;c0?` +`:""],w=jn,d=0;d<_;++d)!T&&d===_-1&&(w|=Q),B&&(d===0&&(n.body[0].leadingComments||He(n.range[0],n.body[d].range[0],o)),d>0&&!n.body[d-1].trailingComments&&!n.body[d].leadingComments&&He(n.body[d-1].range[1],n.body[d].range[0],o)),c=pe(this.generateStatement(n.body[d],w)),o.push(c),d+1<_&&!he(Y(c).toString())&&(B&&n.body[d+1].leadingComments||o.push(v)),B&&d===_-1&&(n.body[d].trailingComments||He(n.body[d].range[1],n.range[1],o));return o},FunctionDeclaration:function(n,l){return[it(n,!0),"function",xt(n)||fe(),n.id?De(n.id):"",this.generateFunctionBody(n)]},ReturnStatement:function(n,l){return n.argument?[U("return",this.generateExpression(n.argument,r.Sequence,O)),this.semicolon(l)]:["return"+this.semicolon(l)]},WhileStatement:function(n,l){var o,c=this;return se(function(){o=["while"+E+"(",c.generateExpression(n.test,r.Sequence,O),")"]}),o.push(this.maybeBlock(n.body,l&Q?Se:ee)),o},WithStatement:function(n,l){var o,c=this;return se(function(){o=["with"+E+"(",c.generateExpression(n.object,r.Sequence,O),")"]}),o.push(this.maybeBlock(n.body,l&Q?Se:ee)),o}},Mr(ae.prototype,ae.Statement),ae.Expression={SequenceExpression:function(n,l,o){var c,d,_;for(r.Sequence0){for(c.push("("),_=0,w=d;_=2&&d.charCodeAt(0)===48)&&c.push(" ")),c.push(n.optional?"?.":"."),c.push(De(n.property))),le(c,r.Member,l)},MetaProperty:function(n,l,o){var c;return c=[],c.push(typeof n.meta=="string"?n.meta:De(n.meta)),c.push("."),c.push(typeof n.property=="string"?n.property:De(n.property)),le(c,r.Member,l)},UnaryExpression:function(n,l,o){var c,d,_,w,k;return d=this.generateExpression(n.argument,r.Unary,O),E===""?c=U(n.operator,d):(c=[n.operator],n.operator.length>2?c=U(c,d):(w=Y(c).toString(),k=w.charCodeAt(w.length-1),_=d.toString().charCodeAt(0),((k===43||k===45)&&k===_||a.code.isIdentifierPartES5(k)&&a.code.isIdentifierPartES5(_))&&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,O))),le(c,r.Yield,l)},AwaitExpression:function(n,l,o){var c=U(n.all?"await*":"await",this.generateExpression(n.argument,r.Await,O));return le(c,r.Await,l)},UpdateExpression:function(n,l,o){return n.prefix?le([n.operator,this.generateExpression(n.argument,r.Unary,O)],r.Unary,l):le([this.generateExpression(n.argument,r.Postfix,O),n.operator],r.Postfix,l)},FunctionExpression:function(n,l,o){var c=[it(n,!0),"function"];return n.id?(c.push(xt(n)||fe()),c.push(De(n.id))):c.push(xt(n)||E),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=this;return n.elements.length?(_=c?!1:n.elements.length>1,d=["[",_?v:""],se(function(k){var L,J;for(L=0,J=n.elements.length;L1,se(function(){_=w.generateExpression(n.properties[0],r.Sequence,O)}),!c&&!qn(Y(_).toString())?["{",E,_,E,"}"]:(se(function(k){var L,J;if(d=["{",v,k,_],c)for(d.push(","+v),L=1,J=n.properties.length;L0||S.moz.comprehensionExpressionStartsWithAssignment?c=U(c,w):c.push(w)}),n.filter&&(c=U(c,"if"+E),w=this.generateExpression(n.filter,r.Sequence,O),c=U(c,["(",w,")"])),S.moz.comprehensionExpressionStartsWithAssignment||(w=this.generateExpression(n.body,r.Assignment,O),c=U(c,w)),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],Et)]:c=this.generateExpression(n.left,r.Call,O),c=U(c,n.of?"of":"in"),c=U(c,this.generateExpression(n.right,r.Sequence,O)),["for"+E+"(",c,")"]},SpreadElement:function(n,l,o){return["...",this.generateExpression(n.argument,r.Assignment,O)]},TaggedTemplateExpression:function(n,l,o){var c=Xe;o&H||(c=Ve);var d=[this.generateExpression(n.tag,r.Call,c),this.generateExpression(n.quasi,r.Primary,Ct)];return le(d,r.TaggedTemplate,l)},TemplateElement:function(n,l,o){return n.value.raw},TemplateLiteral:function(n,l,o){var c,d,_;for(c=["`"],d=0,_=n.quasis.length;d<_;++d)c.push(this.generateExpression(n.quasis[d],r.Primary,O)),d+1<_&&(c.push("${"+E),c.push(this.generateExpression(n.expressions[d],r.Sequence,O)),c.push(E+"}"));return c.push("`"),c},ModuleSpecifier:function(n,l,o){return this.Literal(n,l,o)},ImportExpression:function(n,l,o){return le(["import(",this.generateExpression(n.source,r.Assignment,O),")"],r.Call,l)}},Mr(ae.prototype,ae.Expression),ae.prototype.generateExpression=function(n,l,o){var c,d;return d=n.type||t.Property,S.verbatim&&n.hasOwnProperty(S.verbatim)?Qn(n,l):(c=this[d](n,l,o),S.comment&&(c=qr(n,c)),Y(c,n))},ae.prototype.generateStatement=function(n,l){var o,c;return o=this[n.type](n,l),S.comment&&(o=qr(n,o)),c=Y(o).toString(),n.type===t.Program&&!T&&v===""&&c.charAt(c.length-1)===` +`&&(o=x?Y(o).replaceRight(/\s+$/,""):c.replace(/\s+$/,"")),Y(o,n)};function Kn(n){var l;if(l=new ae,q(n))return l.generateStatement(n,ee);if(W(n))return l.generateExpression(n,r.Sequence,O);throw new Error("Unknown node type: "+n.type)}function Yn(n,l){var o=Rr(),c,d;return l!=null?(typeof l.indent=="string"&&(o.format.indent.style=l.indent),typeof l.base=="number"&&(o.format.indent.base=l.base),l=yt(o,l),p=l.format.indent.style,typeof l.base=="string"?h=l.base:h=qe(p,l.format.indent.base)):(l=o,p=l.format.indent.style,h=qe(p,l.format.indent.base)),g=l.format.json,m=l.format.renumber,y=g?!1:l.format.hexadecimal,A=g?"double":l.format.quotes,C=l.format.escapeless,v=l.format.newline,E=l.format.space,l.format.compact&&(v=E=p=h=""),b=l.format.parentheses,I=l.format.semicolons,T=l.format.safeConcatenation,j=l.directive,D=g?null:l.parse,x=l.sourceMap,F=l.sourceCode,B=l.format.preserveBlankLines&&F!==null,S=l,x&&(e.browser?u=ct.sourceMap.SourceNode:u=Fu().SourceNode),c=Kn(n),x?(d=c.toStringWithSourceMap({file:l.file,sourceRoot:l.sourceMapRoot}),l.sourceContent&&d.map.setSourceContent(l.sourceMap,l.sourceContent),l.sourceMapWithCode?d:d.map.toString()):(d={code:c.toString(),map:null},l.sourceMapWithCode?d:d.code)}R={indent:{style:"",base:0},renumber:!0,hexadecimal:!0,quotes:"auto",escapeless:!0,compact:!0,parentheses:!1,semicolons:!1},N=Rr().format,e.version=ju.version,e.generate=Yn,e.attachComments=s.attachComments,e.Precedence=yt({},r),e.browser=!1,e.FORMAT_MINIFY=R,e.FORMAT_DEFAULTS=N})()})(Bi);var sr={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},ar="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",Vu={5:ar,"5module":ar+" export import",6:ar+" const class extends export import super"},qu=/^in(stanceof)?$/,Cr="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",Ri="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",Uu=new RegExp("["+Cr+"]"),Wu=new RegExp("["+Cr+Ri+"]");Cr=Ri=null;var Mi=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938],Gu=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function lr(e,t){for(var r=65536,i=0;ie)return!1;if(r+=t[i+1],r>=e)return!0}}function Pe(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&Uu.test(String.fromCharCode(e)):t===!1?!1:lr(e,Mi)}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&&Wu.test(String.fromCharCode(e)):t===!1?!1:lr(e,Mi)||lr(e,Gu)}var K=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 ye(e,t){return new K(e,{beforeExpr:!0,binop:t})}var xe={beforeExpr:!0},Ae={startsExpr:!0},Pt={};function X(e,t){return t===void 0&&(t={}),t.keyword=e,Pt[e]=new K(e,t)}var f={num:new K("num",Ae),regexp:new K("regexp",Ae),string:new K("string",Ae),name:new K("name",Ae),eof:new K("eof"),bracketL:new K("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new K("]"),braceL:new K("{",{beforeExpr:!0,startsExpr:!0}),braceR:new K("}"),parenL:new K("(",{beforeExpr:!0,startsExpr:!0}),parenR:new K(")"),comma:new K(",",xe),semi:new K(";",xe),colon:new K(":",xe),dot:new K("."),question:new K("?",xe),questionDot:new K("?."),arrow:new K("=>",xe),template:new K("template"),invalidTemplate:new K("invalidTemplate"),ellipsis:new K("...",xe),backQuote:new K("`",Ae),dollarBraceL:new K("${",{beforeExpr:!0,startsExpr:!0}),eq:new K("=",{beforeExpr:!0,isAssign:!0}),assign:new K("_=",{beforeExpr:!0,isAssign:!0}),incDec:new K("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new K("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:ye("||",1),logicalAND:ye("&&",2),bitwiseOR:ye("|",3),bitwiseXOR:ye("^",4),bitwiseAND:ye("&",5),equality:ye("==/!=/===/!==",6),relational:ye("/<=/>=",7),bitShift:ye("<>/>>>",8),plusMin:new K("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:ye("%",10),star:ye("*",10),slash:ye("/",10),starstar:new K("**",{beforeExpr:!0}),coalesce:ye("??",1),_break:X("break"),_case:X("case",xe),_catch:X("catch"),_continue:X("continue"),_debugger:X("debugger"),_default:X("default",xe),_do:X("do",{isLoop:!0,beforeExpr:!0}),_else:X("else",xe),_finally:X("finally"),_for:X("for",{isLoop:!0}),_function:X("function",Ae),_if:X("if"),_return:X("return",xe),_switch:X("switch"),_throw:X("throw",xe),_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",Ae),_super:X("super",Ae),_class:X("class",Ae),_extends:X("extends",xe),_export:X("export"),_import:X("import",Ae),_null:X("null",Ae),_true:X("true",Ae),_false:X("false",Ae),_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})},Ce=/\r\n?|\n|\u2028|\u2029/,Ke=new RegExp(Ce.source,"g");function tt(e,t){return e===10||e===13||!t&&(e===8232||e===8233)}var Er=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,ve=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,ji=Object.prototype,zu=ji.hasOwnProperty,$u=ji.toString;function Nt(e,t){return zu.call(e,t)}var ai=Array.isArray||function(e){return $u.call(e)==="[object Array]"};function We(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 yr(e,t){for(var r=1,i=0;;){Ke.lastIndex=i;var u=Ke.exec(e);if(u&&u.index=2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),ai(t.onToken)){var i=t.onToken;t.onToken=function(u){return i.push(u)}}return ai(t.onComment)&&(t.onComment=Xu(t,t.onComment)),t}function Xu(e,t){return function(r,i,u,s,a,h){var p={type:r?"Block":"Line",value:i,start:u,end:s};e.locations&&(p.loc=new mt(this,a,h)),e.ranges&&(p.range=[u,s]),t.push(p)}}var ht=1,gt=2,xr=ht|gt,Vi=4,qi=8,Ui=16,Wi=32,Gi=64,zi=128;function Fr(e,t){return gt|(e?Vi:0)|(t?qi:0)}var oi=0,vr=1,Ie=2,$i=3,Ji=4,Xi=5,re=function(t,r,i){this.options=t=Ju(t),this.sourceFile=t.sourceFile,this.keywords=We(Vu[t.ecmaVersion>=6?6:t.sourceType==="module"?"5module":5]);var u="";if(t.allowReserved!==!0){for(var s=t.ecmaVersion;!(u=sr[s]);s--);t.sourceType==="module"&&(u+=" await")}this.reservedWords=We(u);var a=(u?u+" ":"")+sr.strict;this.reservedWordsStrict=We(a),this.reservedWordsStrictBind=We(a+" "+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(Ce).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=f.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=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(ht),this.regexpState=null},$e={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)};$e.inFunction.get=function(){return(this.currentVarScope().flags>)>0};$e.inGenerator.get=function(){return(this.currentVarScope().flags&qi)>0};$e.inAsync.get=function(){return(this.currentVarScope().flags&Vi)>0};$e.allowSuper.get=function(){return(this.currentThisScope().flags&Gi)>0};$e.allowDirectSuper.get=function(){return(this.currentThisScope().flags&zi)>0};$e.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,u=0;u=,?^&]/.test(u)||u==="!"&&this.input.charAt(i+1)==="=")}e+=t[0].length,ve.lastIndex=e,e+=ve.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===f.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===f.eof||this.type===f.braceR||Ce.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(f.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 Lt(){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(u,!1,!e);case f._class:return e&&this.unexpected(),this.parseClass(u,!0);case f._if:return this.parseIfStatement(u);case f._return:return this.parseReturnStatement(u);case f._switch:return this.parseSwitchStatement(u);case f._throw:return this.parseThrowStatement(u);case f._try:return this.parseTryStatement(u);case f._const:case f._var:return s=s||this.value,e&&s!=="var"&&this.unexpected(),this.parseVarStatement(u,s);case f._while:return this.parseWhileStatement(u);case f._with:return this.parseWithStatement(u);case f.braceL:return this.parseBlock(!0,u);case f.semi:return this.parseEmptyStatement(u);case f._export:case f._import:if(this.options.ecmaVersion>10&&i===f._import){ve.lastIndex=this.pos;var a=ve.exec(this.input),h=this.pos+a[0].length,p=this.input.charCodeAt(h);if(p===40||p===46)return this.parseExpressionStatement(u,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===f._import?this.parseImport(u):this.parseExport(u,r);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(u,!0,!e);var g=this.value,m=this.parseExpression();return i===f.name&&m.type==="Identifier"&&this.eat(f.colon)?this.parseLabeledStatement(u,g,m,e):this.parseExpressionStatement(u,m)}};G.parseBreakContinueStatement=function(e,t){var r=t==="break";this.next(),this.eat(f.semi)||this.insertSemicolon()?e.label=null:this.type!==f.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var i=0;i=6?this.eat(f.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")};G.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(br),this.enterScope(0),this.expect(f.parenL),this.type===f.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var r=this.isLet();if(this.type===f._var||this.type===f._const||r){var i=this.startNode(),u=r?"let":this.value;return this.next(),this.parseVar(i,!0,u),this.finishNode(i,"VariableDeclaration"),(this.type===f._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&i.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===f._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,i)):(t>-1&&this.unexpected(t),this.parseFor(e,i))}var s=new Lt,a=this.parseExpression(!0,s);return this.type===f._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===f._in?t>-1&&this.unexpected(t):e.await=t>-1),this.toAssignable(a,!1,s),this.checkLVal(a),this.parseForIn(e,a)):(this.checkExpressionErrors(s,!0),t>-1&&this.unexpected(t),this.parseFor(e,a))};G.parseFunctionStatement=function(e,t,r){return this.next(),this.parseFunction(e,ot|(r?0:cr),!1,t)};G.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(f._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")};G.parseReturnStatement=function(e){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(f.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")};G.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(f.braceL),this.labels.push(Qu),this.enterScope(0);for(var t,r=!1;this.type!==f.braceR;)if(this.type===f._case||this.type===f._default){var i=this.type===f._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(f.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")};G.parseThrowStatement=function(e){return this.next(),Ce.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 Ku=[];G.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===f._catch){var t=this.startNode();if(this.next(),this.eat(f.parenL)){t.param=this.parseBindingAtom();var r=t.param.type==="Identifier";this.enterScope(r?Wi:0),this.checkLVal(t.param,r?Ji:Ie),this.expect(f.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0);t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(f._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")};G.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")};G.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(br),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")};G.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")};G.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")};G.parseLabeledStatement=function(e,t,r,i){for(var u=0,s=this.labels;u=0;p--){var g=this.labels[p];if(g.statementStart===e.start)g.statementStart=this.start,g.kind=h;else break}return this.labels.push({name:t,kind:h,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")};G.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")};G.parseBlock=function(e,t,r){for(e===void 0&&(e=!0),t===void 0&&(t=this.startNode()),t.body=[],this.expect(f.braceL),e&&this.enterScope(0);this.type!==f.braceR;){var i=this.parseStatement(null);t.body.push(i)}return r&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")};G.parseFor=function(e,t){return e.init=t,this.expect(f.semi),e.test=this.type===f.semi?null:this.parseExpression(),this.expect(f.semi),e.update=this.type===f.parenR?null:this.parseExpression(),this.expect(f.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")};G.parseForIn=function(e,t){var r=this.type===f._in;return this.next(),t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!r||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")?this.raise(t.start,(r?"for-in":"for-of")+" loop variable declaration may not have an initializer"):t.type==="AssignmentPattern"&&this.raise(t.start,"Invalid left-hand side in for-loop"),e.left=t,e.right=r?this.parseExpression():this.parseMaybeAssign(),this.expect(f.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")};G.parseVar=function(e,t,r){for(e.declarations=[],e.kind=r;;){var i=this.startNode();if(this.parseVarId(i,r),this.eat(f.eq)?i.init=this.parseMaybeAssign(t):r==="const"&&!(this.type===f._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():i.id.type!=="Identifier"&&!(t&&(this.type===f._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(f.comma))break}return e};G.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLVal(e.id,t==="var"?vr:Ie,!1)};var ot=1,cr=2,Hi=4;G.parseFunction=function(e,t,r,i){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!i)&&(this.type===f.star&&t&cr&&this.unexpected(),e.generator=this.eat(f.star)),this.options.ecmaVersion>=8&&(e.async=!!i),t&ot&&(e.id=t&Hi&&this.type!==f.name?null:this.parseIdent(),e.id&&!(t&cr)&&this.checkLVal(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?vr:Ie:$i));var u=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Fr(e.async,e.generator)),t&ot||(e.id=this.type===f.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,r,!1),this.yieldPos=u,this.awaitPos=s,this.awaitIdentPos=a,this.finishNode(e,t&ot?"FunctionDeclaration":"FunctionExpression")};G.parseFunctionParams=function(e){this.expect(f.parenL),e.params=this.parseBindingList(f.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()};G.parseClass=function(e,t){this.next();var r=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var i=this.startNode(),u=!1;for(i.body=[],this.expect(f.braceL);this.type!==f.braceR;){var s=this.parseClassElement(e.superClass!==null);s&&(i.body.push(s),s.type==="MethodDefinition"&&s.kind==="constructor"&&(u&&this.raise(s.start,"Duplicate constructor in the same class"),u=!0))}return this.strict=r,this.next(),e.body=this.finishNode(i,"ClassBody"),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")};G.parseClassElement=function(e){var t=this;if(this.eat(f.semi))return null;var r=this.startNode(),i=function(p,g){g===void 0&&(g=!1);var m=t.start,y=t.startLoc;return t.eatContextual(p)?t.type!==f.parenL&&(!g||!t.canInsertSemicolon())?!0:(r.key&&t.unexpected(),r.computed=!1,r.key=t.startNodeAt(m,y),r.key.name=p,t.finishNode(r.key,"Identifier"),!1):!1};r.kind="method",r.static=i("static");var u=this.eat(f.star),s=!1;u||(this.options.ecmaVersion>=8&&i("async",!0)?(s=!0,u=this.options.ecmaVersion>=9&&this.eat(f.star)):i("get")?r.kind="get":i("set")&&(r.kind="set")),r.key||this.parsePropertyName(r);var a=r.key,h=!1;return!r.computed&&!r.static&&(a.type==="Identifier"&&a.name==="constructor"||a.type==="Literal"&&a.value==="constructor")?(r.kind!=="method"&&this.raise(a.start,"Constructor can't have get/set modifier"),u&&this.raise(a.start,"Constructor can't be a generator"),s&&this.raise(a.start,"Constructor can't be an async method"),r.kind="constructor",h=e):r.static&&a.type==="Identifier"&&a.name==="prototype"&&this.raise(a.start,"Classes may not have a static property named prototype"),this.parseClassMethod(r,u,s,h),r.kind==="get"&&r.value.params.length!==0&&this.raiseRecoverable(r.value.start,"getter should have no params"),r.kind==="set"&&r.value.params.length!==1&&this.raiseRecoverable(r.value.start,"setter should have exactly one param"),r.kind==="set"&&r.value.params[0].type==="RestElement"&&this.raiseRecoverable(r.value.params[0].start,"Setter cannot use rest params"),r};G.parseClassMethod=function(e,t,r,i){return e.value=this.parseMethod(t,r,i),this.finishNode(e,"MethodDefinition")};G.parseClassId=function(e,t){this.type===f.name?(e.id=this.parseIdent(),t&&this.checkLVal(e.id,Ie,!1)):(t===!0&&this.unexpected(),e.id=null)};G.parseClassSuper=function(e){e.superClass=this.eat(f._extends)?this.parseExprSubscripts():null};G.parseExport=function(e,t){if(this.next(),this.eat(f.star))return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseIdent(!0),this.checkExport(t,e.exported.name,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==f.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(f._default)){this.checkExport(t,"default",this.lastTokStart);var r;if(this.type===f._function||(r=this.isAsyncFunction())){var i=this.startNode();this.next(),r&&this.next(),e.declaration=this.parseFunction(i,ot|Hi,!1,r)}else if(this.type===f._class){var u=this.startNode();e.declaration=this.parseClass(u,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(null),e.declaration.type==="VariableDeclaration"?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==f.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var s=0,a=e.specifiers;s=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,u=e.properties;i=8&&!s&&a.name==="async"&&!this.canInsertSemicolon()&&this.eat(f._function))return this.parseFunction(this.startNodeAt(i,u),0,!1,!0);if(r&&!this.canInsertSemicolon()){if(this.eat(f.arrow))return this.parseArrowExpression(this.startNodeAt(i,u),[a],!1);if(this.options.ecmaVersion>=8&&a.name==="async"&&this.type===f.name&&!s)return a=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(f.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(i,u),[a],!0)}return a;case f.regexp:var h=this.value;return t=this.parseLiteral(h.value),t.regex={pattern:h.pattern,flags:h.flags},t;case f.num:case f.string:return this.parseLiteral(this.value);case f._null:case f._true:case f._false:return t=this.startNode(),t.value=this.type===f._null?null:this.type===f._true,t.raw=this.type.keyword,this.next(),this.finishNode(t,"Literal");case f.parenL:var p=this.start,g=this.parseParenAndDistinguishExpression(r);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(g)&&(e.parenthesizedAssign=p),e.parenthesizedBind<0&&(e.parenthesizedBind=p)),g;case f.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(f.bracketR,!0,!0,e),this.finishNode(t,"ArrayExpression");case f.braceL:return this.parseObj(!1,e);case f._function:return t=this.startNode(),this.next(),this.parseFunction(t,0);case f._class:return this.parseClass(this.startNode(),!1);case f._new:return this.parseNew();case f.backQuote:return this.parseTemplate();case f._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}};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 f.parenL:return this.parseDynamicImport(e);case f.dot:return e.meta=t,this.parseImportMeta(e);default:this.unexpected()}};z.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),!this.eat(f.parenR)){var t=this.start;this.eat(f.comma)&&this.eat(f.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")};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(f.parenL);var e=this.parseExpression();return this.expect(f.parenR),e};z.parseParenAndDistinguishExpression=function(e){var t=this.start,r=this.startLoc,i,u=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var s=this.start,a=this.startLoc,h=[],p=!0,g=!1,m=new Lt,y=this.yieldPos,A=this.awaitPos,C;for(this.yieldPos=0,this.awaitPos=0;this.type!==f.parenR;)if(p?p=!1:this.expect(f.comma),u&&this.afterTrailingComma(f.parenR,!0)){g=!0;break}else if(this.type===f.ellipsis){C=this.start,h.push(this.parseParenItem(this.parseRestBinding())),this.type===f.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}else h.push(this.parseMaybeAssign(!1,m,this.parseParenItem));var v=this.start,E=this.startLoc;if(this.expect(f.parenR),e&&!this.canInsertSemicolon()&&this.eat(f.arrow))return this.checkPatternErrors(m,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=y,this.awaitPos=A,this.parseParenArrowList(t,r,h);(!h.length||g)&&this.unexpected(this.lastTokStart),C&&this.unexpected(C),this.checkExpressionErrors(m,!0),this.yieldPos=y||this.yieldPos,this.awaitPos=A||this.awaitPos,h.length>1?(i=this.startNodeAt(s,a),i.expressions=h,this.finishNodeAt(i,"SequenceExpression",v,E)):i=h[0]}else i=this.parseParenExpression();if(this.options.preserveParens){var b=this.startNodeAt(t,r);return b.expression=i,this.finishNode(b,"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 Yu=[];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(f.dot)){e.meta=t;var r=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="target"&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),r&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.inNonArrowFunction()||this.raiseRecoverable(e.start,"'new.target' can only be used in functions"),this.finishNode(e,"MetaProperty")}var i=this.start,u=this.startLoc,s=this.type===f._import;return e.callee=this.parseSubscripts(this.parseExprAtom(),i,u,!0),s&&e.callee.type==="ImportExpression"&&this.raise(i,"Cannot use new with import()"),this.eat(f.parenL)?e.arguments=this.parseExprList(f.parenR,this.options.ecmaVersion>=8,!1):e.arguments=Yu,this.finishNode(e,"NewExpression")};z.parseTemplateElement=function(e){var t=e.isTagged,r=this.startNode();return this.type===f.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),r.value={raw:this.value,cooked:null}):r.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,` +`),cooked:this.value},this.next(),r.tail=this.type===f.backQuote,this.finishNode(r,"TemplateElement")};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===f.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(f.dollarBraceL),r.expressions.push(this.parseExpression()),this.expect(f.braceR),r.quasis.push(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===f.name||this.type===f.num||this.type===f.string||this.type===f.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===f.star)&&!Ce.test(this.input.slice(this.lastTokEnd,this.start))};z.parseObj=function(e,t){var r=this.startNode(),i=!0,u={};for(r.properties=[],this.next();!this.eat(f.braceR);){if(i)i=!1;else if(this.expect(f.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(f.braceR))break;var s=this.parseProperty(e,t);e||this.checkPropClash(s,u,t),r.properties.push(s)}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")};z.parseProperty=function(e,t){var r=this.startNode(),i,u,s,a;if(this.options.ecmaVersion>=9&&this.eat(f.ellipsis))return e?(r.argument=this.parseIdent(!1),this.type===f.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(r,"RestElement")):(this.type===f.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),r.argument=this.parseMaybeAssign(!1,t),this.type===f.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(r,"SpreadElement"));this.options.ecmaVersion>=6&&(r.method=!1,r.shorthand=!1,(e||t)&&(s=this.start,a=this.startLoc),e||(i=this.eat(f.star)));var h=this.containsEsc;return this.parsePropertyName(r),!e&&!h&&this.options.ecmaVersion>=8&&!i&&this.isAsyncProp(r)?(u=!0,i=this.options.ecmaVersion>=9&&this.eat(f.star),this.parsePropertyName(r,t)):u=!1,this.parsePropertyValue(r,e,i,u,s,a,t,h),this.finishNode(r,"Property")};z.parsePropertyValue=function(e,t,r,i,u,s,a,h){if((r||i)&&this.type===f.colon&&this.unexpected(),this.eat(f.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,a),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===f.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(r,i);else if(!t&&!h&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.type!==f.comma&&this.type!==f.braceR&&this.type!==f.eq){(r||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 g=e.value.start;e.kind==="get"?this.raiseRecoverable(g,"getter should have no params"):this.raiseRecoverable(g,"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=u),e.kind="init",t?e.value=this.parseMaybeDefault(u,s,e.key):this.type===f.eq&&a?(a.shorthandAssign<0&&(a.shorthandAssign=this.start),e.value=this.parseMaybeDefault(u,s,e.key)):e.value=e.key,e.shorthand=!0):this.unexpected()};z.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(f.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(f.bracketR),e.key;e.computed=!1}return e.key=this.type===f.num||this.type===f.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};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(),u=this.yieldPos,s=this.awaitPos,a=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(Fr(t,i.generator)|Gi|(r?zi:0)),this.expect(f.parenL),i.params=this.parseBindingList(f.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(i,!1,!0),this.yieldPos=u,this.awaitPos=s,this.awaitIdentPos=a,this.finishNode(i,"FunctionExpression")};z.parseArrowExpression=function(e,t,r){var i=this.yieldPos,u=this.awaitPos,s=this.awaitIdentPos;return this.enterScope(Fr(r,!1)|Ui),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=u,this.awaitIdentPos=s,this.finishNode(e,"ArrowFunctionExpression")};z.parseFunctionBody=function(e,t,r){var i=t&&this.type!==f.braceL,u=this.strict,s=!1;if(i)e.body=this.parseMaybeAssign(),e.expression=!0,this.checkParams(e,!1);else{var a=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!u||a)&&(s=this.strictDirective(this.end),s&&a&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var h=this.labels;this.labels=[],s&&(this.strict=!0),this.checkParams(e,!u&&!s&&!t&&!r&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLVal(e.id,Xi),e.body=this.parseBlock(!1,void 0,s&&!u),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=h}this.exitScope()};z.isSimpleParamList=function(e){for(var t=0,r=e;t-1||u.functions.indexOf(e)>-1||u.var.indexOf(e)>-1,u.lexical.push(e),this.inModule&&u.flags&ht&&delete this.undefinedExports[e]}else if(t===Ji){var s=this.currentScope();s.lexical.push(e)}else if(t===$i){var a=this.currentScope();this.treatFunctionsAsVar?i=a.lexical.indexOf(e)>-1:i=a.lexical.indexOf(e)>-1||a.var.indexOf(e)>-1,a.functions.push(e)}else for(var h=this.scopeStack.length-1;h>=0;--h){var p=this.scopeStack[h];if(p.lexical.indexOf(e)>-1&&!(p.flags&Wi&&p.lexical[0]===e)||!this.treatFunctionsAsVarInScope(p)&&p.functions.indexOf(e)>-1){i=!0;break}if(p.var.push(e),this.inModule&&p.flags&ht&&delete this.undefinedExports[e],p.flags&xr)break}i&&this.raiseRecoverable(r,"Identifier '"+e+"' has already been declared")};je.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)};je.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};je.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&xr)return t}};je.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&xr&&!(t.flags&Ui))return t}};var Ot=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])},Rt=re.prototype;Rt.startNode=function(){return new Ot(this,this.start,this.startLoc)};Rt.startNodeAt=function(e,t){return new Ot(this,e,t)};function Qi(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}Rt.finishNode=function(e,t){return Qi.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)};Rt.finishNodeAt=function(e,t,r,i){return Qi.call(this,e,t,r,i)};var Fe=function(t,r,i,u,s){this.token=t,this.isExpr=!!r,this.preserveSpace=!!i,this.override=u,this.generator=!!s},ue={b_stat:new Fe("{",!1),b_expr:new Fe("{",!0),b_tmpl:new Fe("${",!1),p_stat:new Fe("(",!1),p_expr:new Fe("(",!0),q_tmpl:new Fe("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new Fe("function",!1),f_expr:new Fe("function",!0),f_expr_gen:new Fe("function",!0,!1,null,!0),f_gen:new Fe("function",!1,!1,null,!0)},Mt=re.prototype;Mt.initialContext=function(){return[ue.b_stat]};Mt.braceIsBlock=function(e){var t=this.curContext();return t===ue.f_expr||t===ue.f_stat?!0:e===f.colon&&(t===ue.b_stat||t===ue.b_expr)?!t.isExpr:e===f._return||e===f.name&&this.exprAllowed?Ce.test(this.input.slice(this.lastTokEnd,this.start)):e===f._else||e===f.semi||e===f.eof||e===f.parenR||e===f.arrow?!0:e===f.braceL?t===ue.b_stat:e===f._var||e===f._const||e===f.name?!1:!this.exprAllowed};Mt.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};Mt.updateContext=function(e){var t,r=this.type;r.keyword&&e===f.dot?this.exprAllowed=!1:(t=r.updateContext)?t.call(this,e):this.exprAllowed=r.beforeExpr};f.parenR.updateContext=f.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var e=this.context.pop();e===ue.b_stat&&this.curContext().token==="function"&&(e=this.context.pop()),this.exprAllowed=!e.isExpr};f.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?ue.b_stat:ue.b_expr),this.exprAllowed=!0};f.dollarBraceL.updateContext=function(){this.context.push(ue.b_tmpl),this.exprAllowed=!0};f.parenL.updateContext=function(e){var t=e===f._if||e===f._for||e===f._with||e===f._while;this.context.push(t?ue.p_stat:ue.p_expr),this.exprAllowed=!0};f.incDec.updateContext=function(){};f._function.updateContext=f._class.updateContext=function(e){e.beforeExpr&&e!==f.semi&&e!==f._else&&!(e===f._return&&Ce.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===f.colon||e===f.braceL)&&this.curContext()===ue.b_stat)?this.context.push(ue.f_expr):this.context.push(ue.f_stat),this.exprAllowed=!1};f.backQuote.updateContext=function(){this.curContext()===ue.q_tmpl?this.context.pop():this.context.push(ue.q_tmpl),this.exprAllowed=!1};f.star.updateContext=function(e){if(e===f._function){var t=this.context.length-1;this.context[t]===ue.f_expr?this.context[t]=ue.f_expr_gen:this.context[t]=ue.f_gen}this.exprAllowed=!0};f.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==f.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var Ki="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",Yi=Ki+" Extended_Pictographic",es=Yi,ts={9:Ki,10:Yi,11:es},li="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",Zi="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",en=Zi+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",rs=en+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",is={9:Zi,10:en,11:rs},tn={};function Sr(e){var t=tn[e]={binary:We(ts[e]+" "+li),nonBinary:{General_Category:We(li),Script:We(is[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}Sr(9);Sr(10);Sr(11);var V=re.prototype,Le=function(t){this.parser=t,this.validFlags="gim"+(t.options.ecmaVersion>=6?"uy":"")+(t.options.ecmaVersion>=9?"s":""),this.unicodeProperties=tn[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=[]};Le.prototype.reset=function(t,r,i){var u=i.indexOf("u")!==-1;this.start=t|0,this.source=r+"",this.flags=i,this.switchU=u&&this.parser.options.ecmaVersion>=6,this.switchN=u&&this.parser.options.ecmaVersion>=9};Le.prototype.raise=function(t){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+t)};Le.prototype.at=function(t,r){r===void 0&&(r=!1);var i=this.source,u=i.length;if(t>=u)return-1;var s=i.charCodeAt(t);if(!(r||this.switchU)||s<=55295||s>=57344||t+1>=u)return s;var a=i.charCodeAt(t+1);return a>=56320&&a<=57343?(s<<10)+a-56613888:s};Le.prototype.nextIndex=function(t,r){r===void 0&&(r=!1);var i=this.source,u=i.length;if(t>=u)return u;var s=i.charCodeAt(t),a;return!(r||this.switchU)||s<=55295||s>=57344||t+1>=u||(a=i.charCodeAt(t+1))<56320||a>57343?t+1:t+2};Le.prototype.current=function(t){return t===void 0&&(t=!1),this.at(this.pos,t)};Le.prototype.lookahead=function(t){return t===void 0&&(t=!1),this.at(this.nextIndex(this.pos,t),t)};Le.prototype.advance=function(t){t===void 0&&(t=!1),this.pos=this.nextIndex(this.pos,t)};Le.prototype.eat=function(t,r){return r===void 0&&(r=!1),this.current(r)===t?(this.advance(r),!0):!1};function kt(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}V.validateRegExpFlags=function(e){for(var t=e.validFlags,r=e.flags,i=0;i-1&&this.raise(e.start,"Duplicate regular expression flag")}};V.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))};V.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};V.regexp_eatQuantifier=function(e,t){return t===void 0&&(t=!1),this.regexp_eatQuantifierPrefix(e,t)?(e.eat(63),!0):!1};V.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)};V.regexp_eatBracedQuantifier=function(e,t){var r=e.pos;if(e.eat(123)){var i=0,u=-1;if(this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(u=e.lastIntValue),e.eat(125)))return u!==-1&&u=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};V.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)};V.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1};V.regexp_eatSyntaxCharacter=function(e){var t=e.current();return rn(t)?(e.lastIntValue=t,e.advance(),!0):!1};function rn(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}V.regexp_eatPatternCharacters=function(e){for(var t=e.pos,r=0;(r=e.current())!==-1&&!rn(r);)e.advance();return e.pos!==t};V.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};V.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")}};V.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};V.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=kt(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=kt(e.lastIntValue);return!0}return!1};V.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),ns(i)?(e.lastIntValue=i,!0):(e.pos=t,!1)};function ns(e){return Pe(e,!0)||e===36||e===95}V.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),us(i)?(e.lastIntValue=i,!0):(e.pos=t,!1)};function us(e){return Ge(e,!0)||e===36||e===95||e===8204||e===8205}V.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)};V.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};V.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};V.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)};V.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1};V.regexp_eatZero=function(e){return e.current()===48&&!jt(e.lookahead())?(e.lastIntValue=0,e.advance(),!0):!1};V.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};V.regexp_eatControlLetter=function(e){var t=e.current();return nn(t)?(e.lastIntValue=t%32,e.advance(),!0):!1};function nn(e){return e>=65&&e<=90||e>=97&&e<=122}V.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 u=e.lastIntValue;if(i&&u>=55296&&u<=56319){var s=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var a=e.lastIntValue;if(a>=56320&&a<=57343)return e.lastIntValue=(u-55296)*1024+(a-56320)+65536,!0}e.pos=s,e.lastIntValue=u}return!0}if(i&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&ss(e.lastIntValue))return!0;i&&e.raise("Invalid unicode escape"),e.pos=r}return!1};function ss(e){return e>=0&&e<=1114111}V.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};V.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};V.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(as(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 as(e){return e===100||e===68||e===115||e===83||e===119||e===87}V.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 u=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,u),!0}return!1};V.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){Nt(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(r)||e.raise("Invalid property value")};V.regexp_validateUnicodePropertyNameOrValue=function(e,t){e.unicodeProperties.binary.test(t)||e.raise("Invalid property name")};V.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";un(t=e.current());)e.lastStringValue+=kt(t),e.advance();return e.lastStringValue!==""};function un(e){return nn(e)||e===95}V.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";os(t=e.current());)e.lastStringValue+=kt(t),e.advance();return e.lastStringValue!==""};function os(e){return un(e)||jt(e)}V.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)};V.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};V.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")}}};V.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||on(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};V.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)};V.regexp_eatClassControlLetter=function(e){var t=e.current();return jt(t)||t===95?(e.lastIntValue=t%32,e.advance(),!0):!1};V.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};V.regexp_eatDecimalDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;jt(r=e.current());)e.lastIntValue=10*e.lastIntValue+(r-48),e.advance();return e.pos!==t};function jt(e){return e>=48&&e<=57}V.regexp_eatHexDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;sn(r=e.current());)e.lastIntValue=16*e.lastIntValue+an(r),e.advance();return e.pos!==t};function sn(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function an(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}V.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};V.regexp_eatOctalDigit=function(e){var t=e.current();return on(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)};function on(e){return e>=48&&e<=55}V.regexp_eatFixedHexDigits=function(e,t){var r=e.pos;e.lastIntValue=0;for(var i=0;i=this.input.length)return this.finishToken(f.eof);if(e.override)return e.override(this);this.readToken(this.fullCharCodeAtPos())};$.readToken=function(e){return Pe(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){Ke.lastIndex=t;for(var i;(i=Ke.exec(this.input))&&i.index8&&e<14||e>=5760&&Er.test(String.fromCharCode(e)))++this.pos;else break e}}};$.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var r=this.type;this.type=e,this.value=t,this.updateContext(r)};$.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&e===46&&t===46?(this.pos+=3,this.finishToken(f.ellipsis)):(++this.pos,this.finishToken(f.dot))};$.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):e===61?this.finishOp(f.assign,2):this.finishOp(f.slash,1)};$.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),r=1,i=e===42?f.star:f.modulo;return this.options.ecmaVersion>=7&&e===42&&t===42&&(++r,i=f.starstar,t=this.input.charCodeAt(this.pos+2)),t===61?this.finishOp(f.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(f.assign,3)}return this.finishOp(e===124?f.logicalOR:f.logicalAND,2)}return t===61?this.finishOp(f.assign,2):this.finishOp(e===124?f.bitwiseOR:f.bitwiseAND,1)};$.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);return e===61?this.finishOp(f.assign,2):this.finishOp(f.bitwiseXOR,1)};$.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||Ce.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(f.incDec,2):t===61?this.finishOp(f.assign,2):this.finishOp(f.plusMin,1)};$.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),r=1;return t===e?(r=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+r)===61?this.finishOp(f.assign,r+1):this.finishOp(f.bitShift,r)):t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(t===61&&(r=2),this.finishOp(f.relational,r))};$.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return t===61?this.finishOp(f.equality,this.input.charCodeAt(this.pos+2)===61?3:2):e===61&&t===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(f.arrow)):this.finishOp(e===61?f.eq:f.prefix,1)};$.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var r=this.input.charCodeAt(this.pos+2);if(r<48||r>57)return this.finishOp(f.questionDot,2)}if(t===63){if(e>=12){var i=this.input.charCodeAt(this.pos+2);if(i===61)return this.finishOp(f.assign,3)}return this.finishOp(f.coalesce,2)}}return this.finishOp(f.question,1)};$.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(f.parenL);case 41:return++this.pos,this.finishToken(f.parenR);case 59:return++this.pos,this.finishToken(f.semi);case 44:return++this.pos,this.finishToken(f.comma);case 91:return++this.pos,this.finishToken(f.bracketL);case 93:return++this.pos,this.finishToken(f.bracketR);case 123:return++this.pos,this.finishToken(f.braceL);case 125:return++this.pos,this.finishToken(f.braceR);case 58:return++this.pos,this.finishToken(f.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(f.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(t===111||t===79)return this.readRadixNumber(8);if(t===98||t===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(f.prefix,1)}this.raise(this.pos,"Unexpected character '"+_r(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(Ce.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 u=this.input.slice(r,this.pos);++this.pos;var s=this.pos,a=this.readWord1();this.containsEsc&&this.unexpected(s);var h=this.regexpState||(this.regexpState=new Le(this));h.reset(r,u,a),this.validateRegExpFlags(h),this.validateRegExpPattern(h);var p=null;try{p=new RegExp(u,a)}catch{}return this.finishToken(f.regexp,{pattern:u,flags:a,value:p})};$.readInt=function(e,t,r){for(var i=this.options.ecmaVersion>=12&&t===void 0,u=r&&this.input.charCodeAt(this.pos)===48,s=this.pos,a=0,h=0,p=0,g=t??1/0;p=97?y=m-97+10:m>=65?y=m-65+10:m>=48&&m<=57?y=m-48:y=1/0,y>=e)break;h=m,a=a*e+y}return i&&h===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===s||t!=null&&this.pos-s!==t?null:a};function ls(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function ln(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=ln(this.input.slice(t,this.pos)),++this.pos):Pe(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(f.num,r)};$.readNumber=function(e){var t=this.pos;!e&&this.readInt(10,void 0,!0)===null&&this.raise(t,"Invalid number");var r=this.pos-t>=2&&this.input.charCodeAt(t)===48;r&&this.strict&&this.raise(t,"Invalid number");var i=this.input.charCodeAt(this.pos);if(!r&&!e&&this.options.ecmaVersion>=11&&i===110){var u=ln(this.input.slice(t,this.pos));return++this.pos,Pe(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(f.num,u)}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")),Pe(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var s=ls(this.input.slice(t,this.pos),r);return this.finishToken(f.num,s)};$.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 _r(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):(tt(i,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(r,this.pos++),this.finishToken(f.string,t)};var cn={};$.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===cn)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1};$.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw cn;this.raise(e,t)};$.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var r=this.input.charCodeAt(this.pos);if(r===96||r===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===f.template||this.type===f.invalidTemplate)?r===36?(this.pos+=2,this.finishToken(f.dollarBraceL)):(++this.pos,this.finishToken(f.backQuote)):(e+=this.input.slice(t,this.pos),this.finishToken(f.template,e));if(r===92)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(tt(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],u=parseInt(i,8);return u>255&&(i=i.slice(0,-1),u=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(u)}return tt(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 ci=uu(ps);(function(e){const t=ds,r=/^[\da-fA-F]+$/,i=/^\d+$/,u=new WeakMap;function s(p){p=p.Parser.acorn||p;let g=u.get(p);if(!g){const m=p.tokTypes,y=p.TokContext,A=p.TokenType,C=new y("...",!0,!0),b={tc_oTag:C,tc_cTag:v,tc_expr:E},I={jsxName:new A("jsxName"),jsxText:new A("jsxText",{beforeExpr:!0}),jsxTagStart:new A("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new A("jsxTagEnd")};I.jsxTagStart.updateContext=function(){this.context.push(E),this.context.push(C),this.exprAllowed=!1},I.jsxTagEnd.updateContext=function(T){let j=this.context.pop();j===C&&T===m.slash||j===v?(this.context.pop(),this.exprAllowed=this.curContext()===E):this.exprAllowed=!0},g={tokContexts:b,tokTypes:I},u.set(p,g)}return g}function a(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 a(p.object)+"."+a(p.property)}e.exports=function(p){return p=p||{},function(g){return h({allowNamespaces:p.allowNamespaces!==!1,allowNamespacedObjects:!!p.allowNamespacedObjects},g)}},Object.defineProperty(e.exports,"tokTypes",{get:function(){return s(ci).tokTypes},configurable:!0,enumerable:!0});function h(p,g){const m=g.acorn||ci,y=s(m),A=m.tokTypes,C=y.tokTypes,v=m.tokContexts,E=y.tokContexts.tc_oTag,b=y.tokContexts.tc_cTag,I=y.tokContexts.tc_expr,T=m.isNewLine,j=m.isIdentifierStart,S=m.isIdentifierChar;return class extends g{static get acornJsx(){return y}jsx_readToken(){let D="",x=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let F=this.input.charCodeAt(this.pos);switch(F){case 60:case 123:return this.pos===this.start?F===60&&this.exprAllowed?(++this.pos,this.finishToken(C.jsxTagStart)):this.getTokenFromCode(F):(D+=this.input.slice(x,this.pos),this.finishToken(C.jsxText,D));case 38:D+=this.input.slice(x,this.pos),D+=this.jsx_readEntity(),x=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(F===62?">":"}")+'` or `{"'+this.input[this.pos]+'"}`?');default:T(F)?(D+=this.input.slice(x,this.pos),D+=this.jsx_readNewLine(!0),x=this.pos):++this.pos}}}jsx_readNewLine(D){let x=this.input.charCodeAt(this.pos),F;return++this.pos,x===13&&this.input.charCodeAt(this.pos)===10?(++this.pos,F=D?` +`:`\r +`):F=String.fromCharCode(x),this.options.locations&&(++this.curLine,this.lineStart=this.pos),F}jsx_readString(D){let x="",F=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let B=this.input.charCodeAt(this.pos);if(B===D)break;B===38?(x+=this.input.slice(F,this.pos),x+=this.jsx_readEntity(),F=this.pos):T(B)?(x+=this.input.slice(F,this.pos),x+=this.jsx_readNewLine(!1),F=this.pos):++this.pos}return x+=this.input.slice(F,this.pos++),this.finishToken(A.string,x)}jsx_readEntity(){let D="",x=0,F,B=this.input[this.pos];B!=="&"&&this.raise(this.pos,"Entity must start with an ampersand");let R=++this.pos;for(;this.pos")}let W=R.name?"Element":"Fragment";return F["opening"+W]=R,F["closing"+W]=N,F.children=B,this.type===A.relational&&this.value==="<"&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(F,"JSX"+W)}jsx_parseText(){let D=this.parseLiteral(this.value);return D.type="JSXText",D}jsx_parseElement(){let D=this.start,x=this.startLoc;return this.next(),this.jsx_parseElementAt(D,x)}parseExprAtom(D){return this.type===C.jsxText?this.jsx_parseText():this.type===C.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(D)}readToken(D){let x=this.curContext();if(x===I)return this.jsx_readToken();if(x===E||x===b){if(j(D))return this.jsx_readWord();if(D==62)return++this.pos,this.finishToken(C.jsxTagEnd);if((D===34||D===39)&&x==E)return this.jsx_readString(D)}return D===60&&this.exprAllowed&&this.input.charCodeAt(this.pos+1)!==33?(++this.pos,this.finishToken(C.jsxTagStart)):super.readToken(D)}updateContext(D){if(this.type==A.braceL){var x=this.curContext();x==E?this.context.push(v.b_expr):x==I?this.context.push(v.b_tmpl):super.updateContext(D),this.exprAllowed=!0}else if(this.type===A.slash&&D===C.jsxTagStart)this.context.length-=2,this.context.push(b),this.exprAllowed=!1;else return super.updateContext(D)}}}})(fn);var ms=fn.exports;const gs=Ar(ms);function pn(e,t,r,i,u){r||(r=P),function s(a,h,p){var g=p||a.type,m=t[g];r[g](a,h,s),m&&m(a,h)}(e,i,u)}function Ds(e,t,r,i,u){var s=[];r||(r=P),function a(h,p,g){var m=g||h.type,y=t[m],A=h!==s[s.length-1];A&&s.push(h),r[m](h,p,a),y&&y(h,p||s,s),A&&s.pop()}(e,i,u)}function Br(e,t,r){r(e,t)}function Je(e,t,r){}var P={};P.Program=P.BlockStatement=function(e,t,r){for(var i=0,u=e.body;i + * + * Copyright (c) 2014-2017, Jon Schlinkert. + * Released under the MIT License. + */function hi(e){return Object.prototype.toString.call(e)==="[object Object]"}function As(e){var t,r;return hi(e)===!1?!1:(t=e.constructor,t===void 0?!0:(r=t.prototype,!(hi(r)===!1||r.hasOwnProperty("isPrototypeOf")===!1)))}var dn={},Tt=ct&&ct.__assign||function(){return Tt=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(Dn(String(i.value)+String(t.value))):(i&&r.push(i),r.push(t)),r},zs=function(t){return["key","ref"].includes(t)},$s=function(e){return function(t){var r=t.includes("key"),i=t.includes("ref"),u=t.filter(function(a){return!zs(a)}),s=fi(e?u.sort():u);return i&&s.unshift("ref"),r&&s.unshift("key"),s}};function Js(e,t){return Array.isArray(t)?function(r){return t.indexOf(r)===-1}:function(r){return t(e[r],r)}}var Xs=function(t,r,i,u,s){var a=s.tabStop;return t.type==="string"?r.split(` +`).map(function(h,p){return p===0?h:"".concat(Te(u,a)).concat(h)}).join(` +`):r},Hs=function(t,r,i){return function(u){return Xs(u,Kt(u,t,r,i),t,r,i)}},Qs=function(t,r){return function(i){var u=Object.keys(t).includes(i);return!u||u&&t[i]!==r[i]}},En=function(t,r,i,u,s){return s?Te(i,u).length+r.length>s:t.length>1},Ks=function(t,r,i,u,s,a,h){return(En(t,r,s,a,h)||i)&&!u},yn=function(e,t,r,i){var u=e.type,s=e.displayName,a=s===void 0?"":s,h=e.childrens,p=e.props,g=p===void 0?{}:p,m=e.defaultProps,y=m===void 0?{}:m;if(u!=="ReactElement")throw new Error('The "formatReactElementNode" function could only format node of type "ReactElement". Given: '.concat(u));var A=i.filterProps,C=i.maxInlineAttributesLineLength,v=i.showDefaultProps,E=i.sortProps,b=i.tabStop,I="<".concat(a),T=I,j=I,S=!1,D=[],x=Js(g,A);Object.keys(g).filter(x).filter(Qs(y,g)).forEach(function(R){return D.push(R)}),Object.keys(y).filter(x).filter(function(){return v}).filter(function(R){return!D.includes(R)}).forEach(function(R){return D.push(R)});var F=$s(E)(D);if(F.forEach(function(R){var N=Ws(R,Object.keys(g).includes(R),g[R],Object.keys(y).includes(R),y[R],t,r,i),W=N.attributeFormattedInline,q=N.attributeFormattedMultiline,M=N.isMultilineAttribute;M&&(S=!0),T+=W,j+=q}),j+=` +`.concat(Te(r,b)),Ks(F,T,S,t,r,b,C)?I=j:I=T,h&&h.length>0){var B=r+1;I+=">",t||(I+=` +`,I+=Te(B,b)),I+=h.reduce(Gs,[]).map(Hs(t,B,i)).join(t?"":` +`.concat(Te(B,b))),t||(I+=` +`,I+=Te(B-1,b)),I+="")}else En(F,T,r,b,C)||(I+=" "),I+="/>";return I},Ys="",gi="React.Fragment",Zs=function(t,r,i){var u={};return r&&(u={key:r}),{type:"ReactElement",displayName:t,props:u,defaultProps:{},childrens:i}},ea=function(t){var r=t.key;return!!r},ta=function(t){var r=t.childrens;return r.length===0},ra=function(e,t,r,i){var u=e.type,s=e.key,a=e.childrens;if(u!=="ReactFragment")throw new Error('The "formatReactFragmentNode" function could only format node of type "ReactFragment". Given: '.concat(u));var h=i.useFragmentShortSyntax,p;return h?ta(e)||ea(e)?p=gi:p=Ys:p=gi,yn(Zs(p,s,a),t,r,i)},ia=["<",">","{","}"],na=function(t){return ia.some(function(r){return t.includes(r)})},ua=function(t){return na(t)?"{`".concat(t,"`}"):t},sa=function(t){var r=t;return r.endsWith(" ")&&(r=r.replace(/^(.*?)(\s+)$/,"$1{'$2'}")),r.startsWith(" ")&&(r=r.replace(/^(\s+)(.*)$/,"{'$1'}$2")),r},Kt=function(e,t,r,i){if(e.type==="number")return String(e.value);if(e.type==="string")return e.value?"".concat(sa(ua(String(e.value)))):"";if(e.type==="ReactElement")return yn(e,t,r,i);if(e.type==="ReactFragment")return ra(e,t,r,i);throw new TypeError('Unknow format type "'.concat(e.type,'"'))},aa=function(e,t){return Kt(e,!1,0,t)},lt=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.filterProps,u=i===void 0?[]:i,s=r.showDefaultProps,a=s===void 0?!0:s,h=r.showFunctions,p=h===void 0?!1:h,g=r.functionValue,m=r.tabStop,y=m===void 0?2:m,A=r.useBooleanShorthandSyntax,C=A===void 0?!0:A,v=r.useFragmentShortSyntax,E=v===void 0?!0:v,b=r.sortProps,I=b===void 0?!0:b,T=r.maxInlineAttributesLineLength,j=r.displayName;if(!t)throw new Error("react-element-to-jsx-string: Expected a ReactElement");var S={filterProps:u,showDefaultProps:a,showFunctions:p,functionValue:g,tabStop:y,useBooleanShorthandSyntax:C,useFragmentShortSyntax:E,sortProps:I,maxInlineAttributesLineLength:T,displayName:j};return aa(Tr(t,S),S)};const{logger:bt}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{defaultDecorateStory:oa,addons:la,useEffect:ca}=__STORYBOOK_MODULE_PREVIEW_API__;var ha=ge({"../../node_modules/lodash/_freeGlobal.js"(e,t){var r=typeof global=="object"&&global&&global.Object===Object&&global;t.exports=r}}),fa=ge({"../../node_modules/lodash/_root.js"(e,t){var r=ha(),i=typeof self=="object"&&self&&self.Object===Object&&self,u=r||i||Function("return this")();t.exports=u}}),xn=ge({"../../node_modules/lodash/_Symbol.js"(e,t){var r=fa(),i=r.Symbol;t.exports=i}}),pa=ge({"../../node_modules/lodash/_getRawTag.js"(e,t){var r=xn(),i=Object.prototype,u=i.hasOwnProperty,s=i.toString,a=r?r.toStringTag:void 0;function h(p){var g=u.call(p,a),m=p[a];try{p[a]=void 0;var y=!0}catch{}var A=s.call(p);return y&&(g?p[a]=m:delete p[a]),A}t.exports=h}}),da=ge({"../../node_modules/lodash/_objectToString.js"(e,t){var r=Object.prototype,i=r.toString;function u(s){return i.call(s)}t.exports=u}}),Ir=ge({"../../node_modules/lodash/_baseGetTag.js"(e,t){var r=xn(),i=pa(),u=da(),s="[object Null]",a="[object Undefined]",h=r?r.toStringTag:void 0;function p(g){return g==null?g===void 0?a:s:h&&h in Object(g)?i(g):u(g)}t.exports=p}}),ma=ge({"../../node_modules/lodash/isObject.js"(e,t){function r(i){var u=typeof i;return i!=null&&(u=="object"||u=="function")}t.exports=r}}),ga=ge({"../../node_modules/lodash/isFunction.js"(e,t){var r=Ir(),i=ma(),u="[object AsyncFunction]",s="[object Function]",a="[object GeneratorFunction]",h="[object Proxy]";function p(g){if(!i(g))return!1;var m=r(g);return m==s||m==a||m==u||m==h}t.exports=p}}),Da=ge({"../../node_modules/lodash/_overArg.js"(e,t){function r(i,u){return function(s){return i(u(s))}}t.exports=r}}),Aa=ge({"../../node_modules/lodash/_getPrototype.js"(e,t){var r=Da(),i=r(Object.getPrototypeOf,Object);t.exports=i}}),Fn=ge({"../../node_modules/lodash/isObjectLike.js"(e,t){function r(i){return i!=null&&typeof i=="object"}t.exports=r}}),Ca=ge({"../../node_modules/lodash/isPlainObject.js"(e,t){var r=Ir(),i=Aa(),u=Fn(),s="[object Object]",a=Function.prototype,h=Object.prototype,p=a.toString,g=h.hasOwnProperty,m=p.call(Object);function y(A){if(!u(A)||r(A)!=s)return!1;var C=i(A);if(C===null)return!0;var v=g.call(C,"constructor")&&C.constructor;return typeof v=="function"&&v instanceof v&&p.call(v)==m}t.exports=y}}),Ea=ge({"../../node_modules/lodash/isArray.js"(e,t){var r=Array.isArray;t.exports=r}}),ya=ge({"../../node_modules/lodash/isString.js"(e,t){var r=Ir(),i=Ea(),u=Fn(),s="[object String]";function a(h){return typeof h=="string"||!i(h)&&u(h)&&r(h)==s}t.exports=a}}),pr="custom",Dt="object",Pr="array",xa="class",Ze="func",rt="element";function Nr(e){return du.includes(e.toLowerCase())}var vn={format:{indent:{style:" "},semicolons:!1}},Fa={...vn,format:{newline:""}},va={...vn};function Re(e,t=!1){return Bi.generate(e,t?Fa:va)}function dr(e,t=!1){return t?ba(e):Re(e)}function ba(e){let t=Re(e,!0);return t.endsWith(" }")||(t=`${t.slice(0,-1)} }`),t}function Di(e,t=!1){return t?_a(e):Sa(e)}function Sa(e){let t=Re(e);return t.endsWith(" }]")&&(t=su(t)),t}function _a(e){let t=Re(e,!0);return t.startsWith("[ ")&&(t=t.replace("[ ","[")),t}var bn=e=>e.$$typeof===Symbol.for("react.memo"),Ba=e=>e.$$typeof===Symbol.for("react.forward_ref"),Lr={...P,JSXElement:()=>{}},wa=re.extend(gs());function At(e){return e!=null?e.name:null}function Ai(e){return e.filter(t=>t.type==="ObjectExpression"||t.type==="ArrayExpression")}function Sn(e){let t=[];return Ds(e,{ObjectExpression(r,i){t.push(Ai(i).length)},ArrayExpression(r,i){t.push(Ai(i).length)}},Lr),Math.max(...t)}function ka(e){return{inferredType:{type:"Identifier",identifier:At(e)},ast:e}}function Ta(e){return{inferredType:{type:"Literal"},ast:e}}function Ia(e){let t;pn(e.body,{JSXElement(u){t=u}},Lr);let r={type:t!=null?"Element":"Function",params:e.params,hasParams:e.params.length!==0},i=At(e.id);return i!=null&&(r.identifier=i),{inferredType:r,ast:e}}function Pa(e){let t;return pn(e.body,{JSXElement(r){t=r}},Lr),{inferredType:{type:t!=null?"Element":"Class",identifier:At(e.id)},ast:e}}function Na(e){let t={type:"Element"},r=At(e.openingElement.name);return r!=null&&(t.identifier=r),{inferredType:t,ast:e}}function La(e){let t=e.callee.type==="MemberExpression"?e.callee.property:e.callee;return At(t)==="shape"?_n(e.arguments[0]):null}function _n(e){return{inferredType:{type:"Object",depth:Sn(e)},ast:e}}function Oa(e){return{inferredType:{type:"Array",depth:Sn(e)},ast:e}}function Ra(e){switch(e.type){case"Identifier":return ka(e);case"Literal":return Ta(e);case"FunctionExpression":case"ArrowFunctionExpression":return Ia(e);case"ClassExpression":return Pa(e);case"JSXElement":return Na(e);case"CallExpression":return La(e);case"ObjectExpression":return _n(e);case"ArrayExpression":return Oa(e);default:return null}}function Ma(e){let t=wa.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 u=Ra(i.expression);u!=null&&(r=u);break}}}return r}function Me(e){try{return{...Ma(e)}}catch{}return{inferredType:{type:"Unknown"}}}function Bn({inferredType:e,ast:t}){let{depth:r}=e;if(r<=2){let i=Di(t,!0);if(!pt(i))return te(i)}return te(Pr,Di(t))}function wn({inferredType:e,ast:t}){let{depth:r}=e;if(r===1){let i=dr(t,!0);if(!pt(i))return te(i)}return te(Dt,dr(t))}function Or(e,t){return t?`${e}( ... )`:`${e}()`}function Yt(e){return`<${e} />`}function kn(e){let{type:t,identifier:r}=e;switch(t){case"Function":return Or(r,e.hasParams);case"Element":return Yt(r);default:return r}}function ja({inferredType:e,ast:t}){let{identifier:r}=e;if(r!=null)return te(kn(e),Re(t));let i=Re(t,!0);return pt(i)?te(Ze,Re(t)):te(i)}function Va(e,t){let{inferredType:r}=t,{identifier:i}=r;if(i!=null&&!Nr(i)){let u=kn(r);return te(u,e)}return pt(e)?te(rt,e):te(e)}function Tn(e){try{let t=Me(e);switch(t.inferredType.type){case"Object":return wn(t);case"Function":return ja(t);case"Element":return Va(e,t);case"Array":return Bn(t);default:return null}}catch(t){console.error(t)}return null}var Ci=Dr(ga()),qa=Dr(Ca()),Ua=Dr(ya());function In(e){return e.$$typeof!=null}function Pn(e,t){let{name:r}=e;return r!==""&&r!=="anonymous"&&r!==t?r:null}var Wa=e=>te(JSON.stringify(e));function Ga(e){let{type:t}=e,{displayName:r}=t,i=lt(e,{});if(r!=null){let u=Yt(r);return te(u,i)}if((0,Ua.default)(t)&&Nr(t)){let u=lt(e,{tabStop:0}).replace(/\r?\n|\r/g,"");if(!pt(u))return te(u)}return te(rt,i)}var za=e=>{if(In(e)&&e.type!=null)return Ga(e);if((0,qa.default)(e)){let t=Me(JSON.stringify(e));return wn(t)}if(Array.isArray(e)){let t=Me(JSON.stringify(e));return Bn(t)}return te(Dt)},$a=(e,t)=>{let r=!1,i;if((0,Ci.default)(e.render))r=!0;else if(e.prototype!=null&&(0,Ci.default)(e.prototype.render))r=!0;else{let s;try{i=Me(e.toString());let{hasParams:a,params:h}=i.inferredType;a?h.length===1&&h[0].type==="ObjectPattern"&&(s=e({})):s=e(),s!=null&&In(s)&&(r=!0)}catch{}}let u=Pn(e,t.name);if(u!=null){if(r)return te(Yt(u));i!=null&&(i=Me(e.toString()));let{hasParams:s}=i.inferredType;return te(Or(u,s))}return te(r?rt:Ze)},Ja=e=>te(e.toString()),Nn={string:Wa,object:za,function:$a,default:Ja};function Xa(e={}){return{...Nn,...e}}function Ha(e,t,r=Nn){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 Qa(e,t){let r=e!=null,i=t!=null;if(!r&&!i)return"";let u=[];if(r){let s=e.map(a=>{let h=a.getPrettyName(),p=a.getTypeName();return p!=null?`${h}: ${p}`:h});u.push(`(${s.join(", ")})`)}else u.push("()");return i&&u.push(`=> ${t.getTypeName()}`),u.join(" ")}function Ka(e,t){let r=e!=null,i=t!=null;if(!r&&!i)return"";let u=[];return r?u.push("( ... )"):u.push("()"),i&&u.push(`=> ${t.getTypeName()}`),u.join(" ")}function Ya(e){return e.replace(/,/g,`,\r +`)}var Za=150;function de({name:e,short:t,compact:r,full:i,inferredType:u}){return{name:e,short:t,compact:r,full:i??t,inferredType:u}}function Ln(e){return e.replace(/PropTypes./g,"").replace(/.isRequired/g,"")}function Ei(e){return e.split(/\r?\n/)}function It(e,t=!1){return Ln(dr(e,t))}function yi(e,t=!1){return Ln(Re(e,t))}function eo(e){switch(e){case"Object":return Dt;case"Array":return Pr;case"Class":return xa;case"Function":return Ze;case"Element":return rt;default:return pr}}function On(e,t){let{inferredType:r,ast:i}=Me(e),{type:u}=r,s,a,h;switch(u){case"Identifier":case"Literal":s=e,a=e;break;case"Object":{let{depth:p}=r;s=Dt,a=p===1?It(i,!0):null,h=It(i);break}case"Element":{let{identifier:p}=r;s=p!=null&&!Nr(p)?p:rt,a=Ei(e).length===1?e:null,h=e;break}case"Array":{let{depth:p}=r;s=Pr,a=p<=2?yi(i,!0):null,h=yi(i);break}default:s=eo(u),a=Ei(e).length===1?e:null,h=e;break}return de({name:t,short:s,compact:a,full:h,inferredType:u})}function to({raw:e}){return e!=null?On(e,"custom"):de({name:"custom",short:pr,compact:pr})}function ro(e){let{jsDocTags:t}=e;return t!=null&&(t.params!=null||t.returns!=null)?de({name:"func",short:Ka(t.params,t.returns),compact:null,full:Qa(t.params,t.returns)}):de({name:"func",short:Ze,compact:Ze})}function io(e,t){let r=Object.keys(e.value).map(a=>`${a}: ${et(e.value[a],t).full}`).join(", "),{inferredType:i,ast:u}=Me(`{ ${r} }`),{depth:s}=i;return de({name:"shape",short:Dt,compact:s===1&&u?It(u,!0):null,full:u?It(u):null})}function or(e){return`objectOf(${e})`}function no(e,t){let{short:r,compact:i,full:u}=et(e.value,t);return de({name:"objectOf",short:or(r),compact:i!=null?or(i):null,full:u&&or(u)})}function uo(e,t){if(Array.isArray(e.value)){let r=e.value.reduce((i,u)=>{let{short:s,compact:a,full:h}=et(u,t);return i.short.push(s),i.compact.push(a),i.full.push(h),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 so({value:e,computed:t}){return t?On(e,"enumvalue"):de({name:"enumvalue",short:e,compact:e})}function ao(e){if(Array.isArray(e.value)){let t=e.value.reduce((r,i)=>{let{short:u,compact:s,full:a}=so(i);return r.short.push(u),r.compact.push(s),r.full.push(a),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 mr(e){return`${e}[]`}function xi(e){return`[${e}]`}function Fi(e,t,r){return de({name:"arrayOf",short:mr(e),compact:t!=null?xi(t):null,full:r&&xi(r)})}function oo(e,t){let{name:r,short:i,compact:u,full:s,inferredType:a}=et(e.value,t);if(r==="custom"){if(a==="Object")return Fi(i,u,s)}else if(r==="shape")return Fi(i,u,s);return de({name:"arrayOf",short:mr(i),compact:mr(i)})}function et(e,t){try{switch(e.name){case"custom":return to(e);case"func":return ro(t);case"shape":return io(e,t);case"instanceOf":return de({name:"instanceOf",short:e.value,compact:e.value});case"objectOf":return no(e,t);case"union":return uo(e,t);case"enum":return ao(e);case"arrayOf":return oo(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 lo(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:u}=et(t,e);return i!=null&&!nu(i)?te(i):u?te(r,u):te(r)}case"func":{let{short:r,full:i}=et(t,e),u=r,s;return i&&i.length{let i=(r==null?void 0:r.summary)==="element"||(r==null?void 0:r.summary)==="elementType",u=Pn(e,t);if(u!=null){if(i)return te(Yt(u));let{hasParams:s}=Me(e.toString()).inferredType;return te(Or(u,s))}return te(i?rt:Ze)},ho=Xa({function:co});function fo(e,t){let{propTypes:r}=t;return r!=null?Object.keys(r).map(i=>e.find(u=>u.name===i)).filter(Boolean):e}function po(e,t){let{propDef:r}=e,i=lo(e);i!=null&&(r.type=i);let{defaultValue:u}=e.docgenInfo;if(u!=null&&u.value!=null){let s=Tn(u.value);s!=null&&(r.defaultValue=s)}else if(t!=null){let s=Ha(t,r,ho);s!=null&&(r.defaultValue=s)}return r}function mo(e,t){let r=t.defaultProps!=null?t.defaultProps:{},i=e.map(u=>po(u,r[u.propDef.name]));return fo(i,t)}function go(e,t){let{propDef:r}=e,{defaultValue:i}=e.docgenInfo;if(i!=null&&i.value!=null){let u=Tn(i.value);u!=null&&(r.defaultValue=u)}return r}function Do(e){return e.map(t=>go(t))}var vi=new Map;Object.keys(Hr).forEach(e=>{let t=Hr[e];vi.set(t,e),vi.set(t.isRequired,e)});function Ao(e,t){let r=e;!ru(e)&&!e.propTypes&&bn(e)&&(r=e.type);let i=iu(r,t);if(i.length===0)return[];switch(i[0].typeSystem){case Jr.JAVASCRIPT:return mo(i,e);case Jr.TYPESCRIPT:return Do(i);default:return i.map(u=>u.propDef)}}var Co=e=>({rows:Ao(e,"props")}),Eo=e=>{if(e){let{rows:t}=Co(e);if(t)return t.reduce((r,i)=>{let{name:u,description:s,type:a,sbType:h,defaultValue:p,jsDocTags:g,required:m}=i;return r[u]={name:u,description:s,type:{required:m,...h},table:{type:a??void 0,jsDocTags:g,defaultValue:p??void 0}},r},{})}return null},yo=e=>e.charAt(0).toUpperCase()+e.slice(1),xo=e=>(e.$$typeof||e).toString().replace(/^Symbol\((.*)\)$/,"$1").split(".").map(t=>t.split("_").map(yo).join("")).join(".");function gr(e){if(ze.isValidElement(e)){let t=Object.keys(e.props).reduce((r,i)=>(r[i]=gr(e.props[i]),r),{});return{...e,props:t,_owner:null}}return Array.isArray(e)?e.map(gr):e}var Fo=(e,t)=>{if(typeof e>"u")return bt.warn("Too many skip or undefined component"),null;let r=e,i=r.type;for(let a=0;a<(t==null?void 0:t.skip);a+=1){if(typeof r>"u")return bt.warn("Cannot skip undefined element"),null;if(at.Children.count(r)>1)return bt.warn("Trying to skip an array of elements"),null;typeof r.props.children>"u"?(bt.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 u;typeof(t==null?void 0:t.displayName)=="string"?u={showFunctions:!0,displayName:()=>t.displayName}:u={displayName:a=>{var h;return a.type.displayName?a.type.displayName:Xr(a.type,"displayName")?Xr(a.type,"displayName"):(h=a.type.render)!=null&&h.displayName?a.type.render.displayName:typeof a.type=="symbol"||a.type.$$typeof&&typeof a.type.$$typeof=="symbol"?xo(a.type):a.type.name&&a.type.name!=="_default"?a.type.name:typeof a.type=="function"?"No Display Name":Ba(a.type)?a.type.render.name:bn(a.type)?a.type.type.name:a.type}};let s={...u,filterProps:(a,h)=>a!==void 0,...t};return at.Children.map(e,a=>{let h=typeof a=="number"?a.toString():a,p=(typeof lt=="function"?lt:lt.default)(gr(h),s);if(p.indexOf(""")>-1){let g=p.match(/\S+=\\"([^"]*)\\"/g);g&&g.forEach(m=>{p=p.replace(m,m.replace(/"/g,"'"))})}return p}).join(` +`).replace(/function\s+noRefCheck\(\)\s*\{\}/g,"() => {}")},vo={skip:0,showFunctions:!1,enableBeautify:!0,showDefaultProps:!1},bo=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)===$r.DYNAMIC?!1:!r||(t==null?void 0:t.code)||(t==null?void 0:t.type)===$r.CODE},So=e=>{var t,r;return((t=e.type)==null?void 0:t.displayName)==="MDXCreateElement"&&!!((r=e.props)!=null&&r.mdxType)},Rn=e=>{if(!So(e))return e;let{mdxType:t,originalType:r,children:i,...u}=e.props,s=[];return i&&(s=(Array.isArray(i)?i:[i]).map(Rn)),ze.createElement(r,u,...s)},Mn=(e,t)=>{var m,y;let r=la.getChannel(),i=bo(t),u="";ca(()=>{if(!i){let{id:A,unmappedArgs:C}=t;r.emit(tu,{id:A,source:u,args:C})}});let s=e();if(i)return s;let a={...vo,...(t==null?void 0:t.parameters.jsx)||{}},h=(y=(m=t==null?void 0:t.parameters.docs)==null?void 0:m.source)!=null&&y.excludeDecorators?t.originalStoryFn(t.args,t):s,p=Rn(h),g=Fo(p,a);return g&&(u=g),s},To=(e,t)=>{let r=t.findIndex(u=>u.originalFn===Mn),i=r===-1?t:[...t.splice(r,1),...t];return oa(e,i)},Io={docs:{story:{inline:!0},extractArgTypes:Eo,extractComponentDescription:Zn}},Po=[Mn],No=[eu];export{To as applyDecorators,No as argTypesEnhancers,Po as decorators,Io as parameters}; diff --git a/assets/entry-preview-docs-DN11TZ2V.js b/assets/entry-preview-docs-DN11TZ2V.js deleted file mode 100644 index 17646644..00000000 --- a/assets/entry-preview-docs-DN11TZ2V.js +++ /dev/null @@ -1,54 +0,0 @@ -import{a as xi,b as Kn,c as Fi,d as Yn,$ as Zn,z as eu,e as tu,O as te,s as Wr,f as Gr,K as ru,B as iu,P as zr,g as $r,o as ft,H as nu}from"./index-D97zpEXb.js";import{g as pt,c as lt,a as uu,R as st,r as Ge}from"./index-0d5eMwbi.js";import{d as su}from"./index-DrFu-skq.js";var vi={exports:{}},au="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",ou=au,lu=ou;function bi(){}function Si(){}Si.resetWarningCache=bi;var cu=function(){function e(i,u,s,a,f,p){if(p!==lu){var D=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw D.name="Invariant Violation",D}}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:Si,resetWarningCache:bi};return r.PropTypes=r,r};vi.exports=cu();var hu=vi.exports;const Jr=pt(hu),fu=["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 pu=fu;const du=pt(pu);var _i={},Bi={};(function(e){(function t(r){var i,u,s,a,f,p;function D(g){var x={},F,B;for(F in g)g.hasOwnProperty(F)&&(B=g[F],typeof B=="object"&&B!==null?x[F]=D(B):x[F]=B);return x}function m(g,x){var F,B,R,N;for(B=g.length,R=0;B;)F=B>>>1,N=R+F,x(g[N])?B=F:(R=N+1,B-=F+1);return R}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"},s={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"]},a={},f={},p={},u={Break:a,Skip:f,Remove:p};function y(g,x){this.parent=g,this.key=x}y.prototype.replace=function(x){this.parent[this.key]=x},y.prototype.remove=function(){return Array.isArray(this.parent)?(this.parent.splice(this.key,1),!0):(this.replace(null),!1)};function A(g,x,F,B){this.node=g,this.path=x,this.wrap=F,this.ref=B}function C(){}C.prototype.path=function(){var x,F,B,R,N,W;function q(M,X){if(Array.isArray(X))for(B=0,R=X.length;B=0;--F)if(g[F].node===x)return!0;return!1}C.prototype.traverse=function(x,F){var B,R,N,W,q,M,X,ne,oe,ie,Q,Ce;for(this.__initialize(x,F),Ce={},B=this.__worklist,R=this.__leavelist,B.push(new A(x,null,null,null)),R.push(new A(null,null,null,null));B.length;){if(N=B.pop(),N===Ce){if(N=R.pop(),M=this.__execute(F.leave,N),this.__state===a||M===a)return;continue}if(N.node){if(M=this.__execute(F.enter,N),this.__state===a||M===a)return;if(B.push(Ce),R.push(N),this.__state===f||M===f)continue;if(W=N.node,q=W.type||N.wrap,ie=this.__keys[q],!ie)if(this.__fallback)ie=this.__fallback(W);else throw new Error("Unknown node type "+q+".");for(ne=ie.length;(ne-=1)>=0;)if(X=ie[ne],Q=W[X],!!Q){if(Array.isArray(Q)){for(oe=Q.length;(oe-=1)>=0;)if(Q[oe]&&!b(R,Q[oe])){if(E(q,ie[ne]))N=new A(Q[oe],[X,oe],"Property",null);else if(v(Q[oe]))N=new A(Q[oe],[X,oe],null,null);else continue;B.push(N)}}else if(v(Q)){if(b(R,Q))continue;B.push(new A(Q,X,null,null))}}}}},C.prototype.replace=function(x,F){var B,R,N,W,q,M,X,ne,oe,ie,Q,Ce,Be;function Je(O){var Ve,Ct,Le,ee;if(O.ref.remove()){for(Ct=O.ref.key,ee=O.ref.parent,Ve=B.length;Ve--;)if(Le=B[Ve],Le.ref&&Le.ref.parent===ee){if(Le.ref.key=0;)if(Be=oe[X],ie=N[Be],!!ie)if(Array.isArray(ie)){for(ne=ie.length;(ne-=1)>=0;)if(ie[ne]){if(E(W,oe[X]))M=new A(ie[ne],[Be,ne],"Property",new y(ie,ne));else if(v(ie[ne]))M=new A(ie[ne],[Be,ne],null,new y(ie,ne));else continue;B.push(M)}}else v(ie)&&B.push(new A(ie,Be,null,new y(N,Be)))}}return Ce.root};function T(g,x){var F=new C;return F.traverse(g,x)}function I(g,x){var F=new C;return F.replace(g,x)}function V(g,x){var F;return F=m(x,function(R){return R.range[0]>g.range[0]}),g.extendedRange=[g.range[0],g.range[1]],F!==x.length&&(g.extendedRange[1]=x[F].range[0]),F-=1,F>=0&&(g.extendedRange[0]=x[F].range[1]),g}function S(g,x,F){var B=[],R,N,W,q;if(!g.range)throw new Error("attachComments needs range information");if(!F.length){if(x.length){for(W=0,N=x.length;WM.range[0]));)X.extendedRange[1]===M.range[0]?(M.leadingComments||(M.leadingComments=[]),M.leadingComments.push(X),B.splice(q,1)):q+=1;if(q===B.length)return u.Break;if(B[q].extendedRange[0]>M.range[1])return u.Skip}}),q=0,T(g,{leave:function(M){for(var X;qM.range[1])return u.Skip}}),g}return r.Syntax=i,r.traverse=T,r.replace=I,r.attachComments=S,r.VisitorKeys=s,r.VisitorOption=u,r.Controller=C,r.cloneEnvironment=function(){return t({})},r})(e)})(Bi);var St={},wi={exports:{}};(function(){function e(a){if(a==null)return!1;switch(a.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1}function t(a){if(a==null)return!1;switch(a.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function r(a){if(a==null)return!1;switch(a.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 i(a){return r(a)||a!=null&&a.type==="FunctionDeclaration"}function u(a){switch(a.type){case"IfStatement":return a.alternate!=null?a.alternate:a.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return a.body}return null}function s(a){var f;if(a.type!=="IfStatement"||a.alternate==null)return!1;f=a.consequent;do{if(f.type==="IfStatement"&&f.alternate==null)return!0;f=u(f)}while(f);return!1}wi.exports={isExpression:e,isStatement:r,isIterationStatement:t,isSourceElement:i,isProblematicIfStatement:s,trailingStatement:u}})();var mu=wi.exports,ki={exports:{}};(function(){var e,t,r,i,u,s;t={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},e={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};function a(b){return 48<=b&&b<=57}function f(b){return 48<=b&&b<=57||97<=b&&b<=102||65<=b&&b<=70}function p(b){return b>=48&&b<=55}r=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function D(b){return b===32||b===9||b===11||b===12||b===160||b>=5760&&r.indexOf(b)>=0}function m(b){return b===10||b===13||b===8232||b===8233}function y(b){if(b<=65535)return String.fromCharCode(b);var T=String.fromCharCode(Math.floor((b-65536)/1024)+55296),I=String.fromCharCode((b-65536)%1024+56320);return T+I}for(i=new Array(128),s=0;s<128;++s)i[s]=s>=97&&s<=122||s>=65&&s<=90||s===36||s===95;for(u=new Array(128),s=0;s<128;++s)u[s]=s>=97&&s<=122||s>=65&&s<=90||s>=48&&s<=57||s===36||s===95;function A(b){return b<128?i[b]:t.NonAsciiIdentifierStart.test(y(b))}function C(b){return b<128?u[b]:t.NonAsciiIdentifierPart.test(y(b))}function v(b){return b<128?i[b]:e.NonAsciiIdentifierStart.test(y(b))}function E(b){return b<128?u[b]:e.NonAsciiIdentifierPart.test(y(b))}ki.exports={isDecimalDigit:a,isHexDigit:f,isOctalDigit:p,isWhiteSpace:D,isLineTerminator:m,isIdentifierStartES5:A,isIdentifierPartES5:C,isIdentifierStartES6:v,isIdentifierPartES6:E}})();var Ii=ki.exports,Ti={exports:{}};(function(){var e=Ii;function t(A){switch(A){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function r(A,C){return!C&&A==="yield"?!1:i(A,C)}function i(A,C){if(C&&t(A))return!0;switch(A.length){case 2:return A==="if"||A==="in"||A==="do";case 3:return A==="var"||A==="for"||A==="new"||A==="try";case 4:return A==="this"||A==="else"||A==="case"||A==="void"||A==="with"||A==="enum";case 5:return A==="while"||A==="break"||A==="catch"||A==="throw"||A==="const"||A==="yield"||A==="class"||A==="super";case 6:return A==="return"||A==="typeof"||A==="delete"||A==="switch"||A==="export"||A==="import";case 7:return A==="default"||A==="finally"||A==="extends";case 8:return A==="function"||A==="continue"||A==="debugger";case 10:return A==="instanceof";default:return!1}}function u(A,C){return A==="null"||A==="true"||A==="false"||r(A,C)}function s(A,C){return A==="null"||A==="true"||A==="false"||i(A,C)}function a(A){return A==="eval"||A==="arguments"}function f(A){var C,v,E;if(A.length===0||(E=A.charCodeAt(0),!e.isIdentifierStartES5(E)))return!1;for(C=1,v=A.length;C=v||(b=A.charCodeAt(C),!(56320<=b&&b<=57343)))return!1;E=p(E,b)}if(!T(E))return!1;T=e.isIdentifierPartES6}return!0}function m(A,C){return f(A)&&!u(A,C)}function y(A,C){return D(A)&&!s(A,C)}Ti.exports={isKeywordES5:r,isKeywordES6:i,isReservedWordES5:u,isReservedWordES6:s,isRestrictedWord:a,isIdentifierNameES5:f,isIdentifierNameES6:D,isIdentifierES5:m,isIdentifierES6:y}})();var gu=Ti.exports;(function(){St.ast=mu,St.code=Ii,St.keyword=gu})();var it={},Zt={},Ft={},vt={},Hr;function Du(){if(Hr)return vt;Hr=1;var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");return vt.encode=function(t){if(0<=t&&t>1;return p?-D:D}return Ft.encode=function(p){var D="",m,y=s(p);do m=y&i,y>>>=t,y>0&&(m|=u),D+=e.encode(m);while(y>0);return D},Ft.decode=function(p,D,m){var y=p.length,A=0,C=0,v,E;do{if(D>=y)throw new Error("Expected more digits in base 64 VLQ value.");if(E=e.decode(p.charCodeAt(D++)),E===-1)throw new Error("Invalid base64 digit: "+p.charAt(D-1));v=!!(E&u),E&=i,A=A+(E<=0;W--)R=B[W],R==="."?B.splice(W,1):R===".."?N++:N>0&&(R===""?(B.splice(W+1,N),N=0):(B.splice(W,2),N--));return g=B.join("/"),g===""&&(g=F?"/":"."),x?(x.path=g,s(x)):g}e.normalize=a;function f(S,g){S===""&&(S="."),g===""&&(g=".");var x=u(g),F=u(S);if(F&&(S=F.path||"/"),x&&!x.scheme)return F&&(x.scheme=F.scheme),s(x);if(x||g.match(i))return g;if(F&&!F.host&&!F.path)return F.host=g,s(F);var B=g.charAt(0)==="/"?g:a(S.replace(/\/+$/,"")+"/"+g);return F?(F.path=B,s(F)):B}e.join=f,e.isAbsolute=function(S){return S.charAt(0)==="/"||r.test(S)};function p(S,g){S===""&&(S="."),S=S.replace(/\/$/,"");for(var x=0;g.indexOf(S+"/")!==0;){var F=S.lastIndexOf("/");if(F<0||(S=S.slice(0,F),S.match(/^([^\/]+:\/)?\/*$/)))return g;++x}return Array(x+1).join("../")+g.substr(S.length+1)}e.relative=p;var D=function(){var S=Object.create(null);return!("__proto__"in S)}();function m(S){return S}function y(S){return C(S)?"$"+S:S}e.toSetString=D?m:y;function A(S){return C(S)?S.slice(1):S}e.fromSetString=D?m:A;function C(S){if(!S)return!1;var g=S.length;if(g<9||S.charCodeAt(g-1)!==95||S.charCodeAt(g-2)!==95||S.charCodeAt(g-3)!==111||S.charCodeAt(g-4)!==116||S.charCodeAt(g-5)!==111||S.charCodeAt(g-6)!==114||S.charCodeAt(g-7)!==112||S.charCodeAt(g-8)!==95||S.charCodeAt(g-9)!==95)return!1;for(var x=g-10;x>=0;x--)if(S.charCodeAt(x)!==36)return!1;return!0}function v(S,g,x){var F=b(S.source,g.source);return F!==0||(F=S.originalLine-g.originalLine,F!==0)||(F=S.originalColumn-g.originalColumn,F!==0||x)||(F=S.generatedColumn-g.generatedColumn,F!==0)||(F=S.generatedLine-g.generatedLine,F!==0)?F:b(S.name,g.name)}e.compareByOriginalPositions=v;function E(S,g,x){var F=S.generatedLine-g.generatedLine;return F!==0||(F=S.generatedColumn-g.generatedColumn,F!==0||x)||(F=b(S.source,g.source),F!==0)||(F=S.originalLine-g.originalLine,F!==0)||(F=S.originalColumn-g.originalColumn,F!==0)?F:b(S.name,g.name)}e.compareByGeneratedPositionsDeflated=E;function b(S,g){return S===g?0:S===null?1:g===null?-1:S>g?1:-1}function T(S,g){var x=S.generatedLine-g.generatedLine;return x!==0||(x=S.generatedColumn-g.generatedColumn,x!==0)||(x=b(S.source,g.source),x!==0)||(x=S.originalLine-g.originalLine,x!==0)||(x=S.originalColumn-g.originalColumn,x!==0)?x:b(S.name,g.name)}e.compareByGeneratedPositionsInflated=T;function I(S){return JSON.parse(S.replace(/^\)]}'[^\n]*\n/,""))}e.parseSourceMapInput=I;function V(S,g,x){if(g=g||"",S&&(S[S.length-1]!=="/"&&g[0]!=="/"&&(S+="/"),g=S+g),x){var F=u(x);if(!F)throw new Error("sourceMapURL could not be parsed");if(F.path){var B=F.path.lastIndexOf("/");B>=0&&(F.path=F.path.substring(0,B+1))}g=f(s(F),g)}return a(g)}e.computeSourceURL=V}(er)),er}var tr={},Kr;function Ni(){if(Kr)return tr;Kr=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(s,a){for(var f=new i,p=0,D=s.length;p=0)return a}else{var f=e.toSetString(s);if(t.call(this._set,f))return this._set[f]}throw new Error('"'+s+'" is not in the set.')},i.prototype.at=function(s){if(s>=0&&ss||a==s&&p>=f||e.compareByGeneratedPositionsInflated(i,u)<=0}function r(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}return r.prototype.unsortedForEach=function(u,s){this._array.forEach(u,s)},r.prototype.add=function(u){t(this._last,u)?(this._last=u,this._array.push(u)):(this._sorted=!1,this._array.push(u))},r.prototype.toArray=function(){return this._sorted||(this._array.sort(e.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},rr.MappingList=r,rr}var Zr;function Li(){if(Zr)return Zt;Zr=1;var e=Pi(),t=dt(),r=Ni().ArraySet,i=Au().MappingList;function u(s){s||(s={}),this._file=t.getArg(s,"file",null),this._sourceRoot=t.getArg(s,"sourceRoot",null),this._skipValidation=t.getArg(s,"skipValidation",!1),this._sources=new r,this._names=new r,this._mappings=new i,this._sourcesContents=null}return u.prototype._version=3,u.fromSourceMap=function(a){var f=a.sourceRoot,p=new u({file:a.file,sourceRoot:f});return a.eachMapping(function(D){var m={generated:{line:D.generatedLine,column:D.generatedColumn}};D.source!=null&&(m.source=D.source,f!=null&&(m.source=t.relative(f,m.source)),m.original={line:D.originalLine,column:D.originalColumn},D.name!=null&&(m.name=D.name)),p.addMapping(m)}),a.sources.forEach(function(D){var m=D;f!==null&&(m=t.relative(f,D)),p._sources.has(m)||p._sources.add(m);var y=a.sourceContentFor(D);y!=null&&p.setSourceContent(D,y)}),p},u.prototype.addMapping=function(a){var f=t.getArg(a,"generated"),p=t.getArg(a,"original",null),D=t.getArg(a,"source",null),m=t.getArg(a,"name",null);this._skipValidation||this._validateMapping(f,p,D,m),D!=null&&(D=String(D),this._sources.has(D)||this._sources.add(D)),m!=null&&(m=String(m),this._names.has(m)||this._names.add(m)),this._mappings.add({generatedLine:f.line,generatedColumn:f.column,originalLine:p!=null&&p.line,originalColumn:p!=null&&p.column,source:D,name:m})},u.prototype.setSourceContent=function(a,f){var p=a;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))},u.prototype.applySourceMap=function(a,f,p){var D=f;if(f==null){if(a.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);D=a.file}var m=this._sourceRoot;m!=null&&(D=t.relative(m,D));var y=new r,A=new r;this._mappings.unsortedForEach(function(C){if(C.source===D&&C.originalLine!=null){var v=a.originalPositionFor({line:C.originalLine,column:C.originalColumn});v.source!=null&&(C.source=v.source,p!=null&&(C.source=t.join(p,C.source)),m!=null&&(C.source=t.relative(m,C.source)),C.originalLine=v.line,C.originalColumn=v.column,v.name!=null&&(C.name=v.name))}var E=C.source;E!=null&&!y.has(E)&&y.add(E);var b=C.name;b!=null&&!A.has(b)&&A.add(b)},this),this._sources=y,this._names=A,a.sources.forEach(function(C){var v=a.sourceContentFor(C);v!=null&&(p!=null&&(C=t.join(p,C)),m!=null&&(C=t.relative(m,C)),this.setSourceContent(C,v))},this)},u.prototype._validateMapping=function(a,f,p,D){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(!(a&&"line"in a&&"column"in a&&a.line>0&&a.column>=0&&!f&&!p&&!D)){if(a&&"line"in a&&"column"in a&&f&&"line"in f&&"column"in f&&a.line>0&&a.column>=0&&f.line>0&&f.column>=0&&p)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:a,source:p,original:f,name:D}))}},u.prototype._serializeMappings=function(){for(var a=0,f=1,p=0,D=0,m=0,y=0,A="",C,v,E,b,T=this._mappings.toArray(),I=0,V=T.length;I0){if(!t.compareByGeneratedPositionsInflated(v,T[I-1]))continue;C+=","}C+=e.encode(v.generatedColumn-a),a=v.generatedColumn,v.source!=null&&(b=this._sources.indexOf(v.source),C+=e.encode(b-y),y=b,C+=e.encode(v.originalLine-1-D),D=v.originalLine-1,C+=e.encode(v.originalColumn-p),p=v.originalColumn,v.name!=null&&(E=this._names.indexOf(v.name),C+=e.encode(E-m),m=E)),A+=C}return A},u.prototype._generateSourcesContent=function(a,f){return a.map(function(p){if(!this._sourcesContents)return null;f!=null&&(p=t.relative(f,p));var D=t.toSetString(p);return Object.prototype.hasOwnProperty.call(this._sourcesContents,D)?this._sourcesContents[D]:null},this)},u.prototype.toJSON=function(){var a={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(a.file=this._file),this._sourceRoot!=null&&(a.sourceRoot=this._sourceRoot),this._sourcesContents&&(a.sourcesContent=this._generateSourcesContent(a.sources,a.sourceRoot)),a},u.prototype.toString=function(){return JSON.stringify(this.toJSON())},Zt.SourceMapGenerator=u,Zt}var nt={},ir={},ei;function Cu(){return ei||(ei=1,function(e){e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2;function t(r,i,u,s,a,f){var p=Math.floor((i-r)/2)+r,D=a(u,s[p],!0);return D===0?p:D>0?i-p>1?t(p,i,u,s,a,f):f==e.LEAST_UPPER_BOUND?i1?t(r,p,u,s,a,f):f==e.LEAST_UPPER_BOUND?p:r<0?-1:r}e.search=function(i,u,s,a){if(u.length===0)return-1;var f=t(-1,u.length,i,u,s,a||e.GREATEST_LOWER_BOUND);if(f<0)return-1;for(;f-1>=0&&s(u[f],u[f-1],!0)===0;)--f;return f}}(ir)),ir}var nr={},ti;function Eu(){if(ti)return nr;ti=1;function e(i,u,s){var a=i[u];i[u]=i[s],i[s]=a}function t(i,u){return Math.round(i+Math.random()*(u-i))}function r(i,u,s,a){if(s=0){var E=this._originalMappings[v];if(m.column===void 0)for(var b=E.originalLine;E&&E.originalLine===b;)C.push({line:e.getArg(E,"generatedLine",null),column:e.getArg(E,"generatedColumn",null),lastColumn:e.getArg(E,"lastGeneratedColumn",null)}),E=this._originalMappings[++v];else for(var T=E.originalColumn;E&&E.originalLine===y&&E.originalColumn==T;)C.push({line:e.getArg(E,"generatedLine",null),column:e.getArg(E,"generatedColumn",null),lastColumn:e.getArg(E,"lastGeneratedColumn",null)}),E=this._originalMappings[++v]}return C},nt.SourceMapConsumer=s;function a(D,m){var y=D;typeof D=="string"&&(y=e.parseSourceMapInput(D));var A=e.getArg(y,"version"),C=e.getArg(y,"sources"),v=e.getArg(y,"names",[]),E=e.getArg(y,"sourceRoot",null),b=e.getArg(y,"sourcesContent",null),T=e.getArg(y,"mappings"),I=e.getArg(y,"file",null);if(A!=this._version)throw new Error("Unsupported version: "+A);E&&(E=e.normalize(E)),C=C.map(String).map(e.normalize).map(function(V){return E&&e.isAbsolute(E)&&e.isAbsolute(V)?e.relative(E,V):V}),this._names=r.fromArray(v.map(String),!0),this._sources=r.fromArray(C,!0),this._absoluteSources=this._sources.toArray().map(function(V){return e.computeSourceURL(E,V,m)}),this.sourceRoot=E,this.sourcesContent=b,this._mappings=T,this._sourceMapURL=m,this.file=I}a.prototype=Object.create(s.prototype),a.prototype.consumer=s,a.prototype._findSourceIndex=function(D){var m=D;if(this.sourceRoot!=null&&(m=e.relative(this.sourceRoot,m)),this._sources.has(m))return this._sources.indexOf(m);var y;for(y=0;y1&&(B.source=b+N[1],b+=N[1],B.originalLine=v+N[2],v=B.originalLine,B.originalLine+=1,B.originalColumn=E+N[3],E=B.originalColumn,N.length>4&&(B.name=T+N[4],T+=N[4])),F.push(B),typeof B.originalLine=="number"&&x.push(B)}u(F,e.compareByGeneratedPositionsDeflated),this.__generatedMappings=F,u(x,e.compareByOriginalPositions),this.__originalMappings=x},a.prototype._findMapping=function(m,y,A,C,v,E){if(m[A]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+m[A]);if(m[C]<0)throw new TypeError("Column must be greater than or equal to 0, got "+m[C]);return t.search(m,y,v,E)},a.prototype.computeColumnSpans=function(){for(var m=0;m=0){var C=this._generatedMappings[A];if(C.generatedLine===y.generatedLine){var v=e.getArg(C,"source",null);v!==null&&(v=this._sources.at(v),v=e.computeSourceURL(this.sourceRoot,v,this._sourceMapURL));var E=e.getArg(C,"name",null);return E!==null&&(E=this._names.at(E)),{source:v,line:e.getArg(C,"originalLine",null),column:e.getArg(C,"originalColumn",null),name:E}}}return{source:null,line:null,column:null,name:null}},a.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(m){return m==null}):!1},a.prototype.sourceContentFor=function(m,y){if(!this.sourcesContent)return null;var A=this._findSourceIndex(m);if(A>=0)return this.sourcesContent[A];var C=m;this.sourceRoot!=null&&(C=e.relative(this.sourceRoot,C));var v;if(this.sourceRoot!=null&&(v=e.urlParse(this.sourceRoot))){var E=C.replace(/^file:\/\//,"");if(v.scheme=="file"&&this._sources.has(E))return this.sourcesContent[this._sources.indexOf(E)];if((!v.path||v.path=="/")&&this._sources.has("/"+C))return this.sourcesContent[this._sources.indexOf("/"+C)]}if(y)return null;throw new Error('"'+C+'" is not in the SourceMap.')},a.prototype.generatedPositionFor=function(m){var y=e.getArg(m,"source");if(y=this._findSourceIndex(y),y<0)return{line:null,column:null,lastColumn:null};var A={source:y,originalLine:e.getArg(m,"line"),originalColumn:e.getArg(m,"column")},C=this._findMapping(A,this._originalMappings,"originalLine","originalColumn",e.compareByOriginalPositions,e.getArg(m,"bias",s.GREATEST_LOWER_BOUND));if(C>=0){var v=this._originalMappings[C];if(v.source===A.source)return{line:e.getArg(v,"generatedLine",null),column:e.getArg(v,"generatedColumn",null),lastColumn:e.getArg(v,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},nt.BasicSourceMapConsumer=a;function p(D,m){var y=D;typeof D=="string"&&(y=e.parseSourceMapInput(D));var A=e.getArg(y,"version"),C=e.getArg(y,"sections");if(A!=this._version)throw new Error("Unsupported version: "+A);this._sources=new r,this._names=new r;var v={line:-1,column:0};this._sections=C.map(function(E){if(E.url)throw new Error("Support for url field in sections not implemented.");var b=e.getArg(E,"offset"),T=e.getArg(b,"line"),I=e.getArg(b,"column");if(T=0;p--)this.prepend(f[p]);else if(f[u]||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},s.prototype.walk=function(f){for(var p,D=0,m=this.children.length;D0){for(p=[],D=0;D=6.0"},Tu=[{name:"Yusuke Suzuki",email:"utatane.tea@gmail.com",web:"http://github.com/Constellation"}],Pu={type:"git",url:"http://github.com/estools/escodegen.git"},Nu={estraverse:"^5.2.0",esutils:"^2.0.2",esprima:"^4.0.1"},Lu={"source-map":"~0.6.1"},Ou={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"},Ru="BSD-2-Clause",Mu={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"},Vu={name:vu,description:bu,homepage:Su,main:_u,bin:Bu,files:wu,version:ku,engines:Iu,maintainers:Tu,repository:Pu,dependencies:Nu,optionalDependencies:Lu,devDependencies:Ou,license:Ru,scripts:Mu};(function(e){(function(){var t,r,i,u,s,a,f,p,D,m,y,A,C,v,E,b,T,I,V,S,g,x,F,B,R,N;s=Bi,a=St,t=s.Syntax;function W(n){return ae.Expression.hasOwnProperty(n.type)}function q(n){return ae.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 M=1,X=2,ne=4,oe=8,ie=16,Q=32,Ce=64,Be=X|ne,Je=M|X,O=M|X|ne,Ve=M,Ct=ne,Le=M|ne,ee=M,be=M|Q,Et=0,Rn=M|ie,Mn=M|oe;function Nr(){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 Vn(n){return/[\r\n]/g.test(n)}function he(n){var l=n.length;return l&&a.code.isLineTerminator(n.charCodeAt(l-1))}function Lr(n,l){var o;for(o in l)l.hasOwnProperty(o)&&(n[o]=l[o]);return n}function yt(n,l){var o,c;function d(_){return typeof _=="object"&&_ instanceof Object&&!(_ instanceof RegExp)}for(o in l)l.hasOwnProperty(o)&&(c=l[o],d(c)?d(n[o])?yt(n[o],c):n[o]=yt({},c):n[o]=c);return n}function jn(n){var l,o,c,d,_;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 D?"null":m?"1e400":"1e+400";if(l=""+n,!m||l.length<3)return l;for(o=l.indexOf("."),!D&&l.charCodeAt(0)===48&&o===1&&(o=0,l=l.slice(1)),c=l,l=l.replace("e+","e"),d=0,(_=c.indexOf("e"))>0&&(d=+c.slice(_+1),c=c.slice(0,_)),o>=0&&(d-=c.length-o-1,c=+(c.slice(0,o)+c.slice(o+1))+""),_=0;c.charCodeAt(c.length+_-1)===48;)--_;return _!==0&&(d-=_,c=c.slice(0,_)),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&&!a.code.isDecimalDigit(l)?"\\0":n===11?"\\x0B":"\\x"+"00".slice(o.length)+o)}function Wn(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 Gn(n){var l,o,c,d;for(d=A==="double"?'"':"'",l=0,o=n.length;l126))){l+=Un(d,n.charCodeAt(o+1));continue}l+=String.fromCharCode(d)}if(k=!(A==="double"||A==="auto"&&w<_),L=k?"'":'"',!(k?_:w))return L+l+L;for(n=l,l=L,o=0,c=n.length;o=0&&!a.code.isLineTerminator(n.charCodeAt(l));--l);return n.length-1-l}function Jn(n,l){var o,c,d,_,w,k,L,J;for(o=n.split(/\r\n|[\r\n]/),k=Number.MAX_VALUE,c=1,d=o.length;cw&&(k=w)}for(typeof l<"u"?(L=f,o[1][k]==="*"&&(l+=" "),f=l):(k&1&&--k,L=f),c=1,d=o.length;c0){if(_=l,B){for(d=n.leadingComments[0],l=[],J=d.extendedRange,ce=d.range,Xe=F.substring(J[0],ce[0]),Se=(Xe.match(/\n/g)||[]).length,Se>0?(l.push(je(` -`,Se)),l.push(pe(we(d)))):(l.push(Xe),l.push(we(d))),qe=ce,o=1,c=n.leadingComments.length;o0?(l.push(je(` -`,Se)),l.push(pe(we(d)))):(l.push(Xe),l.push(we(d)));else for(w=!he(Y(l).toString()),k=je(" ",$n(Y([f,l,p]).toString())),o=0,c=n.trailingComments.length;o")),n.expression?(l.push(E),o=this.generateExpression(n.body,r.Assignment,O),o.toString().charAt(0)==="{"&&(o=["(",o,")"]),l.push(o)):l.push(this.maybeBlock(n.body,Mn)),l},ae.prototype.generateIterationForStatement=function(n,l,o){var c=["for"+(l.await?fe()+"await":"")+E+"("],d=this;return se(function(){l.left.type===t.VariableDeclaration?se(function(){c.push(l.left.kind+fe()),c.push(d.generateStatement(l.left.declarations[0],Et))}):c.push(d.generateExpression(l.left,r.Call,O)),c=U(c,n),c=[U(c,d.generateExpression(l.right,r.Assignment,O)),")"]}),c.push(this.maybeBlock(l.body,o)),c},ae.prototype.generatePropertyKey=function(n,l){var o=[];return l&&o.push("["),o.push(this.generateExpression(n,r.Assignment,O)),l&&o.push("]"),o},ae.prototype.generateAssignment=function(n,l,o,c,d){return r.Assignment2&&(c=F.substring(o[0]+1,o[1]-1),c[0]===` -`&&(d=["{"]),d.push(c)));var w,k,L,J;for(J=ee,l&oe&&(J|=ie),w=0,k=n.body.length;w0&&!n.body[w-1].trailingComments&&!n.body[w].leadingComments&&He(n.body[w-1].range[1],n.body[w].range[0],d)),w===k-1&&(J|=Q),n.body[w].leadingComments&&B?L=_.generateStatement(n.body[w],J):L=pe(_.generateStatement(n.body[w],J)),d.push(L),he(Y(L).toString())||B&&w1?se(L):L(),o.push(this.semicolon(l)),o},ThrowStatement:function(n,l){return[U("throw",this.generateExpression(n.argument,r.Sequence,O)),this.semicolon(l)]},TryStatement:function(n,l){var o,c,d,_;if(o=["try",this.maybeBlock(n.block,ee)],o=this.maybeBlockSuffix(n.block,o),n.handlers)for(c=0,d=n.handlers.length;c0?` -`:""],w=Rn,d=0;d<_;++d)!I&&d===_-1&&(w|=Q),B&&(d===0&&(n.body[0].leadingComments||He(n.range[0],n.body[d].range[0],o)),d>0&&!n.body[d-1].trailingComments&&!n.body[d].leadingComments&&He(n.body[d-1].range[1],n.body[d].range[0],o)),c=pe(this.generateStatement(n.body[d],w)),o.push(c),d+1<_&&!he(Y(c).toString())&&(B&&n.body[d+1].leadingComments||o.push(v)),B&&d===_-1&&(n.body[d].trailingComments||He(n.body[d].range[1],n.range[1],o));return o},FunctionDeclaration:function(n,l){return[rt(n,!0),"function",xt(n)||fe(),n.id?ge(n.id):"",this.generateFunctionBody(n)]},ReturnStatement:function(n,l){return n.argument?[U("return",this.generateExpression(n.argument,r.Sequence,O)),this.semicolon(l)]:["return"+this.semicolon(l)]},WhileStatement:function(n,l){var o,c=this;return se(function(){o=["while"+E+"(",c.generateExpression(n.test,r.Sequence,O),")"]}),o.push(this.maybeBlock(n.body,l&Q?be:ee)),o},WithStatement:function(n,l){var o,c=this;return se(function(){o=["with"+E+"(",c.generateExpression(n.object,r.Sequence,O),")"]}),o.push(this.maybeBlock(n.body,l&Q?be:ee)),o}},Lr(ae.prototype,ae.Statement),ae.Expression={SequenceExpression:function(n,l,o){var c,d,_;for(r.Sequence0){for(c.push("("),_=0,w=d;_=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,k;return d=this.generateExpression(n.argument,r.Unary,O),E===""?c=U(n.operator,d):(c=[n.operator],n.operator.length>2?c=U(c,d):(w=Y(c).toString(),k=w.charCodeAt(w.length-1),_=d.toString().charCodeAt(0),((k===43||k===45)&&k===_||a.code.isIdentifierPartES5(k)&&a.code.isIdentifierPartES5(_))&&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,O))),le(c,r.Yield,l)},AwaitExpression:function(n,l,o){var c=U(n.all?"await*":"await",this.generateExpression(n.argument,r.Await,O));return le(c,r.Await,l)},UpdateExpression:function(n,l,o){return n.prefix?le([n.operator,this.generateExpression(n.argument,r.Unary,O)],r.Unary,l):le([this.generateExpression(n.argument,r.Postfix,O),n.operator],r.Postfix,l)},FunctionExpression:function(n,l,o){var c=[rt(n,!0),"function"];return n.id?(c.push(xt(n)||fe()),c.push(ge(n.id))):c.push(xt(n)||E),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=this;return n.elements.length?(_=c?!1:n.elements.length>1,d=["[",_?v:""],se(function(k){var L,J;for(L=0,J=n.elements.length;L1,se(function(){_=w.generateExpression(n.properties[0],r.Sequence,O)}),!c&&!Vn(Y(_).toString())?["{",E,_,E,"}"]:(se(function(k){var L,J;if(d=["{",v,k,_],c)for(d.push(","+v),L=1,J=n.properties.length;L0||S.moz.comprehensionExpressionStartsWithAssignment?c=U(c,w):c.push(w)}),n.filter&&(c=U(c,"if"+E),w=this.generateExpression(n.filter,r.Sequence,O),c=U(c,["(",w,")"])),S.moz.comprehensionExpressionStartsWithAssignment||(w=this.generateExpression(n.body,r.Assignment,O),c=U(c,w)),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],Et)]:c=this.generateExpression(n.left,r.Call,O),c=U(c,n.of?"of":"in"),c=U(c,this.generateExpression(n.right,r.Sequence,O)),["for"+E+"(",c,")"]},SpreadElement:function(n,l,o){return["...",this.generateExpression(n.argument,r.Assignment,O)]},TaggedTemplateExpression:function(n,l,o){var c=Je;o&X||(c=Ve);var d=[this.generateExpression(n.tag,r.Call,c),this.generateExpression(n.quasi,r.Primary,Ct)];return le(d,r.TaggedTemplate,l)},TemplateElement:function(n,l,o){return n.value.raw},TemplateLiteral:function(n,l,o){var c,d,_;for(c=["`"],d=0,_=n.quasis.length;d<_;++d)c.push(this.generateExpression(n.quasis[d],r.Primary,O)),d+1<_&&(c.push("${"+E),c.push(this.generateExpression(n.expressions[d],r.Sequence,O)),c.push(E+"}"));return c.push("`"),c},ModuleSpecifier:function(n,l,o){return this.Literal(n,l,o)},ImportExpression:function(n,l,o){return le(["import(",this.generateExpression(n.source,r.Assignment,O),")"],r.Call,l)}},Lr(ae.prototype,ae.Expression),ae.prototype.generateExpression=function(n,l,o){var c,d;return d=n.type||t.Property,S.verbatim&&n.hasOwnProperty(S.verbatim)?Hn(n,l):(c=this[d](n,l,o),S.comment&&(c=Mr(n,c)),Y(c,n))},ae.prototype.generateStatement=function(n,l){var o,c;return o=this[n.type](n,l),S.comment&&(o=Mr(n,o)),c=Y(o).toString(),n.type===t.Program&&!I&&v===""&&c.charAt(c.length-1)===` -`&&(o=x?Y(o).replaceRight(/\s+$/,""):c.replace(/\s+$/,"")),Y(o,n)};function Xn(n){var l;if(l=new ae,q(n))return l.generateStatement(n,ee);if(W(n))return l.generateExpression(n,r.Sequence,O);throw new Error("Unknown node type: "+n.type)}function Qn(n,l){var o=Nr(),c,d;return l!=null?(typeof l.indent=="string"&&(o.format.indent.style=l.indent),typeof l.base=="number"&&(o.format.indent.base=l.base),l=yt(o,l),p=l.format.indent.style,typeof l.base=="string"?f=l.base:f=je(p,l.format.indent.base)):(l=o,p=l.format.indent.style,f=je(p,l.format.indent.base)),D=l.format.json,m=l.format.renumber,y=D?!1:l.format.hexadecimal,A=D?"double":l.format.quotes,C=l.format.escapeless,v=l.format.newline,E=l.format.space,l.format.compact&&(v=E=p=f=""),b=l.format.parentheses,T=l.format.semicolons,I=l.format.safeConcatenation,V=l.directive,g=D?null:l.parse,x=l.sourceMap,F=l.sourceCode,B=l.format.preserveBlankLines&&F!==null,S=l,x&&(e.browser?u=lt.sourceMap.SourceNode:u=Fu().SourceNode),c=Xn(n),x?(d=c.toStringWithSourceMap({file:l.file,sourceRoot:l.sourceMapRoot}),l.sourceContent&&d.map.setSourceContent(l.sourceMap,l.sourceContent),l.sourceMapWithCode?d:d.map.toString()):(d={code:c.toString(),map:null},l.sourceMapWithCode?d:d.code)}R={indent:{style:"",base:0},renumber:!0,hexadecimal:!0,quotes:"auto",escapeless:!0,compact:!0,parentheses:!1,semicolons:!1},N=Nr().format,e.version=Vu.version,e.generate=Qn,e.attachComments=s.attachComments,e.Precedence=yt({},r),e.browser=!1,e.FORMAT_MINIFY=R,e.FORMAT_DEFAULTS=N})()})(_i);var sr={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},ar="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",ju={5:ar,"5module":ar+" export import",6:ar+" const class extends export import super"},qu=/^in(stanceof)?$/,Dr="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",Oi="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",Uu=new RegExp("["+Dr+"]"),Wu=new RegExp("["+Dr+Oi+"]");Dr=Oi=null;var Ri=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938],Gu=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function lr(e,t){for(var r=65536,i=0;ie)return!1;if(r+=t[i+1],r>=e)return!0}}function Te(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&Uu.test(String.fromCharCode(e)):t===!1?!1:lr(e,Ri)}function We(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&&Wu.test(String.fromCharCode(e)):t===!1?!1:lr(e,Ri)||lr(e,Gu)}var K=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 Ee(e,t){return new K(e,{beforeExpr:!0,binop:t})}var ye={beforeExpr:!0},De={startsExpr:!0},Pt={};function H(e,t){return t===void 0&&(t={}),t.keyword=e,Pt[e]=new K(e,t)}var h={num:new K("num",De),regexp:new K("regexp",De),string:new K("string",De),name:new K("name",De),eof:new K("eof"),bracketL:new K("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new K("]"),braceL:new K("{",{beforeExpr:!0,startsExpr:!0}),braceR:new K("}"),parenL:new K("(",{beforeExpr:!0,startsExpr:!0}),parenR:new K(")"),comma:new K(",",ye),semi:new K(";",ye),colon:new K(":",ye),dot:new K("."),question:new K("?",ye),questionDot:new K("?."),arrow:new K("=>",ye),template:new K("template"),invalidTemplate:new K("invalidTemplate"),ellipsis:new K("...",ye),backQuote:new K("`",De),dollarBraceL:new K("${",{beforeExpr:!0,startsExpr:!0}),eq:new K("=",{beforeExpr:!0,isAssign:!0}),assign:new K("_=",{beforeExpr:!0,isAssign:!0}),incDec:new K("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new K("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:Ee("||",1),logicalAND:Ee("&&",2),bitwiseOR:Ee("|",3),bitwiseXOR:Ee("^",4),bitwiseAND:Ee("&",5),equality:Ee("==/!=/===/!==",6),relational:Ee("/<=/>=",7),bitShift:Ee("<>/>>>",8),plusMin:new K("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:Ee("%",10),star:Ee("*",10),slash:Ee("/",10),starstar:new K("**",{beforeExpr:!0}),coalesce:Ee("??",1),_break:H("break"),_case:H("case",ye),_catch:H("catch"),_continue:H("continue"),_debugger:H("debugger"),_default:H("default",ye),_do:H("do",{isLoop:!0,beforeExpr:!0}),_else:H("else",ye),_finally:H("finally"),_for:H("for",{isLoop:!0}),_function:H("function",De),_if:H("if"),_return:H("return",ye),_switch:H("switch"),_throw:H("throw",ye),_try:H("try"),_var:H("var"),_const:H("const"),_while:H("while",{isLoop:!0}),_with:H("with"),_new:H("new",{beforeExpr:!0,startsExpr:!0}),_this:H("this",De),_super:H("super",De),_class:H("class",De),_extends:H("extends",ye),_export:H("export"),_import:H("import",De),_null:H("null",De),_true:H("true",De),_false:H("false",De),_in:H("in",{beforeExpr:!0,binop:7}),_instanceof:H("instanceof",{beforeExpr:!0,binop:7}),_typeof:H("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:H("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:H("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},Ae=/\r\n?|\n|\u2028|\u2029/,Qe=new RegExp(Ae.source,"g");function et(e,t){return e===10||e===13||!t&&(e===8232||e===8233)}var Ar=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,Fe=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Mi=Object.prototype,zu=Mi.hasOwnProperty,$u=Mi.toString;function Nt(e,t){return zu.call(e,t)}var ui=Array.isArray||function(e){return $u.call(e)==="[object Array]"};function Ue(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var Ke=function(t,r){this.line=t,this.column=r};Ke.prototype.offset=function(t){return new Ke(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 Cr(e,t){for(var r=1,i=0;;){Qe.lastIndex=i;var u=Qe.exec(e);if(u&&u.index=2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),ui(t.onToken)){var i=t.onToken;t.onToken=function(u){return i.push(u)}}return ui(t.onComment)&&(t.onComment=Hu(t,t.onComment)),t}function Hu(e,t){return function(r,i,u,s,a,f){var p={type:r?"Block":"Line",value:i,start:u,end:s};e.locations&&(p.loc=new mt(this,a,f)),e.ranges&&(p.range=[u,s]),t.push(p)}}var ct=1,gt=2,Er=ct|gt,Vi=4,ji=8,qi=16,Ui=32,Wi=64,Gi=128;function yr(e,t){return gt|(e?Vi:0)|(t?ji:0)}var si=0,xr=1,Ie=2,zi=3,$i=4,Ji=5,re=function(t,r,i){this.options=t=Ju(t),this.sourceFile=t.sourceFile,this.keywords=Ue(ju[t.ecmaVersion>=6?6:t.sourceType==="module"?"5module":5]);var u="";if(t.allowReserved!==!0){for(var s=t.ecmaVersion;!(u=sr[s]);s--);t.sourceType==="module"&&(u+=" await")}this.reservedWords=Ue(u);var a=(u?u+" ":"")+sr.strict;this.reservedWordsStrict=Ue(a),this.reservedWordsStrictBind=Ue(a+" "+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(Ae).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&ji)>0};ze.inAsync.get=function(){return(this.currentVarScope().flags&Vi)>0};ze.allowSuper.get=function(){return(this.currentThisScope().flags&Wi)>0};ze.allowDirectSuper.get=function(){return(this.currentThisScope().flags&Gi)>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,u=0;u=,?^&]/.test(u)||u==="!"&&this.input.charAt(i+1)==="=")}e+=t[0].length,Fe.lastIndex=e,e+=Fe.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||Ae.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 Lt(){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(u,!1,!e);case h._class:return e&&this.unexpected(),this.parseClass(u,!0);case h._if:return this.parseIfStatement(u);case h._return:return this.parseReturnStatement(u);case h._switch:return this.parseSwitchStatement(u);case h._throw:return this.parseThrowStatement(u);case h._try:return this.parseTryStatement(u);case h._const:case h._var:return s=s||this.value,e&&s!=="var"&&this.unexpected(),this.parseVarStatement(u,s);case h._while:return this.parseWhileStatement(u);case h._with:return this.parseWithStatement(u);case h.braceL:return this.parseBlock(!0,u);case h.semi:return this.parseEmptyStatement(u);case h._export:case h._import:if(this.options.ecmaVersion>10&&i===h._import){Fe.lastIndex=this.pos;var a=Fe.exec(this.input),f=this.pos+a[0].length,p=this.input.charCodeAt(f);if(p===40||p===46)return this.parseExpressionStatement(u,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(u):this.parseExport(u,r);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(u,!0,!e);var D=this.value,m=this.parseExpression();return i===h.name&&m.type==="Identifier"&&this.eat(h.colon)?this.parseLabeledStatement(u,D,m,e):this.parseExpressionStatement(u,m)}};G.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")};G.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(Fr),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(),u=r?"let":this.value;return this.next(),this.parseVar(i,!0,u),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 s=new Lt,a=this.parseExpression(!0,s);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(a,!1,s),this.checkLVal(a),this.parseForIn(e,a)):(this.checkExpressionErrors(s,!0),t>-1&&this.unexpected(t),this.parseFor(e,a))};G.parseFunctionStatement=function(e,t,r){return this.next(),this.parseFunction(e,at|(r?0:cr),!1,t)};G.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")};G.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")};G.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(h.braceL),this.labels.push(Qu),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")};G.parseThrowStatement=function(e){return this.next(),Ae.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 Ku=[];G.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?Ui:0),this.checkLVal(t.param,r?$i:Ie),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")};G.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")};G.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(Fr),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")};G.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")};G.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")};G.parseLabeledStatement=function(e,t,r,i){for(var u=0,s=this.labels;u=0;p--){var D=this.labels[p];if(D.statementStart===e.start)D.statementStart=this.start,D.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")};G.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")};G.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")};G.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")};G.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")};G.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};G.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLVal(e.id,t==="var"?xr:Ie,!1)};var at=1,cr=2,Hi=4;G.parseFunction=function(e,t,r,i){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!i)&&(this.type===h.star&&t&cr&&this.unexpected(),e.generator=this.eat(h.star)),this.options.ecmaVersion>=8&&(e.async=!!i),t&at&&(e.id=t&Hi&&this.type!==h.name?null:this.parseIdent(),e.id&&!(t&cr)&&this.checkLVal(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?xr:Ie:zi));var u=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(yr(e.async,e.generator)),t&at||(e.id=this.type===h.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,r,!1),this.yieldPos=u,this.awaitPos=s,this.awaitIdentPos=a,this.finishNode(e,t&at?"FunctionDeclaration":"FunctionExpression")};G.parseFunctionParams=function(e){this.expect(h.parenL),e.params=this.parseBindingList(h.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()};G.parseClass=function(e,t){this.next();var r=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var i=this.startNode(),u=!1;for(i.body=[],this.expect(h.braceL);this.type!==h.braceR;){var s=this.parseClassElement(e.superClass!==null);s&&(i.body.push(s),s.type==="MethodDefinition"&&s.kind==="constructor"&&(u&&this.raise(s.start,"Duplicate constructor in the same class"),u=!0))}return this.strict=r,this.next(),e.body=this.finishNode(i,"ClassBody"),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")};G.parseClassElement=function(e){var t=this;if(this.eat(h.semi))return null;var r=this.startNode(),i=function(p,D){D===void 0&&(D=!1);var m=t.start,y=t.startLoc;return t.eatContextual(p)?t.type!==h.parenL&&(!D||!t.canInsertSemicolon())?!0:(r.key&&t.unexpected(),r.computed=!1,r.key=t.startNodeAt(m,y),r.key.name=p,t.finishNode(r.key,"Identifier"),!1):!1};r.kind="method",r.static=i("static");var u=this.eat(h.star),s=!1;u||(this.options.ecmaVersion>=8&&i("async",!0)?(s=!0,u=this.options.ecmaVersion>=9&&this.eat(h.star)):i("get")?r.kind="get":i("set")&&(r.kind="set")),r.key||this.parsePropertyName(r);var a=r.key,f=!1;return!r.computed&&!r.static&&(a.type==="Identifier"&&a.name==="constructor"||a.type==="Literal"&&a.value==="constructor")?(r.kind!=="method"&&this.raise(a.start,"Constructor can't have get/set modifier"),u&&this.raise(a.start,"Constructor can't be a generator"),s&&this.raise(a.start,"Constructor can't be an async method"),r.kind="constructor",f=e):r.static&&a.type==="Identifier"&&a.name==="prototype"&&this.raise(a.start,"Classes may not have a static property named prototype"),this.parseClassMethod(r,u,s,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};G.parseClassMethod=function(e,t,r,i){return e.value=this.parseMethod(t,r,i),this.finishNode(e,"MethodDefinition")};G.parseClassId=function(e,t){this.type===h.name?(e.id=this.parseIdent(),t&&this.checkLVal(e.id,Ie,!1)):(t===!0&&this.unexpected(),e.id=null)};G.parseClassSuper=function(e){e.superClass=this.eat(h._extends)?this.parseExprSubscripts():null};G.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,at|Hi,!1,r)}else if(this.type===h._class){var u=this.startNode();e.declaration=this.parseClass(u,"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 s=0,a=e.specifiers;s=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,u=e.properties;i=8&&!s&&a.name==="async"&&!this.canInsertSemicolon()&&this.eat(h._function))return this.parseFunction(this.startNodeAt(i,u),0,!1,!0);if(r&&!this.canInsertSemicolon()){if(this.eat(h.arrow))return this.parseArrowExpression(this.startNodeAt(i,u),[a],!1);if(this.options.ecmaVersion>=8&&a.name==="async"&&this.type===h.name&&!s)return a=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(h.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(i,u),[a],!0)}return a;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,D=this.parseParenAndDistinguishExpression(r);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(D)&&(e.parenthesizedAssign=p),e.parenthesizedBind<0&&(e.parenthesizedBind=p)),D;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,u=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var s=this.start,a=this.startLoc,f=[],p=!0,D=!1,m=new Lt,y=this.yieldPos,A=this.awaitPos,C;for(this.yieldPos=0,this.awaitPos=0;this.type!==h.parenR;)if(p?p=!1:this.expect(h.comma),u&&this.afterTrailingComma(h.parenR,!0)){D=!0;break}else if(this.type===h.ellipsis){C=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,m,this.parseParenItem));var v=this.start,E=this.startLoc;if(this.expect(h.parenR),e&&!this.canInsertSemicolon()&&this.eat(h.arrow))return this.checkPatternErrors(m,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=y,this.awaitPos=A,this.parseParenArrowList(t,r,f);(!f.length||D)&&this.unexpected(this.lastTokStart),C&&this.unexpected(C),this.checkExpressionErrors(m,!0),this.yieldPos=y||this.yieldPos,this.awaitPos=A||this.awaitPos,f.length>1?(i=this.startNodeAt(s,a),i.expressions=f,this.finishNodeAt(i,"SequenceExpression",v,E)):i=f[0]}else i=this.parseParenExpression();if(this.options.preserveParens){var b=this.startNodeAt(t,r);return b.expression=i,this.finishNode(b,"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 Yu=[];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,u=this.startLoc,s=this.type===h._import;return e.callee=this.parseSubscripts(this.parseExprAtom(),i,u,!0),s&&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=Yu,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)&&!Ae.test(this.input.slice(this.lastTokEnd,this.start))};z.parseObj=function(e,t){var r=this.startNode(),i=!0,u={};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 s=this.parseProperty(e,t);e||this.checkPropClash(s,u,t),r.properties.push(s)}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")};z.parseProperty=function(e,t){var r=this.startNode(),i,u,s,a;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)&&(s=this.start,a=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)?(u=!0,i=this.options.ecmaVersion>=9&&this.eat(h.star),this.parsePropertyName(r,t)):u=!1,this.parsePropertyValue(r,e,i,u,s,a,t,f),this.finishNode(r,"Property")};z.parsePropertyValue=function(e,t,r,i,u,s,a,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,a),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 D=e.value.start;e.kind==="get"?this.raiseRecoverable(D,"getter should have no params"):this.raiseRecoverable(D,"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=u),e.kind="init",t?e.value=this.parseMaybeDefault(u,s,e.key):this.type===h.eq&&a?(a.shorthandAssign<0&&(a.shorthandAssign=this.start),e.value=this.parseMaybeDefault(u,s,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(),u=this.yieldPos,s=this.awaitPos,a=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(yr(t,i.generator)|Wi|(r?Gi: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=u,this.awaitPos=s,this.awaitIdentPos=a,this.finishNode(i,"FunctionExpression")};z.parseArrowExpression=function(e,t,r){var i=this.yieldPos,u=this.awaitPos,s=this.awaitIdentPos;return this.enterScope(yr(r,!1)|qi),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=u,this.awaitIdentPos=s,this.finishNode(e,"ArrowFunctionExpression")};z.parseFunctionBody=function(e,t,r){var i=t&&this.type!==h.braceL,u=this.strict,s=!1;if(i)e.body=this.parseMaybeAssign(),e.expression=!0,this.checkParams(e,!1);else{var a=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!u||a)&&(s=this.strictDirective(this.end),s&&a&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var f=this.labels;this.labels=[],s&&(this.strict=!0),this.checkParams(e,!u&&!s&&!t&&!r&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLVal(e.id,Ji),e.body=this.parseBlock(!1,void 0,s&&!u),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||u.functions.indexOf(e)>-1||u.var.indexOf(e)>-1,u.lexical.push(e),this.inModule&&u.flags&ct&&delete this.undefinedExports[e]}else if(t===$i){var s=this.currentScope();s.lexical.push(e)}else if(t===zi){var a=this.currentScope();this.treatFunctionsAsVar?i=a.lexical.indexOf(e)>-1:i=a.lexical.indexOf(e)>-1||a.var.indexOf(e)>-1,a.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&Ui&&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&Er)break}i&&this.raiseRecoverable(r,"Identifier '"+e+"' has already been declared")};Me.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)};Me.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};Me.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&Er)return t}};Me.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&Er&&!(t.flags&qi))return t}};var Ot=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])},Rt=re.prototype;Rt.startNode=function(){return new Ot(this,this.start,this.startLoc)};Rt.startNodeAt=function(e,t){return new Ot(this,e,t)};function Xi(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}Rt.finishNode=function(e,t){return Xi.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)};Rt.finishNodeAt=function(e,t,r,i){return Xi.call(this,e,t,r,i)};var xe=function(t,r,i,u,s){this.token=t,this.isExpr=!!r,this.preserveSpace=!!i,this.override=u,this.generator=!!s},ue={b_stat:new xe("{",!1),b_expr:new xe("{",!0),b_tmpl:new xe("${",!1),p_stat:new xe("(",!1),p_expr:new xe("(",!0),q_tmpl:new xe("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new xe("function",!1),f_expr:new xe("function",!0),f_expr_gen:new xe("function",!0,!1,null,!0),f_gen:new xe("function",!1,!1,null,!0)},Mt=re.prototype;Mt.initialContext=function(){return[ue.b_stat]};Mt.braceIsBlock=function(e){var t=this.curContext();return t===ue.f_expr||t===ue.f_stat?!0:e===h.colon&&(t===ue.b_stat||t===ue.b_expr)?!t.isExpr:e===h._return||e===h.name&&this.exprAllowed?Ae.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===ue.b_stat:e===h._var||e===h._const||e===h.name?!1:!this.exprAllowed};Mt.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};Mt.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===ue.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)?ue.b_stat:ue.b_expr),this.exprAllowed=!0};h.dollarBraceL.updateContext=function(){this.context.push(ue.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?ue.p_stat:ue.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&&Ae.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===h.colon||e===h.braceL)&&this.curContext()===ue.b_stat)?this.context.push(ue.f_expr):this.context.push(ue.f_stat),this.exprAllowed=!1};h.backQuote.updateContext=function(){this.curContext()===ue.q_tmpl?this.context.pop():this.context.push(ue.q_tmpl),this.exprAllowed=!1};h.star.updateContext=function(e){if(e===h._function){var t=this.context.length-1;this.context[t]===ue.f_expr?this.context[t]=ue.f_expr_gen:this.context[t]=ue.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 Qi="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",Ki=Qi+" Extended_Pictographic",es=Ki,ts={9:Qi,10:Ki,11:es},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",Yi="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",Zi=Yi+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",rs=Zi+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",is={9:Yi,10:Zi,11:rs},en={};function vr(e){var t=en[e]={binary:Ue(ts[e]+" "+ai),nonBinary:{General_Category:Ue(ai),Script:Ue(is[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}vr(9);vr(10);vr(11);var j=re.prototype,Ne=function(t){this.parser=t,this.validFlags="gim"+(t.options.ecmaVersion>=6?"uy":"")+(t.options.ecmaVersion>=9?"s":""),this.unicodeProperties=en[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=[]};Ne.prototype.reset=function(t,r,i){var u=i.indexOf("u")!==-1;this.start=t|0,this.source=r+"",this.flags=i,this.switchU=u&&this.parser.options.ecmaVersion>=6,this.switchN=u&&this.parser.options.ecmaVersion>=9};Ne.prototype.raise=function(t){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+t)};Ne.prototype.at=function(t,r){r===void 0&&(r=!1);var i=this.source,u=i.length;if(t>=u)return-1;var s=i.charCodeAt(t);if(!(r||this.switchU)||s<=55295||s>=57344||t+1>=u)return s;var a=i.charCodeAt(t+1);return a>=56320&&a<=57343?(s<<10)+a-56613888:s};Ne.prototype.nextIndex=function(t,r){r===void 0&&(r=!1);var i=this.source,u=i.length;if(t>=u)return u;var s=i.charCodeAt(t),a;return!(r||this.switchU)||s<=55295||s>=57344||t+1>=u||(a=i.charCodeAt(t+1))<56320||a>57343?t+1:t+2};Ne.prototype.current=function(t){return t===void 0&&(t=!1),this.at(this.pos,t)};Ne.prototype.lookahead=function(t){return t===void 0&&(t=!1),this.at(this.nextIndex(this.pos,t),t)};Ne.prototype.advance=function(t){t===void 0&&(t=!1),this.pos=this.nextIndex(this.pos,t)};Ne.prototype.eat=function(t,r){return r===void 0&&(r=!1),this.current(r)===t?(this.advance(r),!0):!1};function kt(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,u=-1;if(this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(u=e.lastIntValue),e.eat(125)))return u!==-1&&u=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 tn(t)?(e.lastIntValue=t,e.advance(),!0):!1};function tn(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&&!tn(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+=kt(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=kt(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),ns(i)?(e.lastIntValue=i,!0):(e.pos=t,!1)};function ns(e){return Te(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),us(i)?(e.lastIntValue=i,!0):(e.pos=t,!1)};function us(e){return We(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&&!Vt(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 rn(t)?(e.lastIntValue=t%32,e.advance(),!0):!1};function rn(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 u=e.lastIntValue;if(i&&u>=55296&&u<=56319){var s=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var a=e.lastIntValue;if(a>=56320&&a<=57343)return e.lastIntValue=(u-55296)*1024+(a-56320)+65536,!0}e.pos=s,e.lastIntValue=u}return!0}if(i&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&ss(e.lastIntValue))return!0;i&&e.raise("Invalid unicode escape"),e.pos=r}return!1};function ss(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(as(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 as(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 u=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,u),!0}return!1};j.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){Nt(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(r)||e.raise("Invalid property value")};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="";nn(t=e.current());)e.lastStringValue+=kt(t),e.advance();return e.lastStringValue!==""};function nn(e){return rn(e)||e===95}j.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";os(t=e.current());)e.lastStringValue+=kt(t),e.advance();return e.lastStringValue!==""};function os(e){return nn(e)||Vt(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||an(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 Vt(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;Vt(r=e.current());)e.lastIntValue=10*e.lastIntValue+(r-48),e.advance();return e.pos!==t};function Vt(e){return e>=48&&e<=57}j.regexp_eatHexDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;un(r=e.current());)e.lastIntValue=16*e.lastIntValue+sn(r),e.advance();return e.pos!==t};function un(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function sn(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 an(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)};function an(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 Te(e,this.options.ecmaVersion>=6)||e===92?this.readWord():this.getTokenFromCode(e)};$.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=57344)return e;var t=this.input.charCodeAt(this.pos+1);return(e<<10)+t-56613888};$.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(r===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations){Qe.lastIndex=t;for(var i;(i=Qe.exec(this.input))&&i.index8&&e<14||e>=5760&&Ar.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||Ae.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 '"+br(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(Ae.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 u=this.input.slice(r,this.pos);++this.pos;var s=this.pos,a=this.readWord1();this.containsEsc&&this.unexpected(s);var f=this.regexpState||(this.regexpState=new Ne(this));f.reset(r,u,a),this.validateRegExpFlags(f),this.validateRegExpPattern(f);var p=null;try{p=new RegExp(u,a)}catch{}return this.finishToken(h.regexp,{pattern:u,flags:a,value:p})};$.readInt=function(e,t,r){for(var i=this.options.ecmaVersion>=12&&t===void 0,u=r&&this.input.charCodeAt(this.pos)===48,s=this.pos,a=0,f=0,p=0,D=t??1/0;p=97?y=m-97+10:m>=65?y=m-65+10:m>=48&&m<=57?y=m-48:y=1/0,y>=e)break;f=m,a=a*e+y}return i&&f===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===s||t!=null&&this.pos-s!==t?null:a};function ls(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function on(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=on(this.input.slice(t,this.pos)),++this.pos):Te(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 u=on(this.input.slice(t,this.pos));return++this.pos,Te(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(h.num,u)}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")),Te(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var s=ls(this.input.slice(t,this.pos),r);return this.finishToken(h.num,s)};$.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 br(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 ln={};$.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===ln)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1};$.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw ln;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],u=parseInt(i,8);return u>255&&(i=i.slice(0,-1),u=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(u)}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=uu(ps);(function(e){const t=ds,r=/^[\da-fA-F]+$/,i=/^\d+$/,u=new WeakMap;function s(p){p=p.Parser.acorn||p;let D=u.get(p);if(!D){const m=p.tokTypes,y=p.TokContext,A=p.TokenType,C=new y("...",!0,!0),b={tc_oTag:C,tc_cTag:v,tc_expr:E},T={jsxName:new A("jsxName"),jsxText:new A("jsxText",{beforeExpr:!0}),jsxTagStart:new A("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new A("jsxTagEnd")};T.jsxTagStart.updateContext=function(){this.context.push(E),this.context.push(C),this.exprAllowed=!1},T.jsxTagEnd.updateContext=function(I){let V=this.context.pop();V===C&&I===m.slash||V===v?(this.context.pop(),this.exprAllowed=this.curContext()===E):this.exprAllowed=!0},D={tokContexts:b,tokTypes:T},u.set(p,D)}return D}function a(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 a(p.object)+"."+a(p.property)}e.exports=function(p){return p=p||{},function(D){return f({allowNamespaces:p.allowNamespaces!==!1,allowNamespacedObjects:!!p.allowNamespacedObjects},D)}},Object.defineProperty(e.exports,"tokTypes",{get:function(){return s(oi).tokTypes},configurable:!0,enumerable:!0});function f(p,D){const m=D.acorn||oi,y=s(m),A=m.tokTypes,C=y.tokTypes,v=m.tokContexts,E=y.tokContexts.tc_oTag,b=y.tokContexts.tc_cTag,T=y.tokContexts.tc_expr,I=m.isNewLine,V=m.isIdentifierStart,S=m.isIdentifierChar;return class extends D{static get acornJsx(){return y}jsx_readToken(){let g="",x=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let F=this.input.charCodeAt(this.pos);switch(F){case 60:case 123:return this.pos===this.start?F===60&&this.exprAllowed?(++this.pos,this.finishToken(C.jsxTagStart)):this.getTokenFromCode(F):(g+=this.input.slice(x,this.pos),this.finishToken(C.jsxText,g));case 38:g+=this.input.slice(x,this.pos),g+=this.jsx_readEntity(),x=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(F===62?">":"}")+'` or `{"'+this.input[this.pos]+'"}`?');default:I(F)?(g+=this.input.slice(x,this.pos),g+=this.jsx_readNewLine(!0),x=this.pos):++this.pos}}}jsx_readNewLine(g){let x=this.input.charCodeAt(this.pos),F;return++this.pos,x===13&&this.input.charCodeAt(this.pos)===10?(++this.pos,F=g?` -`:`\r -`):F=String.fromCharCode(x),this.options.locations&&(++this.curLine,this.lineStart=this.pos),F}jsx_readString(g){let x="",F=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let B=this.input.charCodeAt(this.pos);if(B===g)break;B===38?(x+=this.input.slice(F,this.pos),x+=this.jsx_readEntity(),F=this.pos):I(B)?(x+=this.input.slice(F,this.pos),x+=this.jsx_readNewLine(!1),F=this.pos):++this.pos}return x+=this.input.slice(F,this.pos++),this.finishToken(A.string,x)}jsx_readEntity(){let g="",x=0,F,B=this.input[this.pos];B!=="&"&&this.raise(this.pos,"Entity must start with an ampersand");let R=++this.pos;for(;this.pos")}let W=R.name?"Element":"Fragment";return F["opening"+W]=R,F["closing"+W]=N,F.children=B,this.type===A.relational&&this.value==="<"&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(F,"JSX"+W)}jsx_parseText(){let g=this.parseLiteral(this.value);return g.type="JSXText",g}jsx_parseElement(){let g=this.start,x=this.startLoc;return this.next(),this.jsx_parseElementAt(g,x)}parseExprAtom(g){return this.type===C.jsxText?this.jsx_parseText():this.type===C.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(g)}readToken(g){let x=this.curContext();if(x===T)return this.jsx_readToken();if(x===E||x===b){if(V(g))return this.jsx_readWord();if(g==62)return++this.pos,this.finishToken(C.jsxTagEnd);if((g===34||g===39)&&x==E)return this.jsx_readString(g)}return g===60&&this.exprAllowed&&this.input.charCodeAt(this.pos+1)!==33?(++this.pos,this.finishToken(C.jsxTagStart)):super.readToken(g)}updateContext(g){if(this.type==A.braceL){var x=this.curContext();x==E?this.context.push(v.b_expr):x==T?this.context.push(v.b_tmpl):super.updateContext(g),this.exprAllowed=!0}else if(this.type===A.slash&&g===C.jsxTagStart)this.context.length-=2,this.context.push(b),this.exprAllowed=!1;else return super.updateContext(g)}}}})(hn);var ms=hn.exports;const gs=pt(ms);function fn(e,t,r,i,u){r||(r=P),function s(a,f,p){var D=p||a.type,m=t[D];r[D](a,f,s),m&&m(a,f)}(e,i,u)}function Ds(e,t,r,i,u){var s=[];r||(r=P),function a(f,p,D){var m=D||f.type,y=t[m],A=f!==s[s.length-1];A&&s.push(f),r[m](f,p,a),y&&y(f,p||s,s),A&&s.pop()}(e,i,u)}function Sr(e,t,r){r(e,t)}function $e(e,t,r){}var P={};P.Program=P.BlockStatement=function(e,t,r){for(var i=0,u=e.body;i - * - * Copyright (c) 2014-2017, Jon Schlinkert. - * Released under the MIT License. - */function li(e){return Object.prototype.toString.call(e)==="[object Object]"}function Os(e){var t,r;return li(e)===!1?!1:(t=e.constructor,t===void 0?!0:(r=t.prototype,!(li(r)===!1||r.hasOwnProperty("isPrototypeOf")===!1)))}var dn={},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(Dn(String(i.value)+String(t.value))):(i&&r.push(i),r.push(t)),r},la=function(t){return["key","ref"].includes(t)},ca=function(e){return function(t){var r=t.includes("key"),i=t.includes("ref"),u=t.filter(function(a){return!la(a)}),s=ci(e?u.sort():u);return i&&s.unshift("ref"),r&&s.unshift("key"),s}};function ha(e,t){return Array.isArray(t)?function(r){return t.indexOf(r)===-1}:function(r){return t(e[r],r)}}var fa=function(t,r,i,u,s){var a=s.tabStop;return t.type==="string"?r.split(` -`).map(function(f,p){return p===0?f:"".concat(ke(u,a)).concat(f)}).join(` -`):r},pa=function(t,r,i){return function(u){return fa(u,Kt(u,t,r,i),t,r,i)}},da=function(t,r){return function(i){var u=Object.keys(t).includes(i);return!u||u&&t[i]!==r[i]}},En=function(t,r,i,u,s){return s?ke(i,u).length+r.length>s:t.length>1},ma=function(t,r,i,u,s,a,f){return(En(t,r,s,a,f)||i)&&!u},yn=function(e,t,r,i){var u=e.type,s=e.displayName,a=s===void 0?"":s,f=e.childrens,p=e.props,D=p===void 0?{}:p,m=e.defaultProps,y=m===void 0?{}:m;if(u!=="ReactElement")throw new Error('The "formatReactElementNode" function could only format node of type "ReactElement". Given: '.concat(u));var A=i.filterProps,C=i.maxInlineAttributesLineLength,v=i.showDefaultProps,E=i.sortProps,b=i.tabStop,T="<".concat(a),I=T,V=T,S=!1,g=[],x=ha(D,A);Object.keys(D).filter(x).filter(da(y,D)).forEach(function(R){return g.push(R)}),Object.keys(y).filter(x).filter(function(){return v}).filter(function(R){return!g.includes(R)}).forEach(function(R){return g.push(R)});var F=ca(E)(g);if(F.forEach(function(R){var N=aa(R,Object.keys(D).includes(R),D[R],Object.keys(y).includes(R),y[R],t,r,i),W=N.attributeFormattedInline,q=N.attributeFormattedMultiline,M=N.isMultilineAttribute;M&&(S=!0),I+=W,V+=q}),V+=` -`.concat(ke(r,b)),ma(F,I,S,t,r,b,C)?T=V:T=I,f&&f.length>0){var B=r+1;T+=">",t||(T+=` -`,T+=ke(B,b)),T+=f.reduce(oa,[]).map(pa(t,B,i)).join(t?"":` -`.concat(ke(B,b))),t||(T+=` -`,T+=ke(B-1,b)),T+="")}else En(F,I,r,b,C)||(T+=" "),T+="/>";return T},ga="",di="React.Fragment",Da=function(t,r,i){var u={};return r&&(u={key:r}),{type:"ReactElement",displayName:t,props:u,defaultProps:{},childrens:i}},Aa=function(t){var r=t.key;return!!r},Ca=function(t){var r=t.childrens;return r.length===0},Ea=function(e,t,r,i){var u=e.type,s=e.key,a=e.childrens;if(u!=="ReactFragment")throw new Error('The "formatReactFragmentNode" function could only format node of type "ReactFragment". Given: '.concat(u));var f=i.useFragmentShortSyntax,p;return f?Ca(e)||Aa(e)?p=di:p=ga:p=di,yn(Da(p,s,a),t,r,i)},ya=["<",">","{","}"],xa=function(t){return ya.some(function(r){return t.includes(r)})},Fa=function(t){return xa(t)?"{`".concat(t,"`}"):t},va=function(t){var r=t;return r.endsWith(" ")&&(r=r.replace(/^(.*?)(\s+)$/,"$1{'$2'}")),r.startsWith(" ")&&(r=r.replace(/^(\s+)(.*)$/,"{'$1'}$2")),r},Kt=function(e,t,r,i){if(e.type==="number")return String(e.value);if(e.type==="string")return e.value?"".concat(va(Fa(String(e.value)))):"";if(e.type==="ReactElement")return yn(e,t,r,i);if(e.type==="ReactFragment")return Ea(e,t,r,i);throw new TypeError('Unknow format type "'.concat(e.type,'"'))},ba=function(e,t){return Kt(e,!1,0,t)},ot=function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=r.filterProps,u=i===void 0?[]:i,s=r.showDefaultProps,a=s===void 0?!0:s,f=r.showFunctions,p=f===void 0?!1:f,D=r.functionValue,m=r.tabStop,y=m===void 0?2:m,A=r.useBooleanShorthandSyntax,C=A===void 0?!0:A,v=r.useFragmentShortSyntax,E=v===void 0?!0:v,b=r.sortProps,T=b===void 0?!0:b,I=r.maxInlineAttributesLineLength,V=r.displayName;if(!t)throw new Error("react-element-to-jsx-string: Expected a ReactElement");var S={filterProps:u,showDefaultProps:a,showFunctions:p,functionValue:D,tabStop:y,useBooleanShorthandSyntax:C,useFragmentShortSyntax:E,sortProps:T,maxInlineAttributesLineLength:I,displayName:V};return ba(wr(t,S),S)};const{defaultDecorateStory:Sa,addons:_a,useEffect:Ba}=__STORYBOOK_MODULE_PREVIEW_API__,{logger:bt}=__STORYBOOK_MODULE_CLIENT_LOGGER__;function wa(e,t){let r=e!=null,i=t!=null;if(!r&&!i)return"";let u=[];if(r){let s=e.map(a=>{let f=a.getPrettyName(),p=a.getTypeName();return p!=null?`${f}: ${p}`:f});u.push(`(${s.join(", ")})`)}else u.push("()");return i&&u.push(`=> ${t.getTypeName()}`),u.join(" ")}function ka(e,t){let r=e!=null,i=t!=null;if(!r&&!i)return"";let u=[];return r?u.push("( ... )"):u.push("()"),i&&u.push(`=> ${t.getTypeName()}`),u.join(" ")}function Ia(e){return e.replace(/,/g,`,\r -`)}var pr="custom",Dt="object",kr="array",Ta="class",Ye="func",tt="element";function Ir(e){return du.includes(e.toLowerCase())}var xn={format:{indent:{style:" "},semicolons:!1}},Pa={...xn,format:{newline:""}},Na={...xn};function Oe(e,t=!1){return _i.generate(e,t?Pa:Na)}function dr(e,t=!1){return t?La(e):Oe(e)}function La(e){let t=Oe(e,!0);return t.endsWith(" }")||(t=`${t.slice(0,-1)} }`),t}function mi(e,t=!1){return t?Ra(e):Oa(e)}function Oa(e){let t=Oe(e);return t.endsWith(" }]")&&(t=su(t)),t}function Ra(e){let t=Oe(e,!0);return t.startsWith("[ ")&&(t=t.replace("[ ","[")),t}var Fn=e=>e.$$typeof===Symbol.for("react.memo"),Ma=e=>e.$$typeof===Symbol.for("react.forward_ref"),Tr={...P,JSXElement:()=>{}},Va=re.extend(gs());function At(e){return e!=null?e.name:null}function gi(e){return e.filter(t=>t.type==="ObjectExpression"||t.type==="ArrayExpression")}function vn(e){let t=[];return Ds(e,{ObjectExpression(r,i){t.push(gi(i).length)},ArrayExpression(r,i){t.push(gi(i).length)}},Tr),Math.max(...t)}function ja(e){return{inferredType:{type:"Identifier",identifier:At(e)},ast:e}}function qa(e){return{inferredType:{type:"Literal"},ast:e}}function Ua(e){let t;fn(e.body,{JSXElement(u){t=u}},Tr);let r={type:t!=null?"Element":"Function",params:e.params,hasParams:e.params.length!==0},i=At(e.id);return i!=null&&(r.identifier=i),{inferredType:r,ast:e}}function Wa(e){let t;return fn(e.body,{JSXElement(r){t=r}},Tr),{inferredType:{type:t!=null?"Element":"Class",identifier:At(e.id)},ast:e}}function Ga(e){let t={type:"Element"},r=At(e.openingElement.name);return r!=null&&(t.identifier=r),{inferredType:t,ast:e}}function za(e){let t=e.callee.type==="MemberExpression"?e.callee.property:e.callee;return At(t)==="shape"?bn(e.arguments[0]):null}function bn(e){return{inferredType:{type:"Object",depth:vn(e)},ast:e}}function $a(e){return{inferredType:{type:"Array",depth:vn(e)},ast:e}}function Ja(e){switch(e.type){case"Identifier":return ja(e);case"Literal":return qa(e);case"FunctionExpression":case"ArrowFunctionExpression":return Ua(e);case"ClassExpression":return Wa(e);case"JSXElement":return Ga(e);case"CallExpression":return za(e);case"ObjectExpression":return bn(e);case"ArrayExpression":return $a(e);default:return null}}function Ha(e){let t=Va.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 u=Ja(i.expression);u!=null&&(r=u);break}}}return r}function Re(e){try{return{...Ha(e)}}catch{}return{inferredType:{type:"Unknown"}}}var Xa=150;function de({name:e,short:t,compact:r,full:i,inferredType:u}){return{name:e,short:t,compact:r,full:i??t,inferredType:u}}function Sn(e){return e.replace(/PropTypes./g,"").replace(/.isRequired/g,"")}function Di(e){return e.split(/\r?\n/)}function Tt(e,t=!1){return Sn(dr(e,t))}function Ai(e,t=!1){return Sn(Oe(e,t))}function Qa(e){switch(e){case"Object":return Dt;case"Array":return kr;case"Class":return Ta;case"Function":return Ye;case"Element":return tt;default:return pr}}function _n(e,t){let{inferredType:r,ast:i}=Re(e),{type:u}=r,s,a,f;switch(u){case"Identifier":case"Literal":s=e,a=e;break;case"Object":{let{depth:p}=r;s=Dt,a=p===1?Tt(i,!0):null,f=Tt(i);break}case"Element":{let{identifier:p}=r;s=p!=null&&!Ir(p)?p:tt,a=Di(e).length===1?e:null,f=e;break}case"Array":{let{depth:p}=r;s=kr,a=p<=2?Ai(i,!0):null,f=Ai(i);break}default:s=Qa(u),a=Di(e).length===1?e:null,f=e;break}return de({name:t,short:s,compact:a,full:f,inferredType:u})}function Ka({raw:e}){return e!=null?_n(e,"custom"):de({name:"custom",short:pr,compact:pr})}function Ya(e){let{jsDocTags:t}=e;return t!=null&&(t.params!=null||t.returns!=null)?de({name:"func",short:ka(t.params,t.returns),compact:null,full:wa(t.params,t.returns)}):de({name:"func",short:Ye,compact:Ye})}function Za(e,t){let r=Object.keys(e.value).map(a=>`${a}: ${Ze(e.value[a],t).full}`).join(", "),{inferredType:i,ast:u}=Re(`{ ${r} }`),{depth:s}=i;return de({name:"shape",short:Dt,compact:s===1&&u?Tt(u,!0):null,full:u?Tt(u):null})}function or(e){return`objectOf(${e})`}function eo(e,t){let{short:r,compact:i,full:u}=Ze(e.value,t);return de({name:"objectOf",short:or(r),compact:i!=null?or(i):null,full:u&&or(u)})}function to(e,t){if(Array.isArray(e.value)){let r=e.value.reduce((i,u)=>{let{short:s,compact:a,full:f}=Ze(u,t);return i.short.push(s),i.compact.push(a),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 ro({value:e,computed:t}){return t?_n(e,"enumvalue"):de({name:"enumvalue",short:e,compact:e})}function io(e){if(Array.isArray(e.value)){let t=e.value.reduce((r,i)=>{let{short:u,compact:s,full:a}=ro(i);return r.short.push(u),r.compact.push(s),r.full.push(a),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 mr(e){return`${e}[]`}function Ci(e){return`[${e}]`}function Ei(e,t,r){return de({name:"arrayOf",short:mr(e),compact:t!=null?Ci(t):null,full:r&&Ci(r)})}function no(e,t){let{name:r,short:i,compact:u,full:s,inferredType:a}=Ze(e.value,t);if(r==="custom"){if(a==="Object")return Ei(i,u,s)}else if(r==="shape")return Ei(i,u,s);return de({name:"arrayOf",short:mr(i),compact:mr(i)})}function Ze(e,t){try{switch(e.name){case"custom":return Ka(e);case"func":return Ya(t);case"shape":return Za(e,t);case"instanceOf":return de({name:"instanceOf",short:e.value,compact:e.value});case"objectOf":return eo(e,t);case"union":return to(e,t);case"enum":return io(e);case"arrayOf":return no(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 uo(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:u}=Ze(t,e);return i!=null&&!nu(i)?te(i):u?te(r,u):te(r)}case"func":{let{short:r,full:i}=Ze(t,e),u=r,s;return i&&i.length`}function kn(e){let{type:t,identifier:r}=e;switch(t){case"Function":return Pr(r,e.hasParams);case"Element":return Yt(r);default:return r}}function so({inferredType:e,ast:t}){let{identifier:r}=e;if(r!=null)return te(kn(e),Oe(t));let i=Oe(t,!0);return ft(i)?te(Ye,Oe(t)):te(i)}function ao(e,t){let{inferredType:r}=t,{identifier:i}=r;if(i!=null&&!Ir(i)){let u=kn(r);return te(u,e)}return ft(e)?te(tt,e):te(e)}function In(e){try{let t=Re(e);switch(t.inferredType.type){case"Object":return Bn(t);case"Function":return so(t);case"Element":return ao(e,t);case"Array":return wn(t);default:return null}}catch(t){console.error(t)}return null}function Tn(e){return e.$$typeof!=null}function Pn(e,t){let{name:r}=e;return r!==""&&r!=="anonymous"&&r!==t?r:null}var oo=e=>te(JSON.stringify(e));function lo(e){let{type:t}=e,{displayName:r}=t,i=ot(e,{});if(r!=null){let u=Yt(r);return te(u,i)}if(Ls(t)&&Ir(t)){let u=ot(e,{tabStop:0}).replace(/\r?\n|\r/g,"");if(!ft(u))return te(u)}return te(tt,i)}var co=e=>{if(Tn(e)&&e.type!=null)return lo(e);if(Bs(e)){let t=Re(JSON.stringify(e));return Bn(t)}if(Array.isArray(e)){let t=Re(JSON.stringify(e));return wn(t)}return te(Dt)},ho=(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 s;try{i=Re(e.toString());let{hasParams:a,params:f}=i.inferredType;a?f.length===1&&f[0].type==="ObjectPattern"&&(s=e({})):s=e(),s!=null&&Tn(s)&&(r=!0)}catch{}}let u=Pn(e,t.name);if(u!=null){if(r)return te(Yt(u));i!=null&&(i=Re(e.toString()));let{hasParams:s}=i.inferredType;return te(Pr(u,s))}return te(r?tt:Ye)},fo=e=>te(e.toString()),Nn={string:oo,object:co,function:ho,default:fo};function po(e={}){return{...Nn,...e}}function mo(e,t,r=Nn){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 go(e,t){let{propTypes:r}=t;return r!=null?Object.keys(r).map(i=>e.find(u=>u.name===i)).filter(Boolean):e}var Do=(e,{name:t,type:r})=>{let i=(r==null?void 0:r.summary)==="element"||(r==null?void 0:r.summary)==="elementType",u=Pn(e,t);if(u!=null){if(i)return te(Yt(u));let{hasParams:s}=Re(e.toString()).inferredType;return te(Pr(u,s))}return te(i?tt:Ye)},Ao=po({function:Do});function Co(e,t){let{propDef:r}=e,i=uo(e);i!=null&&(r.type=i);let{defaultValue:u}=e.docgenInfo;if(u!=null&&u.value!=null){let s=In(u.value);s!=null&&(r.defaultValue=s)}else if(t!=null){let s=mo(t,r,Ao);s!=null&&(r.defaultValue=s)}return r}function Eo(e,t){let r=t.defaultProps!=null?t.defaultProps:{},i=e.map(u=>Co(u,r[u.propDef.name]));return go(i,t)}function yo(e,t){let{propDef:r}=e,{defaultValue:i}=e.docgenInfo;if(i!=null&&i.value!=null){let u=In(i.value);u!=null&&(r.defaultValue=u)}return r}function xo(e){return e.map(t=>yo(t))}var yi=new Map;Object.keys(Jr).forEach(e=>{let t=Jr[e];yi.set(t,e),yi.set(t.isRequired,e)});function Fo(e,t){let r=e;!ru(e)&&!e.propTypes&&Fn(e)&&(r=e.type);let i=iu(r,t);if(i.length===0)return[];switch(i[0].typeSystem){case zr.JAVASCRIPT:return Eo(i,e);case zr.TYPESCRIPT:return xo(i);default:return i.map(u=>u.propDef)}}var vo=e=>({rows:Fo(e,"props")}),bo=e=>{if(e){let{rows:t}=vo(e);if(t)return t.reduce((r,i)=>{let{name:u,description:s,type:a,sbType:f,defaultValue:p,jsDocTags:D,required:m}=i;return r[u]={name:u,description:s,type:{required:m,...f},table:{type:a??void 0,jsDocTags:D,defaultValue:p??void 0}},r},{})}return null},So=e=>e.charAt(0).toUpperCase()+e.slice(1),_o=e=>(e.$$typeof||e).toString().replace(/^Symbol\((.*)\)$/,"$1").split(".").map(t=>t.split("_").map(So).join("")).join(".");function gr(e){if(Ge.isValidElement(e)){let t=Object.keys(e.props).reduce((r,i)=>(r[i]=gr(e.props[i]),r),{});return{...e,props:t,_owner:null}}return Array.isArray(e)?e.map(gr):e}var Bo=(e,t)=>{if(typeof e>"u")return bt.warn("Too many skip or undefined component"),null;let r=e,i=r.type;for(let a=0;a<(t==null?void 0:t.skip);a+=1){if(typeof r>"u")return bt.warn("Cannot skip undefined element"),null;if(st.Children.count(r)>1)return bt.warn("Trying to skip an array of elements"),null;typeof r.props.children>"u"?(bt.warn("Not enough children to skip elements."),typeof r.type=="function"&&r.type.name===""&&(r=st.createElement(i,{...r.props}))):typeof r.props.children=="function"?r=r.props.children():r=r.props.children}let u;typeof(t==null?void 0:t.displayName)=="string"?u={showFunctions:!0,displayName:()=>t.displayName}:u={displayName:a=>{var f;return a.type.displayName?a.type.displayName:$r(a.type,"displayName")?$r(a.type,"displayName"):(f=a.type.render)!=null&&f.displayName?a.type.render.displayName:typeof a.type=="symbol"||a.type.$$typeof&&typeof a.type.$$typeof=="symbol"?_o(a.type):a.type.name&&a.type.name!=="_default"?a.type.name:typeof a.type=="function"?"No Display Name":Ma(a.type)?a.type.render.name:Fn(a.type)?a.type.type.name:a.type}};let s={...u,filterProps:(a,f)=>a!==void 0,...t};return st.Children.map(e,a=>{let f=typeof a=="number"?a.toString():a,p=(typeof ot=="function"?ot:ot.default)(gr(f),s);if(p.indexOf(""")>-1){let D=p.match(/\S+=\\"([^"]*)\\"/g);D&&D.forEach(m=>{p=p.replace(m,m.replace(/"/g,"'"))})}return p}).join(` -`).replace(/function\s+noRefCheck\(\)\s*\{\}/g,"() => {}")},wo={skip:0,showFunctions:!1,enableBeautify:!0,showDefaultProps:!1},ko=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)===Wr.DYNAMIC?!1:!r||(t==null?void 0:t.code)||(t==null?void 0:t.type)===Wr.CODE},Io=e=>{var t,r;return((t=e.type)==null?void 0:t.displayName)==="MDXCreateElement"&&!!((r=e.props)!=null&&r.mdxType)},Ln=e=>{if(!Io(e))return e;let{mdxType:t,originalType:r,children:i,...u}=e.props,s=[];return i&&(s=(Array.isArray(i)?i:[i]).map(Ln)),Ge.createElement(r,u,...s)},On=(e,t)=>{var m,y;let r=_a.getChannel(),i=ko(t),u="";Ba(()=>{if(!i){let{id:A,unmappedArgs:C}=t;r.emit(tu,{id:A,source:u,args:C})}});let s=e();if(i)return s;let a={...wo,...(t==null?void 0:t.parameters.jsx)||{}},f=(y=(m=t==null?void 0:t.parameters.docs)==null?void 0:m.source)!=null&&y.excludeDecorators?t.originalStoryFn(t.args,t):s,p=Ln(f),D=Bo(p,a);return D&&(u=D),s},Lo=(e,t)=>{let r=t.findIndex(u=>u.originalFn===On),i=r===-1?t:[...t.splice(r,1),...t];return Sa(e,i)},Oo={docs:{story:{inline:!0},extractArgTypes:bo,extractComponentDescription:Zn}},Ro=[On],Mo=[eu];export{Lo as applyDecorators,Mo as argTypesEnhancers,Ro as decorators,Oo as parameters}; diff --git a/assets/featured-tag.stories-Dq8MPlrq.js b/assets/featured-tag.stories-CsNO07V6.js similarity index 84% rename from assets/featured-tag.stories-Dq8MPlrq.js rename to assets/featured-tag.stories-CsNO07V6.js index bc87882f..9a5b6ec8 100644 --- a/assets/featured-tag.stories-Dq8MPlrq.js +++ b/assets/featured-tag.stories-CsNO07V6.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-C798UXYj.js";import{r as x}from"./index-0d5eMwbi.js";import{F as a}from"./featured-tag-DLvaNKCm.js";import{P as h}from"./panel-BTNit_je.js";import{F as r}from"./form-field-BcItkMU2.js";import"./class-names-DnY5YZNL.js";import"./zoom-to-fit-icon-DdsCB6de.js";import"./use-resolve-button-type-D_6M6Au0.js";import"./keyboard-C2Ifhsxt.js";import"./use-sync-refs-DqQDZvJ6.js";import"./form-fields-BO6Mx8Dn.js";import"./index-p-ac5bmP.js";import"./hidden-BrNieFV6.js";import"./description-D9Ee5mtv.js";import"./label-BBnH-iCi.js";import"./bugs-DpEN4NTH.js";import"./focus-management-DaVlPEX1.js";import"./use-text-value-ehRDfXkw.js";import"./floating-B_VM8zae.js";import"./use-inert-others-pmawKl3V.js";import"./portal-wGpXArpj.js";import"./use-server-handoff-complete-JgOu4JLg.js";import"./open-closed-DC3t9YEZ.js";import"./badge-Da1HxQE-.js";import"./index-DzUTkZLd.js";import"./use-event-listener-CochUv0b.js";import"./active-element-history-DI7yoVCB.js";import"./tag-C9CGXtt3.js";const K={title:"Input/FeaturedTag",component:a},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(a,{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,{})},t={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(a,{children:"Recommended!"})]})})};var i,n,m;o.parameters={...o.parameters,docs:{...(i=o.parameters)==null?void 0:i.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-C798UXYj.js";import{r as x}from"./index-0d5eMwbi.js";import{F as a}from"./featured-tag-DLvaNKCm.js";import{P as h}from"./panel-BTNit_je.js";import{F as r}from"./form-field-BtJxu7hP.js";import"./class-names-DnY5YZNL.js";import"./zoom-to-fit-icon-DdsCB6de.js";import"./use-resolve-button-type-D_6M6Au0.js";import"./keyboard-C2Ifhsxt.js";import"./use-sync-refs-DqQDZvJ6.js";import"./form-fields-B2NmhAAW.js";import"./index-BoyHNU0R.js";import"./hidden-BrNieFV6.js";import"./description-D9Ee5mtv.js";import"./label-BBnH-iCi.js";import"./bugs-DpEN4NTH.js";import"./focus-management-DaVlPEX1.js";import"./use-text-value-ehRDfXkw.js";import"./floating-ERp4LevH.js";import"./use-inert-others-CzqV763I.js";import"./portal-CLj4HHuk.js";import"./use-server-handoff-complete-JgOu4JLg.js";import"./open-closed-DC3t9YEZ.js";import"./badge-Da1HxQE-.js";import"./index-h1jAayoZ.js";import"./use-event-listener-CochUv0b.js";import"./active-element-history-DI7yoVCB.js";import"./tag-C9CGXtt3.js";const K={title:"Input/FeaturedTag",component:a},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(a,{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,{})},t={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(a,{children:"Recommended!"})]})})};var i,n,m;o.parameters={...o.parameters,docs:{...(i=o.parameters)==null?void 0:i.docs,source:{originalSource:`{ render: () => { return ; } diff --git a/assets/floating-B_VM8zae.js b/assets/floating-ERp4LevH.js similarity index 99% rename from assets/floating-B_VM8zae.js rename to assets/floating-ERp4LevH.js index d518f87d..71fa94f0 100644 --- a/assets/floating-B_VM8zae.js +++ b/assets/floating-ERp4LevH.js @@ -1 +1 @@ -import{r as d,t as ie}from"./index-0d5eMwbi.js";import{n as ot,o as _t,p as re}from"./use-sync-refs-DqQDZvJ6.js";import{r as et}from"./index-p-ac5bmP.js";function se(t){if(t===null)return{width:0,height:0};let{width:e,height:o}=t.getBoundingClientRect();return{width:e,height:o}}function xn(t,e=!1){let[o,n]=d.useReducer(()=>({}),{}),i=d.useMemo(()=>se(t),[t,o]);return ot(()=>{if(!t)return;let r=new ResizeObserver(n);return r.observe(t),()=>{r.disconnect()}},[t]),e?{width:`${i.width}px`,height:`${i.height}px`}:i}function Q(t){return zt(t)?(t.nodeName||"").toLowerCase():"#document"}function k(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function _(t){var e;return(e=(zt(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function zt(t){return t instanceof Node||t instanceof k(t).Node}function T(t){return t instanceof Element||t instanceof k(t).Element}function V(t){return t instanceof HTMLElement||t instanceof k(t).HTMLElement}function Mt(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof k(t).ShadowRoot}function it(t){const{overflow:e,overflowX:o,overflowY:n,display:i}=W(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+o)&&!["inline","contents"].includes(i)}function le(t){return["table","td","th"].includes(Q(t))}function dt(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch{return!1}})}function Rt(t){const e=Ct(),o=T(t)?W(t):t;return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!e&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!e&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function ce(t){let e=Y(t);for(;V(e)&&!J(e);){if(Rt(e))return e;if(dt(e))return null;e=Y(e)}return null}function Ct(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function J(t){return["html","body","#document"].includes(Q(t))}function W(t){return k(t).getComputedStyle(t)}function mt(t){return T(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Y(t){if(Q(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Mt(t)&&t.host||_(t);return Mt(e)?e.host:e}function jt(t){const e=Y(t);return J(e)?t.ownerDocument?t.ownerDocument.body:t.body:V(e)&&it(e)?e:jt(e)}function nt(t,e,o){var n;e===void 0&&(e=[]),o===void 0&&(o=!0);const i=jt(t),r=i===((n=t.ownerDocument)==null?void 0:n.body),s=k(i);return r?e.concat(s,s.visualViewport||[],it(i)?i:[],s.frameElement&&o?nt(s.frameElement):[]):e.concat(i,nt(i,[],o))}function fe(){const t=navigator.userAgentData;return t&&Array.isArray(t.brands)?t.brands.map(e=>{let{brand:o,version:n}=e;return o+"/"+n}).join(" "):navigator.userAgent}const j=Math.min,$=Math.max,ct=Math.round,st=Math.floor,q=t=>({x:t,y:t}),ue={left:"right",right:"left",bottom:"top",top:"bottom"},ae={start:"end",end:"start"};function Tt(t,e,o){return $(t,j(e,o))}function Z(t,e){return typeof t=="function"?t(e):t}function X(t){return t.split("-")[0]}function rt(t){return t.split("-")[1]}function Yt(t){return t==="x"?"y":"x"}function qt(t){return t==="y"?"height":"width"}function U(t){return["top","bottom"].includes(X(t))?"y":"x"}function Xt(t){return Yt(U(t))}function de(t,e,o){o===void 0&&(o=!1);const n=rt(t),i=Xt(t),r=qt(i);let s=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[r]>e.floating[r]&&(s=ft(s)),[s,ft(s)]}function me(t){const e=ft(t);return[yt(t),e,yt(e)]}function yt(t){return t.replace(/start|end/g,e=>ae[e])}function ge(t,e,o){const n=["left","right"],i=["right","left"],r=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return o?e?i:n:e?n:i;case"left":case"right":return e?r:s;default:return[]}}function he(t,e,o,n){const i=rt(t);let r=ge(X(t),o==="start",n);return i&&(r=r.map(s=>s+"-"+i),e&&(r=r.concat(r.map(yt)))),r}function ft(t){return t.replace(/left|right|bottom|top/g,e=>ue[e])}function pe(t){return{top:0,right:0,bottom:0,left:0,...t}}function xe(t){return typeof t!="number"?pe(t):{top:t,right:t,bottom:t,left:t}}function ut(t){const{x:e,y:o,width:n,height:i}=t;return{width:n,height:i,top:o,left:e,right:e+n,bottom:o+i,x:e,y:o}}function Ft(t,e,o){let{reference:n,floating:i}=t;const r=U(e),s=Xt(e),l=qt(s),c=X(e),f=r==="y",a=n.x+n.width/2-i.width/2,h=n.y+n.height/2-i.height/2,x=n[l]/2-i[l]/2;let u;switch(c){case"top":u={x:a,y:n.y-i.height};break;case"bottom":u={x:a,y:n.y+n.height};break;case"right":u={x:n.x+n.width,y:h};break;case"left":u={x:n.x-i.width,y:h};break;default:u={x:n.x,y:n.y}}switch(rt(e)){case"start":u[s]-=x*(o&&f?-1:1);break;case"end":u[s]+=x*(o&&f?-1:1);break}return u}const we=async(t,e,o)=>{const{placement:n="bottom",strategy:i="absolute",middleware:r=[],platform:s}=o,l=r.filter(Boolean),c=await(s.isRTL==null?void 0:s.isRTL(e));let f=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:a,y:h}=Ft(f,n,c),x=n,u={},m=0;for(let g=0;gO<=0)){var S,L;const O=(((S=r.flip)==null?void 0:S.index)||0)+1,H=P[O];if(H)return{data:{index:O,overflows:F},reset:{placement:H}};let I=(L=F.filter(C=>C.overflows[0]<=0).sort((C,M)=>C.overflows[1]-M.overflows[1])[0])==null?void 0:L.placement;if(!I)switch(u){case"bestFit":{var B;const C=(B=F.filter(M=>{if(A){const E=U(M.placement);return E===y||E==="y"}return!0}).map(M=>[M.placement,M.overflows.filter(E=>E>0).reduce((E,z)=>E+z,0)]).sort((M,E)=>M[1]-E[1])[0])==null?void 0:B[0];C&&(I=C);break}case"initialPlacement":I=l;break}if(i!==I)return{reset:{placement:I}}}return{}}}};async function ye(t,e){const{placement:o,platform:n,elements:i}=t,r=await(n.isRTL==null?void 0:n.isRTL(i.floating)),s=X(o),l=rt(o),c=U(o)==="y",f=["left","top"].includes(s)?-1:1,a=r&&c?-1:1,h=Z(e,t);let{mainAxis:x,crossAxis:u,alignmentAxis:m}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...h};return l&&typeof m=="number"&&(u=l==="end"?m*-1:m),c?{x:u*a,y:x*f}:{x:x*f,y:u*a}}const be=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var o,n;const{x:i,y:r,placement:s,middlewareData:l}=e,c=await ye(e,t);return s===((o=l.offset)==null?void 0:o.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:i+c.x,y:r+c.y,data:{...c,placement:s}}}}},Re=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:n,placement:i}=e,{mainAxis:r=!0,crossAxis:s=!1,limiter:l={fn:p=>{let{x:v,y}=p;return{x:v,y}}},...c}=Z(t,e),f={x:o,y:n},a=await gt(e,c),h=U(X(i)),x=Yt(h);let u=f[x],m=f[h];if(r){const p=x==="y"?"top":"left",v=x==="y"?"bottom":"right",y=u+a[p],w=u-a[v];u=Tt(y,u,w)}if(s){const p=h==="y"?"top":"left",v=h==="y"?"bottom":"right",y=m+a[p],w=m-a[v];m=Tt(y,m,w)}const g=l.fn({...e,[x]:u,[h]:m});return{...g,data:{x:g.x-o,y:g.y-n}}}}},Ce=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){const{placement:o,rects:n,platform:i,elements:r}=e,{apply:s=()=>{},...l}=Z(t,e),c=await gt(e,l),f=X(o),a=rt(o),h=U(o)==="y",{width:x,height:u}=n.floating;let m,g;f==="top"||f==="bottom"?(m=f,g=a===(await(i.isRTL==null?void 0:i.isRTL(r.floating))?"start":"end")?"left":"right"):(g=f,m=a==="end"?"top":"bottom");const p=u-c.top-c.bottom,v=x-c.left-c.right,y=j(u-c[m],p),w=j(x-c[g],v),b=!e.middlewareData.shift;let R=y,A=w;if(h?A=a||b?j(w,v):v:R=a||b?j(y,p):p,b&&!a){const D=$(c.left,0),N=$(c.right,0),F=$(c.top,0),S=$(c.bottom,0);h?A=x-2*(D!==0||N!==0?D+N:$(c.left,c.right)):R=u-2*(F!==0||S!==0?F+S:$(c.top,c.bottom))}await s({...e,availableWidth:A,availableHeight:R});const P=await i.getDimensions(r.floating);return x!==P.width||u!==P.height?{reset:{rects:!0}}:{}}}};function Ut(t){const e=W(t);let o=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const i=V(t),r=i?t.offsetWidth:o,s=i?t.offsetHeight:n,l=ct(o)!==r||ct(n)!==s;return l&&(o=r,n=s),{width:o,height:n,$:l}}function Et(t){return T(t)?t:t.contextElement}function G(t){const e=Et(t);if(!V(e))return q(1);const o=e.getBoundingClientRect(),{width:n,height:i,$:r}=Ut(e);let s=(r?ct(o.width):o.width)/n,l=(r?ct(o.height):o.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}const Ee=q(0);function Kt(t){const e=k(t);return!Ct()||!e.visualViewport?Ee:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Ae(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==k(t)?!1:e}function K(t,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);const i=t.getBoundingClientRect(),r=Et(t);let s=q(1);e&&(n?T(n)&&(s=G(n)):s=G(t));const l=Ae(r,o,n)?Kt(r):q(0);let c=(i.left+l.x)/s.x,f=(i.top+l.y)/s.y,a=i.width/s.x,h=i.height/s.y;if(r){const x=k(r),u=n&&T(n)?k(n):n;let m=x,g=m.frameElement;for(;g&&n&&u!==m;){const p=G(g),v=g.getBoundingClientRect(),y=W(g),w=v.left+(g.clientLeft+parseFloat(y.paddingLeft))*p.x,b=v.top+(g.clientTop+parseFloat(y.paddingTop))*p.y;c*=p.x,f*=p.y,a*=p.x,h*=p.y,c+=w,f+=b,m=k(g),g=m.frameElement}}return ut({width:a,height:h,x:c,y:f})}function Se(t){let{elements:e,rect:o,offsetParent:n,strategy:i}=t;const r=i==="fixed",s=_(n),l=e?dt(e.floating):!1;if(n===s||l&&r)return o;let c={scrollLeft:0,scrollTop:0},f=q(1);const a=q(0),h=V(n);if((h||!h&&!r)&&((Q(n)!=="body"||it(s))&&(c=mt(n)),V(n))){const x=K(n);f=G(n),a.x=x.x+n.clientLeft,a.y=x.y+n.clientTop}return{width:o.width*f.x,height:o.height*f.y,x:o.x*f.x-c.scrollLeft*f.x+a.x,y:o.y*f.y-c.scrollTop*f.y+a.y}}function Oe(t){return Array.from(t.getClientRects())}function Gt(t){return K(_(t)).left+mt(t).scrollLeft}function Me(t){const e=_(t),o=mt(t),n=t.ownerDocument.body,i=$(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),r=$(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let s=-o.scrollLeft+Gt(t);const l=-o.scrollTop;return W(n).direction==="rtl"&&(s+=$(e.clientWidth,n.clientWidth)-i),{width:i,height:r,x:s,y:l}}function Te(t,e){const o=k(t),n=_(t),i=o.visualViewport;let r=n.clientWidth,s=n.clientHeight,l=0,c=0;if(i){r=i.width,s=i.height;const f=Ct();(!f||f&&e==="fixed")&&(l=i.offsetLeft,c=i.offsetTop)}return{width:r,height:s,x:l,y:c}}function Fe(t,e){const o=K(t,!0,e==="fixed"),n=o.top+t.clientTop,i=o.left+t.clientLeft,r=V(t)?G(t):q(1),s=t.clientWidth*r.x,l=t.clientHeight*r.y,c=i*r.x,f=n*r.y;return{width:s,height:l,x:c,y:f}}function Pt(t,e,o){let n;if(e==="viewport")n=Te(t,o);else if(e==="document")n=Me(_(t));else if(T(e))n=Fe(e,o);else{const i=Kt(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return ut(n)}function Jt(t,e){const o=Y(t);return o===e||!T(o)||J(o)?!1:W(o).position==="fixed"||Jt(o,e)}function Pe(t,e){const o=e.get(t);if(o)return o;let n=nt(t,[],!1).filter(l=>T(l)&&Q(l)!=="body"),i=null;const r=W(t).position==="fixed";let s=r?Y(t):t;for(;T(s)&&!J(s);){const l=W(s),c=Rt(s);!c&&l.position==="fixed"&&(i=null),(r?!c&&!i:!c&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||it(s)&&!c&&Jt(t,s))?n=n.filter(a=>a!==s):i=l,s=Y(s)}return e.set(t,n),n}function De(t){let{element:e,boundary:o,rootBoundary:n,strategy:i}=t;const s=[...o==="clippingAncestors"?dt(e)?[]:Pe(e,this._c):[].concat(o),n],l=s[0],c=s.reduce((f,a)=>{const h=Pt(e,a,i);return f.top=$(h.top,f.top),f.right=j(h.right,f.right),f.bottom=j(h.bottom,f.bottom),f.left=$(h.left,f.left),f},Pt(e,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function Le(t){const{width:e,height:o}=Ut(t);return{width:e,height:o}}function He(t,e,o){const n=V(e),i=_(e),r=o==="fixed",s=K(t,!0,r,e);let l={scrollLeft:0,scrollTop:0};const c=q(0);if(n||!n&&!r)if((Q(e)!=="body"||it(i))&&(l=mt(e)),n){const h=K(e,!0,r,e);c.x=h.x+e.clientLeft,c.y=h.y+e.clientTop}else i&&(c.x=Gt(i));const f=s.left+l.scrollLeft-c.x,a=s.top+l.scrollTop-c.y;return{x:f,y:a,width:s.width,height:s.height}}function pt(t){return W(t).position==="static"}function Dt(t,e){return!V(t)||W(t).position==="fixed"?null:e?e(t):t.offsetParent}function Qt(t,e){const o=k(t);if(dt(t))return o;if(!V(t)){let i=Y(t);for(;i&&!J(i);){if(T(i)&&!pt(i))return i;i=Y(i)}return o}let n=Dt(t,e);for(;n&&le(n)&&pt(n);)n=Dt(n,e);return n&&J(n)&&pt(n)&&!Rt(n)?o:n||ce(t)||o}const $e=async function(t){const e=this.getOffsetParent||Qt,o=this.getDimensions,n=await o(t.floating);return{reference:He(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function ke(t){return W(t).direction==="rtl"}const Ie={convertOffsetParentRelativeRectToViewportRelativeRect:Se,getDocumentElement:_,getClippingRect:De,getOffsetParent:Qt,getElementRects:$e,getClientRects:Oe,getDimensions:Le,getScale:G,isElement:T,isRTL:ke};function Ne(t,e){let o=null,n;const i=_(t);function r(){var l;clearTimeout(n),(l=o)==null||l.disconnect(),o=null}function s(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),r();const{left:f,top:a,width:h,height:x}=t.getBoundingClientRect();if(l||e(),!h||!x)return;const u=st(a),m=st(i.clientWidth-(f+h)),g=st(i.clientHeight-(a+x)),p=st(f),y={rootMargin:-u+"px "+-m+"px "+-g+"px "+-p+"px",threshold:$(0,j(1,c))||1};let w=!0;function b(R){const A=R[0].intersectionRatio;if(A!==c){if(!w)return s();A?s(!1,A):n=setTimeout(()=>{s(!1,1e-7)},1e3)}w=!1}try{o=new IntersectionObserver(b,{...y,root:i.ownerDocument})}catch{o=new IntersectionObserver(b,y)}o.observe(t)}return s(!0),r}function Be(t,e,o,n){n===void 0&&(n={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=n,f=Et(t),a=i||r?[...f?nt(f):[],...nt(e)]:[];a.forEach(v=>{i&&v.addEventListener("scroll",o,{passive:!0}),r&&v.addEventListener("resize",o)});const h=f&&l?Ne(f,o):null;let x=-1,u=null;s&&(u=new ResizeObserver(v=>{let[y]=v;y&&y.target===f&&u&&(u.unobserve(e),cancelAnimationFrame(x),x=requestAnimationFrame(()=>{var w;(w=u)==null||w.observe(e)})),o()}),f&&!c&&u.observe(f),u.observe(e));let m,g=c?K(t):null;c&&p();function p(){const v=K(t);g&&(v.x!==g.x||v.y!==g.y||v.width!==g.width||v.height!==g.height)&&o(),g=v,m=requestAnimationFrame(p)}return o(),()=>{var v;a.forEach(y=>{i&&y.removeEventListener("scroll",o),r&&y.removeEventListener("resize",o)}),h==null||h(),(v=u)==null||v.disconnect(),u=null,c&&cancelAnimationFrame(m)}}const xt=gt,We=be,Ve=Re,_e=ve,ze=Ce,je=(t,e,o)=>{const n=new Map,i={platform:Ie,...o},r={...i.platform,_c:n};return we(t,e,{...i,platform:r})};var lt=typeof document<"u"?d.useLayoutEffect:d.useEffect;function at(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let o,n,i;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(o=t.length,o!==e.length)return!1;for(n=o;n--!==0;)if(!at(t[n],e[n]))return!1;return!0}if(i=Object.keys(t),o=i.length,o!==Object.keys(e).length)return!1;for(n=o;n--!==0;)if(!{}.hasOwnProperty.call(e,i[n]))return!1;for(n=o;n--!==0;){const r=i[n];if(!(r==="_owner"&&t.$$typeof)&&!at(t[r],e[r]))return!1}return!0}return t!==t&&e!==e}function Zt(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function Lt(t,e){const o=Zt(t);return Math.round(e*o)/o}function Ht(t){const e=d.useRef(t);return lt(()=>{e.current=t}),e}function Ye(t){t===void 0&&(t={});const{placement:e="bottom",strategy:o="absolute",middleware:n=[],platform:i,elements:{reference:r,floating:s}={},transform:l=!0,whileElementsMounted:c,open:f}=t,[a,h]=d.useState({x:0,y:0,strategy:o,placement:e,middlewareData:{},isPositioned:!1}),[x,u]=d.useState(n);at(x,n)||u(n);const[m,g]=d.useState(null),[p,v]=d.useState(null),y=d.useCallback(C=>{C!==A.current&&(A.current=C,g(C))},[]),w=d.useCallback(C=>{C!==P.current&&(P.current=C,v(C))},[]),b=r||m,R=s||p,A=d.useRef(null),P=d.useRef(null),D=d.useRef(a),N=c!=null,F=Ht(c),S=Ht(i),L=d.useCallback(()=>{if(!A.current||!P.current)return;const C={placement:e,strategy:o,middleware:x};S.current&&(C.platform=S.current),je(A.current,P.current,C).then(M=>{const E={...M,isPositioned:!0};B.current&&!at(D.current,E)&&(D.current=E,et.flushSync(()=>{h(E)}))})},[x,e,o,S]);lt(()=>{f===!1&&D.current.isPositioned&&(D.current.isPositioned=!1,h(C=>({...C,isPositioned:!1})))},[f]);const B=d.useRef(!1);lt(()=>(B.current=!0,()=>{B.current=!1}),[]),lt(()=>{if(b&&(A.current=b),R&&(P.current=R),b&&R){if(F.current)return F.current(b,R,L);L()}},[b,R,L,F,N]);const O=d.useMemo(()=>({reference:A,floating:P,setReference:y,setFloating:w}),[y,w]),H=d.useMemo(()=>({reference:b,floating:R}),[b,R]),I=d.useMemo(()=>{const C={position:o,left:0,top:0};if(!H.floating)return C;const M=Lt(H.floating,a.x),E=Lt(H.floating,a.y);return l?{...C,transform:"translate("+M+"px, "+E+"px)",...Zt(H.floating)>=1.5&&{willChange:"transform"}}:{position:o,left:M,top:E}},[o,l,H.floating,a.x,a.y]);return d.useMemo(()=>({...a,update:L,refs:O,elements:H,floatingStyles:I}),[a,L,O,H,I])}const te=(t,e)=>({...We(t),options:[t,e]}),qe=(t,e)=>({...Ve(t),options:[t,e]}),Xe=(t,e)=>({..._e(t),options:[t,e]}),Ue=(t,e)=>({...ze(t),options:[t,e]}),ee={...ie},Ke=ee.useInsertionEffect,Ge=Ke||(t=>t());function ne(t){const e=d.useRef(()=>{});return Ge(()=>{e.current=t}),d.useCallback(function(){for(var o=arguments.length,n=new Array(o),i=0;i"floating-ui-"+Math.random().toString(36).slice(2,6)+Je++;function Qe(){const[t,e]=d.useState(()=>$t?kt():void 0);return bt(()=>{t==null&&e(kt())},[]),d.useEffect(()=>{$t=!0},[]),t}const Ze=ee.useId,tn=Ze||Qe;function en(){const t=new Map;return{emit(e,o){var n;(n=t.get(e))==null||n.forEach(i=>i(o))},on(e,o){t.set(e,[...t.get(e)||[],o])},off(e,o){var n;t.set(e,((n=t.get(e))==null?void 0:n.filter(i=>i!==o))||[])}}}const nn=d.createContext(null),on=d.createContext(null),rn=()=>{var t;return((t=d.useContext(nn))==null?void 0:t.id)||null},sn=()=>d.useContext(on);function ln(t){const{open:e=!1,onOpenChange:o,elements:n}=t,i=tn(),r=d.useRef({}),[s]=d.useState(()=>en()),l=rn()!=null,[c,f]=d.useState(n.reference),a=ne((u,m,g)=>{r.current.openEvent=u?m:void 0,s.emit("openchange",{open:u,event:m,reason:g,nested:l}),o==null||o(u,m,g)}),h=d.useMemo(()=>({setPositionReference:f}),[]),x=d.useMemo(()=>({reference:c||n.reference||null,floating:n.floating||null,domReference:n.reference}),[c,n.reference,n.floating]);return d.useMemo(()=>({dataRef:r,open:e,onOpenChange:a,elements:x,events:s,floatingId:i,refs:h}),[e,a,x,s,i,h])}function cn(t){t===void 0&&(t={});const{nodeId:e}=t,o=ln({...t,elements:{reference:null,floating:null,...t.elements}}),n=t.rootContext||o,i=n.elements,[r,s]=d.useState(null),[l,c]=d.useState(null),a=(i==null?void 0:i.reference)||r,h=d.useRef(null),x=sn();bt(()=>{a&&(h.current=a)},[a]);const u=Ye({...t,elements:{...i,...l&&{reference:l}}}),m=d.useCallback(w=>{const b=T(w)?{getBoundingClientRect:()=>w.getBoundingClientRect(),contextElement:w}:w;c(b),u.refs.setReference(b)},[u.refs]),g=d.useCallback(w=>{(T(w)||w===null)&&(h.current=w,s(w)),(T(u.refs.reference.current)||u.refs.reference.current===null||w!==null&&!T(w))&&u.refs.setReference(w)},[u.refs]),p=d.useMemo(()=>({...u.refs,setReference:g,setPositionReference:m,domReference:h}),[u.refs,g,m]),v=d.useMemo(()=>({...u.elements,domReference:a}),[u.elements,a]),y=d.useMemo(()=>({...u,...n,refs:p,elements:v,nodeId:e}),[u,p,v,e,n]);return bt(()=>{n.dataRef.current.floatingContext=y;const w=x==null?void 0:x.nodesRef.current.find(b=>b.id===e);w&&(w.context=y)}),d.useMemo(()=>({...u,context:y,refs:p,elements:v}),[u,p,v,y])}const It="active",Nt="selected";function wt(t,e,o){const n=new Map,i=o==="item";let r=t;if(i&&t){const{[It]:s,[Nt]:l,...c}=t;r=c}return{...o==="floating"&&{tabIndex:-1},...r,...e.map(s=>{const l=s?s[o]:null;return typeof l=="function"?t?l(t):null:l}).concat(t).reduce((s,l)=>(l&&Object.entries(l).forEach(c=>{let[f,a]=c;if(!(i&&[It,Nt].includes(f)))if(f.indexOf("on")===0){if(n.has(f)||n.set(f,[]),typeof a=="function"){var h;(h=n.get(f))==null||h.push(a),s[f]=function(){for(var x,u=arguments.length,m=new Array(u),g=0;gp(...m)).find(p=>p!==void 0)}}}else s[f]=a}),s),{})}}function fn(t){t===void 0&&(t=[]);const e=t.map(l=>l==null?void 0:l.reference),o=t.map(l=>l==null?void 0:l.floating),n=t.map(l=>l==null?void 0:l.item),i=d.useCallback(l=>wt(l,t,"reference"),e),r=d.useCallback(l=>wt(l,t,"floating"),o),s=d.useCallback(l=>wt(l,t,"item"),n);return d.useMemo(()=>({getReferenceProps:i,getFloatingProps:r,getItemProps:s}),[i,r,s])}function Bt(t,e){return{...t,rects:{...t.rects,floating:{...t.rects.floating,height:e}}}}const un=t=>({name:"inner",options:t,async fn(e){const{listRef:o,overflowRef:n,onFallbackChange:i,offset:r=0,index:s=0,minItemsVisible:l=4,referenceOverflowThreshold:c=0,scrollRef:f,...a}=Z(t,e),{rects:h,elements:{floating:x}}=e,u=o.current[s];if(!u)return{};const m={...e,...await te(-u.offsetTop-x.clientTop-h.reference.height/2-u.offsetHeight/2-r).fn(e)},g=(f==null?void 0:f.current)||x,p=await xt(Bt(m,g.scrollHeight),a),v=await xt(m,{...a,elementContext:"reference"}),y=Math.max(0,p.top),w=m.y+y,b=Math.max(0,g.scrollHeight-y-Math.max(0,p.bottom));return g.style.maxHeight=b+"px",g.scrollTop=y,i&&(g.offsetHeight=-c||v.bottom>=-c?et.flushSync(()=>i(!0)):et.flushSync(()=>i(!1))),n&&(n.current=await xt(Bt({...m,y:w},g.offsetHeight),a)),{y:w}}});function an(t,e){const{open:o,elements:n}=t,{enabled:i=!0,overflowRef:r,scrollRef:s,onChange:l}=e,c=ne(l),f=d.useRef(!1),a=d.useRef(null),h=d.useRef(null);d.useEffect(()=>{if(!i)return;function u(g){if(g.ctrlKey||!m||r.current==null)return;const p=g.deltaY,v=r.current.top>=-.5,y=r.current.bottom>=-.5,w=m.scrollHeight-m.clientHeight,b=p<0?-1:1,R=p<0?"max":"min";m.scrollHeight<=m.clientHeight||(!v&&p>0||!y&&p<0?(g.preventDefault(),et.flushSync(()=>{c(A=>A+Math[R](p,w*b))})):/firefox/i.test(fe())&&(m.scrollTop+=p))}const m=(s==null?void 0:s.current)||n.floating;if(o&&m)return m.addEventListener("wheel",u),requestAnimationFrame(()=>{a.current=m.scrollTop,r.current!=null&&(h.current={...r.current})}),()=>{a.current=null,h.current=null,m.removeEventListener("wheel",u)}},[i,o,n.floating,r,s,c]);const x=d.useMemo(()=>({onKeyDown(){f.current=!0},onWheel(){f.current=!1},onPointerMove(){f.current=!1},onScroll(){const u=(s==null?void 0:s.current)||n.floating;if(!(!r.current||!u||!f.current)){if(a.current!==null){const m=u.scrollTop-a.current;(r.current.bottom<-.5&&m<-1||r.current.top<-.5&&m>1)&&et.flushSync(()=>c(g=>g+m))}requestAnimationFrame(()=>{a.current=u.scrollTop})}}}),[n.floating,c,r,s]);return d.useMemo(()=>i?{floating:x}:{},[i,x])}let tt=d.createContext({styles:void 0,setReference:()=>{},setFloating:()=>{},getReferenceProps:()=>({}),getFloatingProps:()=>({}),slot:{}});tt.displayName="FloatingContext";let At=d.createContext(null);At.displayName="PlacementContext";function wn(t){return d.useMemo(()=>t?typeof t=="string"?{to:t}:t:null,[t])}function vn(){return d.useContext(tt).setReference}function yn(){return d.useContext(tt).getReferenceProps}function bn(){let{getFloatingProps:t,slot:e}=d.useContext(tt);return d.useCallback((...o)=>Object.assign({},t(...o),{"data-anchor":e.anchor}),[t,e])}function Rn(t=null){t===!1&&(t=null),typeof t=="string"&&(t={to:t});let e=d.useContext(At),o=d.useMemo(()=>t,[JSON.stringify(t,(i,r)=>{var s;return(s=r==null?void 0:r.outerHTML)!=null?s:r})]);ot(()=>{e==null||e(o??null)},[e,o]);let n=d.useContext(tt);return d.useMemo(()=>[n.setFloating,t?n.styles:{}],[n.setFloating,t,n.styles])}let Wt=4;function Cn({children:t,enabled:e=!0}){let[o,n]=d.useState(null),[i,r]=d.useState(0),s=d.useRef(null),[l,c]=d.useState(null);dn(l);let f=e&&o!==null&&l!==null,{to:a="bottom",gap:h=0,offset:x=0,padding:u=0,inner:m}=mn(o,l),[g,p="center"]=a.split(" ");ot(()=>{f&&r(0)},[f]);let{refs:v,floatingStyles:y,context:w}=cn({open:f,placement:g==="selection"?p==="center"?"bottom":`bottom-${p}`:p==="center"?`${g}`:`${g}-${p}`,strategy:"absolute",transform:!1,middleware:[te({mainAxis:g==="selection"?0:h,crossAxis:x}),qe({padding:u}),g!=="selection"&&Xe({padding:u}),g==="selection"&&m?un({...m,padding:u,overflowRef:s,offset:i,minItemsVisible:Wt,referenceOverflowThreshold:u,onFallbackChange(S){var L,B;if(!S)return;let O=w.elements.floating;if(!O)return;let H=parseFloat(getComputedStyle(O).scrollPaddingBottom)||0,I=Math.min(Wt,O.childElementCount),C=0,M=0;for(let E of(B=(L=w.elements.floating)==null?void 0:L.childNodes)!=null?B:[])if(E instanceof HTMLElement){let z=E.offsetTop,St=z+E.clientHeight+H,ht=O.scrollTop,Ot=ht+O.clientHeight;if(z>=ht&&St<=Ot)I--;else{M=Math.max(0,Math.min(St,Ot)-Math.max(z,ht)),C=E.clientHeight;break}}I>=1&&r(E=>{let z=C*I-M+H;return E>=z?E:z})}}):null,Ue({padding:u,apply({availableWidth:S,availableHeight:L,elements:B}){Object.assign(B.floating.style,{overflow:"auto",maxWidth:`${S}px`,maxHeight:`min(var(--anchor-max-height, 100vh), ${L}px)`})}})].filter(Boolean),whileElementsMounted:Be}),[b=g,R=p]=w.placement.split("-");g==="selection"&&(b="selection");let A=d.useMemo(()=>({anchor:[b,R].filter(Boolean).join(" ")}),[b,R]),P=an(w,{overflowRef:s,onChange:r}),{getReferenceProps:D,getFloatingProps:N}=fn([P]),F=_t(S=>{c(S),v.setFloating(S)});return d.createElement(At.Provider,{value:n},d.createElement(tt.Provider,{value:{setFloating:F,setReference:v.setReference,styles:y,getReferenceProps:D,getFloatingProps:N,slot:A}},t))}function dn(t){ot(()=>{if(!t)return;let e=new MutationObserver(()=>{let o=window.getComputedStyle(t).maxHeight,n=parseFloat(o);if(isNaN(n))return;let i=parseInt(o);isNaN(i)||n!==i&&(t.style.maxHeight=`${Math.ceil(n)}px`)});return e.observe(t,{attributes:!0,attributeFilter:["style"]}),()=>{e.disconnect()}},[t])}function mn(t,e){var o,n,i;let r=vt((o=t==null?void 0:t.gap)!=null?o:"var(--anchor-gap, 0)",e),s=vt((n=t==null?void 0:t.offset)!=null?n:"var(--anchor-offset, 0)",e),l=vt((i=t==null?void 0:t.padding)!=null?i:"var(--anchor-padding, 0)",e);return{...t,gap:r,offset:s,padding:l}}function vt(t,e,o=void 0){let n=re(),i=_t((c,f)=>{if(c==null)return[o,null];if(typeof c=="number")return[c,null];if(typeof c=="string"){if(!f)return[o,null];let a=Vt(c,f);return[a,h=>{let x=oe(c);{let u=x.map(m=>window.getComputedStyle(f).getPropertyValue(m));n.requestAnimationFrame(function m(){n.nextFrame(m);let g=!1;for(let[v,y]of x.entries()){let w=window.getComputedStyle(f).getPropertyValue(y);if(u[v]!==w){u[v]=w,g=!0;break}}if(!g)return;let p=Vt(c,f);a!==p&&(h(p),a=p)})}return n.dispose}]}return[o,null]}),r=d.useMemo(()=>i(t,e)[0],[t,e]),[s=r,l]=d.useState();return ot(()=>{let[c,f]=i(t,e);if(l(c),!!f)return f(l)},[t,e]),s}function oe(t){let e=/var\((.*)\)/.exec(t);if(e){let o=e[1].indexOf(",");if(o===-1)return[e[1]];let n=e[1].slice(0,o).trim(),i=e[1].slice(o+1).trim();return i?[n,...oe(i)]:[n]}return[]}function Vt(t,e){let o=document.createElement("div");e.appendChild(o),o.style.setProperty("margin-top","0px","important"),o.style.setProperty("margin-top",t,"important");let n=parseFloat(window.getComputedStyle(o).marginTop)||0;return e.removeChild(o),n}export{yn as F,Cn as M,Rn as R,bn as b,xn as d,wn as x,vn as y}; +import{r as d,t as ie}from"./index-0d5eMwbi.js";import{n as ot,o as _t,p as re}from"./use-sync-refs-DqQDZvJ6.js";import{r as et}from"./index-BoyHNU0R.js";function se(t){if(t===null)return{width:0,height:0};let{width:e,height:o}=t.getBoundingClientRect();return{width:e,height:o}}function xn(t,e=!1){let[o,n]=d.useReducer(()=>({}),{}),i=d.useMemo(()=>se(t),[t,o]);return ot(()=>{if(!t)return;let r=new ResizeObserver(n);return r.observe(t),()=>{r.disconnect()}},[t]),e?{width:`${i.width}px`,height:`${i.height}px`}:i}function Q(t){return zt(t)?(t.nodeName||"").toLowerCase():"#document"}function k(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function _(t){var e;return(e=(zt(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function zt(t){return t instanceof Node||t instanceof k(t).Node}function T(t){return t instanceof Element||t instanceof k(t).Element}function V(t){return t instanceof HTMLElement||t instanceof k(t).HTMLElement}function Mt(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof k(t).ShadowRoot}function it(t){const{overflow:e,overflowX:o,overflowY:n,display:i}=W(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+o)&&!["inline","contents"].includes(i)}function le(t){return["table","td","th"].includes(Q(t))}function dt(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch{return!1}})}function Rt(t){const e=Ct(),o=T(t)?W(t):t;return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!e&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!e&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function ce(t){let e=Y(t);for(;V(e)&&!J(e);){if(Rt(e))return e;if(dt(e))return null;e=Y(e)}return null}function Ct(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function J(t){return["html","body","#document"].includes(Q(t))}function W(t){return k(t).getComputedStyle(t)}function mt(t){return T(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Y(t){if(Q(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Mt(t)&&t.host||_(t);return Mt(e)?e.host:e}function jt(t){const e=Y(t);return J(e)?t.ownerDocument?t.ownerDocument.body:t.body:V(e)&&it(e)?e:jt(e)}function nt(t,e,o){var n;e===void 0&&(e=[]),o===void 0&&(o=!0);const i=jt(t),r=i===((n=t.ownerDocument)==null?void 0:n.body),s=k(i);return r?e.concat(s,s.visualViewport||[],it(i)?i:[],s.frameElement&&o?nt(s.frameElement):[]):e.concat(i,nt(i,[],o))}function fe(){const t=navigator.userAgentData;return t&&Array.isArray(t.brands)?t.brands.map(e=>{let{brand:o,version:n}=e;return o+"/"+n}).join(" "):navigator.userAgent}const j=Math.min,$=Math.max,ct=Math.round,st=Math.floor,q=t=>({x:t,y:t}),ue={left:"right",right:"left",bottom:"top",top:"bottom"},ae={start:"end",end:"start"};function Tt(t,e,o){return $(t,j(e,o))}function Z(t,e){return typeof t=="function"?t(e):t}function X(t){return t.split("-")[0]}function rt(t){return t.split("-")[1]}function Yt(t){return t==="x"?"y":"x"}function qt(t){return t==="y"?"height":"width"}function U(t){return["top","bottom"].includes(X(t))?"y":"x"}function Xt(t){return Yt(U(t))}function de(t,e,o){o===void 0&&(o=!1);const n=rt(t),i=Xt(t),r=qt(i);let s=i==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[r]>e.floating[r]&&(s=ft(s)),[s,ft(s)]}function me(t){const e=ft(t);return[yt(t),e,yt(e)]}function yt(t){return t.replace(/start|end/g,e=>ae[e])}function ge(t,e,o){const n=["left","right"],i=["right","left"],r=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return o?e?i:n:e?n:i;case"left":case"right":return e?r:s;default:return[]}}function he(t,e,o,n){const i=rt(t);let r=ge(X(t),o==="start",n);return i&&(r=r.map(s=>s+"-"+i),e&&(r=r.concat(r.map(yt)))),r}function ft(t){return t.replace(/left|right|bottom|top/g,e=>ue[e])}function pe(t){return{top:0,right:0,bottom:0,left:0,...t}}function xe(t){return typeof t!="number"?pe(t):{top:t,right:t,bottom:t,left:t}}function ut(t){const{x:e,y:o,width:n,height:i}=t;return{width:n,height:i,top:o,left:e,right:e+n,bottom:o+i,x:e,y:o}}function Ft(t,e,o){let{reference:n,floating:i}=t;const r=U(e),s=Xt(e),l=qt(s),c=X(e),f=r==="y",a=n.x+n.width/2-i.width/2,h=n.y+n.height/2-i.height/2,x=n[l]/2-i[l]/2;let u;switch(c){case"top":u={x:a,y:n.y-i.height};break;case"bottom":u={x:a,y:n.y+n.height};break;case"right":u={x:n.x+n.width,y:h};break;case"left":u={x:n.x-i.width,y:h};break;default:u={x:n.x,y:n.y}}switch(rt(e)){case"start":u[s]-=x*(o&&f?-1:1);break;case"end":u[s]+=x*(o&&f?-1:1);break}return u}const we=async(t,e,o)=>{const{placement:n="bottom",strategy:i="absolute",middleware:r=[],platform:s}=o,l=r.filter(Boolean),c=await(s.isRTL==null?void 0:s.isRTL(e));let f=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:a,y:h}=Ft(f,n,c),x=n,u={},m=0;for(let g=0;gO<=0)){var S,L;const O=(((S=r.flip)==null?void 0:S.index)||0)+1,H=P[O];if(H)return{data:{index:O,overflows:F},reset:{placement:H}};let I=(L=F.filter(C=>C.overflows[0]<=0).sort((C,M)=>C.overflows[1]-M.overflows[1])[0])==null?void 0:L.placement;if(!I)switch(u){case"bestFit":{var B;const C=(B=F.filter(M=>{if(A){const E=U(M.placement);return E===y||E==="y"}return!0}).map(M=>[M.placement,M.overflows.filter(E=>E>0).reduce((E,z)=>E+z,0)]).sort((M,E)=>M[1]-E[1])[0])==null?void 0:B[0];C&&(I=C);break}case"initialPlacement":I=l;break}if(i!==I)return{reset:{placement:I}}}return{}}}};async function ye(t,e){const{placement:o,platform:n,elements:i}=t,r=await(n.isRTL==null?void 0:n.isRTL(i.floating)),s=X(o),l=rt(o),c=U(o)==="y",f=["left","top"].includes(s)?-1:1,a=r&&c?-1:1,h=Z(e,t);let{mainAxis:x,crossAxis:u,alignmentAxis:m}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...h};return l&&typeof m=="number"&&(u=l==="end"?m*-1:m),c?{x:u*a,y:x*f}:{x:x*f,y:u*a}}const be=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var o,n;const{x:i,y:r,placement:s,middlewareData:l}=e,c=await ye(e,t);return s===((o=l.offset)==null?void 0:o.placement)&&(n=l.arrow)!=null&&n.alignmentOffset?{}:{x:i+c.x,y:r+c.y,data:{...c,placement:s}}}}},Re=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:n,placement:i}=e,{mainAxis:r=!0,crossAxis:s=!1,limiter:l={fn:p=>{let{x:v,y}=p;return{x:v,y}}},...c}=Z(t,e),f={x:o,y:n},a=await gt(e,c),h=U(X(i)),x=Yt(h);let u=f[x],m=f[h];if(r){const p=x==="y"?"top":"left",v=x==="y"?"bottom":"right",y=u+a[p],w=u-a[v];u=Tt(y,u,w)}if(s){const p=h==="y"?"top":"left",v=h==="y"?"bottom":"right",y=m+a[p],w=m-a[v];m=Tt(y,m,w)}const g=l.fn({...e,[x]:u,[h]:m});return{...g,data:{x:g.x-o,y:g.y-n}}}}},Ce=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){const{placement:o,rects:n,platform:i,elements:r}=e,{apply:s=()=>{},...l}=Z(t,e),c=await gt(e,l),f=X(o),a=rt(o),h=U(o)==="y",{width:x,height:u}=n.floating;let m,g;f==="top"||f==="bottom"?(m=f,g=a===(await(i.isRTL==null?void 0:i.isRTL(r.floating))?"start":"end")?"left":"right"):(g=f,m=a==="end"?"top":"bottom");const p=u-c.top-c.bottom,v=x-c.left-c.right,y=j(u-c[m],p),w=j(x-c[g],v),b=!e.middlewareData.shift;let R=y,A=w;if(h?A=a||b?j(w,v):v:R=a||b?j(y,p):p,b&&!a){const D=$(c.left,0),N=$(c.right,0),F=$(c.top,0),S=$(c.bottom,0);h?A=x-2*(D!==0||N!==0?D+N:$(c.left,c.right)):R=u-2*(F!==0||S!==0?F+S:$(c.top,c.bottom))}await s({...e,availableWidth:A,availableHeight:R});const P=await i.getDimensions(r.floating);return x!==P.width||u!==P.height?{reset:{rects:!0}}:{}}}};function Ut(t){const e=W(t);let o=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const i=V(t),r=i?t.offsetWidth:o,s=i?t.offsetHeight:n,l=ct(o)!==r||ct(n)!==s;return l&&(o=r,n=s),{width:o,height:n,$:l}}function Et(t){return T(t)?t:t.contextElement}function G(t){const e=Et(t);if(!V(e))return q(1);const o=e.getBoundingClientRect(),{width:n,height:i,$:r}=Ut(e);let s=(r?ct(o.width):o.width)/n,l=(r?ct(o.height):o.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}const Ee=q(0);function Kt(t){const e=k(t);return!Ct()||!e.visualViewport?Ee:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Ae(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==k(t)?!1:e}function K(t,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);const i=t.getBoundingClientRect(),r=Et(t);let s=q(1);e&&(n?T(n)&&(s=G(n)):s=G(t));const l=Ae(r,o,n)?Kt(r):q(0);let c=(i.left+l.x)/s.x,f=(i.top+l.y)/s.y,a=i.width/s.x,h=i.height/s.y;if(r){const x=k(r),u=n&&T(n)?k(n):n;let m=x,g=m.frameElement;for(;g&&n&&u!==m;){const p=G(g),v=g.getBoundingClientRect(),y=W(g),w=v.left+(g.clientLeft+parseFloat(y.paddingLeft))*p.x,b=v.top+(g.clientTop+parseFloat(y.paddingTop))*p.y;c*=p.x,f*=p.y,a*=p.x,h*=p.y,c+=w,f+=b,m=k(g),g=m.frameElement}}return ut({width:a,height:h,x:c,y:f})}function Se(t){let{elements:e,rect:o,offsetParent:n,strategy:i}=t;const r=i==="fixed",s=_(n),l=e?dt(e.floating):!1;if(n===s||l&&r)return o;let c={scrollLeft:0,scrollTop:0},f=q(1);const a=q(0),h=V(n);if((h||!h&&!r)&&((Q(n)!=="body"||it(s))&&(c=mt(n)),V(n))){const x=K(n);f=G(n),a.x=x.x+n.clientLeft,a.y=x.y+n.clientTop}return{width:o.width*f.x,height:o.height*f.y,x:o.x*f.x-c.scrollLeft*f.x+a.x,y:o.y*f.y-c.scrollTop*f.y+a.y}}function Oe(t){return Array.from(t.getClientRects())}function Gt(t){return K(_(t)).left+mt(t).scrollLeft}function Me(t){const e=_(t),o=mt(t),n=t.ownerDocument.body,i=$(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),r=$(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let s=-o.scrollLeft+Gt(t);const l=-o.scrollTop;return W(n).direction==="rtl"&&(s+=$(e.clientWidth,n.clientWidth)-i),{width:i,height:r,x:s,y:l}}function Te(t,e){const o=k(t),n=_(t),i=o.visualViewport;let r=n.clientWidth,s=n.clientHeight,l=0,c=0;if(i){r=i.width,s=i.height;const f=Ct();(!f||f&&e==="fixed")&&(l=i.offsetLeft,c=i.offsetTop)}return{width:r,height:s,x:l,y:c}}function Fe(t,e){const o=K(t,!0,e==="fixed"),n=o.top+t.clientTop,i=o.left+t.clientLeft,r=V(t)?G(t):q(1),s=t.clientWidth*r.x,l=t.clientHeight*r.y,c=i*r.x,f=n*r.y;return{width:s,height:l,x:c,y:f}}function Pt(t,e,o){let n;if(e==="viewport")n=Te(t,o);else if(e==="document")n=Me(_(t));else if(T(e))n=Fe(e,o);else{const i=Kt(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return ut(n)}function Jt(t,e){const o=Y(t);return o===e||!T(o)||J(o)?!1:W(o).position==="fixed"||Jt(o,e)}function Pe(t,e){const o=e.get(t);if(o)return o;let n=nt(t,[],!1).filter(l=>T(l)&&Q(l)!=="body"),i=null;const r=W(t).position==="fixed";let s=r?Y(t):t;for(;T(s)&&!J(s);){const l=W(s),c=Rt(s);!c&&l.position==="fixed"&&(i=null),(r?!c&&!i:!c&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||it(s)&&!c&&Jt(t,s))?n=n.filter(a=>a!==s):i=l,s=Y(s)}return e.set(t,n),n}function De(t){let{element:e,boundary:o,rootBoundary:n,strategy:i}=t;const s=[...o==="clippingAncestors"?dt(e)?[]:Pe(e,this._c):[].concat(o),n],l=s[0],c=s.reduce((f,a)=>{const h=Pt(e,a,i);return f.top=$(h.top,f.top),f.right=j(h.right,f.right),f.bottom=j(h.bottom,f.bottom),f.left=$(h.left,f.left),f},Pt(e,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function Le(t){const{width:e,height:o}=Ut(t);return{width:e,height:o}}function He(t,e,o){const n=V(e),i=_(e),r=o==="fixed",s=K(t,!0,r,e);let l={scrollLeft:0,scrollTop:0};const c=q(0);if(n||!n&&!r)if((Q(e)!=="body"||it(i))&&(l=mt(e)),n){const h=K(e,!0,r,e);c.x=h.x+e.clientLeft,c.y=h.y+e.clientTop}else i&&(c.x=Gt(i));const f=s.left+l.scrollLeft-c.x,a=s.top+l.scrollTop-c.y;return{x:f,y:a,width:s.width,height:s.height}}function pt(t){return W(t).position==="static"}function Dt(t,e){return!V(t)||W(t).position==="fixed"?null:e?e(t):t.offsetParent}function Qt(t,e){const o=k(t);if(dt(t))return o;if(!V(t)){let i=Y(t);for(;i&&!J(i);){if(T(i)&&!pt(i))return i;i=Y(i)}return o}let n=Dt(t,e);for(;n&&le(n)&&pt(n);)n=Dt(n,e);return n&&J(n)&&pt(n)&&!Rt(n)?o:n||ce(t)||o}const $e=async function(t){const e=this.getOffsetParent||Qt,o=this.getDimensions,n=await o(t.floating);return{reference:He(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function ke(t){return W(t).direction==="rtl"}const Ie={convertOffsetParentRelativeRectToViewportRelativeRect:Se,getDocumentElement:_,getClippingRect:De,getOffsetParent:Qt,getElementRects:$e,getClientRects:Oe,getDimensions:Le,getScale:G,isElement:T,isRTL:ke};function Ne(t,e){let o=null,n;const i=_(t);function r(){var l;clearTimeout(n),(l=o)==null||l.disconnect(),o=null}function s(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),r();const{left:f,top:a,width:h,height:x}=t.getBoundingClientRect();if(l||e(),!h||!x)return;const u=st(a),m=st(i.clientWidth-(f+h)),g=st(i.clientHeight-(a+x)),p=st(f),y={rootMargin:-u+"px "+-m+"px "+-g+"px "+-p+"px",threshold:$(0,j(1,c))||1};let w=!0;function b(R){const A=R[0].intersectionRatio;if(A!==c){if(!w)return s();A?s(!1,A):n=setTimeout(()=>{s(!1,1e-7)},1e3)}w=!1}try{o=new IntersectionObserver(b,{...y,root:i.ownerDocument})}catch{o=new IntersectionObserver(b,y)}o.observe(t)}return s(!0),r}function Be(t,e,o,n){n===void 0&&(n={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=n,f=Et(t),a=i||r?[...f?nt(f):[],...nt(e)]:[];a.forEach(v=>{i&&v.addEventListener("scroll",o,{passive:!0}),r&&v.addEventListener("resize",o)});const h=f&&l?Ne(f,o):null;let x=-1,u=null;s&&(u=new ResizeObserver(v=>{let[y]=v;y&&y.target===f&&u&&(u.unobserve(e),cancelAnimationFrame(x),x=requestAnimationFrame(()=>{var w;(w=u)==null||w.observe(e)})),o()}),f&&!c&&u.observe(f),u.observe(e));let m,g=c?K(t):null;c&&p();function p(){const v=K(t);g&&(v.x!==g.x||v.y!==g.y||v.width!==g.width||v.height!==g.height)&&o(),g=v,m=requestAnimationFrame(p)}return o(),()=>{var v;a.forEach(y=>{i&&y.removeEventListener("scroll",o),r&&y.removeEventListener("resize",o)}),h==null||h(),(v=u)==null||v.disconnect(),u=null,c&&cancelAnimationFrame(m)}}const xt=gt,We=be,Ve=Re,_e=ve,ze=Ce,je=(t,e,o)=>{const n=new Map,i={platform:Ie,...o},r={...i.platform,_c:n};return we(t,e,{...i,platform:r})};var lt=typeof document<"u"?d.useLayoutEffect:d.useEffect;function at(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let o,n,i;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(o=t.length,o!==e.length)return!1;for(n=o;n--!==0;)if(!at(t[n],e[n]))return!1;return!0}if(i=Object.keys(t),o=i.length,o!==Object.keys(e).length)return!1;for(n=o;n--!==0;)if(!{}.hasOwnProperty.call(e,i[n]))return!1;for(n=o;n--!==0;){const r=i[n];if(!(r==="_owner"&&t.$$typeof)&&!at(t[r],e[r]))return!1}return!0}return t!==t&&e!==e}function Zt(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function Lt(t,e){const o=Zt(t);return Math.round(e*o)/o}function Ht(t){const e=d.useRef(t);return lt(()=>{e.current=t}),e}function Ye(t){t===void 0&&(t={});const{placement:e="bottom",strategy:o="absolute",middleware:n=[],platform:i,elements:{reference:r,floating:s}={},transform:l=!0,whileElementsMounted:c,open:f}=t,[a,h]=d.useState({x:0,y:0,strategy:o,placement:e,middlewareData:{},isPositioned:!1}),[x,u]=d.useState(n);at(x,n)||u(n);const[m,g]=d.useState(null),[p,v]=d.useState(null),y=d.useCallback(C=>{C!==A.current&&(A.current=C,g(C))},[]),w=d.useCallback(C=>{C!==P.current&&(P.current=C,v(C))},[]),b=r||m,R=s||p,A=d.useRef(null),P=d.useRef(null),D=d.useRef(a),N=c!=null,F=Ht(c),S=Ht(i),L=d.useCallback(()=>{if(!A.current||!P.current)return;const C={placement:e,strategy:o,middleware:x};S.current&&(C.platform=S.current),je(A.current,P.current,C).then(M=>{const E={...M,isPositioned:!0};B.current&&!at(D.current,E)&&(D.current=E,et.flushSync(()=>{h(E)}))})},[x,e,o,S]);lt(()=>{f===!1&&D.current.isPositioned&&(D.current.isPositioned=!1,h(C=>({...C,isPositioned:!1})))},[f]);const B=d.useRef(!1);lt(()=>(B.current=!0,()=>{B.current=!1}),[]),lt(()=>{if(b&&(A.current=b),R&&(P.current=R),b&&R){if(F.current)return F.current(b,R,L);L()}},[b,R,L,F,N]);const O=d.useMemo(()=>({reference:A,floating:P,setReference:y,setFloating:w}),[y,w]),H=d.useMemo(()=>({reference:b,floating:R}),[b,R]),I=d.useMemo(()=>{const C={position:o,left:0,top:0};if(!H.floating)return C;const M=Lt(H.floating,a.x),E=Lt(H.floating,a.y);return l?{...C,transform:"translate("+M+"px, "+E+"px)",...Zt(H.floating)>=1.5&&{willChange:"transform"}}:{position:o,left:M,top:E}},[o,l,H.floating,a.x,a.y]);return d.useMemo(()=>({...a,update:L,refs:O,elements:H,floatingStyles:I}),[a,L,O,H,I])}const te=(t,e)=>({...We(t),options:[t,e]}),qe=(t,e)=>({...Ve(t),options:[t,e]}),Xe=(t,e)=>({..._e(t),options:[t,e]}),Ue=(t,e)=>({...ze(t),options:[t,e]}),ee={...ie},Ke=ee.useInsertionEffect,Ge=Ke||(t=>t());function ne(t){const e=d.useRef(()=>{});return Ge(()=>{e.current=t}),d.useCallback(function(){for(var o=arguments.length,n=new Array(o),i=0;i"floating-ui-"+Math.random().toString(36).slice(2,6)+Je++;function Qe(){const[t,e]=d.useState(()=>$t?kt():void 0);return bt(()=>{t==null&&e(kt())},[]),d.useEffect(()=>{$t=!0},[]),t}const Ze=ee.useId,tn=Ze||Qe;function en(){const t=new Map;return{emit(e,o){var n;(n=t.get(e))==null||n.forEach(i=>i(o))},on(e,o){t.set(e,[...t.get(e)||[],o])},off(e,o){var n;t.set(e,((n=t.get(e))==null?void 0:n.filter(i=>i!==o))||[])}}}const nn=d.createContext(null),on=d.createContext(null),rn=()=>{var t;return((t=d.useContext(nn))==null?void 0:t.id)||null},sn=()=>d.useContext(on);function ln(t){const{open:e=!1,onOpenChange:o,elements:n}=t,i=tn(),r=d.useRef({}),[s]=d.useState(()=>en()),l=rn()!=null,[c,f]=d.useState(n.reference),a=ne((u,m,g)=>{r.current.openEvent=u?m:void 0,s.emit("openchange",{open:u,event:m,reason:g,nested:l}),o==null||o(u,m,g)}),h=d.useMemo(()=>({setPositionReference:f}),[]),x=d.useMemo(()=>({reference:c||n.reference||null,floating:n.floating||null,domReference:n.reference}),[c,n.reference,n.floating]);return d.useMemo(()=>({dataRef:r,open:e,onOpenChange:a,elements:x,events:s,floatingId:i,refs:h}),[e,a,x,s,i,h])}function cn(t){t===void 0&&(t={});const{nodeId:e}=t,o=ln({...t,elements:{reference:null,floating:null,...t.elements}}),n=t.rootContext||o,i=n.elements,[r,s]=d.useState(null),[l,c]=d.useState(null),a=(i==null?void 0:i.reference)||r,h=d.useRef(null),x=sn();bt(()=>{a&&(h.current=a)},[a]);const u=Ye({...t,elements:{...i,...l&&{reference:l}}}),m=d.useCallback(w=>{const b=T(w)?{getBoundingClientRect:()=>w.getBoundingClientRect(),contextElement:w}:w;c(b),u.refs.setReference(b)},[u.refs]),g=d.useCallback(w=>{(T(w)||w===null)&&(h.current=w,s(w)),(T(u.refs.reference.current)||u.refs.reference.current===null||w!==null&&!T(w))&&u.refs.setReference(w)},[u.refs]),p=d.useMemo(()=>({...u.refs,setReference:g,setPositionReference:m,domReference:h}),[u.refs,g,m]),v=d.useMemo(()=>({...u.elements,domReference:a}),[u.elements,a]),y=d.useMemo(()=>({...u,...n,refs:p,elements:v,nodeId:e}),[u,p,v,e,n]);return bt(()=>{n.dataRef.current.floatingContext=y;const w=x==null?void 0:x.nodesRef.current.find(b=>b.id===e);w&&(w.context=y)}),d.useMemo(()=>({...u,context:y,refs:p,elements:v}),[u,p,v,y])}const It="active",Nt="selected";function wt(t,e,o){const n=new Map,i=o==="item";let r=t;if(i&&t){const{[It]:s,[Nt]:l,...c}=t;r=c}return{...o==="floating"&&{tabIndex:-1},...r,...e.map(s=>{const l=s?s[o]:null;return typeof l=="function"?t?l(t):null:l}).concat(t).reduce((s,l)=>(l&&Object.entries(l).forEach(c=>{let[f,a]=c;if(!(i&&[It,Nt].includes(f)))if(f.indexOf("on")===0){if(n.has(f)||n.set(f,[]),typeof a=="function"){var h;(h=n.get(f))==null||h.push(a),s[f]=function(){for(var x,u=arguments.length,m=new Array(u),g=0;gp(...m)).find(p=>p!==void 0)}}}else s[f]=a}),s),{})}}function fn(t){t===void 0&&(t=[]);const e=t.map(l=>l==null?void 0:l.reference),o=t.map(l=>l==null?void 0:l.floating),n=t.map(l=>l==null?void 0:l.item),i=d.useCallback(l=>wt(l,t,"reference"),e),r=d.useCallback(l=>wt(l,t,"floating"),o),s=d.useCallback(l=>wt(l,t,"item"),n);return d.useMemo(()=>({getReferenceProps:i,getFloatingProps:r,getItemProps:s}),[i,r,s])}function Bt(t,e){return{...t,rects:{...t.rects,floating:{...t.rects.floating,height:e}}}}const un=t=>({name:"inner",options:t,async fn(e){const{listRef:o,overflowRef:n,onFallbackChange:i,offset:r=0,index:s=0,minItemsVisible:l=4,referenceOverflowThreshold:c=0,scrollRef:f,...a}=Z(t,e),{rects:h,elements:{floating:x}}=e,u=o.current[s];if(!u)return{};const m={...e,...await te(-u.offsetTop-x.clientTop-h.reference.height/2-u.offsetHeight/2-r).fn(e)},g=(f==null?void 0:f.current)||x,p=await xt(Bt(m,g.scrollHeight),a),v=await xt(m,{...a,elementContext:"reference"}),y=Math.max(0,p.top),w=m.y+y,b=Math.max(0,g.scrollHeight-y-Math.max(0,p.bottom));return g.style.maxHeight=b+"px",g.scrollTop=y,i&&(g.offsetHeight=-c||v.bottom>=-c?et.flushSync(()=>i(!0)):et.flushSync(()=>i(!1))),n&&(n.current=await xt(Bt({...m,y:w},g.offsetHeight),a)),{y:w}}});function an(t,e){const{open:o,elements:n}=t,{enabled:i=!0,overflowRef:r,scrollRef:s,onChange:l}=e,c=ne(l),f=d.useRef(!1),a=d.useRef(null),h=d.useRef(null);d.useEffect(()=>{if(!i)return;function u(g){if(g.ctrlKey||!m||r.current==null)return;const p=g.deltaY,v=r.current.top>=-.5,y=r.current.bottom>=-.5,w=m.scrollHeight-m.clientHeight,b=p<0?-1:1,R=p<0?"max":"min";m.scrollHeight<=m.clientHeight||(!v&&p>0||!y&&p<0?(g.preventDefault(),et.flushSync(()=>{c(A=>A+Math[R](p,w*b))})):/firefox/i.test(fe())&&(m.scrollTop+=p))}const m=(s==null?void 0:s.current)||n.floating;if(o&&m)return m.addEventListener("wheel",u),requestAnimationFrame(()=>{a.current=m.scrollTop,r.current!=null&&(h.current={...r.current})}),()=>{a.current=null,h.current=null,m.removeEventListener("wheel",u)}},[i,o,n.floating,r,s,c]);const x=d.useMemo(()=>({onKeyDown(){f.current=!0},onWheel(){f.current=!1},onPointerMove(){f.current=!1},onScroll(){const u=(s==null?void 0:s.current)||n.floating;if(!(!r.current||!u||!f.current)){if(a.current!==null){const m=u.scrollTop-a.current;(r.current.bottom<-.5&&m<-1||r.current.top<-.5&&m>1)&&et.flushSync(()=>c(g=>g+m))}requestAnimationFrame(()=>{a.current=u.scrollTop})}}}),[n.floating,c,r,s]);return d.useMemo(()=>i?{floating:x}:{},[i,x])}let tt=d.createContext({styles:void 0,setReference:()=>{},setFloating:()=>{},getReferenceProps:()=>({}),getFloatingProps:()=>({}),slot:{}});tt.displayName="FloatingContext";let At=d.createContext(null);At.displayName="PlacementContext";function wn(t){return d.useMemo(()=>t?typeof t=="string"?{to:t}:t:null,[t])}function vn(){return d.useContext(tt).setReference}function yn(){return d.useContext(tt).getReferenceProps}function bn(){let{getFloatingProps:t,slot:e}=d.useContext(tt);return d.useCallback((...o)=>Object.assign({},t(...o),{"data-anchor":e.anchor}),[t,e])}function Rn(t=null){t===!1&&(t=null),typeof t=="string"&&(t={to:t});let e=d.useContext(At),o=d.useMemo(()=>t,[JSON.stringify(t,(i,r)=>{var s;return(s=r==null?void 0:r.outerHTML)!=null?s:r})]);ot(()=>{e==null||e(o??null)},[e,o]);let n=d.useContext(tt);return d.useMemo(()=>[n.setFloating,t?n.styles:{}],[n.setFloating,t,n.styles])}let Wt=4;function Cn({children:t,enabled:e=!0}){let[o,n]=d.useState(null),[i,r]=d.useState(0),s=d.useRef(null),[l,c]=d.useState(null);dn(l);let f=e&&o!==null&&l!==null,{to:a="bottom",gap:h=0,offset:x=0,padding:u=0,inner:m}=mn(o,l),[g,p="center"]=a.split(" ");ot(()=>{f&&r(0)},[f]);let{refs:v,floatingStyles:y,context:w}=cn({open:f,placement:g==="selection"?p==="center"?"bottom":`bottom-${p}`:p==="center"?`${g}`:`${g}-${p}`,strategy:"absolute",transform:!1,middleware:[te({mainAxis:g==="selection"?0:h,crossAxis:x}),qe({padding:u}),g!=="selection"&&Xe({padding:u}),g==="selection"&&m?un({...m,padding:u,overflowRef:s,offset:i,minItemsVisible:Wt,referenceOverflowThreshold:u,onFallbackChange(S){var L,B;if(!S)return;let O=w.elements.floating;if(!O)return;let H=parseFloat(getComputedStyle(O).scrollPaddingBottom)||0,I=Math.min(Wt,O.childElementCount),C=0,M=0;for(let E of(B=(L=w.elements.floating)==null?void 0:L.childNodes)!=null?B:[])if(E instanceof HTMLElement){let z=E.offsetTop,St=z+E.clientHeight+H,ht=O.scrollTop,Ot=ht+O.clientHeight;if(z>=ht&&St<=Ot)I--;else{M=Math.max(0,Math.min(St,Ot)-Math.max(z,ht)),C=E.clientHeight;break}}I>=1&&r(E=>{let z=C*I-M+H;return E>=z?E:z})}}):null,Ue({padding:u,apply({availableWidth:S,availableHeight:L,elements:B}){Object.assign(B.floating.style,{overflow:"auto",maxWidth:`${S}px`,maxHeight:`min(var(--anchor-max-height, 100vh), ${L}px)`})}})].filter(Boolean),whileElementsMounted:Be}),[b=g,R=p]=w.placement.split("-");g==="selection"&&(b="selection");let A=d.useMemo(()=>({anchor:[b,R].filter(Boolean).join(" ")}),[b,R]),P=an(w,{overflowRef:s,onChange:r}),{getReferenceProps:D,getFloatingProps:N}=fn([P]),F=_t(S=>{c(S),v.setFloating(S)});return d.createElement(At.Provider,{value:n},d.createElement(tt.Provider,{value:{setFloating:F,setReference:v.setReference,styles:y,getReferenceProps:D,getFloatingProps:N,slot:A}},t))}function dn(t){ot(()=>{if(!t)return;let e=new MutationObserver(()=>{let o=window.getComputedStyle(t).maxHeight,n=parseFloat(o);if(isNaN(n))return;let i=parseInt(o);isNaN(i)||n!==i&&(t.style.maxHeight=`${Math.ceil(n)}px`)});return e.observe(t,{attributes:!0,attributeFilter:["style"]}),()=>{e.disconnect()}},[t])}function mn(t,e){var o,n,i;let r=vt((o=t==null?void 0:t.gap)!=null?o:"var(--anchor-gap, 0)",e),s=vt((n=t==null?void 0:t.offset)!=null?n:"var(--anchor-offset, 0)",e),l=vt((i=t==null?void 0:t.padding)!=null?i:"var(--anchor-padding, 0)",e);return{...t,gap:r,offset:s,padding:l}}function vt(t,e,o=void 0){let n=re(),i=_t((c,f)=>{if(c==null)return[o,null];if(typeof c=="number")return[c,null];if(typeof c=="string"){if(!f)return[o,null];let a=Vt(c,f);return[a,h=>{let x=oe(c);{let u=x.map(m=>window.getComputedStyle(f).getPropertyValue(m));n.requestAnimationFrame(function m(){n.nextFrame(m);let g=!1;for(let[v,y]of x.entries()){let w=window.getComputedStyle(f).getPropertyValue(y);if(u[v]!==w){u[v]=w,g=!0;break}}if(!g)return;let p=Vt(c,f);a!==p&&(h(p),a=p)})}return n.dispose}]}return[o,null]}),r=d.useMemo(()=>i(t,e)[0],[t,e]),[s=r,l]=d.useState();return ot(()=>{let[c,f]=i(t,e);if(l(c),!!f)return f(l)},[t,e]),s}function oe(t){let e=/var\((.*)\)/.exec(t);if(e){let o=e[1].indexOf(",");if(o===-1)return[e[1]];let n=e[1].slice(0,o).trim(),i=e[1].slice(o+1).trim();return i?[n,...oe(i)]:[n]}return[]}function Vt(t,e){let o=document.createElement("div");e.appendChild(o),o.style.setProperty("margin-top","0px","important"),o.style.setProperty("margin-top",t,"important");let n=parseFloat(window.getComputedStyle(o).marginTop)||0;return e.removeChild(o),n}export{yn as F,Cn as M,Rn as R,bn as b,xn as d,wn as x,vn as y}; diff --git a/assets/form-field-BcItkMU2.js b/assets/form-field-BtJxu7hP.js similarity index 98% rename from assets/form-field-BcItkMU2.js rename to assets/form-field-BtJxu7hP.js index 83dbd617..5f5b7ac0 100644 --- a/assets/form-field-BcItkMU2.js +++ b/assets/form-field-BtJxu7hP.js @@ -1 +1 @@ -import{j as u}from"./jsx-runtime-C798UXYj.js";import{e as To,as as ke,gz as $o,g as wo,j as Vo}from"./zoom-to-fit-icon-DdsCB6de.js";import{c as H}from"./class-names-DnY5YZNL.js";import{$ as Ee,a as Ce,w as Zt,e as eo}from"./use-resolve-button-type-D_6M6Au0.js";import{r as d,R as P}from"./index-0d5eMwbi.js";import{l as Rt,T as Tt,j as $t,p as to}from"./form-fields-BO6Mx8Dn.js";import{o as g,M as Pe,L as ne,u as oe,n as re,D as ae,y as ie,p as wt,W as ve,s as Le,a as We}from"./use-sync-refs-DqQDZvJ6.js";import{a as De,U as Vt,H as Mo,w as oo}from"./description-D9Ee5mtv.js";import{Q as Mt,K as qe,u as Pt,I as Ne}from"./label-BBnH-iCi.js";import{r as Be}from"./bugs-DpEN4NTH.js";import{_ as jt,A as Po,h as jo,j as Fo,F as ge,P as Jt,T as Wt}from"./focus-management-DaVlPEX1.js";import{o as w,u as ro}from"./keyboard-C2Ifhsxt.js";import{r as te}from"./index-p-ac5bmP.js";import{F as ko,u as no,c as V,f as _e,s as Lo,a as Do}from"./use-text-value-ehRDfXkw.js";import{M as ao,y as lo,x as io,R as so,b as uo,d as Xe,F as qo}from"./floating-B_VM8zae.js";import{y as co}from"./use-inert-others-pmawKl3V.js";import{R as po,n as Ft,m as mo,f as bo,r as fo,a as Bo}from"./portal-wGpXArpj.js";import{c as vo,i as be,u as go,x as xo,R as yo}from"./open-closed-DC3t9YEZ.js";import{B as ho}from"./badge-Da1HxQE-.js";import{u as Ao}from"./index-DzUTkZLd.js";import{E as Go}from"./use-event-listener-CochUv0b.js";import{m as Xt,r as Yt}from"./active-element-history-DI7yoVCB.js";import{T as Uo}from"./tag-C9CGXtt3.js";function Ho(e,t){return e!==null&&t!==null&&typeof e=="object"&&typeof t=="object"&&"id"in e&&"id"in t?e.id===t.id:e===t}function kt(e=Ho){return d.useCallback((t,r)=>{if(typeof e=="string"){let o=e;return(t==null?void 0:t[o])===(r==null?void 0:r[o])}return e(t,r)},[e])}function _o(e){let t=d.useRef({value:"",selectionStart:null,selectionEnd:null});return Go(e,"blur",r=>{let o=r.target;o instanceof HTMLInputElement&&(t.current={value:o.value,selectionStart:o.selectionStart,selectionEnd:o.selectionEnd})}),g(()=>{if(document.activeElement!==e&&e instanceof HTMLInputElement&&e.isConnected){if(e.focus({preventScroll:!0}),e.value!==t.current.value)e.setSelectionRange(e.value.length,e.value.length);else{let{selectionStart:r,selectionEnd:o}=t.current;r!==null&&o!==null&&e.setSelectionRange(r,o)}t.current={value:"",selectionStart:null,selectionEnd:null}}})}function Ko({children:e,freeze:t}){let r=je(t,e);return P.createElement(P.Fragment,null,r)}function je(e,t){let[r,o]=d.useState(t);return!e&&r!==t&&o(t),e?r:t}var Lt=(e=>(e[e.Left=0]="Left",e[e.Right=2]="Right",e))(Lt||{}),zo=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(zo||{}),Qo=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(Qo||{}),Jo=(e=>(e[e.Pointer=0]="Pointer",e[e.Focus=1]="Focus",e[e.Other=2]="Other",e))(Jo||{}),Wo=(e=>(e[e.OpenCombobox=0]="OpenCombobox",e[e.CloseCombobox=1]="CloseCombobox",e[e.GoToOption=2]="GoToOption",e[e.SetTyping=3]="SetTyping",e[e.RegisterOption=4]="RegisterOption",e[e.UnregisterOption=5]="UnregisterOption",e[e.SetActivationTrigger=6]="SetActivationTrigger",e[e.UpdateVirtualConfiguration=7]="UpdateVirtualConfiguration",e[e.SetInputElement=8]="SetInputElement",e[e.SetButtonElement=9]="SetButtonElement",e[e.SetOptionsElement=10]="SetOptionsElement",e))(Wo||{});function ze(e,t=r=>r){let r=e.activeOptionIndex!==null?e.options[e.activeOptionIndex]:null,o=t(e.options.slice()),a=o.length>0&&o[0].dataRef.current.order!==null?o.sort((l,n)=>l.dataRef.current.order-n.dataRef.current.order):jt(o,l=>l.dataRef.current.domRef.current),f=r?a.indexOf(r):null;return f===-1&&(f=null),{options:a,activeOptionIndex:f}}let Xo={1(e){var t;return(t=e.dataRef.current)!=null&&t.disabled||e.comboboxState===1?e:{...e,activeOptionIndex:null,comboboxState:1,isTyping:!1,activationTrigger:2,__demoMode:!1}},0(e){var t,r;if((t=e.dataRef.current)!=null&&t.disabled||e.comboboxState===0)return e;if((r=e.dataRef.current)!=null&&r.value){let o=e.dataRef.current.calculateIndex(e.dataRef.current.value);if(o!==-1)return{...e,activeOptionIndex:o,comboboxState:0,__demoMode:!1}}return{...e,comboboxState:0,__demoMode:!1}},3(e,t){return e.isTyping===t.isTyping?e:{...e,isTyping:t.isTyping}},2(e,t){var r,o,a,f;if((r=e.dataRef.current)!=null&&r.disabled||e.optionsElement&&!((o=e.dataRef.current)!=null&&o.optionsPropsRef.current.static)&&e.comboboxState===1)return e;if(e.virtual){let{options:p,disabled:m}=e.virtual,v=t.focus===V.Specific?t.idx:_e(t,{resolveItems:()=>p,resolveActiveIndex:()=>{var s,b;return(b=(s=e.activeOptionIndex)!=null?s:p.findIndex(h=>!m(h)))!=null?b:null},resolveDisabled:m,resolveId(){throw new Error("Function not implemented.")}}),I=(a=t.trigger)!=null?a:2;return e.activeOptionIndex===v&&e.activationTrigger===I?e:{...e,activeOptionIndex:v,activationTrigger:I,isTyping:!1,__demoMode:!1}}let l=ze(e);if(l.activeOptionIndex===null){let p=l.options.findIndex(m=>!m.dataRef.current.disabled);p!==-1&&(l.activeOptionIndex=p)}let n=t.focus===V.Specific?t.idx:_e(t,{resolveItems:()=>l.options,resolveActiveIndex:()=>l.activeOptionIndex,resolveId:p=>p.id,resolveDisabled:p=>p.dataRef.current.disabled}),i=(f=t.trigger)!=null?f:2;return e.activeOptionIndex===n&&e.activationTrigger===i?e:{...e,...l,isTyping:!1,activeOptionIndex:n,activationTrigger:i,__demoMode:!1}},4:(e,t)=>{var r,o,a;if((r=e.dataRef.current)!=null&&r.virtual)return{...e,options:[...e.options,t.payload]};let f=t.payload,l=ze(e,i=>(i.push(f),i));e.activeOptionIndex===null&&(o=e.dataRef.current)!=null&&o.isSelected(t.payload.dataRef.current.value)&&(l.activeOptionIndex=l.options.indexOf(f));let n={...e,...l,activationTrigger:2};return(a=e.dataRef.current)!=null&&a.__demoMode&&e.dataRef.current.value===void 0&&(n.activeOptionIndex=0),n},5:(e,t)=>{var r;if((r=e.dataRef.current)!=null&&r.virtual)return{...e,options:e.options.filter(a=>a.id!==t.id)};let o=ze(e,a=>{let f=a.findIndex(l=>l.id===t.id);return f!==-1&&a.splice(f,1),a});return{...e,...o,activationTrigger:2}},6:(e,t)=>e.activationTrigger===t.trigger?e:{...e,activationTrigger:t.trigger},7:(e,t)=>{var r,o;if(e.virtual===null)return{...e,virtual:{options:t.options,disabled:(r=t.disabled)!=null?r:()=>!1}};if(e.virtual.options===t.options&&e.virtual.disabled===t.disabled)return e;let a=e.activeOptionIndex;if(e.activeOptionIndex!==null){let f=t.options.indexOf(e.virtual.options[e.activeOptionIndex]);f!==-1?a=f:a=null}return{...e,activeOptionIndex:a,virtual:{options:t.options,disabled:(o=t.disabled)!=null?o:()=>!1}}},8:(e,t)=>e.inputElement===t.element?e:{...e,inputElement:t.element},9:(e,t)=>e.buttonElement===t.element?e:{...e,buttonElement:t.element},10:(e,t)=>e.optionsElement===t.element?e:{...e,optionsElement:t.element}},Dt=d.createContext(null);Dt.displayName="ComboboxActionsContext";function Re(e){let t=d.useContext(Dt);if(t===null){let r=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,Re),r}return t}let Oo=d.createContext(null);function Yo(e){let t=he("VirtualProvider"),{options:r}=t.virtual,[o,a]=d.useMemo(()=>{let p=t.optionsElement;if(!p)return[0,0];let m=window.getComputedStyle(p);return[parseFloat(m.paddingBlockStart||m.paddingTop),parseFloat(m.paddingBlockEnd||m.paddingBottom)]},[t.optionsElement]),f=Ao({enabled:r.length!==0,scrollPaddingStart:o,scrollPaddingEnd:a,count:r.length,estimateSize(){return 40},getScrollElement(){return t.optionsElement},overscan:12}),[l,n]=d.useState(0);re(()=>{n(p=>p+1)},[r]);let i=f.getVirtualItems();return i.length===0?null:P.createElement(Oo.Provider,{value:f},P.createElement("div",{style:{position:"relative",width:"100%",height:`${f.getTotalSize()}px`},ref:p=>{p&&t.activationTrigger!==0&&t.activeOptionIndex!==null&&r.length>t.activeOptionIndex&&f.scrollToIndex(t.activeOptionIndex)}},i.map(p=>{var m;return P.createElement(d.Fragment,{key:p.key},P.cloneElement((m=e.children)==null?void 0:m.call(e,{...e.slot,option:r[p.index]}),{key:`${l}-${p.key}`,"data-index":p.index,"aria-setsize":r.length,"aria-posinset":p.index+1,style:{position:"absolute",top:0,left:0,transform:`translateY(${p.start}px)`,overflowAnchor:"none"}}))})))}let Oe=d.createContext(null);Oe.displayName="ComboboxDataContext";function he(e){let t=d.useContext(Oe);if(t===null){let r=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,he),r}return t}function Zo(e,t){return oe(t.type,Xo,e,t)}let er=d.Fragment;function tr(e,t){var r,o;let a=De(),{value:f,defaultValue:l,onChange:n,form:i,name:p,by:m,disabled:v=a||!1,onClose:I,__demoMode:s=!1,multiple:b=!1,immediate:h=!1,virtual:x=null,nullable:D,...j}=e,R=Rt(l),[N=b?[]:void 0,M]=Tt(f,n,R),[S,_]=d.useReducer(Zo,{dataRef:d.createRef(),comboboxState:s?0:1,isTyping:!1,options:[],virtual:x?{options:x.options,disabled:(r=x.disabled)!=null?r:()=>!1}:null,activeOptionIndex:null,activationTrigger:2,inputElement:null,buttonElement:null,optionsElement:null,__demoMode:s}),E=d.useRef(!1),T=d.useRef({static:!1,hold:!1}),F=kt(m),y=g(O=>x?m===null?x.options.indexOf(O):x.options.findIndex(U=>F(U,O)):S.options.findIndex(U=>F(U.dataRef.current.value,O))),q=d.useCallback(O=>oe(C.mode,{1:()=>N.some(U=>F(U,O)),0:()=>F(N,O)}),[N]),J=g(O=>S.activeOptionIndex===y(O)),C=d.useMemo(()=>({...S,immediate:h,optionsPropsRef:T,value:N,defaultValue:R,disabled:v,mode:b?1:0,virtual:x?S.virtual:null,get activeOptionIndex(){if(E.current&&S.activeOptionIndex===null&&(x?x.options.length>0:S.options.length>0)){if(x){let U=x.options.findIndex(ue=>{var we,Qt;return!((Qt=(we=x.disabled)==null?void 0:we.call(x,ue))!=null&&Qt)});if(U!==-1)return U}let O=S.options.findIndex(U=>!U.dataRef.current.disabled);if(O!==-1)return O}return S.activeOptionIndex},calculateIndex:y,compare:F,isSelected:q,isActive:J}),[N,R,v,b,s,S,x]);re(()=>{var O;x&&_({type:7,options:x.options,disabled:(O=x.disabled)!=null?O:null})},[x,x==null?void 0:x.options,x==null?void 0:x.disabled]),re(()=>{S.dataRef.current=C},[C]);let B=C.comboboxState===0;po(B,[C.buttonElement,C.inputElement,C.optionsElement],()=>W.closeCombobox());let X=d.useMemo(()=>{var O,U,ue;return{open:C.comboboxState===0,disabled:v,activeIndex:C.activeOptionIndex,activeOption:C.activeOptionIndex===null?null:C.virtual?C.virtual.options[(O=C.activeOptionIndex)!=null?O:0]:(ue=(U=C.options[C.activeOptionIndex])==null?void 0:U.dataRef.current.value)!=null?ue:null,value:N}},[C,v,N]),Z=g(()=>{if(C.activeOptionIndex!==null){if(W.setIsTyping(!1),C.virtual)c(C.virtual.options[C.activeOptionIndex]);else{let{dataRef:O}=C.options[C.activeOptionIndex];c(O.current.value)}W.goToOption(V.Specific,C.activeOptionIndex)}}),ee=g(()=>{_({type:0}),E.current=!0}),le=g(()=>{_({type:1}),E.current=!1,I==null||I()}),se=g(O=>{_({type:3,isTyping:O})}),k=g((O,U,ue)=>(E.current=!1,O===V.Specific?_({type:2,focus:V.Specific,idx:U,trigger:ue}):_({type:2,focus:O,trigger:ue}))),G=g((O,U)=>(_({type:4,payload:{id:O,dataRef:U}}),()=>{C.isActive(U.current.value)&&(E.current=!0),_({type:5,id:O})})),c=g(O=>oe(C.mode,{0(){return M==null?void 0:M(O)},1(){let U=C.value.slice(),ue=U.findIndex(we=>F(we,O));return ue===-1?U.push(O):U.splice(ue,1),M==null?void 0:M(U)}})),L=g(O=>{_({type:6,trigger:O})}),$=g(O=>{_({type:8,element:O})}),K=g(O=>{_({type:9,element:O})}),z=g(O=>{_({type:10,element:O})}),W=d.useMemo(()=>({onChange:c,registerOption:G,goToOption:k,setIsTyping:se,closeCombobox:le,openCombobox:ee,setActivationTrigger:L,selectActiveOption:Z,setInputElement:$,setButtonElement:K,setOptionsElement:z}),[]),[de,He]=qe(),Ke=t===null?{}:{ref:t},A=d.useCallback(()=>{if(R!==void 0)return M==null?void 0:M(R)},[M,R]),Q=ae();return P.createElement(He,{value:de,props:{htmlFor:(o=C.inputElement)==null?void 0:o.id},slot:{open:C.comboboxState===0,disabled:v}},P.createElement(ao,null,P.createElement(Dt.Provider,{value:W},P.createElement(Oe.Provider,{value:C},P.createElement(vo,{value:oe(C.comboboxState,{0:be.Open,1:be.Closed})},p!=null&&P.createElement($t,{disabled:v,data:N!=null?{[p]:N}:{},form:i,onReset:A}),Q({ourProps:Ke,theirProps:j,slot:X,defaultTag:er,name:"Combobox"}))))))}let or="input";function rr(e,t){var r,o,a,f,l;let n=he("Combobox.Input"),i=Re("Combobox.Input"),p=d.useId(),m=Pt(),{id:v=m||`headlessui-combobox-input-${p}`,onChange:I,displayValue:s,disabled:b=n.disabled||!1,autoFocus:h=!1,type:x="text",...D}=e,j=d.useRef(null),R=ie(j,t,lo(),i.setInputElement),N=Ft(n.inputElement),M=wt(),S=g(()=>{i.onChange(null),n.optionsElement&&(n.optionsElement.scrollTop=0),i.goToOption(V.Nothing)}),_=d.useMemo(()=>{var c;return typeof s=="function"&&n.value!==void 0?(c=s(n.value))!=null?c:"":typeof n.value=="string"?n.value:""},[n.value,s]);Xt(([c,L],[$,K])=>{if(n.isTyping)return;let z=j.current;z&&((K===0&&L===1||c!==$)&&(z.value=c),requestAnimationFrame(()=>{if(n.isTyping||!z||(N==null?void 0:N.activeElement)!==z)return;let{selectionStart:W,selectionEnd:de}=z;Math.abs((de??0)-(W??0))===0&&W===0&&z.setSelectionRange(z.value.length,z.value.length)}))},[_,n.comboboxState,N,n.isTyping]),Xt(([c],[L])=>{if(c===0&&L===1){if(n.isTyping)return;let $=j.current;if(!$)return;let K=$.value,{selectionStart:z,selectionEnd:W,selectionDirection:de}=$;$.value="",$.value=K,de!==null?$.setSelectionRange(z,W,de):$.setSelectionRange(z,W)}},[n.comboboxState]);let E=d.useRef(!1),T=g(()=>{E.current=!0}),F=g(()=>{M.nextFrame(()=>{E.current=!1})}),y=g(c=>{switch(i.setIsTyping(!0),c.key){case w.Enter:if(n.comboboxState!==0||E.current)return;if(c.preventDefault(),c.stopPropagation(),n.activeOptionIndex===null){i.closeCombobox();return}i.selectActiveOption(),n.mode===0&&i.closeCombobox();break;case w.ArrowDown:return c.preventDefault(),c.stopPropagation(),oe(n.comboboxState,{0:()=>i.goToOption(V.Next),1:()=>i.openCombobox()});case w.ArrowUp:return c.preventDefault(),c.stopPropagation(),oe(n.comboboxState,{0:()=>i.goToOption(V.Previous),1:()=>{te.flushSync(()=>i.openCombobox()),n.value||i.goToOption(V.Last)}});case w.Home:if(c.shiftKey)break;return c.preventDefault(),c.stopPropagation(),i.goToOption(V.First);case w.PageUp:return c.preventDefault(),c.stopPropagation(),i.goToOption(V.First);case w.End:if(c.shiftKey)break;return c.preventDefault(),c.stopPropagation(),i.goToOption(V.Last);case w.PageDown:return c.preventDefault(),c.stopPropagation(),i.goToOption(V.Last);case w.Escape:return n.comboboxState!==0?void 0:(c.preventDefault(),n.optionsElement&&!n.optionsPropsRef.current.static&&c.stopPropagation(),n.mode===0&&n.value===null&&S(),i.closeCombobox());case w.Tab:if(n.comboboxState!==0)return;n.mode===0&&n.activationTrigger!==1&&i.selectActiveOption(),i.closeCombobox();break}}),q=g(c=>{I==null||I(c),n.mode===0&&c.target.value===""&&S(),i.openCombobox()}),J=g(c=>{var L,$,K;let z=(L=c.relatedTarget)!=null?L:Yt.find(W=>W!==c.currentTarget);if(!(($=n.optionsElement)!=null&&$.contains(z))&&!((K=n.buttonElement)!=null&&K.contains(z))&&n.comboboxState===0)return c.preventDefault(),n.mode===0&&n.value===null&&S(),i.closeCombobox()}),C=g(c=>{var L,$,K;let z=(L=c.relatedTarget)!=null?L:Yt.find(W=>W!==c.currentTarget);($=n.buttonElement)!=null&&$.contains(z)||(K=n.optionsElement)!=null&&K.contains(z)||n.disabled||n.immediate&&n.comboboxState!==0&&M.microTask(()=>{te.flushSync(()=>i.openCombobox()),i.setActivationTrigger(1)})}),B=Ne(),X=Vt(),{isFocused:Z,focusProps:ee}=Ee({autoFocus:h}),{isHovered:le,hoverProps:se}=Ce({isDisabled:b}),k=d.useMemo(()=>({open:n.comboboxState===0,disabled:b,hover:le,focus:Z,autofocus:h}),[n,le,Z,h,b]),G=ve({ref:R,id:v,role:"combobox",type:x,"aria-controls":(r=n.optionsElement)==null?void 0:r.id,"aria-expanded":n.comboboxState===0,"aria-activedescendant":n.activeOptionIndex===null?void 0:n.virtual?(o=n.options.find(c=>!c.dataRef.current.disabled&&n.compare(c.dataRef.current.value,n.virtual.options[n.activeOptionIndex])))==null?void 0:o.id:(a=n.options[n.activeOptionIndex])==null?void 0:a.id,"aria-labelledby":B,"aria-describedby":X,"aria-autocomplete":"list",defaultValue:(l=(f=e.defaultValue)!=null?f:n.defaultValue!==void 0?s==null?void 0:s(n.defaultValue):null)!=null?l:n.defaultValue,disabled:b||void 0,autoFocus:h,onCompositionStart:T,onCompositionEnd:F,onKeyDown:y,onChange:q,onFocus:C,onBlur:J},ee,se);return ae()({ourProps:G,theirProps:D,slot:k,defaultTag:or,name:"Combobox.Input"})}let nr="button";function ar(e,t){var r;let o=he("Combobox.Button"),a=Re("Combobox.Button"),f=ie(t,a.setButtonElement),l=d.useId(),{id:n=`headlessui-combobox-button-${l}`,disabled:i=o.disabled||!1,autoFocus:p=!1,...m}=e,v=_o(o.inputElement),I=g(_=>{switch(_.key){case w.Space:case w.Enter:_.preventDefault(),_.stopPropagation(),o.comboboxState===1&&te.flushSync(()=>a.openCombobox()),v();return;case w.ArrowDown:_.preventDefault(),_.stopPropagation(),o.comboboxState===1&&(te.flushSync(()=>a.openCombobox()),o.value||a.goToOption(V.First)),v();return;case w.ArrowUp:_.preventDefault(),_.stopPropagation(),o.comboboxState===1&&(te.flushSync(()=>a.openCombobox()),o.value||a.goToOption(V.Last)),v();return;case w.Escape:if(o.comboboxState!==0)return;_.preventDefault(),o.optionsElement&&!o.optionsPropsRef.current.static&&_.stopPropagation(),te.flushSync(()=>a.closeCombobox()),v();return;default:return}}),s=g(_=>{_.preventDefault(),!Be(_.currentTarget)&&(_.button===Lt.Left&&(o.comboboxState===0?a.closeCombobox():a.openCombobox()),v())}),b=Ne([n]),{isFocusVisible:h,focusProps:x}=Ee({autoFocus:p}),{isHovered:D,hoverProps:j}=Ce({isDisabled:i}),{pressed:R,pressProps:N}=Zt({disabled:i}),M=d.useMemo(()=>({open:o.comboboxState===0,active:R||o.comboboxState===0,disabled:i,value:o.value,hover:D,focus:h}),[o,D,h,R,i]),S=ve({ref:f,id:n,type:eo(e,o.buttonElement),tabIndex:-1,"aria-haspopup":"listbox","aria-controls":(r=o.optionsElement)==null?void 0:r.id,"aria-expanded":o.comboboxState===0,"aria-labelledby":b,disabled:i||void 0,autoFocus:p,onMouseDown:s,onKeyDown:I},x,j,N);return ae()({ourProps:S,theirProps:m,slot:M,defaultTag:nr,name:"Combobox.Button"})}let lr="div",ir=Pe.RenderStrategy|Pe.Static;function sr(e,t){var r,o,a;let f=d.useId(),{id:l=`headlessui-combobox-options-${f}`,hold:n=!1,anchor:i,portal:p=!1,modal:m=!0,transition:v=!1,...I}=e,s=he("Combobox.Options"),b=Re("Combobox.Options"),h=io(i);h&&(p=!0);let[x,D]=so(h),[j,R]=d.useState(null),N=uo(),M=ie(t,h?x:null,b.setOptionsElement,R),S=Ft(s.optionsElement),_=go(),[E,T]=xo(v,j,_!==null?(_&be.Open)===be.Open:s.comboboxState===0);mo(E,s.inputElement,b.closeCombobox);let F=s.__demoMode?!1:m&&s.comboboxState===0;bo(F,S);let y=s.__demoMode?!1:m&&s.comboboxState===0;co(y,{allowed:d.useCallback(()=>[s.inputElement,s.buttonElement,s.optionsElement],[s.inputElement,s.buttonElement,s.optionsElement])}),re(()=>{var G;s.optionsPropsRef.current.static=(G=e.static)!=null?G:!1},[s.optionsPropsRef,e.static]),re(()=>{s.optionsPropsRef.current.hold=n},[s.optionsPropsRef,n]),ko(s.comboboxState===0,{container:s.optionsElement,accept(G){return G.getAttribute("role")==="option"?NodeFilter.FILTER_REJECT:G.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(G){G.setAttribute("role","none")}});let q=Ne([(r=s.buttonElement)==null?void 0:r.id]),J=d.useMemo(()=>({open:s.comboboxState===0,option:void 0}),[s.comboboxState]),C=g(()=>{b.setActivationTrigger(0)}),B=g(G=>{G.preventDefault(),b.setActivationTrigger(0)}),X=ve(h?N():{},{"aria-labelledby":q,role:"listbox","aria-multiselectable":s.mode===1?!0:void 0,id:l,ref:M,style:{...I.style,...D,"--input-width":Xe(s.inputElement,!0).width,"--button-width":Xe(s.buttonElement,!0).width},onWheel:s.activationTrigger===0?void 0:C,onMouseDown:B,...yo(T)}),Z=E&&s.comboboxState===1,ee=je(Z,(o=s.virtual)==null?void 0:o.options),le=je(Z,s.value),se=g(G=>s.compare(le,G));if(s.virtual){if(ee===void 0)throw new Error("Missing `options` in virtual mode");Object.assign(I,{children:P.createElement(Oe.Provider,{value:ee!==s.virtual.options?{...s,virtual:{...s.virtual,options:ee}}:s},P.createElement(Yo,{slot:J},I.children))})}let k=ae();return P.createElement(fo,{enabled:p?e.static||E:!1},P.createElement(Oe.Provider,{value:s.mode===1?s:{...s,isSelected:se}},k({ourProps:X,theirProps:{...I,children:P.createElement(Ko,{freeze:Z},typeof I.children=="function"?(a=I.children)==null?void 0:a.call(I,J):I.children)},slot:J,defaultTag:lr,features:ir,visible:E,name:"Combobox.Options"})))}let ur="div";function dr(e,t){var r,o,a,f;let l=he("Combobox.Option"),n=Re("Combobox.Option"),i=d.useId(),{id:p=`headlessui-combobox-option-${i}`,value:m,disabled:v=(a=(o=(r=l.virtual)==null?void 0:r.disabled)==null?void 0:o.call(r,m))!=null?a:!1,order:I=null,...s}=e,b=_o(l.inputElement),h=l.virtual?l.activeOptionIndex===l.calculateIndex(m):l.activeOptionIndex===null?!1:((f=l.options[l.activeOptionIndex])==null?void 0:f.id)===p,x=l.isSelected(m),D=d.useRef(null),j=Le({disabled:v,value:m,domRef:D,order:I}),R=d.useContext(Oo),N=ie(t,D,R?R.measureElement:null),M=g(()=>{n.setIsTyping(!1),n.onChange(m)});re(()=>n.registerOption(p,j),[j,p]);let S=d.useRef(!(l.virtual||l.__demoMode));re(()=>{if(!l.virtual&&!l.__demoMode)return We().requestAnimationFrame(()=>{S.current=!0})},[l.virtual,l.__demoMode]),re(()=>{if(S.current&&l.comboboxState===0&&h&&l.activationTrigger!==0)return We().requestAnimationFrame(()=>{var B,X;(X=(B=D.current)==null?void 0:B.scrollIntoView)==null||X.call(B,{block:"nearest"})})},[D,h,l.comboboxState,l.activationTrigger,l.activeOptionIndex]);let _=g(B=>{B.preventDefault(),B.button===Lt.Left&&(v||(M(),Bo()||requestAnimationFrame(()=>b()),l.mode===0&&n.closeCombobox()))}),E=g(()=>{if(v)return n.goToOption(V.Nothing);let B=l.calculateIndex(m);n.goToOption(V.Specific,B)}),T=no(),F=g(B=>T.update(B)),y=g(B=>{if(!T.wasMoved(B)||v||h)return;let X=l.calculateIndex(m);n.goToOption(V.Specific,X,0)}),q=g(B=>{T.wasMoved(B)&&(v||h&&(l.optionsPropsRef.current.hold||n.goToOption(V.Nothing)))}),J=d.useMemo(()=>({active:h,focus:h,selected:x,disabled:v}),[h,x,v]),C={id:p,ref:N,role:"option",tabIndex:v===!0?void 0:-1,"aria-disabled":v===!0?!0:void 0,"aria-selected":x,disabled:void 0,onMouseDown:_,onFocus:E,onPointerEnter:F,onMouseEnter:F,onPointerMove:y,onMouseMove:y,onPointerLeave:q,onMouseLeave:q};return ae()({ourProps:C,theirProps:s,slot:J,defaultTag:ur,name:"Combobox.Option"})}let cr=ne(tr),Ae=ne(ar),qt=ne(rr),pr=Mt,Bt=ne(sr),Te=ne(dr),Io=Object.assign(cr,{Input:qt,Button:Ae,Label:pr,Options:Bt,Option:Te});var mr=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(mr||{}),br=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(br||{}),fr=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(fr||{}),vr=(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.SetButtonElement=7]="SetButtonElement",e[e.SetOptionsElement=8]="SetOptionsElement",e))(vr||{});function Qe(e,t=r=>r){let r=e.activeOptionIndex!==null?e.options[e.activeOptionIndex]:null,o=jt(t(e.options.slice()),f=>f.dataRef.current.domRef.current),a=r?o.indexOf(r):null;return a===-1&&(a=null),{options:o,activeOptionIndex:a}}let gr={1(e){return e.dataRef.current.disabled||e.listboxState===1?e:{...e,activeOptionIndex:null,listboxState:1,__demoMode:!1}},0(e){if(e.dataRef.current.disabled||e.listboxState===0)return e;let t=e.activeOptionIndex,{isSelected:r}=e.dataRef.current,o=e.options.findIndex(a=>r(a.dataRef.current.value));return o!==-1&&(t=o),{...e,listboxState:0,activeOptionIndex:t,__demoMode:!1}},2(e,t){var r,o,a,f,l;if(e.dataRef.current.disabled||e.listboxState===1)return e;let n={...e,searchQuery:"",activationTrigger:(r=t.trigger)!=null?r:1,__demoMode:!1};if(t.focus===V.Nothing)return{...n,activeOptionIndex:null};if(t.focus===V.Specific)return{...n,activeOptionIndex:e.options.findIndex(m=>m.id===t.id)};if(t.focus===V.Previous){let m=e.activeOptionIndex;if(m!==null){let v=e.options[m].dataRef.current.domRef,I=_e(t,{resolveItems:()=>e.options,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:s=>s.id,resolveDisabled:s=>s.dataRef.current.disabled});if(I!==null){let s=e.options[I].dataRef.current.domRef;if(((o=v.current)==null?void 0:o.previousElementSibling)===s.current||((a=s.current)==null?void 0:a.previousElementSibling)===null)return{...n,activeOptionIndex:I}}}}else if(t.focus===V.Next){let m=e.activeOptionIndex;if(m!==null){let v=e.options[m].dataRef.current.domRef,I=_e(t,{resolveItems:()=>e.options,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:s=>s.id,resolveDisabled:s=>s.dataRef.current.disabled});if(I!==null){let s=e.options[I].dataRef.current.domRef;if(((f=v.current)==null?void 0:f.nextElementSibling)===s.current||((l=s.current)==null?void 0:l.nextElementSibling)===null)return{...n,activeOptionIndex:I}}}}let i=Qe(e),p=_e(t,{resolveItems:()=>i.options,resolveActiveIndex:()=>i.activeOptionIndex,resolveId:m=>m.id,resolveDisabled:m=>m.dataRef.current.disabled});return{...n,...i,activeOptionIndex:p}},3:(e,t)=>{if(e.dataRef.current.disabled||e.listboxState===1)return e;let r=e.searchQuery!==""?0:1,o=e.searchQuery+t.value.toLowerCase(),a=(e.activeOptionIndex!==null?e.options.slice(e.activeOptionIndex+r).concat(e.options.slice(0,e.activeOptionIndex+r)):e.options).find(l=>{var n;return!l.dataRef.current.disabled&&((n=l.dataRef.current.textValue)==null?void 0:n.startsWith(o))}),f=a?e.options.indexOf(a):-1;return f===-1||f===e.activeOptionIndex?{...e,searchQuery:o}:{...e,searchQuery:o,activeOptionIndex:f,activationTrigger:1}},4(e){return e.dataRef.current.disabled||e.listboxState===1||e.searchQuery===""?e:{...e,searchQuery:""}},5:(e,t)=>{let r={id:t.id,dataRef:t.dataRef},o=Qe(e,a=>[...a,r]);return e.activeOptionIndex===null&&e.dataRef.current.isSelected(t.dataRef.current.value)&&(o.activeOptionIndex=o.options.indexOf(r)),{...e,...o}},6:(e,t)=>{let r=Qe(e,o=>{let a=o.findIndex(f=>f.id===t.id);return a!==-1&&o.splice(a,1),o});return{...e,...r,activationTrigger:1}},7:(e,t)=>e.buttonElement===t.element?e:{...e,buttonElement:t.element},8:(e,t)=>e.optionsElement===t.element?e:{...e,optionsElement:t.element}},At=d.createContext(null);At.displayName="ListboxActionsContext";function Ge(e){let t=d.useContext(At);if(t===null){let r=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,Ge),r}return t}let Ue=d.createContext(null);Ue.displayName="ListboxDataContext";function $e(e){let t=d.useContext(Ue);if(t===null){let r=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,$e),r}return t}function xr(e,t){return oe(t.type,gr,e,t)}let yr=d.Fragment;function hr(e,t){var r;let o=De(),{value:a,defaultValue:f,form:l,name:n,onChange:i,by:p,invalid:m=!1,disabled:v=o||!1,horizontal:I=!1,multiple:s=!1,__demoMode:b=!1,...h}=e;const x=I?"horizontal":"vertical";let D=ie(t),j=Rt(f),[R=s?[]:void 0,N]=Tt(a,i,j),[M,S]=d.useReducer(xr,{dataRef:d.createRef(),listboxState:b?0:1,options:[],searchQuery:"",activeOptionIndex:null,activationTrigger:1,optionsVisible:!1,buttonElement:null,optionsElement:null,__demoMode:b}),_=d.useRef({static:!1,hold:!1}),E=d.useRef(new Map),T=kt(p),F=d.useCallback(A=>oe(y.mode,{1:()=>R.some(Q=>T(Q,A)),0:()=>T(R,A)}),[R]),y=d.useMemo(()=>({...M,value:R,disabled:v,invalid:m,mode:s?1:0,orientation:x,compare:T,isSelected:F,optionsPropsRef:_,listRef:E}),[R,v,m,s,M,E]);re(()=>{M.dataRef.current=y},[y]);let q=y.listboxState===0;po(q,[y.buttonElement,y.optionsElement],(A,Q)=>{var O;S({type:1}),Po(Q,jo.Loose)||(A.preventDefault(),(O=y.buttonElement)==null||O.focus())});let J=d.useMemo(()=>({open:y.listboxState===0,disabled:v,invalid:m,value:R}),[y,v,R,m]),C=g(A=>{let Q=y.options.find(O=>O.id===A);Q&&k(Q.dataRef.current.value)}),B=g(()=>{if(y.activeOptionIndex!==null){let{dataRef:A,id:Q}=y.options[y.activeOptionIndex];k(A.current.value),S({type:2,focus:V.Specific,id:Q})}}),X=g(()=>S({type:0})),Z=g(()=>S({type:1})),ee=wt(),le=g((A,Q,O)=>{ee.dispose(),ee.microTask(()=>A===V.Specific?S({type:2,focus:V.Specific,id:Q,trigger:O}):S({type:2,focus:A,trigger:O}))}),se=g((A,Q)=>(S({type:5,id:A,dataRef:Q}),()=>S({type:6,id:A}))),k=g(A=>oe(y.mode,{0(){return N==null?void 0:N(A)},1(){let Q=y.value.slice(),O=Q.findIndex(U=>T(U,A));return O===-1?Q.push(A):Q.splice(O,1),N==null?void 0:N(Q)}})),G=g(A=>S({type:3,value:A})),c=g(()=>S({type:4})),L=g(A=>{S({type:7,element:A})}),$=g(A=>{S({type:8,element:A})}),K=d.useMemo(()=>({onChange:k,registerOption:se,goToOption:le,closeListbox:Z,openListbox:X,selectActiveOption:B,selectOption:C,search:G,clearSearch:c,setButtonElement:L,setOptionsElement:$}),[]),[z,W]=qe({inherit:!0}),de={ref:D},He=d.useCallback(()=>{if(j!==void 0)return N==null?void 0:N(j)},[N,j]),Ke=ae();return P.createElement(W,{value:z,props:{htmlFor:(r=y.buttonElement)==null?void 0:r.id},slot:{open:y.listboxState===0,disabled:v}},P.createElement(ao,null,P.createElement(At.Provider,{value:K},P.createElement(Ue.Provider,{value:y},P.createElement(vo,{value:oe(y.listboxState,{0:be.Open,1:be.Closed})},n!=null&&R!=null&&P.createElement($t,{disabled:v,data:{[n]:R},form:l,onReset:He}),Ke({ourProps:de,theirProps:h,slot:J,defaultTag:yr,name:"Listbox"}))))))}let _r="button";function Or(e,t){var r;let o=$e("Listbox.Button"),a=Ge("Listbox.Button"),f=d.useId(),l=Pt(),{id:n=l||`headlessui-listbox-button-${f}`,disabled:i=o.disabled||!1,autoFocus:p=!1,...m}=e,v=ie(t,lo(),a.setButtonElement),I=qo(),s=g(y=>{switch(y.key){case w.Enter:to(y.currentTarget);break;case w.Space:case w.ArrowDown:y.preventDefault(),te.flushSync(()=>a.openListbox()),o.value||a.goToOption(V.First);break;case w.ArrowUp:y.preventDefault(),te.flushSync(()=>a.openListbox()),o.value||a.goToOption(V.Last);break}}),b=g(y=>{switch(y.key){case w.Space:y.preventDefault();break}}),h=g(y=>{var q;if(Be(y.currentTarget))return y.preventDefault();o.listboxState===0?(te.flushSync(()=>a.closeListbox()),(q=o.buttonElement)==null||q.focus({preventScroll:!0})):(y.preventDefault(),a.openListbox())}),x=g(y=>y.preventDefault()),D=Ne([n]),j=Vt(),{isFocusVisible:R,focusProps:N}=Ee({autoFocus:p}),{isHovered:M,hoverProps:S}=Ce({isDisabled:i}),{pressed:_,pressProps:E}=Zt({disabled:i}),T=d.useMemo(()=>({open:o.listboxState===0,active:_||o.listboxState===0,disabled:i,invalid:o.invalid,value:o.value,hover:M,focus:R,autofocus:p}),[o.listboxState,o.value,i,M,R,_,o.invalid,p]),F=ve(I(),{ref:v,id:n,type:eo(e,o.buttonElement),"aria-haspopup":"listbox","aria-controls":(r=o.optionsElement)==null?void 0:r.id,"aria-expanded":o.listboxState===0,"aria-labelledby":D,"aria-describedby":j,disabled:i||void 0,autoFocus:p,onKeyDown:s,onKeyUp:b,onKeyPress:x,onClick:h},N,S,E);return ae()({ourProps:F,theirProps:m,slot:T,defaultTag:_r,name:"Listbox.Button"})}let So=d.createContext(!1),Ir="div",Sr=Pe.RenderStrategy|Pe.Static;function Er(e,t){var r,o;let a=d.useId(),{id:f=`headlessui-listbox-options-${a}`,anchor:l,portal:n=!1,modal:i=!0,transition:p=!1,...m}=e,v=io(l),[I,s]=d.useState(null);v&&(n=!0);let b=$e("Listbox.Options"),h=Ge("Listbox.Options"),x=Ft(b.optionsElement),D=go(),[j,R]=xo(p,I,D!==null?(D&be.Open)===be.Open:b.listboxState===0);mo(j,b.buttonElement,h.closeListbox);let N=b.__demoMode?!1:i&&b.listboxState===0;bo(N,x);let M=b.__demoMode?!1:i&&b.listboxState===0;co(M,{allowed:d.useCallback(()=>[b.buttonElement,b.optionsElement],[b.buttonElement,b.optionsElement])});let S=b.listboxState!==0,_=Lo(S,b.buttonElement)?!1:j,E=j&&b.listboxState===1,T=je(E,b.value),F=g(c=>b.compare(T,c)),y=d.useMemo(()=>{var c;if(v==null||!((c=v==null?void 0:v.to)!=null&&c.includes("selection")))return null;let L=b.options.findIndex($=>F($.dataRef.current.value));return L===-1&&(L=0),L},[v,b.options]),q=(()=>{if(v==null)return;if(y===null)return{...v,inner:void 0};let c=Array.from(b.listRef.current.values());return{...v,inner:{listRef:{current:c},index:y}}})(),[J,C]=so(q),B=uo(),X=ie(t,v?J:null,h.setOptionsElement,s),Z=wt();d.useEffect(()=>{var c;let L=b.optionsElement;L&&b.listboxState===0&&L!==((c=ro(L))==null?void 0:c.activeElement)&&(L==null||L.focus({preventScroll:!0}))},[b.listboxState,b.optionsElement]);let ee=g(c=>{var L,$;switch(Z.dispose(),c.key){case w.Space:if(b.searchQuery!=="")return c.preventDefault(),c.stopPropagation(),h.search(c.key);case w.Enter:if(c.preventDefault(),c.stopPropagation(),b.activeOptionIndex!==null){let{dataRef:K}=b.options[b.activeOptionIndex];h.onChange(K.current.value)}b.mode===0&&(te.flushSync(()=>h.closeListbox()),(L=b.buttonElement)==null||L.focus({preventScroll:!0}));break;case oe(b.orientation,{vertical:w.ArrowDown,horizontal:w.ArrowRight}):return c.preventDefault(),c.stopPropagation(),h.goToOption(V.Next);case oe(b.orientation,{vertical:w.ArrowUp,horizontal:w.ArrowLeft}):return c.preventDefault(),c.stopPropagation(),h.goToOption(V.Previous);case w.Home:case w.PageUp:return c.preventDefault(),c.stopPropagation(),h.goToOption(V.First);case w.End:case w.PageDown:return c.preventDefault(),c.stopPropagation(),h.goToOption(V.Last);case w.Escape:c.preventDefault(),c.stopPropagation(),te.flushSync(()=>h.closeListbox()),($=b.buttonElement)==null||$.focus({preventScroll:!0});return;case w.Tab:c.preventDefault(),c.stopPropagation(),te.flushSync(()=>h.closeListbox()),Fo(b.buttonElement,c.shiftKey?ge.Previous:ge.Next);break;default:c.key.length===1&&(h.search(c.key),Z.setTimeout(()=>h.clearSearch(),350));break}}),le=(r=b.buttonElement)==null?void 0:r.id,se=d.useMemo(()=>({open:b.listboxState===0}),[b.listboxState]),k=ve(v?B():{},{id:f,ref:X,"aria-activedescendant":b.activeOptionIndex===null||(o=b.options[b.activeOptionIndex])==null?void 0:o.id,"aria-multiselectable":b.mode===1?!0:void 0,"aria-labelledby":le,"aria-orientation":b.orientation,onKeyDown:ee,role:"listbox",tabIndex:b.listboxState===0?0:void 0,style:{...m.style,...C,"--button-width":Xe(b.buttonElement,!0).width},...yo(R)}),G=ae();return P.createElement(fo,{enabled:n?e.static||j:!1},P.createElement(Ue.Provider,{value:b.mode===1?b:{...b,isSelected:F}},G({ourProps:k,theirProps:m,slot:se,defaultTag:Ir,features:Sr,visible:_,name:"Listbox.Options"})))}let Cr="div";function Nr(e,t){let r=d.useId(),{id:o=`headlessui-listbox-option-${r}`,disabled:a=!1,value:f,...l}=e,n=d.useContext(So)===!0,i=$e("Listbox.Option"),p=Ge("Listbox.Option"),m=i.activeOptionIndex!==null?i.options[i.activeOptionIndex].id===o:!1,v=i.isSelected(f),I=d.useRef(null),s=Do(I),b=Le({disabled:a,value:f,domRef:I,get textValue(){return s()}}),h=ie(t,I,T=>{T?i.listRef.current.set(o,T):i.listRef.current.delete(o)});re(()=>{if(!i.__demoMode&&i.listboxState===0&&m&&i.activationTrigger!==0)return We().requestAnimationFrame(()=>{var T,F;(F=(T=I.current)==null?void 0:T.scrollIntoView)==null||F.call(T,{block:"nearest"})})},[I,m,i.__demoMode,i.listboxState,i.activationTrigger,i.activeOptionIndex]),re(()=>{if(!n)return p.registerOption(o,b)},[b,o,n]);let x=g(T=>{var F;if(a)return T.preventDefault();p.onChange(f),i.mode===0&&(te.flushSync(()=>p.closeListbox()),(F=i.buttonElement)==null||F.focus({preventScroll:!0}))}),D=g(()=>{if(a)return p.goToOption(V.Nothing);p.goToOption(V.Specific,o)}),j=no(),R=g(T=>{j.update(T),!a&&(m||p.goToOption(V.Specific,o,0))}),N=g(T=>{j.wasMoved(T)&&(a||m||p.goToOption(V.Specific,o,0))}),M=g(T=>{j.wasMoved(T)&&(a||m&&p.goToOption(V.Nothing))}),S=d.useMemo(()=>({active:m,focus:m,selected:v,disabled:a,selectedOption:v&&n}),[m,v,a,n]),_=n?{}:{id:o,ref:h,role:"option",tabIndex:a===!0?void 0:-1,"aria-disabled":a===!0?!0:void 0,"aria-selected":v,disabled:void 0,onClick:x,onFocus:D,onPointerEnter:R,onMouseEnter:R,onPointerMove:N,onMouseMove:N,onPointerLeave:M,onMouseLeave:M},E=ae();return!v&&n?null:E({ourProps:_,theirProps:l,slot:S,defaultTag:Cr,name:"Listbox.Option"})}let Rr=d.Fragment;function Tr(e,t){let{options:r,placeholder:o,...a}=e,f={ref:ie(t)},l=$e("ListboxSelectedOption"),n=d.useMemo(()=>({}),[]),i=l.value===void 0||l.value===null||l.mode===1&&Array.isArray(l.value)&&l.value.length===0,p=ae();return P.createElement(So.Provider,{value:!0},p({ourProps:f,theirProps:{...a,children:P.createElement(P.Fragment,null,o&&i?o:r)},slot:n,defaultTag:Rr,name:"ListboxSelectedOption"}))}let $r=ne(hr),Eo=ne(Or),wr=Mt,Co=ne(Er),No=ne(Nr),Vr=ne(Tr),Mr=Object.assign($r,{Button:Eo,Label:wr,Options:Co,Option:No,SelectedOption:Vr});var Pr=(e=>(e[e.RegisterOption=0]="RegisterOption",e[e.UnregisterOption=1]="UnregisterOption",e))(Pr||{});let jr={0(e,t){let r=[...e.options,{id:t.id,element:t.element,propsRef:t.propsRef}];return{...e,options:jt(r,o=>o.element.current)}},1(e,t){let r=e.options.slice(),o=e.options.findIndex(a=>a.id===t.id);return o===-1?e:(r.splice(o,1),{...e,options:r})}},Gt=d.createContext(null);Gt.displayName="RadioGroupDataContext";function Ut(e){let t=d.useContext(Gt);if(t===null){let r=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,Ut),r}return t}let Ht=d.createContext(null);Ht.displayName="RadioGroupActionsContext";function Kt(e){let t=d.useContext(Ht);if(t===null){let r=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,Kt),r}return t}function Fr(e,t){return oe(t.type,jr,e,t)}let kr="div";function Lr(e,t){let r=d.useId(),o=De(),{id:a=`headlessui-radiogroup-${r}`,value:f,form:l,name:n,onChange:i,by:p,disabled:m=o||!1,defaultValue:v,...I}=e,s=kt(p),[b,h]=d.useReducer(Fr,{options:[]}),x=b.options,[D,j]=qe(),[R,N]=oo(),M=d.useRef(null),S=ie(M,t),_=Rt(v),[E,T]=Tt(f,i,_),F=d.useMemo(()=>x.find(k=>!k.propsRef.current.disabled),[x]),y=d.useMemo(()=>x.some(k=>s(k.propsRef.current.value,E)),[x,E]),q=g(k=>{var G;if(m||s(k,E))return!1;let c=(G=x.find(L=>s(L.propsRef.current.value,k)))==null?void 0:G.propsRef.current;return c!=null&&c.disabled?!1:(T==null||T(k),!0)}),J=g(k=>{let G=M.current;if(!G)return;let c=ro(G),L=x.filter($=>$.propsRef.current.disabled===!1).map($=>$.element.current);switch(k.key){case w.Enter:to(k.currentTarget);break;case w.ArrowLeft:case w.ArrowUp:if(k.preventDefault(),k.stopPropagation(),Jt(L,ge.Previous|ge.WrapAround)===Wt.Success){let $=x.find(K=>K.element.current===(c==null?void 0:c.activeElement));$&&q($.propsRef.current.value)}break;case w.ArrowRight:case w.ArrowDown:if(k.preventDefault(),k.stopPropagation(),Jt(L,ge.Next|ge.WrapAround)===Wt.Success){let $=x.find(K=>K.element.current===(c==null?void 0:c.activeElement));$&&q($.propsRef.current.value)}break;case w.Space:{k.preventDefault(),k.stopPropagation();let $=x.find(K=>K.element.current===(c==null?void 0:c.activeElement));$&&q($.propsRef.current.value)}break}}),C=g(k=>(h({type:0,...k}),()=>h({type:1,id:k.id}))),B=d.useMemo(()=>({value:E,firstOption:F,containsCheckedOption:y,disabled:m,compare:s,...b}),[E,F,y,m,s,b]),X=d.useMemo(()=>({registerOption:C,change:q}),[C,q]),Z={ref:S,id:a,role:"radiogroup","aria-labelledby":D,"aria-describedby":R,onKeyDown:J},ee=d.useMemo(()=>({value:E}),[E]),le=d.useCallback(()=>{if(_!==void 0)return q(_)},[q,_]),se=ae();return P.createElement(N,{name:"RadioGroup.Description"},P.createElement(j,{name:"RadioGroup.Label"},P.createElement(Ht.Provider,{value:X},P.createElement(Gt.Provider,{value:B},n!=null&&P.createElement($t,{disabled:m,data:{[n]:E||"on"},overrides:{type:"radio",checked:E!=null},form:l,onReset:le}),se({ourProps:Z,theirProps:I,slot:ee,defaultTag:kr,name:"RadioGroup"})))))}let Dr="div";function qr(e,t){var r;let o=Ut("RadioGroup.Option"),a=Kt("RadioGroup.Option"),f=d.useId(),{id:l=`headlessui-radiogroup-option-${f}`,value:n,disabled:i=o.disabled||!1,autoFocus:p=!1,...m}=e,v=d.useRef(null),I=ie(v,t),[s,b]=qe(),[h,x]=oo(),D=Le({value:n,disabled:i});re(()=>a.registerOption({id:l,element:v,propsRef:D}),[l,a,v,D]);let j=g(q=>{var J;if(Be(q.currentTarget))return q.preventDefault();a.change(n)&&((J=v.current)==null||J.focus())}),R=((r=o.firstOption)==null?void 0:r.id)===l,{isFocusVisible:N,focusProps:M}=Ee({autoFocus:p}),{isHovered:S,hoverProps:_}=Ce({isDisabled:i}),E=o.compare(o.value,n),T=ve({ref:I,id:l,role:"radio","aria-checked":E?"true":"false","aria-labelledby":s,"aria-describedby":h,"aria-disabled":i?!0:void 0,tabIndex:i?-1:E||!o.containsCheckedOption&&R?0:-1,onClick:i?void 0:j,autoFocus:p},M,_),F=d.useMemo(()=>({checked:E,disabled:i,active:N,hover:S,focus:N,autofocus:p}),[E,i,S,N,p]),y=ae();return P.createElement(x,{name:"RadioGroup.Description"},P.createElement(b,{name:"RadioGroup.Label"},y({ourProps:T,theirProps:m,slot:F,defaultTag:Dr,name:"RadioGroup.Option"})))}let Br="span";function Ar(e,t){var r;let o=Ut("Radio"),a=Kt("Radio"),f=d.useId(),l=Pt(),n=De(),{id:i=l||`headlessui-radio-${f}`,value:p,disabled:m=o.disabled||n||!1,autoFocus:v=!1,...I}=e,s=d.useRef(null),b=ie(s,t),h=Ne(),x=Vt(),D=Le({value:p,disabled:m});re(()=>a.registerOption({id:i,element:s,propsRef:D}),[i,a,s,D]);let j=g(y=>{var q;if(Be(y.currentTarget))return y.preventDefault();a.change(p)&&((q=s.current)==null||q.focus())}),{isFocusVisible:R,focusProps:N}=Ee({autoFocus:v}),{isHovered:M,hoverProps:S}=Ce({isDisabled:m}),_=((r=o.firstOption)==null?void 0:r.id)===i,E=o.compare(o.value,p),T=ve({ref:b,id:i,role:"radio","aria-checked":E?"true":"false","aria-labelledby":h,"aria-describedby":x,"aria-disabled":m?!0:void 0,tabIndex:m?-1:E||!o.containsCheckedOption&&_?0:-1,autoFocus:v,onClick:m?void 0:j},N,S),F=d.useMemo(()=>({checked:E,disabled:m,hover:M,focus:R,autofocus:v}),[E,m,M,R,v]);return ae()({ourProps:T,theirProps:I,slot:F,defaultTag:Br,name:"Radio"})}let Gr=ne(Lr),Ur=ne(qr),zt=ne(Ar),Hr=Mt,Kr=Mo,Ro=Object.assign(Gr,{Option:Ur,Radio:zt,Label:Hr,Description:Kr});const Ye=({id:e,children:t})=>u.jsx("p",{id:`${e}-description`,className:"paragraph-100 text-neutral-700",children:t});try{Ye.displayName="FormFieldDescription",Ye.__docgenInfo={description:"",displayName:"FormFieldDescription",props:{id:{defaultValue:null,description:"",name:"id",required:!0,type:{name:"string"}}}}}catch{}const Ze=({children:e})=>u.jsxs("div",{className:"mt-0.5 flex items-center gap-1",children:[u.jsx(To,{className:"h-3 w-3 fill-danger-500"}),u.jsx("p",{className:"paragraph-100 text-danger-500",children:e})]});try{Ze.displayName="FormFieldErrorMessage",Ze.__docgenInfo={description:"",displayName:"FormFieldErrorMessage",props:{}}}catch{}const et=({htmlFor:e,children:t,optional:r})=>u.jsxs("div",{className:"flex items-baseline gap-1 text-neutral-800",children:[u.jsx("label",{htmlFor:e,className:"headline-400",children:t}),r?u.jsx("div",{className:"paragraph-100",children:"(Optional)"}):null]});try{et.displayName="FormFieldLabel",et.__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 tt=({children:e})=>u.jsx("div",{className:"mb-2 flex flex-col gap-1",children:e});try{tt.displayName="FormFieldLabelGroup",tt.__docgenInfo={description:"",displayName:"FormFieldLabelGroup",props:{}}}catch{}const ot=({children:e,value:t,disabled:r})=>u.jsx(zt,{value:t,className:"max-w-fit cursor-pointer focus:outline-none",disabled:r,children:({checked:o,disabled:a})=>u.jsxs("div",{className:"flex items-center gap-3",children:[o?u.jsx("span",{className:H("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:u.jsx("span",{className:H("absolute inset-0 m-auto block h-2 w-2 rounded-full bg-neutral-0",a&&"bg-neutral-500")})}):u.jsx("span",{className:H("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")}),u.jsx("p",{className:H("paragraph-200",a&&"text-neutral-600"),children:e})]})});try{ot.displayName="RadioInputOption",ot.__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 Fe=({id:e,children:t,value:r,onChange:o})=>u.jsx(Ro,{id:e,value:r,onChange:o,children:t});Fe.Option=ot;try{Fe.displayName="RadioInput",Fe.__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 zr="target-field",Qr=H("[.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"),rt=({ariaDescribedBy:e,type:t="text",LeftIcon:r,readOnly:o,autoSelect:a,error:f,disabled:l,className:n,...i})=>{const p=d.useRef(null),m=()=>{a&&p.current&&p.current.select()};return u.jsxs("div",{className:H("relative w-full",Qr),children:[r?u.jsx("div",{className:"pointer-events-none absolute inset-y-0 left-0 z-10 flex items-center pl-3","aria-hidden":"true",children:u.jsx(r,{className:"text-gray-400 h-3.5 w-3.5 fill-neutral-600"})}):null,u.jsx("input",{ref:p,"aria-describedby":e,onMouseOver:m,onFocus:m,onClick:m,type:t,className:H(zr,"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",r&&"pl-9",o&&"bg-primary-50",l&&"cursor-not-allowed bg-neutral-100 text-neutral-600",!f&&!l&&"hover:border-neutral-600 focus:border-primary-400 focus:ring-2 focus:ring-primary-200",f&&!l&&"border-danger-500",n),readOnly:o,disabled:l,...i})]})};try{rt.displayName="TextInput",rt.__docgenInfo={description:"",displayName:"TextInput",props:{type:{defaultValue:{value:"text"},description:"",name:"type",required:!1,type:{name:"enum",value:[{value:'"text"'},{value:'"email"'},{value:'"date"'},{value:'"password"'}]}},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 nt=({id:e,value:t,onChange:r,placeholder:o,ariaDescribedBy:a,error:f,disabled:l,rows:n,cols:i,className:p})=>u.jsx("textarea",{id:e,name:e,value:t,onChange:r,placeholder:o,"aria-describedby":a,className:H("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",l&&"cursor-not-allowed bg-neutral-100 text-neutral-600",!f&&!l&&"hover:border-neutral-600 focus:border-primary-400 focus:ring-2 focus:ring-primary-200",f&&!l&&"border-danger-500",p),disabled:l,rows:n,cols:i});try{nt.displayName="Textarea",nt.__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 Jr={left:"text-left",center:"text-center",right:"text-right"},at=({id:e,placeholder:t,value:r,min:o,max:a,onChange:f,ariaDescribedBy:l,LeftIcon:n,textAlign:i="left",readOnly:p,error:m,disabled:v})=>u.jsxs("div",{className:"relative w-full",children:[n?u.jsx("div",{className:"pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3","aria-hidden":"true",children:u.jsx(n,{className:"text-gray-400 h-4 w-4 fill-neutral-600"})}):null,u.jsx("input",{id:e,name:e,value:r,readOnly:p,onChange:f,placeholder:t,"aria-describedby":l,type:"number",min:o,max:a,className:H("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",Jr[i],n&&"pl-9",p&&"bg-neutral-100",v&&"cursor-not-allowed bg-neutral-100 text-neutral-600",!m&&!v&&"hover:border-neutral-600 focus:border-primary-400 focus:ring-2 focus:ring-primary-200",m&&!v&&"border-danger-500"),disabled:v})]});try{at.displayName="NumberInput",at.__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 lt=({children:e})=>u.jsx(Co,{className:"absolute mt-1 max-h-60 w-full list-none overflow-auto rounded-md border border-neutral-300 bg-neutral-0 shadow-md outline-none ring-0",children:e});try{lt.displayName="ListboxOptions",lt.__docgenInfo={description:"",displayName:"ListboxOptions",props:{}}}catch{}const it=({children:e,badgeType:t="neutral"})=>u.jsx("div",{className:"flex items-center",children:u.jsx(ho,{type:t,children:e})});try{it.displayName="ListboxBadgeOption",it.__docgenInfo={description:"",displayName:"ListboxBadgeOption",props:{badgeType:{defaultValue:{value:"neutral"},description:"",name:"badgeType",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"neutral"'},{value:'"violet"'},{value:'"green"'},{value:'"yellow"'},{value:'"teal"'},{value:'"orange"'},{value:'"pink"'},{value:'"red"'},{value:'"purple"'}]}}}}}catch{}const st=({children:e,LeftIcon:t})=>u.jsxs("div",{className:"flex items-center gap-2",children:[t?u.jsx(t,{className:"h-3 w-3 fill-neutral-500 ui-selected:fill-primary-500"}):null,u.jsx("div",{className:"paragraph-100",children:e})]});try{st.displayName="ListboxTextOption",st.__docgenInfo={description:"",displayName:"ListboxTextOption",props:{LeftIcon:{defaultValue:null,description:"",name:"LeftIcon",required:!1,type:{name:"ElementType"}}}}}catch{}const Ve={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"},Ie=({value:e,disabled:t,children:r})=>u.jsx(No,{value:e,as:d.Fragment,disabled:t,children:({active:o,selected:a})=>u.jsx("li",{className:H(Ve.base,o&&Ve.active,a&&Ve.selected,t&&Ve.disabled),children:r})});Ie.BadgeOption=it;Ie.TextOption=st;try{Ie.displayName="ListboxOption",Ie.__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 ut=({placeholder:e,value:t,badgeType:r="neutral"})=>t?u.jsx(ho,{type:r,children:t}):u.jsx("div",{className:"paragraph-100 text-neutral-600",children:e});try{ut.displayName="ListboxButtonBadgeValue",ut.__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:'"neutral"'},{value:'"violet"'},{value:'"green"'},{value:'"yellow"'},{value:'"teal"'},{value:'"orange"'},{value:'"pink"'},{value:'"red"'},{value:'"purple"'}]}}}}}catch{}const dt=({placeholder:e,value:t})=>t?u.jsx("div",{className:"paragraph-100",children:t}):u.jsx("div",{className:"paragraph-100 text-neutral-600 group-hover:text-neutral-700",children:e});try{dt.displayName="ListboxButtonTextValue",dt.__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 Se=({children:e,disabled:t})=>u.jsxs(Eo,{disabled:t,className:H("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",t&&"cursor-not-allowed border-neutral-300 bg-neutral-100 text-neutral-600 hover:border-neutral-300"),children:[e,u.jsx("div",{className:"absolute inset-y-0 right-0 flex items-center px-1.5",children:u.jsx("div",{className:"flex h-5 w-5 items-center justify-center rounded rounded-r-md bg-neutral-100 focus:outline-none",children:u.jsx(ke,{className:"h-3 w-3 fill-neutral-600","aria-hidden":"true"})})})]});Se.BadgeValue=ut;Se.TextValue=dt;try{Se.displayName="ListboxButton",Se.__docgenInfo={description:"",displayName:"ListboxButton",props:{disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}}}}}catch{}const Wr=H("[.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"),xe=({children:e,value:t,onChange:r,className:o})=>u.jsx(Mr,{value:t,onChange:r,children:u.jsx("div",{className:H("relative w-full",Wr,o),children:e})});xe.Button=Se;xe.Options=lt;xe.Option=Ie;try{xe.displayName="Listbox",xe.__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 ct=({value:e,children:t})=>u.jsx(Te,{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{ct.displayName="MultiComboboxCustomOption",ct.__docgenInfo={description:"",displayName:"MultiComboboxCustomOption",props:{value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"TValue"}}}}}catch{}const pt=({children:e})=>u.jsx("div",{className:"px-3 py-2 ui-selected:bg-primary-100",children:e});try{pt.displayName="MultiComboboxEmptyOption",pt.__docgenInfo={description:"",displayName:"MultiComboboxEmptyOption",props:{}}}catch{}const mt=({id:e,displayValue:t,placeholder:r,onChange:o,showButton:a=!0,disabled:f=!1,...l})=>u.jsxs("div",{className:"relative",children:[u.jsx(qt,{id:e,name:e,placeholder:r,displayValue:()=>t,onChange:o,className:H("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",f&&"cursor-not-allowed border-neutral-300 bg-neutral-100 text-neutral-600 hover:border-neutral-300"),...l}),a&&!f?u.jsx(Ae,{className:"absolute inset-y-0 right-0 flex items-center px-1.5",children:u.jsx("div",{className:"flex h-5 w-5 items-center justify-center rounded rounded-r-md bg-neutral-100",children:u.jsx(ke,{name:"caret-down",className:"h-3 w-3 fill-neutral-600","aria-hidden":"true"})})}):null]});try{mt.displayName="MultiComboboxInput",mt.__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"}},disabled:{defaultValue:{value:"false"},description:"",name:"disabled",required:!1,type:{name:"boolean"}},defaultValue:{defaultValue:null,description:"",name:"defaultValue",required:!1,type:{name:"string"}},autoFocus:{defaultValue:null,description:"",name:"autoFocus",required:!1,type:{name:"boolean"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string | ((bag: InputRenderPropArg) => string)"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"enum",value:[{value:'"input"'}]}},refName:{defaultValue:null,description:"",name:"refName",required:!1,type:{name:"string"}}}}}catch{}const bt=({value:e,children:t})=>u.jsxs(Te,{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,u.jsx("div",{className:"absolute inset-y-0 right-3 hidden items-center fill-primary-500 ui-selected:flex",children:u.jsx($o,{})})]});try{bt.displayName="MultiComboboxOption",bt.__docgenInfo={description:"",displayName:"MultiComboboxOption",props:{value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"TValue"}}}}}catch{}const ft=({children:e,className:t})=>u.jsx(Bt,{hold:!0,className:H("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{ft.displayName="MultiComboboxOptions",ft.__docgenInfo={description:"",displayName:"MultiComboboxOptions",props:{className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}}}}}catch{}const vt=({children:e})=>u.jsx("div",{className:"flex flex-wrap gap-2",children:e});try{vt.displayName="MultiComboboxResultsBadges",vt.__docgenInfo={description:"",displayName:"MultiComboboxResultsBadges",props:{}}}catch{}const gt=({children:e})=>u.jsx("div",{className:"paragraph-100 mt-2 text-neutral-900",children:e});try{gt.displayName="MultiComboboxResultsLabel",gt.__docgenInfo={description:"",displayName:"MultiComboboxResultsLabel",props:{}}}catch{}const xt=({children:e})=>u.jsx("div",{className:"flex flex-wrap gap-2",children:e});try{xt.displayName="MultiComboboxResultsTags",xt.__docgenInfo={description:"",displayName:"MultiComboboxResultsTags",props:{}}}catch{}const yt=({children:e})=>u.jsx("div",{className:"paragraph-100",children:e});try{yt.displayName="MultiComboboxResultsText",yt.__docgenInfo={description:"",displayName:"MultiComboboxResultsText",props:{}}}catch{}const fe=({children:e})=>u.jsx("div",{className:"flex flex-col gap-2",children:e});fe.Label=gt;fe.Text=yt;fe.Badges=vt;fe.Tags=xt;try{fe.displayName="MultiComboboxResults",fe.__docgenInfo={description:"",displayName:"MultiComboboxResults",props:{}}}catch{}const ce=({value:e,onChange:t,children:r})=>u.jsx(Io,{multiple:!0,value:e,onChange:t,children:u.jsx("div",{className:"relative",children:r})});ce.Input=mt;ce.Options=ft;ce.Option=bt;ce.CustomOption=ct;ce.EmptyOption=pt;ce.Results=fe;try{ce.displayName="MultiCombobox",ce.__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 ht=({value:e,children:t})=>u.jsx(Te,{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{ht.displayName="SingleComboboxCustomOption",ht.__docgenInfo={description:"",displayName:"SingleComboboxCustomOption",props:{value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"TValue"}}}}}catch{}const _t=({children:e})=>u.jsx("div",{className:"px-3 py-2 ui-selected:bg-primary-100",children:e});try{_t.displayName="SingleComboboxEmptyOption",_t.__docgenInfo={description:"",displayName:"SingleComboboxEmptyOption",props:{}}}catch{}const Ot=({id:e,displayValue:t,placeholder:r,onChange:o,showButton:a=!0})=>u.jsxs("div",{className:"relative",children:[u.jsx(qt,{id:e,name:e,placeholder:r,displayValue:t,onChange:o,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?u.jsx(Ae,{className:"absolute inset-y-0 right-0 flex items-center px-1.5",children:u.jsx("div",{className:"flex h-5 w-5 items-center justify-center rounded rounded-r-md bg-neutral-100",children:u.jsx(ke,{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 It=({children:e})=>u.jsx(Bt,{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{It.displayName="SingleComboboxOptions",It.__docgenInfo={description:"",displayName:"SingleComboboxOptions",props:{}}}catch{}const St=({onUnselect:e,children:t})=>u.jsx("div",{className:"relative",children:u.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:[u.jsx(Uo,{onClick:e,children:t}),u.jsx(Ae,{className:"absolute inset-y-0 right-0 flex items-center px-1.5",children:u.jsx("div",{className:"flex h-5 w-5 items-center justify-center rounded rounded-r-md bg-neutral-100",children:u.jsx(ke,{className:"h-3 w-3 fill-neutral-600","aria-hidden":"true"})})})]})});try{St.displayName="SingleComboboxResultInput",St.__docgenInfo={description:"",displayName:"SingleComboboxResultInput",props:{onUnselect:{defaultValue:null,description:"",name:"onUnselect",required:!0,type:{name:"() => void"}}}}}catch{}const Et=({value:e,children:t})=>u.jsx(Te,{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{Et.displayName="SingleComboboxOption",Et.__docgenInfo={description:"",displayName:"SingleComboboxOption",props:{value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"TValue"}}}}}catch{}const pe=({value:e,onChange:t,children:r,disabled:o})=>u.jsx(Io,{value:e,onChange:t,disabled:o,children:u.jsx("div",{className:"relative",children:r})});pe.Input=Ot;pe.ResultInput=St;pe.Options=It;pe.Option=Et;pe.EmptyOption=_t;pe.CustomOption=ht;try{pe.displayName="SingleCombobox",pe.__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 Ct=({children:e})=>u.jsx("div",{className:"form-field-group group flex w-full flex-row",children:e});try{Ct.displayName="FormFieldGroup",Ct.__docgenInfo={description:"",displayName:"FormFieldGroup",props:{}}}catch{}const Nt=({ariaDescribedBy:e,readOnly:t,autoSelect:r,onClear:o,error:a,value:f,disabled:l,className:n,...i})=>{const p=d.useRef(null),m=!t&&!l&&f!==void 0&&f!=="",v=d.useCallback(()=>{r&&p.current&&p.current.select()},[r]),I=d.useCallback(s=>{(s.key==="Enter"||s.key===" ")&&(s.preventDefault(),s.stopPropagation(),o())},[o]);return u.jsxs("div",{className:H("relative w-full"),children:[u.jsx("div",{className:"pointer-events-none absolute inset-y-0 left-0 z-10 flex items-center pl-3","aria-hidden":"true",children:u.jsx(wo,{className:"text-gray-400 h-3.5 w-3.5 fill-neutral-600"})}),u.jsx("input",{ref:p,"aria-describedby":e,onMouseOver:v,onFocus:v,onClick:v,type:"search",className:H("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",l&&"cursor-not-allowed bg-neutral-100 text-neutral-600",!a&&!l&&"hover:border-neutral-600 focus:border-primary-400 focus:ring-2 focus:ring-primary-200",a&&!l&&"border-danger-500",n),readOnly:t,disabled:l,value:f,...i}),m?u.jsx("div",{className:"absolute inset-y-0 right-0 z-10 flex items-center justify-center pr-2",children:u.jsx("button",{type:"button","aria-label":"Clear search input",tabIndex:0,onClick:o,onKeyDown:I,className:"rounded bg-neutral-100 p-0.5 hover:bg-neutral-200",children:u.jsx(Vo,{className:"h-3 w-3 fill-neutral-600"})})}):null]})};try{Nt.displayName="SearchInput",Nt.__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 Je={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 data-[focus]:outline-2 data-[focus]:outline-primary-200",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"},Me={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"},Xr=({children:e})=>u.jsx("h2",{className:"headline-500 text-neutral-900 group-[.is-checked]:text-neutral-0 group-[.is-disabled]:text-neutral-500",children:e}),Yr=({children:e})=>u.jsx("p",{className:"paragraph-200 text-neutral-800 group-[.is-checked]:text-neutral-0 group-[.is-disabled]:text-neutral-500",children:e}),me=({children:e,value:t,disabled:r,className:o})=>u.jsx(zt,{value:t,disabled:r,as:d.Fragment,children:({checked:a,disabled:f})=>u.jsxs("div",{className:H(Je.base,a&&H("is-checked",Je.checked),f&&H("is-disabled",Je.disabled)),children:[u.jsx("div",{className:H(Me.base,!a&&Me.unchecked,a&&Me.checked,f&&Me.disabled),children:a&&u.jsx("div",{className:H("absolute inset-0 m-auto block h-2 w-2 rounded-full bg-primary-600",f&&"bg-neutral-500")})}),u.jsx("div",{className:H("flex flex-col",o),children:e})]})});me.Title=Xr;me.Description=Yr;try{me.displayName="RadioBoxOption",me.__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{me.Title.displayName="RadioBoxOption.Title",me.Title.__docgenInfo={description:"",displayName:"RadioBoxOption.Title",props:{}}}catch{}try{me.Description.displayName="RadioBoxOption.Description",me.Description.__docgenInfo={description:"",displayName:"RadioBoxOption.Description",props:{}}}catch{}const ye=({id:e,value:t,children:r,onChange:o,className:a})=>u.jsx(Ro,{id:e,value:t,onChange:o,className:a,children:r});ye.Option=me;try{ye.displayName="RadioBox",ye.__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{ye.Option.displayName="RadioBox.Option",ye.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 Y=({children:e})=>u.jsx("div",{className:"w-full",children:e});Y.LabelGroup=tt;Y.Label=et;Y.Description=Ye;Y.ErrorMessage=Ze;Y.TextInput=rt;Y.Textarea=nt;Y.RadioInput=Fe;Y.NumberInput=at;Y.Listbox=xe;Y.MultiCombobox=ce;Y.SingleCombobox=pe;Y.Group=Ct;Y.SearchInput=Nt;Y.RadioBox=ye;try{Y.displayName="FormField",Y.__docgenInfo={description:"",displayName:"FormField",props:{}}}catch{}export{Y as F,ye as R,pe as S,Ct as a}; +import{j as u}from"./jsx-runtime-C798UXYj.js";import{e as To,as as ke,gz as $o,g as wo,j as Vo}from"./zoom-to-fit-icon-DdsCB6de.js";import{c as H}from"./class-names-DnY5YZNL.js";import{$ as Ee,a as Ce,w as Zt,e as eo}from"./use-resolve-button-type-D_6M6Au0.js";import{r as d,R as P}from"./index-0d5eMwbi.js";import{l as Rt,T as Tt,j as $t,p as to}from"./form-fields-B2NmhAAW.js";import{o as g,M as Pe,L as ne,u as oe,n as re,D as ae,y as ie,p as wt,W as ve,s as Le,a as We}from"./use-sync-refs-DqQDZvJ6.js";import{a as De,U as Vt,H as Mo,w as oo}from"./description-D9Ee5mtv.js";import{Q as Mt,K as qe,u as Pt,I as Ne}from"./label-BBnH-iCi.js";import{r as Be}from"./bugs-DpEN4NTH.js";import{_ as jt,A as Po,h as jo,j as Fo,F as ge,P as Jt,T as Wt}from"./focus-management-DaVlPEX1.js";import{o as w,u as ro}from"./keyboard-C2Ifhsxt.js";import{r as te}from"./index-BoyHNU0R.js";import{F as ko,u as no,c as V,f as _e,s as Lo,a as Do}from"./use-text-value-ehRDfXkw.js";import{M as ao,y as lo,x as io,R as so,b as uo,d as Xe,F as qo}from"./floating-ERp4LevH.js";import{y as co}from"./use-inert-others-CzqV763I.js";import{R as po,n as Ft,m as mo,f as bo,r as fo,a as Bo}from"./portal-CLj4HHuk.js";import{c as vo,i as be,u as go,x as xo,R as yo}from"./open-closed-DC3t9YEZ.js";import{B as ho}from"./badge-Da1HxQE-.js";import{u as Ao}from"./index-h1jAayoZ.js";import{E as Go}from"./use-event-listener-CochUv0b.js";import{m as Xt,r as Yt}from"./active-element-history-DI7yoVCB.js";import{T as Uo}from"./tag-C9CGXtt3.js";function Ho(e,t){return e!==null&&t!==null&&typeof e=="object"&&typeof t=="object"&&"id"in e&&"id"in t?e.id===t.id:e===t}function kt(e=Ho){return d.useCallback((t,r)=>{if(typeof e=="string"){let o=e;return(t==null?void 0:t[o])===(r==null?void 0:r[o])}return e(t,r)},[e])}function _o(e){let t=d.useRef({value:"",selectionStart:null,selectionEnd:null});return Go(e,"blur",r=>{let o=r.target;o instanceof HTMLInputElement&&(t.current={value:o.value,selectionStart:o.selectionStart,selectionEnd:o.selectionEnd})}),g(()=>{if(document.activeElement!==e&&e instanceof HTMLInputElement&&e.isConnected){if(e.focus({preventScroll:!0}),e.value!==t.current.value)e.setSelectionRange(e.value.length,e.value.length);else{let{selectionStart:r,selectionEnd:o}=t.current;r!==null&&o!==null&&e.setSelectionRange(r,o)}t.current={value:"",selectionStart:null,selectionEnd:null}}})}function Ko({children:e,freeze:t}){let r=je(t,e);return P.createElement(P.Fragment,null,r)}function je(e,t){let[r,o]=d.useState(t);return!e&&r!==t&&o(t),e?r:t}var Lt=(e=>(e[e.Left=0]="Left",e[e.Right=2]="Right",e))(Lt||{}),zo=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(zo||{}),Qo=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(Qo||{}),Jo=(e=>(e[e.Pointer=0]="Pointer",e[e.Focus=1]="Focus",e[e.Other=2]="Other",e))(Jo||{}),Wo=(e=>(e[e.OpenCombobox=0]="OpenCombobox",e[e.CloseCombobox=1]="CloseCombobox",e[e.GoToOption=2]="GoToOption",e[e.SetTyping=3]="SetTyping",e[e.RegisterOption=4]="RegisterOption",e[e.UnregisterOption=5]="UnregisterOption",e[e.SetActivationTrigger=6]="SetActivationTrigger",e[e.UpdateVirtualConfiguration=7]="UpdateVirtualConfiguration",e[e.SetInputElement=8]="SetInputElement",e[e.SetButtonElement=9]="SetButtonElement",e[e.SetOptionsElement=10]="SetOptionsElement",e))(Wo||{});function ze(e,t=r=>r){let r=e.activeOptionIndex!==null?e.options[e.activeOptionIndex]:null,o=t(e.options.slice()),a=o.length>0&&o[0].dataRef.current.order!==null?o.sort((l,n)=>l.dataRef.current.order-n.dataRef.current.order):jt(o,l=>l.dataRef.current.domRef.current),f=r?a.indexOf(r):null;return f===-1&&(f=null),{options:a,activeOptionIndex:f}}let Xo={1(e){var t;return(t=e.dataRef.current)!=null&&t.disabled||e.comboboxState===1?e:{...e,activeOptionIndex:null,comboboxState:1,isTyping:!1,activationTrigger:2,__demoMode:!1}},0(e){var t,r;if((t=e.dataRef.current)!=null&&t.disabled||e.comboboxState===0)return e;if((r=e.dataRef.current)!=null&&r.value){let o=e.dataRef.current.calculateIndex(e.dataRef.current.value);if(o!==-1)return{...e,activeOptionIndex:o,comboboxState:0,__demoMode:!1}}return{...e,comboboxState:0,__demoMode:!1}},3(e,t){return e.isTyping===t.isTyping?e:{...e,isTyping:t.isTyping}},2(e,t){var r,o,a,f;if((r=e.dataRef.current)!=null&&r.disabled||e.optionsElement&&!((o=e.dataRef.current)!=null&&o.optionsPropsRef.current.static)&&e.comboboxState===1)return e;if(e.virtual){let{options:p,disabled:m}=e.virtual,v=t.focus===V.Specific?t.idx:_e(t,{resolveItems:()=>p,resolveActiveIndex:()=>{var s,b;return(b=(s=e.activeOptionIndex)!=null?s:p.findIndex(h=>!m(h)))!=null?b:null},resolveDisabled:m,resolveId(){throw new Error("Function not implemented.")}}),I=(a=t.trigger)!=null?a:2;return e.activeOptionIndex===v&&e.activationTrigger===I?e:{...e,activeOptionIndex:v,activationTrigger:I,isTyping:!1,__demoMode:!1}}let l=ze(e);if(l.activeOptionIndex===null){let p=l.options.findIndex(m=>!m.dataRef.current.disabled);p!==-1&&(l.activeOptionIndex=p)}let n=t.focus===V.Specific?t.idx:_e(t,{resolveItems:()=>l.options,resolveActiveIndex:()=>l.activeOptionIndex,resolveId:p=>p.id,resolveDisabled:p=>p.dataRef.current.disabled}),i=(f=t.trigger)!=null?f:2;return e.activeOptionIndex===n&&e.activationTrigger===i?e:{...e,...l,isTyping:!1,activeOptionIndex:n,activationTrigger:i,__demoMode:!1}},4:(e,t)=>{var r,o,a;if((r=e.dataRef.current)!=null&&r.virtual)return{...e,options:[...e.options,t.payload]};let f=t.payload,l=ze(e,i=>(i.push(f),i));e.activeOptionIndex===null&&(o=e.dataRef.current)!=null&&o.isSelected(t.payload.dataRef.current.value)&&(l.activeOptionIndex=l.options.indexOf(f));let n={...e,...l,activationTrigger:2};return(a=e.dataRef.current)!=null&&a.__demoMode&&e.dataRef.current.value===void 0&&(n.activeOptionIndex=0),n},5:(e,t)=>{var r;if((r=e.dataRef.current)!=null&&r.virtual)return{...e,options:e.options.filter(a=>a.id!==t.id)};let o=ze(e,a=>{let f=a.findIndex(l=>l.id===t.id);return f!==-1&&a.splice(f,1),a});return{...e,...o,activationTrigger:2}},6:(e,t)=>e.activationTrigger===t.trigger?e:{...e,activationTrigger:t.trigger},7:(e,t)=>{var r,o;if(e.virtual===null)return{...e,virtual:{options:t.options,disabled:(r=t.disabled)!=null?r:()=>!1}};if(e.virtual.options===t.options&&e.virtual.disabled===t.disabled)return e;let a=e.activeOptionIndex;if(e.activeOptionIndex!==null){let f=t.options.indexOf(e.virtual.options[e.activeOptionIndex]);f!==-1?a=f:a=null}return{...e,activeOptionIndex:a,virtual:{options:t.options,disabled:(o=t.disabled)!=null?o:()=>!1}}},8:(e,t)=>e.inputElement===t.element?e:{...e,inputElement:t.element},9:(e,t)=>e.buttonElement===t.element?e:{...e,buttonElement:t.element},10:(e,t)=>e.optionsElement===t.element?e:{...e,optionsElement:t.element}},Dt=d.createContext(null);Dt.displayName="ComboboxActionsContext";function Re(e){let t=d.useContext(Dt);if(t===null){let r=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,Re),r}return t}let Oo=d.createContext(null);function Yo(e){let t=he("VirtualProvider"),{options:r}=t.virtual,[o,a]=d.useMemo(()=>{let p=t.optionsElement;if(!p)return[0,0];let m=window.getComputedStyle(p);return[parseFloat(m.paddingBlockStart||m.paddingTop),parseFloat(m.paddingBlockEnd||m.paddingBottom)]},[t.optionsElement]),f=Ao({enabled:r.length!==0,scrollPaddingStart:o,scrollPaddingEnd:a,count:r.length,estimateSize(){return 40},getScrollElement(){return t.optionsElement},overscan:12}),[l,n]=d.useState(0);re(()=>{n(p=>p+1)},[r]);let i=f.getVirtualItems();return i.length===0?null:P.createElement(Oo.Provider,{value:f},P.createElement("div",{style:{position:"relative",width:"100%",height:`${f.getTotalSize()}px`},ref:p=>{p&&t.activationTrigger!==0&&t.activeOptionIndex!==null&&r.length>t.activeOptionIndex&&f.scrollToIndex(t.activeOptionIndex)}},i.map(p=>{var m;return P.createElement(d.Fragment,{key:p.key},P.cloneElement((m=e.children)==null?void 0:m.call(e,{...e.slot,option:r[p.index]}),{key:`${l}-${p.key}`,"data-index":p.index,"aria-setsize":r.length,"aria-posinset":p.index+1,style:{position:"absolute",top:0,left:0,transform:`translateY(${p.start}px)`,overflowAnchor:"none"}}))})))}let Oe=d.createContext(null);Oe.displayName="ComboboxDataContext";function he(e){let t=d.useContext(Oe);if(t===null){let r=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,he),r}return t}function Zo(e,t){return oe(t.type,Xo,e,t)}let er=d.Fragment;function tr(e,t){var r,o;let a=De(),{value:f,defaultValue:l,onChange:n,form:i,name:p,by:m,disabled:v=a||!1,onClose:I,__demoMode:s=!1,multiple:b=!1,immediate:h=!1,virtual:x=null,nullable:D,...j}=e,R=Rt(l),[N=b?[]:void 0,M]=Tt(f,n,R),[S,_]=d.useReducer(Zo,{dataRef:d.createRef(),comboboxState:s?0:1,isTyping:!1,options:[],virtual:x?{options:x.options,disabled:(r=x.disabled)!=null?r:()=>!1}:null,activeOptionIndex:null,activationTrigger:2,inputElement:null,buttonElement:null,optionsElement:null,__demoMode:s}),E=d.useRef(!1),T=d.useRef({static:!1,hold:!1}),F=kt(m),y=g(O=>x?m===null?x.options.indexOf(O):x.options.findIndex(U=>F(U,O)):S.options.findIndex(U=>F(U.dataRef.current.value,O))),q=d.useCallback(O=>oe(C.mode,{1:()=>N.some(U=>F(U,O)),0:()=>F(N,O)}),[N]),J=g(O=>S.activeOptionIndex===y(O)),C=d.useMemo(()=>({...S,immediate:h,optionsPropsRef:T,value:N,defaultValue:R,disabled:v,mode:b?1:0,virtual:x?S.virtual:null,get activeOptionIndex(){if(E.current&&S.activeOptionIndex===null&&(x?x.options.length>0:S.options.length>0)){if(x){let U=x.options.findIndex(ue=>{var we,Qt;return!((Qt=(we=x.disabled)==null?void 0:we.call(x,ue))!=null&&Qt)});if(U!==-1)return U}let O=S.options.findIndex(U=>!U.dataRef.current.disabled);if(O!==-1)return O}return S.activeOptionIndex},calculateIndex:y,compare:F,isSelected:q,isActive:J}),[N,R,v,b,s,S,x]);re(()=>{var O;x&&_({type:7,options:x.options,disabled:(O=x.disabled)!=null?O:null})},[x,x==null?void 0:x.options,x==null?void 0:x.disabled]),re(()=>{S.dataRef.current=C},[C]);let B=C.comboboxState===0;po(B,[C.buttonElement,C.inputElement,C.optionsElement],()=>W.closeCombobox());let X=d.useMemo(()=>{var O,U,ue;return{open:C.comboboxState===0,disabled:v,activeIndex:C.activeOptionIndex,activeOption:C.activeOptionIndex===null?null:C.virtual?C.virtual.options[(O=C.activeOptionIndex)!=null?O:0]:(ue=(U=C.options[C.activeOptionIndex])==null?void 0:U.dataRef.current.value)!=null?ue:null,value:N}},[C,v,N]),Z=g(()=>{if(C.activeOptionIndex!==null){if(W.setIsTyping(!1),C.virtual)c(C.virtual.options[C.activeOptionIndex]);else{let{dataRef:O}=C.options[C.activeOptionIndex];c(O.current.value)}W.goToOption(V.Specific,C.activeOptionIndex)}}),ee=g(()=>{_({type:0}),E.current=!0}),le=g(()=>{_({type:1}),E.current=!1,I==null||I()}),se=g(O=>{_({type:3,isTyping:O})}),k=g((O,U,ue)=>(E.current=!1,O===V.Specific?_({type:2,focus:V.Specific,idx:U,trigger:ue}):_({type:2,focus:O,trigger:ue}))),G=g((O,U)=>(_({type:4,payload:{id:O,dataRef:U}}),()=>{C.isActive(U.current.value)&&(E.current=!0),_({type:5,id:O})})),c=g(O=>oe(C.mode,{0(){return M==null?void 0:M(O)},1(){let U=C.value.slice(),ue=U.findIndex(we=>F(we,O));return ue===-1?U.push(O):U.splice(ue,1),M==null?void 0:M(U)}})),L=g(O=>{_({type:6,trigger:O})}),$=g(O=>{_({type:8,element:O})}),K=g(O=>{_({type:9,element:O})}),z=g(O=>{_({type:10,element:O})}),W=d.useMemo(()=>({onChange:c,registerOption:G,goToOption:k,setIsTyping:se,closeCombobox:le,openCombobox:ee,setActivationTrigger:L,selectActiveOption:Z,setInputElement:$,setButtonElement:K,setOptionsElement:z}),[]),[de,He]=qe(),Ke=t===null?{}:{ref:t},A=d.useCallback(()=>{if(R!==void 0)return M==null?void 0:M(R)},[M,R]),Q=ae();return P.createElement(He,{value:de,props:{htmlFor:(o=C.inputElement)==null?void 0:o.id},slot:{open:C.comboboxState===0,disabled:v}},P.createElement(ao,null,P.createElement(Dt.Provider,{value:W},P.createElement(Oe.Provider,{value:C},P.createElement(vo,{value:oe(C.comboboxState,{0:be.Open,1:be.Closed})},p!=null&&P.createElement($t,{disabled:v,data:N!=null?{[p]:N}:{},form:i,onReset:A}),Q({ourProps:Ke,theirProps:j,slot:X,defaultTag:er,name:"Combobox"}))))))}let or="input";function rr(e,t){var r,o,a,f,l;let n=he("Combobox.Input"),i=Re("Combobox.Input"),p=d.useId(),m=Pt(),{id:v=m||`headlessui-combobox-input-${p}`,onChange:I,displayValue:s,disabled:b=n.disabled||!1,autoFocus:h=!1,type:x="text",...D}=e,j=d.useRef(null),R=ie(j,t,lo(),i.setInputElement),N=Ft(n.inputElement),M=wt(),S=g(()=>{i.onChange(null),n.optionsElement&&(n.optionsElement.scrollTop=0),i.goToOption(V.Nothing)}),_=d.useMemo(()=>{var c;return typeof s=="function"&&n.value!==void 0?(c=s(n.value))!=null?c:"":typeof n.value=="string"?n.value:""},[n.value,s]);Xt(([c,L],[$,K])=>{if(n.isTyping)return;let z=j.current;z&&((K===0&&L===1||c!==$)&&(z.value=c),requestAnimationFrame(()=>{if(n.isTyping||!z||(N==null?void 0:N.activeElement)!==z)return;let{selectionStart:W,selectionEnd:de}=z;Math.abs((de??0)-(W??0))===0&&W===0&&z.setSelectionRange(z.value.length,z.value.length)}))},[_,n.comboboxState,N,n.isTyping]),Xt(([c],[L])=>{if(c===0&&L===1){if(n.isTyping)return;let $=j.current;if(!$)return;let K=$.value,{selectionStart:z,selectionEnd:W,selectionDirection:de}=$;$.value="",$.value=K,de!==null?$.setSelectionRange(z,W,de):$.setSelectionRange(z,W)}},[n.comboboxState]);let E=d.useRef(!1),T=g(()=>{E.current=!0}),F=g(()=>{M.nextFrame(()=>{E.current=!1})}),y=g(c=>{switch(i.setIsTyping(!0),c.key){case w.Enter:if(n.comboboxState!==0||E.current)return;if(c.preventDefault(),c.stopPropagation(),n.activeOptionIndex===null){i.closeCombobox();return}i.selectActiveOption(),n.mode===0&&i.closeCombobox();break;case w.ArrowDown:return c.preventDefault(),c.stopPropagation(),oe(n.comboboxState,{0:()=>i.goToOption(V.Next),1:()=>i.openCombobox()});case w.ArrowUp:return c.preventDefault(),c.stopPropagation(),oe(n.comboboxState,{0:()=>i.goToOption(V.Previous),1:()=>{te.flushSync(()=>i.openCombobox()),n.value||i.goToOption(V.Last)}});case w.Home:if(c.shiftKey)break;return c.preventDefault(),c.stopPropagation(),i.goToOption(V.First);case w.PageUp:return c.preventDefault(),c.stopPropagation(),i.goToOption(V.First);case w.End:if(c.shiftKey)break;return c.preventDefault(),c.stopPropagation(),i.goToOption(V.Last);case w.PageDown:return c.preventDefault(),c.stopPropagation(),i.goToOption(V.Last);case w.Escape:return n.comboboxState!==0?void 0:(c.preventDefault(),n.optionsElement&&!n.optionsPropsRef.current.static&&c.stopPropagation(),n.mode===0&&n.value===null&&S(),i.closeCombobox());case w.Tab:if(n.comboboxState!==0)return;n.mode===0&&n.activationTrigger!==1&&i.selectActiveOption(),i.closeCombobox();break}}),q=g(c=>{I==null||I(c),n.mode===0&&c.target.value===""&&S(),i.openCombobox()}),J=g(c=>{var L,$,K;let z=(L=c.relatedTarget)!=null?L:Yt.find(W=>W!==c.currentTarget);if(!(($=n.optionsElement)!=null&&$.contains(z))&&!((K=n.buttonElement)!=null&&K.contains(z))&&n.comboboxState===0)return c.preventDefault(),n.mode===0&&n.value===null&&S(),i.closeCombobox()}),C=g(c=>{var L,$,K;let z=(L=c.relatedTarget)!=null?L:Yt.find(W=>W!==c.currentTarget);($=n.buttonElement)!=null&&$.contains(z)||(K=n.optionsElement)!=null&&K.contains(z)||n.disabled||n.immediate&&n.comboboxState!==0&&M.microTask(()=>{te.flushSync(()=>i.openCombobox()),i.setActivationTrigger(1)})}),B=Ne(),X=Vt(),{isFocused:Z,focusProps:ee}=Ee({autoFocus:h}),{isHovered:le,hoverProps:se}=Ce({isDisabled:b}),k=d.useMemo(()=>({open:n.comboboxState===0,disabled:b,hover:le,focus:Z,autofocus:h}),[n,le,Z,h,b]),G=ve({ref:R,id:v,role:"combobox",type:x,"aria-controls":(r=n.optionsElement)==null?void 0:r.id,"aria-expanded":n.comboboxState===0,"aria-activedescendant":n.activeOptionIndex===null?void 0:n.virtual?(o=n.options.find(c=>!c.dataRef.current.disabled&&n.compare(c.dataRef.current.value,n.virtual.options[n.activeOptionIndex])))==null?void 0:o.id:(a=n.options[n.activeOptionIndex])==null?void 0:a.id,"aria-labelledby":B,"aria-describedby":X,"aria-autocomplete":"list",defaultValue:(l=(f=e.defaultValue)!=null?f:n.defaultValue!==void 0?s==null?void 0:s(n.defaultValue):null)!=null?l:n.defaultValue,disabled:b||void 0,autoFocus:h,onCompositionStart:T,onCompositionEnd:F,onKeyDown:y,onChange:q,onFocus:C,onBlur:J},ee,se);return ae()({ourProps:G,theirProps:D,slot:k,defaultTag:or,name:"Combobox.Input"})}let nr="button";function ar(e,t){var r;let o=he("Combobox.Button"),a=Re("Combobox.Button"),f=ie(t,a.setButtonElement),l=d.useId(),{id:n=`headlessui-combobox-button-${l}`,disabled:i=o.disabled||!1,autoFocus:p=!1,...m}=e,v=_o(o.inputElement),I=g(_=>{switch(_.key){case w.Space:case w.Enter:_.preventDefault(),_.stopPropagation(),o.comboboxState===1&&te.flushSync(()=>a.openCombobox()),v();return;case w.ArrowDown:_.preventDefault(),_.stopPropagation(),o.comboboxState===1&&(te.flushSync(()=>a.openCombobox()),o.value||a.goToOption(V.First)),v();return;case w.ArrowUp:_.preventDefault(),_.stopPropagation(),o.comboboxState===1&&(te.flushSync(()=>a.openCombobox()),o.value||a.goToOption(V.Last)),v();return;case w.Escape:if(o.comboboxState!==0)return;_.preventDefault(),o.optionsElement&&!o.optionsPropsRef.current.static&&_.stopPropagation(),te.flushSync(()=>a.closeCombobox()),v();return;default:return}}),s=g(_=>{_.preventDefault(),!Be(_.currentTarget)&&(_.button===Lt.Left&&(o.comboboxState===0?a.closeCombobox():a.openCombobox()),v())}),b=Ne([n]),{isFocusVisible:h,focusProps:x}=Ee({autoFocus:p}),{isHovered:D,hoverProps:j}=Ce({isDisabled:i}),{pressed:R,pressProps:N}=Zt({disabled:i}),M=d.useMemo(()=>({open:o.comboboxState===0,active:R||o.comboboxState===0,disabled:i,value:o.value,hover:D,focus:h}),[o,D,h,R,i]),S=ve({ref:f,id:n,type:eo(e,o.buttonElement),tabIndex:-1,"aria-haspopup":"listbox","aria-controls":(r=o.optionsElement)==null?void 0:r.id,"aria-expanded":o.comboboxState===0,"aria-labelledby":b,disabled:i||void 0,autoFocus:p,onMouseDown:s,onKeyDown:I},x,j,N);return ae()({ourProps:S,theirProps:m,slot:M,defaultTag:nr,name:"Combobox.Button"})}let lr="div",ir=Pe.RenderStrategy|Pe.Static;function sr(e,t){var r,o,a;let f=d.useId(),{id:l=`headlessui-combobox-options-${f}`,hold:n=!1,anchor:i,portal:p=!1,modal:m=!0,transition:v=!1,...I}=e,s=he("Combobox.Options"),b=Re("Combobox.Options"),h=io(i);h&&(p=!0);let[x,D]=so(h),[j,R]=d.useState(null),N=uo(),M=ie(t,h?x:null,b.setOptionsElement,R),S=Ft(s.optionsElement),_=go(),[E,T]=xo(v,j,_!==null?(_&be.Open)===be.Open:s.comboboxState===0);mo(E,s.inputElement,b.closeCombobox);let F=s.__demoMode?!1:m&&s.comboboxState===0;bo(F,S);let y=s.__demoMode?!1:m&&s.comboboxState===0;co(y,{allowed:d.useCallback(()=>[s.inputElement,s.buttonElement,s.optionsElement],[s.inputElement,s.buttonElement,s.optionsElement])}),re(()=>{var G;s.optionsPropsRef.current.static=(G=e.static)!=null?G:!1},[s.optionsPropsRef,e.static]),re(()=>{s.optionsPropsRef.current.hold=n},[s.optionsPropsRef,n]),ko(s.comboboxState===0,{container:s.optionsElement,accept(G){return G.getAttribute("role")==="option"?NodeFilter.FILTER_REJECT:G.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(G){G.setAttribute("role","none")}});let q=Ne([(r=s.buttonElement)==null?void 0:r.id]),J=d.useMemo(()=>({open:s.comboboxState===0,option:void 0}),[s.comboboxState]),C=g(()=>{b.setActivationTrigger(0)}),B=g(G=>{G.preventDefault(),b.setActivationTrigger(0)}),X=ve(h?N():{},{"aria-labelledby":q,role:"listbox","aria-multiselectable":s.mode===1?!0:void 0,id:l,ref:M,style:{...I.style,...D,"--input-width":Xe(s.inputElement,!0).width,"--button-width":Xe(s.buttonElement,!0).width},onWheel:s.activationTrigger===0?void 0:C,onMouseDown:B,...yo(T)}),Z=E&&s.comboboxState===1,ee=je(Z,(o=s.virtual)==null?void 0:o.options),le=je(Z,s.value),se=g(G=>s.compare(le,G));if(s.virtual){if(ee===void 0)throw new Error("Missing `options` in virtual mode");Object.assign(I,{children:P.createElement(Oe.Provider,{value:ee!==s.virtual.options?{...s,virtual:{...s.virtual,options:ee}}:s},P.createElement(Yo,{slot:J},I.children))})}let k=ae();return P.createElement(fo,{enabled:p?e.static||E:!1},P.createElement(Oe.Provider,{value:s.mode===1?s:{...s,isSelected:se}},k({ourProps:X,theirProps:{...I,children:P.createElement(Ko,{freeze:Z},typeof I.children=="function"?(a=I.children)==null?void 0:a.call(I,J):I.children)},slot:J,defaultTag:lr,features:ir,visible:E,name:"Combobox.Options"})))}let ur="div";function dr(e,t){var r,o,a,f;let l=he("Combobox.Option"),n=Re("Combobox.Option"),i=d.useId(),{id:p=`headlessui-combobox-option-${i}`,value:m,disabled:v=(a=(o=(r=l.virtual)==null?void 0:r.disabled)==null?void 0:o.call(r,m))!=null?a:!1,order:I=null,...s}=e,b=_o(l.inputElement),h=l.virtual?l.activeOptionIndex===l.calculateIndex(m):l.activeOptionIndex===null?!1:((f=l.options[l.activeOptionIndex])==null?void 0:f.id)===p,x=l.isSelected(m),D=d.useRef(null),j=Le({disabled:v,value:m,domRef:D,order:I}),R=d.useContext(Oo),N=ie(t,D,R?R.measureElement:null),M=g(()=>{n.setIsTyping(!1),n.onChange(m)});re(()=>n.registerOption(p,j),[j,p]);let S=d.useRef(!(l.virtual||l.__demoMode));re(()=>{if(!l.virtual&&!l.__demoMode)return We().requestAnimationFrame(()=>{S.current=!0})},[l.virtual,l.__demoMode]),re(()=>{if(S.current&&l.comboboxState===0&&h&&l.activationTrigger!==0)return We().requestAnimationFrame(()=>{var B,X;(X=(B=D.current)==null?void 0:B.scrollIntoView)==null||X.call(B,{block:"nearest"})})},[D,h,l.comboboxState,l.activationTrigger,l.activeOptionIndex]);let _=g(B=>{B.preventDefault(),B.button===Lt.Left&&(v||(M(),Bo()||requestAnimationFrame(()=>b()),l.mode===0&&n.closeCombobox()))}),E=g(()=>{if(v)return n.goToOption(V.Nothing);let B=l.calculateIndex(m);n.goToOption(V.Specific,B)}),T=no(),F=g(B=>T.update(B)),y=g(B=>{if(!T.wasMoved(B)||v||h)return;let X=l.calculateIndex(m);n.goToOption(V.Specific,X,0)}),q=g(B=>{T.wasMoved(B)&&(v||h&&(l.optionsPropsRef.current.hold||n.goToOption(V.Nothing)))}),J=d.useMemo(()=>({active:h,focus:h,selected:x,disabled:v}),[h,x,v]),C={id:p,ref:N,role:"option",tabIndex:v===!0?void 0:-1,"aria-disabled":v===!0?!0:void 0,"aria-selected":x,disabled:void 0,onMouseDown:_,onFocus:E,onPointerEnter:F,onMouseEnter:F,onPointerMove:y,onMouseMove:y,onPointerLeave:q,onMouseLeave:q};return ae()({ourProps:C,theirProps:s,slot:J,defaultTag:ur,name:"Combobox.Option"})}let cr=ne(tr),Ae=ne(ar),qt=ne(rr),pr=Mt,Bt=ne(sr),Te=ne(dr),Io=Object.assign(cr,{Input:qt,Button:Ae,Label:pr,Options:Bt,Option:Te});var mr=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(mr||{}),br=(e=>(e[e.Single=0]="Single",e[e.Multi=1]="Multi",e))(br||{}),fr=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(fr||{}),vr=(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.SetButtonElement=7]="SetButtonElement",e[e.SetOptionsElement=8]="SetOptionsElement",e))(vr||{});function Qe(e,t=r=>r){let r=e.activeOptionIndex!==null?e.options[e.activeOptionIndex]:null,o=jt(t(e.options.slice()),f=>f.dataRef.current.domRef.current),a=r?o.indexOf(r):null;return a===-1&&(a=null),{options:o,activeOptionIndex:a}}let gr={1(e){return e.dataRef.current.disabled||e.listboxState===1?e:{...e,activeOptionIndex:null,listboxState:1,__demoMode:!1}},0(e){if(e.dataRef.current.disabled||e.listboxState===0)return e;let t=e.activeOptionIndex,{isSelected:r}=e.dataRef.current,o=e.options.findIndex(a=>r(a.dataRef.current.value));return o!==-1&&(t=o),{...e,listboxState:0,activeOptionIndex:t,__demoMode:!1}},2(e,t){var r,o,a,f,l;if(e.dataRef.current.disabled||e.listboxState===1)return e;let n={...e,searchQuery:"",activationTrigger:(r=t.trigger)!=null?r:1,__demoMode:!1};if(t.focus===V.Nothing)return{...n,activeOptionIndex:null};if(t.focus===V.Specific)return{...n,activeOptionIndex:e.options.findIndex(m=>m.id===t.id)};if(t.focus===V.Previous){let m=e.activeOptionIndex;if(m!==null){let v=e.options[m].dataRef.current.domRef,I=_e(t,{resolveItems:()=>e.options,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:s=>s.id,resolveDisabled:s=>s.dataRef.current.disabled});if(I!==null){let s=e.options[I].dataRef.current.domRef;if(((o=v.current)==null?void 0:o.previousElementSibling)===s.current||((a=s.current)==null?void 0:a.previousElementSibling)===null)return{...n,activeOptionIndex:I}}}}else if(t.focus===V.Next){let m=e.activeOptionIndex;if(m!==null){let v=e.options[m].dataRef.current.domRef,I=_e(t,{resolveItems:()=>e.options,resolveActiveIndex:()=>e.activeOptionIndex,resolveId:s=>s.id,resolveDisabled:s=>s.dataRef.current.disabled});if(I!==null){let s=e.options[I].dataRef.current.domRef;if(((f=v.current)==null?void 0:f.nextElementSibling)===s.current||((l=s.current)==null?void 0:l.nextElementSibling)===null)return{...n,activeOptionIndex:I}}}}let i=Qe(e),p=_e(t,{resolveItems:()=>i.options,resolveActiveIndex:()=>i.activeOptionIndex,resolveId:m=>m.id,resolveDisabled:m=>m.dataRef.current.disabled});return{...n,...i,activeOptionIndex:p}},3:(e,t)=>{if(e.dataRef.current.disabled||e.listboxState===1)return e;let r=e.searchQuery!==""?0:1,o=e.searchQuery+t.value.toLowerCase(),a=(e.activeOptionIndex!==null?e.options.slice(e.activeOptionIndex+r).concat(e.options.slice(0,e.activeOptionIndex+r)):e.options).find(l=>{var n;return!l.dataRef.current.disabled&&((n=l.dataRef.current.textValue)==null?void 0:n.startsWith(o))}),f=a?e.options.indexOf(a):-1;return f===-1||f===e.activeOptionIndex?{...e,searchQuery:o}:{...e,searchQuery:o,activeOptionIndex:f,activationTrigger:1}},4(e){return e.dataRef.current.disabled||e.listboxState===1||e.searchQuery===""?e:{...e,searchQuery:""}},5:(e,t)=>{let r={id:t.id,dataRef:t.dataRef},o=Qe(e,a=>[...a,r]);return e.activeOptionIndex===null&&e.dataRef.current.isSelected(t.dataRef.current.value)&&(o.activeOptionIndex=o.options.indexOf(r)),{...e,...o}},6:(e,t)=>{let r=Qe(e,o=>{let a=o.findIndex(f=>f.id===t.id);return a!==-1&&o.splice(a,1),o});return{...e,...r,activationTrigger:1}},7:(e,t)=>e.buttonElement===t.element?e:{...e,buttonElement:t.element},8:(e,t)=>e.optionsElement===t.element?e:{...e,optionsElement:t.element}},At=d.createContext(null);At.displayName="ListboxActionsContext";function Ge(e){let t=d.useContext(At);if(t===null){let r=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,Ge),r}return t}let Ue=d.createContext(null);Ue.displayName="ListboxDataContext";function $e(e){let t=d.useContext(Ue);if(t===null){let r=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,$e),r}return t}function xr(e,t){return oe(t.type,gr,e,t)}let yr=d.Fragment;function hr(e,t){var r;let o=De(),{value:a,defaultValue:f,form:l,name:n,onChange:i,by:p,invalid:m=!1,disabled:v=o||!1,horizontal:I=!1,multiple:s=!1,__demoMode:b=!1,...h}=e;const x=I?"horizontal":"vertical";let D=ie(t),j=Rt(f),[R=s?[]:void 0,N]=Tt(a,i,j),[M,S]=d.useReducer(xr,{dataRef:d.createRef(),listboxState:b?0:1,options:[],searchQuery:"",activeOptionIndex:null,activationTrigger:1,optionsVisible:!1,buttonElement:null,optionsElement:null,__demoMode:b}),_=d.useRef({static:!1,hold:!1}),E=d.useRef(new Map),T=kt(p),F=d.useCallback(A=>oe(y.mode,{1:()=>R.some(Q=>T(Q,A)),0:()=>T(R,A)}),[R]),y=d.useMemo(()=>({...M,value:R,disabled:v,invalid:m,mode:s?1:0,orientation:x,compare:T,isSelected:F,optionsPropsRef:_,listRef:E}),[R,v,m,s,M,E]);re(()=>{M.dataRef.current=y},[y]);let q=y.listboxState===0;po(q,[y.buttonElement,y.optionsElement],(A,Q)=>{var O;S({type:1}),Po(Q,jo.Loose)||(A.preventDefault(),(O=y.buttonElement)==null||O.focus())});let J=d.useMemo(()=>({open:y.listboxState===0,disabled:v,invalid:m,value:R}),[y,v,R,m]),C=g(A=>{let Q=y.options.find(O=>O.id===A);Q&&k(Q.dataRef.current.value)}),B=g(()=>{if(y.activeOptionIndex!==null){let{dataRef:A,id:Q}=y.options[y.activeOptionIndex];k(A.current.value),S({type:2,focus:V.Specific,id:Q})}}),X=g(()=>S({type:0})),Z=g(()=>S({type:1})),ee=wt(),le=g((A,Q,O)=>{ee.dispose(),ee.microTask(()=>A===V.Specific?S({type:2,focus:V.Specific,id:Q,trigger:O}):S({type:2,focus:A,trigger:O}))}),se=g((A,Q)=>(S({type:5,id:A,dataRef:Q}),()=>S({type:6,id:A}))),k=g(A=>oe(y.mode,{0(){return N==null?void 0:N(A)},1(){let Q=y.value.slice(),O=Q.findIndex(U=>T(U,A));return O===-1?Q.push(A):Q.splice(O,1),N==null?void 0:N(Q)}})),G=g(A=>S({type:3,value:A})),c=g(()=>S({type:4})),L=g(A=>{S({type:7,element:A})}),$=g(A=>{S({type:8,element:A})}),K=d.useMemo(()=>({onChange:k,registerOption:se,goToOption:le,closeListbox:Z,openListbox:X,selectActiveOption:B,selectOption:C,search:G,clearSearch:c,setButtonElement:L,setOptionsElement:$}),[]),[z,W]=qe({inherit:!0}),de={ref:D},He=d.useCallback(()=>{if(j!==void 0)return N==null?void 0:N(j)},[N,j]),Ke=ae();return P.createElement(W,{value:z,props:{htmlFor:(r=y.buttonElement)==null?void 0:r.id},slot:{open:y.listboxState===0,disabled:v}},P.createElement(ao,null,P.createElement(At.Provider,{value:K},P.createElement(Ue.Provider,{value:y},P.createElement(vo,{value:oe(y.listboxState,{0:be.Open,1:be.Closed})},n!=null&&R!=null&&P.createElement($t,{disabled:v,data:{[n]:R},form:l,onReset:He}),Ke({ourProps:de,theirProps:h,slot:J,defaultTag:yr,name:"Listbox"}))))))}let _r="button";function Or(e,t){var r;let o=$e("Listbox.Button"),a=Ge("Listbox.Button"),f=d.useId(),l=Pt(),{id:n=l||`headlessui-listbox-button-${f}`,disabled:i=o.disabled||!1,autoFocus:p=!1,...m}=e,v=ie(t,lo(),a.setButtonElement),I=qo(),s=g(y=>{switch(y.key){case w.Enter:to(y.currentTarget);break;case w.Space:case w.ArrowDown:y.preventDefault(),te.flushSync(()=>a.openListbox()),o.value||a.goToOption(V.First);break;case w.ArrowUp:y.preventDefault(),te.flushSync(()=>a.openListbox()),o.value||a.goToOption(V.Last);break}}),b=g(y=>{switch(y.key){case w.Space:y.preventDefault();break}}),h=g(y=>{var q;if(Be(y.currentTarget))return y.preventDefault();o.listboxState===0?(te.flushSync(()=>a.closeListbox()),(q=o.buttonElement)==null||q.focus({preventScroll:!0})):(y.preventDefault(),a.openListbox())}),x=g(y=>y.preventDefault()),D=Ne([n]),j=Vt(),{isFocusVisible:R,focusProps:N}=Ee({autoFocus:p}),{isHovered:M,hoverProps:S}=Ce({isDisabled:i}),{pressed:_,pressProps:E}=Zt({disabled:i}),T=d.useMemo(()=>({open:o.listboxState===0,active:_||o.listboxState===0,disabled:i,invalid:o.invalid,value:o.value,hover:M,focus:R,autofocus:p}),[o.listboxState,o.value,i,M,R,_,o.invalid,p]),F=ve(I(),{ref:v,id:n,type:eo(e,o.buttonElement),"aria-haspopup":"listbox","aria-controls":(r=o.optionsElement)==null?void 0:r.id,"aria-expanded":o.listboxState===0,"aria-labelledby":D,"aria-describedby":j,disabled:i||void 0,autoFocus:p,onKeyDown:s,onKeyUp:b,onKeyPress:x,onClick:h},N,S,E);return ae()({ourProps:F,theirProps:m,slot:T,defaultTag:_r,name:"Listbox.Button"})}let So=d.createContext(!1),Ir="div",Sr=Pe.RenderStrategy|Pe.Static;function Er(e,t){var r,o;let a=d.useId(),{id:f=`headlessui-listbox-options-${a}`,anchor:l,portal:n=!1,modal:i=!0,transition:p=!1,...m}=e,v=io(l),[I,s]=d.useState(null);v&&(n=!0);let b=$e("Listbox.Options"),h=Ge("Listbox.Options"),x=Ft(b.optionsElement),D=go(),[j,R]=xo(p,I,D!==null?(D&be.Open)===be.Open:b.listboxState===0);mo(j,b.buttonElement,h.closeListbox);let N=b.__demoMode?!1:i&&b.listboxState===0;bo(N,x);let M=b.__demoMode?!1:i&&b.listboxState===0;co(M,{allowed:d.useCallback(()=>[b.buttonElement,b.optionsElement],[b.buttonElement,b.optionsElement])});let S=b.listboxState!==0,_=Lo(S,b.buttonElement)?!1:j,E=j&&b.listboxState===1,T=je(E,b.value),F=g(c=>b.compare(T,c)),y=d.useMemo(()=>{var c;if(v==null||!((c=v==null?void 0:v.to)!=null&&c.includes("selection")))return null;let L=b.options.findIndex($=>F($.dataRef.current.value));return L===-1&&(L=0),L},[v,b.options]),q=(()=>{if(v==null)return;if(y===null)return{...v,inner:void 0};let c=Array.from(b.listRef.current.values());return{...v,inner:{listRef:{current:c},index:y}}})(),[J,C]=so(q),B=uo(),X=ie(t,v?J:null,h.setOptionsElement,s),Z=wt();d.useEffect(()=>{var c;let L=b.optionsElement;L&&b.listboxState===0&&L!==((c=ro(L))==null?void 0:c.activeElement)&&(L==null||L.focus({preventScroll:!0}))},[b.listboxState,b.optionsElement]);let ee=g(c=>{var L,$;switch(Z.dispose(),c.key){case w.Space:if(b.searchQuery!=="")return c.preventDefault(),c.stopPropagation(),h.search(c.key);case w.Enter:if(c.preventDefault(),c.stopPropagation(),b.activeOptionIndex!==null){let{dataRef:K}=b.options[b.activeOptionIndex];h.onChange(K.current.value)}b.mode===0&&(te.flushSync(()=>h.closeListbox()),(L=b.buttonElement)==null||L.focus({preventScroll:!0}));break;case oe(b.orientation,{vertical:w.ArrowDown,horizontal:w.ArrowRight}):return c.preventDefault(),c.stopPropagation(),h.goToOption(V.Next);case oe(b.orientation,{vertical:w.ArrowUp,horizontal:w.ArrowLeft}):return c.preventDefault(),c.stopPropagation(),h.goToOption(V.Previous);case w.Home:case w.PageUp:return c.preventDefault(),c.stopPropagation(),h.goToOption(V.First);case w.End:case w.PageDown:return c.preventDefault(),c.stopPropagation(),h.goToOption(V.Last);case w.Escape:c.preventDefault(),c.stopPropagation(),te.flushSync(()=>h.closeListbox()),($=b.buttonElement)==null||$.focus({preventScroll:!0});return;case w.Tab:c.preventDefault(),c.stopPropagation(),te.flushSync(()=>h.closeListbox()),Fo(b.buttonElement,c.shiftKey?ge.Previous:ge.Next);break;default:c.key.length===1&&(h.search(c.key),Z.setTimeout(()=>h.clearSearch(),350));break}}),le=(r=b.buttonElement)==null?void 0:r.id,se=d.useMemo(()=>({open:b.listboxState===0}),[b.listboxState]),k=ve(v?B():{},{id:f,ref:X,"aria-activedescendant":b.activeOptionIndex===null||(o=b.options[b.activeOptionIndex])==null?void 0:o.id,"aria-multiselectable":b.mode===1?!0:void 0,"aria-labelledby":le,"aria-orientation":b.orientation,onKeyDown:ee,role:"listbox",tabIndex:b.listboxState===0?0:void 0,style:{...m.style,...C,"--button-width":Xe(b.buttonElement,!0).width},...yo(R)}),G=ae();return P.createElement(fo,{enabled:n?e.static||j:!1},P.createElement(Ue.Provider,{value:b.mode===1?b:{...b,isSelected:F}},G({ourProps:k,theirProps:m,slot:se,defaultTag:Ir,features:Sr,visible:_,name:"Listbox.Options"})))}let Cr="div";function Nr(e,t){let r=d.useId(),{id:o=`headlessui-listbox-option-${r}`,disabled:a=!1,value:f,...l}=e,n=d.useContext(So)===!0,i=$e("Listbox.Option"),p=Ge("Listbox.Option"),m=i.activeOptionIndex!==null?i.options[i.activeOptionIndex].id===o:!1,v=i.isSelected(f),I=d.useRef(null),s=Do(I),b=Le({disabled:a,value:f,domRef:I,get textValue(){return s()}}),h=ie(t,I,T=>{T?i.listRef.current.set(o,T):i.listRef.current.delete(o)});re(()=>{if(!i.__demoMode&&i.listboxState===0&&m&&i.activationTrigger!==0)return We().requestAnimationFrame(()=>{var T,F;(F=(T=I.current)==null?void 0:T.scrollIntoView)==null||F.call(T,{block:"nearest"})})},[I,m,i.__demoMode,i.listboxState,i.activationTrigger,i.activeOptionIndex]),re(()=>{if(!n)return p.registerOption(o,b)},[b,o,n]);let x=g(T=>{var F;if(a)return T.preventDefault();p.onChange(f),i.mode===0&&(te.flushSync(()=>p.closeListbox()),(F=i.buttonElement)==null||F.focus({preventScroll:!0}))}),D=g(()=>{if(a)return p.goToOption(V.Nothing);p.goToOption(V.Specific,o)}),j=no(),R=g(T=>{j.update(T),!a&&(m||p.goToOption(V.Specific,o,0))}),N=g(T=>{j.wasMoved(T)&&(a||m||p.goToOption(V.Specific,o,0))}),M=g(T=>{j.wasMoved(T)&&(a||m&&p.goToOption(V.Nothing))}),S=d.useMemo(()=>({active:m,focus:m,selected:v,disabled:a,selectedOption:v&&n}),[m,v,a,n]),_=n?{}:{id:o,ref:h,role:"option",tabIndex:a===!0?void 0:-1,"aria-disabled":a===!0?!0:void 0,"aria-selected":v,disabled:void 0,onClick:x,onFocus:D,onPointerEnter:R,onMouseEnter:R,onPointerMove:N,onMouseMove:N,onPointerLeave:M,onMouseLeave:M},E=ae();return!v&&n?null:E({ourProps:_,theirProps:l,slot:S,defaultTag:Cr,name:"Listbox.Option"})}let Rr=d.Fragment;function Tr(e,t){let{options:r,placeholder:o,...a}=e,f={ref:ie(t)},l=$e("ListboxSelectedOption"),n=d.useMemo(()=>({}),[]),i=l.value===void 0||l.value===null||l.mode===1&&Array.isArray(l.value)&&l.value.length===0,p=ae();return P.createElement(So.Provider,{value:!0},p({ourProps:f,theirProps:{...a,children:P.createElement(P.Fragment,null,o&&i?o:r)},slot:n,defaultTag:Rr,name:"ListboxSelectedOption"}))}let $r=ne(hr),Eo=ne(Or),wr=Mt,Co=ne(Er),No=ne(Nr),Vr=ne(Tr),Mr=Object.assign($r,{Button:Eo,Label:wr,Options:Co,Option:No,SelectedOption:Vr});var Pr=(e=>(e[e.RegisterOption=0]="RegisterOption",e[e.UnregisterOption=1]="UnregisterOption",e))(Pr||{});let jr={0(e,t){let r=[...e.options,{id:t.id,element:t.element,propsRef:t.propsRef}];return{...e,options:jt(r,o=>o.element.current)}},1(e,t){let r=e.options.slice(),o=e.options.findIndex(a=>a.id===t.id);return o===-1?e:(r.splice(o,1),{...e,options:r})}},Gt=d.createContext(null);Gt.displayName="RadioGroupDataContext";function Ut(e){let t=d.useContext(Gt);if(t===null){let r=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,Ut),r}return t}let Ht=d.createContext(null);Ht.displayName="RadioGroupActionsContext";function Kt(e){let t=d.useContext(Ht);if(t===null){let r=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,Kt),r}return t}function Fr(e,t){return oe(t.type,jr,e,t)}let kr="div";function Lr(e,t){let r=d.useId(),o=De(),{id:a=`headlessui-radiogroup-${r}`,value:f,form:l,name:n,onChange:i,by:p,disabled:m=o||!1,defaultValue:v,...I}=e,s=kt(p),[b,h]=d.useReducer(Fr,{options:[]}),x=b.options,[D,j]=qe(),[R,N]=oo(),M=d.useRef(null),S=ie(M,t),_=Rt(v),[E,T]=Tt(f,i,_),F=d.useMemo(()=>x.find(k=>!k.propsRef.current.disabled),[x]),y=d.useMemo(()=>x.some(k=>s(k.propsRef.current.value,E)),[x,E]),q=g(k=>{var G;if(m||s(k,E))return!1;let c=(G=x.find(L=>s(L.propsRef.current.value,k)))==null?void 0:G.propsRef.current;return c!=null&&c.disabled?!1:(T==null||T(k),!0)}),J=g(k=>{let G=M.current;if(!G)return;let c=ro(G),L=x.filter($=>$.propsRef.current.disabled===!1).map($=>$.element.current);switch(k.key){case w.Enter:to(k.currentTarget);break;case w.ArrowLeft:case w.ArrowUp:if(k.preventDefault(),k.stopPropagation(),Jt(L,ge.Previous|ge.WrapAround)===Wt.Success){let $=x.find(K=>K.element.current===(c==null?void 0:c.activeElement));$&&q($.propsRef.current.value)}break;case w.ArrowRight:case w.ArrowDown:if(k.preventDefault(),k.stopPropagation(),Jt(L,ge.Next|ge.WrapAround)===Wt.Success){let $=x.find(K=>K.element.current===(c==null?void 0:c.activeElement));$&&q($.propsRef.current.value)}break;case w.Space:{k.preventDefault(),k.stopPropagation();let $=x.find(K=>K.element.current===(c==null?void 0:c.activeElement));$&&q($.propsRef.current.value)}break}}),C=g(k=>(h({type:0,...k}),()=>h({type:1,id:k.id}))),B=d.useMemo(()=>({value:E,firstOption:F,containsCheckedOption:y,disabled:m,compare:s,...b}),[E,F,y,m,s,b]),X=d.useMemo(()=>({registerOption:C,change:q}),[C,q]),Z={ref:S,id:a,role:"radiogroup","aria-labelledby":D,"aria-describedby":R,onKeyDown:J},ee=d.useMemo(()=>({value:E}),[E]),le=d.useCallback(()=>{if(_!==void 0)return q(_)},[q,_]),se=ae();return P.createElement(N,{name:"RadioGroup.Description"},P.createElement(j,{name:"RadioGroup.Label"},P.createElement(Ht.Provider,{value:X},P.createElement(Gt.Provider,{value:B},n!=null&&P.createElement($t,{disabled:m,data:{[n]:E||"on"},overrides:{type:"radio",checked:E!=null},form:l,onReset:le}),se({ourProps:Z,theirProps:I,slot:ee,defaultTag:kr,name:"RadioGroup"})))))}let Dr="div";function qr(e,t){var r;let o=Ut("RadioGroup.Option"),a=Kt("RadioGroup.Option"),f=d.useId(),{id:l=`headlessui-radiogroup-option-${f}`,value:n,disabled:i=o.disabled||!1,autoFocus:p=!1,...m}=e,v=d.useRef(null),I=ie(v,t),[s,b]=qe(),[h,x]=oo(),D=Le({value:n,disabled:i});re(()=>a.registerOption({id:l,element:v,propsRef:D}),[l,a,v,D]);let j=g(q=>{var J;if(Be(q.currentTarget))return q.preventDefault();a.change(n)&&((J=v.current)==null||J.focus())}),R=((r=o.firstOption)==null?void 0:r.id)===l,{isFocusVisible:N,focusProps:M}=Ee({autoFocus:p}),{isHovered:S,hoverProps:_}=Ce({isDisabled:i}),E=o.compare(o.value,n),T=ve({ref:I,id:l,role:"radio","aria-checked":E?"true":"false","aria-labelledby":s,"aria-describedby":h,"aria-disabled":i?!0:void 0,tabIndex:i?-1:E||!o.containsCheckedOption&&R?0:-1,onClick:i?void 0:j,autoFocus:p},M,_),F=d.useMemo(()=>({checked:E,disabled:i,active:N,hover:S,focus:N,autofocus:p}),[E,i,S,N,p]),y=ae();return P.createElement(x,{name:"RadioGroup.Description"},P.createElement(b,{name:"RadioGroup.Label"},y({ourProps:T,theirProps:m,slot:F,defaultTag:Dr,name:"RadioGroup.Option"})))}let Br="span";function Ar(e,t){var r;let o=Ut("Radio"),a=Kt("Radio"),f=d.useId(),l=Pt(),n=De(),{id:i=l||`headlessui-radio-${f}`,value:p,disabled:m=o.disabled||n||!1,autoFocus:v=!1,...I}=e,s=d.useRef(null),b=ie(s,t),h=Ne(),x=Vt(),D=Le({value:p,disabled:m});re(()=>a.registerOption({id:i,element:s,propsRef:D}),[i,a,s,D]);let j=g(y=>{var q;if(Be(y.currentTarget))return y.preventDefault();a.change(p)&&((q=s.current)==null||q.focus())}),{isFocusVisible:R,focusProps:N}=Ee({autoFocus:v}),{isHovered:M,hoverProps:S}=Ce({isDisabled:m}),_=((r=o.firstOption)==null?void 0:r.id)===i,E=o.compare(o.value,p),T=ve({ref:b,id:i,role:"radio","aria-checked":E?"true":"false","aria-labelledby":h,"aria-describedby":x,"aria-disabled":m?!0:void 0,tabIndex:m?-1:E||!o.containsCheckedOption&&_?0:-1,autoFocus:v,onClick:m?void 0:j},N,S),F=d.useMemo(()=>({checked:E,disabled:m,hover:M,focus:R,autofocus:v}),[E,m,M,R,v]);return ae()({ourProps:T,theirProps:I,slot:F,defaultTag:Br,name:"Radio"})}let Gr=ne(Lr),Ur=ne(qr),zt=ne(Ar),Hr=Mt,Kr=Mo,Ro=Object.assign(Gr,{Option:Ur,Radio:zt,Label:Hr,Description:Kr});const Ye=({id:e,children:t})=>u.jsx("p",{id:`${e}-description`,className:"paragraph-100 text-neutral-700",children:t});try{Ye.displayName="FormFieldDescription",Ye.__docgenInfo={description:"",displayName:"FormFieldDescription",props:{id:{defaultValue:null,description:"",name:"id",required:!0,type:{name:"string"}}}}}catch{}const Ze=({children:e})=>u.jsxs("div",{className:"mt-0.5 flex items-center gap-1",children:[u.jsx(To,{className:"h-3 w-3 fill-danger-500"}),u.jsx("p",{className:"paragraph-100 text-danger-500",children:e})]});try{Ze.displayName="FormFieldErrorMessage",Ze.__docgenInfo={description:"",displayName:"FormFieldErrorMessage",props:{}}}catch{}const et=({htmlFor:e,children:t,optional:r})=>u.jsxs("div",{className:"flex items-baseline gap-1 text-neutral-800",children:[u.jsx("label",{htmlFor:e,className:"headline-400",children:t}),r?u.jsx("div",{className:"paragraph-100",children:"(Optional)"}):null]});try{et.displayName="FormFieldLabel",et.__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 tt=({children:e})=>u.jsx("div",{className:"mb-2 flex flex-col gap-1",children:e});try{tt.displayName="FormFieldLabelGroup",tt.__docgenInfo={description:"",displayName:"FormFieldLabelGroup",props:{}}}catch{}const ot=({children:e,value:t,disabled:r})=>u.jsx(zt,{value:t,className:"max-w-fit cursor-pointer focus:outline-none",disabled:r,children:({checked:o,disabled:a})=>u.jsxs("div",{className:"flex items-center gap-3",children:[o?u.jsx("span",{className:H("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:u.jsx("span",{className:H("absolute inset-0 m-auto block h-2 w-2 rounded-full bg-neutral-0",a&&"bg-neutral-500")})}):u.jsx("span",{className:H("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")}),u.jsx("p",{className:H("paragraph-200",a&&"text-neutral-600"),children:e})]})});try{ot.displayName="RadioInputOption",ot.__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 Fe=({id:e,children:t,value:r,onChange:o})=>u.jsx(Ro,{id:e,value:r,onChange:o,children:t});Fe.Option=ot;try{Fe.displayName="RadioInput",Fe.__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 zr="target-field",Qr=H("[.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"),rt=({ariaDescribedBy:e,type:t="text",LeftIcon:r,readOnly:o,autoSelect:a,error:f,disabled:l,className:n,...i})=>{const p=d.useRef(null),m=()=>{a&&p.current&&p.current.select()};return u.jsxs("div",{className:H("relative w-full",Qr),children:[r?u.jsx("div",{className:"pointer-events-none absolute inset-y-0 left-0 z-10 flex items-center pl-3","aria-hidden":"true",children:u.jsx(r,{className:"text-gray-400 h-3.5 w-3.5 fill-neutral-600"})}):null,u.jsx("input",{ref:p,"aria-describedby":e,onMouseOver:m,onFocus:m,onClick:m,type:t,className:H(zr,"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",r&&"pl-9",o&&"bg-primary-50",l&&"cursor-not-allowed bg-neutral-100 text-neutral-600",!f&&!l&&"hover:border-neutral-600 focus:border-primary-400 focus:ring-2 focus:ring-primary-200",f&&!l&&"border-danger-500",n),readOnly:o,disabled:l,...i})]})};try{rt.displayName="TextInput",rt.__docgenInfo={description:"",displayName:"TextInput",props:{type:{defaultValue:{value:"text"},description:"",name:"type",required:!1,type:{name:"enum",value:[{value:'"text"'},{value:'"email"'},{value:'"date"'},{value:'"password"'}]}},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 nt=({id:e,value:t,onChange:r,placeholder:o,ariaDescribedBy:a,error:f,disabled:l,rows:n,cols:i,className:p})=>u.jsx("textarea",{id:e,name:e,value:t,onChange:r,placeholder:o,"aria-describedby":a,className:H("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",l&&"cursor-not-allowed bg-neutral-100 text-neutral-600",!f&&!l&&"hover:border-neutral-600 focus:border-primary-400 focus:ring-2 focus:ring-primary-200",f&&!l&&"border-danger-500",p),disabled:l,rows:n,cols:i});try{nt.displayName="Textarea",nt.__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 Jr={left:"text-left",center:"text-center",right:"text-right"},at=({id:e,placeholder:t,value:r,min:o,max:a,onChange:f,ariaDescribedBy:l,LeftIcon:n,textAlign:i="left",readOnly:p,error:m,disabled:v})=>u.jsxs("div",{className:"relative w-full",children:[n?u.jsx("div",{className:"pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3","aria-hidden":"true",children:u.jsx(n,{className:"text-gray-400 h-4 w-4 fill-neutral-600"})}):null,u.jsx("input",{id:e,name:e,value:r,readOnly:p,onChange:f,placeholder:t,"aria-describedby":l,type:"number",min:o,max:a,className:H("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",Jr[i],n&&"pl-9",p&&"bg-neutral-100",v&&"cursor-not-allowed bg-neutral-100 text-neutral-600",!m&&!v&&"hover:border-neutral-600 focus:border-primary-400 focus:ring-2 focus:ring-primary-200",m&&!v&&"border-danger-500"),disabled:v})]});try{at.displayName="NumberInput",at.__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 lt=({children:e})=>u.jsx(Co,{className:"absolute mt-1 max-h-60 w-full list-none overflow-auto rounded-md border border-neutral-300 bg-neutral-0 shadow-md outline-none ring-0",children:e});try{lt.displayName="ListboxOptions",lt.__docgenInfo={description:"",displayName:"ListboxOptions",props:{}}}catch{}const it=({children:e,badgeType:t="neutral"})=>u.jsx("div",{className:"flex items-center",children:u.jsx(ho,{type:t,children:e})});try{it.displayName="ListboxBadgeOption",it.__docgenInfo={description:"",displayName:"ListboxBadgeOption",props:{badgeType:{defaultValue:{value:"neutral"},description:"",name:"badgeType",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"neutral"'},{value:'"violet"'},{value:'"green"'},{value:'"yellow"'},{value:'"teal"'},{value:'"orange"'},{value:'"pink"'},{value:'"red"'},{value:'"purple"'}]}}}}}catch{}const st=({children:e,LeftIcon:t})=>u.jsxs("div",{className:"flex items-center gap-2",children:[t?u.jsx(t,{className:"h-3 w-3 fill-neutral-500 ui-selected:fill-primary-500"}):null,u.jsx("div",{className:"paragraph-100",children:e})]});try{st.displayName="ListboxTextOption",st.__docgenInfo={description:"",displayName:"ListboxTextOption",props:{LeftIcon:{defaultValue:null,description:"",name:"LeftIcon",required:!1,type:{name:"ElementType"}}}}}catch{}const Ve={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"},Ie=({value:e,disabled:t,children:r})=>u.jsx(No,{value:e,as:d.Fragment,disabled:t,children:({active:o,selected:a})=>u.jsx("li",{className:H(Ve.base,o&&Ve.active,a&&Ve.selected,t&&Ve.disabled),children:r})});Ie.BadgeOption=it;Ie.TextOption=st;try{Ie.displayName="ListboxOption",Ie.__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 ut=({placeholder:e,value:t,badgeType:r="neutral"})=>t?u.jsx(ho,{type:r,children:t}):u.jsx("div",{className:"paragraph-100 text-neutral-600",children:e});try{ut.displayName="ListboxButtonBadgeValue",ut.__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:'"neutral"'},{value:'"violet"'},{value:'"green"'},{value:'"yellow"'},{value:'"teal"'},{value:'"orange"'},{value:'"pink"'},{value:'"red"'},{value:'"purple"'}]}}}}}catch{}const dt=({placeholder:e,value:t})=>t?u.jsx("div",{className:"paragraph-100",children:t}):u.jsx("div",{className:"paragraph-100 text-neutral-600 group-hover:text-neutral-700",children:e});try{dt.displayName="ListboxButtonTextValue",dt.__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 Se=({children:e,disabled:t})=>u.jsxs(Eo,{disabled:t,className:H("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",t&&"cursor-not-allowed border-neutral-300 bg-neutral-100 text-neutral-600 hover:border-neutral-300"),children:[e,u.jsx("div",{className:"absolute inset-y-0 right-0 flex items-center px-1.5",children:u.jsx("div",{className:"flex h-5 w-5 items-center justify-center rounded rounded-r-md bg-neutral-100 focus:outline-none",children:u.jsx(ke,{className:"h-3 w-3 fill-neutral-600","aria-hidden":"true"})})})]});Se.BadgeValue=ut;Se.TextValue=dt;try{Se.displayName="ListboxButton",Se.__docgenInfo={description:"",displayName:"ListboxButton",props:{disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}}}}}catch{}const Wr=H("[.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"),xe=({children:e,value:t,onChange:r,className:o})=>u.jsx(Mr,{value:t,onChange:r,children:u.jsx("div",{className:H("relative w-full",Wr,o),children:e})});xe.Button=Se;xe.Options=lt;xe.Option=Ie;try{xe.displayName="Listbox",xe.__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 ct=({value:e,children:t})=>u.jsx(Te,{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{ct.displayName="MultiComboboxCustomOption",ct.__docgenInfo={description:"",displayName:"MultiComboboxCustomOption",props:{value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"TValue"}}}}}catch{}const pt=({children:e})=>u.jsx("div",{className:"px-3 py-2 ui-selected:bg-primary-100",children:e});try{pt.displayName="MultiComboboxEmptyOption",pt.__docgenInfo={description:"",displayName:"MultiComboboxEmptyOption",props:{}}}catch{}const mt=({id:e,displayValue:t,placeholder:r,onChange:o,showButton:a=!0,disabled:f=!1,...l})=>u.jsxs("div",{className:"relative",children:[u.jsx(qt,{id:e,name:e,placeholder:r,displayValue:()=>t,onChange:o,className:H("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",f&&"cursor-not-allowed border-neutral-300 bg-neutral-100 text-neutral-600 hover:border-neutral-300"),...l}),a&&!f?u.jsx(Ae,{className:"absolute inset-y-0 right-0 flex items-center px-1.5",children:u.jsx("div",{className:"flex h-5 w-5 items-center justify-center rounded rounded-r-md bg-neutral-100",children:u.jsx(ke,{name:"caret-down",className:"h-3 w-3 fill-neutral-600","aria-hidden":"true"})})}):null]});try{mt.displayName="MultiComboboxInput",mt.__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"}},defaultValue:{defaultValue:null,description:"",name:"defaultValue",required:!1,type:{name:"string"}},autoFocus:{defaultValue:null,description:"",name:"autoFocus",required:!1,type:{name:"boolean"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string | ((bag: InputRenderPropArg) => string)"}},disabled:{defaultValue:{value:"false"},description:"",name:"disabled",required:!1,type:{name:"boolean"}},as:{defaultValue:null,description:"",name:"as",required:!1,type:{name:"enum",value:[{value:'"input"'}]}},refName:{defaultValue:null,description:"",name:"refName",required:!1,type:{name:"string"}}}}}catch{}const bt=({value:e,children:t})=>u.jsxs(Te,{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,u.jsx("div",{className:"absolute inset-y-0 right-3 hidden items-center fill-primary-500 ui-selected:flex",children:u.jsx($o,{})})]});try{bt.displayName="MultiComboboxOption",bt.__docgenInfo={description:"",displayName:"MultiComboboxOption",props:{value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"TValue"}}}}}catch{}const ft=({children:e,className:t})=>u.jsx(Bt,{hold:!0,className:H("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{ft.displayName="MultiComboboxOptions",ft.__docgenInfo={description:"",displayName:"MultiComboboxOptions",props:{className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}}}}}catch{}const vt=({children:e})=>u.jsx("div",{className:"flex flex-wrap gap-2",children:e});try{vt.displayName="MultiComboboxResultsBadges",vt.__docgenInfo={description:"",displayName:"MultiComboboxResultsBadges",props:{}}}catch{}const gt=({children:e})=>u.jsx("div",{className:"paragraph-100 mt-2 text-neutral-900",children:e});try{gt.displayName="MultiComboboxResultsLabel",gt.__docgenInfo={description:"",displayName:"MultiComboboxResultsLabel",props:{}}}catch{}const xt=({children:e})=>u.jsx("div",{className:"flex flex-wrap gap-2",children:e});try{xt.displayName="MultiComboboxResultsTags",xt.__docgenInfo={description:"",displayName:"MultiComboboxResultsTags",props:{}}}catch{}const yt=({children:e})=>u.jsx("div",{className:"paragraph-100",children:e});try{yt.displayName="MultiComboboxResultsText",yt.__docgenInfo={description:"",displayName:"MultiComboboxResultsText",props:{}}}catch{}const fe=({children:e})=>u.jsx("div",{className:"flex flex-col gap-2",children:e});fe.Label=gt;fe.Text=yt;fe.Badges=vt;fe.Tags=xt;try{fe.displayName="MultiComboboxResults",fe.__docgenInfo={description:"",displayName:"MultiComboboxResults",props:{}}}catch{}const ce=({value:e,onChange:t,children:r})=>u.jsx(Io,{multiple:!0,value:e,onChange:t,children:u.jsx("div",{className:"relative",children:r})});ce.Input=mt;ce.Options=ft;ce.Option=bt;ce.CustomOption=ct;ce.EmptyOption=pt;ce.Results=fe;try{ce.displayName="MultiCombobox",ce.__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 ht=({value:e,children:t})=>u.jsx(Te,{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{ht.displayName="SingleComboboxCustomOption",ht.__docgenInfo={description:"",displayName:"SingleComboboxCustomOption",props:{value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"TValue"}}}}}catch{}const _t=({children:e})=>u.jsx("div",{className:"px-3 py-2 ui-selected:bg-primary-100",children:e});try{_t.displayName="SingleComboboxEmptyOption",_t.__docgenInfo={description:"",displayName:"SingleComboboxEmptyOption",props:{}}}catch{}const Ot=({id:e,displayValue:t,placeholder:r,onChange:o,showButton:a=!0})=>u.jsxs("div",{className:"relative",children:[u.jsx(qt,{id:e,name:e,placeholder:r,displayValue:t,onChange:o,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?u.jsx(Ae,{className:"absolute inset-y-0 right-0 flex items-center px-1.5",children:u.jsx("div",{className:"flex h-5 w-5 items-center justify-center rounded rounded-r-md bg-neutral-100",children:u.jsx(ke,{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 It=({children:e})=>u.jsx(Bt,{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{It.displayName="SingleComboboxOptions",It.__docgenInfo={description:"",displayName:"SingleComboboxOptions",props:{}}}catch{}const St=({onUnselect:e,children:t})=>u.jsx("div",{className:"relative",children:u.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:[u.jsx(Uo,{onClick:e,children:t}),u.jsx(Ae,{className:"absolute inset-y-0 right-0 flex items-center px-1.5",children:u.jsx("div",{className:"flex h-5 w-5 items-center justify-center rounded rounded-r-md bg-neutral-100",children:u.jsx(ke,{className:"h-3 w-3 fill-neutral-600","aria-hidden":"true"})})})]})});try{St.displayName="SingleComboboxResultInput",St.__docgenInfo={description:"",displayName:"SingleComboboxResultInput",props:{onUnselect:{defaultValue:null,description:"",name:"onUnselect",required:!0,type:{name:"() => void"}}}}}catch{}const Et=({value:e,children:t})=>u.jsx(Te,{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{Et.displayName="SingleComboboxOption",Et.__docgenInfo={description:"",displayName:"SingleComboboxOption",props:{value:{defaultValue:null,description:"",name:"value",required:!0,type:{name:"TValue"}}}}}catch{}const pe=({value:e,onChange:t,children:r,disabled:o})=>u.jsx(Io,{value:e,onChange:t,disabled:o,children:u.jsx("div",{className:"relative",children:r})});pe.Input=Ot;pe.ResultInput=St;pe.Options=It;pe.Option=Et;pe.EmptyOption=_t;pe.CustomOption=ht;try{pe.displayName="SingleCombobox",pe.__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 Ct=({children:e})=>u.jsx("div",{className:"form-field-group group flex w-full flex-row",children:e});try{Ct.displayName="FormFieldGroup",Ct.__docgenInfo={description:"",displayName:"FormFieldGroup",props:{}}}catch{}const Nt=({ariaDescribedBy:e,readOnly:t,autoSelect:r,onClear:o,error:a,value:f,disabled:l,className:n,...i})=>{const p=d.useRef(null),m=!t&&!l&&f!==void 0&&f!=="",v=d.useCallback(()=>{r&&p.current&&p.current.select()},[r]),I=d.useCallback(s=>{(s.key==="Enter"||s.key===" ")&&(s.preventDefault(),s.stopPropagation(),o())},[o]);return u.jsxs("div",{className:H("relative w-full"),children:[u.jsx("div",{className:"pointer-events-none absolute inset-y-0 left-0 z-10 flex items-center pl-3","aria-hidden":"true",children:u.jsx(wo,{className:"text-gray-400 h-3.5 w-3.5 fill-neutral-600"})}),u.jsx("input",{ref:p,"aria-describedby":e,onMouseOver:v,onFocus:v,onClick:v,type:"search",className:H("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",l&&"cursor-not-allowed bg-neutral-100 text-neutral-600",!a&&!l&&"hover:border-neutral-600 focus:border-primary-400 focus:ring-2 focus:ring-primary-200",a&&!l&&"border-danger-500",n),readOnly:t,disabled:l,value:f,...i}),m?u.jsx("div",{className:"absolute inset-y-0 right-0 z-10 flex items-center justify-center pr-2",children:u.jsx("button",{type:"button","aria-label":"Clear search input",tabIndex:0,onClick:o,onKeyDown:I,className:"rounded bg-neutral-100 p-0.5 hover:bg-neutral-200",children:u.jsx(Vo,{className:"h-3 w-3 fill-neutral-600"})})}):null]})};try{Nt.displayName="SearchInput",Nt.__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 Je={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 data-[focus]:outline-2 data-[focus]:outline-primary-200",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"},Me={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"},Xr=({children:e})=>u.jsx("h2",{className:"headline-500 text-neutral-900 group-[.is-checked]:text-neutral-0 group-[.is-disabled]:text-neutral-500",children:e}),Yr=({children:e})=>u.jsx("p",{className:"paragraph-200 text-neutral-800 group-[.is-checked]:text-neutral-0 group-[.is-disabled]:text-neutral-500",children:e}),me=({children:e,value:t,disabled:r,className:o})=>u.jsx(zt,{value:t,disabled:r,as:d.Fragment,children:({checked:a,disabled:f})=>u.jsxs("div",{className:H(Je.base,a&&H("is-checked",Je.checked),f&&H("is-disabled",Je.disabled)),children:[u.jsx("div",{className:H(Me.base,!a&&Me.unchecked,a&&Me.checked,f&&Me.disabled),children:a&&u.jsx("div",{className:H("absolute inset-0 m-auto block h-2 w-2 rounded-full bg-primary-600",f&&"bg-neutral-500")})}),u.jsx("div",{className:H("flex flex-col",o),children:e})]})});me.Title=Xr;me.Description=Yr;try{me.displayName="RadioBoxOption",me.__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{me.Title.displayName="RadioBoxOption.Title",me.Title.__docgenInfo={description:"",displayName:"RadioBoxOption.Title",props:{}}}catch{}try{me.Description.displayName="RadioBoxOption.Description",me.Description.__docgenInfo={description:"",displayName:"RadioBoxOption.Description",props:{}}}catch{}const ye=({id:e,value:t,children:r,onChange:o,className:a})=>u.jsx(Ro,{id:e,value:t,onChange:o,className:a,children:r});ye.Option=me;try{ye.displayName="RadioBox",ye.__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{ye.Option.displayName="RadioBox.Option",ye.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 Y=({children:e})=>u.jsx("div",{className:"w-full",children:e});Y.LabelGroup=tt;Y.Label=et;Y.Description=Ye;Y.ErrorMessage=Ze;Y.TextInput=rt;Y.Textarea=nt;Y.RadioInput=Fe;Y.NumberInput=at;Y.Listbox=xe;Y.MultiCombobox=ce;Y.SingleCombobox=pe;Y.Group=Ct;Y.SearchInput=Nt;Y.RadioBox=ye;try{Y.displayName="FormField",Y.__docgenInfo={description:"",displayName:"FormField",props:{}}}catch{}export{Y as F,ye as R,pe as S,Ct as a}; diff --git a/assets/form-field-group.stories-B58kwjk-.js b/assets/form-field-group.stories-D6_h9T9i.js similarity index 92% rename from assets/form-field-group.stories-B58kwjk-.js rename to assets/form-field-group.stories-D6_h9T9i.js index a5d722d6..e5bc65e7 100644 --- a/assets/form-field-group.stories-B58kwjk-.js +++ b/assets/form-field-group.stories-D6_h9T9i.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-C798UXYj.js";import{a as j,F as r}from"./form-field-BcItkMU2.js";import"./index-0d5eMwbi.js";import"./zoom-to-fit-icon-DdsCB6de.js";import"./class-names-DnY5YZNL.js";import"./use-resolve-button-type-D_6M6Au0.js";import"./keyboard-C2Ifhsxt.js";import"./use-sync-refs-DqQDZvJ6.js";import"./form-fields-BO6Mx8Dn.js";import"./index-p-ac5bmP.js";import"./hidden-BrNieFV6.js";import"./description-D9Ee5mtv.js";import"./label-BBnH-iCi.js";import"./bugs-DpEN4NTH.js";import"./focus-management-DaVlPEX1.js";import"./use-text-value-ehRDfXkw.js";import"./floating-B_VM8zae.js";import"./use-inert-others-pmawKl3V.js";import"./portal-wGpXArpj.js";import"./use-server-handoff-complete-JgOu4JLg.js";import"./open-closed-DC3t9YEZ.js";import"./badge-Da1HxQE-.js";import"./index-DzUTkZLd.js";import"./use-event-listener-CochUv0b.js";import"./active-element-history-DI7yoVCB.js";import"./tag-C9CGXtt3.js";const q={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:`{ +import{j as e}from"./jsx-runtime-C798UXYj.js";import{a as j,F as r}from"./form-field-BtJxu7hP.js";import"./index-0d5eMwbi.js";import"./zoom-to-fit-icon-DdsCB6de.js";import"./class-names-DnY5YZNL.js";import"./use-resolve-button-type-D_6M6Au0.js";import"./keyboard-C2Ifhsxt.js";import"./use-sync-refs-DqQDZvJ6.js";import"./form-fields-B2NmhAAW.js";import"./index-BoyHNU0R.js";import"./hidden-BrNieFV6.js";import"./description-D9Ee5mtv.js";import"./label-BBnH-iCi.js";import"./bugs-DpEN4NTH.js";import"./focus-management-DaVlPEX1.js";import"./use-text-value-ehRDfXkw.js";import"./floating-ERp4LevH.js";import"./use-inert-others-CzqV763I.js";import"./portal-CLj4HHuk.js";import"./use-server-handoff-complete-JgOu4JLg.js";import"./open-closed-DC3t9YEZ.js";import"./badge-Da1HxQE-.js";import"./index-h1jAayoZ.js";import"./use-event-listener-CochUv0b.js";import"./active-element-history-DI7yoVCB.js";import"./tag-C9CGXtt3.js";const q={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: () =>
diff --git a/assets/form-fields-BO6Mx8Dn.js b/assets/form-fields-B2NmhAAW.js similarity index 97% rename from assets/form-fields-BO6Mx8Dn.js rename to assets/form-fields-B2NmhAAW.js index 01501009..a4b73ba8 100644 --- a/assets/form-fields-BO6Mx8Dn.js +++ b/assets/form-fields-B2NmhAAW.js @@ -1 +1 @@ -import{r as l,R as a}from"./index-0d5eMwbi.js";import{o as E,p as v,m as b}from"./use-sync-refs-DqQDZvJ6.js";import{r as S}from"./index-p-ac5bmP.js";import{f as d,s as m}from"./hidden-BrNieFV6.js";function A(t,e,n){let[r,o]=l.useState(n),u=t!==void 0,f=l.useRef(u),i=l.useRef(!1),c=l.useRef(!1);return u&&!f.current&&!i.current?(i.current=!0,f.current=u,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.")):!u&&f.current&&!c.current&&(c.current=!0,f.current=u,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.")),[u?t:r,E(s=>(u||o(s),e==null?void 0:e(s)))]}function F(t){let[e]=l.useState(t);return e}function p(t={},e=null,n=[]){for(let[r,o]of Object.entries(t))g(n,h(e,r),o);return n}function h(t,e){return t?t+"["+e+"]":e}function g(t,e,n){if(Array.isArray(n))for(let[r,o]of n.entries())g(t,h(e,r.toString()),o);else n instanceof Date?t.push([e,n.toISOString()]):typeof n=="boolean"?t.push([e,n?"1":"0"]):typeof n=="string"?t.push([e,n]):typeof n=="number"?t.push([e,`${n}`]):n==null?t.push([e,""]):p(n,e,t)}function P(t){var e,n;let r=(e=t==null?void 0:t.form)!=null?e:t.closest("form");if(r){for(let o of r.elements)if(o!==t&&(o.tagName==="INPUT"&&o.type==="submit"||o.tagName==="BUTTON"&&o.type==="submit"||o.nodeName==="INPUT"&&o.type==="image")){o.click();return}(n=r.requestSubmit)==null||n.call(r)}}let y=l.createContext(null);function C(t){let[e,n]=l.useState(null);return a.createElement(y.Provider,{value:{target:e}},t.children,a.createElement(d,{features:m.Hidden,ref:n}))}function T({children:t}){let e=l.useContext(y);if(!e)return a.createElement(a.Fragment,null,t);let{target:n}=e;return n?S.createPortal(a.createElement(a.Fragment,null,t),n):null}function H({data:t,form:e,disabled:n,onReset:r,overrides:o}){let[u,f]=l.useState(null),i=v();return l.useEffect(()=>{if(r&&u)return i.addEventListener(u,"reset",r)},[u,e,r]),a.createElement(T,null,a.createElement(I,{setForm:f,formId:e}),p(t).map(([c,s])=>a.createElement(d,{features:m.Hidden,...b({key:c,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:e,disabled:n,name:c,value:s,...o})})))}function I({setForm:t,formId:e}){return l.useEffect(()=>{if(e){let n=document.getElementById(e);n&&t(n)}},[t,e]),e?null:a.createElement(d,{features:m.Hidden,as:"input",type:"hidden",hidden:!0,readOnly:!0,ref:n=>{if(!n)return;let r=n.closest("form");r&&t(r)}})}export{A as T,C as W,H as j,F as l,P as p}; +import{r as l,R as a}from"./index-0d5eMwbi.js";import{o as E,p as v,m as b}from"./use-sync-refs-DqQDZvJ6.js";import{r as S}from"./index-BoyHNU0R.js";import{f as d,s as m}from"./hidden-BrNieFV6.js";function A(t,e,n){let[r,o]=l.useState(n),u=t!==void 0,f=l.useRef(u),i=l.useRef(!1),c=l.useRef(!1);return u&&!f.current&&!i.current?(i.current=!0,f.current=u,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.")):!u&&f.current&&!c.current&&(c.current=!0,f.current=u,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.")),[u?t:r,E(s=>(u||o(s),e==null?void 0:e(s)))]}function F(t){let[e]=l.useState(t);return e}function p(t={},e=null,n=[]){for(let[r,o]of Object.entries(t))g(n,h(e,r),o);return n}function h(t,e){return t?t+"["+e+"]":e}function g(t,e,n){if(Array.isArray(n))for(let[r,o]of n.entries())g(t,h(e,r.toString()),o);else n instanceof Date?t.push([e,n.toISOString()]):typeof n=="boolean"?t.push([e,n?"1":"0"]):typeof n=="string"?t.push([e,n]):typeof n=="number"?t.push([e,`${n}`]):n==null?t.push([e,""]):p(n,e,t)}function P(t){var e,n;let r=(e=t==null?void 0:t.form)!=null?e:t.closest("form");if(r){for(let o of r.elements)if(o!==t&&(o.tagName==="INPUT"&&o.type==="submit"||o.tagName==="BUTTON"&&o.type==="submit"||o.nodeName==="INPUT"&&o.type==="image")){o.click();return}(n=r.requestSubmit)==null||n.call(r)}}let y=l.createContext(null);function C(t){let[e,n]=l.useState(null);return a.createElement(y.Provider,{value:{target:e}},t.children,a.createElement(d,{features:m.Hidden,ref:n}))}function T({children:t}){let e=l.useContext(y);if(!e)return a.createElement(a.Fragment,null,t);let{target:n}=e;return n?S.createPortal(a.createElement(a.Fragment,null,t),n):null}function H({data:t,form:e,disabled:n,onReset:r,overrides:o}){let[u,f]=l.useState(null),i=v();return l.useEffect(()=>{if(r&&u)return i.addEventListener(u,"reset",r)},[u,e,r]),a.createElement(T,null,a.createElement(I,{setForm:f,formId:e}),p(t).map(([c,s])=>a.createElement(d,{features:m.Hidden,...b({key:c,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:e,disabled:n,name:c,value:s,...o})})))}function I({setForm:t,formId:e}){return l.useEffect(()=>{if(e){let n=document.getElementById(e);n&&t(n)}},[t,e]),e?null:a.createElement(d,{features:m.Hidden,as:"input",type:"hidden",hidden:!0,readOnly:!0,ref:n=>{if(!n)return;let r=n.closest("form");r&&t(r)}})}export{A as T,C as W,H as j,F as l,P as p}; diff --git a/assets/icon-button-DlbMwnUp.js b/assets/icon-button-DlSTEzH7.js similarity index 96% rename from assets/icon-button-DlbMwnUp.js rename to assets/icon-button-DlSTEzH7.js index 89136590..205e990f 100644 --- a/assets/icon-button-DlbMwnUp.js +++ b/assets/icon-button-DlSTEzH7.js @@ -1 +1 @@ -import{j as r}from"./jsx-runtime-C798UXYj.js";import{c as l}from"./class-names-DnY5YZNL.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"},a=({Icon:e,variant:t="primary",className:n,...i})=>r.jsx("button",{type:"button",className:l("inline-flex h-8 w-8 flex-shrink-0 items-center justify-center rounded focus:outline-none",d[t],n),...i,children:r.jsx(e,{className:"h-3 w-3"})});try{a.displayName="IconButton",a.__docgenInfo={description:"",displayName:"IconButton",props:{Icon:{defaultValue:null,description:"",name:"Icon",required:!0,type:{name:"ElementType"}},variant:{defaultValue:{value:"primary"},description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"danger"'},{value:'"secondary"'},{value:'"minimal"'},{value:'"danger-secondary"'}]}}}}}catch{}export{a as I}; +import{j as r}from"./jsx-runtime-C798UXYj.js";import{c as l}from"./class-names-DnY5YZNL.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"},a=({Icon:e,variant:t="primary",className:n,...i})=>r.jsx("button",{type:"button",className:l("inline-flex h-8 w-8 flex-shrink-0 items-center justify-center rounded focus:outline-none",d[t],n),...i,children:r.jsx(e,{className:"h-3 w-3"})});try{a.displayName="IconButton",a.__docgenInfo={description:"",displayName:"IconButton",props:{Icon:{defaultValue:null,description:"",name:"Icon",required:!0,type:{name:"ElementType"}},variant:{defaultValue:{value:"primary"},description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"danger"'},{value:'"primary"'},{value:'"secondary"'},{value:'"minimal"'},{value:'"danger-secondary"'}]}}}}}catch{}export{a as I}; diff --git a/assets/icon-button.stories-BDfI0EZw.js b/assets/icon-button.stories-CERmelnz.js similarity index 90% rename from assets/icon-button.stories-BDfI0EZw.js rename to assets/icon-button.stories-CERmelnz.js index 9ebc013d..9e029bda 100644 --- a/assets/icon-button.stories-BDfI0EZw.js +++ b/assets/icon-button.stories-CERmelnz.js @@ -1 +1 @@ -import{I as e}from"./icon-button-DlbMwnUp.js";import{i as s}from"./zoom-to-fit-icon-DdsCB6de.js";import"./jsx-runtime-C798UXYj.js";import"./index-0d5eMwbi.js";import"./class-names-DnY5YZNL.js";const n=["primary","secondary","minimal","danger","danger-secondary"],l={title:"IconButton",component:e,args:{variant:"primary",disabled:!1,Icon:s},argTypes:{variant:{options:n}}},r={};var a,o,t;r.parameters={...r.parameters,docs:{...(a=r.parameters)==null?void 0:a.docs,source:{originalSource:"{}",...(t=(o=r.parameters)==null?void 0:o.docs)==null?void 0:t.source}}};const u=["Default"];export{r as Default,u as __namedExportsOrder,l as default}; +import{I as e}from"./icon-button-DlSTEzH7.js";import{i as s}from"./zoom-to-fit-icon-DdsCB6de.js";import"./jsx-runtime-C798UXYj.js";import"./index-0d5eMwbi.js";import"./class-names-DnY5YZNL.js";const n=["primary","secondary","minimal","danger","danger-secondary"],l={title:"IconButton",component:e,args:{variant:"primary",disabled:!1,Icon:s},argTypes:{variant:{options:n}}},r={};var a,o,t;r.parameters={...r.parameters,docs:{...(a=r.parameters)==null?void 0:a.docs,source:{originalSource:"{}",...(t=(o=r.parameters)==null?void 0:o.docs)==null?void 0:t.source}}};const u=["Default"];export{r as Default,u as __namedExportsOrder,l as default}; diff --git a/assets/icons-C0QV3r7r.js b/assets/icons-Dp8Wmtux.js similarity index 98% rename from assets/icons-C0QV3r7r.js rename to assets/icons-Dp8Wmtux.js index 24784660..af1627c3 100644 --- a/assets/icons-C0QV3r7r.js +++ b/assets/icons-Dp8Wmtux.js @@ -1,4 +1,4 @@ -import{j as o}from"./jsx-runtime-C798UXYj.js";import{useMDXComponents as I}from"./index-CFK-oMtb.js";import{ae as g,aj as r,ak as t}from"./index-Doj-RJny.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-DdsCB6de.js";import"./index-0d5eMwbi.js";import"./iframe-B2fFkFgE.js";import"../sb-preview/runtime.js";import"./index-p-ac5bmP.js";import"./index-D-8MO0q_.js";import"./index-D97zpEXb.js";import"./index-DrFu-skq.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"}),` +import{j as o}from"./jsx-runtime-C798UXYj.js";import{useMDXComponents as I}from"./index-CFK-oMtb.js";import{ae as g,aj as r,ak as t}from"./index-D4CCEPie.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-DdsCB6de.js";import"./index-0d5eMwbi.js";import"./iframe-B1Sidt8M.js";import"../sb-preview/runtime.js";import"./index-BoyHNU0R.js";import"./index-D-8MO0q_.js";import"./index-CxJhtZoZ.js";import"./index-DrFu-skq.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/iframe-B2fFkFgE.js b/assets/iframe-B1Sidt8M.js similarity index 61% rename from assets/iframe-B2fFkFgE.js rename to assets/iframe-B1Sidt8M.js index 929d4600..da3c9977 100644 --- a/assets/iframe-B2fFkFgE.js +++ b/assets/iframe-B1Sidt8M.js @@ -1,2 +1,2 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./alert.stories-4-JUwPHE.js","./jsx-runtime-C798UXYj.js","./index-0d5eMwbi.js","./alert-sTfywL0-.js","./class-names-DnY5YZNL.js","./zoom-to-fit-icon-DdsCB6de.js","./storybook-utils-C5xEhci0.js","./avatar.stories-fIH0Z5HF.js","./avatar-D9Pz4PuL.js","./badge.stories-gP-6Aq3K.js","./badge-Da1HxQE-.js","./breadcrumb-navigation.stories-C-43rqs3.js","./slot-CyLCZbOE.js","./button-group.stories-COJQKQ4l.js","./button.stories-DvBZ8vPQ.js","./button-DDiEAzmq.js","./spinner-CrXB3JgE.js","./checkbox.stories-BpAp46hW.js","./dialog.stories-BBu6B51J.js","./description-D9Ee5mtv.js","./use-sync-refs-DqQDZvJ6.js","./dialog-D4_ekaxy.js","./keyboard-C2Ifhsxt.js","./use-event-listener-CochUv0b.js","./portal-wGpXArpj.js","./focus-management-DaVlPEX1.js","./index-p-ac5bmP.js","./use-server-handoff-complete-JgOu4JLg.js","./use-inert-others-pmawKl3V.js","./use-tab-direction-Bd6_euF6.js","./hidden-BrNieFV6.js","./close-provider-CZp7Lqob.js","./open-closed-DC3t9YEZ.js","./use-is-mounted-DT-lZL-u.js","./active-element-history-DI7yoVCB.js","./transition-CZnz1fcq.js","./icon-button-DlbMwnUp.js","./form-field-BcItkMU2.js","./use-resolve-button-type-D_6M6Au0.js","./form-fields-BO6Mx8Dn.js","./label-BBnH-iCi.js","./bugs-DpEN4NTH.js","./use-text-value-ehRDfXkw.js","./floating-B_VM8zae.js","./index-DzUTkZLd.js","./tag-C9CGXtt3.js","./toggle-DnnlDb78.js","./disclosure.stories-DwfzQRRi.js","./disclosure-CNBAsrob.js","./divider-line.stories-lM2hRNkL.js","./divider-line-CzbklozI.js","./featured-tag.stories-Dq8MPlrq.js","./featured-tag-DLvaNKCm.js","./panel-BTNit_je.js","./form-field-group.stories-B58kwjk-.js","./listbox.stories-C0h86DQ2.js","./multi-combobox.stories-B4nv8weL.js","./radio-box.stories-AnoNeBgY.js","./radio-input.stories-Bul_kF6b.js","./search-input.stories-DL9AWUxt.js","./single-combobox.stories-BulbG7cw.js","./text-input.stories-C6GSkZTf.js","./textarea.stories-930OJDBX.js","./icon-button.stories-BDfI0EZw.js","./inline-alert.stories-wD9HlsAA.js","./last-changed-info.stories-C86MXOjM.js","./link.stories-B4hQfoUk.js","./menu-info-item.stories-CGoXCqdp.js","./menu-info-item-CC1TeP-c.js","./menu-item.stories-CBCQ6POX.js","./menu-CdQONHKi.js","./menu-separator-yO-BIXMb.js","./menu-title-DpAy2147.js","./menu-separator.stories-D7MgxHW9.js","./menu-title.stories-BpGHFQrG.js","./menu.stories-CwsrV7Kh.js","./navigation.stories-CTPvIKaC.js","./usePopper-Awp2qsiQ.js","./popover-B_a53NLU.js","./page.stories-BfCGd43p.js","./panel.stories-BpfGYF4U.js","./popover-menu.stories-CCMQ0HCv.js","./section.stories-C41hruNK.js","./sidebar-container.stories-CD7erG3P.js","./sidebar.stories-CTIXw2h_.js","./sidesheet.stories-ijXCJ28z.js","./skeleton.stories-DkC3bvFE.js","./spinner-overlay.stories-Ceh5rt6d.js","./spinner.stories-VlGwChGj.js","./tab.stories-CVEumuZ5.js","./table-unvirtualized.stories-DsakIV0H.js","./table-unvirtualized-B6-rFf74.js","./table-virtualized.stories-lnsE1LyG.js","./tag.stories-D4S3pQPY.js","./toast.stories-B8TZoGl5.js","./toggle.stories-Cr-rGyBr.js","./tooltip.stories-Ms0hSbqX.js","./top-bar.stories-wMpXUtom.js","./icons-C0QV3r7r.js","./index-CFK-oMtb.js","./index-Doj-RJny.js","./index-D-8MO0q_.js","./index-D97zpEXb.js","./index-DrFu-skq.js","./index-BqpXghJy.js","./global-styles.stories-MeCc39-H.js","./entry-preview-BBa-_Xwa.js","./react-18-iKiK41o0.js","./entry-preview-docs-DN11TZ2V.js","./preview-BJPLiuSt.js","./preview-9hFJSo5S.js","./preview-DB9FwMii.js","./preview-CL0FZwLC.js","./preview-kJxS59jD.css"])))=>i.map(i=>d[i]); -import"../sb-preview/runtime.js";(function(){const _=document.createElement("link").relList;if(_&&_.supports&&_.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))a(o);new MutationObserver(o=>{for(const e of o)if(e.type==="childList")for(const i of e.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&a(i)}).observe(document,{childList:!0,subtree:!0});function c(o){const e={};return o.integrity&&(e.integrity=o.integrity),o.referrerPolicy&&(e.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?e.credentials="include":o.crossOrigin==="anonymous"?e.credentials="omit":e.credentials="same-origin",e}function a(o){if(o.ep)return;o.ep=!0;const e=c(o);fetch(o.href,e)}})();const v="modulepreload",T=function(r,_){return new URL(r,_).href},O={},t=function(_,c,a){let o=Promise.resolve();if(c&&c.length>0){const i=document.getElementsByTagName("link"),s=document.querySelector("meta[property=csp-nonce]"),d=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));o=Promise.allSettled(c.map(n=>{if(n=T(n,a),n in O)return;O[n]=!0;const p=n.endsWith(".css"),R=p?'[rel="stylesheet"]':"";if(!!a)for(let u=i.length-1;u>=0;u--){const l=i[u];if(l.href===n&&(!p||l.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${n}"]${R}`))return;const m=document.createElement("link");if(m.rel=p?"stylesheet":v,p||(m.as="script"),m.crossOrigin="",m.href=n,d&&m.setAttribute("nonce",d),document.head.appendChild(m),p)return new Promise((u,l)=>{m.addEventListener("load",u),m.addEventListener("error",()=>l(new Error(`Unable to preload CSS for ${n}`)))})}))}function e(i){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=i,window.dispatchEvent(s),!s.defaultPrevented)throw i}return o.then(i=>{for(const s of i||[])s.status==="rejected"&&e(s.reason);return _().catch(e)})},{createBrowserChannel:L}=__STORYBOOK_MODULE_CHANNELS__,{addons:f}=__STORYBOOK_MODULE_PREVIEW_API__,E=L({page:"preview"});f.setChannel(E);window.__STORYBOOK_ADDONS_CHANNEL__=E;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=E);const y={"./src/components/alert/alert.stories.tsx":async()=>t(()=>import("./alert.stories-4-JUwPHE.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url),"./src/components/avatar/avatar.stories.tsx":async()=>t(()=>import("./avatar.stories-fIH0Z5HF.js"),__vite__mapDeps([7,1,2,8,6]),import.meta.url),"./src/components/badge/badge.stories.tsx":async()=>t(()=>import("./badge.stories-gP-6Aq3K.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-C-43rqs3.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-COJQKQ4l.js"),__vite__mapDeps([13,1,2,4]),import.meta.url),"./src/components/button/button.stories.tsx":async()=>t(()=>import("./button.stories-DvBZ8vPQ.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-BpAp46hW.js"),__vite__mapDeps([17,1,2,4,6]),import.meta.url),"./src/components/dialog/dialog.stories.tsx":async()=>t(()=>import("./dialog.stories-BBu6B51J.js"),__vite__mapDeps([18,1,2,6,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,5,4,36,15,16,37,38,39,40,41,42,43,10,44,45,46,3]),import.meta.url),"./src/components/disclosure/disclosure.stories.tsx":async()=>t(()=>import("./disclosure.stories-DwfzQRRi.js"),__vite__mapDeps([47,1,2,5,4,48,38,22,20,32,31,41]),import.meta.url),"./src/components/divider-line/divider-line.stories.tsx":async()=>t(()=>import("./divider-line.stories-lM2hRNkL.js"),__vite__mapDeps([49,1,2,50]),import.meta.url),"./src/components/featured-tag/featured-tag.stories.tsx":async()=>t(()=>import("./featured-tag.stories-Dq8MPlrq.js"),__vite__mapDeps([51,1,2,52,4,53,37,5,38,22,20,39,26,30,19,40,41,25,42,43,28,24,27,32,10,44,23,34,45]),import.meta.url),"./src/components/form-field/form-field-group.stories.tsx":async()=>t(()=>import("./form-field-group.stories-B58kwjk-.js"),__vite__mapDeps([54,1,2,37,5,4,38,22,20,39,26,30,19,40,41,25,42,43,28,24,27,32,10,44,23,34,45]),import.meta.url),"./src/components/form-field/listbox/listbox.stories.tsx":async()=>t(()=>import("./listbox.stories-C0h86DQ2.js"),__vite__mapDeps([55,1,2,37,5,4,38,22,20,39,26,30,19,40,41,25,42,43,28,24,27,32,10,44,23,34,45]),import.meta.url),"./src/components/form-field/multi-combobox/multi-combobox.stories.tsx":async()=>t(()=>import("./multi-combobox.stories-B4nv8weL.js"),__vite__mapDeps([56,1,2,37,5,4,38,22,20,39,26,30,19,40,41,25,42,43,28,24,27,32,10,44,23,34,45]),import.meta.url),"./src/components/form-field/radio-box/radio-box.stories.tsx":async()=>t(()=>import("./radio-box.stories-AnoNeBgY.js"),__vite__mapDeps([57,1,2,37,5,4,38,22,20,39,26,30,19,40,41,25,42,43,28,24,27,32,10,44,23,34,45,52]),import.meta.url),"./src/components/form-field/radio-input/radio-input.stories.tsx":async()=>t(()=>import("./radio-input.stories-Bul_kF6b.js"),__vite__mapDeps([58,1,2,37,5,4,38,22,20,39,26,30,19,40,41,25,42,43,28,24,27,32,10,44,23,34,45]),import.meta.url),"./src/components/form-field/search-input/search-input.stories.tsx":async()=>t(()=>import("./search-input.stories-DL9AWUxt.js"),__vite__mapDeps([59,1,2,37,5,4,38,22,20,39,26,30,19,40,41,25,42,43,28,24,27,32,10,44,23,34,45]),import.meta.url),"./src/components/form-field/single-combobox/single-combobox.stories.tsx":async()=>t(()=>import("./single-combobox.stories-BulbG7cw.js"),__vite__mapDeps([60,1,2,45,4,5,37,38,22,20,39,26,30,19,40,41,25,42,43,28,24,27,32,10,44,23,34]),import.meta.url),"./src/components/form-field/text-input/text-input.stories.tsx":async()=>t(()=>import("./text-input.stories-C6GSkZTf.js"),__vite__mapDeps([61,1,2,37,5,4,38,22,20,39,26,30,19,40,41,25,42,43,28,24,27,32,10,44,23,34,45]),import.meta.url),"./src/components/form-field/textarea/textarea.stories.tsx":async()=>t(()=>import("./textarea.stories-930OJDBX.js"),__vite__mapDeps([62,1,2,37,5,4,38,22,20,39,26,30,19,40,41,25,42,43,28,24,27,32,10,44,23,34,45]),import.meta.url),"./src/components/icon-button/icon-button.stories.tsx":async()=>t(()=>import("./icon-button.stories-BDfI0EZw.js"),__vite__mapDeps([63,36,1,2,4,5]),import.meta.url),"./src/components/inline-alert/inline-alert.stories.tsx":async()=>t(()=>import("./inline-alert.stories-wD9HlsAA.js"),__vite__mapDeps([64,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-C86MXOjM.js"),__vite__mapDeps([65,1,2,4]),import.meta.url),"./src/components/link/link.stories.tsx":async()=>t(()=>import("./link.stories-B4hQfoUk.js"),__vite__mapDeps([66,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-CGoXCqdp.js"),__vite__mapDeps([67,1,2,68]),import.meta.url),"./src/components/menu/menu-item/menu-item.stories.tsx":async()=>t(()=>import("./menu-item.stories-CBCQ6POX.js"),__vite__mapDeps([69,1,2,5,70,38,22,20,26,42,43,28,24,25,27,32,41,19,40,68,71,72]),import.meta.url),"./src/components/menu/menu-separator/menu-separator.stories.tsx":async()=>t(()=>import("./menu-separator.stories-D7MgxHW9.js"),__vite__mapDeps([73,1,2,71]),import.meta.url),"./src/components/menu/menu-title/menu-title.stories.tsx":async()=>t(()=>import("./menu-title.stories-BpGHFQrG.js"),__vite__mapDeps([74,1,2,72]),import.meta.url),"./src/components/menu/menu.stories.tsx":async()=>t(()=>import("./menu.stories-CwsrV7Kh.js"),__vite__mapDeps([75,1,2,70,38,22,20,26,42,43,28,24,25,27,32,41,19,40,68,71,72]),import.meta.url),"./src/components/navigation/navigation.stories.tsx":async()=>t(()=>import("./navigation.stories-CTPvIKaC.js"),__vite__mapDeps([76,1,2,5,4,48,38,22,20,32,31,41,77,26,78,43,23,24,25,27,29,30]),import.meta.url),"./src/components/page/page.stories.tsx":async()=>t(()=>import("./page.stories-BfCGd43p.js"),__vite__mapDeps([79,1,2]),import.meta.url),"./src/components/panel/panel.stories.tsx":async()=>t(()=>import("./panel.stories-BpfGYF4U.js"),__vite__mapDeps([80,1,2,53,4,15,16,6,46,19,20,39,26,30,40,38,22,41]),import.meta.url),"./src/components/popover-menu/popover-menu.stories.tsx":async()=>t(()=>import("./popover-menu.stories-CCMQ0HCv.js"),__vite__mapDeps([81,1,2,5,77,26,15,4,16,78,38,22,20,43,23,24,25,27,29,30,32,31,41]),import.meta.url),"./src/components/section/section.stories.tsx":async()=>t(()=>import("./section.stories-C41hruNK.js"),__vite__mapDeps([82,1,2,15,4,16]),import.meta.url),"./src/components/sidebar-container/sidebar-container.stories.tsx":async()=>t(()=>import("./sidebar-container.stories-CD7erG3P.js"),__vite__mapDeps([83,1,2]),import.meta.url),"./src/components/sidebar/sidebar.stories.tsx":async()=>t(()=>import("./sidebar.stories-CTIXw2h_.js"),__vite__mapDeps([84,1,2,4]),import.meta.url),"./src/components/sidesheet/sidesheet.stories.tsx":async()=>t(()=>import("./sidesheet.stories-ijXCJ28z.js"),__vite__mapDeps([85,1,2,21,22,20,23,24,25,26,27,28,29,30,31,32,19,33,34,35,15,4,16]),import.meta.url),"./src/components/skeleton/skeleton.stories.tsx":async()=>t(()=>import("./skeleton.stories-DkC3bvFE.js"),__vite__mapDeps([86,1,2,4]),import.meta.url),"./src/components/spinner-overlay/spinner-overlay.stories.tsx":async()=>t(()=>import("./spinner-overlay.stories-Ceh5rt6d.js"),__vite__mapDeps([87,1,2,16,4]),import.meta.url),"./src/components/spinner/spinner.stories.tsx":async()=>t(()=>import("./spinner.stories-VlGwChGj.js"),__vite__mapDeps([88,1,2,16,4]),import.meta.url),"./src/components/tab/tab.stories.tsx":async()=>t(()=>import("./tab.stories-CVEumuZ5.js"),__vite__mapDeps([89,1,2,4,38,22,20,33,30,25,6]),import.meta.url),"./src/components/table-unvirtualized/table-unvirtualized.stories.tsx":async()=>t(()=>import("./table-unvirtualized.stories-DsakIV0H.js"),__vite__mapDeps([90,1,2,91,4,16,15]),import.meta.url),"./src/components/table-virtualized/table-virtualized.stories.tsx":async()=>t(()=>import("./table-virtualized.stories-lnsE1LyG.js"),__vite__mapDeps([92,1,2,44,26,4,91,16,5,15,36,50]),import.meta.url),"./src/components/tag/tag.stories.tsx":async()=>t(()=>import("./tag.stories-D4S3pQPY.js"),__vite__mapDeps([93,1,2,45,4,5]),import.meta.url),"./src/components/toast/toast.stories.tsx":async()=>t(()=>import("./toast.stories-B8TZoGl5.js"),__vite__mapDeps([94,1,2,5,4]),import.meta.url),"./src/components/toggle/toggle.stories.tsx":async()=>t(()=>import("./toggle.stories-Cr-rGyBr.js"),__vite__mapDeps([95,1,2,46,19,20,39,26,30,40,38,22,41,4]),import.meta.url),"./src/components/tooltip/tooltip.stories.tsx":async()=>t(()=>import("./tooltip.stories-Ms0hSbqX.js"),__vite__mapDeps([96,1,2,6,77,26,4,35,20,33,27,32,15,16]),import.meta.url),"./src/components/top-bar/top-bar.stories.tsx":async()=>t(()=>import("./top-bar.stories-wMpXUtom.js"),__vite__mapDeps([97,1,2,4,5,8,70,38,22,20,26,42,43,28,24,25,27,32,41,19,40,68,71,72]),import.meta.url),"./src/icons/icons.mdx":async()=>t(()=>import("./icons-C0QV3r7r.js"),__vite__mapDeps([98,1,2,99,100,26,101,102,103,5]),import.meta.url),"./src/index.mdx":async()=>t(()=>import("./index-BqpXghJy.js"),__vite__mapDeps([104,1,2,99,100,26,101,102,103]),import.meta.url),"./src/styles/global-styles.stories.tsx":async()=>t(()=>import("./global-styles.stories-MeCc39-H.js"),__vite__mapDeps([105,1,2,91,4,16]),import.meta.url)};async function P(r){return y[r]()}const{composeConfigs:I,PreviewWeb:V,ClientApi:b}=__STORYBOOK_MODULE_PREVIEW_API__,D=async(r=[])=>{const _=await Promise.all([r.at(0)??t(()=>import("./entry-preview-BBa-_Xwa.js"),__vite__mapDeps([106,2,107,26]),import.meta.url),r.at(1)??t(()=>import("./entry-preview-docs-DN11TZ2V.js"),__vite__mapDeps([108,102,2,103]),import.meta.url),r.at(2)??t(()=>import("./preview-BJPLiuSt.js"),__vite__mapDeps([109,101]),import.meta.url),r.at(3)??t(()=>import("./preview-D6MjistE.js"),[],import.meta.url),r.at(4)??t(()=>import("./preview-Ct5NkTJf.js"),[],import.meta.url),r.at(5)??t(()=>import("./preview-9hFJSo5S.js"),__vite__mapDeps([110,103]),import.meta.url),r.at(6)??t(()=>import("./preview-BnWGZYux.js"),[],import.meta.url),r.at(7)??t(()=>import("./preview-Cdum89jS.js"),[],import.meta.url),r.at(8)??t(()=>import("./preview-DB9FwMii.js"),__vite__mapDeps([111,103]),import.meta.url),r.at(9)??t(()=>import("./preview-BpcF_O6y.js"),[],import.meta.url),r.at(10)??t(()=>import("./preview-gLmJTRpJ.js"),[],import.meta.url),r.at(11)??t(()=>import("./preview-CL0FZwLC.js"),__vite__mapDeps([112,113]),import.meta.url)]);return I(_)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new V(P,D);window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;export{t as _}; +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./alert.stories-DBAGVE4m.js","./jsx-runtime-C798UXYj.js","./index-0d5eMwbi.js","./alert-WFlrTABt.js","./class-names-DnY5YZNL.js","./zoom-to-fit-icon-DdsCB6de.js","./storybook-utils-C5xEhci0.js","./avatar.stories-HUeKQiUe.js","./avatar-Cxzsye4J.js","./badge.stories-gP-6Aq3K.js","./badge-Da1HxQE-.js","./breadcrumb-navigation.stories-C-43rqs3.js","./slot-CyLCZbOE.js","./button-group.stories-COJQKQ4l.js","./button.stories-B_08GyF3.js","./button-Cwplw9FX.js","./spinner-CrXB3JgE.js","./checkbox.stories-BpAp46hW.js","./dialog.stories-BGz9dfF0.js","./description-D9Ee5mtv.js","./use-sync-refs-DqQDZvJ6.js","./dialog-CQKMlc6b.js","./keyboard-C2Ifhsxt.js","./use-event-listener-CochUv0b.js","./portal-CLj4HHuk.js","./focus-management-DaVlPEX1.js","./index-BoyHNU0R.js","./use-server-handoff-complete-JgOu4JLg.js","./use-inert-others-CzqV763I.js","./use-tab-direction-BMI6OSML.js","./hidden-BrNieFV6.js","./close-provider-CZp7Lqob.js","./open-closed-DC3t9YEZ.js","./use-is-mounted-DT-lZL-u.js","./active-element-history-DI7yoVCB.js","./transition-CZnz1fcq.js","./icon-button-DlSTEzH7.js","./form-field-BtJxu7hP.js","./use-resolve-button-type-D_6M6Au0.js","./form-fields-B2NmhAAW.js","./label-BBnH-iCi.js","./bugs-DpEN4NTH.js","./use-text-value-ehRDfXkw.js","./floating-ERp4LevH.js","./index-h1jAayoZ.js","./tag-C9CGXtt3.js","./toggle-Bp5D17gs.js","./disclosure.stories-DwfzQRRi.js","./disclosure-CNBAsrob.js","./divider-line.stories-lM2hRNkL.js","./divider-line-CzbklozI.js","./featured-tag.stories-CsNO07V6.js","./featured-tag-DLvaNKCm.js","./panel-BTNit_je.js","./form-field-group.stories-D6_h9T9i.js","./listbox.stories-DYhiM9ac.js","./multi-combobox.stories-B81csaxo.js","./radio-box.stories-ClLmSkEW.js","./radio-input.stories-D9_eflVt.js","./search-input.stories-CrW1iZWz.js","./single-combobox.stories-JqBGE505.js","./text-input.stories-BT2GI3td.js","./textarea.stories-82EphPuj.js","./icon-button.stories-CERmelnz.js","./inline-alert.stories-CHU6-QPb.js","./last-changed-info.stories-C86MXOjM.js","./link.stories-2GyWZWrZ.js","./menu-info-item.stories-CGoXCqdp.js","./menu-info-item-CC1TeP-c.js","./menu-item.stories-C6z3CClY.js","./menu-BbZFQK8W.js","./menu-separator-yO-BIXMb.js","./menu-title-DpAy2147.js","./menu-separator.stories-D7MgxHW9.js","./menu-title.stories-BpGHFQrG.js","./menu.stories-CgnJSCFe.js","./navigation.stories-_4qlPrgP.js","./usePopper-Cu2KpVtb.js","./popover-DJ9HIBXX.js","./page.stories-BfCGd43p.js","./panel.stories-5EuFEmkX.js","./popover-menu.stories-DcT5PR_I.js","./section.stories-BeowXPCk.js","./sidebar-container.stories-CD7erG3P.js","./sidebar.stories-CTIXw2h_.js","./sidesheet.stories-DC5qghgW.js","./skeleton.stories-DkC3bvFE.js","./spinner-overlay.stories-Ceh5rt6d.js","./spinner.stories-VlGwChGj.js","./tab.stories-CVEumuZ5.js","./table-unvirtualized.stories-D8gQE_lR.js","./table-unvirtualized-B6-rFf74.js","./table-virtualized.stories-KaRUCWoS.js","./tag.stories-D4S3pQPY.js","./toast.stories-Bzmbls-5.js","./toggle.stories-DcNmYdAI.js","./tooltip.stories-D4pljqyk.js","./top-bar.stories-Dfj0D-rE.js","./icons-Dp8Wmtux.js","./index-CFK-oMtb.js","./index-D4CCEPie.js","./index-D-8MO0q_.js","./index-CxJhtZoZ.js","./index-DrFu-skq.js","./index-bmGcrzev.js","./global-styles.stories-MeCc39-H.js","./entry-preview-CVX8W8q9.js","./chunk-H6MOWX77-DTQOW814.js","./entry-preview-docs-Blm_ViJ3.js","./preview-BhhEZcNS.js","./preview-D77C14du.js","./preview-BWzBA1C2.js","./preview-CL0FZwLC.js","./preview-kJxS59jD.css"])))=>i.map(i=>d[i]); +import"../sb-preview/runtime.js";(function(){const _=document.createElement("link").relList;if(_&&_.supports&&_.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))a(o);new MutationObserver(o=>{for(const e of o)if(e.type==="childList")for(const i of e.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&a(i)}).observe(document,{childList:!0,subtree:!0});function c(o){const e={};return o.integrity&&(e.integrity=o.integrity),o.referrerPolicy&&(e.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?e.credentials="include":o.crossOrigin==="anonymous"?e.credentials="omit":e.credentials="same-origin",e}function a(o){if(o.ep)return;o.ep=!0;const e=c(o);fetch(o.href,e)}})();const v="modulepreload",T=function(r,_){return new URL(r,_).href},O={},t=function(_,c,a){let o=Promise.resolve();if(c&&c.length>0){const i=document.getElementsByTagName("link"),s=document.querySelector("meta[property=csp-nonce]"),d=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));o=Promise.allSettled(c.map(n=>{if(n=T(n,a),n in O)return;O[n]=!0;const p=n.endsWith(".css"),R=p?'[rel="stylesheet"]':"";if(!!a)for(let u=i.length-1;u>=0;u--){const l=i[u];if(l.href===n&&(!p||l.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${n}"]${R}`))return;const m=document.createElement("link");if(m.rel=p?"stylesheet":v,p||(m.as="script"),m.crossOrigin="",m.href=n,d&&m.setAttribute("nonce",d),document.head.appendChild(m),p)return new Promise((u,l)=>{m.addEventListener("load",u),m.addEventListener("error",()=>l(new Error(`Unable to preload CSS for ${n}`)))})}))}function e(i){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=i,window.dispatchEvent(s),!s.defaultPrevented)throw i}return o.then(i=>{for(const s of i||[])s.status==="rejected"&&e(s.reason);return _().catch(e)})},{createBrowserChannel:L}=__STORYBOOK_MODULE_CHANNELS__,{addons:f}=__STORYBOOK_MODULE_PREVIEW_API__,E=L({page:"preview"});f.setChannel(E);window.__STORYBOOK_ADDONS_CHANNEL__=E;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=E);const y={"./src/components/alert/alert.stories.tsx":async()=>t(()=>import("./alert.stories-DBAGVE4m.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url),"./src/components/avatar/avatar.stories.tsx":async()=>t(()=>import("./avatar.stories-HUeKQiUe.js"),__vite__mapDeps([7,1,2,8,6]),import.meta.url),"./src/components/badge/badge.stories.tsx":async()=>t(()=>import("./badge.stories-gP-6Aq3K.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-C-43rqs3.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-COJQKQ4l.js"),__vite__mapDeps([13,1,2,4]),import.meta.url),"./src/components/button/button.stories.tsx":async()=>t(()=>import("./button.stories-B_08GyF3.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-BpAp46hW.js"),__vite__mapDeps([17,1,2,4,6]),import.meta.url),"./src/components/dialog/dialog.stories.tsx":async()=>t(()=>import("./dialog.stories-BGz9dfF0.js"),__vite__mapDeps([18,1,2,6,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,5,4,36,15,16,37,38,39,40,41,42,43,10,44,45,46,3]),import.meta.url),"./src/components/disclosure/disclosure.stories.tsx":async()=>t(()=>import("./disclosure.stories-DwfzQRRi.js"),__vite__mapDeps([47,1,2,5,4,48,38,22,20,32,31,41]),import.meta.url),"./src/components/divider-line/divider-line.stories.tsx":async()=>t(()=>import("./divider-line.stories-lM2hRNkL.js"),__vite__mapDeps([49,1,2,50]),import.meta.url),"./src/components/featured-tag/featured-tag.stories.tsx":async()=>t(()=>import("./featured-tag.stories-CsNO07V6.js"),__vite__mapDeps([51,1,2,52,4,53,37,5,38,22,20,39,26,30,19,40,41,25,42,43,28,24,27,32,10,44,23,34,45]),import.meta.url),"./src/components/form-field/form-field-group.stories.tsx":async()=>t(()=>import("./form-field-group.stories-D6_h9T9i.js"),__vite__mapDeps([54,1,2,37,5,4,38,22,20,39,26,30,19,40,41,25,42,43,28,24,27,32,10,44,23,34,45]),import.meta.url),"./src/components/form-field/listbox/listbox.stories.tsx":async()=>t(()=>import("./listbox.stories-DYhiM9ac.js"),__vite__mapDeps([55,1,2,37,5,4,38,22,20,39,26,30,19,40,41,25,42,43,28,24,27,32,10,44,23,34,45]),import.meta.url),"./src/components/form-field/multi-combobox/multi-combobox.stories.tsx":async()=>t(()=>import("./multi-combobox.stories-B81csaxo.js"),__vite__mapDeps([56,1,2,37,5,4,38,22,20,39,26,30,19,40,41,25,42,43,28,24,27,32,10,44,23,34,45]),import.meta.url),"./src/components/form-field/radio-box/radio-box.stories.tsx":async()=>t(()=>import("./radio-box.stories-ClLmSkEW.js"),__vite__mapDeps([57,1,2,37,5,4,38,22,20,39,26,30,19,40,41,25,42,43,28,24,27,32,10,44,23,34,45,52]),import.meta.url),"./src/components/form-field/radio-input/radio-input.stories.tsx":async()=>t(()=>import("./radio-input.stories-D9_eflVt.js"),__vite__mapDeps([58,1,2,37,5,4,38,22,20,39,26,30,19,40,41,25,42,43,28,24,27,32,10,44,23,34,45]),import.meta.url),"./src/components/form-field/search-input/search-input.stories.tsx":async()=>t(()=>import("./search-input.stories-CrW1iZWz.js"),__vite__mapDeps([59,1,2,37,5,4,38,22,20,39,26,30,19,40,41,25,42,43,28,24,27,32,10,44,23,34,45]),import.meta.url),"./src/components/form-field/single-combobox/single-combobox.stories.tsx":async()=>t(()=>import("./single-combobox.stories-JqBGE505.js"),__vite__mapDeps([60,1,2,45,4,5,37,38,22,20,39,26,30,19,40,41,25,42,43,28,24,27,32,10,44,23,34]),import.meta.url),"./src/components/form-field/text-input/text-input.stories.tsx":async()=>t(()=>import("./text-input.stories-BT2GI3td.js"),__vite__mapDeps([61,1,2,37,5,4,38,22,20,39,26,30,19,40,41,25,42,43,28,24,27,32,10,44,23,34,45]),import.meta.url),"./src/components/form-field/textarea/textarea.stories.tsx":async()=>t(()=>import("./textarea.stories-82EphPuj.js"),__vite__mapDeps([62,1,2,37,5,4,38,22,20,39,26,30,19,40,41,25,42,43,28,24,27,32,10,44,23,34,45]),import.meta.url),"./src/components/icon-button/icon-button.stories.tsx":async()=>t(()=>import("./icon-button.stories-CERmelnz.js"),__vite__mapDeps([63,36,1,2,4,5]),import.meta.url),"./src/components/inline-alert/inline-alert.stories.tsx":async()=>t(()=>import("./inline-alert.stories-CHU6-QPb.js"),__vite__mapDeps([64,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-C86MXOjM.js"),__vite__mapDeps([65,1,2,4]),import.meta.url),"./src/components/link/link.stories.tsx":async()=>t(()=>import("./link.stories-2GyWZWrZ.js"),__vite__mapDeps([66,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-CGoXCqdp.js"),__vite__mapDeps([67,1,2,68]),import.meta.url),"./src/components/menu/menu-item/menu-item.stories.tsx":async()=>t(()=>import("./menu-item.stories-C6z3CClY.js"),__vite__mapDeps([69,1,2,5,70,38,22,20,26,42,43,28,24,25,27,32,41,19,40,68,71,72]),import.meta.url),"./src/components/menu/menu-separator/menu-separator.stories.tsx":async()=>t(()=>import("./menu-separator.stories-D7MgxHW9.js"),__vite__mapDeps([73,1,2,71]),import.meta.url),"./src/components/menu/menu-title/menu-title.stories.tsx":async()=>t(()=>import("./menu-title.stories-BpGHFQrG.js"),__vite__mapDeps([74,1,2,72]),import.meta.url),"./src/components/menu/menu.stories.tsx":async()=>t(()=>import("./menu.stories-CgnJSCFe.js"),__vite__mapDeps([75,1,2,70,38,22,20,26,42,43,28,24,25,27,32,41,19,40,68,71,72]),import.meta.url),"./src/components/navigation/navigation.stories.tsx":async()=>t(()=>import("./navigation.stories-_4qlPrgP.js"),__vite__mapDeps([76,1,2,5,4,48,38,22,20,32,31,41,77,26,78,43,23,24,25,27,29,30]),import.meta.url),"./src/components/page/page.stories.tsx":async()=>t(()=>import("./page.stories-BfCGd43p.js"),__vite__mapDeps([79,1,2]),import.meta.url),"./src/components/panel/panel.stories.tsx":async()=>t(()=>import("./panel.stories-5EuFEmkX.js"),__vite__mapDeps([80,1,2,53,4,15,16,6,46,19,20,39,26,30,40,38,22,41]),import.meta.url),"./src/components/popover-menu/popover-menu.stories.tsx":async()=>t(()=>import("./popover-menu.stories-DcT5PR_I.js"),__vite__mapDeps([81,1,2,5,77,26,15,4,16,78,38,22,20,43,23,24,25,27,29,30,32,31,41]),import.meta.url),"./src/components/section/section.stories.tsx":async()=>t(()=>import("./section.stories-BeowXPCk.js"),__vite__mapDeps([82,1,2,15,4,16]),import.meta.url),"./src/components/sidebar-container/sidebar-container.stories.tsx":async()=>t(()=>import("./sidebar-container.stories-CD7erG3P.js"),__vite__mapDeps([83,1,2]),import.meta.url),"./src/components/sidebar/sidebar.stories.tsx":async()=>t(()=>import("./sidebar.stories-CTIXw2h_.js"),__vite__mapDeps([84,1,2,4]),import.meta.url),"./src/components/sidesheet/sidesheet.stories.tsx":async()=>t(()=>import("./sidesheet.stories-DC5qghgW.js"),__vite__mapDeps([85,1,2,21,22,20,23,24,25,26,27,28,29,30,31,32,19,33,34,35,15,4,16]),import.meta.url),"./src/components/skeleton/skeleton.stories.tsx":async()=>t(()=>import("./skeleton.stories-DkC3bvFE.js"),__vite__mapDeps([86,1,2,4]),import.meta.url),"./src/components/spinner-overlay/spinner-overlay.stories.tsx":async()=>t(()=>import("./spinner-overlay.stories-Ceh5rt6d.js"),__vite__mapDeps([87,1,2,16,4]),import.meta.url),"./src/components/spinner/spinner.stories.tsx":async()=>t(()=>import("./spinner.stories-VlGwChGj.js"),__vite__mapDeps([88,1,2,16,4]),import.meta.url),"./src/components/tab/tab.stories.tsx":async()=>t(()=>import("./tab.stories-CVEumuZ5.js"),__vite__mapDeps([89,1,2,4,38,22,20,33,30,25,6]),import.meta.url),"./src/components/table-unvirtualized/table-unvirtualized.stories.tsx":async()=>t(()=>import("./table-unvirtualized.stories-D8gQE_lR.js"),__vite__mapDeps([90,1,2,91,4,16,15]),import.meta.url),"./src/components/table-virtualized/table-virtualized.stories.tsx":async()=>t(()=>import("./table-virtualized.stories-KaRUCWoS.js"),__vite__mapDeps([92,1,2,44,26,4,91,16,5,15,36,50]),import.meta.url),"./src/components/tag/tag.stories.tsx":async()=>t(()=>import("./tag.stories-D4S3pQPY.js"),__vite__mapDeps([93,1,2,45,4,5]),import.meta.url),"./src/components/toast/toast.stories.tsx":async()=>t(()=>import("./toast.stories-Bzmbls-5.js"),__vite__mapDeps([94,1,2,5,4]),import.meta.url),"./src/components/toggle/toggle.stories.tsx":async()=>t(()=>import("./toggle.stories-DcNmYdAI.js"),__vite__mapDeps([95,1,2,46,19,20,39,26,30,40,38,22,41,4]),import.meta.url),"./src/components/tooltip/tooltip.stories.tsx":async()=>t(()=>import("./tooltip.stories-D4pljqyk.js"),__vite__mapDeps([96,1,2,6,77,26,4,35,20,33,27,32,15,16]),import.meta.url),"./src/components/top-bar/top-bar.stories.tsx":async()=>t(()=>import("./top-bar.stories-Dfj0D-rE.js"),__vite__mapDeps([97,1,2,4,5,8,70,38,22,20,26,42,43,28,24,25,27,32,41,19,40,68,71,72]),import.meta.url),"./src/icons/icons.mdx":async()=>t(()=>import("./icons-Dp8Wmtux.js"),__vite__mapDeps([98,1,2,99,100,26,101,102,103,5]),import.meta.url),"./src/index.mdx":async()=>t(()=>import("./index-bmGcrzev.js"),__vite__mapDeps([104,1,2,99,100,26,101,102,103]),import.meta.url),"./src/styles/global-styles.stories.tsx":async()=>t(()=>import("./global-styles.stories-MeCc39-H.js"),__vite__mapDeps([105,1,2,91,4,16]),import.meta.url)};async function P(r){return y[r]()}const{composeConfigs:I,PreviewWeb:V,ClientApi:b}=__STORYBOOK_MODULE_PREVIEW_API__,D=async(r=[])=>{const _=await Promise.all([r.at(0)??t(()=>import("./entry-preview-CVX8W8q9.js"),__vite__mapDeps([106,107,2,26]),import.meta.url),r.at(1)??t(()=>import("./entry-preview-docs-Blm_ViJ3.js"),__vite__mapDeps([108,107,102,2,103]),import.meta.url),r.at(2)??t(()=>import("./preview-BhhEZcNS.js"),__vite__mapDeps([109,101]),import.meta.url),r.at(3)??t(()=>import("./preview-Dsbj-GgD.js"),[],import.meta.url),r.at(4)??t(()=>import("./preview-aVwhiz9X.js"),[],import.meta.url),r.at(5)??t(()=>import("./preview-D77C14du.js"),__vite__mapDeps([110,103]),import.meta.url),r.at(6)??t(()=>import("./preview-DFmD0pui.js"),[],import.meta.url),r.at(7)??t(()=>import("./preview-CFgKly6U.js"),[],import.meta.url),r.at(8)??t(()=>import("./preview-BWzBA1C2.js"),__vite__mapDeps([111,103]),import.meta.url),r.at(9)??t(()=>import("./preview-DGUiP6tS.js"),[],import.meta.url),r.at(10)??t(()=>import("./preview-DVI_gYQC.js"),[],import.meta.url),r.at(11)??t(()=>import("./preview-CL0FZwLC.js"),__vite__mapDeps([112,113]),import.meta.url)]);return I(_)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new V(P,D);window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;export{t as _}; diff --git a/assets/index-2qP1WQFk.js b/assets/index-2qP1WQFk.js deleted file mode 100644 index 18f9c6ee..00000000 --- a/assets/index-2qP1WQFk.js +++ /dev/null @@ -1 +0,0 @@ -import{i as m,o as l,R as c,y as T,S as b,l as d,A as S,J as B,v as L,w as C,b as H,$ as u,F as g,a as y,z as I,c as h,d as k,D as P,x as W,C as A,E as F,e as x,f as D,g as R,Y as f,I as v,h as E,j as M,k as N,m as q,W as w,n as O,p as U,T as Z,B as j,L as z,H as G,q as J,r as K,s as Q,t as V,u as X,_ as Y,M as _,G as $,K as aa,N as sa,O as oa,P as ta,Q as ea,U as ra,V as pa,X as na,Z as ia,a0 as ma,a1 as la,a2 as ca,a3 as Ta,a4 as ba,a5 as da,a6 as Sa,a7 as Ba,a8 as La,a9 as Ca,aa as Ha,ab as ua,ac as ga,ad as ya}from"./index-Doj-RJny.js";import"./iframe-B2fFkFgE.js";import"../sb-preview/runtime.js";import"./index-0d5eMwbi.js";import"./index-p-ac5bmP.js";import"./index-D-8MO0q_.js";import"./index-D97zpEXb.js";import"./index-DrFu-skq.js";export{m as A,l as ActionBar,c as AddonPanel,T as Badge,b as Bar,d as Blockquote,S as Button,B as ClipboardCode,L as Code,C as DL,H as Div,u as DocumentWrapper,g as EmptyTabContent,y as ErrorFormatter,I as FlexBar,h as Form,k as H1,P as H2,W as H3,A as H4,F as H5,x as H6,D as HR,R as IconButton,f as IconButtonSkeleton,v as Icons,E as Img,M as LI,N as Link,q as ListItem,w as Loader,O as Modal,U as OL,Z as P,j as Placeholder,z as Pre,G as ResetWrapper,J as ScrollArea,K as Separator,Q as Spaced,V as Span,X as StorybookIcon,Y as StorybookLogo,_ as Symbols,$ as SyntaxHighlighter,aa as TT,sa as TabBar,oa as TabButton,ta as TabWrapper,ea as Table,ra as Tabs,pa as TabsState,na as TooltipLinkList,ia as TooltipMessage,ma as TooltipNote,la as UL,ca as WithTooltip,Ta as WithTooltipPure,ba as Zoom,da as codeCommon,Sa as components,Ba as createCopyToClipboardFunction,La as getStoryHref,Ca as icons,Ha as interleaveSeparators,ua as nameSpaceClassNames,ga as resetComponents,ya as withReset}; diff --git a/assets/index-p-ac5bmP.js b/assets/index-BoyHNU0R.js similarity index 99% rename from assets/index-p-ac5bmP.js rename to assets/index-BoyHNU0R.js index 88939194..cba12a3c 100644 --- a/assets/index-p-ac5bmP.js +++ b/assets/index-BoyHNU0R.js @@ -21,4 +21,4 @@ import{r as _a,g as Na}from"./index-0d5eMwbi.js";var Co={exports:{}},ve={},xo={e `+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 Ra(e){switch(e.tag){case 5:return pt(e.type);case 16:return pt("Lazy");case 13:return pt("Suspense");case 19:return pt("SuspenseList");case 0:case 2:case 15:return e=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 Ol:return"Profiler";case Ti:return"StrictMode";case Il:return"Suspense";case jl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Po:return(e.displayName||"Context")+".Consumer";case zo:return(e._context.displayName||"Context")+".Provider";case 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 Lo(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function Oa(e){var n=Lo(e)?"checked":"value",t=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),r=""+e[n];if(!e.hasOwnProperty(n)&&typeof t<"u"&&typeof t.get=="function"&&typeof t.set=="function"){var l=t.get,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=Oa(e))}function Mo(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),r="";return e&&(r=Lo(e)?e.checked?"true":"false":e.value),e=r,e!==t?(n.setValue(e),!0):!1}function Sr(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Vl(e,n){var t=n.checked;return V({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t??e._wrapperState.initialChecked})}function 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 Do(e,n){n=n.checked,n!=null&&Pi(e,"checked",n,!1)}function Al(e,n){Do(e,n);var t=sn(n.value),r=n.type;if(t!=null)r==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+t):e.value!==""+t&&(e.value=""+t);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}n.hasOwnProperty("value")?Bl(e,n.type,t):n.hasOwnProperty("defaultValue")&&Bl(e,n.type,sn(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function 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},Ia=["Webkit","ms","Moz","O"];Object.keys(yt).forEach(function(e){Ia.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),yt[n]=yt[e]})});function Io(e,n,t){return n==null||typeof n=="boolean"||n===""?"":t||typeof n!="number"||n===0||yt.hasOwnProperty(e)&&yt[e]?(""+n).trim():n+"px"}function jo(e,n){e=e.style;for(var t in n)if(n.hasOwnProperty(t)){var r=t.indexOf("--")===0,l=Io(t,n[t],r);t==="float"&&(t="cssFloat"),r?e.setProperty(t,l):e[t]=l}}var ja=V({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Wl(e,n){if(n){if(ja[e]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(y(137,e));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(y(60));if(typeof n.dangerouslySetInnerHTML!="object"||!("__html"in n.dangerouslySetInnerHTML))throw Error(y(61))}if(n.style!=null&&typeof n.style!="object")throw Error(y(62))}}function $l(e,n){if(e.indexOf("-")===-1)return typeof n.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Kl=null;function 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 Uo(e){Qn?Wn?Wn.push(e):Wn=[e]:Qn=e}function Vo(){if(Qn){var e=Qn,n=Wn;if(Wn=Qn=null,xu(e),n)for(e=0;e>>=0,e===0?32:31-(Xa(e)/Ga|0)|0}var qt=64,bt=4194304;function vt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function _r(e,n){var t=e.pendingLanes;if(t===0)return 0;var r=0,l=e.suspendedLanes,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 ba(e,n){var t=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n,n=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=wt),Ru=" ",Fu=!1;function is(e,n){switch(e){case"keyup":return zc.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function us(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Dn=!1;function Tc(e,n){switch(e){case"compositionend":return us(n);case"keypress":return n.which!==32?null:(Fu=!0,Ru);case"textInput":return e=n.data,e===Ru&&Fu?null:e;default:return null}}function Lc(e,n){if(Dn)return e==="compositionend"||!Ai&&is(e,n)?(e=rs(),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 cs(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?cs(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function fs(){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 Vc(e){var n=fs(),t=e.focusedElem,r=e.selectionRange;if(n!==t&&t&&t.ownerDocument&&cs(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(){F(se),F(te)}function Yu(e,n,t){if(te.current!==an)throw Error(y(168));D(te,n),D(se,t)}function ks(e,n,t){var r=e.stateNode;if(n=n.childContextTypes,typeof r.getChildContext!="function")return t;r=r.getChildContext();for(var l in r)if(!(l in n))throw Error(y(108,Fa(e)||"Unknown",l));return V({},t,r)}function Mr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||an,En=te.current,D(te,e),D(se,se.current),!0}function Xu(e,n,t){var r=e.stateNode;if(!r)throw Error(y(169));t?(e=ks(e,n,En),r.__reactInternalMemoizedMergedChildContext=e,F(se),F(te),D(te,e)):F(se),D(se,t)}var je=null,Zr=!1,_l=!1;function Ss(e){je===null?je=[e]:je.push(e)}function Jc(e){Zr=!0,Ss(e)}function dn(){if(!_l&&je!==null){_l=!0;var e=0,n=M;try{var t=je;for(M=1;e>=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 O(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&&Ju(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,O(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 O}var Jn=_s(!0),Ns=_s(!1),Fr=fn(null),Or=null,Vn=null,$i=null;function Ki(){$i=Vn=Or=null}function Yi(e){var n=Fr.current;F(Fr),e._currentValue=n}function ai(e,n,t){for(;e!==null;){var r=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,r!==null&&(r.childLanes|=n)):r!==null&&(r.childLanes&n)!==n&&(r.childLanes|=n),e===t)break;e=e.return}}function Kn(e,n){Or=e,$i=Vn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&n&&(oe=!0),e.firstContext=null)}function Se(e){var n=e._currentValue;if($i!==e)if(e={context:e,memoizedValue:n,next:null},Vn===null){if(Or===null)throw Error(y(308));Vn=e,Or.dependencies={lanes:0,firstContext:e}}else Vn=Vn.next=e;return n}var gn=null;function Xi(e){gn===null?gn=[e]:gn.push(e)}function zs(e,n,t,r){var l=n.interleaved;return l===null?(t.next=t,Xi(n)):(t.next=l.next,l.next=t),n.interleaved=t,Qe(e,r)}function Qe(e,n){e.lanes|=n;var t=e.alternate;for(t!==null&&(t.lanes|=n),t=e,e=e.return;e!==null;)e.childLanes|=n,t=e.alternate,t!==null&&(t.childLanes|=n),t=e,e=e.return;return t.tag===3?t.stateNode:null}var Xe=!1;function Gi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ps(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ae(e,n){return{eventTime:e,lane:n,tag:0,payload:null,callback:null,next:null}}function rn(e,n,t){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,L&2){var l=r.pending;return l===null?n.next=n:(n.next=l.next,l.next=n),r.pending=n,Qe(e,t)}return l=r.interleaved,l===null?(n.next=n,Xi(r)):(n.next=l.next,l.next=n),r.interleaved=n,Qe(e,t)}function mr(e,n,t){if(n=n.updateQueue,n!==null&&(n=n.shared,(t&4194240)!==0)){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,Fi(e,t)}}function qu(e,n){var t=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,t===r)){var l=null,i=null;if(t=t.firstBaseUpdate,t!==null){do{var u={eventTime:t.eventTime,lane:t.lane,tag:t.tag,payload:t.payload,callback:t.callback,next:null};i===null?l=i=u:i=i.next=u,t=t.next}while(t!==null);i===null?l=i=n:i=i.next=n}else l=i=n;t={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=t;return}e=t.lastBaseUpdate,e===null?t.firstBaseUpdate=n:e.next=n,t.lastBaseUpdate=n}function Ir(e,n,t,r){var l=e.updateQueue;Xe=!1;var i=l.firstBaseUpdate,u=l.lastBaseUpdate,o=l.shared.pending;if(o!==null){l.shared.pending=null;var s=o,d=s.next;s.next=null,u===null?i=d:u.next=d,u=s;var v=e.alternate;v!==null&&(v=v.updateQueue,o=v.lastBaseUpdate,o!==u&&(o===null?v.firstBaseUpdate=d:o.next=d,v.lastBaseUpdate=s))}if(i!==null){var m=l.baseState;u=0,v=d=s=null,o=i;do{var p=o.lane,g=o.eventTime;if((r&p)===p){v!==null&&(v=v.next={eventTime:g,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var w=e,k=o;switch(p=n,g=t,k.tag){case 1:if(w=k.payload,typeof w=="function"){m=w.call(g,m,p);break e}m=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=k.payload,p=typeof w=="function"?w.call(g,m,p):w,p==null)break e;m=V({},m,p);break e;case 2:Xe=!0}}o.callback!==null&&o.lane!==0&&(e.flags|=64,p=l.effects,p===null?l.effects=[o]:p.push(o))}else g={eventTime:g,lane:p,tag:o.tag,payload:o.payload,callback:o.callback,next:null},v===null?(d=v=g,s=m):v=v.next=g,u|=p;if(o=o.next,o===null){if(o=l.shared.pending,o===null)break;p=o,o=p.next,p.next=null,l.lastBaseUpdate=p,l.shared.pending=null}}while(!0);if(v===null&&(s=m),l.baseState=s,l.firstBaseUpdate=d,l.lastBaseUpdate=v,n=l.shared.interleaved,n!==null){l=n;do u|=l.lane,l=l.next;while(l!==n)}else i===null&&(l.shared.lanes=0);_n|=u,e.lanes=u,e.memoizedState=m}}function bu(e,n,t){if(e=n.effects,n.effects=null,e!==null)for(n=0;nt?t:4,e(!0);var r=zl.transition;zl.transition={};try{e(!1),n()}finally{M=t,zl.transition=r}}function $s(){return Ee().memoizedState}function nf(e,n,t){var r=un(e);if(t={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null},Ks(e))Ys(n,t);else if(t=zs(e,n,t,r),t!==null){var l=le();Te(t,e,r,l),Xs(t,n,r)}}function tf(e,n,t){var r=un(e),l={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null};if(Ks(e))Ys(n,l);else{var 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=zs(e,n,l,r),t!==null&&(l=le(),Te(t,e,r,l),Xs(t,n,r))}}function Ks(e){var n=e.alternate;return e===U||n!==null&&n===U}function Ys(e,n){Et=Ur=!0;var t=e.pending;t===null?n.next=n:(n.next=t.next,t.next=n),e.pending=n}function Xs(e,n,t){if(t&4194240){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,Fi(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},rf={readContext:Se,useCallback:function(e,n){return De().memoizedState=[e,n===void 0?null:n],e},useContext:Se,useEffect:no,useImperativeHandle:function(e,n,t){return t=t!=null?t.concat([e]):null,hr(4194308,4,As.bind(null,n,e),t)},useLayoutEffect:function(e,n){return hr(4194308,4,e,n)},useInsertionEffect:function(e,n){return hr(4,2,e,n)},useMemo:function(e,n){var t=De();return n=n===void 0?null:n,e=e(),t.memoizedState=[e,n],e},useReducer:function(e,n,t){var r=De();return n=t!==void 0?t(n):n,r.memoizedState=r.baseState=n,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},r.queue=e,e=e.dispatch=nf.bind(null,U,e),[r.memoizedState,e]},useRef:function(e){var n=De();return e={current:e},n.memoizedState=e},useState:eo,useDebugValue:ru,useDeferredValue:function(e){return De().memoizedState=e},useTransition:function(){var e=eo(!1),n=e[0];return e=ef.bind(null,e[1]),De().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,t){var r=U,l=De();if(I){if(t===void 0)throw Error(y(407));t=t()}else{if(t=n(),G===null)throw Error(y(349));xn&30||Ds(r,n,t)}l.memoizedState=t;var i={value:t,getSnapshot:n};return l.queue=i,no(Fs.bind(null,r,i,e),[e]),r.flags|=2048,Bt(9,Rs.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,la(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 df(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(),F(se),F(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(F(j),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(y(340));Zn()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return F(j),null;case 4:return qn(),null;case 10:return Yi(n.type._context),null;case 22:case 23:return au(),null;case 24:return null;default:return null}}var sr=!1,ne=!1,pf=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 mf(e,n){if(ni=Nr,e=fs(),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,O=w.memoizedState,c=n.stateNode,a=c.getSnapshotBeforeUpdate(n.elementType===n.type?k:_e(n.type,k),O);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 oa(e){var n=e.alternate;n!==null&&(e.alternate=null,oa(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&(delete n[Re],delete n[It],delete n[ii],delete n[Gc],delete n[Zc])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function sa(e){return e.tag===5||e.tag===3||e.tag===4}function mo(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||sa(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function 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;)aa(e,n,t),t=t.sibling}function aa(e,n,t){if(Fe&&typeof Fe.onCommitFiberUnmount=="function")try{Fe.onCommitFiberUnmount($r,t)}catch{}switch(t.tag){case 5:ne||An(t,n);case 6:var r=Z,l=Ne;Z=null,Ke(e,n,t),Z=r,Ne=l,Z!==null&&(Ne?(e=Z,t=t.stateNode,e.nodeType===8?e.parentNode.removeChild(t):e.removeChild(t)):Z.removeChild(t.stateNode));break;case 18:Z!==null&&(Ne?(e=Z,t=t.stateNode,e.nodeType===8?xl(e.parentNode,t):e.nodeType===1&&xl(e,t),Mt(e)):xl(Z,t.stateNode));break;case 4:r=Z,l=Ne,Z=t.stateNode.containerInfo,Ne=!0,Ke(e,n,t),Z=r,Ne=l;break;case 0:case 11:case 14:case 15:if(!ne&&(r=t.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var 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 pf),n.forEach(function(r){var l=Cf.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*hf(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 ya(e,n){n===0&&(e.mode&1?(n=bt,bt<<=1,!(bt&130023424)&&(bt=4194304)):n=1);var t=le();e=Qe(e,n),e!==null&&(Qt(e,n,t),ce(e,t))}function Ef(e){var n=e.memoizedState,t=0;n!==null&&(t=n.retryLane),ya(e,t)}function Cf(e,n){var t=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(t=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(y(314))}r!==null&&r.delete(n),ya(e,t)}var ga;ga=function(e,n,t){if(e!==null)if(e.memoizedProps!==n.pendingProps||se.current)oe=!0;else{if(!(e.lanes&t)&&!(n.flags&128))return oe=!1,cf(e,n,t);oe=!!(e.flags&131072)}else oe=!1,I&&n.flags&1048576&&Es(n,Rr,n.index);switch(n.lanes=0,n.tag){case 2:var r=n.type;yr(e,n),e=n.pendingProps;var l=Gn(n,te.current);Kn(n,t),l=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=qr,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=_f(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(na(n),e===null)throw Error(y(387));r=n.pendingProps,i=n.memoizedState,l=i.element,Ps(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=Ns(n,null,r,t),n.child=t;t;)t.flags=t.flags&-3|4096,t=t.sibling;else{if(Zn(),r===l){n=We(e,n,t);break e}re(e,n,r,t)}n=n.child}return n;case 5:return Ts(n),e===null&&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),ea(e,n),re(e,n,u,t),n.child;case 6:return e===null&&si(n),null;case 13:return ta(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(Fr,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 qs(e,n,n.type,n.pendingProps,t);case 17:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:_e(r,l),yr(e,n),n.tag=1,ae(r)?(e=!0,Mr(n)):e=!1,Kn(n,t),Gs(n,r,l),fi(n,r,l,t),mi(null,n,r,!0,e,t);case 19:return ra(e,n,t);case 22:return bs(e,n,t)}throw Error(y(156,n.tag))};function wa(e,n){return Ko(e,n)}function xf(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 xf(e,n,t,r)}function fu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function _f(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 Ol:return e=we(12,t,n,l|2),e.elementType=Ol,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 To:return nl(t,l,i,n);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case zo:u=10;break e;case Po: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=To,e.lanes=t,e.stateNode={isHidden:!1},e}function Dl(e,n,t){return e=we(6,e,null,n),e.lanes=t,e}function Rl(e,n,t){return n=we(4,e.children!==null?e.children:[],e.key,n),n.lanes=t,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function Nf(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 Nf(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 zf(e,n,t){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Ca)}catch(e){console.error(e)}}Ca(),Co.exports=ve;var Df=Co.exports;const Ff=Na(Df);export{Ff as b,Df 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 of=typeof WeakMap=="function"?WeakMap:Map;function Zs(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 Js(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 of;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=Sf.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 sf=$e.ReactCurrentOwner,oe=!1;function re(e,n,t,r){n.child=e===null?Ns(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,qs(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 qs(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 bs(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 ea(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),Gs(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)&&ro(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||to(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,Ps(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)&&ro(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||to(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){ea(e,n);var u=(n.flags&128)!==0;if(!r&&!u)return l&&Xu(n,t,!1),We(e,n,i);r=n.stateNode,sf.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 na(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 ta(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 af(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 af(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=Ef.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 ra(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 cf(e,n,t){switch(n.tag){case 3:na(n),Zn();break;case 5:Ts(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(Fr,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?ta(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 ra(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,bs(e,n,t)}return We(e,n,t)}var la,yi,ia,ua;la=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(){};ia=function(e,n,t,r){var l=e.memoizedProps;if(l!==r){e=n.stateNode,wn(Oe.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)}};ua=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 ff(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(),F(se),F(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)ia(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(Oe.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,la(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 df(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(),F(se),F(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(F(j),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(y(340));Zn()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return F(j),null;case 4:return qn(),null;case 10:return Yi(n.type._context),null;case 22:case 23:return au(),null;case 24:return null;default:return null}}var sr=!1,ne=!1,pf=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 mf(e,n){if(ni=Nr,e=fs(),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,O=w.memoizedState,c=n.stateNode,a=c.getSnapshotBeforeUpdate(n.elementType===n.type?k:_e(n.type,k),O);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 oa(e){var n=e.alternate;n!==null&&(e.alternate=null,oa(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&(delete n[Re],delete n[It],delete n[ii],delete n[Gc],delete n[Zc])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function sa(e){return e.tag===5||e.tag===3||e.tag===4}function mo(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||sa(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function 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;)aa(e,n,t),t=t.sibling}function aa(e,n,t){if(Fe&&typeof Fe.onCommitFiberUnmount=="function")try{Fe.onCommitFiberUnmount($r,t)}catch{}switch(t.tag){case 5:ne||An(t,n);case 6:var r=Z,l=Ne;Z=null,Ke(e,n,t),Z=r,Ne=l,Z!==null&&(Ne?(e=Z,t=t.stateNode,e.nodeType===8?e.parentNode.removeChild(t):e.removeChild(t)):Z.removeChild(t.stateNode));break;case 18:Z!==null&&(Ne?(e=Z,t=t.stateNode,e.nodeType===8?xl(e.parentNode,t):e.nodeType===1&&xl(e,t),Mt(e)):xl(Z,t.stateNode));break;case 4:r=Z,l=Ne,Z=t.stateNode.containerInfo,Ne=!0,Ke(e,n,t),Z=r,Ne=l;break;case 0:case 11:case 14:case 15:if(!ne&&(r=t.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var 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 pf),n.forEach(function(r){var l=Cf.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*hf(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 ya(e,n){n===0&&(e.mode&1?(n=bt,bt<<=1,!(bt&130023424)&&(bt=4194304)):n=1);var t=le();e=Qe(e,n),e!==null&&(Qt(e,n,t),ce(e,t))}function Ef(e){var n=e.memoizedState,t=0;n!==null&&(t=n.retryLane),ya(e,t)}function Cf(e,n){var t=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(t=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(y(314))}r!==null&&r.delete(n),ya(e,t)}var ga;ga=function(e,n,t){if(e!==null)if(e.memoizedProps!==n.pendingProps||se.current)oe=!0;else{if(!(e.lanes&t)&&!(n.flags&128))return oe=!1,cf(e,n,t);oe=!!(e.flags&131072)}else oe=!1,I&&n.flags&1048576&&Es(n,Rr,n.index);switch(n.lanes=0,n.tag){case 2:var r=n.type;yr(e,n),e=n.pendingProps;var l=Gn(n,te.current);Kn(n,t),l=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=qr,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=_f(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(na(n),e===null)throw Error(y(387));r=n.pendingProps,i=n.memoizedState,l=i.element,Ps(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=Ns(n,null,r,t),n.child=t;t;)t.flags=t.flags&-3|4096,t=t.sibling;else{if(Zn(),r===l){n=We(e,n,t);break e}re(e,n,r,t)}n=n.child}return n;case 5:return Ts(n),e===null&&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),ea(e,n),re(e,n,u,t),n.child;case 6:return e===null&&si(n),null;case 13:return ta(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(Fr,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 qs(e,n,n.type,n.pendingProps,t);case 17:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:_e(r,l),yr(e,n),n.tag=1,ae(r)?(e=!0,Mr(n)):e=!1,Kn(n,t),Gs(n,r,l),fi(n,r,l,t),mi(null,n,r,!0,e,t);case 19:return ra(e,n,t);case 22:return bs(e,n,t)}throw Error(y(156,n.tag))};function wa(e,n){return Ko(e,n)}function xf(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 xf(e,n,t,r)}function fu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function _f(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 Ol:return e=we(12,t,n,l|2),e.elementType=Ol,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 To:return nl(t,l,i,n);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case zo:u=10;break e;case Po: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=To,e.lanes=t,e.stateNode={isHidden:!1},e}function Dl(e,n,t){return e=we(6,e,null,n),e.lanes=t,e}function Rl(e,n,t){return n=we(4,e.children!==null?e.children:[],e.key,n),n.lanes=t,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function Nf(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 Nf(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 zf(e,n,t){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Ca)}catch(e){console.error(e)}}Ca(),Co.exports=ve;var Df=Co.exports;const Ff=Na(Df);export{Ff as E,Df as r}; diff --git a/assets/index-BwmOyQc7.js b/assets/index-BwmOyQc7.js new file mode 100644 index 00000000..78ee5838 --- /dev/null +++ b/assets/index-BwmOyQc7.js @@ -0,0 +1 @@ +import{m as l,a as c,V as T,K as b,P as d,g as S,L as B,b as L,v as C,w as H,c as u,y as g,$ as y,d as I,e as h,H as k,f as P,D as W,x as A,C as F,E as x,S as D,R,I as f,h as v,i as E,A as M,F as N,j as q,k as w,s as O,N as U,l as Z,T as j,Z as z,n as G,o as J,p as K,W as Q,U as V,q as X,Q as Y,J as _,r as $,t as aa,B as sa,u as oa,z as ta,M as ea,G as ra,O as pa,X as ia,Y as na,_ as ma,a0 as la,a1 as ca,a2 as Ta,a3 as ba,a4 as da,a5 as Sa,a6 as Ba,a7 as La,a8 as Ca,a9 as Ha,aa as ua,ab as ga,ac as ya,ad as Ia}from"./index-D4CCEPie.js";import"./iframe-B1Sidt8M.js";import"../sb-preview/runtime.js";import"./index-0d5eMwbi.js";import"./jsx-runtime-C798UXYj.js";import"./index-BoyHNU0R.js";import"./index-D-8MO0q_.js";import"./index-CxJhtZoZ.js";import"./index-DrFu-skq.js";export{l as A,c as ActionBar,T as AddonPanel,b as Badge,d as Bar,S as Blockquote,B as Button,L as ClipboardCode,C as Code,H as DL,u as Div,g as DocumentWrapper,y as EmptyTabContent,I as ErrorFormatter,h as FlexBar,k as Form,P as H1,W as H2,A as H3,F as H4,x as H5,D as H6,R as HR,f as IconButton,v as IconButtonSkeleton,E as Icons,M as Img,N as LI,q as Link,w as ListItem,O as Loader,U as Modal,Z as OL,j as P,z as Placeholder,G as Pre,J as ResetWrapper,K as ScrollArea,Q as Separator,V as Spaced,X as Span,Y as StorybookIcon,_ as StorybookLogo,$ as Symbols,aa as SyntaxHighlighter,sa as TT,oa as TabBar,ta as TabButton,ea as TabWrapper,ra as Table,pa as Tabs,ia as TabsState,na as TooltipLinkList,ma as TooltipMessage,la as TooltipNote,ca as UL,Ta as WithTooltip,ba as WithTooltipPure,da as Zoom,Sa as codeCommon,Ba as components,La as createCopyToClipboardFunction,Ca as getStoryHref,Ha as icons,ua as interleaveSeparators,ga as nameSpaceClassNames,ya as resetComponents,Ia as withReset}; diff --git a/assets/index-CxJhtZoZ.js b/assets/index-CxJhtZoZ.js new file mode 100644 index 00000000..f6c0dd9d --- /dev/null +++ b/assets/index-CxJhtZoZ.js @@ -0,0 +1,8 @@ +import{c as tn}from"./index-0d5eMwbi.js";var Ue={exports:{}};(function(r,t){(function(n,a){a(t)})(tn,function(n){function a(e){return e.text!==void 0&&e.text!==""?`'${e.type}' with value '${e.text}'`:`'${e.type}'`}class s extends Error{constructor(o){super(`No parslet found for token: ${a(o)}`),this.token=o,Object.setPrototypeOf(this,s.prototype)}getToken(){return this.token}}class i extends Error{constructor(o){super(`The parsing ended early. The next token was: ${a(o)}`),this.token=o,Object.setPrototypeOf(this,i.prototype)}getToken(){return this.token}}class l extends Error{constructor(o,c){let d=`Unexpected type: '${o.type}'.`;c!==void 0&&(d+=` Message: ${c}`),super(d),Object.setPrototypeOf(this,l.prototype)}}function p(e){return o=>o.startsWith(e)?{type:e,text:e}:null}function u(e){let o=0,c;const d=e[0];let h=!1;if(d!=="'"&&d!=='"')return null;for(;o{const o=v(e);return o==null?null:{type:"Identifier",text:o}};function x(e){return o=>{if(!o.startsWith(e))return null;const c=o[e.length];return c!==void 0&&T.test(c)?null:{type:e,text:e}}}const U=e=>{const o=u(e);return o==null?null:{type:"StringValue",text:o}},R=e=>e.length>0?null:{type:"EOF",text:""},A=e=>{const o=b(e);return o===null?null:{type:"Number",text:o}},j=[R,p("=>"),p("("),p(")"),p("{"),p("}"),p("["),p("]"),p("|"),p("&"),p("<"),p(">"),p(","),p(";"),p("*"),p("?"),p("!"),p("="),p(":"),p("..."),p("."),p("#"),p("~"),p("/"),p("@"),x("undefined"),x("null"),x("function"),x("this"),x("new"),x("module"),x("event"),x("external"),x("typeof"),x("keyof"),x("readonly"),x("import"),x("is"),x("in"),x("asserts"),A,E,U],S=/^\s*\n\s*/;class L{static create(o){const c=this.read(o);o=c.text;const d=this.read(o);return o=d.text,new L(o,void 0,c.token,d.token)}constructor(o,c,d,h){this.text="",this.text=o,this.previous=c,this.current=d,this.next=h}static read(o,c=!1){c=c||S.test(o),o=o.trim();for(const d of j){const h=d(o);if(h!==null){const w=Object.assign(Object.assign({},h),{startOfLine:c});return o=o.slice(w.text.length),{text:o,token:w}}}throw new Error("Unexpected Token "+o)}advance(){const o=L.read(this.text);return new L(o.text,this.current,this.next,o.token)}}function J(e){if(e===void 0)throw new Error("Unexpected undefined");if(e.type==="JsdocTypeKeyValue"||e.type==="JsdocTypeParameterList"||e.type==="JsdocTypeProperty"||e.type==="JsdocTypeReadonlyProperty"||e.type==="JsdocTypeObjectField"||e.type==="JsdocTypeJsdocObjectField"||e.type==="JsdocTypeIndexSignature"||e.type==="JsdocTypeMappedType")throw new l(e);return e}function V(e){return e.type==="JsdocTypeKeyValue"?O(e):J(e)}function k(e){return e.type==="JsdocTypeName"?e:O(e)}function O(e){if(e.type!=="JsdocTypeKeyValue")throw new l(e);return e}function C(e){var o;if(e.type==="JsdocTypeVariadic"){if(((o=e.element)===null||o===void 0?void 0:o.type)==="JsdocTypeName")return e;throw new l(e)}if(e.type!=="JsdocTypeNumber"&&e.type!=="JsdocTypeName")throw new l(e);return e}function $(e){return e.type==="JsdocTypeIndexSignature"||e.type==="JsdocTypeMappedType"}var g;(function(e){e[e.ALL=0]="ALL",e[e.PARAMETER_LIST=1]="PARAMETER_LIST",e[e.OBJECT=2]="OBJECT",e[e.KEY_VALUE=3]="KEY_VALUE",e[e.INDEX_BRACKETS=4]="INDEX_BRACKETS",e[e.UNION=5]="UNION",e[e.INTERSECTION=6]="INTERSECTION",e[e.PREFIX=7]="PREFIX",e[e.INFIX=8]="INFIX",e[e.TUPLE=9]="TUPLE",e[e.SYMBOL=10]="SYMBOL",e[e.OPTIONAL=11]="OPTIONAL",e[e.NULLABLE=12]="NULLABLE",e[e.KEY_OF_TYPE_OF=13]="KEY_OF_TYPE_OF",e[e.FUNCTION=14]="FUNCTION",e[e.ARROW=15]="ARROW",e[e.ARRAY_BRACKETS=16]="ARRAY_BRACKETS",e[e.GENERIC=17]="GENERIC",e[e.NAME_PATH=18]="NAME_PATH",e[e.PARENTHESIS=19]="PARENTHESIS",e[e.SPECIAL_TYPES=20]="SPECIAL_TYPES"})(g||(g={}));class P{constructor(o,c,d){this.grammar=o,typeof c=="string"?this._lexer=L.create(c):this._lexer=c,this.baseParser=d}get lexer(){return this._lexer}parse(){const o=this.parseType(g.ALL);if(this.lexer.current.type!=="EOF")throw new i(this.lexer.current);return o}parseType(o){return J(this.parseIntermediateType(o))}parseIntermediateType(o){const c=this.tryParslets(null,o);if(c===null)throw new s(this.lexer.current);return this.parseInfixIntermediateType(c,o)}parseInfixIntermediateType(o,c){let d=this.tryParslets(o,c);for(;d!==null;)o=d,d=this.tryParslets(o,c);return o}tryParslets(o,c){for(const d of this.grammar){const h=d(this,c,o);if(h!==null)return h}return null}consume(o){return Array.isArray(o)||(o=[o]),o.includes(this.lexer.current.type)?(this._lexer=this.lexer.advance(),!0):!1}acceptLexerState(o){this._lexer=o.lexer}}function Y(e){return e==="EOF"||e==="|"||e===","||e===")"||e===">"}const B=(e,o,c)=>{const d=e.lexer.current.type,h=e.lexer.next.type;return c==null&&d==="?"&&!Y(h)||c!=null&&d==="?"?(e.consume("?"),c==null?{type:"JsdocTypeNullable",element:e.parseType(g.NULLABLE),meta:{position:"prefix"}}:{type:"JsdocTypeNullable",element:J(c),meta:{position:"suffix"}}):null};function I(e){const o=(c,d,h)=>{const w=c.lexer.current.type,N=c.lexer.next.type;if(h===null){if("parsePrefix"in e&&e.accept(w,N))return e.parsePrefix(c)}else if("parseInfix"in e&&e.precedence>d&&e.accept(w,N))return e.parseInfix(c,h);return null};return Object.defineProperty(o,"name",{value:e.name}),o}const z=I({name:"optionalParslet",accept:e=>e==="=",precedence:g.OPTIONAL,parsePrefix:e=>(e.consume("="),{type:"JsdocTypeOptional",element:e.parseType(g.OPTIONAL),meta:{position:"prefix"}}),parseInfix:(e,o)=>(e.consume("="),{type:"JsdocTypeOptional",element:J(o),meta:{position:"suffix"}})}),se=I({name:"numberParslet",accept:e=>e==="Number",parsePrefix:e=>{const o=parseFloat(e.lexer.current.text);return e.consume("Number"),{type:"JsdocTypeNumber",value:o}}}),xr=I({name:"parenthesisParslet",accept:e=>e==="(",parsePrefix:e=>{if(e.consume("("),e.consume(")"))return{type:"JsdocTypeParameterList",elements:[]};const o=e.parseIntermediateType(g.ALL);if(!e.consume(")"))throw new Error("Unterminated parenthesis");return o.type==="JsdocTypeParameterList"?o:o.type==="JsdocTypeKeyValue"?{type:"JsdocTypeParameterList",elements:[o]}:{type:"JsdocTypeParenthesis",element:J(o)}}}),_r=I({name:"specialTypesParslet",accept:(e,o)=>e==="?"&&Y(o)||e==="null"||e==="undefined"||e==="*",parsePrefix:e=>{if(e.consume("null"))return{type:"JsdocTypeNull"};if(e.consume("undefined"))return{type:"JsdocTypeUndefined"};if(e.consume("*"))return{type:"JsdocTypeAny"};if(e.consume("?"))return{type:"JsdocTypeUnknown"};throw new Error("Unacceptable token: "+e.lexer.current.text)}}),Er=I({name:"notNullableParslet",accept:e=>e==="!",precedence:g.NULLABLE,parsePrefix:e=>(e.consume("!"),{type:"JsdocTypeNotNullable",element:e.parseType(g.NULLABLE),meta:{position:"prefix"}}),parseInfix:(e,o)=>(e.consume("!"),{type:"JsdocTypeNotNullable",element:J(o),meta:{position:"suffix"}})});function Nr({allowTrailingComma:e}){return I({name:"parameterListParslet",accept:o=>o===",",precedence:g.PARAMETER_LIST,parseInfix:(o,c)=>{const d=[V(c)];o.consume(",");do try{const h=o.parseIntermediateType(g.PARAMETER_LIST);d.push(V(h))}catch(h){if(e&&h instanceof s)break;throw h}while(o.consume(","));if(d.length>0&&d.slice(0,-1).some(h=>h.type==="JsdocTypeVariadic"))throw new Error("Only the last parameter may be a rest parameter");return{type:"JsdocTypeParameterList",elements:d}}})}const Pr=I({name:"genericParslet",accept:(e,o)=>e==="<"||e==="."&&o==="<",precedence:g.GENERIC,parseInfix:(e,o)=>{const c=e.consume(".");e.consume("<");const d=[];do d.push(e.parseType(g.PARAMETER_LIST));while(e.consume(","));if(!e.consume(">"))throw new Error("Unterminated generic parameter list");return{type:"JsdocTypeGeneric",left:J(o),elements:d,meta:{brackets:"angle",dot:c}}}}),Or=I({name:"unionParslet",accept:e=>e==="|",precedence:g.UNION,parseInfix:(e,o)=>{e.consume("|");const c=[];do c.push(e.parseType(g.UNION));while(e.consume("|"));return{type:"JsdocTypeUnion",elements:[J(o),...c]}}}),Oe=[B,z,se,xr,_r,Er,Nr({allowTrailingComma:!0}),Pr,Or,z];function he({allowSquareBracketsOnAnyType:e,allowJsdocNamePaths:o,pathGrammar:c}){return function(h,w,N){if(N==null||w>=g.NAME_PATH)return null;const F=h.lexer.current.type,q=h.lexer.next.type;if(!(F==="."&&q!=="<"||F==="["&&(e||N.type==="JsdocTypeName")||o&&(F==="~"||F==="#")))return null;let G,be=!1;h.consume(".")?G="property":h.consume("[")?(G="property-brackets",be=!0):h.consume("~")?G="inner":(h.consume("#"),G="instance");const dt=c!==null?new P(c,h.lexer,h):h,W=dt.parseIntermediateType(g.NAME_PATH);h.acceptLexerState(dt);let pe;switch(W.type){case"JsdocTypeName":pe={type:"JsdocTypeProperty",value:W.value,meta:{quote:void 0}};break;case"JsdocTypeNumber":pe={type:"JsdocTypeProperty",value:W.value.toString(10),meta:{quote:void 0}};break;case"JsdocTypeStringValue":pe={type:"JsdocTypeProperty",value:W.value,meta:{quote:W.meta.quote}};break;case"JsdocTypeSpecialNamePath":if(W.specialType==="event")pe=W;else throw new l(W,"Type 'JsdocTypeSpecialNamePath' is only allowed with specialType 'event'");break;default:throw new l(W,"Expecting 'JsdocTypeName', 'JsdocTypeNumber', 'JsdocStringValue' or 'JsdocTypeSpecialNamePath'")}if(be&&!h.consume("]")){const ft=h.lexer.current;throw new Error(`Unterminated square brackets. Next token is '${ft.type}' with text '${ft.text}'`)}return{type:"JsdocTypeNamePath",left:J(N),right:pe,pathType:G}}}function Q({allowedAdditionalTokens:e}){return I({name:"nameParslet",accept:o=>o==="Identifier"||o==="this"||o==="new"||e.includes(o),parsePrefix:o=>{const{type:c,text:d}=o.lexer.current;return o.consume(c),{type:"JsdocTypeName",value:d}}})}const ce=I({name:"stringValueParslet",accept:e=>e==="StringValue",parsePrefix:e=>{const o=e.lexer.current.text;return e.consume("StringValue"),{type:"JsdocTypeStringValue",value:o.slice(1,-1),meta:{quote:o[0]==="'"?"single":"double"}}}});function ve({pathGrammar:e,allowedTypes:o}){return I({name:"specialNamePathParslet",accept:c=>o.includes(c),parsePrefix:c=>{const d=c.lexer.current.type;if(c.consume(d),!c.consume(":"))return{type:"JsdocTypeName",value:d};let h,w=c.lexer.current;if(c.consume("StringValue"))h={type:"JsdocTypeSpecialNamePath",value:w.text.slice(1,-1),specialType:d,meta:{quote:w.text[0]==="'"?"single":"double"}};else{let q="";const K=["Identifier","@","/"];for(;K.some(G=>c.consume(G));)q+=w.text,w=c.lexer.current;h={type:"JsdocTypeSpecialNamePath",value:q,specialType:d,meta:{quote:void 0}}}const N=new P(e,c.lexer,c),F=N.parseInfixIntermediateType(h,g.ALL);return c.acceptLexerState(N),J(F)}})}const at=[Q({allowedAdditionalTokens:["external","module"]}),ce,se,he({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:null})],ie=[...at,ve({allowedTypes:["event"],pathGrammar:at})];function Se(e){let o;if(e.type==="JsdocTypeParameterList")o=e.elements;else if(e.type==="JsdocTypeParenthesis")o=[e.element];else throw new l(e);return o.map(c=>V(c))}function Sr(e){const o=Se(e);if(o.some(c=>c.type==="JsdocTypeKeyValue"))throw new Error("No parameter should be named");return o}function je({allowNamedParameters:e,allowNoReturnType:o,allowWithoutParenthesis:c,allowNewAsFunctionKeyword:d}){return I({name:"functionParslet",accept:(h,w)=>h==="function"||d&&h==="new"&&w==="(",parsePrefix:h=>{const w=h.consume("new");h.consume("function");const N=h.lexer.current.type==="(";if(!N){if(!c)throw new Error("function is missing parameter list");return{type:"JsdocTypeName",value:"function"}}let F={type:"JsdocTypeFunction",parameters:[],arrow:!1,constructor:w,parenthesis:N};const q=h.parseIntermediateType(g.FUNCTION);if(e===void 0)F.parameters=Sr(q);else{if(w&&q.type==="JsdocTypeFunction"&&q.arrow)return F=q,F.constructor=!0,F;F.parameters=Se(q);for(const K of F.parameters)if(K.type==="JsdocTypeKeyValue"&&!e.includes(K.key))throw new Error(`only allowed named parameters are ${e.join(", ")} but got ${K.type}`)}if(h.consume(":"))F.returnType=h.parseType(g.PREFIX);else if(!o)throw new Error("function is missing return type");return F}})}function ke({allowPostfix:e,allowEnclosingBrackets:o}){return I({name:"variadicParslet",accept:c=>c==="...",precedence:g.PREFIX,parsePrefix:c=>{c.consume("...");const d=o&&c.consume("[");try{const h=c.parseType(g.PREFIX);if(d&&!c.consume("]"))throw new Error("Unterminated variadic type. Missing ']'");return{type:"JsdocTypeVariadic",element:J(h),meta:{position:"prefix",squareBrackets:d}}}catch(h){if(h instanceof s){if(d)throw new Error("Empty square brackets for variadic are not allowed.");return{type:"JsdocTypeVariadic",meta:{position:void 0,squareBrackets:!1}}}else throw h}},parseInfix:e?(c,d)=>(c.consume("..."),{type:"JsdocTypeVariadic",element:J(d),meta:{position:"suffix",squareBrackets:!1}}):void 0})}const ot=I({name:"symbolParslet",accept:e=>e==="(",precedence:g.SYMBOL,parseInfix:(e,o)=>{if(o.type!=="JsdocTypeName")throw new Error("Symbol expects a name on the left side. (Reacting on '(')");e.consume("(");const c={type:"JsdocTypeSymbol",value:o.value};if(!e.consume(")")){const d=e.parseIntermediateType(g.SYMBOL);if(c.element=C(d),!e.consume(")"))throw new Error("Symbol does not end after value")}return c}}),st=I({name:"arrayBracketsParslet",precedence:g.ARRAY_BRACKETS,accept:(e,o)=>e==="["&&o==="]",parseInfix:(e,o)=>(e.consume("["),e.consume("]"),{type:"JsdocTypeGeneric",left:{type:"JsdocTypeName",value:"Array"},elements:[J(o)],meta:{brackets:"square",dot:!1}})});function Ae({objectFieldGrammar:e,allowKeyTypes:o}){return I({name:"objectParslet",accept:c=>c==="{",parsePrefix:c=>{c.consume("{");const d={type:"JsdocTypeObject",meta:{separator:"comma"},elements:[]};if(!c.consume("}")){let h;const w=new P(e,c.lexer,c);for(;;){w.acceptLexerState(c);let N=w.parseIntermediateType(g.OBJECT);c.acceptLexerState(w),N===void 0&&o&&(N=c.parseIntermediateType(g.OBJECT));let F=!1;if(N.type==="JsdocTypeNullable"&&(F=!0,N=N.element),N.type==="JsdocTypeNumber"||N.type==="JsdocTypeName"||N.type==="JsdocTypeStringValue"){let K;N.type==="JsdocTypeStringValue"&&(K=N.meta.quote),d.elements.push({type:"JsdocTypeObjectField",key:N.value.toString(),right:void 0,optional:F,readonly:!1,meta:{quote:K}})}else if(N.type==="JsdocTypeObjectField"||N.type==="JsdocTypeJsdocObjectField")d.elements.push(N);else throw new l(N);if(c.lexer.current.startOfLine)h="linebreak";else if(c.consume(","))h="comma";else if(c.consume(";"))h="semicolon";else break;if(c.lexer.current.type==="}")break}if(d.meta.separator=h??"comma",!c.consume("}"))throw new Error("Unterminated record type. Missing '}'")}return d}})}function Ie({allowSquaredProperties:e,allowKeyTypes:o,allowReadonly:c,allowOptional:d}){return I({name:"objectFieldParslet",precedence:g.KEY_VALUE,accept:h=>h===":",parseInfix:(h,w)=>{var N;let F=!1,q=!1;d&&w.type==="JsdocTypeNullable"&&(F=!0,w=w.element),c&&w.type==="JsdocTypeReadonlyProperty"&&(q=!0,w=w.element);const K=(N=h.baseParser)!==null&&N!==void 0?N:h;if(K.acceptLexerState(h),w.type==="JsdocTypeNumber"||w.type==="JsdocTypeName"||w.type==="JsdocTypeStringValue"||$(w)){if($(w)&&!e)throw new l(w);K.consume(":");let G;w.type==="JsdocTypeStringValue"&&(G=w.meta.quote);const be=K.parseType(g.KEY_VALUE);return h.acceptLexerState(K),{type:"JsdocTypeObjectField",key:$(w)?w:w.value.toString(),right:be,optional:F,readonly:q,meta:{quote:G}}}else{if(!o)throw new l(w);K.consume(":");const G=K.parseType(g.KEY_VALUE);return h.acceptLexerState(K),{type:"JsdocTypeJsdocObjectField",left:J(w),right:G}}}})}function Re({allowOptional:e,allowVariadic:o}){return I({name:"keyValueParslet",precedence:g.KEY_VALUE,accept:c=>c===":",parseInfix:(c,d)=>{let h=!1,w=!1;if(e&&d.type==="JsdocTypeNullable"&&(h=!0,d=d.element),o&&d.type==="JsdocTypeVariadic"&&d.element!==void 0&&(w=!0,d=d.element),d.type!=="JsdocTypeName")throw new l(d);c.consume(":");const N=c.parseType(g.KEY_VALUE);return{type:"JsdocTypeKeyValue",key:d.value,right:N,optional:h,variadic:w}}})}const it=[...Oe,je({allowWithoutParenthesis:!0,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),ce,ve({allowedTypes:["module","external","event"],pathGrammar:ie}),ke({allowEnclosingBrackets:!0,allowPostfix:!0}),Q({allowedAdditionalTokens:["keyof"]}),ot,st,he({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:ie})],jr=[...it,Ae({objectFieldGrammar:[Q({allowedAdditionalTokens:["module","in"]}),Ie({allowSquaredProperties:!1,allowKeyTypes:!0,allowOptional:!1,allowReadonly:!1}),...it],allowKeyTypes:!0}),Re({allowOptional:!0,allowVariadic:!0})],ct=I({name:"typeOfParslet",accept:e=>e==="typeof",parsePrefix:e=>(e.consume("typeof"),{type:"JsdocTypeTypeof",element:J(e.parseType(g.KEY_OF_TYPE_OF))})}),kr=[Q({allowedAdditionalTokens:["module","keyof","event","external","in"]}),B,z,ce,se,Ie({allowSquaredProperties:!1,allowKeyTypes:!1,allowOptional:!1,allowReadonly:!1})],Ar=[...Oe,Ae({allowKeyTypes:!1,objectFieldGrammar:kr}),Q({allowedAdditionalTokens:["event","external","in"]}),ct,je({allowWithoutParenthesis:!1,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),ke({allowEnclosingBrackets:!1,allowPostfix:!1}),Q({allowedAdditionalTokens:["keyof"]}),ve({allowedTypes:["module"],pathGrammar:ie}),he({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:ie}),Re({allowOptional:!1,allowVariadic:!1}),ot],Ir=I({name:"assertsParslet",accept:e=>e==="asserts",parsePrefix:e=>{e.consume("asserts");const o=e.parseIntermediateType(g.SYMBOL);if(o.type!=="JsdocTypeName")throw new l(o,"A typescript asserts always has to have a name on the left side.");return e.consume("is"),{type:"JsdocTypeAsserts",left:o,right:J(e.parseIntermediateType(g.INFIX))}}});function Rr({allowQuestionMark:e}){return I({name:"tupleParslet",accept:o=>o==="[",parsePrefix:o=>{o.consume("[");const c={type:"JsdocTypeTuple",elements:[]};if(o.consume("]"))return c;const d=o.parseIntermediateType(g.ALL);if(d.type==="JsdocTypeParameterList"?d.elements[0].type==="JsdocTypeKeyValue"?c.elements=d.elements.map(O):c.elements=d.elements.map(J):d.type==="JsdocTypeKeyValue"?c.elements=[O(d)]:c.elements=[J(d)],!o.consume("]"))throw new Error("Unterminated '['");if(!e&&c.elements.some(h=>h.type==="JsdocTypeUnknown"))throw new Error("Question mark in tuple not allowed");return c}})}const Fr=I({name:"keyOfParslet",accept:e=>e==="keyof",parsePrefix:e=>(e.consume("keyof"),{type:"JsdocTypeKeyof",element:J(e.parseType(g.KEY_OF_TYPE_OF))})}),Lr=I({name:"importParslet",accept:e=>e==="import",parsePrefix:e=>{if(e.consume("import"),!e.consume("("))throw new Error("Missing parenthesis after import keyword");const o=e.parseType(g.PREFIX);if(o.type!=="JsdocTypeStringValue")throw new Error("Only string values are allowed as paths for imports");if(!e.consume(")"))throw new Error("Missing closing parenthesis after import keyword");return{type:"JsdocTypeImport",element:o}}}),Ur=I({name:"readonlyPropertyParslet",accept:e=>e==="readonly",parsePrefix:e=>(e.consume("readonly"),{type:"JsdocTypeReadonlyProperty",element:e.parseType(g.KEY_VALUE)})}),Vr=I({name:"arrowFunctionParslet",precedence:g.ARROW,accept:e=>e==="=>",parseInfix:(e,o)=>(e.consume("=>"),{type:"JsdocTypeFunction",parameters:Se(o).map(k),arrow:!0,constructor:!1,parenthesis:!0,returnType:e.parseType(g.OBJECT)})}),Dr=I({name:"intersectionParslet",accept:e=>e==="&",precedence:g.INTERSECTION,parseInfix:(e,o)=>{e.consume("&");const c=[];do c.push(e.parseType(g.INTERSECTION));while(e.consume("&"));return{type:"JsdocTypeIntersection",elements:[J(o),...c]}}}),$r=I({name:"predicateParslet",precedence:g.INFIX,accept:e=>e==="is",parseInfix:(e,o)=>{if(o.type!=="JsdocTypeName")throw new l(o,"A typescript predicate always has to have a name on the left side.");return e.consume("is"),{type:"JsdocTypePredicate",left:o,right:J(e.parseIntermediateType(g.INFIX))}}}),Cr=I({name:"objectSquareBracketPropertyParslet",accept:e=>e==="[",parsePrefix:e=>{if(e.baseParser===void 0)throw new Error("Only allowed inside object grammar");e.consume("[");const o=e.lexer.current.text;e.consume("Identifier");let c;if(e.consume(":")){const d=e.baseParser;d.acceptLexerState(e),c={type:"JsdocTypeIndexSignature",key:o,right:d.parseType(g.INDEX_BRACKETS)},e.acceptLexerState(d)}else if(e.consume("in")){const d=e.baseParser;d.acceptLexerState(e),c={type:"JsdocTypeMappedType",key:o,right:d.parseType(g.ARRAY_BRACKETS)},e.acceptLexerState(d)}else throw new Error("Missing ':' or 'in' inside square bracketed property.");if(!e.consume("]"))throw new Error("Unterminated square brackets");return c}}),Kr=[Ur,Q({allowedAdditionalTokens:["module","event","keyof","event","external","in"]}),B,z,ce,se,Ie({allowSquaredProperties:!0,allowKeyTypes:!1,allowOptional:!0,allowReadonly:!0}),Cr],Mr=[...Oe,Ae({allowKeyTypes:!1,objectFieldGrammar:Kr}),ct,Fr,Lr,ce,je({allowWithoutParenthesis:!0,allowNoReturnType:!1,allowNamedParameters:["this","new","args"],allowNewAsFunctionKeyword:!0}),Rr({allowQuestionMark:!1}),ke({allowEnclosingBrackets:!1,allowPostfix:!1}),Ir,Q({allowedAdditionalTokens:["event","external","in"]}),ve({allowedTypes:["module"],pathGrammar:ie}),st,Vr,he({allowSquareBracketsOnAnyType:!0,allowJsdocNamePaths:!1,pathGrammar:ie}),Dr,$r,Re({allowVariadic:!0,allowOptional:!0})];function lt(e,o){switch(o){case"closure":return new P(Ar,e).parse();case"jsdoc":return new P(jr,e).parse();case"typescript":return new P(Mr,e).parse()}}function qr(e,o=["typescript","closure","jsdoc"]){let c;for(const d of o)try{return lt(e,d)}catch(h){c=h}throw c}function le(e,o){const c=e[o.type];if(c===void 0)throw new Error(`In this set of transform rules exists no rule for type ${o.type}.`);return c(o,d=>le(e,d))}function M(e){throw new Error("This transform is not available. Are you trying the correct parsing mode?")}function pt(e){const o={params:[]};for(const c of e.parameters)c.type==="JsdocTypeKeyValue"?c.key==="this"?o.this=c.right:c.key==="new"?o.new=c.right:o.params.push(c):o.params.push(c);return o}function ge(e,o,c){return e==="prefix"?c+o:o+c}function X(e,o){switch(o){case"double":return`"${e}"`;case"single":return`'${e}'`;case void 0:return e}}function ut(){return{JsdocTypeParenthesis:(e,o)=>`(${e.element!==void 0?o(e.element):""})`,JsdocTypeKeyof:(e,o)=>`keyof ${o(e.element)}`,JsdocTypeFunction:(e,o)=>{if(e.arrow){if(e.returnType===void 0)throw new Error("Arrow function needs a return type.");let c=`(${e.parameters.map(o).join(", ")}) => ${o(e.returnType)}`;return e.constructor&&(c="new "+c),c}else{let c=e.constructor?"new":"function";return e.parenthesis&&(c+=`(${e.parameters.map(o).join(", ")})`,e.returnType!==void 0&&(c+=`: ${o(e.returnType)}`)),c}},JsdocTypeName:e=>e.value,JsdocTypeTuple:(e,o)=>`[${e.elements.map(o).join(", ")}]`,JsdocTypeVariadic:(e,o)=>e.meta.position===void 0?"...":ge(e.meta.position,o(e.element),"..."),JsdocTypeNamePath:(e,o)=>{const c=o(e.left),d=o(e.right);switch(e.pathType){case"inner":return`${c}~${d}`;case"instance":return`${c}#${d}`;case"property":return`${c}.${d}`;case"property-brackets":return`${c}[${d}]`}},JsdocTypeStringValue:e=>X(e.value,e.meta.quote),JsdocTypeAny:()=>"*",JsdocTypeGeneric:(e,o)=>{if(e.meta.brackets==="square"){const c=e.elements[0],d=o(c);return c.type==="JsdocTypeUnion"||c.type==="JsdocTypeIntersection"?`(${d})[]`:`${d}[]`}else return`${o(e.left)}${e.meta.dot?".":""}<${e.elements.map(o).join(", ")}>`},JsdocTypeImport:(e,o)=>`import(${o(e.element)})`,JsdocTypeObjectField:(e,o)=>{let c="";return e.readonly&&(c+="readonly "),typeof e.key=="string"?c+=X(e.key,e.meta.quote):c+=o(e.key),e.optional&&(c+="?"),e.right===void 0?c:c+`: ${o(e.right)}`},JsdocTypeJsdocObjectField:(e,o)=>`${o(e.left)}: ${o(e.right)}`,JsdocTypeKeyValue:(e,o)=>{let c=e.key;return e.optional&&(c+="?"),e.variadic&&(c="..."+c),e.right===void 0?c:c+`: ${o(e.right)}`},JsdocTypeSpecialNamePath:e=>`${e.specialType}:${X(e.value,e.meta.quote)}`,JsdocTypeNotNullable:(e,o)=>ge(e.meta.position,o(e.element),"!"),JsdocTypeNull:()=>"null",JsdocTypeNullable:(e,o)=>ge(e.meta.position,o(e.element),"?"),JsdocTypeNumber:e=>e.value.toString(),JsdocTypeObject:(e,o)=>`{${e.elements.map(o).join((e.meta.separator==="comma"?",":";")+" ")}}`,JsdocTypeOptional:(e,o)=>ge(e.meta.position,o(e.element),"="),JsdocTypeSymbol:(e,o)=>`${e.value}(${e.element!==void 0?o(e.element):""})`,JsdocTypeTypeof:(e,o)=>`typeof ${o(e.element)}`,JsdocTypeUndefined:()=>"undefined",JsdocTypeUnion:(e,o)=>e.elements.map(o).join(" | "),JsdocTypeUnknown:()=>"?",JsdocTypeIntersection:(e,o)=>e.elements.map(o).join(" & "),JsdocTypeProperty:e=>X(e.value,e.meta.quote),JsdocTypePredicate:(e,o)=>`${o(e.left)} is ${o(e.right)}`,JsdocTypeIndexSignature:(e,o)=>`[${e.key}: ${o(e.right)}]`,JsdocTypeMappedType:(e,o)=>`[${e.key} in ${o(e.right)}]`,JsdocTypeAsserts:(e,o)=>`asserts ${o(e.left)} is ${o(e.right)}`}}const Br=ut();function Yr(e){return le(Br,e)}const Gr=["null","true","false","break","case","catch","class","const","continue","debugger","default","delete","do","else","export","extends","finally","for","function","if","import","in","instanceof","new","return","super","switch","this","throw","try","typeof","var","void","while","with","yield"];function Z(e){const o={type:"NameExpression",name:e};return Gr.includes(e)&&(o.reservedWord=!0),o}const zr={JsdocTypeOptional:(e,o)=>{const c=o(e.element);return c.optional=!0,c},JsdocTypeNullable:(e,o)=>{const c=o(e.element);return c.nullable=!0,c},JsdocTypeNotNullable:(e,o)=>{const c=o(e.element);return c.nullable=!1,c},JsdocTypeVariadic:(e,o)=>{if(e.element===void 0)throw new Error("dots without value are not allowed in catharsis mode");const c=o(e.element);return c.repeatable=!0,c},JsdocTypeAny:()=>({type:"AllLiteral"}),JsdocTypeNull:()=>({type:"NullLiteral"}),JsdocTypeStringValue:e=>Z(X(e.value,e.meta.quote)),JsdocTypeUndefined:()=>({type:"UndefinedLiteral"}),JsdocTypeUnknown:()=>({type:"UnknownLiteral"}),JsdocTypeFunction:(e,o)=>{const c=pt(e),d={type:"FunctionType",params:c.params.map(o)};return c.this!==void 0&&(d.this=o(c.this)),c.new!==void 0&&(d.new=o(c.new)),e.returnType!==void 0&&(d.result=o(e.returnType)),d},JsdocTypeGeneric:(e,o)=>({type:"TypeApplication",applications:e.elements.map(c=>o(c)),expression:o(e.left)}),JsdocTypeSpecialNamePath:e=>Z(e.specialType+":"+X(e.value,e.meta.quote)),JsdocTypeName:e=>e.value!=="function"?Z(e.value):{type:"FunctionType",params:[]},JsdocTypeNumber:e=>Z(e.value.toString()),JsdocTypeObject:(e,o)=>{const c={type:"RecordType",fields:[]};for(const d of e.elements)d.type!=="JsdocTypeObjectField"&&d.type!=="JsdocTypeJsdocObjectField"?c.fields.push({type:"FieldType",key:o(d),value:void 0}):c.fields.push(o(d));return c},JsdocTypeObjectField:(e,o)=>{if(typeof e.key!="string")throw new Error("Index signatures and mapped types are not supported");return{type:"FieldType",key:Z(X(e.key,e.meta.quote)),value:e.right===void 0?void 0:o(e.right)}},JsdocTypeJsdocObjectField:(e,o)=>({type:"FieldType",key:o(e.left),value:o(e.right)}),JsdocTypeUnion:(e,o)=>({type:"TypeUnion",elements:e.elements.map(c=>o(c))}),JsdocTypeKeyValue:(e,o)=>({type:"FieldType",key:Z(e.key),value:e.right===void 0?void 0:o(e.right)}),JsdocTypeNamePath:(e,o)=>{const c=o(e.left);let d;e.right.type==="JsdocTypeSpecialNamePath"?d=o(e.right).name:d=X(e.right.value,e.right.meta.quote);const h=e.pathType==="inner"?"~":e.pathType==="instance"?"#":".";return Z(`${c.name}${h}${d}`)},JsdocTypeSymbol:e=>{let o="",c=e.element,d=!1;return(c==null?void 0:c.type)==="JsdocTypeVariadic"&&(c.meta.position==="prefix"?o="...":d=!0,c=c.element),(c==null?void 0:c.type)==="JsdocTypeName"?o+=c.value:(c==null?void 0:c.type)==="JsdocTypeNumber"&&(o+=c.value.toString()),d&&(o+="..."),Z(`${e.value}(${o})`)},JsdocTypeParenthesis:(e,o)=>o(J(e.element)),JsdocTypeMappedType:M,JsdocTypeIndexSignature:M,JsdocTypeImport:M,JsdocTypeKeyof:M,JsdocTypeTuple:M,JsdocTypeTypeof:M,JsdocTypeIntersection:M,JsdocTypeProperty:M,JsdocTypePredicate:M,JsdocTypeAsserts:M};function Wr(e){return le(zr,e)}function ne(e){switch(e){case void 0:return"none";case"single":return"single";case"double":return"double"}}function Hr(e){switch(e){case"inner":return"INNER_MEMBER";case"instance":return"INSTANCE_MEMBER";case"property":return"MEMBER";case"property-brackets":return"MEMBER"}}function Fe(e,o){return o.length===2?{type:e,left:o[0],right:o[1]}:{type:e,left:o[0],right:Fe(e,o.slice(1))}}const Qr={JsdocTypeOptional:(e,o)=>({type:"OPTIONAL",value:o(e.element),meta:{syntax:e.meta.position==="prefix"?"PREFIX_EQUAL_SIGN":"SUFFIX_EQUALS_SIGN"}}),JsdocTypeNullable:(e,o)=>({type:"NULLABLE",value:o(e.element),meta:{syntax:e.meta.position==="prefix"?"PREFIX_QUESTION_MARK":"SUFFIX_QUESTION_MARK"}}),JsdocTypeNotNullable:(e,o)=>({type:"NOT_NULLABLE",value:o(e.element),meta:{syntax:e.meta.position==="prefix"?"PREFIX_BANG":"SUFFIX_BANG"}}),JsdocTypeVariadic:(e,o)=>{const c={type:"VARIADIC",meta:{syntax:e.meta.position==="prefix"?"PREFIX_DOTS":e.meta.position==="suffix"?"SUFFIX_DOTS":"ONLY_DOTS"}};return e.element!==void 0&&(c.value=o(e.element)),c},JsdocTypeName:e=>({type:"NAME",name:e.value}),JsdocTypeTypeof:(e,o)=>({type:"TYPE_QUERY",name:o(e.element)}),JsdocTypeTuple:(e,o)=>({type:"TUPLE",entries:e.elements.map(o)}),JsdocTypeKeyof:(e,o)=>({type:"KEY_QUERY",value:o(e.element)}),JsdocTypeImport:e=>({type:"IMPORT",path:{type:"STRING_VALUE",quoteStyle:ne(e.element.meta.quote),string:e.element.value}}),JsdocTypeUndefined:()=>({type:"NAME",name:"undefined"}),JsdocTypeAny:()=>({type:"ANY"}),JsdocTypeFunction:(e,o)=>{const c=pt(e),d={type:e.arrow?"ARROW":"FUNCTION",params:c.params.map(h=>{if(h.type==="JsdocTypeKeyValue"){if(h.right===void 0)throw new Error("Function parameter without ':' is not expected to be 'KEY_VALUE'");return{type:"NAMED_PARAMETER",name:h.key,typeName:o(h.right)}}else return o(h)}),new:null,returns:null};return c.this!==void 0?d.this=o(c.this):e.arrow||(d.this=null),c.new!==void 0&&(d.new=o(c.new)),e.returnType!==void 0&&(d.returns=o(e.returnType)),d},JsdocTypeGeneric:(e,o)=>{const c={type:"GENERIC",subject:o(e.left),objects:e.elements.map(o),meta:{syntax:e.meta.brackets==="square"?"SQUARE_BRACKET":e.meta.dot?"ANGLE_BRACKET_WITH_DOT":"ANGLE_BRACKET"}};return e.meta.brackets==="square"&&e.elements[0].type==="JsdocTypeFunction"&&!e.elements[0].parenthesis&&(c.objects[0]={type:"NAME",name:"function"}),c},JsdocTypeObjectField:(e,o)=>{if(typeof e.key!="string")throw new Error("Index signatures and mapped types are not supported");if(e.right===void 0)return{type:"RECORD_ENTRY",key:e.key,quoteStyle:ne(e.meta.quote),value:null,readonly:!1};let c=o(e.right);return e.optional&&(c={type:"OPTIONAL",value:c,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:e.key.toString(),quoteStyle:ne(e.meta.quote),value:c,readonly:!1}},JsdocTypeJsdocObjectField:()=>{throw new Error("Keys may not be typed in jsdoctypeparser.")},JsdocTypeKeyValue:(e,o)=>{if(e.right===void 0)return{type:"RECORD_ENTRY",key:e.key,quoteStyle:"none",value:null,readonly:!1};let c=o(e.right);return e.optional&&(c={type:"OPTIONAL",value:c,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:e.key,quoteStyle:"none",value:c,readonly:!1}},JsdocTypeObject:(e,o)=>{const c=[];for(const d of e.elements)(d.type==="JsdocTypeObjectField"||d.type==="JsdocTypeJsdocObjectField")&&c.push(o(d));return{type:"RECORD",entries:c}},JsdocTypeSpecialNamePath:e=>{if(e.specialType!=="module")throw new Error(`jsdoctypeparser does not support type ${e.specialType} at this point.`);return{type:"MODULE",value:{type:"FILE_PATH",quoteStyle:ne(e.meta.quote),path:e.value}}},JsdocTypeNamePath:(e,o)=>{let c=!1,d,h;e.right.type==="JsdocTypeSpecialNamePath"&&e.right.specialType==="event"?(c=!0,d=e.right.value,h=ne(e.right.meta.quote)):(d=e.right.value,h=ne(e.right.meta.quote));const w={type:Hr(e.pathType),owner:o(e.left),name:d,quoteStyle:h,hasEventPrefix:c};if(w.owner.type==="MODULE"){const N=w.owner;return w.owner=w.owner.value,N.value=w,N}else return w},JsdocTypeUnion:(e,o)=>Fe("UNION",e.elements.map(o)),JsdocTypeParenthesis:(e,o)=>({type:"PARENTHESIS",value:o(J(e.element))}),JsdocTypeNull:()=>({type:"NAME",name:"null"}),JsdocTypeUnknown:()=>({type:"UNKNOWN"}),JsdocTypeStringValue:e=>({type:"STRING_VALUE",quoteStyle:ne(e.meta.quote),string:e.value}),JsdocTypeIntersection:(e,o)=>Fe("INTERSECTION",e.elements.map(o)),JsdocTypeNumber:e=>({type:"NUMBER_VALUE",number:e.value.toString()}),JsdocTypeSymbol:M,JsdocTypeProperty:M,JsdocTypePredicate:M,JsdocTypeMappedType:M,JsdocTypeIndexSignature:M,JsdocTypeAsserts:M};function Xr(e){return le(Qr,e)}function Zr(){return{JsdocTypeIntersection:(e,o)=>({type:"JsdocTypeIntersection",elements:e.elements.map(o)}),JsdocTypeGeneric:(e,o)=>({type:"JsdocTypeGeneric",left:o(e.left),elements:e.elements.map(o),meta:{dot:e.meta.dot,brackets:e.meta.brackets}}),JsdocTypeNullable:e=>e,JsdocTypeUnion:(e,o)=>({type:"JsdocTypeUnion",elements:e.elements.map(o)}),JsdocTypeUnknown:e=>e,JsdocTypeUndefined:e=>e,JsdocTypeTypeof:(e,o)=>({type:"JsdocTypeTypeof",element:o(e.element)}),JsdocTypeSymbol:(e,o)=>{const c={type:"JsdocTypeSymbol",value:e.value};return e.element!==void 0&&(c.element=o(e.element)),c},JsdocTypeOptional:(e,o)=>({type:"JsdocTypeOptional",element:o(e.element),meta:{position:e.meta.position}}),JsdocTypeObject:(e,o)=>({type:"JsdocTypeObject",meta:{separator:"comma"},elements:e.elements.map(o)}),JsdocTypeNumber:e=>e,JsdocTypeNull:e=>e,JsdocTypeNotNullable:(e,o)=>({type:"JsdocTypeNotNullable",element:o(e.element),meta:{position:e.meta.position}}),JsdocTypeSpecialNamePath:e=>e,JsdocTypeObjectField:(e,o)=>({type:"JsdocTypeObjectField",key:e.key,right:e.right===void 0?void 0:o(e.right),optional:e.optional,readonly:e.readonly,meta:e.meta}),JsdocTypeJsdocObjectField:(e,o)=>({type:"JsdocTypeJsdocObjectField",left:o(e.left),right:o(e.right)}),JsdocTypeKeyValue:(e,o)=>({type:"JsdocTypeKeyValue",key:e.key,right:e.right===void 0?void 0:o(e.right),optional:e.optional,variadic:e.variadic}),JsdocTypeImport:(e,o)=>({type:"JsdocTypeImport",element:o(e.element)}),JsdocTypeAny:e=>e,JsdocTypeStringValue:e=>e,JsdocTypeNamePath:e=>e,JsdocTypeVariadic:(e,o)=>{const c={type:"JsdocTypeVariadic",meta:{position:e.meta.position,squareBrackets:e.meta.squareBrackets}};return e.element!==void 0&&(c.element=o(e.element)),c},JsdocTypeTuple:(e,o)=>({type:"JsdocTypeTuple",elements:e.elements.map(o)}),JsdocTypeName:e=>e,JsdocTypeFunction:(e,o)=>{const c={type:"JsdocTypeFunction",arrow:e.arrow,parameters:e.parameters.map(o),constructor:e.constructor,parenthesis:e.parenthesis};return e.returnType!==void 0&&(c.returnType=o(e.returnType)),c},JsdocTypeKeyof:(e,o)=>({type:"JsdocTypeKeyof",element:o(e.element)}),JsdocTypeParenthesis:(e,o)=>({type:"JsdocTypeParenthesis",element:o(e.element)}),JsdocTypeProperty:e=>e,JsdocTypePredicate:(e,o)=>({type:"JsdocTypePredicate",left:o(e.left),right:o(e.right)}),JsdocTypeIndexSignature:(e,o)=>({type:"JsdocTypeIndexSignature",key:e.key,right:o(e.right)}),JsdocTypeMappedType:(e,o)=>({type:"JsdocTypeMappedType",key:e.key,right:o(e.right)}),JsdocTypeAsserts:(e,o)=>({type:"JsdocTypeAsserts",left:o(e.left),right:o(e.right)})}}const yt={JsdocTypeAny:[],JsdocTypeFunction:["parameters","returnType"],JsdocTypeGeneric:["left","elements"],JsdocTypeImport:[],JsdocTypeIndexSignature:["right"],JsdocTypeIntersection:["elements"],JsdocTypeKeyof:["element"],JsdocTypeKeyValue:["right"],JsdocTypeMappedType:["right"],JsdocTypeName:[],JsdocTypeNamePath:["left","right"],JsdocTypeNotNullable:["element"],JsdocTypeNull:[],JsdocTypeNullable:["element"],JsdocTypeNumber:[],JsdocTypeObject:["elements"],JsdocTypeObjectField:["right"],JsdocTypeJsdocObjectField:["left","right"],JsdocTypeOptional:["element"],JsdocTypeParenthesis:["element"],JsdocTypeSpecialNamePath:[],JsdocTypeStringValue:[],JsdocTypeSymbol:["element"],JsdocTypeTuple:["elements"],JsdocTypeTypeof:["element"],JsdocTypeUndefined:[],JsdocTypeUnion:["elements"],JsdocTypeUnknown:[],JsdocTypeVariadic:["element"],JsdocTypeProperty:[],JsdocTypePredicate:["left","right"],JsdocTypeAsserts:["left","right"]};function Le(e,o,c,d,h){d==null||d(e,o,c);const w=yt[e.type];for(const N of w){const F=e[N];if(F!==void 0)if(Array.isArray(F))for(const q of F)Le(q,e,N,d,h);else Le(F,e,N,d,h)}h==null||h(e,o,c)}function en(e,o,c){Le(e,void 0,void 0,o,c)}n.catharsisTransform=Wr,n.identityTransformRules=Zr,n.jtpTransform=Xr,n.parse=lt,n.stringify=Yr,n.stringifyRules=ut,n.transform=le,n.traverse=en,n.tryParse=qr,n.visitorKeys=yt})})(Ue,Ue.exports);var Ve=Ue.exports,rn=Object.create,De=Object.defineProperty,nn=Object.getOwnPropertyDescriptor,an=Object.getOwnPropertyNames,on=Object.getPrototypeOf,sn=Object.prototype.hasOwnProperty,y=(r,t)=>De(r,"name",{value:t,configurable:!0}),m=(r,t)=>()=>(t||r((t={exports:{}}).exports,t),t.exports),cn=(r,t,n,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of an(t))!sn.call(r,s)&&s!==n&&De(r,s,{get:()=>t[s],enumerable:!(a=nn(t,s))||a.enumerable});return r},ln=(r,t,n)=>(n=r!=null?rn(on(r)):{},cn(De(n,"default",{value:r,enumerable:!0}),r)),mt=m((r,t)=>{var n=typeof global=="object"&&global&&global.Object===Object&&global;t.exports=n}),H=m((r,t)=>{var n=mt(),a=typeof self=="object"&&self&&self.Object===Object&&self,s=n||a||Function("return this")();t.exports=s}),Je=m((r,t)=>{var n=H(),a=n.Symbol;t.exports=a}),pn=m((r,t)=>{var n=Je(),a=Object.prototype,s=a.hasOwnProperty,i=a.toString,l=n?n.toStringTag:void 0;function p(u){var f=s.call(u,l),T=u[l];try{u[l]=void 0;var v=!0}catch{}var _=i.call(u);return v&&(f?u[l]=T:delete u[l]),_}y(p,"getRawTag"),t.exports=p}),un=m((r,t)=>{var n=Object.prototype,a=n.toString;function s(i){return a.call(i)}y(s,"objectToString"),t.exports=s}),fe=m((r,t)=>{var n=Je(),a=pn(),s=un(),i="[object Null]",l="[object Undefined]",p=n?n.toStringTag:void 0;function u(f){return f==null?f===void 0?l:i:p&&p in Object(f)?a(f):s(f)}y(u,"baseGetTag"),t.exports=u}),$e=m((r,t)=>{function n(a){var s=typeof a;return a!=null&&(s=="object"||s=="function")}y(n,"isObject"),t.exports=n}),Tt=m((r,t)=>{var n=fe(),a=$e(),s="[object AsyncFunction]",i="[object Function]",l="[object GeneratorFunction]",p="[object Proxy]";function u(f){if(!a(f))return!1;var T=n(f);return T==i||T==l||T==s||T==p}y(u,"isFunction"),t.exports=u}),yn=m((r,t)=>{var n=H(),a=n["__core-js_shared__"];t.exports=a}),dn=m((r,t)=>{var n=yn(),a=function(){var i=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||"");return i?"Symbol(src)_1."+i:""}();function s(i){return!!a&&a in i}y(s,"isMasked"),t.exports=s}),ht=m((r,t)=>{var n=Function.prototype,a=n.toString;function s(i){if(i!=null){try{return a.call(i)}catch{}try{return i+""}catch{}}return""}y(s,"toSource"),t.exports=s}),fn=m((r,t)=>{var n=Tt(),a=dn(),s=$e(),i=ht(),l=/[\\^$.*+?()[\]{}|]/g,p=/^\[object .+?Constructor\]$/,u=Function.prototype,f=Object.prototype,T=u.toString,v=f.hasOwnProperty,_=RegExp("^"+T.call(v).replace(l,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function b(E){if(!s(E)||a(E))return!1;var x=n(E)?_:p;return x.test(i(E))}y(b,"baseIsNative"),t.exports=b}),mn=m((r,t)=>{function n(a,s){return a==null?void 0:a[s]}y(n,"getValue"),t.exports=n}),oe=m((r,t)=>{var n=fn(),a=mn();function s(i,l){var p=a(i,l);return n(p)?p:void 0}y(s,"getNative"),t.exports=s}),Tn=m((r,t)=>{var n=oe(),a=function(){try{var s=n(Object,"defineProperty");return s({},"",{}),s}catch{}}();t.exports=a}),hn=m((r,t)=>{var n=Tn();function a(s,i,l){i=="__proto__"&&n?n(s,i,{configurable:!0,enumerable:!0,value:l,writable:!0}):s[i]=l}y(a,"baseAssignValue"),t.exports=a}),vn=m((r,t)=>{function n(a){return function(s,i,l){for(var p=-1,u=Object(s),f=l(s),T=f.length;T--;){var v=f[a?T:++p];if(i(u[v],v,u)===!1)break}return s}}y(n,"createBaseFor"),t.exports=n}),gn=m((r,t)=>{var n=vn(),a=n();t.exports=a}),bn=m((r,t)=>{function n(a,s){for(var i=-1,l=Array(a);++i{function n(a){return a!=null&&typeof a=="object"}y(n,"isObjectLike"),t.exports=n}),Jn=m((r,t)=>{var n=fe(),a=me(),s="[object Arguments]";function i(l){return a(l)&&n(l)==s}y(i,"baseIsArguments"),t.exports=i}),vt=m((r,t)=>{var n=Jn(),a=me(),s=Object.prototype,i=s.hasOwnProperty,l=s.propertyIsEnumerable,p=n(function(){return arguments}())?n:function(u){return a(u)&&i.call(u,"callee")&&!l.call(u,"callee")};t.exports=p}),te=m((r,t)=>{var n=Array.isArray;t.exports=n}),wn=m((r,t)=>{function n(){return!1}y(n,"stubFalse"),t.exports=n}),gt=m((r,t)=>{var n=H(),a=wn(),s=typeof r=="object"&&r&&!r.nodeType&&r,i=s&&typeof t=="object"&&t&&!t.nodeType&&t,l=i&&i.exports===s,p=l?n.Buffer:void 0,u=p?p.isBuffer:void 0,f=u||a;t.exports=f}),bt=m((r,t)=>{var n=9007199254740991,a=/^(?:0|[1-9]\d*)$/;function s(i,l){var p=typeof i;return l=l??n,!!l&&(p=="number"||p!="symbol"&&a.test(i))&&i>-1&&i%1==0&&i{var n=9007199254740991;function a(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=n}y(a,"isLength"),t.exports=a}),xn=m((r,t)=>{var n=fe(),a=Ce(),s=me(),i="[object Arguments]",l="[object Array]",p="[object Boolean]",u="[object Date]",f="[object Error]",T="[object Function]",v="[object Map]",_="[object Number]",b="[object Object]",E="[object RegExp]",x="[object Set]",U="[object String]",R="[object WeakMap]",A="[object ArrayBuffer]",j="[object DataView]",S="[object Float32Array]",L="[object Float64Array]",J="[object Int8Array]",V="[object Int16Array]",k="[object Int32Array]",O="[object Uint8Array]",C="[object Uint8ClampedArray]",$="[object Uint16Array]",g="[object Uint32Array]",P={};P[S]=P[L]=P[J]=P[V]=P[k]=P[O]=P[C]=P[$]=P[g]=!0,P[i]=P[l]=P[A]=P[p]=P[j]=P[u]=P[f]=P[T]=P[v]=P[_]=P[b]=P[E]=P[x]=P[U]=P[R]=!1;function Y(B){return s(B)&&a(B.length)&&!!P[n(B)]}y(Y,"baseIsTypedArray"),t.exports=Y}),_n=m((r,t)=>{function n(a){return function(s){return a(s)}}y(n,"baseUnary"),t.exports=n}),En=m((r,t)=>{var n=mt(),a=typeof r=="object"&&r&&!r.nodeType&&r,s=a&&typeof t=="object"&&t&&!t.nodeType&&t,i=s&&s.exports===a,l=i&&n.process,p=function(){try{var u=s&&s.require&&s.require("util").types;return u||l&&l.binding&&l.binding("util")}catch{}}();t.exports=p}),Jt=m((r,t)=>{var n=xn(),a=_n(),s=En(),i=s&&s.isTypedArray,l=i?a(i):n;t.exports=l}),Nn=m((r,t)=>{var n=bn(),a=vt(),s=te(),i=gt(),l=bt(),p=Jt(),u=Object.prototype,f=u.hasOwnProperty;function T(v,_){var b=s(v),E=!b&&a(v),x=!b&&!E&&i(v),U=!b&&!E&&!x&&p(v),R=b||E||x||U,A=R?n(v.length,String):[],j=A.length;for(var S in v)(_||f.call(v,S))&&!(R&&(S=="length"||x&&(S=="offset"||S=="parent")||U&&(S=="buffer"||S=="byteLength"||S=="byteOffset")||l(S,j)))&&A.push(S);return A}y(T,"arrayLikeKeys"),t.exports=T}),Pn=m((r,t)=>{var n=Object.prototype;function a(s){var i=s&&s.constructor,l=typeof i=="function"&&i.prototype||n;return s===l}y(a,"isPrototype"),t.exports=a}),On=m((r,t)=>{function n(a,s){return function(i){return a(s(i))}}y(n,"overArg"),t.exports=n}),Sn=m((r,t)=>{var n=On(),a=n(Object.keys,Object);t.exports=a}),jn=m((r,t)=>{var n=Pn(),a=Sn(),s=Object.prototype,i=s.hasOwnProperty;function l(p){if(!n(p))return a(p);var u=[];for(var f in Object(p))i.call(p,f)&&f!="constructor"&&u.push(f);return u}y(l,"baseKeys"),t.exports=l}),kn=m((r,t)=>{var n=Tt(),a=Ce();function s(i){return i!=null&&a(i.length)&&!n(i)}y(s,"isArrayLike"),t.exports=s}),Ke=m((r,t)=>{var n=Nn(),a=jn(),s=kn();function i(l){return s(l)?n(l):a(l)}y(i,"keys"),t.exports=i}),An=m((r,t)=>{var n=gn(),a=Ke();function s(i,l){return i&&n(i,l,a)}y(s,"baseForOwn"),t.exports=s}),In=m((r,t)=>{function n(){this.__data__=[],this.size=0}y(n,"listCacheClear"),t.exports=n}),wt=m((r,t)=>{function n(a,s){return a===s||a!==a&&s!==s}y(n,"eq"),t.exports=n}),we=m((r,t)=>{var n=wt();function a(s,i){for(var l=s.length;l--;)if(n(s[l][0],i))return l;return-1}y(a,"assocIndexOf"),t.exports=a}),Rn=m((r,t)=>{var n=we(),a=Array.prototype,s=a.splice;function i(l){var p=this.__data__,u=n(p,l);if(u<0)return!1;var f=p.length-1;return u==f?p.pop():s.call(p,u,1),--this.size,!0}y(i,"listCacheDelete"),t.exports=i}),Fn=m((r,t)=>{var n=we();function a(s){var i=this.__data__,l=n(i,s);return l<0?void 0:i[l][1]}y(a,"listCacheGet"),t.exports=a}),Ln=m((r,t)=>{var n=we();function a(s){return n(this.__data__,s)>-1}y(a,"listCacheHas"),t.exports=a}),Un=m((r,t)=>{var n=we();function a(s,i){var l=this.__data__,p=n(l,s);return p<0?(++this.size,l.push([s,i])):l[p][1]=i,this}y(a,"listCacheSet"),t.exports=a}),xe=m((r,t)=>{var n=In(),a=Rn(),s=Fn(),i=Ln(),l=Un();function p(u){var f=-1,T=u==null?0:u.length;for(this.clear();++f{var n=xe();function a(){this.__data__=new n,this.size=0}y(a,"stackClear"),t.exports=a}),Dn=m((r,t)=>{function n(a){var s=this.__data__,i=s.delete(a);return this.size=s.size,i}y(n,"stackDelete"),t.exports=n}),$n=m((r,t)=>{function n(a){return this.__data__.get(a)}y(n,"stackGet"),t.exports=n}),Cn=m((r,t)=>{function n(a){return this.__data__.has(a)}y(n,"stackHas"),t.exports=n}),Me=m((r,t)=>{var n=oe(),a=H(),s=n(a,"Map");t.exports=s}),_e=m((r,t)=>{var n=oe(),a=n(Object,"create");t.exports=a}),Kn=m((r,t)=>{var n=_e();function a(){this.__data__=n?n(null):{},this.size=0}y(a,"hashClear"),t.exports=a}),Mn=m((r,t)=>{function n(a){var s=this.has(a)&&delete this.__data__[a];return this.size-=s?1:0,s}y(n,"hashDelete"),t.exports=n}),qn=m((r,t)=>{var n=_e(),a="__lodash_hash_undefined__",s=Object.prototype,i=s.hasOwnProperty;function l(p){var u=this.__data__;if(n){var f=u[p];return f===a?void 0:f}return i.call(u,p)?u[p]:void 0}y(l,"hashGet"),t.exports=l}),Bn=m((r,t)=>{var n=_e(),a=Object.prototype,s=a.hasOwnProperty;function i(l){var p=this.__data__;return n?p[l]!==void 0:s.call(p,l)}y(i,"hashHas"),t.exports=i}),Yn=m((r,t)=>{var n=_e(),a="__lodash_hash_undefined__";function s(i,l){var p=this.__data__;return this.size+=this.has(i)?0:1,p[i]=n&&l===void 0?a:l,this}y(s,"hashSet"),t.exports=s}),Gn=m((r,t)=>{var n=Kn(),a=Mn(),s=qn(),i=Bn(),l=Yn();function p(u){var f=-1,T=u==null?0:u.length;for(this.clear();++f{var n=Gn(),a=xe(),s=Me();function i(){this.size=0,this.__data__={hash:new n,map:new(s||a),string:new n}}y(i,"mapCacheClear"),t.exports=i}),Wn=m((r,t)=>{function n(a){var s=typeof a;return s=="string"||s=="number"||s=="symbol"||s=="boolean"?a!=="__proto__":a===null}y(n,"isKeyable"),t.exports=n}),Ee=m((r,t)=>{var n=Wn();function a(s,i){var l=s.__data__;return n(i)?l[typeof i=="string"?"string":"hash"]:l.map}y(a,"getMapData"),t.exports=a}),Hn=m((r,t)=>{var n=Ee();function a(s){var i=n(this,s).delete(s);return this.size-=i?1:0,i}y(a,"mapCacheDelete"),t.exports=a}),Qn=m((r,t)=>{var n=Ee();function a(s){return n(this,s).get(s)}y(a,"mapCacheGet"),t.exports=a}),Xn=m((r,t)=>{var n=Ee();function a(s){return n(this,s).has(s)}y(a,"mapCacheHas"),t.exports=a}),Zn=m((r,t)=>{var n=Ee();function a(s,i){var l=n(this,s),p=l.size;return l.set(s,i),this.size+=l.size==p?0:1,this}y(a,"mapCacheSet"),t.exports=a}),qe=m((r,t)=>{var n=zn(),a=Hn(),s=Qn(),i=Xn(),l=Zn();function p(u){var f=-1,T=u==null?0:u.length;for(this.clear();++f{var n=xe(),a=Me(),s=qe(),i=200;function l(p,u){var f=this.__data__;if(f instanceof n){var T=f.__data__;if(!a||T.length{var n=xe(),a=Vn(),s=Dn(),i=$n(),l=Cn(),p=ea();function u(f){var T=this.__data__=new n(f);this.size=T.size}y(u,"Stack"),u.prototype.clear=a,u.prototype.delete=s,u.prototype.get=i,u.prototype.has=l,u.prototype.set=p,t.exports=u}),ta=m((r,t)=>{var n="__lodash_hash_undefined__";function a(s){return this.__data__.set(s,n),this}y(a,"setCacheAdd"),t.exports=a}),ra=m((r,t)=>{function n(a){return this.__data__.has(a)}y(n,"setCacheHas"),t.exports=n}),na=m((r,t)=>{var n=qe(),a=ta(),s=ra();function i(l){var p=-1,u=l==null?0:l.length;for(this.__data__=new n;++p{function n(a,s){for(var i=-1,l=a==null?0:a.length;++i{function n(a,s){return a.has(s)}y(n,"cacheHas"),t.exports=n}),_t=m((r,t)=>{var n=na(),a=aa(),s=oa(),i=1,l=2;function p(u,f,T,v,_,b){var E=T&i,x=u.length,U=f.length;if(x!=U&&!(E&&U>x))return!1;var R=b.get(u),A=b.get(f);if(R&&A)return R==f&&A==u;var j=-1,S=!0,L=T&l?new n:void 0;for(b.set(u,f),b.set(f,u);++j{var n=H(),a=n.Uint8Array;t.exports=a}),ia=m((r,t)=>{function n(a){var s=-1,i=Array(a.size);return a.forEach(function(l,p){i[++s]=[p,l]}),i}y(n,"mapToArray"),t.exports=n}),ca=m((r,t)=>{function n(a){var s=-1,i=Array(a.size);return a.forEach(function(l){i[++s]=l}),i}y(n,"setToArray"),t.exports=n}),la=m((r,t)=>{var n=Je(),a=sa(),s=wt(),i=_t(),l=ia(),p=ca(),u=1,f=2,T="[object Boolean]",v="[object Date]",_="[object Error]",b="[object Map]",E="[object Number]",x="[object RegExp]",U="[object Set]",R="[object String]",A="[object Symbol]",j="[object ArrayBuffer]",S="[object DataView]",L=n?n.prototype:void 0,J=L?L.valueOf:void 0;function V(k,O,C,$,g,P,Y){switch(C){case S:if(k.byteLength!=O.byteLength||k.byteOffset!=O.byteOffset)return!1;k=k.buffer,O=O.buffer;case j:return!(k.byteLength!=O.byteLength||!P(new a(k),new a(O)));case T:case v:case E:return s(+k,+O);case _:return k.name==O.name&&k.message==O.message;case x:case R:return k==O+"";case b:var B=l;case U:var I=$&u;if(B||(B=p),k.size!=O.size&&!I)return!1;var z=Y.get(k);if(z)return z==O;$|=f,Y.set(k,O);var se=i(B(k),B(O),$,g,P,Y);return Y.delete(k),se;case A:if(J)return J.call(k)==J.call(O)}return!1}y(V,"equalByTag"),t.exports=V}),pa=m((r,t)=>{function n(a,s){for(var i=-1,l=s.length,p=a.length;++i{var n=pa(),a=te();function s(i,l,p){var u=l(i);return a(i)?u:n(u,p(i))}y(s,"baseGetAllKeys"),t.exports=s}),ya=m((r,t)=>{function n(a,s){for(var i=-1,l=a==null?0:a.length,p=0,u=[];++i{function n(){return[]}y(n,"stubArray"),t.exports=n}),fa=m((r,t)=>{var n=ya(),a=da(),s=Object.prototype,i=s.propertyIsEnumerable,l=Object.getOwnPropertySymbols,p=l?function(u){return u==null?[]:(u=Object(u),n(l(u),function(f){return i.call(u,f)}))}:a;t.exports=p}),ma=m((r,t)=>{var n=ua(),a=fa(),s=Ke();function i(l){return n(l,s,a)}y(i,"getAllKeys"),t.exports=i}),Ta=m((r,t)=>{var n=ma(),a=1,s=Object.prototype,i=s.hasOwnProperty;function l(p,u,f,T,v,_){var b=f&a,E=n(p),x=E.length,U=n(u),R=U.length;if(x!=R&&!b)return!1;for(var A=x;A--;){var j=E[A];if(!(b?j in u:i.call(u,j)))return!1}var S=_.get(p),L=_.get(u);if(S&&L)return S==u&&L==p;var J=!0;_.set(p,u),_.set(u,p);for(var V=b;++A{var n=oe(),a=H(),s=n(a,"DataView");t.exports=s}),va=m((r,t)=>{var n=oe(),a=H(),s=n(a,"Promise");t.exports=s}),ga=m((r,t)=>{var n=oe(),a=H(),s=n(a,"Set");t.exports=s}),ba=m((r,t)=>{var n=oe(),a=H(),s=n(a,"WeakMap");t.exports=s}),Ja=m((r,t)=>{var n=ha(),a=Me(),s=va(),i=ga(),l=ba(),p=fe(),u=ht(),f="[object Map]",T="[object Object]",v="[object Promise]",_="[object Set]",b="[object WeakMap]",E="[object DataView]",x=u(n),U=u(a),R=u(s),A=u(i),j=u(l),S=p;(n&&S(new n(new ArrayBuffer(1)))!=E||a&&S(new a)!=f||s&&S(s.resolve())!=v||i&&S(new i)!=_||l&&S(new l)!=b)&&(S=y(function(L){var J=p(L),V=J==T?L.constructor:void 0,k=V?u(V):"";if(k)switch(k){case x:return E;case U:return f;case R:return v;case A:return _;case j:return b}return J},"getTag")),t.exports=S}),wa=m((r,t)=>{var n=xt(),a=_t(),s=la(),i=Ta(),l=Ja(),p=te(),u=gt(),f=Jt(),T=1,v="[object Arguments]",_="[object Array]",b="[object Object]",E=Object.prototype,x=E.hasOwnProperty;function U(R,A,j,S,L,J){var V=p(R),k=p(A),O=V?_:l(R),C=k?_:l(A);O=O==v?b:O,C=C==v?b:C;var $=O==b,g=C==b,P=O==C;if(P&&u(R)){if(!u(A))return!1;V=!0,$=!1}if(P&&!$)return J||(J=new n),V||f(R)?a(R,A,j,S,L,J):s(R,A,O,j,S,L,J);if(!(j&T)){var Y=$&&x.call(R,"__wrapped__"),B=g&&x.call(A,"__wrapped__");if(Y||B){var I=Y?R.value():R,z=B?A.value():A;return J||(J=new n),L(I,z,j,S,J)}}return P?(J||(J=new n),i(R,A,j,S,L,J)):!1}y(U,"baseIsEqualDeep"),t.exports=U}),Et=m((r,t)=>{var n=wa(),a=me();function s(i,l,p,u,f){return i===l?!0:i==null||l==null||!a(i)&&!a(l)?i!==i&&l!==l:n(i,l,p,u,s,f)}y(s,"baseIsEqual"),t.exports=s}),xa=m((r,t)=>{var n=xt(),a=Et(),s=1,i=2;function l(p,u,f,T){var v=f.length,_=v,b=!T;if(p==null)return!_;for(p=Object(p);v--;){var E=f[v];if(b&&E[2]?E[1]!==p[E[0]]:!(E[0]in p))return!1}for(;++v<_;){E=f[v];var x=E[0],U=p[x],R=E[1];if(b&&E[2]){if(U===void 0&&!(x in p))return!1}else{var A=new n;if(T)var j=T(U,R,x,p,u,A);if(!(j===void 0?a(R,U,s|i,T,A):j))return!1}}return!0}y(l,"baseIsMatch"),t.exports=l}),Nt=m((r,t)=>{var n=$e();function a(s){return s===s&&!n(s)}y(a,"isStrictComparable"),t.exports=a}),_a=m((r,t)=>{var n=Nt(),a=Ke();function s(i){for(var l=a(i),p=l.length;p--;){var u=l[p],f=i[u];l[p]=[u,f,n(f)]}return l}y(s,"getMatchData"),t.exports=s}),Pt=m((r,t)=>{function n(a,s){return function(i){return i==null?!1:i[a]===s&&(s!==void 0||a in Object(i))}}y(n,"matchesStrictComparable"),t.exports=n}),Ea=m((r,t)=>{var n=xa(),a=_a(),s=Pt();function i(l){var p=a(l);return p.length==1&&p[0][2]?s(p[0][0],p[0][1]):function(u){return u===l||n(u,l,p)}}y(i,"baseMatches"),t.exports=i}),Be=m((r,t)=>{var n=fe(),a=me(),s="[object Symbol]";function i(l){return typeof l=="symbol"||a(l)&&n(l)==s}y(i,"isSymbol"),t.exports=i}),Ye=m((r,t)=>{var n=te(),a=Be(),s=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/;function l(p,u){if(n(p))return!1;var f=typeof p;return f=="number"||f=="symbol"||f=="boolean"||p==null||a(p)?!0:i.test(p)||!s.test(p)||u!=null&&p in Object(u)}y(l,"isKey"),t.exports=l}),Na=m((r,t)=>{var n=qe(),a="Expected a function";function s(i,l){if(typeof i!="function"||l!=null&&typeof l!="function")throw new TypeError(a);var p=y(function(){var u=arguments,f=l?l.apply(this,u):u[0],T=p.cache;if(T.has(f))return T.get(f);var v=i.apply(this,u);return p.cache=T.set(f,v)||T,v},"memoized");return p.cache=new(s.Cache||n),p}y(s,"memoize"),s.Cache=n,t.exports=s}),Pa=m((r,t)=>{var n=Na(),a=500;function s(i){var l=n(i,function(u){return p.size===a&&p.clear(),u}),p=l.cache;return l}y(s,"memoizeCapped"),t.exports=s}),Oa=m((r,t)=>{var n=Pa(),a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,s=/\\(\\)?/g,i=n(function(l){var p=[];return l.charCodeAt(0)===46&&p.push(""),l.replace(a,function(u,f,T,v){p.push(T?v.replace(s,"$1"):f||u)}),p});t.exports=i}),Sa=m((r,t)=>{function n(a,s){for(var i=-1,l=a==null?0:a.length,p=Array(l);++i{var n=Je(),a=Sa(),s=te(),i=Be(),l=1/0,p=n?n.prototype:void 0,u=p?p.toString:void 0;function f(T){if(typeof T=="string")return T;if(s(T))return a(T,f)+"";if(i(T))return u?u.call(T):"";var v=T+"";return v=="0"&&1/T==-l?"-0":v}y(f,"baseToString"),t.exports=f}),ka=m((r,t)=>{var n=ja();function a(s){return s==null?"":n(s)}y(a,"toString"),t.exports=a}),Ot=m((r,t)=>{var n=te(),a=Ye(),s=Oa(),i=ka();function l(p,u){return n(p)?p:a(p,u)?[p]:s(i(p))}y(l,"castPath"),t.exports=l}),Ne=m((r,t)=>{var n=Be(),a=1/0;function s(i){if(typeof i=="string"||n(i))return i;var l=i+"";return l=="0"&&1/i==-a?"-0":l}y(s,"toKey"),t.exports=s}),St=m((r,t)=>{var n=Ot(),a=Ne();function s(i,l){l=n(l,i);for(var p=0,u=l.length;i!=null&&p{var n=St();function a(s,i,l){var p=s==null?void 0:n(s,i);return p===void 0?l:p}y(a,"get"),t.exports=a}),Ia=m((r,t)=>{function n(a,s){return a!=null&&s in Object(a)}y(n,"baseHasIn"),t.exports=n}),Ra=m((r,t)=>{var n=Ot(),a=vt(),s=te(),i=bt(),l=Ce(),p=Ne();function u(f,T,v){T=n(T,f);for(var _=-1,b=T.length,E=!1;++_{var n=Ia(),a=Ra();function s(i,l){return i!=null&&a(i,l,n)}y(s,"hasIn"),t.exports=s}),La=m((r,t)=>{var n=Et(),a=Aa(),s=Fa(),i=Ye(),l=Nt(),p=Pt(),u=Ne(),f=1,T=2;function v(_,b){return i(_)&&l(b)?p(u(_),b):function(E){var x=a(E,_);return x===void 0&&x===b?s(E,_):n(b,x,f|T)}}y(v,"baseMatchesProperty"),t.exports=v}),Ua=m((r,t)=>{function n(a){return a}y(n,"identity"),t.exports=n}),Va=m((r,t)=>{function n(a){return function(s){return s==null?void 0:s[a]}}y(n,"baseProperty"),t.exports=n}),Da=m((r,t)=>{var n=St();function a(s){return function(i){return n(i,s)}}y(a,"basePropertyDeep"),t.exports=a}),$a=m((r,t)=>{var n=Va(),a=Da(),s=Ye(),i=Ne();function l(p){return s(p)?n(i(p)):a(p)}y(l,"property"),t.exports=l}),Ca=m((r,t)=>{var n=Ea(),a=La(),s=Ua(),i=te(),l=$a();function p(u){return typeof u=="function"?u:u==null?s:typeof u=="object"?i(u)?a(u[0],u[1]):n(u):l(u)}y(p,"baseIteratee"),t.exports=p}),Ka=m((r,t)=>{var n=hn(),a=An(),s=Ca();function i(l,p){var u={};return p=s(p,3),a(l,function(f,T,v){n(u,T,p(f,T,v))}),u}y(i,"mapValues"),t.exports=i});const{UnknownArgTypesError:Ma}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__;var qa=y(r=>r.name==="literal","isLiteral"),Ba=y(r=>r.value.replace(/['|"]/g,""),"toEnumOption"),Ya=y(r=>{switch(r.type){case"function":return{name:"function"};case"object":let t={};return r.signature.properties.forEach(n=>{t[n.key]=ye(n.value)}),{name:"object",value:t};default:throw new Ma({type:r,language:"Flow"})}},"convertSig"),ye=y(r=>{var s,i,l,p;let{name:t,raw:n}=r,a={};switch(typeof n<"u"&&(a.raw=n),r.name){case"literal":return{...a,name:"other",value:r.value};case"string":case"number":case"symbol":case"boolean":return{...a,name:t};case"Array":return{...a,name:"array",value:r.elements.map(ye)};case"signature":return{...a,...Ya(r)};case"union":return(s=r.elements)!=null&&s.every(qa)?{...a,name:"enum",value:(i=r.elements)==null?void 0:i.map(Ba)}:{...a,name:t,value:(l=r.elements)==null?void 0:l.map(ye)};case"intersection":return{...a,name:t,value:(p=r.elements)==null?void 0:p.map(ye)};default:return{...a,name:"other",value:t}}},"convert"),Ga=ln(Ka()),jt=/^['"]|['"]$/g,za=y(r=>r.replace(jt,""),"trimQuotes"),Wa=y(r=>jt.test(r),"includesQuotes"),kt=y(r=>{let t=za(r);return Wa(r)||Number.isNaN(Number(t))?t:Number(t)},"parseLiteral"),Ha=/^\(.*\) => /,ue=y(r=>{let{name:t,raw:n,computed:a,value:s}=r,i={};switch(typeof n<"u"&&(i.raw=n),t){case"enum":{let p=a?s:s.map(u=>kt(u.value));return{...i,name:t,value:p}}case"string":case"number":case"symbol":return{...i,name:t};case"func":return{...i,name:"function"};case"bool":case"boolean":return{...i,name:"boolean"};case"arrayOf":case"array":return{...i,name:"array",value:s&&ue(s)};case"object":return{...i,name:t};case"objectOf":return{...i,name:t,value:ue(s)};case"shape":case"exact":let l=(0,Ga.default)(s,p=>ue(p));return{...i,name:"object",value:l};case"union":return{...i,name:"union",value:s.map(p=>ue(p))};case"instanceOf":case"element":case"elementType":default:{if((t==null?void 0:t.indexOf("|"))>0)try{let f=t.split("|").map(T=>JSON.parse(T));return{...i,name:"enum",value:f}}catch{}let p=s?`${t}(${s})`:t,u=Ha.test(t)?"function":"other";return{...i,name:u,value:p}}}},"convert");const{UnknownArgTypesError:Qa}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__;var Xa=y(r=>{switch(r.type){case"function":return{name:"function"};case"object":let t={};return r.signature.properties.forEach(n=>{t[n.key]=de(n.value)}),{name:"object",value:t};default:throw new Qa({type:r,language:"Typescript"})}},"convertSig"),de=y(r=>{var s,i,l,p;let{name:t,raw:n}=r,a={};switch(typeof n<"u"&&(a.raw=n),r.name){case"string":case"number":case"symbol":case"boolean":return{...a,name:t};case"Array":return{...a,name:"array",value:r.elements.map(de)};case"signature":return{...a,...Xa(r)};case"union":let u;return(s=r.elements)!=null&&s.every(f=>f.name==="literal")?u={...a,name:"enum",value:(i=r.elements)==null?void 0:i.map(f=>kt(f.value))}:u={...a,name:t,value:(l=r.elements)==null?void 0:l.map(de)},u;case"intersection":return{...a,name:t,value:(p=r.elements)==null?void 0:p.map(de)};default:return{...a,name:"other",value:t}}},"convert"),Ge=y(r=>{let{type:t,tsType:n,flowType:a}=r;try{if(t!=null)return ue(t);if(n!=null)return de(n);if(a!=null)return ye(a)}catch(s){console.error(s)}return null},"convert"),Za=(r=>(r.JAVASCRIPT="JavaScript",r.FLOW="Flow",r.TYPESCRIPT="TypeScript",r.UNKNOWN="Unknown",r))(Za||{}),eo=["null","undefined"];function Pe(r){return eo.some(t=>t===r)}y(Pe,"isDefaultValueBlacklisted");var to=y(r=>{if(!r)return"";if(typeof r=="string")return r;throw new Error(`Description: expected string, got: ${JSON.stringify(r)}`)},"str");function ze(r){return!!r.__docgenInfo}y(ze,"hasDocgen");function At(r){return r!=null&&Object.keys(r).length>0}y(At,"isValidDocgenSection");function It(r,t){return ze(r)?r.__docgenInfo[t]:null}y(It,"getDocgenSection");function Rt(r){return ze(r)?to(r.__docgenInfo.description):""}y(Rt,"getDocgenDescription");var ee;(function(r){r.start="/**",r.nostart="/***",r.delim="*",r.end="*/"})(ee=ee||(ee={}));function Ft(r){return/^\s+$/.test(r)}y(Ft,"isSpace");function Lt(r){let t=r.match(/\r+$/);return t==null?["",r]:[r.slice(-t[0].length),r.slice(0,-t[0].length)]}y(Lt,"splitCR");function ae(r){let t=r.match(/^\s+/);return t==null?["",r]:[r.slice(0,t[0].length),r.slice(t[0].length)]}y(ae,"splitSpace");function Ut(r){return r.split(/\n/)}y(Ut,"splitLines");function Vt(r={}){return Object.assign({tag:"",name:"",type:"",optional:!1,description:"",problems:[],source:[]},r)}y(Vt,"seedSpec");function Dt(r={}){return Object.assign({start:"",delimiter:"",postDelimiter:"",tag:"",postTag:"",name:"",postName:"",type:"",postType:"",description:"",end:"",lineEnd:""},r)}y(Dt,"seedTokens");var ro=/^@\S+/;function $t({fence:r="```"}={}){let t=Ct(r),n=y((a,s)=>t(a)?!s:s,"toggleFence");return y(function(a){let s=[[]],i=!1;for(let l of a)ro.test(l.tokens.description)&&!i?s.push([l]):s[s.length-1].push(l),i=n(l.tokens.description,i);return s},"parseBlock")}y($t,"getParser");function Ct(r){return typeof r=="string"?t=>t.split(r).length%2===0:r}y(Ct,"getFencer");function Kt({startLine:r=0,markers:t=ee}={}){let n=null,a=r;return y(function(s){let i=s,l=Dt();if([l.lineEnd,i]=Lt(i),[l.start,i]=ae(i),n===null&&i.startsWith(t.start)&&!i.startsWith(t.nostart)&&(n=[],l.delimiter=i.slice(0,t.start.length),i=i.slice(t.start.length),[l.postDelimiter,i]=ae(i)),n===null)return a++,null;let p=i.trimRight().endsWith(t.end);if(l.delimiter===""&&i.startsWith(t.delim)&&!i.startsWith(t.end)&&(l.delimiter=t.delim,i=i.slice(t.delim.length),[l.postDelimiter,i]=ae(i)),p){let u=i.trimRight();l.end=i.slice(u.length-t.end.length),i=u.slice(0,-t.end.length)}if(l.description=i,n.push({number:a,source:s,tokens:l}),a++,p){let u=n.slice();return n=null,u}return null},"parseSource")}y(Kt,"getParser");function Mt({tokenizers:r}){return y(function(t){var n;let a=Vt({source:t});for(let s of r)if(a=s(a),!((n=a.problems[a.problems.length-1])===null||n===void 0)&&n.critical)break;return a},"parseSpec")}y(Mt,"getParser");function qt(){return r=>{let{tokens:t}=r.source[0],n=t.description.match(/\s*(@(\S+))(\s*)/);return n===null?(r.problems.push({code:"spec:tag:prefix",message:'tag should start with "@" symbol',line:r.source[0].number,critical:!0}),r):(t.tag=n[1],t.postTag=n[3],t.description=t.description.slice(n[0].length),r.tag=n[2],r)}}y(qt,"tagTokenizer");function Bt(r="compact"){let t=Yt(r);return n=>{let a=0,s=[];for(let[p,{tokens:u}]of n.source.entries()){let f="";if(p===0&&u.description[0]!=="{")return n;for(let T of u.description)if(T==="{"&&a++,T==="}"&&a--,f+=T,a===0)break;if(s.push([u,f]),a===0)break}if(a!==0)return n.problems.push({code:"spec:type:unpaired-curlies",message:"unpaired curlies",line:n.source[0].number,critical:!0}),n;let i=[],l=s[0][0].postDelimiter.length;for(let[p,[u,f]]of s.entries())u.type=f,p>0&&(u.type=u.postDelimiter.slice(l)+f,u.postDelimiter=u.postDelimiter.slice(0,l)),[u.postType,u.description]=ae(u.description.slice(f.length)),i.push(u.type);return i[0]=i[0].slice(1),i[i.length-1]=i[i.length-1].slice(0,-1),n.type=t(i),n}}y(Bt,"typeTokenizer");var no=y(r=>r.trim(),"trim");function Yt(r){return r==="compact"?t=>t.map(no).join(""):r==="preserve"?t=>t.join(` +`):r}y(Yt,"getJoiner");var ao=y(r=>r&&r.startsWith('"')&&r.endsWith('"'),"isQuoted");function Gt(){let r=y((t,{tokens:n},a)=>n.type===""?t:a,"typeEnd");return t=>{let{tokens:n}=t.source[t.source.reduce(r,0)],a=n.description.trimLeft(),s=a.split('"');if(s.length>1&&s[0]===""&&s.length%2===1)return t.name=s[1],n.name=`"${s[1]}"`,[n.postName,n.description]=ae(a.slice(n.name.length)),t;let i=0,l="",p=!1,u;for(let T of a){if(i===0&&Ft(T))break;T==="["&&i++,T==="]"&&i--,l+=T}if(i!==0)return t.problems.push({code:"spec:name:unpaired-brackets",message:"unpaired brackets",line:t.source[0].number,critical:!0}),t;let f=l;if(l[0]==="["&&l[l.length-1]==="]"){p=!0,l=l.slice(1,-1);let T=l.split("=");if(l=T[0].trim(),T[1]!==void 0&&(u=T.slice(1).join("=").trim()),l==="")return t.problems.push({code:"spec:name:empty-name",message:"empty name",line:t.source[0].number,critical:!0}),t;if(u==="")return t.problems.push({code:"spec:name:empty-default",message:"empty default value",line:t.source[0].number,critical:!0}),t;if(!ao(u)&&/=(?!>)/.test(u))return t.problems.push({code:"spec:name:invalid-default",message:"invalid default value syntax",line:t.source[0].number,critical:!0}),t}return t.optional=p,t.name=l,n.name=f,u!==void 0&&(t.default=u),[n.postName,n.description]=ae(a.slice(n.name.length)),t}}y(Gt,"nameTokenizer");function zt(r="compact",t=ee){let n=We(r);return a=>(a.description=n(a.source,t),a)}y(zt,"descriptionTokenizer");function We(r){return r==="compact"?Wt:r==="preserve"?Ht:r}y(We,"getJoiner");function Wt(r,t=ee){return r.map(({tokens:{description:n}})=>n.trim()).filter(n=>n!=="").join(" ")}y(Wt,"compactJoiner");var oo=y((r,{tokens:t},n)=>t.type===""?r:n,"lineNo"),so=y(({tokens:r})=>(r.delimiter===""?r.start:r.postDelimiter.slice(1))+r.description,"getDescription");function Ht(r,t=ee){if(r.length===0)return"";r[0].tokens.description===""&&r[0].tokens.delimiter===t.start&&(r=r.slice(1));let n=r[r.length-1];return n!==void 0&&n.tokens.description===""&&n.tokens.end.endsWith(t.end)&&(r=r.slice(0,-1)),r=r.slice(r.reduce(oo,0)),r.map(so).join(` +`)}y(Ht,"preserveJoiner");function Qt({startLine:r=0,fence:t="```",spacing:n="compact",markers:a=ee,tokenizers:s=[qt(),Bt(n),Gt(),zt(n)]}={}){if(r<0||r%1>0)throw new Error("Invalid startLine");let i=Kt({startLine:r,markers:a}),l=$t({fence:t}),p=Mt({tokenizers:s}),u=We(n);return function(f){let T=[];for(let v of Ut(f)){let _=i(v);if(_===null)continue;let b=l(_),E=b.slice(1).map(p);T.push({description:u(b[0],a),tags:E,source:_,problems:E.reduce((x,U)=>x.concat(U.problems),[])})}return T}}y(Qt,"getParser");function Xt(r){return r.start+r.delimiter+r.postDelimiter+r.tag+r.postTag+r.type+r.postType+r.name+r.postName+r.description+r.end+r.lineEnd}y(Xt,"join");function io(){return r=>r.source.map(({tokens:t})=>Xt(t)).join(` +`)}y(io,"getStringifier");function Zt(r,t={}){return Qt(t)(r)}y(Zt,"parse");function er(r){return r!=null&&r.includes("@")}y(er,"containsJsDoc");function tr(r){let t=`/** +`+(r??"").split(` +`).map(a=>` * ${a}`).join(` +`)+` +*/`,n=Zt(t,{spacing:"preserve"});if(!n||n.length===0)throw new Error("Cannot parse JSDoc tags.");return n[0]}y(tr,"parse");var co={tags:["param","arg","argument","returns","ignore","deprecated"]},lo=y((r,t=co)=>{if(!er(r))return{includesJsDoc:!1,ignore:!1};let n=tr(r),a=rr(n,t.tags);return a.ignore?{includesJsDoc:!0,ignore:!0}:{includesJsDoc:!0,ignore:!1,description:n.description.trim(),extractedTags:a}},"parseJsDoc");function rr(r,t){let n={params:null,deprecated:null,returns:null,ignore:!1};for(let a of r.tags)if(!(t!==void 0&&!t.includes(a.tag)))if(a.tag==="ignore"){n.ignore=!0;break}else switch(a.tag){case"param":case"arg":case"argument":{let s=ar(a);s!=null&&(n.params==null&&(n.params=[]),n.params.push(s));break}case"deprecated":{let s=or(a);s!=null&&(n.deprecated=s);break}case"returns":{let s=sr(a);s!=null&&(n.returns=s);break}}return n}y(rr,"extractJsDocTags");function nr(r){return r.replace(/[\.-]$/,"")}y(nr,"normaliseParamName");function ar(r){if(!r.name||r.name==="-")return null;let t=Xe(r.type);return{name:r.name,type:t,description:Qe(r.description),getPrettyName:y(()=>nr(r.name),"getPrettyName"),getTypeName:y(()=>t?Ze(t):null,"getTypeName")}}y(ar,"extractParam");function or(r){return r.name?He(r.name,r.description):null}y(or,"extractDeprecated");function He(r,t){let n=r===""?t:`${r} ${t}`;return Qe(n)}y(He,"joinNameAndDescription");function Qe(r){let t=r.replace(/^- /g,"").trim();return t===""?null:t}y(Qe,"normaliseDescription");function sr(r){let t=Xe(r.type);return t?{type:t,description:He(r.name,r.description),getTypeName:y(()=>Ze(t),"getTypeName")}:null}y(sr,"extractReturns");var re=Ve.stringifyRules(),po=re.JsdocTypeObject;re.JsdocTypeAny=()=>"any";re.JsdocTypeObject=(r,t)=>`(${po(r,t)})`;re.JsdocTypeOptional=(r,t)=>t(r.element);re.JsdocTypeNullable=(r,t)=>t(r.element);re.JsdocTypeNotNullable=(r,t)=>t(r.element);re.JsdocTypeUnion=(r,t)=>r.elements.map(t).join("|");function Xe(r){try{return Ve.parse(r,"typescript")}catch{return null}}y(Xe,"extractType");function Ze(r){return Ve.transform(re,r)}y(Ze,"extractTypeName");function et(r){return r.length>90}y(et,"isTooLongForTypeSummary");function ir(r){return r.length>50}y(ir,"isTooLongForDefaultValueSummary");function D(r,t){return r===t?{summary:r}:{summary:r,detail:t}}y(D,"createSummaryValue");function cr(r,t){if(r!=null){let{value:n}=r;if(!Pe(n))return ir(n)?D(t==null?void 0:t.name,n):D(n)}return null}y(cr,"createDefaultValue");function tt({name:r,value:t,elements:n,raw:a}){return t??(n!=null?n.map(tt).join(" | "):a??r)}y(tt,"generateUnionElement");function lr({name:r,raw:t,elements:n}){return n!=null?D(n.map(tt).join(" | ")):t!=null?D(t.replace(/^\|\s*/,"")):D(r)}y(lr,"generateUnion");function pr({type:r,raw:t}){return t!=null?D(t):D(r)}y(pr,"generateFuncSignature");function ur({type:r,raw:t}){return t!=null?et(t)?D(r,t):D(t):D(r)}y(ur,"generateObjectSignature");function yr(r){let{type:t}=r;return t==="object"?ur(r):pr(r)}y(yr,"generateSignature");function dr({name:r,raw:t}){return t!=null?et(t)?D(r,t):D(t):D(r)}y(dr,"generateDefault");function fr(r){if(r==null)return null;switch(r.name){case"union":return lr(r);case"signature":return yr(r);default:return dr(r)}}y(fr,"createType");var uo=y((r,t)=>{let{flowType:n,description:a,required:s,defaultValue:i}=t;return{name:r,type:fr(n),required:s,description:a,defaultValue:cr(i??null,n??null)}},"createFlowPropDef");function mr({defaultValue:r}){if(r!=null){let{value:t}=r;if(!Pe(t))return D(t)}return null}y(mr,"createDefaultValue");function Tr({tsType:r,required:t}){if(r==null)return null;let n=r.name;return t||(n=n.replace(" | undefined","")),D(["Array","Record","signature"].includes(r.name)?r.raw:n)}y(Tr,"createType");var yo=y((r,t)=>{let{description:n,required:a}=t;return{name:r,type:Tr(t),required:a,description:n,defaultValue:mr(t)}},"createTsPropDef");function hr(r){return r!=null?D(r.name):null}y(hr,"createType");function vr(r){let{computed:t,func:n}=r;return typeof t>"u"&&typeof n>"u"}y(vr,"isReactDocgenTypescript");function gr(r){return r?r.name==="string"?!0:r.name==="enum"?Array.isArray(r.value)&&r.value.every(({value:t})=>typeof t=="string"&&t[0]==='"'&&t[t.length-1]==='"'):!1:!1}y(gr,"isStringValued");function br(r,t){if(r!=null){let{value:n}=r;if(!Pe(n))return vr(r)&&gr(t)?D(JSON.stringify(n)):D(n)}return null}y(br,"createDefaultValue");function rt(r,t,n){let{description:a,required:s,defaultValue:i}=n;return{name:r,type:hr(t),required:s,description:a,defaultValue:br(i,t)}}y(rt,"createBasicPropDef");function Te(r,t){var n;if(t!=null&&t.includesJsDoc){let{description:a,extractedTags:s}=t;a!=null&&(r.description=t.description);let i={...s,params:(n=s==null?void 0:s.params)==null?void 0:n.map(l=>({name:l.getPrettyName(),description:l.description}))};Object.values(i).filter(Boolean).length>0&&(r.jsDocTags=i)}return r}y(Te,"applyJsDocResult");var fo=y((r,t,n)=>{let a=rt(r,t.type,t);return a.sbType=Ge(t),Te(a,n)},"javaScriptFactory"),mo=y((r,t,n)=>{let a=yo(r,t);return a.sbType=Ge(t),Te(a,n)},"tsFactory"),To=y((r,t,n)=>{let a=uo(r,t);return a.sbType=Ge(t),Te(a,n)},"flowFactory"),ho=y((r,t,n)=>{let a=rt(r,{name:"unknown"},t);return Te(a,n)},"unknownFactory"),Jr=y(r=>{switch(r){case"JavaScript":return fo;case"TypeScript":return mo;case"Flow":return To;default:return ho}},"getPropDefFactory"),wr=y(r=>r.type!=null?"JavaScript":r.flowType!=null?"Flow":r.tsType!=null?"TypeScript":"Unknown","getTypeSystem"),vo=y(r=>{let t=wr(r[0]),n=Jr(t);return r.map(a=>{var i;let s=a;return(i=a.type)!=null&&i.elements&&(s={...a,type:{...a.type,value:a.type.elements}}),nt(s.name,s,t,n)})},"extractComponentSectionArray"),go=y(r=>{let t=Object.keys(r),n=wr(r[t[0]]),a=Jr(n);return t.map(s=>{let i=r[s];return i!=null?nt(s,i,n,a):null}).filter(Boolean)},"extractComponentSectionObject"),Eo=y((r,t)=>{let n=It(r,t);return At(n)?Array.isArray(n)?vo(n):go(n):[]},"extractComponentProps");function nt(r,t,n,a){let s=lo(t.description);return s.includesJsDoc&&s.ignore?null:{propDef:a(r,t,s),jsDocTags:s.extractedTags,docgenInfo:t,typeSystem:n}}y(nt,"extractProp");function bo(r){return r!=null?Rt(r):""}y(bo,"extractComponentDescription");const{combineParameters:Jo}=__STORYBOOK_MODULE_PREVIEW_API__;var No=y(r=>{let{component:t,argTypes:n,parameters:{docs:a={}}}=r,{extractArgTypes:s}=a,i=s&&t?s(t):{};return i?Jo(i,n):n},"enhanceArgTypes"),wo="storybook/docs",Po=`${wo}/snippet-rendered`,xo=(r=>(r.AUTO="auto",r.CODE="code",r.DYNAMIC="dynamic",r))(xo||{});export{ir as $,xo as D,It as L,ze as N,et as Q,D as a,Eo as b,No as c,Za as d,bo as i,Po as y}; diff --git a/assets/index-D4CCEPie.js b/assets/index-D4CCEPie.js new file mode 100644 index 00000000..d554be32 --- /dev/null +++ b/assets/index-D4CCEPie.js @@ -0,0 +1,595 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-BwmOyQc7.js","./iframe-B1Sidt8M.js","./index-0d5eMwbi.js","./jsx-runtime-C798UXYj.js","./index-BoyHNU0R.js","./index-D-8MO0q_.js","./index-CxJhtZoZ.js","./index-DrFu-skq.js","./Color-ERTF36HU-B3LPFtYd.js"])))=>i.map(i=>d[i]); +var dS=Object.defineProperty;var pS=(e,t,r)=>t in e?dS(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var $n=(e,t,r)=>pS(e,typeof t!="symbol"?t+"":t,r);import{_ as $3}from"./iframe-B1Sidt8M.js";import{r as l,R as y,c as $i,g as $s}from"./index-0d5eMwbi.js";import{j as X}from"./jsx-runtime-C798UXYj.js";import{r as Ps,E as P3}from"./index-BoyHNU0R.js";import{O as N3,P as fS}from"./index-D-8MO0q_.js";import{y as Em,D as tc}from"./index-CxJhtZoZ.js";import{d as hS}from"./index-DrFu-skq.js";var mS=Object.create,j3=Object.defineProperty,gS=Object.getOwnPropertyDescriptor,H3=Object.getOwnPropertyNames,vS=Object.getPrototypeOf,yS=Object.prototype.hasOwnProperty,Ra=(e,t)=>function(){return t||(0,e[H3(e)[0]])((t={exports:{}}).exports,t),t.exports},bS=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of H3(t))!yS.call(e,a)&&a!==r&&j3(e,a,{get:()=>t[a],enumerable:!(n=gS(t,a))||n.enumerable});return e},wS=(e,t,r)=>(r=e!=null?mS(vS(e)):{},bS(!e||!e.__esModule?j3(r,"default",{value:e,enumerable:!0}):r,e)),Et=e=>`control-${e.replace(/\s+/g,"-")}`,Ns=e=>`set-${e.replace(/\s+/g,"-")}`,ES=Object.create,Mp=Object.defineProperty,xS=Object.getOwnPropertyDescriptor,CS=Object.getOwnPropertyNames,DS=Object.getPrototypeOf,SS=Object.prototype.hasOwnProperty,I=(e,t)=>Mp(e,"name",{value:t,configurable:!0}),Pi=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),js=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),AS=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of CS(t))!SS.call(e,a)&&a!==r&&Mp(e,a,{get:()=>t[a],enumerable:!(n=xS(t,a))||n.enumerable});return e},$p=(e,t,r)=>(r=e!=null?ES(DS(e)):{},AS(t||!e||!e.__esModule?Mp(r,"default",{value:e,enumerable:!0}):r,e)),kS=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,o=t?Symbol.for("react.strict_mode"):60108,i=t?Symbol.for("react.profiler"):60114,s=t?Symbol.for("react.provider"):60109,u=t?Symbol.for("react.context"):60110,d=t?Symbol.for("react.async_mode"):60111,f=t?Symbol.for("react.concurrent_mode"):60111,h=t?Symbol.for("react.forward_ref"):60112,p=t?Symbol.for("react.suspense"):60113,m=t?Symbol.for("react.suspense_list"):60120,g=t?Symbol.for("react.memo"):60115,v=t?Symbol.for("react.lazy"):60116,b=t?Symbol.for("react.block"):60121,x=t?Symbol.for("react.fundamental"):60117,E=t?Symbol.for("react.responder"):60118,C=t?Symbol.for("react.scope"):60119;function w(P){return typeof P=="string"||typeof P=="function"||P===a||P===f||P===i||P===o||P===p||P===m||typeof P=="object"&&P!==null&&(P.$$typeof===v||P.$$typeof===g||P.$$typeof===s||P.$$typeof===u||P.$$typeof===h||P.$$typeof===x||P.$$typeof===E||P.$$typeof===C||P.$$typeof===b)}I(w,"isValidElementType");function D(P){if(typeof P=="object"&&P!==null){var it=P.$$typeof;switch(it){case r:var kt=P.type;switch(kt){case d:case f:case a:case i:case o:case p:return kt;default:var Vr=kt&&kt.$$typeof;switch(Vr){case u:case h:case v:case g:case s:return Vr;default:return it}}case n:return it}}}I(D,"typeOf");var S=d,A=f,k=u,F=s,T=r,R=h,L=a,z=v,M=g,O=n,$=i,H=o,K=p,N=!1;function W(P){return N||(N=!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.")),te(P)||D(P)===d}I(W,"isAsyncMode");function te(P){return D(P)===f}I(te,"isConcurrentMode");function ue(P){return D(P)===u}I(ue,"isContextConsumer");function re(P){return D(P)===s}I(re,"isContextProvider");function ae(P){return typeof P=="object"&&P!==null&&P.$$typeof===r}I(ae,"isElement");function j(P){return D(P)===h}I(j,"isForwardRef");function Z(P){return D(P)===a}I(Z,"isFragment");function J(P){return D(P)===v}I(J,"isLazy");function ge(P){return D(P)===g}I(ge,"isMemo");function ke(P){return D(P)===n}I(ke,"isPortal");function At(P){return D(P)===i}I(At,"isProfiler");function Ue(P){return D(P)===o}I(Ue,"isStrictMode");function ot(P){return D(P)===p}I(ot,"isSuspense"),e.AsyncMode=S,e.ConcurrentMode=A,e.ContextConsumer=k,e.ContextProvider=F,e.Element=T,e.ForwardRef=R,e.Fragment=L,e.Lazy=z,e.Memo=M,e.Portal=O,e.Profiler=$,e.StrictMode=H,e.Suspense=K,e.isAsyncMode=W,e.isConcurrentMode=te,e.isContextConsumer=ue,e.isContextProvider=re,e.isElement=ae,e.isForwardRef=j,e.isFragment=Z,e.isLazy=J,e.isMemo=ge,e.isPortal=ke,e.isProfiler=At,e.isStrictMode=Ue,e.isSuspense=ot,e.isValidElementType=w,e.typeOf=D})()}),_S=js((e,t)=>{t.exports=kS()}),V3=js((e,t)=>{var r=_S(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[r.ForwardRef]=o,s[r.Memo]=i;function u(b){return r.isMemo(b)?i:s[b.$$typeof]||n}I(u,"getStatics");var d=Object.defineProperty,f=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,m=Object.getPrototypeOf,g=Object.prototype;function v(b,x,E){if(typeof x!="string"){if(g){var C=m(x);C&&C!==g&&v(b,C,E)}var w=f(x);h&&(w=w.concat(h(x)));for(var D=u(b),S=u(x),A=0;A{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return I(function r(n,a,o){function i(d,f){if(!a[d]){if(!n[d]){var h=typeof Pi=="function"&Πif(!f&&h)return h(d,!0);if(s)return s(d,!0);var p=new Error("Cannot find module '"+d+"'");throw p.code="MODULE_NOT_FOUND",p}var m=a[d]={exports:{}};n[d][0].call(m.exports,function(g){var v=n[d][1][g];return i(v||g)},m,m.exports,r,n,a,o)}return a[d].exports}I(i,"s");for(var s=typeof Pi=="function"&&Pi,u=0;u=0)return this.lastItem=this.list[s],this.list[s].val},o.prototype.set=function(i,s){var u;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=s,this):(u=this.indexOf(i),u>=0?(this.lastItem=this.list[u],this.list[u].val=s,this):(this.lastItem={key:i,val:s},this.list.push(this.lastItem),this.size++,this))},o.prototype.delete=function(i){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),s=this.indexOf(i),s>=0)return this.size--,this.list.splice(s,1)[0]},o.prototype.has=function(i){var s;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(s=this.indexOf(i),s>=0?(this.lastItem=this.list[s],!0):!1)},o.prototype.forEach=function(i,s){var u;for(u=0;u0&&(E[x]={cacheItem:g,arg:arguments[x]},C?i(h,E):h.push(E),h.length>d&&s(h.shift())),m.wasMemoized=C,m.numArgs=x+1,b},"memoizerific");return m.limit=d,m.wasMemoized=!1,m.cache=f,m.lru=h,m}};function i(d,f){var h=d.length,p=f.length,m,g,v;for(g=0;g=0&&(h=d[m],p=h.cacheItem.get(h.arg),!p||!p.size);m--)h.cacheItem.delete(h.arg)}I(s,"removeCachedResult");function u(d,f){return d===f||d!==d&&f!==f}I(u,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})});function Ut(){return Ut=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?Ce(Ba,--He):0,fa--,he===10&&(fa=1,Us--),he}I(X3,"prev");function Pe(){return he=He2||ha(he)>3?"":" "}I(Q3,"whitespace");function eb(e,t){for(;--t&&Pe()&&!(he<48||he>102||he>57&&he<65||he>70&&he<97););return za(e,Ro()+(t<6&&mt()==32&&Pe()==32))}I(eb,"escaping");function ql(e){for(;Pe();)switch(he){case e:return He;case 34:case 39:e!==34&&e!==39&&ql(he);break;case 40:e===41&&ql(e);break;case 92:Pe();break}return He}I(ql,"delimiter");function tb(e,t){for(;Pe()&&e+he!==57&&!(e+he===84&&mt()===47););return"/*"+za(t,He-1)+"*"+Hs(e===47?e:Pe())}I(tb,"commenter");function rb(e){for(;!ha(mt());)Pe();return za(e,He)}I(rb,"identifier");function nb(e){return Wp(zo("",null,null,null,[""],e=qp(e),0,[0],e))}I(nb,"compile");function zo(e,t,r,n,a,o,i,s,u){for(var d=0,f=0,h=i,p=0,m=0,g=0,v=1,b=1,x=1,E=0,C="",w=a,D=o,S=n,A=C;b;)switch(g=E,E=Pe()){case 40:if(g!=108&&Ce(A,h-1)==58){Ul(A+=ee(Bo(E),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:A+=Bo(E);break;case 9:case 10:case 13:case 32:A+=Q3(g);break;case 92:A+=eb(Ro()-1,7);continue;case 47:switch(mt()){case 42:case 47:bo(ab(tb(Pe(),Ro()),t,r),u);break;default:A+="/"}break;case 123*v:s[d++]=dt(A)*x;case 125*v:case 59:case 0:switch(E){case 0:case 125:b=0;case 59+f:x==-1&&(A=ee(A,/\f/g,"")),m>0&&dt(A)-h&&bo(m>32?Md(A+";",n,r,h-1):Md(ee(A," ","")+";",n,r,h-2),u);break;case 59:A+=";";default:if(bo(S=Ld(A,t,r,d,f,a,s,C,w=[],D=[],h),o),E===123)if(f===0)zo(A,t,S,S,w,o,h,s,D);else switch(p===99&&Ce(A,3)===110?100:p){case 100:case 108:case 109:case 115:zo(e,S,S,n&&bo(Ld(e,S,S,0,0,a,s,C,a,w=[],h),D),a,D,h,s,n?w:D);break;default:zo(A,S,S,S,[""],D,0,s,D)}}d=f=m=0,v=x=1,C=A="",h=i;break;case 58:h=1+dt(A),m=g;default:if(v<1){if(E==123)--v;else if(E==125&&v++==0&&X3()==125)continue}switch(A+=Hs(E),E*v){case 38:x=f>0?1:(A+="\f",-1);break;case 44:s[d++]=(dt(A)-1)*x,x=1;break;case 64:mt()===45&&(A+=Bo(Pe())),p=mt(),f=h=dt(C=A+=rb(Ro())),E++;break;case 45:g===45&&dt(A)==2&&(v=0)}}return o}I(zo,"parse");function Ld(e,t,r,n,a,o,i,s,u,d,f){for(var h=a-1,p=a===0?o:[""],m=Vs(p),g=0,v=0,b=0;g0?p[x]+" "+E:ee(E,/&\f/g,p[x])))&&(u[b++]=C);return si(e,t,r,a===0?Hp:s,u,d,f)}I(Ld,"ruleset");function ab(e,t,r){return si(e,t,r,jp,Hs(J3()),pa(e,2,-2),0)}I(ab,"comment");function Md(e,t,r,n){return si(e,t,r,Vp,pa(e,0,n),pa(e,n+1,-1),n)}I(Md,"declaration");function dn(e,t){for(var r="",n=Vs(e),a=0;a-1},"isIgnoringComment"),VS=I(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 o=!!t.parent,i=o?t.parent.children:n,s=i.length-1;s>=0;s--){var u=i[s];if(u.line=0;r--)if(!lb(t[r]))return!0;return!1},"isPrependedWithRegularRules"),Dm=I(function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},"nullifyElement"),qS=I(function(e,t,r){lb(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."),Dm(e)):US(t,r)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Dm(e)))},"incorrectImportAlarm");function Gp(e,t){switch(G3(e,t)){case 5103:return ne+"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 ne+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ne+e+Vl+e+Re+e+e;case 6828:case 4268:return ne+e+Re+e+e;case 6165:return ne+e+Re+"flex-"+e+e;case 5187:return ne+e+ee(e,/(\w+).+(:[^]+)/,ne+"box-$1$2"+Re+"flex-$1$2")+e;case 5443:return ne+e+Re+"flex-item-"+ee(e,/flex-|-self/,"")+e;case 4675:return ne+e+Re+"flex-line-pack"+ee(e,/align-content|flex-|-self/,"")+e;case 5548:return ne+e+Re+ee(e,"shrink","negative")+e;case 5292:return ne+e+Re+ee(e,"basis","preferred-size")+e;case 6060:return ne+"box-"+ee(e,"-grow","")+ne+e+Re+ee(e,"grow","positive")+e;case 4554:return ne+ee(e,/([^-])(transform)/g,"$1"+ne+"$2")+e;case 6187:return ee(ee(ee(e,/(zoom-|grab)/,ne+"$1"),/(image-set)/,ne+"$1"),e,"")+e;case 5495:case 3959:return ee(e,/(image-set\([^]*)/,ne+"$1$`$1");case 4968:return ee(ee(e,/(.+:)(flex-)?(.*)/,ne+"box-pack:$3"+Re+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ne+e+e;case 4095:case 3583:case 4068:case 2532:return ee(e,/(.+)-inline(.+)/,ne+"$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(dt(e)-1-t>6)switch(Ce(e,t+1)){case 109:if(Ce(e,t+4)!==45)break;case 102:return ee(e,/(.+:)(.+)-([^]+)/,"$1"+ne+"$2-$3$1"+Vl+(Ce(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Ul(e,"stretch")?Gp(ee(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Ce(e,t+1)!==115)break;case 6444:switch(Ce(e,dt(e)-3-(~Ul(e,"!important")&&10))){case 107:return ee(e,":",":"+ne)+e;case 101:return ee(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ne+(Ce(e,14)===45?"inline-":"")+"box$3$1"+ne+"$2$3$1"+Re+"$2box$3")+e}break;case 5936:switch(Ce(e,t+11)){case 114:return ne+e+Re+ee(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ne+e+Re+ee(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ne+e+Re+ee(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ne+e+Re+e+e}return e}I(Gp,"prefix");var WS=I(function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case Vp:e.return=Gp(e.value,e.length);break;case W3:return dn([Wn(e,{value:ee(e.value,"@","@"+ne)})],n);case Hp:if(e.length)return Y3(e.props,function(a){switch(K3(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return dn([Wn(e,{props:[ee(a,/:(read-\w+)/,":"+Vl+"$1")]})],n);case"::placeholder":return dn([Wn(e,{props:[ee(a,/:(plac\w+)/,":"+ne+"input-$1")]}),Wn(e,{props:[ee(a,/:(plac\w+)/,":"+Vl+"$1")]}),Wn(e,{props:[ee(a,/:(plac\w+)/,Re+"input-$1")]})],n)}return""})}},"prefixer"),GS=[WS],KS=I(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(g){var v=g.getAttribute("data-emotion");v.indexOf(" ")!==-1&&(document.head.appendChild(g),g.setAttribute("data-s",""))})}var n=e.stylisPlugins||GS;if(/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var a={},o,i=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(g){for(var v=g.getAttribute("data-emotion").split(" "),b=1;b=4;++n,a-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(a){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}I(sb,"murmur2");var XS={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},Sm=`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`,QS="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",eA=/[A-Z]|^ms/g,ub=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Kp=I(function(e){return e.charCodeAt(1)===45},"isCustomProperty"),Am=I(function(e){return e!=null&&typeof e!="boolean"},"isProcessableValue"),rc=Pp(function(e){return Kp(e)?e:e.replace(eA,"-$&").toLowerCase()}),Wl=I(function(e,t){switch(e){case"animation":case"animationName":if(typeof t=="string")return t.replace(ub,function(r,n,a){return Lt={name:n,styles:a,next:Lt},n})}return XS[e]!==1&&!Kp(e)&&typeof t=="number"&&t!==0?t+"px":t},"processStyleValue");km=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,_m=["normal","none","initial","inherit","unset"],Fm=Wl,Im=/^-ms-/,Tm=/-(.)/g,nc={},Wl=I(function(e,t){if(e==="content"&&(typeof t!="string"||_m.indexOf(t)===-1&&!km.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=Fm(e,t);return r!==""&&!Kp(e)&&e.indexOf("-")!==-1&&nc[e]===void 0&&(nc[e]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+e.replace(Im,"ms-").replace(Tm,function(n,a){return a.toUpperCase()})+"?")),r},"processStyleValue");var km,_m,Fm,Im,Tm,nc,cb="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function ma(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0){if(r.toString()==="NO_COMPONENT_SELECTOR")throw new Error(cb);return r}switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return Lt={name:r.name,styles:r.styles,next:Lt},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)Lt={name:n.name,styles:n.styles,next:Lt},n=n.next;var a=r.styles+";";return r.map!==void 0&&(a+=r.map),a}return db(e,t,r)}case"function":{if(e!==void 0){var o=Lt,i=r(e);return Lt=o,ma(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 s=[],u=r.replace(ub,function(f,h,p){var m="animation"+s.length;return s.push("const "+m+" = keyframes`"+p.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+m+"}"});s.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(s,["`"+u+"`"]).join(` +`)+` + +You should wrap it with \`css\` like this: + +`+("css`"+u+"`"));break}if(t==null)return r;var d=t[r];return d!==void 0?d:r}I(ma,"handleInterpolation");function db(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 Ut({},e,t)},"getTheme"),aA=xm(function(e){return xm(function(t){return nA(e,t)})}),mb=I(function(e){var t=l.useContext(dr);return e.theme!==t&&(t=aA(t)(e.theme)),l.createElement(dr.Provider,{value:t},e.children)},"ThemeProvider");function oA(e){var t=e.displayName||e.name||"Component",r=I(function(a,o){var i=l.useContext(dr);return l.createElement(e,Ut({theme:i,ref:o},a))},"render"),n=l.forwardRef(r);return n.displayName="WithTheme("+t+")",ZS(n,e)}I(oA,"withTheme");var zm="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Om="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",iA=I(function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return Ws(t,r,n),Yp(function(){return Gs(t,r,n)}),null},"Insertion"),lA=Ks(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var a=e[zm],o=[n],i="";typeof e.className=="string"?i=qs(t.registered,o,e.className):e.className!=null&&(i=e.className+" ");var s=ga(o,void 0,l.useContext(dr));if(s.name.indexOf("-")===-1){var u=e[Om];u&&(s=ga([s,"label:"+u+";"]))}i+=t.key+"-"+s.name;var d={};for(var f in e)rA.call(e,f)&&f!=="css"&&f!==zm&&f!==Om&&(d[f]=e[f]);return d.ref=r,d.className=i,l.createElement(l.Fragment,null,l.createElement(iA,{cache:t,serialized:s,isStringTag:typeof a=="string"}),l.createElement(a,d))});lA.displayName="EmotionCssPropInternal";$p(V3());var sA={name:"@emotion/react",version:"11.11.4",main:"dist/emotion-react.cjs.js",module:"dist/emotion-react.esm.js",browser:{"./dist/emotion-react.esm.js":"./dist/emotion-react.browser.esm.js"},exports:{".":{module:{worker:"./dist/emotion-react.worker.esm.js",browser:"./dist/emotion-react.browser.esm.js",default:"./dist/emotion-react.esm.js"},import:"./dist/emotion-react.cjs.mjs",default:"./dist/emotion-react.cjs.js"},"./jsx-runtime":{module:{worker:"./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",browser:"./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"},import:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"},"./_isolated-hnrs":{module:{worker:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.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.3","@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.2","@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"}}}}},Lm=!1,uA=Ks(function(e,t){!Lm&&(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?"),Lm=!0);var r=e.styles,n=ga([r],void 0,l.useContext(dr)),a=l.useRef();return Bm(function(){var o=t.key+"-global",i=new t.sheet.constructor({key:o,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),s=!1,u=document.querySelector('style[data-emotion="'+o+" "+n.name+'"]');return t.sheet.tags.length&&(i.before=t.sheet.tags[0]),u!==null&&(s=!0,u.setAttribute("data-emotion",o),i.hydrate([u])),a.current=[i,s],function(){i.flush()}},[t]),Bm(function(){var o=a.current,i=o[0],s=o[1];if(s){o[1]=!1;return}if(n.next!==void 0&&Gs(t,n.next,!0),i.tags.length){var u=i.tags[i.tags.length-1].nextElementSibling;i.before=u,i.flush()}t.insert("",n,i,!1)},[t,n.name]),null});uA.displayName="EmotionGlobal";function Ys(){for(var e=arguments.length,t=new Array(e),r=0;r component."),i="";for(var s in o)o[s]&&s&&(i&&(i+=" "),i+=s)}break}default:i=o}i&&(a&&(a+=" "),a+=i)}}return a},"classnames");function gb(e,t,r){var n=[],a=qs(e,n,r);return n.length<2?r:a+t(n)}I(gb,"merge");var dA=I(function(e){var t=e.cache,r=e.serializedArr;return Yp(function(){for(var n=0;n96?fA:hA},"getDefaultShouldForwardProp"),Pm=I(function(e,t,r){var n;if(t){var a=t.shouldForwardProp;n=e.__emotion_forwardProp&&a?function(o){return e.__emotion_forwardProp(o)&&a(o)}:a}return typeof n!="function"&&r&&(n=e.__emotion_forwardProp),n},"composeShouldForwardProps"),Nm=`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`,mA=I(function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return Ws(t,r,n),Yp(function(){return Gs(t,r,n)}),null},"Insertion"),gA=I(function e(t,r){if(t===void 0)throw new Error(`You are trying to create a styled element with an undefined component. +You may have forgotten to import it.`);var n=t.__emotion_real===t,a=n&&t.__emotion_base||t,o,i;r!==void 0&&(o=r.label,i=r.target);var s=Pm(t,r,n),u=s||$m(a),d=!u("as");return function(){var f=arguments,h=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&h.push("label:"+o+";"),f[0]==null||f[0].raw===void 0)h.push.apply(h,f);else{f[0][0]===void 0&&console.error(Nm),h.push(f[0][0]);for(var p=f.length,m=1;m1?a-1:0),i=1;i=0&&a<1?(s=o,u=i):a>=1&&a<2?(s=i,u=o):a>=2&&a<3?(u=o,d=i):a>=3&&a<4?(u=i,d=o):a>=4&&a<5?(s=i,d=o):a>=5&&a<6&&(s=o,d=i);var f=r-o/2,h=s+f,p=u+f,m=d+f;return n(h,p,m)}I(ya,"hslToRgb");var jm={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 Cb(e){if(typeof e!="string")return e;var t=e.toLowerCase();return jm[t]?"#"+jm[t]:e}I(Cb,"nameToHex");var bA=/^#[a-fA-F0-9]{6}$/,wA=/^#[a-fA-F0-9]{8}$/,EA=/^#[a-fA-F0-9]{3}$/,xA=/^#[a-fA-F0-9]{4}$/,lc=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,CA=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,DA=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,SA=/^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 ui(e){if(typeof e!="string")throw new $t(3);var t=Cb(e);if(t.match(bA))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(wA)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(EA))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(xA)){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=lc.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=CA.exec(t.substring(0,50));if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10),alpha:parseFloat(""+o[4])>1?parseFloat(""+o[4])/100:parseFloat(""+o[4])};var i=DA.exec(t);if(i){var s=parseInt(""+i[1],10),u=parseInt(""+i[2],10)/100,d=parseInt(""+i[3],10)/100,f="rgb("+ya(s,u,d)+")",h=lc.exec(f);if(!h)throw new $t(4,t,f);return{red:parseInt(""+h[1],10),green:parseInt(""+h[2],10),blue:parseInt(""+h[3],10)}}var p=SA.exec(t.substring(0,50));if(p){var m=parseInt(""+p[1],10),g=parseInt(""+p[2],10)/100,v=parseInt(""+p[3],10)/100,b="rgb("+ya(m,g,v)+")",x=lc.exec(b);if(!x)throw new $t(4,t,b);return{red:parseInt(""+x[1],10),green:parseInt(""+x[2],10),blue:parseInt(""+x[3],10),alpha:parseFloat(""+p[4])>1?parseFloat(""+p[4])/100:parseFloat(""+p[4])}}throw new $t(5)}I(ui,"parseToRgb");function Db(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),o=Math.min(t,r,n),i=(a+o)/2;if(a===o)return e.alpha!==void 0?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var s,u=a-o,d=i>.5?u/(2-a-o):u/(a+o);switch(a){case t:s=(r-n)/u+(r=1?qo(e,t,r):"rgba("+ya(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?qo(e.hue,e.saturation,e.lightness):"rgba("+ya(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new $t(2)}I(kb,"hsla");function Yl(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return $d("#"+xr(e)+xr(t)+xr(r));if(typeof e=="object"&&t===void 0&&r===void 0)return $d("#"+xr(e.red)+xr(e.green)+xr(e.blue));throw new $t(6)}I(Yl,"rgb");function ba(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=ui(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?Yl(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?Yl(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new $t(7)}I(ba,"rgba");var kA=I(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isRgb"),_A=I(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},"isRgba"),FA=I(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isHsl"),IA=I(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"},"isHsla");function Qp(e){if(typeof e!="object")throw new $t(8);if(_A(e))return ba(e);if(kA(e))return Yl(e);if(IA(e))return kb(e);if(FA(e))return Ab(e);throw new $t(8)}I(Qp,"toColorString");function ef(e,t,r){return I(function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):ef(e,t,n)},"fn")}I(ef,"curried");function ci(e){return ef(e,e.length,[])}I(ci,"curry");function di(e,t,r){return Math.max(e,Math.min(t,r))}I(di,"guard");function _b(e,t){if(t==="transparent")return t;var r=Xp(t);return Qp(Ut({},r,{lightness:di(0,1,r.lightness-parseFloat(e))}))}I(_b,"darken");var TA=ci(_b),RA=TA;function Fb(e,t){if(t==="transparent")return t;var r=Xp(t);return Qp(Ut({},r,{lightness:di(0,1,r.lightness+parseFloat(e))}))}I(Fb,"lighten");var BA=ci(Fb),zA=BA;function Ib(e,t){if(t==="transparent")return t;var r=ui(t),n=typeof r.alpha=="number"?r.alpha:1,a=Ut({},r,{alpha:di(0,1,(n*100+parseFloat(e)*100)/100)});return ba(a)}I(Ib,"opacify");var OA=ci(Ib),LA=OA;function Tb(e,t){if(t==="transparent")return t;var r=ui(t),n=typeof r.alpha=="number"?r.alpha:1,a=Ut({},r,{alpha:di(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return ba(a)}I(Tb,"transparentize");var MA=ci(Tb),$A=MA,V={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"},Cr={app:"#F6F9FC",bar:V.lightest,content:V.lightest,preview:V.lightest,gridCellSize:10,hoverable:$A(.9,V.secondary),positive:"#E1FFD4",negative:"#FEDED2",warning:"#FFF5CF",critical:"#FF4400"},Pt={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}},Rb=$p(FS(),1),PA=(0,Rb.default)(1)(({typography:e})=>({body:{fontFamily:e.fonts.base,fontSize:e.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},"*":{boxSizing:"border-box"},"h1, h2, h3, h4, h5, h6":{fontWeight:e.weight.regular,margin:0,padding:0},"button, input, textarea, select":{fontFamily:"inherit",fontSize:"inherit",boxSizing:"border-box"},sub:{fontSize:"0.8em",bottom:"-0.2em"},sup:{fontSize:"0.8em",top:"-0.2em"},"b, strong":{fontWeight:e.weight.bold},hr:{border:"none",borderTop:"1px solid silver",clear:"both",marginBottom:"1.25rem"},code:{fontFamily:e.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"},pre:{fontFamily:e.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0"}}));(0,Rb.default)(1)(({color:e,background:t,typography:r})=>{let n=PA({typography:r});return{...n,body:{...n.body,color:e.defaultText,background:t.app,overflow:"hidden"},hr:{...n.hr,borderTop:`1px solid ${e.border}`}}});var NA={base:"dark",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:"#222425",appContentBg:"#1B1C1D",appPreviewBg:V.lightest,appBorderColor:"rgba(255,255,255,.1)",appBorderRadius:4,fontBase:Pt.fonts.base,fontCode:Pt.fonts.mono,textColor:"#C9CDCF",textInverseColor:"#222425",textMutedColor:"#798186",barTextColor:V.mediumdark,barHoverColor:V.secondary,barSelectedColor:V.secondary,barBg:"#292C2E",buttonBg:"#222425",buttonBorder:"rgba(255,255,255,.1)",booleanBg:"#222425",booleanSelectedBg:"#2E3438",inputBg:"#1B1C1D",inputBorder:"rgba(255,255,255,.1)",inputTextColor:V.lightest,inputBorderRadius:4},jA=NA,HA={base:"light",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:Cr.app,appContentBg:V.lightest,appPreviewBg:V.lightest,appBorderColor:V.border,appBorderRadius:4,fontBase:Pt.fonts.base,fontCode:Pt.fonts.mono,textColor:V.darkest,textInverseColor:V.lightest,textMutedColor:V.dark,barTextColor:V.mediumdark,barHoverColor:V.secondary,barSelectedColor:V.secondary,barBg:V.lightest,buttonBg:Cr.app,buttonBorder:V.medium,booleanBg:V.mediumlight,booleanSelectedBg:V.lightest,inputBg:V.lightest,inputBorder:V.border,inputTextColor:V.darkest,inputBorderRadius:4},Zl=HA,VA=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})();const{logger:UA}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var{window:sc}=VA,qA=I(e=>({color:e}),"mkColor"),WA=I(e=>typeof e!="string"?(UA.warn(`Color passed to theme object should be a string. Instead ${e}(${typeof e}) was passed.`),!1):!0,"isColorString"),GA=I(e=>!/(gradient|var|calc)/.test(e),"isValidColorForPolished"),KA=I((e,t)=>e==="darken"?ba(`${RA(1,t)}`,.95):e==="lighten"?ba(`${zA(1,t)}`,.95):t,"applyPolished"),Bb=I(e=>t=>{if(!WA(t)||!GA(t))return t;try{return KA(e,t)}catch{return t}},"colorFactory"),Qa=Bb("lighten");Bb("darken");var zb=I(()=>!sc||!sc.matchMedia?"light":sc.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light","getPreferredColorScheme"),Pd={light:Zl,dark:jA,normal:Zl};zb();var YA={rubber:"cubic-bezier(0.175, 0.885, 0.335, 1.05)"},ZA=fr` + from { + transform: rotate(0deg); + } + to { + transform: rotate(360deg); + } +`,Ob=fr` + 0%, 100% { opacity: 1; } + 50% { opacity: .4; } +`,JA=fr` + 0% { transform: translateY(1px); } + 25% { transform: translateY(0px); } + 50% { transform: translateY(-3px); } + 100% { transform: translateY(1px); } +`,XA=fr` + 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); } +`,QA=Ys` + animation: ${Ob} 1.5s ease-in-out infinite; + color: transparent; + cursor: progress; +`,ek=Ys` + transition: all 150ms ease-out; + transform: translate3d(0, 0, 0); + + &:hover { + transform: translate3d(0, -2px, 0); + } + + &:active { + transform: translate3d(0, 0, 0); + } +`,tk={rotate360:ZA,glow:Ob,float:JA,jiggle:XA,inlineGlow:QA,hoverable:ek},rk={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"},nk={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"},ak=I(e=>Object.entries(e).reduce((t,[r,n])=>({...t,[r]:qA(n)}),{}),"convertColors"),ok=I(({colors:e,mono:t})=>{let r=ak(e);return{token:{fontFamily:t,WebkitFontSmoothing:"antialiased","&.tag":r.red3,"&.comment":{...r.green1,fontStyle:"italic"},"&.prolog":{...r.green1,fontStyle:"italic"},"&.doctype":{...r.green1,fontStyle:"italic"},"&.cdata":{...r.green1,fontStyle:"italic"},"&.string":r.red1,"&.url":r.cyan1,"&.symbol":r.cyan1,"&.number":r.cyan1,"&.boolean":r.cyan1,"&.variable":r.cyan1,"&.constant":r.cyan1,"&.inserted":r.cyan1,"&.atrule":r.blue1,"&.keyword":r.blue1,"&.attr-value":r.blue1,"&.punctuation":r.gray1,"&.operator":r.gray1,"&.function":r.gray1,"&.deleted":r.red2,"&.important":{fontWeight:"bold"},"&.bold":{fontWeight:"bold"},"&.italic":{fontStyle:"italic"},"&.class-name":r.cyan2,"&.selector":r.red3,"&.attr-name":r.red4,"&.property":r.red4,"&.regex":r.red4,"&.entity":r.red4,"&.directive.tag .tag":{background:"#ffff00",...r.gray1}},"language-json .token.boolean":r.blue1,"language-json .token.number":r.blue1,"language-json .token.property":r.cyan2,namespace:{opacity:.7}}},"create"),ik={green1:"#008000",red1:"#A31515",red2:"#9a050f",red3:"#800000",red4:"#ff0000",gray1:"#393A34",cyan1:"#36acaa",cyan2:"#2B91AF",blue1:"#0000ff",blue2:"#00009f"},lk={green1:"#7C7C7C",red1:"#92C379",red2:"#9a050f",red3:"#A8FF60",red4:"#96CBFE",gray1:"#EDEDED",cyan1:"#C6C5FE",cyan2:"#FFFFB6",blue1:"#B474DD",blue2:"#00009f"},sk=I(e=>({primary:e.colorPrimary,secondary:e.colorSecondary,tertiary:V.tertiary,ancillary:V.ancillary,orange:V.orange,gold:V.gold,green:V.green,seafoam:V.seafoam,purple:V.purple,ultraviolet:V.ultraviolet,lightest:V.lightest,lighter:V.lighter,light:V.light,mediumlight:V.mediumlight,medium:V.medium,mediumdark:V.mediumdark,dark:V.dark,darker:V.darker,darkest:V.darkest,border:V.border,positive:V.positive,negative:V.negative,warning:V.warning,critical:V.critical,defaultText:e.textColor||V.darkest,inverseText:e.textInverseColor||V.lightest,positiveText:V.positiveText,negativeText:V.negativeText,warningText:V.warningText}),"createColors"),Nd=I((e=Pd[zb()])=>{let{base:t,colorPrimary:r,colorSecondary:n,appBg:a,appContentBg:o,appPreviewBg:i,appBorderColor:s,appBorderRadius:u,fontBase:d,fontCode:f,textColor:h,textInverseColor:p,barTextColor:m,barHoverColor:g,barSelectedColor:v,barBg:b,buttonBg:x,buttonBorder:E,booleanBg:C,booleanSelectedBg:w,inputBg:D,inputBorder:S,inputTextColor:A,inputBorderRadius:k,brandTitle:F,brandUrl:T,brandImage:R,brandTarget:L,gridCellSize:z,...M}=e;return{...M,base:t,color:sk(e),background:{app:a,bar:b,content:o,preview:i,gridCellSize:z||Cr.gridCellSize,hoverable:Cr.hoverable,positive:Cr.positive,negative:Cr.negative,warning:Cr.warning,critical:Cr.critical},typography:{fonts:{base:d,mono:f},weight:Pt.weight,size:Pt.size},animation:tk,easing:YA,input:{background:D,border:S,borderRadius:k,color:A},button:{background:x||D,border:E||S},boolean:{background:C||S,selectedBackground:w||D},layoutMargin:10,appBorderColor:s,appBorderRadius:u,barTextColor:m,barHoverColor:g||n,barSelectedColor:v||n,barBg:b,brand:{title:F,url:T,image:R||(F?null:void 0),target:L},code:ok({colors:t==="light"?ik:lk,mono:f}),addonActionsTheme:{...t==="light"?nk:rk,BASE_FONT_FAMILY:f,BASE_FONT_SIZE:Pt.size.s2-1,BASE_LINE_HEIGHT:"18px",BASE_BACKGROUND_COLOR:"transparent",BASE_COLOR:h,ARROW_COLOR:LA(.2,s),ARROW_MARGIN_RIGHT:4,ARROW_FONT_SIZE:8,TREENODE_FONT_FAMILY:f,TREENODE_FONT_SIZE:Pt.size.s2-1,TREENODE_LINE_HEIGHT:"18px",TREENODE_PADDING_LEFT:12}}},"convert");const{logger:uk}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var ck=I(e=>Object.keys(e).length===0,"isEmpty"),uc=I(e=>e!=null&&typeof e=="object","isObject"),dk=I((e,...t)=>Object.prototype.hasOwnProperty.call(e,...t),"hasOwnProperty"),pk=I(()=>Object.create(null),"makeObjectWithoutPrototype"),Lb=I((e,t)=>e===t||!uc(e)||!uc(t)?{}:Object.keys(e).reduce((r,n)=>{if(dk(t,n)){let a=Lb(e[n],t[n]);return uc(a)&&ck(a)||(r[n]=a),r}return r[n]=void 0,r},pk()),"deletedDiff"),fk=Lb;function Mb(e){for(var t=[],r=1;r{if(!e)return Nd(Zl);let t=fk(Zl,e);return Object.keys(t).length&&uk.warn(Mb` + Your theme is missing properties, you should update your theme! + + theme-data missing: + `,t),Nd(e)},"ensure"),jd="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */",mk=Object.create,Zs=Object.defineProperty,gk=Object.getOwnPropertyDescriptor,vk=Object.getOwnPropertyNames,yk=Object.getPrototypeOf,bk=Object.prototype.hasOwnProperty,c=(e,t)=>Zs(e,"name",{value:t,configurable:!0}),Ni=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),B=(e,t)=>()=>(e&&(t=e(e=0)),t),q=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Oa=(e,t)=>{for(var r in t)Zs(e,r,{get:t[r],enumerable:!0})},wk=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of vk(t))!bk.call(e,a)&&a!==r&&Zs(e,a,{get:()=>t[a],enumerable:!(n=gk(t,a))||n.enumerable});return e},Ae=(e,t,r)=>(r=e!=null?mk(yk(e)):{},wk(t||!e||!e.__esModule?Zs(r,"default",{value:e,enumerable:!0}):r,e));function Q(){return Q=Object.assign?Object.assign.bind():function(e){for(var t=1;t{c(Q,"_extends")});function $b(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var Ek=B(()=>{c($b,"_assertThisInitialized")});function wa(e,t){return wa=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},wa(e,t)}var tf=B(()=>{c(wa,"_setPrototypeOf")});function Jl(e){return Jl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Jl(e)}var xk=B(()=>{c(Jl,"_getPrototypeOf")}),Js,rf=B(()=>{Js=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})()}),Xs=q((e,t)=>{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return c(function r(n,a,o){function i(d,f){if(!a[d]){if(!n[d]){var h=typeof Ni=="function"&&Ni;if(!f&&h)return h(d,!0);if(s)return s(d,!0);var p=new Error("Cannot find module '"+d+"'");throw p.code="MODULE_NOT_FOUND",p}var m=a[d]={exports:{}};n[d][0].call(m.exports,function(g){var v=n[d][1][g];return i(v||g)},m,m.exports,r,n,a,o)}return a[d].exports}c(i,"s");for(var s=typeof Ni=="function"&&Ni,u=0;u=0)return this.lastItem=this.list[s],this.list[s].val},o.prototype.set=function(i,s){var u;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=s,this):(u=this.indexOf(i),u>=0?(this.lastItem=this.list[u],this.list[u].val=s,this):(this.lastItem={key:i,val:s},this.list.push(this.lastItem),this.size++,this))},o.prototype.delete=function(i){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),s=this.indexOf(i),s>=0)return this.size--,this.list.splice(s,1)[0]},o.prototype.has=function(i){var s;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(s=this.indexOf(i),s>=0?(this.lastItem=this.list[s],!0):!1)},o.prototype.forEach=function(i,s){var u;for(u=0;u0&&(E[x]={cacheItem:g,arg:arguments[x]},C?i(h,E):h.push(E),h.length>d&&s(h.shift())),m.wasMemoized=C,m.numArgs=x+1,b},"memoizerific");return m.limit=d,m.wasMemoized=!1,m.cache=f,m.lru=h,m}};function i(d,f){var h=d.length,p=f.length,m,g,v;for(g=0;g=0&&(h=d[m],p=h.cacheItem.get(h.arg),!p||!p.size);m--)h.cacheItem.delete(h.arg)}c(s,"removeCachedResult");function u(d,f){return d===f||d!==d&&f!==f}c(u,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})});function Qs(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}var nf=B(()=>{c(Qs,"_objectWithoutPropertiesLoose")});function Pb(e,t){if(e==null)return{};var r,n,a=Qs(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||{}.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var Ck=B(()=>{nf(),c(Pb,"_objectWithoutProperties")});function Xl(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{c(Xl,"_arrayLikeToArray")});function jb(e){if(Array.isArray(e))return Xl(e)}var Dk=B(()=>{Nb(),c(jb,"_arrayWithoutHoles")});function Hb(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}var Sk=B(()=>{c(Hb,"_iterableToArray")});function Vb(e,t){if(e){if(typeof e=="string")return Xl(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Xl(e,t):void 0}}var Ak=B(()=>{Nb(),c(Vb,"_unsupportedIterableToArray")});function Ub(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var kk=B(()=>{c(Ub,"_nonIterableSpread")});function qb(e){return jb(e)||Hb(e)||Vb(e)||Ub()}var _k=B(()=>{Dk(),Sk(),Ak(),kk(),c(qb,"_toConsumableArray")});function Ea(e){"@babel/helpers - typeof";return Ea=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},Ea(e)}var Wb=B(()=>{c(Ea,"_typeof")});function Gb(e,t){if(Ea(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Ea(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Fk=B(()=>{Wb(),c(Gb,"toPrimitive")});function Kb(e){var t=Gb(e,"string");return Ea(t)=="symbol"?t:t+""}var Ik=B(()=>{Wb(),Fk(),c(Kb,"toPropertyKey")});function af(e,t,r){return(t=Kb(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Yb=B(()=>{Ik(),c(af,"_defineProperty")});function Hd(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 an(e){for(var t=1;t=4)return[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]}function Jb(e){if(e.length===0||e.length===1)return e;var t=e.join(".");return El[t]||(El[t]=Zb(e)),El[t]}function Xb(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=e.filter(function(o){return o!=="token"}),a=Jb(n);return a.reduce(function(o,i){return an(an({},o),r[i])},t)}function Vd(e){return e.join(" ")}function Qb(e,t){var r=0;return function(n){return r+=1,n.map(function(a,o){return eu({node:a,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(r,"-").concat(o)})})}}function eu(e){var t=e.node,r=e.stylesheet,n=e.style,a=n===void 0?{}:n,o=e.useInlineStyles,i=e.key,s=t.properties,u=t.type,d=t.tagName,f=t.value;if(u==="text")return f;if(d){var h=Qb(r,o),p;if(!o)p=an(an({},s),{},{className:Vd(s.className)});else{var m=Object.keys(r).reduce(function(x,E){return E.split(".").forEach(function(C){x.includes(C)||x.push(C)}),x},[]),g=s.className&&s.className.includes("token")?["token"]:[],v=s.className&&g.concat(s.className.filter(function(x){return!m.includes(x)}));p=an(an({},s),{},{className:Vd(v)||void 0,style:Xb(s.className,Object.assign({},s.style,a),r)})}var b=h(t.children);return y.createElement(d,Q({key:i},p),b)}}var El,e7=B(()=>{xt(),Yb(),c(Hd,"ownKeys"),c(an,"_objectSpread"),c(Zb,"powerSetPermutations"),El={},c(Jb,"getClassNameCombinations"),c(Xb,"createStyleObject"),c(Vd,"createClassNameString"),c(Qb,"createChildren"),c(eu,"createElement")}),t7,Tk=B(()=>{t7=c(function(e,t){var r=e.listLanguages();return r.indexOf(t)!==-1},"default")});function Ud(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function pt(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],n=0;n2&&arguments[2]!==void 0?arguments[2]:[];return Oo({children:D,lineNumber:S,lineNumberStyle:s,largestLineNumber:i,showInlineLineNumbers:a,lineProps:r,className:A,showLineNumbers:n,wrapLongLines:u})}c(g,"createWrappedLine");function v(D,S){if(n&&S&&a){var A=lf(s,S,i);D.unshift(of(S,A))}return D}c(v,"createUnwrappedLine");function b(D,S){var A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||A.length>0?g(D,S,A):v(D,S)}c(b,"createLine");for(var x=c(function(){var D=f[m],S=D.children[0].value,A=r7(S);if(A){var k=S.split(` +`);k.forEach(function(F,T){var R=n&&h.length+o,L={type:"text",value:"".concat(F,` +`)};if(T===0){var z=f.slice(p+1,m).concat(Oo({children:[L],className:D.properties.className})),M=b(z,R);h.push(M)}else if(T===k.length-1){var O=f[m+1]&&f[m+1].children&&f[m+1].children[0],$={type:"text",value:"".concat(F)};if(O){var H=Oo({children:[$],className:D.properties.className});f.splice(m+1,0,H)}else{var K=[$],N=b(K,R,D.properties.className);h.push(N)}}else{var W=[L],te=b(W,R,D.properties.className);h.push(te)}}),p=m}m++},"_loop");m{Ck(),_k(),Yb(),e7(),Tk(),c7=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"],c(Ud,"ownKeys"),c(pt,"_objectSpread"),d7=/\n/g,c(r7,"getNewLines"),c(n7,"getAllLineNumbers"),c(a7,"AllLineNumbers"),c(o7,"getEmWidthOfNumber"),c(of,"getInlineLineNumber"),c(lf,"assembleLineNumberStyles"),c(Oo,"createLineElement"),c(sf,"flattenCodeTree"),c(i7,"processLines"),c(l7,"defaultRenderer"),c(uf,"isHighlightJs"),c(s7,"getCodeTree"),c(u7,"default")}),Bk=q((e,t)=>{t.exports=n;var r=Object.prototype.hasOwnProperty;function n(){for(var a={},o=0;o{t.exports=n;var r=n.prototype;r.space=null,r.normal={},r.property={};function n(a,o,i){this.property=a,this.normal=o,i&&(this.space=i)}c(n,"Schema")}),zk=q((e,t)=>{var r=Bk(),n=p7();t.exports=a;function a(o){for(var i=o.length,s=[],u=[],d=-1,f,h;++d{t.exports=r;function r(n){return n.toLowerCase()}c(r,"normalize")}),f7=q((e,t)=>{t.exports=n;var r=n.prototype;r.space=null,r.attribute=null,r.property=null,r.boolean=!1,r.booleanish=!1,r.overloadedBoolean=!1,r.number=!1,r.commaSeparated=!1,r.spaceSeparated=!1,r.commaOrSpaceSeparated=!1,r.mustUseProperty=!1,r.defined=!1;function n(a,o){this.property=a,this.attribute=o}c(n,"Info")}),df=q(e=>{var t=0;e.boolean=r(),e.booleanish=r(),e.overloadedBoolean=r(),e.number=r(),e.spaceSeparated=r(),e.commaSeparated=r(),e.commaOrSpaceSeparated=r();function r(){return Math.pow(2,++t)}c(r,"increment")}),h7=q((e,t)=>{var r=f7(),n=df();t.exports=i,i.prototype=new r,i.prototype.defined=!0;var a=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],o=a.length;function i(u,d,f,h){var p=-1,m;for(s(this,"space",h),r.call(this,u,d);++p{var r=cf(),n=p7(),a=h7();t.exports=o;function o(i){var s=i.space,u=i.mustUseProperty||[],d=i.attributes||{},f=i.properties,h=i.transform,p={},m={},g,v;for(g in f)v=new a(g,h(d,g),f[g],s),u.indexOf(g)!==-1&&(v.mustUseProperty=!0),p[g]=v,m[r(g)]=g,m[r(v.attribute)]=g;return new n(p,m,s)}c(o,"create")}),Ok=q((e,t)=>{var r=pi();t.exports=r({space:"xlink",transform:n,properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}});function n(a,o){return"xlink:"+o.slice(5).toLowerCase()}c(n,"xlinkTransform")}),Lk=q((e,t)=>{var r=pi();t.exports=r({space:"xml",transform:n,properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function n(a,o){return"xml:"+o.slice(3).toLowerCase()}c(n,"xmlTransform")}),Mk=q((e,t)=>{t.exports=r;function r(n,a){return a in n?n[a]:a}c(r,"caseSensitiveTransform")}),m7=q((e,t)=>{var r=Mk();t.exports=n;function n(a,o){return r(a,o.toLowerCase())}c(n,"caseInsensitiveTransform")}),$k=q((e,t)=>{var r=pi(),n=m7();t.exports=r({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:n,properties:{xmlns:null,xmlnsXLink:null}})}),Pk=q((e,t)=>{var r=df(),n=pi(),a=r.booleanish,o=r.number,i=r.spaceSeparated;t.exports=n({transform:s,properties:{ariaActiveDescendant:null,ariaAtomic:a,ariaAutoComplete:null,ariaBusy:a,ariaChecked:a,ariaColCount:o,ariaColIndex:o,ariaColSpan:o,ariaControls:i,ariaCurrent:null,ariaDescribedBy:i,ariaDetails:null,ariaDisabled:a,ariaDropEffect:i,ariaErrorMessage:null,ariaExpanded:a,ariaFlowTo:i,ariaGrabbed:a,ariaHasPopup:null,ariaHidden:a,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:i,ariaLevel:o,ariaLive:null,ariaModal:a,ariaMultiLine:a,ariaMultiSelectable:a,ariaOrientation:null,ariaOwns:i,ariaPlaceholder:null,ariaPosInSet:o,ariaPressed:a,ariaReadOnly:a,ariaRelevant:null,ariaRequired:a,ariaRoleDescription:i,ariaRowCount:o,ariaRowIndex:o,ariaRowSpan:o,ariaSelected:a,ariaSetSize:o,ariaSort:null,ariaValueMax:o,ariaValueMin:o,ariaValueNow:o,ariaValueText:null,role:null}});function s(u,d){return d==="role"?d:"aria-"+d.slice(4).toLowerCase()}c(s,"ariaTransform")}),Nk=q((e,t)=>{var r=df(),n=pi(),a=m7(),o=r.boolean,i=r.overloadedBoolean,s=r.booleanish,u=r.number,d=r.spaceSeparated,f=r.commaSeparated;t.exports=n({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:a,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:f,acceptCharset:d,accessKey:d,action:null,allow:null,allowFullScreen:o,allowPaymentRequest:o,allowUserMedia:o,alt:null,as:null,async:o,autoCapitalize:null,autoComplete:d,autoFocus:o,autoPlay:o,capture:o,charSet:null,checked:o,cite:null,className:d,cols:u,colSpan:null,content:null,contentEditable:s,controls:o,controlsList:d,coords:u|f,crossOrigin:null,data:null,dateTime:null,decoding:null,default:o,defer:o,dir:null,dirName:null,disabled:o,download:i,draggable:s,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:o,formTarget:null,headers:d,height:u,hidden:o,high:u,href:null,hrefLang:null,htmlFor:d,httpEquiv:d,id:null,imageSizes:null,imageSrcSet:f,inputMode:null,integrity:null,is:null,isMap:o,itemId:null,itemProp:d,itemRef:d,itemScope:o,itemType:d,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:o,low:u,manifest:null,max:null,maxLength:u,media:null,method:null,min:null,minLength:u,multiple:o,muted:o,name:null,nonce:null,noModule:o,noValidate:o,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:o,optimum:u,pattern:null,ping:d,placeholder:null,playsInline:o,poster:null,preload:null,readOnly:o,referrerPolicy:null,rel:d,required:o,reversed:o,rows:u,rowSpan:u,sandbox:d,scope:null,scoped:o,seamless:o,selected:o,shape:null,size:u,sizes:null,slot:null,span:u,spellCheck:s,src:null,srcDoc:null,srcLang:null,srcSet:f,start:u,step:null,style:null,tabIndex:u,target:null,title:null,translate:null,type:null,typeMustMatch:o,useMap:null,value:s,width:u,wrap:null,align:null,aLink:null,archive:d,axis:null,background:null,bgColor:null,border:u,borderColor:null,bottomMargin:u,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:o,declare:o,event:null,face:null,frame:null,frameBorder:null,hSpace:u,leftMargin:u,link:null,longDesc:null,lowSrc:null,marginHeight:u,marginWidth:u,noResize:o,noHref:o,noShade:o,noWrap:o,object:null,profile:null,prompt:null,rev:null,rightMargin:u,rules:null,scheme:null,scrolling:s,standby:null,summary:null,text:null,topMargin:u,valueType:null,version:null,vAlign:null,vLink:null,vSpace:u,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:o,disableRemotePlayback:o,prefix:null,property:null,results:u,security:null,unselectable:null}})}),jk=q((e,t)=>{var r=zk(),n=Ok(),a=Lk(),o=$k(),i=Pk(),s=Nk();t.exports=r([a,n,o,i,s])}),Hk=q((e,t)=>{var r=cf(),n=h7(),a=f7(),o="data";t.exports=d;var i=/^data[-\w.:]+$/i,s=/-[a-z]/g,u=/[A-Z]/g;function d(g,v){var b=r(v),x=v,E=a;return b in g.normal?g.property[g.normal[b]]:(b.length>4&&b.slice(0,4)===o&&i.test(v)&&(v.charAt(4)==="-"?x=f(v):v=h(v),E=n),new E(x,v))}c(d,"find");function f(g){var v=g.slice(5).replace(s,m);return o+v.charAt(0).toUpperCase()+v.slice(1)}c(f,"datasetToProperty");function h(g){var v=g.slice(4);return s.test(v)?g:(v=v.replace(u,p),v.charAt(0)!=="-"&&(v="-"+v),o+v)}c(h,"datasetToAttribute");function p(g){return"-"+g.toLowerCase()}c(p,"kebab");function m(g){return g.charAt(1).toUpperCase()}c(m,"camelcase")}),Vk=q((e,t)=>{t.exports=n;var r=/[#.]/g;function n(a,o){for(var i=a||"",s=o||"div",u={},d=0,f,h,p;d{e.parse=a,e.stringify=o;var t="",r=" ",n=/[ \t\n\r\f]+/g;function a(i){var s=String(i||t).trim();return s===t?[]:s.split(n)}c(a,"parse");function o(i){return i.join(r).trim()}c(o,"stringify")}),qk=q(e=>{e.parse=a,e.stringify=o;var t=",",r=" ",n="";function a(i){for(var s=[],u=String(i||n),d=u.indexOf(t),f=0,h=!1,p;!h;)d===-1&&(d=u.length,h=!0),p=u.slice(f,d).trim(),(p||!h)&&s.push(p),f=d+1,d=u.indexOf(t,f);return s}c(a,"parse");function o(i,s){var u=s||{},d=u.padLeft===!1?n:r,f=u.padRight?r:n;return i[i.length-1]===n&&(i=i.concat(n)),i.join(f+t+d).trim()}c(o,"stringify")}),Wk=q((e,t)=>{var r=Hk(),n=cf(),a=Vk(),o=Uk().parse,i=qk().parse;t.exports=u;var s={}.hasOwnProperty;function u(b,x,E){var C=E?v(E):null;return w;function w(S,A){var k=a(S,x),F=Array.prototype.slice.call(arguments,2),T=k.tagName.toLowerCase(),R;if(k.tagName=C&&s.call(C,T)?C[T]:T,A&&d(A,k)&&(F.unshift(A),A=null),A)for(R in A)D(k.properties,R,A[R]);return h(k.children,F),k.tagName==="template"&&(k.content={type:"root",children:k.children},k.children=[]),k}function D(S,A,k){var F,T,R;k==null||k!==k||(F=r(b,A),T=F.property,R=k,typeof R=="string"&&(F.spaceSeparated?R=o(R):F.commaSeparated?R=i(R):F.commaOrSpaceSeparated&&(R=o(i(R).join(" ")))),T==="style"&&typeof k!="string"&&(R=g(R)),T==="className"&&S.className&&(R=S.className.concat(R)),S[T]=p(F,T,R))}}c(u,"factory");function d(b,x){return typeof b=="string"||"length"in b||f(x.tagName,b)}c(d,"isChildren");function f(b,x){var E=x.type;return b==="input"||!E||typeof E!="string"?!1:typeof x.children=="object"&&"length"in x.children?!0:(E=E.toLowerCase(),b==="button"?E!=="menu"&&E!=="submit"&&E!=="reset"&&E!=="button":"value"in x)}c(f,"isNode");function h(b,x){var E,C;if(typeof x=="string"||typeof x=="number"){b.push({type:"text",value:String(x)});return}if(typeof x=="object"&&"length"in x){for(E=-1,C=x.length;++E{var r=jk(),n=Wk(),a=n(r,"div");a.displayName="html",t.exports=a}),Kk=q((e,t)=>{t.exports=Gk()}),Yk=q((e,t)=>{t.exports={AElig:"Æ",AMP:"&",Aacute:"Á",Acirc:"Â",Agrave:"À",Aring:"Å",Atilde:"Ã",Auml:"Ä",COPY:"©",Ccedil:"Ç",ETH:"Ð",Eacute:"É",Ecirc:"Ê",Egrave:"È",Euml:"Ë",GT:">",Iacute:"Í",Icirc:"Î",Igrave:"Ì",Iuml:"Ï",LT:"<",Ntilde:"Ñ",Oacute:"Ó",Ocirc:"Ô",Ograve:"Ò",Oslash:"Ø",Otilde:"Õ",Ouml:"Ö",QUOT:'"',REG:"®",THORN:"Þ",Uacute:"Ú",Ucirc:"Û",Ugrave:"Ù",Uuml:"Ü",Yacute:"Ý",aacute:"á",acirc:"â",acute:"´",aelig:"æ",agrave:"à",amp:"&",aring:"å",atilde:"ã",auml:"ä",brvbar:"¦",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",ecirc:"ê",egrave:"è",eth:"ð",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",iacute:"í",icirc:"î",iexcl:"¡",igrave:"ì",iquest:"¿",iuml:"ï",laquo:"«",lt:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",oacute:"ó",ocirc:"ô",ograve:"ò",ordf:"ª",ordm:"º",oslash:"ø",otilde:"õ",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',raquo:"»",reg:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",times:"×",uacute:"ú",ucirc:"û",ugrave:"ù",uml:"¨",uuml:"ü",yacute:"ý",yen:"¥",yuml:"ÿ"}}),Zk=q((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:"Ÿ"}}),g7=q((e,t)=>{t.exports=r;function r(n){var a=typeof n=="string"?n.charCodeAt(0):n;return a>=48&&a<=57}c(r,"decimal")}),Jk=q((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}c(r,"hexadecimal")}),Xk=q((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}c(r,"alphabetical")}),Qk=q((e,t)=>{var r=Xk(),n=g7();t.exports=a;function a(o){return r(o)||n(o)}c(a,"alphanumerical")}),e_=q((e,t)=>{var r,n=59;t.exports=a;function a(o){var i="&"+o+";",s;return r=r||document.createElement("i"),r.innerHTML=i,s=r.textContent,s.charCodeAt(s.length-1)===n&&o!=="semi"||s===i?!1:s}c(a,"decodeEntity")}),t_=q((e,t)=>{var r=Yk(),n=Zk(),a=g7(),o=Jk(),i=Qk(),s=e_();t.exports=te;var u={}.hasOwnProperty,d=String.fromCharCode,f=Function.prototype,h={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},p=9,m=10,g=12,v=32,b=38,x=59,E=60,C=61,w=35,D=88,S=120,A=65533,k="named",F="hexadecimal",T="decimal",R={};R[F]=16,R[T]=10;var L={};L[k]=i,L[T]=a,L[F]=o;var z=1,M=2,O=3,$=4,H=5,K=6,N=7,W={};W[z]="Named character references must be terminated by a semicolon",W[M]="Numeric character references must be terminated by a semicolon",W[O]="Named character references cannot be empty",W[$]="Numeric character references cannot be empty",W[H]="Named character references must be known",W[K]="Numeric character references cannot be disallowed",W[N]="Numeric character references cannot be outside the permissible Unicode range";function te(j,Z){var J={},ge,ke;Z||(Z={});for(ke in h)ge=Z[ke],J[ke]=ge??h[ke];return(J.position.indent||J.position.start)&&(J.indent=J.position.indent||[],J.position=J.position.start),ue(j,J)}c(te,"parseEntities");function ue(j,Z){var J=Z.additional,ge=Z.nonTerminated,ke=Z.text,At=Z.reference,Ue=Z.warning,ot=Z.textContext,P=Z.referenceContext,it=Z.warningContext,kt=Z.position,Vr=Z.indent||[],On=j.length,_t=0,Oi=-1,Be=kt.column||1,Ur=kt.line||1,Ft="",Ln=[],It,Mn,Tt,_e,lt,Ee,fe,Rt,Li,Qu,qr,Za,Wr,er,vm,Ja,Mi,Bt,xe;for(typeof J=="string"&&(J=J.charCodeAt(0)),Ja=Xa(),Rt=Ue?cS:f,_t--,On++;++_t65535&&(Ee-=65536,Qu+=d(Ee>>>10|55296),Ee=56320|Ee&1023),Ee=Qu+d(Ee))):er!==k&&Rt($,Bt)),Ee?(ym(),Ja=Xa(),_t=xe-1,Be+=xe-Wr+1,Ln.push(Ee),Mi=Xa(),Mi.offset++,At&&At.call(P,Ee,{start:Ja,end:Mi},j.slice(Wr-1,xe)),Ja=Mi):(_e=j.slice(Wr-1,xe),Ft+=_e,Be+=_e.length,_t=xe-1)}else lt===10&&(Ur++,Oi++,Be=0),lt===lt?(Ft+=d(lt),Be++):ym();return Ln.join("");function Xa(){return{line:Ur,column:Be,offset:_t+(kt.offset||0)}}function cS(bm,wm){var ec=Xa();ec.column+=wm,ec.offset+=wm,Ue.call(it,W[bm],ec,bm)}function ym(){Ft&&(Ln.push(Ft),ke&&ke.call(ot,Ft,{start:Ja,end:Xa()}),Ft="")}}c(ue,"parse");function re(j){return j>=55296&&j<=57343||j>1114111}c(re,"prohibited");function ae(j){return j>=1&&j<=8||j===11||j>=13&&j<=31||j>=127&&j<=159||j>=64976&&j<=65007||(j&65535)===65535||(j&65535)===65534}c(ae,"disallowed")}),r_=q((e,t)=>{var r=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{},n=function(a){var o=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,i=0,s={},u={manual:a.Prism&&a.Prism.manual,disableWorkerMessageHandler:a.Prism&&a.Prism.disableWorkerMessageHandler,util:{encode:c(function C(w){return w instanceof d?new d(w.type,C(w.content),w.alias):Array.isArray(w)?w.map(C):w.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(S){var C=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(S.stack)||[])[1];if(C){var w=document.getElementsByTagName("script");for(var D in w)if(w[D].src==C)return w[D]}return null}},"currentScript"),isActive:c(function(C,w,D){for(var S="no-"+w;C;){var A=C.classList;if(A.contains(w))return!0;if(A.contains(S))return!1;C=C.parentElement}return!!D},"isActive")},languages:{plain:s,plaintext:s,text:s,txt:s,extend:c(function(C,w){var D=u.util.clone(u.languages[C]);for(var S in w)D[S]=w[S];return D},"extend"),insertBefore:c(function(C,w,D,S){S=S||u.languages;var A=S[C],k={};for(var F in A)if(A.hasOwnProperty(F)){if(F==w)for(var T in D)D.hasOwnProperty(T)&&(k[T]=D[T]);D.hasOwnProperty(F)||(k[F]=A[F])}var R=S[C];return S[C]=k,u.languages.DFS(u.languages,function(L,z){z===R&&L!=C&&(this[L]=k)}),k},"insertBefore"),DFS:c(function C(w,D,S,A){A=A||{};var k=u.util.objId;for(var F in w)if(w.hasOwnProperty(F)){D.call(w,F,w[F],S||F);var T=w[F],R=u.util.type(T);R==="Object"&&!A[k(T)]?(A[k(T)]=!0,C(T,D,null,A)):R==="Array"&&!A[k(T)]&&(A[k(T)]=!0,C(T,D,F,A))}},"DFS")},plugins:{},highlightAll:c(function(C,w){u.highlightAllUnder(document,C,w)},"highlightAll"),highlightAllUnder:c(function(C,w,D){var S={callback:D,container:C,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};u.hooks.run("before-highlightall",S),S.elements=Array.prototype.slice.apply(S.container.querySelectorAll(S.selector)),u.hooks.run("before-all-elements-highlight",S);for(var A=0,k;k=S.elements[A++];)u.highlightElement(k,w===!0,S.callback)},"highlightAllUnder"),highlightElement:c(function(C,w,D){var S=u.util.getLanguage(C),A=u.languages[S];u.util.setLanguage(C,S);var k=C.parentElement;k&&k.nodeName.toLowerCase()==="pre"&&u.util.setLanguage(k,S);var F=C.textContent,T={element:C,language:S,grammar:A,code:F};function R(z){T.highlightedCode=z,u.hooks.run("before-insert",T),T.element.innerHTML=T.highlightedCode,u.hooks.run("after-highlight",T),u.hooks.run("complete",T),D&&D.call(T.element)}if(c(R,"insertHighlightedCode"),u.hooks.run("before-sanity-check",T),k=T.element.parentElement,k&&k.nodeName.toLowerCase()==="pre"&&!k.hasAttribute("tabindex")&&k.setAttribute("tabindex","0"),!T.code){u.hooks.run("complete",T),D&&D.call(T.element);return}if(u.hooks.run("before-highlight",T),!T.grammar){R(u.util.encode(T.code));return}if(w&&a.Worker){var L=new Worker(u.filename);L.onmessage=function(z){R(z.data)},L.postMessage(JSON.stringify({language:T.language,code:T.code,immediateClose:!0}))}else R(u.highlight(T.code,T.grammar,T.language))},"highlightElement"),highlight:c(function(C,w,D){var S={code:C,grammar:w,language:D};if(u.hooks.run("before-tokenize",S),!S.grammar)throw new Error('The language "'+S.language+'" has no grammar.');return S.tokens=u.tokenize(S.code,S.grammar),u.hooks.run("after-tokenize",S),d.stringify(u.util.encode(S.tokens),S.language)},"highlight"),tokenize:c(function(C,w){var D=w.rest;if(D){for(var S in D)w[S]=D[S];delete w.rest}var A=new p;return m(A,A.head,C),h(C,A,w,A.head,0),v(A)},"tokenize"),hooks:{all:{},add:c(function(C,w){var D=u.hooks.all;D[C]=D[C]||[],D[C].push(w)},"add"),run:c(function(C,w){var D=u.hooks.all[C];if(!(!D||!D.length))for(var S=0,A;A=D[S++];)A(w)},"run")},Token:d};a.Prism=u;function d(C,w,D,S){this.type=C,this.content=w,this.alias=D,this.length=(S||"").length|0}c(d,"Token"),d.stringify=c(function C(w,D){if(typeof w=="string")return w;if(Array.isArray(w)){var S="";return w.forEach(function(R){S+=C(R,D)}),S}var A={type:w.type,content:C(w.content,D),tag:"span",classes:["token",w.type],attributes:{},language:D},k=w.alias;k&&(Array.isArray(k)?Array.prototype.push.apply(A.classes,k):A.classes.push(k)),u.hooks.run("wrap",A);var F="";for(var T in A.attributes)F+=" "+T+'="'+(A.attributes[T]||"").replace(/"/g,""")+'"';return"<"+A.tag+' class="'+A.classes.join(" ")+'"'+F+">"+A.content+""},"stringify");function f(C,w,D,S){C.lastIndex=w;var A=C.exec(D);if(A&&S&&A[1]){var k=A[1].length;A.index+=k,A[0]=A[0].slice(k)}return A}c(f,"matchPattern");function h(C,w,D,S,A,k){for(var F in D)if(!(!D.hasOwnProperty(F)||!D[F])){var T=D[F];T=Array.isArray(T)?T:[T];for(var R=0;R=k.reach);W+=N.value.length,N=N.next){var te=N.value;if(w.length>C.length)return;if(!(te instanceof d)){var ue=1,re;if(O){if(re=f(K,W,C,M),!re||re.index>=C.length)break;var J=re.index,ae=re.index+re[0].length,j=W;for(j+=N.value.length;J>=j;)N=N.next,j+=N.value.length;if(j-=N.value.length,W=j,N.value instanceof d)continue;for(var Z=N;Z!==w.tail&&(jk.reach&&(k.reach=Ue);var ot=N.prev;ke&&(ot=m(w,ot,ke),W+=ke.length),g(w,ot,ue);var P=new d(F,z?u.tokenize(ge,z):ge,$,ge);if(N=m(w,ot,P),At&&m(w,N,At),ue>1){var it={cause:F+","+R,reach:Ue};h(C,w,D,N.prev,W,it),k&&it.reach>k.reach&&(k.reach=it.reach)}}}}}}c(h,"matchGrammar");function p(){var C={value:null,prev:null,next:null},w={value:null,prev:C,next:null};C.next=w,this.head=C,this.tail=w,this.length=0}c(p,"LinkedList");function m(C,w,D){var S=w.next,A={value:D,prev:w,next:S};return w.next=A,S.prev=A,C.length++,A}c(m,"addAfter");function g(C,w,D){for(var S=w.next,A=0;A{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:c(function(a,o){var i={};i["language-"+o]={pattern:/(^$)/i,lookbehind:!0,inside:n.languages[o]},i.cdata=/^$/i;var s={"included-cdata":{pattern://i,inside:i}};s["language-"+o]={pattern:/[\s\S]+/,inside:n.languages[o]};var u={};u[a]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return a}),"i"),lookbehind:!0,greedy:!0,inside:s},n.languages.insertBefore("markup","cdata",u)},"addInlined")}),Object.defineProperty(n.languages.markup.tag,"addAttribute",{value:c(function(a,o){n.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+a+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[o,"language-"+o],inside:n.languages[o]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})},"value")}),n.languages.html=n.languages.markup,n.languages.mathml=n.languages.markup,n.languages.svg=n.languages.markup,n.languages.xml=n.languages.extend("markup",{}),n.languages.ssml=n.languages.xml,n.languages.atom=n.languages.xml,n.languages.rss=n.languages.xml}c(r,"markup")}),y7=q((e,t)=>{t.exports=r,r.displayName="css",r.aliases=[];function r(n){(function(a){var o=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;a.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+o.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+o.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+o.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:o,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},a.languages.css.atrule.inside.rest=a.languages.css;var i=a.languages.markup;i&&(i.tag.addInlined("style","css"),i.tag.addAttribute("style","css"))})(n)}c(r,"css")}),n_=q((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:/[{}[\];(),.:]/}}c(r,"clike")}),a_=q((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}c(r,"javascript")}),o_=q((e,t)=>{var r=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof global=="object"?global:{},n=A();r.Prism={manual:!0,disableWorkerMessageHandler:!0};var a=Kk(),o=t_(),i=r_(),s=v7(),u=y7(),d=n_(),f=a_();n();var h={}.hasOwnProperty;function p(){}c(p,"Refractor"),p.prototype=i;var m=new p;t.exports=m,m.highlight=b,m.register=g,m.alias=v,m.registered=x,m.listLanguages=E,g(s),g(u),g(d),g(f),m.util.encode=D,m.Token.stringify=C;function g(k){if(typeof k!="function"||!k.displayName)throw new Error("Expected `function` for `grammar`, got `"+k+"`");m.languages[k.displayName]===void 0&&k(m)}c(g,"register");function v(k,F){var T=m.languages,R=k,L,z,M,O;F&&(R={},R[k]=F);for(L in R)for(z=R[L],z=typeof z=="string"?[z]:z,M=z.length,O=-1;++O{Rk(),ji=Ae(o_()),Hi=u7(ji.default,{}),Hi.registerLanguage=function(e,t){return ji.default.register(t)},Hi.alias=function(e,t){return ji.default.alias(e,t)},xl=Hi}),l_=B(()=>{e7()}),s_=q((e,t)=>{t.exports=r,r.displayName="bash",r.aliases=["shell"];function r(n){(function(a){var o="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",i={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},s={bash:i,environment:{pattern:RegExp("\\$"+o),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+o),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};a.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+o),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:s},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:i}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:s},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:s.entity}}],environment:{pattern:RegExp("\\$?"+o),alias:"constant"},variable:s.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},i.inside=a.languages.bash;for(var u=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],d=s.variable[1].inside,f=0;f{Hm=Ae(s_()),b7=Hm.default}),Vm,w7,c_=B(()=>{Vm=Ae(y7()),w7=Vm.default}),d_=q((e,t)=>{t.exports=r,r.displayName="graphql",r.aliases=[];function r(n){n.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:n.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},n.hooks.add("after-tokenize",c(function(a){if(a.language!=="graphql")return;var o=a.tokens.filter(function(E){return typeof E!="string"&&E.type!=="comment"&&E.type!=="scalar"}),i=0;function s(E){return o[i+E]}c(s,"getToken");function u(E,C){C=C||0;for(var w=0;w0)){var v=d(/^\{$/,/^\}$/);if(v===-1)continue;for(var b=i;b=0&&f(x,"variable-input")}}}}},"afterTokenizeGraphql"))}c(r,"graphql")}),Um,E7,p_=B(()=>{Um=Ae(d_()),E7=Um.default}),f_=q((e,t)=>{t.exports=r,r.displayName="jsExtras",r.aliases=[];function r(n){(function(a){a.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+a.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),a.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+a.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),a.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]});function o(h,p){return RegExp(h.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),p)}c(o,"withId"),a.languages.insertBefore("javascript","keyword",{imports:{pattern:o(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:a.languages.javascript},exports:{pattern:o(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:a.languages.javascript}}),a.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),a.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),a.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:o(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var i=["function","function-variable","method","method-variable","property-access"],s=0;s{qm=Ae(f_()),x7=qm.default}),m_=q((e,t)=>{t.exports=r,r.displayName="json",r.aliases=["webmanifest"];function r(n){n.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},n.languages.webmanifest=n.languages.json}c(r,"json")}),Wm,C7,g_=B(()=>{Wm=Ae(m_()),C7=Wm.default}),D7=q((e,t)=>{t.exports=r,r.displayName="jsx",r.aliases=[];function r(n){(function(a){var o=a.util.clone(a.languages.javascript),i=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,s=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,u=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function d(p,m){return p=p.replace(//g,function(){return i}).replace(//g,function(){return s}).replace(//g,function(){return u}),RegExp(p,m)}c(d,"re"),u=d(u).source,a.languages.jsx=a.languages.extend("markup",o),a.languages.jsx.tag.pattern=d(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),a.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,a.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,a.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,a.languages.jsx.tag.inside.comment=o.comment,a.languages.insertBefore("inside","attr-name",{spread:{pattern:d(//.source),inside:a.languages.jsx}},a.languages.jsx.tag),a.languages.insertBefore("inside","special-attr",{script:{pattern:d(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:a.languages.jsx}}},a.languages.jsx.tag);var f=c(function(p){return p?typeof p=="string"?p:typeof p.content=="string"?p.content:p.content.map(f).join(""):""},"stringifyToken"),h=c(function(p){for(var m=[],g=0;g0&&m[m.length-1].tagName===f(v.content[0].content[1])&&m.pop():v.content[v.content.length-1].content==="/>"||m.push({tagName:f(v.content[0].content[1]),openedBraces:0}):m.length>0&&v.type==="punctuation"&&v.content==="{"?m[m.length-1].openedBraces++:m.length>0&&m[m.length-1].openedBraces>0&&v.type==="punctuation"&&v.content==="}"?m[m.length-1].openedBraces--:b=!0),(b||typeof v=="string")&&m.length>0&&m[m.length-1].openedBraces===0){var x=f(v);g0&&(typeof p[g-1]=="string"||p[g-1].type==="plain-text")&&(x=f(p[g-1])+x,p.splice(g-1,1),g--),p[g]=new a.Token("plain-text",x,null,x)}v.content&&typeof v.content!="string"&&h(v.content)}},"walkTokens");a.hooks.add("after-tokenize",function(p){p.language!=="jsx"&&p.language!=="tsx"||h(p.tokens)})})(n)}c(r,"jsx")}),Gm,S7,v_=B(()=>{Gm=Ae(D7()),S7=Gm.default}),y_=q((e,t)=>{t.exports=r,r.displayName="markdown",r.aliases=["md"];function r(n){(function(a){var o=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function i(g){return g=g.replace(//g,function(){return o}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+g+")")}c(i,"createInline");var s=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,u=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return s}),d=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;a.languages.markdown=a.languages.extend("markup",{}),a.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:a.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+u+d+"(?:"+u+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+u+d+")(?:"+u+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(s),inside:a.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+u+")"+d+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+u+"$"),inside:{"table-header":{pattern:RegExp(s),alias:"important",inside:a.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:i(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:i(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:i(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:i(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(g){["url","bold","italic","strike","code-snippet"].forEach(function(v){g!==v&&(a.languages.markdown[g].inside.content.inside[v]=a.languages.markdown[v])})}),a.hooks.add("after-tokenize",function(g){if(g.language!=="markdown"&&g.language!=="md")return;function v(b){if(!(!b||typeof b=="string"))for(var x=0,E=b.length;x",quot:'"'},p=String.fromCodePoint||String.fromCharCode;function m(g){var v=g.replace(f,"");return v=v.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(b,x){if(x=x.toLowerCase(),x[0]==="#"){var E;return x[1]==="x"?E=parseInt(x.slice(2),16):E=Number(x.slice(1)),p(E)}else{var C=h[x];return C||b}}),v}c(m,"textContent"),a.languages.md=a.languages.markdown})(n)}c(r,"markdown")}),Km,A7,b_=B(()=>{Km=Ae(y_()),A7=Km.default}),Ym,k7,w_=B(()=>{Ym=Ae(v7()),k7=Ym.default}),_7=q((e,t)=>{t.exports=r,r.displayName="typescript",r.aliases=["ts"];function r(n){(function(a){a.languages.typescript=a.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),a.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete a.languages.typescript.parameter,delete a.languages.typescript["literal-property"];var o=a.languages.extend("typescript",{});delete o["class-name"],a.languages.typescript["class-name"].inside=o,a.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:o}}}}),a.languages.ts=a.languages.typescript})(n)}c(r,"typescript")}),E_=q((e,t)=>{var r=D7(),n=_7();t.exports=a,a.displayName="tsx",a.aliases=[];function a(o){o.register(r),o.register(n),function(i){var s=i.util.clone(i.languages.typescript);i.languages.tsx=i.languages.extend("jsx",s),delete i.languages.tsx.parameter,delete i.languages.tsx["literal-property"];var u=i.languages.tsx.tag;u.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+u.pattern.source+")",u.pattern.flags),u.lookbehind=!0}(o)}c(a,"tsx")}),Zm,F7,x_=B(()=>{Zm=Ae(E_()),F7=Zm.default}),Jm,I7,C_=B(()=>{Jm=Ae(_7()),I7=Jm.default}),D_=q((e,t)=>{t.exports=r,r.displayName="yaml",r.aliases=["yml"];function r(n){(function(a){var o=/[*&][^\s[\]{},]+/,i=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,s="(?:"+i.source+"(?:[ ]+"+o.source+")?|"+o.source+"(?:[ ]+"+i.source+")?)",u=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),d=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function f(h,p){p=(p||"").replace(/m/g,"")+"m";var m=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return s}).replace(/<>/g,function(){return h});return RegExp(m,p)}c(f,"createValuePattern"),a.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return s})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return s}).replace(/<>/g,function(){return"(?:"+u+"|"+d+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:f(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:f(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:f(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:f(d),lookbehind:!0,greedy:!0},number:{pattern:f(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:i,important:o,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},a.languages.yml=a.languages.yaml})(n)}c(r,"yaml")}),Xm,T7,S_=B(()=>{Xm=Ae(D_()),T7=Xm.default}),Qm,cc,pf,R7=B(()=>{Qm=_.div(({theme:e})=>({position:"absolute",bottom:0,right:0,maxWidth:"100%",display:"flex",background:e.background.content,zIndex:1})),cc=_.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}),cc.displayName="ActionButton",pf=c(({actionItems:e,...t})=>y.createElement(Qm,{...t},e.map(({title:r,className:n,onClick:a,disabled:o},i)=>y.createElement(cc,{key:i,className:n,onClick:a,disabled:!!o},r))),"ActionBar")});function B7(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function z7(...e){return t=>e.forEach(r=>B7(r,t))}var A_=B(()=>{c(B7,"setRef"),c(z7,"composeRefs")});function eg(e){return l.isValidElement(e)&&e.type===O7}function tg(e,t){let r={...t};for(let n in t){let a=e[n],o=t[n];/^on[A-Z]/.test(n)?a&&o?r[n]=(...i)=>{o(...i),a(...i)}:a&&(r[n]=a):n==="style"?r[n]={...a,...o}:n==="className"&&(r[n]=[a,o].filter(Boolean).join(" "))}return{...e,...r}}function rg(e){var n,a;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var Ql,Vi,O7,L7=B(()=>{A_(),Ql=l.forwardRef((e,t)=>{let{children:r,...n}=e,a=l.Children.toArray(r),o=a.find(eg);if(o){let i=o.props.children,s=a.map(u=>u===o?l.Children.count(i)>1?l.Children.only(null):l.isValidElement(i)?i.props.children:null:u);return X.jsx(Vi,{...n,ref:t,children:l.isValidElement(i)?l.cloneElement(i,void 0,s):null})}return X.jsx(Vi,{...n,ref:t,children:r})}),Ql.displayName="Slot",Vi=l.forwardRef((e,t)=>{let{children:r,...n}=e;if(l.isValidElement(r)){let a=rg(r);return l.cloneElement(r,{...tg(n,r.props),ref:t?z7(t,a):a})}return l.Children.count(r)>1?l.Children.only(null):null}),Vi.displayName="SlotClone",O7=c(({children:e})=>X.jsx(X.Fragment,{children:e}),"Slottable"),c(eg,"isSlottable"),c(tg,"mergeProps"),c(rg,"getElementRef")}),ng,Gn,k_=B(()=>{L7(),ng=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Gn=ng.reduce((e,t)=>{let r=l.forwardRef((n,a)=>{let{asChild:o,...i}=n,s=o?Ql:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),X.jsx(s,{...i,ref:a})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{})});function M7(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function $7(...e){return t=>e.forEach(r=>M7(r,t))}function Dr(...e){return l.useCallback($7(...e),e)}var P7=B(()=>{c(M7,"setRef"),c($7,"composeRefs"),c(Dr,"useComposedRefs")}),es,N7=B(()=>{es=globalThis!=null&&globalThis.document?l.useLayoutEffect:()=>{}});function j7(e,t){return l.useReducer((r,n)=>t[r][n]??r,e)}function ag(e){let[t,r]=l.useState(),n=l.useRef({}),a=l.useRef(e),o=l.useRef("none"),i=e?"mounted":"unmounted",[s,u]=j7(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return l.useEffect(()=>{let d=wo(n.current);o.current=s==="mounted"?d:"none"},[s]),es(()=>{let d=n.current,f=a.current;if(f!==e){let h=o.current,p=wo(d);e?u("MOUNT"):p==="none"||(d==null?void 0:d.display)==="none"?u("UNMOUNT"):u(f&&h!==p?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,u]),es(()=>{if(t){let d=c(h=>{let p=wo(n.current).includes(h.animationName);h.target===t&&p&&Ps.flushSync(()=>u("ANIMATION_END"))},"handleAnimationEnd"),f=c(h=>{h.target===t&&(o.current=wo(n.current))},"handleAnimationStart");return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:l.useCallback(d=>{d&&(n.current=getComputedStyle(d)),r(d)},[])}}function wo(e){return(e==null?void 0:e.animationName)||"none"}function og(e){var n,a;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var Qn,__=B(()=>{"use client";P7(),N7(),c(j7,"useStateMachine"),Qn=c(e=>{let{present:t,children:r}=e,n=ag(t),a=typeof r=="function"?r({present:n.isPresent}):l.Children.only(r),o=Dr(n.ref,og(a));return typeof r=="function"||n.isPresent?l.cloneElement(a,{ref:o}):null},"Presence"),Qn.displayName="Presence",c(ag,"usePresence"),c(wo,"getAnimationName"),c(og,"getElementRef")});function H7(e,t=[]){let r=[];function n(o,i){let s=l.createContext(i),u=r.length;r=[...r,i];function d(h){let{scope:p,children:m,...g}=h,v=(p==null?void 0:p[e][u])||s,b=l.useMemo(()=>g,Object.values(g));return X.jsx(v.Provider,{value:b,children:m})}c(d,"Provider");function f(h,p){let m=(p==null?void 0:p[e][u])||s,g=l.useContext(m);if(g)return g;if(i!==void 0)return i;throw new Error(`\`${h}\` must be used within \`${o}\``)}return c(f,"useContext2"),d.displayName=o+"Provider",[d,f]}c(n,"createContext3");let a=c(()=>{let o=r.map(i=>l.createContext(i));return c(function(i){let s=(i==null?void 0:i[e])||o;return l.useMemo(()=>({[`__scope${e}`]:{...i,[e]:s}}),[i,s])},"useScope")},"createScope");return a.scopeName=e,[n,V7(a,...t)]}function V7(...e){let t=e[0];if(e.length===1)return t;let r=c(()=>{let n=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return c(function(a){let o=n.reduce((i,{useScope:s,scopeName:u})=>{let d=s(a)[`__scope${u}`];return{...i,...d}},{});return l.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])},"useComposedScopes")},"createScope");return r.scopeName=t.scopeName,r}var F_=B(()=>{c(H7,"createContextScope"),c(V7,"composeContextScopes")});function kr(e){let t=l.useRef(e);return l.useEffect(()=>{t.current=e}),l.useMemo(()=>(...r)=>{var n;return(n=t.current)==null?void 0:n.call(t,...r)},[])}var I_=B(()=>{c(kr,"useCallbackRef")});function U7(e){let t=l.useContext(q7);return e||t||"ltr"}var q7,T_=B(()=>{q7=l.createContext(void 0),c(U7,"useDirection")});function W7(e,[t,r]){return Math.min(r,Math.max(t,e))}var R_=B(()=>{c(W7,"clamp")});function wr(e,t,{checkForDefaultPrevented:r=!0}={}){return c(function(n){if(e==null||e(n),r===!1||!n.defaultPrevented)return t==null?void 0:t(n)},"handleEvent")}var B_=B(()=>{c(wr,"composeEventHandlers")});function ig(e,t){return l.useReducer((r,n)=>t[r][n]??r,e)}function eo(e){return e?parseInt(e,10):0}function qd(e,t){let r=e/t;return isNaN(r)?0:r}function Lo(e){let t=qd(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,n=(e.scrollbar.size-r)*t;return Math.max(n,18)}function lg(e,t,r,n="ltr"){let a=Lo(r),o=a/2,i=t||o,s=a-i,u=r.scrollbar.paddingStart+i,d=r.scrollbar.size-r.scrollbar.paddingEnd-s,f=r.content-r.viewport,h=n==="ltr"?[0,f]:[f*-1,0];return ff([u,d],h)(e)}function dc(e,t,r="ltr"){let n=Lo(t),a=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,o=t.scrollbar.size-a,i=t.content-t.viewport,s=o-n,u=r==="ltr"?[0,i]:[i*-1,0],d=W7(e,u);return ff([0,i],[0,s])(d)}function ff(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 pc(e,t){return e>0&&e()=>window.clearTimeout(n.current),[]),l.useCallback(()=>{window.clearTimeout(n.current),n.current=window.setTimeout(r,t)},[r,t])}function Gr(e,t){let r=kr(t);es(()=>{let n=0;if(e){let a=new ResizeObserver(()=>{cancelAnimationFrame(n),n=window.requestAnimationFrame(r)});return a.observe(e),()=>{window.cancelAnimationFrame(n),a.unobserve(e)}}},[e,r])}function sg(e,t){let{asChild:r,children:n}=e;if(!r)return typeof t=="function"?t(n):t;let a=l.Children.only(n);return l.cloneElement(a,{children:typeof t=="function"?t(a.props.children):t})}var Ui,fc,z_,ug,qe,hc,mc,gc,st,vc,cg,dg,yc,qi,pg,fg,hg,bc,wc,ro,Ec,mg,Wi,xc,gg,vg,G7,K7,Y7,Z7,J7,O_=B(()=>{"use client";k_(),__(),F_(),P7(),I_(),T_(),N7(),R_(),B_(),c(ig,"useStateMachine"),Ui="ScrollArea",[fc,z_]=H7(Ui),[ug,qe]=fc(Ui),hc=l.forwardRef((e,t)=>{let{__scopeScrollArea:r,type:n="hover",dir:a,scrollHideDelay:o=600,...i}=e,[s,u]=l.useState(null),[d,f]=l.useState(null),[h,p]=l.useState(null),[m,g]=l.useState(null),[v,b]=l.useState(null),[x,E]=l.useState(0),[C,w]=l.useState(0),[D,S]=l.useState(!1),[A,k]=l.useState(!1),F=Dr(t,R=>u(R)),T=U7(a);return X.jsx(ug,{scope:r,type:n,dir:T,scrollHideDelay:o,scrollArea:s,viewport:d,onViewportChange:f,content:h,onContentChange:p,scrollbarX:m,onScrollbarXChange:g,scrollbarXEnabled:D,onScrollbarXEnabledChange:S,scrollbarY:v,onScrollbarYChange:b,scrollbarYEnabled:A,onScrollbarYEnabledChange:k,onCornerWidthChange:E,onCornerHeightChange:w,children:X.jsx(Gn.div,{dir:T,...i,ref:F,style:{position:"relative","--radix-scroll-area-corner-width":x+"px","--radix-scroll-area-corner-height":C+"px",...e.style}})})}),hc.displayName=Ui,mc="ScrollAreaViewport",gc=l.forwardRef((e,t)=>{let{__scopeScrollArea:r,children:n,asChild:a,nonce:o,...i}=e,s=qe(mc,r),u=l.useRef(null),d=Dr(t,u,s.onViewportChange);return X.jsxs(X.Fragment,{children:[X.jsx("style",{dangerouslySetInnerHTML:{__html:` +[data-radix-scroll-area-viewport] { + scrollbar-width: none; + -ms-overflow-style: none; + -webkit-overflow-scrolling: touch; +} +[data-radix-scroll-area-viewport]::-webkit-scrollbar { + display: none; +} +:where([data-radix-scroll-area-viewport]) { + display: flex; + flex-direction: column; + align-items: stretch; +} +:where([data-radix-scroll-area-content]) { + flex-grow: 1; +} +`},nonce:o}),X.jsx(Gn.div,{"data-radix-scroll-area-viewport":"",...i,asChild:a,ref:d,style:{overflowX:s.scrollbarXEnabled?"scroll":"hidden",overflowY:s.scrollbarYEnabled?"scroll":"hidden",...e.style},children:sg({asChild:a,children:n},f=>X.jsx("div",{"data-radix-scroll-area-content":"",ref:s.onContentChange,style:{minWidth:s.scrollbarXEnabled?"fit-content":void 0},children:f}))})]})}),gc.displayName=mc,st="ScrollAreaScrollbar",vc=l.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=qe(st,e.__scopeScrollArea),{onScrollbarXEnabledChange:o,onScrollbarYEnabledChange:i}=a,s=e.orientation==="horizontal";return l.useEffect(()=>(s?o(!0):i(!0),()=>{s?o(!1):i(!1)}),[s,o,i]),a.type==="hover"?X.jsx(cg,{...n,ref:t,forceMount:r}):a.type==="scroll"?X.jsx(dg,{...n,ref:t,forceMount:r}):a.type==="auto"?X.jsx(yc,{...n,ref:t,forceMount:r}):a.type==="always"?X.jsx(qi,{...n,ref:t}):null}),vc.displayName=st,cg=l.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=qe(st,e.__scopeScrollArea),[o,i]=l.useState(!1);return l.useEffect(()=>{let s=a.scrollArea,u=0;if(s){let d=c(()=>{window.clearTimeout(u),i(!0)},"handlePointerEnter"),f=c(()=>{u=window.setTimeout(()=>i(!1),a.scrollHideDelay)},"handlePointerLeave");return s.addEventListener("pointerenter",d),s.addEventListener("pointerleave",f),()=>{window.clearTimeout(u),s.removeEventListener("pointerenter",d),s.removeEventListener("pointerleave",f)}}},[a.scrollArea,a.scrollHideDelay]),X.jsx(Qn,{present:r||o,children:X.jsx(yc,{"data-state":o?"visible":"hidden",...n,ref:t})})}),dg=l.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=qe(st,e.__scopeScrollArea),o=e.orientation==="horizontal",i=to(()=>u("SCROLL_END"),100),[s,u]=ig("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return l.useEffect(()=>{if(s==="idle"){let d=window.setTimeout(()=>u("HIDE"),a.scrollHideDelay);return()=>window.clearTimeout(d)}},[s,a.scrollHideDelay,u]),l.useEffect(()=>{let d=a.viewport,f=o?"scrollLeft":"scrollTop";if(d){let h=d[f],p=c(()=>{let m=d[f];h!==m&&(u("SCROLL"),i()),h=m},"handleScroll");return d.addEventListener("scroll",p),()=>d.removeEventListener("scroll",p)}},[a.viewport,o,u,i]),X.jsx(Qn,{present:r||s!=="hidden",children:X.jsx(qi,{"data-state":s==="hidden"?"hidden":"visible",...n,ref:t,onPointerEnter:wr(e.onPointerEnter,()=>u("POINTER_ENTER")),onPointerLeave:wr(e.onPointerLeave,()=>u("POINTER_LEAVE"))})})}),yc=l.forwardRef((e,t)=>{let r=qe(st,e.__scopeScrollArea),{forceMount:n,...a}=e,[o,i]=l.useState(!1),s=e.orientation==="horizontal",u=to(()=>{if(r.viewport){let d=r.viewport.offsetWidth{let{orientation:r="vertical",...n}=e,a=qe(st,e.__scopeScrollArea),o=l.useRef(null),i=l.useRef(0),[s,u]=l.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),d=qd(s.viewport,s.content),f={...n,sizes:s,onSizesChange:u,hasThumb:d>0&&d<1,onThumbChange:c(p=>o.current=p,"onThumbChange"),onThumbPointerUp:c(()=>i.current=0,"onThumbPointerUp"),onThumbPointerDown:c(p=>i.current=p,"onThumbPointerDown")};function h(p,m){return lg(p,i.current,s,m)}return c(h,"getScrollPosition"),r==="horizontal"?X.jsx(pg,{...f,ref:t,onThumbPositionChange:c(()=>{if(a.viewport&&o.current){let p=a.viewport.scrollLeft,m=dc(p,s,a.dir);o.current.style.transform=`translate3d(${m}px, 0, 0)`}},"onThumbPositionChange"),onWheelScroll:c(p=>{a.viewport&&(a.viewport.scrollLeft=p)},"onWheelScroll"),onDragScroll:c(p=>{a.viewport&&(a.viewport.scrollLeft=h(p,a.dir))},"onDragScroll")}):r==="vertical"?X.jsx(fg,{...f,ref:t,onThumbPositionChange:c(()=>{if(a.viewport&&o.current){let p=a.viewport.scrollTop,m=dc(p,s);o.current.style.transform=`translate3d(0, ${m}px, 0)`}},"onThumbPositionChange"),onWheelScroll:c(p=>{a.viewport&&(a.viewport.scrollTop=p)},"onWheelScroll"),onDragScroll:c(p=>{a.viewport&&(a.viewport.scrollTop=h(p))},"onDragScroll")}):null}),pg=l.forwardRef((e,t)=>{let{sizes:r,onSizesChange:n,...a}=e,o=qe(st,e.__scopeScrollArea),[i,s]=l.useState(),u=l.useRef(null),d=Dr(t,u,o.onScrollbarXChange);return l.useEffect(()=>{u.current&&s(getComputedStyle(u.current))},[u]),X.jsx(wc,{"data-orientation":"horizontal",...a,ref:d,sizes:r,style:{bottom:0,left:o.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:o.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":Lo(r)+"px",...e.style},onThumbPointerDown:c(f=>e.onThumbPointerDown(f.x),"onThumbPointerDown"),onDragScroll:c(f=>e.onDragScroll(f.x),"onDragScroll"),onWheelScroll:c((f,h)=>{if(o.viewport){let p=o.viewport.scrollLeft+f.deltaX;e.onWheelScroll(p),pc(p,h)&&f.preventDefault()}},"onWheelScroll"),onResize:c(()=>{u.current&&o.viewport&&i&&n({content:o.viewport.scrollWidth,viewport:o.viewport.offsetWidth,scrollbar:{size:u.current.clientWidth,paddingStart:eo(i.paddingLeft),paddingEnd:eo(i.paddingRight)}})},"onResize")})}),fg=l.forwardRef((e,t)=>{let{sizes:r,onSizesChange:n,...a}=e,o=qe(st,e.__scopeScrollArea),[i,s]=l.useState(),u=l.useRef(null),d=Dr(t,u,o.onScrollbarYChange);return l.useEffect(()=>{u.current&&s(getComputedStyle(u.current))},[u]),X.jsx(wc,{"data-orientation":"vertical",...a,ref:d,sizes:r,style:{top:0,right:o.dir==="ltr"?0:void 0,left:o.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":Lo(r)+"px",...e.style},onThumbPointerDown:c(f=>e.onThumbPointerDown(f.y),"onThumbPointerDown"),onDragScroll:c(f=>e.onDragScroll(f.y),"onDragScroll"),onWheelScroll:c((f,h)=>{if(o.viewport){let p=o.viewport.scrollTop+f.deltaY;e.onWheelScroll(p),pc(p,h)&&f.preventDefault()}},"onWheelScroll"),onResize:c(()=>{u.current&&o.viewport&&i&&n({content:o.viewport.scrollHeight,viewport:o.viewport.offsetHeight,scrollbar:{size:u.current.clientHeight,paddingStart:eo(i.paddingTop),paddingEnd:eo(i.paddingBottom)}})},"onResize")})}),[hg,bc]=fc(st),wc=l.forwardRef((e,t)=>{let{__scopeScrollArea:r,sizes:n,hasThumb:a,onThumbChange:o,onThumbPointerUp:i,onThumbPointerDown:s,onThumbPositionChange:u,onDragScroll:d,onWheelScroll:f,onResize:h,...p}=e,m=qe(st,r),[g,v]=l.useState(null),b=Dr(t,F=>v(F)),x=l.useRef(null),E=l.useRef(""),C=m.viewport,w=n.content-n.viewport,D=kr(f),S=kr(u),A=to(h,10);function k(F){if(x.current){let T=F.clientX-x.current.left,R=F.clientY-x.current.top;d({x:T,y:R})}}return c(k,"handleDragScroll"),l.useEffect(()=>{let F=c(T=>{let R=T.target;g!=null&&g.contains(R)&&D(T,w)},"handleWheel");return document.addEventListener("wheel",F,{passive:!1}),()=>document.removeEventListener("wheel",F,{passive:!1})},[C,g,w,D]),l.useEffect(S,[n,S]),Gr(g,A),Gr(m.content,A),X.jsx(hg,{scope:r,scrollbar:g,hasThumb:a,onThumbChange:kr(o),onThumbPointerUp:kr(i),onThumbPositionChange:S,onThumbPointerDown:kr(s),children:X.jsx(Gn.div,{...p,ref:b,style:{position:"absolute",...p.style},onPointerDown:wr(e.onPointerDown,F=>{F.button===0&&(F.target.setPointerCapture(F.pointerId),x.current=g.getBoundingClientRect(),E.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",m.viewport&&(m.viewport.style.scrollBehavior="auto"),k(F))}),onPointerMove:wr(e.onPointerMove,k),onPointerUp:wr(e.onPointerUp,F=>{let T=F.target;T.hasPointerCapture(F.pointerId)&&T.releasePointerCapture(F.pointerId),document.body.style.webkitUserSelect=E.current,m.viewport&&(m.viewport.style.scrollBehavior=""),x.current=null})})})}),ro="ScrollAreaThumb",Ec=l.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=bc(ro,e.__scopeScrollArea);return X.jsx(Qn,{present:r||a.hasThumb,children:X.jsx(mg,{ref:t,...n})})}),mg=l.forwardRef((e,t)=>{let{__scopeScrollArea:r,style:n,...a}=e,o=qe(ro,r),i=bc(ro,r),{onThumbPositionChange:s}=i,u=Dr(t,h=>i.onThumbChange(h)),d=l.useRef(),f=to(()=>{d.current&&(d.current(),d.current=void 0)},100);return l.useEffect(()=>{let h=o.viewport;if(h){let p=c(()=>{if(f(),!d.current){let m=vg(h,s);d.current=m,s()}},"handleScroll");return s(),h.addEventListener("scroll",p),()=>h.removeEventListener("scroll",p)}},[o.viewport,f,s]),X.jsx(Gn.div,{"data-state":i.hasThumb?"visible":"hidden",...a,ref:u,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...n},onPointerDownCapture:wr(e.onPointerDownCapture,h=>{let p=h.target.getBoundingClientRect(),m=h.clientX-p.left,g=h.clientY-p.top;i.onThumbPointerDown({x:m,y:g})}),onPointerUp:wr(e.onPointerUp,i.onThumbPointerUp)})}),Ec.displayName=ro,Wi="ScrollAreaCorner",xc=l.forwardRef((e,t)=>{let r=qe(Wi,e.__scopeScrollArea),n=!!(r.scrollbarX&&r.scrollbarY);return r.type!=="scroll"&&n?X.jsx(gg,{...e,ref:t}):null}),xc.displayName=Wi,gg=l.forwardRef((e,t)=>{let{__scopeScrollArea:r,...n}=e,a=qe(Wi,r),[o,i]=l.useState(0),[s,u]=l.useState(0),d=!!(o&&s);return Gr(a.scrollbarX,()=>{var h;let f=((h=a.scrollbarX)==null?void 0:h.offsetHeight)||0;a.onCornerHeightChange(f),u(f)}),Gr(a.scrollbarY,()=>{var h;let f=((h=a.scrollbarY)==null?void 0:h.offsetWidth)||0;a.onCornerWidthChange(f),i(f)}),d?X.jsx(Gn.div,{...n,ref:t,style:{width:o,height:s,position:"absolute",right:a.dir==="ltr"?0:void 0,left:a.dir==="rtl"?0:void 0,bottom:0,...e.style}}):null}),c(eo,"toInt"),c(qd,"getThumbRatio"),c(Lo,"getThumbSize"),c(lg,"getScrollPositionFromPointer"),c(dc,"getThumbOffsetFromScroll"),c(ff,"linearScale"),c(pc,"isScrollingWithinScrollbarBounds"),vg=c((e,t=()=>{})=>{let r={left:e.scrollLeft,top:e.scrollTop},n=0;return c(function a(){let o={left:e.scrollLeft,top:e.scrollTop},i=r.left!==o.left,s=r.top!==o.top;(i||s)&&t(),r=o,n=window.requestAnimationFrame(a)},"loop")(),()=>window.cancelAnimationFrame(n)},"addUnlinkedScrollListener"),c(to,"useDebounceCallback"),c(Gr,"useResizeObserver"),c(sg,"getSubtree"),G7=hc,K7=gc,Y7=vc,Z7=Ec,J7=xc}),yg,bg,Cc,Dc,ts,hf=B(()=>{O_(),yg=_(G7)(({scrollbarsize:e,offset:t})=>({width:"100%",height:"100%",overflow:"hidden","--scrollbar-size":`${e+t}px`,"--radix-scroll-area-thumb-width":`${e}px`})),bg=_(K7)({width:"100%",height:"100%"}),Cc=_(Y7)(({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}})),Dc=_(Z7)(({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%"}})),ts=l.forwardRef(({children:e,horizontal:t=!1,vertical:r=!1,offset:n=2,scrollbarSize:a=6,className:o},i)=>y.createElement(yg,{scrollbarsize:a,offset:n,className:o},y.createElement(bg,{ref:i},e),t&&y.createElement(Cc,{orientation:"horizontal",offset:n,horizontal:t.toString(),vertical:r.toString()},y.createElement(Dc,null)),r&&y.createElement(Cc,{orientation:"vertical",offset:n,horizontal:t.toString(),vertical:r.toString()},y.createElement(Dc,null)),t&&r&&y.createElement(J7,null))),ts.displayName="ScrollArea"}),mf={};Oa(mf,{SyntaxHighlighter:()=>Mo,createCopyToClipboardFunction:()=>Wd,default:()=>X7,supportedLanguages:()=>Gd});const{logger:L_}=__STORYBOOK_MODULE_CLIENT_LOGGER__;function Wd(){return Eo!=null&&Eo.clipboard?e=>Eo.clipboard.writeText(e):async e=>{let t=Kn.createElement("TEXTAREA"),r=Kn.activeElement;t.value=e,Kn.body.appendChild(t),t.select(),Kn.execCommand("copy"),Kn.body.removeChild(t),r.focus()}}var wg,Eo,Kn,Eg,Gd,xg,Cg,Dg,Sg,Ag,kg,_g,Sc,Fg,Ig,Mo,X7,tu=B(()=>{rf(),wg=Ae(Xs(),1),l_(),u_(),c_(),p_(),h_(),g_(),v_(),b_(),w_(),x_(),C_(),S_(),i_(),R7(),hf(),{navigator:Eo,document:Kn,window:Eg}=Js,Gd={jsextra:x7,jsx:S7,json:C7,yml:T7,md:A7,bash:b7,css:w7,html:k7,tsx:F7,typescript:I7,graphql:E7},Object.entries(Gd).forEach(([e,t])=>{xl.registerLanguage(e,t)}),xg=(0,wg.default)(2)(e=>Object.entries(e.code||{}).reduce((t,[r,n])=>({...t,[`* .${r}`]:n}),{})),Cg=Wd(),c(Wd,"createCopyToClipboardFunction"),Dg=_.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)"}}:{}),Sg=c(({children:e,className:t})=>y.createElement(ts,{horizontal:!0,vertical:!0,className:t},e),"UnstyledScroller"),Ag=_(Sg)({position:"relative"},({theme:e})=>xg(e)),kg=_.pre(({theme:e,padded:t})=>({display:"flex",justifyContent:"flex-start",margin:0,padding:t?e.layoutMargin:0})),_g=_.div(({theme:e})=>({flex:1,paddingLeft:2,paddingRight:e.layoutMargin,opacity:1,fontFamily:e.typography.fonts.mono})),Sc=c(e=>{let t=[...e.children],r=t[0],n=r.children[0].value,a={...r,children:[],properties:{...r.properties,"data-line-number":n,style:{...r.properties.style,userSelect:"auto"}}};return t[0]=a,{...e,children:t}},"processLineNumber"),Fg=c(({rows:e,stylesheet:t,useInlineStyles:r})=>e.map((n,a)=>eu({node:Sc(n),stylesheet:t,useInlineStyles:r,key:`code-segement${a}`})),"defaultRenderer"),Ig=c((e,t)=>t?e?({rows:r,...n})=>e({rows:r.map(a=>Sc(a)),...n}):Fg:e,"wrapRenderer"),Mo=c(({children:e,language:t="jsx",copyable:r=!1,bordered:n=!1,padded:a=!1,format:o=!0,formatter:i=void 0,className:s=void 0,showLineNumbers:u=!1,...d})=>{if(typeof e!="string"||!e.trim())return null;let[f,h]=l.useState("");l.useEffect(()=>{i?i(o,e).then(h):h(e.trim())},[e,o,i]);let[p,m]=l.useState(!1),g=l.useCallback(b=>{b.preventDefault(),Cg(f).then(()=>{m(!0),Eg.setTimeout(()=>m(!1),1500)}).catch(L_.error)},[f]),v=Ig(d.renderer,u);return y.createElement(Dg,{bordered:n,padded:a,showLineNumbers:u,className:s},y.createElement(Ag,null,y.createElement(xl,{padded:a||n,language:t,showLineNumbers:u,showInlineLineNumbers:u,useInlineStyles:!1,PreTag:kg,CodeTag:_g,lineNumberContainerStyle:{},...d,renderer:v},f)),r?y.createElement(pf,{actionItems:[{title:p?"Copied":"Copy",onClick:g}]}):null)},"SyntaxHighlighter"),Mo.registerLanguage=(...e)=>xl.registerLanguage(...e),X7=Mo});function Tg(e){if(typeof e=="string")return uu;if(Array.isArray(e))return cu;if(!e)return;let{type:t}=e;if(Mf.has(t))return t}function Rg(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(du(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=i6([...Mf].map(a=>`'${a}'`));return`Unexpected doc.type '${e.type}'. +Expected it to be ${n}.`}function Ct(e){return zr(e),{type:Ko,contents:e}}function gf(e,t){return zr(t),{type:Yo,contents:t,n:e}}function me(e,t={}){return zr(e),pu(t.expandedStates,!0),{type:Ca,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function Q7(e){return gf(Number.NEGATIVE_INFINITY,e)}function ew(e){return gf({type:"root"},e)}function vf(e){return pu(e),{type:Zo,parts:e}}function Wo(e,t="",r={}){return zr(e),t!==""&&zr(t),{type:Jo,breakContents:e,flatContents:t,groupId:r.groupId}}function tw(e,t){return zr(e),{type:Xo,contents:e,groupId:t.groupId,negate:t.negate}}function En(e,t){zr(e),pu(t);let r=[];for(let n=0;nt===""))return"";break;case Ca:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===Ca&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case Yo:case Ko:case Xo:case ss:if(!e.contents)return"";break;case Jo:if(!e.flatContents&&!e.breakContents)return"";break;case cu:{let t=[];for(let r of e){if(!r)continue;let[n,...a]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof Da(!1,t,-1)=="string"?t[t.length-1]+=n:t.push(n),t.push(...a)}return t.length===0?"":t.length===1?t[0]:t}case uu:case is:case ls:case us:case Sr:case cs:case No:break;default:throw new $f(e)}return e}function nw(e){return ru(e,t=>rw(t))}function Xe(e,t=l6){return ru(e,r=>typeof r=="string"?En(t,r.split(` +`)):r)}function Bg(e,t){let r=t===!0||t===Ao?Ao:t1,n=r===Ao?t1:Ao,a=0,o=0;for(let i of e)i===r?a++:i===n&&o++;return a>o?n:r}function zg(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function Og(e){return(e==null?void 0:e.type)==="front-matter"}function Ac(e,t){var r;if(e.type==="text"||e.type==="comment"||Ei(e)||e.type==="yaml"||e.type==="toml")return null;if(e.type==="attribute"&&delete t.value,e.type==="docType"&&delete t.value,e.type==="angularControlFlowBlock"&&(r=e.parameters)!=null&&r.children)for(let n of t.parameters.children)c6.has(e.name)?delete n.expression:n.expression=n.expression.trim();e.type==="angularIcuExpression"&&(t.switchValue=e.switchValue.trim()),e.type==="angularLetDeclarationInitializer"&&delete t.value}async function Lg(e,t){if(e.language==="yaml"){let r=e.value.trim(),n=r?await t(r,{parser:"yaml"}):"";return ew([e.startDelimiter,e.explicitLanguage,le,n,n?le:"",e.endDelimiter])}}function fi(e,t=!0){return[Ct([Se,e]),t?Se:""]}function xn(e,t){let r=e.type==="NGRoot"?e.node.type==="NGMicrosyntax"&&e.node.body.length===1&&e.node.body[0].type==="NGMicrosyntaxExpression"?e.node.body[0].expression:e.node:e.type==="JsExpressionRoot"?e.node:e;return r&&(r.type==="ObjectExpression"||r.type==="ArrayExpression"||(t.parser==="__vue_expression"||t.parser==="__vue_ts_expression")&&(r.type==="TemplateLiteral"||r.type==="StringLiteral"))}async function tt(e,t,r,n){r={__isInHtmlAttribute:!0,__embeddedInHtml:!0,...r};let a=!0;n&&(r.__onHtmlBindingRoot=(i,s)=>{a=n(i,s)});let o=await t(e,r,t);return a?me(o):fi(o)}function Mg(e,t,r,n){let{node:a}=r,o=n.originalText.slice(a.sourceSpan.start.offset,a.sourceSpan.end.offset);return/^\s*$/u.test(o)?"":tt(o,e,{parser:"__ng_directive",__isInHtmlAttribute:!1},xn)}function Kd(e,t){if(!t)return;let r=f6(t).toLowerCase();return e.find(({filenames:n})=>n==null?void 0:n.some(a=>a.toLowerCase()===r))??e.find(({extensions:n})=>n==null?void 0:n.some(a=>r.endsWith(a)))}function aw(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 $g(e,t){let r=e.plugins.flatMap(a=>a.languages??[]),n=aw(r,t.language)??Kd(r,t.physicalFile)??Kd(r,t.file)??(t.physicalFile,void 0);return n==null?void 0:n.parsers[0]}function Pg(e){return e.type==="element"&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}function yf(e,t){return!!(e.type==="ieConditionalComment"&&e.lastChild&&!e.lastChild.isSelfClosing&&!e.lastChild.endSourceSpan||e.type==="ieConditionalComment"&&!e.complete||mn(e)&&e.children.some(r=>r.type!=="text"&&r.type!=="interpolation")||au(e,t)&&!qt(e)&&e.type!=="interpolation")}function hi(e){return e.type==="attribute"||!e.parent||!e.prev?!1:ow(e.prev)}function ow(e){return e.type==="comment"&&e.value.trim()==="prettier-ignore"}function Ge(e){return e.type==="text"||e.type==="comment"}function qt(e){return e.type==="element"&&(e.fullName==="script"||e.fullName==="style"||e.fullName==="svg:style"||e.fullName==="svg:script"||Sa(e)&&(e.name==="script"||e.name==="style"))}function iw(e){return e.children&&!qt(e)}function lw(e){return qt(e)||e.type==="interpolation"||bf(e)}function bf(e){return Af(e).startsWith("pre")}function sw(e,t){var r,n;let a=o();if(a&&!e.prev&&(n=(r=e.parent)==null?void 0:r.tagDefinition)!=null&&n.ignoreFirstLf)return e.type==="interpolation";return a;function o(){return Ei(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:mn(e.parent)?!0:!(!e.prev&&(e.parent.type==="root"||mn(e)&&e.parent||qt(e.parent)||mi(e.parent,t)||!vw(e.parent.cssDisplay))||e.prev&&!ww(e.prev.cssDisplay))}}function uw(e,t){return Ei(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:mn(e.parent)?!0:!(!e.next&&(e.parent.type==="root"||mn(e)&&e.parent||qt(e.parent)||mi(e.parent,t)||!yw(e.parent.cssDisplay))||e.next&&!bw(e.next.cssDisplay))}function cw(e){return Ew(e.cssDisplay)&&!qt(e)}function xo(e){return Ei(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+10&&(["body","script","style"].includes(e.name)||e.children.some(t=>fw(t)))||e.firstChild&&e.firstChild===e.lastChild&&e.firstChild.type!=="text"&&xf(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||Cf(e.lastChild))}function wf(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 Cl(e){return Df(e)||e.prev&&pw(e.prev)||Ef(e)}function pw(e){return Df(e)||e.type==="element"&&e.fullName==="br"||Ef(e)}function Ef(e){return xf(e)&&Cf(e)}function xf(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 Df(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function nu(e){return e.lastChild?nu(e.lastChild):e}function fw(e){var t;return(t=e.children)==null?void 0:t.some(r=>r.type!=="text")}function Sf(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 hw(e,t){let{name:r,attrMap:n}=e;if(r!=="script"||Object.prototype.hasOwnProperty.call(n,"src"))return;let{type:a,lang:o}=e.attrMap;return!o&&!a?"babel":xi(t,{language:o})??Sf(a)}function mw(e,t){if(!au(e,t))return;let{attrMap:r}=e;if(Object.prototype.hasOwnProperty.call(r,"src"))return;let{type:n,lang:a}=r;return xi(t,{language:a})??Sf(n)}function gw(e,t){if(e.name!=="style")return;let{lang:r}=e.attrMap;return r?xi(t,{language:r}):"css"}function Yd(e,t){return hw(e,t)??gw(e,t)??mw(e,t)}function La(e){return e==="block"||e==="list-item"||e.startsWith("table")}function vw(e){return!La(e)&&e!=="inline-block"}function yw(e){return!La(e)&&e!=="inline-block"}function bw(e){return!La(e)}function ww(e){return!La(e)}function Ew(e){return!La(e)&&e!=="inline-block"}function mn(e){return Af(e).startsWith("pre")}function xw(e,t){let r=e;for(;r;){if(t(r))return!0;r=r.parent}return!1}function Cw(e,t){var r;if(Cn(e,t))return"block";if(((r=e.prev)==null?void 0:r.type)==="comment"){let a=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/u);if(a)return a[1]}let n=!1;if(e.type==="element"&&e.namespace==="svg")if(xw(e,a=>a.fullName==="svg:foreignObject"))n=!0;else return e.name==="svg"?"inline-block":"block";switch(t.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return e.type==="element"&&(!e.namespace||n||Sa(e))&&m6[e.name]||h6}}function Af(e){return e.type==="element"&&(!e.namespace||Sa(e))&&v6[e.name]||g6}function Dw(e){let t=Number.POSITIVE_INFINITY;for(let r of e.split(` +`)){if(r.length===0)continue;let n=ht.getLeadingWhitespaceCount(r);if(n===0)return 0;r.length!==n&&nr.slice(t)).join(` +`)}function _f(e){return Ne(!1,Ne(!1,e,"'","'"),""",'"')}function hr(e){return _f(e.value)}function mi(e,t){return Cn(e,t)&&!b6.has(e.fullName)}function Cn(e,t){return t.parser==="vue"&&e.type==="element"&&e.parent.type==="root"&&e.fullName.toLowerCase()!=="html"}function au(e,t){return Cn(e,t)&&(mi(e,t)||e.attrMap.lang&&e.attrMap.lang!=="html")}function Sw(e){let t=e.fullName;return t.charAt(0)==="#"||t==="slot-scope"||t==="v-slot"||t.startsWith("v-slot:")}function Aw(e,t){let r=e.parent;if(!Cn(r,t))return!1;let n=r.fullName,a=e.fullName;return n==="script"&&a==="setup"||n==="style"&&a==="vars"}function Ff(e,t=e.value){return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?Xe(t):Xe(kf(Pf(t)),le):En(we,ht.split(t))}function If(e,t){return Cn(e,t)&&e.name==="script"}async function kw(e,t){let r=[];for(let[n,a]of e.split(Nf).entries())if(n%2===0)r.push(Xe(a));else try{r.push(me(["{{",Ct([we,await tt(a,t,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),we,"}}"]))}catch{r.push("{{",Xe(a),"}}")}return r}function Gi({parser:e}){return(t,r,n)=>tt(hr(n.node),t,{parser:e},xn)}function Ng(e,t){if(t.parser!=="angular")return;let{node:r}=e,n=r.fullName;if(n.startsWith("(")&&n.endsWith(")")||n.startsWith("on-"))return w6;if(n.startsWith("[")&&n.endsWith("]")||/^bind(?:on)?-/u.test(n)||/^ng-(?:if|show|hide|class|style)$/u.test(n))return E6;if(n.startsWith("*"))return x6;let a=hr(r);if(/^i18n(?:-.+)?$/u.test(n))return()=>fi(vf(Ff(r,a.trim())),!a.includes("@@"));if(Nf.test(a))return o=>kw(a,o)}function jg(e,t){let{node:r}=e,n=hr(r);if(r.fullName==="class"&&!t.parentParser&&!n.includes("{{"))return()=>n.trim().split(/\s+/u).join(" ")}function Zd(e){return e===" "||e===` +`||e==="\f"||e==="\r"||e===" "}function Hg(e){let t=e.length,r,n,a,o,i,s=0,u;function d(m){let g,v=m.exec(e.substring(s));if(v)return[g]=v,s+=g.length,g}c(d,"p");let f=[];for(;;){if(d(A6),s>=t){if(f.length===0)throw new Error("Must contain one or more image candidate strings.");return f}u=s,r=d(k6),n=[],r.slice(-1)===","?(r=r.replace(_6,""),p()):h()}function h(){for(d(S6),a="",o="in descriptor";;){if(i=e.charAt(s),o==="in descriptor")if(Zd(i))a&&(n.push(a),a="",o="after descriptor");else if(i===","){s+=1,a&&n.push(a),p();return}else if(i==="(")a+=i,o="in parens";else if(i===""){a&&n.push(a),p();return}else a+=i;else if(o==="in parens")if(i===")")a+=i,o="in descriptor";else if(i===""){n.push(a),p();return}else a+=i;else if(o==="after descriptor"&&!Zd(i))if(i===""){p();return}else o="in descriptor",s-=1;s+=1}}c(h,"f");function p(){let m=!1,g,v,b,x,E={},C,w,D,S,A;for(x=0;x_w(hr(e.node))}function _w(e){let t=I6(e),r=T6.filter(f=>t.some(h=>Object.prototype.hasOwnProperty.call(h,f)));if(r.length>1)throw new Error("Mixed descriptor in srcset is not supported");let[n]=r,a=n1[n],o=t.map(f=>f.source.value),i=Math.max(...o.map(f=>f.length)),s=t.map(f=>f[n]?String(f[n].value):""),u=s.map(f=>{let h=f.indexOf(".");return h===-1?f.length:h}),d=Math.max(...u);return fi(En([",",we],o.map((f,h)=>{let p=[f],m=s[h];if(m){let g=i-f.length+1,v=d-u[h],b=" ".repeat(g+v);p.push(Wo(b," "),m+a)}return p})))}function Fw(e,t){let{node:r}=e,n=hr(e.node).trim();if(r.fullName==="style"&&!t.parentParser&&!n.includes("{{"))return async a=>fi(await a(n,{parser:"css",__isHTMLStyleAttribute:!0}))}function Ug(e,t){let{root:r}=e;return Dl.has(r)||Dl.set(r,r.children.some(n=>If(n,t)&&["ts","typescript"].includes(n.attrMap.lang))),Dl.get(r)}function Iw(e,t,r){let{node:n}=r,a=hr(n);return tt(`type T<${a}> = any`,e,{parser:"babel-ts",__isEmbeddedTypescriptGenericParameters:!0},xn)}function Tw(e,t,{parseWithTs:r}){return tt(`function _(${e}) {}`,t,{parser:r?"babel-ts":"babel",__isVueBindings:!0})}function Rw(e){let t=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/u,r=/^[$_a-z][\w$]*(?:\.[$_a-z][\w$]*|\['[^']*'\]|\["[^"]*"\]|\[\d+\]|\[[$_a-z][\w$]*\])*$/iu,n=e.trim();return t.test(n)||r.test(n)}async function Bw(e,t,r,n){let a=hr(r.node),{left:o,operator:i,right:s}=zw(a),u=fu(r,n);return[me(await tt(`function _(${o}) {}`,e,{parser:u?"babel-ts":"babel",__isVueForBindingLeft:!0}))," ",i," ",await tt(s,e,{parser:u?"__ts_expression":"__js_expression"})]}function zw(e){let t=/(.*?)\s+(in|of)\s+(.*)/su,r=/,([^,\]}]*)(?:,([^,\]}]*))?$/u,n=/^\(|\)$/gu,a=e.match(t);if(!a)return;let o={};if(o.for=a[3].trim(),!o.for)return;let i=Ne(!1,a[1].trim(),n,""),s=i.match(r);s?(o.alias=i.replace(r,""),o.iterator1=s[1].trim(),s[2]&&(o.iterator2=s[2].trim())):o.alias=i;let u=[o.alias,o.iterator1,o.iterator2];if(!u.some((d,f)=>!d&&(f===0||u.slice(f+1).some(Boolean))))return{left:u.filter(Boolean).join(","),operator:a[2],right:o.for}}function qg(e,t){if(t.parser!=="vue")return;let{node:r}=e,n=r.fullName;if(n==="v-for")return Bw;if(n==="generic"&&If(r.parent,t))return Iw;let a=hr(r),o=fu(e,t);if(Sw(r)||Aw(r,t))return i=>Tw(a,i,{parseWithTs:o});if(n.startsWith("@")||n.startsWith("v-on:"))return i=>Ow(a,i,{parseWithTs:o});if(n.startsWith(":")||n.startsWith("v-bind:"))return i=>Lw(a,i,{parseWithTs:o});if(n.startsWith("v-"))return i=>Tf(a,i,{parseWithTs:o})}function Ow(e,t,{parseWithTs:r}){return Rw(e)?Tf(e,t,{parseWithTs:r}):tt(e,t,{parser:r?"__vue_ts_event_binding":"__vue_event_binding"},xn)}function Lw(e,t,{parseWithTs:r}){return tt(e,t,{parser:r?"__vue_ts_expression":"__vue_expression"},xn)}function Tf(e,t,{parseWithTs:r}){return tt(e,t,{parser:r?"__ts_expression":"__js_expression"},xn)}function Wg(e,t){let{node:r}=e;if(r.value){if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/u.test(t.originalText.slice(r.valueSpan.start.offset,r.valueSpan.end.offset))||t.parser==="lwc"&&r.value.startsWith("{")&&r.value.endsWith("}"))return[r.rawName,"=",r.value];for(let n of[R6,Fw,D6,B6,C6]){let a=n(e,t);if(a)return Mw(a)}}}function Mw(e){return async(t,r,n,a)=>{let o=await e(t,r,n,a);if(o)return o=ru(o,i=>typeof i=="string"?Ne(!1,i,'"',"""):i),[n.node.rawName,'="',me(o),'"']}}function Gg(e){return Array.isArray(e)&&e.length>0}function gi(e){return e.sourceSpan.start.offset}function yi(e){return e.sourceSpan.end.offset}function rs(e,t){return[e.isSelfClosing?"":$w(e,t),ta(e,t)]}function $w(e,t){return e.lastChild&&xa(e.lastChild)?"":[Pw(e,t),ou(e,t)]}function ta(e,t){return(e.next?Rr(e.next):$a(e.parent))?"":[Ma(e,t),Tr(e,t)]}function Pw(e,t){return $a(e)?Ma(e.lastChild,t):""}function Tr(e,t){return xa(e)?ou(e.parent,t):bi(e)?iu(e.next):""}function ou(e,t){if(jf(!e.isSelfClosing),Rf(e,t))return"";switch(e.type){case"ieConditionalComment":return"";case"ieConditionalStartComment":return"]>";case"interpolation":return"}}";case"angularIcuExpression":return"}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function Rf(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(hi(e)||yf(e.parent,t))}function Rr(e){return e.prev&&e.prev.type!=="docType"&&e.type!=="angularControlFlowBlock"&&!Ge(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function $a(e){var t;return((t=e.lastChild)==null?void 0:t.isTrailingSpaceSensitive)&&!e.lastChild.hasTrailingSpaces&&!Ge(nu(e.lastChild))&&!mn(e)}function xa(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&Ge(nu(e))}function bi(e){return e.next&&!Ge(e.next)&&Ge(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function Nw(e){let t=e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/su);return t?t[1]?t[1].split(/\s+/u):!0:!1}function wi(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function jw(e,t,r){var n;let{node:a}=e;if(!hu(a.attrs))return a.isSelfClosing?" ":"";let o=((n=a.prev)==null?void 0:n.type)==="comment"&&Nw(a.prev.value),i=typeof o=="boolean"?()=>o:Array.isArray(o)?h=>o.includes(h.rawName):()=>!1,s=e.map(({node:h})=>i(h)?Xe(t.originalText.slice(gi(h),yi(h))):r(),"attrs"),u=a.type==="element"&&a.fullName==="script"&&a.attrs.length===1&&a.attrs[0].fullName==="src"&&a.children.length===0,d=t.singleAttributePerLine&&a.attrs.length>1&&!Cn(a,t)?le:we,f=[Ct([u?" ":we,En(d,s)])];return a.firstChild&&wi(a.firstChild)||a.isSelfClosing&&$a(a.parent)||u?f.push(a.isSelfClosing?" ":""):f.push(t.bracketSameLine?a.isSelfClosing?" ":"":a.isSelfClosing?we:Se),f}function Hw(e){return e.firstChild&&wi(e.firstChild)?"":lu(e)}function ns(e,t,r){let{node:n}=e;return[ra(n,t),jw(e,t,r),n.isSelfClosing?"":Hw(n)]}function ra(e,t){return e.prev&&bi(e.prev)?"":[Br(e,t),iu(e)]}function Br(e,t){return wi(e)?lu(e.parent):Rr(e)?Ma(e.prev,t):""}function iu(e){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return`<${e.rawName}`;default:return`<${e.rawName}`}}function lu(e){switch(jf(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">";default:return">"}}function Kg(e,t){if(!e.endSourceSpan)return"";let r=e.startSourceSpan.end.offset;e.firstChild&&wi(e.firstChild)&&(r-=lu(e).length);let n=e.endSourceSpan.start.offset;return e.lastChild&&xa(e.lastChild)?n+=ou(e,t).length:$a(e)&&(n-=Ma(e.lastChild,t).length),t.originalText.slice(r,n)}function Yg(e,t){let{node:r}=e;switch(r.type){case"element":if(qt(r)||r.type==="interpolation")return;if(!r.isSelfClosing&&au(r,t)){let n=Yd(r,t);return n?async(a,o)=>{let i=Hf(r,t),s=/^\s*$/u.test(i),u="";return s||(u=await a(Pf(i),{parser:n,__embeddedInHtml:!0}),s=u===""),[Br(r,t),me(ns(e,t,o)),s?"":le,u,s?"":le,rs(r,t),Tr(r,t)]}:void 0}break;case"text":if(qt(r.parent)){let n=Yd(r.parent,t);if(n)return async a=>{let o=n==="markdown"?kf(r.value.replace(/^[^\S\n]*\n/u,"")):r.value,i={parser:n,__embeddedInHtml:!0};if(t.parser==="html"&&n==="babel"){let s="script",{attrMap:u}=r.parent;u&&(u.type==="module"||u.type==="text/babel"&&u["data-type"]==="module")&&(s="module"),i.__babelSourceType=s}return[aa,Br(r,t),await a(o,i),Tr(r,t)]}}else if(r.parent.type==="interpolation")return async n=>{let a={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return t.parser==="angular"?a.parser="__ng_interpolation":t.parser==="vue"?a.parser=fu(e,t)?"__vue_ts_expression":"__vue_expression":a.parser="__js_expression",[Ct([we,await n(r.value,a)]),r.parent.next&&Rr(r.parent.next)?" ":we]};break;case"attribute":return z6(e,t);case"front-matter":return n=>d6(r,n);case"angularControlFlowBlockParameters":return O6.has(e.parent.name)?p6:void 0;case"angularLetDeclarationInitializer":return n=>tt(r.value,n,{parser:"__ng_binding",__isInHtmlAttribute:!1})}}function na(e){if(Zn!==null&&typeof Zn.property){let t=Zn;return Zn=na.prototype=null,t}return Zn=na.prototype=e??Object.create(null),new na}function Vw(e){return na(e)}function Zg(e,t="type"){Vw(e);function r(n){let a=n[t],o=e[a];if(!Array.isArray(o))throw Object.assign(new Error(`Missing visitor keys for '${a}'.`),{node:n});return o}return c(r,"r"),r}function Uw(e){return/^\s*/u.test(e)}function Jg(e){return` + +`+e}function Bf(e){let t=yi(e);return e.type==="element"&&!e.endSourceSpan&&hu(e.children)?Math.max(t,Bf(Da(!1,e.children,-1))):t}function Yn(e,t,r){let n=e.node;if(hi(n)){let a=Bf(n);return[Br(n,t),Xe(ht.trimEnd(t.originalText.slice(gi(n)+(n.prev&&bi(n.prev)?iu(n).length:0),a-(n.next&&Rr(n.next)?Ma(n,t).length:0)))),Tr(n,t)]}return r()}function Co(e,t){return Ge(e)&&Ge(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?Cl(t)?le:we:"":Cl(t)?le:Se:bi(e)&&(hi(t)||t.firstChild||t.isSelfClosing||t.type==="element"&&t.attrs.length>0)||e.type==="element"&&e.isSelfClosing&&Rr(t)?"":!t.isLeadingSpaceSensitive||Cl(t)||Rr(t)&&e.lastChild&&xa(e.lastChild)&&e.lastChild.lastChild&&xa(e.lastChild.lastChild)?le:t.hasLeadingSpaces?we:Se}function su(e,t,r){let{node:n}=e;if(wf(n))return[aa,...e.map(o=>{let i=o.node,s=i.prev?Co(i.prev,i):"";return[s?[s,xo(i.prev)?le:""]:"",Yn(o,t,r)]},"children")];let a=n.children.map(()=>Symbol(""));return e.map((o,i)=>{let s=o.node;if(Ge(s)){if(s.prev&&Ge(s.prev)){let g=Co(s.prev,s);if(g)return xo(s.prev)?[le,le,Yn(o,t,r)]:[g,Yn(o,t,r)]}return Yn(o,t,r)}let u=[],d=[],f=[],h=[],p=s.prev?Co(s.prev,s):"",m=s.next?Co(s,s.next):"";return p&&(xo(s.prev)?u.push(le,le):p===le?u.push(le):Ge(s.prev)?d.push(p):d.push(Wo("",Se,{groupId:a[i-1]}))),m&&(xo(s)?Ge(s.next)&&h.push(le,le):m===le?Ge(s.next)&&h.push(le):f.push(m)),[...u,me([...d,me([Yn(o,t,r),...f],{id:a[i]})]),...h]},"children")}function qw(e,t,r){let{node:n}=e,a=[];Ww(e)&&a.push("} "),a.push("@",n.name),n.parameters&&a.push(" (",me(r("parameters")),")"),a.push(" {");let o=zf(n);return n.children.length>0?(n.firstChild.hasLeadingSpaces=!0,n.lastChild.hasTrailingSpaces=!0,a.push(Ct([le,su(e,t,r)])),o&&a.push(le,"}")):o&&a.push("}"),me(a,{shouldBreak:!0})}function zf(e){var t,r;return!(((t=e.next)==null?void 0:t.type)==="angularControlFlowBlock"&&(r=L6.get(e.name))!=null&&r.has(e.next.name))}function Ww(e){let{previous:t}=e;return(t==null?void 0:t.type)==="angularControlFlowBlock"&&!hi(t)&&!zf(t)}function Gw(e,t,r){return[Ct([Se,En([";",we],e.map(r,"children"))]),Se]}function Kw(e,t,r){let{node:n}=e;return[ra(n,t),me([n.switchValue.trim(),", ",n.clause,n.cases.length>0?[",",Ct([we,En(we,e.map(r,"cases"))])]:"",Se]),ta(n,t)]}function Yw(e,t,r){let{node:n}=e;return[n.value," {",me([Ct([Se,e.map(({node:a})=>a.type==="text"&&!ht.trim(a.value)?"":r(),"expression")]),Se]),"}"]}function Zw(e,t,r){let{node:n}=e;if(yf(n,t))return[Br(n,t),me(ns(e,t,r)),Xe(Hf(n,t)),...rs(n,t),Tr(n,t)];let a=n.children.length===1&&(n.firstChild.type==="interpolation"||n.firstChild.type==="angularIcuExpression")&&n.firstChild.isLeadingSpaceSensitive&&!n.firstChild.hasLeadingSpaces&&n.lastChild.isTrailingSpaceSensitive&&!n.lastChild.hasTrailingSpaces,o=Symbol("element-attr-group-id"),i=c(f=>me([me(ns(e,t,r),{id:o}),f,rs(n,t)]),"a"),s=c(f=>a?tw(f,{groupId:o}):(qt(n)||mi(n,t))&&n.parent.type==="root"&&t.parser==="vue"&&!t.vueIndentScriptAndStyle?f:Ct(f),"o"),u=c(()=>a?Wo(Se,"",{groupId:o}):n.firstChild.hasLeadingSpaces&&n.firstChild.isLeadingSpaceSensitive?we:n.firstChild.type==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive?Q7(Se):Se,"u"),d=c(()=>(n.next?Rr(n.next):$a(n.parent))?n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?" ":"":a?Wo(Se,"",{groupId:o}):n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?we:(n.lastChild.type==="comment"||n.lastChild.type==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${t.tabWidth*(e.ancestors.length-1)}}$`,"u").test(n.lastChild.value)?"":Se,"p");return n.children.length===0?i(n.hasDanglingSpaces&&n.isDanglingSpaceSensitive?we:""):i([dw(n)?aa:"",s([u(),su(e,t,r)]),d()])}function $o(e){return e>=9&&e<=32||e==160}function as(e){return 48<=e&&e<=57}function Po(e){return e>=97&&e<=122||e>=65&&e<=90}function Jw(e){return e>=97&&e<=102||e>=65&&e<=70||as(e)}function Ki(e){return e===10||e===13}function kc(e){return 48<=e&&e<=55}function Yi(e){return e===39||e===34||e===96}function Xg(e){return e.replace(M6,(...t)=>t[1].toUpperCase())}function Qg(e,t){for(let r of $6)r(e,t);return e}function e2(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 t2(e){let t=c(r=>{var n,a;return r.type==="element"&&((n=r.prev)==null?void 0:n.type)==="ieConditionalStartComment"&&r.prev.sourceSpan.end.offset===r.startSourceSpan.start.offset&&((a=r.firstChild)==null?void 0:a.type)==="ieConditionalEndComment"&&r.firstChild.sourceSpan.start.offset===r.startSourceSpan.end.offset},"e");e.walk(r=>{if(r.children)for(let n=0;n{if(n.children)for(let a=0;at.type==="cdata",t=>``)}function n2(e){let t=c(r=>{var n,a;return r.type==="element"&&r.attrs.length===0&&r.children.length===1&&r.firstChild.type==="text"&&!ht.hasWhitespaceCharacter(r.children[0].value)&&!r.firstChild.hasLeadingSpaces&&!r.firstChild.hasTrailingSpaces&&r.isLeadingSpaceSensitive&&!r.hasLeadingSpaces&&r.isTrailingSpaceSensitive&&!r.hasTrailingSpaces&&((n=r.prev)==null?void 0:n.type)==="text"&&((a=r.next)==null?void 0:a.type)==="text"},"e");e.walk(r=>{if(r.children)for(let n=0;n`+a.firstChild.value+``+i.value,o.sourceSpan=new Y(o.sourceSpan.start,i.sourceSpan.end),o.isTrailingSpaceSensitive=i.isTrailingSpaceSensitive,o.hasTrailingSpaces=i.hasTrailingSpaces,r.removeChild(a),n--,r.removeChild(i)}})}function a2(e,t){if(t.parser==="html")return;let r=/\{\{(.+?)\}\}/su;e.walk(n=>{if(iw(n))for(let a of n.children){if(a.type!=="text")continue;let o=a.sourceSpan.start,i=null,s=a.value.split(r);for(let u=0;u0&&n.insertChildBefore(a,{type:"text",value:d,sourceSpan:new Y(o,i)});continue}i=o.moveBy(d.length+4),n.insertChildBefore(a,{type:"interpolation",sourceSpan:new Y(o,i),children:d.length===0?[]:[{type:"text",value:d,sourceSpan:new Y(o.moveBy(2),i.moveBy(-2))}]})}n.removeChild(a)}})}function o2(e){e.walk(t=>{if(!t.children)return;if(t.children.length===0||t.children.length===1&&t.children[0].type==="text"&&ht.trim(t.children[0].value).length===0){t.hasDanglingSpaces=t.children.length>0,t.children=[];return}let r=lw(t),n=bf(t);if(!r)for(let a=0;a{t.isSelfClosing=!t.children||t.type==="element"&&(t.tagDefinition.isVoid||t.endSourceSpan&&t.startSourceSpan.start===t.endSourceSpan.start&&t.startSourceSpan.end===t.endSourceSpan.end)})}function l2(e,t){e.walk(r=>{r.type==="element"&&(r.hasHtmComponentClosingTag=r.endSourceSpan&&/^<\s*\/\s*\/\s*>$/u.test(t.originalText.slice(r.endSourceSpan.start.offset,r.endSourceSpan.end.offset)))})}function s2(e,t){e.walk(r=>{r.cssDisplay=Cw(r,t)})}function u2(e,t){e.walk(r=>{let{children:n}=r;if(n){if(n.length===0){r.isDanglingSpaceSensitive=cw(r);return}for(let a of n)a.isLeadingSpaceSensitive=sw(a,t),a.isTrailingSpaceSensitive=uw(a,t);for(let a=0;a{!oo[t]&&Do(t)===null&&(oo[t]=new G({canSelfClose:!1}))})),oo[e]??p5}function Jd(e,t,r=null){let n=[],a=e.visit?o=>e.visit(o,r)||o.visit(e,r):o=>o.visit(e,r);return t.forEach(o=>{let i=a(o);i&&n.push(i)}),n}function p2(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];j6.forEach(a=>{if(a.test(r)||a.test(n))throw new Error(`['${r}', '${n}'] contains unusable interpolation symbol.`)})}}function f2(e,t,r,n={}){let a=new V6(new Vf(e,t),r,n);return a.tokenize(),new H6(Qw(a.tokens),a.errors,a.nonNormalizedIcuExpressions)}function Kr(e){return`Unexpected character "${e===0?"EOF":String.fromCharCode(e)}"`}function Tc(e){return`Unknown entity "${e}" - use the "&#;" or "&#x;" syntax`}function h2(e,t){return`Unable to parse entity "${t}" - ${e} character reference entities must end with ";"`}function pe(e){return!$o(e)||e===0}function Rc(e){return $o(e)||e===62||e===60||e===47||e===39||e===34||e===61||e===0}function m2(e){return(e<97||12257)}function g2(e){return e===59||e===0||!Jw(e)}function v2(e){return e===59||e===0||!Po(e)}function y2(e){return e!==125}function b2(e,t){return Xd(e)===Xd(t)}function Xd(e){return e>=97&&e<=122?e-97+65:e}function Bc(e){return Po(e)||as(e)||e===95}function zc(e){return e!==59&&pe(e)}function Qw(e){let t=[],r;for(let n=0;n0&&e[e.length-1]===t}function Lc(e,t){return jo[t]!==void 0?jo[t]||e:/^#x[a-f0-9]+$/i.test(t)?String.fromCodePoint(parseInt(t.slice(2),16)):/^#\d+$/.test(t)?String.fromCodePoint(parseInt(t.slice(1),10)):e}function Qd(e,t={}){let{canSelfClose:r=!1,allowHtmComponentClosingTags:n=!1,isTagNameCaseSensitive:a=!1,getTagContentType:o,tokenizeAngularBlocks:i=!1,tokenizeAngularLetDeclaration:s=!1}=t;return U6().parse(e,"angular-html-parser",{tokenizeExpansionForms:i,interpolationConfig:void 0,canSelfClose:r,allowHtmComponentClosingTags:n,tokenizeBlocks:i,tokenizeLet:s},a,o)}function w2(e,t){let r=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(r,t)}function e6(e){let t=e.slice(0,Jn);if(t!=="---"&&t!=="+++")return;let r=e.indexOf(` +`,Jn);if(r===-1)return;let n=e.slice(Jn,r).trim(),a=e.indexOf(` +${t}`,r),o=n;if(o||(o=t==="+++"?"toml":"yaml"),a===-1&&t==="---"&&o==="yaml"&&(a=e.indexOf(` +...`,r)),a===-1)return;let i=a+1+Jn,s=e.charAt(i+1);if(!/\s?/u.test(s))return;let u=e.slice(0,i);return{type:"front-matter",language:o,explicitLanguage:n,value:e.slice(r+1,a),startDelimiter:t,endDelimiter:u.slice(-Jn),raw:u}}function E2(e){let t=e6(e);if(!t)return{content:e};let{raw:r}=t;return{frontMatter:t,content:Ne(!1,r,/[^\n]/gu," ")+e.slice(r.length)}}function x2(e,t){let r=e.map(t);return r.some((n,a)=>n!==e[a])?r:e}function t6(e,t){if(e.value)for(let{regex:r,parse:n}of K6){let a=e.value.match(r);if(a)return n(e,t,a)}return null}function C2(e,t,r){let[,n,a,o]=r,i=4+n.length,s=e.sourceSpan.start.moveBy(i),u=s.moveBy(o.length),[d,f]=(()=>{try{return[!0,t(o,s).children]}catch{return[!1,[{type:"text",value:o,sourceSpan:new Y(s,u)}]]}})();return{type:"ieConditionalComment",complete:d,children:f,condition:Ne(!1,a.trim(),/\s+/gu," "),sourceSpan:e.sourceSpan,startSourceSpan:new Y(e.sourceSpan.start,s),endSourceSpan:new Y(u,e.sourceSpan.end)}}function D2(e,t,r){let[,n]=r;return{type:"ieConditionalStartComment",condition:Ne(!1,n.trim(),/\s+/gu," "),sourceSpan:e.sourceSpan}}function S2(e){return{type:"ieConditionalEndComment",sourceSpan:e.sourceSpan}}function r6(e){if(e.type==="block"){if(e.name=Ne(!1,e.name.toLowerCase(),/\s+/gu," ").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 Y(e.parameters[0].sourceSpan.start,Da(!1,e.parameters,-1).sourceSpan.end)}}}function n6(e){e.type==="letDeclaration"&&(e.type="angularLetDeclaration",e.id=e.name,e.init={type:"angularLetDeclarationInitializer",sourceSpan:new Y(e.valueSpan.start,e.valueSpan.end),value:e.value},delete e.name,delete e.value)}function a6(e){(e.type==="plural"||e.type==="select")&&(e.clause=e.type,e.type="angularIcuExpression"),e.type==="expansionCase"&&(e.type="angularIcuCase")}function Of(e,t,r){let{name:n,canSelfClose:a=!0,normalizeTagName:o=!1,normalizeAttributeName:i=!1,allowHtmComponentClosingTags:s=!1,isTagNameCaseSensitive:u=!1,shouldParseAsRawText:d}=t,{rootNodes:f,errors:h}=Qd(e,{canSelfClose:a,allowHtmComponentClosingTags:s,isTagNameCaseSensitive:u,getTagContentType:d?(...E)=>d(...E)?ft.RAW_TEXT:void 0:void 0,tokenizeAngularBlocks:n==="angular"?!0:void 0,tokenizeAngularLetDeclaration:n==="angular"?!0:void 0});if(n==="vue"){if(f.some(D=>D.type==="docType"&&D.value==="html"||D.type==="element"&&D.name.toLowerCase()==="html"))return Of(e,a1,r);let E,C=c(()=>E??(E=Qd(e,{canSelfClose:a,allowHtmComponentClosingTags:s,isTagNameCaseSensitive:u})),"y"),w=c(D=>C().rootNodes.find(({startSourceSpan:S})=>S&&S.start.offset===D.startSourceSpan.start.offset)??D,"M");for(let[D,S]of f.entries()){let{endSourceSpan:A,startSourceSpan:k}=S;if(A===null)h=C().errors,f[D]=w(S);else if(o6(S,r)){let F=C().errors.find(T=>T.span.start.offset>k.start.offset&&T.span.start.offset0&&e1(h[0]);let p=c(E=>{let C=E.name.startsWith(":")?E.name.slice(1).split(":")[0]:null,w=E.nameSpan.toString(),D=C!==null&&w.startsWith(`${C}:`),S=D?w.slice(C.length+1):w;E.name=S,E.namespace=C,E.hasExplicitNamespace=D},"d"),m=c(E=>{switch(E.type){case"element":p(E);for(let C of E.attrs)p(C),C.valueSpan?(C.value=C.valueSpan.toString(),/["']/u.test(C.value[0])&&(C.value=C.value.slice(1,-1))):C.value=null;break;case"comment":E.value=E.sourceSpan.toString().slice(4,-3);break;case"text":E.value=E.sourceSpan.toString();break}},"C"),g=c((E,C)=>{let w=E.toLowerCase();return C(w)?w:E},"A"),v=c(E=>{if(E.type==="element"&&(o&&(!E.namespace||E.namespace===E.tagDefinition.implicitNamespacePrefix||Sa(E))&&(E.name=g(E.name,C=>Y6.has(C))),i))for(let C of E.attrs)C.namespace||(C.name=g(C.name,w=>Al.has(E.name)&&(Al.get("*").has(w)||Al.get(E.name).has(w))))},"D"),b=c(E=>{E.sourceSpan&&E.endSourceSpan&&(E.sourceSpan=new Y(E.sourceSpan.start,E.endSourceSpan.end))},"R"),x=c(E=>{if(E.type==="element"){let C=os(u?E.name:E.name.toLowerCase());!E.namespace||E.namespace===C.implicitNamespacePrefix||Sa(E)?E.tagDefinition=C:E.tagDefinition=os("")}},"F");return Jd(new class extends N6{visitExpansionCase(E,C){n==="angular"&&this.visitChildren(C,w=>{w(E.expression)})}visit(E){m(E),x(E),v(E),b(E)}},f),f}function o6(e,t){var r;if(e.type!=="element"||e.name!=="template")return!1;let n=(r=e.attrs.find(a=>a.name==="lang"))==null?void 0:r.value;return!n||xi(t,{language:n})==="html"}function e1(e){let{msg:t,span:{start:r,end:n}}=e;throw q6(t,{loc:{start:{line:r.line+1,column:r.col+1},end:{line:n.line+1,column:n.col+1}},cause:e})}function Lf(e,t,r={},n=!0){let{frontMatter:a,content:o}=n?W6(e):{frontMatter:null,content:e},i=new Vf(e,r.filepath),s=new ds(i,0,0,0),u=s.moveBy(e.length),d={type:"root",sourceSpan:new Y(s,u),children:Of(o,t,r)};if(a){let p=new ds(i,0,0,0),m=p.moveBy(a.raw.length);a.sourceSpan=new Y(p,m),d.children.unshift(a)}let f=new G6(d),h=c((p,m)=>{let{offset:g}=m,v=Ne(!1,e.slice(0,g),/[^\n\r]/gu," "),b=Lf(v+p,t,r,!1);b.sourceSpan=new Y(m,Da(!1,b.children,-1).sourceSpan.end);let x=b.children[0];return x.length===g?b.children.shift():(x.sourceSpan=new Y(x.sourceSpan.start.moveBy(g),x.sourceSpan.end),x.value=x.value.slice(g)),b},"f");return f.walk(p=>{if(p.type==="comment"){let m=t6(p,h);m&&p.parent.replaceChild(p,m)}r6(p),n6(p),a6(p)}),f}function ao(e){return{parse:c((t,r)=>Lf(t,e,r),"parse"),hasPragma:Uw,astFormat:"html",locStart:gi,locEnd:yi}}var A2,Mc,$c,Pc,tr,k2,_2,Nc,F2,Ne,uu,cu,is,Ko,Yo,ls,Ca,Zo,Jo,Xo,ss,us,Sr,cs,No,Mf,du,i6,jc,I2,$f,Hc,zr,pu,aa,T2,R2,we,Se,le,l6,B2,Da,Ao,t1,s6,ut,Vc,z2,O2,L2,M2,ht,Uc,$2,u6,Ei,P2,c6,N2,d6,p6,f6,xi,h6,m6,g6,v6,Sa,j2,Pf,y6,b6,Nf,w6,E6,x6,C6,D6,S6,A6,k6,_6,r1,F6,I6,n1,T6,R6,Dl,fu,B6,z6,qc,jf,hu,Hf,O6,H2,Zn,V2,U2,q2,W2,G2,K2,L6,M6,Zi,ds,Wc,Vf,Gc,Y,Ji,Kc,Yc,$6,Y2,Z2,J2,X2,Zc,Jc,Q2,e5,Xc,t5,r5,n5,Qc,e0,on,a5,ft,Sl,t0,o5,i5,l5,s5,u5,c5,r0,d5,n0,P6,a0,G,p5,oo,o0,Yr,i0,f5,l0,h5,s0,m5,u0,g5,c0,v5,d0,rr,p0,y5,f0,b5,h0,Zr,m0,g0,v0,y0,b0,N6,jo,w5,j6,Xi,E5,w0,E0,Qi,x0,H6,x5,el,C0,tl,D0,V6,io,S0,lo,C5,A0,rl,nl,Fe,k0,D5,_0,S5,al,A5,F0,k5,ol,U6,q6,Jn,W6,so,I0,Jr,G6,K6,Al,Y6,a1,_5,F5,I5,T5,R5,Z6,M_=B(()=>{A2=Object.defineProperty,Mc=c(e=>{throw TypeError(e)},"Xr"),$c=c((e,t)=>{for(var r in t)A2(e,r,{get:t[r],enumerable:!0})},"Jr"),Pc=c((e,t,r)=>t.has(e)||Mc("Cannot "+r),"Zr"),tr=c((e,t,r)=>(Pc(e,t,"read from private field"),r?r.call(e):t.get(e)),"Q"),k2=c((e,t,r)=>t.has(e)?Mc("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),"en"),_2=c((e,t,r,n)=>(Pc(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),"tn"),Nc={},$c(Nc,{languages:c(()=>X2,"languages"),options:c(()=>e5,"options"),parsers:c(()=>Xc,"parsers"),printers:c(()=>R5,"printers")}),F2=c((e,t,r,n)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(r,n):r.global?t.replace(r,n):t.split(r).join(n)},"si"),Ne=F2,uu="string",cu="array",is="cursor",Ko="indent",Yo="align",ls="trim",Ca="group",Zo="fill",Jo="if-break",Xo="indent-if-break",ss="line-suffix",us="line-suffix-boundary",Sr="line",cs="label",No="break-parent",Mf=new Set([is,Ko,Yo,ls,Ca,Zo,Jo,Xo,ss,us,Sr,cs,No]),c(Tg,"ii"),du=Tg,i6=c(e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e),"ai"),c(Rg,"oi"),I2=(jc=class extends Error{constructor(t){super(Rg(t));$n(this,"name","InvalidDocError");this.doc=t}},c(jc,"lr"),jc),$f=I2,Hc=c(()=>{},"rn"),zr=Hc,pu=Hc,c(Ct,"k"),c(gf,"nn"),c(me,"_"),c(Q7,"sn"),c(ew,"an"),c(vf,"At"),c(Wo,"ge"),c(tw,"on"),aa={type:No},T2={type:Sr,hard:!0},R2={type:Sr,hard:!0,literal:!0},we={type:Sr},Se={type:Sr,soft:!0},le=[T2,aa],l6=[R2,aa],c(En,"q"),B2=c((e,t,r)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},"ci"),Da=B2,c(ru,"Dt"),c(rw,"pi"),c(nw,"ln"),c(Xe,"B"),Ao="'",t1='"',c(Bg,"hi"),s6=Bg,c(zg,"cr"),z2=(Vc=class{constructor(e){k2(this,ut),_2(this,ut,new Set(e))}getLeadingWhitespaceCount(e){let t=tr(this,ut),r=0;for(let n=0;n=0&&t.has(e.charAt(n));n--)r++;return r}getLeadingWhitespace(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(0,t)}getTrailingWhitespace(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(e.length-t)}hasLeadingWhitespace(e){return tr(this,ut).has(e.charAt(0))}hasTrailingWhitespace(e){return tr(this,ut).has(Da(!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=`[${zg([...tr(this,ut)].join(""))}]+`,n=new RegExp(t?`(${r})`:r,"u");return e.split(n)}hasWhitespaceCharacter(e){let t=tr(this,ut);return Array.prototype.some.call(e,r=>t.has(r))}hasNonWhitespaceCharacter(e){let t=tr(this,ut);return Array.prototype.some.call(e,r=>!t.has(r))}isWhitespaceOnly(e){let t=tr(this,ut);return Array.prototype.every.call(e,r=>t.has(r))}},c(Vc,"pr"),Vc),ut=new WeakMap,O2=z2,L2=[" ",` +`,"\f","\r"," "],M2=new O2(L2),ht=M2,$2=(Uc=class extends Error{constructor(t,r,n="type"){super(`Unexpected ${r} node ${n}: ${JSON.stringify(t[n])}.`);$n(this,"name","UnexpectedNodeError");this.node=t}},c(Uc,"hr"),Uc),u6=$2,c(Og,"di"),Ei=Og,P2=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan","keySpan","tagDefinition","tokens","valueTokens","switchValueSourceSpan","expSourceSpan","valueSourceSpan"]),c6=new Set(["if","else if","for","switch","case"]),c(Ac,"fn"),Ac.ignoredProperties=P2,N2=Ac,c(Lg,"Si"),d6=Lg,c(fi,"Ce"),c(xn,"j"),c(tt,"T"),c(Mg,"_i"),p6=Mg,f6=c(e=>String(e).split(/[/\\]/u).pop(),"Ei"),c(Kd,"Sn"),c(aw,"Ai"),c($g,"Di"),xi=$g,h6="inline",m6={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"},g6="normal",v6={listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},c(Pg,"vi"),Sa=Pg,j2=c(e=>Ne(!1,e,/^[\t\f\r ]*\n/gu,""),"yi"),Pf=c(e=>j2(ht.trimEnd(e)),"mr"),y6=c(e=>{let t=e,r=ht.getLeadingWhitespace(t);r&&(t=t.slice(r.length));let n=ht.getTrailingWhitespace(t);return n&&(t=t.slice(0,-n.length)),{leadingWhitespace:r,trailingWhitespace:n,text:t}},"vn"),c(yf,"yt"),c(hi,"Ee"),c(ow,"wi"),c(Ge,"$"),c(qt,"U"),c(iw,"yn"),c(lw,"wn"),c(bf,"fr"),c(sw,"bn"),c(uw,"Tn"),c(cw,"xn"),c(xo,"Qe"),c(dw,"kn"),c(wf,"dr"),c(Cl,"wt"),c(pw,"bi"),c(Ef,"Bn"),c(xf,"Ln"),c(Cf,"Fn"),c(Df,"Nn"),c(nu,"bt"),c(fw,"Ti"),c(Sf,"Pn"),c(hw,"xi"),c(mw,"ki"),c(gw,"Bi"),c(Yd,"gr"),c(La,"Xe"),c(vw,"Li"),c(yw,"Fi"),c(bw,"Ni"),c(ww,"Pi"),c(Ew,"Ii"),c(mn,"_e"),c(xw,"Ri"),c(Cw,"In"),c(Af,"Rn"),c(Dw,"$i"),c(kf,"Cr"),c(_f,"Sr"),c(hr,"P"),b6=new Set(["template","style","script"]),c(mi,"Je"),c(Cn,"Ae"),c(au,"Tt"),c(Sw,"$n"),c(Aw,"On"),c(Ff,"xt"),c(If,"kt"),Nf=/\{\{(.+?)\}\}/su,c(kw,"Mn"),c(Gi,"Er"),w6=Gi({parser:"__ng_action"}),E6=Gi({parser:"__ng_binding"}),x6=Gi({parser:"__ng_directive"}),c(Ng,"Vi"),C6=Ng,c(jg,"Ui"),D6=jg,c(Zd,"Vn"),S6=/^[ \t\n\r\u000c]+/,A6=/^[, \t\n\r\u000c]+/,k6=/^[^ \t\n\r\u000c]+/,_6=/[,]+$/,r1=/^\d+$/,F6=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,c(Hg,"Ki"),I6=Hg,c(Vg,"Qi"),n1={width:"w",height:"h",density:"x"},T6=Object.keys(n1),c(_w,"Ji"),R6=Vg,c(Fw,"Yn"),Dl=new WeakMap,c(Ug,"Zi"),fu=Ug,c(Iw,"jn"),c(Tw,"Kn"),c(Rw,"Qn"),c(Bw,"Xn"),c(zw,"ea"),c(qg,"ta"),c(Ow,"ra"),c(Lw,"na"),c(Tf,"Jn"),B6=qg,c(Wg,"sa"),c(Mw,"ia"),z6=Wg,qc=new Proxy(()=>{},{get:c(()=>qc,"get")}),jf=qc,c(Gg,"aa"),hu=Gg,c(gi,"se"),c(yi,"ie"),c(rs,"Ze"),c($w,"oa"),c(ta,"De"),c(Pw,"ua"),c(Tr,"W"),c(ou,"Bt"),c(Ma,"ve"),c(Rf,"rs"),c(Rr,"K"),c($a,"ye"),c(xa,"we"),c(bi,"et"),c(Nw,"la"),c(wi,"tt"),c(jw,"ca"),c(Hw,"pa"),c(ns,"rt"),c(ra,"be"),c(Br,"z"),c(iu,"Lt"),c(lu,"Ft"),c(Kg,"ha"),Hf=Kg,O6=new Set(["if","else if","for","switch","case"]),c(Yg,"fa"),H2=Yg,Zn=null,c(na,"st"),V2=10;for(let e=0;e<=V2;e++)na();c(Vw,"vr"),c(Zg,"ga"),U2=Zg,q2={"front-matter":[],root:["children"],element:["attrs","children"],ieConditionalComment:["children"],ieConditionalStartComment:[],ieConditionalEndComment:[],interpolation:["children"],text:["children"],docType:[],comment:[],attribute:[],cdata:[],angularControlFlowBlock:["children","parameters"],angularControlFlowBlockParameters:["children"],angularControlFlowBlockParameter:[],angularLetDeclaration:["init"],angularLetDeclarationInitializer:[],angularIcuExpression:["cases"],angularIcuCase:["expression"]},W2=q2,G2=U2(W2),K2=G2,c(Uw,"os"),c(Jg,"us"),L6=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"])]]),c(Bf,"cs"),c(Yn,"it"),c(Co,"Pt"),c(su,"He"),c(qw,"ps"),c(zf,"hs"),c(Ww,"_a"),c(Gw,"ms"),c(Kw,"fs"),c(Yw,"ds"),c(Zw,"gs"),c($o,"at"),c(as,"It"),c(Po,"ot"),c(Jw,"Cs"),c(Ki,"Rt"),c(kc,"yr"),c(Yi,"$t"),M6=/-+([a-z0-9])/g,c(Xg,"_s"),ds=(Zi=class{constructor(e,t,r,n){this.file=e,this.offset=t,this.line=r,this.col=n}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(e){let t=this.file.content,r=t.length,n=this.offset,a=this.line,o=this.col;for(;n>0&&e<0;)if(n--,e++,t.charCodeAt(n)==10){a--;let i=t.substring(0,n-1).lastIndexOf(` +`);o=i>0?n-i:n}else o--;for(;n0;){let i=t.charCodeAt(n);n++,e--,i==10?(a++,o=0):o++}return new Zi(this.file,n,a,o)}getContext(e,t){let r=this.file.content,n=this.offset;if(n!=null){n>r.length-1&&(n=r.length-1);let a=n,o=0,i=0;for(;o0&&(n--,o++,!(r[n]==` +`&&++i==t)););for(o=0,i=0;o]${e.after}")`:this.msg}toString(){let e=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}},c(Kc,"Ue"),Kc),$6=[e2,t2,r2,a2,o2,s2,i2,l2,u2,n2],c(Qg,"Da"),c(e2,"va"),c(t2,"ya"),c(Xw,"wa"),c(r2,"ba"),c(n2,"Ta"),c(a2,"xa"),c(o2,"ka"),c(i2,"Ba"),c(l2,"La"),c(s2,"Fa"),c(u2,"Na"),Y2=Qg,c(c2,"Pa"),Z2={preprocess:Y2,print:c2,insertPragma:Jg,massageAstNode:N2,embed:H2,getVisitorKeys:K2},J2=Z2,X2=[{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"]}],Zc={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."}},Jc="HTML",Q2={bracketSameLine:Zc.bracketSameLine,htmlWhitespaceSensitivity:{category:Jc,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:Zc.singleAttributePerLine,vueIndentScriptAndStyle:{category:Jc,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},e5=Q2,Xc={},$c(Xc,{angular:c(()=>F5,"angular"),html:c(()=>_5,"html"),lwc:c(()=>T5,"lwc"),vue:c(()=>I5,"vue")}),function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(t5||(t5={})),function(e){e[e.OnPush=0]="OnPush",e[e.Default=1]="Default"}(r5||(r5={})),function(e){e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform"}(n5||(n5={})),Qc={name:"custom-elements"},e0={name:"no-errors-schema"},function(e){e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL"}(on||(on={})),function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore"}(a5||(a5={})),function(e){e[e.RAW_TEXT=0]="RAW_TEXT",e[e.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",e[e.PARSABLE_DATA=2]="PARSABLE_DATA"}(ft||(ft={})),c(Go,"ut"),c(_c,"xr"),c(Fc,"kr"),c(Do,"We"),c(no,"ze"),c(Ic,"Br"),c(So,"Mt"),o5=(t0=class{},c(t0,"Ht"),t0),i5="boolean",l5="number",s5="string",u5="object",c5=["[Element]|textContent,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColSpan,%ariaCurrent,%ariaDescription,%ariaDisabled,%ariaExpanded,%ariaHasPopup,%ariaHidden,%ariaKeyShortcuts,%ariaLabel,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored","[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,!inert,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcaption,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume",":svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":svg:graphics^:svg:|",":svg:animation^:svg:|*begin,*end,*repeat",":svg:geometry^:svg:|",":svg:componentTransferFunction^:svg:|",":svg:gradient^:svg:|",":svg:textContent^:svg:graphics|",":svg:textPositioning^:svg:textContent|","a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,rev,search,shape,target,text,type,username","area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username","audio^media|","br^[HTMLElement]|clear","base^[HTMLElement]|href,target","body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink","button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value","canvas^[HTMLElement]|#height,#width","content^[HTMLElement]|select","dl^[HTMLElement]|!compact","data^[HTMLElement]|value","datalist^[HTMLElement]|","details^[HTMLElement]|!open","dialog^[HTMLElement]|!open,returnValue","dir^[HTMLElement]|!compact","div^[HTMLElement]|align","embed^[HTMLElement]|align,height,name,src,type,width","fieldset^[HTMLElement]|!disabled,name","font^[HTMLElement]|color,face,size","form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target","frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src","frameset^[HTMLElement]|cols,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows","hr^[HTMLElement]|align,color,!noShade,size,width","head^[HTMLElement]|","h1,h2,h3,h4,h5,h6^[HTMLElement]|align","html^[HTMLElement]|version","iframe^[HTMLElement]|align,allow,!allowFullscreen,!allowPaymentRequest,csp,frameBorder,height,loading,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width","img^[HTMLElement]|align,alt,border,%crossOrigin,decoding,#height,#hspace,!isMap,loading,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width","input^[HTMLElement]|accept,align,alt,autocomplete,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width","li^[HTMLElement]|type,#value","label^[HTMLElement]|htmlFor","legend^[HTMLElement]|align","link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,imageSizes,imageSrcset,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type","map^[HTMLElement]|name","marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width","menu^[HTMLElement]|!compact","meta^[HTMLElement]|content,httpEquiv,media,name,scheme","meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value","ins,del^[HTMLElement]|cite,dateTime","ol^[HTMLElement]|!compact,!reversed,#start,type","object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width","optgroup^[HTMLElement]|!disabled,label","option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value","output^[HTMLElement]|defaultValue,%htmlFor,name,value","p^[HTMLElement]|align","param^[HTMLElement]|name,type,value,valueType","picture^[HTMLElement]|","pre^[HTMLElement]|#width","progress^[HTMLElement]|#max,#value","q,blockquote,cite^[HTMLElement]|","script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,!noModule,%referrerPolicy,src,text,type","select^[HTMLElement]|autocomplete,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value","slot^[HTMLElement]|name","source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width","span^[HTMLElement]|","style^[HTMLElement]|!disabled,media,type","caption^[HTMLElement]|align","th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width","col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width","table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width","tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign","tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign","template^[HTMLElement]|","textarea^[HTMLElement]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap","time^[HTMLElement]|dateTime","title^[HTMLElement]|text","track^[HTMLElement]|!default,kind,label,src,srclang","ul^[HTMLElement]|!compact,type","unknown^[HTMLElement]|","video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,poster,#width",":svg:a^:svg:graphics|",":svg:animate^:svg:animation|",":svg:animateMotion^:svg:animation|",":svg:animateTransform^:svg:animation|",":svg:circle^:svg:geometry|",":svg:clipPath^:svg:graphics|",":svg:defs^:svg:graphics|",":svg:desc^:svg:|",":svg:discard^:svg:|",":svg:ellipse^:svg:geometry|",":svg:feBlend^:svg:|",":svg:feColorMatrix^:svg:|",":svg:feComponentTransfer^:svg:|",":svg:feComposite^:svg:|",":svg:feConvolveMatrix^:svg:|",":svg:feDiffuseLighting^:svg:|",":svg:feDisplacementMap^:svg:|",":svg:feDistantLight^:svg:|",":svg:feDropShadow^:svg:|",":svg:feFlood^:svg:|",":svg:feFuncA^:svg:componentTransferFunction|",":svg:feFuncB^:svg:componentTransferFunction|",":svg:feFuncG^:svg:componentTransferFunction|",":svg:feFuncR^:svg:componentTransferFunction|",":svg:feGaussianBlur^:svg:|",":svg:feImage^:svg:|",":svg:feMerge^:svg:|",":svg:feMergeNode^:svg:|",":svg:feMorphology^:svg:|",":svg:feOffset^:svg:|",":svg:fePointLight^:svg:|",":svg:feSpecularLighting^:svg:|",":svg:feSpotLight^:svg:|",":svg:feTile^:svg:|",":svg:feTurbulence^:svg:|",":svg:filter^:svg:|",":svg:foreignObject^:svg:graphics|",":svg:g^:svg:graphics|",":svg:image^:svg:graphics|decoding",":svg:line^:svg:geometry|",":svg:linearGradient^:svg:gradient|",":svg:mpath^:svg:|",":svg:marker^:svg:|",":svg:mask^:svg:|",":svg:metadata^:svg:|",":svg:path^:svg:geometry|",":svg:pattern^:svg:|",":svg:polygon^:svg:geometry|",":svg:polyline^:svg:geometry|",":svg:radialGradient^:svg:gradient|",":svg:rect^:svg:geometry|",":svg:svg^:svg:graphics|#currentScale,#zoomAndPan",":svg:script^:svg:|type",":svg:set^:svg:animation|",":svg:stop^:svg:|",":svg:style^:svg:|!disabled,media,title,type",":svg:switch^:svg:graphics|",":svg:symbol^:svg:|",":svg:tspan^:svg:textPositioning|",":svg:text^:svg:textPositioning|",":svg:textPath^:svg:textContent|",":svg:title^:svg:|",":svg:use^:svg:graphics|",":svg:view^:svg:|#zoomAndPan","data^[HTMLElement]|value","keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name","menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default","summary^[HTMLElement]|","time^[HTMLElement]|dateTime",":svg:cursor^:svg:|",":math:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforeinput,*beforematch,*beforetoggle,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contentvisibilityautostatechange,*contextlost,*contextmenu,*contextrestored,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*scrollend,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":math:math^:math:|",":math:maction^:math:|",":math:menclose^:math:|",":math:merror^:math:|",":math:mfenced^:math:|",":math:mfrac^:math:|",":math:mi^:math:|",":math:mmultiscripts^:math:|",":math:mn^:math:|",":math:mo^:math:|",":math:mover^:math:|",":math:mpadded^:math:|",":math:mphantom^:math:|",":math:mroot^:math:|",":math:mrow^:math:|",":math:ms^:math:|",":math:mspace^:math:|",":math:msqrt^:math:|",":math:mstyle^:math:|",":math:msub^:math:|",":math:msubsup^:math:|",":math:msup^:math:|",":math:mtable^:math:|",":math:mtd^:math:|",":math:mtext^:math:|",":math:mtr^:math:|",":math:munder^:math:|",":math:munderover^:math:|",":math:semantics^:math:|"],r0=new Map(Object.entries({class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"})),d5=Array.from(r0).reduce((e,[t,r])=>(e.set(t,r),e),new Map),P6=(n0=class extends o5{constructor(){super(),this._schema=new Map,this._eventSchema=new Map,c5.forEach(e=>{let t=new Map,r=new Set,[n,a]=e.split("|"),o=a.split(","),[i,s]=n.split("^");i.split(",").forEach(d=>{this._schema.set(d.toLowerCase(),t),this._eventSchema.set(d.toLowerCase(),r)});let u=s&&this._schema.get(s.toLowerCase());if(u){for(let[d,f]of u)t.set(d,f);for(let d of this._eventSchema.get(s.toLowerCase()))r.add(d)}o.forEach(d=>{if(d.length>0)switch(d[0]){case"*":r.add(d.substring(1));break;case"!":t.set(d.substring(1),i5);break;case"#":t.set(d.substring(1),l5);break;case"%":t.set(d.substring(1),u5);break;default:t.set(d,s5)}})})}hasProperty(e,t,r){if(r.some(n=>n.name===e0.name))return!0;if(e.indexOf("-")>-1){if(_c(e)||Fc(e))return!1;if(r.some(n=>n.name===Qc.name))return!0}return(this._schema.get(e.toLowerCase())||this._schema.get("unknown")).has(t)}hasElement(e,t){return t.some(r=>r.name===e0.name)||e.indexOf("-")>-1&&(_c(e)||Fc(e)||t.some(r=>r.name===Qc.name))?!0:this._schema.has(e.toLowerCase())}securityContext(e,t,r){r&&(t=this.getMappedPropName(t)),e=e.toLowerCase(),t=t.toLowerCase();let n=Ic()[e+"|"+t];return n||(n=Ic()["*|"+t],n||on.NONE)}getMappedPropName(e){return r0.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=>d5.get(r)??r)}allKnownEventsOfElement(e){return Array.from(this._eventSchema.get(e.toLowerCase())??[])}normalizeAnimationStyleProperty(e){return Xg(e)}normalizeAnimationStyleValue(e,t,r){let n="",a=r.toString().trim(),o=null;if(d2(e)&&r!==0&&r!=="0")if(typeof r=="number")n="px";else{let i=r.match(/^[+-]?[\d\.]+([a-z]*)$/);i&&i[1].length==0&&(o=`Please provide a CSS unit value for ${t}:${r}`)}return{error:o,value:a+n}}},c(n0,"Vt"),n0),c(d2,"Ua"),G=(a0=class{constructor({closedByChildren:e,implicitNamespacePrefix:t,contentType:r=ft.PARSABLE_DATA,closedByParent:n=!1,isVoid:a=!1,ignoreFirstLf:o=!1,preventNamespaceInheritance:i=!1,canSelfClose:s=!1}={}){this.closedByChildren={},this.closedByParent=!1,e&&e.length>0&&e.forEach(u=>this.closedByChildren[u]=!0),this.isVoid=a,this.closedByParent=n||a,this.implicitNamespacePrefix=t||null,this.contentType=r,this.ignoreFirstLf=o,this.preventNamespaceInheritance=i,this.canSelfClose=s??a}isClosedByChild(e){return this.isVoid||e.toLowerCase()in this.closedByChildren}getContentType(e){return typeof this.contentType=="object"?(e===void 0?void 0:this.contentType[e])??this.contentType.default:this.contentType}},c(a0,"m"),a0),c(os,"Ge"),Yr=(o0=class{constructor(e,t){this.sourceSpan=e,this.i18n=t}},c(o0,"oe"),o0),f5=(i0=class extends Yr{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)}},c(i0,"Ut"),i0),h5=(l0=class extends Yr{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)}},c(l0,"Wt"),l0),m5=(s0=class extends Yr{constructor(e,t,r,n,a,o){super(n,o),this.switchValue=e,this.type=t,this.cases=r,this.switchValueSourceSpan=a}visit(e,t){return e.visitExpansion(this,t)}},c(s0,"zt"),s0),g5=(u0=class{constructor(e,t,r,n,a){this.value=e,this.expression=t,this.sourceSpan=r,this.valueSourceSpan=n,this.expSourceSpan=a,this.type="expansionCase"}visit(e,t){return e.visitExpansionCase(this,t)}},c(u0,"Gt"),u0),v5=(c0=class extends Yr{constructor(e,t,r,n,a,o,i){super(r,i),this.name=e,this.value=t,this.keySpan=n,this.valueSpan=a,this.valueTokens=o,this.type="attribute"}visit(e,t){return e.visitAttribute(this,t)}get nameSpan(){return this.keySpan}},c(c0,"Yt"),c0),rr=(d0=class extends Yr{constructor(e,t,r,n,a,o=null,i=null,s){super(n,s),this.name=e,this.attrs=t,this.children=r,this.startSourceSpan=a,this.endSourceSpan=o,this.nameSpan=i,this.type="element"}visit(e,t){return e.visitElement(this,t)}},c(d0,"G"),d0),y5=(p0=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="comment"}visit(e,t){return e.visitComment(this,t)}},c(p0,"jt"),p0),b5=(f0=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="docType"}visit(e,t){return e.visitDocType(this,t)}},c(f0,"Kt"),f0),Zr=(h0=class extends Yr{constructor(e,t,r,n,a,o,i=null,s){super(n,s),this.name=e,this.parameters=t,this.children=r,this.nameSpan=a,this.startSourceSpan=o,this.endSourceSpan=i,this.type="block"}visit(e,t){return e.visitBlock(this,t)}},c(h0,"Z"),h0),g0=(m0=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)}},c(m0,"ct"),m0),y0=(v0=class{constructor(e,t,r,n,a){this.name=e,this.value=t,this.sourceSpan=r,this.nameSpan=n,this.valueSpan=a,this.type="letDeclaration",this.startSourceSpan=null,this.endSourceSpan=null}visit(e,t){return e.visitLetDeclaration(this,t)}},c(v0,"pt"),v0),c(Jd,"Qt"),N6=(b0=class{constructor(){}visitElement(e,t){this.visitChildren(t,r=>{r(e.attrs),r(e.children)})}visitAttribute(e,t){}visitText(e,t){}visitCdata(e,t){}visitComment(e,t){}visitDocType(e,t){}visitExpansion(e,t){return this.visitChildren(t,r=>{r(e.cases)})}visitExpansionCase(e,t){}visitBlock(e,t){this.visitChildren(t,r=>{r(e.parameters),r(e.children)})}visitBlockParameter(e,t){}visitLetDeclaration(e,t){}visitChildren(e,t){let r=[],n=this;function a(o){o&&r.push(Jd(n,o,e))}return c(a,"i"),t(a),Array.prototype.concat.apply([],r)}},c(b0,"ht"),b0),jo={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:"‌"},w5="",jo.ngsp=w5,j6=[/@/,/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//],c(p2,"Ls"),E5=(Xi=class{static fromArray(e){return e?(p2("interpolation",e),new Xi(e[0],e[1])):w0}constructor(e,t){this.start=e,this.end=t}},c(Xi,"t"),Xi),w0=new E5("{{","}}"),Qi=(E0=class extends Yc{constructor(e,t,r){super(r,e),this.tokenType=t}},c(E0,"ft"),E0),H6=(x0=class{constructor(e,t,r){this.tokens=e,this.errors=t,this.nonNormalizedIcuExpressions=r}},c(x0,"$r"),x0),c(f2,"Ws"),x5=/\r\n?/g,c(Kr,"je"),c(Tc,"Rs"),c(h2,"ho"),function(e){e.HEX="hexadecimal",e.DEC="decimal"}(el||(el={})),tl=(C0=class{constructor(e){this.error=e}},c(C0,"dt"),C0),V6=(D0=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||w0,this._leadingTriviaCodePoints=r.leadingTriviaChars&&r.leadingTriviaChars.map(a=>a.codePointAt(0)||0),this._canSelfClose=r.canSelfClose||!1,this._allowHtmComponentClosingTags=r.allowHtmComponentClosingTags||!1;let n=r.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=r.escapedString?new C5(e,n):new S0(e,n),this._preserveLineEndings=r.preserveLineEndings||!1,this._i18nNormalizeLineEndingsInICUs=r.i18nNormalizeLineEndingsInICUs||!1,this._tokenizeBlocks=r.tokenizeBlocks??!0,this._tokenizeLet=r.tokenizeLet??!0;try{this._cursor.init()}catch(a){this.handleError(a)}}_processCarriageReturns(e){return this._preserveLineEndings?e:e.replace(x5,` +`)}tokenize(){for(;this._cursor.peek()!==0;){let e=this._cursor.clone();try{if(this._attemptCharCode(60))if(this._attemptCharCode(33))this._attemptStr("[CDATA[")?this._consumeCdata(e):this._attemptStr("--")?this._consumeComment(e):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(e):this._consumeBogusComment(e);else if(this._attemptCharCode(47))this._consumeTagClose(e);else{let t=this._cursor.clone();this._attemptCharCode(63)?(this._cursor=t,this._consumeBogusComment(e)):this._consumeTagOpen(e)}else this._tokenizeLet&&this._cursor.peek()===64&&!this._inInterpolation&&this._attemptStr("@let")?this._consumeLetDeclaration(e):this._tokenizeBlocks&&this._attemptCharCode(64)?this._consumeBlockStart(e):this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansionCase()&&!this._isInExpansionForm()&&this._attemptCharCode(125)?this._consumeBlockEnd(e):this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeWithInterpolation(5,8,()=>this._isTextEnd(),()=>this._isTagStart())}catch(t){this.handleError(t)}}this._beginToken(34),this._endToken([])}_getBlockName(){let e=!1,t=this._cursor.clone();return this._attemptCharCodeUntilFn(r=>$o(r)?!e:Bc(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(pe),this._attemptCharCode(41))this._attemptCharCodeUntilFn(pe);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(zc);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&&Yi(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(zc)}}_consumeLetDeclaration(e){if(this._beginToken(30,e),$o(this._cursor.peek()))this._attemptCharCodeUntilFn(pe);else{let r=this._endToken([this._cursor.getChars(e)]);r.type=33;return}let t=this._endToken([this._getLetDeclarationName()]);if(this._attemptCharCodeUntilFn(pe),!this._attemptCharCode(61)){t.type=33;return}this._attemptCharCodeUntilFn(r=>pe(r)&&!Ki(r)),this._consumeLetDeclarationValue(),this._cursor.peek()===59?(this._beginToken(32),this._endToken([]),this._cursor.advance()):(t.type=33,t.sourceSpan=this._cursor.getSpan(e))}_getLetDeclarationName(){let e=this._cursor.clone(),t=!1;return this._attemptCharCodeUntilFn(r=>Po(r)||r==36||r===95||t&&as(r)?(t=!0,!1):!0),this._cursor.getChars(e).trim()}_consumeLetDeclarationValue(){let e=this._cursor.clone();for(this._beginToken(31,e);this._cursor.peek()!==0;){let t=this._cursor.peek();if(t===59)break;Yi(t)&&(this._cursor.advance(),this._attemptCharCodeUntilFn(r=>r===92?(this._cursor.advance(),!1):r===t)),this._cursor.advance()}this._endToken([this._cursor.getChars(e)])}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(y2(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 Qi("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 Qi("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 Qi(e,this._currentTokenType,t);return this._currentTokenStart=null,this._currentTokenType=null,new tl(r)}handleError(e){if(e instanceof rl&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),e instanceof tl)this.errors.push(e.error);else throw e}_attemptCharCode(e){return this._cursor.peek()===e?(this._cursor.advance(),!0):!1}_attemptCharCodeCaseInsensitive(e){return b2(this._cursor.peek(),e)?(this._cursor.advance(),!0):!1}_requireCharCode(e){let t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(Kr(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&&!m2(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(Rc,t===""?0:1);let n=this._cursor.getChars(r);return[t,n]}_consumeTagOpen(e){let t,r,n,a=[];try{if(!Po(this._cursor.peek()))throw this._createError(Kr(this._cursor.peek()),this._cursor.getSpan(e));for(n=this._consumeTagOpenStart(e),r=n.parts[0],t=n.parts[1],this._attemptCharCodeUntilFn(pe);this._cursor.peek()!==47&&this._cursor.peek()!==62&&this._cursor.peek()!==60&&this._cursor.peek()!==0;){let[i,s]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(pe),this._attemptCharCode(61)){this._attemptCharCodeUntilFn(pe);let u=this._consumeAttributeValue();a.push({prefix:i,name:s,value:u})}else a.push({prefix:i,name:s});this._attemptCharCodeUntilFn(pe)}this._consumeTagOpenEnd()}catch(i){if(i instanceof tl){n?n.type=4:(this._beginToken(5,e),this._endToken(["<"]));return}throw i}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===2)return;let o=this._getTagContentType(t,r,this._fullNameStack.length>0,a);this._handleFullNameStackForTagOpen(r,t),o===ft.RAW_TEXT?this._consumeRawTextWithTagClose(r,t,!1):o===ft.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(r,t,!0)}_consumeRawTextWithTagClose(e,t,r){this._consumeRawText(r,()=>!this._attemptCharCode(60)||!this._attemptCharCode(47)||(this._attemptCharCodeUntilFn(pe),!this._attemptStrCaseInsensitive(e?`${e}:${t}`:t))?!1:(this._attemptCharCodeUntilFn(pe),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(Kr(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=c(()=>this._cursor.peek()===t,"n");e=this._consumeWithInterpolation(16,17,r,r),this._consumeQuote(t)}else{let t=c(()=>Rc(this._cursor.peek()),"r");e=this._consumeWithInterpolation(16,17,t,t)}return e}_consumeQuote(e){this._beginToken(15),this._requireCharCode(e),this._endToken([String.fromCodePoint(e)])}_consumeTagOpenEnd(){let e=this._attemptCharCode(47)?2:1;this._beginToken(e),this._requireCharCode(62),this._endToken([])}_consumeTagClose(e){if(this._beginToken(3,e),this._attemptCharCodeUntilFn(pe),this._allowHtmComponentClosingTags&&this._attemptCharCode(47))this._attemptCharCodeUntilFn(pe),this._requireCharCode(62),this._endToken([]);else{let[t,r]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(pe),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(pe),this._beginToken(7);let r=this._readUntil(44);this._endToken([r]),this._requireCharCode(44),this._attemptCharCodeUntilFn(pe)}_consumeExpansionCaseStart(){this._beginToken(21);let e=this._readUntil(123).trim();this._endToken([e]),this._attemptCharCodeUntilFn(pe),this._beginToken(22),this._requireCharCode(123),this._endToken([]),this._attemptCharCodeUntilFn(pe),this._expansionCaseStack.push(22)}_consumeExpansionCaseEnd(){this._beginToken(23),this._requireCharCode(125),this._endToken([]),this._attemptCharCodeUntilFn(pe),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(24),this._requireCharCode(125),this._endToken([]),this._expansionCaseStack.pop()}_consumeWithInterpolation(e,t,r,n){this._beginToken(e);let a=[];for(;!r();){let i=this._cursor.clone();this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(this._endToken([this._processCarriageReturns(a.join(""))],i),a.length=0,this._consumeInterpolation(t,i,n),this._beginToken(e)):this._cursor.peek()===38?(this._endToken([this._processCarriageReturns(a.join(""))]),a.length=0,this._consumeEntity(e),this._beginToken(e)):a.push(this._readChar())}this._inInterpolation=!1;let o=this._processCarriageReturns(a.join(""));return this._endToken([o]),o}_consumeInterpolation(e,t,r){let n=[];this._beginToken(e,t),n.push(this._interpolationConfig.start);let a=this._cursor.clone(),o=null,i=!1;for(;this._cursor.peek()!==0&&(r===null||!r());){let s=this._cursor.clone();if(this._isTagStart()){this._cursor=s,n.push(this._getProcessedChars(a,s)),this._endToken(n);return}if(o===null)if(this._attemptStr(this._interpolationConfig.end)){n.push(this._getProcessedChars(a,s)),n.push(this._interpolationConfig.end),this._endToken(n);return}else this._attemptStr("//")&&(i=!0);let u=this._cursor.peek();this._cursor.advance(),u===92?this._cursor.advance():u===o?o=null:!i&&o===null&&Yi(u)&&(o=u)}n.push(this._getProcessedChars(a,this._cursor)),this._endToken(n)}_getProcessedChars(e,t){return this._processCarriageReturns(t.getChars(e))}_isTextEnd(){return!!(this._isTagStart()||this._cursor.peek()===0||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===125&&this._isInExpansionCase())||this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansion()&&(this._isBlockStart()||this._cursor.peek()===64||this._cursor.peek()===125))}_isTagStart(){if(this._cursor.peek()===60){let e=this._cursor.clone();e.advance();let t=e.peek();if(97<=t&&t<=122||65<=t&&t<=90||t===47||t===33)return!0}return!1}_isBlockStart(){if(this._tokenizeBlocks&&this._cursor.peek()===64){let e=this._cursor.clone();if(e.advance(),Bc(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=no(e,t);(this._fullNameStack.length===0||this._fullNameStack[this._fullNameStack.length-1]===r)&&this._fullNameStack.push(r)}_handleFullNameStackForTagClose(e,t){let r=no(e,t);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]===r&&this._fullNameStack.pop()}},c(D0,"Or"),D0),c(pe,"b"),c(Rc,"$s"),c(m2,"mo"),c(g2,"fo"),c(v2,"go"),c(y2,"Co"),c(b2,"So"),c(Xd,"Os"),c(Bc,"Ms"),c(zc,"qs"),c(Qw,"_o"),S0=(io=class{constructor(e,t){if(e instanceof io){this.file=e.file,this.input=e.input,this.end=e.end;let r=e.state;this.state={peek:r.peek,offset:r.offset,line:r.line,column:r.column}}else{if(!t)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=e,this.input=e.content,this.end=t.endPos,this.state={peek:-1,offset:t.startPos,line:t.startLine,column:t.startCol}}}clone(){return new io(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(e){return this.state.offset-e.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(e,t){e=e||this;let r=e;if(t)for(;this.diff(e)>0&&t.indexOf(e.peek())!==-1;)r===e&&(e=e.clone()),e.advance();let n=this.locationFromCursor(e),a=this.locationFromCursor(this),o=r!==e?this.locationFromCursor(r):n;return new Y(n,a,o)}getChars(e){return this.input.substring(e.state.offset,this.state.offset)}charAt(e){return this.input.charCodeAt(e)}advanceState(e){if(e.offset>=this.end)throw this.state=e,new rl('Unexpected character "EOF"',this);let t=this.charAt(e.offset);t===10?(e.line++,e.column=0):Ki(t)||e.column++,e.offset++,this.updatePeek(e)}updatePeek(e){e.peek=e.offset>=this.end?0:this.charAt(e.offset)}locationFromCursor(e){return new ds(e.file,e.state.offset,e.state.line,e.state.column)}},c(io,"t"),io),C5=(lo=class extends S0{constructor(e,t){e instanceof lo?(super(e),this.internalState={...e.internalState}):(super(e,t),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new lo(this)}getChars(e){let t=e.clone(),r="";for(;t.internalState.offsetthis.internalState.peek,"e");if(e()===92)if(this.internalState={...this.state},this.advanceState(this.internalState),e()===110)this.state.peek=10;else if(e()===114)this.state.peek=13;else if(e()===118)this.state.peek=11;else if(e()===116)this.state.peek=9;else if(e()===98)this.state.peek=8;else if(e()===102)this.state.peek=12;else if(e()===117)if(this.advanceState(this.internalState),e()===123){this.advanceState(this.internalState);let t=this.clone(),r=0;for(;e()!==125;)this.advanceState(this.internalState),r++;this.state.peek=this.decodeHexDigits(t,r)}else{let t=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(t,4)}else if(e()===120){this.advanceState(this.internalState);let t=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(t,2)}else if(kc(e())){let t="",r=0,n=this.clone();for(;kc(e())&&r<3;)n=this.clone(),t+=String.fromCodePoint(e()),this.advanceState(this.internalState),r++;this.state.peek=parseInt(t,8),this.internalState=n.internalState}else Ki(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(e,t){let r=this.input.slice(e.internalState.offset,e.internalState.offset+t),n=parseInt(r,16);if(isNaN(n))throw e.state=e.internalState,new rl("Invalid hexadecimal escape sequence",e);return n}},c(lo,"t"),lo),rl=(A0=class{constructor(e,t){this.msg=e,this.cursor=t}},c(A0,"gt"),A0),Fe=(nl=class extends Yc{static create(e,t,r){return new nl(e,t,r)}constructor(e,t,r){super(t,r),this.elementName=e}},c(nl,"t"),nl),D5=(k0=class{constructor(e,t){this.rootNodes=e,this.errors=t}},c(k0,"Vr"),k0),S5=(_0=class{constructor(e){this.getTagDefinition=e}parse(e,t,r,n=!1,a){let o=c(m=>(g,...v)=>m(g.toLowerCase(),...v),"a"),i=n?this.getTagDefinition:o(this.getTagDefinition),s=c(m=>i(m).getContentType(),"u"),u=n?a:o(a),d=f2(e,t,a?(m,g,v,b)=>{let x=u(m,g,v,b);return x!==void 0?x:s(m)}:s,r),f=r&&r.canSelfClose||!1,h=r&&r.allowHtmComponentClosingTags||!1,p=new A5(d.tokens,i,f,h,n);return p.build(),new D5(p.rootNodes,d.errors.concat(p.errors))}},c(_0,"nr"),_0),A5=(al=class{constructor(e,t,r,n,a){this.tokens=e,this.getTagDefinition=t,this.canSelfClose=r,this.allowHtmComponentClosingTags=n,this.isTagNameCaseSensitive=a,this._index=-1,this._containerStack=[],this.rootNodes=[],this.errors=[],this._advance()}build(){for(;this._peek.type!==34;)this._peek.type===0||this._peek.type===4?this._consumeStartTag(this._advance()):this._peek.type===3?(this._closeVoidElement(),this._consumeEndTag(this._advance())):this._peek.type===12?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===10?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===5||this._peek.type===7||this._peek.type===6?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===20?this._consumeExpansion(this._advance()):this._peek.type===25?(this._closeVoidElement(),this._consumeBlockOpen(this._advance())):this._peek.type===27?(this._closeVoidElement(),this._consumeBlockClose(this._advance())):this._peek.type===29?(this._closeVoidElement(),this._consumeIncompleteBlock(this._advance())):this._peek.type===30?(this._closeVoidElement(),this._consumeLet(this._advance())):this._peek.type===18?this._consumeDocType(this._advance()):this._peek.type===33?(this._closeVoidElement(),this._consumeIncompleteLet(this._advance())):this._advance();for(let e of this._containerStack)e instanceof Zr&&this.errors.push(Fe.create(e.name,e.sourceSpan,`Unclosed block "${e.name}"`))}_advance(){let e=this._peek;return this._index0)return this.errors=this.errors.concat(a.errors),null;let o=new Y(e.sourceSpan.start,n.sourceSpan.end,e.sourceSpan.fullStart),i=new Y(t.sourceSpan.start,n.sourceSpan.end,t.sourceSpan.fullStart);return new g5(e.parts[0],a.rootNodes,o,e.sourceSpan,i)}_collectExpansionExpTokens(e){let t=[],r=[22];for(;;){if((this._peek.type===20||this._peek.type===22)&&r.push(this._peek.type),this._peek.type===23)if(Oc(r,22)){if(r.pop(),r.length===0)return t}else return this.errors.push(Fe.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===24)if(Oc(r,20))r.pop();else return this.errors.push(Fe.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===34)return this.errors.push(Fe.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;t.push(this._advance())}}_getText(e){let t=e.parts[0];if(t.length>0&&t[0]==` +`){let r=this._getClosestParentElement();r!=null&&r.children.length==0&&this.getTagDefinition(r.name).ignoreFirstLf&&(t=t.substring(1))}return t}_consumeText(e){let t=[e],r=e.sourceSpan,n=e.parts[0];if(n.length>0&&n[0]===` +`){let a=this._getContainer();a!=null&&a.children.length===0&&this.getTagDefinition(a.name).ignoreFirstLf&&(n=n.substring(1),t[0]={type:e.type,sourceSpan:e.sourceSpan,parts:[n]})}for(;this._peek.type===8||this._peek.type===5||this._peek.type===9;)e=this._advance(),t.push(e),e.type===8?n+=e.parts.join("").replace(/&([^;]+);/g,Lc):e.type===9?n+=e.parts[0]:n+=e.parts.join("");if(n.length>0){let a=e.sourceSpan;this._addToParent(new f5(n,new Y(r.start,a.end,r.fullStart,r.details),t))}}_closeVoidElement(){let e=this._getContainer();e instanceof rr&&this.getTagDefinition(e.name).isVoid&&this._containerStack.pop()}_consumeStartTag(e){let[t,r]=e.parts,n=[];for(;this._peek.type===14;)n.push(this._consumeAttr(this._advance()));let a=this._getElementFullName(t,r,this._getClosestParentElement()),o=!1;if(this._peek.type===2){this._advance(),o=!0;let p=this.getTagDefinition(a);this.canSelfClose||p.canSelfClose||Do(a)!==null||p.isVoid||this.errors.push(Fe.create(a,e.sourceSpan,`Only void, custom and foreign elements can be self closed "${e.parts[1]}"`))}else this._peek.type===1&&(this._advance(),o=!1);let i=this._peek.sourceSpan.fullStart,s=new Y(e.sourceSpan.start,i,e.sourceSpan.fullStart),u=new Y(e.sourceSpan.start,i,e.sourceSpan.fullStart),d=new Y(e.sourceSpan.start.moveBy(1),e.sourceSpan.end),f=new rr(a,n,[],s,u,void 0,d),h=this._getContainer();this._pushContainer(f,h instanceof rr&&this.getTagDefinition(h.name).isClosedByChild(f.name)),o?this._popContainer(a,rr,s):e.type===4&&(this._popContainer(a,rr,null),this.errors.push(Fe.create(a,s,`Opening tag "${a}" not terminated.`)))}_pushContainer(e,t){t&&this._containerStack.pop(),this._addToParent(e),this._containerStack.push(e)}_consumeEndTag(e){let t=this.allowHtmComponentClosingTags&&e.parts.length===0?null:this._getElementFullName(e.parts[0],e.parts[1],this._getClosestParentElement());if(t&&this.getTagDefinition(t).isVoid)this.errors.push(Fe.create(t,e.sourceSpan,`Void elements do not have end tags "${e.parts[1]}"`));else if(!this._popContainer(t,rr,e.sourceSpan)){let r=`Unexpected closing tag "${t}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;this.errors.push(Fe.create(t,e.sourceSpan,r))}}_popContainer(e,t,r){let n=!1;for(let a=this._containerStack.length-1;a>=0;a--){let o=this._containerStack[a];if(Do(o.name)?o.name===e:(e==null||o.name.toLowerCase()===e.toLowerCase())&&o instanceof t)return o.endSourceSpan=r,o.sourceSpan.end=r!==null?r.end:o.sourceSpan.end,this._containerStack.splice(a,this._containerStack.length-a),!n;(o instanceof Zr||o instanceof rr&&!this.getTagDefinition(o.name).closedByParent)&&(n=!0)}return!1}_consumeAttr(e){let t=no(e.parts[0],e.parts[1]),r=e.sourceSpan.end,n;this._peek.type===15&&(n=this._advance());let a="",o=[],i,s;if(this._peek.type===16)for(i=this._peek.sourceSpan,s=this._peek.sourceSpan.end;this._peek.type===16||this._peek.type===17||this._peek.type===9;){let d=this._advance();o.push(d),d.type===17?a+=d.parts.join("").replace(/&([^;]+);/g,Lc):d.type===9?a+=d.parts[0]:a+=d.parts.join(""),s=r=d.sourceSpan.end}this._peek.type===15&&(s=r=this._advance().sourceSpan.end);let u=i&&s&&new Y((n==null?void 0:n.sourceSpan.start)??i.start,s,(n==null?void 0:n.sourceSpan.fullStart)??i.fullStart);return new v5(t,a,new Y(e.sourceSpan.start,r,e.sourceSpan.fullStart),e.sourceSpan,u,o.length>0?o:void 0,void 0)}_consumeBlockOpen(e){let t=[];for(;this._peek.type===28;){let i=this._advance();t.push(new g0(i.parts[0],i.sourceSpan))}this._peek.type===26&&this._advance();let r=this._peek.sourceSpan.fullStart,n=new Y(e.sourceSpan.start,r,e.sourceSpan.fullStart),a=new Y(e.sourceSpan.start,r,e.sourceSpan.fullStart),o=new Zr(e.parts[0],t,[],n,e.sourceSpan,a);this._pushContainer(o,!1)}_consumeBlockClose(e){this._popContainer(null,Zr,e.sourceSpan)||this.errors.push(Fe.create(null,e.sourceSpan,'Unexpected closing block. The block may have been closed earlier. If you meant to write the } character, you should use the "}" HTML entity instead.'))}_consumeIncompleteBlock(e){let t=[];for(;this._peek.type===28;){let i=this._advance();t.push(new g0(i.parts[0],i.sourceSpan))}let r=this._peek.sourceSpan.fullStart,n=new Y(e.sourceSpan.start,r,e.sourceSpan.fullStart),a=new Y(e.sourceSpan.start,r,e.sourceSpan.fullStart),o=new Zr(e.parts[0],t,[],n,e.sourceSpan,a);this._pushContainer(o,!1),this._popContainer(null,Zr,null),this.errors.push(Fe.create(e.parts[0],n,`Incomplete block "${e.parts[0]}". If you meant to write the @ character, you should use the "@" HTML entity instead.`))}_consumeLet(e){let t=e.parts[0],r,n;if(this._peek.type!==31){this.errors.push(Fe.create(e.parts[0],e.sourceSpan,`Invalid @let declaration "${t}". Declaration must have a value.`));return}else r=this._advance();if(this._peek.type!==32){this.errors.push(Fe.create(e.parts[0],e.sourceSpan,`Unterminated @let declaration "${t}". Declaration must be terminated with a semicolon.`));return}else n=this._advance();let a=n.sourceSpan.fullStart,o=new Y(e.sourceSpan.start,a,e.sourceSpan.fullStart),i=e.sourceSpan.toString().lastIndexOf(t),s=e.sourceSpan.start.moveBy(i),u=new Y(s,e.sourceSpan.end),d=new y0(t,r.parts[0],o,u,r.sourceSpan);this._addToParent(d)}_consumeIncompleteLet(e){let t=e.parts[0]??"",r=t?` "${t}"`:"";if(t.length>0){let n=e.sourceSpan.toString().lastIndexOf(t),a=e.sourceSpan.start.moveBy(n),o=new Y(a,e.sourceSpan.end),i=new Y(e.sourceSpan.start,e.sourceSpan.start.moveBy(0)),s=new y0(t,"",e.sourceSpan,o,i);this._addToParent(s)}this.errors.push(Fe.create(e.parts[0],e.sourceSpan,`Incomplete @let declaration${r}. @let declarations must be written as \`@let = ;\``))}_getContainer(){return this._containerStack.length>0?this._containerStack[this._containerStack.length-1]:null}_getClosestParentElement(){for(let e=this._containerStack.length-1;e>-1;e--)if(this._containerStack[e]instanceof rr)return this._containerStack[e];return null}_addToParent(e){let t=this._getContainer();t===null?this.rootNodes.push(e):t.children.push(e)}_getElementFullName(e,t,r){if(e===""&&(e=this.getTagDefinition(t).implicitNamespacePrefix||"",e===""&&r!=null)){let n=Go(r.name)[1];this.getTagDefinition(n).preventNamespaceInheritance||(e=Do(r.name))}return no(e,t)}},c(al,"t"),al),c(Oc,"zs"),c(Lc,"Gs"),k5=(F0=class extends S5{constructor(){super(os)}parse(e,t,r,n=!1,a){return super.parse(e,t,r,n,a)}},c(F0,"sr"),F0),ol=null,U6=c(()=>(ol||(ol=new k5),ol),"Eo"),c(Qd,"zr"),c(w2,"Ao"),q6=w2,Jn=3,c(e6,"Do"),c(E2,"vo"),W6=E2,so={attrs:!0,children:!0,cases:!0,expression:!0},I0=new Set(["parent"]),G6=(Jr=class{constructor(e={}){for(let t of new Set([...I0,...Object.keys(e)]))this.setProperty(t,e[t])}setProperty(e,t){if(this[e]!==t){if(e in so&&(t=t.map(r=>this.createChild(r))),!I0.has(e)){this[e]=t;return}Object.defineProperty(this,e,{value:t,enumerable:!1,configurable:!0})}}map(e){let t;for(let r in so){let n=this[r];if(n){let a=x2(n,o=>o.map(e));t!==n&&(t||(t=new Jr({parent:this.parent})),t.setProperty(r,a))}}if(t)for(let r in this)r in so||(t[r]=this[r]);return e(t||this)}walk(e){for(let t in so){let r=this[t];if(r)for(let n=0;n[e.fullName,e.value]))}},c(Jr,"t"),Jr),c(x2,"yo"),K6=[{regex:/^(\[if([^\]]*)\]>)(.*?)a==="lang"&&o!=="html"&&o!==""&&o!==void 0))}}),T5=ao({name:"lwc",canSelfClose:!1}),R5={html:J2},Z6=Nc});function nr(){}function B5(e,t,r,n,a){for(var o=[],i;t;)o.push(t),i=t.previousComponent,delete t.previousComponent,t=i;o.reverse();for(var s=0,u=o.length,d=0,f=0;sv.length?x:v}),h.value=e.join(m)}else h.value=e.join(r.slice(d,d+h.count));d+=h.count,h.added||(f+=h.count)}}var g=o[u-1];return u>1&&typeof g.value=="string"&&(g.added||g.removed)&&e.equals("",g.value)&&(o[u-2].value+=g.value,o.pop()),o}function Ho(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ho=c(function(t){return typeof t},"$e"):Ho=c(function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},"$e"),Ho(e)}function ps(e,t,r,n,a){t=t||[],r=r||[],n&&(e=n(a,e));var o;for(o=0;o=0?e.charAt(t+1)===` +`?"crlf":"cr":"lf"}function mu(e){switch(e){case"cr":return"\r";case"crlf":return`\r +`;default:return` +`}}function Uf(e,t){let r;switch(t){case` +`:r=/\n/gu;break;case"\r":r=/\r/gu;break;case`\r +`:r=/\r\n/gu;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(t)}.`)}let n=e.match(r);return n?n.length:0}function Q6(e){return Di(!1,e,/\r\n?/gu,` +`)}function z5(e){if(typeof e=="string")return $r;if(Array.isArray(e))return Wt;if(!e)return;let{type:t}=e;if(rh.has(t))return t}function O5(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(Pr(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=j8([...rh].map(a=>`'${a}'`));return`Unexpected doc.type '${e.type}'. +Expected it to be ${n}.`}function L5(e,t,r,n){let a=[e];for(;a.length>0;){let o=a.pop();if(o===A1){r(a.pop());continue}r&&a.push(o,A1);let i=Pr(o);if(!i)throw new vn(o);if((t==null?void 0:t(o))!==!1)switch(i){case Wt:case vt:{let s=i===Wt?o:o.parts;for(let u=s.length,d=u-1;d>=0;--d)a.push(s[d]);break}case je:a.push(o.flatContents,o.breakContents);break;case $e:if(n&&o.expandedStates)for(let s=o.expandedStates.length,u=s-1;u>=0;--u)a.push(o.expandedStates[u]);else a.push(o.contents);break;case Kt:case Gt:case Yt:case yt:case Zt:a.push(o.contents);break;case $r:case _r:case Ht:case Vt:case De:case Ke:break;default:throw new vn(o)}}}function Qo(e){return bt(e),{type:Gt,contents:e}}function gn(e,t){return bt(t),{type:Kt,contents:t,n:e}}function o1(e,t={}){return bt(e),yu(t.expandedStates,!0),{type:$e,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function M5(e){return gn(Number.NEGATIVE_INFINITY,e)}function $5(e){return gn({type:"root"},e)}function P5(e){return gn(-1,e)}function N5(e,t){return o1(e[0],{...t,expandedStates:e})}function i1(e){return yu(e),{type:vt,parts:e}}function j5(e,t="",r={}){return bt(e),t!==""&&bt(t),{type:je,breakContents:e,flatContents:t,groupId:r.groupId}}function H5(e,t){return bt(e),{type:Yt,contents:e,groupId:t.groupId,negate:t.negate}}function fs(e){return bt(e),{type:Zt,contents:e}}function l1(e,t){bt(e),yu(t);let r=[];for(let n=0;n0){for(let a=0;a0?`, { ${f.join(", ")} }`:"";return`indentIfBreak(${n(o.contents)}${h})`}if(o.type===$e){let f=[];o.break&&o.break!=="propagated"&&f.push("shouldBreak: true"),o.id&&f.push(`id: ${a(o.id)}`);let h=f.length>0?`, { ${f.join(", ")} }`:"";return o.expandedStates?`conditionalGroup([${o.expandedStates.map(p=>n(p)).join(",")}]${h})`:`group(${n(o.contents)}${h})`}if(o.type===vt)return`fill([${o.parts.map(f=>n(f)).join(", ")}])`;if(o.type===Zt)return"lineSuffix("+n(o.contents)+")";if(o.type===Vt)return"lineSuffixBoundary";if(o.type===yt)return`label(${JSON.stringify(o.label)}, ${n(o.contents)})`;throw new Error("Unknown doc type "+o.type)}function a(o){if(typeof o!="symbol")return JSON.stringify(String(o));if(o in t)return t[o];let i=o.description||"symbol";for(let s=0;;s++){let u=i+(s>0?` #${s}`:"");if(!r.has(u))return r.add(u),t[o]=`Symbol.for(${JSON.stringify(u)})`}}}function U5(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}function q5(e){return e>=4352&&e<=4447||e===8986||e===8987||e===9001||e===9002||e>=9193&&e<=9196||e===9200||e===9203||e===9725||e===9726||e===9748||e===9749||e>=9800&&e<=9811||e===9855||e===9875||e===9889||e===9898||e===9899||e===9917||e===9918||e===9924||e===9925||e===9934||e===9940||e===9962||e===9970||e===9971||e===9973||e===9978||e===9981||e===9989||e===9994||e===9995||e===10024||e===10060||e===10062||e>=10067&&e<=10069||e===10071||e>=10133&&e<=10135||e===10160||e===10175||e===11035||e===11036||e===11088||e===11093||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12771||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=19903||e>=19968&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||e===94192||e===94193||e>=94208&&e<=100343||e>=100352&&e<=101589||e>=101632&&e<=101640||e>=110576&&e<=110579||e>=110581&&e<=110587||e===110589||e===110590||e>=110592&&e<=110882||e===110898||e>=110928&&e<=110930||e===110933||e>=110948&&e<=110951||e>=110960&&e<=111355||e===126980||e===127183||e===127374||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||e===127568||e===127569||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||e===127988||e>=127992&&e<=128062||e===128064||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||e===128378||e===128405||e===128406||e===128420||e>=128507&&e<=128591||e>=128640&&e<=128709||e===128716||e>=128720&&e<=128722||e>=128725&&e<=128727||e>=128732&&e<=128735||e===128747||e===128748||e>=128756&&e<=128764||e>=128992&&e<=129003||e===129008||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129672||e>=129680&&e<=129725||e>=129727&&e<=129733||e>=129742&&e<=129755||e>=129760&&e<=129768||e>=129776&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}function W5(e){if(!e)return 0;if(!U8.test(e))return e.length;e=e.replace(H8()," ");let t=0;for(let r of e){let n=r.codePointAt(0);n<=31||n>=127&&n<=159||n>=768&&n<=879||(t+=V8(n)?1:2)}return t}function ei(e,t){if(typeof e=="string")return t(e);let r=new Map;return n(e);function n(o){if(r.has(o))return r.get(o);let i=a(o);return r.set(o,i),i}function a(o){switch(Pr(o)){case Wt:return t(o.map(n));case vt:return t({...o,parts:o.parts.map(n)});case je:return t({...o,breakContents:n(o.breakContents),flatContents:n(o.flatContents)});case $e:{let{expandedStates:i,contents:s}=o;return i?(i=i.map(n),s=i[0]):s=n(s),t({...o,contents:s,expandedStates:i})}case Kt:case Gt:case Yt:case yt:case Zt:return t({...o,contents:n(o.contents)});case $r:case _r:case Ht:case Vt:case De:case Ke:return t(o);default:throw new vn(o)}}}function hs(e,t,r){let n=r,a=!1;function o(i){if(a)return!1;let s=t(i);s!==void 0&&(a=!0,n=s)}return c(o,"u"),ys(e,o),n}function t8(e){if(e.type===$e&&e.break||e.type===De&&e.hard||e.type===Ke)return!0}function G5(e){return hs(e,t8,!1)}function u1(e){if(e.length>0){let t=be(!1,e,-1);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function r8(e){let t=new Set,r=[];function n(o){if(o.type===Ke&&u1(r),o.type===$e){if(r.push(o),t.has(o))return!1;t.add(o)}}c(n,"n");function a(o){o.type===$e&&r.pop().break&&u1(r)}c(a,"o"),ys(e,n,a,!0)}function n8(e){return e.type===De&&!e.hard?e.soft?"":" ":e.type===je?e.flatContents:e}function K5(e){return ei(e,n8)}function c1(e){for(e=[...e];e.length>=2&&be(!1,e,-2).type===De&&be(!1,e,-1).type===Ke;)e.length-=2;if(e.length>0){let t=oa(be(!1,e,-1));e[e.length-1]=t}return e}function oa(e){switch(Pr(e)){case Gt:case Yt:case $e:case Zt:case yt:{let t=oa(e.contents);return{...e,contents:t}}case je:return{...e,breakContents:oa(e.breakContents),flatContents:oa(e.flatContents)};case vt:return{...e,parts:c1(e.parts)};case Wt:return c1(e);case $r:return e.replace(/[\n\r]*$/u,"");case Kt:case _r:case Ht:case Vt:case De:case Ke:break;default:throw new vn(e)}return e}function d1(e){return oa(o8(e))}function a8(e){switch(Pr(e)){case vt:if(e.parts.every(t=>t===""))return"";break;case $e:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===$e&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case Kt:case Gt:case Yt:case Zt:if(!e.contents)return"";break;case je:if(!e.flatContents&&!e.breakContents)return"";break;case Wt:{let t=[];for(let r of e){if(!r)continue;let[n,...a]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof be(!1,t,-1)=="string"?t[t.length-1]+=n:t.push(n),t.push(...a)}return t.length===0?"":t.length===1?t[0]:t}case $r:case _r:case Ht:case Vt:case De:case yt:case Ke:break;default:throw new vn(e)}return e}function o8(e){return ei(e,t=>a8(t))}function Y5(e,t=_1){return ei(e,r=>typeof r=="string"?l1(t,r.split(` +`)):r)}function i8(e){if(e.type===De)return!0}function Z5(e){return hs(e,i8,!1)}function qf(e,t){return e.type===yt?{...e,contents:t(e.contents)}:t(e)}function Wf(){return{value:"",length:0,queue:[]}}function l8(e,t){return ms(e,{type:"indent"},t)}function s8(e,t,r){return t===Number.NEGATIVE_INFINITY?e.root||Wf():t<0?ms(e,{type:"dedent"},r):t?t.type==="root"?{...e,root:e}:ms(e,{type:typeof t=="string"?"stringAlign":"numberAlign",n:t},r):e}function ms(e,t,r){let n=t.type==="dedent"?e.queue.slice(0,-1):[...e.queue,t],a="",o=0,i=0,s=0;for(let g of n)switch(g.type){case"indent":f(),r.useTabs?u(1):d(r.tabWidth);break;case"stringAlign":f(),a+=g.n,o+=g.n.length;break;case"numberAlign":i+=1,s+=g.n;break;default:throw new Error(`Unexpected type '${g.type}'`)}return p(),{...e,value:a,length:o,queue:n};function u(g){a+=" ".repeat(g),o+=r.tabWidth*g}function d(g){a+=" ".repeat(g),o+=g}function f(){r.useTabs?h():p()}function h(){i>0&&u(i),m()}function p(){s>0&&d(s),m()}function m(){i=0,s=0}}function gs(e){let t=0,r=0,n=e.length;e:for(;n--;){let a=e[n];if(a===ia){r++;continue}for(let o=a.length-1;o>=0;o--){let i=a[o];if(i===" "||i===" ")t++;else{e[n]=a.slice(0,o+1);break e}}}if(t>0||r>0)for(e.length=n+1;r-- >0;)e.push(ia);return t}function ko(e,t,r,n,a,o){if(r===Number.POSITIVE_INFINITY)return!0;let i=t.length,s=[e],u=[];for(;r>=0;){if(s.length===0){if(i===0)return!0;s.push(t[--i]);continue}let{mode:d,doc:f}=s.pop(),h=Pr(f);switch(h){case $r:u.push(f),r-=ws(f);break;case Wt:case vt:{let p=h===Wt?f:f.parts;for(let m=p.length-1;m>=0;m--)s.push({mode:d,doc:p[m]});break}case Gt:case Kt:case Yt:case yt:s.push({mode:d,doc:f.contents});break;case Ht:r+=gs(u);break;case $e:{if(o&&f.break)return!1;let p=f.break?Oe:d,m=f.expandedStates&&p===Oe?be(!1,f.expandedStates,-1):f.contents;s.push({mode:p,doc:m});break}case je:{let p=(f.groupId?a[f.groupId]||ct:d)===Oe?f.breakContents:f.flatContents;p&&s.push({mode:d,doc:p});break}case De:if(d===Oe||f.hard)return!0;f.soft||(u.push(" "),r--);break;case Zt:n=!0;break;case Vt:if(n)return!1;break}}return!1}function ti(e,t){let r={},n=t.printWidth,a=mu(t.endOfLine),o=0,i=[{ind:Wf(),mode:Oe,doc:e}],s=[],u=!1,d=[],f=0;for(r8(e);i.length>0;){let{ind:p,mode:m,doc:g}=i.pop();switch(Pr(g)){case $r:{let v=a!==` +`?Di(!1,g,` +`,a):g;s.push(v),i.length>0&&(o+=ws(v));break}case Wt:for(let v=g.length-1;v>=0;v--)i.push({ind:p,mode:m,doc:g[v]});break;case _r:if(f>=2)throw new Error("There are too many 'cursor' in doc.");s.push(ia),f++;break;case Gt:i.push({ind:l8(p,t),mode:m,doc:g.contents});break;case Kt:i.push({ind:s8(p,g.n,t),mode:m,doc:g.contents});break;case Ht:o-=gs(s);break;case $e:switch(m){case ct:if(!u){i.push({ind:p,mode:g.break?Oe:ct,doc:g.contents});break}case Oe:{u=!1;let v={ind:p,mode:ct,doc:g.contents},b=n-o,x=d.length>0;if(!g.break&&ko(v,i,b,x,r))i.push(v);else if(g.expandedStates){let E=be(!1,g.expandedStates,-1);if(g.break){i.push({ind:p,mode:Oe,doc:E});break}else for(let C=1;C=g.expandedStates.length){i.push({ind:p,mode:Oe,doc:E});break}else{let w=g.expandedStates[C],D={ind:p,mode:ct,doc:w};if(ko(D,i,b,x,r)){i.push(D);break}}}else i.push({ind:p,mode:Oe,doc:g.contents});break}}g.id&&(r[g.id]=be(!1,i,-1).mode);break;case vt:{let v=n-o,{parts:b}=g;if(b.length===0)break;let[x,E]=b,C={ind:p,mode:ct,doc:x},w={ind:p,mode:Oe,doc:x},D=ko(C,[],v,d.length>0,r,!0);if(b.length===1){D?i.push(C):i.push(w);break}let S={ind:p,mode:ct,doc:E},A={ind:p,mode:Oe,doc:E};if(b.length===2){D?i.push(S,C):i.push(A,w);break}b.splice(0,2);let k={ind:p,mode:m,doc:i1(b)},F=b[0];ko({ind:p,mode:ct,doc:[x,E,F]},[],v,d.length>0,r,!0)?i.push(k,S,C):D?i.push(k,A,C):i.push(k,A,w);break}case je:case Yt:{let v=g.groupId?r[g.groupId]:m;if(v===Oe){let b=g.type===je?g.breakContents:g.negate?g.contents:Qo(g.contents);b&&i.push({ind:p,mode:m,doc:b})}if(v===ct){let b=g.type===je?g.flatContents:g.negate?Qo(g.contents):g.contents;b&&i.push({ind:p,mode:m,doc:b})}break}case Zt:d.push({ind:p,mode:m,doc:g.contents});break;case Vt:d.length>0&&i.push({ind:p,mode:m,doc:Il});break;case De:switch(m){case ct:if(g.hard)u=!0;else{g.soft||(s.push(" "),o+=1);break}case Oe:if(d.length>0){i.push({ind:p,mode:m,doc:g},...d.reverse()),d.length=0;break}g.literal?p.root?(s.push(a,p.root.value),o=p.root.length):(s.push(a),o=0):(o-=gs(s),s.push(a+p.value),o=p.length);break}break;case yt:i.push({ind:p,mode:m,doc:g.contents});break;case Ke:break;default:throw new vn(g)}i.length===0&&d.length>0&&(i.push(...d.reverse()),d.length=0)}let h=s.indexOf(ia);if(h!==-1){let p=s.indexOf(ia,h+1),m=s.slice(0,h).join(""),g=s.slice(h+1,p).join(""),v=s.slice(p+1).join("");return{formatted:m+g+v,cursorNodeStart:m.length,cursorNodeText:g}}return{formatted:s.join("")}}function J5(e,t,r=0){let n=0;for(let a=r;a!0,"n")}=t,a=c(o=>W8(o)&&n(o),"o");for(let o of r(e)){let i=e[o];if(Array.isArray(i))for(let s of i)a(s)&&(yield s);else a(i)&&(yield i)}}function*u8(e,t){let r=[e];for(let n=0;n{let a=!!(n!=null&&n.backwards);if(r===!1)return!1;let{length:o}=t,i=r;for(;i>=0&&i0}function rv(e){return e?t=>e(t,T1):K8}function c8(e){let t=e.type||e.kind||"(unknown type)",r=String(e.name||e.id&&(typeof e.id=="object"?e.id.name:e.id)||e.key&&(typeof e.key=="object"?e.key.name:e.key)||e.value&&(typeof e.value=="object"?"":String(e.value))||e.operator||"");return r.length>20&&(r=r.slice(0,19)+"…"),t+(r?" "+r:"")}function gu(e,t){(e.comments??(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=c8(e)}function ln(e,t){t.leading=!0,t.trailing=!1,gu(e,t)}function Vo(e,t,r){t.leading=!1,t.trailing=!1,r&&(t.marker=r),gu(e,t)}function sn(e,t){t.leading=!1,t.trailing=!0,gu(e,t)}function vu(e,t){if(Tl.has(e))return Tl.get(e);let{printer:{getCommentChildNodes:r,canAttachComment:n,getVisitorKeys:a},locStart:o,locEnd:i}=t;if(!n)return[];let s=((r==null?void 0:r(e,t))??[...Gf(e,{getVisitorKeys:Si(a)})]).flatMap(u=>n(u)?[u]:vu(u,t));return s.sort((u,d)=>o(u)-o(d)||i(u)-i(d)),Tl.set(e,s),s}function Kf(e,t,r,n){let{locStart:a,locEnd:o}=r,i=a(t),s=o(t),u=vu(e,r),d,f,h=0,p=u.length;for(;h>1,g=u[m],v=a(g),b=o(g);if(v<=i&&s<=b)return Kf(g,t,r,g);if(b<=i){d=g,h=m+1;continue}if(s<=v){f=g,p=m;continue}throw new Error("Comment location overlaps with node location")}if((n==null?void 0:n.type)==="TemplateLiteral"){let{quasis:m}=n,g=kl(m,t,r);d&&kl(m,d,r)!==g&&(d=null),f&&kl(m,f,r)!==g&&(f=null)}return{enclosingNode:n,precedingNode:d,followingNode:f}}function d8(e,t){let{comments:r}=e;if(delete e.comments,!G8(r)||!t.printer.canAttachComment)return;let n=[],{locStart:a,locEnd:o,printer:{experimentalFeatures:{avoidAstMutation:i=!1}={},handleComments:s={}},originalText:u}=t,{ownLine:d=Rl,endOfLine:f=Rl,remaining:h=Rl}=s,p=r.map((m,g)=>({...Kf(e,m,t),comment:m,text:u,options:t,ast:e,isLastComment:r.length-1===g}));for(let[m,g]of p.entries()){let{comment:v,precedingNode:b,enclosingNode:x,followingNode:E,text:C,options:w,ast:D,isLastComment:S}=g;if(w.parser==="json"||w.parser==="json5"||w.parser==="jsonc"||w.parser==="__js_expression"||w.parser==="__ts_expression"||w.parser==="__vue_expression"||w.parser==="__vue_ts_expression"){if(a(v)-a(D)<=0){ln(D,v);continue}if(o(v)-o(D)>=0){sn(D,v);continue}}let A;if(i?A=[g]:(v.enclosingNode=x,v.precedingNode=b,v.followingNode=E,A=[v,C,w,D,S]),p8(C,w,p,m))v.placement="ownLine",d(...A)||(E?ln(E,v):b?sn(b,v):Vo(x||D,v));else if(f8(C,w,p,m))v.placement="endOfLine",f(...A)||(b?sn(b,v):E?ln(E,v):Vo(x||D,v));else if(v.placement="remaining",!h(...A))if(b&&E){let k=n.length;k>0&&n[k-1].followingNode!==E&&p1(n,w),n.push(g)}else b?sn(b,v):E?ln(E,v):Vo(x||D,v)}if(p1(n,t),!i)for(let m of r)delete m.precedingNode,delete m.enclosingNode,delete m.followingNode}function p8(e,t,r,n){let{comment:a,precedingNode:o}=r[n],{locStart:i,locEnd:s}=t,u=i(a);if(o)for(let d=n-1;d>=0;d--){let{comment:f,precedingNode:h}=r[d];if(h!==o||!nh(e.slice(s(f),u)))break;u=i(f)}return ur(e,u,{backwards:!0})}function f8(e,t,r,n){let{comment:a,followingNode:o}=r[n],{locStart:i,locEnd:s}=t,u=s(a);if(o)for(let d=n+1;d0;--u){let{comment:d,precedingNode:f,followingNode:h}=e[u-1];xs.strictEqual(f,o),xs.strictEqual(h,i);let p=t.originalText.slice(t.locEnd(d),s);if(((n=(r=t.printer).isGap)==null?void 0:n.call(r,p,t))??/^[\s(]*$/u.test(p))s=t.locStart(d);else break}for(let[d,{comment:f}]of e.entries())d1&&d.comments.sort((f,h)=>t.locStart(f)-t.locStart(h));e.length=0}function kl(e,t,r){let n=r.locStart(t)-1;for(let a=1;a!n.has(s)).length===0)return{leading:"",trailing:""};let a=[],o=[],i;return e.each(()=>{let s=e.node;if(n!=null&&n.has(s))return;let{leading:u,trailing:d}=s;u?a.push(h8(e,t)):d&&(i=m8(e,t,i),o.push(i.doc))},"comments"),{leading:a,trailing:o}}function v8(e,t,r){let{leading:n,trailing:a}=g8(e,r);return!n&&!a?t:qf(t,o=>[n,o,a])}function y8(e){let{[Symbol.for("comments")]:t,[Symbol.for("printedComments")]:r}=e;for(let n of t){if(!n.printed&&!r.has(n))throw new Error('Comment "'+n.value.trim()+'" was not printed. Please report this error!');delete n.printed}}function av(e){return()=>{}}function f1({plugins:e=[],showDeprecated:t=!1}={}){let r=e.flatMap(a=>a.languages??[]),n=[];for(let a of w8(Object.assign({},...e.map(({options:o})=>o),Z8)))!t&&a.deprecated||(Array.isArray(a.choices)&&(t||(a.choices=a.choices.filter(o=>!o.deprecated)),a.name==="parser"&&(a.choices=[...a.choices,...b8(a.choices,r,e)])),a.pluginDefaults=Object.fromEntries(e.filter(o=>{var i;return((i=o.defaultOptions)==null?void 0:i[a.name])!==void 0}).map(o=>[o.name,o.defaultOptions[a.name]])),n.push(a));return{languages:r,options:n}}function*b8(e,t,r){let n=new Set(e.map(a=>a.value));for(let a of t)if(a.parsers){for(let o of a.parsers)if(!n.has(o)){n.add(o);let i=r.find(u=>u.parsers&&Object.prototype.hasOwnProperty.call(u.parsers,o)),s=a.name;i!=null&&i.name&&(s+=` (plugin: ${i.name})`),yield{value:o,description:s}}}}function w8(e){let t=[];for(let[r,n]of Object.entries(e)){let a={name:r,...n};Array.isArray(a.default)&&(a.default=be(!1,a.default,-1).value),t.push(a)}return t}function h1(e,t){if(!t)return;let r=J8(t).toLowerCase();return e.find(({filenames:n})=>n==null?void 0:n.some(a=>a.toLowerCase()===r))??e.find(({extensions:n})=>n==null?void 0:n.some(a=>r.endsWith(a)))}function E8(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 ov(e,t){let r=e.plugins.flatMap(a=>a.languages??[]),n=E8(r,t.language)??h1(r,t.physicalFile)??h1(r,t.file)??(t.physicalFile,void 0);return n==null?void 0:n.parsers[0]}function T0(e,t,r,n){return[`Invalid ${un.default.red(n.key(e))} value.`,`Expected ${un.default.blue(r)},`,`but received ${t===B1?un.default.gray("nothing"):un.default.red(n.value(t))}.`].join(" ")}function m1({text:e,list:t},r){let n=[];return e&&n.push(`- ${un.default.blue(e)}`),t&&n.push([`- ${un.default.blue(t.title)}:`].concat(t.values.map(a=>m1(a,r-z1.length).replace(/^|\n/g,`$&${z1}`))).join(` +`)),g1(n,r)}function g1(e,t){if(e.length===1)return e[0];let[r,n]=e,[a,o]=e.map(i=>i.split(` +`,1)[0].length);return a>t&&a>o?n:r}function iv(e,t){if(e===t)return 0;let r=e;e.length>t.length&&(e=t,t=r);let n=e.length,a=t.length;for(;n>0&&e.charCodeAt(~-n)===t.charCodeAt(~-a);)n--,a--;let o=0;for(;os?d>s?s+1:d:d>u?u+1:d;return s}function lv(e,t){let r=new e(t),n=Object.create(r);for(let a of Q8)a in t&&(n[a]=x8(t[a],r,ir.prototype[a].length));return n}function x8(e,t,r){return typeof e=="function"?(...n)=>e(...n.slice(0,r-1),t,...n.slice(r-1)):()=>e}function R0({from:e,to:t}){return{from:[e],to:t}}function sv(e,t){let r=Object.create(null);for(let n of e){let a=n[t];if(r[a])throw new Error(`Duplicate ${t} ${JSON.stringify(a)}`);r[a]=n}return r}function uv(e,t){let r=new Map;for(let n of e){let a=n[t];if(r.has(a))throw new Error(`Duplicate ${t} ${JSON.stringify(a)}`);r.set(a,n)}return r}function cv(){let e=Object.create(null);return t=>{let r=JSON.stringify(t);return e[r]?!0:(e[r]=!0,!1)}}function dv(e,t){let r=[],n=[];for(let a of e)t(a)?r.push(a):n.push(a);return[r,n]}function pv(e){return e===Math.floor(e)}function fv(e,t){if(e===t)return 0;let r=typeof e,n=typeof t,a=["undefined","object","boolean","number","string"];return r!==n?a.indexOf(r)-a.indexOf(n):r!=="string"?Number(e)-Number(t):e.localeCompare(t)}function hv(e){return(...t)=>{let r=e(...t);return typeof r=="string"?new Error(r):r}}function B0(e){return e===void 0?{}:e}function v1(e){if(typeof e=="string")return{text:e};let{text:t,list:r}=e;return C8((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(v1)}}:{text:t}}function z0(e,t){return e===!0?!0:e===!1?{value:t}:e}function O0(e,t,r=!1){return e===!1?!1:e===!0?r?!0:[{value:t}]:"value"in e?[e]:e.length===0?!1:e}function y1(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 _l(e,t){return e===void 0?[]:Array.isArray(e)?e.map(r=>y1(r,t)):[y1(e,t)]}function L0(e,t){let r=_l(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 C8(e,t){if(!e)throw new Error(t)}function mv(e,t,{logger:r=!1,isCLI:n=!1,passThrough:a=!1,FlagSchema:o,descriptor:i}={}){if(n){if(!o)throw new Error("'FlagSchema' option is required.");if(!i)throw new Error("'descriptor' option is required.")}else i=Qr;let s=a?Array.isArray(a)?(p,m)=>a.includes(p)?{[p]:m}:void 0:(p,m)=>({[p]:m}):(p,m,g)=>{let{_:v,...b}=g.schemas;return L1(p,m,{...g,schemas:b})},u=D8(t,{isCLI:n,FlagSchema:o}),d=new iE(u,{logger:r,unknown:s,descriptor:i}),f=r!==!1;f&&dd&&(d._hasDeprecationWarned=dd);let h=d.normalize(e);return f&&(dd=d._hasDeprecationWarned),h}function D8(e,{isCLI:t,FlagSchema:r}){let n=[];t&&n.push(tE.create({name:"_"}));for(let a of e)n.push(S8(a,{isCLI:t,optionInfos:e,FlagSchema:r})),a.alias&&t&&n.push(eE.create({name:a.alias,sourceName:a.name}));return n}function S8(e,{isCLI:t,optionInfos:r,FlagSchema:n}){let{name:a}=e,o={name:a},i,s={};switch(e.type){case"int":i=oE,t&&(o.preprocess=Number);break;case"string":i=M1;break;case"choice":i=aE,o.choices=e.choices.map(u=>u!=null&&u.redirect?{...u,redirect:{to:{key:e.name,value:u.redirect}}}:u);break;case"boolean":i=nE;break;case"flag":i=n,o.flags=r.flatMap(u=>[u.alias,u.description&&u.name,u.oppositeDescription&&`no-${u.name}`].filter(Boolean));break;case"path":i=M1;break;default:throw new Error(`Unexpected type ${e.type}`)}if(e.exception?o.validate=(u,d,f)=>e.exception(u)||d.validate(u,f):o.validate=(u,d,f)=>u===void 0||d.validate(u,f),e.redirect&&(s.redirect=u=>u?{to:typeof e.redirect=="string"?e.redirect:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(s.deprecated=!0),t&&!e.array){let u=o.preprocess||(d=>d);o.preprocess=(d,f,h)=>f.preprocess(u(Array.isArray(d)?be(!1,d,-1):d),h)}return e.array?rE.create({...t?{preprocess:c(u=>Array.isArray(u)?u:[u],"preprocess")}:{},...s,valueSchema:i.create(o)}):i.create({...o,...s})}function Zf(e,t){if(!t)throw new Error("parserName is required.");let r=oh(!1,e,a=>a.parsers&&Object.prototype.hasOwnProperty.call(a.parsers,t));if(r)return r;let n=`Couldn't resolve parser "${t}".`;throw n+=" Plugins must be explicitly added to the standalone bundle.",new ah(n)}function A8(e,t){if(!t)throw new Error("astFormat is required.");let r=oh(!1,e,a=>a.printers&&Object.prototype.hasOwnProperty.call(a.printers,t));if(r)return r;let n=`Couldn't find plugin for AST format "${t}".`;throw n+=" Plugins must be explicitly added to the standalone bundle.",new ah(n)}function Jf({plugins:e,parser:t}){let r=Zf(e,t);return Xf(r,t)}function Xf(e,t){let r=e.parsers[t];return typeof r=="function"?r():r}function k8(e,t){let r=e.printers[t];return typeof r=="function"?r():r}async function gv(e,t={}){var r;let n={...e};if(!n.parser)if(n.filepath){if(n.parser=X8(n,{physicalFile:n.filepath}),!n.parser)throw new R1(`No parser could be inferred for file "${n.filepath}".`)}else throw new R1("No parser and no file path given, couldn't infer a parser.");let a=f1({plugins:e.plugins,showDeprecated:!0}).options,o={...$1,...Object.fromEntries(a.filter(p=>p.default!==void 0).map(p=>[p.name,p.default]))},i=Zf(n.plugins,n.parser),s=await Xf(i,n.parser);n.astFormat=s.astFormat,n.locEnd=s.locEnd,n.locStart=s.locStart;let u=(r=i.printers)!=null&&r[s.astFormat]?i:A8(n.plugins,s.astFormat),d=await k8(u,s.astFormat);n.printer=d;let f=u.defaultOptions?Object.fromEntries(Object.entries(u.defaultOptions).filter(([,p])=>p!==void 0)):{},h={...o,...f};for(let[p,m]of Object.entries(h))(n[p]===null||n[p]===void 0)&&(n[p]=m);return n.parser==="json"&&(n.trailingComma="none"),lE(n,a,{passThrough:Object.keys($1),...t})}async function vv(e,t){let r=await Jf(t),n=r.preprocess?r.preprocess(e,t):e;t.originalText=n;let a;try{a=await r.parse(n,t,t)}catch(o){_8(o,e)}return{text:n,ast:a}}function _8(e,t){let{loc:r}=e;if(r){let n=(0,sE.codeFrameColumns)(t,r,{highlightCode:!0});throw e.message+=` +`+n,e.codeFrame=n,e}throw e}async function F8(e,t,r,n,a){let{embeddedLanguageFormatting:o,printer:{embed:i,hasPrettierIgnore:s=c(()=>!1,"s"),getVisitorKeys:u}}=r;if(!i||o!=="auto")return;if(i.length>2)throw new Error("printer.embed has too many parameters. The API changed in Prettier v3. Please update your plugin. See https://prettier.io/docs/en/plugins.html#optional-embed");let d=Si(i.getVisitorKeys??u),f=[];m();let h=e.stack;for(let{print:g,node:v,pathStack:b}of f)try{e.stack=b;let x=await g(p,t,e,r);x&&a.set(v,x)}catch(x){if(globalThis.PRETTIER_DEBUG)throw x}e.stack=h;function p(g,v){return I8(g,v,r,n)}c(p,"f");function m(){let{node:g}=e;if(g===null||typeof g!="object"||s(e))return;for(let b of d(g))Array.isArray(g[b])?e.each(m,b):e.call(m,b);let v=i(e,r);if(v){if(typeof v=="function"){f.push({print:v,node:g,pathStack:[...e.stack]});return}a.set(g,v)}}c(m,"p")}async function I8(e,t,r,n){let a=await Dn({...r,...t,parentParser:r.parser,originalText:e},{passThrough:!0}),{ast:o}=await Pa(e,a),i=await n(o,a);return d1(i)}function yv(e,t){let{originalText:r,[Symbol.for("comments")]:n,locStart:a,locEnd:o,[Symbol.for("printedComments")]:i}=t,{node:s}=e,u=a(s),d=o(s);for(let f of n)a(f)>=u&&o(f)<=d&&i.add(f);return r.slice(u,d)}async function Ci(e,t){({ast:e}=await Qf(e,t));let r=new Map,n=new q8(e),a=Y8(t),o=new Map;await F8(n,s,t,Ci,o);let i=await b1(n,t,s,void 0,o);return y8(t),i;function s(d,f){return d===void 0||d===n?u(f):Array.isArray(d)?n.call(()=>u(f),...d):n.call(()=>u(f),d)}function u(d){a(n);let f=n.node;if(f==null)return"";let h=f&&typeof f=="object"&&d===void 0;if(h&&r.has(f))return r.get(f);let p=b1(n,t,s,d,o);return h&&r.set(f,p),p}}function b1(e,t,r,n,a){var o;let{node:i}=e,{printer:s}=t,u;return(o=s.hasPrettierIgnore)!=null&&o.call(s,e)?u=uE(e,t):a.has(i)?u=a.get(i):u=s.print(e,t,r,n),i===t.cursorNode&&(u=qf(u,d=>[bs,d,bs])),s.printComment&&(!s.willPrintOwnComments||!s.willPrintOwnComments(e,t))&&(u=v8(e,u,t)),u}async function Qf(e,t){let r=e.comments??[];t[Symbol.for("comments")]=r,t[Symbol.for("tokens")]=e.tokens??[],t[Symbol.for("printedComments")]=new Set,d8(e,t);let{printer:{preprocess:n}}=t;return e=n?await n(e,t):e,{ast:e,comments:r}}function bv(e,t){let{cursorOffset:r,locStart:n,locEnd:a}=t,o=Si(t.printer.getVisitorKeys),i=c(u=>n(u)<=r&&a(u)>=r,"i"),s=e;for(let u of u8(e,{getVisitorKeys:o,filter:i}))s=u;return s}function wv(e,t){let{printer:{massageAstNode:r,getVisitorKeys:n}}=t;if(!r)return e;let a=Si(n),o=r.ignoredProperties??new Set;return i(e);function i(s,u){if(!(s!==null&&typeof s=="object"))return s;if(Array.isArray(s))return s.map(p=>i(p,u)).filter(Boolean);let d={},f=new Set(a(s));for(let p in s)!Object.prototype.hasOwnProperty.call(s,p)||o.has(p)||(f.has(p)?d[p]=i(s[p],s):d[p]=s[p]);let h=r(s,d,u);if(h!==null)return h??d}}function T8(e,t){let r=[e.node,...e.parentNodes],n=new Set([t.node,...t.parentNodes]);return r.find(a=>ih.has(a.type)&&n.has(a))}function w1(e){let t=pE(!1,e,r=>r.type!=="Program"&&r.type!=="File");return t===-1?e:e.slice(0,t+1)}function R8(e,t,{locStart:r,locEnd:n}){let a=e.node,o=t.node;if(a===o)return{startNode:a,endNode:o};let i=r(e.node);for(let u of w1(t.parentNodes))if(r(u)>=i)o=u;else break;let s=n(t.node);for(let u of w1(e.parentNodes)){if(n(u)<=s)a=u;else break;if(a===o)break}return{startNode:a,endNode:o}}function vs(e,t,r,n,a=[],o){let{locStart:i,locEnd:s}=r,u=i(e),d=s(e);if(!(t>d||tn);let s=e.slice(n,a).search(/\S/u),u=s===-1;if(!u)for(n+=s;a>n&&!/\S/u.test(e[a-1]);--a);let d=vs(r,n,t,(m,g)=>E1(t,m,g),[],"rangeStart"),f=u?d:vs(r,a,t,m=>E1(t,m),[],"rangeEnd");if(!d||!f)return{rangeStart:0,rangeEnd:0};let h,p;if(fE(t)){let m=T8(d,f);h=m,p=m}else({startNode:h,endNode:p}=R8(d,f,t));return{rangeStart:Math.min(o(h),o(p)),rangeEnd:Math.max(i(h),i(p))}}async function eh(e,t,r=0){if(!e||e.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:n,text:a}=await Pa(e,t);t.cursorOffset>=0&&(t.cursorNode=cE(n,t));let o=await Ci(n,t);r>0&&(o=s1([Fr,o],r,t.tabWidth));let i=ti(o,t);if(r>0){let u=i.formatted.trim();i.cursorNodeStart!==void 0&&(i.cursorNodeStart-=i.formatted.indexOf(u)),i.formatted=u+mu(t.endOfLine)}let s=t[Symbol.for("comments")];if(t.cursorOffset>=0){let u,d,f,h,p;if(t.cursorNode&&i.cursorNodeText?(u=t.locStart(t.cursorNode),d=a.slice(u,t.locEnd(t.cursorNode)),f=t.cursorOffset-u,h=i.cursorNodeStart,p=i.cursorNodeText):(u=0,d=a,f=t.cursorOffset,h=0,p=i.formatted),d===p)return{formatted:i.formatted,cursorOffset:h+f,comments:s};let m=d.split("");m.splice(f,0,P1);let g=p.split(""),v=J6(m,g),b=h;for(let x of v)if(x.removed){if(x.value.includes(P1))break}else b+=x.count;return{formatted:i.formatted,cursorOffset:b,comments:s}}return{formatted:i.formatted,cursorOffset:-1,comments:s}}async function O8(e,t){let{ast:r,text:n}=await Pa(e,t),{rangeStart:a,rangeEnd:o}=z8(n,t,r),i=n.slice(a,o),s=Math.min(a,n.lastIndexOf(` +`,a)+1),u=n.slice(s,a).match(/^\s*/u)[0],d=Es(u,t.tabWidth),f=await eh(i,{...t,rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:t.cursorOffset>a&&t.cursorOffset<=o?t.cursorOffset-a:-1,endOfLine:"lf"},d),h=f.formatted.trimEnd(),{cursorOffset:p}=t;p>o?p+=h.length-i.length:f.cursorOffset>=0&&(p=f.cursorOffset+a);let m=n.slice(0,a)+h+n.slice(o);if(t.endOfLine!=="lf"){let g=mu(t.endOfLine);p>=0&&g===`\r +`&&(p+=Uf(m.slice(0,p),` +`)),m=Di(!1,m,` +`,g)}return{formatted:m,cursorOffset:p,comments:f.comments}}function Fl(e,t,r){return typeof t!="number"||Number.isNaN(t)||t<0||t>e.length?r:t}function x1(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:a}=t;return r=Fl(e,r,-1),n=Fl(e,n,0),a=Fl(e,a,e.length),{...t,cursorOffset:r,rangeStart:n,rangeEnd:a}}function th(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:a,endOfLine:o}=x1(e,t),i=e.charAt(0)===lh;if(i&&(e=e.slice(1),r--,n--,a--),o==="auto"&&(o=X6(e)),e.includes("\r")){let s=c(u=>Uf(e.slice(0,Math.max(u,0)),`\r +`),"s");r-=s(r),n-=s(n),a-=s(a),e=Q6(e)}return{hasBOM:i,text:e,options:x1(e,{...t,cursorOffset:r,rangeStart:n,rangeEnd:a,endOfLine:o})}}async function C1(e,t){let r=await Jf(t);return!r.hasPragma||r.hasPragma(e)}async function D1(e,t){let{hasBOM:r,text:n,options:a}=th(e,await Dn(t));if(a.rangeStart>=a.rangeEnd&&n!==""||a.requirePragma&&!await C1(n,a))return{formatted:e,cursorOffset:t.cursorOffset,comments:[]};let o;return a.rangeStart>0||a.rangeEnd=0&&o.cursorOffset++),o}async function Ev(e,t,r){let{text:n,options:a}=th(e,await Dn(t)),o=await Pa(n,a);return r&&(r.preprocessForPrint&&(o.ast=await Qf(o.ast,a)),r.massage&&(o.ast=dE(o.ast,a))),o}async function xv(e,t){t=await Dn(t);let r=await Ci(e,t);return ti(r,t)}async function Cv(e,t){let r=e8(e),{formatted:n}=await D1(r,{...t,parser:"__js_expression"});return n}async function Dv(e,t){t=await Dn(t);let{ast:r}=await Pa(e,t);return Ci(r,t)}async function Sv(e,t){return ti(e,await Dn(t))}function Av(e,t){if(t===!1)return!1;if(e.charAt(t)==="/"&&e.charAt(t+1)==="*"){for(let r=t+2;rMath.max(n,a.length/t.length),0)}function Rv(e,t){let r=wu(e,t);return r===!1?"":e.charAt(r)}function Bv(e,t,r){for(let n=t;ni===n?i:s===t?"\\"+s:s||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/u.test(i)?i:"\\"+i));return t+a+t}function M8(e,t,r){return wu(e,r(t))}function Lv(e,t){return arguments.length===2||typeof t=="number"?wu(e,t):M8(...arguments)}function $8(e,t,r){return bu(e,r(t))}function Mv(e,t){return arguments.length===2||typeof t=="number"?bu(e,t):$8(...arguments)}function P8(e,t,r){return Ss(e,r(t))}function $v(e,t){return arguments.length===2||typeof t=="number"?Ss(e,t):P8(...arguments)}function vr(e,t=1){return async(...r)=>{let n=r[t]??{},a=n.plugins??[];return r[t]={...n,plugins:Array.isArray(a)?a:Object.values(a)},e(...r)}}async function S1(e,t){let{formatted:r}=await N1(e,{...t,cursorOffset:-1});return r}async function Pv(e,t){return await S1(e,t)===e}var Nv,uo,jv,Hv,Vv,Uv,M0,qv,il,co,$0,po,Wv,Gv,Kv,Nn,ll,P0,Yv,Zv,Jv,Xv,Qv,N0,e4,Di,j0,H0,V0,U0,t4,r4,N8,jn,_o,$r,Wt,_r,Gt,Kt,Ht,$e,vt,je,Yt,Zt,Vt,De,yt,Ke,rh,Pr,j8,q0,n4,vn,A1,ys,W0,bt,yu,a4,Fo,o4,Il,G0,k1,i4,Fr,_1,bs,l4,be,H8,V8,U8,ws,Oe,ct,ia,Es,Xr,K0,sl,Y0,s4,q8,Z0,xs,W8,u4,pr,F1,I1,Or,ur,G8,T1,K8,Si,Tl,Rl,nh,bu,Y8,J0,ah,X0,R1,Z8,J8,X8,Qr,Q0,c4,un,B1,fo,z1,d4,ed,Bl,O1,L1,Q8,td,ir,rd,eE,nd,tE,ad,rE,od,nE,id,aE,ld,p4,sd,oE,ud,M1,f4,h4,m4,g4,cd,iE,dd,lE,v4,oh,$1,Dn,sE,Pa,uE,cE,dE,y4,pE,fE,ih,hE,lh,P1,pd,b4,w4,E4,x4,fd,Cs,Ds,wu,Ss,C4,D4,S4,A4,k4,_4,N1,F4,I4,mE,$_=B(()=>{Nv=Object.create,uo=Object.defineProperty,jv=Object.getOwnPropertyDescriptor,Hv=Object.getOwnPropertyNames,Vv=Object.getPrototypeOf,Uv=Object.prototype.hasOwnProperty,M0=c(e=>{throw TypeError(e)},"sr"),qv=c((e,t)=>()=>(e&&(t=e(e=0)),t),"_u"),il=c((e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),"At"),co=c((e,t)=>{for(var r in t)uo(e,r,{get:t[r],enumerable:!0})},"We"),$0=c((e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Hv(t))!Uv.call(e,a)&&a!==r&&uo(e,a,{get:c(()=>t[a],"get"),enumerable:!(n=jv(t,a))||n.enumerable});return e},"ar"),po=c((e,t,r)=>(r=e!=null?Nv(Vv(e)):{},$0(t||!e||!e.__esModule?uo(r,"default",{value:e,enumerable:!0}):r,e)),"Me"),Wv=c(e=>$0(uo({},"__esModule",{value:!0}),e),"vu"),Gv=c((e,t,r)=>t.has(e)||M0("Cannot "+r),"bu"),Kv=c((e,t,r)=>t.has(e)?M0("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),"Dr"),Nn=c((e,t,r)=>(Gv(e,t,"access private method"),r),"pe"),ll=il((e,t)=>{var r=new Proxy(String,{get:c(()=>r,"get")});t.exports=r}),P0={},co(P0,{default:c(()=>Zv,"default"),shouldHighlight:c(()=>Yv,"shouldHighlight")}),Jv=qv(()=>{Yv=c(()=>!1,"xo"),Zv=String}),Xv=il((e,t)=>{var r=String,n=c(function(){return{isColorSupported:!1,reset:r,bold:r,dim:r,italic:r,underline:r,inverse:r,hidden:r,strikethrough:r,black:r,red:r,green:r,yellow:r,blue:r,magenta:r,cyan:r,white:r,gray:r,bgBlack:r,bgRed:r,bgGreen:r,bgYellow:r,bgBlue:r,bgMagenta:r,bgCyan:r,bgWhite:r}},"Ln");t.exports=n(),t.exports.createColors=n}),Qv=il(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.codeFrameColumns=m,e.default=g;var t=(Jv(),Wv(P0)),r=a(Xv(),!0);function n(v){if(typeof WeakMap!="function")return null;var b=new WeakMap,x=new WeakMap;return(n=c(function(E){return E?x:b},"Wn"))(v)}c(n,"Wn");function a(v,b){if(!b&&v&&v.__esModule)return v;if(v===null||typeof v!="object"&&typeof v!="function")return{default:v};var x=n(b);if(x&&x.has(v))return x.get(v);var E={__proto__:null},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var w in v)if(w!=="default"&&{}.hasOwnProperty.call(v,w)){var D=C?Object.getOwnPropertyDescriptor(v,w):null;D&&(D.get||D.set)?Object.defineProperty(E,w,D):E[w]=v[w]}return E.default=v,x&&x.set(v,E),E}c(a,"vo");var o=r.default,i=c((v,b)=>x=>v(b(x)),"Rn"),s;function u(v){return v?(s!=null||(s=(0,r.createColors)(!0)),s):o}c(u,"Oo");var d=!1;function f(v){return{gutter:v.gray,marker:i(v.red,v.bold),message:i(v.red,v.bold)}}c(f,"So");var h=/\r\n|[\n\r\u2028\u2029]/;function p(v,b,x){let E=Object.assign({column:0,line:-1},v.start),C=Object.assign({},E,v.end),{linesAbove:w=2,linesBelow:D=3}=x||{},S=E.line,A=E.column,k=C.line,F=C.column,T=Math.max(S-(w+1),0),R=Math.min(b.length,k+D);S===-1&&(T=0),k===-1&&(R=b.length);let L=k-S,z={};if(L)for(let M=0;M<=L;M++){let O=M+S;if(!A)z[O]=!0;else if(M===0){let $=b[O-1].length;z[O]=[A,$-A+1]}else if(M===L)z[O]=[0,F];else{let $=b[O-M].length;z[O]=[0,$]}}else A===F?A?z[S]=[A,0]:z[S]=!0:z[S]=[A,F-A];return{start:T,end:R,markerLines:z}}c(p,"No");function m(v,b,x={}){let E=(x.highlightCode||x.forceColor)&&(0,t.shouldHighlight)(x),C=u(x.forceColor),w=f(C),D=c((z,M)=>E?z(M):M,"i"),S=v.split(h),{start:A,end:k,markerLines:F}=p(b,S,x),T=b.start&&typeof b.start.column=="number",R=String(k).length,L=(E?(0,t.default)(v,x):v).split(h,k).slice(A,k).map((z,M)=>{let O=A+1+M,$=` ${` ${O}`.slice(-R)} |`,H=F[O],K=!F[O+1];if(H){let N="";if(Array.isArray(H)){let W=z.slice(0,Math.max(H[0]-1,0)).replace(/[^\t]/g," "),te=H[1]||1;N=[` + `,D(w.gutter,$.replace(/\d/g," "))," ",W,D(w.marker,"^").repeat(te)].join(""),K&&x.message&&(N+=" "+D(w.message,x.message))}return[D(w.marker,">"),D(w.gutter,$),z.length>0?` ${z}`:"",N].join("")}else return` ${D(w.gutter,$)}${z.length>0?` ${z}`:""}`}).join(` +`);return x.message&&!T&&(L=`${" ".repeat(R+1)}${x.message} +${L}`),E?C.reset(L):L}c(m,"Mn");function g(v,b,x,E={}){if(!d){d=!0;let C="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";{let w=new Error(C);w.name="DeprecationWarning",console.warn(new Error(C))}}return x=Math.max(x,0),m(v,{start:{column:x,line:b}},E)}c(g,"To")}),N0={},co(N0,{__debug:c(()=>I4,"__debug"),check:c(()=>Pv,"check"),doc:c(()=>pd,"doc"),format:c(()=>S1,"format"),formatWithCursor:c(()=>N1,"formatWithCursor"),getSupportInfo:c(()=>F4,"getSupportInfo"),util:c(()=>fd,"util"),version:c(()=>x4,"version")}),e4=c((e,t,r,n)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(r,n):r.global?t.replace(r,n):t.split(r).join(n)},"Ou"),Di=e4,c(nr,"Z"),nr.prototype={diff:c(function(e,t){var r,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=n.callback;typeof n=="function"&&(a=n,n={}),this.options=n;var o=this;function i(C){return a?(setTimeout(function(){a(void 0,C)},0),!0):C}c(i,"s"),e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e)),t=this.removeEmpty(this.tokenize(t));var s=t.length,u=e.length,d=1,f=s+u;n.maxEditLength&&(f=Math.min(f,n.maxEditLength));var h=(r=n.timeout)!==null&&r!==void 0?r:1/0,p=Date.now()+h,m=[{oldPos:-1,lastComponent:void 0}],g=this.extractCommon(m[0],t,e,0);if(m[0].oldPos+1>=u&&g+1>=s)return i([{value:this.join(t),count:t.length}]);var v=-1/0,b=1/0;function x(){for(var C=Math.max(v,-d);C<=Math.min(b,d);C+=2){var w=void 0,D=m[C-1],S=m[C+1];D&&(m[C-1]=void 0);var A=!1;if(S){var k=S.oldPos-C;A=S&&0<=k&&k=u&&g+1>=s)return i(B5(o,w.lastComponent,t,e,o.useLongestToken));m[C]=w,w.oldPos+1>=u&&(b=Math.min(b,C-1)),g+1>=s&&(v=Math.max(v,C+1))}d++}if(c(x,"A"),a)c(function C(){setTimeout(function(){if(d>f||Date.now()>p)return a();x()||C()},0)},"h")();else for(;d<=f&&Date.now()<=p;){var E=x();if(E)return E}},"diff"),addToPath:c(function(e,t,r,n){var a=e.lastComponent;return a&&a.added===t&&a.removed===r?{oldPos:e.oldPos+n,lastComponent:{count:a.count+1,added:t,removed:r,previousComponent:a.previousComponent}}:{oldPos:e.oldPos+n,lastComponent:{count:1,added:t,removed:r,previousComponent:a}}},"addToPath"),extractCommon:c(function(e,t,r,n){for(var a=t.length,o=r.length,i=e.oldPos,s=i-n,u=0;s+1"u"?r:i}:n;return typeof e=="string"?e:JSON.stringify(ps(e,null,null,a),a," ")},jn.equals=function(e,t){return nr.prototype.equals.call(jn,e.replace(/,([\r\n])/g,"$1"),t.replace(/,([\r\n])/g,"$1"))},c(ps,"Bt"),_o=new nr,_o.tokenize=function(e){return e.slice()},_o.join=_o.removeEmpty=function(e){return e},c(J6,"dr"),c(X6,"Fr"),c(mu,"Be"),c(Uf,"wt"),c(Q6,"mr"),$r="string",Wt="array",_r="cursor",Gt="indent",Kt="align",Ht="trim",$e="group",vt="fill",je="if-break",Yt="indent-if-break",Zt="line-suffix",Vt="line-suffix-boundary",De="line",yt="label",Ke="break-parent",rh=new Set([_r,Gt,Kt,Ht,$e,vt,je,Yt,Zt,Vt,De,yt,Ke]),c(z5,"Lu"),Pr=z5,j8=c(e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e),"Pu"),c(O5,"Iu"),n4=(q0=class extends Error{constructor(t){super(O5(t));$n(this,"name","InvalidDocError");this.doc=t}},c(q0,"xt"),q0),vn=n4,A1={},c(L5,"Ru"),ys=L5,W0=c(()=>{},"hr"),bt=W0,yu=W0,c(Qo,"De"),c(gn,"ae"),c(o1,"_t"),c(M5,"Cr"),c($5,"gr"),c(P5,"yr"),c(N5,"Ar"),c(i1,"Ge"),c(j5,"Br"),c(H5,"wr"),c(fs,"xe"),a4={type:Vt},Fo={type:Ke},o4={type:Ht},Il={type:De,hard:!0},G0={type:De,hard:!0,literal:!0},k1={type:De},i4={type:De,soft:!0},Fr=[Il,Fo],_1=[G0,Fo],bs={type:_r},c(l1,"be"),c(s1,"Je"),c(V5,"br"),c(zt,"ee"),c(e8,"Or"),l4=c((e,t,r)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},"Yu"),be=l4,H8=c(()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g,"Sr"),c(U5,"Nr"),c(q5,"Tr"),V8=c(e=>!(U5(e)||q5(e)),"kr"),U8=/[^\x20-\x7F]/u,c(W5,"Hu"),ws=W5,c(ei,"Ne"),c(hs,"Xe"),c(t8,"Wu"),c(G5,"Ir"),c(u1,"Lr"),c(r8,"Rr"),c(n8,"Mu"),c(K5,"Yr"),c(c1,"Pr"),c(oa,"Se"),c(d1,"Ze"),c(a8,"$u"),c(o8,"Vu"),c(Y5,"jr"),c(i8,"Uu"),c(Z5,"Hr"),c(qf,"Qe"),Oe=Symbol("MODE_BREAK"),ct=Symbol("MODE_FLAT"),ia=Symbol("cursor"),c(Wf,"Wr"),c(l8,"zu"),c(s8,"Gu"),c(ms,"bt"),c(gs,"Ot"),c(ko,"et"),c(ti,"Fe"),c(J5,"Ku"),Es=J5,s4=(Y0=class{constructor(e){Kv(this,Xr),this.stack=[e]}get key(){let{stack:e,siblings:t}=this;return be(!1,e,t===null?-2:-4)??null}get index(){return this.siblings===null?null:be(!1,this.stack,-2)}get node(){return be(!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=be(!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[...Nn(this,Xr,sl).call(this)]}getName(){let{stack:e}=this,{length:t}=e;return t>1?be(!1,e,-2):null}getValue(){return be(!1,this.stack,-1)}getNode(e=0){let t=Nn(this,Xr,K0).call(this,e);return t===-1?null:this.stack[t]}getParentNode(e=0){return this.getNode(e+1)}call(e,...t){let{stack:r}=this,{length:n}=r,a=be(!1,r,-1);for(let o of t)a=a[o],r.push(o,a);try{return e(this)}finally{r.length=n}}callParent(e,t=0){let r=Nn(this,Xr,K0).call(this,t+1),n=this.stack.splice(r+1);try{return e(this)}finally{this.stack.push(...n)}}each(e,...t){let{stack:r}=this,{length:n}=r,a=be(!1,r,-1);for(let o of t)a=a[o],r.push(o,a);try{for(let o=0;o{r[a]=e(n,a,o)},...t),r}match(...e){let t=this.stack.length-1,r=null,n=this.stack[t--];for(let a of e){if(n===void 0)return!1;let o=null;if(typeof r=="number"&&(o=r,r=this.stack[t--],n=this.stack[t--]),a&&!a(n,r,o))return!1;r=this.stack[t--],n=this.stack[t--]}return!0}findAncestor(e){for(let t of Nn(this,Xr,sl).call(this))if(e(t))return t}hasAncestor(e){for(let t of Nn(this,Xr,sl).call(this))if(e(t))return!0;return!1}},c(Y0,"St"),Y0),Xr=new WeakSet,K0=c(function(e){let{stack:t}=this;for(let r=t.length-1;r>=0;r-=2)if(!Array.isArray(t[r])&&--e<0)return r;return-1},"Nt"),sl=c(function*(){let{stack:e}=this;for(let t=e.length-3;t>=0;t-=2){let r=e[t];Array.isArray(r)||(yield r)}},"tt"),q8=s4,Z0=new Proxy(()=>{},{get:c(()=>Z0,"get")}),xs=Z0,c(X5,"qu"),W8=X5,c(Gf,"Tt"),c(u8,"Ur"),c(Pn,"Ee"),u4=Pn(/\s/u),pr=Pn(" "),F1=Pn(",; "),I1=Pn(/[^\n\r]/u),c(Q5,"Ju"),Or=Q5,c(ev,"Xu"),ur=ev,c(tv,"Zu"),G8=tv,T1=new Set(["tokens","comments","parent","enclosingNode","precedingNode","followingNode"]),K8=c(e=>Object.keys(e).filter(t=>!T1.has(t)),"Qu"),c(rv,"eo"),Si=rv,c(c8,"to"),c(gu,"Lt"),c(ln,"ue"),c(Vo,"re"),c(sn,"oe"),Tl=new WeakMap,c(vu,"ut"),c(Kf,"qr"),Rl=c(()=>!1,"It"),c(d8,"Jr"),nh=c(e=>!/[\S\n\u2028\u2029]/u.test(e),"Xr"),c(p8,"ro"),c(f8,"no"),c(p1,"Kr"),c(kl,"Rt"),c(nv,"uo"),bu=nv,c(Yf,"Zr"),c(h8,"oo"),c(m8,"io"),c(g8,"so"),c(v8,"Qr"),c(y8,"en"),c(av,"ao"),Y8=av,ah=(J0=class extends Error{constructor(){super(...arguments);$n(this,"name","ConfigError")}},c(J0,"Pe"),J0),R1=(X0=class extends Error{constructor(){super(...arguments);$n(this,"name","UndefinedParserError")}},c(X0,"Ie"),X0),Z8={cursorOffset:{category:"Special",type:"int",default:-1,range:{start:-1,end:1/0,step:1},description:"Print (to stderr) where a cursor at the given position would move to after formatting.",cliCategory:"Editor"},endOfLine:{category:"Global",type:"choice",default:"lf",description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:`Maintain existing +(mixed values within one file are normalised by looking at what's used after the first line)`}]},filepath:{category:"Special",type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:"Other",cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{category:"Special",type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:"Other"},parser:{category:"Global",type:"choice",default:void 0,description:"Which parser to use.",exception:c(e=>typeof e=="string"||typeof e=="function","exception"),choices:[{value:"flow",description:"Flow"},{value:"babel",description:"JavaScript"},{value:"babel-flow",description:"Flow"},{value:"babel-ts",description:"TypeScript"},{value:"typescript",description:"TypeScript"},{value:"acorn",description:"JavaScript"},{value:"espree",description:"JavaScript"},{value:"meriyah",description:"JavaScript"},{value:"css",description:"CSS"},{value:"less",description:"Less"},{value:"scss",description:"SCSS"},{value:"json",description:"JSON"},{value:"json5",description:"JSON5"},{value:"jsonc",description:"JSON with Comments"},{value:"json-stringify",description:"JSON.stringify"},{value:"graphql",description:"GraphQL"},{value:"markdown",description:"Markdown"},{value:"mdx",description:"MDX"},{value:"vue",description:"Vue"},{value:"yaml",description:"YAML"},{value:"glimmer",description:"Ember / Handlebars"},{value:"html",description:"HTML"},{value:"angular",description:"Angular"},{value:"lwc",description:"Lightning Web Components"}]},plugins:{type:"path",array:!0,default:[{value:[]}],category:"Global",description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:c(e=>typeof e=="string"||typeof e=="object","exception"),cliName:"plugin",cliCategory:"Config"},printWidth:{category:"Global",type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:1/0,step:1}},rangeEnd:{category:"Special",type:"int",default:1/0,range:{start:0,end:1/0,step:1},description:`Format code ending at a given character offset (exclusive). +The range will extend forwards to the end of the selected statement.`,cliCategory:"Editor"},rangeStart:{category:"Special",type:"int",default:0,range:{start:0,end:1/0,step:1},description:`Format code starting at a given character offset. +The range will extend backwards to the start of the first line containing the selected statement.`,cliCategory:"Editor"},requirePragma:{category:"Special",type:"boolean",default:!1,description:`Require either '@prettier' or '@format' to be present in the file's first docblock comment +in order for it to be formatted.`,cliCategory:"Other"},tabWidth:{type:"int",category:"Global",default:2,description:"Number of spaces per indentation level.",range:{start:0,end:1/0,step:1}},useTabs:{category:"Global",type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{category:"Global",type:"choice",default:"auto",description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}},c(f1,"ot"),c(b8,"Do"),c(w8,"lo"),J8=c(e=>String(e).split(/[/\\]/u).pop(),"co"),c(h1,"nn"),c(E8,"fo"),c(ov,"po"),X8=ov,Qr={key:c(e=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),"key"),value(e){if(e===null||typeof e!="object")return JSON.stringify(e);if(Array.isArray(e))return`[${e.map(r=>Qr.value(r)).join(", ")}]`;let t=Object.keys(e);return t.length===0?"{}":`{ ${t.map(r=>`${Qr.key(r)}: ${Qr.value(e[r])}`).join(", ")} }`},pair:c(({key:e,value:t})=>Qr.value({[e]:t}),"pair")},Q0=po(ll(),1),c4=c((e,t,{descriptor:r})=>{let n=[`${Q0.default.yellow(typeof e=="string"?r.key(e):r.pair(e))} is deprecated`];return t&&n.push(`we now treat it as ${Q0.default.blue(typeof t=="string"?r.key(t):r.pair(t))}`),n.join("; ")+"."},"an"),un=po(ll(),1),B1=Symbol.for("vnopts.VALUE_NOT_EXIST"),fo=Symbol.for("vnopts.VALUE_UNCHANGED"),z1=" ".repeat(2),d4=c((e,t,r)=>{let{text:n,list:a}=r.normalizeExpectedResult(r.schemas[e].expected(r)),o=[];return n&&o.push(T0(e,t,n,r.descriptor)),a&&o.push([T0(e,t,a.title,r.descriptor)].concat(a.values.map(i=>m1(i,r.loggerPrintWidth))).join(` +`)),g1(o,r.loggerPrintWidth)},"cn"),c(T0,"ln"),c(m1,"fn"),c(g1,"pn"),ed=po(ll(),1),Bl=[],O1=[],c(iv,"Ht"),L1=c((e,t,{descriptor:r,logger:n,schemas:a})=>{let o=[`Ignored unknown option ${ed.default.yellow(r.pair({key:e,value:t}))}.`],i=Object.keys(a).sort().find(s=>iv(e,s)<3);i&&o.push(`Did you mean ${ed.default.blue(r.key(i))}?`),n.warn(o.join(" "))},"at"),Q8=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"],c(lv,"mo"),ir=(td=class{static create(e){return lv(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 fo}},c(td,"O"),td),c(x8,"Eo"),eE=(rd=class extends ir{constructor(e){super(e),this._sourceName=e.sourceName}expected(e){return e.schemas[this._sourceName].expected(e)}validate(e,t){return t.schemas[this._sourceName].validate(e,t)}redirect(e,t){return this._sourceName}},c(rd,"Dt"),rd),tE=(nd=class extends ir{expected(){return"anything"}validate(){return!0}},c(nd,"lt"),nd),rE=(ad=class extends ir{constructor({valueSchema:e,name:t=e.name,...r}){super({...r,name:t}),this._valueSchema=e}expected(e){let{text:t,list:r}=e.normalizeExpectedResult(this._valueSchema.expected(e));return{text:t&&`an array of ${t}`,list:r&&{title:"an array of the following values",values:[{list:r}]}}}validate(e,t){if(!Array.isArray(e))return!1;let r=[];for(let n of e){let a=t.normalizeValidateResult(this._valueSchema.validate(n,t),n);a!==!0&&r.push(a.value)}return r.length===0?!0:{value:r}}deprecated(e,t){let r=[];for(let n of e){let a=t.normalizeDeprecatedResult(this._valueSchema.deprecated(n,t),n);a!==!1&&r.push(...a.map(({value:o})=>({value:[o]})))}return r}forward(e,t){let r=[];for(let n of e){let a=t.normalizeForwardResult(this._valueSchema.forward(n,t),n);r.push(...a.map(R0))}return r}redirect(e,t){let r=[],n=[];for(let a of e){let o=t.normalizeRedirectResult(this._valueSchema.redirect(a,t),a);"remain"in o&&r.push(o.remain),n.push(...o.redirect.map(R0))}return r.length===0?{redirect:n}:{redirect:n,remain:r}}overlap(e,t){return e.concat(t)}},c(ad,"ct"),ad),c(R0,"Fn"),nE=(od=class extends ir{expected(){return"true or false"}validate(e){return typeof e=="boolean"}},c(od,"ft"),od),c(sv,"En"),c(uv,"hn"),c(cv,"Cn"),c(dv,"gn"),c(pv,"yn"),c(fv,"An"),c(hv,"Bn"),c(B0,"Mt"),c(v1,"$t"),c(z0,"Vt"),c(O0,"Ut"),c(y1,"mn"),c(_l,"pt"),c(L0,"zt"),c(C8,"ho"),aE=(id=class extends ir{constructor(e){super(e),this._choices=uv(e.choices.map(t=>t&&typeof t=="object"?t:{value:t}),"value")}expected({descriptor:e}){let t=Array.from(this._choices.keys()).map(a=>this._choices.get(a)).filter(({hidden:a})=>!a).map(a=>a.value).sort(fv).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}},c(id,"dt"),id),p4=(ld=class extends ir{expected(){return"a number"}validate(e,t){return typeof e=="number"}},c(ld,"Ft"),ld),oE=(sd=class extends p4{expected(){return"an integer"}validate(e,t){return t.normalizeValidateResult(super.validate(e,t),e)===!0&&pv(e)}},c(sd,"mt"),sd),M1=(ud=class extends ir{expected(){return"a string"}validate(e){return typeof e=="string"}},c(ud,"Re"),ud),f4=Qr,h4=L1,m4=d4,g4=c4,iE=(cd=class{constructor(e,t){let{logger:r=console,loggerPrintWidth:n=80,descriptor:a=f4,unknown:o=h4,invalid:i=m4,deprecated:s=g4,missing:u=c(()=>!1,"D"),required:d=c(()=>!1,"l"),preprocess:f=c(p=>p,"d"),postprocess:h=c(()=>fo,"f")}=t||{};this._utils={descriptor:a,logger:r||{warn:c(()=>{},"warn")},loggerPrintWidth:n,schemas:sv(e,"name"),normalizeDefaultResult:B0,normalizeExpectedResult:v1,normalizeDeprecatedResult:O0,normalizeForwardResult:_l,normalizeRedirectResult:L0,normalizeValidateResult:z0},this._unknownHandler=o,this._invalidHandler=hv(i),this._deprecatedHandler=s,this._identifyMissing=(p,m)=>!(p in m)||u(p,m),this._identifyRequired=d,this._preprocess=f,this._postprocess=h,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=cv()}normalize(e){let t={},r=[this._preprocess(e,this._utils)],n=c(()=>{for(;r.length!==0;){let a=r.shift(),o=this._applyNormalization(a,t);r.push(...o)}},"u");n();for(let a of Object.keys(this._utils.schemas)){let o=this._utils.schemas[a];if(!(a in t)){let i=B0(o.default(this._utils));"value"in i&&r.push({[a]:i.value})}}n();for(let a of Object.keys(this._utils.schemas)){if(!(a in t))continue;let o=this._utils.schemas[a],i=t[a],s=o.postprocess(i,this._utils);s!==fo&&(this._applyValidation(s,a,o),t[a]=s)}return this._applyPostprocess(t),this._applyRequiredCheck(t),t}_applyNormalization(e,t){let r=[],{knownKeys:n,unknownKeys:a}=this._partitionOptionKeys(e);for(let o of n){let i=this._utils.schemas[o],s=i.preprocess(e[o],this._utils);this._applyValidation(s,o,i);let u=c(({from:h,to:p})=>{r.push(typeof p=="string"?{[p]:h}:{[p.key]:p.value})},"D"),d=c(({value:h,redirectTo:p})=>{let m=O0(i.deprecated(h,this._utils),s,!0);if(m!==!1)if(m===!0)this._hasDeprecationWarned(o)||this._utils.logger.warn(this._deprecatedHandler(o,p,this._utils));else for(let{value:g}of m){let v={key:o,value:g};if(!this._hasDeprecationWarned(v)){let b=typeof p=="string"?{key:p,value:g}:p;this._utils.logger.warn(this._deprecatedHandler(v,b,this._utils))}}},"l");_l(i.forward(s,this._utils),s).forEach(u);let f=L0(i.redirect(s,this._utils),s);if(f.redirect.forEach(u),"remain"in f){let h=f.remain;t[o]=o in t?i.overlap(t[o],h,this._utils):h,d({value:h})}for(let{from:h,to:p}of f.redirect)d({value:h,redirectTo:p})}for(let o of a){let i=e[o];this._applyUnknownHandler(o,i,t,(s,u)=>{r.push({[s]:u})})}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,B1,this._utils)}_partitionOptionKeys(e){let[t,r]=dv(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=z0(r.validate(e,this._utils),e);if(n!==!0)throw this._invalidHandler(t,n.value,this._utils)}_applyUnknownHandler(e,t,r,n){let a=this._unknownHandler(e,t,this._utils);if(a)for(let o of Object.keys(a)){if(this._identifyMissing(o,a))continue;let i=a[o];o in this._utils.schemas?n(o,i):r[o]=i}}_applyPostprocess(e){let t=this._postprocess(e,this._utils);if(t!==fo){if(t.delete)for(let r of t.delete)delete e[r];if(t.override){let{knownKeys:r,unknownKeys:n}=this._partitionOptionKeys(t.override);for(let a of r){let o=t.override[a];this._applyValidation(o,a,this._utils.schemas[a]),e[a]=o}for(let a of n){let o=t.override[a];this._applyUnknownHandler(a,o,e,(i,s)=>{let u=this._utils.schemas[i];this._applyValidation(s,i,u),e[i]=s})}}}}},c(cd,"Et"),cd),c(mv,"go"),c(D8,"yo"),c(S8,"Ao"),lE=mv,v4=c((e,t,r)=>{if(!(e&&t==null)){if(t.findLast)return t.findLast(r);for(let n=t.length-1;n>=0;n--){let a=t[n];if(r(a,n,t))return a}}},"Bo"),oh=v4,c(Zf,"qt"),c(A8,"On"),c(Jf,"ht"),c(Xf,"Jt"),c(k8,"Sn"),$1={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null},c(gv,"wo"),Dn=gv,sE=po(Qv(),1),c(vv,"ko"),c(_8,"Lo"),Pa=vv,c(F8,"Un"),c(I8,"Po"),c(yv,"Io"),uE=yv,c(Ci,"Ye"),c(b1,"Gn"),c(Qf,"Qt"),c(bv,"Ro"),cE=bv,c(wv,"Yo"),dE=wv,y4=c((e,t,r)=>{if(!(e&&t==null)){if(t.findLastIndex)return t.findLastIndex(r);for(let n=t.length-1;n>=0;n--){let a=t[n];if(r(a,n,t))return n}return-1}},"jo"),pE=y4,fE=c(({parser:e})=>e==="json"||e==="json5"||e==="jsonc"||e==="json-stringify","Ho"),c(T8,"Wo"),c(w1,"Xn"),c(R8,"Mo"),c(vs,"er"),c(B8,"$o"),ih=new Set(["JsonRoot","ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),hE=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]),c(E1,"Zn"),c(z8,"eu"),lh="\uFEFF",P1=Symbol("cursor"),c(eh,"ou"),c(O8,"Uo"),c(Fl,"tr"),c(x1,"ru"),c(th,"iu"),c(C1,"nu"),c(D1,"rr"),c(Ev,"su"),c(xv,"au"),c(Cv,"Du"),c(Dv,"lu"),c(Sv,"cu"),pd={},co(pd,{builders:c(()=>b4,"builders"),printer:c(()=>w4,"printer"),utils:c(()=>E4,"utils")}),b4={join:l1,line:k1,softline:i4,hardline:Fr,literalline:_1,group:o1,conditionalGroup:N5,fill:i1,lineSuffix:fs,lineSuffixBoundary:a4,cursor:bs,breakParent:Fo,ifBreak:j5,trim:o4,indent:Qo,indentIfBreak:H5,align:gn,addAlignmentToDoc:s1,markAsRoot:$5,dedentToRoot:M5,dedent:P5,hardlineWithoutBreakParent:Il,literallineWithoutBreakParent:G0,label:V5,concat:c(e=>e,"concat")},w4={printDocToString:ti},E4={willBreak:G5,traverseDoc:ys,findInDoc:hs,mapDoc:ei,removeLines:K5,stripTrailingHardline:d1,replaceEndOfLine:Y5,canBreak:Z5},x4="3.3.3",fd={},co(fd,{addDanglingComment:c(()=>Vo,"addDanglingComment"),addLeadingComment:c(()=>ln,"addLeadingComment"),addTrailingComment:c(()=>sn,"addTrailingComment"),getAlignmentSize:c(()=>Es,"getAlignmentSize"),getIndentSize:c(()=>C4,"getIndentSize"),getMaxContinuousCount:c(()=>D4,"getMaxContinuousCount"),getNextNonSpaceNonCommentCharacter:c(()=>S4,"getNextNonSpaceNonCommentCharacter"),getNextNonSpaceNonCommentCharacterIndex:c(()=>Lv,"getNextNonSpaceNonCommentCharacterIndex"),getStringWidth:c(()=>ws,"getStringWidth"),hasNewline:c(()=>ur,"hasNewline"),hasNewlineInRange:c(()=>A4,"hasNewlineInRange"),hasSpaces:c(()=>k4,"hasSpaces"),isNextLineEmpty:c(()=>$v,"isNextLineEmpty"),isNextLineEmptyAfterIndex:c(()=>Ss,"isNextLineEmptyAfterIndex"),isPreviousLineEmpty:c(()=>Mv,"isPreviousLineEmpty"),makeString:c(()=>_4,"makeString"),skip:c(()=>Pn,"skip"),skipEverythingButNewLine:c(()=>I1,"skipEverythingButNewLine"),skipInlineComment:c(()=>Cs,"skipInlineComment"),skipNewline:c(()=>Or,"skipNewline"),skipSpaces:c(()=>pr,"skipSpaces"),skipToLineEnd:c(()=>F1,"skipToLineEnd"),skipTrailingComment:c(()=>Ds,"skipTrailingComment"),skipWhitespace:c(()=>u4,"skipWhitespace")}),c(Av,"Jo"),Cs=Av,c(kv,"Xo"),Ds=kv,c(_v,"Zo"),wu=_v,c(Fv,"Qo"),Ss=Fv,c(Iv,"ei"),C4=Iv,c(L8,"ur"),c(Tv,"ti"),D4=Tv,c(Rv,"ri"),S4=Rv,c(Bv,"ni"),A4=Bv,c(zv,"ui"),k4=zv,c(Ov,"oi"),_4=Ov,c(M8,"ii"),c(Lv,"si"),c($8,"ai"),c(Mv,"Di"),c(P8,"li"),c($v,"ci"),c(vr,"fe"),N1=vr(D1),c(S1,"gu"),c(Pv,"fi"),F4=vr(f1,0),I4={parse:vr(Ev),formatAST:vr(xv),formatDoc:vr(Cv),printToDoc:vr(Dv),printDocToString:vr(Sv)},mE=N0});function gE(e){for(var t=[],r=1;r{c(gE,"dedent")}),vE={};Oa(vE,{formatter:()=>yE});var T4,yE,N_=B(()=>{T4=Ae(Xs(),1),M_(),$_(),P_(),yE=(0,T4.default)(2)(async(e,t)=>e===!1?t:e==="dedent"||e===!0?gE(t):(await mE.format(t,{parser:e,plugins:[Z6],htmlWhitespaceSensitivity:"ignore"})).trim())}),j1,H1,j_=B(()=>{j1=c(function(e){return e.reduce(function(t,r){var n=r[0],a=r[1];return t[n]=a,t},{})},"fromEntries"),H1=typeof window<"u"&&window.document&&window.document.createElement?l.useLayoutEffect:l.useEffect}),Le,Ze,Je,Me,As,la,pn,sa,bE,sh,Xn,wE,V1,uh,R4,B4,z4,O4,L4,M4,$4,P4,N4,EE,rt=B(()=>{Le="top",Ze="bottom",Je="right",Me="left",As="auto",la=[Le,Ze,Je,Me],pn="start",sa="end",bE="clippingParents",sh="viewport",Xn="popper",wE="reference",V1=la.reduce(function(e,t){return e.concat([t+"-"+pn,t+"-"+sa])},[]),uh=[].concat(la,[As]).reduce(function(e,t){return e.concat([t,t+"-"+pn,t+"-"+sa])},[]),R4="beforeRead",B4="read",z4="afterRead",O4="beforeMain",L4="main",M4="afterMain",$4="beforeWrite",P4="write",N4="afterWrite",EE=[R4,B4,z4,O4,L4,M4,$4,P4,N4]});function wt(e){return e?(e.nodeName||"").toLowerCase():null}var Sn=B(()=>{c(wt,"getNodeName")});function Ve(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}var Xt=B(()=>{c(Ve,"getWindow")});function Lr(e){var t=Ve(e).Element;return e instanceof t||e instanceof Element}function Ye(e){var t=Ve(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Eu(e){if(typeof ShadowRoot>"u")return!1;var t=Ve(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var nt=B(()=>{Xt(),c(Lr,"isElement"),c(Ye,"isHTMLElement"),c(Eu,"isShadowRoot")});function j4(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},a=t.attributes[r]||{},o=t.elements[r];!Ye(o)||!wt(o)||(Object.assign(o.style,n),Object.keys(a).forEach(function(i){var s=a[i];s===!1?o.removeAttribute(i):o.setAttribute(i,s===!0?"":s)}))})}function H4(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var a=t.elements[n],o=t.attributes[n]||{},i=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),s=i.reduce(function(u,d){return u[d]="",u},{});!Ye(a)||!wt(a)||(Object.assign(a.style,s),Object.keys(o).forEach(function(u){a.removeAttribute(u)}))})}}var xE,H_=B(()=>{Sn(),nt(),c(j4,"applyStyles"),c(H4,"effect"),xE={name:"applyStyles",enabled:!0,phase:"write",fn:j4,effect:H4,requires:["computeStyles"]}});function gt(e){return e.split("-")[0]}var An=B(()=>{c(gt,"getBasePlacement")}),Ir,ri,yn,kn=B(()=>{Ir=Math.max,ri=Math.min,yn=Math.round});function ks(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}var CE=B(()=>{c(ks,"getUAString")});function ch(){return!/^((?!chrome|android).)*safari/i.test(ks())}var DE=B(()=>{CE(),c(ch,"isLayoutViewport")});function bn(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),a=1,o=1;t&&Ye(e)&&(a=e.offsetWidth>0&&yn(n.width)/e.offsetWidth||1,o=e.offsetHeight>0&&yn(n.height)/e.offsetHeight||1);var i=Lr(e)?Ve(e):window,s=i.visualViewport,u=!ch()&&r,d=(n.left+(u&&s?s.offsetLeft:0))/a,f=(n.top+(u&&s?s.offsetTop:0))/o,h=n.width/a,p=n.height/o;return{width:h,height:p,top:f,right:d+h,bottom:f+p,left:d,x:d,y:f}}var Ai=B(()=>{nt(),kn(),Xt(),DE(),c(bn,"getBoundingClientRect")});function xu(e){var t=bn(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}var dh=B(()=>{Ai(),c(xu,"getLayoutRect")});function ph(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Eu(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}var SE=B(()=>{nt(),c(ph,"contains")});function Jt(e){return Ve(e).getComputedStyle(e)}var ki=B(()=>{Xt(),c(Jt,"getComputedStyle")});function AE(e){return["table","td","th"].indexOf(wt(e))>=0}var V_=B(()=>{Sn(),c(AE,"isTableElement")});function mr(e){return((Lr(e)?e.ownerDocument:e.document)||window.document).documentElement}var Nr=B(()=>{nt(),c(mr,"getDocumentElement")});function _i(e){return wt(e)==="html"?e:e.assignedSlot||e.parentNode||(Eu(e)?e.host:null)||mr(e)}var Cu=B(()=>{Sn(),Nr(),nt(),c(_i,"getParentNode")});function U1(e){return!Ye(e)||Jt(e).position==="fixed"?null:e.offsetParent}function kE(e){var t=/firefox/i.test(ks()),r=/Trident/i.test(ks());if(r&&Ye(e)){var n=Jt(e);if(n.position==="fixed")return null}var a=_i(e);for(Eu(a)&&(a=a.host);Ye(a)&&["html","body"].indexOf(wt(a))<0;){var o=Jt(a);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return a;a=a.parentNode}return null}function Na(e){for(var t=Ve(e),r=U1(e);r&&AE(r)&&Jt(r).position==="static";)r=U1(r);return r&&(wt(r)==="html"||wt(r)==="body"&&Jt(r).position==="static")?t:r||kE(e)||t}var Fi=B(()=>{Xt(),Sn(),ki(),nt(),V_(),Cu(),CE(),c(U1,"getTrueOffsetParent"),c(kE,"getContainingBlock"),c(Na,"getOffsetParent")});function Du(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}var fh=B(()=>{c(Du,"getMainAxisFromPlacement")});function ua(e,t,r){return Ir(e,ri(t,r))}function _E(e,t,r){var n=ua(e,t,r);return n>r?r:n}var FE=B(()=>{kn(),c(ua,"within"),c(_E,"withinMaxClamp")});function hh(){return{top:0,right:0,bottom:0,left:0}}var IE=B(()=>{c(hh,"getFreshSideObject")});function mh(e){return Object.assign({},hh(),e)}var TE=B(()=>{IE(),c(mh,"mergePaddingObject")});function gh(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var RE=B(()=>{c(gh,"expandToHashMap")});function V4(e){var t,r=e.state,n=e.name,a=e.options,o=r.elements.arrow,i=r.modifiersData.popperOffsets,s=gt(r.placement),u=Du(s),d=[Me,Je].indexOf(s)>=0,f=d?"height":"width";if(!(!o||!i)){var h=BE(a.padding,r),p=xu(o),m=u==="y"?Le:Me,g=u==="y"?Ze:Je,v=r.rects.reference[f]+r.rects.reference[u]-i[u]-r.rects.popper[f],b=i[u]-r.rects.reference[u],x=Na(o),E=x?u==="y"?x.clientHeight||0:x.clientWidth||0:0,C=v/2-b/2,w=h[m],D=E-p[f]-h[g],S=E/2-p[f]/2+C,A=ua(w,S,D),k=u;r.modifiersData[n]=(t={},t[k]=A,t.centerOffset=A-S,t)}}function U4(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)||ph(t.elements.popper,a)&&(t.elements.arrow=a))}var BE,zE,U_=B(()=>{An(),dh(),SE(),Fi(),fh(),FE(),TE(),RE(),rt(),BE=c(function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,mh(typeof e!="number"?e:gh(e,la))},"toPaddingObject"),c(V4,"arrow"),c(U4,"effect"),zE={name:"arrow",enabled:!0,phase:"main",fn:V4,effect:U4,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}});function wn(e){return e.split("-")[1]}var Ii=B(()=>{c(wn,"getVariation")});function OE(e,t){var r=e.x,n=e.y,a=t.devicePixelRatio||1;return{x:yn(r*a)/a||0,y:yn(n*a)/a||0}}function q1(e){var t,r=e.popper,n=e.popperRect,a=e.placement,o=e.variation,i=e.offsets,s=e.position,u=e.gpuAcceleration,d=e.adaptive,f=e.roundOffsets,h=e.isFixed,p=i.x,m=p===void 0?0:p,g=i.y,v=g===void 0?0:g,b=typeof f=="function"?f({x:m,y:v}):{x:m,y:v};m=b.x,v=b.y;var x=i.hasOwnProperty("x"),E=i.hasOwnProperty("y"),C=Me,w=Le,D=window;if(d){var S=Na(r),A="clientHeight",k="clientWidth";if(S===Ve(r)&&(S=mr(r),Jt(S).position!=="static"&&s==="absolute"&&(A="scrollHeight",k="scrollWidth")),S=S,a===Le||(a===Me||a===Je)&&o===sa){w=Ze;var F=h&&S===D&&D.visualViewport?D.visualViewport.height:S[A];v-=F-n.height,v*=u?1:-1}if(a===Me||(a===Le||a===Ze)&&o===sa){C=Je;var T=h&&S===D&&D.visualViewport?D.visualViewport.width:S[k];m-=T-n.width,m*=u?1:-1}}var R=Object.assign({position:s},d&&LE),L=f===!0?OE({x:m,y:v},Ve(r)):{x:m,y:v};if(m=L.x,v=L.y,u){var z;return Object.assign({},R,(z={},z[w]=E?"0":"",z[C]=x?"0":"",z.transform=(D.devicePixelRatio||1)<=1?"translate("+m+"px, "+v+"px)":"translate3d("+m+"px, "+v+"px, 0)",z))}return Object.assign({},R,(t={},t[w]=E?v+"px":"",t[C]=x?m+"px":"",t.transform="",t))}function q4(e){var t=e.state,r=e.options,n=r.gpuAcceleration,a=n===void 0?!0:n,o=r.adaptive,i=o===void 0?!0:o,s=r.roundOffsets,u=s===void 0?!0:s,d={placement:gt(t.placement),variation:wn(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,q1(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:u})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,q1(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var LE,ME,q_=B(()=>{rt(),Fi(),Xt(),Nr(),ki(),An(),Ii(),kn(),LE={top:"auto",right:"auto",bottom:"auto",left:"auto"},c(OE,"roundOffsetsByDPR"),c(q1,"mapToStyles"),c(q4,"computeStyles"),ME={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:q4,data:{}}});function W4(e){var t=e.state,r=e.instance,n=e.options,a=n.scroll,o=a===void 0?!0:a,i=n.resize,s=i===void 0?!0:i,u=Ve(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&d.forEach(function(f){f.addEventListener("scroll",r.update,Io)}),s&&u.addEventListener("resize",r.update,Io),function(){o&&d.forEach(function(f){f.removeEventListener("scroll",r.update,Io)}),s&&u.removeEventListener("resize",r.update,Io)}}var Io,$E,W_=B(()=>{Xt(),Io={passive:!0},c(W4,"effect"),$E={name:"eventListeners",enabled:!0,phase:"write",fn:c(function(){},"fn"),effect:W4,data:{}}});function Uo(e){return e.replace(/left|right|bottom|top/g,function(t){return PE[t]})}var PE,G_=B(()=>{PE={left:"right",right:"left",bottom:"top",top:"bottom"},c(Uo,"getOppositePlacement")});function W1(e){return e.replace(/start|end/g,function(t){return NE[t]})}var NE,K_=B(()=>{NE={start:"end",end:"start"},c(W1,"getOppositeVariationPlacement")});function Su(e){var t=Ve(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}var vh=B(()=>{Xt(),c(Su,"getWindowScroll")});function Au(e){return bn(mr(e)).left+Su(e).scrollLeft}var yh=B(()=>{Ai(),Nr(),vh(),c(Au,"getWindowScrollBarX")});function jE(e,t){var r=Ve(e),n=mr(e),a=r.visualViewport,o=n.clientWidth,i=n.clientHeight,s=0,u=0;if(a){o=a.width,i=a.height;var d=ch();(d||!d&&t==="fixed")&&(s=a.offsetLeft,u=a.offsetTop)}return{width:o,height:i,x:s+Au(e),y:u}}var Y_=B(()=>{Xt(),Nr(),yh(),DE(),c(jE,"getViewportRect")});function HE(e){var t,r=mr(e),n=Su(e),a=(t=e.ownerDocument)==null?void 0:t.body,o=Ir(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),i=Ir(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),s=-n.scrollLeft+Au(e),u=-n.scrollTop;return Jt(a||r).direction==="rtl"&&(s+=Ir(r.clientWidth,a?a.clientWidth:0)-o),{width:o,height:i,x:s,y:u}}var Z_=B(()=>{Nr(),ki(),yh(),vh(),kn(),c(HE,"getDocumentRect")});function ku(e){var t=Jt(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}var bh=B(()=>{ki(),c(ku,"isScrollParent")});function wh(e){return["html","body","#document"].indexOf(wt(e))>=0?e.ownerDocument.body:Ye(e)&&ku(e)?e:wh(_i(e))}var J_=B(()=>{Cu(),bh(),Sn(),nt(),c(wh,"getScrollParent")});function ca(e,t){var r;t===void 0&&(t=[]);var n=wh(e),a=n===((r=e.ownerDocument)==null?void 0:r.body),o=Ve(n),i=a?[o].concat(o.visualViewport||[],ku(n)?n:[]):n,s=t.concat(i);return a?s:s.concat(ca(_i(i)))}var VE=B(()=>{J_(),Cu(),Xt(),bh(),c(ca,"listScrollParents")});function _s(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}var UE=B(()=>{c(_s,"rectToClientRect")});function qE(e,t){var r=bn(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 G1(e,t,r){return t===sh?_s(jE(e,r)):Lr(t)?qE(t,r):_s(HE(mr(e)))}function WE(e){var t=ca(_i(e)),r=["absolute","fixed"].indexOf(Jt(e).position)>=0,n=r&&Ye(e)?Na(e):e;return Lr(n)?t.filter(function(a){return Lr(a)&&ph(a,n)&&wt(a)!=="body"}):[]}function GE(e,t,r,n){var a=t==="clippingParents"?WE(e):[].concat(t),o=[].concat(a,[r]),i=o[0],s=o.reduce(function(u,d){var f=G1(e,d,n);return u.top=Ir(f.top,u.top),u.right=ri(f.right,u.right),u.bottom=ri(f.bottom,u.bottom),u.left=Ir(f.left,u.left),u},G1(e,i,n));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}var X_=B(()=>{rt(),Y_(),Z_(),VE(),Fi(),Nr(),ki(),nt(),Ai(),Cu(),SE(),Sn(),UE(),kn(),c(qE,"getInnerBoundingClientRect"),c(G1,"getClientRectFromMixedType"),c(WE,"getClippingParents"),c(GE,"getClippingRect")});function Eh(e){var t=e.reference,r=e.element,n=e.placement,a=n?gt(n):null,o=n?wn(n):null,i=t.x+t.width/2-r.width/2,s=t.y+t.height/2-r.height/2,u;switch(a){case Le:u={x:i,y:t.y-r.height};break;case Ze:u={x:i,y:t.y+t.height};break;case Je:u={x:t.x+t.width,y:s};break;case Me:u={x:t.x-r.width,y:s};break;default:u={x:t.x,y:t.y}}var d=a?Du(a):null;if(d!=null){var f=d==="y"?"height":"width";switch(o){case pn:u[d]=u[d]-(t[f]/2-r[f]/2);break;case sa:u[d]=u[d]+(t[f]/2-r[f]/2);break}}return u}var KE=B(()=>{An(),Ii(),fh(),rt(),c(Eh,"computeOffsets")});function Aa(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=n===void 0?e.placement:n,o=r.strategy,i=o===void 0?e.strategy:o,s=r.boundary,u=s===void 0?bE:s,d=r.rootBoundary,f=d===void 0?sh:d,h=r.elementContext,p=h===void 0?Xn:h,m=r.altBoundary,g=m===void 0?!1:m,v=r.padding,b=v===void 0?0:v,x=mh(typeof b!="number"?b:gh(b,la)),E=p===Xn?wE:Xn,C=e.rects.popper,w=e.elements[g?E:p],D=GE(Lr(w)?w:w.contextElement||mr(e.elements.popper),u,f,i),S=bn(e.elements.reference),A=Eh({reference:S,element:C,strategy:"absolute",placement:a}),k=_s(Object.assign({},C,A)),F=p===Xn?k:S,T={top:D.top-F.top+x.top,bottom:F.bottom-D.bottom+x.bottom,left:D.left-F.left+x.left,right:F.right-D.right+x.right},R=e.modifiersData.offset;if(p===Xn&&R){var L=R[a];Object.keys(T).forEach(function(z){var M=[Je,Ze].indexOf(z)>=0?1:-1,O=[Le,Ze].indexOf(z)>=0?"y":"x";T[z]+=L[O]*M})}return T}var _u=B(()=>{X_(),Nr(),Ai(),KE(),UE(),rt(),nt(),TE(),RE(),c(Aa,"detectOverflow")});function YE(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=r.boundary,o=r.rootBoundary,i=r.padding,s=r.flipVariations,u=r.allowedAutoPlacements,d=u===void 0?uh:u,f=wn(n),h=f?s?V1:V1.filter(function(g){return wn(g)===f}):la,p=h.filter(function(g){return d.indexOf(g)>=0});p.length===0&&(p=h);var m=p.reduce(function(g,v){return g[v]=Aa(e,{placement:v,boundary:a,rootBoundary:o,padding:i})[gt(v)],g},{});return Object.keys(m).sort(function(g,v){return m[g]-m[v]})}var Q_=B(()=>{Ii(),rt(),_u(),An(),c(YE,"computeAutoPlacement")});function ZE(e){if(gt(e)===As)return[];var t=Uo(e);return[W1(e),t,W1(t)]}function G4(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var a=r.mainAxis,o=a===void 0?!0:a,i=r.altAxis,s=i===void 0?!0:i,u=r.fallbackPlacements,d=r.padding,f=r.boundary,h=r.rootBoundary,p=r.altBoundary,m=r.flipVariations,g=m===void 0?!0:m,v=r.allowedAutoPlacements,b=t.options.placement,x=gt(b),E=x===b,C=u||(E||!g?[Uo(b)]:ZE(b)),w=[b].concat(C).reduce(function(ae,j){return ae.concat(gt(j)===As?YE(t,{placement:j,boundary:f,rootBoundary:h,padding:d,flipVariations:g,allowedAutoPlacements:v}):j)},[]),D=t.rects.reference,S=t.rects.popper,A=new Map,k=!0,F=w[0],T=0;T=0,O=M?"width":"height",$=Aa(t,{placement:R,boundary:f,rootBoundary:h,altBoundary:p,padding:d}),H=M?z?Je:Me:z?Ze:Le;D[O]>S[O]&&(H=Uo(H));var K=Uo(H),N=[];if(o&&N.push($[L]<=0),s&&N.push($[H]<=0,$[K]<=0),N.every(function(ae){return ae})){F=R,k=!1;break}A.set(R,N)}if(k)for(var W=g?3:1,te=c(function(ae){var j=w.find(function(Z){var J=A.get(Z);if(J)return J.slice(0,ae).every(function(ge){return ge})});if(j)return F=j,"break"},"_loop"),ue=W;ue>0;ue--){var re=te(ue);if(re==="break")break}t.placement!==F&&(t.modifiersData[n]._skip=!0,t.placement=F,t.reset=!0)}}var JE,eF=B(()=>{G_(),An(),K_(),_u(),Q_(),rt(),Ii(),c(ZE,"getExpandedFallbackPlacements"),c(G4,"flip"),JE={name:"flip",enabled:!0,phase:"main",fn:G4,requiresIfExists:["offset"],data:{_skip:!1}}});function K1(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 Y1(e){return[Le,Je,Ze,Me].some(function(t){return e[t]>=0})}function K4(e){var t=e.state,r=e.name,n=t.rects.reference,a=t.rects.popper,o=t.modifiersData.preventOverflow,i=Aa(t,{elementContext:"reference"}),s=Aa(t,{altBoundary:!0}),u=K1(i,n),d=K1(s,a,o),f=Y1(u),h=Y1(d);t.modifiersData[r]={referenceClippingOffsets:u,popperEscapeOffsets:d,isReferenceHidden:f,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":h})}var XE,tF=B(()=>{rt(),_u(),c(K1,"getSideOffsets"),c(Y1,"isAnySideFullyClipped"),c(K4,"hide"),XE={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:K4}});function QE(e,t,r){var n=gt(e),a=[Me,Le].indexOf(n)>=0?-1:1,o=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,i=o[0],s=o[1];return i=i||0,s=(s||0)*a,[Me,Je].indexOf(n)>=0?{x:s,y:i}:{x:i,y:s}}function Y4(e){var t=e.state,r=e.options,n=e.name,a=r.offset,o=a===void 0?[0,0]:a,i=uh.reduce(function(f,h){return f[h]=QE(h,t.rects,o),f},{}),s=i[t.placement],u=s.x,d=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=d),t.modifiersData[n]=i}var ex,rF=B(()=>{An(),rt(),c(QE,"distanceAndSkiddingToXY"),c(Y4,"offset"),ex={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Y4}});function Z4(e){var t=e.state,r=e.name;t.modifiersData[r]=Eh({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var tx,nF=B(()=>{KE(),c(Z4,"popperOffsets"),tx={name:"popperOffsets",enabled:!0,phase:"read",fn:Z4,data:{}}});function rx(e){return e==="x"?"y":"x"}var aF=B(()=>{c(rx,"getAltAxis")});function J4(e){var t=e.state,r=e.options,n=e.name,a=r.mainAxis,o=a===void 0?!0:a,i=r.altAxis,s=i===void 0?!1:i,u=r.boundary,d=r.rootBoundary,f=r.altBoundary,h=r.padding,p=r.tether,m=p===void 0?!0:p,g=r.tetherOffset,v=g===void 0?0:g,b=Aa(t,{boundary:u,rootBoundary:d,padding:h,altBoundary:f}),x=gt(t.placement),E=wn(t.placement),C=!E,w=Du(x),D=rx(w),S=t.modifiersData.popperOffsets,A=t.rects.reference,k=t.rects.popper,F=typeof v=="function"?v(Object.assign({},t.rects,{placement:t.placement})):v,T=typeof F=="number"?{mainAxis:F,altAxis:F}:Object.assign({mainAxis:0,altAxis:0},F),R=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,L={x:0,y:0};if(S){if(o){var z,M=w==="y"?Le:Me,O=w==="y"?Ze:Je,$=w==="y"?"height":"width",H=S[w],K=H+b[M],N=H-b[O],W=m?-k[$]/2:0,te=E===pn?A[$]:k[$],ue=E===pn?-k[$]:-A[$],re=t.elements.arrow,ae=m&&re?xu(re):{width:0,height:0},j=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:hh(),Z=j[M],J=j[O],ge=ua(0,A[$],ae[$]),ke=C?A[$]/2-W-ge-Z-T.mainAxis:te-ge-Z-T.mainAxis,At=C?-A[$]/2+W+ge+J+T.mainAxis:ue+ge+J+T.mainAxis,Ue=t.elements.arrow&&Na(t.elements.arrow),ot=Ue?w==="y"?Ue.clientTop||0:Ue.clientLeft||0:0,P=(z=R==null?void 0:R[w])!=null?z:0,it=H+ke-P-ot,kt=H+At-P,Vr=ua(m?ri(K,it):K,H,m?Ir(N,kt):N);S[w]=Vr,L[w]=Vr-H}if(s){var On,_t=w==="x"?Le:Me,Oi=w==="x"?Ze:Je,Be=S[D],Ur=D==="y"?"height":"width",Ft=Be+b[_t],Ln=Be-b[Oi],It=[Le,Me].indexOf(x)!==-1,Mn=(On=R==null?void 0:R[D])!=null?On:0,Tt=It?Ft:Be-A[Ur]-k[Ur]-Mn+T.altAxis,_e=It?Be+A[Ur]+k[Ur]-Mn-T.altAxis:Ln,lt=m&&It?_E(Tt,Be,_e):ua(m?Tt:Ft,Be,m?_e:Ln);S[D]=lt,L[D]=lt-Be}t.modifiersData[n]=L}}var nx,oF=B(()=>{rt(),An(),fh(),aF(),FE(),dh(),Fi(),_u(),Ii(),IE(),kn(),c(J4,"preventOverflow"),nx={name:"preventOverflow",enabled:!0,phase:"main",fn:J4,requiresIfExists:["offset"]}}),ax=B(()=>{});function ox(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}var iF=B(()=>{c(ox,"getHTMLElementScroll")});function ix(e){return e===Ve(e)||!Ye(e)?Su(e):ox(e)}var lF=B(()=>{vh(),Xt(),nt(),iF(),c(ix,"getNodeScroll")});function lx(e){var t=e.getBoundingClientRect(),r=yn(t.width)/e.offsetWidth||1,n=yn(t.height)/e.offsetHeight||1;return r!==1||n!==1}function sx(e,t,r){r===void 0&&(r=!1);var n=Ye(t),a=Ye(t)&&lx(t),o=mr(t),i=bn(e,a,r),s={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(n||!n&&!r)&&((wt(t)!=="body"||ku(o))&&(s=ix(t)),Ye(t)?(u=bn(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):o&&(u.x=Au(o))),{x:i.left+s.scrollLeft-u.x,y:i.top+s.scrollTop-u.y,width:i.width,height:i.height}}var sF=B(()=>{Ai(),lF(),Sn(),nt(),yh(),Nr(),bh(),kn(),c(lx,"isElementScaled"),c(sx,"getCompositeRect")});function ux(e){var t=new Map,r=new Set,n=[];e.forEach(function(o){t.set(o.name,o)});function a(o){r.add(o.name);var i=[].concat(o.requires||[],o.requiresIfExists||[]);i.forEach(function(s){if(!r.has(s)){var u=t.get(s);u&&a(u)}}),n.push(o)}return c(a,"sort"),e.forEach(function(o){r.has(o.name)||a(o)}),n}function cx(e){var t=ux(e);return EE.reduce(function(r,n){return r.concat(t.filter(function(a){return a.phase===n}))},[])}var uF=B(()=>{rt(),c(ux,"order"),c(cx,"orderModifiers")});function dx(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}var cF=B(()=>{c(dx,"debounce")});function px(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 dF=B(()=>{c(px,"mergeByName")});function Z1(){for(var e=arguments.length,t=new Array(e),r=0;r{sF(),dh(),VE(),Fi(),uF(),cF(),dF(),nt(),J1={placement:"bottom",modifiers:[],strategy:"absolute"},c(Z1,"areValidElements"),c(fx,"popperGenerator")}),X4,hx,fF=B(()=>{pF(),W_(),nF(),q_(),H_(),rF(),eF(),oF(),U_(),tF(),ax(),X4=[$E,tx,ME,xE,ex,JE,nx,zE,XE],hx=fx({defaultModifiers:X4})}),hF=B(()=>{rt(),ax(),fF()}),mF=q((e,t)=>{var r=typeof Element<"u",n=typeof Map=="function",a=typeof Set=="function",o=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function i(s,u){if(s===u)return!0;if(s&&u&&typeof s=="object"&&typeof u=="object"){if(s.constructor!==u.constructor)return!1;var d,f,h;if(Array.isArray(s)){if(d=s.length,d!=u.length)return!1;for(f=d;f--!==0;)if(!i(s[f],u[f]))return!1;return!0}var p;if(n&&s instanceof Map&&u instanceof Map){if(s.size!==u.size)return!1;for(p=s.entries();!(f=p.next()).done;)if(!u.has(f.value[0]))return!1;for(p=s.entries();!(f=p.next()).done;)if(!i(f.value[1],u.get(f.value[0])))return!1;return!0}if(a&&s instanceof Set&&u instanceof Set){if(s.size!==u.size)return!1;for(p=s.entries();!(f=p.next()).done;)if(!u.has(f.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(s)&&ArrayBuffer.isView(u)){if(d=s.length,d!=u.length)return!1;for(f=d;f--!==0;)if(s[f]!==u[f])return!1;return!0}if(s.constructor===RegExp)return s.source===u.source&&s.flags===u.flags;if(s.valueOf!==Object.prototype.valueOf&&typeof s.valueOf=="function"&&typeof u.valueOf=="function")return s.valueOf()===u.valueOf();if(s.toString!==Object.prototype.toString&&typeof s.toString=="function"&&typeof u.toString=="function")return s.toString()===u.toString();if(h=Object.keys(s),d=h.length,d!==Object.keys(u).length)return!1;for(f=d;f--!==0;)if(!Object.prototype.hasOwnProperty.call(u,h[f]))return!1;if(r&&s instanceof Element)return!1;for(f=d;f--!==0;)if(!((h[f]==="_owner"||h[f]==="__v"||h[f]==="__o")&&s.$$typeof)&&!i(s[h[f]],u[h[f]]))return!1;return!0}return s!==s&&u!==u}c(i,"equal"),t.exports=c(function(s,u){try{return i(s,u)}catch(d){if((d.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw d}},"isEqual")}),Q4,ey,mx,gF=B(()=>{hF(),Q4=Ae(mF()),j_(),ey=[],mx=c(function(e,t,r){r===void 0&&(r={});var n=l.useRef(null),a={onFirstUpdate:r.onFirstUpdate,placement:r.placement||"bottom",strategy:r.strategy||"absolute",modifiers:r.modifiers||ey},o=l.useState({styles:{popper:{position:a.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),i=o[0],s=o[1],u=l.useMemo(function(){return{name:"updateState",enabled:!0,phase:"write",fn:c(function(h){var p=h.state,m=Object.keys(p.elements);Ps.flushSync(function(){s({styles:j1(m.map(function(g){return[g,p.styles[g]||{}]})),attributes:j1(m.map(function(g){return[g,p.attributes[g]]}))})})},"fn"),requires:["computeStyles"]}},[]),d=l.useMemo(function(){var h={onFirstUpdate:a.onFirstUpdate,placement:a.placement,strategy:a.strategy,modifiers:[].concat(a.modifiers,[u,{name:"applyStyles",enabled:!1}])};return(0,Q4.default)(n.current,h)?n.current||h:(n.current=h,h)},[a.onFirstUpdate,a.placement,a.strategy,a.modifiers,u]),f=l.useRef();return H1(function(){f.current&&f.current.setOptions(d)},[d]),H1(function(){if(!(e==null||t==null)){var h=r.createPopper||hx,p=h(e,t,d);return f.current=p,function(){p.destroy(),f.current=null}}},[e,t,r.createPopper]),{state:f.current?f.current.state:null,styles:i.styles,attributes:i.attributes,update:f.current?f.current.update:null,forceUpdate:f.current?f.current.forceUpdate:null}},"usePopper")}),vF=B(()=>{gF()});function xh(e){var t=l.useRef(e);return t.current=e,l.useCallback(function(){return t.current},[])}function gx(e){var t=e.initial,r=e.value,n=e.onChange,a=n===void 0?yx:n;if(t===void 0&&r===void 0)throw new TypeError('Either "value" or "initial" variable must be set. Now both are undefined');var o=l.useState(t),i=o[0],s=o[1],u=xh(i),d=l.useCallback(function(h){var p=u(),m=typeof h=="function"?h(p):h;typeof m.persist=="function"&&m.persist(),s(m),typeof a=="function"&&a(m)},[u,a]),f=r!==void 0;return[f?r:i,f?a:d]}function X1(e,t){return e===void 0&&(e=0),t===void 0&&(t=0),function(){return{width:0,height:0,top:t,right:e,bottom:t,left:e,x:0,y:0,toJSON:c(function(){return null},"toJSON")}}}function vx(e,t){var r,n,a;e===void 0&&(e={}),t===void 0&&(t={});var o=Object.keys(ep).reduce(function(O,$){var H;return Q({},O,(H={},H[$]=O[$]!==void 0?O[$]:ep[$],H))},e),i=l.useMemo(function(){return[{name:"offset",options:{offset:o.offset}}]},Array.isArray(o.offset)?o.offset:[]),s=Q({},t,{placement:t.placement||o.placement,modifiers:t.modifiers||i}),u=l.useState(null),d=u[0],f=u[1],h=l.useState(null),p=h[0],m=h[1],g=gx({initial:o.defaultVisible,value:o.visible,onChange:o.onVisibleChange}),v=g[0],b=g[1],x=l.useRef();l.useEffect(function(){return function(){return clearTimeout(x.current)}},[]);var E=mx(o.followCursor?Q1:d,p,s),C=E.styles,w=E.attributes,D=Qs(E,bx),S=D.update,A=xh({visible:v,triggerRef:d,tooltipRef:p,finalConfig:o}),k=l.useCallback(function(O){return Array.isArray(o.trigger)?o.trigger.includes(O):o.trigger===O},Array.isArray(o.trigger)?o.trigger:[o.trigger]),F=l.useCallback(function(){clearTimeout(x.current),x.current=window.setTimeout(function(){return b(!1)},o.delayHide)},[o.delayHide,b]),T=l.useCallback(function(){clearTimeout(x.current),x.current=window.setTimeout(function(){return b(!0)},o.delayShow)},[o.delayShow,b]),R=l.useCallback(function(){A().visible?F():T()},[A,F,T]);l.useEffect(function(){if(A().finalConfig.closeOnOutsideClick){var O=c(function($){var H,K=A(),N=K.tooltipRef,W=K.triggerRef,te=($.composedPath==null||(H=$.composedPath())==null?void 0:H[0])||$.target;te instanceof Node&&N!=null&&W!=null&&!N.contains(te)&&!W.contains(te)&&F()},"handleClickOutside");return document.addEventListener("mousedown",O),function(){return document.removeEventListener("mousedown",O)}}},[A,F]),l.useEffect(function(){if(!(d==null||!k("click")))return d.addEventListener("click",R),function(){return d.removeEventListener("click",R)}},[d,k,R]),l.useEffect(function(){if(!(d==null||!k("double-click")))return d.addEventListener("dblclick",R),function(){return d.removeEventListener("dblclick",R)}},[d,k,R]),l.useEffect(function(){if(!(d==null||!k("right-click"))){var O=c(function($){$.preventDefault(),R()},"preventDefaultAndToggle");return d.addEventListener("contextmenu",O),function(){return d.removeEventListener("contextmenu",O)}}},[d,k,R]),l.useEffect(function(){if(!(d==null||!k("focus")))return d.addEventListener("focus",T),d.addEventListener("blur",F),function(){d.removeEventListener("focus",T),d.removeEventListener("blur",F)}},[d,k,T,F]),l.useEffect(function(){if(!(d==null||!k("hover")))return d.addEventListener("mouseenter",T),d.addEventListener("mouseleave",F),function(){d.removeEventListener("mouseenter",T),d.removeEventListener("mouseleave",F)}},[d,k,T,F]),l.useEffect(function(){if(!(p==null||!k("hover")||!A().finalConfig.interactive))return p.addEventListener("mouseenter",T),p.addEventListener("mouseleave",F),function(){p.removeEventListener("mouseenter",T),p.removeEventListener("mouseleave",F)}},[p,k,T,F,A]);var L=D==null||(r=D.state)==null||(n=r.modifiersData)==null||(a=n.hide)==null?void 0:a.isReferenceHidden;l.useEffect(function(){o.closeOnTriggerHidden&&L&&F()},[o.closeOnTriggerHidden,F,L]),l.useEffect(function(){if(!o.followCursor||d==null)return;function O($){var H=$.clientX,K=$.clientY;Q1.getBoundingClientRect=X1(H,K),S==null||S()}return c(O,"setMousePosition"),d.addEventListener("mousemove",O),function(){return d.removeEventListener("mousemove",O)}},[o.followCursor,d,S]),l.useEffect(function(){if(!(p==null||S==null||o.mutationObserverOptions==null)){var O=new MutationObserver(S);return O.observe(p,o.mutationObserverOptions),function(){return O.disconnect()}}},[o.mutationObserverOptions,p,S]);var z=c(function(O){return O===void 0&&(O={}),Q({},O,{style:Q({},O.style,C.popper)},w.popper,{"data-popper-interactive":o.interactive})},"getTooltipProps"),M=c(function(O){return O===void 0&&(O={}),Q({},O,w.arrow,{style:Q({},O.style,C.arrow),"data-popper-arrow":!0})},"getArrowProps");return Q({getArrowProps:M,getTooltipProps:z,setTooltipRef:m,setTriggerRef:f,tooltipRef:p,triggerRef:d,visible:v},D)}var yx,bx,Q1,ep,yF=B(()=>{nf(),xt(),vF(),c(xh,"useGetLatest"),yx=c(function(){},"noop"),c(gx,"useControlledState"),c(X1,"generateBoundingClientRect"),bx=["styles","attributes"],Q1={getBoundingClientRect:X1()},ep={closeOnOutsideClick:!0,closeOnTriggerHidden:!1,defaultVisible:!1,delayHide:0,delayShow:0,followCursor:!1,interactive:!1,mutationObserverOptions:{attributes:!0,childList:!0,subtree:!0},offset:[0,6],trigger:"hover"},c(vx,"usePopperTooltip")}),ty,We,ar,ry,ny,tp,bF=B(()=>{ty=Ae(Xs(),1),We=(0,ty.default)(1e3)((e,t,r,n=0)=>t.split("-")[0]===e?r:n),ar=8,ry=_.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:`${We("top",r,`${ar*-1}px`,"auto")}`,top:`${We("bottom",r,`${ar*-1}px`,"auto")}`,right:`${We("left",r,`${ar*-1}px`,"auto")}`,left:`${We("right",r,`${ar*-1}px`,"auto")}`,borderBottomWidth:`${We("top",r,"0",ar)}px`,borderTopWidth:`${We("bottom",r,"0",ar)}px`,borderRightWidth:`${We("left",r,"0",ar)}px`,borderLeftWidth:`${We("right",r,"0",ar)}px`,borderTopColor:We("top",r,e.color[t]||t||e.base==="light"?Qa(e.background.app):e.background.app,"transparent"),borderBottomColor:We("bottom",r,e.color[t]||t||e.base==="light"?Qa(e.background.app):e.background.app,"transparent"),borderLeftColor:We("left",r,e.color[t]||t||e.base==="light"?Qa(e.background.app):e.background.app,"transparent"),borderRightColor:We("right",r,e.color[t]||t||e.base==="light"?Qa(e.background.app):e.background.app,"transparent")})),ny=_.div(({hidden:e})=>({display:e?"none":"inline-block",zIndex:2147483647}),({theme:e,color:t,hasChrome:r})=>r?{background:t&&e.color[t]||t||e.base==="light"?Qa(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}:{}),tp=y.forwardRef(({placement:e="top",hasChrome:t=!0,children:r,arrowProps:n={},tooltipRef:a,color:o,withArrows:i,...s},u)=>y.createElement(ny,{"data-testid":"tooltip",hasChrome:t,ref:u,...s,color:o},t&&i&&y.createElement(ry,{placement:e,...n,color:o}),r)),tp.displayName="Tooltip"}),Ch={};Oa(Ch,{WithToolTipState:()=>Fs,WithTooltip:()=>Fs,WithTooltipPure:()=>rp});var ho,ay,oy,rp,Fs,Dh=B(()=>{rf(),yF(),bF(),{document:ho}=Js,ay=_.div` + display: inline-block; + cursor: ${e=>e.trigger==="hover"||e.trigger.includes("hover")?"default":"pointer"}; +`,oy=_.g` + cursor: ${e=>e.trigger==="hover"||e.trigger.includes("hover")?"default":"pointer"}; +`,rp=c(({svg:e=!1,trigger:t="click",closeOnOutsideClick:r=!1,placement:n="top",modifiers:a=[{name:"preventOverflow",options:{padding:8}},{name:"offset",options:{offset:[8,8]}},{name:"arrow",options:{padding:8}}],hasChrome:o=!0,defaultVisible:i=!1,withArrows:s,offset:u,tooltip:d,children:f,closeOnTriggerHidden:h,mutationObserverOptions:p,delayHide:m,visible:g,interactive:v,delayShow:b,strategy:x,followCursor:E,onVisibleChange:C,...w})=>{let D=e?oy:ay,{getArrowProps:S,getTooltipProps:A,setTooltipRef:k,setTriggerRef:F,visible:T,state:R}=vx({trigger:t,placement:n,defaultVisible:i,delayHide:m,interactive:v,closeOnOutsideClick:r,closeOnTriggerHidden:h,onVisibleChange:C,delayShow:b,followCursor:E,mutationObserverOptions:p,visible:g,offset:u},{modifiers:a,strategy:x}),L=y.createElement(tp,{placement:R==null?void 0:R.placement,ref:k,hasChrome:o,arrowProps:S(),withArrows:s,...A()},typeof d=="function"?d({onHide:c(()=>C(!1),"onHide")}):d);return y.createElement(y.Fragment,null,y.createElement(D,{trigger:t,ref:F,...w},f),T&&P3.createPortal(L,ho.body))},"WithTooltipPure"),Fs=c(({startOpen:e=!1,onVisibleChange:t,...r})=>{let[n,a]=l.useState(e),o=l.useCallback(i=>{t&&t(i)===!1||a(i)},[t]);return l.useEffect(()=>{let i=c(()=>o(!1),"hide");ho.addEventListener("keydown",i,!1);let s=Array.from(ho.getElementsByTagName("iframe")),u=[];return s.forEach(d=>{let f=c(()=>{try{d.contentWindow.document&&(d.contentWindow.document.addEventListener("click",i),u.push(()=>{try{d.contentWindow.document.removeEventListener("click",i)}catch{}}))}catch{}},"bind");f(),d.addEventListener("load",f),u.push(()=>{d.removeEventListener("load",f)})}),()=>{ho.removeEventListener("keydown",i),u.forEach(d=>{d()})}}),y.createElement(rp,{...r,visible:n,onVisibleChange:o})},"WithToolTipState")}),ce=c(({...e},t)=>{let r=[e.class,e.className];return delete e.class,e.className=["sbdocs",`sbdocs-${t}`,...r].filter(Boolean).join(" "),e},"nameSpaceClassNames");xt();Ek();tf();function wx(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,wa(e,t)}c(wx,"_inheritsLoose");xk();tf();function Ex(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}c(Ex,"_isNativeFunction");function Sh(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Sh=c(function(){return!!e},"_isNativeReflectConstruct"))()}c(Sh,"_isNativeReflectConstruct");tf();function xx(e,t,r){if(Sh())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var a=new(e.bind.apply(e,n));return r&&wa(a,r.prototype),a}c(xx,"_construct");function Is(e){var t=typeof Map=="function"?new Map:void 0;return Is=c(function(r){if(r===null||!Ex(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(r))return t.get(r);t.set(r,n)}function n(){return xx(r,arguments,Jl(this).constructor)}return c(n,"Wrapper"),n.prototype=Object.create(r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),wa(n,r)},"_wrapNativeSuper"),Is(e)}c(Is,"_wrapNativeSuper");var wF={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 Cx(){for(var e=arguments.length,t=new Array(e),r=0;r1?a-1:0),i=1;i=0&&a<1?(s=o,u=i):a>=1&&a<2?(s=i,u=o):a>=2&&a<3?(u=o,d=i):a>=3&&a<4?(u=i,d=o):a>=4&&a<5?(s=i,d=o):a>=5&&a<6&&(s=o,d=i);var f=r-o/2,h=s+f,p=u+f,m=d+f;return n(h,p,m)}c(ka,"hslToRgb");var iy={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 Sx(e){if(typeof e!="string")return e;var t=e.toLowerCase();return iy[t]?"#"+iy[t]:e}c(Sx,"nameToHex");var EF=/^#[a-fA-F0-9]{6}$/,xF=/^#[a-fA-F0-9]{8}$/,CF=/^#[a-fA-F0-9]{3}$/,DF=/^#[a-fA-F0-9]{4}$/,hd=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,SF=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,AF=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,kF=/^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 Fu(e){if(typeof e!="string")throw new Nt(3);var t=Sx(e);if(t.match(EF))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(xF)){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(CF))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(DF)){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=hd.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=SF.exec(t.substring(0,50));if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10),alpha:parseFloat(""+o[4])>1?parseFloat(""+o[4])/100:parseFloat(""+o[4])};var i=AF.exec(t);if(i){var s=parseInt(""+i[1],10),u=parseInt(""+i[2],10)/100,d=parseInt(""+i[3],10)/100,f="rgb("+ka(s,u,d)+")",h=hd.exec(f);if(!h)throw new Nt(4,t,f);return{red:parseInt(""+h[1],10),green:parseInt(""+h[2],10),blue:parseInt(""+h[3],10)}}var p=kF.exec(t.substring(0,50));if(p){var m=parseInt(""+p[1],10),g=parseInt(""+p[2],10)/100,v=parseInt(""+p[3],10)/100,b="rgb("+ka(m,g,v)+")",x=hd.exec(b);if(!x)throw new Nt(4,t,b);return{red:parseInt(""+x[1],10),green:parseInt(""+x[2],10),blue:parseInt(""+x[3],10),alpha:parseFloat(""+p[4])>1?parseFloat(""+p[4])/100:parseFloat(""+p[4])}}throw new Nt(5)}c(Fu,"parseToRgb");function Ax(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),o=Math.min(t,r,n),i=(a+o)/2;if(a===o)return e.alpha!==void 0?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var s,u=a-o,d=i>.5?u/(2-a-o):u/(a+o);switch(a){case t:s=(r-n)/u+(r=1?ni(e,t,r):"rgba("+ka(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?ni(e.hue,e.saturation,e.lightness):"rgba("+ka(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Nt(2)}c(Fx,"hsla");function Ts(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return np("#"+Ar(e)+Ar(t)+Ar(r));if(typeof e=="object"&&t===void 0&&r===void 0)return np("#"+Ar(e.red)+Ar(e.green)+Ar(e.blue));throw new Nt(6)}c(Ts,"rgb");function ai(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=Fu(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?Ts(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?Ts(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Nt(7)}c(ai,"rgba");var FF=c(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isRgb"),IF=c(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},"isRgba"),TF=c(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isHsl"),RF=c(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"},"isHsla");function kh(e){if(typeof e!="object")throw new Nt(8);if(IF(e))return ai(e);if(FF(e))return Ts(e);if(RF(e))return Fx(e);if(TF(e))return _x(e);throw new Nt(8)}c(kh,"toColorString");function _h(e,t,r){return c(function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):_h(e,t,n)},"fn")}c(_h,"curried");function Iu(e){return _h(e,e.length,[])}c(Iu,"curry");function Tu(e,t,r){return Math.max(e,Math.min(t,r))}c(Tu,"guard");function Ix(e,t){if(t==="transparent")return t;var r=Ah(t);return kh(Q({},r,{lightness:Tu(0,1,r.lightness-parseFloat(e))}))}c(Ix,"darken");var BF=Iu(Ix),ea=BF;function Tx(e,t){if(t==="transparent")return t;var r=Ah(t);return kh(Q({},r,{lightness:Tu(0,1,r.lightness+parseFloat(e))}))}c(Tx,"lighten");var zF=Iu(Tx),ly=zF;function Rx(e,t){if(t==="transparent")return t;var r=Fu(t),n=typeof r.alpha=="number"?r.alpha:1,a=Q({},r,{alpha:Tu(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return ai(a)}c(Rx,"transparentize");var OF=Iu(Rx),Qe=OF,ja=c(({theme:e})=>({margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}}),"headerCommon"),jr=c(({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"?Qe(.1,e.color.defaultText):Qe(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border}),"codeCommon"),de=c(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"}),"withReset"),_n={margin:"16px 0"},Fh=_.div(de),LF=c(({href:e="",...t})=>{let r=/^\//.test(e)?`./?path=${e}`:e,n=/^#.*/.test(e)?"_self":"_top";return y.createElement("a",{href:r,target:n,...t})},"Link"),MF=_(LF)(de,({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}})),$F=_.blockquote(de,_n,({theme:e})=>({borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}}));tu();var PF=c(e=>typeof e=="string","isReactChildString"),NF=/[\n\r]/g,jF=_.code(({theme:e})=>({fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"}),jr),HF=_(Mo)(({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"}})),Bx=c(({className:e,children:t,...r})=>{let n=(e||"").match(/lang-(\S+)/),a=l.Children.toArray(t);return a.filter(PF).some(o=>o.match(NF))?y.createElement(HF,{bordered:!0,copyable:!0,language:(n==null?void 0:n[1])??"text",format:!1,...r},t):y.createElement(jF,{...r,className:e},a)},"Code"),VF=_.dl(de,_n,{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}}),UF=_.div(de),qF=_.h1(de,ja,({theme:e})=>({fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold})),zx=_.h2(de,ja,({theme:e})=>({fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`})),Ox=_.h3(de,ja,({theme:e})=>({fontSize:`${e.typography.size.m1}px`})),WF=_.h4(de,ja,({theme:e})=>({fontSize:`${e.typography.size.s3}px`})),GF=_.h5(de,ja,({theme:e})=>({fontSize:`${e.typography.size.s2}px`})),KF=_.h6(de,ja,({theme:e})=>({fontSize:`${e.typography.size.s2}px`,color:e.color.dark})),YF=_.hr(({theme:e})=>({border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0})),ZF=_.img({maxWidth:"100%"}),JF=_.li(de,({theme:e})=>({fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":jr({theme:e})})),XF={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},QF=_.ol(de,_n,XF,{listStyle:"decimal"}),eI=_.p(de,_n,({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":jr({theme:e})})),tI=_.pre(de,_n,({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"}})),rI=_.span(de,({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"}}})),nI=_.title(jr),aI=_.table(de,_n,({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}})),oI={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},iI=_.ul(de,_n,oI,{listStyle:"disc"}),Lx={h1:c(e=>y.createElement(qF,{...ce(e,"h1")}),"h1"),h2:c(e=>y.createElement(zx,{...ce(e,"h2")}),"h2"),h3:c(e=>y.createElement(Ox,{...ce(e,"h3")}),"h3"),h4:c(e=>y.createElement(WF,{...ce(e,"h4")}),"h4"),h5:c(e=>y.createElement(GF,{...ce(e,"h5")}),"h5"),h6:c(e=>y.createElement(KF,{...ce(e,"h6")}),"h6"),pre:c(e=>y.createElement(tI,{...ce(e,"pre")}),"pre"),a:c(e=>y.createElement(MF,{...ce(e,"a")}),"a"),hr:c(e=>y.createElement(YF,{...ce(e,"hr")}),"hr"),dl:c(e=>y.createElement(VF,{...ce(e,"dl")}),"dl"),blockquote:c(e=>y.createElement($F,{...ce(e,"blockquote")}),"blockquote"),table:c(e=>y.createElement(aI,{...ce(e,"table")}),"table"),img:c(e=>y.createElement(ZF,{...ce(e,"img")}),"img"),div:c(e=>y.createElement(UF,{...ce(e,"div")}),"div"),span:c(e=>y.createElement(rI,{...ce(e,"span")}),"span"),li:c(e=>y.createElement(JF,{...ce(e,"li")}),"li"),ul:c(e=>y.createElement(iI,{...ce(e,"ul")}),"ul"),ol:c(e=>y.createElement(QF,{...ce(e,"ol")}),"ol"),p:c(e=>y.createElement(eI,{...ce(e,"p")}),"p"),code:c(e=>y.createElement(Bx,{...ce(e,"code")}),"code"),tt:c(e=>y.createElement(nI,{...ce(e,"tt")}),"tt"),resetwrapper:c(e=>y.createElement(Fh,{...ce(e,"resetwrapper")}),"resetwrapper")},lI=_.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 ${Qe(.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 ${Qe(.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 ${Qe(.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 ${Qe(.9,e.color.positiveText)}`:"none"};default:return{}}}),Nne=c(({...e})=>y.createElement(lI,{...e}),"Badge"),Mx={};Oa(Mx,{AccessibilityAltIcon:()=>Dz,AccessibilityIcon:()=>Cz,AddIcon:()=>wR,AdminIcon:()=>fz,AlertAltIcon:()=>GR,AlertIcon:()=>WR,AlignLeftIcon:()=>JI,AlignRightIcon:()=>XI,AppleIcon:()=>vT,ArrowBottomLeftIcon:()=>PB,ArrowBottomRightIcon:()=>NB,ArrowDownIcon:()=>zB,ArrowLeftIcon:()=>OB,ArrowRightIcon:()=>LB,ArrowSolidDownIcon:()=>HB,ArrowSolidLeftIcon:()=>VB,ArrowSolidRightIcon:()=>UB,ArrowSolidUpIcon:()=>jB,ArrowTopLeftIcon:()=>MB,ArrowTopRightIcon:()=>$B,ArrowUpIcon:()=>BB,AzureDevOpsIcon:()=>CT,BackIcon:()=>rz,BasketIcon:()=>gB,BatchAcceptIcon:()=>fR,BatchDenyIcon:()=>pR,BeakerIcon:()=>vB,BellIcon:()=>XR,BitbucketIcon:()=>DT,BoldIcon:()=>oT,BookIcon:()=>HI,BookmarkHollowIcon:()=>oB,BookmarkIcon:()=>iB,BottomBarIcon:()=>ZT,BottomBarToggleIcon:()=>JT,BoxIcon:()=>rR,BranchIcon:()=>hT,BrowserIcon:()=>HT,ButtonIcon:()=>$R,CPUIcon:()=>XT,CalendarIcon:()=>YI,CameraIcon:()=>FI,CategoryIcon:()=>qI,CertificateIcon:()=>pB,ChangedIcon:()=>SR,ChatIcon:()=>RR,CheckIcon:()=>cR,ChevronDownIcon:()=>kB,ChevronLeftIcon:()=>_B,ChevronRightIcon:()=>Nx,ChevronSmallDownIcon:()=>IB,ChevronSmallLeftIcon:()=>TB,ChevronSmallRightIcon:()=>RB,ChevronSmallUpIcon:()=>FB,ChevronUpIcon:()=>AB,ChromaticIcon:()=>ST,ChromeIcon:()=>ET,CircleHollowIcon:()=>nB,CircleIcon:()=>aB,ClearIcon:()=>kR,CloseAltIcon:()=>gR,CloseIcon:()=>xR,CloudHollowIcon:()=>wB,CloudIcon:()=>EB,CogIcon:()=>oR,CollapseIcon:()=>WB,CommandIcon:()=>HR,CommentAddIcon:()=>FR,CommentIcon:()=>_R,CommentsIcon:()=>TR,CommitIcon:()=>fT,CompassIcon:()=>iz,ComponentDrivenIcon:()=>AT,ComponentIcon:()=>cI,ContrastIcon:()=>xI,ControlsIcon:()=>hR,CopyIcon:()=>UI,CreditIcon:()=>MR,CrossIcon:()=>Px,DashboardIcon:()=>cz,DatabaseIcon:()=>QT,DeleteIcon:()=>CR,DiamondIcon:()=>lB,DirectionIcon:()=>hz,DiscordIcon:()=>kT,DocChartIcon:()=>eT,DocListIcon:()=>tT,DocumentIcon:()=>VI,DownloadIcon:()=>tz,DragIcon:()=>rT,EditIcon:()=>aR,EllipsisIcon:()=>sR,EmailIcon:()=>KR,ExpandAltIcon:()=>qB,ExpandIcon:()=>GB,EyeCloseIcon:()=>wI,EyeIcon:()=>bI,FaceHappyIcon:()=>wz,FaceNeutralIcon:()=>Ez,FaceSadIcon:()=>xz,FacebookIcon:()=>_T,FailedIcon:()=>AR,FastForwardIcon:()=>LI,FigmaIcon:()=>FT,FilterIcon:()=>QI,FlagIcon:()=>bB,FolderIcon:()=>WI,FormIcon:()=>dR,GDriveIcon:()=>IT,GithubIcon:()=>TT,GitlabIcon:()=>RT,GlobeIcon:()=>oz,GoogleIcon:()=>BT,GraphBarIcon:()=>ZI,GraphLineIcon:()=>KI,GraphqlIcon:()=>zT,GridAltIcon:()=>hI,GridIcon:()=>dI,GrowIcon:()=>SI,HeartHollowIcon:()=>sB,HeartIcon:()=>uB,HomeIcon:()=>pz,HourglassIcon:()=>yB,InfoIcon:()=>VR,ItalicIcon:()=>iT,JumpToIcon:()=>rB,KeyIcon:()=>OR,LightningIcon:()=>EI,LightningOffIcon:()=>$x,LinkBrokenIcon:()=>JR,LinkIcon:()=>ZR,LinkedinIcon:()=>NT,LinuxIcon:()=>yT,ListOrderedIcon:()=>sT,ListUnorderedIcon:()=>uT,LocationIcon:()=>lz,LockIcon:()=>BR,MarkdownIcon:()=>dT,MarkupIcon:()=>aT,MediumIcon:()=>OT,MemoryIcon:()=>eR,MenuIcon:()=>nT,MergeIcon:()=>gT,MirrorIcon:()=>DI,MobileIcon:()=>UT,MoonIcon:()=>jI,NutIcon:()=>iR,OutboxIcon:()=>LR,OutlineIcon:()=>pI,PaintBrushIcon:()=>AI,PaperClipIcon:()=>lT,ParagraphIcon:()=>cT,PassedIcon:()=>DR,PhoneIcon:()=>YR,PhotoDragIcon:()=>fI,PhotoIcon:()=>uI,PinAltIcon:()=>yR,PinIcon:()=>sz,PlayBackIcon:()=>BI,PlayIcon:()=>RI,PlayNextIcon:()=>zI,PlusIcon:()=>mR,PointerDefaultIcon:()=>NR,PointerHandIcon:()=>jR,PowerIcon:()=>nR,PrintIcon:()=>GI,ProceedIcon:()=>nz,ProfileIcon:()=>bz,PullRequestIcon:()=>mT,QuestionIcon:()=>UR,RSSIcon:()=>QR,RedirectIcon:()=>ZB,ReduxIcon:()=>LT,RefreshIcon:()=>az,ReplyIcon:()=>XB,RepoIcon:()=>pT,RequestChangeIcon:()=>IR,RewindIcon:()=>OI,RulerIcon:()=>kI,SearchIcon:()=>mI,ShareAltIcon:()=>eB,ShareIcon:()=>tB,ShieldIcon:()=>mB,SideBySideIcon:()=>$I,SidebarAltIcon:()=>GT,SidebarAltToggleIcon:()=>KT,SidebarIcon:()=>WT,SidebarToggleIcon:()=>YT,SpeakerIcon:()=>TI,StackedIcon:()=>PI,StarHollowIcon:()=>cB,StarIcon:()=>dB,StatusFailIcon:()=>CB,StatusPassIcon:()=>SB,StatusWarnIcon:()=>DB,StickerIcon:()=>xB,StopAltIcon:()=>MI,StopIcon:()=>_I,StorybookIcon:()=>xT,StructureIcon:()=>tR,SubtractIcon:()=>ER,SunIcon:()=>NI,SupportIcon:()=>qR,SwitchAltIcon:()=>CI,SyncIcon:()=>QB,TabletIcon:()=>VT,ThumbsUpIcon:()=>hB,TimeIcon:()=>uz,TimerIcon:()=>dz,TransferIcon:()=>YB,TrashIcon:()=>vR,TwitterIcon:()=>MT,TypeIcon:()=>PR,UbuntuIcon:()=>bT,UndoIcon:()=>JB,UnfoldIcon:()=>KB,UnlockIcon:()=>zR,UnpinIcon:()=>bR,UploadIcon:()=>ez,UserAddIcon:()=>vz,UserAltIcon:()=>gz,UserIcon:()=>mz,UsersIcon:()=>yz,VSCodeIcon:()=>PT,VerifiedIcon:()=>fB,VideoIcon:()=>II,WandIcon:()=>uR,WatchIcon:()=>qT,WindowsIcon:()=>wT,WrenchIcon:()=>lR,XIcon:()=>jT,YoutubeIcon:()=>$T,ZoomIcon:()=>gI,ZoomOutIcon:()=>vI,ZoomResetIcon:()=>yI,iconList:()=>sI});var sI=[{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","StatusFailIcon","StatusWarnIcon","StatusPassIcon"]},{name:"Wayfinding",icons:["ChevronUpIcon","ChevronDownIcon","ChevronLeftIcon","ChevronRightIcon","ChevronSmallUpIcon","ChevronSmallDownIcon","ChevronSmallLeftIcon","ChevronSmallRightIcon","ArrowUpIcon","ArrowDownIcon","ArrowLeftIcon","ArrowRightIcon","ArrowTopLeftIcon","ArrowTopRightIcon","ArrowBottomLeftIcon","ArrowBottomRightIcon","ArrowSolidUpIcon","ArrowSolidDownIcon","ArrowSolidLeftIcon","ArrowSolidRightIcon","ExpandAltIcon","CollapseIcon","ExpandIcon","UnfoldIcon","TransferIcon","RedirectIcon","UndoIcon","ReplyIcon","SyncIcon","UploadIcon","DownloadIcon","BackIcon","ProceedIcon","RefreshIcon","GlobeIcon","CompassIcon","LocationIcon","PinIcon","TimeIcon","DashboardIcon","TimerIcon","HomeIcon","AdminIcon","DirectionIcon"]},{name:"People",icons:["UserIcon","UserAltIcon","UserAddIcon","UsersIcon","ProfileIcon","FaceHappyIcon","FaceNeutralIcon","FaceSadIcon","AccessibilityIcon","AccessibilityAltIcon"]}],uI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.25 4.254a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0zm-.5 0a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 1.504v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5zM2 9.297V2.004h10v5.293L9.854 5.15a.5.5 0 00-.708 0L6.5 7.797 5.354 6.65a.5.5 0 00-.708 0L2 9.297zM9.5 6.21l2.5 2.5v3.293H2V10.71l3-3 3.146 3.146a.5.5 0 00.708-.707L7.207 8.504 9.5 6.21z",fill:e}))),cI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 1.004a2.5 2.5 0 00-2.5 2.5v7a2.5 2.5 0 002.5 2.5h7a2.5 2.5 0 002.5-2.5v-7a2.5 2.5 0 00-2.5-2.5h-7zm8.5 5.5H7.5v-4.5h3a1.5 1.5 0 011.5 1.5v3zm0 1v3a1.5 1.5 0 01-1.5 1.5h-3v-4.5H12zm-5.5 4.5v-4.5H2v3a1.5 1.5 0 001.5 1.5h3zM2 6.504h4.5v-4.5h-3a1.5 1.5 0 00-1.5 1.5v3z",fill:e}))),dI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5H6a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H1.5a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5h3.5v3.5H2zM7.5 1.504a.5.5 0 01.5-.5h4.5a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H8a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5H12v3.5H8.5zM1.5 7.504a.5.5 0 00-.5.5v4.5a.5.5 0 00.5.5H6a.5.5 0 00.5-.5v-4.5a.5.5 0 00-.5-.5H1.5zm.5 1v3.5h3.5v-3.5H2zM7.5 8.004a.5.5 0 01.5-.5h4.5a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H8a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5H12v3.5H8.5z",fill:e}))),pI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2 2.004v2H1v-2.5a.5.5 0 01.5-.5H4v1H2zM1 9.004v-4h1v4H1zM1 10.004v2.5a.5.5 0 00.5.5H4v-1H2v-2H1zM10 13.004h2.5a.5.5 0 00.5-.5v-2.5h-1v2h-2v1zM12 4.004h1v-2.5a.5.5 0 00-.5-.5H10v1h2v2zM9 12.004v1H5v-1h4zM9 1.004v1H5v-1h4zM13 9.004h-1v-4h1v4zM7 8.004a1 1 0 100-2 1 1 0 000 2z",fill:e}))),fI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.25 3.254a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0zm-.5 0a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7.003v-6.5a.5.5 0 00-.5-.5h-10a.5.5 0 00-.5.5v2.5H.5a.5.5 0 00-.5.5v2.5h1v-2h2v6.5a.5.5 0 00.5.5H10v2H8v1h2.5a.5.5 0 00.5-.5v-2.5h2.5a.5.5 0 00.5-.5v-3.5zm-10-6v5.794L5.646 5.15a.5.5 0 01.708 0L7.5 6.297l2.646-2.647a.5.5 0 01.708 0L13 5.797V1.004H4zm9 6.208l-2.5-2.5-2.293 2.293L9.354 8.15a.5.5 0 11-.708.707L6 6.211l-2 2v1.793h9V7.21z",fill:e}),l.createElement("path",{d:"M0 10.004v-3h1v3H0zM0 13.504v-2.5h1v2h2v1H.5a.5.5 0 01-.5-.5zM7 14.004H4v-1h3v1z",fill:e}))),hI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4 3V1h1v2H4zM4 6v2h1V6H4zM4 11v2h1v-2H4zM9 11v2h1v-2H9zM9 8V6h1v2H9zM9 1v2h1V1H9zM13 5h-2V4h2v1zM11 10h2V9h-2v1zM3 10H1V9h2v1zM1 5h2V4H1v1zM8 5H6V4h2v1zM6 10h2V9H6v1zM4 4h1v1H4V4zM10 4H9v1h1V4zM9 9h1v1H9V9zM5 9H4v1h1V9z",fill:e}))),mI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z",fill:e}))),gI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M6 3.5a.5.5 0 01.5.5v1.5H8a.5.5 0 010 1H6.5V8a.5.5 0 01-1 0V6.5H4a.5.5 0 010-1h1.5V4a.5.5 0 01.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z",fill:e}))),vI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4 5.5a.5.5 0 000 1h4a.5.5 0 000-1H4z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 11.5c1.35 0 2.587-.487 3.544-1.294a.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 106 11.5zm0-1a4.5 4.5 0 100-9 4.5 4.5 0 000 9z",fill:e}))),yI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5 2.837V1.5a.5.5 0 00-1 0V4a.5.5 0 00.5.5h2.5a.5.5 0 000-1H2.258a4.5 4.5 0 11-.496 4.016.5.5 0 10-.942.337 5.502 5.502 0 008.724 2.353.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 101.5 2.837z",fill:e}))),bI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 9.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7l-.21.293C13.669 7.465 10.739 11.5 7 11.5S.332 7.465.21 7.293L0 7l.21-.293C.331 6.536 3.261 2.5 7 2.5s6.668 4.036 6.79 4.207L14 7zM2.896 5.302A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5c1.518 0 2.958-.83 4.104-1.802A12.72 12.72 0 0012.755 7c-.297-.37-.875-1.04-1.65-1.698C9.957 4.33 8.517 3.5 7 3.5c-1.519 0-2.958.83-4.104 1.802z",fill:e}))),wI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11zM11.104 8.698c-.177.15-.362.298-.553.439l.714.714a13.25 13.25 0 002.526-2.558L14 7l-.21-.293C13.669 6.536 10.739 2.5 7 2.5c-.89 0-1.735.229-2.506.58l.764.763A4.859 4.859 0 017 3.5c1.518 0 2.958.83 4.104 1.802A12.724 12.724 0 0112.755 7a12.72 12.72 0 01-1.65 1.698zM.21 6.707c.069-.096 1.03-1.42 2.525-2.558l.714.714c-.191.141-.376.288-.553.439A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5a4.86 4.86 0 001.742-.344l.764.764c-.772.351-1.616.58-2.506.58C3.262 11.5.332 7.465.21 7.293L0 7l.21-.293z",fill:e}),l.createElement("path",{d:"M4.5 7c0-.322.061-.63.172-.914l3.242 3.242A2.5 2.5 0 014.5 7zM9.328 7.914L6.086 4.672a2.5 2.5 0 013.241 3.241z",fill:e}))),EI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.522 6.6a.566.566 0 00-.176.544.534.534 0 00.382.41l2.781.721-1.493 5.013a.563.563 0 00.216.627.496.496 0 00.63-.06l6.637-6.453a.568.568 0 00.151-.54.534.534 0 00-.377-.396l-2.705-.708 2.22-4.976a.568.568 0 00-.15-.666.497.497 0 00-.648.008L2.522 6.6zm7.72.63l-3.067-.804L9.02 2.29 3.814 6.803l2.95.764-1.277 4.285 4.754-4.622zM4.51 13.435l.037.011-.037-.011z",fill:e}))),$x=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"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}))),xI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 3.004H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h10a.5.5 0 00.5-.5v-2.5h2.5a.5.5 0 00.5-.5v-10a.5.5 0 00-.5-.5h-10a.5.5 0 00-.5.5v2.5zm1 1v2.293l2.293-2.293H4zm-1 0v6.5a.499.499 0 00.497.5H10v2H1v-9h2zm1-1h6.5a.499.499 0 01.5.5v6.5h2v-9H4v2zm6 7V7.71l-2.293 2.293H10zm0-3.707V4.71l-5.293 5.293h1.586L10 6.297zm-.707-2.293H7.707L4 7.71v1.586l5.293-5.293z",fill:e}))),CI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 3.004v-2.5a.5.5 0 01.5-.5h10a.5.5 0 01.5.5v10a.5.5 0 01-.5.5H11v2.5a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-10a.5.5 0 01.5-.5H3zm1 0v-2h9v9h-2v-6.5a.5.5 0 00-.5-.5H4zm6 8v2H1v-9h2v6.5a.5.5 0 00.5.5H10zm0-1H4v-6h6v6z",fill:e}))),DI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zm1 10.5h10v-10l-10 10z",fill:e}))),SI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5 1.004a.5.5 0 100 1H12v10.5a.5.5 0 001 0v-10.5a1 1 0 00-1-1H1.5z",fill:e}),l.createElement("path",{d:"M1 3.504a.5.5 0 01.5-.5H10a1 1 0 011 1v8.5a.5.5 0 01-1 0v-8.5H1.5a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 5.004a.5.5 0 00-.5.5v7a.5.5 0 00.5.5h7a.5.5 0 00.5-.5v-7a.5.5 0 00-.5-.5h-7zm.5 1v6h6v-6H2z",fill:e}))),AI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.854.146a.5.5 0 00-.708 0L2.983 8.31a2.24 2.24 0 00-1.074.6C.677 10.14.24 11.902.085 12.997 0 13.6 0 14 0 14s.4 0 1.002-.085c1.095-.155 2.857-.592 4.089-1.824a2.24 2.24 0 00.6-1.074l8.163-8.163a.5.5 0 000-.708l-2-2zM5.6 9.692l.942-.942L5.25 7.457l-.942.943A2.242 2.242 0 015.6 9.692zm1.649-1.65L12.793 2.5 11.5 1.207 5.957 6.75 7.25 8.043zM4.384 9.617a1.25 1.25 0 010 1.768c-.767.766-1.832 1.185-2.78 1.403-.17.04-.335.072-.49.098.027-.154.06-.318.099-.49.219-.947.637-2.012 1.403-2.779a1.25 1.25 0 011.768 0z",fill:e}))),kI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5 1.004a.5.5 0 01.5.5v.5h10v-.5a.5.5 0 011 0v2a.5.5 0 01-1 0v-.5H2v.5a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 6a.5.5 0 00-.5.5v6a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-6a.5.5 0 00-.5-.5h-11zM2 7v5h10V7h-1v2.5a.5.5 0 01-1 0V7h-.75v1a.5.5 0 01-1 0V7H7.5v2.5a.5.5 0 01-1 0V7h-.75v1a.5.5 0 01-1 0V7H4v2.5a.5.5 0 01-1 0V7H2z",fill:e}))),_I=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4.5 4a.5.5 0 00-.5.5v5a.5.5 0 00.5.5h5a.5.5 0 00.5-.5v-5a.5.5 0 00-.5-.5h-5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),FI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 7a3 3 0 11-6 0 3 3 0 016 0zM9 7a2 2 0 11-4 0 2 2 0 014 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.5 1a.5.5 0 00-.5.5v.504H.5a.5.5 0 00-.5.5v9a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H6V1.5a.5.5 0 00-.5-.5h-3zM1 3.004v8h12v-8H1z",fill:e}))),II=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.5 10a.5.5 0 100-1 .5.5 0 000 1z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 4a2 2 0 012-2h6a2 2 0 012 2v.5l3.189-2.391A.5.5 0 0114 2.5v9a.5.5 0 01-.804.397L10 9.5v.5a2 2 0 01-2 2H2a2 2 0 01-2-2V4zm9 0v1.5a.5.5 0 00.8.4L13 3.5v7L9.8 8.1a.5.5 0 00-.8.4V10a1 1 0 01-1 1H2a1 1 0 01-1-1V4a1 1 0 011-1h6a1 1 0 011 1z",fill:e}))),TI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 4.5v5a.5.5 0 00.5.5H4l3.17 2.775a.5.5 0 00.83-.377V1.602a.5.5 0 00-.83-.376L4 4H1.5a.5.5 0 00-.5.5zM4 9V5H2v4h2zm.998.545A.504.504 0 005 9.5v-5c0-.015 0-.03-.002-.044L7 2.704v8.592L4.998 9.545z",fill:e}),l.createElement("path",{d:"M10.15 1.752a.5.5 0 00-.3.954 4.502 4.502 0 010 8.588.5.5 0 00.3.954 5.502 5.502 0 000-10.496z",fill:e}),l.createElement("path",{d:"M10.25 3.969a.5.5 0 00-.5.865 2.499 2.499 0 010 4.332.5.5 0 10.5.866 3.499 3.499 0 000-6.063z",fill:e}))),RI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M12.813 7.425l-9.05 5.603A.5.5 0 013 12.603V1.398a.5.5 0 01.763-.425l9.05 5.602a.5.5 0 010 .85z",fill:e}))),BI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.24 12.035L3.697 7.427A.494.494 0 013.5 7.2v4.05a.75.75 0 01-1.5 0v-8.5a.75.75 0 011.5 0V6.8a.494.494 0 01.198-.227l7.541-4.608A.5.5 0 0112 2.39v9.217a.5.5 0 01-.76.427z",fill:e}))),zI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.76 12.035l7.542-4.608A.495.495 0 0010.5 7.2v4.05a.75.75 0 001.5 0v-8.5a.75.75 0 00-1.5 0V6.8a.495.495 0 00-.198-.227L2.76 1.965A.5.5 0 002 2.39v9.217a.5.5 0 00.76.427z",fill:e}))),OI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M9 2.42v2.315l4.228-2.736a.5.5 0 01.772.42v9.162a.5.5 0 01-.772.42L9 9.263v2.317a.5.5 0 01-.772.42L1.5 7.647v3.603a.75.75 0 01-1.5 0v-8.5a.75.75 0 011.5 0v3.603L8.228 2A.5.5 0 019 2.42z",fill:e}))),LI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5 2.42v2.315L.772 1.999a.5.5 0 00-.772.42v9.162a.5.5 0 00.772.42L5 9.263v2.317a.5.5 0 00.772.42L12.5 7.647v3.603a.75.75 0 001.5 0v-8.5a.75.75 0 00-1.5 0v3.603L5.772 2A.5.5 0 005 2.42z",fill:e}))),MI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11z",fill:e}))),$I=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{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}))),PI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5 1.004a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11zm-10.5 1h10v5H2v-5z",fill:e}))),NI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3492)",fill:e},l.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0V2a.5.5 0 001 0V.5z"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 10a3 3 0 100-6 3 3 0 000 6zm0-1a2 2 0 100-4 2 2 0 000 4z"}),l.createElement("path",{d:"M7 11.5a.5.5 0 01.5.5v1.5a.5.5 0 01-1 0V12a.5.5 0 01.5-.5zM11.5 7a.5.5 0 01.5-.5h1.5a.5.5 0 010 1H12a.5.5 0 01-.5-.5zM.5 6.5a.5.5 0 000 1H2a.5.5 0 000-1H.5zM3.818 10.182a.5.5 0 010 .707l-1.06 1.06a.5.5 0 11-.708-.706l1.06-1.06a.5.5 0 01.708 0zM11.95 2.757a.5.5 0 10-.707-.707l-1.061 1.061a.5.5 0 10.707.707l1.06-1.06zM10.182 10.182a.5.5 0 01.707 0l1.06 1.06a.5.5 0 11-.706.708l-1.061-1.06a.5.5 0 010-.708zM2.757 2.05a.5.5 0 10-.707.707l1.06 1.061a.5.5 0 00.708-.707l-1.06-1.06z"})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3492"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),jI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3493)"},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.335.047l-.15-.015a7.499 7.499 0 106.14 10.577c.103-.229-.156-.447-.386-.346a5.393 5.393 0 01-.771.27A5.356 5.356 0 019.153.691C9.37.568 9.352.23 9.106.175a7.545 7.545 0 00-.77-.128zM6.977 1.092a6.427 6.427 0 005.336 10.671A6.427 6.427 0 116.977 1.092z",fill:e})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3493"},l.createElement("path",{fill:"#fff",transform:"scale(1.07124)",d:"M0 0h14.001v14.002H0z"}))))),HI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 2a2 2 0 00-2-2H1.5a.5.5 0 00-.5.5v13a.5.5 0 00.5.5H11a2 2 0 002-2V2zM3 13h8a1 1 0 001-1V2a1 1 0 00-1-1H7v6.004a.5.5 0 01-.856.352l-.002-.002L5.5 6.71l-.645.647A.5.5 0 014 7.009V1H3v12zM5 1v4.793l.146-.146a.5.5 0 01.743.039l.111.11V1H5z",fill:e}))),VI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4 5.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zM4.5 7.5a.5.5 0 000 1h5a.5.5 0 000-1h-5zM4 10.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 0a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h11a.5.5 0 00.5-.5V3.207a.5.5 0 00-.146-.353L10.146.146A.5.5 0 009.793 0H1.5zM2 1h7.5v2a.5.5 0 00.5.5h2V13H2V1z",fill:e}))),UI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.746.07A.5.5 0 0011.5.003h-6a.5.5 0 00-.5.5v2.5H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h8a.5.5 0 00.5-.5v-2.5h4.5a.5.5 0 00.5-.5v-8a.498.498 0 00-.15-.357L11.857.154a.506.506 0 00-.11-.085zM9 10.003h4v-7h-1.5a.5.5 0 01-.5-.5v-1.5H6v2h.5a.5.5 0 01.357.15L8.85 5.147c.093.09.15.217.15.357v4.5zm-8-6v9h7v-7H6.5a.5.5 0 01-.5-.5v-1.5H1z",fill:e}))),qI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3 1.5a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5zM2 3.504a.5.5 0 01.5-.5h9a.5.5 0 010 1h-9a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 5.5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v7a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-7zM2 12V6h10v6H2z",fill:e}))),WI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.586 3.504l-1.5-1.5H1v9h12v-7.5H6.586zm.414-1L5.793 1.297a1 1 0 00-.707-.293H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-8.5a.5.5 0 00-.5-.5H7z",fill:e}))),GI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4.5 8.004a.5.5 0 100 1h5a.5.5 0 000-1h-5zM4.5 10.004a.5.5 0 000 1h5a.5.5 0 000-1h-5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 1.504a.5.5 0 01.5-.5h8a.498.498 0 01.357.15l.993.993c.093.09.15.217.15.357v1.5h1.5a.5.5 0 01.5.5v5a.5.5 0 01-.5.5H12v2.5a.5.5 0 01-.5.5h-9a.5.5 0 01-.5-.5v-2.5H.5a.5.5 0 01-.5-.5v-5a.5.5 0 01.5-.5H2v-2.5zm11 7.5h-1v-2.5a.5.5 0 00-.5-.5h-9a.5.5 0 00-.5.5v2.5H1v-4h12v4zm-2-6v1H3v-2h7v.5a.5.5 0 00.5.5h.5zm-8 9h8v-5H3v5z",fill:e}))),KI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.146 6.15a.5.5 0 01.708 0L7 7.297 9.146 5.15a.5.5 0 01.708 0l1 1a.5.5 0 01-.708.707L9.5 6.211 7.354 8.357a.5.5 0 01-.708 0L5.5 7.211 3.854 8.857a.5.5 0 11-.708-.707l2-2z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 1.004a.5.5 0 00-.5.5v11a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-11a.5.5 0 00-.5-.5h-11zm.5 1v10h10v-10H2z",fill:e}))),YI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 0a.5.5 0 01.5.5V1h6V.5a.5.5 0 011 0V1h1.5a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5H3V.5a.5.5 0 01.5-.5zM2 4v2.3h3V4H2zm0 5.2V6.8h3v2.4H2zm0 .5V12h3V9.7H2zm3.5 0V12h3V9.7h-3zm3.5 0V12h3V9.7H9zm3-.5H9V6.8h3v2.4zm-3.5 0h-3V6.8h3v2.4zM9 4v2.3h3V4H9zM5.5 6.3h3V4h-3v2.3z",fill:e}))),ZI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M12 2.5a.5.5 0 00-1 0v10a.5.5 0 001 0v-10zM9 4.5a.5.5 0 00-1 0v8a.5.5 0 001 0v-8zM5.5 7a.5.5 0 01.5.5v5a.5.5 0 01-1 0v-5a.5.5 0 01.5-.5zM3 10.5a.5.5 0 00-1 0v2a.5.5 0 001 0v-2z",fill:e}))),JI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M13 2a.5.5 0 010 1H1a.5.5 0 010-1h12zM10 5a.5.5 0 010 1H1a.5.5 0 010-1h9zM11.5 8.5A.5.5 0 0011 8H1a.5.5 0 000 1h10a.5.5 0 00.5-.5zM7.5 11a.5.5 0 010 1H1a.5.5 0 010-1h6.5z",fill:e}))),XI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1 2a.5.5 0 000 1h12a.5.5 0 000-1H1zM4 5a.5.5 0 000 1h9a.5.5 0 000-1H4zM2.5 8.5A.5.5 0 013 8h10a.5.5 0 010 1H3a.5.5 0 01-.5-.5zM6.5 11a.5.5 0 000 1H13a.5.5 0 000-1H6.5z",fill:e}))),QI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1 2a.5.5 0 000 1h12a.5.5 0 000-1H1zM3 5a.5.5 0 000 1h8a.5.5 0 000-1H3zM4.5 8.5A.5.5 0 015 8h4a.5.5 0 010 1H5a.5.5 0 01-.5-.5zM6.5 11a.5.5 0 000 1h1a.5.5 0 000-1h-1z",fill:e}))),eT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zM2 4v2.3h3V4H2zm0 5.2V6.8h3v2.4H2zm0 .5V12h3V9.7H2zm3.5 0V12h3V9.7h-3zm3.5 0V12h3V9.7H9zm3-.5H9V6.8h3v2.4zm-3.5 0h-3V6.8h3v2.4zM9 6.3h3V4H9v2.3zm-3.5 0h3V4h-3v2.3z",fill:e}))),tT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.5 6.5A.5.5 0 014 6h6a.5.5 0 010 1H4a.5.5 0 01-.5-.5zM4 9a.5.5 0 000 1h6a.5.5 0 000-1H4z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zM2 4v8h10V4H2z",fill:e}))),rT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M13 4a.5.5 0 010 1H1a.5.5 0 010-1h12zM13.5 9.5A.5.5 0 0013 9H1a.5.5 0 000 1h12a.5.5 0 00.5-.5z",fill:e}))),nT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M13 3.5a.5.5 0 010 1H1a.5.5 0 010-1h12zM13.5 10a.5.5 0 00-.5-.5H1a.5.5 0 000 1h12a.5.5 0 00.5-.5zM13 6.5a.5.5 0 010 1H1a.5.5 0 010-1h12z",fill:e}))),aT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M8.982 1.632a.5.5 0 00-.964-.263l-3 11a.5.5 0 10.964.263l3-11zM3.32 3.616a.5.5 0 01.064.704L1.151 7l2.233 2.68a.5.5 0 11-.768.64l-2.5-3a.5.5 0 010-.64l2.5-3a.5.5 0 01.704-.064zM10.68 3.616a.5.5 0 00-.064.704L12.849 7l-2.233 2.68a.5.5 0 00.768.64l2.5-3a.5.5 0 000-.64l-2.5-3a.5.5 0 00-.704-.064z",fill:e}))),oT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 2v1.5h1v7H3V12h5a3 3 0 001.791-5.407A2.75 2.75 0 008 2.011V2H3zm5 5.5H5.5v3H8a1.5 1.5 0 100-3zm-.25-4H5.5V6h2.25a1.25 1.25 0 100-2.5z",fill:e}))),iT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5 2h6v1H8.5l-2 8H9v1H3v-1h2.5l2-8H5V2z",fill:e}))),lT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M10.553 2.268a1.5 1.5 0 00-2.12 0L2.774 7.925a2.5 2.5 0 003.536 3.535l3.535-3.535a.5.5 0 11.707.707l-3.535 3.536-.002.002a3.5 3.5 0 01-4.959-4.941l.011-.011L7.725 1.56l.007-.008a2.5 2.5 0 013.53 3.541l-.002.002-5.656 5.657-.003.003a1.5 1.5 0 01-2.119-2.124l3.536-3.536a.5.5 0 11.707.707L4.189 9.34a.5.5 0 00.707.707l5.657-5.657a1.5 1.5 0 000-2.121z",fill:e}))),sT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5 2.5a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5zM5 7a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7A.5.5 0 015 7zM5.5 11a.5.5 0 000 1h7a.5.5 0 000-1h-7zM2.5 2H1v1h1v3h1V2.5a.5.5 0 00-.5-.5zM3 8.5v1a.5.5 0 01-1 0V9h-.5a.5.5 0 010-1h1a.5.5 0 01.5.5zM2 10.5a.5.5 0 00-1 0V12h2v-1H2v-.5z",fill:e}))),uT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.75 2.5a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM5.5 2a.5.5 0 000 1h7a.5.5 0 000-1h-7zM5.5 11a.5.5 0 000 1h7a.5.5 0 000-1h-7zM2 12.25a.75.75 0 100-1.5.75.75 0 000 1.5zM5 7a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7A.5.5 0 015 7zM2 7.75a.75.75 0 100-1.5.75.75 0 000 1.5z",fill:e}))),cT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M6 7a3 3 0 110-6h5.5a.5.5 0 010 1H10v10.5a.5.5 0 01-1 0V2H7v10.5a.5.5 0 01-1 0V7z",fill:e}))),dT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2 4.5h1.5L5 6.375 6.5 4.5H8v5H6.5V7L5 8.875 3.5 7v2.5H2v-5zM9.75 4.5h1.5V7h1.25l-2 2.5-2-2.5h1.25V4.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.5 2a.5.5 0 00-.5.5v9a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H.5zM1 3v8h12V3H1z",fill:e}))),pT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5 2.5a.5.5 0 11-1 0 .5.5 0 011 0zM4.5 5a.5.5 0 100-1 .5.5 0 000 1zM5 6.5a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 0a2 2 0 012 2v10a2 2 0 01-2 2H1.5a.5.5 0 01-.5-.5V.5a.5.5 0 01.5-.5H11zm0 1H3v12h8a1 1 0 001-1V2a1 1 0 00-1-1z",fill:e}))),fT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.031 7.5a4 4 0 007.938 0H13.5a.5.5 0 000-1h-2.53a4 4 0 00-7.94 0H.501a.5.5 0 000 1h2.531zM7 10a3 3 0 100-6 3 3 0 000 6z",fill:e}))),hT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 2.5a1.5 1.5 0 01-1 1.415v4.053C5.554 7.4 6.367 7 7.5 7c.89 0 1.453-.252 1.812-.557.218-.184.374-.4.482-.62a1.5 1.5 0 111.026.143c-.155.423-.425.87-.86 1.24C9.394 7.685 8.59 8 7.5 8c-1.037 0-1.637.42-1.994.917a2.81 2.81 0 00-.472 1.18A1.5 1.5 0 114 10.086v-6.17A1.5 1.5 0 116 2.5zm-2 9a.5.5 0 111 0 .5.5 0 01-1 0zm1-9a.5.5 0 11-1 0 .5.5 0 011 0zm6 2a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}))),mT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.354 1.354L7.707 2H8.5A2.5 2.5 0 0111 4.5v5.585a1.5 1.5 0 11-1 0V4.5A1.5 1.5 0 008.5 3h-.793l.647.646a.5.5 0 11-.708.708l-1.5-1.5a.5.5 0 010-.708l1.5-1.5a.5.5 0 11.708.708zM11 11.5a.5.5 0 11-1 0 .5.5 0 011 0zM4 3.915a1.5 1.5 0 10-1 0v6.17a1.5 1.5 0 101 0v-6.17zM3.5 11a.5.5 0 100 1 .5.5 0 000-1zm0-8a.5.5 0 100-1 .5.5 0 000 1z",fill:e}))),gT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.108 3.872A1.5 1.5 0 103 3.915v6.17a1.5 1.5 0 101 0V6.41c.263.41.573.77.926 1.083 1.108.98 2.579 1.433 4.156 1.5A1.5 1.5 0 109.09 7.99c-1.405-.065-2.62-.468-3.5-1.248-.723-.64-1.262-1.569-1.481-2.871zM3.5 11a.5.5 0 100 1 .5.5 0 000-1zM4 2.5a.5.5 0 11-1 0 .5.5 0 011 0zm7 6a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}))),vT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.03 8.103a3.044 3.044 0 01-.202-1.744 2.697 2.697 0 011.4-1.935c-.749-1.18-1.967-1.363-2.35-1.403-.835-.086-2.01.56-2.648.57h-.016c-.639-.01-1.814-.656-2.649-.57-.415.044-1.741.319-2.541 1.593-.281.447-.498 1.018-.586 1.744a6.361 6.361 0 00-.044.85c.005.305.028.604.07.895.09.62.259 1.207.477 1.744.242.595.543 1.13.865 1.585.712 1.008 1.517 1.59 1.971 1.6.934.021 1.746-.61 2.416-.594.006.002.014.003.02.002h.017c.007 0 .014 0 .021-.002.67-.017 1.481.615 2.416.595.453-.011 1.26-.593 1.971-1.6a7.95 7.95 0 00.97-1.856c-.697-.217-1.27-.762-1.578-1.474zm-2.168-5.97c.717-.848.69-2.07.624-2.125-.065-.055-1.25.163-1.985.984-.735.82-.69 2.071-.624 2.125.064.055 1.268-.135 1.985-.984z",fill:e}))),yT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0a3 3 0 013 3v1.24c.129.132.25.27.362.415.113.111.283.247.515.433l.194.155c.325.261.711.582 1.095.966.765.765 1.545 1.806 1.823 3.186a.501.501 0 01-.338.581 3.395 3.395 0 01-1.338.134 2.886 2.886 0 01-1.049-.304 5.535 5.535 0 01-.17.519 2 2 0 11-2.892 2.55A5.507 5.507 0 017 13c-.439 0-.838-.044-1.201-.125a2 2 0 11-2.892-2.55 5.553 5.553 0 01-.171-.519c-.349.182-.714.27-1.05.304A3.395 3.395 0 01.35 9.977a.497.497 0 01-.338-.582c.278-1.38 1.058-2.42 1.823-3.186.384-.384.77-.705 1.095-.966l.194-.155c.232-.186.402-.322.515-.433.112-.145.233-.283.362-.414V3a3 3 0 013-3zm1.003 11.895a2 2 0 012.141-1.89c.246-.618.356-1.322.356-2.005 0-.514-.101-1.07-.301-1.599l-.027-.017a6.387 6.387 0 00-.857-.42 6.715 6.715 0 00-1.013-.315l-.852.638a.75.75 0 01-.9 0l-.852-.638a6.716 6.716 0 00-1.693.634 4.342 4.342 0 00-.177.101l-.027.017A4.6 4.6 0 003.501 8c0 .683.109 1.387.355 2.005a2 2 0 012.142 1.89c.295.067.627.105 1.002.105s.707-.038 1.003-.105zM5 12a1 1 0 11-2 0 1 1 0 012 0zm6 0a1 1 0 11-2 0 1 1 0 012 0zM6.1 4.3a1.5 1.5 0 011.8 0l.267.2L7 5.375 5.833 4.5l.267-.2zM8.5 2a.5.5 0 01.5.5V3a.5.5 0 01-1 0v-.5a.5.5 0 01.5-.5zM6 2.5a.5.5 0 00-1 0V3a.5.5 0 001 0v-.5z",fill:e}))),bT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3497)",fill:e},l.createElement("path",{d:"M12.261 2.067c0 1.142-.89 2.068-1.988 2.068-1.099 0-1.99-.926-1.99-2.068C8.283.926 9.174 0 10.273 0c1.098 0 1.989.926 1.989 2.067zM3.978 6.6c0 1.142-.89 2.068-1.989 2.068C.891 8.668 0 7.742 0 6.601c0-1.142.89-2.068 1.989-2.068 1.099 0 1.989.926 1.989 2.068zM6.475 11.921A4.761 4.761 0 014.539 11a4.993 4.993 0 01-1.367-1.696 2.765 2.765 0 01-1.701.217 6.725 6.725 0 001.844 2.635 6.379 6.379 0 004.23 1.577 3.033 3.033 0 01-.582-1.728 4.767 4.767 0 01-.488-.083zM11.813 11.933c0 1.141-.89 2.067-1.989 2.067-1.098 0-1.989-.926-1.989-2.067 0-1.142.891-2.068 1.99-2.068 1.098 0 1.989.926 1.989 2.068zM12.592 11.173a6.926 6.926 0 001.402-3.913 6.964 6.964 0 00-1.076-4.023A2.952 2.952 0 0111.8 4.6c.398.78.592 1.656.564 2.539a5.213 5.213 0 01-.724 2.495c.466.396.8.935.952 1.54zM1.987 3.631c-.05 0-.101.002-.151.004C3.073 1.365 5.504.024 8.005.23a3.07 3.07 0 00-.603 1.676 4.707 4.707 0 00-2.206.596 4.919 4.919 0 00-1.7 1.576 2.79 2.79 0 00-1.509-.447z"})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3497"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),wT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M6.5 1H1v5.5h5.5V1zM13 1H7.5v5.5H13V1zM7.5 7.5H13V13H7.5V7.5zM6.5 7.5H1V13h5.5V7.5z",fill:e}))),ET=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3496)"},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.023 3.431a.115.115 0 01-.099.174H7.296A3.408 3.408 0 003.7 6.148a.115.115 0 01-.21.028l-1.97-3.413a.115.115 0 01.01-.129A6.97 6.97 0 017 0a6.995 6.995 0 016.023 3.431zM7 9.615A2.619 2.619 0 014.384 7 2.62 2.62 0 017 4.383 2.619 2.619 0 019.616 7 2.619 2.619 0 017 9.615zm1.034.71a.115.115 0 00-.121-.041 3.4 3.4 0 01-.913.124 3.426 3.426 0 01-3.091-1.973L1.098 3.567a.115.115 0 00-.2.001 7.004 7.004 0 005.058 10.354l.017.001c.04 0 .078-.021.099-.057l1.971-3.414a.115.115 0 00-.009-.128zm1.43-5.954h3.947c.047 0 .09.028.107.072.32.815.481 1.675.481 2.557a6.957 6.957 0 01-2.024 4.923A6.957 6.957 0 017.08 14h-.001a.115.115 0 01-.1-.172L9.794 8.95A3.384 3.384 0 0010.408 7c0-.921-.364-1.785-1.024-2.433a.115.115 0 01.08-.196z",fill:e})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3496"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),xT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.042.616a.704.704 0 00-.66.729L1.816 12.9c.014.367.306.66.672.677l9.395.422h.032a.704.704 0 00.704-.703V.704c0-.015 0-.03-.002-.044a.704.704 0 00-.746-.659l-.773.049.057 1.615a.105.105 0 01-.17.086l-.52-.41-.617.468a.105.105 0 01-.168-.088L9.746.134 2.042.616zm8.003 4.747c-.247.192-2.092.324-2.092.05.04-1.045-.429-1.091-.689-1.091-.247 0-.662.075-.662.634 0 .57.607.893 1.32 1.27 1.014.538 2.24 1.188 2.24 2.823 0 1.568-1.273 2.433-2.898 2.433-1.676 0-3.141-.678-2.976-3.03.065-.275 2.197-.21 2.197 0-.026.971.195 1.256.753 1.256.43 0 .624-.236.624-.634 0-.602-.633-.958-1.361-1.367-.987-.554-2.148-1.205-2.148-2.7 0-1.494 1.027-2.489 2.86-2.489 1.832 0 2.832.98 2.832 2.845z",fill:e}))),CT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3503)"},l.createElement("path",{d:"M0 5.176l1.31-1.73 4.902-1.994V.014l4.299 3.144-8.78 1.706v4.8L0 9.162V5.176zm14-2.595v8.548l-3.355 2.857-5.425-1.783v1.783L1.73 9.661l8.784 1.047v-7.55L14 2.581z",fill:e})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3503"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),DT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.522a.411.411 0 00-.412.476l1.746 10.597a.56.56 0 00.547.466h8.373a.411.411 0 00.412-.345l1.017-6.248h-3.87L8.35 9.18H5.677l-.724-3.781h7.904L13.412 2A.411.411 0 0013 1.524L1 1.522z",fill:e}))),ST=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7a7 7 0 1014 0A7 7 0 000 7zm5.215-3.869a1.967 1.967 0 013.747.834v1.283l-3.346-1.93a2.486 2.486 0 00-.401-.187zm3.484 2.58l-3.346-1.93a1.968 1.968 0 00-2.685.72 1.954 1.954 0 00.09 2.106 2.45 2.45 0 01.362-.254l1.514-.873a.27.27 0 01.268 0l2.1 1.21 1.697-.978zm-.323 4.972L6.86 9.81a.268.268 0 01-.134-.231V7.155l-1.698-.98v3.86a1.968 1.968 0 003.747.835 2.488 2.488 0 01-.4-.187zm.268-.464a1.967 1.967 0 002.685-.719 1.952 1.952 0 00-.09-2.106c-.112.094-.233.18-.361.253L7.53 9.577l1.113.642zm-4.106.257a1.974 1.974 0 01-1.87-.975A1.95 1.95 0 012.47 8.01c.136-.507.461-.93.916-1.193L4.5 6.175v3.86c0 .148.013.295.039.44zM11.329 4.5a1.973 1.973 0 00-1.87-.976c.025.145.039.292.039.44v1.747a.268.268 0 01-.135.232l-2.1 1.211v1.96l3.346-1.931a1.966 1.966 0 00.72-2.683z",fill:e}))),AT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M10.847 2.181L8.867.201a.685.685 0 00-.97 0l-4.81 4.81a.685.685 0 000 .969l2.466 2.465-2.405 2.404a.685.685 0 000 .97l1.98 1.98a.685.685 0 00.97 0l4.81-4.81a.685.685 0 000-.969L8.441 5.555l2.405-2.404a.685.685 0 000-.97z",fill:e}))),kT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.852 2.885c-.893-.41-1.85-.712-2.85-.884a.043.043 0 00-.046.021c-.123.22-.26.505-.355.73a10.658 10.658 0 00-3.2 0 7.377 7.377 0 00-.36-.73.045.045 0 00-.046-.021c-1 .172-1.957.474-2.85.884a.04.04 0 00-.019.016C.311 5.612-.186 8.257.058 10.869a.048.048 0 00.018.033 11.608 11.608 0 003.496 1.767.045.045 0 00.049-.016c.27-.368.51-.755.715-1.163a.044.044 0 00-.024-.062 7.661 7.661 0 01-1.092-.52.045.045 0 01-.005-.075c.074-.055.147-.112.217-.17a.043.043 0 01.046-.006c2.29 1.046 4.771 1.046 7.035 0a.043.043 0 01.046.006c.07.057.144.115.218.17a.045.045 0 01-.004.075 7.186 7.186 0 01-1.093.52.045.045 0 00-.024.062c.21.407.45.795.715 1.162.011.016.03.023.05.017a11.57 11.57 0 003.5-1.767.045.045 0 00.019-.032c.292-3.02-.49-5.643-2.07-7.969a.036.036 0 00-.018-.016zM4.678 9.279c-.69 0-1.258-.634-1.258-1.411 0-.778.558-1.411 1.258-1.411.707 0 1.27.639 1.259 1.41 0 .778-.558 1.412-1.259 1.412zm4.652 0c-.69 0-1.258-.634-1.258-1.411 0-.778.557-1.411 1.258-1.411.707 0 1.27.639 1.258 1.41 0 .778-.551 1.412-1.258 1.412z",fill:e}))),_T=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"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}))),FT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.2 0H4.803A2.603 2.603 0 003.41 4.802a2.603 2.603 0 000 4.396 2.602 2.602 0 103.998 2.199v-2.51a2.603 2.603 0 103.187-4.085A2.604 2.604 0 009.2 0zM7.407 7a1.793 1.793 0 103.586 0 1.793 1.793 0 00-3.586 0zm-.81 2.603H4.803a1.793 1.793 0 101.794 1.794V9.603zM4.803 4.397h1.794V.81H4.803a1.793 1.793 0 000 3.587zm0 .81a1.793 1.793 0 000 3.586h1.794V5.207H4.803zm4.397-.81H7.407V.81H9.2a1.794 1.794 0 010 3.587z",fill:e}))),IT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M6.37 8.768l-2.042 3.537h6.755l2.042-3.537H6.37zm6.177-1.003l-3.505-6.07H4.96l3.504 6.07h4.084zM4.378 2.7L.875 8.77l2.042 3.536L6.42 6.236 4.378 2.7z",fill:e}))),TT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0C3.132 0 0 3.132 0 7a6.996 6.996 0 004.786 6.641c.35.062.482-.149.482-.332 0-.166-.01-.718-.01-1.304-1.758.324-2.213-.429-2.353-.823-.079-.2-.42-.822-.717-.988-.246-.132-.596-.455-.01-.464.552-.009.946.508 1.077.717.63 1.06 1.636.762 2.039.578.061-.455.245-.761.446-.936-1.558-.175-3.185-.779-3.185-3.457 0-.76.271-1.39.717-1.88-.07-.176-.314-.893.07-1.856 0 0 .587-.183 1.925.718a6.495 6.495 0 011.75-.236c.595 0 1.19.078 1.75.236 1.34-.91 1.926-.718 1.926-.718.385.963.14 1.68.07 1.855.446.49.717 1.111.717 1.881 0 2.687-1.636 3.282-3.194 3.457.254.218.473.638.473 1.295 0 .936-.009 1.688-.009 1.925 0 .184.131.402.481.332A7.012 7.012 0 0014 7c0-3.868-3.133-7-7-7z",fill:e}))),RT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.068 5.583l1.487-4.557a.256.256 0 01.487 0L4.53 5.583H1.068L7 13.15 4.53 5.583h4.941l-2.47 7.565 5.931-7.565H9.471l1.488-4.557a.256.256 0 01.486 0l1.488 4.557.75 2.3a.508.508 0 01-.185.568L7 13.148v.001H7L.503 8.452a.508.508 0 01-.186-.57l.75-2.299z",fill:e}))),BT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M10.925 1.094H7.262c-1.643 0-3.189 1.244-3.189 2.685 0 1.473 1.12 2.661 2.791 2.661.116 0 .23-.002.34-.01a1.49 1.49 0 00-.186.684c0 .41.22.741.498 1.012-.21 0-.413.006-.635.006-2.034 0-3.6 1.296-3.6 2.64 0 1.323 1.717 2.15 3.75 2.15 2.32 0 3.6-1.315 3.6-2.639 0-1.06-.313-1.696-1.28-2.38-.331-.235-.965-.805-.965-1.14 0-.392.112-.586.703-1.047.606-.474 1.035-1.14 1.035-1.914 0-.92-.41-1.819-1.18-2.115h1.161l.82-.593zm-1.335 8.96c.03.124.045.25.045.378 0 1.07-.688 1.905-2.665 1.905-1.406 0-2.421-.89-2.421-1.96 0-1.047 1.259-1.92 2.665-1.904.328.004.634.057.911.146.764.531 1.311.832 1.465 1.436zM7.34 6.068c-.944-.028-1.841-1.055-2.005-2.295-.162-1.24.47-2.188 1.415-2.16.943.029 1.84 1.023 2.003 2.262.163 1.24-.47 2.222-1.414 2.193z",fill:e}))),zT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.873 11.608a1.167 1.167 0 00-1.707-.027L3.46 10.018l.01-.04h7.072l.022.076-2.69 1.554zM6.166 2.42l.031.03-3.535 6.124a1.265 1.265 0 00-.043-.012V5.438a1.166 1.166 0 00.84-1.456L6.167 2.42zm4.387 1.562a1.165 1.165 0 00.84 1.456v3.124l-.043.012-3.536-6.123a1.2 1.2 0 00.033-.032l2.706 1.563zM3.473 9.42a1.168 1.168 0 00-.327-.568L6.68 2.73a1.17 1.17 0 00.652 0l3.536 6.123a1.169 1.169 0 00-.327.567H3.473zm8.79-.736a1.169 1.169 0 00-.311-.124V5.44a1.17 1.17 0 10-1.122-1.942L8.13 1.938a1.168 1.168 0 00-1.122-1.5 1.17 1.17 0 00-1.121 1.5l-2.702 1.56a1.168 1.168 0 00-1.86.22 1.17 1.17 0 00.739 1.722v3.12a1.168 1.168 0 00-.74 1.721 1.17 1.17 0 001.861.221l2.701 1.56a1.169 1.169 0 102.233-.035l2.687-1.552a1.168 1.168 0 101.457-1.791z",fill:e}))),OT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M0 0v14h14V0H0zm11.63 3.317l-.75.72a.22.22 0 00-.083.212v-.001 5.289a.22.22 0 00.083.21l.733.72v.159H7.925v-.158l.76-.738c.074-.074.074-.096.074-.21V5.244l-2.112 5.364h-.285l-2.46-5.364V8.84a.494.494 0 00.136.413h.001l.988 1.198v.158H2.226v-.158l.988-1.198a.477.477 0 00.126-.416v.003-4.157a.363.363 0 00-.118-.307l-.878-1.058v-.158h2.727l2.107 4.622L9.031 3.16h2.6v.158z",fill:e}))),LT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.06 9.689c.016.49.423.88.912.88h.032a.911.911 0 00.88-.945.916.916 0 00-.912-.88h-.033c-.033 0-.08 0-.113.016-.669-1.108-.946-2.314-.848-3.618.065-.978.391-1.825.961-2.526.473-.603 1.386-.896 2.005-.913 1.728-.032 2.461 2.119 2.51 2.983.212.049.57.163.815.244C10.073 2.29 8.444.92 6.88.92c-1.467 0-2.82 1.06-3.357 2.625-.75 2.086-.261 4.09.651 5.671a.74.74 0 00-.114.473zm8.279-2.298c-1.239-1.45-3.064-2.249-5.15-2.249h-.261a.896.896 0 00-.798-.489h-.033A.912.912 0 006.13 6.48h.031a.919.919 0 00.8-.554h.293c1.239 0 2.412.358 3.472 1.059.814.538 1.401 1.238 1.727 2.086.277.684.261 1.353-.033 1.923-.456.864-1.222 1.337-2.232 1.337a4.16 4.16 0 01-1.597-.343 9.58 9.58 0 01-.734.587c.7.326 1.418.505 2.102.505 1.565 0 2.722-.863 3.162-1.727.473-.946.44-2.575-.782-3.961zm-7.433 5.51a4.005 4.005 0 01-.977.113c-1.206 0-2.298-.505-2.836-1.32C.376 10.603.13 8.289 2.494 6.577c.05.261.147.62.212.832-.31.228-.798.685-1.108 1.303-.44.864-.391 1.729.13 2.527.359.537.93.864 1.663.962.896.114 1.793-.05 2.657-.505 1.271-.669 2.119-1.467 2.672-2.56a.944.944 0 01-.26-.603.913.913 0 01.88-.945h.033a.915.915 0 01.098 1.825c-.897 1.842-2.478 3.08-4.565 3.488z",fill:e}))),MT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 2.547a5.632 5.632 0 01-1.65.464 2.946 2.946 0 001.263-1.63 5.67 5.67 0 01-1.823.715 2.837 2.837 0 00-2.097-.93c-1.586 0-2.872 1.319-2.872 2.946 0 .23.025.456.074.67C4.508 4.66 2.392 3.488.975 1.706c-.247.435-.389.941-.389 1.481 0 1.022.507 1.923 1.278 2.452a2.806 2.806 0 01-1.3-.368l-.001.037c0 1.427.99 2.617 2.303 2.888a2.82 2.82 0 01-1.297.05c.366 1.17 1.427 2.022 2.683 2.045A5.671 5.671 0 010 11.51a7.985 7.985 0 004.403 1.323c5.283 0 8.172-4.488 8.172-8.38 0-.128-.003-.255-.009-.38A5.926 5.926 0 0014 2.546z",fill:e}))),$T=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"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}))),PT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.243.04a.87.87 0 01.38.087l2.881 1.386a.874.874 0 01.496.79V11.713a.875.875 0 01-.496.775l-2.882 1.386a.872.872 0 01-.994-.17L4.11 8.674l-2.404 1.823a.583.583 0 01-.744-.034l-.771-.7a.583.583 0 010-.862L2.274 7 .19 5.1a.583.583 0 010-.862l.772-.701a.583.583 0 01.744-.033L4.11 5.327 9.628.296a.871.871 0 01.615-.255zm.259 3.784L6.315 7l4.187 3.176V3.824z",fill:e}))),NT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.667 13H2.333A1.333 1.333 0 011 11.667V2.333C1 1.597 1.597 1 2.333 1h9.334C12.403 1 13 1.597 13 2.333v9.334c0 .736-.597 1.333-1.333 1.333zm-2.114-1.667h1.78V7.675c0-1.548-.877-2.296-2.102-2.296-1.226 0-1.742.955-1.742.955v-.778H5.773v5.777h1.716V8.3c0-.812.374-1.296 1.09-1.296.658 0 .974.465.974 1.296v3.033zm-6.886-7.6c0 .589.474 1.066 1.058 1.066.585 0 1.058-.477 1.058-1.066 0-.589-.473-1.066-1.058-1.066-.584 0-1.058.477-1.058 1.066zm1.962 7.6h-1.79V5.556h1.79v5.777z",fill:e}))),jT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.02.446h2.137L8.49 5.816l5.51 7.28H9.67L6.298 8.683l-3.88 4.413H.282l5.004-5.735L0 .446h4.442l3.064 4.048L11.02.446zm-.759 11.357h1.18L3.796 1.655H2.502l7.759 10.148z",fill:e}))),HT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h13a.5.5 0 01.5.5v11a.5.5 0 01-.5.5H.5zm.5-1v-8h12v8H1zm1-9.5a.5.5 0 11-1 0 .5.5 0 011 0zm2 0a.5.5 0 11-1 0 .5.5 0 011 0zm2 0a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}))),VT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5.004a1.5 1.5 0 00-1.5 1.5v11a1.5 1.5 0 001.5 1.5h7a1.5 1.5 0 001.5-1.5v-11a1.5 1.5 0 00-1.5-1.5h-7zm0 1h7a.5.5 0 01.5.5v9.5H3v-9.5a.5.5 0 01.5-.5zm2.5 11a.5.5 0 000 1h2a.5.5 0 000-1H6z",fill:e}))),UT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 1.504a1.5 1.5 0 011.5-1.5h5a1.5 1.5 0 011.5 1.5v11a1.5 1.5 0 01-1.5 1.5h-5a1.5 1.5 0 01-1.5-1.5v-11zm1 10.5v-10h6v10H4z",fill:e}))),qT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 .504a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zm5.5 2.5h-5a.5.5 0 00-.5.5v7a.5.5 0 00.5.5h5a.5.5 0 00.5-.5v-7a.5.5 0 00-.5-.5zm-5-1a1.5 1.5 0 00-1.5 1.5v7a1.5 1.5 0 001.5 1.5h5a1.5 1.5 0 001.5-1.5v-7a1.5 1.5 0 00-1.5-1.5h-5zm2.5 2a.5.5 0 01.5.5v2h1a.5.5 0 110 1H7a.5.5 0 01-.5-.5v-2.5a.5.5 0 01.5-.5zm-2.5 9a.5.5 0 000 1h5a.5.5 0 000-1h-5z",fill:e}))),WT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H3a.5.5 0 01-.5-.5zM3 6.004a.5.5 0 100 1h1a.5.5 0 000-1H3zM2.5 8.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H3a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm.5-1v-10h3v10H2zm4-10h6v10H6v-10z",fill:e}))),GT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M9.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM10 6.004a.5.5 0 100 1h1a.5.5 0 000-1h-1zM9.5 8.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm.5-1v-10h6v10H2zm7-10h3v10H9v-10z",fill:e}))),KT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.5 4.504a.5.5 0 00-.5-.5h-1a.5.5 0 100 1h1a.5.5 0 00.5-.5zM11 6.004a.5.5 0 010 1h-1a.5.5 0 010-1h1zM11.5 8.504a.5.5 0 00-.5-.5h-1a.5.5 0 100 1h1a.5.5 0 00.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm7.5-1h3v-10H9v10zm-1 0H2v-10h6v4.5H5.207l.65-.65a.5.5 0 10-.707-.708L3.646 6.65a.5.5 0 000 .707l1.497 1.497a.5.5 0 10.707-.708l-.643-.642H8v4.5z",fill:e}))),YT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H2a.5.5 0 01-.5-.5zM2 6.004a.5.5 0 100 1h1a.5.5 0 000-1H2zM1.5 8.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H2a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5H.5zm.5-1v-10h3v10H1zm4 0v-4.5h2.793l-.643.642a.5.5 0 10.707.708l1.497-1.497a.5.5 0 000-.707L7.85 5.146a.5.5 0 10-.707.708l.65.65H5v-4.5h6v10H5z",fill:e}))),ZT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM6.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1zM9 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zm1 6.5v-6h10v6H2zm10 1v3H2v-3h10z",fill:e}))),JT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1zM6 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM9.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 12.504v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5zm1-.5v-3h10v3H2zm4.5-4H2v-6h10v6H7.5V5.21l.646.646a.5.5 0 10.708-.707l-1.5-1.5a.5.5 0 00-.708 0l-1.5 1.5a.5.5 0 10.708.707l.646-.646v2.793z",fill:e}))),XT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 5.504a.5.5 0 01.5-.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5v-3zm1 2.5v-2h2v2H6z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5.004a.5.5 0 01.5.5v1.5h2v-1.5a.5.5 0 011 0v1.5h2.5a.5.5 0 01.5.5v2.5h1.5a.5.5 0 010 1H12v2h1.5a.5.5 0 010 1H12v2.5a.5.5 0 01-.5.5H9v1.5a.5.5 0 01-1 0v-1.5H6v1.5a.5.5 0 01-1 0v-1.5H2.5a.5.5 0 01-.5-.5v-2.5H.5a.5.5 0 010-1H2v-2H.5a.5.5 0 010-1H2v-2.5a.5.5 0 01.5-.5H5v-1.5a.5.5 0 01.5-.5zm5.5 3H3v8h8v-8z",fill:e}))),QT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3c0-1.105-2.239-2-5-2s-5 .895-5 2v8c0 .426.26.752.544.977.29.228.68.413 1.116.558.878.293 2.059.465 3.34.465 1.281 0 2.462-.172 3.34-.465.436-.145.825-.33 1.116-.558.285-.225.544-.551.544-.977V3zm-1.03 0a.787.787 0 00-.05-.052c-.13-.123-.373-.28-.756-.434C9.404 2.21 8.286 2 7 2c-1.286 0-2.404.21-3.164.514-.383.153-.625.31-.756.434A.756.756 0 003.03 3a.756.756 0 00.05.052c.13.123.373.28.756.434C4.596 3.79 5.714 4 7 4c1.286 0 2.404-.21 3.164-.514.383-.153.625-.31.756-.434A.787.787 0 0010.97 3zM11 5.75V4.2c-.912.486-2.364.8-4 .8-1.636 0-3.088-.314-4-.8v1.55l.002.008a.147.147 0 00.016.033.618.618 0 00.145.15c.165.13.435.27.813.395.751.25 1.82.414 3.024.414s2.273-.163 3.024-.414c.378-.126.648-.265.813-.395a.62.62 0 00.146-.15.149.149 0 00.015-.033A.03.03 0 0011 5.75zM3 7.013c.2.103.423.193.66.272.878.293 2.059.465 3.34.465 1.281 0 2.462-.172 3.34-.465.237-.079.46-.17.66-.272V8.5l-.002.008a.149.149 0 01-.015.033.62.62 0 01-.146.15c-.165.13-.435.27-.813.395-.751.25-1.82.414-3.024.414s-2.273-.163-3.024-.414c-.378-.126-.648-.265-.813-.395a.618.618 0 01-.145-.15.147.147 0 01-.016-.033A.027.027 0 013 8.5V7.013zm0 2.75V11l.002.008a.147.147 0 00.016.033.617.617 0 00.145.15c.165.13.435.27.813.395.751.25 1.82.414 3.024.414s2.273-.163 3.024-.414c.378-.126.648-.265.813-.395a.619.619 0 00.146-.15.148.148 0 00.015-.033L11 11V9.763c-.2.103-.423.193-.66.272-.878.293-2.059.465-3.34.465-1.281 0-2.462-.172-3.34-.465A4.767 4.767 0 013 9.763z",fill:e}))),eR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5 3a.5.5 0 00-1 0v3a.5.5 0 001 0V3zM7 2.5a.5.5 0 01.5.5v3a.5.5 0 01-1 0V3a.5.5 0 01.5-.5zM10 4.504a.5.5 0 10-1 0V6a.5.5 0 001 0V4.504z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3.54l-.001-.002a.499.499 0 00-.145-.388l-3-3a.499.499 0 00-.388-.145L8.464.004H2.5a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h9a.5.5 0 00.5-.5V3.54zM3 1.004h5.293L11 3.71v5.293H3v-8zm0 9v3h8v-3H3z",fill:e}))),tR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{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}))),rR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{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}))),nR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0v6a.5.5 0 001 0v-6z",fill:e}),l.createElement("path",{d:"M4.273 2.808a.5.5 0 00-.546-.837 6 6 0 106.546 0 .5.5 0 00-.546.837 5 5 0 11-5.454 0z",fill:e}))),aR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"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}))),oR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.586 5.586A2 2 0 018.862 7.73a.5.5 0 10.931.365 3 3 0 10-1.697 1.697.5.5 0 10-.365-.93 2 2 0 01-2.145-3.277z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.939 6.527c.127.128.19.297.185.464a.635.635 0 01-.185.465L0 8.395a7.099 7.099 0 001.067 2.572h1.32c.182 0 .345.076.46.197a.635.635 0 01.198.46v1.317A7.097 7.097 0 005.602 14l.94-.94a.634.634 0 01.45-.186H7.021c.163 0 .326.061.45.186l.939.938a7.098 7.098 0 002.547-1.057V11.61c0-.181.075-.344.197-.46a.634.634 0 01.46-.197h1.33c.507-.76.871-1.622 1.056-2.55l-.946-.946a.635.635 0 01-.186-.465.635.635 0 01.186-.464l.943-.944a7.099 7.099 0 00-1.044-2.522h-1.34a.635.635 0 01-.46-.197.635.635 0 01-.196-.46V1.057A7.096 7.096 0 008.413.002l-.942.942a.634.634 0 01-.45.186H6.992a.634.634 0 01-.45-.186L5.598 0a7.097 7.097 0 00-2.553 1.058v1.33c0 .182-.076.345-.197.46a.635.635 0 01-.46.198h-1.33A7.098 7.098 0 00.003 5.591l.936.936zm.707 1.636c.324-.324.482-.752.479-1.172a1.634 1.634 0 00-.48-1.171l-.538-.539c.126-.433.299-.847.513-1.235h.768c.459 0 .873-.19 1.167-.49.3-.295.49-.708.49-1.167v-.77c.39-.215.807-.388 1.243-.515l.547.547c.32.32.742.48 1.157.48l.015-.001h.014c.415 0 .836-.158 1.157-.479l.545-.544c.433.126.846.299 1.234.512v.784c0 .46.19.874.49 1.168.294.3.708.49 1.167.49h.776c.209.382.378.788.502 1.213l-.545.546a1.635 1.635 0 00-.48 1.17c-.003.421.155.849.48 1.173l.549.55c-.126.434-.3.85-.513 1.239h-.77c-.458 0-.872.19-1.166.49-.3.294-.49.708-.49 1.167v.77a6.09 6.09 0 01-1.238.514l-.54-.54a1.636 1.636 0 00-1.158-.48H6.992c-.415 0-.837.159-1.157.48l-.543.543a6.091 6.091 0 01-1.247-.516v-.756c0-.459-.19-.873-.49-1.167-.294-.3-.708-.49-1.167-.49h-.761a6.094 6.094 0 01-.523-1.262l.542-.542z",fill:e}))),iR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.585 8.414a2 2 0 113.277-.683.5.5 0 10.931.365 3 3 0 10-1.697 1.697.5.5 0 00-.365-.93 2 2 0 01-2.146-.449z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.5.289a1 1 0 011 0l5.062 2.922a1 1 0 01.5.866v5.846a1 1 0 01-.5.866L7.5 13.71a1 1 0 01-1 0L1.437 10.79a1 1 0 01-.5-.866V4.077a1 1 0 01.5-.866L6.5.29zm.5.866l5.062 2.922v5.846L7 12.845 1.937 9.923V4.077L7 1.155z",fill:e}))),lR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.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}))),sR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"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}))),uR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.903.112a.107.107 0 01.194 0l.233.505.552.066c.091.01.128.123.06.185l-.408.377.109.546a.107.107 0 01-.158.114L6 1.634l-.485.271a.107.107 0 01-.158-.114l.108-.546-.408-.377a.107.107 0 01.06-.185L5.67.617l.233-.505zM2.194.224a.214.214 0 00-.389 0l-.466 1.01-1.104.131a.214.214 0 00-.12.37l.816.755-.217 1.091a.214.214 0 00.315.23L2 3.266l.971.543c.16.09.35-.05.315-.229l-.216-1.09.816-.756a.214.214 0 00-.12-.37L2.66 1.234 2.194.224zM12.194 8.224a.214.214 0 00-.389 0l-.466 1.01-1.104.13a.214.214 0 00-.12.371l.816.755-.217 1.091a.214.214 0 00.315.23l.97-.544.971.543c.16.09.35-.05.315-.229l-.216-1.09.816-.756a.214.214 0 00-.12-.37l-1.105-.131-.466-1.01z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.5 12.797l-1.293-1.293 6.758-6.758L9.258 6.04 2.5 12.797zm7.465-7.465l2.828-2.828L11.5 1.211 8.672 4.04l1.293 1.293zM.147 11.857a.5.5 0 010-.707l11-11a.5.5 0 01.706 0l2 2a.5.5 0 010 .708l-11 11a.5.5 0 01-.706 0l-2-2z",fill:e}))),cR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"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}))),dR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1V6.393a.5.5 0 00-1 0v5.61H2v-10h7.5a.5.5 0 000-1H2z",fill:e}),l.createElement("path",{d:"M6.354 9.857l7.5-7.5a.5.5 0 00-.708-.707L6 8.797 3.854 6.65a.5.5 0 10-.708.707l2.5 2.5a.5.5 0 00.708 0z",fill:e}))),pR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"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}))),fR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"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}))),hR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"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}))),mR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"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}))),gR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"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}))),Px=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708L6.293 7l-5.147 5.146a.5.5 0 00.708.708L7 7.707l5.146 5.147a.5.5 0 00.708-.708L7.707 7l5.147-5.146a.5.5 0 00-.708-.708L7 6.293 1.854 1.146z",fill:e}))),vR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.5 4.5A.5.5 0 016 5v5a.5.5 0 01-1 0V5a.5.5 0 01.5-.5zM9 5a.5.5 0 00-1 0v5a.5.5 0 001 0V5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5.5A.5.5 0 015 0h4a.5.5 0 01.5.5V2h3a.5.5 0 010 1H12v8a2 2 0 01-2 2H4a2 2 0 01-2-2V3h-.5a.5.5 0 010-1h3V.5zM3 3v8a1 1 0 001 1h6a1 1 0 001-1V3H3zm2.5-2h3v1h-3V1z",fill:e}))),yR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3502)"},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.44 4.44L9.56.56a1.5 1.5 0 00-2.12 0L7 1a1.415 1.415 0 000 2L5 5H3.657A4 4 0 00.828 6.17l-.474.475a.5.5 0 000 .707l2.793 2.793-3 3a.5.5 0 00.707.708l3-3 2.792 2.792a.5.5 0 00.708 0l.474-.475A4 4 0 009 10.343V9l2-2a1.414 1.414 0 002 0l.44-.44a1.5 1.5 0 000-2.12zM11 5.585l-3 3v1.757a3 3 0 01-.879 2.121L7 12.586 1.414 7l.122-.122A3 3 0 013.656 6h1.758l3-3-.707-.707a.414.414 0 010-.586l.44-.44a.5.5 0 01.707 0l3.878 3.88a.5.5 0 010 .706l-.44.44a.414.414 0 01-.585 0L11 5.586z",fill:e})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3502"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),bR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3501)",fill:e},l.createElement("path",{d:"M13.44 4.44L9.56.56a1.5 1.5 0 00-2.12 0L7 1a1.415 1.415 0 000 2L5.707 4.293 6.414 5l2-2-.707-.707a.414.414 0 010-.586l.44-.44a.5.5 0 01.707 0l3.878 3.88a.5.5 0 010 .706l-.44.44a.414.414 0 01-.585 0L11 5.586l-2 2 .707.707L11 7a1.414 1.414 0 002 0l.44-.44a1.5 1.5 0 000-2.12zM.828 6.171a4 4 0 012.758-1.17l1 .999h-.93a3 3 0 00-2.12.878L1.414 7 7 12.586l.121-.122A3 3 0 008 10.343v-.929l1 1a4 4 0 01-1.172 2.757l-.474.475a.5.5 0 01-.708 0l-2.792-2.792-3 3a.5.5 0 01-.708-.708l3-3L.355 7.353a.5.5 0 010-.707l.474-.475zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11z"})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3501"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),wR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 3a.5.5 0 01.5.5v3h3a.5.5 0 010 1h-3v3a.5.5 0 01-1 0v-3h-3a.5.5 0 010-1h3v-3A.5.5 0 017 3z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),ER=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),xR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M9.854 4.146a.5.5 0 010 .708L7.707 7l2.147 2.146a.5.5 0 01-.708.708L7 7.707 4.854 9.854a.5.5 0 01-.708-.708L6.293 7 4.146 4.854a.5.5 0 11.708-.708L7 6.293l2.146-2.147a.5.5 0 01.708 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),CR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"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}))),DR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{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}))),SR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"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}))),AR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"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}))),kR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{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}))),_R=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.5 5.004a.5.5 0 100 1h7a.5.5 0 000-1h-7zM3 8.504a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5 12.004H5.707l-1.853 1.854a.5.5 0 01-.351.146h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.5 0 01-.5.5zm-10.5-1v-8h10v8H2z",fill:e}))),FR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.5 5.004a.5.5 0 10-1 0v1.5H5a.5.5 0 100 1h1.5v1.5a.5.5 0 001 0v-1.5H9a.5.5 0 000-1H7.5v-1.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.691 13.966a.498.498 0 01-.188.038h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.5 0 01-.5.5H5.707l-1.853 1.854a.5.5 0 01-.163.108zM2 3.004v8h10v-8H2z",fill:e}))),IR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M9.854 6.65a.5.5 0 010 .707l-2 2a.5.5 0 11-.708-.707l1.15-1.15-3.796.004a.5.5 0 010-1L8.29 6.5 7.145 5.357a.5.5 0 11.708-.707l2 2z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.691 13.966a.498.498 0 01-.188.038h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.5 0 01-.5.5H5.707l-1.853 1.854a.5.5 0 01-.163.108zM2 3.004v8h10v-8H2z",fill:e}))),TR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M8.5 7.004a.5.5 0 000-1h-5a.5.5 0 100 1h5zM9 8.504a.5.5 0 01-.5.5h-5a.5.5 0 010-1h5a.5.5 0 01.5.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 11.504v-1.5h1.5a.5.5 0 00.5-.5v-8a.5.5 0 00-.5-.5h-11a.5.5 0 00-.5.5v1.5H.5a.5.5 0 00-.5.5v8a.5.5 0 00.5.5H2v1.5a.499.499 0 00.497.5h.006a.498.498 0 00.35-.146l1.854-1.854H11.5a.5.5 0 00.5-.5zm-9-8.5v-1h10v7h-1v-5.5a.5.5 0 00-.5-.5H3zm-2 8v-7h10v7H1z",fill:e}))),RR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{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}))),BR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M8 8.004a1 1 0 01-.5.866v1.634a.5.5 0 01-1 0V8.87A1 1 0 118 8.004z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 4.004a4 4 0 118 0v1h1.5a.5.5 0 01.5.5v8a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-8a.5.5 0 01.5-.5H3v-1zm7 1v-1a3 3 0 10-6 0v1h6zm2 1H2v7h10v-7z",fill:e}))),zR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3614)",fill:e},l.createElement("path",{d:"M6.5 8.87a1 1 0 111 0v1.634a.5.5 0 01-1 0V8.87z"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 1a3 3 0 00-3 3v1.004h8.5a.5.5 0 01.5.5v8a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-8a.5.5 0 01.5-.5H3V4a4 4 0 017.755-1.381.5.5 0 01-.939.345A3.001 3.001 0 007 1zM2 6.004h10v7H2v-7z"})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3614"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),OR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11 4a1 1 0 11-2 0 1 1 0 012 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.5 8.532V9.5a.5.5 0 01-.5.5H5.5v1.5a.5.5 0 01-.5.5H3.5v1.5a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-2a.5.5 0 01.155-.362l5.11-5.11A4.5 4.5 0 117.5 8.532zM6 4.5a3.5 3.5 0 111.5 2.873c-.29-.203-1-.373-1 .481V9H5a.5.5 0 00-.5.5V11H3a.5.5 0 00-.5.5V13H1v-1.293l5.193-5.193a.552.552 0 00.099-.613A3.473 3.473 0 016 4.5z",fill:e}))),LR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.354.15a.5.5 0 00-.708 0l-2 2a.5.5 0 10.708.707L6.5 1.711v6.793a.5.5 0 001 0V1.71l1.146 1.146a.5.5 0 10.708-.707l-2-2z",fill:e}),l.createElement("path",{d:"M2 7.504a.5.5 0 10-1 0v5a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-5a.5.5 0 00-1 0v4.5H2v-4.5z",fill:e}))),MR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.5 8.004a.5.5 0 100 1h3a.5.5 0 000-1h-3z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 11.504a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H.5a.5.5 0 00-.5.5v9zm1-8.5v1h12v-1H1zm0 8h12v-5H1v5z",fill:e}))),$R=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1 3.004a1 1 0 00-1 1v5a1 1 0 001 1h3.5a.5.5 0 100-1H1v-5h12v5h-1a.5.5 0 000 1h1a1 1 0 001-1v-5a1 1 0 00-1-1H1z",fill:e}),l.createElement("path",{d:"M6.45 7.006a.498.498 0 01.31.07L10.225 9.1a.5.5 0 01-.002.873l-1.074.621.75 1.3a.75.75 0 01-1.3.75l-.75-1.3-1.074.62a.497.497 0 01-.663-.135.498.498 0 01-.095-.3L6 7.515a.497.497 0 01.45-.509z",fill:e}))),PR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4 1.504a.5.5 0 01.5-.5h5a.5.5 0 110 1h-2v10h2a.5.5 0 010 1h-5a.5.5 0 010-1h2v-10h-2a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{d:"M0 4.504a.5.5 0 01.5-.5h4a.5.5 0 110 1H1v4h3.5a.5.5 0 110 1h-4a.5.5 0 01-.5-.5v-5zM9.5 4.004a.5.5 0 100 1H13v4H9.5a.5.5 0 100 1h4a.5.5 0 00.5-.5v-5a.5.5 0 00-.5-.5h-4z",fill:e}))),NR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{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}))),jR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.87 6.008a.505.505 0 00-.003-.028v-.002c-.026-.27-.225-.48-.467-.498a.5.5 0 00-.53.5v1.41c0 .25-.22.47-.47.47a.48.48 0 01-.47-.47V5.17a.6.6 0 00-.002-.05c-.023-.268-.223-.49-.468-.5a.5.5 0 00-.52.5v1.65a.486.486 0 01-.47.47.48.48 0 01-.47-.47V4.62a.602.602 0 00-.002-.05v-.002c-.023-.266-.224-.48-.468-.498a.5.5 0 00-.53.5v2.2c0 .25-.22.47-.47.47a.49.49 0 01-.47-.47V1.8c0-.017 0-.034-.002-.05-.022-.268-.214-.49-.468-.5a.5.5 0 00-.52.5v6.78c0 .25-.22.47-.47.47a.48.48 0 01-.47-.47l.001-.1c.001-.053.002-.104 0-.155a.775.775 0 00-.06-.315.65.65 0 00-.16-.22 29.67 29.67 0 01-.21-.189c-.2-.182-.4-.365-.617-.532l-.003-.003A6.366 6.366 0 003.06 7l-.01-.007c-.433-.331-.621-.243-.69-.193-.26.14-.29.5-.13.74l1.73 2.6v.01h-.016l-.035.023.05-.023s1.21 2.6 3.57 2.6c3.54 0 4.2-1.9 4.31-4.42.039-.591.036-1.189.032-1.783l-.002-.507v-.032zm.969 2.376c-.057 1.285-.254 2.667-1.082 3.72-.88 1.118-2.283 1.646-4.227 1.646-1.574 0-2.714-.87-3.406-1.623a6.958 6.958 0 01-1.046-1.504l-.006-.012-1.674-2.516a1.593 1.593 0 01-.25-1.107 1.44 1.44 0 01.69-1.041c.195-.124.485-.232.856-.186.357.044.681.219.976.446.137.106.272.22.4.331V1.75A1.5 1.5 0 015.63.25c.93.036 1.431.856 1.431 1.55v1.335a1.5 1.5 0 01.53-.063h.017c.512.04.915.326 1.153.71a1.5 1.5 0 01.74-.161c.659.025 1.115.458 1.316.964a1.493 1.493 0 01.644-.103h.017c.856.067 1.393.814 1.393 1.558l.002.48c.004.596.007 1.237-.033 1.864z",fill:e}))),HR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{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}))),VR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 5.5a.5.5 0 01.5.5v4a.5.5 0 01-1 0V6a.5.5 0 01.5-.5zM7 4.5A.75.75 0 107 3a.75.75 0 000 1.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),UR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.25 5.25A1.75 1.75 0 117 7a.5.5 0 00-.5.5V9a.5.5 0 001 0V7.955A2.75 2.75 0 104.25 5.25a.5.5 0 001 0zM7 11.5A.75.75 0 107 10a.75.75 0 000 1.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),qR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-3.524 4.89A5.972 5.972 0 017 13a5.972 5.972 0 01-3.477-1.11l1.445-1.444C5.564 10.798 6.258 11 7 11s1.436-.202 2.032-.554l1.444 1.445zm-.03-2.858l1.445 1.444A5.972 5.972 0 0013 7c0-1.296-.41-2.496-1.11-3.477l-1.444 1.445C10.798 5.564 11 6.258 11 7s-.202 1.436-.554 2.032zM9.032 3.554l1.444-1.445A5.972 5.972 0 007 1c-1.296 0-2.496.41-3.477 1.11l1.445 1.444A3.981 3.981 0 017 3c.742 0 1.436.202 2.032.554zM3.554 4.968L2.109 3.523A5.973 5.973 0 001 7c0 1.296.41 2.496 1.11 3.476l1.444-1.444A3.981 3.981 0 013 7c0-.742.202-1.436.554-2.032zM10 7a3 3 0 11-6 0 3 3 0 016 0z",fill:e}))),WR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 4.5a.5.5 0 01.5.5v3.5a.5.5 0 11-1 0V5a.5.5 0 01.5-.5zM7.75 10.5a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.206 1.045a.498.498 0 01.23.209l6.494 10.992a.5.5 0 01-.438.754H.508a.497.497 0 01-.506-.452.498.498 0 01.072-.31l6.49-10.984a.497.497 0 01.642-.21zM7 2.483L1.376 12h11.248L7 2.483z",fill:e}))),GR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{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}))),KR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{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}))),YR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{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}))),ZR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.841 2.159a2.25 2.25 0 00-3.182 0l-2.5 2.5a2.25 2.25 0 000 3.182.5.5 0 01-.707.707 3.25 3.25 0 010-4.596l2.5-2.5a3.25 3.25 0 014.596 4.596l-2.063 2.063a4.27 4.27 0 00-.094-1.32l1.45-1.45a2.25 2.25 0 000-3.182z",fill:e}),l.createElement("path",{d:"M3.61 7.21c-.1-.434-.132-.88-.095-1.321L1.452 7.952a3.25 3.25 0 104.596 4.596l2.5-2.5a3.25 3.25 0 000-4.596.5.5 0 00-.707.707 2.25 2.25 0 010 3.182l-2.5 2.5A2.25 2.25 0 112.159 8.66l1.45-1.45z",fill:e}))),JR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.452 7.952l1.305-1.305.708.707-1.306 1.305a2.25 2.25 0 103.182 3.182l1.306-1.305.707.707-1.306 1.305a3.25 3.25 0 01-4.596-4.596zM12.548 6.048l-1.305 1.306-.707-.708 1.305-1.305a2.25 2.25 0 10-3.182-3.182L7.354 3.464l-.708-.707 1.306-1.305a3.25 3.25 0 014.596 4.596zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.707-.707l-11-11z",fill:e}))),XR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"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}))),QR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5.5A.5.5 0 012 0c6.627 0 12 5.373 12 12a.5.5 0 01-1 0C13 5.925 8.075 1 2 1a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{d:"M1.5 4.5A.5.5 0 012 4a8 8 0 018 8 .5.5 0 01-1 0 7 7 0 00-7-7 .5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 11a2 2 0 11-4 0 2 2 0 014 0zm-1 0a1 1 0 11-2 0 1 1 0 012 0z",fill:e}))),eB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1v-4.5a.5.5 0 00-1 0v4.5H2v-10h4.5a.5.5 0 000-1H2z",fill:e}),l.createElement("path",{d:"M7.354 7.357L12 2.711v1.793a.5.5 0 001 0v-3a.5.5 0 00-.5-.5h-3a.5.5 0 100 1h1.793L6.646 6.65a.5.5 0 10.708.707z",fill:e}))),tB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M6.646.15a.5.5 0 01.708 0l2 2a.5.5 0 11-.708.707L7.5 1.711v6.793a.5.5 0 01-1 0V1.71L5.354 2.857a.5.5 0 11-.708-.707l2-2z",fill:e}),l.createElement("path",{d:"M2 4.004a1 1 0 00-1 1v7a1 1 0 001 1h10a1 1 0 001-1v-7a1 1 0 00-1-1H9.5a.5.5 0 100 1H12v7H2v-7h2.5a.5.5 0 000-1H2z",fill:e}))),rB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M13.854 6.646a.5.5 0 010 .708l-2 2a.5.5 0 01-.708-.708L12.293 7.5H5.5a.5.5 0 010-1h6.793l-1.147-1.146a.5.5 0 01.708-.708l2 2z",fill:e}),l.createElement("path",{d:"M10 2a1 1 0 00-1-1H2a1 1 0 00-1 1v10a1 1 0 001 1h7a1 1 0 001-1V9.5a.5.5 0 00-1 0V12H2V2h7v2.5a.5.5 0 001 0V2z",fill:e}))),nB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 13A6 6 0 107 1a6 6 0 000 12zm0 1A7 7 0 107 0a7 7 0 000 14z",fill:e}))),aB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M14 7A7 7 0 110 7a7 7 0 0114 0z",fill:e}))),oB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 0h7a.5.5 0 01.5.5v13a.5.5 0 01-.454.498.462.462 0 01-.371-.118L7 11.159l-3.175 2.72a.46.46 0 01-.379.118A.5.5 0 013 13.5V.5a.5.5 0 01.5-.5zM4 12.413l2.664-2.284a.454.454 0 01.377-.128.498.498 0 01.284.12L10 12.412V1H4v11.413z",fill:e}))),iB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 0h7a.5.5 0 01.5.5v13a.5.5 0 01-.454.498.462.462 0 01-.371-.118L7 11.159l-3.175 2.72a.46.46 0 01-.379.118A.5.5 0 013 13.5V.5a.5.5 0 01.5-.5z",fill:e}))),lB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1449_588)"},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.414 1.586a2 2 0 00-2.828 0l-4 4a2 2 0 000 2.828l4 4a2 2 0 002.828 0l4-4a2 2 0 000-2.828l-4-4zm.707-.707a3 3 0 00-4.242 0l-4 4a3 3 0 000 4.242l4 4a3 3 0 004.242 0l4-4a3 3 0 000-4.242l-4-4z",fill:e})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1449_588"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),sB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.814 1.846c.06.05.116.101.171.154l.001.002a3.254 3.254 0 01.755 1.168c.171.461.259.974.259 1.538 0 .332-.046.656-.143.976a4.546 4.546 0 01-.397.937c-.169.302-.36.589-.58.864a7.627 7.627 0 01-.674.746l-4.78 4.596a.585.585 0 01-.427.173.669.669 0 01-.44-.173L1.78 8.217a7.838 7.838 0 01-.677-.748 6.124 6.124 0 01-.572-.855 4.975 4.975 0 01-.388-.931A3.432 3.432 0 010 4.708C0 4.144.09 3.63.265 3.17c.176-.459.429-.85.757-1.168a3.432 3.432 0 011.193-.74c.467-.176.99-.262 1.57-.262.304 0 .608.044.907.137.301.092.586.215.855.367.27.148.526.321.771.512.244.193.471.386.682.584.202-.198.427-.391.678-.584.248-.19.507-.364.78-.512a4.65 4.65 0 01.845-.367c.294-.093.594-.137.9-.137.585 0 1.115.086 1.585.262.392.146.734.34 1.026.584zM1.2 3.526c.128-.333.304-.598.52-.806.218-.212.497-.389.849-.522m-1.37 1.328A3.324 3.324 0 001 4.708c0 .225.032.452.101.686.082.265.183.513.307.737.135.246.294.484.479.716.188.237.386.454.59.652l.001.002 4.514 4.355 4.519-4.344c.2-.193.398-.41.585-.648l.003-.003c.184-.23.345-.472.486-.726l.004-.007c.131-.23.232-.474.31-.732v-.002c.068-.224.101-.45.101-.686 0-.457-.07-.849-.195-1.185a2.177 2.177 0 00-.515-.802l.007-.012-.008.009a2.383 2.383 0 00-.85-.518l-.003-.001C11.1 2.072 10.692 2 10.203 2c-.21 0-.406.03-.597.09h-.001c-.22.07-.443.167-.663.289l-.007.003c-.22.12-.434.262-.647.426-.226.174-.42.341-.588.505l-.684.672-.7-.656a9.967 9.967 0 00-.615-.527 4.82 4.82 0 00-.635-.422l-.01-.005a3.289 3.289 0 00-.656-.281l-.008-.003A2.014 2.014 0 003.785 2c-.481 0-.881.071-1.217.198",fill:e}))),uB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"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}))),cB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"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}))),dB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"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}))),pB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"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}))),fB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{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}))),hB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"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}))),mB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.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}))),gB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M10.354 2.854a.5.5 0 10-.708-.708l-3 3a.5.5 0 10.708.708l3-3z",fill:e}),l.createElement("path",{d:"M2.09 6H4.5a.5.5 0 000-1H1.795a.75.75 0 00-.74.873l.813 4.874A1.5 1.5 0 003.348 12h7.305a1.5 1.5 0 001.48-1.253l.812-4.874a.75.75 0 00-.74-.873H10a.5.5 0 000 1h1.91l-.764 4.582a.5.5 0 01-.493.418H3.347a.5.5 0 01-.493-.418L2.09 6z",fill:e}),l.createElement("path",{d:"M4.5 7a.5.5 0 01.5.5v2a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5zM10 7.5a.5.5 0 00-1 0v2a.5.5 0 001 0v-2zM6.5 9.5v-2a.5.5 0 011 0v2a.5.5 0 01-1 0z",fill:e}))),vB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{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}))),yB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.5 10.5a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 1a.5.5 0 00-.5.5c0 1.063.137 1.892.678 2.974.346.692.858 1.489 1.598 2.526-.89 1.247-1.455 2.152-1.798 2.956-.377.886-.477 1.631-.478 2.537v.007a.5.5 0 00.5.5h7c.017 0 .034 0 .051-.003A.5.5 0 0011 12.5v-.007c0-.906-.1-1.65-.478-2.537-.343-.804-.909-1.709-1.798-2.956.74-1.037 1.252-1.834 1.598-2.526C10.863 3.392 11 2.563 11 1.5a.5.5 0 00-.5-.5h-7zm6.487 11a4.675 4.675 0 00-.385-1.652c-.277-.648-.735-1.407-1.499-2.494-.216.294-.448.606-.696.937a.497.497 0 01-.195.162.5.5 0 01-.619-.162c-.248-.331-.48-.643-.696-.937-.764 1.087-1.222 1.846-1.499 2.494A4.675 4.675 0 004.013 12h5.974zM6.304 6.716c.212.293.443.609.696.948a90.058 90.058 0 00.709-.965c.48-.664.86-1.218 1.163-1.699H5.128a32.672 32.672 0 001.176 1.716zM4.559 4h4.882c.364-.735.505-1.312.546-2H4.013c.04.688.182 1.265.546 2z",fill:e}))),bB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"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}))),wB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"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}))),EB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"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}))),xB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 7a4 4 0 11-8 0 4 4 0 018 0zm-1 0a3 3 0 11-6 0 3 3 0 016 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.268 13.18c.25.472.83.66 1.31.425l.987-.482a.991.991 0 01.87 0l.987.482a.991.991 0 001.31-.426l.515-.97a.991.991 0 01.704-.511l1.082-.19a.99.99 0 00.81-1.115l-.154-1.087a.991.991 0 01.269-.828l.763-.789a.991.991 0 000-1.378l-.763-.79a.991.991 0 01-.27-.827l.155-1.087a.99.99 0 00-.81-1.115l-1.082-.19a.991.991 0 01-.704-.511L9.732.82a.99.99 0 00-1.31-.426l-.987.482a.991.991 0 01-.87 0L5.578.395a.99.99 0 00-1.31.426l-.515.97a.99.99 0 01-.704.511l-1.082.19a.99.99 0 00-.81 1.115l.154 1.087a.99.99 0 01-.269.828L.28 6.31a.99.99 0 000 1.378l.763.79a.99.99 0 01.27.827l-.155 1.087a.99.99 0 00.81 1.115l1.082.19a.99.99 0 01.704.511l.515.97zm5.096-1.44l-.511.963-.979-.478a1.99 1.99 0 00-1.748 0l-.979.478-.51-.962a1.991 1.991 0 00-1.415-1.028l-1.073-.188.152-1.079a1.991 1.991 0 00-.54-1.663L1.004 7l.757-.783a1.991 1.991 0 00.54-1.663L2.15 3.475l1.073-.188A1.991 1.991 0 004.636 2.26l.511-.962.979.478a1.99 1.99 0 001.748 0l.979-.478.51.962c.288.543.81.922 1.415 1.028l1.073.188-.152 1.079a1.99 1.99 0 00.54 1.663l.757.783-.757.783a1.99 1.99 0 00-.54 1.663l.152 1.079-1.073.188a1.991 1.991 0 00-1.414 1.028z",fill:e}))),CB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 4a3 3 0 100 6 3 3 0 000-6zM3 7a4 4 0 118 0 4 4 0 01-8 0z",fill:e}))),DB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.206 3.044a.498.498 0 01.23.212l3.492 5.985a.494.494 0 01.006.507.497.497 0 01-.443.252H3.51a.499.499 0 01-.437-.76l3.492-5.984a.497.497 0 01.642-.212zM7 4.492L4.37 9h5.26L7 4.492z",fill:e}))),SB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.854 4.146a.5.5 0 010 .708l-5 5a.5.5 0 01-.708 0l-2-2a.5.5 0 11.708-.708L5.5 8.793l4.646-4.647a.5.5 0 01.708 0z",fill:e}))),AB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{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}))),kB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"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}))),_B=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"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}))),Nx=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.104 7.354l-5.5 5.5a.5.5 0 01-.708-.708L10.043 7 4.896 1.854a.5.5 0 11.708-.708l5.5 5.5a.5.5 0 010 .708z",fill:e}))),FB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"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}))),IB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"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}))),TB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{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}))),RB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"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}))),BB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.854 4.646l-4.5-4.5a.5.5 0 00-.708 0l-4.5 4.5a.5.5 0 10.708.708L6.5 1.707V13.5a.5.5 0 001 0V1.707l3.646 3.647a.5.5 0 00.708-.708z",fill:e}))),zB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0v11.793L2.854 8.646a.5.5 0 10-.708.708l4.5 4.5a.5.5 0 00.351.146h.006c.127 0 .254-.05.35-.146l4.5-4.5a.5.5 0 00-.707-.708L7.5 12.293V.5z",fill:e}))),OB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"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}))),LB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"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}))),MB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{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}))),$B=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"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}))),PB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"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}))),NB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{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}))),jB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"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}))),HB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.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}))),VB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{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}))),UB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{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}))),qB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"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}))),WB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.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}))),GB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5 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}))),KB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M6.646.147l-1.5 1.5a.5.5 0 10.708.707l.646-.647V5a.5.5 0 001 0V1.707l.646.647a.5.5 0 10.708-.707l-1.5-1.5a.5.5 0 00-.708 0z",fill:e}),l.createElement("path",{d:"M1.309 4.038a.498.498 0 00-.16.106l-.005.005a.498.498 0 00.002.705L3.293 7 1.146 9.146A.498.498 0 001.5 10h3a.5.5 0 000-1H2.707l1.5-1.5h5.586l2.353 2.354a.5.5 0 00.708-.708L10.707 7l2.146-2.146.11-.545-.107.542A.499.499 0 0013 4.503v-.006a.5.5 0 00-.144-.348l-.005-.005A.498.498 0 0012.5 4h-3a.5.5 0 000 1h1.793l-1.5 1.5H4.207L2.707 5H4.5a.5.5 0 000-1h-3a.498.498 0 00-.191.038z",fill:e}),l.createElement("path",{d:"M7 8.5a.5.5 0 01.5.5v3.293l.646-.647a.5.5 0 01.708.708l-1.5 1.5a.5.5 0 01-.708 0l-1.5-1.5a.5.5 0 01.708-.708l.646.647V9a.5.5 0 01.5-.5zM9 9.5a.5.5 0 01.5-.5h3a.5.5 0 010 1h-3a.5.5 0 01-.5-.5z",fill:e}))),YB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"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}))),ZB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"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}))),JB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"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}))),XB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"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}))),QB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"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}))),ez=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M8.646 5.854L7.5 4.707V10.5a.5.5 0 01-1 0V4.707L5.354 5.854a.5.5 0 11-.708-.708l2-2a.5.5 0 01.708 0l2 2a.5.5 0 11-.708.708z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),tz=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.354 8.146L6.5 9.293V3.5a.5.5 0 011 0v5.793l1.146-1.147a.5.5 0 11.708.708l-2 2a.5.5 0 01-.708 0l-2-2a.5.5 0 11.708-.708z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7a7 7 0 1114 0A7 7 0 010 7zm1 0a6 6 0 1112 0A6 6 0 011 7z",fill:e}))),rz=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.854 5.354L4.707 6.5H10.5a.5.5 0 010 1H4.707l1.147 1.146a.5.5 0 11-.708.708l-2-2a.5.5 0 010-.708l2-2a.5.5 0 11.708.708z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0a7 7 0 110 14A7 7 0 017 0zm0 1a6 6 0 110 12A6 6 0 017 1z",fill:e}))),nz=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.5 6.5h5.793L8.146 5.354a.5.5 0 11.708-.708l2 2a.5.5 0 010 .708l-2 2a.5.5 0 11-.708-.708L9.293 7.5H3.5a.5.5 0 010-1z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 117 0a7 7 0 010 14zm0-1A6 6 0 117 1a6 6 0 010 12z",fill:e}))),az=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"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}))),oz=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 100 7a7 7 0 0014 0zm-6.535 5.738c-.233.23-.389.262-.465.262-.076 0-.232-.032-.465-.262-.238-.234-.497-.623-.737-1.182-.434-1.012-.738-2.433-.79-4.056h3.984c-.052 1.623-.356 3.043-.79 4.056-.24.56-.5.948-.737 1.182zM8.992 6.5H5.008c.052-1.623.356-3.044.79-4.056.24-.56.5-.948.737-1.182C6.768 1.032 6.924 1 7 1c.076 0 .232.032.465.262.238.234.497.623.737 1.182.434 1.012.738 2.433.79 4.056zm1 1c-.065 2.176-.558 4.078-1.282 5.253A6.005 6.005 0 0012.98 7.5H9.992zm2.987-1H9.992c-.065-2.176-.558-4.078-1.282-5.253A6.005 6.005 0 0112.98 6.5zm-8.971 0c.065-2.176.558-4.078 1.282-5.253A6.005 6.005 0 001.02 6.5h2.988zm-2.987 1a6.005 6.005 0 004.27 5.253C4.565 11.578 4.072 9.676 4.007 7.5H1.02z",fill:e}))),iz=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.087 3.397L5.95 5.793a.374.374 0 00-.109.095.377.377 0 00-.036.052l-2.407 4.147a.374.374 0 00-.004.384c.104.179.334.24.513.136l4.142-2.404a.373.373 0 00.148-.143l2.406-4.146a.373.373 0 00-.037-.443.373.373 0 00-.478-.074zM4.75 9.25l2.847-1.652-1.195-1.195L4.75 9.25z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),lz=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7a7 7 0 1114 0A7 7 0 010 7zm6.5 3.5v2.48A6.001 6.001 0 011.02 7.5H3.5a.5.5 0 000-1H1.02A6.001 6.001 0 016.5 1.02V3.5a.5.5 0 001 0V1.02a6.001 6.001 0 015.48 5.48H10.5a.5.5 0 000 1h2.48a6.002 6.002 0 01-5.48 5.48V10.5a.5.5 0 00-1 0z",fill:e}))),sz=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 5a2 2 0 11-4 0 2 2 0 014 0zM8 5a1 1 0 11-2 0 1 1 0 012 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 5A5 5 0 002 5c0 2.633 2.273 6.154 4.65 8.643.192.2.508.2.7 0C9.726 11.153 12 7.633 12 5zM7 1a4 4 0 014 4c0 1.062-.471 2.42-1.303 3.88-.729 1.282-1.69 2.562-2.697 3.67-1.008-1.108-1.968-2.388-2.697-3.67C3.47 7.42 3 6.063 3 5a4 4 0 014-4z",fill:e}))),uz=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 2a.5.5 0 01.5.5v4H10a.5.5 0 010 1H7a.5.5 0 01-.5-.5V2.5A.5.5 0 017 2z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),cz=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M9.79 4.093a.5.5 0 01.117.698L7.91 7.586a1 1 0 11-.814-.581l1.997-2.796a.5.5 0 01.698-.116z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.069 12.968a7 7 0 119.863 0A12.962 12.962 0 007 12c-1.746 0-3.41.344-4.931.968zm9.582-1.177a6 6 0 10-9.301 0A13.98 13.98 0 017 11c1.629 0 3.194.279 4.65.791z",fill:e}))),dz=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.5 4.5a.5.5 0 00-1 0v2.634a1 1 0 101 0V4.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5.5A.5.5 0 016 0h2a.5.5 0 010 1h-.5v1.02a5.973 5.973 0 013.374 1.398l.772-.772a.5.5 0 01.708.708l-.772.772A6 6 0 116.5 2.02V1H6a.5.5 0 01-.5-.5zM7 3a5 5 0 100 10A5 5 0 007 3z",fill:e}))),pz=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.354 1.146l5.5 5.5a.5.5 0 01-.708.708L12 7.207V12.5a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V9H6v3.5a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V7.207l-.146.147a.5.5 0 11-.708-.708l1-1 4.5-4.5a.5.5 0 01.708 0zM3 6.207V12h2V8.5a.5.5 0 01.5-.5h3a.5.5 0 01.5.5V12h2V6.207l-4-4-4 4z",fill:e}))),fz=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.213 4.094a.5.5 0 01.056-.034l5.484-2.995a.498.498 0 01.494 0L12.73 4.06a.507.507 0 01.266.389.498.498 0 01-.507.555H1.51a.5.5 0 01-.297-.91zm2.246-.09h7.082L7 2.07 3.459 4.004z",fill:e}),l.createElement("path",{d:"M4 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM11 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM5.75 5.5a.5.5 0 01.5.5v5a.5.5 0 01-1 0V6a.5.5 0 01.5-.5zM8.75 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM1.5 12.504a.5.5 0 01.5-.5h10a.5.5 0 010 1H2a.5.5 0 01-.5-.5z",fill:e}))),hz=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3594)"},l.createElement("path",{d:"M11.451.537l.01 12.922h0L7.61 8.946a1.077 1.077 0 00-.73-.374L.964 8.087 11.45.537h0z",stroke:e,strokeWidth:1.077})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3594"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),mz=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zM2.671 11.155c.696-1.006 2.602-1.816 3.194-1.91.226-.036.232-.658.232-.658s-.665-.658-.81-1.544c-.39 0-.63-.94-.241-1.272a2.578 2.578 0 00-.012-.13c-.066-.607-.28-2.606 1.965-2.606 2.246 0 2.031 2 1.966 2.606l-.012.13c.39.331.149 1.272-.24 1.272-.146.886-.81 1.544-.81 1.544s.004.622.23.658c.593.094 2.5.904 3.195 1.91a6 6 0 10-8.657 0z",fill:e}))),gz=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.275 13.16a11.388 11.388 0 005.175-1.232v-.25c0-1.566-3.237-2.994-4.104-3.132-.27-.043-.276-.783-.276-.783s.791-.783.964-1.836c.463 0 .75-1.119.286-1.513C9.34 4 9.916 1.16 6.997 1.16c-2.92 0-2.343 2.84-2.324 3.254-.463.394-.177 1.513.287 1.513.172 1.053.963 1.836.963 1.836s-.006.74-.275.783c-.858.136-4.036 1.536-4.103 3.082a11.388 11.388 0 005.73 1.532z",fill:e}))),vz=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.183 11.906a10.645 10.645 0 01-1.181-.589c.062-1.439 3.02-2.74 3.818-2.868.25-.04.256-.728.256-.728s-.736-.729-.896-1.709c-.432 0-.698-1.041-.267-1.408A2.853 2.853 0 002.9 4.46c-.072-.672-.31-2.884 2.175-2.884 2.486 0 2.248 2.212 2.176 2.884-.007.062-.012.112-.014.144.432.367.165 1.408-.266 1.408-.16.98-.896 1.709-.896 1.709s.005.688.256.728c.807.129 3.82 1.457 3.82 2.915v.233a10.598 10.598 0 01-4.816 1.146c-1.441 0-2.838-.282-4.152-.837zM11.5 2.16a.5.5 0 01.5.5v1.5h1.5a.5.5 0 010 1H12v1.5a.5.5 0 01-1 0v-1.5H9.5a.5.5 0 110-1H11v-1.5a.5.5 0 01.5-.5z",fill:e}))),yz=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M9.21 11.623a10.586 10.586 0 01-4.031.787A10.585 10.585 0 010 11.07c.06-1.354 2.933-2.578 3.708-2.697.243-.038.249-.685.249-.685s-.715-.685-.87-1.607c-.42 0-.679-.979-.26-1.323a2.589 2.589 0 00-.013-.136c-.07-.632-.3-2.712 2.113-2.712 2.414 0 2.183 2.08 2.113 2.712-.007.059-.012.105-.013.136.419.344.16 1.323-.259 1.323-.156.922-.87 1.607-.87 1.607s.005.647.248.685c.784.12 3.71 1.37 3.71 2.74v.22c-.212.103-.427.2-.646.29z",fill:e}),l.createElement("path",{d:"M8.81 8.417a9.643 9.643 0 00-.736-.398c.61-.42 1.396-.71 1.7-.757.167-.026.171-.471.171-.471s-.491-.471-.598-1.104c-.288 0-.466-.674-.178-.91-.001-.022-.005-.053-.01-.094-.048-.434-.206-1.864 1.453-1.864 1.66 0 1.5 1.43 1.453 1.864l-.01.094c.289.236.11.91-.178.91-.107.633-.598 1.104-.598 1.104s.004.445.171.47c.539.084 2.55.942 2.55 1.884v.628a10.604 10.604 0 01-3.302.553 2.974 2.974 0 00-.576-.879c-.375-.408-.853-.754-1.312-1.03z",fill:e}))),bz=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M9.106 7.354c-.627.265-1.295.4-1.983.4a5.062 5.062 0 01-2.547-.681c.03-.688 1.443-1.31 1.824-1.37.12-.02.122-.348.122-.348s-.351-.348-.428-.816c-.206 0-.333-.498-.127-.673 0-.016-.003-.04-.007-.07C5.926 3.477 5.812 2.42 7 2.42c1.187 0 1.073 1.057 1.039 1.378l-.007.069c.207.175.08.673-.127.673-.076.468-.428.816-.428.816s.003.329.122.348c.386.06 1.825.696 1.825 1.392v.111c-.104.053-.21.102-.318.148zM3.75 11.25A.25.25 0 014 11h6a.25.25 0 110 .5H4a.25.25 0 01-.25-.25zM4 9a.25.25 0 000 .5h6a.25.25 0 100-.5H4z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 .5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v13a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5V.5zM2 13V1h10v12H2z",fill:e}))),wz=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.968 8.75a.5.5 0 00-.866.5A4.498 4.498 0 007 11.5c1.666 0 3.12-.906 3.898-2.25a.5.5 0 10-.866-.5A3.498 3.498 0 017 10.5a3.498 3.498 0 01-3.032-1.75zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),Ez=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4.5 9a.5.5 0 000 1h5a.5.5 0 000-1h-5zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),xz=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.968 10.25a.5.5 0 01-.866-.5A4.498 4.498 0 017 7.5c1.666 0 3.12.906 3.898 2.25a.5.5 0 11-.866.5A3.498 3.498 0 007 8.5a3.498 3.498 0 00-3.032 1.75zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),Cz=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.526 4.842a.5.5 0 01.632-.316l2.051.684a2.5 2.5 0 001.582 0l2.05-.684a.5.5 0 01.317.948l-2.453.818a.3.3 0 00-.205.285v.243a4.5 4.5 0 00.475 2.012l.972 1.944a.5.5 0 11-.894.448L7 9.118l-1.053 2.106a.5.5 0 11-.894-.447l.972-1.945A4.5 4.5 0 006.5 6.82v-.243a.3.3 0 00-.205-.285l-2.453-.818a.5.5 0 01-.316-.632z",fill:e}),l.createElement("path",{d:"M7 4.5a1 1 0 100-2 1 1 0 000 2z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),Dz=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zM8 3.5a1 1 0 11-2 0 1 1 0 012 0zM3.526 4.842a.5.5 0 01.632-.316l2.051.684a2.5 2.5 0 001.582 0l2.05-.684a.5.5 0 01.317.948l-2.453.818a.3.3 0 00-.205.285v.243a4.5 4.5 0 00.475 2.012l.972 1.944a.5.5 0 11-.894.448L7 9.118l-1.053 2.106a.5.5 0 11-.894-.447l.972-1.945A4.5 4.5 0 006.5 6.82v-.243a.3.3 0 00-.205-.285l-2.453-.818a.5.5 0 01-.316-.632z",fill:e}))),Sz=0,Az=c(e=>e.button===Sz&&!e.altKey&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey,"isPlainLeftClick"),kz=c((e,t)=>{Az(e)&&(e.preventDefault(),t(e))},"cancelled"),_z=_.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}}:{}),Fz=_.a(({theme:e})=>({display:"inline-block",transition:"all 150ms ease-out",textDecoration:"none",color:e.color.secondary,"&:hover, &:focus":{cursor:"pointer",color:ea(.07,e.color.secondary),"svg path:not([fill])":{fill:ea(.07,e.color.secondary)}},"&:active":{color:ea(.1,e.color.secondary),"svg path:not([fill])":{fill:ea(.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"}:{}),da=c(({cancel:e=!0,children:t,onClick:r=void 0,withArrow:n=!1,containsIcon:a=!1,className:o=void 0,style:i=void 0,...s})=>y.createElement(Fz,{...s,onClick:r&&e?u=>kz(u,r):r,className:o},y.createElement(_z,{withArrow:n,containsIcon:a},t,n&&y.createElement(Nx,null))),"Link"),jne=_.div(({theme:e})=>({fontSize:`${e.typography.size.s2}px`,lineHeight:"1.6",h1:{fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},h2:{fontSize:`${e.typography.size.m2}px`,borderBottom:`1px solid ${e.appBorderColor}`},h3:{fontSize:`${e.typography.size.m1}px`},h4:{fontSize:`${e.typography.size.s3}px`},h5:{fontSize:`${e.typography.size.s2}px`},h6:{fontSize:`${e.typography.size.s2}px`,color:e.color.dark},"pre:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"pre pre, pre.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px"},"pre pre code, pre.prismjs code":{color:"inherit",fontSize:"inherit"},"pre code":{margin:0,padding:0,whiteSpace:"pre",border:"none",background:"transparent"},"pre code, pre tt":{backgroundColor:"transparent",border:"none"},"body > *:first-of-type":{marginTop:"0 !important"},"body > *:last-child":{marginBottom:"0 !important"},a:{color:e.color.secondary,textDecoration:"none"},"a.absent":{color:"#cc0000"},"a.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0},"h1, h2, h3, h4, h5, h6":{margin:"20px 0 10px",padding:0,cursor:"text",position:"relative","&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}},"h1:first-of-type + h2":{marginTop:0,paddingTop:0},"p, blockquote, ul, ol, dl, li, table, pre":{margin:"15px 0"},hr:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},"body > h1:first-of-type, body > h2:first-of-type, body > h3:first-of-type, body > h4:first-of-type, body > h5:first-of-type, body > h6:first-of-type":{marginTop:0,paddingTop:0},"body > h1:first-of-type + h2":{marginTop:0,paddingTop:0},"a:first-of-type h1, a:first-of-type h2, a:first-of-type h3, a:first-of-type h4, a:first-of-type h5, a:first-of-type h6":{marginTop:0,paddingTop:0},"h1 p, h2 p, h3 p, h4 p, h5 p, h6 p":{marginTop:0},"li p.first":{display:"inline-block"},"ul, ol":{paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},dl:{padding:0},"dl dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",margin:"0 0 15px",padding:"0 15px","&:first-of-type":{padding:0},"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},blockquote:{borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},table:{padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:"white",margin:0,padding:0,"& th":{fontWeight:"bold",border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"& td":{border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"&:nth-of-type(2n)":{backgroundColor:e.color.lighter},"& th :first-of-type, & td :first-of-type":{marginTop:0},"& th :last-child, & td :last-child":{marginBottom:0}}},img:{maxWidth:"100%"},"span.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"span.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"span.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"span.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"span.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}},"code, tt":{margin:"0 2px",padding:"0 5px",whiteSpace:"nowrap",border:`1px solid ${e.color.mediumlight}`,backgroundColor:e.color.lighter,borderRadius:3,color:e.base==="dark"?e.color.darkest:e.color.dark}})),fn=[],_a=null,Iz=l.lazy(async()=>{let{SyntaxHighlighter:e}=await Promise.resolve().then(()=>(tu(),mf));return fn.length>0&&(fn.forEach(t=>{e.registerLanguage(...t)}),fn=[]),_a===null&&(_a=e),{default:c(t=>y.createElement(e,{...t}),"default")}}),Tz=l.lazy(async()=>{let[{SyntaxHighlighter:e},{formatter:t}]=await Promise.all([Promise.resolve().then(()=>(tu(),mf)),Promise.resolve().then(()=>(N_(),vE))]);return fn.length>0&&(fn.forEach(r=>{e.registerLanguage(...r)}),fn=[]),_a===null&&(_a=e),{default:c(r=>y.createElement(e,{...r,formatter:t}),"default")}}),Ih=c(e=>y.createElement(l.Suspense,{fallback:y.createElement("div",null)},e.format!==!1?y.createElement(Tz,{...e}):y.createElement(Iz,{...e})),"SyntaxHighlighter");Ih.registerLanguage=(...e)=>{if(_a!==null){_a.registerLanguage(...e);return}fn.push(e)};tu();R7();var jx={};Oa(jx,{Close:()=>X9,Content:()=>Y9,Description:()=>J9,Dialog:()=>z9,DialogClose:()=>q9,DialogContent:()=>N9,DialogDescription:()=>U9,DialogOverlay:()=>P9,DialogPortal:()=>$9,DialogTitle:()=>V9,DialogTrigger:()=>O9,Overlay:()=>K9,Portal:()=>G9,Root:()=>W9,Title:()=>Z9,Trigger:()=>kO,WarningProvider:()=>AO,createDialogScope:()=>gO});xt();function cr(e,t,{checkForDefaultPrevented:r=!0}={}){return c(function(n){if(e==null||e(n),r===!1||!n.defaultPrevented)return t==null?void 0:t(n)},"handleEvent")}c(cr,"$e42e1063c40fb3ef$export$b9ecd428b558ff10");function Hx(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}c(Hx,"$6ed0406888f73fc4$var$setRef");function Ru(...e){return t=>e.forEach(r=>Hx(r,t))}c(Ru,"$6ed0406888f73fc4$export$43e446d32b3d21af");function Fn(...e){return l.useCallback(Ru(...e),e)}c(Fn,"$6ed0406888f73fc4$export$c7b2cbe3552a0d05");function Vx(e,t){let r=l.createContext(t);function n(o){let{children:i,...s}=o,u=l.useMemo(()=>s,Object.values(s));return l.createElement(r.Provider,{value:u},i)}c(n,"Provider");function a(o){let i=l.useContext(r);if(i)return i;if(t!==void 0)return t;throw new Error(`\`${o}\` must be used within \`${e}\``)}return c(a,"useContext"),n.displayName=e+"Provider",[n,a]}c(Vx,"$c512c27ab02ef895$export$fd42f52fd3ae1109");function Ux(e,t=[]){let r=[];function n(o,i){let s=l.createContext(i),u=r.length;r=[...r,i];function d(h){let{scope:p,children:m,...g}=h,v=(p==null?void 0:p[e][u])||s,b=l.useMemo(()=>g,Object.values(g));return l.createElement(v.Provider,{value:b},m)}c(d,"Provider");function f(h,p){let m=(p==null?void 0:p[e][u])||s,g=l.useContext(m);if(g)return g;if(i!==void 0)return i;throw new Error(`\`${h}\` must be used within \`${o}\``)}return c(f,"useContext"),d.displayName=o+"Provider",[d,f]}c(n,"$c512c27ab02ef895$export$fd42f52fd3ae1109");let a=c(()=>{let o=r.map(i=>l.createContext(i));return c(function(i){let s=(i==null?void 0:i[e])||o;return l.useMemo(()=>({[`__scope${e}`]:{...i,[e]:s}}),[i,s])},"useScope")},"createScope");return a.scopeName=e,[n,qx(a,...t)]}c(Ux,"$c512c27ab02ef895$export$50c7b4e9d9f19c1");function qx(...e){let t=e[0];if(e.length===1)return t;let r=c(()=>{let n=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return c(function(a){let o=n.reduce((i,{useScope:s,scopeName:u})=>{let d=s(a)[`__scope${u}`];return{...i,...d}},{});return l.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])},"useComposedScopes")},"createScope1");return r.scopeName=t.scopeName,r}c(qx,"$c512c27ab02ef895$var$composeContextScopes");var ap=globalThis!=null&&globalThis.document?l.useLayoutEffect:()=>{},Rz=l.useId||(()=>{}),Bz=0;function Ll(e){let[t,r]=l.useState(Rz());return ap(()=>{e||r(n=>n??String(Bz++))},[e]),e||(t?`radix-${t}`:"")}c(Ll,"$1746a345f3d73bb7$export$f680877a34711e37");function Mr(e){let t=l.useRef(e);return l.useEffect(()=>{t.current=e}),l.useMemo(()=>(...r)=>{var n;return(n=t.current)===null||n===void 0?void 0:n.call(t,...r)},[])}c(Mr,"$b1b2314f5f9a1d84$export$25bec8c6f54ee79a");function Wx({prop:e,defaultProp:t,onChange:r=c(()=>{},"onChange")}){let[n,a]=Gx({defaultProp:t,onChange:r}),o=e!==void 0,i=o?e:n,s=Mr(r),u=l.useCallback(d=>{if(o){let f=typeof d=="function"?d(e):d;f!==e&&s(f)}else a(d)},[o,e,a,s]);return[i,u]}c(Wx,"$71cd76cc60e0454e$export$6f32135080cb4c3");function Gx({defaultProp:e,onChange:t}){let r=l.useState(e),[n]=r,a=l.useRef(n),o=Mr(t);return l.useEffect(()=>{a.current!==n&&(o(n),a.current=n)},[n,a,o]),r}c(Gx,"$71cd76cc60e0454e$var$useUncontrolledState");xt();xt();xt();var Kx=l.forwardRef((e,t)=>{let{children:r,...n}=e,a=l.Children.toArray(r),o=a.find(Yx);if(o){let i=o.props.children,s=a.map(u=>u===o?l.Children.count(i)>1?l.Children.only(null):l.isValidElement(i)?i.props.children:null:u);return l.createElement(op,Q({},n,{ref:t}),l.isValidElement(i)?l.cloneElement(i,void 0,s):null)}return l.createElement(op,Q({},n,{ref:t}),r)});Kx.displayName="Slot";var op=l.forwardRef((e,t)=>{let{children:r,...n}=e;return l.isValidElement(r)?l.cloneElement(r,{...Zx(n,r.props),ref:t?Ru(t,r.ref):r.ref}):l.Children.count(r)>1?l.Children.only(null):null});op.displayName="SlotClone";var zz=c(({children:e})=>l.createElement(l.Fragment,null,e),"$5e63c961fc1ce211$export$d9f1ccf0bdb05d45");function Yx(e){return l.isValidElement(e)&&e.type===zz}c(Yx,"$5e63c961fc1ce211$var$isSlottable");function Zx(e,t){let r={...t};for(let n in t){let a=e[n],o=t[n];/^on[A-Z]/.test(n)?a&&o?r[n]=(...i)=>{o(...i),a(...i)}:a&&(r[n]=a):n==="style"?r[n]={...a,...o}:n==="className"&&(r[n]=[a,o].filter(Boolean).join(" "))}return{...e,...r}}c(Zx,"$5e63c961fc1ce211$var$mergeProps");var Oz=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Hr=Oz.reduce((e,t)=>{let r=l.forwardRef((n,a)=>{let{asChild:o,...i}=n,s=o?Kx:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,Q({},i,{ref:a}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Jx(e,t){e&&Ps.flushSync(()=>e.dispatchEvent(t))}c(Jx,"$8927f6f2acc4f386$export$6d1a0317bde7de7f");function Xx(e,t=globalThis==null?void 0:globalThis.document){let r=Mr(e);l.useEffect(()=>{let n=c(a=>{a.key==="Escape"&&r(a)},"handleKeyDown");return t.addEventListener("keydown",n),()=>t.removeEventListener("keydown",n)},[r,t])}c(Xx,"$addc16e1bbe58fd0$export$3a72a57244d6e765");var ip="dismissableLayer.update",Lz="dismissableLayer.pointerDownOutside",Mz="dismissableLayer.focusOutside",sy,$z=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Pz=l.forwardRef((e,t)=>{var r;let{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:a,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:s,onDismiss:u,...d}=e,f=l.useContext($z),[h,p]=l.useState(null),m=(r=h==null?void 0:h.ownerDocument)!==null&&r!==void 0?r:globalThis==null?void 0:globalThis.document,[,g]=l.useState({}),v=Fn(t,k=>p(k)),b=Array.from(f.layers),[x]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),E=b.indexOf(x),C=h?b.indexOf(h):-1,w=f.layersWithOutsidePointerEventsDisabled.size>0,D=C>=E,S=Qx(k=>{let F=k.target,T=[...f.branches].some(R=>R.contains(F));!D||T||(o==null||o(k),s==null||s(k),k.defaultPrevented||(u==null||u()))},m),A=e9(k=>{let F=k.target;[...f.branches].some(T=>T.contains(F))||(i==null||i(k),s==null||s(k),k.defaultPrevented||(u==null||u()))},m);return Xx(k=>{C===f.layers.size-1&&(a==null||a(k),!k.defaultPrevented&&u&&(k.preventDefault(),u()))},m),l.useEffect(()=>{if(h)return n&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(sy=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(h)),f.layers.add(h),lp(),()=>{n&&f.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=sy)}},[h,m,n,f]),l.useEffect(()=>()=>{h&&(f.layers.delete(h),f.layersWithOutsidePointerEventsDisabled.delete(h),lp())},[h,f]),l.useEffect(()=>{let k=c(()=>g({}),"handleUpdate");return document.addEventListener(ip,k),()=>document.removeEventListener(ip,k)},[]),l.createElement(Hr.div,Q({},d,{ref:v,style:{pointerEvents:w?D?"auto":"none":void 0,...e.style},onFocusCapture:cr(e.onFocusCapture,A.onFocusCapture),onBlurCapture:cr(e.onBlurCapture,A.onBlurCapture),onPointerDownCapture:cr(e.onPointerDownCapture,S.onPointerDownCapture)}))});function Qx(e,t=globalThis==null?void 0:globalThis.document){let r=Mr(e),n=l.useRef(!1),a=l.useRef(()=>{});return l.useEffect(()=>{let o=c(s=>{if(s.target&&!n.current){let u=function(){Th(Lz,r,d,{discrete:!0})};c(u,"handleAndDispatchPointerDownOutsideEvent");let d={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",a.current),a.current=u,t.addEventListener("click",a.current,{once:!0})):u()}else t.removeEventListener("click",a.current);n.current=!1},"handlePointerDown"),i=window.setTimeout(()=>{t.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",o),t.removeEventListener("click",a.current)}},[t,r]),{onPointerDownCapture:c(()=>n.current=!0,"onPointerDownCapture")}}c(Qx,"$5cb92bef7577960e$var$usePointerDownOutside");function e9(e,t=globalThis==null?void 0:globalThis.document){let r=Mr(e),n=l.useRef(!1);return l.useEffect(()=>{let a=c(o=>{o.target&&!n.current&&Th(Mz,r,{originalEvent:o},{discrete:!1})},"handleFocus");return t.addEventListener("focusin",a),()=>t.removeEventListener("focusin",a)},[t,r]),{onFocusCapture:c(()=>n.current=!0,"onFocusCapture"),onBlurCapture:c(()=>n.current=!1,"onBlurCapture")}}c(e9,"$5cb92bef7577960e$var$useFocusOutside");function lp(){let e=new CustomEvent(ip);document.dispatchEvent(e)}c(lp,"$5cb92bef7577960e$var$dispatchUpdate");function Th(e,t,r,{discrete:n}){let a=r.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&a.addEventListener(e,t,{once:!0}),n?Jx(a,o):a.dispatchEvent(o)}c(Th,"$5cb92bef7577960e$var$handleAndDispatchCustomEvent");xt();var md="focusScope.autoFocusOnMount",gd="focusScope.autoFocusOnUnmount",uy={bubbles:!1,cancelable:!0},Nz=l.forwardRef((e,t)=>{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:a,onUnmountAutoFocus:o,...i}=e,[s,u]=l.useState(null),d=Mr(a),f=Mr(o),h=l.useRef(null),p=Fn(t,v=>u(v)),m=l.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;l.useEffect(()=>{if(n){let v=function(C){if(m.paused||!s)return;let w=C.target;s.contains(w)?h.current=w:lr(h.current,{select:!0})},b=function(C){if(m.paused||!s)return;let w=C.relatedTarget;w!==null&&(s.contains(w)||lr(h.current,{select:!0}))},x=function(C){if(document.activeElement===document.body)for(let w of C)w.removedNodes.length>0&&lr(s)};c(v,"handleFocusIn"),c(b,"handleFocusOut"),c(x,"handleMutations"),document.addEventListener("focusin",v),document.addEventListener("focusout",b);let E=new MutationObserver(x);return s&&E.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",v),document.removeEventListener("focusout",b),E.disconnect()}}},[n,s,m.paused]),l.useEffect(()=>{if(s){cy.add(m);let v=document.activeElement;if(!s.contains(v)){let b=new CustomEvent(md,uy);s.addEventListener(md,d),s.dispatchEvent(b),b.defaultPrevented||(t9(i9(Rh(s)),{select:!0}),document.activeElement===v&&lr(s))}return()=>{s.removeEventListener(md,d),setTimeout(()=>{let b=new CustomEvent(gd,uy);s.addEventListener(gd,f),s.dispatchEvent(b),b.defaultPrevented||lr(v??document.body,{select:!0}),s.removeEventListener(gd,f),cy.remove(m)},0)}}},[s,d,f,m]);let g=l.useCallback(v=>{if(!r&&!n||m.paused)return;let b=v.key==="Tab"&&!v.altKey&&!v.ctrlKey&&!v.metaKey,x=document.activeElement;if(b&&x){let E=v.currentTarget,[C,w]=r9(E);C&&w?!v.shiftKey&&x===w?(v.preventDefault(),r&&lr(C,{select:!0})):v.shiftKey&&x===C&&(v.preventDefault(),r&&lr(w,{select:!0})):x===E&&v.preventDefault()}},[r,n,m.paused]);return l.createElement(Hr.div,Q({tabIndex:-1},i,{ref:p,onKeyDown:g}))});function t9(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(lr(n,{select:t}),document.activeElement!==r)return}c(t9,"$d3863c46a17e8a28$var$focusFirst");function r9(e){let t=Rh(e),r=sp(t,e),n=sp(t.reverse(),e);return[r,n]}c(r9,"$d3863c46a17e8a28$var$getTabbableEdges");function Rh(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:c(n=>{let a=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||a?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;r.nextNode();)t.push(r.currentNode);return t}c(Rh,"$d3863c46a17e8a28$var$getTabbableCandidates");function sp(e,t){for(let r of e)if(!n9(r,{upTo:t}))return r}c(sp,"$d3863c46a17e8a28$var$findVisible");function n9(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}c(n9,"$d3863c46a17e8a28$var$isHidden");function a9(e){return e instanceof HTMLInputElement&&"select"in e}c(a9,"$d3863c46a17e8a28$var$isSelectableInput");function lr(e,{select:t=!1}={}){if(e&&e.focus){let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&a9(e)&&t&&e.select()}}c(lr,"$d3863c46a17e8a28$var$focus");var cy=o9();function o9(){let e=[];return{add(t){let r=e[0];t!==r&&(r==null||r.pause()),e=up(e,t),e.unshift(t)},remove(t){var r;e=up(e,t),(r=e[0])===null||r===void 0||r.resume()}}}c(o9,"$d3863c46a17e8a28$var$createFocusScopesStack");function up(e,t){let r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}c(up,"$d3863c46a17e8a28$var$arrayRemove");function i9(e){return e.filter(t=>t.tagName!=="A")}c(i9,"$d3863c46a17e8a28$var$removeLinks");xt();var jz=l.forwardRef((e,t)=>{var r;let{container:n=globalThis==null||(r=globalThis.document)===null||r===void 0?void 0:r.body,...a}=e;return n?P3.createPortal(l.createElement(Hr.div,Q({},a,{ref:t})),n):null});function l9(e,t){return l.useReducer((r,n)=>t[r][n]??r,e)}c(l9,"$fe963b355347cc68$export$3e6543de14f8614f");var Bu=c(e=>{let{present:t,children:r}=e,n=s9(t),a=typeof r=="function"?r({present:n.isPresent}):l.Children.only(r),o=Fn(n.ref,a.ref);return typeof r=="function"||n.isPresent?l.cloneElement(a,{ref:o}):null},"$921a889cee6df7e8$export$99c2b779aa4e8b8b");Bu.displayName="Presence";function s9(e){let[t,r]=l.useState(),n=l.useRef({}),a=l.useRef(e),o=l.useRef("none"),i=e?"mounted":"unmounted",[s,u]=l9(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return l.useEffect(()=>{let d=To(n.current);o.current=s==="mounted"?d:"none"},[s]),ap(()=>{let d=n.current,f=a.current;if(f!==e){let h=o.current,p=To(d);e?u("MOUNT"):p==="none"||(d==null?void 0:d.display)==="none"?u("UNMOUNT"):u(f&&h!==p?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,u]),ap(()=>{if(t){let d=c(h=>{let p=To(n.current).includes(h.animationName);h.target===t&&p&&Ps.flushSync(()=>u("ANIMATION_END"))},"handleAnimationEnd"),f=c(h=>{h.target===t&&(o.current=To(n.current))},"handleAnimationStart");return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:l.useCallback(d=>{d&&(n.current=getComputedStyle(d)),r(d)},[])}}c(s9,"$921a889cee6df7e8$var$usePresence");function To(e){return(e==null?void 0:e.animationName)||"none"}c(To,"$921a889cee6df7e8$var$getAnimationName");var vd=0;function u9(){l.useEffect(()=>{var e,t;let r=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=r[0])!==null&&e!==void 0?e:cp()),document.body.insertAdjacentElement("beforeend",(t=r[1])!==null&&t!==void 0?t:cp()),vd++,()=>{vd===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(n=>n.remove()),vd--}},[])}c(u9,"$3db38b7d1fb3fe6a$export$b7ece24a22aeda8c");function cp(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}c(cp,"$3db38b7d1fb3fe6a$var$createFocusGuard");var Mt=c(function(){return Mt=Object.assign||c(function(e){for(var t,r=1,n=arguments.length;r"u")return Gz;var t=Kz(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},"getGapWidth"),Zz=x9(),Rs="data-scroll-locked",Jz=c(function(e,t,r,n){var a=e.left,o=e.top,i=e.right,s=e.gap;return r===void 0&&(r="margin"),` + .`.concat(Hz,` { + overflow: hidden `).concat(n,`; + padding-right: `).concat(s,"px ").concat(n,`; + } + body[`).concat(Rs,`] { + overflow: hidden `).concat(n,`; + overscroll-behavior: contain; + `).concat([t&&"position: relative ".concat(n,";"),r==="margin"&&` + padding-left: `.concat(a,`px; + padding-top: `).concat(o,`px; + padding-right: `).concat(i,`px; + margin-left:0; + margin-top:0; + margin-right: `).concat(s,"px ").concat(n,`; + `),r==="padding"&&"padding-right: ".concat(s,"px ").concat(n,";")].filter(Boolean).join(""),` + } + + .`).concat(Ml,` { + right: `).concat(s,"px ").concat(n,`; + } + + .`).concat($l,` { + margin-right: `).concat(s,"px ").concat(n,`; + } + + .`).concat(Ml," .").concat(Ml,` { + right: 0 `).concat(n,`; + } + + .`).concat($l," .").concat($l,` { + margin-right: 0 `).concat(n,`; + } + + body[`).concat(Rs,`] { + `).concat(Vz,": ").concat(s,`px; + } +`)},"getStyles"),Xz=c(function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,a=n===void 0?"margin":n,o=l.useMemo(function(){return Yz(a)},[a]);return l.useEffect(function(){return document.body.setAttribute(Rs,""),function(){document.body.removeAttribute(Rs)}},[]),l.createElement(Zz,{styles:Jz(o,!t,a,r?"":"!important")})},"RemoveScrollBar"),dp=!1;if(typeof window<"u")try{mo=Object.defineProperty({},"passive",{get:c(function(){return dp=!0,!0},"get")}),window.addEventListener("test",mo,mo),window.removeEventListener("test",mo,mo)}catch{dp=!1}var mo,Hn=dp?{passive:!1}:!1,Qz=c(function(e){return e.tagName==="TEXTAREA"},"alwaysContainsScroll"),C9=c(function(e,t){var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!Qz(e)&&r[t]==="visible")},"elementCanBeScrolled"),eO=c(function(e){return C9(e,"overflowY")},"elementCouldBeVScrolled"),tO=c(function(e){return C9(e,"overflowX")},"elementCouldBeHScrolled"),py=c(function(e,t){var r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var n=D9(e,r);if(n){var a=S9(e,r),o=a[1],i=a[2];if(o>i)return!0}r=r.parentNode}while(r&&r!==document.body);return!1},"locationCouldBeScrolled"),rO=c(function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},"getVScrollVariables"),nO=c(function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},"getHScrollVariables"),D9=c(function(e,t){return e==="v"?eO(t):tO(t)},"elementCouldBeScrolled"),S9=c(function(e,t){return e==="v"?rO(t):nO(t)},"getScrollVariables"),aO=c(function(e,t){return e==="h"&&t==="rtl"?-1:1},"getDirectionFactor"),oO=c(function(e,t,r,n,a){var o=aO(e,window.getComputedStyle(t).direction),i=o*n,s=r.target,u=t.contains(s),d=!1,f=i>0,h=0,p=0;do{var m=S9(e,s),g=m[0],v=m[1],b=m[2],x=v-b-o*g;(g||x)&&D9(e,s)&&(h+=x,p+=g),s=s.parentNode}while(!u&&s!==document.body||u&&(t.contains(s)||t===s));return(f&&(a&&h===0||!a&&i>h)||!f&&(a&&p===0||!a&&-i>p))&&(d=!0),d},"handleScroll"),ul=c(function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},"getTouchXY"),fy=c(function(e){return[e.deltaX,e.deltaY]},"getDeltaXY"),hy=c(function(e){return e&&"current"in e?e.current:e},"extractRef"),iO=c(function(e,t){return e[0]===t[0]&&e[1]===t[1]},"deltaCompare"),lO=c(function(e){return` + .block-interactivity-`.concat(e,` {pointer-events: none;} + .allow-interactivity-`).concat(e,` {pointer-events: all;} +`)},"generateStyle"),sO=0,Vn=[];function A9(e){var t=l.useRef([]),r=l.useRef([0,0]),n=l.useRef(),a=l.useState(sO++)[0],o=l.useState(function(){return x9()})[0],i=l.useRef(e);l.useEffect(function(){i.current=e},[e]),l.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var v=c9([e.lockRef.current],(e.shards||[]).map(hy),!0).filter(Boolean);return v.forEach(function(b){return b.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),v.forEach(function(b){return b.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var s=l.useCallback(function(v,b){if("touches"in v&&v.touches.length===2)return!i.current.allowPinchZoom;var x=ul(v),E=r.current,C="deltaX"in v?v.deltaX:E[0]-x[0],w="deltaY"in v?v.deltaY:E[1]-x[1],D,S=v.target,A=Math.abs(C)>Math.abs(w)?"h":"v";if("touches"in v&&A==="h"&&S.type==="range")return!1;var k=py(A,S);if(!k)return!0;if(k?D=A:(D=A==="v"?"h":"v",k=py(A,S)),!k)return!1;if(!n.current&&"changedTouches"in v&&(C||w)&&(n.current=D),!D)return!0;var F=n.current||D;return oO(F,b,v,F==="h"?C:w,!0)},[]),u=l.useCallback(function(v){var b=v;if(!(!Vn.length||Vn[Vn.length-1]!==o)){var x="deltaY"in b?fy(b):ul(b),E=t.current.filter(function(D){return D.name===b.type&&D.target===b.target&&iO(D.delta,x)})[0];if(E&&E.should){b.cancelable&&b.preventDefault();return}if(!E){var C=(i.current.shards||[]).map(hy).filter(Boolean).filter(function(D){return D.contains(b.target)}),w=C.length>0?s(b,C[0]):!i.current.noIsolation;w&&b.cancelable&&b.preventDefault()}}},[]),d=l.useCallback(function(v,b,x,E){var C={name:v,delta:b,target:x,should:E};t.current.push(C),setTimeout(function(){t.current=t.current.filter(function(w){return w!==C})},1)},[]),f=l.useCallback(function(v){r.current=ul(v),n.current=void 0},[]),h=l.useCallback(function(v){d(v.type,fy(v),v.target,s(v,e.lockRef.current))},[]),p=l.useCallback(function(v){d(v.type,ul(v),v.target,s(v,e.lockRef.current))},[]);l.useEffect(function(){return Vn.push(o),e.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:p}),document.addEventListener("wheel",u,Hn),document.addEventListener("touchmove",u,Hn),document.addEventListener("touchstart",f,Hn),function(){Vn=Vn.filter(function(v){return v!==o}),document.removeEventListener("wheel",u,Hn),document.removeEventListener("touchmove",u,Hn),document.removeEventListener("touchstart",f,Hn)}},[]);var m=e.removeScrollBar,g=e.inert;return l.createElement(l.Fragment,null,g?l.createElement(o,{styles:lO(a)}):null,m?l.createElement(Xz,{gapMode:"margin"}):null)}c(A9,"RemoveScrollSideCar");var uO=v9(y9,A9),k9=l.forwardRef(function(e,t){return l.createElement(zu,Mt({},e,{ref:t,sideCar:uO}))});k9.classNames=zu.classNames;var cO=k9,dO=c(function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},"getDefaultParent"),Un=new WeakMap,cl=new WeakMap,dl={},wd=0,_9=c(function(e){return e&&(e.host||_9(e.parentNode))},"unwrapHost"),pO=c(function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=_9(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},"correctTargets"),fO=c(function(e,t,r,n){var a=pO(t,Array.isArray(e)?e:[e]);dl[r]||(dl[r]=new WeakMap);var o=dl[r],i=[],s=new Set,u=new Set(a),d=c(function(h){!h||s.has(h)||(s.add(h),d(h.parentNode))},"keep");a.forEach(d);var f=c(function(h){!h||u.has(h)||Array.prototype.forEach.call(h.children,function(p){if(s.has(p))f(p);else{var m=p.getAttribute(n),g=m!==null&&m!=="false",v=(Un.get(p)||0)+1,b=(o.get(p)||0)+1;Un.set(p,v),o.set(p,b),i.push(p),v===1&&g&&cl.set(p,!0),b===1&&p.setAttribute(r,"true"),g||p.setAttribute(n,"true")}})},"deep");return f(t),s.clear(),wd++,function(){i.forEach(function(h){var p=Un.get(h)-1,m=o.get(h)-1;Un.set(h,p),o.set(h,m),p||(cl.has(h)||h.removeAttribute(n),cl.delete(h)),m||h.removeAttribute(r)}),wd--,wd||(Un=new WeakMap,Un=new WeakMap,cl=new WeakMap,dl={})}},"applyAttributeToOthers"),hO=c(function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),a=t||dO(e);return a?(n.push.apply(n,Array.from(a.querySelectorAll("[aria-live]"))),fO(n,a,r,"aria-hidden")):function(){return null}},"hideOthers");xt();var F9=l.forwardRef((e,t)=>{let{children:r,...n}=e,a=l.Children.toArray(r),o=a.find(I9);if(o){let i=o.props.children,s=a.map(u=>u===o?l.Children.count(i)>1?l.Children.only(null):l.isValidElement(i)?i.props.children:null:u);return l.createElement(pp,Q({},n,{ref:t}),l.isValidElement(i)?l.cloneElement(i,void 0,s):null)}return l.createElement(pp,Q({},n,{ref:t}),r)});F9.displayName="Slot";var pp=l.forwardRef((e,t)=>{let{children:r,...n}=e;return l.isValidElement(r)?l.cloneElement(r,{...T9(n,r.props),ref:t?Ru(t,r.ref):r.ref}):l.Children.count(r)>1?l.Children.only(null):null});pp.displayName="SlotClone";var mO=c(({children:e})=>l.createElement(l.Fragment,null,e),"$5e63c961fc1ce211$export$d9f1ccf0bdb05d45");function I9(e){return l.isValidElement(e)&&e.type===mO}c(I9,"$5e63c961fc1ce211$var$isSlottable");function T9(e,t){let r={...t};for(let n in t){let a=e[n],o=t[n];/^on[A-Z]/.test(n)?a&&o?r[n]=(...i)=>{o(...i),a(...i)}:a&&(r[n]=a):n==="style"?r[n]={...a,...o}:n==="className"&&(r[n]=[a,o].filter(Boolean).join(" "))}return{...e,...r}}c(T9,"$5e63c961fc1ce211$var$mergeProps");var R9="Dialog",[B9,gO]=Ux(R9),[vO,Dt]=B9(R9),z9=c(e=>{let{__scopeDialog:t,children:r,open:n,defaultOpen:a,onOpenChange:o,modal:i=!0}=e,s=l.useRef(null),u=l.useRef(null),[d=!1,f]=Wx({prop:n,defaultProp:a,onChange:o});return l.createElement(vO,{scope:t,triggerRef:s,contentRef:u,contentId:Ll(),titleId:Ll(),descriptionId:Ll(),open:d,onOpenChange:f,onOpenToggle:l.useCallback(()=>f(h=>!h),[f]),modal:i},r)},"$5d3850c4d0b4e6c7$export$3ddf2d174ce01153"),yO="DialogTrigger",O9=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=Dt(yO,r),o=Fn(t,a.triggerRef);return l.createElement(Hr.button,Q({type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":Ou(a.open)},n,{ref:o,onClick:cr(e.onClick,a.onOpenToggle)}))}),L9="DialogPortal",[bO,M9]=B9(L9,{forceMount:void 0}),$9=c(e=>{let{__scopeDialog:t,forceMount:r,children:n,container:a}=e,o=Dt(L9,t);return l.createElement(bO,{scope:t,forceMount:r},l.Children.map(n,i=>l.createElement(Bu,{present:r||o.open},l.createElement(jz,{asChild:!0,container:a},i))))},"$5d3850c4d0b4e6c7$export$dad7c95542bacce0"),fp="DialogOverlay",P9=l.forwardRef((e,t)=>{let r=M9(fp,e.__scopeDialog),{forceMount:n=r.forceMount,...a}=e,o=Dt(fp,e.__scopeDialog);return o.modal?l.createElement(Bu,{present:n||o.open},l.createElement(wO,Q({},a,{ref:t}))):null}),wO=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=Dt(fp,r);return l.createElement(cO,{as:F9,allowPinchZoom:!0,shards:[a.contentRef]},l.createElement(Hr.div,Q({"data-state":Ou(a.open)},n,{ref:t,style:{pointerEvents:"auto",...n.style}})))}),Fa="DialogContent",N9=l.forwardRef((e,t)=>{let r=M9(Fa,e.__scopeDialog),{forceMount:n=r.forceMount,...a}=e,o=Dt(Fa,e.__scopeDialog);return l.createElement(Bu,{present:n||o.open},o.modal?l.createElement(EO,Q({},a,{ref:t})):l.createElement(xO,Q({},a,{ref:t})))}),EO=l.forwardRef((e,t)=>{let r=Dt(Fa,e.__scopeDialog),n=l.useRef(null),a=Fn(t,r.contentRef,n);return l.useEffect(()=>{let o=n.current;if(o)return hO(o)},[]),l.createElement(j9,Q({},e,{ref:a,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:cr(e.onCloseAutoFocus,o=>{var i;o.preventDefault(),(i=r.triggerRef.current)===null||i===void 0||i.focus()}),onPointerDownOutside:cr(e.onPointerDownOutside,o=>{let i=o.detail.originalEvent,s=i.button===0&&i.ctrlKey===!0;(i.button===2||s)&&o.preventDefault()}),onFocusOutside:cr(e.onFocusOutside,o=>o.preventDefault())}))}),xO=l.forwardRef((e,t)=>{let r=Dt(Fa,e.__scopeDialog),n=l.useRef(!1),a=l.useRef(!1);return l.createElement(j9,Q({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:c(o=>{var i;if((i=e.onCloseAutoFocus)===null||i===void 0||i.call(e,o),!o.defaultPrevented){var s;n.current||(s=r.triggerRef.current)===null||s===void 0||s.focus(),o.preventDefault()}n.current=!1,a.current=!1},"onCloseAutoFocus"),onInteractOutside:c(o=>{var i,s;(i=e.onInteractOutside)===null||i===void 0||i.call(e,o),o.defaultPrevented||(n.current=!0,o.detail.originalEvent.type==="pointerdown"&&(a.current=!0));let u=o.target;!((s=r.triggerRef.current)===null||s===void 0)&&s.contains(u)&&o.preventDefault(),o.detail.originalEvent.type==="focusin"&&a.current&&o.preventDefault()},"onInteractOutside")}))}),j9=l.forwardRef((e,t)=>{let{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:a,onCloseAutoFocus:o,...i}=e,s=Dt(Fa,r),u=l.useRef(null),d=Fn(t,u);return u9(),l.createElement(l.Fragment,null,l.createElement(Nz,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:a,onUnmountAutoFocus:o},l.createElement(Pz,Q({role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":Ou(s.open)},i,{ref:d,onDismiss:c(()=>s.onOpenChange(!1),"onDismiss")}))),!1)}),H9="DialogTitle",V9=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=Dt(H9,r);return l.createElement(Hr.h2,Q({id:a.titleId},n,{ref:t}))}),CO="DialogDescription",U9=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=Dt(CO,r);return l.createElement(Hr.p,Q({id:a.descriptionId},n,{ref:t}))}),DO="DialogClose",q9=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=Dt(DO,r);return l.createElement(Hr.button,Q({type:"button"},n,{ref:t,onClick:cr(e.onClick,()=>a.onOpenChange(!1))}))});function Ou(e){return e?"open":"closed"}c(Ou,"$5d3850c4d0b4e6c7$var$getState");var SO="DialogTitleWarning",[AO,Hne]=Vx(SO,{contentName:Fa,titleName:H9,docsSlug:"dialog"}),W9=z9,kO=O9,G9=$9,K9=P9,Y9=N9,Z9=V9,J9=U9,X9=q9,Q9={};Oa(Q9,{Actions:()=>LO,CloseButton:()=>nC,Col:()=>oC,Container:()=>rC,Content:()=>RO,Description:()=>OO,Error:()=>MO,ErrorWrapper:()=>iC,Header:()=>BO,Overlay:()=>tC,Row:()=>aC,Title:()=>zO});L7();const{deprecate:_O}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var In=l.forwardRef(({asChild:e=!1,animation:t="none",size:r="small",variant:n="outline",padding:a="medium",disabled:o=!1,active:i=!1,onClick:s,...u},d)=>{let f="button";u.isLink&&(f="a"),e&&(f=Ql);let h=n,p=r,[m,g]=l.useState(!1),v=c(b=>{s&&s(b),t!=="none"&&g(!0)},"handleClick");if(l.useEffect(()=>{let b=setTimeout(()=>{m&&g(!1)},1e3);return()=>clearTimeout(b)},[m]),u.primary&&(h="solid",p="medium"),(u.secondary||u.tertiary||u.gray||u.outline||u.inForm)&&(h="outline",p="medium"),u.small||u.isLink||u.primary||u.secondary||u.tertiary||u.gray||u.outline||u.inForm||u.containsIcon){let b=y.Children.toArray(u.children).filter(x=>typeof x=="string"&&x!=="");_O(`Use of deprecated props in the button ${b.length>0?`"${b.join(" ")}"`:"component"} detected, see the migration notes at https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#new-ui-and-props-for-button-and-iconbutton-components`)}return y.createElement(FO,{as:f,ref:d,variant:h,size:p,padding:a,disabled:o,active:i,animating:m,animation:t,onClick:v,...u})});In.displayName="Button";var FO=_("button",{shouldForwardProp:c(e=>Np(e),"shouldForwardProp")})(({theme:e,variant:t,size:r,disabled:n,active:a,animating:o,animation:i="none",padding:s})=>({border:0,cursor:n?"not-allowed":"pointer",display:"inline-flex",gap:"6px",alignItems:"center",justifyContent:"center",overflow:"hidden",padding:s==="small"&&r==="small"?"0 7px":s==="small"&&r==="medium"?"0 9px":r==="small"?"0 10px":r==="medium"?"0 12px":0,height:r==="small"?"28px":"32px",position:"relative",textAlign:"center",textDecoration:"none",transitionProperty:"background, box-shadow",transitionDuration:"150ms",transitionTimingFunction:"ease-out",verticalAlign:"top",whiteSpace:"nowrap",userSelect:"none",opacity:n?.5:1,margin:0,fontSize:`${e.typography.size.s1}px`,fontWeight:e.typography.weight.bold,lineHeight:"1",background:t==="solid"?e.color.secondary:t==="outline"?e.button.background:t==="ghost"&&a?e.background.hoverable:"transparent",...t==="ghost"?{".sb-bar &":{background:a?Qe(.9,e.barTextColor):"transparent",color:a?e.barSelectedColor:e.barTextColor,"&:hover":{color:e.barHoverColor,background:Qe(.86,e.barHoverColor)},"&:active":{color:e.barSelectedColor,background:Qe(.9,e.barSelectedColor)},"&:focus":{boxShadow:`${ai(e.barHoverColor,1)} 0 0 0 1px inset`,outline:"none"}}}:{},color:t==="solid"?e.color.lightest:t==="outline"?e.input.color:t==="ghost"&&a?e.color.secondary:t==="ghost"?e.color.mediumdark:e.input.color,boxShadow:t==="outline"?`${e.button.border} 0 0 0 1px inset`:"none",borderRadius:e.input.borderRadius,flexShrink:0,"&:hover":{color:t==="ghost"?e.color.secondary:void 0,background:(()=>{let u=e.color.secondary;return t==="solid"&&(u=e.color.secondary),t==="outline"&&(u=e.button.background),t==="ghost"?Qe(.86,e.color.secondary):e.base==="light"?ea(.02,u):ly(.03,u)})()},"&:active":{color:t==="ghost"?e.color.secondary:void 0,background:(()=>{let u=e.color.secondary;return t==="solid"&&(u=e.color.secondary),t==="outline"&&(u=e.button.background),t==="ghost"?e.background.hoverable:e.base==="light"?ea(.02,u):ly(.03,u)})()},"&:focus":{boxShadow:`${ai(e.color.secondary,1)} 0 0 0 1px inset`,outline:"none"},"> svg":{animation:o&&i!=="none"?`${e.animation[i]} 1000ms ease-out`:""}})),hn=l.forwardRef(({padding:e="small",variant:t="ghost",...r},n)=>y.createElement(In,{padding:e,variant:t,ref:n,...r}));hn.displayName="IconButton";var eC=fr({from:{opacity:0},to:{opacity:1}}),IO=fr({from:{maxHeight:0},to:{}}),TO=fr({from:{opacity:0,transform:"translate(-50%, -50%) scale(0.9)"},to:{opacity:1,transform:"translate(-50%, -50%) scale(1)"}}),tC=_.div({backgroundColor:"rgba(27, 28, 29, 0.2)",position:"fixed",inset:0,width:"100%",height:"100%",zIndex:10,animation:`${eC} 200ms`}),rC=_.div(({theme:e,width:t,height:r})=>({backgroundColor:e.background.bar,borderRadius:6,boxShadow:"rgba(255, 255, 255, 0.05) 0 0 0 1px inset, rgba(14, 18, 22, 0.35) 0px 10px 38px -10px",position:"fixed",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:t??740,height:r??"auto",maxWidth:"calc(100% - 40px)",maxHeight:"85vh",overflow:"hidden",zIndex:11,animation:`${TO} 200ms`,"&:focus-visible":{outline:"none"}})),nC=c(e=>y.createElement(X9,{asChild:!0},y.createElement(hn,{...e},y.createElement(Px,null))),"CloseButton"),RO=_.div({display:"flex",flexDirection:"column",margin:16,gap:16}),aC=_.div({display:"flex",justifyContent:"space-between",gap:16}),oC=_.div({display:"flex",flexDirection:"column",gap:4}),BO=c(e=>y.createElement(aC,null,y.createElement(oC,{...e}),y.createElement(nC,null)),"Header"),zO=_(Z9)(({theme:e})=>({margin:0,fontSize:e.typography.size.s3,fontWeight:e.typography.weight.bold})),OO=_(J9)(({theme:e})=>({position:"relative",zIndex:1,margin:0,fontSize:e.typography.size.s2})),LO=_.div({display:"flex",flexDirection:"row-reverse",gap:8}),iC=_.div(({theme:e})=>({maxHeight:100,overflow:"auto",animation:`${IO} 300ms, ${eC} 300ms`,backgroundColor:e.background.critical,color:e.color.lightest,fontSize:e.typography.size.s2,"& > div":{position:"relative",padding:"8px 16px"}})),MO=c(({children:e,...t})=>y.createElement(iC,{...t},y.createElement("div",null,e)),"Error");function lC({children:e,width:t,height:r,onEscapeKeyDown:n,onInteractOutside:a=c(u=>u.preventDefault(),"onInteractOutside"),className:o,container:i,...s}){return y.createElement(W9,{...s},y.createElement(G9,{container:i},y.createElement(K9,{asChild:!0},y.createElement(tC,null)),y.createElement(Y9,{asChild:!0,onInteractOutside:a,onEscapeKeyDown:n},y.createElement(rC,{className:o,width:t,height:r},e))))}c(lC,"BaseModal");var Vne=Object.assign(lC,Q9,{Dialog:jx}),$O=c(e=>typeof e=="number"?e:Number(e),"toNumber"),PO=_.div(({theme:e,col:t,row:r=1})=>t?{display:"inline-block",verticalAlign:"inherit","& > *":{marginLeft:t*e.layoutMargin,verticalAlign:"inherit"},[`& > *:first-child${jd}`]:{marginLeft:0}}:{"& > *":{marginTop:r*e.layoutMargin},[`& > *:first-child${jd}`]:{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{}}}),Une=c(({col:e,row:t,outer:r,children:n,...a})=>{let o=$O(typeof r=="number"||!r?r:e||t);return y.createElement(PO,{col:e,row:t,outer:o,...a},n)},"Spaced"),NO=_.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),jO=_.div(),HO=_.div(({theme:e})=>({padding:30,textAlign:"center",color:e.color.defaultText,fontSize:e.typography.size.s2-1})),qne=c(({children:e,...t})=>{let[r,n]=l.Children.toArray(e);return y.createElement(HO,{...t},y.createElement(NO,null,r),n&&y.createElement(jO,null,n))},"Placeholder");hf();function sC(e,t){var r=l.useRef(null),n=l.useRef(null);n.current=t;var a=l.useRef(null);l.useEffect(function(){o()});var o=l.useCallback(function(){var i=a.current,s=n.current,u=i||(s?s instanceof Element?s:s.current:null);r.current&&r.current.element===u&&r.current.subscriber===e||(r.current&&r.current.cleanup&&r.current.cleanup(),r.current={element:u,subscriber:e,cleanup:u?e(u):void 0})},[e]);return l.useEffect(function(){return function(){r.current&&r.current.cleanup&&(r.current.cleanup(),r.current=null)}},[]),l.useCallback(function(i){a.current=i,o()},[o])}c(sC,"useResolvedElement");function hp(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}c(hp,"extractSize");function zh(e){e===void 0&&(e={});var t=e.onResize,r=l.useRef(void 0);r.current=t;var n=e.round||Math.round,a=l.useRef(),o=l.useState({width:void 0,height:void 0}),i=o[0],s=o[1],u=l.useRef(!1);l.useEffect(function(){return u.current=!1,function(){u.current=!0}},[]);var d=l.useRef({width:void 0,height:void 0}),f=sC(l.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(p){var m=p[0],g=e.box==="border-box"?"borderBoxSize":e.box==="device-pixel-content-box"?"devicePixelContentBoxSize":"contentBoxSize",v=hp(m,g,"inlineSize"),b=hp(m,g,"blockSize"),x=v?n(v):void 0,E=b?n(b):void 0;if(d.current.width!==x||d.current.height!==E){var C={width:x,height:E};d.current.width=x,d.current.height=E,r.current?r.current(C):u.current||s(C)}})}),a.current.instance.observe(h,{box:e.box}),function(){a.current&&a.current.instance.unobserve(h)}},[e.box,n]),e.ref);return l.useMemo(function(){return{ref:f,width:i.width,height:i.height}},[f,i.width,i.height])}c(zh,"useResizeObserver");var VO=_.div(({scale:e=1,elementHeight:t})=>({height:t||"auto",transformOrigin:"top left",transform:`scale(${1/e})`}));function uC({scale:e,children:t}){let r=l.useRef(null),[n,a]=l.useState(0),o=l.useCallback(({height:i})=>{i&&a(i/e)},[e]);return l.useEffect(()=>{r.current&&a(r.current.getBoundingClientRect().height)},[e]),zh({ref:r,onResize:o}),y.createElement(VO,{scale:e,elementHeight:n},y.createElement("div",{ref:r,className:"innerZoomElementWrapper"},t))}c(uC,"ZoomElement");var cC=class extends l.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{iFrameRef:t}=this.props;this.iframe=t.current}shouldComponentUpdate(t){let{scale:r,active:n}=this.props;return r!==t.scale&&this.setIframeInnerZoom(t.scale),n!==t.active&&this.iframe.setAttribute("data-is-storybook",t.active?"true":"false"),t.children.props.src!==this.props.children.props.src}setIframeInnerZoom(t){try{Object.assign(this.iframe.contentDocument.body.style,{width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"})}catch{this.setIframeZoom(t)}}setIframeZoom(t){Object.assign(this.iframe.style,{width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"})}render(){let{children:t}=this.props;return y.createElement(y.Fragment,null,t)}};c(cC,"ZoomIFrame");var UO=cC,qO={Element:uC,IFrame:UO};rf();var{document:WO}=Js,GO=_.strong(({theme:e})=>({color:e.color.orange})),KO=_.strong(({theme:e})=>({color:e.color.ancillary,textDecoration:"underline"})),my=_.em(({theme:e})=>({color:e.textMutedColor})),YO=/(Error): (.*)\n/,ZO=/at (?:(.*) )?\(?(.+)\)?/,JO=/([^@]+)?(?:\/<)?@(.+)?/,XO=/([^@]+)?@(.+)?/,QO=c(({error:e})=>{if(!e)return y.createElement(l.Fragment,null,"This error has no stack or message");if(!e.stack)return y.createElement(l.Fragment,null,e.message||"This error has no stack or message");let t=e.stack.toString();t&&e.message&&!t.includes(e.message)&&(t=`Error: ${e.message} + +${t}`);let r=t.match(YO);if(!r)return y.createElement(l.Fragment,null,t);let[,n,a]=r,o=t.split(/\n/).slice(1),[,...i]=o.map(s=>{let u=s.match(ZO)||s.match(JO)||s.match(XO);return u?{name:(u[1]||"").replace("/<",""),location:u[2].replace(WO.location.origin,"")}:null}).filter(Boolean);return y.createElement(l.Fragment,null,y.createElement("span",null,n),": ",y.createElement(GO,null,a),y.createElement("br",null),i.map((s,u)=>s!=null&&s.name?y.createElement(l.Fragment,{key:u}," ","at ",y.createElement(KO,null,s.name)," (",y.createElement(my,null,s.location),")",y.createElement("br",null)):y.createElement(l.Fragment,{key:u}," ","at ",y.createElement(my,null,s==null?void 0:s.location),y.createElement("br",null))))},"ErrorFormatter"),eL=_.label(({theme:e})=>({display:"flex",borderBottom:`1px solid ${e.appBorderColor}`,margin:"0 15px",padding:"8px 0","&:last-child":{marginBottom:"3rem"}})),tL=_.span(({theme:e})=>({minWidth:100,fontWeight:e.typography.weight.bold,marginRight:15,display:"flex",justifyContent:"flex-start",alignItems:"center",lineHeight:"16px"})),rL=c(({label:e,children:t,...r})=>y.createElement(eL,{...r},e?y.createElement(tL,null,y.createElement("span",null,e)):null,t),"Field");xt();nf();var nL=l.useLayoutEffect,aL=nL,oL=c(function(e){var t=l.useRef(e);return aL(function(){t.current=e}),t},"useLatest"),gy=c(function(e,t){if(typeof e=="function"){e(t);return}e.current=t},"updateRef"),iL=c(function(e,t){var r=l.useRef();return l.useCallback(function(n){e.current=n,r.current&&gy(r.current,null),r.current=t,t&&gy(t,n)},[t])},"useComposedRef"),lL=iL,vy={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},sL=c(function(e){Object.keys(vy).forEach(function(t){e.style.setProperty(t,vy[t],"important")})},"forceHiddenStyles"),yy=sL,ze=null,by=c(function(e,t){var r=e.scrollHeight;return t.sizingStyle.boxSizing==="border-box"?r+t.borderSize:r-t.paddingSize},"getHeight");function dC(e,t,r,n){r===void 0&&(r=1),n===void 0&&(n=1/0),ze||(ze=document.createElement("textarea"),ze.setAttribute("tabindex","-1"),ze.setAttribute("aria-hidden","true"),yy(ze)),ze.parentNode===null&&document.body.appendChild(ze);var a=e.paddingSize,o=e.borderSize,i=e.sizingStyle,s=i.boxSizing;Object.keys(i).forEach(function(p){var m=p;ze.style[m]=i[m]}),yy(ze),ze.value=t;var u=by(ze,e);ze.value=t,u=by(ze,e),ze.value="x";var d=ze.scrollHeight-a,f=d*r;s==="border-box"&&(f=f+a+o),u=Math.max(f,u);var h=d*n;return s==="border-box"&&(h=h+a+o),u=Math.min(h,u),[u,d]}c(dC,"calculateNodeHeight");var wy=c(function(){},"noop"),uL=c(function(e,t){return e.reduce(function(r,n){return r[n]=t[n],r},{})},"pick"),cL=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak"],dL=!!document.documentElement.currentStyle,pL=c(function(e){var t=window.getComputedStyle(e);if(t===null)return null;var r=uL(cL,t),n=r.boxSizing;if(n==="")return null;dL&&n==="border-box"&&(r.width=parseFloat(r.width)+parseFloat(r.borderRightWidth)+parseFloat(r.borderLeftWidth)+parseFloat(r.paddingRight)+parseFloat(r.paddingLeft)+"px");var a=parseFloat(r.paddingBottom)+parseFloat(r.paddingTop),o=parseFloat(r.borderBottomWidth)+parseFloat(r.borderTopWidth);return{sizingStyle:r,paddingSize:a,borderSize:o}},"getSizingData"),fL=pL;function Oh(e,t,r){var n=oL(r);l.useLayoutEffect(function(){var a=c(function(o){return n.current(o)},"handler");if(e)return e.addEventListener(t,a),function(){return e.removeEventListener(t,a)}},[])}c(Oh,"useListener");var hL=c(function(e){Oh(window,"resize",e)},"useWindowResizeListener"),mL=c(function(e){Oh(document.fonts,"loadingdone",e)},"useFontsLoadedListener"),gL=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],vL=c(function(e,t){var r=e.cacheMeasurements,n=e.maxRows,a=e.minRows,o=e.onChange,i=o===void 0?wy:o,s=e.onHeightChange,u=s===void 0?wy:s,d=Qs(e,gL),f=d.value!==void 0,h=l.useRef(null),p=lL(h,t),m=l.useRef(0),g=l.useRef(),v=c(function(){var x=h.current,E=r&&g.current?g.current:fL(x);if(E){g.current=E;var C=dC(E,x.value||x.placeholder||"x",a,n),w=C[0],D=C[1];m.current!==w&&(m.current=w,x.style.setProperty("height",w+"px","important"),u(w,{rowHeight:D}))}},"resizeTextarea"),b=c(function(x){f||v(),i(x)},"handleChange");return l.useLayoutEffect(v),hL(v),mL(v),l.createElement("textarea",Q({},d,{onChange:b,ref:p}))},"TextareaAutosize"),yL=l.forwardRef(vL),bL={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},Lh=c(({theme:e})=>({...bL,transition:"box-shadow 200ms ease-out, opacity 200ms ease-out",color:e.input.color||"inherit",background:e.input.background,boxShadow:`${e.input.border} 0 0 0 1px inset`,borderRadius:e.input.borderRadius,fontSize:e.typography.size.s2-1,lineHeight:"20px",padding:"6px 10px",boxSizing:"border-box",height:32,'&[type="file"]':{height:"auto"},"&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"&:-webkit-autofill":{WebkitBoxShadow:`0 0 0 3em ${e.color.lightest} inset`},"&::placeholder":{color:e.textMutedColor,opacity:1}}),"styles"),Mh=c(({size:e})=>{switch(e){case"100%":return{width:"100%"};case"flex":return{flex:1};case"auto":default:return{display:"inline"}}},"sizes"),pC=c(({align:e})=>{switch(e){case"end":return{textAlign:"right"};case"center":return{textAlign:"center"};case"start":default:return{textAlign:"left"}}},"alignment"),$h=c(({valid:e,theme:t})=>{switch(e){case"valid":return{boxShadow:`${t.color.positive} 0 0 0 1px inset !important`};case"error":return{boxShadow:`${t.color.negative} 0 0 0 1px inset !important`};case"warn":return{boxShadow:`${t.color.warning} 0 0 0 1px inset`};case void 0:case null:default:return{}}},"validation"),wL=Object.assign(_(l.forwardRef(c(function({size:e,valid:t,align:r,...n},a){return y.createElement("input",{...n,ref:a})},"Input")))(Lh,Mh,pC,$h,{minHeight:32}),{displayName:"Input"}),EL=Object.assign(_(l.forwardRef(c(function({size:e,valid:t,align:r,...n},a){return y.createElement("select",{...n,ref:a})},"Select")))(Lh,Mh,$h,{height:32,userSelect:"none",paddingRight:20,appearance:"menulist"}),{displayName:"Select"}),xL=Object.assign(_(l.forwardRef(c(function({size:e,valid:t,align:r,...n},a){return y.createElement(yL,{...n,ref:a})},"Textarea")))(Lh,Mh,pC,$h,({height:e=400})=>({overflow:"visible",maxHeight:e})),{displayName:"Textarea"}),Ti=Object.assign(_.form({boxSizing:"border-box",width:"100%"}),{Field:rL,Input:wL,Select:EL,Textarea:xL,Button:In}),CL=l.lazy(()=>Promise.resolve().then(()=>(Dh(),Ch)).then(e=>({default:e.WithTooltip}))),Gne=c(e=>y.createElement(l.Suspense,{fallback:y.createElement("div",null)},y.createElement(CL,{...e})),"WithTooltip"),DL=l.lazy(()=>Promise.resolve().then(()=>(Dh(),Ch)).then(e=>({default:e.WithTooltipPure}))),SL=c(e=>y.createElement(l.Suspense,{fallback:y.createElement("div",null)},y.createElement(DL,{...e})),"WithTooltipPure"),AL=_.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),kL=_.span(),_L=_.div(({theme:e})=>({marginTop:8,textAlign:"center","> *":{margin:"0 8px",fontWeight:e.typography.weight.bold}})),FL=_.div(({theme:e})=>({color:e.color.defaultText,lineHeight:"18px"})),IL=_.div({padding:15,width:280,boxSizing:"border-box"}),Kne=c(({title:e,desc:t,links:r})=>y.createElement(IL,null,y.createElement(FL,null,e&&y.createElement(AL,null,e),t&&y.createElement(kL,null,t)),r&&y.createElement(_L,null,r.map(({title:n,...a})=>y.createElement(da,{...a,key:n},n)))),"TooltipMessage"),TL=_.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})),Yne=c(({note:e,...t})=>y.createElement(TL,{...t},e),"TooltipNote"),RL=Ae(Xs(),1),BL=_(({active:e,loading:t,disabled:r,...n})=>y.createElement("span",{...n}))(({theme:e})=>({color:e.color.defaultText,fontWeight:e.typography.weight.regular}),({active:e,theme:t})=>e?{color:t.color.secondary,fontWeight:t.typography.weight.bold}:{},({loading:e,theme:t})=>e?{display:"inline-block",flex:"none",...t.animation.inlineGlow}:{},({disabled:e,theme:t})=>e?{color:Qe(.7,t.color.defaultText)}:{}),zL=_.span({display:"flex","& svg":{height:12,width:12,margin:"3px 0",verticalAlign:"top"},"& path":{fill:"inherit"}}),OL=_.span({flex:1,textAlign:"left",display:"flex",flexDirection:"column"},({isIndented:e})=>e?{marginLeft:24}:{}),LL=_.span(({theme:e})=>({fontSize:"11px",lineHeight:"14px"}),({active:e,theme:t})=>e?{color:t.color.secondary}:{},({theme:e,disabled:t})=>t?{color:e.textMutedColor}:{}),ML=_.span(({active:e,theme:t})=>e?{color:t.color.secondary}:{},()=>({display:"flex",maxWidth:14})),$L=_.div(({theme:e})=>({width:"100%",border:"none",background:"none",fontSize:e.typography.size.s1,transition:"all 150ms ease-out",color:e.color.dark,textDecoration:"none",justifyContent:"space-between",lineHeight:"18px",padding:"7px 10px",display:"flex",alignItems:"center","& > * + *":{paddingLeft:10}}),({theme:e,href:t,onClick:r})=>(t||r)&&{cursor:"pointer","&:hover":{background:e.background.hoverable},"&:hover svg":{opacity:1}},({disabled:e})=>e&&{cursor:"not-allowed"}),PL=(0,RL.default)(100)((e,t,r)=>({...e&&{as:"button",onClick:e},...t&&{as:"a",href:t,...r&&{as:r,to:t}}})),NL=c(({loading:e=!1,title:t=y.createElement("span",null,"Loading state"),center:r=null,right:n=null,active:a=!1,disabled:o=!1,isIndented:i,href:s=void 0,onClick:u=void 0,icon:d,LinkWrapper:f=void 0,...h})=>{let p={active:a,disabled:o},m=PL(u,s,f);return y.createElement($L,{...h,...p,...m},y.createElement(y.Fragment,null,d&&y.createElement(ML,{...p},d),t||r?y.createElement(OL,{isIndented:!!(!d&&i)},t&&y.createElement(BL,{...p,loading:e},t),r&&y.createElement(LL,{...p},r)):null,n&&y.createElement(zL,{...p},n)))},"ListItem"),jL=NL,HL=_.div({minWidth:180,overflow:"hidden",overflowY:"auto",maxHeight:15.5*32},({theme:e})=>({borderRadius:e.appBorderRadius})),VL=c(({id:e,onClick:t,...r})=>{let{active:n,disabled:a,title:o,href:i}=r,s=l.useCallback(u=>t==null?void 0:t(u,{id:e,active:n,disabled:a,title:o,href:i}),[t,e,n,a,o,i]);return y.createElement(jL,{id:`list-item-${e}`,...r,...t&&{onClick:s}})},"Item"),UL=c(({links:e,LinkWrapper:t,...r})=>{let n=e.some(a=>a.icon);return y.createElement(HL,{...r},e.map(a=>y.createElement(VL,{key:a.id,isIndented:n,LinkWrapper:t,...a})))},"TooltipLinkList");hf();var mp=_.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}}:{});mp.displayName="Side";var qL=c(({children:e,className:t,scrollable:r})=>r?y.createElement(ts,{vertical:!1,className:t},e):y.createElement("div",{className:t},e),"UnstyledBar"),fC=_(qL)(({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}:{});fC.displayName="Bar";var WL=_.div(({bgColor:e})=>({display:"flex",justifyContent:"space-between",position:"relative",flexWrap:"nowrap",flexShrink:0,height:40,backgroundColor:e||""})),Ph=c(({children:e,backgroundColor:t,className:r,...n})=>{let[a,o]=l.Children.toArray(e);return y.createElement(fC,{className:`sb-bar ${r}`,...n},y.createElement(WL,{bgColor:t},y.createElement(mp,{scrollable:n.scrollable,left:!0},a),o?y.createElement(mp,{right:!0},o):null))},"FlexBar");Ph.displayName="FlexBar";var GL=c(e=>typeof e.props.href=="string","isLink"),KL=c(e=>typeof e.props.href!="string","isButton");function hC({children:e,...t},r){let n={props:t,ref:r};if(GL(n))return y.createElement("a",{ref:n.ref,...n.props},e);if(KL(n))return y.createElement("button",{ref:n.ref,type:"button",...n.props},e);throw new Error("invalid props")}c(hC,"ForwardRefFunction");var mC=l.forwardRef(hC);mC.displayName="ButtonOrLink";var Lu=_(mC,{shouldForwardProp:Np})({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}});Lu.displayName="TabButton";var YL=_.div(({theme:e})=>({width:14,height:14,backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),ZL=_.div(()=>({marginTop:6,padding:7,height:28})),Zne=c(()=>y.createElement(ZL,null,y.createElement(YL,null)),"IconButtonSkeleton"),JL=_.div(({theme:e})=>({height:"100%",display:"flex",padding:30,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:e.background.content})),XL=_.div({display:"flex",flexDirection:"column",gap:4,maxWidth:415}),QL=_.div(({theme:e})=>({fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textColor})),eM=_.div(({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textMutedColor})),gC=c(({title:e,description:t,footer:r})=>y.createElement(JL,null,y.createElement(XL,null,y.createElement(QL,null,e),t&&y.createElement(eM,null,t)),r),"EmptyTabContent"),vC=_.div(({active:e})=>e?{display:"block"}:{display:"none"}),tM=c(e=>l.Children.toArray(e).map(({props:{title:t,id:r,color:n,children:a}})=>{let o=Array.isArray(a)?a[0]:a;return{title:t,id:r,...n?{color:n}:{},render:typeof o=="function"?o:({active:i})=>y.createElement(vC,{active:i,role:"tabpanel"},o)}}),"childrenToList");Dh();var rM=_.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"})),nM=_(Lu)(({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 yC(e){let t=l.useRef(),r=l.useRef(),n=l.useRef(new Map),{width:a=1}=zh({ref:t}),[o,i]=l.useState(e),[s,u]=l.useState([]),d=l.useRef(e),f=l.useCallback(({menuName:p,actions:m})=>{let g=s.some(({active:x})=>x),[v,b]=l.useState(!1);return y.createElement(y.Fragment,null,y.createElement(Fs,{interactive:!0,visible:v,onVisibleChange:b,placement:"bottom",delayHide:100,tooltip:y.createElement(UL,{links:s.map(({title:x,id:E,color:C,active:w})=>({id:E,title:x,color:C,active:w,onClick:c(D=>{D.preventDefault(),m.onSelect(E)},"onClick")}))})},y.createElement(nM,{ref:r,active:g,preActive:v,style:{visibility:s.length?"visible":"hidden"},"aria-hidden":!s.length,className:"tabbutton",type:"button",role:"tab"},p,y.createElement(rM,{className:"addon-collapsible-icon",isActive:g||v}))),s.map(({title:x,id:E,color:C},w)=>{let D=`index-${w}`;return y.createElement(Lu,{id:`tabbutton-${N3(E)??D}`,style:{visibility:"hidden"},"aria-hidden":!0,tabIndex:-1,ref:S=>{n.current.set(E,S)},className:"tabbutton",type:"button",key:E,textColor:C,role:"tab"},x)}))},[s]),h=l.useCallback(()=>{if(!t.current||!r.current)return;let{x:p,width:m}=t.current.getBoundingClientRect(),{width:g}=r.current.getBoundingClientRect(),v=s.length?p+m-g:p+m,b=[],x=0,E=e.filter(C=>{let{id:w}=C,D=n.current.get(w),{width:S=0}=(D==null?void 0:D.getBoundingClientRect())||{},A=p+x+S>v;return(!A||!D)&&b.push(C),x+=S,A});(b.length!==o.length||d.current!==e)&&(i(b),u(E),d.current=e)},[s.length,e,o]);return l.useLayoutEffect(h,[h,a]),{tabRefs:n,addonsRef:r,tabBarRef:t,visibleList:o,invisibleList:s,AddonTab:f}}c(yC,"useList");var aM="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */",oM=_.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"}),bC=_.div({overflow:"hidden","&:first-of-type":{marginLeft:-3},whiteSpace:"nowrap",flexGrow:1});bC.displayName="TabBar";var iM=_.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${aM}`]:{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"}}:{}),Jne=c(({active:e,render:t,children:r})=>y.createElement(vC,{active:e},t?t():r),"TabWrapper"),wC=l.memo(({children:e,selected:t=null,actions:r,absolute:n=!1,bordered:a=!1,tools:o=null,backgroundColor:i,id:s=null,menuName:u="Tabs",emptyState:d,showToolsWhenEmpty:f})=>{let h=l.useMemo(()=>tM(e).map((x,E)=>({...x,active:t?x.id===t:E===0})),[e,t]),{visibleList:p,tabBarRef:m,tabRefs:g,AddonTab:v}=yC(h),b=d??y.createElement(gC,{title:"Nothing found"});return!f&&h.length===0?b:y.createElement(oM,{absolute:n,bordered:a,id:s},y.createElement(Ph,{scrollable:!1,border:!0,backgroundColor:i},y.createElement(bC,{style:{whiteSpace:"normal"},ref:m,role:"tablist"},p.map(({title:x,id:E,active:C,color:w},D)=>{let S=`index-${D}`;return y.createElement(Lu,{id:`tabbutton-${N3(E)??S}`,ref:A=>{g.current.set(E,A)},className:`tabbutton ${C?"tabbutton-active":""}`,type:"button",key:E,active:C,textColor:w,onClick:A=>{A.preventDefault(),r.onSelect(E)},role:"tab"},typeof x=="function"?y.createElement("title",null):x)}),y.createElement(v,{menuName:u,actions:r})),o),y.createElement(iM,{id:"panel-tab-content",bordered:a,absolute:n},h.length?h.map(({id:x,active:E,render:C})=>y.createElement(C,{key:x,active:E},null)):b))});wC.displayName="Tabs";var gp=class extends l.Component{constructor(t){super(t),this.handlers={onSelect:c(r=>this.setState({selected:r}),"onSelect")},this.state={selected:t.initial}}render(){let{bordered:t=!1,absolute:r=!1,children:n,backgroundColor:a,menuName:o}=this.props,{selected:i}=this.state;return y.createElement(wC,{bordered:t,absolute:r,selected:i,backgroundColor:a,menuName:o,actions:this.handlers},n)}};c(gp,"TabsState"),gp.defaultProps={children:[],initial:null,absolute:!1,bordered:!1,backgroundColor:"",menuName:void 0};var lM=gp,EC=_.span(({theme:e})=>({width:1,height:20,background:e.appBorderColor,marginLeft:2,marginRight:2}),({force:e})=>e?{}:{"& + &":{display:"none"}});EC.displayName="Separator";var Qne=c(e=>e.reduce((t,r,n)=>r?y.createElement(l.Fragment,{key:r.id||r.key||`f-${n}`},t,n>0?y.createElement(EC,{key:`s-${n}`}):null,r.render()||r):t,null),"interleaveSeparators"),sM=c(e=>{let t=l.useRef();return l.useEffect(()=>{t.current=e},[e]),t.current},"usePrevious"),uM=c((e,t)=>{let r=sM(t);return e?t:r},"useUpdate"),eae=c(({active:e,children:t})=>y.createElement("div",{hidden:!e},uM(e,t)),"AddonPanel");const{deprecate:cM,logger:dM}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var pM=Mx,fM=_.svg` + display: inline-block; + shape-rendering: inherit; + vertical-align: middle; + fill: currentColor; + path { + fill: currentColor; + } +`,tae=c(({icon:e,useSymbol:t,__suppressDeprecationWarning:r=!1,...n})=>{r||cM(`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=vp[e]||null;if(!a)return dM.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 o=pM[a];return y.createElement(o,{...n})},"Icons"),rae=l.memo(c(function({icons:e=Object.keys(vp)}){return y.createElement(fM,{viewBox:"0 0 14 14",style:{position:"absolute",width:0,height:0},"data-chromatic":"ignore"},e.map(t=>y.createElement("symbol",{id:`icon--${t}`,key:t},vp[t])))},"Symbols")),vp={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"},nae=c(({alt:e,...t})=>y.createElement("svg",{width:"200px",height:"40px",viewBox:"0 0 200 40",...t,role:"img"},e?y.createElement("title",null,e):null,y.createElement("defs",null,y.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"})),y.createElement("g",{fill:"none",fillRule:"evenodd"},y.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"}),y.createElement("mask",{id:"b",fill:"#fff"},y.createElement("use",{xlinkHref:"#a"})),y.createElement("use",{fill:"#FF4785",fillRule:"nonzero",xlinkHref:"#a"}),y.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)"}))),"StorybookLogo"),aae=c(e=>y.createElement("svg",{viewBox:"0 0 64 64",...e},y.createElement("title",null,"Storybook icon"),y.createElement("g",{id:"Artboard",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},y.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"}),y.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"}),y.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"}))),"StorybookIcon"),hM=fr` + from { + transform: rotate(0deg); + } + to { + transform: rotate(360deg); + } +`,mM=_.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:`${hM} 0.7s linear infinite`,mixBlendMode:"difference"})),Ey=_.div({position:"absolute",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"}),gM=_.div(({theme:e})=>({position:"relative",width:"80%",marginBottom:"0.75rem",maxWidth:300,height:5,borderRadius:5,background:Qe(.8,e.color.secondary),overflow:"hidden",cursor:"progress"})),vM=_.div(({theme:e})=>({position:"absolute",top:0,left:0,height:"100%",background:e.color.secondary})),xy=_.div(({theme:e})=>({minHeight:"2em",fontSize:`${e.typography.size.s1}px`,color:e.barTextColor})),yM=_($x)(({theme:e})=>({width:20,height:20,marginBottom:"0.5rem",color:e.textMutedColor})),bM=fr` + from { content: "..." } + 33% { content: "." } + 66% { content: ".." } + to { content: "..." } +`,wM=_.span({"&::after":{content:"'...'",animation:`${bM} 1s linear infinite`,animationDelay:"1s",display:"inline-block",width:"1em",height:"auto"}}),EM=c(({progress:e,error:t,size:r,...n})=>{if(t)return y.createElement(Ey,{"aria-label":t.toString(),"aria-live":"polite",role:"status",...n},y.createElement(yM,null),y.createElement(xy,null,t.message));if(e){let{value:a,modules:o}=e,{message:i}=e;return o&&(i+=` ${o.complete} / ${o.total} modules`),y.createElement(Ey,{"aria-label":"Content is loading...","aria-live":"polite","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":a*100,"aria-valuetext":i,role:"progressbar",...n},y.createElement(gM,null,y.createElement(vM,{style:{width:`${a*100}%`}})),y.createElement(xy,null,i,a<1&&y.createElement(wM,{key:i})))}return y.createElement(mM,{"aria-label":"Content is loading...","aria-live":"polite",role:"status",size:r,...n})},"Loader");function xC(e){let t={},r=e.split("&");for(let n=0;n{let[n,a]=e.split("?"),o=a?{...xC(a),...r,id:t}:{...r,id:t};return`${n}?${Object.entries(o).map(i=>`${i[0]}=${i[1]}`).join("&")}`},"getStoryHref"),CM=_.pre` + line-height: 18px; + padding: 11px 1rem; + white-space: pre-wrap; + background: rgba(0, 0, 0, 0.05); + color: ${V.darkest}; + border-radius: 3px; + margin: 1rem 0; + width: 100%; + display: block; + overflow: hidden; + font-family: ${Pt.fonts.mono}; + font-size: ${Pt.size.s2-1}px; +`,oae=c(({code:e,...t})=>y.createElement(CM,{id:"clipboard-code",...t},e),"ClipboardCode"),DM=Lx,SM={};Object.keys(Lx).forEach(e=>{SM[e]=l.forwardRef((t,r)=>l.createElement(e,{...t,ref:r}))});function Ia(){return Ia=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 Nl(e,t,r){return FM()?Nl=Reflect.construct.bind():Nl=function(a,o,i){var s=[null];s.push.apply(s,o);var u=Function.bind.apply(a,s),d=new u;return i&&oi(d,i.prototype),d},Nl.apply(null,arguments)}function bp(e){var t=typeof Map=="function"?new Map:void 0;return bp=function(n){if(n===null||!_M(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 Nl(n,arguments,yp(this).constructor)}return a.prototype=Object.create(n.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),oi(a,n)},bp(e)}var jt=function(e){kM(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,AM(n)}return t}(bp(Error));function Ed(e){return Math.round(e*255)}function IM(e,t,r){return Ed(e)+","+Ed(t)+","+Ed(r)}function ii(e,t,r,n){if(n===void 0&&(n=IM),t===0)return n(r,r,r);var a=(e%360+360)%360/60,o=(1-Math.abs(2*r-1))*t,i=o*(1-Math.abs(a%2-1)),s=0,u=0,d=0;a>=0&&a<1?(s=o,u=i):a>=1&&a<2?(s=i,u=o):a>=2&&a<3?(u=o,d=i):a>=3&&a<4?(u=i,d=o):a>=4&&a<5?(s=i,d=o):a>=5&&a<6&&(s=o,d=i);var f=r-o/2,h=s+f,p=u+f,m=d+f;return n(h,p,m)}var Cy={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 TM(e){if(typeof e!="string")return e;var t=e.toLowerCase();return Cy[t]?"#"+Cy[t]:e}var RM=/^#[a-fA-F0-9]{6}$/,BM=/^#[a-fA-F0-9]{8}$/,zM=/^#[a-fA-F0-9]{3}$/,OM=/^#[a-fA-F0-9]{4}$/,xd=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,LM=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,MM=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,$M=/^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 Mu(e){if(typeof e!="string")throw new jt(3);var t=TM(e);if(t.match(RM))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(BM)){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(zM))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(OM)){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=xd.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=LM.exec(t.substring(0,50));if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10),alpha:parseFloat(""+o[4])>1?parseFloat(""+o[4])/100:parseFloat(""+o[4])};var i=MM.exec(t);if(i){var s=parseInt(""+i[1],10),u=parseInt(""+i[2],10)/100,d=parseInt(""+i[3],10)/100,f="rgb("+ii(s,u,d)+")",h=xd.exec(f);if(!h)throw new jt(4,t,f);return{red:parseInt(""+h[1],10),green:parseInt(""+h[2],10),blue:parseInt(""+h[3],10)}}var p=$M.exec(t.substring(0,50));if(p){var m=parseInt(""+p[1],10),g=parseInt(""+p[2],10)/100,v=parseInt(""+p[3],10)/100,b="rgb("+ii(m,g,v)+")",x=xd.exec(b);if(!x)throw new jt(4,t,b);return{red:parseInt(""+x[1],10),green:parseInt(""+x[2],10),blue:parseInt(""+x[3],10),alpha:parseFloat(""+p[4])>1?parseFloat(""+p[4])/100:parseFloat(""+p[4])}}throw new jt(5)}function PM(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),o=Math.min(t,r,n),i=(a+o)/2;if(a===o)return e.alpha!==void 0?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var s,u=a-o,d=i>.5?u/(2-a-o):u/(a+o);switch(a){case t:s=(r-n)/u+(r=1?Bs(e,t,r):"rgba("+ii(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Bs(e.hue,e.saturation,e.lightness):"rgba("+ii(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new jt(2)}function Ep(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return wp("#"+en(e)+en(t)+en(r));if(typeof e=="object"&&t===void 0&&r===void 0)return wp("#"+en(e.red)+en(e.green)+en(e.blue));throw new jt(6)}function sr(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=Mu(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?Ep(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?Ep(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new jt(7)}var UM=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},qM=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&typeof t.alpha=="number"},WM=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},GM=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&typeof t.alpha=="number"};function DC(e){if(typeof e!="object")throw new jt(8);if(qM(e))return sr(e);if(UM(e))return Ep(e);if(GM(e))return VM(e);if(WM(e))return HM(e);throw new jt(8)}function SC(e,t,r){return function(){var a=r.concat(Array.prototype.slice.call(arguments));return a.length>=t?e.apply(this,a):SC(e,t,a)}}function $u(e){return SC(e,e.length,[])}function Pu(e,t,r){return Math.max(e,Math.min(t,r))}function KM(e,t){if(t==="transparent")return t;var r=CC(t);return DC(Ia({},r,{lightness:Pu(0,1,r.lightness-parseFloat(e))}))}var YM=$u(KM),Ot=YM;function ZM(e,t){if(t==="transparent")return t;var r=CC(t);return DC(Ia({},r,{lightness:Pu(0,1,r.lightness+parseFloat(e))}))}var JM=$u(ZM),tn=JM;function XM(e,t){if(t==="transparent")return t;var r=Mu(t),n=typeof r.alpha=="number"?r.alpha:1,a=Ia({},r,{alpha:Pu(0,1,(n*100+parseFloat(e)*100)/100)});return sr(a)}var QM=$u(XM),pl=QM;function e$(e,t){if(t==="transparent")return t;var r=Mu(t),n=typeof r.alpha=="number"?r.alpha:1,a=Ia({},r,{alpha:Pu(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return sr(a)}var t$=$u(e$),se=t$,r$=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M6 3.5a.5.5 0 01.5.5v1.5H8a.5.5 0 010 1H6.5V8a.5.5 0 01-1 0V6.5H4a.5.5 0 010-1h1.5V4a.5.5 0 01.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z",fill:e}))),n$=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4 5.5a.5.5 0 000 1h4a.5.5 0 000-1H4z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 11.5c1.35 0 2.587-.487 3.544-1.294a.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 106 11.5zm0-1a4.5 4.5 0 100-9 4.5 4.5 0 000 9z",fill:e}))),a$=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"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}))),o$=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 9.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7l-.21.293C13.669 7.465 10.739 11.5 7 11.5S.332 7.465.21 7.293L0 7l.21-.293C.331 6.536 3.261 2.5 7 2.5s6.668 4.036 6.79 4.207L14 7zM2.896 5.302A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5c1.518 0 2.958-.83 4.104-1.802A12.72 12.72 0 0012.755 7c-.297-.37-.875-1.04-1.65-1.698C9.957 4.33 8.517 3.5 7 3.5c-1.519 0-2.958.83-4.104 1.802z",fill:e}))),i$=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11zM11.104 8.698c-.177.15-.362.298-.553.439l.714.714a13.25 13.25 0 002.526-2.558L14 7l-.21-.293C13.669 6.536 10.739 2.5 7 2.5c-.89 0-1.735.229-2.506.58l.764.763A4.859 4.859 0 017 3.5c1.518 0 2.958.83 4.104 1.802A12.724 12.724 0 0112.755 7a12.72 12.72 0 01-1.65 1.698zM.21 6.707c.069-.096 1.03-1.42 2.525-2.558l.714.714c-.191.141-.376.288-.553.439A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5a4.86 4.86 0 001.742-.344l.764.764c-.772.351-1.616.58-2.506.58C3.262 11.5.332 7.465.21 7.293L0 7l.21-.293z",fill:e}),l.createElement("path",{d:"M4.5 7c0-.322.061-.63.172-.914l3.242 3.242A2.5 2.5 0 014.5 7zM9.328 7.914L6.086 4.672a2.5 2.5 0 013.241 3.241z",fill:e}))),l$=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.5 10a.5.5 0 100-1 .5.5 0 000 1z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 4a2 2 0 012-2h6a2 2 0 012 2v.5l3.189-2.391A.5.5 0 0114 2.5v9a.5.5 0 01-.804.397L10 9.5v.5a2 2 0 01-2 2H2a2 2 0 01-2-2V4zm9 0v1.5a.5.5 0 00.8.4L13 3.5v7L9.8 8.1a.5.5 0 00-.8.4V10a1 1 0 01-1 1H2a1 1 0 01-1-1V4a1 1 0 011-1h6a1 1 0 011 1z",fill:e}))),xp=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4 5.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zM4.5 7.5a.5.5 0 000 1h5a.5.5 0 000-1h-5zM4 10.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 0a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h11a.5.5 0 00.5-.5V3.207a.5.5 0 00-.146-.353L10.146.146A.5.5 0 009.793 0H1.5zM2 1h7.5v2a.5.5 0 00.5.5h2V13H2V1z",fill:e}))),iae=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M8.982 1.632a.5.5 0 00-.964-.263l-3 11a.5.5 0 10.964.263l3-11zM3.32 3.616a.5.5 0 01.064.704L1.151 7l2.233 2.68a.5.5 0 11-.768.64l-2.5-3a.5.5 0 010-.64l2.5-3a.5.5 0 01.704-.064zM10.68 3.616a.5.5 0 00-.064.704L12.849 7l-2.233 2.68a.5.5 0 00.768.64l2.5-3a.5.5 0 000-.64l-2.5-3a.5.5 0 00-.704-.064z",fill:e}))),s$=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 3a.5.5 0 01.5.5v3h3a.5.5 0 010 1h-3v3a.5.5 0 01-1 0v-3h-3a.5.5 0 010-1h3v-3A.5.5 0 017 3z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),u$=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),c$=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.841 2.159a2.25 2.25 0 00-3.182 0l-2.5 2.5a2.25 2.25 0 000 3.182.5.5 0 01-.707.707 3.25 3.25 0 010-4.596l2.5-2.5a3.25 3.25 0 014.596 4.596l-2.063 2.063a4.27 4.27 0 00-.094-1.32l1.45-1.45a2.25 2.25 0 000-3.182z",fill:e}),l.createElement("path",{d:"M3.61 7.21c-.1-.434-.132-.88-.095-1.321L1.452 7.952a3.25 3.25 0 104.596 4.596l2.5-2.5a3.25 3.25 0 000-4.596.5.5 0 00-.707.707 2.25 2.25 0 010 3.182l-2.5 2.5A2.25 2.25 0 112.159 8.66l1.45-1.45z",fill:e}))),d$=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.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}))),p$=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"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}))),f$=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.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}))),AC=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.854 4.896a.5.5 0 10-.708.708l3.5 3.5a.5.5 0 00.708 0l3.5-3.5a.5.5 0 00-.708-.708L7 8.043 3.854 4.896z",fill:e}))),h$=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{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})));function m$(e,t){for(var r=-1,n=e==null?0:e.length,a=Array(n);++r-1}var T$=I$,R$=Nu;function B$(e,t){var r=this.__data__,n=R$(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var z$=B$,O$=v$,L$=S$,M$=_$,$$=T$,P$=z$;function Ha(e){var t=-1,r=e==null?0:e.length;for(this.clear();++ts))return!1;var d=o.get(e),f=o.get(t);if(d&&f)return d==t&&f==e;var h=-1,p=!0,m=r&xj?new yj:void 0;for(o.set(e,t),o.set(t,e);++h-1&&e%1==0&&e-1&&e%1==0&&e<=DH}var Kh=SH,AH=Bi,kH=Kh,_H=Bn,FH="[object Arguments]",IH="[object Array]",TH="[object Boolean]",RH="[object Date]",BH="[object Error]",zH="[object Function]",OH="[object Map]",LH="[object Number]",MH="[object Object]",$H="[object RegExp]",PH="[object Set]",NH="[object String]",jH="[object WeakMap]",HH="[object ArrayBuffer]",VH="[object DataView]",UH="[object Float32Array]",qH="[object Float64Array]",WH="[object Int8Array]",GH="[object Int16Array]",KH="[object Int32Array]",YH="[object Uint8Array]",ZH="[object Uint8ClampedArray]",JH="[object Uint16Array]",XH="[object Uint32Array]",ie={};ie[UH]=ie[qH]=ie[WH]=ie[GH]=ie[KH]=ie[YH]=ie[ZH]=ie[JH]=ie[XH]=!0;ie[FH]=ie[IH]=ie[HH]=ie[TH]=ie[VH]=ie[RH]=ie[BH]=ie[zH]=ie[OH]=ie[LH]=ie[MH]=ie[$H]=ie[PH]=ie[NH]=ie[jH]=!1;function QH(e){return _H(e)&&kH(e.length)&&!!ie[AH(e)]}var eV=QH;function tV(e){return function(t){return e(t)}}var Yh=tV,Ls={exports:{}};Ls.exports;(function(e,t){var r=_C,n=t&&!t.nodeType&&t,a=n&&!0&&e&&!e.nodeType&&e,o=a&&a.exports===n,i=o&&r.process,s=function(){try{var u=a&&a.require&&a.require("util").types;return u||i&&i.binding&&i.binding("util")}catch{}}();e.exports=s})(Ls,Ls.exports);var Zh=Ls.exports,rV=eV,nV=Yh,Oy=Zh,Ly=Oy&&Oy.isTypedArray,aV=Ly?nV(Ly):rV,jC=aV,oV=sH,iV=NC,lV=gr,sV=Wh,uV=Gh,cV=jC,dV=Object.prototype,pV=dV.hasOwnProperty;function fV(e,t){var r=lV(e),n=!r&&iV(e),a=!r&&!n&&sV(e),o=!r&&!n&&!a&&cV(e),i=r||n||a||o,s=i?oV(e.length,String):[],u=s.length;for(var d in e)(t||pV.call(e,d))&&!(i&&(d=="length"||a&&(d=="offset"||d=="parent")||o&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||uV(d,u)))&&s.push(d);return s}var HC=fV,hV=Object.prototype;function mV(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||hV;return e===r}var Jh=mV;function gV(e,t){return function(r){return e(t(r))}}var VC=gV,vV=VC,yV=vV(Object.keys,Object),bV=yV,wV=Jh,EV=bV,xV=Object.prototype,CV=xV.hasOwnProperty;function DV(e){if(!wV(e))return EV(e);var t=[];for(var r in Object(e))CV.call(e,r)&&r!="constructor"&&t.push(r);return t}var SV=DV,AV=IC,kV=Kh;function _V(e){return e!=null&&kV(e.length)&&!AV(e)}var UC=_V,FV=HC,IV=SV,TV=UC;function RV(e){return TV(e)?FV(e):IV(e)}var Uu=RV,BV=MC,zV=qh,OV=Uu;function LV(e){return BV(e,OV,zV)}var qC=LV,My=qC,MV=1,$V=Object.prototype,PV=$V.hasOwnProperty;function NV(e,t,r,n,a,o){var i=r&MV,s=My(e),u=s.length,d=My(t),f=d.length;if(u!=f&&!i)return!1;for(var h=u;h--;){var p=s[h];if(!(i?p in t:PV.call(t,p)))return!1}var m=o.get(e),g=o.get(t);if(m&&g)return m==t&&g==e;var v=!0;o.set(e,t),o.set(t,e);for(var b=i;++h(e[t.toLowerCase()]=t,e),{for:"htmlFor"}),n3={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},hG=["style","script"],mG=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,gG=/mailto:/i,vG=/\n{2,}$/,aD=/^(\s*>[\s\S]*?)(?=\n{2,})/,yG=/^ *> ?/gm,bG=/^ {2,}\n/,wG=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,oD=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,iD=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,EG=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,xG=/^(?:\n *)*\n/,CG=/\r\n?/g,DG=/^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/,SG=/^\[\^([^\]]+)]/,AG=/\f/g,kG=/^---[ \t]*\n(.|\n)*\n---[ \t]*\n/,_G=/^\s*?\[(x|\s)\]/,lD=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,sD=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,uD=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,_p=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?((?:[^>]*[^/])?)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i,FG=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,cD=/^)/,IG=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,Fp=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,TG=/^\{.*\}$/,RG=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,BG=/^<([^ >]+@[^ >]+)>/,zG=/^<([^ >]+:\/[^ >]+)>/,OG=/-([a-z])?/gi,dD=/^(.*\|.*)\n(?: *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*))?\n?/,LG=/^\[([^\]]*)\]:\s+]+)>?\s*("([^"]*)")?/,MG=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,$G=/^\[([^\]]*)\] ?\[([^\]]*)\]/,PG=/(\[|\])/g,NG=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,jG=/\t/g,HG=/(^ *\||\| *$)/g,VG=/^ *:-+: *$/,UG=/^ *:-+ *$/,qG=/^ *-+: *$/,Gu="((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~~.*?~~|==.*?==|.|\\n)*?)",WG=new RegExp(`^([*_])\\1${Gu}\\1\\1(?!\\1)`),GG=new RegExp(`^([*_])${Gu}\\1(?!\\1|\\w)`),KG=new RegExp(`^==${Gu}==`),YG=new RegExp(`^~~${Gu}~~`),ZG=/^\\([^0-9A-Za-z\s])/,JG=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,XG=/^\n+/,QG=/^([ \t]*)/,eK=/\\([^\\])/g,a3=/ *\n+$/,tK=/(?:^|\n)( *)$/,am="(?:\\d+\\.)",om="(?:[*+-])";function pD(e){return"( *)("+(e===1?am:om)+") +"}const fD=pD(1),hD=pD(2);function mD(e){return new RegExp("^"+(e===1?fD:hD))}const rK=mD(1),nK=mD(2);function gD(e){return new RegExp("^"+(e===1?fD:hD)+"[^\\n]*(?:\\n(?!\\1"+(e===1?am:om)+" )[^\\n]*)*(\\n|$)","gm")}const vD=gD(1),yD=gD(2);function bD(e){const t=e===1?am:om;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}const wD=bD(1),ED=bD(2);function o3(e,t){const r=t===1,n=r?wD:ED,a=r?vD:yD,o=r?rK:nK;return{match(i,s,u){const d=tK.exec(u);return d&&(s.list||!s.inline&&!s.simple)?n.exec(i=d[1]+i):null},order:1,parse(i,s,u){const d=r?+i[2]:void 0,f=i[0].replace(vG,` +`).match(a);let h=!1;return{items:f.map(function(p,m){const g=o.exec(p)[0].length,v=new RegExp("^ {1,"+g+"}","gm"),b=p.replace(v,"").replace(o,""),x=m===f.length-1,E=b.indexOf(` + +`)!==-1||x&&h;h=E;const C=u.inline,w=u.list;let D;u.list=!0,E?(u.inline=!1,D=b.replace(a3,` + +`)):(u.inline=!0,D=b.replace(a3,""));const S=s(D,u);return u.inline=C,u.list=w,S}),ordered:r,start:d}},render:(i,s,u)=>e(i.ordered?"ol":"ul",{key:u.key,start:i.type===U.orderedList?i.start:void 0},i.items.map(function(d,f){return e("li",{key:f},s(d,u))}))}}const aK=new RegExp(`^\\[((?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*)\\]\\(\\s*?(?:\\s+['"]([\\s\\S]*?)['"])?\\s*\\)`),oK=/^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,xD=[aD,oD,iD,lD,uD,sD,cD,dD,vD,wD,yD,ED],iK=[...xD,/^[^\n]+(?: \n|\n{2,})/,_p,Fp];function hl(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 lK(e){return qG.test(e)?"right":VG.test(e)?"center":UG.test(e)?"left":null}function i3(e,t,r,n){const a=r.inTable;r.inTable=!0;let o=e.trim().split(/( *(?:`[^`]*`|<.*?>.*?<\/.*?>(?!<\/.*?>)|\\\||\|) *)/).reduce((s,u)=>(u.trim()==="|"?s.push(n?{type:U.tableSeparator}:{type:U.text,text:u}):u!==""&&s.push.apply(s,t(u,r)),s),[]);r.inTable=a;let i=[[]];return o.forEach(function(s,u){s.type===U.tableSeparator?u!==0&&u!==o.length-1&&i.push([]):(s.type!==U.text||o[u+1]!=null&&o[u+1].type!==U.tableSeparator||(s.text=s.text.trimEnd()),i[i.length-1].push(s))}),i}function sK(e,t,r){r.inline=!0;const n=e[2]?e[2].replace(HG,"").split("|").map(lK):[],a=e[3]?function(i,s,u){return i.trim().split(` +`).map(function(d){return i3(d,s,u,!0)})}(e[3],t,r):[],o=i3(e[1],t,r,!!a.length);return r.inline=!1,a.length?{align:n,cells:a,header:o,type:U.table}:{children:o,type:U.paragraph}}function l3(e,t){return e.align[t]==null?{}:{textAlign:e.align[t]}}function yr(e){return function(t,r){return r.inline?e.exec(t):null}}function br(e){return function(t,r){return r.inline||r.simple?e.exec(t):null}}function or(e){return function(t,r){return r.inline||r.simple?null:e.exec(t)}}function vo(e){return function(t){return e.exec(t)}}function uK(e,t,r){if(t.inline||t.simple||r&&!r.endsWith(` +`))return null;let n="";e.split(` +`).every(o=>!xD.some(i=>i.test(o))&&(n+=o+` +`,o.trim()));const a=n.trimEnd();return a==""?null:[n,a]}function cK(e){try{if(decodeURIComponent(e).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data(?!:image)):/i))return null}catch{return null}return e}function s3(e){return e.replace(eK,"$1")}function jl(e,t,r){const n=r.inline||!1,a=r.simple||!1;r.inline=!0,r.simple=!0;const o=e(t,r);return r.inline=n,r.simple=a,o}function dK(e,t,r){const n=r.inline||!1,a=r.simple||!1;r.inline=!1,r.simple=!0;const o=e(t,r);return r.inline=n,r.simple=a,o}function pK(e,t,r){const n=r.inline||!1;r.inline=!1;const a=e(t,r);return r.inline=n,a}const kd=(e,t,r)=>({children:jl(t,e[1],r)});function _d(){return{}}function Fd(){return null}function fK(...e){return e.filter(Boolean).join(" ")}function Id(e,t,r){let n=e;const a=t.split(".");for(;a.length&&(n=n[a[0]],n!==void 0);)a.shift();return n||r}function hK(e="",t={}){function r(p,m,...g){const v=Id(t.overrides,`${p}.props`,{});return t.createElement(function(b,x){const E=Id(x,b);return E?typeof E=="function"||typeof E=="object"&&"render"in E?E:Id(x,`${b}.component`,b):b}(p,t.overrides),nn({},m,v,{className:fK(m==null?void 0:m.className,v.className)||void 0}),...g)}function n(p){p=p.replace(kG,"");let m=!1;t.forceInline?m=!0:t.forceBlock||(m=NG.test(p)===!1);const g=d(u(m?p:`${p.trimEnd().replace(XG,"")} + +`,{inline:m}));for(;typeof g[g.length-1]=="string"&&!g[g.length-1].trim();)g.pop();if(t.wrapper===null)return g;const v=t.wrapper||(m?"span":"div");let b;if(g.length>1||t.forceWrapper)b=g;else{if(g.length===1)return b=g[0],typeof b=="string"?r("span",{key:"outer"},b):b;b=null}return l.createElement(v,{key:"outer"},b)}function a(p,m){const g=m.match(mG);return g?g.reduce(function(v,b,x){const E=b.indexOf("=");if(E!==-1){const C=function(A){return A.indexOf("-")!==-1&&A.match(IG)===null&&(A=A.replace(OG,function(k,F){return F.toUpperCase()})),A}(b.slice(0,E)).trim(),w=function(A){const k=A[0];return(k==='"'||k==="'")&&A.length>=2&&A[A.length-1]===k?A.slice(1,-1):A}(b.slice(E+1).trim()),D=r3[C]||C,S=v[D]=function(A,k,F,T){return k==="style"?F.split(/;\s?/).reduce(function(R,L){const z=L.slice(0,L.indexOf(":"));return R[z.trim().replace(/(-[a-z])/g,M=>M[1].toUpperCase())]=L.slice(z.length+1).trim(),R},{}):k==="href"||k==="src"?T(F,A,k):(F.match(TG)&&(F=F.slice(1,F.length-1)),F==="true"||F!=="false"&&F)}(p,C,w,t.sanitizer);typeof S=="string"&&(_p.test(S)||Fp.test(S))&&(v[D]=l.cloneElement(n(S.trim()),{key:x}))}else b!=="style"&&(v[r3[b]||b]=!0);return v},{}):null}t.overrides=t.overrides||{},t.sanitizer=t.sanitizer||cK,t.slugify=t.slugify||hl,t.namedCodesToUnicode=t.namedCodesToUnicode?nn({},n3,t.namedCodesToUnicode):n3,t.createElement=t.createElement||l.createElement;const o=[],i={},s={[U.blockQuote]:{match:or(aD),order:1,parse:(p,m,g)=>({children:m(p[0].replace(yG,""),g)}),render:(p,m,g)=>r("blockquote",{key:g.key},m(p.children,g))},[U.breakLine]:{match:vo(bG),order:1,parse:_d,render:(p,m,g)=>r("br",{key:g.key})},[U.breakThematic]:{match:or(wG),order:1,parse:_d,render:(p,m,g)=>r("hr",{key:g.key})},[U.codeBlock]:{match:or(iD),order:0,parse:p=>({lang:void 0,text:p[0].replace(/^ {4}/gm,"").replace(/\n+$/,"")}),render:(p,m,g)=>r("pre",{key:g.key},r("code",nn({},p.attrs,{className:p.lang?`lang-${p.lang}`:""}),p.text))},[U.codeFenced]:{match:or(oD),order:0,parse:p=>({attrs:a("code",p[3]||""),lang:p[2]||void 0,text:p[4],type:U.codeBlock})},[U.codeInline]:{match:br(EG),order:3,parse:p=>({text:p[2]}),render:(p,m,g)=>r("code",{key:g.key},p.text)},[U.footnote]:{match:or(DG),order:0,parse:p=>(o.push({footnote:p[2],identifier:p[1]}),{}),render:Fd},[U.footnoteReference]:{match:yr(SG),order:1,parse:p=>({target:`#${t.slugify(p[1],hl)}`,text:p[1]}),render:(p,m,g)=>r("a",{key:g.key,href:t.sanitizer(p.target,"a","href")},r("sup",{key:g.key},p.text))},[U.gfmTask]:{match:yr(_G),order:1,parse:p=>({completed:p[1].toLowerCase()==="x"}),render:(p,m,g)=>r("input",{checked:p.completed,key:g.key,readOnly:!0,type:"checkbox"})},[U.heading]:{match:or(t.enforceAtxHeadings?sD:lD),order:1,parse:(p,m,g)=>({children:jl(m,p[2],g),id:t.slugify(p[2],hl),level:p[1].length}),render:(p,m,g)=>r(`h${p.level}`,{id:p.id,key:g.key},m(p.children,g))},[U.headingSetext]:{match:or(uD),order:0,parse:(p,m,g)=>({children:jl(m,p[1],g),level:p[2]==="="?1:2,type:U.heading})},[U.htmlBlock]:{match:vo(_p),order:1,parse(p,m,g){const[,v]=p[3].match(QG),b=new RegExp(`^${v}`,"gm"),x=p[3].replace(b,""),E=(C=x,iK.some(k=>k.test(C))?pK:jl);var C;const w=p[1].toLowerCase(),D=hG.indexOf(w)!==-1,S=(D?w:p[1]).trim(),A={attrs:a(S,p[2]),noInnerParse:D,tag:S};return g.inAnchor=g.inAnchor||w==="a",D?A.text=p[3]:A.children=E(m,x,g),g.inAnchor=!1,A},render:(p,m,g)=>r(p.tag,nn({key:g.key},p.attrs),p.text||m(p.children,g))},[U.htmlSelfClosing]:{match:vo(Fp),order:1,parse(p){const m=p[1].trim();return{attrs:a(m,p[2]||""),tag:m}},render:(p,m,g)=>r(p.tag,nn({},p.attrs,{key:g.key}))},[U.htmlComment]:{match:vo(cD),order:1,parse:()=>({}),render:Fd},[U.image]:{match:br(oK),order:1,parse:p=>({alt:p[1],target:s3(p[2]),title:p[3]}),render:(p,m,g)=>r("img",{key:g.key,alt:p.alt||void 0,title:p.title||void 0,src:t.sanitizer(p.target,"img","src")})},[U.link]:{match:yr(aK),order:3,parse:(p,m,g)=>({children:dK(m,p[1],g),target:s3(p[2]),title:p[3]}),render:(p,m,g)=>r("a",{key:g.key,href:t.sanitizer(p.target,"a","href"),title:p.title},m(p.children,g))},[U.linkAngleBraceStyleDetector]:{match:yr(zG),order:0,parse:p=>({children:[{text:p[1],type:U.text}],target:p[1],type:U.link})},[U.linkBareUrlDetector]:{match:(p,m)=>m.inAnchor?null:yr(RG)(p,m),order:0,parse:p=>({children:[{text:p[1],type:U.text}],target:p[1],title:void 0,type:U.link})},[U.linkMailtoDetector]:{match:yr(BG),order:0,parse(p){let m=p[1],g=p[1];return gG.test(g)||(g="mailto:"+g),{children:[{text:m.replace("mailto:",""),type:U.text}],target:g,type:U.link}}},[U.orderedList]:o3(r,1),[U.unorderedList]:o3(r,2),[U.newlineCoalescer]:{match:or(xG),order:3,parse:_d,render:()=>` +`},[U.paragraph]:{match:uK,order:3,parse:kd,render:(p,m,g)=>r("p",{key:g.key},m(p.children,g))},[U.ref]:{match:yr(LG),order:0,parse:p=>(i[p[1]]={target:p[2],title:p[4]},{}),render:Fd},[U.refImage]:{match:br(MG),order:0,parse:p=>({alt:p[1]||void 0,ref:p[2]}),render:(p,m,g)=>i[p.ref]?r("img",{key:g.key,alt:p.alt,src:t.sanitizer(i[p.ref].target,"img","src"),title:i[p.ref].title}):null},[U.refLink]:{match:yr($G),order:0,parse:(p,m,g)=>({children:m(p[1],g),fallbackChildren:m(p[0].replace(PG,"\\$1"),g),ref:p[2]}),render:(p,m,g)=>i[p.ref]?r("a",{key:g.key,href:t.sanitizer(i[p.ref].target,"a","href"),title:i[p.ref].title},m(p.children,g)):r("span",{key:g.key},m(p.fallbackChildren,g))},[U.table]:{match:or(dD),order:1,parse:sK,render(p,m,g){const v=p;return r("table",{key:g.key},r("thead",null,r("tr",null,v.header.map(function(b,x){return r("th",{key:x,style:l3(v,x)},m(b,g))}))),r("tbody",null,v.cells.map(function(b,x){return r("tr",{key:x},b.map(function(E,C){return r("td",{key:C,style:l3(v,C)},m(E,g))}))})))}},[U.text]:{match:vo(JG),order:4,parse:p=>({text:p[0].replace(FG,(m,g)=>t.namedCodesToUnicode[g]?t.namedCodesToUnicode[g]:m)}),render:p=>p.text},[U.textBolded]:{match:br(WG),order:2,parse:(p,m,g)=>({children:m(p[2],g)}),render:(p,m,g)=>r("strong",{key:g.key},m(p.children,g))},[U.textEmphasized]:{match:br(GG),order:3,parse:(p,m,g)=>({children:m(p[2],g)}),render:(p,m,g)=>r("em",{key:g.key},m(p.children,g))},[U.textEscaped]:{match:br(ZG),order:1,parse:p=>({text:p[1],type:U.text})},[U.textMarked]:{match:br(KG),order:3,parse:kd,render:(p,m,g)=>r("mark",{key:g.key},m(p.children,g))},[U.textStrikethroughed]:{match:br(YG),order:3,parse:kd,render:(p,m,g)=>r("del",{key:g.key},m(p.children,g))}};t.disableParsingRawHTML===!0&&(delete s[U.htmlBlock],delete s[U.htmlSelfClosing]);const u=function(p){let m=Object.keys(p);function g(v,b){let x=[],E="";for(;v;){let C=0;for(;Cx(g,v,b),g,v,b):x(g,v,b)}}(s,t.renderRule),function p(m,g={}){if(Array.isArray(m)){const v=g.key,b=[];let x=!1;for(let E=0;E{let{children:t="",options:r}=e,n=function(a,o){if(a==null)return{};var i,s,u={},d=Object.keys(a);for(s=0;s=0||(u[i]=a[i]);return u}(e,fG);return l.cloneElement(hK(t,r),n)};function mK(e,t){for(var r=-1,n=e==null?0:e.length;++r-1}var fJ=pJ;function hJ(e,t,r){for(var n=-1,a=e==null?0:e.length;++n=FJ){var d=t?null:kJ(e);if(d)return _J(d);i=!1,a=AJ,u=new CJ}else u=t?[]:s;e:for(;++n=0)return this.lastItem=this.list[s],this.list[s].val},o.prototype.set=function(i,s){var u;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=s,this):(u=this.indexOf(i),u>=0?(this.lastItem=this.list[u],this.list[u].val=s,this):(this.lastItem={key:i,val:s},this.list.push(this.lastItem),this.size++,this))},o.prototype.delete=function(i){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),s=this.indexOf(i),s>=0)return this.size--,this.list.splice(s,1)[0]},o.prototype.has=function(i){var s;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(s=this.indexOf(i),s>=0?(this.lastItem=this.list[s],!0):!1)},o.prototype.forEach=function(i,s){var u;for(u=0;u0&&(E[x]={cacheItem:g,arg:arguments[x]},C?i(h,E):h.push(E),h.length>d&&s(h.shift())),m.wasMemoized=C,m.numArgs=x+1,b};return m.limit=d,m.wasMemoized=!1,m.cache=f,m.lru=h,m}};function i(d,f){var h=d.length,p=f.length,m,g,v;for(g=0;g=0&&(h=d[m],p=h.cacheItem.get(h.arg),!p||!p.size);m--)h.cacheItem.delete(h.arg)}function u(d,f){return d===f||d!==d&&f!==f}},{"map-or-similar":1}]},{},[3])(3)})})(kD);var LJ=kD.exports;const _D=$s(LJ);var MJ=Object.create,FD=Object.defineProperty,$J=Object.getOwnPropertyDescriptor,ID=Object.getOwnPropertyNames,PJ=Object.getPrototypeOf,NJ=Object.prototype.hasOwnProperty,at=(e,t)=>function(){return t||(0,e[ID(e)[0]])((t={exports:{}}).exports,t),t.exports},jJ=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of ID(t))!NJ.call(e,a)&&a!==r&&FD(e,a,{get:()=>t[a],enumerable:!(n=$J(t,a))||n.enumerable});return e},lm=(e,t,r)=>(r=e!=null?MJ(PJ(e)):{},jJ(!e||!e.__esModule?FD(r,"default",{value:e,enumerable:!0}):r,e)),HJ=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],VJ=["detail"];function UJ(e){const t=HJ.filter(r=>e[r]!==void 0).reduce((r,n)=>({...r,[n]:e[n]}),{});return e instanceof CustomEvent&&VJ.filter(r=>e[r]!==void 0).forEach(r=>{t[r]=e[r]}),t}var TD=at({"node_modules/has-symbols/shams.js"(e,t){t.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var n={},a=Symbol("test"),o=Object(a);if(typeof a=="string"||Object.prototype.toString.call(a)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var i=42;n[a]=i;for(a in n)return!1;if(typeof Object.keys=="function"&&Object.keys(n).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(n).length!==0)return!1;var s=Object.getOwnPropertySymbols(n);if(s.length!==1||s[0]!==a||!Object.prototype.propertyIsEnumerable.call(n,a))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var u=Object.getOwnPropertyDescriptor(n,a);if(u.value!==i||u.enumerable!==!0)return!1}return!0}}}),RD=at({"node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=TD();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}}),qJ=at({"node_modules/function-bind/implementation.js"(e,t){var r="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,a=Object.prototype.toString,o="[object Function]";t.exports=function(s){var u=this;if(typeof u!="function"||a.call(u)!==o)throw new TypeError(r+u);for(var d=n.call(arguments,1),f,h=function(){if(this instanceof f){var b=u.apply(this,d.concat(n.call(arguments)));return Object(b)===b?b:this}else return u.apply(s,d.concat(n.call(arguments)))},p=Math.max(0,u.length-d.length),m=[],g=0;g"u"?r:h(Uint8Array),g={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":f?h([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":p,"%AsyncGenerator%":p,"%AsyncGeneratorFunction%":p,"%AsyncIteratorPrototype%":p,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":a,"%GeneratorFunction%":p,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":f?h(h([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!f?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"||!f?r:h(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":f?h(""[Symbol.iterator]()):r,"%Symbol%":f?Symbol:r,"%SyntaxError%":n,"%ThrowTypeError%":d,"%TypedArray%":m,"%TypeError%":o,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet},v=function L(z){var M;if(z==="%AsyncFunction%")M=i("async function () {}");else if(z==="%GeneratorFunction%")M=i("function* () {}");else if(z==="%AsyncGeneratorFunction%")M=i("async function* () {}");else if(z==="%AsyncGenerator%"){var O=L("%AsyncGeneratorFunction%");O&&(M=O.prototype)}else if(z==="%AsyncIteratorPrototype%"){var $=L("%AsyncGenerator%");$&&(M=h($.prototype))}return g[z]=M,M},b={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},x=sm(),E=WJ(),C=x.call(Function.call,Array.prototype.concat),w=x.call(Function.apply,Array.prototype.splice),D=x.call(Function.call,String.prototype.replace),S=x.call(Function.call,String.prototype.slice),A=x.call(Function.call,RegExp.prototype.exec),k=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,F=/\\(\\)?/g,T=function(z){var M=S(z,0,1),O=S(z,-1);if(M==="%"&&O!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if(O==="%"&&M!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var $=[];return D(z,k,function(H,K,N,W){$[$.length]=N?D(W,F,"$1"):K||H}),$},R=function(z,M){var O=z,$;if(E(b,O)&&($=b[O],O="%"+$[0]+"%"),E(g,O)){var H=g[O];if(H===p&&(H=v(O)),typeof H>"u"&&!M)throw new o("intrinsic "+z+" exists, but is not available. Please file an issue!");return{alias:$,name:O,value:H}}throw new n("intrinsic "+z+" does not exist!")};t.exports=function(z,M){if(typeof z!="string"||z.length===0)throw new o("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof M!="boolean")throw new o('"allowMissing" argument must be a boolean');if(A(/^%?[^%]*%?$/,z)===null)throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var O=T(z),$=O.length>0?O[0]:"",H=R("%"+$+"%",M),K=H.name,N=H.value,W=!1,te=H.alias;te&&($=te[0],w(O,C([0,1],te)));for(var ue=1,re=!0;ue=O.length){var J=s(N,ae);re=!!J,re&&"get"in J&&!("originalValue"in J.get)?N=J.get:N=N[ae]}else re=E(N,ae),N=N[ae];re&&!W&&(g[K]=N)}}return N}}}),GJ=at({"node_modules/call-bind/index.js"(e,t){var r=sm(),n=BD(),a=n("%Function.prototype.apply%"),o=n("%Function.prototype.call%"),i=n("%Reflect.apply%",!0)||r.call(o,a),s=n("%Object.getOwnPropertyDescriptor%",!0),u=n("%Object.defineProperty%",!0),d=n("%Math.max%");if(u)try{u({},"a",{value:1})}catch{u=null}t.exports=function(p){var m=i(r,o,arguments);if(s&&u){var g=s(m,"length");g.configurable&&u(m,"length",{value:1+d(0,p.length-(arguments.length-1))})}return m};var f=function(){return i(r,a,arguments)};u?u(t.exports,"apply",{value:f}):t.exports.apply=f}}),KJ=at({"node_modules/call-bind/callBound.js"(e,t){var r=BD(),n=GJ(),a=n(r("String.prototype.indexOf"));t.exports=function(i,s){var u=r(i,!!s);return typeof u=="function"&&a(i,".prototype.")>-1?n(u):u}}}),YJ=at({"node_modules/has-tostringtag/shams.js"(e,t){var r=TD();t.exports=function(){return r()&&!!Symbol.toStringTag}}}),ZJ=at({"node_modules/is-regex/index.js"(e,t){var r=KJ(),n=YJ()(),a,o,i,s;n&&(a=r("Object.prototype.hasOwnProperty"),o=r("RegExp.prototype.exec"),i={},u=function(){throw i},s={toString:u,valueOf:u},typeof Symbol.toPrimitive=="symbol"&&(s[Symbol.toPrimitive]=u));var u,d=r("Object.prototype.toString"),f=Object.getOwnPropertyDescriptor,h="[object RegExp]";t.exports=n?function(m){if(!m||typeof m!="object")return!1;var g=f(m,"lastIndex"),v=g&&a(g,"value");if(!v)return!1;try{o(m,s)}catch(b){return b===i}}:function(m){return!m||typeof m!="object"&&typeof m!="function"?!1:d(m)===h}}}),JJ=at({"node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(a){if(!a)return!1;var o=r.call(a);return o==="[object Function]"||typeof a=="function"&&o!=="[object RegExp]"||typeof window<"u"&&(a===window.setTimeout||a===window.alert||a===window.confirm||a===window.prompt)}}}),XJ=at({"node_modules/is-symbol/index.js"(e,t){var r=Object.prototype.toString,n=RD()();n?(a=Symbol.prototype.toString,o=/^Symbol\(.*\)$/,i=function(u){return typeof u.valueOf()!="symbol"?!1:o.test(a.call(u))},t.exports=function(u){if(typeof u=="symbol")return!0;if(r.call(u)!=="[object Symbol]")return!1;try{return i(u)}catch{return!1}}):t.exports=function(u){return!1};var a,o,i}}),QJ=lm(ZJ()),eX=lm(JJ()),tX=lm(XJ());function rX(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}var nX=typeof global=="object"&&global&&global.Object===Object&&global,aX=nX,oX=typeof self=="object"&&self&&self.Object===Object&&self,iX=aX||oX||Function("return this")(),um=iX,lX=um.Symbol,Ta=lX,zD=Object.prototype,sX=zD.hasOwnProperty,uX=zD.toString,yo=Ta?Ta.toStringTag:void 0;function cX(e){var t=sX.call(e,yo),r=e[yo];try{e[yo]=void 0;var n=!0}catch{}var a=uX.call(e);return n&&(t?e[yo]=r:delete e[yo]),a}var dX=cX,pX=Object.prototype,fX=pX.toString;function hX(e){return fX.call(e)}var mX=hX,gX="[object Null]",vX="[object Undefined]",y3=Ta?Ta.toStringTag:void 0;function yX(e){return e==null?e===void 0?vX:gX:y3&&y3 in Object(e)?dX(e):mX(e)}var bX=yX,b3=Ta?Ta.prototype:void 0;b3&&b3.toString;function wX(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var OD=wX,EX="[object AsyncFunction]",xX="[object Function]",CX="[object GeneratorFunction]",DX="[object Proxy]";function SX(e){if(!OD(e))return!1;var t=bX(e);return t==xX||t==CX||t==EX||t==DX}var AX=SX,kX=um["__core-js_shared__"],Rd=kX,w3=function(){var e=/[^.]+$/.exec(Rd&&Rd.keys&&Rd.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function _X(e){return!!w3&&w3 in e}var FX=_X,IX=Function.prototype,TX=IX.toString;function RX(e){if(e!=null){try{return TX.call(e)}catch{}try{return e+""}catch{}}return""}var BX=RX,zX=/[\\^$.*+?()[\]{}|]/g,OX=/^\[object .+?Constructor\]$/,LX=Function.prototype,MX=Object.prototype,$X=LX.toString,PX=MX.hasOwnProperty,NX=RegExp("^"+$X.call(PX).replace(zX,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function jX(e){if(!OD(e)||FX(e))return!1;var t=AX(e)?NX:OX;return t.test(BX(e))}var HX=jX;function VX(e,t){return e==null?void 0:e[t]}var UX=VX;function qX(e,t){var r=UX(e,t);return HX(r)?r:void 0}var LD=qX;function WX(e,t){return e===t||e!==e&&t!==t}var GX=WX,KX=LD(Object,"create"),li=KX;function YX(){this.__data__=li?li(null):{},this.size=0}var ZX=YX;function JX(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var XX=JX,QX="__lodash_hash_undefined__",eQ=Object.prototype,tQ=eQ.hasOwnProperty;function rQ(e){var t=this.__data__;if(li){var r=t[e];return r===QX?void 0:r}return tQ.call(t,e)?t[e]:void 0}var nQ=rQ,aQ=Object.prototype,oQ=aQ.hasOwnProperty;function iQ(e){var t=this.__data__;return li?t[e]!==void 0:oQ.call(t,e)}var lQ=iQ,sQ="__lodash_hash_undefined__";function uQ(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=li&&t===void 0?sQ:t,this}var cQ=uQ;function Ga(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t-1}var EQ=wQ;function xQ(e,t){var r=this.__data__,n=Yu(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var CQ=xQ;function Ka(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{let t=null,r=!1,n=!1,a=!1,o="";if(e.indexOf("//")>=0||e.indexOf("/*")>=0)for(let i=0;iKQ(e).replace(/\n\s*/g,"").trim()),ZQ=function(t,r){const n=r.slice(0,r.indexOf("{")),a=r.slice(r.indexOf("{"));if(n.includes("=>")||n.includes("function"))return r;let o=n;return o=o.replace(t,"function"),o+a},JQ=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/;function $D(e){if(!GQ(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=UJ(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 XQ=function(t){let r,n,a,o;return function(s,u){try{if(s==="")return o=[],r=new Map([[u,"[]"]]),n=new Map,a=[],u;const d=n.get(this)||this;for(;a.length&&d!==a[0];)a.shift(),o.pop();if(typeof u=="boolean")return u;if(u===void 0)return t.allowUndefined?"_undefined_":void 0;if(u===null)return null;if(typeof u=="number")return u===-1/0?"_-Infinity_":u===1/0?"_Infinity_":Number.isNaN(u)?"_NaN_":u;if(typeof u=="bigint")return`_bigint_${u.toString()}`;if(typeof u=="string")return JQ.test(u)?t.allowDate?`_date_${u}`:void 0:u;if((0,QJ.default)(u))return t.allowRegExp?`_regexp_${u.flags}|${u.source}`:void 0;if((0,eX.default)(u)){if(!t.allowFunction)return;const{name:h}=u,p=u.toString();return p.match(/(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)?`_function_${h}|${(()=>{}).toString()}`:`_function_${h}|${YQ(ZQ(s,p))}`}if((0,tX.default)(u)){if(!t.allowSymbol)return;const h=Symbol.keyFor(u);return h!==void 0?`_gsymbol_${h}`:`_symbol_${u.toString().slice(7,-1)}`}if(a.length>=t.maxDepth)return Array.isArray(u)?`[Array(${u.length})]`:"[Object]";if(u===this)return`_duplicate_${JSON.stringify(o)}`;if(u instanceof Error&&t.allowError)return{__isConvertedError__:!0,errorProperties:{...u.cause?{cause:u.cause}:{},...u,name:u.name,message:u.message,stack:u.stack,"_constructor-name_":u.constructor.name}};if(u.constructor&&u.constructor.name&&u.constructor.name!=="Object"&&!Array.isArray(u)&&!t.allowClass)return;const f=r.get(u);if(!f){const h=Array.isArray(u)?u:$D(u);if(u.constructor&&u.constructor.name&&u.constructor.name!=="Object"&&!Array.isArray(u)&&t.allowClass)try{Object.assign(h,{"_constructor-name_":u.constructor.name})}catch{}return o.push(s),a.unshift(h),r.set(u,JSON.stringify(o)),u!==h&&n.set(u,h),h}return`_duplicate_${f}`}catch{return}}},QQ={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},eee=(e,t={})=>{const r={...QQ,...t};return JSON.stringify($D(e),XQ(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 + */const{global:et}=__STORYBOOK_MODULE_GLOBAL__,{deprecate:tee,once:ree,logger:dm}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{filterArgTypes:x3,composeConfigs:lae,Preview:sae,DocsContext:uae}=__STORYBOOK_MODULE_PREVIEW_API__,{STORY_ARGS_UPDATED:C3,UPDATE_STORY_ARGS:nee,RESET_STORY_ARGS:aee,GLOBALS_UPDATED:D3,NAVIGATE_URL:oee}=__STORYBOOK_MODULE_CORE_EVENTS__;__STORYBOOK_MODULE_CHANNELS__;var iee=Ra({"../../node_modules/tocbot/src/js/default-options.js"(e,t){t.exports={tocSelector:".js-toc",contentSelector:".js-toc-content",headingSelector:"h1, h2, h3",ignoreSelector:".js-toc-ignore",hasInnerContainers:!1,linkClass:"toc-link",extraLinkClasses:"",activeLinkClass:"is-active-link",listClass:"toc-list",extraListClasses:"",isCollapsedClass:"is-collapsed",collapsibleClass:"is-collapsible",listItemClass:"toc-list-item",activeListItemClass:"is-active-li",collapseDepth:0,scrollSmooth:!0,scrollSmoothDuration:420,scrollSmoothOffset:0,scrollEndCallback:function(r){},headingsOffset:1,throttleTimeout:50,positionFixedSelector:null,positionFixedClass:"is-position-fixed",fixedSidebarOffset:"auto",includeHtml:!1,includeTitleTags:!1,onClick:function(r){},orderedList:!0,scrollContainer:null,skipRendering:!1,headingLabelCallback:!1,ignoreHiddenElements:!1,headingObjectCallback:null,basePath:"",disableTocScrollSync:!1,tocScrollOffset:0}}}),lee=Ra({"../../node_modules/tocbot/src/js/build-html.js"(e,t){t.exports=function(r){var n=[].forEach,a=[].some,o=document.body,i,s=!0,u=" ";function d(w,D){var S=D.appendChild(h(w));if(w.children.length){var A=p(w.isCollapsed);w.children.forEach(function(k){d(k,A)}),S.appendChild(A)}}function f(w,D){var S=!1,A=p(S);if(D.forEach(function(k){d(k,A)}),i=w||i,i!==null)return i.firstChild&&i.removeChild(i.firstChild),D.length===0?i:i.appendChild(A)}function h(w){var D=document.createElement("li"),S=document.createElement("a");return r.listItemClass&&D.setAttribute("class",r.listItemClass),r.onClick&&(S.onclick=r.onClick),r.includeTitleTags&&S.setAttribute("title",w.textContent),r.includeHtml&&w.childNodes.length?n.call(w.childNodes,function(A){S.appendChild(A.cloneNode(!0))}):S.textContent=w.textContent,S.setAttribute("href",r.basePath+"#"+w.id),S.setAttribute("class",r.linkClass+u+"node-name--"+w.nodeName+u+r.extraLinkClasses),D.appendChild(S),D}function p(w){var D=r.orderedList?"ol":"ul",S=document.createElement(D),A=r.listClass+u+r.extraListClasses;return w&&(A=A+u+r.collapsibleClass,A=A+u+r.isCollapsedClass),S.setAttribute("class",A),S}function m(){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var w;w=document.querySelector(r.scrollContainer).scrollTop}else w=document.documentElement.scrollTop||o.scrollTop;var D=document.querySelector(r.positionFixedSelector);r.fixedSidebarOffset==="auto"&&(r.fixedSidebarOffset=i.offsetTop),w>r.fixedSidebarOffset?D.className.indexOf(r.positionFixedClass)===-1&&(D.className+=u+r.positionFixedClass):D.className=D.className.replace(u+r.positionFixedClass,"")}function g(w){var D=0;return w!==null&&(D=w.offsetTop,r.hasInnerContainers&&(D+=g(w.offsetParent))),D}function v(w,D){return w&&w.className!==D&&(w.className=D),w}function b(w){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var D;D=document.querySelector(r.scrollContainer).scrollTop}else D=document.documentElement.scrollTop||o.scrollTop;r.positionFixedSelector&&m();var S=w,A;if(s&&i!==null&&S.length>0){a.call(S,function(M,O){if(g(M)>D+r.headingsOffset+10){var $=O===0?O:O-1;return A=S[$],!0}else if(O===S.length-1)return A=S[S.length-1],!0});var k=i.querySelector("."+r.activeLinkClass),F=i.querySelector("."+r.linkClass+".node-name--"+A.nodeName+'[href="'+r.basePath+"#"+A.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/\\@])/g,"\\$1")+'"]');if(k===F)return;var T=i.querySelectorAll("."+r.linkClass);n.call(T,function(M){v(M,M.className.replace(u+r.activeLinkClass,""))});var R=i.querySelectorAll("."+r.listItemClass);n.call(R,function(M){v(M,M.className.replace(u+r.activeListItemClass,""))}),F&&F.className.indexOf(r.activeLinkClass)===-1&&(F.className+=u+r.activeLinkClass);var L=F&&F.parentNode;L&&L.className.indexOf(r.activeListItemClass)===-1&&(L.className+=u+r.activeListItemClass);var z=i.querySelectorAll("."+r.listClass+"."+r.collapsibleClass);n.call(z,function(M){M.className.indexOf(r.isCollapsedClass)===-1&&(M.className+=u+r.isCollapsedClass)}),F&&F.nextSibling&&F.nextSibling.className.indexOf(r.isCollapsedClass)!==-1&&v(F.nextSibling,F.nextSibling.className.replace(u+r.isCollapsedClass,"")),x(F&&F.parentNode.parentNode)}}function x(w){return w&&w.className.indexOf(r.collapsibleClass)!==-1&&w.className.indexOf(r.isCollapsedClass)!==-1?(v(w,w.className.replace(u+r.isCollapsedClass,"")),x(w.parentNode.parentNode)):w}function E(w){var D=w.target||w.srcElement;typeof D.className!="string"||D.className.indexOf(r.linkClass)===-1||(s=!1)}function C(){s=!0}return{enableTocAnimation:C,disableTocAnimation:E,render:f,updateToc:b}}}}),see=Ra({"../../node_modules/tocbot/src/js/parse-content.js"(e,t){t.exports=function(r){var n=[].reduce;function a(h){return h[h.length-1]}function o(h){return+h.nodeName.toUpperCase().replace("H","")}function i(h){try{return h instanceof window.HTMLElement||h instanceof window.parent.HTMLElement}catch{return h instanceof window.HTMLElement}}function s(h){if(!i(h))return h;if(r.ignoreHiddenElements&&(!h.offsetHeight||!h.offsetParent))return null;let p=h.getAttribute("data-heading-label")||(r.headingLabelCallback?String(r.headingLabelCallback(h.innerText)):(h.innerText||h.textContent).trim());var m={id:h.id,children:[],nodeName:h.nodeName,headingLevel:o(h),textContent:p};return r.includeHtml&&(m.childNodes=h.childNodes),r.headingObjectCallback?r.headingObjectCallback(m,h):m}function u(h,p){for(var m=s(h),g=m.headingLevel,v=p,b=a(v),x=b?b.headingLevel:0,E=g-x;E>0&&(b=a(v),!(b&&g===b.headingLevel));)b&&b.children!==void 0&&(v=b.children),E--;return g>=r.collapseDepth&&(m.isCollapsed=!0),v.push(m),v}function d(h,p){var m=p;r.ignoreSelector&&(m=p.split(",").map(function(g){return g.trim()+":not("+r.ignoreSelector+")"}));try{return h.querySelectorAll(m)}catch{return console.warn("Headers not found with selector: "+m),null}}function f(h){return n.call(h,function(p,m){var g=s(m);return g&&u(g,p.nest),p},{nest:[]})}return{nestHeadingsArray:f,selectHeadings:d}}}}),uee=Ra({"../../node_modules/tocbot/src/js/update-toc-scroll.js"(e,t){t.exports=function(r){var n=r.tocElement||document.querySelector(r.tocSelector);if(n&&n.scrollHeight>n.clientHeight){var a=n.querySelector("."+r.activeListItemClass);a&&(n.scrollTop=a.offsetTop-r.tocScrollOffset)}}}}),cee=Ra({"../../node_modules/tocbot/src/js/scroll-smooth/index.js"(e){e.initSmoothScrolling=t;function t(n){var a=n.duration,o=n.offset,i=location.hash?d(location.href):location.href;s();function s(){document.body.addEventListener("click",h,!1);function h(p){!u(p.target)||p.target.className.indexOf("no-smooth-scroll")>-1||p.target.href.charAt(p.target.href.length-2)==="#"&&p.target.href.charAt(p.target.href.length-1)==="!"||p.target.className.indexOf(n.linkClass)===-1||r(p.target.hash,{duration:a,offset:o,callback:function(){f(p.target.hash)}})}}function u(h){return h.tagName.toLowerCase()==="a"&&(h.hash.length>0||h.href.charAt(h.href.length-1)==="#")&&(d(h.href)===i||d(h.href)+"#"===i)}function d(h){return h.slice(0,h.lastIndexOf("#"))}function f(h){var p=document.getElementById(h.substring(1));p&&(/^(?:a|select|input|button|textarea)$/i.test(p.tagName)||(p.tabIndex=-1),p.focus())}}function r(n,a){var o=window.pageYOffset,i={duration:a.duration,offset:a.offset||0,callback:a.callback,easing:a.easing||g},s=document.querySelector('[id="'+decodeURI(n).split("#").join("")+'"]')||document.querySelector('[id="'+n.split("#").join("")+'"]'),u=typeof n=="string"?i.offset+(n?s&&s.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):n,d=typeof i.duration=="function"?i.duration(u):i.duration,f,h;requestAnimationFrame(function(v){f=v,p(v)});function p(v){h=v-f,window.scrollTo(0,i.easing(h,o,u,d)),h"u"&&!h)return;var p,m=Object.prototype.hasOwnProperty;function g(){for(var E={},C=0;C({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:se(.3,e.color.defaultText),fontSize:e.typography.size.s2})),PD=e=>y.createElement(pee,{...e,className:"docblock-emptyblock sb-unstyled"}),fee=_(Ih)(({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"}})),hee=_.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"})),gl=_.div(({theme:e})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,height:17,marginTop:1,width:"60%",[`&:first-child${jd}`]:{margin:0}})),mee=()=>y.createElement(hee,null,y.createElement(gl,null),y.createElement(gl,{style:{width:"80%"}}),y.createElement(gl,{style:{width:"30%"}}),y.createElement(gl,{style:{width:"80%"}})),ND=({isLoading:e,error:t,language:r,code:n,dark:a,format:o=!1,...i})=>{let{typography:s}=hb();if(e)return y.createElement(mee,null);if(t)return y.createElement(PD,null,t);let u=y.createElement(fee,{bordered:!0,copyable:!0,format:o,language:r,className:"docblock-source sb-unstyled",...i},n);if(typeof a>"u")return u;let d=a?Pd.dark:Pd.light;return y.createElement(mb,{theme:Nd({...d,fontCode:s.fonts.mono,fontBase:s.fonts.base})},u)},ve=e=>`& :where(${e}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${e}))`,pm=600,gee=_.h1(de,({theme:e})=>({color:e.color.defaultText,fontSize:e.typography.size.m3,fontWeight:e.typography.weight.bold,lineHeight:"32px",[`@media (min-width: ${pm}px)`]:{fontSize:e.typography.size.l1,lineHeight:"36px",marginBottom:"16px"}})),vee=_.h2(de,({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:15,[`@media (min-width: ${pm}px)`]:{fontSize:e.typography.size.m1,lineHeight:"28px",marginBottom:24},color:se(.25,e.color.defaultText)})),yee=_.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"?se(.1,e.color.defaultText):se(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border};return{maxWidth:1e3,width:"100%",[ve("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}},[ve("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}},[ve("div")]:t,[ve("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}},[ve("h1")]:{...t,...r,fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},[ve("h2")]:{...t,...r,fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`},[ve("h3")]:{...t,...r,fontSize:`${e.typography.size.m1}px`,fontWeight:e.typography.weight.bold},[ve("h4")]:{...t,...r,fontSize:`${e.typography.size.s3}px`},[ve("h5")]:{...t,...r,fontSize:`${e.typography.size.s2}px`},[ve("h6")]:{...t,...r,fontSize:`${e.typography.size.s2}px`,color:e.color.dark},[ve("hr")]:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},[ve("img")]:{maxWidth:"100%"},[ve("li")]:{...t,fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":n},[ve("ol")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},[ve("p")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":n},[ve("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"}},[ve("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"}}},[ve("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}},[ve("ul")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0},listStyle:"disc"}}}),bee=_.div(({theme:e})=>({background:e.background.content,display:"flex",justifyContent:"center",padding:"4rem 20px",minHeight:"100vh",boxSizing:"border-box",gap:"3rem",[`@media (min-width: ${pm}px)`]:{}})),wee=({children:e,toc:t})=>y.createElement(bee,{className:"sbdocs sbdocs-wrapper"},y.createElement(yee,{className:"sbdocs sbdocs-content"},e),t),Ju=e=>({borderRadius:e.appBorderRadius,background:e.background.content,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",border:`1px solid ${e.appBorderColor}`}),{window:Eee}=et,xee=class extends l.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{id:e}=this.props;this.iframe=Eee.document.getElementById(e)}shouldComponentUpdate(e){let{scale:t}=e;return t!==this.props.scale&&this.setIframeBodyStyle({width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"}),!1}setIframeBodyStyle(e){return Object.assign(this.iframe.contentDocument.body.style,e)}render(){let{id:e,title:t,src:r,allowFullScreen:n,scale:a,...o}=this.props;return y.createElement("iframe",{id:e,title:t,src:r,...n?{allow:"fullscreen"}:{},loading:"lazy",...o})}},jD=l.createContext({scale:1}),{PREVIEW_URL:Cee}=et,Dee=Cee||"iframe.html",Ip=({story:e,primary:t})=>`story--${e.id}${t?"--primary":""}`,See=e=>{let t=l.useRef(),[r,n]=l.useState(!0),[a,o]=l.useState(),{story:i,height:s,autoplay:u,forceInitialArgs:d,renderStoryToElement:f}=e;return l.useEffect(()=>{if(!(i&&t.current))return()=>{};let h=t.current,p=f(i,h,{showMain:()=>{},showError:({title:m,description:g})=>o(new Error(`${m} - ${g}`)),showException:m=>o(m)},{autoplay:u,forceInitialArgs:d});return n(!1),()=>{Promise.resolve().then(()=>p())}},[u,f,i]),a?y.createElement("pre",null,y.createElement(QO,{error:a})):y.createElement(y.Fragment,null,s?y.createElement("style",null,`#${Ip(e)} { min-height: ${s}; transform: translateZ(0); overflow: auto }`):null,r&&y.createElement(HD,null),y.createElement("div",{ref:t,id:`${Ip(e)}-inner`,"data-name":i.name}))},Aee=({story:e,height:t="500px"})=>y.createElement("div",{style:{width:"100%",height:t}},y.createElement(jD.Consumer,null,({scale:r})=>y.createElement(xee,{key:"iframe",id:`iframe--${e.id}`,title:e.name,src:xM(Dee,e.id,{viewMode:"story"}),allowFullScreen:!0,scale:r,style:{width:"100%",height:"100%",border:"0 none"}}))),kee=_.strong(({theme:e})=>({color:e.color.orange})),_ee=e=>{let{inline:t,story:r}=e;return t&&!e.autoplay&&r.usesMount?y.createElement(kee,null,"This story mounts inside of play. Set"," ",y.createElement("a",{href:"https://storybook.js.org/docs/api/doc-blocks/doc-block-story#autoplay"},"autoplay")," ","to true to view this story."):y.createElement("div",{id:Ip(e),className:"sb-story sb-unstyled","data-story-block":"true"},t?y.createElement(See,{...e}):y.createElement(Aee,{...e}))},HD=()=>y.createElement(EM,null),Fee=_(Ph)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"}),Iee=_.div({display:"flex",alignItems:"center",gap:4}),Tee=_.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`})),Ree=({isLoading:e,storyId:t,baseUrl:r,zoom:n,resetZoom:a,...o})=>y.createElement(Fee,{...o},y.createElement(Iee,{key:"left"},e?[1,2,3].map(i=>y.createElement(Tee,{key:i})):y.createElement(y.Fragment,null,y.createElement(hn,{key:"zoomin",onClick:i=>{i.preventDefault(),n(.8)},title:"Zoom in"},y.createElement(r$,null)),y.createElement(hn,{key:"zoomout",onClick:i=>{i.preventDefault(),n(1.25)},title:"Zoom out"},y.createElement(n$,null)),y.createElement(hn,{key:"zoomreset",onClick:i=>{i.preventDefault(),a()},title:"Reset zoom"},y.createElement(a$,null))))),Bee=_.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)`}}:{}),S3=_(ND)(({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)":Ot(.05,e.background.content),color:e.color.lightest,button:{background:e.base==="light"?"rgba(0, 0, 0, 0.85)":Ot(.05,e.background.content)}})),zee=_.div(({theme:e,withSource:t,isExpanded:r})=>({position:"relative",overflow:"hidden",margin:"25px 0 40px",...Ju(e),borderBottomLeftRadius:t&&r&&0,borderBottomRightRadius:t&&r&&0,borderBottomWidth:r&&0,"h3 + &":{marginTop:"16px"}}),({withToolbar:e})=>e&&{paddingTop:40}),Oee=(e,t,r)=>{switch(!0){case!!(e&&e.error):return{source:null,actionItem:{title:"No code available",className:"docblock-code-toggle docblock-code-toggle--disabled",disabled:!0,onClick:()=>r(!1)}};case t:return{source:y.createElement(S3,{...e,dark:!0}),actionItem:{title:"Hide code",className:"docblock-code-toggle docblock-code-toggle--expanded",onClick:()=>r(!1)}};default:return{source:y.createElement(S3,{...e,dark:!0}),actionItem:{title:"Show code",className:"docblock-code-toggle",onClick:()=>r(!0)}}}};function Lee(e){if(l.Children.count(e)===1){let t=e;if(t.props)return t.props.id}return null}var Mee=_(Ree)({position:"absolute",top:0,left:0,right:0,height:40}),$ee=_.div({overflow:"hidden",position:"relative"}),VD=({isLoading:e,isColumn:t,columns:r,children:n,withSource:a,withToolbar:o=!1,isExpanded:i=!1,additionalActions:s,className:u,layout:d="padded",...f})=>{let[h,p]=l.useState(i),{source:m,actionItem:g}=Oee(a,h,p),[v,b]=l.useState(1),x=[u].concat(["sbdocs","sbdocs-preview","sb-unstyled"]),E=a?[g]:[],[C,w]=l.useState(s?[...s]:[]),D=[...E,...C],{window:S}=et,A=l.useCallback(async F=>{let{createCopyToClipboardFunction:T}=await $3(()=>import("./index-BwmOyQc7.js"),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url);T()},[]),k=F=>{let T=S.getSelection();T&&T.type==="Range"||(F.preventDefault(),C.filter(R=>R.title==="Copied").length===0&&A(m.props.code).then(()=>{w([...C,{title:"Copied",onClick:()=>{}}]),S.setTimeout(()=>w(C.filter(R=>R.title!=="Copied")),1500)}))};return y.createElement(zee,{withSource:a,withToolbar:o,...f,className:x.join(" ")},o&&y.createElement(Mee,{isLoading:e,border:!0,zoom:F=>b(v*F),resetZoom:()=>b(1),storyId:Lee(n),baseUrl:"./iframe.html"}),y.createElement(jD.Provider,{value:{scale:v}},y.createElement($ee,{className:"docs-story",onCopyCapture:a&&k},y.createElement(Bee,{isColumn:t||!Array.isArray(n),columns:r,layout:d},y.createElement(qO.Element,{scale:v},Array.isArray(n)?n.map((F,T)=>y.createElement("div",{key:T},F)):y.createElement("div",null,n))),y.createElement(pf,{actionItems:D}))),a&&h&&m)};_(VD)(()=>({".docs-story":{paddingTop:32,paddingBottom:40}}));var Pee=_.label(({theme:e})=>({lineHeight:"18px",alignItems:"center",marginBottom:8,display:"inline-block",position:"relative",whiteSpace:"nowrap",background:e.boolean.background,borderRadius:"3em",padding:1,'&[aria-disabled="true"]':{opacity:.5,input:{cursor:"not-allowed"}},input:{appearance:"none",width:"100%",height:"100%",position:"absolute",left:0,top:0,margin:0,padding:0,border:"none",background:"transparent",cursor:"pointer",borderRadius:"3em","&:focus":{outline:"none",boxShadow:`${e.color.secondary} 0 0 0 1px inset !important`}},span:{textAlign:"center",fontSize:e.typography.size.s1,fontWeight:e.typography.weight.bold,lineHeight:"1",cursor:"pointer",display:"inline-block",padding:"7px 15px",transition:"all 100ms ease-out",userSelect:"none",borderRadius:"3em",color:se(.5,e.color.defaultText),background:"transparent","&:hover":{boxShadow:`${pl(.3,e.appBorderColor)} 0 0 0 1px inset`},"&:active":{boxShadow:`${pl(.05,e.appBorderColor)} 0 0 0 2px inset`,color:pl(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"?`${pl(.1,e.appBorderColor)} 0 0 2px`:`${e.appBorderColor} 0 0 0 1px`,color:e.color.defaultText,padding:"7px 15px"}})),Nee=e=>e==="true",jee=({name:e,value:t,onChange:r,onBlur:n,onFocus:a,argType:o})=>{var f;let i=l.useCallback(()=>r(!1),[r]),s=!!((f=o==null?void 0:o.table)!=null&&f.readonly);if(t===void 0)return y.createElement(In,{variant:"outline",size:"medium",id:Ns(e),onClick:i,disabled:s},"Set boolean");let u=Et(e),d=typeof t=="string"?Nee(t):t;return y.createElement(Pee,{"aria-disabled":s,htmlFor:u,"aria-label":e},y.createElement("input",{id:u,type:"checkbox",onChange:h=>r(h.target.checked),checked:d,role:"switch",disabled:s,name:e,onBlur:n,onFocus:a}),y.createElement("span",{"aria-hidden":"true"},"False"),y.createElement("span",{"aria-hidden":"true"},"True"))},Hee=e=>{let[t,r,n]=e.split("-"),a=new Date;return a.setFullYear(parseInt(t,10),parseInt(r,10)-1,parseInt(n,10)),a},Vee=e=>{let[t,r]=e.split(":"),n=new Date;return n.setHours(parseInt(t,10)),n.setMinutes(parseInt(r,10)),n},Uee=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}`},qee=e=>{let t=new Date(e),r=`0${t.getHours()}`.slice(-2),n=`0${t.getMinutes()}`.slice(-2);return`${r}:${n}`},A3=_(Ti.Input)(({readOnly:e})=>({opacity:e?.5:1})),Wee=_.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}})),Gee=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,argType:o})=>{var g;let[i,s]=l.useState(!0),u=l.useRef(),d=l.useRef(),f=!!((g=o==null?void 0:o.table)!=null&&g.readonly);l.useEffect(()=>{i!==!1&&(u&&u.current&&(u.current.value=t?Uee(t):""),d&&d.current&&(d.current.value=t?qee(t):""))},[t]);let h=v=>{if(!v.target.value)return r();let b=Hee(v.target.value),x=new Date(t);x.setFullYear(b.getFullYear(),b.getMonth(),b.getDate());let E=x.getTime();E&&r(E),s(!!E)},p=v=>{if(!v.target.value)return r();let b=Vee(v.target.value),x=new Date(t);x.setHours(b.getHours()),x.setMinutes(b.getMinutes());let E=x.getTime();E&&r(E),s(!!E)},m=Et(e);return y.createElement(Wee,null,y.createElement(A3,{type:"date",max:"9999-12-31",ref:u,id:`${m}-date`,name:`${m}-date`,readOnly:f,onChange:h,onFocus:n,onBlur:a}),y.createElement(A3,{type:"time",id:`${m}-time`,name:`${m}-time`,ref:d,onChange:p,readOnly:f,onFocus:n,onBlur:a}),i?null:y.createElement("div",null,"invalid"))},Kee=_.label({display:"flex"}),Yee=e=>{let t=parseFloat(e);return Number.isNaN(t)?void 0:t},Zee=_(Ti.Input)(({readOnly:e})=>({opacity:e?.5:1})),Jee=({name:e,value:t,onChange:r,min:n,max:a,step:o,onBlur:i,onFocus:s,argType:u})=>{var C;let[d,f]=l.useState(typeof t=="number"?t:""),[h,p]=l.useState(!1),[m,g]=l.useState(null),v=!!((C=u==null?void 0:u.table)!=null&&C.readonly),b=l.useCallback(w=>{f(w.target.value);let D=parseFloat(w.target.value);Number.isNaN(D)?g(new Error(`'${w.target.value}' is not a number`)):(r(D),g(null))},[r,g]),x=l.useCallback(()=>{f("0"),r(0),p(!0)},[p]),E=l.useRef(null);return l.useEffect(()=>{h&&E.current&&E.current.select()},[h]),l.useEffect(()=>{d!==(typeof t=="number"?t:"")&&f(t)},[t]),t===void 0?y.createElement(In,{variant:"outline",size:"medium",id:Ns(e),onClick:x,disabled:v},"Set number"):y.createElement(Kee,null,y.createElement(Zee,{ref:E,id:Et(e),type:"number",onChange:b,size:"flex",placeholder:"Edit number...",value:d,valid:m?"error":null,autoFocus:h,readOnly:v,name:e,min:n,max:a,step:o,onFocus:s,onBlur:i}))},UD=(e,t)=>{let r=t&&Object.entries(t).find(([n,a])=>a===e);return r?r[0]:void 0},Tp=(e,t)=>e&&t?Object.entries(t).filter(r=>e.includes(r[1])).map(r=>r[0]):[],qD=(e,t)=>e&&t&&e.map(r=>t[r]),Xee=_.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),Qee=_.span({"[aria-readonly=true] &":{opacity:.5}}),ete=_.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),k3=({name:e,options:t,value:r,onChange:n,isInline:a,argType:o})=>{var p;if(!t)return dm.warn(`Checkbox with no options: ${e}`),y.createElement(y.Fragment,null,"-");let i=Tp(r,t),[s,u]=l.useState(i),d=!!((p=o==null?void 0:o.table)!=null&&p.readonly),f=m=>{let g=m.target.value,v=[...s];v.includes(g)?v.splice(v.indexOf(g),1):v.push(g),n(qD(v,t)),u(v)};l.useEffect(()=>{u(Tp(r,t))},[r]);let h=Et(e);return y.createElement(Xee,{"aria-readonly":d,isInline:a},Object.keys(t).map((m,g)=>{let v=`${h}-${g}`;return y.createElement(ete,{key:v,htmlFor:v},y.createElement("input",{type:"checkbox",disabled:d,id:v,name:v,value:m,onChange:f,checked:s==null?void 0:s.includes(m)}),y.createElement(Qee,null,m))}))},tte=_.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),rte=_.span({"[aria-readonly=true] &":{opacity:.5}}),nte=_.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),_3=({name:e,options:t,value:r,onChange:n,isInline:a,argType:o})=>{var d;if(!t)return dm.warn(`Radio with no options: ${e}`),y.createElement(y.Fragment,null,"-");let i=UD(r,t),s=Et(e),u=!!((d=o==null?void 0:o.table)!=null&&d.readonly);return y.createElement(tte,{"aria-readonly":u,isInline:a},Object.keys(t).map((f,h)=>{let p=`${s}-${h}`;return y.createElement(nte,{key:p,htmlFor:p},y.createElement("input",{type:"radio",id:p,name:s,disabled:u,value:f,onChange:m=>n(t[m.currentTarget.value]),checked:f===i}),y.createElement(rte,null,f))}))},ate={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},WD=_.select(ate,({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}}})),GD=_.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}}})),F3="Choose option...",ote=({name:e,value:t,options:r,onChange:n,argType:a})=>{var d;let o=f=>{n(r[f.currentTarget.value])},i=UD(t,r)||F3,s=Et(e),u=!!((d=a==null?void 0:a.table)!=null&&d.readonly);return y.createElement(GD,null,y.createElement(AC,null),y.createElement(WD,{disabled:u,id:s,value:i,onChange:o},y.createElement("option",{key:"no-selection",disabled:!0},F3),Object.keys(r).map(f=>y.createElement("option",{key:f,value:f},f))))},ite=({name:e,value:t,options:r,onChange:n,argType:a})=>{var d;let o=f=>{let h=Array.from(f.currentTarget.options).filter(p=>p.selected).map(p=>p.value);n(qD(h,r))},i=Tp(t,r),s=Et(e),u=!!((d=a==null?void 0:a.table)!=null&&d.readonly);return y.createElement(GD,null,y.createElement(WD,{disabled:u,id:s,multiple:!0,value:i,onChange:o},Object.keys(r).map(f=>y.createElement("option",{key:f,value:f},f))))},I3=e=>{let{name:t,options:r}=e;return r?e.isMulti?y.createElement(ite,{...e}):y.createElement(ote,{...e}):(dm.warn(`Select with no options: ${t}`),y.createElement(y.Fragment,null,"-"))},lte=(e,t)=>Array.isArray(e)?e.reduce((r,n)=>(r[(t==null?void 0:t[n])||String(n)]=n,r),{}):e,ste={check:k3,"inline-check":k3,radio:_3,"inline-radio":_3,select:I3,"multi-select":I3},qn=e=>{let{type:t="select",labels:r,argType:n}=e,a={...e,argType:n,options:n?lte(n.options,r):{},isInline:t.includes("inline"),isMulti:t.includes("multi")},o=ste[t];if(o)return y.createElement(o,{...a});throw new Error(`Unknown options type: ${t}`)},ute="Error",cte="Object",dte="Array",pte="String",fte="Number",hte="Boolean",mte="Date",gte="Null",vte="Undefined",yte="Function",bte="Symbol",KD="ADD_DELTA_TYPE",YD="REMOVE_DELTA_TYPE",ZD="UPDATE_DELTA_TYPE",fm="value",wte="key";function cn(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 JD(e,t){let r=cn(e),n=cn(t);return(r==="Function"||n==="Function")&&n!==r}var hm=class extends l.Component{constructor(e){super(e),this.state={inputRefKey:null,inputRefValue:null},this.refInputValue=this.refInputValue.bind(this),this.refInputKey=this.refInputKey.bind(this),this.onKeydown=this.onKeydown.bind(this),this.onSubmit=this.onSubmit.bind(this)}componentDidMount(){let{inputRefKey:e,inputRefValue:t}=this.state,{onlyValue:r}=this.props;e&&typeof e.focus=="function"&&e.focus(),r&&t&&typeof t.focus=="function"&&t.focus(),document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.onSubmit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.props.handleCancel()))}onSubmit(){let{handleAdd:e,onlyValue:t,onSubmitValueParser:r,keyPath:n,deep:a}=this.props,{inputRefKey:o,inputRefValue:i}=this.state,s={};if(!t){if(!o.value)return;s.key=o.value}s.newValue=r(!1,n,a,s.key,i.value),e(s)}refInputKey(e){this.state.inputRefKey=e}refInputValue(e){this.state.inputRefValue=e}render(){let{handleCancel:e,onlyValue:t,addButtonElement:r,cancelButtonElement:n,inputElementGenerator:a,keyPath:o,deep:i}=this.props,s=l.cloneElement(r,{onClick:this.onSubmit}),u=l.cloneElement(n,{onClick:e}),d=a(fm,o,i),f=l.cloneElement(d,{placeholder:"Value",ref:this.refInputValue}),h=null;if(!t){let p=a(wte,o,i);h=l.cloneElement(p,{placeholder:"Key",ref:this.refInputKey})}return y.createElement("span",{className:"rejt-add-value-node"},h,f,u,s)}};hm.defaultProps={onlyValue:!1,addButtonElement:y.createElement("button",null,"+"),cancelButtonElement:y.createElement("button",null,"c")};var XD=class extends l.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={data:e.data,name:e.name,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveItem=this.handleRemoveItem.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:a}=this.props,o=n.length;a(n[o-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleRemoveItem(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:a,nextDeep:o}=this.state,i=n[e];t(e,a,o,i).then(()=>{let s={keyPath:a,deep:o,key:e,oldValue:i,type:YD};n.splice(e,1),this.setState({data:n});let{onUpdate:u,onDeltaUpdate:d}=this.props;u(a[a.length-1],n),d(s)}).catch(r.error)}}handleAddValueAdd({newValue:e}){let{data:t,keyPath:r,nextDeep:n}=this.state,{beforeAddAction:a,logger:o}=this.props;a(t.length,r,n,e).then(()=>{let i=[...t,e];this.setState({data:i}),this.handleAddValueCancel();let{onUpdate:s,onDeltaUpdate:u}=this.props;s(r[r.length-1],i),u({type:KD,keyPath:r,deep:n,key:i.length-1,newValue:e})}).catch(o.error)}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:a}=this.props,{data:o,keyPath:i,nextDeep:s}=this.state,u=o[e];a(e,i,s,u,t).then(()=>{o[e]=t,this.setState({data:o});let{onUpdate:d,onDeltaUpdate:f}=this.props;d(i[i.length-1],o),f({type:ZD,keyPath:i,deep:s,key:e,newValue:t,oldValue:u}),r(void 0)}).catch(n)})}renderCollapsed(){let{name:e,data:t,keyPath:r,deep:n}=this.state,{handleRemove:a,readOnly:o,getStyle:i,dataType:s,minusMenuElement:u}=this.props,{minus:d,collapsed:f}=i(e,t,r,n,s),h=o(e,t,r,n,s),p=l.cloneElement(u,{onClick:a,className:"rejt-minus-menu",style:d});return y.createElement("span",{className:"rejt-collapsed"},y.createElement("span",{className:"rejt-collapsed-text",style:f,onClick:this.handleCollapseMode},"[...] ",t.length," ",t.length===1?"item":"items"),!h&&p)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,addFormVisible:a,nextDeep:o}=this.state,{isCollapsed:i,handleRemove:s,onDeltaUpdate:u,readOnly:d,getStyle:f,dataType:h,addButtonElement:p,cancelButtonElement:m,editButtonElement:g,inputElementGenerator:v,textareaElementGenerator:b,minusMenuElement:x,plusMenuElement:E,beforeRemoveAction:C,beforeAddAction:w,beforeUpdateAction:D,logger:S,onSubmitValueParser:A}=this.props,{minus:k,plus:F,delimiter:T,ul:R,addForm:L}=f(e,t,r,n,h),z=d(e,t,r,n,h),M=l.cloneElement(E,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:F}),O=l.cloneElement(x,{onClick:s,className:"rejt-minus-menu",style:k});return y.createElement("span",{className:"rejt-not-collapsed"},y.createElement("span",{className:"rejt-not-collapsed-delimiter",style:T},"["),!a&&M,y.createElement("ul",{className:"rejt-not-collapsed-list",style:R},t.map(($,H)=>y.createElement(Xu,{key:H,name:H.toString(),data:$,keyPath:r,deep:o,isCollapsed:i,handleRemove:this.handleRemoveItem(H),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:u,readOnly:d,getStyle:f,addButtonElement:p,cancelButtonElement:m,editButtonElement:g,inputElementGenerator:v,textareaElementGenerator:b,minusMenuElement:x,plusMenuElement:E,beforeRemoveAction:C,beforeAddAction:w,beforeUpdateAction:D,logger:S,onSubmitValueParser:A}))),!z&&a&&y.createElement("div",{className:"rejt-add-form",style:L},y.createElement(hm,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,onlyValue:!0,addButtonElement:p,cancelButtonElement:m,inputElementGenerator:v,keyPath:r,deep:n,onSubmitValueParser:A})),y.createElement("span",{className:"rejt-not-collapsed-delimiter",style:T},"]"),!z&&O)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:a}=this.state,{dataType:o,getStyle:i}=this.props,s=t?this.renderCollapsed():this.renderNotCollapsed(),u=i(e,r,n,a,o);return y.createElement("div",{className:"rejt-array-node"},y.createElement("span",{onClick:this.handleCollapseMode},y.createElement("span",{className:"rejt-name",style:u.name},e," :"," ")),s)}};XD.defaultProps={keyPath:[],deep:0,minusMenuElement:y.createElement("span",null," - "),plusMenuElement:y.createElement("span",null," + ")};var QD=class extends l.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:a,deep:o}=this.state,{readOnly:i,dataType:s}=this.props,u=i(r,n,a,o,s);e&&!u&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:a}=this.props,{inputRef:o,name:i,deep:s}=this.state;if(!o)return;let u=n(!0,a,s,i,o.value);e({value:u,key:i}).then(()=>{JD(t,u)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:a}=this.state,{handleRemove:o,originalValue:i,readOnly:s,dataType:u,getStyle:d,editButtonElement:f,cancelButtonElement:h,textareaElementGenerator:p,minusMenuElement:m,keyPath:g}=this.props,v=d(e,i,n,a,u),b=null,x=null,E=s(e,i,n,a,u);if(r&&!E){let C=p(fm,g,a,e,i,u),w=l.cloneElement(f,{onClick:this.handleEdit}),D=l.cloneElement(h,{onClick:this.handleCancelEdit}),S=l.cloneElement(C,{ref:this.refInput,defaultValue:i});b=y.createElement("span",{className:"rejt-edit-form",style:v.editForm},S," ",D,w),x=null}else{b=y.createElement("span",{className:"rejt-value",style:v.value,onClick:E?null:this.handleEditMode},t);let C=l.cloneElement(m,{onClick:o,className:"rejt-minus-menu",style:v.minus});x=E?null:C}return y.createElement("li",{className:"rejt-function-value-node",style:v.li},y.createElement("span",{className:"rejt-name",style:v.name},e," :"," "),b,x)}};QD.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>{},editButtonElement:y.createElement("button",null,"e"),cancelButtonElement:y.createElement("button",null,"c"),minusMenuElement:y.createElement("span",null," - ")};var Xu=class extends l.Component{constructor(e){super(e),this.state={data:e.data,name:e.name,keyPath:e.keyPath,deep:e.deep}}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}render(){let{data:e,name:t,keyPath:r,deep:n}=this.state,{isCollapsed:a,handleRemove:o,handleUpdateValue:i,onUpdate:s,onDeltaUpdate:u,readOnly:d,getStyle:f,addButtonElement:h,cancelButtonElement:p,editButtonElement:m,inputElementGenerator:g,textareaElementGenerator:v,minusMenuElement:b,plusMenuElement:x,beforeRemoveAction:E,beforeAddAction:C,beforeUpdateAction:w,logger:D,onSubmitValueParser:S}=this.props,A=()=>!0,k=cn(e);switch(k){case ute:return y.createElement(Rp,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:s,onDeltaUpdate:u,readOnly:A,dataType:k,getStyle:f,addButtonElement:h,cancelButtonElement:p,editButtonElement:m,inputElementGenerator:g,textareaElementGenerator:v,minusMenuElement:b,plusMenuElement:x,beforeRemoveAction:E,beforeAddAction:C,beforeUpdateAction:w,logger:D,onSubmitValueParser:S});case cte:return y.createElement(Rp,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:s,onDeltaUpdate:u,readOnly:d,dataType:k,getStyle:f,addButtonElement:h,cancelButtonElement:p,editButtonElement:m,inputElementGenerator:g,textareaElementGenerator:v,minusMenuElement:b,plusMenuElement:x,beforeRemoveAction:E,beforeAddAction:C,beforeUpdateAction:w,logger:D,onSubmitValueParser:S});case dte:return y.createElement(XD,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:s,onDeltaUpdate:u,readOnly:d,dataType:k,getStyle:f,addButtonElement:h,cancelButtonElement:p,editButtonElement:m,inputElementGenerator:g,textareaElementGenerator:v,minusMenuElement:b,plusMenuElement:x,beforeRemoveAction:E,beforeAddAction:C,beforeUpdateAction:w,logger:D,onSubmitValueParser:S});case pte:return y.createElement(Er,{name:t,value:`"${e}"`,originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:k,getStyle:f,cancelButtonElement:p,editButtonElement:m,inputElementGenerator:g,minusMenuElement:b,logger:D,onSubmitValueParser:S});case fte:return y.createElement(Er,{name:t,value:e,originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:k,getStyle:f,cancelButtonElement:p,editButtonElement:m,inputElementGenerator:g,minusMenuElement:b,logger:D,onSubmitValueParser:S});case hte:return y.createElement(Er,{name:t,value:e?"true":"false",originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:k,getStyle:f,cancelButtonElement:p,editButtonElement:m,inputElementGenerator:g,minusMenuElement:b,logger:D,onSubmitValueParser:S});case mte:return y.createElement(Er,{name:t,value:e.toISOString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:A,dataType:k,getStyle:f,cancelButtonElement:p,editButtonElement:m,inputElementGenerator:g,minusMenuElement:b,logger:D,onSubmitValueParser:S});case gte:return y.createElement(Er,{name:t,value:"null",originalValue:"null",keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:k,getStyle:f,cancelButtonElement:p,editButtonElement:m,inputElementGenerator:g,minusMenuElement:b,logger:D,onSubmitValueParser:S});case vte:return y.createElement(Er,{name:t,value:"undefined",originalValue:"undefined",keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:k,getStyle:f,cancelButtonElement:p,editButtonElement:m,inputElementGenerator:g,minusMenuElement:b,logger:D,onSubmitValueParser:S});case yte:return y.createElement(QD,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:k,getStyle:f,cancelButtonElement:p,editButtonElement:m,textareaElementGenerator:v,minusMenuElement:b,logger:D,onSubmitValueParser:S});case bte:return y.createElement(Er,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:A,dataType:k,getStyle:f,cancelButtonElement:p,editButtonElement:m,inputElementGenerator:g,minusMenuElement:b,logger:D,onSubmitValueParser:S});default:return null}}};Xu.defaultProps={keyPath:[],deep:0};var Rp=class extends l.Component{constructor(e){super(e);let t=e.deep===-1?[]:[...e.keyPath,e.name];this.state={name:e.name,data:e.data,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveValue=this.handleRemoveValue.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:a}=this.props,o=n.length;a(n[o-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleAddValueAdd({key:e,newValue:t}){let{data:r,keyPath:n,nextDeep:a}=this.state,{beforeAddAction:o,logger:i}=this.props;o(e,n,a,t).then(()=>{r[e]=t,this.setState({data:r}),this.handleAddValueCancel();let{onUpdate:s,onDeltaUpdate:u}=this.props;s(n[n.length-1],r),u({type:KD,keyPath:n,deep:a,key:e,newValue:t})}).catch(i.error)}handleRemoveValue(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:a,nextDeep:o}=this.state,i=n[e];t(e,a,o,i).then(()=>{let s={keyPath:a,deep:o,key:e,oldValue:i,type:YD};delete n[e],this.setState({data:n});let{onUpdate:u,onDeltaUpdate:d}=this.props;u(a[a.length-1],n),d(s)}).catch(r.error)}}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:a}=this.props,{data:o,keyPath:i,nextDeep:s}=this.state,u=o[e];a(e,i,s,u,t).then(()=>{o[e]=t,this.setState({data:o});let{onUpdate:d,onDeltaUpdate:f}=this.props;d(i[i.length-1],o),f({type:ZD,keyPath:i,deep:s,key:e,newValue:t,oldValue:u}),r()}).catch(n)})}renderCollapsed(){let{name:e,keyPath:t,deep:r,data:n}=this.state,{handleRemove:a,readOnly:o,dataType:i,getStyle:s,minusMenuElement:u}=this.props,{minus:d,collapsed:f}=s(e,n,t,r,i),h=Object.getOwnPropertyNames(n),p=o(e,n,t,r,i),m=l.cloneElement(u,{onClick:a,className:"rejt-minus-menu",style:d});return y.createElement("span",{className:"rejt-collapsed"},y.createElement("span",{className:"rejt-collapsed-text",style:f,onClick:this.handleCollapseMode},"{...}"," ",h.length," ",h.length===1?"key":"keys"),!p&&m)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,nextDeep:a,addFormVisible:o}=this.state,{isCollapsed:i,handleRemove:s,onDeltaUpdate:u,readOnly:d,getStyle:f,dataType:h,addButtonElement:p,cancelButtonElement:m,editButtonElement:g,inputElementGenerator:v,textareaElementGenerator:b,minusMenuElement:x,plusMenuElement:E,beforeRemoveAction:C,beforeAddAction:w,beforeUpdateAction:D,logger:S,onSubmitValueParser:A}=this.props,{minus:k,plus:F,addForm:T,ul:R,delimiter:L}=f(e,t,r,n,h),z=Object.getOwnPropertyNames(t),M=d(e,t,r,n,h),O=l.cloneElement(E,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:F}),$=l.cloneElement(x,{onClick:s,className:"rejt-minus-menu",style:k}),H=z.map(K=>y.createElement(Xu,{key:K,name:K,data:t[K],keyPath:r,deep:a,isCollapsed:i,handleRemove:this.handleRemoveValue(K),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:u,readOnly:d,getStyle:f,addButtonElement:p,cancelButtonElement:m,editButtonElement:g,inputElementGenerator:v,textareaElementGenerator:b,minusMenuElement:x,plusMenuElement:E,beforeRemoveAction:C,beforeAddAction:w,beforeUpdateAction:D,logger:S,onSubmitValueParser:A}));return y.createElement("span",{className:"rejt-not-collapsed"},y.createElement("span",{className:"rejt-not-collapsed-delimiter",style:L},"{"),!M&&O,y.createElement("ul",{className:"rejt-not-collapsed-list",style:R},H),!M&&o&&y.createElement("div",{className:"rejt-add-form",style:T},y.createElement(hm,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,addButtonElement:p,cancelButtonElement:m,inputElementGenerator:v,keyPath:r,deep:n,onSubmitValueParser:A})),y.createElement("span",{className:"rejt-not-collapsed-delimiter",style:L},"}"),!M&&$)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:a}=this.state,{getStyle:o,dataType:i}=this.props,s=t?this.renderCollapsed():this.renderNotCollapsed(),u=o(e,r,n,a,i);return y.createElement("div",{className:"rejt-object-node"},y.createElement("span",{onClick:this.handleCollapseMode},y.createElement("span",{className:"rejt-name",style:u.name},e," :"," ")),s)}};Rp.defaultProps={keyPath:[],deep:0,minusMenuElement:y.createElement("span",null," - "),plusMenuElement:y.createElement("span",null," + ")};var Er=class extends l.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:a,deep:o}=this.state,{readOnly:i,dataType:s}=this.props,u=i(r,n,a,o,s);e&&!u&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:a}=this.props,{inputRef:o,name:i,deep:s}=this.state;if(!o)return;let u=n(!0,a,s,i,o.value);e({value:u,key:i}).then(()=>{JD(t,u)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:a}=this.state,{handleRemove:o,originalValue:i,readOnly:s,dataType:u,getStyle:d,editButtonElement:f,cancelButtonElement:h,inputElementGenerator:p,minusMenuElement:m,keyPath:g}=this.props,v=d(e,i,n,a,u),b=s(e,i,n,a,u),x=r&&!b,E=p(fm,g,a,e,i,u),C=l.cloneElement(f,{onClick:this.handleEdit}),w=l.cloneElement(h,{onClick:this.handleCancelEdit}),D=l.cloneElement(E,{ref:this.refInput,defaultValue:JSON.stringify(i)}),S=l.cloneElement(m,{onClick:o,className:"rejt-minus-menu",style:v.minus});return y.createElement("li",{className:"rejt-value-node",style:v.li},y.createElement("span",{className:"rejt-name",style:v.name},e," : "),x?y.createElement("span",{className:"rejt-edit-form",style:v.editForm},D," ",w,C):y.createElement("span",{className:"rejt-value",style:v.value,onClick:b?null:this.handleEditMode},String(t)),!b&&!x&&S)}};Er.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>Promise.resolve(),editButtonElement:y.createElement("button",null,"e"),cancelButtonElement:y.createElement("button",null,"c"),minusMenuElement:y.createElement("span",null," - ")};function Ete(e){let t=e;if(t.indexOf("function")===0)return(0,eval)(`(${t})`);try{t=JSON.parse(e)}catch{}return t}var xte={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},Cte={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},Dte={minus:{color:"red"},editForm:{},value:{color:"#7bba3d"},li:{minHeight:"22px",lineHeight:"22px",outline:"0px"},name:{color:"#2287CD"}},eS=class extends l.Component{constructor(e){super(e),this.state={data:e.data,rootName:e.rootName},this.onUpdate=this.onUpdate.bind(this),this.removeRoot=this.removeRoot.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data||e.rootName!==t.rootName?{data:e.data,rootName:e.rootName}:null}onUpdate(e,t){this.setState({data:t}),this.props.onFullyUpdate(t)}removeRoot(){this.onUpdate(null,null)}render(){let{data:e,rootName:t}=this.state,{isCollapsed:r,onDeltaUpdate:n,readOnly:a,getStyle:o,addButtonElement:i,cancelButtonElement:s,editButtonElement:u,inputElement:d,textareaElement:f,minusMenuElement:h,plusMenuElement:p,beforeRemoveAction:m,beforeAddAction:g,beforeUpdateAction:v,logger:b,onSubmitValueParser:x,fallback:E=null}=this.props,C=cn(e),w=a;cn(a)==="Boolean"&&(w=()=>a);let D=d;d&&cn(d)!=="Function"&&(D=()=>d);let S=f;return f&&cn(f)!=="Function"&&(S=()=>f),C==="Object"||C==="Array"?y.createElement("div",{className:"rejt-tree"},y.createElement(Xu,{data:e,name:t,deep:-1,isCollapsed:r,onUpdate:this.onUpdate,onDeltaUpdate:n,readOnly:w,getStyle:o,addButtonElement:i,cancelButtonElement:s,editButtonElement:u,inputElementGenerator:D,textareaElementGenerator:S,minusMenuElement:h,plusMenuElement:p,handleRemove:this.removeRoot,beforeRemoveAction:m,beforeAddAction:g,beforeUpdateAction:v,logger:b,onSubmitValueParser:x})):E}};eS.defaultProps={rootName:"root",isCollapsed:(e,t)=>t!==-1,getStyle:(e,t,r,n,a)=>{switch(a){case"Object":case"Error":return xte;case"Array":return Cte;default:return Dte}},readOnly:()=>!1,onFullyUpdate:()=>{},onDeltaUpdate:()=>{},beforeRemoveAction:()=>Promise.resolve(),beforeAddAction:()=>Promise.resolve(),beforeUpdateAction:()=>Promise.resolve(),logger:{error:()=>{}},onSubmitValueParser:(e,t,r,n,a)=>Ete(a),inputElement:()=>y.createElement("input",null),textareaElement:()=>y.createElement("textarea",null),fallback:null};var{window:Ste}=et,Ate=_.div(({theme:e})=>({position:"relative",display:"flex",'&[aria-readonly="true"]':{opacity:.5},".rejt-tree":{marginLeft:"1rem",fontSize:"13px"},".rejt-value-node, .rejt-object-node > .rejt-collapsed, .rejt-array-node > .rejt-collapsed, .rejt-object-node > .rejt-not-collapsed, .rejt-array-node > .rejt-not-collapsed":{"& > svg":{opacity:0,transition:"opacity 0.2s"}},".rejt-value-node:hover, .rejt-object-node:hover > .rejt-collapsed, .rejt-array-node:hover > .rejt-collapsed, .rejt-object-node:hover > .rejt-not-collapsed, .rejt-array-node:hover > .rejt-not-collapsed":{"& > svg":{opacity:1}},".rejt-edit-form button":{display:"none"},".rejt-add-form":{marginLeft:10},".rejt-add-value-node":{display:"inline-flex",alignItems:"center"},".rejt-name":{lineHeight:"22px"},".rejt-not-collapsed-delimiter":{lineHeight:"22px"},".rejt-plus-menu":{marginLeft:5},".rejt-object-node > span > *, .rejt-array-node > span > *":{position:"relative",zIndex:2},".rejt-object-node, .rejt-array-node":{position:"relative"},".rejt-object-node > span:first-of-type::after, .rejt-array-node > span:first-of-type::after, .rejt-collapsed::before, .rejt-not-collapsed::before":{content:'""',position:"absolute",top:0,display:"block",width:"100%",marginLeft:"-1rem",padding:"0 4px 0 1rem",height:22},".rejt-collapsed::before, .rejt-not-collapsed::before":{zIndex:1,background:"transparent",borderRadius:4,transition:"background 0.2s",pointerEvents:"none",opacity:.1},".rejt-object-node:hover, .rejt-array-node:hover":{"& > .rejt-collapsed::before, & > .rejt-not-collapsed::before":{background:e.color.secondary}},".rejt-collapsed::after, .rejt-not-collapsed::after":{content:'""',position:"absolute",display:"inline-block",pointerEvents:"none",width:0,height:0},".rejt-collapsed::after":{left:-8,top:8,borderTop:"3px solid transparent",borderBottom:"3px solid transparent",borderLeft:"3px solid rgba(153,153,153,0.6)"},".rejt-not-collapsed::after":{left:-10,top:10,borderTop:"3px solid rgba(153,153,153,0.6)",borderLeft:"3px solid transparent",borderRight:"3px solid transparent"},".rejt-value":{display:"inline-block",border:"1px solid transparent",borderRadius:4,margin:"1px 0",padding:"0 4px",cursor:"text",color:e.color.defaultText},".rejt-value-node:hover > .rejt-value":{background:e.color.lighter,borderColor:e.appBorderColor}})),Bd=_.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})),kte=_(s$)(({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}})),_te=_(u$)(({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}})),T3=_.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}`}})),Fte=_(hn)(({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}})),Ite=_(Ti.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"}})),Tte={bubbles:!0,cancelable:!0,key:"Enter",code:"Enter",keyCode:13},Rte=e=>{e.currentTarget.dispatchEvent(new Ste.KeyboardEvent("keydown",Tte))},Bte=e=>{e.currentTarget.select()},zte=e=>()=>({name:{color:e.color.secondary},collapsed:{color:e.color.dark},ul:{listStyle:"none",margin:"0 0 0 1rem",padding:0},li:{outline:0}}),R3=({name:e,value:t,onChange:r,argType:n})=>{var C;let a=hb(),o=l.useMemo(()=>t&&QZ(t),[t]),i=o!=null,[s,u]=l.useState(!i),[d,f]=l.useState(null),h=!!((C=n==null?void 0:n.table)!=null&&C.readonly),p=l.useCallback(w=>{try{w&&r(JSON.parse(w)),f(void 0)}catch(D){f(D)}},[r]),[m,g]=l.useState(!1),v=l.useCallback(()=>{r({}),g(!0)},[g]),b=l.useRef(null);if(l.useEffect(()=>{m&&b.current&&b.current.select()},[m]),!i)return y.createElement(In,{disabled:h,id:Ns(e),onClick:v},"Set object");let x=y.createElement(Ite,{ref:b,id:Et(e),name:e,defaultValue:t===null?"":JSON.stringify(t,null,2),onBlur:w=>p(w.target.value),placeholder:"Edit JSON string...",autoFocus:m,valid:d?"error":null,readOnly:h}),E=Array.isArray(t)||typeof t=="object"&&(t==null?void 0:t.constructor)===Object;return y.createElement(Ate,{"aria-readonly":h},E&&y.createElement(Fte,{onClick:w=>{w.preventDefault(),u(D=>!D)}},s?y.createElement(i$,null):y.createElement(o$,null),y.createElement("span",null,"RAW")),s?x:y.createElement(eS,{readOnly:h||!E,isCollapsed:E?void 0:()=>!0,data:o,rootName:e,onFullyUpdate:r,getStyle:zte(a),cancelButtonElement:y.createElement(Bd,{type:"button"},"Cancel"),editButtonElement:y.createElement(Bd,{type:"submit"},"Save"),addButtonElement:y.createElement(Bd,{type:"submit",primary:!0},"Save"),plusMenuElement:y.createElement(kte,null),minusMenuElement:y.createElement(_te,null),inputElement:(w,D,S,A)=>A?y.createElement(T3,{onFocus:Bte,onBlur:Rte}):y.createElement(T3,null),fallback:x}))},Ote=_.input(({theme:e,min:t,max:r,value:n,disabled:a})=>({"&":{width:"100%",backgroundColor:"transparent",appearance:"none"},"&::-webkit-slider-runnable-track":{background:e.base==="light"?`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, + ${Ot(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${Ot(.02,e.input.background)} 100%)`:`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, + ${tn(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${tn(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:a?"not-allowed":"pointer"},"&::-webkit-slider-thumb":{marginTop:"-6px",width:16,height:16,border:`1px solid ${sr(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${sr(e.appBorderColor,.2)}`,cursor:a?"not-allowed":"grab",appearance:"none",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${Ot(.05,e.input.background)}`,transform:"scale3d(1.1, 1.1, 1.1) translateY(-1px)",transition:"all 50ms ease-out"},"&:active":{background:`${e.input.background}`,transform:"scale3d(1, 1, 1) translateY(0px)",cursor:a?"not-allowed":"grab"}},"&:focus":{outline:"none","&::-webkit-slider-runnable-track":{borderColor:sr(e.color.secondary,.4)},"&::-webkit-slider-thumb":{borderColor:e.color.secondary,boxShadow:`0 0px 5px 0px ${e.color.secondary}`}},"&::-moz-range-track":{background:e.base==="light"?`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, + ${Ot(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${Ot(.02,e.input.background)} 100%)`:`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, + ${tn(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${tn(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:a?"not-allowed":"pointer",outline:"none"},"&::-moz-range-thumb":{width:16,height:16,border:`1px solid ${sr(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${sr(e.appBorderColor,.2)}`,cursor:a?"not-allowed":"grap",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${Ot(.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}%, + ${Ot(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${Ot(.02,e.input.background)} 100%)`:`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, + ${tn(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${tn(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,color:"transparent",width:"100%",height:"6px",cursor:"pointer"},"&::-ms-fill-lower":{borderRadius:6},"&::-ms-fill-upper":{borderRadius:6},"&::-ms-thumb":{width:16,height:16,background:`${e.input.background}`,border:`1px solid ${sr(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),tS=_.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums","[aria-readonly=true] &":{opacity:.5}}),Lte=_(tS)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),Mte=_.div({display:"flex",alignItems:"center",width:"100%"});function $te(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 Pte=({name:e,value:t,onChange:r,min:n=0,max:a=100,step:o=1,onBlur:i,onFocus:s,argType:u})=>{var m;let d=g=>{r(Yee(g.target.value))},f=t!==void 0,h=l.useMemo(()=>$te(o),[o]),p=!!((m=u==null?void 0:u.table)!=null&&m.readonly);return y.createElement(Mte,{"aria-readonly":p},y.createElement(tS,null,n),y.createElement(Ote,{id:Et(e),type:"range",disabled:p,onChange:d,name:e,value:t,min:n,max:a,step:o,onFocus:s,onBlur:i}),y.createElement(Lte,{numberOFDecimalsPlaces:h,max:a},f?t.toFixed(h):"--"," / ",a))},Nte=_.label({display:"flex"}),jte=_.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),Hte=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,maxLength:o,argType:i})=>{var m;let s=g=>{r(g.target.value)},u=!!((m=i==null?void 0:i.table)!=null&&m.readonly),[d,f]=l.useState(!1),h=l.useCallback(()=>{r(""),f(!0)},[f]);if(t===void 0)return y.createElement(In,{variant:"outline",size:"medium",disabled:u,id:Ns(e),onClick:h},"Set string");let p=typeof t=="string";return y.createElement(Nte,null,y.createElement(Ti.Textarea,{id:Et(e),maxLength:o,onChange:s,disabled:u,size:"flex",placeholder:"Edit string...",autoFocus:d,valid:p?null:"error",name:e,value:p?t:"",onFocus:n,onBlur:a}),o&&y.createElement(jte,{isMaxed:(t==null?void 0:t.length)===o},(t==null?void 0:t.length)??0," / ",o))},Vte=_(Ti.Input)({padding:10});function Ute(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var qte=({onChange:e,name:t,accept:r="image/*",value:n,argType:a})=>{var u;let o=l.useRef(null),i=(u=a==null?void 0:a.control)==null?void 0:u.readOnly;function s(d){if(!d.target.files)return;let f=Array.from(d.target.files).map(h=>URL.createObjectURL(h));e(f),Ute(n)}return l.useEffect(()=>{n==null&&o.current&&(o.current.value=null)},[n,t]),y.createElement(Vte,{ref:o,id:Et(t),type:"file",name:t,multiple:!0,disabled:i,onChange:s,accept:r,size:"flex"})},Wte=l.lazy(()=>$3(()=>import("./Color-ERTF36HU-B3LPFtYd.js"),__vite__mapDeps([8,2,1,3,4,5,6,7]),import.meta.url)),Gte=e=>y.createElement(l.Suspense,{fallback:y.createElement("div",null)},y.createElement(Wte,{...e})),Kte={array:R3,object:R3,boolean:jee,color:Gte,date:Gee,number:Jee,check:qn,"inline-check":qn,radio:qn,"inline-radio":qn,select:qn,"multi-select":qn,range:Pte,text:Hte,file:qte},B3=()=>y.createElement(y.Fragment,null,"-"),Yte=({row:e,arg:t,updateArgs:r,isHovered:n})=>{var v;let{key:a,control:o}=e,[i,s]=l.useState(!1),[u,d]=l.useState({value:t});l.useEffect(()=>{i||d({value:t})},[i,t]);let f=l.useCallback(b=>(d({value:b}),r({[a]:b}),b),[r,a]),h=l.useCallback(()=>s(!1),[]),p=l.useCallback(()=>s(!0),[]);if(!o||o.disable){let b=(o==null?void 0:o.disable)!==!0&&((v=e==null?void 0:e.type)==null?void 0:v.name)!=="function";return n&&b?y.createElement(da,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):y.createElement(B3,null)}let m={name:a,argType:e,value:u.value,onChange:f,onBlur:h,onFocus:p},g=Kte[o.type]||B3;return y.createElement(g,{...m,...o,controlType:o.type})},Zte=_.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:jr({theme:e}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:e.typography.size.s1}}})),Jte=({tags:e})=>{let t=(e.params||[]).filter(o=>o.description),r=t.length!==0,n=e.deprecated!=null,a=e.returns!=null&&e.returns.description!=null;return!r&&!a&&!n?null:y.createElement(y.Fragment,null,y.createElement(Zte,null,y.createElement("tbody",null,n&&y.createElement("tr",{key:"deprecated"},y.createElement("td",{colSpan:2},y.createElement("strong",null,"Deprecated"),": ",e.deprecated.toString())),r&&t.map(o=>y.createElement("tr",{key:o.name},y.createElement("td",null,y.createElement("code",null,o.name)),y.createElement("td",null,o.description))),a&&y.createElement("tr",{key:"returns"},y.createElement("td",null,y.createElement("code",null,"Returns")),y.createElement("td",null,e.returns.description)))))},Bp=8,z3=_.div(({isExpanded:e})=>({display:"flex",flexDirection:e?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100})),Xte=_.span(jr,({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}})),Qte=_.button(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,marginBottom:"4px",background:"none",border:"none"})),ere=_.div(jr,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"})),tre=_.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"}})),rre=_(f$)({marginLeft:4}),nre=_(AC)({marginLeft:4}),are=()=>y.createElement("span",null,"-"),rS=({text:e,simple:t})=>y.createElement(Xte,{simple:t},e),ore=_D(1e3)(e=>{let t=e.split(/\r?\n/);return`${Math.max(...t.map(r=>r.length))}ch`}),ire=e=>{if(!e)return[e];let t=e.split("|").map(r=>r.trim());return OJ(t)},O3=(e,t=!0)=>{let r=e;return t||(r=e.slice(0,Bp)),r.map(n=>y.createElement(rS,{key:n,text:n===""?'""':n}))},lre=({value:e,initialExpandedArgs:t})=>{let{summary:r,detail:n}=e,[a,o]=l.useState(!1),[i,s]=l.useState(t||!1);if(r==null)return null;let u=typeof r.toString=="function"?r.toString():r;if(n==null){if(/[(){}[\]<>]/.test(u))return y.createElement(rS,{text:u});let d=ire(u),f=d.length;return f>Bp?y.createElement(z3,{isExpanded:i},O3(d,i),y.createElement(Qte,{onClick:()=>s(!i)},i?"Show less...":`Show ${f-Bp} more...`)):y.createElement(z3,null,O3(d))}return y.createElement(SL,{closeOnOutsideClick:!0,placement:"bottom",visible:a,onVisibleChange:d=>{o(d)},tooltip:y.createElement(tre,{width:ore(n)},y.createElement(Ih,{language:"jsx",format:!1},n))},y.createElement(ere,{className:"sbdocs-expandable"},y.createElement("span",null,u),a?y.createElement(rre,null):y.createElement(nre,null)))},zd=({value:e,initialExpandedArgs:t})=>e==null?y.createElement(are,null):y.createElement(lre,{value:e,initialExpandedArgs:t}),sre=_.span({fontWeight:"bold"}),ure=_.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),cre=_.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...jr({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),dre=_.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?se(.1,e.color.defaultText):se(.2,e.color.defaultText),marginTop:t?4:0})),pre=_.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?se(.1,e.color.defaultText):se(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),fre=_.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),hre=e=>e&&{summary:typeof e=="string"?e:e.name},vl=e=>{var v;let[t,r]=l.useState(!1),{row:n,updateArgs:a,compact:o,expandable:i,initialExpandedArgs:s}=e,{name:u,description:d}=n,f=n.table||{},h=f.type||hre(n.type),p=f.defaultValue||n.defaultValue,m=(v=n.type)==null?void 0:v.required,g=d!=null&&d!=="";return y.createElement("tr",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},y.createElement(fre,{expandable:i},y.createElement(sre,null,u),m?y.createElement(ure,{title:"Required"},"*"):null),o?null:y.createElement("td",null,g&&y.createElement(cre,null,y.createElement(CD,null,d)),f.jsDocTags!=null?y.createElement(y.Fragment,null,y.createElement(pre,{hasDescription:g},y.createElement(zd,{value:h,initialExpandedArgs:s})),y.createElement(Jte,{tags:f.jsDocTags})):y.createElement(dre,{hasDescription:g},y.createElement(zd,{value:h,initialExpandedArgs:s}))),o?null:y.createElement("td",null,y.createElement(zd,{value:p,initialExpandedArgs:s})),a?y.createElement("td",null,y.createElement(Yte,{...e,isHovered:t})):null)},mre=_.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"})),gre=_.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),vre=_.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),yre=({inAddonPanel:e})=>{let[t,r]=l.useState(!0);return l.useEffect(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:y.createElement(mre,{inAddonPanel:e},y.createElement(gC,{title:e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated",description:y.createElement(y.Fragment,null,"Controls give you an easy to use interface to test your components. Set your story args and you'll see controls appearing here automatically."),footer:y.createElement(gre,null,e&&y.createElement(y.Fragment,null,y.createElement(da,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},y.createElement(l$,null)," Watch 5m video"),y.createElement(vre,null),y.createElement(da,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},y.createElement(xp,null)," Read docs")),!e&&y.createElement(da,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},y.createElement(xp,null)," Learn how to set that up"))}))},bre=_(d$)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?se(.25,e.color.defaultText):se(.3,e.color.defaultText),border:"none",display:"inline-block"})),wre=_(p$)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?se(.25,e.color.defaultText):se(.3,e.color.defaultText),border:"none",display:"inline-block"})),Ere=_.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),xre=_.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"?se(.4,e.color.defaultText):se(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),Cre=_.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),Dre=_.td(()=>({position:"relative"})),Sre=_.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${tn(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),L3=_.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"})),Od=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:a=3})=>{let[o,i]=l.useState(n),s=e==="subsection"?Cre:xre,u=(r==null?void 0:r.length)||0,d=e==="subsection"?`${u} item${u!==1?"s":""}`:"",f=`${o?"Hide":"Show"} ${e==="subsection"?u:t} item${u!==1?"s":""}`;return y.createElement(y.Fragment,null,y.createElement(Sre,{title:f},y.createElement(s,{colSpan:1},y.createElement(L3,{onClick:h=>i(!o),tabIndex:0},f),y.createElement(Ere,null,o?y.createElement(bre,null):y.createElement(wre,null),t)),y.createElement(Dre,{colSpan:a-1},y.createElement(L3,{onClick:h=>i(!o),tabIndex:-1,style:{outline:"none"}},f),o?null:d)),o?r:null)},yl=_.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),Ie=_.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),ye=_.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})),Te=[2,4,2,2],Are=()=>y.createElement(y.Fragment,null,y.createElement(yl,null,y.createElement(Ie,{numColumn:Te[0]},y.createElement(ye,{width:"60%"})),y.createElement(Ie,{numColumn:Te[1]},y.createElement(ye,{width:"30%"})),y.createElement(Ie,{numColumn:Te[2]},y.createElement(ye,{width:"60%"})),y.createElement(Ie,{numColumn:Te[3]},y.createElement(ye,{width:"60%"}))),y.createElement(yl,null,y.createElement(Ie,{numColumn:Te[0]},y.createElement(ye,{width:"60%"})),y.createElement(Ie,{numColumn:Te[1]},y.createElement(ye,{width:"80%"}),y.createElement(ye,{width:"30%"})),y.createElement(Ie,{numColumn:Te[2]},y.createElement(ye,{width:"60%"})),y.createElement(Ie,{numColumn:Te[3]},y.createElement(ye,{width:"60%"}))),y.createElement(yl,null,y.createElement(Ie,{numColumn:Te[0]},y.createElement(ye,{width:"60%"})),y.createElement(Ie,{numColumn:Te[1]},y.createElement(ye,{width:"80%"}),y.createElement(ye,{width:"30%"})),y.createElement(Ie,{numColumn:Te[2]},y.createElement(ye,{width:"60%"})),y.createElement(Ie,{numColumn:Te[3]},y.createElement(ye,{width:"60%"}))),y.createElement(yl,null,y.createElement(Ie,{numColumn:Te[0]},y.createElement(ye,{width:"60%"})),y.createElement(Ie,{numColumn:Te[1]},y.createElement(ye,{width:"80%"}),y.createElement(ye,{width:"30%"})),y.createElement(Ie,{numColumn:Te[2]},y.createElement(ye,{width:"60%"})),y.createElement(Ie,{numColumn:Te[3]},y.createElement(ye,{width:"60%"})))),kre=_.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"?se(.25,e.color.defaultText):se(.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}}}}})),_re=_(hn)(({theme:e})=>({margin:"-4px -12px -4px 0"})),Fre=_.span({display:"flex",justifyContent:"space-between"}),Ire={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},Tre=(e,t)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([o,i])=>{let{category:s,subcategory:u}=(i==null?void 0:i.table)||{};if(s){let d=r.sections[s]||{ungrouped:[],subsections:{}};if(!u)d.ungrouped.push({key:o,...i});else{let f=d.subsections[u]||[];f.push({key:o,...i}),d.subsections[u]=f}r.sections[s]=d}else if(u){let d=r.ungroupedSubsections[u]||[];d.push({key:o,...i}),r.ungroupedSubsections[u]=d}else r.ungrouped.push({key:o,...i})});let n=Ire[t],a=o=>n?Object.keys(o).reduce((i,s)=>({...i,[s]:o[s].sort(n)}),{}):o;return{ungrouped:r.ungrouped.sort(n),ungroupedSubsections:a(r.ungroupedSubsections),sections:Object.keys(r.sections).reduce((o,i)=>({...o,[i]:{ungrouped:r.sections[i].ungrouped.sort(n),subsections:a(r.sections[i].subsections)}}),{})}},Rre=(e,t,r)=>{try{return fS(e,t,r)}catch(n){return ree.warn(n.message),!1}},zp=e=>{let{updateArgs:t,resetArgs:r,compact:n,inAddonPanel:a,initialExpandedArgs:o,sort:i="none",isLoading:s}=e;if("error"in e){let{error:E}=e;return y.createElement(PD,null,E," ",y.createElement(da,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},y.createElement(xp,null)," Read the docs"))}if(s)return y.createElement(Are,null);let{rows:u,args:d,globals:f}="rows"in e&&e,h=Tre(pG(u,E=>{var C;return!((C=E==null?void 0:E.table)!=null&&C.disable)&&Rre(E,d||{},f||{})}),i),p=h.ungrouped.length===0,m=Object.entries(h.sections).length===0,g=Object.entries(h.ungroupedSubsections).length===0;if(p&&m&&g)return y.createElement(yre,{inAddonPanel:a});let v=1;t&&(v+=1),n||(v+=2);let b=Object.keys(h.sections).length>0,x={updateArgs:t,compact:n,inAddonPanel:a,initialExpandedArgs:o};return y.createElement(Fh,null,y.createElement(kre,{compact:n,inAddonPanel:a,className:"docblock-argstable sb-unstyled"},y.createElement("thead",{className:"docblock-argstable-head"},y.createElement("tr",null,y.createElement("th",null,y.createElement("span",null,"Name")),n?null:y.createElement("th",null,y.createElement("span",null,"Description")),n?null:y.createElement("th",null,y.createElement("span",null,"Default")),t?y.createElement("th",null,y.createElement(Fre,null,"Control"," ",!s&&r&&y.createElement(_re,{onClick:()=>r(),title:"Reset controls"},y.createElement(h$,{"aria-hidden":!0})))):null)),y.createElement("tbody",{className:"docblock-argstable-body"},h.ungrouped.map(E=>y.createElement(vl,{key:E.key,row:E,arg:d&&d[E.key],...x})),Object.entries(h.ungroupedSubsections).map(([E,C])=>y.createElement(Od,{key:E,label:E,level:"subsection",colSpan:v},C.map(w=>y.createElement(vl,{key:w.key,row:w,arg:d&&d[w.key],expandable:b,...x})))),Object.entries(h.sections).map(([E,C])=>y.createElement(Od,{key:E,label:E,level:"section",colSpan:v},C.ungrouped.map(w=>y.createElement(vl,{key:w.key,row:w,arg:d&&d[w.key],...x})),Object.entries(C.subsections).map(([w,D])=>y.createElement(Od,{key:w,label:w,level:"subsection",colSpan:v},D.map(S=>y.createElement(vl,{key:S.key,row:S,arg:d&&d[S.key],expandable:b,...x})))))))))},Bre=({tabs:e,...t})=>{let r=Object.entries(e);return r.length===1?y.createElement(zp,{...r[0][1],...t}):y.createElement(lM,null,r.map((n,a)=>{let[o,i]=n,s=`prop_table_div_${o}`,u="div",d=a===0?t:{sort:t.sort};return y.createElement(u,{key:s,id:s,title:o},({active:f})=>f?y.createElement(zp,{key:`prop_table_${o}`,...i,...d}):null)}))};_.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?se(.4,e.color.defaultText):se(.6,e.color.defaultText)}));_.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});_.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}});_.div(de,({theme:e})=>({...Ju(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"?se(.2,e.color.defaultText):se(.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"?se(.4,e.color.defaultText):se(.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})=>({...Ju(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"?se(.4,e.color.defaultText):se(.6,e.color.defaultText)}));_.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));var zre=_.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2})),Ore=_.div(({theme:e})=>({...Ju(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}})),Lre=_.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"}),Mre=_.div({display:"flex",flexFlow:"row wrap"}),cae=({name:e,children:t})=>y.createElement(Lre,null,y.createElement(Ore,null,t),y.createElement(zre,null,e)),dae=({children:e,...t})=>y.createElement(Fh,null,y.createElement(Mre,{...t,className:"docblock-icongallery sb-unstyled"},e)),$re=e=>`anchor--${e}`,nS=({storyId:e,children:t})=>y.createElement("div",{id:$re(e),className:"sb-anchor"},t);et&&et.__DOCS_CONTEXT__===void 0&&(et.__DOCS_CONTEXT__=l.createContext(null),et.__DOCS_CONTEXT__.displayName="DocsContext");var St=et?et.__DOCS_CONTEXT__:l.createContext(null),zn=(e,t)=>l.useContext(St).resolveOf(e,t),Pre=e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""),Nre=e=>{if(e)return typeof e=="string"?e.includes("-")?Pre(e):e:e.__docgenInfo&&e.__docgenInfo.displayName?e.__docgenInfo.displayName:e.name};function jre(e,t="start"){e.scrollIntoView({behavior:"smooth",block:t,inline:"nearest"})}function aS(e){return eee(e,{allowFunction:!1})}var oS=l.createContext({sources:{}}),iS="--unknown--",Hre=({children:e,channel:t})=>{let[r,n]=l.useState({});return l.useEffect(()=>{let a=(o,i=null,s=!1)=>{let{id:u,args:d=void 0,source:f,format:h}=typeof o=="string"?{id:o,source:i,format:s}:o,p=d?aS(d):iS;n(m=>({...m,[u]:{...m[u],[p]:{code:f,format:h}}}))};return t.on(Em,a),()=>t.off(Em,a)},[]),y.createElement(oS.Provider,{value:{sources:r}},e)},Vre=(e,t,r)=>{let{sources:n}=r,a=n==null?void 0:n[e];return(a==null?void 0:a[aS(t)])||(a==null?void 0:a[iS])||{code:""}},Ure=({snippet:e,storyContext:t,typeFromProps:r,transformFromProps:n})=>{var u,d;let{__isArgsStory:a}=t.parameters,o=((u=t.parameters.docs)==null?void 0:u.source)||{},i=r||o.type||tc.AUTO;if(o.code!==void 0)return o.code;let s=i===tc.DYNAMIC||i===tc.AUTO&&e&&a?e:o.originalSource||"";return((d=n??o.transform)==null?void 0:d(s,t))||s},qre=(e,t,r)=>{var m,g,v,b;let n,{of:a}=e;if("of"in e&&a===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");if(a)n=t.resolveOf(a,["story"]).story;else try{n=t.storyById()}catch{}let o=((g=(m=n==null?void 0:n.parameters)==null?void 0:m.docs)==null?void 0:g.source)||{},{code:i}=e,s=e.format??o.format,u=e.language??o.language??"jsx",d=e.dark??o.dark??!1;if(!i&&!n)return{error:"Oh no! The source is not available."};if(i)return{code:i,format:s,language:u,dark:d};let f=t.getStoryContext(n),h=e.__forceInitialArgs?f.initialArgs:f.unmappedArgs,p=Vre(n.id,h,r);return s=p.format??((b=(v=n.parameters.docs)==null?void 0:v.source)==null?void 0:b.format)??!1,{code:Ure({snippet:p.code,storyContext:{...f,args:h},typeFromProps:e.type,transformFromProps:e.transform}),format:s,language:u,dark:d}};function Wre(e,t){let r=Gre([e],t);return r&&r[0]}function Gre(e,t){let[r,n]=l.useState({});return l.useEffect(()=>{Promise.all(e.map(async a=>{let o=await t.loadStory(a);n(i=>i[a]===o?i:{...i,[a]:o})}))}),e.map(a=>{if(r[a])return r[a];try{return t.storyById(a)}catch{return null}})}var Kre=(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},Yre=(e,t,r)=>{let{parameters:n={}}=t||{},{docs:a={}}=n,o=a.story||{};if(a.disable)return null;if(e.inline??o.inline??!1){let s=e.height??o.height,u=e.autoplay??o.autoplay??!1;return{story:t,inline:!0,height:s,autoplay:u,forceInitialArgs:!!e.__forceInitialArgs,primary:!!e.__primary,renderStoryToElement:r.renderStoryToElement}}let i=e.height??o.height??o.iframeHeight??"100px";return{story:t,inline:!1,height:i,primary:!!e.__primary}},Zre=(e={__forceInitialArgs:!1,__primary:!1})=>{let t=l.useContext(St),r=Kre(e,t),n=Wre(r,t);if(!n)return y.createElement(HD,null);let a=Yre(e,n,t);return a?y.createElement(_ee,{...a}):null},Jre=e=>{var p,m,g,v,b,x,E,C,w,D;let t=l.useContext(St),r=l.useContext(oS),{of:n,source:a}=e;if("of"in e&&n===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let{story:o}=zn(n||"story",["story"]),i=qre({...a,...n&&{of:n}},t,r),s=e.layout??o.parameters.layout??((m=(p=o.parameters.docs)==null?void 0:p.canvas)==null?void 0:m.layout)??"padded",u=e.withToolbar??((v=(g=o.parameters.docs)==null?void 0:g.canvas)==null?void 0:v.withToolbar)??!1,d=e.additionalActions??((x=(b=o.parameters.docs)==null?void 0:b.canvas)==null?void 0:x.additionalActions),f=e.sourceState??((C=(E=o.parameters.docs)==null?void 0:E.canvas)==null?void 0:C.sourceState)??"hidden",h=e.className??((D=(w=o.parameters.docs)==null?void 0:w.canvas)==null?void 0:D.className);return y.createElement(VD,{withSource:f==="none"?void 0:i,isExpanded:f==="shown",withToolbar:u,additionalActions:d,className:h,layout:s},y.createElement(Zre,{of:n||o.moduleExport,meta:e.meta,...e.story}))},Xre=(e,t)=>{let r=Qre(e,t);if(!r)throw new Error("No result when story was defined");return r},Qre=(e,t)=>{let r=e?t.getStoryContext(e):{args:{}},{id:n}=e||{id:"none"},[a,o]=l.useState(r.args);l.useEffect(()=>{let u=d=>{d.storyId===n&&o(d.args)};return t.channel.on(C3,u),()=>t.channel.off(C3,u)},[n,t.channel]);let i=l.useCallback(u=>t.channel.emit(nee,{storyId:n,updatedArgs:u}),[n,t.channel]),s=l.useCallback(u=>t.channel.emit(aee,{storyId:n,argNames:u}),[n,t.channel]);return e&&[a,i,s]},ene=(e,t)=>{let r=t.getStoryContext(e),[n,a]=l.useState(r.globals);return l.useEffect(()=>{let o=i=>{a(i.globals)};return t.channel.on(D3,o),()=>t.channel.off(D3,o)},[t.channel]),[n]};function tne(e,t){let{extractArgTypes:r}=t.docs||{};if(!r)throw new Error("Args unsupported. See Args documentation for your framework.");return r(e)}var rne=e=>{var w;let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let r=l.useContext(St),{story:n}=r.resolveOf(t||"story",["story"]),{parameters:a,argTypes:o,component:i,subcomponents:s}=n,u=((w=a.docs)==null?void 0:w.controls)||{},d=e.include??u.include,f=e.exclude??u.exclude,h=e.sort??u.sort,[p,m,g]=Xre(n,r),[v]=ene(n,r),b=x3(o,d,f);if(!(s&&Object.keys(s).length>0))return Object.keys(b).length>0||Object.keys(p).length>0?y.createElement(zp,{rows:b,sort:h,args:p,globals:v,updateArgs:m,resetArgs:g}):null;let x=Nre(i),E=Object.fromEntries(Object.entries(s).map(([D,S])=>[D,{rows:x3(tne(S,a),d,f),sort:h}])),C={[x]:{rows:b,sort:h},...E};return y.createElement(Bre,{tabs:C,sort:h,args:p,globals:v,updateArgs:m,resetArgs:g})},{document:lS}=et,nne=({className:e,children:t,...r})=>{if(typeof e!="string"&&(typeof t!="string"||!t.match(/[\n\r]/g)))return y.createElement(Bx,null,t);let n=e&&e.split("-");return y.createElement(ND,{language:n&&n[1]||"text",format:!1,code:t,...r})};function mm(e,t){e.channel.emit(oee,t)}var Op=DM.a,ane=({hash:e,children:t})=>{let r=l.useContext(St);return y.createElement(Op,{href:e,target:"_self",onClick:n=>{let a=e.substring(1);lS.getElementById(a)&&mm(r,e)}},t)},one=e=>{let{href:t,target:r,children:n,...a}=e,o=l.useContext(St);return!t||r==="_blank"||/^https?:\/\//.test(t)?y.createElement(Op,{...e}):t.startsWith("#")?y.createElement(ane,{hash:t},n):y.createElement(Op,{href:t,onClick:i=>{i.button===0&&!i.altKey&&!i.ctrlKey&&!i.metaKey&&!i.shiftKey&&(i.preventDefault(),mm(o,i.currentTarget.getAttribute("href")))},target:r,...a},n)},sS=["h1","h2","h3","h4","h5","h6"],ine=sS.reduce((e,t)=>({...e,[t]:_(t)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})}),{}),lne=_.a(()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"})),sne=({as:e,id:t,children:r,...n})=>{let a=l.useContext(St),o=ine[e],i=`#${t}`;return y.createElement(o,{id:t,...n},y.createElement(lne,{"aria-hidden":"true",href:i,tabIndex:-1,target:"_self",onClick:s=>{lS.getElementById(t)&&mm(a,i)}},y.createElement(c$,null)),r)},gm=e=>{let{as:t,id:r,children:n,...a}=e;if(r)return y.createElement(sne,{as:t,id:r,...a},n);let o=t,{as:i,...s}=e;return y.createElement(o,{...ce(s,t)})},une=sS.reduce((e,t)=>({...e,[t]:r=>y.createElement(gm,{as:t,...r})}),{}),cne=e=>{var t;if(!e.children)return null;if(typeof e.children!="string")throw new Error(hS`The Markdown block only accepts children as a single string, but children were of type: '${typeof e.children}' + This is often caused by not wrapping the child in a template string. + + This is invalid: + + # Some heading + A paragraph + + + Instead do: + + {\` + # Some heading + A paragraph + \`} + + `);return y.createElement(CD,{...e,options:{forceBlock:!0,overrides:{code:nne,a:one,...une,...(t=e==null?void 0:e.options)==null?void 0:t.overrides},...e==null?void 0:e.options}})},dne=(e=>(e.INFO="info",e.NOTES="notes",e.DOCGEN="docgen",e.AUTO="auto",e))(dne||{}),pne=e=>{var t,r,n,a,o,i,s,u;switch(e.type){case"story":return((r=(t=e.story.parameters.docs)==null?void 0:t.description)==null?void 0:r.story)||null;case"meta":{let{parameters:d,component:f}=e.preparedMeta;return((a=(n=d.docs)==null?void 0:n.description)==null?void 0:a.component)||((i=(o=d.docs)==null?void 0:o.extractComponentDescription)==null?void 0:i.call(o,f,{component:f,parameters:d}))||null}case"component":{let{component:d,projectAnnotations:{parameters:f}}=e;return((u=(s=f.docs)==null?void 0:s.extractComponentDescription)==null?void 0:u.call(s,d,{component:d,parameters:f}))||null}default:throw new Error(`Unrecognized module type resolved from 'useOf', got: ${e.type}`)}},Lp=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=zn(t||"meta"),n=pne(r);return n?y.createElement(cne,null,n):null},M3=wS(dee()),fne=_.div(({theme:e})=>({width:"10rem","@media (max-width: 768px)":{display:"none"}})),hne=_.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"}})),mne=_.p(({theme:e})=>({fontWeight:600,fontSize:"0.875em",color:e.textColor,textTransform:"uppercase",marginBottom:10})),gne=({title:e})=>e===null?null:typeof e=="string"?y.createElement(mne,null,e):e,vne=({title:e,disable:t,headingSelector:r,contentsSelector:n,ignoreSelector:a,unsafeTocbotOptions:o})=>(l.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,...o},s=setTimeout(()=>M3.init(i),100);return()=>{clearTimeout(s),M3.destroy()}},[t]),y.createElement(y.Fragment,null,y.createElement(fne,null,t?null:y.createElement(hne,null,y.createElement(gne,{title:e||null}),y.createElement("div",{className:"toc-wrapper"}))))),{document:yne,window:bne}=et,wne=({context:e,theme:t,children:r})=>{var a,o,i,s,u;let n;try{n=(o=(a=e.resolveOf("meta",["meta"]).preparedMeta.parameters)==null?void 0:a.docs)==null?void 0:o.toc}catch{n=(u=(s=(i=e==null?void 0:e.projectAnnotations)==null?void 0:i.parameters)==null?void 0:s.docs)==null?void 0:u.toc}return l.useEffect(()=>{let d;try{if(d=new URL(bne.parent.location.toString()),d.hash){let f=yne.getElementById(decodeURIComponent(d.hash.substring(1)));f&&setTimeout(()=>{jre(f)},200)}}catch{}}),y.createElement(St.Provider,{value:e},y.createElement(Hre,{channel:e.channel},y.createElement(mb,{theme:hk(t)},y.createElement(wee,{toc:n?y.createElement(vne,{className:"sbdocs sbdocs-toc--custom",...n}):null},r))))},Ene=({children:e,disableAnchor:t})=>{if(t||typeof e!="string")return y.createElement(Ox,null,e);let r=globalThis.encodeURIComponent(e.toLowerCase());return y.createElement(gm,{as:"h3",id:r},e)},uS=({of:e,expanded:t=!0,withToolbar:r=!1,__forceInitialArgs:n=!1,__primary:a=!1})=>{var s,u;let{story:o}=zn(e||"story",["story"]),i=((u=(s=o.parameters.docs)==null?void 0:s.canvas)==null?void 0:u.withToolbar)??r;return y.createElement(nS,{storyId:o.id},t&&y.createElement(y.Fragment,null,y.createElement(Ene,null,o.name),y.createElement(Lp,{of:e})),y.createElement(Jre,{of:e,withToolbar:i,story:{__forceInitialArgs:n,__primary:a},source:{__forceInitialArgs:n}}))},xne=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}=zn(t||"meta",["meta"]),n=l.useContext(St).componentStoriesFromCSFFile(r)[0];return n?y.createElement(uS,{of:n.moduleExport,expanded:!1,__primary:!0,withToolbar:!0}):null},Cne=({children:e,disableAnchor:t,...r})=>{if(t||typeof e!="string")return y.createElement(zx,null,e);let n=e.toLowerCase().replace(/[^a-z0-9]/gi,"-");return y.createElement(gm,{as:"h2",id:n,...r},e)},Dne=_(Cne)(({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"}})),Sne=({title:e="Stories",includePrimary:t=!0})=>{var s;let{componentStories:r,projectAnnotations:n,getStoryContext:a}=l.useContext(St),o=r(),{stories:{filter:i}={filter:void 0}}=((s=n.parameters)==null?void 0:s.docs)||{};return i&&(o=o.filter(u=>i(u,a(u)))),o.some(u=>{var d;return(d=u.tags)==null?void 0:d.includes("autodocs")})&&(o=o.filter(u=>{var d;return((d=u.tags)==null?void 0:d.includes("autodocs"))&&!u.usesMount})),t||(o=o.slice(1)),!o||o.length===0?null:y.createElement(y.Fragment,null,y.createElement(Dne,null,e),o.map(u=>u&&y.createElement(uS,{key:u.id,of:u.moduleExport,expanded:!0,__forceInitialArgs:!0})))},Ane="https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#subtitle-block-and-parameterscomponentsubtitle",kne=e=>{let{of:t,children:r}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let n;try{n=zn(t||"meta",["meta"]).preparedMeta}catch(s){if(r&&!s.message.includes("did you forget to use ?"))throw s}let{componentSubtitle:a,docs:o}=(n==null?void 0:n.parameters)||{};a&&tee(`Using 'parameters.componentSubtitle' property to subtitle stories is deprecated. See ${Ane}`);let i=r||(o==null?void 0:o.subtitle)||a;return i?y.createElement(vee,{className:"sbdocs-subtitle sb-unstyled"},i):null},_ne=/\s*\/\s*/,Fne=e=>{let t=e.trim().split(_ne);return(t==null?void 0:t[(t==null?void 0:t.length)-1])||e},Ine=e=>{let{children:t,of:r}=e;if("of"in e&&r===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let n;try{n=zn(r||"meta",["meta"]).preparedMeta}catch(o){if(t&&!o.message.includes("did you forget to use ?"))throw o}let a=t||Fne(n==null?void 0:n.title);return a?y.createElement(gee,{className:"sbdocs-title sb-unstyled"},a):null},Tne=()=>{let e=zn("meta",["meta"]),{stories:t}=e.csfFile,r=Object.keys(t).length===1;return y.createElement(y.Fragment,null,y.createElement(Ine,null),y.createElement(kne,null),y.createElement(Lp,{of:"meta"}),r?y.createElement(Lp,{of:"story"}):null,y.createElement(xne,null),y.createElement(rne,null),r?null:y.createElement(Sne,null))};function pae({context:e,docsParameter:t}){let r=t.container||wne,n=t.page||Tne;return y.createElement(r,{context:e,theme:t.theme},y.createElement(n,null))}var fae=({of:e})=>{let t=l.useContext(St);e&&t.referenceMeta(e,!0);try{let r=t.storyById();return y.createElement(nS,{storyId:r.id})}catch{return null}};export{gC as $,ZF as A,nI as B,WF as C,zx as D,GF as E,JF as F,aI as G,Ti as H,hn as I,nae as J,Nne as K,In as L,Jne as M,Vne as N,wC as O,fC as P,aae as Q,YF as R,KF as S,eI as T,Une as U,eae as V,EC as W,lM as X,UL as Y,qne as Z,Kne as _,pf as a,Yne as a0,iI as a1,Gne as a2,SL as a3,qO as a4,jr as a5,DM as a6,Wd as a7,xM as a8,vp as a9,Qne as aa,ce as ab,SM as ac,de as ad,fae as ae,nne as af,one as ag,une as ah,pae as ai,dae as aj,cae as ak,Qt as al,Tn as am,Xh as an,_ as ao,iae as ap,Et as aq,oae as b,UF as c,QO as d,Ph as e,qF as f,$F as g,Zne as h,tae as i,da as j,jL as k,QF as l,MF as m,tI as n,Fh as o,ts as p,rI as q,rae as r,EM as s,Ih as t,bC as u,Bx as v,VF as w,Ox as x,jne as y,Lu as z}; diff --git a/assets/index-D97zpEXb.js b/assets/index-D97zpEXb.js deleted file mode 100644 index 3bf9b271..00000000 --- a/assets/index-D97zpEXb.js +++ /dev/null @@ -1,8 +0,0 @@ -import{c as Ae,g as fn}from"./index-0d5eMwbi.js";var Tn=typeof Ae=="object"&&Ae&&Ae.Object===Object&&Ae,vn=Tn,hn=vn,gn=typeof self=="object"&&self&&self.Object===Object&&self,bn=hn||gn||Function("return this")(),Jn=bn,xn=Jn,wn=xn.Symbol,It=wn,Et=It,Rt=Object.prototype,Pn=Rt.hasOwnProperty,On=Rt.toString,fe=Et?Et.toStringTag:void 0;function Nn(r){var t=Pn.call(r,fe),n=r[fe];try{r[fe]=void 0;var o=!0}catch{}var i=On.call(r);return o&&(t?r[fe]=n:delete r[fe]),i}var _n=Nn,Sn=Object.prototype,jn=Sn.toString;function En(r){return jn.call(r)}var kn=En,kt=It,An=_n,In=kn,Rn="[object Null]",Fn="[object Undefined]",At=kt?kt.toStringTag:void 0;function Ln(r){return r==null?r===void 0?Fn:Rn:At&&At in Object(r)?An(r):In(r)}var Un=Ln;function Vn(r){var t=typeof r;return r!=null&&(t=="object"||t=="function")}var $n=Vn,Dn=Un,Kn=$n,Cn="[object AsyncFunction]",Mn="[object Function]",qn="[object GeneratorFunction]",Bn="[object Proxy]";function Gn(r){if(!Kn(r))return!1;var t=Dn(r);return t==Mn||t==qn||t==Cn||t==Bn}var Yn=Gn;const xs=fn(Yn);var zn=Array.isArray,ws=zn;function Wn(r){return r!=null&&typeof r=="object"}var Ps=Wn;function Hn(r,t){return function(n){return r(t(n))}}var Xn=Hn,Qn=Xn,Zn=Qn(Object.getPrototypeOf,Object),Os=Zn,ea=Object.create,Ye=Object.defineProperty,ta=Object.getOwnPropertyDescriptor,ra=Object.getOwnPropertyNames,na=Object.getPrototypeOf,aa=Object.prototype.hasOwnProperty,a=(r,t)=>Ye(r,"name",{value:t,configurable:!0}),f=(r,t)=>()=>(t||r((t={exports:{}}).exports,t),t.exports),oa=(r,t,n,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of ra(t))!aa.call(r,i)&&i!==n&&Ye(r,i,{get:()=>t[i],enumerable:!(o=ta(t,i))||o.enumerable});return r},Ft=(r,t,n)=>(n=r!=null?ea(na(r)):{},oa(Ye(n,"default",{value:r,enumerable:!0}),r)),Lt=f((r,t)=>{var n=typeof global=="object"&&global&&global.Object===Object&&global;t.exports=n}),Z=f((r,t)=>{var n=Lt(),o=typeof self=="object"&&self&&self.Object===Object&&self,i=n||o||Function("return this")();t.exports=i}),Re=f((r,t)=>{var n=Z(),o=n.Symbol;t.exports=o}),sa=f((r,t)=>{var n=Re(),o=Object.prototype,i=o.hasOwnProperty,p=o.toString,l=n?n.toStringTag:void 0;function u(y){var m=i.call(y,l),T=y[l];try{y[l]=void 0;var h=!0}catch{}var x=p.call(y);return h&&(m?y[l]=T:delete y[l]),x}a(u,"getRawTag"),t.exports=u}),ia=f((r,t)=>{var n=Object.prototype,o=n.toString;function i(p){return o.call(p)}a(i,"objectToString"),t.exports=i}),ge=f((r,t)=>{var n=Re(),o=sa(),i=ia(),p="[object Null]",l="[object Undefined]",u=n?n.toStringTag:void 0;function y(m){return m==null?m===void 0?l:p:u&&u in Object(m)?o(m):i(m)}a(y,"baseGetTag"),t.exports=y}),ze=f((r,t)=>{function n(o){var i=typeof o;return o!=null&&(i=="object"||i=="function")}a(n,"isObject"),t.exports=n}),Ut=f((r,t)=>{var n=ge(),o=ze(),i="[object AsyncFunction]",p="[object Function]",l="[object GeneratorFunction]",u="[object Proxy]";function y(m){if(!o(m))return!1;var T=n(m);return T==p||T==l||T==i||T==u}a(y,"isFunction"),t.exports=y}),pa=f((r,t)=>{var n=Z(),o=n["__core-js_shared__"];t.exports=o}),ca=f((r,t)=>{var n=pa(),o=function(){var p=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||"");return p?"Symbol(src)_1."+p:""}();function i(p){return!!o&&o in p}a(i,"isMasked"),t.exports=i}),Vt=f((r,t)=>{var n=Function.prototype,o=n.toString;function i(p){if(p!=null){try{return o.call(p)}catch{}try{return p+""}catch{}}return""}a(i,"toSource"),t.exports=i}),la=f((r,t)=>{var n=Ut(),o=ca(),i=ze(),p=Vt(),l=/[\\^$.*+?()[\]{}|]/g,u=/^\[object .+?Constructor\]$/,y=Function.prototype,m=Object.prototype,T=y.toString,h=m.hasOwnProperty,x=RegExp("^"+T.call(h).replace(l,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function g(w){if(!i(w)||o(w))return!1;var _=n(w)?x:u;return _.test(p(w))}a(g,"baseIsNative"),t.exports=g}),ua=f((r,t)=>{function n(o,i){return o==null?void 0:o[i]}a(n,"getValue"),t.exports=n}),ie=f((r,t)=>{var n=la(),o=ua();function i(p,l){var u=o(p,l);return n(u)?u:void 0}a(i,"getNative"),t.exports=i}),ya=f((r,t)=>{var n=ie(),o=function(){try{var i=n(Object,"defineProperty");return i({},"",{}),i}catch{}}();t.exports=o}),da=f((r,t)=>{var n=ya();function o(i,p,l){p=="__proto__"&&n?n(i,p,{configurable:!0,enumerable:!0,value:l,writable:!0}):i[p]=l}a(o,"baseAssignValue"),t.exports=o}),ma=f((r,t)=>{function n(o){return function(i,p,l){for(var u=-1,y=Object(i),m=l(i),T=m.length;T--;){var h=m[o?T:++u];if(p(y[h],h,y)===!1)break}return i}}a(n,"createBaseFor"),t.exports=n}),fa=f((r,t)=>{var n=ma(),o=n();t.exports=o}),Ta=f((r,t)=>{function n(o,i){for(var p=-1,l=Array(o);++p{function n(o){return o!=null&&typeof o=="object"}a(n,"isObjectLike"),t.exports=n}),va=f((r,t)=>{var n=ge(),o=be(),i="[object Arguments]";function p(l){return o(l)&&n(l)==i}a(p,"baseIsArguments"),t.exports=p}),$t=f((r,t)=>{var n=va(),o=be(),i=Object.prototype,p=i.hasOwnProperty,l=i.propertyIsEnumerable,u=n(function(){return arguments}())?n:function(y){return o(y)&&p.call(y,"callee")&&!l.call(y,"callee")};t.exports=u}),ne=f((r,t)=>{var n=Array.isArray;t.exports=n}),ha=f((r,t)=>{function n(){return!1}a(n,"stubFalse"),t.exports=n}),Dt=f((r,t)=>{var n=Z(),o=ha(),i=typeof r=="object"&&r&&!r.nodeType&&r,p=i&&typeof t=="object"&&t&&!t.nodeType&&t,l=p&&p.exports===i,u=l?n.Buffer:void 0,y=u?u.isBuffer:void 0,m=y||o;t.exports=m}),Kt=f((r,t)=>{var n=9007199254740991,o=/^(?:0|[1-9]\d*)$/;function i(p,l){var u=typeof p;return l=l??n,!!l&&(u=="number"||u!="symbol"&&o.test(p))&&p>-1&&p%1==0&&p{var n=9007199254740991;function o(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=n}a(o,"isLength"),t.exports=o}),ga=f((r,t)=>{var n=ge(),o=We(),i=be(),p="[object Arguments]",l="[object Array]",u="[object Boolean]",y="[object Date]",m="[object Error]",T="[object Function]",h="[object Map]",x="[object Number]",g="[object Object]",w="[object RegExp]",_="[object Set]",L="[object String]",R="[object WeakMap]",P="[object ArrayBuffer]",A="[object DataView]",j="[object Float32Array]",D="[object Float64Array]",I="[object Int8Array]",V="[object Int16Array]",E="[object Int32Array]",k="[object Uint8Array]",N="[object Uint8ClampedArray]",K="[object Uint16Array]",G="[object Uint32Array]",S={};S[j]=S[D]=S[I]=S[V]=S[E]=S[k]=S[N]=S[K]=S[G]=!0,S[p]=S[l]=S[P]=S[u]=S[A]=S[y]=S[m]=S[T]=S[h]=S[x]=S[g]=S[w]=S[_]=S[L]=S[R]=!1;function Y(M){return i(M)&&o(M.length)&&!!S[n(M)]}a(Y,"baseIsTypedArray"),t.exports=Y}),ba=f((r,t)=>{function n(o){return function(i){return o(i)}}a(n,"baseUnary"),t.exports=n}),Ja=f((r,t)=>{var n=Lt(),o=typeof r=="object"&&r&&!r.nodeType&&r,i=o&&typeof t=="object"&&t&&!t.nodeType&&t,p=i&&i.exports===o,l=p&&n.process,u=function(){try{var y=i&&i.require&&i.require("util").types;return y||l&&l.binding&&l.binding("util")}catch{}}();t.exports=u}),Ct=f((r,t)=>{var n=ga(),o=ba(),i=Ja(),p=i&&i.isTypedArray,l=p?o(p):n;t.exports=l}),xa=f((r,t)=>{var n=Ta(),o=$t(),i=ne(),p=Dt(),l=Kt(),u=Ct(),y=Object.prototype,m=y.hasOwnProperty;function T(h,x){var g=i(h),w=!g&&o(h),_=!g&&!w&&p(h),L=!g&&!w&&!_&&u(h),R=g||w||_||L,P=R?n(h.length,String):[],A=P.length;for(var j in h)(x||m.call(h,j))&&!(R&&(j=="length"||_&&(j=="offset"||j=="parent")||L&&(j=="buffer"||j=="byteLength"||j=="byteOffset")||l(j,A)))&&P.push(j);return P}a(T,"arrayLikeKeys"),t.exports=T}),wa=f((r,t)=>{var n=Object.prototype;function o(i){var p=i&&i.constructor,l=typeof p=="function"&&p.prototype||n;return i===l}a(o,"isPrototype"),t.exports=o}),Pa=f((r,t)=>{function n(o,i){return function(p){return o(i(p))}}a(n,"overArg"),t.exports=n}),Oa=f((r,t)=>{var n=Pa(),o=n(Object.keys,Object);t.exports=o}),Na=f((r,t)=>{var n=wa(),o=Oa(),i=Object.prototype,p=i.hasOwnProperty;function l(u){if(!n(u))return o(u);var y=[];for(var m in Object(u))p.call(u,m)&&m!="constructor"&&y.push(m);return y}a(l,"baseKeys"),t.exports=l}),_a=f((r,t)=>{var n=Ut(),o=We();function i(p){return p!=null&&o(p.length)&&!n(p)}a(i,"isArrayLike"),t.exports=i}),He=f((r,t)=>{var n=xa(),o=Na(),i=_a();function p(l){return i(l)?n(l):o(l)}a(p,"keys"),t.exports=p}),Sa=f((r,t)=>{var n=fa(),o=He();function i(p,l){return p&&n(p,l,o)}a(i,"baseForOwn"),t.exports=i}),ja=f((r,t)=>{function n(){this.__data__=[],this.size=0}a(n,"listCacheClear"),t.exports=n}),Mt=f((r,t)=>{function n(o,i){return o===i||o!==o&&i!==i}a(n,"eq"),t.exports=n}),Fe=f((r,t)=>{var n=Mt();function o(i,p){for(var l=i.length;l--;)if(n(i[l][0],p))return l;return-1}a(o,"assocIndexOf"),t.exports=o}),Ea=f((r,t)=>{var n=Fe(),o=Array.prototype,i=o.splice;function p(l){var u=this.__data__,y=n(u,l);if(y<0)return!1;var m=u.length-1;return y==m?u.pop():i.call(u,y,1),--this.size,!0}a(p,"listCacheDelete"),t.exports=p}),ka=f((r,t)=>{var n=Fe();function o(i){var p=this.__data__,l=n(p,i);return l<0?void 0:p[l][1]}a(o,"listCacheGet"),t.exports=o}),Aa=f((r,t)=>{var n=Fe();function o(i){return n(this.__data__,i)>-1}a(o,"listCacheHas"),t.exports=o}),Ia=f((r,t)=>{var n=Fe();function o(i,p){var l=this.__data__,u=n(l,i);return u<0?(++this.size,l.push([i,p])):l[u][1]=p,this}a(o,"listCacheSet"),t.exports=o}),Le=f((r,t)=>{var n=ja(),o=Ea(),i=ka(),p=Aa(),l=Ia();function u(y){var m=-1,T=y==null?0:y.length;for(this.clear();++m{var n=Le();function o(){this.__data__=new n,this.size=0}a(o,"stackClear"),t.exports=o}),Fa=f((r,t)=>{function n(o){var i=this.__data__,p=i.delete(o);return this.size=i.size,p}a(n,"stackDelete"),t.exports=n}),La=f((r,t)=>{function n(o){return this.__data__.get(o)}a(n,"stackGet"),t.exports=n}),Ua=f((r,t)=>{function n(o){return this.__data__.has(o)}a(n,"stackHas"),t.exports=n}),Xe=f((r,t)=>{var n=ie(),o=Z(),i=n(o,"Map");t.exports=i}),Ue=f((r,t)=>{var n=ie(),o=n(Object,"create");t.exports=o}),Va=f((r,t)=>{var n=Ue();function o(){this.__data__=n?n(null):{},this.size=0}a(o,"hashClear"),t.exports=o}),$a=f((r,t)=>{function n(o){var i=this.has(o)&&delete this.__data__[o];return this.size-=i?1:0,i}a(n,"hashDelete"),t.exports=n}),Da=f((r,t)=>{var n=Ue(),o="__lodash_hash_undefined__",i=Object.prototype,p=i.hasOwnProperty;function l(u){var y=this.__data__;if(n){var m=y[u];return m===o?void 0:m}return p.call(y,u)?y[u]:void 0}a(l,"hashGet"),t.exports=l}),Ka=f((r,t)=>{var n=Ue(),o=Object.prototype,i=o.hasOwnProperty;function p(l){var u=this.__data__;return n?u[l]!==void 0:i.call(u,l)}a(p,"hashHas"),t.exports=p}),Ca=f((r,t)=>{var n=Ue(),o="__lodash_hash_undefined__";function i(p,l){var u=this.__data__;return this.size+=this.has(p)?0:1,u[p]=n&&l===void 0?o:l,this}a(i,"hashSet"),t.exports=i}),Ma=f((r,t)=>{var n=Va(),o=$a(),i=Da(),p=Ka(),l=Ca();function u(y){var m=-1,T=y==null?0:y.length;for(this.clear();++m{var n=Ma(),o=Le(),i=Xe();function p(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}a(p,"mapCacheClear"),t.exports=p}),Ba=f((r,t)=>{function n(o){var i=typeof o;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?o!=="__proto__":o===null}a(n,"isKeyable"),t.exports=n}),Ve=f((r,t)=>{var n=Ba();function o(i,p){var l=i.__data__;return n(p)?l[typeof p=="string"?"string":"hash"]:l.map}a(o,"getMapData"),t.exports=o}),Ga=f((r,t)=>{var n=Ve();function o(i){var p=n(this,i).delete(i);return this.size-=p?1:0,p}a(o,"mapCacheDelete"),t.exports=o}),Ya=f((r,t)=>{var n=Ve();function o(i){return n(this,i).get(i)}a(o,"mapCacheGet"),t.exports=o}),za=f((r,t)=>{var n=Ve();function o(i){return n(this,i).has(i)}a(o,"mapCacheHas"),t.exports=o}),Wa=f((r,t)=>{var n=Ve();function o(i,p){var l=n(this,i),u=l.size;return l.set(i,p),this.size+=l.size==u?0:1,this}a(o,"mapCacheSet"),t.exports=o}),Qe=f((r,t)=>{var n=qa(),o=Ga(),i=Ya(),p=za(),l=Wa();function u(y){var m=-1,T=y==null?0:y.length;for(this.clear();++m{var n=Le(),o=Xe(),i=Qe(),p=200;function l(u,y){var m=this.__data__;if(m instanceof n){var T=m.__data__;if(!o||T.length{var n=Le(),o=Ra(),i=Fa(),p=La(),l=Ua(),u=Ha();function y(m){var T=this.__data__=new n(m);this.size=T.size}a(y,"Stack"),y.prototype.clear=o,y.prototype.delete=i,y.prototype.get=p,y.prototype.has=l,y.prototype.set=u,t.exports=y}),Xa=f((r,t)=>{var n="__lodash_hash_undefined__";function o(i){return this.__data__.set(i,n),this}a(o,"setCacheAdd"),t.exports=o}),Qa=f((r,t)=>{function n(o){return this.__data__.has(o)}a(n,"setCacheHas"),t.exports=n}),Za=f((r,t)=>{var n=Qe(),o=Xa(),i=Qa();function p(l){var u=-1,y=l==null?0:l.length;for(this.__data__=new n;++u{function n(o,i){for(var p=-1,l=o==null?0:o.length;++p{function n(o,i){return o.has(i)}a(n,"cacheHas"),t.exports=n}),Bt=f((r,t)=>{var n=Za(),o=eo(),i=to(),p=1,l=2;function u(y,m,T,h,x,g){var w=T&p,_=y.length,L=m.length;if(_!=L&&!(w&&L>_))return!1;var R=g.get(y),P=g.get(m);if(R&&P)return R==m&&P==y;var A=-1,j=!0,D=T&l?new n:void 0;for(g.set(y,m),g.set(m,y);++A<_;){var I=y[A],V=m[A];if(h)var E=w?h(V,I,A,m,y,g):h(I,V,A,y,m,g);if(E!==void 0){if(E)continue;j=!1;break}if(D){if(!o(m,function(k,N){if(!i(D,N)&&(I===k||x(I,k,T,h,g)))return D.push(N)})){j=!1;break}}else if(!(I===V||x(I,V,T,h,g))){j=!1;break}}return g.delete(y),g.delete(m),j}a(u,"equalArrays"),t.exports=u}),ro=f((r,t)=>{var n=Z(),o=n.Uint8Array;t.exports=o}),no=f((r,t)=>{function n(o){var i=-1,p=Array(o.size);return o.forEach(function(l,u){p[++i]=[u,l]}),p}a(n,"mapToArray"),t.exports=n}),ao=f((r,t)=>{function n(o){var i=-1,p=Array(o.size);return o.forEach(function(l){p[++i]=l}),p}a(n,"setToArray"),t.exports=n}),oo=f((r,t)=>{var n=Re(),o=ro(),i=Mt(),p=Bt(),l=no(),u=ao(),y=1,m=2,T="[object Boolean]",h="[object Date]",x="[object Error]",g="[object Map]",w="[object Number]",_="[object RegExp]",L="[object Set]",R="[object String]",P="[object Symbol]",A="[object ArrayBuffer]",j="[object DataView]",D=n?n.prototype:void 0,I=D?D.valueOf:void 0;function V(E,k,N,K,G,S,Y){switch(N){case j:if(E.byteLength!=k.byteLength||E.byteOffset!=k.byteOffset)return!1;E=E.buffer,k=k.buffer;case A:return!(E.byteLength!=k.byteLength||!S(new o(E),new o(k)));case T:case h:case w:return i(+E,+k);case x:return E.name==k.name&&E.message==k.message;case _:case R:return E==k+"";case g:var M=l;case L:var J=K&y;if(M||(M=u),E.size!=k.size&&!J)return!1;var oe=Y.get(E);if(oe)return oe==k;K|=m,Y.set(E,k);var ee=p(M(E),M(k),K,G,S,Y);return Y.delete(E),ee;case P:if(I)return I.call(E)==I.call(k)}return!1}a(V,"equalByTag"),t.exports=V}),so=f((r,t)=>{function n(o,i){for(var p=-1,l=i.length,u=o.length;++p{var n=so(),o=ne();function i(p,l,u){var y=l(p);return o(p)?y:n(y,u(p))}a(i,"baseGetAllKeys"),t.exports=i}),po=f((r,t)=>{function n(o,i){for(var p=-1,l=o==null?0:o.length,u=0,y=[];++p{function n(){return[]}a(n,"stubArray"),t.exports=n}),lo=f((r,t)=>{var n=po(),o=co(),i=Object.prototype,p=i.propertyIsEnumerable,l=Object.getOwnPropertySymbols,u=l?function(y){return y==null?[]:(y=Object(y),n(l(y),function(m){return p.call(y,m)}))}:o;t.exports=u}),uo=f((r,t)=>{var n=io(),o=lo(),i=He();function p(l){return n(l,i,o)}a(p,"getAllKeys"),t.exports=p}),yo=f((r,t)=>{var n=uo(),o=1,i=Object.prototype,p=i.hasOwnProperty;function l(u,y,m,T,h,x){var g=m&o,w=n(u),_=w.length,L=n(y),R=L.length;if(_!=R&&!g)return!1;for(var P=_;P--;){var A=w[P];if(!(g?A in y:p.call(y,A)))return!1}var j=x.get(u),D=x.get(y);if(j&&D)return j==y&&D==u;var I=!0;x.set(u,y),x.set(y,u);for(var V=g;++P<_;){A=w[P];var E=u[A],k=y[A];if(T)var N=g?T(k,E,A,y,u,x):T(E,k,A,u,y,x);if(!(N===void 0?E===k||h(E,k,m,T,x):N)){I=!1;break}V||(V=A=="constructor")}if(I&&!V){var K=u.constructor,G=y.constructor;K!=G&&"constructor"in u&&"constructor"in y&&!(typeof K=="function"&&K instanceof K&&typeof G=="function"&&G instanceof G)&&(I=!1)}return x.delete(u),x.delete(y),I}a(l,"equalObjects"),t.exports=l}),mo=f((r,t)=>{var n=ie(),o=Z(),i=n(o,"DataView");t.exports=i}),fo=f((r,t)=>{var n=ie(),o=Z(),i=n(o,"Promise");t.exports=i}),To=f((r,t)=>{var n=ie(),o=Z(),i=n(o,"Set");t.exports=i}),vo=f((r,t)=>{var n=ie(),o=Z(),i=n(o,"WeakMap");t.exports=i}),ho=f((r,t)=>{var n=mo(),o=Xe(),i=fo(),p=To(),l=vo(),u=ge(),y=Vt(),m="[object Map]",T="[object Object]",h="[object Promise]",x="[object Set]",g="[object WeakMap]",w="[object DataView]",_=y(n),L=y(o),R=y(i),P=y(p),A=y(l),j=u;(n&&j(new n(new ArrayBuffer(1)))!=w||o&&j(new o)!=m||i&&j(i.resolve())!=h||p&&j(new p)!=x||l&&j(new l)!=g)&&(j=a(function(D){var I=u(D),V=I==T?D.constructor:void 0,E=V?y(V):"";if(E)switch(E){case _:return w;case L:return m;case R:return h;case P:return x;case A:return g}return I},"getTag")),t.exports=j}),go=f((r,t)=>{var n=qt(),o=Bt(),i=oo(),p=yo(),l=ho(),u=ne(),y=Dt(),m=Ct(),T=1,h="[object Arguments]",x="[object Array]",g="[object Object]",w=Object.prototype,_=w.hasOwnProperty;function L(R,P,A,j,D,I){var V=u(R),E=u(P),k=V?x:l(R),N=E?x:l(P);k=k==h?g:k,N=N==h?g:N;var K=k==g,G=N==g,S=k==N;if(S&&y(R)){if(!y(P))return!1;V=!0,K=!1}if(S&&!K)return I||(I=new n),V||m(R)?o(R,P,A,j,D,I):i(R,P,k,A,j,D,I);if(!(A&T)){var Y=K&&_.call(R,"__wrapped__"),M=G&&_.call(P,"__wrapped__");if(Y||M){var J=Y?R.value():R,oe=M?P.value():P;return I||(I=new n),D(J,oe,A,j,I)}}return S?(I||(I=new n),p(R,P,A,j,D,I)):!1}a(L,"baseIsEqualDeep"),t.exports=L}),Gt=f((r,t)=>{var n=go(),o=be();function i(p,l,u,y,m){return p===l?!0:p==null||l==null||!o(p)&&!o(l)?p!==p&&l!==l:n(p,l,u,y,i,m)}a(i,"baseIsEqual"),t.exports=i}),bo=f((r,t)=>{var n=qt(),o=Gt(),i=1,p=2;function l(u,y,m,T){var h=m.length,x=h,g=!T;if(u==null)return!x;for(u=Object(u);h--;){var w=m[h];if(g&&w[2]?w[1]!==u[w[0]]:!(w[0]in u))return!1}for(;++h{var n=ze();function o(i){return i===i&&!n(i)}a(o,"isStrictComparable"),t.exports=o}),Jo=f((r,t)=>{var n=Yt(),o=He();function i(p){for(var l=o(p),u=l.length;u--;){var y=l[u],m=p[y];l[u]=[y,m,n(m)]}return l}a(i,"getMatchData"),t.exports=i}),zt=f((r,t)=>{function n(o,i){return function(p){return p==null?!1:p[o]===i&&(i!==void 0||o in Object(p))}}a(n,"matchesStrictComparable"),t.exports=n}),xo=f((r,t)=>{var n=bo(),o=Jo(),i=zt();function p(l){var u=o(l);return u.length==1&&u[0][2]?i(u[0][0],u[0][1]):function(y){return y===l||n(y,l,u)}}a(p,"baseMatches"),t.exports=p}),Ze=f((r,t)=>{var n=ge(),o=be(),i="[object Symbol]";function p(l){return typeof l=="symbol"||o(l)&&n(l)==i}a(p,"isSymbol"),t.exports=p}),et=f((r,t)=>{var n=ne(),o=Ze(),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,p=/^\w*$/;function l(u,y){if(n(u))return!1;var m=typeof u;return m=="number"||m=="symbol"||m=="boolean"||u==null||o(u)?!0:p.test(u)||!i.test(u)||y!=null&&u in Object(y)}a(l,"isKey"),t.exports=l}),wo=f((r,t)=>{var n=Qe(),o="Expected a function";function i(p,l){if(typeof p!="function"||l!=null&&typeof l!="function")throw new TypeError(o);var u=a(function(){var y=arguments,m=l?l.apply(this,y):y[0],T=u.cache;if(T.has(m))return T.get(m);var h=p.apply(this,y);return u.cache=T.set(m,h)||T,h},"memoized");return u.cache=new(i.Cache||n),u}a(i,"memoize"),i.Cache=n,t.exports=i}),Po=f((r,t)=>{var n=wo(),o=500;function i(p){var l=n(p,function(y){return u.size===o&&u.clear(),y}),u=l.cache;return l}a(i,"memoizeCapped"),t.exports=i}),Oo=f((r,t)=>{var n=Po(),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,p=n(function(l){var u=[];return l.charCodeAt(0)===46&&u.push(""),l.replace(o,function(y,m,T,h){u.push(T?h.replace(i,"$1"):m||y)}),u});t.exports=p}),No=f((r,t)=>{function n(o,i){for(var p=-1,l=o==null?0:o.length,u=Array(l);++p{var n=Re(),o=No(),i=ne(),p=Ze(),l=1/0,u=n?n.prototype:void 0,y=u?u.toString:void 0;function m(T){if(typeof T=="string")return T;if(i(T))return o(T,m)+"";if(p(T))return y?y.call(T):"";var h=T+"";return h=="0"&&1/T==-l?"-0":h}a(m,"baseToString"),t.exports=m}),So=f((r,t)=>{var n=_o();function o(i){return i==null?"":n(i)}a(o,"toString"),t.exports=o}),Wt=f((r,t)=>{var n=ne(),o=et(),i=Oo(),p=So();function l(u,y){return n(u)?u:o(u,y)?[u]:i(p(u))}a(l,"castPath"),t.exports=l}),$e=f((r,t)=>{var n=Ze(),o=1/0;function i(p){if(typeof p=="string"||n(p))return p;var l=p+"";return l=="0"&&1/p==-o?"-0":l}a(i,"toKey"),t.exports=i}),Ht=f((r,t)=>{var n=Wt(),o=$e();function i(p,l){l=n(l,p);for(var u=0,y=l.length;p!=null&&u{var n=Ht();function o(i,p,l){var u=i==null?void 0:n(i,p);return u===void 0?l:u}a(o,"get"),t.exports=o}),Eo=f((r,t)=>{function n(o,i){return o!=null&&i in Object(o)}a(n,"baseHasIn"),t.exports=n}),ko=f((r,t)=>{var n=Wt(),o=$t(),i=ne(),p=Kt(),l=We(),u=$e();function y(m,T,h){T=n(T,m);for(var x=-1,g=T.length,w=!1;++x{var n=Eo(),o=ko();function i(p,l){return p!=null&&o(p,l,n)}a(i,"hasIn"),t.exports=i}),Io=f((r,t)=>{var n=Gt(),o=jo(),i=Ao(),p=et(),l=Yt(),u=zt(),y=$e(),m=1,T=2;function h(x,g){return p(x)&&l(g)?u(y(x),g):function(w){var _=o(w,x);return _===void 0&&_===g?i(w,x):n(g,_,m|T)}}a(h,"baseMatchesProperty"),t.exports=h}),Ro=f((r,t)=>{function n(o){return o}a(n,"identity"),t.exports=n}),Fo=f((r,t)=>{function n(o){return function(i){return i==null?void 0:i[o]}}a(n,"baseProperty"),t.exports=n}),Lo=f((r,t)=>{var n=Ht();function o(i){return function(p){return n(p,i)}}a(o,"basePropertyDeep"),t.exports=o}),Uo=f((r,t)=>{var n=Fo(),o=Lo(),i=et(),p=$e();function l(u){return i(u)?n(p(u)):o(u)}a(l,"property"),t.exports=l}),Vo=f((r,t)=>{var n=xo(),o=Io(),i=Ro(),p=ne(),l=Uo();function u(y){return typeof y=="function"?y:y==null?i:typeof y=="object"?p(y)?o(y[0],y[1]):n(y):l(y)}a(u,"baseIteratee"),t.exports=u}),$o=f((r,t)=>{var n=da(),o=Sa(),i=Vo();function p(l,u){var y={};return u=i(u,3),o(l,function(m,T,h){n(y,T,u(m,T,h))}),y}a(p,"mapValues"),t.exports=p}),Do=f((r,t)=>{(function(n,o){typeof r=="object"&&typeof t<"u"?o(r):typeof define=="function"&&define.amd?define(["exports"],o):(n=typeof globalThis<"u"?globalThis:n||self,o(n.jtpp={}))})(r,function(n){function o(e){return e.text!==void 0&&e.text!==""?`'${e.type}' with value '${e.text}'`:`'${e.type}'`}a(o,"tokenToString");let i=class Xt extends Error{constructor(s){super(`No parslet found for token: ${o(s)}`),this.token=s,Object.setPrototypeOf(this,Xt.prototype)}getToken(){return this.token}};a(i,"NoParsletFoundError");let p=i,l=class Qt extends Error{constructor(s){super(`The parsing ended early. The next token was: ${o(s)}`),this.token=s,Object.setPrototypeOf(this,Qt.prototype)}getToken(){return this.token}};a(l,"EarlyEndOfParseError");let u=l,y=class Zt extends Error{constructor(s,c){let d=`Unexpected type: '${s.type}'.`;c!==void 0&&(d+=` Message: ${c}`),super(d),Object.setPrototypeOf(this,Zt.prototype)}};a(y,"UnexpectedTypeError");let m=y;function T(e){return s=>s.startsWith(e)?{type:e,text:e}:null}a(T,"makePunctuationRule");function h(e){let s=0,c,d=e[0],v=!1;if(d!=="'"&&d!=='"')return null;for(;s{let s=w(e);return s==null?null:{type:"Identifier",text:s}},"identifierRule");function P(e){return s=>{if(!s.startsWith(e))return null;let c=s[e.length];return c!==void 0&&g.test(c)?null:{type:e,text:e}}}a(P,"makeKeyWordRule");let A=a(e=>{let s=h(e);return s==null?null:{type:"StringValue",text:s}},"stringValueRule"),j=a(e=>e.length>0?null:{type:"EOF",text:""},"eofRule"),D=a(e=>{let s=L(e);return s===null?null:{type:"Number",text:s}},"numberRule"),I=[j,T("=>"),T("("),T(")"),T("{"),T("}"),T("["),T("]"),T("|"),T("&"),T("<"),T(">"),T(","),T(";"),T("*"),T("?"),T("!"),T("="),T(":"),T("..."),T("."),T("#"),T("~"),T("/"),T("@"),P("undefined"),P("null"),P("function"),P("this"),P("new"),P("module"),P("event"),P("external"),P("typeof"),P("keyof"),P("readonly"),P("import"),P("is"),P("in"),D,R,A],V=/^\s*\n\s*/,E=class Ie{static create(s){let c=this.read(s);s=c.text;let d=this.read(s);return s=d.text,new Ie(s,void 0,c.token,d.token)}constructor(s,c,d,v){this.text="",this.text=s,this.previous=c,this.current=d,this.next=v}static read(s,c=!1){c=c||V.test(s),s=s.trim();for(let d of I){let v=d(s);if(v!==null){let b=Object.assign(Object.assign({},v),{startOfLine:c});return s=s.slice(b.text.length),{text:s,token:b}}}throw new Error("Unexpected Token "+s)}advance(){let s=Ie.read(this.text);return new Ie(s.text,this.current,this.next,s.token)}};a(E,"Lexer");let k=E;function N(e){if(e===void 0)throw new Error("Unexpected undefined");if(e.type==="JsdocTypeKeyValue"||e.type==="JsdocTypeParameterList"||e.type==="JsdocTypeProperty"||e.type==="JsdocTypeReadonlyProperty"||e.type==="JsdocTypeObjectField"||e.type==="JsdocTypeJsdocObjectField"||e.type==="JsdocTypeIndexSignature"||e.type==="JsdocTypeMappedType")throw new m(e);return e}a(N,"assertRootResult");function K(e){return e.type==="JsdocTypeKeyValue"?S(e):N(e)}a(K,"assertPlainKeyValueOrRootResult");function G(e){return e.type==="JsdocTypeName"?e:S(e)}a(G,"assertPlainKeyValueOrNameResult");function S(e){if(e.type!=="JsdocTypeKeyValue")throw new m(e);return e}a(S,"assertPlainKeyValueResult");function Y(e){var s;if(e.type==="JsdocTypeVariadic"){if(((s=e.element)===null||s===void 0?void 0:s.type)==="JsdocTypeName")return e;throw new m(e)}if(e.type!=="JsdocTypeNumber"&&e.type!=="JsdocTypeName")throw new m(e);return e}a(Y,"assertNumberOrVariadicNameResult");function M(e){return e.type==="JsdocTypeIndexSignature"||e.type==="JsdocTypeMappedType"}a(M,"isSquaredProperty");var J;(function(e){e[e.ALL=0]="ALL",e[e.PARAMETER_LIST=1]="PARAMETER_LIST",e[e.OBJECT=2]="OBJECT",e[e.KEY_VALUE=3]="KEY_VALUE",e[e.UNION=4]="UNION",e[e.INTERSECTION=5]="INTERSECTION",e[e.PREFIX=6]="PREFIX",e[e.INFIX=7]="INFIX",e[e.TUPLE=8]="TUPLE",e[e.SYMBOL=9]="SYMBOL",e[e.OPTIONAL=10]="OPTIONAL",e[e.NULLABLE=11]="NULLABLE",e[e.KEY_OF_TYPE_OF=12]="KEY_OF_TYPE_OF",e[e.FUNCTION=13]="FUNCTION",e[e.ARROW=14]="ARROW",e[e.ARRAY_BRACKETS=15]="ARRAY_BRACKETS",e[e.GENERIC=16]="GENERIC",e[e.NAME_PATH=17]="NAME_PATH",e[e.PARENTHESIS=18]="PARENTHESIS",e[e.SPECIAL_TYPES=19]="SPECIAL_TYPES"})(J||(J={}));let oe=class{constructor(s,c,d){this.grammar=s,typeof c=="string"?this._lexer=k.create(c):this._lexer=c,this.baseParser=d}get lexer(){return this._lexer}parse(){let s=this.parseType(J.ALL);if(this.lexer.current.type!=="EOF")throw new u(this.lexer.current);return s}parseType(s){return N(this.parseIntermediateType(s))}parseIntermediateType(s){let c=this.tryParslets(null,s);if(c===null)throw new p(this.lexer.current);return this.parseInfixIntermediateType(c,s)}parseInfixIntermediateType(s,c){let d=this.tryParslets(s,c);for(;d!==null;)s=d,d=this.tryParslets(s,c);return s}tryParslets(s,c){for(let d of this.grammar){let v=d(this,c,s);if(v!==null)return v}return null}consume(s){return Array.isArray(s)||(s=[s]),s.includes(this.lexer.current.type)?(this._lexer=this.lexer.advance(),!0):!1}acceptLexerState(s){this._lexer=s.lexer}};a(oe,"Parser");let ee=oe;function Ke(e){return e==="EOF"||e==="|"||e===","||e===")"||e===">"}a(Ke,"isQuestionMarkUnknownType");let Ce=a((e,s,c)=>{let d=e.lexer.current.type,v=e.lexer.next.type;return c==null&&d==="?"&&!Ke(v)||c!=null&&d==="?"?(e.consume("?"),c==null?{type:"JsdocTypeNullable",element:e.parseType(J.NULLABLE),meta:{position:"prefix"}}:{type:"JsdocTypeNullable",element:N(c),meta:{position:"suffix"}}):null},"nullableParslet");function F(e){let s=a((c,d,v)=>{let b=c.lexer.current.type,O=c.lexer.next.type;if(v===null){if("parsePrefix"in e&&e.accept(b,O))return e.parsePrefix(c)}else if("parseInfix"in e&&e.precedence>d&&e.accept(b,O))return e.parseInfix(c,v);return null},"parslet");return Object.defineProperty(s,"name",{value:e.name}),s}a(F,"composeParslet");let xe=F({name:"optionalParslet",accept:a(e=>e==="=","accept"),precedence:J.OPTIONAL,parsePrefix:a(e=>(e.consume("="),{type:"JsdocTypeOptional",element:e.parseType(J.OPTIONAL),meta:{position:"prefix"}}),"parsePrefix"),parseInfix:a((e,s)=>(e.consume("="),{type:"JsdocTypeOptional",element:N(s),meta:{position:"suffix"}}),"parseInfix")}),we=F({name:"numberParslet",accept:a(e=>e==="Number","accept"),parsePrefix:a(e=>{let s=parseFloat(e.lexer.current.text);return e.consume("Number"),{type:"JsdocTypeNumber",value:s}},"parsePrefix")}),Yr=F({name:"parenthesisParslet",accept:a(e=>e==="(","accept"),parsePrefix:a(e=>{if(e.consume("("),e.consume(")"))return{type:"JsdocTypeParameterList",elements:[]};let s=e.parseIntermediateType(J.ALL);if(!e.consume(")"))throw new Error("Unterminated parenthesis");return s.type==="JsdocTypeParameterList"?s:s.type==="JsdocTypeKeyValue"?{type:"JsdocTypeParameterList",elements:[s]}:{type:"JsdocTypeParenthesis",element:N(s)}},"parsePrefix")}),zr=F({name:"specialTypesParslet",accept:a((e,s)=>e==="?"&&Ke(s)||e==="null"||e==="undefined"||e==="*","accept"),parsePrefix:a(e=>{if(e.consume("null"))return{type:"JsdocTypeNull"};if(e.consume("undefined"))return{type:"JsdocTypeUndefined"};if(e.consume("*"))return{type:"JsdocTypeAny"};if(e.consume("?"))return{type:"JsdocTypeUnknown"};throw new Error("Unacceptable token: "+e.lexer.current.text)},"parsePrefix")}),Wr=F({name:"notNullableParslet",accept:a(e=>e==="!","accept"),precedence:J.NULLABLE,parsePrefix:a(e=>(e.consume("!"),{type:"JsdocTypeNotNullable",element:e.parseType(J.NULLABLE),meta:{position:"prefix"}}),"parsePrefix"),parseInfix:a((e,s)=>(e.consume("!"),{type:"JsdocTypeNotNullable",element:N(s),meta:{position:"suffix"}}),"parseInfix")});function dt({allowTrailingComma:e}){return F({name:"parameterListParslet",accept:a(s=>s===",","accept"),precedence:J.PARAMETER_LIST,parseInfix:a((s,c)=>{let d=[K(c)];s.consume(",");do try{let v=s.parseIntermediateType(J.PARAMETER_LIST);d.push(K(v))}catch(v){if(e&&v instanceof p)break;throw v}while(s.consume(","));if(d.length>0&&d.slice(0,-1).some(v=>v.type==="JsdocTypeVariadic"))throw new Error("Only the last parameter may be a rest parameter");return{type:"JsdocTypeParameterList",elements:d}},"parseInfix")})}a(dt,"createParameterListParslet");let Hr=F({name:"genericParslet",accept:a((e,s)=>e==="<"||e==="."&&s==="<","accept"),precedence:J.GENERIC,parseInfix:a((e,s)=>{let c=e.consume(".");e.consume("<");let d=[];do d.push(e.parseType(J.PARAMETER_LIST));while(e.consume(","));if(!e.consume(">"))throw new Error("Unterminated generic parameter list");return{type:"JsdocTypeGeneric",left:N(s),elements:d,meta:{brackets:"angle",dot:c}}},"parseInfix")}),Xr=F({name:"unionParslet",accept:a(e=>e==="|","accept"),precedence:J.UNION,parseInfix:a((e,s)=>{e.consume("|");let c=[];do c.push(e.parseType(J.UNION));while(e.consume("|"));return{type:"JsdocTypeUnion",elements:[N(s),...c]}},"parseInfix")}),Me=[Ce,xe,we,Yr,zr,Wr,dt({allowTrailingComma:!0}),Hr,Xr,xe];function le({allowSquareBracketsOnAnyType:e,allowJsdocNamePaths:s,pathGrammar:c}){return a(function(d,v,b){if(b==null||v>=J.NAME_PATH)return null;let O=d.lexer.current.type,U=d.lexer.next.type;if(!(O==="."&&U!=="<"||O==="["&&(e||b.type==="JsdocTypeName")||s&&(O==="~"||O==="#")))return null;let $,q=!1;d.consume(".")?$="property":d.consume("[")?($="property-brackets",q=!0):d.consume("~")?$="inner":(d.consume("#"),$="instance");let Q=c!==null?new ee(c,d.lexer,d):d,z=Q.parseIntermediateType(J.NAME_PATH);d.acceptLexerState(Q);let me;switch(z.type){case"JsdocTypeName":me={type:"JsdocTypeProperty",value:z.value,meta:{quote:void 0}};break;case"JsdocTypeNumber":me={type:"JsdocTypeProperty",value:z.value.toString(10),meta:{quote:void 0}};break;case"JsdocTypeStringValue":me={type:"JsdocTypeProperty",value:z.value,meta:{quote:z.meta.quote}};break;case"JsdocTypeSpecialNamePath":if(z.specialType==="event")me=z;else throw new m(z,"Type 'JsdocTypeSpecialNamePath' is only allowed with specialType 'event'");break;default:throw new m(z,"Expecting 'JsdocTypeName', 'JsdocTypeNumber', 'JsdocStringValue' or 'JsdocTypeSpecialNamePath'")}if(q&&!d.consume("]")){let jt=d.lexer.current;throw new Error(`Unterminated square brackets. Next token is '${jt.type}' with text '${jt.text}'`)}return{type:"JsdocTypeNamePath",left:N(b),right:me,pathType:$}},"namePathParslet")}a(le,"createNamePathParslet");function W({allowedAdditionalTokens:e}){return F({name:"nameParslet",accept:a(s=>s==="Identifier"||s==="this"||s==="new"||e.includes(s),"accept"),parsePrefix:a(s=>{let{type:c,text:d}=s.lexer.current;return s.consume(c),{type:"JsdocTypeName",value:d}},"parsePrefix")})}a(W,"createNameParslet");let ue=F({name:"stringValueParslet",accept:a(e=>e==="StringValue","accept"),parsePrefix:a(e=>{let s=e.lexer.current.text;return e.consume("StringValue"),{type:"JsdocTypeStringValue",value:s.slice(1,-1),meta:{quote:s[0]==="'"?"single":"double"}}},"parsePrefix")});function ye({pathGrammar:e,allowedTypes:s}){return F({name:"specialNamePathParslet",accept:a(c=>s.includes(c),"accept"),parsePrefix:a(c=>{let d=c.lexer.current.type;if(c.consume(d),!c.consume(":"))return{type:"JsdocTypeName",value:d};let v,b=c.lexer.current;if(c.consume("StringValue"))v={type:"JsdocTypeSpecialNamePath",value:b.text.slice(1,-1),specialType:d,meta:{quote:b.text[0]==="'"?"single":"double"}};else{let $="",q=["Identifier","@","/"];for(;q.some(Q=>c.consume(Q));)$+=b.text,b=c.lexer.current;v={type:"JsdocTypeSpecialNamePath",value:$,specialType:d,meta:{quote:void 0}}}let O=new ee(e,c.lexer,c),U=O.parseInfixIntermediateType(v,J.ALL);return c.acceptLexerState(O),N(U)},"parsePrefix")})}a(ye,"createSpecialNamePathParslet");let mt=[W({allowedAdditionalTokens:["external","module"]}),ue,we,le({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:null})],pe=[...mt,ye({allowedTypes:["event"],pathGrammar:mt})];function Pe(e){let s;if(e.type==="JsdocTypeParameterList")s=e.elements;else if(e.type==="JsdocTypeParenthesis")s=[e.element];else throw new m(e);return s.map(c=>K(c))}a(Pe,"getParameters");function ft(e){let s=Pe(e);if(s.some(c=>c.type==="JsdocTypeKeyValue"))throw new Error("No parameter should be named");return s}a(ft,"getUnnamedParameters");function Oe({allowNamedParameters:e,allowNoReturnType:s,allowWithoutParenthesis:c,allowNewAsFunctionKeyword:d}){return F({name:"functionParslet",accept:a((v,b)=>v==="function"||d&&v==="new"&&b==="(","accept"),parsePrefix:a(v=>{let b=v.consume("new");v.consume("function");let O=v.lexer.current.type==="(";if(!O){if(!c)throw new Error("function is missing parameter list");return{type:"JsdocTypeName",value:"function"}}let U={type:"JsdocTypeFunction",parameters:[],arrow:!1,constructor:b,parenthesis:O},$=v.parseIntermediateType(J.FUNCTION);if(e===void 0)U.parameters=ft($);else{if(b&&$.type==="JsdocTypeFunction"&&$.arrow)return U=$,U.constructor=!0,U;U.parameters=Pe($);for(let q of U.parameters)if(q.type==="JsdocTypeKeyValue"&&!e.includes(q.key))throw new Error(`only allowed named parameters are ${e.join(", ")} but got ${q.type}`)}if(v.consume(":"))U.returnType=v.parseType(J.PREFIX);else if(!s)throw new Error("function is missing return type");return U},"parsePrefix")})}a(Oe,"createFunctionParslet");function Ne({allowPostfix:e,allowEnclosingBrackets:s}){return F({name:"variadicParslet",accept:a(c=>c==="...","accept"),precedence:J.PREFIX,parsePrefix:a(c=>{c.consume("...");let d=s&&c.consume("[");try{let v=c.parseType(J.PREFIX);if(d&&!c.consume("]"))throw new Error("Unterminated variadic type. Missing ']'");return{type:"JsdocTypeVariadic",element:N(v),meta:{position:"prefix",squareBrackets:d}}}catch(v){if(v instanceof p){if(d)throw new Error("Empty square brackets for variadic are not allowed.");return{type:"JsdocTypeVariadic",meta:{position:void 0,squareBrackets:!1}}}else throw v}},"parsePrefix"),parseInfix:e?(c,d)=>(c.consume("..."),{type:"JsdocTypeVariadic",element:N(d),meta:{position:"suffix",squareBrackets:!1}}):void 0})}a(Ne,"createVariadicParslet");let Tt=F({name:"symbolParslet",accept:a(e=>e==="(","accept"),precedence:J.SYMBOL,parseInfix:a((e,s)=>{if(s.type!=="JsdocTypeName")throw new Error("Symbol expects a name on the left side. (Reacting on '(')");e.consume("(");let c={type:"JsdocTypeSymbol",value:s.value};if(!e.consume(")")){let d=e.parseIntermediateType(J.SYMBOL);if(c.element=Y(d),!e.consume(")"))throw new Error("Symbol does not end after value")}return c},"parseInfix")}),vt=F({name:"arrayBracketsParslet",precedence:J.ARRAY_BRACKETS,accept:a((e,s)=>e==="["&&s==="]","accept"),parseInfix:a((e,s)=>(e.consume("["),e.consume("]"),{type:"JsdocTypeGeneric",left:{type:"JsdocTypeName",value:"Array"},elements:[N(s)],meta:{brackets:"square",dot:!1}}),"parseInfix")});function _e({objectFieldGrammar:e,allowKeyTypes:s}){return F({name:"objectParslet",accept:a(c=>c==="{","accept"),parsePrefix:a(c=>{c.consume("{");let d={type:"JsdocTypeObject",meta:{separator:"comma"},elements:[]};if(!c.consume("}")){let v,b=new ee(e,c.lexer,c);for(;;){b.acceptLexerState(c);let O=b.parseIntermediateType(J.OBJECT);c.acceptLexerState(b),O===void 0&&s&&(O=c.parseIntermediateType(J.OBJECT));let U=!1;if(O.type==="JsdocTypeNullable"&&(U=!0,O=O.element),O.type==="JsdocTypeNumber"||O.type==="JsdocTypeName"||O.type==="JsdocTypeStringValue"){let $;O.type==="JsdocTypeStringValue"&&($=O.meta.quote),d.elements.push({type:"JsdocTypeObjectField",key:O.value.toString(),right:void 0,optional:U,readonly:!1,meta:{quote:$}})}else if(O.type==="JsdocTypeObjectField"||O.type==="JsdocTypeJsdocObjectField")d.elements.push(O);else throw new m(O);if(c.lexer.current.startOfLine)v="linebreak";else if(c.consume(","))v="comma";else if(c.consume(";"))v="semicolon";else break;if(c.lexer.current.type==="}")break}if(d.meta.separator=v??"comma",!c.consume("}"))throw new Error("Unterminated record type. Missing '}'")}return d},"parsePrefix")})}a(_e,"createObjectParslet");function Se({allowSquaredProperties:e,allowKeyTypes:s,allowReadonly:c,allowOptional:d}){return F({name:"objectFieldParslet",precedence:J.KEY_VALUE,accept:a(v=>v===":","accept"),parseInfix:a((v,b)=>{var O;let U=!1,$=!1;d&&b.type==="JsdocTypeNullable"&&(U=!0,b=b.element),c&&b.type==="JsdocTypeReadonlyProperty"&&($=!0,b=b.element);let q=(O=v.baseParser)!==null&&O!==void 0?O:v;if(q.acceptLexerState(v),b.type==="JsdocTypeNumber"||b.type==="JsdocTypeName"||b.type==="JsdocTypeStringValue"||M(b)){if(M(b)&&!e)throw new m(b);q.consume(":");let Q;b.type==="JsdocTypeStringValue"&&(Q=b.meta.quote);let z=q.parseType(J.KEY_VALUE);return v.acceptLexerState(q),{type:"JsdocTypeObjectField",key:M(b)?b:b.value.toString(),right:z,optional:U,readonly:$,meta:{quote:Q}}}else{if(!s)throw new m(b);q.consume(":");let Q=q.parseType(J.KEY_VALUE);return v.acceptLexerState(q),{type:"JsdocTypeJsdocObjectField",left:N(b),right:Q}}},"parseInfix")})}a(Se,"createObjectFieldParslet");function je({allowOptional:e,allowVariadic:s}){return F({name:"keyValueParslet",precedence:J.KEY_VALUE,accept:a(c=>c===":","accept"),parseInfix:a((c,d)=>{let v=!1,b=!1;if(e&&d.type==="JsdocTypeNullable"&&(v=!0,d=d.element),s&&d.type==="JsdocTypeVariadic"&&d.element!==void 0&&(b=!0,d=d.element),d.type!=="JsdocTypeName")throw new m(d);c.consume(":");let O=c.parseType(J.KEY_VALUE);return{type:"JsdocTypeKeyValue",key:d.value,right:O,optional:v,variadic:b}},"parseInfix")})}a(je,"createKeyValueParslet");let ht=[...Me,Oe({allowWithoutParenthesis:!0,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),ue,ye({allowedTypes:["module","external","event"],pathGrammar:pe}),Ne({allowEnclosingBrackets:!0,allowPostfix:!0}),W({allowedAdditionalTokens:["keyof"]}),Tt,vt,le({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:pe})],Qr=[...ht,_e({objectFieldGrammar:[W({allowedAdditionalTokens:["module","in"]}),Se({allowSquaredProperties:!1,allowKeyTypes:!0,allowOptional:!1,allowReadonly:!1}),...ht],allowKeyTypes:!0}),je({allowOptional:!0,allowVariadic:!0})],gt=F({name:"typeOfParslet",accept:a(e=>e==="typeof","accept"),parsePrefix:a(e=>(e.consume("typeof"),{type:"JsdocTypeTypeof",element:N(e.parseType(J.KEY_OF_TYPE_OF))}),"parsePrefix")}),Zr=[W({allowedAdditionalTokens:["module","keyof","event","external","in"]}),Ce,xe,ue,we,Se({allowSquaredProperties:!1,allowKeyTypes:!1,allowOptional:!1,allowReadonly:!1})],en=[...Me,_e({allowKeyTypes:!1,objectFieldGrammar:Zr}),W({allowedAdditionalTokens:["event","external","in"]}),gt,Oe({allowWithoutParenthesis:!1,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),Ne({allowEnclosingBrackets:!1,allowPostfix:!1}),W({allowedAdditionalTokens:["keyof"]}),ye({allowedTypes:["module"],pathGrammar:pe}),le({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:pe}),je({allowOptional:!1,allowVariadic:!1}),Tt];function bt({allowQuestionMark:e}){return F({name:"tupleParslet",accept:a(s=>s==="[","accept"),parsePrefix:a(s=>{s.consume("[");let c={type:"JsdocTypeTuple",elements:[]};if(s.consume("]"))return c;let d=s.parseIntermediateType(J.ALL);if(d.type==="JsdocTypeParameterList"?d.elements[0].type==="JsdocTypeKeyValue"?c.elements=d.elements.map(S):c.elements=d.elements.map(N):d.type==="JsdocTypeKeyValue"?c.elements=[S(d)]:c.elements=[N(d)],!s.consume("]"))throw new Error("Unterminated '['");if(!e&&c.elements.some(v=>v.type==="JsdocTypeUnknown"))throw new Error("Question mark in tuple not allowed");return c},"parsePrefix")})}a(bt,"createTupleParslet");let tn=F({name:"keyOfParslet",accept:a(e=>e==="keyof","accept"),parsePrefix:a(e=>(e.consume("keyof"),{type:"JsdocTypeKeyof",element:N(e.parseType(J.KEY_OF_TYPE_OF))}),"parsePrefix")}),rn=F({name:"importParslet",accept:a(e=>e==="import","accept"),parsePrefix:a(e=>{if(e.consume("import"),!e.consume("("))throw new Error("Missing parenthesis after import keyword");let s=e.parseType(J.PREFIX);if(s.type!=="JsdocTypeStringValue")throw new Error("Only string values are allowed as paths for imports");if(!e.consume(")"))throw new Error("Missing closing parenthesis after import keyword");return{type:"JsdocTypeImport",element:s}},"parsePrefix")}),nn=F({name:"readonlyPropertyParslet",accept:a(e=>e==="readonly","accept"),parsePrefix:a(e=>(e.consume("readonly"),{type:"JsdocTypeReadonlyProperty",element:e.parseType(J.KEY_VALUE)}),"parsePrefix")}),an=F({name:"arrowFunctionParslet",precedence:J.ARROW,accept:a(e=>e==="=>","accept"),parseInfix:a((e,s)=>(e.consume("=>"),{type:"JsdocTypeFunction",parameters:Pe(s).map(G),arrow:!0,constructor:!1,parenthesis:!0,returnType:e.parseType(J.OBJECT)}),"parseInfix")}),on=F({name:"intersectionParslet",accept:a(e=>e==="&","accept"),precedence:J.INTERSECTION,parseInfix:a((e,s)=>{e.consume("&");let c=[];do c.push(e.parseType(J.INTERSECTION));while(e.consume("&"));return{type:"JsdocTypeIntersection",elements:[N(s),...c]}},"parseInfix")}),sn=F({name:"predicateParslet",precedence:J.INFIX,accept:a(e=>e==="is","accept"),parseInfix:a((e,s)=>{if(s.type!=="JsdocTypeName")throw new m(s,"A typescript predicate always has to have a name on the left side.");return e.consume("is"),{type:"JsdocTypePredicate",left:s,right:N(e.parseIntermediateType(J.INFIX))}},"parseInfix")}),pn=F({name:"objectSquareBracketPropertyParslet",accept:a(e=>e==="[","accept"),parsePrefix:a(e=>{if(e.baseParser===void 0)throw new Error("Only allowed inside object grammar");e.consume("[");let s=e.lexer.current.text;e.consume("Identifier");let c;if(e.consume(":")){let d=e.baseParser;d.acceptLexerState(e),c={type:"JsdocTypeIndexSignature",key:s,right:d.parseType(J.ARRAY_BRACKETS)},e.acceptLexerState(d)}else if(e.consume("in")){let d=e.baseParser;d.acceptLexerState(e),c={type:"JsdocTypeMappedType",key:s,right:d.parseType(J.ARRAY_BRACKETS)},e.acceptLexerState(d)}else throw new Error("Missing ':' or 'in' inside square bracketed property.");if(!e.consume("]"))throw new Error("Unterminated square brackets");return c},"parsePrefix")}),cn=[nn,W({allowedAdditionalTokens:["module","event","keyof","event","external","in"]}),Ce,xe,ue,we,Se({allowSquaredProperties:!0,allowKeyTypes:!1,allowOptional:!0,allowReadonly:!0}),pn],ln=[...Me,_e({allowKeyTypes:!1,objectFieldGrammar:cn}),gt,tn,rn,ue,Oe({allowWithoutParenthesis:!0,allowNoReturnType:!1,allowNamedParameters:["this","new","args"],allowNewAsFunctionKeyword:!0}),bt({allowQuestionMark:!1}),Ne({allowEnclosingBrackets:!1,allowPostfix:!1}),W({allowedAdditionalTokens:["event","external","in"]}),ye({allowedTypes:["module"],pathGrammar:pe}),vt,an,le({allowSquareBracketsOnAnyType:!0,allowJsdocNamePaths:!1,pathGrammar:pe}),on,sn,je({allowVariadic:!0,allowOptional:!0})];function qe(e,s){switch(s){case"closure":return new ee(en,e).parse();case"jsdoc":return new ee(Qr,e).parse();case"typescript":return new ee(ln,e).parse()}}a(qe,"parse");function Jt(e,s=["typescript","closure","jsdoc"]){let c;for(let d of s)try{return qe(e,d)}catch(v){c=v}throw c}a(Jt,"tryParse");function ce(e,s){let c=e[s.type];if(c===void 0)throw new Error(`In this set of transform rules exists no rule for type ${s.type}.`);return c(s,d=>ce(e,d))}a(ce,"transform");function B(e){throw new Error("This transform is not available. Are you trying the correct parsing mode?")}a(B,"notAvailableTransform");function Be(e){let s={params:[]};for(let c of e.parameters)c.type==="JsdocTypeKeyValue"?c.key==="this"?s.this=c.right:c.key==="new"?s.new=c.right:s.params.push(c):s.params.push(c);return s}a(Be,"extractSpecialParams");function de(e,s,c){return e==="prefix"?c+s:s+c}a(de,"applyPosition");function H(e,s){switch(s){case"double":return`"${e}"`;case"single":return`'${e}'`;case void 0:return e}}a(H,"quote");function Ge(){return{JsdocTypeParenthesis:a((e,s)=>`(${e.element!==void 0?s(e.element):""})`,"JsdocTypeParenthesis"),JsdocTypeKeyof:a((e,s)=>`keyof ${s(e.element)}`,"JsdocTypeKeyof"),JsdocTypeFunction:a((e,s)=>{if(e.arrow){if(e.returnType===void 0)throw new Error("Arrow function needs a return type.");let c=`(${e.parameters.map(s).join(", ")}) => ${s(e.returnType)}`;return e.constructor&&(c="new "+c),c}else{let c=e.constructor?"new":"function";return e.parenthesis&&(c+=`(${e.parameters.map(s).join(", ")})`,e.returnType!==void 0&&(c+=`: ${s(e.returnType)}`)),c}},"JsdocTypeFunction"),JsdocTypeName:a(e=>e.value,"JsdocTypeName"),JsdocTypeTuple:a((e,s)=>`[${e.elements.map(s).join(", ")}]`,"JsdocTypeTuple"),JsdocTypeVariadic:a((e,s)=>e.meta.position===void 0?"...":de(e.meta.position,s(e.element),"..."),"JsdocTypeVariadic"),JsdocTypeNamePath:a((e,s)=>{let c=s(e.left),d=s(e.right);switch(e.pathType){case"inner":return`${c}~${d}`;case"instance":return`${c}#${d}`;case"property":return`${c}.${d}`;case"property-brackets":return`${c}[${d}]`}},"JsdocTypeNamePath"),JsdocTypeStringValue:a(e=>H(e.value,e.meta.quote),"JsdocTypeStringValue"),JsdocTypeAny:a(()=>"*","JsdocTypeAny"),JsdocTypeGeneric:a((e,s)=>{if(e.meta.brackets==="square"){let c=e.elements[0],d=s(c);return c.type==="JsdocTypeUnion"||c.type==="JsdocTypeIntersection"?`(${d})[]`:`${d}[]`}else return`${s(e.left)}${e.meta.dot?".":""}<${e.elements.map(s).join(", ")}>`},"JsdocTypeGeneric"),JsdocTypeImport:a((e,s)=>`import(${s(e.element)})`,"JsdocTypeImport"),JsdocTypeObjectField:a((e,s)=>{let c="";return e.readonly&&(c+="readonly "),typeof e.key=="string"?c+=H(e.key,e.meta.quote):c+=s(e.key),e.optional&&(c+="?"),e.right===void 0?c:c+`: ${s(e.right)}`},"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:a((e,s)=>`${s(e.left)}: ${s(e.right)}`,"JsdocTypeJsdocObjectField"),JsdocTypeKeyValue:a((e,s)=>{let c=e.key;return e.optional&&(c+="?"),e.variadic&&(c="..."+c),e.right===void 0?c:c+`: ${s(e.right)}`},"JsdocTypeKeyValue"),JsdocTypeSpecialNamePath:a(e=>`${e.specialType}:${H(e.value,e.meta.quote)}`,"JsdocTypeSpecialNamePath"),JsdocTypeNotNullable:a((e,s)=>de(e.meta.position,s(e.element),"!"),"JsdocTypeNotNullable"),JsdocTypeNull:a(()=>"null","JsdocTypeNull"),JsdocTypeNullable:a((e,s)=>de(e.meta.position,s(e.element),"?"),"JsdocTypeNullable"),JsdocTypeNumber:a(e=>e.value.toString(),"JsdocTypeNumber"),JsdocTypeObject:a((e,s)=>`{${e.elements.map(s).join((e.meta.separator==="comma"?",":";")+" ")}}`,"JsdocTypeObject"),JsdocTypeOptional:a((e,s)=>de(e.meta.position,s(e.element),"="),"JsdocTypeOptional"),JsdocTypeSymbol:a((e,s)=>`${e.value}(${e.element!==void 0?s(e.element):""})`,"JsdocTypeSymbol"),JsdocTypeTypeof:a((e,s)=>`typeof ${s(e.element)}`,"JsdocTypeTypeof"),JsdocTypeUndefined:a(()=>"undefined","JsdocTypeUndefined"),JsdocTypeUnion:a((e,s)=>e.elements.map(s).join(" | "),"JsdocTypeUnion"),JsdocTypeUnknown:a(()=>"?","JsdocTypeUnknown"),JsdocTypeIntersection:a((e,s)=>e.elements.map(s).join(" & "),"JsdocTypeIntersection"),JsdocTypeProperty:a(e=>H(e.value,e.meta.quote),"JsdocTypeProperty"),JsdocTypePredicate:a((e,s)=>`${s(e.left)} is ${s(e.right)}`,"JsdocTypePredicate"),JsdocTypeIndexSignature:a((e,s)=>`[${e.key}: ${s(e.right)}]`,"JsdocTypeIndexSignature"),JsdocTypeMappedType:a((e,s)=>`[${e.key} in ${s(e.right)}]`,"JsdocTypeMappedType")}}a(Ge,"stringifyRules");let un=Ge();function xt(e){return ce(un,e)}a(xt,"stringify");let yn=["null","true","false","break","case","catch","class","const","continue","debugger","default","delete","do","else","export","extends","finally","for","function","if","import","in","instanceof","new","return","super","switch","this","throw","try","typeof","var","void","while","with","yield"];function X(e){let s={type:"NameExpression",name:e};return yn.includes(e)&&(s.reservedWord=!0),s}a(X,"makeName");let dn={JsdocTypeOptional:a((e,s)=>{let c=s(e.element);return c.optional=!0,c},"JsdocTypeOptional"),JsdocTypeNullable:a((e,s)=>{let c=s(e.element);return c.nullable=!0,c},"JsdocTypeNullable"),JsdocTypeNotNullable:a((e,s)=>{let c=s(e.element);return c.nullable=!1,c},"JsdocTypeNotNullable"),JsdocTypeVariadic:a((e,s)=>{if(e.element===void 0)throw new Error("dots without value are not allowed in catharsis mode");let c=s(e.element);return c.repeatable=!0,c},"JsdocTypeVariadic"),JsdocTypeAny:a(()=>({type:"AllLiteral"}),"JsdocTypeAny"),JsdocTypeNull:a(()=>({type:"NullLiteral"}),"JsdocTypeNull"),JsdocTypeStringValue:a(e=>X(H(e.value,e.meta.quote)),"JsdocTypeStringValue"),JsdocTypeUndefined:a(()=>({type:"UndefinedLiteral"}),"JsdocTypeUndefined"),JsdocTypeUnknown:a(()=>({type:"UnknownLiteral"}),"JsdocTypeUnknown"),JsdocTypeFunction:a((e,s)=>{let c=Be(e),d={type:"FunctionType",params:c.params.map(s)};return c.this!==void 0&&(d.this=s(c.this)),c.new!==void 0&&(d.new=s(c.new)),e.returnType!==void 0&&(d.result=s(e.returnType)),d},"JsdocTypeFunction"),JsdocTypeGeneric:a((e,s)=>({type:"TypeApplication",applications:e.elements.map(c=>s(c)),expression:s(e.left)}),"JsdocTypeGeneric"),JsdocTypeSpecialNamePath:a(e=>X(e.specialType+":"+H(e.value,e.meta.quote)),"JsdocTypeSpecialNamePath"),JsdocTypeName:a(e=>e.value!=="function"?X(e.value):{type:"FunctionType",params:[]},"JsdocTypeName"),JsdocTypeNumber:a(e=>X(e.value.toString()),"JsdocTypeNumber"),JsdocTypeObject:a((e,s)=>{let c={type:"RecordType",fields:[]};for(let d of e.elements)d.type!=="JsdocTypeObjectField"&&d.type!=="JsdocTypeJsdocObjectField"?c.fields.push({type:"FieldType",key:s(d),value:void 0}):c.fields.push(s(d));return c},"JsdocTypeObject"),JsdocTypeObjectField:a((e,s)=>{if(typeof e.key!="string")throw new Error("Index signatures and mapped types are not supported");return{type:"FieldType",key:X(H(e.key,e.meta.quote)),value:e.right===void 0?void 0:s(e.right)}},"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:a((e,s)=>({type:"FieldType",key:s(e.left),value:s(e.right)}),"JsdocTypeJsdocObjectField"),JsdocTypeUnion:a((e,s)=>({type:"TypeUnion",elements:e.elements.map(c=>s(c))}),"JsdocTypeUnion"),JsdocTypeKeyValue:a((e,s)=>({type:"FieldType",key:X(e.key),value:e.right===void 0?void 0:s(e.right)}),"JsdocTypeKeyValue"),JsdocTypeNamePath:a((e,s)=>{let c=s(e.left),d;e.right.type==="JsdocTypeSpecialNamePath"?d=s(e.right).name:d=H(e.right.value,e.right.meta.quote);let v=e.pathType==="inner"?"~":e.pathType==="instance"?"#":".";return X(`${c.name}${v}${d}`)},"JsdocTypeNamePath"),JsdocTypeSymbol:a(e=>{let s="",c=e.element,d=!1;return(c==null?void 0:c.type)==="JsdocTypeVariadic"&&(c.meta.position==="prefix"?s="...":d=!0,c=c.element),(c==null?void 0:c.type)==="JsdocTypeName"?s+=c.value:(c==null?void 0:c.type)==="JsdocTypeNumber"&&(s+=c.value.toString()),d&&(s+="..."),X(`${e.value}(${s})`)},"JsdocTypeSymbol"),JsdocTypeParenthesis:a((e,s)=>s(N(e.element)),"JsdocTypeParenthesis"),JsdocTypeMappedType:B,JsdocTypeIndexSignature:B,JsdocTypeImport:B,JsdocTypeKeyof:B,JsdocTypeTuple:B,JsdocTypeTypeof:B,JsdocTypeIntersection:B,JsdocTypeProperty:B,JsdocTypePredicate:B};function wt(e){return ce(dn,e)}a(wt,"catharsisTransform");function te(e){switch(e){case void 0:return"none";case"single":return"single";case"double":return"double"}}a(te,"getQuoteStyle");function Pt(e){switch(e){case"inner":return"INNER_MEMBER";case"instance":return"INSTANCE_MEMBER";case"property":return"MEMBER";case"property-brackets":return"MEMBER"}}a(Pt,"getMemberType");function Ee(e,s){return s.length===2?{type:e,left:s[0],right:s[1]}:{type:e,left:s[0],right:Ee(e,s.slice(1))}}a(Ee,"nestResults");let mn={JsdocTypeOptional:a((e,s)=>({type:"OPTIONAL",value:s(e.element),meta:{syntax:e.meta.position==="prefix"?"PREFIX_EQUAL_SIGN":"SUFFIX_EQUALS_SIGN"}}),"JsdocTypeOptional"),JsdocTypeNullable:a((e,s)=>({type:"NULLABLE",value:s(e.element),meta:{syntax:e.meta.position==="prefix"?"PREFIX_QUESTION_MARK":"SUFFIX_QUESTION_MARK"}}),"JsdocTypeNullable"),JsdocTypeNotNullable:a((e,s)=>({type:"NOT_NULLABLE",value:s(e.element),meta:{syntax:e.meta.position==="prefix"?"PREFIX_BANG":"SUFFIX_BANG"}}),"JsdocTypeNotNullable"),JsdocTypeVariadic:a((e,s)=>{let c={type:"VARIADIC",meta:{syntax:e.meta.position==="prefix"?"PREFIX_DOTS":e.meta.position==="suffix"?"SUFFIX_DOTS":"ONLY_DOTS"}};return e.element!==void 0&&(c.value=s(e.element)),c},"JsdocTypeVariadic"),JsdocTypeName:a(e=>({type:"NAME",name:e.value}),"JsdocTypeName"),JsdocTypeTypeof:a((e,s)=>({type:"TYPE_QUERY",name:s(e.element)}),"JsdocTypeTypeof"),JsdocTypeTuple:a((e,s)=>({type:"TUPLE",entries:e.elements.map(s)}),"JsdocTypeTuple"),JsdocTypeKeyof:a((e,s)=>({type:"KEY_QUERY",value:s(e.element)}),"JsdocTypeKeyof"),JsdocTypeImport:a(e=>({type:"IMPORT",path:{type:"STRING_VALUE",quoteStyle:te(e.element.meta.quote),string:e.element.value}}),"JsdocTypeImport"),JsdocTypeUndefined:a(()=>({type:"NAME",name:"undefined"}),"JsdocTypeUndefined"),JsdocTypeAny:a(()=>({type:"ANY"}),"JsdocTypeAny"),JsdocTypeFunction:a((e,s)=>{let c=Be(e),d={type:e.arrow?"ARROW":"FUNCTION",params:c.params.map(v=>{if(v.type==="JsdocTypeKeyValue"){if(v.right===void 0)throw new Error("Function parameter without ':' is not expected to be 'KEY_VALUE'");return{type:"NAMED_PARAMETER",name:v.key,typeName:s(v.right)}}else return s(v)}),new:null,returns:null};return c.this!==void 0?d.this=s(c.this):e.arrow||(d.this=null),c.new!==void 0&&(d.new=s(c.new)),e.returnType!==void 0&&(d.returns=s(e.returnType)),d},"JsdocTypeFunction"),JsdocTypeGeneric:a((e,s)=>{let c={type:"GENERIC",subject:s(e.left),objects:e.elements.map(s),meta:{syntax:e.meta.brackets==="square"?"SQUARE_BRACKET":e.meta.dot?"ANGLE_BRACKET_WITH_DOT":"ANGLE_BRACKET"}};return e.meta.brackets==="square"&&e.elements[0].type==="JsdocTypeFunction"&&!e.elements[0].parenthesis&&(c.objects[0]={type:"NAME",name:"function"}),c},"JsdocTypeGeneric"),JsdocTypeObjectField:a((e,s)=>{if(typeof e.key!="string")throw new Error("Index signatures and mapped types are not supported");if(e.right===void 0)return{type:"RECORD_ENTRY",key:e.key,quoteStyle:te(e.meta.quote),value:null,readonly:!1};let c=s(e.right);return e.optional&&(c={type:"OPTIONAL",value:c,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:e.key.toString(),quoteStyle:te(e.meta.quote),value:c,readonly:!1}},"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:a(()=>{throw new Error("Keys may not be typed in jsdoctypeparser.")},"JsdocTypeJsdocObjectField"),JsdocTypeKeyValue:a((e,s)=>{if(e.right===void 0)return{type:"RECORD_ENTRY",key:e.key,quoteStyle:"none",value:null,readonly:!1};let c=s(e.right);return e.optional&&(c={type:"OPTIONAL",value:c,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:e.key,quoteStyle:"none",value:c,readonly:!1}},"JsdocTypeKeyValue"),JsdocTypeObject:a((e,s)=>{let c=[];for(let d of e.elements)(d.type==="JsdocTypeObjectField"||d.type==="JsdocTypeJsdocObjectField")&&c.push(s(d));return{type:"RECORD",entries:c}},"JsdocTypeObject"),JsdocTypeSpecialNamePath:a(e=>{if(e.specialType!=="module")throw new Error(`jsdoctypeparser does not support type ${e.specialType} at this point.`);return{type:"MODULE",value:{type:"FILE_PATH",quoteStyle:te(e.meta.quote),path:e.value}}},"JsdocTypeSpecialNamePath"),JsdocTypeNamePath:a((e,s)=>{let c=!1,d,v;e.right.type==="JsdocTypeSpecialNamePath"&&e.right.specialType==="event"?(c=!0,d=e.right.value,v=te(e.right.meta.quote)):(d=e.right.value,v=te(e.right.meta.quote));let b={type:Pt(e.pathType),owner:s(e.left),name:d,quoteStyle:v,hasEventPrefix:c};if(b.owner.type==="MODULE"){let O=b.owner;return b.owner=b.owner.value,O.value=b,O}else return b},"JsdocTypeNamePath"),JsdocTypeUnion:a((e,s)=>Ee("UNION",e.elements.map(s)),"JsdocTypeUnion"),JsdocTypeParenthesis:a((e,s)=>({type:"PARENTHESIS",value:s(N(e.element))}),"JsdocTypeParenthesis"),JsdocTypeNull:a(()=>({type:"NAME",name:"null"}),"JsdocTypeNull"),JsdocTypeUnknown:a(()=>({type:"UNKNOWN"}),"JsdocTypeUnknown"),JsdocTypeStringValue:a(e=>({type:"STRING_VALUE",quoteStyle:te(e.meta.quote),string:e.value}),"JsdocTypeStringValue"),JsdocTypeIntersection:a((e,s)=>Ee("INTERSECTION",e.elements.map(s)),"JsdocTypeIntersection"),JsdocTypeNumber:a(e=>({type:"NUMBER_VALUE",number:e.value.toString()}),"JsdocTypeNumber"),JsdocTypeSymbol:B,JsdocTypeProperty:B,JsdocTypePredicate:B,JsdocTypeMappedType:B,JsdocTypeIndexSignature:B};function Ot(e){return ce(mn,e)}a(Ot,"jtpTransform");function Nt(){return{JsdocTypeIntersection:a((e,s)=>({type:"JsdocTypeIntersection",elements:e.elements.map(s)}),"JsdocTypeIntersection"),JsdocTypeGeneric:a((e,s)=>({type:"JsdocTypeGeneric",left:s(e.left),elements:e.elements.map(s),meta:{dot:e.meta.dot,brackets:e.meta.brackets}}),"JsdocTypeGeneric"),JsdocTypeNullable:a(e=>e,"JsdocTypeNullable"),JsdocTypeUnion:a((e,s)=>({type:"JsdocTypeUnion",elements:e.elements.map(s)}),"JsdocTypeUnion"),JsdocTypeUnknown:a(e=>e,"JsdocTypeUnknown"),JsdocTypeUndefined:a(e=>e,"JsdocTypeUndefined"),JsdocTypeTypeof:a((e,s)=>({type:"JsdocTypeTypeof",element:s(e.element)}),"JsdocTypeTypeof"),JsdocTypeSymbol:a((e,s)=>{let c={type:"JsdocTypeSymbol",value:e.value};return e.element!==void 0&&(c.element=s(e.element)),c},"JsdocTypeSymbol"),JsdocTypeOptional:a((e,s)=>({type:"JsdocTypeOptional",element:s(e.element),meta:{position:e.meta.position}}),"JsdocTypeOptional"),JsdocTypeObject:a((e,s)=>({type:"JsdocTypeObject",meta:{separator:"comma"},elements:e.elements.map(s)}),"JsdocTypeObject"),JsdocTypeNumber:a(e=>e,"JsdocTypeNumber"),JsdocTypeNull:a(e=>e,"JsdocTypeNull"),JsdocTypeNotNullable:a((e,s)=>({type:"JsdocTypeNotNullable",element:s(e.element),meta:{position:e.meta.position}}),"JsdocTypeNotNullable"),JsdocTypeSpecialNamePath:a(e=>e,"JsdocTypeSpecialNamePath"),JsdocTypeObjectField:a((e,s)=>({type:"JsdocTypeObjectField",key:e.key,right:e.right===void 0?void 0:s(e.right),optional:e.optional,readonly:e.readonly,meta:e.meta}),"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:a((e,s)=>({type:"JsdocTypeJsdocObjectField",left:s(e.left),right:s(e.right)}),"JsdocTypeJsdocObjectField"),JsdocTypeKeyValue:a((e,s)=>({type:"JsdocTypeKeyValue",key:e.key,right:e.right===void 0?void 0:s(e.right),optional:e.optional,variadic:e.variadic}),"JsdocTypeKeyValue"),JsdocTypeImport:a((e,s)=>({type:"JsdocTypeImport",element:s(e.element)}),"JsdocTypeImport"),JsdocTypeAny:a(e=>e,"JsdocTypeAny"),JsdocTypeStringValue:a(e=>e,"JsdocTypeStringValue"),JsdocTypeNamePath:a(e=>e,"JsdocTypeNamePath"),JsdocTypeVariadic:a((e,s)=>{let c={type:"JsdocTypeVariadic",meta:{position:e.meta.position,squareBrackets:e.meta.squareBrackets}};return e.element!==void 0&&(c.element=s(e.element)),c},"JsdocTypeVariadic"),JsdocTypeTuple:a((e,s)=>({type:"JsdocTypeTuple",elements:e.elements.map(s)}),"JsdocTypeTuple"),JsdocTypeName:a(e=>e,"JsdocTypeName"),JsdocTypeFunction:a((e,s)=>{let c={type:"JsdocTypeFunction",arrow:e.arrow,parameters:e.parameters.map(s),constructor:e.constructor,parenthesis:e.parenthesis};return e.returnType!==void 0&&(c.returnType=s(e.returnType)),c},"JsdocTypeFunction"),JsdocTypeKeyof:a((e,s)=>({type:"JsdocTypeKeyof",element:s(e.element)}),"JsdocTypeKeyof"),JsdocTypeParenthesis:a((e,s)=>({type:"JsdocTypeParenthesis",element:s(e.element)}),"JsdocTypeParenthesis"),JsdocTypeProperty:a(e=>e,"JsdocTypeProperty"),JsdocTypePredicate:a((e,s)=>({type:"JsdocTypePredicate",left:s(e.left),right:s(e.right)}),"JsdocTypePredicate"),JsdocTypeIndexSignature:a((e,s)=>({type:"JsdocTypeIndexSignature",key:e.key,right:s(e.right)}),"JsdocTypeIndexSignature"),JsdocTypeMappedType:a((e,s)=>({type:"JsdocTypeMappedType",key:e.key,right:s(e.right)}),"JsdocTypeMappedType")}}a(Nt,"identityTransformRules");let _t={JsdocTypeAny:[],JsdocTypeFunction:["parameters","returnType"],JsdocTypeGeneric:["left","elements"],JsdocTypeImport:[],JsdocTypeIndexSignature:["right"],JsdocTypeIntersection:["elements"],JsdocTypeKeyof:["element"],JsdocTypeKeyValue:["right"],JsdocTypeMappedType:["right"],JsdocTypeName:[],JsdocTypeNamePath:["left","right"],JsdocTypeNotNullable:["element"],JsdocTypeNull:[],JsdocTypeNullable:["element"],JsdocTypeNumber:[],JsdocTypeObject:["elements"],JsdocTypeObjectField:["right"],JsdocTypeJsdocObjectField:["left","right"],JsdocTypeOptional:["element"],JsdocTypeParenthesis:["element"],JsdocTypeSpecialNamePath:[],JsdocTypeStringValue:[],JsdocTypeSymbol:["element"],JsdocTypeTuple:["elements"],JsdocTypeTypeof:["element"],JsdocTypeUndefined:[],JsdocTypeUnion:["elements"],JsdocTypeUnknown:[],JsdocTypeVariadic:["element"],JsdocTypeProperty:[],JsdocTypePredicate:["left","right"]};function ke(e,s,c,d,v){d==null||d(e,s,c);let b=_t[e.type];for(let O of b){let U=e[O];if(U!==void 0)if(Array.isArray(U))for(let $ of U)ke($,e,O,d,v);else ke(U,e,O,d,v)}v==null||v(e,s,c)}a(ke,"_traverse");function St(e,s,c){ke(e,void 0,void 0,s,c)}a(St,"traverse"),n.catharsisTransform=wt,n.identityTransformRules=Nt,n.jtpTransform=Ot,n.parse=qe,n.stringify=xt,n.stringifyRules=Ge,n.transform=ce,n.traverse=St,n.tryParse=Jt,n.visitorKeys=_t})});const{UnknownArgTypesError:Ko}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__;var er=/^['"]|['"]$/g,Co=a(r=>r.replace(er,""),"trimQuotes"),Mo=a(r=>er.test(r),"includesQuotes"),tr=a(r=>{let t=Co(r);return Mo(r)||Number.isNaN(Number(t))?t:Number(t)},"parseLiteral"),qo=a(r=>{switch(r.type){case"function":return{name:"function"};case"object":let t={};return r.signature.properties.forEach(n=>{t[n.key]=ve(n.value)}),{name:"object",value:t};default:throw new Ko({type:r,language:"Typescript"})}},"convertSig"),ve=a(r=>{var i,p,l,u;let{name:t,raw:n}=r,o={};switch(typeof n<"u"&&(o.raw=n),r.name){case"string":case"number":case"symbol":case"boolean":return{...o,name:t};case"Array":return{...o,name:"array",value:r.elements.map(ve)};case"signature":return{...o,...qo(r)};case"union":let y;return(i=r.elements)!=null&&i.every(m=>m.name==="literal")?y={...o,name:"enum",value:(p=r.elements)==null?void 0:p.map(m=>tr(m.value))}:y={...o,name:t,value:(l=r.elements)==null?void 0:l.map(ve)},y;case"intersection":return{...o,name:t,value:(u=r.elements)==null?void 0:u.map(ve)};default:return{...o,name:"other",value:t}}},"convert");const{UnknownArgTypesError:Bo}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__;var Go=a(r=>r.name==="literal","isLiteral"),Yo=a(r=>r.value.replace(/['|"]/g,""),"toEnumOption"),zo=a(r=>{switch(r.type){case"function":return{name:"function"};case"object":let t={};return r.signature.properties.forEach(n=>{t[n.key]=he(n.value)}),{name:"object",value:t};default:throw new Bo({type:r,language:"Flow"})}},"convertSig"),he=a(r=>{var i,p,l,u;let{name:t,raw:n}=r,o={};switch(typeof n<"u"&&(o.raw=n),r.name){case"literal":return{...o,name:"other",value:r.value};case"string":case"number":case"symbol":case"boolean":return{...o,name:t};case"Array":return{...o,name:"array",value:r.elements.map(he)};case"signature":return{...o,...zo(r)};case"union":return(i=r.elements)!=null&&i.every(Go)?{...o,name:"enum",value:(p=r.elements)==null?void 0:p.map(Yo)}:{...o,name:t,value:(l=r.elements)==null?void 0:l.map(he)};case"intersection":return{...o,name:t,value:(u=r.elements)==null?void 0:u.map(he)};default:return{...o,name:"other",value:t}}},"convert"),Wo=Ft($o()),Ho=/^\(.*\) => /,Te=a(r=>{let{name:t,raw:n,computed:o,value:i}=r,p={};switch(typeof n<"u"&&(p.raw=n),t){case"enum":{let u=o?i:i.map(y=>tr(y.value));return{...p,name:t,value:u}}case"string":case"number":case"symbol":return{...p,name:t};case"func":return{...p,name:"function"};case"bool":case"boolean":return{...p,name:"boolean"};case"arrayOf":case"array":return{...p,name:"array",value:i&&Te(i)};case"object":return{...p,name:t};case"objectOf":return{...p,name:t,value:Te(i)};case"shape":case"exact":let l=(0,Wo.default)(i,u=>Te(u));return{...p,name:"object",value:l};case"union":return{...p,name:"union",value:i.map(u=>Te(u))};case"instanceOf":case"element":case"elementType":default:{if((t==null?void 0:t.indexOf("|"))>0)try{let m=t.split("|").map(T=>JSON.parse(T));return{...p,name:"enum",value:m}}catch{}let u=i?`${t}(${i})`:t,y=Ho.test(t)?"function":"other";return{...p,name:y,value:u}}}},"convert"),tt=a(r=>{let{type:t,tsType:n,flowType:o}=r;try{if(t!=null)return Te(t);if(n!=null)return ve(n);if(o!=null)return he(o)}catch(i){console.error(i)}return null},"convert"),Xo=(r=>(r.JAVASCRIPT="JavaScript",r.FLOW="Flow",r.TYPESCRIPT="TypeScript",r.UNKNOWN="Unknown",r))(Xo||{}),Qo=["null","undefined"];function De(r){return Qo.some(t=>t===r)}a(De,"isDefaultValueBlacklisted");var Zo=a(r=>{if(!r)return"";if(typeof r=="string")return r;throw new Error(`Description: expected string, got: ${JSON.stringify(r)}`)},"str");function rt(r){return!!r.__docgenInfo}a(rt,"hasDocgen");function rr(r){return r!=null&&Object.keys(r).length>0}a(rr,"isValidDocgenSection");function nr(r,t){return rt(r)?r.__docgenInfo[t]:null}a(nr,"getDocgenSection");function ar(r){return rt(r)?Zo(r.__docgenInfo.description):""}a(ar,"getDocgenDescription");var re;(function(r){r.start="/**",r.nostart="/***",r.delim="*",r.end="*/"})(re=re||(re={}));function or(r){return/^\s+$/.test(r)}a(or,"isSpace");function sr(r){let t=r.match(/\r+$/);return t==null?["",r]:[r.slice(-t[0].length),r.slice(0,-t[0].length)]}a(sr,"splitCR");function se(r){let t=r.match(/^\s+/);return t==null?["",r]:[r.slice(0,t[0].length),r.slice(t[0].length)]}a(se,"splitSpace");function ir(r){return r.split(/\n/)}a(ir,"splitLines");function pr(r={}){return Object.assign({tag:"",name:"",type:"",optional:!1,description:"",problems:[],source:[]},r)}a(pr,"seedSpec");function cr(r={}){return Object.assign({start:"",delimiter:"",postDelimiter:"",tag:"",postTag:"",name:"",postName:"",type:"",postType:"",description:"",end:"",lineEnd:""},r)}a(cr,"seedTokens");var es=/^@\S+/;function lr({fence:r="```"}={}){let t=ur(r),n=a((o,i)=>t(o)?!i:i,"toggleFence");return a(function(o){let i=[[]],p=!1;for(let l of o)es.test(l.tokens.description)&&!p?i.push([l]):i[i.length-1].push(l),p=n(l.tokens.description,p);return i},"parseBlock")}a(lr,"getParser");function ur(r){return typeof r=="string"?t=>t.split(r).length%2===0:r}a(ur,"getFencer");function yr({startLine:r=0,markers:t=re}={}){let n=null,o=r;return a(function(i){let p=i,l=cr();if([l.lineEnd,p]=sr(p),[l.start,p]=se(p),n===null&&p.startsWith(t.start)&&!p.startsWith(t.nostart)&&(n=[],l.delimiter=p.slice(0,t.start.length),p=p.slice(t.start.length),[l.postDelimiter,p]=se(p)),n===null)return o++,null;let u=p.trimRight().endsWith(t.end);if(l.delimiter===""&&p.startsWith(t.delim)&&!p.startsWith(t.end)&&(l.delimiter=t.delim,p=p.slice(t.delim.length),[l.postDelimiter,p]=se(p)),u){let y=p.trimRight();l.end=p.slice(y.length-t.end.length),p=y.slice(0,-t.end.length)}if(l.description=p,n.push({number:o,source:i,tokens:l}),o++,u){let y=n.slice();return n=null,y}return null},"parseSource")}a(yr,"getParser");function dr({tokenizers:r}){return a(function(t){var n;let o=pr({source:t});for(let i of r)if(o=i(o),!((n=o.problems[o.problems.length-1])===null||n===void 0)&&n.critical)break;return o},"parseSpec")}a(dr,"getParser");function mr(){return r=>{let{tokens:t}=r.source[0],n=t.description.match(/\s*(@(\S+))(\s*)/);return n===null?(r.problems.push({code:"spec:tag:prefix",message:'tag should start with "@" symbol',line:r.source[0].number,critical:!0}),r):(t.tag=n[1],t.postTag=n[3],t.description=t.description.slice(n[0].length),r.tag=n[2],r)}}a(mr,"tagTokenizer");function fr(r="compact"){let t=Tr(r);return n=>{let o=0,i=[];for(let[u,{tokens:y}]of n.source.entries()){let m="";if(u===0&&y.description[0]!=="{")return n;for(let T of y.description)if(T==="{"&&o++,T==="}"&&o--,m+=T,o===0)break;if(i.push([y,m]),o===0)break}if(o!==0)return n.problems.push({code:"spec:type:unpaired-curlies",message:"unpaired curlies",line:n.source[0].number,critical:!0}),n;let p=[],l=i[0][0].postDelimiter.length;for(let[u,[y,m]]of i.entries())y.type=m,u>0&&(y.type=y.postDelimiter.slice(l)+m,y.postDelimiter=y.postDelimiter.slice(0,l)),[y.postType,y.description]=se(y.description.slice(m.length)),p.push(y.type);return p[0]=p[0].slice(1),p[p.length-1]=p[p.length-1].slice(0,-1),n.type=t(p),n}}a(fr,"typeTokenizer");var ts=a(r=>r.trim(),"trim");function Tr(r){return r==="compact"?t=>t.map(ts).join(""):r==="preserve"?t=>t.join(` -`):r}a(Tr,"getJoiner");var rs=a(r=>r&&r.startsWith('"')&&r.endsWith('"'),"isQuoted");function vr(){let r=a((t,{tokens:n},o)=>n.type===""?t:o,"typeEnd");return t=>{let{tokens:n}=t.source[t.source.reduce(r,0)],o=n.description.trimLeft(),i=o.split('"');if(i.length>1&&i[0]===""&&i.length%2===1)return t.name=i[1],n.name=`"${i[1]}"`,[n.postName,n.description]=se(o.slice(n.name.length)),t;let p=0,l="",u=!1,y;for(let T of o){if(p===0&&or(T))break;T==="["&&p++,T==="]"&&p--,l+=T}if(p!==0)return t.problems.push({code:"spec:name:unpaired-brackets",message:"unpaired brackets",line:t.source[0].number,critical:!0}),t;let m=l;if(l[0]==="["&&l[l.length-1]==="]"){u=!0,l=l.slice(1,-1);let T=l.split("=");if(l=T[0].trim(),T[1]!==void 0&&(y=T.slice(1).join("=").trim()),l==="")return t.problems.push({code:"spec:name:empty-name",message:"empty name",line:t.source[0].number,critical:!0}),t;if(y==="")return t.problems.push({code:"spec:name:empty-default",message:"empty default value",line:t.source[0].number,critical:!0}),t;if(!rs(y)&&/=(?!>)/.test(y))return t.problems.push({code:"spec:name:invalid-default",message:"invalid default value syntax",line:t.source[0].number,critical:!0}),t}return t.optional=u,t.name=l,n.name=m,y!==void 0&&(t.default=y),[n.postName,n.description]=se(o.slice(n.name.length)),t}}a(vr,"nameTokenizer");function hr(r="compact",t=re){let n=nt(r);return o=>(o.description=n(o.source,t),o)}a(hr,"descriptionTokenizer");function nt(r){return r==="compact"?gr:r==="preserve"?br:r}a(nt,"getJoiner");function gr(r,t=re){return r.map(({tokens:{description:n}})=>n.trim()).filter(n=>n!=="").join(" ")}a(gr,"compactJoiner");var ns=a((r,{tokens:t},n)=>t.type===""?r:n,"lineNo"),as=a(({tokens:r})=>(r.delimiter===""?r.start:r.postDelimiter.slice(1))+r.description,"getDescription");function br(r,t=re){if(r.length===0)return"";r[0].tokens.description===""&&r[0].tokens.delimiter===t.start&&(r=r.slice(1));let n=r[r.length-1];return n!==void 0&&n.tokens.description===""&&n.tokens.end.endsWith(t.end)&&(r=r.slice(0,-1)),r=r.slice(r.reduce(ns,0)),r.map(as).join(` -`)}a(br,"preserveJoiner");function Jr({startLine:r=0,fence:t="```",spacing:n="compact",markers:o=re,tokenizers:i=[mr(),fr(n),vr(),hr(n)]}={}){if(r<0||r%1>0)throw new Error("Invalid startLine");let p=yr({startLine:r,markers:o}),l=lr({fence:t}),u=dr({tokenizers:i}),y=nt(n);return function(m){let T=[];for(let h of ir(m)){let x=p(h);if(x===null)continue;let g=l(x),w=g.slice(1).map(u);T.push({description:y(g[0],o),tags:w,source:x,problems:w.reduce((_,L)=>_.concat(L.problems),[])})}return T}}a(Jr,"getParser");function xr(r){return r.start+r.delimiter+r.postDelimiter+r.tag+r.postTag+r.type+r.postType+r.name+r.postName+r.description+r.end+r.lineEnd}a(xr,"join");function os(){return r=>r.source.map(({tokens:t})=>xr(t)).join(` -`)}a(os,"getStringifier");function wr(r,t={}){return Jr(t)(r)}a(wr,"parse");var at=Ft(Do());function Pr(r){return r!=null&&r.includes("@")}a(Pr,"containsJsDoc");function Or(r){let t=`/** -`+(r??"").split(` -`).map(o=>` * ${o}`).join(` -`)+` -*/`,n=wr(t,{spacing:"preserve"});if(!n||n.length===0)throw new Error("Cannot parse JSDoc tags.");return n[0]}a(Or,"parse");var ss={tags:["param","arg","argument","returns","ignore","deprecated"]},is=a((r,t=ss)=>{if(!Pr(r))return{includesJsDoc:!1,ignore:!1};let n=Or(r),o=Nr(n,t.tags);return o.ignore?{includesJsDoc:!0,ignore:!0}:{includesJsDoc:!0,ignore:!1,description:n.description.trim(),extractedTags:o}},"parseJsDoc");function Nr(r,t){let n={params:null,deprecated:null,returns:null,ignore:!1};for(let o of r.tags)if(!(t!==void 0&&!t.includes(o.tag)))if(o.tag==="ignore"){n.ignore=!0;break}else switch(o.tag){case"param":case"arg":case"argument":{let i=Sr(o);i!=null&&(n.params==null&&(n.params=[]),n.params.push(i));break}case"deprecated":{let i=jr(o);i!=null&&(n.deprecated=i);break}case"returns":{let i=Er(o);i!=null&&(n.returns=i);break}}return n}a(Nr,"extractJsDocTags");function _r(r){return r.replace(/[\.-]$/,"")}a(_r,"normaliseParamName");function Sr(r){if(!r.name||r.name==="-")return null;let t=it(r.type);return{name:r.name,type:t,description:st(r.description),getPrettyName:a(()=>_r(r.name),"getPrettyName"),getTypeName:a(()=>t?pt(t):null,"getTypeName")}}a(Sr,"extractParam");function jr(r){return r.name?ot(r.name,r.description):null}a(jr,"extractDeprecated");function ot(r,t){let n=r===""?t:`${r} ${t}`;return st(n)}a(ot,"joinNameAndDescription");function st(r){let t=r.replace(/^- /g,"").trim();return t===""?null:t}a(st,"normaliseDescription");function Er(r){let t=it(r.type);return t?{type:t,description:ot(r.name,r.description),getTypeName:a(()=>pt(t),"getTypeName")}:null}a(Er,"extractReturns");var ae=(0,at.stringifyRules)(),ps=ae.JsdocTypeObject;ae.JsdocTypeAny=()=>"any";ae.JsdocTypeObject=(r,t)=>`(${ps(r,t)})`;ae.JsdocTypeOptional=(r,t)=>t(r.element);ae.JsdocTypeNullable=(r,t)=>t(r.element);ae.JsdocTypeNotNullable=(r,t)=>t(r.element);ae.JsdocTypeUnion=(r,t)=>r.elements.map(t).join("|");function it(r){try{return(0,at.parse)(r,"typescript")}catch{return null}}a(it,"extractType");function pt(r){return(0,at.transform)(ae,r)}a(pt,"extractTypeName");function ct(r){return r.length>90}a(ct,"isTooLongForTypeSummary");function kr(r){return r.length>50}a(kr,"isTooLongForDefaultValueSummary");function C(r,t){return r===t?{summary:r}:{summary:r,detail:t}}a(C,"createSummaryValue");function lt({name:r,value:t,elements:n,raw:o}){return t??(n!=null?n.map(lt).join(" | "):o??r)}a(lt,"generateUnionElement");function Ar({name:r,raw:t,elements:n}){return n!=null?C(n.map(lt).join(" | ")):t!=null?C(t.replace(/^\|\s*/,"")):C(r)}a(Ar,"generateUnion");function Ir({type:r,raw:t}){return t!=null?C(t):C(r)}a(Ir,"generateFuncSignature");function Rr({type:r,raw:t}){return t!=null?ct(t)?C(r,t):C(t):C(r)}a(Rr,"generateObjectSignature");function Fr(r){let{type:t}=r;return t==="object"?Rr(r):Ir(r)}a(Fr,"generateSignature");function Lr({name:r,raw:t}){return t!=null?ct(t)?C(r,t):C(t):C(r)}a(Lr,"generateDefault");function Ur(r){if(r==null)return null;switch(r.name){case"union":return Ar(r);case"signature":return Fr(r);default:return Lr(r)}}a(Ur,"createType");function Vr(r,t){if(r!=null){let{value:n}=r;if(!De(n))return kr(n)?C(t==null?void 0:t.name,n):C(n)}return null}a(Vr,"createDefaultValue");var cs=a((r,t)=>{let{flowType:n,description:o,required:i,defaultValue:p}=t;return{name:r,type:Ur(n),required:i,description:o,defaultValue:Vr(p??null,n??null)}},"createFlowPropDef");function $r({tsType:r,required:t}){if(r==null)return null;let n=r.name;return t||(n=n.replace(" | undefined","")),C(["Array","Record","signature"].includes(r.name)?r.raw:n)}a($r,"createType");function Dr({defaultValue:r}){if(r!=null){let{value:t}=r;if(!De(t))return C(t)}return null}a(Dr,"createDefaultValue");var ls=a((r,t)=>{let{description:n,required:o}=t;return{name:r,type:$r(t),required:o,description:n,defaultValue:Dr(t)}},"createTsPropDef");function Kr(r){return r!=null?C(r.name):null}a(Kr,"createType");function Cr(r){let{computed:t,func:n}=r;return typeof t>"u"&&typeof n>"u"}a(Cr,"isReactDocgenTypescript");function Mr(r){return r?r.name==="string"?!0:r.name==="enum"?Array.isArray(r.value)&&r.value.every(({value:t})=>typeof t=="string"&&t[0]==='"'&&t[t.length-1]==='"'):!1:!1}a(Mr,"isStringValued");function qr(r,t){if(r!=null){let{value:n}=r;if(!De(n))return Cr(r)&&Mr(t)?C(JSON.stringify(n)):C(n)}return null}a(qr,"createDefaultValue");function ut(r,t,n){let{description:o,required:i,defaultValue:p}=n;return{name:r,type:Kr(t),required:i,description:o,defaultValue:qr(p,t)}}a(ut,"createBasicPropDef");function Je(r,t){var n;if(t!=null&&t.includesJsDoc){let{description:o,extractedTags:i}=t;o!=null&&(r.description=t.description);let p={...i,params:(n=i==null?void 0:i.params)==null?void 0:n.map(l=>({name:l.getPrettyName(),description:l.description}))};Object.values(p).filter(Boolean).length>0&&(r.jsDocTags=p)}return r}a(Je,"applyJsDocResult");var us=a((r,t,n)=>{let o=ut(r,t.type,t);return o.sbType=tt(t),Je(o,n)},"javaScriptFactory"),ys=a((r,t,n)=>{let o=ls(r,t);return o.sbType=tt(t),Je(o,n)},"tsFactory"),ds=a((r,t,n)=>{let o=cs(r,t);return o.sbType=tt(t),Je(o,n)},"flowFactory"),ms=a((r,t,n)=>{let o=ut(r,{name:"unknown"},t);return Je(o,n)},"unknownFactory"),Br=a(r=>{switch(r){case"JavaScript":return us;case"TypeScript":return ys;case"Flow":return ds;default:return ms}},"getPropDefFactory"),Gr=a(r=>r.type!=null?"JavaScript":r.flowType!=null?"Flow":r.tsType!=null?"TypeScript":"Unknown","getTypeSystem"),fs=a(r=>{let t=Gr(r[0]),n=Br(t);return r.map(o=>{var p;let i=o;return(p=o.type)!=null&&p.elements&&(i={...o,type:{...o.type,value:o.type.elements}}),yt(i.name,i,t,n)})},"extractComponentSectionArray"),Ts=a(r=>{let t=Object.keys(r),n=Gr(r[t[0]]),o=Br(n);return t.map(i=>{let p=r[i];return p!=null?yt(i,p,n,o):null}).filter(Boolean)},"extractComponentSectionObject"),_s=a((r,t)=>{let n=nr(r,t);return rr(n)?Array.isArray(n)?fs(n):Ts(n):[]},"extractComponentProps");function yt(r,t,n,o){let i=is(t.description);return i.includesJsDoc&&i.ignore?null:{propDef:o(r,t,i),jsDocTags:i.extractedTags,docgenInfo:t,typeSystem:n}}a(yt,"extractProp");function vs(r){return r!=null?ar(r):""}a(vs,"extractComponentDescription");const{combineParameters:hs}=__STORYBOOK_MODULE_PREVIEW_API__;var Ss=a(r=>{let{component:t,argTypes:n,parameters:{docs:o={}}}=r,{extractArgTypes:i}=o,p=i&&t?i(t):{};return p?hs(p,n):n},"enhanceArgTypes"),gs="storybook/docs",js=`${gs}/snippet-rendered`,bs=(r=>(r.AUTO="auto",r.CODE="code",r.DYNAMIC="dynamic",r))(bs||{});export{vs as $,_s as B,ct as H,rt as K,C as O,Xo as P,Jn as _,Un as a,Os as b,Ps as c,ws as d,js as e,xs as f,nr as g,Yn as h,$n as i,It as j,vn as k,Xn as l,kr as o,bs as s,Ss as z}; diff --git a/assets/index-Doj-RJny.js b/assets/index-Doj-RJny.js deleted file mode 100644 index 771d5009..00000000 --- a/assets/index-Doj-RJny.js +++ /dev/null @@ -1,574 +0,0 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-2qP1WQFk.js","./iframe-B2fFkFgE.js","./index-0d5eMwbi.js","./index-p-ac5bmP.js","./index-D-8MO0q_.js","./index-D97zpEXb.js","./index-DrFu-skq.js","./Color-KGDBMAHA-BepPQj2K.js"])))=>i.map(i=>d[i]); -var hD=Object.defineProperty;var mD=(e,t,r)=>t in e?hD(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var yr=(e,t,r)=>mD(e,typeof t!="symbol"?t+"":t,r);import{_ as sy}from"./iframe-B2fFkFgE.js";import{r as l,R as y,g as Es}from"./index-0d5eMwbi.js";import{b as uy,r as ap}from"./index-p-ac5bmP.js";import{O as cy,P as gD}from"./index-D-8MO0q_.js";import{_ as fr,h as dy,i as Ca,j as op,d as hr,a as xs,c as gn,k as vD,l as yD,b as py,e as Yh,s as zu}from"./index-D97zpEXb.js";import{d as bD}from"./index-DrFu-skq.js";var wD=Object.create,fy=Object.defineProperty,ED=Object.getOwnPropertyDescriptor,hy=Object.getOwnPropertyNames,xD=Object.getPrototypeOf,CD=Object.prototype.hasOwnProperty,Da=(e,t)=>function(){return t||(0,e[hy(e)[0]])((t={exports:{}}).exports,t),t.exports},DD=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of hy(t))!CD.call(e,a)&&a!==r&&fy(e,a,{get:()=>t[a],enumerable:!(n=ED(t,a))||n.enumerable});return e},SD=(e,t,r)=>(r=e!=null?wD(xD(e)):{},DD(!e||!e.__esModule?fy(r,"default",{value:e,enumerable:!0}):r,e)),xt=e=>`control-${e.replace(/\s+/g,"-")}`,Cs=e=>`set-${e.replace(/\s+/g,"-")}`,AD=Object.create,ip=Object.defineProperty,kD=Object.getOwnPropertyDescriptor,_D=Object.getOwnPropertyNames,FD=Object.getPrototypeOf,ID=Object.prototype.hasOwnProperty,I=(e,t)=>ip(e,"name",{value:t,configurable:!0}),Fi=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),Ds=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),TD=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of _D(t))!ID.call(e,a)&&a!==r&&ip(e,a,{get:()=>t[a],enumerable:!(n=kD(t,a))||n.enumerable});return e},lp=(e,t,r)=>(r=e!=null?AD(FD(e)):{},TD(t||!e||!e.__esModule?ip(r,"default",{value:e,enumerable:!0}):r,e)),RD=Ds(e=>{(function(){var t=typeof Symbol=="function"&&Symbol.for,r=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,a=t?Symbol.for("react.fragment"):60107,o=t?Symbol.for("react.strict_mode"):60108,i=t?Symbol.for("react.profiler"):60114,s=t?Symbol.for("react.provider"):60109,u=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,b=t?Symbol.for("react.block"):60121,C=t?Symbol.for("react.fundamental"):60117,w=t?Symbol.for("react.responder"):60118,x=t?Symbol.for("react.scope"):60119;function E(P){return typeof P=="string"||typeof P=="function"||P===a||P===p||P===i||P===o||P===m||P===f||typeof P=="object"&&P!==null&&(P.$$typeof===g||P.$$typeof===v||P.$$typeof===s||P.$$typeof===u||P.$$typeof===h||P.$$typeof===C||P.$$typeof===w||P.$$typeof===x||P.$$typeof===b)}I(E,"isValidElementType");function D(P){if(typeof P=="object"&&P!==null){var st=P.$$typeof;switch(st){case r:var kt=P.type;switch(kt){case d:case p:case a:case i:case o:case m:return kt;default:var Nr=kt&&kt.$$typeof;switch(Nr){case u:case h:case g:case v:case s:return Nr;default:return st}}case n:return st}}}I(D,"typeOf");var S=d,A=p,k=u,F=s,T=r,R=h,L=a,z=g,M=v,O=n,$=i,j=o,G=m,H=!1;function K(P){return H||(H=!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.")),te(P)||D(P)===d}I(K,"isAsyncMode");function te(P){return D(P)===p}I(te,"isConcurrentMode");function le(P){return D(P)===u}I(le,"isContextConsumer");function Q(P){return D(P)===s}I(Q,"isContextProvider");function re(P){return typeof P=="object"&&P!==null&&P.$$typeof===r}I(re,"isElement");function N(P){return D(P)===h}I(N,"isForwardRef");function Y(P){return D(P)===a}I(Y,"isFragment");function J(P){return D(P)===g}I(J,"isLazy");function pe(P){return D(P)===v}I(pe,"isMemo");function Se(P){return D(P)===n}I(Se,"isPortal");function At(P){return D(P)===i}I(At,"isProfiler");function Ue(P){return D(P)===o}I(Ue,"isStrictMode");function lt(P){return D(P)===m}I(lt,"isSuspense"),e.AsyncMode=S,e.ConcurrentMode=A,e.ContextConsumer=k,e.ContextProvider=F,e.Element=T,e.ForwardRef=R,e.Fragment=L,e.Lazy=z,e.Memo=M,e.Portal=O,e.Profiler=$,e.StrictMode=j,e.Suspense=G,e.isAsyncMode=K,e.isConcurrentMode=te,e.isContextConsumer=le,e.isContextProvider=Q,e.isElement=re,e.isForwardRef=N,e.isFragment=Y,e.isLazy=J,e.isMemo=pe,e.isPortal=Se,e.isProfiler=At,e.isStrictMode=Ue,e.isSuspense=lt,e.isValidElementType=E,e.typeOf=D})()}),BD=Ds((e,t)=>{t.exports=RD()}),my=Ds((e,t)=>{var r=BD(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[r.ForwardRef]=o,s[r.Memo]=i;function u(b){return r.isMemo(b)?i:s[b.$$typeof]||n}I(u,"getStatics");var d=Object.defineProperty,p=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,m=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,v=Object.prototype;function g(b,C,w){if(typeof C!="string"){if(v){var x=f(C);x&&x!==v&&g(b,x,w)}var E=p(C);h&&(E=E.concat(h(C)));for(var D=u(b),S=u(C),A=0;A{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return I(function r(n,a,o){function i(d,p){if(!a[d]){if(!n[d]){var h=typeof Fi=="function"&&Fi;if(!p&&h)return h(d,!0);if(s)return s(d,!0);var m=new Error("Cannot find module '"+d+"'");throw m.code="MODULE_NOT_FOUND",m}var f=a[d]={exports:{}};n[d][0].call(f.exports,function(v){var g=n[d][1][v];return i(g||v)},f,f.exports,r,n,a,o)}return a[d].exports}I(i,"s");for(var s=typeof Fi=="function"&&Fi,u=0;u=0)return this.lastItem=this.list[s],this.list[s].val},o.prototype.set=function(i,s){var u;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=s,this):(u=this.indexOf(i),u>=0?(this.lastItem=this.list[u],this.list[u].val=s,this):(this.lastItem={key:i,val:s},this.list.push(this.lastItem),this.size++,this))},o.prototype.delete=function(i){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),s=this.indexOf(i),s>=0)return this.size--,this.list.splice(s,1)[0]},o.prototype.has=function(i){var s;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(s=this.indexOf(i),s>=0?(this.lastItem=this.list[s],!0):!1)},o.prototype.forEach=function(i,s){var u;for(u=0;u0&&(w[C]={cacheItem:v,arg:arguments[C]},x?i(h,w):h.push(w),h.length>d&&s(h.shift())),f.wasMemoized=x,f.numArgs=C+1,b},"memoizerific");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)}I(s,"removeCachedResult");function u(d,p){return d===p||d!==d&&p!==p}I(u,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})});function qt(){return qt=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?be(Sa,--je):0,aa--,de===10&&(aa=1,ks--),de}I(Dy,"prev");function Pe(){return de=je2||oa(de)>3?"":" "}I(Sy,"whitespace");function Ay(e,t){for(;--t&&Pe()&&!(de<48||de>102||de>57&&de<65||de>70&&de<97););return Aa(e,Co()+(t<6&>()==32&&Pe()==32))}I(Ay,"escaping");function Il(e){for(;Pe();)switch(de){case e:return je;case 34:case 39:e!==34&&e!==39&&Il(de);break;case 40:e===41&&Il(e);break;case 92:Pe();break}return je}I(Il,"delimiter");function ky(e,t){for(;Pe()&&e+de!==57&&!(e+de===84&>()===47););return"/*"+Aa(t,je-1)+"*"+Ss(e===47?e:Pe())}I(ky,"commenter");function _y(e){for(;!oa(gt());)Pe();return Aa(e,je)}I(_y,"identifier");function Fy(e){return mp(So("",null,null,null,[""],e=hp(e),0,[0],e))}I(Fy,"compile");function So(e,t,r,n,a,o,i,s,u){for(var d=0,p=0,h=i,m=0,f=0,v=0,g=1,b=1,C=1,w=0,x="",E=a,D=o,S=n,A=x;b;)switch(v=w,w=Pe()){case 40:if(v!=108&&be(A,h-1)==58){Fl(A+=X(Do(w),"&","&\f"),"&\f")!=-1&&(C=-1);break}case 34:case 39:case 91:A+=Do(w);break;case 9:case 10:case 13:case 32:A+=Sy(v);break;case 92:A+=Ay(Co()-1,7);continue;case 47:switch(gt()){case 42:case 47:po(Iy(ky(Pe(),Co()),t,r),u);break;default:A+="/"}break;case 123*g:s[d++]=pt(A)*C;case 125*g:case 59:case 0:switch(w){case 0:case 125:b=0;case 59+p:C==-1&&(A=X(A,/\f/g,"")),f>0&&pt(A)-h&&po(f>32?ld(A+";",n,r,h-1):ld(X(A," ","")+";",n,r,h-2),u);break;case 59:A+=";";default:if(po(S=id(A,t,r,d,p,a,s,x,E=[],D=[],h),o),w===123)if(p===0)So(A,t,S,S,E,o,h,s,D);else switch(m===99&&be(A,3)===110?100:m){case 100:case 108:case 109:case 115:So(e,S,S,n&&po(id(e,S,S,0,0,a,s,x,a,E=[],h),D),a,D,h,s,n?E:D);break;default:So(A,S,S,S,[""],D,0,s,D)}}d=p=f=0,g=C=1,x=A="",h=i;break;case 58:h=1+pt(A),f=v;default:if(g<1){if(w==123)--g;else if(w==125&&g++==0&&Dy()==125)continue}switch(A+=Ss(w),w*g){case 38:C=p>0?1:(A+="\f",-1);break;case 44:s[d++]=(pt(A)-1)*C,C=1;break;case 64:gt()===45&&(A+=Do(Pe())),m=gt(),p=h=pt(x=A+=_y(Co())),w++;break;case 45:v===45&&pt(A)==2&&(g=0)}}return o}I(So,"parse");function id(e,t,r,n,a,o,i,s,u,d,p){for(var h=a-1,m=a===0?o:[""],f=As(m),v=0,g=0,b=0;v0?m[C]+" "+w:X(w,/&\f/g,m[C])))&&(u[b++]=x);return Xo(e,t,r,a===0?dp:s,u,d,p)}I(id,"ruleset");function Iy(e,t,r){return Xo(e,t,r,cp,Ss(Cy()),na(e,2,-2),0)}I(Iy,"comment");function ld(e,t,r,n){return Xo(e,t,r,pp,na(e,0,n),na(e,n+1,-1),n)}I(ld,"declaration");function on(e,t){for(var r="",n=As(e),a=0;a-1},"isIgnoringComment"),KD=I(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 o=!!t.parent,i=o?t.parent.children:n,s=i.length-1;s>=0;s--){var u=i[s];if(u.line=0;r--)if(!By(t[r]))return!0;return!1},"isPrependedWithRegularRules"),Xh=I(function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},"nullifyElement"),JD=I(function(e,t,r){By(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."),Xh(e)):YD(t,r)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Xh(e)))},"incorrectImportAlarm");function gp(e,t){switch(by(e,t)){case 5103:return ee+"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 ee+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ee+e+_l+e+Fe+e+e;case 6828:case 4268:return ee+e+Fe+e+e;case 6165:return ee+e+Fe+"flex-"+e+e;case 5187:return ee+e+X(e,/(\w+).+(:[^]+)/,ee+"box-$1$2"+Fe+"flex-$1$2")+e;case 5443:return ee+e+Fe+"flex-item-"+X(e,/flex-|-self/,"")+e;case 4675:return ee+e+Fe+"flex-line-pack"+X(e,/align-content|flex-|-self/,"")+e;case 5548:return ee+e+Fe+X(e,"shrink","negative")+e;case 5292:return ee+e+Fe+X(e,"basis","preferred-size")+e;case 6060:return ee+"box-"+X(e,"-grow","")+ee+e+Fe+X(e,"grow","positive")+e;case 4554:return ee+X(e,/([^-])(transform)/g,"$1"+ee+"$2")+e;case 6187:return X(X(X(e,/(zoom-|grab)/,ee+"$1"),/(image-set)/,ee+"$1"),e,"")+e;case 5495:case 3959:return X(e,/(image-set\([^]*)/,ee+"$1$`$1");case 4968:return X(X(e,/(.+:)(flex-)?(.*)/,ee+"box-pack:$3"+Fe+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ee+e+e;case 4095:case 3583:case 4068:case 2532:return X(e,/(.+)-inline(.+)/,ee+"$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(pt(e)-1-t>6)switch(be(e,t+1)){case 109:if(be(e,t+4)!==45)break;case 102:return X(e,/(.+:)(.+)-([^]+)/,"$1"+ee+"$2-$3$1"+_l+(be(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Fl(e,"stretch")?gp(X(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(be(e,t+1)!==115)break;case 6444:switch(be(e,pt(e)-3-(~Fl(e,"!important")&&10))){case 107:return X(e,":",":"+ee)+e;case 101:return X(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ee+(be(e,14)===45?"inline-":"")+"box$3$1"+ee+"$2$3$1"+Fe+"$2box$3")+e}break;case 5936:switch(be(e,t+11)){case 114:return ee+e+Fe+X(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ee+e+Fe+X(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ee+e+Fe+X(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ee+e+Fe+e+e}return e}I(gp,"prefix");var ZD=I(function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case pp:e.return=gp(e.value,e.length);break;case yy:return on([Nn(e,{value:X(e.value,"@","@"+ee)})],n);case dp:if(e.length)return Ey(e.props,function(a){switch(wy(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return on([Nn(e,{props:[X(a,/:(read-\w+)/,":"+_l+"$1")]})],n);case"::placeholder":return on([Nn(e,{props:[X(a,/:(plac\w+)/,":"+ee+"input-$1")]}),Nn(e,{props:[X(a,/:(plac\w+)/,":"+_l+"$1")]}),Nn(e,{props:[X(a,/:(plac\w+)/,Fe+"input-$1")]})],n)}return""})}},"prefixer"),XD=[ZD],QD=I(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||XD;if(/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var a={},o,i=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(v){for(var g=v.getAttribute("data-emotion").split(" "),b=1;b=4;++n,a-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(a){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}I(zy,"murmur2");var nS={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},Qh=`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`,aS="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",oS=/[A-Z]|^ms/g,Ly=/_EMO_([^_]+?)_([^]*?)_EMO_/g,vp=I(function(e){return e.charCodeAt(1)===45},"isCustomProperty"),em=I(function(e){return e!=null&&typeof e!="boolean"},"isProcessableValue"),Lu=sp(function(e){return vp(e)?e:e.replace(oS,"-$&").toLowerCase()}),Tl=I(function(e,t){switch(e){case"animation":case"animationName":if(typeof t=="string")return t.replace(Ly,function(r,n,a){return Mt={name:n,styles:a,next:Mt},n})}return nS[e]!==1&&!vp(e)&&typeof t=="number"&&t!==0?t+"px":t},"processStyleValue");tm=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,rm=["normal","none","initial","inherit","unset"],nm=Tl,am=/^-ms-/,om=/-(.)/g,Ou={},Tl=I(function(e,t){if(e==="content"&&(typeof t!="string"||rm.indexOf(t)===-1&&!tm.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=nm(e,t);return r!==""&&!vp(e)&&e.indexOf("-")!==-1&&Ou[e]===void 0&&(Ou[e]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+e.replace(am,"ms-").replace(om,function(n,a){return a.toUpperCase()})+"?")),r},"processStyleValue");var tm,rm,nm,am,om,Ou,Oy="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function ia(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0){if(r.toString()==="NO_COMPONENT_SELECTOR")throw new Error(Oy);return r}switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return Mt={name:r.name,styles:r.styles,next:Mt},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)Mt={name:n.name,styles:n.styles,next:Mt},n=n.next;var a=r.styles+";";return r.map!==void 0&&(a+=r.map),a}return My(e,t,r)}case"function":{if(e!==void 0){var o=Mt,i=r(e);return Mt=o,ia(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 s=[],u=r.replace(Ly,function(p,h,m){var f="animation"+s.length;return s.push("const "+f+" = keyframes`"+m.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+f+"}"});s.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(s,["`"+u+"`"]).join(` -`)+` - -You should wrap it with \`css\` like this: - -`+("css`"+u+"`"));break}if(t==null)return r;var d=t[r];return d!==void 0?d:r}I(ia,"handleInterpolation");function My(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 qt({},e,t)},"getTheme"),uS=Jh(function(e){return Jh(function(t){return sS(e,t)})}),Hy=I(function(e){var t=l.useContext(cr);return e.theme!==t&&(t=uS(t)(e.theme)),l.createElement(cr.Provider,{value:t},e.children)},"ThemeProvider");function cS(e){var t=e.displayName||e.name||"Component",r=I(function(a,o){var i=l.useContext(cr);return l.createElement(e,qt({theme:i,ref:o},a))},"render"),n=l.forwardRef(r);return n.displayName="WithTheme("+t+")",tS(n,e)}I(cS,"withTheme");var sm="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",um="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",dS=I(function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return Fs(t,r,n),yp(function(){return Is(t,r,n)}),null},"Insertion"),pS=Ts(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var a=e[sm],o=[n],i="";typeof e.className=="string"?i=_s(t.registered,o,e.className):e.className!=null&&(i=e.className+" ");var s=la(o,void 0,l.useContext(cr));if(s.name.indexOf("-")===-1){var u=e[um];u&&(s=la([s,"label:"+u+";"]))}i+=t.key+"-"+s.name;var d={};for(var p in e)lS.call(e,p)&&p!=="css"&&p!==sm&&p!==um&&(d[p]=e[p]);return d.ref=r,d.className=i,l.createElement(l.Fragment,null,l.createElement(dS,{cache:t,serialized:s,isStringTag:typeof a=="string"}),l.createElement(a,d))});pS.displayName="EmotionCssPropInternal";lp(my());var fS={name:"@emotion/react",version:"11.11.4",main:"dist/emotion-react.cjs.js",module:"dist/emotion-react.esm.js",browser:{"./dist/emotion-react.esm.js":"./dist/emotion-react.browser.esm.js"},exports:{".":{module:{worker:"./dist/emotion-react.worker.esm.js",browser:"./dist/emotion-react.browser.esm.js",default:"./dist/emotion-react.esm.js"},import:"./dist/emotion-react.cjs.mjs",default:"./dist/emotion-react.cjs.js"},"./jsx-runtime":{module:{worker:"./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",browser:"./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"},import:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"},"./_isolated-hnrs":{module:{worker:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.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.3","@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.2","@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"}}}}},cm=!1,hS=Ts(function(e,t){!cm&&(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?"),cm=!0);var r=e.styles,n=la([r],void 0,l.useContext(cr)),a=l.useRef();return lm(function(){var o=t.key+"-global",i=new t.sheet.constructor({key:o,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),s=!1,u=document.querySelector('style[data-emotion="'+o+" "+n.name+'"]');return t.sheet.tags.length&&(i.before=t.sheet.tags[0]),u!==null&&(s=!0,u.setAttribute("data-emotion",o),i.hydrate([u])),a.current=[i,s],function(){i.flush()}},[t]),lm(function(){var o=a.current,i=o[0],s=o[1];if(s){o[1]=!1;return}if(n.next!==void 0&&Is(t,n.next,!0),i.tags.length){var u=i.tags[i.tags.length-1].nextElementSibling;i.before=u,i.flush()}t.insert("",n,i,!1)},[t,n.name]),null});hS.displayName="EmotionGlobal";function Rs(){for(var e=arguments.length,t=new Array(e),r=0;r component."),i="";for(var s in o)o[s]&&s&&(i&&(i+=" "),i+=s)}break}default:i=o}i&&(a&&(a+=" "),a+=i)}}return a},"classnames");function jy(e,t,r){var n=[],a=_s(e,n,r);return n.length<2?r:a+t(n)}I(jy,"merge");var gS=I(function(e){var t=e.cache,r=e.serializedArr;return yp(function(){for(var n=0;n96?yS:bS},"getDefaultShouldForwardProp"),fm=I(function(e,t,r){var n;if(t){var a=t.shouldForwardProp;n=e.__emotion_forwardProp&&a?function(o){return e.__emotion_forwardProp(o)&&a(o)}:a}return typeof n!="function"&&r&&(n=e.__emotion_forwardProp),n},"composeShouldForwardProps"),hm=`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`,wS=I(function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return Fs(t,r,n),yp(function(){return Is(t,r,n)}),null},"Insertion"),ES=I(function e(t,r){if(t===void 0)throw new Error(`You are trying to create a styled element with an undefined component. -You may have forgotten to import it.`);var n=t.__emotion_real===t,a=n&&t.__emotion_base||t,o,i;r!==void 0&&(o=r.label,i=r.target);var s=fm(t,r,n),u=s||pm(a),d=!u("as");return function(){var p=arguments,h=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&h.push("label:"+o+";"),p[0]==null||p[0].raw===void 0)h.push.apply(h,p);else{p[0][0]===void 0&&console.error(hm),h.push(p[0][0]);for(var m=p.length,f=1;f1?a-1:0),i=1;i=0&&a<1?(s=o,u=i):a>=1&&a<2?(s=i,u=o):a>=2&&a<3?(u=o,d=i):a>=3&&a<4?(u=i,d=o):a>=4&&a<5?(s=i,d=o):a>=5&&a<6&&(s=o,d=i);var p=r-o/2,h=s+p,m=u+p,f=d+p;return n(h,m,f)}I(ua,"hslToRgb");var mm={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 Yy(e){if(typeof e!="string")return e;var t=e.toLowerCase();return mm[t]?"#"+mm[t]:e}I(Yy,"nameToHex");var DS=/^#[a-fA-F0-9]{6}$/,SS=/^#[a-fA-F0-9]{8}$/,AS=/^#[a-fA-F0-9]{3}$/,kS=/^#[a-fA-F0-9]{4}$/,Nu=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,_S=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,FS=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,IS=/^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 Qo(e){if(typeof e!="string")throw new Pt(3);var t=Yy(e);if(t.match(DS))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(SS)){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(AS))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(kS)){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=Nu.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=_S.exec(t.substring(0,50));if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10),alpha:parseFloat(""+o[4])>1?parseFloat(""+o[4])/100:parseFloat(""+o[4])};var i=FS.exec(t);if(i){var s=parseInt(""+i[1],10),u=parseInt(""+i[2],10)/100,d=parseInt(""+i[3],10)/100,p="rgb("+ua(s,u,d)+")",h=Nu.exec(p);if(!h)throw new Pt(4,t,p);return{red:parseInt(""+h[1],10),green:parseInt(""+h[2],10),blue:parseInt(""+h[3],10)}}var m=IS.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,b="rgb("+ua(f,v,g)+")",C=Nu.exec(b);if(!C)throw new Pt(4,t,b);return{red:parseInt(""+C[1],10),green:parseInt(""+C[2],10),blue:parseInt(""+C[3],10),alpha:parseFloat(""+m[4])>1?parseFloat(""+m[4])/100:parseFloat(""+m[4])}}throw new Pt(5)}I(Qo,"parseToRgb");function Jy(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),o=Math.min(t,r,n),i=(a+o)/2;if(a===o)return e.alpha!==void 0?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var s,u=a-o,d=i>.5?u/(2-a-o):u/(a+o);switch(a){case t:s=(r-n)/u+(r=1?Bo(e,t,r):"rgba("+ua(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Bo(e.hue,e.saturation,e.lightness):"rgba("+ua(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Pt(2)}I(Qy,"hsla");function zl(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return sd("#"+Cr(e)+Cr(t)+Cr(r));if(typeof e=="object"&&t===void 0&&r===void 0)return sd("#"+Cr(e.red)+Cr(e.green)+Cr(e.blue));throw new Pt(6)}I(zl,"rgb");function ca(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=Qo(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?zl(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?zl(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Pt(7)}I(ca,"rgba");var RS=I(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isRgb"),BS=I(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},"isRgba"),zS=I(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isHsl"),LS=I(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"},"isHsla");function xp(e){if(typeof e!="object")throw new Pt(8);if(BS(e))return ca(e);if(RS(e))return zl(e);if(LS(e))return Qy(e);if(zS(e))return Xy(e);throw new Pt(8)}I(xp,"toColorString");function Cp(e,t,r){return I(function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):Cp(e,t,n)},"fn")}I(Cp,"curried");function ei(e){return Cp(e,e.length,[])}I(ei,"curry");function ti(e,t,r){return Math.max(e,Math.min(t,r))}I(ti,"guard");function eb(e,t){if(t==="transparent")return t;var r=Ep(t);return xp(qt({},r,{lightness:ti(0,1,r.lightness-parseFloat(e))}))}I(eb,"darken");var OS=ei(eb),MS=OS;function tb(e,t){if(t==="transparent")return t;var r=Ep(t);return xp(qt({},r,{lightness:ti(0,1,r.lightness+parseFloat(e))}))}I(tb,"lighten");var $S=ei(tb),PS=$S;function rb(e,t){if(t==="transparent")return t;var r=Qo(t),n=typeof r.alpha=="number"?r.alpha:1,a=qt({},r,{alpha:ti(0,1,(n*100+parseFloat(e)*100)/100)});return ca(a)}I(rb,"opacify");var NS=ei(rb),HS=NS;function nb(e,t){if(t==="transparent")return t;var r=Qo(t),n=typeof r.alpha=="number"?r.alpha:1,a=qt({},r,{alpha:ti(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return ca(a)}I(nb,"transparentize");var jS=ei(nb),VS=jS,V={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"},Dr={app:"#F6F9FC",bar:V.lightest,content:V.lightest,preview:V.lightest,gridCellSize:10,hoverable:VS(.9,V.secondary),positive:"#E1FFD4",negative:"#FEDED2",warning:"#FFF5CF",critical:"#FF4400"},Nt={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}},ab=lp(zD(),1),US=(0,ab.default)(1)(({typography:e})=>({body:{fontFamily:e.fonts.base,fontSize:e.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},"*":{boxSizing:"border-box"},"h1, h2, h3, h4, h5, h6":{fontWeight:e.weight.regular,margin:0,padding:0},"button, input, textarea, select":{fontFamily:"inherit",fontSize:"inherit",boxSizing:"border-box"},sub:{fontSize:"0.8em",bottom:"-0.2em"},sup:{fontSize:"0.8em",top:"-0.2em"},"b, strong":{fontWeight:e.weight.bold},hr:{border:"none",borderTop:"1px solid silver",clear:"both",marginBottom:"1.25rem"},code:{fontFamily:e.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"},pre:{fontFamily:e.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0"}}));(0,ab.default)(1)(({color:e,background:t,typography:r})=>{let n=US({typography:r});return{...n,body:{...n.body,color:e.defaultText,background:t.app,overflow:"hidden"},hr:{...n.hr,borderTop:`1px solid ${e.border}`}}});var qS={base:"light",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:Dr.app,appContentBg:V.lightest,appPreviewBg:V.lightest,appBorderColor:V.border,appBorderRadius:4,fontBase:Nt.fonts.base,fontCode:Nt.fonts.mono,textColor:V.darkest,textInverseColor:V.lightest,textMutedColor:V.dark,barTextColor:V.mediumdark,barHoverColor:V.secondary,barSelectedColor:V.secondary,barBg:V.lightest,buttonBg:Dr.app,buttonBorder:V.medium,booleanBg:V.mediumlight,booleanSelectedBg:V.lightest,inputBg:V.lightest,inputBorder:V.border,inputTextColor:V.darkest,inputBorderRadius:4},Ll=qS,WS={base:"dark",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:"#222425",appContentBg:"#1B1C1D",appPreviewBg:V.lightest,appBorderColor:"rgba(255,255,255,.1)",appBorderRadius:4,fontBase:Nt.fonts.base,fontCode:Nt.fonts.mono,textColor:"#C9CDCF",textInverseColor:"#222425",textMutedColor:"#798186",barTextColor:V.mediumdark,barHoverColor:V.secondary,barSelectedColor:V.secondary,barBg:"#292C2E",buttonBg:"#222425",buttonBorder:"rgba(255,255,255,.1)",booleanBg:"#222425",booleanSelectedBg:"#2E3438",inputBg:"#1B1C1D",inputBorder:"rgba(255,255,255,.1)",inputTextColor:V.lightest,inputBorderRadius:4},GS=WS,KS=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})();const{logger:YS}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var{window:Hu}=KS,JS=I(e=>({color:e}),"mkColor"),ZS=I(e=>typeof e!="string"?(YS.warn(`Color passed to theme object should be a string. Instead ${e}(${typeof e}) was passed.`),!1):!0,"isColorString"),XS=I(e=>!/(gradient|var|calc)/.test(e),"isValidColorForPolished"),QS=I((e,t)=>e==="darken"?ca(`${MS(1,t)}`,.95):e==="lighten"?ca(`${PS(1,t)}`,.95):t,"applyPolished"),ob=I(e=>t=>{if(!ZS(t)||!XS(t))return t;try{return QS(e,t)}catch{return t}},"colorFactory"),Wa=ob("lighten");ob("darken");var ib=I(()=>!Hu||!Hu.matchMedia?"light":Hu.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light","getPreferredColorScheme"),ud={light:Ll,dark:GS,normal:Ll};ib();var eA={rubber:"cubic-bezier(0.175, 0.885, 0.335, 1.05)"},tA=mr` - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } -`,lb=mr` - 0%, 100% { opacity: 1; } - 50% { opacity: .4; } -`,rA=mr` - 0% { transform: translateY(1px); } - 25% { transform: translateY(0px); } - 50% { transform: translateY(-3px); } - 100% { transform: translateY(1px); } -`,nA=mr` - 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); } -`,aA=Rs` - animation: ${lb} 1.5s ease-in-out infinite; - color: transparent; - cursor: progress; -`,oA=Rs` - transition: all 150ms ease-out; - transform: translate3d(0, 0, 0); - - &:hover { - transform: translate3d(0, -2px, 0); - } - - &:active { - transform: translate3d(0, 0, 0); - } -`,iA={rotate360:tA,glow:lb,float:rA,jiggle:nA,inlineGlow:aA,hoverable:oA},lA={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"},sA={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"},uA=I(e=>Object.entries(e).reduce((t,[r,n])=>({...t,[r]:JS(n)}),{}),"convertColors"),cA=I(({colors:e,mono:t})=>{let r=uA(e);return{token:{fontFamily:t,WebkitFontSmoothing:"antialiased","&.tag":r.red3,"&.comment":{...r.green1,fontStyle:"italic"},"&.prolog":{...r.green1,fontStyle:"italic"},"&.doctype":{...r.green1,fontStyle:"italic"},"&.cdata":{...r.green1,fontStyle:"italic"},"&.string":r.red1,"&.url":r.cyan1,"&.symbol":r.cyan1,"&.number":r.cyan1,"&.boolean":r.cyan1,"&.variable":r.cyan1,"&.constant":r.cyan1,"&.inserted":r.cyan1,"&.atrule":r.blue1,"&.keyword":r.blue1,"&.attr-value":r.blue1,"&.punctuation":r.gray1,"&.operator":r.gray1,"&.function":r.gray1,"&.deleted":r.red2,"&.important":{fontWeight:"bold"},"&.bold":{fontWeight:"bold"},"&.italic":{fontStyle:"italic"},"&.class-name":r.cyan2,"&.selector":r.red3,"&.attr-name":r.red4,"&.property":r.red4,"&.regex":r.red4,"&.entity":r.red4,"&.directive.tag .tag":{background:"#ffff00",...r.gray1}},"language-json .token.boolean":r.blue1,"language-json .token.number":r.blue1,"language-json .token.property":r.cyan2,namespace:{opacity:.7}}},"create"),dA={green1:"#008000",red1:"#A31515",red2:"#9a050f",red3:"#800000",red4:"#ff0000",gray1:"#393A34",cyan1:"#36acaa",cyan2:"#2B91AF",blue1:"#0000ff",blue2:"#00009f"},pA={green1:"#7C7C7C",red1:"#92C379",red2:"#9a050f",red3:"#A8FF60",red4:"#96CBFE",gray1:"#EDEDED",cyan1:"#C6C5FE",cyan2:"#FFFFB6",blue1:"#B474DD",blue2:"#00009f"},fA=I(e=>({primary:e.colorPrimary,secondary:e.colorSecondary,tertiary:V.tertiary,ancillary:V.ancillary,orange:V.orange,gold:V.gold,green:V.green,seafoam:V.seafoam,purple:V.purple,ultraviolet:V.ultraviolet,lightest:V.lightest,lighter:V.lighter,light:V.light,mediumlight:V.mediumlight,medium:V.medium,mediumdark:V.mediumdark,dark:V.dark,darker:V.darker,darkest:V.darkest,border:V.border,positive:V.positive,negative:V.negative,warning:V.warning,critical:V.critical,defaultText:e.textColor||V.darkest,inverseText:e.textInverseColor||V.lightest,positiveText:V.positiveText,negativeText:V.negativeText,warningText:V.warningText}),"createColors"),cd=I((e=ud[ib()])=>{let{base:t,colorPrimary:r,colorSecondary:n,appBg:a,appContentBg:o,appPreviewBg:i,appBorderColor:s,appBorderRadius:u,fontBase:d,fontCode:p,textColor:h,textInverseColor:m,barTextColor:f,barHoverColor:v,barSelectedColor:g,barBg:b,buttonBg:C,buttonBorder:w,booleanBg:x,booleanSelectedBg:E,inputBg:D,inputBorder:S,inputTextColor:A,inputBorderRadius:k,brandTitle:F,brandUrl:T,brandImage:R,brandTarget:L,gridCellSize:z,...M}=e;return{...M,base:t,color:fA(e),background:{app:a,bar:b,content:o,preview:i,gridCellSize:z||Dr.gridCellSize,hoverable:Dr.hoverable,positive:Dr.positive,negative:Dr.negative,warning:Dr.warning,critical:Dr.critical},typography:{fonts:{base:d,mono:p},weight:Nt.weight,size:Nt.size},animation:iA,easing:eA,input:{background:D,border:S,borderRadius:k,color:A},button:{background:C||D,border:w||S},boolean:{background:x||S,selectedBackground:E||D},layoutMargin:10,appBorderColor:s,appBorderRadius:u,barTextColor:f,barHoverColor:v||n,barSelectedColor:g||n,barBg:b,brand:{title:F,url:T,image:R||(F?null:void 0),target:L},code:cA({colors:t==="light"?dA:pA,mono:p}),addonActionsTheme:{...t==="light"?sA:lA,BASE_FONT_FAMILY:p,BASE_FONT_SIZE:Nt.size.s2-1,BASE_LINE_HEIGHT:"18px",BASE_BACKGROUND_COLOR:"transparent",BASE_COLOR:h,ARROW_COLOR:HS(.2,s),ARROW_MARGIN_RIGHT:4,ARROW_FONT_SIZE:8,TREENODE_FONT_FAMILY:p,TREENODE_FONT_SIZE:Nt.size.s2-1,TREENODE_LINE_HEIGHT:"18px",TREENODE_PADDING_LEFT:12}}},"convert");const{logger:hA}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var mA=I(e=>Object.keys(e).length===0,"isEmpty"),ju=I(e=>e!=null&&typeof e=="object","isObject"),gA=I((e,...t)=>Object.prototype.hasOwnProperty.call(e,...t),"hasOwnProperty"),vA=I(()=>Object.create(null),"makeObjectWithoutPrototype"),sb=I((e,t)=>e===t||!ju(e)||!ju(t)?{}:Object.keys(e).reduce((r,n)=>{if(gA(t,n)){let a=sb(e[n],t[n]);return ju(a)&&mA(a)||(r[n]=a),r}return r[n]=void 0,r},vA()),"deletedDiff"),yA=sb;function ub(e){for(var t=[],r=1;r{if(!e)return cd(Ll);let t=yA(Ll,e);return Object.keys(t).length&&hA.warn(ub` - Your theme is missing properties, you should update your theme! - - theme-data missing: - `,t),cd(e)},"ensure"),dd="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */",wA=Object.create,ri=Object.defineProperty,EA=Object.getOwnPropertyDescriptor,xA=Object.getOwnPropertyNames,CA=Object.getPrototypeOf,DA=Object.prototype.hasOwnProperty,SA=(e,t,r)=>t in e?ri(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,c=(e,t)=>ri(e,"name",{value:t,configurable:!0}),Ii=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),B=(e,t)=>()=>(e&&(t=e(e=0)),t),q=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),ka=(e,t)=>{for(var r in t)ri(e,r,{get:t[r],enumerable:!0})},AA=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of xA(t))!DA.call(e,a)&&a!==r&&ri(e,a,{get:()=>t[a],enumerable:!(n=EA(t,a))||n.enumerable});return e},De=(e,t,r)=>(r=e!=null?wA(CA(e)):{},AA(t||!e||!e.__esModule?ri(r,"default",{value:e,enumerable:!0}):r,e)),kA=(e,t,r)=>SA(e,t+"",r);function U(){return U=Object.assign?Object.assign.bind():function(e){for(var t=1;t{c(U,"_extends")});function cb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var _A=B(()=>{c(cb,"_assertThisInitialized")});function da(e,t){return da=Object.setPrototypeOf?Object.setPrototypeOf.bind():c(function(r,n){return r.__proto__=n,r},"_setPrototypeOf"),da(e,t)}var Dp=B(()=>{c(da,"_setPrototypeOf")});function Ol(e){return Ol=Object.setPrototypeOf?Object.getPrototypeOf.bind():c(function(t){return t.__proto__||Object.getPrototypeOf(t)},"_getPrototypeOf"),Ol(e)}var FA=B(()=>{c(Ol,"_getPrototypeOf")}),Bs=q((e,t)=>{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return c(function r(n,a,o){function i(d,p){if(!a[d]){if(!n[d]){var h=typeof Ii=="function"&&Ii;if(!p&&h)return h(d,!0);if(s)return s(d,!0);var m=new Error("Cannot find module '"+d+"'");throw m.code="MODULE_NOT_FOUND",m}var f=a[d]={exports:{}};n[d][0].call(f.exports,function(v){var g=n[d][1][v];return i(g||v)},f,f.exports,r,n,a,o)}return a[d].exports}c(i,"s");for(var s=typeof Ii=="function"&&Ii,u=0;u=0)return this.lastItem=this.list[s],this.list[s].val},o.prototype.set=function(i,s){var u;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=s,this):(u=this.indexOf(i),u>=0?(this.lastItem=this.list[u],this.list[u].val=s,this):(this.lastItem={key:i,val:s},this.list.push(this.lastItem),this.size++,this))},o.prototype.delete=function(i){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),s=this.indexOf(i),s>=0)return this.size--,this.list.splice(s,1)[0]},o.prototype.has=function(i){var s;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(s=this.indexOf(i),s>=0?(this.lastItem=this.list[s],!0):!1)},o.prototype.forEach=function(i,s){var u;for(u=0;u0&&(w[C]={cacheItem:v,arg:arguments[C]},x?i(h,w):h.push(w),h.length>d&&s(h.shift())),f.wasMemoized=x,f.numArgs=C+1,b},"memoizerific");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)}c(s,"removeCachedResult");function u(d,p){return d===p||d!==d&&p!==p}c(u,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})}),db=q((e,t)=>{t.exports=r,r.displayName="jsx",r.aliases=[];function r(n){(function(a){var o=a.util.clone(a.languages.javascript),i=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,s=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,u=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function d(m,f){return m=m.replace(//g,function(){return i}).replace(//g,function(){return s}).replace(//g,function(){return u}),RegExp(m,f)}c(d,"re"),u=d(u).source,a.languages.jsx=a.languages.extend("markup",o),a.languages.jsx.tag.pattern=d(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),a.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,a.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,a.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,a.languages.jsx.tag.inside.comment=o.comment,a.languages.insertBefore("inside","attr-name",{spread:{pattern:d(//.source),inside:a.languages.jsx}},a.languages.jsx.tag),a.languages.insertBefore("inside","special-attr",{script:{pattern:d(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:a.languages.jsx}}},a.languages.jsx.tag);var p=c(function(m){return m?typeof m=="string"?m:typeof m.content=="string"?m.content:m.content.map(p).join(""):""},"stringifyToken"),h=c(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--:b=!0),(b||typeof g=="string")&&f.length>0&&f[f.length-1].openedBraces===0){var C=p(g);v0&&(typeof m[v-1]=="string"||m[v-1].type==="plain-text")&&(C=p(m[v-1])+C,m.splice(v-1,1),v--),m[v]=new a.Token("plain-text",C,null,C)}g.content&&typeof g.content!="string"&&h(g.content)}},"walkTokens");a.hooks.add("after-tokenize",function(m){m.language!=="jsx"&&m.language!=="tsx"||h(m.tokens)})})(n)}c(r,"jsx")}),gm,pb,IA=B(()=>{gm=De(db()),pb=gm.default}),TA=q((e,t)=>{t.exports=r,r.displayName="bash",r.aliases=["shell"];function r(n){(function(a){var o="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",i={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},s={bash:i,environment:{pattern:RegExp("\\$"+o),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+o),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};a.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+o),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:s},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:i}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:s},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:s.entity}}],environment:{pattern:RegExp("\\$?"+o),alias:"constant"},variable:s.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},i.inside=a.languages.bash;for(var u=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],d=s.variable[1].inside,p=0;p{vm=De(TA()),fb=vm.default}),hb=q((e,t)=>{t.exports=r,r.displayName="css",r.aliases=[];function r(n){(function(a){var o=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;a.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+o.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+o.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+o.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:o,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},a.languages.css.atrule.inside.rest=a.languages.css;var i=a.languages.markup;i&&(i.tag.addInlined("style","css"),i.tag.addAttribute("style","css"))})(n)}c(r,"css")}),ym,mb,BA=B(()=>{ym=De(hb()),mb=ym.default}),zA=q((e,t)=>{t.exports=r,r.displayName="jsExtras",r.aliases=[];function r(n){(function(a){a.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+a.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),a.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+a.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),a.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]});function o(h,m){return RegExp(h.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),m)}c(o,"withId"),a.languages.insertBefore("javascript","keyword",{imports:{pattern:o(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:a.languages.javascript},exports:{pattern:o(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:a.languages.javascript}}),a.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),a.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),a.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:o(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var i=["function","function-variable","method","method-variable","property-access"],s=0;s{bm=De(zA()),gb=bm.default}),OA=q((e,t)=>{t.exports=r,r.displayName="json",r.aliases=["webmanifest"];function r(n){n.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},n.languages.webmanifest=n.languages.json}c(r,"json")}),wm,vb,MA=B(()=>{wm=De(OA()),vb=wm.default}),$A=q((e,t)=>{t.exports=r,r.displayName="graphql",r.aliases=[];function r(n){n.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:n.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},n.hooks.add("after-tokenize",c(function(a){if(a.language!=="graphql")return;var o=a.tokens.filter(function(w){return typeof w!="string"&&w.type!=="comment"&&w.type!=="scalar"}),i=0;function s(w){return o[i+w]}c(s,"getToken");function u(w,x){x=x||0;for(var E=0;E0)){var g=d(/^\{$/,/^\}$/);if(g===-1)continue;for(var b=i;b=0&&p(C,"variable-input")}}}}},"afterTokenizeGraphql"))}c(r,"graphql")}),Em,yb,PA=B(()=>{Em=De($A()),yb=Em.default}),bb=q((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:c(function(a,o){var i={};i["language-"+o]={pattern:/(^$)/i,lookbehind:!0,inside:n.languages[o]},i.cdata=/^$/i;var s={"included-cdata":{pattern://i,inside:i}};s["language-"+o]={pattern:/[\s\S]+/,inside:n.languages[o]};var u={};u[a]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return a}),"i"),lookbehind:!0,greedy:!0,inside:s},n.languages.insertBefore("markup","cdata",u)},"addInlined")}),Object.defineProperty(n.languages.markup.tag,"addAttribute",{value:c(function(a,o){n.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+a+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[o,"language-"+o],inside:n.languages[o]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})},"value")}),n.languages.html=n.languages.markup,n.languages.mathml=n.languages.markup,n.languages.svg=n.languages.markup,n.languages.xml=n.languages.extend("markup",{}),n.languages.ssml=n.languages.xml,n.languages.atom=n.languages.xml,n.languages.rss=n.languages.xml}c(r,"markup")}),xm,wb,NA=B(()=>{xm=De(bb()),wb=xm.default}),HA=q((e,t)=>{t.exports=r,r.displayName="markdown",r.aliases=["md"];function r(n){(function(a){var o=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function i(v){return v=v.replace(//g,function(){return o}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+v+")")}c(i,"createInline");var s=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,u=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return s}),d=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;a.languages.markdown=a.languages.extend("markup",{}),a.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:a.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+u+d+"(?:"+u+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+u+d+")(?:"+u+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(s),inside:a.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+u+")"+d+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+u+"$"),inside:{"table-header":{pattern:RegExp(s),alias:"important",inside:a.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern: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(b){if(!(!b||typeof b=="string"))for(var C=0,w=b.length;C",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(b,C){if(C=C.toLowerCase(),C[0]==="#"){var w;return C[1]==="x"?w=parseInt(C.slice(2),16):w=Number(C.slice(1)),m(w)}else{var x=h[C];return x||b}}),g}c(f,"textContent"),a.languages.md=a.languages.markdown})(n)}c(r,"markdown")}),Cm,Eb,jA=B(()=>{Cm=De(HA()),Eb=Cm.default}),VA=q((e,t)=>{t.exports=r,r.displayName="yaml",r.aliases=["yml"];function r(n){(function(a){var o=/[*&][^\s[\]{},]+/,i=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,s="(?:"+i.source+"(?:[ ]+"+o.source+")?|"+o.source+"(?:[ ]+"+i.source+")?)",u=/(?:[^\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 s}).replace(/<>/g,function(){return h});return RegExp(f,m)}c(p,"createValuePattern"),a.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return s})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return s}).replace(/<>/g,function(){return"(?:"+u+"|"+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:o,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},a.languages.yml=a.languages.yaml})(n)}c(r,"yaml")}),Dm,xb,UA=B(()=>{Dm=De(VA()),xb=Dm.default}),Cb=q((e,t)=>{t.exports=r,r.displayName="typescript",r.aliases=["ts"];function r(n){(function(a){a.languages.typescript=a.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),a.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete a.languages.typescript.parameter,delete a.languages.typescript["literal-property"];var o=a.languages.extend("typescript",{});delete o["class-name"],a.languages.typescript["class-name"].inside=o,a.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:o}}}}),a.languages.ts=a.languages.typescript})(n)}c(r,"typescript")}),qA=q((e,t)=>{var r=db(),n=Cb();t.exports=a,a.displayName="tsx",a.aliases=[];function a(o){o.register(r),o.register(n),function(i){var s=i.util.clone(i.languages.typescript);i.languages.tsx=i.languages.extend("jsx",s),delete i.languages.tsx.parameter,delete i.languages.tsx["literal-property"];var u=i.languages.tsx.tag;u.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+u.pattern.source+")",u.pattern.flags),u.lookbehind=!0}(o)}c(a,"tsx")}),Sm,Db,WA=B(()=>{Sm=De(qA()),Db=Sm.default}),Am,Sb,GA=B(()=>{Am=De(Cb()),Sb=Am.default});function zs(e,t){if(e==null)return{};var r={},n=Object.keys(e),a,o;for(o=0;o=0)&&(r[a]=e[a]);return r}var Sp=B(()=>{c(zs,"_objectWithoutPropertiesLoose")});function Ab(e,t){if(e==null)return{};var r=zs(e,t),n,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var KA=B(()=>{Sp(),c(Ab,"_objectWithoutProperties")});function Ml(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r{c(Ml,"_arrayLikeToArray")});function _b(e){if(Array.isArray(e))return Ml(e)}var YA=B(()=>{kb(),c(_b,"_arrayWithoutHoles")});function Fb(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}var JA=B(()=>{c(Fb,"_iterableToArray")});function Ib(e,t){if(e){if(typeof e=="string")return Ml(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 Ml(e,t)}}var ZA=B(()=>{kb(),c(Ib,"_unsupportedIterableToArray")});function Tb(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var XA=B(()=>{c(Tb,"_nonIterableSpread")});function Rb(e){return _b(e)||Fb(e)||Ib(e)||Tb()}var QA=B(()=>{YA(),JA(),ZA(),XA(),c(Rb,"_toConsumableArray")});function pa(e){"@babel/helpers - typeof";return pa=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},pa(e)}var Bb=B(()=>{c(pa,"_typeof")});function zb(e,t){if(pa(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(pa(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var ek=B(()=>{Bb(),c(zb,"toPrimitive")});function Lb(e){var t=zb(e,"string");return pa(t)=="symbol"?t:t+""}var tk=B(()=>{Bb(),ek(),c(Lb,"toPropertyKey")});function Ap(e,t,r){return t=Lb(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ob=B(()=>{tk(),c(Ap,"_defineProperty")});function pd(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 Qr(e){for(var t=1;t=4)return[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]}function $b(e){if(e.length===0||e.length===1)return e;var t=e.join(".");return il[t]||(il[t]=Mb(e)),il[t]}function Pb(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=e.filter(function(o){return o!=="token"}),a=$b(n);return a.reduce(function(o,i){return Qr(Qr({},o),r[i])},t)}function fd(e){return e.join(" ")}function Nb(e,t){var r=0;return function(n){return r+=1,n.map(function(a,o){return Ls({node:a,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(r,"-").concat(o)})})}}function Ls(e){var t=e.node,r=e.stylesheet,n=e.style,a=n===void 0?{}:n,o=e.useInlineStyles,i=e.key,s=t.properties,u=t.type,d=t.tagName,p=t.value;if(u==="text")return p;if(d){var h=Nb(r,o),m;if(!o)m=Qr(Qr({},s),{},{className:fd(s.className)});else{var f=Object.keys(r).reduce(function(C,w){return w.split(".").forEach(function(x){C.includes(x)||C.push(x)}),C},[]),v=s.className&&s.className.includes("token")?["token"]:[],g=s.className&&v.concat(s.className.filter(function(C){return!f.includes(C)}));m=Qr(Qr({},s),{},{className:fd(g)||void 0,style:Pb(s.className,Object.assign({},s.style,a),r)})}var b=h(t.children);return y.createElement(d,U({key:i},m),b)}}var il,Hb=B(()=>{Ct(),Ob(),c(pd,"ownKeys"),c(Qr,"_objectSpread"),c(Mb,"powerSetPermutations"),il={},c($b,"getClassNameCombinations"),c(Pb,"createStyleObject"),c(fd,"createClassNameString"),c(Nb,"createChildren"),c(Ls,"createElement")}),jb,rk=B(()=>{jb=c(function(e,t){var r=e.listLanguages();return r.indexOf(t)!==-1},"default")});function hd(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 ft(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 Ao({children:D,lineNumber:S,lineNumberStyle:s,largestLineNumber:i,showInlineLineNumbers:a,lineProps:r,className:A,showLineNumbers:n,wrapLongLines:u})}c(v,"createWrappedLine");function g(D,S){if(n&&S&&a){var A=_p(s,S,i);D.unshift(kp(S,A))}return D}c(g,"createUnwrappedLine");function b(D,S){var A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||A.length>0?v(D,S,A):g(D,S)}c(b,"createLine");for(var C=c(function(){var D=p[f],S=D.children[0].value,A=Vb(S);if(A){var k=S.split(` -`);k.forEach(function(F,T){var R=n&&h.length+o,L={type:"text",value:"".concat(F,` -`)};if(T===0){var z=p.slice(m+1,f).concat(Ao({children:[L],className:D.properties.className})),M=b(z,R);h.push(M)}else if(T===k.length-1){var O=p[f+1]&&p[f+1].children&&p[f+1].children[0],$={type:"text",value:"".concat(F)};if(O){var j=Ao({children:[$],className:D.properties.className});p.splice(f+1,0,j)}else{var G=[$],H=b(G,R,D.properties.className);h.push(H)}}else{var K=[L],te=b(K,R,D.properties.className);h.push(te)}}),m=f}f++},"_loop");f{KA(),QA(),Ob(),Hb(),rk(),Zb=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"],c(hd,"ownKeys"),c(ft,"_objectSpread"),Xb=/\n/g,c(Vb,"getNewLines"),c(Ub,"getAllLineNumbers"),c(qb,"AllLineNumbers"),c(Wb,"getEmWidthOfNumber"),c(kp,"getInlineLineNumber"),c(_p,"assembleLineNumberStyles"),c(Ao,"createLineElement"),c(Fp,"flattenCodeTree"),c(Gb,"processLines"),c(Kb,"defaultRenderer"),c(Ip,"isHighlightJs"),c(Yb,"getCodeTree"),c(Jb,"default")}),ak=q((e,t)=>{t.exports=n;var r=Object.prototype.hasOwnProperty;function n(){for(var a={},o=0;o{t.exports=n;var r=n.prototype;r.space=null,r.normal={},r.property={};function n(a,o,i){this.property=a,this.normal=o,i&&(this.space=i)}c(n,"Schema")}),ok=q((e,t)=>{var r=ak(),n=Qb();t.exports=a;function a(o){for(var i=o.length,s=[],u=[],d=-1,p,h;++d{t.exports=r;function r(n){return n.toLowerCase()}c(r,"normalize")}),e7=q((e,t)=>{t.exports=n;var r=n.prototype;r.space=null,r.attribute=null,r.property=null,r.boolean=!1,r.booleanish=!1,r.overloadedBoolean=!1,r.number=!1,r.commaSeparated=!1,r.spaceSeparated=!1,r.commaOrSpaceSeparated=!1,r.mustUseProperty=!1,r.defined=!1;function n(a,o){this.property=a,this.attribute=o}c(n,"Info")}),Rp=q(e=>{var t=0;e.boolean=r(),e.booleanish=r(),e.overloadedBoolean=r(),e.number=r(),e.spaceSeparated=r(),e.commaSeparated=r(),e.commaOrSpaceSeparated=r();function r(){return Math.pow(2,++t)}c(r,"increment")}),t7=q((e,t)=>{var r=e7(),n=Rp();t.exports=i,i.prototype=new r,i.prototype.defined=!0;var a=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],o=a.length;function i(u,d,p,h){var m=-1,f;for(s(this,"space",h),r.call(this,u,d);++m{var r=Tp(),n=Qb(),a=t7();t.exports=o;function o(i){var s=i.space,u=i.mustUseProperty||[],d=i.attributes||{},p=i.properties,h=i.transform,m={},f={},v,g;for(v in p)g=new a(v,h(d,v),p[v],s),u.indexOf(v)!==-1&&(g.mustUseProperty=!0),m[v]=g,f[r(v)]=v,f[r(g.attribute)]=v;return new n(m,f,s)}c(o,"create")}),ik=q((e,t)=>{var r=ni();t.exports=r({space:"xlink",transform:n,properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}});function n(a,o){return"xlink:"+o.slice(5).toLowerCase()}c(n,"xlinkTransform")}),lk=q((e,t)=>{var r=ni();t.exports=r({space:"xml",transform:n,properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function n(a,o){return"xml:"+o.slice(3).toLowerCase()}c(n,"xmlTransform")}),sk=q((e,t)=>{t.exports=r;function r(n,a){return a in n?n[a]:a}c(r,"caseSensitiveTransform")}),r7=q((e,t)=>{var r=sk();t.exports=n;function n(a,o){return r(a,o.toLowerCase())}c(n,"caseInsensitiveTransform")}),uk=q((e,t)=>{var r=ni(),n=r7();t.exports=r({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:n,properties:{xmlns:null,xmlnsXLink:null}})}),ck=q((e,t)=>{var r=Rp(),n=ni(),a=r.booleanish,o=r.number,i=r.spaceSeparated;t.exports=n({transform:s,properties:{ariaActiveDescendant:null,ariaAtomic:a,ariaAutoComplete:null,ariaBusy:a,ariaChecked:a,ariaColCount:o,ariaColIndex:o,ariaColSpan:o,ariaControls:i,ariaCurrent:null,ariaDescribedBy:i,ariaDetails:null,ariaDisabled:a,ariaDropEffect:i,ariaErrorMessage:null,ariaExpanded:a,ariaFlowTo:i,ariaGrabbed:a,ariaHasPopup:null,ariaHidden:a,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:i,ariaLevel:o,ariaLive:null,ariaModal:a,ariaMultiLine:a,ariaMultiSelectable:a,ariaOrientation:null,ariaOwns:i,ariaPlaceholder:null,ariaPosInSet:o,ariaPressed:a,ariaReadOnly:a,ariaRelevant:null,ariaRequired:a,ariaRoleDescription:i,ariaRowCount:o,ariaRowIndex:o,ariaRowSpan:o,ariaSelected:a,ariaSetSize:o,ariaSort:null,ariaValueMax:o,ariaValueMin:o,ariaValueNow:o,ariaValueText:null,role:null}});function s(u,d){return d==="role"?d:"aria-"+d.slice(4).toLowerCase()}c(s,"ariaTransform")}),dk=q((e,t)=>{var r=Rp(),n=ni(),a=r7(),o=r.boolean,i=r.overloadedBoolean,s=r.booleanish,u=r.number,d=r.spaceSeparated,p=r.commaSeparated;t.exports=n({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:a,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:p,acceptCharset:d,accessKey:d,action:null,allow:null,allowFullScreen:o,allowPaymentRequest:o,allowUserMedia:o,alt:null,as:null,async:o,autoCapitalize:null,autoComplete:d,autoFocus:o,autoPlay:o,capture:o,charSet:null,checked:o,cite:null,className:d,cols:u,colSpan:null,content:null,contentEditable:s,controls:o,controlsList:d,coords:u|p,crossOrigin:null,data:null,dateTime:null,decoding:null,default:o,defer:o,dir:null,dirName:null,disabled:o,download:i,draggable:s,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:o,formTarget:null,headers:d,height:u,hidden:o,high:u,href:null,hrefLang:null,htmlFor:d,httpEquiv:d,id:null,imageSizes:null,imageSrcSet:p,inputMode:null,integrity:null,is:null,isMap:o,itemId:null,itemProp:d,itemRef:d,itemScope:o,itemType:d,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:o,low:u,manifest:null,max:null,maxLength:u,media:null,method:null,min:null,minLength:u,multiple:o,muted:o,name:null,nonce:null,noModule:o,noValidate:o,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:o,optimum:u,pattern:null,ping:d,placeholder:null,playsInline:o,poster:null,preload:null,readOnly:o,referrerPolicy:null,rel:d,required:o,reversed:o,rows:u,rowSpan:u,sandbox:d,scope:null,scoped:o,seamless:o,selected:o,shape:null,size:u,sizes:null,slot:null,span:u,spellCheck:s,src:null,srcDoc:null,srcLang:null,srcSet:p,start:u,step:null,style:null,tabIndex:u,target:null,title:null,translate:null,type:null,typeMustMatch:o,useMap:null,value:s,width:u,wrap:null,align:null,aLink:null,archive:d,axis:null,background:null,bgColor:null,border:u,borderColor:null,bottomMargin:u,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:o,declare:o,event:null,face:null,frame:null,frameBorder:null,hSpace:u,leftMargin:u,link:null,longDesc:null,lowSrc:null,marginHeight:u,marginWidth:u,noResize:o,noHref:o,noShade:o,noWrap:o,object:null,profile:null,prompt:null,rev:null,rightMargin:u,rules:null,scheme:null,scrolling:s,standby:null,summary:null,text:null,topMargin:u,valueType:null,version:null,vAlign:null,vLink:null,vSpace:u,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:o,disableRemotePlayback:o,prefix:null,property:null,results:u,security:null,unselectable:null}})}),pk=q((e,t)=>{var r=ok(),n=ik(),a=lk(),o=uk(),i=ck(),s=dk();t.exports=r([a,n,o,i,s])}),fk=q((e,t)=>{var r=Tp(),n=t7(),a=e7(),o="data";t.exports=d;var i=/^data[-\w.:]+$/i,s=/-[a-z]/g,u=/[A-Z]/g;function d(v,g){var b=r(g),C=g,w=a;return b in v.normal?v.property[v.normal[b]]:(b.length>4&&b.slice(0,4)===o&&i.test(g)&&(g.charAt(4)==="-"?C=p(g):g=h(g),w=n),new w(C,g))}c(d,"find");function p(v){var g=v.slice(5).replace(s,f);return o+g.charAt(0).toUpperCase()+g.slice(1)}c(p,"datasetToProperty");function h(v){var g=v.slice(4);return s.test(g)?v:(g=g.replace(u,m),g.charAt(0)!=="-"&&(g="-"+g),o+g)}c(h,"datasetToAttribute");function m(v){return"-"+v.toLowerCase()}c(m,"kebab");function f(v){return v.charAt(1).toUpperCase()}c(f,"camelcase")}),hk=q((e,t)=>{t.exports=n;var r=/[#.]/g;function n(a,o){for(var i=a||"",s=o||"div",u={},d=0,p,h,m;d{e.parse=a,e.stringify=o;var t="",r=" ",n=/[ \t\n\r\f]+/g;function a(i){var s=String(i||t).trim();return s===t?[]:s.split(n)}c(a,"parse");function o(i){return i.join(r).trim()}c(o,"stringify")}),gk=q(e=>{e.parse=a,e.stringify=o;var t=",",r=" ",n="";function a(i){for(var s=[],u=String(i||n),d=u.indexOf(t),p=0,h=!1,m;!h;)d===-1&&(d=u.length,h=!0),m=u.slice(p,d).trim(),(m||!h)&&s.push(m),p=d+1,d=u.indexOf(t,p);return s}c(a,"parse");function o(i,s){var u=s||{},d=u.padLeft===!1?n:r,p=u.padRight?r:n;return i[i.length-1]===n&&(i=i.concat(n)),i.join(p+t+d).trim()}c(o,"stringify")}),vk=q((e,t)=>{var r=fk(),n=Tp(),a=hk(),o=mk().parse,i=gk().parse;t.exports=u;var s={}.hasOwnProperty;function u(b,C,w){var x=w?g(w):null;return E;function E(S,A){var k=a(S,C),F=Array.prototype.slice.call(arguments,2),T=k.tagName.toLowerCase(),R;if(k.tagName=x&&s.call(x,T)?x[T]:T,A&&d(A,k)&&(F.unshift(A),A=null),A)for(R in A)D(k.properties,R,A[R]);return h(k.children,F),k.tagName==="template"&&(k.content={type:"root",children:k.children},k.children=[]),k}function D(S,A,k){var F,T,R;k==null||k!==k||(F=r(b,A),T=F.property,R=k,typeof R=="string"&&(F.spaceSeparated?R=o(R):F.commaSeparated?R=i(R):F.commaOrSpaceSeparated&&(R=o(i(R).join(" ")))),T==="style"&&typeof k!="string"&&(R=v(R)),T==="className"&&S.className&&(R=S.className.concat(R)),S[T]=m(F,T,R))}}c(u,"factory");function d(b,C){return typeof b=="string"||"length"in b||p(C.tagName,b)}c(d,"isChildren");function p(b,C){var w=C.type;return b==="input"||!w||typeof w!="string"?!1:typeof C.children=="object"&&"length"in C.children?!0:(w=w.toLowerCase(),b==="button"?w!=="menu"&&w!=="submit"&&w!=="reset"&&w!=="button":"value"in C)}c(p,"isNode");function h(b,C){var w,x;if(typeof C=="string"||typeof C=="number"){b.push({type:"text",value:String(C)});return}if(typeof C=="object"&&"length"in C){for(w=-1,x=C.length;++w{var r=pk(),n=vk(),a=n(r,"div");a.displayName="html",t.exports=a}),bk=q((e,t)=>{t.exports=yk()}),wk=q((e,t)=>{t.exports={AElig:"Æ",AMP:"&",Aacute:"Á",Acirc:"Â",Agrave:"À",Aring:"Å",Atilde:"Ã",Auml:"Ä",COPY:"©",Ccedil:"Ç",ETH:"Ð",Eacute:"É",Ecirc:"Ê",Egrave:"È",Euml:"Ë",GT:">",Iacute:"Í",Icirc:"Î",Igrave:"Ì",Iuml:"Ï",LT:"<",Ntilde:"Ñ",Oacute:"Ó",Ocirc:"Ô",Ograve:"Ò",Oslash:"Ø",Otilde:"Õ",Ouml:"Ö",QUOT:'"',REG:"®",THORN:"Þ",Uacute:"Ú",Ucirc:"Û",Ugrave:"Ù",Uuml:"Ü",Yacute:"Ý",aacute:"á",acirc:"â",acute:"´",aelig:"æ",agrave:"à",amp:"&",aring:"å",atilde:"ã",auml:"ä",brvbar:"¦",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",ecirc:"ê",egrave:"è",eth:"ð",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",iacute:"í",icirc:"î",iexcl:"¡",igrave:"ì",iquest:"¿",iuml:"ï",laquo:"«",lt:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",oacute:"ó",ocirc:"ô",ograve:"ò",ordf:"ª",ordm:"º",oslash:"ø",otilde:"õ",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',raquo:"»",reg:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",times:"×",uacute:"ú",ucirc:"û",ugrave:"ù",uml:"¨",uuml:"ü",yacute:"ý",yen:"¥",yuml:"ÿ"}}),Ek=q((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:"Ÿ"}}),n7=q((e,t)=>{t.exports=r;function r(n){var a=typeof n=="string"?n.charCodeAt(0):n;return a>=48&&a<=57}c(r,"decimal")}),xk=q((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}c(r,"hexadecimal")}),Ck=q((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}c(r,"alphabetical")}),Dk=q((e,t)=>{var r=Ck(),n=n7();t.exports=a;function a(o){return r(o)||n(o)}c(a,"alphanumerical")}),Sk=q((e,t)=>{var r,n=59;t.exports=a;function a(o){var i="&"+o+";",s;return r=r||document.createElement("i"),r.innerHTML=i,s=r.textContent,s.charCodeAt(s.length-1)===n&&o!=="semi"||s===i?!1:s}c(a,"decodeEntity")}),Ak=q((e,t)=>{var r=wk(),n=Ek(),a=n7(),o=xk(),i=Dk(),s=Sk();t.exports=te;var u={}.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,b=38,C=59,w=60,x=61,E=35,D=88,S=120,A=65533,k="named",F="hexadecimal",T="decimal",R={};R[F]=16,R[T]=10;var L={};L[k]=i,L[T]=a,L[F]=o;var z=1,M=2,O=3,$=4,j=5,G=6,H=7,K={};K[z]="Named character references must be terminated by a semicolon",K[M]="Numeric character references must be terminated by a semicolon",K[O]="Named character references cannot be empty",K[$]="Numeric character references cannot be empty",K[j]="Named character references must be known",K[G]="Numeric character references cannot be disallowed",K[H]="Numeric character references cannot be outside the permissible Unicode range";function te(N,Y){var J={},pe,Se;Y||(Y={});for(Se in h)pe=Y[Se],J[Se]=pe??h[Se];return(J.position.indent||J.position.start)&&(J.indent=J.position.indent||[],J.position=J.position.start),le(N,J)}c(te,"parseEntities");function le(N,Y){var J=Y.additional,pe=Y.nonTerminated,Se=Y.text,At=Y.reference,Ue=Y.warning,lt=Y.textContext,P=Y.referenceContext,st=Y.warningContext,kt=Y.position,Nr=Y.indent||[],_n=N.length,_t=0,Ai=-1,Te=kt.column||1,Hr=kt.line||1,Ft="",Fn=[],It,In,Tt,Ae,ut,ge,ce,Rt,ki,Ru,jr,Va,Vr,er,qh,Ua,_i,Bt,ve;for(typeof J=="string"&&(J=J.charCodeAt(0)),Ua=qa(),Rt=Ue?fD:p,_t--,_n++;++_t<_n;)if(ut===f&&(Te=Nr[Ai]||1),ut=N.charCodeAt(_t),ut===b){if(ce=N.charCodeAt(_t+1),ce===m||ce===f||ce===v||ce===g||ce===b||ce===w||ce!==ce||J&&ce===J){Ft+=d(ut),Te++;continue}for(Vr=_t+1,Va=Vr,ve=Vr,ce===E?(ve=++Va,ce=N.charCodeAt(ve),ce===D||ce===S?(er=F,ve=++Va):er=T):er=k,It="",jr="",Ae="",qh=L[er],ve--;++ve<_n&&(ce=N.charCodeAt(ve),!!qh(ce));)Ae+=d(ce),er===k&&u.call(r,Ae)&&(It=Ae,jr=r[Ae]);Tt=N.charCodeAt(ve)===C,Tt&&(ve++,In=er===k?s(Ae):!1,In&&(It=Ae,jr=In)),Bt=1+ve-Vr,!Tt&&!pe||(Ae?er===k?(Tt&&!jr?Rt(j,1):(It!==Ae&&(ve=Va+It.length,Bt=1+ve-Va,Tt=!1),Tt||(ki=It?z:O,Y.attribute?(ce=N.charCodeAt(ve),ce===x?(Rt(ki,Bt),jr=null):i(ce)?jr=null:Rt(ki,Bt)):Rt(ki,Bt))),ge=jr):(Tt||Rt(M,Bt),ge=parseInt(Ae,R[er]),Q(ge)?(Rt(H,Bt),ge=d(A)):ge in n?(Rt(G,Bt),ge=n[ge]):(Ru="",re(ge)&&Rt(G,Bt),ge>65535&&(ge-=65536,Ru+=d(ge>>>10|55296),ge=56320|ge&1023),ge=Ru+d(ge))):er!==k&&Rt($,Bt)),ge?(Wh(),Ua=qa(),_t=ve-1,Te+=ve-Vr+1,Fn.push(ge),_i=qa(),_i.offset++,At&&At.call(P,ge,{start:Ua,end:_i},N.slice(Vr-1,ve)),Ua=_i):(Ae=N.slice(Vr-1,ve),Ft+=Ae,Te+=Ae.length,_t=ve-1)}else ut===10&&(Hr++,Ai++,Te=0),ut===ut?(Ft+=d(ut),Te++):Wh();return Fn.join("");function qa(){return{line:Hr,column:Te,offset:_t+(kt.offset||0)}}function fD(Gh,Kh){var Bu=qa();Bu.column+=Kh,Bu.offset+=Kh,Ue.call(st,K[Gh],Bu,Gh)}function Wh(){Ft&&(Fn.push(Ft),Se&&Se.call(lt,Ft,{start:Ua,end:qa()}),Ft="")}}c(le,"parse");function Q(N){return N>=55296&&N<=57343||N>1114111}c(Q,"prohibited");function re(N){return N>=1&&N<=8||N===11||N>=13&&N<=31||N>=127&&N<=159||N>=64976&&N<=65007||(N&65535)===65535||(N&65535)===65534}c(re,"disallowed")}),kk=q((e,t)=>{var r=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{},n=function(a){var o=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,i=0,s={},u={manual:a.Prism&&a.Prism.manual,disableWorkerMessageHandler:a.Prism&&a.Prism.disableWorkerMessageHandler,util:{encode:c(function x(E){return E instanceof d?new d(E.type,x(E.content),E.alias):Array.isArray(E)?E.map(x):E.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(S){var x=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(S.stack)||[])[1];if(x){var E=document.getElementsByTagName("script");for(var D in E)if(E[D].src==x)return E[D]}return null}},"currentScript"),isActive:c(function(x,E,D){for(var S="no-"+E;x;){var A=x.classList;if(A.contains(E))return!0;if(A.contains(S))return!1;x=x.parentElement}return!!D},"isActive")},languages:{plain:s,plaintext:s,text:s,txt:s,extend:c(function(x,E){var D=u.util.clone(u.languages[x]);for(var S in E)D[S]=E[S];return D},"extend"),insertBefore:c(function(x,E,D,S){S=S||u.languages;var A=S[x],k={};for(var F in A)if(A.hasOwnProperty(F)){if(F==E)for(var T in D)D.hasOwnProperty(T)&&(k[T]=D[T]);D.hasOwnProperty(F)||(k[F]=A[F])}var R=S[x];return S[x]=k,u.languages.DFS(u.languages,function(L,z){z===R&&L!=x&&(this[L]=k)}),k},"insertBefore"),DFS:c(function x(E,D,S,A){A=A||{};var k=u.util.objId;for(var F in E)if(E.hasOwnProperty(F)){D.call(E,F,E[F],S||F);var T=E[F],R=u.util.type(T);R==="Object"&&!A[k(T)]?(A[k(T)]=!0,x(T,D,null,A)):R==="Array"&&!A[k(T)]&&(A[k(T)]=!0,x(T,D,F,A))}},"DFS")},plugins:{},highlightAll:c(function(x,E){u.highlightAllUnder(document,x,E)},"highlightAll"),highlightAllUnder:c(function(x,E,D){var S={callback:D,container:x,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};u.hooks.run("before-highlightall",S),S.elements=Array.prototype.slice.apply(S.container.querySelectorAll(S.selector)),u.hooks.run("before-all-elements-highlight",S);for(var A=0,k;k=S.elements[A++];)u.highlightElement(k,E===!0,S.callback)},"highlightAllUnder"),highlightElement:c(function(x,E,D){var S=u.util.getLanguage(x),A=u.languages[S];u.util.setLanguage(x,S);var k=x.parentElement;k&&k.nodeName.toLowerCase()==="pre"&&u.util.setLanguage(k,S);var F=x.textContent,T={element:x,language:S,grammar:A,code:F};function R(z){T.highlightedCode=z,u.hooks.run("before-insert",T),T.element.innerHTML=T.highlightedCode,u.hooks.run("after-highlight",T),u.hooks.run("complete",T),D&&D.call(T.element)}if(c(R,"insertHighlightedCode"),u.hooks.run("before-sanity-check",T),k=T.element.parentElement,k&&k.nodeName.toLowerCase()==="pre"&&!k.hasAttribute("tabindex")&&k.setAttribute("tabindex","0"),!T.code){u.hooks.run("complete",T),D&&D.call(T.element);return}if(u.hooks.run("before-highlight",T),!T.grammar){R(u.util.encode(T.code));return}if(E&&a.Worker){var L=new Worker(u.filename);L.onmessage=function(z){R(z.data)},L.postMessage(JSON.stringify({language:T.language,code:T.code,immediateClose:!0}))}else R(u.highlight(T.code,T.grammar,T.language))},"highlightElement"),highlight:c(function(x,E,D){var S={code:x,grammar:E,language:D};if(u.hooks.run("before-tokenize",S),!S.grammar)throw new Error('The language "'+S.language+'" has no grammar.');return S.tokens=u.tokenize(S.code,S.grammar),u.hooks.run("after-tokenize",S),d.stringify(u.util.encode(S.tokens),S.language)},"highlight"),tokenize:c(function(x,E){var D=E.rest;if(D){for(var S in D)E[S]=D[S];delete E.rest}var A=new m;return f(A,A.head,x),h(x,A,E,A.head,0),g(A)},"tokenize"),hooks:{all:{},add:c(function(x,E){var D=u.hooks.all;D[x]=D[x]||[],D[x].push(E)},"add"),run:c(function(x,E){var D=u.hooks.all[x];if(!(!D||!D.length))for(var S=0,A;A=D[S++];)A(E)},"run")},Token:d};a.Prism=u;function d(x,E,D,S){this.type=x,this.content=E,this.alias=D,this.length=(S||"").length|0}c(d,"Token"),d.stringify=c(function x(E,D){if(typeof E=="string")return E;if(Array.isArray(E)){var S="";return E.forEach(function(R){S+=x(R,D)}),S}var A={type:E.type,content:x(E.content,D),tag:"span",classes:["token",E.type],attributes:{},language:D},k=E.alias;k&&(Array.isArray(k)?Array.prototype.push.apply(A.classes,k):A.classes.push(k)),u.hooks.run("wrap",A);var F="";for(var T in A.attributes)F+=" "+T+'="'+(A.attributes[T]||"").replace(/"/g,""")+'"';return"<"+A.tag+' class="'+A.classes.join(" ")+'"'+F+">"+A.content+""},"stringify");function p(x,E,D,S){x.lastIndex=E;var A=x.exec(D);if(A&&S&&A[1]){var k=A[1].length;A.index+=k,A[0]=A[0].slice(k)}return A}c(p,"matchPattern");function h(x,E,D,S,A,k){for(var F in D)if(!(!D.hasOwnProperty(F)||!D[F])){var T=D[F];T=Array.isArray(T)?T:[T];for(var R=0;R=k.reach);K+=H.value.length,H=H.next){var te=H.value;if(E.length>x.length)return;if(!(te instanceof d)){var le=1,Q;if(O){if(Q=p(G,K,x,M),!Q||Q.index>=x.length)break;var J=Q.index,re=Q.index+Q[0].length,N=K;for(N+=H.value.length;J>=N;)H=H.next,N+=H.value.length;if(N-=H.value.length,K=N,H.value instanceof d)continue;for(var Y=H;Y!==E.tail&&(Nk.reach&&(k.reach=Ue);var lt=H.prev;Se&&(lt=f(E,lt,Se),K+=Se.length),v(E,lt,le);var P=new d(F,z?u.tokenize(pe,z):pe,$,pe);if(H=f(E,lt,P),At&&f(E,H,At),le>1){var st={cause:F+","+R,reach:Ue};h(x,E,D,H.prev,K,st),k&&st.reach>k.reach&&(k.reach=st.reach)}}}}}}c(h,"matchGrammar");function m(){var x={value:null,prev:null,next:null},E={value:null,prev:x,next:null};x.next=E,this.head=x,this.tail=E,this.length=0}c(m,"LinkedList");function f(x,E,D){var S=E.next,A={value:D,prev:E,next:S};return E.next=A,S.prev=A,x.length++,A}c(f,"addAfter");function v(x,E,D){for(var S=E.next,A=0;A{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:/[{}[\];(),.:]/}}c(r,"clike")}),Fk=q((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}c(r,"javascript")}),Ik=q((e,t)=>{var r=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof global=="object"?global:{},n=A();r.Prism={manual:!0,disableWorkerMessageHandler:!0};var a=bk(),o=Ak(),i=kk(),s=bb(),u=hb(),d=_k(),p=Fk();n();var h={}.hasOwnProperty;function m(){}c(m,"Refractor"),m.prototype=i;var f=new m;t.exports=f,f.highlight=b,f.register=v,f.alias=g,f.registered=C,f.listLanguages=w,v(s),v(u),v(d),v(p),f.util.encode=D,f.Token.stringify=x;function v(k){if(typeof k!="function"||!k.displayName)throw new Error("Expected `function` for `grammar`, got `"+k+"`");f.languages[k.displayName]===void 0&&k(f)}c(v,"register");function g(k,F){var T=f.languages,R=k,L,z,M,O;F&&(R={},R[k]=F);for(L in R)for(z=R[L],z=typeof z=="string"?[z]:z,M=z.length,O=-1;++O{nk(),Ti=De(Ik()),Ri=Jb(Ti.default,{}),Ri.registerLanguage=function(e,t){return Ti.default.register(t)},Ri.alias=function(e,t){return Ti.default.alias(e,t)},ll=Ri}),Rk=B(()=>{Hb()}),km,Vu,Bp,a7=B(()=>{km=_.div(({theme:e})=>({position:"absolute",bottom:0,right:0,maxWidth:"100%",display:"flex",background:e.background.content,zIndex:1})),Vu=_.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}),Vu.displayName="ActionButton",Bp=c(({actionItems:e,...t})=>y.createElement(km,{...t},e.map(({title:r,className:n,onClick:a,disabled:o},i)=>y.createElement(Vu,{key:i,className:n,onClick:a,disabled:!!o},r))),"ActionBar")});function o7(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function zp(...e){return t=>e.forEach(r=>o7(r,t))}function Ke(...e){return l.useCallback(zp(...e),e)}var _a=B(()=>{c(o7,"$6ed0406888f73fc4$var$setRef"),c(zp,"$6ed0406888f73fc4$export$43e446d32b3d21af"),c(Ke,"$6ed0406888f73fc4$export$c7b2cbe3552a0d05")});function _m(e){return l.isValidElement(e)&&e.type===i7}function Fm(e,t){let r={...t};for(let n in t){let a=e[n],o=t[n];/^on[A-Z]/.test(n)?a&&o?r[n]=(...i)=>{o(...i),a(...i)}:a&&(r[n]=a):n==="style"?r[n]={...a,...o}:n==="className"&&(r[n]=[a,o].filter(Boolean).join(" "))}return{...e,...r}}var zo,Bi,i7,Lp=B(()=>{Ct(),_a(),zo=l.forwardRef((e,t)=>{let{children:r,...n}=e,a=l.Children.toArray(r),o=a.find(_m);if(o){let i=o.props.children,s=a.map(u=>u===o?l.Children.count(i)>1?l.Children.only(null):l.isValidElement(i)?i.props.children:null:u);return l.createElement(Bi,U({},n,{ref:t}),l.isValidElement(i)?l.cloneElement(i,void 0,s):null)}return l.createElement(Bi,U({},n,{ref:t}),r)}),zo.displayName="Slot",Bi=l.forwardRef((e,t)=>{let{children:r,...n}=e;return l.isValidElement(r)?l.cloneElement(r,{...Fm(n,r.props),ref:t?zp(t,r.ref):r.ref}):l.Children.count(r)>1?l.Children.only(null):null}),Bi.displayName="SlotClone",i7=c(({children:e})=>l.createElement(l.Fragment,null,e),"$5e63c961fc1ce211$export$d9f1ccf0bdb05d45"),c(_m,"$5e63c961fc1ce211$var$isSlottable"),c(Fm,"$5e63c961fc1ce211$var$mergeProps")});function l7(e,t){e&&ap.flushSync(()=>e.dispatchEvent(t))}var Im,$e,ai=B(()=>{Ct(),Lp(),Im=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],$e=Im.reduce((e,t)=>{let r=l.forwardRef((n,a)=>{let{asChild:o,...i}=n,s=o?zo:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(s,U({},i,{ref:a}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{}),c(l7,"$8927f6f2acc4f386$export$6d1a0317bde7de7f")}),Lo,Op=B(()=>{Lo=globalThis!=null&&globalThis.document?l.useLayoutEffect:()=>{}});function s7(e,t){return l.useReducer((r,n)=>t[r][n]??r,e)}function Tm(e){let[t,r]=l.useState(),n=l.useRef({}),a=l.useRef(e),o=l.useRef("none"),i=e?"mounted":"unmounted",[s,u]=s7(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return l.useEffect(()=>{let d=fo(n.current);o.current=s==="mounted"?d:"none"},[s]),Lo(()=>{let d=n.current,p=a.current;if(p!==e){let h=o.current,m=fo(d);e?u("MOUNT"):m==="none"||(d==null?void 0:d.display)==="none"?u("UNMOUNT"):u(p&&h!==m?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,u]),Lo(()=>{if(t){let d=c(h=>{let m=fo(n.current).includes(h.animationName);h.target===t&&m&&ap.flushSync(()=>u("ANIMATION_END"))},"handleAnimationEnd"),p=c(h=>{h.target===t&&(o.current=fo(n.current))},"handleAnimationStart");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 u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:l.useCallback(d=>{d&&(n.current=getComputedStyle(d)),r(d)},[])}}function fo(e){return(e==null?void 0:e.animationName)||"none"}var sr,u7=B(()=>{_a(),Op(),c(s7,"$fe963b355347cc68$export$3e6543de14f8614f"),sr=c(e=>{let{present:t,children:r}=e,n=Tm(t),a=typeof r=="function"?r({present:n.isPresent}):l.Children.only(r),o=Ke(n.ref,a.ref);return typeof r=="function"||n.isPresent?l.cloneElement(a,{ref:o}):null},"$921a889cee6df7e8$export$99c2b779aa4e8b8b"),sr.displayName="Presence",c(Tm,"$921a889cee6df7e8$var$usePresence"),c(fo,"$921a889cee6df7e8$var$getAnimationName")});function c7(e,t){let r=l.createContext(t);function n(o){let{children:i,...s}=o,u=l.useMemo(()=>s,Object.values(s));return l.createElement(r.Provider,{value:u},i)}c(n,"Provider");function a(o){let i=l.useContext(r);if(i)return i;if(t!==void 0)return t;throw new Error(`\`${o}\` must be used within \`${e}\``)}return c(a,"useContext"),n.displayName=e+"Provider",[n,a]}function Mp(e,t=[]){let r=[];function n(o,i){let s=l.createContext(i),u=r.length;r=[...r,i];function d(h){let{scope:m,children:f,...v}=h,g=(m==null?void 0:m[e][u])||s,b=l.useMemo(()=>v,Object.values(v));return l.createElement(g.Provider,{value:b},f)}c(d,"Provider");function p(h,m){let f=(m==null?void 0:m[e][u])||s,v=l.useContext(f);if(v)return v;if(i!==void 0)return i;throw new Error(`\`${h}\` must be used within \`${o}\``)}return c(p,"useContext"),d.displayName=o+"Provider",[d,p]}c(n,"$c512c27ab02ef895$export$fd42f52fd3ae1109");let a=c(()=>{let o=r.map(i=>l.createContext(i));return c(function(i){let s=(i==null?void 0:i[e])||o;return l.useMemo(()=>({[`__scope${e}`]:{...i,[e]:s}}),[i,s])},"useScope")},"createScope");return a.scopeName=e,[n,d7(a,...t)]}function d7(...e){let t=e[0];if(e.length===1)return t;let r=c(()=>{let n=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return c(function(a){let o=n.reduce((i,{useScope:s,scopeName:u})=>{let d=s(a)[`__scope${u}`];return{...i,...d}},{});return l.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])},"useComposedScopes")},"createScope1");return r.scopeName=t.scopeName,r}var p7=B(()=>{c(c7,"$c512c27ab02ef895$export$fd42f52fd3ae1109"),c(Mp,"$c512c27ab02ef895$export$50c7b4e9d9f19c1"),c(d7,"$c512c27ab02ef895$var$composeContextScopes")});function ze(e){let t=l.useRef(e);return l.useEffect(()=>{t.current=e}),l.useMemo(()=>(...r)=>{var n;return(n=t.current)===null||n===void 0?void 0:n.call(t,...r)},[])}var oi=B(()=>{c(ze,"$b1b2314f5f9a1d84$export$25bec8c6f54ee79a")});function f7(e){let t=l.useContext(h7);return e||t||"ltr"}var h7,Bk=B(()=>{h7=l.createContext(void 0),c(f7,"$f631663db3294ace$export$b39126d51d94e6f3")});function m7(e,[t,r]){return Math.min(r,Math.max(t,e))}var zk=B(()=>{c(m7,"$ae6933e535247d3d$export$7d15b64cf5a3a4c4")});function Ie(e,t,{checkForDefaultPrevented:r=!0}={}){return c(function(n){if(e==null||e(n),r===!1||!n.defaultPrevented)return t==null?void 0:t(n)},"handleEvent")}var $p=B(()=>{c(Ie,"$e42e1063c40fb3ef$export$b9ecd428b558ff10")});function Rm(e,t){return l.useReducer((r,n)=>t[r][n]??r,e)}function Ga(e){return e?parseInt(e,10):0}function md(e,t){let r=e/t;return isNaN(r)?0:r}function ko(e){let t=md(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,n=(e.scrollbar.size-r)*t;return Math.max(n,18)}function Bm(e,t,r,n="ltr"){let a=ko(r),o=a/2,i=t||o,s=a-i,u=r.scrollbar.paddingStart+i,d=r.scrollbar.size-r.scrollbar.paddingEnd-s,p=r.content-r.viewport,h=n==="ltr"?[0,p]:[p*-1,0];return Pp([u,d],h)(e)}function Uu(e,t,r="ltr"){let n=ko(t),a=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,o=t.scrollbar.size-a,i=t.content-t.viewport,s=o-n,u=r==="ltr"?[0,i]:[i*-1,0],d=m7(e,u);return Pp([0,i],[0,s])(d)}function Pp(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 qu(e,t){return e>0&&e()=>window.clearTimeout(n.current),[]),l.useCallback(()=>{window.clearTimeout(n.current),n.current=window.setTimeout(r,t)},[r,t])}function Ur(e,t){let r=ze(t);Lo(()=>{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 Wu,Gu,Lk,zm,qe,Lm,Om,Mm,zt,$m,Pm,Nm,Ku,zi,Hm,jm,Vm,Yu,Ju,Li,Um,qm,Zu,Wm,Gm,Km,g7,v7,y7,b7,w7,Ok=B(()=>{Ct(),ai(),u7(),p7(),_a(),oi(),Bk(),Op(),zk(),$p(),c(Rm,"$6c2e24571c90391f$export$3e6543de14f8614f"),Wu="ScrollArea",[Gu,Lk]=Mp(Wu),[zm,qe]=Gu(Wu),Lm=l.forwardRef((e,t)=>{let{__scopeScrollArea:r,type:n="hover",dir:a,scrollHideDelay:o=600,...i}=e,[s,u]=l.useState(null),[d,p]=l.useState(null),[h,m]=l.useState(null),[f,v]=l.useState(null),[g,b]=l.useState(null),[C,w]=l.useState(0),[x,E]=l.useState(0),[D,S]=l.useState(!1),[A,k]=l.useState(!1),F=Ke(t,R=>u(R)),T=f7(a);return l.createElement(zm,{scope:r,type:n,dir:T,scrollHideDelay:o,scrollArea:s,viewport:d,onViewportChange:p,content:h,onContentChange:m,scrollbarX:f,onScrollbarXChange:v,scrollbarXEnabled:D,onScrollbarXEnabledChange:S,scrollbarY:g,onScrollbarYChange:b,scrollbarYEnabled:A,onScrollbarYEnabledChange:k,onCornerWidthChange:w,onCornerHeightChange:E},l.createElement($e.div,U({dir:T},i,{ref:F,style:{position:"relative","--radix-scroll-area-corner-width":C+"px","--radix-scroll-area-corner-height":x+"px",...e.style}})))}),Om="ScrollAreaViewport",Mm=l.forwardRef((e,t)=>{let{__scopeScrollArea:r,children:n,...a}=e,o=qe(Om,r),i=l.useRef(null),s=Ke(t,i,o.onViewportChange);return l.createElement(l.Fragment,null,l.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}"}}),l.createElement($e.div,U({"data-radix-scroll-area-viewport":""},a,{ref:s,style:{overflowX:o.scrollbarXEnabled?"scroll":"hidden",overflowY:o.scrollbarYEnabled?"scroll":"hidden",...e.style}}),l.createElement("div",{ref:o.onContentChange,style:{minWidth:"100%",display:"table"}},n)))}),zt="ScrollAreaScrollbar",$m=l.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=qe(zt,e.__scopeScrollArea),{onScrollbarXEnabledChange:o,onScrollbarYEnabledChange:i}=a,s=e.orientation==="horizontal";return l.useEffect(()=>(s?o(!0):i(!0),()=>{s?o(!1):i(!1)}),[s,o,i]),a.type==="hover"?l.createElement(Pm,U({},n,{ref:t,forceMount:r})):a.type==="scroll"?l.createElement(Nm,U({},n,{ref:t,forceMount:r})):a.type==="auto"?l.createElement(Ku,U({},n,{ref:t,forceMount:r})):a.type==="always"?l.createElement(zi,U({},n,{ref:t})):null}),Pm=l.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=qe(zt,e.__scopeScrollArea),[o,i]=l.useState(!1);return l.useEffect(()=>{let s=a.scrollArea,u=0;if(s){let d=c(()=>{window.clearTimeout(u),i(!0)},"handlePointerEnter"),p=c(()=>{u=window.setTimeout(()=>i(!1),a.scrollHideDelay)},"handlePointerLeave");return s.addEventListener("pointerenter",d),s.addEventListener("pointerleave",p),()=>{window.clearTimeout(u),s.removeEventListener("pointerenter",d),s.removeEventListener("pointerleave",p)}}},[a.scrollArea,a.scrollHideDelay]),l.createElement(sr,{present:r||o},l.createElement(Ku,U({"data-state":o?"visible":"hidden"},n,{ref:t})))}),Nm=l.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=qe(zt,e.__scopeScrollArea),o=e.orientation==="horizontal",i=Ka(()=>u("SCROLL_END"),100),[s,u]=Rm("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return l.useEffect(()=>{if(s==="idle"){let d=window.setTimeout(()=>u("HIDE"),a.scrollHideDelay);return()=>window.clearTimeout(d)}},[s,a.scrollHideDelay,u]),l.useEffect(()=>{let d=a.viewport,p=o?"scrollLeft":"scrollTop";if(d){let h=d[p],m=c(()=>{let f=d[p];h!==f&&(u("SCROLL"),i()),h=f},"handleScroll");return d.addEventListener("scroll",m),()=>d.removeEventListener("scroll",m)}},[a.viewport,o,u,i]),l.createElement(sr,{present:r||s!=="hidden"},l.createElement(zi,U({"data-state":s==="hidden"?"hidden":"visible"},n,{ref:t,onPointerEnter:Ie(e.onPointerEnter,()=>u("POINTER_ENTER")),onPointerLeave:Ie(e.onPointerLeave,()=>u("POINTER_LEAVE"))})))}),Ku=l.forwardRef((e,t)=>{let r=qe(zt,e.__scopeScrollArea),{forceMount:n,...a}=e,[o,i]=l.useState(!1),s=e.orientation==="horizontal",u=Ka(()=>{if(r.viewport){let d=r.viewport.offsetWidth{let{orientation:r="vertical",...n}=e,a=qe(zt,e.__scopeScrollArea),o=l.useRef(null),i=l.useRef(0),[s,u]=l.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),d=md(s.viewport,s.content),p={...n,sizes:s,onSizesChange:u,hasThumb:d>0&&d<1,onThumbChange:c(m=>o.current=m,"onThumbChange"),onThumbPointerUp:c(()=>i.current=0,"onThumbPointerUp"),onThumbPointerDown:c(m=>i.current=m,"onThumbPointerDown")};function h(m,f){return Bm(m,i.current,s,f)}return c(h,"getScrollPosition"),r==="horizontal"?l.createElement(Hm,U({},p,{ref:t,onThumbPositionChange:c(()=>{if(a.viewport&&o.current){let m=a.viewport.scrollLeft,f=Uu(m,s,a.dir);o.current.style.transform=`translate3d(${f}px, 0, 0)`}},"onThumbPositionChange"),onWheelScroll:c(m=>{a.viewport&&(a.viewport.scrollLeft=m)},"onWheelScroll"),onDragScroll:c(m=>{a.viewport&&(a.viewport.scrollLeft=h(m,a.dir))},"onDragScroll")})):r==="vertical"?l.createElement(jm,U({},p,{ref:t,onThumbPositionChange:c(()=>{if(a.viewport&&o.current){let m=a.viewport.scrollTop,f=Uu(m,s);o.current.style.transform=`translate3d(0, ${f}px, 0)`}},"onThumbPositionChange"),onWheelScroll:c(m=>{a.viewport&&(a.viewport.scrollTop=m)},"onWheelScroll"),onDragScroll:c(m=>{a.viewport&&(a.viewport.scrollTop=h(m))},"onDragScroll")})):null}),Hm=l.forwardRef((e,t)=>{let{sizes:r,onSizesChange:n,...a}=e,o=qe(zt,e.__scopeScrollArea),[i,s]=l.useState(),u=l.useRef(null),d=Ke(t,u,o.onScrollbarXChange);return l.useEffect(()=>{u.current&&s(getComputedStyle(u.current))},[u]),l.createElement(Ju,U({"data-orientation":"horizontal"},a,{ref:d,sizes:r,style:{bottom:0,left:o.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:o.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":ko(r)+"px",...e.style},onThumbPointerDown:c(p=>e.onThumbPointerDown(p.x),"onThumbPointerDown"),onDragScroll:c(p=>e.onDragScroll(p.x),"onDragScroll"),onWheelScroll:c((p,h)=>{if(o.viewport){let m=o.viewport.scrollLeft+p.deltaX;e.onWheelScroll(m),qu(m,h)&&p.preventDefault()}},"onWheelScroll"),onResize:c(()=>{u.current&&o.viewport&&i&&n({content:o.viewport.scrollWidth,viewport:o.viewport.offsetWidth,scrollbar:{size:u.current.clientWidth,paddingStart:Ga(i.paddingLeft),paddingEnd:Ga(i.paddingRight)}})},"onResize")}))}),jm=l.forwardRef((e,t)=>{let{sizes:r,onSizesChange:n,...a}=e,o=qe(zt,e.__scopeScrollArea),[i,s]=l.useState(),u=l.useRef(null),d=Ke(t,u,o.onScrollbarYChange);return l.useEffect(()=>{u.current&&s(getComputedStyle(u.current))},[u]),l.createElement(Ju,U({"data-orientation":"vertical"},a,{ref:d,sizes:r,style:{top:0,right:o.dir==="ltr"?0:void 0,left:o.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":ko(r)+"px",...e.style},onThumbPointerDown:c(p=>e.onThumbPointerDown(p.y),"onThumbPointerDown"),onDragScroll:c(p=>e.onDragScroll(p.y),"onDragScroll"),onWheelScroll:c((p,h)=>{if(o.viewport){let m=o.viewport.scrollTop+p.deltaY;e.onWheelScroll(m),qu(m,h)&&p.preventDefault()}},"onWheelScroll"),onResize:c(()=>{u.current&&o.viewport&&i&&n({content:o.viewport.scrollHeight,viewport:o.viewport.offsetHeight,scrollbar:{size:u.current.clientHeight,paddingStart:Ga(i.paddingTop),paddingEnd:Ga(i.paddingBottom)}})},"onResize")}))}),[Vm,Yu]=Gu(zt),Ju=l.forwardRef((e,t)=>{let{__scopeScrollArea:r,sizes:n,hasThumb:a,onThumbChange:o,onThumbPointerUp:i,onThumbPointerDown:s,onThumbPositionChange:u,onDragScroll:d,onWheelScroll:p,onResize:h,...m}=e,f=qe(zt,r),[v,g]=l.useState(null),b=Ke(t,F=>g(F)),C=l.useRef(null),w=l.useRef(""),x=f.viewport,E=n.content-n.viewport,D=ze(p),S=ze(u),A=Ka(h,10);function k(F){if(C.current){let T=F.clientX-C.current.left,R=F.clientY-C.current.top;d({x:T,y:R})}}return c(k,"handleDragScroll"),l.useEffect(()=>{let F=c(T=>{let R=T.target;v!=null&&v.contains(R)&&D(T,E)},"handleWheel");return document.addEventListener("wheel",F,{passive:!1}),()=>document.removeEventListener("wheel",F,{passive:!1})},[x,v,E,D]),l.useEffect(S,[n,S]),Ur(v,A),Ur(f.content,A),l.createElement(Vm,{scope:r,scrollbar:v,hasThumb:a,onThumbChange:ze(o),onThumbPointerUp:ze(i),onThumbPositionChange:S,onThumbPointerDown:ze(s)},l.createElement($e.div,U({},m,{ref:b,style:{position:"absolute",...m.style},onPointerDown:Ie(e.onPointerDown,F=>{F.button===0&&(F.target.setPointerCapture(F.pointerId),C.current=v.getBoundingClientRect(),w.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",f.viewport&&(f.viewport.style.scrollBehavior="auto"),k(F))}),onPointerMove:Ie(e.onPointerMove,k),onPointerUp:Ie(e.onPointerUp,F=>{let T=F.target;T.hasPointerCapture(F.pointerId)&&T.releasePointerCapture(F.pointerId),document.body.style.webkitUserSelect=w.current,f.viewport&&(f.viewport.style.scrollBehavior=""),C.current=null})})))}),Li="ScrollAreaThumb",Um=l.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=Yu(Li,e.__scopeScrollArea);return l.createElement(sr,{present:r||a.hasThumb},l.createElement(qm,U({ref:t},n)))}),qm=l.forwardRef((e,t)=>{let{__scopeScrollArea:r,style:n,...a}=e,o=qe(Li,r),i=Yu(Li,r),{onThumbPositionChange:s}=i,u=Ke(t,h=>i.onThumbChange(h)),d=l.useRef(),p=Ka(()=>{d.current&&(d.current(),d.current=void 0)},100);return l.useEffect(()=>{let h=o.viewport;if(h){let m=c(()=>{if(p(),!d.current){let f=Km(h,s);d.current=f,s()}},"handleScroll");return s(),h.addEventListener("scroll",m),()=>h.removeEventListener("scroll",m)}},[o.viewport,p,s]),l.createElement($e.div,U({"data-state":i.hasThumb?"visible":"hidden"},a,{ref:u,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...n},onPointerDownCapture:Ie(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:Ie(e.onPointerUp,i.onThumbPointerUp)}))}),Zu="ScrollAreaCorner",Wm=l.forwardRef((e,t)=>{let r=qe(Zu,e.__scopeScrollArea),n=!!(r.scrollbarX&&r.scrollbarY);return r.type!=="scroll"&&n?l.createElement(Gm,U({},e,{ref:t})):null}),Gm=l.forwardRef((e,t)=>{let{__scopeScrollArea:r,...n}=e,a=qe(Zu,r),[o,i]=l.useState(0),[s,u]=l.useState(0),d=!!(o&&s);return Ur(a.scrollbarX,()=>{var p;let h=((p=a.scrollbarX)===null||p===void 0?void 0:p.offsetHeight)||0;a.onCornerHeightChange(h),u(h)}),Ur(a.scrollbarY,()=>{var p;let h=((p=a.scrollbarY)===null||p===void 0?void 0:p.offsetWidth)||0;a.onCornerWidthChange(h),i(h)}),d?l.createElement($e.div,U({},n,{ref:t,style:{width:o,height:s,position:"absolute",right:a.dir==="ltr"?0:void 0,left:a.dir==="rtl"?0:void 0,bottom:0,...e.style}})):null}),c(Ga,"$57acba87d6e25586$var$toInt"),c(md,"$57acba87d6e25586$var$getThumbRatio"),c(ko,"$57acba87d6e25586$var$getThumbSize"),c(Bm,"$57acba87d6e25586$var$getScrollPositionFromPointer"),c(Uu,"$57acba87d6e25586$var$getThumbOffsetFromScroll"),c(Pp,"$57acba87d6e25586$var$linearScale"),c(qu,"$57acba87d6e25586$var$isScrollingWithinScrollbarBounds"),Km=c((e,t=()=>{})=>{let r={left:e.scrollLeft,top:e.scrollTop},n=0;return c(function a(){let o={left:e.scrollLeft,top:e.scrollTop},i=r.left!==o.left,s=r.top!==o.top;(i||s)&&t(),r=o,n=window.requestAnimationFrame(a)},"loop")(),()=>window.cancelAnimationFrame(n)},"$57acba87d6e25586$var$addUnlinkedScrollListener"),c(Ka,"$57acba87d6e25586$var$useDebounceCallback"),c(Ur,"$57acba87d6e25586$var$useResizeObserver"),g7=Lm,v7=Mm,y7=$m,b7=Um,w7=Wm}),Ym,Jm,Xu,Qu,$l,Np=B(()=>{Ok(),Ym=_(g7)(({scrollbarsize:e,offset:t})=>({width:"100%",height:"100%",overflow:"hidden","--scrollbar-size":`${e+t}px`,"--radix-scroll-area-thumb-width":`${e}px`})),Jm=_(v7)({width:"100%",height:"100%"}),Xu=_(y7)(({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}})),Qu=_(b7)(({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%"}})),$l=l.forwardRef(({children:e,horizontal:t=!1,vertical:r=!1,offset:n=2,scrollbarSize:a=6,className:o},i)=>y.createElement(Ym,{scrollbarsize:a,offset:n,className:o},y.createElement(Jm,{ref:i},e),t&&y.createElement(Xu,{orientation:"horizontal",offset:n,horizontal:t.toString(),vertical:r.toString()},y.createElement(Qu,null)),r&&y.createElement(Xu,{orientation:"vertical",offset:n,horizontal:t.toString(),vertical:r.toString()},y.createElement(Qu,null)),t&&r&&y.createElement(w7,null))),$l.displayName="ScrollArea"}),Hp={};ka(Hp,{SyntaxHighlighter:()=>_o,createCopyToClipboardFunction:()=>gd,default:()=>E7,supportedLanguages:()=>vd});const{logger:Mk}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{global:$k}=__STORYBOOK_MODULE_GLOBAL__;function gd(){return ho!=null&&ho.clipboard?e=>ho.clipboard.writeText(e):async e=>{let t=Hn.createElement("TEXTAREA"),r=Hn.activeElement;t.value=e,Hn.body.appendChild(t),t.select(),Hn.execCommand("copy"),Hn.body.removeChild(t),r.focus()}}var Zm,ho,Hn,Xm,vd,Qm,eg,tg,rg,ng,ag,og,ec,ig,lg,_o,E7,Os=B(()=>{Zm=De(Bs(),1),IA(),RA(),BA(),LA(),MA(),PA(),NA(),jA(),UA(),WA(),GA(),Tk(),Rk(),a7(),Np(),{navigator:ho,document:Hn,window:Xm}=$k,vd={jsextra:gb,jsx:pb,json:vb,yml:xb,md:Eb,bash:fb,css:mb,html:wb,tsx:Db,typescript:Sb,graphql:yb},Object.entries(vd).forEach(([e,t])=>{ll.registerLanguage(e,t)}),Qm=(0,Zm.default)(2)(e=>Object.entries(e.code||{}).reduce((t,[r,n])=>({...t,[`* .${r}`]:n}),{})),eg=gd(),c(gd,"createCopyToClipboardFunction"),tg=_.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)"}}:{}),rg=c(({children:e,className:t})=>y.createElement($l,{horizontal:!0,vertical:!0,className:t},e),"UnstyledScroller"),ng=_(rg)({position:"relative"},({theme:e})=>Qm(e)),ag=_.pre(({theme:e,padded:t})=>({display:"flex",justifyContent:"flex-start",margin:0,padding:t?e.layoutMargin:0})),og=_.div(({theme:e})=>({flex:1,paddingLeft:2,paddingRight:e.layoutMargin,opacity:1,fontFamily:e.typography.fonts.mono})),ec=c(e=>{let t=[...e.children],r=t[0],n=r.children[0].value,a={...r,children:[],properties:{...r.properties,"data-line-number":n,style:{...r.properties.style,userSelect:"auto"}}};return t[0]=a,{...e,children:t}},"processLineNumber"),ig=c(({rows:e,stylesheet:t,useInlineStyles:r})=>e.map((n,a)=>Ls({node:ec(n),stylesheet:t,useInlineStyles:r,key:`code-segement${a}`})),"defaultRenderer"),lg=c((e,t)=>t?e?({rows:r,...n})=>e({rows:r.map(a=>ec(a)),...n}):ig:e,"wrapRenderer"),_o=c(({children:e,language:t="jsx",copyable:r=!1,bordered:n=!1,padded:a=!1,format:o=!0,formatter:i=void 0,className:s=void 0,showLineNumbers:u=!1,...d})=>{if(typeof e!="string"||!e.trim())return null;let[p,h]=l.useState("");l.useEffect(()=>{i?i(o,e).then(h):h(e.trim())},[e,o,i]);let[m,f]=l.useState(!1),v=l.useCallback(b=>{b.preventDefault(),eg(p).then(()=>{f(!0),Xm.setTimeout(()=>f(!1),1500)}).catch(Mk.error)},[p]),g=lg(d.renderer,u);return y.createElement(tg,{bordered:n,padded:a,showLineNumbers:u,className:s},y.createElement(ng,null,y.createElement(ll,{padded:a||n,language:t,showLineNumbers:u,showInlineLineNumbers:u,useInlineStyles:!1,PreTag:ag,CodeTag:og,lineNumberContainerStyle:{},...d,renderer:g},p)),r?y.createElement(Bp,{actionItems:[{title:m?"Copied":"Copy",onClick:v}]}):null)},"SyntaxHighlighter"),_o.registerLanguage=(...e)=>ll.registerLanguage(...e),E7=_o});function sg(e){if(typeof e=="string")return Us;if(Array.isArray(e))return qs;if(!e)return;let{type:t}=e;if(df.has(t))return t}function ug(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(Ws(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=kw([...df].map(a=>`'${a}'`));return`Unexpected doc.type '${e.type}'. -Expected it to be ${n}.`}function Xt(e){return Br(e),{type:$o,contents:e}}function jp(e,t){return Br(t),{type:Po,contents:t,n:e}}function Ce(e,t={}){return Br(e),Gs(t.expandedStates,!0),{type:ha,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function x7(e){return jp(Number.NEGATIVE_INFINITY,e)}function C7(e){return jp({type:"root"},e)}function Vp(e){return Gs(e),{type:No,parts:e}}function Oo(e,t="",r={}){return Br(e),t!==""&&Br(t),{type:Ho,breakContents:e,flatContents:t,groupId:r.groupId}}function D7(e,t){return Br(e),{type:jo,contents:e,groupId:t.groupId,negate:t.negate}}function vn(e,t){Br(e),Gs(t);let r=[];for(let n=0;nt===""))return"";break;case ha:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===ha&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case Po:case $o:case jo:case Wl:if(!e.contents)return"";break;case Ho:if(!e.flatContents&&!e.breakContents)return"";break;case qs:{let t=[];for(let r of e){if(!r)continue;let[n,...a]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof ma(!1,t,-1)=="string"?t[t.length-1]+=n:t.push(n),t.push(...a)}return t.length===0?"":t.length===1?t[0]:t}case Us:case Ul:case ql:case Gl:case Sr:case Kl:case Fo:break;default:throw new pf(e)}return e}function A7(e){return Ms(e,t=>S7(t))}function tt(e,t=_w){return Ms(e,r=>typeof r=="string"?vn(t,r.split(` -`)):r)}function cg(e,t){let r=t===!0||t===bo?bo:Sd,n=r===bo?Sd:bo,a=0,o=0;for(let i of e)i===r?a++:i===n&&o++;return a>o?n:r}function dg(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function pg(e){return(e==null?void 0:e.type)==="front-matter"}function tc(e,t){var r;if(e.type==="text"||e.type==="comment"||fi(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)Tw.has(e.name)?delete n.expression:n.expression=n.expression.trim();e.type==="angularIcuExpression"&&(t.switchValue=e.switchValue.trim())}async function fg(e,t){if(e.lang==="yaml"){let r=e.value.trim(),n=r?await t(r,{parser:"yaml"}):"";return C7([e.startDelimiter,oe,n,n?oe:"",e.endDelimiter])}}function ii(e,t=!0){return[Xt([xe,e]),t?xe:""]}function yn(e,t){let r=e.type==="NGRoot"?e.node.type==="NGMicrosyntax"&&e.node.body.length===1&&e.node.body[0].type==="NGMicrosyntaxExpression"?e.node.body[0].expression:e.node:e.type==="JsExpressionRoot"?e.node:e;return r&&(r.type==="ObjectExpression"||r.type==="ArrayExpression"||(t.parser==="__vue_expression"||t.parser==="__vue_ts_expression")&&(r.type==="TemplateLiteral"||r.type==="StringLiteral"))}async function yt(e,t,r,n){r={__isInHtmlAttribute:!0,__embeddedInHtml:!0,...r};let a=!0;n&&(r.__onHtmlBindingRoot=(i,s)=>{a=n(i,s)});let o=await t(e,r,t);return a?Ce(o):ii(o)}function hg(e,t,r,n){let{node:a}=r,o=n.originalText.slice(a.sourceSpan.start.offset,a.sourceSpan.end.offset);return/^\s*$/.test(o)?"":yt(o,e,{parser:"__ng_directive",__isInHtmlAttribute:!1,trailingComma:"none"},yn)}function yd(e,t){if(!t)return;let r=zw(t).toLowerCase();return e.find(({filenames:n})=>n==null?void 0:n.some(a=>a.toLowerCase()===r))??e.find(({extensions:n})=>n==null?void 0:n.some(a=>r.endsWith(a)))}function k7(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 mg(e,t){let r=e.plugins.flatMap(a=>a.languages??[]),n=k7(r,t.language)??yd(r,t.physicalFile)??yd(r,t.file)??(t.physicalFile,void 0);return n==null?void 0:n.parsers[0]}function gg(e){return e.type==="element"&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}function Up(e,t){return!!(e.type==="ieConditionalComment"&&e.lastChild&&!e.lastChild.isSelfClosing&&!e.lastChild.endSourceSpan||e.type==="ieConditionalComment"&&!e.complete||cn(e)&&e.children.some(r=>r.type!=="text"&&r.type!=="interpolation")||Ps(e,t)&&!Wt(e)&&e.type!=="interpolation")}function li(e){return e.type==="attribute"||!e.parent||!e.prev?!1:_7(e.prev)}function _7(e){return e.type==="comment"&&e.value.trim()==="prettier-ignore"}function Ye(e){return e.type==="text"||e.type==="comment"}function Wt(e){return e.type==="element"&&(e.fullName==="script"||e.fullName==="style"||e.fullName==="svg:style"||e.fullName==="svg:script"||ga(e)&&(e.name==="script"||e.name==="style"))}function F7(e){return e.children&&!Wt(e)}function I7(e){return Wt(e)||e.type==="interpolation"||qp(e)}function qp(e){return Xp(e).startsWith("pre")}function T7(e,t){var r,n;let a=o();if(a&&!e.prev&&(n=(r=e.parent)==null?void 0:r.tagDefinition)!=null&&n.ignoreFirstLf)return e.type==="interpolation";return a;function o(){return fi(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:cn(e.parent)?!0:!(!e.prev&&(e.parent.type==="root"||cn(e)&&e.parent||Wt(e.parent)||si(e.parent,t)||!N7(e.parent.cssDisplay))||e.prev&&!V7(e.prev.cssDisplay))}}function R7(e,t){return fi(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:cn(e.parent)?!0:!(!e.next&&(e.parent.type==="root"||cn(e)&&e.parent||Wt(e.parent)||si(e.parent,t)||!H7(e.parent.cssDisplay))||e.next&&!j7(e.next.cssDisplay))}function B7(e){return U7(e.cssDisplay)&&!Wt(e)}function mo(e){return fi(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+10&&(["body","script","style"].includes(e.name)||e.children.some(t=>O7(t)))||e.firstChild&&e.firstChild===e.lastChild&&e.firstChild.type!=="text"&&Kp(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||Yp(e.lastChild))}function Wp(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 sl(e){return Jp(e)||e.prev&&L7(e.prev)||Gp(e)}function L7(e){return Jp(e)||e.type==="element"&&e.fullName==="br"||Gp(e)}function Gp(e){return Kp(e)&&Yp(e)}function Kp(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 Jp(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function $s(e){return e.lastChild?$s(e.lastChild):e}function O7(e){var t;return(t=e.children)==null?void 0:t.some(r=>r.type!=="text")}function Zp(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 M7(e,t){let{name:r,attrMap:n}=e;if(r!=="script"||Object.prototype.hasOwnProperty.call(n,"src"))return;let{type:a,lang:o}=e.attrMap;return!o&&!a?"babel":hi(t,{language:o})??Zp(a)}function $7(e,t){if(!Ps(e,t))return;let{attrMap:r}=e;if(Object.prototype.hasOwnProperty.call(r,"src"))return;let{type:n,lang:a}=r;return hi(t,{language:a})??Zp(n)}function P7(e,t){if(e.name!=="style")return;let{lang:r}=e.attrMap;return r?hi(t,{language:r}):"css"}function bd(e,t){return M7(e,t)??P7(e,t)??$7(e,t)}function Fa(e){return e==="block"||e==="list-item"||e.startsWith("table")}function N7(e){return!Fa(e)&&e!=="inline-block"}function H7(e){return!Fa(e)&&e!=="inline-block"}function j7(e){return!Fa(e)}function V7(e){return!Fa(e)}function U7(e){return!Fa(e)&&e!=="inline-block"}function cn(e){return Xp(e).startsWith("pre")}function q7(e,t){let r=e;for(;r;){if(t(r))return!0;r=r.parent}return!1}function W7(e,t){var r;if(bn(e,t))return"block";if(((r=e.prev)==null?void 0:r.type)==="comment"){let a=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(a)return a[1]}let n=!1;if(e.type==="element"&&e.namespace==="svg")if(q7(e,a=>a.fullName==="svg:foreignObject"))n=!0;else return e.name==="svg"?"inline-block":"block";switch(t.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return e.type==="element"&&(!e.namespace||n||ga(e))&&Ow[e.name]||Lw}}function Xp(e){return e.type==="element"&&(!e.namespace||ga(e))&&$w[e.name]||Mw}function G7(e){let t=Number.POSITIVE_INFINITY;for(let r of e.split(` -`)){if(r.length===0)continue;let n=mt.getLeadingWhitespaceCount(r);if(n===0)return 0;r.length!==n&&nr.slice(t)).join(` -`)}function ef(e){return Ne(!1,Ne(!1,e,"'","'"),""",'"')}function gr(e){return ef(e.value)}function si(e,t){return bn(e,t)&&!Nw.has(e.fullName)}function bn(e,t){return t.parser==="vue"&&e.type==="element"&&e.parent.type==="root"&&e.fullName.toLowerCase()!=="html"}function Ps(e,t){return bn(e,t)&&(si(e,t)||e.attrMap.lang&&e.attrMap.lang!=="html")}function K7(e){let t=e.fullName;return t.charAt(0)==="#"||t==="slot-scope"||t==="v-slot"||t.startsWith("v-slot:")}function Y7(e,t){let r=e.parent;if(!bn(r,t))return!1;let n=r.fullName,a=e.fullName;return n==="script"&&a==="setup"||n==="style"&&a==="vars"}function tf(e,t=e.value){return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?tt(t):tt(Qp(ff(t)),oe):vn(Ee,mt.split(t))}function rf(e,t){return bn(e,t)&&e.name==="script"}async function J7(e,t){let r=[];for(let[n,a]of e.split(hf).entries())if(n%2===0)r.push(tt(a));else try{r.push(Ce(["{{",Xt([Ee,await yt(a,t,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0,trailingComma:"none"})]),Ee,"}}"]))}catch{r.push("{{",tt(a),"}}")}return r}function Oi({parser:e}){return(t,r,n)=>yt(gr(n.node),t,{parser:e,trailingComma:"none"},yn)}function vg(e,t){if(t.parser!=="angular")return;let{node:r}=e,n=r.fullName;if(n.startsWith("(")&&n.endsWith(")")||n.startsWith("on-"))return Hw;if(n.startsWith("[")&&n.endsWith("]")||/^bind(?:on)?-/.test(n)||/^ng-(?:if|show|hide|class|style)$/.test(n))return jw;if(n.startsWith("*"))return Vw;let a=gr(r);if(/^i18n(?:-.+)?$/.test(n))return()=>ii(Vp(tf(r,a.trim())),!a.includes("@@"));if(hf.test(a))return o=>J7(a,o)}function yg(e,t){let{node:r}=e,n=gr(r);if(r.fullName==="class"&&!t.parentParser&&!n.includes("{{"))return()=>n.trim().split(/\s+/).join(" ")}function wd(e){return e===" "||e===` -`||e==="\f"||e==="\r"||e===" "}function bg(e){let t=e.length,r,n,a,o,i,s=0,u;function d(f){let v,g=f.exec(e.substring(s));if(g)return[v]=g,s+=v.length,v}c(d,"p");let p=[];for(;;){if(d(Gw),s>=t){if(p.length===0)throw new Error("Must contain one or more image candidate strings.");return p}u=s,r=d(Kw),n=[],r.slice(-1)===","?(r=r.replace(Yw,""),m()):h()}function h(){for(d(Ww),a="",o="in descriptor";;){if(i=e.charAt(s),o==="in descriptor")if(wd(i))a&&(n.push(a),a="",o="after descriptor");else if(i===","){s+=1,a&&n.push(a),m();return}else if(i==="(")a+=i,o="in parens";else if(i===""){a&&n.push(a),m();return}else a+=i;else if(o==="in parens")if(i===")")a+=i,o="in descriptor";else if(i===""){n.push(a),m();return}else a+=i;else if(o==="after descriptor"&&!wd(i))if(i===""){m();return}else o="in descriptor",s-=1;s+=1}}c(h,"m");function m(){let f=!1,v,g,b,C,w={},x,E,D,S,A;for(C=0;CZ7(gr(e.node))}function Z7(e){let t=Zw(e),r=Xw.filter(p=>t.some(h=>Object.prototype.hasOwnProperty.call(h,p)));if(r.length>1)throw new Error("Mixed descriptor in srcset is not supported");let[n]=r,a=kd[n],o=t.map(p=>p.source.value),i=Math.max(...o.map(p=>p.length)),s=t.map(p=>p[n]?String(p[n].value):""),u=s.map(p=>{let h=p.indexOf(".");return h===-1?p.length:h}),d=Math.max(...u);return ii(vn([",",Ee],o.map((p,h)=>{let m=[p],f=s[h];if(f){let v=i-p.length+1,g=d-u[h],b=" ".repeat(v+g);m.push(Oo(b," "),f+a)}return m})))}function X7(e,t){let{node:r}=e,n=gr(e.node).trim();if(r.fullName==="style"&&!t.parentParser&&!n.includes("{{"))return async a=>ii(await a(n,{parser:"css",__isHTMLStyleAttribute:!0}))}function Eg(e,t){let{root:r}=e;return ul.has(r)||ul.set(r,r.children.some(n=>rf(n,t)&&["ts","typescript"].includes(n.attrMap.lang))),ul.get(r)}function Q7(e,t,r){let{node:n}=r,a=gr(n);return yt(`type T<${a}> = any`,e,{parser:"babel-ts",__isEmbeddedTypescriptGenericParameters:!0},yn)}function ew(e,t,{parseWithTs:r}){return yt(`function _(${e}) {}`,t,{parser:r?"babel-ts":"babel",__isVueBindings:!0})}function tw(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)}async function rw(e,t,r,n){let a=gr(r.node),{left:o,operator:i,right:s}=nw(a),u=Ks(r,n);return[Ce(await yt(`function _(${o}) {}`,e,{parser:u?"babel-ts":"babel",__isVueForBindingLeft:!0}))," ",i," ",await yt(s,e,{parser:u?"__ts_expression":"__js_expression"})]}function nw(e){let t=/(.*?)\s+(in|of)\s+(.*)/s,r=/,([^,\]}]*)(?:,([^,\]}]*))?$/,n=/^\(|\)$/g,a=e.match(t);if(!a)return;let o={};if(o.for=a[3].trim(),!o.for)return;let i=Ne(!1,a[1].trim(),n,""),s=i.match(r);s?(o.alias=i.replace(r,""),o.iterator1=s[1].trim(),s[2]&&(o.iterator2=s[2].trim())):o.alias=i;let u=[o.alias,o.iterator1,o.iterator2];if(!u.some((d,p)=>!d&&(p===0||u.slice(p+1).some(Boolean))))return{left:u.filter(Boolean).join(","),operator:a[2],right:o.for}}function xg(e,t){if(t.parser!=="vue")return;let{node:r}=e,n=r.fullName;if(n==="v-for")return rw;if(n==="generic"&&rf(r.parent,t))return Q7;let a=gr(r),o=Ks(e,t);if(K7(r)||Y7(r,t))return i=>ew(a,i,{parseWithTs:o});if(n.startsWith("@")||n.startsWith("v-on:"))return i=>aw(a,i,{parseWithTs:o});if(n.startsWith(":")||n.startsWith("v-bind:"))return i=>ow(a,i,{parseWithTs:o});if(n.startsWith("v-"))return i=>nf(a,i,{parseWithTs:o})}function aw(e,t,{parseWithTs:r}){return tw(e)?nf(e,t,{parseWithTs:r}):yt(e,t,{parser:r?"__vue_ts_event_binding":"__vue_event_binding"},yn)}function ow(e,t,{parseWithTs:r}){return yt(e,t,{parser:r?"__vue_ts_expression":"__vue_expression"},yn)}function nf(e,t,{parseWithTs:r}){return yt(e,t,{parser:r?"__ts_expression":"__js_expression"},yn)}function Cg(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[Qw,X7,qw,e6,Uw]){let a=n(e,t);if(a)return iw(a)}}}function iw(e){return async(t,r,n,a)=>{let o=await e(t,r,n,a);if(o)return o=Ms(o,i=>typeof i=="string"?Ne(!1,i,'"',"""):i),[n.node.rawName,'="',Ce(o),'"']}}function Dg(e){return Array.isArray(e)&&e.length>0}function ui(e){return e.sourceSpan.start.offset}function ci(e){return e.sourceSpan.end.offset}function Pl(e,t){return[e.isSelfClosing?"":lw(e,t),Wn(e,t)]}function lw(e,t){return e.lastChild&&fa(e.lastChild)?"":[sw(e,t),Ns(e,t)]}function Wn(e,t){return(e.next?Tr(e.next):Ta(e.parent))?"":[Ia(e,t),Ir(e,t)]}function sw(e,t){return Ta(e)?Ia(e.lastChild,t):""}function Ir(e,t){return fa(e)?Ns(e.parent,t):di(e)?Hs(e.next):""}function Ns(e,t){if(mf(!e.isSelfClosing),af(e,t))return"";switch(e.type){case"ieConditionalComment":return"";case"ieConditionalStartComment":return"]>";case"interpolation":return"}}";case"angularIcuExpression":return"}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function af(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(li(e)||Up(e.parent,t))}function Tr(e){return e.prev&&e.prev.type!=="docType"&&e.type!=="angularControlFlowBlock"&&!Ye(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function Ta(e){var t;return((t=e.lastChild)==null?void 0:t.isTrailingSpaceSensitive)&&!e.lastChild.hasTrailingSpaces&&!Ye($s(e.lastChild))&&!cn(e)}function fa(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&Ye($s(e))}function di(e){return e.next&&!Ye(e.next)&&Ye(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function uw(e){let t=e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return t?t[1]?t[1].split(/\s+/):!0:!1}function pi(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function cw(e,t,r){var n;let{node:a}=e;if(!Ys(a.attrs))return a.isSelfClosing?" ":"";let o=((n=a.prev)==null?void 0:n.type)==="comment"&&uw(a.prev.value),i=typeof o=="boolean"?()=>o:Array.isArray(o)?h=>o.includes(h.rawName):()=>!1,s=e.map(({node:h})=>i(h)?tt(t.originalText.slice(ui(h),ci(h))):r(),"attrs"),u=a.type==="element"&&a.fullName==="script"&&a.attrs.length===1&&a.attrs[0].fullName==="src"&&a.children.length===0,d=t.singleAttributePerLine&&a.attrs.length>1&&!bn(a,t)?oe:Ee,p=[Xt([u?" ":Ee,vn(d,s)])];return a.firstChild&&pi(a.firstChild)||a.isSelfClosing&&Ta(a.parent)||u?p.push(a.isSelfClosing?" ":""):p.push(t.bracketSameLine?a.isSelfClosing?" ":"":a.isSelfClosing?Ee:xe),p}function dw(e){return e.firstChild&&pi(e.firstChild)?"":js(e)}function Nl(e,t,r){let{node:n}=e;return[Gn(n,t),cw(e,t,r),n.isSelfClosing?"":dw(n)]}function Gn(e,t){return e.prev&&di(e.prev)?"":[Rr(e,t),Hs(e)]}function Rr(e,t){return pi(e)?js(e.parent):Tr(e)?Ia(e.prev,t):""}function Hs(e){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return`<${e.rawName}`;default:return`<${e.rawName}`}}function js(e){switch(mf(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">";default:return">"}}function Sg(e,t){if(!e.endSourceSpan)return"";let r=e.startSourceSpan.end.offset;e.firstChild&&pi(e.firstChild)&&(r-=js(e).length);let n=e.endSourceSpan.start.offset;return e.lastChild&&fa(e.lastChild)?n+=Ns(e,t).length:Ta(e)&&(n-=Ia(e.lastChild,t).length),t.originalText.slice(r,n)}function Ag(e,t){let{node:r}=e;switch(r.type){case"element":if(Wt(r)||r.type==="interpolation")return;if(!r.isSelfClosing&&Ps(r,t)){let n=bd(r,t);return n?async(a,o)=>{let i=gf(r,t),s=/^\s*$/.test(i),u="";return s||(u=await a(ff(i),{parser:n,__embeddedInHtml:!0}),s=u===""),[Rr(r,t),Ce(Nl(e,t,o)),s?"":oe,u,s?"":oe,Pl(r,t),Ir(r,t)]}:void 0}break;case"text":if(Wt(r.parent)){let n=bd(r.parent,t);if(n)return async a=>{let o=n==="markdown"?Qp(r.value.replace(/^[^\S\n]*\n/,"")):r.value,i={parser:n,__embeddedInHtml:!0};if(t.parser==="html"&&n==="babel"){let s="script",{attrMap:u}=r.parent;u&&(u.type==="module"||u.type==="text/babel"&&u["data-type"]==="module")&&(s="module"),i.__babelSourceType=s}return[Yn,Rr(r,t),await a(o,i),Ir(r,t)]}}else if(r.parent.type==="interpolation")return async n=>{let a={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return t.parser==="angular"?(a.parser="__ng_interpolation",a.trailingComma="none"):t.parser==="vue"?a.parser=Ks(e,t)?"__vue_ts_expression":"__vue_expression":a.parser="__js_expression",[Xt([Ee,await n(r.value,a)]),r.parent.next&&Tr(r.parent.next)?" ":Ee]};break;case"attribute":return t6(e,t);case"front-matter":return n=>Rw(r,n);case"angularControlFlowBlockParameters":return r6.has(e.parent.name)?Bw:void 0}}function Kn(e){if(Vn!==null&&typeof Vn.property){let t=Vn;return Vn=Kn.prototype=null,t}return Vn=Kn.prototype=e??Object.create(null),new Kn}function pw(e){return Kn(e)}function kg(e,t="type"){pw(e);function r(n){let a=n[t],o=e[a];if(!Array.isArray(o))throw Object.assign(new Error(`Missing visitor keys for '${a}'.`),{node:n});return o}return c(r,"r"),r}function fw(e){return/^\s*/.test(e)}function _g(e){return` - -`+e}function of(e){let t=ci(e);return e.type==="element"&&!e.endSourceSpan&&Ys(e.children)?Math.max(t,of(ma(!1,e.children,-1))):t}function jn(e,t,r){let n=e.node;if(li(n)){let a=of(n);return[Rr(n,t),tt(mt.trimEnd(t.originalText.slice(ui(n)+(n.prev&&di(n.prev)?Hs(n).length:0),a-(n.next&&Tr(n.next)?Ia(n,t).length:0)))),Ir(n,t)]}return r()}function go(e,t){return Ye(e)&&Ye(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?sl(t)?oe:Ee:"":sl(t)?oe:xe:di(e)&&(li(t)||t.firstChild||t.isSelfClosing||t.type==="element"&&t.attrs.length>0)||e.type==="element"&&e.isSelfClosing&&Tr(t)?"":!t.isLeadingSpaceSensitive||sl(t)||Tr(t)&&e.lastChild&&fa(e.lastChild)&&e.lastChild.lastChild&&fa(e.lastChild.lastChild)?oe:t.hasLeadingSpaces?Ee:xe}function Vs(e,t,r){let{node:n}=e;if(Wp(n))return[Yn,...e.map(o=>{let i=o.node,s=i.prev?go(i.prev,i):"";return[s?[s,mo(i.prev)?oe:""]:"",jn(o,t,r)]},"children")];let a=n.children.map(()=>Symbol(""));return e.map((o,i)=>{let s=o.node;if(Ye(s)){if(s.prev&&Ye(s.prev)){let v=go(s.prev,s);if(v)return mo(s.prev)?[oe,oe,jn(o,t,r)]:[v,jn(o,t,r)]}return jn(o,t,r)}let u=[],d=[],p=[],h=[],m=s.prev?go(s.prev,s):"",f=s.next?go(s,s.next):"";return m&&(mo(s.prev)?u.push(oe,oe):m===oe?u.push(oe):Ye(s.prev)?d.push(m):d.push(Oo("",xe,{groupId:a[i-1]}))),f&&(mo(s)?Ye(s.next)&&h.push(oe,oe):f===oe?Ye(s.next)&&h.push(oe):p.push(f)),[...u,Ce([...d,Ce([jn(o,t,r),...p],{id:a[i]})]),...h]},"children")}function hw(e,t,r){let{node:n}=e,a=[];mw(e)&&a.push("} "),a.push("@",n.name),n.parameters&&a.push(" (",Ce(r("parameters")),")"),a.push(" {");let o=lf(n);return n.children.length>0?(n.firstChild.hasLeadingSpaces=!0,n.lastChild.hasTrailingSpaces=!0,a.push(Xt([oe,Vs(e,t,r)])),o&&a.push(oe,"}")):o&&a.push("}"),Ce(a,{shouldBreak:!0})}function lf(e){var t,r;return!(((t=e.next)==null?void 0:t.type)==="angularControlFlowBlock"&&(r=n6.get(e.name))!=null&&r.has(e.next.name))}function mw(e){let{previous:t}=e;return(t==null?void 0:t.type)==="angularControlFlowBlock"&&!li(t)&&!lf(t)}function gw(e,t,r){return[Xt([xe,vn([";",Ee],e.map(r,"children"))]),xe]}function vw(e,t,r){let{node:n}=e;return[Gn(n,t),Ce([n.switchValue.trim(),", ",n.clause,n.cases.length>0?[",",Xt([Ee,vn(Ee,e.map(r,"cases"))])]:"",xe]),Wn(n,t)]}function yw(e,t,r){let{node:n}=e;return[n.value," {",Ce([Xt([xe,e.map(({node:a})=>a.type==="text"&&!mt.trim(a.value)?"":r(),"expression")]),xe]),"}"]}function bw(e,t,r){let{node:n}=e;if(Up(n,t))return[Rr(n,t),Ce(Nl(e,t,r)),tt(gf(n,t)),...Pl(n,t),Ir(n,t)];let a=n.children.length===1&&(n.firstChild.type==="interpolation"||n.firstChild.type==="angularIcuExpression")&&n.firstChild.isLeadingSpaceSensitive&&!n.firstChild.hasLeadingSpaces&&n.lastChild.isTrailingSpaceSensitive&&!n.lastChild.hasTrailingSpaces,o=Symbol("element-attr-group-id"),i=c(p=>Ce([Ce(Nl(e,t,r),{id:o}),p,Pl(n,t)]),"a"),s=c(p=>a?D7(p,{groupId:o}):(Wt(n)||si(n,t))&&n.parent.type==="root"&&t.parser==="vue"&&!t.vueIndentScriptAndStyle?p:Xt(p),"o"),u=c(()=>a?Oo(xe,"",{groupId:o}):n.firstChild.hasLeadingSpaces&&n.firstChild.isLeadingSpaceSensitive?Ee:n.firstChild.type==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive?x7(xe):xe,"u"),d=c(()=>(n.next?Tr(n.next):Ta(n.parent))?n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?" ":"":a?Oo(xe,"",{groupId:o}):n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?Ee:(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)?"":xe,"p");return n.children.length===0?i(n.hasDanglingSpaces&&n.isDanglingSpaceSensitive?Ee:""):i([z7(n)?Yn:"",s([u(),Vs(e,t,r)]),d()])}function Hl(e){return e>=9&&e<=32||e==160}function sf(e){return 48<=e&&e<=57}function jl(e){return e>=97&&e<=122||e>=65&&e<=90}function ww(e){return e>=97&&e<=102||e>=65&&e<=70||sf(e)}function rc(e){return e===10||e===13}function nc(e){return 48<=e&&e<=55}function ac(e){return e===39||e===34||e===96}function Fg(e){return e.replace(a6,(...t)=>t[1].toUpperCase())}function Ig(e,t){for(let r of o6)r(e,t);return e}function Tg(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 Rg(e){let t=c(r=>{var n,a;return r.type==="element"&&((n=r.prev)==null?void 0:n.type)==="ieConditionalStartComment"&&r.prev.sourceSpan.end.offset===r.startSourceSpan.start.offset&&((a=r.firstChild)==null?void 0:a.type)==="ieConditionalEndComment"&&r.firstChild.sourceSpan.start.offset===r.startSourceSpan.end.offset},"e");e.walk(r=>{if(r.children)for(let n=0;n{if(n.children)for(let a=0;at.type==="cdata",t=>``)}function zg(e){let t=c(r=>{var n,a;return r.type==="element"&&r.attrs.length===0&&r.children.length===1&&r.firstChild.type==="text"&&!mt.hasWhitespaceCharacter(r.children[0].value)&&!r.firstChild.hasLeadingSpaces&&!r.firstChild.hasTrailingSpaces&&r.isLeadingSpaceSensitive&&!r.hasLeadingSpaces&&r.isTrailingSpaceSensitive&&!r.hasTrailingSpaces&&((n=r.prev)==null?void 0:n.type)==="text"&&((a=r.next)==null?void 0:a.type)==="text"},"e");e.walk(r=>{if(r.children)for(let n=0;n`+a.firstChild.value+``+i.value,o.sourceSpan=new Z(o.sourceSpan.start,i.sourceSpan.end),o.isTrailingSpaceSensitive=i.isTrailingSpaceSensitive,o.hasTrailingSpaces=i.hasTrailingSpaces,r.removeChild(a),n--,r.removeChild(i)}})}function Lg(e,t){if(t.parser==="html")return;let r=/{{(.+?)}}/s;e.walk(n=>{if(F7(n))for(let a of n.children){if(a.type!=="text")continue;let o=a.sourceSpan.start,i=null,s=a.value.split(r);for(let u=0;u0&&n.insertChildBefore(a,{type:"text",value:d,sourceSpan:new Z(o,i)});continue}i=o.moveBy(d.length+4),n.insertChildBefore(a,{type:"interpolation",sourceSpan:new Z(o,i),children:d.length===0?[]:[{type:"text",value:d,sourceSpan:new Z(o.moveBy(2),i.moveBy(-2))}]})}n.removeChild(a)}})}function Og(e){e.walk(t=>{if(!t.children)return;if(t.children.length===0||t.children.length===1&&t.children[0].type==="text"&&mt.trim(t.children[0].value).length===0){t.hasDanglingSpaces=t.children.length>0,t.children=[];return}let r=I7(t),n=qp(t);if(!r)for(let a=0;a{t.isSelfClosing=!t.children||t.type==="element"&&(t.tagDefinition.isVoid||t.endSourceSpan&&t.startSourceSpan.start===t.endSourceSpan.start&&t.startSourceSpan.end===t.endSourceSpan.end)})}function $g(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 Pg(e,t){e.walk(r=>{r.cssDisplay=W7(r,t)})}function Ng(e,t){e.walk(r=>{let{children:n}=r;if(n){if(n.length===0){r.isDanglingSpaceSensitive=B7(r);return}for(let a of n)a.isLeadingSpaceSensitive=T7(a,t),a.isTrailingSpaceSensitive=R7(a,t);for(let a=0;a{!Za[t]&&vo(t)===null&&(Za[t]=new W({canSelfClose:!1}))})),Za[e]??j2}function Ed(e,t,r=null){let n=[],a=e.visit?o=>e.visit(o,r)||o.visit(e,r):o=>o.visit(e,r);return t.forEach(o=>{let i=a(o);i&&n.push(i)}),n}function Vg(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];s6.forEach(a=>{if(a.test(r)||a.test(n))throw new Error(`['${r}', '${n}'] contains unusable interpolation symbol.`)})}}function Ug(e,t,r,n={}){let a=new c6(new vf(e,t),r,n);return a.tokenize(),new u6(xw(a.tokens),a.errors,a.nonNormalizedIcuExpressions)}function qr(e){return`Unexpected character "${e===0?"EOF":String.fromCharCode(e)}"`}function sc(e){return`Unknown entity "${e}" - use the "&#;" or "&#x;" syntax`}function qg(e,t){return`Unable to parse entity "${t}" - ${e} character reference entities must end with ";"`}function ye(e){return!Hl(e)||e===0}function uc(e){return Hl(e)||e===62||e===60||e===47||e===39||e===34||e===61||e===0}function Wg(e){return(e<97||12257)}function Gg(e){return e===59||e===0||!ww(e)}function Kg(e){return e===59||e===0||!jl(e)}function Yg(e){return e!==125}function Jg(e,t){return xd(e)===xd(t)}function xd(e){return e>=97&&e<=122?e-97+65:e}function cc(e){return jl(e)||sf(e)||e===95}function dc(e){return e!==59&&ye(e)}function xw(e){let t=[],r;for(let n=0;n0&&e[e.length-1]===t}function fc(e,t){return Io[t]!==void 0?Io[t]||e:/^#x[a-f0-9]+$/i.test(t)?String.fromCodePoint(parseInt(t.slice(2),16)):/^#\d+$/.test(t)?String.fromCodePoint(parseInt(t.slice(1),10)):e}function Cd(e,t={}){let{canSelfClose:r=!1,allowHtmComponentClosingTags:n=!1,isTagNameCaseSensitive:a=!1,getTagContentType:o,tokenizeAngularBlocks:i=!1}=t;return d6().parse(e,"angular-html-parser",{tokenizeExpansionForms:i,interpolationConfig:void 0,canSelfClose:r,allowHtmComponentClosingTags:n,tokenizeBlocks:i},a,o)}function Zg(e,t){let r=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(r,t)}function Xg(e){let t=e.match(f6);if(!t)return{content:e};let{startDelimiter:r,language:n,value:a="",endDelimiter:o}=t.groups,i=n.trim()||"yaml";if(r==="+++"&&(i="toml"),i!=="yaml"&&r!==o)return{content:e};let[s]=t;return{frontMatter:{type:"front-matter",lang:i,value:a,startDelimiter:r,endDelimiter:o,raw:s.replace(/\n$/,"")},content:Ne(!1,s,/[^\n]/g," ")+e.slice(s.length)}}function Qg(e,t){let r=e.map(t);return r.some((n,a)=>n!==e[a])?r:e}function Cw(e,t){if(e.value)for(let{regex:r,parse:n}of g6){let a=e.value.match(r);if(a)return n(e,t,a)}return null}function e2(e,t,r){let[,n,a,o]=r,i=4+n.length,s=e.sourceSpan.start.moveBy(i),u=s.moveBy(o.length),[d,p]=(()=>{try{return[!0,t(o,s).children]}catch{return[!1,[{type:"text",value:o,sourceSpan:new Z(s,u)}]]}})();return{type:"ieConditionalComment",complete:d,children:p,condition:Ne(!1,a.trim(),/\s+/g," "),sourceSpan:e.sourceSpan,startSourceSpan:new Z(e.sourceSpan.start,s),endSourceSpan:new Z(u,e.sourceSpan.end)}}function t2(e,t,r){let[,n]=r;return{type:"ieConditionalStartComment",condition:Ne(!1,n.trim(),/\s+/g," "),sourceSpan:e.sourceSpan}}function r2(e){return{type:"ieConditionalEndComment",sourceSpan:e.sourceSpan}}function Dw(e){if(e.type==="block"){if(e.name=Ne(!1,e.name.toLowerCase(),/\s+/g," ").trim(),e.type="angularControlFlowBlock",!Ys(e.parameters)){delete e.parameters;return}for(let t of e.parameters)t.type="angularControlFlowBlockParameter";e.parameters={type:"angularControlFlowBlockParameters",children:e.parameters,sourceSpan:new Z(e.parameters[0].sourceSpan.start,ma(!1,e.parameters,-1).sourceSpan.end)}}}function Sw(e){(e.type==="plural"||e.type==="select")&&(e.clause=e.type,e.type="angularIcuExpression"),e.type==="expansionCase"&&(e.type="angularIcuCase")}function uf(e,t,r){let{name:n,canSelfClose:a=!0,normalizeTagName:o=!1,normalizeAttributeName:i=!1,allowHtmComponentClosingTags:s=!1,isTagNameCaseSensitive:u=!1,shouldParseAsRawText:d}=t,{rootNodes:p,errors:h}=Cd(e,{canSelfClose:a,allowHtmComponentClosingTags:s,isTagNameCaseSensitive:u,getTagContentType:d?(...w)=>d(...w)?ht.RAW_TEXT:void 0:void 0,tokenizeAngularBlocks:n==="angular"?!0:void 0});if(n==="vue"){if(p.some(D=>D.type==="docType"&&D.value==="html"||D.type==="element"&&D.name.toLowerCase()==="html"))return uf(e,_d,r);let w,x=c(()=>w??(w=Cd(e,{canSelfClose:a,allowHtmComponentClosingTags:s,isTagNameCaseSensitive:u})),"y"),E=c(D=>x().rootNodes.find(({startSourceSpan:S})=>S&&S.start.offset===D.startSourceSpan.start.offset)??D,"O");for(let[D,S]of p.entries()){let{endSourceSpan:A,startSourceSpan:k}=S;if(A===null)h=x().errors,p[D]=E(S);else if(Aw(S,r)){let F=x().errors.find(T=>T.span.start.offset>k.start.offset&&T.span.start.offset0&&Dd(h[0]);let m=c(w=>{let x=w.name.startsWith(":")?w.name.slice(1).split(":")[0]:null,E=w.nameSpan.toString(),D=x!==null&&E.startsWith(`${x}:`),S=D?E.slice(x.length+1):E;w.name=S,w.namespace=x,w.hasExplicitNamespace=D},"g"),f=c(w=>{switch(w.type){case"element":m(w);for(let x of w.attrs)m(x),x.valueSpan?(x.value=x.valueSpan.toString(),/["']/.test(x.value[0])&&(x.value=x.value.slice(1,-1))):x.value=null;break;case"comment":w.value=w.sourceSpan.toString().slice(4,-3);break;case"text":w.value=w.sourceSpan.toString();break}},"C"),v=c((w,x)=>{let E=w.toLowerCase();return x(E)?E:w},"_"),g=c(w=>{if(w.type==="element"&&(o&&(!w.namespace||w.namespace===w.tagDefinition.implicitNamespacePrefix||ga(w))&&(w.name=v(w.name,x=>v6.has(x))),i))for(let x of w.attrs)x.namespace||(x.name=v(x.name,E=>dl.has(w.name)&&(dl.get("*").has(E)||dl.get(w.name).has(E))))},"D"),b=c(w=>{w.sourceSpan&&w.endSourceSpan&&(w.sourceSpan=new Z(w.sourceSpan.start,w.endSourceSpan.end))},"I"),C=c(w=>{if(w.type==="element"){let x=Vl(u?w.name:w.name.toLowerCase());!w.namespace||w.namespace===x.implicitNamespacePrefix||ga(w)?w.tagDefinition=x:w.tagDefinition=Vl("")}},"B");return Ed(new class extends l6{visitExpansionCase(w,x){n==="angular"&&this.visitChildren(x,E=>{E(w.expression)})}visit(w){f(w),C(w),g(w),b(w)}},p),p}function Aw(e,t){var r;if(e.type!=="element"||e.name!=="template")return!1;let n=(r=e.attrs.find(a=>a.name==="lang"))==null?void 0:r.value;return!n||hi(t,{language:n})==="html"}function Dd(e){let{msg:t,span:{start:r,end:n}}=e;throw p6(t,{loc:{start:{line:r.line+1,column:r.col+1},end:{line:n.line+1,column:n.col+1}},cause:e})}function cf(e,t,r={},n=!0){let{frontMatter:a,content:o}=n?h6(e):{frontMatter:null,content:e},i=new vf(e,r.filepath),s=new Yl(i,0,0,0),u=s.moveBy(e.length),d={type:"root",sourceSpan:new Z(s,u),children:uf(o,t,r)};if(a){let m=new Yl(i,0,0,0),f=m.moveBy(a.raw.length);a.sourceSpan=new Z(m,f),d.children.unshift(a)}let p=new m6(d),h=c((m,f)=>{let{offset:v}=f,g=Ne(!1,e.slice(0,v),/[^\n\r]/g," "),b=cf(g+m,t,r,!1);b.sourceSpan=new Z(f,ma(!1,b.children,-1).sourceSpan.end);let C=b.children[0];return C.length===v?b.children.shift():(C.sourceSpan=new Z(C.sourceSpan.start.moveBy(v),C.sourceSpan.end),C.value=C.value.slice(v)),b},"m");return p.walk(m=>{if(m.type==="comment"){let f=Cw(m,h);f&&m.parent.replaceChild(m,f)}Dw(m),Sw(m)}),p}function Ja(e){return{parse:c((t,r)=>cf(t,e,r),"parse"),hasPragma:fw,astFormat:"html",locStart:ui,locEnd:ci}}var n2,hc,mc,tr,a2,o2,gc,i2,Ne,Us,qs,Ul,$o,Po,ql,ha,No,Ho,jo,Wl,Gl,Sr,Kl,Fo,df,Ws,kw,vc,l2,pf,yc,Br,Gs,Yn,s2,u2,Ee,xe,oe,_w,c2,ma,bo,Sd,Fw,ct,bc,d2,p2,f2,h2,mt,wc,m2,Iw,fi,g2,Tw,v2,Rw,Bw,zw,hi,Lw,Ow,Mw,$w,ga,y2,ff,Pw,Nw,hf,Hw,jw,Vw,Uw,qw,Ww,Gw,Kw,Yw,Ad,Jw,Zw,kd,Xw,Qw,ul,Ks,e6,t6,Ec,mf,Ys,gf,r6,b2,Vn,w2,E2,x2,C2,D2,S2,n6,a6,Mi,Yl,xc,vf,Cc,Z,$i,Dc,Sc,o6,A2,k2,_2,F2,Ac,kc,I2,T2,_c,R2,B2,Fc,Ic,en,z2,ht,cl,Tc,L2,O2,M2,$2,P2,N2,Rc,H2,Bc,i6,zc,W,j2,Za,Lc,Tn,Oc,V2,Mc,U2,$c,q2,Pc,W2,Nc,G2,Hc,rr,jc,K2,Vc,Y2,Uc,Wr,qc,Wc,Gc,l6,Io,J2,s6,Pi,Z2,Kc,Yc,Ni,Jc,u6,X2,Hi,Zc,ji,Xc,c6,Xa,Qc,Qa,Q2,e0,Vi,Ui,We,t0,e5,r0,t5,qi,r5,n0,n5,Wi,d6,p6,f6,h6,eo,a0,Gr,m6,g6,dl,v6,_d,a5,o5,i5,l5,s5,y6,Pk=B(()=>{n2=Object.defineProperty,hc=c((e,t)=>{for(var r in t)n2(e,r,{get:t[r],enumerable:!0})},"Yr"),mc=c((e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},"jr"),tr=c((e,t,r)=>(mc(e,t,"read from private field"),r?r.call(e):t.get(e)),"Q"),a2=c((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)},"Kr"),o2=c((e,t,r,n)=>(mc(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),"Qr"),gc={},hc(gc,{languages:c(()=>F2,"languages"),options:c(()=>T2,"options"),parsers:c(()=>_c,"parsers"),printers:c(()=>s5,"printers")}),i2=c((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)},"Zs"),Ne=i2,Us="string",qs="array",Ul="cursor",$o="indent",Po="align",ql="trim",ha="group",No="fill",Ho="if-break",jo="indent-if-break",Wl="line-suffix",Gl="line-suffix-boundary",Sr="line",Kl="label",Fo="break-parent",df=new Set([Ul,$o,Po,ql,ha,No,Ho,jo,Wl,Gl,Sr,Kl,Fo]),c(sg,"ei"),Ws=sg,kw=c(e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e),"ti"),c(ug,"ri"),l2=(vc=class extends Error{constructor(t){super(ug(t));yr(this,"name","InvalidDocError");this.doc=t}},c(vc,"rr"),vc),pf=l2,yc=c(()=>{},"Xr"),Br=yc,Gs=yc,c(Xt,"L"),c(jp,"Jr"),c(Ce,"E"),c(x7,"Zr"),c(C7,"en"),c(Vp,"Ct"),c(Oo,"me"),c(D7,"tn"),Yn={type:Fo},s2={type:Sr,hard:!0},u2={type:Sr,hard:!0,literal:!0},Ee={type:Sr},xe={type:Sr,soft:!0},oe=[s2,Yn],_w=[u2,Yn],c(vn,"M"),c2=c((e,t,r)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},"ii"),ma=c2,c(Ms,"St"),c(S7,"ai"),c(A7,"nn"),c(tt,"T"),bo="'",Sd='"',c(cg,"oi"),Fw=cg,c(dg,"nr"),d2=(bc=class{constructor(e){a2(this,ct,void 0),o2(this,ct,new Set(e))}getLeadingWhitespaceCount(e){let t=tr(this,ct),r=0;for(let n=0;n=0&&t.has(e.charAt(n));n--)r++;return r}getLeadingWhitespace(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(0,t)}getTrailingWhitespace(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(e.length-t)}hasLeadingWhitespace(e){return tr(this,ct).has(e.charAt(0))}hasTrailingWhitespace(e){return tr(this,ct).has(ma(!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=`[${dg([...tr(this,ct)].join(""))}]+`,n=new RegExp(t?`(${r})`:r);return e.split(n)}hasWhitespaceCharacter(e){let t=tr(this,ct);return Array.prototype.some.call(e,r=>t.has(r))}hasNonWhitespaceCharacter(e){let t=tr(this,ct);return Array.prototype.some.call(e,r=>!t.has(r))}isWhitespaceOnly(e){let t=tr(this,ct);return Array.prototype.every.call(e,r=>t.has(r))}},c(bc,"sr"),bc),ct=new WeakMap,p2=d2,f2=[" ",` -`,"\f","\r"," "],h2=new p2(f2),mt=h2,m2=(wc=class extends Error{constructor(t,r,n="type"){super(`Unexpected ${r} node ${n}: ${JSON.stringify(t[n])}.`);yr(this,"name","UnexpectedNodeError");this.node=t}},c(wc,"ir"),wc),Iw=m2,c(pg,"ci"),fi=pg,g2=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan","keySpan","tagDefinition","tokens","valueTokens","switchValueSourceSpan","expSourceSpan","valueSourceSpan"]),Tw=new Set(["if","else if","for","switch","case"]),c(tc,"ln"),tc.ignoredProperties=g2,v2=tc,c(fg,"fi"),Rw=fg,c(ii,"ge"),c(yn,"j"),c(yt,"x"),c(hg,"mi"),Bw=hg,zw=c(e=>String(e).split(/[/\\]/).pop(),"gi"),c(yd,"fn"),c(k7,"di"),c(mg,"Ci"),hi=mg,Lw="inline",Ow={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"},Mw="normal",$w={listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},c(gg,"Si"),ga=gg,y2=c(e=>Ne(!1,e,/^[\t\f\r ]*\n/g,""),"_i"),ff=c(e=>y2(mt.trimEnd(e)),"ar"),Pw=c(e=>{let t=e,r=mt.getLeadingWhitespace(t);r&&(t=t.slice(r.length));let n=mt.getTrailingWhitespace(t);return n&&(t=t.slice(0,-n.length)),{leadingWhitespace:r,trailingWhitespace:n,text:t}},"Sn"),c(Up,"Et"),c(li,"Se"),c(_7,"Ei"),c(Ye,"R"),c(Wt,"U"),c(F7,"_n"),c(I7,"En"),c(qp,"or"),c(T7,"An"),c(R7,"Dn"),c(B7,"vn"),c(mo,"Qe"),c(z7,"yn"),c(Wp,"ur"),c(sl,"At"),c(L7,"Ai"),c(Gp,"wn"),c(Kp,"bn"),c(Yp,"Tn"),c(Jp,"xn"),c($s,"Dt"),c(O7,"Di"),c(Zp,"kn"),c(M7,"vi"),c($7,"yi"),c(P7,"wi"),c(bd,"lr"),c(Fa,"Xe"),c(N7,"bi"),c(H7,"Ti"),c(j7,"xi"),c(V7,"ki"),c(U7,"Bi"),c(cn,"Ce"),c(q7,"Li"),c(W7,"Bn"),c(Xp,"Ln"),c(G7,"Fi"),c(Qp,"cr"),c(ef,"pr"),c(gr,"P"),Nw=new Set(["template","style","script"]),c(si,"Je"),c(bn,"_e"),c(Ps,"vt"),c(K7,"Fn"),c(Y7,"Pn"),c(tf,"yt"),c(rf,"wt"),hf=/{{(.+?)}}/s,c(J7,"Nn"),c(Oi,"fr"),Hw=Oi({parser:"__ng_action"}),jw=Oi({parser:"__ng_binding"}),Vw=Oi({parser:"__ng_directive"}),c(vg,"$i"),Uw=vg,c(yg,"Oi"),qw=yg,c(wd,"$n"),Ww=/^[ \t\n\r\u000c]+/,Gw=/^[, \t\n\r\u000c]+/,Kw=/^[^ \t\n\r\u000c]+/,Yw=/[,]+$/,Ad=/^\d+$/,Jw=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,c(bg,"Wi"),Zw=bg,c(wg,"zi"),kd={width:"w",height:"h",density:"x"},Xw=Object.keys(kd),c(Z7,"Yi"),Qw=wg,c(X7,"Vn"),ul=new WeakMap,c(Eg,"ji"),Ks=Eg,c(Q7,"Un"),c(ew,"Wn"),c(tw,"zn"),c(rw,"Gn"),c(nw,"Ki"),c(xg,"Qi"),c(aw,"Xi"),c(ow,"Ji"),c(nf,"Yn"),e6=xg,c(Cg,"Zi"),c(iw,"ea"),t6=Cg,Ec=new Proxy(()=>{},{get:c(()=>Ec,"get")}),mf=Ec,c(Dg,"ta"),Ys=Dg,c(ui,"se"),c(ci,"ie"),c(Pl,"Ze"),c(lw,"ra"),c(Wn,"Ee"),c(sw,"na"),c(Ir,"W"),c(Ns,"bt"),c(Ia,"Ae"),c(af,"Xn"),c(Tr,"K"),c(Ta,"De"),c(fa,"ve"),c(di,"et"),c(uw,"sa"),c(pi,"tt"),c(cw,"ia"),c(dw,"aa"),c(Nl,"rt"),c(Gn,"ye"),c(Rr,"z"),c(Hs,"Tt"),c(js,"xt"),c(Sg,"oa"),gf=Sg,r6=new Set(["if","else if","for","switch","case"]),c(Ag,"la"),b2=Ag,Vn=null,c(Kn,"st"),w2=10;for(let e=0;e<=w2;e++)Kn();c(pw,"dr"),c(kg,"pa"),E2=kg,x2={"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:[],angularIcuExpression:["cases"],angularIcuCase:["expression"]},C2=x2,D2=E2(C2),S2=D2,c(fw,"rs"),c(_g,"ns"),n6=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"])]]),c(of,"is"),c(jn,"it"),c(go,"Bt"),c(Vs,"qe"),c(hw,"as"),c(lf,"os"),c(mw,"ma"),c(gw,"us"),c(vw,"ls"),c(yw,"cs"),c(bw,"ps"),c(Hl,"Lt"),c(sf,"Cr"),c(jl,"Ft"),c(ww,"hs"),c(rc,"Sr"),c(nc,"_r"),c(ac,"Er"),a6=/-+([a-z0-9])/g,c(Fg,"ms"),Yl=(Mi=class{constructor(e,t,r,n){this.file=e,this.offset=t,this.line=r,this.col=n}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(e){let t=this.file.content,r=t.length,n=this.offset,a=this.line,o=this.col;for(;n>0&&e<0;)if(n--,e++,t.charCodeAt(n)==10){a--;let i=t.substring(0,n-1).lastIndexOf(` -`);o=i>0?n-i:n}else o--;for(;n0;){let i=t.charCodeAt(n);n++,e--,i==10?(a++,o=0):o++}return new Mi(this.file,n,a,o)}getContext(e,t){let r=this.file.content,n=this.offset;if(n!=null){n>r.length-1&&(n=r.length-1);let a=n,o=0,i=0;for(;o0&&(n--,o++,!(r[n]==` -`&&++i==t)););for(o=0,i=0;o]${e.after}")`:this.msg}toString(){let e=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}},c(Dc,"Ve"),Dc),o6=[Tg,Rg,Bg,Lg,Og,Pg,Mg,$g,Ng,zg],c(Ig,"Ca"),c(Tg,"Sa"),c(Rg,"_a"),c(Ew,"Ea"),c(Bg,"Aa"),c(zg,"Da"),c(Lg,"va"),c(Og,"ya"),c(Mg,"wa"),c($g,"ba"),c(Pg,"Ta"),c(Ng,"xa"),A2=Ig,c(Hg,"ka"),k2={preprocess:A2,print:Hg,insertPragma:_g,massageAstNode:v2,embed:b2,getVisitorKeys:S2},_2=k2,F2=[{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"]}],Ac={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."}},kc="HTML",I2={bracketSameLine:Ac.bracketSameLine,htmlWhitespaceSensitivity:{category:kc,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:Ac.singleAttributePerLine,vueIndentScriptAndStyle:{category:kc,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},T2=I2,_c={},hc(_c,{angular:c(()=>o5,"angular"),html:c(()=>a5,"html"),lwc:c(()=>l5,"lwc"),vue:c(()=>i5,"vue")}),function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(R2||(R2={})),function(e){e[e.OnPush=0]="OnPush",e[e.Default=1]="Default"}(B2||(B2={})),Fc={name:"custom-elements"},Ic={name:"no-errors-schema"},function(e){e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL"}(en||(en={})),function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore"}(z2||(z2={})),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"}(ht||(ht={})),c(Mo,"at"),c(oc,"yr"),c(ic,"wr"),c(vo,"Ue"),c(Ya,"We"),c(lc,"br"),c(yo,"Nt"),L2=(Tc=class{},c(Tc,"Rt"),Tc),O2="boolean",M2="number",$2="string",P2="object",N2=["[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:|"],Rc=new Map(Object.entries({class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"})),H2=Array.from(Rc).reduce((e,[t,r])=>(e.set(t,r),e),new Map),i6=(Bc=class extends L2{constructor(){super(),this._schema=new Map,this._eventSchema=new Map,N2.forEach(e=>{let t=new Map,r=new Set,[n,a]=e.split("|"),o=a.split(","),[i,s]=n.split("^");i.split(",").forEach(d=>{this._schema.set(d.toLowerCase(),t),this._eventSchema.set(d.toLowerCase(),r)});let u=s&&this._schema.get(s.toLowerCase());if(u){for(let[d,p]of u)t.set(d,p);for(let d of this._eventSchema.get(s.toLowerCase()))r.add(d)}o.forEach(d=>{if(d.length>0)switch(d[0]){case"*":r.add(d.substring(1));break;case"!":t.set(d.substring(1),O2);break;case"#":t.set(d.substring(1),M2);break;case"%":t.set(d.substring(1),P2);break;default:t.set(d,$2)}})})}hasProperty(e,t,r){if(r.some(n=>n.name===Ic.name))return!0;if(e.indexOf("-")>-1){if(oc(e)||ic(e))return!1;if(r.some(n=>n.name===Fc.name))return!0}return(this._schema.get(e.toLowerCase())||this._schema.get("unknown")).has(t)}hasElement(e,t){return t.some(r=>r.name===Ic.name)||e.indexOf("-")>-1&&(oc(e)||ic(e)||t.some(r=>r.name===Fc.name))?!0:this._schema.has(e.toLowerCase())}securityContext(e,t,r){r&&(t=this.getMappedPropName(t)),e=e.toLowerCase(),t=t.toLowerCase();let n=lc()[e+"|"+t];return n||(n=lc()["*|"+t],n||en.NONE)}getMappedPropName(e){return Rc.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=>H2.get(r)??r)}allKnownEventsOfElement(e){return Array.from(this._eventSchema.get(e.toLowerCase())??[])}normalizeAnimationStyleProperty(e){return Fg(e)}normalizeAnimationStyleValue(e,t,r){let n="",a=r.toString().trim(),o=null;if(jg(e)&&r!==0&&r!=="0")if(typeof r=="number")n="px";else{let i=r.match(/^[+-]?[\d\.]+([a-z]*)$/);i&&i[1].length==0&&(o=`Please provide a CSS unit value for ${t}:${r}`)}return{error:o,value:a+n}}},c(Bc,"$t"),Bc),c(jg,"Oa"),W=(zc=class{constructor({closedByChildren:e,implicitNamespacePrefix:t,contentType:r=ht.PARSABLE_DATA,closedByParent:n=!1,isVoid:a=!1,ignoreFirstLf:o=!1,preventNamespaceInheritance:i=!1,canSelfClose:s=!1}={}){this.closedByChildren={},this.closedByParent=!1,e&&e.length>0&&e.forEach(u=>this.closedByChildren[u]=!0),this.isVoid=a,this.closedByParent=n||a,this.implicitNamespacePrefix=t||null,this.contentType=r,this.ignoreFirstLf=o,this.preventNamespaceInheritance=i,this.canSelfClose=s??a}isClosedByChild(e){return this.isVoid||e.toLowerCase()in this.closedByChildren}getContentType(e){return typeof this.contentType=="object"?(e===void 0?void 0:this.contentType[e])??this.contentType.default:this.contentType}},c(zc,"h"),zc),c(Vl,"ze"),Tn=(Lc=class{constructor(e,t){this.sourceSpan=e,this.i18n=t}},c(Lc,"be"),Lc),V2=(Oc=class extends Tn{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)}},c(Oc,"Ot"),Oc),U2=(Mc=class extends Tn{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)}},c(Mc,"Mt"),Mc),q2=($c=class extends Tn{constructor(e,t,r,n,a,o){super(n,o),this.switchValue=e,this.type=t,this.cases=r,this.switchValueSourceSpan=a}visit(e,t){return e.visitExpansion(this,t)}},c($c,"qt"),$c),W2=(Pc=class{constructor(e,t,r,n,a){this.value=e,this.expression=t,this.sourceSpan=r,this.valueSourceSpan=n,this.expSourceSpan=a,this.type="expansionCase"}visit(e,t){return e.visitExpansionCase(this,t)}},c(Pc,"Ht"),Pc),G2=(Nc=class extends Tn{constructor(e,t,r,n,a,o,i){super(r,i),this.name=e,this.value=t,this.keySpan=n,this.valueSpan=a,this.valueTokens=o,this.type="attribute"}visit(e,t){return e.visitAttribute(this,t)}get nameSpan(){return this.keySpan}},c(Nc,"Vt"),Nc),rr=(Hc=class extends Tn{constructor(e,t,r,n,a,o=null,i=null,s){super(n,s),this.name=e,this.attrs=t,this.children=r,this.startSourceSpan=a,this.endSourceSpan=o,this.nameSpan=i,this.type="element"}visit(e,t){return e.visitElement(this,t)}},c(Hc,"G"),Hc),K2=(jc=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="comment"}visit(e,t){return e.visitComment(this,t)}},c(jc,"Ut"),jc),Y2=(Vc=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="docType"}visit(e,t){return e.visitDocType(this,t)}},c(Vc,"Wt"),Vc),Wr=(Uc=class{constructor(e,t,r,n,a,o=null){this.name=e,this.parameters=t,this.children=r,this.sourceSpan=n,this.startSourceSpan=a,this.endSourceSpan=o,this.type="block"}visit(e,t){return e.visitBlock(this,t)}},c(Uc,"Z"),Uc),Wc=(qc=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)}},c(qc,"ut"),qc),c(Ed,"zt"),l6=(Gc=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 a(o){o&&r.push(Ed(n,o,e))}return c(a,"i"),t(a),Array.prototype.concat.apply([],r)}},c(Gc,"lt"),Gc),Io={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:"‌"},J2="",Io.ngsp=J2,s6=[/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//],c(Vg,"ws"),Z2=(Pi=class{static fromArray(e){return e?(Vg("interpolation",e),new Pi(e[0],e[1])):Kc}constructor(e,t){this.start=e,this.end=t}},c(Pi,"t"),Pi),Kc=new Z2("{{","}}"),Ni=(Yc=class extends Sc{constructor(e,t,r){super(r,e),this.tokenType=t}},c(Yc,"pt"),Yc),u6=(Jc=class{constructor(e,t,r){this.tokens=e,this.errors=t,this.nonNormalizedIcuExpressions=r}},c(Jc,"Pr"),Jc),c(Ug,"Ms"),X2=/\r\n?/g,c(qr,"Ye"),c(sc,"Ls"),c(qg,"oo"),function(e){e.HEX="hexadecimal",e.DEC="decimal"}(Hi||(Hi={})),ji=(Zc=class{constructor(e){this.error=e}},c(Zc,"ht"),Zc),c6=(Xc=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||Kc,this._leadingTriviaCodePoints=r.leadingTriviaChars&&r.leadingTriviaChars.map(a=>a.codePointAt(0)||0),this._canSelfClose=r.canSelfClose||!1,this._allowHtmComponentClosingTags=r.allowHtmComponentClosingTags||!1;let n=r.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=r.escapedString?new Q2(e,n):new Qc(e,n),this._preserveLineEndings=r.preserveLineEndings||!1,this._i18nNormalizeLineEndingsInICUs=r.i18nNormalizeLineEndingsInICUs||!1,this._tokenizeBlocks=r.tokenizeBlocks??!0;try{this._cursor.init()}catch(a){this.handleError(a)}}_processCarriageReturns(e){return this._preserveLineEndings?e:e.replace(X2,` -`)}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=>Hl(r)?!e:cc(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(ye),this._attemptCharCode(41))this._attemptCharCodeUntilFn(ye);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(dc);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&&ac(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(dc)}}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(Yg(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===125){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(e,t=this._cursor.clone()){this._currentTokenStart=t,this._currentTokenType=e}_endToken(e,t){if(this._currentTokenStart===null)throw new Ni("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(t));if(this._currentTokenType===null)throw new Ni("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));let r={type:this._currentTokenType,parts:e,sourceSpan:(t??this._cursor).getSpan(this._currentTokenStart,this._leadingTriviaCodePoints)};return this.tokens.push(r),this._currentTokenStart=null,this._currentTokenType=null,r}_createError(e,t){this._isInExpansionForm()&&(e+=` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);let r=new Ni(e,this._currentTokenType,t);return this._currentTokenStart=null,this._currentTokenType=null,new ji(r)}handleError(e){if(e instanceof Vi&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),e instanceof ji)this.errors.push(e.error);else throw e}_attemptCharCode(e){return this._cursor.peek()===e?(this._cursor.advance(),!0):!1}_attemptCharCodeCaseInsensitive(e){return Jg(this._cursor.peek(),e)?(this._cursor.advance(),!0):!1}_requireCharCode(e){let t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(qr(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&&!Wg(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(uc,t===""?0:1);let n=this._cursor.getChars(r);return[t,n]}_consumeTagOpen(e){let t,r,n,a=[];try{if(!jl(this._cursor.peek()))throw this._createError(qr(this._cursor.peek()),this._cursor.getSpan(e));for(n=this._consumeTagOpenStart(e),r=n.parts[0],t=n.parts[1],this._attemptCharCodeUntilFn(ye);this._cursor.peek()!==47&&this._cursor.peek()!==62&&this._cursor.peek()!==60&&this._cursor.peek()!==0;){let[i,s]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(ye),this._attemptCharCode(61)){this._attemptCharCodeUntilFn(ye);let u=this._consumeAttributeValue();a.push({prefix:i,name:s,value:u})}else a.push({prefix:i,name:s});this._attemptCharCodeUntilFn(ye)}this._consumeTagOpenEnd()}catch(i){if(i instanceof ji){n?n.type=4:(this._beginToken(5,e),this._endToken(["<"]));return}throw i}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===2)return;let o=this._getTagContentType(t,r,this._fullNameStack.length>0,a);this._handleFullNameStackForTagOpen(r,t),o===ht.RAW_TEXT?this._consumeRawTextWithTagClose(r,t,!1):o===ht.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(r,t,!0)}_consumeRawTextWithTagClose(e,t,r){this._consumeRawText(r,()=>!this._attemptCharCode(60)||!this._attemptCharCode(47)||(this._attemptCharCodeUntilFn(ye),!this._attemptStrCaseInsensitive(e?`${e}:${t}`:t))?!1:(this._attemptCharCodeUntilFn(ye),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(qr(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=c(()=>this._cursor.peek()===t,"n");e=this._consumeWithInterpolation(16,17,r,r),this._consumeQuote(t)}else{let t=c(()=>uc(this._cursor.peek()),"r");e=this._consumeWithInterpolation(16,17,t,t)}return e}_consumeQuote(e){this._beginToken(15),this._requireCharCode(e),this._endToken([String.fromCodePoint(e)])}_consumeTagOpenEnd(){let e=this._attemptCharCode(47)?2:1;this._beginToken(e),this._requireCharCode(62),this._endToken([])}_consumeTagClose(e){if(this._beginToken(3,e),this._attemptCharCodeUntilFn(ye),this._allowHtmComponentClosingTags&&this._attemptCharCode(47))this._attemptCharCodeUntilFn(ye),this._requireCharCode(62),this._endToken([]);else{let[t,r]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(ye),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(ye),this._beginToken(7);let r=this._readUntil(44);this._endToken([r]),this._requireCharCode(44),this._attemptCharCodeUntilFn(ye)}_consumeExpansionCaseStart(){this._beginToken(21);let e=this._readUntil(123).trim();this._endToken([e]),this._attemptCharCodeUntilFn(ye),this._beginToken(22),this._requireCharCode(123),this._endToken([]),this._attemptCharCodeUntilFn(ye),this._expansionCaseStack.push(22)}_consumeExpansionCaseEnd(){this._beginToken(23),this._requireCharCode(125),this._endToken([]),this._attemptCharCodeUntilFn(ye),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(24),this._requireCharCode(125),this._endToken([]),this._expansionCaseStack.pop()}_consumeWithInterpolation(e,t,r,n){this._beginToken(e);let a=[];for(;!r();){let i=this._cursor.clone();this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(this._endToken([this._processCarriageReturns(a.join(""))],i),a.length=0,this._consumeInterpolation(t,i,n),this._beginToken(e)):this._cursor.peek()===38?(this._endToken([this._processCarriageReturns(a.join(""))]),a.length=0,this._consumeEntity(e),this._beginToken(e)):a.push(this._readChar())}this._inInterpolation=!1;let o=this._processCarriageReturns(a.join(""));return this._endToken([o]),o}_consumeInterpolation(e,t,r){let n=[];this._beginToken(e,t),n.push(this._interpolationConfig.start);let a=this._cursor.clone(),o=null,i=!1;for(;this._cursor.peek()!==0&&(r===null||!r());){let s=this._cursor.clone();if(this._isTagStart()){this._cursor=s,n.push(this._getProcessedChars(a,s)),this._endToken(n);return}if(o===null)if(this._attemptStr(this._interpolationConfig.end)){n.push(this._getProcessedChars(a,s)),n.push(this._interpolationConfig.end),this._endToken(n);return}else this._attemptStr("//")&&(i=!0);let u=this._cursor.peek();this._cursor.advance(),u===92?this._cursor.advance():u===o?o=null:!i&&o===null&&ac(u)&&(o=u)}n.push(this._getProcessedChars(a,this._cursor)),this._endToken(n)}_getProcessedChars(e,t){return this._processCarriageReturns(t.getChars(e))}_isTextEnd(){return!!(this._isTagStart()||this._cursor.peek()===0||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===125&&this._isInExpansionCase())||this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansion()&&(this._isBlockStart()||this._cursor.peek()===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(),cc(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=Ya(e,t);(this._fullNameStack.length===0||this._fullNameStack[this._fullNameStack.length-1]===r)&&this._fullNameStack.push(r)}_handleFullNameStackForTagClose(e,t){let r=Ya(e,t);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]===r&&this._fullNameStack.pop()}},c(Xc,"Nr"),Xc),c(ye,"k"),c(uc,"Fs"),c(Wg,"uo"),c(Gg,"lo"),c(Kg,"co"),c(Yg,"po"),c(Jg,"ho"),c(xd,"Ps"),c(cc,"Ns"),c(dc,"Is"),c(xw,"fo"),Qc=(Xa=class{constructor(e,t){if(e instanceof Xa){this.file=e.file,this.input=e.input,this.end=e.end;let r=e.state;this.state={peek:r.peek,offset:r.offset,line:r.line,column:r.column}}else{if(!t)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=e,this.input=e.content,this.end=t.endPos,this.state={peek:-1,offset:t.startPos,line:t.startLine,column:t.startCol}}}clone(){return new Xa(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(e){return this.state.offset-e.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(e,t){e=e||this;let r=e;if(t)for(;this.diff(e)>0&&t.indexOf(e.peek())!==-1;)r===e&&(e=e.clone()),e.advance();let n=this.locationFromCursor(e),a=this.locationFromCursor(this),o=r!==e?this.locationFromCursor(r):n;return new Z(n,a,o)}getChars(e){return this.input.substring(e.state.offset,this.state.offset)}charAt(e){return this.input.charCodeAt(e)}advanceState(e){if(e.offset>=this.end)throw this.state=e,new Vi('Unexpected character "EOF"',this);let t=this.charAt(e.offset);t===10?(e.line++,e.column=0):rc(t)||e.column++,e.offset++,this.updatePeek(e)}updatePeek(e){e.peek=e.offset>=this.end?0:this.charAt(e.offset)}locationFromCursor(e){return new Yl(e.file,e.state.offset,e.state.line,e.state.column)}},c(Xa,"t"),Xa),Q2=(Qa=class extends Qc{constructor(e,t){e instanceof Qa?(super(e),this.internalState={...e.internalState}):(super(e,t),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new Qa(this)}getChars(e){let t=e.clone(),r="";for(;t.internalState.offsetthis.internalState.peek,"e");if(e()===92)if(this.internalState={...this.state},this.advanceState(this.internalState),e()===110)this.state.peek=10;else if(e()===114)this.state.peek=13;else if(e()===118)this.state.peek=11;else if(e()===116)this.state.peek=9;else if(e()===98)this.state.peek=8;else if(e()===102)this.state.peek=12;else if(e()===117)if(this.advanceState(this.internalState),e()===123){this.advanceState(this.internalState);let t=this.clone(),r=0;for(;e()!==125;)this.advanceState(this.internalState),r++;this.state.peek=this.decodeHexDigits(t,r)}else{let t=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(t,4)}else if(e()===120){this.advanceState(this.internalState);let t=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(t,2)}else if(nc(e())){let t="",r=0,n=this.clone();for(;nc(e())&&r<3;)n=this.clone(),t+=String.fromCodePoint(e()),this.advanceState(this.internalState),r++;this.state.peek=parseInt(t,8),this.internalState=n.internalState}else rc(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(e,t){let r=this.input.slice(e.internalState.offset,e.internalState.offset+t),n=parseInt(r,16);if(isNaN(n))throw e.state=e.internalState,new Vi("Invalid hexadecimal escape sequence",e);return n}},c(Qa,"t"),Qa),Vi=(e0=class{constructor(e,t){this.msg=e,this.cursor=t}},c(e0,"ft"),e0),We=(Ui=class extends Sc{static create(e,t,r){return new Ui(e,t,r)}constructor(e,t,r){super(t,r),this.elementName=e}},c(Ui,"t"),Ui),e5=(t0=class{constructor(e,t){this.rootNodes=e,this.errors=t}},c(t0,"Or"),t0),t5=(r0=class{constructor(e){this.getTagDefinition=e}parse(e,t,r,n=!1,a){let o=c(f=>(v,...g)=>f(v.toLowerCase(),...g),"a"),i=n?this.getTagDefinition:o(this.getTagDefinition),s=c(f=>i(f).getContentType(),"u"),u=n?a:o(a),d=Ug(e,t,a?(f,v,g,b)=>{let C=u(f,v,g,b);return C!==void 0?C:s(f)}:s,r),p=r&&r.canSelfClose||!1,h=r&&r.allowHtmComponentClosingTags||!1,m=new r5(d.tokens,i,p,h,n);return m.build(),new e5(m.rootNodes,d.errors.concat(m.errors))}},c(r0,"Qt"),r0),r5=(qi=class{constructor(e,t,r,n,a){this.tokens=e,this.getTagDefinition=t,this.canSelfClose=r,this.allowHtmComponentClosingTags=n,this.isTagNameCaseSensitive=a,this._index=-1,this._containerStack=[],this.rootNodes=[],this.errors=[],this._advance()}build(){for(;this._peek.type!==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 e of this._containerStack)e instanceof Wr&&this.errors.push(We.create(e.name,e.sourceSpan,`Unclosed block "${e.name}"`))}_advance(){let e=this._peek;return this._index0)return this.errors=this.errors.concat(a.errors),null;let o=new Z(e.sourceSpan.start,n.sourceSpan.end,e.sourceSpan.fullStart),i=new Z(t.sourceSpan.start,n.sourceSpan.end,t.sourceSpan.fullStart);return new W2(e.parts[0],a.rootNodes,o,e.sourceSpan,i)}_collectExpansionExpTokens(e){let t=[],r=[22];for(;;){if((this._peek.type===20||this._peek.type===22)&&r.push(this._peek.type),this._peek.type===23)if(pc(r,22)){if(r.pop(),r.length===0)return t}else return this.errors.push(We.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===24)if(pc(r,20))r.pop();else return this.errors.push(We.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===30)return this.errors.push(We.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;t.push(this._advance())}}_getText(e){let t=e.parts[0];if(t.length>0&&t[0]==` -`){let r=this._getClosestParentElement();r!=null&&r.children.length==0&&this.getTagDefinition(r.name).ignoreFirstLf&&(t=t.substring(1))}return t}_consumeText(e){let t=[e],r=e.sourceSpan,n=e.parts[0];if(n.length>0&&n[0]===` -`){let a=this._getContainer();a!=null&&a.children.length===0&&this.getTagDefinition(a.name).ignoreFirstLf&&(n=n.substring(1),t[0]={type:e.type,sourceSpan:e.sourceSpan,parts:[n]})}for(;this._peek.type===8||this._peek.type===5||this._peek.type===9;)e=this._advance(),t.push(e),e.type===8?n+=e.parts.join("").replace(/&([^;]+);/g,fc):e.type===9?n+=e.parts[0]:n+=e.parts.join("");if(n.length>0){let a=e.sourceSpan;this._addToParent(new V2(n,new Z(r.start,a.end,r.fullStart,r.details),t))}}_closeVoidElement(){let e=this._getContainer();e instanceof rr&&this.getTagDefinition(e.name).isVoid&&this._containerStack.pop()}_consumeStartTag(e){let[t,r]=e.parts,n=[];for(;this._peek.type===14;)n.push(this._consumeAttr(this._advance()));let a=this._getElementFullName(t,r,this._getClosestParentElement()),o=!1;if(this._peek.type===2){this._advance(),o=!0;let m=this.getTagDefinition(a);this.canSelfClose||m.canSelfClose||vo(a)!==null||m.isVoid||this.errors.push(We.create(a,e.sourceSpan,`Only void, custom and foreign elements can be self closed "${e.parts[1]}"`))}else this._peek.type===1&&(this._advance(),o=!1);let i=this._peek.sourceSpan.fullStart,s=new Z(e.sourceSpan.start,i,e.sourceSpan.fullStart),u=new Z(e.sourceSpan.start,i,e.sourceSpan.fullStart),d=new Z(e.sourceSpan.start.moveBy(1),e.sourceSpan.end),p=new rr(a,n,[],s,u,void 0,d),h=this._getContainer();this._pushContainer(p,h instanceof rr&&this.getTagDefinition(h.name).isClosedByChild(p.name)),o?this._popContainer(a,rr,s):e.type===4&&(this._popContainer(a,rr,null),this.errors.push(We.create(a,s,`Opening tag "${a}" not terminated.`)))}_pushContainer(e,t){t&&this._containerStack.pop(),this._addToParent(e),this._containerStack.push(e)}_consumeEndTag(e){let t=this.allowHtmComponentClosingTags&&e.parts.length===0?null:this._getElementFullName(e.parts[0],e.parts[1],this._getClosestParentElement());if(t&&this.getTagDefinition(t).isVoid)this.errors.push(We.create(t,e.sourceSpan,`Void elements do not have end tags "${e.parts[1]}"`));else if(!this._popContainer(t,rr,e.sourceSpan)){let r=`Unexpected closing tag "${t}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;this.errors.push(We.create(t,e.sourceSpan,r))}}_popContainer(e,t,r){let n=!1;for(let a=this._containerStack.length-1;a>=0;a--){let o=this._containerStack[a];if(vo(o.name)?o.name===e:(e==null||o.name.toLowerCase()===e.toLowerCase())&&o instanceof t)return o.endSourceSpan=r,o.sourceSpan.end=r!==null?r.end:o.sourceSpan.end,this._containerStack.splice(a,this._containerStack.length-a),!n;(o instanceof Wr||o instanceof rr&&!this.getTagDefinition(o.name).closedByParent)&&(n=!0)}return!1}_consumeAttr(e){let t=Ya(e.parts[0],e.parts[1]),r=e.sourceSpan.end,n;this._peek.type===15&&(n=this._advance());let a="",o=[],i,s;if(this._peek.type===16)for(i=this._peek.sourceSpan,s=this._peek.sourceSpan.end;this._peek.type===16||this._peek.type===17||this._peek.type===9;){let d=this._advance();o.push(d),d.type===17?a+=d.parts.join("").replace(/&([^;]+);/g,fc):d.type===9?a+=d.parts[0]:a+=d.parts.join(""),s=r=d.sourceSpan.end}this._peek.type===15&&(s=r=this._advance().sourceSpan.end);let u=i&&s&&new Z((n==null?void 0:n.sourceSpan.start)??i.start,s,(n==null?void 0:n.sourceSpan.fullStart)??i.fullStart);return new G2(t,a,new Z(e.sourceSpan.start,r,e.sourceSpan.fullStart),e.sourceSpan,u,o.length>0?o:void 0,void 0)}_consumeBlockOpen(e){let t=[];for(;this._peek.type===28;){let i=this._advance();t.push(new Wc(i.parts[0],i.sourceSpan))}this._peek.type===26&&this._advance();let r=this._peek.sourceSpan.fullStart,n=new Z(e.sourceSpan.start,r,e.sourceSpan.fullStart),a=new Z(e.sourceSpan.start,r,e.sourceSpan.fullStart),o=new Wr(e.parts[0],t,[],n,a);this._pushContainer(o,!1)}_consumeBlockClose(e){this._popContainer(null,Wr,e.sourceSpan)||this.errors.push(We.create(null,e.sourceSpan,'Unexpected closing block. The block may have been closed earlier. If you meant to write the } character, you should use the "}" HTML entity instead.'))}_consumeIncompleteBlock(e){let t=[];for(;this._peek.type===28;){let i=this._advance();t.push(new Wc(i.parts[0],i.sourceSpan))}let r=this._peek.sourceSpan.fullStart,n=new Z(e.sourceSpan.start,r,e.sourceSpan.fullStart),a=new Z(e.sourceSpan.start,r,e.sourceSpan.fullStart),o=new Wr(e.parts[0],t,[],n,a);this._pushContainer(o,!1),this._popContainer(null,Wr,null),this.errors.push(We.create(e.parts[0],n,`Incomplete block "${e.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 e=this._containerStack.length-1;e>-1;e--)if(this._containerStack[e]instanceof rr)return this._containerStack[e];return null}_addToParent(e){let t=this._getContainer();t===null?this.rootNodes.push(e):t.children.push(e)}_getElementFullName(e,t,r){if(e===""&&(e=this.getTagDefinition(t).implicitNamespacePrefix||"",e===""&&r!=null)){let n=Mo(r.name)[1];this.getTagDefinition(n).preventNamespaceInheritance||(e=vo(r.name))}return Ya(e,t)}},c(qi,"t"),qi),c(pc,"qs"),c(fc,"Hs"),n5=(n0=class extends t5{constructor(){super(Vl)}parse(e,t,r,n=!1,a){return super.parse(e,t,r,n,a)}},c(n0,"Xt"),n0),Wi=null,d6=c(()=>(Wi||(Wi=new n5),Wi),"mo"),c(Cd,"Hr"),c(Zg,"go"),p6=Zg,f6=new RegExp("^(?-{3}|\\+{3})(?[^\\n]*)\\n(?:|(?.*?)\\n)(?\\k|\\.{3})[^\\S\\n]*(?:\\n|$)","s"),c(Xg,"So"),h6=Xg,eo={attrs:!0,children:!0,cases:!0,expression:!0},a0=new Set(["parent"]),m6=(Gr=class{constructor(e={}){for(let t of new Set([...a0,...Object.keys(e)]))this.setProperty(t,e[t])}setProperty(e,t){if(this[e]!==t){if(e in eo&&(t=t.map(r=>this.createChild(r))),!a0.has(e)){this[e]=t;return}Object.defineProperty(this,e,{value:t,enumerable:!1,configurable:!0})}}map(e){let t;for(let r in eo){let n=this[r];if(n){let a=Qg(n,o=>o.map(e));t!==n&&(t||(t=new Gr({parent:this.parent})),t.setProperty(r,a))}}if(t)for(let r in this)r in eo||(t[r]=this[r]);return e(t||this)}walk(e){for(let t in eo){let r=this[t];if(r)for(let n=0;n[e.fullName,e.value]))}},c(Gr,"t"),Gr),c(Qg,"_o"),g6=[{regex:/^(\[if([^\]]*)]>)(.*?)a==="lang"&&o!=="html"&&o!==""&&o!==void 0))}}),l5=Ja({name:"lwc",canSelfClose:!1}),s5={html:_2},y6=gc});function b6(e){let t=e.indexOf("\r");return t>=0?e.charAt(t+1)===` -`?"crlf":"cr":"lf"}function Js(e){switch(e){case"cr":return"\r";case"crlf":return`\r -`;default:return` -`}}function yf(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 w6(e){return gi(!1,e,/\r\n?/g,` -`)}function u5(e){if(typeof e=="string")return Or;if(Array.isArray(e))return dr;if(!e)return;let{type:t}=e;if(If.has(t))return t}function c5(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(Mr(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=s8([...If].map(a=>`'${a}'`));return`Unexpected doc.type '${e.type}'. -Expected it to be ${n}.`}function d5(e,t,r,n){let a=[e];for(;a.length>0;){let o=a.pop();if(o===Jd){r(a.pop());continue}r&&a.push(o,Jd);let i=Mr(o);if(!i)throw new pn(o);if((t==null?void 0:t(o))!==!1)switch(i){case dr:case Je:{let s=i===dr?o:o.parts;for(let u=s.length,d=u-1;d>=0;--d)a.push(s[d]);break}case He:a.push(o.flatContents,o.breakContents);break;case Me:if(n&&o.expandedStates)for(let s=o.expandedStates.length,u=s-1;u>=0;--u)a.push(o.expandedStates[u]);else a.push(o.contents);break;case Kt:case Gt:case Yt:case bt:case Jt:a.push(o.contents);break;case Or:case kr:case Vt:case Ut:case we:case Ze:break;default:throw new pn(o)}}}function Vo(e){return wt(e),{type:Gt,contents:e}}function dn(e,t){return wt(t),{type:Kt,contents:t,n:e}}function Fd(e,t={}){return wt(e),Qs(t.expandedStates,!0),{type:Me,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function p5(e){return dn(Number.NEGATIVE_INFINITY,e)}function f5(e){return dn({type:"root"},e)}function h5(e){return dn(-1,e)}function m5(e,t){return Fd(e[0],{...t,expandedStates:e})}function Id(e){return Qs(e),{type:Je,parts:e}}function g5(e,t="",r={}){return wt(e),t!==""&&wt(t),{type:He,breakContents:e,flatContents:t,groupId:r.groupId}}function v5(e,t){return wt(e),{type:Yt,contents:e,groupId:t.groupId,negate:t.negate}}function Jl(e){return wt(e),{type:Jt,contents:e}}function Td(e,t){wt(e),Qs(t);let r=[];for(let n=0;n0){for(let a=0;a0?`, { ${p.join(", ")} }`:"";return`indentIfBreak(${n(o.contents)}${h})`}if(o.type===Me){let p=[];o.break&&o.break!=="propagated"&&p.push("shouldBreak: true"),o.id&&p.push(`id: ${a(o.id)}`);let h=p.length>0?`, { ${p.join(", ")} }`:"";return o.expandedStates?`conditionalGroup([${o.expandedStates.map(m=>n(m)).join(",")}]${h})`:`group(${n(o.contents)}${h})`}if(o.type===Je)return`fill([${o.parts.map(p=>n(p)).join(", ")}])`;if(o.type===Jt)return"lineSuffix("+n(o.contents)+")";if(o.type===Ut)return"lineSuffixBoundary";if(o.type===bt)return`label(${JSON.stringify(o.label)}, ${n(o.contents)})`;throw new Error("Unknown doc type "+o.type)}function a(o){if(typeof o!="symbol")return JSON.stringify(String(o));if(o in t)return t[o];let i=o.description||"symbol";for(let s=0;;s++){let u=i+(s>0?` #${s}`:"");if(!r.has(u))return r.add(u),t[o]=`Symbol.for(${JSON.stringify(u)})`}}}function b5(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}function w5(e){return e>=4352&&e<=4447||e===8986||e===8987||e===9001||e===9002||e>=9193&&e<=9196||e===9200||e===9203||e===9725||e===9726||e===9748||e===9749||e>=9800&&e<=9811||e===9855||e===9875||e===9889||e===9898||e===9899||e===9917||e===9918||e===9924||e===9925||e===9934||e===9940||e===9962||e===9970||e===9971||e===9973||e===9978||e===9981||e===9989||e===9994||e===9995||e===10024||e===10060||e===10062||e>=10067&&e<=10069||e===10071||e>=10133&&e<=10135||e===10160||e===10175||e===11035||e===11036||e===11088||e===11093||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12771||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=19903||e>=19968&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||e===94192||e===94193||e>=94208&&e<=100343||e>=100352&&e<=101589||e>=101632&&e<=101640||e>=110576&&e<=110579||e>=110581&&e<=110587||e===110589||e===110590||e>=110592&&e<=110882||e===110898||e>=110928&&e<=110930||e===110933||e>=110948&&e<=110951||e>=110960&&e<=111355||e===126980||e===127183||e===127374||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||e===127568||e===127569||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||e===127988||e>=127992&&e<=128062||e===128064||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||e===128378||e===128405||e===128406||e===128420||e>=128507&&e<=128591||e>=128640&&e<=128709||e===128716||e>=128720&&e<=128722||e>=128725&&e<=128727||e>=128732&&e<=128735||e===128747||e===128748||e>=128756&&e<=128764||e>=128992&&e<=129003||e===129008||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129672||e>=129680&&e<=129725||e>=129727&&e<=129733||e>=129742&&e<=129755||e>=129760&&e<=129768||e>=129776&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}function E5(e){if(!e)return 0;if(!d8.test(e))return e.length;e=e.replace(u8()," ");let t=0;for(let r of e){let n=r.codePointAt(0);n<=31||n>=127&&n<=159||n>=768&&n<=879||(t+=c8(n)?1:2)}return t}function Uo(e,t){if(typeof e=="string")return t(e);let r=new Map;return n(e);function n(o){if(r.has(o))return r.get(o);let i=a(o);return r.set(o,i),i}function a(o){switch(Mr(o)){case dr:return t(o.map(n));case Je:return t({...o,parts:o.parts.map(n)});case He:return t({...o,breakContents:n(o.breakContents),flatContents:n(o.flatContents)});case Me:{let{expandedStates:i,contents:s}=o;return i?(i=i.map(n),s=i[0]):s=n(s),t({...o,contents:s,expandedStates:i})}case Kt:case Gt:case Yt:case bt:case Jt:return t({...o,contents:n(o.contents)});case Or:case kr:case Vt:case Ut:case we:case Ze:return t(o);default:throw new pn(o)}}}function Zl(e,t,r){let n=r,a=!1;function o(i){if(a)return!1;let s=t(i);s!==void 0&&(a=!0,n=s)}return c(o,"u"),ts(e,o),n}function x6(e){if(e.type===Me&&e.break||e.type===we&&e.hard||e.type===Ze)return!0}function x5(e){return Zl(e,x6,!1)}function Bd(e){if(e.length>0){let t=me(!1,e,-1);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function C6(e){let t=new Set,r=[];function n(o){if(o.type===Ze&&Bd(r),o.type===Me){if(r.push(o),t.has(o))return!1;t.add(o)}}c(n,"n");function a(o){o.type===Me&&r.pop().break&&Bd(r)}c(a,"o"),ts(e,n,a,!0)}function D6(e){return e.type===we&&!e.hard?e.soft?"":" ":e.type===He?e.flatContents:e}function C5(e){return Uo(e,D6)}function zd(e){for(e=[...e];e.length>=2&&me(!1,e,-2).type===we&&me(!1,e,-1).type===Ze;)e.length-=2;if(e.length>0){let t=Jn(me(!1,e,-1));e[e.length-1]=t}return e}function Jn(e){switch(Mr(e)){case Kt:case Gt:case Yt:case Me:case Jt:case bt:{let t=Jn(e.contents);return{...e,contents:t}}case He:return{...e,breakContents:Jn(e.breakContents),flatContents:Jn(e.flatContents)};case Je:return{...e,parts:zd(e.parts)};case dr:return zd(e);case Or:return e.replace(/[\n\r]*$/,"");case kr:case Vt:case Ut:case we:case Ze:break;default:throw new pn(e)}return e}function Ld(e){return Jn(A6(e))}function S6(e){switch(Mr(e)){case Je:if(e.parts.every(t=>t===""))return"";break;case Me:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===Me&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case Kt:case Gt:case Yt:case Jt:if(!e.contents)return"";break;case He:if(!e.flatContents&&!e.breakContents)return"";break;case dr:{let t=[];for(let r of e){if(!r)continue;let[n,...a]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof me(!1,t,-1)=="string"?t[t.length-1]+=n:t.push(n),t.push(...a)}return t.length===0?"":t.length===1?t[0]:t}case Or:case kr:case Vt:case Ut:case we:case bt:case Ze:break;default:throw new pn(e)}return e}function A6(e){return Uo(e,t=>S6(t))}function D5(e,t=Xd){return Uo(e,r=>typeof r=="string"?Td(t,r.split(` -`)):r)}function k6(e){if(e.type===we)return!0}function S5(e){return Zl(e,k6,!1)}function bf(e,t){return e.type===bt?{...e,contents:t(e.contents)}:t(e)}function wf(){return{value:"",length:0,queue:[]}}function _6(e,t){return Xl(e,{type:"indent"},t)}function F6(e,t,r){return t===Number.NEGATIVE_INFINITY?e.root||wf():t<0?Xl(e,{type:"dedent"},r):t?t.type==="root"?{...e,root:e}:Xl(e,{type:typeof t=="string"?"stringAlign":"numberAlign",n:t},r):e}function Xl(e,t,r){let n=t.type==="dedent"?e.queue.slice(0,-1):[...e.queue,t],a="",o=0,i=0,s=0;for(let v of n)switch(v.type){case"indent":p(),r.useTabs?u(1):d(r.tabWidth);break;case"stringAlign":p(),a+=v.n,o+=v.n.length;break;case"numberAlign":i+=1,s+=v.n;break;default:throw new Error(`Unexpected type '${v.type}'`)}return m(),{...e,value:a,length:o,queue:n};function u(v){a+=" ".repeat(v),o+=r.tabWidth*v}function d(v){a+=" ".repeat(v),o+=v}function p(){r.useTabs?h():m()}function h(){i>0&&u(i),f()}function m(){s>0&&d(s),f()}function f(){i=0,s=0}}function Ql(e){let t=0,r=0,n=e.length;e:for(;n--;){let a=e[n];if(a===Zn){r++;continue}for(let o=a.length-1;o>=0;o--){let i=a[o];if(i===" "||i===" ")t++;else{e[n]=a.slice(0,o+1);break e}}}if(t>0||r>0)for(e.length=n+1;r-- >0;)e.push(Zn);return t}function wo(e,t,r,n,a,o){if(r===Number.POSITIVE_INFINITY)return!0;let i=t.length,s=[e],u=[];for(;r>=0;){if(s.length===0){if(i===0)return!0;s.push(t[--i]);continue}let{mode:d,doc:p}=s.pop();switch(Mr(p)){case Or:u.push(p),r-=ns(p);break;case dr:case Je:{let h=p8(p);for(let m=h.length-1;m>=0;m--)s.push({mode:d,doc:h[m]});break}case Gt:case Kt:case Yt:case bt:s.push({mode:d,doc:p.contents});break;case Vt:r+=Ql(u);break;case Me:{if(o&&p.break)return!1;let h=p.break?Be:d,m=p.expandedStates&&h===Be?me(!1,p.expandedStates,-1):p.contents;s.push({mode:h,doc:m});break}case He:{let h=(p.groupId?a[p.groupId]||dt:d)===Be?p.breakContents:p.flatContents;h&&s.push({mode:d,doc:h});break}case we:if(d===Be||p.hard)return!0;p.soft||(u.push(" "),r--);break;case Jt:n=!0;break;case Ut:if(n)return!1;break}}return!1}function qo(e,t){let r={},n=t.printWidth,a=Js(t.endOfLine),o=0,i=[{ind:wf(),mode:Be,doc:e}],s=[],u=!1,d=[],p=0;for(C6(e);i.length>0;){let{ind:m,mode:f,doc:v}=i.pop();switch(Mr(v)){case Or:{let g=a!==` -`?gi(!1,v,` -`,a):v;s.push(g),i.length>0&&(o+=ns(g));break}case dr:for(let g=v.length-1;g>=0;g--)i.push({ind:m,mode:f,doc:v[g]});break;case kr:if(p>=2)throw new Error("There are too many 'cursor' in doc.");s.push(Zn),p++;break;case Gt:i.push({ind:_6(m,t),mode:f,doc:v.contents});break;case Kt:i.push({ind:F6(m,v.n,t),mode:f,doc:v.contents});break;case Vt:o-=Ql(s);break;case Me:switch(f){case dt:if(!u){i.push({ind:m,mode:v.break?Be:dt,doc:v.contents});break}case Be:{u=!1;let g={ind:m,mode:dt,doc:v.contents},b=n-o,C=d.length>0;if(!v.break&&wo(g,i,b,C,r))i.push(g);else if(v.expandedStates){let w=me(!1,v.expandedStates,-1);if(v.break){i.push({ind:m,mode:Be,doc:w});break}else for(let x=1;x=v.expandedStates.length){i.push({ind:m,mode:Be,doc:w});break}else{let E=v.expandedStates[x],D={ind:m,mode:dt,doc:E};if(wo(D,i,b,C,r)){i.push(D);break}}}else i.push({ind:m,mode:Be,doc:v.contents});break}}v.id&&(r[v.id]=me(!1,i,-1).mode);break;case Je:{let g=n-o,{parts:b}=v;if(b.length===0)break;let[C,w]=b,x={ind:m,mode:dt,doc:C},E={ind:m,mode:Be,doc:C},D=wo(x,[],g,d.length>0,r,!0);if(b.length===1){D?i.push(x):i.push(E);break}let S={ind:m,mode:dt,doc:w},A={ind:m,mode:Be,doc:w};if(b.length===2){D?i.push(S,x):i.push(A,E);break}b.splice(0,2);let k={ind:m,mode:f,doc:Id(b)},F=b[0];wo({ind:m,mode:dt,doc:[C,w,F]},[],g,d.length>0,r,!0)?i.push(k,S,x):D?i.push(k,A,x):i.push(k,A,E);break}case He:case Yt:{let g=v.groupId?r[v.groupId]:f;if(g===Be){let b=v.type===He?v.breakContents:v.negate?v.contents:Vo(v.contents);b&&i.push({ind:m,mode:f,doc:b})}if(g===dt){let b=v.type===He?v.flatContents:v.negate?Vo(v.contents):v.contents;b&&i.push({ind:m,mode:f,doc:b})}break}case Jt:d.push({ind:m,mode:f,doc:v.contents});break;case Ut:d.length>0&&i.push({ind:m,mode:f,doc:ml});break;case we:switch(f){case dt:if(v.hard)u=!0;else{v.soft||(s.push(" "),o+=1);break}case Be:if(d.length>0){i.push({ind:m,mode:f,doc:v},...d.reverse()),d.length=0;break}v.literal?m.root?(s.push(a,m.root.value),o=m.root.length):(s.push(a),o=0):(o-=Ql(s),s.push(a+m.value),o=m.length);break}break;case bt:i.push({ind:m,mode:f,doc:v.contents});break;case Ze:break;default:throw new pn(v)}i.length===0&&d.length>0&&(i.push(...d.reverse()),d.length=0)}let h=s.indexOf(Zn);if(h!==-1){let m=s.indexOf(Zn,h+1),f=s.slice(0,h).join(""),v=s.slice(h+1,m).join(""),g=s.slice(m+1).join("");return{formatted:f+v+g,cursorNodeStart:f.length,cursorNodeText:v}}return{formatted:s.join("")}}function A5(e,t,r=0){let n=0;for(let a=r;a!0,"n")}=t,a=c(o=>h8(o)&&n(o),"o");for(let o of r(e)){let i=e[o];if(Array.isArray(i))for(let s of i)a(s)&&(yield s);else a(i)&&(yield i)}}function*I6(e,t){let r=[e];for(let n=0;n{let a=!!(n!=null&&n.backwards);if(r===!1)return!1;let{length:o}=t,i=r;for(;i>=0&&i0}function T5(e){return e?t=>e(t,t1):g8}function T6(e){let t=e.type||e.kind||"(unknown type)",r=String(e.name||e.id&&(typeof e.id=="object"?e.id.name:e.id)||e.key&&(typeof e.key=="object"?e.key.name:e.key)||e.value&&(typeof e.value=="object"?"":String(e.value))||e.operator||"");return r.length>20&&(r=r.slice(0,19)+"…"),t+(r?" "+r:"")}function Zs(e,t){(e.comments??(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=T6(e)}function tn(e,t){t.leading=!0,t.trailing=!1,Zs(e,t)}function To(e,t,r){t.leading=!1,t.trailing=!1,r&&(t.marker=r),Zs(e,t)}function rn(e,t){t.leading=!1,t.trailing=!0,Zs(e,t)}function Xs(e,t){if(gl.has(e))return gl.get(e);let{printer:{getCommentChildNodes:r,canAttachComment:n,getVisitorKeys:a},locStart:o,locEnd:i}=t;if(!n)return[];let s=((r==null?void 0:r(e,t))??[...Ef(e,{getVisitorKeys:yi(a)})]).flatMap(u=>n(u)?[u]:Xs(u,t));return s.sort((u,d)=>o(u)-o(d)||i(u)-i(d)),gl.set(e,s),s}function xf(e,t,r,n){let{locStart:a,locEnd:o}=r,i=a(t),s=o(t),u=Xs(e,r),d,p,h=0,m=u.length;for(;h>1,v=u[f],g=a(v),b=o(v);if(g<=i&&s<=b)return xf(v,t,r,v);if(b<=i){d=v,h=f+1;continue}if(s<=g){p=v,m=f;continue}throw new Error("Comment location overlaps with node location")}if((n==null?void 0:n.type)==="TemplateLiteral"){let{quasis:f}=n,v=pl(f,t,r);d&&pl(f,d,r)!==v&&(d=null),p&&pl(f,p,r)!==v&&(p=null)}return{enclosingNode:n,precedingNode:d,followingNode:p}}function R6(e,t){let{comments:r}=e;if(delete e.comments,!m8(r)||!t.printer.canAttachComment)return;let n=[],{locStart:a,locEnd:o,printer:{experimentalFeatures:{avoidAstMutation:i=!1}={},handleComments:s={}},originalText:u}=t,{ownLine:d=vl,endOfLine:p=vl,remaining:h=vl}=s,m=r.map((f,v)=>({...xf(e,f,t),comment:f,text:u,options:t,ast:e,isLastComment:r.length-1===v}));for(let[f,v]of m.entries()){let{comment:g,precedingNode:b,enclosingNode:C,followingNode:w,text:x,options:E,ast:D,isLastComment:S}=v;if(E.parser==="json"||E.parser==="json5"||E.parser==="jsonc"||E.parser==="__js_expression"||E.parser==="__ts_expression"||E.parser==="__vue_expression"||E.parser==="__vue_ts_expression"){if(a(g)-a(D)<=0){tn(D,g);continue}if(o(g)-o(D)>=0){rn(D,g);continue}}let A;if(i?A=[v]:(g.enclosingNode=C,g.precedingNode=b,g.followingNode=w,A=[g,x,E,D,S]),B6(x,E,m,f))g.placement="ownLine",d(...A)||(w?tn(w,g):b?rn(b,g):To(C||D,g));else if(z6(x,E,m,f))g.placement="endOfLine",p(...A)||(b?rn(b,g):w?tn(w,g):To(C||D,g));else if(g.placement="remaining",!h(...A))if(b&&w){let k=n.length;k>0&&n[k-1].followingNode!==w&&Od(n,E),n.push(v)}else b?rn(b,g):w?tn(w,g):To(C||D,g)}if(Od(n,t),!i)for(let f of r)delete f.precedingNode,delete f.enclosingNode,delete f.followingNode}function B6(e,t,r,n){let{comment:a,precedingNode:o}=r[n],{locStart:i,locEnd:s}=t,u=i(a);if(o)for(let d=n-1;d>=0;d--){let{comment:p,precedingNode:h}=r[d];if(h!==o||!Tf(e.slice(s(p),u)))break;u=i(p)}return ur(e,u,{backwards:!0})}function z6(e,t,r,n){let{comment:a,followingNode:o}=r[n],{locStart:i,locEnd:s}=t,u=s(a);if(o)for(let d=n+1;d0;--u){let{comment:d,precedingNode:p,followingNode:h}=e[u-1];os.strictEqual(p,o),os.strictEqual(h,i);let m=t.originalText.slice(t.locEnd(d),s);if(((n=(r=t.printer).isGap)==null?void 0:n.call(r,m,t))??/^[\s(]*$/.test(m))s=t.locStart(d);else break}for(let[d,{comment:p}]of e.entries())d1&&d.comments.sort((p,h)=>t.locStart(p)-t.locStart(h));e.length=0}function pl(e,t,r){let n=r.locStart(t)-1;for(let a=1;a!n.has(s)).length===0)return{leading:"",trailing:""};let a=[],o=[],i;return e.each(()=>{let s=e.node;if(n!=null&&n.has(s))return;let{leading:u,trailing:d}=s;u?a.push(L6(e,t)):d&&(i=O6(e,t,i),o.push(i.doc))},"comments"),{leading:a,trailing:o}}function $6(e,t,r){let{leading:n,trailing:a}=M6(e,r);return!n&&!a?t:bf(t,o=>[n,o,a])}function P6(e){let{[Symbol.for("comments")]:t,[Symbol.for("printedComments")]:r}=e;for(let n of t){if(!n.printed&&!r.has(n))throw new Error('Comment "'+n.value.trim()+'" was not printed. Please report this error!');delete n.printed}}function B5(e){return()=>{}}function Md({plugins:e=[],showDeprecated:t=!1}={}){let r=e.flatMap(a=>a.languages??[]),n=[];for(let a of H6(Object.assign({},...e.map(({options:o})=>o),y8)))!t&&a.deprecated||(Array.isArray(a.choices)&&(t||(a.choices=a.choices.filter(o=>!o.deprecated)),a.name==="parser"&&(a.choices=[...a.choices,...N6(a.choices,r,e)])),a.pluginDefaults=Object.fromEntries(e.filter(o=>{var i;return((i=o.defaultOptions)==null?void 0:i[a.name])!==void 0}).map(o=>[o.name,o.defaultOptions[a.name]])),n.push(a));return{languages:r,options:n}}function*N6(e,t,r){let n=new Set(e.map(a=>a.value));for(let a of t)if(a.parsers){for(let o of a.parsers)if(!n.has(o)){n.add(o);let i=r.find(u=>u.parsers&&Object.prototype.hasOwnProperty.call(u.parsers,o)),s=a.name;i!=null&&i.name&&(s+=` (plugin: ${i.name})`),yield{value:o,description:s}}}}function H6(e){let t=[];for(let[r,n]of Object.entries(e)){let a={name:r,...n};Array.isArray(a.default)&&(a.default=me(!1,a.default,-1).value),t.push(a)}return t}function $d(e,t){if(!t)return;let r=b8(t).toLowerCase();return e.find(({filenames:n})=>n==null?void 0:n.some(a=>a.toLowerCase()===r))??e.find(({extensions:n})=>n==null?void 0:n.some(a=>r.endsWith(a)))}function j6(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 z5(e,t){let r=e.plugins.flatMap(a=>a.languages??[]),n=j6(r,t.language)??$d(r,t.physicalFile)??$d(r,t.file)??(t.physicalFile,void 0);return n==null?void 0:n.parsers[0]}function o0(e,t,r,n){return[`Invalid ${nn.default.red(n.key(e))} value.`,`Expected ${nn.default.blue(r)},`,`but received ${t===n1?nn.default.gray("nothing"):nn.default.red(n.value(t))}.`].join(" ")}function Pd({text:e,list:t},r){let n=[];return e&&n.push(`- ${nn.default.blue(e)}`),t&&n.push([`- ${nn.default.blue(t.title)}:`].concat(t.values.map(a=>Pd(a,r-a1.length).replace(/^|\n/g,`$&${a1}`))).join(` -`)),Nd(n,r)}function Nd(e,t){if(e.length===1)return e[0];let[r,n]=e,[a,o]=e.map(i=>i.split(` -`,1)[0].length);return a>t&&a>o?n:r}function L5(e,t){if(e===t)return 0;let r=e;e.length>t.length&&(e=t,t=r);let n=e.length,a=t.length;for(;n>0&&e.charCodeAt(~-n)===t.charCodeAt(~-a);)n--,a--;let o=0;for(;os?d>s?s+1:d:d>u?u+1:d;return s}function O5(e,t){let r=new e(t),n=Object.create(r);for(let a of E8)a in t&&(n[a]=V6(t[a],r,or.prototype[a].length));return n}function V6(e,t,r){return typeof e=="function"?(...n)=>e(...n.slice(0,r-1),t,...n.slice(r-1)):()=>e}function i0({from:e,to:t}){return{from:[e],to:t}}function M5(e,t){let r=Object.create(null);for(let n of e){let a=n[t];if(r[a])throw new Error(`Duplicate ${t} ${JSON.stringify(a)}`);r[a]=n}return r}function $5(e,t){let r=new Map;for(let n of e){let a=n[t];if(r.has(a))throw new Error(`Duplicate ${t} ${JSON.stringify(a)}`);r.set(a,n)}return r}function P5(){let e=Object.create(null);return t=>{let r=JSON.stringify(t);return e[r]?!0:(e[r]=!0,!1)}}function N5(e,t){let r=[],n=[];for(let a of e)t(a)?r.push(a):n.push(a);return[r,n]}function H5(e){return e===Math.floor(e)}function j5(e,t){if(e===t)return 0;let r=typeof e,n=typeof t,a=["undefined","object","boolean","number","string"];return r!==n?a.indexOf(r)-a.indexOf(n):r!=="string"?Number(e)-Number(t):e.localeCompare(t)}function V5(e){return(...t)=>{let r=e(...t);return typeof r=="string"?new Error(r):r}}function l0(e){return e===void 0?{}:e}function Hd(e){if(typeof e=="string")return{text:e};let{text:t,list:r}=e;return U6((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(Hd)}}:{text:t}}function s0(e,t){return e===!0?!0:e===!1?{value:t}:e}function u0(e,t,r=!1){return e===!1?!1:e===!0?r?!0:[{value:t}]:"value"in e?[e]:e.length===0?!1:e}function jd(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 fl(e,t){return e===void 0?[]:Array.isArray(e)?e.map(r=>jd(r,t)):[jd(e,t)]}function c0(e,t){let r=fl(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 U6(e,t){if(!e)throw new Error(t)}function U5(e,t,{logger:r=!1,isCLI:n=!1,passThrough:a=!1,FlagSchema:o,descriptor:i}={}){if(n){if(!o)throw new Error("'FlagSchema' option is required.");if(!i)throw new Error("'descriptor' option is required.")}else i=Kr;let s=a?Array.isArray(a)?(m,f)=>a.includes(m)?{[m]:f}:void 0:(m,f)=>({[m]:f}):(m,f,v)=>{let{_:g,...b}=v.schemas;return i1(m,f,{...v,schemas:b})},u=q6(t,{isCLI:n,FlagSchema:o}),d=new _8(u,{logger:r,unknown:s,descriptor:i}),p=r!==!1;p&&L0&&(d._hasDeprecationWarned=L0);let h=d.normalize(e);return p&&(L0=d._hasDeprecationWarned),h}function q6(e,{isCLI:t,FlagSchema:r}){let n=[];t&&n.push(C8.create({name:"_"}));for(let a of e)n.push(W6(a,{isCLI:t,optionInfos:e,FlagSchema:r})),a.alias&&t&&n.push(x8.create({name:a.alias,sourceName:a.name}));return n}function W6(e,{isCLI:t,optionInfos:r,FlagSchema:n}){let{name:a}=e,o={name:a},i,s={};switch(e.type){case"int":i=k8,t&&(o.preprocess=Number);break;case"string":i=l1;break;case"choice":i=A8,o.choices=e.choices.map(u=>u!=null&&u.redirect?{...u,redirect:{to:{key:e.name,value:u.redirect}}}:u);break;case"boolean":i=S8;break;case"flag":i=n,o.flags=r.flatMap(u=>[u.alias,u.description&&u.name,u.oppositeDescription&&`no-${u.name}`].filter(Boolean));break;case"path":i=l1;break;default:throw new Error(`Unexpected type ${e.type}`)}if(e.exception?o.validate=(u,d,p)=>e.exception(u)||d.validate(u,p):o.validate=(u,d,p)=>u===void 0||d.validate(u,p),e.redirect&&(s.redirect=u=>u?{to:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(s.deprecated=!0),t&&!e.array){let u=o.preprocess||(d=>d);o.preprocess=(d,p,h)=>p.preprocess(u(Array.isArray(d)?me(!1,d,-1):d),h)}return e.array?D8.create({...t?{preprocess:c(u=>Array.isArray(u)?u:[u],"preprocess")}:{},...s,valueSchema:i.create(o)}):i.create({...o,...s})}function Df(e,t){if(!t)throw new Error("parserName is required.");let r=Bf(!1,e,a=>a.parsers&&Object.prototype.hasOwnProperty.call(a.parsers,t));if(r)return r;let n=`Couldn't resolve parser "${t}".`;throw n+=" Plugins must be explicitly added to the standalone bundle.",new Rf(n)}function G6(e,t){if(!t)throw new Error("astFormat is required.");let r=Bf(!1,e,a=>a.printers&&Object.prototype.hasOwnProperty.call(a.printers,t));if(r)return r;let n=`Couldn't find plugin for AST format "${t}".`;throw n+=" Plugins must be explicitly added to the standalone bundle.",new Rf(n)}function Sf({plugins:e,parser:t}){let r=Df(e,t);return Af(r,t)}function Af(e,t){let r=e.parsers[t];return typeof r=="function"?r():r}function K6(e,t){let r=e.printers[t];return typeof r=="function"?r():r}async function q5(e,t={}){var r;let n={...e};if(!n.parser)if(n.filepath){if(n.parser=w8(n,{physicalFile:n.filepath}),!n.parser)throw new r1(`No parser could be inferred for file "${n.filepath}".`)}else throw new r1("No parser and no file path given, couldn't infer a parser.");let a=Md({plugins:e.plugins,showDeprecated:!0}).options,o={...s1,...Object.fromEntries(a.filter(m=>m.default!==void 0).map(m=>[m.name,m.default]))},i=Df(n.plugins,n.parser),s=await Af(i,n.parser);n.astFormat=s.astFormat,n.locEnd=s.locEnd,n.locStart=s.locStart;let u=(r=i.printers)!=null&&r[s.astFormat]?i:G6(n.plugins,s.astFormat),d=await K6(u,s.astFormat);n.printer=d;let p=u.defaultOptions?Object.fromEntries(Object.entries(u.defaultOptions).filter(([,m])=>m!==void 0)):{},h={...o,...p};for(let[m,f]of Object.entries(h))(n[m]===null||n[m]===void 0)&&(n[m]=f);return n.parser==="json"&&(n.trailingComma="none"),F8(n,a,{passThrough:Object.keys(s1),...t})}async function W5(e,t){let r=await Sf(t),n=r.preprocess?r.preprocess(e,t):e;t.originalText=n;let a;try{a=await r.parse(n,t,t)}catch(o){Y6(o,e)}return{text:n,ast:a}}function Y6(e,t){let{loc:r}=e;if(r){let n=(0,I8.codeFrameColumns)(t,r,{highlightCode:!0});throw e.message+=` -`+n,e.codeFrame=n,e}throw e}async function J6(e,t,r,n,a){let{embeddedLanguageFormatting:o,printer:{embed:i,hasPrettierIgnore:s=c(()=>!1,"s"),getVisitorKeys:u}}=r;if(!i||o!=="auto")return;if(i.length>2)throw new Error("printer.embed has too many parameters. The API changed in Prettier v3. Please update your plugin. See https://prettier.io/docs/en/plugins.html#optional-embed");let d=yi(i.getVisitorKeys??u),p=[];f();let h=e.stack;for(let{print:v,node:g,pathStack:b}of p)try{e.stack=b;let C=await v(m,t,e,r);C&&a.set(g,C)}catch(C){if(globalThis.PRETTIER_DEBUG)throw C}e.stack=h;function m(v,g){return Z6(v,g,r,n)}c(m,"f");function f(){let{node:v}=e;if(v===null||typeof v!="object"||s(e))return;for(let b of d(v))Array.isArray(v[b])?e.each(f,b):e.call(f,b);let g=i(e,r);if(g){if(typeof g=="function"){p.push({print:g,node:v,pathStack:[...e.stack]});return}a.set(v,g)}}c(f,"p")}async function Z6(e,t,r,n){let a=await wn({...r,...t,parentParser:r.parser,originalText:e},{passThrough:!0}),{ast:o}=await Ra(e,a),i=await n(o,a);return Ld(i)}function G5(e,t){let{originalText:r,[Symbol.for("comments")]:n,locStart:a,locEnd:o,[Symbol.for("printedComments")]:i}=t,{node:s}=e,u=a(s),d=o(s);for(let p of n)a(p)>=u&&o(p)<=d&&i.add(p);return r.slice(u,d)}async function mi(e,t){({ast:e}=await kf(e,t));let r=new Map,n=new f8(e),a=v8(t),o=new Map;await J6(n,s,t,mi,o);let i=await Vd(n,t,s,void 0,o);return P6(t),i;function s(d,p){return d===void 0||d===n?u(p):Array.isArray(d)?n.call(()=>u(p),...d):n.call(()=>u(p),d)}function u(d){a(n);let p=n.node;if(p==null)return"";let h=p&&typeof p=="object"&&d===void 0;if(h&&r.has(p))return r.get(p);let m=Vd(n,t,s,d,o);return h&&r.set(p,m),m}}function Vd(e,t,r,n,a){var o;let{node:i}=e,{printer:s}=t,u;return(o=s.hasPrettierIgnore)!=null&&o.call(s,e)?u=T8(e,t):a.has(i)?u=a.get(i):u=s.print(e,t,r,n),i===t.cursorNode&&(u=bf(u,d=>[rs,d,rs])),s.printComment&&(!s.willPrintOwnComments||!s.willPrintOwnComments(e,t))&&(u=$6(e,u,t)),u}async function kf(e,t){let r=e.comments??[];t[Symbol.for("comments")]=r,t[Symbol.for("tokens")]=e.tokens??[],t[Symbol.for("printedComments")]=new Set,R6(e,t);let{printer:{preprocess:n}}=t;return e=n?await n(e,t):e,{ast:e,comments:r}}function K5(e,t){let{cursorOffset:r,locStart:n,locEnd:a}=t,o=yi(t.printer.getVisitorKeys),i=c(u=>n(u)<=r&&a(u)>=r,"i"),s=e;for(let u of I6(e,{getVisitorKeys:o,filter:i}))s=u;return s}function Y5(e,t){let{printer:{massageAstNode:r,getVisitorKeys:n}}=t;if(!r)return e;let a=yi(n),o=r.ignoredProperties??new Set;return i(e);function i(s,u){if(!(s!==null&&typeof s=="object"))return s;if(Array.isArray(s))return s.map(m=>i(m,u)).filter(Boolean);let d={},p=new Set(a(s));for(let m in s)!Object.prototype.hasOwnProperty.call(s,m)||o.has(m)||(p.has(m)?d[m]=i(s[m],s):d[m]=s[m]);let h=r(s,d,u);if(h!==null)return h??d}}function X6(e,t){let r=[e.node,...e.parentNodes],n=new Set([t.node,...t.parentNodes]);return r.find(a=>zf.has(a.type)&&n.has(a))}function Ud(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 Q6(e,t,{locStart:r,locEnd:n}){let a=e.node,o=t.node;if(a===o)return{startNode:a,endNode:o};let i=r(e.node);for(let u of Ud(t.parentNodes))if(r(u)>=i)o=u;else break;let s=n(t.node);for(let u of Ud(e.parentNodes)){if(n(u)<=s)a=u;else break;if(a===o)break}return{startNode:a,endNode:o}}function es(e,t,r,n,a=[],o){let{locStart:i,locEnd:s}=r,u=i(e),d=s(e);if(!(t>d||tn);let s=e.slice(n,a).search(/\S/),u=s===-1;if(!u)for(n+=s;a>n&&!/\S/.test(e[a-1]);--a);let d=es(r,n,t,(f,v)=>qd(t,f,v),[],"rangeStart"),p=u?d:es(r,a,t,f=>qd(t,f),[],"rangeEnd");if(!d||!p)return{rangeStart:0,rangeEnd:0};let h,m;if(z8(t)){let f=X6(d,p);h=f,m=f}else({startNode:h,endNode:m}=Q6(d,p,t));return{rangeStart:Math.min(o(h),o(m)),rangeEnd:Math.max(i(h),i(m))}}async function _f(e,t,r=0){if(!e||e.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:n,text:a}=await Ra(e,t);t.cursorOffset>=0&&(t.cursorNode=R8(n,t));let o=await mi(n,t);r>0&&(o=Rd([_r,o],r,t.tabWidth));let i=qo(o,t);if(r>0){let u=i.formatted.trim();i.cursorNodeStart!==void 0&&(i.cursorNodeStart-=i.formatted.indexOf(u)),i.formatted=u+Js(t.endOfLine)}let s=t[Symbol.for("comments")];if(t.cursorOffset>=0){let u,d,p,h,m;if(t.cursorNode&&i.cursorNodeText?(u=t.locStart(t.cursorNode),d=a.slice(u,t.locEnd(t.cursorNode)),p=t.cursorOffset-u,h=i.cursorNodeStart,m=i.cursorNodeText):(u=0,d=a,p=t.cursorOffset,h=0,m=i.formatted),d===m)return{formatted:i.formatted,cursorOffset:h+p,comments:s};let f=d.split("");f.splice(p,0,u1);let v=m.split(""),g=(0,l8.diffArrays)(f,v),b=h;for(let C of g)if(C.removed){if(C.value.includes(u1))break}else b+=C.count;return{formatted:i.formatted,cursorOffset:b,comments:s}}return{formatted:i.formatted,cursorOffset:-1,comments:s}}async function r8(e,t){let{ast:r,text:n}=await Ra(e,t),{rangeStart:a,rangeEnd:o}=t8(n,t,r),i=n.slice(a,o),s=Math.min(a,n.lastIndexOf(` -`,a)+1),u=n.slice(s,a).match(/^\s*/)[0],d=as(u,t.tabWidth),p=await _f(i,{...t,rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:t.cursorOffset>a&&t.cursorOffset<=o?t.cursorOffset-a:-1,endOfLine:"lf"},d),h=p.formatted.trimEnd(),{cursorOffset:m}=t;m>o?m+=h.length-i.length:p.cursorOffset>=0&&(m=p.cursorOffset+a);let f=n.slice(0,a)+h+n.slice(o);if(t.endOfLine!=="lf"){let v=Js(t.endOfLine);m>=0&&v===`\r -`&&(m+=yf(f.slice(0,m),` -`)),f=gi(!1,f,` -`,v)}return{formatted:f,cursorOffset:m,comments:p.comments}}function hl(e,t,r){return typeof t!="number"||Number.isNaN(t)||t<0||t>e.length?r:t}function Wd(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:a}=t;return r=hl(e,r,-1),n=hl(e,n,0),a=hl(e,a,e.length),{...t,cursorOffset:r,rangeStart:n,rangeEnd:a}}function Ff(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:a,endOfLine:o}=Wd(e,t),i=e.charAt(0)===Lf;if(i&&(e=e.slice(1),r--,n--,a--),o==="auto"&&(o=b6(e)),e.includes("\r")){let s=c(u=>yf(e.slice(0,Math.max(u,0)),`\r -`),"s");r-=s(r),n-=s(n),a-=s(a),e=w6(e)}return{hasBOM:i,text:e,options:Wd(e,{...t,cursorOffset:r,rangeStart:n,rangeEnd:a,endOfLine:o})}}async function Gd(e,t){let r=await Sf(t);return!r.hasPragma||r.hasPragma(e)}async function Kd(e,t){let{hasBOM:r,text:n,options:a}=Ff(e,await wn(t));if(a.rangeStart>=a.rangeEnd&&n!==""||a.requirePragma&&!await Gd(n,a))return{formatted:e,cursorOffset:t.cursorOffset,comments:[]};let o;return a.rangeStart>0||a.rangeEnd=0&&o.cursorOffset++),o}async function J5(e,t,r){let{text:n,options:a}=Ff(e,await wn(t)),o=await Ra(n,a);return r&&(r.preprocessForPrint&&(o.ast=await kf(o.ast,a)),r.massage&&(o.ast=B8(o.ast,a))),o}async function Z5(e,t){t=await wn(t);let r=await mi(e,t);return qo(r,t)}async function X5(e,t){let r=E6(e),{formatted:n}=await Kd(r,{...t,parser:"__js_expression"});return n}async function Q5(e,t){t=await wn(t);let{ast:r}=await Ra(e,t);return mi(r,t)}async function ev(e,t){return qo(e,await wn(t))}function tv(e,t){if(t===!1)return!1;if(e.charAt(t)==="/"&&e.charAt(t+1)==="*"){for(let r=t+2;rMath.max(n,a.length/t.length),0)}function lv(e,t){let r=tu(e,t);return r===!1?"":e.charAt(r)}function sv(e,t,r){for(let n=t;ni===n?i:s===t?"\\"+s:s||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(i)?i:"\\"+i));return t+a+t}function a8(e,t,r){return tu(e,r(t))}function dv(e,t){return arguments.length===2||typeof t=="number"?tu(e,t):a8(...arguments)}function o8(e,t,r){return eu(e,r(t))}function pv(e,t){return arguments.length===2||typeof t=="number"?eu(e,t):o8(...arguments)}function i8(e,t,r){return ss(e,r(t))}function fv(e,t){return arguments.length===2||typeof t=="number"?ss(e,t):i8(...arguments)}function br(e,t=1){return async(...r)=>{let n=r[t]??{},a=n.plugins??[];return r[t]={...n,plugins:Array.isArray(a)?a:Object.values(a)},e(...r)}}async function Yd(e,t){let{formatted:r}=await c1(e,{...t,cursorOffset:-1});return r}async function hv(e,t){return await Yd(e,t)===e}var mv,to,gv,vv,yv,bv,wv,ro,no,d0,Bn,Ev,xv,p0,zn,Cv,Dv,ao,f0,Sv,Av,kv,_v,h0,Fv,gi,l8,Or,dr,kr,Gt,Kt,Vt,Me,Je,He,Yt,Jt,Ut,we,bt,Ze,If,Mr,s8,m0,Iv,pn,Jd,ts,g0,wt,Qs,Tv,Eo,Rv,ml,v0,Zd,Bv,_r,Xd,rs,zv,me,u8,c8,d8,ns,p8,Be,dt,Zn,as,Gi,y0,oo,Ki,b0,Lv,f8,w0,os,h8,Ov,pr,Qd,e1,zr,ur,m8,t1,g8,yi,gl,vl,Tf,eu,v8,E0,Rf,x0,r1,y8,b8,w8,Kr,C0,Mv,nn,n1,io,a1,$v,D0,yl,o1,i1,E8,S0,or,A0,x8,k0,C8,_0,D8,F0,S8,I0,A8,T0,Pv,R0,k8,B0,l1,Nv,Hv,jv,Vv,z0,_8,L0,F8,Uv,Bf,s1,wn,I8,Ra,T8,R8,B8,z8,zf,L8,Lf,u1,O0,qv,Wv,Gv,Kv,M0,is,ls,tu,ss,Yv,Jv,Zv,Xv,Qv,e4,c1,t4,r4,O8,Nk=B(()=>{mv=Object.create,to=Object.defineProperty,gv=Object.getOwnPropertyDescriptor,vv=Object.getOwnPropertyNames,yv=Object.getPrototypeOf,bv=Object.prototype.hasOwnProperty,wv=c((e,t)=>()=>(e&&(t=e(e=0)),t),"Eu"),ro=c((e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),"Me"),no=c((e,t)=>{for(var r in t)to(e,r,{get:t[r],enumerable:!0})},"We"),d0=c((e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of vv(t))!bv.call(e,a)&&a!==r&&to(e,a,{get:c(()=>t[a],"get"),enumerable:!(n=gv(t,a))||n.enumerable});return e},"ur"),Bn=c((e,t,r)=>(r=e!=null?mv(yv(e)):{},d0(t||!e||!e.__esModule?to(r,"default",{value:e,enumerable:!0}):r,e)),"he"),Ev=c(e=>d0(to({},"__esModule",{value:!0}),e),"Cu"),xv=c((e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},"hu"),p0=c((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)},"ht"),zn=c((e,t,r)=>(xv(e,t,"access private method"),r),"ce"),Cv=ro(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(){}c(t,"or"),t.prototype={diff:c(function(a,o){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=i.callback;typeof i=="function"&&(s=i,i={}),this.options=i;var u=this;function d(w){return s?(setTimeout(function(){s(void 0,w)},0),!0):w}c(d,"i"),a=this.castInput(a),o=this.castInput(o),a=this.removeEmpty(this.tokenize(a)),o=this.removeEmpty(this.tokenize(o));var p=o.length,h=a.length,m=1,f=p+h;i.maxEditLength&&(f=Math.min(f,i.maxEditLength));var v=[{newPos:-1,components:[]}],g=this.extractCommon(v[0],o,a,0);if(v[0].newPos+1>=p&&g+1>=h)return d([{value:this.join(o),count:o.length}]);function b(){for(var w=-1*m;w<=m;w+=2){var x=void 0,E=v[w-1],D=v[w+1],S=(D?D.newPos:0)-w;E&&(v[w-1]=void 0);var A=E&&E.newPos+1=p&&S+1>=h)return d(r(u,x.components,o,a,u.useLongestToken));v[w]=x}m++}if(c(b,"p"),s)c(function w(){setTimeout(function(){if(m>f)return s();b()||w()},0)},"F")();else for(;m<=f;){var C=b();if(C)return C}},"diff"),pushComponent:c(function(a,o,i){var s=a[a.length-1];s&&s.added===o&&s.removed===i?a[a.length-1]={count:s.count+1,added:o,removed:i}:a.push({count:1,added:o,removed:i})},"pushComponent"),extractCommon:c(function(a,o,i,s){for(var u=o.length,d=i.length,p=a.newPos,h=p-s,m=0;p+1C.length?x:C}),f.value=a.join(g)}else f.value=a.join(i.slice(h,h+f.count));h+=f.count,f.added||(m+=f.count)}}var b=o[p-1];return p>1&&typeof b.value=="string"&&(b.added||b.removed)&&a.equals("",b.value)&&(o[p-2].value+=b.value,o.pop()),o}c(r,"yu");function n(a){return{newPos:a.newPos,components:a.components.slice(0)}}c(n,"Au")}),Dv=ro(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.diffArrays=a,e.arrayDiff=void 0;var t=r(Cv());function r(o){return o&&o.__esModule?o:{default:o}}c(r,"_u");var n=new t.default;e.arrayDiff=n,n.tokenize=function(o){return o.slice()},n.join=n.removeEmpty=function(o){return o};function a(o,i,s){return n.diff(o,i,s)}c(a,"ku")}),ao=ro((e,t)=>{var r=new Proxy(String,{get:c(()=>r,"get")});t.exports=r}),f0={},no(f0,{default:c(()=>Av,"default"),shouldHighlight:c(()=>Sv,"shouldHighlight")}),kv=wv(()=>{Sv=c(()=>!1,"Eo"),Av=String}),_v=ro(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.codeFrameColumns=h,e.default=m;var t=(kv(),Ev(f0)),r=a(ao(),!0);function n(f){if(typeof WeakMap!="function")return null;var v=new WeakMap,g=new WeakMap;return(n=c(function(b){return b?g:v},"Tn"))(f)}c(n,"Tn");function a(f,v){if(!v&&f&&f.__esModule)return f;if(f===null||typeof f!="object"&&typeof f!="function")return{default:f};var g=n(v);if(g&&g.has(f))return g.get(f);var b={__proto__:null},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var w in f)if(w!=="default"&&Object.prototype.hasOwnProperty.call(f,w)){var x=C?Object.getOwnPropertyDescriptor(f,w):null;x&&(x.get||x.set)?Object.defineProperty(b,w,x):b[w]=f[w]}return b.default=f,g&&g.set(f,b),b}c(a,"ho");var o;function i(f){return f?(o!=null||(o=new r.default.constructor({enabled:!0,level:1})),o):r.default}c(i,"go");var s=!1;function u(f){return{gutter:f.grey,marker:f.red.bold,message:f.red.bold}}c(u,"yo");var d=/\r\n|[\n\r\u2028\u2029]/;function p(f,v,g){let b=Object.assign({column:0,line:-1},f.start),C=Object.assign({},b,f.end),{linesAbove:w=2,linesBelow:x=3}=g||{},E=b.line,D=b.column,S=C.line,A=C.column,k=Math.max(E-(w+1),0),F=Math.min(v.length,S+x);E===-1&&(k=0),S===-1&&(F=v.length);let T=S-E,R={};if(T)for(let L=0;L<=T;L++){let z=L+E;if(!D)R[z]=!0;else if(L===0){let M=v[z-1].length;R[z]=[D,M-D+1]}else if(L===T)R[z]=[0,A];else{let M=v[z-L].length;R[z]=[0,M]}}else D===A?D?R[E]=[D,0]:R[E]=!0:R[E]=[D,A-D];return{start:k,end:F,markerLines:R}}c(p,"Ao");function h(f,v,g={}){let b=(g.highlightCode||g.forceColor)&&(0,t.shouldHighlight)(g),C=i(g.forceColor),w=u(C),x=c((R,L)=>b?R(L):L,"i"),E=f.split(d),{start:D,end:S,markerLines:A}=p(v,E,g),k=v.start&&typeof v.start.column=="number",F=String(S).length,T=(b?(0,t.default)(f,g):f).split(d,S).slice(D,S).map((R,L)=>{let z=D+1+L,M=` ${` ${z}`.slice(-F)} |`,O=A[z],$=!A[z+1];if(O){let j="";if(Array.isArray(O)){let G=R.slice(0,Math.max(O[0]-1,0)).replace(/[^\t]/g," "),H=O[1]||1;j=[` - `,x(w.gutter,M.replace(/\d/g," "))," ",G,x(w.marker,"^").repeat(H)].join(""),$&&g.message&&(j+=" "+x(w.message,g.message))}return[x(w.marker,">"),x(w.gutter,M),R.length>0?` ${R}`:"",j].join("")}else return` ${x(w.gutter,M)}${R.length>0?` ${R}`:""}`}).join(` -`);return g.message&&!k&&(T=`${" ".repeat(F+1)}${g.message} -${T}`),b?C.reset(T):T}c(h,"vn");function m(f,v,g,b={}){if(!s){s=!0;let C="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";{let w=new Error(C);w.name="DeprecationWarning",console.warn(new Error(C))}}return g=Math.max(g,0),h(f,{start:{column:g,line:v}},b)}c(m,"Bo")}),h0={},no(h0,{__debug:c(()=>r4,"__debug"),check:c(()=>hv,"check"),doc:c(()=>O0,"doc"),format:c(()=>Yd,"format"),formatWithCursor:c(()=>c1,"formatWithCursor"),getSupportInfo:c(()=>t4,"getSupportInfo"),util:c(()=>M0,"util"),version:c(()=>Kv,"version")}),Fv=c((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)},"gu"),gi=Fv,l8=Bn(Dv(),1),c(b6,"Dr"),c(Js,"Ae"),c(yf,"yt"),c(w6,"ar"),Or="string",dr="array",kr="cursor",Gt="indent",Kt="align",Vt="trim",Me="group",Je="fill",He="if-break",Yt="indent-if-break",Jt="line-suffix",Ut="line-suffix-boundary",we="line",bt="label",Ze="break-parent",If=new Set([kr,Gt,Kt,Vt,Me,Je,He,Yt,Jt,Ut,we,bt,Ze]),c(u5,"xu"),Mr=u5,s8=c(e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e),"bu"),c(c5,"wu"),Iv=(m0=class extends Error{constructor(t){super(c5(t));yr(this,"name","InvalidDocError");this.doc=t}},c(m0,"At"),m0),pn=Iv,Jd={},c(d5,"Ou"),ts=d5,g0=c(()=>{},"lr"),wt=g0,Qs=g0,c(Vo,"ie"),c(dn,"oe"),c(Fd,"Bt"),c(p5,"fr"),c(f5,"Fr"),c(h5,"pr"),c(m5,"dr"),c(Id,"Ge"),c(g5,"mr"),c(v5,"Er"),c(Jl,"_e"),Tv={type:Ut},Eo={type:Ze},Rv={type:Vt},ml={type:we,hard:!0},v0={type:we,hard:!0,literal:!0},Zd={type:we},Bv={type:we,soft:!0},_r=[ml,Eo],Xd=[v0,Eo],rs={type:kr},c(Td,"be"),c(Rd,"qe"),c(y5,"yr"),c(Lt,"J"),c(E6,"Ar"),zv=c((e,t,r)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},"Nu"),me=zv,u8=c(()=>/[#*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,"Br"),c(b5,"_r"),c(w5,"kr"),c8=c(e=>!(b5(e)||w5(e)),"xr"),d8=/[^\x20-\x7F]/,c(E5,"Tu"),ns=E5,p8=c(e=>{if(Array.isArray(e))return e;if(e.type!==Je)throw new Error(`Expect doc to be 'array' or '${Je}'.`);return e.parts},"Or"),c(Uo,"Ne"),c(Zl,"Je"),c(x6,"vu"),c(x5,"Nr"),c(Bd,"br"),c(C6,"Sr"),c(D6,"Pu"),c(C5,"Tr"),c(zd,"wr"),c(Jn,"Oe"),c(Ld,"Xe"),c(S6,"Lu"),c(A6,"Iu"),c(D5,"vr"),c(k6,"Ru"),c(S5,"Pr"),c(bf,"Ze"),Be=Symbol("MODE_BREAK"),dt=Symbol("MODE_FLAT"),Zn=Symbol("cursor"),c(wf,"Lr"),c(_6,"Yu"),c(F6,"ju"),c(Xl,"kt"),c(Ql,"xt"),c(wo,"Qe"),c(qo,"fe"),c(A5,"Vu"),as=A5,Lv=(b0=class{constructor(e){p0(this,Gi),p0(this,oo),this.stack=[e]}get key(){let{stack:e,siblings:t}=this;return me(!1,e,t===null?-2:-4)??null}get index(){return this.siblings===null?null:me(!1,this.stack,-2)}get node(){return me(!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=me(!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[...zn(this,oo,Ki).call(this)]}getName(){let{stack:e}=this,{length:t}=e;return t>1?me(!1,e,-2):null}getValue(){return me(!1,this.stack,-1)}getNode(e=0){let t=zn(this,Gi,y0).call(this,e);return t===-1?null:this.stack[t]}getParentNode(e=0){return this.getNode(e+1)}call(e,...t){let{stack:r}=this,{length:n}=r,a=me(!1,r,-1);for(let o of t)a=a[o],r.push(o,a);try{return e(this)}finally{r.length=n}}callParent(e,t=0){let r=zn(this,Gi,y0).call(this,t+1),n=this.stack.splice(r+1);try{return e(this)}finally{this.stack.push(...n)}}each(e,...t){let{stack:r}=this,{length:n}=r,a=me(!1,r,-1);for(let o of t)a=a[o],r.push(o,a);try{for(let o=0;o{r[a]=e(n,a,o)},...t),r}match(...e){let t=this.stack.length-1,r=null,n=this.stack[t--];for(let a of e){if(n===void 0)return!1;let o=null;if(typeof r=="number"&&(o=r,r=this.stack[t--],n=this.stack[t--]),a&&!a(n,r,o))return!1;r=this.stack[t--],n=this.stack[t--]}return!0}findAncestor(e){for(let t of zn(this,oo,Ki).call(this))if(e(t))return t}hasAncestor(e){for(let t of zn(this,oo,Ki).call(this))if(e(t))return!0;return!1}},c(b0,"bt"),b0),Gi=new WeakSet,y0=c(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},"wt"),oo=new WeakSet,Ki=c(function*(){let{stack:e}=this;for(let t=e.length-3;t>=0;t-=2){let r=e[t];Array.isArray(r)||(yield r)}},"et"),f8=Lv,w0=new Proxy(()=>{},{get:c(()=>w0,"get")}),os=w0,c(k5,"$u"),h8=k5,c(Ef,"Ot"),c(I6,"jr"),c(Rn,"de"),Ov=Rn(/\s/),pr=Rn(" "),Qd=Rn(",; "),e1=Rn(/[^\n\r]/),c(_5,"Mu"),zr=_5,c(F5,"Wu"),ur=F5,c(I5,"Uu"),m8=I5,t1=new Set(["tokens","comments","parent","enclosingNode","precedingNode","followingNode"]),g8=c(e=>Object.keys(e).filter(t=>!t1.has(t)),"zu"),c(T5,"Gu"),yi=T5,c(T6,"Ku"),c(Zs,"St"),c(tn,"te"),c(To,"X"),c(rn,"re"),gl=new WeakMap,c(Xs,"nt"),c(xf,"Wr"),vl=c(()=>!1,"vt"),c(R6,"Ur"),Tf=c(e=>!/[\S\n\u2028\u2029]/.test(e),"zr"),c(B6,"Hu"),c(z6,"qu"),c(Od,"Mr"),c(pl,"Pt"),c(R5,"Ju"),eu=R5,c(Cf,"Gr"),c(L6,"Xu"),c(O6,"Zu"),c(M6,"Qu"),c($6,"Kr"),c(P6,"Hr"),c(B5,"eo"),v8=B5,Rf=(E0=class extends Error{constructor(){super(...arguments);yr(this,"name","ConfigError")}},c(E0,"Le"),E0),r1=(x0=class extends Error{constructor(){super(...arguments);yr(this,"name","UndefinedParserError")}},c(x0,"Ie"),x0),y8={cursorOffset:{category:"Special",type:"int",default:-1,range:{start:-1,end:1/0,step:1},description:"Print (to stderr) where a cursor at the given position would move to after formatting.",cliCategory:"Editor"},endOfLine:{category:"Global",type:"choice",default:"lf",description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:`Maintain existing -(mixed values within one file are normalised by looking at what's used after the first line)`}]},filepath:{category:"Special",type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:"Other",cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{category:"Special",type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:"Other"},parser:{category:"Global",type:"choice",default:void 0,description:"Which parser to use.",exception:c(e=>typeof e=="string"||typeof e=="function","exception"),choices:[{value:"flow",description:"Flow"},{value:"babel",description:"JavaScript"},{value:"babel-flow",description:"Flow"},{value:"babel-ts",description:"TypeScript"},{value:"typescript",description:"TypeScript"},{value:"acorn",description:"JavaScript"},{value:"espree",description:"JavaScript"},{value:"meriyah",description:"JavaScript"},{value:"css",description:"CSS"},{value:"less",description:"Less"},{value:"scss",description:"SCSS"},{value:"json",description:"JSON"},{value:"json5",description:"JSON5"},{value:"jsonc",description:"JSON with Comments"},{value:"json-stringify",description:"JSON.stringify"},{value:"graphql",description:"GraphQL"},{value:"markdown",description:"Markdown"},{value:"mdx",description:"MDX"},{value:"vue",description:"Vue"},{value:"yaml",description:"YAML"},{value:"glimmer",description:"Ember / Handlebars"},{value:"html",description:"HTML"},{value:"angular",description:"Angular"},{value:"lwc",description:"Lightning Web Components"}]},plugins:{type:"path",array:!0,default:[{value:[]}],category:"Global",description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:c(e=>typeof e=="string"||typeof e=="object","exception"),cliName:"plugin",cliCategory:"Config"},printWidth:{category:"Global",type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:1/0,step:1}},rangeEnd:{category:"Special",type:"int",default:1/0,range:{start:0,end:1/0,step:1},description:`Format code ending at a given character offset (exclusive). -The range will extend forwards to the end of the selected statement.`,cliCategory:"Editor"},rangeStart:{category:"Special",type:"int",default:0,range:{start:0,end:1/0,step:1},description:`Format code starting at a given character offset. -The range will extend backwards to the start of the first line containing the selected statement.`,cliCategory:"Editor"},requirePragma:{category:"Special",type:"boolean",default:!1,description:`Require either '@prettier' or '@format' to be present in the file's first docblock comment -in order for it to be formatted.`,cliCategory:"Other"},tabWidth:{type:"int",category:"Global",default:2,description:"Number of spaces per indentation level.",range:{start:0,end:1/0,step:1}},useTabs:{category:"Global",type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{category:"Global",type:"choice",default:"auto",description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}},c(Md,"ut"),c(N6,"to"),c(H6,"ro"),b8=c(e=>String(e).split(/[/\\]/).pop(),"no"),c($d,"Xr"),c(j6,"uo"),c(z5,"oo"),w8=z5,Kr={key:c(e=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),"key"),value(e){if(e===null||typeof e!="object")return JSON.stringify(e);if(Array.isArray(e))return`[${e.map(r=>Kr.value(r)).join(", ")}]`;let t=Object.keys(e);return t.length===0?"{}":`{ ${t.map(r=>`${Kr.key(r)}: ${Kr.value(e[r])}`).join(", ")} }`},pair:c(({key:e,value:t})=>Kr.value({[e]:t}),"pair")},C0=Bn(ao(),1),Mv=c((e,t,{descriptor:r})=>{let n=[`${C0.default.yellow(typeof e=="string"?r.key(e):r.pair(e))} is deprecated`];return t&&n.push(`we now treat it as ${C0.default.blue(typeof t=="string"?r.key(t):r.pair(t))}`),n.join("; ")+"."},"tn"),nn=Bn(ao(),1),n1=Symbol.for("vnopts.VALUE_NOT_EXIST"),io=Symbol.for("vnopts.VALUE_UNCHANGED"),a1=" ".repeat(2),$v=c((e,t,r)=>{let{text:n,list:a}=r.normalizeExpectedResult(r.schemas[e].expected(r)),o=[];return n&&o.push(o0(e,t,n,r.descriptor)),a&&o.push([o0(e,t,a.title,r.descriptor)].concat(a.values.map(i=>Pd(i,r.loggerPrintWidth))).join(` -`)),Nd(o,r.loggerPrintWidth)},"un"),c(o0,"nn"),c(Pd,"on"),c(Nd,"sn"),D0=Bn(ao(),1),yl=[],o1=[],c(L5,"Rt"),i1=c((e,t,{descriptor:r,logger:n,schemas:a})=>{let o=[`Ignored unknown option ${D0.default.yellow(r.pair({key:e,value:t}))}.`],i=Object.keys(a).sort().find(s=>L5(e,s)<3);i&&o.push(`Did you mean ${D0.default.blue(r.key(i))}?`),n.warn(o.join(" "))},"it"),E8=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"],c(O5,"so"),or=(S0=class{static create(e){return O5(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 io}},c(S0,"w"),S0),c(V6,"Do"),x8=(A0=class extends or{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}},c(A0,"st"),A0),C8=(k0=class extends or{expected(){return"anything"}validate(){return!0}},c(k0,"Dt"),k0),D8=(_0=class extends or{constructor({valueSchema:e,name:t=e.name,...r}){super({...r,name:t}),this._valueSchema=e}expected(e){let{text:t,list:r}=e.normalizeExpectedResult(this._valueSchema.expected(e));return{text:t&&`an array of ${t}`,list:r&&{title:"an array of the following values",values:[{list:r}]}}}validate(e,t){if(!Array.isArray(e))return!1;let r=[];for(let n of e){let a=t.normalizeValidateResult(this._valueSchema.validate(n,t),n);a!==!0&&r.push(a.value)}return r.length===0?!0:{value:r}}deprecated(e,t){let r=[];for(let n of e){let a=t.normalizeDeprecatedResult(this._valueSchema.deprecated(n,t),n);a!==!1&&r.push(...a.map(({value:o})=>({value:[o]})))}return r}forward(e,t){let r=[];for(let n of e){let a=t.normalizeForwardResult(this._valueSchema.forward(n,t),n);r.push(...a.map(i0))}return r}redirect(e,t){let r=[],n=[];for(let a of e){let o=t.normalizeRedirectResult(this._valueSchema.redirect(a,t),a);"remain"in o&&r.push(o.remain),n.push(...o.redirect.map(i0))}return r.length===0?{redirect:n}:{redirect:n,remain:r}}overlap(e,t){return e.concat(t)}},c(_0,"at"),_0),c(i0,"an"),S8=(F0=class extends or{expected(){return"true or false"}validate(e){return typeof e=="boolean"}},c(F0,"ct"),F0),c(M5,"ln"),c($5,"fn"),c(P5,"Fn"),c(N5,"pn"),c(H5,"dn"),c(j5,"mn"),c(V5,"En"),c(l0,"jt"),c(Hd,"Vt"),c(s0,"$t"),c(u0,"Mt"),c(jd,"cn"),c(fl,"lt"),c(c0,"Wt"),c(U6,"ao"),A8=(I0=class extends or{constructor(e){super(e),this._choices=$5(e.choices.map(t=>t&&typeof t=="object"?t:{value:t}),"value")}expected({descriptor:e}){let t=Array.from(this._choices.keys()).map(a=>this._choices.get(a)).filter(({hidden:a})=>!a).map(a=>a.value).sort(j5).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}},c(I0,"ft"),I0),Pv=(T0=class extends or{expected(){return"a number"}validate(e,t){return typeof e=="number"}},c(T0,"Ft"),T0),k8=(R0=class extends Pv{expected(){return"an integer"}validate(e,t){return t.normalizeValidateResult(super.validate(e,t),e)===!0&&H5(e)}},c(R0,"pt"),R0),l1=(B0=class extends or{expected(){return"a string"}validate(e){return typeof e=="string"}},c(B0,"Ye"),B0),Nv=Kr,Hv=i1,jv=$v,Vv=Mv,_8=(z0=class{constructor(e,t){let{logger:r=console,loggerPrintWidth:n=80,descriptor:a=Nv,unknown:o=Hv,invalid:i=jv,deprecated:s=Vv,missing:u=c(()=>!1,"a"),required:d=c(()=>!1,"c"),preprocess:p=c(m=>m,"d"),postprocess:h=c(()=>io,"f")}=t||{};this._utils={descriptor:a,logger:r||{warn:c(()=>{},"warn")},loggerPrintWidth:n,schemas:M5(e,"name"),normalizeDefaultResult:l0,normalizeExpectedResult:Hd,normalizeDeprecatedResult:u0,normalizeForwardResult:fl,normalizeRedirectResult:c0,normalizeValidateResult:s0},this._unknownHandler=o,this._invalidHandler=V5(i),this._deprecatedHandler=s,this._identifyMissing=(m,f)=>!(m in f)||u(m,f),this._identifyRequired=d,this._preprocess=p,this._postprocess=h,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=P5()}normalize(e){let t={},r=[this._preprocess(e,this._utils)],n=c(()=>{for(;r.length!==0;){let a=r.shift(),o=this._applyNormalization(a,t);r.push(...o)}},"u");n();for(let a of Object.keys(this._utils.schemas)){let o=this._utils.schemas[a];if(!(a in t)){let i=l0(o.default(this._utils));"value"in i&&r.push({[a]:i.value})}}n();for(let a of Object.keys(this._utils.schemas)){if(!(a in t))continue;let o=this._utils.schemas[a],i=t[a],s=o.postprocess(i,this._utils);s!==io&&(this._applyValidation(s,a,o),t[a]=s)}return this._applyPostprocess(t),this._applyRequiredCheck(t),t}_applyNormalization(e,t){let r=[],{knownKeys:n,unknownKeys:a}=this._partitionOptionKeys(e);for(let o of n){let i=this._utils.schemas[o],s=i.preprocess(e[o],this._utils);this._applyValidation(s,o,i);let u=c(({from:h,to:m})=>{r.push(typeof m=="string"?{[m]:h}:{[m.key]:m.value})},"a"),d=c(({value:h,redirectTo:m})=>{let f=u0(i.deprecated(h,this._utils),s,!0);if(f!==!1)if(f===!0)this._hasDeprecationWarned(o)||this._utils.logger.warn(this._deprecatedHandler(o,m,this._utils));else for(let{value:v}of f){let g={key:o,value:v};if(!this._hasDeprecationWarned(g)){let b=typeof m=="string"?{key:m,value:v}:m;this._utils.logger.warn(this._deprecatedHandler(g,b,this._utils))}}},"c");fl(i.forward(s,this._utils),s).forEach(u);let p=c0(i.redirect(s,this._utils),s);if(p.redirect.forEach(u),"remain"in p){let h=p.remain;t[o]=o in t?i.overlap(t[o],h,this._utils):h,d({value:h})}for(let{from:h,to:m}of p.redirect)d({value:h,redirectTo:m})}for(let o of a){let i=e[o];this._applyUnknownHandler(o,i,t,(s,u)=>{r.push({[s]:u})})}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,n1,this._utils)}_partitionOptionKeys(e){let[t,r]=N5(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=s0(r.validate(e,this._utils),e);if(n!==!0)throw this._invalidHandler(t,n.value,this._utils)}_applyUnknownHandler(e,t,r,n){let a=this._unknownHandler(e,t,this._utils);if(a)for(let o of Object.keys(a)){if(this._identifyMissing(o,a))continue;let i=a[o];o in this._utils.schemas?n(o,i):r[o]=i}}_applyPostprocess(e){let t=this._postprocess(e,this._utils);if(t!==io){if(t.delete)for(let r of t.delete)delete e[r];if(t.override){let{knownKeys:r,unknownKeys:n}=this._partitionOptionKeys(t.override);for(let a of r){let o=t.override[a];this._applyValidation(o,a,this._utils.schemas[a]),e[a]=o}for(let a of n){let o=t.override[a];this._applyUnknownHandler(a,o,e,(i,s)=>{let u=this._utils.schemas[i];this._applyValidation(s,i,u),e[i]=s})}}}}},c(z0,"dt"),z0),c(U5,"lo"),c(q6,"fo"),c(W6,"Fo"),F8=U5,Uv=c((e,t,r)=>{if(!(e&&t==null)){if(t.findLast)return t.findLast(r);for(let n=t.length-1;n>=0;n--){let a=t[n];if(r(a,n,t))return a}}},"po"),Bf=Uv,c(Df,"Gt"),c(G6,"Bn"),c(Sf,"mt"),c(Af,"Kt"),c(K6,"_n"),s1={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null},c(q5,"mo"),wn=q5,I8=Bn(_v(),1),c(W5,"_o"),c(Y6,"ko"),Ra=W5,c(J6,"In"),c(Z6,"xo"),c(G5,"bo"),T8=G5,c(mi,"je"),c(Vd,"Yn"),c(kf,"qt"),c(K5,"wo"),R8=K5,c(Y5,"Oo"),B8=Y5,z8=c(({parser:e})=>e==="json"||e==="json5"||e==="jsonc"||e==="json-stringify","No"),c(X6,"So"),c(Ud,"$n"),c(Q6,"To"),c(es,"Jt"),c(e8,"vo"),zf=new Set(["JsonRoot","ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),L8=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]),c(qd,"Mn"),c(t8,"Un"),Lf="\uFEFF",u1=Symbol("cursor"),c(_f,"Jn"),c(r8,"Lo"),c(hl,"Xt"),c(Wd,"Gn"),c(Ff,"Xn"),c(Gd,"Kn"),c(Kd,"Zt"),c(J5,"Zn"),c(Z5,"Qn"),c(X5,"eu"),c(Q5,"tu"),c(ev,"ru"),O0={},no(O0,{builders:c(()=>qv,"builders"),printer:c(()=>Wv,"printer"),utils:c(()=>Gv,"utils")}),qv={join:Td,line:Zd,softline:Bv,hardline:_r,literalline:Xd,group:Fd,conditionalGroup:m5,fill:Id,lineSuffix:Jl,lineSuffixBoundary:Tv,cursor:rs,breakParent:Eo,ifBreak:g5,trim:Rv,indent:Vo,indentIfBreak:v5,align:dn,addAlignmentToDoc:Rd,markAsRoot:f5,dedentToRoot:p5,dedent:h5,hardlineWithoutBreakParent:ml,literallineWithoutBreakParent:v0,label:y5,concat:c(e=>e,"concat")},Wv={printDocToString:qo},Gv={willBreak:x5,traverseDoc:ts,findInDoc:Zl,mapDoc:Uo,removeLines:C5,stripTrailingHardline:Ld,replaceEndOfLine:D5,canBreak:S5},Kv="3.2.5",M0={},no(M0,{addDanglingComment:c(()=>To,"addDanglingComment"),addLeadingComment:c(()=>tn,"addLeadingComment"),addTrailingComment:c(()=>rn,"addTrailingComment"),getAlignmentSize:c(()=>as,"getAlignmentSize"),getIndentSize:c(()=>Yv,"getIndentSize"),getMaxContinuousCount:c(()=>Jv,"getMaxContinuousCount"),getNextNonSpaceNonCommentCharacter:c(()=>Zv,"getNextNonSpaceNonCommentCharacter"),getNextNonSpaceNonCommentCharacterIndex:c(()=>dv,"getNextNonSpaceNonCommentCharacterIndex"),getStringWidth:c(()=>ns,"getStringWidth"),hasNewline:c(()=>ur,"hasNewline"),hasNewlineInRange:c(()=>Xv,"hasNewlineInRange"),hasSpaces:c(()=>Qv,"hasSpaces"),isNextLineEmpty:c(()=>fv,"isNextLineEmpty"),isNextLineEmptyAfterIndex:c(()=>ss,"isNextLineEmptyAfterIndex"),isPreviousLineEmpty:c(()=>pv,"isPreviousLineEmpty"),makeString:c(()=>e4,"makeString"),skip:c(()=>Rn,"skip"),skipEverythingButNewLine:c(()=>e1,"skipEverythingButNewLine"),skipInlineComment:c(()=>is,"skipInlineComment"),skipNewline:c(()=>zr,"skipNewline"),skipSpaces:c(()=>pr,"skipSpaces"),skipToLineEnd:c(()=>Qd,"skipToLineEnd"),skipTrailingComment:c(()=>ls,"skipTrailingComment"),skipWhitespace:c(()=>Ov,"skipWhitespace")}),c(tv,"Vo"),is=tv,c(rv,"$o"),ls=rv,c(nv,"Mo"),tu=nv,c(av,"Wo"),ss=av,c(ov,"Uo"),Yv=ov,c(n8,"er"),c(iv,"zo"),Jv=iv,c(lv,"Go"),Zv=lv,c(sv,"Ko"),Xv=sv,c(uv,"Ho"),Qv=uv,c(cv,"qo"),e4=cv,c(a8,"Jo"),c(dv,"Xo"),c(o8,"Zo"),c(pv,"Qo"),c(i8,"ei"),c(fv,"ti"),c(br,"ae"),c1=br(Kd),c(Yd,"lu"),c(hv,"ri"),t4=br(Md,0),r4={parse:br(J5),formatAST:br(Z5),formatDoc:br(X5),printToDoc:br(Q5),printDocToString:br(ev)},O8=h0});function M8(e){for(var t=[],r=1;r{c(M8,"dedent")}),$8={};ka($8,{formatter:()=>P8});var n4,P8,jk=B(()=>{n4=De(Bs(),1),Pk(),Nk(),Hk(),P8=(0,n4.default)(2)(async(e,t)=>e===!1?t:e==="dedent"||e===!0?M8(t):(await O8.format(t,{parser:e,plugins:[y6],htmlWhitespaceSensitivity:"ignore"})).trim())}),d1,p1,Vk=B(()=>{d1=c(function(e){return e.reduce(function(t,r){var n=r[0],a=r[1];return t[n]=a,t},{})},"fromEntries"),p1=typeof window<"u"&&window.document&&window.document.createElement?l.useLayoutEffect:l.useEffect}),Le,Qe,et,Oe,us,Xn,ln,Qn,N8,Of,Un,H8,f1,Mf,a4,o4,i4,l4,s4,u4,c4,d4,p4,j8,at=B(()=>{Le="top",Qe="bottom",et="right",Oe="left",us="auto",Xn=[Le,Qe,et,Oe],ln="start",Qn="end",N8="clippingParents",Of="viewport",Un="popper",H8="reference",f1=Xn.reduce(function(e,t){return e.concat([t+"-"+ln,t+"-"+Qn])},[]),Mf=[].concat(Xn,[us]).reduce(function(e,t){return e.concat([t,t+"-"+ln,t+"-"+Qn])},[]),a4="beforeRead",o4="read",i4="afterRead",l4="beforeMain",s4="main",u4="afterMain",c4="beforeWrite",d4="write",p4="afterWrite",j8=[a4,o4,i4,l4,s4,u4,c4,d4,p4]});function Et(e){return e?(e.nodeName||"").toLowerCase():null}var En=B(()=>{c(Et,"getNodeName")});function Ve(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}var Qt=B(()=>{c(Ve,"getWindow")});function Lr(e){var t=Ve(e).Element;return e instanceof t||e instanceof Element}function Xe(e){var t=Ve(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function ru(e){if(typeof ShadowRoot>"u")return!1;var t=Ve(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var ot=B(()=>{Qt(),c(Lr,"isElement"),c(Xe,"isHTMLElement"),c(ru,"isShadowRoot")});function f4(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},a=t.attributes[r]||{},o=t.elements[r];!Xe(o)||!Et(o)||(Object.assign(o.style,n),Object.keys(a).forEach(function(i){var s=a[i];s===!1?o.removeAttribute(i):o.setAttribute(i,s===!0?"":s)}))})}function h4(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var a=t.elements[n],o=t.attributes[n]||{},i=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),s=i.reduce(function(u,d){return u[d]="",u},{});!Xe(a)||!Et(a)||(Object.assign(a.style,s),Object.keys(o).forEach(function(u){a.removeAttribute(u)}))})}}var V8,Uk=B(()=>{En(),ot(),c(f4,"applyStyles"),c(h4,"effect"),V8={name:"applyStyles",enabled:!0,phase:"write",fn:f4,effect:h4,requires:["computeStyles"]}});function vt(e){return e.split("-")[0]}var xn=B(()=>{c(vt,"getBasePlacement")}),Fr,Wo,fn,Cn=B(()=>{Fr=Math.max,Wo=Math.min,fn=Math.round});function cs(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}var U8=B(()=>{c(cs,"getUAString")});function $f(){return!/^((?!chrome|android).)*safari/i.test(cs())}var q8=B(()=>{U8(),c($f,"isLayoutViewport")});function hn(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),a=1,o=1;t&&Xe(e)&&(a=e.offsetWidth>0&&fn(n.width)/e.offsetWidth||1,o=e.offsetHeight>0&&fn(n.height)/e.offsetHeight||1);var i=Lr(e)?Ve(e):window,s=i.visualViewport,u=!$f()&&r,d=(n.left+(u&&s?s.offsetLeft:0))/a,p=(n.top+(u&&s?s.offsetTop:0))/o,h=n.width/a,m=n.height/o;return{width:h,height:m,top:p,right:d+h,bottom:p+m,left:d,x:d,y:p}}var bi=B(()=>{ot(),Cn(),Qt(),q8(),c(hn,"getBoundingClientRect")});function nu(e){var t=hn(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}var Pf=B(()=>{bi(),c(nu,"getLayoutRect")});function Nf(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&ru(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}var W8=B(()=>{ot(),c(Nf,"contains")});function Zt(e){return Ve(e).getComputedStyle(e)}var wi=B(()=>{Qt(),c(Zt,"getComputedStyle")});function G8(e){return["table","td","th"].indexOf(Et(e))>=0}var qk=B(()=>{En(),c(G8,"isTableElement")});function vr(e){return((Lr(e)?e.ownerDocument:e.document)||window.document).documentElement}var $r=B(()=>{ot(),c(vr,"getDocumentElement")});function Ei(e){return Et(e)==="html"?e:e.assignedSlot||e.parentNode||(ru(e)?e.host:null)||vr(e)}var au=B(()=>{En(),$r(),ot(),c(Ei,"getParentNode")});function h1(e){return!Xe(e)||Zt(e).position==="fixed"?null:e.offsetParent}function K8(e){var t=/firefox/i.test(cs()),r=/Trident/i.test(cs());if(r&&Xe(e)){var n=Zt(e);if(n.position==="fixed")return null}var a=Ei(e);for(ru(a)&&(a=a.host);Xe(a)&&["html","body"].indexOf(Et(a))<0;){var o=Zt(a);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return a;a=a.parentNode}return null}function Ba(e){for(var t=Ve(e),r=h1(e);r&&G8(r)&&Zt(r).position==="static";)r=h1(r);return r&&(Et(r)==="html"||Et(r)==="body"&&Zt(r).position==="static")?t:r||K8(e)||t}var xi=B(()=>{Qt(),En(),wi(),ot(),qk(),au(),U8(),c(h1,"getTrueOffsetParent"),c(K8,"getContainingBlock"),c(Ba,"getOffsetParent")});function ou(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}var Hf=B(()=>{c(ou,"getMainAxisFromPlacement")});function ea(e,t,r){return Fr(e,Wo(t,r))}function Y8(e,t,r){var n=ea(e,t,r);return n>r?r:n}var J8=B(()=>{Cn(),c(ea,"within"),c(Y8,"withinMaxClamp")});function jf(){return{top:0,right:0,bottom:0,left:0}}var Z8=B(()=>{c(jf,"getFreshSideObject")});function Vf(e){return Object.assign({},jf(),e)}var X8=B(()=>{Z8(),c(Vf,"mergePaddingObject")});function Uf(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var Q8=B(()=>{c(Uf,"expandToHashMap")});function m4(e){var t,r=e.state,n=e.name,a=e.options,o=r.elements.arrow,i=r.modifiersData.popperOffsets,s=vt(r.placement),u=ou(s),d=[Oe,et].indexOf(s)>=0,p=d?"height":"width";if(!(!o||!i)){var h=eE(a.padding,r),m=nu(o),f=u==="y"?Le:Oe,v=u==="y"?Qe:et,g=r.rects.reference[p]+r.rects.reference[u]-i[u]-r.rects.popper[p],b=i[u]-r.rects.reference[u],C=Ba(o),w=C?u==="y"?C.clientHeight||0:C.clientWidth||0:0,x=g/2-b/2,E=h[f],D=w-m[p]-h[v],S=w/2-m[p]/2+x,A=ea(E,S,D),k=u;r.modifiersData[n]=(t={},t[k]=A,t.centerOffset=A-S,t)}}function g4(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)||Nf(t.elements.popper,a)&&(t.elements.arrow=a))}var eE,tE,Wk=B(()=>{xn(),Pf(),W8(),xi(),Hf(),J8(),X8(),Q8(),at(),eE=c(function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,Vf(typeof e!="number"?e:Uf(e,Xn))},"toPaddingObject"),c(m4,"arrow"),c(g4,"effect"),tE={name:"arrow",enabled:!0,phase:"main",fn:m4,effect:g4,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}});function mn(e){return e.split("-")[1]}var Ci=B(()=>{c(mn,"getVariation")});function rE(e,t){var r=e.x,n=e.y,a=t.devicePixelRatio||1;return{x:fn(r*a)/a||0,y:fn(n*a)/a||0}}function m1(e){var t,r=e.popper,n=e.popperRect,a=e.placement,o=e.variation,i=e.offsets,s=e.position,u=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,b=typeof p=="function"?p({x:f,y:g}):{x:f,y:g};f=b.x,g=b.y;var C=i.hasOwnProperty("x"),w=i.hasOwnProperty("y"),x=Oe,E=Le,D=window;if(d){var S=Ba(r),A="clientHeight",k="clientWidth";if(S===Ve(r)&&(S=vr(r),Zt(S).position!=="static"&&s==="absolute"&&(A="scrollHeight",k="scrollWidth")),S=S,a===Le||(a===Oe||a===et)&&o===Qn){E=Qe;var F=h&&S===D&&D.visualViewport?D.visualViewport.height:S[A];g-=F-n.height,g*=u?1:-1}if(a===Oe||(a===Le||a===Qe)&&o===Qn){x=et;var T=h&&S===D&&D.visualViewport?D.visualViewport.width:S[k];f-=T-n.width,f*=u?1:-1}}var R=Object.assign({position:s},d&&nE),L=p===!0?rE({x:f,y:g},Ve(r)):{x:f,y:g};if(f=L.x,g=L.y,u){var z;return Object.assign({},R,(z={},z[E]=w?"0":"",z[x]=C?"0":"",z.transform=(D.devicePixelRatio||1)<=1?"translate("+f+"px, "+g+"px)":"translate3d("+f+"px, "+g+"px, 0)",z))}return Object.assign({},R,(t={},t[E]=w?g+"px":"",t[x]=C?f+"px":"",t.transform="",t))}function v4(e){var t=e.state,r=e.options,n=r.gpuAcceleration,a=n===void 0?!0:n,o=r.adaptive,i=o===void 0?!0:o,s=r.roundOffsets,u=s===void 0?!0:s,d={placement:vt(t.placement),variation:mn(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,m1(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:u})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,m1(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var nE,aE,Gk=B(()=>{at(),xi(),Qt(),$r(),wi(),xn(),Ci(),Cn(),nE={top:"auto",right:"auto",bottom:"auto",left:"auto"},c(rE,"roundOffsetsByDPR"),c(m1,"mapToStyles"),c(v4,"computeStyles"),aE={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:v4,data:{}}});function y4(e){var t=e.state,r=e.instance,n=e.options,a=n.scroll,o=a===void 0?!0:a,i=n.resize,s=i===void 0?!0:i,u=Ve(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&d.forEach(function(p){p.addEventListener("scroll",r.update,xo)}),s&&u.addEventListener("resize",r.update,xo),function(){o&&d.forEach(function(p){p.removeEventListener("scroll",r.update,xo)}),s&&u.removeEventListener("resize",r.update,xo)}}var xo,oE,Kk=B(()=>{Qt(),xo={passive:!0},c(y4,"effect"),oE={name:"eventListeners",enabled:!0,phase:"write",fn:c(function(){},"fn"),effect:y4,data:{}}});function Ro(e){return e.replace(/left|right|bottom|top/g,function(t){return iE[t]})}var iE,Yk=B(()=>{iE={left:"right",right:"left",bottom:"top",top:"bottom"},c(Ro,"getOppositePlacement")});function g1(e){return e.replace(/start|end/g,function(t){return lE[t]})}var lE,Jk=B(()=>{lE={start:"end",end:"start"},c(g1,"getOppositeVariationPlacement")});function iu(e){var t=Ve(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}var qf=B(()=>{Qt(),c(iu,"getWindowScroll")});function lu(e){return hn(vr(e)).left+iu(e).scrollLeft}var Wf=B(()=>{bi(),$r(),qf(),c(lu,"getWindowScrollBarX")});function sE(e,t){var r=Ve(e),n=vr(e),a=r.visualViewport,o=n.clientWidth,i=n.clientHeight,s=0,u=0;if(a){o=a.width,i=a.height;var d=$f();(d||!d&&t==="fixed")&&(s=a.offsetLeft,u=a.offsetTop)}return{width:o,height:i,x:s+lu(e),y:u}}var Zk=B(()=>{Qt(),$r(),Wf(),q8(),c(sE,"getViewportRect")});function uE(e){var t,r=vr(e),n=iu(e),a=(t=e.ownerDocument)==null?void 0:t.body,o=Fr(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),i=Fr(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),s=-n.scrollLeft+lu(e),u=-n.scrollTop;return Zt(a||r).direction==="rtl"&&(s+=Fr(r.clientWidth,a?a.clientWidth:0)-o),{width:o,height:i,x:s,y:u}}var Xk=B(()=>{$r(),wi(),Wf(),qf(),Cn(),c(uE,"getDocumentRect")});function su(e){var t=Zt(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}var Gf=B(()=>{wi(),c(su,"isScrollParent")});function Kf(e){return["html","body","#document"].indexOf(Et(e))>=0?e.ownerDocument.body:Xe(e)&&su(e)?e:Kf(Ei(e))}var Qk=B(()=>{au(),Gf(),En(),ot(),c(Kf,"getScrollParent")});function ta(e,t){var r;t===void 0&&(t=[]);var n=Kf(e),a=n===((r=e.ownerDocument)==null?void 0:r.body),o=Ve(n),i=a?[o].concat(o.visualViewport||[],su(n)?n:[]):n,s=t.concat(i);return a?s:s.concat(ta(Ei(i)))}var cE=B(()=>{Qk(),au(),Qt(),Gf(),c(ta,"listScrollParents")});function ds(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}var dE=B(()=>{c(ds,"rectToClientRect")});function pE(e,t){var r=hn(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 v1(e,t,r){return t===Of?ds(sE(e,r)):Lr(t)?pE(t,r):ds(uE(vr(e)))}function fE(e){var t=ta(Ei(e)),r=["absolute","fixed"].indexOf(Zt(e).position)>=0,n=r&&Xe(e)?Ba(e):e;return Lr(n)?t.filter(function(a){return Lr(a)&&Nf(a,n)&&Et(a)!=="body"}):[]}function hE(e,t,r,n){var a=t==="clippingParents"?fE(e):[].concat(t),o=[].concat(a,[r]),i=o[0],s=o.reduce(function(u,d){var p=v1(e,d,n);return u.top=Fr(p.top,u.top),u.right=Wo(p.right,u.right),u.bottom=Wo(p.bottom,u.bottom),u.left=Fr(p.left,u.left),u},v1(e,i,n));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}var e_=B(()=>{at(),Zk(),Xk(),cE(),xi(),$r(),wi(),ot(),bi(),au(),W8(),En(),dE(),Cn(),c(pE,"getInnerBoundingClientRect"),c(v1,"getClientRectFromMixedType"),c(fE,"getClippingParents"),c(hE,"getClippingRect")});function Yf(e){var t=e.reference,r=e.element,n=e.placement,a=n?vt(n):null,o=n?mn(n):null,i=t.x+t.width/2-r.width/2,s=t.y+t.height/2-r.height/2,u;switch(a){case Le:u={x:i,y:t.y-r.height};break;case Qe:u={x:i,y:t.y+t.height};break;case et:u={x:t.x+t.width,y:s};break;case Oe:u={x:t.x-r.width,y:s};break;default:u={x:t.x,y:t.y}}var d=a?ou(a):null;if(d!=null){var p=d==="y"?"height":"width";switch(o){case ln:u[d]=u[d]-(t[p]/2-r[p]/2);break;case Qn:u[d]=u[d]+(t[p]/2-r[p]/2);break}}return u}var mE=B(()=>{xn(),Ci(),Hf(),at(),c(Yf,"computeOffsets")});function va(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=n===void 0?e.placement:n,o=r.strategy,i=o===void 0?e.strategy:o,s=r.boundary,u=s===void 0?N8:s,d=r.rootBoundary,p=d===void 0?Of:d,h=r.elementContext,m=h===void 0?Un:h,f=r.altBoundary,v=f===void 0?!1:f,g=r.padding,b=g===void 0?0:g,C=Vf(typeof b!="number"?b:Uf(b,Xn)),w=m===Un?H8:Un,x=e.rects.popper,E=e.elements[v?w:m],D=hE(Lr(E)?E:E.contextElement||vr(e.elements.popper),u,p,i),S=hn(e.elements.reference),A=Yf({reference:S,element:x,strategy:"absolute",placement:a}),k=ds(Object.assign({},x,A)),F=m===Un?k:S,T={top:D.top-F.top+C.top,bottom:F.bottom-D.bottom+C.bottom,left:D.left-F.left+C.left,right:F.right-D.right+C.right},R=e.modifiersData.offset;if(m===Un&&R){var L=R[a];Object.keys(T).forEach(function(z){var M=[et,Qe].indexOf(z)>=0?1:-1,O=[Le,Qe].indexOf(z)>=0?"y":"x";T[z]+=L[O]*M})}return T}var uu=B(()=>{e_(),$r(),bi(),mE(),dE(),at(),ot(),X8(),Q8(),c(va,"detectOverflow")});function gE(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=r.boundary,o=r.rootBoundary,i=r.padding,s=r.flipVariations,u=r.allowedAutoPlacements,d=u===void 0?Mf:u,p=mn(n),h=p?s?f1:f1.filter(function(v){return mn(v)===p}):Xn,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]=va(e,{placement:g,boundary:a,rootBoundary:o,padding:i})[vt(g)],v},{});return Object.keys(f).sort(function(v,g){return f[v]-f[g]})}var t_=B(()=>{Ci(),at(),uu(),xn(),c(gE,"computeAutoPlacement")});function vE(e){if(vt(e)===us)return[];var t=Ro(e);return[g1(e),t,g1(t)]}function b4(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var a=r.mainAxis,o=a===void 0?!0:a,i=r.altAxis,s=i===void 0?!0:i,u=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,b=t.options.placement,C=vt(b),w=C===b,x=u||(w||!v?[Ro(b)]:vE(b)),E=[b].concat(x).reduce(function(re,N){return re.concat(vt(N)===us?gE(t,{placement:N,boundary:p,rootBoundary:h,padding:d,flipVariations:v,allowedAutoPlacements:g}):N)},[]),D=t.rects.reference,S=t.rects.popper,A=new Map,k=!0,F=E[0],T=0;T=0,O=M?"width":"height",$=va(t,{placement:R,boundary:p,rootBoundary:h,altBoundary:m,padding:d}),j=M?z?et:Oe:z?Qe:Le;D[O]>S[O]&&(j=Ro(j));var G=Ro(j),H=[];if(o&&H.push($[L]<=0),s&&H.push($[j]<=0,$[G]<=0),H.every(function(re){return re})){F=R,k=!1;break}A.set(R,H)}if(k)for(var K=v?3:1,te=c(function(re){var N=E.find(function(Y){var J=A.get(Y);if(J)return J.slice(0,re).every(function(pe){return pe})});if(N)return F=N,"break"},"_loop"),le=K;le>0;le--){var Q=te(le);if(Q==="break")break}t.placement!==F&&(t.modifiersData[n]._skip=!0,t.placement=F,t.reset=!0)}}var yE,r_=B(()=>{Yk(),xn(),Jk(),uu(),t_(),at(),Ci(),c(vE,"getExpandedFallbackPlacements"),c(b4,"flip"),yE={name:"flip",enabled:!0,phase:"main",fn:b4,requiresIfExists:["offset"],data:{_skip:!1}}});function y1(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 b1(e){return[Le,et,Qe,Oe].some(function(t){return e[t]>=0})}function w4(e){var t=e.state,r=e.name,n=t.rects.reference,a=t.rects.popper,o=t.modifiersData.preventOverflow,i=va(t,{elementContext:"reference"}),s=va(t,{altBoundary:!0}),u=y1(i,n),d=y1(s,a,o),p=b1(u),h=b1(d);t.modifiersData[r]={referenceClippingOffsets:u,popperEscapeOffsets:d,isReferenceHidden:p,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":h})}var bE,n_=B(()=>{at(),uu(),c(y1,"getSideOffsets"),c(b1,"isAnySideFullyClipped"),c(w4,"hide"),bE={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:w4}});function wE(e,t,r){var n=vt(e),a=[Oe,Le].indexOf(n)>=0?-1:1,o=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,i=o[0],s=o[1];return i=i||0,s=(s||0)*a,[Oe,et].indexOf(n)>=0?{x:s,y:i}:{x:i,y:s}}function E4(e){var t=e.state,r=e.options,n=e.name,a=r.offset,o=a===void 0?[0,0]:a,i=Mf.reduce(function(p,h){return p[h]=wE(h,t.rects,o),p},{}),s=i[t.placement],u=s.x,d=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=d),t.modifiersData[n]=i}var EE,a_=B(()=>{xn(),at(),c(wE,"distanceAndSkiddingToXY"),c(E4,"offset"),EE={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:E4}});function x4(e){var t=e.state,r=e.name;t.modifiersData[r]=Yf({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var xE,o_=B(()=>{mE(),c(x4,"popperOffsets"),xE={name:"popperOffsets",enabled:!0,phase:"read",fn:x4,data:{}}});function CE(e){return e==="x"?"y":"x"}var i_=B(()=>{c(CE,"getAltAxis")});function C4(e){var t=e.state,r=e.options,n=e.name,a=r.mainAxis,o=a===void 0?!0:a,i=r.altAxis,s=i===void 0?!1:i,u=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,b=va(t,{boundary:u,rootBoundary:d,padding:h,altBoundary:p}),C=vt(t.placement),w=mn(t.placement),x=!w,E=ou(C),D=CE(E),S=t.modifiersData.popperOffsets,A=t.rects.reference,k=t.rects.popper,F=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,T=typeof F=="number"?{mainAxis:F,altAxis:F}:Object.assign({mainAxis:0,altAxis:0},F),R=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,L={x:0,y:0};if(S){if(o){var z,M=E==="y"?Le:Oe,O=E==="y"?Qe:et,$=E==="y"?"height":"width",j=S[E],G=j+b[M],H=j-b[O],K=f?-k[$]/2:0,te=w===ln?A[$]:k[$],le=w===ln?-k[$]:-A[$],Q=t.elements.arrow,re=f&&Q?nu(Q):{width:0,height:0},N=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:jf(),Y=N[M],J=N[O],pe=ea(0,A[$],re[$]),Se=x?A[$]/2-K-pe-Y-T.mainAxis:te-pe-Y-T.mainAxis,At=x?-A[$]/2+K+pe+J+T.mainAxis:le+pe+J+T.mainAxis,Ue=t.elements.arrow&&Ba(t.elements.arrow),lt=Ue?E==="y"?Ue.clientTop||0:Ue.clientLeft||0:0,P=(z=R==null?void 0:R[E])!=null?z:0,st=j+Se-P-lt,kt=j+At-P,Nr=ea(f?Wo(G,st):G,j,f?Fr(H,kt):H);S[E]=Nr,L[E]=Nr-j}if(s){var _n,_t=E==="x"?Le:Oe,Ai=E==="x"?Qe:et,Te=S[D],Hr=D==="y"?"height":"width",Ft=Te+b[_t],Fn=Te-b[Ai],It=[Le,Oe].indexOf(C)!==-1,In=(_n=R==null?void 0:R[D])!=null?_n:0,Tt=It?Ft:Te-A[Hr]-k[Hr]-In+T.altAxis,Ae=It?Te+A[Hr]+k[Hr]-In-T.altAxis:Fn,ut=f&&It?Y8(Tt,Te,Ae):ea(f?Tt:Ft,Te,f?Ae:Fn);S[D]=ut,L[D]=ut-Te}t.modifiersData[n]=L}}var DE,l_=B(()=>{at(),xn(),Hf(),i_(),J8(),Pf(),xi(),uu(),Ci(),Z8(),Cn(),c(C4,"preventOverflow"),DE={name:"preventOverflow",enabled:!0,phase:"main",fn:C4,requiresIfExists:["offset"]}}),SE=B(()=>{});function AE(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}var s_=B(()=>{c(AE,"getHTMLElementScroll")});function kE(e){return e===Ve(e)||!Xe(e)?iu(e):AE(e)}var u_=B(()=>{qf(),Qt(),ot(),s_(),c(kE,"getNodeScroll")});function _E(e){var t=e.getBoundingClientRect(),r=fn(t.width)/e.offsetWidth||1,n=fn(t.height)/e.offsetHeight||1;return r!==1||n!==1}function FE(e,t,r){r===void 0&&(r=!1);var n=Xe(t),a=Xe(t)&&_E(t),o=vr(t),i=hn(e,a,r),s={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(n||!n&&!r)&&((Et(t)!=="body"||su(o))&&(s=kE(t)),Xe(t)?(u=hn(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):o&&(u.x=lu(o))),{x:i.left+s.scrollLeft-u.x,y:i.top+s.scrollTop-u.y,width:i.width,height:i.height}}var c_=B(()=>{bi(),u_(),En(),ot(),Wf(),$r(),Gf(),Cn(),c(_E,"isElementScaled"),c(FE,"getCompositeRect")});function IE(e){var t=new Map,r=new Set,n=[];e.forEach(function(o){t.set(o.name,o)});function a(o){r.add(o.name);var i=[].concat(o.requires||[],o.requiresIfExists||[]);i.forEach(function(s){if(!r.has(s)){var u=t.get(s);u&&a(u)}}),n.push(o)}return c(a,"sort"),e.forEach(function(o){r.has(o.name)||a(o)}),n}function TE(e){var t=IE(e);return j8.reduce(function(r,n){return r.concat(t.filter(function(a){return a.phase===n}))},[])}var d_=B(()=>{at(),c(IE,"order"),c(TE,"orderModifiers")});function RE(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}var p_=B(()=>{c(RE,"debounce")});function BE(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 f_=B(()=>{c(BE,"mergeByName")});function w1(){for(var e=arguments.length,t=new Array(e),r=0;r{c_(),Pf(),cE(),xi(),d_(),p_(),f_(),ot(),E1={placement:"bottom",modifiers:[],strategy:"absolute"},c(w1,"areValidElements"),c(zE,"popperGenerator")}),D4,LE,m_=B(()=>{h_(),Kk(),o_(),Gk(),Uk(),a_(),r_(),l_(),Wk(),n_(),SE(),D4=[oE,xE,aE,V8,EE,yE,DE,tE,bE],LE=zE({defaultModifiers:D4})}),g_=B(()=>{at(),SE(),m_()}),v_=q((e,t)=>{var r=typeof Element<"u",n=typeof Map=="function",a=typeof Set=="function",o=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function i(s,u){if(s===u)return!0;if(s&&u&&typeof s=="object"&&typeof u=="object"){if(s.constructor!==u.constructor)return!1;var d,p,h;if(Array.isArray(s)){if(d=s.length,d!=u.length)return!1;for(p=d;p--!==0;)if(!i(s[p],u[p]))return!1;return!0}var m;if(n&&s instanceof Map&&u instanceof Map){if(s.size!==u.size)return!1;for(m=s.entries();!(p=m.next()).done;)if(!u.has(p.value[0]))return!1;for(m=s.entries();!(p=m.next()).done;)if(!i(p.value[1],u.get(p.value[0])))return!1;return!0}if(a&&s instanceof Set&&u instanceof Set){if(s.size!==u.size)return!1;for(m=s.entries();!(p=m.next()).done;)if(!u.has(p.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(s)&&ArrayBuffer.isView(u)){if(d=s.length,d!=u.length)return!1;for(p=d;p--!==0;)if(s[p]!==u[p])return!1;return!0}if(s.constructor===RegExp)return s.source===u.source&&s.flags===u.flags;if(s.valueOf!==Object.prototype.valueOf&&typeof s.valueOf=="function"&&typeof u.valueOf=="function")return s.valueOf()===u.valueOf();if(s.toString!==Object.prototype.toString&&typeof s.toString=="function"&&typeof u.toString=="function")return s.toString()===u.toString();if(h=Object.keys(s),d=h.length,d!==Object.keys(u).length)return!1;for(p=d;p--!==0;)if(!Object.prototype.hasOwnProperty.call(u,h[p]))return!1;if(r&&s instanceof Element)return!1;for(p=d;p--!==0;)if(!((h[p]==="_owner"||h[p]==="__v"||h[p]==="__o")&&s.$$typeof)&&!i(s[h[p]],u[h[p]]))return!1;return!0}return s!==s&&u!==u}c(i,"equal"),t.exports=c(function(s,u){try{return i(s,u)}catch(d){if((d.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw d}},"isEqual")}),S4,A4,OE,y_=B(()=>{g_(),S4=De(v_()),Vk(),A4=[],OE=c(function(e,t,r){r===void 0&&(r={});var n=l.useRef(null),a={onFirstUpdate:r.onFirstUpdate,placement:r.placement||"bottom",strategy:r.strategy||"absolute",modifiers:r.modifiers||A4},o=l.useState({styles:{popper:{position:a.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),i=o[0],s=o[1],u=l.useMemo(function(){return{name:"updateState",enabled:!0,phase:"write",fn:c(function(h){var m=h.state,f=Object.keys(m.elements);ap.flushSync(function(){s({styles:d1(f.map(function(v){return[v,m.styles[v]||{}]})),attributes:d1(f.map(function(v){return[v,m.attributes[v]]}))})})},"fn"),requires:["computeStyles"]}},[]),d=l.useMemo(function(){var h={onFirstUpdate:a.onFirstUpdate,placement:a.placement,strategy:a.strategy,modifiers:[].concat(a.modifiers,[u,{name:"applyStyles",enabled:!1}])};return(0,S4.default)(n.current,h)?n.current||h:(n.current=h,h)},[a.onFirstUpdate,a.placement,a.strategy,a.modifiers,u]),p=l.useRef();return p1(function(){p.current&&p.current.setOptions(d)},[d]),p1(function(){if(!(e==null||t==null)){var h=r.createPopper||LE,m=h(e,t,d);return p.current=m,function(){m.destroy(),p.current=null}}},[e,t,r.createPopper]),{state:p.current?p.current.state:null,styles:i.styles,attributes:i.attributes,update:p.current?p.current.update:null,forceUpdate:p.current?p.current.forceUpdate:null}},"usePopper")}),b_=B(()=>{y_()});function Jf(e){var t=l.useRef(e);return t.current=e,l.useCallback(function(){return t.current},[])}function ME(e){var t=e.initial,r=e.value,n=e.onChange,a=n===void 0?PE:n;if(t===void 0&&r===void 0)throw new TypeError('Either "value" or "initial" variable must be set. Now both are undefined');var o=l.useState(t),i=o[0],s=o[1],u=Jf(i),d=l.useCallback(function(h){var m=u(),f=typeof h=="function"?h(m):h;typeof f.persist=="function"&&f.persist(),s(f),typeof a=="function"&&a(f)},[u,a]),p=r!==void 0;return[p?r:i,p?a:d]}function x1(e,t){return e===void 0&&(e=0),t===void 0&&(t=0),function(){return{width:0,height:0,top:t,right:e,bottom:t,left:e,x:0,y:0,toJSON:c(function(){return null},"toJSON")}}}function $E(e,t){var r,n,a;e===void 0&&(e={}),t===void 0&&(t={});var o=Object.keys(D1).reduce(function(O,$){var j;return U({},O,(j={},j[$]=O[$]!==void 0?O[$]:D1[$],j))},e),i=l.useMemo(function(){return[{name:"offset",options:{offset:o.offset}}]},Array.isArray(o.offset)?o.offset:[]),s=U({},t,{placement:t.placement||o.placement,modifiers:t.modifiers||i}),u=l.useState(null),d=u[0],p=u[1],h=l.useState(null),m=h[0],f=h[1],v=ME({initial:o.defaultVisible,value:o.visible,onChange:o.onVisibleChange}),g=v[0],b=v[1],C=l.useRef();l.useEffect(function(){return function(){return clearTimeout(C.current)}},[]);var w=OE(o.followCursor?C1:d,m,s),x=w.styles,E=w.attributes,D=zs(w,NE),S=D.update,A=Jf({visible:g,triggerRef:d,tooltipRef:m,finalConfig:o}),k=l.useCallback(function(O){return Array.isArray(o.trigger)?o.trigger.includes(O):o.trigger===O},Array.isArray(o.trigger)?o.trigger:[o.trigger]),F=l.useCallback(function(){clearTimeout(C.current),C.current=window.setTimeout(function(){return b(!1)},o.delayHide)},[o.delayHide,b]),T=l.useCallback(function(){clearTimeout(C.current),C.current=window.setTimeout(function(){return b(!0)},o.delayShow)},[o.delayShow,b]),R=l.useCallback(function(){A().visible?F():T()},[A,F,T]);l.useEffect(function(){if(A().finalConfig.closeOnOutsideClick){var O=c(function($){var j,G=A(),H=G.tooltipRef,K=G.triggerRef,te=($.composedPath==null||(j=$.composedPath())==null?void 0:j[0])||$.target;te instanceof Node&&H!=null&&K!=null&&!H.contains(te)&&!K.contains(te)&&F()},"handleClickOutside");return document.addEventListener("mousedown",O),function(){return document.removeEventListener("mousedown",O)}}},[A,F]),l.useEffect(function(){if(!(d==null||!k("click")))return d.addEventListener("click",R),function(){return d.removeEventListener("click",R)}},[d,k,R]),l.useEffect(function(){if(!(d==null||!k("double-click")))return d.addEventListener("dblclick",R),function(){return d.removeEventListener("dblclick",R)}},[d,k,R]),l.useEffect(function(){if(!(d==null||!k("right-click"))){var O=c(function($){$.preventDefault(),R()},"preventDefaultAndToggle");return d.addEventListener("contextmenu",O),function(){return d.removeEventListener("contextmenu",O)}}},[d,k,R]),l.useEffect(function(){if(!(d==null||!k("focus")))return d.addEventListener("focus",T),d.addEventListener("blur",F),function(){d.removeEventListener("focus",T),d.removeEventListener("blur",F)}},[d,k,T,F]),l.useEffect(function(){if(!(d==null||!k("hover")))return d.addEventListener("mouseenter",T),d.addEventListener("mouseleave",F),function(){d.removeEventListener("mouseenter",T),d.removeEventListener("mouseleave",F)}},[d,k,T,F]),l.useEffect(function(){if(!(m==null||!k("hover")||!A().finalConfig.interactive))return m.addEventListener("mouseenter",T),m.addEventListener("mouseleave",F),function(){m.removeEventListener("mouseenter",T),m.removeEventListener("mouseleave",F)}},[m,k,T,F,A]);var L=D==null||(r=D.state)==null||(n=r.modifiersData)==null||(a=n.hide)==null?void 0:a.isReferenceHidden;l.useEffect(function(){o.closeOnTriggerHidden&&L&&F()},[o.closeOnTriggerHidden,F,L]),l.useEffect(function(){if(!o.followCursor||d==null)return;function O($){var j=$.clientX,G=$.clientY;C1.getBoundingClientRect=x1(j,G),S==null||S()}return c(O,"setMousePosition"),d.addEventListener("mousemove",O),function(){return d.removeEventListener("mousemove",O)}},[o.followCursor,d,S]),l.useEffect(function(){if(!(m==null||S==null||o.mutationObserverOptions==null)){var O=new MutationObserver(S);return O.observe(m,o.mutationObserverOptions),function(){return O.disconnect()}}},[o.mutationObserverOptions,m,S]);var z=c(function(O){return O===void 0&&(O={}),U({},O,{style:U({},O.style,x.popper)},E.popper,{"data-popper-interactive":o.interactive})},"getTooltipProps"),M=c(function(O){return O===void 0&&(O={}),U({},O,E.arrow,{style:U({},O.style,x.arrow),"data-popper-arrow":!0})},"getArrowProps");return U({getArrowProps:M,getTooltipProps:z,setTooltipRef:f,setTriggerRef:p,tooltipRef:m,triggerRef:d,visible:g},D)}var PE,NE,C1,D1,w_=B(()=>{Sp(),Ct(),b_(),c(Jf,"useGetLatest"),PE=c(function(){},"noop"),c(ME,"useControlledState"),c(x1,"generateBoundingClientRect"),NE=["styles","attributes"],C1={getBoundingClientRect:x1()},D1={closeOnOutsideClick:!0,closeOnTriggerHidden:!1,defaultVisible:!1,delayHide:0,delayShow:0,followCursor:!1,interactive:!1,mutationObserverOptions:{attributes:!0,childList:!0,subtree:!0},offset:[0,6],trigger:"hover"},c($E,"usePopperTooltip")}),k4,Ge,nr,_4,F4,S1,E_=B(()=>{k4=De(Bs(),1),Ge=(0,k4.default)(1e3)((e,t,r,n=0)=>t.split("-")[0]===e?r:n),nr=8,_4=_.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:`${Ge("top",r,`${nr*-1}px`,"auto")}`,top:`${Ge("bottom",r,`${nr*-1}px`,"auto")}`,right:`${Ge("left",r,`${nr*-1}px`,"auto")}`,left:`${Ge("right",r,`${nr*-1}px`,"auto")}`,borderBottomWidth:`${Ge("top",r,"0",nr)}px`,borderTopWidth:`${Ge("bottom",r,"0",nr)}px`,borderRightWidth:`${Ge("left",r,"0",nr)}px`,borderLeftWidth:`${Ge("right",r,"0",nr)}px`,borderTopColor:Ge("top",r,e.color[t]||t||e.base==="light"?Wa(e.background.app):e.background.app,"transparent"),borderBottomColor:Ge("bottom",r,e.color[t]||t||e.base==="light"?Wa(e.background.app):e.background.app,"transparent"),borderLeftColor:Ge("left",r,e.color[t]||t||e.base==="light"?Wa(e.background.app):e.background.app,"transparent"),borderRightColor:Ge("right",r,e.color[t]||t||e.base==="light"?Wa(e.background.app):e.background.app,"transparent")})),F4=_.div(({hidden:e})=>({display:e?"none":"inline-block",zIndex:2147483647}),({theme:e,color:t,hasChrome:r})=>r?{background:t&&e.color[t]||t||e.base==="light"?Wa(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}:{}),S1=y.forwardRef(({placement:e="top",hasChrome:t=!0,children:r,arrowProps:n={},tooltipRef:a,color:o,withArrows:i,...s},u)=>y.createElement(F4,{"data-testid":"tooltip",hasChrome:t,ref:u,...s,color:o},t&&i&&y.createElement(_4,{placement:e,...n,color:o}),r)),S1.displayName="Tooltip"}),Zf={};ka(Zf,{WithToolTipState:()=>ps,WithTooltip:()=>ps,WithTooltipPure:()=>A1});const{global:x_}=__STORYBOOK_MODULE_GLOBAL__;var lo,I4,T4,A1,ps,Xf=B(()=>{w_(),E_(),{document:lo}=x_,I4=_.div` - display: inline-block; - cursor: ${e=>e.trigger==="hover"||e.trigger.includes("hover")?"default":"pointer"}; -`,T4=_.g` - cursor: ${e=>e.trigger==="hover"||e.trigger.includes("hover")?"default":"pointer"}; -`,A1=c(({svg:e=!1,trigger:t="click",closeOnOutsideClick:r=!1,placement:n="top",modifiers:a=[{name:"preventOverflow",options:{padding:8}},{name:"offset",options:{offset:[8,8]}},{name:"arrow",options:{padding:8}}],hasChrome:o=!0,defaultVisible:i=!1,withArrows:s,offset:u,tooltip:d,children:p,closeOnTriggerHidden:h,mutationObserverOptions:m,delayHide:f,visible:v,interactive:g,delayShow:b,strategy:C,followCursor:w,onVisibleChange:x,...E})=>{let D=e?T4:I4,{getArrowProps:S,getTooltipProps:A,setTooltipRef:k,setTriggerRef:F,visible:T,state:R}=$E({trigger:t,placement:n,defaultVisible:i,delayHide:f,interactive:g,closeOnOutsideClick:r,closeOnTriggerHidden:h,onVisibleChange:x,delayShow:b,followCursor:w,mutationObserverOptions:m,visible:v,offset:u},{modifiers:a,strategy:C}),L=y.createElement(S1,{placement:R==null?void 0:R.placement,ref:k,hasChrome:o,arrowProps:S(),withArrows:s,...A()},typeof d=="function"?d({onHide:c(()=>x(!1),"onHide")}):d);return y.createElement(y.Fragment,null,y.createElement(D,{trigger:t,ref:F,...E},p),T&&uy.createPortal(L,lo.body))},"WithTooltipPure"),ps=c(({startOpen:e=!1,onVisibleChange:t,...r})=>{let[n,a]=l.useState(e),o=l.useCallback(i=>{t&&t(i)===!1||a(i)},[t]);return l.useEffect(()=>{let i=c(()=>o(!1),"hide");lo.addEventListener("keydown",i,!1);let s=Array.from(lo.getElementsByTagName("iframe")),u=[];return s.forEach(d=>{let p=c(()=>{try{d.contentWindow.document&&(d.contentWindow.document.addEventListener("click",i),u.push(()=>{try{d.contentWindow.document.removeEventListener("click",i)}catch{}}))}catch{}},"bind");p(),d.addEventListener("load",p),u.push(()=>{d.removeEventListener("load",p)})}),()=>{lo.removeEventListener("keydown",i),u.forEach(d=>{d()})}}),y.createElement(A1,{...r,visible:n,onVisibleChange:o})},"WithToolTipState")}),se=c(({...e},t)=>{let r=[e.class,e.className];return delete e.class,e.className=["sbdocs",`sbdocs-${t}`,...r].filter(Boolean).join(" "),e},"nameSpaceClassNames");Ct();_A();Dp();function HE(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,da(e,t)}c(HE,"_inheritsLoose");FA();Dp();function jE(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}c(jE,"_isNativeFunction");Dp();function Qf(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Qf=c(function(){return!!e},"_isNativeReflectConstruct"))()}c(Qf,"_isNativeReflectConstruct");function VE(e,t,r){if(Qf())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var a=new(e.bind.apply(e,n));return r&&da(a,r.prototype),a}c(VE,"_construct");function fs(e){var t=typeof Map=="function"?new Map:void 0;return fs=c(function(r){if(r===null||!jE(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 VE(r,arguments,Ol(this).constructor)}return c(n,"Wrapper"),n.prototype=Object.create(r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),da(n,r)},"_wrapNativeSuper"),fs(e)}c(fs,"_wrapNativeSuper");var C_={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 UE(){for(var e=arguments.length,t=new Array(e),r=0;r1?a-1:0),i=1;i=0&&a<1?(s=o,u=i):a>=1&&a<2?(s=i,u=o):a>=2&&a<3?(u=o,d=i):a>=3&&a<4?(u=i,d=o):a>=4&&a<5?(s=i,d=o):a>=5&&a<6&&(s=o,d=i);var p=r-o/2,h=s+p,m=u+p,f=d+p;return n(h,m,f)}c(ya,"hslToRgb");var R4={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 WE(e){if(typeof e!="string")return e;var t=e.toLowerCase();return R4[t]?"#"+R4[t]:e}c(WE,"nameToHex");var D_=/^#[a-fA-F0-9]{6}$/,S_=/^#[a-fA-F0-9]{8}$/,A_=/^#[a-fA-F0-9]{3}$/,k_=/^#[a-fA-F0-9]{4}$/,$0=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,__=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,F_=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,I_=/^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 cu(e){if(typeof e!="string")throw new Ht(3);var t=WE(e);if(t.match(D_))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(S_)){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(A_))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(k_)){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=$0.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=__.exec(t.substring(0,50));if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10),alpha:parseFloat(""+o[4])>1?parseFloat(""+o[4])/100:parseFloat(""+o[4])};var i=F_.exec(t);if(i){var s=parseInt(""+i[1],10),u=parseInt(""+i[2],10)/100,d=parseInt(""+i[3],10)/100,p="rgb("+ya(s,u,d)+")",h=$0.exec(p);if(!h)throw new Ht(4,t,p);return{red:parseInt(""+h[1],10),green:parseInt(""+h[2],10),blue:parseInt(""+h[3],10)}}var m=I_.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,b="rgb("+ya(f,v,g)+")",C=$0.exec(b);if(!C)throw new Ht(4,t,b);return{red:parseInt(""+C[1],10),green:parseInt(""+C[2],10),blue:parseInt(""+C[3],10),alpha:parseFloat(""+m[4])>1?parseFloat(""+m[4])/100:parseFloat(""+m[4])}}throw new Ht(5)}c(cu,"parseToRgb");function GE(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),o=Math.min(t,r,n),i=(a+o)/2;if(a===o)return e.alpha!==void 0?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var s,u=a-o,d=i>.5?u/(2-a-o):u/(a+o);switch(a){case t:s=(r-n)/u+(r=1?Go(e,t,r):"rgba("+ya(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Go(e.hue,e.saturation,e.lightness):"rgba("+ya(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new Ht(2)}c(JE,"hsla");function hs(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return k1("#"+Ar(e)+Ar(t)+Ar(r));if(typeof e=="object"&&t===void 0&&r===void 0)return k1("#"+Ar(e.red)+Ar(e.green)+Ar(e.blue));throw new Ht(6)}c(hs,"rgb");function Ko(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=cu(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?hs(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?hs(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new Ht(7)}c(Ko,"rgba");var R_=c(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isRgb"),B_=c(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},"isRgba"),z_=c(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isHsl"),L_=c(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"},"isHsla");function th(e){if(typeof e!="object")throw new Ht(8);if(B_(e))return Ko(e);if(R_(e))return hs(e);if(L_(e))return JE(e);if(z_(e))return YE(e);throw new Ht(8)}c(th,"toColorString");function rh(e,t,r){return c(function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):rh(e,t,n)},"fn")}c(rh,"curried");function du(e){return rh(e,e.length,[])}c(du,"curry");function pu(e,t,r){return Math.max(e,Math.min(t,r))}c(pu,"guard");function ZE(e,t){if(t==="transparent")return t;var r=eh(t);return th(U({},r,{lightness:pu(0,1,r.lightness-parseFloat(e))}))}c(ZE,"darken");var O_=du(ZE),qn=O_;function XE(e,t){if(t==="transparent")return t;var r=eh(t);return th(U({},r,{lightness:pu(0,1,r.lightness+parseFloat(e))}))}c(XE,"lighten");var M_=du(XE),B4=M_;function QE(e,t){if(t==="transparent")return t;var r=cu(t),n=typeof r.alpha=="number"?r.alpha:1,a=U({},r,{alpha:pu(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return Ko(a)}c(QE,"transparentize");var $_=du(QE),rt=$_,za=c(({theme:e})=>({margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}}),"headerCommon"),Pr=c(({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"?rt(.1,e.color.defaultText):rt(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border}),"codeCommon"),ue=c(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"}),"withReset"),Dn={margin:"16px 0"},P_=c(({href:e="",...t})=>{let r=/^\//.test(e)?`./?path=${e}`:e,n=/^#.*/.test(e)?"_self":"_top";return y.createElement("a",{href:r,target:n,...t})},"Link"),N_=_(P_)(ue,({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}})),H_=_.blockquote(ue,Dn,({theme:e})=>({borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}}));Os();var j_=c(e=>typeof e=="string","isReactChildString"),V_=/[\n\r]/g,U_=_.code(({theme:e})=>({fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"}),Pr),q_=_(_o)(({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"}})),e9=c(({className:e,children:t,...r})=>{let n=(e||"").match(/lang-(\S+)/),a=l.Children.toArray(t);return a.filter(j_).some(o=>o.match(V_))?y.createElement(q_,{bordered:!0,copyable:!0,language:(n==null?void 0:n[1])??"text",format:!1,...r},t):y.createElement(U_,{...r,className:e},a)},"Code"),W_=_.div(ue),G_=_.dl(ue,Dn,{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}}),K_=_.h1(ue,za,({theme:e})=>({fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold})),t9=_.h2(ue,za,({theme:e})=>({fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`})),r9=_.h3(ue,za,({theme:e})=>({fontSize:`${e.typography.size.m1}px`})),Y_=_.h4(ue,za,({theme:e})=>({fontSize:`${e.typography.size.s3}px`})),J_=_.h5(ue,za,({theme:e})=>({fontSize:`${e.typography.size.s2}px`})),Z_=_.h6(ue,za,({theme:e})=>({fontSize:`${e.typography.size.s2}px`,color:e.color.dark})),X_=_.hr(({theme:e})=>({border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0})),Q_=_.img({maxWidth:"100%"}),eF=_.li(ue,({theme:e})=>({fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":Pr({theme:e})})),tF={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},rF=_.ol(ue,Dn,tF,{listStyle:"decimal"}),nF=_.p(ue,Dn,({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":Pr({theme:e})})),aF=_.pre(ue,Dn,({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"}})),oF=_.span(ue,({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"}}})),iF=_.table(ue,Dn,({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}})),lF=_.title(Pr),sF={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},uF=_.ul(ue,Dn,sF,{listStyle:"disc"}),nh=_.div(ue),n9={h1:c(e=>y.createElement(K_,{...se(e,"h1")}),"h1"),h2:c(e=>y.createElement(t9,{...se(e,"h2")}),"h2"),h3:c(e=>y.createElement(r9,{...se(e,"h3")}),"h3"),h4:c(e=>y.createElement(Y_,{...se(e,"h4")}),"h4"),h5:c(e=>y.createElement(J_,{...se(e,"h5")}),"h5"),h6:c(e=>y.createElement(Z_,{...se(e,"h6")}),"h6"),pre:c(e=>y.createElement(aF,{...se(e,"pre")}),"pre"),a:c(e=>y.createElement(N_,{...se(e,"a")}),"a"),hr:c(e=>y.createElement(X_,{...se(e,"hr")}),"hr"),dl:c(e=>y.createElement(G_,{...se(e,"dl")}),"dl"),blockquote:c(e=>y.createElement(H_,{...se(e,"blockquote")}),"blockquote"),table:c(e=>y.createElement(iF,{...se(e,"table")}),"table"),img:c(e=>y.createElement(Q_,{...se(e,"img")}),"img"),div:c(e=>y.createElement(W_,{...se(e,"div")}),"div"),span:c(e=>y.createElement(oF,{...se(e,"span")}),"span"),li:c(e=>y.createElement(eF,{...se(e,"li")}),"li"),ul:c(e=>y.createElement(uF,{...se(e,"ul")}),"ul"),ol:c(e=>y.createElement(rF,{...se(e,"ol")}),"ol"),p:c(e=>y.createElement(nF,{...se(e,"p")}),"p"),code:c(e=>y.createElement(e9,{...se(e,"code")}),"code"),tt:c(e=>y.createElement(lF,{...se(e,"tt")}),"tt"),resetwrapper:c(e=>y.createElement(nh,{...se(e,"resetwrapper")}),"resetwrapper")},cF=_.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 ${rt(.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 ${rt(.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 ${rt(.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 ${rt(.9,e.color.positiveText)}`:"none"};default:return{}}}),ere=c(({...e})=>y.createElement(cF,{...e}),"Badge"),a9={};ka(a9,{AccessibilityAltIcon:()=>bB,AccessibilityIcon:()=>yB,AddIcon:()=>xT,AdminIcon:()=>sB,AlertAltIcon:()=>YT,AlertIcon:()=>KT,AlignLeftIcon:()=>eI,AlignRightIcon:()=>tI,AppleIcon:()=>wI,ArrowDownIcon:()=>BR,ArrowLeftIcon:()=>zR,ArrowRightIcon:()=>LR,ArrowSolidDownIcon:()=>MR,ArrowSolidLeftIcon:()=>$R,ArrowSolidRightIcon:()=>PR,ArrowSolidUpIcon:()=>OR,ArrowUpIcon:()=>RR,AzureDevOpsIcon:()=>AI,BackIcon:()=>ZR,BasketIcon:()=>yR,BatchAcceptIcon:()=>mT,BatchDenyIcon:()=>hT,BeakerIcon:()=>bR,BellIcon:()=>eR,BitbucketIcon:()=>kI,BoldIcon:()=>sI,BookIcon:()=>qF,BookmarkHollowIcon:()=>lR,BookmarkIcon:()=>sR,BottomBarIcon:()=>XI,BottomBarToggleIcon:()=>QI,BoxIcon:()=>aT,BranchIcon:()=>vI,BrowserIcon:()=>UI,ButtonIcon:()=>NT,CPUIcon:()=>eT,CalendarIcon:()=>XF,CameraIcon:()=>RF,CategoryIcon:()=>KF,CertificateIcon:()=>hR,ChangedIcon:()=>kT,ChatIcon:()=>zT,CheckIcon:()=>pT,ChevronDownIcon:()=>AR,ChevronLeftIcon:()=>kR,ChevronRightIcon:()=>l9,ChevronSmallDownIcon:()=>FR,ChevronSmallLeftIcon:()=>IR,ChevronSmallRightIcon:()=>TR,ChevronSmallUpIcon:()=>_R,ChevronUpIcon:()=>SR,ChromaticIcon:()=>_I,ChromeIcon:()=>DI,CircleHollowIcon:()=>oR,CircleIcon:()=>iR,ClearIcon:()=>FT,CloseAltIcon:()=>yT,CloseIcon:()=>DT,CloudHollowIcon:()=>xR,CloudIcon:()=>CR,CogIcon:()=>lT,CollapseIcon:()=>HR,CommandIcon:()=>UT,CommentAddIcon:()=>TT,CommentIcon:()=>IT,CommentsIcon:()=>BT,CommitIcon:()=>gI,CompassIcon:()=>tB,ComponentDrivenIcon:()=>FI,ComponentIcon:()=>fF,ContrastIcon:()=>SF,ControlsIcon:()=>gT,CopyIcon:()=>GF,CreditIcon:()=>PT,CrossIcon:()=>i9,DashboardIcon:()=>oB,DatabaseIcon:()=>tT,DeleteIcon:()=>ST,DiamondIcon:()=>uR,DirectionIcon:()=>uB,DiscordIcon:()=>II,DocChartIcon:()=>nI,DocListIcon:()=>aI,DocumentIcon:()=>WF,DownloadIcon:()=>JR,DragIcon:()=>oI,EditIcon:()=>iT,EllipsisIcon:()=>cT,EmailIcon:()=>JT,ExpandAltIcon:()=>NR,ExpandIcon:()=>jR,EyeCloseIcon:()=>CF,EyeIcon:()=>xF,FaceHappyIcon:()=>mB,FaceNeutralIcon:()=>gB,FaceSadIcon:()=>vB,FacebookIcon:()=>TI,FailedIcon:()=>_T,FastForwardIcon:()=>PF,FigmaIcon:()=>RI,FilterIcon:()=>rI,FlagIcon:()=>ER,FolderIcon:()=>YF,FormIcon:()=>fT,GDriveIcon:()=>BI,GithubIcon:()=>zI,GitlabIcon:()=>LI,GlobeIcon:()=>eB,GoogleIcon:()=>OI,GraphBarIcon:()=>QF,GraphLineIcon:()=>ZF,GraphqlIcon:()=>MI,GridAltIcon:()=>vF,GridIcon:()=>hF,GrowIcon:()=>_F,HeartHollowIcon:()=>cR,HeartIcon:()=>dR,HomeIcon:()=>lB,HourglassIcon:()=>wR,InfoIcon:()=>qT,ItalicIcon:()=>uI,JumpToIcon:()=>aR,KeyIcon:()=>MT,LightningIcon:()=>DF,LightningOffIcon:()=>o9,LinkBrokenIcon:()=>QT,LinkIcon:()=>XT,LinkedinIcon:()=>VI,LinuxIcon:()=>EI,ListOrderedIcon:()=>dI,ListUnorderedIcon:()=>pI,LocationIcon:()=>rB,LockIcon:()=>LT,MarkdownIcon:()=>hI,MarkupIcon:()=>lI,MediumIcon:()=>$I,MemoryIcon:()=>rT,MenuIcon:()=>iI,MergeIcon:()=>bI,MirrorIcon:()=>kF,MobileIcon:()=>WI,MoonIcon:()=>UF,NutIcon:()=>sT,OutboxIcon:()=>$T,OutlineIcon:()=>mF,PaintBrushIcon:()=>FF,PaperClipIcon:()=>cI,ParagraphIcon:()=>fI,PassedIcon:()=>AT,PhoneIcon:()=>ZT,PhotoDragIcon:()=>gF,PhotoIcon:()=>pF,PinAltIcon:()=>wT,PinIcon:()=>nB,PlayBackIcon:()=>OF,PlayIcon:()=>LF,PlayNextIcon:()=>MF,PlusIcon:()=>vT,PointerDefaultIcon:()=>jT,PointerHandIcon:()=>VT,PowerIcon:()=>oT,PrintIcon:()=>JF,ProceedIcon:()=>XR,ProfileIcon:()=>hB,PullRequestIcon:()=>yI,QuestionIcon:()=>WT,RSSIcon:()=>tR,RedirectIcon:()=>qR,ReduxIcon:()=>PI,RefreshIcon:()=>QR,ReplyIcon:()=>GR,RepoIcon:()=>mI,RequestChangeIcon:()=>RT,RewindIcon:()=>$F,RulerIcon:()=>IF,SearchIcon:()=>yF,ShareAltIcon:()=>rR,ShareIcon:()=>nR,ShieldIcon:()=>vR,SideBySideIcon:()=>HF,SidebarAltIcon:()=>YI,SidebarAltToggleIcon:()=>JI,SidebarIcon:()=>KI,SidebarToggleIcon:()=>ZI,SpeakerIcon:()=>zF,StackedIcon:()=>jF,StarHollowIcon:()=>pR,StarIcon:()=>fR,StickerIcon:()=>DR,StopAltIcon:()=>NF,StopIcon:()=>TF,StorybookIcon:()=>SI,StructureIcon:()=>nT,SubtractIcon:()=>CT,SunIcon:()=>VF,SupportIcon:()=>GT,SwitchAltIcon:()=>AF,SyncIcon:()=>KR,TabletIcon:()=>qI,ThumbsUpIcon:()=>gR,TimeIcon:()=>aB,TimerIcon:()=>iB,TransferIcon:()=>UR,TrashIcon:()=>bT,TwitterIcon:()=>NI,TypeIcon:()=>HT,UbuntuIcon:()=>xI,UndoIcon:()=>WR,UnfoldIcon:()=>VR,UnlockIcon:()=>OT,UnpinIcon:()=>ET,UploadIcon:()=>YR,UserAddIcon:()=>pB,UserAltIcon:()=>dB,UserIcon:()=>cB,UsersIcon:()=>fB,VSCodeIcon:()=>jI,VerifiedIcon:()=>mR,VideoIcon:()=>BF,WandIcon:()=>dT,WatchIcon:()=>GI,WindowsIcon:()=>CI,WrenchIcon:()=>uT,YoutubeIcon:()=>HI,ZoomIcon:()=>bF,ZoomOutIcon:()=>wF,ZoomResetIcon:()=>EF,iconList:()=>dF});var dF=[{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"]},{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","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"]}],pF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.25 4.254a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0zm-.5 0a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 1.504v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5zM2 9.297V2.004h10v5.293L9.854 5.15a.5.5 0 00-.708 0L6.5 7.797 5.354 6.65a.5.5 0 00-.708 0L2 9.297zM9.5 6.21l2.5 2.5v3.293H2V10.71l3-3 3.146 3.146a.5.5 0 00.708-.707L7.207 8.504 9.5 6.21z",fill:e}))),fF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 1.004a2.5 2.5 0 00-2.5 2.5v7a2.5 2.5 0 002.5 2.5h7a2.5 2.5 0 002.5-2.5v-7a2.5 2.5 0 00-2.5-2.5h-7zm8.5 5.5H7.5v-4.5h3a1.5 1.5 0 011.5 1.5v3zm0 1v3a1.5 1.5 0 01-1.5 1.5h-3v-4.5H12zm-5.5 4.5v-4.5H2v3a1.5 1.5 0 001.5 1.5h3zM2 6.504h4.5v-4.5h-3a1.5 1.5 0 00-1.5 1.5v3z",fill:e}))),hF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5H6a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H1.5a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5h3.5v3.5H2zM7.5 1.504a.5.5 0 01.5-.5h4.5a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H8a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5H12v3.5H8.5zM1.5 7.504a.5.5 0 00-.5.5v4.5a.5.5 0 00.5.5H6a.5.5 0 00.5-.5v-4.5a.5.5 0 00-.5-.5H1.5zm.5 1v3.5h3.5v-3.5H2zM7.5 8.004a.5.5 0 01.5-.5h4.5a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H8a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5H12v3.5H8.5z",fill:e}))),mF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2 2.004v2H1v-2.5a.5.5 0 01.5-.5H4v1H2zM1 9.004v-4h1v4H1zM1 10.004v2.5a.5.5 0 00.5.5H4v-1H2v-2H1zM10 13.004h2.5a.5.5 0 00.5-.5v-2.5h-1v2h-2v1zM12 4.004h1v-2.5a.5.5 0 00-.5-.5H10v1h2v2zM9 12.004v1H5v-1h4zM9 1.004v1H5v-1h4zM13 9.004h-1v-4h1v4zM7 8.004a1 1 0 100-2 1 1 0 000 2z",fill:e}))),gF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.25 3.254a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0zm-.5 0a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7.003v-6.5a.5.5 0 00-.5-.5h-10a.5.5 0 00-.5.5v2.5H.5a.5.5 0 00-.5.5v2.5h1v-2h2v6.5a.5.5 0 00.5.5H10v2H8v1h2.5a.5.5 0 00.5-.5v-2.5h2.5a.5.5 0 00.5-.5v-3.5zm-10-6v5.794L5.646 5.15a.5.5 0 01.708 0L7.5 6.297l2.646-2.647a.5.5 0 01.708 0L13 5.797V1.004H4zm9 6.208l-2.5-2.5-2.293 2.293L9.354 8.15a.5.5 0 11-.708.707L6 6.211l-2 2v1.793h9V7.21z",fill:e}),l.createElement("path",{d:"M0 10.004v-3h1v3H0zM0 13.504v-2.5h1v2h2v1H.5a.5.5 0 01-.5-.5zM7 14.004H4v-1h3v1z",fill:e}))),vF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4 3V1h1v2H4zM4 6v2h1V6H4zM4 11v2h1v-2H4zM9 11v2h1v-2H9zM9 8V6h1v2H9zM9 1v2h1V1H9zM13 5h-2V4h2v1zM11 10h2V9h-2v1zM3 10H1V9h2v1zM1 5h2V4H1v1zM8 5H6V4h2v1zM6 10h2V9H6v1zM4 4h1v1H4V4zM10 4H9v1h1V4zM9 9h1v1H9V9zM5 9H4v1h1V9z",fill:e}))),yF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z",fill:e}))),bF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M6 3.5a.5.5 0 01.5.5v1.5H8a.5.5 0 010 1H6.5V8a.5.5 0 01-1 0V6.5H4a.5.5 0 010-1h1.5V4a.5.5 0 01.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z",fill:e}))),wF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4 5.5a.5.5 0 000 1h4a.5.5 0 000-1H4z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 11.5c1.35 0 2.587-.487 3.544-1.294a.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 106 11.5zm0-1a4.5 4.5 0 100-9 4.5 4.5 0 000 9z",fill:e}))),EF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5 2.837V1.5a.5.5 0 00-1 0V4a.5.5 0 00.5.5h2.5a.5.5 0 000-1H2.258a4.5 4.5 0 11-.496 4.016.5.5 0 10-.942.337 5.502 5.502 0 008.724 2.353.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 101.5 2.837z",fill:e}))),xF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 9.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7l-.21.293C13.669 7.465 10.739 11.5 7 11.5S.332 7.465.21 7.293L0 7l.21-.293C.331 6.536 3.261 2.5 7 2.5s6.668 4.036 6.79 4.207L14 7zM2.896 5.302A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5c1.518 0 2.958-.83 4.104-1.802A12.72 12.72 0 0012.755 7c-.297-.37-.875-1.04-1.65-1.698C9.957 4.33 8.517 3.5 7 3.5c-1.519 0-2.958.83-4.104 1.802z",fill:e}))),CF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11zM11.104 8.698c-.177.15-.362.298-.553.439l.714.714a13.25 13.25 0 002.526-2.558L14 7l-.21-.293C13.669 6.536 10.739 2.5 7 2.5c-.89 0-1.735.229-2.506.58l.764.763A4.859 4.859 0 017 3.5c1.518 0 2.958.83 4.104 1.802A12.724 12.724 0 0112.755 7a12.72 12.72 0 01-1.65 1.698zM.21 6.707c.069-.096 1.03-1.42 2.525-2.558l.714.714c-.191.141-.376.288-.553.439A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5a4.86 4.86 0 001.742-.344l.764.764c-.772.351-1.616.58-2.506.58C3.262 11.5.332 7.465.21 7.293L0 7l.21-.293z",fill:e}),l.createElement("path",{d:"M4.5 7c0-.322.061-.63.172-.914l3.242 3.242A2.5 2.5 0 014.5 7zM9.328 7.914L6.086 4.672a2.5 2.5 0 013.241 3.241z",fill:e}))),DF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.522 6.6a.566.566 0 00-.176.544.534.534 0 00.382.41l2.781.721-1.493 5.013a.563.563 0 00.216.627.496.496 0 00.63-.06l6.637-6.453a.568.568 0 00.151-.54.534.534 0 00-.377-.396l-2.705-.708 2.22-4.976a.568.568 0 00-.15-.666.497.497 0 00-.648.008L2.522 6.6zm7.72.63l-3.067-.804L9.02 2.29 3.814 6.803l2.95.764-1.277 4.285 4.754-4.622zM4.51 13.435l.037.011-.037-.011z",fill:e}))),o9=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M10.139 8.725l1.36-1.323a.568.568 0 00.151-.54.534.534 0 00-.377-.396l-2.705-.708 2.22-4.976a.568.568 0 00-.15-.666.497.497 0 00-.648.008L5.464 4.05l.708.71 2.848-2.47-1.64 3.677.697.697 2.164.567-.81.787.708.708zM2.523 6.6a.566.566 0 00-.177.544.534.534 0 00.382.41l2.782.721-1.494 5.013a.563.563 0 00.217.627.496.496 0 00.629-.06l3.843-3.736-.708-.707-2.51 2.44 1.137-3.814-.685-.685-2.125-.55.844-.731-.71-.71L2.524 6.6zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11z",fill:e}))),SF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 3.004H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h10a.5.5 0 00.5-.5v-2.5h2.5a.5.5 0 00.5-.5v-10a.5.5 0 00-.5-.5h-10a.5.5 0 00-.5.5v2.5zm1 1v2.293l2.293-2.293H4zm-1 0v6.5a.499.499 0 00.497.5H10v2H1v-9h2zm1-1h6.5a.499.499 0 01.5.5v6.5h2v-9H4v2zm6 7V7.71l-2.293 2.293H10zm0-3.707V4.71l-5.293 5.293h1.586L10 6.297zm-.707-2.293H7.707L4 7.71v1.586l5.293-5.293z",fill:e}))),AF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 3.004v-2.5a.5.5 0 01.5-.5h10a.5.5 0 01.5.5v10a.5.5 0 01-.5.5H11v2.5a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-10a.5.5 0 01.5-.5H3zm1 0v-2h9v9h-2v-6.5a.5.5 0 00-.5-.5H4zm6 8v2H1v-9h2v6.5a.5.5 0 00.5.5H10zm0-1H4v-6h6v6z",fill:e}))),kF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zm1 10.5h10v-10l-10 10z",fill:e}))),_F=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5 1.004a.5.5 0 100 1H12v10.5a.5.5 0 001 0v-10.5a1 1 0 00-1-1H1.5z",fill:e}),l.createElement("path",{d:"M1 3.504a.5.5 0 01.5-.5H10a1 1 0 011 1v8.5a.5.5 0 01-1 0v-8.5H1.5a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 5.004a.5.5 0 00-.5.5v7a.5.5 0 00.5.5h7a.5.5 0 00.5-.5v-7a.5.5 0 00-.5-.5h-7zm.5 1v6h6v-6H2z",fill:e}))),FF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.854.146a.5.5 0 00-.708 0L2.983 8.31a2.24 2.24 0 00-1.074.6C.677 10.14.24 11.902.085 12.997 0 13.6 0 14 0 14s.4 0 1.002-.085c1.095-.155 2.857-.592 4.089-1.824a2.24 2.24 0 00.6-1.074l8.163-8.163a.5.5 0 000-.708l-2-2zM5.6 9.692l.942-.942L5.25 7.457l-.942.943A2.242 2.242 0 015.6 9.692zm1.649-1.65L12.793 2.5 11.5 1.207 5.957 6.75 7.25 8.043zM4.384 9.617a1.25 1.25 0 010 1.768c-.767.766-1.832 1.185-2.78 1.403-.17.04-.335.072-.49.098.027-.154.06-.318.099-.49.219-.947.637-2.012 1.403-2.779a1.25 1.25 0 011.768 0z",fill:e}))),IF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5 1.004a.5.5 0 01.5.5v.5h10v-.5a.5.5 0 011 0v2a.5.5 0 01-1 0v-.5H2v.5a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 6a.5.5 0 00-.5.5v6a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-6a.5.5 0 00-.5-.5h-11zM2 7v5h10V7h-1v2.5a.5.5 0 01-1 0V7h-.75v1a.5.5 0 01-1 0V7H7.5v2.5a.5.5 0 01-1 0V7h-.75v1a.5.5 0 01-1 0V7H4v2.5a.5.5 0 01-1 0V7H2z",fill:e}))),TF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4.5 4a.5.5 0 00-.5.5v5a.5.5 0 00.5.5h5a.5.5 0 00.5-.5v-5a.5.5 0 00-.5-.5h-5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),RF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 7a3 3 0 11-6 0 3 3 0 016 0zM9 7a2 2 0 11-4 0 2 2 0 014 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.5 1a.5.5 0 00-.5.5v.504H.5a.5.5 0 00-.5.5v9a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H6V1.5a.5.5 0 00-.5-.5h-3zM1 3.004v8h12v-8H1z",fill:e}))),BF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.5 10a.5.5 0 100-1 .5.5 0 000 1z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 4a2 2 0 012-2h6a2 2 0 012 2v.5l3.189-2.391A.5.5 0 0114 2.5v9a.5.5 0 01-.804.397L10 9.5v.5a2 2 0 01-2 2H2a2 2 0 01-2-2V4zm9 0v1.5a.5.5 0 00.8.4L13 3.5v7L9.8 8.1a.5.5 0 00-.8.4V10a1 1 0 01-1 1H2a1 1 0 01-1-1V4a1 1 0 011-1h6a1 1 0 011 1z",fill:e}))),zF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 4.5v5a.5.5 0 00.5.5H4l3.17 2.775a.5.5 0 00.83-.377V1.602a.5.5 0 00-.83-.376L4 4H1.5a.5.5 0 00-.5.5zM4 9V5H2v4h2zm.998.545A.504.504 0 005 9.5v-5c0-.015 0-.03-.002-.044L7 2.704v8.592L4.998 9.545z",fill:e}),l.createElement("path",{d:"M10.15 1.752a.5.5 0 00-.3.954 4.502 4.502 0 010 8.588.5.5 0 00.3.954 5.502 5.502 0 000-10.496z",fill:e}),l.createElement("path",{d:"M10.25 3.969a.5.5 0 00-.5.865 2.499 2.499 0 010 4.332.5.5 0 10.5.866 3.499 3.499 0 000-6.063z",fill:e}))),LF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M12.813 7.425l-9.05 5.603A.5.5 0 013 12.603V1.398a.5.5 0 01.763-.425l9.05 5.602a.5.5 0 010 .85z",fill:e}))),OF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.24 12.035L3.697 7.427A.494.494 0 013.5 7.2v4.05a.75.75 0 01-1.5 0v-8.5a.75.75 0 011.5 0V6.8a.494.494 0 01.198-.227l7.541-4.608A.5.5 0 0112 2.39v9.217a.5.5 0 01-.76.427z",fill:e}))),MF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.76 12.035l7.542-4.608A.495.495 0 0010.5 7.2v4.05a.75.75 0 001.5 0v-8.5a.75.75 0 00-1.5 0V6.8a.495.495 0 00-.198-.227L2.76 1.965A.5.5 0 002 2.39v9.217a.5.5 0 00.76.427z",fill:e}))),$F=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"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}))),PF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5 2.42v2.315L.772 1.999a.5.5 0 00-.772.42v9.162a.5.5 0 00.772.42L5 9.263v2.317a.5.5 0 00.772.42L12.5 7.647v3.603a.75.75 0 001.5 0v-8.5a.75.75 0 00-1.5 0v3.603L5.772 2A.5.5 0 005 2.42z",fill:e}))),NF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11z",fill:e}))),HF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zm1 10.5v-10h5v10H2z",fill:e}))),jF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5 1.004a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11zm-10.5 1h10v5H2v-5z",fill:e}))),VF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3492)",fill:e},l.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0V2a.5.5 0 001 0V.5z"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 10a3 3 0 100-6 3 3 0 000 6zm0-1a2 2 0 100-4 2 2 0 000 4z"}),l.createElement("path",{d:"M7 11.5a.5.5 0 01.5.5v1.5a.5.5 0 01-1 0V12a.5.5 0 01.5-.5zM11.5 7a.5.5 0 01.5-.5h1.5a.5.5 0 010 1H12a.5.5 0 01-.5-.5zM.5 6.5a.5.5 0 000 1H2a.5.5 0 000-1H.5zM3.818 10.182a.5.5 0 010 .707l-1.06 1.06a.5.5 0 11-.708-.706l1.06-1.06a.5.5 0 01.708 0zM11.95 2.757a.5.5 0 10-.707-.707l-1.061 1.061a.5.5 0 10.707.707l1.06-1.06zM10.182 10.182a.5.5 0 01.707 0l1.06 1.06a.5.5 0 11-.706.708l-1.061-1.06a.5.5 0 010-.708zM2.757 2.05a.5.5 0 10-.707.707l1.06 1.061a.5.5 0 00.708-.707l-1.06-1.06z"})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3492"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),UF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3493)"},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.335.047l-.15-.015a7.499 7.499 0 106.14 10.577c.103-.229-.156-.447-.386-.346a5.393 5.393 0 01-.771.27A5.356 5.356 0 019.153.691C9.37.568 9.352.23 9.106.175a7.545 7.545 0 00-.77-.128zM6.977 1.092a6.427 6.427 0 005.336 10.671A6.427 6.427 0 116.977 1.092z",fill:e})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3493"},l.createElement("path",{fill:"#fff",transform:"scale(1.07124)",d:"M0 0h14.001v14.002H0z"}))))),qF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 2a2 2 0 00-2-2H1.5a.5.5 0 00-.5.5v13a.5.5 0 00.5.5H11a2 2 0 002-2V2zM3 13h8a1 1 0 001-1V2a1 1 0 00-1-1H7v6.004a.5.5 0 01-.856.352l-.002-.002L5.5 6.71l-.645.647A.5.5 0 014 7.009V1H3v12zM5 1v4.793l.146-.146a.5.5 0 01.743.039l.111.11V1H5z",fill:e}))),WF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4 5.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zM4.5 7.5a.5.5 0 000 1h5a.5.5 0 000-1h-5zM4 10.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 0a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h11a.5.5 0 00.5-.5V3.207a.5.5 0 00-.146-.353L10.146.146A.5.5 0 009.793 0H1.5zM2 1h7.5v2a.5.5 0 00.5.5h2V13H2V1z",fill:e}))),GF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.746.07A.5.5 0 0011.5.003h-6a.5.5 0 00-.5.5v2.5H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h8a.5.5 0 00.5-.5v-2.5h4.5a.5.5 0 00.5-.5v-8a.498.498 0 00-.15-.357L11.857.154a.506.506 0 00-.11-.085zM9 10.003h4v-7h-1.5a.5.5 0 01-.5-.5v-1.5H6v2h.5a.5.5 0 01.357.15L8.85 5.147c.093.09.15.217.15.357v4.5zm-8-6v9h7v-7H6.5a.5.5 0 01-.5-.5v-1.5H1z",fill:e}))),KF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3 1.5a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5zM2 3.504a.5.5 0 01.5-.5h9a.5.5 0 010 1h-9a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 5.5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v7a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-7zM2 12V6h10v6H2z",fill:e}))),YF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.586 3.504l-1.5-1.5H1v9h12v-7.5H6.586zm.414-1L5.793 1.297a1 1 0 00-.707-.293H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-8.5a.5.5 0 00-.5-.5H7z",fill:e}))),JF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4.5 8.004a.5.5 0 100 1h5a.5.5 0 000-1h-5zM4.5 10.004a.5.5 0 000 1h5a.5.5 0 000-1h-5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 1.504a.5.5 0 01.5-.5h8a.498.498 0 01.357.15l.993.993c.093.09.15.217.15.357v1.5h1.5a.5.5 0 01.5.5v5a.5.5 0 01-.5.5H12v2.5a.5.5 0 01-.5.5h-9a.5.5 0 01-.5-.5v-2.5H.5a.5.5 0 01-.5-.5v-5a.5.5 0 01.5-.5H2v-2.5zm11 7.5h-1v-2.5a.5.5 0 00-.5-.5h-9a.5.5 0 00-.5.5v2.5H1v-4h12v4zm-2-6v1H3v-2h7v.5a.5.5 0 00.5.5h.5zm-8 9h8v-5H3v5z",fill:e}))),ZF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.146 6.15a.5.5 0 01.708 0L7 7.297 9.146 5.15a.5.5 0 01.708 0l1 1a.5.5 0 01-.708.707L9.5 6.211 7.354 8.357a.5.5 0 01-.708 0L5.5 7.211 3.854 8.857a.5.5 0 11-.708-.707l2-2z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 1.004a.5.5 0 00-.5.5v11a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-11a.5.5 0 00-.5-.5h-11zm.5 1v10h10v-10H2z",fill:e}))),XF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 0a.5.5 0 01.5.5V1h6V.5a.5.5 0 011 0V1h1.5a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5H3V.5a.5.5 0 01.5-.5zM2 4v2.3h3V4H2zm0 5.2V6.8h3v2.4H2zm0 .5V12h3V9.7H2zm3.5 0V12h3V9.7h-3zm3.5 0V12h3V9.7H9zm3-.5H9V6.8h3v2.4zm-3.5 0h-3V6.8h3v2.4zM9 4v2.3h3V4H9zM5.5 6.3h3V4h-3v2.3z",fill:e}))),QF=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M12 2.5a.5.5 0 00-1 0v10a.5.5 0 001 0v-10zM9 4.5a.5.5 0 00-1 0v8a.5.5 0 001 0v-8zM5.5 7a.5.5 0 01.5.5v5a.5.5 0 01-1 0v-5a.5.5 0 01.5-.5zM3 10.5a.5.5 0 00-1 0v2a.5.5 0 001 0v-2z",fill:e}))),eI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M13 2a.5.5 0 010 1H1a.5.5 0 010-1h12zM10 5a.5.5 0 010 1H1a.5.5 0 010-1h9zM11.5 8.5A.5.5 0 0011 8H1a.5.5 0 000 1h10a.5.5 0 00.5-.5zM7.5 11a.5.5 0 010 1H1a.5.5 0 010-1h6.5z",fill:e}))),tI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1 2a.5.5 0 000 1h12a.5.5 0 000-1H1zM4 5a.5.5 0 000 1h9a.5.5 0 000-1H4zM2.5 8.5A.5.5 0 013 8h10a.5.5 0 010 1H3a.5.5 0 01-.5-.5zM6.5 11a.5.5 0 000 1H13a.5.5 0 000-1H6.5z",fill:e}))),rI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1 2a.5.5 0 000 1h12a.5.5 0 000-1H1zM3 5a.5.5 0 000 1h8a.5.5 0 000-1H3zM4.5 8.5A.5.5 0 015 8h4a.5.5 0 010 1H5a.5.5 0 01-.5-.5zM6.5 11a.5.5 0 000 1h1a.5.5 0 000-1h-1z",fill:e}))),nI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zM2 4v2.3h3V4H2zm0 5.2V6.8h3v2.4H2zm0 .5V12h3V9.7H2zm3.5 0V12h3V9.7h-3zm3.5 0V12h3V9.7H9zm3-.5H9V6.8h3v2.4zm-3.5 0h-3V6.8h3v2.4zM9 6.3h3V4H9v2.3zm-3.5 0h3V4h-3v2.3z",fill:e}))),aI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.5 6.5A.5.5 0 014 6h6a.5.5 0 010 1H4a.5.5 0 01-.5-.5zM4 9a.5.5 0 000 1h6a.5.5 0 000-1H4z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zM2 4v8h10V4H2z",fill:e}))),oI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M13 4a.5.5 0 010 1H1a.5.5 0 010-1h12zM13.5 9.5A.5.5 0 0013 9H1a.5.5 0 000 1h12a.5.5 0 00.5-.5z",fill:e}))),iI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M13 3.5a.5.5 0 010 1H1a.5.5 0 010-1h12zM13.5 10a.5.5 0 00-.5-.5H1a.5.5 0 000 1h12a.5.5 0 00.5-.5zM13 6.5a.5.5 0 010 1H1a.5.5 0 010-1h12z",fill:e}))),lI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M8.982 1.632a.5.5 0 00-.964-.263l-3 11a.5.5 0 10.964.263l3-11zM3.32 3.616a.5.5 0 01.064.704L1.151 7l2.233 2.68a.5.5 0 11-.768.64l-2.5-3a.5.5 0 010-.64l2.5-3a.5.5 0 01.704-.064zM10.68 3.616a.5.5 0 00-.064.704L12.849 7l-2.233 2.68a.5.5 0 00.768.64l2.5-3a.5.5 0 000-.64l-2.5-3a.5.5 0 00-.704-.064z",fill:e}))),sI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 2v1.5h1v7H3V12h5a3 3 0 001.791-5.407A2.75 2.75 0 008 2.011V2H3zm5 5.5H5.5v3H8a1.5 1.5 0 100-3zm-.25-4H5.5V6h2.25a1.25 1.25 0 100-2.5z",fill:e}))),uI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5 2h6v1H8.5l-2 8H9v1H3v-1h2.5l2-8H5V2z",fill:e}))),cI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M10.553 2.268a1.5 1.5 0 00-2.12 0L2.774 7.925a2.5 2.5 0 003.536 3.535l3.535-3.535a.5.5 0 11.707.707l-3.535 3.536-.002.002a3.5 3.5 0 01-4.959-4.941l.011-.011L7.725 1.56l.007-.008a2.5 2.5 0 013.53 3.541l-.002.002-5.656 5.657-.003.003a1.5 1.5 0 01-2.119-2.124l3.536-3.536a.5.5 0 11.707.707L4.189 9.34a.5.5 0 00.707.707l5.657-5.657a1.5 1.5 0 000-2.121z",fill:e}))),dI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5 2.5a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5zM5 7a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7A.5.5 0 015 7zM5.5 11a.5.5 0 000 1h7a.5.5 0 000-1h-7zM2.5 2H1v1h1v3h1V2.5a.5.5 0 00-.5-.5zM3 8.5v1a.5.5 0 01-1 0V9h-.5a.5.5 0 010-1h1a.5.5 0 01.5.5zM2 10.5a.5.5 0 00-1 0V12h2v-1H2v-.5z",fill:e}))),pI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.75 2.5a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM5.5 2a.5.5 0 000 1h7a.5.5 0 000-1h-7zM5.5 11a.5.5 0 000 1h7a.5.5 0 000-1h-7zM2 12.25a.75.75 0 100-1.5.75.75 0 000 1.5zM5 7a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7A.5.5 0 015 7zM2 7.75a.75.75 0 100-1.5.75.75 0 000 1.5z",fill:e}))),fI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M6 7a3 3 0 110-6h5.5a.5.5 0 010 1H10v10.5a.5.5 0 01-1 0V2H7v10.5a.5.5 0 01-1 0V7z",fill:e}))),hI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2 4.5h1.5L5 6.375 6.5 4.5H8v5H6.5V7L5 8.875 3.5 7v2.5H2v-5zM9.75 4.5h1.5V7h1.25l-2 2.5-2-2.5h1.25V4.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.5 2a.5.5 0 00-.5.5v9a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H.5zM1 3v8h12V3H1z",fill:e}))),mI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5 2.5a.5.5 0 11-1 0 .5.5 0 011 0zM4.5 5a.5.5 0 100-1 .5.5 0 000 1zM5 6.5a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 0a2 2 0 012 2v10a2 2 0 01-2 2H1.5a.5.5 0 01-.5-.5V.5a.5.5 0 01.5-.5H11zm0 1H3v12h8a1 1 0 001-1V2a1 1 0 00-1-1z",fill:e}))),gI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.031 7.5a4 4 0 007.938 0H13.5a.5.5 0 000-1h-2.53a4 4 0 00-7.94 0H.501a.5.5 0 000 1h2.531zM7 10a3 3 0 100-6 3 3 0 000 6z",fill:e}))),vI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 2.5a1.5 1.5 0 01-1 1.415v4.053C5.554 7.4 6.367 7 7.5 7c.89 0 1.453-.252 1.812-.557.218-.184.374-.4.482-.62a1.5 1.5 0 111.026.143c-.155.423-.425.87-.86 1.24C9.394 7.685 8.59 8 7.5 8c-1.037 0-1.637.42-1.994.917a2.81 2.81 0 00-.472 1.18A1.5 1.5 0 114 10.086v-6.17A1.5 1.5 0 116 2.5zm-2 9a.5.5 0 111 0 .5.5 0 01-1 0zm1-9a.5.5 0 11-1 0 .5.5 0 011 0zm6 2a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}))),yI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.354 1.354L7.707 2H8.5A2.5 2.5 0 0111 4.5v5.585a1.5 1.5 0 11-1 0V4.5A1.5 1.5 0 008.5 3h-.793l.647.646a.5.5 0 11-.708.708l-1.5-1.5a.5.5 0 010-.708l1.5-1.5a.5.5 0 11.708.708zM11 11.5a.5.5 0 11-1 0 .5.5 0 011 0zM4 3.915a1.5 1.5 0 10-1 0v6.17a1.5 1.5 0 101 0v-6.17zM3.5 11a.5.5 0 100 1 .5.5 0 000-1zm0-8a.5.5 0 100-1 .5.5 0 000 1z",fill:e}))),bI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.108 3.872A1.5 1.5 0 103 3.915v6.17a1.5 1.5 0 101 0V6.41c.263.41.573.77.926 1.083 1.108.98 2.579 1.433 4.156 1.5A1.5 1.5 0 109.09 7.99c-1.405-.065-2.62-.468-3.5-1.248-.723-.64-1.262-1.569-1.481-2.871zM3.5 11a.5.5 0 100 1 .5.5 0 000-1zM4 2.5a.5.5 0 11-1 0 .5.5 0 011 0zm7 6a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}))),wI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.03 8.103a3.044 3.044 0 01-.202-1.744 2.697 2.697 0 011.4-1.935c-.749-1.18-1.967-1.363-2.35-1.403-.835-.086-2.01.56-2.648.57h-.016c-.639-.01-1.814-.656-2.649-.57-.415.044-1.741.319-2.541 1.593-.281.447-.498 1.018-.586 1.744a6.361 6.361 0 00-.044.85c.005.305.028.604.07.895.09.62.259 1.207.477 1.744.242.595.543 1.13.865 1.585.712 1.008 1.517 1.59 1.971 1.6.934.021 1.746-.61 2.416-.594.006.002.014.003.02.002h.017c.007 0 .014 0 .021-.002.67-.017 1.481.615 2.416.595.453-.011 1.26-.593 1.971-1.6a7.95 7.95 0 00.97-1.856c-.697-.217-1.27-.762-1.578-1.474zm-2.168-5.97c.717-.848.69-2.07.624-2.125-.065-.055-1.25.163-1.985.984-.735.82-.69 2.071-.624 2.125.064.055 1.268-.135 1.985-.984z",fill:e}))),EI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0a3 3 0 013 3v1.24c.129.132.25.27.362.415.113.111.283.247.515.433l.194.155c.325.261.711.582 1.095.966.765.765 1.545 1.806 1.823 3.186a.501.501 0 01-.338.581 3.395 3.395 0 01-1.338.134 2.886 2.886 0 01-1.049-.304 5.535 5.535 0 01-.17.519 2 2 0 11-2.892 2.55A5.507 5.507 0 017 13c-.439 0-.838-.044-1.201-.125a2 2 0 11-2.892-2.55 5.553 5.553 0 01-.171-.519c-.349.182-.714.27-1.05.304A3.395 3.395 0 01.35 9.977a.497.497 0 01-.338-.582c.278-1.38 1.058-2.42 1.823-3.186.384-.384.77-.705 1.095-.966l.194-.155c.232-.186.402-.322.515-.433.112-.145.233-.283.362-.414V3a3 3 0 013-3zm1.003 11.895a2 2 0 012.141-1.89c.246-.618.356-1.322.356-2.005 0-.514-.101-1.07-.301-1.599l-.027-.017a6.387 6.387 0 00-.857-.42 6.715 6.715 0 00-1.013-.315l-.852.638a.75.75 0 01-.9 0l-.852-.638a6.716 6.716 0 00-1.693.634 4.342 4.342 0 00-.177.101l-.027.017A4.6 4.6 0 003.501 8c0 .683.109 1.387.355 2.005a2 2 0 012.142 1.89c.295.067.627.105 1.002.105s.707-.038 1.003-.105zM5 12a1 1 0 11-2 0 1 1 0 012 0zm6 0a1 1 0 11-2 0 1 1 0 012 0zM6.1 4.3a1.5 1.5 0 011.8 0l.267.2L7 5.375 5.833 4.5l.267-.2zM8.5 2a.5.5 0 01.5.5V3a.5.5 0 01-1 0v-.5a.5.5 0 01.5-.5zM6 2.5a.5.5 0 00-1 0V3a.5.5 0 001 0v-.5z",fill:e}))),xI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3497)",fill:e},l.createElement("path",{d:"M12.261 2.067c0 1.142-.89 2.068-1.988 2.068-1.099 0-1.99-.926-1.99-2.068C8.283.926 9.174 0 10.273 0c1.098 0 1.989.926 1.989 2.067zM3.978 6.6c0 1.142-.89 2.068-1.989 2.068C.891 8.668 0 7.742 0 6.601c0-1.142.89-2.068 1.989-2.068 1.099 0 1.989.926 1.989 2.068zM6.475 11.921A4.761 4.761 0 014.539 11a4.993 4.993 0 01-1.367-1.696 2.765 2.765 0 01-1.701.217 6.725 6.725 0 001.844 2.635 6.379 6.379 0 004.23 1.577 3.033 3.033 0 01-.582-1.728 4.767 4.767 0 01-.488-.083zM11.813 11.933c0 1.141-.89 2.067-1.989 2.067-1.098 0-1.989-.926-1.989-2.067 0-1.142.891-2.068 1.99-2.068 1.098 0 1.989.926 1.989 2.068zM12.592 11.173a6.926 6.926 0 001.402-3.913 6.964 6.964 0 00-1.076-4.023A2.952 2.952 0 0111.8 4.6c.398.78.592 1.656.564 2.539a5.213 5.213 0 01-.724 2.495c.466.396.8.935.952 1.54zM1.987 3.631c-.05 0-.101.002-.151.004C3.073 1.365 5.504.024 8.005.23a3.07 3.07 0 00-.603 1.676 4.707 4.707 0 00-2.206.596 4.919 4.919 0 00-1.7 1.576 2.79 2.79 0 00-1.509-.447z"})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3497"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),CI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M6.5 1H1v5.5h5.5V1zM13 1H7.5v5.5H13V1zM7.5 7.5H13V13H7.5V7.5zM6.5 7.5H1V13h5.5V7.5z",fill:e}))),DI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3496)"},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.023 3.431a.115.115 0 01-.099.174H7.296A3.408 3.408 0 003.7 6.148a.115.115 0 01-.21.028l-1.97-3.413a.115.115 0 01.01-.129A6.97 6.97 0 017 0a6.995 6.995 0 016.023 3.431zM7 9.615A2.619 2.619 0 014.384 7 2.62 2.62 0 017 4.383 2.619 2.619 0 019.616 7 2.619 2.619 0 017 9.615zm1.034.71a.115.115 0 00-.121-.041 3.4 3.4 0 01-.913.124 3.426 3.426 0 01-3.091-1.973L1.098 3.567a.115.115 0 00-.2.001 7.004 7.004 0 005.058 10.354l.017.001c.04 0 .078-.021.099-.057l1.971-3.414a.115.115 0 00-.009-.128zm1.43-5.954h3.947c.047 0 .09.028.107.072.32.815.481 1.675.481 2.557a6.957 6.957 0 01-2.024 4.923A6.957 6.957 0 017.08 14h-.001a.115.115 0 01-.1-.172L9.794 8.95A3.384 3.384 0 0010.408 7c0-.921-.364-1.785-1.024-2.433a.115.115 0 01.08-.196z",fill:e})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3496"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),SI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.042.616a.704.704 0 00-.66.729L1.816 12.9c.014.367.306.66.672.677l9.395.422h.032a.704.704 0 00.704-.703V.704c0-.015 0-.03-.002-.044a.704.704 0 00-.746-.659l-.773.049.057 1.615a.105.105 0 01-.17.086l-.52-.41-.617.468a.105.105 0 01-.168-.088L9.746.134 2.042.616zm8.003 4.747c-.247.192-2.092.324-2.092.05.04-1.045-.429-1.091-.689-1.091-.247 0-.662.075-.662.634 0 .57.607.893 1.32 1.27 1.014.538 2.24 1.188 2.24 2.823 0 1.568-1.273 2.433-2.898 2.433-1.676 0-3.141-.678-2.976-3.03.065-.275 2.197-.21 2.197 0-.026.971.195 1.256.753 1.256.43 0 .624-.236.624-.634 0-.602-.633-.958-1.361-1.367-.987-.554-2.148-1.205-2.148-2.7 0-1.494 1.027-2.489 2.86-2.489 1.832 0 2.832.98 2.832 2.845z",fill:e}))),AI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3503)"},l.createElement("path",{d:"M0 5.176l1.31-1.73 4.902-1.994V.014l4.299 3.144-8.78 1.706v4.8L0 9.162V5.176zm14-2.595v8.548l-3.355 2.857-5.425-1.783v1.783L1.73 9.661l8.784 1.047v-7.55L14 2.581z",fill:e})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3503"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),kI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.522a.411.411 0 00-.412.476l1.746 10.597a.56.56 0 00.547.466h8.373a.411.411 0 00.412-.345l1.017-6.248h-3.87L8.35 9.18H5.677l-.724-3.781h7.904L13.412 2A.411.411 0 0013 1.524L1 1.522z",fill:e}))),_I=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{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}))),FI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M10.847 2.181L8.867.201a.685.685 0 00-.97 0l-4.81 4.81a.685.685 0 000 .969l2.466 2.465-2.405 2.404a.685.685 0 000 .97l1.98 1.98a.685.685 0 00.97 0l4.81-4.81a.685.685 0 000-.969L8.441 5.555l2.405-2.404a.685.685 0 000-.97z",fill:e}))),II=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.852 2.885c-.893-.41-1.85-.712-2.85-.884a.043.043 0 00-.046.021c-.123.22-.26.505-.355.73a10.658 10.658 0 00-3.2 0 7.377 7.377 0 00-.36-.73.045.045 0 00-.046-.021c-1 .172-1.957.474-2.85.884a.04.04 0 00-.019.016C.311 5.612-.186 8.257.058 10.869a.048.048 0 00.018.033 11.608 11.608 0 003.496 1.767.045.045 0 00.049-.016c.27-.368.51-.755.715-1.163a.044.044 0 00-.024-.062 7.661 7.661 0 01-1.092-.52.045.045 0 01-.005-.075c.074-.055.147-.112.217-.17a.043.043 0 01.046-.006c2.29 1.046 4.771 1.046 7.035 0a.043.043 0 01.046.006c.07.057.144.115.218.17a.045.045 0 01-.004.075 7.186 7.186 0 01-1.093.52.045.045 0 00-.024.062c.21.407.45.795.715 1.162.011.016.03.023.05.017a11.57 11.57 0 003.5-1.767.045.045 0 00.019-.032c.292-3.02-.49-5.643-2.07-7.969a.036.036 0 00-.018-.016zM4.678 9.279c-.69 0-1.258-.634-1.258-1.411 0-.778.558-1.411 1.258-1.411.707 0 1.27.639 1.259 1.41 0 .778-.558 1.412-1.259 1.412zm4.652 0c-.69 0-1.258-.634-1.258-1.411 0-.778.557-1.411 1.258-1.411.707 0 1.27.639 1.258 1.41 0 .778-.551 1.412-1.258 1.412z",fill:e}))),TI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.399 14H5.06V7H3.5V4.588l1.56-.001-.002-1.421C5.058 1.197 5.533 0 7.6 0h1.721v2.413H8.246c-.805 0-.844.337-.844.966l-.003 1.208h1.934l-.228 2.412L7.401 7l-.002 7z",fill:e}))),RI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.2 0H4.803A2.603 2.603 0 003.41 4.802a2.603 2.603 0 000 4.396 2.602 2.602 0 103.998 2.199v-2.51a2.603 2.603 0 103.187-4.085A2.604 2.604 0 009.2 0zM7.407 7a1.793 1.793 0 103.586 0 1.793 1.793 0 00-3.586 0zm-.81 2.603H4.803a1.793 1.793 0 101.794 1.794V9.603zM4.803 4.397h1.794V.81H4.803a1.793 1.793 0 000 3.587zm0 .81a1.793 1.793 0 000 3.586h1.794V5.207H4.803zm4.397-.81H7.407V.81H9.2a1.794 1.794 0 010 3.587z",fill:e}))),BI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M6.37 8.768l-2.042 3.537h6.755l2.042-3.537H6.37zm6.177-1.003l-3.505-6.07H4.96l3.504 6.07h4.084zM4.378 2.7L.875 8.77l2.042 3.536L6.42 6.236 4.378 2.7z",fill:e}))),zI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0C3.132 0 0 3.132 0 7a6.996 6.996 0 004.786 6.641c.35.062.482-.149.482-.332 0-.166-.01-.718-.01-1.304-1.758.324-2.213-.429-2.353-.823-.079-.2-.42-.822-.717-.988-.246-.132-.596-.455-.01-.464.552-.009.946.508 1.077.717.63 1.06 1.636.762 2.039.578.061-.455.245-.761.446-.936-1.558-.175-3.185-.779-3.185-3.457 0-.76.271-1.39.717-1.88-.07-.176-.314-.893.07-1.856 0 0 .587-.183 1.925.718a6.495 6.495 0 011.75-.236c.595 0 1.19.078 1.75.236 1.34-.91 1.926-.718 1.926-.718.385.963.14 1.68.07 1.855.446.49.717 1.111.717 1.881 0 2.687-1.636 3.282-3.194 3.457.254.218.473.638.473 1.295 0 .936-.009 1.688-.009 1.925 0 .184.131.402.481.332A7.012 7.012 0 0014 7c0-3.868-3.133-7-7-7z",fill:e}))),LI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.068 5.583l1.487-4.557a.256.256 0 01.487 0L4.53 5.583H1.068L7 13.15 4.53 5.583h4.941l-2.47 7.565 5.931-7.565H9.471l1.488-4.557a.256.256 0 01.486 0l1.488 4.557.75 2.3a.508.508 0 01-.185.568L7 13.148v.001H7L.503 8.452a.508.508 0 01-.186-.57l.75-2.299z",fill:e}))),OI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M10.925 1.094H7.262c-1.643 0-3.189 1.244-3.189 2.685 0 1.473 1.12 2.661 2.791 2.661.116 0 .23-.002.34-.01a1.49 1.49 0 00-.186.684c0 .41.22.741.498 1.012-.21 0-.413.006-.635.006-2.034 0-3.6 1.296-3.6 2.64 0 1.323 1.717 2.15 3.75 2.15 2.32 0 3.6-1.315 3.6-2.639 0-1.06-.313-1.696-1.28-2.38-.331-.235-.965-.805-.965-1.14 0-.392.112-.586.703-1.047.606-.474 1.035-1.14 1.035-1.914 0-.92-.41-1.819-1.18-2.115h1.161l.82-.593zm-1.335 8.96c.03.124.045.25.045.378 0 1.07-.688 1.905-2.665 1.905-1.406 0-2.421-.89-2.421-1.96 0-1.047 1.259-1.92 2.665-1.904.328.004.634.057.911.146.764.531 1.311.832 1.465 1.436zM7.34 6.068c-.944-.028-1.841-1.055-2.005-2.295-.162-1.24.47-2.188 1.415-2.16.943.029 1.84 1.023 2.003 2.262.163 1.24-.47 2.222-1.414 2.193z",fill:e}))),MI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.873 11.608a1.167 1.167 0 00-1.707-.027L3.46 10.018l.01-.04h7.072l.022.076-2.69 1.554zM6.166 2.42l.031.03-3.535 6.124a1.265 1.265 0 00-.043-.012V5.438a1.166 1.166 0 00.84-1.456L6.167 2.42zm4.387 1.562a1.165 1.165 0 00.84 1.456v3.124l-.043.012-3.536-6.123a1.2 1.2 0 00.033-.032l2.706 1.563zM3.473 9.42a1.168 1.168 0 00-.327-.568L6.68 2.73a1.17 1.17 0 00.652 0l3.536 6.123a1.169 1.169 0 00-.327.567H3.473zm8.79-.736a1.169 1.169 0 00-.311-.124V5.44a1.17 1.17 0 10-1.122-1.942L8.13 1.938a1.168 1.168 0 00-1.122-1.5 1.17 1.17 0 00-1.121 1.5l-2.702 1.56a1.168 1.168 0 00-1.86.22 1.17 1.17 0 00.739 1.722v3.12a1.168 1.168 0 00-.74 1.721 1.17 1.17 0 001.861.221l2.701 1.56a1.169 1.169 0 102.233-.035l2.687-1.552a1.168 1.168 0 101.457-1.791z",fill:e}))),$I=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"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}))),PI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.06 9.689c.016.49.423.88.912.88h.032a.911.911 0 00.88-.945.916.916 0 00-.912-.88h-.033c-.033 0-.08 0-.113.016-.669-1.108-.946-2.314-.848-3.618.065-.978.391-1.825.961-2.526.473-.603 1.386-.896 2.005-.913 1.728-.032 2.461 2.119 2.51 2.983.212.049.57.163.815.244C10.073 2.29 8.444.92 6.88.92c-1.467 0-2.82 1.06-3.357 2.625-.75 2.086-.261 4.09.651 5.671a.74.74 0 00-.114.473zm8.279-2.298c-1.239-1.45-3.064-2.249-5.15-2.249h-.261a.896.896 0 00-.798-.489h-.033A.912.912 0 006.13 6.48h.031a.919.919 0 00.8-.554h.293c1.239 0 2.412.358 3.472 1.059.814.538 1.401 1.238 1.727 2.086.277.684.261 1.353-.033 1.923-.456.864-1.222 1.337-2.232 1.337a4.16 4.16 0 01-1.597-.343 9.58 9.58 0 01-.734.587c.7.326 1.418.505 2.102.505 1.565 0 2.722-.863 3.162-1.727.473-.946.44-2.575-.782-3.961zm-7.433 5.51a4.005 4.005 0 01-.977.113c-1.206 0-2.298-.505-2.836-1.32C.376 10.603.13 8.289 2.494 6.577c.05.261.147.62.212.832-.31.228-.798.685-1.108 1.303-.44.864-.391 1.729.13 2.527.359.537.93.864 1.663.962.896.114 1.793-.05 2.657-.505 1.271-.669 2.119-1.467 2.672-2.56a.944.944 0 01-.26-.603.913.913 0 01.88-.945h.033a.915.915 0 01.098 1.825c-.897 1.842-2.478 3.08-4.565 3.488z",fill:e}))),NI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 2.547a5.632 5.632 0 01-1.65.464 2.946 2.946 0 001.263-1.63 5.67 5.67 0 01-1.823.715 2.837 2.837 0 00-2.097-.93c-1.586 0-2.872 1.319-2.872 2.946 0 .23.025.456.074.67C4.508 4.66 2.392 3.488.975 1.706c-.247.435-.389.941-.389 1.481 0 1.022.507 1.923 1.278 2.452a2.806 2.806 0 01-1.3-.368l-.001.037c0 1.427.99 2.617 2.303 2.888a2.82 2.82 0 01-1.297.05c.366 1.17 1.427 2.022 2.683 2.045A5.671 5.671 0 010 11.51a7.985 7.985 0 004.403 1.323c5.283 0 8.172-4.488 8.172-8.38 0-.128-.003-.255-.009-.38A5.926 5.926 0 0014 2.546z",fill:e}))),HI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.99 8.172c.005-.281.007-.672.007-1.172 0-.5-.002-.89-.007-1.172a14.952 14.952 0 00-.066-1.066 9.638 9.638 0 00-.169-1.153c-.083-.38-.264-.7-.542-.96a1.667 1.667 0 00-.972-.454C11.084 2.065 9.337 2 6.999 2s-4.085.065-5.241.195a1.65 1.65 0 00-.969.453c-.276.26-.455.58-.539.961a8.648 8.648 0 00-.176 1.153c-.039.43-.061.785-.066 1.066C.002 6.11 0 6.5 0 7c0 .5.002.89.008 1.172.005.281.027.637.066 1.067.04.43.095.813.168 1.152.084.38.265.7.543.96.279.261.603.412.973.453 1.156.13 2.902.196 5.24.196 2.34 0 4.087-.065 5.243-.196a1.65 1.65 0 00.967-.453c.276-.26.456-.58.54-.96.077-.339.136-.722.175-1.152.04-.43.062-.786.067-1.067zM9.762 6.578A.45.45 0 019.997 7a.45.45 0 01-.235.422l-3.998 2.5a.442.442 0 01-.266.078.538.538 0 01-.242-.063.465.465 0 01-.258-.437v-5c0-.197.086-.343.258-.437a.471.471 0 01.508.016l3.998 2.5z",fill:e}))),jI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.243.04a.87.87 0 01.38.087l2.881 1.386a.874.874 0 01.496.79V11.713a.875.875 0 01-.496.775l-2.882 1.386a.872.872 0 01-.994-.17L4.11 8.674l-2.404 1.823a.583.583 0 01-.744-.034l-.771-.7a.583.583 0 010-.862L2.274 7 .19 5.1a.583.583 0 010-.862l.772-.701a.583.583 0 01.744-.033L4.11 5.327 9.628.296a.871.871 0 01.615-.255zm.259 3.784L6.315 7l4.187 3.176V3.824z",fill:e}))),VI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.667 13H2.333A1.333 1.333 0 011 11.667V2.333C1 1.597 1.597 1 2.333 1h9.334C12.403 1 13 1.597 13 2.333v9.334c0 .736-.597 1.333-1.333 1.333zm-2.114-1.667h1.78V7.675c0-1.548-.877-2.296-2.102-2.296-1.226 0-1.742.955-1.742.955v-.778H5.773v5.777h1.716V8.3c0-.812.374-1.296 1.09-1.296.658 0 .974.465.974 1.296v3.033zm-6.886-7.6c0 .589.474 1.066 1.058 1.066.585 0 1.058-.477 1.058-1.066 0-.589-.473-1.066-1.058-1.066-.584 0-1.058.477-1.058 1.066zm1.962 7.6h-1.79V5.556h1.79v5.777z",fill:e}))),UI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h13a.5.5 0 01.5.5v11a.5.5 0 01-.5.5H.5zm.5-1v-8h12v8H1zm1-9.5a.5.5 0 11-1 0 .5.5 0 011 0zm2 0a.5.5 0 11-1 0 .5.5 0 011 0zm2 0a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}))),qI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5.004a1.5 1.5 0 00-1.5 1.5v11a1.5 1.5 0 001.5 1.5h7a1.5 1.5 0 001.5-1.5v-11a1.5 1.5 0 00-1.5-1.5h-7zm0 1h7a.5.5 0 01.5.5v9.5H3v-9.5a.5.5 0 01.5-.5zm2.5 11a.5.5 0 000 1h2a.5.5 0 000-1H6z",fill:e}))),WI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 1.504a1.5 1.5 0 011.5-1.5h5a1.5 1.5 0 011.5 1.5v11a1.5 1.5 0 01-1.5 1.5h-5a1.5 1.5 0 01-1.5-1.5v-11zm1 10.5v-10h6v10H4z",fill:e}))),GI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 .504a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zm5.5 2.5h-5a.5.5 0 00-.5.5v7a.5.5 0 00.5.5h5a.5.5 0 00.5-.5v-7a.5.5 0 00-.5-.5zm-5-1a1.5 1.5 0 00-1.5 1.5v7a1.5 1.5 0 001.5 1.5h5a1.5 1.5 0 001.5-1.5v-7a1.5 1.5 0 00-1.5-1.5h-5zm2.5 2a.5.5 0 01.5.5v2h1a.5.5 0 110 1H7a.5.5 0 01-.5-.5v-2.5a.5.5 0 01.5-.5zm-2.5 9a.5.5 0 000 1h5a.5.5 0 000-1h-5z",fill:e}))),KI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H3a.5.5 0 01-.5-.5zM3 6.004a.5.5 0 100 1h1a.5.5 0 000-1H3zM2.5 8.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H3a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm.5-1v-10h3v10H2zm4-10h6v10H6v-10z",fill:e}))),YI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M9.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM10 6.004a.5.5 0 100 1h1a.5.5 0 000-1h-1zM9.5 8.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm.5-1v-10h6v10H2zm7-10h3v10H9v-10z",fill:e}))),JI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.5 4.504a.5.5 0 00-.5-.5h-1a.5.5 0 100 1h1a.5.5 0 00.5-.5zM11 6.004a.5.5 0 010 1h-1a.5.5 0 010-1h1zM11.5 8.504a.5.5 0 00-.5-.5h-1a.5.5 0 100 1h1a.5.5 0 00.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm7.5-1h3v-10H9v10zm-1 0H2v-10h6v4.5H5.207l.65-.65a.5.5 0 10-.707-.708L3.646 6.65a.5.5 0 000 .707l1.497 1.497a.5.5 0 10.707-.708l-.643-.642H8v4.5z",fill:e}))),ZI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H2a.5.5 0 01-.5-.5zM2 6.004a.5.5 0 100 1h1a.5.5 0 000-1H2zM1.5 8.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H2a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5H.5zm.5-1v-10h3v10H1zm4 0v-4.5h2.793l-.643.642a.5.5 0 10.707.708l1.497-1.497a.5.5 0 000-.707L7.85 5.146a.5.5 0 10-.707.708l.65.65H5v-4.5h6v10H5z",fill:e}))),XI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM6.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1zM9 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zm1 6.5v-6h10v6H2zm10 1v3H2v-3h10z",fill:e}))),QI=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1zM6 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM9.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 12.504v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5zm1-.5v-3h10v3H2zm4.5-4H2v-6h10v6H7.5V5.21l.646.646a.5.5 0 10.708-.707l-1.5-1.5a.5.5 0 00-.708 0l-1.5 1.5a.5.5 0 10.708.707l.646-.646v2.793z",fill:e}))),eT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 5.504a.5.5 0 01.5-.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5v-3zm1 2.5v-2h2v2H6z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5.004a.5.5 0 01.5.5v1.5h2v-1.5a.5.5 0 011 0v1.5h2.5a.5.5 0 01.5.5v2.5h1.5a.5.5 0 010 1H12v2h1.5a.5.5 0 010 1H12v2.5a.5.5 0 01-.5.5H9v1.5a.5.5 0 01-1 0v-1.5H6v1.5a.5.5 0 01-1 0v-1.5H2.5a.5.5 0 01-.5-.5v-2.5H.5a.5.5 0 010-1H2v-2H.5a.5.5 0 010-1H2v-2.5a.5.5 0 01.5-.5H5v-1.5a.5.5 0 01.5-.5zm5.5 3H3v8h8v-8z",fill:e}))),tT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3c0-1.105-2.239-2-5-2s-5 .895-5 2v8c0 .426.26.752.544.977.29.228.68.413 1.116.558.878.293 2.059.465 3.34.465 1.281 0 2.462-.172 3.34-.465.436-.145.825-.33 1.116-.558.285-.225.544-.551.544-.977V3zm-1.03 0a.787.787 0 00-.05-.052c-.13-.123-.373-.28-.756-.434C9.404 2.21 8.286 2 7 2c-1.286 0-2.404.21-3.164.514-.383.153-.625.31-.756.434A.756.756 0 003.03 3a.756.756 0 00.05.052c.13.123.373.28.756.434C4.596 3.79 5.714 4 7 4c1.286 0 2.404-.21 3.164-.514.383-.153.625-.31.756-.434A.787.787 0 0010.97 3zM11 5.75V4.2c-.912.486-2.364.8-4 .8-1.636 0-3.088-.314-4-.8v1.55l.002.008a.147.147 0 00.016.033.618.618 0 00.145.15c.165.13.435.27.813.395.751.25 1.82.414 3.024.414s2.273-.163 3.024-.414c.378-.126.648-.265.813-.395a.62.62 0 00.146-.15.149.149 0 00.015-.033A.03.03 0 0011 5.75zM3 7.013c.2.103.423.193.66.272.878.293 2.059.465 3.34.465 1.281 0 2.462-.172 3.34-.465.237-.079.46-.17.66-.272V8.5l-.002.008a.149.149 0 01-.015.033.62.62 0 01-.146.15c-.165.13-.435.27-.813.395-.751.25-1.82.414-3.024.414s-2.273-.163-3.024-.414c-.378-.126-.648-.265-.813-.395a.618.618 0 01-.145-.15.147.147 0 01-.016-.033A.027.027 0 013 8.5V7.013zm0 2.75V11l.002.008a.147.147 0 00.016.033.617.617 0 00.145.15c.165.13.435.27.813.395.751.25 1.82.414 3.024.414s2.273-.163 3.024-.414c.378-.126.648-.265.813-.395a.619.619 0 00.146-.15.148.148 0 00.015-.033L11 11V9.763c-.2.103-.423.193-.66.272-.878.293-2.059.465-3.34.465-1.281 0-2.462-.172-3.34-.465A4.767 4.767 0 013 9.763z",fill:e}))),rT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5 3a.5.5 0 00-1 0v3a.5.5 0 001 0V3zM7 2.5a.5.5 0 01.5.5v3a.5.5 0 01-1 0V3a.5.5 0 01.5-.5zM10 4.504a.5.5 0 10-1 0V6a.5.5 0 001 0V4.504z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3.54l-.001-.002a.499.499 0 00-.145-.388l-3-3a.499.499 0 00-.388-.145L8.464.004H2.5a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h9a.5.5 0 00.5-.5V3.54zM3 1.004h5.293L11 3.71v5.293H3v-8zm0 9v3h8v-3H3z",fill:e}))),nT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.164 3.446a1.5 1.5 0 10-2.328 0L1.81 10.032A1.503 1.503 0 000 11.5a1.5 1.5 0 002.915.5h8.17a1.5 1.5 0 101.104-1.968L8.164 3.446zm-1.475.522a1.506 1.506 0 00.622 0l4.025 6.586a1.495 1.495 0 00-.25.446H2.914a1.497 1.497 0 00-.25-.446l4.024-6.586z",fill:e}))),aT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.21.046l6.485 2.994A.5.5 0 0114 3.51v6.977a.495.495 0 01-.23.432.481.481 0 01-.071.038L7.23 13.944a.499.499 0 01-.46 0L.3 10.958a.498.498 0 01-.3-.47V3.511a.497.497 0 01.308-.473L6.78.051a.499.499 0 01.43-.005zM1 4.282v5.898l5.5 2.538V6.82L1 4.282zm6.5 8.436L13 10.18V4.282L7.5 6.82v5.898zM12.307 3.5L7 5.95 1.693 3.5 7 1.05l5.307 2.45z",fill:e}))),oT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0v6a.5.5 0 001 0v-6z",fill:e}),l.createElement("path",{d:"M4.273 2.808a.5.5 0 00-.546-.837 6 6 0 106.546 0 .5.5 0 00-.546.837 5 5 0 11-5.454 0z",fill:e}))),iT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.854 2.146l-2-2a.5.5 0 00-.708 0l-1.5 1.5-8.995 8.995a.499.499 0 00-.143.268L.012 13.39a.495.495 0 00.135.463.5.5 0 00.462.134l2.482-.496a.495.495 0 00.267-.143l8.995-8.995 1.5-1.5a.5.5 0 000-.708zM12 3.293l.793-.793L11.5 1.207 10.707 2 12 3.293zm-2-.586L1.707 11 3 12.293 11.293 4 10 2.707zM1.137 12.863l.17-.849.679.679-.849.17z",fill:e}))),lT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.586 5.586A2 2 0 018.862 7.73a.5.5 0 10.931.365 3 3 0 10-1.697 1.697.5.5 0 10-.365-.93 2 2 0 01-2.145-3.277z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.939 6.527c.127.128.19.297.185.464a.635.635 0 01-.185.465L0 8.395a7.099 7.099 0 001.067 2.572h1.32c.182 0 .345.076.46.197a.635.635 0 01.198.46v1.317A7.097 7.097 0 005.602 14l.94-.94a.634.634 0 01.45-.186H7.021c.163 0 .326.061.45.186l.939.938a7.098 7.098 0 002.547-1.057V11.61c0-.181.075-.344.197-.46a.634.634 0 01.46-.197h1.33c.507-.76.871-1.622 1.056-2.55l-.946-.946a.635.635 0 01-.186-.465.635.635 0 01.186-.464l.943-.944a7.099 7.099 0 00-1.044-2.522h-1.34a.635.635 0 01-.46-.197.635.635 0 01-.196-.46V1.057A7.096 7.096 0 008.413.002l-.942.942a.634.634 0 01-.45.186H6.992a.634.634 0 01-.45-.186L5.598 0a7.097 7.097 0 00-2.553 1.058v1.33c0 .182-.076.345-.197.46a.635.635 0 01-.46.198h-1.33A7.098 7.098 0 00.003 5.591l.936.936zm.707 1.636c.324-.324.482-.752.479-1.172a1.634 1.634 0 00-.48-1.171l-.538-.539c.126-.433.299-.847.513-1.235h.768c.459 0 .873-.19 1.167-.49.3-.295.49-.708.49-1.167v-.77c.39-.215.807-.388 1.243-.515l.547.547c.32.32.742.48 1.157.48l.015-.001h.014c.415 0 .836-.158 1.157-.479l.545-.544c.433.126.846.299 1.234.512v.784c0 .46.19.874.49 1.168.294.3.708.49 1.167.49h.776c.209.382.378.788.502 1.213l-.545.546a1.635 1.635 0 00-.48 1.17c-.003.421.155.849.48 1.173l.549.55c-.126.434-.3.85-.513 1.239h-.77c-.458 0-.872.19-1.166.49-.3.294-.49.708-.49 1.167v.77a6.09 6.09 0 01-1.238.514l-.54-.54a1.636 1.636 0 00-1.158-.48H6.992c-.415 0-.837.159-1.157.48l-.543.543a6.091 6.091 0 01-1.247-.516v-.756c0-.459-.19-.873-.49-1.167-.294-.3-.708-.49-1.167-.49h-.761a6.094 6.094 0 01-.523-1.262l.542-.542z",fill:e}))),sT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.585 8.414a2 2 0 113.277-.683.5.5 0 10.931.365 3 3 0 10-1.697 1.697.5.5 0 00-.365-.93 2 2 0 01-2.146-.449z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.5.289a1 1 0 011 0l5.062 2.922a1 1 0 01.5.866v5.846a1 1 0 01-.5.866L7.5 13.71a1 1 0 01-1 0L1.437 10.79a1 1 0 01-.5-.866V4.077a1 1 0 01.5-.866L6.5.29zm.5.866l5.062 2.922v5.846L7 12.845 1.937 9.923V4.077L7 1.155z",fill:e}))),uT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5 1c.441 0 .564.521.252.833l-.806.807a.51.51 0 000 .72l.694.694a.51.51 0 00.72 0l.807-.806c.312-.312.833-.19.833.252a2.5 2.5 0 01-3.414 2.328l-6.879 6.88a1 1 0 01-1.414-1.415l6.88-6.88A2.5 2.5 0 0110.5 1zM2 12.5a.5.5 0 100-1 .5.5 0 000 1z",fill:e}))),cT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4 7a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM13 7a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM7 8.5a1.5 1.5 0 100-3 1.5 1.5 0 000 3z",fill:e}))),dT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.903.112a.107.107 0 01.194 0l.233.505.552.066c.091.01.128.123.06.185l-.408.377.109.546a.107.107 0 01-.158.114L6 1.634l-.485.271a.107.107 0 01-.158-.114l.108-.546-.408-.377a.107.107 0 01.06-.185L5.67.617l.233-.505zM2.194.224a.214.214 0 00-.389 0l-.466 1.01-1.104.131a.214.214 0 00-.12.37l.816.755-.217 1.091a.214.214 0 00.315.23L2 3.266l.971.543c.16.09.35-.05.315-.229l-.216-1.09.816-.756a.214.214 0 00-.12-.37L2.66 1.234 2.194.224zM12.194 8.224a.214.214 0 00-.389 0l-.466 1.01-1.104.13a.214.214 0 00-.12.371l.816.755-.217 1.091a.214.214 0 00.315.23l.97-.544.971.543c.16.09.35-.05.315-.229l-.216-1.09.816-.756a.214.214 0 00-.12-.37l-1.105-.131-.466-1.01z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.5 12.797l-1.293-1.293 6.758-6.758L9.258 6.04 2.5 12.797zm7.465-7.465l2.828-2.828L11.5 1.211 8.672 4.04l1.293 1.293zM.147 11.857a.5.5 0 010-.707l11-11a.5.5 0 01.706 0l2 2a.5.5 0 010 .708l-11 11a.5.5 0 01-.706 0l-2-2z",fill:e}))),pT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M13.854 3.354a.5.5 0 00-.708-.708L5 10.793.854 6.646a.5.5 0 10-.708.708l4.5 4.5a.5.5 0 00.708 0l8.5-8.5z",fill:e}))),fT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1V6.393a.5.5 0 00-1 0v5.61H2v-10h7.5a.5.5 0 000-1H2z",fill:e}),l.createElement("path",{d:"M6.354 9.857l7.5-7.5a.5.5 0 00-.708-.707L6 8.797 3.854 6.65a.5.5 0 10-.708.707l2.5 2.5a.5.5 0 00.708 0z",fill:e}))),hT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.5 2a.5.5 0 000 1h2a.5.5 0 000-1h-2zM8.854 2.646a.5.5 0 010 .708L5.207 7l3.647 3.646a.5.5 0 01-.708.708L4.5 7.707.854 11.354a.5.5 0 01-.708-.708L3.793 7 .146 3.354a.5.5 0 11.708-.708L4.5 6.293l3.646-3.647a.5.5 0 01.708 0zM11 7a.5.5 0 01.5-.5h2a.5.5 0 010 1h-2A.5.5 0 0111 7zM11.5 11a.5.5 0 000 1h2a.5.5 0 000-1h-2z",fill:e}))),mT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.5 2a.5.5 0 000 1h2a.5.5 0 000-1h-2zM9.3 2.6a.5.5 0 01.1.7l-5.995 7.993a.505.505 0 01-.37.206.5.5 0 01-.395-.152L.146 8.854a.5.5 0 11.708-.708l2.092 2.093L8.6 2.7a.5.5 0 01.7-.1zM11 7a.5.5 0 01.5-.5h2a.5.5 0 010 1h-2A.5.5 0 0111 7zM11.5 11a.5.5 0 000 1h2a.5.5 0 000-1h-2z",fill:e}))),gT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M10.5 1a.5.5 0 01.5.5V2h1.5a.5.5 0 010 1H11v.5a.5.5 0 01-1 0V3H1.5a.5.5 0 010-1H10v-.5a.5.5 0 01.5-.5zM1.5 11a.5.5 0 000 1H10v.5a.5.5 0 001 0V12h1.5a.5.5 0 000-1H11v-.5a.5.5 0 00-1 0v.5H1.5zM1 7a.5.5 0 01.5-.5H3V6a.5.5 0 011 0v.5h8.5a.5.5 0 010 1H4V8a.5.5 0 01-1 0v-.5H1.5A.5.5 0 011 7z",fill:e}))),vT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0v6h-6a.5.5 0 000 1h6v6a.5.5 0 001 0v-6h6a.5.5 0 000-1h-6v-6z",fill:e}))),yT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.03.97A.75.75 0 00.97 2.03L5.94 7 .97 11.97a.75.75 0 101.06 1.06L7 8.06l4.97 4.97a.75.75 0 101.06-1.06L8.06 7l4.97-4.97A.75.75 0 0011.97.97L7 5.94 2.03.97z",fill:e}))),i9=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708L6.293 7l-5.147 5.146a.5.5 0 00.708.708L7 7.707l5.146 5.147a.5.5 0 00.708-.708L7.707 7l5.147-5.146a.5.5 0 00-.708-.708L7 6.293 1.854 1.146z",fill:e}))),bT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.5 4.5A.5.5 0 016 5v5a.5.5 0 01-1 0V5a.5.5 0 01.5-.5zM9 5a.5.5 0 00-1 0v5a.5.5 0 001 0V5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5.5A.5.5 0 015 0h4a.5.5 0 01.5.5V2h3a.5.5 0 010 1H12v8a2 2 0 01-2 2H4a2 2 0 01-2-2V3h-.5a.5.5 0 010-1h3V.5zM3 3v8a1 1 0 001 1h6a1 1 0 001-1V3H3zm2.5-2h3v1h-3V1z",fill:e}))),wT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3502)"},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.44 4.44L9.56.56a1.5 1.5 0 00-2.12 0L7 1a1.415 1.415 0 000 2L5 5H3.657A4 4 0 00.828 6.17l-.474.475a.5.5 0 000 .707l2.793 2.793-3 3a.5.5 0 00.707.708l3-3 2.792 2.792a.5.5 0 00.708 0l.474-.475A4 4 0 009 10.343V9l2-2a1.414 1.414 0 002 0l.44-.44a1.5 1.5 0 000-2.12zM11 5.585l-3 3v1.757a3 3 0 01-.879 2.121L7 12.586 1.414 7l.122-.122A3 3 0 013.656 6h1.758l3-3-.707-.707a.414.414 0 010-.586l.44-.44a.5.5 0 01.707 0l3.878 3.88a.5.5 0 010 .706l-.44.44a.414.414 0 01-.585 0L11 5.586z",fill:e})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3502"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),ET=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3501)",fill:e},l.createElement("path",{d:"M13.44 4.44L9.56.56a1.5 1.5 0 00-2.12 0L7 1a1.415 1.415 0 000 2L5.707 4.293 6.414 5l2-2-.707-.707a.414.414 0 010-.586l.44-.44a.5.5 0 01.707 0l3.878 3.88a.5.5 0 010 .706l-.44.44a.414.414 0 01-.585 0L11 5.586l-2 2 .707.707L11 7a1.414 1.414 0 002 0l.44-.44a1.5 1.5 0 000-2.12zM.828 6.171a4 4 0 012.758-1.17l1 .999h-.93a3 3 0 00-2.12.878L1.414 7 7 12.586l.121-.122A3 3 0 008 10.343v-.929l1 1a4 4 0 01-1.172 2.757l-.474.475a.5.5 0 01-.708 0l-2.792-2.792-3 3a.5.5 0 01-.708-.708l3-3L.355 7.353a.5.5 0 010-.707l.474-.475zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11z"})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3501"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),xT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 3a.5.5 0 01.5.5v3h3a.5.5 0 010 1h-3v3a.5.5 0 01-1 0v-3h-3a.5.5 0 010-1h3v-3A.5.5 0 017 3z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),CT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),DT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M9.854 4.146a.5.5 0 010 .708L7.707 7l2.147 2.146a.5.5 0 01-.708.708L7 7.707 4.854 9.854a.5.5 0 01-.708-.708L6.293 7 4.146 4.854a.5.5 0 11.708-.708L7 6.293l2.146-2.147a.5.5 0 01.708 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),ST=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0a6 6 0 01-9.874 4.582l8.456-8.456A5.976 5.976 0 0113 7zM2.418 10.874l8.456-8.456a6 6 0 00-8.456 8.456z",fill:e}))),AT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm3.854-9.354a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.708 0l-2.5-2.5a.5.5 0 11.708-.708L6 8.793l4.146-4.147a.5.5 0 01.708 0z",fill:e}))),kT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zM3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}))),_T=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"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}))),FT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 2h7a2 2 0 012 2v6a2 2 0 01-2 2H5a1.994 1.994 0 01-1.414-.586l-3-3a2 2 0 010-2.828l3-3A1.994 1.994 0 015 2zm1.146 3.146a.5.5 0 01.708 0L8 6.293l1.146-1.147a.5.5 0 11.708.708L8.707 7l1.147 1.146a.5.5 0 01-.708.708L8 7.707 6.854 8.854a.5.5 0 11-.708-.708L7.293 7 6.146 5.854a.5.5 0 010-.708z",fill:e}))),IT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.5 5.004a.5.5 0 100 1h7a.5.5 0 000-1h-7zM3 8.504a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5 12.004H5.707l-1.853 1.854a.5.5 0 01-.351.146h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.5 0 01-.5.5zm-10.5-1v-8h10v8H2z",fill:e}))),TT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.5 5.004a.5.5 0 10-1 0v1.5H5a.5.5 0 100 1h1.5v1.5a.5.5 0 001 0v-1.5H9a.5.5 0 000-1H7.5v-1.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.691 13.966a.498.498 0 01-.188.038h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.5 0 01-.5.5H5.707l-1.853 1.854a.5.5 0 01-.163.108zM2 3.004v8h10v-8H2z",fill:e}))),RT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M9.854 6.65a.5.5 0 010 .707l-2 2a.5.5 0 11-.708-.707l1.15-1.15-3.796.004a.5.5 0 010-1L8.29 6.5 7.145 5.357a.5.5 0 11.708-.707l2 2z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.691 13.966a.498.498 0 01-.188.038h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.5 0 01-.5.5H5.707l-1.853 1.854a.5.5 0 01-.163.108zM2 3.004v8h10v-8H2z",fill:e}))),BT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M8.5 7.004a.5.5 0 000-1h-5a.5.5 0 100 1h5zM9 8.504a.5.5 0 01-.5.5h-5a.5.5 0 010-1h5a.5.5 0 01.5.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 11.504v-1.5h1.5a.5.5 0 00.5-.5v-8a.5.5 0 00-.5-.5h-11a.5.5 0 00-.5.5v1.5H.5a.5.5 0 00-.5.5v8a.5.5 0 00.5.5H2v1.5a.499.499 0 00.497.5h.006a.498.498 0 00.35-.146l1.854-1.854H11.5a.5.5 0 00.5-.5zm-9-8.5v-1h10v7h-1v-5.5a.5.5 0 00-.5-.5H3zm-2 8v-7h10v7H1z",fill:e}))),zT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 2a2 2 0 012-2h8a2 2 0 012 2v8a2 2 0 01-2 2H6.986a.444.444 0 01-.124.103l-3.219 1.84A.43.43 0 013 13.569V12a2 2 0 01-2-2V2zm3.42 4.78a.921.921 0 110-1.843.921.921 0 010 1.842zm1.658-.922a.921.921 0 101.843 0 .921.921 0 00-1.843 0zm2.58 0a.921.921 0 101.842 0 .921.921 0 00-1.843 0z",fill:e}))),LT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M8 8.004a1 1 0 01-.5.866v1.634a.5.5 0 01-1 0V8.87A1 1 0 118 8.004z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 4.004a4 4 0 118 0v1h1.5a.5.5 0 01.5.5v8a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-8a.5.5 0 01.5-.5H3v-1zm7 1v-1a3 3 0 10-6 0v1h6zm2 1H2v7h10v-7z",fill:e}))),OT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3614)",fill:e},l.createElement("path",{d:"M6.5 8.87a1 1 0 111 0v1.634a.5.5 0 01-1 0V8.87z"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 1a3 3 0 00-3 3v1.004h8.5a.5.5 0 01.5.5v8a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-8a.5.5 0 01.5-.5H3V4a4 4 0 017.755-1.381.5.5 0 01-.939.345A3.001 3.001 0 007 1zM2 6.004h10v7H2v-7z"})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3614"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),MT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11 4a1 1 0 11-2 0 1 1 0 012 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.5 8.532V9.5a.5.5 0 01-.5.5H5.5v1.5a.5.5 0 01-.5.5H3.5v1.5a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-2a.5.5 0 01.155-.362l5.11-5.11A4.5 4.5 0 117.5 8.532zM6 4.5a3.5 3.5 0 111.5 2.873c-.29-.203-1-.373-1 .481V9H5a.5.5 0 00-.5.5V11H3a.5.5 0 00-.5.5V13H1v-1.293l5.193-5.193a.552.552 0 00.099-.613A3.473 3.473 0 016 4.5z",fill:e}))),$T=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.354.15a.5.5 0 00-.708 0l-2 2a.5.5 0 10.708.707L6.5 1.711v6.793a.5.5 0 001 0V1.71l1.146 1.146a.5.5 0 10.708-.707l-2-2z",fill:e}),l.createElement("path",{d:"M2 7.504a.5.5 0 10-1 0v5a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-5a.5.5 0 00-1 0v4.5H2v-4.5z",fill:e}))),PT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.5 8.004a.5.5 0 100 1h3a.5.5 0 000-1h-3z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 11.504a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H.5a.5.5 0 00-.5.5v9zm1-8.5v1h12v-1H1zm0 8h12v-5H1v5z",fill:e}))),NT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1 3.004a1 1 0 00-1 1v5a1 1 0 001 1h3.5a.5.5 0 100-1H1v-5h12v5h-1a.5.5 0 000 1h1a1 1 0 001-1v-5a1 1 0 00-1-1H1z",fill:e}),l.createElement("path",{d:"M6.45 7.006a.498.498 0 01.31.07L10.225 9.1a.5.5 0 01-.002.873l-1.074.621.75 1.3a.75.75 0 01-1.3.75l-.75-1.3-1.074.62a.497.497 0 01-.663-.135.498.498 0 01-.095-.3L6 7.515a.497.497 0 01.45-.509z",fill:e}))),HT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4 1.504a.5.5 0 01.5-.5h5a.5.5 0 110 1h-2v10h2a.5.5 0 010 1h-5a.5.5 0 010-1h2v-10h-2a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{d:"M0 4.504a.5.5 0 01.5-.5h4a.5.5 0 110 1H1v4h3.5a.5.5 0 110 1h-4a.5.5 0 01-.5-.5v-5zM9.5 4.004a.5.5 0 100 1H13v4H9.5a.5.5 0 100 1h4a.5.5 0 00.5-.5v-5a.5.5 0 00-.5-.5h-4z",fill:e}))),jT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.943 12.457a.27.27 0 00.248-.149L7.77 9.151l2.54 2.54a.257.257 0 00.188.073c.082 0 .158-.03.21-.077l.788-.79a.27.27 0 000-.392L8.891 7.9l3.416-1.708a.29.29 0 00.117-.106.222.222 0 00.033-.134.332.332 0 00-.053-.161.174.174 0 00-.092-.072l-.02-.007-10.377-4.15a.274.274 0 00-.355.354l4.15 10.372a.275.275 0 00.233.169zm-.036 1l-.02-.002c-.462-.03-.912-.31-1.106-.796L.632 2.287A1.274 1.274 0 012.286.633l10.358 4.143c.516.182.782.657.81 1.114a1.25 1.25 0 01-.7 1.197L10.58 8.174l1.624 1.624a1.27 1.27 0 010 1.807l-.8.801-.008.007c-.491.46-1.298.48-1.792-.014l-1.56-1.56-.957 1.916a1.27 1.27 0 01-1.142.702h-.037z",fill:e}))),VT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.87 6.008a.505.505 0 00-.003-.028v-.002c-.026-.27-.225-.48-.467-.498a.5.5 0 00-.53.5v1.41c0 .25-.22.47-.47.47a.48.48 0 01-.47-.47V5.17a.6.6 0 00-.002-.05c-.023-.268-.223-.49-.468-.5a.5.5 0 00-.52.5v1.65a.486.486 0 01-.47.47.48.48 0 01-.47-.47V4.62a.602.602 0 00-.002-.05v-.002c-.023-.266-.224-.48-.468-.498a.5.5 0 00-.53.5v2.2c0 .25-.22.47-.47.47a.49.49 0 01-.47-.47V1.8c0-.017 0-.034-.002-.05-.022-.268-.214-.49-.468-.5a.5.5 0 00-.52.5v6.78c0 .25-.22.47-.47.47a.48.48 0 01-.47-.47l.001-.1c.001-.053.002-.104 0-.155a.775.775 0 00-.06-.315.65.65 0 00-.16-.22 29.67 29.67 0 01-.21-.189c-.2-.182-.4-.365-.617-.532l-.003-.003A6.366 6.366 0 003.06 7l-.01-.007c-.433-.331-.621-.243-.69-.193-.26.14-.29.5-.13.74l1.73 2.6v.01h-.016l-.035.023.05-.023s1.21 2.6 3.57 2.6c3.54 0 4.2-1.9 4.31-4.42.039-.591.036-1.189.032-1.783l-.002-.507v-.032zm.969 2.376c-.057 1.285-.254 2.667-1.082 3.72-.88 1.118-2.283 1.646-4.227 1.646-1.574 0-2.714-.87-3.406-1.623a6.958 6.958 0 01-1.046-1.504l-.006-.012-1.674-2.516a1.593 1.593 0 01-.25-1.107 1.44 1.44 0 01.69-1.041c.195-.124.485-.232.856-.186.357.044.681.219.976.446.137.106.272.22.4.331V1.75A1.5 1.5 0 015.63.25c.93.036 1.431.856 1.431 1.55v1.335a1.5 1.5 0 01.53-.063h.017c.512.04.915.326 1.153.71a1.5 1.5 0 01.74-.161c.659.025 1.115.458 1.316.964a1.493 1.493 0 01.644-.103h.017c.856.067 1.393.814 1.393 1.558l.002.48c.004.596.007 1.237-.033 1.864z",fill:e}))),UT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 6A2.5 2.5 0 116 3.5V5h2V3.5A2.5 2.5 0 1110.5 6H9v2h1.5A2.5 2.5 0 118 10.5V9H6v1.5A2.5 2.5 0 113.5 8H5V6H3.5zM2 3.5a1.5 1.5 0 113 0V5H3.5A1.5 1.5 0 012 3.5zM6 6v2h2V6H6zm3-1h1.5A1.5 1.5 0 109 3.5V5zM3.5 9H5v1.5A1.5 1.5 0 113.5 9zM9 9v1.5A1.5 1.5 0 1010.5 9H9z",fill:e}))),qT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 5.5a.5.5 0 01.5.5v4a.5.5 0 01-1 0V6a.5.5 0 01.5-.5zM7 4.5A.75.75 0 107 3a.75.75 0 000 1.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),WT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.25 5.25A1.75 1.75 0 117 7a.5.5 0 00-.5.5V9a.5.5 0 001 0V7.955A2.75 2.75 0 104.25 5.25a.5.5 0 001 0zM7 11.5A.75.75 0 107 10a.75.75 0 000 1.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),GT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-3.524 4.89A5.972 5.972 0 017 13a5.972 5.972 0 01-3.477-1.11l1.445-1.444C5.564 10.798 6.258 11 7 11s1.436-.202 2.032-.554l1.444 1.445zm-.03-2.858l1.445 1.444A5.972 5.972 0 0013 7c0-1.296-.41-2.496-1.11-3.477l-1.444 1.445C10.798 5.564 11 6.258 11 7s-.202 1.436-.554 2.032zM9.032 3.554l1.444-1.445A5.972 5.972 0 007 1c-1.296 0-2.496.41-3.477 1.11l1.445 1.444A3.981 3.981 0 017 3c.742 0 1.436.202 2.032.554zM3.554 4.968L2.109 3.523A5.973 5.973 0 001 7c0 1.296.41 2.496 1.11 3.476l1.444-1.444A3.981 3.981 0 013 7c0-.742.202-1.436.554-2.032zM10 7a3 3 0 11-6 0 3 3 0 016 0z",fill:e}))),KT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 4.5a.5.5 0 01.5.5v3.5a.5.5 0 11-1 0V5a.5.5 0 01.5-.5zM7.75 10.5a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.206 1.045a.498.498 0 01.23.209l6.494 10.992a.5.5 0 01-.438.754H.508a.497.497 0 01-.506-.452.498.498 0 01.072-.31l6.49-10.984a.497.497 0 01.642-.21zM7 2.483L1.376 12h11.248L7 2.483z",fill:e}))),YT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zM6.5 8a.5.5 0 001 0V4a.5.5 0 00-1 0v4zm-.25 2.25a.75.75 0 111.5 0 .75.75 0 01-1.5 0z",fill:e}))),JT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 2.504a.5.5 0 01.5-.5h13a.5.5 0 01.5.5v9a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-9zm1 1.012v7.488h12V3.519L7.313 7.894a.496.496 0 01-.526.062.497.497 0 01-.1-.062L1 3.516zm11.03-.512H1.974L7 6.874l5.03-3.87z",fill:e}))),ZT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.76 8.134l-.05.05a.2.2 0 01-.28.03 6.76 6.76 0 01-1.63-1.65.21.21 0 01.04-.27l.05-.05c.23-.2.54-.47.71-.96.17-.47-.02-1.04-.66-1.94-.26-.38-.72-.96-1.22-1.46-.68-.69-1.2-1-1.65-1a.98.98 0 00-.51.13A3.23 3.23 0 00.9 3.424c-.13 1.1.26 2.37 1.17 3.78a16.679 16.679 0 004.55 4.6 6.57 6.57 0 003.53 1.32 3.2 3.2 0 002.85-1.66c.14-.24.24-.64-.07-1.18a7.803 7.803 0 00-1.73-1.81c-.64-.5-1.52-1.11-2.13-1.11a.97.97 0 00-.34.06c-.472.164-.74.458-.947.685l-.023.025zm4.32 2.678a6.801 6.801 0 00-1.482-1.54l-.007-.005-.006-.005a8.418 8.418 0 00-.957-.662 2.7 2.7 0 00-.4-.193.683.683 0 00-.157-.043l-.004.002-.009.003c-.224.078-.343.202-.56.44l-.014.016-.046.045a1.2 1.2 0 01-1.602.149A7.76 7.76 0 014.98 7.134l-.013-.019-.013-.02a1.21 1.21 0 01.195-1.522l.06-.06.026-.024c.219-.19.345-.312.422-.533l.003-.01v-.008a.518.518 0 00-.032-.142c-.06-.178-.203-.453-.502-.872l-.005-.008-.005-.007A10.18 10.18 0 004.013 2.59l-.005-.005c-.31-.314-.543-.5-.716-.605-.147-.088-.214-.096-.222-.097h-.016l-.006.003-.01.006a2.23 2.23 0 00-1.145 1.656c-.09.776.175 1.806 1.014 3.108a15.68 15.68 0 004.274 4.32l.022.014.022.016a5.57 5.57 0 002.964 1.117 2.2 2.2 0 001.935-1.141l.006-.012.004-.007a.182.182 0 00-.007-.038.574.574 0 00-.047-.114z",fill:e}))),XT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.841 2.159a2.25 2.25 0 00-3.182 0l-2.5 2.5a2.25 2.25 0 000 3.182.5.5 0 01-.707.707 3.25 3.25 0 010-4.596l2.5-2.5a3.25 3.25 0 014.596 4.596l-2.063 2.063a4.27 4.27 0 00-.094-1.32l1.45-1.45a2.25 2.25 0 000-3.182z",fill:e}),l.createElement("path",{d:"M3.61 7.21c-.1-.434-.132-.88-.095-1.321L1.452 7.952a3.25 3.25 0 104.596 4.596l2.5-2.5a3.25 3.25 0 000-4.596.5.5 0 00-.707.707 2.25 2.25 0 010 3.182l-2.5 2.5A2.25 2.25 0 112.159 8.66l1.45-1.45z",fill:e}))),QT=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.452 7.952l1.305-1.305.708.707-1.306 1.305a2.25 2.25 0 103.182 3.182l1.306-1.305.707.707-1.306 1.305a3.25 3.25 0 01-4.596-4.596zM12.548 6.048l-1.305 1.306-.707-.708 1.305-1.305a2.25 2.25 0 10-3.182-3.182L7.354 3.464l-.708-.707 1.306-1.305a3.25 3.25 0 014.596 4.596zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.707-.707l-11-11z",fill:e}))),eR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"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}))),tR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5.5A.5.5 0 012 0c6.627 0 12 5.373 12 12a.5.5 0 01-1 0C13 5.925 8.075 1 2 1a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{d:"M1.5 4.5A.5.5 0 012 4a8 8 0 018 8 .5.5 0 01-1 0 7 7 0 00-7-7 .5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 11a2 2 0 11-4 0 2 2 0 014 0zm-1 0a1 1 0 11-2 0 1 1 0 012 0z",fill:e}))),rR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1v-4.5a.5.5 0 00-1 0v4.5H2v-10h4.5a.5.5 0 000-1H2z",fill:e}),l.createElement("path",{d:"M7.354 7.357L12 2.711v1.793a.5.5 0 001 0v-3a.5.5 0 00-.5-.5h-3a.5.5 0 100 1h1.793L6.646 6.65a.5.5 0 10.708.707z",fill:e}))),nR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M6.646.15a.5.5 0 01.708 0l2 2a.5.5 0 11-.708.707L7.5 1.711v6.793a.5.5 0 01-1 0V1.71L5.354 2.857a.5.5 0 11-.708-.707l2-2z",fill:e}),l.createElement("path",{d:"M2 4.004a1 1 0 00-1 1v7a1 1 0 001 1h10a1 1 0 001-1v-7a1 1 0 00-1-1H9.5a.5.5 0 100 1H12v7H2v-7h2.5a.5.5 0 000-1H2z",fill:e}))),aR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M13.854 6.646a.5.5 0 010 .708l-2 2a.5.5 0 01-.708-.708L12.293 7.5H5.5a.5.5 0 010-1h6.793l-1.147-1.146a.5.5 0 01.708-.708l2 2z",fill:e}),l.createElement("path",{d:"M10 2a1 1 0 00-1-1H2a1 1 0 00-1 1v10a1 1 0 001 1h7a1 1 0 001-1V9.5a.5.5 0 00-1 0V12H2V2h7v2.5a.5.5 0 001 0V2z",fill:e}))),oR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 13A6 6 0 107 1a6 6 0 000 12zm0 1A7 7 0 107 0a7 7 0 000 14z",fill:e}))),iR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M14 7A7 7 0 110 7a7 7 0 0114 0z",fill:e}))),lR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 0h7a.5.5 0 01.5.5v13a.5.5 0 01-.454.498.462.462 0 01-.371-.118L7 11.159l-3.175 2.72a.46.46 0 01-.379.118A.5.5 0 013 13.5V.5a.5.5 0 01.5-.5zM4 12.413l2.664-2.284a.454.454 0 01.377-.128.498.498 0 01.284.12L10 12.412V1H4v11.413z",fill:e}))),sR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 0h7a.5.5 0 01.5.5v13a.5.5 0 01-.454.498.462.462 0 01-.371-.118L7 11.159l-3.175 2.72a.46.46 0 01-.379.118A.5.5 0 013 13.5V.5a.5.5 0 01.5-.5z",fill:e}))),uR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1449_588)"},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.414 1.586a2 2 0 00-2.828 0l-4 4a2 2 0 000 2.828l4 4a2 2 0 002.828 0l4-4a2 2 0 000-2.828l-4-4zm.707-.707a3 3 0 00-4.242 0l-4 4a3 3 0 000 4.242l4 4a3 3 0 004.242 0l4-4a3 3 0 000-4.242l-4-4z",fill:e})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1449_588"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),cR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"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}))),dR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"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}))),pR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{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}))),fR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.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}))),hR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{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}))),mR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{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}))),gR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{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}))),vR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{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}))),yR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M10.354 2.854a.5.5 0 10-.708-.708l-3 3a.5.5 0 10.708.708l3-3z",fill:e}),l.createElement("path",{d:"M2.09 6H4.5a.5.5 0 000-1H1.795a.75.75 0 00-.74.873l.813 4.874A1.5 1.5 0 003.348 12h7.305a1.5 1.5 0 001.48-1.253l.812-4.874a.75.75 0 00-.74-.873H10a.5.5 0 000 1h1.91l-.764 4.582a.5.5 0 01-.493.418H3.347a.5.5 0 01-.493-.418L2.09 6z",fill:e}),l.createElement("path",{d:"M4.5 7a.5.5 0 01.5.5v2a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5zM10 7.5a.5.5 0 00-1 0v2a.5.5 0 001 0v-2zM6.5 9.5v-2a.5.5 0 011 0v2a.5.5 0 01-1 0z",fill:e}))),bR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"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}))),wR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.5 10.5a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 1a.5.5 0 00-.5.5c0 1.063.137 1.892.678 2.974.346.692.858 1.489 1.598 2.526-.89 1.247-1.455 2.152-1.798 2.956-.377.886-.477 1.631-.478 2.537v.007a.5.5 0 00.5.5h7c.017 0 .034 0 .051-.003A.5.5 0 0011 12.5v-.007c0-.906-.1-1.65-.478-2.537-.343-.804-.909-1.709-1.798-2.956.74-1.037 1.252-1.834 1.598-2.526C10.863 3.392 11 2.563 11 1.5a.5.5 0 00-.5-.5h-7zm6.487 11a4.675 4.675 0 00-.385-1.652c-.277-.648-.735-1.407-1.499-2.494-.216.294-.448.606-.696.937a.497.497 0 01-.195.162.5.5 0 01-.619-.162c-.248-.331-.48-.643-.696-.937-.764 1.087-1.222 1.846-1.499 2.494A4.675 4.675 0 004.013 12h5.974zM6.304 6.716c.212.293.443.609.696.948a90.058 90.058 0 00.709-.965c.48-.664.86-1.218 1.163-1.699H5.128a32.672 32.672 0 001.176 1.716zM4.559 4h4.882c.364-.735.505-1.312.546-2H4.013c.04.688.182 1.265.546 2z",fill:e}))),ER=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"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}))),xR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"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}))),CR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"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}))),DR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 7a4 4 0 11-8 0 4 4 0 018 0zm-1 0a3 3 0 11-6 0 3 3 0 016 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.268 13.18c.25.472.83.66 1.31.425l.987-.482a.991.991 0 01.87 0l.987.482a.991.991 0 001.31-.426l.515-.97a.991.991 0 01.704-.511l1.082-.19a.99.99 0 00.81-1.115l-.154-1.087a.991.991 0 01.269-.828l.763-.789a.991.991 0 000-1.378l-.763-.79a.991.991 0 01-.27-.827l.155-1.087a.99.99 0 00-.81-1.115l-1.082-.19a.991.991 0 01-.704-.511L9.732.82a.99.99 0 00-1.31-.426l-.987.482a.991.991 0 01-.87 0L5.578.395a.99.99 0 00-1.31.426l-.515.97a.99.99 0 01-.704.511l-1.082.19a.99.99 0 00-.81 1.115l.154 1.087a.99.99 0 01-.269.828L.28 6.31a.99.99 0 000 1.378l.763.79a.99.99 0 01.27.827l-.155 1.087a.99.99 0 00.81 1.115l1.082.19a.99.99 0 01.704.511l.515.97zm5.096-1.44l-.511.963-.979-.478a1.99 1.99 0 00-1.748 0l-.979.478-.51-.962a1.991 1.991 0 00-1.415-1.028l-1.073-.188.152-1.079a1.991 1.991 0 00-.54-1.663L1.004 7l.757-.783a1.991 1.991 0 00.54-1.663L2.15 3.475l1.073-.188A1.991 1.991 0 004.636 2.26l.511-.962.979.478a1.99 1.99 0 001.748 0l.979-.478.51.962c.288.543.81.922 1.415 1.028l1.073.188-.152 1.079a1.99 1.99 0 00.54 1.663l.757.783-.757.783a1.99 1.99 0 00-.54 1.663l.152 1.079-1.073.188a1.991 1.991 0 00-1.414 1.028z",fill:e}))),SR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.354 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}))),AR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"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}))),kR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"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}))),l9=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.104 7.354l-5.5 5.5a.5.5 0 01-.708-.708L10.043 7 4.896 1.854a.5.5 0 11.708-.708l5.5 5.5a.5.5 0 010 .708z",fill:e}))),_R=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"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}))),FR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"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}))),IR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"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}))),TR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{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}))),RR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"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}))),BR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"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}))),zR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"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}))),LR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"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}))),OR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"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}))),MR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{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}))),$R=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"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}))),PR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{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}))),NR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"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}))),HR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.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}))),jR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5 1h2a.5.5 0 010 1h-.793l3.147 3.146a.5.5 0 11-.708.708L2 2.707V3.5a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5zM10 1.5a.5.5 0 01.5-.5h2a.5.5 0 01.5.5v2a.5.5 0 01-1 0v-.793L8.854 5.854a.5.5 0 11-.708-.708L11.293 2H10.5a.5.5 0 01-.5-.5zM12.5 10a.5.5 0 01.5.5v2a.5.5 0 01-.5.5h-2a.5.5 0 010-1h.793L8.146 8.854a.5.5 0 11.708-.708L12 11.293V10.5a.5.5 0 01.5-.5zM2 11.293V10.5a.5.5 0 00-1 0v2a.5.5 0 00.5.5h2a.5.5 0 000-1h-.793l3.147-3.146a.5.5 0 10-.708-.708L2 11.293z",fill:e}))),VR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M6.646.147l-1.5 1.5a.5.5 0 10.708.707l.646-.647V5a.5.5 0 001 0V1.707l.646.647a.5.5 0 10.708-.707l-1.5-1.5a.5.5 0 00-.708 0z",fill:e}),l.createElement("path",{d:"M1.309 4.038a.498.498 0 00-.16.106l-.005.005a.498.498 0 00.002.705L3.293 7 1.146 9.146A.498.498 0 001.5 10h3a.5.5 0 000-1H2.707l1.5-1.5h5.586l2.353 2.354a.5.5 0 00.708-.708L10.707 7l2.146-2.146.11-.545-.107.542A.499.499 0 0013 4.503v-.006a.5.5 0 00-.144-.348l-.005-.005A.498.498 0 0012.5 4h-3a.5.5 0 000 1h1.793l-1.5 1.5H4.207L2.707 5H4.5a.5.5 0 000-1h-3a.498.498 0 00-.191.038z",fill:e}),l.createElement("path",{d:"M7 8.5a.5.5 0 01.5.5v3.293l.646-.647a.5.5 0 01.708.708l-1.5 1.5a.5.5 0 01-.708 0l-1.5-1.5a.5.5 0 01.708-.708l.646.647V9a.5.5 0 01.5-.5zM9 9.5a.5.5 0 01.5-.5h3a.5.5 0 010 1h-3a.5.5 0 01-.5-.5z",fill:e}))),UR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"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}))),qR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5 1a.5.5 0 01.5.5V10a2 2 0 004 0V4a3 3 0 016 0v7.793l1.146-1.147a.5.5 0 01.708.708l-2 2a.5.5 0 01-.708 0l-2-2a.5.5 0 01.708-.708L11 11.793V4a2 2 0 10-4 0v6.002a3 3 0 01-6 0V1.5a.5.5 0 01.5-.5z",fill:e}))),WR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"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}))),GR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"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}))),KR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"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}))),YR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M8.646 5.854L7.5 4.707V10.5a.5.5 0 01-1 0V4.707L5.354 5.854a.5.5 0 11-.708-.708l2-2a.5.5 0 01.708 0l2 2a.5.5 0 11-.708.708z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),JR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.354 8.146L6.5 9.293V3.5a.5.5 0 011 0v5.793l1.146-1.147a.5.5 0 11.708.708l-2 2a.5.5 0 01-.708 0l-2-2a.5.5 0 11.708-.708z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7a7 7 0 1114 0A7 7 0 010 7zm1 0a6 6 0 1112 0A6 6 0 011 7z",fill:e}))),ZR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.854 5.354L4.707 6.5H10.5a.5.5 0 010 1H4.707l1.147 1.146a.5.5 0 11-.708.708l-2-2a.5.5 0 010-.708l2-2a.5.5 0 11.708.708z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0a7 7 0 110 14A7 7 0 017 0zm0 1a6 6 0 110 12A6 6 0 017 1z",fill:e}))),XR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.5 6.5h5.793L8.146 5.354a.5.5 0 11.708-.708l2 2a.5.5 0 010 .708l-2 2a.5.5 0 11-.708-.708L9.293 7.5H3.5a.5.5 0 010-1z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 117 0a7 7 0 010 14zm0-1A6 6 0 117 1a6 6 0 010 12z",fill:e}))),QR=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.092.5H7a6.5 6.5 0 106.41 7.583.5.5 0 10-.986-.166A5.495 5.495 0 017 12.5a5.5 5.5 0 010-11h.006a5.5 5.5 0 014.894 3H10a.5.5 0 000 1h3a.5.5 0 00.5-.5V2a.5.5 0 00-1 0v1.535A6.495 6.495 0 007.092.5z",fill:e}))),eB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{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}))),tB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.087 3.397L5.95 5.793a.374.374 0 00-.109.095.377.377 0 00-.036.052l-2.407 4.147a.374.374 0 00-.004.384c.104.179.334.24.513.136l4.142-2.404a.373.373 0 00.148-.143l2.406-4.146a.373.373 0 00-.037-.443.373.373 0 00-.478-.074zM4.75 9.25l2.847-1.652-1.195-1.195L4.75 9.25z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),rB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"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}))),nB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 5a2 2 0 11-4 0 2 2 0 014 0zM8 5a1 1 0 11-2 0 1 1 0 012 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 5A5 5 0 002 5c0 2.633 2.273 6.154 4.65 8.643.192.2.508.2.7 0C9.726 11.153 12 7.633 12 5zM7 1a4 4 0 014 4c0 1.062-.471 2.42-1.303 3.88-.729 1.282-1.69 2.562-2.697 3.67-1.008-1.108-1.968-2.388-2.697-3.67C3.47 7.42 3 6.063 3 5a4 4 0 014-4z",fill:e}))),aB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 2a.5.5 0 01.5.5v4H10a.5.5 0 010 1H7a.5.5 0 01-.5-.5V2.5A.5.5 0 017 2z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),oB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M9.79 4.093a.5.5 0 01.117.698L7.91 7.586a1 1 0 11-.814-.581l1.997-2.796a.5.5 0 01.698-.116z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.069 12.968a7 7 0 119.863 0A12.962 12.962 0 007 12c-1.746 0-3.41.344-4.931.968zm9.582-1.177a6 6 0 10-9.301 0A13.98 13.98 0 017 11c1.629 0 3.194.279 4.65.791z",fill:e}))),iB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.5 4.5a.5.5 0 00-1 0v2.634a1 1 0 101 0V4.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5.5A.5.5 0 016 0h2a.5.5 0 010 1h-.5v1.02a5.973 5.973 0 013.374 1.398l.772-.772a.5.5 0 01.708.708l-.772.772A6 6 0 116.5 2.02V1H6a.5.5 0 01-.5-.5zM7 3a5 5 0 100 10A5 5 0 007 3z",fill:e}))),lB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{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}))),sB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.213 4.094a.5.5 0 01.056-.034l5.484-2.995a.498.498 0 01.494 0L12.73 4.06a.507.507 0 01.266.389.498.498 0 01-.507.555H1.51a.5.5 0 01-.297-.91zm2.246-.09h7.082L7 2.07 3.459 4.004z",fill:e}),l.createElement("path",{d:"M4 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM11 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM5.75 5.5a.5.5 0 01.5.5v5a.5.5 0 01-1 0V6a.5.5 0 01.5-.5zM8.75 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM1.5 12.504a.5.5 0 01.5-.5h10a.5.5 0 010 1H2a.5.5 0 01-.5-.5z",fill:e}))),uB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3594)"},l.createElement("path",{d:"M11.451.537l.01 12.922h0L7.61 8.946a1.077 1.077 0 00-.73-.374L.964 8.087 11.45.537h0z",stroke:e,strokeWidth:1.077})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3594"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),cB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 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}))),dB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"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}))),pB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"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}))),fB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M9.21 11.623a10.586 10.586 0 01-4.031.787A10.585 10.585 0 010 11.07c.06-1.354 2.933-2.578 3.708-2.697.243-.038.249-.685.249-.685s-.715-.685-.87-1.607c-.42 0-.679-.979-.26-1.323a2.589 2.589 0 00-.013-.136c-.07-.632-.3-2.712 2.113-2.712 2.414 0 2.183 2.08 2.113 2.712-.007.059-.012.105-.013.136.419.344.16 1.323-.259 1.323-.156.922-.87 1.607-.87 1.607s.005.647.248.685c.784.12 3.71 1.37 3.71 2.74v.22c-.212.103-.427.2-.646.29z",fill:e}),l.createElement("path",{d:"M8.81 8.417a9.643 9.643 0 00-.736-.398c.61-.42 1.396-.71 1.7-.757.167-.026.171-.471.171-.471s-.491-.471-.598-1.104c-.288 0-.466-.674-.178-.91-.001-.022-.005-.053-.01-.094-.048-.434-.206-1.864 1.453-1.864 1.66 0 1.5 1.43 1.453 1.864l-.01.094c.289.236.11.91-.178.91-.107.633-.598 1.104-.598 1.104s.004.445.171.47c.539.084 2.55.942 2.55 1.884v.628a10.604 10.604 0 01-3.302.553 2.974 2.974 0 00-.576-.879c-.375-.408-.853-.754-1.312-1.03z",fill:e}))),hB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M9.106 7.354c-.627.265-1.295.4-1.983.4a5.062 5.062 0 01-2.547-.681c.03-.688 1.443-1.31 1.824-1.37.12-.02.122-.348.122-.348s-.351-.348-.428-.816c-.206 0-.333-.498-.127-.673 0-.016-.003-.04-.007-.07C5.926 3.477 5.812 2.42 7 2.42c1.187 0 1.073 1.057 1.039 1.378l-.007.069c.207.175.08.673-.127.673-.076.468-.428.816-.428.816s.003.329.122.348c.386.06 1.825.696 1.825 1.392v.111c-.104.053-.21.102-.318.148zM3.75 11.25A.25.25 0 014 11h6a.25.25 0 110 .5H4a.25.25 0 01-.25-.25zM4 9a.25.25 0 000 .5h6a.25.25 0 100-.5H4z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 .5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v13a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5V.5zM2 13V1h10v12H2z",fill:e}))),mB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.968 8.75a.5.5 0 00-.866.5A4.498 4.498 0 007 11.5c1.666 0 3.12-.906 3.898-2.25a.5.5 0 10-.866-.5A3.498 3.498 0 017 10.5a3.498 3.498 0 01-3.032-1.75zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),gB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4.5 9a.5.5 0 000 1h5a.5.5 0 000-1h-5zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),vB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.968 10.25a.5.5 0 01-.866-.5A4.498 4.498 0 017 7.5c1.666 0 3.12.906 3.898 2.25a.5.5 0 11-.866.5A3.498 3.498 0 007 8.5a3.498 3.498 0 00-3.032 1.75zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),yB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.526 4.842a.5.5 0 01.632-.316l2.051.684a2.5 2.5 0 001.582 0l2.05-.684a.5.5 0 01.317.948l-2.453.818a.3.3 0 00-.205.285v.243a4.5 4.5 0 00.475 2.012l.972 1.944a.5.5 0 11-.894.448L7 9.118l-1.053 2.106a.5.5 0 11-.894-.447l.972-1.945A4.5 4.5 0 006.5 6.82v-.243a.3.3 0 00-.205-.285l-2.453-.818a.5.5 0 01-.316-.632z",fill:e}),l.createElement("path",{d:"M7 4.5a1 1 0 100-2 1 1 0 000 2z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),bB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zM8 3.5a1 1 0 11-2 0 1 1 0 012 0zM3.526 4.842a.5.5 0 01.632-.316l2.051.684a2.5 2.5 0 001.582 0l2.05-.684a.5.5 0 01.317.948l-2.453.818a.3.3 0 00-.205.285v.243a4.5 4.5 0 00.475 2.012l.972 1.944a.5.5 0 11-.894.448L7 9.118l-1.053 2.106a.5.5 0 11-.894-.447l.972-1.945A4.5 4.5 0 006.5 6.82v-.243a.3.3 0 00-.205-.285l-2.453-.818a.5.5 0 01-.316-.632z",fill:e}))),wB=0,EB=c(e=>e.button===wB&&!e.altKey&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey,"isPlainLeftClick"),xB=c((e,t)=>{EB(e)&&(e.preventDefault(),t(e))},"cancelled"),CB=_.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}}:{}),DB=_.a(({theme:e})=>({display:"inline-block",transition:"all 150ms ease-out",textDecoration:"none",color:e.color.secondary,"&:hover, &:focus":{cursor:"pointer",color:qn(.07,e.color.secondary),"svg path:not([fill])":{fill:qn(.07,e.color.secondary)}},"&:active":{color:qn(.1,e.color.secondary),"svg path:not([fill])":{fill:qn(.1,e.color.secondary)}},svg:{display:"inline-block",height:"1em",width:"1em",verticalAlign:"text-top",position:"relative",bottom:"-0.125em",marginRight:"0.4em","& path":{fill:e.color.secondary}}}),({theme:e,secondary:t,tertiary:r})=>{let n;return t&&(n=[e.textMutedColor,e.color.dark,e.color.darker]),r&&(n=[e.color.dark,e.color.darkest,e.textMutedColor]),n?{color:n[0],"svg path:not([fill])":{fill:n[0]},"&:hover":{color:n[1],"svg path:not([fill])":{fill:n[1]}},"&:active":{color:n[2],"svg path:not([fill])":{fill:n[2]}}}:{}},({nochrome:e})=>e?{color:"inherit","&:hover, &:active":{color:"inherit",textDecoration:"underline"}}:{},({theme:e,inverse:t})=>t?{color:e.color.lightest,":not([fill])":{fill:e.color.lightest},"&:hover":{color:e.color.lighter,"svg path:not([fill])":{fill:e.color.lighter}},"&:active":{color:e.color.light,"svg path:not([fill])":{fill:e.color.light}}}:{},({isButton:e})=>e?{border:0,borderRadius:0,background:"none",padding:0,fontSize:"inherit"}:{}),ra=c(({cancel:e=!0,children:t,onClick:r=void 0,withArrow:n=!1,containsIcon:a=!1,className:o=void 0,style:i=void 0,...s})=>y.createElement(DB,{...s,onClick:r&&e?u=>xB(u,r):r,className:o},y.createElement(CB,{withArrow:n,containsIcon:a},t,n&&y.createElement(l9,null))),"Link"),tre=_.div(({theme:e})=>({fontSize:`${e.typography.size.s2}px`,lineHeight:"1.6",h1:{fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},h2:{fontSize:`${e.typography.size.m2}px`,borderBottom:`1px solid ${e.appBorderColor}`},h3:{fontSize:`${e.typography.size.m1}px`},h4:{fontSize:`${e.typography.size.s3}px`},h5:{fontSize:`${e.typography.size.s2}px`},h6:{fontSize:`${e.typography.size.s2}px`,color:e.color.dark},"pre:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"pre pre, pre.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px"},"pre pre code, pre.prismjs code":{color:"inherit",fontSize:"inherit"},"pre code":{margin:0,padding:0,whiteSpace:"pre",border:"none",background:"transparent"},"pre code, pre tt":{backgroundColor:"transparent",border:"none"},"body > *:first-of-type":{marginTop:"0 !important"},"body > *:last-child":{marginBottom:"0 !important"},a:{color:e.color.secondary,textDecoration:"none"},"a.absent":{color:"#cc0000"},"a.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0},"h1, h2, h3, h4, h5, h6":{margin:"20px 0 10px",padding:0,cursor:"text",position:"relative","&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}},"h1:first-of-type + h2":{marginTop:0,paddingTop:0},"p, blockquote, ul, ol, dl, li, table, pre":{margin:"15px 0"},hr:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},"body > h1:first-of-type, body > h2:first-of-type, body > h3:first-of-type, body > h4:first-of-type, body > h5:first-of-type, body > h6:first-of-type":{marginTop:0,paddingTop:0},"body > h1:first-of-type + h2":{marginTop:0,paddingTop:0},"a:first-of-type h1, a:first-of-type h2, a:first-of-type h3, a:first-of-type h4, a:first-of-type h5, a:first-of-type h6":{marginTop:0,paddingTop:0},"h1 p, h2 p, h3 p, h4 p, h5 p, h6 p":{marginTop:0},"li p.first":{display:"inline-block"},"ul, ol":{paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},dl:{padding:0},"dl dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",margin:"0 0 15px",padding:"0 15px","&:first-of-type":{padding:0},"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},blockquote:{borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},table:{padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:"white",margin:0,padding:0,"& th":{fontWeight:"bold",border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"& td":{border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"&:nth-of-type(2n)":{backgroundColor:e.color.lighter},"& th :first-of-type, & td :first-of-type":{marginTop:0},"& th :last-child, & td :last-child":{marginBottom:0}}},img:{maxWidth:"100%"},"span.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"span.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"span.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"span.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"span.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}},"code, tt":{margin:"0 2px",padding:"0 5px",whiteSpace:"nowrap",border:`1px solid ${e.color.mediumlight}`,backgroundColor:e.color.lighter,borderRadius:3,color:e.base==="dark"?e.color.darkest:e.color.dark}})),sn=[],ba=null,SB=l.lazy(async()=>{let{SyntaxHighlighter:e}=await Promise.resolve().then(()=>(Os(),Hp));return sn.length>0&&(sn.forEach(t=>{e.registerLanguage(...t)}),sn=[]),ba===null&&(ba=e),{default:c(t=>y.createElement(e,{...t}),"default")}}),AB=l.lazy(async()=>{let[{SyntaxHighlighter:e},{formatter:t}]=await Promise.all([Promise.resolve().then(()=>(Os(),Hp)),Promise.resolve().then(()=>(jk(),$8))]);return sn.length>0&&(sn.forEach(r=>{e.registerLanguage(...r)}),sn=[]),ba===null&&(ba=e),{default:c(r=>y.createElement(e,{...r,formatter:t}),"default")}}),ah=c(e=>y.createElement(l.Suspense,{fallback:y.createElement("div",null)},e.format!==!1?y.createElement(AB,{...e}):y.createElement(SB,{...e})),"SyntaxHighlighter");ah.registerLanguage=(...e)=>{if(ba!==null){ba.registerLanguage(...e);return}sn.push(e)};Os();a7();var s9={};ka(s9,{Close:()=>ix,Content:()=>nx,Description:()=>ox,Dialog:()=>j9,DialogClose:()=>Q9,DialogContent:()=>K9,DialogDescription:()=>X9,DialogOverlay:()=>G9,DialogPortal:()=>W9,DialogTitle:()=>Z9,DialogTrigger:()=>V9,Overlay:()=>rx,Portal:()=>tx,Root:()=>ex,Title:()=>ax,Trigger:()=>bz,WarningProvider:()=>yz,createDialogScope:()=>sz});Ct();$p();_a();p7();Op();var kB=l.useId||(()=>{}),_B=0;function El(e){let[t,r]=l.useState(kB());return Lo(()=>{e||r(n=>n??String(_B++))},[e]),e||(t?`radix-${t}`:"")}c(El,"$1746a345f3d73bb7$export$f680877a34711e37");oi();function u9({prop:e,defaultProp:t,onChange:r=c(()=>{},"onChange")}){let[n,a]=c9({defaultProp:t,onChange:r}),o=e!==void 0,i=o?e:n,s=ze(r),u=l.useCallback(d=>{if(o){let p=typeof d=="function"?d(e):d;p!==e&&s(p)}else a(d)},[o,e,a,s]);return[i,u]}c(u9,"$71cd76cc60e0454e$export$6f32135080cb4c3");function c9({defaultProp:e,onChange:t}){let r=l.useState(e),[n]=r,a=l.useRef(n),o=ze(t);return l.useEffect(()=>{a.current!==n&&(o(n),a.current=n)},[n,a,o]),r}c(c9,"$71cd76cc60e0454e$var$useUncontrolledState");Ct();$p();ai();_a();oi();oi();function d9(e,t=globalThis==null?void 0:globalThis.document){let r=ze(e);l.useEffect(()=>{let n=c(a=>{a.key==="Escape"&&r(a)},"handleKeyDown");return t.addEventListener("keydown",n),()=>t.removeEventListener("keydown",n)},[r,t])}c(d9,"$addc16e1bbe58fd0$export$3a72a57244d6e765");var _1="dismissableLayer.update",FB="dismissableLayer.pointerDownOutside",IB="dismissableLayer.focusOutside",z4,TB=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),RB=l.forwardRef((e,t)=>{var r;let{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:a,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:s,onDismiss:u,...d}=e,p=l.useContext(TB),[h,m]=l.useState(null),f=(r=h==null?void 0:h.ownerDocument)!==null&&r!==void 0?r:globalThis==null?void 0:globalThis.document,[,v]=l.useState({}),g=Ke(t,k=>m(k)),b=Array.from(p.layers),[C]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),w=b.indexOf(C),x=h?b.indexOf(h):-1,E=p.layersWithOutsidePointerEventsDisabled.size>0,D=x>=w,S=p9(k=>{let F=k.target,T=[...p.branches].some(R=>R.contains(F));!D||T||(o==null||o(k),s==null||s(k),k.defaultPrevented||(u==null||u()))},f),A=f9(k=>{let F=k.target;[...p.branches].some(T=>T.contains(F))||(i==null||i(k),s==null||s(k),k.defaultPrevented||(u==null||u()))},f);return d9(k=>{x===p.layers.size-1&&(a==null||a(k),!k.defaultPrevented&&u&&(k.preventDefault(),u()))},f),l.useEffect(()=>{if(h)return n&&(p.layersWithOutsidePointerEventsDisabled.size===0&&(z4=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(h)),p.layers.add(h),F1(),()=>{n&&p.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=z4)}},[h,f,n,p]),l.useEffect(()=>()=>{h&&(p.layers.delete(h),p.layersWithOutsidePointerEventsDisabled.delete(h),F1())},[h,p]),l.useEffect(()=>{let k=c(()=>v({}),"handleUpdate");return document.addEventListener(_1,k),()=>document.removeEventListener(_1,k)},[]),l.createElement($e.div,U({},d,{ref:g,style:{pointerEvents:E?D?"auto":"none":void 0,...e.style},onFocusCapture:Ie(e.onFocusCapture,A.onFocusCapture),onBlurCapture:Ie(e.onBlurCapture,A.onBlurCapture),onPointerDownCapture:Ie(e.onPointerDownCapture,S.onPointerDownCapture)}))});function p9(e,t=globalThis==null?void 0:globalThis.document){let r=ze(e),n=l.useRef(!1),a=l.useRef(()=>{});return l.useEffect(()=>{let o=c(s=>{if(s.target&&!n.current){let u=function(){oh(FB,r,d,{discrete:!0})};c(u,"handleAndDispatchPointerDownOutsideEvent");let d={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",a.current),a.current=u,t.addEventListener("click",a.current,{once:!0})):u()}else t.removeEventListener("click",a.current);n.current=!1},"handlePointerDown"),i=window.setTimeout(()=>{t.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",o),t.removeEventListener("click",a.current)}},[t,r]),{onPointerDownCapture:c(()=>n.current=!0,"onPointerDownCapture")}}c(p9,"$5cb92bef7577960e$var$usePointerDownOutside");function f9(e,t=globalThis==null?void 0:globalThis.document){let r=ze(e),n=l.useRef(!1);return l.useEffect(()=>{let a=c(o=>{o.target&&!n.current&&oh(IB,r,{originalEvent:o},{discrete:!1})},"handleFocus");return t.addEventListener("focusin",a),()=>t.removeEventListener("focusin",a)},[t,r]),{onFocusCapture:c(()=>n.current=!0,"onFocusCapture"),onBlurCapture:c(()=>n.current=!1,"onBlurCapture")}}c(f9,"$5cb92bef7577960e$var$useFocusOutside");function F1(){let e=new CustomEvent(_1);document.dispatchEvent(e)}c(F1,"$5cb92bef7577960e$var$dispatchUpdate");function oh(e,t,r,{discrete:n}){let a=r.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&a.addEventListener(e,t,{once:!0}),n?l7(a,o):a.dispatchEvent(o)}c(oh,"$5cb92bef7577960e$var$handleAndDispatchCustomEvent");Ct();_a();ai();oi();var P0="focusScope.autoFocusOnMount",N0="focusScope.autoFocusOnUnmount",L4={bubbles:!1,cancelable:!0},BB=l.forwardRef((e,t)=>{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:a,onUnmountAutoFocus:o,...i}=e,[s,u]=l.useState(null),d=ze(a),p=ze(o),h=l.useRef(null),m=Ke(t,g=>u(g)),f=l.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;l.useEffect(()=>{if(n){let g=function(x){if(f.paused||!s)return;let E=x.target;s.contains(E)?h.current=E:ir(h.current,{select:!0})},b=function(x){if(f.paused||!s)return;let E=x.relatedTarget;E!==null&&(s.contains(E)||ir(h.current,{select:!0}))},C=function(x){if(document.activeElement===document.body)for(let E of x)E.removedNodes.length>0&&ir(s)};c(g,"handleFocusIn"),c(b,"handleFocusOut"),c(C,"handleMutations"),document.addEventListener("focusin",g),document.addEventListener("focusout",b);let w=new MutationObserver(C);return s&&w.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",g),document.removeEventListener("focusout",b),w.disconnect()}}},[n,s,f.paused]),l.useEffect(()=>{if(s){O4.add(f);let g=document.activeElement;if(!s.contains(g)){let b=new CustomEvent(P0,L4);s.addEventListener(P0,d),s.dispatchEvent(b),b.defaultPrevented||(h9(b9(ih(s)),{select:!0}),document.activeElement===g&&ir(s))}return()=>{s.removeEventListener(P0,d),setTimeout(()=>{let b=new CustomEvent(N0,L4);s.addEventListener(N0,p),s.dispatchEvent(b),b.defaultPrevented||ir(g??document.body,{select:!0}),s.removeEventListener(N0,p),O4.remove(f)},0)}}},[s,d,p,f]);let v=l.useCallback(g=>{if(!r&&!n||f.paused)return;let b=g.key==="Tab"&&!g.altKey&&!g.ctrlKey&&!g.metaKey,C=document.activeElement;if(b&&C){let w=g.currentTarget,[x,E]=m9(w);x&&E?!g.shiftKey&&C===E?(g.preventDefault(),r&&ir(x,{select:!0})):g.shiftKey&&C===x&&(g.preventDefault(),r&&ir(E,{select:!0})):C===w&&g.preventDefault()}},[r,n,f.paused]);return l.createElement($e.div,U({tabIndex:-1},i,{ref:m,onKeyDown:v}))});function h9(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(ir(n,{select:t}),document.activeElement!==r)return}c(h9,"$d3863c46a17e8a28$var$focusFirst");function m9(e){let t=ih(e),r=I1(t,e),n=I1(t.reverse(),e);return[r,n]}c(m9,"$d3863c46a17e8a28$var$getTabbableEdges");function ih(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:c(n=>{let a=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||a?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;r.nextNode();)t.push(r.currentNode);return t}c(ih,"$d3863c46a17e8a28$var$getTabbableCandidates");function I1(e,t){for(let r of e)if(!g9(r,{upTo:t}))return r}c(I1,"$d3863c46a17e8a28$var$findVisible");function g9(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}c(g9,"$d3863c46a17e8a28$var$isHidden");function v9(e){return e instanceof HTMLInputElement&&"select"in e}c(v9,"$d3863c46a17e8a28$var$isSelectableInput");function ir(e,{select:t=!1}={}){if(e&&e.focus){let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&v9(e)&&t&&e.select()}}c(ir,"$d3863c46a17e8a28$var$focus");var O4=y9();function y9(){let e=[];return{add(t){let r=e[0];t!==r&&(r==null||r.pause()),e=T1(e,t),e.unshift(t)},remove(t){var r;e=T1(e,t),(r=e[0])===null||r===void 0||r.resume()}}}c(y9,"$d3863c46a17e8a28$var$createFocusScopesStack");function T1(e,t){let r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}c(T1,"$d3863c46a17e8a28$var$arrayRemove");function b9(e){return e.filter(t=>t.tagName!=="A")}c(b9,"$d3863c46a17e8a28$var$removeLinks");Ct();ai();var zB=l.forwardRef((e,t)=>{var r;let{container:n=globalThis==null||(r=globalThis.document)===null||r===void 0?void 0:r.body,...a}=e;return n?uy.createPortal(l.createElement($e.div,U({},a,{ref:t})),n):null});u7();ai();var H0=0;function w9(){l.useEffect(()=>{var e,t;let r=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=r[0])!==null&&e!==void 0?e:R1()),document.body.insertAdjacentElement("beforeend",(t=r[1])!==null&&t!==void 0?t:R1()),H0++,()=>{H0===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(n=>n.remove()),H0--}},[])}c(w9,"$3db38b7d1fb3fe6a$export$b7ece24a22aeda8c");function R1(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}c(R1,"$3db38b7d1fb3fe6a$var$createFocusGuard");var $t=c(function(){return $t=Object.assign||c(function(e){for(var t,r=1,n=arguments.length;r"u")return NB;var t=HB(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},"getGapWidth"),VB=B9(),ms="data-scroll-locked",UB=c(function(e,t,r,n){var a=e.left,o=e.top,i=e.right,s=e.gap;return r===void 0&&(r="margin"),` - .`.concat(LB,` { - overflow: hidden `).concat(n,`; - padding-right: `).concat(s,"px ").concat(n,`; - } - body[`).concat(ms,`] { - overflow: hidden `).concat(n,`; - overscroll-behavior: contain; - `).concat([t&&"position: relative ".concat(n,";"),r==="margin"&&` - padding-left: `.concat(a,`px; - padding-top: `).concat(o,`px; - padding-right: `).concat(i,`px; - margin-left:0; - margin-top:0; - margin-right: `).concat(s,"px ").concat(n,`; - `),r==="padding"&&"padding-right: ".concat(s,"px ").concat(n,";")].filter(Boolean).join(""),` - } - - .`).concat(xl,` { - right: `).concat(s,"px ").concat(n,`; - } - - .`).concat(Cl,` { - margin-right: `).concat(s,"px ").concat(n,`; - } - - .`).concat(xl," .").concat(xl,` { - right: 0 `).concat(n,`; - } - - .`).concat(Cl," .").concat(Cl,` { - margin-right: 0 `).concat(n,`; - } - - body[`).concat(ms,`] { - `).concat(OB,": ").concat(s,`px; - } -`)},"getStyles"),qB=c(function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,a=n===void 0?"margin":n,o=l.useMemo(function(){return jB(a)},[a]);return l.useEffect(function(){return document.body.setAttribute(ms,""),function(){document.body.removeAttribute(ms)}},[]),l.createElement(VB,{styles:UB(o,!t,a,r?"":"!important")})},"RemoveScrollBar"),B1=!1;if(typeof window<"u")try{so=Object.defineProperty({},"passive",{get:c(function(){return B1=!0,!0},"get")}),window.addEventListener("test",so,so),window.removeEventListener("test",so,so)}catch{B1=!1}var so,Ln=B1?{passive:!1}:!1,WB=c(function(e){return e.tagName==="TEXTAREA"},"alwaysContainsScroll"),z9=c(function(e,t){var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!WB(e)&&r[t]==="visible")},"elementCanBeScrolled"),GB=c(function(e){return z9(e,"overflowY")},"elementCouldBeVScrolled"),KB=c(function(e){return z9(e,"overflowX")},"elementCouldBeHScrolled"),$4=c(function(e,t){var r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var n=L9(e,r);if(n){var a=O9(e,r),o=a[1],i=a[2];if(o>i)return!0}r=r.parentNode}while(r&&r!==document.body);return!1},"locationCouldBeScrolled"),YB=c(function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},"getVScrollVariables"),JB=c(function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},"getHScrollVariables"),L9=c(function(e,t){return e==="v"?GB(t):KB(t)},"elementCouldBeScrolled"),O9=c(function(e,t){return e==="v"?YB(t):JB(t)},"getScrollVariables"),ZB=c(function(e,t){return e==="h"&&t==="rtl"?-1:1},"getDirectionFactor"),XB=c(function(e,t,r,n,a){var o=ZB(e,window.getComputedStyle(t).direction),i=o*n,s=r.target,u=t.contains(s),d=!1,p=i>0,h=0,m=0;do{var f=O9(e,s),v=f[0],g=f[1],b=f[2],C=g-b-o*v;(v||C)&&L9(e,s)&&(h+=C,m+=v),s=s.parentNode}while(!u&&s!==document.body||u&&(t.contains(s)||t===s));return(p&&(a&&h===0||!a&&i>h)||!p&&(a&&m===0||!a&&-i>m))&&(d=!0),d},"handleScroll"),Yi=c(function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},"getTouchXY"),P4=c(function(e){return[e.deltaX,e.deltaY]},"getDeltaXY"),N4=c(function(e){return e&&"current"in e?e.current:e},"extractRef"),QB=c(function(e,t){return e[0]===t[0]&&e[1]===t[1]},"deltaCompare"),ez=c(function(e){return` - .block-interactivity-`.concat(e,` {pointer-events: none;} - .allow-interactivity-`).concat(e,` {pointer-events: all;} -`)},"generateStyle"),tz=0,On=[];function M9(e){var t=l.useRef([]),r=l.useRef([0,0]),n=l.useRef(),a=l.useState(tz++)[0],o=l.useState(function(){return B9()})[0],i=l.useRef(e);l.useEffect(function(){i.current=e},[e]),l.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var g=E9([e.lockRef.current],(e.shards||[]).map(N4),!0).filter(Boolean);return g.forEach(function(b){return b.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),g.forEach(function(b){return b.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var s=l.useCallback(function(g,b){if("touches"in g&&g.touches.length===2)return!i.current.allowPinchZoom;var C=Yi(g),w=r.current,x="deltaX"in g?g.deltaX:w[0]-C[0],E="deltaY"in g?g.deltaY:w[1]-C[1],D,S=g.target,A=Math.abs(x)>Math.abs(E)?"h":"v";if("touches"in g&&A==="h"&&S.type==="range")return!1;var k=$4(A,S);if(!k)return!0;if(k?D=A:(D=A==="v"?"h":"v",k=$4(A,S)),!k)return!1;if(!n.current&&"changedTouches"in g&&(x||E)&&(n.current=D),!D)return!0;var F=n.current||D;return XB(F,b,g,F==="h"?x:E,!0)},[]),u=l.useCallback(function(g){var b=g;if(!(!On.length||On[On.length-1]!==o)){var C="deltaY"in b?P4(b):Yi(b),w=t.current.filter(function(D){return D.name===b.type&&D.target===b.target&&QB(D.delta,C)})[0];if(w&&w.should){b.cancelable&&b.preventDefault();return}if(!w){var x=(i.current.shards||[]).map(N4).filter(Boolean).filter(function(D){return D.contains(b.target)}),E=x.length>0?s(b,x[0]):!i.current.noIsolation;E&&b.cancelable&&b.preventDefault()}}},[]),d=l.useCallback(function(g,b,C,w){var x={name:g,delta:b,target:C,should:w};t.current.push(x),setTimeout(function(){t.current=t.current.filter(function(E){return E!==x})},1)},[]),p=l.useCallback(function(g){r.current=Yi(g),n.current=void 0},[]),h=l.useCallback(function(g){d(g.type,P4(g),g.target,s(g,e.lockRef.current))},[]),m=l.useCallback(function(g){d(g.type,Yi(g),g.target,s(g,e.lockRef.current))},[]);l.useEffect(function(){return On.push(o),e.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:m}),document.addEventListener("wheel",u,Ln),document.addEventListener("touchmove",u,Ln),document.addEventListener("touchstart",p,Ln),function(){On=On.filter(function(g){return g!==o}),document.removeEventListener("wheel",u,Ln),document.removeEventListener("touchmove",u,Ln),document.removeEventListener("touchstart",p,Ln)}},[]);var f=e.removeScrollBar,v=e.inert;return l.createElement(l.Fragment,null,v?l.createElement(o,{styles:ez(a)}):null,f?l.createElement(qB,{gapMode:"margin"}):null)}c(M9,"RemoveScrollSideCar");var rz=_9(F9,M9),$9=l.forwardRef(function(e,t){return l.createElement(fu,$t({},e,{ref:t,sideCar:rz}))});$9.classNames=fu.classNames;var nz=$9,az=c(function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},"getDefaultParent"),Mn=new WeakMap,Ji=new WeakMap,Zi={},U0=0,P9=c(function(e){return e&&(e.host||P9(e.parentNode))},"unwrapHost"),oz=c(function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=P9(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},"correctTargets"),iz=c(function(e,t,r,n){var a=oz(t,Array.isArray(e)?e:[e]);Zi[r]||(Zi[r]=new WeakMap);var o=Zi[r],i=[],s=new Set,u=new Set(a),d=c(function(h){!h||s.has(h)||(s.add(h),d(h.parentNode))},"keep");a.forEach(d);var p=c(function(h){!h||u.has(h)||Array.prototype.forEach.call(h.children,function(m){if(s.has(m))p(m);else{var f=m.getAttribute(n),v=f!==null&&f!=="false",g=(Mn.get(m)||0)+1,b=(o.get(m)||0)+1;Mn.set(m,g),o.set(m,b),i.push(m),g===1&&v&&Ji.set(m,!0),b===1&&m.setAttribute(r,"true"),v||m.setAttribute(n,"true")}})},"deep");return p(t),s.clear(),U0++,function(){i.forEach(function(h){var m=Mn.get(h)-1,f=o.get(h)-1;Mn.set(h,m),o.set(h,f),m||(Ji.has(h)||h.removeAttribute(n),Ji.delete(h)),f||h.removeAttribute(r)}),U0--,U0||(Mn=new WeakMap,Mn=new WeakMap,Ji=new WeakMap,Zi={})}},"applyAttributeToOthers"),lz=c(function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),a=t||az(e);return a?(n.push.apply(n,Array.from(a.querySelectorAll("[aria-live]"))),iz(n,a,r,"aria-hidden")):function(){return null}},"hideOthers");Lp();var N9="Dialog",[H9,sz]=Mp(N9),[uz,Dt]=H9(N9),j9=c(e=>{let{__scopeDialog:t,children:r,open:n,defaultOpen:a,onOpenChange:o,modal:i=!0}=e,s=l.useRef(null),u=l.useRef(null),[d=!1,p]=u9({prop:n,defaultProp:a,onChange:o});return l.createElement(uz,{scope:t,triggerRef:s,contentRef:u,contentId:El(),titleId:El(),descriptionId:El(),open:d,onOpenChange:p,onOpenToggle:l.useCallback(()=>p(h=>!h),[p]),modal:i},r)},"$5d3850c4d0b4e6c7$export$3ddf2d174ce01153"),cz="DialogTrigger",V9=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=Dt(cz,r),o=Ke(t,a.triggerRef);return l.createElement($e.button,U({type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":hu(a.open)},n,{ref:o,onClick:Ie(e.onClick,a.onOpenToggle)}))}),U9="DialogPortal",[dz,q9]=H9(U9,{forceMount:void 0}),W9=c(e=>{let{__scopeDialog:t,forceMount:r,children:n,container:a}=e,o=Dt(U9,t);return l.createElement(dz,{scope:t,forceMount:r},l.Children.map(n,i=>l.createElement(sr,{present:r||o.open},l.createElement(zB,{asChild:!0,container:a},i))))},"$5d3850c4d0b4e6c7$export$dad7c95542bacce0"),z1="DialogOverlay",G9=l.forwardRef((e,t)=>{let r=q9(z1,e.__scopeDialog),{forceMount:n=r.forceMount,...a}=e,o=Dt(z1,e.__scopeDialog);return o.modal?l.createElement(sr,{present:n||o.open},l.createElement(pz,U({},a,{ref:t}))):null}),pz=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=Dt(z1,r);return l.createElement(nz,{as:zo,allowPinchZoom:!0,shards:[a.contentRef]},l.createElement($e.div,U({"data-state":hu(a.open)},n,{ref:t,style:{pointerEvents:"auto",...n.style}})))}),wa="DialogContent",K9=l.forwardRef((e,t)=>{let r=q9(wa,e.__scopeDialog),{forceMount:n=r.forceMount,...a}=e,o=Dt(wa,e.__scopeDialog);return l.createElement(sr,{present:n||o.open},o.modal?l.createElement(fz,U({},a,{ref:t})):l.createElement(hz,U({},a,{ref:t})))}),fz=l.forwardRef((e,t)=>{let r=Dt(wa,e.__scopeDialog),n=l.useRef(null),a=Ke(t,r.contentRef,n);return l.useEffect(()=>{let o=n.current;if(o)return lz(o)},[]),l.createElement(Y9,U({},e,{ref:a,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Ie(e.onCloseAutoFocus,o=>{var i;o.preventDefault(),(i=r.triggerRef.current)===null||i===void 0||i.focus()}),onPointerDownOutside:Ie(e.onPointerDownOutside,o=>{let i=o.detail.originalEvent,s=i.button===0&&i.ctrlKey===!0;(i.button===2||s)&&o.preventDefault()}),onFocusOutside:Ie(e.onFocusOutside,o=>o.preventDefault())}))}),hz=l.forwardRef((e,t)=>{let r=Dt(wa,e.__scopeDialog),n=l.useRef(!1),a=l.useRef(!1);return l.createElement(Y9,U({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:c(o=>{var i;if((i=e.onCloseAutoFocus)===null||i===void 0||i.call(e,o),!o.defaultPrevented){var s;n.current||(s=r.triggerRef.current)===null||s===void 0||s.focus(),o.preventDefault()}n.current=!1,a.current=!1},"onCloseAutoFocus"),onInteractOutside:c(o=>{var i,s;(i=e.onInteractOutside)===null||i===void 0||i.call(e,o),o.defaultPrevented||(n.current=!0,o.detail.originalEvent.type==="pointerdown"&&(a.current=!0));let u=o.target;!((s=r.triggerRef.current)===null||s===void 0)&&s.contains(u)&&o.preventDefault(),o.detail.originalEvent.type==="focusin"&&a.current&&o.preventDefault()},"onInteractOutside")}))}),Y9=l.forwardRef((e,t)=>{let{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:a,onCloseAutoFocus:o,...i}=e,s=Dt(wa,r),u=l.useRef(null),d=Ke(t,u);return w9(),l.createElement(l.Fragment,null,l.createElement(BB,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:a,onUnmountAutoFocus:o},l.createElement(RB,U({role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":hu(s.open)},i,{ref:d,onDismiss:c(()=>s.onOpenChange(!1),"onDismiss")}))),!1)}),J9="DialogTitle",Z9=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=Dt(J9,r);return l.createElement($e.h2,U({id:a.titleId},n,{ref:t}))}),mz="DialogDescription",X9=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=Dt(mz,r);return l.createElement($e.p,U({id:a.descriptionId},n,{ref:t}))}),gz="DialogClose",Q9=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=Dt(gz,r);return l.createElement($e.button,U({type:"button"},n,{ref:t,onClick:Ie(e.onClick,()=>a.onOpenChange(!1))}))});function hu(e){return e?"open":"closed"}c(hu,"$5d3850c4d0b4e6c7$var$getState");var vz="DialogTitleWarning",[yz,rre]=c7(vz,{contentName:wa,titleName:J9,docsSlug:"dialog"}),ex=j9,bz=V9,tx=W9,rx=G9,nx=K9,ax=Z9,ox=X9,ix=Q9,lx={};ka(lx,{Actions:()=>_z,CloseButton:()=>dx,Col:()=>fx,Container:()=>cx,Content:()=>Dz,Description:()=>kz,Error:()=>Fz,ErrorWrapper:()=>hx,Header:()=>Sz,Overlay:()=>ux,Row:()=>px,Title:()=>Az});Lp();const{deprecate:wz}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var Sn=l.forwardRef(({asChild:e=!1,animation:t="none",size:r="small",variant:n="outline",padding:a="medium",disabled:o=!1,active:i=!1,onClick:s,...u},d)=>{let p="button";u.isLink&&(p="a"),e&&(p=zo);let h=n,m=r,[f,v]=l.useState(!1),g=c(b=>{s&&s(b),t!=="none"&&v(!0)},"handleClick");if(l.useEffect(()=>{let b=setTimeout(()=>{f&&v(!1)},1e3);return()=>clearTimeout(b)},[f]),u.primary&&(h="solid",m="medium"),(u.secondary||u.tertiary||u.gray||u.outline||u.inForm)&&(h="outline",m="medium"),u.small||u.isLink||u.primary||u.secondary||u.tertiary||u.gray||u.outline||u.inForm||u.containsIcon){let b=y.Children.toArray(u.children).filter(C=>typeof C=="string"&&C!=="");wz(`Use of deprecated props in the button ${b.length>0?`"${b.join(" ")}"`:"component"} detected, see the migration notes at https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#new-ui-and-props-for-button-and-iconbutton-components`)}return y.createElement(Ez,{as:p,ref:d,variant:h,size:m,padding:a,disabled:o,active:i,animating:f,animation:t,onClick:g,...u})});Sn.displayName="Button";var Ez=_("button",{shouldForwardProp:c(e=>up(e),"shouldForwardProp")})(({theme:e,variant:t,size:r,disabled:n,active:a,animating:o,animation:i="none",padding:s})=>({border:0,cursor:n?"not-allowed":"pointer",display:"inline-flex",gap:"6px",alignItems:"center",justifyContent:"center",overflow:"hidden",padding:s==="small"&&r==="small"?"0 7px":s==="small"&&r==="medium"?"0 9px":r==="small"?"0 10px":r==="medium"?"0 12px":0,height:r==="small"?"28px":"32px",position:"relative",textAlign:"center",textDecoration:"none",transitionProperty:"background, box-shadow",transitionDuration:"150ms",transitionTimingFunction:"ease-out",verticalAlign:"top",whiteSpace:"nowrap",userSelect:"none",opacity:n?.5:1,margin:0,fontSize:`${e.typography.size.s1}px`,fontWeight:e.typography.weight.bold,lineHeight:"1",background:t==="solid"?e.color.secondary:t==="outline"?e.button.background:t==="ghost"&&a?e.background.hoverable:"transparent",...t==="ghost"?{".sb-bar &":{background:a?rt(.9,e.barTextColor):"transparent",color:a?e.barSelectedColor:e.barTextColor,"&:hover":{color:e.barHoverColor,background:rt(.86,e.barHoverColor)},"&:active":{color:e.barSelectedColor,background:rt(.9,e.barSelectedColor)},"&:focus":{boxShadow:`${Ko(e.barHoverColor,1)} 0 0 0 1px inset`,outline:"none"}}}:{},color:t==="solid"?e.color.lightest:t==="outline"?e.input.color:t==="ghost"&&a?e.color.secondary:t==="ghost"?e.color.mediumdark:e.input.color,boxShadow:t==="outline"?`${e.button.border} 0 0 0 1px inset`:"none",borderRadius:e.input.borderRadius,flexShrink:0,"&:hover":{color:t==="ghost"?e.color.secondary:void 0,background:(()=>{let u=e.color.secondary;return t==="solid"&&(u=e.color.secondary),t==="outline"&&(u=e.button.background),t==="ghost"?rt(.86,e.color.secondary):e.base==="light"?qn(.02,u):B4(.03,u)})()},"&:active":{color:t==="ghost"?e.color.secondary:void 0,background:(()=>{let u=e.color.secondary;return t==="solid"&&(u=e.color.secondary),t==="outline"&&(u=e.button.background),t==="ghost"?e.background.hoverable:e.base==="light"?qn(.02,u):B4(.03,u)})()},"&:focus":{boxShadow:`${Ko(e.color.secondary,1)} 0 0 0 1px inset`,outline:"none"},"> svg":{animation:o&&i!=="none"?`${e.animation[i]} 1000ms ease-out`:""}})),un=l.forwardRef(({padding:e="small",variant:t="ghost",...r},n)=>y.createElement(Sn,{padding:e,variant:t,ref:n,...r}));un.displayName="IconButton";var sx=mr({from:{opacity:0},to:{opacity:1}}),xz=mr({from:{maxHeight:0},to:{}}),Cz=mr({from:{opacity:0,transform:"translate(-50%, -50%) scale(0.9)"},to:{opacity:1,transform:"translate(-50%, -50%) scale(1)"}}),ux=_.div({backgroundColor:"rgba(27, 28, 29, 0.2)",position:"fixed",inset:0,width:"100%",height:"100%",zIndex:10,animation:`${sx} 200ms`}),cx=_.div(({theme:e,width:t,height:r})=>({backgroundColor:e.background.bar,borderRadius:6,boxShadow:"rgba(255, 255, 255, 0.05) 0 0 0 1px inset, rgba(14, 18, 22, 0.35) 0px 10px 38px -10px",position:"fixed",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:t??740,height:r??"auto",maxWidth:"calc(100% - 40px)",maxHeight:"85vh",overflow:"hidden",zIndex:11,animation:`${Cz} 200ms`,"&:focus-visible":{outline:"none"}})),dx=c(e=>y.createElement(ix,{asChild:!0},y.createElement(un,{...e},y.createElement(i9,null))),"CloseButton"),Dz=_.div({display:"flex",flexDirection:"column",margin:16,gap:16}),px=_.div({display:"flex",justifyContent:"space-between",gap:16}),fx=_.div({display:"flex",flexDirection:"column",gap:4}),Sz=c(e=>y.createElement(px,null,y.createElement(fx,{...e}),y.createElement(dx,null)),"Header"),Az=_(ax)(({theme:e})=>({margin:0,fontSize:e.typography.size.s3,fontWeight:e.typography.weight.bold})),kz=_(ox)(({theme:e})=>({position:"relative",zIndex:1,margin:0,fontSize:e.typography.size.s2})),_z=_.div({display:"flex",flexDirection:"row-reverse",gap:8}),hx=_.div(({theme:e})=>({maxHeight:100,overflow:"auto",animation:`${xz} 300ms, ${sx} 300ms`,backgroundColor:e.background.critical,color:e.color.lightest,fontSize:e.typography.size.s2,"& > div":{position:"relative",padding:"8px 16px"}})),Fz=c(({children:e,...t})=>y.createElement(hx,{...t},y.createElement("div",null,e)),"Error");function mx({children:e,width:t,height:r,onEscapeKeyDown:n,onInteractOutside:a=c(u=>u.preventDefault(),"onInteractOutside"),className:o,container:i,...s}){return y.createElement(ex,{...s},y.createElement(tx,{container:i},y.createElement(rx,{asChild:!0},y.createElement(ux,null)),y.createElement(nx,{asChild:!0,onInteractOutside:a,onEscapeKeyDown:n},y.createElement(cx,{className:o,width:t,height:r},e))))}c(mx,"BaseModal");var nre=Object.assign(mx,lx,{Dialog:s9}),Iz=c(e=>typeof e=="number"?e:Number(e),"toNumber"),Tz=_.div(({theme:e,col:t,row:r=1})=>t?{display:"inline-block",verticalAlign:"inherit","& > *":{marginLeft:t*e.layoutMargin,verticalAlign:"inherit"},[`& > *:first-child${dd}`]:{marginLeft:0}}:{"& > *":{marginTop:r*e.layoutMargin},[`& > *:first-child${dd}`]:{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{}}}),are=c(({col:e,row:t,outer:r,children:n,...a})=>{let o=Iz(typeof r=="number"||!r?r:e||t);return y.createElement(Tz,{col:e,row:t,outer:o,...a},n)},"Spaced"),Rz=_.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),Bz=_.div(),zz=_.div(({theme:e})=>({padding:30,textAlign:"center",color:e.color.defaultText,fontSize:e.typography.size.s2-1})),ore=c(({children:e,...t})=>{let[r,n]=l.Children.toArray(e);return y.createElement(zz,{...t},y.createElement(Rz,null,r),n&&y.createElement(Bz,null,n))},"Placeholder");Np();function gx(e,t){var r=l.useRef(null),n=l.useRef(null);n.current=t;var a=l.useRef(null);l.useEffect(function(){o()});var o=l.useCallback(function(){var i=a.current,s=n.current,u=i||(s?s instanceof Element?s:s.current:null);r.current&&r.current.element===u&&r.current.subscriber===e||(r.current&&r.current.cleanup&&r.current.cleanup(),r.current={element:u,subscriber:e,cleanup:u?e(u):void 0})},[e]);return l.useEffect(function(){return function(){r.current&&r.current.cleanup&&(r.current.cleanup(),r.current=null)}},[]),l.useCallback(function(i){a.current=i,o()},[o])}c(gx,"useResolvedElement");function L1(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}c(L1,"extractSize");function sh(e){e===void 0&&(e={});var t=e.onResize,r=l.useRef(void 0);r.current=t;var n=e.round||Math.round,a=l.useRef(),o=l.useState({width:void 0,height:void 0}),i=o[0],s=o[1],u=l.useRef(!1);l.useEffect(function(){return u.current=!1,function(){u.current=!0}},[]);var d=l.useRef({width:void 0,height:void 0}),p=gx(l.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=L1(f,v,"inlineSize"),b=L1(f,v,"blockSize"),C=g?n(g):void 0,w=b?n(b):void 0;if(d.current.width!==C||d.current.height!==w){var x={width:C,height:w};d.current.width=C,d.current.height=w,r.current?r.current(x):u.current||s(x)}})}),a.current.instance.observe(h,{box:e.box}),function(){a.current&&a.current.instance.unobserve(h)}},[e.box,n]),e.ref);return l.useMemo(function(){return{ref:p,width:i.width,height:i.height}},[p,i.width,i.height])}c(sh,"useResizeObserver");var Lz=_.div(({scale:e=1,elementHeight:t})=>({height:t||"auto",transformOrigin:"top left",transform:`scale(${1/e})`}));function vx({scale:e,children:t}){let r=l.useRef(null),[n,a]=l.useState(0),o=l.useCallback(({height:i})=>{i&&a(i/e)},[e]);return l.useEffect(()=>{r.current&&a(r.current.getBoundingClientRect().height)},[e]),sh({ref:r,onResize:o}),y.createElement(Lz,{scale:e,elementHeight:n},y.createElement("div",{ref:r,className:"innerZoomElementWrapper"},t))}c(vx,"ZoomElement");var yx=class extends l.Component{constructor(){super(...arguments);yr(this,"iframe",null)}componentDidMount(){let{iFrameRef:r}=this.props;this.iframe=r.current}shouldComponentUpdate(r){let{scale:n,active:a}=this.props;return n!==r.scale&&this.setIframeInnerZoom(r.scale),a!==r.active&&this.iframe.setAttribute("data-is-storybook",r.active?"true":"false"),r.children.props.src!==this.props.children.props.src}setIframeInnerZoom(r){try{Object.assign(this.iframe.contentDocument.body.style,{width:`${r*100}%`,height:`${r*100}%`,transform:`scale(${1/r})`,transformOrigin:"top left"})}catch{this.setIframeZoom(r)}}setIframeZoom(r){Object.assign(this.iframe.style,{width:`${r*100}%`,height:`${r*100}%`,transform:`scale(${1/r})`,transformOrigin:"top left"})}render(){let{children:r}=this.props;return y.createElement(y.Fragment,null,r)}};c(yx,"ZoomIFrame");var Oz=yx,Mz={Element:vx,IFrame:Oz};const{global:$z}=__STORYBOOK_MODULE_GLOBAL__;var{document:Pz}=$z,Nz=_.strong(({theme:e})=>({color:e.color.orange})),Hz=_.strong(({theme:e})=>({color:e.color.ancillary,textDecoration:"underline"})),H4=_.em(({theme:e})=>({color:e.textMutedColor})),jz=/(Error): (.*)\n/,Vz=/at (?:(.*) )?\(?(.+)\)?/,Uz=/([^@]+)?(?:\/<)?@(.+)?/,qz=/([^@]+)?@(.+)?/,Wz=c(({error:e})=>{if(!e)return y.createElement(l.Fragment,null,"This error has no stack or message");if(!e.stack)return y.createElement(l.Fragment,null,e.message||"This error has no stack or message");let t=e.stack.toString();t&&e.message&&!t.includes(e.message)&&(t=`Error: ${e.message} - -${t}`);let r=t.match(jz);if(!r)return y.createElement(l.Fragment,null,t);let[,n,a]=r,o=t.split(/\n/).slice(1),[,...i]=o.map(s=>{let u=s.match(Vz)||s.match(Uz)||s.match(qz);return u?{name:(u[1]||"").replace("/<",""),location:u[2].replace(Pz.location.origin,"")}:null}).filter(Boolean);return y.createElement(l.Fragment,null,y.createElement("span",null,n),": ",y.createElement(Nz,null,a),y.createElement("br",null),i.map((s,u)=>s!=null&&s.name?y.createElement(l.Fragment,{key:u}," ","at ",y.createElement(Hz,null,s.name)," (",y.createElement(H4,null,s.location),")",y.createElement("br",null)):y.createElement(l.Fragment,{key:u}," ","at ",y.createElement(H4,null,s==null?void 0:s.location),y.createElement("br",null))))},"ErrorFormatter"),Gz=_.label(({theme:e})=>({display:"flex",borderBottom:`1px solid ${e.appBorderColor}`,margin:"0 15px",padding:"8px 0","&:last-child":{marginBottom:"3rem"}})),Kz=_.span(({theme:e})=>({minWidth:100,fontWeight:e.typography.weight.bold,marginRight:15,display:"flex",justifyContent:"flex-start",alignItems:"center",lineHeight:"16px"})),Yz=c(({label:e,children:t,...r})=>y.createElement(Gz,{...r},e?y.createElement(Kz,null,y.createElement("span",null,e)):null,t),"Field");Ct();Sp();var Jz=l.useLayoutEffect,Zz=Jz,Xz=c(function(e){var t=l.useRef(e);return Zz(function(){t.current=e}),t},"useLatest"),j4=c(function(e,t){if(typeof e=="function"){e(t);return}e.current=t},"updateRef"),Qz=c(function(e,t){var r=l.useRef();return l.useCallback(function(n){e.current=n,r.current&&j4(r.current,null),r.current=t,t&&j4(t,n)},[t])},"useComposedRef"),eL=Qz,V4={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},tL=c(function(e){Object.keys(V4).forEach(function(t){e.style.setProperty(t,V4[t],"important")})},"forceHiddenStyles"),U4=tL,Re=null,q4=c(function(e,t){var r=e.scrollHeight;return t.sizingStyle.boxSizing==="border-box"?r+t.borderSize:r-t.paddingSize},"getHeight");function bx(e,t,r,n){r===void 0&&(r=1),n===void 0&&(n=1/0),Re||(Re=document.createElement("textarea"),Re.setAttribute("tabindex","-1"),Re.setAttribute("aria-hidden","true"),U4(Re)),Re.parentNode===null&&document.body.appendChild(Re);var a=e.paddingSize,o=e.borderSize,i=e.sizingStyle,s=i.boxSizing;Object.keys(i).forEach(function(m){var f=m;Re.style[f]=i[f]}),U4(Re),Re.value=t;var u=q4(Re,e);Re.value=t,u=q4(Re,e),Re.value="x";var d=Re.scrollHeight-a,p=d*r;s==="border-box"&&(p=p+a+o),u=Math.max(p,u);var h=d*n;return s==="border-box"&&(h=h+a+o),u=Math.min(h,u),[u,d]}c(bx,"calculateNodeHeight");var W4=c(function(){},"noop"),rL=c(function(e,t){return e.reduce(function(r,n){return r[n]=t[n],r},{})},"pick"),nL=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak"],aL=!!document.documentElement.currentStyle,oL=c(function(e){var t=window.getComputedStyle(e);if(t===null)return null;var r=rL(nL,t),n=r.boxSizing;if(n==="")return null;aL&&n==="border-box"&&(r.width=parseFloat(r.width)+parseFloat(r.borderRightWidth)+parseFloat(r.borderLeftWidth)+parseFloat(r.paddingRight)+parseFloat(r.paddingLeft)+"px");var a=parseFloat(r.paddingBottom)+parseFloat(r.paddingTop),o=parseFloat(r.borderBottomWidth)+parseFloat(r.borderTopWidth);return{sizingStyle:r,paddingSize:a,borderSize:o}},"getSizingData"),iL=oL;function uh(e,t,r){var n=Xz(r);l.useLayoutEffect(function(){var a=c(function(o){return n.current(o)},"handler");if(e)return e.addEventListener(t,a),function(){return e.removeEventListener(t,a)}},[])}c(uh,"useListener");var lL=c(function(e){uh(window,"resize",e)},"useWindowResizeListener"),sL=c(function(e){uh(document.fonts,"loadingdone",e)},"useFontsLoadedListener"),uL=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],cL=c(function(e,t){var r=e.cacheMeasurements,n=e.maxRows,a=e.minRows,o=e.onChange,i=o===void 0?W4:o,s=e.onHeightChange,u=s===void 0?W4:s,d=zs(e,uL),p=d.value!==void 0,h=l.useRef(null),m=eL(h,t),f=l.useRef(0),v=l.useRef(),g=c(function(){var C=h.current,w=r&&v.current?v.current:iL(C);if(w){v.current=w;var x=bx(w,C.value||C.placeholder||"x",a,n),E=x[0],D=x[1];f.current!==E&&(f.current=E,C.style.setProperty("height",E+"px","important"),u(E,{rowHeight:D}))}},"resizeTextarea"),b=c(function(C){p||g(),i(C)},"handleChange");return l.useLayoutEffect(g),lL(g),sL(g),l.createElement("textarea",U({},d,{onChange:b,ref:m}))},"TextareaAutosize"),dL=l.forwardRef(cL),pL={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},ch=c(({theme:e})=>({...pL,transition:"box-shadow 200ms ease-out, opacity 200ms ease-out",color:e.input.color||"inherit",background:e.input.background,boxShadow:`${e.input.border} 0 0 0 1px inset`,borderRadius:e.input.borderRadius,fontSize:e.typography.size.s2-1,lineHeight:"20px",padding:"6px 10px",boxSizing:"border-box",height:32,'&[type="file"]':{height:"auto"},"&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"&:-webkit-autofill":{WebkitBoxShadow:`0 0 0 3em ${e.color.lightest} inset`},"&::placeholder":{color:e.textMutedColor,opacity:1}}),"styles"),dh=c(({size:e})=>{switch(e){case"100%":return{width:"100%"};case"flex":return{flex:1};case"auto":default:return{display:"inline"}}},"sizes"),wx=c(({align:e})=>{switch(e){case"end":return{textAlign:"right"};case"center":return{textAlign:"center"};case"start":default:return{textAlign:"left"}}},"alignment"),ph=c(({valid:e,theme:t})=>{switch(e){case"valid":return{boxShadow:`${t.color.positive} 0 0 0 1px inset !important`};case"error":return{boxShadow:`${t.color.negative} 0 0 0 1px inset !important`};case"warn":return{boxShadow:`${t.color.warning} 0 0 0 1px inset`};case void 0:case null:default:return{}}},"validation"),fL=Object.assign(_(l.forwardRef(c(function({size:e,valid:t,align:r,...n},a){return y.createElement("input",{...n,ref:a})},"Input")))(ch,dh,wx,ph,{minHeight:32}),{displayName:"Input"}),hL=Object.assign(_(l.forwardRef(c(function({size:e,valid:t,align:r,...n},a){return y.createElement("select",{...n,ref:a})},"Select")))(ch,dh,ph,{height:32,userSelect:"none",paddingRight:20,appearance:"menulist"}),{displayName:"Select"}),mL=Object.assign(_(l.forwardRef(c(function({size:e,valid:t,align:r,...n},a){return y.createElement(dL,{...n,ref:a})},"Textarea")))(ch,dh,wx,ph,({height:e=400})=>({overflow:"visible",maxHeight:e})),{displayName:"Textarea"}),Di=Object.assign(_.form({boxSizing:"border-box",width:"100%"}),{Field:Yz,Input:fL,Select:hL,Textarea:mL,Button:Sn}),gL=l.lazy(()=>Promise.resolve().then(()=>(Xf(),Zf)).then(e=>({default:e.WithTooltip}))),lre=c(e=>y.createElement(l.Suspense,{fallback:y.createElement("div",null)},y.createElement(gL,{...e})),"WithTooltip"),vL=l.lazy(()=>Promise.resolve().then(()=>(Xf(),Zf)).then(e=>({default:e.WithTooltipPure}))),yL=c(e=>y.createElement(l.Suspense,{fallback:y.createElement("div",null)},y.createElement(vL,{...e})),"WithTooltipPure"),bL=_.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),wL=_.span(),EL=_.div(({theme:e})=>({marginTop:8,textAlign:"center","> *":{margin:"0 8px",fontWeight:e.typography.weight.bold}})),xL=_.div(({theme:e})=>({color:e.color.defaultText,lineHeight:"18px"})),CL=_.div({padding:15,width:280,boxSizing:"border-box"}),sre=c(({title:e,desc:t,links:r})=>y.createElement(CL,null,y.createElement(xL,null,e&&y.createElement(bL,null,e),t&&y.createElement(wL,null,t)),r&&y.createElement(EL,null,r.map(({title:n,...a})=>y.createElement(ra,{...a,key:n},n)))),"TooltipMessage"),DL=_.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})),ure=c(({note:e,...t})=>y.createElement(DL,{...t},e),"TooltipNote"),SL=De(Bs(),1),AL=_(({active:e,loading:t,disabled:r,...n})=>y.createElement("span",{...n}))(({theme:e})=>({color:e.color.defaultText,fontWeight:e.typography.weight.regular}),({active:e,theme:t})=>e?{color:t.color.secondary,fontWeight:t.typography.weight.bold}:{},({loading:e,theme:t})=>e?{display:"inline-block",flex:"none",...t.animation.inlineGlow}:{},({disabled:e,theme:t})=>e?{color:rt(.7,t.color.defaultText)}:{}),kL=_.span({display:"flex","& svg":{height:12,width:12,margin:"3px 0",verticalAlign:"top"},"& path":{fill:"inherit"}}),_L=_.span({flex:1,textAlign:"left",display:"flex",flexDirection:"column"},({isIndented:e})=>e?{marginLeft:24}:{}),FL=_.span(({theme:e})=>({fontSize:"11px",lineHeight:"14px"}),({active:e,theme:t})=>e?{color:t.color.secondary}:{},({theme:e,disabled:t})=>t?{color:e.textMutedColor}:{}),IL=_.span(({active:e,theme:t})=>e?{color:t.color.secondary}:{},()=>({display:"flex",maxWidth:14})),TL=_.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"}:{}),RL=(0,SL.default)(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}),BL=c(({loading:e=!1,title:t=y.createElement("span",null,"Loading state"),center:r=null,right:n=null,active:a=!1,disabled:o=!1,isIndented:i,href:s=void 0,onClick:u=void 0,icon:d,LinkWrapper:p=void 0,...h})=>{let m=RL(u,s,p),f={active:a,disabled:o};return y.createElement(TL,{...f,...h,...m},d&&y.createElement(IL,{...f},d),t||r?y.createElement(_L,{isIndented:!!(!d&&i)},t&&y.createElement(AL,{...f,loading:e},t),r&&y.createElement(FL,{...f},r)):null,n&&y.createElement(kL,{...f},n))},"ListItem"),zL=BL,LL=_.div({minWidth:180,overflow:"hidden",overflowY:"auto",maxHeight:15.5*32},({theme:e})=>({borderRadius:e.appBorderRadius})),OL=c(e=>{let{LinkWrapper:t,onClick:r,id:n,isIndented:a,...o}=e,{title:i,href:s,active:u}=o,d=l.useCallback(h=>{r(h,o)},[r]),p=!!r;return y.createElement(zL,{title:i,active:u,href:s,id:`list-item-${n}`,LinkWrapper:t,isIndented:a,...o,...p?{onClick:d}:{}})},"Item"),ML=c(({links:e,LinkWrapper:t=null})=>{let r=e.some(n=>n.icon);return y.createElement(LL,null,e.map(({isGatsby:n,...a})=>y.createElement(OL,{key:a.id,LinkWrapper:n?t:null,isIndented:r,...a})))},"TooltipLinkList"),$L=c(e=>typeof e.props.href=="string","isLink"),PL=c(e=>typeof e.props.href!="string","isButton");function Ex({children:e,...t},r){let n={props:t,ref:r};if($L(n))return y.createElement("a",{ref:n.ref,...n.props},e);if(PL(n))return y.createElement("button",{ref:n.ref,type:"button",...n.props},e);throw new Error("invalid props")}c(Ex,"ForwardRefFunction");var xx=l.forwardRef(Ex);xx.displayName="ButtonOrLink";var mu=_(xx,{shouldForwardProp:up})({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}});mu.displayName="TabButton";var NL=_.div(({theme:e})=>({width:14,height:14,backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),HL=_.div(()=>({marginTop:6,padding:7,height:28})),cre=c(()=>y.createElement(HL,null,y.createElement(NL,null)),"IconButtonSkeleton");Np();var O1=_.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}}:{});O1.displayName="Side";var jL=c(({children:e,className:t,scrollable:r})=>r?y.createElement($l,{vertical:!1,className:t},e):y.createElement("div",{className:t},e),"UnstyledBar"),Cx=_(jL)(({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}:{});Cx.displayName="Bar";var VL=_.div(({bgColor:e})=>({display:"flex",justifyContent:"space-between",position:"relative",flexWrap:"nowrap",flexShrink:0,height:40,backgroundColor:e||""})),fh=c(({children:e,backgroundColor:t,className:r,...n})=>{let[a,o]=l.Children.toArray(e);return y.createElement(Cx,{className:`sb-bar ${r}`,...n},y.createElement(VL,{bgColor:t},y.createElement(O1,{scrollable:n.scrollable,left:!0},a),o?y.createElement(O1,{right:!0},o):null))},"FlexBar");fh.displayName="FlexBar";var Dx=_.div(({active:e})=>e?{display:"block"}:{display:"none"}),UL=c(e=>l.Children.toArray(e).map(({props:{title:t,id:r,color:n,children:a}})=>{let o=Array.isArray(a)?a[0]:a;return{title:t,id:r,...n?{color:n}:{},render:typeof o=="function"?o:({active:i})=>y.createElement(Dx,{active:i,role:"tabpanel"},o)}}),"childrenToList");Xf();var qL=_.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"})),WL=_(mu)(({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 Sx(e){let t=l.useRef(),r=l.useRef(),n=l.useRef(new Map),{width:a=1}=sh({ref:t}),[o,i]=l.useState(e),[s,u]=l.useState([]),d=l.useRef(e),p=l.useCallback(({menuName:m,actions:f})=>{let v=s.some(({active:C})=>C),[g,b]=l.useState(!1);return y.createElement(y.Fragment,null,y.createElement(ps,{interactive:!0,visible:g,onVisibleChange:b,placement:"bottom",delayHide:100,tooltip:y.createElement(ML,{links:s.map(({title:C,id:w,color:x,active:E})=>({id:w,title:C,color:x,active:E,onClick:c(D=>{D.preventDefault(),f.onSelect(w)},"onClick")}))})},y.createElement(WL,{ref:r,active:v,preActive:g,style:{visibility:s.length?"visible":"hidden"},"aria-hidden":!s.length,className:"tabbutton",type:"button",role:"tab"},m,y.createElement(qL,{className:"addon-collapsible-icon",isActive:v||g}))),s.map(({title:C,id:w,color:x},E)=>{let D=`index-${E}`;return y.createElement(mu,{id:`tabbutton-${cy(w)??D}`,style:{visibility:"hidden"},"aria-hidden":!0,tabIndex:-1,ref:S=>{n.current.set(w,S)},className:"tabbutton",type:"button",key:w,textColor:x,role:"tab"},C)}))},[s]),h=l.useCallback(()=>{if(!t.current||!r.current)return;let{x:m,width:f}=t.current.getBoundingClientRect(),{width:v}=r.current.getBoundingClientRect(),g=s.length?m+f-v:m+f,b=[],C=0,w=e.filter(x=>{let{id:E}=x,D=n.current.get(E),{width:S=0}=(D==null?void 0:D.getBoundingClientRect())||{},A=m+C+S>g;return(!A||!D)&&b.push(x),C+=S,A});(b.length!==o.length||d.current!==e)&&(i(b),u(w),d.current=e)},[s.length,e,o]);return l.useLayoutEffect(h,[h,a]),{tabRefs:n,addonsRef:r,tabBarRef:t,visibleList:o,invisibleList:s,AddonTab:p}}c(Sx,"useList");var GL=_.div(({theme:e})=>({height:"100%",display:"flex",padding:30,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:e.background.content})),KL=_.div({display:"flex",flexDirection:"column",gap:4,maxWidth:415}),YL=_.div(({theme:e})=>({fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textColor})),JL=_.div(({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textMutedColor})),Ax=c(({title:e,description:t,footer:r})=>y.createElement(GL,null,y.createElement(KL,null,y.createElement(YL,null,e),t&&y.createElement(JL,null,t)),r),"EmptyTabContent"),ZL="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */",XL=_.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"}),kx=_.div({overflow:"hidden","&:first-of-type":{marginLeft:-3},whiteSpace:"nowrap",flexGrow:1});kx.displayName="TabBar";var QL=_.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${ZL}`]:{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"}}:{}),dre=c(({active:e,render:t,children:r})=>y.createElement(Dx,{active:e},t?t():r),"TabWrapper"),_x=l.memo(({children:e,selected:t=null,actions:r,absolute:n=!1,bordered:a=!1,tools:o=null,backgroundColor:i,id:s=null,menuName:u="Tabs",emptyState:d,showToolsWhenEmpty:p})=>{let h=l.useMemo(()=>UL(e).map((C,w)=>({...C,active:t?C.id===t:w===0})),[e,t]),{visibleList:m,tabBarRef:f,tabRefs:v,AddonTab:g}=Sx(h),b=d??y.createElement(Ax,{title:"Nothing found"});return!p&&h.length===0?b:y.createElement(XL,{absolute:n,bordered:a,id:s},y.createElement(fh,{scrollable:!1,border:!0,backgroundColor:i},y.createElement(kx,{style:{whiteSpace:"normal"},ref:f,role:"tablist"},m.map(({title:C,id:w,active:x,color:E},D)=>{let S=`index-${D}`;return y.createElement(mu,{id:`tabbutton-${cy(w)??S}`,ref:A=>{v.current.set(w,A)},className:`tabbutton ${x?"tabbutton-active":""}`,type:"button",key:w,active:x,textColor:E,onClick:A=>{A.preventDefault(),r.onSelect(w)},role:"tab"},typeof C=="function"?y.createElement("title",null):C)}),y.createElement(g,{menuName:u,actions:r})),o),y.createElement(QL,{id:"panel-tab-content",bordered:a,absolute:n},h.length?h.map(({id:C,active:w,render:x})=>y.createElement(x,{key:C,active:w},null)):b))});_x.displayName="Tabs";var M1=class extends l.Component{constructor(r){super(r);yr(this,"handlers",{onSelect:c(r=>this.setState({selected:r}),"onSelect")});this.state={selected:r.initial}}render(){let{bordered:r=!1,absolute:n=!1,children:a,backgroundColor:o,menuName:i}=this.props,{selected:s}=this.state;return y.createElement(_x,{bordered:r,absolute:n,selected:s,backgroundColor:o,menuName:i,actions:this.handlers},a)}};c(M1,"TabsState"),kA(M1,"defaultProps",{children:[],initial:null,absolute:!1,bordered:!1,backgroundColor:"",menuName:void 0});var eO=M1,Fx=_.span(({theme:e})=>({width:1,height:20,background:e.appBorderColor,marginLeft:2,marginRight:2}),({force:e})=>e?{}:{"& + &":{display:"none"}});Fx.displayName="Separator";var fre=c(e=>e.reduce((t,r,n)=>r?y.createElement(l.Fragment,{key:r.id||r.key||`f-${n}`},t,n>0?y.createElement(Fx,{key:`s-${n}`}):null,r.render()||r):t,null),"interleaveSeparators"),tO=c(e=>{let t=l.useRef();return l.useEffect(()=>{t.current=e},[e]),t.current},"usePrevious"),rO=c((e,t)=>{let r=tO(t);return e?t:r},"useUpdate"),hre=c(({active:e,children:t})=>y.createElement("div",{hidden:!e},rO(e,t)),"AddonPanel");const{deprecate:nO,logger:aO}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var oO=a9,iO=_.svg` - display: inline-block; - shape-rendering: inherit; - vertical-align: middle; - fill: currentColor; - path { - fill: currentColor; - } -`,mre=c(({icon:e,useSymbol:t,__suppressDeprecationWarning:r=!1,...n})=>{r||nO(`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=$1[e]||null;if(!a)return aO.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 o=oO[a];return y.createElement(o,{...n})},"Icons"),gre=l.memo(c(function({icons:e=Object.keys($1)}){return y.createElement(iO,{viewBox:"0 0 14 14",style:{position:"absolute",width:0,height:0},"data-chromatic":"ignore"},e.map(t=>y.createElement("symbol",{id:`icon--${t}`,key:t},$1[t])))},"Symbols")),$1={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"},vre=c(({alt:e,...t})=>y.createElement("svg",{width:"200px",height:"40px",viewBox:"0 0 200 40",...t,role:"img"},e?y.createElement("title",null,e):null,y.createElement("defs",null,y.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"})),y.createElement("g",{fill:"none",fillRule:"evenodd"},y.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"}),y.createElement("mask",{id:"b",fill:"#fff"},y.createElement("use",{xlinkHref:"#a"})),y.createElement("use",{fill:"#FF4785",fillRule:"nonzero",xlinkHref:"#a"}),y.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)"}))),"StorybookLogo"),yre=c(e=>y.createElement("svg",{viewBox:"0 0 64 64",...e},y.createElement("title",null,"Storybook icon"),y.createElement("g",{id:"Artboard",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},y.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"}),y.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"}),y.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"}))),"StorybookIcon"),lO=mr` - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } -`,sO=_.div(({size:e=32})=>({borderRadius:"50%",cursor:"progress",display:"inline-block",overflow:"hidden",position:"absolute",transition:"all 200ms ease-out",verticalAlign:"top",top:"50%",left:"50%",marginTop:-(e/2),marginLeft:-(e/2),height:e,width:e,zIndex:4,borderWidth:2,borderStyle:"solid",borderColor:"rgba(97, 97, 97, 0.29)",borderTopColor:"rgb(100,100,100)",animation:`${lO} 0.7s linear infinite`,mixBlendMode:"difference"})),G4=_.div({position:"absolute",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"}),uO=_.div(({theme:e})=>({position:"relative",width:"80%",marginBottom:"0.75rem",maxWidth:300,height:5,borderRadius:5,background:rt(.8,e.color.secondary),overflow:"hidden",cursor:"progress"})),cO=_.div(({theme:e})=>({position:"absolute",top:0,left:0,height:"100%",background:e.color.secondary})),K4=_.div(({theme:e})=>({minHeight:"2em",fontSize:`${e.typography.size.s1}px`,color:e.barTextColor})),dO=_(o9)(({theme:e})=>({width:20,height:20,marginBottom:"0.5rem",color:e.textMutedColor})),pO=mr` - from { content: "..." } - 33% { content: "." } - 66% { content: ".." } - to { content: "..." } -`,fO=_.span({"&::after":{content:"'...'",animation:`${pO} 1s linear infinite`,animationDelay:"1s",display:"inline-block",width:"1em",height:"auto"}}),hO=c(({progress:e,error:t,size:r,...n})=>{if(t)return y.createElement(G4,{"aria-label":t.toString(),"aria-live":"polite",role:"status",...n},y.createElement(dO,null),y.createElement(K4,null,t.message));if(e){let{value:a,modules:o}=e,{message:i}=e;return o&&(i+=` ${o.complete} / ${o.total} modules`),y.createElement(G4,{"aria-label":"Content is loading...","aria-live":"polite","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":a*100,"aria-valuetext":i,role:"progressbar",...n},y.createElement(uO,null,y.createElement(cO,{style:{width:`${a*100}%`}})),y.createElement(K4,null,i,a<1&&y.createElement(fO,{key:i})))}return y.createElement(sO,{"aria-label":"Content is loading...","aria-live":"polite",role:"status",size:r,...n})},"Loader");function Ix(e){let t={},r=e.split("&");for(let n=0;n{let[n,a]=e.split("?"),o=a?{...Ix(a),...r,id:t}:{...r,id:t};return`${n}?${Object.entries(o).map(i=>`${i[0]}=${i[1]}`).join("&")}`},"getStoryHref"),gO=_.pre` - line-height: 18px; - padding: 11px 1rem; - white-space: pre-wrap; - background: rgba(0, 0, 0, 0.05); - color: ${V.darkest}; - border-radius: 3px; - margin: 1rem 0; - width: 100%; - display: block; - overflow: hidden; - font-family: ${Nt.fonts.mono}; - font-size: ${Nt.size.s2-1}px; -`,bre=c(({code:e,...t})=>y.createElement(gO,{id:"clipboard-code",...t},e),"ClipboardCode"),vO=n9,yO={};Object.keys(n9).forEach(e=>{yO[e]=l.forwardRef((t,r)=>l.createElement(e,{...t,ref:r}))});function Ea(){return Ea=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 Sl(e,t,r){return xO()?Sl=Reflect.construct.bind():Sl=function(a,o,i){var s=[null];s.push.apply(s,o);var u=Function.bind.apply(a,s),d=new u;return i&&Yo(d,i.prototype),d},Sl.apply(null,arguments)}function N1(e){var t=typeof Map=="function"?new Map:void 0;return N1=function(n){if(n===null||!EO(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 Sl(n,arguments,P1(this).constructor)}return a.prototype=Object.create(n.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),Yo(a,n)},N1(e)}var jt=function(e){wO(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,bO(n)}return t}(N1(Error));function q0(e){return Math.round(e*255)}function CO(e,t,r){return q0(e)+","+q0(t)+","+q0(r)}function Jo(e,t,r,n){if(n===void 0&&(n=CO),t===0)return n(r,r,r);var a=(e%360+360)%360/60,o=(1-Math.abs(2*r-1))*t,i=o*(1-Math.abs(a%2-1)),s=0,u=0,d=0;a>=0&&a<1?(s=o,u=i):a>=1&&a<2?(s=i,u=o):a>=2&&a<3?(u=o,d=i):a>=3&&a<4?(u=i,d=o):a>=4&&a<5?(s=i,d=o):a>=5&&a<6&&(s=o,d=i);var p=r-o/2,h=s+p,m=u+p,f=d+p;return n(h,m,f)}var Y4={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 DO(e){if(typeof e!="string")return e;var t=e.toLowerCase();return Y4[t]?"#"+Y4[t]:e}var SO=/^#[a-fA-F0-9]{6}$/,AO=/^#[a-fA-F0-9]{8}$/,kO=/^#[a-fA-F0-9]{3}$/,_O=/^#[a-fA-F0-9]{4}$/,W0=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,FO=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,IO=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,TO=/^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 gu(e){if(typeof e!="string")throw new jt(3);var t=DO(e);if(t.match(SO))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(AO)){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(kO))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(_O)){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=W0.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=FO.exec(t.substring(0,50));if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10),alpha:parseFloat(""+o[4])>1?parseFloat(""+o[4])/100:parseFloat(""+o[4])};var i=IO.exec(t);if(i){var s=parseInt(""+i[1],10),u=parseInt(""+i[2],10)/100,d=parseInt(""+i[3],10)/100,p="rgb("+Jo(s,u,d)+")",h=W0.exec(p);if(!h)throw new jt(4,t,p);return{red:parseInt(""+h[1],10),green:parseInt(""+h[2],10),blue:parseInt(""+h[3],10)}}var m=TO.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,b="rgb("+Jo(f,v,g)+")",C=W0.exec(b);if(!C)throw new jt(4,t,b);return{red:parseInt(""+C[1],10),green:parseInt(""+C[2],10),blue:parseInt(""+C[3],10),alpha:parseFloat(""+m[4])>1?parseFloat(""+m[4])/100:parseFloat(""+m[4])}}throw new jt(5)}function RO(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),o=Math.min(t,r,n),i=(a+o)/2;if(a===o)return e.alpha!==void 0?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var s,u=a-o,d=i>.5?u/(2-a-o):u/(a+o);switch(a){case t:s=(r-n)/u+(r=1?gs(e,t,r):"rgba("+Jo(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?gs(e.hue,e.saturation,e.lightness):"rgba("+Jo(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new jt(2)}function j1(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return H1("#"+Yr(e)+Yr(t)+Yr(r));if(typeof e=="object"&&t===void 0&&r===void 0)return H1("#"+Yr(e.red)+Yr(e.green)+Yr(e.blue));throw new jt(6)}function lr(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=gu(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?j1(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?j1(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new jt(7)}var MO=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},$O=function(t){return typeof t.red=="number"&&typeof t.green=="number"&&typeof t.blue=="number"&&typeof t.alpha=="number"},PO=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&(typeof t.alpha!="number"||typeof t.alpha>"u")},NO=function(t){return typeof t.hue=="number"&&typeof t.saturation=="number"&&typeof t.lightness=="number"&&typeof t.alpha=="number"};function Rx(e){if(typeof e!="object")throw new jt(8);if($O(e))return lr(e);if(MO(e))return j1(e);if(NO(e))return OO(e);if(PO(e))return LO(e);throw new jt(8)}function Bx(e,t,r){return function(){var a=r.concat(Array.prototype.slice.call(arguments));return a.length>=t?e.apply(this,a):Bx(e,t,a)}}function vu(e){return Bx(e,e.length,[])}function yu(e,t,r){return Math.max(e,Math.min(t,r))}function HO(e,t){if(t==="transparent")return t;var r=Tx(t);return Rx(Ea({},r,{lightness:yu(0,1,r.lightness-parseFloat(e))}))}var jO=vu(HO),Ot=jO;function VO(e,t){if(t==="transparent")return t;var r=Tx(t);return Rx(Ea({},r,{lightness:yu(0,1,r.lightness+parseFloat(e))}))}var UO=vu(VO),Jr=UO;function qO(e,t){if(t==="transparent")return t;var r=gu(t),n=typeof r.alpha=="number"?r.alpha:1,a=Ea({},r,{alpha:yu(0,1,(n*100+parseFloat(e)*100)/100)});return lr(a)}var WO=vu(qO),Xi=WO;function GO(e,t){if(t==="transparent")return t;var r=gu(t),n=typeof r.alpha=="number"?r.alpha:1,a=Ea({},r,{alpha:yu(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return lr(a)}var KO=vu(GO),ie=KO,YO=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M6 3.5a.5.5 0 01.5.5v1.5H8a.5.5 0 010 1H6.5V8a.5.5 0 01-1 0V6.5H4a.5.5 0 010-1h1.5V4a.5.5 0 01.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z",fill:e}))),JO=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4 5.5a.5.5 0 000 1h4a.5.5 0 000-1H4z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 11.5c1.35 0 2.587-.487 3.544-1.294a.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 106 11.5zm0-1a4.5 4.5 0 100-9 4.5 4.5 0 000 9z",fill:e}))),ZO=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5 2.837V1.5a.5.5 0 00-1 0V4a.5.5 0 00.5.5h2.5a.5.5 0 000-1H2.258a4.5 4.5 0 11-.496 4.016.5.5 0 10-.942.337 5.502 5.502 0 008.724 2.353.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 101.5 2.837z",fill:e}))),XO=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 9.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7l-.21.293C13.669 7.465 10.739 11.5 7 11.5S.332 7.465.21 7.293L0 7l.21-.293C.331 6.536 3.261 2.5 7 2.5s6.668 4.036 6.79 4.207L14 7zM2.896 5.302A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5c1.518 0 2.958-.83 4.104-1.802A12.72 12.72 0 0012.755 7c-.297-.37-.875-1.04-1.65-1.698C9.957 4.33 8.517 3.5 7 3.5c-1.519 0-2.958.83-4.104 1.802z",fill:e}))),QO=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11zM11.104 8.698c-.177.15-.362.298-.553.439l.714.714a13.25 13.25 0 002.526-2.558L14 7l-.21-.293C13.669 6.536 10.739 2.5 7 2.5c-.89 0-1.735.229-2.506.58l.764.763A4.859 4.859 0 017 3.5c1.518 0 2.958.83 4.104 1.802A12.724 12.724 0 0112.755 7a12.72 12.72 0 01-1.65 1.698zM.21 6.707c.069-.096 1.03-1.42 2.525-2.558l.714.714c-.191.141-.376.288-.553.439A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5a4.86 4.86 0 001.742-.344l.764.764c-.772.351-1.616.58-2.506.58C3.262 11.5.332 7.465.21 7.293L0 7l.21-.293z",fill:e}),l.createElement("path",{d:"M4.5 7c0-.322.061-.63.172-.914l3.242 3.242A2.5 2.5 0 014.5 7zM9.328 7.914L6.086 4.672a2.5 2.5 0 013.241 3.241z",fill:e}))),eM=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.5 10a.5.5 0 100-1 .5.5 0 000 1z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 4a2 2 0 012-2h6a2 2 0 012 2v.5l3.189-2.391A.5.5 0 0114 2.5v9a.5.5 0 01-.804.397L10 9.5v.5a2 2 0 01-2 2H2a2 2 0 01-2-2V4zm9 0v1.5a.5.5 0 00.8.4L13 3.5v7L9.8 8.1a.5.5 0 00-.8.4V10a1 1 0 01-1 1H2a1 1 0 01-1-1V4a1 1 0 011-1h6a1 1 0 011 1z",fill:e}))),V1=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4 5.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zM4.5 7.5a.5.5 0 000 1h5a.5.5 0 000-1h-5zM4 10.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 0a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h11a.5.5 0 00.5-.5V3.207a.5.5 0 00-.146-.353L10.146.146A.5.5 0 009.793 0H1.5zM2 1h7.5v2a.5.5 0 00.5.5h2V13H2V1z",fill:e}))),wre=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M8.982 1.632a.5.5 0 00-.964-.263l-3 11a.5.5 0 10.964.263l3-11zM3.32 3.616a.5.5 0 01.064.704L1.151 7l2.233 2.68a.5.5 0 11-.768.64l-2.5-3a.5.5 0 010-.64l2.5-3a.5.5 0 01.704-.064zM10.68 3.616a.5.5 0 00-.064.704L12.849 7l-2.233 2.68a.5.5 0 00.768.64l2.5-3a.5.5 0 000-.64l-2.5-3a.5.5 0 00-.704-.064z",fill:e}))),tM=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 3a.5.5 0 01.5.5v3h3a.5.5 0 010 1h-3v3a.5.5 0 01-1 0v-3h-3a.5.5 0 010-1h3v-3A.5.5 0 017 3z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),rM=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),nM=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.841 2.159a2.25 2.25 0 00-3.182 0l-2.5 2.5a2.25 2.25 0 000 3.182.5.5 0 01-.707.707 3.25 3.25 0 010-4.596l2.5-2.5a3.25 3.25 0 014.596 4.596l-2.063 2.063a4.27 4.27 0 00-.094-1.32l1.45-1.45a2.25 2.25 0 000-3.182z",fill:e}),l.createElement("path",{d:"M3.61 7.21c-.1-.434-.132-.88-.095-1.321L1.452 7.952a3.25 3.25 0 104.596 4.596l2.5-2.5a3.25 3.25 0 000-4.596.5.5 0 00-.707.707 2.25 2.25 0 010 3.182l-2.5 2.5A2.25 2.25 0 112.159 8.66l1.45-1.45z",fill:e}))),aM=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.146 4.604l5.5 5.5a.5.5 0 00.708 0l5.5-5.5a.5.5 0 00-.708-.708L7 9.043 1.854 3.896a.5.5 0 10-.708.708z",fill:e}))),oM=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.104 7.354l-5.5 5.5a.5.5 0 01-.708-.708L10.043 7 4.896 1.854a.5.5 0 11.708-.708l5.5 5.5a.5.5 0 010 .708z",fill:e}))),iM=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.854 9.104a.5.5 0 11-.708-.708l3.5-3.5a.5.5 0 01.708 0l3.5 3.5a.5.5 0 01-.708.708L7 5.957 3.854 9.104z",fill:e}))),zx=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.854 4.896a.5.5 0 10-.708.708l3.5 3.5a.5.5 0 00.708 0l3.5-3.5a.5.5 0 00-.708-.708L7 8.043 3.854 4.896z",fill:e}))),lM=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.146 3.854a.5.5 0 010-.708l2-2a.5.5 0 11.708.708L2.707 3h6.295A4 4 0 019 11H3a.5.5 0 010-1h6a3 3 0 100-6H2.707l1.147 1.146a.5.5 0 11-.708.708l-2-2z",fill:e})));function sM(e,t){for(var r=-1,n=e==null?0:e.length,a=Array(n);++r-1}var DM=CM,SM=bu;function AM(e,t){var r=this.__data__,n=SM(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var kM=AM,_M=cM,FM=yM,IM=EM,TM=DM,RM=kM;function La(e){var t=-1,r=e==null?0:e.length;for(this.clear();++ts))return!1;var d=o.get(e),p=o.get(t);if(d&&p)return d==t&&p==e;var h=-1,m=!0,f=r&jP?new $P:void 0;for(o.set(e,t),o.set(t,e);++h-1&&e%1==0&&e-1&&e%1==0&&e<=jN}var xh=VN,UN=xs,qN=xh,WN=gn,GN="[object Arguments]",KN="[object Array]",YN="[object Boolean]",JN="[object Date]",ZN="[object Error]",XN="[object Function]",QN="[object Map]",eH="[object Number]",tH="[object Object]",rH="[object RegExp]",nH="[object Set]",aH="[object String]",oH="[object WeakMap]",iH="[object ArrayBuffer]",lH="[object DataView]",sH="[object Float32Array]",uH="[object Float64Array]",cH="[object Int8Array]",dH="[object Int16Array]",pH="[object Int32Array]",fH="[object Uint8Array]",hH="[object Uint8ClampedArray]",mH="[object Uint16Array]",gH="[object Uint32Array]",ae={};ae[sH]=ae[uH]=ae[cH]=ae[dH]=ae[pH]=ae[fH]=ae[hH]=ae[mH]=ae[gH]=!0;ae[GN]=ae[KN]=ae[iH]=ae[YN]=ae[lH]=ae[JN]=ae[ZN]=ae[XN]=ae[QN]=ae[eH]=ae[tH]=ae[rH]=ae[nH]=ae[aH]=ae[oH]=!1;function vH(e){return WN(e)&&qN(e.length)&&!!ae[UN(e)]}var yH=vH;function bH(e){return function(t){return e(t)}}var Ch=bH,bs={exports:{}};bs.exports;(function(e,t){var r=vD,n=t&&!t.nodeType&&t,a=n&&!0&&e&&!e.nodeType&&e,o=a&&a.exports===n,i=o&&r.process,s=function(){try{var u=a&&a.require&&a.require("util").types;return u||i&&i.binding&&i.binding("util")}catch{}}();e.exports=s})(bs,bs.exports);var Dh=bs.exports,wH=yH,EH=Ch,a3=Dh,o3=a3&&a3.isTypedArray,xH=o3?EH(o3):wH,Wx=xH,CH=kN,DH=qx,SH=hr,AH=wh,kH=Eh,_H=Wx,FH=Object.prototype,IH=FH.hasOwnProperty;function TH(e,t){var r=SH(e),n=!r&&DH(e),a=!r&&!n&&AH(e),o=!r&&!n&&!a&&_H(e),i=r||n||a||o,s=i?CH(e.length,String):[],u=s.length;for(var d in e)(t||IH.call(e,d))&&!(i&&(d=="length"||a&&(d=="offset"||d=="parent")||o&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||kH(d,u)))&&s.push(d);return s}var Gx=TH,RH=Object.prototype;function BH(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||RH;return e===r}var Sh=BH,zH=yD,LH=zH(Object.keys,Object),OH=LH,MH=Sh,$H=OH,PH=Object.prototype,NH=PH.hasOwnProperty;function HH(e){if(!MH(e))return $H(e);var t=[];for(var r in Object(e))NH.call(e,r)&&r!="constructor"&&t.push(r);return t}var jH=HH,VH=dy,UH=xh;function qH(e){return e!=null&&UH(e.length)&&!VH(e)}var Kx=qH,WH=Gx,GH=jH,KH=Kx;function YH(e){return KH(e)?WH(e):GH(e)}var Cu=YH,JH=jx,ZH=bh,XH=Cu;function QH(e){return JH(e,XH,ZH)}var Yx=QH,i3=Yx,ej=1,tj=Object.prototype,rj=tj.hasOwnProperty;function nj(e,t,r,n,a,o){var i=r&ej,s=i3(e),u=s.length,d=i3(t),p=d.length;if(u!=p&&!i)return!1;for(var h=u;h--;){var m=s[h];if(!(i?m in t:rj.call(t,m)))return!1}var f=o.get(e),v=o.get(t);if(f&&v)return f==t&&v==e;var g=!0;o.set(e,t),o.set(t,e);for(var b=i;++h(e[t.toLowerCase()]=t,e),{for:"htmlFor"}),k3={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},Fq=["style","script"],Iq=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,Tq=/mailto:/i,Rq=/\n{2,}$/,lC=/^(\s*>[\s\S]*?)(?=\n{2,})/,Bq=/^ *> ?/gm,zq=/^ {2,}\n/,Lq=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,sC=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,uC=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,Oq=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,Mq=/^(?:\n *)*\n/,$q=/\r\n?/g,Pq=/^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/,Nq=/^\[\^([^\]]+)]/,Hq=/\f/g,jq=/^---[ \t]*\n(.|\n)*\n---[ \t]*\n/,Vq=/^\s*?\[(x|\s)\]/,cC=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,dC=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,pC=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,Y1=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?((?:[^>]*[^/])?)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i,Uq=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,fC=/^)/,qq=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,J1=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,Wq=/^\{.*\}$/,Gq=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,Kq=/^<([^ >]+@[^ >]+)>/,Yq=/^<([^ >]+:\/[^ >]+)>/,Jq=/-([a-z])?/gi,hC=/^(.*\|.*)\n(?: *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*))?\n?/,Zq=/^\[([^\]]*)\]:\s+]+)>?\s*("([^"]*)")?/,Xq=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,Qq=/^\[([^\]]*)\] ?\[([^\]]*)\]/,eW=/(\[|\])/g,tW=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,rW=/\t/g,nW=/(^ *\||\| *$)/g,aW=/^ *:-+: *$/,oW=/^ *:-+ *$/,iW=/^ *-+: *$/,Au="((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~~.*?~~|==.*?==|.|\\n)*?)",lW=new RegExp(`^([*_])\\1${Au}\\1\\1(?!\\1)`),sW=new RegExp(`^([*_])${Au}\\1(?!\\1|\\w)`),uW=new RegExp(`^==${Au}==`),cW=new RegExp(`^~~${Au}~~`),dW=/^\\([^0-9A-Za-z\s])/,pW=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,fW=/^\n+/,hW=/^([ \t]*)/,mW=/\\([^\\])/g,_3=/ *\n+$/,gW=/(?:^|\n)( *)$/,Rh="(?:\\d+\\.)",Bh="(?:[*+-])";function mC(e){return"( *)("+(e===1?Rh:Bh)+") +"}const gC=mC(1),vC=mC(2);function yC(e){return new RegExp("^"+(e===1?gC:vC))}const vW=yC(1),yW=yC(2);function bC(e){return new RegExp("^"+(e===1?gC:vC)+"[^\\n]*(?:\\n(?!\\1"+(e===1?Rh:Bh)+" )[^\\n]*)*(\\n|$)","gm")}const wC=bC(1),EC=bC(2);function xC(e){const t=e===1?Rh:Bh;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}const CC=xC(1),DC=xC(2);function F3(e,t){const r=t===1,n=r?CC:DC,a=r?wC:EC,o=r?vW:yW;return{match(i,s,u){const d=gW.exec(u);return d&&(s.list||!s.inline&&!s.simple)?n.exec(i=d[1]+i):null},order:1,parse(i,s,u){const d=r?+i[2]:void 0,p=i[0].replace(Rq,` -`).match(a);let h=!1;return{items:p.map(function(m,f){const v=o.exec(m)[0].length,g=new RegExp("^ {1,"+v+"}","gm"),b=m.replace(g,"").replace(o,""),C=f===p.length-1,w=b.indexOf(` - -`)!==-1||C&&h;h=w;const x=u.inline,E=u.list;let D;u.list=!0,w?(u.inline=!1,D=b.replace(_3,` - -`)):(u.inline=!0,D=b.replace(_3,""));const S=s(D,u);return u.inline=x,u.list=E,S}),ordered:r,start:d}},render:(i,s,u)=>e(i.ordered?"ol":"ul",{key:u.key,start:i.type==="20"?i.start:void 0},i.items.map(function(d,p){return e("li",{key:p},s(d,u))}))}}const bW=new RegExp(`^\\[((?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*)\\]\\(\\s*?(?:\\s+['"]([\\s\\S]*?)['"])?\\s*\\)`),wW=/^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,SC=[lC,sC,uC,cC,pC,dC,fC,hC,wC,CC,EC,DC],EW=[...SC,/^[^\n]+(?: \n|\n{2,})/,Y1,J1];function xW(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 CW(e){return iW.test(e)?"right":aW.test(e)?"center":oW.test(e)?"left":null}function I3(e,t,r,n){const a=r.inTable;r.inTable=!0;let o=e.trim().split(/( *(?:`[^`]*`|<.*?>.*?<\/.*?>(?!<\/.*?>)|\\\||\|) *)/).reduce((s,u)=>(u.trim()==="|"?s.push(n?{type:"26"}:{type:"27",text:u}):u!==""&&s.push.apply(s,t(u,r)),s),[]);r.inTable=a;let i=[[]];return o.forEach(function(s,u){s.type==="26"?u!==0&&u!==o.length-1&&i.push([]):(s.type!=="27"||o[u+1]!=null&&o[u+1].type!=="26"||(s.text=s.text.trimEnd()),i[i.length-1].push(s))}),i}function DW(e,t,r){r.inline=!0;const n=e[2]?e[2].replace(nW,"").split("|").map(CW):[],a=e[3]?function(i,s,u){return i.trim().split(` -`).map(function(d){return I3(d,s,u,!0)})}(e[3],t,r):[],o=I3(e[1],t,r,!!a.length);return r.inline=!1,a.length?{align:n,cells:a,header:o,type:"25"}:{children:o,type:"21"}}function T3(e,t){return e.align[t]==null?{}:{textAlign:e.align[t]}}function wr(e){return function(t,r){return r.inline?e.exec(t):null}}function Er(e){return function(t,r){return r.inline||r.simple?e.exec(t):null}}function ar(e){return function(t,r){return r.inline||r.simple?null:e.exec(t)}}function uo(e){return function(t){return e.exec(t)}}function SW(e,t,r){if(t.inline||t.simple||r&&!r.endsWith(` -`))return null;let n="";e.split(` -`).every(o=>!SC.some(i=>i.test(o))&&(n+=o+` -`,o.trim()));const a=n.trimEnd();return a==""?null:[n,a]}function $n(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 R3(e){return e.replace(mW,"$1")}function Al(e,t,r){const n=r.inline||!1,a=r.simple||!1;r.inline=!0,r.simple=!0;const o=e(t,r);return r.inline=n,r.simple=a,o}function AW(e,t,r){const n=r.inline||!1,a=r.simple||!1;r.inline=!1,r.simple=!0;const o=e(t,r);return r.inline=n,r.simple=a,o}function kW(e,t,r){const n=r.inline||!1;r.inline=!1;const a=e(t,r);return r.inline=n,a}const Z0=(e,t,r)=>({children:Al(t,e[1],r)});function X0(){return{}}function Q0(){return null}function _W(...e){return e.filter(Boolean).join(" ")}function ed(e,t,r){let n=e;const a=t.split(".");for(;a.length&&(n=n[a[0]],n!==void 0);)a.shift();return n||r}function FW(e="",t={}){t.overrides=t.overrides||{},t.slugify=t.slugify||xW,t.namedCodesToUnicode=t.namedCodesToUnicode?Xr({},k3,t.namedCodesToUnicode):k3;const r=t.createElement||l.createElement;function n(f,v,...g){const b=ed(t.overrides,`${f}.props`,{});return r(function(C,w){const x=ed(w,C);return x?typeof x=="function"||typeof x=="object"&&"render"in x?x:ed(w,`${C}.component`,C):C}(f,t.overrides),Xr({},v,b,{className:_W(v==null?void 0:v.className,b.className)||void 0}),...g)}function a(f){f=f.replace(jq,"");let v=!1;t.forceInline?v=!0:t.forceBlock||(v=tW.test(f)===!1);const g=p(d(v?f:`${f.trimEnd().replace(fW,"")} - -`,{inline:v}));for(;typeof g[g.length-1]=="string"&&!g[g.length-1].trim();)g.pop();if(t.wrapper===null)return g;const b=t.wrapper||(v?"span":"div");let C;if(g.length>1||t.forceWrapper)C=g;else{if(g.length===1)return C=g[0],typeof C=="string"?n("span",{key:"outer"},C):C;C=null}return l.createElement(b,{key:"outer"},C)}function o(f){const v=f.match(Iq);return v?v.reduce(function(g,b,C){const w=b.indexOf("=");if(w!==-1){const x=function(A){return A.indexOf("-")!==-1&&A.match(qq)===null&&(A=A.replace(Jq,function(k,F){return F.toUpperCase()})),A}(b.slice(0,w)).trim(),E=function(A){const k=A[0];return(k==='"'||k==="'")&&A.length>=2&&A[A.length-1]===k?A.slice(1,-1):A}(b.slice(w+1).trim()),D=A3[x]||x,S=g[D]=function(A,k){return A==="style"?k.split(/;\s?/).reduce(function(F,T){const R=T.slice(0,T.indexOf(":"));return F[R.trim().replace(/(-[a-z])/g,L=>L[1].toUpperCase())]=T.slice(R.length+1).trim(),F},{}):A==="href"||A==="src"?$n(k):(k.match(Wq)&&(k=k.slice(1,k.length-1)),k==="true"||k!=="false"&&k)}(x,E);typeof S=="string"&&(Y1.test(S)||J1.test(S))&&(g[D]=l.cloneElement(a(S.trim()),{key:C}))}else b!=="style"&&(g[A3[b]||b]=!0);return g},{}):null}const i=[],s={},u={0:{match:ar(lC),order:1,parse:(f,v,g)=>({children:v(f[0].replace(Bq,""),g)}),render:(f,v,g)=>n("blockquote",{key:g.key},v(f.children,g))},1:{match:uo(zq),order:1,parse:X0,render:(f,v,g)=>n("br",{key:g.key})},2:{match:ar(Lq),order:1,parse:X0,render:(f,v,g)=>n("hr",{key:g.key})},3:{match:ar(uC),order:0,parse:f=>({lang:void 0,text:f[0].replace(/^ {4}/gm,"").replace(/\n+$/,"")}),render:(f,v,g)=>n("pre",{key:g.key},n("code",Xr({},f.attrs,{className:f.lang?`lang-${f.lang}`:""}),f.text))},4:{match:ar(sC),order:0,parse:f=>({attrs:o(f[3]||""),lang:f[2]||void 0,text:f[4],type:"3"})},5:{match:Er(Oq),order:3,parse:f=>({text:f[2]}),render:(f,v,g)=>n("code",{key:g.key},f.text)},6:{match:ar(Pq),order:0,parse:f=>(i.push({footnote:f[2],identifier:f[1]}),{}),render:Q0},7:{match:wr(Nq),order:1,parse:f=>({target:`#${t.slugify(f[1])}`,text:f[1]}),render:(f,v,g)=>n("a",{key:g.key,href:$n(f.target)},n("sup",{key:g.key},f.text))},8:{match:wr(Vq),order:1,parse:f=>({completed:f[1].toLowerCase()==="x"}),render:(f,v,g)=>n("input",{checked:f.completed,key:g.key,readOnly:!0,type:"checkbox"})},9:{match:ar(t.enforceAtxHeadings?dC:cC),order:1,parse:(f,v,g)=>({children:Al(v,f[2],g),id:t.slugify(f[2]),level:f[1].length}),render:(f,v,g)=>n(`h${f.level}`,{id:f.id,key:g.key},v(f.children,g))},10:{match:ar(pC),order:0,parse:(f,v,g)=>({children:Al(v,f[1],g),level:f[2]==="="?1:2,type:"9"})},11:{match:uo(Y1),order:1,parse(f,v,g){const[,b]=f[3].match(hW),C=new RegExp(`^${b}`,"gm"),w=f[3].replace(C,""),x=(E=w,EW.some(k=>k.test(E))?kW:Al);var E;const D=f[1].toLowerCase(),S=Fq.indexOf(D)!==-1,A={attrs:o(f[2]),noInnerParse:S,tag:(S?D:f[1]).trim()};return g.inAnchor=g.inAnchor||D==="a",S?A.text=f[3]:A.children=x(v,w,g),g.inAnchor=!1,A},render:(f,v,g)=>n(f.tag,Xr({key:g.key},f.attrs),f.text||v(f.children,g))},13:{match:uo(J1),order:1,parse:f=>({attrs:o(f[2]||""),tag:f[1].trim()}),render:(f,v,g)=>n(f.tag,Xr({},f.attrs,{key:g.key}))},12:{match:uo(fC),order:1,parse:()=>({}),render:Q0},14:{match:Er(wW),order:1,parse:f=>({alt:f[1],target:R3(f[2]),title:f[3]}),render:(f,v,g)=>n("img",{key:g.key,alt:f.alt||void 0,title:f.title||void 0,src:$n(f.target)})},15:{match:wr(bW),order:3,parse:(f,v,g)=>({children:AW(v,f[1],g),target:R3(f[2]),title:f[3]}),render:(f,v,g)=>n("a",{key:g.key,href:$n(f.target),title:f.title},v(f.children,g))},16:{match:wr(Yq),order:0,parse:f=>({children:[{text:f[1],type:"27"}],target:f[1],type:"15"})},17:{match:(f,v)=>v.inAnchor?null:wr(Gq)(f,v),order:0,parse:f=>({children:[{text:f[1],type:"27"}],target:f[1],title:void 0,type:"15"})},18:{match:wr(Kq),order:0,parse(f){let v=f[1],g=f[1];return Tq.test(g)||(g="mailto:"+g),{children:[{text:v.replace("mailto:",""),type:"27"}],target:g,type:"15"}}},20:F3(n,1),33:F3(n,2),19:{match:ar(Mq),order:3,parse:X0,render:()=>` -`},21:{match:SW,order:3,parse:Z0,render:(f,v,g)=>n("p",{key:g.key},v(f.children,g))},22:{match:wr(Zq),order:0,parse:f=>(s[f[1]]={target:f[2],title:f[4]},{}),render:Q0},23:{match:Er(Xq),order:0,parse:f=>({alt:f[1]||void 0,ref:f[2]}),render:(f,v,g)=>s[f.ref]?n("img",{key:g.key,alt:f.alt,src:$n(s[f.ref].target),title:s[f.ref].title}):null},24:{match:wr(Qq),order:0,parse:(f,v,g)=>({children:v(f[1],g),fallbackChildren:v(f[0].replace(eW,"\\$1"),g),ref:f[2]}),render:(f,v,g)=>s[f.ref]?n("a",{key:g.key,href:$n(s[f.ref].target),title:s[f.ref].title},v(f.children,g)):n("span",{key:g.key},v(f.fallbackChildren,g))},25:{match:ar(hC),order:1,parse:DW,render(f,v,g){const b=f;return n("table",{key:g.key},n("thead",null,n("tr",null,b.header.map(function(C,w){return n("th",{key:w,style:T3(b,w)},v(C,g))}))),n("tbody",null,b.cells.map(function(C,w){return n("tr",{key:w},C.map(function(x,E){return n("td",{key:E,style:T3(b,E)},v(x,g))}))})))}},27:{match:uo(pW),order:4,parse:f=>({text:f[0].replace(Uq,(v,g)=>t.namedCodesToUnicode[g]?t.namedCodesToUnicode[g]:v)}),render:f=>f.text},28:{match:Er(lW),order:2,parse:(f,v,g)=>({children:v(f[2],g)}),render:(f,v,g)=>n("strong",{key:g.key},v(f.children,g))},29:{match:Er(sW),order:3,parse:(f,v,g)=>({children:v(f[2],g)}),render:(f,v,g)=>n("em",{key:g.key},v(f.children,g))},30:{match:Er(dW),order:1,parse:f=>({text:f[1],type:"27"})},31:{match:Er(uW),order:3,parse:Z0,render:(f,v,g)=>n("mark",{key:g.key},v(f.children,g))},32:{match:Er(cW),order:3,parse:Z0,render:(f,v,g)=>n("del",{key:g.key},v(f.children,g))}};t.disableParsingRawHTML===!0&&(delete u[11],delete u[13]);const d=function(f){let v=Object.keys(f);function g(b,C){let w=[],x="";for(;b;){let E=0;for(;Ew(g,b,C),g,b,C):w(g,b,C)}}(u,t.renderRule),function f(v,g={}){if(Array.isArray(v)){const b=g.key,C=[];let w=!1;for(let x=0;x{let{children:t="",options:r}=e,n=function(a,o){if(a==null)return{};var i,s,u={},d=Object.keys(a);for(s=0;s=0||(u[i]=a[i]);return u}(e,_q);return l.cloneElement(FW(t,r),n)};function el(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 kC={exports:{}};(function(e,t){(function(r){e.exports=r()})(function(){return function r(n,a,o){function i(d,p){if(!a[d]){if(!n[d]){var h=typeof el=="function"&⪙if(!p&&h)return h(d,!0);if(s)return s(d,!0);var m=new Error("Cannot find module '"+d+"'");throw m.code="MODULE_NOT_FOUND",m}var f=a[d]={exports:{}};n[d][0].call(f.exports,function(v){var g=n[d][1][v];return i(g||v)},f,f.exports,r,n,a,o)}return a[d].exports}for(var s=typeof el=="function"&&el,u=0;u=0)return this.lastItem=this.list[s],this.list[s].val},o.prototype.set=function(i,s){var u;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=s,this):(u=this.indexOf(i),u>=0?(this.lastItem=this.list[u],this.list[u].val=s,this):(this.lastItem={key:i,val:s},this.list.push(this.lastItem),this.size++,this))},o.prototype.delete=function(i){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),s=this.indexOf(i),s>=0)return this.size--,this.list.splice(s,1)[0]},o.prototype.has=function(i){var s;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(s=this.indexOf(i),s>=0?(this.lastItem=this.list[s],!0):!1)},o.prototype.forEach=function(i,s){var u;for(u=0;u0&&(w[C]={cacheItem:v,arg:arguments[C]},x?i(h,w):h.push(w),h.length>d&&s(h.shift())),f.wasMemoized=x,f.numArgs=C+1,b};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 u(d,p){return d===p||d!==d&&p!==p}},{"map-or-similar":1}]},{},[3])(3)})})(kC);var IW=kC.exports;const _C=Es(IW);function TW(e,t,r,n){for(var a=e.length,o=r+(n?1:-1);n?o--:++o-1}var UW=VW;function qW(e,t,r){for(var n=-1,a=e==null?0:e.length;++n=iG){var d=t?null:aG(e);if(d)return oG(d);i=!1,a=nG,u=new eG}else u=t?[]:s;e:for(;++nfunction(){return t||(0,e[BC(e)[0]])((t={exports:{}}).exports,t),t.exports},rJ=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of BC(t))!tJ.call(e,a)&&a!==r&&RC(e,a,{get:()=>t[a],enumerable:!(n=QY(t,a))||n.enumerable});return e},Lh=(e,t,r)=>(r=e!=null?XY(eJ(e)):{},rJ(!e||!e.__esModule?RC(r,"default",{value:e,enumerable:!0}):r,e)),nJ=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],aJ=["detail"];function oJ(e){const t=nJ.filter(r=>e[r]!==void 0).reduce((r,n)=>({...r,[n]:e[n]}),{});return e instanceof CustomEvent&&aJ.filter(r=>e[r]!==void 0).forEach(r=>{t[r]=e[r]}),t}var zC=it({"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"),o=Object(a);if(typeof a=="string"||Object.prototype.toString.call(a)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var i=42;n[a]=i;for(a in n)return!1;if(typeof Object.keys=="function"&&Object.keys(n).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(n).length!==0)return!1;var s=Object.getOwnPropertySymbols(n);if(s.length!==1||s[0]!==a||!Object.prototype.propertyIsEnumerable.call(n,a))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var u=Object.getOwnPropertyDescriptor(n,a);if(u.value!==i||u.enumerable!==!0)return!1}return!0}}}),LC=it({"node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=zC();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}}),iJ=it({"node_modules/function-bind/implementation.js"(e,t){var r="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,a=Object.prototype.toString,o="[object Function]";t.exports=function(s){var u=this;if(typeof u!="function"||a.call(u)!==o)throw new TypeError(r+u);for(var d=n.call(arguments,1),p,h=function(){if(this instanceof p){var b=u.apply(this,d.concat(n.call(arguments)));return Object(b)===b?b:this}else return u.apply(s,d.concat(n.call(arguments)))},m=Math.max(0,u.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%":o,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet},g=function L(z){var M;if(z==="%AsyncFunction%")M=i("async function () {}");else if(z==="%GeneratorFunction%")M=i("function* () {}");else if(z==="%AsyncGeneratorFunction%")M=i("async function* () {}");else if(z==="%AsyncGenerator%"){var O=L("%AsyncGeneratorFunction%");O&&(M=O.prototype)}else if(z==="%AsyncIteratorPrototype%"){var $=L("%AsyncGenerator%");$&&(M=h($.prototype))}return v[z]=M,M},b={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},C=Oh(),w=lJ(),x=C.call(Function.call,Array.prototype.concat),E=C.call(Function.apply,Array.prototype.splice),D=C.call(Function.call,String.prototype.replace),S=C.call(Function.call,String.prototype.slice),A=C.call(Function.call,RegExp.prototype.exec),k=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,F=/\\(\\)?/g,T=function(z){var M=S(z,0,1),O=S(z,-1);if(M==="%"&&O!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if(O==="%"&&M!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var $=[];return D(z,k,function(j,G,H,K){$[$.length]=H?D(K,F,"$1"):G||j}),$},R=function(z,M){var O=z,$;if(w(b,O)&&($=b[O],O="%"+$[0]+"%"),w(v,O)){var j=v[O];if(j===m&&(j=g(O)),typeof j>"u"&&!M)throw new o("intrinsic "+z+" exists, but is not available. Please file an issue!");return{alias:$,name:O,value:j}}throw new n("intrinsic "+z+" does not exist!")};t.exports=function(z,M){if(typeof z!="string"||z.length===0)throw new o("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof M!="boolean")throw new o('"allowMissing" argument must be a boolean');if(A(/^%?[^%]*%?$/,z)===null)throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var O=T(z),$=O.length>0?O[0]:"",j=R("%"+$+"%",M),G=j.name,H=j.value,K=!1,te=j.alias;te&&($=te[0],E(O,x([0,1],te)));for(var le=1,Q=!0;le=O.length){var J=s(H,re);Q=!!J,Q&&"get"in J&&!("originalValue"in J.get)?H=J.get:H=H[re]}else Q=w(H,re),H=H[re];Q&&!K&&(v[G]=H)}}return H}}}),sJ=it({"node_modules/call-bind/index.js"(e,t){var r=Oh(),n=OC(),a=n("%Function.prototype.apply%"),o=n("%Function.prototype.call%"),i=n("%Reflect.apply%",!0)||r.call(o,a),s=n("%Object.getOwnPropertyDescriptor%",!0),u=n("%Object.defineProperty%",!0),d=n("%Math.max%");if(u)try{u({},"a",{value:1})}catch{u=null}t.exports=function(m){var f=i(r,o,arguments);if(s&&u){var v=s(f,"length");v.configurable&&u(f,"length",{value:1+d(0,m.length-(arguments.length-1))})}return f};var p=function(){return i(r,a,arguments)};u?u(t.exports,"apply",{value:p}):t.exports.apply=p}}),uJ=it({"node_modules/call-bind/callBound.js"(e,t){var r=OC(),n=sJ(),a=n(r("String.prototype.indexOf"));t.exports=function(i,s){var u=r(i,!!s);return typeof u=="function"&&a(i,".prototype.")>-1?n(u):u}}}),cJ=it({"node_modules/has-tostringtag/shams.js"(e,t){var r=zC();t.exports=function(){return r()&&!!Symbol.toStringTag}}}),dJ=it({"node_modules/is-regex/index.js"(e,t){var r=uJ(),n=cJ()(),a,o,i,s;n&&(a=r("Object.prototype.hasOwnProperty"),o=r("RegExp.prototype.exec"),i={},u=function(){throw i},s={toString:u,valueOf:u},typeof Symbol.toPrimitive=="symbol"&&(s[Symbol.toPrimitive]=u));var u,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{o(f,s)}catch(b){return b===i}}:function(f){return!f||typeof f!="object"&&typeof f!="function"?!1:d(f)===h}}}),pJ=it({"node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(a){if(!a)return!1;var o=r.call(a);return o==="[object Function]"||typeof a=="function"&&o!=="[object RegExp]"||typeof window<"u"&&(a===window.setTimeout||a===window.alert||a===window.confirm||a===window.prompt)}}}),fJ=it({"node_modules/is-symbol/index.js"(e,t){var r=Object.prototype.toString,n=LC()();n?(a=Symbol.prototype.toString,o=/^Symbol\(.*\)$/,i=function(u){return typeof u.valueOf()!="symbol"?!1:o.test(a.call(u))},t.exports=function(u){if(typeof u=="symbol")return!0;if(r.call(u)!=="[object Symbol]")return!1;try{return i(u)}catch{return!1}}):t.exports=function(u){return!1};var a,o,i}}),hJ=Lh(dJ()),mJ=Lh(pJ()),gJ=Lh(fJ());function vJ(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}var yJ=typeof global=="object"&&global&&global.Object===Object&&global,bJ=yJ,wJ=typeof self=="object"&&self&&self.Object===Object&&self,EJ=bJ||wJ||Function("return this")(),Mh=EJ,xJ=Mh.Symbol,xa=xJ,MC=Object.prototype,CJ=MC.hasOwnProperty,DJ=MC.toString,co=xa?xa.toStringTag:void 0;function SJ(e){var t=CJ.call(e,co),r=e[co];try{e[co]=void 0;var n=!0}catch{}var a=DJ.call(e);return n&&(t?e[co]=r:delete e[co]),a}var AJ=SJ,kJ=Object.prototype,_J=kJ.toString;function FJ(e){return _J.call(e)}var IJ=FJ,TJ="[object Null]",RJ="[object Undefined]",j3=xa?xa.toStringTag:void 0;function BJ(e){return e==null?e===void 0?RJ:TJ:j3&&j3 in Object(e)?AJ(e):IJ(e)}var zJ=BJ,V3=xa?xa.prototype:void 0;V3&&V3.toString;function LJ(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var $C=LJ,OJ="[object AsyncFunction]",MJ="[object Function]",$J="[object GeneratorFunction]",PJ="[object Proxy]";function NJ(e){if(!$C(e))return!1;var t=zJ(e);return t==MJ||t==$J||t==OJ||t==PJ}var HJ=NJ,jJ=Mh["__core-js_shared__"],rd=jJ,U3=function(){var e=/[^.]+$/.exec(rd&&rd.keys&&rd.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function VJ(e){return!!U3&&U3 in e}var UJ=VJ,qJ=Function.prototype,WJ=qJ.toString;function GJ(e){if(e!=null){try{return WJ.call(e)}catch{}try{return e+""}catch{}}return""}var KJ=GJ,YJ=/[\\^$.*+?()[\]{}|]/g,JJ=/^\[object .+?Constructor\]$/,ZJ=Function.prototype,XJ=Object.prototype,QJ=ZJ.toString,eZ=XJ.hasOwnProperty,tZ=RegExp("^"+QJ.call(eZ).replace(YJ,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function rZ(e){if(!$C(e)||UJ(e))return!1;var t=HJ(e)?tZ:JJ;return t.test(KJ(e))}var nZ=rZ;function aZ(e,t){return e==null?void 0:e[t]}var oZ=aZ;function iZ(e,t){var r=oZ(e,t);return nZ(r)?r:void 0}var PC=iZ;function lZ(e,t){return e===t||e!==e&&t!==t}var sZ=lZ,uZ=PC(Object,"create"),Zo=uZ;function cZ(){this.__data__=Zo?Zo(null):{},this.size=0}var dZ=cZ;function pZ(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var fZ=pZ,hZ="__lodash_hash_undefined__",mZ=Object.prototype,gZ=mZ.hasOwnProperty;function vZ(e){var t=this.__data__;if(Zo){var r=t[e];return r===hZ?void 0:r}return gZ.call(t,e)?t[e]:void 0}var yZ=vZ,bZ=Object.prototype,wZ=bZ.hasOwnProperty;function EZ(e){var t=this.__data__;return Zo?t[e]!==void 0:wZ.call(t,e)}var xZ=EZ,CZ="__lodash_hash_undefined__";function DZ(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Zo&&t===void 0?CZ:t,this}var SZ=DZ;function Na(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t-1}var OZ=LZ;function MZ(e,t){var r=this.__data__,n=_u(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var $Z=MZ;function Ha(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{let t=null,r=!1,n=!1,a=!1,o="";if(e.indexOf("//")>=0||e.indexOf("/*")>=0)for(let i=0;iuX(e).replace(/\n\s*/g,"").trim()),dX=function(t,r){const n=r.slice(0,r.indexOf("{")),a=r.slice(r.indexOf("{"));if(n.includes("=>")||n.includes("function"))return r;let o=n;return o=o.replace(t,"function"),o+a},pX=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/;function HC(e){if(!sX(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=oJ(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 fX=function(t){let r,n,a,o;return function(s,u){try{if(s==="")return o=[],r=new Map([[u,"[]"]]),n=new Map,a=[],u;const d=n.get(this)||this;for(;a.length&&d!==a[0];)a.shift(),o.pop();if(typeof u=="boolean")return u;if(u===void 0)return t.allowUndefined?"_undefined_":void 0;if(u===null)return null;if(typeof u=="number")return u===-1/0?"_-Infinity_":u===1/0?"_Infinity_":Number.isNaN(u)?"_NaN_":u;if(typeof u=="bigint")return`_bigint_${u.toString()}`;if(typeof u=="string")return pX.test(u)?t.allowDate?`_date_${u}`:void 0:u;if((0,hJ.default)(u))return t.allowRegExp?`_regexp_${u.flags}|${u.source}`:void 0;if((0,mJ.default)(u)){if(!t.allowFunction)return;const{name:h}=u,m=u.toString();return m.match(/(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)?`_function_${h}|${(()=>{}).toString()}`:`_function_${h}|${cX(dX(s,m))}`}if((0,gJ.default)(u)){if(!t.allowSymbol)return;const h=Symbol.keyFor(u);return h!==void 0?`_gsymbol_${h}`:`_symbol_${u.toString().slice(7,-1)}`}if(a.length>=t.maxDepth)return Array.isArray(u)?`[Array(${u.length})]`:"[Object]";if(u===this)return`_duplicate_${JSON.stringify(o)}`;if(u instanceof Error&&t.allowError)return{__isConvertedError__:!0,errorProperties:{...u.cause?{cause:u.cause}:{},...u,name:u.name,message:u.message,stack:u.stack,"_constructor-name_":u.constructor.name}};if(u.constructor&&u.constructor.name&&u.constructor.name!=="Object"&&!Array.isArray(u)&&!t.allowClass)return;const p=r.get(u);if(!p){const h=Array.isArray(u)?u:HC(u);if(u.constructor&&u.constructor.name&&u.constructor.name!=="Object"&&!Array.isArray(u)&&t.allowClass)try{Object.assign(h,{"_constructor-name_":u.constructor.name})}catch{}return o.push(s),a.unshift(h),r.set(u,JSON.stringify(o)),u!==h&&n.set(u,h),h}return`_duplicate_${p}`}catch{return}}},hX={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},mX=(e,t={})=>{const r={...hX,...t};return JSON.stringify(HC(e),fX(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 - */const{global:nt}=__STORYBOOK_MODULE_GLOBAL__,{deprecate:gX,once:vX,logger:Ph}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{filterArgTypes:W3,composeConfigs:Ere,Preview:xre,DocsContext:Cre}=__STORYBOOK_MODULE_PREVIEW_API__,{GLOBALS_UPDATED:G3,STORY_ARGS_UPDATED:K3,UPDATE_STORY_ARGS:yX,RESET_STORY_ARGS:bX,NAVIGATE_URL:wX}=__STORYBOOK_MODULE_CORE_EVENTS__;__STORYBOOK_MODULE_CHANNELS__;var EX=Da({"../../node_modules/tocbot/src/js/default-options.js"(e,t){t.exports={tocSelector:".js-toc",contentSelector:".js-toc-content",headingSelector:"h1, h2, h3",ignoreSelector:".js-toc-ignore",hasInnerContainers:!1,linkClass:"toc-link",extraLinkClasses:"",activeLinkClass:"is-active-link",listClass:"toc-list",extraListClasses:"",isCollapsedClass:"is-collapsed",collapsibleClass:"is-collapsible",listItemClass:"toc-list-item",activeListItemClass:"is-active-li",collapseDepth:0,scrollSmooth:!0,scrollSmoothDuration:420,scrollSmoothOffset:0,scrollEndCallback:function(r){},headingsOffset:1,throttleTimeout:50,positionFixedSelector:null,positionFixedClass:"is-position-fixed",fixedSidebarOffset:"auto",includeHtml:!1,includeTitleTags:!1,onClick:function(r){},orderedList:!0,scrollContainer:null,skipRendering:!1,headingLabelCallback:!1,ignoreHiddenElements:!1,headingObjectCallback:null,basePath:"",disableTocScrollSync:!1,tocScrollOffset:0}}}),xX=Da({"../../node_modules/tocbot/src/js/build-html.js"(e,t){t.exports=function(r){var n=[].forEach,a=[].some,o=document.body,i,s=!0,u=" ";function d(E,D){var S=D.appendChild(h(E));if(E.children.length){var A=m(E.isCollapsed);E.children.forEach(function(k){d(k,A)}),S.appendChild(A)}}function p(E,D){var S=!1,A=m(S);if(D.forEach(function(k){d(k,A)}),i=E||i,i!==null)return i.firstChild&&i.removeChild(i.firstChild),D.length===0?i:i.appendChild(A)}function h(E){var D=document.createElement("li"),S=document.createElement("a");return r.listItemClass&&D.setAttribute("class",r.listItemClass),r.onClick&&(S.onclick=r.onClick),r.includeTitleTags&&S.setAttribute("title",E.textContent),r.includeHtml&&E.childNodes.length?n.call(E.childNodes,function(A){S.appendChild(A.cloneNode(!0))}):S.textContent=E.textContent,S.setAttribute("href",r.basePath+"#"+E.id),S.setAttribute("class",r.linkClass+u+"node-name--"+E.nodeName+u+r.extraLinkClasses),D.appendChild(S),D}function m(E){var D=r.orderedList?"ol":"ul",S=document.createElement(D),A=r.listClass+u+r.extraListClasses;return E&&(A=A+u+r.collapsibleClass,A=A+u+r.isCollapsedClass),S.setAttribute("class",A),S}function f(){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var E;E=document.querySelector(r.scrollContainer).scrollTop}else E=document.documentElement.scrollTop||o.scrollTop;var D=document.querySelector(r.positionFixedSelector);r.fixedSidebarOffset==="auto"&&(r.fixedSidebarOffset=i.offsetTop),E>r.fixedSidebarOffset?D.className.indexOf(r.positionFixedClass)===-1&&(D.className+=u+r.positionFixedClass):D.className=D.className.replace(u+r.positionFixedClass,"")}function v(E){var D=0;return E!==null&&(D=E.offsetTop,r.hasInnerContainers&&(D+=v(E.offsetParent))),D}function g(E,D){return E&&E.className!==D&&(E.className=D),E}function b(E){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var D;D=document.querySelector(r.scrollContainer).scrollTop}else D=document.documentElement.scrollTop||o.scrollTop;r.positionFixedSelector&&f();var S=E,A;if(s&&i!==null&&S.length>0){a.call(S,function(M,O){if(v(M)>D+r.headingsOffset+10){var $=O===0?O:O-1;return A=S[$],!0}else if(O===S.length-1)return A=S[S.length-1],!0});var k=i.querySelector("."+r.activeLinkClass),F=i.querySelector("."+r.linkClass+".node-name--"+A.nodeName+'[href="'+r.basePath+"#"+A.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/\\@])/g,"\\$1")+'"]');if(k===F)return;var T=i.querySelectorAll("."+r.linkClass);n.call(T,function(M){g(M,M.className.replace(u+r.activeLinkClass,""))});var R=i.querySelectorAll("."+r.listItemClass);n.call(R,function(M){g(M,M.className.replace(u+r.activeListItemClass,""))}),F&&F.className.indexOf(r.activeLinkClass)===-1&&(F.className+=u+r.activeLinkClass);var L=F&&F.parentNode;L&&L.className.indexOf(r.activeListItemClass)===-1&&(L.className+=u+r.activeListItemClass);var z=i.querySelectorAll("."+r.listClass+"."+r.collapsibleClass);n.call(z,function(M){M.className.indexOf(r.isCollapsedClass)===-1&&(M.className+=u+r.isCollapsedClass)}),F&&F.nextSibling&&F.nextSibling.className.indexOf(r.isCollapsedClass)!==-1&&g(F.nextSibling,F.nextSibling.className.replace(u+r.isCollapsedClass,"")),C(F&&F.parentNode.parentNode)}}function C(E){return E&&E.className.indexOf(r.collapsibleClass)!==-1&&E.className.indexOf(r.isCollapsedClass)!==-1?(g(E,E.className.replace(u+r.isCollapsedClass,"")),C(E.parentNode.parentNode)):E}function w(E){var D=E.target||E.srcElement;typeof D.className!="string"||D.className.indexOf(r.linkClass)===-1||(s=!1)}function x(){s=!0}return{enableTocAnimation:x,disableTocAnimation:w,render:p,updateToc:b}}}}),CX=Da({"../../node_modules/tocbot/src/js/parse-content.js"(e,t){t.exports=function(r){var n=[].reduce;function a(h){return h[h.length-1]}function o(h){return+h.nodeName.toUpperCase().replace("H","")}function i(h){try{return h instanceof window.HTMLElement||h instanceof window.parent.HTMLElement}catch{return h instanceof window.HTMLElement}}function s(h){if(!i(h))return h;if(r.ignoreHiddenElements&&(!h.offsetHeight||!h.offsetParent))return null;let m=h.getAttribute("data-heading-label")||(r.headingLabelCallback?String(r.headingLabelCallback(h.innerText)):(h.innerText||h.textContent).trim());var f={id:h.id,children:[],nodeName:h.nodeName,headingLevel:o(h),textContent:m};return r.includeHtml&&(f.childNodes=h.childNodes),r.headingObjectCallback?r.headingObjectCallback(f,h):f}function u(h,m){for(var f=s(h),v=f.headingLevel,g=m,b=a(g),C=b?b.headingLevel:0,w=v-C;w>0&&(b=a(g),!(b&&v===b.headingLevel));)b&&b.children!==void 0&&(g=b.children),w--;return v>=r.collapseDepth&&(f.isCollapsed=!0),g.push(f),g}function d(h,m){var f=m;r.ignoreSelector&&(f=m.split(",").map(function(v){return v.trim()+":not("+r.ignoreSelector+")"}));try{return h.querySelectorAll(f)}catch{return console.warn("Headers not found with selector: "+f),null}}function p(h){return n.call(h,function(m,f){var v=s(f);return v&&u(v,m.nest),m},{nest:[]})}return{nestHeadingsArray:p,selectHeadings:d}}}}),DX=Da({"../../node_modules/tocbot/src/js/update-toc-scroll.js"(e,t){t.exports=function(r){var n=r.tocElement||document.querySelector(r.tocSelector);if(n&&n.scrollHeight>n.clientHeight){var a=n.querySelector("."+r.activeListItemClass);a&&(n.scrollTop=a.offsetTop-r.tocScrollOffset)}}}}),SX=Da({"../../node_modules/tocbot/src/js/scroll-smooth/index.js"(e){e.initSmoothScrolling=t;function t(n){var a=n.duration,o=n.offset,i=location.hash?d(location.href):location.href;s();function s(){document.body.addEventListener("click",h,!1);function h(m){!u(m.target)||m.target.className.indexOf("no-smooth-scroll")>-1||m.target.href.charAt(m.target.href.length-2)==="#"&&m.target.href.charAt(m.target.href.length-1)==="!"||m.target.className.indexOf(n.linkClass)===-1||r(m.target.hash,{duration:a,offset:o,callback:function(){p(m.target.hash)}})}}function u(h){return h.tagName.toLowerCase()==="a"&&(h.hash.length>0||h.href.charAt(h.href.length-1)==="#")&&(d(h.href)===i||d(h.href)+"#"===i)}function d(h){return h.slice(0,h.lastIndexOf("#"))}function p(h){var m=document.getElementById(h.substring(1));m&&(/^(?:a|select|input|button|textarea)$/i.test(m.tagName)||(m.tabIndex=-1),m.focus())}}function r(n,a){var o=window.pageYOffset,i={duration:a.duration,offset:a.offset||0,callback:a.callback,easing:a.easing||v},s=document.querySelector('[id="'+decodeURI(n).split("#").join("")+'"]')||document.querySelector('[id="'+n.split("#").join("")+'"]'),u=typeof n=="string"?i.offset+(n?s&&s.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):n,d=typeof i.duration=="function"?i.duration(u):i.duration,p,h;requestAnimationFrame(function(g){p=g,m(g)});function m(g){h=g-p,window.scrollTo(0,i.easing(h,o,u,d)),h"u"&&!h)return;var m,f=Object.prototype.hasOwnProperty;function v(){for(var w={},x=0;x({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:ie(.3,e.color.defaultText),fontSize:e.typography.size.s2})),jC=e=>y.createElement(kX,{...e,className:"docblock-emptyblock sb-unstyled"}),_X=_(ah)(({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"}})),FX=_.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"})),tl=_.div(({theme:e})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,height:17,marginTop:1,width:"60%",[`&:first-child${dd}`]:{margin:0}})),IX=()=>y.createElement(FX,null,y.createElement(tl,null),y.createElement(tl,{style:{width:"80%"}}),y.createElement(tl,{style:{width:"30%"}}),y.createElement(tl,{style:{width:"80%"}})),VC=({isLoading:e,error:t,language:r,code:n,dark:a,format:o=!1,...i})=>{let{typography:s}=Ny();if(e)return y.createElement(IX,null);if(t)return y.createElement(jC,null,t);let u=y.createElement(_X,{bordered:!0,copyable:!0,format:o,language:r,className:"docblock-source sb-unstyled",...i},n);if(typeof a>"u")return u;let d=a?ud.dark:ud.light;return y.createElement(Hy,{theme:cd({...d,fontCode:s.fonts.mono,fontBase:s.fonts.base})},u)},fe=e=>`& :where(${e}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${e}))`,Nh=600,TX=_.h1(ue,({theme:e})=>({color:e.color.defaultText,fontSize:e.typography.size.m3,fontWeight:e.typography.weight.bold,lineHeight:"32px",[`@media (min-width: ${Nh}px)`]:{fontSize:e.typography.size.l1,lineHeight:"36px",marginBottom:"16px"}})),RX=_.h2(ue,({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:15,[`@media (min-width: ${Nh}px)`]:{fontSize:e.typography.size.m1,lineHeight:"28px",marginBottom:24},color:ie(.25,e.color.defaultText)})),BX=_.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"?ie(.1,e.color.defaultText):ie(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border};return{maxWidth:1e3,width:"100%",[fe("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}},[fe("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}},[fe("div")]:t,[fe("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}},[fe("h1")]:{...t,...r,fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},[fe("h2")]:{...t,...r,fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`},[fe("h3")]:{...t,...r,fontSize:`${e.typography.size.m1}px`,fontWeight:e.typography.weight.bold},[fe("h4")]:{...t,...r,fontSize:`${e.typography.size.s3}px`},[fe("h5")]:{...t,...r,fontSize:`${e.typography.size.s2}px`},[fe("h6")]:{...t,...r,fontSize:`${e.typography.size.s2}px`,color:e.color.dark},[fe("hr")]:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},[fe("img")]:{maxWidth:"100%"},[fe("li")]:{...t,fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":n},[fe("ol")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},[fe("p")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":n},[fe("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"}},[fe("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"}}},[fe("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}},[fe("ul")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0},listStyle:"disc"}}}),zX=_.div(({theme:e})=>({background:e.background.content,display:"flex",justifyContent:"center",padding:"4rem 20px",minHeight:"100vh",boxSizing:"border-box",gap:"3rem",[`@media (min-width: ${Nh}px)`]:{}})),LX=({children:e,toc:t})=>y.createElement(zX,{className:"sbdocs sbdocs-wrapper"},y.createElement(BX,{className:"sbdocs sbdocs-content"},e),t),Iu=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}`}),OX=_(fh)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"}),MX=_.div({display:"flex",alignItems:"center",gap:4}),$X=_.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`})),PX=({isLoading:e,storyId:t,baseUrl:r,zoom:n,resetZoom:a,...o})=>y.createElement(OX,{...o},y.createElement(MX,{key:"left"},e?[1,2,3].map(i=>y.createElement($X,{key:i})):y.createElement(y.Fragment,null,y.createElement(un,{key:"zoomin",onClick:i=>{i.preventDefault(),n(.8)},title:"Zoom in"},y.createElement(YO,null)),y.createElement(un,{key:"zoomout",onClick:i=>{i.preventDefault(),n(1.25)},title:"Zoom out"},y.createElement(JO,null)),y.createElement(un,{key:"zoomreset",onClick:i=>{i.preventDefault(),a()},title:"Reset zoom"},y.createElement(ZO,null))))),UC=l.createContext({scale:1}),{window:NX}=nt,HX=class extends l.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{id:e}=this.props;this.iframe=NX.document.getElementById(e)}shouldComponentUpdate(e){let{scale:t}=e;return t!==this.props.scale&&this.setIframeBodyStyle({width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"}),!1}setIframeBodyStyle(e){return Object.assign(this.iframe.contentDocument.body.style,e)}render(){let{id:e,title:t,src:r,allowFullScreen:n,scale:a,...o}=this.props;return y.createElement("iframe",{id:e,title:t,src:r,...n?{allow:"fullscreen"}:{},loading:"lazy",...o})}},{PREVIEW_URL:jX}=nt,VX=jX||"iframe.html",Z1=({story:e,primary:t})=>`story--${e.id}${t?"--primary":""}`,UX=e=>{let t=l.useRef(),[r,n]=l.useState(!0),[a,o]=l.useState(),{story:i,height:s,autoplay:u,forceInitialArgs:d,renderStoryToElement:p}=e;return l.useEffect(()=>{if(!(i&&t.current))return()=>{};let h=t.current,m=p(i,h,{showMain:()=>{},showError:({title:f,description:v})=>o(new Error(`${f} - ${v}`)),showException:f=>o(f)},{autoplay:u,forceInitialArgs:d});return n(!1),()=>{Promise.resolve().then(()=>m())}},[u,p,i]),a?y.createElement("pre",null,y.createElement(Wz,{error:a})):y.createElement(y.Fragment,null,s?y.createElement("style",null,`#${Z1(e)} { min-height: ${s}; transform: translateZ(0); overflow: auto }`):null,r&&y.createElement(qC,null),y.createElement("div",{ref:t,id:`${Z1(e)}-inner`,"data-name":i.name}))},qX=({story:e,height:t="500px"})=>y.createElement("div",{style:{width:"100%",height:t}},y.createElement(UC.Consumer,null,({scale:r})=>y.createElement(HX,{key:"iframe",id:`iframe--${e.id}`,title:e.name,src:mO(VX,e.id,{viewMode:"story"}),allowFullScreen:!0,scale:r,style:{width:"100%",height:"100%",border:"0 none"}}))),WX=_.strong(({theme:e})=>({color:e.color.orange})),GX=e=>{let{inline:t,story:r}=e;return t&&!e.autoplay&&r.usesMount?y.createElement(WX,null,"This story mounts inside of play. Set"," ",y.createElement("a",{href:"https://storybook.js.org/docs/api/doc-blocks/doc-block-story#autoplay"},"autoplay")," ","to true to view this story."):y.createElement("div",{id:Z1(e),className:"sb-story sb-unstyled","data-story-block":"true"},t?y.createElement(UX,{...e}):y.createElement(qX,{...e}))},qC=()=>y.createElement(hO,null),KX=_.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)`}}:{}),Y3=_(VC)(({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)":Ot(.05,e.background.content),color:e.color.lightest,button:{background:e.base==="light"?"rgba(0, 0, 0, 0.85)":Ot(.05,e.background.content)}})),YX=_.div(({theme:e,withSource:t,isExpanded:r})=>({position:"relative",overflow:"hidden",margin:"25px 0 40px",...Iu(e),borderBottomLeftRadius:t&&r&&0,borderBottomRightRadius:t&&r&&0,borderBottomWidth:r&&0,"h3 + &":{marginTop:"16px"}}),({withToolbar:e})=>e&&{paddingTop:40}),JX=(e,t,r)=>{switch(!0){case!!(e&&e.error):return{source:null,actionItem:{title:"No code available",className:"docblock-code-toggle docblock-code-toggle--disabled",disabled:!0,onClick:()=>r(!1)}};case t:return{source:y.createElement(Y3,{...e,dark:!0}),actionItem:{title:"Hide code",className:"docblock-code-toggle docblock-code-toggle--expanded",onClick:()=>r(!1)}};default:return{source:y.createElement(Y3,{...e,dark:!0}),actionItem:{title:"Show code",className:"docblock-code-toggle",onClick:()=>r(!0)}}}};function ZX(e){if(l.Children.count(e)===1){let t=e;if(t.props)return t.props.id}return null}var XX=_(PX)({position:"absolute",top:0,left:0,right:0,height:40}),QX=_.div({overflow:"hidden",position:"relative"}),WC=({isLoading:e,isColumn:t,columns:r,children:n,withSource:a,withToolbar:o=!1,isExpanded:i=!1,additionalActions:s,className:u,layout:d="padded",...p})=>{let[h,m]=l.useState(i),{source:f,actionItem:v}=JX(a,h,m),[g,b]=l.useState(1),C=[u].concat(["sbdocs","sbdocs-preview","sb-unstyled"]),w=a?[v]:[],[x,E]=l.useState(s?[...s]:[]),D=[...w,...x],{window:S}=nt,A=l.useCallback(async F=>{let{createCopyToClipboardFunction:T}=await sy(()=>import("./index-2qP1WQFk.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url);T()},[]),k=F=>{let T=S.getSelection();T&&T.type==="Range"||(F.preventDefault(),x.filter(R=>R.title==="Copied").length===0&&A(f.props.code).then(()=>{E([...x,{title:"Copied",onClick:()=>{}}]),S.setTimeout(()=>E(x.filter(R=>R.title!=="Copied")),1500)}))};return y.createElement(YX,{withSource:a,withToolbar:o,...p,className:C.join(" ")},o&&y.createElement(XX,{isLoading:e,border:!0,zoom:F=>b(g*F),resetZoom:()=>b(1),storyId:ZX(n),baseUrl:"./iframe.html"}),y.createElement(UC.Provider,{value:{scale:g}},y.createElement(QX,{className:"docs-story",onCopyCapture:a&&k},y.createElement(KX,{isColumn:t||!Array.isArray(n),columns:r,layout:d},y.createElement(Mz.Element,{scale:g},Array.isArray(n)?n.map((F,T)=>y.createElement("div",{key:T},F)):y.createElement("div",null,n))),y.createElement(Bp,{actionItems:D}))),a&&h&&f)};_(WC)(()=>({".docs-story":{paddingTop:32,paddingBottom:40}}));var eQ=_.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:Pr({theme:e}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:e.typography.size.s1}}})),tQ=({tags:e})=>{let t=(e.params||[]).filter(o=>o.description),r=t.length!==0,n=e.deprecated!=null,a=e.returns!=null&&e.returns.description!=null;return!r&&!a&&!n?null:y.createElement(y.Fragment,null,y.createElement(eQ,null,y.createElement("tbody",null,n&&y.createElement("tr",{key:"deprecated"},y.createElement("td",{colSpan:2},y.createElement("strong",null,"Deprecated"),": ",e.deprecated.toString())),r&&t.map(o=>y.createElement("tr",{key:o.name},y.createElement("td",null,y.createElement("code",null,o.name)),y.createElement("td",null,o.description))),a&&y.createElement("tr",{key:"returns"},y.createElement("td",null,y.createElement("code",null,"Returns")),y.createElement("td",null,e.returns.description)))))},X1=8,J3=_.div(({isExpanded:e})=>({display:"flex",flexDirection:e?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100})),rQ=_.span(Pr,({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}})),nQ=_.button(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,marginBottom:"4px",background:"none",border:"none"})),aQ=_.div(Pr,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"})),oQ=_.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"}})),iQ=_(iM)({marginLeft:4}),lQ=_(zx)({marginLeft:4}),sQ=()=>y.createElement("span",null,"-"),GC=({text:e,simple:t})=>y.createElement(rQ,{simple:t},e),uQ=_C(1e3)(e=>{let t=e.split(/\r?\n/);return`${Math.max(...t.map(r=>r.length))}ch`}),cQ=e=>{if(!e)return[e];let t=e.split("|").map(r=>r.trim());return pG(t)},Z3=(e,t=!0)=>{let r=e;return t||(r=e.slice(0,X1)),r.map(n=>y.createElement(GC,{key:n,text:n===""?'""':n}))},dQ=({value:e,initialExpandedArgs:t})=>{let{summary:r,detail:n}=e,[a,o]=l.useState(!1),[i,s]=l.useState(t||!1);if(r==null)return null;let u=typeof r.toString=="function"?r.toString():r;if(n==null){if(/[(){}[\]<>]/.test(u))return y.createElement(GC,{text:u});let d=cQ(u),p=d.length;return p>X1?y.createElement(J3,{isExpanded:i},Z3(d,i),y.createElement(nQ,{onClick:()=>s(!i)},i?"Show less...":`Show ${p-X1} more...`)):y.createElement(J3,null,Z3(d))}return y.createElement(yL,{closeOnOutsideClick:!0,placement:"bottom",visible:a,onVisibleChange:d=>{o(d)},tooltip:y.createElement(oQ,{width:uQ(n)},y.createElement(ah,{language:"jsx",format:!1},n))},y.createElement(aQ,{className:"sbdocs-expandable"},y.createElement("span",null,u),a?y.createElement(iQ,null):y.createElement(lQ,null)))},nd=({value:e,initialExpandedArgs:t})=>e==null?y.createElement(sQ,null):y.createElement(dQ,{value:e,initialExpandedArgs:t}),pQ=_.label(({theme:e})=>({lineHeight:"18px",alignItems:"center",marginBottom:8,display:"inline-block",position:"relative",whiteSpace:"nowrap",background:e.boolean.background,borderRadius:"3em",padding:1,'&[aria-disabled="true"]':{opacity:.5,input:{cursor:"not-allowed"}},input:{appearance:"none",width:"100%",height:"100%",position:"absolute",left:0,top:0,margin:0,padding:0,border:"none",background:"transparent",cursor:"pointer",borderRadius:"3em","&:focus":{outline:"none",boxShadow:`${e.color.secondary} 0 0 0 1px inset !important`}},span:{textAlign:"center",fontSize:e.typography.size.s1,fontWeight:e.typography.weight.bold,lineHeight:"1",cursor:"pointer",display:"inline-block",padding:"7px 15px",transition:"all 100ms ease-out",userSelect:"none",borderRadius:"3em",color:ie(.5,e.color.defaultText),background:"transparent","&:hover":{boxShadow:`${Xi(.3,e.appBorderColor)} 0 0 0 1px inset`},"&:active":{boxShadow:`${Xi(.05,e.appBorderColor)} 0 0 0 2px inset`,color:Xi(1,e.appBorderColor)},"&:first-of-type":{paddingRight:8},"&:last-of-type":{paddingLeft:8}},"input:checked ~ span:last-of-type, input:not(:checked) ~ span:first-of-type":{background:e.boolean.selectedBackground,boxShadow:e.base==="light"?`${Xi(.1,e.appBorderColor)} 0 0 2px`:`${e.appBorderColor} 0 0 0 1px`,color:e.color.defaultText,padding:"7px 15px"}})),fQ=e=>e==="true",hQ=({name:e,value:t,onChange:r,onBlur:n,onFocus:a,argType:o})=>{var p;let i=l.useCallback(()=>r(!1),[r]),s=!!((p=o==null?void 0:o.table)!=null&&p.readonly);if(t===void 0)return y.createElement(Sn,{variant:"outline",size:"medium",id:Cs(e),onClick:i,disabled:s},"Set boolean");let u=xt(e),d=typeof t=="string"?fQ(t):t;return y.createElement(pQ,{"aria-disabled":s,htmlFor:u,"aria-label":e},y.createElement("input",{id:u,type:"checkbox",onChange:h=>r(h.target.checked),checked:d,role:"switch",disabled:s,name:e,onBlur:n,onFocus:a}),y.createElement("span",{"aria-hidden":"true"},"False"),y.createElement("span",{"aria-hidden":"true"},"True"))},mQ=e=>{let[t,r,n]=e.split("-"),a=new Date;return a.setFullYear(parseInt(t,10),parseInt(r,10)-1,parseInt(n,10)),a},gQ=e=>{let[t,r]=e.split(":"),n=new Date;return n.setHours(parseInt(t,10)),n.setMinutes(parseInt(r,10)),n},vQ=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}`},yQ=e=>{let t=new Date(e),r=`0${t.getHours()}`.slice(-2),n=`0${t.getMinutes()}`.slice(-2);return`${r}:${n}`},X3=_(Di.Input)(({readOnly:e})=>({opacity:e?.5:1})),bQ=_.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}})),wQ=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,argType:o})=>{var v;let[i,s]=l.useState(!0),u=l.useRef(),d=l.useRef(),p=!!((v=o==null?void 0:o.table)!=null&&v.readonly);l.useEffect(()=>{i!==!1&&(u&&u.current&&(u.current.value=t?vQ(t):""),d&&d.current&&(d.current.value=t?yQ(t):""))},[t]);let h=g=>{if(!g.target.value)return r();let b=mQ(g.target.value),C=new Date(t);C.setFullYear(b.getFullYear(),b.getMonth(),b.getDate());let w=C.getTime();w&&r(w),s(!!w)},m=g=>{if(!g.target.value)return r();let b=gQ(g.target.value),C=new Date(t);C.setHours(b.getHours()),C.setMinutes(b.getMinutes());let w=C.getTime();w&&r(w),s(!!w)},f=xt(e);return y.createElement(bQ,null,y.createElement(X3,{type:"date",max:"9999-12-31",ref:u,id:`${f}-date`,name:`${f}-date`,readOnly:p,onChange:h,onFocus:n,onBlur:a}),y.createElement(X3,{type:"time",id:`${f}-time`,name:`${f}-time`,ref:d,onChange:m,readOnly:p,onFocus:n,onBlur:a}),i?null:y.createElement("div",null,"invalid"))},EQ=_.label({display:"flex"}),xQ=e=>{let t=parseFloat(e);return Number.isNaN(t)?void 0:t},CQ=_(Di.Input)(({readOnly:e})=>({opacity:e?.5:1})),DQ=({name:e,value:t,onChange:r,min:n,max:a,step:o,onBlur:i,onFocus:s,argType:u})=>{var x;let[d,p]=l.useState(typeof t=="number"?t:""),[h,m]=l.useState(!1),[f,v]=l.useState(null),g=!!((x=u==null?void 0:u.table)!=null&&x.readonly),b=l.useCallback(E=>{p(E.target.value);let D=parseFloat(E.target.value);Number.isNaN(D)?v(new Error(`'${E.target.value}' is not a number`)):(r(D),v(null))},[r,v]),C=l.useCallback(()=>{p("0"),r(0),m(!0)},[m]),w=l.useRef(null);return l.useEffect(()=>{h&&w.current&&w.current.select()},[h]),l.useEffect(()=>{d!==(typeof t=="number"?t:"")&&p(t)},[t]),t===void 0?y.createElement(Sn,{variant:"outline",size:"medium",id:Cs(e),onClick:C,disabled:g},"Set number"):y.createElement(EQ,null,y.createElement(CQ,{ref:w,id:xt(e),type:"number",onChange:b,size:"flex",placeholder:"Edit number...",value:d,valid:f?"error":null,autoFocus:h,readOnly:g,name:e,min:n,max:a,step:o,onFocus:s,onBlur:i}))},KC=(e,t)=>{let r=t&&Object.entries(t).find(([n,a])=>a===e);return r?r[0]:void 0},Q1=(e,t)=>e&&t?Object.entries(t).filter(r=>e.includes(r[1])).map(r=>r[0]):[],YC=(e,t)=>e&&t&&e.map(r=>t[r]),SQ=_.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),AQ=_.span({"[aria-readonly=true] &":{opacity:.5}}),kQ=_.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),Q3=({name:e,options:t,value:r,onChange:n,isInline:a,argType:o})=>{var m;if(!t)return Ph.warn(`Checkbox with no options: ${e}`),y.createElement(y.Fragment,null,"-");let i=Q1(r,t),[s,u]=l.useState(i),d=!!((m=o==null?void 0:o.table)!=null&&m.readonly),p=f=>{let v=f.target.value,g=[...s];g.includes(v)?g.splice(g.indexOf(v),1):g.push(v),n(YC(g,t)),u(g)};l.useEffect(()=>{u(Q1(r,t))},[r]);let h=xt(e);return y.createElement(SQ,{"aria-readonly":d,isInline:a},Object.keys(t).map((f,v)=>{let g=`${h}-${v}`;return y.createElement(kQ,{key:g,htmlFor:g},y.createElement("input",{type:"checkbox",disabled:d,id:g,name:g,value:f,onChange:p,checked:s==null?void 0:s.includes(f)}),y.createElement(AQ,null,f))}))},_Q=_.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),FQ=_.span({"[aria-readonly=true] &":{opacity:.5}}),IQ=_.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),ey=({name:e,options:t,value:r,onChange:n,isInline:a,argType:o})=>{var d;if(!t)return Ph.warn(`Radio with no options: ${e}`),y.createElement(y.Fragment,null,"-");let i=KC(r,t),s=xt(e),u=!!((d=o==null?void 0:o.table)!=null&&d.readonly);return y.createElement(_Q,{"aria-readonly":u,isInline:a},Object.keys(t).map((p,h)=>{let m=`${s}-${h}`;return y.createElement(IQ,{key:m,htmlFor:m},y.createElement("input",{type:"radio",id:m,name:s,disabled:u,value:p,onChange:f=>n(t[f.currentTarget.value]),checked:p===i}),y.createElement(FQ,null,p))}))},TQ={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},JC=_.select(TQ,({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}}})),ZC=_.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}}})),ty="Choose option...",RQ=({name:e,value:t,options:r,onChange:n,argType:a})=>{var d;let o=p=>{n(r[p.currentTarget.value])},i=KC(t,r)||ty,s=xt(e),u=!!((d=a==null?void 0:a.table)!=null&&d.readonly);return y.createElement(ZC,null,y.createElement(zx,null),y.createElement(JC,{disabled:u,id:s,value:i,onChange:o},y.createElement("option",{key:"no-selection",disabled:!0},ty),Object.keys(r).map(p=>y.createElement("option",{key:p,value:p},p))))},BQ=({name:e,value:t,options:r,onChange:n,argType:a})=>{var d;let o=p=>{let h=Array.from(p.currentTarget.options).filter(m=>m.selected).map(m=>m.value);n(YC(h,r))},i=Q1(t,r),s=xt(e),u=!!((d=a==null?void 0:a.table)!=null&&d.readonly);return y.createElement(ZC,null,y.createElement(JC,{disabled:u,id:s,multiple:!0,value:i,onChange:o},Object.keys(r).map(p=>y.createElement("option",{key:p,value:p},p))))},ry=e=>{let{name:t,options:r}=e;return r?e.isMulti?y.createElement(BQ,{...e}):y.createElement(RQ,{...e}):(Ph.warn(`Select with no options: ${t}`),y.createElement(y.Fragment,null,"-"))},zQ=(e,t)=>Array.isArray(e)?e.reduce((r,n)=>(r[(t==null?void 0:t[n])||String(n)]=n,r),{}):e,LQ={check:Q3,"inline-check":Q3,radio:ey,"inline-radio":ey,select:ry,"multi-select":ry},Pn=e=>{let{type:t="select",labels:r,argType:n}=e,a={...e,argType:n,options:n?zQ(n.options,r):{},isInline:t.includes("inline"),isMulti:t.includes("multi")},o=LQ[t];if(o)return y.createElement(o,{...a});throw new Error(`Unknown options type: ${t}`)},Hh="value",OQ="key",MQ="Error",$Q="Object",PQ="Array",NQ="String",HQ="Number",jQ="Boolean",VQ="Date",UQ="Null",qQ="Undefined",WQ="Function",GQ="Symbol",XC="ADD_DELTA_TYPE",QC="REMOVE_DELTA_TYPE",eD="UPDATE_DELTA_TYPE";function an(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 tD(e,t){let r=an(e),n=an(t);return(r==="Function"||n==="Function")&&n!==r}var jh=class extends l.Component{constructor(e){super(e),this.state={inputRefKey:null,inputRefValue:null},this.refInputValue=this.refInputValue.bind(this),this.refInputKey=this.refInputKey.bind(this),this.onKeydown=this.onKeydown.bind(this),this.onSubmit=this.onSubmit.bind(this)}componentDidMount(){let{inputRefKey:e,inputRefValue:t}=this.state,{onlyValue:r}=this.props;e&&typeof e.focus=="function"&&e.focus(),r&&t&&typeof t.focus=="function"&&t.focus(),document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.onSubmit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.props.handleCancel()))}onSubmit(){let{handleAdd:e,onlyValue:t,onSubmitValueParser:r,keyPath:n,deep:a}=this.props,{inputRefKey:o,inputRefValue:i}=this.state,s={};if(!t){if(!o.value)return;s.key=o.value}s.newValue=r(!1,n,a,s.key,i.value),e(s)}refInputKey(e){this.state.inputRefKey=e}refInputValue(e){this.state.inputRefValue=e}render(){let{handleCancel:e,onlyValue:t,addButtonElement:r,cancelButtonElement:n,inputElementGenerator:a,keyPath:o,deep:i}=this.props,s=l.cloneElement(r,{onClick:this.onSubmit}),u=l.cloneElement(n,{onClick:e}),d=a(Hh,o,i),p=l.cloneElement(d,{placeholder:"Value",ref:this.refInputValue}),h=null;if(!t){let m=a(OQ,o,i);h=l.cloneElement(m,{placeholder:"Key",ref:this.refInputKey})}return y.createElement("span",{className:"rejt-add-value-node"},h,p,u,s)}};jh.defaultProps={onlyValue:!1,addButtonElement:y.createElement("button",null,"+"),cancelButtonElement:y.createElement("button",null,"c")};var rD=class extends l.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={data:e.data,name:e.name,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveItem=this.handleRemoveItem.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:a}=this.props,o=n.length;a(n[o-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleRemoveItem(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:a,nextDeep:o}=this.state,i=n[e];t(e,a,o,i).then(()=>{let s={keyPath:a,deep:o,key:e,oldValue:i,type:QC};n.splice(e,1),this.setState({data:n});let{onUpdate:u,onDeltaUpdate:d}=this.props;u(a[a.length-1],n),d(s)}).catch(r.error)}}handleAddValueAdd({newValue:e}){let{data:t,keyPath:r,nextDeep:n}=this.state,{beforeAddAction:a,logger:o}=this.props;a(t.length,r,n,e).then(()=>{let i=[...t,e];this.setState({data:i}),this.handleAddValueCancel();let{onUpdate:s,onDeltaUpdate:u}=this.props;s(r[r.length-1],i),u({type:XC,keyPath:r,deep:n,key:i.length-1,newValue:e})}).catch(o.error)}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:a}=this.props,{data:o,keyPath:i,nextDeep:s}=this.state,u=o[e];a(e,i,s,u,t).then(()=>{o[e]=t,this.setState({data:o});let{onUpdate:d,onDeltaUpdate:p}=this.props;d(i[i.length-1],o),p({type:eD,keyPath:i,deep:s,key:e,newValue:t,oldValue:u}),r(void 0)}).catch(n)})}renderCollapsed(){let{name:e,data:t,keyPath:r,deep:n}=this.state,{handleRemove:a,readOnly:o,getStyle:i,dataType:s,minusMenuElement:u}=this.props,{minus:d,collapsed:p}=i(e,t,r,n,s),h=o(e,t,r,n,s),m=l.cloneElement(u,{onClick:a,className:"rejt-minus-menu",style:d});return y.createElement("span",{className:"rejt-collapsed"},y.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:o}=this.state,{isCollapsed:i,handleRemove:s,onDeltaUpdate:u,readOnly:d,getStyle:p,dataType:h,addButtonElement:m,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:b,minusMenuElement:C,plusMenuElement:w,beforeRemoveAction:x,beforeAddAction:E,beforeUpdateAction:D,logger:S,onSubmitValueParser:A}=this.props,{minus:k,plus:F,delimiter:T,ul:R,addForm:L}=p(e,t,r,n,h),z=d(e,t,r,n,h),M=l.cloneElement(w,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:F}),O=l.cloneElement(C,{onClick:s,className:"rejt-minus-menu",style:k});return y.createElement("span",{className:"rejt-not-collapsed"},y.createElement("span",{className:"rejt-not-collapsed-delimiter",style:T},"["),!a&&M,y.createElement("ul",{className:"rejt-not-collapsed-list",style:R},t.map(($,j)=>y.createElement(Tu,{key:j,name:j.toString(),data:$,keyPath:r,deep:o,isCollapsed:i,handleRemove:this.handleRemoveItem(j),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:u,readOnly:d,getStyle:p,addButtonElement:m,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:b,minusMenuElement:C,plusMenuElement:w,beforeRemoveAction:x,beforeAddAction:E,beforeUpdateAction:D,logger:S,onSubmitValueParser:A}))),!z&&a&&y.createElement("div",{className:"rejt-add-form",style:L},y.createElement(jh,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,onlyValue:!0,addButtonElement:m,cancelButtonElement:f,inputElementGenerator:g,keyPath:r,deep:n,onSubmitValueParser:A})),y.createElement("span",{className:"rejt-not-collapsed-delimiter",style:T},"]"),!z&&O)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:a}=this.state,{dataType:o,getStyle:i}=this.props,s=t?this.renderCollapsed():this.renderNotCollapsed(),u=i(e,r,n,a,o);return y.createElement("div",{className:"rejt-array-node"},y.createElement("span",{onClick:this.handleCollapseMode},y.createElement("span",{className:"rejt-name",style:u.name},e," :"," ")),s)}};rD.defaultProps={keyPath:[],deep:0,minusMenuElement:y.createElement("span",null," - "),plusMenuElement:y.createElement("span",null," + ")};var nD=class extends l.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:a,deep:o}=this.state,{readOnly:i,dataType:s}=this.props,u=i(r,n,a,o,s);e&&!u&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:a}=this.props,{inputRef:o,name:i,deep:s}=this.state;if(!o)return;let u=n(!0,a,s,i,o.value);e({value:u,key:i}).then(()=>{tD(t,u)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:a}=this.state,{handleRemove:o,originalValue:i,readOnly:s,dataType:u,getStyle:d,editButtonElement:p,cancelButtonElement:h,textareaElementGenerator:m,minusMenuElement:f,keyPath:v}=this.props,g=d(e,i,n,a,u),b=null,C=null,w=s(e,i,n,a,u);if(r&&!w){let x=m(Hh,v,a,e,i,u),E=l.cloneElement(p,{onClick:this.handleEdit}),D=l.cloneElement(h,{onClick:this.handleCancelEdit}),S=l.cloneElement(x,{ref:this.refInput,defaultValue:i});b=y.createElement("span",{className:"rejt-edit-form",style:g.editForm},S," ",D,E),C=null}else{b=y.createElement("span",{className:"rejt-value",style:g.value,onClick:w?null:this.handleEditMode},t);let x=l.cloneElement(f,{onClick:o,className:"rejt-minus-menu",style:g.minus});C=w?null:x}return y.createElement("li",{className:"rejt-function-value-node",style:g.li},y.createElement("span",{className:"rejt-name",style:g.name},e," :"," "),b,C)}};nD.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>{},editButtonElement:y.createElement("button",null,"e"),cancelButtonElement:y.createElement("button",null,"c"),minusMenuElement:y.createElement("span",null," - ")};var Tu=class extends l.Component{constructor(e){super(e),this.state={data:e.data,name:e.name,keyPath:e.keyPath,deep:e.deep}}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}render(){let{data:e,name:t,keyPath:r,deep:n}=this.state,{isCollapsed:a,handleRemove:o,handleUpdateValue:i,onUpdate:s,onDeltaUpdate:u,readOnly:d,getStyle:p,addButtonElement:h,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:b,plusMenuElement:C,beforeRemoveAction:w,beforeAddAction:x,beforeUpdateAction:E,logger:D,onSubmitValueParser:S}=this.props,A=()=>!0,k=an(e);switch(k){case MQ:return y.createElement(ep,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:s,onDeltaUpdate:u,readOnly:A,dataType:k,getStyle:p,addButtonElement:h,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:b,plusMenuElement:C,beforeRemoveAction:w,beforeAddAction:x,beforeUpdateAction:E,logger:D,onSubmitValueParser:S});case $Q:return y.createElement(ep,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:s,onDeltaUpdate:u,readOnly:d,dataType:k,getStyle:p,addButtonElement:h,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:b,plusMenuElement:C,beforeRemoveAction:w,beforeAddAction:x,beforeUpdateAction:E,logger:D,onSubmitValueParser:S});case PQ:return y.createElement(rD,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:s,onDeltaUpdate:u,readOnly:d,dataType:k,getStyle:p,addButtonElement:h,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,textareaElementGenerator:g,minusMenuElement:b,plusMenuElement:C,beforeRemoveAction:w,beforeAddAction:x,beforeUpdateAction:E,logger:D,onSubmitValueParser:S});case NQ:return y.createElement(xr,{name:t,value:`"${e}"`,originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:k,getStyle:p,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,minusMenuElement:b,logger:D,onSubmitValueParser:S});case HQ:return y.createElement(xr,{name:t,value:e,originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:k,getStyle:p,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,minusMenuElement:b,logger:D,onSubmitValueParser:S});case jQ:return y.createElement(xr,{name:t,value:e?"true":"false",originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:k,getStyle:p,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,minusMenuElement:b,logger:D,onSubmitValueParser:S});case VQ:return y.createElement(xr,{name:t,value:e.toISOString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:A,dataType:k,getStyle:p,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,minusMenuElement:b,logger:D,onSubmitValueParser:S});case UQ:return y.createElement(xr,{name:t,value:"null",originalValue:"null",keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:k,getStyle:p,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,minusMenuElement:b,logger:D,onSubmitValueParser:S});case qQ:return y.createElement(xr,{name:t,value:"undefined",originalValue:"undefined",keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:k,getStyle:p,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,minusMenuElement:b,logger:D,onSubmitValueParser:S});case WQ:return y.createElement(nD,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:k,getStyle:p,cancelButtonElement:m,editButtonElement:f,textareaElementGenerator:g,minusMenuElement:b,logger:D,onSubmitValueParser:S});case GQ:return y.createElement(xr,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:A,dataType:k,getStyle:p,cancelButtonElement:m,editButtonElement:f,inputElementGenerator:v,minusMenuElement:b,logger:D,onSubmitValueParser:S});default:return null}}};Tu.defaultProps={keyPath:[],deep:0};var ep=class extends l.Component{constructor(e){super(e);let t=e.deep===-1?[]:[...e.keyPath,e.name];this.state={name:e.name,data:e.data,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveValue=this.handleRemoveValue.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:a}=this.props,o=n.length;a(n[o-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleAddValueAdd({key:e,newValue:t}){let{data:r,keyPath:n,nextDeep:a}=this.state,{beforeAddAction:o,logger:i}=this.props;o(e,n,a,t).then(()=>{r[e]=t,this.setState({data:r}),this.handleAddValueCancel();let{onUpdate:s,onDeltaUpdate:u}=this.props;s(n[n.length-1],r),u({type:XC,keyPath:n,deep:a,key:e,newValue:t})}).catch(i.error)}handleRemoveValue(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:a,nextDeep:o}=this.state,i=n[e];t(e,a,o,i).then(()=>{let s={keyPath:a,deep:o,key:e,oldValue:i,type:QC};delete n[e],this.setState({data:n});let{onUpdate:u,onDeltaUpdate:d}=this.props;u(a[a.length-1],n),d(s)}).catch(r.error)}}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:a}=this.props,{data:o,keyPath:i,nextDeep:s}=this.state,u=o[e];a(e,i,s,u,t).then(()=>{o[e]=t,this.setState({data:o});let{onUpdate:d,onDeltaUpdate:p}=this.props;d(i[i.length-1],o),p({type:eD,keyPath:i,deep:s,key:e,newValue:t,oldValue:u}),r()}).catch(n)})}renderCollapsed(){let{name:e,keyPath:t,deep:r,data:n}=this.state,{handleRemove:a,readOnly:o,dataType:i,getStyle:s,minusMenuElement:u}=this.props,{minus:d,collapsed:p}=s(e,n,t,r,i),h=Object.getOwnPropertyNames(n),m=o(e,n,t,r,i),f=l.cloneElement(u,{onClick:a,className:"rejt-minus-menu",style:d});return y.createElement("span",{className:"rejt-collapsed"},y.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:o}=this.state,{isCollapsed:i,handleRemove:s,onDeltaUpdate:u,readOnly:d,getStyle:p,dataType:h,addButtonElement:m,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:b,minusMenuElement:C,plusMenuElement:w,beforeRemoveAction:x,beforeAddAction:E,beforeUpdateAction:D,logger:S,onSubmitValueParser:A}=this.props,{minus:k,plus:F,addForm:T,ul:R,delimiter:L}=p(e,t,r,n,h),z=Object.getOwnPropertyNames(t),M=d(e,t,r,n,h),O=l.cloneElement(w,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:F}),$=l.cloneElement(C,{onClick:s,className:"rejt-minus-menu",style:k}),j=z.map(G=>y.createElement(Tu,{key:G,name:G,data:t[G],keyPath:r,deep:a,isCollapsed:i,handleRemove:this.handleRemoveValue(G),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:u,readOnly:d,getStyle:p,addButtonElement:m,cancelButtonElement:f,editButtonElement:v,inputElementGenerator:g,textareaElementGenerator:b,minusMenuElement:C,plusMenuElement:w,beforeRemoveAction:x,beforeAddAction:E,beforeUpdateAction:D,logger:S,onSubmitValueParser:A}));return y.createElement("span",{className:"rejt-not-collapsed"},y.createElement("span",{className:"rejt-not-collapsed-delimiter",style:L},"{"),!M&&O,y.createElement("ul",{className:"rejt-not-collapsed-list",style:R},j),!M&&o&&y.createElement("div",{className:"rejt-add-form",style:T},y.createElement(jh,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,addButtonElement:m,cancelButtonElement:f,inputElementGenerator:g,keyPath:r,deep:n,onSubmitValueParser:A})),y.createElement("span",{className:"rejt-not-collapsed-delimiter",style:L},"}"),!M&&$)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:a}=this.state,{getStyle:o,dataType:i}=this.props,s=t?this.renderCollapsed():this.renderNotCollapsed(),u=o(e,r,n,a,i);return y.createElement("div",{className:"rejt-object-node"},y.createElement("span",{onClick:this.handleCollapseMode},y.createElement("span",{className:"rejt-name",style:u.name},e," :"," ")),s)}};ep.defaultProps={keyPath:[],deep:0,minusMenuElement:y.createElement("span",null," - "),plusMenuElement:y.createElement("span",null," + ")};var xr=class extends l.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:a,deep:o}=this.state,{readOnly:i,dataType:s}=this.props,u=i(r,n,a,o,s);e&&!u&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:a}=this.props,{inputRef:o,name:i,deep:s}=this.state;if(!o)return;let u=n(!0,a,s,i,o.value);e({value:u,key:i}).then(()=>{tD(t,u)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:a}=this.state,{handleRemove:o,originalValue:i,readOnly:s,dataType:u,getStyle:d,editButtonElement:p,cancelButtonElement:h,inputElementGenerator:m,minusMenuElement:f,keyPath:v}=this.props,g=d(e,i,n,a,u),b=s(e,i,n,a,u),C=r&&!b,w=m(Hh,v,a,e,i,u),x=l.cloneElement(p,{onClick:this.handleEdit}),E=l.cloneElement(h,{onClick:this.handleCancelEdit}),D=l.cloneElement(w,{ref:this.refInput,defaultValue:JSON.stringify(i)}),S=l.cloneElement(f,{onClick:o,className:"rejt-minus-menu",style:g.minus});return y.createElement("li",{className:"rejt-value-node",style:g.li},y.createElement("span",{className:"rejt-name",style:g.name},e," : "),C?y.createElement("span",{className:"rejt-edit-form",style:g.editForm},D," ",E,x):y.createElement("span",{className:"rejt-value",style:g.value,onClick:b?null:this.handleEditMode},String(t)),!b&&!C&&S)}};xr.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>Promise.resolve(),editButtonElement:y.createElement("button",null,"e"),cancelButtonElement:y.createElement("button",null,"c"),minusMenuElement:y.createElement("span",null," - ")};var KQ={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},YQ={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},JQ={minus:{color:"red"},editForm:{},value:{color:"#7bba3d"},li:{minHeight:"22px",lineHeight:"22px",outline:"0px"},name:{color:"#2287CD"}};function ZQ(e){let t=e;if(t.indexOf("function")===0)return(0,eval)(`(${t})`);try{t=JSON.parse(e)}catch{}return t}var aD=class extends l.Component{constructor(e){super(e),this.state={data:e.data,rootName:e.rootName},this.onUpdate=this.onUpdate.bind(this),this.removeRoot=this.removeRoot.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data||e.rootName!==t.rootName?{data:e.data,rootName:e.rootName}:null}onUpdate(e,t){this.setState({data:t}),this.props.onFullyUpdate(t)}removeRoot(){this.onUpdate(null,null)}render(){let{data:e,rootName:t}=this.state,{isCollapsed:r,onDeltaUpdate:n,readOnly:a,getStyle:o,addButtonElement:i,cancelButtonElement:s,editButtonElement:u,inputElement:d,textareaElement:p,minusMenuElement:h,plusMenuElement:m,beforeRemoveAction:f,beforeAddAction:v,beforeUpdateAction:g,logger:b,onSubmitValueParser:C,fallback:w=null}=this.props,x=an(e),E=a;an(a)==="Boolean"&&(E=()=>a);let D=d;d&&an(d)!=="Function"&&(D=()=>d);let S=p;return p&&an(p)!=="Function"&&(S=()=>p),x==="Object"||x==="Array"?y.createElement("div",{className:"rejt-tree"},y.createElement(Tu,{data:e,name:t,deep:-1,isCollapsed:r,onUpdate:this.onUpdate,onDeltaUpdate:n,readOnly:E,getStyle:o,addButtonElement:i,cancelButtonElement:s,editButtonElement:u,inputElementGenerator:D,textareaElementGenerator:S,minusMenuElement:h,plusMenuElement:m,handleRemove:this.removeRoot,beforeRemoveAction:f,beforeAddAction:v,beforeUpdateAction:g,logger:b,onSubmitValueParser:C})):w}};aD.defaultProps={rootName:"root",isCollapsed:(e,t)=>t!==-1,getStyle:(e,t,r,n,a)=>{switch(a){case"Object":case"Error":return KQ;case"Array":return YQ;default:return JQ}},readOnly:()=>!1,onFullyUpdate:()=>{},onDeltaUpdate:()=>{},beforeRemoveAction:()=>Promise.resolve(),beforeAddAction:()=>Promise.resolve(),beforeUpdateAction:()=>Promise.resolve(),logger:{error:()=>{}},onSubmitValueParser:(e,t,r,n,a)=>ZQ(a),inputElement:()=>y.createElement("input",null),textareaElement:()=>y.createElement("textarea",null),fallback:null};var{window:XQ}=nt,QQ=_.div(({theme:e})=>({position:"relative",display:"flex",'&[aria-readonly="true"]':{opacity:.5},".rejt-tree":{marginLeft:"1rem",fontSize:"13px"},".rejt-value-node, .rejt-object-node > .rejt-collapsed, .rejt-array-node > .rejt-collapsed, .rejt-object-node > .rejt-not-collapsed, .rejt-array-node > .rejt-not-collapsed":{"& > svg":{opacity:0,transition:"opacity 0.2s"}},".rejt-value-node:hover, .rejt-object-node:hover > .rejt-collapsed, .rejt-array-node:hover > .rejt-collapsed, .rejt-object-node:hover > .rejt-not-collapsed, .rejt-array-node:hover > .rejt-not-collapsed":{"& > svg":{opacity:1}},".rejt-edit-form button":{display:"none"},".rejt-add-form":{marginLeft:10},".rejt-add-value-node":{display:"inline-flex",alignItems:"center"},".rejt-name":{lineHeight:"22px"},".rejt-not-collapsed-delimiter":{lineHeight:"22px"},".rejt-plus-menu":{marginLeft:5},".rejt-object-node > span > *, .rejt-array-node > span > *":{position:"relative",zIndex:2},".rejt-object-node, .rejt-array-node":{position:"relative"},".rejt-object-node > span:first-of-type::after, .rejt-array-node > span:first-of-type::after, .rejt-collapsed::before, .rejt-not-collapsed::before":{content:'""',position:"absolute",top:0,display:"block",width:"100%",marginLeft:"-1rem",padding:"0 4px 0 1rem",height:22},".rejt-collapsed::before, .rejt-not-collapsed::before":{zIndex:1,background:"transparent",borderRadius:4,transition:"background 0.2s",pointerEvents:"none",opacity:.1},".rejt-object-node:hover, .rejt-array-node:hover":{"& > .rejt-collapsed::before, & > .rejt-not-collapsed::before":{background:e.color.secondary}},".rejt-collapsed::after, .rejt-not-collapsed::after":{content:'""',position:"absolute",display:"inline-block",pointerEvents:"none",width:0,height:0},".rejt-collapsed::after":{left:-8,top:8,borderTop:"3px solid transparent",borderBottom:"3px solid transparent",borderLeft:"3px solid rgba(153,153,153,0.6)"},".rejt-not-collapsed::after":{left:-10,top:10,borderTop:"3px solid rgba(153,153,153,0.6)",borderLeft:"3px solid transparent",borderRight:"3px solid transparent"},".rejt-value":{display:"inline-block",border:"1px solid transparent",borderRadius:4,margin:"1px 0",padding:"0 4px",cursor:"text",color:e.color.defaultText},".rejt-value-node:hover > .rejt-value":{background:e.color.lighter,borderColor:e.appBorderColor}})),ad=_.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})),eee=_(tM)(({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}})),tee=_(rM)(({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}})),ny=_.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}`}})),ree=_(un)(({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}})),nee=_(Di.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"}})),aee={bubbles:!0,cancelable:!0,key:"Enter",code:"Enter",keyCode:13},oee=e=>{e.currentTarget.dispatchEvent(new XQ.KeyboardEvent("keydown",aee))},iee=e=>{e.currentTarget.select()},lee=e=>()=>({name:{color:e.color.secondary},collapsed:{color:e.color.dark},ul:{listStyle:"none",margin:"0 0 0 1rem",padding:0},li:{outline:0}}),ay=({name:e,value:t,onChange:r,argType:n})=>{var x;let a=Ny(),o=l.useMemo(()=>t&&ZY(t),[t]),i=o!=null,[s,u]=l.useState(!i),[d,p]=l.useState(null),h=!!((x=n==null?void 0:n.table)!=null&&x.readonly),m=l.useCallback(E=>{try{E&&r(JSON.parse(E)),p(void 0)}catch(D){p(D)}},[r]),[f,v]=l.useState(!1),g=l.useCallback(()=>{r({}),v(!0)},[v]),b=l.useRef(null);if(l.useEffect(()=>{f&&b.current&&b.current.select()},[f]),!i)return y.createElement(Sn,{disabled:h,id:Cs(e),onClick:g},"Set object");let C=y.createElement(nee,{ref:b,id:xt(e),name:e,defaultValue:t===null?"":JSON.stringify(t,null,2),onBlur:E=>m(E.target.value),placeholder:"Edit JSON string...",autoFocus:f,valid:d?"error":null,readOnly:h}),w=Array.isArray(t)||typeof t=="object"&&(t==null?void 0:t.constructor)===Object;return y.createElement(QQ,{"aria-readonly":h},w&&y.createElement(ree,{onClick:E=>{E.preventDefault(),u(D=>!D)}},s?y.createElement(QO,null):y.createElement(XO,null),y.createElement("span",null,"RAW")),s?C:y.createElement(aD,{readOnly:h||!w,isCollapsed:w?void 0:()=>!0,data:o,rootName:e,onFullyUpdate:r,getStyle:lee(a),cancelButtonElement:y.createElement(ad,{type:"button"},"Cancel"),editButtonElement:y.createElement(ad,{type:"submit"},"Save"),addButtonElement:y.createElement(ad,{type:"submit",primary:!0},"Save"),plusMenuElement:y.createElement(eee,null),minusMenuElement:y.createElement(tee,null),inputElement:(E,D,S,A)=>A?y.createElement(ny,{onFocus:iee,onBlur:oee}):y.createElement(ny,null),fallback:C}))},see=_.input(({theme:e,min:t,max:r,value:n,disabled:a})=>({"&":{width:"100%",backgroundColor:"transparent",appearance:"none"},"&::-webkit-slider-runnable-track":{background:e.base==="light"?`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${Ot(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Ot(.02,e.input.background)} 100%)`:`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${Jr(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Jr(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:a?"not-allowed":"pointer"},"&::-webkit-slider-thumb":{marginTop:"-6px",width:16,height:16,border:`1px solid ${lr(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${lr(e.appBorderColor,.2)}`,cursor:a?"not-allowed":"grab",appearance:"none",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${Ot(.05,e.input.background)}`,transform:"scale3d(1.1, 1.1, 1.1) translateY(-1px)",transition:"all 50ms ease-out"},"&:active":{background:`${e.input.background}`,transform:"scale3d(1, 1, 1) translateY(0px)",cursor:a?"not-allowed":"grab"}},"&:focus":{outline:"none","&::-webkit-slider-runnable-track":{borderColor:lr(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}%, - ${Ot(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Ot(.02,e.input.background)} 100%)`:`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${Jr(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Jr(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:a?"not-allowed":"pointer",outline:"none"},"&::-moz-range-thumb":{width:16,height:16,border:`1px solid ${lr(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${lr(e.appBorderColor,.2)}`,cursor:a?"not-allowed":"grap",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${Ot(.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}%, - ${Ot(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Ot(.02,e.input.background)} 100%)`:`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${Jr(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Jr(.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 ${lr(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),oD=_.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums","[aria-readonly=true] &":{opacity:.5}}),uee=_(oD)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),cee=_.div({display:"flex",alignItems:"center",width:"100%"});function dee(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 pee=({name:e,value:t,onChange:r,min:n=0,max:a=100,step:o=1,onBlur:i,onFocus:s,argType:u})=>{var f;let d=v=>{r(xQ(v.target.value))},p=t!==void 0,h=l.useMemo(()=>dee(o),[o]),m=!!((f=u==null?void 0:u.table)!=null&&f.readonly);return y.createElement(cee,{"aria-readonly":m},y.createElement(oD,null,n),y.createElement(see,{id:xt(e),type:"range",disabled:m,onChange:d,name:e,value:t,min:n,max:a,step:o,onFocus:s,onBlur:i}),y.createElement(uee,{numberOFDecimalsPlaces:h,max:a},p?t.toFixed(h):"--"," / ",a))},fee=_.label({display:"flex"}),hee=_.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),mee=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,maxLength:o,argType:i})=>{var f;let s=v=>{r(v.target.value)},u=!!((f=i==null?void 0:i.table)!=null&&f.readonly),[d,p]=l.useState(!1),h=l.useCallback(()=>{r(""),p(!0)},[p]);if(t===void 0)return y.createElement(Sn,{variant:"outline",size:"medium",disabled:u,id:Cs(e),onClick:h},"Set string");let m=typeof t=="string";return y.createElement(fee,null,y.createElement(Di.Textarea,{id:xt(e),maxLength:o,onChange:s,disabled:u,size:"flex",placeholder:"Edit string...",autoFocus:d,valid:m?null:"error",name:e,value:m?t:"",onFocus:n,onBlur:a}),o&&y.createElement(hee,{isMaxed:(t==null?void 0:t.length)===o},(t==null?void 0:t.length)??0," / ",o))},gee=_(Di.Input)({padding:10});function vee(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var yee=({onChange:e,name:t,accept:r="image/*",value:n,argType:a})=>{var u;let o=l.useRef(null),i=(u=a==null?void 0:a.control)==null?void 0:u.readOnly;function s(d){if(!d.target.files)return;let p=Array.from(d.target.files).map(h=>URL.createObjectURL(h));e(p),vee(n)}return l.useEffect(()=>{n==null&&o.current&&(o.current.value=null)},[n,t]),y.createElement(gee,{ref:o,id:xt(t),type:"file",name:t,multiple:!0,disabled:i,onChange:s,accept:r,size:"flex"})},bee=l.lazy(()=>sy(()=>import("./Color-KGDBMAHA-BepPQj2K.js"),__vite__mapDeps([7,2,5,1,3,4,6]),import.meta.url)),wee=e=>y.createElement(l.Suspense,{fallback:y.createElement("div",null)},y.createElement(bee,{...e})),Eee={array:ay,object:ay,boolean:hQ,color:wee,date:wQ,number:DQ,check:Pn,"inline-check":Pn,radio:Pn,"inline-radio":Pn,select:Pn,"multi-select":Pn,range:pee,text:mee,file:yee},oy=()=>y.createElement(y.Fragment,null,"-"),xee=({row:e,arg:t,updateArgs:r,isHovered:n})=>{var g;let{key:a,control:o}=e,[i,s]=l.useState(!1),[u,d]=l.useState({value:t});l.useEffect(()=>{i||d({value:t})},[i,t]);let p=l.useCallback(b=>(d({value:b}),r({[a]:b}),b),[r,a]),h=l.useCallback(()=>s(!1),[]),m=l.useCallback(()=>s(!0),[]);if(!o||o.disable){let b=(o==null?void 0:o.disable)!==!0&&((g=e==null?void 0:e.type)==null?void 0:g.name)!=="function";return n&&b?y.createElement(ra,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):y.createElement(oy,null)}let f={name:a,argType:e,value:u.value,onChange:p,onBlur:h,onFocus:m},v=Eee[o.type]||oy;return y.createElement(v,{...f,...o,controlType:o.type})},Cee=_.span({fontWeight:"bold"}),Dee=_.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),See=_.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...Pr({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),Aee=_.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?ie(.1,e.color.defaultText):ie(.2,e.color.defaultText),marginTop:t?4:0})),kee=_.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?ie(.1,e.color.defaultText):ie(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),_ee=_.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),Fee=e=>e&&{summary:typeof e=="string"?e:e.name},rl=e=>{var g;let[t,r]=l.useState(!1),{row:n,updateArgs:a,compact:o,expandable:i,initialExpandedArgs:s}=e,{name:u,description:d}=n,p=n.table||{},h=p.type||Fee(n.type),m=p.defaultValue||n.defaultValue,f=(g=n.type)==null?void 0:g.required,v=d!=null&&d!=="";return y.createElement("tr",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},y.createElement(_ee,{expandable:i},y.createElement(Cee,null,u),f?y.createElement(Dee,{title:"Required"},"*"):null),o?null:y.createElement("td",null,v&&y.createElement(See,null,y.createElement(AC,null,d)),p.jsDocTags!=null?y.createElement(y.Fragment,null,y.createElement(kee,{hasDescription:v},y.createElement(nd,{value:h,initialExpandedArgs:s})),y.createElement(tQ,{tags:p.jsDocTags})):y.createElement(Aee,{hasDescription:v},y.createElement(nd,{value:h,initialExpandedArgs:s}))),o?null:y.createElement("td",null,y.createElement(nd,{value:m,initialExpandedArgs:s})),a?y.createElement("td",null,y.createElement(xee,{...e,isHovered:t})):null)},Iee=_(aM)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?ie(.25,e.color.defaultText):ie(.3,e.color.defaultText),border:"none",display:"inline-block"})),Tee=_(oM)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?ie(.25,e.color.defaultText):ie(.3,e.color.defaultText),border:"none",display:"inline-block"})),Ree=_.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),Bee=_.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"?ie(.4,e.color.defaultText):ie(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),zee=_.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),Lee=_.td(()=>({position:"relative"})),Oee=_.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${Jr(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),iy=_.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"})),od=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:a=3})=>{let[o,i]=l.useState(n),s=e==="subsection"?zee:Bee,u=(r==null?void 0:r.length)||0,d=e==="subsection"?`${u} item${u!==1?"s":""}`:"",p=`${o?"Hide":"Show"} ${e==="subsection"?u:t} item${u!==1?"s":""}`;return y.createElement(y.Fragment,null,y.createElement(Oee,{title:p},y.createElement(s,{colSpan:1},y.createElement(iy,{onClick:h=>i(!o),tabIndex:0},p),y.createElement(Ree,null,o?y.createElement(Iee,null):y.createElement(Tee,null),t)),y.createElement(Lee,{colSpan:a-1},y.createElement(iy,{onClick:h=>i(!o),tabIndex:-1,style:{outline:"none"}},p),o?null:d)),o?r:null)},nl=_.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),ke=_.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),he=_.div(({theme:e,width:t,height:r})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,width:t||"100%",height:r||16,borderRadius:3})),_e=[2,4,2,2],Mee=()=>y.createElement(y.Fragment,null,y.createElement(nl,null,y.createElement(ke,{numColumn:_e[0]},y.createElement(he,{width:"60%"})),y.createElement(ke,{numColumn:_e[1]},y.createElement(he,{width:"30%"})),y.createElement(ke,{numColumn:_e[2]},y.createElement(he,{width:"60%"})),y.createElement(ke,{numColumn:_e[3]},y.createElement(he,{width:"60%"}))),y.createElement(nl,null,y.createElement(ke,{numColumn:_e[0]},y.createElement(he,{width:"60%"})),y.createElement(ke,{numColumn:_e[1]},y.createElement(he,{width:"80%"}),y.createElement(he,{width:"30%"})),y.createElement(ke,{numColumn:_e[2]},y.createElement(he,{width:"60%"})),y.createElement(ke,{numColumn:_e[3]},y.createElement(he,{width:"60%"}))),y.createElement(nl,null,y.createElement(ke,{numColumn:_e[0]},y.createElement(he,{width:"60%"})),y.createElement(ke,{numColumn:_e[1]},y.createElement(he,{width:"80%"}),y.createElement(he,{width:"30%"})),y.createElement(ke,{numColumn:_e[2]},y.createElement(he,{width:"60%"})),y.createElement(ke,{numColumn:_e[3]},y.createElement(he,{width:"60%"}))),y.createElement(nl,null,y.createElement(ke,{numColumn:_e[0]},y.createElement(he,{width:"60%"})),y.createElement(ke,{numColumn:_e[1]},y.createElement(he,{width:"80%"}),y.createElement(he,{width:"30%"})),y.createElement(ke,{numColumn:_e[2]},y.createElement(he,{width:"60%"})),y.createElement(ke,{numColumn:_e[3]},y.createElement(he,{width:"60%"})))),$ee=_.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"})),Pee=_.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),Nee=_.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),Hee=({inAddonPanel:e})=>{let[t,r]=l.useState(!0);return l.useEffect(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:y.createElement($ee,{inAddonPanel:e},y.createElement(Ax,{title:e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated",description:y.createElement(y.Fragment,null,"Controls give you an easy to use interface to test your components. Set your story args and you'll see controls appearing here automatically."),footer:y.createElement(Pee,null,e&&y.createElement(y.Fragment,null,y.createElement(ra,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},y.createElement(eM,null)," Watch 5m video"),y.createElement(Nee,null),y.createElement(ra,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},y.createElement(V1,null)," Read docs")),!e&&y.createElement(ra,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},y.createElement(V1,null)," Learn how to set that up"))}))},jee=_.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"?ie(.25,e.color.defaultText):ie(.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}}}}})),Vee=_(un)(({theme:e})=>({margin:"-4px -12px -4px 0"})),Uee=_.span({display:"flex",justifyContent:"space-between"}),qee={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},Wee=(e,t)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([o,i])=>{let{category:s,subcategory:u}=(i==null?void 0:i.table)||{};if(s){let d=r.sections[s]||{ungrouped:[],subsections:{}};if(!u)d.ungrouped.push({key:o,...i});else{let p=d.subsections[u]||[];p.push({key:o,...i}),d.subsections[u]=p}r.sections[s]=d}else if(u){let d=r.ungroupedSubsections[u]||[];d.push({key:o,...i}),r.ungroupedSubsections[u]=d}else r.ungrouped.push({key:o,...i})});let n=qee[t],a=o=>n?Object.keys(o).reduce((i,s)=>({...i,[s]:o[s].sort(n)}),{}):o;return{ungrouped:r.ungrouped.sort(n),ungroupedSubsections:a(r.ungroupedSubsections),sections:Object.keys(r.sections).reduce((o,i)=>({...o,[i]:{ungrouped:r.sections[i].ungrouped.sort(n),subsections:a(r.sections[i].subsections)}}),{})}},Gee=(e,t,r)=>{try{return gD(e,t,r)}catch(n){return vX.warn(n.message),!1}},tp=e=>{let{updateArgs:t,resetArgs:r,compact:n,inAddonPanel:a,initialExpandedArgs:o,sort:i="none",isLoading:s}=e;if("error"in e){let{error:w}=e;return y.createElement(jC,null,w," ",y.createElement(ra,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},y.createElement(V1,null)," Read the docs"))}if(s)return y.createElement(Mee,null);let{rows:u,args:d,globals:p}="rows"in e&&e,h=Wee(kq(u,w=>{var x;return!((x=w==null?void 0:w.table)!=null&&x.disable)&&Gee(w,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 y.createElement(Hee,{inAddonPanel:a});let g=1;t&&(g+=1),n||(g+=2);let b=Object.keys(h.sections).length>0,C={updateArgs:t,compact:n,inAddonPanel:a,initialExpandedArgs:o};return y.createElement(nh,null,y.createElement(jee,{compact:n,inAddonPanel:a,className:"docblock-argstable sb-unstyled"},y.createElement("thead",{className:"docblock-argstable-head"},y.createElement("tr",null,y.createElement("th",null,y.createElement("span",null,"Name")),n?null:y.createElement("th",null,y.createElement("span",null,"Description")),n?null:y.createElement("th",null,y.createElement("span",null,"Default")),t?y.createElement("th",null,y.createElement(Uee,null,"Control"," ",!s&&r&&y.createElement(Vee,{onClick:()=>r(),title:"Reset controls"},y.createElement(lM,{"aria-hidden":!0})))):null)),y.createElement("tbody",{className:"docblock-argstable-body"},h.ungrouped.map(w=>y.createElement(rl,{key:w.key,row:w,arg:d&&d[w.key],...C})),Object.entries(h.ungroupedSubsections).map(([w,x])=>y.createElement(od,{key:w,label:w,level:"subsection",colSpan:g},x.map(E=>y.createElement(rl,{key:E.key,row:E,arg:d&&d[E.key],expandable:b,...C})))),Object.entries(h.sections).map(([w,x])=>y.createElement(od,{key:w,label:w,level:"section",colSpan:g},x.ungrouped.map(E=>y.createElement(rl,{key:E.key,row:E,arg:d&&d[E.key],...C})),Object.entries(x.subsections).map(([E,D])=>y.createElement(od,{key:E,label:E,level:"subsection",colSpan:g},D.map(S=>y.createElement(rl,{key:S.key,row:S,arg:d&&d[S.key],expandable:b,...C})))))))))},Kee=({tabs:e,...t})=>{let r=Object.entries(e);return r.length===1?y.createElement(tp,{...r[0][1],...t}):y.createElement(eO,null,r.map((n,a)=>{let[o,i]=n,s=`prop_table_div_${o}`,u="div",d=a===0?t:{sort:t.sort};return y.createElement(u,{key:s,id:s,title:o},({active:p})=>p?y.createElement(tp,{key:`prop_table_${o}`,...i,...d}):null)}))};_.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?ie(.4,e.color.defaultText):ie(.6,e.color.defaultText)}));_.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});_.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}});_.div(ue,({theme:e})=>({...Iu(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"?ie(.2,e.color.defaultText):ie(.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"?ie(.4,e.color.defaultText):ie(.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})=>({...Iu(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"?ie(.4,e.color.defaultText):ie(.6,e.color.defaultText)}));_.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));var Yee=_.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2})),Jee=_.div(({theme:e})=>({...Iu(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}})),Zee=_.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"}),Xee=_.div({display:"flex",flexFlow:"row wrap"}),Dre=({name:e,children:t})=>y.createElement(Zee,null,y.createElement(Jee,null,t),y.createElement(Yee,null,e)),Sre=({children:e,...t})=>y.createElement(nh,null,y.createElement(Xee,{...t,className:"docblock-icongallery sb-unstyled"},e)),Qee=e=>`anchor--${e}`,iD=({storyId:e,children:t})=>y.createElement("div",{id:Qee(e),className:"sb-anchor"},t);nt&&nt.__DOCS_CONTEXT__===void 0&&(nt.__DOCS_CONTEXT__=l.createContext(null),nt.__DOCS_CONTEXT__.displayName="DocsContext");var St=nt?nt.__DOCS_CONTEXT__:l.createContext(null),kn=(e,t)=>l.useContext(St).resolveOf(e,t),ete=e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""),tte=e=>{if(e)return typeof e=="string"?e.includes("-")?ete(e):e:e.__docgenInfo&&e.__docgenInfo.displayName?e.__docgenInfo.displayName:e.name};function rte(e,t="start"){e.scrollIntoView({behavior:"smooth",block:t,inline:"nearest"})}function lD(e){return mX(e,{allowFunction:!1})}var sD=l.createContext({sources:{}}),uD="--unknown--",nte=({children:e,channel:t})=>{let[r,n]=l.useState({});return l.useEffect(()=>{let a=(o,i=null,s=!1)=>{let{id:u,args:d=void 0,source:p,format:h}=typeof o=="string"?{id:o,source:i,format:s}:o,m=d?lD(d):uD;n(f=>({...f,[u]:{...f[u],[m]:{code:p,format:h}}}))};return t.on(Yh,a),()=>t.off(Yh,a)},[]),y.createElement(sD.Provider,{value:{sources:r}},e)},ate=(e,t,r)=>{let{sources:n}=r,a=n==null?void 0:n[e];return(a==null?void 0:a[lD(t)])||(a==null?void 0:a[uD])||{code:""}},ote=({snippet:e,storyContext:t,typeFromProps:r,transformFromProps:n})=>{var u,d;let{__isArgsStory:a}=t.parameters,o=((u=t.parameters.docs)==null?void 0:u.source)||{},i=r||o.type||zu.AUTO;if(o.code!==void 0)return o.code;let s=i===zu.DYNAMIC||i===zu.AUTO&&e&&a?e:o.originalSource||"";return((d=n??o.transform)==null?void 0:d(s,t))||s},ite=(e,t,r)=>{var f,v,g,b;let n,{of:a}=e;if("of"in e&&a===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");if(a)n=t.resolveOf(a,["story"]).story;else try{n=t.storyById()}catch{}let o=((v=(f=n==null?void 0:n.parameters)==null?void 0:f.docs)==null?void 0:v.source)||{},{code:i}=e,s=e.format??o.format,u=e.language??o.language??"jsx",d=e.dark??o.dark??!1;if(!i&&!n)return{error:"Oh no! The source is not available."};if(i)return{code:i,format:s,language:u,dark:d};let p=t.getStoryContext(n),h=e.__forceInitialArgs?p.initialArgs:p.unmappedArgs,m=ate(n.id,h,r);return s=m.format??((b=(g=n.parameters.docs)==null?void 0:g.source)==null?void 0:b.format)??!1,{code:ote({snippet:m.code,storyContext:{...p,args:h},typeFromProps:e.type,transformFromProps:e.transform}),format:s,language:u,dark:d}};function lte(e,t){let r=ste([e],t);return r&&r[0]}function ste(e,t){let[r,n]=l.useState({});return l.useEffect(()=>{Promise.all(e.map(async a=>{let o=await t.loadStory(a);n(i=>i[a]===o?i:{...i,[a]:o})}))}),e.map(a=>{if(r[a])return r[a];try{return t.storyById(a)}catch{return null}})}var ute=(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},cte=(e,t,r)=>{let{parameters:n={}}=t||{},{docs:a={}}=n,o=a.story||{};if(a.disable)return null;if(e.inline??o.inline??!1){let s=e.height??o.height,u=e.autoplay??o.autoplay??!1;return{story:t,inline:!0,height:s,autoplay:u,forceInitialArgs:!!e.__forceInitialArgs,primary:!!e.__primary,renderStoryToElement:r.renderStoryToElement}}let i=e.height??o.height??o.iframeHeight??"100px";return{story:t,inline:!1,height:i,primary:!!e.__primary}},dte=(e={__forceInitialArgs:!1,__primary:!1})=>{let t=l.useContext(St),r=ute(e,t),n=lte(r,t);if(!n)return y.createElement(qC,null);let a=cte(e,n,t);return a?y.createElement(GX,{...a}):null},pte=e=>{var m,f,v,g,b,C,w,x,E,D;let t=l.useContext(St),r=l.useContext(sD),{of:n,source:a}=e;if("of"in e&&n===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let{story:o}=kn(n||"story",["story"]),i=ite({...a,...n&&{of:n}},t,r),s=e.layout??o.parameters.layout??((f=(m=o.parameters.docs)==null?void 0:m.canvas)==null?void 0:f.layout)??"padded",u=e.withToolbar??((g=(v=o.parameters.docs)==null?void 0:v.canvas)==null?void 0:g.withToolbar)??!1,d=e.additionalActions??((C=(b=o.parameters.docs)==null?void 0:b.canvas)==null?void 0:C.additionalActions),p=e.sourceState??((x=(w=o.parameters.docs)==null?void 0:w.canvas)==null?void 0:x.sourceState)??"hidden",h=e.className??((D=(E=o.parameters.docs)==null?void 0:E.canvas)==null?void 0:D.className);return y.createElement(WC,{withSource:p==="none"?void 0:i,isExpanded:p==="shown",withToolbar:u,additionalActions:d,className:h,layout:s},y.createElement(dte,{of:n||o.moduleExport,meta:e.meta,...e.story}))},fte=(e,t)=>{let r=t.getStoryContext(e),[n,a]=l.useState(r.globals);return l.useEffect(()=>{let o=i=>{a(i.globals)};return t.channel.on(G3,o),()=>t.channel.off(G3,o)},[t.channel]),[n]},hte=(e,t)=>{let r=mte(e,t);if(!r)throw new Error("No result when story was defined");return r},mte=(e,t)=>{let r=e?t.getStoryContext(e):{args:{}},{id:n}=e||{id:"none"},[a,o]=l.useState(r.args);l.useEffect(()=>{let u=d=>{d.storyId===n&&o(d.args)};return t.channel.on(K3,u),()=>t.channel.off(K3,u)},[n,t.channel]);let i=l.useCallback(u=>t.channel.emit(yX,{storyId:n,updatedArgs:u}),[n,t.channel]),s=l.useCallback(u=>t.channel.emit(bX,{storyId:n,argNames:u}),[n,t.channel]);return e&&[a,i,s]};function gte(e,t){let{extractArgTypes:r}=t.docs||{};if(!r)throw new Error("Args unsupported. See Args documentation for your framework.");return r(e)}var vte=e=>{var 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=l.useContext(St),{story:n}=r.resolveOf(t||"story",["story"]),{parameters:a,argTypes:o,component:i,subcomponents:s}=n,u=((E=a.docs)==null?void 0:E.controls)||{},d=e.include??u.include,p=e.exclude??u.exclude,h=e.sort??u.sort,[m,f,v]=hte(n,r),[g]=fte(n,r),b=W3(o,d,p);if(!(s&&Object.keys(s).length>0))return Object.keys(b).length>0||Object.keys(m).length>0?y.createElement(tp,{rows:b,sort:h,args:m,globals:g,updateArgs:f,resetArgs:v}):null;let C=tte(i),w=Object.fromEntries(Object.entries(s).map(([D,S])=>[D,{rows:W3(gte(S,a),d,p),sort:h}])),x={[C]:{rows:b,sort:h},...w};return y.createElement(Kee,{tabs:x,sort:h,args:m,globals:g,updateArgs:f,resetArgs:v})},{document:cD}=nt,yte=({className:e,children:t,...r})=>{if(typeof e!="string"&&(typeof t!="string"||!t.match(/[\n\r]/g)))return y.createElement(e9,null,t);let n=e&&e.split("-");return y.createElement(VC,{language:n&&n[1]||"text",format:!1,code:t,...r})};function Vh(e,t){e.channel.emit(wX,t)}var rp=vO.a,bte=({hash:e,children:t})=>{let r=l.useContext(St);return y.createElement(rp,{href:e,target:"_self",onClick:n=>{let a=e.substring(1);cD.getElementById(a)&&Vh(r,e)}},t)},wte=e=>{let{href:t,target:r,children:n,...a}=e,o=l.useContext(St);return!t||r==="_blank"||/^https?:\/\//.test(t)?y.createElement(rp,{...e}):t.startsWith("#")?y.createElement(bte,{hash:t},n):y.createElement(rp,{href:t,onClick:i=>{i.button===0&&!i.altKey&&!i.ctrlKey&&!i.metaKey&&!i.shiftKey&&(i.preventDefault(),Vh(o,i.currentTarget.getAttribute("href")))},target:r,...a},n)},dD=["h1","h2","h3","h4","h5","h6"],Ete=dD.reduce((e,t)=>({...e,[t]:_(t)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})}),{}),xte=_.a(()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"})),Cte=({as:e,id:t,children:r,...n})=>{let a=l.useContext(St),o=Ete[e],i=`#${t}`;return y.createElement(o,{id:t,...n},y.createElement(xte,{"aria-hidden":"true",href:i,tabIndex:-1,target:"_self",onClick:s=>{cD.getElementById(t)&&Vh(a,i)}},y.createElement(nM,null)),r)},Uh=e=>{let{as:t,id:r,children:n,...a}=e;if(r)return y.createElement(Cte,{as:t,id:r,...a},n);let o=t,{as:i,...s}=e;return y.createElement(o,{...se(s,t)})},Dte=dD.reduce((e,t)=>({...e,[t]:r=>y.createElement(Uh,{as:t,...r})}),{}),Ste=e=>{var t;if(!e.children)return null;if(typeof e.children!="string")throw new Error(bD`The Markdown block only accepts children as a single string, but children were of type: '${typeof e.children}' - This is often caused by not wrapping the child in a template string. - - This is invalid: - - # Some heading - A paragraph - - - Instead do: - - {\` - # Some heading - A paragraph - \`} - - `);return y.createElement(AC,{...e,options:{forceBlock:!0,overrides:{code:yte,a:wte,...Dte,...(t=e==null?void 0:e.options)==null?void 0:t.overrides},...e==null?void 0:e.options}})},Ate=(e=>(e.INFO="info",e.NOTES="notes",e.DOCGEN="docgen",e.AUTO="auto",e))(Ate||{}),kte=e=>{var t,r,n,a,o,i,s,u;switch(e.type){case"story":return((r=(t=e.story.parameters.docs)==null?void 0:t.description)==null?void 0:r.story)||null;case"meta":{let{parameters:d,component:p}=e.preparedMeta;return((a=(n=d.docs)==null?void 0:n.description)==null?void 0:a.component)||((i=(o=d.docs)==null?void 0:o.extractComponentDescription)==null?void 0:i.call(o,p,{component:p,parameters:d}))||null}case"component":{let{component:d,projectAnnotations:{parameters:p}}=e;return((u=(s=p.docs)==null?void 0:s.extractComponentDescription)==null?void 0:u.call(s,d,{component:d,parameters:p}))||null}default:throw new Error(`Unrecognized module type resolved from 'useOf', got: ${e.type}`)}},np=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=kn(t||"meta"),n=kte(r);return n?y.createElement(Ste,null,n):null},ly=SD(AX()),_te=_.div(({theme:e})=>({width:"10rem","@media (max-width: 768px)":{display:"none"}})),Fte=_.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"}})),Ite=_.p(({theme:e})=>({fontWeight:600,fontSize:"0.875em",color:e.textColor,textTransform:"uppercase",marginBottom:10})),Tte=({title:e})=>e===null?null:typeof e=="string"?y.createElement(Ite,null,e):e,Rte=({title:e,disable:t,headingSelector:r,contentsSelector:n,ignoreSelector:a,unsafeTocbotOptions:o})=>(l.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,...o},s=setTimeout(()=>ly.init(i),100);return()=>{clearTimeout(s),ly.destroy()}},[t]),y.createElement(y.Fragment,null,y.createElement(_te,null,t?null:y.createElement(Fte,null,y.createElement(Tte,{title:e||null}),y.createElement("div",{className:"toc-wrapper"}))))),{document:Bte,window:zte}=nt,Lte=({context:e,theme:t,children:r})=>{var a,o,i,s,u;let n;try{n=(o=(a=e.resolveOf("meta",["meta"]).preparedMeta.parameters)==null?void 0:a.docs)==null?void 0:o.toc}catch{n=(u=(s=(i=e==null?void 0:e.projectAnnotations)==null?void 0:i.parameters)==null?void 0:s.docs)==null?void 0:u.toc}return l.useEffect(()=>{let d;try{if(d=new URL(zte.parent.location.toString()),d.hash){let p=Bte.getElementById(d.hash.substring(1));p&&setTimeout(()=>{rte(p)},200)}}catch{}}),y.createElement(St.Provider,{value:e},y.createElement(nte,{channel:e.channel},y.createElement(Hy,{theme:bA(t)},y.createElement(LX,{toc:n?y.createElement(Rte,{className:"sbdocs sbdocs-toc--custom",...n}):null},r))))},Ote=/\s*\/\s*/,Mte=e=>{let t=e.trim().split(Ote);return(t==null?void 0:t[(t==null?void 0:t.length)-1])||e},$te=e=>{let{children:t,of:r}=e;if("of"in e&&r===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let n;try{n=kn(r||"meta",["meta"]).preparedMeta}catch(o){if(t&&!o.message.includes("did you forget to use ?"))throw o}let a=t||Mte(n==null?void 0:n.title);return a?y.createElement(TX,{className:"sbdocs-title sb-unstyled"},a):null},Pte="https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#subtitle-block-and-parameterscomponentsubtitle",Nte=e=>{let{of:t,children:r}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let n;try{n=kn(t||"meta",["meta"]).preparedMeta}catch(s){if(r&&!s.message.includes("did you forget to use ?"))throw s}let{componentSubtitle:a,docs:o}=(n==null?void 0:n.parameters)||{};a&&gX(`Using 'parameters.componentSubtitle' property to subtitle stories is deprecated. See ${Pte}`);let i=r||(o==null?void 0:o.subtitle)||a;return i?y.createElement(RX,{className:"sbdocs-subtitle sb-unstyled"},i):null},Hte=({children:e,disableAnchor:t})=>{if(t||typeof e!="string")return y.createElement(r9,null,e);let r=globalThis.encodeURIComponent(e.toLowerCase());return y.createElement(Uh,{as:"h3",id:r},e)},pD=({of:e,expanded:t=!0,withToolbar:r=!1,__forceInitialArgs:n=!1,__primary:a=!1})=>{var s,u;let{story:o}=kn(e||"story",["story"]),i=((u=(s=o.parameters.docs)==null?void 0:s.canvas)==null?void 0:u.withToolbar)??r;return y.createElement(iD,{storyId:o.id},t&&y.createElement(y.Fragment,null,y.createElement(Hte,null,o.name),y.createElement(np,{of:e})),y.createElement(pte,{of:e,withToolbar:i,story:{__forceInitialArgs:n,__primary:a},source:{__forceInitialArgs:n}}))},jte=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}=kn(t||"meta",["meta"]),n=l.useContext(St).componentStoriesFromCSFFile(r)[0];return n?y.createElement(pD,{of:n.moduleExport,expanded:!1,__primary:!0,withToolbar:!0}):null},Vte=({children:e,disableAnchor:t,...r})=>{if(t||typeof e!="string")return y.createElement(t9,null,e);let n=e.toLowerCase().replace(/[^a-z0-9]/gi,"-");return y.createElement(Uh,{as:"h2",id:n,...r},e)},Ute=_(Vte)(({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"}})),qte=({title:e="Stories",includePrimary:t=!0})=>{var s;let{componentStories:r,projectAnnotations:n,getStoryContext:a}=l.useContext(St),o=r(),{stories:{filter:i}={filter:void 0}}=((s=n.parameters)==null?void 0:s.docs)||{};return i&&(o=o.filter(u=>i(u,a(u)))),o.some(u=>{var d;return(d=u.tags)==null?void 0:d.includes("autodocs")})&&(o=o.filter(u=>{var d;return((d=u.tags)==null?void 0:d.includes("autodocs"))&&!u.usesMount})),t||(o=o.slice(1)),!o||o.length===0?null:y.createElement(y.Fragment,null,y.createElement(Ute,null,e),o.map(u=>u&&y.createElement(pD,{key:u.id,of:u.moduleExport,expanded:!0,__forceInitialArgs:!0})))},Wte=()=>{let e=kn("meta",["meta"]),{stories:t}=e.csfFile,r=Object.keys(t).length===1;return y.createElement(y.Fragment,null,y.createElement($te,null),y.createElement(Nte,null),y.createElement(np,{of:"meta"}),r?y.createElement(np,{of:"story"}):null,y.createElement(jte,null),y.createElement(vte,null),r?null:y.createElement(qte,null))};function Are({context:e,docsParameter:t}){let r=t.container||Lte,n=t.page||Wte;return y.createElement(r,{context:e,theme:t.theme},y.createElement(n,null))}var kre=({of:e})=>{let t=l.useContext(St);e&&t.referenceMeta(e,!0);try{let r=t.storyById();return y.createElement(iD,{storyId:r.id})}catch{return null}};export{tre as $,Sn as A,ore as B,Y_ as C,t9 as D,J_ as E,Ax as F,ah as G,nh as H,mre as I,bre as J,lF as K,aF as L,gre as M,kx as N,mu as O,dre as P,iF as Q,hre as R,Cx as S,nF as T,_x as U,eO as V,hO as W,ML as X,cre as Y,sre as Z,vre as _,Wz as a,ure as a0,uF as a1,lre as a2,yL as a3,Mz as a4,Pr as a5,vO as a6,gd as a7,mO as a8,$1 as a9,fre as aa,se as ab,yO as ac,ue as ad,kre as ae,yte as af,wte as ag,Dte as ah,Are as ai,Sre as aj,Dre as ak,Ah as al,_ as am,wre as an,xt as ao,W_ as b,Di as c,K_ as d,Z_ as e,X_ as f,un as g,Q_ as h,N_ as i,eF as j,ra as k,H_ as l,zL as m,nre as n,Bp as o,rF as p,$l as q,Fx as r,are as s,oF as t,yre as u,e9 as v,G_ as w,r9 as x,ere as y,fh as z}; diff --git a/assets/index-BqpXghJy.js b/assets/index-bmGcrzev.js similarity index 88% rename from assets/index-BqpXghJy.js rename to assets/index-bmGcrzev.js index e747cfad..76915ca4 100644 --- a/assets/index-BqpXghJy.js +++ b/assets/index-bmGcrzev.js @@ -1,4 +1,4 @@ -import{j as n}from"./jsx-runtime-C798UXYj.js";import{useMDXComponents as o}from"./index-CFK-oMtb.js";import{ae as s}from"./index-Doj-RJny.js";import"./index-0d5eMwbi.js";import"./iframe-B2fFkFgE.js";import"../sb-preview/runtime.js";import"./index-p-ac5bmP.js";import"./index-D-8MO0q_.js";import"./index-D97zpEXb.js";import"./index-DrFu-skq.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"}),` +import{j as n}from"./jsx-runtime-C798UXYj.js";import{useMDXComponents as o}from"./index-CFK-oMtb.js";import{ae as s}from"./index-D4CCEPie.js";import"./index-0d5eMwbi.js";import"./iframe-B1Sidt8M.js";import"../sb-preview/runtime.js";import"./index-BoyHNU0R.js";import"./index-D-8MO0q_.js";import"./index-CxJhtZoZ.js";import"./index-DrFu-skq.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."}),` diff --git a/assets/index-DzUTkZLd.js b/assets/index-h1jAayoZ.js similarity index 99% rename from assets/index-DzUTkZLd.js rename to assets/index-h1jAayoZ.js index d3e4ffca..3b7e7279 100644 --- a/assets/index-DzUTkZLd.js +++ b/assets/index-h1jAayoZ.js @@ -1,4 +1,4 @@ -import{r as E}from"./index-0d5eMwbi.js";import{r as y}from"./index-p-ac5bmP.js";function x(o,h,e){let s=e.initialDeps??[],t;return()=>{var n,i,r,l;let u;e.key&&((n=e.debug)!=null&&n.call(e))&&(u=Date.now());const c=o();if(!(c.length!==s.length||c.some((g,d)=>s[d]!==g)))return t;s=c;let m;if(e.key&&((i=e.debug)!=null&&i.call(e))&&(m=Date.now()),t=h(...c),e.key&&((r=e.debug)!=null&&r.call(e))){const g=Math.round((Date.now()-u)*100)/100,d=Math.round((Date.now()-m)*100)/100,M=d/16,v=(f,S)=>{for(f=String(f);f.length{var n,i,r,l;let u;e.key&&((n=e.debug)!=null&&n.call(e))&&(u=Date.now());const c=o();if(!(c.length!==s.length||c.some((g,d)=>s[d]!==g)))return t;s=c;let m;if(e.key&&((i=e.debug)!=null&&i.call(e))&&(m=Date.now()),t=h(...c),e.key&&((r=e.debug)!=null&&r.call(e))){const g=Math.round((Date.now()-u)*100)/100,d=Math.round((Date.now()-m)*100)/100,M=d/16,v=(f,S)=>{for(f=String(f);f.lengthMath.abs(o-h)<1,_=(o,h,e)=>{let s;return function(...t){o.clearTimeout(s),s=o.setTimeout(()=>h.apply(this,t),e)}},R=o=>o,k=o=>{const h=Math.max(o.startIndex-o.overscan,0),e=Math.min(o.endIndex+o.overscan,o.count-1),s=[];for(let t=h;t<=e;t++)s.push(t);return s},D=(o,h)=>{const e=o.scrollElement;if(!e)return;const s=o.targetWindow;if(!s)return;const t=i=>{const{width:r,height:l}=i;h({width:Math.round(r),height:Math.round(l)})};if(t(e.getBoundingClientRect()),!s.ResizeObserver)return()=>{};const n=new s.ResizeObserver(i=>{const r=i[0];if(r!=null&&r.borderBoxSize){const l=r.borderBoxSize[0];if(l){t({width:l.inlineSize,height:l.blockSize});return}}t(e.getBoundingClientRect())});return n.observe(e,{box:"border-box"}),()=>{n.unobserve(e)}},w={passive:!0},F=typeof window>"u"?!0:"onscrollend"in window,A=(o,h)=>{const e=o.scrollElement;if(!e)return;const s=o.targetWindow;if(!s)return;let t=0;const n=F?()=>{}:_(s,()=>{h(t,!1)},o.options.isScrollingResetDelay),i=u=>()=>{t=e[o.options.horizontal?"scrollLeft":"scrollTop"],n(),h(t,u)},r=i(!0),l=i(!1);return l(),e.addEventListener("scroll",r,w),e.addEventListener("scrollend",l,w),()=>{e.removeEventListener("scroll",r),e.removeEventListener("scrollend",l)}},W=(o,h,e)=>{if(h!=null&&h.borderBoxSize){const s=h.borderBoxSize[0];if(s)return Math.round(s[e.options.horizontal?"inlineSize":"blockSize"])}return Math.round(o.getBoundingClientRect()[e.options.horizontal?"width":"height"])},j=(o,{adjustments:h=0,behavior:e},s)=>{var t,n;const i=o+h;(n=(t=s.scrollElement)==null?void 0:t.scrollTo)==null||n.call(t,{[s.options.horizontal?"left":"top"]:i,behavior:e})};class B{constructor(h){this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.isScrolling=!1,this.scrollToIndexTimeoutId=null,this.measurementsCache=[],this.itemSizeCache=new Map,this.pendingMeasuredCacheIndexes=[],this.scrollRect=null,this.scrollOffset=null,this.scrollDirection=null,this.scrollAdjustments=0,this.elementsCache=new Map,this.observer=(()=>{let e=null;const s=()=>e||(!this.targetWindow||!this.targetWindow.ResizeObserver?null:e=new this.targetWindow.ResizeObserver(t=>{t.forEach(n=>{this._measureElement(n.target,n)})}));return{disconnect:()=>{var t;return(t=s())==null?void 0:t.disconnect()},observe:t=>{var n;return(n=s())==null?void 0:n.observe(t,{box:"border-box"})},unobserve:t=>{var n;return(n=s())==null?void 0:n.unobserve(t)}}})(),this.range=null,this.setOptions=e=>{Object.entries(e).forEach(([s,t])=>{typeof t>"u"&&delete e[s]}),this.options={debug:!1,initialOffset:0,overscan:1,paddingStart:0,paddingEnd:0,scrollPaddingStart:0,scrollPaddingEnd:0,horizontal:!1,getItemKey:R,rangeExtractor:k,onChange:()=>{},measureElement:W,initialRect:{width:0,height:0},scrollMargin:0,gap:0,indexAttribute:"data-index",initialMeasurementsCache:[],lanes:1,isScrollingResetDelay:150,enabled:!0,...e}},this.notify=(e,s)=>{var t,n;const{startIndex:i,endIndex:r}=this.range??{startIndex:void 0,endIndex:void 0},l=this.calculateRange();(e||i!==(l==null?void 0:l.startIndex)||r!==(l==null?void 0:l.endIndex))&&((n=(t=this.options).onChange)==null||n.call(t,this,s))},this.cleanup=()=>{this.unsubs.filter(Boolean).forEach(e=>e()),this.unsubs=[],this.scrollElement=null,this.targetWindow=null,this.observer.disconnect(),this.elementsCache.clear()},this._didMount=()=>()=>{this.cleanup()},this._willUpdate=()=>{var e;const s=this.options.enabled?this.options.getScrollElement():null;if(this.scrollElement!==s){if(this.cleanup(),!s){this.notify(!1,!1);return}this.scrollElement=s,this.scrollElement&&"ownerDocument"in this.scrollElement?this.targetWindow=this.scrollElement.ownerDocument.defaultView:this.targetWindow=((e=this.scrollElement)==null?void 0:e.window)??null,this._scrollToOffset(this.getScrollOffset(),{adjustments:void 0,behavior:void 0}),this.unsubs.push(this.options.observeElementRect(this,t=>{this.scrollRect=t,this.notify(!1,!1)})),this.unsubs.push(this.options.observeElementOffset(this,(t,n)=>{this.scrollAdjustments=0,this.scrollDirection=n?this.getScrollOffset()this.options.enabled?(this.scrollRect=this.scrollRect??this.options.initialRect,this.scrollRect[this.options.horizontal?"width":"height"]):(this.scrollRect=null,0),this.getScrollOffset=()=>this.options.enabled?(this.scrollOffset=this.scrollOffset??(typeof this.options.initialOffset=="function"?this.options.initialOffset():this.options.initialOffset),this.scrollOffset):(this.scrollOffset=null,0),this.getFurthestMeasurement=(e,s)=>{const t=new Map,n=new Map;for(let i=s-1;i>=0;i--){const r=e[i];if(t.has(r.lane))continue;const l=n.get(r.lane);if(l==null||r.end>l.end?n.set(r.lane,r):r.endi.end===r.end?i.index-r.index:i.end-r.end)[0]:void 0},this.getMeasurementOptions=x(()=>[this.options.count,this.options.paddingStart,this.options.scrollMargin,this.options.getItemKey,this.options.enabled],(e,s,t,n,i)=>(this.pendingMeasuredCacheIndexes=[],{count:e,paddingStart:s,scrollMargin:t,getItemKey:n,enabled:i}),{key:!1}),this.getMeasurements=x(()=>[this.getMeasurementOptions(),this.itemSizeCache],({count:e,paddingStart:s,scrollMargin:t,getItemKey:n,enabled:i},r)=>{var l;if(!i)return this.measurementsCache=[],this.itemSizeCache.clear(),[];this.measurementsCache.length===0&&(this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(a=>{this.itemSizeCache.set(a.key,a.size)}));const u=this.pendingMeasuredCacheIndexes.length>0?Math.min(...this.pendingMeasuredCacheIndexes):0;this.pendingMeasuredCacheIndexes=[];const c=this.measurementsCache.slice(0,u);for(let a=u;a{const I=n(a),b=this.elementsCache.get(I);if(!p){b&&(this.observer.unobserve(b),this.elementsCache.delete(I));return}b!==p&&(b&&this.observer.unobserve(b),this.observer.observe(p),this.elementsCache.set(I,p)),p.isConnected&&this.resizeItem(a,this.options.measureElement(p,void 0,this))});const g=n(a),d=this.options.lanes===1?c[a-1]:this.getFurthestMeasurement(c,a),M=d?d.end+this.options.gap:s+t,v=r.get(g),f=typeof v=="number"?v:this.options.estimateSize(a),S=M+f,C=d?d.lane:a%this.options.lanes;c[a]={index:a,start:M,size:f,end:S,key:g,lane:C,measureElement:m}}return this.measurementsCache=c,c},{key:!1,debug:()=>this.options.debug}),this.calculateRange=x(()=>[this.getMeasurements(),this.getSize(),this.getScrollOffset()],(e,s,t)=>this.range=e.length>0&&s>0?P({measurements:e,outerSize:s,scrollOffset:t}):null,{key:!1,debug:()=>this.options.debug}),this.getIndexes=x(()=>[this.options.rangeExtractor,this.calculateRange(),this.options.overscan,this.options.count],(e,s,t,n)=>s===null?[]:e({startIndex:s.startIndex,endIndex:s.endIndex,overscan:t,count:n}),{key:!1,debug:()=>this.options.debug}),this.indexFromElement=e=>{const s=this.options.indexAttribute,t=e.getAttribute(s);return t?parseInt(t,10):(console.warn(`Missing attribute name '${s}={index}' on measured element.`),-1)},this._measureElement=(e,s)=>{const t=this.indexFromElement(e),n=this.getMeasurements()[t];if(!n||!e.isConnected){this.elementsCache.forEach((r,l)=>{r===e&&(this.observer.unobserve(e),this.elementsCache.delete(l))});return}const i=this.elementsCache.get(n.key);i!==e&&(i&&this.observer.unobserve(i),this.observer.observe(e),this.elementsCache.set(n.key,e)),this.resizeItem(t,this.options.measureElement(e,s,this))},this.resizeItem=(e,s)=>{const t=this.getMeasurements()[e];if(!t)return;const n=this.itemSizeCache.get(t.key)??t.size,i=s-n;i!==0&&((this.shouldAdjustScrollPositionOnItemSizeChange!==void 0?this.shouldAdjustScrollPositionOnItemSizeChange(t,i,this):t.start{e&&this._measureElement(e,void 0)},this.getVirtualItems=x(()=>[this.getIndexes(),this.getMeasurements()],(e,s)=>{const t=[];for(let n=0,i=e.length;nthis.options.debug}),this.getVirtualItemForOffset=e=>{const s=this.getMeasurements();if(s.length!==0)return z(s[O(0,s.length-1,t=>z(s[t]).start,e)])},this.getOffsetForAlignment=(e,s)=>{const t=this.getSize(),n=this.getScrollOffset();s==="auto"&&(e<=n?s="start":e>=n+t?s="end":s="start"),s==="start"?e=e:s==="end"?e=e-t:s==="center"&&(e=e-t/2);const i=this.options.horizontal?"scrollWidth":"scrollHeight",l=(this.scrollElement?"document"in this.scrollElement?this.scrollElement.document.documentElement[i]:this.scrollElement[i]:0)-t;return Math.max(Math.min(l,e),0)},this.getOffsetForIndex=(e,s="auto")=>{e=Math.max(0,Math.min(e,this.options.count-1));const t=this.getMeasurements()[e];if(!t)return;const n=this.getSize(),i=this.getScrollOffset();if(s==="auto")if(t.end>=i+n-this.options.scrollPaddingEnd)s="end";else if(t.start<=i+this.options.scrollPaddingStart)s="start";else return[i,s];const r=s==="end"?t.end+this.options.scrollPaddingEnd:t.start-this.options.scrollPaddingStart;return[this.getOffsetForAlignment(r,s),s]},this.isDynamicMode=()=>this.elementsCache.size>0,this.cancelScrollToIndex=()=>{this.scrollToIndexTimeoutId!==null&&this.targetWindow&&(this.targetWindow.clearTimeout(this.scrollToIndexTimeoutId),this.scrollToIndexTimeoutId=null)},this.scrollToOffset=(e,{align:s="start",behavior:t}={})=>{this.cancelScrollToIndex(),t==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getOffsetForAlignment(e,s),{adjustments:void 0,behavior:t})},this.scrollToIndex=(e,{align:s="auto",behavior:t}={})=>{e=Math.max(0,Math.min(e,this.options.count-1)),this.cancelScrollToIndex(),t==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size.");const n=this.getOffsetForIndex(e,s);if(!n)return;const[i,r]=n;this._scrollToOffset(i,{adjustments:void 0,behavior:t}),t!=="smooth"&&this.isDynamicMode()&&this.targetWindow&&(this.scrollToIndexTimeoutId=this.targetWindow.setTimeout(()=>{if(this.scrollToIndexTimeoutId=null,this.elementsCache.has(this.options.getItemKey(e))){const[u]=z(this.getOffsetForIndex(e,r));T(u,this.getScrollOffset())||this.scrollToIndex(e,{align:r,behavior:t})}else this.scrollToIndex(e,{align:r,behavior:t})}))},this.scrollBy=(e,{behavior:s}={})=>{this.cancelScrollToIndex(),s==="smooth"&&this.isDynamicMode()&&console.warn("The `smooth` scroll behavior is not fully supported with dynamic size."),this._scrollToOffset(this.getScrollOffset()+e,{adjustments:void 0,behavior:s})},this.getTotalSize=()=>{var e;const s=this.getMeasurements();let t;return s.length===0?t=this.options.paddingStart:t=this.options.lanes===1?((e=s[s.length-1])==null?void 0:e.end)??0:Math.max(...s.slice(-this.options.lanes).map(n=>n.end)),t-this.options.scrollMargin+this.options.paddingEnd},this._scrollToOffset=(e,{adjustments:s,behavior:t})=>{this.options.scrollToFn(e,{behavior:t,adjustments:s},this)},this.measure=()=>{var e,s;this.itemSizeCache=new Map,(s=(e=this.options).onChange)==null||s.call(e,this,!1)},this.setOptions(h)}}const O=(o,h,e,s)=>{for(;o<=h;){const t=(o+h)/2|0,n=e(t);if(ns)h=t-1;else return t}return o>0?o-1:0};function P({measurements:o,outerSize:h,scrollOffset:e}){const s=o.length-1,n=O(0,s,r=>o[r].start,e);let i=n;for(;i({}),{})[1],e={...o,onChange:(t,n)=>{var i;n?y.flushSync(h):h(),(i=o.onChange)==null||i.call(o,t,n)}},[s]=E.useState(()=>new B(e));return s.setOptions(e),E.useEffect(()=>s._didMount(),[]),L(()=>s._willUpdate()),s}function U(o){return V({observeElementRect:D,observeElementOffset:A,scrollToFn:j,...o})}export{U as u}; diff --git a/assets/inline-alert.stories-wD9HlsAA.js b/assets/inline-alert.stories-CHU6-QPb.js similarity index 97% rename from assets/inline-alert.stories-wD9HlsAA.js rename to assets/inline-alert.stories-CHU6-QPb.js index 6d89b3d5..15f8741c 100644 --- a/assets/inline-alert.stories-wD9HlsAA.js +++ b/assets/inline-alert.stories-CHU6-QPb.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-C798UXYj.js";import{c as o}from"./class-names-DnY5YZNL.js";import{c as w,d as j,e as S,f as _}from"./zoom-to-fit-icon-DdsCB6de.js";import{g as A}from"./storybook-utils-C5xEhci0.js";import"./index-0d5eMwbi.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:'"warning"'},{value:'"danger"'},{value:'"info"'}]}}}}}catch{}const q=["info","success","warning","danger"],D={component:i,title:"Inline Alert",parameters:A("Inline alert text to inform user about contextual things"),args:{title:"Alert title",children:"Alert text"}},t={},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))})},a={...s,args:{children:void 0}};var d,m,u;t.parameters={...t.parameters,docs:{...(d=t.parameters)==null?void 0:d.docs,source:{originalSource:"{}",...(u=(m=t.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:`{ +import{j as e}from"./jsx-runtime-C798UXYj.js";import{c as o}from"./class-names-DnY5YZNL.js";import{c as w,d as j,e as S,f as _}from"./zoom-to-fit-icon-DdsCB6de.js";import{g as A}from"./storybook-utils-C5xEhci0.js";import"./index-0d5eMwbi.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"],D={component:i,title:"Inline Alert",parameters:A("Inline alert text to inform user about contextual things"),args:{title:"Alert title",children:"Alert text"}},t={},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))})},a={...s,args:{children:void 0}};var d,m,u;t.parameters={...t.parameters,docs:{...(d=t.parameters)==null?void 0:d.docs,source:{originalSource:"{}",...(u=(m=t.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: { diff --git a/assets/link.stories-B4hQfoUk.js b/assets/link.stories-2GyWZWrZ.js similarity index 98% rename from assets/link.stories-B4hQfoUk.js rename to assets/link.stories-2GyWZWrZ.js index 3a15f1a4..2b76ac15 100644 --- a/assets/link.stories-B4hQfoUk.js +++ b/assets/link.stories-2GyWZWrZ.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-C798UXYj.js";import{R as u}from"./index-0d5eMwbi.js";import{S as _}from"./slot-CyLCZbOE.js";import{c as S}from"./class-names-DnY5YZNL.js";import{S as E,a as V,b as T}from"./zoom-to-fit-icon-DdsCB6de.js";import{h as j}from"./storybook-utils-C5xEhci0.js";const q={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":""},a=({variant:r="primary",className:k,children:n,LeftIcon:s,RightIcon:t,asChild:L=!1,...N})=>{const I=L?_:"a",c=S("group flex h-8 items-center gap-2 whitespace-nowrap rounded px-4 text-xs font-semibold focus:outline-none disabled:cursor-not-allowed ",q[r],k);return u.isValidElement(n)?u.cloneElement(n,{...n.props,children:e.jsxs(e.Fragment,{children:[s?e.jsx(s,{className:`${l[r]} h-3 w-3`}):null,n.props.children,t?e.jsx(t,{className:`${l[r]} h-3 w-3`}):null]}),className:c}):e.jsx(I,{...N,className:c,children:e.jsxs(e.Fragment,{children:[s?e.jsx(s,{className:`${l[r]} h-3 w-3`}):null,n,t?e.jsx(t,{className:`${l[r]} h-3 w-3`}):null]})})};try{a.displayName="Link",a.__docgenInfo={description:"",displayName:"Link",props:{asChild:{defaultValue:{value:"false"},description:"",name:"asChild",required:!1,type:{name:"boolean"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},variant:{defaultValue:{value:"primary"},description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"primary"'},{value:'"danger"'},{value:'"secondary"'},{value:'"minimal"'},{value:'"danger-secondary"'}]}},LeftIcon:{defaultValue:null,description:"",name:"LeftIcon",required:!1,type:{name:"ElementType"}},RightIcon:{defaultValue:null,description:"",name:"RightIcon",required:!1,type:{name:"ElementType"}}}}}catch{}const g={undefined:void 0,ChatIcon:E,DiagramTreeIcon:V,LockIcon:T},p={description:"Icon component",options:Object.keys(g),mapping:g},W={title:"Link",component:a,args:{children:"Link Label",LeftIcon:void 0,RightIcon:void 0},argTypes:{LeftIcon:p,RightIcon:p,asChild:j}},o={render:r=>e.jsx(a,{href:"https://www.google.de/",...r,asChild:!1,children:r.children})},i={render:r=>e.jsx(a,{...r,asChild:!0,children:e.jsx("a",{href:"https://www.google.de/",children:r.children})})},d={argTypes:{children:j},render:r=>e.jsx(a,{href:"https://www.google.de/",...r,asChild:!1,children:e.jsxs("div",{children:[e.jsx("span",{children:"Nested"}),e.jsx("span",{children:"Elements"})]})})};var m,h,f;o.parameters={...o.parameters,docs:{...(m=o.parameters)==null?void 0:m.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-C798UXYj.js";import{R as u}from"./index-0d5eMwbi.js";import{S as _}from"./slot-CyLCZbOE.js";import{c as S}from"./class-names-DnY5YZNL.js";import{S as E,a as V,b as T}from"./zoom-to-fit-icon-DdsCB6de.js";import{h as j}from"./storybook-utils-C5xEhci0.js";const q={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":""},a=({variant:r="primary",className:k,children:n,LeftIcon:s,RightIcon:t,asChild:L=!1,...N})=>{const I=L?_:"a",c=S("group flex h-8 items-center gap-2 whitespace-nowrap rounded px-4 text-xs font-semibold focus:outline-none disabled:cursor-not-allowed ",q[r],k);return u.isValidElement(n)?u.cloneElement(n,{...n.props,children:e.jsxs(e.Fragment,{children:[s?e.jsx(s,{className:`${l[r]} h-3 w-3`}):null,n.props.children,t?e.jsx(t,{className:`${l[r]} h-3 w-3`}):null]}),className:c}):e.jsx(I,{...N,className:c,children:e.jsxs(e.Fragment,{children:[s?e.jsx(s,{className:`${l[r]} h-3 w-3`}):null,n,t?e.jsx(t,{className:`${l[r]} h-3 w-3`}):null]})})};try{a.displayName="Link",a.__docgenInfo={description:"",displayName:"Link",props:{asChild:{defaultValue:{value:"false"},description:"",name:"asChild",required:!1,type:{name:"boolean"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},variant:{defaultValue:{value:"primary"},description:"",name:"variant",required:!1,type:{name:"enum",value:[{value:'"danger"'},{value:'"primary"'},{value:'"secondary"'},{value:'"minimal"'},{value:'"danger-secondary"'}]}},LeftIcon:{defaultValue:null,description:"",name:"LeftIcon",required:!1,type:{name:"ElementType"}},RightIcon:{defaultValue:null,description:"",name:"RightIcon",required:!1,type:{name:"ElementType"}}}}}catch{}const g={undefined:void 0,ChatIcon:E,DiagramTreeIcon:V,LockIcon:T},p={description:"Icon component",options:Object.keys(g),mapping:g},W={title:"Link",component:a,args:{children:"Link Label",LeftIcon:void 0,RightIcon:void 0},argTypes:{LeftIcon:p,RightIcon:p,asChild:j}},o={render:r=>e.jsx(a,{href:"https://www.google.de/",...r,asChild:!1,children:r.children})},i={render:r=>e.jsx(a,{...r,asChild:!0,children:e.jsx("a",{href:"https://www.google.de/",children:r.children})})},d={argTypes:{children:j},render:r=>e.jsx(a,{href:"https://www.google.de/",...r,asChild:!1,children:e.jsxs("div",{children:[e.jsx("span",{children:"Nested"}),e.jsx("span",{children:"Elements"})]})})};var m,h,f;o.parameters={...o.parameters,docs:{...(m=o.parameters)==null?void 0:m.docs,source:{originalSource:`{ render: args => {args.children} diff --git a/assets/listbox.stories-C0h86DQ2.js b/assets/listbox.stories-DYhiM9ac.js similarity index 90% rename from assets/listbox.stories-C0h86DQ2.js rename to assets/listbox.stories-DYhiM9ac.js index c20f01c7..a0897e2a 100644 --- a/assets/listbox.stories-C0h86DQ2.js +++ b/assets/listbox.stories-DYhiM9ac.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-C798UXYj.js";import{R as L}from"./index-0d5eMwbi.js";import{F as s}from"./form-field-BcItkMU2.js";import"./zoom-to-fit-icon-DdsCB6de.js";import"./class-names-DnY5YZNL.js";import"./use-resolve-button-type-D_6M6Au0.js";import"./keyboard-C2Ifhsxt.js";import"./use-sync-refs-DqQDZvJ6.js";import"./form-fields-BO6Mx8Dn.js";import"./index-p-ac5bmP.js";import"./hidden-BrNieFV6.js";import"./description-D9Ee5mtv.js";import"./label-BBnH-iCi.js";import"./bugs-DpEN4NTH.js";import"./focus-management-DaVlPEX1.js";import"./use-text-value-ehRDfXkw.js";import"./floating-B_VM8zae.js";import"./use-inert-others-pmawKl3V.js";import"./portal-wGpXArpj.js";import"./use-server-handoff-complete-JgOu4JLg.js";import"./open-closed-DC3t9YEZ.js";import"./badge-Da1HxQE-.js";import"./index-DzUTkZLd.js";import"./use-event-listener-CochUv0b.js";import"./active-element-history-DI7yoVCB.js";import"./tag-C9CGXtt3.js";const Q={title:"Input/Listbox",component:s.Listbox},v=[{id:1,name:"John Lennon",isDead:!0},{id:2,name:"Kenton Towne"},{id:3,name:"Therese Wunsch"},{id:4,name:"Benedict Kessler"},{id:5,name:"Katelyn Rohan"}],B=()=>{const[t,i]=L.useState(null);return e.jsxs(s,{children:[e.jsxs(s.LabelGroup,{children:[e.jsx(s.Label,{htmlFor:"value",children:"Label"}),e.jsx(s.Description,{id:"value-description",children:"Description"})]}),e.jsxs(s.Listbox,{value:t,onChange:i,children:[e.jsx(s.Listbox.Button,{children:e.jsx(s.Listbox.Button.TextValue,{value:(t==null?void 0:t.name)??null,placeholder:"Select..."})}),e.jsx(s.Listbox.Options,{children:v.map(o=>e.jsx(s.Listbox.Option,{value:o,disabled:o.isDead,children:e.jsx(s.Listbox.Option.TextOption,{children:o.name})},o.id))})]})]})},g=({disabled:t})=>{const[i,o]=L.useState(null);return e.jsxs(s,{children:[e.jsxs(s.LabelGroup,{children:[e.jsx(s.Label,{htmlFor:"value",children:"Label"}),e.jsx(s.Description,{id:"value-description",children:"Description"})]}),e.jsxs(s.Listbox,{value:i,onChange:o,children:[e.jsx(s.Listbox.Button,{disabled:t,children:e.jsx(s.Listbox.Button.BadgeValue,{value:(i==null?void 0:i.name)??null,placeholder:"Select …"})}),e.jsx(s.Listbox.Options,{children:v.map(d=>e.jsx(s.Listbox.Option,{value:d,children:e.jsx(s.Listbox.Option.BadgeOption,{children:d.name})},d.id))})]})]})},r={render:()=>e.jsx("div",{className:"w-72",children:e.jsx(B,{})})},a={render:()=>e.jsx("div",{className:"w-72",children:e.jsx(g,{})})},n={render:()=>e.jsx("div",{className:"w-72",children:e.jsx(g,{disabled:!0})})};var l,c,m;r.parameters={...r.parameters,docs:{...(l=r.parameters)==null?void 0:l.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-C798UXYj.js";import{R as L}from"./index-0d5eMwbi.js";import{F as s}from"./form-field-BtJxu7hP.js";import"./zoom-to-fit-icon-DdsCB6de.js";import"./class-names-DnY5YZNL.js";import"./use-resolve-button-type-D_6M6Au0.js";import"./keyboard-C2Ifhsxt.js";import"./use-sync-refs-DqQDZvJ6.js";import"./form-fields-B2NmhAAW.js";import"./index-BoyHNU0R.js";import"./hidden-BrNieFV6.js";import"./description-D9Ee5mtv.js";import"./label-BBnH-iCi.js";import"./bugs-DpEN4NTH.js";import"./focus-management-DaVlPEX1.js";import"./use-text-value-ehRDfXkw.js";import"./floating-ERp4LevH.js";import"./use-inert-others-CzqV763I.js";import"./portal-CLj4HHuk.js";import"./use-server-handoff-complete-JgOu4JLg.js";import"./open-closed-DC3t9YEZ.js";import"./badge-Da1HxQE-.js";import"./index-h1jAayoZ.js";import"./use-event-listener-CochUv0b.js";import"./active-element-history-DI7yoVCB.js";import"./tag-C9CGXtt3.js";const Q={title:"Input/Listbox",component:s.Listbox},v=[{id:1,name:"John Lennon",isDead:!0},{id:2,name:"Kenton Towne"},{id:3,name:"Therese Wunsch"},{id:4,name:"Benedict Kessler"},{id:5,name:"Katelyn Rohan"}],B=()=>{const[t,i]=L.useState(null);return e.jsxs(s,{children:[e.jsxs(s.LabelGroup,{children:[e.jsx(s.Label,{htmlFor:"value",children:"Label"}),e.jsx(s.Description,{id:"value-description",children:"Description"})]}),e.jsxs(s.Listbox,{value:t,onChange:i,children:[e.jsx(s.Listbox.Button,{children:e.jsx(s.Listbox.Button.TextValue,{value:(t==null?void 0:t.name)??null,placeholder:"Select..."})}),e.jsx(s.Listbox.Options,{children:v.map(o=>e.jsx(s.Listbox.Option,{value:o,disabled:o.isDead,children:e.jsx(s.Listbox.Option.TextOption,{children:o.name})},o.id))})]})]})},g=({disabled:t})=>{const[i,o]=L.useState(null);return e.jsxs(s,{children:[e.jsxs(s.LabelGroup,{children:[e.jsx(s.Label,{htmlFor:"value",children:"Label"}),e.jsx(s.Description,{id:"value-description",children:"Description"})]}),e.jsxs(s.Listbox,{value:i,onChange:o,children:[e.jsx(s.Listbox.Button,{disabled:t,children:e.jsx(s.Listbox.Button.BadgeValue,{value:(i==null?void 0:i.name)??null,placeholder:"Select …"})}),e.jsx(s.Listbox.Options,{children:v.map(d=>e.jsx(s.Listbox.Option,{value:d,children:e.jsx(s.Listbox.Option.BadgeOption,{children:d.name})},d.id))})]})]})},r={render:()=>e.jsx("div",{className:"w-72",children:e.jsx(B,{})})},a={render:()=>e.jsx("div",{className:"w-72",children:e.jsx(g,{})})},n={render:()=>e.jsx("div",{className:"w-72",children:e.jsx(g,{disabled:!0})})};var l,c,m;r.parameters={...r.parameters,docs:{...(l=r.parameters)==null?void 0:l.docs,source:{originalSource:`{ render: () =>
diff --git a/assets/menu-CdQONHKi.js b/assets/menu-BbZFQK8W.js similarity index 98% rename from assets/menu-CdQONHKi.js rename to assets/menu-BbZFQK8W.js index d4108a58..e3c4c7d9 100644 --- a/assets/menu-CdQONHKi.js +++ b/assets/menu-BbZFQK8W.js @@ -1 +1 @@ -import{j as w}from"./jsx-runtime-C798UXYj.js";import{$ as fe,a as ve,w as Ie,e as ye}from"./use-resolve-button-type-D_6M6Au0.js";import{r as v,R as D}from"./index-0d5eMwbi.js";import{r as O}from"./index-p-ac5bmP.js";import{s as be,F as ge,a as xe,u as he,c as y,f as q}from"./use-text-value-ehRDfXkw.js";import{M as Z,L as N,y as K,o as g,D as k,u as te,W as re,p as Se,n as j,a as Ee}from"./use-sync-refs-DqQDZvJ6.js";import{M as Me,F as _e,y as Pe,x as $e,R as Re,b as we,d as De}from"./floating-B_VM8zae.js";import{y as Ne}from"./use-inert-others-pmawKl3V.js";import{R as ke,n as Te,m as Fe,f as Ce,r as Ae}from"./portal-wGpXArpj.js";import{c as Oe,i as L,u as je,x as Le,R as Ke}from"./open-closed-DC3t9YEZ.js";import{r as Qe}from"./bugs-DpEN4NTH.js";import{A as Be,h as Ve,j as qe,F as ee,G as ne,_ as Ue}from"./focus-management-DaVlPEX1.js";import{w as Ge}from"./description-D9Ee5mtv.js";import{o as I}from"./keyboard-C2Ifhsxt.js";import{K as ae,P as He}from"./label-BBnH-iCi.js";import{M as ze}from"./menu-info-item-CC1TeP-c.js";import{M as Je}from"./menu-separator-yO-BIXMb.js";import{M as We}from"./menu-title-DpAy2147.js";var Xe=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Xe||{}),Ye=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(Ye||{}),Ze=(e=>(e[e.OpenMenu=0]="OpenMenu",e[e.CloseMenu=1]="CloseMenu",e[e.GoToItem=2]="GoToItem",e[e.Search=3]="Search",e[e.ClearSearch=4]="ClearSearch",e[e.RegisterItem=5]="RegisterItem",e[e.UnregisterItem=6]="UnregisterItem",e[e.SetButtonElement=7]="SetButtonElement",e[e.SetItemsElement=8]="SetItemsElement",e))(Ze||{});function U(e,r=a=>a){let a=e.activeItemIndex!==null?e.items[e.activeItemIndex]:null,n=Ue(r(e.items.slice()),s=>s.dataRef.current.domRef.current),o=a?n.indexOf(a):null;return o===-1&&(o=null),{items:n,activeItemIndex:o}}let et={1(e){return e.menuState===1?e:{...e,activeItemIndex:null,menuState:1}},0(e){return e.menuState===0?e:{...e,__demoMode:!1,menuState:0}},2:(e,r)=>{var a,n,o,s,i;if(e.menuState===1)return e;let d={...e,searchQuery:"",activationTrigger:(a=r.trigger)!=null?a:1,__demoMode:!1};if(r.focus===y.Nothing)return{...d,activeItemIndex:null};if(r.focus===y.Specific)return{...d,activeItemIndex:e.items.findIndex(c=>c.id===r.id)};if(r.focus===y.Previous){let c=e.activeItemIndex;if(c!==null){let b=e.items[c].dataRef.current.domRef,t=q(r,{resolveItems:()=>e.items,resolveActiveIndex:()=>e.activeItemIndex,resolveId:u=>u.id,resolveDisabled:u=>u.dataRef.current.disabled});if(t!==null){let u=e.items[t].dataRef.current.domRef;if(((n=b.current)==null?void 0:n.previousElementSibling)===u.current||((o=u.current)==null?void 0:o.previousElementSibling)===null)return{...d,activeItemIndex:t}}}}else if(r.focus===y.Next){let c=e.activeItemIndex;if(c!==null){let b=e.items[c].dataRef.current.domRef,t=q(r,{resolveItems:()=>e.items,resolveActiveIndex:()=>e.activeItemIndex,resolveId:u=>u.id,resolveDisabled:u=>u.dataRef.current.disabled});if(t!==null){let u=e.items[t].dataRef.current.domRef;if(((s=b.current)==null?void 0:s.nextElementSibling)===u.current||((i=u.current)==null?void 0:i.nextElementSibling)===null)return{...d,activeItemIndex:t}}}}let m=U(e),p=q(r,{resolveItems:()=>m.items,resolveActiveIndex:()=>m.activeItemIndex,resolveId:c=>c.id,resolveDisabled:c=>c.dataRef.current.disabled});return{...d,...m,activeItemIndex:p}},3:(e,r)=>{let a=e.searchQuery!==""?0:1,n=e.searchQuery+r.value.toLowerCase(),o=(e.activeItemIndex!==null?e.items.slice(e.activeItemIndex+a).concat(e.items.slice(0,e.activeItemIndex+a)):e.items).find(i=>{var d;return((d=i.dataRef.current.textValue)==null?void 0:d.startsWith(n))&&!i.dataRef.current.disabled}),s=o?e.items.indexOf(o):-1;return s===-1||s===e.activeItemIndex?{...e,searchQuery:n}:{...e,searchQuery:n,activeItemIndex:s,activationTrigger:1}},4(e){return e.searchQuery===""?e:{...e,searchQuery:"",searchActiveItemIndex:null}},5:(e,r)=>{let a=U(e,n=>[...n,{id:r.id,dataRef:r.dataRef}]);return{...e,...a}},6:(e,r)=>{let a=U(e,n=>{let o=n.findIndex(s=>s.id===r.id);return o!==-1&&n.splice(o,1),n});return{...e,...a,activationTrigger:1}},7:(e,r)=>e.buttonElement===r.element?e:{...e,buttonElement:r.element},8:(e,r)=>e.itemsElement===r.element?e:{...e,itemsElement:r.element}},J=v.createContext(null);J.displayName="MenuContext";function Q(e){let r=v.useContext(J);if(r===null){let a=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(a,Q),a}return r}function tt(e,r){return te(r.type,et,e,r)}let rt=v.Fragment;function nt(e,r){let{__demoMode:a=!1,...n}=e,o=v.useReducer(tt,{__demoMode:a,menuState:a?0:1,buttonElement:null,itemsElement:null,items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),[{menuState:s,itemsElement:i,buttonElement:d},m]=o,p=K(r);ke(s===0,[d,i],(M,h)=>{m({type:1}),Be(h,Ve.Loose)||(M.preventDefault(),d==null||d.focus())});let c=g(()=>{m({type:1})}),b=v.useMemo(()=>({open:s===0,close:c}),[s,c]),t={ref:p},u=k();return D.createElement(Me,null,D.createElement(J.Provider,{value:o},D.createElement(Oe,{value:te(s,{0:L.Open,1:L.Closed})},u({ourProps:t,theirProps:n,slot:b,defaultTag:rt,name:"Menu"}))))}let at="button";function ot(e,r){var a;let n=v.useId(),{id:o=`headlessui-menu-button-${n}`,disabled:s=!1,autoFocus:i=!1,...d}=e,[m,p]=Q("Menu.Button"),c=_e(),b=K(r,Pe(),g(f=>p({type:7,element:f}))),t=g(f=>{switch(f.key){case I.Space:case I.Enter:case I.ArrowDown:f.preventDefault(),f.stopPropagation(),O.flushSync(()=>p({type:0})),p({type:2,focus:y.First});break;case I.ArrowUp:f.preventDefault(),f.stopPropagation(),O.flushSync(()=>p({type:0})),p({type:2,focus:y.Last});break}}),u=g(f=>{switch(f.key){case I.Space:f.preventDefault();break}}),M=g(f=>{var C;if(Qe(f.currentTarget))return f.preventDefault();s||(m.menuState===0?(O.flushSync(()=>p({type:1})),(C=m.buttonElement)==null||C.focus({preventScroll:!0})):(f.preventDefault(),p({type:0})))}),{isFocusVisible:h,focusProps:_}=fe({autoFocus:i}),{isHovered:P,hoverProps:T}=ve({isDisabled:s}),{pressed:$,pressProps:S}=Ie({disabled:s}),F=v.useMemo(()=>({open:m.menuState===0,active:$||m.menuState===0,disabled:s,hover:P,focus:h,autofocus:i}),[m,P,h,$,s,i]),R=re(c(),{ref:b,id:o,type:ye(e,m.buttonElement),"aria-haspopup":"menu","aria-controls":(a=m.itemsElement)==null?void 0:a.id,"aria-expanded":m.menuState===0,disabled:s||void 0,autoFocus:i,onKeyDown:t,onKeyUp:u,onClick:M},_,T,S);return k()({ourProps:R,theirProps:d,slot:F,defaultTag:at,name:"Menu.Button"})}let lt="div",ut=Z.RenderStrategy|Z.Static;function st(e,r){var a,n;let o=v.useId(),{id:s=`headlessui-menu-items-${o}`,anchor:i,portal:d=!1,modal:m=!0,transition:p=!1,...c}=e,b=$e(i),[t,u]=Q("Menu.Items"),[M,h]=Re(b),_=we(),[P,T]=v.useState(null),$=K(r,b?M:null,g(l=>u({type:8,element:l})),T),S=Te(t.itemsElement);b&&(d=!0);let F=je(),[R,f]=Le(p,P,F!==null?(F&L.Open)===L.Open:t.menuState===0);Fe(R,t.buttonElement,()=>{u({type:1})});let C=t.__demoMode?!1:m&&t.menuState===0;Ce(C,S);let B=t.__demoMode?!1:m&&t.menuState===0;Ne(B,{allowed:v.useCallback(()=>[t.buttonElement,t.itemsElement],[t.buttonElement,t.itemsElement])});let V=t.menuState!==0,x=be(V,t.buttonElement)?!1:R;v.useEffect(()=>{let l=t.itemsElement;l&&t.menuState===0&&l!==(S==null?void 0:S.activeElement)&&l.focus({preventScroll:!0})},[t.menuState,t.itemsElement,S]),ge(t.menuState===0,{container:t.itemsElement,accept(l){return l.getAttribute("role")==="menuitem"?NodeFilter.FILTER_REJECT:l.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(l){l.setAttribute("role","none")}});let A=Se(),se=g(l=>{var W,X,Y;switch(A.dispose(),l.key){case I.Space:if(t.searchQuery!=="")return l.preventDefault(),l.stopPropagation(),u({type:3,value:l.key});case I.Enter:if(l.preventDefault(),l.stopPropagation(),u({type:1}),t.activeItemIndex!==null){let{dataRef:pe}=t.items[t.activeItemIndex];(X=(W=pe.current)==null?void 0:W.domRef.current)==null||X.click()}ne(t.buttonElement);break;case I.ArrowDown:return l.preventDefault(),l.stopPropagation(),u({type:2,focus:y.Next});case I.ArrowUp:return l.preventDefault(),l.stopPropagation(),u({type:2,focus:y.Previous});case I.Home:case I.PageUp:return l.preventDefault(),l.stopPropagation(),u({type:2,focus:y.First});case I.End:case I.PageDown:return l.preventDefault(),l.stopPropagation(),u({type:2,focus:y.Last});case I.Escape:l.preventDefault(),l.stopPropagation(),O.flushSync(()=>u({type:1})),(Y=t.buttonElement)==null||Y.focus({preventScroll:!0});break;case I.Tab:l.preventDefault(),l.stopPropagation(),O.flushSync(()=>u({type:1})),qe(t.buttonElement,l.shiftKey?ee.Previous:ee.Next);break;default:l.key.length===1&&(u({type:3,value:l.key}),A.setTimeout(()=>u({type:4}),350));break}}),ie=g(l=>{switch(l.key){case I.Space:l.preventDefault();break}}),de=v.useMemo(()=>({open:t.menuState===0}),[t.menuState]),me=re(b?_():{},{"aria-activedescendant":t.activeItemIndex===null||(a=t.items[t.activeItemIndex])==null?void 0:a.id,"aria-labelledby":(n=t.buttonElement)==null?void 0:n.id,id:s,onKeyDown:se,onKeyUp:ie,role:"menu",tabIndex:t.menuState===0?0:void 0,ref:$,style:{...c.style,...h,"--button-width":De(t.buttonElement,!0).width},...Ke(f)}),ce=k();return D.createElement(Ae,{enabled:d?e.static||R:!1},ce({ourProps:me,theirProps:c,slot:de,defaultTag:lt,features:ut,visible:x,name:"Menu.Items"}))}let it=v.Fragment;function dt(e,r){let a=v.useId(),{id:n=`headlessui-menu-item-${a}`,disabled:o=!1,...s}=e,[i,d]=Q("Menu.Item"),m=i.activeItemIndex!==null?i.items[i.activeItemIndex].id===n:!1,p=v.useRef(null),c=K(r,p);j(()=>{if(!i.__demoMode&&i.menuState===0&&m&&i.activationTrigger!==0)return Ee().requestAnimationFrame(()=>{var x,A;(A=(x=p.current)==null?void 0:x.scrollIntoView)==null||A.call(x,{block:"nearest"})})},[i.__demoMode,p,m,i.menuState,i.activationTrigger,i.activeItemIndex]);let b=xe(p),t=v.useRef({disabled:o,domRef:p,get textValue(){return b()}});j(()=>{t.current.disabled=o},[t,o]),j(()=>(d({type:5,id:n,dataRef:t}),()=>d({type:6,id:n})),[t,n]);let u=g(()=>{d({type:1})}),M=g(x=>{if(o)return x.preventDefault();d({type:1}),ne(i.buttonElement)}),h=g(()=>{if(o)return d({type:2,focus:y.Nothing});d({type:2,focus:y.Specific,id:n})}),_=he(),P=g(x=>{_.update(x),!o&&(m||d({type:2,focus:y.Specific,id:n,trigger:0}))}),T=g(x=>{_.wasMoved(x)&&(o||m||d({type:2,focus:y.Specific,id:n,trigger:0}))}),$=g(x=>{_.wasMoved(x)&&(o||m&&d({type:2,focus:y.Nothing}))}),[S,F]=ae(),[R,f]=Ge(),C=v.useMemo(()=>({active:m,focus:m,disabled:o,close:u}),[m,o,u]),B={id:n,ref:c,role:"menuitem",tabIndex:o===!0?void 0:-1,"aria-disabled":o===!0?!0:void 0,"aria-labelledby":S,"aria-describedby":R,disabled:void 0,onClick:M,onFocus:h,onPointerEnter:P,onMouseEnter:P,onPointerMove:T,onMouseMove:T,onPointerLeave:$,onMouseLeave:$},V=k();return D.createElement(F,null,D.createElement(f,null,V({ourProps:B,theirProps:s,slot:C,defaultTag:it,name:"Menu.Item"})))}let mt="div";function ct(e,r){let[a,n]=ae(),o=e,s={ref:r,"aria-labelledby":a,role:"group"},i=k();return D.createElement(n,null,i({ourProps:s,theirProps:o,slot:{},defaultTag:mt,name:"Menu.Section"}))}let pt="header";function ft(e,r){let a=v.useId(),{id:n=`headlessui-menu-heading-${a}`,...o}=e,s=He();j(()=>s.register(n),[n,s.register]);let i={id:n,ref:r,role:"presentation",...s.props};return k()({ourProps:i,theirProps:o,slot:{},defaultTag:pt,name:"Menu.Heading"})}let vt="div";function It(e,r){let a=e,n={ref:r,role:"separator"};return k()({ourProps:n,theirProps:a,slot:{},defaultTag:vt,name:"Menu.Separator"})}let yt=N(nt),oe=N(ot),le=N(st),ue=N(dt),bt=N(ct),gt=N(ft),xt=N(It),ht=Object.assign(yt,{Button:oe,Items:le,Item:ue,Section:bt,Heading:gt,Separator:xt});const G=({children:e,className:r})=>w.jsx(oe,{as:"div",className:r,children:e});try{G.displayName="MenuButton",G.__docgenInfo={description:"",displayName:"MenuButton",props:{className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}}}}}catch{}const H=({children:e,LeftIcon:r,disabled:a=!1,onClick:n})=>w.jsx(ue,{disabled:a,children:w.jsxs("button",{type:"button",className:"group relative flex w-full cursor-pointer items-center gap-4 bg-neutral-0 px-4 py-2.5 hover:bg-neutral-100 disabled:bg-neutral-0 data-[focus]:bg-neutral-200",disabled:a,onKeyDown:n,onClick:n,children:[r?w.jsx(r,{className:"h-4 w-4 fill-neutral-600 group-disabled:fill-neutral-400"}):null,w.jsx("div",{className:"paragraph-200 text-neutral-800 group-disabled:text-neutral-400",children:e})]})});try{H.displayName="MenuItem",H.__docgenInfo={description:"",displayName:"MenuItem",props:{LeftIcon:{defaultValue:null,description:"",name:"LeftIcon",required:!1,type:{name:"ElementType"}},disabled:{defaultValue:{value:"false"},description:"",name:"disabled",required:!1,type:{name:"boolean"}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"(() => void)"}}}}}catch{}const z=({children:e})=>w.jsx(le,{className:"absolute right-0 z-10 mt-2 flex w-52 flex-col rounded-md bg-neutral-0 py-2 shadow-md outline-none",children:e});try{z.displayName="MenuItems",z.__docgenInfo={description:"",displayName:"MenuItems",props:{}}}catch{}const E=({children:e})=>w.jsx(ht,{as:"div",className:"relative",children:e});E.Button=G;E.Items=z;E.Title=We;E.Item=H;E.InfoItem=ze;E.Separator=Je;try{E.displayName="Menu",E.__docgenInfo={description:"",displayName:"Menu",props:{}}}catch{}export{H as M,E as a}; +import{j as w}from"./jsx-runtime-C798UXYj.js";import{$ as fe,a as ve,w as Ie,e as ye}from"./use-resolve-button-type-D_6M6Au0.js";import{r as v,R as D}from"./index-0d5eMwbi.js";import{r as O}from"./index-BoyHNU0R.js";import{s as be,F as ge,a as xe,u as he,c as y,f as q}from"./use-text-value-ehRDfXkw.js";import{M as Z,L as N,y as K,o as g,D as k,u as te,W as re,p as Se,n as j,a as Ee}from"./use-sync-refs-DqQDZvJ6.js";import{M as Me,F as _e,y as Pe,x as $e,R as Re,b as we,d as De}from"./floating-ERp4LevH.js";import{y as Ne}from"./use-inert-others-CzqV763I.js";import{R as ke,n as Te,m as Fe,f as Ce,r as Ae}from"./portal-CLj4HHuk.js";import{c as Oe,i as L,u as je,x as Le,R as Ke}from"./open-closed-DC3t9YEZ.js";import{r as Qe}from"./bugs-DpEN4NTH.js";import{A as Be,h as Ve,j as qe,F as ee,G as ne,_ as Ue}from"./focus-management-DaVlPEX1.js";import{w as Ge}from"./description-D9Ee5mtv.js";import{o as I}from"./keyboard-C2Ifhsxt.js";import{K as ae,P as He}from"./label-BBnH-iCi.js";import{M as ze}from"./menu-info-item-CC1TeP-c.js";import{M as Je}from"./menu-separator-yO-BIXMb.js";import{M as We}from"./menu-title-DpAy2147.js";var Xe=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Xe||{}),Ye=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(Ye||{}),Ze=(e=>(e[e.OpenMenu=0]="OpenMenu",e[e.CloseMenu=1]="CloseMenu",e[e.GoToItem=2]="GoToItem",e[e.Search=3]="Search",e[e.ClearSearch=4]="ClearSearch",e[e.RegisterItem=5]="RegisterItem",e[e.UnregisterItem=6]="UnregisterItem",e[e.SetButtonElement=7]="SetButtonElement",e[e.SetItemsElement=8]="SetItemsElement",e))(Ze||{});function U(e,r=a=>a){let a=e.activeItemIndex!==null?e.items[e.activeItemIndex]:null,n=Ue(r(e.items.slice()),s=>s.dataRef.current.domRef.current),o=a?n.indexOf(a):null;return o===-1&&(o=null),{items:n,activeItemIndex:o}}let et={1(e){return e.menuState===1?e:{...e,activeItemIndex:null,menuState:1}},0(e){return e.menuState===0?e:{...e,__demoMode:!1,menuState:0}},2:(e,r)=>{var a,n,o,s,i;if(e.menuState===1)return e;let d={...e,searchQuery:"",activationTrigger:(a=r.trigger)!=null?a:1,__demoMode:!1};if(r.focus===y.Nothing)return{...d,activeItemIndex:null};if(r.focus===y.Specific)return{...d,activeItemIndex:e.items.findIndex(c=>c.id===r.id)};if(r.focus===y.Previous){let c=e.activeItemIndex;if(c!==null){let b=e.items[c].dataRef.current.domRef,t=q(r,{resolveItems:()=>e.items,resolveActiveIndex:()=>e.activeItemIndex,resolveId:u=>u.id,resolveDisabled:u=>u.dataRef.current.disabled});if(t!==null){let u=e.items[t].dataRef.current.domRef;if(((n=b.current)==null?void 0:n.previousElementSibling)===u.current||((o=u.current)==null?void 0:o.previousElementSibling)===null)return{...d,activeItemIndex:t}}}}else if(r.focus===y.Next){let c=e.activeItemIndex;if(c!==null){let b=e.items[c].dataRef.current.domRef,t=q(r,{resolveItems:()=>e.items,resolveActiveIndex:()=>e.activeItemIndex,resolveId:u=>u.id,resolveDisabled:u=>u.dataRef.current.disabled});if(t!==null){let u=e.items[t].dataRef.current.domRef;if(((s=b.current)==null?void 0:s.nextElementSibling)===u.current||((i=u.current)==null?void 0:i.nextElementSibling)===null)return{...d,activeItemIndex:t}}}}let m=U(e),p=q(r,{resolveItems:()=>m.items,resolveActiveIndex:()=>m.activeItemIndex,resolveId:c=>c.id,resolveDisabled:c=>c.dataRef.current.disabled});return{...d,...m,activeItemIndex:p}},3:(e,r)=>{let a=e.searchQuery!==""?0:1,n=e.searchQuery+r.value.toLowerCase(),o=(e.activeItemIndex!==null?e.items.slice(e.activeItemIndex+a).concat(e.items.slice(0,e.activeItemIndex+a)):e.items).find(i=>{var d;return((d=i.dataRef.current.textValue)==null?void 0:d.startsWith(n))&&!i.dataRef.current.disabled}),s=o?e.items.indexOf(o):-1;return s===-1||s===e.activeItemIndex?{...e,searchQuery:n}:{...e,searchQuery:n,activeItemIndex:s,activationTrigger:1}},4(e){return e.searchQuery===""?e:{...e,searchQuery:"",searchActiveItemIndex:null}},5:(e,r)=>{let a=U(e,n=>[...n,{id:r.id,dataRef:r.dataRef}]);return{...e,...a}},6:(e,r)=>{let a=U(e,n=>{let o=n.findIndex(s=>s.id===r.id);return o!==-1&&n.splice(o,1),n});return{...e,...a,activationTrigger:1}},7:(e,r)=>e.buttonElement===r.element?e:{...e,buttonElement:r.element},8:(e,r)=>e.itemsElement===r.element?e:{...e,itemsElement:r.element}},J=v.createContext(null);J.displayName="MenuContext";function Q(e){let r=v.useContext(J);if(r===null){let a=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(a,Q),a}return r}function tt(e,r){return te(r.type,et,e,r)}let rt=v.Fragment;function nt(e,r){let{__demoMode:a=!1,...n}=e,o=v.useReducer(tt,{__demoMode:a,menuState:a?0:1,buttonElement:null,itemsElement:null,items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),[{menuState:s,itemsElement:i,buttonElement:d},m]=o,p=K(r);ke(s===0,[d,i],(M,h)=>{m({type:1}),Be(h,Ve.Loose)||(M.preventDefault(),d==null||d.focus())});let c=g(()=>{m({type:1})}),b=v.useMemo(()=>({open:s===0,close:c}),[s,c]),t={ref:p},u=k();return D.createElement(Me,null,D.createElement(J.Provider,{value:o},D.createElement(Oe,{value:te(s,{0:L.Open,1:L.Closed})},u({ourProps:t,theirProps:n,slot:b,defaultTag:rt,name:"Menu"}))))}let at="button";function ot(e,r){var a;let n=v.useId(),{id:o=`headlessui-menu-button-${n}`,disabled:s=!1,autoFocus:i=!1,...d}=e,[m,p]=Q("Menu.Button"),c=_e(),b=K(r,Pe(),g(f=>p({type:7,element:f}))),t=g(f=>{switch(f.key){case I.Space:case I.Enter:case I.ArrowDown:f.preventDefault(),f.stopPropagation(),O.flushSync(()=>p({type:0})),p({type:2,focus:y.First});break;case I.ArrowUp:f.preventDefault(),f.stopPropagation(),O.flushSync(()=>p({type:0})),p({type:2,focus:y.Last});break}}),u=g(f=>{switch(f.key){case I.Space:f.preventDefault();break}}),M=g(f=>{var C;if(Qe(f.currentTarget))return f.preventDefault();s||(m.menuState===0?(O.flushSync(()=>p({type:1})),(C=m.buttonElement)==null||C.focus({preventScroll:!0})):(f.preventDefault(),p({type:0})))}),{isFocusVisible:h,focusProps:_}=fe({autoFocus:i}),{isHovered:P,hoverProps:T}=ve({isDisabled:s}),{pressed:$,pressProps:S}=Ie({disabled:s}),F=v.useMemo(()=>({open:m.menuState===0,active:$||m.menuState===0,disabled:s,hover:P,focus:h,autofocus:i}),[m,P,h,$,s,i]),R=re(c(),{ref:b,id:o,type:ye(e,m.buttonElement),"aria-haspopup":"menu","aria-controls":(a=m.itemsElement)==null?void 0:a.id,"aria-expanded":m.menuState===0,disabled:s||void 0,autoFocus:i,onKeyDown:t,onKeyUp:u,onClick:M},_,T,S);return k()({ourProps:R,theirProps:d,slot:F,defaultTag:at,name:"Menu.Button"})}let lt="div",ut=Z.RenderStrategy|Z.Static;function st(e,r){var a,n;let o=v.useId(),{id:s=`headlessui-menu-items-${o}`,anchor:i,portal:d=!1,modal:m=!0,transition:p=!1,...c}=e,b=$e(i),[t,u]=Q("Menu.Items"),[M,h]=Re(b),_=we(),[P,T]=v.useState(null),$=K(r,b?M:null,g(l=>u({type:8,element:l})),T),S=Te(t.itemsElement);b&&(d=!0);let F=je(),[R,f]=Le(p,P,F!==null?(F&L.Open)===L.Open:t.menuState===0);Fe(R,t.buttonElement,()=>{u({type:1})});let C=t.__demoMode?!1:m&&t.menuState===0;Ce(C,S);let B=t.__demoMode?!1:m&&t.menuState===0;Ne(B,{allowed:v.useCallback(()=>[t.buttonElement,t.itemsElement],[t.buttonElement,t.itemsElement])});let V=t.menuState!==0,x=be(V,t.buttonElement)?!1:R;v.useEffect(()=>{let l=t.itemsElement;l&&t.menuState===0&&l!==(S==null?void 0:S.activeElement)&&l.focus({preventScroll:!0})},[t.menuState,t.itemsElement,S]),ge(t.menuState===0,{container:t.itemsElement,accept(l){return l.getAttribute("role")==="menuitem"?NodeFilter.FILTER_REJECT:l.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(l){l.setAttribute("role","none")}});let A=Se(),se=g(l=>{var W,X,Y;switch(A.dispose(),l.key){case I.Space:if(t.searchQuery!=="")return l.preventDefault(),l.stopPropagation(),u({type:3,value:l.key});case I.Enter:if(l.preventDefault(),l.stopPropagation(),u({type:1}),t.activeItemIndex!==null){let{dataRef:pe}=t.items[t.activeItemIndex];(X=(W=pe.current)==null?void 0:W.domRef.current)==null||X.click()}ne(t.buttonElement);break;case I.ArrowDown:return l.preventDefault(),l.stopPropagation(),u({type:2,focus:y.Next});case I.ArrowUp:return l.preventDefault(),l.stopPropagation(),u({type:2,focus:y.Previous});case I.Home:case I.PageUp:return l.preventDefault(),l.stopPropagation(),u({type:2,focus:y.First});case I.End:case I.PageDown:return l.preventDefault(),l.stopPropagation(),u({type:2,focus:y.Last});case I.Escape:l.preventDefault(),l.stopPropagation(),O.flushSync(()=>u({type:1})),(Y=t.buttonElement)==null||Y.focus({preventScroll:!0});break;case I.Tab:l.preventDefault(),l.stopPropagation(),O.flushSync(()=>u({type:1})),qe(t.buttonElement,l.shiftKey?ee.Previous:ee.Next);break;default:l.key.length===1&&(u({type:3,value:l.key}),A.setTimeout(()=>u({type:4}),350));break}}),ie=g(l=>{switch(l.key){case I.Space:l.preventDefault();break}}),de=v.useMemo(()=>({open:t.menuState===0}),[t.menuState]),me=re(b?_():{},{"aria-activedescendant":t.activeItemIndex===null||(a=t.items[t.activeItemIndex])==null?void 0:a.id,"aria-labelledby":(n=t.buttonElement)==null?void 0:n.id,id:s,onKeyDown:se,onKeyUp:ie,role:"menu",tabIndex:t.menuState===0?0:void 0,ref:$,style:{...c.style,...h,"--button-width":De(t.buttonElement,!0).width},...Ke(f)}),ce=k();return D.createElement(Ae,{enabled:d?e.static||R:!1},ce({ourProps:me,theirProps:c,slot:de,defaultTag:lt,features:ut,visible:x,name:"Menu.Items"}))}let it=v.Fragment;function dt(e,r){let a=v.useId(),{id:n=`headlessui-menu-item-${a}`,disabled:o=!1,...s}=e,[i,d]=Q("Menu.Item"),m=i.activeItemIndex!==null?i.items[i.activeItemIndex].id===n:!1,p=v.useRef(null),c=K(r,p);j(()=>{if(!i.__demoMode&&i.menuState===0&&m&&i.activationTrigger!==0)return Ee().requestAnimationFrame(()=>{var x,A;(A=(x=p.current)==null?void 0:x.scrollIntoView)==null||A.call(x,{block:"nearest"})})},[i.__demoMode,p,m,i.menuState,i.activationTrigger,i.activeItemIndex]);let b=xe(p),t=v.useRef({disabled:o,domRef:p,get textValue(){return b()}});j(()=>{t.current.disabled=o},[t,o]),j(()=>(d({type:5,id:n,dataRef:t}),()=>d({type:6,id:n})),[t,n]);let u=g(()=>{d({type:1})}),M=g(x=>{if(o)return x.preventDefault();d({type:1}),ne(i.buttonElement)}),h=g(()=>{if(o)return d({type:2,focus:y.Nothing});d({type:2,focus:y.Specific,id:n})}),_=he(),P=g(x=>{_.update(x),!o&&(m||d({type:2,focus:y.Specific,id:n,trigger:0}))}),T=g(x=>{_.wasMoved(x)&&(o||m||d({type:2,focus:y.Specific,id:n,trigger:0}))}),$=g(x=>{_.wasMoved(x)&&(o||m&&d({type:2,focus:y.Nothing}))}),[S,F]=ae(),[R,f]=Ge(),C=v.useMemo(()=>({active:m,focus:m,disabled:o,close:u}),[m,o,u]),B={id:n,ref:c,role:"menuitem",tabIndex:o===!0?void 0:-1,"aria-disabled":o===!0?!0:void 0,"aria-labelledby":S,"aria-describedby":R,disabled:void 0,onClick:M,onFocus:h,onPointerEnter:P,onMouseEnter:P,onPointerMove:T,onMouseMove:T,onPointerLeave:$,onMouseLeave:$},V=k();return D.createElement(F,null,D.createElement(f,null,V({ourProps:B,theirProps:s,slot:C,defaultTag:it,name:"Menu.Item"})))}let mt="div";function ct(e,r){let[a,n]=ae(),o=e,s={ref:r,"aria-labelledby":a,role:"group"},i=k();return D.createElement(n,null,i({ourProps:s,theirProps:o,slot:{},defaultTag:mt,name:"Menu.Section"}))}let pt="header";function ft(e,r){let a=v.useId(),{id:n=`headlessui-menu-heading-${a}`,...o}=e,s=He();j(()=>s.register(n),[n,s.register]);let i={id:n,ref:r,role:"presentation",...s.props};return k()({ourProps:i,theirProps:o,slot:{},defaultTag:pt,name:"Menu.Heading"})}let vt="div";function It(e,r){let a=e,n={ref:r,role:"separator"};return k()({ourProps:n,theirProps:a,slot:{},defaultTag:vt,name:"Menu.Separator"})}let yt=N(nt),oe=N(ot),le=N(st),ue=N(dt),bt=N(ct),gt=N(ft),xt=N(It),ht=Object.assign(yt,{Button:oe,Items:le,Item:ue,Section:bt,Heading:gt,Separator:xt});const G=({children:e,className:r})=>w.jsx(oe,{as:"div",className:r,children:e});try{G.displayName="MenuButton",G.__docgenInfo={description:"",displayName:"MenuButton",props:{className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}}}}}catch{}const H=({children:e,LeftIcon:r,disabled:a=!1,onClick:n})=>w.jsx(ue,{disabled:a,children:w.jsxs("button",{type:"button",className:"group relative flex w-full cursor-pointer items-center gap-4 bg-neutral-0 px-4 py-2.5 hover:bg-neutral-100 disabled:bg-neutral-0 data-[focus]:bg-neutral-200",disabled:a,onKeyDown:n,onClick:n,children:[r?w.jsx(r,{className:"h-4 w-4 fill-neutral-600 group-disabled:fill-neutral-400"}):null,w.jsx("div",{className:"paragraph-200 text-neutral-800 group-disabled:text-neutral-400",children:e})]})});try{H.displayName="MenuItem",H.__docgenInfo={description:"",displayName:"MenuItem",props:{LeftIcon:{defaultValue:null,description:"",name:"LeftIcon",required:!1,type:{name:"ElementType"}},disabled:{defaultValue:{value:"false"},description:"",name:"disabled",required:!1,type:{name:"boolean"}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"(() => void)"}}}}}catch{}const z=({children:e})=>w.jsx(le,{className:"absolute right-0 z-10 mt-2 flex w-52 flex-col rounded-md bg-neutral-0 py-2 shadow-md outline-none",children:e});try{z.displayName="MenuItems",z.__docgenInfo={description:"",displayName:"MenuItems",props:{}}}catch{}const E=({children:e})=>w.jsx(ht,{as:"div",className:"relative",children:e});E.Button=G;E.Items=z;E.Title=We;E.Item=H;E.InfoItem=ze;E.Separator=Je;try{E.displayName="Menu",E.__docgenInfo={description:"",displayName:"Menu",props:{}}}catch{}export{H as M,E as a}; diff --git a/assets/menu-item.stories-CBCQ6POX.js b/assets/menu-item.stories-C6z3CClY.js similarity index 83% rename from assets/menu-item.stories-CBCQ6POX.js rename to assets/menu-item.stories-C6z3CClY.js index 3b9d1772..bee30eee 100644 --- a/assets/menu-item.stories-CBCQ6POX.js +++ b/assets/menu-item.stories-C6z3CClY.js @@ -1,4 +1,4 @@ -import{j as r}from"./jsx-runtime-C798UXYj.js";import{S as s}from"./zoom-to-fit-icon-DdsCB6de.js";import{M as n,a as i}from"./menu-CdQONHKi.js";import"./index-0d5eMwbi.js";import"./use-resolve-button-type-D_6M6Au0.js";import"./keyboard-C2Ifhsxt.js";import"./use-sync-refs-DqQDZvJ6.js";import"./index-p-ac5bmP.js";import"./use-text-value-ehRDfXkw.js";import"./floating-B_VM8zae.js";import"./use-inert-others-pmawKl3V.js";import"./portal-wGpXArpj.js";import"./focus-management-DaVlPEX1.js";import"./use-server-handoff-complete-JgOu4JLg.js";import"./open-closed-DC3t9YEZ.js";import"./bugs-DpEN4NTH.js";import"./description-D9Ee5mtv.js";import"./label-BBnH-iCi.js";import"./menu-info-item-CC1TeP-c.js";import"./menu-separator-yO-BIXMb.js";import"./menu-title-DpAy2147.js";const N={title:"Menu/MenuItem",component:n},e={argTypes:{disabled:{type:"boolean",defaultValue:!1}},render:m=>r.jsx("div",{className:"w-52",children:r.jsx(i,{children:r.jsx(n,{LeftIcon:s,...m,children:"Label"})})})};var t,o,a;e.parameters={...e.parameters,docs:{...(t=e.parameters)==null?void 0:t.docs,source:{originalSource:`{ +import{j as r}from"./jsx-runtime-C798UXYj.js";import{S as s}from"./zoom-to-fit-icon-DdsCB6de.js";import{M as n,a as i}from"./menu-BbZFQK8W.js";import"./index-0d5eMwbi.js";import"./use-resolve-button-type-D_6M6Au0.js";import"./keyboard-C2Ifhsxt.js";import"./use-sync-refs-DqQDZvJ6.js";import"./index-BoyHNU0R.js";import"./use-text-value-ehRDfXkw.js";import"./floating-ERp4LevH.js";import"./use-inert-others-CzqV763I.js";import"./portal-CLj4HHuk.js";import"./focus-management-DaVlPEX1.js";import"./use-server-handoff-complete-JgOu4JLg.js";import"./open-closed-DC3t9YEZ.js";import"./bugs-DpEN4NTH.js";import"./description-D9Ee5mtv.js";import"./label-BBnH-iCi.js";import"./menu-info-item-CC1TeP-c.js";import"./menu-separator-yO-BIXMb.js";import"./menu-title-DpAy2147.js";const N={title:"Menu/MenuItem",component:n},e={argTypes:{disabled:{type:"boolean",defaultValue:!1}},render:m=>r.jsx("div",{className:"w-52",children:r.jsx(i,{children:r.jsx(n,{LeftIcon:s,...m,children:"Label"})})})};var t,o,a;e.parameters={...e.parameters,docs:{...(t=e.parameters)==null?void 0:t.docs,source:{originalSource:`{ argTypes: { disabled: { type: "boolean", diff --git a/assets/menu.stories-CwsrV7Kh.js b/assets/menu.stories-CgnJSCFe.js similarity index 81% rename from assets/menu.stories-CwsrV7Kh.js rename to assets/menu.stories-CgnJSCFe.js index d7e0a9d8..da7e3269 100644 --- a/assets/menu.stories-CwsrV7Kh.js +++ b/assets/menu.stories-CgnJSCFe.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-C798UXYj.js";import{a as t}from"./menu-CdQONHKi.js";import"./index-0d5eMwbi.js";import"./use-resolve-button-type-D_6M6Au0.js";import"./keyboard-C2Ifhsxt.js";import"./use-sync-refs-DqQDZvJ6.js";import"./index-p-ac5bmP.js";import"./use-text-value-ehRDfXkw.js";import"./floating-B_VM8zae.js";import"./use-inert-others-pmawKl3V.js";import"./portal-wGpXArpj.js";import"./focus-management-DaVlPEX1.js";import"./use-server-handoff-complete-JgOu4JLg.js";import"./open-closed-DC3t9YEZ.js";import"./bugs-DpEN4NTH.js";import"./description-D9Ee5mtv.js";import"./label-BBnH-iCi.js";import"./menu-info-item-CC1TeP-c.js";import"./menu-separator-yO-BIXMb.js";import"./menu-title-DpAy2147.js";const O={title:"Menu",component:t},n={render:()=>e.jsx("div",{className:"w-52",children:e.jsxs(t,{children:[e.jsx(t.Button,{children:"Open Menu"}),e.jsxs(t.Items,{children:[e.jsx(t.Title,{children:"TITLE"}),e.jsx(t.Item,{disabled:!1,children:"Label"}),e.jsx(t.Item,{children:"Label"}),e.jsx(t.Item,{children:"Label"})]})]})})};var r,m,i;n.parameters={...n.parameters,docs:{...(r=n.parameters)==null?void 0:r.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-C798UXYj.js";import{a as t}from"./menu-BbZFQK8W.js";import"./index-0d5eMwbi.js";import"./use-resolve-button-type-D_6M6Au0.js";import"./keyboard-C2Ifhsxt.js";import"./use-sync-refs-DqQDZvJ6.js";import"./index-BoyHNU0R.js";import"./use-text-value-ehRDfXkw.js";import"./floating-ERp4LevH.js";import"./use-inert-others-CzqV763I.js";import"./portal-CLj4HHuk.js";import"./focus-management-DaVlPEX1.js";import"./use-server-handoff-complete-JgOu4JLg.js";import"./open-closed-DC3t9YEZ.js";import"./bugs-DpEN4NTH.js";import"./description-D9Ee5mtv.js";import"./label-BBnH-iCi.js";import"./menu-info-item-CC1TeP-c.js";import"./menu-separator-yO-BIXMb.js";import"./menu-title-DpAy2147.js";const O={title:"Menu",component:t},n={render:()=>e.jsx("div",{className:"w-52",children:e.jsxs(t,{children:[e.jsx(t.Button,{children:"Open Menu"}),e.jsxs(t.Items,{children:[e.jsx(t.Title,{children:"TITLE"}),e.jsx(t.Item,{disabled:!1,children:"Label"}),e.jsx(t.Item,{children:"Label"}),e.jsx(t.Item,{children:"Label"})]})]})})};var r,m,i;n.parameters={...n.parameters,docs:{...(r=n.parameters)==null?void 0:r.docs,source:{originalSource:`{ render: () =>
Open Menu diff --git a/assets/multi-combobox.stories-B4nv8weL.js b/assets/multi-combobox.stories-B81csaxo.js similarity index 94% rename from assets/multi-combobox.stories-B4nv8weL.js rename to assets/multi-combobox.stories-B81csaxo.js index acb606c6..5621cdb5 100644 --- a/assets/multi-combobox.stories-B4nv8weL.js +++ b/assets/multi-combobox.stories-B81csaxo.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-C798UXYj.js";import{R as a}from"./index-0d5eMwbi.js";import{F as o}from"./form-field-BcItkMU2.js";import{B as C}from"./badge-Da1HxQE-.js";import{T as d}from"./tag-C9CGXtt3.js";import"./zoom-to-fit-icon-DdsCB6de.js";import"./class-names-DnY5YZNL.js";import"./use-resolve-button-type-D_6M6Au0.js";import"./keyboard-C2Ifhsxt.js";import"./use-sync-refs-DqQDZvJ6.js";import"./form-fields-BO6Mx8Dn.js";import"./index-p-ac5bmP.js";import"./hidden-BrNieFV6.js";import"./description-D9Ee5mtv.js";import"./label-BBnH-iCi.js";import"./bugs-DpEN4NTH.js";import"./focus-management-DaVlPEX1.js";import"./use-text-value-ehRDfXkw.js";import"./floating-B_VM8zae.js";import"./use-inert-others-pmawKl3V.js";import"./portal-wGpXArpj.js";import"./use-server-handoff-complete-JgOu4JLg.js";import"./open-closed-DC3t9YEZ.js";import"./index-DzUTkZLd.js";import"./use-event-listener-CochUv0b.js";import"./active-element-history-DI7yoVCB.js";const ue={title:"Input/MultiCombobox",component:o.MultiCombobox},c=["Durward Reynolds","Kenton Towne","Therese Wunsch","Benedict Kessler","Katelyn Rohan"],k=()=>{const[l,n]=a.useState([]),[t,u]=a.useState(""),r=t===""?c:c.filter(s=>s.toLowerCase().includes(t.toLowerCase()));return e.jsxs(o,{children:[e.jsxs(o.LabelGroup,{children:[e.jsx(o.Label,{htmlFor:"value",children:"Label"}),e.jsx(o.Description,{id:"value-description",children:"Description"})]}),e.jsxs(o.MultiCombobox,{value:l,onChange:s=>n(s),children:[e.jsx(o.MultiCombobox.Input,{id:"value",displayValue:t,placeholder:"Select person...",onChange:s=>u(s.target.value)}),e.jsxs(o.MultiCombobox.Options,{children:[r.length===0?e.jsx(o.MultiCombobox.EmptyOption,{children:e.jsxs("p",{className:"truncate",children:["No persons found for ",e.jsx("em",{children:t})]})}):null,r.map(s=>e.jsx(o.MultiCombobox.Option,{value:s,children:s},s))]}),l.length>0?e.jsxs(o.MultiCombobox.Results,{children:[e.jsx(o.MultiCombobox.Results.Label,{children:"Selected values:"}),e.jsx(o.MultiCombobox.Results.Text,{children:l.map(s=>s).join(", ")})]}):null]})]})},V=()=>{const[l,n]=a.useState([]),[t,u]=a.useState(""),r=t===""?c:c.filter(s=>s.toLowerCase().includes(t.toLowerCase()));return e.jsxs(o,{children:[e.jsxs(o.LabelGroup,{children:[e.jsx(o.Label,{htmlFor:"value",children:"Label"}),e.jsx(o.Description,{id:"value-description",children:"Description"})]}),e.jsxs(o.MultiCombobox,{value:l,onChange:s=>n(s),children:[e.jsx(o.MultiCombobox.Input,{id:"value",displayValue:t,placeholder:"Select person...",onChange:s=>u(s.target.value)}),e.jsxs(o.MultiCombobox.Options,{children:[r.length===0?e.jsx(o.MultiCombobox.EmptyOption,{children:e.jsxs("p",{className:"truncate",children:["No persons found for ",e.jsx("em",{children:t})]})}):null,r.map(s=>e.jsx(o.MultiCombobox.Option,{value:s,children:e.jsx(C,{children:s})},s))]}),l.length>0?e.jsxs(o.MultiCombobox.Results,{children:[e.jsx(o.MultiCombobox.Results.Label,{children:"Selected values:"}),e.jsx(o.MultiCombobox.Results.Badges,{children:l.map(s=>e.jsx(C,{children:s},s))})]}):null]})]})},m={render:()=>e.jsx("div",{className:"w-72",children:e.jsx(V,{})})},W=()=>{const[l,n]=a.useState([]),[t,u]=a.useState(""),r=t===""?c:c.filter(s=>s.toLowerCase().includes(t.toLowerCase()));return e.jsxs(o,{children:[e.jsxs(o.LabelGroup,{children:[e.jsx(o.Label,{htmlFor:"value",children:"Label"}),e.jsx(o.Description,{id:"value-description",children:"Description"})]}),e.jsxs(o.MultiCombobox,{value:l,onChange:s=>n(s),children:[e.jsx(o.MultiCombobox.Input,{id:"value",displayValue:t,placeholder:"Select person...",onChange:s=>u(s.target.value)}),e.jsxs(o.MultiCombobox.Options,{children:[r.length===0?e.jsx(o.MultiCombobox.EmptyOption,{children:e.jsxs("p",{className:"truncate",children:["No persons found for ",e.jsx("em",{children:t})]})}):null,r.map(s=>e.jsx(o.MultiCombobox.Option,{value:s,children:e.jsx(d,{children:s})},s))]}),l.length>0?e.jsxs(o.MultiCombobox.Results,{children:[e.jsx(o.MultiCombobox.Results.Label,{children:"Selected values:"}),e.jsx(o.MultiCombobox.Results.Tags,{children:l.map(s=>e.jsx(d,{onClick:()=>{n(l.filter(h=>h!==s))},children:s},s))})]}):null]})]})},B=()=>{const[l,n]=a.useState([]),[t,u]=a.useState(""),[r,s]=a.useState(c),h=i=>{const j=i.filter(T=>r.indexOf(T)===-1);u(""),s([...j,...r]),n(i)},D=t===""?r:r.filter(i=>i.toLowerCase().includes(t.toLowerCase()));return e.jsxs(o,{children:[e.jsxs(o.LabelGroup,{children:[e.jsx(o.Label,{htmlFor:"value",children:"Label"}),e.jsx(o.Description,{id:"value-description",children:"Description"})]}),e.jsxs(o.MultiCombobox,{value:l,onChange:h,children:[e.jsx(o.MultiCombobox.Input,{id:"value",displayValue:t,placeholder:"Select person...",onChange:i=>u(i.target.value)}),e.jsxs(o.MultiCombobox.Options,{children:[t.length>0&&r.indexOf(t)===-1&&e.jsxs(o.MultiCombobox.CustomOption,{value:t,children:["Create tag: ",e.jsx(d,{children:t})]}),D.map(i=>e.jsx(o.MultiCombobox.Option,{value:i,children:e.jsx(d,{children:i})},i))]}),l.length>0?e.jsxs(o.MultiCombobox.Results,{children:[e.jsx(o.MultiCombobox.Results.Label,{children:"Selected values:"}),e.jsx(o.MultiCombobox.Results.Tags,{children:l.map(i=>e.jsx(d,{onClick:()=>{n(l.filter(j=>j!==i))},children:i},i))})]}):null]})]})},x={render:()=>e.jsx("div",{className:"w-72",children:e.jsx(k,{})})},p={render:()=>e.jsx("div",{className:"w-72",children:e.jsx(W,{})})},b={render:()=>e.jsx("div",{className:"w-72",children:e.jsx(B,{})})};var M,v,g;m.parameters={...m.parameters,docs:{...(M=m.parameters)==null?void 0:M.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-C798UXYj.js";import{R as a}from"./index-0d5eMwbi.js";import{F as o}from"./form-field-BtJxu7hP.js";import{B as C}from"./badge-Da1HxQE-.js";import{T as d}from"./tag-C9CGXtt3.js";import"./zoom-to-fit-icon-DdsCB6de.js";import"./class-names-DnY5YZNL.js";import"./use-resolve-button-type-D_6M6Au0.js";import"./keyboard-C2Ifhsxt.js";import"./use-sync-refs-DqQDZvJ6.js";import"./form-fields-B2NmhAAW.js";import"./index-BoyHNU0R.js";import"./hidden-BrNieFV6.js";import"./description-D9Ee5mtv.js";import"./label-BBnH-iCi.js";import"./bugs-DpEN4NTH.js";import"./focus-management-DaVlPEX1.js";import"./use-text-value-ehRDfXkw.js";import"./floating-ERp4LevH.js";import"./use-inert-others-CzqV763I.js";import"./portal-CLj4HHuk.js";import"./use-server-handoff-complete-JgOu4JLg.js";import"./open-closed-DC3t9YEZ.js";import"./index-h1jAayoZ.js";import"./use-event-listener-CochUv0b.js";import"./active-element-history-DI7yoVCB.js";const ue={title:"Input/MultiCombobox",component:o.MultiCombobox},c=["Durward Reynolds","Kenton Towne","Therese Wunsch","Benedict Kessler","Katelyn Rohan"],k=()=>{const[l,n]=a.useState([]),[t,u]=a.useState(""),r=t===""?c:c.filter(s=>s.toLowerCase().includes(t.toLowerCase()));return e.jsxs(o,{children:[e.jsxs(o.LabelGroup,{children:[e.jsx(o.Label,{htmlFor:"value",children:"Label"}),e.jsx(o.Description,{id:"value-description",children:"Description"})]}),e.jsxs(o.MultiCombobox,{value:l,onChange:s=>n(s),children:[e.jsx(o.MultiCombobox.Input,{id:"value",displayValue:t,placeholder:"Select person...",onChange:s=>u(s.target.value)}),e.jsxs(o.MultiCombobox.Options,{children:[r.length===0?e.jsx(o.MultiCombobox.EmptyOption,{children:e.jsxs("p",{className:"truncate",children:["No persons found for ",e.jsx("em",{children:t})]})}):null,r.map(s=>e.jsx(o.MultiCombobox.Option,{value:s,children:s},s))]}),l.length>0?e.jsxs(o.MultiCombobox.Results,{children:[e.jsx(o.MultiCombobox.Results.Label,{children:"Selected values:"}),e.jsx(o.MultiCombobox.Results.Text,{children:l.map(s=>s).join(", ")})]}):null]})]})},V=()=>{const[l,n]=a.useState([]),[t,u]=a.useState(""),r=t===""?c:c.filter(s=>s.toLowerCase().includes(t.toLowerCase()));return e.jsxs(o,{children:[e.jsxs(o.LabelGroup,{children:[e.jsx(o.Label,{htmlFor:"value",children:"Label"}),e.jsx(o.Description,{id:"value-description",children:"Description"})]}),e.jsxs(o.MultiCombobox,{value:l,onChange:s=>n(s),children:[e.jsx(o.MultiCombobox.Input,{id:"value",displayValue:t,placeholder:"Select person...",onChange:s=>u(s.target.value)}),e.jsxs(o.MultiCombobox.Options,{children:[r.length===0?e.jsx(o.MultiCombobox.EmptyOption,{children:e.jsxs("p",{className:"truncate",children:["No persons found for ",e.jsx("em",{children:t})]})}):null,r.map(s=>e.jsx(o.MultiCombobox.Option,{value:s,children:e.jsx(C,{children:s})},s))]}),l.length>0?e.jsxs(o.MultiCombobox.Results,{children:[e.jsx(o.MultiCombobox.Results.Label,{children:"Selected values:"}),e.jsx(o.MultiCombobox.Results.Badges,{children:l.map(s=>e.jsx(C,{children:s},s))})]}):null]})]})},m={render:()=>e.jsx("div",{className:"w-72",children:e.jsx(V,{})})},W=()=>{const[l,n]=a.useState([]),[t,u]=a.useState(""),r=t===""?c:c.filter(s=>s.toLowerCase().includes(t.toLowerCase()));return e.jsxs(o,{children:[e.jsxs(o.LabelGroup,{children:[e.jsx(o.Label,{htmlFor:"value",children:"Label"}),e.jsx(o.Description,{id:"value-description",children:"Description"})]}),e.jsxs(o.MultiCombobox,{value:l,onChange:s=>n(s),children:[e.jsx(o.MultiCombobox.Input,{id:"value",displayValue:t,placeholder:"Select person...",onChange:s=>u(s.target.value)}),e.jsxs(o.MultiCombobox.Options,{children:[r.length===0?e.jsx(o.MultiCombobox.EmptyOption,{children:e.jsxs("p",{className:"truncate",children:["No persons found for ",e.jsx("em",{children:t})]})}):null,r.map(s=>e.jsx(o.MultiCombobox.Option,{value:s,children:e.jsx(d,{children:s})},s))]}),l.length>0?e.jsxs(o.MultiCombobox.Results,{children:[e.jsx(o.MultiCombobox.Results.Label,{children:"Selected values:"}),e.jsx(o.MultiCombobox.Results.Tags,{children:l.map(s=>e.jsx(d,{onClick:()=>{n(l.filter(h=>h!==s))},children:s},s))})]}):null]})]})},B=()=>{const[l,n]=a.useState([]),[t,u]=a.useState(""),[r,s]=a.useState(c),h=i=>{const j=i.filter(T=>r.indexOf(T)===-1);u(""),s([...j,...r]),n(i)},D=t===""?r:r.filter(i=>i.toLowerCase().includes(t.toLowerCase()));return e.jsxs(o,{children:[e.jsxs(o.LabelGroup,{children:[e.jsx(o.Label,{htmlFor:"value",children:"Label"}),e.jsx(o.Description,{id:"value-description",children:"Description"})]}),e.jsxs(o.MultiCombobox,{value:l,onChange:h,children:[e.jsx(o.MultiCombobox.Input,{id:"value",displayValue:t,placeholder:"Select person...",onChange:i=>u(i.target.value)}),e.jsxs(o.MultiCombobox.Options,{children:[t.length>0&&r.indexOf(t)===-1&&e.jsxs(o.MultiCombobox.CustomOption,{value:t,children:["Create tag: ",e.jsx(d,{children:t})]}),D.map(i=>e.jsx(o.MultiCombobox.Option,{value:i,children:e.jsx(d,{children:i})},i))]}),l.length>0?e.jsxs(o.MultiCombobox.Results,{children:[e.jsx(o.MultiCombobox.Results.Label,{children:"Selected values:"}),e.jsx(o.MultiCombobox.Results.Tags,{children:l.map(i=>e.jsx(d,{onClick:()=>{n(l.filter(j=>j!==i))},children:i},i))})]}):null]})]})},x={render:()=>e.jsx("div",{className:"w-72",children:e.jsx(k,{})})},p={render:()=>e.jsx("div",{className:"w-72",children:e.jsx(W,{})})},b={render:()=>e.jsx("div",{className:"w-72",children:e.jsx(B,{})})};var M,v,g;m.parameters={...m.parameters,docs:{...(M=m.parameters)==null?void 0:M.docs,source:{originalSource:`{ render: () =>
diff --git a/assets/navigation.stories-CTPvIKaC.js b/assets/navigation.stories-_4qlPrgP.js similarity index 97% rename from assets/navigation.stories-CTPvIKaC.js rename to assets/navigation.stories-_4qlPrgP.js index ca4fd30b..01788cf1 100644 --- a/assets/navigation.stories-CTPvIKaC.js +++ b/assets/navigation.stories-_4qlPrgP.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime-C798UXYj.js";import{d8 as b,c as G,aT as B}from"./zoom-to-fit-icon-DdsCB6de.js";import{c as x}from"./class-names-DnY5YZNL.js";import{R as S,j as w,C}from"./disclosure-CNBAsrob.js";import{r as p}from"./index-0d5eMwbi.js";import{u as E}from"./usePopper-Awp2qsiQ.js";import{S as L,C as R,R as k,l as O}from"./popover-B_a53NLU.js";import"./use-resolve-button-type-D_6M6Au0.js";import"./keyboard-C2Ifhsxt.js";import"./use-sync-refs-DqQDZvJ6.js";import"./open-closed-DC3t9YEZ.js";import"./close-provider-CZp7Lqob.js";import"./bugs-DpEN4NTH.js";import"./index-p-ac5bmP.js";import"./floating-B_VM8zae.js";import"./use-event-listener-CochUv0b.js";import"./portal-wGpXArpj.js";import"./focus-management-DaVlPEX1.js";import"./use-server-handoff-complete-JgOu4JLg.js";import"./use-tab-direction-Bd6_euF6.js";import"./hidden-BrNieFV6.js";const T=({children:n,isActive:t,isIndented:a,...i})=>e.jsxs("div",{className:x("relative w-full cursor-pointer py-3 pl-8 pr-1 text-left text-sm text-neutral-0 hover:bg-primary-900+10",a&&"pl-14",t&&"bg-primary-900+20 font-semibold hover:bg-primary-900+20"),...i,children:[n,t&&e.jsx("div",{className:"absolute bottom-0 left-0 top-0 h-full w-0.5 rounded-r-sm bg-neutral-0"})]}),u=({children:n})=>e.jsx(S,{children:n});u.Item=T;try{u.displayName="NavigationDisclosurePanel",u.__docgenInfo={description:"",displayName:"NavigationDisclosurePanel",props:{}}}catch{}const m=({children:n})=>e.jsx("div",{className:"ml-auto rounded border border-neutral-0 px-1.5 text-xs font-semibold uppercase text-neutral-0",children:n});try{m.displayName="NavigationGroupItemTag",m.__docgenInfo={description:"",displayName:"NavigationGroupItemTag",props:{}}}catch{}const A=({children:n,LeftIcon:t,onClick:a,tag:i,className:r})=>e.jsxs(C,{className:x("flex w-full cursor-pointer items-center gap-x-2 px-4 py-3 text-left text-sm text-neutral-0 hover:bg-primary-900+10 ui-open:bg-primary-900+8 ui-open:font-semibold",r),onClick:a,children:[t?e.jsx(t,{className:"h-4 w-4"}):null,n,i?e.jsx(m,{children:i}):null]}),H=({children:n,close:t})=>typeof n=="function"?n({close:t}):n,l=({children:n,defaultOpen:t})=>e.jsx(w,{as:"div",defaultOpen:t,children:({close:a})=>e.jsx(e.Fragment,{children:H({children:n,close:a})})});l.Panel=u;l.Button=A;try{l.displayName="NavigationDisclosure",l.__docgenInfo={description:"",displayName:"NavigationDisclosure",props:{defaultOpen:{defaultValue:null,description:"",name:"defaultOpen",required:!1,type:{name:"boolean"}}}}}catch{}const q=({children:n,isActive:t,LeftIcon:a,tag:i,...r})=>e.jsxs("div",{className:x("relative flex cursor-pointer items-center gap-x-2 px-4 py-3 text-sm text-neutral-0 hover:bg-primary-900+10",t&&"bg-primary-900+20 font-semibold hover:bg-primary-900+20"),...r,children:[a?e.jsx(a,{className:"h-4 w-4"}):null,n,i?e.jsx(m,{children:i}):null,t&&e.jsx("div",{className:"absolute bottom-0 left-0 top-0 h-full w-0.5 rounded-r-sm bg-neutral-0"})]}),v=({children:n})=>e.jsx("div",{className:"pt-4",children:n});v.Item=q;try{v.displayName="NavigationGroup",v.__docgenInfo={description:"",displayName:"NavigationGroup",props:{}}}catch{}const f=p.createContext({popoverButton:{setReferenceElement:()=>{}},popoverPanel:{setPopperElement:()=>{},styles:{},attributes:{}}}),D=()=>p.useContext(f),g=f.Provider;try{g.displayName="NavigationPopoverContextProvider",g.__docgenInfo={description:"",displayName:"NavigationPopoverContextProvider",props:{}}}catch{}const N=({children:n,LeftIcon:t,onClick:a})=>{const{popoverButton:{setReferenceElement:i}}=D();return e.jsx(L,{ref:r=>r&&i(r),className:"flex w-full cursor-pointer items-center gap-x-3 px-4 py-3 text-left text-sm text-neutral-0 hover:bg-primary-900+10 ui-open:bg-primary-900+8 ui-open:font-semibold",onClick:a,children:e.jsxs(e.Fragment,{children:[t&&e.jsx(t,{className:"h-4 w-4"}),n]})})};try{N.displayName="NavigationPopoverButton",N.__docgenInfo={description:"",displayName:"NavigationPopoverButton",props:{LeftIcon:{defaultValue:null,description:"",name:"LeftIcon",required:!1,type:{name:"ElementType"}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"(() => void)"}}}}}catch{}const M=()=>e.jsx(R,{className:"fixed inset-0 z-30 translate-x-[180px] bg-modal-background"}),V=({children:n})=>e.jsx("div",{className:"flex w-full cursor-pointer items-center overflow-hidden px-4 py-2 hover:bg-neutral-100 focus:ring-2 focus:ring-primary-200",children:e.jsx("p",{className:"text-sm font-normal",children:n})}),d=({children:n})=>{const{popoverPanel:{setPopperElement:t,styles:a,attributes:i}}=D();return e.jsx(k,{ref:r=>r&&t(r),style:a,...i,className:"z-40 ml-2 w-52 rounded bg-neutral-0 py-2 shadow",children:n})};d.Item=V;try{d.displayName="NavigationPopoverPanel",d.__docgenInfo={description:"",displayName:"NavigationPopoverPanel",props:{}}}catch{}const s=({children:n})=>{const[t,a]=p.useState(),[i,r]=p.useState(),{styles:j,attributes:_}=E(t,i,{placement:"top-start"}),y={popoverButton:{setReferenceElement:a},popoverPanel:{setPopperElement:r,styles:j.popper,attributes:_.popper}};return e.jsx(g,{value:y,children:e.jsx(O,{children:n})})};s.Button=N;s.Panel=d;s.Overlay=M;try{s.displayName="NavigationPopover",s.__docgenInfo={description:"",displayName:"NavigationPopover",props:{}}}catch{}const z=({children:n})=>e.jsx("div",{className:"px-4 py-3",children:n}),o=({children:n})=>e.jsx("div",{className:"flex w-[180px] grow flex-col overflow-y-auto bg-primary-900 pb-5 pt-3",children:n});o.Logo=z;o.Group=v;o.Disclosure=l;o.Popover=s;try{o.displayName="Navigation",o.__docgenInfo={description:"",displayName:"Navigation",props:{}}}catch{}const ue={title:"Navigation",component:o,parameters:{options:{showPanel:!1}}},c={render:()=>e.jsx("div",{className:"relative flex min-h-screen w-96 flex-col",children:e.jsxs(o,{children:[e.jsx(o.Logo,{children:e.jsx("div",{className:"text-neutral-0",children:"Abusix"})}),e.jsxs("nav",{className:"flex flex-1 flex-col",children:[e.jsxs(o.Group,{children:[e.jsx(o.Group.Item,{children:"Home"}),e.jsx(o.Group.Item,{children:"Dashboard"}),e.jsx(o.Group.Item,{isActive:!0,tag:"Beta",children:"long text for this navigation menu option"})]}),e.jsxs(o.Group,{children:[e.jsx(o.Group.Item,{children:"Lookup & Delist"}),e.jsx(o.Group.Item,{children:"Mail Intelligence"}),e.jsxs(o.Disclosure,{children:[e.jsx(o.Disclosure.Button,{tag:"Beta",children:"AbuseHQ"}),e.jsxs(o.Disclosure.Panel,{children:[e.jsx(o.Disclosure.Panel.Item,{children:"Cases"}),e.jsx(o.Disclosure.Panel.Item,{isActive:!0,children:"Event Inbox"}),e.jsx(o.Disclosure.Panel.Item,{children:"Mailbox"}),e.jsx(o.Disclosure.Panel.Item,{children:"Dashboard"}),e.jsx(o.Disclosure.Panel.Item,{children:"Statistics"}),e.jsx(o.Disclosure.Panel.Item,{children:"Settings"})]})]})]}),e.jsxs(o.Group,{children:[e.jsx(o.Group.Item,{children:"Networks"}),e.jsx(o.Group.Item,{children:"Data Channels"})]}),e.jsxs("div",{className:"mt-auto",children:[e.jsxs(o.Popover,{children:[e.jsx(o.Popover.Button,{LeftIcon:b,children:"Support"}),e.jsx(o.Popover.Overlay,{}),e.jsxs(o.Popover.Panel,{children:[e.jsx(o.Popover.Panel.Item,{children:"Documentation"}),e.jsx(o.Popover.Panel.Item,{children:"Support request"}),e.jsx(o.Popover.Panel.Item,{children:"System status"}),e.jsx(o.Popover.Panel.Item,{children:"Blog posts"})]})]}),e.jsxs(o.Disclosure,{children:[e.jsx(o.Disclosure.Button,{LeftIcon:G,children:"Plans & Billing"}),e.jsxs(o.Disclosure.Panel,{children:[e.jsx(o.Disclosure.Panel.Item,{isIndented:!0,children:"Subscriptions"}),e.jsx(o.Disclosure.Panel.Item,{isIndented:!0,children:"Billing"}),e.jsx(o.Disclosure.Panel.Item,{isIndented:!0,children:"Invoices"})]})]}),e.jsxs(o.Disclosure,{children:[e.jsx(o.Disclosure.Button,{LeftIcon:B,children:"Settings"}),e.jsxs(o.Disclosure.Panel,{children:[e.jsx(o.Disclosure.Panel.Item,{isIndented:!0,children:"Profile"}),e.jsx(o.Disclosure.Panel.Item,{isIndented:!0,children:"Team"}),e.jsx(o.Disclosure.Panel.Item,{isIndented:!0,children:"Sign out"})]})]})]})]})]})})};var P,I,h;c.parameters={...c.parameters,docs:{...(P=c.parameters)==null?void 0:P.docs,source:{originalSource:`{ +import{j as e}from"./jsx-runtime-C798UXYj.js";import{d8 as b,c as G,aT as B}from"./zoom-to-fit-icon-DdsCB6de.js";import{c as x}from"./class-names-DnY5YZNL.js";import{R as S,j as w,C}from"./disclosure-CNBAsrob.js";import{r as p}from"./index-0d5eMwbi.js";import{u as E}from"./usePopper-Cu2KpVtb.js";import{S as L,C as R,R as k,l as O}from"./popover-DJ9HIBXX.js";import"./use-resolve-button-type-D_6M6Au0.js";import"./keyboard-C2Ifhsxt.js";import"./use-sync-refs-DqQDZvJ6.js";import"./open-closed-DC3t9YEZ.js";import"./close-provider-CZp7Lqob.js";import"./bugs-DpEN4NTH.js";import"./index-BoyHNU0R.js";import"./floating-ERp4LevH.js";import"./use-event-listener-CochUv0b.js";import"./portal-CLj4HHuk.js";import"./focus-management-DaVlPEX1.js";import"./use-server-handoff-complete-JgOu4JLg.js";import"./use-tab-direction-BMI6OSML.js";import"./hidden-BrNieFV6.js";const T=({children:n,isActive:t,isIndented:a,...i})=>e.jsxs("div",{className:x("relative w-full cursor-pointer py-3 pl-8 pr-1 text-left text-sm text-neutral-0 hover:bg-primary-900+10",a&&"pl-14",t&&"bg-primary-900+20 font-semibold hover:bg-primary-900+20"),...i,children:[n,t&&e.jsx("div",{className:"absolute bottom-0 left-0 top-0 h-full w-0.5 rounded-r-sm bg-neutral-0"})]}),u=({children:n})=>e.jsx(S,{children:n});u.Item=T;try{u.displayName="NavigationDisclosurePanel",u.__docgenInfo={description:"",displayName:"NavigationDisclosurePanel",props:{}}}catch{}const m=({children:n})=>e.jsx("div",{className:"ml-auto rounded border border-neutral-0 px-1.5 text-xs font-semibold uppercase text-neutral-0",children:n});try{m.displayName="NavigationGroupItemTag",m.__docgenInfo={description:"",displayName:"NavigationGroupItemTag",props:{}}}catch{}const A=({children:n,LeftIcon:t,onClick:a,tag:i,className:r})=>e.jsxs(C,{className:x("flex w-full cursor-pointer items-center gap-x-2 px-4 py-3 text-left text-sm text-neutral-0 hover:bg-primary-900+10 ui-open:bg-primary-900+8 ui-open:font-semibold",r),onClick:a,children:[t?e.jsx(t,{className:"h-4 w-4"}):null,n,i?e.jsx(m,{children:i}):null]}),H=({children:n,close:t})=>typeof n=="function"?n({close:t}):n,l=({children:n,defaultOpen:t})=>e.jsx(w,{as:"div",defaultOpen:t,children:({close:a})=>e.jsx(e.Fragment,{children:H({children:n,close:a})})});l.Panel=u;l.Button=A;try{l.displayName="NavigationDisclosure",l.__docgenInfo={description:"",displayName:"NavigationDisclosure",props:{defaultOpen:{defaultValue:null,description:"",name:"defaultOpen",required:!1,type:{name:"boolean"}}}}}catch{}const q=({children:n,isActive:t,LeftIcon:a,tag:i,...r})=>e.jsxs("div",{className:x("relative flex cursor-pointer items-center gap-x-2 px-4 py-3 text-sm text-neutral-0 hover:bg-primary-900+10",t&&"bg-primary-900+20 font-semibold hover:bg-primary-900+20"),...r,children:[a?e.jsx(a,{className:"h-4 w-4"}):null,n,i?e.jsx(m,{children:i}):null,t&&e.jsx("div",{className:"absolute bottom-0 left-0 top-0 h-full w-0.5 rounded-r-sm bg-neutral-0"})]}),v=({children:n})=>e.jsx("div",{className:"pt-4",children:n});v.Item=q;try{v.displayName="NavigationGroup",v.__docgenInfo={description:"",displayName:"NavigationGroup",props:{}}}catch{}const f=p.createContext({popoverButton:{setReferenceElement:()=>{}},popoverPanel:{setPopperElement:()=>{},styles:{},attributes:{}}}),D=()=>p.useContext(f),g=f.Provider;try{g.displayName="NavigationPopoverContextProvider",g.__docgenInfo={description:"",displayName:"NavigationPopoverContextProvider",props:{}}}catch{}const N=({children:n,LeftIcon:t,onClick:a})=>{const{popoverButton:{setReferenceElement:i}}=D();return e.jsx(L,{ref:r=>r&&i(r),className:"flex w-full cursor-pointer items-center gap-x-3 px-4 py-3 text-left text-sm text-neutral-0 hover:bg-primary-900+10 ui-open:bg-primary-900+8 ui-open:font-semibold",onClick:a,children:e.jsxs(e.Fragment,{children:[t&&e.jsx(t,{className:"h-4 w-4"}),n]})})};try{N.displayName="NavigationPopoverButton",N.__docgenInfo={description:"",displayName:"NavigationPopoverButton",props:{LeftIcon:{defaultValue:null,description:"",name:"LeftIcon",required:!1,type:{name:"ElementType"}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"(() => void)"}}}}}catch{}const M=()=>e.jsx(R,{className:"fixed inset-0 z-30 translate-x-[180px] bg-modal-background"}),V=({children:n})=>e.jsx("div",{className:"flex w-full cursor-pointer items-center overflow-hidden px-4 py-2 hover:bg-neutral-100 focus:ring-2 focus:ring-primary-200",children:e.jsx("p",{className:"text-sm font-normal",children:n})}),d=({children:n})=>{const{popoverPanel:{setPopperElement:t,styles:a,attributes:i}}=D();return e.jsx(k,{ref:r=>r&&t(r),style:a,...i,className:"z-40 ml-2 w-52 rounded bg-neutral-0 py-2 shadow",children:n})};d.Item=V;try{d.displayName="NavigationPopoverPanel",d.__docgenInfo={description:"",displayName:"NavigationPopoverPanel",props:{}}}catch{}const s=({children:n})=>{const[t,a]=p.useState(),[i,r]=p.useState(),{styles:j,attributes:_}=E(t,i,{placement:"top-start"}),y={popoverButton:{setReferenceElement:a},popoverPanel:{setPopperElement:r,styles:j.popper,attributes:_.popper}};return e.jsx(g,{value:y,children:e.jsx(O,{children:n})})};s.Button=N;s.Panel=d;s.Overlay=M;try{s.displayName="NavigationPopover",s.__docgenInfo={description:"",displayName:"NavigationPopover",props:{}}}catch{}const z=({children:n})=>e.jsx("div",{className:"px-4 py-3",children:n}),o=({children:n})=>e.jsx("div",{className:"flex w-[180px] grow flex-col overflow-y-auto bg-primary-900 pb-5 pt-3",children:n});o.Logo=z;o.Group=v;o.Disclosure=l;o.Popover=s;try{o.displayName="Navigation",o.__docgenInfo={description:"",displayName:"Navigation",props:{}}}catch{}const ue={title:"Navigation",component:o,parameters:{options:{showPanel:!1}}},c={render:()=>e.jsx("div",{className:"relative flex min-h-screen w-96 flex-col",children:e.jsxs(o,{children:[e.jsx(o.Logo,{children:e.jsx("div",{className:"text-neutral-0",children:"Abusix"})}),e.jsxs("nav",{className:"flex flex-1 flex-col",children:[e.jsxs(o.Group,{children:[e.jsx(o.Group.Item,{children:"Home"}),e.jsx(o.Group.Item,{children:"Dashboard"}),e.jsx(o.Group.Item,{isActive:!0,tag:"Beta",children:"long text for this navigation menu option"})]}),e.jsxs(o.Group,{children:[e.jsx(o.Group.Item,{children:"Lookup & Delist"}),e.jsx(o.Group.Item,{children:"Mail Intelligence"}),e.jsxs(o.Disclosure,{children:[e.jsx(o.Disclosure.Button,{tag:"Beta",children:"AbuseHQ"}),e.jsxs(o.Disclosure.Panel,{children:[e.jsx(o.Disclosure.Panel.Item,{children:"Cases"}),e.jsx(o.Disclosure.Panel.Item,{isActive:!0,children:"Event Inbox"}),e.jsx(o.Disclosure.Panel.Item,{children:"Mailbox"}),e.jsx(o.Disclosure.Panel.Item,{children:"Dashboard"}),e.jsx(o.Disclosure.Panel.Item,{children:"Statistics"}),e.jsx(o.Disclosure.Panel.Item,{children:"Settings"})]})]})]}),e.jsxs(o.Group,{children:[e.jsx(o.Group.Item,{children:"Networks"}),e.jsx(o.Group.Item,{children:"Data Channels"})]}),e.jsxs("div",{className:"mt-auto",children:[e.jsxs(o.Popover,{children:[e.jsx(o.Popover.Button,{LeftIcon:b,children:"Support"}),e.jsx(o.Popover.Overlay,{}),e.jsxs(o.Popover.Panel,{children:[e.jsx(o.Popover.Panel.Item,{children:"Documentation"}),e.jsx(o.Popover.Panel.Item,{children:"Support request"}),e.jsx(o.Popover.Panel.Item,{children:"System status"}),e.jsx(o.Popover.Panel.Item,{children:"Blog posts"})]})]}),e.jsxs(o.Disclosure,{children:[e.jsx(o.Disclosure.Button,{LeftIcon:G,children:"Plans & Billing"}),e.jsxs(o.Disclosure.Panel,{children:[e.jsx(o.Disclosure.Panel.Item,{isIndented:!0,children:"Subscriptions"}),e.jsx(o.Disclosure.Panel.Item,{isIndented:!0,children:"Billing"}),e.jsx(o.Disclosure.Panel.Item,{isIndented:!0,children:"Invoices"})]})]}),e.jsxs(o.Disclosure,{children:[e.jsx(o.Disclosure.Button,{LeftIcon:B,children:"Settings"}),e.jsxs(o.Disclosure.Panel,{children:[e.jsx(o.Disclosure.Panel.Item,{isIndented:!0,children:"Profile"}),e.jsx(o.Disclosure.Panel.Item,{isIndented:!0,children:"Team"}),e.jsx(o.Disclosure.Panel.Item,{isIndented:!0,children:"Sign out"})]})]})]})]})]})})};var P,I,h;c.parameters={...c.parameters,docs:{...(P=c.parameters)==null?void 0:P.docs,source:{originalSource:`{ render: () =>
diff --git a/assets/panel.stories-BpfGYF4U.js b/assets/panel.stories-5EuFEmkX.js similarity index 90% rename from assets/panel.stories-BpfGYF4U.js rename to assets/panel.stories-5EuFEmkX.js index d99495d9..648ba1ca 100644 --- a/assets/panel.stories-BpfGYF4U.js +++ b/assets/panel.stories-5EuFEmkX.js @@ -1,4 +1,4 @@ -import{j as t}from"./jsx-runtime-C798UXYj.js";import{P as l}from"./panel-BTNit_je.js";import{B as e}from"./button-DDiEAzmq.js";import{g as d}from"./storybook-utils-C5xEhci0.js";import{T as u}from"./toggle-DnnlDb78.js";import"./index-0d5eMwbi.js";import"./class-names-DnY5YZNL.js";import"./spinner-CrXB3JgE.js";import"./description-D9Ee5mtv.js";import"./use-sync-refs-DqQDZvJ6.js";import"./form-fields-BO6Mx8Dn.js";import"./index-p-ac5bmP.js";import"./hidden-BrNieFV6.js";import"./label-BBnH-iCi.js";import"./use-resolve-button-type-D_6M6Au0.js";import"./keyboard-C2Ifhsxt.js";import"./bugs-DpEN4NTH.js";const E={title:"Panel",parameters:{...d("Simple container used to group and organize elements in the UI."),backgrounds:{default:"light"}},component:l,args:{className:"",children:"Panel with text content"}},o={},n=()=>{},r={args:{children:t.jsxs(t.Fragment,{children:[t.jsx(e,{variant:"primary",onClick:n,children:"Button A"}),t.jsx(u.Switch,{checked:!0,ariaLabel:"test",onChange:n}),t.jsx(e,{variant:"secondary",onClick:n,children:"Button B"}),t.jsx("p",{children:" Paragraph content"})]})}};var a,i,s;o.parameters={...o.parameters,docs:{...(a=o.parameters)==null?void 0:a.docs,source:{originalSource:"{}",...(s=(i=o.parameters)==null?void 0:i.docs)==null?void 0:s.source}}};var p,c,m;r.parameters={...r.parameters,docs:{...(p=r.parameters)==null?void 0:p.docs,source:{originalSource:`{ +import{j as t}from"./jsx-runtime-C798UXYj.js";import{P as l}from"./panel-BTNit_je.js";import{B as e}from"./button-Cwplw9FX.js";import{g as d}from"./storybook-utils-C5xEhci0.js";import{T as u}from"./toggle-Bp5D17gs.js";import"./index-0d5eMwbi.js";import"./class-names-DnY5YZNL.js";import"./spinner-CrXB3JgE.js";import"./description-D9Ee5mtv.js";import"./use-sync-refs-DqQDZvJ6.js";import"./form-fields-B2NmhAAW.js";import"./index-BoyHNU0R.js";import"./hidden-BrNieFV6.js";import"./label-BBnH-iCi.js";import"./use-resolve-button-type-D_6M6Au0.js";import"./keyboard-C2Ifhsxt.js";import"./bugs-DpEN4NTH.js";const E={title:"Panel",parameters:{...d("Simple container used to group and organize elements in the UI."),backgrounds:{default:"light"}},component:l,args:{className:"",children:"Panel with text content"}},o={},n=()=>{},r={args:{children:t.jsxs(t.Fragment,{children:[t.jsx(e,{variant:"primary",onClick:n,children:"Button A"}),t.jsx(u.Switch,{checked:!0,ariaLabel:"test",onChange:n}),t.jsx(e,{variant:"secondary",onClick:n,children:"Button B"}),t.jsx("p",{children:" Paragraph content"})]})}};var a,i,s;o.parameters={...o.parameters,docs:{...(a=o.parameters)==null?void 0:a.docs,source:{originalSource:"{}",...(s=(i=o.parameters)==null?void 0:i.docs)==null?void 0:s.source}}};var p,c,m;r.parameters={...r.parameters,docs:{...(p=r.parameters)==null?void 0:p.docs,source:{originalSource:`{ args: { children: <>